@topvisor/ui 1.0.42-date.2 → 1.0.42-dev.2

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 (992) hide show
  1. package/.env_example +1 -0
  2. package/.gitlab-ci/.gitlab-ci.yml +27 -0
  3. package/.gitlab-ci/README.md +59 -0
  4. package/.gitlab-ci/common/install.yml +21 -0
  5. package/.gitlab-ci/common/lint.yml +11 -0
  6. package/.gitlab-ci/common/redmine.yml +12 -0
  7. package/.gitlab-ci/common/version.yml +34 -0
  8. package/.gitlab-ci/storybook/build.yml +18 -0
  9. package/.gitlab-ci/storybook/deploy.yml +50 -0
  10. package/.gitlab-ci/ui/build.yml +12 -0
  11. package/.gitlab-ci/ui/deploy-dist.yml +89 -0
  12. package/.gitlab-ci/ui/deploy.yml +19 -0
  13. package/.idea/.gitignore +11 -0
  14. package/.idea/codeStyles/Project.xml +205 -0
  15. package/.idea/codeStyles/codeStyleConfig.xml +5 -0
  16. package/.idea/externalDependencies.xml +6 -0
  17. package/.idea/icon.svg +5 -0
  18. package/.idea/inspectionProfiles/Disabled.xml +824 -0
  19. package/.idea/inspectionProfiles/Project_Default.xml +33 -0
  20. package/.idea/modules.xml +8 -0
  21. package/.idea/php.xml +19 -0
  22. package/.idea/ui.iml +8 -0
  23. package/.idea/vcs.xml +6 -0
  24. package/.storybook/TopTheme.ts +115 -0
  25. package/.storybook/TopThemeManager.ts +53 -0
  26. package/.storybook/argsArrayDecorator.ts +120 -0
  27. package/.storybook/main.ts +78 -0
  28. package/.storybook/manager.ts +25 -0
  29. package/.storybook/preview-head.html +21 -0
  30. package/.storybook/preview.ts +50 -0
  31. package/.storybook/vue/coreDecorator.ts +86 -0
  32. package/.storybook/vue/vModelDecorator.ts +46 -0
  33. package/.versionrc.json +16 -0
  34. package/.vscode/extensions.json +11 -0
  35. package/.vscode/keybindings.example.json +121 -0
  36. package/.vscode/settings.json +45 -0
  37. package/CHANGELOG.md +428 -0
  38. package/NPM.md +25 -0
  39. package/PUBLISH.md +88 -0
  40. package/README.md +37 -59
  41. package/STORYBOOK.md +41 -0
  42. package/USE_IN_PROJECT.md +32 -0
  43. package/package.json +63 -2
  44. package/public/README.md +82 -0
  45. package/rollup.config.ts +38 -0
  46. package/scripts/afterBuild.sh +13 -0
  47. package/scripts/cssModules.ts +39 -0
  48. package/scripts/genDocs.sh +20 -0
  49. package/scripts/plugin/amdFix.ts +83 -0
  50. package/scripts/plugin/autoloadCSS.ts +155 -0
  51. package/src/CHANGELOG.md.mdx +4 -0
  52. package/src/components/charts/charts.ts +8 -0
  53. package/src/components/charts/miniChart/miniChart.stories.ts +66 -0
  54. package/src/components/charts/miniChart/miniChart.vue +158 -0
  55. package/src/components/charts/miniChart/stories/README.md +9 -0
  56. package/src/components/charts/miniChart/stories/dummy.ts +25 -0
  57. package/src/components/charts/miniChart/styles/miniChart.css +87 -0
  58. package/src/components/charts/miniChart/types.ts +110 -0
  59. package/src/components/charts/miniChart/utils/consts.ts +9 -0
  60. package/src/components/charts/miniCharts/miniCharts.stories.ts +75 -0
  61. package/src/components/charts/miniCharts/miniCharts.ts +24 -0
  62. package/src/components/charts/miniCharts/miniCharts.vue +124 -0
  63. package/src/components/charts/miniCharts/stories/README.md +18 -0
  64. package/src/components/charts/miniCharts/stories/dummy.ts +70 -0
  65. package/src/components/charts/miniCharts/stories/overview.vue +139 -0
  66. package/src/components/charts/miniCharts/styles/miniCharts.css +32 -0
  67. package/src/components/component.ts +130 -0
  68. package/src/components/core/core.mdx +7 -0
  69. package/src/components/core/notice/item/item.vue +145 -0
  70. package/src/components/core/notice/item/style.css +70 -0
  71. package/src/components/core/notice/item/types.ts +74 -0
  72. package/src/components/core/notice/notice.stories.ts +104 -0
  73. package/src/components/core/notice/notice.vue +69 -0
  74. package/src/components/core/notice/stories/README.md +34 -0
  75. package/src/components/core/notice/utils.ts +115 -0
  76. package/src/components/dialog/dialog/Dialog (code).mdx +61 -0
  77. package/src/components/dialog/dialog/composables/asyncDialogHandle.ts +99 -0
  78. package/src/components/dialog/dialog/composables/dialogHandle.ts +178 -0
  79. package/src/components/dialog/dialog/composables/types.ts +12 -0
  80. package/src/components/dialog/dialog/composables/utils.ts +39 -0
  81. package/src/components/dialog/dialog/dialog.stories.ts +82 -0
  82. package/src/components/dialog/dialog/dialog.vue +74 -0
  83. package/src/components/dialog/dialog/dialogs/dialogs.vue +61 -0
  84. package/src/components/dialog/dialog/page/page.vue +86 -0
  85. package/src/components/dialog/dialog/page/types.ts +84 -0
  86. package/src/components/dialog/dialog/page.stories.ts +26 -0
  87. package/src/components/dialog/dialog/pageComponent/pageComponent.vue +57 -0
  88. package/src/components/dialog/dialog/pageComponent/types.ts +21 -0
  89. package/src/components/dialog/dialog/pageComponent.stories.ts +26 -0
  90. package/src/components/dialog/dialog/stories/README.md +117 -0
  91. package/src/components/dialog/dialog/stories/autoload.ts +12 -0
  92. package/src/components/dialog/dialog/stories/dialog_example/dialog_example.vue +77 -0
  93. package/src/components/dialog/dialog/stories/dialog_example/pages/async.vue +57 -0
  94. package/src/components/dialog/dialog/stories/dialog_example/pages/default.vue +56 -0
  95. package/src/components/dialog/dialog/stories/dialog_example/pages/headerButtons.vue +56 -0
  96. package/src/components/dialog/dialog/stories/dialog_example/pages/utils.ts +26 -0
  97. package/src/components/dialog/dialog/stories/dialog_example/pages/withoutCache.vue +56 -0
  98. package/src/components/dialog/dialog/stories/page/README.md +24 -0
  99. package/src/components/dialog/dialog/stories/pageComponent/README.md +12 -0
  100. package/src/components/dialog/dialog/style/dialog.css +319 -0
  101. package/src/components/dialog/dialog/style/dialog.m.css +40 -0
  102. package/src/components/dialog/dialog/style/dialog.pc.css +73 -0
  103. package/src/components/dialog/dialog/style/modern/dialog.css +12 -0
  104. package/src/components/dialog/dialog/style/modern/dialog.pc.css +3 -0
  105. package/src/components/dialog/dialog/types.ts +69 -0
  106. package/src/components/dialog/dialog.ts +7 -0
  107. package/src/components/dialog/lib/types.ts +42 -0
  108. package/src/components/dialog/lib/utils.globalEvents.ts +214 -0
  109. package/src/components/dialog/lib/utils.ts +656 -0
  110. package/src/components/dialog/lib/worker.ts +362 -0
  111. package/src/components/extra/extra.ts +5 -0
  112. package/src/components/extra/rive/rive.vue +56 -0
  113. package/src/components/extra/rive/rives.stories.ts +65 -0
  114. package/src/components/extra/rive/stories/README.md +40 -0
  115. package/src/components/extra/rive/stories/nope.riv +0 -0
  116. package/src/components/extra/rive/stories/sadness.riv +0 -0
  117. package/src/components/extra/rive/types.ts +8 -0
  118. package/src/components/forms/README.mdx +10 -0
  119. package/src/components/forms/avatar/avatar.stories.ts +37 -0
  120. package/src/components/forms/avatar/avatar.vue +77 -0
  121. package/src/components/forms/avatar/stories/overview.vue +30 -0
  122. package/src/components/forms/avatar/types.ts +38 -0
  123. package/src/components/forms/button/button.stories.ts +117 -0
  124. package/src/components/forms/button/button.vue +111 -0
  125. package/src/components/forms/button/stories/README.md +9 -0
  126. package/src/components/forms/button/stories/overview.vue +36 -0
  127. package/src/components/forms/button/style/button.css +146 -0
  128. package/src/components/forms/button/style/style-outline.css +129 -0
  129. package/src/components/forms/button/style/style-soft.css +89 -0
  130. package/src/components/forms/button/style/style-transparent.css +39 -0
  131. package/src/components/forms/button/types.ts +59 -0
  132. package/src/components/forms/caption/caption.stories.ts +108 -0
  133. package/src/components/forms/caption/caption.vue +29 -0
  134. package/src/components/forms/caption/types.ts +10 -0
  135. package/src/components/forms/checkbox/checkbox.stories.ts +32 -0
  136. package/src/components/forms/checkbox/checkbox.vue +115 -0
  137. package/src/components/forms/checkbox/stories/overview.vue +171 -0
  138. package/src/components/forms/checkbox/types.ts +21 -0
  139. package/src/components/forms/controlLabel/controlLabel.stories.ts +31 -0
  140. package/src/components/forms/controlLabel/controlLabel.vue +54 -0
  141. package/src/components/forms/controlLabel/types.ts +4 -0
  142. package/src/components/forms/forms.ts +44 -0
  143. package/src/components/forms/hint/hint.stories.ts +40 -0
  144. package/src/components/forms/hint/hint.vue +32 -0
  145. package/src/components/forms/hint/types.ts +8 -0
  146. package/src/components/forms/input/input.stories.ts +31 -0
  147. package/src/components/forms/input/input.vue +178 -0
  148. package/src/components/forms/input/stories/overview.vue +63 -0
  149. package/src/components/forms/input/types.ts +31 -0
  150. package/src/components/forms/inputDate/datepicker.css +246 -0
  151. package/src/components/forms/inputDate/datepicker.ts +101 -0
  152. package/src/components/forms/inputDate/inputDate.stories.ts +40 -0
  153. package/src/components/forms/inputDate/inputDate.vue +133 -0
  154. package/src/components/forms/inputDate/stories/overview.vue +35 -0
  155. package/src/components/forms/inputDate/types.ts +1 -0
  156. package/src/components/forms/inputRange/inputRange.stories.ts +52 -0
  157. package/src/components/forms/inputRange/inputRange.vue +39 -0
  158. package/src/components/forms/inputRange/stories/overview.vue +129 -0
  159. package/src/components/forms/inputRange/types.ts +3 -0
  160. package/src/components/forms/loadbar/loadbar.stories.ts +22 -0
  161. package/src/components/forms/loadbar/loadbar.vue +37 -0
  162. package/src/components/forms/loadbar/stories/README.md +6 -0
  163. package/src/components/forms/preloader/preloader.stories.ts +46 -0
  164. package/src/components/forms/preloader/preloader.vue +103 -0
  165. package/src/components/forms/preloader/stories/README.md +26 -0
  166. package/src/components/forms/preloader/types.ts +3 -0
  167. package/src/components/forms/radio/radio.stories.ts +33 -0
  168. package/src/components/forms/radio/radio.vue +97 -0
  169. package/src/components/forms/radio/stories/overview.vue +79 -0
  170. package/src/components/forms/radio/types.ts +15 -0
  171. package/src/components/forms/select/select.stories.ts +68 -0
  172. package/src/components/forms/select/select.vue +299 -0
  173. package/src/components/forms/select/stories/exampleOptions.ts +61 -0
  174. package/src/components/forms/select/stories/overview.vue +72 -0
  175. package/src/components/forms/select/types.ts +68 -0
  176. package/src/components/forms/switcher/stories/overview.vue +139 -0
  177. package/src/components/forms/switcher/switcher.stories.ts +32 -0
  178. package/src/components/forms/switcher/switcher.vue +118 -0
  179. package/src/components/forms/switcher/types.ts +22 -0
  180. package/src/components/forms/textarea/stories/overview.vue +89 -0
  181. package/src/components/forms/textarea/textarea.stories.ts +33 -0
  182. package/src/components/forms/textarea/textarea.vue +143 -0
  183. package/src/components/forms/textarea/types.ts +52 -0
  184. package/src/components/formsExt/README.mdx +5 -0
  185. package/src/components/formsExt/checkboxGroup/checkboxGroup.stories.ts +36 -0
  186. package/src/components/formsExt/checkboxGroup/checkboxGroup.vue +159 -0
  187. package/src/components/formsExt/checkboxGroup/stories/example.ts +42 -0
  188. package/src/components/formsExt/checkboxGroup/stories/overview.vue +36 -0
  189. package/src/components/formsExt/checkboxGroup/types.ts +23 -0
  190. package/src/components/formsExt/editArea/editArea.stories.ts +40 -0
  191. package/src/components/formsExt/editArea/editArea.vue +194 -0
  192. package/src/components/formsExt/editArea/stories/README.md +21 -0
  193. package/src/components/formsExt/editArea/stories/overview.vue +67 -0
  194. package/src/components/formsExt/editArea/types.ts +41 -0
  195. package/src/components/formsExt/editInput/editInput.stories.ts +35 -0
  196. package/src/components/formsExt/editInput/editInput.vue +54 -0
  197. package/src/components/formsExt/editInput/stories/overview.vue +54 -0
  198. package/src/components/formsExt/editInput/types.ts +20 -0
  199. package/src/components/formsExt/formsExt.ts +19 -0
  200. package/src/components/formsExt/info/info.stories.ts +34 -0
  201. package/src/components/formsExt/info/info.vue +84 -0
  202. package/src/components/formsExt/info/stories/overview.vue +29 -0
  203. package/src/components/formsExt/info/types.ts +25 -0
  204. package/src/components/formsExt/menu/menu.stories.ts +58 -0
  205. package/src/components/formsExt/menu/menu.vue +324 -0
  206. package/src/components/formsExt/menu/stories/items.ts +18 -0
  207. package/src/components/formsExt/menu/stories/overview.vue +52 -0
  208. package/src/components/formsExt/menu/types.ts +45 -0
  209. package/src/components/formsExt/policy/policy.stories.ts +66 -0
  210. package/src/components/formsExt/policy/policy.vue +75 -0
  211. package/src/components/formsExt/policy/types.ts +11 -0
  212. package/src/components/formsExt/radioGroup/radioGroup.stories.ts +35 -0
  213. package/src/components/formsExt/radioGroup/radioGroup.vue +142 -0
  214. package/src/components/formsExt/radioGroup/stories/example.ts +43 -0
  215. package/src/components/formsExt/radioGroup/stories/overview.vue +35 -0
  216. package/src/components/formsExt/radioGroup/types.ts +27 -0
  217. package/src/components/formsExt/selector2/composables/useAPI.ts +151 -0
  218. package/src/components/formsExt/selector2/composables/useMenu.ts +165 -0
  219. package/src/components/formsExt/selector2/itemMulti.vue +57 -0
  220. package/src/components/formsExt/selector2/selector2.stories.ts +123 -0
  221. package/src/components/formsExt/selector2/selector2.vue +448 -0
  222. package/src/components/formsExt/selector2/stories/README.md +146 -0
  223. package/src/components/formsExt/selector2/stories/dummyAPIRequest.ts +57 -0
  224. package/src/components/formsExt/selector2/stories/overview.vue +95 -0
  225. package/src/components/formsExt/selector2/types.ts +184 -0
  226. package/src/components/formsExt/selector2/utils.ts +22 -0
  227. package/src/components/helpersStories.ts +331 -0
  228. package/src/components/layout/islandRows/islandRows.stories.ts +138 -0
  229. package/src/components/layout/islandRows/islandRows.vue +53 -0
  230. package/src/components/layout/islandRows/islandRowsRow/islandRowsRow.vue +36 -0
  231. package/src/components/layout/islandRows/islandRowsRow/types.ts +1 -0
  232. package/src/components/layout/islandRows/islandRowsSubTitle/islandRowsSubTitle.vue +16 -0
  233. package/src/components/layout/islandRows/stories/README.md +8 -0
  234. package/src/components/layout/islandRows/types.ts +11 -0
  235. package/src/components/layout/layout.ts +11 -0
  236. package/src/components/layout/rows/rows.stories.ts +47 -0
  237. package/src/components/layout/rows/rows.vue +46 -0
  238. package/src/components/layout/rows/stories/README.md +10 -0
  239. package/src/components/layout/rows/types.ts +6 -0
  240. package/src/components/popup/alert/alert.stories.ts +70 -0
  241. package/src/components/popup/alert/alert.vue +49 -0
  242. package/src/components/popup/alert/stories/overview.vue +40 -0
  243. package/src/components/popup/alert/types.ts +11 -0
  244. package/src/components/popup/confirm/confirm.stories.ts +74 -0
  245. package/src/components/popup/confirm/confirm.vue +78 -0
  246. package/src/components/popup/confirm/stories/overview.vue +62 -0
  247. package/src/components/popup/confirm/types.ts +26 -0
  248. package/src/components/popup/lib/popup.globalEvents.ts +271 -0
  249. package/src/components/popup/lib/popup.ts +858 -0
  250. package/src/components/popup/lib/worker.globalEvents.ts +101 -0
  251. package/src/components/popup/lib/worker.ts +305 -0
  252. package/src/components/popup/popup/listItem.vue +35 -0
  253. package/src/components/popup/popup/opener.vue +82 -0
  254. package/src/components/popup/popup/popup.stories.ts +73 -0
  255. package/src/components/popup/popup/popup.vue +176 -0
  256. package/src/components/popup/popup/stories/README.md +145 -0
  257. package/src/components/popup/popup/stories/listItems.vue +69 -0
  258. package/src/components/popup/popup/stories/listSubItems.vue +47 -0
  259. package/src/components/popup/popup/stories/overview.vue +224 -0
  260. package/src/components/popup/popup/style/popup.css +355 -0
  261. package/src/components/popup/popup/style/popup.m.css +70 -0
  262. package/src/components/popup/popup/style/popup.pc.css +26 -0
  263. package/src/components/popup/popup/types.ts +131 -0
  264. package/src/components/popup/popup/widgetInput.vue +43 -0
  265. package/src/components/popup/popup.ts +17 -0
  266. package/src/components/popup/prompt/prompt.stories.ts +76 -0
  267. package/src/components/popup/prompt/prompt.vue +87 -0
  268. package/src/components/popup/prompt/stories/overview.vue +50 -0
  269. package/src/components/popup/prompt/types.ts +26 -0
  270. package/src/components/project/project.ts +23 -0
  271. package/src/components/project/selectorCompetitors/composables.ts +20 -0
  272. package/src/components/project/selectorCompetitors/selectorCompetitors.stories.ts +32 -0
  273. package/src/components/project/selectorCompetitors/selectorCompetitors.vue +75 -0
  274. package/src/components/project/selectorCompetitors/stories/README.md +20 -0
  275. package/src/components/project/selectorCompetitors/stories/items.ts +30 -0
  276. package/src/components/project/selectorCompetitors/types.ts +35 -0
  277. package/src/components/project/selectorRegion/composables/compare.ts +87 -0
  278. package/src/components/project/selectorRegion/composables/selectRegion.ts +146 -0
  279. package/src/components/project/selectorRegion/composables/selectSearcher.ts +64 -0
  280. package/src/components/project/selectorRegion/composables/selectorRegion.ts +167 -0
  281. package/src/components/project/selectorRegion/dialog_selectorRegions/dialog_selectorRegions.vue +252 -0
  282. package/src/components/project/selectorRegion/dialog_selectorRegions/style.css +49 -0
  283. package/src/components/project/selectorRegion/dialog_selectorRegions/types.ts +31 -0
  284. package/src/components/project/selectorRegion/selectorRegion.stories.ts +84 -0
  285. package/src/components/project/selectorRegion/selectorRegion.vue +365 -0
  286. package/src/components/project/selectorRegion/stories/README.md +36 -0
  287. package/src/components/project/selectorRegion/stories/searchers.ts +77 -0
  288. package/src/components/project/selectorRegion/styles/searcherColors.css +41 -0
  289. package/src/components/project/selectorRegion/types.ts +206 -0
  290. package/src/components/project/selectorRegion/utils/consts.ts +88 -0
  291. package/src/components/project/selectorRegion/utils/utils.ts +178 -0
  292. package/src/components/project/tagSelector/popupListItem/tagPopupListItem.vue +209 -0
  293. package/src/components/project/tagSelector/popupListItem/types.ts +40 -0
  294. package/src/components/project/tagSelector/popupOpener/popupOpener.vue +140 -0
  295. package/src/components/project/tagSelector/popupOpener/types.ts +74 -0
  296. package/src/components/project/tagSelector/stories/README.md +62 -0
  297. package/src/components/project/tagSelector/stories/overview.vue +152 -0
  298. package/src/components/project/tagSelector/tagIcon/tagIcon.vue +96 -0
  299. package/src/components/project/tagSelector/tagIcon/types.ts +25 -0
  300. package/src/components/project/tagSelector/tagSelector.stories.ts +50 -0
  301. package/src/components/project/tagSelector/tagSelector.vue +360 -0
  302. package/src/components/project/tagSelector/tagsDefaults.ts +54 -0
  303. package/src/components/project/tagSelector/types.ts +162 -0
  304. package/src/components/project/tagSelector/utils/el.ts +151 -0
  305. package/src/components/project/tagSelector/utils/utils.ts +30 -0
  306. package/src/components/tabs/tabs/content.vue +24 -0
  307. package/src/components/tabs/tabs/stories/README.md +12 -0
  308. package/src/components/tabs/tabs/tab.vue +49 -0
  309. package/src/components/tabs/tabs/tabs.stories.ts +170 -0
  310. package/src/components/tabs/tabs/tabs.vue +64 -0
  311. package/src/components/tabs/tabs/types.ts +22 -0
  312. package/src/components/tabs/tabs.ts +9 -0
  313. package/src/components/tabsView/tabsView/menu.vue +291 -0
  314. package/src/components/tabsView/tabsView/menuDelimeter.vue +26 -0
  315. package/src/components/tabsView/tabsView/menuItem.vue +125 -0
  316. package/src/components/tabsView/tabsView/menuTitle.vue +46 -0
  317. package/src/components/tabsView/tabsView/store.ts +60 -0
  318. package/src/components/tabsView/tabsView/stories/README.md +22 -0
  319. package/src/components/tabsView/tabsView/tabsView.stories.ts +169 -0
  320. package/src/components/tabsView/tabsView/tabsView.vue +120 -0
  321. package/src/components/tabsView/tabsView/types.ts +118 -0
  322. package/src/components/tabsView/tabsView/utils.ts +27 -0
  323. package/src/components/tabsView/tabsView//320/255/320/273/320/265/320/274/320/265/320/275/321/202/321/213/MenuItem.stories.ts +46 -0
  324. package/src/components/tabsView/tabsView//320/255/320/273/320/265/320/274/320/265/320/275/321/202/321/213/MenuTitle.stories.ts +42 -0
  325. package/src/components/tabsView/tabsView.ts +9 -0
  326. package/src/components/types.ts +6 -0
  327. package/src/core/app.ts +22 -0
  328. package/src/core/core/core.mdx +36 -0
  329. package/src/core/core/core.ts +287 -0
  330. package/src/core/core/events/resize.ts +47 -0
  331. package/src/core/core/events.ts +6 -0
  332. package/src/core/core/jQuery.mdx +41 -0
  333. package/src/core/core/options.ts +52 -0
  334. package/src/core/core/preloaders.ts +31 -0
  335. package/src/core/core/state.ts +61 -0
  336. package/src/core/directives/data.mdx +24 -0
  337. package/src/core/directives/data.ts +25 -0
  338. package/src/core/directives/focus.mdx +28 -0
  339. package/src/core/directives/focus.ts +73 -0
  340. package/src/core/directives/preloader.ts +23 -0
  341. package/src/core/directives/scrollIntoView.mdx +41 -0
  342. package/src/core/directives/scrollIntoView.ts +123 -0
  343. package/src/core/directives/scrollShadow.mdx +23 -0
  344. package/src/core/directives/scrollShadow.ts +27 -0
  345. package/src/core/directives/sticky.mdx +29 -0
  346. package/src/core/directives/sticky.ts +32 -0
  347. package/src/core/directives/swimUp.mdx +27 -0
  348. package/src/core/directives/swimUp.ts +95 -0
  349. package/src/core/directives/tooltip.mdx +13 -0
  350. package/src/core/directives/tooltip.ts +57 -0
  351. package/src/core/icons/gallery.vue +70 -0
  352. package/src/core/icons/icons.mdx +24 -0
  353. package/src/core/icons/icons.stories.ts +14 -0
  354. package/src/core/plugins/core.ts +131 -0
  355. package/src/core/plugins/i18n.ts +189 -0
  356. package/src/core/plugins/piniaTPA.ts +432 -0
  357. package/src/core/plugins/plugins.mdx +82 -0
  358. package/src/core/styles/CSS Variables.stories.ts +17 -0
  359. package/src/core/styles/styles.mdx +26 -0
  360. package/src/core/theme/Variables.stories.ts +16 -0
  361. package/src/core/theme/theme.mdx +117 -0
  362. package/src/core/utils/References/Docs.mdx +23 -0
  363. package/src/core/utils/References/check/Docs.mdx +13 -0
  364. package/src/core/utils/References/check/functions/getDomainRegexp.mdx +13 -0
  365. package/src/core/utils/References/check/functions/isDomain.mdx +19 -0
  366. package/src/core/utils/References/check/functions/isEmail.mdx +20 -0
  367. package/src/core/utils/References/check/functions/isIp.mdx +19 -0
  368. package/src/core/utils/References/check/functions/validUrl.mdx +20 -0
  369. package/src/core/utils/References/clipboard/Docs.mdx +8 -0
  370. package/src/core/utils/References/clipboard/functions/guestLinkToClipboard.mdx +19 -0
  371. package/src/core/utils/References/clipboard/functions/setClipboard.mdx +20 -0
  372. package/src/core/utils/References/date/Docs.mdx +15 -0
  373. package/src/core/utils/References/date/functions/dateFormat.mdx +26 -0
  374. package/src/core/utils/References/date/functions/dateToString.mdx +24 -0
  375. package/src/core/utils/References/date/functions/dateUnformat.mdx +20 -0
  376. package/src/core/utils/References/date/functions/genDate.mdx +24 -0
  377. package/src/core/utils/References/date/functions/genDateMoscow.mdx +20 -0
  378. package/src/core/utils/References/date/functions/getDayOfWeek.mdx +24 -0
  379. package/src/core/utils/References/date/functions/stringToDate.mdx +19 -0
  380. package/src/core/utils/References/device/Docs.mdx +19 -0
  381. package/src/core/utils/References/device/functions/get$scroll.mdx +13 -0
  382. package/src/core/utils/References/device/functions/getCommandKeyLabel.mdx +13 -0
  383. package/src/core/utils/References/device/functions/getElsScroll.mdx +13 -0
  384. package/src/core/utils/References/device/functions/getOS.mdx +15 -0
  385. package/src/core/utils/References/device/functions/getOSAsync.mdx +13 -0
  386. package/src/core/utils/References/device/functions/getScrollTop.mdx +13 -0
  387. package/src/core/utils/References/device/functions/isApp.mdx +13 -0
  388. package/src/core/utils/References/device/functions/isMacOS.mdx +13 -0
  389. package/src/core/utils/References/device/functions/isMobile.mdx +13 -0
  390. package/src/core/utils/References/device/functions/isRetina.mdx +13 -0
  391. package/src/core/utils/References/device/functions/isSafari.mdx +13 -0
  392. package/src/core/utils/References/dom/Docs.mdx +25 -0
  393. package/src/core/utils/References/dom/functions/css.mdx +22 -0
  394. package/src/core/utils/References/dom/functions/genEl.mdx +26 -0
  395. package/src/core/utils/References/dom/functions/isVisible.mdx +21 -0
  396. package/src/core/utils/References/dom/functions/offset.mdx +33 -0
  397. package/src/core/utils/References/dom/functions/querySelectorAllArray.mdx +20 -0
  398. package/src/core/utils/References/dom/functions/querySelectorAllVisible.mdx +20 -0
  399. package/src/core/utils/References/dom/functions/querySelectorVisible.mdx +23 -0
  400. package/src/core/utils/References/dom/functions/querySelectorVisibleLast.mdx +23 -0
  401. package/src/core/utils/References/dom/functions/storage.mdx +26 -0
  402. package/src/core/utils/References/dom/functions/storageClear.mdx +19 -0
  403. package/src/core/utils/References/dom/functions/wrap.mdx +20 -0
  404. package/src/core/utils/References/dom/variables/default.mdx +245 -0
  405. package/src/core/utils/References/image/Docs.mdx +10 -0
  406. package/src/core/utils/References/image/functions/downloadImageFromString.mdx +20 -0
  407. package/src/core/utils/References/image/functions/genFaviconImgHtml.mdx +20 -0
  408. package/src/core/utils/References/keyboard/Docs.mdx +9 -0
  409. package/src/core/utils/References/keyboard/functions/invertKeyboardLayout.mdx +19 -0
  410. package/src/core/utils/References/lodash/Docs.mdx +18 -0
  411. package/src/core/utils/References/lodash/functions/cloneDeep.mdx +27 -0
  412. package/src/core/utils/References/lodash/functions/debounce.mdx +72 -0
  413. package/src/core/utils/References/lodash/functions/merge.mdx +190 -0
  414. package/src/core/utils/References/lodash/functions/throttle.mdx +69 -0
  415. package/src/core/utils/References/lodash/variables/memoize.mdx +42 -0
  416. package/src/core/utils/References/number/Docs.mdx +10 -0
  417. package/src/core/utils/References/number/functions/percentOfNumber.mdx +24 -0
  418. package/src/core/utils/References/number/functions/randomBySeed.mdx +21 -0
  419. package/src/core/utils/References/price/Docs.mdx +9 -0
  420. package/src/core/utils/References/price/functions/genPrice.mdx +26 -0
  421. package/src/core/utils/References/route/Docs.mdx +14 -0
  422. package/src/core/utils/References/route/functions/delHash.mdx +24 -0
  423. package/src/core/utils/References/route/functions/genHash.mdx +24 -0
  424. package/src/core/utils/References/route/functions/getHash.mdx +20 -0
  425. package/src/core/utils/References/route/functions/historySetState.mdx +29 -0
  426. package/src/core/utils/References/route/functions/setHash.mdx +24 -0
  427. package/src/core/utils/References/route/functions/setHashs.mdx +20 -0
  428. package/src/core/utils/References/scroll/Docs.mdx +13 -0
  429. package/src/core/utils/References/scroll/functions/amountScrolled.mdx +15 -0
  430. package/src/core/utils/References/scroll/functions/connectScrollShadow.mdx +26 -0
  431. package/src/core/utils/References/scroll/functions/genHasScroll.mdx +23 -0
  432. package/src/core/utils/References/scroll/functions/getScrollPercent.mdx +19 -0
  433. package/src/core/utils/References/scroll/functions/unconnectScrollShadow.mdx +17 -0
  434. package/src/core/utils/References/searchers/Docs.mdx +17 -0
  435. package/src/core/utils/References/searchers/functions/genVolumeLabel.mdx +24 -0
  436. package/src/core/utils/References/searchers/functions/getDeviceGIcon.mdx +19 -0
  437. package/src/core/utils/References/searchers/functions/getLangLabel.mdx +20 -0
  438. package/src/core/utils/References/searchers/functions/getSearcherGIcon.mdx +19 -0
  439. package/src/core/utils/References/searchers/functions/prepareVolumeType.mdx +20 -0
  440. package/src/core/utils/References/searchers/variables/searchersNames.mdx +83 -0
  441. package/src/core/utils/References/store/Docs.mdx +22 -0
  442. package/src/core/utils/References/store/functions/defineStore.mdx +34 -0
  443. package/src/core/utils/References/store/functions/useStore.mdx +27 -0
  444. package/src/core/utils/References/store/interfaces/Store.mdx +29 -0
  445. package/src/core/utils/References/store/variables/plugin.mdx +64 -0
  446. package/src/core/utils/References/string/Docs.mdx +24 -0
  447. package/src/core/utils/References/string/functions/addCommasWhite.mdx +19 -0
  448. package/src/core/utils/References/string/functions/addLinkTags.mdx +21 -0
  449. package/src/core/utils/References/string/functions/camelToSnakeCase.mdx +19 -0
  450. package/src/core/utils/References/string/functions/ellipsis.mdx +24 -0
  451. package/src/core/utils/References/string/functions/genFlagLinkByCountryCode.mdx +23 -0
  452. package/src/core/utils/References/string/functions/genIntHash.mdx +19 -0
  453. package/src/core/utils/References/string/functions/getRandomHash.mdx +19 -0
  454. package/src/core/utils/References/string/functions/highlightHtml.mdx +23 -0
  455. package/src/core/utils/References/string/functions/htmlspecialchars.mdx +19 -0
  456. package/src/core/utils/References/string/functions/isUrl.mdx +19 -0
  457. package/src/core/utils/References/string/functions/nl2br.mdx +19 -0
  458. package/src/core/utils/References/string/functions/numberEnding.mdx +26 -0
  459. package/src/core/utils/References/string/functions/numberWithWord.mdx +26 -0
  460. package/src/core/utils/References/string/functions/rusToLatin.mdx +19 -0
  461. package/src/core/utils/References/string/functions/toCapitalize.mdx +19 -0
  462. package/src/core/utils/References/string/functions/toRoditPadej.mdx +19 -0
  463. package/src/core/utils/References/system/Docs.mdx +11 -0
  464. package/src/core/utils/References/system/functions/sleep.mdx +19 -0
  465. package/src/core/utils/References/system/functions/sleepWhile.mdx +27 -0
  466. package/src/core/utils/References/system/functions/waitWhile.mdx +27 -0
  467. package/src/core/utils/References/url/Docs.mdx +15 -0
  468. package/src/core/utils/References/url/functions/decode.mdx +19 -0
  469. package/src/core/utils/References/url/functions/encode.mdx +19 -0
  470. package/src/core/utils/References/url/functions/fromPuny.mdx +21 -0
  471. package/src/core/utils/References/url/functions/getHost.mdx +19 -0
  472. package/src/core/utils/References/url/functions/hostToLowerCase.mdx +19 -0
  473. package/src/core/utils/References/url/functions/normalize.mdx +19 -0
  474. package/src/core/utils/References/url/functions/toPuny.mdx +21 -0
  475. package/src/core/utils/check.ts +88 -0
  476. package/src/core/utils/clipboard.ts +51 -0
  477. package/src/core/utils/date.ts +334 -0
  478. package/src/core/utils/device.ts +139 -0
  479. package/src/core/utils/dom.ts +195 -0
  480. package/src/core/utils/image.ts +46 -0
  481. package/src/core/utils/keyboard.ts +29 -0
  482. package/src/core/utils/lodash.ts +18 -0
  483. package/src/core/utils/number.ts +37 -0
  484. package/src/core/utils/price.ts +24 -0
  485. package/src/core/utils/route.ts +130 -0
  486. package/src/core/utils/scroll.ts +120 -0
  487. package/src/core/utils/searchers.ts +191 -0
  488. package/src/core/utils/store/localStorage.ts +56 -0
  489. package/src/core/utils/store/plugin.ts +50 -0
  490. package/src/core/utils/store/store.ts +77 -0
  491. package/src/core/utils/store.ts +7 -0
  492. package/src/core/utils/string.ts +349 -0
  493. package/src/core/utils/system.ts +72 -0
  494. package/src/core/utils/url.ts +138 -0
  495. package/src/core/utils/utils.mdx +6 -0
  496. package/src/d.ts +12 -0
  497. package/src/icomoon.d.ts +98 -0
  498. package/src/resources/styles/core/components/bage.css +16 -0
  499. package/src/resources/styles/core/components/components.css +94 -0
  500. package/src/resources/styles/core/components/formsCaption.css +43 -0
  501. package/src/resources/styles/core/components/jquery.css +19 -0
  502. package/src/resources/styles/core/core.ts +14 -0
  503. package/src/resources/styles/core/forms/clear.css +20 -0
  504. package/src/resources/styles/core/forms/controls.css +20 -0
  505. package/src/resources/styles/core/forms/focusable.css +27 -0
  506. package/src/resources/styles/core/forms/forms.css +178 -0
  507. package/src/resources/styles/core/icon.css +58 -0
  508. package/src/resources/styles/core/jquery.css +1 -0
  509. package/src/resources/styles/core/layout.css +59 -0
  510. package/src/resources/styles/core/modifiers/as.css +33 -0
  511. package/src/resources/styles/core/modifiers/ellipsis.css +26 -0
  512. package/src/resources/styles/core/modifiers/modifiers.css +120 -0
  513. package/src/resources/styles/core/modifiers/only.css +23 -0
  514. package/src/resources/styles/core/modifiers/scrollBar.css +52 -0
  515. package/src/resources/styles/core/modifiers/scrollShadow.css +50 -0
  516. package/src/resources/styles/storybook.css +11 -0
  517. package/src/resources/styles/themes/dark/dark-layout.css +47 -0
  518. package/src/resources/styles/themes/dark/dark-positions.css +66 -0
  519. package/src/resources/styles/themes/dark/dark.css +405 -0
  520. package/src/resources/styles/themes/dark-positions.ts +1 -0
  521. package/src/resources/styles/themes/dark-th/dark-th-layout.css +47 -0
  522. package/src/resources/styles/themes/dark-th/dark-th-positions.css +67 -0
  523. package/src/resources/styles/themes/dark-th/dark-th.css +405 -0
  524. package/src/resources/styles/themes/dark-th-positions.ts +1 -0
  525. package/src/resources/styles/themes/dark-th.ts +3 -0
  526. package/src/resources/styles/themes/dark.ts +3 -0
  527. package/src/resources/styles/themes/light/light-layout.css +47 -0
  528. package/src/resources/styles/themes/light/light-positions.css +66 -0
  529. package/src/resources/styles/themes/light/light.css +405 -0
  530. package/src/resources/styles/themes/light-positions.ts +1 -0
  531. package/src/resources/styles/themes/light.ts +3 -0
  532. package/src/storybook/components/color.vue +47 -0
  533. package/src/storybook/components/cssVariables.vue +195 -0
  534. package/src/storybook/components/icomoon.ts +40 -0
  535. package/src/storybook/jquery.ts +4 -0
  536. package/src//320/221/321/213/321/201/321/202/321/200/321/213/320/271 /321/201/321/202/320/260/321/200/321/202.mdx" +181 -0
  537. package/src//320/223/320/260/320/271/320/264/320/273/320/260/320/271/320/275.mdx +120 -0
  538. package/src//320/230/320/275/321/204/320/276/321/200/320/274/320/260/321/206/320/270/321/217 /320/276 /321/201/320/261/320/276/321/200/320/272/320/265.mdx" +14 -0
  539. package/src//320/240/320/260/320/267/321/200/320/260/320/261/320/276/321/202/320/272/320/260 (Contributing)/CSS/FAQ.mdx" +43 -0
  540. package/src//320/240/320/260/320/267/321/200/320/260/320/261/320/276/321/202/320/272/320/260 (Contributing)/CSS//320/236/320/261/321/211/320/270/320/265 /320/274/320/276/320/264/320/270/321/204/320/270/320/272/320/260/321/202/320/276/321/200/321/213.mdx" +155 -0
  541. package/src//320/240/320/260/320/267/321/200/320/260/320/261/320/276/321/202/320/272/320/260 (Contributing)/CSS//320/237/320/265/321/200/320/265/320/274/320/265/320/275/320/275/321/213/320/265.mdx" +35 -0
  542. package/src//320/240/320/260/320/267/321/200/320/260/320/261/320/276/321/202/320/272/320/260 (Contributing)/CSS//320/237/321/200/320/265/320/264/320/277/321/200/320/276/321/206/320/265/321/201/321/201/320/276/321/200/321/213.mdx" +15 -0
  543. package/src//320/240/320/260/320/267/321/200/320/260/320/261/320/276/321/202/320/272/320/260 (Contributing)/CSS//320/240/320/265/320/272/320/276/320/274/320/265/320/275/320/264/320/260/321/206/320/270/320/270 /320/221/320/255/320/234.mdx" +56 -0
  544. package/src//320/240/320/260/320/267/321/200/320/260/320/261/320/276/321/202/320/272/320/260 (Contributing)/CSS//320/241/321/202/320/270/320/273/320/270.mdx" +53 -0
  545. package/src//320/240/320/260/320/267/321/200/320/260/320/261/320/276/321/202/320/272/320/260 (Contributing)/CSS//320/247/321/202/320/276 /321/202/320/260/320/272/320/276/320/265 css /320/274/320/276/320/264/321/203/320/273/321/214.mdx" +55 -0
  546. package/src//320/240/320/260/320/267/321/200/320/260/320/261/320/276/321/202/320/272/320/260 (Contributing)/PUBLISH.md.mdx" +4 -0
  547. package/src//320/240/320/260/320/267/321/200/320/260/320/261/320/276/321/202/320/272/320/260 (Contributing)/README.md.mdx" +4 -0
  548. package/src//320/240/320/260/320/267/321/200/320/260/320/261/320/276/321/202/320/272/320/260 (Contributing)//320/222/320/262/320/265/320/264/320/265/320/275/320/270/320/265 /320/262 NPM.md.mdx" +4 -0
  549. package/src//320/240/320/260/320/267/321/200/320/260/320/261/320/276/321/202/320/272/320/260 (Contributing)//320/224/320/276/320/277/320/276/320/273/320/275/320/270/321/202/320/265/320/273/321/214/320/275/320/260/321/217 /320/273/320/270/321/202/320/265/321/200/320/260/321/202/321/203/321/200/320/260.mdx" +15 -0
  550. package/src//320/240/320/260/320/267/321/200/320/260/320/261/320/276/321/202/320/272/320/260 (Contributing)//320/230/321/201/320/277/320/276/320/273/321/214/320/267/320/276/320/262/320/260/320/275/320/270/320/265 /320/262 /320/277/321/200/320/276/320/265/320/272/321/202/320/260/321/205.mdx" +3 -0
  551. package/src//320/240/320/260/320/267/321/200/320/260/320/261/320/276/321/202/320/272/320/260 (Contributing)//320/241/321/202/320/260/320/275/320/264/320/260/321/200/321/202/321/213 /320/272/320/276/320/264/320/260//320/235/320/260/321/201/321/202/321/200/320/276/320/271/320/272/320/260 IDE.mdx" +45 -0
  552. package/src//320/240/320/260/320/267/321/200/320/260/320/261/320/276/321/202/320/272/320/260 (Contributing)//320/241/321/202/320/260/320/275/320/264/320/260/321/200/321/202/321/213 /320/272/320/276/320/264/320/260//320/236/321/204/320/276/321/200/320/274/320/273/320/265/320/275/320/270/320/265 /320/272/320/276/320/264/320/260.mdx" +33 -0
  553. package/src//320/240/320/260/320/267/321/200/320/260/320/261/320/276/321/202/320/272/320/260 (Contributing)//320/241/321/202/320/260/320/275/320/264/320/260/321/200/321/202/321/213 /320/272/320/276/320/264/320/260//320/241/321/202/320/260/320/275/320/264/320/260/321/200/321/202/321/213 /320/272/320/276/320/264/320/260.mdx" +29 -0
  554. package/src//320/240/320/260/320/267/321/200/320/260/320/261/320/276/321/202/320/272/320/260 (Contributing)//320/241/321/202/321/200/321/203/320/272/321/202/321/203/321/200/320/260 UI//320/232/320/276/320/274/320/277/320/276/320/275/320/265/320/275/321/202/321/213//320/232/320/276/320/274/320/277/320/276/320/275/320/265/320/275/321/202/321/213.mdx" +66 -0
  555. package/src//320/240/320/260/320/267/321/200/320/260/320/261/320/276/321/202/320/272/320/260 (Contributing)//320/241/321/202/321/200/321/203/320/272/321/202/321/203/321/200/320/260 UI//320/232/320/276/320/274/320/277/320/276/320/275/320/265/320/275/321/202/321/213//320/241/321/202/320/270/320/273/320/270 /320/272/320/276/320/274/320/277/320/276/320/275/320/265/320/275/321/202/321/213.mdx" +58 -0
  556. package/src//320/240/320/260/320/267/321/200/320/260/320/261/320/276/321/202/320/272/320/260 (Contributing)//320/241/321/202/321/200/321/203/320/272/321/202/321/203/321/200/320/260 UI//320/241/321/202/321/200/321/203/320/272/321/202/321/203/321/200/320/260 UI.mdx" +11 -0
  557. package/src//320/240/320/260/320/267/321/200/320/260/320/261/320/276/321/202/320/272/320/260 (Contributing)//320/241/321/202/321/200/321/203/320/272/321/202/321/203/321/200/320/260 UI//320/243/321/202/320/270/320/273/320/270/321/202/321/213.mdx" +5 -0
  558. package/storybook-dev.sh +14 -0
  559. package/tsconfig.json +91 -0
  560. package/typedoc.json +20 -0
  561. package/vite.config.ts +150 -0
  562. package/.chunks/core-BDx1sI2y.amd.js +0 -2
  563. package/.chunks/core-BDx1sI2y.amd.js.map +0 -1
  564. package/.chunks/core-CTWfwyjq.es.js +0 -197
  565. package/.chunks/core-CTWfwyjq.es.js.map +0 -1
  566. package/.chunks/datepicker-Esxy0UQA.amd.js +0 -2
  567. package/.chunks/datepicker-Esxy0UQA.amd.js.map +0 -1
  568. package/.chunks/datepicker-iaUT_eSc.es.js +0 -44
  569. package/.chunks/datepicker-iaUT_eSc.es.js.map +0 -1
  570. package/.chunks/dialog_selectorRegions-B-4xalwM.es.js +0 -188
  571. package/.chunks/dialog_selectorRegions-B-4xalwM.es.js.map +0 -1
  572. package/.chunks/dialog_selectorRegions-C7tvNWJk.amd.js +0 -2
  573. package/.chunks/dialog_selectorRegions-C7tvNWJk.amd.js.map +0 -1
  574. package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-CqYKaqcT.amd.js +0 -2
  575. package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-CqYKaqcT.amd.js.map +0 -1
  576. package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-DBzDS_l7.es.js +0 -322
  577. package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-DBzDS_l7.es.js.map +0 -1
  578. package/.chunks/forms-BZlFXc5U.es.js +0 -2052
  579. package/.chunks/forms-BZlFXc5U.es.js.map +0 -1
  580. package/.chunks/forms-DMI0BqCj.amd.js +0 -3
  581. package/.chunks/forms-DMI0BqCj.amd.js.map +0 -1
  582. package/.chunks/listItem.vue_vue_type_script_setup_true_lang-CACzwZ0A.amd.js +0 -2
  583. package/.chunks/listItem.vue_vue_type_script_setup_true_lang-CACzwZ0A.amd.js.map +0 -1
  584. package/.chunks/listItem.vue_vue_type_script_setup_true_lang-KxTfgv5Z.es.js +0 -181
  585. package/.chunks/listItem.vue_vue_type_script_setup_true_lang-KxTfgv5Z.es.js.map +0 -1
  586. package/.chunks/menu.vue_vue_type_style_index_0_lang-BMpVs3Du.es.js +0 -109
  587. package/.chunks/menu.vue_vue_type_style_index_0_lang-BMpVs3Du.es.js.map +0 -1
  588. package/.chunks/menu.vue_vue_type_style_index_0_lang-CIdaxq15.amd.js +0 -2
  589. package/.chunks/menu.vue_vue_type_style_index_0_lang-CIdaxq15.amd.js.map +0 -1
  590. package/.chunks/notice-C0QQCxdI.es.js +0 -175
  591. package/.chunks/notice-C0QQCxdI.es.js.map +0 -1
  592. package/.chunks/notice-ULAk8EKs.amd.js +0 -4
  593. package/.chunks/notice-ULAk8EKs.amd.js.map +0 -1
  594. package/.chunks/page.vue_vue_type_script_setup_true_lang-BjGqYm-r.es.js +0 -143
  595. package/.chunks/page.vue_vue_type_script_setup_true_lang-BjGqYm-r.es.js.map +0 -1
  596. package/.chunks/page.vue_vue_type_script_setup_true_lang-f557_PUb.amd.js +0 -2
  597. package/.chunks/page.vue_vue_type_script_setup_true_lang-f557_PUb.amd.js.map +0 -1
  598. package/.chunks/popup-BDm3_TJy.amd.js +0 -2
  599. package/.chunks/popup-BDm3_TJy.amd.js.map +0 -1
  600. package/.chunks/popup-Cl0Rac26.es.js +0 -426
  601. package/.chunks/popup-Cl0Rac26.es.js.map +0 -1
  602. package/.chunks/punycode.es6-C2yitnNb.amd.js +0 -2
  603. package/.chunks/punycode.es6-C2yitnNb.amd.js.map +0 -1
  604. package/.chunks/punycode.es6-CNI-zL6U.es.js +0 -134
  605. package/.chunks/punycode.es6-CNI-zL6U.es.js.map +0 -1
  606. package/.chunks/store-CX_6ZXhO.es.js +0 -29
  607. package/.chunks/store-CX_6ZXhO.es.js.map +0 -1
  608. package/.chunks/store-esTid5oI.amd.js +0 -2
  609. package/.chunks/store-esTid5oI.amd.js.map +0 -1
  610. package/.chunks/utils-BV1bu3yj.amd.js +0 -2
  611. package/.chunks/utils-BV1bu3yj.amd.js.map +0 -1
  612. package/.chunks/utils-BfXpHkpA.es.js +0 -304
  613. package/.chunks/utils-BfXpHkpA.es.js.map +0 -1
  614. package/.chunks/utils-C4bTrMJX.amd.js +0 -2
  615. package/.chunks/utils-C4bTrMJX.amd.js.map +0 -1
  616. package/.chunks/utils-D9KqMkio.es.js +0 -79
  617. package/.chunks/utils-D9KqMkio.es.js.map +0 -1
  618. package/assets/charts.css +0 -1
  619. package/assets/core.css +0 -1
  620. package/assets/dialog_selectorRegions.css +0 -1
  621. package/assets/extra.css +0 -1
  622. package/assets/forms.css +0 -1
  623. package/assets/formsExt.css +0 -1
  624. package/assets/layout.css +0 -1
  625. package/assets/listItem.css +0 -1
  626. package/assets/menu.css +0 -1
  627. package/assets/notice.css +0 -1
  628. package/assets/popup.css +0 -1
  629. package/assets/project.css +0 -1
  630. package/assets/tabs.css +0 -1
  631. package/assets/tabsView.css +0 -1
  632. package/assets/themes/dark-th.css +0 -1
  633. package/assets/themes/dark.css +0 -1
  634. package/assets/themes/light.css +0 -1
  635. package/charts/charts.amd.js +0 -2
  636. package/charts/charts.amd.js.map +0 -1
  637. package/charts/charts.d.ts +0 -2
  638. package/charts/charts.js +0 -178
  639. package/charts/charts.js.map +0 -1
  640. package/components/charts/charts.d.ts +0 -5
  641. package/components/charts/miniChart/miniChart.vue.d.ts +0 -15
  642. package/components/charts/miniChart/stories/dummy.d.ts +0 -13
  643. package/components/charts/miniChart/types.d.ts +0 -92
  644. package/components/charts/miniChart/utils/consts.d.ts +0 -8
  645. package/components/charts/miniCharts/miniCharts.d.ts +0 -20
  646. package/components/charts/miniCharts/miniCharts.vue.d.ts +0 -32
  647. package/components/charts/miniCharts/stories/dummy.d.ts +0 -6
  648. package/components/core/notice/item/item.vue.d.ts +0 -10
  649. package/components/core/notice/item/types.d.ts +0 -63
  650. package/components/core/notice/notice.vue.d.ts +0 -5
  651. package/components/core/notice/utils.d.ts +0 -27
  652. package/components/dialog/dialog/composables/asyncDialogHandle.d.ts +0 -51
  653. package/components/dialog/dialog/composables/dialogHandle.d.ts +0 -108
  654. package/components/dialog/dialog/composables/types.d.ts +0 -11
  655. package/components/dialog/dialog/composables/utils.d.ts +0 -21
  656. package/components/dialog/dialog/dialog.vue.d.ts +0 -28
  657. package/components/dialog/dialog/dialogs/dialogs.vue.d.ts +0 -13
  658. package/components/dialog/dialog/page/page.vue.d.ts +0 -19
  659. package/components/dialog/dialog/page/types.d.ts +0 -72
  660. package/components/dialog/dialog/pageComponent/pageComponent.vue.d.ts +0 -6
  661. package/components/dialog/dialog/pageComponent/types.d.ts +0 -18
  662. package/components/dialog/dialog/stories/autoload.d.ts +0 -2
  663. package/components/dialog/dialog/stories/dialog_example/pages/utils.d.ts +0 -7
  664. package/components/dialog/dialog/types.d.ts +0 -58
  665. package/components/dialog/dialog.d.ts +0 -6
  666. package/components/dialog/lib/types.d.ts +0 -44
  667. package/components/dialog/lib/utils.d.ts +0 -14
  668. package/components/dialog/lib/utils.globalEvents.d.ts +0 -8
  669. package/components/dialog/lib/worker.d.ts +0 -76
  670. package/components/extra/extra.d.ts +0 -3
  671. package/components/extra/rive/rive.vue.d.ts +0 -11
  672. package/components/extra/rive/types.d.ts +0 -7
  673. package/components/forms/avatar/avatar.vue.d.ts +0 -10
  674. package/components/forms/avatar/types.d.ts +0 -32
  675. package/components/forms/button/button.vue.d.ts +0 -24
  676. package/components/forms/button/types.d.ts +0 -39
  677. package/components/forms/caption/caption.vue.d.ts +0 -17
  678. package/components/forms/caption/types.d.ts +0 -9
  679. package/components/forms/checkbox/checkbox.vue.d.ts +0 -27
  680. package/components/forms/checkbox/types.d.ts +0 -21
  681. package/components/forms/controlLabel/controlLabel.vue.d.ts +0 -19
  682. package/components/forms/controlLabel/types.d.ts +0 -4
  683. package/components/forms/forms.d.ts +0 -31
  684. package/components/forms/hint/hint.vue.d.ts +0 -4
  685. package/components/forms/hint/types.d.ts +0 -8
  686. package/components/forms/input/input.vue.d.ts +0 -27
  687. package/components/forms/input/types.d.ts +0 -23
  688. package/components/forms/inputDate/datepicker.d.ts +0 -5
  689. package/components/forms/inputDate/inputDate.vue.d.ts +0 -12
  690. package/components/forms/inputDate/types.d.ts +0 -1
  691. package/components/forms/inputRange/inputRange.vue.d.ts +0 -19
  692. package/components/forms/inputRange/types.d.ts +0 -2
  693. package/components/forms/loadbar/loadbar.vue.d.ts +0 -3
  694. package/components/forms/preloader/preloader.vue.d.ts +0 -4
  695. package/components/forms/preloader/types.d.ts +0 -3
  696. package/components/forms/radio/radio.vue.d.ts +0 -23
  697. package/components/forms/radio/types.d.ts +0 -14
  698. package/components/forms/select/select.vue.d.ts +0 -17
  699. package/components/forms/select/stories/exampleOptions.d.ts +0 -5
  700. package/components/forms/select/types.d.ts +0 -58
  701. package/components/forms/switcher/switcher.vue.d.ts +0 -23
  702. package/components/forms/switcher/types.d.ts +0 -21
  703. package/components/forms/textarea/textarea.vue.d.ts +0 -12
  704. package/components/forms/textarea/types.d.ts +0 -44
  705. package/components/formsExt/checkboxGroup/checkboxGroup.vue.d.ts +0 -16
  706. package/components/formsExt/checkboxGroup/stories/example.d.ts +0 -15
  707. package/components/formsExt/checkboxGroup/types.d.ts +0 -19
  708. package/components/formsExt/editArea/editArea.vue.d.ts +0 -18
  709. package/components/formsExt/editArea/types.d.ts +0 -33
  710. package/components/formsExt/editInput/editInput.vue.d.ts +0 -8
  711. package/components/formsExt/editInput/types.d.ts +0 -16
  712. package/components/formsExt/formsExt.d.ts +0 -15
  713. package/components/formsExt/info/info.vue.d.ts +0 -20
  714. package/components/formsExt/info/types.d.ts +0 -21
  715. package/components/formsExt/menu/menu.vue.d.ts +0 -16
  716. package/components/formsExt/menu/stories/items.d.ts +0 -3
  717. package/components/formsExt/menu/types.d.ts +0 -37
  718. package/components/formsExt/radioGroup/radioGroup.vue.d.ts +0 -16
  719. package/components/formsExt/radioGroup/stories/example.d.ts +0 -20
  720. package/components/formsExt/radioGroup/types.d.ts +0 -21
  721. package/components/formsExt/selector2/composables/useAPI.d.ts +0 -30
  722. package/components/formsExt/selector2/composables/useMenu.d.ts +0 -14
  723. package/components/formsExt/selector2/itemMulti.vue.d.ts +0 -8
  724. package/components/formsExt/selector2/selector2.vue.d.ts +0 -35
  725. package/components/formsExt/selector2/stories/dummyAPIRequest.d.ts +0 -10
  726. package/components/formsExt/selector2/types.d.ts +0 -143
  727. package/components/formsExt/selector2/utils.d.ts +0 -6
  728. package/components/layout/islandRows/islandRows.vue.d.ts +0 -17
  729. package/components/layout/islandRows/islandRowsRow/islandRowsRow.vue.d.ts +0 -18
  730. package/components/layout/islandRows/islandRowsRow/types.d.ts +0 -2
  731. package/components/layout/islandRows/islandRowsSubTitle/islandRowsSubTitle.vue.d.ts +0 -18
  732. package/components/layout/islandRows/types.d.ts +0 -10
  733. package/components/layout/layout.d.ts +0 -9
  734. package/components/layout/rows/rows.vue.d.ts +0 -21
  735. package/components/layout/rows/types.d.ts +0 -6
  736. package/components/popup/alert/alert.vue.d.ts +0 -31
  737. package/components/popup/alert/types.d.ts +0 -8
  738. package/components/popup/confirm/confirm.vue.d.ts +0 -33
  739. package/components/popup/confirm/types.d.ts +0 -21
  740. package/components/popup/lib/popup.d.ts +0 -83
  741. package/components/popup/lib/popup.globalEvents.d.ts +0 -32
  742. package/components/popup/lib/worker.d.ts +0 -75
  743. package/components/popup/lib/worker.globalEvents.d.ts +0 -19
  744. package/components/popup/popup/listItem.vue.d.ts +0 -22
  745. package/components/popup/popup/opener.vue.d.ts +0 -23
  746. package/components/popup/popup/popup.vue.d.ts +0 -40
  747. package/components/popup/popup/types.d.ts +0 -101
  748. package/components/popup/popup/widgetInput.vue.d.ts +0 -17
  749. package/components/popup/popup.d.ts +0 -15
  750. package/components/popup/prompt/prompt.vue.d.ts +0 -33
  751. package/components/popup/prompt/types.d.ts +0 -21
  752. package/components/project/project.d.ts +0 -15
  753. package/components/project/selectorCompetitors/composables.d.ts +0 -3
  754. package/components/project/selectorCompetitors/selectorCompetitors.vue.d.ts +0 -14
  755. package/components/project/selectorCompetitors/stories/items.d.ts +0 -3
  756. package/components/project/selectorCompetitors/types.d.ts +0 -30
  757. package/components/project/selectorRegion/composables/compare.d.ts +0 -12
  758. package/components/project/selectorRegion/composables/selectRegion.d.ts +0 -13
  759. package/components/project/selectorRegion/composables/selectSearcher.d.ts +0 -13
  760. package/components/project/selectorRegion/composables/selectorRegion.d.ts +0 -25
  761. package/components/project/selectorRegion/dialog_selectorRegions/dialog_selectorRegions.vue.d.ts +0 -6
  762. package/components/project/selectorRegion/dialog_selectorRegions/types.d.ts +0 -26
  763. package/components/project/selectorRegion/selectorRegion.vue.d.ts +0 -23
  764. package/components/project/selectorRegion/stories/searchers.d.ts +0 -3
  765. package/components/project/selectorRegion/types.d.ts +0 -172
  766. package/components/project/selectorRegion/utils/consts.d.ts +0 -31
  767. package/components/project/selectorRegion/utils/utils.d.ts +0 -34
  768. package/components/project/tagSelector/popupListItem/tagPopupListItem.vue.d.ts +0 -20
  769. package/components/project/tagSelector/popupListItem/types.d.ts +0 -33
  770. package/components/project/tagSelector/popupOpener/popupOpener.vue.d.ts +0 -27
  771. package/components/project/tagSelector/popupOpener/types.d.ts +0 -64
  772. package/components/project/tagSelector/tagIcon/tagIcon.vue.d.ts +0 -4
  773. package/components/project/tagSelector/tagIcon/types.d.ts +0 -21
  774. package/components/project/tagSelector/tagSelector.vue.d.ts +0 -37
  775. package/components/project/tagSelector/tagsDefaults.d.ts +0 -3
  776. package/components/project/tagSelector/types.d.ts +0 -140
  777. package/components/project/tagSelector/utils/el.d.ts +0 -19
  778. package/components/project/tagSelector/utils/utils.d.ts +0 -14
  779. package/components/tabs/tabs/content.vue.d.ts +0 -19
  780. package/components/tabs/tabs/tab.vue.d.ts +0 -19
  781. package/components/tabs/tabs/tabs.vue.d.ts +0 -21
  782. package/components/tabs/tabs/types.d.ts +0 -19
  783. package/components/tabs/tabs.d.ts +0 -7
  784. package/components/tabsView/tabsView/menu.vue.d.ts +0 -32
  785. package/components/tabsView/tabsView/menuDelimeter.vue.d.ts +0 -3
  786. package/components/tabsView/tabsView/menuItem.vue.d.ts +0 -23
  787. package/components/tabsView/tabsView/menuTitle.vue.d.ts +0 -20
  788. package/components/tabsView/tabsView/store.d.ts +0 -12
  789. package/components/tabsView/tabsView/tabsView.vue.d.ts +0 -34
  790. package/components/tabsView/tabsView/types.d.ts +0 -98
  791. package/components/tabsView/tabsView/utils.d.ts +0 -11
  792. package/components/tabsView/tabsView.d.ts +0 -7
  793. package/core/app.amd.js +0 -2
  794. package/core/app.amd.js.map +0 -1
  795. package/core/app.d.ts +0 -8
  796. package/core/app.js +0 -214
  797. package/core/app.js.map +0 -1
  798. package/core/core/core.d.ts +0 -113
  799. package/core/core/events/resize.d.ts +0 -16
  800. package/core/core/events.d.ts +0 -15
  801. package/core/core/options.d.ts +0 -47
  802. package/core/core/preloaders.d.ts +0 -19
  803. package/core/core/state.d.ts +0 -49
  804. package/core/directives/data.d.ts +0 -10
  805. package/core/directives/focus.d.ts +0 -10
  806. package/core/directives/preloader.d.ts +0 -8
  807. package/core/directives/scrollIntoView.d.ts +0 -3
  808. package/core/directives/scrollShadow.d.ts +0 -15
  809. package/core/directives/sticky.d.ts +0 -10
  810. package/core/directives/swimUp.d.ts +0 -15
  811. package/core/directives/tooltip.d.ts +0 -10
  812. package/core/plugins/core.d.ts +0 -60
  813. package/core/plugins/i18n.d.ts +0 -97
  814. package/core/plugins/piniaTPA.d.ts +0 -17
  815. package/core/utils/check.d.ts +0 -26
  816. package/core/utils/clipboard.d.ts +0 -12
  817. package/core/utils/date.d.ts +0 -69
  818. package/core/utils/device.d.ts +0 -50
  819. package/core/utils/dom.d.ts +0 -94
  820. package/core/utils/image.d.ts +0 -16
  821. package/core/utils/keyboard.d.ts +0 -8
  822. package/core/utils/lodash.d.ts +0 -6
  823. package/core/utils/number.d.ts +0 -17
  824. package/core/utils/price.d.ts +0 -10
  825. package/core/utils/route.d.ts +0 -33
  826. package/core/utils/scroll.d.ts +0 -32
  827. package/core/utils/searchers.d.ts +0 -38
  828. package/core/utils/store/localStorage.d.ts +0 -6
  829. package/core/utils/store/plugin.d.ts +0 -24
  830. package/core/utils/store/store.d.ts +0 -34
  831. package/core/utils/store.d.ts +0 -6
  832. package/core/utils/string.d.ts +0 -100
  833. package/core/utils/system.d.ts +0 -25
  834. package/core/utils/url.d.ts +0 -36
  835. package/dialog/dialog.amd.js +0 -2
  836. package/dialog/dialog.amd.js.map +0 -1
  837. package/dialog/dialog.d.ts +0 -2
  838. package/dialog/dialog.js +0 -60
  839. package/dialog/dialog.js.map +0 -1
  840. package/extra/extra.amd.js +0 -2
  841. package/extra/extra.amd.js.map +0 -1
  842. package/extra/extra.d.ts +0 -2
  843. package/extra/extra.js +0 -72
  844. package/extra/extra.js.map +0 -1
  845. package/forms/forms.amd.js +0 -2
  846. package/forms/forms.amd.js.map +0 -1
  847. package/forms/forms.d.ts +0 -2
  848. package/forms/forms.js +0 -19
  849. package/forms/forms.js.map +0 -1
  850. package/forms/helpers.amd.js +0 -2
  851. package/forms/helpers.amd.js.map +0 -1
  852. package/forms/helpers.d.ts +0 -1
  853. package/forms/helpers.js +0 -2
  854. package/forms/helpers.js.map +0 -1
  855. package/formsExt/formsExt.amd.js +0 -2
  856. package/formsExt/formsExt.amd.js.map +0 -1
  857. package/formsExt/formsExt.d.ts +0 -2
  858. package/formsExt/formsExt.js +0 -567
  859. package/formsExt/formsExt.js.map +0 -1
  860. package/icomoon/Topvisor icons.json +0 -6635
  861. package/layout/layout.amd.js +0 -2
  862. package/layout/layout.amd.js.map +0 -1
  863. package/layout/layout.d.ts +0 -2
  864. package/layout/layout.js +0 -62
  865. package/layout/layout.js.map +0 -1
  866. package/popup/popup.amd.js +0 -2
  867. package/popup/popup.amd.js.map +0 -1
  868. package/popup/popup.d.ts +0 -2
  869. package/popup/popup.js +0 -244
  870. package/popup/popup.js.map +0 -1
  871. package/popup/worker.amd.js +0 -2
  872. package/popup/worker.amd.js.map +0 -1
  873. package/popup/worker.d.ts +0 -2
  874. package/popup/worker.js +0 -129
  875. package/popup/worker.js.map +0 -1
  876. package/project/project.amd.js +0 -2
  877. package/project/project.amd.js.map +0 -1
  878. package/project/project.d.ts +0 -2
  879. package/project/project.js +0 -986
  880. package/project/project.js.map +0 -1
  881. package/tabs/tabs.amd.js +0 -2
  882. package/tabs/tabs.amd.js.map +0 -1
  883. package/tabs/tabs.d.ts +0 -2
  884. package/tabs/tabs.js +0 -81
  885. package/tabs/tabs.js.map +0 -1
  886. package/tabsView/tabsView.amd.js +0 -2
  887. package/tabsView/tabsView.amd.js.map +0 -1
  888. package/tabsView/tabsView.d.ts +0 -2
  889. package/tabsView/tabsView.js +0 -306
  890. package/tabsView/tabsView.js.map +0 -1
  891. package/utils/check.amd.js +0 -2
  892. package/utils/check.amd.js.map +0 -1
  893. package/utils/check.d.ts +0 -2
  894. package/utils/check.js +0 -26
  895. package/utils/check.js.map +0 -1
  896. package/utils/clipboard.amd.js +0 -6
  897. package/utils/clipboard.amd.js.map +0 -1
  898. package/utils/clipboard.d.ts +0 -2
  899. package/utils/clipboard.js +0 -33
  900. package/utils/clipboard.js.map +0 -1
  901. package/utils/date.amd.js +0 -2
  902. package/utils/date.amd.js.map +0 -1
  903. package/utils/date.d.ts +0 -2
  904. package/utils/date.js +0 -12
  905. package/utils/date.js.map +0 -1
  906. package/utils/device.amd.js +0 -2
  907. package/utils/device.amd.js.map +0 -1
  908. package/utils/device.d.ts +0 -2
  909. package/utils/device.js +0 -15
  910. package/utils/device.js.map +0 -1
  911. package/utils/dom.amd.js +0 -2
  912. package/utils/dom.amd.js.map +0 -1
  913. package/utils/dom.d.ts +0 -6
  914. package/utils/dom.js +0 -75
  915. package/utils/dom.js.map +0 -1
  916. package/utils/image.amd.js +0 -12
  917. package/utils/image.amd.js.map +0 -1
  918. package/utils/image.d.ts +0 -2
  919. package/utils/image.js +0 -23
  920. package/utils/image.js.map +0 -1
  921. package/utils/keyboard.amd.js +0 -2
  922. package/utils/keyboard.amd.js.map +0 -1
  923. package/utils/keyboard.d.ts +0 -2
  924. package/utils/keyboard.js +0 -12
  925. package/utils/keyboard.js.map +0 -1
  926. package/utils/lodash.amd.js +0 -2
  927. package/utils/lodash.amd.js.map +0 -1
  928. package/utils/lodash.d.ts +0 -2
  929. package/utils/lodash.js +0 -9
  930. package/utils/lodash.js.map +0 -1
  931. package/utils/number.amd.js +0 -2
  932. package/utils/number.amd.js.map +0 -1
  933. package/utils/number.d.ts +0 -2
  934. package/utils/number.js +0 -13
  935. package/utils/number.js.map +0 -1
  936. package/utils/price.amd.js +0 -2
  937. package/utils/price.amd.js.map +0 -1
  938. package/utils/price.d.ts +0 -2
  939. package/utils/price.js +0 -10
  940. package/utils/price.js.map +0 -1
  941. package/utils/route.amd.js +0 -2
  942. package/utils/route.amd.js.map +0 -1
  943. package/utils/route.d.ts +0 -2
  944. package/utils/route.js +0 -38
  945. package/utils/route.js.map +0 -1
  946. package/utils/scroll.amd.js +0 -2
  947. package/utils/scroll.amd.js.map +0 -1
  948. package/utils/scroll.d.ts +0 -2
  949. package/utils/scroll.js +0 -45
  950. package/utils/scroll.js.map +0 -1
  951. package/utils/searchers.amd.js +0 -2
  952. package/utils/searchers.amd.js.map +0 -1
  953. package/utils/searchers.d.ts +0 -2
  954. package/utils/searchers.js +0 -134
  955. package/utils/searchers.js.map +0 -1
  956. package/utils/store.amd.js +0 -2
  957. package/utils/store.amd.js.map +0 -1
  958. package/utils/store.d.ts +0 -2
  959. package/utils/store.js +0 -7
  960. package/utils/store.js.map +0 -1
  961. package/utils/string.amd.js +0 -2
  962. package/utils/string.amd.js.map +0 -1
  963. package/utils/string.d.ts +0 -2
  964. package/utils/string.js +0 -148
  965. package/utils/string.js.map +0 -1
  966. package/utils/system.amd.js +0 -2
  967. package/utils/system.amd.js.map +0 -1
  968. package/utils/system.d.ts +0 -2
  969. package/utils/system.js +0 -29
  970. package/utils/system.js.map +0 -1
  971. package/utils/url.amd.js +0 -3
  972. package/utils/url.amd.js.map +0 -1
  973. package/utils/url.d.ts +0 -2
  974. package/utils/url.js +0 -48
  975. package/utils/url.js.map +0 -1
  976. /package/{icomoon → public/icomoon}/Read Me.txt +0 -0
  977. /package/{icomoon → public/icomoon}/demo-files/demo.css +0 -0
  978. /package/{icomoon → public/icomoon}/demo-files/demo.js +0 -0
  979. /package/{icomoon → public/icomoon}/demo.css +0 -0
  980. /package/{icomoon → public/icomoon}/demo.html +0 -0
  981. /package/{icomoon → public/icomoon}/demo.js +0 -0
  982. /package/{icomoon → public/icomoon}/fonts/Topvisor-2.eot +0 -0
  983. /package/{icomoon → public/icomoon}/fonts/Topvisor-2.svg +0 -0
  984. /package/{icomoon → public/icomoon}/fonts/Topvisor-2.ttf +0 -0
  985. /package/{icomoon → public/icomoon}/fonts/Topvisor-2.woff +0 -0
  986. /package/{icomoon → public/icomoon}/selection.json +0 -0
  987. /package/{icomoon → public/icomoon}/style.css +0 -0
  988. /package/{jquery-ui.min.css → public/jquery-ui.min.css} +0 -0
  989. /package/{require → public/require}/css.amd.js +0 -0
  990. /package/{components/core/notice/types.d.ts → src/components/core/notice/types.ts} +0 -0
  991. /package/{components/forms/helpers.d.ts → src/components/forms/helpers.ts} +0 -0
  992. /package/{components/popup/worker.d.ts → src/components/popup/worker.ts} +0 -0
