@topvisor/ui 1.0.42-checkvisibility.3 → 1.0.42-dev.1
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.
- package/.env_example +1 -0
- package/.gitlab-ci/.gitlab-ci.yml +27 -0
- package/.gitlab-ci/README.md +59 -0
- package/.gitlab-ci/common/install.yml +21 -0
- package/.gitlab-ci/common/lint.yml +11 -0
- package/.gitlab-ci/common/redmine.yml +12 -0
- package/.gitlab-ci/common/version.yml +34 -0
- package/.gitlab-ci/storybook/build.yml +18 -0
- package/.gitlab-ci/storybook/deploy.yml +50 -0
- package/.gitlab-ci/ui/build.yml +12 -0
- package/.gitlab-ci/ui/deploy-dist.yml +89 -0
- package/.gitlab-ci/ui/deploy.yml +19 -0
- package/.idea/.gitignore +11 -0
- package/.idea/codeStyles/Project.xml +205 -0
- package/.idea/codeStyles/codeStyleConfig.xml +5 -0
- package/.idea/externalDependencies.xml +6 -0
- package/.idea/icon.svg +5 -0
- package/.idea/inspectionProfiles/Disabled.xml +824 -0
- package/.idea/inspectionProfiles/Project_Default.xml +33 -0
- package/.idea/modules.xml +8 -0
- package/.idea/php.xml +19 -0
- package/.idea/ui.iml +8 -0
- package/.idea/vcs.xml +12 -0
- package/.storybook/TopTheme.ts +115 -0
- package/.storybook/TopThemeManager.ts +53 -0
- package/.storybook/argsArrayDecorator.ts +120 -0
- package/.storybook/main.ts +78 -0
- package/.storybook/manager.ts +25 -0
- package/.storybook/preview-head.html +21 -0
- package/.storybook/preview.ts +50 -0
- package/.storybook/vue/coreDecorator.ts +86 -0
- package/.storybook/vue/vModelDecorator.ts +46 -0
- package/.versionrc.json +16 -0
- package/.vscode/extensions.json +11 -0
- package/.vscode/keybindings.example.json +121 -0
- package/.vscode/settings.json +45 -0
- package/CHANGELOG.md +426 -0
- package/NPM.md +25 -0
- package/PUBLISH.md +88 -0
- package/README.md +37 -59
- package/STORYBOOK.md +41 -0
- package/USE_IN_PROJECT.md +32 -0
- package/package.json +63 -2
- package/public/README.md +82 -0
- package/rollup.config.ts +38 -0
- package/scripts/afterBuild.sh +13 -0
- package/scripts/cssModules.ts +39 -0
- package/scripts/genDocs.sh +20 -0
- package/scripts/plugin/amdFix.ts +83 -0
- package/scripts/plugin/autoloadCSS.ts +155 -0
- package/src/CHANGELOG.md.mdx +4 -0
- package/src/components/charts/charts.ts +8 -0
- package/src/components/charts/miniChart/miniChart.stories.ts +66 -0
- package/src/components/charts/miniChart/miniChart.vue +158 -0
- package/src/components/charts/miniChart/stories/README.md +9 -0
- package/src/components/charts/miniChart/stories/dummy.ts +25 -0
- package/src/components/charts/miniChart/styles/miniChart.css +87 -0
- package/src/components/charts/miniChart/types.ts +110 -0
- package/src/components/charts/miniChart/utils/consts.ts +9 -0
- package/src/components/charts/miniCharts/miniCharts.stories.ts +75 -0
- package/src/components/charts/miniCharts/miniCharts.ts +24 -0
- package/src/components/charts/miniCharts/miniCharts.vue +124 -0
- package/src/components/charts/miniCharts/stories/README.md +18 -0
- package/src/components/charts/miniCharts/stories/dummy.ts +70 -0
- package/src/components/charts/miniCharts/stories/overview.vue +139 -0
- package/src/components/charts/miniCharts/styles/miniCharts.css +32 -0
- package/src/components/component.ts +130 -0
- package/src/components/core/core.mdx +7 -0
- package/src/components/core/notice/item/item.vue +145 -0
- package/src/components/core/notice/item/style.css +70 -0
- package/src/components/core/notice/item/types.ts +74 -0
- package/src/components/core/notice/notice.stories.ts +104 -0
- package/src/components/core/notice/notice.vue +69 -0
- package/src/components/core/notice/stories/README.md +34 -0
- package/src/components/core/notice/utils.ts +115 -0
- package/src/components/dialog/dialog/Dialog (code).mdx +61 -0
- package/src/components/dialog/dialog/composables/asyncDialogHandle.ts +99 -0
- package/src/components/dialog/dialog/composables/dialogHandle.ts +178 -0
- package/src/components/dialog/dialog/composables/types.ts +12 -0
- package/src/components/dialog/dialog/composables/utils.ts +39 -0
- package/src/components/dialog/dialog/dialog.stories.ts +82 -0
- package/src/components/dialog/dialog/dialog.vue +74 -0
- package/src/components/dialog/dialog/dialogs/dialogs.vue +61 -0
- package/src/components/dialog/dialog/page/page.vue +86 -0
- package/src/components/dialog/dialog/page/types.ts +84 -0
- package/src/components/dialog/dialog/page.stories.ts +26 -0
- package/src/components/dialog/dialog/pageComponent/pageComponent.vue +57 -0
- package/src/components/dialog/dialog/pageComponent/types.ts +21 -0
- package/src/components/dialog/dialog/pageComponent.stories.ts +26 -0
- package/src/components/dialog/dialog/stories/README.md +117 -0
- package/src/components/dialog/dialog/stories/autoload.ts +12 -0
- package/src/components/dialog/dialog/stories/dialog_example/dialog_example.vue +77 -0
- package/src/components/dialog/dialog/stories/dialog_example/pages/async.vue +57 -0
- package/src/components/dialog/dialog/stories/dialog_example/pages/default.vue +56 -0
- package/src/components/dialog/dialog/stories/dialog_example/pages/headerButtons.vue +56 -0
- package/src/components/dialog/dialog/stories/dialog_example/pages/utils.ts +26 -0
- package/src/components/dialog/dialog/stories/dialog_example/pages/withoutCache.vue +56 -0
- package/src/components/dialog/dialog/stories/page/README.md +24 -0
- package/src/components/dialog/dialog/stories/pageComponent/README.md +12 -0
- package/src/components/dialog/dialog/style/dialog.css +319 -0
- package/src/components/dialog/dialog/style/dialog.m.css +40 -0
- package/src/components/dialog/dialog/style/dialog.pc.css +73 -0
- package/src/components/dialog/dialog/style/modern/dialog.css +12 -0
- package/src/components/dialog/dialog/style/modern/dialog.pc.css +3 -0
- package/src/components/dialog/dialog/types.ts +69 -0
- package/src/components/dialog/dialog.ts +7 -0
- package/src/components/dialog/lib/types.ts +42 -0
- package/src/components/dialog/lib/utils.globalEvents.ts +214 -0
- package/src/components/dialog/lib/utils.ts +656 -0
- package/src/components/dialog/lib/worker.ts +362 -0
- package/src/components/extra/extra.ts +5 -0
- package/src/components/extra/rive/rive.vue +56 -0
- package/src/components/extra/rive/rives.stories.ts +65 -0
- package/src/components/extra/rive/stories/README.md +40 -0
- package/src/components/extra/rive/stories/nope.riv +0 -0
- package/src/components/extra/rive/stories/sadness.riv +0 -0
- package/src/components/extra/rive/types.ts +8 -0
- package/src/components/forms/README.mdx +10 -0
- package/src/components/forms/avatar/avatar.stories.ts +37 -0
- package/src/components/forms/avatar/avatar.vue +77 -0
- package/src/components/forms/avatar/stories/overview.vue +30 -0
- package/src/components/forms/avatar/types.ts +38 -0
- package/src/components/forms/button/button.stories.ts +117 -0
- package/src/components/forms/button/button.vue +111 -0
- package/src/components/forms/button/stories/README.md +9 -0
- package/src/components/forms/button/stories/overview.vue +36 -0
- package/src/components/forms/button/style/button.css +146 -0
- package/src/components/forms/button/style/style-outline.css +129 -0
- package/src/components/forms/button/style/style-soft.css +89 -0
- package/src/components/forms/button/style/style-transparent.css +39 -0
- package/src/components/forms/button/types.ts +59 -0
- package/src/components/forms/caption/caption.stories.ts +108 -0
- package/src/components/forms/caption/caption.vue +29 -0
- package/src/components/forms/caption/types.ts +10 -0
- package/src/components/forms/checkbox/checkbox.stories.ts +32 -0
- package/src/components/forms/checkbox/checkbox.vue +115 -0
- package/src/components/forms/checkbox/stories/overview.vue +171 -0
- package/src/components/forms/checkbox/types.ts +21 -0
- package/src/components/forms/controlLabel/controlLabel.stories.ts +31 -0
- package/src/components/forms/controlLabel/controlLabel.vue +54 -0
- package/src/components/forms/controlLabel/types.ts +4 -0
- package/src/components/forms/forms.ts +44 -0
- package/src/components/forms/hint/hint.stories.ts +40 -0
- package/src/components/forms/hint/hint.vue +32 -0
- package/src/components/forms/hint/types.ts +8 -0
- package/src/components/forms/input/input.stories.ts +31 -0
- package/src/components/forms/input/input.vue +178 -0
- package/src/components/forms/input/stories/overview.vue +63 -0
- package/src/components/forms/input/types.ts +31 -0
- package/src/components/forms/inputDate/datepicker.css +246 -0
- package/src/components/forms/inputDate/datepicker.ts +101 -0
- package/src/components/forms/inputDate/inputDate.stories.ts +40 -0
- package/src/components/forms/inputDate/inputDate.vue +133 -0
- package/src/components/forms/inputDate/stories/overview.vue +35 -0
- package/src/components/forms/inputDate/types.ts +1 -0
- package/src/components/forms/inputRange/inputRange.stories.ts +52 -0
- package/src/components/forms/inputRange/inputRange.vue +39 -0
- package/src/components/forms/inputRange/stories/overview.vue +129 -0
- package/src/components/forms/inputRange/types.ts +3 -0
- package/src/components/forms/loadbar/loadbar.stories.ts +22 -0
- package/src/components/forms/loadbar/loadbar.vue +37 -0
- package/src/components/forms/loadbar/stories/README.md +6 -0
- package/src/components/forms/preloader/preloader.stories.ts +46 -0
- package/src/components/forms/preloader/preloader.vue +103 -0
- package/src/components/forms/preloader/stories/README.md +26 -0
- package/src/components/forms/preloader/types.ts +3 -0
- package/src/components/forms/radio/radio.stories.ts +33 -0
- package/src/components/forms/radio/radio.vue +97 -0
- package/src/components/forms/radio/stories/overview.vue +79 -0
- package/src/components/forms/radio/types.ts +15 -0
- package/src/components/forms/select/select.stories.ts +68 -0
- package/src/components/forms/select/select.vue +299 -0
- package/src/components/forms/select/stories/exampleOptions.ts +61 -0
- package/src/components/forms/select/stories/overview.vue +72 -0
- package/src/components/forms/select/types.ts +68 -0
- package/src/components/forms/switcher/stories/overview.vue +139 -0
- package/src/components/forms/switcher/switcher.stories.ts +32 -0
- package/src/components/forms/switcher/switcher.vue +118 -0
- package/src/components/forms/switcher/types.ts +22 -0
- package/src/components/forms/textarea/stories/overview.vue +89 -0
- package/src/components/forms/textarea/textarea.stories.ts +33 -0
- package/src/components/forms/textarea/textarea.vue +143 -0
- package/src/components/forms/textarea/types.ts +52 -0
- package/src/components/formsExt/README.mdx +5 -0
- package/src/components/formsExt/checkboxGroup/checkboxGroup.stories.ts +36 -0
- package/src/components/formsExt/checkboxGroup/checkboxGroup.vue +159 -0
- package/src/components/formsExt/checkboxGroup/stories/example.ts +42 -0
- package/src/components/formsExt/checkboxGroup/stories/overview.vue +36 -0
- package/src/components/formsExt/checkboxGroup/types.ts +23 -0
- package/src/components/formsExt/editArea/editArea.stories.ts +40 -0
- package/src/components/formsExt/editArea/editArea.vue +194 -0
- package/src/components/formsExt/editArea/stories/README.md +21 -0
- package/src/components/formsExt/editArea/stories/overview.vue +67 -0
- package/src/components/formsExt/editArea/types.ts +41 -0
- package/src/components/formsExt/editInput/editInput.stories.ts +35 -0
- package/src/components/formsExt/editInput/editInput.vue +54 -0
- package/src/components/formsExt/editInput/stories/overview.vue +54 -0
- package/src/components/formsExt/editInput/types.ts +20 -0
- package/src/components/formsExt/formsExt.ts +19 -0
- package/src/components/formsExt/info/info.stories.ts +34 -0
- package/src/components/formsExt/info/info.vue +84 -0
- package/src/components/formsExt/info/stories/overview.vue +29 -0
- package/src/components/formsExt/info/types.ts +25 -0
- package/src/components/formsExt/menu/menu.stories.ts +58 -0
- package/src/components/formsExt/menu/menu.vue +324 -0
- package/src/components/formsExt/menu/stories/items.ts +18 -0
- package/src/components/formsExt/menu/stories/overview.vue +52 -0
- package/src/components/formsExt/menu/types.ts +45 -0
- package/src/components/formsExt/policy/policy.stories.ts +66 -0
- package/src/components/formsExt/policy/policy.vue +75 -0
- package/src/components/formsExt/policy/types.ts +11 -0
- package/src/components/formsExt/radioGroup/radioGroup.stories.ts +35 -0
- package/src/components/formsExt/radioGroup/radioGroup.vue +142 -0
- package/src/components/formsExt/radioGroup/stories/example.ts +43 -0
- package/src/components/formsExt/radioGroup/stories/overview.vue +35 -0
- package/src/components/formsExt/radioGroup/types.ts +27 -0
- package/src/components/formsExt/selector2/composables/useAPI.ts +151 -0
- package/src/components/formsExt/selector2/composables/useMenu.ts +165 -0
- package/src/components/formsExt/selector2/itemMulti.vue +57 -0
- package/src/components/formsExt/selector2/selector2.stories.ts +123 -0
- package/src/components/formsExt/selector2/selector2.vue +448 -0
- package/src/components/formsExt/selector2/stories/README.md +146 -0
- package/src/components/formsExt/selector2/stories/dummyAPIRequest.ts +57 -0
- package/src/components/formsExt/selector2/stories/overview.vue +95 -0
- package/src/components/formsExt/selector2/types.ts +184 -0
- package/src/components/formsExt/selector2/utils.ts +22 -0
- package/src/components/helpersStories.ts +331 -0
- package/src/components/layout/islandRows/islandRows.stories.ts +138 -0
- package/src/components/layout/islandRows/islandRows.vue +53 -0
- package/src/components/layout/islandRows/islandRowsRow/islandRowsRow.vue +36 -0
- package/src/components/layout/islandRows/islandRowsRow/types.ts +1 -0
- package/src/components/layout/islandRows/islandRowsSubTitle/islandRowsSubTitle.vue +16 -0
- package/src/components/layout/islandRows/stories/README.md +8 -0
- package/src/components/layout/islandRows/types.ts +11 -0
- package/src/components/layout/layout.ts +11 -0
- package/src/components/layout/rows/rows.stories.ts +47 -0
- package/src/components/layout/rows/rows.vue +46 -0
- package/src/components/layout/rows/stories/README.md +10 -0
- package/src/components/layout/rows/types.ts +6 -0
- package/src/components/popup/alert/alert.stories.ts +70 -0
- package/src/components/popup/alert/alert.vue +49 -0
- package/src/components/popup/alert/stories/overview.vue +40 -0
- package/src/components/popup/alert/types.ts +11 -0
- package/src/components/popup/confirm/confirm.stories.ts +74 -0
- package/src/components/popup/confirm/confirm.vue +78 -0
- package/src/components/popup/confirm/stories/overview.vue +62 -0
- package/src/components/popup/confirm/types.ts +26 -0
- package/src/components/popup/lib/popup.globalEvents.ts +271 -0
- package/src/components/popup/lib/popup.ts +858 -0
- package/src/components/popup/lib/worker.globalEvents.ts +101 -0
- package/src/components/popup/lib/worker.ts +305 -0
- package/src/components/popup/popup/listItem.vue +35 -0
- package/src/components/popup/popup/opener.vue +82 -0
- package/src/components/popup/popup/popup.stories.ts +73 -0
- package/src/components/popup/popup/popup.vue +176 -0
- package/src/components/popup/popup/stories/README.md +145 -0
- package/src/components/popup/popup/stories/listItems.vue +69 -0
- package/src/components/popup/popup/stories/listSubItems.vue +47 -0
- package/src/components/popup/popup/stories/overview.vue +224 -0
- package/src/components/popup/popup/style/popup.css +355 -0
- package/src/components/popup/popup/style/popup.m.css +70 -0
- package/src/components/popup/popup/style/popup.pc.css +26 -0
- package/src/components/popup/popup/types.ts +131 -0
- package/src/components/popup/popup/widgetInput.vue +43 -0
- package/src/components/popup/popup.ts +17 -0
- package/src/components/popup/prompt/prompt.stories.ts +76 -0
- package/src/components/popup/prompt/prompt.vue +87 -0
- package/src/components/popup/prompt/stories/overview.vue +50 -0
- package/src/components/popup/prompt/types.ts +26 -0
- package/src/components/project/project.ts +23 -0
- package/src/components/project/selectorCompetitors/composables.ts +20 -0
- package/src/components/project/selectorCompetitors/selectorCompetitors.stories.ts +32 -0
- package/src/components/project/selectorCompetitors/selectorCompetitors.vue +75 -0
- package/src/components/project/selectorCompetitors/stories/README.md +20 -0
- package/src/components/project/selectorCompetitors/stories/items.ts +30 -0
- package/src/components/project/selectorCompetitors/types.ts +35 -0
- package/src/components/project/selectorRegion/composables/compare.ts +87 -0
- package/src/components/project/selectorRegion/composables/selectRegion.ts +146 -0
- package/src/components/project/selectorRegion/composables/selectSearcher.ts +64 -0
- package/src/components/project/selectorRegion/composables/selectorRegion.ts +167 -0
- package/src/components/project/selectorRegion/dialog_selectorRegions/dialog_selectorRegions.vue +252 -0
- package/src/components/project/selectorRegion/dialog_selectorRegions/style.css +49 -0
- package/src/components/project/selectorRegion/dialog_selectorRegions/types.ts +31 -0
- package/src/components/project/selectorRegion/selectorRegion.stories.ts +84 -0
- package/src/components/project/selectorRegion/selectorRegion.vue +365 -0
- package/src/components/project/selectorRegion/stories/README.md +36 -0
- package/src/components/project/selectorRegion/stories/searchers.ts +77 -0
- package/src/components/project/selectorRegion/styles/searcherColors.css +41 -0
- package/src/components/project/selectorRegion/types.ts +206 -0
- package/src/components/project/selectorRegion/utils/consts.ts +88 -0
- package/src/components/project/selectorRegion/utils/utils.ts +178 -0
- package/src/components/project/tagSelector/popupListItem/tagPopupListItem.vue +209 -0
- package/src/components/project/tagSelector/popupListItem/types.ts +40 -0
- package/src/components/project/tagSelector/popupOpener/popupOpener.vue +140 -0
- package/src/components/project/tagSelector/popupOpener/types.ts +74 -0
- package/src/components/project/tagSelector/stories/README.md +62 -0
- package/src/components/project/tagSelector/stories/overview.vue +152 -0
- package/src/components/project/tagSelector/tagIcon/tagIcon.vue +96 -0
- package/src/components/project/tagSelector/tagIcon/types.ts +25 -0
- package/src/components/project/tagSelector/tagSelector.stories.ts +50 -0
- package/src/components/project/tagSelector/tagSelector.vue +360 -0
- package/src/components/project/tagSelector/tagsDefaults.ts +54 -0
- package/src/components/project/tagSelector/types.ts +162 -0
- package/src/components/project/tagSelector/utils/el.ts +151 -0
- package/src/components/project/tagSelector/utils/utils.ts +30 -0
- package/src/components/tabs/tabs/content.vue +24 -0
- package/src/components/tabs/tabs/stories/README.md +12 -0
- package/src/components/tabs/tabs/tab.vue +49 -0
- package/src/components/tabs/tabs/tabs.stories.ts +170 -0
- package/src/components/tabs/tabs/tabs.vue +64 -0
- package/src/components/tabs/tabs/types.ts +22 -0
- package/src/components/tabs/tabs.ts +9 -0
- package/src/components/tabsView/tabsView/menu.vue +291 -0
- package/src/components/tabsView/tabsView/menuDelimeter.vue +26 -0
- package/src/components/tabsView/tabsView/menuItem.vue +125 -0
- package/src/components/tabsView/tabsView/menuTitle.vue +46 -0
- package/src/components/tabsView/tabsView/store.ts +60 -0
- package/src/components/tabsView/tabsView/stories/README.md +22 -0
- package/src/components/tabsView/tabsView/tabsView.stories.ts +169 -0
- package/src/components/tabsView/tabsView/tabsView.vue +120 -0
- package/src/components/tabsView/tabsView/types.ts +118 -0
- package/src/components/tabsView/tabsView/utils.ts +27 -0
- 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
- 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
- package/src/components/tabsView/tabsView.ts +9 -0
- package/src/components/types.ts +6 -0
- package/src/core/app.ts +22 -0
- package/src/core/core/core.mdx +36 -0
- package/src/core/core/core.ts +287 -0
- package/src/core/core/events/resize.ts +47 -0
- package/src/core/core/events.ts +6 -0
- package/src/core/core/jQuery.mdx +41 -0
- package/src/core/core/options.ts +52 -0
- package/src/core/core/preloaders.ts +31 -0
- package/src/core/core/state.ts +61 -0
- package/src/core/directives/data.mdx +24 -0
- package/src/core/directives/data.ts +25 -0
- package/src/core/directives/focus.mdx +28 -0
- package/src/core/directives/focus.ts +73 -0
- package/src/core/directives/preloader.ts +23 -0
- package/src/core/directives/scrollIntoView.mdx +41 -0
- package/src/core/directives/scrollIntoView.ts +123 -0
- package/src/core/directives/scrollShadow.mdx +23 -0
- package/src/core/directives/scrollShadow.ts +27 -0
- package/src/core/directives/sticky.mdx +29 -0
- package/src/core/directives/sticky.ts +32 -0
- package/src/core/directives/swimUp.mdx +27 -0
- package/src/core/directives/swimUp.ts +95 -0
- package/src/core/directives/tooltip.mdx +13 -0
- package/src/core/directives/tooltip.ts +57 -0
- package/src/core/icons/gallery.vue +70 -0
- package/src/core/icons/icons.mdx +24 -0
- package/src/core/icons/icons.stories.ts +14 -0
- package/src/core/plugins/core.ts +131 -0
- package/src/core/plugins/i18n.ts +189 -0
- package/src/core/plugins/piniaTPA.ts +432 -0
- package/src/core/plugins/plugins.mdx +82 -0
- package/src/core/styles/CSS Variables.stories.ts +17 -0
- package/src/core/styles/styles.mdx +26 -0
- package/src/core/theme/Variables.stories.ts +16 -0
- package/src/core/theme/theme.mdx +117 -0
- package/src/core/utils/References/Docs.mdx +23 -0
- package/src/core/utils/References/check/Docs.mdx +13 -0
- package/src/core/utils/References/check/functions/getDomainRegexp.mdx +13 -0
- package/src/core/utils/References/check/functions/isDomain.mdx +19 -0
- package/src/core/utils/References/check/functions/isEmail.mdx +20 -0
- package/src/core/utils/References/check/functions/isIp.mdx +19 -0
- package/src/core/utils/References/check/functions/validUrl.mdx +20 -0
- package/src/core/utils/References/clipboard/Docs.mdx +8 -0
- package/src/core/utils/References/clipboard/functions/guestLinkToClipboard.mdx +19 -0
- package/src/core/utils/References/clipboard/functions/setClipboard.mdx +20 -0
- package/src/core/utils/References/date/Docs.mdx +15 -0
- package/src/core/utils/References/date/functions/dateFormat.mdx +26 -0
- package/src/core/utils/References/date/functions/dateToString.mdx +24 -0
- package/src/core/utils/References/date/functions/dateUnformat.mdx +20 -0
- package/src/core/utils/References/date/functions/genDate.mdx +24 -0
- package/src/core/utils/References/date/functions/genDateMoscow.mdx +20 -0
- package/src/core/utils/References/date/functions/getDayOfWeek.mdx +24 -0
- package/src/core/utils/References/date/functions/stringToDate.mdx +19 -0
- package/src/core/utils/References/device/Docs.mdx +19 -0
- package/src/core/utils/References/device/functions/get$scroll.mdx +13 -0
- package/src/core/utils/References/device/functions/getCommandKeyLabel.mdx +13 -0
- package/src/core/utils/References/device/functions/getElsScroll.mdx +13 -0
- package/src/core/utils/References/device/functions/getOS.mdx +15 -0
- package/src/core/utils/References/device/functions/getOSAsync.mdx +13 -0
- package/src/core/utils/References/device/functions/getScrollTop.mdx +13 -0
- package/src/core/utils/References/device/functions/isApp.mdx +13 -0
- package/src/core/utils/References/device/functions/isMacOS.mdx +13 -0
- package/src/core/utils/References/device/functions/isMobile.mdx +13 -0
- package/src/core/utils/References/device/functions/isRetina.mdx +13 -0
- package/src/core/utils/References/device/functions/isSafari.mdx +13 -0
- package/src/core/utils/References/dom/Docs.mdx +25 -0
- package/src/core/utils/References/dom/functions/css.mdx +22 -0
- package/src/core/utils/References/dom/functions/genEl.mdx +26 -0
- package/src/core/utils/References/dom/functions/isVisible.mdx +21 -0
- package/src/core/utils/References/dom/functions/offset.mdx +33 -0
- package/src/core/utils/References/dom/functions/querySelectorAllArray.mdx +20 -0
- package/src/core/utils/References/dom/functions/querySelectorAllVisible.mdx +20 -0
- package/src/core/utils/References/dom/functions/querySelectorVisible.mdx +23 -0
- package/src/core/utils/References/dom/functions/querySelectorVisibleLast.mdx +23 -0
- package/src/core/utils/References/dom/functions/storage.mdx +26 -0
- package/src/core/utils/References/dom/functions/storageClear.mdx +19 -0
- package/src/core/utils/References/dom/functions/wrap.mdx +20 -0
- package/src/core/utils/References/dom/variables/default.mdx +245 -0
- package/src/core/utils/References/image/Docs.mdx +10 -0
- package/src/core/utils/References/image/functions/downloadImageFromString.mdx +20 -0
- package/src/core/utils/References/image/functions/genFaviconImgHtml.mdx +20 -0
- package/src/core/utils/References/keyboard/Docs.mdx +9 -0
- package/src/core/utils/References/keyboard/functions/invertKeyboardLayout.mdx +19 -0
- package/src/core/utils/References/lodash/Docs.mdx +18 -0
- package/src/core/utils/References/lodash/functions/cloneDeep.mdx +27 -0
- package/src/core/utils/References/lodash/functions/debounce.mdx +72 -0
- package/src/core/utils/References/lodash/functions/merge.mdx +190 -0
- package/src/core/utils/References/lodash/functions/throttle.mdx +69 -0
- package/src/core/utils/References/lodash/variables/memoize.mdx +42 -0
- package/src/core/utils/References/number/Docs.mdx +10 -0
- package/src/core/utils/References/number/functions/percentOfNumber.mdx +24 -0
- package/src/core/utils/References/number/functions/randomBySeed.mdx +21 -0
- package/src/core/utils/References/price/Docs.mdx +9 -0
- package/src/core/utils/References/price/functions/genPrice.mdx +26 -0
- package/src/core/utils/References/route/Docs.mdx +14 -0
- package/src/core/utils/References/route/functions/delHash.mdx +24 -0
- package/src/core/utils/References/route/functions/genHash.mdx +24 -0
- package/src/core/utils/References/route/functions/getHash.mdx +20 -0
- package/src/core/utils/References/route/functions/historySetState.mdx +29 -0
- package/src/core/utils/References/route/functions/setHash.mdx +24 -0
- package/src/core/utils/References/route/functions/setHashs.mdx +20 -0
- package/src/core/utils/References/scroll/Docs.mdx +13 -0
- package/src/core/utils/References/scroll/functions/amountScrolled.mdx +15 -0
- package/src/core/utils/References/scroll/functions/connectScrollShadow.mdx +26 -0
- package/src/core/utils/References/scroll/functions/genHasScroll.mdx +23 -0
- package/src/core/utils/References/scroll/functions/getScrollPercent.mdx +19 -0
- package/src/core/utils/References/scroll/functions/unconnectScrollShadow.mdx +17 -0
- package/src/core/utils/References/searchers/Docs.mdx +17 -0
- package/src/core/utils/References/searchers/functions/genVolumeLabel.mdx +24 -0
- package/src/core/utils/References/searchers/functions/getDeviceGIcon.mdx +19 -0
- package/src/core/utils/References/searchers/functions/getLangLabel.mdx +20 -0
- package/src/core/utils/References/searchers/functions/getSearcherGIcon.mdx +19 -0
- package/src/core/utils/References/searchers/functions/prepareVolumeType.mdx +20 -0
- package/src/core/utils/References/searchers/variables/searchersNames.mdx +83 -0
- package/src/core/utils/References/store/Docs.mdx +22 -0
- package/src/core/utils/References/store/functions/defineStore.mdx +34 -0
- package/src/core/utils/References/store/functions/useStore.mdx +27 -0
- package/src/core/utils/References/store/interfaces/Store.mdx +29 -0
- package/src/core/utils/References/store/variables/plugin.mdx +64 -0
- package/src/core/utils/References/string/Docs.mdx +24 -0
- package/src/core/utils/References/string/functions/addCommasWhite.mdx +19 -0
- package/src/core/utils/References/string/functions/addLinkTags.mdx +21 -0
- package/src/core/utils/References/string/functions/camelToSnakeCase.mdx +19 -0
- package/src/core/utils/References/string/functions/ellipsis.mdx +24 -0
- package/src/core/utils/References/string/functions/genFlagLinkByCountryCode.mdx +23 -0
- package/src/core/utils/References/string/functions/genIntHash.mdx +19 -0
- package/src/core/utils/References/string/functions/getRandomHash.mdx +19 -0
- package/src/core/utils/References/string/functions/highlightHtml.mdx +23 -0
- package/src/core/utils/References/string/functions/htmlspecialchars.mdx +19 -0
- package/src/core/utils/References/string/functions/isUrl.mdx +19 -0
- package/src/core/utils/References/string/functions/nl2br.mdx +19 -0
- package/src/core/utils/References/string/functions/numberEnding.mdx +26 -0
- package/src/core/utils/References/string/functions/numberWithWord.mdx +26 -0
- package/src/core/utils/References/string/functions/rusToLatin.mdx +19 -0
- package/src/core/utils/References/string/functions/toCapitalize.mdx +19 -0
- package/src/core/utils/References/string/functions/toRoditPadej.mdx +19 -0
- package/src/core/utils/References/system/Docs.mdx +11 -0
- package/src/core/utils/References/system/functions/sleep.mdx +19 -0
- package/src/core/utils/References/system/functions/sleepWhile.mdx +27 -0
- package/src/core/utils/References/system/functions/waitWhile.mdx +27 -0
- package/src/core/utils/References/url/Docs.mdx +15 -0
- package/src/core/utils/References/url/functions/decode.mdx +19 -0
- package/src/core/utils/References/url/functions/encode.mdx +19 -0
- package/src/core/utils/References/url/functions/fromPuny.mdx +21 -0
- package/src/core/utils/References/url/functions/getHost.mdx +19 -0
- package/src/core/utils/References/url/functions/hostToLowerCase.mdx +19 -0
- package/src/core/utils/References/url/functions/normalize.mdx +19 -0
- package/src/core/utils/References/url/functions/toPuny.mdx +21 -0
- package/src/core/utils/check.ts +88 -0
- package/src/core/utils/clipboard.ts +51 -0
- package/src/core/utils/date.ts +334 -0
- package/src/core/utils/device.ts +139 -0
- package/src/core/utils/dom.ts +195 -0
- package/src/core/utils/image.ts +46 -0
- package/src/core/utils/keyboard.ts +29 -0
- package/src/core/utils/lodash.ts +18 -0
- package/src/core/utils/number.ts +37 -0
- package/src/core/utils/price.ts +24 -0
- package/src/core/utils/route.ts +130 -0
- package/src/core/utils/scroll.ts +120 -0
- package/src/core/utils/searchers.ts +191 -0
- package/src/core/utils/store/localStorage.ts +56 -0
- package/src/core/utils/store/plugin.ts +50 -0
- package/src/core/utils/store/store.ts +77 -0
- package/src/core/utils/store.ts +7 -0
- package/src/core/utils/string.ts +349 -0
- package/src/core/utils/system.ts +72 -0
- package/src/core/utils/url.ts +138 -0
- package/src/core/utils/utils.mdx +6 -0
- package/src/d.ts +12 -0
- package/src/icomoon.d.ts +98 -0
- package/src/resources/styles/core/components/bage.css +16 -0
- package/src/resources/styles/core/components/components.css +94 -0
- package/src/resources/styles/core/components/formsCaption.css +43 -0
- package/src/resources/styles/core/components/jquery.css +19 -0
- package/src/resources/styles/core/core.ts +14 -0
- package/src/resources/styles/core/forms/clear.css +20 -0
- package/src/resources/styles/core/forms/controls.css +20 -0
- package/src/resources/styles/core/forms/focusable.css +27 -0
- package/src/resources/styles/core/forms/forms.css +178 -0
- package/src/resources/styles/core/icon.css +58 -0
- package/src/resources/styles/core/jquery.css +1 -0
- package/src/resources/styles/core/layout.css +59 -0
- package/src/resources/styles/core/modifiers/as.css +33 -0
- package/src/resources/styles/core/modifiers/ellipsis.css +26 -0
- package/src/resources/styles/core/modifiers/modifiers.css +120 -0
- package/src/resources/styles/core/modifiers/only.css +23 -0
- package/src/resources/styles/core/modifiers/scrollBar.css +52 -0
- package/src/resources/styles/core/modifiers/scrollShadow.css +50 -0
- package/src/resources/styles/storybook.css +11 -0
- package/src/resources/styles/themes/dark/dark-layout.css +47 -0
- package/src/resources/styles/themes/dark/dark-positions.css +66 -0
- package/src/resources/styles/themes/dark/dark.css +405 -0
- package/src/resources/styles/themes/dark-positions.ts +1 -0
- package/src/resources/styles/themes/dark-th/dark-th-layout.css +47 -0
- package/src/resources/styles/themes/dark-th/dark-th-positions.css +67 -0
- package/src/resources/styles/themes/dark-th/dark-th.css +405 -0
- package/src/resources/styles/themes/dark-th-positions.ts +1 -0
- package/src/resources/styles/themes/dark-th.ts +3 -0
- package/src/resources/styles/themes/dark.ts +3 -0
- package/src/resources/styles/themes/light/light-layout.css +47 -0
- package/src/resources/styles/themes/light/light-positions.css +66 -0
- package/src/resources/styles/themes/light/light.css +405 -0
- package/src/resources/styles/themes/light-positions.ts +1 -0
- package/src/resources/styles/themes/light.ts +3 -0
- package/src/storybook/components/color.vue +47 -0
- package/src/storybook/components/cssVariables.vue +195 -0
- package/src/storybook/components/icomoon.ts +40 -0
- package/src/storybook/jquery.ts +4 -0
- 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
- package/src//320/223/320/260/320/271/320/264/320/273/320/260/320/271/320/275.mdx +120 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/src//320/240/320/260/320/267/321/200/320/260/320/261/320/276/321/202/320/272/320/260 (Contributing)//320/241/321/202/321/200/321/203/320/272/321/202/321/203/321/200/320/260 UI//320/232/320/276/320/274/320/277/320/276/320/275/320/265/320/275/321/202/321/213//320/232/320/276/320/274/320/277/320/276/320/275/320/265/320/275/321/202/321/213.mdx" +66 -0
- 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
- 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
- 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
- package/storybook-dev.sh +14 -0
- package/tsconfig.json +91 -0
- package/typedoc.json +20 -0
- package/vite.config.ts +150 -0
- package/.chunks/core-BPipsaQZ.es.js +0 -197
- package/.chunks/core-BPipsaQZ.es.js.map +0 -1
- package/.chunks/core-Brtg1JMJ.amd.js +0 -2
- package/.chunks/core-Brtg1JMJ.amd.js.map +0 -1
- package/.chunks/datepicker-BWaVsTd0.amd.js +0 -2
- package/.chunks/datepicker-BWaVsTd0.amd.js.map +0 -1
- package/.chunks/datepicker-DCDYQmsc.es.js +0 -44
- package/.chunks/datepicker-DCDYQmsc.es.js.map +0 -1
- package/.chunks/dialog_selectorRegions-C0MYw4n5.es.js +0 -188
- package/.chunks/dialog_selectorRegions-C0MYw4n5.es.js.map +0 -1
- package/.chunks/dialog_selectorRegions-DW77c8Ny.amd.js +0 -2
- package/.chunks/dialog_selectorRegions-DW77c8Ny.amd.js.map +0 -1
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-Bck_g47j.es.js +0 -322
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-Bck_g47j.es.js.map +0 -1
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-zs6u7ER0.amd.js +0 -2
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-zs6u7ER0.amd.js.map +0 -1
- package/.chunks/forms-DOGPN_TR.es.js +0 -2051
- package/.chunks/forms-DOGPN_TR.es.js.map +0 -1
- package/.chunks/forms-Gb7ujpmz.amd.js +0 -3
- package/.chunks/forms-Gb7ujpmz.amd.js.map +0 -1
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-CF_hIWa6.amd.js +0 -2
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-CF_hIWa6.amd.js.map +0 -1
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-CJQj81Yq.es.js +0 -181
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-CJQj81Yq.es.js.map +0 -1
- package/.chunks/menu.vue_vue_type_style_index_0_lang-CczcI_-j.amd.js +0 -2
- package/.chunks/menu.vue_vue_type_style_index_0_lang-CczcI_-j.amd.js.map +0 -1
- package/.chunks/menu.vue_vue_type_style_index_0_lang-Dq5eEX9i.es.js +0 -109
- package/.chunks/menu.vue_vue_type_style_index_0_lang-Dq5eEX9i.es.js.map +0 -1
- package/.chunks/notice-C5sXcBql.amd.js +0 -4
- package/.chunks/notice-C5sXcBql.amd.js.map +0 -1
- package/.chunks/notice-DE88Oe-t.es.js +0 -175
- package/.chunks/notice-DE88Oe-t.es.js.map +0 -1
- package/.chunks/page.vue_vue_type_script_setup_true_lang-BwuWfSuv.amd.js +0 -2
- package/.chunks/page.vue_vue_type_script_setup_true_lang-BwuWfSuv.amd.js.map +0 -1
- package/.chunks/page.vue_vue_type_script_setup_true_lang-CNkG4DXi.es.js +0 -143
- package/.chunks/page.vue_vue_type_script_setup_true_lang-CNkG4DXi.es.js.map +0 -1
- package/.chunks/popup-B_8bvIsF.amd.js +0 -2
- package/.chunks/popup-B_8bvIsF.amd.js.map +0 -1
- package/.chunks/popup-BjsK_pMZ.es.js +0 -452
- package/.chunks/popup-BjsK_pMZ.es.js.map +0 -1
- package/.chunks/punycode.es6-C2yitnNb.amd.js +0 -2
- package/.chunks/punycode.es6-C2yitnNb.amd.js.map +0 -1
- package/.chunks/punycode.es6-CNI-zL6U.es.js +0 -134
- package/.chunks/punycode.es6-CNI-zL6U.es.js.map +0 -1
- package/.chunks/store-CX_6ZXhO.es.js +0 -29
- package/.chunks/store-CX_6ZXhO.es.js.map +0 -1
- package/.chunks/store-esTid5oI.amd.js +0 -2
- package/.chunks/store-esTid5oI.amd.js.map +0 -1
- package/.chunks/utils-BPftYwd6.es.js +0 -304
- package/.chunks/utils-BPftYwd6.es.js.map +0 -1
- package/.chunks/utils-CM6ONOZ3.es.js +0 -79
- package/.chunks/utils-CM6ONOZ3.es.js.map +0 -1
- package/.chunks/utils-DwFoJcHP.amd.js +0 -2
- package/.chunks/utils-DwFoJcHP.amd.js.map +0 -1
- package/.chunks/utils-GhVWvSHi.amd.js +0 -2
- package/.chunks/utils-GhVWvSHi.amd.js.map +0 -1
- package/assets/charts.css +0 -1
- package/assets/core.css +0 -1
- package/assets/dialog_selectorRegions.css +0 -1
- package/assets/extra.css +0 -1
- package/assets/forms.css +0 -1
- package/assets/formsExt.css +0 -1
- package/assets/layout.css +0 -1
- package/assets/listItem.css +0 -1
- package/assets/menu.css +0 -1
- package/assets/notice.css +0 -1
- package/assets/popup.css +0 -1
- package/assets/project.css +0 -1
- package/assets/tabs.css +0 -1
- package/assets/tabsView.css +0 -1
- package/assets/themes/dark-th.css +0 -1
- package/assets/themes/dark.css +0 -1
- package/assets/themes/light.css +0 -1
- package/charts/charts.amd.js +0 -2
- package/charts/charts.amd.js.map +0 -1
- package/charts/charts.d.ts +0 -2
- package/charts/charts.js +0 -178
- package/charts/charts.js.map +0 -1
- package/components/charts/charts.d.ts +0 -5
- package/components/charts/miniChart/miniChart.vue.d.ts +0 -15
- package/components/charts/miniChart/stories/dummy.d.ts +0 -13
- package/components/charts/miniChart/types.d.ts +0 -92
- package/components/charts/miniChart/utils/consts.d.ts +0 -8
- package/components/charts/miniCharts/miniCharts.d.ts +0 -20
- package/components/charts/miniCharts/miniCharts.vue.d.ts +0 -32
- package/components/charts/miniCharts/stories/dummy.d.ts +0 -6
- package/components/core/notice/item/item.vue.d.ts +0 -10
- package/components/core/notice/item/types.d.ts +0 -63
- package/components/core/notice/notice.vue.d.ts +0 -5
- package/components/core/notice/utils.d.ts +0 -27
- package/components/dialog/dialog/composables/asyncDialogHandle.d.ts +0 -51
- package/components/dialog/dialog/composables/dialogHandle.d.ts +0 -108
- package/components/dialog/dialog/composables/types.d.ts +0 -11
- package/components/dialog/dialog/composables/utils.d.ts +0 -21
- package/components/dialog/dialog/dialog.vue.d.ts +0 -28
- package/components/dialog/dialog/dialogs/dialogs.vue.d.ts +0 -13
- package/components/dialog/dialog/page/page.vue.d.ts +0 -19
- package/components/dialog/dialog/page/types.d.ts +0 -72
- package/components/dialog/dialog/pageComponent/pageComponent.vue.d.ts +0 -6
- package/components/dialog/dialog/pageComponent/types.d.ts +0 -18
- package/components/dialog/dialog/stories/autoload.d.ts +0 -2
- package/components/dialog/dialog/stories/dialog_example/pages/utils.d.ts +0 -7
- package/components/dialog/dialog/types.d.ts +0 -58
- package/components/dialog/dialog.d.ts +0 -6
- package/components/dialog/lib/types.d.ts +0 -44
- package/components/dialog/lib/utils.d.ts +0 -14
- package/components/dialog/lib/utils.globalEvents.d.ts +0 -8
- package/components/dialog/lib/worker.d.ts +0 -76
- package/components/extra/extra.d.ts +0 -3
- package/components/extra/rive/rive.vue.d.ts +0 -11
- package/components/extra/rive/types.d.ts +0 -7
- package/components/forms/avatar/avatar.vue.d.ts +0 -10
- package/components/forms/avatar/types.d.ts +0 -32
- package/components/forms/button/button.vue.d.ts +0 -24
- package/components/forms/button/types.d.ts +0 -39
- package/components/forms/caption/caption.vue.d.ts +0 -17
- package/components/forms/caption/types.d.ts +0 -9
- package/components/forms/checkbox/checkbox.vue.d.ts +0 -27
- package/components/forms/checkbox/types.d.ts +0 -21
- package/components/forms/controlLabel/controlLabel.vue.d.ts +0 -19
- package/components/forms/controlLabel/types.d.ts +0 -4
- package/components/forms/forms.d.ts +0 -31
- package/components/forms/hint/hint.vue.d.ts +0 -4
- package/components/forms/hint/types.d.ts +0 -8
- package/components/forms/input/input.vue.d.ts +0 -27
- package/components/forms/input/types.d.ts +0 -23
- package/components/forms/inputDate/datepicker.d.ts +0 -5
- package/components/forms/inputDate/inputDate.vue.d.ts +0 -12
- package/components/forms/inputDate/types.d.ts +0 -1
- package/components/forms/inputRange/inputRange.vue.d.ts +0 -19
- package/components/forms/inputRange/types.d.ts +0 -2
- package/components/forms/loadbar/loadbar.vue.d.ts +0 -3
- package/components/forms/preloader/preloader.vue.d.ts +0 -4
- package/components/forms/preloader/types.d.ts +0 -3
- package/components/forms/radio/radio.vue.d.ts +0 -23
- package/components/forms/radio/types.d.ts +0 -14
- package/components/forms/select/select.vue.d.ts +0 -17
- package/components/forms/select/stories/exampleOptions.d.ts +0 -5
- package/components/forms/select/types.d.ts +0 -58
- package/components/forms/switcher/switcher.vue.d.ts +0 -23
- package/components/forms/switcher/types.d.ts +0 -21
- package/components/forms/textarea/textarea.vue.d.ts +0 -12
- package/components/forms/textarea/types.d.ts +0 -44
- package/components/formsExt/checkboxGroup/checkboxGroup.vue.d.ts +0 -16
- package/components/formsExt/checkboxGroup/stories/example.d.ts +0 -15
- package/components/formsExt/checkboxGroup/types.d.ts +0 -19
- package/components/formsExt/editArea/editArea.vue.d.ts +0 -18
- package/components/formsExt/editArea/types.d.ts +0 -33
- package/components/formsExt/editInput/editInput.vue.d.ts +0 -8
- package/components/formsExt/editInput/types.d.ts +0 -16
- package/components/formsExt/formsExt.d.ts +0 -17
- package/components/formsExt/info/info.vue.d.ts +0 -20
- package/components/formsExt/info/types.d.ts +0 -21
- package/components/formsExt/menu/menu.vue.d.ts +0 -16
- package/components/formsExt/menu/stories/items.d.ts +0 -3
- package/components/formsExt/menu/types.d.ts +0 -37
- package/components/formsExt/policy/policy.vue.d.ts +0 -4
- package/components/formsExt/policy/types.d.ts +0 -10
- package/components/formsExt/radioGroup/radioGroup.vue.d.ts +0 -16
- package/components/formsExt/radioGroup/stories/example.d.ts +0 -20
- package/components/formsExt/radioGroup/types.d.ts +0 -21
- package/components/formsExt/selector2/composables/useAPI.d.ts +0 -30
- package/components/formsExt/selector2/composables/useMenu.d.ts +0 -14
- package/components/formsExt/selector2/itemMulti.vue.d.ts +0 -8
- package/components/formsExt/selector2/selector2.vue.d.ts +0 -35
- package/components/formsExt/selector2/stories/dummyAPIRequest.d.ts +0 -10
- package/components/formsExt/selector2/types.d.ts +0 -143
- package/components/formsExt/selector2/utils.d.ts +0 -6
- package/components/layout/islandRows/islandRows.vue.d.ts +0 -17
- package/components/layout/islandRows/islandRowsRow/islandRowsRow.vue.d.ts +0 -18
- package/components/layout/islandRows/islandRowsRow/types.d.ts +0 -2
- package/components/layout/islandRows/islandRowsSubTitle/islandRowsSubTitle.vue.d.ts +0 -18
- package/components/layout/islandRows/types.d.ts +0 -10
- package/components/layout/layout.d.ts +0 -9
- package/components/layout/rows/rows.vue.d.ts +0 -21
- package/components/layout/rows/types.d.ts +0 -6
- package/components/popup/alert/alert.vue.d.ts +0 -31
- package/components/popup/alert/types.d.ts +0 -8
- package/components/popup/confirm/confirm.vue.d.ts +0 -33
- package/components/popup/confirm/types.d.ts +0 -21
- package/components/popup/lib/popup.d.ts +0 -83
- package/components/popup/lib/popup.globalEvents.d.ts +0 -32
- package/components/popup/lib/worker.d.ts +0 -75
- package/components/popup/lib/worker.globalEvents.d.ts +0 -19
- package/components/popup/popup/listItem.vue.d.ts +0 -22
- package/components/popup/popup/opener.vue.d.ts +0 -23
- package/components/popup/popup/popup.vue.d.ts +0 -40
- package/components/popup/popup/types.d.ts +0 -101
- package/components/popup/popup/widgetInput.vue.d.ts +0 -17
- package/components/popup/popup.d.ts +0 -15
- package/components/popup/prompt/prompt.vue.d.ts +0 -33
- package/components/popup/prompt/types.d.ts +0 -21
- package/components/project/project.d.ts +0 -15
- package/components/project/selectorCompetitors/composables.d.ts +0 -3
- package/components/project/selectorCompetitors/selectorCompetitors.vue.d.ts +0 -14
- package/components/project/selectorCompetitors/stories/items.d.ts +0 -3
- package/components/project/selectorCompetitors/types.d.ts +0 -30
- package/components/project/selectorRegion/composables/compare.d.ts +0 -12
- package/components/project/selectorRegion/composables/selectRegion.d.ts +0 -13
- package/components/project/selectorRegion/composables/selectSearcher.d.ts +0 -13
- package/components/project/selectorRegion/composables/selectorRegion.d.ts +0 -25
- package/components/project/selectorRegion/dialog_selectorRegions/dialog_selectorRegions.vue.d.ts +0 -6
- package/components/project/selectorRegion/dialog_selectorRegions/types.d.ts +0 -26
- package/components/project/selectorRegion/selectorRegion.vue.d.ts +0 -23
- package/components/project/selectorRegion/stories/searchers.d.ts +0 -3
- package/components/project/selectorRegion/types.d.ts +0 -172
- package/components/project/selectorRegion/utils/consts.d.ts +0 -31
- package/components/project/selectorRegion/utils/utils.d.ts +0 -34
- package/components/project/tagSelector/popupListItem/tagPopupListItem.vue.d.ts +0 -20
- package/components/project/tagSelector/popupListItem/types.d.ts +0 -33
- package/components/project/tagSelector/popupOpener/popupOpener.vue.d.ts +0 -27
- package/components/project/tagSelector/popupOpener/types.d.ts +0 -64
- package/components/project/tagSelector/tagIcon/tagIcon.vue.d.ts +0 -4
- package/components/project/tagSelector/tagIcon/types.d.ts +0 -21
- package/components/project/tagSelector/tagSelector.vue.d.ts +0 -37
- package/components/project/tagSelector/tagsDefaults.d.ts +0 -3
- package/components/project/tagSelector/types.d.ts +0 -140
- package/components/project/tagSelector/utils/el.d.ts +0 -19
- package/components/project/tagSelector/utils/utils.d.ts +0 -14
- package/components/tabs/tabs/content.vue.d.ts +0 -19
- package/components/tabs/tabs/tab.vue.d.ts +0 -19
- package/components/tabs/tabs/tabs.vue.d.ts +0 -21
- package/components/tabs/tabs/types.d.ts +0 -19
- package/components/tabs/tabs.d.ts +0 -7
- package/components/tabsView/tabsView/menu.vue.d.ts +0 -32
- package/components/tabsView/tabsView/menuDelimeter.vue.d.ts +0 -3
- package/components/tabsView/tabsView/menuItem.vue.d.ts +0 -23
- package/components/tabsView/tabsView/menuTitle.vue.d.ts +0 -20
- package/components/tabsView/tabsView/store.d.ts +0 -12
- package/components/tabsView/tabsView/tabsView.vue.d.ts +0 -34
- package/components/tabsView/tabsView/types.d.ts +0 -98
- package/components/tabsView/tabsView/utils.d.ts +0 -11
- package/components/tabsView/tabsView.d.ts +0 -7
- package/core/app.amd.js +0 -2
- package/core/app.amd.js.map +0 -1
- package/core/app.d.ts +0 -8
- package/core/app.js +0 -214
- package/core/app.js.map +0 -1
- package/core/core/core.d.ts +0 -113
- package/core/core/events/resize.d.ts +0 -16
- package/core/core/events.d.ts +0 -15
- package/core/core/options.d.ts +0 -47
- package/core/core/preloaders.d.ts +0 -19
- package/core/core/state.d.ts +0 -49
- package/core/directives/data.d.ts +0 -10
- package/core/directives/focus.d.ts +0 -10
- package/core/directives/preloader.d.ts +0 -8
- package/core/directives/scrollIntoView.d.ts +0 -3
- package/core/directives/scrollShadow.d.ts +0 -15
- package/core/directives/sticky.d.ts +0 -10
- package/core/directives/swimUp.d.ts +0 -15
- package/core/directives/tooltip.d.ts +0 -10
- package/core/plugins/core.d.ts +0 -60
- package/core/plugins/i18n.d.ts +0 -97
- package/core/plugins/piniaTPA.d.ts +0 -17
- package/core/utils/check.d.ts +0 -26
- package/core/utils/clipboard.d.ts +0 -12
- package/core/utils/date.d.ts +0 -70
- package/core/utils/device.d.ts +0 -50
- package/core/utils/dom.d.ts +0 -104
- package/core/utils/image.d.ts +0 -16
- package/core/utils/keyboard.d.ts +0 -8
- package/core/utils/lodash.d.ts +0 -6
- package/core/utils/number.d.ts +0 -17
- package/core/utils/price.d.ts +0 -10
- package/core/utils/route.d.ts +0 -33
- package/core/utils/scroll.d.ts +0 -32
- package/core/utils/searchers.d.ts +0 -38
- package/core/utils/store/localStorage.d.ts +0 -6
- package/core/utils/store/plugin.d.ts +0 -24
- package/core/utils/store/store.d.ts +0 -34
- package/core/utils/store.d.ts +0 -6
- package/core/utils/string.d.ts +0 -100
- package/core/utils/system.d.ts +0 -25
- package/core/utils/url.d.ts +0 -36
- package/dialog/dialog.amd.js +0 -2
- package/dialog/dialog.amd.js.map +0 -1
- package/dialog/dialog.d.ts +0 -2
- package/dialog/dialog.js +0 -60
- package/dialog/dialog.js.map +0 -1
- package/extra/extra.amd.js +0 -2
- package/extra/extra.amd.js.map +0 -1
- package/extra/extra.d.ts +0 -2
- package/extra/extra.js +0 -72
- package/extra/extra.js.map +0 -1
- package/forms/forms.amd.js +0 -2
- package/forms/forms.amd.js.map +0 -1
- package/forms/forms.d.ts +0 -2
- package/forms/forms.js +0 -19
- package/forms/forms.js.map +0 -1
- package/forms/helpers.amd.js +0 -2
- package/forms/helpers.amd.js.map +0 -1
- package/forms/helpers.d.ts +0 -1
- package/forms/helpers.js +0 -2
- package/forms/helpers.js.map +0 -1
- package/formsExt/formsExt.amd.js +0 -2
- package/formsExt/formsExt.amd.js.map +0 -1
- package/formsExt/formsExt.d.ts +0 -2
- package/formsExt/formsExt.js +0 -599
- package/formsExt/formsExt.js.map +0 -1
- package/layout/layout.amd.js +0 -2
- package/layout/layout.amd.js.map +0 -1
- package/layout/layout.d.ts +0 -2
- package/layout/layout.js +0 -62
- package/layout/layout.js.map +0 -1
- package/popup/popup.amd.js +0 -2
- package/popup/popup.amd.js.map +0 -1
- package/popup/popup.d.ts +0 -2
- package/popup/popup.js +0 -244
- package/popup/popup.js.map +0 -1
- package/popup/worker.amd.js +0 -2
- package/popup/worker.amd.js.map +0 -1
- package/popup/worker.d.ts +0 -2
- package/popup/worker.js +0 -129
- package/popup/worker.js.map +0 -1
- package/project/project.amd.js +0 -2
- package/project/project.amd.js.map +0 -1
- package/project/project.d.ts +0 -2
- package/project/project.js +0 -986
- package/project/project.js.map +0 -1
- package/tabs/tabs.amd.js +0 -2
- package/tabs/tabs.amd.js.map +0 -1
- package/tabs/tabs.d.ts +0 -2
- package/tabs/tabs.js +0 -81
- package/tabs/tabs.js.map +0 -1
- package/tabsView/tabsView.amd.js +0 -2
- package/tabsView/tabsView.amd.js.map +0 -1
- package/tabsView/tabsView.d.ts +0 -2
- package/tabsView/tabsView.js +0 -306
- package/tabsView/tabsView.js.map +0 -1
- package/utils/check.amd.js +0 -2
- package/utils/check.amd.js.map +0 -1
- package/utils/check.d.ts +0 -2
- package/utils/check.js +0 -26
- package/utils/check.js.map +0 -1
- package/utils/clipboard.amd.js +0 -6
- package/utils/clipboard.amd.js.map +0 -1
- package/utils/clipboard.d.ts +0 -2
- package/utils/clipboard.js +0 -33
- package/utils/clipboard.js.map +0 -1
- package/utils/date.amd.js +0 -2
- package/utils/date.amd.js.map +0 -1
- package/utils/date.d.ts +0 -2
- package/utils/date.js +0 -12
- package/utils/date.js.map +0 -1
- package/utils/device.amd.js +0 -2
- package/utils/device.amd.js.map +0 -1
- package/utils/device.d.ts +0 -2
- package/utils/device.js +0 -15
- package/utils/device.js.map +0 -1
- package/utils/dom.amd.js +0 -2
- package/utils/dom.amd.js.map +0 -1
- package/utils/dom.d.ts +0 -6
- package/utils/dom.js +0 -80
- package/utils/dom.js.map +0 -1
- package/utils/image.amd.js +0 -12
- package/utils/image.amd.js.map +0 -1
- package/utils/image.d.ts +0 -2
- package/utils/image.js +0 -23
- package/utils/image.js.map +0 -1
- package/utils/keyboard.amd.js +0 -2
- package/utils/keyboard.amd.js.map +0 -1
- package/utils/keyboard.d.ts +0 -2
- package/utils/keyboard.js +0 -12
- package/utils/keyboard.js.map +0 -1
- package/utils/lodash.amd.js +0 -2
- package/utils/lodash.amd.js.map +0 -1
- package/utils/lodash.d.ts +0 -2
- package/utils/lodash.js +0 -9
- package/utils/lodash.js.map +0 -1
- package/utils/number.amd.js +0 -2
- package/utils/number.amd.js.map +0 -1
- package/utils/number.d.ts +0 -2
- package/utils/number.js +0 -13
- package/utils/number.js.map +0 -1
- package/utils/price.amd.js +0 -2
- package/utils/price.amd.js.map +0 -1
- package/utils/price.d.ts +0 -2
- package/utils/price.js +0 -10
- package/utils/price.js.map +0 -1
- package/utils/route.amd.js +0 -2
- package/utils/route.amd.js.map +0 -1
- package/utils/route.d.ts +0 -2
- package/utils/route.js +0 -38
- package/utils/route.js.map +0 -1
- package/utils/scroll.amd.js +0 -2
- package/utils/scroll.amd.js.map +0 -1
- package/utils/scroll.d.ts +0 -2
- package/utils/scroll.js +0 -45
- package/utils/scroll.js.map +0 -1
- package/utils/searchers.amd.js +0 -2
- package/utils/searchers.amd.js.map +0 -1
- package/utils/searchers.d.ts +0 -2
- package/utils/searchers.js +0 -134
- package/utils/searchers.js.map +0 -1
- package/utils/store.amd.js +0 -2
- package/utils/store.amd.js.map +0 -1
- package/utils/store.d.ts +0 -2
- package/utils/store.js +0 -7
- package/utils/store.js.map +0 -1
- package/utils/string.amd.js +0 -2
- package/utils/string.amd.js.map +0 -1
- package/utils/string.d.ts +0 -2
- package/utils/string.js +0 -148
- package/utils/string.js.map +0 -1
- package/utils/system.amd.js +0 -2
- package/utils/system.amd.js.map +0 -1
- package/utils/system.d.ts +0 -2
- package/utils/system.js +0 -29
- package/utils/system.js.map +0 -1
- package/utils/url.amd.js +0 -3
- package/utils/url.amd.js.map +0 -1
- package/utils/url.d.ts +0 -2
- package/utils/url.js +0 -48
- package/utils/url.js.map +0 -1
- /package/{icomoon → public/icomoon}/Read Me.txt +0 -0
- /package/{icomoon → public/icomoon}/demo-files/demo.css +0 -0
- /package/{icomoon → public/icomoon}/demo-files/demo.js +0 -0
- /package/{icomoon → public/icomoon}/demo.css +0 -0
- /package/{icomoon → public/icomoon}/demo.html +0 -0
- /package/{icomoon → public/icomoon}/demo.js +0 -0
- /package/{icomoon → public/icomoon}/fonts/Topvisor-2.eot +0 -0
- /package/{icomoon → public/icomoon}/fonts/Topvisor-2.svg +0 -0
- /package/{icomoon → public/icomoon}/fonts/Topvisor-2.ttf +0 -0
- /package/{icomoon → public/icomoon}/fonts/Topvisor-2.woff +0 -0
- /package/{icomoon → public/icomoon}/selection.json +0 -0
- /package/{icomoon → public/icomoon}/style.css +0 -0
- /package/{jquery-ui.min.css → public/jquery-ui.min.css} +0 -0
- /package/{require → public/require}/css.amd.js +0 -0
- /package/{components/core/notice/types.d.ts → src/components/core/notice/types.ts} +0 -0
- /package/{components/forms/helpers.d.ts → src/components/forms/helpers.ts} +0 -0
- /package/{components/popup/worker.d.ts → src/components/popup/worker.ts} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(["require","exports"],function(K,L){"use strict";if(typeof V>"u")var V=window.Vue;const g=2147483647,f=36,v=1,w=26,j=38,y=700,A=72,M=128,S="-",O=/^xn--/,U=/[^\0-\x7F]/,N=/[\x2E\u3002\uFF0E\uFF61]/g,R={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},F=f-v,l=Math.floor,I=String.fromCharCode;function d(t){throw new RangeError(R[t])}function z(t,n){const o=[];let e=t.length;for(;e--;)o[e]=n(t[e]);return o}function m(t,n){const o=t.split("@");let e="";o.length>1&&(e=o[0]+"@",t=o[1]),t=t.replace(N,".");const s=t.split("."),c=z(s,n).join(".");return e+c}function k(t){const n=[];let o=0;const e=t.length;for(;o<e;){const s=t.charCodeAt(o++);if(s>=55296&&s<=56319&&o<e){const c=t.charCodeAt(o++);(c&64512)==56320?n.push(((s&1023)<<10)+(c&1023)+65536):(n.push(s),o--)}else n.push(s)}return n}const G=t=>String.fromCodePoint(...t),H=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:f},T=function(t,n){return t+22+75*(t<26)-((n!=0)<<5)},B=function(t,n,o){let e=0;for(t=o?l(t/y):t>>1,t+=l(t/n);t>F*w>>1;e+=f)t=l(t/F);return l(e+(F+1)*t/(t+j))},D=function(t){const n=[],o=t.length;let e=0,s=M,c=A,a=t.lastIndexOf(S);a<0&&(a=0);for(let r=0;r<a;++r)t.charCodeAt(r)>=128&&d("not-basic"),n.push(t.charCodeAt(r));for(let r=a>0?a+1:0;r<o;){const i=e;for(let u=1,h=f;;h+=f){r>=o&&d("invalid-input");const x=H(t.charCodeAt(r++));x>=f&&d("invalid-input"),x>l((g-e)/u)&&d("overflow"),e+=x*u;const C=h<=c?v:h>=c+w?w:h-c;if(x<C)break;const b=f-C;u>l(g/b)&&d("overflow"),u*=b}const p=n.length+1;c=B(e-i,p,i==0),l(e/p)>g-s&&d("overflow"),s+=l(e/p),e%=p,n.splice(e++,0,s)}return String.fromCodePoint(...n)},q=function(t){const n=[];t=k(t);const o=t.length;let e=M,s=0,c=A;for(const i of t)i<128&&n.push(I(i));const a=n.length;let r=a;for(a&&n.push(S);r<o;){let i=g;for(const u of t)u>=e&&u<i&&(i=u);const p=r+1;i-e>l((g-s)/p)&&d("overflow"),s+=(i-e)*p,e=i;for(const u of t)if(u<e&&++s>g&&d("overflow"),u===e){let h=s;for(let x=f;;x+=f){const C=x<=c?v:x>=c+w?w:x-c;if(h<C)break;const b=h-C,E=f-C;n.push(I(T(C+b%E,0))),h=l(b/E)}n.push(I(T(h,0))),c=B(s,p,r===a),s=0,++r}++s,++e}return n.join("")},J={version:"2.3.1",ucs2:{decode:k,encode:G},decode:D,encode:q,toASCII:function(t){return m(t,function(n){return U.test(n)?"xn--"+q(n):n})},toUnicode:function(t){return m(t,function(n){return O.test(n)?D(n.slice(4).toLowerCase()):n})}};L.punycode=J});
|
|
2
|
-
//# sourceMappingURL=punycode.es6-C2yitnNb.amd.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"punycode.es6-C2yitnNb.amd.js","sources":["../../node_modules/punycode/punycode.es6.js"],"sourcesContent":["'use strict';\n\n/** Highest positive signed 32-bit float value */\nconst maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1\n\n/** Bootstring parameters */\nconst base = 36;\nconst tMin = 1;\nconst tMax = 26;\nconst skew = 38;\nconst damp = 700;\nconst initialBias = 72;\nconst initialN = 128; // 0x80\nconst delimiter = '-'; // '\\x2D'\n\n/** Regular expressions */\nconst regexPunycode = /^xn--/;\nconst regexNonASCII = /[^\\0-\\x7F]/; // Note: U+007F DEL is excluded too.\nconst regexSeparators = /[\\x2E\\u3002\\uFF0E\\uFF61]/g; // RFC 3490 separators\n\n/** Error messages */\nconst errors = {\n\t'overflow': 'Overflow: input needs wider integers to process',\n\t'not-basic': 'Illegal input >= 0x80 (not a basic code point)',\n\t'invalid-input': 'Invalid input'\n};\n\n/** Convenience shortcuts */\nconst baseMinusTMin = base - tMin;\nconst floor = Math.floor;\nconst stringFromCharCode = String.fromCharCode;\n\n/*--------------------------------------------------------------------------*/\n\n/**\n * A generic error utility function.\n * @private\n * @param {String} type The error type.\n * @returns {Error} Throws a `RangeError` with the applicable error message.\n */\nfunction error(type) {\n\tthrow new RangeError(errors[type]);\n}\n\n/**\n * A generic `Array#map` utility function.\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} callback The function that gets called for every array\n * item.\n * @returns {Array} A new array of values returned by the callback function.\n */\nfunction map(array, callback) {\n\tconst result = [];\n\tlet length = array.length;\n\twhile (length--) {\n\t\tresult[length] = callback(array[length]);\n\t}\n\treturn result;\n}\n\n/**\n * A simple `Array#map`-like wrapper to work with domain name strings or email\n * addresses.\n * @private\n * @param {String} domain The domain name or email address.\n * @param {Function} callback The function that gets called for every\n * character.\n * @returns {String} A new string of characters returned by the callback\n * function.\n */\nfunction mapDomain(domain, callback) {\n\tconst parts = domain.split('@');\n\tlet result = '';\n\tif (parts.length > 1) {\n\t\t// In email addresses, only the domain name should be punycoded. Leave\n\t\t// the local part (i.e. everything up to `@`) intact.\n\t\tresult = parts[0] + '@';\n\t\tdomain = parts[1];\n\t}\n\t// Avoid `split(regex)` for IE8 compatibility. See #17.\n\tdomain = domain.replace(regexSeparators, '\\x2E');\n\tconst labels = domain.split('.');\n\tconst encoded = map(labels, callback).join('.');\n\treturn result + encoded;\n}\n\n/**\n * Creates an array containing the numeric code points of each Unicode\n * character in the string. While JavaScript uses UCS-2 internally,\n * this function will convert a pair of surrogate halves (each of which\n * UCS-2 exposes as separate characters) into a single code point,\n * matching UTF-16.\n * @see `punycode.ucs2.encode`\n * @see <https://mathiasbynens.be/notes/javascript-encoding>\n * @memberOf punycode.ucs2\n * @name decode\n * @param {String} string The Unicode input string (UCS-2).\n * @returns {Array} The new array of code points.\n */\nfunction ucs2decode(string) {\n\tconst output = [];\n\tlet counter = 0;\n\tconst length = string.length;\n\twhile (counter < length) {\n\t\tconst value = string.charCodeAt(counter++);\n\t\tif (value >= 0xD800 && value <= 0xDBFF && counter < length) {\n\t\t\t// It's a high surrogate, and there is a next character.\n\t\t\tconst extra = string.charCodeAt(counter++);\n\t\t\tif ((extra & 0xFC00) == 0xDC00) { // Low surrogate.\n\t\t\t\toutput.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);\n\t\t\t} else {\n\t\t\t\t// It's an unmatched surrogate; only append this code unit, in case the\n\t\t\t\t// next code unit is the high surrogate of a surrogate pair.\n\t\t\t\toutput.push(value);\n\t\t\t\tcounter--;\n\t\t\t}\n\t\t} else {\n\t\t\toutput.push(value);\n\t\t}\n\t}\n\treturn output;\n}\n\n/**\n * Creates a string based on an array of numeric code points.\n * @see `punycode.ucs2.decode`\n * @memberOf punycode.ucs2\n * @name encode\n * @param {Array} codePoints The array of numeric code points.\n * @returns {String} The new Unicode string (UCS-2).\n */\nconst ucs2encode = codePoints => String.fromCodePoint(...codePoints);\n\n/**\n * Converts a basic code point into a digit/integer.\n * @see `digitToBasic()`\n * @private\n * @param {Number} codePoint The basic numeric code point value.\n * @returns {Number} The numeric value of a basic code point (for use in\n * representing integers) in the range `0` to `base - 1`, or `base` if\n * the code point does not represent a value.\n */\nconst basicToDigit = function(codePoint) {\n\tif (codePoint >= 0x30 && codePoint < 0x3A) {\n\t\treturn 26 + (codePoint - 0x30);\n\t}\n\tif (codePoint >= 0x41 && codePoint < 0x5B) {\n\t\treturn codePoint - 0x41;\n\t}\n\tif (codePoint >= 0x61 && codePoint < 0x7B) {\n\t\treturn codePoint - 0x61;\n\t}\n\treturn base;\n};\n\n/**\n * Converts a digit/integer into a basic code point.\n * @see `basicToDigit()`\n * @private\n * @param {Number} digit The numeric value of a basic code point.\n * @returns {Number} The basic code point whose value (when used for\n * representing integers) is `digit`, which needs to be in the range\n * `0` to `base - 1`. If `flag` is non-zero, the uppercase form is\n * used; else, the lowercase form is used. The behavior is undefined\n * if `flag` is non-zero and `digit` has no uppercase form.\n */\nconst digitToBasic = function(digit, flag) {\n\t// 0..25 map to ASCII a..z or A..Z\n\t// 26..35 map to ASCII 0..9\n\treturn digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5);\n};\n\n/**\n * Bias adaptation function as per section 3.4 of RFC 3492.\n * https://tools.ietf.org/html/rfc3492#section-3.4\n * @private\n */\nconst adapt = function(delta, numPoints, firstTime) {\n\tlet k = 0;\n\tdelta = firstTime ? floor(delta / damp) : delta >> 1;\n\tdelta += floor(delta / numPoints);\n\tfor (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) {\n\t\tdelta = floor(delta / baseMinusTMin);\n\t}\n\treturn floor(k + (baseMinusTMin + 1) * delta / (delta + skew));\n};\n\n/**\n * Converts a Punycode string of ASCII-only symbols to a string of Unicode\n * symbols.\n * @memberOf punycode\n * @param {String} input The Punycode string of ASCII-only symbols.\n * @returns {String} The resulting string of Unicode symbols.\n */\nconst decode = function(input) {\n\t// Don't use UCS-2.\n\tconst output = [];\n\tconst inputLength = input.length;\n\tlet i = 0;\n\tlet n = initialN;\n\tlet bias = initialBias;\n\n\t// Handle the basic code points: let `basic` be the number of input code\n\t// points before the last delimiter, or `0` if there is none, then copy\n\t// the first basic code points to the output.\n\n\tlet basic = input.lastIndexOf(delimiter);\n\tif (basic < 0) {\n\t\tbasic = 0;\n\t}\n\n\tfor (let j = 0; j < basic; ++j) {\n\t\t// if it's not a basic code point\n\t\tif (input.charCodeAt(j) >= 0x80) {\n\t\t\terror('not-basic');\n\t\t}\n\t\toutput.push(input.charCodeAt(j));\n\t}\n\n\t// Main decoding loop: start just after the last delimiter if any basic code\n\t// points were copied; start at the beginning otherwise.\n\n\tfor (let index = basic > 0 ? basic + 1 : 0; index < inputLength; /* no final expression */) {\n\n\t\t// `index` is the index of the next character to be consumed.\n\t\t// Decode a generalized variable-length integer into `delta`,\n\t\t// which gets added to `i`. The overflow checking is easier\n\t\t// if we increase `i` as we go, then subtract off its starting\n\t\t// value at the end to obtain `delta`.\n\t\tconst oldi = i;\n\t\tfor (let w = 1, k = base; /* no condition */; k += base) {\n\n\t\t\tif (index >= inputLength) {\n\t\t\t\terror('invalid-input');\n\t\t\t}\n\n\t\t\tconst digit = basicToDigit(input.charCodeAt(index++));\n\n\t\t\tif (digit >= base) {\n\t\t\t\terror('invalid-input');\n\t\t\t}\n\t\t\tif (digit > floor((maxInt - i) / w)) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\ti += digit * w;\n\t\t\tconst t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\n\t\t\tif (digit < t) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tconst baseMinusT = base - t;\n\t\t\tif (w > floor(maxInt / baseMinusT)) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\tw *= baseMinusT;\n\n\t\t}\n\n\t\tconst out = output.length + 1;\n\t\tbias = adapt(i - oldi, out, oldi == 0);\n\n\t\t// `i` was supposed to wrap around from `out` to `0`,\n\t\t// incrementing `n` each time, so we'll fix that now:\n\t\tif (floor(i / out) > maxInt - n) {\n\t\t\terror('overflow');\n\t\t}\n\n\t\tn += floor(i / out);\n\t\ti %= out;\n\n\t\t// Insert `n` at position `i` of the output.\n\t\toutput.splice(i++, 0, n);\n\n\t}\n\n\treturn String.fromCodePoint(...output);\n};\n\n/**\n * Converts a string of Unicode symbols (e.g. a domain name label) to a\n * Punycode string of ASCII-only symbols.\n * @memberOf punycode\n * @param {String} input The string of Unicode symbols.\n * @returns {String} The resulting Punycode string of ASCII-only symbols.\n */\nconst encode = function(input) {\n\tconst output = [];\n\n\t// Convert the input in UCS-2 to an array of Unicode code points.\n\tinput = ucs2decode(input);\n\n\t// Cache the length.\n\tconst inputLength = input.length;\n\n\t// Initialize the state.\n\tlet n = initialN;\n\tlet delta = 0;\n\tlet bias = initialBias;\n\n\t// Handle the basic code points.\n\tfor (const currentValue of input) {\n\t\tif (currentValue < 0x80) {\n\t\t\toutput.push(stringFromCharCode(currentValue));\n\t\t}\n\t}\n\n\tconst basicLength = output.length;\n\tlet handledCPCount = basicLength;\n\n\t// `handledCPCount` is the number of code points that have been handled;\n\t// `basicLength` is the number of basic code points.\n\n\t// Finish the basic string with a delimiter unless it's empty.\n\tif (basicLength) {\n\t\toutput.push(delimiter);\n\t}\n\n\t// Main encoding loop:\n\twhile (handledCPCount < inputLength) {\n\n\t\t// All non-basic code points < n have been handled already. Find the next\n\t\t// larger one:\n\t\tlet m = maxInt;\n\t\tfor (const currentValue of input) {\n\t\t\tif (currentValue >= n && currentValue < m) {\n\t\t\t\tm = currentValue;\n\t\t\t}\n\t\t}\n\n\t\t// Increase `delta` enough to advance the decoder's <n,i> state to <m,0>,\n\t\t// but guard against overflow.\n\t\tconst handledCPCountPlusOne = handledCPCount + 1;\n\t\tif (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {\n\t\t\terror('overflow');\n\t\t}\n\n\t\tdelta += (m - n) * handledCPCountPlusOne;\n\t\tn = m;\n\n\t\tfor (const currentValue of input) {\n\t\t\tif (currentValue < n && ++delta > maxInt) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\t\t\tif (currentValue === n) {\n\t\t\t\t// Represent delta as a generalized variable-length integer.\n\t\t\t\tlet q = delta;\n\t\t\t\tfor (let k = base; /* no condition */; k += base) {\n\t\t\t\t\tconst t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\t\t\t\t\tif (q < t) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tconst qMinusT = q - t;\n\t\t\t\t\tconst baseMinusT = base - t;\n\t\t\t\t\toutput.push(\n\t\t\t\t\t\tstringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0))\n\t\t\t\t\t);\n\t\t\t\t\tq = floor(qMinusT / baseMinusT);\n\t\t\t\t}\n\n\t\t\t\toutput.push(stringFromCharCode(digitToBasic(q, 0)));\n\t\t\t\tbias = adapt(delta, handledCPCountPlusOne, handledCPCount === basicLength);\n\t\t\t\tdelta = 0;\n\t\t\t\t++handledCPCount;\n\t\t\t}\n\t\t}\n\n\t\t++delta;\n\t\t++n;\n\n\t}\n\treturn output.join('');\n};\n\n/**\n * Converts a Punycode string representing a domain name or an email address\n * to Unicode. Only the Punycoded parts of the input will be converted, i.e.\n * it doesn't matter if you call it on a string that has already been\n * converted to Unicode.\n * @memberOf punycode\n * @param {String} input The Punycoded domain name or email address to\n * convert to Unicode.\n * @returns {String} The Unicode representation of the given Punycode\n * string.\n */\nconst toUnicode = function(input) {\n\treturn mapDomain(input, function(string) {\n\t\treturn regexPunycode.test(string)\n\t\t\t? decode(string.slice(4).toLowerCase())\n\t\t\t: string;\n\t});\n};\n\n/**\n * Converts a Unicode string representing a domain name or an email address to\n * Punycode. Only the non-ASCII parts of the domain name will be converted,\n * i.e. it doesn't matter if you call it with a domain that's already in\n * ASCII.\n * @memberOf punycode\n * @param {String} input The domain name or email address to convert, as a\n * Unicode string.\n * @returns {String} The Punycode representation of the given domain name or\n * email address.\n */\nconst toASCII = function(input) {\n\treturn mapDomain(input, function(string) {\n\t\treturn regexNonASCII.test(string)\n\t\t\t? 'xn--' + encode(string)\n\t\t\t: string;\n\t});\n};\n\n/*--------------------------------------------------------------------------*/\n\n/** Define the public API */\nconst punycode = {\n\t/**\n\t * A string representing the current Punycode.js version number.\n\t * @memberOf punycode\n\t * @type String\n\t */\n\t'version': '2.3.1',\n\t/**\n\t * An object of methods to convert from JavaScript's internal character\n\t * representation (UCS-2) to Unicode code points, and back.\n\t * @see <https://mathiasbynens.be/notes/javascript-encoding>\n\t * @memberOf punycode\n\t * @type Object\n\t */\n\t'ucs2': {\n\t\t'decode': ucs2decode,\n\t\t'encode': ucs2encode\n\t},\n\t'decode': decode,\n\t'encode': encode,\n\t'toASCII': toASCII,\n\t'toUnicode': toUnicode\n};\n\nexport { ucs2decode, ucs2encode, decode, encode, toASCII, toUnicode };\nexport default punycode;\n"],"names":["errors","baseMinusTMin","base","tMin","floor","stringFromCharCode","map","array","callback","length","result","mapDomain","domain","parts","encoded","labels","string","counter","value","extra","output","basicToDigit","codePoint","digitToBasic","digit","flag","delta","firstTime","damp","numPoints","tMax","k","skew","decode","input","inputLength","basic","j","index","w","maxInt","i","t","baseMinusT","out","bias","adapt","oldi","n","encode","ucs2decode","currentValue","basicLength","delimiter","handledCPCount","handledCPCountPlusOne","m","q","qMinusT","punycode","ucs2encode","regexNonASCII","regexPunycode"],"mappings":"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","x_google_ignoreList":[0]}
|
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
const M = "-", B = /^xn--/, S = /[^\0-\x7F]/, T = /[\x2E\u3002\uFF0E\uFF61]/g, D = {
|
|
2
|
-
overflow: "Overflow: input needs wider integers to process",
|
|
3
|
-
"not-basic": "Illegal input >= 0x80 (not a basic code point)",
|
|
4
|
-
"invalid-input": "Invalid input"
|
|
5
|
-
}, C = 35, u = Math.floor, g = String.fromCharCode;
|
|
6
|
-
function d(t) {
|
|
7
|
-
throw new RangeError(D[t]);
|
|
8
|
-
}
|
|
9
|
-
function E(t, n) {
|
|
10
|
-
const o = [];
|
|
11
|
-
let e = t.length;
|
|
12
|
-
for (; e--; )
|
|
13
|
-
o[e] = n(t[e]);
|
|
14
|
-
return o;
|
|
15
|
-
}
|
|
16
|
-
function m(t, n) {
|
|
17
|
-
const o = t.split("@");
|
|
18
|
-
let e = "";
|
|
19
|
-
o.length > 1 && (e = o[0] + "@", t = o[1]), t = t.replace(T, ".");
|
|
20
|
-
const s = t.split("."), c = E(s, n).join(".");
|
|
21
|
-
return e + c;
|
|
22
|
-
}
|
|
23
|
-
function v(t) {
|
|
24
|
-
const n = [];
|
|
25
|
-
let o = 0;
|
|
26
|
-
const e = t.length;
|
|
27
|
-
for (; o < e; ) {
|
|
28
|
-
const s = t.charCodeAt(o++);
|
|
29
|
-
if (s >= 55296 && s <= 56319 && o < e) {
|
|
30
|
-
const c = t.charCodeAt(o++);
|
|
31
|
-
(c & 64512) == 56320 ? n.push(((s & 1023) << 10) + (c & 1023) + 65536) : (n.push(s), o--);
|
|
32
|
-
} else
|
|
33
|
-
n.push(s);
|
|
34
|
-
}
|
|
35
|
-
return n;
|
|
36
|
-
}
|
|
37
|
-
const L = (t) => String.fromCodePoint(...t), N = function(t) {
|
|
38
|
-
return t >= 48 && t < 58 ? 26 + (t - 48) : t >= 65 && t < 91 ? t - 65 : t >= 97 && t < 123 ? t - 97 : 36;
|
|
39
|
-
}, I = function(t, n) {
|
|
40
|
-
return t + 22 + 75 * (t < 26) - ((n != 0) << 5);
|
|
41
|
-
}, F = function(t, n, o) {
|
|
42
|
-
let e = 0;
|
|
43
|
-
for (t = o ? u(t / 700) : t >> 1, t += u(t / n); t > C * 26 >> 1; e += 36)
|
|
44
|
-
t = u(t / C);
|
|
45
|
-
return u(e + (C + 1) * t / (t + 38));
|
|
46
|
-
}, A = function(t) {
|
|
47
|
-
const n = [], o = t.length;
|
|
48
|
-
let e = 0, s = 128, c = 72, l = t.lastIndexOf(M);
|
|
49
|
-
l < 0 && (l = 0);
|
|
50
|
-
for (let i = 0; i < l; ++i)
|
|
51
|
-
t.charCodeAt(i) >= 128 && d("not-basic"), n.push(t.charCodeAt(i));
|
|
52
|
-
for (let i = l > 0 ? l + 1 : 0; i < o; ) {
|
|
53
|
-
const r = e;
|
|
54
|
-
for (let a = 1, f = 36; ; f += 36) {
|
|
55
|
-
i >= o && d("invalid-input");
|
|
56
|
-
const x = N(t.charCodeAt(i++));
|
|
57
|
-
x >= 36 && d("invalid-input"), x > u((2147483647 - e) / a) && d("overflow"), e += x * a;
|
|
58
|
-
const p = f <= c ? 1 : f >= c + 26 ? 26 : f - c;
|
|
59
|
-
if (x < p)
|
|
60
|
-
break;
|
|
61
|
-
const b = 36 - p;
|
|
62
|
-
a > u(2147483647 / b) && d("overflow"), a *= b;
|
|
63
|
-
}
|
|
64
|
-
const h = n.length + 1;
|
|
65
|
-
c = F(e - r, h, r == 0), u(e / h) > 2147483647 - s && d("overflow"), s += u(e / h), e %= h, n.splice(e++, 0, s);
|
|
66
|
-
}
|
|
67
|
-
return String.fromCodePoint(...n);
|
|
68
|
-
}, k = function(t) {
|
|
69
|
-
const n = [];
|
|
70
|
-
t = v(t);
|
|
71
|
-
const o = t.length;
|
|
72
|
-
let e = 128, s = 0, c = 72;
|
|
73
|
-
for (const r of t)
|
|
74
|
-
r < 128 && n.push(g(r));
|
|
75
|
-
const l = n.length;
|
|
76
|
-
let i = l;
|
|
77
|
-
for (l && n.push(M); i < o; ) {
|
|
78
|
-
let r = 2147483647;
|
|
79
|
-
for (const a of t)
|
|
80
|
-
a >= e && a < r && (r = a);
|
|
81
|
-
const h = i + 1;
|
|
82
|
-
r - e > u((2147483647 - s) / h) && d("overflow"), s += (r - e) * h, e = r;
|
|
83
|
-
for (const a of t)
|
|
84
|
-
if (a < e && ++s > 2147483647 && d("overflow"), a === e) {
|
|
85
|
-
let f = s;
|
|
86
|
-
for (let x = 36; ; x += 36) {
|
|
87
|
-
const p = x <= c ? 1 : x >= c + 26 ? 26 : x - c;
|
|
88
|
-
if (f < p)
|
|
89
|
-
break;
|
|
90
|
-
const b = f - p, w = 36 - p;
|
|
91
|
-
n.push(
|
|
92
|
-
g(I(p + b % w, 0))
|
|
93
|
-
), f = u(b / w);
|
|
94
|
-
}
|
|
95
|
-
n.push(g(I(f, 0))), c = F(s, h, i === l), s = 0, ++i;
|
|
96
|
-
}
|
|
97
|
-
++s, ++e;
|
|
98
|
-
}
|
|
99
|
-
return n.join("");
|
|
100
|
-
}, j = function(t) {
|
|
101
|
-
return m(t, function(n) {
|
|
102
|
-
return B.test(n) ? A(n.slice(4).toLowerCase()) : n;
|
|
103
|
-
});
|
|
104
|
-
}, O = function(t) {
|
|
105
|
-
return m(t, function(n) {
|
|
106
|
-
return S.test(n) ? "xn--" + k(n) : n;
|
|
107
|
-
});
|
|
108
|
-
}, V = {
|
|
109
|
-
/**
|
|
110
|
-
* A string representing the current Punycode.js version number.
|
|
111
|
-
* @memberOf punycode
|
|
112
|
-
* @type String
|
|
113
|
-
*/
|
|
114
|
-
version: "2.3.1",
|
|
115
|
-
/**
|
|
116
|
-
* An object of methods to convert from JavaScript's internal character
|
|
117
|
-
* representation (UCS-2) to Unicode code points, and back.
|
|
118
|
-
* @see <https://mathiasbynens.be/notes/javascript-encoding>
|
|
119
|
-
* @memberOf punycode
|
|
120
|
-
* @type Object
|
|
121
|
-
*/
|
|
122
|
-
ucs2: {
|
|
123
|
-
decode: v,
|
|
124
|
-
encode: L
|
|
125
|
-
},
|
|
126
|
-
decode: A,
|
|
127
|
-
encode: k,
|
|
128
|
-
toASCII: O,
|
|
129
|
-
toUnicode: j
|
|
130
|
-
};
|
|
131
|
-
export {
|
|
132
|
-
V as p
|
|
133
|
-
};
|
|
134
|
-
//# sourceMappingURL=punycode.es6-CNI-zL6U.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"punycode.es6-CNI-zL6U.es.js","sources":["../../node_modules/punycode/punycode.es6.js"],"sourcesContent":["'use strict';\n\n/** Highest positive signed 32-bit float value */\nconst maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1\n\n/** Bootstring parameters */\nconst base = 36;\nconst tMin = 1;\nconst tMax = 26;\nconst skew = 38;\nconst damp = 700;\nconst initialBias = 72;\nconst initialN = 128; // 0x80\nconst delimiter = '-'; // '\\x2D'\n\n/** Regular expressions */\nconst regexPunycode = /^xn--/;\nconst regexNonASCII = /[^\\0-\\x7F]/; // Note: U+007F DEL is excluded too.\nconst regexSeparators = /[\\x2E\\u3002\\uFF0E\\uFF61]/g; // RFC 3490 separators\n\n/** Error messages */\nconst errors = {\n\t'overflow': 'Overflow: input needs wider integers to process',\n\t'not-basic': 'Illegal input >= 0x80 (not a basic code point)',\n\t'invalid-input': 'Invalid input'\n};\n\n/** Convenience shortcuts */\nconst baseMinusTMin = base - tMin;\nconst floor = Math.floor;\nconst stringFromCharCode = String.fromCharCode;\n\n/*--------------------------------------------------------------------------*/\n\n/**\n * A generic error utility function.\n * @private\n * @param {String} type The error type.\n * @returns {Error} Throws a `RangeError` with the applicable error message.\n */\nfunction error(type) {\n\tthrow new RangeError(errors[type]);\n}\n\n/**\n * A generic `Array#map` utility function.\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} callback The function that gets called for every array\n * item.\n * @returns {Array} A new array of values returned by the callback function.\n */\nfunction map(array, callback) {\n\tconst result = [];\n\tlet length = array.length;\n\twhile (length--) {\n\t\tresult[length] = callback(array[length]);\n\t}\n\treturn result;\n}\n\n/**\n * A simple `Array#map`-like wrapper to work with domain name strings or email\n * addresses.\n * @private\n * @param {String} domain The domain name or email address.\n * @param {Function} callback The function that gets called for every\n * character.\n * @returns {String} A new string of characters returned by the callback\n * function.\n */\nfunction mapDomain(domain, callback) {\n\tconst parts = domain.split('@');\n\tlet result = '';\n\tif (parts.length > 1) {\n\t\t// In email addresses, only the domain name should be punycoded. Leave\n\t\t// the local part (i.e. everything up to `@`) intact.\n\t\tresult = parts[0] + '@';\n\t\tdomain = parts[1];\n\t}\n\t// Avoid `split(regex)` for IE8 compatibility. See #17.\n\tdomain = domain.replace(regexSeparators, '\\x2E');\n\tconst labels = domain.split('.');\n\tconst encoded = map(labels, callback).join('.');\n\treturn result + encoded;\n}\n\n/**\n * Creates an array containing the numeric code points of each Unicode\n * character in the string. While JavaScript uses UCS-2 internally,\n * this function will convert a pair of surrogate halves (each of which\n * UCS-2 exposes as separate characters) into a single code point,\n * matching UTF-16.\n * @see `punycode.ucs2.encode`\n * @see <https://mathiasbynens.be/notes/javascript-encoding>\n * @memberOf punycode.ucs2\n * @name decode\n * @param {String} string The Unicode input string (UCS-2).\n * @returns {Array} The new array of code points.\n */\nfunction ucs2decode(string) {\n\tconst output = [];\n\tlet counter = 0;\n\tconst length = string.length;\n\twhile (counter < length) {\n\t\tconst value = string.charCodeAt(counter++);\n\t\tif (value >= 0xD800 && value <= 0xDBFF && counter < length) {\n\t\t\t// It's a high surrogate, and there is a next character.\n\t\t\tconst extra = string.charCodeAt(counter++);\n\t\t\tif ((extra & 0xFC00) == 0xDC00) { // Low surrogate.\n\t\t\t\toutput.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);\n\t\t\t} else {\n\t\t\t\t// It's an unmatched surrogate; only append this code unit, in case the\n\t\t\t\t// next code unit is the high surrogate of a surrogate pair.\n\t\t\t\toutput.push(value);\n\t\t\t\tcounter--;\n\t\t\t}\n\t\t} else {\n\t\t\toutput.push(value);\n\t\t}\n\t}\n\treturn output;\n}\n\n/**\n * Creates a string based on an array of numeric code points.\n * @see `punycode.ucs2.decode`\n * @memberOf punycode.ucs2\n * @name encode\n * @param {Array} codePoints The array of numeric code points.\n * @returns {String} The new Unicode string (UCS-2).\n */\nconst ucs2encode = codePoints => String.fromCodePoint(...codePoints);\n\n/**\n * Converts a basic code point into a digit/integer.\n * @see `digitToBasic()`\n * @private\n * @param {Number} codePoint The basic numeric code point value.\n * @returns {Number} The numeric value of a basic code point (for use in\n * representing integers) in the range `0` to `base - 1`, or `base` if\n * the code point does not represent a value.\n */\nconst basicToDigit = function(codePoint) {\n\tif (codePoint >= 0x30 && codePoint < 0x3A) {\n\t\treturn 26 + (codePoint - 0x30);\n\t}\n\tif (codePoint >= 0x41 && codePoint < 0x5B) {\n\t\treturn codePoint - 0x41;\n\t}\n\tif (codePoint >= 0x61 && codePoint < 0x7B) {\n\t\treturn codePoint - 0x61;\n\t}\n\treturn base;\n};\n\n/**\n * Converts a digit/integer into a basic code point.\n * @see `basicToDigit()`\n * @private\n * @param {Number} digit The numeric value of a basic code point.\n * @returns {Number} The basic code point whose value (when used for\n * representing integers) is `digit`, which needs to be in the range\n * `0` to `base - 1`. If `flag` is non-zero, the uppercase form is\n * used; else, the lowercase form is used. The behavior is undefined\n * if `flag` is non-zero and `digit` has no uppercase form.\n */\nconst digitToBasic = function(digit, flag) {\n\t// 0..25 map to ASCII a..z or A..Z\n\t// 26..35 map to ASCII 0..9\n\treturn digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5);\n};\n\n/**\n * Bias adaptation function as per section 3.4 of RFC 3492.\n * https://tools.ietf.org/html/rfc3492#section-3.4\n * @private\n */\nconst adapt = function(delta, numPoints, firstTime) {\n\tlet k = 0;\n\tdelta = firstTime ? floor(delta / damp) : delta >> 1;\n\tdelta += floor(delta / numPoints);\n\tfor (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) {\n\t\tdelta = floor(delta / baseMinusTMin);\n\t}\n\treturn floor(k + (baseMinusTMin + 1) * delta / (delta + skew));\n};\n\n/**\n * Converts a Punycode string of ASCII-only symbols to a string of Unicode\n * symbols.\n * @memberOf punycode\n * @param {String} input The Punycode string of ASCII-only symbols.\n * @returns {String} The resulting string of Unicode symbols.\n */\nconst decode = function(input) {\n\t// Don't use UCS-2.\n\tconst output = [];\n\tconst inputLength = input.length;\n\tlet i = 0;\n\tlet n = initialN;\n\tlet bias = initialBias;\n\n\t// Handle the basic code points: let `basic` be the number of input code\n\t// points before the last delimiter, or `0` if there is none, then copy\n\t// the first basic code points to the output.\n\n\tlet basic = input.lastIndexOf(delimiter);\n\tif (basic < 0) {\n\t\tbasic = 0;\n\t}\n\n\tfor (let j = 0; j < basic; ++j) {\n\t\t// if it's not a basic code point\n\t\tif (input.charCodeAt(j) >= 0x80) {\n\t\t\terror('not-basic');\n\t\t}\n\t\toutput.push(input.charCodeAt(j));\n\t}\n\n\t// Main decoding loop: start just after the last delimiter if any basic code\n\t// points were copied; start at the beginning otherwise.\n\n\tfor (let index = basic > 0 ? basic + 1 : 0; index < inputLength; /* no final expression */) {\n\n\t\t// `index` is the index of the next character to be consumed.\n\t\t// Decode a generalized variable-length integer into `delta`,\n\t\t// which gets added to `i`. The overflow checking is easier\n\t\t// if we increase `i` as we go, then subtract off its starting\n\t\t// value at the end to obtain `delta`.\n\t\tconst oldi = i;\n\t\tfor (let w = 1, k = base; /* no condition */; k += base) {\n\n\t\t\tif (index >= inputLength) {\n\t\t\t\terror('invalid-input');\n\t\t\t}\n\n\t\t\tconst digit = basicToDigit(input.charCodeAt(index++));\n\n\t\t\tif (digit >= base) {\n\t\t\t\terror('invalid-input');\n\t\t\t}\n\t\t\tif (digit > floor((maxInt - i) / w)) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\ti += digit * w;\n\t\t\tconst t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\n\t\t\tif (digit < t) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tconst baseMinusT = base - t;\n\t\t\tif (w > floor(maxInt / baseMinusT)) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\tw *= baseMinusT;\n\n\t\t}\n\n\t\tconst out = output.length + 1;\n\t\tbias = adapt(i - oldi, out, oldi == 0);\n\n\t\t// `i` was supposed to wrap around from `out` to `0`,\n\t\t// incrementing `n` each time, so we'll fix that now:\n\t\tif (floor(i / out) > maxInt - n) {\n\t\t\terror('overflow');\n\t\t}\n\n\t\tn += floor(i / out);\n\t\ti %= out;\n\n\t\t// Insert `n` at position `i` of the output.\n\t\toutput.splice(i++, 0, n);\n\n\t}\n\n\treturn String.fromCodePoint(...output);\n};\n\n/**\n * Converts a string of Unicode symbols (e.g. a domain name label) to a\n * Punycode string of ASCII-only symbols.\n * @memberOf punycode\n * @param {String} input The string of Unicode symbols.\n * @returns {String} The resulting Punycode string of ASCII-only symbols.\n */\nconst encode = function(input) {\n\tconst output = [];\n\n\t// Convert the input in UCS-2 to an array of Unicode code points.\n\tinput = ucs2decode(input);\n\n\t// Cache the length.\n\tconst inputLength = input.length;\n\n\t// Initialize the state.\n\tlet n = initialN;\n\tlet delta = 0;\n\tlet bias = initialBias;\n\n\t// Handle the basic code points.\n\tfor (const currentValue of input) {\n\t\tif (currentValue < 0x80) {\n\t\t\toutput.push(stringFromCharCode(currentValue));\n\t\t}\n\t}\n\n\tconst basicLength = output.length;\n\tlet handledCPCount = basicLength;\n\n\t// `handledCPCount` is the number of code points that have been handled;\n\t// `basicLength` is the number of basic code points.\n\n\t// Finish the basic string with a delimiter unless it's empty.\n\tif (basicLength) {\n\t\toutput.push(delimiter);\n\t}\n\n\t// Main encoding loop:\n\twhile (handledCPCount < inputLength) {\n\n\t\t// All non-basic code points < n have been handled already. Find the next\n\t\t// larger one:\n\t\tlet m = maxInt;\n\t\tfor (const currentValue of input) {\n\t\t\tif (currentValue >= n && currentValue < m) {\n\t\t\t\tm = currentValue;\n\t\t\t}\n\t\t}\n\n\t\t// Increase `delta` enough to advance the decoder's <n,i> state to <m,0>,\n\t\t// but guard against overflow.\n\t\tconst handledCPCountPlusOne = handledCPCount + 1;\n\t\tif (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {\n\t\t\terror('overflow');\n\t\t}\n\n\t\tdelta += (m - n) * handledCPCountPlusOne;\n\t\tn = m;\n\n\t\tfor (const currentValue of input) {\n\t\t\tif (currentValue < n && ++delta > maxInt) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\t\t\tif (currentValue === n) {\n\t\t\t\t// Represent delta as a generalized variable-length integer.\n\t\t\t\tlet q = delta;\n\t\t\t\tfor (let k = base; /* no condition */; k += base) {\n\t\t\t\t\tconst t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\t\t\t\t\tif (q < t) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tconst qMinusT = q - t;\n\t\t\t\t\tconst baseMinusT = base - t;\n\t\t\t\t\toutput.push(\n\t\t\t\t\t\tstringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0))\n\t\t\t\t\t);\n\t\t\t\t\tq = floor(qMinusT / baseMinusT);\n\t\t\t\t}\n\n\t\t\t\toutput.push(stringFromCharCode(digitToBasic(q, 0)));\n\t\t\t\tbias = adapt(delta, handledCPCountPlusOne, handledCPCount === basicLength);\n\t\t\t\tdelta = 0;\n\t\t\t\t++handledCPCount;\n\t\t\t}\n\t\t}\n\n\t\t++delta;\n\t\t++n;\n\n\t}\n\treturn output.join('');\n};\n\n/**\n * Converts a Punycode string representing a domain name or an email address\n * to Unicode. Only the Punycoded parts of the input will be converted, i.e.\n * it doesn't matter if you call it on a string that has already been\n * converted to Unicode.\n * @memberOf punycode\n * @param {String} input The Punycoded domain name or email address to\n * convert to Unicode.\n * @returns {String} The Unicode representation of the given Punycode\n * string.\n */\nconst toUnicode = function(input) {\n\treturn mapDomain(input, function(string) {\n\t\treturn regexPunycode.test(string)\n\t\t\t? decode(string.slice(4).toLowerCase())\n\t\t\t: string;\n\t});\n};\n\n/**\n * Converts a Unicode string representing a domain name or an email address to\n * Punycode. Only the non-ASCII parts of the domain name will be converted,\n * i.e. it doesn't matter if you call it with a domain that's already in\n * ASCII.\n * @memberOf punycode\n * @param {String} input The domain name or email address to convert, as a\n * Unicode string.\n * @returns {String} The Punycode representation of the given domain name or\n * email address.\n */\nconst toASCII = function(input) {\n\treturn mapDomain(input, function(string) {\n\t\treturn regexNonASCII.test(string)\n\t\t\t? 'xn--' + encode(string)\n\t\t\t: string;\n\t});\n};\n\n/*--------------------------------------------------------------------------*/\n\n/** Define the public API */\nconst punycode = {\n\t/**\n\t * A string representing the current Punycode.js version number.\n\t * @memberOf punycode\n\t * @type String\n\t */\n\t'version': '2.3.1',\n\t/**\n\t * An object of methods to convert from JavaScript's internal character\n\t * representation (UCS-2) to Unicode code points, and back.\n\t * @see <https://mathiasbynens.be/notes/javascript-encoding>\n\t * @memberOf punycode\n\t * @type Object\n\t */\n\t'ucs2': {\n\t\t'decode': ucs2decode,\n\t\t'encode': ucs2encode\n\t},\n\t'decode': decode,\n\t'encode': encode,\n\t'toASCII': toASCII,\n\t'toUnicode': toUnicode\n};\n\nexport { ucs2decode, ucs2encode, decode, encode, toASCII, toUnicode };\nexport default punycode;\n"],"names":["delimiter","regexPunycode","regexNonASCII","regexSeparators","errors","baseMinusTMin","floor","stringFromCharCode","error","type","map","array","callback","result","length","mapDomain","domain","parts","labels","encoded","ucs2decode","string","output","counter","value","extra","ucs2encode","codePoints","basicToDigit","codePoint","digitToBasic","digit","flag","adapt","delta","numPoints","firstTime","k","decode","input","inputLength","i","n","bias","basic","j","index","oldi","w","t","baseMinusT","out","encode","currentValue","basicLength","handledCPCount","m","handledCPCountPlusOne","q","qMinusT","toUnicode","toASCII","punycode"],"mappings":"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","x_google_ignoreList":[0]}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { inject as n, reactive as i, watch as u, provide as a } from "vue";
|
|
2
|
-
const d = (o, e = {}) => {
|
|
3
|
-
const r = {
|
|
4
|
-
store: o,
|
|
5
|
-
options: e
|
|
6
|
-
};
|
|
7
|
-
n("TopStoreOnInits", []).forEach((t) => {
|
|
8
|
-
t.call(r);
|
|
9
|
-
});
|
|
10
|
-
}, p = (o, e, r, s) => {
|
|
11
|
-
const t = i(e());
|
|
12
|
-
return t.$id = r, t.$subscribe = (c) => {
|
|
13
|
-
u(t, () => c(), { deep: !0 });
|
|
14
|
-
}, d(t, s), a(o, t), t;
|
|
15
|
-
}, f = (o) => {
|
|
16
|
-
const e = n(o);
|
|
17
|
-
if (!e)
|
|
18
|
-
throw Error("Попытка использовать Store до его инициализации, убедитесь, что defineStore() вызван в setup() необходимого компонента");
|
|
19
|
-
return e;
|
|
20
|
-
}, h = {
|
|
21
|
-
defineStore: p,
|
|
22
|
-
useStore: f
|
|
23
|
-
};
|
|
24
|
-
export {
|
|
25
|
-
p as d,
|
|
26
|
-
h as s,
|
|
27
|
-
f as u
|
|
28
|
-
};
|
|
29
|
-
//# sourceMappingURL=store-CX_6ZXhO.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"store-CX_6ZXhO.es.js","sources":["../../src/core/utils/store/plugin.ts","../../src/core/utils/store/store.ts"],"sourcesContent":["import { inject, type ObjectPlugin } from 'vue';\nimport type { Store } from './store';\n\nconst PluginsByApp = new WeakMap();\n\ntype Options = {\n\tonInit: (context: Context) => void;\n}\n\ntype Context = {\n\tstore: Store,\n\toptions: object,\n}\n\n/**\n * Плагин tpa (Third-party access) для pinia\n *\n * Сейчас не используется\n *\n * TODO: Должен реализовывать возмоэности piniaTPAPlugin\n */\nexport default {\n\tinstall: (app, options) => {\n\t\tif (!PluginsByApp.has(app)) {\n\t\t\tPluginsByApp.set(app, []);\n\t\t}\n\n\t\tconst onInits = PluginsByApp.get(app);\n\n\t\tonInits.push(options.onInit);\n\n\t\tapp.provide('TopStoreOnInits', onInits);\n\t},\n} satisfies ObjectPlugin<Options>;\n\n/**\n * Применить плагины к store\n */\nexport const usePlugins = (store: Store, options: object = {}) => {\n\tconst context: Context = {\n\t\tstore,\n\t\toptions,\n\t};\n\n\tconst onInits: Array<Function> = inject('TopStoreOnInits', []);\n\n\tonInits.forEach((onInit) => {\n\t\tonInit.call(context);\n\t});\n};\n","/**\n * Храналище выполненное по аналогии с https://pinia.vuejs.org/\n *\n * Основное отличие от Pinia - реализация Храналища на уровне компонента, а не приложения.\n * Каждый экземдяр компонента будет иметь свой Store.\n *\n * Основное отличие от классического State - является общим для компонента и всех его дочерних компонентов. Основано на принципе provide/inject.\n * https://vuejs.org/guide/components/provide-inject.html\n *\n * @packageDocumentation\n */\n\nimport type { InjectionKey, UnwrapNestedRefs } from 'vue';\nimport { inject, provide, reactive, watch } from 'vue';\nimport { usePlugins } from './plugin';\n\n/**\n * Определить Store\n *\n * Следует определять на уровне корневого компонента, использующего Store\n * @param injectionKey - InjectionKey для provide / inject в области компонента\n * @param setup - Нстройки Store, см. https://pinia.vuejs.org/core-concepts/#Setup-Stores\n * @param $id - строковой id Store, используется в плагинах\n * @param options - настройки Store, используются в плагинах\n */\nexport const defineStore = <T extends object>(\n\tinjectionKey: InjectionKey<UnwrapNestedRefs<T>>,\n\tsetup: () => T | object,\n\t$id?: string,\n\toptions?: object,\n): UnwrapNestedRefs<T> & Store => {\n\tconst store = reactive(setup()) as UnwrapNestedRefs<T> & Store;\n\n\tstore.$id = $id;\n\tstore.$subscribe = (cb: Function) => {\n\t\twatch(store, () => cb(), { deep: true });\n\t};\n\n\tusePlugins(store, options);\n\n\tprovide(injectionKey, store);\n\n\treturn store;\n};\n\n/**\n * Получить State компонента\n * @param injectionKey - InjectionKey для provide / inject в области компонента\n * @return - State компонента\n */\nexport const useStore = <T>(injectionKey: InjectionKey<T>): T & Store => {\n\tconst store = inject(injectionKey);\n\n\tif (!store) {\n\t\tthrow Error('Попытка использовать Store до его инициализации, убедитесь, что defineStore() вызван в setup() необходимого компонента');\n\t}\n\n\treturn store;\n};\n\n/**\n * Легковесный аналог объекта Store Pinia для совместимости с плагинами Pinia\n */\nexport interface Store {\n\t/**\n\t * Строковой идентификатор Store\n\t *\n\t * Не уникален в рамках приложения\n\t */\n\t$id?: string;\n\t$subscribe?: Function;\n}\n\nexport default {\n\tdefineStore,\n\tuseStore,\n};\n"],"names":["usePlugins","store","options","context","inject","onInit","defineStore","injectionKey","setup","$id","reactive","cb","watch","provide","useStore"],"mappings":";AAsCO,MAAMA,IAAa,CAACC,GAAcC,IAAkB,OAAO;AACjE,QAAMC,IAAmB;AAAA,IACxB,OAAAF;AAAA,IACA,SAAAC;AAAA,EACD;AAIQ,EAFyBE,EAAO,mBAAmB,EAAE,EAErD,QAAQ,CAACC,MAAW;AAC3B,IAAAA,EAAO,KAAKF,CAAO;AAAA,EAAA,CACnB;AACF,GCxBaG,IAAc,CAC1BC,GACAC,GACAC,GACAP,MACiC;AAC3B,QAAAD,IAAQS,EAASF,GAAO;AAE9B,SAAAP,EAAM,MAAMQ,GACNR,EAAA,aAAa,CAACU,MAAiB;AACpC,IAAAC,EAAMX,GAAO,MAAMU,KAAM,EAAE,MAAM,IAAM;AAAA,EACxC,GAEAX,EAAWC,GAAOC,CAAO,GAEzBW,EAAQN,GAAcN,CAAK,GAEpBA;AACR,GAOaa,IAAW,CAAIP,MAA6C;AAClE,QAAAN,IAAQG,EAAOG,CAAY;AAEjC,MAAI,CAACN;AACJ,UAAM,MAAM,wHAAwH;AAG9H,SAAAA;AACR,GAeeA,IAAA;AAAA,EACd,aAAAK;AAAA,EACA,UAAAQ;AACD;"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(["require","exports","vue"],function(v,r,t){"use strict";if(typeof t>"u")var t=window.Vue;const d=(o,n={})=>{const s={store:o,options:n};t.inject("TopStoreOnInits",[]).forEach(e=>{e.call(s)})},i=(o,n,s,u)=>{const e=t.reactive(n());return e.$id=s,e.$subscribe=S=>{t.watch(e,()=>S(),{deep:!0})},d(e,u),t.provide(o,e),e},c=o=>{const n=t.inject(o);if(!n)throw Error("Попытка использовать Store до его инициализации, убедитесь, что defineStore() вызван в setup() необходимого компонента");return n},f={defineStore:i,useStore:c};r.defineStore=i,r.store=f,r.useStore=c});
|
|
2
|
-
//# sourceMappingURL=store-esTid5oI.amd.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"store-esTid5oI.amd.js","sources":["../../src/core/utils/store/plugin.ts","../../src/core/utils/store/store.ts"],"sourcesContent":["import { inject, type ObjectPlugin } from 'vue';\nimport type { Store } from './store';\n\nconst PluginsByApp = new WeakMap();\n\ntype Options = {\n\tonInit: (context: Context) => void;\n}\n\ntype Context = {\n\tstore: Store,\n\toptions: object,\n}\n\n/**\n * Плагин tpa (Third-party access) для pinia\n *\n * Сейчас не используется\n *\n * TODO: Должен реализовывать возмоэности piniaTPAPlugin\n */\nexport default {\n\tinstall: (app, options) => {\n\t\tif (!PluginsByApp.has(app)) {\n\t\t\tPluginsByApp.set(app, []);\n\t\t}\n\n\t\tconst onInits = PluginsByApp.get(app);\n\n\t\tonInits.push(options.onInit);\n\n\t\tapp.provide('TopStoreOnInits', onInits);\n\t},\n} satisfies ObjectPlugin<Options>;\n\n/**\n * Применить плагины к store\n */\nexport const usePlugins = (store: Store, options: object = {}) => {\n\tconst context: Context = {\n\t\tstore,\n\t\toptions,\n\t};\n\n\tconst onInits: Array<Function> = inject('TopStoreOnInits', []);\n\n\tonInits.forEach((onInit) => {\n\t\tonInit.call(context);\n\t});\n};\n","/**\n * Храналище выполненное по аналогии с https://pinia.vuejs.org/\n *\n * Основное отличие от Pinia - реализация Храналища на уровне компонента, а не приложения.\n * Каждый экземдяр компонента будет иметь свой Store.\n *\n * Основное отличие от классического State - является общим для компонента и всех его дочерних компонентов. Основано на принципе provide/inject.\n * https://vuejs.org/guide/components/provide-inject.html\n *\n * @packageDocumentation\n */\n\nimport type { InjectionKey, UnwrapNestedRefs } from 'vue';\nimport { inject, provide, reactive, watch } from 'vue';\nimport { usePlugins } from './plugin';\n\n/**\n * Определить Store\n *\n * Следует определять на уровне корневого компонента, использующего Store\n * @param injectionKey - InjectionKey для provide / inject в области компонента\n * @param setup - Нстройки Store, см. https://pinia.vuejs.org/core-concepts/#Setup-Stores\n * @param $id - строковой id Store, используется в плагинах\n * @param options - настройки Store, используются в плагинах\n */\nexport const defineStore = <T extends object>(\n\tinjectionKey: InjectionKey<UnwrapNestedRefs<T>>,\n\tsetup: () => T | object,\n\t$id?: string,\n\toptions?: object,\n): UnwrapNestedRefs<T> & Store => {\n\tconst store = reactive(setup()) as UnwrapNestedRefs<T> & Store;\n\n\tstore.$id = $id;\n\tstore.$subscribe = (cb: Function) => {\n\t\twatch(store, () => cb(), { deep: true });\n\t};\n\n\tusePlugins(store, options);\n\n\tprovide(injectionKey, store);\n\n\treturn store;\n};\n\n/**\n * Получить State компонента\n * @param injectionKey - InjectionKey для provide / inject в области компонента\n * @return - State компонента\n */\nexport const useStore = <T>(injectionKey: InjectionKey<T>): T & Store => {\n\tconst store = inject(injectionKey);\n\n\tif (!store) {\n\t\tthrow Error('Попытка использовать Store до его инициализации, убедитесь, что defineStore() вызван в setup() необходимого компонента');\n\t}\n\n\treturn store;\n};\n\n/**\n * Легковесный аналог объекта Store Pinia для совместимости с плагинами Pinia\n */\nexport interface Store {\n\t/**\n\t * Строковой идентификатор Store\n\t *\n\t * Не уникален в рамках приложения\n\t */\n\t$id?: string;\n\t$subscribe?: Function;\n}\n\nexport default {\n\tdefineStore,\n\tuseStore,\n};\n"],"names":["store","onInit","context","defineStore","injectionKey","setup","$id","options","vue","cb","usePlugins","useStore"],"mappings":"6HAuC0B,MAAAA,4CAOzB,QAAAC,GAAA,CACCA,EAAA,KAAAC,CAAA,CAAmB,CAAA,GCtBdC,EAAA,CAAAC,EAAAC,EAAAC,EAAAC,IAAA,CAMN,MAAAP,EAAAQ,EAAA,SAAAH,EAAA,CAAA,EAEA,OAAAL,EAAA,IAAAM,EACAN,EAAA,WAAAS,GAAA,CACCD,EAAA,MAAAR,EAAA,IAAAS,EAAA,EAAA,CAAA,KAAA,EAAA,CAAA,GAGDC,EAAAV,EAAAO,CAAA,EAEAC,EAAA,QAAAJ,EAAAJ,CAAA,EAEAA,CACD,EAOaW,EAAAP,GAAA,CACZ,MAAAJ,EAAAQ,EAAA,OAAAJ,CAAA,QAGC,MAAA,MAAA,wHAAA,EAGD,OAAAJ,CACD,EAeAA,EAAA,CAAe,YAAAG"}
|
|
@@ -1,304 +0,0 @@
|
|
|
1
|
-
import { nextTick as W } from "vue";
|
|
2
|
-
import { C as f } from "./forms-DOGPN_TR.es.js";
|
|
3
|
-
import { TopPopupWorker as I } from "../popup/worker.js";
|
|
4
|
-
import { sleep as O, waitWhile as H } from "../utils/system.js";
|
|
5
|
-
import { historySetState as F, setHashs as K } from "../utils/route.js";
|
|
6
|
-
import { connectScrollShadow as R } from "../utils/scroll.js";
|
|
7
|
-
import { T as u, g as A } from "./dialogs.vue_vue_type_script_setup_true_lang-Bck_g47j.es.js";
|
|
8
|
-
import { querySelectorVisible as E, querySelectorAllArray as c, isVisible as h } from "../utils/dom.js";
|
|
9
|
-
$;
|
|
10
|
-
let z = !1;
|
|
11
|
-
const U = () => {
|
|
12
|
-
z || (z = !0, document.addEventListener("keydown", (e) => {
|
|
13
|
-
if (e.key !== "Escape" || !e.target) return;
|
|
14
|
-
const t = e.target;
|
|
15
|
-
if (!t.closest(".ui-dialog") || t.contentEditable === "true" || t.contentEditable === "plaintext-only" || E(document.documentElement, ".top-popup-wrapper") || t.classList.contains("autocomplete") || E(document.documentElement, ".fancybox-container")) return;
|
|
16
|
-
const i = c(document, ".ui-dialog-content").filter((o) => h(o));
|
|
17
|
-
$(i[i.length - 1]).dialog("close");
|
|
18
|
-
}), document.addEventListener("click", (e) => {
|
|
19
|
-
const t = e.target.closest('[data-action="top-dialog-close"]');
|
|
20
|
-
if (!t) return;
|
|
21
|
-
e.preventDefault();
|
|
22
|
-
const i = t.closest(".ui-dialog-content");
|
|
23
|
-
if (!i) return;
|
|
24
|
-
const o = t.dataset.toView;
|
|
25
|
-
if (o == "toPrevPage()") {
|
|
26
|
-
b.toPrevPage(i);
|
|
27
|
-
return;
|
|
28
|
-
}
|
|
29
|
-
if (o) {
|
|
30
|
-
const r = o.split("-"), n = r.shift(), l = r.join("-");
|
|
31
|
-
if (!n) return;
|
|
32
|
-
const s = b.getElDialogById(n);
|
|
33
|
-
if (!s) return;
|
|
34
|
-
const m = c(s, `[data-view-page="${l}"]`);
|
|
35
|
-
if (!m) return;
|
|
36
|
-
if (!h(m[0])) {
|
|
37
|
-
const w = u.genViewPageHash(o, "prev");
|
|
38
|
-
F(!1, w);
|
|
39
|
-
return;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
$(i).dialog("close");
|
|
43
|
-
}), document.addEventListener("submit", (e) => {
|
|
44
|
-
const t = e.target;
|
|
45
|
-
(t.matches(".modal-body > form") || t.matches(".modal-layer-body > form")) && e.preventDefault();
|
|
46
|
-
}), document.addEventListener("keypress", (e) => {
|
|
47
|
-
const t = e.target;
|
|
48
|
-
if (!(!t.closest(".ui-dialog .modal-body") || !(t.matches("input:not(.searcher), textarea:not(.searcher), select:not(.searcher), button:not(.searcher)") || t.hasAttribute("contenteditable"))) && e.key === "Enter") {
|
|
49
|
-
if (t.classList.contains("autocomplete")) {
|
|
50
|
-
e.preventDefault();
|
|
51
|
-
return;
|
|
52
|
-
}
|
|
53
|
-
if (t.tagName === "TEXTAREA") {
|
|
54
|
-
if (!e.ctrlKey && !e.metaKey) return;
|
|
55
|
-
const a = t.closest("form");
|
|
56
|
-
if (a) {
|
|
57
|
-
const r = c(a, 'button[type="submit"]').concat(c(a, 'input[type="submit"]')).find((n) => h(n));
|
|
58
|
-
r == null || r.click();
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}), document.addEventListener("click", function(e) {
|
|
63
|
-
if (!e.target.classList.contains("ui-widget-overlay")) return;
|
|
64
|
-
let i, o = 0;
|
|
65
|
-
if (c(document, ".ui-dialog").filter((r) => h(r)).forEach((r) => {
|
|
66
|
-
const n = Number(window.getComputedStyle(r).zIndex);
|
|
67
|
-
n < o || (i = r, o = n);
|
|
68
|
-
}), i) {
|
|
69
|
-
const r = i.querySelector(".ui-dialog-content");
|
|
70
|
-
$(r).dialog("close");
|
|
71
|
-
}
|
|
72
|
-
}), window.addEventListener("resize", b.recalcPositions), b.recalcPositions());
|
|
73
|
-
}, J = ':root{--dialog-border-color: var(--color-line-1);--dialog-loading-duration: 10s;--top-dialog-footer-height: var(--top-forms-base-height_s)}html.with_dialog{overflow:hidden!important}a[data-to-view]{cursor:pointer}.ui-widget-overlay{background:#040404;opacity:.5;filter:Alpha(Opacity=50)}.ui-dialog{border-radius:8px;border:none;padding:0}.ui-dialog.ui-widget{border:none}.ui-dialog-titlebar{display:none}.ui-dialog .ui-dialog-content{padding:0;overflow:visible}.ui-dialog .project_name{word-break:break-all}.ui-dialog-content{--dialog-header-height: 50px;--dialog-layer-pageSelector: 0px}.ui-dialog-content-withPageSelector{--dialog-layer-pageSelector: 42px}.modal-header,.modal-body,.modal-footer{font-size:14px;position:relative}.modal-body{padding:var(--padding-default)}.modal-body:has(>.topTable:first-child){padding-top:calc(var(--padding-default) / 4)}.modal-header{border-bottom:1px solid var(--dialog-border-color);height:var(--dialog-header-height);padding:0 var(--padding-default);display:flex;justify-content:space-between;align-items:center;gap:var(--top-padding-2)}.modal-header>*{padding:10px 0;font-size:16px}.modal-header>.top-title{margin:0;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-grow:1;order:50;display:flex;align-items:center}.modal-header>.top-title>div[class*=icon]{display:none}.modal-header>div:not(.top-title){order:60}.modal-header>div.close{--top-icon-color: var(--color-text-2);cursor:pointer;background:var(--color-layout-front-1);font-size:16px;order:100;animation-name:none!important}.modal-header>div.close:hover{--top-icon-color: var(--color-text-1)}.modal-header .links_icons{position:absolute;right:50px}.modal-header .links_icons [class*=icon-]{width:auto;height:auto;padding:0 5px;color:#d6dee0}.modal-header .links_icons [class*=icon-].active{color:var(--color-bg-warning-1)}.modal-layer-pageSelector{padding:0 10px!important}.modal-body{max-height:calc(var(--100vh) - var(--dialog-header-height) - 1px - var(--dialog-layer-pageSelector) - var(--top-dialog-footer-height) - 1px);overflow-y:auto;overflow-x:hidden;box-sizing:border-box;flex-grow:1}.modal-body hr{margin:16px -15px}.modal-body h4{padding:0;margin:0 0 10px;line-height:normal}.modal-body .inner{padding:var(--padding-default);margin:0 calc(0px - var(--padding-default));position:relative}.modal-body .inner .bt{border-top:1px dashed var(--color-layout-front-primary-3);position:absolute;top:0;right:0;left:0}.modal-body .inner .bb{border-bottom:1px dashed var(--color-layout-front-primary-3);position:absolute;right:0;bottom:0;left:0}.modal-body .inner.color-1{background:var(--color-layout-front-primary-3);color:var(--color-text-1)}.modal-body .inner strong{color:var(--color-text-1)}.modal-body .comment{line-height:18px}.modal-footer{min-height:var(--top-dialog-footer-height);padding:var(--top-gap-2);display:flex;flex-shrink:0;align-items:center;justify-content:flex-end;gap:var(--top-gap-2)}.modal-footer .modal-footer-btn-left{margin-right:auto}.modal-footer>.btn.full_width,.modal-footer>.top-button.full_width{flex-grow:1;align-self:flex-end}.modal-footer-fullWith{flex-wrap:wrap}.modal-footer-fullWith>*{flex-grow:1}.modal-footer-fullWith>.top-info{flex-grow:5}.modal-footer-fullWith>*:empty{flex-grow:0}.ui-dialog-content>.modal-layer>[data-view-page]>input[type=submit]{position:absolute;visibility:hidden}.help_popup .modal-header{display:none}.help_popup .modal-header a{top:2px;z-index:10}.help_popup .modal-header .top-title{display:none}.modal-layer{overflow:hidden}.modal-layer a[data-top-icon]:empty{color:var(--color-text-4);text-decoration:none}.modal-layer>[data-view-page]>div>div.buttons{display:flex;white-space:nowrap;gap:var(--top-padding-1)}.modal-layer>[data-view-page]>div>div.buttons:empty{display:none}.modal-layer>[data-view-page]>div>div.buttons>div,.modal-layer>[data-view-page]>div>div.buttons>a{cursor:pointer;width:auto;height:auto;min-width:auto;min-height:auto;padding:10px 9px;color:var(--color-text-4)}.modal-layer>[data-view-page]>div>div.buttons>div:hover{color:var(--color-text-2)}.modal-layer>[data-view-page]>div>div.buttons>div.hidden{display:none!important}.ui-dialog-content[data-view-page-active]{display:flex!important;flex-direction:column;justify-items:stretch}.ui-dialog-content>.modal-layer{display:flex!important;align-items:stretch;position:relative}.ui-dialog-content.i-change-page>.modal-layer{overflow:hidden}.ui-dialog-content>.modal-layer>[data-view-page]{width:100%;position:relative;display:none;flex-direction:column;justify-content:space-between;animation:.3s cubic-bezier(.4,0,.2,1) forwards}.ui-dialog-content>.modal-layer>[data-view-page].active{display:flex}.ui-dialog-content>.modal-layer>[data-view-page].reverse{animation-direction:reverse}.ui-dialog-content>.modal-layer>[data-view-page].center-to-left,.ui-dialog-content>.modal-layer>[data-view-page].right-to-center{display:flex;position:absolute;inset:0}.ui-dialog-content>.modal-layer>[data-view-page].center-to-left>div,.ui-dialog-content>.modal-layer>[data-view-page].right-to-center>div{overflow:hidden}.ui-dialog-content>.modal-layer-header{border-bottom:1px solid var(--dialog-border-color);min-height:var(--dialog-header-height)}.ui-dialog-content>.modal-layer-header>[data-view-page]>.modal-header{border:none;background:none}.ui-dialog-content>.modal-layer-header>[data-view-page]>.modal-header>*{animation:.3s cubic-bezier(.4,0,.2,1) forwards}.ui-dialog-content>.modal-layer-header>[data-view-page].reverse>.modal-header>*{animation-direction:reverse}.ui-dialog-content>.modal-layer-header>[data-view-page].center-to-left>.modal-header>.top-title{animation-name:dialog-center-to-left-header-title}.ui-dialog-content>.modal-layer-header>[data-view-page].right-to-center>.modal-header>.top-title{animation-name:dialog-right-to-center-header-title}.ui-dialog-content>.modal-layer-header>[data-view-page].center-to-left>.modal-header>[class*=widget-]{animation-name:dialog-center-to-left-header-title}.ui-dialog-content>.modal-layer-header>[data-view-page].right-to-center>.modal-header>[class*=widget-]{animation-name:dialog-right-to-center-header-title}.ui-dialog-content>.modal-layer-header>[data-view-page].center-to-left>.modal-header>div{animation-name:dialog-center-to-left-header-icons}.ui-dialog-content>.modal-layer-header>[data-view-page].right-to-center>.modal-header>div{animation-name:dialog-right-to-center-header-icons}.ui-dialog-content>.modal-layer-body{border-radius:0 0 8px 8px;max-height:calc(var(--100vh) - var(--dialog-header-height) - var(--dialog-layer-pageSelector) - var(--toolbar-height));flex-grow:2}.ui-dialog-content.i-change-page>.modal-layer-body>[data-view-page]{background:var(--color-layout-front-1)}.ui-dialog-content>.modal-layer-body>[data-view-page].center-to-left{animation-name:dialog-center-to-left}.ui-dialog-content>.modal-layer-body>[data-view-page].right-to-center{animation-name:dialog-right-to-center}.ui-dialog-content .modal-footer .second_level{box-sizing:border-box;background:var(--color-layout-front-1);width:100%;min-height:25px;display:flex;align-items:center;justify-content:center}.ui-dialog-content .modal-footer .second_level input{border-radius:8px;width:100%;height:var(--top-forms-base-height);padding:var(--top-padding-1) var(--top-padding-3);box-sizing:border-box}.ui-dialog-content>.modal-layer-body>[data-view-page].i-load-data{pointer-events:none}.ui-dialog-content>.modal-layer-body>[data-view-page].i-load-data:before{content:" ";background:#378dc6;width:0;height:4px;position:absolute;top:0;left:0;z-index:100;animation:top-loadbar var(--dialog-loading-duration) forwards}.ui-dialog-content.modal-expanded{width:100vw!important;height:calc(var(--100vh) + 10px)!important}.modal-header>[data-widget]{padding:0 8px;position:absolute;inset:0;opacity:0;overflow:hidden;align-items:center;visibility:hidden;transition:opacity .3s;z-index:1}.modal-header>[data-widget=search] div.cancel{opacity:0;transform:translate(100%);transition:transform,opacity;transition-duration:.3s}[data-view-page].i-show-search .modal-header>:not([data-widget=search]){visibility:hidden}[data-view-page].i-show-search [data-widget=search]{visibility:visible;opacity:1}[data-view-page].i-show-search [data-widget=search] .cancel{transform:translate(0);opacity:1}[data-view-page]>.modal-header>*{transition:opacity .3s}[data-view-page].i-show-search>.modal-header>div.buttons{opacity:0}.modal-layer .top-popup-wrapper{height:100%!important}@keyframes dialog-center-to-left-header-title{0%{transform:translate(0);opacity:1}75%{opacity:0}to{transform:translate(-30%);opacity:0}}@keyframes dialog-right-to-center-header-title{0%{transform:translate(100%);opacity:0}25%{opacity:0}to{transform:translate(0);opacity:1}}@keyframes dialog-center-to-left-header-icons{0%{transform:translate(0);opacity:1}35%{transform:translate(-20%);opacity:0}to{transform:translate(-20%);opacity:0}}@keyframes dialog-right-to-center-header-icons{0%{transform:translate(20%);opacity:0}65%{transform:translate(20%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes dialog-center-to-left{0%{transform:translate(0);filter:brightness(1)}to{transform:translate(-30%);filter:brightness(.9)}}@keyframes dialog-right-to-center{0%{transform:translate(100%);box-shadow:#0000001a 0 0 10px}to{transform:translate(0);box-shadow:#0003 0 0 10px}}@media only screen and (max-width: 1480px){.win_side_panel_opener{display:none}}@media only screen and (min-width: 1480px){.ui-dialog-content.with_side_panel{box-shadow:#0003 0 0 6px}.ui-dialog-content.with_side_panel .modal-layer-body{background:var(--color-layout-front-1)}[data-widget=side_panel]{--side_panel_width: calc((100vw - 900px)/2 - 28px) ;box-sizing:border-box;background:var(--color-layout-front-1);max-width:var(--side_panel_width);padding:18px;position:absolute;top:calc(var(--dialog-header-height) + 1px + var(--dialog-layer-pageSelector));bottom:calc(var(--top-dialog-footer-height) + 1px);z-index:-1;display:block;transition:.2s}.win_side_panel_left{border-radius:8px 0 0 8px;right:100%}.win_side_panel_right{border-radius:0 8px 8px 0;left:100%}.win_side_panel_closed.win_side_panel_left{right:calc(100% - var(--side_panel_width))}.win_side_panel_closed.win_side_panel_right{left:calc(100% - var(--side_panel_width))}[data-widget=side_panel] .template{display:block}[data-widget=side_panel] .template>.header,[data-widget=side_panel] .template>.footer{display:flex}.win_side_panel_opener{cursor:pointer;background:var(--color-cyan);color:#fff;padding:4px;position:absolute;top:20px}.win_side_panel_closed .win_side_panel_opener:not(:hover){opacity:.3}.win_side_panel_left .win_side_panel_opener{border-radius:4px 0 0 4px;right:100%}.win_side_panel_right .win_side_panel_opener{border-radius:0 6px 6px 0;left:100%}}@media only screen and (max-height: 900px){html.with_dialog{background:#f1f1f1;overflow:hidden}.ui-dialog.me-tightly{border-radius:0;height:auto!important;position:fixed;top:0!important;bottom:0!important}.ui-dialog.me-tightly .ui-dialog-content{min-height:100%!important}.ui-dialog.me-tightly>div>.modal-body{position:absolute;top:var(--dialog-header-height);right:0;left:0;bottom:var(--dialog-header-height)}.ui-dialog.me-tightly>div>.modal-body:last-child{bottom:0}.ui-dialog.me-tightly>div>.modal-footer{position:absolute;right:0;bottom:0;left:0}.ui-dialog.me-tightly .modal-layer-body{border-radius:0;min-height:0!important}.ui-dialog.me-tightly .modal-layer-body .modal-footer{min-height:unset}}', Z = 'html.with_dialog body{height:var(--100vh);overflow:hidden}.ui-widget-overlay{height:calc(100% - var(--toolbar-height))}.ui-dialog{border-radius:0;width:auto!important;height:auto!important;position:fixed;inset:0!important}.ui-dialog-content{width:100%!important;height:100%!important;min-width:0!important;max-width:100%!important}.modal-header>.top-title{text-align:center;font-size:14px}.modal-header>div.close{font-size:14px;order:1}.modal-header>div.close:before{content:""}.modal-body:last-child{bottom:0}.modal-footer{bottom:0}.modal-footer .second_level{padding:10px 8px}.modal-layer-body{min-height:0!important}.ui-dialog-content>.modal-layer-body{border-radius:0}.modal-body,.modal-footer{padding-right:12px;padding-left:12px}.modal-footer .btn:last-child{margin-right:12px}.modal-body .inner{padding:12px;margin:0 -12px;position:relative}', G = ".modal-menu-opener{order:1!important}.modal-menu-opener:before{--top-icon-size: 20px;--top-icon-color: #FFF;--top-icon-width: var(--top-icon-size);border-radius:50%;background:var(--color-bg-primary-1);padding:3px;transition:transform .1s}.modal-menu-opener:hover:before{background:var(--color-bg-primary-2)}.modal-menu-opener.top-active:before{background:var(--color-bg-primary-2);transform:scale(.8)}.modal-layer .top-popup-wrapper{background:transparent;width:auto!important;padding:0!important;margin:0!important;top:0!important;right:0!important;left:0!important;transition:background .3s}.modal-layer .top-popup-wrapper>.top-popup[class],.modal-layer .top-popup-wrapper.with_notch>.top-popup[class]{border-radius:8px;border:none;margin:12px!important;max-width:100%;max-height:calc(100% - 24px);inset:0 0 auto!important;overflow:auto;display:flex;flex-direction:column;opacity:1;transform:translateY(calc(-100% - 24px));transition:transform .3s}.modal-layer .top-popup>.top-popup_header{background:var(--color-theme-50)}.modal-layer .top-theme-lite .top-popup>.top-popup_header .select{border:none}.modal-layer .top-theme-lite .top-popup>.top-popup_header .select .text{color:#fff}.modal-layer .top-theme-lite .top-popup>.top-popup_header .select .arrow{background:none}.modal-layer .top-popup-wrapper-shown:not(.top-popup-wrapper-closed){background:#34495e40}@media only screen and (min-width: 1480px){.ui-dialog-content.with_side_panel{box-shadow:#0003 0 0 6px}.ui-dialog-content.with_side_panel .modal-layer-body{background:var(--color-layout-front-1)}[data-widget=side_panel]{--side_panel_width: calc((100vw - 900px)/2 - 28px) ;box-sizing:border-box;background:var(--color-layout-front-1);max-width:var(--side_panel_width);padding:18px;display:block;position:absolute;top:51px;bottom:51px;z-index:-1;transition:.2s}.win_side_panel_left{border-radius:8px 0 0 8px;right:100%}.win_side_panel_right{border-radius:0 8px 8px 0;left:100%}.win_side_panel_closed.win_side_panel_left{right:calc(100% - var(--side_panel_width))}.win_side_panel_closed.win_side_panel_right{left:calc(100% - var(--side_panel_width))}[data-widget=side_panel] .template{display:block}[data-widget=side_panel] .template>.header,[data-widget=side_panel] .template>.footer{display:flex}.win_side_panel_opener{cursor:pointer;background:var(--color-cyan);color:#fff;padding:4px;position:absolute;top:20px}.win_side_panel_closed .win_side_panel_opener:not(:hover){opacity:.3}.win_side_panel_left .win_side_panel_opener{border-radius:4px 0 0 4px;right:100%}.win_side_panel_right .win_side_panel_opener{border-radius:0 6px 6px 0;left:100%}}", Q = "html{--top-dialog-width: auto;--top-dialog-height: auto}.top-dialog{max-width:100vw}.top-dialog .modal-layer-body{height:var(--top-dialog-height)}", X = ".top-dialog{width:var(--top-dialog-width)!important}";
|
|
74
|
-
f.insertStyleToPage(J);
|
|
75
|
-
f.insertStyleToPage(Z, "m");
|
|
76
|
-
f.insertStyleToPage(G, "pc");
|
|
77
|
-
f.insertStyleToPage(Q);
|
|
78
|
-
f.insertStyleToPage(X, "pc");
|
|
79
|
-
let C, P = !1;
|
|
80
|
-
const y = (e) => !!e && typeof e == "object" && "jquery" in e, Y = () => {
|
|
81
|
-
$.extend($.ui.dialog.prototype.options, {
|
|
82
|
-
focus: (e) => {
|
|
83
|
-
var t;
|
|
84
|
-
e.target.focus(), (t = $("[autofocus]", e.target)[0]) == null || t.focus();
|
|
85
|
-
},
|
|
86
|
-
create: (e) => N(e.target),
|
|
87
|
-
open: (e) => ee(e.target),
|
|
88
|
-
close: (e) => te(e.target),
|
|
89
|
-
modal: !0,
|
|
90
|
-
resizable: !1,
|
|
91
|
-
closeOnEscape: !1,
|
|
92
|
-
width: "auto",
|
|
93
|
-
minHeight: 0
|
|
94
|
-
}), $.ui.dialog.prototype._focusTabbable = $.noop, $.ui.dialog.prototype._moveToTopOriginal = $.ui.dialog.prototype._moveToTop, $.ui.dialog.prototype._moveToTop = function() {
|
|
95
|
-
this._moveToTopOriginal();
|
|
96
|
-
const e = $(this.element);
|
|
97
|
-
e.trigger("dialogsMoveToTop", [e]);
|
|
98
|
-
}, U(), P = !0;
|
|
99
|
-
}, j = (e) => {
|
|
100
|
-
var i, o;
|
|
101
|
-
const t = {};
|
|
102
|
-
return ((i = e.dataset) == null ? void 0 : i.modal) === "false" && (t.modal = !1), (o = e.dataset) != null && o.position && (t.position = JSON.parse(e.dataset.position)), t;
|
|
103
|
-
}, _ = (e) => document.getElementById(e), x = async (e, t, i) => {
|
|
104
|
-
if (!e.startsWith("dialog_")) return;
|
|
105
|
-
const o = A(e);
|
|
106
|
-
if (o && (o.isOpened.value = !0, t !== void 0 && (o.pageActive.value = t), i !== void 0 && (o.pageActiveNext.value = i), await W(), i)) {
|
|
107
|
-
const a = _(e);
|
|
108
|
-
if (!a) return;
|
|
109
|
-
a.querySelectorAll(`[data-view-page="${i}"]`).length || await H(() => !a.querySelectorAll(`[data-view-page="${i}"]`).length);
|
|
110
|
-
}
|
|
111
|
-
}, N = (e) => {
|
|
112
|
-
var i, o;
|
|
113
|
-
const t = e.querySelector(".modal-body");
|
|
114
|
-
t && (R(t), (o = (i = u.state).decoratorOnCreate) == null || o.call(i, e), D(e));
|
|
115
|
-
}, D = (e) => {
|
|
116
|
-
$(e).on("aftershow.top-menu-popup", "[data-top-popup]", (t, i) => {
|
|
117
|
-
var r;
|
|
118
|
-
const o = i[0], a = u.getPairPage(o);
|
|
119
|
-
(r = a == null ? void 0 : a[1]) == null || r.prepend(o);
|
|
120
|
-
});
|
|
121
|
-
}, ee = async (e) => {
|
|
122
|
-
var n;
|
|
123
|
-
const t = e.dataset.viewPageActive, i = window.innerWidth;
|
|
124
|
-
f.state.documentClassModificators.set("top-dialog", "with_dialog");
|
|
125
|
-
const a = window.innerWidth - i;
|
|
126
|
-
document.documentElement.scrollHeight > window.innerHeight && (document.querySelector("html").style.marginRight = a + "px"), M();
|
|
127
|
-
const r = A(e.getAttribute("id"));
|
|
128
|
-
(n = r == null ? void 0 : r.emit) == null || n.call(r, "open", t);
|
|
129
|
-
}, te = async (e) => {
|
|
130
|
-
var r;
|
|
131
|
-
const t = e.getAttribute("id"), i = e.dataset.viewPageActive;
|
|
132
|
-
if (i) {
|
|
133
|
-
const n = {
|
|
134
|
-
vpn: u.state.viewPageN,
|
|
135
|
-
["view-" + t]: null
|
|
136
|
-
};
|
|
137
|
-
n["view-" + t] = null, (u.state.viewPageN === 0 || u.state.viewPageN === 1) && (n.vpn = null), K(n, !1);
|
|
138
|
-
}
|
|
139
|
-
c(document, ".ui-widget-overlay").filter((n) => h(n)).length || (f.state.documentClassModificators.delete("top-dialog"), document.querySelector("html").style.marginRight = ""), $(e).trigger("viewAfterClose", [$(e)]);
|
|
140
|
-
const a = A(t);
|
|
141
|
-
a && (a.isOpened.value = !1, (r = a.emit) == null || r.call(a, "close", i), a.onCloseOnce && (a.onCloseOnce(a.props, i), a.onCloseOnce = void 0)), window.dispatchEvent(new Event("resize"));
|
|
142
|
-
}, M = () => {
|
|
143
|
-
c(document, ".ui-dialog").filter((t) => h(t) && t.querySelector(":scope > .ui-dialog-content")).map((t) => t.querySelector(":scope > .ui-dialog-content")).forEach((t) => {
|
|
144
|
-
if (!t.querySelector(".modal-body")) return;
|
|
145
|
-
const o = t.closest(".ui-dialog"), a = j(t);
|
|
146
|
-
a.position ??= { of: window }, $(t).dialog("option", a), o.classList.remove("me-tightly"), (o.clientHeight ?? 0) > window.innerHeight && o.classList.add("me-tightly");
|
|
147
|
-
});
|
|
148
|
-
}, oe = async (e, t) => {
|
|
149
|
-
const o = /(\w+)[=-]([\w-]+)(?::([\w.:-]+))?/g.exec(e);
|
|
150
|
-
if (o) {
|
|
151
|
-
const a = o[1], r = o[2], n = o[3];
|
|
152
|
-
let l = [];
|
|
153
|
-
n && (l = n.split(":")), await L(a, r, l, t);
|
|
154
|
-
}
|
|
155
|
-
}, L = async (e, t, i, o, a) => {
|
|
156
|
-
P || await new Promise((l, s) => {
|
|
157
|
-
const m = setInterval(() => {
|
|
158
|
-
P && (clearInterval(m), l());
|
|
159
|
-
}, 1e4);
|
|
160
|
-
}), await W();
|
|
161
|
-
let r;
|
|
162
|
-
if (typeof e == "object" ? (y(e) && (e = e == null ? void 0 : e[0]), r = e) : r = _(e), !r && typeof e == "string" && u.state.load) {
|
|
163
|
-
await u.state.load(e), await L(e, t, i, o, a);
|
|
164
|
-
return;
|
|
165
|
-
}
|
|
166
|
-
if (!r) return;
|
|
167
|
-
await T(r, t, i, o);
|
|
168
|
-
const n = $(r);
|
|
169
|
-
if (r != null && r.classList.contains("ui-dialog-content"))
|
|
170
|
-
n.dialog("open");
|
|
171
|
-
else {
|
|
172
|
-
const l = j(r);
|
|
173
|
-
n.dialog(l);
|
|
174
|
-
}
|
|
175
|
-
a && a(n);
|
|
176
|
-
}, T = async (e, t, i, o) => {
|
|
177
|
-
var m, w;
|
|
178
|
-
y(e) && (e = e == null ? void 0 : e[0]), t === void 0 && (t = e.dataset.viewPageActive), t !== e.dataset.viewPageActive && V(e) && await O(100), i === void 0 && (i = []), await x(e.getAttribute("id"), void 0, t);
|
|
179
|
-
const a = c(e, ".modal-layer"), r = a.reduce((d, g) => {
|
|
180
|
-
const p = g.querySelector(":scope > .active");
|
|
181
|
-
return p && d.push(p), d;
|
|
182
|
-
}, []), n = a.reduce((d, g) => {
|
|
183
|
-
const p = g.querySelector(`:scope > [data-view-page="${t}"]`);
|
|
184
|
-
return p && d.push(p), d;
|
|
185
|
-
}, []), l = i.join(":");
|
|
186
|
-
if (o === void 0 && (o = "next", (((m = n[0]) == null ? void 0 : m.dataset.order) ?? 0) < (((w = r[0]) == null ? void 0 : w.dataset.order) ?? 0) && (o = "prev")), !n.length) return;
|
|
187
|
-
if (e.dataset.viewPageActive = t, n[0].classList.contains("active")) {
|
|
188
|
-
n[0].dataset.viewPageArgs !== l && n.forEach((d) => {
|
|
189
|
-
d.dataset.viewPageArgs = l;
|
|
190
|
-
}), q(e, n, t, i), S(e, n, t, i);
|
|
191
|
-
return;
|
|
192
|
-
}
|
|
193
|
-
n.forEach((d) => {
|
|
194
|
-
d.dataset.viewPageArgs = l;
|
|
195
|
-
}), r.forEach((d) => {
|
|
196
|
-
d.querySelector(".top-popup-wrapper") && I.close(d.querySelector(".top-popup-wrapper"));
|
|
197
|
-
});
|
|
198
|
-
const s = n[0].closest(".ui-dialog");
|
|
199
|
-
switch (s && !h(s) && (o = "none"), r.length || (o = "none"), h(n[0]) && (o = "none"), o) {
|
|
200
|
-
case "prev": {
|
|
201
|
-
n.forEach((d) => {
|
|
202
|
-
var p, v;
|
|
203
|
-
const g = (p = d.parentNode) == null ? void 0 : p.querySelector(":scope > .active");
|
|
204
|
-
g && ((v = d.parentNode) == null || v.insertBefore(d, g));
|
|
205
|
-
}), r.forEach((d) => {
|
|
206
|
-
d.classList.add("right-to-center", "reverse");
|
|
207
|
-
}), n.forEach((d) => {
|
|
208
|
-
d.classList.add("center-to-left", "reverse");
|
|
209
|
-
});
|
|
210
|
-
break;
|
|
211
|
-
}
|
|
212
|
-
case "next": {
|
|
213
|
-
n.forEach((d) => {
|
|
214
|
-
var p, v;
|
|
215
|
-
const g = (p = d.parentNode) == null ? void 0 : p.querySelector(":scope > .active");
|
|
216
|
-
g && ((v = d.parentNode) == null || v.insertBefore(d, g.nextSibling));
|
|
217
|
-
}), r.forEach((d) => {
|
|
218
|
-
d == null || d.classList.add("center-to-left");
|
|
219
|
-
}), n.forEach((d) => {
|
|
220
|
-
d.classList.add("right-to-center");
|
|
221
|
-
});
|
|
222
|
-
break;
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
if (e.setAttribute("view-page-active", t), r.forEach((d) => {
|
|
226
|
-
d.classList.remove("active");
|
|
227
|
-
}), n.forEach((d) => {
|
|
228
|
-
d.classList.add("active");
|
|
229
|
-
}), q(e, n, t, i), o) {
|
|
230
|
-
e.classList.add("i-change-page");
|
|
231
|
-
const d = Number(window.getComputedStyle(n[0]).animationDuration.replace("s", "")) * 1e3;
|
|
232
|
-
C = setTimeout(function() {
|
|
233
|
-
x(e.getAttribute("id"), t, ""), V(e), S(e, n, t, i);
|
|
234
|
-
}, d);
|
|
235
|
-
} else
|
|
236
|
-
await x(e.getAttribute("id"), t, ""), S(e, n, t, i);
|
|
237
|
-
}, ae = (e) => {
|
|
238
|
-
var r;
|
|
239
|
-
const a = (r = c(e, ".modal-layer").reduce((n, l) => {
|
|
240
|
-
const s = l.querySelector(":scope > .active");
|
|
241
|
-
return s && n.push(s), n;
|
|
242
|
-
}, []).reduce((n, l) => {
|
|
243
|
-
let s = l.previousElementSibling;
|
|
244
|
-
for (; s && !s.hasAttribute("[data-view-page]"); )
|
|
245
|
-
s = s.previousElementSibling;
|
|
246
|
-
return s && n.push(s), n;
|
|
247
|
-
}, [])[0]) == null ? void 0 : r.dataset.viewPage;
|
|
248
|
-
a ? T(e, a, void 0, "prev") : $(e).dialog("close");
|
|
249
|
-
}, k = /* @__PURE__ */ new Set(), q = (e, t, i, o) => {
|
|
250
|
-
const a = e.getAttribute("id") + t[0].dataset.viewPage + i + o.join();
|
|
251
|
-
k.has(a) || (k.add(a), setTimeout(function() {
|
|
252
|
-
k.delete(a), $(e).trigger("viewBeforeOpen", [$(e), $(t), i, o]);
|
|
253
|
-
}));
|
|
254
|
-
}, S = (e, t, i, o) => {
|
|
255
|
-
setTimeout(function() {
|
|
256
|
-
$(e).trigger("viewAfterOpen", [$(e), $(t), i, o]);
|
|
257
|
-
});
|
|
258
|
-
}, B = (e) => (y(e) && (e = e == null ? void 0 : e[0]), e.classList.contains("i-change-page")), V = (e) => {
|
|
259
|
-
if (!B(e)) return !1;
|
|
260
|
-
clearTimeout(C);
|
|
261
|
-
const t = c(e, ".modal-layer"), i = e.dataset.viewPageActive;
|
|
262
|
-
return e.classList.remove("i-change-page"), t.forEach((o) => {
|
|
263
|
-
o.querySelectorAll(":scope > [data-view-page]").forEach((a) => {
|
|
264
|
-
a.classList.remove("center-to-left", "right-to-center", "reverse", "active");
|
|
265
|
-
});
|
|
266
|
-
}), t.forEach((o) => {
|
|
267
|
-
var a;
|
|
268
|
-
(a = o.querySelector(`:scope > [data-view-page="${i}"]`)) == null || a.classList.add("active");
|
|
269
|
-
}), !0;
|
|
270
|
-
}, ie = function(e) {
|
|
271
|
-
const t = _(e);
|
|
272
|
-
if (!t) return;
|
|
273
|
-
const i = $(t);
|
|
274
|
-
i.dialog("instance") && i.dialog("close");
|
|
275
|
-
}, re = (e, t, i) => {
|
|
276
|
-
y(e) && (e = e.toArray());
|
|
277
|
-
const o = e.reduce((a, r) => (r.hasAttribute("[data-view-page]") && h(r) && a.push(r), a), []);
|
|
278
|
-
t ? (i !== void 0 && o.forEach((a) => {
|
|
279
|
-
a.style.setProperty("--dialog-loading-duration", i + "s");
|
|
280
|
-
}), o.forEach((a) => {
|
|
281
|
-
a.classList.add("i-load-data");
|
|
282
|
-
})) : (o.forEach((a) => {
|
|
283
|
-
a.classList.remove("i-load-data");
|
|
284
|
-
}), o.forEach((a) => {
|
|
285
|
-
a.style.setProperty("--dialog-loading-duration", "10s");
|
|
286
|
-
}));
|
|
287
|
-
}, ne = (e) => (y(e) && (e = e == null ? void 0 : e[0]), e.classList.contains("i-load-data")), b = {
|
|
288
|
-
getElDialogById: _,
|
|
289
|
-
updatePageVue: x,
|
|
290
|
-
recalcPositions: M,
|
|
291
|
-
toViewDirty: oe,
|
|
292
|
-
toView: L,
|
|
293
|
-
toViewPage: T,
|
|
294
|
-
toPrevPage: ae,
|
|
295
|
-
setLoading: re,
|
|
296
|
-
isLoading: ne,
|
|
297
|
-
inAnimation: B,
|
|
298
|
-
close: ie
|
|
299
|
-
};
|
|
300
|
-
Y();
|
|
301
|
-
export {
|
|
302
|
-
b as TopDialogUtils
|
|
303
|
-
};
|
|
304
|
-
//# sourceMappingURL=utils-BPftYwd6.es.js.map
|