@topvisor/ui 1.5.0-updates.0 → 1.5.0-updates.10

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 (580) hide show
  1. package/.chunks/api-CawzY1Cw.amd.js +2 -0
  2. package/.chunks/api-CawzY1Cw.amd.js.map +1 -0
  3. package/.chunks/api-CawzY1Cw.esm.js +208 -0
  4. package/.chunks/api-CawzY1Cw.esm.js.map +1 -0
  5. package/.chunks/app-CCX-gNqz.amd.js +2 -0
  6. package/.chunks/app-CCX-gNqz.amd.js.map +1 -0
  7. package/.chunks/app-CCX-gNqz.esm.js +396 -0
  8. package/.chunks/app-CCX-gNqz.esm.js.map +1 -0
  9. package/.chunks/datepicker-BTkZOq7d.amd.js +2 -0
  10. package/.chunks/datepicker-BTkZOq7d.amd.js.map +1 -0
  11. package/.chunks/datepicker-BTkZOq7d.esm.js +38 -0
  12. package/.chunks/datepicker-BTkZOq7d.esm.js.map +1 -0
  13. package/.chunks/dialog-DeM4SApg.amd.js +2 -0
  14. package/.chunks/dialog-DeM4SApg.amd.js.map +1 -0
  15. package/.chunks/dialog-DeM4SApg.esm.js +117 -0
  16. package/.chunks/dialog-DeM4SApg.esm.js.map +1 -0
  17. package/.chunks/dialog_regionSelectorRegions-CYrmaDt3.amd.js +2 -0
  18. package/.chunks/dialog_regionSelectorRegions-CYrmaDt3.amd.js.map +1 -0
  19. package/.chunks/dialog_regionSelectorRegions-CYrmaDt3.esm.js +169 -0
  20. package/.chunks/dialog_regionSelectorRegions-CYrmaDt3.esm.js.map +1 -0
  21. package/.chunks/dialogs-CMrERMI7.amd.js +2 -0
  22. package/.chunks/dialogs-CMrERMI7.amd.js.map +1 -0
  23. package/.chunks/dialogs-CMrERMI7.esm.js +237 -0
  24. package/.chunks/dialogs-CMrERMI7.esm.js.map +1 -0
  25. package/.chunks/field-CjkpGeA7.amd.js +2 -0
  26. package/.chunks/field-CjkpGeA7.amd.js.map +1 -0
  27. package/.chunks/field-CjkpGeA7.esm.js +16 -0
  28. package/.chunks/field-CjkpGeA7.esm.js.map +1 -0
  29. package/.chunks/forms-CbUt-6Ff.amd.js +2 -0
  30. package/.chunks/forms-CbUt-6Ff.amd.js.map +1 -0
  31. package/.chunks/forms-CbUt-6Ff.esm.js +1991 -0
  32. package/.chunks/forms-CbUt-6Ff.esm.js.map +1 -0
  33. package/.chunks/formsExt-CrTmBhja.amd.js +2 -0
  34. package/.chunks/formsExt-CrTmBhja.amd.js.map +1 -0
  35. package/.chunks/formsExt-CrTmBhja.esm.js +807 -0
  36. package/.chunks/formsExt-CrTmBhja.esm.js.map +1 -0
  37. package/.chunks/lazy-CGswTOPj.amd.js +2 -0
  38. package/.chunks/lazy-CGswTOPj.amd.js.map +1 -0
  39. package/.chunks/lazy-CGswTOPj.esm.js +68 -0
  40. package/.chunks/lazy-CGswTOPj.esm.js.map +1 -0
  41. package/.chunks/mocker-CwZe-g4N.amd.js +2 -0
  42. package/.chunks/mocker-CwZe-g4N.amd.js.map +1 -0
  43. package/.chunks/mocker-CwZe-g4N.esm.js +45 -0
  44. package/.chunks/mocker-CwZe-g4N.esm.js.map +1 -0
  45. package/.chunks/notice-CslVdVNm.amd.js +4 -0
  46. package/.chunks/notice-CslVdVNm.amd.js.map +1 -0
  47. package/.chunks/notice-CslVdVNm.esm.js +191 -0
  48. package/.chunks/notice-CslVdVNm.esm.js.map +1 -0
  49. package/.chunks/popup-DrByVU-k.amd.js +2 -0
  50. package/.chunks/popup-DrByVU-k.amd.js.map +1 -0
  51. package/.chunks/popup-DrByVU-k.esm.js +444 -0
  52. package/.chunks/popup-DrByVU-k.esm.js.map +1 -0
  53. package/.chunks/popup-dNrN-eKi.amd.js +2 -0
  54. package/.chunks/popup-dNrN-eKi.amd.js.map +1 -0
  55. package/.chunks/popup-dNrN-eKi.esm.js +323 -0
  56. package/.chunks/popup-dNrN-eKi.esm.js.map +1 -0
  57. package/.chunks/punycode.es6-B-5kB2YI.amd.js +2 -0
  58. package/.chunks/{punycode.es6-CgGegfA_.es.js.map → punycode.es6-B-5kB2YI.amd.js.map} +1 -1
  59. package/.chunks/punycode.es6-B-5kB2YI.esm.js +105 -0
  60. package/.chunks/punycode.es6-B-5kB2YI.esm.js.map +1 -0
  61. package/.chunks/store-DuQpSSLL.amd.js +2 -0
  62. package/.chunks/store-DuQpSSLL.amd.js.map +1 -0
  63. package/.chunks/store-DuQpSSLL.esm.js +27 -0
  64. package/.chunks/store-DuQpSSLL.esm.js.map +1 -0
  65. package/.chunks/utils-BwiXsV0S.amd.js +2 -0
  66. package/.chunks/{utils-BNzP9anP.es.js.map → utils-BwiXsV0S.amd.js.map} +1 -1
  67. package/.chunks/utils-BwiXsV0S.esm.js +43 -0
  68. package/.chunks/utils-BwiXsV0S.esm.js.map +1 -0
  69. package/.chunks/utils-Dd0MZgyw.amd.js +2 -0
  70. package/.chunks/utils-Dd0MZgyw.amd.js.map +1 -0
  71. package/.chunks/utils-Dd0MZgyw.esm.js +287 -0
  72. package/.chunks/utils-Dd0MZgyw.esm.js.map +1 -0
  73. package/.chunks/worker-Db8YrEHo.amd.js +2 -0
  74. package/.chunks/worker-Db8YrEHo.amd.js.map +1 -0
  75. package/.chunks/worker-Db8YrEHo.esm.js +100 -0
  76. package/.chunks/worker-Db8YrEHo.esm.js.map +1 -0
  77. package/api/additional.amd.js +2 -2
  78. package/api/additional.amd.js.map +1 -1
  79. package/api/additional.d.ts +1 -0
  80. package/api/additional.js +70 -66
  81. package/api/additional.js.map +1 -1
  82. package/api/index.amd.js +2 -2
  83. package/api/index.amd.js.map +1 -1
  84. package/api/index.d.ts +1 -0
  85. package/api/index.js +3 -285
  86. package/assets/charts.css +1 -1
  87. package/assets/core.css +1 -1
  88. package/assets/dialog_regionSelectorRegions.css +1 -1
  89. package/assets/extra.css +1 -1
  90. package/assets/forms.css +1 -1
  91. package/assets/formsExt.css +1 -0
  92. package/assets/layout.css +1 -1
  93. package/assets/notice.css +1 -1
  94. package/assets/popup.css +1 -0
  95. package/assets/project.css +1 -1
  96. package/assets/tabs.css +1 -1
  97. package/assets/tabsView.css +1 -1
  98. package/assets/themes/dark-th.css +1 -1
  99. package/assets/themes/dark.css +1 -1
  100. package/assets/themes/light.css +1 -1
  101. package/autoload-css-manifest.amd.json +79 -0
  102. package/autoload-css-manifest.json +90 -0
  103. package/charts/charts.amd.js +2 -2
  104. package/charts/charts.amd.js.map +1 -1
  105. package/charts/charts.d.ts +1 -0
  106. package/charts/charts.js +146 -174
  107. package/charts/charts.js.map +1 -1
  108. package/core/app.amd.js +2 -2
  109. package/core/app.amd.js.map +1 -1
  110. package/core/app.d.ts +1 -0
  111. package/core/app.js +5 -213
  112. package/dialog/dialog.amd.js +2 -2
  113. package/dialog/dialog.amd.js.map +1 -1
  114. package/dialog/dialog.d.ts +1 -0
  115. package/dialog/dialog.js +4 -60
  116. package/extra/extra.amd.js +2 -2
  117. package/extra/extra.amd.js.map +1 -1
  118. package/extra/extra.d.ts +1 -0
  119. package/extra/extra.js +73 -69
  120. package/extra/extra.js.map +1 -1
  121. package/forms/forms.amd.js +2 -2
  122. package/forms/forms.amd.js.map +1 -1
  123. package/forms/forms.d.ts +1 -0
  124. package/forms/forms.js +2 -19
  125. package/forms/helpers.amd.js +2 -2
  126. package/forms/helpers.amd.js.map +1 -1
  127. package/forms/helpers.js +0 -2
  128. package/formsExt/formsExt.amd.js +2 -2
  129. package/formsExt/formsExt.amd.js.map +1 -1
  130. package/formsExt/formsExt.d.ts +1 -0
  131. package/formsExt/formsExt.js +2 -373
  132. package/icomoon/Topvisor icons.json +259 -231
  133. package/icomoon/demo-files/demo.amd.js +2 -0
  134. package/icomoon/demo-files/demo.amd.js.map +1 -0
  135. package/icomoon/demo.amd.js +2 -0
  136. package/icomoon/demo.amd.js.map +1 -0
  137. package/icomoon/demo.html +15 -1
  138. package/icomoon/fonts/Topvisor-2.eot +0 -0
  139. package/icomoon/fonts/Topvisor-2.svg +1 -0
  140. package/icomoon/fonts/Topvisor-2.ttf +0 -0
  141. package/icomoon/fonts/Topvisor-2.woff +0 -0
  142. package/icomoon/selection.json +1 -1
  143. package/icomoon/style.css +8 -5
  144. package/layout/layout.amd.js +2 -2
  145. package/layout/layout.amd.js.map +1 -1
  146. package/layout/layout.d.ts +1 -0
  147. package/layout/layout.js +41 -57
  148. package/layout/layout.js.map +1 -1
  149. package/package.json +1 -1
  150. package/popup/popup.amd.js +2 -2
  151. package/popup/popup.amd.js.map +1 -1
  152. package/popup/popup.d.ts +1 -0
  153. package/popup/popup.js +2 -282
  154. package/popup/worker.amd.js +2 -2
  155. package/popup/worker.amd.js.map +1 -1
  156. package/popup/worker.d.ts +1 -0
  157. package/popup/worker.js +2 -144
  158. package/project/project.amd.js +2 -2
  159. package/project/project.amd.js.map +1 -1
  160. package/project/project.d.ts +1 -0
  161. package/project/project.js +1678 -1643
  162. package/project/project.js.map +1 -1
  163. package/src/{src/components → components}/charts/miniCharts/miniCharts.d.ts +1 -1
  164. package/src/{src/components → components}/core/notice/item/types.d.ts +1 -1
  165. package/src/{src/components → components}/core/notice/utils.d.ts +1 -1
  166. package/src/{src/components → components}/dialog/dialog/composables/dialogHandle.d.ts +1 -1
  167. package/src/{src/components → components}/dialog/dialog/dialogs/dialogs.vue.d.ts +2 -2
  168. package/src/{src/components → components}/dialog/dialog/stories/dialog_example/pages/utils.d.ts +1 -1
  169. package/src/components/dialog/dialog.d.ts +6 -0
  170. package/src/{src/components → components}/dialog/lib/worker.d.ts +1 -1
  171. package/src/{src/components → components}/forms/button/types.d.ts +1 -1
  172. package/src/{src/components → components}/forms/input/types.d.ts +1 -1
  173. package/src/components/forms/inputDate/types.d.ts +1 -0
  174. package/src/{src/components → components}/forms/select/types.d.ts +1 -1
  175. package/src/{src/components → components}/formsExt/editArea/types.d.ts +1 -1
  176. package/src/{src/components → components}/formsExt/editInput/types.d.ts +2 -2
  177. package/src/{src/components → components}/formsExt/libs/optionGroup/types.d.ts +1 -1
  178. package/src/{src/components → components}/formsExt/menu/types.d.ts +1 -1
  179. package/src/{src/components → components}/formsExt/policy/policy.vue.d.ts +1 -1
  180. package/src/{src/components → components}/formsExt/selector2/types.d.ts +3 -3
  181. package/src/{src/components → components}/popup/lib/popup.d.ts +2 -2
  182. package/src/{src/components → components}/popup/lib/worker.d.ts +2 -2
  183. package/src/{src/components → components}/popup/popup/popup.vue.d.ts +1 -1
  184. package/src/{src/components → components}/popup/popup/widgetInput/widgetInput.vue.d.ts +1 -1
  185. package/src/{src/components → components}/popup/popupConfirm/popupConfirm.vue.d.ts +1 -1
  186. package/src/{src/components → components}/project/competitorSelector/composables.d.ts +1 -1
  187. package/src/{src/components → components}/project/competitorSelector/types.d.ts +1 -1
  188. package/src/{src/components → components}/project/groupSelector/folders/types.d.ts +2 -2
  189. package/src/components/project/groupSelector/folders/utils.d.ts +57 -0
  190. package/src/{src/components → components}/project/groupSelector/groups/groups.vue.d.ts +1 -1
  191. package/src/{src/components → components}/project/groupSelector/groups/types.d.ts +2 -2
  192. package/src/components/project/groupSelector/groups/utils.d.ts +78 -0
  193. package/src/{src/components → components}/project/groupSelector/stories/mocks/index.d.ts +1 -1
  194. package/src/{src/components → components}/project/projectSelector/cache.d.ts +1 -1
  195. package/src/{src/components → components}/project/projectSelector/projectSelector.vue.d.ts +1 -1
  196. package/src/{src/components → components}/project/projectSelector/types.d.ts +2 -2
  197. package/src/{src/components → components}/project/projectSelector/utils.d.ts +41 -40
  198. package/src/{src/components → components}/project/regionSelector/composables/selectRegion.d.ts +1 -1
  199. package/src/{src/components → components}/project/regionSelector/composables/selectSearcher.d.ts +1 -1
  200. package/src/{src/components → components}/project/regionSelector/dialog_regionSelectorRegions/types.d.ts +1 -1
  201. package/src/{src/components → components}/project/tagSelector/popupOpener/types.d.ts +1 -1
  202. package/src/{src/components → components}/project/tagSelector/types.d.ts +1 -1
  203. package/src/{src/components → components}/project/tagSelector/utils/el.d.ts +1 -1
  204. package/src/{src/components → components}/tabsView/tabsView/store.d.ts +1 -1
  205. package/src/{src/core → core}/app.d.ts +2 -2
  206. package/src/{src/core → core}/core/core.d.ts +3 -3
  207. package/src/{src/core → core}/plugins/core.d.ts +6 -6
  208. package/src/{src/core → core}/utils/price.d.ts +2 -2
  209. package/src/core/utils/store.d.ts +6 -0
  210. package/tabs/tabs.amd.js +2 -2
  211. package/tabs/tabs.amd.js.map +1 -1
  212. package/tabs/tabs.d.ts +1 -0
  213. package/tabs/tabs.js +63 -77
  214. package/tabs/tabs.js.map +1 -1
  215. package/tabsView/tabsView.amd.js +2 -2
  216. package/tabsView/tabsView.amd.js.map +1 -1
  217. package/tabsView/tabsView.d.ts +1 -0
  218. package/tabsView/tabsView.js +245 -288
  219. package/tabsView/tabsView.js.map +1 -1
  220. package/utils/check.amd.js +2 -2
  221. package/utils/check.amd.js.map +1 -1
  222. package/utils/check.d.ts +1 -0
  223. package/utils/check.js +15 -19
  224. package/utils/check.js.map +1 -1
  225. package/utils/clipboard.amd.js +6 -6
  226. package/utils/clipboard.amd.js.map +1 -1
  227. package/utils/clipboard.d.ts +1 -0
  228. package/utils/clipboard.js +26 -31
  229. package/utils/clipboard.js.map +1 -1
  230. package/utils/date.amd.js +2 -2
  231. package/utils/date.amd.js.map +1 -1
  232. package/utils/date.d.ts +1 -0
  233. package/utils/date.js +2 -12
  234. package/utils/device.amd.js +2 -2
  235. package/utils/device.amd.js.map +1 -1
  236. package/utils/device.d.ts +1 -0
  237. package/utils/device.js +2 -15
  238. package/utils/dom.amd.js +2 -2
  239. package/utils/dom.amd.js.map +1 -1
  240. package/utils/dom.d.ts +5 -0
  241. package/utils/dom.js +53 -67
  242. package/utils/dom.js.map +1 -1
  243. package/utils/image.amd.js +3 -3
  244. package/utils/image.amd.js.map +1 -1
  245. package/utils/image.d.ts +1 -0
  246. package/utils/image.js +12 -22
  247. package/utils/image.js.map +1 -1
  248. package/utils/keyboard.amd.js +2 -2
  249. package/utils/keyboard.amd.js.map +1 -1
  250. package/utils/keyboard.d.ts +1 -0
  251. package/utils/keyboard.js +10 -11
  252. package/utils/keyboard.js.map +1 -1
  253. package/utils/lodash.amd.js +2 -2
  254. package/utils/lodash.amd.js.map +1 -1
  255. package/utils/lodash.d.ts +1 -0
  256. package/utils/lodash.js +2 -9
  257. package/utils/number.amd.js +2 -2
  258. package/utils/number.amd.js.map +1 -1
  259. package/utils/number.d.ts +1 -0
  260. package/utils/number.js +12 -12
  261. package/utils/number.js.map +1 -1
  262. package/utils/price.amd.js +2 -2
  263. package/utils/price.amd.js.map +1 -1
  264. package/utils/price.d.ts +1 -0
  265. package/utils/price.js +14 -9
  266. package/utils/price.js.map +1 -1
  267. package/utils/route.amd.js +2 -2
  268. package/utils/route.amd.js.map +1 -1
  269. package/utils/route.d.ts +1 -0
  270. package/utils/route.js +33 -37
  271. package/utils/route.js.map +1 -1
  272. package/utils/scroll.amd.js +2 -2
  273. package/utils/scroll.amd.js.map +1 -1
  274. package/utils/scroll.d.ts +1 -0
  275. package/utils/scroll.js +39 -43
  276. package/utils/scroll.js.map +1 -1
  277. package/utils/searchers.amd.js +2 -2
  278. package/utils/searchers.amd.js.map +1 -1
  279. package/utils/searchers.d.ts +1 -0
  280. package/utils/searchers.js +128 -133
  281. package/utils/searchers.js.map +1 -1
  282. package/utils/store.amd.js +2 -2
  283. package/utils/store.amd.js.map +1 -1
  284. package/utils/store.d.ts +1 -0
  285. package/utils/store.js +2 -7
  286. package/utils/string.amd.js +2 -2
  287. package/utils/string.amd.js.map +1 -1
  288. package/utils/string.d.ts +1 -0
  289. package/utils/string.js +120 -147
  290. package/utils/string.js.map +1 -1
  291. package/utils/system.amd.js +2 -2
  292. package/utils/system.amd.js.map +1 -1
  293. package/utils/system.d.ts +1 -0
  294. package/utils/system.js +25 -28
  295. package/utils/system.js.map +1 -1
  296. package/utils/url.amd.js +3 -3
  297. package/utils/url.amd.js.map +1 -1
  298. package/utils/url.d.ts +1 -0
  299. package/utils/url.js +36 -47
  300. package/utils/url.js.map +1 -1
  301. package/.chunks/core-Dgj_YGWh.es.js +0 -268
  302. package/.chunks/core-Dgj_YGWh.es.js.map +0 -1
  303. package/.chunks/core-DzDFXOdI.amd.js +0 -2
  304. package/.chunks/core-DzDFXOdI.amd.js.map +0 -1
  305. package/.chunks/datepicker-oa8ZwRhq.amd.js +0 -2
  306. package/.chunks/datepicker-oa8ZwRhq.amd.js.map +0 -1
  307. package/.chunks/datepicker-qToxk2nN.es.js +0 -41
  308. package/.chunks/datepicker-qToxk2nN.es.js.map +0 -1
  309. package/.chunks/dialog_regionSelectorRegions-CZ0tMVSq.amd.js +0 -2
  310. package/.chunks/dialog_regionSelectorRegions-CZ0tMVSq.amd.js.map +0 -1
  311. package/.chunks/dialog_regionSelectorRegions-qDW2Ejsv.es.js +0 -180
  312. package/.chunks/dialog_regionSelectorRegions-qDW2Ejsv.es.js.map +0 -1
  313. package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-BBix_8WK.amd.js +0 -2
  314. package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-BBix_8WK.amd.js.map +0 -1
  315. package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-CJ97l1ST.es.js +0 -323
  316. package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-CJ97l1ST.es.js.map +0 -1
  317. package/.chunks/field-Cvv0SRcJ.amd.js +0 -2
  318. package/.chunks/field-Cvv0SRcJ.amd.js.map +0 -1
  319. package/.chunks/field-CyyFzM-Y.es.js +0 -16
  320. package/.chunks/field-CyyFzM-Y.es.js.map +0 -1
  321. package/.chunks/forms-DDNzqU6o.amd.js +0 -3
  322. package/.chunks/forms-DDNzqU6o.amd.js.map +0 -1
  323. package/.chunks/forms-DtC-EKJL.es.js +0 -2053
  324. package/.chunks/forms-DtC-EKJL.es.js.map +0 -1
  325. package/.chunks/index-DLUtoTUg.amd.js +0 -2
  326. package/.chunks/index-DLUtoTUg.amd.js.map +0 -1
  327. package/.chunks/index-DkQWJkMc.es.js +0 -54
  328. package/.chunks/index-DkQWJkMc.es.js.map +0 -1
  329. package/.chunks/lazy-DDNqYkXn.amd.js +0 -2
  330. package/.chunks/lazy-DDNqYkXn.amd.js.map +0 -1
  331. package/.chunks/lazy-HKSyLh72.es.js +0 -75
  332. package/.chunks/lazy-HKSyLh72.es.js.map +0 -1
  333. package/.chunks/notice-BvQl911b.es.js +0 -191
  334. package/.chunks/notice-BvQl911b.es.js.map +0 -1
  335. package/.chunks/notice-CJ3WOTCM.amd.js +0 -4
  336. package/.chunks/notice-CJ3WOTCM.amd.js.map +0 -1
  337. package/.chunks/page.vue_vue_type_script_setup_true_lang-Dd5-B4Ss.es.js +0 -139
  338. package/.chunks/page.vue_vue_type_script_setup_true_lang-Dd5-B4Ss.es.js.map +0 -1
  339. package/.chunks/page.vue_vue_type_script_setup_true_lang-fl6-Ql4d.amd.js +0 -2
  340. package/.chunks/page.vue_vue_type_script_setup_true_lang-fl6-Ql4d.amd.js.map +0 -1
  341. package/.chunks/policy.vue_vue_type_style_index_0_lang-Bv3LwNDC.es.js +0 -519
  342. package/.chunks/policy.vue_vue_type_style_index_0_lang-Bv3LwNDC.es.js.map +0 -1
  343. package/.chunks/policy.vue_vue_type_style_index_0_lang-Da7rztT5.amd.js +0 -2
  344. package/.chunks/policy.vue_vue_type_style_index_0_lang-Da7rztT5.amd.js.map +0 -1
  345. package/.chunks/popup-OuDglAOF.es.js +0 -470
  346. package/.chunks/popup-OuDglAOF.es.js.map +0 -1
  347. package/.chunks/popup-yXIpyok3.amd.js +0 -2
  348. package/.chunks/popup-yXIpyok3.amd.js.map +0 -1
  349. package/.chunks/popupHint.vue_vue_type_style_index_0_lang-Bu_HvFoW.amd.js +0 -2
  350. package/.chunks/popupHint.vue_vue_type_style_index_0_lang-Bu_HvFoW.amd.js.map +0 -1
  351. package/.chunks/popupHint.vue_vue_type_style_index_0_lang-DAQIAxvu.es.js +0 -209
  352. package/.chunks/popupHint.vue_vue_type_style_index_0_lang-DAQIAxvu.es.js.map +0 -1
  353. package/.chunks/punycode.es6-CNOnFR2-.amd.js +0 -2
  354. package/.chunks/punycode.es6-CNOnFR2-.amd.js.map +0 -1
  355. package/.chunks/punycode.es6-CgGegfA_.es.js +0 -134
  356. package/.chunks/store-CX_6ZXhO.es.js +0 -29
  357. package/.chunks/store-CX_6ZXhO.es.js.map +0 -1
  358. package/.chunks/store-YRW59xEF.amd.js +0 -2
  359. package/.chunks/store-YRW59xEF.amd.js.map +0 -1
  360. package/.chunks/utils-BNzP9anP.es.js +0 -78
  361. package/.chunks/utils-CWn_G7OO.amd.js +0 -2
  362. package/.chunks/utils-CWn_G7OO.amd.js.map +0 -1
  363. package/.chunks/utils-DIviuVEw.amd.js +0 -2
  364. package/.chunks/utils-DIviuVEw.amd.js.map +0 -1
  365. package/.chunks/utils-Dma85ehT.es.js +0 -288
  366. package/.chunks/utils-Dma85ehT.es.js.map +0 -1
  367. package/.chunks/widgetInput.vue_vue_type_script_setup_true_lang-CX_BOcVY.es.js +0 -39
  368. package/.chunks/widgetInput.vue_vue_type_script_setup_true_lang-CX_BOcVY.es.js.map +0 -1
  369. package/.chunks/widgetInput.vue_vue_type_script_setup_true_lang-CkOmb3VD.amd.js +0 -2
  370. package/.chunks/widgetInput.vue_vue_type_script_setup_true_lang-CkOmb3VD.amd.js.map +0 -1
  371. package/api/index.js.map +0 -1
  372. package/assets/policy.css +0 -1
  373. package/assets/popupHint.css +0 -1
  374. package/core/app.js.map +0 -1
  375. package/dialog/dialog.js.map +0 -1
  376. package/forms/forms.js.map +0 -1
  377. package/forms/helpers.js.map +0 -1
  378. package/formsExt/formsExt.js.map +0 -1
  379. package/popup/popup.js.map +0 -1
  380. package/popup/worker.js.map +0 -1
  381. package/src/src/components/dialog/dialog.d.ts +0 -6
  382. package/src/src/components/forms/inputDate/types.d.ts +0 -1
  383. package/src/src/components/project/groupSelector/folders/utils.d.ts +0 -422
  384. package/src/src/components/project/groupSelector/groups/utils.d.ts +0 -791
  385. package/src/src/components/project/groupSelector/utils.d.ts +0 -37
  386. package/src/src/core/utils/store.d.ts +0 -6
  387. package/utils/date.js.map +0 -1
  388. package/utils/device.js.map +0 -1
  389. package/utils/lodash.js.map +0 -1
  390. package/utils/store.js.map +0 -1
  391. package/src/{src/api → api}/api/additional.d.ts +0 -0
  392. package/src/{src/api → api}/api/client/client.d.ts +0 -0
  393. package/src/{src/api → api}/api/client/request-options.d.ts +0 -0
  394. package/src/{src/api → api}/api/client/request.d.ts +0 -0
  395. package/src/{src/api → api}/api/index.d.ts +0 -0
  396. package/src/{src/api → api}/api/mocker/index.d.ts +0 -0
  397. package/src/{src/api → api}/api/tests/types.test-d.d.ts +0 -0
  398. package/src/{src/api → api}/api/types/api.d.ts +0 -0
  399. package/src/{src/api → api}/api/types/client/client.d.ts +0 -0
  400. package/src/{src/api → api}/api/types/client/middleware.d.ts +0 -0
  401. package/src/{src/api → api}/api/types/client/options.d.ts +0 -0
  402. package/src/{src/api → api}/api/types/client/request-context.d.ts +0 -0
  403. package/src/{src/api → api}/api/types/client/request-options.d.ts +0 -0
  404. package/src/{src/api → api}/api/types/client/request.d.ts +0 -0
  405. package/src/{src/api → api}/api/types/ext.d.ts +0 -0
  406. package/src/{src/api → api}/api/types/field.d.ts +0 -0
  407. package/src/{src/api → api}/api/types/index.d.ts +0 -0
  408. package/src/{src/api → api}/api/types/mocker.d.ts +0 -0
  409. package/src/{src/api → api}/api/types/schema.d.ts +0 -0
  410. package/src/{src/api → api}/api/types/tv.d.ts +0 -0
  411. package/src/{src/api → api}/api/types/utils.d.ts +0 -0
  412. package/src/{src/api → api}/api/utils/common.d.ts +0 -0
  413. package/src/{src/api → api}/api/utils/field.d.ts +0 -0
  414. package/src/{src/api → api}/api/utils/filters.d.ts +0 -0
  415. package/src/{src/api → api}/api/utils/lazy.d.ts +0 -0
  416. package/src/{src/components → components}/charts/charts.d.ts +0 -0
  417. package/src/{src/components → components}/charts/miniChart/miniChart.vue.d.ts +0 -0
  418. package/src/{src/components → components}/charts/miniChart/types.d.ts +0 -0
  419. package/src/{src/components → components}/charts/miniChart/utils/consts.d.ts +0 -0
  420. package/src/{src/components → components}/charts/miniCharts/miniCharts.vue.d.ts +0 -0
  421. package/src/{src/components → components}/core/notice/item/item.vue.d.ts +0 -0
  422. package/src/{src/components → components}/core/notice/notice.vue.d.ts +0 -0
  423. package/src/{src/components → components}/core/notice/types.d.ts +0 -0
  424. package/src/{src/components → components}/dialog/dialog/composables/asyncDialogHandle.d.ts +0 -0
  425. package/src/{src/components → components}/dialog/dialog/composables/types.d.ts +0 -0
  426. package/src/{src/components → components}/dialog/dialog/composables/utils.d.ts +0 -0
  427. package/src/{src/components → components}/dialog/dialog/dialog.vue.d.ts +0 -0
  428. package/src/{src/components → components}/dialog/dialog/page/page.vue.d.ts +0 -0
  429. package/src/{src/components → components}/dialog/dialog/page/types.d.ts +0 -0
  430. package/src/{src/components → components}/dialog/dialog/pageComponent/pageComponent.vue.d.ts +0 -0
  431. package/src/{src/components → components}/dialog/dialog/pageComponent/types.d.ts +0 -0
  432. package/src/{src/components → components}/dialog/dialog/types.d.ts +0 -0
  433. package/src/{src/components → components}/dialog/lib/types.d.ts +0 -0
  434. package/src/{src/components → components}/dialog/lib/utils.d.ts +0 -0
  435. package/src/{src/components → components}/dialog/lib/utils.globalEvents.d.ts +0 -0
  436. package/src/{src/components → components}/extra/extra.d.ts +0 -0
  437. package/src/{src/components → components}/extra/rive/rive.vue.d.ts +0 -0
  438. package/src/{src/components → components}/extra/rive/types.d.ts +0 -0
  439. package/src/{src/components → components}/forms/avatar/avatar.vue.d.ts +0 -0
  440. package/src/{src/components → components}/forms/avatar/types.d.ts +0 -0
  441. package/src/{src/components → components}/forms/button/button.vue.d.ts +0 -0
  442. package/src/{src/components → components}/forms/caption/caption.vue.d.ts +0 -0
  443. package/src/{src/components → components}/forms/caption/types.d.ts +0 -0
  444. package/src/{src/components → components}/forms/checkbox/checkbox.vue.d.ts +0 -0
  445. package/src/{src/components → components}/forms/checkbox/types.d.ts +0 -0
  446. package/src/{src/components → components}/forms/controlLabel/controlLabel.vue.d.ts +0 -0
  447. package/src/{src/components → components}/forms/controlLabel/types.d.ts +0 -0
  448. package/src/{src/components → components}/forms/forms.d.ts +0 -0
  449. package/src/{src/components → components}/forms/helpers.d.ts +0 -0
  450. package/src/{src/components → components}/forms/hint/hint.vue.d.ts +0 -0
  451. package/src/{src/components → components}/forms/hint/types.d.ts +0 -0
  452. package/src/{src/components → components}/forms/input/input.vue.d.ts +0 -0
  453. package/src/{src/components → components}/forms/inputDate/datepicker.d.ts +0 -0
  454. package/src/{src/components → components}/forms/inputDate/inputDate.vue.d.ts +0 -0
  455. package/src/{src/components → components}/forms/inputRange/inputRange.vue.d.ts +0 -0
  456. package/src/{src/components → components}/forms/inputRange/types.d.ts +0 -0
  457. package/src/{src/components → components}/forms/loadbar/loadbar.vue.d.ts +0 -0
  458. package/src/{src/components → components}/forms/preloader/preloader.vue.d.ts +0 -0
  459. package/src/{src/components → components}/forms/preloader/types.d.ts +0 -0
  460. package/src/{src/components → components}/forms/radio/radio.vue.d.ts +0 -0
  461. package/src/{src/components → components}/forms/radio/types.d.ts +0 -0
  462. package/src/{src/components → components}/forms/select/select.vue.d.ts +0 -0
  463. package/src/{src/components → components}/forms/switcher/switcher.vue.d.ts +0 -0
  464. package/src/{src/components → components}/forms/switcher/types.d.ts +0 -0
  465. package/src/{src/components → components}/forms/textarea/textarea.vue.d.ts +0 -0
  466. package/src/{src/components → components}/forms/textarea/types.d.ts +0 -0
  467. package/src/{src/components → components}/formsExt/checkboxGroup/checkboxGroup.vue.d.ts +0 -0
  468. package/src/{src/components → components}/formsExt/checkboxGroup/types.d.ts +0 -0
  469. package/src/{src/components → components}/formsExt/editArea/editArea.vue.d.ts +0 -0
  470. package/src/{src/components → components}/formsExt/editInput/editInput.vue.d.ts +0 -0
  471. package/src/{src/components → components}/formsExt/formsExt.d.ts +0 -0
  472. package/src/{src/components → components}/formsExt/info/info.vue.d.ts +0 -0
  473. package/src/{src/components → components}/formsExt/info/types.d.ts +0 -0
  474. package/src/{src/components → components}/formsExt/libs/optionGroup/optionGroup.vue.d.ts +0 -0
  475. package/src/{src/components → components}/formsExt/menu/menu.vue.d.ts +0 -0
  476. package/src/{src/components → components}/formsExt/policy/types.d.ts +0 -0
  477. package/src/{src/components → components}/formsExt/radioGroup/radioGroup.vue.d.ts +0 -0
  478. package/src/{src/components → components}/formsExt/radioGroup/types.d.ts +0 -0
  479. package/src/{src/components → components}/formsExt/selector2/cache.d.ts +0 -0
  480. package/src/{src/components → components}/formsExt/selector2/composables/useAPI.d.ts +0 -0
  481. package/src/{src/components → components}/formsExt/selector2/composables/useMenu.d.ts +0 -0
  482. package/src/{src/components → components}/formsExt/selector2/itemMulti.vue.d.ts +0 -0
  483. package/src/{src/components → components}/formsExt/selector2/selector2.vue.d.ts +0 -0
  484. package/src/{src/components → components}/formsExt/selector2/utils.d.ts +0 -0
  485. package/src/{src/components → components}/layout/islandRows/islandRows.vue.d.ts +0 -0
  486. package/src/{src/components → components}/layout/islandRows/islandRowsRow/islandRowsRow.vue.d.ts +0 -0
  487. package/src/{src/components → components}/layout/islandRows/islandRowsRow/types.d.ts +0 -0
  488. package/src/{src/components → components}/layout/islandRows/islandRowsSubTitle/islandRowsSubTitle.vue.d.ts +0 -0
  489. package/src/{src/components → components}/layout/islandRows/types.d.ts +0 -0
  490. package/src/{src/components → components}/layout/layout.d.ts +0 -0
  491. package/src/{src/components → components}/layout/rows/rows.vue.d.ts +0 -0
  492. package/src/{src/components → components}/layout/rows/types.d.ts +0 -0
  493. package/src/{src/components → components}/popup/lib/popup.globalEvents.d.ts +0 -0
  494. package/src/{src/components → components}/popup/lib/worker.globalEvents.d.ts +0 -0
  495. package/src/{src/components → components}/popup/popup/listItem.vue.d.ts +0 -0
  496. package/src/{src/components → components}/popup/popup/opener/opener.vue.d.ts +0 -0
  497. package/src/{src/components → components}/popup/popup/opener/types.d.ts +0 -0
  498. package/src/{src/components → components}/popup/popup/types.d.ts +0 -0
  499. package/src/{src/components → components}/popup/popup.d.ts +0 -0
  500. package/src/{src/components → components}/popup/popupAlert/popupAlert.vue.d.ts +0 -0
  501. package/src/{src/components → components}/popup/popupAlert/types.d.ts +0 -0
  502. package/src/{src/components → components}/popup/popupConfirm/types.d.ts +0 -0
  503. package/src/{src/components → components}/popup/popupHint/popupHint.vue.d.ts +0 -0
  504. package/src/{src/components → components}/popup/popupHint/types.d.ts +0 -0
  505. package/src/{src/components → components}/popup/popupPrompt/popupPrompt.vue.d.ts +0 -0
  506. package/src/{src/components → components}/popup/popupPrompt/types.d.ts +0 -0
  507. package/src/{src/components → components}/popup/worker.d.ts +0 -0
  508. package/src/{src/components → components}/project/competitorSelector/competitorSelector.vue.d.ts +0 -0
  509. package/src/{src/components → components}/project/groupSelector/folders/folders.vue.d.ts +0 -0
  510. package/src/{src/components → components}/project/groupSelector/groupSelector.vue.d.ts +1 -1
  511. /package/src/{src/components → components}/project/groupSelector/stories/mocks/folders.d.ts +0 -0
  512. /package/src/{src/components → components}/project/groupSelector/stories/mocks/groups.d.ts +0 -0
  513. /package/src/{src/components → components}/project/groupSelector/types.d.ts +0 -0
  514. /package/src/{src/components → components}/project/project.d.ts +0 -0
  515. /package/src/{src/components → components}/project/projectSelector/submenu/submenu.vue.d.ts +0 -0
  516. /package/src/{src/components → components}/project/projectSelector/submenu/types.d.ts +0 -0
  517. /package/src/{src/components → components}/project/regionSelector/composables/compare.d.ts +0 -0
  518. /package/src/{src/components → components}/project/regionSelector/composables/selectorRegion.d.ts +0 -0
  519. /package/src/{src/components → components}/project/regionSelector/dialog_regionSelectorRegions/dialog_regionSelectorRegions.vue.d.ts +0 -0
  520. /package/src/{src/components → components}/project/regionSelector/regionSelector.vue.d.ts +0 -0
  521. /package/src/{src/components → components}/project/regionSelector/types.d.ts +0 -0
  522. /package/src/{src/components → components}/project/regionSelector/utils/consts.d.ts +0 -0
  523. /package/src/{src/components → components}/project/regionSelector/utils/utils.d.ts +0 -0
  524. /package/src/{src/components → components}/project/tagSelector/popupListItem/tagPopupListItem.vue.d.ts +0 -0
  525. /package/src/{src/components → components}/project/tagSelector/popupListItem/types.d.ts +0 -0
  526. /package/src/{src/components → components}/project/tagSelector/popupOpener/popupOpener.vue.d.ts +0 -0
  527. /package/src/{src/components → components}/project/tagSelector/tagIcon/tagIcon.vue.d.ts +0 -0
  528. /package/src/{src/components → components}/project/tagSelector/tagIcon/types.d.ts +0 -0
  529. /package/src/{src/components → components}/project/tagSelector/tagSelector.vue.d.ts +0 -0
  530. /package/src/{src/components → components}/project/tagSelector/tagsDefaults.d.ts +0 -0
  531. /package/src/{src/components → components}/project/tagSelector/utils/utils.d.ts +0 -0
  532. /package/src/{src/components → components}/tabs/tabs/content.vue.d.ts +0 -0
  533. /package/src/{src/components → components}/tabs/tabs/tab.vue.d.ts +0 -0
  534. /package/src/{src/components → components}/tabs/tabs/tabs.vue.d.ts +0 -0
  535. /package/src/{src/components → components}/tabs/tabs/types.d.ts +0 -0
  536. /package/src/{src/components → components}/tabs/tabs.d.ts +0 -0
  537. /package/src/{src/components → components}/tabsView/tabsView/menu.vue.d.ts +0 -0
  538. /package/src/{src/components → components}/tabsView/tabsView/menuDelimeter.vue.d.ts +0 -0
  539. /package/src/{src/components → components}/tabsView/tabsView/menuItem.vue.d.ts +0 -0
  540. /package/src/{src/components → components}/tabsView/tabsView/menuTitle.vue.d.ts +0 -0
  541. /package/src/{src/components → components}/tabsView/tabsView/tabsView.vue.d.ts +0 -0
  542. /package/src/{src/components → components}/tabsView/tabsView/types.d.ts +0 -0
  543. /package/src/{src/components → components}/tabsView/tabsView/utils.d.ts +0 -0
  544. /package/src/{src/components → components}/tabsView/tabsView.d.ts +0 -0
  545. /package/src/{src/core → core}/core/events/resize.d.ts +0 -0
  546. /package/src/{src/core → core}/core/events.d.ts +0 -0
  547. /package/src/{src/core → core}/core/options.d.ts +0 -0
  548. /package/src/{src/core → core}/core/preloaders.d.ts +0 -0
  549. /package/src/{src/core → core}/core/state.d.ts +0 -0
  550. /package/src/{src/core → core}/directives/data.d.ts +0 -0
  551. /package/src/{src/core → core}/directives/focus.d.ts +0 -0
  552. /package/src/{src/core → core}/directives/preloader.d.ts +0 -0
  553. /package/src/{src/core → core}/directives/scrollIntoView.d.ts +0 -0
  554. /package/src/{src/core → core}/directives/scrollShadow.d.ts +0 -0
  555. /package/src/{src/core → core}/directives/shortcut.d.ts +0 -0
  556. /package/src/{src/core → core}/directives/sticky.d.ts +0 -0
  557. /package/src/{src/core → core}/directives/swimUp.d.ts +0 -0
  558. /package/src/{src/core → core}/directives/tooltip.d.ts +0 -0
  559. /package/src/{src/core → core}/plugins/i18n.d.ts +0 -0
  560. /package/src/{src/core → core}/plugins/piniaTPA.d.ts +0 -0
  561. /package/src/{src/core → core}/utils/check.d.ts +0 -0
  562. /package/src/{src/core → core}/utils/clipboard.d.ts +0 -0
  563. /package/src/{src/core → core}/utils/composables/useWatch.d.ts +0 -0
  564. /package/src/{src/core → core}/utils/date.d.ts +0 -0
  565. /package/src/{src/core → core}/utils/device.d.ts +0 -0
  566. /package/src/{src/core → core}/utils/dom.d.ts +0 -0
  567. /package/src/{src/core → core}/utils/image.d.ts +0 -0
  568. /package/src/{src/core → core}/utils/keyboard.d.ts +0 -0
  569. /package/src/{src/core → core}/utils/lodash.d.ts +0 -0
  570. /package/src/{src/core → core}/utils/number.d.ts +0 -0
  571. /package/src/{src/core → core}/utils/route.d.ts +0 -0
  572. /package/src/{src/core → core}/utils/scroll.d.ts +0 -0
  573. /package/src/{src/core → core}/utils/searchers.d.ts +0 -0
  574. /package/src/{src/core → core}/utils/store/localStorage.d.ts +0 -0
  575. /package/src/{src/core → core}/utils/store/plugin.d.ts +0 -0
  576. /package/src/{src/core → core}/utils/store/store.d.ts +0 -0
  577. /package/src/{src/core → core}/utils/string.d.ts +0 -0
  578. /package/src/{src/core → core}/utils/system.d.ts +0 -0
  579. /package/src/{src/core → core}/utils/tests/date/dateFormat.test.d.ts +0 -0
  580. /package/src/{src/core → core}/utils/url.d.ts +0 -0
