@topvisor/ui 1.0.19 → 1.0.20-selector2-3
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/.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/inspectionProfiles/Disabled.xml +824 -0
- package/.idea/inspectionProfiles/Project_Default.xml +33 -0
- package/.idea/php.xml +19 -0
- package/.idea/vcs.xml +6 -0
- package/.storybook/TopTheme.ts +115 -0
- package/.storybook/TopThemeManager.ts +53 -0
- package/.storybook/main.ts +51 -0
- package/.storybook/manager.ts +25 -0
- package/.storybook/preview-head.html +21 -0
- package/.storybook/preview.ts +47 -0
- package/.storybook/vue/coreDecorator.ts +76 -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 +175 -0
- package/NPM.md +25 -0
- package/PUBLISH.md +63 -0
- package/README.md +41 -82
- package/STORYBOOK.md +43 -0
- package/USE_IN_PROJECT.md +32 -0
- package/build/afterBuild.sh +11 -0
- package/build/cssModules.ts +39 -0
- package/build/genDocs.sh +19 -0
- package/build/plugin/amdFix.ts +83 -0
- package/build/plugin/autoloadCSS.ts +155 -0
- package/build/rollup.config.ts +37 -0
- package/package.json +87 -34
- package/public/README.md +82 -0
- package/public/icomoon/Read Me.txt +7 -0
- package/public/icomoon/Topvisor icons.json +6260 -0
- package/public/icomoon/demo-files/demo.css +158 -0
- package/public/icomoon/demo-files/demo.js +30 -0
- package/public/icomoon/demo.html +3558 -0
- package/public/icomoon/fonts/Topvisor-2.eot +0 -0
- package/public/icomoon/fonts/Topvisor-2.svg +277 -0
- package/public/icomoon/fonts/Topvisor-2.ttf +0 -0
- package/public/icomoon/fonts/Topvisor-2.woff +0 -0
- package/public/icomoon/selection.json +1 -0
- package/public/icomoon/style.css +780 -0
- package/public/jquery-ui.min.css +6 -0
- package/public/require/css.amd.js +12 -0
- package/src/components/charts/charts.ts +8 -0
- package/src/components/charts/miniChart/miniChart.stories.ts +67 -0
- package/src/components/charts/miniChart/miniChart.ts +110 -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/utils/consts.ts +9 -0
- package/src/components/charts/miniCharts/miniCharts.stories.ts +76 -0
- package/src/components/charts/miniCharts/miniCharts.ts +24 -0
- package/src/components/charts/miniCharts/miniCharts.vue +128 -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 +71 -0
- package/src/components/core/notice/notice.stories.ts +105 -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/types.ts +1 -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 +176 -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 +83 -0
- package/src/components/dialog/dialog/dialog.vue +74 -0
- package/src/components/dialog/dialog/dialogs/dialogs.vue +58 -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 +27 -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 +27 -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 +73 -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 +64 -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 +64 -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 +316 -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 +26 -0
- package/src/components/dialog/lib/utils.globalEvents.ts +175 -0
- package/src/components/dialog/lib/utils.ts +525 -0
- package/src/components/dialog/lib/worker.ts +273 -0
- package/src/components/forms/README.mdx +10 -0
- package/src/components/forms/avatar/avatar.stories.ts +38 -0
- package/src/components/forms/avatar/avatar.ts +40 -0
- package/src/components/forms/avatar/avatar.vue +77 -0
- package/src/components/forms/avatar/stories/overview.vue +28 -0
- package/src/components/forms/button/button.stories.ts +118 -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 +33 -0
- package/src/components/forms/button/style/button.css +139 -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 +66 -0
- package/src/components/forms/checkbox/checkbox.stories.ts +33 -0
- package/src/components/forms/checkbox/checkbox.ts +21 -0
- package/src/components/forms/checkbox/checkbox.vue +114 -0
- package/src/components/forms/checkbox/stories/overview.vue +171 -0
- package/src/components/forms/controlLabel/controlLabel.stories.ts +32 -0
- package/src/components/forms/controlLabel/controlLabel.ts +4 -0
- package/src/components/forms/controlLabel/controlLabel.vue +54 -0
- package/src/components/forms/forms.ts +40 -0
- package/src/components/forms/helpers.ts +11 -0
- package/src/components/forms/hint/hint.stories.ts +41 -0
- package/src/components/forms/hint/hint.ts +8 -0
- package/src/components/forms/hint/hint.vue +32 -0
- package/src/components/forms/input/input.stories.ts +31 -0
- package/src/components/forms/input/input.ts +37 -0
- package/src/components/forms/input/input.vue +187 -0
- package/src/components/forms/input/stories/overview.vue +61 -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 +41 -0
- package/src/components/forms/inputDate/inputDate.ts +5 -0
- package/src/components/forms/inputDate/inputDate.vue +133 -0
- package/src/components/forms/inputDate/stories/overview.vue +35 -0
- package/src/components/forms/inputRange/inputRange.stories.ts +53 -0
- package/src/components/forms/inputRange/inputRange.ts +3 -0
- package/src/components/forms/inputRange/inputRange.vue +39 -0
- package/src/components/forms/inputRange/stories/overview.vue +129 -0
- package/src/components/forms/loadbar/loadbar.stories.ts +17 -0
- package/src/components/forms/loadbar/loadbar.vue +37 -0
- package/src/components/forms/radio/radio.stories.ts +34 -0
- package/src/components/forms/radio/radio.ts +15 -0
- package/src/components/forms/radio/radio.vue +97 -0
- package/src/components/forms/radio/stories/overview.vue +79 -0
- package/src/components/forms/select/select.stories.ts +68 -0
- package/src/components/forms/select/select.ts +60 -0
- package/src/components/forms/select/select.vue +298 -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/switcher/stories/overview.vue +139 -0
- package/src/components/forms/switcher/switcher.stories.ts +33 -0
- package/src/components/forms/switcher/switcher.ts +22 -0
- package/src/components/forms/switcher/switcher.vue +118 -0
- package/src/components/forms/textarea/stories/overview.vue +62 -0
- package/src/components/forms/textarea/textarea.stories.ts +33 -0
- package/src/components/forms/textarea/textarea.ts +38 -0
- package/src/components/forms/textarea/textarea.vue +121 -0
- package/src/components/formsExt/README.mdx +5 -0
- package/src/components/formsExt/editArea/editArea.stories.ts +41 -0
- package/src/components/formsExt/editArea/editArea.ts +41 -0
- package/src/components/formsExt/editArea/editArea.vue +195 -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/editInput/editInput.stories.ts +36 -0
- package/src/components/formsExt/editInput/editInput.ts +20 -0
- package/src/components/formsExt/editInput/editInput.vue +54 -0
- package/src/components/formsExt/editInput/stories/overview.vue +54 -0
- package/src/components/formsExt/formsExt.ts +15 -0
- package/src/components/formsExt/info/info.stories.ts +35 -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 +59 -0
- package/src/components/formsExt/menu/menu.ts +45 -0
- package/src/components/formsExt/menu/menu.vue +321 -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/radioGroup/radioGroup.stories.ts +51 -0
- package/src/components/formsExt/radioGroup/radioGroup.ts +28 -0
- package/src/components/formsExt/radioGroup/radioGroup.vue +146 -0
- package/src/components/formsExt/radioGroup/stories/overview.vue +78 -0
- package/src/components/formsExt/radioGroup/styles/top-scrollBar.css +52 -0
- package/src/components/formsExt/selector2/api.ts +148 -0
- package/src/components/formsExt/selector2/itemMulti.vue +57 -0
- package/src/components/formsExt/selector2/selector2.stories.ts +48 -0
- package/src/components/formsExt/selector2/selector2.ts +145 -0
- package/src/components/formsExt/selector2/selector2.vue +389 -0
- package/src/components/formsExt/selector2/stories/dummyAPIRequest.ts +58 -0
- package/src/components/formsExt/selector2/stories/overview.vue +93 -0
- package/src/components/helper.js +10 -0
- package/src/components/helpersStories.ts +205 -0
- package/src/components/layout/islandRows/islandRows.stories.ts +139 -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 +48 -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 +71 -0
- package/src/components/popup/alert/alert.ts +11 -0
- package/src/components/popup/alert/alert.vue +46 -0
- package/src/components/popup/alert/stories/overview.vue +40 -0
- package/src/components/popup/confirm/confirm.stories.ts +75 -0
- package/src/components/popup/confirm/confirm.ts +26 -0
- package/src/components/popup/confirm/confirm.vue +75 -0
- package/src/components/popup/confirm/stories/overview.vue +62 -0
- package/src/components/popup/lib/popup.globalEvents.ts +239 -0
- package/src/components/popup/lib/popup.ts +790 -0
- package/src/components/popup/lib/worker.globalEvents.ts +97 -0
- package/src/components/popup/lib/worker.ts +286 -0
- package/src/components/popup/popup/listItem.vue +35 -0
- package/src/components/popup/popup/opener.vue +81 -0
- package/src/components/popup/popup/popup.stories.ts +74 -0
- package/src/components/popup/popup/popup.ts +120 -0
- package/src/components/popup/popup/popup.vue +168 -0
- package/src/components/popup/popup/stories/README.md +55 -0
- package/src/components/popup/popup/stories/listItems.vue +44 -0
- package/src/components/popup/popup/stories/listSubItems.vue +47 -0
- package/src/components/popup/popup/stories/overview.vue +210 -0
- package/src/components/popup/popup/style/popup.css +345 -0
- package/src/components/popup/popup/style/popup.m.css +72 -0
- package/src/components/popup/popup/style/popup.pc.css +26 -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 +78 -0
- package/src/components/popup/prompt/prompt.ts +26 -0
- package/src/components/popup/prompt/prompt.vue +84 -0
- package/src/components/popup/prompt/stories/overview.vue +50 -0
- package/src/components/popup/worker.ts +1 -0
- package/src/components/project/project.ts +23 -0
- package/src/components/project/selectorCompetitors/composables.ts +21 -0
- package/src/components/project/selectorCompetitors/selectorCompetitors.stories.ts +33 -0
- package/src/components/project/selectorCompetitors/selectorCompetitors.ts +27 -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/competitor.ts +7 -0
- package/src/components/project/selectorRegion/composables/compare.ts +87 -0
- package/src/components/project/selectorRegion/composables/selectRegion.ts +147 -0
- package/src/components/project/selectorRegion/composables/selectSearcher.ts +64 -0
- package/src/components/project/selectorRegion/composables/selectorRegion.ts +165 -0
- package/src/components/project/selectorRegion/selectorRegion.stories.ts +69 -0
- package/src/components/project/selectorRegion/selectorRegion.ts +217 -0
- package/src/components/project/selectorRegion/selectorRegion.vue +330 -0
- package/src/components/project/selectorRegion/stories/README.md +36 -0
- package/src/components/project/selectorRegion/stories/searchers.ts +59 -0
- package/src/components/project/selectorRegion/styles/searcherColors.css +41 -0
- package/src/components/project/selectorRegion/utils/consts.ts +73 -0
- package/src/components/project/selectorRegion/utils/utils.ts +157 -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 +145 -0
- package/src/components/project/tagSelector/popupOpener/types.ts +71 -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 +97 -0
- package/src/components/project/tagSelector/tagIcon/types.ts +25 -0
- package/src/components/project/tagSelector/tagSelector.stories.ts +51 -0
- package/src/components/project/tagSelector/tagSelector.vue +359 -0
- package/src/components/project/tagSelector/tagsDefaults.ts +54 -0
- package/src/components/project/tagSelector/types.ts +159 -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 +171 -0
- package/src/components/tabs/tabs/tabs.ts +22 -0
- package/src/components/tabs/tabs/tabs.vue +64 -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 +170 -0
- package/src/components/tabsView/tabsView/tabsView.ts +118 -0
- package/src/components/tabsView/tabsView/tabsView.vue +120 -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 +47 -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 +43 -0
- package/src/components/tabsView/tabsView.ts +9 -0
- package/src/components/types.ts +3 -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 +51 -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/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 +184 -0
- package/src/core/plugins/piniaTPA.ts +431 -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 +15 -0
- package/src/core/utils/References/check/functions/getDomainRegexp.mdx +15 -0
- package/src/core/utils/References/check/functions/isDomain.mdx +21 -0
- package/src/core/utils/References/check/functions/isEmail.mdx +22 -0
- package/src/core/utils/References/check/functions/isIp.mdx +21 -0
- package/src/core/utils/References/check/functions/validUrl.mdx +22 -0
- package/src/core/utils/References/clipboard/Docs.mdx +11 -0
- package/src/core/utils/References/clipboard/functions/setClipboard.mdx +23 -0
- package/src/core/utils/References/date/Docs.mdx +17 -0
- package/src/core/utils/References/date/functions/dateFormat.mdx +28 -0
- package/src/core/utils/References/date/functions/dateToString.mdx +26 -0
- package/src/core/utils/References/date/functions/dateUnformat.mdx +22 -0
- package/src/core/utils/References/date/functions/genDate.mdx +26 -0
- package/src/core/utils/References/date/functions/genDateMoscow.mdx +22 -0
- package/src/core/utils/References/date/functions/getDayOfWeek.mdx +26 -0
- package/src/core/utils/References/date/functions/stringToDate.mdx +21 -0
- package/src/core/utils/References/device/Docs.mdx +21 -0
- package/src/core/utils/References/device/functions/get$scroll.mdx +15 -0
- package/src/core/utils/References/device/functions/getCommandKeyLabel.mdx +15 -0
- package/src/core/utils/References/device/functions/getElsScroll.mdx +15 -0
- package/src/core/utils/References/device/functions/getOS.mdx +17 -0
- package/src/core/utils/References/device/functions/getOSAsync.mdx +15 -0
- package/src/core/utils/References/device/functions/getScrollTop.mdx +15 -0
- package/src/core/utils/References/device/functions/isApp.mdx +15 -0
- package/src/core/utils/References/device/functions/isMacOS.mdx +15 -0
- package/src/core/utils/References/device/functions/isMobile.mdx +15 -0
- package/src/core/utils/References/device/functions/isRetina.mdx +15 -0
- package/src/core/utils/References/device/functions/isSafari.mdx +15 -0
- package/src/core/utils/References/dom/Docs.mdx +27 -0
- package/src/core/utils/References/dom/functions/css.mdx +24 -0
- package/src/core/utils/References/dom/functions/genEl.mdx +28 -0
- package/src/core/utils/References/dom/functions/isVisible.mdx +23 -0
- package/src/core/utils/References/dom/functions/offset.mdx +35 -0
- package/src/core/utils/References/dom/functions/querySelectorAllArray.mdx +22 -0
- package/src/core/utils/References/dom/functions/querySelectorAllVisible.mdx +22 -0
- package/src/core/utils/References/dom/functions/querySelectorVisible.mdx +22 -0
- package/src/core/utils/References/dom/functions/querySelectorVisibleLast.mdx +22 -0
- package/src/core/utils/References/dom/functions/storage.mdx +28 -0
- package/src/core/utils/References/dom/functions/storageClear.mdx +21 -0
- package/src/core/utils/References/dom/functions/wrap.mdx +22 -0
- package/src/core/utils/References/dom/variables/default.mdx +241 -0
- package/src/core/utils/References/image/Docs.mdx +12 -0
- package/src/core/utils/References/image/functions/downloadImageFromString.mdx +22 -0
- package/src/core/utils/References/image/functions/genFaviconImgHtml.mdx +22 -0
- package/src/core/utils/References/keyboard/Docs.mdx +11 -0
- package/src/core/utils/References/keyboard/functions/invertKeyboardLayout.mdx +21 -0
- package/src/core/utils/References/lodash/Docs.mdx +20 -0
- package/src/core/utils/References/lodash/functions/cloneDeep.mdx +29 -0
- package/src/core/utils/References/lodash/functions/debounce.mdx +76 -0
- package/src/core/utils/References/lodash/functions/memoize.mdx +26 -0
- package/src/core/utils/References/lodash/functions/merge.mdx +200 -0
- package/src/core/utils/References/lodash/functions/throttle.mdx +73 -0
- package/src/core/utils/References/number/Docs.mdx +11 -0
- package/src/core/utils/References/number/functions/percentOfNumber.mdx +26 -0
- package/src/core/utils/References/price/Docs.mdx +11 -0
- package/src/core/utils/References/price/functions/genPrice.mdx +28 -0
- package/src/core/utils/References/route/Docs.mdx +16 -0
- package/src/core/utils/References/route/functions/delHash.mdx +26 -0
- package/src/core/utils/References/route/functions/genHash.mdx +26 -0
- package/src/core/utils/References/route/functions/getHash.mdx +22 -0
- package/src/core/utils/References/route/functions/historySetState.mdx +31 -0
- package/src/core/utils/References/route/functions/setHash.mdx +26 -0
- package/src/core/utils/References/route/functions/setHashs.mdx +22 -0
- package/src/core/utils/References/scroll/Docs.mdx +14 -0
- package/src/core/utils/References/scroll/functions/amountScrolled.mdx +17 -0
- package/src/core/utils/References/scroll/functions/connectScrollShadow.mdx +28 -0
- package/src/core/utils/References/scroll/functions/genHasScroll.mdx +25 -0
- package/src/core/utils/References/scroll/functions/getScrollPercent.mdx +21 -0
- package/src/core/utils/References/searchers/Docs.mdx +19 -0
- package/src/core/utils/References/searchers/functions/genVolumeLabel.mdx +26 -0
- package/src/core/utils/References/searchers/functions/getDeviceGIcon.mdx +21 -0
- package/src/core/utils/References/searchers/functions/getLangLabel.mdx +22 -0
- package/src/core/utils/References/searchers/functions/getSearcherGIcon.mdx +21 -0
- package/src/core/utils/References/searchers/functions/prepareVolumeType.mdx +22 -0
- package/src/core/utils/References/searchers/variables/searchersNames.mdx +97 -0
- package/src/core/utils/References/store/Docs.mdx +18 -0
- package/src/core/utils/References/store/functions/defineStore.mdx +36 -0
- package/src/core/utils/References/store/functions/useStore.mdx +29 -0
- package/src/core/utils/References/store/variables/plugin.mdx +66 -0
- package/src/core/utils/References/string/Docs.mdx +26 -0
- package/src/core/utils/References/string/functions/addCommasWhite.mdx +21 -0
- package/src/core/utils/References/string/functions/addLinkTags.mdx +23 -0
- package/src/core/utils/References/string/functions/camelToSnakeCase.mdx +21 -0
- package/src/core/utils/References/string/functions/ellipsis.mdx +26 -0
- package/src/core/utils/References/string/functions/genFlagLinkByCountryCode.mdx +21 -0
- package/src/core/utils/References/string/functions/genIntHash.mdx +21 -0
- package/src/core/utils/References/string/functions/getRandomHash.mdx +21 -0
- package/src/core/utils/References/string/functions/highlightHtml.mdx +25 -0
- package/src/core/utils/References/string/functions/htmlspecialchars.mdx +21 -0
- package/src/core/utils/References/string/functions/isUrl.mdx +21 -0
- package/src/core/utils/References/string/functions/nl2br.mdx +21 -0
- package/src/core/utils/References/string/functions/numberEnding.mdx +28 -0
- package/src/core/utils/References/string/functions/numberWithWord.mdx +28 -0
- package/src/core/utils/References/string/functions/rusToLatin.mdx +21 -0
- package/src/core/utils/References/string/functions/toCapitalize.mdx +21 -0
- package/src/core/utils/References/string/functions/toRoditPadej.mdx +21 -0
- package/src/core/utils/References/system/Docs.mdx +13 -0
- package/src/core/utils/References/system/functions/sleep.mdx +21 -0
- package/src/core/utils/References/system/functions/sleepWhile.mdx +26 -0
- package/src/core/utils/References/system/functions/waitWhile.mdx +26 -0
- package/src/core/utils/References/url/Docs.mdx +17 -0
- package/src/core/utils/References/url/functions/decode.mdx +21 -0
- package/src/core/utils/References/url/functions/encode.mdx +21 -0
- package/src/core/utils/References/url/functions/fromPuny.mdx +23 -0
- package/src/core/utils/References/url/functions/getHost.mdx +21 -0
- package/src/core/utils/References/url/functions/hostToLowerCase.mdx +21 -0
- package/src/core/utils/References/url/functions/normalize.mdx +21 -0
- package/src/core/utils/References/url/functions/toPuny.mdx +23 -0
- package/src/core/utils/check.ts +88 -0
- package/src/core/utils/clipboard.ts +51 -0
- package/src/core/utils/date.ts +291 -0
- package/src/core/utils/device.ts +139 -0
- package/src/core/utils/dom.ts +182 -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 +115 -0
- package/src/core/utils/scroll.ts +120 -0
- package/src/core/utils/searchers.ts +189 -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 +315 -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.css +102 -0
- package/src/resources/styles/core/core.ts +11 -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 +26 -0
- package/src/resources/styles/core/forms/forms.css +117 -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 +9 -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 +19 -0
- package/src/resources/styles/core/modifiers/scrollShadow.css +50 -0
- package/src/resources/styles/core/select.css +15 -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 +400 -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 +400 -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 +400 -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/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" +12 -0
- package/src//320/240/320/260/320/267/321/200/320/260/320/261/320/276/321/202/320/272/320/260 (Contributing)/CHANGELOG.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)/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)/STORYBOOK.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)/USE_IN_PROJECT.md.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/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/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" +31 -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" +41 -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/tsconfig.json +91 -0
- package/typedoc.json +20 -0
- package/vite.config.ts +148 -0
- package/web-types.json +130 -130
- package/.chunks/datepicker-B8O5mg_G.es.js +0 -44
- package/.chunks/datepicker-B8O5mg_G.es.js.map +0 -1
- package/.chunks/datepicker-CFiizYlZ.amd.js +0 -2
- package/.chunks/datepicker-CFiizYlZ.amd.js.map +0 -1
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-B55gllXV.amd.js +0 -2
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-B55gllXV.amd.js.map +0 -1
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-BkBYW0yR.es.js +0 -266
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-BkBYW0yR.es.js.map +0 -1
- package/.chunks/forms-BWc2kMFD.amd.js +0 -3
- package/.chunks/forms-BWc2kMFD.amd.js.map +0 -1
- package/.chunks/forms-DW_XLzg8.es.js +0 -2018
- package/.chunks/forms-DW_XLzg8.es.js.map +0 -1
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-naMiJruI.amd.js +0 -2
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-naMiJruI.amd.js.map +0 -1
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-saYIC17M.es.js +0 -181
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-saYIC17M.es.js.map +0 -1
- package/.chunks/menu.vue_vue_type_style_index_0_lang-06YUloqb.amd.js +0 -2
- package/.chunks/menu.vue_vue_type_style_index_0_lang-06YUloqb.amd.js.map +0 -1
- package/.chunks/menu.vue_vue_type_style_index_0_lang-CcspstQc.es.js +0 -109
- package/.chunks/menu.vue_vue_type_style_index_0_lang-CcspstQc.es.js.map +0 -1
- package/.chunks/notice-BQyuy4nF.es.js +0 -175
- package/.chunks/notice-BQyuy4nF.es.js.map +0 -1
- package/.chunks/notice-zADfJ5TR.amd.js +0 -4
- package/.chunks/notice-zADfJ5TR.amd.js.map +0 -1
- package/.chunks/popup-CPS-7fSX.amd.js +0 -2
- package/.chunks/popup-CPS-7fSX.amd.js.map +0 -1
- package/.chunks/popup-DsVptZvL.es.js +0 -415
- package/.chunks/popup-DsVptZvL.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-B75aamxF.amd.js +0 -2
- package/.chunks/utils-B75aamxF.amd.js.map +0 -1
- package/.chunks/utils-DIP-BdDy.es.js +0 -225
- package/.chunks/utils-DIP-BdDy.es.js.map +0 -1
- package/.chunks/utils-DfYj3r9i.amd.js +0 -2
- package/.chunks/utils-DfYj3r9i.amd.js.map +0 -1
- package/.chunks/utils-h5v4GPgp.es.js +0 -79
- package/.chunks/utils-h5v4GPgp.es.js.map +0 -1
- package/assets/charts.css +0 -1
- package/assets/core.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.d.ts +0 -92
- package/components/charts/miniChart/miniChart.vue.d.ts +0 -15
- package/components/charts/miniChart/stories/dummy.d.ts +0 -13
- 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 -61
- package/components/core/notice/notice.vue.d.ts +0 -5
- package/components/core/notice/types.d.ts +0 -1
- 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 -10
- 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 -21
- 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 -60
- package/components/forms/avatar/avatar.d.ts +0 -38
- package/components/forms/avatar/avatar.vue.d.ts +0 -10
- package/components/forms/button/button.vue.d.ts +0 -25
- package/components/forms/button/types.d.ts +0 -53
- package/components/forms/checkbox/checkbox.d.ts +0 -19
- package/components/forms/checkbox/checkbox.vue.d.ts +0 -27
- package/components/forms/controlLabel/controlLabel.d.ts +0 -4
- package/components/forms/controlLabel/controlLabel.vue.d.ts +0 -19
- package/components/forms/forms.d.ts +0 -27
- package/components/forms/helpers.d.ts +0 -10
- package/components/forms/hint/hint.d.ts +0 -8
- package/components/forms/hint/hint.vue.d.ts +0 -4
- package/components/forms/input/input.d.ts +0 -26
- package/components/forms/input/input.vue.d.ts +0 -27
- package/components/forms/inputDate/datepicker.d.ts +0 -5
- package/components/forms/inputDate/inputDate.d.ts +0 -3
- package/components/forms/inputDate/inputDate.vue.d.ts +0 -12
- package/components/forms/inputRange/inputRange.d.ts +0 -2
- package/components/forms/inputRange/inputRange.vue.d.ts +0 -19
- package/components/forms/loadbar/loadbar.vue.d.ts +0 -3
- package/components/forms/radio/radio.d.ts +0 -14
- package/components/forms/radio/radio.vue.d.ts +0 -23
- package/components/forms/select/select.d.ts +0 -51
- package/components/forms/select/select.vue.d.ts +0 -17
- package/components/forms/select/stories/exampleOptions.d.ts +0 -5
- package/components/forms/switcher/switcher.d.ts +0 -21
- package/components/forms/switcher/switcher.vue.d.ts +0 -23
- package/components/forms/textarea/textarea.d.ts +0 -33
- package/components/forms/textarea/textarea.vue.d.ts +0 -11
- package/components/formsExt/editArea/editArea.d.ts +0 -33
- package/components/formsExt/editArea/editArea.vue.d.ts +0 -18
- package/components/formsExt/editInput/editInput.d.ts +0 -16
- package/components/formsExt/editInput/editInput.vue.d.ts +0 -8
- package/components/formsExt/formsExt.d.ts +0 -13
- package/components/formsExt/info/info.vue.d.ts +0 -20
- package/components/formsExt/info/types.d.ts +0 -21
- package/components/formsExt/menu/menu.d.ts +0 -37
- package/components/formsExt/menu/menu.vue.d.ts +0 -16
- package/components/formsExt/menu/stories/items.d.ts +0 -3
- package/components/formsExt/radioGroup/radioGroup.d.ts +0 -21
- package/components/formsExt/radioGroup/radioGroup.vue.d.ts +0 -19
- package/components/formsExt/selector2/api.d.ts +0 -8
- package/components/formsExt/selector2/itemMulti.vue.d.ts +0 -8
- package/components/formsExt/selector2/selector2.d.ts +0 -130
- package/components/formsExt/selector2/selector2.vue.d.ts +0 -210
- package/components/formsExt/selector2/stories/dummyAPIRequest.d.ts +0 -10
- 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.d.ts +0 -8
- package/components/popup/alert/alert.vue.d.ts +0 -31
- package/components/popup/confirm/confirm.d.ts +0 -21
- package/components/popup/confirm/confirm.vue.d.ts +0 -33
- package/components/popup/lib/popup.d.ts +0 -83
- package/components/popup/lib/popup.globalEvents.d.ts +0 -26
- 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.d.ts +0 -101
- package/components/popup/popup/popup.vue.d.ts +0 -40
- package/components/popup/popup/widgetInput.vue.d.ts +0 -17
- package/components/popup/popup.d.ts +0 -15
- package/components/popup/prompt/prompt.d.ts +0 -21
- package/components/popup/prompt/prompt.vue.d.ts +0 -33
- package/components/popup/worker.d.ts +0 -1
- package/components/project/project.d.ts +0 -15
- package/components/project/selectorCompetitors/composables.d.ts +0 -4
- package/components/project/selectorCompetitors/selectorCompetitors.d.ts +0 -23
- 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/competitor.d.ts +0 -7
- package/components/project/selectorRegion/composables/compare.d.ts +0 -12
- package/components/project/selectorRegion/composables/selectRegion.d.ts +0 -14
- package/components/project/selectorRegion/composables/selectSearcher.d.ts +0 -13
- package/components/project/selectorRegion/composables/selectorRegion.d.ts +0 -25
- package/components/project/selectorRegion/selectorRegion.d.ts +0 -182
- package/components/project/selectorRegion/selectorRegion.vue.d.ts +0 -25
- package/components/project/selectorRegion/stories/searchers.d.ts +0 -3
- package/components/project/selectorRegion/utils/consts.d.ts +0 -18
- package/components/project/selectorRegion/utils/utils.d.ts +0 -23
- 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 -62
- 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 -138
- 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.d.ts +0 -19
- package/components/tabs/tabs/tabs.vue.d.ts +0 -21
- 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 -192
- package/components/tabsView/tabsView/tabsView.d.ts +0 -98
- package/components/tabsView/tabsView/tabsView.vue.d.ts +0 -34
- 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 -402
- 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 -46
- 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/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 -107
- 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 -52
- package/core/utils/device.d.ts +0 -50
- package/core/utils/dom.d.ts +0 -94
- 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 -86
- 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 -194
- package/dialog/dialog.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 -17
- 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 -2
- package/forms/helpers.js +0 -10
- 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 -483
- package/formsExt/formsExt.js.map +0 -1
- package/icomoon/Read Me.txt +0 -7
- package/icomoon/Topvisor icons.json +0 -6145
- package/icomoon/demo-files/demo.css +0 -158
- package/icomoon/demo-files/demo.js +0 -30
- package/icomoon/demo.html +0 -3488
- package/icomoon/fonts/Topvisor-2.eot +0 -0
- package/icomoon/fonts/Topvisor-2.svg +0 -272
- package/icomoon/fonts/Topvisor-2.ttf +0 -0
- package/icomoon/fonts/Topvisor-2.woff +0 -0
- package/icomoon/selection.json +0 -1
- package/icomoon/style.css +0 -765
- package/jquery-ui.min.css +0 -6
- 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 -243
- 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 -975
- package/project/project.js.map +0 -1
- package/require/css.amd.js +0 -12
- 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 -11
- 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 -75
- 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 -31
- 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 -128
- 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 -139
- 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/formsExt/formsExt.js
DELETED
|
@@ -1,483 +0,0 @@
|
|
|
1
|
-
import { Core as q } from "../core/app.js";
|
|
2
|
-
import { defineComponent as _, ref as V, computed as z, openBlock as p, createElementBlock as v, normalizeClass as C, toDisplayString as w, createCommentVNode as A, createElementVNode as E, createVNode as R, withKeys as B, withModifiers as S, createBlock as k, withCtx as $, createTextVNode as L, watch as I, toRef as ee, mergeProps as X, mergeModels as G, useModel as j, Fragment as N, renderList as D, withDirectives as Q, vModelRadio as te, resolveDirective as oe, unref as O, renderSlot as H } from "vue";
|
|
3
|
-
import { x as le, _ as F, c as ae, s as se, a as ne, C as re } from "../.chunks/forms-DW_XLzg8.es.js";
|
|
4
|
-
import { invertKeyboardLayout as ie } from "../utils/keyboard.js";
|
|
5
|
-
import { TopPopup as ue, TopPopupWidgetInput as de, TopPopupListItem as Y } from "../popup/popup.js";
|
|
6
|
-
import { _ as pe } from "../.chunks/menu.vue_vue_type_style_index_0_lang-CcspstQc.es.js";
|
|
7
|
-
const x = ["../assets/formsExt.css"].map((n) => import.meta.resolve(n));
|
|
8
|
-
q.insertCSSLinkToPage(x, !0);
|
|
9
|
-
const ce = { class: "top-editArea_footer" }, me = /* @__PURE__ */ _({
|
|
10
|
-
__name: "editArea",
|
|
11
|
-
props: {
|
|
12
|
-
defaultValue: { default: "" },
|
|
13
|
-
title: {},
|
|
14
|
-
cancelText: { default: "Cancel" },
|
|
15
|
-
submitText: { default: "Send" },
|
|
16
|
-
closeText: { default: "Close" },
|
|
17
|
-
isFocused: { type: Boolean },
|
|
18
|
-
forceShowCloseBtn: { type: Boolean },
|
|
19
|
-
attachToKeyboard: { type: Boolean },
|
|
20
|
-
modelValue: {},
|
|
21
|
-
name: {},
|
|
22
|
-
placeholder: {},
|
|
23
|
-
rows: {},
|
|
24
|
-
minHeight: {},
|
|
25
|
-
expandable: { type: Boolean, default: !0 },
|
|
26
|
-
disabled: { type: Boolean },
|
|
27
|
-
readonly: { type: Boolean },
|
|
28
|
-
isError: { type: Boolean },
|
|
29
|
-
hint: {}
|
|
30
|
-
},
|
|
31
|
-
emits: ["submit", "close", "clickOnTitle"],
|
|
32
|
-
setup(n, { emit: a }) {
|
|
33
|
-
const e = n, l = a, f = V(e.defaultValue), y = V(e.isFocused), d = z(() => f.value !== e.defaultValue), c = z(() => e.attachToKeyboard ? "" : e.forceShowCloseBtn && !d.value ? e.closeText : e.cancelText), r = (i) => {
|
|
34
|
-
l("submit", i), f.value = e.defaultValue;
|
|
35
|
-
}, h = () => {
|
|
36
|
-
if (e.forceShowCloseBtn && !d.value) {
|
|
37
|
-
l("close");
|
|
38
|
-
return;
|
|
39
|
-
}
|
|
40
|
-
f.value = e.defaultValue;
|
|
41
|
-
}, T = () => {
|
|
42
|
-
e.attachToKeyboard && l("clickOnTitle");
|
|
43
|
-
};
|
|
44
|
-
return (i, o) => (p(), v("div", {
|
|
45
|
-
class: C({
|
|
46
|
-
"top-editArea": !0,
|
|
47
|
-
"top-editArea-attachedToKeyboard": i.attachToKeyboard
|
|
48
|
-
})
|
|
49
|
-
}, [
|
|
50
|
-
i.title ? (p(), v("div", {
|
|
51
|
-
key: 0,
|
|
52
|
-
class: "top-editArea_title",
|
|
53
|
-
onClick: o[0] || (o[0] = (g) => T())
|
|
54
|
-
}, w(i.title), 1)) : A("", !0),
|
|
55
|
-
E("div", {
|
|
56
|
-
class: C({
|
|
57
|
-
"top-editArea_form": !0,
|
|
58
|
-
"top-error": i.isError,
|
|
59
|
-
"top-focus": y.value
|
|
60
|
-
})
|
|
61
|
-
}, [
|
|
62
|
-
R(le, {
|
|
63
|
-
modelValue: f.value,
|
|
64
|
-
"onUpdate:modelValue": o[1] || (o[1] = (g) => f.value = g),
|
|
65
|
-
name: i.name,
|
|
66
|
-
placeholder: i.placeholder,
|
|
67
|
-
rows: i.rows,
|
|
68
|
-
minHeight: i.minHeight,
|
|
69
|
-
expandable: i.expandable,
|
|
70
|
-
disabled: i.disabled,
|
|
71
|
-
readonly: i.readonly,
|
|
72
|
-
isError: i.isError,
|
|
73
|
-
hint: i.hint,
|
|
74
|
-
class: "top-editArea_element",
|
|
75
|
-
onFocus: o[2] || (o[2] = () => y.value = !0),
|
|
76
|
-
onBlur: o[3] || (o[3] = () => y.value = !1),
|
|
77
|
-
onKeyup: [
|
|
78
|
-
B(h, ["esc"]),
|
|
79
|
-
o[4] || (o[4] = B(S((g) => r(f.value), ["ctrl"]), ["enter"]))
|
|
80
|
-
]
|
|
81
|
-
}, null, 8, ["modelValue", "name", "placeholder", "rows", "minHeight", "expandable", "disabled", "readonly", "isError", "hint"]),
|
|
82
|
-
E("div", ce, [
|
|
83
|
-
!i.attachToKeyboard && (d.value || i.forceShowCloseBtn) ? (p(), k(F, {
|
|
84
|
-
key: 0,
|
|
85
|
-
class: "top-editArea_button",
|
|
86
|
-
color: "theme",
|
|
87
|
-
styling: "soft",
|
|
88
|
-
onClick: h
|
|
89
|
-
}, {
|
|
90
|
-
default: $(() => [
|
|
91
|
-
L(w(c.value), 1)
|
|
92
|
-
]),
|
|
93
|
-
_: 1
|
|
94
|
-
})) : A("", !0),
|
|
95
|
-
d.value ? (p(), k(F, {
|
|
96
|
-
key: 1,
|
|
97
|
-
class: "top-editArea_button",
|
|
98
|
-
icon: i.attachToKeyboard ? "" : "",
|
|
99
|
-
onClick: o[5] || (o[5] = (g) => r(f.value))
|
|
100
|
-
}, {
|
|
101
|
-
default: $(() => [
|
|
102
|
-
L(w(i.attachToKeyboard ? "" : i.submitText), 1)
|
|
103
|
-
]),
|
|
104
|
-
_: 1
|
|
105
|
-
}, 8, ["icon"])) : A("", !0)
|
|
106
|
-
])
|
|
107
|
-
], 2)
|
|
108
|
-
], 2));
|
|
109
|
-
}
|
|
110
|
-
}), fe = { class: "top-editInput" }, ve = /* @__PURE__ */ _({
|
|
111
|
-
__name: "editInput",
|
|
112
|
-
props: {
|
|
113
|
-
modelValue: {},
|
|
114
|
-
input: {},
|
|
115
|
-
button: {}
|
|
116
|
-
},
|
|
117
|
-
emits: ["update:modelValue"],
|
|
118
|
-
setup(n, { emit: a }) {
|
|
119
|
-
const e = n, l = V(e.modelValue);
|
|
120
|
-
I(ee(e.modelValue), () => {
|
|
121
|
-
l.value = e.modelValue;
|
|
122
|
-
});
|
|
123
|
-
const f = a, y = () => {
|
|
124
|
-
f("update:modelValue", l.value);
|
|
125
|
-
};
|
|
126
|
-
return (d, c) => (p(), v("div", fe, [
|
|
127
|
-
R(ae, X(d.input, {
|
|
128
|
-
onKeydownCapture: c[0] || (c[0] = B(S((r) => l.value = d.modelValue, ["stop"]), ["esc"])),
|
|
129
|
-
onKeydown: B(S(y, ["stop"]), ["enter"]),
|
|
130
|
-
modelValue: l.value,
|
|
131
|
-
"onUpdate:modelValue": c[1] || (c[1] = (r) => l.value = r)
|
|
132
|
-
}), null, 16, ["onKeydown", "modelValue"]),
|
|
133
|
-
l.value !== d.modelValue ? (p(), k(F, X({
|
|
134
|
-
key: 0,
|
|
135
|
-
icon: "",
|
|
136
|
-
styling: "soft"
|
|
137
|
-
}, d.button, { onClick: y }), null, 16)) : A("", !0)
|
|
138
|
-
]));
|
|
139
|
-
}
|
|
140
|
-
}), ye = ["data-top-icon", "onClick"], he = {
|
|
141
|
-
key: 0,
|
|
142
|
-
class: "top-radioGroup_circle"
|
|
143
|
-
}, ge = ["value", "disabled"], be = /* @__PURE__ */ _({
|
|
144
|
-
__name: "radioGroup",
|
|
145
|
-
props: /* @__PURE__ */ G({
|
|
146
|
-
modelValue: {},
|
|
147
|
-
radiosProps: {},
|
|
148
|
-
showIndicator: { type: Boolean },
|
|
149
|
-
size: { default: "s" },
|
|
150
|
-
isError: { type: Boolean }
|
|
151
|
-
}, {
|
|
152
|
-
modelValue: {
|
|
153
|
-
required: !0
|
|
154
|
-
},
|
|
155
|
-
modelModifiers: {}
|
|
156
|
-
}),
|
|
157
|
-
emits: /* @__PURE__ */ G(["update:modelValue"], ["update:modelValue"]),
|
|
158
|
-
setup(n, { emit: a }) {
|
|
159
|
-
const e = j(n, "modelValue"), l = n, f = V(null);
|
|
160
|
-
I(e, () => {
|
|
161
|
-
var d, c, r, h, T;
|
|
162
|
-
(d = l.radiosProps) != null && d.some((i) => i.value === e.value) || (e.value = ((r = (c = l.radiosProps) == null ? void 0 : c[0]) == null ? void 0 : r.value) ?? ""), (T = (h = f.value) == null ? void 0 : h.querySelector(".radioGroup_item-selected")) == null || T.scrollIntoView();
|
|
163
|
-
}, { immediate: !0 });
|
|
164
|
-
const y = "radioGroup-" + Math.random();
|
|
165
|
-
return (d, c) => (p(), v("div", {
|
|
166
|
-
ref_key: "elRef",
|
|
167
|
-
ref: f,
|
|
168
|
-
class: C({
|
|
169
|
-
"top-radioGroup": !0,
|
|
170
|
-
"top-scrollBarXHidding": !0,
|
|
171
|
-
["top-size_" + d.size]: !!d.size,
|
|
172
|
-
"top-error": d.isError
|
|
173
|
-
})
|
|
174
|
-
}, [
|
|
175
|
-
(p(!0), v(N, null, D(d.radiosProps, (r) => (p(), v("label", {
|
|
176
|
-
class: C({
|
|
177
|
-
"top-radioGroup_item-selected": r.value === e.value,
|
|
178
|
-
"top-radioGroup_item": !0,
|
|
179
|
-
"top-forms-focusable": !0,
|
|
180
|
-
"top-disabled": r.disabled
|
|
181
|
-
}),
|
|
182
|
-
"data-top-icon": r.icon,
|
|
183
|
-
onClick: (h) => e.value = r.value
|
|
184
|
-
}, [
|
|
185
|
-
L(w(r.title) + " ", 1),
|
|
186
|
-
d.showIndicator ? (p(), v("span", he)) : A("", !0),
|
|
187
|
-
Q(E("input", {
|
|
188
|
-
"onUpdate:modelValue": c[0] || (c[0] = (h) => e.value = h),
|
|
189
|
-
name: y,
|
|
190
|
-
type: "radio",
|
|
191
|
-
class: C({
|
|
192
|
-
"top-unvisible": !0
|
|
193
|
-
}),
|
|
194
|
-
value: r.value,
|
|
195
|
-
disabled: r.disabled
|
|
196
|
-
}, null, 8, ge), [
|
|
197
|
-
[te, e.value]
|
|
198
|
-
])
|
|
199
|
-
], 10, ye))), 256))
|
|
200
|
-
], 2));
|
|
201
|
-
}
|
|
202
|
-
}), Ve = (n, a, e) => {
|
|
203
|
-
const l = V([]), f = V(!1);
|
|
204
|
-
let y = "", d;
|
|
205
|
-
n && !n.params.limit && (n.params.limit = 100);
|
|
206
|
-
const c = async () => {
|
|
207
|
-
if (!n) return;
|
|
208
|
-
let o, g;
|
|
209
|
-
if (e && (n.cache ??= /* @__PURE__ */ new Map(), g = JSON.stringify(n.params), o = n.cache.get(g), o))
|
|
210
|
-
return o;
|
|
211
|
-
if (f.value = !0, o = await n.call(), f.value = !1, o.errors) return;
|
|
212
|
-
if (!Array.isArray(o.result)) {
|
|
213
|
-
console.warn("В result ожидался массив");
|
|
214
|
-
return;
|
|
215
|
-
}
|
|
216
|
-
const K = o.result.findIndex((P) => P.id === void 0 || P.name === void 0);
|
|
217
|
-
if (K !== -1) {
|
|
218
|
-
console.warn(`В result[${K}] нет id или name`);
|
|
219
|
-
return;
|
|
220
|
-
}
|
|
221
|
-
return e && n.cache.set(g, o), o;
|
|
222
|
-
}, r = async () => {
|
|
223
|
-
if (!n) return;
|
|
224
|
-
n.params.offset = 0, n.params.search = y;
|
|
225
|
-
const o = await c();
|
|
226
|
-
o && (d = o.nextOffset, l.value = o.result);
|
|
227
|
-
}, h = async () => {
|
|
228
|
-
if (!n || !d || f.value) return;
|
|
229
|
-
n.params.offset = d, n.params.search = y;
|
|
230
|
-
const o = await c();
|
|
231
|
-
o && (d = o.nextOffset, l.value = l.value.concat(o.result));
|
|
232
|
-
}, T = se(() => r(), 200);
|
|
233
|
-
return {
|
|
234
|
-
items: l,
|
|
235
|
-
isLoading: f,
|
|
236
|
-
loadAppend: h,
|
|
237
|
-
setSearchTextAndLoad: (o, g = !0) => {
|
|
238
|
-
n && (o.length < a || o === y && l.value.length || (y = o, g ? T() : r()));
|
|
239
|
-
}
|
|
240
|
-
};
|
|
241
|
-
}, Ae = { class: "top-selector2_itemMulti top-ellipsis" }, Te = /* @__PURE__ */ _({
|
|
242
|
-
__name: "itemMulti",
|
|
243
|
-
props: {
|
|
244
|
-
id: {},
|
|
245
|
-
name: {}
|
|
246
|
-
},
|
|
247
|
-
emits: ["delete"],
|
|
248
|
-
setup(n) {
|
|
249
|
-
return (a, e) => (p(), v("div", Ae, [
|
|
250
|
-
L(w(a.name) + " ", 1),
|
|
251
|
-
E("span", {
|
|
252
|
-
class: "top-selector2_itemMultiDelete",
|
|
253
|
-
"data-top-icon": "",
|
|
254
|
-
onClick: e[0] || (e[0] = (l) => a.$emit("delete", a.id)),
|
|
255
|
-
onMousedown: e[1] || (e[1] = S(() => {
|
|
256
|
-
}, ["stop"]))
|
|
257
|
-
}, null, 32)
|
|
258
|
-
]));
|
|
259
|
-
}
|
|
260
|
-
}), Ce = {
|
|
261
|
-
key: 0,
|
|
262
|
-
class: "top-selector2_activeItems"
|
|
263
|
-
}, we = {
|
|
264
|
-
key: 1,
|
|
265
|
-
class: "top-selector2_activeName top-ellipsis"
|
|
266
|
-
}, $e = /* @__PURE__ */ _({
|
|
267
|
-
__name: "selector2",
|
|
268
|
-
props: /* @__PURE__ */ G({
|
|
269
|
-
modelValue: {},
|
|
270
|
-
items: { default: () => [] },
|
|
271
|
-
multiselect: { type: Boolean },
|
|
272
|
-
disabled: { type: Boolean },
|
|
273
|
-
size: { default: "s" },
|
|
274
|
-
isError: { type: Boolean },
|
|
275
|
-
apiRequest: {},
|
|
276
|
-
minLength: { default: 0 },
|
|
277
|
-
useCache: { type: Boolean },
|
|
278
|
-
appendSearchToResult: { type: Boolean },
|
|
279
|
-
appendAllValue: { type: Boolean },
|
|
280
|
-
addChanger: { type: Boolean },
|
|
281
|
-
placeholder: {},
|
|
282
|
-
showSelectedInInput: { type: Boolean, default: !0 }
|
|
283
|
-
}, {
|
|
284
|
-
modelValue: {},
|
|
285
|
-
modelModifiers: {}
|
|
286
|
-
}),
|
|
287
|
-
emits: ["update:modelValue"],
|
|
288
|
-
setup(n) {
|
|
289
|
-
const a = n, e = j(n, "modelValue"), l = V(""), f = {
|
|
290
|
-
id: 0,
|
|
291
|
-
name: ne().Common.All
|
|
292
|
-
}, y = V(null), d = V(null), c = () => {
|
|
293
|
-
var t;
|
|
294
|
-
return (t = y.value) == null ? void 0 : t.popup;
|
|
295
|
-
};
|
|
296
|
-
window.__STORYBOOK_PREVIEW__ && !a.modelValue && I(
|
|
297
|
-
() => a.multiselect,
|
|
298
|
-
() => {
|
|
299
|
-
e.value = a.multiselect ? [] : { id: null, name: "" };
|
|
300
|
-
},
|
|
301
|
-
{ immediate: !0 }
|
|
302
|
-
);
|
|
303
|
-
const r = Ve(a.apiRequest, a.minLength, a.useCache), h = z(() => {
|
|
304
|
-
const t = [];
|
|
305
|
-
return !a.multiselect && a.appendAllValue && t.push(f), a.items.forEach((s) => t.push({ ...s })), t;
|
|
306
|
-
}), T = (t, s = !0) => s && t.id === null ? Array.isArray(e.value) ? e.value.some((m) => m.id === t.id && m.name === t.name) : t.name === e.value.name : Array.isArray(e.value) ? e.value.some((m) => m.id === t.id) : t.id === e.value.id, i = z(() => {
|
|
307
|
-
const t = l.value.toLowerCase(), s = ie(t);
|
|
308
|
-
let m = [];
|
|
309
|
-
return h.value.forEach((u) => {
|
|
310
|
-
const b = u.name.toLowerCase();
|
|
311
|
-
(u.id === Number(t) || b.includes(t) || b.includes(s)) && (b === t || b === s ? m.unshift(u) : m.push(u));
|
|
312
|
-
}), m.push(...r.items.value), a.appendSearchToResult && l.value && (!m.length || m[0].name.toLowerCase() !== t) && m.push({
|
|
313
|
-
id: null,
|
|
314
|
-
name: l.value
|
|
315
|
-
}), a.multiselect && (m = m.filter((u) => !T(u))), m;
|
|
316
|
-
}), o = V(r.isLoading.value);
|
|
317
|
-
I(r.isLoading, () => {
|
|
318
|
-
o.value = r.isLoading.value;
|
|
319
|
-
});
|
|
320
|
-
const g = async (t) => {
|
|
321
|
-
var s, m;
|
|
322
|
-
if (a.multiselect) {
|
|
323
|
-
if (!Array.isArray(e.value) || T(t))
|
|
324
|
-
return;
|
|
325
|
-
a.apiRequest && l.value && (o.value = !0);
|
|
326
|
-
const u = [...e.value];
|
|
327
|
-
u.push({ ...t }), e.value = u, re.state.isMobile ? ((s = c()) == null || s.close(), l.value && (l.value = "", r.items.value = [])) : setTimeout(() => {
|
|
328
|
-
var b, U, W, J;
|
|
329
|
-
(b = c()) == null || b.recalcPosition(), (J = (W = (U = c()) == null ? void 0 : U.elPopupWidget) == null ? void 0 : W.querySelector("input")) == null || J.focus(), l.value && (i.value.length ? a.apiRequest && (o.value = !1) : (l.value = "", r.items.value = []));
|
|
330
|
-
});
|
|
331
|
-
} else
|
|
332
|
-
l.value && (l.value = "", r.items.value = []), JSON.stringify(t) !== JSON.stringify(e.value) && (e.value = { ...t }), (m = c()) == null || m.close();
|
|
333
|
-
}, K = () => {
|
|
334
|
-
if (!Array.isArray(e.value)) {
|
|
335
|
-
const s = (h.value.findIndex((m) => m.id === e.value.id) + 1) % h.value.length;
|
|
336
|
-
e.value = { ...h.value[s] };
|
|
337
|
-
}
|
|
338
|
-
}, P = async (t) => {
|
|
339
|
-
Array.isArray(e.value) && (e.value = e.value.filter((s) => s.id !== t), setTimeout(() => {
|
|
340
|
-
var s;
|
|
341
|
-
(s = c()) == null || s.recalcPosition();
|
|
342
|
-
}));
|
|
343
|
-
}, M = V(!1);
|
|
344
|
-
a.apiRequest && (I(M, () => {
|
|
345
|
-
M.value && r.setSearchTextAndLoad(l.value, !1);
|
|
346
|
-
}), I(l, () => r.setSearchTextAndLoad(l.value)));
|
|
347
|
-
const Z = (t) => {
|
|
348
|
-
const s = t.target;
|
|
349
|
-
s.scrollTop / (s.scrollHeight - s.offsetHeight) > 0.8 && r.loadAppend();
|
|
350
|
-
};
|
|
351
|
-
return (t, s) => {
|
|
352
|
-
const m = oe("top-focus");
|
|
353
|
-
return p(), k(O(ue), {
|
|
354
|
-
ref_key: "popupRef",
|
|
355
|
-
ref: y,
|
|
356
|
-
onOpen: s[3] || (s[3] = (u) => M.value = !0),
|
|
357
|
-
onClose: s[4] || (s[4] = (u) => {
|
|
358
|
-
var b;
|
|
359
|
-
return M.value = !1, (b = d.value) == null ? void 0 : b.focus();
|
|
360
|
-
}),
|
|
361
|
-
onScrollContentList: s[5] || (s[5] = (u) => t.apiRequest ? Z(u) : void 0),
|
|
362
|
-
notch: !1,
|
|
363
|
-
transitionDuration: 0
|
|
364
|
-
}, {
|
|
365
|
-
opener: $(() => [
|
|
366
|
-
Q((p(), v("div", {
|
|
367
|
-
ref_key: "elRef",
|
|
368
|
-
ref: d,
|
|
369
|
-
class: C({
|
|
370
|
-
"top-selector2": !0,
|
|
371
|
-
"top-selector2-multiselect": t.multiselect,
|
|
372
|
-
["top-size_" + t.size]: !0,
|
|
373
|
-
"top-disabled": t.disabled,
|
|
374
|
-
"top-forms-focusable": !t.disabled,
|
|
375
|
-
"top-error": t.isError
|
|
376
|
-
}),
|
|
377
|
-
onKeydown: [
|
|
378
|
-
s[0] || (s[0] = B(S((u) => u.currentTarget.click(), ["stop", "prevent"]), ["up", "down", "enter", "space"])),
|
|
379
|
-
s[1] || (s[1] = B((u) => e.value = [], ["delete"]))
|
|
380
|
-
],
|
|
381
|
-
tabindex: "0"
|
|
382
|
-
}, [
|
|
383
|
-
t.multiselect ? (p(), v("div", Ce, [
|
|
384
|
-
(p(!0), v(N, null, D(e.value, (u) => (p(), k(Te, {
|
|
385
|
-
id: u.id,
|
|
386
|
-
name: u.name,
|
|
387
|
-
onDelete: P
|
|
388
|
-
}, null, 8, ["id", "name"]))), 256))
|
|
389
|
-
])) : A("", !0),
|
|
390
|
-
t.multiselect ? A("", !0) : (p(), v("span", we, w(Array.isArray(e.value) ? "" : e.value.name), 1)),
|
|
391
|
-
t.addChanger && !t.multiselect && h.value.length > 1 && !t.disabled ? (p(), v("span", {
|
|
392
|
-
key: 2,
|
|
393
|
-
class: "top-changer top-changer-selector",
|
|
394
|
-
onClick: S(K, ["stop"])
|
|
395
|
-
})) : A("", !0)
|
|
396
|
-
], 34)), [
|
|
397
|
-
[
|
|
398
|
-
m,
|
|
399
|
-
t.isError,
|
|
400
|
-
void 0,
|
|
401
|
-
{ onupdate: !0 }
|
|
402
|
-
]
|
|
403
|
-
])
|
|
404
|
-
]),
|
|
405
|
-
widget: $(() => [
|
|
406
|
-
R(O(de), {
|
|
407
|
-
title: "Поиск",
|
|
408
|
-
icon: "",
|
|
409
|
-
modelValue: l.value,
|
|
410
|
-
"onUpdate:modelValue": s[2] || (s[2] = (u) => l.value = u),
|
|
411
|
-
isLoading: o.value,
|
|
412
|
-
placeholder: !Array.isArray(e.value) && !t.multiselect && t.showSelectedInInput ? e.value.name : t.placeholder
|
|
413
|
-
}, null, 8, ["modelValue", "isLoading", "placeholder"])
|
|
414
|
-
]),
|
|
415
|
-
contentList: $(() => [
|
|
416
|
-
(p(!0), v(N, null, D(i.value, (u) => (p(), k(O(Y), {
|
|
417
|
-
class: C({
|
|
418
|
-
"top-active": !Array.isArray(e.value) && !t.multiselect && e.value.name === u.name
|
|
419
|
-
}),
|
|
420
|
-
key: u.id ?? void 0,
|
|
421
|
-
onClick: S((b) => g(u), ["stop"])
|
|
422
|
-
}, {
|
|
423
|
-
default: $(() => [
|
|
424
|
-
t.$slots.item ? H(t.$slots, "item", {
|
|
425
|
-
key: 0,
|
|
426
|
-
item: u
|
|
427
|
-
}) : (p(), v(N, { key: 1 }, [
|
|
428
|
-
L(w(u.name), 1)
|
|
429
|
-
], 64))
|
|
430
|
-
]),
|
|
431
|
-
_: 2
|
|
432
|
-
}, 1032, ["class", "onClick"]))), 128)),
|
|
433
|
-
!o.value && !i.value.length ? (p(), k(O(Y), {
|
|
434
|
-
key: 0,
|
|
435
|
-
type: "regular"
|
|
436
|
-
}, {
|
|
437
|
-
default: $(() => [
|
|
438
|
-
L(w(t.$i18n.Common.No_results), 1)
|
|
439
|
-
]),
|
|
440
|
-
_: 1
|
|
441
|
-
})) : A("", !0)
|
|
442
|
-
]),
|
|
443
|
-
_: 3
|
|
444
|
-
}, 512);
|
|
445
|
-
};
|
|
446
|
-
}
|
|
447
|
-
}), ke = ["data-top-icon"], Se = { class: "top-info_text" }, Ie = {
|
|
448
|
-
key: 0,
|
|
449
|
-
class: "top-info_value"
|
|
450
|
-
}, Be = /* @__PURE__ */ _({
|
|
451
|
-
__name: "info",
|
|
452
|
-
props: {
|
|
453
|
-
icon: {},
|
|
454
|
-
styling: { default: "default" },
|
|
455
|
-
size: { default: "default" }
|
|
456
|
-
},
|
|
457
|
-
setup(n) {
|
|
458
|
-
return (a, e) => (p(), v("div", {
|
|
459
|
-
class: C({
|
|
460
|
-
"top-info": !0,
|
|
461
|
-
["top-size_" + a.size]: !0,
|
|
462
|
-
["top-info-styling_" + a.styling]: !0
|
|
463
|
-
}),
|
|
464
|
-
"data-top-icon": a.icon
|
|
465
|
-
}, [
|
|
466
|
-
E("div", Se, [
|
|
467
|
-
H(a.$slots, "default")
|
|
468
|
-
]),
|
|
469
|
-
a.$slots.additional ? (p(), v("span", Ie, [
|
|
470
|
-
H(a.$slots, "additional")
|
|
471
|
-
])) : A("", !0)
|
|
472
|
-
], 10, ke));
|
|
473
|
-
}
|
|
474
|
-
}), Oe = me, Ne = ve, ze = be, Ge = $e, De = pe, He = Be;
|
|
475
|
-
export {
|
|
476
|
-
Oe as TopEditArea,
|
|
477
|
-
Ne as TopEditInput,
|
|
478
|
-
He as TopInfo,
|
|
479
|
-
De as TopMenu,
|
|
480
|
-
ze as TopRadioGroup,
|
|
481
|
-
Ge as TopSelector2
|
|
482
|
-
};
|
|
483
|
-
//# sourceMappingURL=formsExt.js.map
|
package/formsExt/formsExt.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"formsExt.js","sources":["../../src/components/formsExt/editArea/editArea.vue","../../src/components/formsExt/editInput/editInput.vue","../../src/components/formsExt/radioGroup/radioGroup.vue","../../src/components/formsExt/selector2/api.ts","../../src/components/formsExt/selector2/selector2.vue","../../src/components/formsExt/formsExt.ts"],"sourcesContent":["<script setup lang=\"ts\">\nimport { computed, ref } from 'vue';\nimport Button from '@/components/forms/button/button.vue';\nimport type { Emits, Props } from './editArea';\nimport Textarea from '@/components/forms/textarea/textarea.vue';\n\n// TODO: добавить переменную top-forms-fixed-height и использовать ее при добавлении отступов у страницы\n\nconst props = withDefaults(defineProps<Props>(), {\n\tdefaultValue: '',\n\tcancelText: 'Cancel',\n\tsubmitText: 'Send',\n\tcloseText: 'Close',\n\texpandable: true,\n});\n\nconst emit = defineEmits<Emits>();\n\nconst localValue = ref(props.defaultValue);\n\nconst isFocused = ref(props.isFocused);\n\nconst isChanged = computed(() => localValue.value !== props.defaultValue);\n\nconst cancelBtnText = computed(() => {\n\tif (props.attachToKeyboard) return '';\n\n\tif (props.forceShowCloseBtn && !isChanged.value) return props.closeText;\n\n\treturn props.cancelText;\n});\n\nconst submit = (value: string) => {\n\temit('submit', value);\n\n\tlocalValue.value = props.defaultValue;\n};\n\nconst cancel = () => {\n\tif (props.forceShowCloseBtn && !isChanged.value) {\n\t\temit('close');\n\n\t\treturn;\n\t}\n\n\tlocalValue.value = props.defaultValue;\n};\n\nconst clickOnTitle = () => {\n\tif (props.attachToKeyboard) emit('clickOnTitle');\n};\n</script>\n\n<template>\n\t<div\n\t\t:class=\"{\n\t\t\t'top-editArea': true,\n\t\t\t'top-editArea-attachedToKeyboard': attachToKeyboard,\n\t\t}\"\n\t>\n\t\t<div\n\t\t\tv-if=\"title\"\n\t\t\tclass=\"top-editArea_title\"\n\t\t\t@click=\"clickOnTitle()\"\n\t\t>\n\t\t\t{{ title }}\n\t\t</div>\n\n\t\t<div\n\t\t\t:class=\"{\n\t\t\t\t'top-editArea_form': true,\n\t\t\t\t'top-error': isError,\n\t\t\t\t'top-focus': isFocused,\n\t\t\t}\"\n\t\t>\n\t\t\t<Textarea\n\t\t\t\tv-model=\"localValue\"\n\t\t\t\t:name=\"name\"\n\t\t\t\t:placeholder=\"placeholder\"\n\t\t\t\t:rows=\"rows\"\n\t\t\t\t:minHeight=\"minHeight\"\n\t\t\t\t:expandable=\"expandable\"\n\t\t\t\t:disabled=\"disabled\"\n\t\t\t\t:readonly=\"readonly\"\n\t\t\t\t:isError=\"isError\"\n\t\t\t\t:hint=\"hint\"\n\t\t\t\tclass=\"top-editArea_element\"\n\t\t\t\t@focus=\"() => isFocused = true\"\n\t\t\t\t@blur=\"() => isFocused = false\"\n\t\t\t\t@keyup.esc=\"cancel\"\n\t\t\t\t@keyup.ctrl.enter=\"submit(localValue)\"\n\t\t\t/>\n\n\t\t\t<div class=\"top-editArea_footer\">\n\t\t\t\t<Button\n\t\t\t\t\tv-if=\"!attachToKeyboard && (isChanged || forceShowCloseBtn)\"\n\t\t\t\t\tclass=\"top-editArea_button\"\n\t\t\t\t\tcolor=\"theme\"\n\t\t\t\t\tstyling=\"soft\"\n\t\t\t\t\t@click=\"cancel\"\n\t\t\t\t>\n\t\t\t\t\t{{ cancelBtnText }}\n\t\t\t\t</Button>\n\n\t\t\t\t<Button\n\t\t\t\t\tclass=\"top-editArea_button\"\n\t\t\t\t\tv-if=\"isChanged\"\n\t\t\t\t\t:icon=\"attachToKeyboard ? '': ''\"\n\t\t\t\t\t@click=\"submit(localValue)\"\n\t\t\t\t>\n\t\t\t\t\t{{ attachToKeyboard ? '' : submitText }}\n\t\t\t\t</Button>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</template>\n\n<style>\n.top-editArea {\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: 6px;\n}\n\n.top-editArea_title {\n\tfont-size: 12px;\n}\n\n.top-editArea_form {\n\tflex-direction: column;\n\toutline: none;\n}\n\n.top-editArea_form:not(.top-error):hover,\n.top-editArea_form:not(.top-error).top-focus {\n\tborder-color: var(--top-forms-border-color-hover);\n}\n\n/* textarea в EditArea */\n.top-textarea {\n\twidth: 100%;\n}\n\n.top-editArea_element.top-textarea_textarea {\n\tborder: none;\n\toutline: none;\n\tanimation: none;\n}\n\n/* footer */\n.top-editArea_footer {\n\tpadding: var(--top-forms-padding);\n\tdisplay: flex;\n\tmin-height: 32px;\n\tjustify-content: flex-end;\n\tgap: var(--top-forms-padding);\n}\n\n/* attachedToKeyboard */\n.top-editArea-attachedToKeyboard {\n\tbackground: var(--top-forms-background-color);\n\tmargin-bottom: env(keyboard-inset-height, 0);\n\tposition: fixed;\n\tbottom: 0;\n\tright: 0;\n\tleft: 0;\n\tz-index: 2;\n\tgap: 0;\n}\n\n.top-editArea-attachedToKeyboard .top-editArea_form {\n\tborder-radius: 0;\n\tborder: none;\n\tborder-top: 1px solid var(--top-forms-border-color);\n}\n\n.top-editArea-attachedToKeyboard .top-editArea_title {\n\tcursor: pointer;\n\tborder-top: 1px solid var(--color-line-2-opacity);\n\tpadding: var(--top-forms-padding);\n}\n\n.top-editArea-attachedToKeyboard .top-editArea_footer > [data-top-icon] {\n\tborder-radius: 100%;\n}\n\n.top-editArea-attachedToKeyboard .top-button.top-editArea_button {\n\tmin-width: auto;\n\tpadding: 0;\n}\n\n.top-editArea-attachedToKeyboard .top-button.top-editArea_button:before {\n\t--top-icon-size: 18px;\n}\n</style>\n","<script setup lang=\"ts\">\nimport { ref, toRef, watch } from 'vue';\nimport type { Emits, Props } from './editInput';\nimport TopInput from '@/components/forms/input/input.vue';\nimport TopButton from '@/components/forms/button/button.vue';\n\nconst props = defineProps<Props>();\n\nconst intermediateValue = ref(props.modelValue);\n\nwatch(toRef(props.modelValue), () => {\n\tintermediateValue.value = props.modelValue;\n});\n\nconst emit = defineEmits<Emits>();\n\nconst submit = () => {\n\temit('update:modelValue', intermediateValue.value);\n};\n</script>\n\n<template>\n\t<div class=\"top-editInput\">\n\t\t<TopInput\n\t\t\t:=\"input\"\n\t\t\t@keydown.esc.capture.stop=\"intermediateValue = modelValue\"\n\t\t\t@keydown.enter.stop=\"submit\"\n\t\t\tv-model=\"intermediateValue\"\n\t\t/>\n\n\t\t<TopButton\n\t\t\tv-if=\"intermediateValue !== modelValue\"\n\t\t\ticon=\"\"\n\t\t\tstyling=\"soft\"\n\t\t\t:=\"button\"\n\t\t\t@click=\"submit\"\n\t\t/>\n\t</div>\n</template>\n\n<style>\n.top-editInput {\n\twidth: 220px;\n\tflex-grow: 1;\n\tdisplay: flex;\n\talign-items: flex-end;\n\tgap: var(--top-gap-1);\n}\n\n.top-editInput .top-input {\n\twidth: unset;\n\tflex-grow: 1;\n}\n</style>\n","<script setup lang=\"ts\">\nimport type { Ref } from '@vue/reactivity';\nimport { ref, watch } from 'vue';\nimport type { Props, Emits } from './radioGroup';\n\nconst model = defineModel<string>({\n\trequired: true,\n});\n\nconst props = withDefaults(defineProps<Props>(), {\n\tsize: 's',\n});\n\nconst emit = defineEmits<Emits>();\n\nconst elRef: Ref<HTMLElement | null> = ref(null);\n\nwatch(model, () => {\n\tif (!props.radiosProps?.some(item => item.value === model.value)) {\n\t\tmodel.value = props.radiosProps?.[0]?.value ?? '';\n\t}\n\n\telRef.value?.querySelector('.radioGroup_item-selected')?.scrollIntoView();\n}, { immediate: true });\n\nconst uid = 'radioGroup-' + Math.random();\n</script>\n\n<template>\n\t<div\n\t\tref=\"elRef\"\n\t\t:class=\"{\n\t\t\t['top-radioGroup']: true,\n\t\t\t['top-scrollBarXHidding']: true,\n\t\t\t['top-size_' + size]: !!size,\n\t\t\t['top-error']: isError,\n\t\t}\"\n\t>\n\t\t<label\n\t\t\tv-for=\"item of radiosProps\"\n\t\t\t:class=\"{\n\t\t\t\t['top-radioGroup_item-selected']: item.value === model,\n\t\t\t\t['top-radioGroup_item']: true,\n\t\t\t\t['top-forms-focusable']: true,\n\t\t\t\t['top-disabled']: item.disabled,\n\t\t\t}\"\n\t\t\t:data-top-icon=\"item.icon\"\n\t\t\t@click=\"model = item.value\"\n\t\t>\n\t\t\t{{ item.title }}\n\n\t\t\t<span\n\t\t\t\tv-if=\"showIndicator\"\n\t\t\t\tclass=\"top-radioGroup_circle\"\n\t\t\t></span>\n\n\t\t\t<!-- Для нативной навигации -->\n\t\t\t<input\n\t\t\t\tv-model=\"model\"\n\t\t\t\t:name=\"uid\"\n\t\t\t\ttype=\"radio\"\n\t\t\t\t:class=\"{\n\t\t\t\t\t['top-unvisible']: true,\n\t\t\t\t}\"\n\t\t\t\t:value=\"item.value\"\n\t\t\t\t:disabled=\"item.disabled\"\n\t\t\t/>\n\t\t</label>\n\t</div>\n</template>\n\n<style>\n@import \"./styles/top-scrollBar.css\";\n\n.top-radioGroup {\n\tuser-select: none;\n\tbox-sizing: border-box;\n\tborder-radius: 8px;\n\tbackground-color: var(--color-layout-middle);\n\theight: var(--top-forms-base-height);\n\tpadding: 2px;\n\tgap: 2px;\n\tdisplay: flex;\n\talign-items: flex-start;\n}\n\n.top-radioGroup_item {\n\tcolor: var(--color-text-2);\n\tcursor: pointer;\n\tbox-sizing: border-box;\n\tborder-radius: 6px;\n\theight: calc(var(--top-forms-base-height) - 4px);\n\tpadding: 0 16px;\n\tfont-weight: 400;\n\twhite-space: nowrap;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\tflex-grow: 1;\n\tgap: 4px;\n}\n\n.top-radioGroup_item:hover {\n\tbackground-color: var(--color-layout-front-1);\n\tbox-shadow: 0px 4px 32px 0px rgba(4, 9, 84, 0.10), 0px 0px 4px 0px rgba(4, 9, 84, 0.08);\n}\n\n/* selected */\n.top-radioGroup_item-selected {\n\tcolor: var(--color-text-1);\n\tpointer-events: none;\n\tbackground-color: var(--color-bg-lightning-1);\n\tbox-shadow: 0px 4px 32px 0px rgba(4, 9, 84, 0.10), 0px 0px 4px 0px rgba(4, 9, 84, 0.08);\n}\n\n/* circle */\n.top-radioGroup_circle {\n\tcontent: \"\";\n\tbox-sizing: border-box;\n\tborder: 1px solid var(--color-line-3-opacity);\n\tborder-radius: 50%;\n\tpadding: 3px;\n\tmargin-left: auto;\n\twidth: calc(var(--top-forms-option-height) - 3px * 2);\n\theight: calc(var(--top-forms-option-height) - 3px * 2);\n}\n\n.top-radioGroup_item:hover .top-radioGroup_circle:before {\n\tborder-color: var(--color-line-primary-1);\n}\n\n/* circle selected */\n.top-radioGroup_item-selected .top-radioGroup_circle {\n\tborder-color: var(--color-line-primary-1);\n\tborder-width: 5px;\n}\n\n.top-radioGroup_item-selected:hover .top-radioGroup_circle {\n\tborder-color: var(--color-line-primary-1);\n}\n\n/* top-error */\n.top-radioGroup.top-error .top-radioGroup_item:not(.top-disabled) .top-radioGroup_circle {\n\tborder-color: var(--color-line-negative-1);\n}\n</style>\n","import type { Ref } from 'vue';\nimport { ref } from 'vue';\nimport { debounce } from '@/core/utils/lodash';\nimport type { Item, Props } from './selector2';\n\nexport const useAPI = (apiRequest: Props['apiRequest'], minLength: number, useCache: Props['useCache']) => {\n\t/**\n\t * Список, полученный через API\n\t */\n\tconst items: Ref<Array<Item>> = ref([]);\n\n\t/**\n\t * Флаг - идет загрузка\n\t */\n\tconst isLoading = ref(false);\n\n\tlet _searchText = '';\n\tlet _nextOffset: number | undefined;\n\n\tif (apiRequest && !apiRequest.params.limit) {\n\t\tapiRequest.params.limit = 100;\n\t}\n\n\t/**\n\t * Выполнить обращение к API\n\t *\n\t * При ошибке вернет undefined\n\t */\n\tconst callAPIRequest = async (): Promise<{ nextOffset?: number, result: Array<Item> } | undefined> => {\n\t\tif (!apiRequest) return;\n\n\t\tlet res;\n\t\tlet cacheKey;\n\n\t\tif (useCache) {\n\t\t\t// кэш для полученных ответов через apiRequest\n\t\t\t// общий для всех компонентов, использующих apiRequest\n\t\t\tapiRequest.cache ??= new Map();\n\n\t\t\tcacheKey = JSON.stringify(apiRequest.params);\n\t\t\tres = apiRequest.cache.get(cacheKey);\n\n\t\t\tif (res) {\n\t\t\t\treturn res;\n\t\t\t}\n\t\t}\n\n\t\tisLoading.value = true;\n\t\tres = await apiRequest.call();\n\t\tisLoading.value = false;\n\n\t\tif (res.errors) return;\n\n\t\tif (!Array.isArray(res.result)) {\n\t\t\tconsole.warn(`В result ожидался массив`);\n\n\t\t\treturn;\n\t\t}\n\n\t\tconst indexWithError = (res.result as Array<Item | any>).findIndex(item => item.id === undefined || item.name === undefined);\n\t\tif (indexWithError !== -1) {\n\t\t\tconsole.warn(`В result[${indexWithError}] нет id или name`);\n\n\t\t\treturn;\n\t\t}\n\n\t\tif (useCache) {\n\t\t\tapiRequest.cache.set(cacheKey as string, res);\n\t\t}\n\n\t\treturn res;\n\t};\n\n\t/**\n\t * Загрузить items\n\t */\n\tconst load = async () => {\n\t\tif (!apiRequest) return;\n\n\t\tapiRequest.params.offset = 0;\n\t\tapiRequest.params.search = _searchText;\n\n\t\tconst res = await callAPIRequest();\n\t\tif (!res) return;\n\n\t\t_nextOffset = res.nextOffset;\n\n\t\titems.value = res.result;\n\t};\n\n\t/**\n\t * Загрузить следующую страницу items\n\t */\n\tconst loadAppend = async () => {\n\t\tif (!apiRequest) return;\n\n\t\t// данных о следующих страницах не обнаружено\n\t\tif (!_nextOffset) return;\n\n\t\t// дозагружать нельзя, если не завершена предыдущшая загрузка\n\t\tif (isLoading.value) return;\n\n\t\tapiRequest.params.offset = _nextOffset;\n\t\tapiRequest.params.search = _searchText;\n\n\t\tconst res = await callAPIRequest();\n\t\tif (!res) return;\n\n\t\t_nextOffset = res.nextOffset;\n\n\t\titems.value = items.value.concat(res.result);\n\t};\n\n\tconst loadDebounce = debounce(() => load(), 200);\n\n\t/**\n\t * Выполнить поиск по указанному тексту\n\t *\n\t * Если длина текста меньше minLength, поиск не будет проивзеден\n\t *\n\t * Если текст не изменился, поиск не будет проивзеден\n\t * @param searchText - текст поиска\n\t * @param useDebounce - отложенное выполнение поиска\n\t */\n\tconst setSearchTextAndLoad = (searchText: string, useDebounce = true) => {\n\t\tif (!apiRequest) return;\n\n\t\tif (searchText.length < minLength) return;\n\n\t\t// условия поиска не поменялись, данные загружены\n\t\tif (searchText === _searchText && items.value.length) return;\n\n\t\t_searchText = searchText;\n\n\t\tif (useDebounce) {\n\t\t\tloadDebounce();\n\t\t} else {\n\t\t\tvoid load();\n\t\t}\n\t};\n\n\treturn {\n\t\titems,\n\t\tisLoading,\n\t\tloadAppend,\n\t\tsetSearchTextAndLoad,\n\t};\n};\n","<script setup lang=\"ts\">\nimport type { ComputedRef, ModelRef, ComponentInstance } from 'vue';\nimport { computed, ref, watch } from 'vue';\nimport Core from '@/core/core/core';\nimport { invertKeyboardLayout } from '@/core/utils/keyboard';\nimport { useI18n } from '@/core/plugins/i18n';\nimport { TopPopup, TopPopupListItem, TopPopupWidgetInput } from '@/components/popup/popup';\nimport type PopupClass from '@/components/popup/lib/popup';\nimport type { Item, Props, Slots } from './selector2';\nimport { useAPI } from './api';\nimport Selector2ItemMulti from './itemMulti.vue';\n\nconst props = withDefaults(defineProps<Props>(), {\n\titems: () => [] as Array<Item>,\n\tsize: 's',\n\tminLength: 0,\n\tshowSelectedInInput: true,\n});\n\nconst model = defineModel<Props['modelValue']>() as ModelRef<Props['modelValue']>;\n\ndefineSlots<Slots>();\n\n/**\n * Текст поиска по результатам\n */\nconst searchText = ref('');\n\nconst itemAll = {\n\tid: 0,\n\tname: useI18n().Common.All!,\n};\n\n/**\n * Экземпляр компонента Popup\n */\nconst popupRef = ref<ComponentInstance<typeof TopPopup> | null>(null);\n\n/**\n * Основной элемент селектора\n */\nconst elRef = ref<HTMLElement | null>(null);\n\n/**\n * Получить доступ к объекту popup\n */\nconst getPopup = (): PopupClass | undefined => {\n\treturn popupRef.value?.popup;\n};\n\n// для storybook\nif ((window as any).__STORYBOOK_PREVIEW__ && !props.modelValue) {\n\twatch(\n\t\t() => props.multiselect,\n\t\t() => {\n\t\t\tmodel.value = props.multiselect ? [] : { id: null, name: '' };\n\t\t},\n\t\t{ immediate: true },\n\t);\n}\n\nconst API = useAPI(props.apiRequest, props.minLength, props.useCache);\n\n/**\n * Варианты выбора: props.items + \"Выбрать все\"\n */\nconst localItems: ComputedRef<Array<Item>> = computed(() => {\n\tconst items: Array<Item> = [];\n\n\tif (!props.multiselect && props.appendAllValue) {\n\t\titems.push(itemAll);\n\t}\n\n\tprops.items.forEach(item => items.push({ ...item }));\n\n\treturn items;\n});\n\n/**\n * Проверить, что элемент выбран\n */\nconst isSelected = (item: Item, checkNameForNullId = true) => {\n\tif (checkNameForNullId && item.id === null) {\n\t\tif (Array.isArray(model.value)) {\n\t\t\treturn model.value.some(itemSelected => itemSelected.id === item.id && itemSelected.name === item.name);\n\t\t} else {\n\t\t\treturn item.name === model.value.name;\n\t\t}\n\t}\n\n\tif (Array.isArray(model.value)) {\n\t\treturn model.value.some(itemSelected => itemSelected.id === item.id);\n\t} else {\n\t\treturn item.id === model.value.id;\n\t}\n};\n\n/**\n * Варианты выбора, которые выводятся\n */\nconst itemsForShow = computed(() => {\n\tconst searchString = searchText.value.toLowerCase();\n\tconst searchStringInvertKeyboard = invertKeyboardLayout(searchString);\n\n\tlet items: typeof localItems.value = [];\n\n\tlocalItems.value.forEach((item) => {\n\t\tconst itemName = item.name.toLowerCase();\n\n\t\tif (\n\t\t\titem.id === Number(searchString) ||\n\t\t\titemName.includes(searchString) ||\n\t\t\titemName.includes(searchStringInvertKeyboard)\n\t\t) {\n\t\t\tif (itemName === searchString || itemName === searchStringInvertKeyboard) {\n\t\t\t\titems.unshift(item);\n\t\t\t} else {\n\t\t\t\titems.push(item);\n\t\t\t}\n\t\t}\n\t});\n\n\titems.push(...API.items.value);\n\n\tif (\n\t\tprops.appendSearchToResult &&\n\t\t!!searchText.value &&\n\t\t(!items.length || items[0].name.toLowerCase() !== searchString)\n\t) {\n\t\titems.push({\n\t\t\tid: null,\n\t\t\tname: searchText.value,\n\t\t});\n\t}\n\n\tif (props.multiselect) {\n\t\titems = items.filter(item => !isSelected(item));\n\t}\n\n\treturn items;\n});\n\n/**\n * Флаг - идет загрузка\n *\n * Скрывает вывод заглушки \"Нет результатов\" - для загрузки данных через API (multiselect = true) - (см. selectItem)\n */\nconst isLoading = ref(API.isLoading.value);\n\nwatch(API.isLoading, () => {\n\tisLoading.value = API.isLoading.value;\n});\n\n/**\n * Выбрать значение\n *\n * Управляет закрытием окна\n */\nconst selectItem = async (item: Item) => {\n\tif (props.multiselect) {\n\t\tif (!Array.isArray(model.value)) return;\n\n\t\tif (isSelected(item)) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (props.apiRequest && searchText.value) {\n\t\t\tisLoading.value = true;\n\t\t}\n\n\t\tconst newModel = [...model.value];\n\t\tnewModel.push({ ...item });\n\t\tmodel.value = newModel;\n\n\t\tif (Core.state.isMobile) {\n\t\t\tgetPopup()?.close();\n\n\t\t\t// сбросить введенный текст\n\t\t\tif (searchText.value) {\n\t\t\t\tsearchText.value = '';\n\t\t\t\tAPI.items.value = [];\n\t\t\t}\n\t\t} else {\n\t\t\tsetTimeout(() => {\n\t\t\t\tgetPopup()?.recalcPosition();\n\t\t\t\tgetPopup()?.elPopupWidget?.querySelector('input')?.focus();\n\n\t\t\t\t// сбросить введенный текст, только если больше не найдено результатов\n\t\t\t\tif (searchText.value) {\n\t\t\t\t\tif (!itemsForShow.value.length) {\n\t\t\t\t\t\tsearchText.value = '';\n\t\t\t\t\t\tAPI.items.value = [];\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (props.apiRequest) {\n\t\t\t\t\t\t\tisLoading.value = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t} else {\n\t\t// сбросить введенный текст\n\t\tif (searchText.value) {\n\t\t\tsearchText.value = '';\n\t\t\tAPI.items.value = [];\n\t\t}\n\n\t\tif (JSON.stringify(item) !== JSON.stringify(model.value)) {\n\t\t\tmodel.value = { ...item };\n\t\t}\n\n\t\tgetPopup()?.close();\n\t}\n};\n\n/**\n * Выбрать следующее значение\n */\nconst selectNextItem = () => {\n\tif (!Array.isArray(model.value)) {\n\t\tconst currentIndex = localItems.value.findIndex(item => item.id === (model.value as Item).id);\n\t\tconst nextIndex = (currentIndex + 1) % localItems.value.length;\n\t\tmodel.value = { ...localItems.value[nextIndex] };\n\t}\n};\n\n/**\n * Удалить выбранное значение по id\n * @param id\n */\nconst deleteItemById = async (id: Item['id']) => {\n\tif (Array.isArray(model.value)) {\n\t\tmodel.value = model.value.filter(item => item.id !== id);\n\n\t\tsetTimeout(() => {\n\t\t\tgetPopup()?.recalcPosition();\n\t\t});\n\t}\n};\n\nconst isOpened = ref(false); // флаг попап открыт\n\nif (props.apiRequest) {\n\twatch(isOpened, () => {\n\t\tif (isOpened.value) {\n\t\t\t// при открытии сразу выполнить поиск\n\t\t\tAPI.setSearchTextAndLoad(searchText.value, false);\n\t\t}\n\t});\n\n\t// отложенный поиск при вводе текста\n\twatch(searchText, () => API.setSearchTextAndLoad(searchText.value));\n}\n\nconst onScrollContentList = (e: Event) => {\n\tconst el = e.target as HTMLElement;\n\n\tif (el.scrollTop / (el.scrollHeight - el.offsetHeight) > 0.8) {\n\t\tAPI.loadAppend();\n\t}\n};\n</script>\n\n<template>\n\t<TopPopup\n\t\tref=\"popupRef\"\n\t\t@open=\"isOpened = true\"\n\t\t@close=\"isOpened = false, elRef?.focus()\"\n\t\t@scrollContentList=\"apiRequest ? onScrollContentList($event) : undefined\"\n\t\t:notch=\"false\"\n\t\t:transitionDuration=\"0\"\n\t>\n\t\t<template #opener>\n\t\t\t<div\n\t\t\t\tref=\"elRef\"\n\t\t\t\tv-top-focus.onupdate=\"isError\"\n\t\t\t\t:class=\"{\n\t\t\t\t\t'top-selector2' : true,\n\t\t\t\t\t'top-selector2-multiselect': multiselect,\n\t\t\t\t\t['top-size_' + size]: true,\n\t\t\t\t\t['top-disabled']: disabled,\n\t\t\t\t\t['top-forms-focusable']: !disabled,\n\t\t\t\t\t['top-error']: isError,\n\t\t\t\t}\"\n\t\t\t\t@keydown.up.down.enter.space.stop.prevent=\"($event.currentTarget as HTMLElement).click()\"\n\t\t\t\t@keydown.delete=\"model = []\"\n\t\t\t\ttabindex=\"0\"\n\t\t\t>\n\t\t\t\t<template v-if=\"multiselect\">\n\t\t\t\t\t<div class=\"top-selector2_activeItems\">\n\t\t\t\t\t\t<Selector2ItemMulti\n\t\t\t\t\t\t\tv-for=\"item of model as Array<Item>\"\n\t\t\t\t\t\t\t:id=\"item.id\"\n\t\t\t\t\t\t\t:name=\"item.name\"\n\t\t\t\t\t\t\t@delete=\"deleteItemById\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</div>\n\t\t\t\t</template>\n\n\t\t\t\t<span v-if=\"!multiselect\" class=\"top-selector2_activeName top-ellipsis\">\n\t\t\t\t\t{{ !Array.isArray(model) ? model.name : '' }}\n\t\t\t\t</span>\n\n\t\t\t\t<span\n\t\t\t\t\tv-if=\"addChanger && !multiselect && localItems.length > 1 && !disabled\"\n\t\t\t\t\tclass=\"top-changer top-changer-selector\"\n\t\t\t\t\t@click.stop=\"selectNextItem\"\n\t\t\t\t></span>\n\t\t\t</div>\n\t\t</template>\n\n\t\t<template #widget>\n\t\t\t<TopPopupWidgetInput\n\t\t\t\ttitle=\"Поиск\"\n\t\t\t\ticon=\"\"\n\t\t\t\tv-model=\"searchText\"\n\t\t\t\t:isLoading=\"isLoading\"\n\t\t\t\t:placeholder=\"!Array.isArray(model) && !multiselect && showSelectedInInput ? model.name : placeholder\"\n\t\t\t/>\n\t\t</template>\n\n\t\t<template #contentList>\n\t\t\t<TopPopupListItem\n\t\t\t\tv-for=\"item of itemsForShow\"\n\t\t\t\t:class=\"{\n\t\t\t\t\t'top-active': !Array.isArray(model) && !multiselect && model.name === item.name\n\t\t\t\t}\"\n\t\t\t\t:key=\"item.id ?? undefined\"\n\t\t\t\t@click.stop=\"selectItem(item)\"\n\t\t\t>\n\t\t\t\t<slot\n\t\t\t\t\tv-if=\"$slots.item\"\n\t\t\t\t\tname=\"item\"\n\t\t\t\t\t:item=\"item\"\n\t\t\t\t></slot>\n\n\t\t\t\t<template\n\t\t\t\t\tv-else\n\t\t\t\t>\n\t\t\t\t\t{{ item.name }}\n\t\t\t\t</template>\n\t\t\t</TopPopupListItem>\n\n\t\t\t<TopPopupListItem\n\t\t\t\tv-if=\"!isLoading && !itemsForShow.length\"\n\t\t\t\ttype=\"regular\"\n\t\t\t>\n\t\t\t\t{{ $i18n.Common.No_results }}\n\t\t\t</TopPopupListItem>\n\t\t</template>\n\t</TopPopup>\n</template>\n\n<style>\n.top-selector2 {\n\twidth: 180px;\n\tmin-height: var(--top-forms-base-height);\n\tbox-sizing: border-box;\n\tposition: relative;\n\tdisplay: flex;\n\toverflow: hidden;\n\tpadding: var(--top-padding-1) var(--top-forms-padding);\n\tcolor: var(--top-forms-placeholder-color);\n\n\tborder-radius: var(--top-radius-2);\n\tborder: 1px solid var(--top-forms-border-color);\n\tbackground: var(--top-forms-background-color);\n}\n\n.top-selector2-multiselect {\n\twidth: unset;\n\tmin-width: 180px;\n\tpadding: var(--top-padding-1);\n}\n\n.top-selector2.top-active {\n\t--top-forms-border-color: var(--top-forms-border-color-hover);\n}\n\n.top-selector2_activeItems {\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\tgap: var(--top-padding-1);\n\tmax-width: 100%;\n}\n\n.top-selector2_activeName {\n\twhite-space: nowrap;\n}\n\n.top-changer-selector {\n\ttransform: translateX(-16px);\n}\n</style>\n","import type { ComponentCustomProps } from 'vue';\n\nimport EditArea from './editArea/editArea.vue';\nimport EditInput from './editInput/editInput.vue';\nimport RadioGroup from './radioGroup/radioGroup.vue';\nimport Selector2 from './selector2/selector2.vue';\nimport Menu from './menu/menu.vue';\nimport Info from './info/info.vue';\n\nexport const TopEditArea = EditArea as typeof EditArea & ComponentCustomProps;\nexport const TopEditInput = EditInput as typeof EditInput & ComponentCustomProps;\nexport const TopRadioGroup = RadioGroup as typeof RadioGroup & ComponentCustomProps;\nexport const TopSelector2 = Selector2 as typeof Selector2 & ComponentCustomProps;\nexport const TopMenu = Menu as typeof Menu & ComponentCustomProps;\nexport const TopInfo = Info as typeof Info & ComponentCustomProps;\n"],"names":["props","__props","emit","__emit","localValue","ref","isFocused","isChanged","computed","cancelBtnText","submit","value","cancel","clickOnTitle","intermediateValue","watch","toRef","model","useModel","elRef","_a","item","_c","_b","_e","_d","uid","useAPI","apiRequest","minLength","useCache","items","isLoading","_searchText","_nextOffset","callAPIRequest","res","cacheKey","indexWithError","load","loadAppend","loadDebounce","debounce","searchText","useDebounce","itemAll","useI18n","popupRef","getPopup","API","localItems","isSelected","checkNameForNullId","itemSelected","itemsForShow","searchString","searchStringInvertKeyboard","invertKeyboardLayout","itemName","selectItem","newModel","Core","selectNextItem","nextIndex","deleteItemById","id","isOpened","onScrollContentList","e","el","TopEditArea","_sfc_main$5","TopEditInput","_sfc_main$4","TopRadioGroup","_sfc_main$3","T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1,7 +0,0 @@
|
|
|
1
|
-
Open *demo.html* to see a list of all the glyphs in your font along with their codes/ligatures.
|
|
2
|
-
|
|
3
|
-
To use the generated font in desktop programs, you can install the TTF font. In order to copy the character associated with each icon, refer to the text box at the bottom right corner of each glyph in demo.html. The character inside this text box may be invisible; but it can still be copied. See this guide for more info: https://icomoon.io/docs/#local-fonts
|
|
4
|
-
|
|
5
|
-
You won't need any of the files located under the *demo-files* directory when including the generated font in your own projects.
|
|
6
|
-
|
|
7
|
-
You can import *selection.json* back to the IcoMoon app using the *Import Icons* button (or via Main Menu → Manage Projects) to retrieve your icon selection.
|