@topvisor/ui 1.0.41 → 1.1.0-date.0

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