package/icomoon/style.css CHANGED
@@ -1,10 +1,10 @@
1
1
  @font-face {
2
2
  font-family: 'Topvisor-2';
3
- src: url('fonts/Topvisor-2.eot?wjsiw');
4
- src: url('fonts/Topvisor-2.eot?wjsiw#iefix') format('embedded-opentype'),
5
- url('fonts/Topvisor-2.ttf?wjsiw') format('truetype'),
6
- url('fonts/Topvisor-2.woff?wjsiw') format('woff'),
7
- url('fonts/Topvisor-2.svg?wjsiw#Topvisor-2') format('svg');
3
+ src: url('fonts/Topvisor-2.eot?2sqyd7');
4
+ src: url('fonts/Topvisor-2.eot?2sqyd7#iefix') format('embedded-opentype'),
5
+ url('fonts/Topvisor-2.ttf?2sqyd7') format('truetype'),
6
+ url('fonts/Topvisor-2.woff?2sqyd7') format('woff'),
7
+ url('fonts/Topvisor-2.svg?2sqyd7#Topvisor-2') format('svg');
8
8
  font-weight: normal;
9
9
  font-style: normal;
10
10
  font-display: block;
@@ -202,6 +202,9 @@
202
202
  .icon2-snapshot:before {
203
203
  content: "\e91b";
204
204
  }
205
+ .icon2-user_info:before {
206
+ content: "\ea1f";
207
+ }
205
208
  .icon2-ai-overview-short:before {
206
209
  content: "\ea1c";
207
210
  }
@@ -1,2 +1,2 @@
1
- define(["require","exports","vue","../.chunks/forms-DDNzqU6o.amd","../require/css.amd!../assets/layout.css"],(function(k,t,e,n){"use strict";if(typeof e>"u")var e=window.Vue;const l=e.defineComponent({__name:"rows",props:{gap:{default:"none"}},setup(s){const o=s;return(r,$)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass({"top-rows":!0,["top-rows-gap_"+o.gap]:!0})},[e.renderSlot(r.$slots,"default")],2))}}),c={class:"top-islandRows"},a={key:0,class:"top-islandRows_title"},d=e.defineComponent({__name:"islandRows",setup(s){return(o,r)=>(e.openBlock(),e.createElementBlock("div",c,[o.$slots.title?(e.openBlock(),e.createElementBlock("div",a,[e.renderSlot(o.$slots,"title")])):e.createCommentVNode("",!0),e.createVNode(l,{gap:"l",class:"top-islandRows_rows"},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3})]))}}),i={},_={class:"top-islandRows_row"};function u(s,o){return e.openBlock(),e.createElementBlock("div",_,[e.renderSlot(s.$slots,"default")])}const p=n._export_sfc(i,[["render",u]]),f={},w={class:"top-islandRows_subTitle"};function m(s,o){return e.openBlock(),e.createElementBlock("div",w,[e.renderSlot(s.$slots,"default")])}const R=n._export_sfc(f,[["render",m]]);t.TopIslandRows=d,t.TopIslandRowsRow=p,t.TopIslandRowsSubTitle=R,t.TopRows=l,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}));
2
- //# sourceMappingURL=layout.amd.js.map
1
+ define([`require`,`exports`,`../.chunks/forms-CbUt-6Ff.amd`,`vue`,`../require/css.amd!../assets/layout.css`],function(e,t,n,r){"use strict";if(i===void 0)var i=window.Vue;Object.defineProperty(t,`__esModule`,{value:!0}),t.TopRows=t.TopIslandRowsSubTitle=t.TopIslandRowsRow=t.TopIslandRows=void 0;var a=(0,r.defineComponent)({__name:`rows`,props:{gap:{default:`none`}},setup(e){let t=e;return(e,n)=>((0,r.openBlock)(),(0,r.createElementBlock)(`div`,{class:(0,r.normalizeClass)({"top-rows":!0,[`top-rows-gap_`+t.gap]:!0})},[(0,r.renderSlot)(e.$slots,`default`)],2))}}),o={class:`top-islandRows`},s={key:0,class:`top-islandRows_title`},c=(0,r.defineComponent)({__name:`islandRows`,setup(e){return(e,t)=>((0,r.openBlock)(),(0,r.createElementBlock)(`div`,o,[e.$slots.title?((0,r.openBlock)(),(0,r.createElementBlock)(`div`,s,[(0,r.renderSlot)(e.$slots,`title`)])):(0,r.createCommentVNode)(``,!0),(0,r.createVNode)(a,{gap:`l`,class:`top-islandRows_rows`},{default:(0,r.withCtx)(()=>[(0,r.renderSlot)(e.$slots,`default`)]),_:3})]))}}),l={},u={class:`top-islandRows_row`};t.TopRows=a,t.TopIslandRows=c;function d(e,t){return(0,r.openBlock)(),(0,r.createElementBlock)(`div`,u,[(0,r.renderSlot)(e.$slots,`default`)])}var f=(0,n.u)(l,[[`render`,d]]),p={},m={class:`top-islandRows_subTitle`};t.TopIslandRowsRow=f;function h(e,t){return(0,r.openBlock)(),(0,r.createElementBlock)(`div`,m,[(0,r.renderSlot)(e.$slots,`default`)])}t.TopIslandRowsSubTitle=(0,n.u)(p,[[`render`,h]])});
2
+ //# sourceMappingURL=layout.amd.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"layout.amd.js","sources":["../../src/components/layout/islandRows/islandRows.vue","../../src/components/layout/islandRows/islandRowsRow/islandRowsRow.vue","../../src/components/layout/islandRows/islandRowsSubTitle/islandRowsSubTitle.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport type { Slots } from './types';\nimport TopRows from '../rows/rows.vue';\n\ndefineSlots<Slots>();\n</script>\n\n<template>\n\t<div class=\"top-islandRows\">\n\t\t<div\n\t\t\tv-if=\"$slots.title\"\n\t\t\tclass=\"top-islandRows_title\"\n\t\t>\n\t\t\t<slot name=\"title\"></slot>\n\t\t</div>\n\n\t\t<TopRows gap=\"l\" class=\"top-islandRows_rows\">\n\t\t\t<slot></slot>\n\t\t</TopRows>\n\t</div>\n</template>\n\n<style>\n.top-islandRows {\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: var(--top-gap-2);\n}\n\n.top-islandRows_title {\n\tfont-size: 20px;\n\tfont-weight: bold;\n}\n\n.top-islandRows_rows {\n\tborder-radius: var(--top-radius-4);\n\tbackground: var(--color-bg-shading-2);\n\tpadding: var(--top-padding-3);\n}\n\n/* В islandRows у всех полей ввода внутри top-rows прозрачные рамки */\n.top-islandRows_rows .top-rows > .top-input,\n.top-islandRows_rows .top-rows > .top-textarea,\n.top-islandRows_rows .top-rows > .top-select { --top-forms-border-color: transparent }\n\n/* Размеры форм */\n.top-islandRows_rows .top-button,\n.top-islandRows_rows .top-input,\n.top-islandRows_rows .top-textarea,\n.top-islandRows_rows .top-select { width: auto; flex-grow: 1; display: flex; }\n\n.top-islandRows_rows .top-forms-optionWrapper:not(.top-optionGroup_item) { padding: 0; flex-grow: 1; }\n</style>\n","<script setup lang=\"ts\">\n</script>\n\n<template>\n\t<div class=\"top-islandRows_row\">\n\t\t<slot></slot>\n\t</div>\n</template>\n\n<style>\n.top-islandRows_row {\n\toutline-offset: 2px;\n\tborder-radius: 8px;\n\tbackground: var(--color-layout-front-1);\n\tpadding: var(--top-padding-3);\n\tdisplay: flex;\n\tgap: var(--top-gap-2);\n}\n\n/* Фокус форм */\n.top-islandRows_row:has(> .top-forms-optionWrapper .top-forms-focusable:focus-visible) {\n\toutline: 2px solid var(--color-line-primary-1);\n\toutline-offset: 2px;\n}\n\n/* Фокус форм, стили top-error оставить у форм, иначе они будут конфликтовать со стилями фокуса, так как у top-islandRows_row нет border */\n.top-islandRows_row > .top-forms-optionWrapper .top-forms-focusable:not(.top-error) {\n\toutline: none;\n\tanimation: none;\n}\n\n/* Отмена прозрачных рамок у полей ввода внутри islandRows, если top-rows расположен в islandRowsRow */\n.top-islandRows_row .top-rows > .top-input,\n.top-islandRows_row .top-rows > .top-textarea,\n.top-islandRows_row .top-rows > .top-select { --top-forms-border-color: inherit }\n</style>\n","<script setup lang=\"ts\">\n</script>\n\n<template>\n\t<div class=\"top-islandRows_subTitle\">\n\t\t<slot></slot>\n\t</div>\n</template>\n\n<style>\n.top-islandRows_subTitle {\n\twidth: 100%;\n\tfont-size: 16px;\n\tfont-weight: bold;\n}\n</style>\n"],"names":["_ctx","vue","_hoisted_2","_hoisted_1$1","_hoisted_1"],"mappings":"2lBAmBOA,EAAA,OAAA,OAAAC,EAAA,UAAA,EAAAA,EAAA,mBAAA,MAAAC,EAAA,CALCD,EAAA,WAAAD,EAAA,OAAA,OAAA,CADqB,CAAA,GAAAC,EAAA,mBAAA,GAAA,EAAA,2BAGd,MAAA,qBAAU,EAAA,wBACTA,EAAA,WAAAD,EAAA,OAAA,SAAA,CAAA,CAAA,mBCbVG,EAAA,CAAA,MAAA,oBAAA,qJCAAC,EAAA,CAAA,MAAA,yBAAA"}
1
+ {"version":3,"sources":["layout/layout.js","../../src/components/layout/rows/rows.vue","../../src/components/layout/islandRows/islandRows.vue","../../src/components/layout/islandRows/islandRowsRow/islandRowsRow.vue","../../src/components/layout/islandRows/islandRowsSubTitle/islandRowsSubTitle.vue"],"names":["vue","exports","l","vue_1","u","d","f","p","m","h","g","forms_CbUt_6Ff_esm_js_1","_","v","y"],"mappings":"AAAA,OAAO,CAAC,UAAW,UAAW,gCAAoC,MAAK,0CAAA,CAAA,SAAa,EAAS,EAAS,EAAyB,EAAO,CAClI,aAAA,GAAAA,IAAA,OAAA,IAAAA,EAAA,OAAA,IACA,OAAO,eAAeC,EAAS,aAAc,CAAE,MAAO,GAAM,CAAC,CAC7D,EAAQ,QAAU,EAAQ,sBAAwB,EAAQ,iBAAmB,EAAQ,cAAgB,IAAK,GAG1G,IAAIC,GAAqB,EAAGC,EAAM,iBAAiB,CAC/C,OAAQ,OCJV,MAAQ,CAAA,IAAA,CAAA,QAAA,OAAA,CAAA,CDMN,MAAM,EAAG,CACL,IAAI,EAAI,EACR,OAAQ,ECDqC,MAAS,EAAAA,EAAA,YAAA,EAAA,EAAAA,EAAA,oBAAA,MAAA,CAAA,OAAA,EAAAA,EAAA,gBAAA,CAKnD,WAAA,CAAA,GDFM,gBAAkB,EAAE,KAAM,CAAC,EAC/B,CAAC,CAAE,CAAE,EAAE,EAAGA,EAAM,YAAY,EAAE,OAAQ,UAAU,CAAC,CAAE,EAAE,GAEjE,CAAC,CAAEC,EAAI,CAAE,MAAO,iBAAkB,CAAEC,EAAI,CACrC,IAAK,EACL,MAAO,uBACV,CAAEC,GAAqB,EAAGH,EAAM,iBAAiB,CAC9C,OAAQ,aEJD,MAAA,EAAA,CAAU,OAAA,EAAA,MAAA,EAAAA,EAAA,YAAA,EAAA,EAAAA,EAAA,oBAAA,MAAAC,EAAA,CAAA,EAAA,OAAA,QAAA,EAAAD,EAAA,YAAA,EAAA,EAAAA,EAAA,oBAAA,MAAAE,EAAA,EAAA,EAAAF,EAAA,YAAA,EAAA,OAAA,QAAA,CAAA,CAAA,GAAA,EAAAA,EAAA,oBAAA,GAAA,CAAA,EAAA,EAAA,EAAAA,EAAA,aAAAD,EAAA,CFOL,IAAK,IENT,MAAA,sBFQC,CAAE,CACC,SAAU,EAAGC,EAAM,aAAe,EAAE,EAAGA,EAAM,YAAY,EAAE,OAAQ,UAAU,CAAC,CAAC,CAC/E,EAAG,EACN,CGxBX,CAAA,CAAA,GH0BD,CAAC,CAAEI,EAAI,EG1BX,CAEMC,EAAA,CAFN,MACc,qBAAA,CH0BX,EAAQ,QAAUN,EAClB,EAAQ,cAAgBI,EACxB,SAASG,EAAE,EAAG,EAAG,CACb,OI5BD,EAAAN,EAAA,YADQ,EAAA,EAAAA,EAAA,oBAAA,MAAAK,EAAA,EAAA,EAAAL,EAAA,YAAA,EAAA,OAAA,UAAA,CAAA,CAAA,CJ+BX,IAAIO,GAAqB,EAAGC,EAAwB,GAAGJ,EAAG,CAAC,CAAC,SAAUE,EAAE,CAAC,CAAC,CAAEG,EAAI,EAAE,CAAEC,EAAI,CAAE,MAAO,0BAA2B,CAC5H,EAAQ,iBAAmBH,EAC3B,SAASI,EAAE,EAAG,EAAG,CACb,OAAQ,EAAGX,EAAM,YAAY,EAAG,EAAGA,EAAM,oBAAoB,MAAOU,EAAG,EAAE,EAAGV,EAAM,YAAY,EAAE,OAAQ,UAAU,CAAC,CAAC,CAGxH,EAAQ,uBADiB,EAAGQ,EAAwB,GAAGC,EAAG,CAAC,CAAC,SAAUE,EAAE,CAAC,CAAC,EAE5E","sourcesContent":["define([\"require\", \"exports\", \"../.chunks/forms-CbUt-6Ff.esm.js\", \"vue\"], function (require, exports, forms_CbUt_6Ff_esm_js_1, vue_1) {\n \"use strict\";\n Object.defineProperty(exports, \"__esModule\", { value: true });\n exports.TopRows = exports.TopIslandRowsSubTitle = exports.TopIslandRowsRow = exports.TopIslandRows = void 0;\n //#endregion\n //#region src/components/layout/rows/rows.vue\n var l = /* @__PURE__ */ (0, vue_1.defineComponent)({\n __name: \"rows\",\n props: { gap: { default: \"none\" } },\n setup(e) {\n let t = e;\n return (e, r) => ((0, vue_1.openBlock)(), (0, vue_1.createElementBlock)(\"div\", { class: (0, vue_1.normalizeClass)({\n \"top-rows\": !0,\n [\"top-rows-gap_\" + t.gap]: !0\n }) }, [(0, vue_1.renderSlot)(e.$slots, \"default\")], 2));\n }\n }), u = { class: \"top-islandRows\" }, d = {\n key: 0,\n class: \"top-islandRows_title\"\n }, f = /* @__PURE__ */ (0, vue_1.defineComponent)({\n __name: \"islandRows\",\n setup(e) {\n return (e, i) => ((0, vue_1.openBlock)(), (0, vue_1.createElementBlock)(\"div\", u, [e.$slots.title ? ((0, vue_1.openBlock)(), (0, vue_1.createElementBlock)(\"div\", d, [(0, vue_1.renderSlot)(e.$slots, \"title\")])) : (0, vue_1.createCommentVNode)(\"\", !0), (0, vue_1.createVNode)(l, {\n gap: \"l\",\n class: \"top-islandRows_rows\"\n }, {\n default: (0, vue_1.withCtx)(() => [(0, vue_1.renderSlot)(e.$slots, \"default\")]),\n _: 3\n })]));\n }\n }), p = {}, m = { class: \"top-islandRows_row\" };\n exports.TopRows = l;\n exports.TopIslandRows = f;\n function h(e, t) {\n return (0, vue_1.openBlock)(), (0, vue_1.createElementBlock)(\"div\", m, [(0, vue_1.renderSlot)(e.$slots, \"default\")]);\n }\n var g = /* @__PURE__ */ (0, forms_CbUt_6Ff_esm_js_1.u)(p, [[\"render\", h]]), _ = {}, v = { class: \"top-islandRows_subTitle\" };\n exports.TopIslandRowsRow = g;\n function y(e, t) {\n return (0, vue_1.openBlock)(), (0, vue_1.createElementBlock)(\"div\", v, [(0, vue_1.renderSlot)(e.$slots, \"default\")]);\n }\n var b = /* @__PURE__ */ (0, forms_CbUt_6Ff_esm_js_1.u)(_, [[\"render\", y]]);\n exports.TopIslandRowsSubTitle = b;\n});\n//# sourceMappingURL=layout.js.map\n","<script setup lang=\"ts\">\nimport type { Props } from './types';\n\nconst props = withDefaults(defineProps<Props>(), {\n\tgap: 'none',\n});\n</script>\n\n<template>\n\t<div\n\t\t:class=\"{\n\t\t\t['top-rows']: true,\n\t\t\t['top-rows-gap_' + props.gap]: true,\n\t\t}\"\n\t>\n\t\t<slot></slot>\n\t</div>\n</template>\n\n<style>\n.top-rows {\n\tdisplay: flex;\n\tflex-direction: column;\n\tflex-grow: 1;\n}\n\n.top-rows-gap_none {\n\tgap: 0px;\n}\n\n.top-rows-gap_xs {\n\tgap: var(--top-gap-1);\n}\n\n.top-rows-gap_s {\n\tgap: var(--top-gap-2);\n}\n\n.top-rows-gap_m {\n\tgap: var(--top-gap-3);\n}\n\n.top-rows-gap_l {\n\tgap: var(--top-gap-4);\n}\n</style>\n","<script setup lang=\"ts\">\nimport type { Slots } from './types';\nimport TopRows from '../rows/rows.vue';\n\ndefineSlots<Slots>();\n</script>\n\n<template>\n\t<div class=\"top-islandRows\">\n\t\t<div\n\t\t\tv-if=\"$slots.title\"\n\t\t\tclass=\"top-islandRows_title\"\n\t\t>\n\t\t\t<slot name=\"title\"></slot>\n\t\t</div>\n\n\t\t<TopRows gap=\"l\" class=\"top-islandRows_rows\">\n\t\t\t<slot></slot>\n\t\t</TopRows>\n\t</div>\n</template>\n\n<style>\n.top-islandRows {\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: var(--top-gap-2);\n}\n\n.top-islandRows_title {\n\tfont-size: 20px;\n\tfont-weight: bold;\n}\n\n.top-islandRows_rows {\n\tborder-radius: var(--top-radius-4);\n\tbackground: var(--color-bg-shading-2);\n\tpadding: var(--top-padding-3);\n}\n\n/* В islandRows у всех полей ввода внутри top-rows прозрачные рамки */\n.top-islandRows_rows .top-rows > .top-input,\n.top-islandRows_rows .top-rows > .top-textarea,\n.top-islandRows_rows .top-rows > .top-select { --top-forms-border-color: transparent }\n\n/* Размеры форм */\n.top-islandRows_rows .top-button,\n.top-islandRows_rows .top-input,\n.top-islandRows_rows .top-textarea,\n.top-islandRows_rows .top-select { width: auto; flex-grow: 1; display: flex; }\n\n.top-islandRows_rows .top-forms-optionWrapper:not(.top-optionGroup_item) { padding: 0; flex-grow: 1; }\n</style>\n","<script setup lang=\"ts\">\n</script>\n\n<template>\n\t<div class=\"top-islandRows_row\">\n\t\t<slot></slot>\n\t</div>\n</template>\n\n<style>\n.top-islandRows_row {\n\toutline-offset: 2px;\n\tborder-radius: 8px;\n\tbackground: var(--color-layout-front-1);\n\tpadding: var(--top-padding-3);\n\tdisplay: flex;\n\tgap: var(--top-gap-2);\n}\n\n/* Фокус форм */\n.top-islandRows_row:has(> .top-forms-optionWrapper .top-forms-focusable:focus-visible) {\n\toutline: 2px solid var(--color-line-primary-1);\n\toutline-offset: 2px;\n}\n\n/* Фокус форм, стили top-error оставить у форм, иначе они будут конфликтовать со стилями фокуса, так как у top-islandRows_row нет border */\n.top-islandRows_row > .top-forms-optionWrapper .top-forms-focusable:not(.top-error) {\n\toutline: none;\n\tanimation: none;\n}\n\n/* Отмена прозрачных рамок у полей ввода внутри islandRows, если top-rows расположен в islandRowsRow */\n.top-islandRows_row .top-rows > .top-input,\n.top-islandRows_row .top-rows > .top-textarea,\n.top-islandRows_row .top-rows > .top-select { --top-forms-border-color: inherit }\n</style>\n","<script setup lang=\"ts\">\n</script>\n\n<template>\n\t<div class=\"top-islandRows_subTitle\">\n\t\t<slot></slot>\n\t</div>\n</template>\n\n<style>\n.top-islandRows_subTitle {\n\twidth: 100%;\n\tfont-size: 16px;\n\tfont-weight: bold;\n}\n</style>\n"]}
@@ -1 +1,2 @@
1
+ export * from '../src/components/layout/layout'
1
2
  export {}
