@topvisor/ui 1.1.0-addNativeDialog.10 → 1.1.0-addNativeDialog.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (424) hide show
  1. package/.chunks/{core-DyAbOlfX.es.js → core-DwmZJeKo.es.js} +45 -45
  2. package/.chunks/{core-DyAbOlfX.es.js.map → core-DwmZJeKo.es.js.map} +1 -1
  3. package/.chunks/core-uFZ53eDz.amd.js +2 -0
  4. package/.chunks/{core-rNR04ITp.amd.js.map → core-uFZ53eDz.amd.js.map} +1 -1
  5. package/.chunks/{datepicker-U31BrqE_.es.js → datepicker-BiaXdEIn.es.js} +2 -2
  6. package/.chunks/{datepicker-U31BrqE_.es.js.map → datepicker-BiaXdEIn.es.js.map} +1 -1
  7. package/.chunks/{datepicker-DsKl-YZR.amd.js → datepicker-DUoArkDy.amd.js} +2 -2
  8. package/.chunks/{datepicker-DsKl-YZR.amd.js.map → datepicker-DUoArkDy.amd.js.map} +1 -1
  9. package/.chunks/{dialog_selectorRegions-D64IfJEs.amd.js → dialog_selectorRegions--uU_HPMU.amd.js} +2 -2
  10. package/.chunks/{dialog_selectorRegions-D64IfJEs.amd.js.map → dialog_selectorRegions--uU_HPMU.amd.js.map} +1 -1
  11. package/.chunks/{dialog_selectorRegions-BXNEJotg.es.js → dialog_selectorRegions-DKdrXyjJ.es.js} +4 -4
  12. package/.chunks/{dialog_selectorRegions-BXNEJotg.es.js.map → dialog_selectorRegions-DKdrXyjJ.es.js.map} +1 -1
  13. package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-C7vi1i47.amd.js +2 -0
  14. package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-C7vi1i47.amd.js.map +1 -0
  15. package/.chunks/{dialogs.vue_vue_type_script_setup_true_lang-DIVnPVQ4.es.js → dialogs.vue_vue_type_script_setup_true_lang-xvod3Gmp.es.js} +311 -307
  16. package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-xvod3Gmp.es.js.map +1 -0
  17. package/.chunks/{forms-DRhpgERJ.amd.js → forms-CgtkdwgA.amd.js} +3 -3
  18. package/.chunks/forms-CgtkdwgA.amd.js.map +1 -0
  19. package/.chunks/{forms-t2AEUjqg.es.js → forms-DarRVke_.es.js} +461 -467
  20. package/.chunks/forms-DarRVke_.es.js.map +1 -0
  21. package/.chunks/index-BEI7XZmU.amd.js +2 -0
  22. package/.chunks/index-BEI7XZmU.amd.js.map +1 -0
  23. package/.chunks/index-igPkes8X.es.js +48 -0
  24. package/.chunks/index-igPkes8X.es.js.map +1 -0
  25. package/.chunks/lazy-BBcejshh.amd.js +2 -0
  26. package/.chunks/lazy-BBcejshh.amd.js.map +1 -0
  27. package/.chunks/lazy-gcvTGQlK.es.js +71 -0
  28. package/.chunks/lazy-gcvTGQlK.es.js.map +1 -0
  29. package/.chunks/{listItem.vue_vue_type_script_setup_true_lang-C8PDRggQ.amd.js → listItem.vue_vue_type_script_setup_true_lang-CT-EXxJj.amd.js} +2 -2
  30. package/.chunks/{listItem.vue_vue_type_script_setup_true_lang-C8PDRggQ.amd.js.map → listItem.vue_vue_type_script_setup_true_lang-CT-EXxJj.amd.js.map} +1 -1
  31. package/.chunks/{listItem.vue_vue_type_script_setup_true_lang-B6psuRkm.es.js → listItem.vue_vue_type_script_setup_true_lang-DzJ_pc-d.es.js} +4 -4
  32. package/.chunks/{listItem.vue_vue_type_script_setup_true_lang-B6psuRkm.es.js.map → listItem.vue_vue_type_script_setup_true_lang-DzJ_pc-d.es.js.map} +1 -1
  33. package/.chunks/{menu.vue_vue_type_style_index_0_lang-DRHk9iBB.amd.js → menu.vue_vue_type_style_index_0_lang-BLMYjYLV.amd.js} +2 -2
  34. package/.chunks/{menu.vue_vue_type_style_index_0_lang-DRHk9iBB.amd.js.map → menu.vue_vue_type_style_index_0_lang-BLMYjYLV.amd.js.map} +1 -1
  35. package/.chunks/{menu.vue_vue_type_style_index_0_lang-6kqWYFuX.es.js → menu.vue_vue_type_style_index_0_lang-COD_4iTy.es.js} +10 -10
  36. package/.chunks/{menu.vue_vue_type_style_index_0_lang-6kqWYFuX.es.js.map → menu.vue_vue_type_style_index_0_lang-COD_4iTy.es.js.map} +1 -1
  37. package/.chunks/{notice-DQ9qFyQ2.amd.js → notice-CPtAnc7p.amd.js} +2 -2
  38. package/.chunks/{notice-DQ9qFyQ2.amd.js.map → notice-CPtAnc7p.amd.js.map} +1 -1
  39. package/.chunks/{notice-4bdzRXtl.es.js → notice-fno9saBY.es.js} +2 -2
  40. package/.chunks/{notice-4bdzRXtl.es.js.map → notice-fno9saBY.es.js.map} +1 -1
  41. package/.chunks/{page.vue_vue_type_script_setup_true_lang-BVgw26Vp.es.js → page.vue_vue_type_script_setup_true_lang-DRvRAOmG.es.js} +14 -14
  42. package/.chunks/{page.vue_vue_type_script_setup_true_lang-BVgw26Vp.es.js.map → page.vue_vue_type_script_setup_true_lang-DRvRAOmG.es.js.map} +1 -1
  43. package/.chunks/{page.vue_vue_type_script_setup_true_lang-DGHsC5Ii.amd.js → page.vue_vue_type_script_setup_true_lang-jdOhWtvA.amd.js} +2 -2
  44. package/.chunks/{page.vue_vue_type_script_setup_true_lang-DGHsC5Ii.amd.js.map → page.vue_vue_type_script_setup_true_lang-jdOhWtvA.amd.js.map} +1 -1
  45. package/.chunks/{popup-DuraSW2f.es.js → popup-AG94kehM.es.js} +2 -2
  46. package/.chunks/{popup-DuraSW2f.es.js.map → popup-AG94kehM.es.js.map} +1 -1
  47. package/.chunks/{popup-IcMnYYXr.amd.js → popup-CtvJLWn3.amd.js} +2 -2
  48. package/.chunks/{popup-IcMnYYXr.amd.js.map → popup-CtvJLWn3.amd.js.map} +1 -1
  49. package/.chunks/{utils-BVONc_yb.amd.js → utils-BmI_WbPx.amd.js} +2 -2
  50. package/.chunks/{utils-BVONc_yb.amd.js.map → utils-BmI_WbPx.amd.js.map} +1 -1
  51. package/.chunks/{utils-BR_kFG05.es.js → utils-CjdLXxom.es.js} +2 -2
  52. package/.chunks/{utils-BR_kFG05.es.js.map → utils-CjdLXxom.es.js.map} +1 -1
  53. package/.chunks/widgetInput.vue_vue_type_script_setup_true_lang-BK-pTu3V.amd.js +2 -0
  54. package/.chunks/widgetInput.vue_vue_type_script_setup_true_lang-BK-pTu3V.amd.js.map +1 -0
  55. package/.chunks/widgetInput.vue_vue_type_script_setup_true_lang-xwjgBq1L.es.js +39 -0
  56. package/.chunks/widgetInput.vue_vue_type_script_setup_true_lang-xwjgBq1L.es.js.map +1 -0
  57. package/.chunks/widgetInput.vue_vue_type_style_index_0_lang-Cce9ZdtW.amd.js +2 -0
  58. package/.chunks/widgetInput.vue_vue_type_style_index_0_lang-Cce9ZdtW.amd.js.map +1 -0
  59. package/api/additional.d.ts +2 -0
  60. package/api/index.amd.js +1 -1
  61. package/api/index.amd.js.map +1 -1
  62. package/api/index.d.ts +2 -0
  63. package/api/index.js +117 -102
  64. package/api/index.js.map +1 -1
  65. package/assets/core.css +1 -1
  66. package/assets/forms.css +1 -1
  67. package/assets/formsExt.css +1 -1
  68. package/charts/charts.amd.js +1 -1
  69. package/charts/charts.amd.js.map +1 -1
  70. package/charts/charts.d.ts +2 -0
  71. package/charts/charts.js +11 -11
  72. package/charts/charts.js.map +1 -1
  73. package/core/app.amd.js +1 -1
  74. package/core/app.d.ts +2 -0
  75. package/core/app.js +5 -5
  76. package/dialog/dialog.amd.js +1 -1
  77. package/dialog/dialog.d.ts +2 -0
  78. package/dialog/dialog.js +2 -2
  79. package/extra/extra.amd.js +1 -1
  80. package/extra/extra.amd.js.map +1 -1
  81. package/extra/extra.d.ts +2 -0
  82. package/extra/extra.js +3 -3
  83. package/extra/extra.js.map +1 -1
  84. package/forms/forms.amd.js +1 -1
  85. package/forms/forms.d.ts +2 -0
  86. package/forms/forms.js +7 -7
  87. package/formsExt/formsExt.amd.js +1 -1
  88. package/formsExt/formsExt.amd.js.map +1 -1
  89. package/formsExt/formsExt.d.ts +2 -0
  90. package/formsExt/formsExt.js +331 -322
  91. package/formsExt/formsExt.js.map +1 -1
  92. package/layout/layout.amd.js +1 -1
  93. package/layout/layout.amd.js.map +1 -1
  94. package/layout/layout.d.ts +2 -0
  95. package/layout/layout.js +29 -29
  96. package/layout/layout.js.map +1 -1
  97. package/package.json +5 -10
  98. package/popup/popup.amd.js +1 -1
  99. package/popup/popup.amd.js.map +1 -1
  100. package/popup/popup.d.ts +2 -0
  101. package/popup/popup.js +76 -108
  102. package/popup/popup.js.map +1 -1
  103. package/popup/worker.amd.js +1 -1
  104. package/popup/worker.d.ts +2 -0
  105. package/popup/worker.js +2 -2
  106. package/project/project.amd.js +1 -1
  107. package/project/project.amd.js.map +1 -1
  108. package/project/project.d.ts +2 -0
  109. package/project/project.js +244 -244
  110. package/project/project.js.map +1 -1
  111. package/src/api/api/mocker/index.d.ts +9 -0
  112. package/src/api/api/tests/types.test-d.d.ts +1 -0
  113. package/{types → src}/api/api/types/api.d.ts +11 -6
  114. package/{types → src}/api/api/types/client/request.d.ts +6 -0
  115. package/{types → src}/api/api/types/field.d.ts +1 -1
  116. package/{types → src}/api/api/types/index.d.ts +1 -0
  117. package/src/api/api/types/mocker.d.ts +106 -0
  118. package/{types → src}/api/api/utils/common.d.ts +1 -1
  119. package/{types → src}/api/api/utils/filters.d.ts +1 -1
  120. package/{types → src}/api/api/utils/lazy.d.ts +10 -1
  121. package/src/components/charts/charts.d.ts +2 -0
  122. package/src/components/dialog/lib/types.d.ts +77 -0
  123. package/{types → src}/components/dialog/lib/utils.d.ts +8 -7
  124. package/{types → src}/components/dialog/lib/worker.d.ts +8 -4
  125. package/src/components/extra/extra.d.ts +1 -0
  126. package/src/components/forms/forms.d.ts +15 -0
  127. package/src/components/formsExt/formsExt.d.ts +8 -0
  128. package/src/components/formsExt/selector2/composables/useAPI.d.ts +18 -0
  129. package/{types → src}/components/formsExt/selector2/types.d.ts +15 -19
  130. package/src/components/layout/layout.d.ts +4 -0
  131. package/src/components/popup/popup.d.ts +7 -0
  132. package/src/components/project/project.d.ts +9 -0
  133. package/src/components/tabs/tabs.d.ts +3 -0
  134. package/src/components/tabsView/tabsView.d.ts +3 -0
  135. package/tabs/tabs.amd.js +1 -1
  136. package/tabs/tabs.amd.js.map +1 -1
  137. package/tabs/tabs.d.ts +2 -0
  138. package/tabs/tabs.js +14 -14
  139. package/tabs/tabs.js.map +1 -1
  140. package/tabsView/tabsView.amd.js +1 -1
  141. package/tabsView/tabsView.amd.js.map +1 -1
  142. package/tabsView/tabsView.d.ts +2 -0
  143. package/tabsView/tabsView.js +48 -47
  144. package/tabsView/tabsView.js.map +1 -1
  145. package/utils/check.d.ts +2 -0
  146. package/utils/clipboard.amd.js +1 -1
  147. package/utils/clipboard.d.ts +2 -0
  148. package/utils/clipboard.js +1 -1
  149. package/utils/date.amd.js +1 -1
  150. package/utils/date.d.ts +2 -0
  151. package/utils/date.js +1 -1
  152. package/utils/device.amd.js +1 -1
  153. package/utils/device.d.ts +2 -0
  154. package/utils/device.js +4 -4
  155. package/utils/dom.d.ts +6 -0
  156. package/utils/image.d.ts +2 -0
  157. package/utils/keyboard.d.ts +2 -0
  158. package/utils/lodash.amd.js +1 -1
  159. package/utils/lodash.d.ts +2 -0
  160. package/utils/lodash.js +1 -1
  161. package/utils/number.d.ts +2 -0
  162. package/utils/price.amd.js +1 -1
  163. package/utils/price.d.ts +2 -0
  164. package/utils/price.js +1 -1
  165. package/utils/route.d.ts +2 -0
  166. package/utils/scroll.d.ts +2 -0
  167. package/utils/searchers.amd.js +1 -1
  168. package/utils/searchers.d.ts +2 -0
  169. package/utils/searchers.js +3 -3
  170. package/utils/store.d.ts +2 -0
  171. package/utils/string.amd.js +1 -1
  172. package/utils/string.d.ts +2 -0
  173. package/utils/string.js +1 -1
  174. package/utils/system.d.ts +2 -0
  175. package/utils/url.d.ts +2 -0
  176. package/.chunks/core-rNR04ITp.amd.js +0 -2
  177. package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-DIVnPVQ4.es.js.map +0 -1
  178. package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-aLCfJKIO.amd.js +0 -2
  179. package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-aLCfJKIO.amd.js.map +0 -1
  180. package/.chunks/forms-DRhpgERJ.amd.js.map +0 -1
  181. package/.chunks/forms-t2AEUjqg.es.js.map +0 -1
  182. package/.chunks/lazy-CiM2Ny-s.amd.js +0 -2
  183. package/.chunks/lazy-CiM2Ny-s.amd.js.map +0 -1
  184. package/.chunks/lazy-Crun7esL.es.js +0 -39
  185. package/.chunks/lazy-Crun7esL.es.js.map +0 -1
  186. package/types/api/additional.d.ts +0 -2
  187. package/types/api/api/tests/model.d.ts +0 -0
  188. package/types/api/api/tests/test.d.ts +0 -16
  189. package/types/api/index.d.ts +0 -2
  190. package/types/charts/charts.d.ts +0 -2
  191. package/types/components/charts/charts.d.ts +0 -5
  192. package/types/components/dialog/lib/types.d.ts +0 -44
  193. package/types/components/extra/extra.d.ts +0 -3
  194. package/types/components/forms/forms.d.ts +0 -31
  195. package/types/components/formsExt/formsExt.d.ts +0 -17
  196. package/types/components/formsExt/selector2/composables/useAPI.d.ts +0 -30
  197. package/types/components/layout/layout.d.ts +0 -9
  198. package/types/components/popup/popup.d.ts +0 -15
  199. package/types/components/project/project.d.ts +0 -15
  200. package/types/components/tabs/tabs.d.ts +0 -7
  201. package/types/components/tabsView/tabsView.d.ts +0 -7
  202. package/types/dialog/dialog.d.ts +0 -2
  203. package/types/extra/extra.d.ts +0 -2
  204. package/types/for-delete/core.d.ts +0 -1
  205. package/types/for-delete/dark-positions.d.ts +0 -1
  206. package/types/for-delete/dark-th-positions.d.ts +0 -1
  207. package/types/for-delete/dark-th.d.ts +0 -1
  208. package/types/for-delete/dark.d.ts +0 -1
  209. package/types/for-delete/light-positions.d.ts +0 -1
  210. package/types/for-delete/light.d.ts +0 -1
  211. package/types/forms/forms.d.ts +0 -2
  212. package/types/formsExt/formsExt.d.ts +0 -2
  213. package/types/layout/layout.d.ts +0 -2
  214. package/types/popup/popup.d.ts +0 -2
  215. package/types/popup/worker.d.ts +0 -2
  216. package/types/project/project.d.ts +0 -2
  217. package/types/tabs/tabs.d.ts +0 -2
  218. package/types/tabsView/tabsView.d.ts +0 -2
  219. package/types/utils/check.d.ts +0 -2
  220. package/types/utils/clipboard.d.ts +0 -2
  221. package/types/utils/date.d.ts +0 -2
  222. package/types/utils/device.d.ts +0 -2
  223. package/types/utils/dom.d.ts +0 -6
  224. package/types/utils/image.d.ts +0 -2
  225. package/types/utils/keyboard.d.ts +0 -2
  226. package/types/utils/lodash.d.ts +0 -2
  227. package/types/utils/number.d.ts +0 -2
  228. package/types/utils/price.d.ts +0 -2
  229. package/types/utils/route.d.ts +0 -2
  230. package/types/utils/scroll.d.ts +0 -2
  231. package/types/utils/searchers.d.ts +0 -2
  232. package/types/utils/store.d.ts +0 -2
  233. package/types/utils/string.d.ts +0 -2
  234. package/types/utils/system.d.ts +0 -2
  235. package/types/utils/url.d.ts +0 -2
  236. package/assets/{popup.css → widgetInput.css} +0 -0
  237. package/{types/forms → forms}/helpers.d.ts +0 -0
  238. package/{types → src}/api/api/additional.d.ts +0 -0
  239. package/{types → src}/api/api/client/client.d.ts +0 -0
  240. package/{types → src}/api/api/client/request-options.d.ts +0 -0
  241. package/{types → src}/api/api/client/request.d.ts +0 -0
  242. package/{types → src}/api/api/index.d.ts +0 -0
  243. package/{types → src}/api/api/types/client/client.d.ts +0 -0
  244. package/{types → src}/api/api/types/client/middleware.d.ts +0 -0
  245. package/{types → src}/api/api/types/client/options.d.ts +0 -0
  246. package/{types → src}/api/api/types/client/request-context.d.ts +0 -0
  247. package/{types → src}/api/api/types/client/request-options.d.ts +0 -0
  248. package/{types → src}/api/api/types/ext.d.ts +0 -0
  249. package/{types → src}/api/api/types/schema.d.ts +0 -0
  250. package/{types → src}/api/api/types/tv.d.ts +4 -4
  251. /package/{types → src}/api/api/types/utils.d.ts +0 -0
  252. /package/{types → src}/api/api/utils/field.d.ts +0 -0
  253. /package/{types → src}/components/charts/miniChart/miniChart.vue.d.ts +0 -0
  254. /package/{types → src}/components/charts/miniChart/types.d.ts +0 -0
  255. /package/{types → src}/components/charts/miniChart/utils/consts.d.ts +0 -0
  256. /package/{types → src}/components/charts/miniCharts/miniCharts.d.ts +0 -0
  257. /package/{types → src}/components/charts/miniCharts/miniCharts.vue.d.ts +0 -0
  258. /package/{types → src}/components/core/notice/item/item.vue.d.ts +0 -0
  259. /package/{types → src}/components/core/notice/item/types.d.ts +0 -0
  260. /package/{types → src}/components/core/notice/notice.vue.d.ts +0 -0
  261. /package/{types → src}/components/core/notice/types.d.ts +0 -0
  262. /package/{types → src}/components/core/notice/utils.d.ts +0 -0
  263. /package/{types → src}/components/dialog/dialog/composables/asyncDialogHandle.d.ts +0 -0
  264. /package/{types → src}/components/dialog/dialog/composables/dialogHandle.d.ts +0 -0
  265. /package/{types → src}/components/dialog/dialog/composables/types.d.ts +0 -0
  266. /package/{types → src}/components/dialog/dialog/composables/utils.d.ts +0 -0
  267. /package/{types → src}/components/dialog/dialog/dialog.vue.d.ts +0 -0
  268. /package/{types → src}/components/dialog/dialog/dialogs/dialogs.vue.d.ts +0 -0
  269. /package/{types → src}/components/dialog/dialog/page/page.vue.d.ts +0 -0
  270. /package/{types → src}/components/dialog/dialog/page/types.d.ts +0 -0
  271. /package/{types → src}/components/dialog/dialog/pageComponent/pageComponent.vue.d.ts +0 -0
  272. /package/{types → src}/components/dialog/dialog/pageComponent/types.d.ts +0 -0
  273. /package/{types → src}/components/dialog/dialog/stories/dialog_example/pages/utils.d.ts +0 -0
  274. /package/{types → src}/components/dialog/dialog/types.d.ts +0 -0
  275. /package/{types → src}/components/dialog/dialog.d.ts +0 -0
  276. /package/{types → src}/components/dialog/lib/utils.globalEvents.d.ts +0 -0
  277. /package/{types → src}/components/extra/rive/rive.vue.d.ts +0 -0
  278. /package/{types → src}/components/extra/rive/types.d.ts +0 -0
  279. /package/{types → src}/components/forms/avatar/avatar.vue.d.ts +0 -0
  280. /package/{types → src}/components/forms/avatar/types.d.ts +0 -0
  281. /package/{types → src}/components/forms/button/button.vue.d.ts +0 -0
  282. /package/{types → src}/components/forms/button/types.d.ts +0 -0
  283. /package/{types → src}/components/forms/caption/caption.vue.d.ts +0 -0
  284. /package/{types → src}/components/forms/caption/types.d.ts +0 -0
  285. /package/{types → src}/components/forms/checkbox/checkbox.vue.d.ts +0 -0
  286. /package/{types → src}/components/forms/checkbox/types.d.ts +0 -0
  287. /package/{types → src}/components/forms/controlLabel/controlLabel.vue.d.ts +0 -0
  288. /package/{types → src}/components/forms/controlLabel/types.d.ts +0 -0
  289. /package/{types → src}/components/forms/helpers.d.ts +0 -0
  290. /package/{types → src}/components/forms/hint/hint.vue.d.ts +0 -0
  291. /package/{types → src}/components/forms/hint/types.d.ts +0 -0
  292. /package/{types → src}/components/forms/input/input.vue.d.ts +0 -0
  293. /package/{types → src}/components/forms/input/types.d.ts +0 -0
  294. /package/{types → src}/components/forms/inputDate/datepicker.d.ts +0 -0
  295. /package/{types → src}/components/forms/inputDate/inputDate.vue.d.ts +0 -0
  296. /package/{types → src}/components/forms/inputDate/types.d.ts +0 -0
  297. /package/{types → src}/components/forms/inputRange/inputRange.vue.d.ts +0 -0
  298. /package/{types → src}/components/forms/inputRange/types.d.ts +0 -0
  299. /package/{types → src}/components/forms/loadbar/loadbar.vue.d.ts +0 -0
  300. /package/{types → src}/components/forms/preloader/preloader.vue.d.ts +0 -0
  301. /package/{types → src}/components/forms/preloader/types.d.ts +0 -0
  302. /package/{types → src}/components/forms/radio/radio.vue.d.ts +0 -0
  303. /package/{types → src}/components/forms/radio/types.d.ts +0 -0
  304. /package/{types → src}/components/forms/select/select.vue.d.ts +0 -0
  305. /package/{types → src}/components/forms/select/types.d.ts +0 -0
  306. /package/{types → src}/components/forms/switcher/switcher.vue.d.ts +0 -0
  307. /package/{types → src}/components/forms/switcher/types.d.ts +0 -0
  308. /package/{types → src}/components/forms/textarea/textarea.vue.d.ts +0 -0
  309. /package/{types → src}/components/forms/textarea/types.d.ts +0 -0
  310. /package/{types → src}/components/formsExt/checkboxGroup/checkboxGroup.vue.d.ts +0 -0
  311. /package/{types → src}/components/formsExt/checkboxGroup/types.d.ts +0 -0
  312. /package/{types → src}/components/formsExt/editArea/editArea.vue.d.ts +0 -0
  313. /package/{types → src}/components/formsExt/editArea/types.d.ts +0 -0
  314. /package/{types → src}/components/formsExt/editInput/editInput.vue.d.ts +0 -0
  315. /package/{types → src}/components/formsExt/editInput/types.d.ts +0 -0
  316. /package/{types → src}/components/formsExt/info/info.vue.d.ts +0 -0
  317. /package/{types → src}/components/formsExt/info/types.d.ts +0 -0
  318. /package/{types → src}/components/formsExt/menu/menu.vue.d.ts +0 -0
  319. /package/{types → src}/components/formsExt/menu/types.d.ts +0 -0
  320. /package/{types → src}/components/formsExt/policy/policy.vue.d.ts +0 -0
  321. /package/{types → src}/components/formsExt/policy/types.d.ts +0 -0
  322. /package/{types → src}/components/formsExt/radioGroup/radioGroup.vue.d.ts +0 -0
  323. /package/{types → src}/components/formsExt/radioGroup/types.d.ts +0 -0
  324. /package/{types → src}/components/formsExt/selector2/composables/useMenu.d.ts +0 -0
  325. /package/{types → src}/components/formsExt/selector2/itemMulti.vue.d.ts +0 -0
  326. /package/{types → src}/components/formsExt/selector2/selector2.vue.d.ts +0 -0
  327. /package/{types → src}/components/formsExt/selector2/utils.d.ts +0 -0
  328. /package/{types → src}/components/layout/islandRows/islandRows.vue.d.ts +0 -0
  329. /package/{types → src}/components/layout/islandRows/islandRowsRow/islandRowsRow.vue.d.ts +0 -0
  330. /package/{types → src}/components/layout/islandRows/islandRowsRow/types.d.ts +0 -0
  331. /package/{types → src}/components/layout/islandRows/islandRowsSubTitle/islandRowsSubTitle.vue.d.ts +0 -0
  332. /package/{types → src}/components/layout/islandRows/types.d.ts +0 -0
  333. /package/{types → src}/components/layout/rows/rows.vue.d.ts +0 -0
  334. /package/{types → src}/components/layout/rows/types.d.ts +0 -0
  335. /package/{types → src}/components/popup/alert/alert.vue.d.ts +0 -0
  336. /package/{types → src}/components/popup/alert/types.d.ts +0 -0
  337. /package/{types → src}/components/popup/confirm/confirm.vue.d.ts +0 -0
  338. /package/{types → src}/components/popup/confirm/types.d.ts +0 -0
  339. /package/{types → src}/components/popup/lib/popup.d.ts +0 -0
  340. /package/{types → src}/components/popup/lib/popup.globalEvents.d.ts +0 -0
  341. /package/{types → src}/components/popup/lib/worker.d.ts +0 -0
  342. /package/{types → src}/components/popup/lib/worker.globalEvents.d.ts +0 -0
  343. /package/{types → src}/components/popup/popup/listItem.vue.d.ts +0 -0
  344. /package/{types → src}/components/popup/popup/opener.vue.d.ts +0 -0
  345. /package/{types → src}/components/popup/popup/popup.vue.d.ts +0 -0
  346. /package/{types → src}/components/popup/popup/types.d.ts +0 -0
  347. /package/{types → src}/components/popup/popup/widgetInput.vue.d.ts +0 -0
  348. /package/{types → src}/components/popup/prompt/prompt.vue.d.ts +0 -0
  349. /package/{types → src}/components/popup/prompt/types.d.ts +0 -0
  350. /package/{types → src}/components/popup/worker.d.ts +0 -0
  351. /package/{types → src}/components/project/selectorCompetitors/composables.d.ts +0 -0
  352. /package/{types → src}/components/project/selectorCompetitors/selectorCompetitors.vue.d.ts +0 -0
  353. /package/{types → src}/components/project/selectorCompetitors/types.d.ts +0 -0
  354. /package/{types → src}/components/project/selectorRegion/composables/compare.d.ts +0 -0
  355. /package/{types → src}/components/project/selectorRegion/composables/selectRegion.d.ts +0 -0
  356. /package/{types → src}/components/project/selectorRegion/composables/selectSearcher.d.ts +0 -0
  357. /package/{types → src}/components/project/selectorRegion/composables/selectorRegion.d.ts +0 -0
  358. /package/{types → src}/components/project/selectorRegion/dialog_selectorRegions/dialog_selectorRegions.vue.d.ts +0 -0
  359. /package/{types → src}/components/project/selectorRegion/dialog_selectorRegions/types.d.ts +0 -0
  360. /package/{types → src}/components/project/selectorRegion/selectorRegion.vue.d.ts +0 -0
  361. /package/{types → src}/components/project/selectorRegion/types.d.ts +0 -0
  362. /package/{types → src}/components/project/selectorRegion/utils/consts.d.ts +0 -0
  363. /package/{types → src}/components/project/selectorRegion/utils/utils.d.ts +0 -0
  364. /package/{types → src}/components/project/tagSelector/popupListItem/tagPopupListItem.vue.d.ts +0 -0
  365. /package/{types → src}/components/project/tagSelector/popupListItem/types.d.ts +0 -0
  366. /package/{types → src}/components/project/tagSelector/popupOpener/popupOpener.vue.d.ts +0 -0
  367. /package/{types → src}/components/project/tagSelector/popupOpener/types.d.ts +0 -0
  368. /package/{types → src}/components/project/tagSelector/tagIcon/tagIcon.vue.d.ts +0 -0
  369. /package/{types → src}/components/project/tagSelector/tagIcon/types.d.ts +0 -0
  370. /package/{types → src}/components/project/tagSelector/tagSelector.vue.d.ts +0 -0
  371. /package/{types → src}/components/project/tagSelector/tagsDefaults.d.ts +0 -0
  372. /package/{types → src}/components/project/tagSelector/types.d.ts +0 -0
  373. /package/{types → src}/components/project/tagSelector/utils/el.d.ts +0 -0
  374. /package/{types → src}/components/project/tagSelector/utils/utils.d.ts +0 -0
  375. /package/{types → src}/components/tabs/tabs/content.vue.d.ts +0 -0
  376. /package/{types → src}/components/tabs/tabs/tab.vue.d.ts +0 -0
  377. /package/{types → src}/components/tabs/tabs/tabs.vue.d.ts +0 -0
  378. /package/{types → src}/components/tabs/tabs/types.d.ts +0 -0
  379. /package/{types → src}/components/tabsView/tabsView/menu.vue.d.ts +0 -0
  380. /package/{types → src}/components/tabsView/tabsView/menuDelimeter.vue.d.ts +0 -0
  381. /package/{types → src}/components/tabsView/tabsView/menuItem.vue.d.ts +0 -0
  382. /package/{types → src}/components/tabsView/tabsView/menuTitle.vue.d.ts +0 -0
  383. /package/{types → src}/components/tabsView/tabsView/store.d.ts +0 -0
  384. /package/{types → src}/components/tabsView/tabsView/tabsView.vue.d.ts +0 -0
  385. /package/{types → src}/components/tabsView/tabsView/types.d.ts +0 -0
  386. /package/{types → src}/components/tabsView/tabsView/utils.d.ts +0 -0
  387. /package/{types → src}/core/app.d.ts +0 -0
  388. /package/{types → src}/core/core/core.d.ts +0 -0
  389. /package/{types → src}/core/core/events/resize.d.ts +0 -0
  390. /package/{types → src}/core/core/events.d.ts +0 -0
  391. /package/{types → src}/core/core/options.d.ts +0 -0
  392. /package/{types → src}/core/core/preloaders.d.ts +0 -0
  393. /package/{types → src}/core/core/state.d.ts +0 -0
  394. /package/{types → src}/core/directives/data.d.ts +0 -0
  395. /package/{types → src}/core/directives/focus.d.ts +0 -0
  396. /package/{types → src}/core/directives/preloader.d.ts +0 -0
  397. /package/{types → src}/core/directives/scrollIntoView.d.ts +0 -0
  398. /package/{types → src}/core/directives/scrollShadow.d.ts +0 -0
  399. /package/{types → src}/core/directives/sticky.d.ts +0 -0
  400. /package/{types → src}/core/directives/swimUp.d.ts +0 -0
  401. /package/{types → src}/core/directives/tooltip.d.ts +0 -0
  402. /package/{types → src}/core/plugins/core.d.ts +0 -0
  403. /package/{types → src}/core/plugins/i18n.d.ts +0 -0
  404. /package/{types → src}/core/plugins/piniaTPA.d.ts +0 -0
  405. /package/{types → src}/core/utils/check.d.ts +0 -0
  406. /package/{types → src}/core/utils/clipboard.d.ts +0 -0
  407. /package/{types → src}/core/utils/date.d.ts +0 -0
  408. /package/{types → src}/core/utils/device.d.ts +0 -0
  409. /package/{types → src}/core/utils/dom.d.ts +0 -0
  410. /package/{types → src}/core/utils/image.d.ts +0 -0
  411. /package/{types → src}/core/utils/keyboard.d.ts +0 -0
  412. /package/{types → src}/core/utils/lodash.d.ts +0 -0
  413. /package/{types → src}/core/utils/number.d.ts +0 -0
  414. /package/{types → src}/core/utils/price.d.ts +0 -0
  415. /package/{types → src}/core/utils/route.d.ts +0 -0
  416. /package/{types → src}/core/utils/scroll.d.ts +0 -0
  417. /package/{types → src}/core/utils/searchers.d.ts +0 -0
  418. /package/{types → src}/core/utils/store/localStorage.d.ts +0 -0
  419. /package/{types → src}/core/utils/store/plugin.d.ts +0 -0
  420. /package/{types → src}/core/utils/store/store.d.ts +0 -0
  421. /package/{types → src}/core/utils/store.d.ts +0 -0
  422. /package/{types → src}/core/utils/string.d.ts +0 -0
  423. /package/{types → src}/core/utils/system.d.ts +0 -0
  424. /package/{types → src}/core/utils/url.d.ts +0 -0