@@ -1,2052 +0,0 @@
1
- import { reactive as ve, watch as gt, getCurrentInstance as we, inject as mt, ref as Ce, defineComponent as _, useCssVars as ht, computed as O, createElementBlock as m, openBlock as f, createElementVNode as j, createCommentVNode as T, createBlock as L, resolveDynamicComponent as Qt, normalizeClass as S, withCtx as te, renderSlot as M, createTextVNode as Jt, toDisplayString as P, mergeModels as Te, useModel as bt, resolveDirective as z, withDirectives as V, vModelCheckbox as yt, mergeProps as ie, withKeys as Zt, vModelText as vt, withModifiers as xt, onUnmounted as en, unref as me, vModelRadio as tn, Fragment as ae, renderList as $e, vModelSelect as nn } from "vue";
2
- function rn() {
3
- return "devicePixelRatio" in window && window.devicePixelRatio > 1;
4
- }
5
- function an() {
6
- return !!navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|IEMobile|Opera Mini/i);
7
- }
8
- function on() {
9
- return navigator.userAgent.indexOf("Topvisor_App") != -1;
10
- }
11
- function sn() {
12
- return navigator.userAgent.indexOf("Mac OS X") !== -1;
13
- }
14
- function cs() {
15
- const e = /Chrome|Android/.test(navigator.userAgent);
16
- let t = /Safari/.test(navigator.userAgent);
17
- return e && t && (t = !1), t;
18
- }
19
- function ps() {
20
- return sn() ? "⌘" : "Ctrl";
21
- }
22
- const fs = () => $(document).scrollTop(), gs = () => $(document), ms = () => [document], ln = () => {
23
- const e = [
24
- ["iOS", /(iPhone|iPad)/i],
25
- ["Android", /(Android)/i],
26
- ["Windows Phone", /(IEMobile)/i],
27
- ["Windows 3.11", /Win16/i],
28
- ["Windows 95", /(Windows 95)|(Win95)|(Windows_95)/i],
29
- ["Windows 98", /(Windows 98)|(Win98)/i],
30
- ["Windows 2000", /(Windows NT 5.0)|(Windows 2000)/i],
31
- ["Windows XP", /(Windows NT 5.1)|(Windows XP)/i],
32
- ["Windows Server 2003", /(Windows NT 5.2)/i],
33
- ["Windows Vista", /(Windows NT 6.0)/i],
34
- ["Windows 7", /(Windows NT 6.1)/i],
35
- ["Windows 8", /(Windows NT 6.[23])|(Windows 8)/i],
36
- ["Windows 10", /(Windows NT 10)/i],
37
- ["Windows NT 4.0", /(Windows NT 4.0)|(WinNT4.0)|(WinNT)|(Windows NT)/i],
38
- ["Windows ME", /Windows ME/i],
39
- ["Windows", /Windows/i],
40
- ["Open BSD", /OpenBSD/i],
41
- ["Sun OS", /SunOS/i],
42
- ["Linux", /(Linux)|(X11)/i],
43
- ["Macintosh", /(Mac_PowerPC)|(Macintosh)|(Mac OS X 10.4)|(Mac OS X 10.5)|(Mac OS X 10.6)/i],
44
- ["QNX", /QNX/i],
45
- ["BeOS", /BeOS/i],
46
- ["OS/2", /OS\/2/i]
47
- ];
48
- let t = "";
49
- for (let n = 0; n < e.length; n++)
50
- if (e[n][1].test(navigator.userAgent)) {
51
- t = e[n][0];
52
- break;
53
- }
54
- return t;
55
- }, hs = async () => {
56
- var t;
57
- let e = ln();
58
- if (e === "Windows 10") {
59
- const n = await ((t = navigator == null ? void 0 : navigator.userAgentData) == null ? void 0 : t.getHighEntropyValues(["platformVersion"]));
60
- n && n.platformVersion >= "13" && (e = "Windows 11");
61
- }
62
- return e;
63
- };
64
- function E(e) {
65
- var t = typeof e;
66
- return e != null && (t == "object" || t == "function");
67
- }
68
- var wt = typeof global == "object" && global && global.Object === Object && global, un = typeof self == "object" && self && self.Object === Object && self, A = wt || un || Function("return this")(), he = function() {
69
- return A.Date.now();
70
- }, dn = /\s/;
71
- function cn(e) {
72
- for (var t = e.length; t-- && dn.test(e.charAt(t)); )
73
- ;
74
- return t;
75
- }
76
- var pn = /^\s+/;
77
- function fn(e) {
78
- return e && e.slice(0, cn(e) + 1).replace(pn, "");
79
- }
80
- var K = A.Symbol, Tt = Object.prototype, gn = Tt.hasOwnProperty, mn = Tt.toString, Q = K ? K.toStringTag : void 0;
81
- function hn(e) {
82
- var t = gn.call(e, Q), n = e[Q];
83
- try {
84
- e[Q] = void 0;
85
- var a = !0;
86
- } catch {
87
- }
88
- var o = mn.call(e);
89
- return a && (t ? e[Q] = n : delete e[Q]), o;
90
- }
91
- var bn = Object.prototype, yn = bn.toString;
92
- function vn(e) {
93
- return yn.call(e);
94
- }
95
- var wn = "[object Null]", Tn = "[object Undefined]", Fe = K ? K.toStringTag : void 0;
96
- function R(e) {
97
- return e == null ? e === void 0 ? Tn : wn : Fe && Fe in Object(e) ? hn(e) : vn(e);
98
- }
99
- function W(e) {
100
- return e != null && typeof e == "object";
101
- }
102
- var $n = "[object Symbol]";
103
- function Sn(e) {
104
- return typeof e == "symbol" || W(e) && R(e) == $n;
105
- }
106
- var Ue = NaN, _n = /^[-+]0x[0-9a-f]+$/i, On = /^0b[01]+$/i, En = /^0o[0-7]+$/i, jn = parseInt;
107
- function He(e) {
108
- if (typeof e == "number")
109
- return e;
110
- if (Sn(e))
111
- return Ue;
112
- if (E(e)) {
113
- var t = typeof e.valueOf == "function" ? e.valueOf() : e;
114
- e = E(t) ? t + "" : t;
115
- }
116
- if (typeof e != "string")
117
- return e === 0 ? e : +e;
118
- e = fn(e);
119
- var n = On.test(e);
120
- return n || En.test(e) ? jn(e.slice(2), n ? 2 : 8) : _n.test(e) ? Ue : +e;
121
- }
122
- var An = "Expected a function", Pn = Math.max, Mn = Math.min;
123
- function $t(e, t, n) {
124
- var a, o, r, s, i, l, u = 0, c = !1, d = !1, p = !0;
125
- if (typeof e != "function")
126
- throw new TypeError(An);
127
- t = He(t) || 0, E(n) && (c = !!n.leading, d = "maxWait" in n, r = d ? Pn(He(n.maxWait) || 0, t) : r, p = "trailing" in n ? !!n.trailing : p);
128
- function b(v) {
129
- var B = a, Y = o;
130
- return a = o = void 0, u = v, s = e.apply(Y, B), s;
131
- }
132
- function w(v) {
133
- return u = v, i = setTimeout(ne, t), c ? b(v) : s;
134
- }
135
- function C(v) {
136
- var B = v - l, Y = v - u, Re = t - B;
137
- return d ? Mn(Re, r - Y) : Re;
138
- }
139
- function Ve(v) {
140
- var B = v - l, Y = v - u;
141
- return l === void 0 || B >= t || B < 0 || d && Y >= r;
142
- }
143
- function ne() {
144
- var v = he();
145
- if (Ve(v))
146
- return ke(v);
147
- i = setTimeout(ne, C(v));
148
- }
149
- function ke(v) {
150
- return i = void 0, p && a ? b(v) : (a = o = void 0, s);
151
- }
152
- function qt() {
153
- i !== void 0 && clearTimeout(i), u = 0, a = l = o = i = void 0;
154
- }
155
- function Yt() {
156
- return i === void 0 ? s : ke(he());
157
- }
158
- function ge() {
159
- var v = he(), B = Ve(v);
160
- if (a = arguments, o = this, l = v, B) {
161
- if (i === void 0)
162
- return w(l);
163
- if (d)
164
- return clearTimeout(i), i = setTimeout(ne, t), b(l);
165
- }
166
- return i === void 0 && (i = setTimeout(ne, t)), s;
167
- }
168
- return ge.cancel = qt, ge.flush = Yt, ge;
169
- }
170
- function Cn() {
171
- this.__data__ = [], this.size = 0;
172
- }
173
- function le(e, t) {
174
- return e === t || e !== e && t !== t;
175
- }
176
- function ue(e, t) {
177
- for (var n = e.length; n--; )
178
- if (le(e[n][0], t))
179
- return n;
180
- return -1;
181
- }
182
- var Dn = Array.prototype, In = Dn.splice;
183
- function Bn(e) {
184
- var t = this.__data__, n = ue(t, e);
185
- if (n < 0)
186
- return !1;
187
- var a = t.length - 1;
188
- return n == a ? t.pop() : In.call(t, n, 1), --this.size, !0;
189
- }
190
- function Ln(e) {
191
- var t = this.__data__, n = ue(t, e);
192
- return n < 0 ? void 0 : t[n][1];
193
- }
194
- function Wn(e) {
195
- return ue(this.__data__, e) > -1;
196
- }
197
- function Nn(e, t) {
198
- var n = this.__data__, a = ue(n, e);
199
- return a < 0 ? (++this.size, n.push([e, t])) : n[a][1] = t, this;
200
- }
201
- function I(e) {
202
- var t = -1, n = e == null ? 0 : e.length;
203
- for (this.clear(); ++t < n; ) {
204
- var a = e[t];
205
- this.set(a[0], a[1]);
206
- }
207
- }
208
- I.prototype.clear = Cn;
209
- I.prototype.delete = Bn;
210
- I.prototype.get = Ln;
211
- I.prototype.has = Wn;
212
- I.prototype.set = Nn;
213
- function zn() {
214
- this.__data__ = new I(), this.size = 0;
215
- }
216
- function Vn(e) {
217
- var t = this.__data__, n = t.delete(e);
218
- return this.size = t.size, n;
219
- }
220
- function kn(e) {
221
- return this.__data__.get(e);
222
- }
223
- function Rn(e) {
224
- return this.__data__.has(e);
225
- }
226
- var Fn = "[object AsyncFunction]", Un = "[object Function]", Hn = "[object GeneratorFunction]", Gn = "[object Proxy]";
227
- function De(e) {
228
- if (!E(e))
229
- return !1;
230
- var t = R(e);
231
- return t == Un || t == Hn || t == Fn || t == Gn;
232
- }
233
- var be = A["__core-js_shared__"], Ge = function() {
234
- var e = /[^.]+$/.exec(be && be.keys && be.keys.IE_PROTO || "");
235
- return e ? "Symbol(src)_1." + e : "";
236
- }();
237
- function Kn(e) {
238
- return !!Ge && Ge in e;
239
- }
240
- var Xn = Function.prototype, qn = Xn.toString;
241
- function F(e) {
242
- if (e != null) {
243
- try {
244
- return qn.call(e);
245
- } catch {
246
- }
247
- try {
248
- return e + "";
249
- } catch {
250
- }
251
- }
252
- return "";
253
- }
254
- var Yn = /[\\^$.*+?()[\]{}|]/g, Qn = /^\[object .+?Constructor\]$/, Jn = Function.prototype, Zn = Object.prototype, xn = Jn.toString, er = Zn.hasOwnProperty, tr = RegExp(
255
- "^" + xn.call(er).replace(Yn, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
256
- );
257
- function nr(e) {
258
- if (!E(e) || Kn(e))
259
- return !1;
260
- var t = De(e) ? tr : Qn;
261
- return t.test(F(e));
262
- }
263
- function rr(e, t) {
264
- return e == null ? void 0 : e[t];
265
- }
266
- function U(e, t) {
267
- var n = rr(e, t);
268
- return nr(n) ? n : void 0;
269
- }
270
- var Z = U(A, "Map"), x = U(Object, "create");
271
- function ar() {
272
- this.__data__ = x ? x(null) : {}, this.size = 0;
273
- }
274
- function or(e) {
275
- var t = this.has(e) && delete this.__data__[e];
276
- return this.size -= t ? 1 : 0, t;
277
- }
278
- var ir = "__lodash_hash_undefined__", sr = Object.prototype, lr = sr.hasOwnProperty;
279
- function ur(e) {
280
- var t = this.__data__;
281
- if (x) {
282
- var n = t[e];
283
- return n === ir ? void 0 : n;
284
- }
285
- return lr.call(t, e) ? t[e] : void 0;
286
- }
287
- var dr = Object.prototype, cr = dr.hasOwnProperty;
288
- function pr(e) {
289
- var t = this.__data__;
290
- return x ? t[e] !== void 0 : cr.call(t, e);
291
- }
292
- var fr = "__lodash_hash_undefined__";
293
- function gr(e, t) {
294
- var n = this.__data__;
295
- return this.size += this.has(e) ? 0 : 1, n[e] = x && t === void 0 ? fr : t, this;
296
- }
297
- function k(e) {
298
- var t = -1, n = e == null ? 0 : e.length;
299
- for (this.clear(); ++t < n; ) {
300
- var a = e[t];
301
- this.set(a[0], a[1]);
302
- }
303
- }
304
- k.prototype.clear = ar;
305
- k.prototype.delete = or;
306
- k.prototype.get = ur;
307
- k.prototype.has = pr;
308
- k.prototype.set = gr;
309
- function mr() {
310
- this.size = 0, this.__data__ = {
311
- hash: new k(),
312
- map: new (Z || I)(),
313
- string: new k()
314
- };
315
- }
316
- function hr(e) {
317
- var t = typeof e;
318
- return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
319
- }
320
- function de(e, t) {
321
- var n = e.__data__;
322
- return hr(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
323
- }
324
- function br(e) {
325
- var t = de(this, e).delete(e);
326
- return this.size -= t ? 1 : 0, t;
327
- }
328
- function yr(e) {
329
- return de(this, e).get(e);
330
- }
331
- function vr(e) {
332
- return de(this, e).has(e);
333
- }
334
- function wr(e, t) {
335
- var n = de(this, e), a = n.size;
336
- return n.set(e, t), this.size += n.size == a ? 0 : 1, this;
337
- }
338
- function N(e) {
339
- var t = -1, n = e == null ? 0 : e.length;
340
- for (this.clear(); ++t < n; ) {
341
- var a = e[t];
342
- this.set(a[0], a[1]);
343
- }
344
- }
345
- N.prototype.clear = mr;
346
- N.prototype.delete = br;
347
- N.prototype.get = yr;
348
- N.prototype.has = vr;
349
- N.prototype.set = wr;
350
- var Tr = 200;
351
- function $r(e, t) {
352
- var n = this.__data__;
353
- if (n instanceof I) {
354
- var a = n.__data__;
355
- if (!Z || a.length < Tr - 1)
356
- return a.push([e, t]), this.size = ++n.size, this;
357
- n = this.__data__ = new N(a);
358
- }
359
- return n.set(e, t), this.size = n.size, this;
360
- }
361
- function H(e) {
362
- var t = this.__data__ = new I(e);
363
- this.size = t.size;
364
- }
365
- H.prototype.clear = zn;
366
- H.prototype.delete = Vn;
367
- H.prototype.get = kn;
368
- H.prototype.has = Rn;
369
- H.prototype.set = $r;
370
- function Sr(e, t) {
371
- for (var n = -1, a = e == null ? 0 : e.length; ++n < a && t(e[n], n, e) !== !1; )
372
- ;
373
- return e;
374
- }
375
- var se = function() {
376
- try {
377
- var e = U(Object, "defineProperty");
378
- return e({}, "", {}), e;
379
- } catch {
380
- }
381
- }();
382
- function Ie(e, t, n) {
383
- t == "__proto__" && se ? se(e, t, {
384
- configurable: !0,
385
- enumerable: !0,
386
- value: n,
387
- writable: !0
388
- }) : e[t] = n;
389
- }
390
- var _r = Object.prototype, Or = _r.hasOwnProperty;
391
- function St(e, t, n) {
392
- var a = e[t];
393
- (!(Or.call(e, t) && le(a, n)) || n === void 0 && !(t in e)) && Ie(e, t, n);
394
- }
395
- function Er(e, t, n, a) {
396
- var o = !n;
397
- n || (n = {});
398
- for (var r = -1, s = t.length; ++r < s; ) {
399
- var i = t[r], l = void 0;
400
- l === void 0 && (l = e[i]), o ? Ie(n, i, l) : St(n, i, l);
401
- }
402
- return n;
403
- }
404
- function jr(e, t) {
405
- for (var n = -1, a = Array(e); ++n < e; )
406
- a[n] = t(n);
407
- return a;
408
- }
409
- var Ar = "[object Arguments]";
410
- function Ke(e) {
411
- return W(e) && R(e) == Ar;
412
- }
413
- var _t = Object.prototype, Pr = _t.hasOwnProperty, Mr = _t.propertyIsEnumerable, Se = Ke(/* @__PURE__ */ function() {
414
- return arguments;
415
- }()) ? Ke : function(e) {
416
- return W(e) && Pr.call(e, "callee") && !Mr.call(e, "callee");
417
- }, ee = Array.isArray;
418
- function Cr() {
419
- return !1;
420
- }
421
- var Ot = typeof exports == "object" && exports && !exports.nodeType && exports, Xe = Ot && typeof module == "object" && module && !module.nodeType && module, Dr = Xe && Xe.exports === Ot, qe = Dr ? A.Buffer : void 0, Ir = qe ? qe.isBuffer : void 0, Be = Ir || Cr, Br = 9007199254740991, Lr = /^(?:0|[1-9]\d*)$/;
422
- function Et(e, t) {
423
- var n = typeof e;
424
- return t = t ?? Br, !!t && (n == "number" || n != "symbol" && Lr.test(e)) && e > -1 && e % 1 == 0 && e < t;
425
- }
426
- var Wr = 9007199254740991;
427
- function jt(e) {
428
- return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Wr;
429
- }
430
- var Nr = "[object Arguments]", zr = "[object Array]", Vr = "[object Boolean]", kr = "[object Date]", Rr = "[object Error]", Fr = "[object Function]", Ur = "[object Map]", Hr = "[object Number]", Gr = "[object Object]", Kr = "[object RegExp]", Xr = "[object Set]", qr = "[object String]", Yr = "[object WeakMap]", Qr = "[object ArrayBuffer]", Jr = "[object DataView]", Zr = "[object Float32Array]", xr = "[object Float64Array]", ea = "[object Int8Array]", ta = "[object Int16Array]", na = "[object Int32Array]", ra = "[object Uint8Array]", aa = "[object Uint8ClampedArray]", oa = "[object Uint16Array]", ia = "[object Uint32Array]", y = {};
431
- y[Zr] = y[xr] = y[ea] = y[ta] = y[na] = y[ra] = y[aa] = y[oa] = y[ia] = !0;
432
- y[Nr] = y[zr] = y[Qr] = y[Vr] = y[Jr] = y[kr] = y[Rr] = y[Fr] = y[Ur] = y[Hr] = y[Gr] = y[Kr] = y[Xr] = y[qr] = y[Yr] = !1;
433
- function sa(e) {
434
- return W(e) && jt(e.length) && !!y[R(e)];
435
- }
436
- function Le(e) {
437
- return function(t) {
438
- return e(t);
439
- };
440
- }
441
- var At = typeof exports == "object" && exports && !exports.nodeType && exports, J = At && typeof module == "object" && module && !module.nodeType && module, la = J && J.exports === At, ye = la && wt.process, X = function() {
442
- try {
443
- var e = J && J.require && J.require("util").types;
444
- return e || ye && ye.binding && ye.binding("util");
445
- } catch {
446
- }
447
- }(), Ye = X && X.isTypedArray, Pt = Ye ? Le(Ye) : sa, ua = Object.prototype, da = ua.hasOwnProperty;
448
- function Mt(e, t) {
449
- var n = ee(e), a = !n && Se(e), o = !n && !a && Be(e), r = !n && !a && !o && Pt(e), s = n || a || o || r, i = s ? jr(e.length, String) : [], l = i.length;
450
- for (var u in e)
451
- (t || da.call(e, u)) && !(s && // Safari 9 has enumerable `arguments.length` in strict mode.
452
- (u == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
453
- o && (u == "offset" || u == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
454
- r && (u == "buffer" || u == "byteLength" || u == "byteOffset") || // Skip index properties.
455
- Et(u, l))) && i.push(u);
456
- return i;
457
- }
458
- var ca = Object.prototype;
459
- function We(e) {
460
- var t = e && e.constructor, n = typeof t == "function" && t.prototype || ca;
461
- return e === n;
462
- }
463
- function Ct(e, t) {
464
- return function(n) {
465
- return e(t(n));
466
- };
467
- }
468
- var pa = Ct(Object.keys, Object), fa = Object.prototype, ga = fa.hasOwnProperty;
469
- function ma(e) {
470
- if (!We(e))
471
- return pa(e);
472
- var t = [];
473
- for (var n in Object(e))
474
- ga.call(e, n) && n != "constructor" && t.push(n);
475
- return t;
476
- }
477
- function ce(e) {
478
- return e != null && jt(e.length) && !De(e);
479
- }
480
- function ha(e) {
481
- return ce(e) ? Mt(e) : ma(e);
482
- }
483
- function ba(e) {
484
- var t = [];
485
- if (e != null)
486
- for (var n in Object(e))
487
- t.push(n);
488
- return t;
489
- }
490
- var ya = Object.prototype, va = ya.hasOwnProperty;
491
- function wa(e) {
492
- if (!E(e))
493
- return ba(e);
494
- var t = We(e), n = [];
495
- for (var a in e)
496
- a == "constructor" && (t || !va.call(e, a)) || n.push(a);
497
- return n;
498
- }
499
- function Dt(e) {
500
- return ce(e) ? Mt(e, !0) : wa(e);
501
- }
502
- var It = typeof exports == "object" && exports && !exports.nodeType && exports, Qe = It && typeof module == "object" && module && !module.nodeType && module, Ta = Qe && Qe.exports === It, Je = Ta ? A.Buffer : void 0, Ze = Je ? Je.allocUnsafe : void 0;
503
- function Bt(e, t) {
504
- if (t)
505
- return e.slice();
506
- var n = e.length, a = Ze ? Ze(n) : new e.constructor(n);
507
- return e.copy(a), a;
508
- }
509
- function $a(e, t) {
510
- var n = -1, a = e.length;
511
- for (t || (t = Array(a)); ++n < a; )
512
- t[n] = e[n];
513
- return t;
514
- }
515
- function Sa(e, t) {
516
- for (var n = -1, a = e == null ? 0 : e.length, o = 0, r = []; ++n < a; ) {
517
- var s = e[n];
518
- t(s, n, e) && (r[o++] = s);
519
- }
520
- return r;
521
- }
522
- function _a() {
523
- return [];
524
- }
525
- var Oa = Object.prototype, Ea = Oa.propertyIsEnumerable, xe = Object.getOwnPropertySymbols, ja = xe ? function(e) {
526
- return e == null ? [] : (e = Object(e), Sa(xe(e), function(t) {
527
- return Ea.call(e, t);
528
- }));
529
- } : _a;
530
- function Aa(e, t) {
531
- for (var n = -1, a = t.length, o = e.length; ++n < a; )
532
- e[o + n] = t[n];
533
- return e;
534
- }
535
- var Lt = Ct(Object.getPrototypeOf, Object);
536
- function Pa(e, t, n) {
537
- var a = t(e);
538
- return ee(e) ? a : Aa(a, n(e));
539
- }
540
- function Ma(e) {
541
- return Pa(e, ha, ja);
542
- }
543
- var _e = U(A, "DataView"), Oe = U(A, "Promise"), Ee = U(A, "Set"), je = U(A, "WeakMap"), et = "[object Map]", Ca = "[object Object]", tt = "[object Promise]", nt = "[object Set]", rt = "[object WeakMap]", at = "[object DataView]", Da = F(_e), Ia = F(Z), Ba = F(Oe), La = F(Ee), Wa = F(je), D = R;
544
- (_e && D(new _e(new ArrayBuffer(1))) != at || Z && D(new Z()) != et || Oe && D(Oe.resolve()) != tt || Ee && D(new Ee()) != nt || je && D(new je()) != rt) && (D = function(e) {
545
- var t = R(e), n = t == Ca ? e.constructor : void 0, a = n ? F(n) : "";
546
- if (a)
547
- switch (a) {
548
- case Da:
549
- return at;
550
- case Ia:
551
- return et;
552
- case Ba:
553
- return tt;
554
- case La:
555
- return nt;
556
- case Wa:
557
- return rt;
558
- }
559
- return t;
560
- });
561
- var Na = Object.prototype, za = Na.hasOwnProperty;
562
- function Va(e) {
563
- var t = e.length, n = new e.constructor(t);
564
- return t && typeof e[0] == "string" && za.call(e, "index") && (n.index = e.index, n.input = e.input), n;
565
- }
566
- var ot = A.Uint8Array;
567
- function Ne(e) {
568
- var t = new e.constructor(e.byteLength);
569
- return new ot(t).set(new ot(e)), t;
570
- }
571
- function ka(e, t) {
572
- var n = Ne(e.buffer);
573
- return new e.constructor(n, e.byteOffset, e.byteLength);
574
- }
575
- var Ra = /\w*$/;
576
- function Fa(e) {
577
- var t = new e.constructor(e.source, Ra.exec(e));
578
- return t.lastIndex = e.lastIndex, t;
579
- }
580
- var it = K ? K.prototype : void 0, st = it ? it.valueOf : void 0;
581
- function Ua(e) {
582
- return st ? Object(st.call(e)) : {};
583
- }
584
- function Wt(e, t) {
585
- var n = t ? Ne(e.buffer) : e.buffer;
586
- return new e.constructor(n, e.byteOffset, e.length);
587
- }
588
- var Ha = "[object Boolean]", Ga = "[object Date]", Ka = "[object Map]", Xa = "[object Number]", qa = "[object RegExp]", Ya = "[object Set]", Qa = "[object String]", Ja = "[object Symbol]", Za = "[object ArrayBuffer]", xa = "[object DataView]", eo = "[object Float32Array]", to = "[object Float64Array]", no = "[object Int8Array]", ro = "[object Int16Array]", ao = "[object Int32Array]", oo = "[object Uint8Array]", io = "[object Uint8ClampedArray]", so = "[object Uint16Array]", lo = "[object Uint32Array]";
589
- function uo(e, t, n) {
590
- var a = e.constructor;
591
- switch (t) {
592
- case Za:
593
- return Ne(e);
594
- case Ha:
595
- case Ga:
596
- return new a(+e);
597
- case xa:
598
- return ka(e);
599
- case eo:
600
- case to:
601
- case no:
602
- case ro:
603
- case ao:
604
- case oo:
605
- case io:
606
- case so:
607
- case lo:
608
- return Wt(e, n);
609
- case Ka:
610
- return new a();
611
- case Xa:
612
- case Qa:
613
- return new a(e);
614
- case qa:
615
- return Fa(e);
616
- case Ya:
617
- return new a();
618
- case Ja:
619
- return Ua(e);
620
- }
621
- }
622
- var lt = Object.create, co = /* @__PURE__ */ function() {
623
- function e() {
624
- }
625
- return function(t) {
626
- if (!E(t))
627
- return {};
628
- if (lt)
629
- return lt(t);
630
- e.prototype = t;
631
- var n = new e();
632
- return e.prototype = void 0, n;
633
- };
634
- }();
635
- function Nt(e) {
636
- return typeof e.constructor == "function" && !We(e) ? co(Lt(e)) : {};
637
- }
638
- var po = "[object Map]";
639
- function fo(e) {
640
- return W(e) && D(e) == po;
641
- }
642
- var ut = X && X.isMap, go = ut ? Le(ut) : fo, ho = "[object Set]";
643
- function bo(e) {
644
- return W(e) && D(e) == ho;
645
- }
646
- var dt = X && X.isSet, yo = dt ? Le(dt) : bo, vo = 1, zt = "[object Arguments]", wo = "[object Array]", To = "[object Boolean]", $o = "[object Date]", So = "[object Error]", Vt = "[object Function]", _o = "[object GeneratorFunction]", Oo = "[object Map]", Eo = "[object Number]", kt = "[object Object]", jo = "[object RegExp]", Ao = "[object Set]", Po = "[object String]", Mo = "[object Symbol]", Co = "[object WeakMap]", Do = "[object ArrayBuffer]", Io = "[object DataView]", Bo = "[object Float32Array]", Lo = "[object Float64Array]", Wo = "[object Int8Array]", No = "[object Int16Array]", zo = "[object Int32Array]", Vo = "[object Uint8Array]", ko = "[object Uint8ClampedArray]", Ro = "[object Uint16Array]", Fo = "[object Uint32Array]", h = {};
647
- h[zt] = h[wo] = h[Do] = h[Io] = h[To] = h[$o] = h[Bo] = h[Lo] = h[Wo] = h[No] = h[zo] = h[Oo] = h[Eo] = h[kt] = h[jo] = h[Ao] = h[Po] = h[Mo] = h[Vo] = h[ko] = h[Ro] = h[Fo] = !0;
648
- h[So] = h[Vt] = h[Co] = !1;
649
- function oe(e, t, n, a, o, r) {
650
- var s, i = t & vo;
651
- if (s !== void 0)
652
- return s;
653
- if (!E(e))
654
- return e;
655
- var l = ee(e);
656
- if (l)
657
- s = Va(e);
658
- else {
659
- var u = D(e), c = u == Vt || u == _o;
660
- if (Be(e))
661
- return Bt(e, i);
662
- if (u == kt || u == zt || c && !o)
663
- s = c ? {} : Nt(e);
664
- else {
665
- if (!h[u])
666
- return o ? e : {};
667
- s = uo(e, u, i);
668
- }
669
- }
670
- r || (r = new H());
671
- var d = r.get(e);
672
- if (d)
673
- return d;
674
- r.set(e, s), yo(e) ? e.forEach(function(w) {
675
- s.add(oe(w, t, n, w, e, r));
676
- }) : go(e) && e.forEach(function(w, C) {
677
- s.set(C, oe(w, t, n, C, e, r));
678
- });
679
- var p = Ma, b = l ? void 0 : p(e);
680
- return Sr(b || e, function(w, C) {
681
- b && (C = w, w = e[C]), St(s, C, oe(w, t, n, C, e, r));
682
- }), s;
683
- }
684
- var Uo = 1, Ho = 4;
685
- function bs(e) {
686
- return oe(e, Uo | Ho);
687
- }
688
- var Go = "Expected a function";
689
- function Rt(e, t) {
690
- if (typeof e != "function" || t != null && typeof t != "function")
691
- throw new TypeError(Go);
692
- var n = function() {
693
- var a = arguments, o = t ? t.apply(this, a) : a[0], r = n.cache;
694
- if (r.has(o))
695
- return r.get(o);
696
- var s = e.apply(this, a);
697
- return n.cache = r.set(o, s) || r, s;
698
- };
699
- return n.cache = new (Rt.Cache || N)(), n;
700
- }
701
- Rt.Cache = N;
702
- var Ko = "Expected a function";
703
- function ys(e, t, n) {
704
- var a = !0, o = !0;
705
- if (typeof e != "function")
706
- throw new TypeError(Ko);
707
- return E(n) && (a = "leading" in n ? !!n.leading : a, o = "trailing" in n ? !!n.trailing : o), $t(e, t, {
708
- leading: a,
709
- maxWait: t,
710
- trailing: o
711
- });
712
- }
713
- function Ae(e, t, n) {
714
- (n !== void 0 && !le(e[t], n) || n === void 0 && !(t in e)) && Ie(e, t, n);
715
- }
716
- function Xo(e) {
717
- return function(t, n, a) {
718
- for (var o = -1, r = Object(t), s = a(t), i = s.length; i--; ) {
719
- var l = s[++o];
720
- if (n(r[l], l, r) === !1)
721
- break;
722
- }
723
- return t;
724
- };
725
- }
726
- var qo = Xo();
727
- function Yo(e) {
728
- return W(e) && ce(e);
729
- }
730
- var Qo = "[object Object]", Jo = Function.prototype, Zo = Object.prototype, Ft = Jo.toString, xo = Zo.hasOwnProperty, ei = Ft.call(Object);
731
- function ti(e) {
732
- if (!W(e) || R(e) != Qo)
733
- return !1;
734
- var t = Lt(e);
735
- if (t === null)
736
- return !0;
737
- var n = xo.call(t, "constructor") && t.constructor;
738
- return typeof n == "function" && n instanceof n && Ft.call(n) == ei;
739
- }
740
- function Pe(e, t) {
741
- if (!(t === "constructor" && typeof e[t] == "function") && t != "__proto__")
742
- return e[t];
743
- }
744
- function ni(e) {
745
- return Er(e, Dt(e));
746
- }
747
- function ri(e, t, n, a, o, r, s) {
748
- var i = Pe(e, n), l = Pe(t, n), u = s.get(l);
749
- if (u) {
750
- Ae(e, n, u);
751
- return;
752
- }
753
- var c = r ? r(i, l, n + "", e, t, s) : void 0, d = c === void 0;
754
- if (d) {
755
- var p = ee(l), b = !p && Be(l), w = !p && !b && Pt(l);
756
- c = l, p || b || w ? ee(i) ? c = i : Yo(i) ? c = $a(i) : b ? (d = !1, c = Bt(l, !0)) : w ? (d = !1, c = Wt(l, !0)) : c = [] : ti(l) || Se(l) ? (c = i, Se(i) ? c = ni(i) : (!E(i) || De(i)) && (c = Nt(l))) : d = !1;
757
- }
758
- d && (s.set(l, c), o(c, l, a, r, s), s.delete(l)), Ae(e, n, c);
759
- }
760
- function Ut(e, t, n, a, o) {
761
- e !== t && qo(t, function(r, s) {
762
- if (o || (o = new H()), E(r))
763
- ri(e, t, s, n, Ut, a, o);
764
- else {
765
- var i = a ? a(Pe(e, s), r, s + "", e, t, o) : void 0;
766
- i === void 0 && (i = r), Ae(e, s, i);
767
- }
768
- }, Dt);
769
- }
770
- function Ht(e) {
771
- return e;
772
- }
773
- function ai(e, t, n) {
774
- switch (n.length) {
775
- case 0:
776
- return e.call(t);
777
- case 1:
778
- return e.call(t, n[0]);
779
- case 2:
780
- return e.call(t, n[0], n[1]);
781
- case 3:
782
- return e.call(t, n[0], n[1], n[2]);
783
- }
784
- return e.apply(t, n);
785
- }
786
- var ct = Math.max;
787
- function oi(e, t, n) {
788
- return t = ct(t === void 0 ? e.length - 1 : t, 0), function() {
789
- for (var a = arguments, o = -1, r = ct(a.length - t, 0), s = Array(r); ++o < r; )
790
- s[o] = a[t + o];
791
- o = -1;
792
- for (var i = Array(t + 1); ++o < t; )
793
- i[o] = a[o];
794
- return i[t] = n(s), ai(e, this, i);
795
- };
796
- }
797
- function ii(e) {
798
- return function() {
799
- return e;
800
- };
801
- }
802
- var si = se ? function(e, t) {
803
- return se(e, "toString", {
804
- configurable: !0,
805
- enumerable: !1,
806
- value: ii(t),
807
- writable: !0
808
- });
809
- } : Ht, li = 800, ui = 16, di = Date.now;
810
- function ci(e) {
811
- var t = 0, n = 0;
812
- return function() {
813
- var a = di(), o = ui - (a - n);
814
- if (n = a, o > 0) {
815
- if (++t >= li)
816
- return arguments[0];
817
- } else
818
- t = 0;
819
- return e.apply(void 0, arguments);
820
- };
821
- }
822
- var pi = ci(si);
823
- function fi(e, t) {
824
- return pi(oi(e, t, Ht), e + "");
825
- }
826
- function gi(e, t, n) {
827
- if (!E(n))
828
- return !1;
829
- var a = typeof t;
830
- return (a == "number" ? ce(n) && Et(t, n.length) : a == "string" && t in n) ? le(n[t], e) : !1;
831
- }
832
- function mi(e) {
833
- return fi(function(t, n) {
834
- var a = -1, o = n.length, r = o > 1 ? n[o - 1] : void 0, s = o > 2 ? n[2] : void 0;
835
- for (r = e.length > 3 && typeof r == "function" ? (o--, r) : void 0, s && gi(n[0], n[1], s) && (r = o < 3 ? void 0 : r, o = 1), t = Object(t); ++a < o; ) {
836
- var i = n[a];
837
- i && e(t, i, a, r);
838
- }
839
- return t;
840
- });
841
- }
842
- var vs = mi(function(e, t, n) {
843
- Ut(e, t, n);
844
- });
845
- const hi = 100, ze = /* @__PURE__ */ new Map(), re = {
846
- width: window.innerWidth,
847
- height: window.innerHeight
848
- }, bi = (e) => {
849
- ze.set(e, e);
850
- }, yi = (e) => {
851
- ze.delete(e);
852
- }, vi = $t((e) => {
853
- const t = e;
854
- t.topEvent = {
855
- widthDiff: re.width - window.innerWidth,
856
- hightDiff: re.height - window.innerHeight
857
- }, re.width = window.innerWidth, re.height = window.innerHeight, ze.forEach((n) => n(t));
858
- }, hi);
859
- window.addEventListener("resize", vi);
860
- const wi = {
861
- addOnReize: bi,
862
- removeOnResize: yi
863
- }, G = {
864
- /**
865
- * Имя темы оформления
866
- *
867
- * В данный момент не используется для загрузки css
868
- *
869
- * @todo Реализовать загрузки и замену css темы на стороне UI
870
- *
871
- * @see https://ui.topvisor.com/?path=/docs/core-theme--docs
872
- */
873
- themeName: "light",
874
- /**
875
- * CSS-классы модификаторы для документа страницы
876
- *
877
- * Могут использоваться компонентами для включения необходимых режимов отображения страницы
878
- *
879
- * Разные компоненты могут добавлять один и тот же класс, чтобы не было конфликтов каждый компонент управляет только своим классом:
880
- * - Ключ - уникальное имя компонента, например в setup: `const uid = Math.random();`
881
- * - Значение - класс модификатора
882
- */
883
- documentClassModificators: /* @__PURE__ */ new Map(),
884
- /**
885
- * Базовая ширина страницы для отображения ПК / Мобильной версии сайта
886
- *
887
- * @see Core state isMobile
888
- */
889
- widthForMobile: 900,
890
- /**
891
- * Формат даты, который будет использоваться по умолчанию для вывода даты, как правило, зависит от текущего пользователя
892
- */
893
- dateFormat: "Y-m-d",
894
- /**
895
- * Валюта, которая будет использоваться по умолчанию, как правило, зависит от текущего пользователя
896
- */
897
- currency: "USD",
898
- /**
899
- * Смещение timezone относительно UTC в минутах
900
- * Для Москвы: -180
901
- */
902
- timezoneOffset: (/* @__PURE__ */ new Date()).getTimezoneOffset()
903
- }, Ti = {
904
- /**
905
- * CSS-классы модификаторы для документа страницы
906
- */
907
- documentClassModificators: G.documentClassModificators,
908
- dateFormat: G.dateFormat,
909
- currency: G.currency,
910
- timezoneOffset: G.timezoneOffset,
911
- /**
912
- * Device by size
913
- *
914
- * @see Core widthForMobile
915
- */
916
- isMobile: !1,
917
- /**
918
- * Device by user agent
919
- */
920
- isMobileUA: !1,
921
- /**
922
- * true, если плотность пикселей экрана больше 1
923
- */
924
- isRetina: !1,
925
- /**
926
- * true, елси это приложение
927
- */
928
- isApp: !1,
929
- /**
930
- * true при горизонтальном расположении устройства
931
- */
932
- isLandscape: !0,
933
- /**
934
- * true при вертикальном расположении устройства
935
- */
936
- isPortrait: !1,
937
- /**
938
- * Максимальная сторона страницы
939
- */
940
- size: 0,
941
- /**
942
- * true, если страница скрыта
943
- *
944
- * Не меняйте это значение вручную
945
- */
946
- isHidden: !1
947
- };
948
- class $i {
949
- /**
950
- * Загрузить в память полный функционал TopNotice
951
- */
952
- static async TopNotice() {
953
- await import("./notice-C0QQCxdI.es.js");
954
- }
955
- /**
956
- * Загрузить в память полный функционал TopPopup
957
- */
958
- static async TopPopup() {
959
- await import("./popup-Cl0Rac26.es.js");
960
- }
961
- /**
962
- * Загрузить в память полный функционал TopDialog
963
- */
964
- static async TopDialog() {
965
- const { TopDialogWorker: t } = await import("../core/app.js");
966
- await t.getDialogsUtils();
967
- }
968
- }
969
- class g {
970
- static state = ve({ ...Ti });
971
- static preloaders = $i;
972
- static widthForMobile = G.widthForMobile;
973
- static themeName = G.themeName;
974
- static matchMediaIsMobile;
975
- static $ = $;
976
- static Events = wi;
977
- /**
978
- * Различные флаги, необходимые для работы UI
979
- */
980
- static flags = ve({ needLoadNotice: !1 });
981
- static _setState() {
982
- this.$ = $, g.matchMediaIsMobile = window.matchMedia(`(max-width: ${g.widthForMobile}px)`), g.state.isMobileUA = an(), g.state.isRetina = rn(), g.state.isApp = on(), g.useDocumentClassModificators(), g.useIsHidden(), g.setStateByWindowSize(), g.Events.addOnReize(g.onResize), g.onResize(), g.saveToCookie(), g.useCtrlClasses();
983
- }
984
- static useDocumentClassModificators() {
985
- gt(() => [...g.state.documentClassModificators], (t, n) => {
986
- let a = /* @__PURE__ */ new Set();
987
- n == null || n.forEach(([o, r]) => a.add(r)), t.forEach(([o, r]) => a.delete(r)), a.forEach((o) => document.documentElement.classList.remove(o)), t.forEach(([o, r]) => document.documentElement.classList.add(r));
988
- }, { immediate: !0 });
989
- }
990
- static useIsHidden() {
991
- document.addEventListener("visibilitychange", () => {
992
- g.state.isHidden = document.hidden;
993
- }), g.state.isHidden = document.hidden;
994
- }
995
- static setStateByWindowSize() {
996
- var t;
997
- g.state.isMobile = !!((t = g.matchMediaIsMobile) != null && t.matches), g.state.isLandscape = window.innerWidth > window.innerHeight, g.state.isPortrait = !g.state.isLandscape, g.state.size = window.innerWidth > window.innerHeight ? window.innerWidth : window.innerHeight, g.saveToCookie();
998
- }
999
- static onResize() {
1000
- g.setStateByWindowSize();
1001
- }
1002
- /**
1003
- * Сохранить информацию об устройстве в cookie
1004
- */
1005
- static saveToCookie() {
1006
- const t = [
1007
- 1,
1008
- window.innerWidth,
1009
- window.innerHeight,
1010
- window.devicePixelRatio,
1011
- Number(g.state.isMobile),
1012
- Number(g.state.isRetina)
1013
- ];
1014
- document.cookie = "device=" + t.join(",") + "; path=/;";
1015
- }
1016
- /**
1017
- * Добавить установку класса при нажатии ctrl (cmd) / alt
1018
- */
1019
- static useCtrlClasses() {
1020
- const t = document.body.classList;
1021
- document.addEventListener("keydown", (n) => {
1022
- (n.ctrlKey || n.metaKey) && t.add("top-body-press_ctrl"), n.altKey && t.add("top-body-press_alt");
1023
- }), document.addEventListener("keyup", () => t.remove("top-body-press_ctrl", "top-body-press_alt")), document.addEventListener("keypress", () => t.remove("top-body-press_ctrl", "top-body-press_alt")), window.addEventListener("blur", () => t.remove("top-body-press_ctrl", "top-body-press_alt"));
1024
- }
1025
- /**
1026
- * Вывести на экране сообщение в стилизации под push уведомление
1027
- *
1028
- * Для удобства работы со словарем, принимает один парамтер `text` и первую строку из него использует как `title`.
1029
- * Данное поведение можно изменить, передав в параметрах `options.title`
1030
- *
1031
- * Для вывода используется компонент TopNotice, требует его подклчючения
1032
- *
1033
- * @docs https://ui.topvisor.com/?path=/docs/components-core-notice--docs
1034
- */
1035
- static notice = async (t, n, a) => (g.flags.needLoadNotice = !0, (await import("./notice-C0QQCxdI.es.js")).show(t, n, a));
1036
- /**
1037
- * Вставить css стили на страницу по ссылке с автоматическим добавлением правил media
1038
- *
1039
- * Правила media:
1040
- * - Файлы *.m.css будут грузиться, только на экранах с шириной менее, чем Core.widthForMobile
1041
- * - Файлы *.pc.css будут грузиться, только на экранах с шириной более, чем Core.widthForMobile
1042
- *
1043
- * Настройкой Core.widthForMobile можно управлять через plugin: @topvisor/ui/plugin/core
1044
- *
1045
- * @param fileNames - список ссылок на css файлы
1046
- * @param useSync - использовать синхронную загрузку css, только для css с того же домена. В синхронном режиме стили предзагружаются независимо от
1047
- * media
1048
- */
1049
- static insertCSSLinkToPage = (t, n = !1) => {
1050
- const a = /* @__PURE__ */ new Map();
1051
- a.set("::", []), t.forEach((r) => {
1052
- let s = !1, i = !1;
1053
- r.match(/\.m\./) && (s = !0), r.match(/\.pc\./) && (i = !0);
1054
- const l = `${s}:${i}`;
1055
- a.has(l) || a.set(`${s}:${i}`, []), a.get(`${s}:${i}`).push(r);
1056
- });
1057
- const o = [];
1058
- return a.forEach((r, s) => {
1059
- if (!r.length)
1060
- return;
1061
- const [i, l] = s.split(":").map((d) => d === "true");
1062
- let u = "all";
1063
- i && (u = "(max-width: " + g.widthForMobile + "px)"), l && (u = "(min-width: " + g.widthForMobile + "px)"), g._insertToPage(r, u, n).forEach((d) => o.push(d));
1064
- }), Promise.all(o);
1065
- };
1066
- static _insertToPage = (t, n, a) => {
1067
- const o = [];
1068
- return t.forEach((r) => {
1069
- if (a) {
1070
- const d = new XMLHttpRequest();
1071
- d.open("GET", r, !1), d.send();
1072
- }
1073
- const s = "topCSSLink-" + r.replace(/\W/g, "-");
1074
- if (window.hasOwnProperty(s)) return;
1075
- let i, l;
1076
- const u = new Promise((d, p) => {
1077
- i = d, l = p;
1078
- });
1079
- o.push(u);
1080
- const c = document.createElement("link");
1081
- c.id = s, c.rel = "stylesheet", c.media = n, c.href = r, c.onload = () => i(), c.onerror = () => l(), document.head.append(c);
1082
- }), o;
1083
- };
1084
- /**
1085
- * Вставить css стили на страницу с автоматическим добавлением правил media
1086
- *
1087
- * Загрузка с Vite:
1088
- *
1089
- * ```js
1090
- * import style from '/style.css?inline';
1091
- *
1092
- * insertToPageAsInine(style);
1093
- * ```
1094
- *
1095
- * Загрузка с fetch:
1096
- *
1097
- * ```js
1098
- * const style = await fetch('./style.css');
1099
- *
1100
- * insertToPageAsInine(style);
1101
- * ```
1102
- *
1103
- * @param style - css стили в строке
1104
- * @param type - если указать 'm' или 'pc', то стили будут применяться по условию в зависимости от настройки this.widthForMobile
1105
- *
1106
- * @see insertToPage
1107
- */
1108
- static insertStyleToPage = (t, n = "") => {
1109
- let a = "all";
1110
- n === "m" && (a = "(max-width: " + g.widthForMobile + "px)"), n === "pc" && (a = "(min-width: " + g.widthForMobile + "px)");
1111
- const o = document.createElement("style");
1112
- o.innerHTML = t, o.media = a, document.head.append(o);
1113
- };
1114
- }
1115
- const ws = {
1116
- install: (e, t) => {
1117
- const n = (a, o, r) => {
1118
- if (!e.config.globalProperties.$i18n[a][o]) return "";
1119
- let s = e.config.globalProperties.$i18n[a][o] + "";
1120
- for (const i in r)
1121
- s = s.replaceAll(new RegExp(`{{ ${i} }}`, "g"), String(r[i]));
1122
- return s;
1123
- };
1124
- Object.setPrototypeOf(n, ve(t.i18n)), e.config.globalProperties.$i18n = n, e.config.globalProperties.$i18nLang = Ce(t.lang), e.config.globalProperties.i18n = e.config.globalProperties.$i18n, typeof window < "u" && !window.requirejs && (globalThis.$i18n = e.config.globalProperties.$i18n), e.provide("$i18n", e.config.globalProperties.$i18n), e.provide("$i18nLang", e.config.globalProperties.$i18nLang), e.provide("i18n", e.config.globalProperties.i18n);
1125
- }
1126
- }, pe = () => {
1127
- var e, t;
1128
- return !we() && ((t = (e = window.mo) == null ? void 0 : e.user) != null && t.lang) ? requirejs("i18n").categories[mo.user.lang] : !we() && globalThis.$i18n ? globalThis.$i18n : mt("$i18n");
1129
- }, Ts = () => {
1130
- var e, t;
1131
- return !we() && ((t = (e = window.mo) == null ? void 0 : e.user) != null && t.lang) ? Ce(mo.user.lang) : mt("$i18nLang");
1132
- }, $s = (e, t, n) => {
1133
- const a = pe().Calendar;
1134
- switch (new Date(e, --t, n).getDay()) {
1135
- case 0:
1136
- return a.Dw_1 + ".";
1137
- case 1:
1138
- return a.Dw_2 + ".";
1139
- case 2:
1140
- return a.Dw_3 + ".";
1141
- case 3:
1142
- return a.Dw_4 + ".";
1143
- case 4:
1144
- return a.Dw_5 + ".";
1145
- case 5:
1146
- return a.Dw_6 + ".";
1147
- case 6:
1148
- return a.Dw_7 + ".";
1149
- default:
1150
- return "";
1151
- }
1152
- }, Ss = (e, t = !0, n = 2) => {
1153
- let a = String(e.getFullYear()), o = String(e.getDate()).padStart(2, "0"), r = String(e.getMonth() + 1).padStart(2, "0"), s = String(e.getHours()).padStart(2, "0"), i = String(e.getMinutes()).padStart(2, "0"), l = String(e.getSeconds()).padStart(2, "0"), u = a + "-" + r + "-" + o;
1154
- return n >= 1 && (u += " " + s), n >= 2 && (u += ":" + i), n === 3 && (u += ":" + l), t && (u = q(u, n)), u;
1155
- };
1156
- function _s(e) {
1157
- if (e.indexOf("T") === -1) {
1158
- e.length == 10 && (e += " 00:00:00");
1159
- const t = g.state.timezoneOffset >= 0 ? "-" : "+", n = Math.abs(g.state.timezoneOffset) / 60;
1160
- let a;
1161
- if (Number.isInteger(n))
1162
- a = t + n.toString().padStart(2, "0") + ":00";
1163
- else {
1164
- const o = Math.floor(n), r = Math.round((n - o) * 60);
1165
- a = t + o.toString().padStart(2, "0") + ":" + r.toString().padStart(2, "0");
1166
- }
1167
- e = e.replace(" ", "T") + a;
1168
- }
1169
- return new Date(e);
1170
- }
1171
- const Os = (e, t = !0, n = 0, a = g.state.timezoneOffset) => (a === (/* @__PURE__ */ new Date()).getTimezoneOffset() && (a = void 0), Gt(e, t, n, a));
1172
- function Gt(e, t = !0, n = 0, a) {
1173
- e || (e = (/* @__PURE__ */ new Date()).getTime());
1174
- const o = a ? e + (/* @__PURE__ */ new Date()).getTimezoneOffset() * 60 * 1e3 - a * 60 * 1e3 : e, r = new Date(o), s = r.getFullYear(), i = String(r.getMonth() + 1).padStart(2, "0"), l = r.getDate().toString().padStart(2, "0"), u = r.getHours().toString().padStart(2, "0"), c = r.getMinutes().toString().padStart(2, "0"), d = r.getSeconds().toString().padStart(2, "0");
1175
- n === "auto" && (n = 0, r.getHours() && (n = 1), r.getMinutes() && (n = 2), r.getSeconds() && (n = 3));
1176
- let p = s + "-" + i + "-" + l;
1177
- return n && (p += " "), n >= 1 && (p += u), n >= 2 && (p += ":" + c), n >= 3 && (p += ":" + d), t && (p = q(a ? p : r, n)), p;
1178
- }
1179
- function Es(e, t = !0) {
1180
- const a = (/* @__PURE__ */ new Date()).getTimezoneOffset() / 60 * -1 * 60 * 60 * 1e3, o = 3 * 60 * 60 * 1e3;
1181
- let r;
1182
- e !== void 0 ? r = new Date(e) : r = /* @__PURE__ */ new Date(), r.setTime(r.getTime() - a + o);
1183
- let s = String(r.getFullYear()), i = String(r.getDate()).padStart(2, "0"), l = String(r.getMonth() + 1).padStart(2, "0"), u = String(r.getHours()).padStart(2, "0"), c = String(r.getMinutes()).padStart(2, "0"), d = String(r.getSeconds()).padStart(2, "0"), p = s + "-" + l + "-" + i + " " + u + ":" + c + ":" + d;
1184
- return t && (p = q(p)), p;
1185
- }
1186
- function q(e, t = 2, n, a) {
1187
- if (a || (a = pe().Common.Not_date), typeof e == "string" && (!e || e.substring(0, 10) === "0000-00-00") && a && a !== "0000-00-00" || !e) return a;
1188
- n || (n = g.state.dateFormat), n = n.toLowerCase().replace("m", "mm").replace("y", "yy").replace("d", "dd");
1189
- let o;
1190
- if (e instanceof Date)
1191
- o = e;
1192
- else {
1193
- let s = e.substring(0, 10);
1194
- if (s.length === 7 && (s += "-01"), s += " 00:00", s = s.replace(/-/g, "/"), o = new Date(s), isNaN(Number(o))) return a;
1195
- }
1196
- let r = "";
1197
- if (n && window.$ && (r = $.datepicker.formatDate(n, o)), t && typeof e == "string" && e.length > 10 || t && e instanceof Date) {
1198
- let s = "";
1199
- if (e instanceof Date)
1200
- s = (/* @__PURE__ */ new Date()).toLocaleTimeString("en-US", {
1201
- hour12: !1,
1202
- hour: "numeric",
1203
- minute: t >= 2 ? "numeric" : void 0,
1204
- second: t >= 3 ? "numeric" : void 0
1205
- });
1206
- else
1207
- switch (t) {
1208
- // часы
1209
- case 1:
1210
- s = e.substring(11, 13);
1211
- break;
1212
- // часы и минуты
1213
- case 2:
1214
- s = e.substring(11, 16);
1215
- break;
1216
- // часы, минуты и секунды
1217
- case 3:
1218
- s = e.substring(11, 19);
1219
- break;
1220
- }
1221
- r += " " + s;
1222
- }
1223
- return r = r.trim(), r;
1224
- }
1225
- function pt(e, t) {
1226
- if (t || (t = pe().Common.Not_date), !e)
1227
- return t;
1228
- if (e.match(/\d\d\d\d-\d\d-\d\d/))
1229
- return e;
1230
- const n = g.state.dateFormat.toLowerCase(), a = e.split(/\W/), o = n.split(/\W/);
1231
- let r = "", s = "", i = "";
1232
- o.forEach((u, c) => {
1233
- switch (u) {
1234
- case "d":
1235
- r = a[c];
1236
- break;
1237
- case "m":
1238
- s = a[c];
1239
- break;
1240
- case "y":
1241
- i = a[c];
1242
- break;
1243
- }
1244
- });
1245
- let l = i + "-" + s + "-" + r;
1246
- return l.match(/\d\d\d\d-\d\d-\d\d/) || (console.info("Неверный формат даты, будет возращена текущая дата, " + l), l = Gt((/* @__PURE__ */ new Date()).getTime(), !1).substring(0, 10)), l;
1247
- }
1248
- const Si = { class: "top-avatar" }, _i = ["src", "title"], Oi = ["title"], Ei = /* @__PURE__ */ _({
1249
- __name: "avatar",
1250
- props: {
1251
- size: { default: 64 },
1252
- image: {},
1253
- nickname: {},
1254
- isOnline: { type: Boolean },
1255
- lastActiveTime: {},
1256
- i18n: { default: () => ({
1257
- Online: "Online",
1258
- LastSeen: "Last seen"
1259
- }) }
1260
- },
1261
- setup(e) {
1262
- ht((o) => ({
1263
- "52a765e6": o.size + "px"
1264
- }));
1265
- const t = e, n = O(() => {
1266
- var o, r;
1267
- if (t.isOnline)
1268
- return (o = t.i18n) == null ? void 0 : o.Online;
1269
- if (t.lastActiveTime)
1270
- return ((r = t.i18n) == null ? void 0 : r.LastSeen) + ": " + q(t.lastActiveTime, 2);
1271
- }), a = O(() => t.nickname ? t.nickname + (n.value ? `
1272
- ${n.value}` : "") : n.value);
1273
- return (o, r) => (f(), m("div", Si, [
1274
- j("img", {
1275
- class: "top-avatar_image",
1276
- src: o.image,
1277
- title: a.value,
1278
- alt: ""
1279
- }, null, 8, _i),
1280
- o.isOnline ? (f(), m("div", {
1281
- key: 0,
1282
- class: "top-avatar_status",
1283
- title: n.value
1284
- }, null, 8, Oi)) : T("", !0)
1285
- ]));
1286
- }
1287
- }), ji = ["data-top-badge"], Ai = {
1288
- key: 1,
1289
- class: "top-ellipsis"
1290
- }, Pi = /* @__PURE__ */ _({
1291
- __name: "button",
1292
- props: {
1293
- color: { default: "blue" },
1294
- styling: { default: "" },
1295
- size: { default: "s" },
1296
- name: {},
1297
- title: {},
1298
- icon: {},
1299
- icon2: {},
1300
- href: {},
1301
- badgeNumber: {},
1302
- badgePosAfterText: { type: Boolean },
1303
- disabled: { type: Boolean },
1304
- isSubmit: { type: Boolean },
1305
- isActive: { type: Boolean },
1306
- isProgress: { type: Boolean }
1307
- },
1308
- setup(e) {
1309
- const t = e, n = O(() => t.href ? "a" : "button"), a = O(() => t.isSubmit ? "submit" : void 0);
1310
- return (o, r) => (f(), L(Qt(n.value), {
1311
- class: S({
1312
- "top-active": o.isActive,
1313
- "top-disabled": o.disabled,
1314
- "top-forms-focusable": !o.disabled,
1315
- "top-button": !0,
1316
- "top-button-progress": o.isProgress,
1317
- [`top-size_${o.size}`]: !!o.size,
1318
- [`top-color_${o.color}`]: !0,
1319
- [`top-style_${o.styling}`]: !!o.styling,
1320
- "top-button-withoutText": !o.$slots.default
1321
- }),
1322
- name: o.name,
1323
- title: o.title,
1324
- href: o.href,
1325
- type: a.value,
1326
- "data-top-icon": o.icon || void 0,
1327
- "data-top-icon2": o.icon2 || void 0,
1328
- disabled: o.disabled || void 0,
1329
- inProgress: o.isProgress
1330
- }, {
1331
- default: te(() => [
1332
- o.badgeNumber ? (f(), m("span", {
1333
- key: 0,
1334
- "data-top-badge": o.badgeNumber,
1335
- class: S(["top-button_badge", {
1336
- "top-button_badge-afterText": o.badgePosAfterText
1337
- }])
1338
- }, null, 10, ji)) : T("", !0),
1339
- o.$slots.default ? (f(), m("span", Ai, [
1340
- M(o.$slots, "default", {}, () => [
1341
- Jt(P(o.icon ? "" : "Button"), 1)
1342
- ])
1343
- ])) : T("", !0),
1344
- M(o.$slots, "html")
1345
- ]),
1346
- _: 3
1347
- }, 8, ["class", "name", "title", "href", "type", "data-top-icon", "data-top-icon2", "disabled", "inProgress"]));
1348
- }
1349
- }), Mi = { class: "top-caption" }, Ci = { class: "top-caption_title" }, Di = /* @__PURE__ */ _({
1350
- __name: "caption",
1351
- props: {
1352
- title: {}
1353
- },
1354
- setup(e) {
1355
- return (t, n) => (f(), m("label", Mi, [
1356
- j("div", Ci, P(t.title ? t.title : " "), 1),
1357
- M(t.$slots, "default")
1358
- ]));
1359
- }
1360
- }), Ii = { class: "top-forms-optionLabel" }, fe = /* @__PURE__ */ _({
1361
- __name: "controlLabel",
1362
- props: {
1363
- description: {},
1364
- disabled: { type: Boolean }
1365
- },
1366
- setup(e) {
1367
- return (t, n) => (f(), m("div", Ii, [
1368
- j("div", {
1369
- class: S({
1370
- "top-forms-optionLabel_title": !0,
1371
- "top-forms-optionLabel_title-disabled": t.disabled
1372
- })
1373
- }, [
1374
- M(t.$slots, "default")
1375
- ], 2),
1376
- t.description ? (f(), m("div", {
1377
- key: 0,
1378
- class: S(["top-forms-optionLabel_description", { "top-forms-optionLabel_description-disabled": t.disabled }])
1379
- }, P(t.description), 3)) : T("", !0)
1380
- ]));
1381
- }
1382
- }), Bi = ["name", "value", "indeterminate", "disabled"], Li = /* @__PURE__ */ _({
1383
- __name: "checkbox",
1384
- props: /* @__PURE__ */ Te({
1385
- modelValue: { type: [Boolean, Array, Set] },
1386
- name: {},
1387
- value: {},
1388
- description: {},
1389
- disabled: { type: Boolean },
1390
- indeterminate: { type: Boolean },
1391
- isError: { type: Boolean }
1392
- }, {
1393
- modelValue: { type: [Boolean, Array, Set] },
1394
- modelModifiers: {}
1395
- }),
1396
- emits: ["update:modelValue"],
1397
- setup(e) {
1398
- const t = bt(e, "modelValue");
1399
- return (n, a) => {
1400
- const o = z("top-focus");
1401
- return f(), m("label", {
1402
- class: S({
1403
- "top-forms-optionWrapper": !0,
1404
- "top-checkbox": !0,
1405
- ["top-checkbox_" + n.name]: !!n.name,
1406
- "top-disabled": n.disabled,
1407
- "top-error": n.isError && !n.disabled
1408
- })
1409
- }, [
1410
- V(j("input", {
1411
- type: "checkbox",
1412
- class: S({
1413
- "top-forms-focusable": !n.disabled,
1414
- "top-forms-option": !0,
1415
- "top-checkbox_input": !0,
1416
- "top-error": n.isError && !n.disabled
1417
- }),
1418
- name: n.name,
1419
- "onUpdate:modelValue": a[0] || (a[0] = (r) => t.value = r),
1420
- value: n.value,
1421
- indeterminate: n.indeterminate,
1422
- disabled: n.disabled
1423
- }, null, 10, Bi), [
1424
- [
1425
- o,
1426
- n.isError,
1427
- void 0,
1428
- { onupdate: !0 }
1429
- ],
1430
- [yt, t.value]
1431
- ]),
1432
- n.$slots.default ? (f(), L(fe, {
1433
- key: 0,
1434
- description: n.description,
1435
- disabled: n.disabled
1436
- }, {
1437
- default: te(() => [
1438
- M(n.$slots, "default")
1439
- ]),
1440
- _: 3
1441
- }, 8, ["description", "disabled"])) : T("", !0)
1442
- ], 2);
1443
- };
1444
- }
1445
- }), Wi = ["title"], Kt = /* @__PURE__ */ _({
1446
- __name: "hint",
1447
- props: {
1448
- hint: {}
1449
- },
1450
- setup(e) {
1451
- return (t, n) => (f(), m("span", {
1452
- class: "top-hint",
1453
- "data-top-icon": "",
1454
- title: t.hint
1455
- }, null, 8, Wi));
1456
- }
1457
- }), Ni = (e, t) => {
1458
- const n = e.__vccOpts || e;
1459
- for (const [a, o] of t)
1460
- n[a] = o;
1461
- return n;
1462
- }, zi = {}, Vi = { class: "top-loadbar" };
1463
- function ki(e, t) {
1464
- return f(), m("div", Vi);
1465
- }
1466
- const Xt = /* @__PURE__ */ Ni(zi, [["render", ki]]), Ri = ["data-top-icon", "data-top-icon2"], Fi = ["name", "title", "placeholder", "disabled", "readonly", "data-1p-ignore"], Ui = {
1467
- key: 2,
1468
- class: "top-formsCaption"
1469
- }, Me = /* @__PURE__ */ _({
1470
- inheritAttrs: !1,
1471
- __name: "input",
1472
- props: {
1473
- modelValue: {},
1474
- name: {},
1475
- disabled: { type: Boolean },
1476
- readonly: { type: Boolean },
1477
- modificator: {},
1478
- size: { default: "s" },
1479
- styling: { default: "" },
1480
- isError: { type: Boolean },
1481
- isLoading: { type: Boolean },
1482
- icon: {},
1483
- icon2: {},
1484
- addCleaner: { type: Boolean },
1485
- title: {},
1486
- captionType: { default: "" }
1487
- },
1488
- emits: ["update:modelValue"],
1489
- setup(e, { emit: t }) {
1490
- const n = e, a = t, o = O({
1491
- get() {
1492
- return n.modelValue;
1493
- },
1494
- set(i) {
1495
- a("update:modelValue", i);
1496
- }
1497
- }), r = O(() => n.addCleaner && !n.title || n.captionType !== "" ? "" : n.title), s = (i) => {
1498
- n.modelValue && i.stopPropagation(), a("update:modelValue", "");
1499
- };
1500
- return (i, l) => {
1501
- const u = z("top-focus");
1502
- return f(), m("label", {
1503
- class: S({
1504
- "top-input": !0,
1505
- ["top-size_" + i.size]: !0,
1506
- "top-disabled": i.disabled,
1507
- ["top-input-" + i.modificator]: !!i.modificator,
1508
- "top-input-withCleaner": i.addCleaner && o.value && o.value !== "0000-00-00",
1509
- "top-formsCaptionWrapper": i.captionType !== "",
1510
- "top-formsCaptionWrapper-always": i.captionType === "top"
1511
- }),
1512
- "data-top-icon": i.icon,
1513
- "data-top-icon2": i.icon2
1514
- }, [
1515
- i.isLoading ? (f(), L(Xt, { key: 0 })) : T("", !0),
1516
- V(j("input", ie({
1517
- type: "text",
1518
- class: {
1519
- "top-input_input": !0,
1520
- ["top-input_input-" + i.modificator]: !!i.modificator,
1521
- "top-forms-focusable": !i.disabled,
1522
- "top-error": i.isError,
1523
- [`top-style_${i.styling}`]: !!i.styling
1524
- },
1525
- autocomplete: "off_always",
1526
- name: i.name,
1527
- "onUpdate:modelValue": l[0] || (l[0] = (c) => o.value = c),
1528
- title: i.title,
1529
- placeholder: r.value,
1530
- disabled: i.disabled,
1531
- readonly: i.readonly,
1532
- onKeydown: l[1] || (l[1] = Zt((c) => i.addCleaner && s(c), ["esc"])),
1533
- "data-1p-ignore": i.$attrs.type !== "email" && i.$attrs.type !== "password"
1534
- }, i.$attrs), null, 16, Fi), [
1535
- [
1536
- u,
1537
- i.isError,
1538
- void 0,
1539
- { onupdate: !0 }
1540
- ],
1541
- [vt, o.value]
1542
- ]),
1543
- i.addCleaner && o.value && o.value !== "0000-00-00" ? (f(), m("span", {
1544
- key: 1,
1545
- class: "top-input_cleaner",
1546
- "data-top-icon": "",
1547
- onClick: xt(s, ["prevent"])
1548
- })) : T("", !0),
1549
- i.captionType !== "" ? (f(), m("span", Ui, P(i.title), 1)) : T("", !0),
1550
- M(i.$slots, "default")
1551
- ], 10, Ri);
1552
- };
1553
- }
1554
- }), Hi = ["value"], Gi = !!document.documentElement.ontouchstart && !!document.createElement("input").showPicker;
1555
- let ft = (e) => {
1556
- };
1557
- const Ki = /* @__PURE__ */ _({
1558
- __name: "inputDate",
1559
- props: {
1560
- modelValue: {},
1561
- name: {},
1562
- disabled: { type: Boolean },
1563
- readonly: { type: Boolean },
1564
- modificator: {},
1565
- size: {},
1566
- styling: {},
1567
- isError: { type: Boolean },
1568
- isLoading: { type: Boolean },
1569
- icon: {},
1570
- icon2: { default: "" },
1571
- addCleaner: { type: Boolean },
1572
- title: {},
1573
- captionType: {}
1574
- },
1575
- emits: ["update:modelValue"],
1576
- setup(e, { emit: t }) {
1577
- const n = pe(), a = e, o = t;
1578
- en(() => {
1579
- s && s.datepicker("destroy");
1580
- });
1581
- const r = Ce();
1582
- let s;
1583
- const i = O({
1584
- get() {
1585
- return q(a.modelValue, 2, void 0, "0000-00-00");
1586
- },
1587
- set(d) {
1588
- d = pt(d, "0000-00-00"), o("update:modelValue", d);
1589
- }
1590
- });
1591
- let l = (d) => {
1592
- ft(d);
1593
- }, u = (d) => {
1594
- const p = pt(d.target.value), b = q(p);
1595
- if (!b || b === n.Common.Not_date || d.target.value !== b) {
1596
- d.target.value = i.value;
1597
- return;
1598
- }
1599
- i.value = d.target.value;
1600
- };
1601
- async function c(d) {
1602
- const p = await import("./datepicker-iaUT_eSc.es.js");
1603
- ft = p.oninput, s = p.connectDatepicker(d.target, {
1604
- onSelect: () => u(d)
1605
- }), s && s.datepicker("show");
1606
- }
1607
- return (d, p) => me(Gi) ? (f(), L(Me, ie({ key: 0 }, d.$props, {
1608
- modelValue: i.value,
1609
- readonly: "",
1610
- onClick: p[1] || (p[1] = (b) => r.value.showPicker())
1611
- }), {
1612
- default: te(() => [
1613
- j("input", {
1614
- ref_key: "el",
1615
- ref: r,
1616
- type: "date",
1617
- class: "top-input_input-date",
1618
- value: d.modelValue,
1619
- onChange: p[0] || (p[0] = (b) => i.value = b.target.value),
1620
- tabindex: "-1"
1621
- }, null, 40, Hi)
1622
- ]),
1623
- _: 1
1624
- }, 16, ["modelValue"])) : (f(), L(Me, ie({ key: 1 }, d.$props, {
1625
- modelValue: i.value,
1626
- "onUpdate:modelValue": p[2] || (p[2] = (b) => b === "" ? i.value = "" : ""),
1627
- onInput: me(l),
1628
- onFocusOnce: c,
1629
- onChange: me(u),
1630
- modificator: "datepicker"
1631
- }), null, 16, ["modelValue", "onInput", "onChange"]));
1632
- }
1633
- }), Xi = { class: "top-inputRange" }, qi = /* @__PURE__ */ _({
1634
- __name: "inputRange",
1635
- setup(e) {
1636
- return (t, n) => (f(), m("div", Xi, [
1637
- M(t.$slots, "from"),
1638
- n[0] || (n[0] = j("span", { class: "top-inputRange_dash" }, " — ", -1)),
1639
- M(t.$slots, "to")
1640
- ]));
1641
- }
1642
- }), Yi = ["name", "value", "disabled"], Qi = /* @__PURE__ */ _({
1643
- __name: "radio",
1644
- props: {
1645
- modelValue: {},
1646
- value: {},
1647
- name: {},
1648
- description: {},
1649
- disabled: { type: Boolean },
1650
- isError: { type: Boolean }
1651
- },
1652
- emits: ["update:modelValue"],
1653
- setup(e, { emit: t }) {
1654
- const n = e, a = t, o = O({
1655
- get() {
1656
- return n.modelValue;
1657
- },
1658
- set(r) {
1659
- a("update:modelValue", r);
1660
- }
1661
- });
1662
- return (r, s) => {
1663
- const i = z("top-focus");
1664
- return f(), m("label", {
1665
- class: S({
1666
- "top-forms-optionWrapper": !0,
1667
- "top-radio": !0,
1668
- ["top-radio_" + r.name]: r.name !== "",
1669
- "top-disabled": r.disabled,
1670
- "top-error": r.isError && !r.disabled
1671
- })
1672
- }, [
1673
- V(j("input", {
1674
- type: "radio",
1675
- class: S({
1676
- "top-forms-focusable": !r.disabled,
1677
- "top-forms-option": !0,
1678
- "top-radio_input": !0,
1679
- "top-error": r.isError && !r.disabled
1680
- }),
1681
- "onUpdate:modelValue": s[0] || (s[0] = (l) => o.value = l),
1682
- name: r.name,
1683
- value: r.value,
1684
- disabled: r.disabled
1685
- }, null, 10, Yi), [
1686
- [
1687
- i,
1688
- r.isError,
1689
- void 0,
1690
- { onupdate: !0 }
1691
- ],
1692
- [tn, o.value]
1693
- ]),
1694
- r.$slots.default ? (f(), L(fe, {
1695
- key: 0,
1696
- description: r.description,
1697
- disabled: r.disabled
1698
- }, {
1699
- default: te(() => [
1700
- M(r.$slots, "default")
1701
- ]),
1702
- _: 3
1703
- }, 8, ["description", "disabled"])) : T("", !0)
1704
- ], 2);
1705
- };
1706
- }
1707
- }), Ji = ["name", "value", "disabled"], Zi = /* @__PURE__ */ _({
1708
- __name: "switcher",
1709
- props: {
1710
- modelValue: { type: [Boolean, Array, Set] },
1711
- name: {},
1712
- value: {},
1713
- description: {},
1714
- disabled: { type: Boolean },
1715
- isError: { type: Boolean }
1716
- },
1717
- emits: ["update:modelValue"],
1718
- setup(e, { emit: t }) {
1719
- const n = e, a = t, o = O({
1720
- get() {
1721
- return n.modelValue;
1722
- },
1723
- set(r) {
1724
- a("update:modelValue", r);
1725
- }
1726
- });
1727
- return (r, s) => {
1728
- const i = z("top-focus");
1729
- return f(), m("label", {
1730
- class: S({
1731
- "top-forms-optionWrapper": !0,
1732
- "top-checkboxSwitcher": !0,
1733
- "top-disabled": r.disabled,
1734
- "top-error": r.isError && !r.disabled
1735
- })
1736
- }, [
1737
- V(j("input", {
1738
- type: "checkbox",
1739
- class: S({
1740
- "top-forms-focusable": !r.disabled,
1741
- "top-forms-option": !0,
1742
- "top-checkboxSwitcher_input": !0,
1743
- "top-error": r.isError && !r.disabled
1744
- }),
1745
- "onUpdate:modelValue": s[0] || (s[0] = (l) => o.value = l),
1746
- name: r.name,
1747
- value: r.value,
1748
- disabled: r.disabled
1749
- }, null, 10, Ji), [
1750
- [
1751
- i,
1752
- r.isError,
1753
- void 0,
1754
- { onupdate: !0 }
1755
- ],
1756
- [yt, o.value]
1757
- ]),
1758
- r.$slots.default ? (f(), L(fe, {
1759
- key: 0,
1760
- description: r.description,
1761
- disabled: r.disabled
1762
- }, {
1763
- default: te(() => [
1764
- M(r.$slots, "default")
1765
- ]),
1766
- _: 3
1767
- }, 8, ["description", "disabled"])) : T("", !0)
1768
- ], 2);
1769
- };
1770
- }
1771
- }), xi = ["name", "placeholder", "disabled", "readonly", "rows", "maxlength"], es = {
1772
- key: 0,
1773
- class: "top-textarea_pseudoContent"
1774
- }, ts = /* @__PURE__ */ _({
1775
- inheritAttrs: !1,
1776
- __name: "textarea",
1777
- props: {
1778
- modelValue: {},
1779
- name: {},
1780
- placeholder: {},
1781
- styling: { default: "" },
1782
- rows: { default: 5 },
1783
- minHeight: { default: 120 },
1784
- expandable: { type: Boolean },
1785
- disabled: { type: Boolean },
1786
- readonly: { type: Boolean },
1787
- isError: { type: Boolean },
1788
- hint: {},
1789
- maxLength: {}
1790
- },
1791
- emits: ["update:modelValue"],
1792
- setup(e, { emit: t }) {
1793
- ht((r) => ({
1794
- "45db075d": r.minHeight + "px"
1795
- }));
1796
- const n = e, a = t, o = O({
1797
- get() {
1798
- return n.modelValue;
1799
- },
1800
- set(r) {
1801
- a("update:modelValue", r);
1802
- }
1803
- });
1804
- return (r, s) => {
1805
- const i = z("top-focus"), l = z("top-tooltip");
1806
- return f(), m("label", {
1807
- class: S({
1808
- "top-textarea": !0,
1809
- ["top-textarea-" + r.name]: r.name,
1810
- "top-disabled": r.disabled
1811
- })
1812
- }, [
1813
- V(j("textarea", ie({
1814
- type: "text",
1815
- class: {
1816
- "top-forms-focusable": !r.disabled,
1817
- "top-textarea_textarea": !0,
1818
- "top-textarea_textarea-expandable": r.expandable,
1819
- "top-error": r.isError,
1820
- [`top-style_${r.styling}`]: !!r.styling
1821
- },
1822
- autocomplete: "off_always",
1823
- name: r.name,
1824
- placeholder: r.placeholder,
1825
- disabled: r.disabled,
1826
- readonly: r.readonly,
1827
- rows: r.expandable ? void 0 : r.rows,
1828
- maxlength: r.maxLength
1829
- }, r.$attrs, {
1830
- "onUpdate:modelValue": s[0] || (s[0] = (u) => o.value = u)
1831
- }), null, 16, xi), [
1832
- [
1833
- i,
1834
- r.isError,
1835
- void 0,
1836
- { onupdate: !0 }
1837
- ],
1838
- [vt, o.value]
1839
- ]),
1840
- r.expandable ? (f(), m("span", es, P(o.value + " "), 1)) : T("", !0),
1841
- r.hint ? V((f(), L(Kt, {
1842
- key: 1,
1843
- class: "top-textarea_hint",
1844
- hint: r.hint
1845
- }, null, 8, ["hint"])), [
1846
- [l]
1847
- ]) : T("", !0),
1848
- r.maxLength ? (f(), m("div", {
1849
- key: 2,
1850
- class: S(["top-textarea_counter", {
1851
- "top-textarea_counter-max": o.value.length >= r.maxLength
1852
- }])
1853
- }, P(o.value.length) + "/" + P(r.maxLength), 3)) : T("", !0)
1854
- ], 2);
1855
- };
1856
- }
1857
- }), ns = ["data-value", "data-top-icon", "data-top-icon2"], rs = ["name", "disabled"], as = ["label", "disabled"], os = ["value", "selected", "disabled"], is = ["value", "selected", "disabled"], ss = {
1858
- key: 1,
1859
- class: "top-formsCaption"
1860
- }, ls = /* @__PURE__ */ _({
1861
- __name: "select",
1862
- props: /* @__PURE__ */ Te({
1863
- modelValue: { type: [String, Number, Boolean] },
1864
- options: {},
1865
- name: {},
1866
- disabled: { type: Boolean },
1867
- icon: {},
1868
- size: { default: "s" },
1869
- styling: { default: "" },
1870
- addChanger: { type: Boolean },
1871
- title: {},
1872
- isError: { type: Boolean }
1873
- }, {
1874
- modelValue: { type: [String, Number, Boolean], required: !0 },
1875
- modelModifiers: {}
1876
- }),
1877
- emits: /* @__PURE__ */ Te(["update:modelValue"], ["update:modelValue"]),
1878
- setup(e) {
1879
- const t = e, n = bt(e, "modelValue"), a = O(() => {
1880
- const l = /* @__PURE__ */ new Map();
1881
- return t.options.forEach((u, c) => {
1882
- if (typeof u == "string" && (u = r(c, u)), u.children) {
1883
- const d = /* @__PURE__ */ new Map();
1884
- u.children.forEach((p, b) => {
1885
- typeof p == "string" && (p = r(b, p)), d.set(p.value, p);
1886
- }), u = { ...u }, u.children = d, l.set(u.value, u);
1887
- } else
1888
- l.set(u.value, u);
1889
- }), l;
1890
- }), o = O(() => {
1891
- const l = /* @__PURE__ */ new Map();
1892
- return a.value.forEach((u) => {
1893
- if (!u.disabled) {
1894
- if (u.children) {
1895
- u.children.forEach((c) => {
1896
- c.disabled || l.set(c.value, c);
1897
- });
1898
- return;
1899
- }
1900
- l.set(u.value, u);
1901
- }
1902
- }), l;
1903
- }), r = (l, u) => ({
1904
- value: l,
1905
- title: u
1906
- });
1907
- gt([
1908
- () => t.modelValue,
1909
- o
1910
- ], () => {
1911
- (n.value === null || n.value === void 0) && o.value.size && (console.warn("Пожалуйста, не передавайте в компонент Select значения null и undefined"), n.value = o.value.keys().next().value);
1912
- }, { immediate: !0 });
1913
- const s = O(() => {
1914
- var l;
1915
- return (l = o.value.get(n.value)) == null ? void 0 : l.icon;
1916
- }), i = () => {
1917
- const l = [...o.value.keys()], c = (l.indexOf(n.value) + 1) % l.length;
1918
- n.value = l[c];
1919
- };
1920
- return (l, u) => {
1921
- const c = z("top-focus");
1922
- return f(), m("label", {
1923
- class: S({
1924
- "top-select": !0,
1925
- ["top-select-" + l.name]: l.name,
1926
- ["top-size_" + l.size]: !0,
1927
- "top-formsCaptionWrapper": !!l.title,
1928
- "top-select-error": l.isError,
1929
- "top-disabled": l.disabled
1930
- }),
1931
- "data-value": n.value,
1932
- "data-top-icon": l.icon,
1933
- "data-top-icon2": s.value
1934
- }, [
1935
- V((f(), m("select", {
1936
- class: S({
1937
- "top-forms-focusable": !l.disabled,
1938
- "top-select_select": !0,
1939
- "top-select_arrow": !0,
1940
- "top-error": l.isError,
1941
- [`top-style_${l.styling}`]: !!l.styling
1942
- }),
1943
- name: l.name,
1944
- disabled: l.disabled,
1945
- "onUpdate:modelValue": u[0] || (u[0] = (d) => n.value = d)
1946
- }, [
1947
- (f(!0), m(ae, null, $e(a.value, ([d, p]) => (f(), m(ae, null, [
1948
- p.children ? (f(), m("optgroup", {
1949
- key: "group_" + d,
1950
- label: p.title,
1951
- disabled: p.disabled
1952
- }, [
1953
- (f(!0), m(ae, null, $e(p.children, ([b, w]) => (f(), m("option", {
1954
- key: b,
1955
- value: b,
1956
- selected: b === n.value,
1957
- disabled: w.disabled
1958
- }, P(w.title), 9, os))), 128))
1959
- ], 8, as)) : (f(), m("option", {
1960
- key: d ?? void 0,
1961
- value: d,
1962
- selected: d === n.value,
1963
- disabled: p.disabled
1964
- }, P(p.title), 9, is))
1965
- ], 64))), 256))
1966
- ], 10, rs)), [
1967
- [
1968
- c,
1969
- l.isError,
1970
- void 0,
1971
- { onupdate: !0 }
1972
- ],
1973
- [nn, n.value]
1974
- ]),
1975
- l.addChanger && o.value.size && !l.disabled ? (f(), m("span", {
1976
- key: 0,
1977
- class: "top-changer",
1978
- onClick: i
1979
- })) : T("", !0),
1980
- l.title ? (f(), m("span", ss, P(l.title), 1)) : T("", !0)
1981
- ], 10, ns);
1982
- };
1983
- }
1984
- }), us = /* @__PURE__ */ _({
1985
- __name: "preloader",
1986
- props: {
1987
- type: {}
1988
- },
1989
- setup(e) {
1990
- return (t, n) => (f(), m("div", {
1991
- class: S({
1992
- ["top-preloader-" + t.type]: !0
1993
- })
1994
- }, [
1995
- t.type === "circles" ? (f(), m(ae, { key: 0 }, $e([1, 2, 3], (a) => j("i")), 64)) : T("", !0)
1996
- ], 2));
1997
- }
1998
- }), js = Ei, As = Pi, Ps = Di, Ms = Li, Cs = fe, Ds = Kt, Is = Me, Bs = Ki, Ls = qi, Ws = Qi, Ns = Zi, zs = ts, Vs = ls, ks = Xt, Rs = us;
1999
- export {
2000
- an as A,
2001
- on as B,
2002
- g as C,
2003
- sn as D,
2004
- wi as E,
2005
- ps as F,
2006
- fs as G,
2007
- gs as H,
2008
- ms as I,
2009
- ln as J,
2010
- hs as K,
2011
- bs as L,
2012
- Rt as M,
2013
- ys as N,
2014
- vs as O,
2015
- $s as P,
2016
- Ss as Q,
2017
- _s as R,
2018
- Os as S,
2019
- js as T,
2020
- Gt as U,
2021
- Es as V,
2022
- pt as W,
2023
- Ps as X,
2024
- Pi as _,
2025
- Ts as a,
2026
- cs as b,
2027
- q as c,
2028
- $t as d,
2029
- Kt as e,
2030
- Me as f,
2031
- As as g,
2032
- Ms as h,
2033
- ws as i,
2034
- Cs as j,
2035
- Ds as k,
2036
- Is as l,
2037
- Bs as m,
2038
- Ls as n,
2039
- ks as o,
2040
- Ws as p,
2041
- Vs as q,
2042
- Ns as r,
2043
- zs as s,
2044
- Ni as t,
2045
- pe as u,
2046
- Xt as v,
2047
- ts as w,
2048
- Rs as x,
2049
- ls as y,
2050
- rn as z
2051
- };
2052
- //# sourceMappingURL=forms-BZlFXc5U.es.js.map