package/layout/layout.js CHANGED
@@ -1,64 +1,48 @@
1
1
 
2
+ /* start import css */
2
3
  import { Core as _autoloadCSSCore } from '../core/app.js';
3
4
  const fileNames = ['../assets/layout.css'].map(fileName => import.meta.resolve(fileName));
4
5
  _autoloadCSSCore.insertCSSLinkToPage(fileNames, true);
6
+ /* end import css */
5
7
 
6
- import { defineComponent as r, openBlock as t, createElementBlock as e, normalizeClass as c, renderSlot as n, createCommentVNode as _, createVNode as d, withCtx as i } from "vue";
7
- import { k as l } from "../.chunks/forms-DtC-EKJL.es.js";
8
- const p = /* @__PURE__ */ r({
9
- __name: "rows",
10
- props: {
11
- gap: { default: "none" }
12
- },
13
- setup(o) {
14
- const s = o;
15
- return (a, v) => (t(), e("div", {
16
- class: c({
17
- "top-rows": !0,
18
- ["top-rows-gap_" + s.gap]: !0
19
- })
20
- }, [
21
- n(a.$slots, "default")
22
- ], 2));
23
- }
24
- }), u = { class: "top-islandRows" }, w = {
25
- key: 0,
26
- class: "top-islandRows_title"
27
- }, C = /* @__PURE__ */ r({
28
- __name: "islandRows",
29
- setup(o) {
30
- return (s, a) => (t(), e("div", u, [
31
- s.$slots.title ? (t(), e("div", w, [
32
- n(s.$slots, "title")
33
- ])) : _("", !0),
34
- d(p, {
35
- gap: "l",
36
- class: "top-islandRows_rows"
37
- }, {
38
- default: i(() => [
39
- n(s.$slots, "default")
40
- ]),
41
- _: 3
42
- })
43
- ]));
44
- }
45
- }), f = {}, m = { class: "top-islandRows_row" };
46
- function R(o, s) {
47
- return t(), e("div", m, [
48
- n(o.$slots, "default")
49
- ]);
8
+ import { u as e } from "../.chunks/forms-CbUt-6Ff.esm.js";
9
+ import { createCommentVNode as t, createElementBlock as n, createVNode as r, defineComponent as i, normalizeClass as a, openBlock as o, renderSlot as s, withCtx as c } from "vue";
10
+ //#endregion
11
+ //#region src/components/layout/rows/rows.vue
12
+ var l = /* @__PURE__ */ i({
13
+ __name: "rows",
14
+ props: { gap: { default: "none" } },
15
+ setup(e) {
16
+ let t = e;
17
+ return (e, r) => (o(), n("div", { class: a({
18
+ "top-rows": !0,
19
+ ["top-rows-gap_" + t.gap]: !0
20
+ }) }, [s(e.$slots, "default")], 2));
21
+ }
22
+ }), u = { class: "top-islandRows" }, d = {
23
+ key: 0,
24
+ class: "top-islandRows_title"
25
+ }, f = /* @__PURE__ */ i({
26
+ __name: "islandRows",
27
+ setup(e) {
28
+ return (e, i) => (o(), n("div", u, [e.$slots.title ? (o(), n("div", d, [s(e.$slots, "title")])) : t("", !0), r(l, {
29
+ gap: "l",
30
+ class: "top-islandRows_rows"
31
+ }, {
32
+ default: c(() => [s(e.$slots, "default")]),
33
+ _: 3
34
+ })]));
35
+ }
36
+ }), p = {}, m = { class: "top-islandRows_row" };
37
+ function h(e, t) {
38
+ return o(), n("div", m, [s(e.$slots, "default")]);
50
39
  }
51
- const b = /* @__PURE__ */ l(f, [["render", R]]), $ = {}, h = { class: "top-islandRows_subTitle" };
52
- function T(o, s) {
53
- return t(), e("div", h, [
54
- n(o.$slots, "default")
55
- ]);
40
+ var g = /* @__PURE__ */ e(p, [["render", h]]), _ = {}, v = { class: "top-islandRows_subTitle" };
41
+ function y(e, t) {
42
+ return o(), n("div", v, [s(e.$slots, "default")]);
56
43
  }
57
- const I = /* @__PURE__ */ l($, [["render", T]]);
58
- export {
59
- C as TopIslandRows,
60
- b as TopIslandRowsRow,
61
- I as TopIslandRowsSubTitle,
62
- p as TopRows
63
- };
64
- //# sourceMappingURL=layout.js.map
44
+ var b = /* @__PURE__ */ e(_, [["render", y]]);
45
+ //#endregion
46
+ export { f as TopIslandRows, g as TopIslandRowsRow, b as TopIslandRowsSubTitle, l as TopRows };
47
+
48
+ //# sourceMappingURL=layout.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"layout.js","sources":["../../src/components/layout/rows/rows.vue","../../src/components/layout/islandRows/islandRows.vue","../../src/components/layout/islandRows/islandRowsRow/islandRowsRow.vue","../../src/components/layout/islandRows/islandRowsSubTitle/islandRowsSubTitle.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport type { Props } from './types';\n\nconst props = withDefaults(defineProps<Props>(), {\n\tgap: 'none',\n});\n</script>\n\n<template>\n\t<div\n\t\t:class=\"{\n\t\t\t['top-rows']: true,\n\t\t\t['top-rows-gap_' + props.gap]: true,\n\t\t}\"\n\t>\n\t\t<slot></slot>\n\t</div>\n</template>\n\n<style>\n.top-rows {\n\tdisplay: flex;\n\tflex-direction: column;\n\tflex-grow: 1;\n}\n\n.top-rows-gap_none {\n\tgap: 0px;\n}\n\n.top-rows-gap_xs {\n\tgap: var(--top-gap-1);\n}\n\n.top-rows-gap_s {\n\tgap: var(--top-gap-2);\n}\n\n.top-rows-gap_m {\n\tgap: var(--top-gap-3);\n}\n\n.top-rows-gap_l {\n\tgap: var(--top-gap-4);\n}\n</style>\n","<script setup lang=\"ts\">\nimport type { Slots } from './types';\nimport TopRows from '../rows/rows.vue';\n\ndefineSlots<Slots>();\n</script>\n\n<template>\n\t<div class=\"top-islandRows\">\n\t\t<div\n\t\t\tv-if=\"$slots.title\"\n\t\t\tclass=\"top-islandRows_title\"\n\t\t>\n\t\t\t<slot name=\"title\"></slot>\n\t\t</div>\n\n\t\t<TopRows gap=\"l\" class=\"top-islandRows_rows\">\n\t\t\t<slot></slot>\n\t\t</TopRows>\n\t</div>\n</template>\n\n<style>\n.top-islandRows {\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: var(--top-gap-2);\n}\n\n.top-islandRows_title {\n\tfont-size: 20px;\n\tfont-weight: bold;\n}\n\n.top-islandRows_rows {\n\tborder-radius: var(--top-radius-4);\n\tbackground: var(--color-bg-shading-2);\n\tpadding: var(--top-padding-3);\n}\n\n/* В islandRows у всех полей ввода внутри top-rows прозрачные рамки */\n.top-islandRows_rows .top-rows > .top-input,\n.top-islandRows_rows .top-rows > .top-textarea,\n.top-islandRows_rows .top-rows > .top-select { --top-forms-border-color: transparent }\n\n/* Размеры форм */\n.top-islandRows_rows .top-button,\n.top-islandRows_rows .top-input,\n.top-islandRows_rows .top-textarea,\n.top-islandRows_rows .top-select { width: auto; flex-grow: 1; display: flex; }\n\n.top-islandRows_rows .top-forms-optionWrapper:not(.top-optionGroup_item) { padding: 0; flex-grow: 1; }\n</style>\n","<script setup lang=\"ts\">\n</script>\n\n<template>\n\t<div class=\"top-islandRows_row\">\n\t\t<slot></slot>\n\t</div>\n</template>\n\n<style>\n.top-islandRows_row {\n\toutline-offset: 2px;\n\tborder-radius: 8px;\n\tbackground: var(--color-layout-front-1);\n\tpadding: var(--top-padding-3);\n\tdisplay: flex;\n\tgap: var(--top-gap-2);\n}\n\n/* Фокус форм */\n.top-islandRows_row:has(> .top-forms-optionWrapper .top-forms-focusable:focus-visible) {\n\toutline: 2px solid var(--color-line-primary-1);\n\toutline-offset: 2px;\n}\n\n/* Фокус форм, стили top-error оставить у форм, иначе они будут конфликтовать со стилями фокуса, так как у top-islandRows_row нет border */\n.top-islandRows_row > .top-forms-optionWrapper .top-forms-focusable:not(.top-error) {\n\toutline: none;\n\tanimation: none;\n}\n\n/* Отмена прозрачных рамок у полей ввода внутри islandRows, если top-rows расположен в islandRowsRow */\n.top-islandRows_row .top-rows > .top-input,\n.top-islandRows_row .top-rows > .top-textarea,\n.top-islandRows_row .top-rows > .top-select { --top-forms-border-color: inherit }\n</style>\n","<script setup lang=\"ts\">\n</script>\n\n<template>\n\t<div class=\"top-islandRows_subTitle\">\n\t\t<slot></slot>\n\t</div>\n</template>\n\n<style>\n.top-islandRows_subTitle {\n\twidth: 100%;\n\tfont-size: 16px;\n\tfont-weight: bold;\n}\n</style>\n"],"names":["props","__props","_createElementBlock","_normalizeClass","_renderSlot","_ctx","_openBlock","_hoisted_1","$slots","_hoisted_2","_createVNode","TopRows"],"mappings":";;;;;;;;AAGA,UAAMA,IAAQC;2BAMbC,EAOM,OAAA;AAAA,MANJ,OAAKC,EAAA;AAAA;QAAiD,CAAA,kBAAAH,EAAM,GAAG,GAAA;AAAA,MAAA;;MAKhEI,EAAaC,EAAA,QAAA,SAAA;AAAA,IAAA;;;;;;;;sBCPdC,EAAA,GAAAJ,EAWM,OAXNK,GAWM;AAAA,MATEC,EAAAA,OAAO,SADdF,KAAAJ,EAKM,OALNO,GAKM;AAAA,QADLL,EAA0BC,EAAA,QAAA,OAAA;AAAA,MAAA;MAG3BK,EAEUC,GAAA;AAAA,QAFD,KAAI;AAAA,QAAI,OAAM;AAAA,MAAA;mBACtB,MAAa;AAAA,UAAbP,EAAaC,EAAA,QAAA,SAAA;AAAA,QAAA;;;;;YCbVE,IAAA,EAAA,OAAM,qBAAoB;;AAA/B,SAAAD,EAAA,GAAAJ,EAEM,OAFNK,GAEM;AAAA,IADLH,EAAaC,EAAA,QAAA,SAAA;AAAA;;yDCDTE,IAAA,EAAA,OAAM,0BAAyB;;AAApC,SAAAD,EAAA,GAAAJ,EAEM,OAFNK,GAEM;AAAA,IADLH,EAAaC,EAAA,QAAA,SAAA;AAAA;;;"}
1
+ {"version":3,"file":"layout.js","names":["$slots"],"sources":["../../src/components/layout/rows/rows.vue","../../src/components/layout/rows/rows.vue","../../src/components/layout/islandRows/islandRows.vue","../../src/components/layout/islandRows/islandRows.vue","../../src/components/layout/islandRows/islandRowsRow/islandRowsRow.vue","../../src/components/layout/islandRows/islandRowsSubTitle/islandRowsSubTitle.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport type { Props } from './types';\n\nconst props = withDefaults(defineProps<Props>(), {\n\tgap: 'none',\n});\n</script>\n\n<template>\n\t<div\n\t\t:class=\"{\n\t\t\t['top-rows']: true,\n\t\t\t['top-rows-gap_' + props.gap]: true,\n\t\t}\"\n\t>\n\t\t<slot></slot>\n\t</div>\n</template>\n\n<style>\n.top-rows {\n\tdisplay: flex;\n\tflex-direction: column;\n\tflex-grow: 1;\n}\n\n.top-rows-gap_none {\n\tgap: 0px;\n}\n\n.top-rows-gap_xs {\n\tgap: var(--top-gap-1);\n}\n\n.top-rows-gap_s {\n\tgap: var(--top-gap-2);\n}\n\n.top-rows-gap_m {\n\tgap: var(--top-gap-3);\n}\n\n.top-rows-gap_l {\n\tgap: var(--top-gap-4);\n}\n</style>\n","<script setup lang=\"ts\">\nimport type { Props } from './types';\n\nconst props = withDefaults(defineProps<Props>(), {\n\tgap: 'none',\n});\n</script>\n\n<template>\n\t<div\n\t\t:class=\"{\n\t\t\t['top-rows']: true,\n\t\t\t['top-rows-gap_' + props.gap]: true,\n\t\t}\"\n\t>\n\t\t<slot></slot>\n\t</div>\n</template>\n\n<style>\n.top-rows {\n\tdisplay: flex;\n\tflex-direction: column;\n\tflex-grow: 1;\n}\n\n.top-rows-gap_none {\n\tgap: 0px;\n}\n\n.top-rows-gap_xs {\n\tgap: var(--top-gap-1);\n}\n\n.top-rows-gap_s {\n\tgap: var(--top-gap-2);\n}\n\n.top-rows-gap_m {\n\tgap: var(--top-gap-3);\n}\n\n.top-rows-gap_l {\n\tgap: var(--top-gap-4);\n}\n</style>\n","<script setup lang=\"ts\">\nimport type { Slots } from './types';\nimport TopRows from '../rows/rows.vue';\n\ndefineSlots<Slots>();\n</script>\n\n<template>\n\t<div class=\"top-islandRows\">\n\t\t<div\n\t\t\tv-if=\"$slots.title\"\n\t\t\tclass=\"top-islandRows_title\"\n\t\t>\n\t\t\t<slot name=\"title\"></slot>\n\t\t</div>\n\n\t\t<TopRows gap=\"l\" class=\"top-islandRows_rows\">\n\t\t\t<slot></slot>\n\t\t</TopRows>\n\t</div>\n</template>\n\n<style>\n.top-islandRows {\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: var(--top-gap-2);\n}\n\n.top-islandRows_title {\n\tfont-size: 20px;\n\tfont-weight: bold;\n}\n\n.top-islandRows_rows {\n\tborder-radius: var(--top-radius-4);\n\tbackground: var(--color-bg-shading-2);\n\tpadding: var(--top-padding-3);\n}\n\n/* В islandRows у всех полей ввода внутри top-rows прозрачные рамки */\n.top-islandRows_rows .top-rows > .top-input,\n.top-islandRows_rows .top-rows > .top-textarea,\n.top-islandRows_rows .top-rows > .top-select { --top-forms-border-color: transparent }\n\n/* Размеры форм */\n.top-islandRows_rows .top-button,\n.top-islandRows_rows .top-input,\n.top-islandRows_rows .top-textarea,\n.top-islandRows_rows .top-select { width: auto; flex-grow: 1; display: flex; }\n\n.top-islandRows_rows .top-forms-optionWrapper:not(.top-optionGroup_item) { padding: 0; flex-grow: 1; }\n</style>\n","<script setup lang=\"ts\">\nimport type { Slots } from './types';\nimport TopRows from '../rows/rows.vue';\n\ndefineSlots<Slots>();\n</script>\n\n<template>\n\t<div class=\"top-islandRows\">\n\t\t<div\n\t\t\tv-if=\"$slots.title\"\n\t\t\tclass=\"top-islandRows_title\"\n\t\t>\n\t\t\t<slot name=\"title\"></slot>\n\t\t</div>\n\n\t\t<TopRows gap=\"l\" class=\"top-islandRows_rows\">\n\t\t\t<slot></slot>\n\t\t</TopRows>\n\t</div>\n</template>\n\n<style>\n.top-islandRows {\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: var(--top-gap-2);\n}\n\n.top-islandRows_title {\n\tfont-size: 20px;\n\tfont-weight: bold;\n}\n\n.top-islandRows_rows {\n\tborder-radius: var(--top-radius-4);\n\tbackground: var(--color-bg-shading-2);\n\tpadding: var(--top-padding-3);\n}\n\n/* В islandRows у всех полей ввода внутри top-rows прозрачные рамки */\n.top-islandRows_rows .top-rows > .top-input,\n.top-islandRows_rows .top-rows > .top-textarea,\n.top-islandRows_rows .top-rows > .top-select { --top-forms-border-color: transparent }\n\n/* Размеры форм */\n.top-islandRows_rows .top-button,\n.top-islandRows_rows .top-input,\n.top-islandRows_rows .top-textarea,\n.top-islandRows_rows .top-select { width: auto; flex-grow: 1; display: flex; }\n\n.top-islandRows_rows .top-forms-optionWrapper:not(.top-optionGroup_item) { padding: 0; flex-grow: 1; }\n</style>\n","<script setup lang=\"ts\">\n</script>\n\n<template>\n\t<div class=\"top-islandRows_row\">\n\t\t<slot></slot>\n\t</div>\n</template>\n\n<style>\n.top-islandRows_row {\n\toutline-offset: 2px;\n\tborder-radius: 8px;\n\tbackground: var(--color-layout-front-1);\n\tpadding: var(--top-padding-3);\n\tdisplay: flex;\n\tgap: var(--top-gap-2);\n}\n\n/* Фокус форм */\n.top-islandRows_row:has(> .top-forms-optionWrapper .top-forms-focusable:focus-visible) {\n\toutline: 2px solid var(--color-line-primary-1);\n\toutline-offset: 2px;\n}\n\n/* Фокус форм, стили top-error оставить у форм, иначе они будут конфликтовать со стилями фокуса, так как у top-islandRows_row нет border */\n.top-islandRows_row > .top-forms-optionWrapper .top-forms-focusable:not(.top-error) {\n\toutline: none;\n\tanimation: none;\n}\n\n/* Отмена прозрачных рамок у полей ввода внутри islandRows, если top-rows расположен в islandRowsRow */\n.top-islandRows_row .top-rows > .top-input,\n.top-islandRows_row .top-rows > .top-textarea,\n.top-islandRows_row .top-rows > .top-select { --top-forms-border-color: inherit }\n</style>\n","<script setup lang=\"ts\">\n</script>\n\n<template>\n\t<div class=\"top-islandRows_subTitle\">\n\t\t<slot></slot>\n\t</div>\n</template>\n\n<style>\n.top-islandRows_subTitle {\n\twidth: 100%;\n\tfont-size: 16px;\n\tfont-weight: bold;\n}\n</style>\n"],"mappings":";;;;;;;;EAGA,IAAM,IAAQ;yBAMb,EAOM,OAAA,EANJ,OAAK,EAAA;;sBAAiD,EAAM,MAAG;SAKhE,EAAa,EAAA,QAAA,UAAA,CAAA,EAAA,EAAA;;;;;;;;yBEPd,EAWM,OAXN,GAWM,CATEA,EAAAA,OAAO,SAAA,GAAA,EADd,EAKM,OALN,GAKM,CADL,EAA0B,EAAA,QAAA,QAAA,CAAA,CAAA,IAAA,EAAA,IAAA,GAAA,EAG3B,EAEU,GAAA;GAFD,KAAI;GAAI,OAAM;;oBACT,CAAb,EAAa,EAAA,QAAA,UAAA,CAAA,CAAA;;;;kBEbV,OAAM,sBAAoB;;aAA/B,EAEM,OAFN,GAEM,CADL,EAAa,EAAA,QAAA,UAAA,CAAA,CAAA;;6DCDT,OAAM,2BAAyB;;aAApC,EAEM,OAFN,GAEM,CADL,EAAa,EAAA,QAAA,UAAA,CAAA,CAAA"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@topvisor/ui",
3
3
  "private": false,
4
- "version": "1.5.0-updates.0",
4
+ "version": "1.5.0-updates.10",
5
5
  "type": "module",
6
6
  "description": "Topvisor UI-kit Vue",
7
7
  "author": "Topvisor",
@@ -1,2 +1,2 @@
1
- define(["require","exports","../.chunks/popupHint.vue_vue_type_style_index_0_lang-Bu_HvFoW.amd","../.chunks/widgetInput.vue_vue_type_script_setup_true_lang-CkOmb3VD.amd","vue","../.chunks/forms-DDNzqU6o.amd"],(function(V,l,d,k,e,$){"use strict";if(typeof e>"u")var e=window.Vue;const T=e.defineComponent({__name:"popupAlert",props:{submitText:{},id:{},class:{},transitionDuration:{},footerSupportLink:{},pos:{},notch:{type:Boolean},openByFocusInput:{type:Boolean},openByHover:{type:Boolean},disabled:{type:Boolean},posBy:{},data:{}},emits:["open","close","scrollContentList"],setup(f){const c=f,{submitText:i,...p}=c;return(o,t)=>(e.openBlock(),e.createBlock(d._sfc_main,e.mergeProps({class:"top-popupAlert"},p,{onOpen:t[0]||(t[0]=s=>o.$emit("open",s)),onClose:t[1]||(t[1]=s=>o.$emit("close",s)),onScrollContentList:t[2]||(t[2]=(...s)=>o.$emit("scrollContentList",...s))}),e.createSlots({opener:e.withCtx(()=>[e.renderSlot(o.$slots,"opener")]),footer:e.withCtx(()=>[e.renderSlot(o.$slots,"footer"),e.createVNode($._sfc_main$1,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)||o.$i18n.Common.Close),1)]),_:1})]),_:2},[o.$slots.header?{name:"header",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"header")]),key:"0"}:void 0,o.$slots.default?{name:"content",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),key:"1"}:void 0]),1040))}}),w=e.defineComponent({__name:"popupConfirm",props:{cancelText:{},submitText:{},isWarning:{type:Boolean},id:{},class:{},transitionDuration:{},footerSupportLink:{},pos:{},notch:{type:Boolean},openByFocusInput:{type:Boolean},openByHover:{type:Boolean},disabled:{type:Boolean},posBy:{},data:{}},emits:["open","close","scrollContentList","submit"],setup(f,{emit:c}){const i=f,p=c,o=e.ref(!1),t=()=>{o.value=!0,p("submit")},s=r=>{if(o.value){o.value=!1;return}p("close",r)},{submitText:a,cancelText:B,isWarning:S,...y}=i;return(r,u)=>(e.openBlock(),e.createBlock(d._sfc_main,e.mergeProps({class:"top-popupConfirm"},y,{onOpen:u[0]||(u[0]=n=>r.$emit("open",n)),onClose:u[1]||(u[1]=n=>s(n)),onScrollContentList:u[2]||(u[2]=(...n)=>r.$emit("scrollContentList",...n))}),e.createSlots({opener:e.withCtx(()=>[e.renderSlot(r.$slots,"opener")]),footer:e.withCtx(()=>[e.renderSlot(r.$slots,"footer"),e.createVNode($._sfc_main$1,{color:"theme"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(B)||r.$i18n.Common.Cancel),1)]),_:1}),e.createVNode($._sfc_main$1,{onClick:t,color:e.unref(S)?"red":"blue"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)||r.$i18n.Common.Continue),1)]),_:1},8,["color"])]),_:2},[r.$slots.header?{name:"header",fn:e.withCtx(()=>[e.renderSlot(r.$slots,"header")]),key:"0"}:void 0,r.$slots.default?{name:"content",fn:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),key:"1"}:void 0]),1040))}}),b=e.defineComponent({__name:"popupPrompt",props:{submitText:{},cancelText:{},defaultValue:{},id:{},class:{},transitionDuration:{},footerSupportLink:{},pos:{},notch:{type:Boolean},openByFocusInput:{type:Boolean},openByHover:{type:Boolean},disabled:{type:Boolean},posBy:{},data:{}},emits:["open","close","scrollContentList","submit"],setup(f,{emit:c}){const i=f,p=c,o=()=>s.value=i.defaultValue??"",t=e.ref(!1),s=e.ref();e.watch(()=>i.defaultValue,()=>o(),{immediate:!0});const a=()=>{t.value=!0},B=n=>{if(t.value){t.value=!1,p("submit",s.value),o();return}o(),p("close",n)},{submitText:S,cancelText:y,defaultValue:r,...u}=i;return(n,m)=>(e.openBlock(),e.createBlock(d._sfc_main,e.mergeProps({class:"top-popupPrompt"},u,{onOpen:m[1]||(m[1]=C=>n.$emit("open",C)),onClose:m[2]||(m[2]=C=>B(C)),onScrollContentList:m[3]||(m[3]=(...C)=>n.$emit("scrollContentList",...C))}),e.createSlots({opener:e.withCtx(()=>[e.renderSlot(n.$slots,"opener")]),footer:e.withCtx(()=>[e.renderSlot(n.$slots,"footer"),e.createVNode($._sfc_main$1,{color:"theme"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(y)||n.$i18n.Common.Cancel),1)]),_:1}),e.createVNode($._sfc_main$1,{onClick:a},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(S)||n.$i18n.Common.OK),1)]),_:1})]),_:2},[n.$slots.header?{name:"header",fn:e.withCtx(()=>[e.renderSlot(n.$slots,"header")]),key:"0"}:void 0,n.$slots.default?{name:"content",fn:e.withCtx(()=>[e.renderSlot(n.$slots,"default"),e.createVNode(k._sfc_main,{modelValue:s.value,"onUpdate:modelValue":m[0]||(m[0]=C=>s.value=C),modelModifiers:{trim:!0}},null,8,["modelValue"])]),key:"1"}:void 0]),1040))}}),h=e.defineComponent({__name:"popupHint",props:{hint:{},id:{},class:{},transitionDuration:{},footerSupportLink:{},pos:{},notch:{type:Boolean},openByFocusInput:{type:Boolean},openByHover:{type:Boolean},disabled:{type:Boolean},posBy:{},data:{}},setup(f){const c=f,{hint:i,...p}=c;return(o,t)=>{const s=e.resolveDirective("top-tooltip");return e.openBlock(),e.createBlock(d._sfc_main,e.mergeProps({class:"top-popupHint"},p,{onOpen:t[0]||(t[0]=a=>o.$emit("open",a)),onClose:t[1]||(t[1]=a=>o.$emit("close",a)),onScrollContentList:t[2]||(t[2]=(...a)=>o.$emit("scrollContentList",...a))}),e.createSlots({opener:e.withCtx(()=>[e.withDirectives(e.createVNode($._sfc_main$2,{hint:e.unref(i),class:"top-popupHint_opener"},null,8,["hint"]),[[s]])]),_:2},[o.$slots.default?{name:"content",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),key:"0"}:void 0]),1040)}}});l.TopPopup=d._sfc_main,l.TopPopupListItem=d._sfc_main$1,l.TopPopupOpener=d._sfc_main$2,l.TopPopupWidgetInput=k._sfc_main,l.TopPopupAlert=T,l.TopPopupConfirm=w,l.TopPopupHint=h,l.TopPopupPrompt=b,Object.defineProperty(l,Symbol.toStringTag,{value:"Module"})}));
2
- //# sourceMappingURL=popup.amd.js.map
1
+ define([`require`,`exports`,`../.chunks/popup-DrByVU-k.amd`],function(e,t,n){"use strict";if(r===void 0)var r=window.Vue;Object.defineProperty(t,`__esModule`,{value:!0}),t.TopPopupWidgetInput=t.TopPopupPrompt=t.TopPopupOpener=t.TopPopupListItem=t.TopPopupHint=t.TopPopupConfirm=t.TopPopupAlert=t.TopPopup=void 0,Object.defineProperty(t,`TopPopupWidgetInput`,{enumerable:!0,get:function(){return n.a}}),Object.defineProperty(t,`TopPopupOpener`,{enumerable:!0,get:function(){return n.c}}),Object.defineProperty(t,`TopPopupAlert`,{enumerable:!0,get:function(){return n.i}}),Object.defineProperty(t,`TopPopupPrompt`,{enumerable:!0,get:function(){return n.n}}),Object.defineProperty(t,`TopPopupListItem`,{enumerable:!0,get:function(){return n.o}}),Object.defineProperty(t,`TopPopupConfirm`,{enumerable:!0,get:function(){return n.r}}),Object.defineProperty(t,`TopPopup`,{enumerable:!0,get:function(){return n.s}}),Object.defineProperty(t,`TopPopupHint`,{enumerable:!0,get:function(){return n.t}})});
2
+ //# sourceMappingURL=popup.amd.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"popup.amd.js","sources":["../../src/components/popup/popupAlert/popupAlert.vue","../../src/components/popup/popupConfirm/popupConfirm.vue","../../src/components/popup/popupPrompt/popupPrompt.vue","../../src/components/popup/popupHint/popupHint.vue"],"sourcesContent":["<script setup lang=\"ts\" generic=\"T extends Record<string, any> | undefined = undefined\">\nimport type { Emits, Props } from './types';\nimport TopButton from '@/components/forms/button/button.vue';\nimport TopPopup from '@/components/popup/popup/popup.vue';\n\nconst props = defineProps<Props<T>>();\n\ndefineEmits<Emits<T>>();\n\n// сужение объекта для propsPopup\nconst {\n\tsubmitText,\n\t...propsPopup\n}: Props<T> = props;\n</script>\n\n<template>\n\t<!-- @vue-generic {T} -->\n\t<TopPopup\n\t\tclass=\"top-popupAlert\"\n\t\t:=propsPopup\n\t\t@open=\"$emit('open', $event)\"\n\t\t@close=\"$emit('close', $event)\"\n\t\t@scrollContentList=\"(...args) => $emit('scrollContentList', ...args)\"\n\t>\n\t\t<template #opener>\n\t\t\t<!-- @slot Элемент для открытия Popup -->\n\t\t\t<slot name=\"opener\"></slot>\n\t\t</template>\n\n\t\t<template #header v-if=\"$slots.header\">\n\t\t\t<!-- @slot Шапка -->\n\t\t\t<slot name=\"header\"></slot>\n\t\t</template>\n\n\t\t<template #content v-if=\"$slots.default\">\n\t\t\t<!-- @slot Контент в свободной форме -->\n\t\t\t<slot></slot>\n\t\t</template>\n\n\t\t<template #footer>\n\t\t\t<!-- @slot Футер -->\n\t\t\t<slot name=\"footer\"></slot>\n\n\t\t\t<TopButton>\n\t\t\t\t{{ submitText || $i18n.Common.Close }}\n\t\t\t</TopButton>\n\t\t</template>\n\t</TopPopup>\n</template>\n","<script setup lang=\"ts\" generic=\"T extends Record<string, any> | undefined = undefined\">\nimport { ref } from 'vue';\nimport type { PopupEvent } from '@/components/popup/popup/types';\nimport type { Emits, Props } from './types';\nimport TopButton from '@/components/forms/button/button.vue';\nimport TopPopup from '@/components/popup/popup/popup.vue';\n\nconst props = defineProps<Props<T>>();\n\nconst emit = defineEmits<Emits<T>>();\n\nconst isSubmit = ref(false);\n\nconst onSubmit = () => {\n\tisSubmit.value = true;\n\n\temit('submit');\n};\n\nconst onClose = (popupEvent: PopupEvent<T>) => {\n\tif (isSubmit.value) {\n\t\tisSubmit.value = false;\n\n\t\treturn;\n\t}\n\n\temit('close', popupEvent);\n};\n\n// сужение объекта для propsPopup\nconst {\n\tsubmitText,\n\tcancelText,\n\tisWarning,\n\t...propsPopup\n}: Props<T> = props;\n</script>\n\n<template>\n\t<!-- @vue-generic {T} -->\n\t<TopPopup\n\t\tclass=\"top-popupConfirm\"\n\t\t:=propsPopup\n\t\t@open=\"$emit('open', $event)\"\n\t\t@close=\"onClose($event)\"\n\t\t@scrollContentList=\"(...args) => $emit('scrollContentList', ...args)\"\n\t>\n\t\t<template #opener>\n\t\t\t<!-- @slot Элемент для открытия TopPopup -->\n\t\t\t<slot name=\"opener\"></slot>\n\t\t</template>\n\n\t\t<template #header v-if=\"$slots.header\">\n\t\t\t<!-- @slot Шапка -->\n\t\t\t<slot name=\"header\"></slot>\n\t\t</template>\n\n\t\t<template #content v-if=\"$slots.default\">\n\t\t\t<!-- @slot Контент в свободной форме -->\n\t\t\t<slot></slot>\n\t\t</template>\n\n\t\t<template #footer>\n\t\t\t<!-- @slot Футер -->\n\t\t\t<slot name=\"footer\"></slot>\n\n\t\t\t<TopButton color=\"theme\">\n\t\t\t\t{{ cancelText || $i18n.Common.Cancel }}\n\t\t\t</TopButton>\n\n\t\t\t<TopButton\n\t\t\t\t@click=\"onSubmit\"\n\t\t\t\t:color=\"isWarning ? 'red' : 'blue'\"\n\t\t\t>\n\t\t\t\t{{ submitText || $i18n.Common.Continue }}\n\t\t\t</TopButton>\n\t\t</template>\n\t</TopPopup>\n</template>\n","<script setup lang=\"ts\" generic=\"T extends Record<string, any> | undefined = undefined\">\nimport { ref, watch } from 'vue';\nimport type { PopupEvent } from '../popup/types';\nimport type { Emits, Props } from './types';\nimport TopButton from '@/components/forms/button/button.vue';\nimport TopPopup from '../popup/popup.vue';\nimport TopPopupWidgetInput from '../popup/widgetInput/widgetInput.vue';\n\nconst props = defineProps<Props<T>>();\n\nconst emit = defineEmits<Emits<T>>();\n\nconst reset = () => localValue.value = props.defaultValue ?? '';\n\nconst isSubmit = ref(false);\n\nconst localValue = ref();\nwatch(() => props.defaultValue, () => reset(), { immediate: true });\n\nconst onSubmit = () => {\n\tisSubmit.value = true;\n};\n\nconst onClose = (popupEvent: PopupEvent<T>) => {\n\tif (isSubmit.value) {\n\t\tisSubmit.value = false;\n\n\t\temit('submit', localValue.value);\n\n\t\treset();\n\n\t\treturn;\n\t}\n\n\treset();\n\n\temit('close', popupEvent);\n};\n\n// сужение объекта для propsPopup\nconst {\n\tsubmitText,\n\tcancelText,\n\tdefaultValue,\n\t...propsPopup\n}: Props<T> = props;\n</script>\n\n<template>\n\t<!-- @vue-generic {T} -->\n\t<TopPopup\n\t\tclass=\"top-popupPrompt\"\n\t\t:=propsPopup\n\t\t@open=\"$emit('open', $event)\"\n\t\t@close=\"onClose($event)\"\n\t\t@scrollContentList=\"(...args) => $emit('scrollContentList', ...args)\"\n\t>\n\t\t<template #opener>\n\t\t\t<!-- @slot Элемент для открытия TopPopup -->\n\t\t\t<slot name=\"opener\"></slot>\n\t\t</template>\n\n\t\t<template #header v-if=\"$slots.header\">\n\t\t\t<!-- @slot Шапка -->\n\t\t\t<slot name=\"header\"></slot>\n\t\t</template>\n\n\t\t<template #content v-if=\"$slots.default\">\n\t\t\t<!-- @slot Контент в свободной форме -->\n\t\t\t<slot></slot>\n\n\t\t\t<TopPopupWidgetInput v-model.trim=\"localValue\"/>\n\t\t</template>\n\n\t\t<template #footer>\n\t\t\t<!-- @slot Футер -->\n\t\t\t<slot name=\"footer\"></slot>\n\n\t\t\t<TopButton color=\"theme\">\n\t\t\t\t{{ cancelText || $i18n.Common.Cancel }}\n\t\t\t</TopButton>\n\n\t\t\t<TopButton @click=\"onSubmit\">\n\t\t\t\t{{ submitText || $i18n.Common.OK }}\n\t\t\t</TopButton>\n\t\t</template>\n\t</TopPopup>\n</template>\n","<script setup lang=\"ts\" generic=\"T extends Record<string, any> | undefined = undefined\">\nimport TopPopup from '@/components/popup/popup/popup.vue';\nimport TopHint from '@/components/forms/hint/hint.vue';\nimport type { Props } from './types';\n\nconst props = defineProps<Props<T>>();\n\nconst {\n\thint,\n\t...propsPopup\n}: Props<T> = props;\n</script>\n\n<template>\n\t<!-- @vue-generic {T} -->\n\t<TopPopup\n\t\tclass=\"top-popupHint\"\n\t\t:=propsPopup\n\t\t@open=\"$emit('open', $event)\"\n\t\t@close=\"$emit('close', $event)\"\n\t\t@scrollContentList=\"(...args) => $emit('scrollContentList', ...args)\"\n\t>\n\t\t<template #opener>\n\t\t\t<!-- Элемент для открытия Popup -->\n\t\t\t<TopHint\n\t\t\t\t:hint=\"hint\"\n\t\t\t\tclass=\"top-popupHint_opener\"\n\t\t\t\tv-top-tooltip\n\t\t\t/>\n\t\t</template>\n\n\t\t<template #content v-if=\"$slots.default\">\n\t\t\t<!-- @slot Контент в свободной форме -->\n\t\t\t<slot></slot>\n\t\t</template>\n\t</TopPopup>\n</template>\n\n<style>\n.top-popupHint_opener {\n\tcursor: pointer;\n}\n\n.top-popupHint_opener.top-active {\n\tcolor: var(--color-text-2);\n}\n</style>\n"],"names":["submitText","propsPopup","props","vue","popupHint_vue_vue_type_style_index_0_lang","_ctx","forms","isSubmit","onClose","popupEvent","emit","cancelText","isWarning","_cache","$event","reset","localValue","defaultValue","hint"],"mappings":"mlBAUA,CAAM,WAAAA,EACL,GAAAC,CACG,EAAAC,gBAMHC,EAAA,UAAA,EAAAA,EAAA,YAAAC,EAAA,UAAAD,EAAA,WAAA,CAAA,MAAA,gBAAA,EAAAF,EAAA,uMAS6BE,EAAA,WAAAE,EAAA,OAAA,QAAA,CAAA,CAAA,wBAeAF,EAAA,WAAAE,EAAA,OAAA,QAAA,EAAAF,EAAA,YAAAG,EAAA,YAAA,KAAA,CAIf,QAAAH,EAAA,QAAA,IAAA,CAD2BA,EAAA,gBAAAA,EAAA,gBAAAA,EAAA,MAAAH,CAAA,GAAAK,EAAA,MAAA,OAAA,KAAA,EAAA,CAAA,CAAH,CAAA,+CAf1B,GAAAF,EAAA,QAAA,IAAA,CAEiBA,EAAA,WAAAE,EAAA,OAAA,QAAA,CAAA,CAAA,mDAGjB,GAAAF,EAAA,QAAA,IAAA,CAEGA,EAAA,WAAAE,EAAA,OAAA,SAAA,CAAA,CAAA,oZC1BhBE,EAAAJ,EAAA,IAAA,EAAA,SAGCI,EAAA,MAAA,cAEa,EAGdC,EAAAC,GAAA,CACC,GAAAF,EAAA,MAAA,CACCA,EAAA,MAAA,UAKDG,EAAA,QAAAD,CAAA,CAAwB,EAIzB,CAAM,WAAAT,EACL,WAAAW,EACA,UAAAC,EACA,GAAAX,CACG,EAAAC,gBAMHC,EAAA,UAAA,EAAAA,EAAA,YAAAC,EAAA,UAAAD,EAAA,WAAA,CAAA,MAAA,kBAAA,EAAAF,EAAA,0CAG4B,QAAAY,EAAA,CAAA,IAAAA,EAAA,CAAA,EAAAC,GAAAN,EAAAM,CAAA,qHAMCX,EAAA,WAAAE,EAAA,OAAA,QAAA,CAAA,CAAA,wBAeAF,EAAA,WAAAE,EAAA,OAAA,QAAA,+CAEH,QAAAF,EAAA,QAAA,IAAA,CACgBA,EAAA,gBAAAA,EAAA,gBAAAA,EAAA,MAAAQ,CAAA,GAAAN,EAAA,MAAA,OAAA,MAAA,EAAA,CAAA,CAAH,CAAA,4EAKnB,EAAA,wBAEwBF,EAAA,gBAAAA,EAAA,gBAAAA,EAAA,MAAAH,CAAA,GAAAK,EAAA,MAAA,OAAA,QAAA,EAAA,CAAA,CAAH,CAAA,2DAtB7B,GAAAF,EAAA,QAAA,IAAA,CAEiBA,EAAA,WAAAE,EAAA,OAAA,QAAA,CAAA,CAAA,mDAGjB,GAAAF,EAAA,QAAA,IAAA,CAEGA,EAAA,WAAAE,EAAA,OAAA,SAAA,CAAA,CAAA,0YC/ChBU,EAAA,IAAAC,EAAA,MAAAd,EAAA,cAAA,GAEAK,EAAAJ,EAAA,IAAA,EAAA,EAEAa,EAAAb,EAAA,IAAA,EACAA,EAAA,MAAA,IAAAD,EAAA,aAAA,IAAAa,EAAA,EAAA,CAAA,UAAA,EAAA,CAAA,eAGCR,EAAA,MAAA,EAAiB,EAGlBC,EAAAC,GAAA,CACC,GAAAF,EAAA,MAAA,CACCA,EAAA,MAAA,GAEAG,EAAA,SAAAM,EAAA,KAAA,EAEAD,EAAA,SAKDA,EAAA,EAEAL,EAAA,QAAAD,CAAA,CAAwB,EAIzB,CAAM,WAAAT,EACL,WAAAW,EACA,aAAAM,EACA,GAAAhB,CACG,EAAAC,gBAMHC,EAAA,UAAA,EAAAA,EAAA,YAAAC,EAAA,UAAAD,EAAA,WAAA,CAAA,MAAA,iBAAA,EAAAF,EAAA,0CAG4B,QAAAY,EAAA,CAAA,IAAAA,EAAA,CAAA,EAAAC,GAAAN,EAAAM,CAAA,qHAMCX,EAAA,WAAAE,EAAA,OAAA,QAAA,CAAA,CAAA,wBAiBAF,EAAA,WAAAE,EAAA,OAAA,QAAA,+CAEH,QAAAF,EAAA,QAAA,IAAA,CACgBA,EAAA,gBAAAA,EAAA,gBAAAA,EAAA,MAAAQ,CAAA,GAAAN,EAAA,MAAA,OAAA,MAAA,EAAA,CAAA,CAAH,CAAA,iDAGV,QAAAF,EAAA,QAAA,IAAA,CACSA,EAAA,gBAAAA,EAAA,gBAAAA,EAAA,MAAAH,CAAA,GAAAK,EAAA,MAAA,OAAA,EAAA,EAAA,CAAA,CAAH,CAAA,+CArBvB,GAAAF,EAAA,QAAA,IAAA,CAEiBA,EAAA,WAAAE,EAAA,OAAA,QAAA,CAAA,CAAA,mDAGjB,GAAAF,EAAA,QAAA,IAAA,CAEGA,EAAA,WAAAE,EAAA,OAAA,SAAA,6BAEmC,WAAAW,EAAA,sDAAH,eAAA,CAAA,KAAA,EAAA,CAAxB,EAAA,KAAA,EAAA,CAAA,YAAA,CAAA,qSChExB,CAAM,KAAAE,EACL,GAAAjB,CACG,EAAAC,0DAMH,OAAAC,EAAA,UAAA,EAAAA,EAAA,YAAAC,EAAA,UAAAD,EAAA,WAAA,CAAA,MAAA,eAAA,EAAAF,EAAA,uMAaIE,EAAA,eAAAA,EAAA,YAAAG,EAAA,YAAA,CAAA,KAAAH,EAAA,MAAAe,CAAA,EAHM,MAAA,yFAME,GAAAf,EAAA,QAAA,IAAA,CAEGA,EAAA,WAAAE,EAAA,OAAA,SAAA,CAAA,CAAA"}
1
+ {"version":3,"sources":["popup/popup.js"],"names":["vue","exports","popup_DrByVU_k_esm_js_1"],"mappings":"AAAA,OAAO,CAAC,UAAW,UAAW,gCAAmC,CAAE,SAAU,EAAS,EAAS,EAAyB,CACpH,aAAA,GAAAA,IAAA,OAAA,IAAAA,EAAA,OAAA,IACA,OAAO,eAAeC,EAAS,aAAc,CAAE,MAAO,GAAM,CAAC,CAC7D,EAAQ,oBAAsB,EAAQ,eAAiB,EAAQ,eAAiB,EAAQ,iBAAmB,EAAQ,aAAe,EAAQ,gBAAkB,EAAQ,cAAgB,EAAQ,SAAW,IAAK,GAC5M,OAAO,eAAeA,EAAS,sBAAuB,CAAE,WAAY,GAAM,IAAK,UAAY,CAAE,OAAOC,EAAwB,GAAM,CAAC,CACnI,OAAO,eAAeD,EAAS,iBAAkB,CAAE,WAAY,GAAM,IAAK,UAAY,CAAE,OAAOC,EAAwB,GAAM,CAAC,CAC9H,OAAO,eAAeD,EAAS,gBAAiB,CAAE,WAAY,GAAM,IAAK,UAAY,CAAE,OAAOC,EAAwB,GAAM,CAAC,CAC7H,OAAO,eAAeD,EAAS,iBAAkB,CAAE,WAAY,GAAM,IAAK,UAAY,CAAE,OAAOC,EAAwB,GAAM,CAAC,CAC9H,OAAO,eAAeD,EAAS,mBAAoB,CAAE,WAAY,GAAM,IAAK,UAAY,CAAE,OAAOC,EAAwB,GAAM,CAAC,CAChI,OAAO,eAAeD,EAAS,kBAAmB,CAAE,WAAY,GAAM,IAAK,UAAY,CAAE,OAAOC,EAAwB,GAAM,CAAC,CAC/H,OAAO,eAAeD,EAAS,WAAY,CAAE,WAAY,GAAM,IAAK,UAAY,CAAE,OAAOC,EAAwB,GAAM,CAAC,CACxH,OAAO,eAAeD,EAAS,eAAgB,CAAE,WAAY,GAAM,IAAK,UAAY,CAAE,OAAOC,EAAwB,GAAM,CAAC,EAC9H","sourcesContent":["define([\"require\", \"exports\", \"../.chunks/popup-DrByVU-k.esm.js\"], function (require, exports, popup_DrByVU_k_esm_js_1) {\n \"use strict\";\n Object.defineProperty(exports, \"__esModule\", { value: true });\n exports.TopPopupWidgetInput = exports.TopPopupPrompt = exports.TopPopupOpener = exports.TopPopupListItem = exports.TopPopupHint = exports.TopPopupConfirm = exports.TopPopupAlert = exports.TopPopup = void 0;\n Object.defineProperty(exports, \"TopPopupWidgetInput\", { enumerable: true, get: function () { return popup_DrByVU_k_esm_js_1.a; } });\n Object.defineProperty(exports, \"TopPopupOpener\", { enumerable: true, get: function () { return popup_DrByVU_k_esm_js_1.c; } });\n Object.defineProperty(exports, \"TopPopupAlert\", { enumerable: true, get: function () { return popup_DrByVU_k_esm_js_1.i; } });\n Object.defineProperty(exports, \"TopPopupPrompt\", { enumerable: true, get: function () { return popup_DrByVU_k_esm_js_1.n; } });\n Object.defineProperty(exports, \"TopPopupListItem\", { enumerable: true, get: function () { return popup_DrByVU_k_esm_js_1.o; } });\n Object.defineProperty(exports, \"TopPopupConfirm\", { enumerable: true, get: function () { return popup_DrByVU_k_esm_js_1.r; } });\n Object.defineProperty(exports, \"TopPopup\", { enumerable: true, get: function () { return popup_DrByVU_k_esm_js_1.s; } });\n Object.defineProperty(exports, \"TopPopupHint\", { enumerable: true, get: function () { return popup_DrByVU_k_esm_js_1.t; } });\n});\n"]}
package/popup/popup.d.ts CHANGED
@@ -1 +1,2 @@
1
+ export * from '../src/components/popup/popup'
1
2
  export {}