@@ -1,12 +1,14 @@
1
1
  import { Core as x } from "../core/app.js";
2
- import { defineComponent as L, ref as B, computed as P, createElementBlock as y, openBlock as p, normalizeClass as I, createCommentVNode as A, createElementVNode as _, toDisplayString as $, createVNode as O, withKeys as G, withModifiers as N, createBlock as w, createSlots as U, withCtx as V, createTextVNode as S, watch as E, toRef as D, mergeProps as R, mergeModels as J, useModel as Y, Fragment as z, renderList as F, withDirectives as q, vModelRadio as te, resolveDirective as oe, unref as v, renderSlot as W, resolveDynamicComponent as le } from "vue";
3
- import { w as se, _ as X, f as ae, d as re, u as ne, C as Q, x as ie, g as ue } from "../.chunks/forms-t2AEUjqg.es.js";
4
- import { TopPopup as de, TopPopupListItem as H, TopPopupWidgetInput as pe } from "../popup/popup.js";
5
- import { invertKeyboardLayout as ce } from "../utils/keyboard.js";
6
- import { _ as fe } from "../.chunks/menu.vue_vue_type_style_index_0_lang-6kqWYFuX.es.js";
7
- const ee = ["../assets/formsExt.css"].map((l) => import.meta.resolve(l));
2
+ import { defineComponent as M, ref as B, computed as R, createElementBlock as v, openBlock as d, normalizeClass as I, createCommentVNode as $, createElementVNode as L, toDisplayString as _, createVNode as D, withKeys as G, withModifiers as N, createBlock as w, createSlots as U, withCtx as V, createTextVNode as E, watch as P, toRef as O, mergeProps as W, mergeModels as J, useModel as Y, Fragment as z, renderList as q, withDirectives as Z, vModelRadio as te, resolveDirective as oe, unref as f, renderSlot as X, resolveDynamicComponent as le } from "vue";
3
+ import { q as se, c as F, _ as ae, d as re, u as ne, C as j, r as ie } from "../.chunks/forms-DarRVke_.es.js";
4
+ import { _ as ue, b as H } from "../.chunks/listItem.vue_vue_type_script_setup_true_lang-DzJ_pc-d.es.js";
5
+ import { _ as de } from "../.chunks/widgetInput.vue_vue_type_script_setup_true_lang-xwjgBq1L.es.js";
6
+ /* empty css */
7
+ import { invertKeyboardLayout as pe } from "../utils/keyboard.js";
8
+ import { _ as je } from "../.chunks/menu.vue_vue_type_style_index_0_lang-COD_4iTy.es.js";
9
+ const ee = ["../assets/formsExt.css"].map((a) => import.meta.resolve(a));
8
10
  x.insertCSSLinkToPage(ee, !0);
