@topvisor/ui 1.1.0 → 1.3.0

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 (536) hide show
  1. package/.chunks/core-CXqQSo9c.amd.js +2 -0
  2. package/.chunks/core-CXqQSo9c.amd.js.map +1 -0
  3. package/.chunks/{core-Dsl28h7N.es.js → core-CY6RkZz2.es.js} +47 -46
  4. package/.chunks/core-CY6RkZz2.es.js.map +1 -0
  5. package/.chunks/{datepicker-BTiE5Grw.es.js → datepicker-BiaXdEIn.es.js} +2 -2
  6. package/.chunks/datepicker-BiaXdEIn.es.js.map +1 -0
  7. package/.chunks/datepicker-DUoArkDy.amd.js +2 -0
  8. package/.chunks/datepicker-DUoArkDy.amd.js.map +1 -0
  9. package/.chunks/dialog_selectorRegions-CPRVbPAk.amd.js +2 -0
  10. package/.chunks/dialog_selectorRegions-CPRVbPAk.amd.js.map +1 -0
  11. package/.chunks/dialog_selectorRegions-Zlm6K2mk.es.js +188 -0
  12. package/.chunks/dialog_selectorRegions-Zlm6K2mk.es.js.map +1 -0
  13. package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-CLahwA6M.es.js +322 -0
  14. package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-CLahwA6M.es.js.map +1 -0
  15. package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-D8NggYHD.amd.js +2 -0
  16. package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-D8NggYHD.amd.js.map +1 -0
  17. package/.chunks/field-Cvv0SRcJ.amd.js +2 -0
  18. package/.chunks/field-Cvv0SRcJ.amd.js.map +1 -0
  19. package/.chunks/field-CyyFzM-Y.es.js +16 -0
  20. package/.chunks/field-CyyFzM-Y.es.js.map +1 -0
  21. package/.chunks/forms-CgtkdwgA.amd.js +3 -0
  22. package/.chunks/forms-CgtkdwgA.amd.js.map +1 -0
  23. package/.chunks/forms-DarRVke_.es.js +2045 -0
  24. package/.chunks/forms-DarRVke_.es.js.map +1 -0
  25. package/.chunks/index-BEI7XZmU.amd.js +2 -0
  26. package/.chunks/index-BEI7XZmU.amd.js.map +1 -0
  27. package/.chunks/index-igPkes8X.es.js +48 -0
  28. package/.chunks/index-igPkes8X.es.js.map +1 -0
  29. package/.chunks/lazy-40pjr8cZ.es.js +71 -0
  30. package/.chunks/lazy-40pjr8cZ.es.js.map +1 -0
  31. package/.chunks/lazy-DSFLxvj4.amd.js +2 -0
  32. package/.chunks/lazy-DSFLxvj4.amd.js.map +1 -0
  33. package/.chunks/listItem.vue_vue_type_script_setup_true_lang-CT-EXxJj.amd.js +2 -0
  34. package/.chunks/listItem.vue_vue_type_script_setup_true_lang-CT-EXxJj.amd.js.map +1 -0
  35. package/.chunks/listItem.vue_vue_type_script_setup_true_lang-DzJ_pc-d.es.js +184 -0
  36. package/.chunks/listItem.vue_vue_type_script_setup_true_lang-DzJ_pc-d.es.js.map +1 -0
  37. package/.chunks/menu.vue_vue_type_style_index_0_lang-BLMYjYLV.amd.js +2 -0
  38. package/.chunks/menu.vue_vue_type_style_index_0_lang-BLMYjYLV.amd.js.map +1 -0
  39. package/.chunks/{menu.vue_vue_type_style_index_0_lang-DmY5w4yr.es.js → menu.vue_vue_type_style_index_0_lang-COD_4iTy.es.js} +35 -34
  40. package/.chunks/menu.vue_vue_type_style_index_0_lang-COD_4iTy.es.js.map +1 -0
  41. package/.chunks/{notice-CJdCc72d.amd.js → notice-CPtAnc7p.amd.js} +3 -3
  42. package/.chunks/notice-CPtAnc7p.amd.js.map +1 -0
  43. package/.chunks/{notice-Cqs1dKt8.es.js → notice-fno9saBY.es.js} +2 -2
  44. package/.chunks/notice-fno9saBY.es.js.map +1 -0
  45. package/.chunks/{page.vue_vue_type_script_setup_true_lang-BCfksgg3.es.js → page.vue_vue_type_script_setup_true_lang-BS0aEP4i.es.js} +4 -4
  46. package/.chunks/page.vue_vue_type_script_setup_true_lang-BS0aEP4i.es.js.map +1 -0
  47. package/.chunks/page.vue_vue_type_script_setup_true_lang-DLebrPmi.amd.js +2 -0
  48. package/.chunks/page.vue_vue_type_script_setup_true_lang-DLebrPmi.amd.js.map +1 -0
  49. package/.chunks/popup-AG94kehM.es.js +459 -0
  50. package/.chunks/popup-AG94kehM.es.js.map +1 -0
  51. package/.chunks/popup-CtvJLWn3.amd.js +2 -0
  52. package/.chunks/popup-CtvJLWn3.amd.js.map +1 -0
  53. package/.chunks/punycode.es6-CNOnFR2-.amd.js +2 -0
  54. package/.chunks/{punycode.es6-C2yitnNb.amd.js.map → punycode.es6-CNOnFR2-.amd.js.map} +1 -1
  55. package/.chunks/punycode.es6-CgGegfA_.es.js +134 -0
  56. package/.chunks/{punycode.es6-CNI-zL6U.es.js.map → punycode.es6-CgGegfA_.es.js.map} +1 -1
  57. package/.chunks/store-CX_6ZXhO.es.js.map +1 -1
  58. package/.chunks/store-YRW59xEF.amd.js +2 -0
  59. package/.chunks/store-YRW59xEF.amd.js.map +1 -0
  60. package/.chunks/{utils-B1H3EGkg.es.js → utils-3M9LC_L_.es.js} +2 -2
  61. package/.chunks/utils-3M9LC_L_.es.js.map +1 -0
  62. package/.chunks/utils-BitKP31L.es.js +302 -0
  63. package/.chunks/utils-BitKP31L.es.js.map +1 -0
  64. package/.chunks/utils-D9D3zzjc.amd.js +2 -0
  65. package/.chunks/utils-D9D3zzjc.amd.js.map +1 -0
  66. package/.chunks/utils-DcP4RFmH.amd.js +2 -0
  67. package/.chunks/utils-DcP4RFmH.amd.js.map +1 -0
  68. package/.chunks/widgetInput.vue_vue_type_script_setup_true_lang-BK-pTu3V.amd.js +2 -0
  69. package/.chunks/widgetInput.vue_vue_type_script_setup_true_lang-BK-pTu3V.amd.js.map +1 -0
  70. package/.chunks/widgetInput.vue_vue_type_script_setup_true_lang-xwjgBq1L.es.js +39 -0
  71. package/.chunks/widgetInput.vue_vue_type_script_setup_true_lang-xwjgBq1L.es.js.map +1 -0
  72. package/.chunks/widgetInput.vue_vue_type_style_index_0_lang-Cce9ZdtW.amd.js +2 -0
  73. package/.chunks/widgetInput.vue_vue_type_style_index_0_lang-Cce9ZdtW.amd.js.map +1 -0
  74. package/README.md +82 -82
  75. package/api/additional.amd.js +2 -0
  76. package/api/additional.amd.js.map +1 -0
  77. package/api/additional.d.ts +2 -0
  78. package/api/additional.js +66 -0
  79. package/api/additional.js.map +1 -0
  80. package/api/index.amd.js +2 -0
  81. package/api/index.amd.js.map +1 -0
  82. package/api/index.d.ts +2 -0
  83. package/api/index.js +280 -0
  84. package/api/index.js.map +1 -0
  85. package/assets/core.css +1 -1
  86. package/assets/extra.css +1 -0
  87. package/assets/forms.css +1 -1
  88. package/assets/formsExt.css +1 -1
  89. package/assets/layout.css +1 -1
  90. package/assets/notice.css +1 -1
  91. package/assets/project.css +1 -1
  92. package/assets/themes/dark-th.css +1 -1
  93. package/assets/themes/dark.css +1 -1
  94. package/assets/themes/light.css +1 -1
  95. package/charts/charts.amd.js +1 -1
  96. package/charts/charts.amd.js.map +1 -1
  97. package/charts/charts.d.ts +1 -1
  98. package/charts/charts.js +11 -11
  99. package/charts/charts.js.map +1 -1
  100. package/core/app.amd.js +1 -1
  101. package/core/app.amd.js.map +1 -1
  102. package/core/app.d.ts +2 -8
  103. package/core/app.js +36 -34
  104. package/core/app.js.map +1 -1
  105. package/dialog/dialog.amd.js +1 -1
  106. package/dialog/dialog.amd.js.map +1 -1
  107. package/dialog/dialog.d.ts +1 -1
  108. package/dialog/dialog.js +2 -2
  109. package/dialog/dialog.js.map +1 -1
  110. package/extra/extra.amd.js +2 -0
  111. package/extra/extra.amd.js.map +1 -0
  112. package/extra/extra.d.ts +2 -0
  113. package/extra/extra.js +72 -0
  114. package/extra/extra.js.map +1 -0
  115. package/forms/forms.amd.js +1 -1
  116. package/forms/forms.d.ts +1 -1
  117. package/forms/forms.js +11 -9
  118. package/forms/helpers.amd.js +1 -1
  119. package/forms/helpers.amd.js.map +1 -1
  120. package/forms/helpers.d.ts +0 -1
  121. package/forms/helpers.js +1 -9
  122. package/forms/helpers.js.map +1 -1
  123. package/formsExt/formsExt.amd.js +1 -1
  124. package/formsExt/formsExt.amd.js.map +1 -1
  125. package/formsExt/formsExt.d.ts +1 -1
  126. package/formsExt/formsExt.js +524 -320
  127. package/formsExt/formsExt.js.map +1 -1
  128. package/icomoon/Read Me.txt +7 -7
  129. package/icomoon/demo-files/demo.css +158 -158
  130. package/icomoon/demo-files/demo.js +30 -30
  131. package/icomoon/demo.css +158 -0
  132. package/icomoon/demo.html +3782 -3558
  133. package/icomoon/demo.js +30 -0
  134. package/icomoon/fonts/Topvisor-2.eot +0 -0
  135. package/icomoon/fonts/Topvisor-2.svg +292 -276
  136. package/icomoon/fonts/Topvisor-2.ttf +0 -0
  137. package/icomoon/fonts/Topvisor-2.woff +0 -0
  138. package/icomoon/selection.json +1 -1
  139. package/icomoon/style.css +828 -780
  140. package/jquery-ui.min.css +5 -5
  141. package/layout/layout.amd.js +1 -1
  142. package/layout/layout.amd.js.map +1 -1
  143. package/layout/layout.d.ts +1 -1
  144. package/layout/layout.js +29 -29
  145. package/layout/layout.js.map +1 -1
  146. package/package.json +36 -33
  147. package/popup/popup.amd.js +1 -1
  148. package/popup/popup.amd.js.map +1 -1
  149. package/popup/popup.d.ts +1 -1
  150. package/popup/popup.js +120 -136
  151. package/popup/popup.js.map +1 -1
  152. package/popup/worker.amd.js +1 -1
  153. package/popup/worker.amd.js.map +1 -1
  154. package/popup/worker.d.ts +1 -1
  155. package/popup/worker.js +31 -22
  156. package/popup/worker.js.map +1 -1
  157. package/project/project.amd.js +1 -1
  158. package/project/project.amd.js.map +1 -1
  159. package/project/project.d.ts +1 -1
  160. package/project/project.js +396 -386
  161. package/project/project.js.map +1 -1
  162. package/require/css.amd.js +12 -12
  163. package/src/api/api/additional.d.ts +1 -0
  164. package/src/api/api/client/client.d.ts +55 -0
  165. package/src/api/api/client/request-options.d.ts +1 -0
  166. package/src/api/api/client/request.d.ts +2 -0
  167. package/src/api/api/index.d.ts +12 -0
  168. package/src/api/api/mocker/index.d.ts +9 -0
  169. package/src/api/api/tests/types.test-d.d.ts +1 -0
  170. package/src/api/api/types/api.d.ts +144 -0
  171. package/src/api/api/types/client/client.d.ts +8 -0
  172. package/src/api/api/types/client/middleware.d.ts +65 -0
  173. package/src/api/api/types/client/options.d.ts +60 -0
  174. package/src/api/api/types/client/request-context.d.ts +35 -0
  175. package/src/api/api/types/client/request-options.d.ts +73 -0
  176. package/src/api/api/types/client/request.d.ts +91 -0
  177. package/src/api/api/types/ext.d.ts +51 -0
  178. package/src/api/api/types/field.d.ts +33 -0
  179. package/src/api/api/types/index.d.ts +13 -0
  180. package/src/api/api/types/mocker.d.ts +106 -0
  181. package/src/api/api/types/schema.d.ts +50 -0
  182. package/src/api/api/types/tv.d.ts +59 -0
  183. package/src/api/api/types/utils.d.ts +51 -0
  184. package/src/api/api/utils/common.d.ts +16 -0
  185. package/src/api/api/utils/field.d.ts +8 -0
  186. package/src/api/api/utils/filters.d.ts +48 -0
  187. package/src/api/api/utils/lazy.d.ts +26 -0
  188. package/src/components/charts/charts.d.ts +2 -0
  189. package/{components → src/components}/charts/miniChart/miniChart.vue.d.ts +1 -1
  190. package/{components → src/components}/charts/miniCharts/miniCharts.d.ts +1 -1
  191. package/{components → src/components}/charts/miniCharts/miniCharts.vue.d.ts +1 -1
  192. package/{components → src/components}/core/notice/item/types.d.ts +2 -0
  193. package/{components → src/components}/dialog/dialog/dialogs/dialogs.vue.d.ts +3 -0
  194. package/{components → src/components}/dialog/dialog/page/types.d.ts +2 -2
  195. package/{components → src/components}/dialog/lib/types.d.ts +23 -0
  196. package/src/components/dialog/lib/utils.d.ts +14 -0
  197. package/{components → src/components}/dialog/lib/utils.globalEvents.d.ts +2 -2
  198. package/{components → src/components}/dialog/lib/worker.d.ts +27 -11
  199. package/src/components/extra/extra.d.ts +1 -0
  200. package/src/components/extra/rive/rive.vue.d.ts +11 -0
  201. package/src/components/extra/rive/types.d.ts +7 -0
  202. package/{components → src/components}/forms/avatar/avatar.vue.d.ts +2 -2
  203. package/{components/forms/avatar/avatar.d.ts → src/components/forms/avatar/types.d.ts} +4 -10
  204. package/{components → src/components}/forms/button/button.vue.d.ts +3 -7
  205. package/{components → src/components}/forms/button/types.d.ts +15 -19
  206. package/src/components/forms/caption/caption.vue.d.ts +17 -0
  207. package/src/components/forms/caption/types.d.ts +9 -0
  208. package/{components → src/components}/forms/checkbox/checkbox.vue.d.ts +3 -3
  209. package/{components → src/components}/forms/controlLabel/controlLabel.vue.d.ts +1 -1
  210. package/src/components/forms/forms.d.ts +15 -0
  211. package/src/components/forms/helpers.d.ts +1 -0
  212. package/{components → src/components}/forms/hint/hint.vue.d.ts +1 -1
  213. package/{components → src/components}/forms/input/input.vue.d.ts +2 -3
  214. package/src/components/forms/input/types.d.ts +23 -0
  215. package/{components → src/components}/forms/inputDate/inputDate.vue.d.ts +1 -1
  216. package/src/components/forms/inputDate/types.d.ts +1 -0
  217. package/src/components/forms/preloader/types.d.ts +3 -0
  218. package/{components → src/components}/forms/radio/radio.vue.d.ts +1 -1
  219. package/src/components/forms/select/select.vue.d.ts +17 -0
  220. package/{components/forms/select/select.d.ts → src/components/forms/select/types.d.ts} +3 -3
  221. package/{components → src/components}/forms/switcher/switcher.vue.d.ts +1 -1
  222. package/{components → src/components}/forms/textarea/textarea.vue.d.ts +1 -1
  223. package/{components/forms/textarea/textarea.d.ts → src/components/forms/textarea/types.d.ts} +4 -0
  224. package/{components/formsExt/radioGroup/radioGroup.vue.d.ts → src/components/formsExt/checkboxGroup/checkboxGroup.vue.d.ts} +7 -10
  225. package/src/components/formsExt/checkboxGroup/types.d.ts +19 -0
  226. package/{components → src/components}/formsExt/editArea/editArea.vue.d.ts +1 -1
  227. package/{components/formsExt/editArea/editArea.d.ts → src/components/formsExt/editArea/types.d.ts} +1 -1
  228. package/{components → src/components}/formsExt/editInput/editInput.vue.d.ts +1 -1
  229. package/{components/formsExt/editInput/editInput.d.ts → src/components/formsExt/editInput/types.d.ts} +1 -1
  230. package/src/components/formsExt/formsExt.d.ts +8 -0
  231. package/{components → src/components}/formsExt/info/types.d.ts +1 -1
  232. package/{components → src/components}/formsExt/menu/menu.vue.d.ts +1 -1
  233. package/src/components/formsExt/policy/policy.vue.d.ts +8 -0
  234. package/src/components/formsExt/policy/types.d.ts +20 -0
  235. package/{components/forms/select/select.vue.d.ts → src/components/formsExt/radioGroup/radioGroup.vue.d.ts} +4 -6
  236. package/{components/formsExt/radioGroup/radioGroup.d.ts → src/components/formsExt/radioGroup/types.d.ts} +3 -3
  237. package/src/components/formsExt/selector2/composables/useAPI.d.ts +18 -0
  238. package/src/components/formsExt/selector2/composables/useMenu.d.ts +16 -0
  239. package/{components → src/components}/formsExt/selector2/itemMulti.vue.d.ts +1 -1
  240. package/src/components/formsExt/selector2/selector2.vue.d.ts +43 -0
  241. package/{components/formsExt/selector2/selector2.d.ts → src/components/formsExt/selector2/types.d.ts} +66 -34
  242. package/src/components/formsExt/selector2/utils.d.ts +6 -0
  243. package/{components → src/components}/layout/islandRows/types.d.ts +1 -1
  244. package/src/components/layout/layout.d.ts +4 -0
  245. package/src/components/popup/alert/alert.vue.d.ts +25 -0
  246. package/src/components/popup/alert/types.d.ts +8 -0
  247. package/src/components/popup/confirm/confirm.vue.d.ts +26 -0
  248. package/{components/popup/confirm/confirm.d.ts → src/components/popup/confirm/types.d.ts} +3 -3
  249. package/{components → src/components}/popup/lib/popup.d.ts +6 -2
  250. package/{components → src/components}/popup/lib/popup.globalEvents.d.ts +6 -0
  251. package/{components → src/components}/popup/lib/worker.d.ts +8 -6
  252. package/{components → src/components}/popup/popup/listItem.vue.d.ts +1 -1
  253. package/src/components/popup/popup/opener.vue.d.ts +17 -0
  254. package/src/components/popup/popup/popup.vue.d.ts +38 -0
  255. package/{components/popup/popup/popup.d.ts → src/components/popup/popup/types.d.ts} +20 -11
  256. package/{components → src/components}/popup/popup/widgetInput.vue.d.ts +1 -1
  257. package/src/components/popup/popup.d.ts +7 -0
  258. package/src/components/popup/prompt/prompt.vue.d.ts +26 -0
  259. package/{components/popup/prompt/prompt.d.ts → src/components/popup/prompt/types.d.ts} +3 -3
  260. package/src/components/project/project.d.ts +9 -0
  261. package/{components → src/components}/project/selectorCompetitors/composables.d.ts +1 -2
  262. package/{components → src/components}/project/selectorCompetitors/selectorCompetitors.vue.d.ts +1 -1
  263. package/{components/project/selectorCompetitors/selectorCompetitors.d.ts → src/components/project/selectorCompetitors/types.d.ts} +7 -0
  264. package/{components → src/components}/project/selectorRegion/composables/compare.d.ts +1 -1
  265. package/{components → src/components}/project/selectorRegion/composables/selectRegion.d.ts +2 -3
  266. package/{components → src/components}/project/selectorRegion/composables/selectSearcher.d.ts +2 -2
  267. package/{components → src/components}/project/selectorRegion/composables/selectorRegion.d.ts +2 -2
  268. package/{components → src/components}/project/selectorRegion/dialog_selectorRegions/dialog_selectorRegions.vue.d.ts +3 -1
  269. package/{components → src/components}/project/selectorRegion/dialog_selectorRegions/types.d.ts +1 -1
  270. package/{components → src/components}/project/selectorRegion/selectorRegion.vue.d.ts +1 -1
  271. package/{components/project/selectorRegion/selectorRegion.d.ts → src/components/project/selectorRegion/types.d.ts} +2 -0
  272. package/src/components/project/selectorRegion/utils/consts.d.ts +31 -0
  273. package/{components → src/components}/project/selectorRegion/utils/utils.d.ts +4 -2
  274. package/{components → src/components}/project/tagSelector/popupOpener/types.d.ts +2 -0
  275. package/src/components/project/tagSelector/tagIcon/tagIcon.vue.d.ts +4 -0
  276. package/{components → src/components}/project/tagSelector/types.d.ts +2 -0
  277. package/{components → src/components}/project/tagSelector/utils/el.d.ts +1 -1
  278. package/{components → src/components}/tabs/tabs/content.vue.d.ts +1 -1
  279. package/{components → src/components}/tabs/tabs/tab.vue.d.ts +1 -1
  280. package/{components → src/components}/tabs/tabs/tabs.vue.d.ts +1 -1
  281. package/src/components/tabs/tabs.d.ts +3 -0
  282. package/{components → src/components}/tabsView/tabsView/menu.vue.d.ts +1 -1
  283. package/{components → src/components}/tabsView/tabsView/menuItem.vue.d.ts +1 -1
  284. package/{components → src/components}/tabsView/tabsView/menuTitle.vue.d.ts +1 -1
  285. package/src/components/tabsView/tabsView/store.d.ts +12 -0
  286. package/{components → src/components}/tabsView/tabsView/tabsView.vue.d.ts +1 -1
  287. package/{components/tabsView/tabsView/tabsView.d.ts → src/components/tabsView/tabsView/types.d.ts} +2 -2
  288. package/src/components/tabsView/tabsView.d.ts +3 -0
  289. package/src/core/app.d.ts +8 -0
  290. package/{core → src/core}/core/core.d.ts +1 -1
  291. package/{core → src/core}/core/options.d.ts +7 -6
  292. package/{core → src/core}/core/state.d.ts +1 -1
  293. package/src/core/directives/preloader.d.ts +8 -0
  294. package/{core → src/core}/plugins/core.d.ts +2 -2
  295. package/{core → src/core}/plugins/i18n.d.ts +4 -4
  296. package/{core → src/core}/utils/date.d.ts +30 -12
  297. package/{core → src/core}/utils/dom.d.ts +11 -1
  298. package/{core → src/core}/utils/route.d.ts +1 -1
  299. package/{core → src/core}/utils/searchers.d.ts +1 -1
  300. package/{core → src/core}/utils/store.d.ts +1 -1
  301. package/{core → src/core}/utils/string.d.ts +13 -1
  302. package/tabs/tabs.amd.js +1 -1
  303. package/tabs/tabs.amd.js.map +1 -1
  304. package/tabs/tabs.d.ts +1 -1
  305. package/tabs/tabs.js +14 -14
  306. package/tabs/tabs.js.map +1 -1
  307. package/tabsView/tabsView.amd.js +1 -1
  308. package/tabsView/tabsView.amd.js.map +1 -1
  309. package/tabsView/tabsView.d.ts +1 -1
  310. package/tabsView/tabsView.js +49 -48
  311. package/tabsView/tabsView.js.map +1 -1
  312. package/utils/check.amd.js +1 -1
  313. package/utils/check.amd.js.map +1 -1
  314. package/utils/check.d.ts +1 -1
  315. package/utils/check.js.map +1 -1
  316. package/utils/clipboard.amd.js +2 -2
  317. package/utils/clipboard.amd.js.map +1 -1
  318. package/utils/clipboard.d.ts +1 -1
  319. package/utils/clipboard.js +1 -1
  320. package/utils/clipboard.js.map +1 -1
  321. package/utils/date.amd.js +1 -1
  322. package/utils/date.d.ts +1 -1
  323. package/utils/date.js +4 -3
  324. package/utils/device.amd.js +1 -1
  325. package/utils/device.d.ts +1 -1
  326. package/utils/device.js +4 -4
  327. package/utils/dom.amd.js +1 -1
  328. package/utils/dom.amd.js.map +1 -1
  329. package/utils/dom.d.ts +3 -3
  330. package/utils/dom.js +27 -22
  331. package/utils/dom.js.map +1 -1
  332. package/utils/image.amd.js +2 -2
  333. package/utils/image.amd.js.map +1 -1
  334. package/utils/image.d.ts +1 -1
  335. package/utils/image.js +1 -1
  336. package/utils/image.js.map +1 -1
  337. package/utils/keyboard.amd.js +1 -1
  338. package/utils/keyboard.amd.js.map +1 -1
  339. package/utils/keyboard.d.ts +1 -1
  340. package/utils/keyboard.js.map +1 -1
  341. package/utils/lodash.amd.js +1 -1
  342. package/utils/lodash.d.ts +1 -1
  343. package/utils/lodash.js +1 -1
  344. package/utils/number.amd.js +1 -1
  345. package/utils/number.amd.js.map +1 -1
  346. package/utils/number.d.ts +1 -1
  347. package/utils/number.js.map +1 -1
  348. package/utils/price.amd.js +1 -1
  349. package/utils/price.amd.js.map +1 -1
  350. package/utils/price.d.ts +1 -1
  351. package/utils/price.js +1 -1
  352. package/utils/price.js.map +1 -1
  353. package/utils/route.amd.js +1 -1
  354. package/utils/route.amd.js.map +1 -1
  355. package/utils/route.d.ts +1 -1
  356. package/utils/route.js +26 -19
  357. package/utils/route.js.map +1 -1
  358. package/utils/scroll.amd.js +1 -1
  359. package/utils/scroll.amd.js.map +1 -1
  360. package/utils/scroll.d.ts +1 -1
  361. package/utils/scroll.js.map +1 -1
  362. package/utils/searchers.amd.js +1 -1
  363. package/utils/searchers.amd.js.map +1 -1
  364. package/utils/searchers.d.ts +1 -1
  365. package/utils/searchers.js +3 -3
  366. package/utils/searchers.js.map +1 -1
  367. package/utils/store.amd.js +1 -1
  368. package/utils/store.d.ts +1 -1
  369. package/utils/string.amd.js +1 -1
  370. package/utils/string.amd.js.map +1 -1
  371. package/utils/string.d.ts +1 -1
  372. package/utils/string.js +41 -28
  373. package/utils/string.js.map +1 -1
  374. package/utils/system.amd.js +1 -1
  375. package/utils/system.amd.js.map +1 -1
  376. package/utils/system.d.ts +1 -1
  377. package/utils/system.js.map +1 -1
  378. package/utils/url.amd.js +2 -2
  379. package/utils/url.amd.js.map +1 -1
  380. package/utils/url.d.ts +1 -1
  381. package/utils/url.js +1 -1
  382. package/utils/url.js.map +1 -1
  383. package/web-types.json +130 -130
  384. package/.chunks/core-CcWs0qYw.amd.js +0 -2
  385. package/.chunks/core-CcWs0qYw.amd.js.map +0 -1
  386. package/.chunks/core-Dsl28h7N.es.js.map +0 -1
  387. package/.chunks/datepicker-B6kIyIcw.amd.js +0 -2
  388. package/.chunks/datepicker-B6kIyIcw.amd.js.map +0 -1
  389. package/.chunks/datepicker-BTiE5Grw.es.js.map +0 -1
  390. package/.chunks/dialog_selectorRegions-BZcnnvJM.es.js +0 -140
  391. package/.chunks/dialog_selectorRegions-BZcnnvJM.es.js.map +0 -1
  392. package/.chunks/dialog_selectorRegions-CePGUsCo.amd.js +0 -2
  393. package/.chunks/dialog_selectorRegions-CePGUsCo.amd.js.map +0 -1
  394. package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-B5hK613K.es.js +0 -266
  395. package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-B5hK613K.es.js.map +0 -1
  396. package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-izSFcRLb.amd.js +0 -2
  397. package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-izSFcRLb.amd.js.map +0 -1
  398. package/.chunks/forms-BsuCen2-.es.js +0 -1999
  399. package/.chunks/forms-BsuCen2-.es.js.map +0 -1
  400. package/.chunks/forms-BwGakScF.amd.js +0 -3
  401. package/.chunks/forms-BwGakScF.amd.js.map +0 -1
  402. package/.chunks/listItem.vue_vue_type_script_setup_true_lang-CfM8kOV1.amd.js +0 -2
  403. package/.chunks/listItem.vue_vue_type_script_setup_true_lang-CfM8kOV1.amd.js.map +0 -1
  404. package/.chunks/listItem.vue_vue_type_script_setup_true_lang-CszHDnB0.es.js +0 -181
  405. package/.chunks/listItem.vue_vue_type_script_setup_true_lang-CszHDnB0.es.js.map +0 -1
  406. package/.chunks/menu.vue_vue_type_style_index_0_lang-DQTVNJGq.amd.js +0 -2
  407. package/.chunks/menu.vue_vue_type_style_index_0_lang-DQTVNJGq.amd.js.map +0 -1
  408. package/.chunks/menu.vue_vue_type_style_index_0_lang-DmY5w4yr.es.js.map +0 -1
  409. package/.chunks/notice-CJdCc72d.amd.js.map +0 -1
  410. package/.chunks/notice-Cqs1dKt8.es.js.map +0 -1
  411. package/.chunks/page.vue_vue_type_script_setup_true_lang-1JWduCTr.amd.js +0 -2
  412. package/.chunks/page.vue_vue_type_script_setup_true_lang-1JWduCTr.amd.js.map +0 -1
  413. package/.chunks/page.vue_vue_type_script_setup_true_lang-BCfksgg3.es.js.map +0 -1
  414. package/.chunks/popup-CLhWWJDe.amd.js +0 -2
  415. package/.chunks/popup-CLhWWJDe.amd.js.map +0 -1
  416. package/.chunks/popup-N10MDafw.es.js +0 -416
  417. package/.chunks/popup-N10MDafw.es.js.map +0 -1
  418. package/.chunks/punycode.es6-C2yitnNb.amd.js +0 -2
  419. package/.chunks/punycode.es6-CNI-zL6U.es.js +0 -134
  420. package/.chunks/store-esTid5oI.amd.js +0 -2
  421. package/.chunks/store-esTid5oI.amd.js.map +0 -1
  422. package/.chunks/utils-B1H3EGkg.es.js.map +0 -1
  423. package/.chunks/utils-B7GVqGBH.amd.js +0 -2
  424. package/.chunks/utils-B7GVqGBH.amd.js.map +0 -1
  425. package/.chunks/utils-DIy2mbYd.amd.js +0 -2
  426. package/.chunks/utils-DIy2mbYd.amd.js.map +0 -1
  427. package/.chunks/utils-bjr7c5my.es.js +0 -225
  428. package/.chunks/utils-bjr7c5my.es.js.map +0 -1
  429. package/CHANGELOG.md +0 -14
  430. package/components/charts/charts.d.ts +0 -5
  431. package/components/charts/miniChart/stories/dummy.d.ts +0 -13
  432. package/components/charts/miniCharts/stories/dummy.d.ts +0 -6
  433. package/components/dialog/dialog/stories/autoload.d.ts +0 -2
  434. package/components/dialog/lib/utils.d.ts +0 -14
  435. package/components/forms/forms.d.ts +0 -27
  436. package/components/forms/helpers.d.ts +0 -10
  437. package/components/forms/input/input.d.ts +0 -34
  438. package/components/forms/inputDate/inputDate.d.ts +0 -3
  439. package/components/forms/select/stories/exampleOptions.d.ts +0 -5
  440. package/components/formsExt/formsExt.d.ts +0 -13
  441. package/components/formsExt/menu/stories/items.d.ts +0 -3
  442. package/components/formsExt/navigationMenu/navigationMenu.d.ts +0 -24
  443. package/components/formsExt/navigationMenu/stories/items.d.ts +0 -3
  444. package/components/formsExt/selector2/api.d.ts +0 -8
  445. package/components/formsExt/selector2/selector2.vue.d.ts +0 -210
  446. package/components/formsExt/selector2/stories/dummyAPIRequest.d.ts +0 -10
  447. package/components/layout/layout.d.ts +0 -9
  448. package/components/popup/alert/alert.d.ts +0 -8
  449. package/components/popup/alert/alert.vue.d.ts +0 -31
  450. package/components/popup/confirm/confirm.vue.d.ts +0 -33
  451. package/components/popup/popup/opener.vue.d.ts +0 -23
  452. package/components/popup/popup/popup.vue.d.ts +0 -40
  453. package/components/popup/popup.d.ts +0 -15
  454. package/components/popup/prompt/prompt.vue.d.ts +0 -33
  455. package/components/project/project.d.ts +0 -15
  456. package/components/project/selectorCompetitors/stories/items.d.ts +0 -3
  457. package/components/project/selectorCompetitors/types/competitor.d.ts +0 -7
  458. package/components/project/selectorRegion/stories/searchers.d.ts +0 -3
  459. package/components/project/selectorRegion/utils/consts.d.ts +0 -18
  460. package/components/tabs/tabs.d.ts +0 -7
  461. package/components/tabsView/tabsView/store.d.ts +0 -192
  462. package/components/tabsView/tabsView.d.ts +0 -7
  463. package/icomoon/Topvisor icons.json +0 -6260
  464. /package/assets/{popup.css → widgetInput.css} +0 -0
  465. /package/{components/charts/miniChart/miniChart.d.ts → src/components/charts/miniChart/types.d.ts} +0 -0
  466. /package/{components → src/components}/charts/miniChart/utils/consts.d.ts +0 -0
  467. /package/{components → src/components}/core/notice/item/item.vue.d.ts +0 -0
  468. /package/{components → src/components}/core/notice/notice.vue.d.ts +0 -0
  469. /package/{components → src/components}/core/notice/types.d.ts +0 -0
  470. /package/{components → src/components}/core/notice/utils.d.ts +0 -0
  471. /package/{components → src/components}/dialog/dialog/composables/asyncDialogHandle.d.ts +0 -0
  472. /package/{components → src/components}/dialog/dialog/composables/dialogHandle.d.ts +0 -0
  473. /package/{components → src/components}/dialog/dialog/composables/types.d.ts +0 -0
  474. /package/{components → src/components}/dialog/dialog/composables/utils.d.ts +0 -0
  475. /package/{components → src/components}/dialog/dialog/dialog.vue.d.ts +0 -0
  476. /package/{components → src/components}/dialog/dialog/page/page.vue.d.ts +0 -0
  477. /package/{components → src/components}/dialog/dialog/pageComponent/pageComponent.vue.d.ts +0 -0
  478. /package/{components → src/components}/dialog/dialog/pageComponent/types.d.ts +0 -0
  479. /package/{components → src/components}/dialog/dialog/stories/dialog_example/pages/utils.d.ts +0 -0
  480. /package/{components → src/components}/dialog/dialog/types.d.ts +0 -0
  481. /package/{components → src/components}/dialog/dialog.d.ts +0 -0
  482. /package/{components/forms/checkbox/checkbox.d.ts → src/components/forms/checkbox/types.d.ts} +0 -0
  483. /package/{components/forms/controlLabel/controlLabel.d.ts → src/components/forms/controlLabel/types.d.ts} +0 -0
  484. /package/{components/forms/hint/hint.d.ts → src/components/forms/hint/types.d.ts} +0 -0
  485. /package/{components → src/components}/forms/inputDate/datepicker.d.ts +0 -0
  486. /package/{components → src/components}/forms/inputRange/inputRange.vue.d.ts +0 -0
  487. /package/{components/layout/islandRows/islandRowsRow → src/components/forms/inputRange}/types.d.ts +0 -0
  488. /package/{components → src/components}/forms/loadbar/loadbar.vue.d.ts +0 -0
  489. /package/{components/project/tagSelector/tagIcon/tagIcon.vue.d.ts → src/components/forms/preloader/preloader.vue.d.ts} +0 -0
  490. /package/{components/forms/radio/radio.d.ts → src/components/forms/radio/types.d.ts} +0 -0
  491. /package/{components/forms/switcher/switcher.d.ts → src/components/forms/switcher/types.d.ts} +0 -0
  492. /package/{components → src/components}/formsExt/info/info.vue.d.ts +0 -0
  493. /package/{components/formsExt/menu/menu.d.ts → src/components/formsExt/menu/types.d.ts} +0 -0
  494. /package/{components → src/components}/layout/islandRows/islandRows.vue.d.ts +0 -0
  495. /package/{components → src/components}/layout/islandRows/islandRowsRow/islandRowsRow.vue.d.ts +0 -0
  496. /package/{components/forms/inputRange/inputRange.d.ts → src/components/layout/islandRows/islandRowsRow/types.d.ts} +0 -0
  497. /package/{components → src/components}/layout/islandRows/islandRowsSubTitle/islandRowsSubTitle.vue.d.ts +0 -0
  498. /package/{components → src/components}/layout/rows/rows.vue.d.ts +0 -0
  499. /package/{components → src/components}/layout/rows/types.d.ts +0 -0
  500. /package/{components → src/components}/popup/lib/worker.globalEvents.d.ts +0 -0
  501. /package/{components → src/components}/popup/worker.d.ts +0 -0
  502. /package/{components → src/components}/project/tagSelector/popupListItem/tagPopupListItem.vue.d.ts +0 -0
  503. /package/{components → src/components}/project/tagSelector/popupListItem/types.d.ts +0 -0
  504. /package/{components → src/components}/project/tagSelector/popupOpener/popupOpener.vue.d.ts +0 -0
  505. /package/{components → src/components}/project/tagSelector/tagIcon/types.d.ts +0 -0
  506. /package/{components → src/components}/project/tagSelector/tagSelector.vue.d.ts +0 -0
  507. /package/{components → src/components}/project/tagSelector/tagsDefaults.d.ts +0 -0
  508. /package/{components → src/components}/project/tagSelector/utils/utils.d.ts +0 -0
  509. /package/{components/tabs/tabs/tabs.d.ts → src/components/tabs/tabs/types.d.ts} +0 -0
  510. /package/{components → src/components}/tabsView/tabsView/menuDelimeter.vue.d.ts +0 -0
  511. /package/{components → src/components}/tabsView/tabsView/utils.d.ts +0 -0
  512. /package/{core → src/core}/core/events/resize.d.ts +0 -0
  513. /package/{core → src/core}/core/events.d.ts +0 -0
  514. /package/{core → src/core}/core/preloaders.d.ts +0 -0
  515. /package/{core → src/core}/directives/data.d.ts +0 -0
  516. /package/{core → src/core}/directives/focus.d.ts +0 -0
  517. /package/{core → src/core}/directives/scrollIntoView.d.ts +0 -0
  518. /package/{core → src/core}/directives/scrollShadow.d.ts +0 -0
  519. /package/{core → src/core}/directives/sticky.d.ts +0 -0
  520. /package/{core → src/core}/directives/swimUp.d.ts +0 -0
  521. /package/{core → src/core}/directives/tooltip.d.ts +0 -0
  522. /package/{core → src/core}/plugins/piniaTPA.d.ts +0 -0
  523. /package/{core → src/core}/utils/check.d.ts +0 -0
  524. /package/{core → src/core}/utils/clipboard.d.ts +0 -0
  525. /package/{core → src/core}/utils/device.d.ts +0 -0
  526. /package/{core → src/core}/utils/image.d.ts +0 -0
  527. /package/{core → src/core}/utils/keyboard.d.ts +0 -0
  528. /package/{core → src/core}/utils/lodash.d.ts +0 -0
  529. /package/{core → src/core}/utils/number.d.ts +0 -0
  530. /package/{core → src/core}/utils/price.d.ts +0 -0
  531. /package/{core → src/core}/utils/scroll.d.ts +0 -0
  532. /package/{core → src/core}/utils/store/localStorage.d.ts +0 -0
  533. /package/{core → src/core}/utils/store/plugin.d.ts +0 -0
  534. /package/{core → src/core}/utils/store/store.d.ts +0 -0
  535. /package/{core → src/core}/utils/system.d.ts +0 -0
  536. /package/{core → src/core}/utils/url.d.ts +0 -0
