@topvisor/ui 1.0.42-popupPosition.0 → 1.1.0-addNativeDialog.11

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