9
- const me = { class: "top-editArea_footer" }, ve = /* @__PURE__ */ L({
11
+ const ce = { class: "top-editArea_footer" }, Ne = /* @__PURE__ */ M({
10
12
  __name: "editArea",
11
13
  props: {
12
14
  defaultValue: { default: "" },
@@ -31,94 +33,94 @@ const me = { class: "top-editArea_footer" }, ve = /* @__PURE__ */ L({
31
33
  maxLength: {}
32
34
  },
33
35
  emits: ["submit", "close", "clickOnTitle"],
34
- setup(l, { emit: t }) {
35
- const s = l, o = t, d = B(s.defaultValue), a = B(s.isFocused), r = P(() => d.value !== s.defaultValue), c = (u) => {
36
- o("submit", u), d.value = s.defaultValue;
37
- }, f = () => {
38
- if (s.forceShowCloseBtn && !r.value) {
36
+ setup(a, { emit: e }) {
37
+ const l = a, o = e, u = B(l.defaultValue), s = B(l.isFocused), r = R(() => u.value !== l.defaultValue), p = (i) => {
38
+ o("submit", i), u.value = l.defaultValue;
39
+ }, c = () => {
40
+ if (l.forceShowCloseBtn && !r.value) {
39
41
  o("close");
40
42
  return;
41
43
  }
42
- d.value = s.defaultValue;
43
- }, k = () => {
44
- s.attachToKeyboard && o("clickOnTitle");
44
+ u.value = l.defaultValue;
45
+ }, C = () => {
46
+ l.attachToKeyboard && o("clickOnTitle");
45
47
  };
46
- return (u, b) => (p(), y("div", {
48
+ return (i, y) => (d(), v("div", {
47
49
  class: I({
48
50
  "top-editArea": !0,
49
- "top-editArea-attachedToKeyboard": u.attachToKeyboard
51
+ "top-editArea-attachedToKeyboard": i.attachToKeyboard
50
52
  })
51
53
  }, [
52
- u.title ? (p(), y("div", {
54
+ i.title ? (d(), v("div", {
53
55
  key: 0,
54
56
  class: "top-editArea_title",
55
- onClick: b[0] || (b[0] = (i) => k())
56
- }, $(u.title), 1)) : A("", !0),
57
- _("div", {
57
+ onClick: y[0] || (y[0] = (k) => C())
58
+ }, _(i.title), 1)) : $("", !0),
59
+ L("div", {
58
60
  class: I({
59
61
  "top-editArea_form": !0,
60
62
  "top-forms-focusable": !0,
61
63
  "top-as-input": !0,
62
- "top-error": u.isError,
63
- "top-focus": a.value
64
+ "top-error": i.isError,
65
+ "top-focus": s.value
64
66
  })
65
67
  }, [
66
- O(se, {
67
- modelValue: d.value,
68
- "onUpdate:modelValue": b[1] || (b[1] = (i) => d.value = i),
69
- name: u.name,
70
- placeholder: u.placeholder,
71
- rows: u.rows,
72
- minHeight: u.minHeight,
73
- expandable: u.expandable,
74
- disabled: u.disabled,
75
- readonly: u.readonly,
76
- isError: u.isError,
77
- hint: u.hint,
68
+ D(se, {
69
+ modelValue: u.value,
70
+ "onUpdate:modelValue": y[1] || (y[1] = (k) => u.value = k),
71
+ name: i.name,
72
+ placeholder: i.placeholder,
73
+ rows: i.rows,
74
+ minHeight: i.minHeight,
75
+ expandable: i.expandable,
76
+ disabled: i.disabled,
77
+ readonly: i.readonly,
78
+ isError: i.isError,
79
+ hint: i.hint,
78
80
  class: "top-editArea_element",
79
- onFocus: b[2] || (b[2] = () => a.value = !0),
80
- onBlur: b[3] || (b[3] = () => a.value = !1),
81
+ onFocus: y[2] || (y[2] = () => s.value = !0),
82
+ onBlur: y[3] || (y[3] = () => s.value = !1),
81
83
  onKeyup: [
82
- G(f, ["esc"]),
83
- b[4] || (b[4] = G(N((i) => c(d.value), ["ctrl"]), ["enter"]))
84
+ G(c, ["esc"]),
85
+ y[4] || (y[4] = G(N((k) => p(u.value), ["ctrl"]), ["enter"]))
84
86
  ]
85
87
  }, null, 8, ["modelValue", "name", "placeholder", "rows", "minHeight", "expandable", "disabled", "readonly", "isError", "hint"]),
86
- _("div", me, [
87
- r.value || u.forceShowCloseBtn ? (p(), w(X, {
88
+ L("div", ce, [
89
+ r.value || i.forceShowCloseBtn ? (d(), w(F, {
88
90
  key: 0,
89
- icon: u.$core.state.isMobile ? "" : "",
91
+ icon: i.$core.state.isMobile ? "" : "",
90
92
  class: "top-editArea_button",
91
93
  color: "theme",
92
94
  styling: "soft",
93
- onClick: f
95
+ onClick: c
94
96
  }, U({ _: 2 }, [
95
- u.$core.state.isMobile ? void 0 : {
97
+ i.$core.state.isMobile ? void 0 : {
96
98
  name: "default",
97
99
  fn: V(() => [
98
- S($(u.cancelText), 1)
100
+ E(_(i.cancelText), 1)
99
101
  ]),
100
102
  key: "0"
101
103
  }
102
- ]), 1032, ["icon"])) : A("", !0),
103
- r.value ? (p(), w(X, {
104
+ ]), 1032, ["icon"])) : $("", !0),
105
+ r.value ? (d(), w(F, {
104
106
  key: 1,
105
107
  class: "top-editArea_button",
106
- icon: u.$core.state.isMobile ? "" : "",
107
- onClick: b[5] || (b[5] = (i) => c(d.value))
108
+ icon: i.$core.state.isMobile ? "" : "",
109
+ onClick: y[5] || (y[5] = (k) => p(u.value))
108
110
  }, U({ _: 2 }, [
109
- u.$core.state.isMobile ? void 0 : {
111
+ i.$core.state.isMobile ? void 0 : {
110
112
  name: "default",
111
113
  fn: V(() => [
112
- S($(u.submitText), 1)
114
+ E(_(i.submitText), 1)
113
115
  ]),
114
116
  key: "0"
115
117
  }
116
- ]), 1032, ["icon"])) : A("", !0)
118
+ ]), 1032, ["icon"])) : $("", !0)
117
119
  ])
118
120
  ], 2)
119
121
  ], 2));
120
122
  }
121
- }), ye = { class: "top-editInput" }, he = /* @__PURE__ */ L({
123
+ }), fe = { class: "top-editInput" }, qe = /* @__PURE__ */ M({
122
124
  __name: "editInput",
123
125
  props: {
124
126
  modelValue: {},
@@ -126,32 +128,32 @@ const me = { class: "top-editArea_footer" }, ve = /* @__PURE__ */ L({
126
128
  button: {}
127
129
  },
128
130
  emits: ["update:modelValue"],
129
- setup(l, { emit: t }) {
130
- const s = l, o = B(s.modelValue);
131
- E(D(s.modelValue), () => {
132
- o.value = s.modelValue;
131
+ setup(a, { emit: e }) {
132
+ const l = a, o = B(l.modelValue);
133
+ P(O(l.modelValue), () => {
134
+ o.value = l.modelValue;
133
135
  });
134
- const d = t, a = () => {
135
- d("update:modelValue", o.value);
136
+ const u = e, s = () => {
137
+ u("update:modelValue", o.value);
136
138
  };
137
- return (r, c) => (p(), y("div", ye, [
138
- O(ae, R(r.input, {
139
- onKeydownCapture: c[0] || (c[0] = G(N((f) => o.value = r.modelValue, ["stop"]), ["esc"])),
140
- onKeydown: G(N(a, ["stop"]), ["enter"]),
139
+ return (r, p) => (d(), v("div", fe, [
140
+ D(ae, W(r.input, {
141
+ onKeydownCapture: p[0] || (p[0] = G(N((c) => o.value = r.modelValue, ["stop"]), ["esc"])),
142
+ onKeydown: G(N(s, ["stop"]), ["enter"]),
141
143
  modelValue: o.value,
142
- "onUpdate:modelValue": c[1] || (c[1] = (f) => o.value = f)
144
+ "onUpdate:modelValue": p[1] || (p[1] = (c) => o.value = c)
143
145
  }), null, 16, ["onKeydown", "modelValue"]),
144
- o.value !== r.modelValue ? (p(), w(X, R({
146
+ o.value !== r.modelValue ? (d(), w(F, W({
145
147
  key: 0,
146
148
  icon: "",
147
149
  styling: "soft"
148
- }, r.button, { onClick: a }), null, 16)) : A("", !0)
150
+ }, r.button, { onClick: s }), null, 16)) : $("", !0)
149
151
  ]));
150
152
  }
151
- }), be = ["data-top-icon", "onClick"], ge = {
153
+ }), me = ["data-top-icon", "onClick"], ve = {
152
154
  key: 0,
153
155
  class: "top-radioGroup_circle"
154
- }, Te = ["value", "disabled"], ke = /* @__PURE__ */ L({
156
+ }, ye = ["value", "disabled"], Fe = /* @__PURE__ */ M({
155
157
  __name: "radioGroup",
156
158
  props: /* @__PURE__ */ J({
157
159
  modelValue: {},
@@ -166,51 +168,51 @@ const me = { class: "top-editArea_footer" }, ve = /* @__PURE__ */ L({
166
168
  modelModifiers: {}
167
169
  }),
168
170
  emits: ["update:modelValue"],
169
- setup(l) {
170
- const t = Y(l, "modelValue"), s = l, o = B(null);
171
- E(t, () => {
172
- var a, r, c, f, k;
173
- (a = s.radiosProps) != null && a.some((u) => u.value === t.value) || (t.value = ((c = (r = s.radiosProps) == null ? void 0 : r[0]) == null ? void 0 : c.value) ?? ""), (k = (f = o.value) == null ? void 0 : f.querySelector(".radioGroup_item-selected")) == null || k.scrollIntoView();
171
+ setup(a) {
172
+ const e = Y(a, "modelValue"), l = a, o = B(null);
173
+ P(e, () => {
174
+ var s, r, p, c, C;
175
+ (s = l.radiosProps) != null && s.some((i) => i.value === e.value) || (e.value = ((p = (r = l.radiosProps) == null ? void 0 : r[0]) == null ? void 0 : p.value) ?? ""), (C = (c = o.value) == null ? void 0 : c.querySelector(".radioGroup_item-selected")) == null || C.scrollIntoView();
174
176
  }, { immediate: !0 });
175
- const d = "radioGroup-" + Math.random();
176
- return (a, r) => (p(), y("div", {
177
+ const u = "radioGroup-" + Math.random();
178
+ return (s, r) => (d(), v("div", {
177
179
  ref_key: "elRef",
178
180
  ref: o,
179
181
  class: I({
180
182
  "top-radioGroup": !0,
181
183
  "top-scrollBarXHidding": !0,
182
- ["top-size_" + a.size]: !!a.size,
183
- "top-error": a.isError
184
+ ["top-size_" + s.size]: !!s.size,
185
+ "top-error": s.isError
184
186
  })
185
187
  }, [
186
- (p(!0), y(z, null, F(a.radiosProps, (c) => (p(), y("label", {
188
+ (d(!0), v(z, null, q(s.radiosProps, (p) => (d(), v("label", {
187
189
  class: I({
188
- "top-radioGroup_item-selected": c.value === t.value,
190
+ "top-radioGroup_item-selected": p.value === e.value,
189
191
  "top-radioGroup_item": !0,
190
192
  "top-forms-focusable": !0,
191
- "top-disabled": c.disabled
193
+ "top-disabled": p.disabled
192
194
  }),
193
- "data-top-icon": c.icon,
194
- onClick: (f) => t.value = c.value
195
+ "data-top-icon": p.icon,
196
+ onClick: (c) => e.value = p.value
195
197
  }, [
196
- S($(c.title) + " ", 1),
197
- a.showIndicator ? (p(), y("span", ge)) : A("", !0),
198
- q(_("input", {
199
- "onUpdate:modelValue": r[0] || (r[0] = (f) => t.value = f),
200
- name: d,
198
+ E(_(p.title) + " ", 1),
199
+ s.showIndicator ? (d(), v("span", ve)) : $("", !0),
200
+ Z(L("input", {
201
+ "onUpdate:modelValue": r[0] || (r[0] = (c) => e.value = c),
202
+ name: u,
201
203
  type: "radio",
202
204
  class: I({
203
205
  "top-unvisible": !0
204
206
  }),
205
- value: c.value,
206
- disabled: c.disabled
207
- }, null, 8, Te), [
208
- [te, t.value]
207
+ value: p.value,
208
+ disabled: p.disabled
209
+ }, null, 8, ye), [
210
+ [te, e.value]
209
211
  ])
210
- ], 10, be))), 256))
212
+ ], 10, me))), 256))
211
213
  ], 2));
212
214
  }
213
- }), Ae = ["data-top-icon"], Ce = ["value", "checked", "disabled", "onChange"], $e = /* @__PURE__ */ L({
215
+ }), he = ["data-top-icon"], be = ["value", "checked", "disabled", "onChange"], He = /* @__PURE__ */ M({
214
216
  __name: "checkboxGroup",
215
217
  props: /* @__PURE__ */ J({
216
218
  modelValue: {},
@@ -225,12 +227,12 @@ const me = { class: "top-editArea_footer" }, ve = /* @__PURE__ */ L({
225
227
  modelModifiers: {}
226
228
  }),
227
229
  emits: ["update:modelValue"],
228
- setup(l) {
229
- const t = Y(l, "modelValue"), s = (o) => {
230
- const d = [...t.value], a = d.indexOf(o);
231
- a === -1 ? d.push(o) : d.splice(a, 1), t.value = d;
230
+ setup(a) {
231
+ const e = Y(a, "modelValue"), l = (o) => {
232
+ const u = [...e.value], s = u.indexOf(o);
233
+ s === -1 ? u.push(o) : u.splice(s, 1), e.value = u;
232
234
  };
233
- return (o, d) => (p(), y("div", {
235
+ return (o, u) => (d(), v("div", {
234
236
  class: I({
235
237
  "top-checkboxGroup": !0,
236
238
  ["top-checkboxGroup-" + o.styling]: !0,
@@ -239,137 +241,143 @@ const me = { class: "top-editArea_footer" }, ve = /* @__PURE__ */ L({
239
241
  "top-error": o.isError
240
242
  })
241
243
  }, [
242
- (p(!0), y(z, null, F(o.items, (a) => (p(), y("label", {
243
- key: a.id,
244
+ (d(!0), v(z, null, q(o.items, (s) => (d(), v("label", {
245
+ key: s.id,
244
246
  class: I({
245
247
  "top-checkboxGroup_item": !0,
246
- "top-checkboxGroup_item-selected": t.value.includes(a.id),
248
+ "top-checkboxGroup_item-selected": e.value.includes(s.id),
247
249
  "top-forms-focusable": !0,
248
- "top-disabled": a.disabled
250
+ "top-disabled": s.disabled
249
251
  }),
250
- "data-top-icon": a.icon
252
+ "data-top-icon": s.icon
251
253
  }, [
252
- _("input", {
254
+ L("input", {
253
255
  type: "checkbox",
254
256
  class: "top-unvisible",
255
- value: a.id,
256
- checked: t.value.includes(a.id),
257
- disabled: a.disabled,
258
- onChange: (r) => s(a.id)
259
- }, null, 40, Ce),
260
- S(" " + $(a.title), 1)
261
- ], 10, Ae))), 128))
257
+ value: s.id,
258
+ checked: e.value.includes(s.id),
259
+ disabled: s.disabled,
260
+ onChange: (r) => l(s.id)
261
+ }, null, 40, be),
262
+ E(" " + _(s.title), 1)
263
+ ], 10, he))), 128))
262
264
  ], 2));
263
265
  }
264
- }), Ve = { class: "top-selector2_itemMulti top-ellipsis" }, we = /* @__PURE__ */ L({
266
+ }), ge = { class: "top-selector2_itemMulti top-ellipsis" }, ke = /* @__PURE__ */ M({
265
267
  __name: "itemMulti",
266
268
  props: {
267
269
  id: {},
268
270
  name: {}
269
271
  },
270
272
  emits: ["delete"],
271
- setup(l) {
272
- return (t, s) => (p(), y("div", Ve, [
273
- S($(t.name) + " ", 1),
274
- _("span", {
273
+ setup(a) {
274
+ return (e, l) => (d(), v("div", ge, [
275
+ E(_(e.name) + " ", 1),
276
+ L("span", {
275
277
  class: "top-selector2_itemMultiDelete",
276
278
  "data-top-icon": "",
277
- onClick: s[0] || (s[0] = (o) => t.$emit("delete", t.id)),
278
- onMousedown: s[1] || (s[1] = N(() => {
279
+ onClick: l[0] || (l[0] = (o) => e.$emit("delete", e.id)),
280
+ onMousedown: l[1] || (l[1] = N(() => {
279
281
  }, ["stop"]))
280
282
  }, null, 32)
281
283
  ]));
282
284
  }
283
- }), Ie = (l, t, s) => {
284
- const o = B([]), d = B(!1);
285
- let a = "", r;
286
- l && !l.params.limit && (l.params.limit = 100);
287
- const c = async () => {
288
- if (!l) return;
289
- let i, C;
290
- if (s && (l.cache ??= /* @__PURE__ */ new Map(), C = JSON.stringify(l.params), i = l.cache.get(C), i))
291
- return i;
292
- if (d.value = !0, i = await l.call(), d.value = !1, i.errors) return;
293
- if (!Array.isArray(i.result)) {
294
- console.warn("В result ожидался массив");
285
+ }), Te = (a, e, l, o) => {
286
+ const u = B([]), s = /* @__PURE__ */ new Map(), r = B(!1);
287
+ let p = "", c;
288
+ a && !a.params.limit && (a.params.limit = 100);
289
+ const C = async () => {
290
+ if (!a) return;
291
+ let h;
292
+ if (o) {
293
+ h = JSON.stringify(a.params);
294
+ const S = s.get(h);
295
+ if (S)
296
+ return S;
297
+ }
298
+ r.value = !0;
299
+ const g = await a.call();
300
+ if (r.value = !1, g.errors) return;
301
+ if (!Array.isArray(g.result)) {
302
+ console.warn("Array expected in `res.result`");
295
303
  return;
296
304
  }
297
- const M = i.result.findIndex((K) => K.id === void 0 || K.name === void 0);
298
- if (M !== -1) {
299
- console.warn(`В result[${M}] нет id или name`);
305
+ const K = g.result.findIndex((S) => S.id === void 0 || S.name === void 0);
306
+ if (K !== -1) {
307
+ console.warn(`В result[${K}] нет id или name`);
300
308
  return;
301
309
  }
302
- return s && l.cache.set(C, i), i;
303
- }, f = async () => {
304
- if (!l) return;
305
- l.params.offset = 0, l.params.search = a;
306
- const i = await c();
307
- i && (r = i.nextOffset, o.value = i.result);
308
- }, k = async () => {
309
- if (!l || !r || d.value) return;
310
- l.params.offset = r, l.params.search = a;
311
- const i = await c();
312
- i && (r = i.nextOffset, o.value = o.value.concat(i.result));
313
- }, u = re(() => f(), 200);
310
+ return h && s.set(h, g), g;
311
+ }, i = async (h) => {
312
+ if (!a) return;
313
+ if (h) {
314
+ if (!c || r.value) return;
315
+ a.params.offset = c;
316
+ } else
317
+ a.params.offset = 0;
318
+ e == null || e(p);
319
+ const g = await C();
320
+ g && (c = g.nextOffset, h ? u.value = u.value.concat(g.result) : u.value = g.result);
321
+ }, y = re(() => i(!1), 200);
314
322
  return {
315
- apiRequest: l,
316
- items: o,
317
- isLoading: d,
318
- loadAppend: k,
319
- setSearchTextAndLoad: (i, C = !0) => {
320
- l && (i.length < t || i === a && o.value.length || (a = i, C ? u() : f()));
323
+ apiRequest: a,
324
+ items: u,
325
+ isLoading: r,
326
+ load: i,
327
+ setSearchTextAndLoad: (h, g = !0) => {
328
+ a && (h.length < l || h === p && u.value.length || (p = h, g ? y() : i(!1)));
321
329
  }
322
330
  };
323
- }, Be = 0, Z = (l, t, s = !0) => s && t.id === null ? Array.isArray(l) ? l.some((o) => o.id === t.id && o.name === t.name) : t.name === l.name : Array.isArray(l) ? l.some((o) => o.id === t.id) : t.id === l.id, _e = (l, t, s, o, d, a, r, c) => {
324
- const f = B(""), k = {
325
- id: Be,
331
+ }, Ae = 0, Q = (a, e, l = !0) => l && e.id === null ? Array.isArray(a) ? a.some((o) => o.id === e.id && o.name === e.name) : e.name === a.name : Array.isArray(a) ? a.some((o) => o.id === e.id) : e.id === a.id, Ce = (a, e, l, o, u, s, r, p) => {
332
+ const c = B(""), C = {
333
+ id: Ae,
326
334
  name: ne().Common.All
327
- }, u = () => {
328
- f.value = "", c.items.value = [];
329
- }, b = () => !(!c.apiRequest || a.value !== "inline" || f.value.length >= r), i = P(() => {
330
- var e;
331
- const h = [];
332
- return !s && o.value && h.push(k), (e = t.value) == null || e.forEach((n) => h.push({ ...n })), h;
333
- }), C = P(() => {
334
- const h = f.value.toLowerCase(), e = ce(h);
335
+ }, i = () => {
336
+ c.value = "", p.items.value = [];
337
+ }, y = () => !(!p.apiRequest || s.value !== "inline" || c.value.length >= r), k = R(() => {
338
+ var t;
339
+ const b = [];
340
+ return !l && o.value && b.push(C), (t = e.value) == null || t.forEach((n) => b.push({ ...n })), b;
341
+ }), h = R(() => {
342
+ const b = c.value.toLowerCase(), t = pe(b);
335
343
  let n = [];
336
- return i.value.forEach((g) => {
337
- const m = g.name.toLowerCase();
338
- (g.id === Number(h) || m.includes(h) || m.includes(e)) && (m === h || m === e ? n.unshift(g) : n.push(g));
339
- }), n.push(...c.items.value), d.value && f.value && (!n.length || n[0].name.toLowerCase() !== h) && n.push({
344
+ return k.value.forEach((T) => {
345
+ const m = T.name.toLowerCase();
346
+ (T.id === Number(b) || m.includes(b) || m.includes(t)) && (m === b || m === t ? n.unshift(T) : n.push(T));
347
+ }), n.push(...p.items.value), u.value && c.value && (!n.length || n[0].name.toLowerCase() !== b) && n.push({
340
348
  id: null,
341
- name: f.value
342
- }), s && (n = n.filter((g) => !Z(l.value, g))), n;
349
+ name: c.value
350
+ }), l && (n = n.filter((T) => !Q(a.value, T))), n;
343
351
  });
344
352
  return {
345
- searchText: f,
346
- resetSearch: u,
347
- genIsShort: b,
348
- items: i,
349
- itemsForShow: C,
350
- selectItem: (h) => {
351
- s && Array.isArray(l.value) ? Z(l.value, h) || (l.value = [...l.value, h]) : l.value = h;
353
+ searchText: c,
354
+ resetSearch: i,
355
+ genIsShort: y,
356
+ items: k,
357
+ itemsForShow: h,
358
+ selectItem: (b) => {
359
+ l && Array.isArray(a.value) ? Q(a.value, b) || (a.value = [...a.value, b]) : a.value = b;
352
360
  },
353
361
  selectNextItem: () => {
354
- if (!Array.isArray(l.value)) {
355
- const e = (C.value.findIndex((n) => n.id === l.value.id) + 1) % C.value.length;
356
- l.value = { ...C.value[e] };
362
+ if (!Array.isArray(a.value)) {
363
+ const t = (h.value.findIndex((n) => n.id === a.value.id) + 1) % h.value.length;
364
+ a.value = { ...h.value[t] };
357
365
  }
358
366
  },
359
- deleteItemById: async (h) => {
360
- Array.isArray(l.value) && (l.value = l.value.filter((e) => e.id !== h));
367
+ deleteItemById: async (b) => {
368
+ Array.isArray(a.value) && (a.value = a.value.filter((t) => t.id !== b));
361
369
  }
362
370
  };
363
- }, Se = {
371
+ }, $e = {
364
372
  key: 0,
365
373
  class: "top-selector2_activeItems"
366
- }, Le = {
374
+ }, _e = {
367
375
  key: 1,
368
376
  class: "top-selector2_activeName top-ellipsis"
369
- }, Ee = {
377
+ }, Ve = {
370
378
  key: 2,
371
379
  class: "top-selector2_placeholder top-ellipsis"
372
- }, Pe = /* @__PURE__ */ L({
380
+ }, Ue = /* @__PURE__ */ M({
373
381
  __name: "selector2",
374
382
  props: /* @__PURE__ */ J({
375
383
  modelValue: {},
@@ -381,7 +389,8 @@ const me = { class: "top-editArea_footer" }, ve = /* @__PURE__ */ L({
381
389
  isError: { type: Boolean },
382
390
  searchType: { default: "popup" },
383
391
  placeholder: {},
384
- apiRequest: {},
392
+ api: {},
393
+ apiSetSearchParams: {},
385
394
  minLength: { default: 0 },
386
395
  useCache: { type: Boolean },
387
396
  appendSearchToResult: { type: Boolean },
@@ -395,39 +404,39 @@ const me = { class: "top-editArea_footer" }, ve = /* @__PURE__ */ L({
395
404
  modelModifiers: {}
396
405
  }),
397
406
  emits: ["update:modelValue"],
398
- setup(l) {
399
- const t = l, s = Y(l, "modelValue"), o = P(() => t.searchType === "inline" && t.multiselect || t.searchType === "inline" && Q.state.isMobile ? "popup" : t.searchType);
400
- let d = 0;
401
- o.value === "inline" && t.minLength && (d = t.minLength);
402
- const a = Ie(t.apiRequest, d, t.useCache), r = _e(
403
- s,
404
- D(t, "items"),
405
- t.multiselect,
406
- D(t, "appendAllValue"),
407
- D(t, "appendSearchToResult"),
407
+ setup(a) {
408
+ const e = a, l = Y(a, "modelValue"), o = R(() => e.searchType === "inline" && e.multiselect || e.searchType === "inline" && j.state.isMobile ? "popup" : e.searchType);
409
+ let u = 0;
410
+ o.value === "inline" && e.minLength && (u = e.minLength);
411
+ const s = Te(e.api, e.apiSetSearchParams, u, e.useCache), r = Ce(
412
+ l,
413
+ O(e, "items"),
414
+ e.multiselect,
415
+ O(e, "appendAllValue"),
416
+ O(e, "appendSearchToResult"),
408
417
  o,
409
- d,
410
- a
411
- ), c = P(() => t.buttonProps ? "TopButton" : o.value === "inline" ? "TopInput" : "div"), f = B(null), k = () => {
412
- var e;
413
- return (e = f.value) == null ? void 0 : e.popup;
418
+ u,
419
+ s
420
+ ), p = R(() => e.buttonProps ? "TopButton" : o.value === "inline" ? "TopInput" : "div"), c = B(null), C = () => {
421
+ var t;
422
+ return (t = c.value) == null ? void 0 : t.popup;
414
423
  };
415
- a.apiRequest && E(r.searchText, () => {
416
- var e;
417
- a.setSearchTextAndLoad(r.searchText.value), o.value === "inline" && r.genIsShort() && ((e = k()) == null || e.close());
418
- }), E(s, () => {
424
+ s.apiRequest && P(r.searchText, () => {
425
+ var t;
426
+ s.setSearchTextAndLoad(r.searchText.value), o.value === "inline" && r.genIsShort() && ((t = C()) == null || t.close());
427
+ }), P(l, () => {
419
428
  o.value === "inline" && r.resetSearch();
420
429
  });
421
- const u = P(() => {
422
- var e;
423
- return Array.isArray(s.value) || t.multiselect || !t.selectedAsPlaceholder && o.value !== "inline" ? t.placeholder : ((e = s.value) == null ? void 0 : e.name) || t.placeholder;
424
- }), b = (e) => {
425
- var m, T;
430
+ const i = R(() => {
431
+ var t;
432
+ return Array.isArray(l.value) || e.multiselect || !e.selectedAsPlaceholder && o.value !== "inline" ? e.placeholder : ((t = l.value) == null ? void 0 : t.name) || e.placeholder;
433
+ }), y = (t) => {
434
+ var m, A;
426
435
  let n = !1;
427
- switch (e.key) {
436
+ switch (t.key) {
428
437
  case "Delete":
429
438
  case "Backspace":
430
- Array.isArray(s.value) && (e.preventDefault(), e.stopPropagation(), s.value.pop());
439
+ Array.isArray(l.value) && (t.preventDefault(), t.stopPropagation(), l.value.pop());
431
440
  break;
432
441
  case "ArrowUp":
433
442
  case "ArrowRight":
@@ -441,112 +450,112 @@ const me = { class: "top-editArea_footer" }, ve = /* @__PURE__ */ L({
441
450
  o.value === "inline" && r.resetSearch();
442
451
  break;
443
452
  }
444
- const g = e.key.length === 1 && !e.ctrlKey && !e.metaKey;
445
- (o.value === "popup" || o.value === "inline") && g && (n = !0), (m = k()) != null && m.elPopup && (n = !1), n && (o.value === "popup" && (e.preventDefault(), e.stopPropagation(), g && (r.searchText.value || (r.searchText.value = e.key))), (T = e.currentTarget) == null || T.click());
453
+ const T = t.key.length === 1 && !t.ctrlKey && !t.metaKey;
454
+ (o.value === "popup" || o.value === "inline") && T && (n = !0), (m = C()) != null && m.elPopup && (n = !1), n && (o.value === "popup" && (t.preventDefault(), t.stopPropagation(), T && (r.searchText.value || (r.searchText.value = t.key))), (A = t.currentTarget) == null || A.click());
446
455
  };
447
- let i = !1;
448
- const C = (e) => {
456
+ let k = !1;
457
+ const h = (t) => {
449
458
  var n;
450
- i || o.value === "inline" && ((n = e.currentTarget) == null || n.click());
451
- }, M = (e) => {
452
- var n, g;
453
- e.preventDefault(), i = !0, (g = (n = e.currentTarget) == null ? void 0 : n.parentElement) == null || g.focus(), i = !1, r.selectNextItem();
459
+ k || o.value === "inline" && ((n = t.currentTarget) == null || n.click());
460
+ }, g = (t) => {
461
+ var n, T;
462
+ t.preventDefault(), k = !0, (T = (n = t.currentTarget) == null ? void 0 : n.parentElement) == null || T.focus(), k = !1, r.selectNextItem();
454
463
  }, K = () => {
455
- var e;
456
- if (i = !0, a.apiRequest) {
464
+ var t;
465
+ if (k = !0, s.apiRequest) {
457
466
  if (r.genIsShort()) {
458
- (e = k()) == null || e.close();
467
+ (t = C()) == null || t.close();
459
468
  return;
460
469
  }
461
- a.setSearchTextAndLoad(r.searchText.value, !1);
470
+ s.setSearchTextAndLoad(r.searchText.value, !1);
462
471
  }
463
- }, j = () => {
472
+ }, S = () => {
464
473
  setTimeout(() => {
465
- i = !1;
474
+ k = !1;
466
475
  }, 100), o.value === "popup" && r.searchText.value && r.resetSearch();
467
- }, h = (e) => {
468
- const n = e.target;
469
- n.scrollTop / (n.scrollHeight - n.offsetHeight) > 0.8 && a.loadAppend();
476
+ }, b = (t) => {
477
+ const n = t.target;
478
+ n.scrollTop / (n.scrollHeight - n.offsetHeight) > 0.8 && s.load(!0);
470
479
  };
471
- return window.__STORYBOOK_PREVIEW__ && (E(
472
- () => t.multiselect,
480
+ return window.__STORYBOOK_PREVIEW__ && (P(
481
+ () => e.multiselect,
473
482
  () => {
474
- t.multiselect ? Array.isArray(s.value) || (s.value = [
483
+ e.multiselect ? Array.isArray(l.value) || (l.value = [
475
484
  {
476
485
  id: 1,
477
486
  name: "Выбери меня"
478
487
  }
479
- ]) : Array.isArray(s.value) && (s.value = {
488
+ ]) : Array.isArray(l.value) && (l.value = {
480
489
  id: null,
481
490
  name: ""
482
491
  });
483
492
  },
484
493
  { immediate: !0 }
485
- ), E(
486
- () => t.searchType,
494
+ ), P(
495
+ () => e.searchType,
487
496
  () => {
488
497
  setTimeout(() => {
489
498
  location.reload();
490
499
  }, 500);
491
500
  }
492
- )), (e, n) => {
493
- const g = oe("top-focus");
494
- return p(), w(v(de), {
501
+ )), (t, n) => {
502
+ const T = oe("top-focus");
503
+ return d(), w(f(ue), {
495
504
  ref_key: "popupRef",
496
- ref: f,
505
+ ref: c,
497
506
  onOpen: n[3] || (n[3] = (m) => K()),
498
- onClose: n[4] || (n[4] = (m) => j()),
499
- onScrollContentList: n[5] || (n[5] = (m) => e.apiRequest ? h(m) : void 0),
507
+ onClose: n[4] || (n[4] = (m) => S()),
508
+ onScrollContentList: n[5] || (n[5] = (m) => f(s) ? b(m) : void 0),
500
509
  notch: o.value !== "inline",
501
510
  transitionDuration: 0
502
511
  }, U({
503
512
  opener: V(() => [
504
- q((p(), w(le(c.value), R(e.buttonProps, {
513
+ Z((d(), w(le(p.value), W(t.buttonProps, {
505
514
  ref: "subcomponentSelector",
506
515
  class: {
507
516
  "top-selector2": !0,
508
- "top-selector2-multiselect": e.multiselect,
509
- ["top-selector2-" + e.modificator]: !!e.modificator,
510
- "top-as-input": !e.buttonProps,
517
+ "top-selector2-multiselect": t.multiselect,
518
+ ["top-selector2-" + t.modificator]: !!t.modificator,
519
+ "top-as-input": !t.buttonProps,
511
520
  "top-as-selector": !0,
512
- ["top-size_" + e.size]: !0,
513
- "top-disabled": e.disabled,
514
- "top-forms-focusable": !e.disabled,
515
- "top-error": e.isError
521
+ ["top-size_" + t.size]: !0,
522
+ "top-disabled": t.disabled,
523
+ "top-forms-focusable": !t.disabled,
524
+ "top-error": t.isError
516
525
  },
517
526
  tabindex: "0",
518
- onKeydown: b,
519
- placeholder: u.value,
520
- modelValue: v(r).searchText.value,
521
- "onUpdate:modelValue": n[0] || (n[0] = (m) => v(r).searchText.value = m),
522
- onFocus: C,
527
+ onKeydown: y,
528
+ placeholder: i.value,
529
+ modelValue: f(r).searchText.value,
530
+ "onUpdate:modelValue": n[0] || (n[0] = (m) => f(r).searchText.value = m),
531
+ onFocus: h,
523
532
  onBlur: n[1] || (n[1] = (m) => {
524
- var T;
525
- return (T = k()) != null && T.isClosed ? v(r).resetSearch() : "";
533
+ var A;
534
+ return (A = C()) != null && A.isClosed ? f(r).resetSearch() : "";
526
535
  })
527
536
  }), {
528
537
  default: V(() => [
529
- e.multiselect ? (p(), y("div", Se, [
530
- (p(!0), y(z, null, F(s.value, (m) => (p(), w(we, {
538
+ t.multiselect ? (d(), v("div", $e, [
539
+ (d(!0), v(z, null, q(l.value, (m) => (d(), w(ke, {
531
540
  id: m.id,
532
541
  name: m.name,
533
- onDelete: v(r).deleteItemById
542
+ onDelete: f(r).deleteItemById
534
543
  }, null, 8, ["id", "name", "onDelete"]))), 256))
535
- ])) : A("", !0),
536
- o.value !== "inline" && !e.multiselect ? (p(), y("span", Le, $(Array.isArray(s.value) ? "" : s.value.name), 1)) : A("", !0),
537
- e.multiselect && !s.value.length ? (p(), y("span", Ee, $(u.value), 1)) : A("", !0),
538
- e.addChanger && !e.buttonProps && !e.multiselect && v(r).items.value.length > 1 && !e.disabled ? (p(), y("span", {
544
+ ])) : $("", !0),
545
+ o.value !== "inline" && !t.multiselect ? (d(), v("span", _e, _(Array.isArray(l.value) ? "" : l.value.name), 1)) : $("", !0),
546
+ t.multiselect && !l.value.length ? (d(), v("span", Ve, _(i.value), 1)) : $("", !0),
547
+ t.addChanger && !t.buttonProps && !t.multiselect && f(r).items.value.length > 1 && !t.disabled ? (d(), v("span", {
539
548
  key: 3,
540
549
  class: "top-changer top-changer-selector top-popup_widget",
541
550
  "data-top-popup-disabled": "true",
542
- onClick: M
543
- })) : A("", !0)
551
+ onClick: g
552
+ })) : $("", !0)
544
553
  ]),
545
554
  _: 1
546
555
  }, 16, ["class", "placeholder", "modelValue"])), [
547
556
  [
548
- g,
549
- e.isError,
557
+ T,
558
+ t.isError,
550
559
  void 0,
551
560
  { onupdate: !0 }
552
561
  ]
@@ -555,42 +564,42 @@ const me = { class: "top-editArea_footer" }, ve = /* @__PURE__ */ L({
555
564
  contentList: V(() => {
556
565
  var m;
557
566
  return [
558
- (p(!0), y(z, null, F(v(r).itemsForShow.value, (T) => (p(), w(v(H), {
567
+ (d(!0), v(z, null, q(f(r).itemsForShow.value, (A) => (d(), w(f(H), {
559
568
  class: I({
560
- "top-active": !Array.isArray(s.value) && !e.multiselect && s.value.id === T.id && s.value.name === T.name
569
+ "top-active": !Array.isArray(l.value) && !t.multiselect && l.value.id === A.id && l.value.name === A.name
561
570
  }),
562
- key: T.id ?? void 0,
563
- closeByClick: !e.multiselect || v(Q).state.isMobile,
564
- onClick: (He) => v(r).selectItem(T)
571
+ key: A.id ?? void 0,
572
+ closeByClick: !t.multiselect || f(j).state.isMobile,
573
+ onClick: (Me) => f(r).selectItem(A)
565
574
  }, {
566
575
  default: V(() => [
567
- e.$slots.item ? W(e.$slots, "item", {
576
+ t.$slots.item ? X(t.$slots, "item", {
568
577
  key: 0,
569
- item: T
570
- }) : (p(), y(z, { key: 1 }, [
571
- S($(T.name), 1)
578
+ item: A
579
+ }) : (d(), v(z, { key: 1 }, [
580
+ E(_(A.name), 1)
572
581
  ], 64))
573
582
  ]),
574
583
  _: 2
575
584
  }, 1032, ["class", "closeByClick", "onClick"]))), 128)),
576
- !v(a).isLoading.value && !v(r).itemsForShow.value.length ? (p(), w(v(H), {
585
+ !f(s).isLoading.value && !f(r).itemsForShow.value.length ? (d(), w(f(H), {
577
586
  key: 0,
578
587
  type: "regular"
579
588
  }, {
580
589
  default: V(() => [
581
- S($(e.$i18n.Common.No_results), 1)
590
+ E(_(t.$i18n.Common.No_results), 1)
582
591
  ]),
583
592
  _: 1
584
- })) : A("", !0),
585
- v(a).isLoading.value && (e.searchType !== "popup" || (m = e.apiRequest) != null && m.params.offset) ? (p(), w(v(H), {
593
+ })) : $("", !0),
594
+ f(s).isLoading.value && (t.searchType !== "popup" || (m = f(s).apiRequest) != null && m.params.offset) ? (d(), w(f(H), {
586
595
  key: 1,
587
596
  type: "regular"
588
597
  }, {
589
598
  default: V(() => [
590
- O(v(ie), { type: "circles" })
599
+ D(f(ie), { type: "circles" })
591
600
  ]),
592
601
  _: 1
593
- })) : A("", !0)
602
+ })) : $("", !0)
594
603
  ];
595
604
  }),
596
605
  _: 2
@@ -600,13 +609,13 @@ const me = { class: "top-editArea_footer" }, ve = /* @__PURE__ */ L({
600
609
  fn: V(() => {
601
610
  var m;
602
611
  return [
603
- O(v(pe), {
612
+ D(f(de), {
604
613
  title: "Поиск",
605
614
  icon: "",
606
- modelValue: v(r).searchText.value,
607
- "onUpdate:modelValue": n[2] || (n[2] = (T) => v(r).searchText.value = T),
608
- isLoading: v(a).isLoading.value && !((m = e.apiRequest) != null && m.params.offset),
609
- placeholder: u.value
615
+ modelValue: f(r).searchText.value,
616
+ "onUpdate:modelValue": n[2] || (n[2] = (A) => f(r).searchText.value = A),
617
+ isLoading: f(s).isLoading.value && !((m = f(s).apiRequest) != null && m.params.offset),
618
+ placeholder: i.value
610
619
  }, null, 8, ["modelValue", "isLoading", "placeholder"])
611
620
  ];
612
621
  }),
@@ -615,37 +624,37 @@ const me = { class: "top-editArea_footer" }, ve = /* @__PURE__ */ L({
615
624
  ]), 1032, ["notch"]);
616
625
  };
617
626
  }
618
- }), Me = ["data-top-icon"], Ke = { class: "top-info_text" }, ze = {
627
+ }), we = ["data-top-icon"], Ie = { class: "top-info_text" }, Be = {
619
628
  key: 0,
620
629
  class: "top-info_value"
621
- }, Oe = /* @__PURE__ */ L({
630
+ }, We = /* @__PURE__ */ M({
622
631
  __name: "info",
623
632
  props: {
624
633
  icon: {},
625
634
  styling: { default: "default" },
626
635
  size: { default: "default" }
627
636
  },
628
- setup(l) {
629
- return (t, s) => (p(), y("div", {
637
+ setup(a) {
638
+ return (e, l) => (d(), v("div", {
630
639
  class: I({
631
640
  "top-info": !0,
632
- ["top-size_" + t.size]: !0,
633
- ["top-info-styling_" + t.styling]: !0
641
+ ["top-size_" + e.size]: !0,
642
+ ["top-info-styling_" + e.styling]: !0
634
643
  }),
635
- "data-top-icon": t.icon
644
+ "data-top-icon": e.icon
636
645
  }, [
637
- _("div", Ke, [
638
- W(t.$slots, "default")
646
+ L("div", Ie, [
647
+ X(e.$slots, "default")
639
648
  ]),
640
- t.$slots.additional ? (p(), y("span", ze, [
641
- W(t.$slots, "additional")
642
- ])) : A("", !0)
643
- ], 10, Me));
649
+ e.$slots.additional ? (d(), v("span", Be, [
650
+ X(e.$slots, "additional")
651
+ ])) : $("", !0)
652
+ ], 10, we));
644
653
  }
645
- }), De = {
654
+ }), Se = {
646
655
  key: 0,
647
656
  class: "top-policy"
648
- }, Ge = { class: "top-policy_title" }, Ne = ["innerHTML"], Fe = /* @__PURE__ */ L({
657
+ }, Le = { class: "top-policy_title" }, Ee = ["innerHTML"], Xe = /* @__PURE__ */ M({
649
658
  __name: "policy",
650
659
  props: {
651
660
  title: {},
@@ -653,36 +662,36 @@ const me = { class: "top-editArea_footer" }, ve = /* @__PURE__ */ L({
653
662
  acceptText: {}
654
663
  },
655
664
  emits: ["accept"],
656
- setup(l, { emit: t }) {
657
- const s = t, o = B(!0), d = () => {
658
- o.value = !1, s("accept");
665
+ setup(a, { emit: e }) {
666
+ const l = e, o = B(!0), u = () => {
667
+ o.value = !1, l("accept");
659
668
  };
660
- return (a, r) => o.value ? (p(), y("div", De, [
661
- _("div", Ge, $(a.title), 1),
662
- _("div", {
669
+ return (s, r) => o.value ? (d(), v("div", Se, [
670
+ L("div", Le, _(s.title), 1),
671
+ L("div", {
663
672
  class: "top-policy_description",
664
- innerHTML: a.description
665
- }, null, 8, Ne),
666
- O(v(ue), {
673
+ innerHTML: s.description
674
+ }, null, 8, Ee),
675
+ D(f(F), {
667
676
  size: "m",
668
- onClick: d
677
+ onClick: u
669
678
  }, {
670
679
  default: V(() => [
671
- S($(a.acceptText), 1)
680
+ E(_(s.acceptText), 1)
672
681
  ]),
673
682
  _: 1
674
683
  })
675
- ])) : A("", !0);
684
+ ])) : $("", !0);
676
685
  }
677
- }), je = ve, Qe = he, Ze = ke, qe = $e, xe = Pe, et = fe, tt = Oe, ot = Fe;
686
+ });
678
687
  export {
679
- qe as TopCheckboxGroup,
680
- je as TopEditArea,
681
- Qe as TopEditInput,
682
- tt as TopInfo,
683
- et as TopMenu,
684
- ot as TopPolicy,
685
- Ze as TopRadioGroup,
686
- xe as TopSelector2
688
+ He as TopCheckboxGroup,
689
+ Ne as TopEditArea,
690
+ qe as TopEditInput,
691
+ We as TopInfo,
692
+ je as TopMenu,
693
+ Xe as TopPolicy,
694
+ Fe as TopRadioGroup,
695
+ Ue as TopSelector2
687
696
  };
688
697
  //# sourceMappingURL=formsExt.js.map