@@ -1,4 +1,6 @@
1
1
  import { Props } from './types';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- declare const _default: DefineComponent<Partial<Props>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Partial<Props>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
3
+ declare const _default: DefineComponent<Partial<Props>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Partial<Props>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
4
+ elRegions: HTMLDivElement;
5
+ }, HTMLDivElement>;
4
6
  export default _default;
@@ -1,4 +1,4 @@
1
- import { Region } from '../selectorRegion';
1
+ import { Region } from '../types';
2
2
  export interface Props {
3
3
  /**
4
4
  * Список регионов
@@ -1,4 +1,4 @@
1
- import { Props, Region, SearcherIndexed, Searcher } from './selectorRegion';
1
+ import { Props, Region, SearcherIndexed, Searcher } from './types';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  type __VLS_Props = Props;
4
4
  type __VLS_PublicProps = {
@@ -38,6 +38,8 @@ export interface Props {
38
38
  forFrequency?: boolean;
39
39
  /**
40
40
  * Добавить элемент `Автовыбор` с ключем `-2`, который в API заменяется на нужный ключ в зависимости от контекста
41
+ *
42
+ * Обратите внимание, что значение `-2` также используется для ключа ПС и индекса Региона не настроенных в проекте
41
43
  */
42
44
  autoRegion?: boolean;
43
45
  /**
@@ -0,0 +1,31 @@
1
+ import { Region, SearcherIndexed } from '../types';
2
+ /**
3
+ * Ключ ПС - для выбора нескольких ПС или регионов
4
+ */
5
+ export declare const searhcerCompareKey = -1;
6
+ /**
7
+ * Ключ ПС или индекса Региона, используется для ПС или Региона, не настроенных в проекте
8
+ *
9
+ * Также, используется для API с возможностью не указывать регион, см. `props.autoRegion`
10
+ */
11
+ export declare const dummyIndex = -2;
12
+ /**
13
+ * Регион - без региона
14
+ */
15
+ export declare const globalRegionIndex = -1;
16
+ export declare const searchersNames: {
17
+ 0: string;
18
+ 1: string;
19
+ 4: string;
20
+ 5: string;
21
+ 7: string;
22
+ 8: string;
23
+ 9: string;
24
+ 20: string;
25
+ 21: string;
26
+ };
27
+ export declare const regionUndefined: Region;
28
+ export declare const searcherUndefined: SearcherIndexed;
29
+ export declare const getRegionAuto: () => Region;
30
+ export declare const getSearcherAuto: () => SearcherIndexed;
31
+ export declare const getRegionGlobal: () => Region;
@@ -1,4 +1,4 @@
1
- import { Region, Searcher, SearcherByKey } from '../selectorRegion';
1
+ import { Region, Searcher, SearcherByKey } from '../types';
2
2
  import { AsyncTopDialogHandle } from '../../../dialog/dialog/composables/asyncDialogHandle';
3
3
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
4
  import { Props } from '../dialog_selectorRegions/types';
@@ -29,4 +29,6 @@ export declare const findRegion: (forFrequency: boolean, searchRegion: Partial<R
29
29
  *
30
30
  * @see import('../dialog_selectorRegions/types').Props
31
31
  */
32
- export declare const dialogSelectorRegions: AsyncTopDialogHandle<DefineComponent<Partial< Props>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Partial< Props>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>>;
32
+ export declare const dialogSelectorRegions: AsyncTopDialogHandle<DefineComponent<Partial< Props>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Partial< Props>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
33
+ elRegions: HTMLDivElement;
34
+ }, HTMLDivElement>>;
@@ -1,5 +1,6 @@
1
1
  import { ModelRef, Ref } from 'vue';
2
2
  import { Props as TagSelectorProps, Tag } from '../types';
3
+ import { Styling } from '../../../forms/button/types';
3
4
  export type TagSelectorTarget = {
4
5
  model: ModelRef<TagSelectorProps['modelValue']> | Ref<TagSelectorProps['modelValue']>;
5
6
  mode: Props['mode'];
@@ -59,4 +60,5 @@ export interface Props {
59
60
  * Полезная нагрузка, при редактировании целевого объекта
60
61
  */
61
62
  payload?: Record<string, any>;
63
+ styling?: Styling;
62
64
  }
@@ -0,0 +1,4 @@
1
+ import { Props } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
4
+ export default _default;
@@ -1,4 +1,5 @@
1
1
  import { components as componentsTagId } from 'topvisor-openapi/src/ts/Tags_2/Types/TagId';
2
+ import { Styling } from '../../forms/button/types';
2
3
  /**
3
4
  * Информация о теге
4
5
  */
@@ -89,6 +90,7 @@ export interface Props {
89
90
  * Не рекомендуется менять
90
91
  */
91
92
  emitDelay?: number;
93
+ styling?: Styling;
92
94
  }
93
95
  export type FiltersAction = 'add' | 'replace' | 'delete';
94
96
  export type Emits = {
@@ -1,5 +1,5 @@
1
1
  import { Ref } from 'vue';
2
- import { OpenerProps as PopupOpenerProps } from '../../../popup/popup/popup';
2
+ import { OpenerProps as PopupOpenerProps } from '../../../popup/popup/types';
3
3
  import { Props as TagSelectorOpenerProps } from '../popupOpener/types';
4
4
  /**
5
5
  * Сгенерировтаь элемент для открытия popup с выбором тегов
@@ -1,4 +1,4 @@
1
- import { PropsContent } from './tabs';
1
+ import { PropsContent } from './types';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  declare function __VLS_template(): {
4
4
  attrs: Partial<{}>;
@@ -1,4 +1,4 @@
1
- import { PropsTab } from './tabs';
1
+ import { PropsTab } from './types';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  declare function __VLS_template(): {
4
4
  attrs: Partial<{}>;
@@ -1,4 +1,4 @@
1
- import { Props } from './tabs';
1
+ import { Props } from './types';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  declare function __VLS_template(): {
4
4
  attrs: Partial<{}>;
@@ -0,0 +1,3 @@
1
+ export { default as TopTabs } from './tabs/tabs.vue';
2
+ export { default as TopTabsTab } from './tabs/tab.vue';
3
+ export { default as TopTabsContent } from './tabs/content.vue';
@@ -1,4 +1,4 @@
1
- import { PropsMenu } from './tabsView';
1
+ import { PropsMenu } from './types';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  type __VLS_Props = PropsMenu;
4
4
  type __VLS_PublicProps = {
@@ -1,4 +1,4 @@
1
- import { PropsMenuItem } from './tabsView';
1
+ import { PropsMenuItem } from './types';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, Component, ComponentProvideOptions } from 'vue';
3
3
  declare function __VLS_template(): {
4
4
  attrs: Partial<{}>;
@@ -1,4 +1,4 @@
1
- import { PropsMenuTitle } from './tabsView';
1
+ import { PropsMenuTitle } from './types';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  declare function __VLS_template(): {
4
4
  attrs: Partial<{}>;
@@ -0,0 +1,12 @@
1
+ import { InjectionKey, ModelRef, UnwrapNestedRefs } from 'vue';
2
+ import { Store as DefineStore } from '../../../core/utils/store';
3
+ import { Props, Store } from './types';
4
+ export declare const injectionKey: InjectionKey<Store>;
5
+ /**
6
+ * Инициировать Store компонента
7
+ */
8
+ export declare const defineTabsStore: (props: Props, model: ModelRef<string | undefined>) => UnwrapNestedRefs<Store> & DefineStore;
9
+ /**
10
+ * Получить Store компонента
11
+ */
12
+ export declare const useTabsStore: () => Store & DefineStore;
@@ -1,4 +1,4 @@
1
- import { Props } from './tabsView';
1
+ import { Props } from './types';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  type __VLS_Props = Props;
4
4
  type __VLS_PublicProps = {
@@ -60,13 +60,13 @@ export interface PropsMenu {
60
60
  */
61
61
  isShortable: Props['isShortable'];
62
62
  /**
63
- * Флаг загрузки компоненета вкладки.
63
+ * Флаг загрузки компонента вкладки.
64
64
  */
65
65
  isLoading: boolean;
66
66
  }
67
67
  export interface PropsMenuItem {
68
68
  /**
69
- * Униальное имя вкладки, указывать только если кнопка должна менять выбранную вкладку
69
+ * Уникальное имя вкладки, указывать, только если кнопка должна менять выбранную вкладку
70
70
  */
71
71
  name?: Props['modelValue'];
72
72
  /**
@@ -0,0 +1,3 @@
1
+ export { default as TopTabsView } from './tabsView/tabsView.vue';
2
+ export { default as TopTabsViewMenuItem } from './tabsView/menuItem.vue';
3
+ export { default as TopTabsViewMenuTitle } from './tabsView/menuTitle.vue';
@@ -0,0 +1,8 @@
1
+ import { default as Core } from './core/core';
2
+ import { default as corePlugin } from './plugins/core';
3
+ import { Lang, default as i18nPlugin, useI18n, useI18nLang } from './plugins/i18n';
4
+ import { default as piniaTPAPlugin } from './plugins/piniaTPA';
5
+ export { Core, useI18n, useI18nLang, corePlugin, i18nPlugin, piniaTPAPlugin, };
6
+ export { useAsyncTopDialog, useTopDialog } from '../components/dialog/dialog/composables/utils';
7
+ export { TopDialogWorker } from '../components/dialog/lib/worker';
8
+ export type { Lang, };
@@ -11,7 +11,7 @@ export default class Core {
11
11
  documentClassModificators: Map<string | number, string> & Omit<Map<string | number, string>, keyof Map<any, any>>;
12
12
  dateFormat: string;
13
13
  currency: "USD" | "RUB" | "EUR";
14
- gmt: string;
14
+ timezoneOffset: number;
15
15
  isMobile: boolean;
16
16
  isMobileUA: boolean;
17
17
  isRetina: boolean;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Конфигурация UI
3
3
  *
4
- * Начальные значений устанавилаются при подклчюении Core во Vue приложение через app.use(PluginCore, options)
4
+ * Начальные значений устанавливаются при подключении Core во Vue приложение через app.use(PluginCore, options)
5
5
  */
6
6
  declare const _default: {
7
7
  /**
@@ -17,7 +17,7 @@ declare const _default: {
17
17
  /**
18
18
  * CSS-классы модификаторы для документа страницы
19
19
  *
20
- * Могут испоьзвоаться компонентами для включения необхоимых режимов отображения страницы
20
+ * Могут использоваться компонентами для включения необходимых режимов отображения страницы
21
21
  *
22
22
  * Разные компоненты могут добавлять один и тот же класс, чтобы не было конфликтов каждый компонент управляет только своим классом:
23
23
  * - Ключ - уникальное имя компонента, например в setup: `const uid = Math.random();`
@@ -31,16 +31,17 @@ declare const _default: {
31
31
  */
32
32
  widthForMobile: number;
33
33
  /**
34
- * Формат даты, который будет испоьзоваться по умолчанию для вывода даты, как правило, завсит от текущего пользователя
34
+ * Формат даты, который будет использоваться по умолчанию для вывода даты, как правило, зависит от текущего пользователя
35
35
  */
36
36
  dateFormat: string;
37
37
  /**
38
- * Валюта, которая будет испоьзоваться по умолчанию, как правило, завсит от текущего пользователя
38
+ * Валюта, которая будет использоваться по умолчанию, как правило, зависит от текущего пользователя
39
39
  */
40
40
  currency: "RUB" | "USD" | "EUR";
41
41
  /**
42
- * Для Москвы: +0300
42
+ * Смещение timezone относительно UTC в минутах
43
+ * Для Москвы: -180
43
44
  */
44
- gmt: string;
45
+ timezoneOffset: number;
45
46
  };
46
47
  export default _default;
@@ -8,7 +8,7 @@ declare const state: {
8
8
  documentClassModificators: Map<string | number, string>;
9
9
  dateFormat: string;
10
10
  currency: "USD" | "RUB" | "EUR";
11
- gmt: string;
11
+ timezoneOffset: number;
12
12
  /**
13
13
  * Device by size
14
14
  *
@@ -0,0 +1,8 @@
1
+ import { DirectiveBinding } from 'vue';
2
+ /**
3
+ * Сохранить данные в элементе
4
+ */
5
+ declare const preloader: {
6
+ mounted: (el: HTMLElement, binding: DirectiveBinding) => Promise<void>;
7
+ };
8
+ export default preloader;
@@ -11,7 +11,7 @@ declare const TopNotice: DefineComponent<Props, {}, {}, {}, {}, ComponentOptions
11
11
  declare global {
12
12
  const vd: typeof console.log;
13
13
  }
14
- declare module 'vue' {
14
+ declare module '@vue/runtime-core' {
15
15
  interface ComponentCustomProperties {
16
16
  /**
17
17
  * Статический класс с текущим состоянимем UI
@@ -42,7 +42,7 @@ declare module 'vue' {
42
42
  TopDialogs: typeof TopDialogs;
43
43
  }
44
44
  }
45
- type CoreOptions = PartialBy<typeof coreDefaultOptions, 'gmt' | 'documentClassModificators'>;
45
+ type CoreOptions = PartialBy<typeof coreDefaultOptions, 'timezoneOffset' | 'documentClassModificators'>;
46
46
  type Options = CoreOptions & {
47
47
  topPopupOptions?: TopPopupOptions;
48
48
  topDialogOptions?: TopDialogOptions;
@@ -27,8 +27,8 @@ type Options = {
27
27
  * ```
28
28
  */
29
29
  type I18n = Reactive<Options['i18n']>;
30
- type i18nRender = <T extends keyof I18n>(categoryName: T, key: keyof I18n[T], props: Record<string, number | string>) => string;
31
- declare module 'vue' {
30
+ type I18nRender = <T extends keyof I18n>(categoryName: T, key: keyof I18n[T], props: Record<string, number | string>) => string;
31
+ declare module '@vue/runtime-core' {
32
32
  interface ComponentCustomProperties {
33
33
  /**
34
34
  * Загруженные словари
@@ -36,9 +36,9 @@ declare module 'vue' {
36
36
  * Можно использовать как функцию для подстановки значений в формате: `Текст {{ propName }}`
37
37
  *
38
38
  * @see I18n
39
- * @see i18nRender
39
+ * @see I18nRender
40
40
  */
41
- $i18n: I18n & i18nRender;
41
+ $i18n: I18n & I18nRender;
42
42
  /**
43
43
  * Текущий язык
44
44
  */
@@ -2,6 +2,15 @@
2
2
  * Работа с датами
3
3
  * @packageDocumentation
4
4
  */
5
+ /**
6
+ * Уровень детализации времени
7
+ *
8
+ * - 0: только дата
9
+ * - 1: дата и часы
10
+ * - 2: дата и часы с минутами
11
+ * - 3: дата и часы с минутами и секундами
12
+ */
13
+ type Time = 0 | 1 | 2 | 3;
5
14
  /**
6
15
  * Получить день недели
7
16
  */
@@ -10,26 +19,32 @@ export declare const getDayOfWeek: (y: number, m: number, d: number) => string;
10
19
  * Преобразовать дату в строку формата Y-m-d H:i:s
11
20
  * @param dateObject - объект Date
12
21
  * @param langFormat - если true, формат даты будет взят из Core.state.dateFormat
13
- * @param timeFormat - 0-только дата | 1-дата и часы | 2-дата и часы с минутами | 3-дата и часы с минутами и секундами
22
+ * @param timeFormat - уровень детализации времени
14
23
  */
15
- export declare const dateToString: (dateObject: Date, langFormat?: boolean, timeFormat?: 0 | 1 | 2 | 3) => string;
24
+ export declare const dateToString: (dateObject: Date, langFormat?: boolean, timeFormat?: Time) => string;
16
25
  /**
17
26
  * Получить объект Date из строки
18
27
  * @param date - строка с датой
19
28
  */
20
29
  export declare function stringToDate(date: string): Date;
30
+ /**
31
+ * Генерация даты-строки из миллисекунд (UTC), в формате Y-m-d H:i:s с учётом часового пояса пользователя
32
+ *
33
+ * Для настройки часового пояса пользователя используется `Core.state.timezoneOffset`
34
+ *
35
+ * @see genDate()
36
+ */
37
+ export declare const genUserDate: (timestamp?: number, useFormat?: boolean, time?: Time | "auto") => string;
21
38
  /**
22
39
  * Генерация даты-строки из миллисекунд (UTC), в формате Y-m-d H:i:s
23
40
  * @param timestamp - дата в мс, если не передана, берется дата на момент вызова функции
24
41
  * @param useFormat - если true, формат даты будет взят из Core.state.dateFormat
25
- * @param time
26
- * - 0: только дата
27
- * - 1: дата часы
28
- * - 2: дата и часы с минутами
29
- * - 3: дата и часы с минутами и секундами
30
- * - auto: часы и минуты будут выводиться только, если они не равны нулю
42
+ * @param time - уровень детализации времени
43
+ * - auto: часы и минуты будут выводиться, только если они не равны нулю
44
+ * @param timezoneOffset - смещение часового пояса от UTC в минутах.
45
+ * Если не указано используется локальный часовой пояс пользователя
31
46
  */
32
- export declare function genDate(timestamp: number | undefined, useFormat?: boolean, time?: 0 | 1 | 2 | 3 | 'auto'): string;
47
+ export declare function genDate(timestamp?: number, useFormat?: boolean, time?: Time | 'auto', timezoneOffset?: number): string;
33
48
  /**
34
49
  * Генерация даты-строки (время московское) из миллисекунд (UTC), в формате Y-m-d H:i:s
35
50
  * @param ms - дата в мс, если не передана, берется дата на момент вызова функции
@@ -39,14 +54,17 @@ export declare function genDateMoscow(ms: number | undefined, useFormat?: boolea
39
54
  /**
40
55
  * Перевод даты в формат пользователя
41
56
  * @param dateMixed - объект даты или строка в формате Y-m-d H:i:s
42
- * @param time - 0-только дата | 1-дата и часы | 2-дата и часы с минутами | 3-дата и часы с минутами и секундами
43
- * @param dateFormat -
57
+ * @param time - уровень детализации времени
58
+ * @param dateFormat - формат даты, если не указан, будет взят из Core.state.dateFormat
44
59
  * @param emptyValue - значение, которое надо вернуть, если дата не указана
60
+ *
61
+ * @todo Привести к единой логике обработку строк и дат
45
62
  */
46
- export declare function dateFormat(dateMixed: string | Date, time?: 0 | 1 | 2 | 3, dateFormat?: string, emptyValue?: string): string;
63
+ export declare function dateFormat(dateMixed: string | Date, time?: Time, dateFormat?: string, emptyValue?: string): string;
47
64
  /**
48
65
  * Перевод даты из формата пользователя в системный формат Y-m-d H:i:s
49
66
  * @param date - строка с датой
50
67
  * @param emptyValue - значение, которое надо вернуть, если дата не указана
51
68
  */
52
69
  export declare function dateUnformat(date: string, emptyValue?: string): string;
70
+ export {};
@@ -27,11 +27,20 @@ export declare function offset(el: HTMLElement): {
27
27
  };
28
28
  /**
29
29
  * Получить значение css свойства элемента
30
+ *
30
31
  * @param el
31
32
  * @param property - имя свойства
32
33
  * @return - значение css стиля
33
34
  */
34
35
  export declare function css(el: HTMLElement, property: string): string;
36
+ /**
37
+ * Получить значение css свойства целочисленного типа
38
+ *
39
+ * @param el
40
+ * @param property - имя свойства
41
+ * @return - значение css стиля
42
+ */
43
+ export declare function cssNumber(el: HTMLElement, property: string): number;
35
44
  /**
36
45
  * Обернуть элемент и вернуть только что созданный элемент
37
46
  * @param el - элемент, который требуется обернуть
@@ -61,7 +70,7 @@ export declare function querySelectorAllVisible(el: HTMLElement | Document, sele
61
70
  * @param el - корневой элемент поиска
62
71
  * @param selectors - см. параметр selectors в Document.querySelectorAll()
63
72
  */
64
- export declare function querySelectorAllArray(el: HTMLElement | Document, selectors: string): HTMLElement[];
73
+ export declare function querySelectorAllArray<El extends HTMLElement = HTMLElement>(el: HTMLElement | Document, selectors: string): El[];
65
74
  /**
66
75
  * Хранилище данных элемента
67
76
  * @param el
@@ -83,6 +92,7 @@ declare const _default: {
83
92
  isVisible: typeof isVisible;
84
93
  offset: typeof offset;
85
94
  css: typeof css;
95
+ cssNumber: typeof cssNumber;
86
96
  wrap: typeof wrap;
87
97
  querySelectorVisible: typeof querySelectorVisible;
88
98
  querySelectorVisibleLast: typeof querySelectorVisibleLast;
@@ -28,6 +28,6 @@ export declare const setHashs: (data: Map<string, string> | object | any, replac
28
28
  * @see history.replaceState
29
29
  * @see history.pushState
30
30
  *
31
- * @todo Мешает SPA сайта, вместо него использовать historyPushState() из @/component/vue/app/spa
31
+ * @todo Объединить с historyPushState() из @/component/vue/app/spa
32
32
  */
33
33
  export declare const historySetState: (replace: boolean | undefined, hash: string) => void;
@@ -19,7 +19,7 @@ export declare const searchersNames: {
19
19
  * Получить иконку ПС
20
20
  * @param searcherKey - цифра или строка с цифрой обозначающая ПС. Если null вернется иконка с глобусом
21
21
  */
22
- export declare const getSearcherGIcon: (searcherKey: number | string | null) => string;
22
+ export declare const getSearcherGIcon: (searcherKey: number | string | undefined) => string;
23
23
  /**
24
24
  * Получить иконку устройства (ПК, планшет, смартфон)
25
25
  */
@@ -3,4 +3,4 @@
3
3
  * @packageDocumentation
4
4
  */
5
5
  export { defineStore, useStore } from './store/store';
6
- export { default as plugin } from './store/store';
6
+ export { default as plugin, type Store } from './store/store';
@@ -2,6 +2,18 @@
2
2
  * Работа со строками
3
3
  * @packageDocumentation
4
4
  */
5
+ export declare const REGEXP_START_SYMBOL_ICON: RegExp;
6
+ /**
7
+ * Извлекает иконку и оставшийся контент из строки
8
+ *
9
+ * Возвращает объект со свойствами:
10
+ * - `icon`: содержит символ иконки, если он присутствует, иначе `null`
11
+ * - `content`: содержит оставшийся текст без символа иконки, если он был извлечен, или всю строку
12
+ */
13
+ export declare const extractIconAndContent: (content: string) => {
14
+ icon: string | null;
15
+ content: string;
16
+ };
5
17
  /**
6
18
  * Сгенерировать числовой хэш от строки для идентификатора
7
19
  */
@@ -26,7 +38,7 @@ export declare const nl2br: (str: string) => string;
26
38
  * @param dimension - размерность, по умолчанию 1000
27
39
  * @param suffix - суффикс к десятичной приставке (по умолчанию выводится латинская заглавная буква)
28
40
  */
29
- export declare const numberWithWord: (number: number, precision?: number, dimension?: number, suffix?: string) => string;
41
+ export declare const numberWithWord: (number: number | string, precision?: number, dimension?: number, suffix?: string) => string;
30
42
  /**
31
43
  * Обрезать текст под три точки
32
44
  * @param string
package/tabs/tabs.amd.js CHANGED
@@ -1,2 +1,2 @@
1
- define(["require","exports","vue","../require/css.amd!../assets/tabs.css"],function(T,s,e){"use strict";if(typeof e>"u")var e=window.Vue;const n={class:e.normalizeClass({"top-tabs":!0})},l={key:0,class:"top-tabs_header"},r={class:"top-tabs_contents"},d=e.defineComponent({__name:"tabs",props:{id:{}},setup(o){return(t,a)=>(e.openBlock(),e.createElementBlock("div",n,[e.renderSlot(t.$slots,"buttons"),t.$slots.header?(e.openBlock(),e.createElementBlock("div",l,[e.renderSlot(t.$slots,"header")])):e.createCommentVNode("",!0),e.createElementVNode("div",r,[e.renderSlot(t.$slots,"contents")])]))}}),c=["id","name","value","checked","disabled"],i=["for"],p=e.defineComponent({__name:"tab",props:{tabsId:{},name:{},title:{},active:{type:Boolean},disabled:{type:Boolean}},setup(o){return(t,a)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("input",{type:"radio",class:"top-tabs_tabInput top-unvisible",id:t.tabsId+t.name,name:t.tabsId,value:t.name,checked:t.active,disabled:t.disabled},null,8,c),e.createElementVNode("label",{class:e.normalizeClass({"top-tabs_tabLabel":!0,"top-forms-focusable":!0,"top-disabled":t.disabled}),for:t.tabsId+t.name},[e.renderSlot(t.$slots,"default")],10,i)],64))}}),b=["data-tabs-name"],u=e.defineComponent({__name:"content",props:{name:{}},setup(o){return(t,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass({"top-tabs_content":!0}),"data-tabs-name":t.name},[e.renderSlot(t.$slots,"default")],8,b))}}),m=d,_=p,f=u;s.TopTabs=m,s.TopTabsContent=f,s.TopTabsTab=_,Object.defineProperty(s,Symbol.toStringTag,{value:"Module"})});
1
+ define(["require","exports","vue","../require/css.amd!../assets/tabs.css"],(function(b,s,e){"use strict";if(typeof e>"u")var e=window.Vue;const n={class:e.normalizeClass({"top-tabs":!0})},l={key:0,class:"top-tabs_header"},r={class:"top-tabs_contents"},d=e.defineComponent({__name:"tabs",props:{id:{}},setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock("div",n,[e.renderSlot(t.$slots,"buttons"),t.$slots.header?(e.openBlock(),e.createElementBlock("div",l,[e.renderSlot(t.$slots,"header")])):e.createCommentVNode("",!0),e.createElementVNode("div",r,[e.renderSlot(t.$slots,"contents")])]))}}),i=["id","name","value","checked","disabled"],c=["for"],p=e.defineComponent({__name:"tab",props:{tabsId:{},name:{},title:{},active:{type:Boolean},disabled:{type:Boolean}},setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("input",{type:"radio",class:"top-tabs_tabInput top-unvisible",id:t.tabsId+t.name,name:t.tabsId,value:t.name,checked:t.active,disabled:t.disabled},null,8,i),e.createElementVNode("label",{class:e.normalizeClass({"top-tabs_tabLabel":!0,"top-forms-focusable":!0,"top-disabled":t.disabled}),for:t.tabsId+t.name},[e.renderSlot(t.$slots,"default")],10,c)],64))}}),u=["data-tabs-name"],m=e.defineComponent({__name:"content",props:{name:{}},setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass({"top-tabs_content":!0}),"data-tabs-name":t.name},[e.renderSlot(t.$slots,"default")],8,u))}});s.TopTabs=d,s.TopTabsContent=m,s.TopTabsTab=p,Object.defineProperty(s,Symbol.toStringTag,{value:"Module"})}));
2
2
  //# sourceMappingURL=tabs.amd.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tabs.amd.js","sources":["../../src/components/tabs/tabs.ts"],"sourcesContent":["import type { ComponentCustomProps } from 'vue';\r\n\r\nimport Tabs from './tabs/tabs.vue';\r\nimport TabsTab from './tabs/tab.vue';\r\nimport TabsContent from './tabs/content.vue';\r\n\r\nexport const TopTabs = Tabs as typeof Tabs & ComponentCustomProps;\r\nexport const TopTabsTab = TabsTab as typeof TabsTab & ComponentCustomProps;\r\nexport const TopTabsContent = TabsContent as typeof TabsContent & ComponentCustomProps;\r\n"],"names":["TopTabs","_sfc_main$2","TopTabsTab","_sfc_main$1","TopTabsContent","_sfc_main"],"mappings":"o8CAMOA,EAAAC,EACAC,EAAAC,EACAC,EAAAC"}
1
+ {"version":3,"file":"tabs.amd.js","sources":["../../src/components/tabs/tabs/tabs.vue","../../src/components/tabs/tabs/tab.vue","../../src/components/tabs/tabs/content.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport type { Props } from './types';\n\ndefineProps<Props>();\n</script>\n\n<template>\n\t<div\n\t\t:class=\"{\n\t\t\t'top-tabs': true,\n\t\t}\"\n\t>\n\t\t<!-- @slot Кнопки вкладок, ожидает передачу компонентов TabTitle -->\n\t\t<slot name=\"buttons\"></slot>\n\n\t\t<div v-if=\"$slots.header\" class=\"top-tabs_header\">\n\t\t\t<!-- @slot Слот с проивзольным содержимым, которое будет добавлено справа от вкладок -->\n\t\t\t<slot name=\"header\"></slot>\n\t\t</div>\n\n\t\t<div class=\"top-tabs_contents\">\n\t\t\t<!-- @slot Контент вкладок, ожидает передачу компонентов TabContent -->\n\t\t\t<slot name=\"contents\"></slot>\n\t\t</div>\n\t</div>\n</template>\n\n<style>\n.top-tabs {\n\tbackground: var(--color-layout-front-1);\n\tborder-radius: 8px;\n\tborder: 1px solid var(--color-line-2-opacity);\n\tpadding: 0;\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\talign-items: stretch;\n}\n\n.top-tabs_header {\n\tpadding: 6px;\n\tmargin-left: auto;\n\tdisplay: flex;\n\talign-items: center;\n\tgap: 8px;\n\tflex-wrap: wrap;\n}\n\n/* Содержимое вкладок */\n.top-tabs_contents {\n\tborder-top: 1px solid var(--color-line-2-opacity);\n\twidth: 100%;\n\tmargin-top: -1px;\n}\n\n/* Состояние открытости вкладок */\n.top-tabs_tabInput:checked:nth-child(1) ~ .top-tabs_contents > .top-tabs_content:nth-child(1),\n.top-tabs_tabInput:checked:nth-child(3) ~ .top-tabs_contents > .top-tabs_content:nth-child(2),\n.top-tabs_tabInput:checked:nth-child(5) ~ .top-tabs_contents > .top-tabs_content:nth-child(3),\n.top-tabs_tabInput:checked:nth-child(7) ~ .top-tabs_contents > .top-tabs_content:nth-child(4),\n.top-tabs_tabInput:checked:nth-child(9) ~ .top-tabs_contents > .top-tabs_content:nth-child(5),\n.top-tabs_tabInput:checked:nth-child(11) ~ .top-tabs_contents > .top-tabs_content:nth-child(6) {\n\tdisplay: block;\n}\n</style>\n","<script setup lang=\"ts\">\nimport type { PropsTab } from './types';\n\ndefineProps<PropsTab>();\n</script>\n\n<template>\n\t<input\n\t\ttype=\"radio\"\n\t\tclass=\"top-tabs_tabInput top-unvisible\"\n\t\t:id=\"tabsId + name\"\n\t\t:name=\"tabsId\"\n\t\t:value=\"name\"\n\t\t:checked=\"active\"\n\t\t:disabled=\"disabled\"\n\t/>\n\n\t<label\n\t\t:class=\"{\n\t\t\t'top-tabs_tabLabel': true,\n\t\t\t'top-forms-focusable': true,\n\t\t\t'top-disabled': disabled,\n\t\t}\"\n\t\t:for=\"tabsId + name\"\n\t>\n\t\t<slot></slot>\n\t</label>\n</template>\n\n<style>\n.top-tabs_tabLabel {\n\tcolor: var(--color-text-1);\n\tcursor: pointer;\n\tborder-bottom: 2px solid transparent;\n\tpadding: 14px 20px;\n\tposition: relative;\n\tdisplay: flex;\n\talign-items: center;\n}\n\n.top-tabs_tabLabel:hover {\n\tborder-color: var(--color-line-2);\n}\n\n.top-tabs_tabInput:checked + .top-tabs_tabLabel {\n\tborder-color: var(--color-line-primary-1);\n\tcolor: var(--color-text-primary);\n}\n</style>\n","<script setup lang=\"ts\">\nimport type { PropsContent } from './types';\n\ndefineProps<PropsContent>();\n</script>\n\n<template>\n\t<div\n\t\t:class=\"{\n\t\t\t'top-tabs_content': true,\n\t\t}\"\n\t\t:data-tabs-name=\"name\"\n\t>\n\t\t<slot></slot>\n\t</div>\n</template>\n\n<style>\n.top-tabs_content {\n\tpadding: 14px;\n\toverflow: auto;\n\tdisplay: none;\n}\n</style>\n"],"names":["vue","_ctx","_hoisted_2$1","name","tabsId","disabled","_hoisted_1"],"mappings":"gXAwBOA,EAAA,WAAAC,EAAA,OAAA,SAAA,EAXuBA,EAAA,OAAA,QAAAD,EAAA,UAAA,EAAAA,EAAA,mBAAA,MAAAE,EAAA,CAKtBF,EAAA,WAAAC,EAAA,OAAA,QAAA,CADsB,CAAA,GAAAD,EAAA,mBAAA,GAAA,EAAA,gCAMtBA,EAAA,WAAAC,EAAA,OAAA,UAAA,qWCbQE,KAAAA,EAAAA,OACPC,MAAAA,EAAAA,KACCD,QAAAA,EAAAA,0BAEGE,EAAAA,KAAAA,EAAAA,CAAAA,iIAIgFA,CAAAA,qBAK5EF,EAAAA,sNCfP,mBAAA,4BAGSA,EAAAA,iCAEJ,EAAA,EAAAG,CAAA"}
package/tabs/tabs.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export * from '../components/tabs/tabs'
1
+ export * from '../src/components/tabs/tabs'
2
2
  export {}