package/popup/popup.js CHANGED
@@ -1,282 +1,2 @@
1
- import { _ as b } from "../.chunks/popupHint.vue_vue_type_style_index_0_lang-DAQIAxvu.es.js";
2
- import { a as G, b as J } from "../.chunks/popupHint.vue_vue_type_style_index_0_lang-DAQIAxvu.es.js";
3
- import { _ as O } from "../.chunks/widgetInput.vue_vue_type_script_setup_true_lang-CX_BOcVY.es.js";
4
- import { defineComponent as T, openBlock as L, createBlock as P, mergeProps as k, createSlots as S, withCtx as t, renderSlot as l, createVNode as y, createTextVNode as B, toDisplayString as v, unref as C, ref as I, watch as g, resolveDirective as F, withDirectives as w } from "vue";
5
- import { e as c, f as A } from "../.chunks/forms-DtC-EKJL.es.js";
6
- const U = /* @__PURE__ */ T({
7
- __name: "popupAlert",
8
- props: {
9
- submitText: {},
10
- id: {},
11
- class: {},
12
- transitionDuration: {},
13
- footerSupportLink: {},
14
- pos: {},
15
- notch: { type: Boolean },
16
- openByFocusInput: { type: Boolean },
17
- openByHover: { type: Boolean },
18
- disabled: { type: Boolean },
19
- posBy: {},
20
- data: {}
21
- },
22
- emits: ["open", "close", "scrollContentList"],
23
- setup(d) {
24
- const f = d, {
25
- submitText: r,
26
- ...i
27
- } = f;
28
- return (o, e) => (L(), P(b, k({ class: "top-popupAlert" }, i, {
29
- onOpen: e[0] || (e[0] = (s) => o.$emit("open", s)),
30
- onClose: e[1] || (e[1] = (s) => o.$emit("close", s)),
31
- onScrollContentList: e[2] || (e[2] = (...s) => o.$emit("scrollContentList", ...s))
32
- }), S({
33
- opener: t(() => [
34
- l(o.$slots, "opener")
35
- ]),
36
- footer: t(() => [
37
- l(o.$slots, "footer"),
38
- y(c, null, {
39
- default: t(() => [
40
- B(v(C(r) || o.$i18n.Common.Close), 1)
41
- ]),
42
- _: 1
43
- })
44
- ]),
45
- _: 2
46
- }, [
47
- o.$slots.header ? {
48
- name: "header",
49
- fn: t(() => [
50
- l(o.$slots, "header")
51
- ]),
52
- key: "0"
53
- } : void 0,
54
- o.$slots.default ? {
55
- name: "content",
56
- fn: t(() => [
57
- l(o.$slots, "default")
58
- ]),
59
- key: "1"
60
- } : void 0
61
- ]), 1040));
62
- }
63
- }), h = /* @__PURE__ */ T({
64
- __name: "popupConfirm",
65
- props: {
66
- cancelText: {},
67
- submitText: {},
68
- isWarning: { type: Boolean },
69
- id: {},
70
- class: {},
71
- transitionDuration: {},
72
- footerSupportLink: {},
73
- pos: {},
74
- notch: { type: Boolean },
75
- openByFocusInput: { type: Boolean },
76
- openByHover: { type: Boolean },
77
- disabled: { type: Boolean },
78
- posBy: {},
79
- data: {}
80
- },
81
- emits: ["open", "close", "scrollContentList", "submit"],
82
- setup(d, { emit: f }) {
83
- const r = d, i = f, o = I(!1), e = () => {
84
- o.value = !0, i("submit");
85
- }, s = (p) => {
86
- if (o.value) {
87
- o.value = !1;
88
- return;
89
- }
90
- i("close", p);
91
- }, {
92
- submitText: a,
93
- cancelText: V,
94
- isWarning: H,
95
- ...D
96
- } = r;
97
- return (p, u) => (L(), P(b, k({ class: "top-popupConfirm" }, D, {
98
- onOpen: u[0] || (u[0] = (n) => p.$emit("open", n)),
99
- onClose: u[1] || (u[1] = (n) => s(n)),
100
- onScrollContentList: u[2] || (u[2] = (...n) => p.$emit("scrollContentList", ...n))
101
- }), S({
102
- opener: t(() => [
103
- l(p.$slots, "opener")
104
- ]),
105
- footer: t(() => [
106
- l(p.$slots, "footer"),
107
- y(c, { color: "theme" }, {
108
- default: t(() => [
109
- B(v(C(V) || p.$i18n.Common.Cancel), 1)
110
- ]),
111
- _: 1
112
- }),
113
- y(c, {
114
- onClick: e,
115
- color: C(H) ? "red" : "blue"
116
- }, {
117
- default: t(() => [
118
- B(v(C(a) || p.$i18n.Common.Continue), 1)
119
- ]),
120
- _: 1
121
- }, 8, ["color"])
122
- ]),
123
- _: 2
124
- }, [
125
- p.$slots.header ? {
126
- name: "header",
127
- fn: t(() => [
128
- l(p.$slots, "header")
129
- ]),
130
- key: "0"
131
- } : void 0,
132
- p.$slots.default ? {
133
- name: "content",
134
- fn: t(() => [
135
- l(p.$slots, "default")
136
- ]),
137
- key: "1"
138
- } : void 0
139
- ]), 1040));
140
- }
141
- }), j = /* @__PURE__ */ T({
142
- __name: "popupPrompt",
143
- props: {
144
- submitText: {},
145
- cancelText: {},
146
- defaultValue: {},
147
- id: {},
148
- class: {},
149
- transitionDuration: {},
150
- footerSupportLink: {},
151
- pos: {},
152
- notch: { type: Boolean },
153
- openByFocusInput: { type: Boolean },
154
- openByHover: { type: Boolean },
155
- disabled: { type: Boolean },
156
- posBy: {},
157
- data: {}
158
- },
159
- emits: ["open", "close", "scrollContentList", "submit"],
160
- setup(d, { emit: f }) {
161
- const r = d, i = f, o = () => s.value = r.defaultValue ?? "", e = I(!1), s = I();
162
- g(() => r.defaultValue, () => o(), { immediate: !0 });
163
- const a = () => {
164
- e.value = !0;
165
- }, V = (n) => {
166
- if (e.value) {
167
- e.value = !1, i("submit", s.value), o();
168
- return;
169
- }
170
- o(), i("close", n);
171
- }, {
172
- submitText: H,
173
- cancelText: D,
174
- defaultValue: p,
175
- ...u
176
- } = r;
177
- return (n, m) => (L(), P(b, k({ class: "top-popupPrompt" }, u, {
178
- onOpen: m[1] || (m[1] = ($) => n.$emit("open", $)),
179
- onClose: m[2] || (m[2] = ($) => V($)),
180
- onScrollContentList: m[3] || (m[3] = (...$) => n.$emit("scrollContentList", ...$))
181
- }), S({
182
- opener: t(() => [
183
- l(n.$slots, "opener")
184
- ]),
185
- footer: t(() => [
186
- l(n.$slots, "footer"),
187
- y(c, { color: "theme" }, {
188
- default: t(() => [
189
- B(v(C(D) || n.$i18n.Common.Cancel), 1)
190
- ]),
191
- _: 1
192
- }),
193
- y(c, { onClick: a }, {
194
- default: t(() => [
195
- B(v(C(H) || n.$i18n.Common.OK), 1)
196
- ]),
197
- _: 1
198
- })
199
- ]),
200
- _: 2
201
- }, [
202
- n.$slots.header ? {
203
- name: "header",
204
- fn: t(() => [
205
- l(n.$slots, "header")
206
- ]),
207
- key: "0"
208
- } : void 0,
209
- n.$slots.default ? {
210
- name: "content",
211
- fn: t(() => [
212
- l(n.$slots, "default"),
213
- y(O, {
214
- modelValue: s.value,
215
- "onUpdate:modelValue": m[0] || (m[0] = ($) => s.value = $),
216
- modelModifiers: { trim: !0 }
217
- }, null, 8, ["modelValue"])
218
- ]),
219
- key: "1"
220
- } : void 0
221
- ]), 1040));
222
- }
223
- }), q = /* @__PURE__ */ T({
224
- __name: "popupHint",
225
- props: {
226
- hint: {},
227
- id: {},
228
- class: {},
229
- transitionDuration: {},
230
- footerSupportLink: {},
231
- pos: {},
232
- notch: { type: Boolean },
233
- openByFocusInput: { type: Boolean },
234
- openByHover: { type: Boolean },
235
- disabled: { type: Boolean },
236
- posBy: {},
237
- data: {}
238
- },
239
- setup(d) {
240
- const f = d, {
241
- hint: r,
242
- ...i
243
- } = f;
244
- return (o, e) => {
245
- const s = F("top-tooltip");
246
- return L(), P(b, k({ class: "top-popupHint" }, i, {
247
- onOpen: e[0] || (e[0] = (a) => o.$emit("open", a)),
248
- onClose: e[1] || (e[1] = (a) => o.$emit("close", a)),
249
- onScrollContentList: e[2] || (e[2] = (...a) => o.$emit("scrollContentList", ...a))
250
- }), S({
251
- opener: t(() => [
252
- w(y(A, {
253
- hint: C(r),
254
- class: "top-popupHint_opener"
255
- }, null, 8, ["hint"]), [
256
- [s]
257
- ])
258
- ]),
259
- _: 2
260
- }, [
261
- o.$slots.default ? {
262
- name: "content",
263
- fn: t(() => [
264
- l(o.$slots, "default")
265
- ]),
266
- key: "0"
267
- } : void 0
268
- ]), 1040);
269
- };
270
- }
271
- });
272
- export {
273
- b as TopPopup,
274
- U as TopPopupAlert,
275
- h as TopPopupConfirm,
276
- q as TopPopupHint,
277
- G as TopPopupListItem,
278
- J as TopPopupOpener,
279
- j as TopPopupPrompt,
280
- O as TopPopupWidgetInput
281
- };
282
- //# sourceMappingURL=popup.js.map
1
+ import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "../.chunks/popup-DrByVU-k.esm.js";
2
+ export { o as TopPopup, n as TopPopupAlert, a as TopPopupConfirm, s as TopPopupHint, i as TopPopupListItem, t as TopPopupOpener, r as TopPopupPrompt, e as TopPopupWidgetInput };
@@ -1,2 +1,2 @@
1
- define(["require","exports","../.chunks/forms-DDNzqU6o.amd","../utils/dom.amd"],(function(require,exports,forms,utils_dom){"use strict";if(typeof vue>"u")var vue=window.Vue;class Worker{static noClose=!1;static vueConnectors=new Map;static options={};static getPopup(t){return utils_dom.default.storage(t,"TopPopup")}static getElPopupOpener(t){return t.closest("[data-top-popup]")}static getPopupFromOpener(t){const o=Worker.getElPopupOpener(t);return o?utils_dom.default.storage(o,"#TopPopup"):null}static getAll(){return utils_dom.default.querySelectorAllArray(document,".top-popup-wrapper")}static getAllVisible(){return utils_dom.default.querySelectorAllVisible(document,".top-popup-wrapper")}static async openByOpener(t){if(!(t instanceof HTMLElement))return;const o={};return o.popup=t.dataset.topPopup,o.id=t.dataset.topPopupId,!o.id&&o.popup&&(t.dataset.topPopupId=btoa(String.fromCharCode(...new TextEncoder().encode(o.popup))),o.id=t.dataset.topPopupId),t.dataset.topPopupP&&(o.p=parseInt(t.dataset.topPopupP)),t.dataset.topPopupPos&&(o.p=parseInt(t.dataset.topPopupPos)),t.dataset.topPopupNotch&&(o.notch=t.dataset.topPopupNotch==="true"||t.dataset.topPopupNotch==="1"),t.dataset.topPopupClass&&(o.class=t.dataset.topPopupClass),t.dataset.topPopupPosBy&&(o.posBy=t.dataset.topPopupPosBy),t.dataset.topPopupFront&&(o.frontSelector=t.dataset.topPopupFront),t.dataset.topPopupInvertX&&(o.invertX=t.dataset.topPopupInvertX==="true"||t.dataset.topPopupInvertX==="1"),t.dataset.topPopupOpenByHovertopPopupOpenByHover&&(o.openByHover=t.dataset.topPopupOpenByHover==="true"||t.dataset.topPopupOpenByHover==="1"),t.dataset.topPopupUseOriginal&&(o.useOriginal=t.dataset.topPopupUseOriginal==="true"||t.dataset.topPopupUseOriginal==="1"),await Worker.open(t,o)}static async open(elOpener,options){elOpener instanceof HTMLElement&&(elOpener.dataset.topPopupOpened="opened");const{TopLibPopup}=await new Promise((t,o)=>require(["../.chunks/popup-yXIpyok3.amd"],t,o));if(forms.Core.$){const $elOpener=forms.Core.$(elOpener);if($elOpener.data("aftershow")){let afterShow=$elOpener.data("aftershow");typeof afterShow=="string"&&(afterShow=eval(afterShow.replace(/\W/g,""))),$elOpener.one("aftershow.top-menu-popup",afterShow)}if($elOpener.data("afterclose")){let afterclose=$elOpener.data("afterclose");typeof afterclose=="string"&&(afterclose=eval(afterclose.replace(/\W/g,""))),$elOpener.one("afterclose.top-menu-popup",afterclose)}}return options.isFullScreen=forms.Core.state.isMobile,new TopLibPopup(elOpener,options)}static close(t,o=!1){const e=Worker.getPopup(t);if(e){e.close();const p=e.el.contains(document.activeElement);o&&!p&&setTimeout(()=>{e.el.focus()})}}static recalcPosition(t){const o=Worker.getPopup(t);o&&o.elPopupBody instanceof HTMLElement&&o.recalcPosition()}static scrollToActive(t){if(!utils_dom.default.querySelectorVisible(t,"ul.top-popup_content > li > .top-active"))return;const e=t.querySelector("ul.top-popup_content"),p=utils_dom.default.querySelectorAllVisible(t,"ul.top-popup_content > li");t.classList.add("top-popup-wrapper-no_animate"),setTimeout(()=>t.classList.remove("top-popup-wrapper-no_animate"),100);let a=100;for(const s of p){if(s.querySelector(":scope > .top-active"))break;s instanceof HTMLElement&&(a+=s.offsetHeight)}if(e instanceof HTMLElement){const s=e.offsetHeight;a>s?e.scrollTop=a-s:e.scrollTop=0}}static decoratorBeforeOpen(t){this.options.decoratorBeforeOpen&&this.options.decoratorBeforeOpen(t)}static decoratorAfterOpen(t){this.options.decoratorAfterOpen&&this.options.decoratorAfterOpen(t)}static decoratorIsIgnoreOuterClick(t){return this.options.decoratorIsIgnoreOuterClick?this.options.decoratorIsIgnoreOuterClick(t):!1}static regVueComponent(t,o){if(Worker.vueConnectors.get(t))throw"Vue component Popup use duplicated id: "+t;Worker.vueConnectors.set(t,o)}static unregVueComponent(t){Worker.vueConnectors.delete(t)}static genElPopupOpener(t,o,...e){const p=utils_dom.default.genEl(t,{},...e);p.dataset.topPopup="#"+o.id;for(let a in o){const s="topPopup"+a.charAt(0).toUpperCase()+a.slice(1);p.dataset[s]=o[a]}return p.__TopPopupOpenerProps=o,p}}exports.TopPopupWorker=Worker,Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"})}));
2
- //# sourceMappingURL=worker.amd.js.map
1
+ define([`require`,`exports`,`../.chunks/worker-Db8YrEHo.amd`],function(e,t,n){"use strict";if(r===void 0)var r=window.Vue;Object.defineProperty(t,`__esModule`,{value:!0}),t.TopPopupWorker=void 0,Object.defineProperty(t,`TopPopupWorker`,{enumerable:!0,get:function(){return n.t}})});
2
+ //# sourceMappingURL=worker.amd.js.map