@topvisor/ui 1.0.42-dev.2 → 1.0.42-dev.4
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/.chunks/core-BCV4xehV.es.js +197 -0
- package/.chunks/core-BCV4xehV.es.js.map +1 -0
- package/.chunks/core-SEtL6T0A.amd.js +2 -0
- package/.chunks/core-SEtL6T0A.amd.js.map +1 -0
- package/.chunks/datepicker-Ba8QPoiv.amd.js +2 -0
- package/.chunks/datepicker-Ba8QPoiv.amd.js.map +1 -0
- package/.chunks/datepicker-DHxSFb-9.es.js +44 -0
- package/.chunks/datepicker-DHxSFb-9.es.js.map +1 -0
- package/.chunks/dialog_selectorRegions-Cd7_dHoH.es.js +188 -0
- package/.chunks/dialog_selectorRegions-Cd7_dHoH.es.js.map +1 -0
- package/.chunks/dialog_selectorRegions-CiWJsA9r.amd.js +2 -0
- package/.chunks/dialog_selectorRegions-CiWJsA9r.amd.js.map +1 -0
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-C-wpHg-4.amd.js +2 -0
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-C-wpHg-4.amd.js.map +1 -0
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-Deg17t8D.es.js +322 -0
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-Deg17t8D.es.js.map +1 -0
- package/.chunks/forms-DC7ffuv2.es.js +2051 -0
- package/.chunks/forms-DC7ffuv2.es.js.map +1 -0
- package/.chunks/forms-L6BGV_om.amd.js +3 -0
- package/.chunks/forms-L6BGV_om.amd.js.map +1 -0
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-CXp02bYr.es.js +184 -0
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-CXp02bYr.es.js.map +1 -0
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-M0ZTpQlF.amd.js +2 -0
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-M0ZTpQlF.amd.js.map +1 -0
- package/.chunks/menu.vue_vue_type_style_index_0_lang-DNsbNhVH.es.js +110 -0
- package/.chunks/menu.vue_vue_type_style_index_0_lang-DNsbNhVH.es.js.map +1 -0
- package/.chunks/menu.vue_vue_type_style_index_0_lang-DepdFfhE.amd.js +2 -0
- package/.chunks/menu.vue_vue_type_style_index_0_lang-DepdFfhE.amd.js.map +1 -0
- package/.chunks/notice-DQXlrM4Y.es.js +175 -0
- package/.chunks/notice-DQXlrM4Y.es.js.map +1 -0
- package/.chunks/notice-ZTC1xm1R.amd.js +4 -0
- package/.chunks/notice-ZTC1xm1R.amd.js.map +1 -0
- package/.chunks/page.vue_vue_type_script_setup_true_lang-CDgPLGAn.es.js +143 -0
- package/.chunks/page.vue_vue_type_script_setup_true_lang-CDgPLGAn.es.js.map +1 -0
- package/.chunks/page.vue_vue_type_script_setup_true_lang-ZB87yGeU.amd.js +2 -0
- package/.chunks/page.vue_vue_type_script_setup_true_lang-ZB87yGeU.amd.js.map +1 -0
- package/.chunks/popup-B7GI-vlM.es.js +459 -0
- package/.chunks/popup-B7GI-vlM.es.js.map +1 -0
- package/.chunks/popup-Kvk7IPNI.amd.js +2 -0
- package/.chunks/popup-Kvk7IPNI.amd.js.map +1 -0
- package/.chunks/punycode.es6-C2yitnNb.amd.js +2 -0
- package/.chunks/punycode.es6-C2yitnNb.amd.js.map +1 -0
- package/.chunks/punycode.es6-CNI-zL6U.es.js +134 -0
- package/.chunks/punycode.es6-CNI-zL6U.es.js.map +1 -0
- package/.chunks/store-CX_6ZXhO.es.js +29 -0
- package/.chunks/store-CX_6ZXhO.es.js.map +1 -0
- package/.chunks/store-esTid5oI.amd.js +2 -0
- package/.chunks/store-esTid5oI.amd.js.map +1 -0
- package/.chunks/utils-BKooGtxR.amd.js +2 -0
- package/.chunks/utils-BKooGtxR.amd.js.map +1 -0
- package/.chunks/utils-Bg7IV0KZ.amd.js +2 -0
- package/.chunks/utils-Bg7IV0KZ.amd.js.map +1 -0
- package/.chunks/utils-BkchlCXw.es.js +79 -0
- package/.chunks/utils-BkchlCXw.es.js.map +1 -0
- package/.chunks/utils-CyqZFHE6.es.js +304 -0
- package/.chunks/utils-CyqZFHE6.es.js.map +1 -0
- package/README.md +59 -37
- package/assets/charts.css +1 -0
- package/assets/core.css +1 -0
- package/assets/dialog_selectorRegions.css +1 -0
- package/assets/extra.css +1 -0
- package/assets/forms.css +1 -0
- package/assets/formsExt.css +1 -0
- package/assets/layout.css +1 -0
- package/assets/listItem.css +1 -0
- package/assets/menu.css +1 -0
- package/assets/notice.css +1 -0
- package/assets/popup.css +1 -0
- package/assets/project.css +1 -0
- package/assets/tabs.css +1 -0
- package/assets/tabsView.css +1 -0
- package/assets/themes/dark-th.css +1 -0
- package/assets/themes/dark.css +1 -0
- package/assets/themes/light.css +1 -0
- package/charts/charts.amd.js +2 -0
- package/charts/charts.amd.js.map +1 -0
- package/charts/charts.d.ts +2 -0
- package/charts/charts.js +178 -0
- package/charts/charts.js.map +1 -0
- package/components/charts/charts.d.ts +5 -0
- package/components/charts/miniChart/miniChart.vue.d.ts +15 -0
- package/components/charts/miniChart/stories/dummy.d.ts +13 -0
- package/components/charts/miniChart/types.d.ts +92 -0
- package/components/charts/miniChart/utils/consts.d.ts +8 -0
- package/components/charts/miniCharts/miniCharts.d.ts +20 -0
- package/components/charts/miniCharts/miniCharts.vue.d.ts +32 -0
- package/components/charts/miniCharts/stories/dummy.d.ts +6 -0
- package/components/core/notice/item/item.vue.d.ts +10 -0
- package/components/core/notice/item/types.d.ts +63 -0
- package/components/core/notice/notice.vue.d.ts +5 -0
- package/components/core/notice/utils.d.ts +27 -0
- package/components/dialog/dialog/composables/asyncDialogHandle.d.ts +51 -0
- package/components/dialog/dialog/composables/dialogHandle.d.ts +108 -0
- package/components/dialog/dialog/composables/types.d.ts +11 -0
- package/components/dialog/dialog/composables/utils.d.ts +21 -0
- package/components/dialog/dialog/dialog.vue.d.ts +28 -0
- package/components/dialog/dialog/dialogs/dialogs.vue.d.ts +13 -0
- package/components/dialog/dialog/page/page.vue.d.ts +19 -0
- package/components/dialog/dialog/page/types.d.ts +72 -0
- package/components/dialog/dialog/pageComponent/pageComponent.vue.d.ts +6 -0
- package/components/dialog/dialog/pageComponent/types.d.ts +18 -0
- package/components/dialog/dialog/stories/autoload.d.ts +2 -0
- package/components/dialog/dialog/stories/dialog_example/pages/utils.d.ts +7 -0
- package/components/dialog/dialog/types.d.ts +58 -0
- package/components/dialog/dialog.d.ts +6 -0
- package/components/dialog/lib/types.d.ts +44 -0
- package/components/dialog/lib/utils.d.ts +14 -0
- package/components/dialog/lib/utils.globalEvents.d.ts +8 -0
- package/components/dialog/lib/worker.d.ts +76 -0
- package/components/extra/extra.d.ts +3 -0
- package/components/extra/rive/rive.vue.d.ts +11 -0
- package/components/extra/rive/types.d.ts +7 -0
- package/components/forms/avatar/avatar.vue.d.ts +10 -0
- package/components/forms/avatar/types.d.ts +32 -0
- package/components/forms/button/button.vue.d.ts +21 -0
- package/components/forms/button/types.d.ts +49 -0
- package/components/forms/caption/caption.vue.d.ts +17 -0
- package/components/forms/caption/types.d.ts +9 -0
- package/components/forms/checkbox/checkbox.vue.d.ts +27 -0
- package/components/forms/checkbox/types.d.ts +21 -0
- package/components/forms/controlLabel/controlLabel.vue.d.ts +19 -0
- package/components/forms/controlLabel/types.d.ts +4 -0
- package/components/forms/forms.d.ts +31 -0
- package/components/forms/hint/hint.vue.d.ts +4 -0
- package/components/forms/hint/types.d.ts +8 -0
- package/components/forms/input/input.vue.d.ts +27 -0
- package/components/forms/input/types.d.ts +23 -0
- package/components/forms/inputDate/datepicker.d.ts +5 -0
- package/components/forms/inputDate/inputDate.vue.d.ts +12 -0
- package/components/forms/inputDate/types.d.ts +1 -0
- package/components/forms/inputRange/inputRange.vue.d.ts +19 -0
- package/components/forms/inputRange/types.d.ts +2 -0
- package/components/forms/loadbar/loadbar.vue.d.ts +3 -0
- package/components/forms/preloader/preloader.vue.d.ts +4 -0
- package/components/forms/preloader/types.d.ts +3 -0
- package/components/forms/radio/radio.vue.d.ts +23 -0
- package/components/forms/radio/types.d.ts +14 -0
- package/components/forms/select/select.vue.d.ts +17 -0
- package/components/forms/select/stories/exampleOptions.d.ts +5 -0
- package/components/forms/select/types.d.ts +58 -0
- package/components/forms/switcher/switcher.vue.d.ts +23 -0
- package/components/forms/switcher/types.d.ts +21 -0
- package/components/forms/textarea/textarea.vue.d.ts +12 -0
- package/components/forms/textarea/types.d.ts +44 -0
- package/components/formsExt/checkboxGroup/checkboxGroup.vue.d.ts +16 -0
- package/components/formsExt/checkboxGroup/stories/example.d.ts +15 -0
- package/components/formsExt/checkboxGroup/types.d.ts +19 -0
- package/components/formsExt/editArea/editArea.vue.d.ts +18 -0
- package/components/formsExt/editArea/types.d.ts +33 -0
- package/components/formsExt/editInput/editInput.vue.d.ts +8 -0
- package/components/formsExt/editInput/types.d.ts +16 -0
- package/components/formsExt/formsExt.d.ts +17 -0
- package/components/formsExt/info/info.vue.d.ts +20 -0
- package/components/formsExt/info/types.d.ts +21 -0
- package/components/formsExt/menu/menu.vue.d.ts +16 -0
- package/components/formsExt/menu/stories/items.d.ts +3 -0
- package/components/formsExt/menu/types.d.ts +37 -0
- package/components/formsExt/policy/policy.vue.d.ts +4 -0
- package/components/formsExt/policy/types.d.ts +10 -0
- package/components/formsExt/radioGroup/radioGroup.vue.d.ts +16 -0
- package/components/formsExt/radioGroup/stories/example.d.ts +20 -0
- package/components/formsExt/radioGroup/types.d.ts +21 -0
- package/components/formsExt/selector2/composables/useAPI.d.ts +30 -0
- package/components/formsExt/selector2/composables/useMenu.d.ts +16 -0
- package/components/formsExt/selector2/itemMulti.vue.d.ts +8 -0
- package/components/formsExt/selector2/selector2.vue.d.ts +43 -0
- package/components/formsExt/selector2/stories/dummyAPIRequest.d.ts +9 -0
- package/components/formsExt/selector2/types.d.ts +166 -0
- package/components/formsExt/selector2/utils.d.ts +6 -0
- package/components/layout/islandRows/islandRows.vue.d.ts +17 -0
- package/components/layout/islandRows/islandRowsRow/islandRowsRow.vue.d.ts +18 -0
- package/components/layout/islandRows/islandRowsRow/types.d.ts +2 -0
- package/components/layout/islandRows/islandRowsSubTitle/islandRowsSubTitle.vue.d.ts +18 -0
- package/components/layout/islandRows/types.d.ts +10 -0
- package/components/layout/layout.d.ts +9 -0
- package/components/layout/rows/rows.vue.d.ts +21 -0
- package/components/layout/rows/types.d.ts +6 -0
- package/components/popup/alert/alert.vue.d.ts +25 -0
- package/components/popup/alert/types.d.ts +8 -0
- package/components/popup/confirm/confirm.vue.d.ts +26 -0
- package/components/popup/confirm/types.d.ts +21 -0
- package/components/popup/lib/popup.d.ts +87 -0
- package/components/popup/lib/popup.globalEvents.d.ts +32 -0
- package/components/popup/lib/worker.d.ts +77 -0
- package/components/popup/lib/worker.globalEvents.d.ts +19 -0
- package/components/popup/popup/listItem.vue.d.ts +22 -0
- package/components/popup/popup/opener.vue.d.ts +17 -0
- package/components/popup/popup/popup.vue.d.ts +38 -0
- package/components/popup/popup/types.d.ts +110 -0
- package/components/popup/popup/widgetInput.vue.d.ts +17 -0
- package/components/popup/popup.d.ts +15 -0
- package/components/popup/prompt/prompt.vue.d.ts +26 -0
- package/components/popup/prompt/types.d.ts +21 -0
- package/components/project/project.d.ts +15 -0
- package/components/project/selectorCompetitors/composables.d.ts +3 -0
- package/components/project/selectorCompetitors/selectorCompetitors.vue.d.ts +14 -0
- package/components/project/selectorCompetitors/stories/items.d.ts +3 -0
- package/components/project/selectorCompetitors/types.d.ts +30 -0
- package/components/project/selectorRegion/composables/compare.d.ts +12 -0
- package/components/project/selectorRegion/composables/selectRegion.d.ts +13 -0
- package/components/project/selectorRegion/composables/selectSearcher.d.ts +13 -0
- package/components/project/selectorRegion/composables/selectorRegion.d.ts +25 -0
- package/components/project/selectorRegion/dialog_selectorRegions/dialog_selectorRegions.vue.d.ts +6 -0
- package/components/project/selectorRegion/dialog_selectorRegions/types.d.ts +26 -0
- package/components/project/selectorRegion/selectorRegion.vue.d.ts +23 -0
- package/components/project/selectorRegion/stories/searchers.d.ts +3 -0
- package/components/project/selectorRegion/types.d.ts +172 -0
- package/components/project/selectorRegion/utils/consts.d.ts +31 -0
- package/components/project/selectorRegion/utils/utils.d.ts +34 -0
- package/components/project/tagSelector/popupListItem/tagPopupListItem.vue.d.ts +20 -0
- package/components/project/tagSelector/popupListItem/types.d.ts +33 -0
- package/components/project/tagSelector/popupOpener/popupOpener.vue.d.ts +27 -0
- package/components/project/tagSelector/popupOpener/types.d.ts +64 -0
- package/components/project/tagSelector/tagIcon/tagIcon.vue.d.ts +4 -0
- package/components/project/tagSelector/tagIcon/types.d.ts +21 -0
- package/components/project/tagSelector/tagSelector.vue.d.ts +37 -0
- package/components/project/tagSelector/tagsDefaults.d.ts +3 -0
- package/components/project/tagSelector/types.d.ts +140 -0
- package/components/project/tagSelector/utils/el.d.ts +19 -0
- package/components/project/tagSelector/utils/utils.d.ts +14 -0
- package/components/tabs/tabs/content.vue.d.ts +19 -0
- package/components/tabs/tabs/tab.vue.d.ts +19 -0
- package/components/tabs/tabs/tabs.vue.d.ts +21 -0
- package/components/tabs/tabs/types.d.ts +19 -0
- package/components/tabs/tabs.d.ts +7 -0
- package/components/tabsView/tabsView/menu.vue.d.ts +32 -0
- package/components/tabsView/tabsView/menuDelimeter.vue.d.ts +3 -0
- package/components/tabsView/tabsView/menuItem.vue.d.ts +23 -0
- package/components/tabsView/tabsView/menuTitle.vue.d.ts +20 -0
- package/components/tabsView/tabsView/store.d.ts +12 -0
- package/components/tabsView/tabsView/tabsView.vue.d.ts +34 -0
- package/components/tabsView/tabsView/types.d.ts +98 -0
- package/components/tabsView/tabsView/utils.d.ts +11 -0
- package/components/tabsView/tabsView.d.ts +7 -0
- package/core/app.amd.js +2 -0
- package/core/app.amd.js.map +1 -0
- package/core/app.d.ts +8 -0
- package/core/app.js +214 -0
- package/core/app.js.map +1 -0
- package/core/core/core.d.ts +113 -0
- package/core/core/events/resize.d.ts +16 -0
- package/core/core/events.d.ts +15 -0
- package/core/core/options.d.ts +47 -0
- package/core/core/preloaders.d.ts +19 -0
- package/core/core/state.d.ts +49 -0
- package/core/directives/data.d.ts +10 -0
- package/core/directives/focus.d.ts +10 -0
- package/core/directives/preloader.d.ts +8 -0
- package/core/directives/scrollIntoView.d.ts +3 -0
- package/core/directives/scrollShadow.d.ts +15 -0
- package/core/directives/sticky.d.ts +10 -0
- package/core/directives/swimUp.d.ts +15 -0
- package/core/directives/tooltip.d.ts +10 -0
- package/core/plugins/core.d.ts +60 -0
- package/core/plugins/i18n.d.ts +97 -0
- package/core/plugins/piniaTPA.d.ts +17 -0
- package/core/utils/check.d.ts +26 -0
- package/core/utils/clipboard.d.ts +12 -0
- package/core/utils/date.d.ts +70 -0
- package/core/utils/device.d.ts +50 -0
- package/core/utils/dom.d.ts +104 -0
- package/core/utils/image.d.ts +16 -0
- package/core/utils/keyboard.d.ts +8 -0
- package/core/utils/lodash.d.ts +6 -0
- package/core/utils/number.d.ts +17 -0
- package/core/utils/price.d.ts +10 -0
- package/core/utils/route.d.ts +33 -0
- package/core/utils/scroll.d.ts +32 -0
- package/core/utils/searchers.d.ts +38 -0
- package/core/utils/store/localStorage.d.ts +6 -0
- package/core/utils/store/plugin.d.ts +24 -0
- package/core/utils/store/store.d.ts +34 -0
- package/core/utils/store.d.ts +6 -0
- package/core/utils/string.d.ts +100 -0
- package/core/utils/system.d.ts +25 -0
- package/core/utils/url.d.ts +36 -0
- package/dialog/dialog.amd.js +2 -0
- package/dialog/dialog.amd.js.map +1 -0
- package/dialog/dialog.d.ts +2 -0
- package/dialog/dialog.js +60 -0
- package/dialog/dialog.js.map +1 -0
- package/extra/extra.amd.js +2 -0
- package/extra/extra.amd.js.map +1 -0
- package/extra/extra.d.ts +2 -0
- package/extra/extra.js +72 -0
- package/extra/extra.js.map +1 -0
- package/forms/forms.amd.js +2 -0
- package/forms/forms.amd.js.map +1 -0
- package/forms/forms.d.ts +2 -0
- package/forms/forms.js +19 -0
- package/forms/forms.js.map +1 -0
- package/forms/helpers.amd.js +2 -0
- package/forms/helpers.amd.js.map +1 -0
- package/forms/helpers.d.ts +1 -0
- package/forms/helpers.js +2 -0
- package/forms/helpers.js.map +1 -0
- package/formsExt/formsExt.amd.js +2 -0
- package/formsExt/formsExt.amd.js.map +1 -0
- package/formsExt/formsExt.d.ts +2 -0
- package/formsExt/formsExt.js +687 -0
- package/formsExt/formsExt.js.map +1 -0
- package/layout/layout.amd.js +2 -0
- package/layout/layout.amd.js.map +1 -0
- package/layout/layout.d.ts +2 -0
- package/layout/layout.js +62 -0
- package/layout/layout.js.map +1 -0
- package/package.json +1 -62
- package/popup/popup.amd.js +2 -0
- package/popup/popup.amd.js.map +1 -0
- package/popup/popup.d.ts +2 -0
- package/popup/popup.js +260 -0
- package/popup/popup.js.map +1 -0
- package/popup/worker.amd.js +2 -0
- package/popup/worker.amd.js.map +1 -0
- package/popup/worker.d.ts +2 -0
- package/popup/worker.js +138 -0
- package/popup/worker.js.map +1 -0
- package/project/project.amd.js +2 -0
- package/project/project.amd.js.map +1 -0
- package/project/project.d.ts +2 -0
- package/project/project.js +986 -0
- package/project/project.js.map +1 -0
- package/tabs/tabs.amd.js +2 -0
- package/tabs/tabs.amd.js.map +1 -0
- package/tabs/tabs.d.ts +2 -0
- package/tabs/tabs.js +81 -0
- package/tabs/tabs.js.map +1 -0
- package/tabsView/tabsView.amd.js +2 -0
- package/tabsView/tabsView.amd.js.map +1 -0
- package/tabsView/tabsView.d.ts +2 -0
- package/tabsView/tabsView.js +306 -0
- package/tabsView/tabsView.js.map +1 -0
- package/utils/check.amd.js +2 -0
- package/utils/check.amd.js.map +1 -0
- package/utils/check.d.ts +2 -0
- package/utils/check.js +26 -0
- package/utils/check.js.map +1 -0
- package/utils/clipboard.amd.js +6 -0
- package/utils/clipboard.amd.js.map +1 -0
- package/utils/clipboard.d.ts +2 -0
- package/utils/clipboard.js +33 -0
- package/utils/clipboard.js.map +1 -0
- package/utils/date.amd.js +2 -0
- package/utils/date.amd.js.map +1 -0
- package/utils/date.d.ts +2 -0
- package/utils/date.js +12 -0
- package/utils/date.js.map +1 -0
- package/utils/device.amd.js +2 -0
- package/utils/device.amd.js.map +1 -0
- package/utils/device.d.ts +2 -0
- package/utils/device.js +15 -0
- package/utils/device.js.map +1 -0
- package/utils/dom.amd.js +2 -0
- package/utils/dom.amd.js.map +1 -0
- package/utils/dom.d.ts +6 -0
- package/utils/dom.js +80 -0
- package/utils/dom.js.map +1 -0
- package/utils/image.amd.js +12 -0
- package/utils/image.amd.js.map +1 -0
- package/utils/image.d.ts +2 -0
- package/utils/image.js +23 -0
- package/utils/image.js.map +1 -0
- package/utils/keyboard.amd.js +2 -0
- package/utils/keyboard.amd.js.map +1 -0
- package/utils/keyboard.d.ts +2 -0
- package/utils/keyboard.js +12 -0
- package/utils/keyboard.js.map +1 -0
- package/utils/lodash.amd.js +2 -0
- package/utils/lodash.amd.js.map +1 -0
- package/utils/lodash.d.ts +2 -0
- package/utils/lodash.js +9 -0
- package/utils/lodash.js.map +1 -0
- package/utils/number.amd.js +2 -0
- package/utils/number.amd.js.map +1 -0
- package/utils/number.d.ts +2 -0
- package/utils/number.js +13 -0
- package/utils/number.js.map +1 -0
- package/utils/price.amd.js +2 -0
- package/utils/price.amd.js.map +1 -0
- package/utils/price.d.ts +2 -0
- package/utils/price.js +10 -0
- package/utils/price.js.map +1 -0
- package/utils/route.amd.js +2 -0
- package/utils/route.amd.js.map +1 -0
- package/utils/route.d.ts +2 -0
- package/utils/route.js +38 -0
- package/utils/route.js.map +1 -0
- package/utils/scroll.amd.js +2 -0
- package/utils/scroll.amd.js.map +1 -0
- package/utils/scroll.d.ts +2 -0
- package/utils/scroll.js +45 -0
- package/utils/scroll.js.map +1 -0
- package/utils/searchers.amd.js +2 -0
- package/utils/searchers.amd.js.map +1 -0
- package/utils/searchers.d.ts +2 -0
- package/utils/searchers.js +134 -0
- package/utils/searchers.js.map +1 -0
- package/utils/store.amd.js +2 -0
- package/utils/store.amd.js.map +1 -0
- package/utils/store.d.ts +2 -0
- package/utils/store.js +7 -0
- package/utils/store.js.map +1 -0
- package/utils/string.amd.js +2 -0
- package/utils/string.amd.js.map +1 -0
- package/utils/string.d.ts +2 -0
- package/utils/string.js +152 -0
- package/utils/string.js.map +1 -0
- package/utils/system.amd.js +2 -0
- package/utils/system.amd.js.map +1 -0
- package/utils/system.d.ts +2 -0
- package/utils/system.js +29 -0
- package/utils/system.js.map +1 -0
- package/utils/url.amd.js +3 -0
- package/utils/url.amd.js.map +1 -0
- package/utils/url.d.ts +2 -0
- package/utils/url.js +48 -0
- package/utils/url.js.map +1 -0
- package/.env_example +0 -1
- package/.gitlab-ci/.gitlab-ci.yml +0 -27
- package/.gitlab-ci/README.md +0 -59
- package/.gitlab-ci/common/install.yml +0 -21
- package/.gitlab-ci/common/lint.yml +0 -11
- package/.gitlab-ci/common/redmine.yml +0 -12
- package/.gitlab-ci/common/version.yml +0 -34
- package/.gitlab-ci/storybook/build.yml +0 -18
- package/.gitlab-ci/storybook/deploy.yml +0 -50
- package/.gitlab-ci/ui/build.yml +0 -12
- package/.gitlab-ci/ui/deploy-dist.yml +0 -89
- package/.gitlab-ci/ui/deploy.yml +0 -19
- package/.idea/.gitignore +0 -11
- package/.idea/codeStyles/Project.xml +0 -205
- package/.idea/codeStyles/codeStyleConfig.xml +0 -5
- package/.idea/externalDependencies.xml +0 -6
- package/.idea/icon.svg +0 -5
- package/.idea/inspectionProfiles/Disabled.xml +0 -824
- package/.idea/inspectionProfiles/Project_Default.xml +0 -33
- package/.idea/modules.xml +0 -8
- package/.idea/php.xml +0 -19
- package/.idea/ui.iml +0 -8
- package/.idea/vcs.xml +0 -6
- package/.storybook/TopTheme.ts +0 -115
- package/.storybook/TopThemeManager.ts +0 -53
- package/.storybook/argsArrayDecorator.ts +0 -120
- package/.storybook/main.ts +0 -78
- package/.storybook/manager.ts +0 -25
- package/.storybook/preview-head.html +0 -21
- package/.storybook/preview.ts +0 -50
- package/.storybook/vue/coreDecorator.ts +0 -86
- package/.storybook/vue/vModelDecorator.ts +0 -46
- package/.versionrc.json +0 -16
- package/.vscode/extensions.json +0 -11
- package/.vscode/keybindings.example.json +0 -121
- package/.vscode/settings.json +0 -45
- package/CHANGELOG.md +0 -428
- package/NPM.md +0 -25
- package/PUBLISH.md +0 -88
- package/STORYBOOK.md +0 -41
- package/USE_IN_PROJECT.md +0 -32
- package/public/README.md +0 -82
- package/rollup.config.ts +0 -38
- package/scripts/afterBuild.sh +0 -13
- package/scripts/cssModules.ts +0 -39
- package/scripts/genDocs.sh +0 -20
- package/scripts/plugin/amdFix.ts +0 -83
- package/scripts/plugin/autoloadCSS.ts +0 -155
- package/src/CHANGELOG.md.mdx +0 -4
- package/src/components/charts/charts.ts +0 -8
- package/src/components/charts/miniChart/miniChart.stories.ts +0 -66
- package/src/components/charts/miniChart/miniChart.vue +0 -158
- package/src/components/charts/miniChart/stories/README.md +0 -9
- package/src/components/charts/miniChart/stories/dummy.ts +0 -25
- package/src/components/charts/miniChart/styles/miniChart.css +0 -87
- package/src/components/charts/miniChart/types.ts +0 -110
- package/src/components/charts/miniChart/utils/consts.ts +0 -9
- package/src/components/charts/miniCharts/miniCharts.stories.ts +0 -75
- package/src/components/charts/miniCharts/miniCharts.ts +0 -24
- package/src/components/charts/miniCharts/miniCharts.vue +0 -124
- package/src/components/charts/miniCharts/stories/README.md +0 -18
- package/src/components/charts/miniCharts/stories/dummy.ts +0 -70
- package/src/components/charts/miniCharts/stories/overview.vue +0 -139
- package/src/components/charts/miniCharts/styles/miniCharts.css +0 -32
- package/src/components/component.ts +0 -130
- package/src/components/core/core.mdx +0 -7
- package/src/components/core/notice/item/item.vue +0 -145
- package/src/components/core/notice/item/style.css +0 -70
- package/src/components/core/notice/item/types.ts +0 -74
- package/src/components/core/notice/notice.stories.ts +0 -104
- package/src/components/core/notice/notice.vue +0 -69
- package/src/components/core/notice/stories/README.md +0 -34
- package/src/components/core/notice/utils.ts +0 -115
- package/src/components/dialog/dialog/Dialog (code).mdx +0 -61
- package/src/components/dialog/dialog/composables/asyncDialogHandle.ts +0 -99
- package/src/components/dialog/dialog/composables/dialogHandle.ts +0 -178
- package/src/components/dialog/dialog/composables/types.ts +0 -12
- package/src/components/dialog/dialog/composables/utils.ts +0 -39
- package/src/components/dialog/dialog/dialog.stories.ts +0 -82
- package/src/components/dialog/dialog/dialog.vue +0 -74
- package/src/components/dialog/dialog/dialogs/dialogs.vue +0 -61
- package/src/components/dialog/dialog/page/page.vue +0 -86
- package/src/components/dialog/dialog/page/types.ts +0 -84
- package/src/components/dialog/dialog/page.stories.ts +0 -26
- package/src/components/dialog/dialog/pageComponent/pageComponent.vue +0 -57
- package/src/components/dialog/dialog/pageComponent/types.ts +0 -21
- package/src/components/dialog/dialog/pageComponent.stories.ts +0 -26
- package/src/components/dialog/dialog/stories/README.md +0 -117
- package/src/components/dialog/dialog/stories/autoload.ts +0 -12
- package/src/components/dialog/dialog/stories/dialog_example/dialog_example.vue +0 -77
- package/src/components/dialog/dialog/stories/dialog_example/pages/async.vue +0 -57
- package/src/components/dialog/dialog/stories/dialog_example/pages/default.vue +0 -56
- package/src/components/dialog/dialog/stories/dialog_example/pages/headerButtons.vue +0 -56
- package/src/components/dialog/dialog/stories/dialog_example/pages/utils.ts +0 -26
- package/src/components/dialog/dialog/stories/dialog_example/pages/withoutCache.vue +0 -56
- package/src/components/dialog/dialog/stories/page/README.md +0 -24
- package/src/components/dialog/dialog/stories/pageComponent/README.md +0 -12
- package/src/components/dialog/dialog/style/dialog.css +0 -319
- package/src/components/dialog/dialog/style/dialog.m.css +0 -40
- package/src/components/dialog/dialog/style/dialog.pc.css +0 -73
- package/src/components/dialog/dialog/style/modern/dialog.css +0 -12
- package/src/components/dialog/dialog/style/modern/dialog.pc.css +0 -3
- package/src/components/dialog/dialog/types.ts +0 -69
- package/src/components/dialog/dialog.ts +0 -7
- package/src/components/dialog/lib/types.ts +0 -42
- package/src/components/dialog/lib/utils.globalEvents.ts +0 -214
- package/src/components/dialog/lib/utils.ts +0 -656
- package/src/components/dialog/lib/worker.ts +0 -362
- package/src/components/extra/extra.ts +0 -5
- package/src/components/extra/rive/rive.vue +0 -56
- package/src/components/extra/rive/rives.stories.ts +0 -65
- package/src/components/extra/rive/stories/README.md +0 -40
- package/src/components/extra/rive/stories/nope.riv +0 -0
- package/src/components/extra/rive/stories/sadness.riv +0 -0
- package/src/components/extra/rive/types.ts +0 -8
- package/src/components/forms/README.mdx +0 -10
- package/src/components/forms/avatar/avatar.stories.ts +0 -37
- package/src/components/forms/avatar/avatar.vue +0 -77
- package/src/components/forms/avatar/stories/overview.vue +0 -30
- package/src/components/forms/avatar/types.ts +0 -38
- package/src/components/forms/button/button.stories.ts +0 -117
- package/src/components/forms/button/button.vue +0 -111
- package/src/components/forms/button/stories/README.md +0 -9
- package/src/components/forms/button/stories/overview.vue +0 -36
- package/src/components/forms/button/style/button.css +0 -146
- package/src/components/forms/button/style/style-outline.css +0 -129
- package/src/components/forms/button/style/style-soft.css +0 -89
- package/src/components/forms/button/style/style-transparent.css +0 -39
- package/src/components/forms/button/types.ts +0 -59
- package/src/components/forms/caption/caption.stories.ts +0 -108
- package/src/components/forms/caption/caption.vue +0 -29
- package/src/components/forms/caption/types.ts +0 -10
- package/src/components/forms/checkbox/checkbox.stories.ts +0 -32
- package/src/components/forms/checkbox/checkbox.vue +0 -115
- package/src/components/forms/checkbox/stories/overview.vue +0 -171
- package/src/components/forms/checkbox/types.ts +0 -21
- package/src/components/forms/controlLabel/controlLabel.stories.ts +0 -31
- package/src/components/forms/controlLabel/controlLabel.vue +0 -54
- package/src/components/forms/controlLabel/types.ts +0 -4
- package/src/components/forms/forms.ts +0 -44
- package/src/components/forms/hint/hint.stories.ts +0 -40
- package/src/components/forms/hint/hint.vue +0 -32
- package/src/components/forms/hint/types.ts +0 -8
- package/src/components/forms/input/input.stories.ts +0 -31
- package/src/components/forms/input/input.vue +0 -178
- package/src/components/forms/input/stories/overview.vue +0 -63
- package/src/components/forms/input/types.ts +0 -31
- package/src/components/forms/inputDate/datepicker.css +0 -246
- package/src/components/forms/inputDate/datepicker.ts +0 -101
- package/src/components/forms/inputDate/inputDate.stories.ts +0 -40
- package/src/components/forms/inputDate/inputDate.vue +0 -133
- package/src/components/forms/inputDate/stories/overview.vue +0 -35
- package/src/components/forms/inputDate/types.ts +0 -1
- package/src/components/forms/inputRange/inputRange.stories.ts +0 -52
- package/src/components/forms/inputRange/inputRange.vue +0 -39
- package/src/components/forms/inputRange/stories/overview.vue +0 -129
- package/src/components/forms/inputRange/types.ts +0 -3
- package/src/components/forms/loadbar/loadbar.stories.ts +0 -22
- package/src/components/forms/loadbar/loadbar.vue +0 -37
- package/src/components/forms/loadbar/stories/README.md +0 -6
- package/src/components/forms/preloader/preloader.stories.ts +0 -46
- package/src/components/forms/preloader/preloader.vue +0 -103
- package/src/components/forms/preloader/stories/README.md +0 -26
- package/src/components/forms/preloader/types.ts +0 -3
- package/src/components/forms/radio/radio.stories.ts +0 -33
- package/src/components/forms/radio/radio.vue +0 -97
- package/src/components/forms/radio/stories/overview.vue +0 -79
- package/src/components/forms/radio/types.ts +0 -15
- package/src/components/forms/select/select.stories.ts +0 -68
- package/src/components/forms/select/select.vue +0 -299
- package/src/components/forms/select/stories/exampleOptions.ts +0 -61
- package/src/components/forms/select/stories/overview.vue +0 -72
- package/src/components/forms/select/types.ts +0 -68
- package/src/components/forms/switcher/stories/overview.vue +0 -139
- package/src/components/forms/switcher/switcher.stories.ts +0 -32
- package/src/components/forms/switcher/switcher.vue +0 -118
- package/src/components/forms/switcher/types.ts +0 -22
- package/src/components/forms/textarea/stories/overview.vue +0 -89
- package/src/components/forms/textarea/textarea.stories.ts +0 -33
- package/src/components/forms/textarea/textarea.vue +0 -143
- package/src/components/forms/textarea/types.ts +0 -52
- package/src/components/formsExt/README.mdx +0 -5
- package/src/components/formsExt/checkboxGroup/checkboxGroup.stories.ts +0 -36
- package/src/components/formsExt/checkboxGroup/checkboxGroup.vue +0 -159
- package/src/components/formsExt/checkboxGroup/stories/example.ts +0 -42
- package/src/components/formsExt/checkboxGroup/stories/overview.vue +0 -36
- package/src/components/formsExt/checkboxGroup/types.ts +0 -23
- package/src/components/formsExt/editArea/editArea.stories.ts +0 -40
- package/src/components/formsExt/editArea/editArea.vue +0 -194
- package/src/components/formsExt/editArea/stories/README.md +0 -21
- package/src/components/formsExt/editArea/stories/overview.vue +0 -67
- package/src/components/formsExt/editArea/types.ts +0 -41
- package/src/components/formsExt/editInput/editInput.stories.ts +0 -35
- package/src/components/formsExt/editInput/editInput.vue +0 -54
- package/src/components/formsExt/editInput/stories/overview.vue +0 -54
- package/src/components/formsExt/editInput/types.ts +0 -20
- package/src/components/formsExt/formsExt.ts +0 -19
- package/src/components/formsExt/info/info.stories.ts +0 -34
- package/src/components/formsExt/info/info.vue +0 -84
- package/src/components/formsExt/info/stories/overview.vue +0 -29
- package/src/components/formsExt/info/types.ts +0 -25
- package/src/components/formsExt/menu/menu.stories.ts +0 -58
- package/src/components/formsExt/menu/menu.vue +0 -324
- package/src/components/formsExt/menu/stories/items.ts +0 -18
- package/src/components/formsExt/menu/stories/overview.vue +0 -52
- package/src/components/formsExt/menu/types.ts +0 -45
- package/src/components/formsExt/policy/policy.stories.ts +0 -66
- package/src/components/formsExt/policy/policy.vue +0 -75
- package/src/components/formsExt/policy/types.ts +0 -11
- package/src/components/formsExt/radioGroup/radioGroup.stories.ts +0 -35
- package/src/components/formsExt/radioGroup/radioGroup.vue +0 -142
- package/src/components/formsExt/radioGroup/stories/example.ts +0 -43
- package/src/components/formsExt/radioGroup/stories/overview.vue +0 -35
- package/src/components/formsExt/radioGroup/types.ts +0 -27
- package/src/components/formsExt/selector2/composables/useAPI.ts +0 -151
- package/src/components/formsExt/selector2/composables/useMenu.ts +0 -165
- package/src/components/formsExt/selector2/itemMulti.vue +0 -57
- package/src/components/formsExt/selector2/selector2.stories.ts +0 -123
- package/src/components/formsExt/selector2/selector2.vue +0 -448
- package/src/components/formsExt/selector2/stories/README.md +0 -146
- package/src/components/formsExt/selector2/stories/dummyAPIRequest.ts +0 -57
- package/src/components/formsExt/selector2/stories/overview.vue +0 -95
- package/src/components/formsExt/selector2/types.ts +0 -184
- package/src/components/formsExt/selector2/utils.ts +0 -22
- package/src/components/helpersStories.ts +0 -331
- package/src/components/layout/islandRows/islandRows.stories.ts +0 -138
- package/src/components/layout/islandRows/islandRows.vue +0 -53
- package/src/components/layout/islandRows/islandRowsRow/islandRowsRow.vue +0 -36
- package/src/components/layout/islandRows/islandRowsRow/types.ts +0 -1
- package/src/components/layout/islandRows/islandRowsSubTitle/islandRowsSubTitle.vue +0 -16
- package/src/components/layout/islandRows/stories/README.md +0 -8
- package/src/components/layout/islandRows/types.ts +0 -11
- package/src/components/layout/layout.ts +0 -11
- package/src/components/layout/rows/rows.stories.ts +0 -47
- package/src/components/layout/rows/rows.vue +0 -46
- package/src/components/layout/rows/stories/README.md +0 -10
- package/src/components/layout/rows/types.ts +0 -6
- package/src/components/popup/alert/alert.stories.ts +0 -70
- package/src/components/popup/alert/alert.vue +0 -49
- package/src/components/popup/alert/stories/overview.vue +0 -40
- package/src/components/popup/alert/types.ts +0 -11
- package/src/components/popup/confirm/confirm.stories.ts +0 -74
- package/src/components/popup/confirm/confirm.vue +0 -78
- package/src/components/popup/confirm/stories/overview.vue +0 -62
- package/src/components/popup/confirm/types.ts +0 -26
- package/src/components/popup/lib/popup.globalEvents.ts +0 -271
- package/src/components/popup/lib/popup.ts +0 -858
- package/src/components/popup/lib/worker.globalEvents.ts +0 -101
- package/src/components/popup/lib/worker.ts +0 -305
- package/src/components/popup/popup/listItem.vue +0 -35
- package/src/components/popup/popup/opener.vue +0 -82
- package/src/components/popup/popup/popup.stories.ts +0 -73
- package/src/components/popup/popup/popup.vue +0 -176
- package/src/components/popup/popup/stories/README.md +0 -145
- package/src/components/popup/popup/stories/listItems.vue +0 -69
- package/src/components/popup/popup/stories/listSubItems.vue +0 -47
- package/src/components/popup/popup/stories/overview.vue +0 -224
- package/src/components/popup/popup/style/popup.css +0 -355
- package/src/components/popup/popup/style/popup.m.css +0 -70
- package/src/components/popup/popup/style/popup.pc.css +0 -26
- package/src/components/popup/popup/types.ts +0 -131
- package/src/components/popup/popup/widgetInput.vue +0 -43
- package/src/components/popup/popup.ts +0 -17
- package/src/components/popup/prompt/prompt.stories.ts +0 -76
- package/src/components/popup/prompt/prompt.vue +0 -87
- package/src/components/popup/prompt/stories/overview.vue +0 -50
- package/src/components/popup/prompt/types.ts +0 -26
- package/src/components/project/project.ts +0 -23
- package/src/components/project/selectorCompetitors/composables.ts +0 -20
- package/src/components/project/selectorCompetitors/selectorCompetitors.stories.ts +0 -32
- package/src/components/project/selectorCompetitors/selectorCompetitors.vue +0 -75
- package/src/components/project/selectorCompetitors/stories/README.md +0 -20
- package/src/components/project/selectorCompetitors/stories/items.ts +0 -30
- package/src/components/project/selectorCompetitors/types.ts +0 -35
- package/src/components/project/selectorRegion/composables/compare.ts +0 -87
- package/src/components/project/selectorRegion/composables/selectRegion.ts +0 -146
- package/src/components/project/selectorRegion/composables/selectSearcher.ts +0 -64
- package/src/components/project/selectorRegion/composables/selectorRegion.ts +0 -167
- package/src/components/project/selectorRegion/dialog_selectorRegions/dialog_selectorRegions.vue +0 -252
- package/src/components/project/selectorRegion/dialog_selectorRegions/style.css +0 -49
- package/src/components/project/selectorRegion/dialog_selectorRegions/types.ts +0 -31
- package/src/components/project/selectorRegion/selectorRegion.stories.ts +0 -84
- package/src/components/project/selectorRegion/selectorRegion.vue +0 -365
- package/src/components/project/selectorRegion/stories/README.md +0 -36
- package/src/components/project/selectorRegion/stories/searchers.ts +0 -77
- package/src/components/project/selectorRegion/styles/searcherColors.css +0 -41
- package/src/components/project/selectorRegion/types.ts +0 -206
- package/src/components/project/selectorRegion/utils/consts.ts +0 -88
- package/src/components/project/selectorRegion/utils/utils.ts +0 -178
- package/src/components/project/tagSelector/popupListItem/tagPopupListItem.vue +0 -209
- package/src/components/project/tagSelector/popupListItem/types.ts +0 -40
- package/src/components/project/tagSelector/popupOpener/popupOpener.vue +0 -140
- package/src/components/project/tagSelector/popupOpener/types.ts +0 -74
- package/src/components/project/tagSelector/stories/README.md +0 -62
- package/src/components/project/tagSelector/stories/overview.vue +0 -152
- package/src/components/project/tagSelector/tagIcon/tagIcon.vue +0 -96
- package/src/components/project/tagSelector/tagIcon/types.ts +0 -25
- package/src/components/project/tagSelector/tagSelector.stories.ts +0 -50
- package/src/components/project/tagSelector/tagSelector.vue +0 -360
- package/src/components/project/tagSelector/tagsDefaults.ts +0 -54
- package/src/components/project/tagSelector/types.ts +0 -162
- package/src/components/project/tagSelector/utils/el.ts +0 -151
- package/src/components/project/tagSelector/utils/utils.ts +0 -30
- package/src/components/tabs/tabs/content.vue +0 -24
- package/src/components/tabs/tabs/stories/README.md +0 -12
- package/src/components/tabs/tabs/tab.vue +0 -49
- package/src/components/tabs/tabs/tabs.stories.ts +0 -170
- package/src/components/tabs/tabs/tabs.vue +0 -64
- package/src/components/tabs/tabs/types.ts +0 -22
- package/src/components/tabs/tabs.ts +0 -9
- package/src/components/tabsView/tabsView/menu.vue +0 -291
- package/src/components/tabsView/tabsView/menuDelimeter.vue +0 -26
- package/src/components/tabsView/tabsView/menuItem.vue +0 -125
- package/src/components/tabsView/tabsView/menuTitle.vue +0 -46
- package/src/components/tabsView/tabsView/store.ts +0 -60
- package/src/components/tabsView/tabsView/stories/README.md +0 -22
- package/src/components/tabsView/tabsView/tabsView.stories.ts +0 -169
- package/src/components/tabsView/tabsView/tabsView.vue +0 -120
- package/src/components/tabsView/tabsView/types.ts +0 -118
- package/src/components/tabsView/tabsView/utils.ts +0 -27
- package/src/components/tabsView/tabsView//320/255/320/273/320/265/320/274/320/265/320/275/321/202/321/213/MenuItem.stories.ts +0 -46
- package/src/components/tabsView/tabsView//320/255/320/273/320/265/320/274/320/265/320/275/321/202/321/213/MenuTitle.stories.ts +0 -42
- package/src/components/tabsView/tabsView.ts +0 -9
- package/src/components/types.ts +0 -6
- package/src/core/app.ts +0 -22
- package/src/core/core/core.mdx +0 -36
- package/src/core/core/core.ts +0 -287
- package/src/core/core/events/resize.ts +0 -47
- package/src/core/core/events.ts +0 -6
- package/src/core/core/jQuery.mdx +0 -41
- package/src/core/core/options.ts +0 -52
- package/src/core/core/preloaders.ts +0 -31
- package/src/core/core/state.ts +0 -61
- package/src/core/directives/data.mdx +0 -24
- package/src/core/directives/data.ts +0 -25
- package/src/core/directives/focus.mdx +0 -28
- package/src/core/directives/focus.ts +0 -73
- package/src/core/directives/preloader.ts +0 -23
- package/src/core/directives/scrollIntoView.mdx +0 -41
- package/src/core/directives/scrollIntoView.ts +0 -123
- package/src/core/directives/scrollShadow.mdx +0 -23
- package/src/core/directives/scrollShadow.ts +0 -27
- package/src/core/directives/sticky.mdx +0 -29
- package/src/core/directives/sticky.ts +0 -32
- package/src/core/directives/swimUp.mdx +0 -27
- package/src/core/directives/swimUp.ts +0 -95
- package/src/core/directives/tooltip.mdx +0 -13
- package/src/core/directives/tooltip.ts +0 -57
- package/src/core/icons/gallery.vue +0 -70
- package/src/core/icons/icons.mdx +0 -24
- package/src/core/icons/icons.stories.ts +0 -14
- package/src/core/plugins/core.ts +0 -131
- package/src/core/plugins/i18n.ts +0 -189
- package/src/core/plugins/piniaTPA.ts +0 -432
- package/src/core/plugins/plugins.mdx +0 -82
- package/src/core/styles/CSS Variables.stories.ts +0 -17
- package/src/core/styles/styles.mdx +0 -26
- package/src/core/theme/Variables.stories.ts +0 -16
- package/src/core/theme/theme.mdx +0 -117
- package/src/core/utils/References/Docs.mdx +0 -23
- package/src/core/utils/References/check/Docs.mdx +0 -13
- package/src/core/utils/References/check/functions/getDomainRegexp.mdx +0 -13
- package/src/core/utils/References/check/functions/isDomain.mdx +0 -19
- package/src/core/utils/References/check/functions/isEmail.mdx +0 -20
- package/src/core/utils/References/check/functions/isIp.mdx +0 -19
- package/src/core/utils/References/check/functions/validUrl.mdx +0 -20
- package/src/core/utils/References/clipboard/Docs.mdx +0 -8
- package/src/core/utils/References/clipboard/functions/guestLinkToClipboard.mdx +0 -19
- package/src/core/utils/References/clipboard/functions/setClipboard.mdx +0 -20
- package/src/core/utils/References/date/Docs.mdx +0 -15
- package/src/core/utils/References/date/functions/dateFormat.mdx +0 -26
- package/src/core/utils/References/date/functions/dateToString.mdx +0 -24
- package/src/core/utils/References/date/functions/dateUnformat.mdx +0 -20
- package/src/core/utils/References/date/functions/genDate.mdx +0 -24
- package/src/core/utils/References/date/functions/genDateMoscow.mdx +0 -20
- package/src/core/utils/References/date/functions/getDayOfWeek.mdx +0 -24
- package/src/core/utils/References/date/functions/stringToDate.mdx +0 -19
- package/src/core/utils/References/device/Docs.mdx +0 -19
- package/src/core/utils/References/device/functions/get$scroll.mdx +0 -13
- package/src/core/utils/References/device/functions/getCommandKeyLabel.mdx +0 -13
- package/src/core/utils/References/device/functions/getElsScroll.mdx +0 -13
- package/src/core/utils/References/device/functions/getOS.mdx +0 -15
- package/src/core/utils/References/device/functions/getOSAsync.mdx +0 -13
- package/src/core/utils/References/device/functions/getScrollTop.mdx +0 -13
- package/src/core/utils/References/device/functions/isApp.mdx +0 -13
- package/src/core/utils/References/device/functions/isMacOS.mdx +0 -13
- package/src/core/utils/References/device/functions/isMobile.mdx +0 -13
- package/src/core/utils/References/device/functions/isRetina.mdx +0 -13
- package/src/core/utils/References/device/functions/isSafari.mdx +0 -13
- package/src/core/utils/References/dom/Docs.mdx +0 -25
- package/src/core/utils/References/dom/functions/css.mdx +0 -22
- package/src/core/utils/References/dom/functions/genEl.mdx +0 -26
- package/src/core/utils/References/dom/functions/isVisible.mdx +0 -21
- package/src/core/utils/References/dom/functions/offset.mdx +0 -33
- package/src/core/utils/References/dom/functions/querySelectorAllArray.mdx +0 -20
- package/src/core/utils/References/dom/functions/querySelectorAllVisible.mdx +0 -20
- package/src/core/utils/References/dom/functions/querySelectorVisible.mdx +0 -23
- package/src/core/utils/References/dom/functions/querySelectorVisibleLast.mdx +0 -23
- package/src/core/utils/References/dom/functions/storage.mdx +0 -26
- package/src/core/utils/References/dom/functions/storageClear.mdx +0 -19
- package/src/core/utils/References/dom/functions/wrap.mdx +0 -20
- package/src/core/utils/References/dom/variables/default.mdx +0 -245
- package/src/core/utils/References/image/Docs.mdx +0 -10
- package/src/core/utils/References/image/functions/downloadImageFromString.mdx +0 -20
- package/src/core/utils/References/image/functions/genFaviconImgHtml.mdx +0 -20
- package/src/core/utils/References/keyboard/Docs.mdx +0 -9
- package/src/core/utils/References/keyboard/functions/invertKeyboardLayout.mdx +0 -19
- package/src/core/utils/References/lodash/Docs.mdx +0 -18
- package/src/core/utils/References/lodash/functions/cloneDeep.mdx +0 -27
- package/src/core/utils/References/lodash/functions/debounce.mdx +0 -72
- package/src/core/utils/References/lodash/functions/merge.mdx +0 -190
- package/src/core/utils/References/lodash/functions/throttle.mdx +0 -69
- package/src/core/utils/References/lodash/variables/memoize.mdx +0 -42
- package/src/core/utils/References/number/Docs.mdx +0 -10
- package/src/core/utils/References/number/functions/percentOfNumber.mdx +0 -24
- package/src/core/utils/References/number/functions/randomBySeed.mdx +0 -21
- package/src/core/utils/References/price/Docs.mdx +0 -9
- package/src/core/utils/References/price/functions/genPrice.mdx +0 -26
- package/src/core/utils/References/route/Docs.mdx +0 -14
- package/src/core/utils/References/route/functions/delHash.mdx +0 -24
- package/src/core/utils/References/route/functions/genHash.mdx +0 -24
- package/src/core/utils/References/route/functions/getHash.mdx +0 -20
- package/src/core/utils/References/route/functions/historySetState.mdx +0 -29
- package/src/core/utils/References/route/functions/setHash.mdx +0 -24
- package/src/core/utils/References/route/functions/setHashs.mdx +0 -20
- package/src/core/utils/References/scroll/Docs.mdx +0 -13
- package/src/core/utils/References/scroll/functions/amountScrolled.mdx +0 -15
- package/src/core/utils/References/scroll/functions/connectScrollShadow.mdx +0 -26
- package/src/core/utils/References/scroll/functions/genHasScroll.mdx +0 -23
- package/src/core/utils/References/scroll/functions/getScrollPercent.mdx +0 -19
- package/src/core/utils/References/scroll/functions/unconnectScrollShadow.mdx +0 -17
- package/src/core/utils/References/searchers/Docs.mdx +0 -17
- package/src/core/utils/References/searchers/functions/genVolumeLabel.mdx +0 -24
- package/src/core/utils/References/searchers/functions/getDeviceGIcon.mdx +0 -19
- package/src/core/utils/References/searchers/functions/getLangLabel.mdx +0 -20
- package/src/core/utils/References/searchers/functions/getSearcherGIcon.mdx +0 -19
- package/src/core/utils/References/searchers/functions/prepareVolumeType.mdx +0 -20
- package/src/core/utils/References/searchers/variables/searchersNames.mdx +0 -83
- package/src/core/utils/References/store/Docs.mdx +0 -22
- package/src/core/utils/References/store/functions/defineStore.mdx +0 -34
- package/src/core/utils/References/store/functions/useStore.mdx +0 -27
- package/src/core/utils/References/store/interfaces/Store.mdx +0 -29
- package/src/core/utils/References/store/variables/plugin.mdx +0 -64
- package/src/core/utils/References/string/Docs.mdx +0 -24
- package/src/core/utils/References/string/functions/addCommasWhite.mdx +0 -19
- package/src/core/utils/References/string/functions/addLinkTags.mdx +0 -21
- package/src/core/utils/References/string/functions/camelToSnakeCase.mdx +0 -19
- package/src/core/utils/References/string/functions/ellipsis.mdx +0 -24
- package/src/core/utils/References/string/functions/genFlagLinkByCountryCode.mdx +0 -23
- package/src/core/utils/References/string/functions/genIntHash.mdx +0 -19
- package/src/core/utils/References/string/functions/getRandomHash.mdx +0 -19
- package/src/core/utils/References/string/functions/highlightHtml.mdx +0 -23
- package/src/core/utils/References/string/functions/htmlspecialchars.mdx +0 -19
- package/src/core/utils/References/string/functions/isUrl.mdx +0 -19
- package/src/core/utils/References/string/functions/nl2br.mdx +0 -19
- package/src/core/utils/References/string/functions/numberEnding.mdx +0 -26
- package/src/core/utils/References/string/functions/numberWithWord.mdx +0 -26
- package/src/core/utils/References/string/functions/rusToLatin.mdx +0 -19
- package/src/core/utils/References/string/functions/toCapitalize.mdx +0 -19
- package/src/core/utils/References/string/functions/toRoditPadej.mdx +0 -19
- package/src/core/utils/References/system/Docs.mdx +0 -11
- package/src/core/utils/References/system/functions/sleep.mdx +0 -19
- package/src/core/utils/References/system/functions/sleepWhile.mdx +0 -27
- package/src/core/utils/References/system/functions/waitWhile.mdx +0 -27
- package/src/core/utils/References/url/Docs.mdx +0 -15
- package/src/core/utils/References/url/functions/decode.mdx +0 -19
- package/src/core/utils/References/url/functions/encode.mdx +0 -19
- package/src/core/utils/References/url/functions/fromPuny.mdx +0 -21
- package/src/core/utils/References/url/functions/getHost.mdx +0 -19
- package/src/core/utils/References/url/functions/hostToLowerCase.mdx +0 -19
- package/src/core/utils/References/url/functions/normalize.mdx +0 -19
- package/src/core/utils/References/url/functions/toPuny.mdx +0 -21
- package/src/core/utils/check.ts +0 -88
- package/src/core/utils/clipboard.ts +0 -51
- package/src/core/utils/date.ts +0 -334
- package/src/core/utils/device.ts +0 -139
- package/src/core/utils/dom.ts +0 -195
- package/src/core/utils/image.ts +0 -46
- package/src/core/utils/keyboard.ts +0 -29
- package/src/core/utils/lodash.ts +0 -18
- package/src/core/utils/number.ts +0 -37
- package/src/core/utils/price.ts +0 -24
- package/src/core/utils/route.ts +0 -130
- package/src/core/utils/scroll.ts +0 -120
- package/src/core/utils/searchers.ts +0 -191
- package/src/core/utils/store/localStorage.ts +0 -56
- package/src/core/utils/store/plugin.ts +0 -50
- package/src/core/utils/store/store.ts +0 -77
- package/src/core/utils/store.ts +0 -7
- package/src/core/utils/string.ts +0 -349
- package/src/core/utils/system.ts +0 -72
- package/src/core/utils/url.ts +0 -138
- package/src/core/utils/utils.mdx +0 -6
- package/src/d.ts +0 -12
- package/src/icomoon.d.ts +0 -98
- package/src/resources/styles/core/components/bage.css +0 -16
- package/src/resources/styles/core/components/components.css +0 -94
- package/src/resources/styles/core/components/formsCaption.css +0 -43
- package/src/resources/styles/core/components/jquery.css +0 -19
- package/src/resources/styles/core/core.ts +0 -14
- package/src/resources/styles/core/forms/clear.css +0 -20
- package/src/resources/styles/core/forms/controls.css +0 -20
- package/src/resources/styles/core/forms/focusable.css +0 -27
- package/src/resources/styles/core/forms/forms.css +0 -178
- package/src/resources/styles/core/icon.css +0 -58
- package/src/resources/styles/core/jquery.css +0 -1
- package/src/resources/styles/core/layout.css +0 -59
- package/src/resources/styles/core/modifiers/as.css +0 -33
- package/src/resources/styles/core/modifiers/ellipsis.css +0 -26
- package/src/resources/styles/core/modifiers/modifiers.css +0 -120
- package/src/resources/styles/core/modifiers/only.css +0 -23
- package/src/resources/styles/core/modifiers/scrollBar.css +0 -52
- package/src/resources/styles/core/modifiers/scrollShadow.css +0 -50
- package/src/resources/styles/storybook.css +0 -11
- package/src/resources/styles/themes/dark/dark-layout.css +0 -47
- package/src/resources/styles/themes/dark/dark-positions.css +0 -66
- package/src/resources/styles/themes/dark/dark.css +0 -405
- package/src/resources/styles/themes/dark-positions.ts +0 -1
- package/src/resources/styles/themes/dark-th/dark-th-layout.css +0 -47
- package/src/resources/styles/themes/dark-th/dark-th-positions.css +0 -67
- package/src/resources/styles/themes/dark-th/dark-th.css +0 -405
- package/src/resources/styles/themes/dark-th-positions.ts +0 -1
- package/src/resources/styles/themes/dark-th.ts +0 -3
- package/src/resources/styles/themes/dark.ts +0 -3
- package/src/resources/styles/themes/light/light-layout.css +0 -47
- package/src/resources/styles/themes/light/light-positions.css +0 -66
- package/src/resources/styles/themes/light/light.css +0 -405
- package/src/resources/styles/themes/light-positions.ts +0 -1
- package/src/resources/styles/themes/light.ts +0 -3
- package/src/storybook/components/color.vue +0 -47
- package/src/storybook/components/cssVariables.vue +0 -195
- package/src/storybook/components/icomoon.ts +0 -40
- package/src/storybook/jquery.ts +0 -4
- 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" +0 -181
- package/src//320/223/320/260/320/271/320/264/320/273/320/260/320/271/320/275.mdx +0 -120
- 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" +0 -14
- 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" +0 -43
- 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" +0 -155
- 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" +0 -35
- 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" +0 -15
- 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" +0 -56
- 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" +0 -53
- 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" +0 -55
- 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" +0 -4
- 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" +0 -4
- 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" +0 -4
- 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" +0 -15
- package/src//320/240/320/260/320/267/321/200/320/260/320/261/320/276/321/202/320/272/320/260 (Contributing)//320/230/321/201/320/277/320/276/320/273/321/214/320/267/320/276/320/262/320/260/320/275/320/270/320/265 /320/262 /320/277/321/200/320/276/320/265/320/272/321/202/320/260/321/205.mdx" +0 -3
- 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" +0 -45
- 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" +0 -33
- 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" +0 -29
- 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" +0 -66
- 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" +0 -58
- 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" +0 -11
- 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" +0 -5
- package/storybook-dev.sh +0 -14
- package/tsconfig.json +0 -91
- package/typedoc.json +0 -20
- package/vite.config.ts +0 -150
- /package/{src/components/core/notice/types.ts → components/core/notice/types.d.ts} +0 -0
- /package/{src/components/forms/helpers.ts → components/forms/helpers.d.ts} +0 -0
- /package/{src/components/popup/worker.ts → components/popup/worker.d.ts} +0 -0
- /package/{public/icomoon → icomoon}/Read Me.txt +0 -0
- /package/{public/icomoon → icomoon}/demo-files/demo.css +0 -0
- /package/{public/icomoon → icomoon}/demo-files/demo.js +0 -0
- /package/{public/icomoon → icomoon}/demo.css +0 -0
- /package/{public/icomoon → icomoon}/demo.html +0 -0
- /package/{public/icomoon → icomoon}/demo.js +0 -0
- /package/{public/icomoon → icomoon}/fonts/Topvisor-2.eot +0 -0
- /package/{public/icomoon → icomoon}/fonts/Topvisor-2.svg +0 -0
- /package/{public/icomoon → icomoon}/fonts/Topvisor-2.ttf +0 -0
- /package/{public/icomoon → icomoon}/fonts/Topvisor-2.woff +0 -0
- /package/{public/icomoon → icomoon}/selection.json +0 -0
- /package/{public/icomoon → icomoon}/style.css +0 -0
- /package/{public/jquery-ui.min.css → jquery-ui.min.css} +0 -0
- /package/{public/require → require}/css.amd.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
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/checkboxGroup/checkboxGroup.vue","../../src/components/formsExt/selector2/itemMulti.vue","../../src/components/formsExt/selector2/composables/useAPI.ts","../../src/components/formsExt/selector2/utils.ts","../../src/components/formsExt/selector2/composables/useMenu.ts","../../src/components/formsExt/selector2/selector2.vue","../../src/components/formsExt/info/info.vue","../../src/components/formsExt/policy/policy.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 './types';\nimport Textarea from '@/components/forms/textarea/textarea.vue';\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 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-forms-focusable': true,\n\t\t\t\t'top-as-input': 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=\"isChanged || forceShowCloseBtn\"\n\t\t\t\t\t:icon=\"$core.state.isMobile ? '': ''\"\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<template\n\t\t\t\t\t\t#default\n\t\t\t\t\t\tv-if=\"!$core.state.isMobile\"\n\t\t\t\t\t>\n\t\t\t\t\t\t{{ cancelText }}\n\t\t\t\t\t</template>\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=\"$core.state.isMobile ? '': ''\"\n\t\t\t\t\t@click=\"submit(localValue)\"\n\t\t\t\t>\n\t\t\t\t\t<template\n\t\t\t\t\t\t#default\n\t\t\t\t\t\tv-if=\"!$core.state.isMobile\"\n\t\t\t\t\t>\n\t\t\t\t\t\t{{ submitText }}\n\t\t\t\t\t</template>\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\t--top-editArea-bottom: env(keyboard-inset-height, 0px);\n\t--top-editArea-offset-bottom: 0px;\n\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}\n\n/* textarea в EditArea */\n.top-textarea {\n\twidth: 100%;\n}\n\n.top-editArea_element.top-textarea_textarea {\n\t--top-forms-border-width: 0px;\n\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\talign-self: flex-end;\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\tposition: fixed;\n\tbottom: calc(var(--top-editArea-offset-bottom) + var(--top-editArea-bottom));\n\tright: 0;\n\tleft: 0;\n\tz-index: 2;\n\tgap: 0;\n\ttransition: bottom var(--transition-fast);\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@media screen and (max-width: 900px) {\n\t.top-editArea_form{\n\t\tflex-direction: row;\n\t}\n}\n</style>\n","<script setup lang=\"ts\">\nimport { ref, toRef, watch } from 'vue';\nimport type { Emits, Props } from './types';\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 } from './types';\n\nconst model = defineModel<Props['modelValue']>({\n\trequired: true,\n});\n\nconst props = withDefaults(defineProps<Props>(), {\n\tsize: 's',\n});\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.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","<script setup lang=\"ts\">\nimport type { Props } from './types';\n\nconst model = defineModel<Props['modelValue']>({\n\trequired: true,\n});\n\nwithDefaults(defineProps<Props>(), {\n\tsize: 's',\n\tstyling: 'outline',\n});\n\nconst onChange = (id: Props['modelValue'][number]) => {\n\tconst newModel = [...model.value];\n\tconst index = newModel.indexOf(id);\n\n\tif (index === -1) {\n\t\tnewModel.push(id);\n\t} else {\n\t\tnewModel.splice(index, 1);\n\t}\n\n\tmodel.value = newModel;\n};\n</script>\n\n<template>\n\t<div\n\t\t:class=\"{\n \t\t['top-checkboxGroup']: true,\n \t\t['top-checkboxGroup-' + styling]: true,\n \t\t['top-scrollBarXHidding']: true,\n \t\t['top-size_' + size]: !!size,\n \t\t['top-error']: isError,\n \t}\"\n\t>\n\t\t<label\n\t\t\tv-for=\"item in items\"\n\t\t\t:key=\"item.id\"\n\t\t\t:class=\"{\n\t\t\t\t['top-checkboxGroup_item']: true,\n\t\t\t\t['top-checkboxGroup_item-selected']: model.includes(item.id),\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>\n\t\t\t<input\n\t\t\t\ttype=\"checkbox\"\n\t\t\t\tclass=\"top-unvisible\"\n\t\t\t\t:value=\"item.id\"\n\t\t\t\t:checked=\"model.includes(item.id)\"\n\t\t\t\t:disabled=\"item.disabled\"\n\t\t\t\t@change=\"onChange(item.id)\"\n\t\t\t/>\n\n\t\t\t{{ item.title }}\n\t\t</label>\n\t</div>\n</template>\n\n<style>\n.top-checkboxGroup {\n\tuser-select: none;\n\tborder-radius: 8px;\n\theight: var(--top-forms-base-height);\n\tbox-sizing: border-box;\n\tdisplay: flex;\n}\n\n.top-checkboxGroup_item {\n\tbox-sizing: border-box;\n\tpadding: 1px var(--top-padding-4);\n\tcursor: pointer;\n\tfont-weight: 600;\n\twhite-space: nowrap;\n\tdisplay: flex;\n\tflex-grow: 1;\n\tjustify-content: center;\n\talign-items: center;\n\tgap: var(--top-gap-1);\n}\n\n/* outline */\n.top-checkboxGroup-outline {\n\tborder: 1px solid var(--color-line-1);\n\tbackground: var(--color-layout-front-1);\n}\n\n.top-checkboxGroup-outline .top-checkboxGroup_item {\n\theight: calc(var(--top-forms-base-height) - 2px);\n\tmin-height: 100%;\n}\n\n.top-checkboxGroup-outline .top-checkboxGroup_item:hover {\n\tbackground: var(--color-layer-primary-1);\n}\n\n.top-checkboxGroup-outline .top-checkboxGroup_item-selected {\n\tbackground: var(--color-bg-primary-1);\n\tcolor: var(--color-text-white);\n\t--top-icon-color: var(--color-text-white);\n}\n\n.top-checkboxGroup-outline .top-checkboxGroup_item-selected:hover {\n\tbackground: var(--color-bg-primary-2);\n}\n\n.top-checkboxGroup-outline.top-error .top-checkboxGroup_item:hover {\n\tbackground: var(--color-layer-negative-1);\n}\n\n.top-checkboxGroup-outline.top-error .top-checkboxGroup_item-selected {\n\tbackground: var(--color-bg-negative-1);\n}\n\n.top-checkboxGroup-outline.top-error .top-checkboxGroup_item-selected:hover {\n\tbackground: var(--color-bg-negative-2);\n}\n\n/* borderless */\n.top-checkboxGroup-borderless {\n\tpadding: 2px;\n\tbackground: var(--color-bg-shading-2);\n\tgap: 2px;\n}\n\n.top-checkboxGroup-borderless .top-checkboxGroup_item {\n\tborder-radius: 6px;\n\theight: calc(var(--top-forms-base-height) - 4px);\n}\n\n.top-checkboxGroup-borderless .top-checkboxGroup_item:hover {\n\tbox-shadow: var(--top-shadow-s);\n\tbackground: var(--color-bg-lightning-1);\n}\n\n.top-checkboxGroup-borderless .top-checkboxGroup_item-selected {\n\tbackground: var(--color-bg-primary-1);\n\tcolor: var(--color-text-white);\n\t--top-icon-color: var(--color-text-white);\n}\n\n.top-checkboxGroup-borderless .top-checkboxGroup_item-selected:hover {\n\tbackground: var(--color-bg-primary-2);\n}\n\n.top-checkboxGroup-borderless.top-error .top-checkboxGroup_item:hover {\n\tbackground: var(--color-bg-lightning-1);\n}\n\n.top-checkboxGroup-borderless.top-error .top-checkboxGroup_item-selected {\n\tbackground: var(--color-bg-negative-1);\n}\n\n.top-checkboxGroup-borderless.top-error .top-checkboxGroup_item-selected:hover {\n\tbackground: var(--color-bg-negative-2);\n}\n</style>\n","<script setup lang=\"ts\">\nimport type { EmitsItemMulti, PropsItemMulti } from './types';\n\ndefineProps<PropsItemMulti>();\ndefineEmits<EmitsItemMulti>();\n</script>\n\n<template>\n\t<div class=\"top-selector2_itemMulti top-ellipsis\">\n\t\t{{ name }}\n\t\t<span\n\t\t\tclass=\"top-selector2_itemMultiDelete\"\n\t\t\tdata-top-icon=\"\"\n\t\t\t@click=\"$emit('delete', id)\"\n\t\t\t@mousedown.stop\n\t\t></span>\n\t</div>\n</template>\n\n<style>\n.top-selector2_itemMulti {\n\tbox-sizing: border-box;\n\tpadding-left: var(--top-padding-2);\n\tborder-radius: var(--top-radius-1, 4px);\n\tborder: 1px solid var(--color-line-primary-1);\n\tbackground: var(--color-layer-primary-2);\n\tmin-height: 22px;\n\tmax-width: 100%;\n\tcolor: var(--color-text-1);\n\tflex-grow: 0;\n\tdisplay: inline-flex;\n\talign-items: center;\n\tgap: var(--top-gap-1);\n}\n\n.top-selector2_itemMultiDelete {\n\t--top-icon-size: 14px;\n\t--top-icon-width: 18px;\n\t--top-icon-color: var(--color-text-1);\n\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\theight: 100%;\n\tcursor: pointer;\n}\n\n.top-selector2_itemMultiDelete:hover {\n\tbackground: var(--color-layer-primary-2);\n}\n\n@media screen and (min-width: 900px) {\n\t.top-selector2.top-active .top-selector2_itemMultiDelete {\n\t\tz-index: calc(var(--top-popup-z-index) + 1);\n\t}\n}\n</style>\n","import { ref } from 'vue';\nimport { debounce } from '../../../../core/utils/lodash';\nimport type { Item, Props } from '../types';\n\nexport type API = ReturnType<typeof useAPI>;\n\nexport const useAPI = (apiRequest: Props['apiRequest'], minLength: number, useCache: Props['useCache']) => {\n\t/**\n\t * Список, полученный через API\n\t */\n\tconst items = ref<Item[]>([]);\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: 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\tnextOffset = 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\tnextOffset = 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 *\n\t * @param newSearchText - текст поиска\n\t * @param useDebounce - дедупликация загрузки списка\n\t */\n\tconst setSearchTextAndLoad = (newSearchText: string, useDebounce = true) => {\n\t\tif (!apiRequest) return;\n\n\t\tif (newSearchText.length < minLength) return;\n\n\t\t// условия поиска не поменялись, данные загружены\n\t\tif (newSearchText === searchText && items.value.length) return;\n\n\t\tsearchText = newSearchText;\n\n\t\tif (useDebounce) {\n\t\t\tvoid loadDebounce();\n\t\t} else {\n\t\t\tvoid load();\n\t\t}\n\t};\n\n\treturn {\n\t\tapiRequest,\n\t\titems,\n\t\tisLoading,\n\t\tloadAppend,\n\t\tsetSearchTextAndLoad,\n\t};\n};\n","import type { Item, Props } from './types';\n\nexport const ITEM_ID_ALL = 0;\n\n/**\n * Выбран ли элемент\n */\nexport const isSelected = (modelValue: Props['modelValue'], item: Item, checkNameForNullId = true) => {\n\tif (checkNameForNullId && item.id === null) {\n\t\tif (Array.isArray(modelValue)) {\n\t\t\treturn modelValue.some(itemSelected => itemSelected.id === item.id && itemSelected.name === item.name);\n\t\t} else {\n\t\t\treturn item.name === modelValue.name;\n\t\t}\n\t}\n\n\tif (Array.isArray(modelValue)) {\n\t\treturn modelValue.some(itemSelected => itemSelected.id === item.id);\n\t} else {\n\t\treturn item.id === modelValue.id;\n\t}\n};\n","import { computed, ref, type ComputedRef, type Ref } from 'vue';\nimport { invertKeyboardLayout } from '@/core/utils/keyboard';\nimport type { Item, Props } from '../types';\nimport { type API } from './useAPI';\nimport { isSelected, ITEM_ID_ALL } from '../utils';\nimport { useI18n } from '@/core/plugins/i18n';\n\n/**\n * Функционал поиска\n */\nexport const useMenu = (\n\tmodel: Ref<Props['modelValue']>,\n\titems: Ref<Props['items']>,\n\tmultiselect: Props['multiselect'],\n\tappendAllValue: Ref<Props['appendAllValue']>,\n\tappendSearchToResult: Ref<Props['appendSearchToResult']>,\n\tsearchType: Ref<Props['searchType']>,\n\tminLength: number,\n\tapi: API,\n) => {\n\t/**\n\t * Текст поиска по результатам\n\t */\n\tconst searchText = ref('');\n\n\t/**\n\t * Объект, представляющий опцию \"Все\"\n\t */\n\tconst itemAll = {\n\t\tid: ITEM_ID_ALL,\n\t\tname: useI18n().Common.All,\n\t};\n\n\t/**\n\t * Сброс поиска\n\t */\n\tconst resetSearch = () => {\n\t\tsearchText.value = '';\n\t\tapi.items.value = [];\n\t};\n\n\t/**\n\t * Является ли строка поиска достаточной длины для отображения меню\n\t */\n\tconst genIsShort = () => {\n\t\tif (!api.apiRequest) return false;\n\t\tif (searchType.value !== 'inline') return false;\n\t\tif (searchText.value.length >= minLength) return false;\n\n\t\treturn true;\n\t};\n\n\t/**\n\t * Варианты выбора: props.items + \"Выбрать все\"\n\t */\n\tconst localItems: ComputedRef<Item[]> = computed(() => {\n\t\tconst localItems: Item[] = [];\n\n\t\tif (!multiselect && appendAllValue.value) {\n\t\t\tlocalItems.push(itemAll);\n\t\t}\n\n\t\titems.value?.forEach(item => localItems.push({ ...item }));\n\n\t\treturn localItems;\n\t});\n\n\t/**\n\t * Подготовленный список меню, который содержит в сумме:\n\t * - prop.items: указанный список с учетом фильтра и опций компонента\n\t * - api.items: результаты api запроса, если используется api\n\t *\n\t * @returns Отфильтрованный массив элементов для отображения\n\t */\n\tconst itemsForShow = computed(() => {\n\t\tconst searchString = searchText.value.toLowerCase();\n\t\tconst searchStringInvertKeyboard = invertKeyboardLayout(searchString);\n\n\t\tlet items: NonNullable<Props['items']> = [];\n\n\t\tlocalItems.value.forEach((item) => {\n\t\t\tconst itemName = item.name.toLowerCase();\n\n\t\t\tif (\n\t\t\t\titem.id === Number(searchString) ||\n\t\t\t\titemName.includes(searchString) ||\n\t\t\t\titemName.includes(searchStringInvertKeyboard)\n\t\t\t) {\n\t\t\t\tif (itemName === searchString || itemName === searchStringInvertKeyboard) {\n\t\t\t\t\titems.unshift(item);\n\t\t\t\t} else {\n\t\t\t\t\titems.push(item);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\titems.push(...api.items.value);\n\n\t\t// ввод произвольного значения\n\t\tif (\n\t\t\tappendSearchToResult.value &&\n\t\t\t!!searchText.value &&\n\t\t\t(!items.length || items[0].name.toLowerCase() !== searchString)\n\t\t) {\n\t\t\titems.push({\n\t\t\t\tid: null,\n\t\t\t\tname: searchText.value,\n\t\t\t});\n\t\t}\n\n\t\tif (multiselect) {\n\t\t\titems = items.filter(item => !isSelected(model.value, item));\n\t\t}\n\n\t\treturn items;\n\t});\n\n\t/**\n\t * Выбрать элемент\n\t *\n\t * @param item Элемент для выбора\n\t */\n\tconst selectItem = (item: Item) => {\n\t\tif (multiselect && Array.isArray(model.value)) {\n\t\t\tif (!isSelected(model.value, item)) {\n\t\t\t\tmodel.value = [...model.value, item];\n\t\t\t}\n\t\t} else {\n\t\t\tmodel.value = item;\n\t\t}\n\t};\n\n\t/**\n\t * Выбрать следующее значение\n\t */\n\tconst selectNextItem = () => {\n\t\tif (!Array.isArray(model.value)) {\n\t\t\tconst currentIndex = itemsForShow.value.findIndex(item => item.id === (model.value as Item).id);\n\t\t\tconst nextIndex = (currentIndex + 1) % itemsForShow.value.length;\n\t\t\tmodel.value = { ...itemsForShow.value[nextIndex] };\n\t\t}\n\t};\n\n\t/**\n\t * Удалить выбранное значение по id\n\t *\n\t * @param id Идентификатор элемента для удаления\n\t */\n\tconst deleteItemById = async (id: Item['id']) => {\n\t\tif (Array.isArray(model.value)) {\n\t\t\tmodel.value = model.value.filter(item => item.id !== id);\n\t\t}\n\t};\n\n\treturn {\n\t\tsearchText,\n\t\tresetSearch,\n\t\tgenIsShort,\n\t\titems: localItems,\n\t\titemsForShow,\n\t\tselectItem,\n\t\tselectNextItem,\n\t\tdeleteItemById,\n\t};\n};\n","<script setup lang=\"ts\">\nimport { computed, ref, toRef, watch } from 'vue';\nimport Core from '@/core/core/core';\nimport { TopPopup, TopPopupListItem, TopPopupWidgetInput } from '@/components/popup/popup';\nimport { TopPreloader } from '@/components/forms/forms';\nimport type { Item, Props, Slots } from './types';\nimport Selector2ItemMulti from './itemMulti.vue';\nimport { useAPI } from './composables/useAPI';\nimport { useMenu } from './composables/useMenu';\nimport type { TopLibPopup } from '../../popup/lib/popup';\n\nconst props = withDefaults(defineProps<Props>(), {\n\titems: () => [] as Item[],\n\tsize: 's',\n\tminLength: 0,\n\tsearchType: 'popup',\n});\n\nconst model = defineModel<Props['modelValue']>({ required: true });\n\ndefineSlots<Slots>();\n\nconst searchTypeLocal = computed(() => {\n\t// multiselect не поддерживает inline ввода\n\tif (props.searchType === 'inline' && props.multiselect) return 'popup';\n\n\t// В мобильной версии popup работает в полноэкранном режиме\n\tif (props.searchType === 'inline' && Core.state.isMobile) return 'popup';\n\n\treturn props.searchType;\n});\n\nlet minLength = 0;\nif (searchTypeLocal.value === 'inline' && props.minLength) {\n\tminLength = props.minLength;\n}\n\n/**\n * Объект для работы с API\n */\nconst api = useAPI(props.apiRequest, minLength, props.useCache);\n\n/**\n * Объект для работы с меню\n */\nconst menu = useMenu(\n\tmodel,\n\ttoRef(props, 'items'),\n\tprops.multiselect,\n\ttoRef(props, 'appendAllValue'),\n\ttoRef(props, 'appendSearchToResult'),\n\tsearchTypeLocal,\n\tminLength,\n\tapi,\n);\n\nconst component = computed(() => {\n\tif (props.buttonProps) return 'TopButton';\n\tif (searchTypeLocal.value === 'inline') return 'TopInput';\n\n\treturn 'div';\n});\n\n/**\n * Экземпляр компонента Popup\n */\nconst popupRef = ref<any>(null);\n\n/**\n * Получить доступ к объекту popup\n */\nconst getPopup = (): TopLibPopup | undefined => {\n\treturn popupRef.value?.popup;\n};\n\nif (api.apiRequest) {\n\t// отложенный поиск при вводе текста\n\twatch(menu.searchText, () => {\n\t\tapi.setSearchTextAndLoad(menu.searchText.value);\n\n\t\tif (searchTypeLocal.value === 'inline') {\n\t\t\tif (menu.genIsShort()) {\n\t\t\t\tgetPopup()?.close();\n\t\t\t}\n\t\t}\n\t});\n}\n\nwatch(model, () => {\n\t/**\n\t * При изменении значения модели в режиме inline необходимо очистить поле поиска,\n\t * так как поиск больше не актуален после выбора значения\n\t */\n\tif (searchTypeLocal.value === 'inline') {\n\t\tmenu.resetSearch();\n\t}\n});\n\nconst placeholder = computed(() => {\n\tif (Array.isArray(model.value) || props.multiselect || !props.selectedAsPlaceholder && searchTypeLocal.value !== 'inline') {\n\t\treturn props.placeholder;\n\t}\n\n\treturn model.value?.name || props.placeholder;\n});\n\n/**\n * Обработчик ввода клавиш на кнопке или поле ввода\n */\nconst onOpenerKeydown = (e: KeyboardEvent) => {\n\tlet needOpen = false;\n\n\tswitch (e.key) {\n\t\tcase 'Delete':\n\t\tcase 'Backspace':\n\t\t\tif (Array.isArray(model.value)) {\n\t\t\t\te.preventDefault();\n\t\t\t\te.stopPropagation();\n\n\t\t\t\tmodel.value.pop();\n\t\t\t}\n\n\t\t\tbreak;\n\t\tcase 'ArrowUp':\n\t\tcase 'ArrowRight':\n\t\tcase 'ArrowDown':\n\t\tcase 'ArrowLeft':\n\t\tcase 'Enter':\n\t\tcase ' ':\n\t\t\tneedOpen = true;\n\n\t\t\tbreak;\n\t\tcase 'Escape':\n\t\t\tif (searchTypeLocal.value === 'inline') {\n\t\t\t\t// очистка введенного текста\n\t\t\t\tmenu.resetSearch();\n\t\t\t}\n\n\t\t\tbreak;\n\t}\n\n\t// введен символ\n\tconst symbolPressed = e.key.length === 1 && !e.ctrlKey && !e.metaKey;\n\n\t// введен символ\n\tif (searchTypeLocal.value === 'popup' || searchTypeLocal.value === 'inline') {\n\t\tif (symbolPressed) {\n\t\t\tneedOpen = true;\n\t\t}\n\t}\n\n\t// popup уже открыт\n\tif (getPopup()?.elPopup) {\n\t\tneedOpen = false;\n\t}\n\n\tif (needOpen) {\n\t\tif (searchTypeLocal.value === 'popup') {\n\t\t\te.preventDefault();\n\t\t\te.stopPropagation();\n\n\t\t\t// введен символ\n\t\t\tif (symbolPressed) {\n\t\t\t\t// начало ввода, сразу ввести первый символ вместе с открытием popup\n\t\t\t\tif (!menu.searchText.value) {\n\t\t\t\t\tmenu.searchText.value = e.key;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t(e.currentTarget as HTMLElement)?.click();\n\t}\n};\n\nlet disabledFocusToOpen = false;\n\nconst onFocus = (e: FocusEvent) => {\n\tif (disabledFocusToOpen) return;\n\n\tif (searchTypeLocal.value === 'inline') {\n\t\t(e.currentTarget as HTMLElement)?.click();\n\t}\n};\n\nconst onClickChanger = (e: MouseEvent) => {\n\te.preventDefault();\n\n\tdisabledFocusToOpen = true;\n\t(e.currentTarget as HTMLElement)?.parentElement?.focus();\n\tdisabledFocusToOpen = false;\n\n\tmenu.selectNextItem();\n};\n\n/**\n * Обработчик открытия попапа\n */\nconst onOpen = () => {\n\tdisabledFocusToOpen = true;\n\n\tif (api.apiRequest) {\n\t\tif (menu.genIsShort()) {\n\t\t\tgetPopup()?.close();\n\n\t\t\treturn;\n\t\t}\n\n\t\t// при открытии сразу выполнить поиск\n\t\tapi.setSearchTextAndLoad(menu.searchText.value, false);\n\t}\n};\n\n/**\n * Обработчик закрытия попапа\n */\nconst onClose = () => {\n\tsetTimeout(() => {\n\t\tdisabledFocusToOpen = false;\n\t}, 100);\n\n\t// очистка введенного текста\n\tif (searchTypeLocal.value === 'popup') {\n\t\tif (menu.searchText.value) menu.resetSearch();\n\t}\n};\n\n/**\n * Обработчик прокрутки списка контента\n *\n * Для дозагрузки элеменов через api\n *\n * @param {Event} e - Событие прокрутки\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\n// для storybook\nif ((window as any).__STORYBOOK_PREVIEW__) {\n\twatch(\n\t\t() => props.multiselect,\n\t\t() => {\n\t\t\tif (props.multiselect) {\n\t\t\t\tif (!Array.isArray(model.value)) {\n\t\t\t\t\tmodel.value = [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tid: 1,\n\t\t\t\t\t\t\tname: 'Выбери меня',\n\t\t\t\t\t\t},\n\t\t\t\t\t];\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (Array.isArray(model.value)) {\n\t\t\t\t\tmodel.value = {\n\t\t\t\t\t\tid: null,\n\t\t\t\t\t\tname: '',\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t{ immediate: true },\n\t);\n\n\twatch(\n\t\t() => props.searchType,\n\t\t() => {\n\t\t\t// пауза для установки props в адресной строке\n\t\t\tsetTimeout(() => {\n\t\t\t\tlocation.reload();\n\t\t\t}, 500);\n\t\t},\n\t);\n}\n</script>\n\n<template>\n\t<TopPopup\n\t\tref=\"popupRef\"\n\t\t@open=\"onOpen()\"\n\t\t@close=\"onClose()\"\n\t\t@scrollContentList=\"apiRequest ? onScrollContentList($event) : undefined\"\n\t\t:notch=\"searchTypeLocal !== 'inline'\"\n\t\t:transitionDuration=\"0\"\n\t>\n\t\t<template #opener>\n\t\t\t<component\n\t\t\t\t:is=\"component\"\n\n\t\t\t\t:=\"buttonProps\"\n\n\t\t\t\tref=\"subcomponentSelector\"\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-selector2-' + modificator]: !!modificator,\n\t\t\t\t\t'top-as-input': !buttonProps,\n\t\t\t\t\t'top-as-selector': true,\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\ttabindex=\"0\"\n\t\t\t\t@keydown=\"onOpenerKeydown\"\n\t\t\t\tv-top-focus.onupdate=\"isError\"\n\n\t\t\t\t:placeholder\n\t\t\t\tv-model=\"menu.searchText.value\"\n\t\t\t\t@focus=\"onFocus\"\n\t\t\t\t@blur=\"getPopup()?.isClosed ? menu.resetSearch() : ''\"\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 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=\"menu.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=\"searchTypeLocal !== 'inline' && !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 v-if=\"multiselect && !model.length\" class=\"top-selector2_placeholder top-ellipsis\">\n\t\t\t\t\t{{ placeholder }}\n\t\t\t\t</span>\n\n\t\t\t\t<span\n\t\t\t\t\tv-if=\"addChanger && !buttonProps && !multiselect && menu.items.value.length > 1 && !disabled\"\n\t\t\t\t\tclass=\"top-changer top-changer-selector top-popup_widget\"\n\t\t\t\t\tdata-top-popup-disabled=\"true\"\n\t\t\t\t\t@click=\"onClickChanger\"\n\t\t\t\t></span>\n\t\t\t</component>\n\t\t</template>\n\n\t\t<template #widget v-if=\"searchTypeLocal === 'popup'\">\n\t\t\t<TopPopupWidgetInput\n\t\t\t\ttitle=\"Поиск\"\n\t\t\t\ticon=\"\"\n\t\t\t\tv-model=\"menu.searchText.value\"\n\t\t\t\t:isLoading=\"api.isLoading.value && !apiRequest?.params.offset\"\n\t\t\t\t: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 menu.itemsForShow.value\"\n\t\t\t\t:class=\"{\n\t\t\t\t\t'top-active': !Array.isArray(model) && !multiselect && model.id === item.id && model.name === item.name,\n\t\t\t\t}\"\n\t\t\t\t:key=\"item.id ?? undefined\"\n\t\t\t\t:closeByClick=\"!multiselect || Core.state.isMobile\"\n\t\t\t\t@click=\"menu.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\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=\"!api.isLoading.value && !menu.itemsForShow.value.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\n\t\t\t<!-- Индикатор загрузки, первичная дозагрузка отображается в поле поиска, если оно отображено -->\n\t\t\t<TopPopupListItem\n\t\t\t\tv-if=\"api.isLoading.value && (searchType !== 'popup' || apiRequest?.params.offset)\"\n\t\t\t\ttype=\"regular\"\n\t\t\t>\n\t\t\t\t<TopPreloader type=\"circles\"/>\n\t\t\t</TopPopupListItem>\n\t\t</template>\n\t</TopPopup>\n</template>\n\n<style>\n.top-selector2 {\n\twidth: 180px;\n\tpadding: var(--top-padding-1) var(--top-forms-padding);\n}\n\n.top-selector2::placeholder,\n.top-selector2_placeholder {\n\tcolor: var(--color-text-2);\n}\n\n.top-selector2_placeholder {\n\tpadding-left: var(--top-padding-1);\n}\n\n.top-selector2-multiselect {\n\tpadding: var(--top-padding-1);\n\tflex-grow: 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\twidth: auto;\n\tpadding: var(--top-padding-1);\n\tmargin: calc(0px - var(--top-padding-1));\n\ttransform: translateX(0);\n}\n\n.top-selector2.top-button {\n\tjustify-content: start;\n}\n\n.top-selector2.top-input_input ~ .top-changer-selector {\n\ttransform: translateX(-52px);\n}\n\n.top-selector2.top-as-selector {\n\tpadding-right: calc(var(--top-selector-arrow-width) + var(--top-padding-2));\n}\n</style>\n","<script lang=\"ts\" setup>\nimport type { Props, Slots } from './types';\n\nwithDefaults(defineProps<Props>(), {\n\tstyling: 'default',\n\tsize: 'default',\n});\n\ndefineSlots<Slots>();\n</script>\n\n<template>\n\t<div\n\t\t:class=\"{\n\t\t\t['top-info']: true,\n\t\t\t['top-size_' + size]: true,\n\t\t\t['top-info-styling_' + styling]: true,\n\t\t}\"\n\t\t:data-top-icon=\"icon\"\n\t>\n\t\t<div class=\"top-info_text\">\n\t\t\t<slot></slot>\n\t\t</div>\n\n\t\t<span v-if=\"$slots.additional\" class=\"top-info_value\">\n\t\t\t<slot name=\"additional\"></slot>\n\t\t</span>\n\t</div>\n</template>\n\n<style>\n.top-info {\n\t--top-icon-width: var(--top-icon-size);\n\n\tborder-radius: var(--top-forms-radius);\n\tbox-sizing: border-box;\n\tmin-height: var(--top-forms-base-height);\n\tpadding: var(--top-padding-1) var(--top-padding-2);\n\tflex-grow: 5;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: space-between;\n\tgap: var(--top-gap-2);\n}\n\n.top-info_text {\n\tflex-grow: 1;\n}\n\n.top-info_value {\n\tfont-weight: bold;\n}\n\n/* size */\n.top-info.top-size_default {\n\tborder-radius: var(--top-radius-3);\n\tpadding: var(--top-padding-4);\n}\n\n/* styling */\n.top-info-styling_default {\n\t--top-icon-color: var(--color-text-2);\n\n\tbackground: var(--color-layer-1);\n}\n\n.top-info-styling_info {\n\t--top-icon-color: var(--color-text-primary);\n\n\tbackground: var(--color-layer-primary-1);\n}\n\n.top-info-styling_warning {\n\t--top-icon-color: var(--color-text-warning);\n\n\tbackground: var(--color-layer-warning-1);\n}\n\n.top-info-styling_negative {\n\t--top-icon-color: var(--color-text-negative);\n\n\tbackground: var(--color-layer-negative-1);\n}\n</style>\n","<script setup lang=\"ts\">\nimport { ref } from 'vue';\nimport { TopButton } from '@/components/forms/forms';\nimport type { Props } from '@/components/formsExt/policy/types';\n\ndefineProps<Props>();\n\nconst isVisible = ref(true);\n\nconst acceptCookie = () => {\n\tconst baseDomain = location.hostname.split('.').slice(-2).join('.');\n\n\tdocument.cookie = `cookie_consent=accepted; path=/; domain=.${baseDomain}; max-age=31536000`;\n\n\tisVisible.value = false;\n};\n</script>\n\n<template>\n\t<div\n\t\tv-if=\"isVisible\"\n\t\tclass=\"top-policy\"\n\t>\n\t\t<div class=\"top-policy_title\">\n\t\t\t{{ title }}\n\t\t</div>\n\n\t\t<div\n\t\t\tclass=\"top-policy_description\"\n\t\t\tv-html=\"text\"\n\t\t></div>\n\n\t\t<TopButton\n\t\t\tsize=\"m\"\n\t\t\t@click=\"acceptCookie\"\n\t\t>\n\t\t\t{{ $i18n.Common.AllowCookies }}\n\t\t</TopButton>\n\t</div>\n</template>\n\n<style>\n.top-policy {\n\tbox-sizing: border-box;\n\tbox-shadow: var(--top-shadow-b);\n\tborder-radius: var(--top-radius-4);\n\tbackground: var(--color-bg-lightning-1);\n\twidth: 600px;\n\tpadding: var(--top-padding-4);\n\tposition: fixed;\n\tright: var(--top-gap-10);\n\tbottom: var(--top-gap-10);\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: var(--top-gap-4);\n\tz-index: 10000;\n}\n\n.top-policy_title {\n\tfont-size: 24px;\n\tfont-weight: 700;\n}\n\n.top-policy_description {\n\tfont-size: 14px;\n}\n\n@media screen and (max-width: 900px) {\n\t.top-policy {\n\t\twidth: 100%;\n\t\tright: 0;\n\t\tbottom: calc(var(--top-gap-5) + var(--toolbar-height, 0px));\n\t}\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 CheckboxGroup from './checkboxGroup/checkboxGroup.vue';\nimport Selector2 from './selector2/selector2.vue';\nimport Menu from './menu/menu.vue';\nimport Info from './info/info.vue';\nimport Policy from './policy/policy.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 TopCheckboxGroup = CheckboxGroup as typeof CheckboxGroup & 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;\nexport const TopPolicy = Policy as typeof Policy & ComponentCustomProps;"],"names":["props","__props","emit","__emit","localValue","ref","isFocused","isChanged","computed","submit","value","cancel","clickOnTitle","normalizeClass","_cache","$event","toDisplayString","_ctx","createCommentVNode","withKeys","withModifiers","openBlock","createBlock","_sfc_main$9","createSlots","withCtx","createTextVNode","intermediateValue","watch","toRef","createElementBlock","_hoisted_1$6","createVNode","_sfc_main$a","mergeProps","model","useModel","elRef","_a","item","_c","_b","_e","_d","uid","_hoisted_2$4","_hoisted_3$3","onChange","id","newModel","index","_hoisted_2$3","_hoisted_1$4","_hoisted_1$3","createElementVNode","useAPI","apiRequest","minLength","useCache","items","isLoading","searchText","nextOffset","callAPIRequest","res","cacheKey","indexWithError","load","loadAppend","loadDebounce","debounce","newSearchText","useDebounce","ITEM_ID_ALL","isSelected","modelValue","checkNameForNullId","itemSelected","useMenu","multiselect","appendAllValue","appendSearchToResult","searchType","api","itemAll","useI18n","resetSearch","genIsShort","localItems","localItems2","itemsForShow","searchString","searchStringInvertKeyboard","invertKeyboardLayout","items2","itemName","nextIndex","searchTypeLocal","Core","menu","component","popupRef","getPopup","placeholder","onOpenerKeydown","needOpen","symbolPressed","disabledFocusToOpen","onFocus","onClickChanger","onOpen","onClose","onScrollContentList","el","withDirectives","resolveDynamicComponent","unref","_hoisted_1$2","Fragment","renderList","renderSlot","TopPreloader","TopPopupWidgetInput","isVisible","acceptCookie","baseDomain","_hoisted_2","_hoisted_3","TopEditArea","_sfc_main$7","TopEditInput","_sfc_main$6","TopRadioGroup","_sfc_main$5","TopCheckboxGroup","_sfc_main$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A;;;;;;;;;;;;;;;;;;;MClUT,OAAA1F,EAAA;AAAA,QAdC,YAAA;AAAA;QAAiD,CAAA,sBAAAI,EAAA,OAAA,GAAA;AAAA,MAA0C,CAAA;AAAA;IAK7E,GAAA;AAAA;QAIduG,EAAAvG,EAAA,QAAA,SAAA;AAAA,MADQ,CAAA;AAAA;QAKPuG,EAAAvG,EAAA,QAAA,YAAA;AAAA,MADyB,CAAA,KAAAC,EAAA,IAAA,EAAA;AAAA;;;;;;;;;;;;AClBlC,UAAAyG,IAAAtH,EAAA,EAAA,GAEAuH,IAAA,MAAA;AACC,YAAAC,IAAA,SAAA,SAAA,MAAA,GAAA,EAAA,MAAA,EAAA,EAAA,KAAA,GAAA;AAEA,eAAA,SAAA,4CAAAA,CAAA,sBAEAF,EAAA,QAAA;AAAA,IAAkB;;MAwBZrE,EAAA,OAAAwE,IAAA9G,EAAAC,EAAA,KAAA,GAAA,CAAA;AAAA,MAdIqC,EAAA,OAAA;AAAA,QAMF,OAAA;AAAA,QAFA,WAAArC,EAAA;AAAA,MACM,GAAA,MAAA,GAAA8G,EAAA;AAAA;QAQD,MAAA;AAAA,QAJN,SAAAH;AAAA,MACG,GAAA;AAAA;UAEuBlG,EAAAV,EAAAC,EAAA,MAAA,OAAA,YAAA,GAAA,CAAA;AAAA,QAAH,CAAA;AAAA;;;;ICzBxB+G,KAAAC,IACAC,KAAAC,IACAC,KAAAC,IACAC,KAAAC,IACAC,KAAAC,IACAC,KAAAC,IACAC,KAAAC,IACAC,KAAAC;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
define(["require","exports","vue","../.chunks/forms-L6BGV_om.amd","../require/css.amd!../assets/layout.css"],function(v,t,e,n){"use strict";if(typeof e>"u")var e=window.Vue;const l=e.defineComponent({__name:"rows",props:{gap:{default:"none"}},setup(s){const o=s;return(c,B)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass({"top-rows":!0,["top-rows-gap_"+o.gap]:!0})},[e.renderSlot(c.$slots,"default")],2))}}),r={class:"top-islandRows"},a={key:0,class:"top-islandRows_title"},d=e.defineComponent({__name:"islandRows",setup(s){return(o,c)=>(e.openBlock(),e.createElementBlock("div",r,[o.$slots.title?(e.openBlock(),e.createElementBlock("div",a,[e.renderSlot(o.$slots,"title")])):e.createCommentVNode("",!0),e.createVNode(l,{gap:"l",class:"top-islandRows_rows"},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3})]))}}),i={},_={class:"top-islandRows_row"};function u(s,o){return e.openBlock(),e.createElementBlock("div",_,[e.renderSlot(s.$slots,"default")])}const p=n._export_sfc(i,[["render",u]]),w={},f={class:"top-islandRows_subTitle"};function m(s,o){return e.openBlock(),e.createElementBlock("div",f,[e.renderSlot(s.$slots,"default")])}const R=n._export_sfc(w,[["render",m]]),T=d,k=p,$=R,h=l;t.TopIslandRows=T,t.TopIslandRowsRow=k,t.TopIslandRowsSubTitle=$,t.TopRows=h,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})});
|
|
2
|
+
//# sourceMappingURL=layout.amd.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout.amd.js","sources":["../../src/components/layout/islandRows/islandRows.vue","../../src/components/layout/islandRows/islandRowsRow/islandRowsRow.vue","../../src/components/layout/islandRows/islandRowsSubTitle/islandRowsSubTitle.vue","../../src/components/layout/layout.ts"],"sourcesContent":["<script setup lang=\"ts\">\nimport type { Slots } from './types';\nimport TopRows from '../rows/rows.vue';\n\ndefineSlots<Slots>();\n</script>\n\n<template>\n\t<div class=\"top-islandRows\">\n\t\t<div\n\t\t\tv-if=\"$slots.title\"\n\t\t\tclass=\"top-islandRows_title\"\n\t\t>\n\t\t\t<slot name=\"title\"></slot>\n\t\t</div>\n\n\t\t<TopRows gap=\"l\" class=\"top-islandRows_rows\">\n\t\t\t<slot></slot>\n\t\t</TopRows>\n\t</div>\n</template>\n\n<style>\n.top-islandRows {\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: var(--top-gap-2);\n}\n\n.top-islandRows_title {\n\tfont-size: 20px;\n\tfont-weight: bold;\n}\n\n.top-islandRows_rows {\n\tborder-radius: var(--top-radius-4);\n\tbackground: var(--color-bg-shading-2);\n\tpadding: var(--top-padding-3);\n}\n\n/* В islandRows у всех полей ввода внутри top-rows прозрачные рамки */\n.top-islandRows_rows .top-rows > .top-input,\n.top-islandRows_rows .top-rows > .top-textarea,\n.top-islandRows_rows .top-rows > .top-select { --top-forms-border-color: transparent }\n\n/* Размеры форм */\n.top-islandRows_rows .top-button,\n.top-islandRows_rows .top-input,\n.top-islandRows_rows .top-textarea,\n.top-islandRows_rows .top-select { width: auto; flex-grow: 1; display: flex; }\n\n.top-islandRows_rows .top-forms-optionWrapper { padding: 0; flex-grow: 1; }\n</style>\n","<script setup lang=\"ts\">\n</script>\n\n<template>\n\t<div class=\"top-islandRows_row\">\n\t\t<slot></slot>\n\t</div>\n</template>\n\n<style>\n.top-islandRows_row {\n\toutline-offset: 2px;\n\tborder-radius: 8px;\n\tbackground: var(--color-layout-front-1);\n\tpadding: var(--top-padding-3);\n\tdisplay: flex;\n\tgap: var(--top-gap-2);\n}\n\n/* Фокус форм */\n.top-islandRows_row:has(> .top-forms-optionWrapper .top-forms-focusable:focus-visible) {\n\toutline: 2px solid var(--color-line-primary-1);\n\toutline-offset: 2px;\n}\n\n/* Фокус форм, стили top-error оставить у форм, иначе они будут конфликтовать со стилями фокуса, так как у top-islandRows_row нет border */\n.top-islandRows_row > .top-forms-optionWrapper .top-forms-focusable:not(.top-error) {\n\toutline: none;\n\tanimation: none;\n}\n\n/* Отмена прозрачных рамок у полей ввода внутри islandRows, если top-rows расположен в islandRowsRow */\n.top-islandRows_row .top-rows > .top-input,\n.top-islandRows_row .top-rows > .top-textarea,\n.top-islandRows_row .top-rows > .top-select { --top-forms-border-color: inherit }\n</style>\n","<script setup lang=\"ts\">\n</script>\n\n<template>\n\t<div class=\"top-islandRows_subTitle\">\n\t\t<slot></slot>\n\t</div>\n</template>\n\n<style>\n.top-islandRows_subTitle {\n\twidth: 100%;\n\tfont-size: 16px;\n\tfont-weight: bold;\n}\n</style>\n","import type { ComponentCustomProps } from 'vue';\n\nimport IslandRows from './islandRows/islandRows.vue';\nimport IslandRowsRow from './islandRows/islandRowsRow/islandRowsRow.vue';\nimport IslandRowsSubTitle from './islandRows/islandRowsSubTitle/islandRowsSubTitle.vue';\nimport Rows from './rows/rows.vue';\n\nexport const TopIslandRows = IslandRows as typeof IslandRows & ComponentCustomProps;\nexport const TopIslandRowsRow = IslandRowsRow as typeof IslandRowsRow & ComponentCustomProps;\nexport const TopIslandRowsSubTitle = IslandRowsSubTitle as typeof IslandRowsSubTitle & ComponentCustomProps;\nexport const TopRows = Rows as typeof Rows & ComponentCustomProps;\n"],"names":["_ctx","vue","_hoisted_2","_hoisted_1$1","_hoisted_1","TopIslandRows","_sfc_main$2","TopIslandRowsRow","IslandRowsRow","TopIslandRowsSubTitle","IslandRowsSubTitle","TopRows","_sfc_main$3"],"mappings":"0lBAmBOA,EAAA,OAAA,OAAAC,EAAA,UAAA,EAAAA,EAAA,mBAAA,MAAAC,EAAA,CALCD,EAAA,WAAAD,EAAA,OAAA,OAAA,CADqB,CAAA,GAAAC,EAAA,mBAAA,GAAA,EAAA,2BAGd,MAAA,qBAAU,EAAA,wBACTA,EAAA,WAAAD,EAAA,OAAA,SAAA,CAAA,CAAA,mBCbVG,EAAA,CAAA,MAAA,oBAAA,qJCAAC,EAAA,CAAA,MAAA,yBAAA,gJCGCC,EAAAC,EACAC,EAAAC,EACAC,EAAAC,EACAC,EAAAC"}
|
package/layout/layout.js
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { Core as i } from "../core/app.js";
|
|
2
|
+
import { defineComponent as r, createElementBlock as t, openBlock as e, normalizeClass as d, renderSlot as n, createCommentVNode as p, createVNode as u, withCtx as m } from "vue";
|
|
3
|
+
import { t as l } from "../.chunks/forms-DC7ffuv2.es.js";
|
|
4
|
+
const _ = ["../assets/layout.css"].map((s) => import.meta.resolve(s));
|
|
5
|
+
i.insertCSSLinkToPage(_, !0);
|
|
6
|
+
const c = /* @__PURE__ */ r({
|
|
7
|
+
__name: "rows",
|
|
8
|
+
props: {
|
|
9
|
+
gap: { default: "none" }
|
|
10
|
+
},
|
|
11
|
+
setup(s) {
|
|
12
|
+
const o = s;
|
|
13
|
+
return (a, k) => (e(), t("div", {
|
|
14
|
+
class: d({
|
|
15
|
+
"top-rows": !0,
|
|
16
|
+
["top-rows-gap_" + o.gap]: !0
|
|
17
|
+
})
|
|
18
|
+
}, [
|
|
19
|
+
n(a.$slots, "default")
|
|
20
|
+
], 2));
|
|
21
|
+
}
|
|
22
|
+
}), f = { class: "top-islandRows" }, w = {
|
|
23
|
+
key: 0,
|
|
24
|
+
class: "top-islandRows_title"
|
|
25
|
+
}, R = /* @__PURE__ */ r({
|
|
26
|
+
__name: "islandRows",
|
|
27
|
+
setup(s) {
|
|
28
|
+
return (o, a) => (e(), t("div", f, [
|
|
29
|
+
o.$slots.title ? (e(), t("div", w, [
|
|
30
|
+
n(o.$slots, "title")
|
|
31
|
+
])) : p("", !0),
|
|
32
|
+
u(c, {
|
|
33
|
+
gap: "l",
|
|
34
|
+
class: "top-islandRows_rows"
|
|
35
|
+
}, {
|
|
36
|
+
default: m(() => [
|
|
37
|
+
n(o.$slots, "default")
|
|
38
|
+
]),
|
|
39
|
+
_: 3
|
|
40
|
+
})
|
|
41
|
+
]));
|
|
42
|
+
}
|
|
43
|
+
}), $ = {}, h = { class: "top-islandRows_row" };
|
|
44
|
+
function C(s, o) {
|
|
45
|
+
return e(), t("div", h, [
|
|
46
|
+
n(s.$slots, "default")
|
|
47
|
+
]);
|
|
48
|
+
}
|
|
49
|
+
const T = /* @__PURE__ */ l($, [["render", C]]), S = {}, v = { class: "top-islandRows_subTitle" };
|
|
50
|
+
function g(s, o) {
|
|
51
|
+
return e(), t("div", v, [
|
|
52
|
+
n(s.$slots, "default")
|
|
53
|
+
]);
|
|
54
|
+
}
|
|
55
|
+
const I = /* @__PURE__ */ l(S, [["render", g]]), B = R, V = T, x = I, z = c;
|
|
56
|
+
export {
|
|
57
|
+
B as TopIslandRows,
|
|
58
|
+
V as TopIslandRowsRow,
|
|
59
|
+
x as TopIslandRowsSubTitle,
|
|
60
|
+
z as TopRows
|
|
61
|
+
};
|
|
62
|
+
//# sourceMappingURL=layout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layout.js","sources":["../../src/components/layout/rows/rows.vue","../../src/components/layout/islandRows/islandRows.vue","../../src/components/layout/islandRows/islandRowsRow/islandRowsRow.vue","../../src/components/layout/islandRows/islandRowsSubTitle/islandRowsSubTitle.vue","../../src/components/layout/layout.ts"],"sourcesContent":["<script setup lang=\"ts\">\nimport type { Props } from './types';\n\nconst props = withDefaults(defineProps<Props>(), {\n\tgap: 'none',\n});\n</script>\n\n<template>\n\t<div\n\t\t:class=\"{\n\t\t\t['top-rows']: true,\n\t\t\t['top-rows-gap_' + props.gap]: true,\n\t\t}\"\n\t>\n\t\t<slot></slot>\n\t</div>\n</template>\n\n<style>\n.top-rows {\n\tdisplay: flex;\n\tflex-direction: column;\n\tflex-grow: 1;\n}\n\n.top-rows-gap_none {\n\tgap: 0px;\n}\n\n.top-rows-gap_xs {\n\tgap: var(--top-gap-1);\n}\n\n.top-rows-gap_s {\n\tgap: var(--top-gap-2);\n}\n\n.top-rows-gap_m {\n\tgap: var(--top-gap-3);\n}\n\n.top-rows-gap_l {\n\tgap: var(--top-gap-4);\n}\n</style>\n","<script setup lang=\"ts\">\nimport type { Slots } from './types';\nimport TopRows from '../rows/rows.vue';\n\ndefineSlots<Slots>();\n</script>\n\n<template>\n\t<div class=\"top-islandRows\">\n\t\t<div\n\t\t\tv-if=\"$slots.title\"\n\t\t\tclass=\"top-islandRows_title\"\n\t\t>\n\t\t\t<slot name=\"title\"></slot>\n\t\t</div>\n\n\t\t<TopRows gap=\"l\" class=\"top-islandRows_rows\">\n\t\t\t<slot></slot>\n\t\t</TopRows>\n\t</div>\n</template>\n\n<style>\n.top-islandRows {\n\tdisplay: flex;\n\tflex-direction: column;\n\tgap: var(--top-gap-2);\n}\n\n.top-islandRows_title {\n\tfont-size: 20px;\n\tfont-weight: bold;\n}\n\n.top-islandRows_rows {\n\tborder-radius: var(--top-radius-4);\n\tbackground: var(--color-bg-shading-2);\n\tpadding: var(--top-padding-3);\n}\n\n/* В islandRows у всех полей ввода внутри top-rows прозрачные рамки */\n.top-islandRows_rows .top-rows > .top-input,\n.top-islandRows_rows .top-rows > .top-textarea,\n.top-islandRows_rows .top-rows > .top-select { --top-forms-border-color: transparent }\n\n/* Размеры форм */\n.top-islandRows_rows .top-button,\n.top-islandRows_rows .top-input,\n.top-islandRows_rows .top-textarea,\n.top-islandRows_rows .top-select { width: auto; flex-grow: 1; display: flex; }\n\n.top-islandRows_rows .top-forms-optionWrapper { padding: 0; flex-grow: 1; }\n</style>\n","<script setup lang=\"ts\">\n</script>\n\n<template>\n\t<div class=\"top-islandRows_row\">\n\t\t<slot></slot>\n\t</div>\n</template>\n\n<style>\n.top-islandRows_row {\n\toutline-offset: 2px;\n\tborder-radius: 8px;\n\tbackground: var(--color-layout-front-1);\n\tpadding: var(--top-padding-3);\n\tdisplay: flex;\n\tgap: var(--top-gap-2);\n}\n\n/* Фокус форм */\n.top-islandRows_row:has(> .top-forms-optionWrapper .top-forms-focusable:focus-visible) {\n\toutline: 2px solid var(--color-line-primary-1);\n\toutline-offset: 2px;\n}\n\n/* Фокус форм, стили top-error оставить у форм, иначе они будут конфликтовать со стилями фокуса, так как у top-islandRows_row нет border */\n.top-islandRows_row > .top-forms-optionWrapper .top-forms-focusable:not(.top-error) {\n\toutline: none;\n\tanimation: none;\n}\n\n/* Отмена прозрачных рамок у полей ввода внутри islandRows, если top-rows расположен в islandRowsRow */\n.top-islandRows_row .top-rows > .top-input,\n.top-islandRows_row .top-rows > .top-textarea,\n.top-islandRows_row .top-rows > .top-select { --top-forms-border-color: inherit }\n</style>\n","<script setup lang=\"ts\">\n</script>\n\n<template>\n\t<div class=\"top-islandRows_subTitle\">\n\t\t<slot></slot>\n\t</div>\n</template>\n\n<style>\n.top-islandRows_subTitle {\n\twidth: 100%;\n\tfont-size: 16px;\n\tfont-weight: bold;\n}\n</style>\n","import type { ComponentCustomProps } from 'vue';\n\nimport IslandRows from './islandRows/islandRows.vue';\nimport IslandRowsRow from './islandRows/islandRowsRow/islandRowsRow.vue';\nimport IslandRowsSubTitle from './islandRows/islandRowsSubTitle/islandRowsSubTitle.vue';\nimport Rows from './rows/rows.vue';\n\nexport const TopIslandRows = IslandRows as typeof IslandRows & ComponentCustomProps;\nexport const TopIslandRowsRow = IslandRowsRow as typeof IslandRowsRow & ComponentCustomProps;\nexport const TopIslandRowsSubTitle = IslandRowsSubTitle as typeof IslandRowsSubTitle & ComponentCustomProps;\nexport const TopRows = Rows as typeof Rows & ComponentCustomProps;\n"],"names":["props","__props","normalizeClass","openBlock","createElementBlock","_hoisted_1$2","_ctx","_hoisted_2","renderSlot","createCommentVNode","_hoisted_1$1","_hoisted_1","TopIslandRows","_sfc_main$2","TopIslandRowsRow","IslandRowsRow","TopIslandRowsSubTitle","IslandRowsSubTitle","TopRows","_sfc_main$3"],"mappings":";;;;;;;;;;;AAGA,UAAAA,IAAAC;;MAaO,OAAAC,EAAA;AAAA,QANC,YAAA;AAAA;MAA0D,CAAA;AAAA;;IAKnD,GAAA,CAAA;AAAA;;;;;;;sBCPdC,EAAA,GAAAC,EAAA,OAAAC,GAAA;AAAA,MAWMC,EAAA,OAAA,SAAAH,EAAA,GAAAC,EAAA,OAAAG,GAAA;AAAA,QALCC,EAAAF,EAAA,QAAA,OAAA;AAAA,MADqB,CAAA,KAAAG,EAAA,IAAA,EAAA;AAAA;QAKjB,KAAA;AAAA,QAFG,OAAA;AAAA,MAAU,GAAA;AAAA;UACTD,EAAAF,EAAA,QAAA,SAAA;AAAA,QAAA,CAAA;AAAA;;;;YCbVI,IAAA,EAAA,OAAA,qBAAA;;AAAL,SAAAP,EAAA,GAAAC,EAAA,OAAAM,GAAA;AAAA;;;yDCAKC,IAAA,EAAA,OAAA,0BAAA;;AAAL,SAAAR,EAAA,GAAAC,EAAA,OAAAO,GAAA;AAAA;;;iDCGMC,IAAAC,GACAC,IAAAC,GACAC,IAAAC,GACAC,IAAAC;"}
|
package/package.json
CHANGED
|
@@ -1,23 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@topvisor/ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.0.42-dev.
|
|
4
|
+
"version": "1.0.42-dev.4",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Topvisor UI-kit Vue",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"storybook": "STORYBOOK_PROJECT_ROOT=$(pwd) npx storybook dev -p 6006 --ci",
|
|
9
|
-
"storybook-net": "./storybook-dev.sh",
|
|
10
|
-
"build-storybook": "STORYBOOK_PROJECT_ROOT=$(pwd) storybook build -o storybook-static",
|
|
11
|
-
"preview": "concurrently \"vite build --mode preview --watch\" \"bash scripts/afterBuild.sh\" \"vite preview --mode preview --port 4173\"",
|
|
12
|
-
"npm-release": "npm run ci-cd-genDocs & npx standard-version --commit-all --release-as patch",
|
|
13
|
-
"npm-prerelease": "npx standard-version --commit-all --release-as patch --prerelease",
|
|
14
|
-
"ci-cd-genDocs": "bash scripts/genDocs.sh",
|
|
15
|
-
"ci-cd-build": "vite build && bash scripts/afterBuild.sh",
|
|
16
|
-
"ci-cd-publish-latest": "npm publish ./dist/ --tag latest",
|
|
17
|
-
"ci-cd-publish-dev": "npm publish ./dist/ --tag dev",
|
|
18
|
-
"ci-cd-chromatic": "npx chromatic --exit-zero-on-changes",
|
|
19
|
-
"chromatic": "npx chromatic"
|
|
20
|
-
},
|
|
21
7
|
"author": "Topvisor",
|
|
22
8
|
"keywords": [
|
|
23
9
|
"topvisor",
|
|
@@ -40,53 +26,6 @@
|
|
|
40
26
|
"./tabs/tabs.js": "./tabs/tabs.js",
|
|
41
27
|
"./tabsView/tabsView.js": "./tabsView/tabsView.js"
|
|
42
28
|
},
|
|
43
|
-
"devDependencies": {
|
|
44
|
-
"@chromatic-com/storybook": "^4.0.1",
|
|
45
|
-
"@faker-js/faker": "^9.9.0",
|
|
46
|
-
"@rive-app/canvas-lite": "^2.30.4",
|
|
47
|
-
"@rollup/plugin-babel": "^6.0.4",
|
|
48
|
-
"@rollup/plugin-commonjs": "^28.0.6",
|
|
49
|
-
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
50
|
-
"@rollup/plugin-terser": "^0.4.4",
|
|
51
|
-
"@storybook/addon-a11y": "9.0.18",
|
|
52
|
-
"@storybook/addon-designs": "^10.0.2",
|
|
53
|
-
"@storybook/addon-docs": "9.0.18",
|
|
54
|
-
"@storybook/addon-links": "9.0.18",
|
|
55
|
-
"@storybook/global": "^5.0.0",
|
|
56
|
-
"@storybook/vue3-vite": "9.0.18",
|
|
57
|
-
"@types/jquery": "^3.5.32",
|
|
58
|
-
"@types/jqueryui": "^1.12.24",
|
|
59
|
-
"@types/lodash-es": "^4.17.12",
|
|
60
|
-
"@vitejs/plugin-vue": "^6.0.0",
|
|
61
|
-
"@vueuse/core": "^13.5.0",
|
|
62
|
-
"chromatic": "^13.1.2",
|
|
63
|
-
"clean-css-cli": "^5.6.3",
|
|
64
|
-
"concurrently": "^9.2.0",
|
|
65
|
-
"conventional-changelog-cli": "^5.0.0",
|
|
66
|
-
"glob": "^11.0.3",
|
|
67
|
-
"lodash-es": "^4.17.21",
|
|
68
|
-
"magic-string": "^0.30.17",
|
|
69
|
-
"mdx-mermaid": "^2.0.3",
|
|
70
|
-
"picocolors": "^1.1.1",
|
|
71
|
-
"punycode": "^2.3.1",
|
|
72
|
-
"remark-gfm": "^4.0.1",
|
|
73
|
-
"standard-version": "^9.5.0",
|
|
74
|
-
"storybook": "9.0.18",
|
|
75
|
-
"storybook-addon-pseudo-states": "9.0.18",
|
|
76
|
-
"string-hash": "^1.1.3",
|
|
77
|
-
"topvisor-openapi": "github:topvisor/topvisor-openapi",
|
|
78
|
-
"transliteration": "^2.3.5",
|
|
79
|
-
"ts-json-schema-generator": "^2.4.0",
|
|
80
|
-
"typedoc": "^0.28.7",
|
|
81
|
-
"typedoc-plugin-markdown": "^4.7.1",
|
|
82
|
-
"typedoc-plugin-mdn-links": "^5.0.5",
|
|
83
|
-
"typescript": "^5.8.3",
|
|
84
|
-
"vite": "^7.0.6",
|
|
85
|
-
"vite-plugin-checker": "^0.10.1",
|
|
86
|
-
"vite-plugin-dts": "^4.5.4",
|
|
87
|
-
"vite-plugin-dynamic-import": "^1.6.0",
|
|
88
|
-
"vite-plugin-webpackchunkname": "^1.0.3"
|
|
89
|
-
},
|
|
90
29
|
"peerDependencies": {
|
|
91
30
|
"pinia": "2.3.1",
|
|
92
31
|
"vue": "3.5.18"
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
define(["require","exports","../.chunks/listItem.vue_vue_type_script_setup_true_lang-M0ZTpQlF.amd","vue","../.chunks/forms-L6BGV_om.amd","../require/css.amd!../assets/popup.css"],function(h,r,f,e,c){"use strict";if(typeof e>"u")var e=window.Vue;const T=e.defineComponent({__name:"widgetInput",props:e.mergeModels({modelValue:{},name:{},disabled:{type:Boolean},readonly:{type:Boolean},modificator:{},size:{},styling:{},isError:{type:Boolean},isLoading:{type:Boolean},icon:{},icon2:{},addCleaner:{type:Boolean,default:!0},title:{},captionType:{}},{modelValue:{default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(u){const d=e.useModel(u,"modelValue");return(i,o)=>(e.openBlock(),e.createBlock(c._sfc_main$2,e.mergeProps(i.$props,{modificator:"popupWidgetInput",modelValue:d.value,"onUpdate:modelValue":o[0]||(o[0]=l=>d.value=l)}),null,16,["modelValue"]))}}),S=e.defineComponent({__name:"alert",props:{submitText:{},id:{},class:{},transitionDuration:{},footerSupportLink:{},pos:{},notch:{type:Boolean},openByHover:{type:Boolean},posBy:{},data:{}},emits:["open","close","scrollContentList"],setup(u){const i={...u,submitText:void 0};return(o,l)=>(e.openBlock(),e.createBlock(f._sfc_main,e.mergeProps({class:"top-popupAlert"},i,{onOpen:l[0]||(l[0]=s=>o.$emit("open",s)),onClose:l[1]||(l[1]=s=>o.$emit("close",s)),onScrollContentList:l[2]||(l[2]=(...s)=>o.$emit("scrollContentList",...s))}),e.createSlots({opener:e.withCtx(()=>[e.renderSlot(o.$slots,"opener")]),footer:e.withCtx(()=>[e.renderSlot(o.$slots,"footer"),e.createVNode(c._sfc_main,null,{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.submitText||o.$i18n.Common.Close),1)]),_:1})]),_:2},[o.$slots.header?{name:"header",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"header")]),key:"0"}:void 0,o.$slots.default?{name:"content",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),key:"1"}:void 0]),1040))}}),y=e.defineComponent({__name:"confirm",props:{cancelText:{},submitText:{},isWarning:{type:Boolean},id:{},class:{},transitionDuration:{},footerSupportLink:{},pos:{},notch:{type:Boolean},openByHover:{type:Boolean},posBy:{},data:{}},emits:["open","close","scrollContentList","submit"],setup(u,{emit:d}){const i=u,o=d,l=e.ref(!1),s=()=>{l.value=!0,o("submit")},C=n=>{if(l.value){l.value=!1;return}o("close",n)},$={...i,submitText:void 0,cancelText:void 0,isWarning:void 0};return(n,p)=>(e.openBlock(),e.createBlock(f._sfc_main,e.mergeProps({class:"top-popupConfirm"},$,{onOpen:p[0]||(p[0]=t=>n.$emit("open",t)),onClose:p[1]||(p[1]=t=>C(t)),onScrollContentList:p[2]||(p[2]=(...t)=>n.$emit("scrollContentList",...t))}),e.createSlots({opener:e.withCtx(()=>[e.renderSlot(n.$slots,"opener")]),footer:e.withCtx(()=>[e.renderSlot(n.$slots,"footer"),e.createVNode(c._sfc_main,{color:"theme"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.cancelText||n.$i18n.Common.Cancel),1)]),_:1}),e.createVNode(c._sfc_main,{onClick:s,color:n.isWarning?"red":"blue"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.submitText||n.$i18n.Common.Continue),1)]),_:1},8,["color"])]),_:2},[n.$slots.header?{name:"header",fn:e.withCtx(()=>[e.renderSlot(n.$slots,"header")]),key:"0"}:void 0,n.$slots.default?{name:"content",fn:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),key:"1"}:void 0]),1040))}}),V=e.defineComponent({__name:"prompt",props:{submitText:{},cancelText:{},defaultValue:{},id:{},class:{},transitionDuration:{},footerSupportLink:{},pos:{},notch:{type:Boolean},openByHover:{type:Boolean},posBy:{},data:{}},emits:["open","close","scrollContentList","submit"],setup(u,{emit:d}){const i=u,o=d,l=()=>C.value=i.defaultValue??"",s=e.ref(!1),C=e.ref();e.watch(()=>i.defaultValue,()=>l(),{immediate:!0});const $=()=>{s.value=!0},n=t=>{if(s.value){s.value=!1,o("submit",C.value),l();return}l(),o("close",t)},p={...i,submitText:void 0,cancelText:void 0,defaultValue:void 0};return(t,a)=>(e.openBlock(),e.createBlock(f._sfc_main,e.mergeProps({class:"top-popupPrompt"},p,{onOpen:a[1]||(a[1]=m=>t.$emit("open",m)),onClose:a[2]||(a[2]=m=>n(m)),onScrollContentList:a[3]||(a[3]=(...m)=>t.$emit("scrollContentList",...m))}),e.createSlots({opener:e.withCtx(()=>[e.renderSlot(t.$slots,"opener")]),footer:e.withCtx(()=>[e.renderSlot(t.$slots,"footer"),e.createVNode(c._sfc_main,{color:"theme"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.cancelText||t.$i18n.Common.Cancel),1)]),_:1}),e.createVNode(c._sfc_main,{onClick:$},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.submitText||t.$i18n.Common.OK),1)]),_:1})]),_:2},[t.$slots.header?{name:"header",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"header")]),key:"0"}:void 0,t.$slots.default?{name:"content",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"default"),e.createVNode(T,{modelValue:C.value,"onUpdate:modelValue":a[0]||(a[0]=m=>C.value=m),modelModifiers:{trim:!0}},null,8,["modelValue"])]),key:"1"}:void 0]),1040))}}),B=f._sfc_main,v=f._sfc_main$2,P=f._sfc_main$1,b=T,k=S,w=y,g=V;r.TopPopup=B,r.TopPopupAlert=k,r.TopPopupConfirm=w,r.TopPopupListItem=P,r.TopPopupOpener=v,r.TopPopupPrompt=g,r.TopPopupWidgetInput=b,Object.defineProperty(r,Symbol.toStringTag,{value:"Module"})});
|
|
2
|
+
//# sourceMappingURL=popup.amd.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popup.amd.js","sources":["../../src/components/popup/popup/widgetInput.vue","../../src/components/popup/alert/alert.vue","../../src/components/popup/confirm/confirm.vue","../../src/components/popup/prompt/prompt.vue","../../src/components/popup/popup.ts"],"sourcesContent":["<script setup lang=\"ts\">\nimport type { ModelRef } from 'vue';\nimport type { Props } from '@/components/forms/input/types';\nimport TopInput from '@/components/forms/input/input.vue';\n\nwithDefaults(defineProps<Props>(), {\n\taddCleaner: true,\n});\n\nconst model: ModelRef<string> = defineModel({\n\tdefault: '',\n});\n</script>\n\n<template>\n\t<TopInput\n\t\t:=\"$props\"\n\t\tmodificator=\"popupWidgetInput\"\n\t\tv-model=\"model\"\n\t/>\n</template>\n\n<style>\n.top-input-popupWidgetInput {\n\t--top-loadbar-color: var(--color-line-2);\n\n\twidth: 100%;\n}\n\n.top-input_input-popupWidgetInput {\n\tborder: none;\n\tbackground: var(--color-layer-1);\n}\n\n.top-input_input-popupWidgetInput:hover {\n\tbackground: var(--color-layer-2);\n}\n\n.top-input_input-popupWidgetInput:focus {\n\tbackground: var(--color-layer-1);\n\toutline: unset;\n}\n</style>\n","<script setup lang=\"ts\" generic=\"T extends Record<string, any> | undefined = undefined\">\nimport type { Emits, Props } from './types';\nimport TopButton from '@/components/forms/button/button.vue';\nimport TopPopup from '@/components/popup/popup/popup.vue';\n\nconst props = defineProps<Props<T>>();\n\ndefineEmits<Emits<T>>();\n\nconst $propsPopup: Omit<Props<T>, 'submitText'> = {\n\t...props,\n\tsubmitText: undefined,\n};\n</script>\n\n<template>\n\t<!-- @vue-generic {T} -->\n\t<TopPopup\n\t\tclass=\"top-popupAlert\"\n\t\t:=$propsPopup\n\t\t@open=\"$emit('open', $event)\"\n\t\t@close=\"$emit('close', $event)\"\n\t\t@scrollContentList=\"(...args) => $emit('scrollContentList', ...args)\"\n\t>\n\t\t<template #opener>\n\t\t\t<!-- @slot Элемент для открытия Popup -->\n\t\t\t<slot name=\"opener\"></slot>\n\t\t</template>\n\n\t\t<template #header v-if=\"$slots.header\">\n\t\t\t<!-- @slot Шапка -->\n\t\t\t<slot name=\"header\"></slot>\n\t\t</template>\n\n\t\t<template #content v-if=\"$slots.default\">\n\t\t\t<!-- @slot Контент в свободной форме -->\n\t\t\t<slot></slot>\n\t\t</template>\n\n\t\t<template #footer>\n\t\t\t<!-- @slot Футер -->\n\t\t\t<slot name=\"footer\"></slot>\n\n\t\t\t<TopButton>\n\t\t\t\t{{ submitText || $i18n.Common.Close }}\n\t\t\t</TopButton>\n\t\t</template>\n\t</TopPopup>\n</template>\n","<script setup lang=\"ts\" generic=\"T extends Record<string, any> | undefined = undefined\">\nimport { ref } from 'vue';\nimport type { PopupEvent } from '@/components/popup/popup/types';\nimport type { Emits, Props } from './types';\nimport TopButton from '@/components/forms/button/button.vue';\nimport TopPopup from '@/components/popup/popup/popup.vue';\n\nconst props = defineProps<Props<T>>();\n\nconst emit = defineEmits<Emits<T>>();\n\nconst isSubmit = ref(false);\n\nconst onSubmit = () => {\n\tisSubmit.value = true;\n\n\temit('submit');\n};\n\nconst onClose = (popupEvent: PopupEvent<T>) => {\n\tif (isSubmit.value) {\n\t\tisSubmit.value = false;\n\n\t\treturn;\n\t}\n\n\temit('close', popupEvent);\n};\n\nconst $propsPopup: Omit<Props<T>, 'submitText' | 'cancelText' | 'isWarning'> = {\n\t...props,\n\tsubmitText: undefined,\n\tcancelText: undefined,\n\tisWarning: undefined,\n};\n</script>\n\n<template>\n\t<!-- @vue-generic {T} -->\n\t<TopPopup\n\t\tclass=\"top-popupConfirm\"\n\t\t:=$propsPopup\n\t\t@open=\"$emit('open', $event)\"\n\t\t@close=\"onClose($event)\"\n\t\t@scrollContentList=\"(...args) => $emit('scrollContentList', ...args)\"\n\t>\n\t\t<template #opener>\n\t\t\t<!-- @slot Элемент для открытия TopPopup -->\n\t\t\t<slot name=\"opener\"></slot>\n\t\t</template>\n\n\t\t<template #header v-if=\"$slots.header\">\n\t\t\t<!-- @slot Шапка -->\n\t\t\t<slot name=\"header\"></slot>\n\t\t</template>\n\n\t\t<template #content v-if=\"$slots.default\">\n\t\t\t<!-- @slot Контент в свободной форме -->\n\t\t\t<slot></slot>\n\t\t</template>\n\n\t\t<template #footer>\n\t\t\t<!-- @slot Футер -->\n\t\t\t<slot name=\"footer\"></slot>\n\n\t\t\t<TopButton color=\"theme\">\n\t\t\t\t{{ cancelText || $i18n.Common.Cancel }}\n\t\t\t</TopButton>\n\n\t\t\t<TopButton\n\t\t\t\t@click=\"onSubmit\"\n\t\t\t\t:color=\"isWarning ? 'red' : 'blue'\"\n\t\t\t>\n\t\t\t\t{{ submitText || $i18n.Common.Continue }}\n\t\t\t</TopButton>\n\t\t</template>\n\t</TopPopup>\n</template>\n","<script setup lang=\"ts\" generic=\"T extends Record<string, any> | undefined = undefined\">\nimport { ref, watch } from 'vue';\nimport type { PopupEvent } from '@/components/popup/popup/types';\nimport type { Emits, Props } from './types';\nimport TopButton from '@/components/forms/button/button.vue';\nimport TopPopup from '@/components/popup/popup/popup.vue';\nimport TopPopupWidgetInput from '@/components/popup/popup/widgetInput.vue';\n\nconst props = defineProps<Props<T>>();\n\nconst emit = defineEmits<Emits<T>>();\n\nconst reset = () => localValue.value = props.defaultValue ?? '';\n\nconst isSubmit = ref(false);\n\nconst localValue = ref();\nwatch(() => props.defaultValue, () => reset(), { immediate: true });\n\nconst onSubmit = () => {\n\tisSubmit.value = true;\n};\n\nconst onClose = (popupEvent: PopupEvent<T>) => {\n\tif (isSubmit.value) {\n\t\tisSubmit.value = false;\n\n\t\temit('submit', localValue.value);\n\n\t\treset();\n\n\t\treturn;\n\t}\n\n\treset();\n\n\temit('close', popupEvent);\n};\n\nconst $propsPopup: Omit<Props<T>, 'submitText' | 'cancelText' | 'isWarning'> = {\n\t...props,\n\tsubmitText: undefined,\n\tcancelText: undefined,\n\tdefaultValue: undefined,\n};\n</script>\n\n<template>\n\t<!-- @vue-generic {T} -->\n\t<TopPopup\n\t\tclass=\"top-popupPrompt\"\n\t\t:=$propsPopup\n\t\t@open=\"$emit('open', $event)\"\n\t\t@close=\"onClose($event)\"\n\t\t@scrollContentList=\"(...args) => $emit('scrollContentList', ...args)\"\n\t>\n\t\t<template #opener>\n\t\t\t<!-- @slot Элемент для открытия TopPopup -->\n\t\t\t<slot name=\"opener\"></slot>\n\t\t</template>\n\n\t\t<template #header v-if=\"$slots.header\">\n\t\t\t<!-- @slot Шапка -->\n\t\t\t<slot name=\"header\"></slot>\n\t\t</template>\n\n\t\t<template #content v-if=\"$slots.default\">\n\t\t\t<!-- @slot Контент в свободной форме -->\n\t\t\t<slot></slot>\n\n\t\t\t<TopPopupWidgetInput v-model.trim=\"localValue\"/>\n\t\t</template>\n\n\t\t<template #footer>\n\t\t\t<!-- @slot Футер -->\n\t\t\t<slot name=\"footer\"></slot>\n\n\t\t\t<TopButton color=\"theme\">\n\t\t\t\t{{ cancelText || $i18n.Common.Cancel }}\n\t\t\t</TopButton>\n\n\t\t\t<TopButton @click=\"onSubmit\">\n\t\t\t\t{{ submitText || $i18n.Common.OK }}\n\t\t\t</TopButton>\n\t\t</template>\n\t</TopPopup>\n</template>\n","import type { ComponentCustomProps } from 'vue';\n\nimport Popup from './popup/popup.vue';\nimport PopupOpener from './popup/opener.vue';\nimport PopupListItem from './popup/listItem.vue';\nimport PopupWidgetInput from './popup/widgetInput.vue';\nimport PopupAlert from './alert/alert.vue';\nimport PopupConfirm from './confirm/confirm.vue';\nimport PopupPrompt from './prompt/prompt.vue';\n\nexport const TopPopup = Popup as typeof Popup & ComponentCustomProps;\nexport const TopPopupOpener = PopupOpener as typeof PopupOpener & ComponentCustomProps;\nexport const TopPopupListItem = PopupListItem as typeof PopupListItem & ComponentCustomProps;\nexport const TopPopupWidgetInput = PopupWidgetInput as typeof PopupWidgetInput & ComponentCustomProps;\nexport const TopPopupAlert = PopupAlert as typeof PopupAlert & ComponentCustomProps;\nexport const TopPopupConfirm = PopupConfirm as typeof PopupConfirm & ComponentCustomProps;\nexport const TopPopupPrompt = PopupPrompt as typeof PopupPrompt & ComponentCustomProps;\n"],"names":["model","_cache","$event","vue","listItem_vue_vue_type_script_setup_true_lang","$propsPopup","_ctx","forms","isSubmit","onClose","popupEvent","emit","props","reset","localValue","TopPopup","TopPopupOpener","TopPopupListItem","TopPopupWidgetInput","_sfc_main$3","TopPopupAlert","_sfc_main$2","TopPopupConfirm","_sfc_main$1","TopPopupPrompt","_sfc_main"],"mappings":"owBAiBc,WAAAA,EAAA,MACE,sBAAAC,EAAA,CAAA,IAAAA,EAAA,CAAA,EAAAC,GAAAF,EAAA,MAAAE,0RCTkC,KAC9C,WAAA,sBAOHC,EAAA,UAAA,EAAAA,EAAA,YAAAC,EAAA,UAAAD,EAAA,WAAA,CAAA,MAAA,gBAAA,EAAAE,EAAA,uMAS6BF,EAAA,WAAAG,EAAA,OAAA,QAAA,CAAA,CAAA,wBAeAH,EAAA,WAAAG,EAAA,OAAA,QAAA,EAAAH,EAAA,YAAAI,EAAA,UAAA,KAAA,CAIf,QAAAJ,EAAA,QAAA,IAAA,CAD2BA,EAAA,gBAAAA,EAAA,gBAAAG,EAAA,YAAAA,EAAA,MAAA,OAAA,KAAA,EAAA,CAAA,CAAH,CAAA,+CAf1B,GAAAH,EAAA,QAAA,IAAA,CAEiBA,EAAA,WAAAG,EAAA,OAAA,QAAA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AAA,MAAA,CACCA,EAAA,MAAA,GAEAG,EAAA,SAAAG,EAAA,KAAA,EAEAD,EAAA,QAEA,CAGDA,EAAA,EAEAF,EAAA,QAAAD,CAAA,MAG8E,GAAAE,sCAGlE,aAAA,sBAOZT,EAAA,UAAA,EAAAA,EAAA,YAAAC,EAAA,UAAAD,EAAA,WAAA,CAAA,MAAA,iBAAA,EAAAE,EAAA,0CAG4B,QAAAJ,EAAA,CAAA,IAAAA,EAAA,CAAA,EAAAC,GAAAO,EAAAP,CAAA,qHAMCC,EAAA,WAAAG,EAAA,OAAA,QAAA,CAAA,CAAA,wBAiBAH,EAAA,WAAAG,EAAA,OAAA,QAAA,6CAEH,QAAAH,EAAA,QAAA,IAAA,CACgBA,EAAA,gBAAAA,EAAA,gBAAAG,EAAA,YAAAA,EAAA,MAAA,OAAA,MAAA,EAAA,CAAA,CAAH,CAAA,+CAGV,QAAAH,EAAA,QAAA,IAAA,CACSA,EAAA,gBAAAA,EAAA,gBAAAG,EAAA,YAAAA,EAAA,MAAA,OAAA,EAAA,EAAA,CAAA,CAAH,CAAA,+CArBvB,GAAAH,EAAA,QAAA,IAAA,CAEiBA,EAAA,WAAAG,EAAA,OAAA,QAAA,CAAA,CAAA,mDAGjB,GAAAH,EAAA,QAAA,IAAA,CAEGA,EAAA,WAAAG,EAAA,OAAA,SAAA,mBAEmC,WAAAQ,EAAA,sDAAH,eAAA,CAAA,KAAA,EAAA,CAAC,EAAA,KAAA,EAAA,CAAA,YAAA,CAAA,gCC5D1CC,EAAAX,EAAA,UACAY,EAAAZ,EAAA,YACAa,EAAAb,EAAA,YACAc,EAAAC,EACAC,EAAAC,EACAC,EAAAC,EACAC,EAAAC"}
|
package/popup/popup.d.ts
ADDED
package/popup/popup.js
ADDED
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
import { Core as g } from "../core/app.js";
|
|
2
|
+
import { _ as y, a as W, b as D } from "../.chunks/listItem.vue_vue_type_script_setup_true_lang-CXp02bYr.es.js";
|
|
3
|
+
import { defineComponent as T, mergeModels as I, useModel as M, createBlock as b, openBlock as B, mergeProps as S, createSlots as k, withCtx as n, renderSlot as l, createVNode as $, createTextVNode as C, toDisplayString as c, ref as L, watch as w } from "vue";
|
|
4
|
+
import { f as H, _ as v } from "../.chunks/forms-DC7ffuv2.es.js";
|
|
5
|
+
const O = ["../assets/popup.css"].map((r) => import.meta.resolve(r));
|
|
6
|
+
g.insertCSSLinkToPage(O, !0);
|
|
7
|
+
const P = /* @__PURE__ */ T({
|
|
8
|
+
__name: "widgetInput",
|
|
9
|
+
props: /* @__PURE__ */ I({
|
|
10
|
+
modelValue: {},
|
|
11
|
+
name: {},
|
|
12
|
+
disabled: { type: Boolean },
|
|
13
|
+
readonly: { type: Boolean },
|
|
14
|
+
modificator: {},
|
|
15
|
+
size: {},
|
|
16
|
+
styling: {},
|
|
17
|
+
isError: { type: Boolean },
|
|
18
|
+
isLoading: { type: Boolean },
|
|
19
|
+
icon: {},
|
|
20
|
+
icon2: {},
|
|
21
|
+
addCleaner: { type: Boolean, default: !0 },
|
|
22
|
+
title: {},
|
|
23
|
+
captionType: {}
|
|
24
|
+
}, {
|
|
25
|
+
modelValue: {
|
|
26
|
+
default: ""
|
|
27
|
+
},
|
|
28
|
+
modelModifiers: {}
|
|
29
|
+
}),
|
|
30
|
+
emits: ["update:modelValue"],
|
|
31
|
+
setup(r) {
|
|
32
|
+
const m = M(r, "modelValue");
|
|
33
|
+
return (i, o) => (B(), b(H, S(i.$props, {
|
|
34
|
+
modificator: "popupWidgetInput",
|
|
35
|
+
modelValue: m.value,
|
|
36
|
+
"onUpdate:modelValue": o[0] || (o[0] = (s) => m.value = s)
|
|
37
|
+
}), null, 16, ["modelValue"]));
|
|
38
|
+
}
|
|
39
|
+
}), N = /* @__PURE__ */ T({
|
|
40
|
+
__name: "alert",
|
|
41
|
+
props: {
|
|
42
|
+
submitText: {},
|
|
43
|
+
id: {},
|
|
44
|
+
class: {},
|
|
45
|
+
transitionDuration: {},
|
|
46
|
+
footerSupportLink: {},
|
|
47
|
+
pos: {},
|
|
48
|
+
notch: { type: Boolean },
|
|
49
|
+
openByHover: { type: Boolean },
|
|
50
|
+
posBy: {},
|
|
51
|
+
data: {}
|
|
52
|
+
},
|
|
53
|
+
emits: ["open", "close", "scrollContentList"],
|
|
54
|
+
setup(r) {
|
|
55
|
+
const i = {
|
|
56
|
+
...r,
|
|
57
|
+
submitText: void 0
|
|
58
|
+
};
|
|
59
|
+
return (o, s) => (B(), b(y, S({ class: "top-popupAlert" }, i, {
|
|
60
|
+
onOpen: s[0] || (s[0] = (p) => o.$emit("open", p)),
|
|
61
|
+
onClose: s[1] || (s[1] = (p) => o.$emit("close", p)),
|
|
62
|
+
onScrollContentList: s[2] || (s[2] = (...p) => o.$emit("scrollContentList", ...p))
|
|
63
|
+
}), k({
|
|
64
|
+
opener: n(() => [
|
|
65
|
+
l(o.$slots, "opener")
|
|
66
|
+
]),
|
|
67
|
+
footer: n(() => [
|
|
68
|
+
l(o.$slots, "footer"),
|
|
69
|
+
$(v, null, {
|
|
70
|
+
default: n(() => [
|
|
71
|
+
C(c(o.submitText || o.$i18n.Common.Close), 1)
|
|
72
|
+
]),
|
|
73
|
+
_: 1
|
|
74
|
+
})
|
|
75
|
+
]),
|
|
76
|
+
_: 2
|
|
77
|
+
}, [
|
|
78
|
+
o.$slots.header ? {
|
|
79
|
+
name: "header",
|
|
80
|
+
fn: n(() => [
|
|
81
|
+
l(o.$slots, "header")
|
|
82
|
+
]),
|
|
83
|
+
key: "0"
|
|
84
|
+
} : void 0,
|
|
85
|
+
o.$slots.default ? {
|
|
86
|
+
name: "content",
|
|
87
|
+
fn: n(() => [
|
|
88
|
+
l(o.$slots, "default")
|
|
89
|
+
]),
|
|
90
|
+
key: "1"
|
|
91
|
+
} : void 0
|
|
92
|
+
]), 1040));
|
|
93
|
+
}
|
|
94
|
+
}), A = /* @__PURE__ */ T({
|
|
95
|
+
__name: "confirm",
|
|
96
|
+
props: {
|
|
97
|
+
cancelText: {},
|
|
98
|
+
submitText: {},
|
|
99
|
+
isWarning: { type: Boolean },
|
|
100
|
+
id: {},
|
|
101
|
+
class: {},
|
|
102
|
+
transitionDuration: {},
|
|
103
|
+
footerSupportLink: {},
|
|
104
|
+
pos: {},
|
|
105
|
+
notch: { type: Boolean },
|
|
106
|
+
openByHover: { type: Boolean },
|
|
107
|
+
posBy: {},
|
|
108
|
+
data: {}
|
|
109
|
+
},
|
|
110
|
+
emits: ["open", "close", "scrollContentList", "submit"],
|
|
111
|
+
setup(r, { emit: m }) {
|
|
112
|
+
const i = r, o = m, s = L(!1), p = () => {
|
|
113
|
+
s.value = !0, o("submit");
|
|
114
|
+
}, f = (t) => {
|
|
115
|
+
if (s.value) {
|
|
116
|
+
s.value = !1;
|
|
117
|
+
return;
|
|
118
|
+
}
|
|
119
|
+
o("close", t);
|
|
120
|
+
}, V = {
|
|
121
|
+
...i,
|
|
122
|
+
submitText: void 0,
|
|
123
|
+
cancelText: void 0,
|
|
124
|
+
isWarning: void 0
|
|
125
|
+
};
|
|
126
|
+
return (t, a) => (B(), b(y, S({ class: "top-popupConfirm" }, V, {
|
|
127
|
+
onOpen: a[0] || (a[0] = (e) => t.$emit("open", e)),
|
|
128
|
+
onClose: a[1] || (a[1] = (e) => f(e)),
|
|
129
|
+
onScrollContentList: a[2] || (a[2] = (...e) => t.$emit("scrollContentList", ...e))
|
|
130
|
+
}), k({
|
|
131
|
+
opener: n(() => [
|
|
132
|
+
l(t.$slots, "opener")
|
|
133
|
+
]),
|
|
134
|
+
footer: n(() => [
|
|
135
|
+
l(t.$slots, "footer"),
|
|
136
|
+
$(v, { color: "theme" }, {
|
|
137
|
+
default: n(() => [
|
|
138
|
+
C(c(t.cancelText || t.$i18n.Common.Cancel), 1)
|
|
139
|
+
]),
|
|
140
|
+
_: 1
|
|
141
|
+
}),
|
|
142
|
+
$(v, {
|
|
143
|
+
onClick: p,
|
|
144
|
+
color: t.isWarning ? "red" : "blue"
|
|
145
|
+
}, {
|
|
146
|
+
default: n(() => [
|
|
147
|
+
C(c(t.submitText || t.$i18n.Common.Continue), 1)
|
|
148
|
+
]),
|
|
149
|
+
_: 1
|
|
150
|
+
}, 8, ["color"])
|
|
151
|
+
]),
|
|
152
|
+
_: 2
|
|
153
|
+
}, [
|
|
154
|
+
t.$slots.header ? {
|
|
155
|
+
name: "header",
|
|
156
|
+
fn: n(() => [
|
|
157
|
+
l(t.$slots, "header")
|
|
158
|
+
]),
|
|
159
|
+
key: "0"
|
|
160
|
+
} : void 0,
|
|
161
|
+
t.$slots.default ? {
|
|
162
|
+
name: "content",
|
|
163
|
+
fn: n(() => [
|
|
164
|
+
l(t.$slots, "default")
|
|
165
|
+
]),
|
|
166
|
+
key: "1"
|
|
167
|
+
} : void 0
|
|
168
|
+
]), 1040));
|
|
169
|
+
}
|
|
170
|
+
}), U = /* @__PURE__ */ T({
|
|
171
|
+
__name: "prompt",
|
|
172
|
+
props: {
|
|
173
|
+
submitText: {},
|
|
174
|
+
cancelText: {},
|
|
175
|
+
defaultValue: {},
|
|
176
|
+
id: {},
|
|
177
|
+
class: {},
|
|
178
|
+
transitionDuration: {},
|
|
179
|
+
footerSupportLink: {},
|
|
180
|
+
pos: {},
|
|
181
|
+
notch: { type: Boolean },
|
|
182
|
+
openByHover: { type: Boolean },
|
|
183
|
+
posBy: {},
|
|
184
|
+
data: {}
|
|
185
|
+
},
|
|
186
|
+
emits: ["open", "close", "scrollContentList", "submit"],
|
|
187
|
+
setup(r, { emit: m }) {
|
|
188
|
+
const i = r, o = m, s = () => f.value = i.defaultValue ?? "", p = L(!1), f = L();
|
|
189
|
+
w(() => i.defaultValue, () => s(), { immediate: !0 });
|
|
190
|
+
const V = () => {
|
|
191
|
+
p.value = !0;
|
|
192
|
+
}, t = (e) => {
|
|
193
|
+
if (p.value) {
|
|
194
|
+
p.value = !1, o("submit", f.value), s();
|
|
195
|
+
return;
|
|
196
|
+
}
|
|
197
|
+
s(), o("close", e);
|
|
198
|
+
}, a = {
|
|
199
|
+
...i,
|
|
200
|
+
submitText: void 0,
|
|
201
|
+
cancelText: void 0,
|
|
202
|
+
defaultValue: void 0
|
|
203
|
+
};
|
|
204
|
+
return (e, u) => (B(), b(y, S({ class: "top-popupPrompt" }, a, {
|
|
205
|
+
onOpen: u[1] || (u[1] = (d) => e.$emit("open", d)),
|
|
206
|
+
onClose: u[2] || (u[2] = (d) => t(d)),
|
|
207
|
+
onScrollContentList: u[3] || (u[3] = (...d) => e.$emit("scrollContentList", ...d))
|
|
208
|
+
}), k({
|
|
209
|
+
opener: n(() => [
|
|
210
|
+
l(e.$slots, "opener")
|
|
211
|
+
]),
|
|
212
|
+
footer: n(() => [
|
|
213
|
+
l(e.$slots, "footer"),
|
|
214
|
+
$(v, { color: "theme" }, {
|
|
215
|
+
default: n(() => [
|
|
216
|
+
C(c(e.cancelText || e.$i18n.Common.Cancel), 1)
|
|
217
|
+
]),
|
|
218
|
+
_: 1
|
|
219
|
+
}),
|
|
220
|
+
$(v, { onClick: V }, {
|
|
221
|
+
default: n(() => [
|
|
222
|
+
C(c(e.submitText || e.$i18n.Common.OK), 1)
|
|
223
|
+
]),
|
|
224
|
+
_: 1
|
|
225
|
+
})
|
|
226
|
+
]),
|
|
227
|
+
_: 2
|
|
228
|
+
}, [
|
|
229
|
+
e.$slots.header ? {
|
|
230
|
+
name: "header",
|
|
231
|
+
fn: n(() => [
|
|
232
|
+
l(e.$slots, "header")
|
|
233
|
+
]),
|
|
234
|
+
key: "0"
|
|
235
|
+
} : void 0,
|
|
236
|
+
e.$slots.default ? {
|
|
237
|
+
name: "content",
|
|
238
|
+
fn: n(() => [
|
|
239
|
+
l(e.$slots, "default"),
|
|
240
|
+
$(P, {
|
|
241
|
+
modelValue: f.value,
|
|
242
|
+
"onUpdate:modelValue": u[0] || (u[0] = (d) => f.value = d),
|
|
243
|
+
modelModifiers: { trim: !0 }
|
|
244
|
+
}, null, 8, ["modelValue"])
|
|
245
|
+
]),
|
|
246
|
+
key: "1"
|
|
247
|
+
} : void 0
|
|
248
|
+
]), 1040));
|
|
249
|
+
}
|
|
250
|
+
}), q = y, F = D, G = W, J = P, Q = N, R = A, X = U;
|
|
251
|
+
export {
|
|
252
|
+
q as TopPopup,
|
|
253
|
+
Q as TopPopupAlert,
|
|
254
|
+
R as TopPopupConfirm,
|
|
255
|
+
G as TopPopupListItem,
|
|
256
|
+
F as TopPopupOpener,
|
|
257
|
+
X as TopPopupPrompt,
|
|
258
|
+
J as TopPopupWidgetInput
|
|
259
|
+
};
|
|
260
|
+
//# sourceMappingURL=popup.js.map
|