@topvisor/ui 1.0.42-dev.2 → 1.0.42-policy.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +21 -0
- package/components/formsExt/policy/types.d.ts +24 -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 +689 -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 +4 -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,304 @@
|
|
|
1
|
+
import { nextTick as W } from "vue";
|
|
2
|
+
import { C as f } from "./forms-DC7ffuv2.es.js";
|
|
3
|
+
import { TopPopupWorker as I } from "../popup/worker.js";
|
|
4
|
+
import { sleep as O, waitWhile as H } from "../utils/system.js";
|
|
5
|
+
import { historySetState as F, setHashs as K } from "../utils/route.js";
|
|
6
|
+
import { connectScrollShadow as R } from "../utils/scroll.js";
|
|
7
|
+
import { T as u, g as A } from "./dialogs.vue_vue_type_script_setup_true_lang-Deg17t8D.es.js";
|
|
8
|
+
import { querySelectorVisible as E, querySelectorAllArray as c, isVisible as h } from "../utils/dom.js";
|
|
9
|
+
$;
|
|
10
|
+
let z = !1;
|
|
11
|
+
const U = () => {
|
|
12
|
+
z || (z = !0, document.addEventListener("keydown", (e) => {
|
|
13
|
+
if (e.key !== "Escape" || !e.target) return;
|
|
14
|
+
const t = e.target;
|
|
15
|
+
if (!t.closest(".ui-dialog") || t.contentEditable === "true" || t.contentEditable === "plaintext-only" || E(document.documentElement, ".top-popup-wrapper") || t.classList.contains("autocomplete") || E(document.documentElement, ".fancybox-container")) return;
|
|
16
|
+
const i = c(document, ".ui-dialog-content").filter((o) => h(o));
|
|
17
|
+
$(i[i.length - 1]).dialog("close");
|
|
18
|
+
}), document.addEventListener("click", (e) => {
|
|
19
|
+
const t = e.target.closest('[data-action="top-dialog-close"]');
|
|
20
|
+
if (!t) return;
|
|
21
|
+
e.preventDefault();
|
|
22
|
+
const i = t.closest(".ui-dialog-content");
|
|
23
|
+
if (!i) return;
|
|
24
|
+
const o = t.dataset.toView;
|
|
25
|
+
if (o == "toPrevPage()") {
|
|
26
|
+
b.toPrevPage(i);
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
if (o) {
|
|
30
|
+
const r = o.split("-"), n = r.shift(), l = r.join("-");
|
|
31
|
+
if (!n) return;
|
|
32
|
+
const s = b.getElDialogById(n);
|
|
33
|
+
if (!s) return;
|
|
34
|
+
const m = c(s, `[data-view-page="${l}"]`);
|
|
35
|
+
if (!m) return;
|
|
36
|
+
if (!h(m[0])) {
|
|
37
|
+
const w = u.genViewPageHash(o, "prev");
|
|
38
|
+
F(!1, w);
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
$(i).dialog("close");
|
|
43
|
+
}), document.addEventListener("submit", (e) => {
|
|
44
|
+
const t = e.target;
|
|
45
|
+
(t.matches(".modal-body > form") || t.matches(".modal-layer-body > form")) && e.preventDefault();
|
|
46
|
+
}), document.addEventListener("keypress", (e) => {
|
|
47
|
+
const t = e.target;
|
|
48
|
+
if (!(!t.closest(".ui-dialog .modal-body") || !(t.matches("input:not(.searcher), textarea:not(.searcher), select:not(.searcher), button:not(.searcher)") || t.hasAttribute("contenteditable"))) && e.key === "Enter") {
|
|
49
|
+
if (t.classList.contains("autocomplete")) {
|
|
50
|
+
e.preventDefault();
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
if (t.tagName === "TEXTAREA") {
|
|
54
|
+
if (!e.ctrlKey && !e.metaKey) return;
|
|
55
|
+
const a = t.closest("form");
|
|
56
|
+
if (a) {
|
|
57
|
+
const r = c(a, 'button[type="submit"]').concat(c(a, 'input[type="submit"]')).find((n) => h(n));
|
|
58
|
+
r == null || r.click();
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}), document.addEventListener("click", function(e) {
|
|
63
|
+
if (!e.target.classList.contains("ui-widget-overlay")) return;
|
|
64
|
+
let i, o = 0;
|
|
65
|
+
if (c(document, ".ui-dialog").filter((r) => h(r)).forEach((r) => {
|
|
66
|
+
const n = Number(window.getComputedStyle(r).zIndex);
|
|
67
|
+
n < o || (i = r, o = n);
|
|
68
|
+
}), i) {
|
|
69
|
+
const r = i.querySelector(".ui-dialog-content");
|
|
70
|
+
$(r).dialog("close");
|
|
71
|
+
}
|
|
72
|
+
}), window.addEventListener("resize", b.recalcPositions), b.recalcPositions());
|
|
73
|
+
}, J = ':root{--dialog-border-color: var(--color-line-1);--dialog-loading-duration: 10s;--top-dialog-footer-height: var(--top-forms-base-height_s)}html.with_dialog{overflow:hidden!important}a[data-to-view]{cursor:pointer}.ui-widget-overlay{background:#040404;opacity:.5;filter:Alpha(Opacity=50)}.ui-dialog{border-radius:8px;border:none;padding:0}.ui-dialog.ui-widget{border:none}.ui-dialog-titlebar{display:none}.ui-dialog .ui-dialog-content{padding:0;overflow:visible}.ui-dialog .project_name{word-break:break-all}.ui-dialog-content{--dialog-header-height: 50px;--dialog-layer-pageSelector: 0px}.ui-dialog-content-withPageSelector{--dialog-layer-pageSelector: 42px}.modal-header,.modal-body,.modal-footer{font-size:14px;position:relative}.modal-body{padding:var(--padding-default)}.modal-body:has(>.topTable:first-child){padding-top:calc(var(--padding-default) / 4)}.modal-header{border-bottom:1px solid var(--dialog-border-color);height:var(--dialog-header-height);padding:0 var(--padding-default);display:flex;justify-content:space-between;align-items:center;gap:var(--top-padding-2)}.modal-header>*{padding:10px 0;font-size:16px}.modal-header>.top-title{margin:0;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-grow:1;order:50;display:flex;align-items:center}.modal-header>.top-title>div[class*=icon]{display:none}.modal-header>div:not(.top-title){order:60}.modal-header>div.close{--top-icon-color: var(--color-text-2);cursor:pointer;background:var(--color-layout-front-1);font-size:16px;order:100;animation-name:none!important}.modal-header>div.close:hover{--top-icon-color: var(--color-text-1)}.modal-header .links_icons{position:absolute;right:50px}.modal-header .links_icons [class*=icon-]{width:auto;height:auto;padding:0 5px;color:#d6dee0}.modal-header .links_icons [class*=icon-].active{color:var(--color-bg-warning-1)}.modal-layer-pageSelector{padding:0 10px!important}.modal-body{max-height:calc(var(--100vh) - var(--dialog-header-height) - 1px - var(--dialog-layer-pageSelector) - var(--top-dialog-footer-height) - 1px);overflow-y:auto;overflow-x:hidden;box-sizing:border-box;flex-grow:1}.modal-body hr{margin:16px -15px}.modal-body h4{padding:0;margin:0 0 10px;line-height:normal}.modal-body .inner{padding:var(--padding-default);margin:0 calc(0px - var(--padding-default));position:relative}.modal-body .inner .bt{border-top:1px dashed var(--color-layout-front-primary-3);position:absolute;top:0;right:0;left:0}.modal-body .inner .bb{border-bottom:1px dashed var(--color-layout-front-primary-3);position:absolute;right:0;bottom:0;left:0}.modal-body .inner.color-1{background:var(--color-layout-front-primary-3);color:var(--color-text-1)}.modal-body .inner strong{color:var(--color-text-1)}.modal-body .comment{line-height:18px}.modal-footer{min-height:var(--top-dialog-footer-height);padding:var(--top-gap-2);display:flex;flex-shrink:0;align-items:center;justify-content:flex-end;gap:var(--top-gap-2)}.modal-footer .modal-footer-btn-left{margin-right:auto}.modal-footer>.btn.full_width,.modal-footer>.top-button.full_width{flex-grow:1;align-self:flex-end}.modal-footer-fullWith{flex-wrap:wrap}.modal-footer-fullWith>*{flex-grow:1}.modal-footer-fullWith>.top-info{flex-grow:5}.modal-footer-fullWith>*:empty{flex-grow:0}.ui-dialog-content>.modal-layer>[data-view-page]>input[type=submit]{position:absolute;visibility:hidden}.help_popup .modal-header{display:none}.help_popup .modal-header a{top:2px;z-index:10}.help_popup .modal-header .top-title{display:none}.modal-layer{overflow:hidden}.modal-layer a[data-top-icon]:empty{color:var(--color-text-4);text-decoration:none}.modal-layer>[data-view-page]>div>div.buttons{display:flex;white-space:nowrap;gap:var(--top-padding-1)}.modal-layer>[data-view-page]>div>div.buttons:empty{display:none}.modal-layer>[data-view-page]>div>div.buttons>div,.modal-layer>[data-view-page]>div>div.buttons>a{cursor:pointer;width:auto;height:auto;min-width:auto;min-height:auto;padding:10px 9px;color:var(--color-text-4)}.modal-layer>[data-view-page]>div>div.buttons>div:hover{color:var(--color-text-2)}.modal-layer>[data-view-page]>div>div.buttons>div.hidden{display:none!important}.ui-dialog-content[data-view-page-active]{display:flex!important;flex-direction:column;justify-items:stretch}.ui-dialog-content>.modal-layer{display:flex!important;align-items:stretch;position:relative}.ui-dialog-content.i-change-page>.modal-layer{overflow:hidden}.ui-dialog-content>.modal-layer>[data-view-page]{width:100%;position:relative;display:none;flex-direction:column;justify-content:space-between;animation:.3s cubic-bezier(.4,0,.2,1) forwards}.ui-dialog-content>.modal-layer>[data-view-page].active{display:flex}.ui-dialog-content>.modal-layer>[data-view-page].reverse{animation-direction:reverse}.ui-dialog-content>.modal-layer>[data-view-page].center-to-left,.ui-dialog-content>.modal-layer>[data-view-page].right-to-center{display:flex;position:absolute;inset:0}.ui-dialog-content>.modal-layer>[data-view-page].center-to-left>div,.ui-dialog-content>.modal-layer>[data-view-page].right-to-center>div{overflow:hidden}.ui-dialog-content>.modal-layer-header{border-bottom:1px solid var(--dialog-border-color);min-height:var(--dialog-header-height)}.ui-dialog-content>.modal-layer-header>[data-view-page]>.modal-header{border:none;background:none}.ui-dialog-content>.modal-layer-header>[data-view-page]>.modal-header>*{animation:.3s cubic-bezier(.4,0,.2,1) forwards}.ui-dialog-content>.modal-layer-header>[data-view-page].reverse>.modal-header>*{animation-direction:reverse}.ui-dialog-content>.modal-layer-header>[data-view-page].center-to-left>.modal-header>.top-title{animation-name:dialog-center-to-left-header-title}.ui-dialog-content>.modal-layer-header>[data-view-page].right-to-center>.modal-header>.top-title{animation-name:dialog-right-to-center-header-title}.ui-dialog-content>.modal-layer-header>[data-view-page].center-to-left>.modal-header>[class*=widget-]{animation-name:dialog-center-to-left-header-title}.ui-dialog-content>.modal-layer-header>[data-view-page].right-to-center>.modal-header>[class*=widget-]{animation-name:dialog-right-to-center-header-title}.ui-dialog-content>.modal-layer-header>[data-view-page].center-to-left>.modal-header>div{animation-name:dialog-center-to-left-header-icons}.ui-dialog-content>.modal-layer-header>[data-view-page].right-to-center>.modal-header>div{animation-name:dialog-right-to-center-header-icons}.ui-dialog-content>.modal-layer-body{border-radius:0 0 8px 8px;max-height:calc(var(--100vh) - var(--dialog-header-height) - var(--dialog-layer-pageSelector) - var(--toolbar-height));flex-grow:2}.ui-dialog-content.i-change-page>.modal-layer-body>[data-view-page]{background:var(--color-layout-front-1)}.ui-dialog-content>.modal-layer-body>[data-view-page].center-to-left{animation-name:dialog-center-to-left}.ui-dialog-content>.modal-layer-body>[data-view-page].right-to-center{animation-name:dialog-right-to-center}.ui-dialog-content .modal-footer .second_level{box-sizing:border-box;background:var(--color-layout-front-1);width:100%;min-height:25px;display:flex;align-items:center;justify-content:center}.ui-dialog-content .modal-footer .second_level input{border-radius:8px;width:100%;height:var(--top-forms-base-height);padding:var(--top-padding-1) var(--top-padding-3);box-sizing:border-box}.ui-dialog-content>.modal-layer-body>[data-view-page].i-load-data{pointer-events:none}.ui-dialog-content>.modal-layer-body>[data-view-page].i-load-data:before{content:" ";background:#378dc6;width:0;height:4px;position:absolute;top:0;left:0;z-index:100;animation:top-loadbar var(--dialog-loading-duration) forwards}.ui-dialog-content.modal-expanded{width:100vw!important;height:calc(var(--100vh) + 10px)!important}.modal-header>[data-widget]{padding:0 8px;position:absolute;inset:0;opacity:0;overflow:hidden;align-items:center;visibility:hidden;transition:opacity .3s;z-index:1}.modal-header>[data-widget=search] div.cancel{opacity:0;transform:translate(100%);transition:transform,opacity;transition-duration:.3s}[data-view-page].i-show-search .modal-header>:not([data-widget=search]){visibility:hidden}[data-view-page].i-show-search [data-widget=search]{visibility:visible;opacity:1}[data-view-page].i-show-search [data-widget=search] .cancel{transform:translate(0);opacity:1}[data-view-page]>.modal-header>*{transition:opacity .3s}[data-view-page].i-show-search>.modal-header>div.buttons{opacity:0}.modal-layer .top-popup-wrapper{height:100%!important}@keyframes dialog-center-to-left-header-title{0%{transform:translate(0);opacity:1}75%{opacity:0}to{transform:translate(-30%);opacity:0}}@keyframes dialog-right-to-center-header-title{0%{transform:translate(100%);opacity:0}25%{opacity:0}to{transform:translate(0);opacity:1}}@keyframes dialog-center-to-left-header-icons{0%{transform:translate(0);opacity:1}35%{transform:translate(-20%);opacity:0}to{transform:translate(-20%);opacity:0}}@keyframes dialog-right-to-center-header-icons{0%{transform:translate(20%);opacity:0}65%{transform:translate(20%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes dialog-center-to-left{0%{transform:translate(0);filter:brightness(1)}to{transform:translate(-30%);filter:brightness(.9)}}@keyframes dialog-right-to-center{0%{transform:translate(100%);box-shadow:#0000001a 0 0 10px}to{transform:translate(0);box-shadow:#0003 0 0 10px}}@media only screen and (max-width: 1480px){.win_side_panel_opener{display:none}}@media only screen and (min-width: 1480px){.ui-dialog-content.with_side_panel{box-shadow:#0003 0 0 6px}.ui-dialog-content.with_side_panel .modal-layer-body{background:var(--color-layout-front-1)}[data-widget=side_panel]{--side_panel_width: calc((100vw - 900px)/2 - 28px) ;box-sizing:border-box;background:var(--color-layout-front-1);max-width:var(--side_panel_width);padding:18px;position:absolute;top:calc(var(--dialog-header-height) + 1px + var(--dialog-layer-pageSelector));bottom:calc(var(--top-dialog-footer-height) + 1px);z-index:-1;display:block;transition:.2s}.win_side_panel_left{border-radius:8px 0 0 8px;right:100%}.win_side_panel_right{border-radius:0 8px 8px 0;left:100%}.win_side_panel_closed.win_side_panel_left{right:calc(100% - var(--side_panel_width))}.win_side_panel_closed.win_side_panel_right{left:calc(100% - var(--side_panel_width))}[data-widget=side_panel] .template{display:block}[data-widget=side_panel] .template>.header,[data-widget=side_panel] .template>.footer{display:flex}.win_side_panel_opener{cursor:pointer;background:var(--color-cyan);color:#fff;padding:4px;position:absolute;top:20px}.win_side_panel_closed .win_side_panel_opener:not(:hover){opacity:.3}.win_side_panel_left .win_side_panel_opener{border-radius:4px 0 0 4px;right:100%}.win_side_panel_right .win_side_panel_opener{border-radius:0 6px 6px 0;left:100%}}@media only screen and (max-height: 900px){html.with_dialog{background:#f1f1f1;overflow:hidden}.ui-dialog.me-tightly{border-radius:0;height:auto!important;position:fixed;top:0!important;bottom:0!important}.ui-dialog.me-tightly .ui-dialog-content{min-height:100%!important}.ui-dialog.me-tightly>div>.modal-body{position:absolute;top:var(--dialog-header-height);right:0;left:0;bottom:var(--dialog-header-height)}.ui-dialog.me-tightly>div>.modal-body:last-child{bottom:0}.ui-dialog.me-tightly>div>.modal-footer{position:absolute;right:0;bottom:0;left:0}.ui-dialog.me-tightly .modal-layer-body{border-radius:0;min-height:0!important}.ui-dialog.me-tightly .modal-layer-body .modal-footer{min-height:unset}}', Z = 'html.with_dialog body{height:var(--100vh);overflow:hidden}.ui-widget-overlay{height:calc(100% - var(--toolbar-height))}.ui-dialog{border-radius:0;width:auto!important;height:auto!important;position:fixed;inset:0!important}.ui-dialog-content{width:100%!important;height:100%!important;min-width:0!important;max-width:100%!important}.modal-header>.top-title{text-align:center;font-size:14px}.modal-header>div.close{font-size:14px;order:1}.modal-header>div.close:before{content:""}.modal-body:last-child{bottom:0}.modal-footer{bottom:0}.modal-footer .second_level{padding:10px 8px}.modal-layer-body{min-height:0!important}.ui-dialog-content>.modal-layer-body{border-radius:0}.modal-body,.modal-footer{padding-right:12px;padding-left:12px}.modal-footer .btn:last-child{margin-right:12px}.modal-body .inner{padding:12px;margin:0 -12px;position:relative}', G = ".modal-menu-opener{order:1!important}.modal-menu-opener:before{--top-icon-size: 20px;--top-icon-color: #FFF;--top-icon-width: var(--top-icon-size);border-radius:50%;background:var(--color-bg-primary-1);padding:3px;transition:transform .1s}.modal-menu-opener:hover:before{background:var(--color-bg-primary-2)}.modal-menu-opener.top-active:before{background:var(--color-bg-primary-2);transform:scale(.8)}.modal-layer .top-popup-wrapper{background:transparent;width:auto!important;padding:0!important;margin:0!important;top:0!important;right:0!important;left:0!important;transition:background .3s}.modal-layer .top-popup-wrapper>.top-popup[class],.modal-layer .top-popup-wrapper.with_notch>.top-popup[class]{border-radius:8px;border:none;margin:12px!important;max-width:100%;max-height:calc(100% - 24px);inset:0 0 auto!important;overflow:auto;display:flex;flex-direction:column;opacity:1;transform:translateY(calc(-100% - 24px));transition:transform .3s}.modal-layer .top-popup>.top-popup_header{background:var(--color-theme-50)}.modal-layer .top-theme-lite .top-popup>.top-popup_header .select{border:none}.modal-layer .top-theme-lite .top-popup>.top-popup_header .select .text{color:#fff}.modal-layer .top-theme-lite .top-popup>.top-popup_header .select .arrow{background:none}.modal-layer .top-popup-wrapper-shown:not(.top-popup-wrapper-closed){background:#34495e40}@media only screen and (min-width: 1480px){.ui-dialog-content.with_side_panel{box-shadow:#0003 0 0 6px}.ui-dialog-content.with_side_panel .modal-layer-body{background:var(--color-layout-front-1)}[data-widget=side_panel]{--side_panel_width: calc((100vw - 900px)/2 - 28px) ;box-sizing:border-box;background:var(--color-layout-front-1);max-width:var(--side_panel_width);padding:18px;display:block;position:absolute;top:51px;bottom:51px;z-index:-1;transition:.2s}.win_side_panel_left{border-radius:8px 0 0 8px;right:100%}.win_side_panel_right{border-radius:0 8px 8px 0;left:100%}.win_side_panel_closed.win_side_panel_left{right:calc(100% - var(--side_panel_width))}.win_side_panel_closed.win_side_panel_right{left:calc(100% - var(--side_panel_width))}[data-widget=side_panel] .template{display:block}[data-widget=side_panel] .template>.header,[data-widget=side_panel] .template>.footer{display:flex}.win_side_panel_opener{cursor:pointer;background:var(--color-cyan);color:#fff;padding:4px;position:absolute;top:20px}.win_side_panel_closed .win_side_panel_opener:not(:hover){opacity:.3}.win_side_panel_left .win_side_panel_opener{border-radius:4px 0 0 4px;right:100%}.win_side_panel_right .win_side_panel_opener{border-radius:0 6px 6px 0;left:100%}}", Q = "html{--top-dialog-width: auto;--top-dialog-height: auto}.top-dialog{max-width:100vw}.top-dialog .modal-layer-body{height:var(--top-dialog-height)}", X = ".top-dialog{width:var(--top-dialog-width)!important}";
|
|
74
|
+
f.insertStyleToPage(J);
|
|
75
|
+
f.insertStyleToPage(Z, "m");
|
|
76
|
+
f.insertStyleToPage(G, "pc");
|
|
77
|
+
f.insertStyleToPage(Q);
|
|
78
|
+
f.insertStyleToPage(X, "pc");
|
|
79
|
+
let C, P = !1;
|
|
80
|
+
const y = (e) => !!e && typeof e == "object" && "jquery" in e, Y = () => {
|
|
81
|
+
$.extend($.ui.dialog.prototype.options, {
|
|
82
|
+
focus: (e) => {
|
|
83
|
+
var t;
|
|
84
|
+
e.target.focus(), (t = $("[autofocus]", e.target)[0]) == null || t.focus();
|
|
85
|
+
},
|
|
86
|
+
create: (e) => N(e.target),
|
|
87
|
+
open: (e) => ee(e.target),
|
|
88
|
+
close: (e) => te(e.target),
|
|
89
|
+
modal: !0,
|
|
90
|
+
resizable: !1,
|
|
91
|
+
closeOnEscape: !1,
|
|
92
|
+
width: "auto",
|
|
93
|
+
minHeight: 0
|
|
94
|
+
}), $.ui.dialog.prototype._focusTabbable = $.noop, $.ui.dialog.prototype._moveToTopOriginal = $.ui.dialog.prototype._moveToTop, $.ui.dialog.prototype._moveToTop = function() {
|
|
95
|
+
this._moveToTopOriginal();
|
|
96
|
+
const e = $(this.element);
|
|
97
|
+
e.trigger("dialogsMoveToTop", [e]);
|
|
98
|
+
}, U(), P = !0;
|
|
99
|
+
}, j = (e) => {
|
|
100
|
+
var i, o;
|
|
101
|
+
const t = {};
|
|
102
|
+
return ((i = e.dataset) == null ? void 0 : i.modal) === "false" && (t.modal = !1), (o = e.dataset) != null && o.position && (t.position = JSON.parse(e.dataset.position)), t;
|
|
103
|
+
}, _ = (e) => document.getElementById(e), x = async (e, t, i) => {
|
|
104
|
+
if (!e.startsWith("dialog_")) return;
|
|
105
|
+
const o = A(e);
|
|
106
|
+
if (o && (o.isOpened.value = !0, t !== void 0 && (o.pageActive.value = t), i !== void 0 && (o.pageActiveNext.value = i), await W(), i)) {
|
|
107
|
+
const a = _(e);
|
|
108
|
+
if (!a) return;
|
|
109
|
+
a.querySelectorAll(`[data-view-page="${i}"]`).length || await H(() => !a.querySelectorAll(`[data-view-page="${i}"]`).length);
|
|
110
|
+
}
|
|
111
|
+
}, N = (e) => {
|
|
112
|
+
var i, o;
|
|
113
|
+
const t = e.querySelector(".modal-body");
|
|
114
|
+
t && (R(t), (o = (i = u.state).decoratorOnCreate) == null || o.call(i, e), D(e));
|
|
115
|
+
}, D = (e) => {
|
|
116
|
+
$(e).on("aftershow.top-menu-popup", "[data-top-popup]", (t, i) => {
|
|
117
|
+
var r;
|
|
118
|
+
const o = i[0], a = u.getPairPage(o);
|
|
119
|
+
(r = a == null ? void 0 : a[1]) == null || r.prepend(o);
|
|
120
|
+
});
|
|
121
|
+
}, ee = async (e) => {
|
|
122
|
+
var n;
|
|
123
|
+
const t = e.dataset.viewPageActive, i = window.innerWidth;
|
|
124
|
+
f.state.documentClassModificators.set("top-dialog", "with_dialog");
|
|
125
|
+
const a = window.innerWidth - i;
|
|
126
|
+
document.documentElement.scrollHeight > window.innerHeight && (document.querySelector("html").style.marginRight = a + "px"), M();
|
|
127
|
+
const r = A(e.getAttribute("id"));
|
|
128
|
+
(n = r == null ? void 0 : r.emit) == null || n.call(r, "open", t);
|
|
129
|
+
}, te = async (e) => {
|
|
130
|
+
var r;
|
|
131
|
+
const t = e.getAttribute("id"), i = e.dataset.viewPageActive;
|
|
132
|
+
if (i) {
|
|
133
|
+
const n = {
|
|
134
|
+
vpn: u.state.viewPageN,
|
|
135
|
+
["view-" + t]: null
|
|
136
|
+
};
|
|
137
|
+
n["view-" + t] = null, (u.state.viewPageN === 0 || u.state.viewPageN === 1) && (n.vpn = null), K(n, !1);
|
|
138
|
+
}
|
|
139
|
+
c(document, ".ui-widget-overlay").filter((n) => h(n)).length || (f.state.documentClassModificators.delete("top-dialog"), document.querySelector("html").style.marginRight = ""), $(e).trigger("viewAfterClose", [$(e)]);
|
|
140
|
+
const a = A(t);
|
|
141
|
+
a && (a.isOpened.value = !1, (r = a.emit) == null || r.call(a, "close", i), a.onCloseOnce && (a.onCloseOnce(a.props, i), a.onCloseOnce = void 0)), window.dispatchEvent(new Event("resize"));
|
|
142
|
+
}, M = () => {
|
|
143
|
+
c(document, ".ui-dialog").filter((t) => h(t) && t.querySelector(":scope > .ui-dialog-content")).map((t) => t.querySelector(":scope > .ui-dialog-content")).forEach((t) => {
|
|
144
|
+
if (!t.querySelector(".modal-body")) return;
|
|
145
|
+
const o = t.closest(".ui-dialog"), a = j(t);
|
|
146
|
+
a.position ??= { of: window }, $(t).dialog("option", a), o.classList.remove("me-tightly"), (o.clientHeight ?? 0) > window.innerHeight && o.classList.add("me-tightly");
|
|
147
|
+
});
|
|
148
|
+
}, oe = async (e, t) => {
|
|
149
|
+
const o = /(\w+)[=-]([\w-]+)(?::([\w.:-]+))?/g.exec(e);
|
|
150
|
+
if (o) {
|
|
151
|
+
const a = o[1], r = o[2], n = o[3];
|
|
152
|
+
let l = [];
|
|
153
|
+
n && (l = n.split(":")), await L(a, r, l, t);
|
|
154
|
+
}
|
|
155
|
+
}, L = async (e, t, i, o, a) => {
|
|
156
|
+
P || await new Promise((l, s) => {
|
|
157
|
+
const m = setInterval(() => {
|
|
158
|
+
P && (clearInterval(m), l());
|
|
159
|
+
}, 1e4);
|
|
160
|
+
}), await W();
|
|
161
|
+
let r;
|
|
162
|
+
if (typeof e == "object" ? (y(e) && (e = e == null ? void 0 : e[0]), r = e) : r = _(e), !r && typeof e == "string" && u.state.load) {
|
|
163
|
+
await u.state.load(e), await L(e, t, i, o, a);
|
|
164
|
+
return;
|
|
165
|
+
}
|
|
166
|
+
if (!r) return;
|
|
167
|
+
await T(r, t, i, o);
|
|
168
|
+
const n = $(r);
|
|
169
|
+
if (r != null && r.classList.contains("ui-dialog-content"))
|
|
170
|
+
n.dialog("open");
|
|
171
|
+
else {
|
|
172
|
+
const l = j(r);
|
|
173
|
+
n.dialog(l);
|
|
174
|
+
}
|
|
175
|
+
a && a(n);
|
|
176
|
+
}, T = async (e, t, i, o) => {
|
|
177
|
+
var m, w;
|
|
178
|
+
y(e) && (e = e == null ? void 0 : e[0]), t === void 0 && (t = e.dataset.viewPageActive), t !== e.dataset.viewPageActive && V(e) && await O(100), i === void 0 && (i = []), await x(e.getAttribute("id"), void 0, t);
|
|
179
|
+
const a = c(e, ".modal-layer"), r = a.reduce((d, g) => {
|
|
180
|
+
const p = g.querySelector(":scope > .active");
|
|
181
|
+
return p && d.push(p), d;
|
|
182
|
+
}, []), n = a.reduce((d, g) => {
|
|
183
|
+
const p = g.querySelector(`:scope > [data-view-page="${t}"]`);
|
|
184
|
+
return p && d.push(p), d;
|
|
185
|
+
}, []), l = i.join(":");
|
|
186
|
+
if (o === void 0 && (o = "next", (((m = n[0]) == null ? void 0 : m.dataset.order) ?? 0) < (((w = r[0]) == null ? void 0 : w.dataset.order) ?? 0) && (o = "prev")), !n.length) return;
|
|
187
|
+
if (e.dataset.viewPageActive = t, n[0].classList.contains("active")) {
|
|
188
|
+
n[0].dataset.viewPageArgs !== l && n.forEach((d) => {
|
|
189
|
+
d.dataset.viewPageArgs = l;
|
|
190
|
+
}), q(e, n, t, i), S(e, n, t, i);
|
|
191
|
+
return;
|
|
192
|
+
}
|
|
193
|
+
n.forEach((d) => {
|
|
194
|
+
d.dataset.viewPageArgs = l;
|
|
195
|
+
}), r.forEach((d) => {
|
|
196
|
+
d.querySelector(".top-popup-wrapper") && I.close(d.querySelector(".top-popup-wrapper"));
|
|
197
|
+
});
|
|
198
|
+
const s = n[0].closest(".ui-dialog");
|
|
199
|
+
switch (s && !h(s) && (o = "none"), r.length || (o = "none"), h(n[0]) && (o = "none"), o) {
|
|
200
|
+
case "prev": {
|
|
201
|
+
n.forEach((d) => {
|
|
202
|
+
var p, v;
|
|
203
|
+
const g = (p = d.parentNode) == null ? void 0 : p.querySelector(":scope > .active");
|
|
204
|
+
g && ((v = d.parentNode) == null || v.insertBefore(d, g));
|
|
205
|
+
}), r.forEach((d) => {
|
|
206
|
+
d.classList.add("right-to-center", "reverse");
|
|
207
|
+
}), n.forEach((d) => {
|
|
208
|
+
d.classList.add("center-to-left", "reverse");
|
|
209
|
+
});
|
|
210
|
+
break;
|
|
211
|
+
}
|
|
212
|
+
case "next": {
|
|
213
|
+
n.forEach((d) => {
|
|
214
|
+
var p, v;
|
|
215
|
+
const g = (p = d.parentNode) == null ? void 0 : p.querySelector(":scope > .active");
|
|
216
|
+
g && ((v = d.parentNode) == null || v.insertBefore(d, g.nextSibling));
|
|
217
|
+
}), r.forEach((d) => {
|
|
218
|
+
d == null || d.classList.add("center-to-left");
|
|
219
|
+
}), n.forEach((d) => {
|
|
220
|
+
d.classList.add("right-to-center");
|
|
221
|
+
});
|
|
222
|
+
break;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
if (e.setAttribute("view-page-active", t), r.forEach((d) => {
|
|
226
|
+
d.classList.remove("active");
|
|
227
|
+
}), n.forEach((d) => {
|
|
228
|
+
d.classList.add("active");
|
|
229
|
+
}), q(e, n, t, i), o) {
|
|
230
|
+
e.classList.add("i-change-page");
|
|
231
|
+
const d = Number(window.getComputedStyle(n[0]).animationDuration.replace("s", "")) * 1e3;
|
|
232
|
+
C = setTimeout(function() {
|
|
233
|
+
x(e.getAttribute("id"), t, ""), V(e), S(e, n, t, i);
|
|
234
|
+
}, d);
|
|
235
|
+
} else
|
|
236
|
+
await x(e.getAttribute("id"), t, ""), S(e, n, t, i);
|
|
237
|
+
}, ae = (e) => {
|
|
238
|
+
var r;
|
|
239
|
+
const a = (r = c(e, ".modal-layer").reduce((n, l) => {
|
|
240
|
+
const s = l.querySelector(":scope > .active");
|
|
241
|
+
return s && n.push(s), n;
|
|
242
|
+
}, []).reduce((n, l) => {
|
|
243
|
+
let s = l.previousElementSibling;
|
|
244
|
+
for (; s && !s.hasAttribute("[data-view-page]"); )
|
|
245
|
+
s = s.previousElementSibling;
|
|
246
|
+
return s && n.push(s), n;
|
|
247
|
+
}, [])[0]) == null ? void 0 : r.dataset.viewPage;
|
|
248
|
+
a ? T(e, a, void 0, "prev") : $(e).dialog("close");
|
|
249
|
+
}, k = /* @__PURE__ */ new Set(), q = (e, t, i, o) => {
|
|
250
|
+
const a = e.getAttribute("id") + t[0].dataset.viewPage + i + o.join();
|
|
251
|
+
k.has(a) || (k.add(a), setTimeout(function() {
|
|
252
|
+
k.delete(a), $(e).trigger("viewBeforeOpen", [$(e), $(t), i, o]);
|
|
253
|
+
}));
|
|
254
|
+
}, S = (e, t, i, o) => {
|
|
255
|
+
setTimeout(function() {
|
|
256
|
+
$(e).trigger("viewAfterOpen", [$(e), $(t), i, o]);
|
|
257
|
+
});
|
|
258
|
+
}, B = (e) => (y(e) && (e = e == null ? void 0 : e[0]), e.classList.contains("i-change-page")), V = (e) => {
|
|
259
|
+
if (!B(e)) return !1;
|
|
260
|
+
clearTimeout(C);
|
|
261
|
+
const t = c(e, ".modal-layer"), i = e.dataset.viewPageActive;
|
|
262
|
+
return e.classList.remove("i-change-page"), t.forEach((o) => {
|
|
263
|
+
o.querySelectorAll(":scope > [data-view-page]").forEach((a) => {
|
|
264
|
+
a.classList.remove("center-to-left", "right-to-center", "reverse", "active");
|
|
265
|
+
});
|
|
266
|
+
}), t.forEach((o) => {
|
|
267
|
+
var a;
|
|
268
|
+
(a = o.querySelector(`:scope > [data-view-page="${i}"]`)) == null || a.classList.add("active");
|
|
269
|
+
}), !0;
|
|
270
|
+
}, ie = function(e) {
|
|
271
|
+
const t = _(e);
|
|
272
|
+
if (!t) return;
|
|
273
|
+
const i = $(t);
|
|
274
|
+
i.dialog("instance") && i.dialog("close");
|
|
275
|
+
}, re = (e, t, i) => {
|
|
276
|
+
y(e) && (e = e.toArray());
|
|
277
|
+
const o = e.reduce((a, r) => (r.hasAttribute("[data-view-page]") && h(r) && a.push(r), a), []);
|
|
278
|
+
t ? (i !== void 0 && o.forEach((a) => {
|
|
279
|
+
a.style.setProperty("--dialog-loading-duration", i + "s");
|
|
280
|
+
}), o.forEach((a) => {
|
|
281
|
+
a.classList.add("i-load-data");
|
|
282
|
+
})) : (o.forEach((a) => {
|
|
283
|
+
a.classList.remove("i-load-data");
|
|
284
|
+
}), o.forEach((a) => {
|
|
285
|
+
a.style.setProperty("--dialog-loading-duration", "10s");
|
|
286
|
+
}));
|
|
287
|
+
}, ne = (e) => (y(e) && (e = e == null ? void 0 : e[0]), e.classList.contains("i-load-data")), b = {
|
|
288
|
+
getElDialogById: _,
|
|
289
|
+
updatePageVue: x,
|
|
290
|
+
recalcPositions: M,
|
|
291
|
+
toViewDirty: oe,
|
|
292
|
+
toView: L,
|
|
293
|
+
toViewPage: T,
|
|
294
|
+
toPrevPage: ae,
|
|
295
|
+
setLoading: re,
|
|
296
|
+
isLoading: ne,
|
|
297
|
+
inAnimation: B,
|
|
298
|
+
close: ie
|
|
299
|
+
};
|
|
300
|
+
Y();
|
|
301
|
+
export {
|
|
302
|
+
b as TopDialogUtils
|
|
303
|
+
};
|
|
304
|
+
//# sourceMappingURL=utils-CyqZFHE6.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils-CyqZFHE6.es.js","sources":["../../src/storybook/jquery.ts","../../src/components/dialog/lib/utils.globalEvents.ts","../../src/components/dialog/lib/utils.ts"],"sourcesContent":["/**\n * см. /.storybook/preview-head.html\n */\nexport default $;\n","import { TopDialogUtils } from './utils';\nimport { TopDialogWorker } from './worker';\nimport { isVisible, querySelectorAllArray, querySelectorVisible } from '@/core/utils/dom';\nimport { historySetState } from '@/core/utils/route';\nimport type { ElTopDialog, ElTopDialogWrapper } from '@/components/dialog/lib/types';\n\nlet inited = false;\n\n/**\n * Инициализация глобальных событий для диалоговых окон\n *\n * Производится один раз при подключении диалогового окна\n *\n * События не размонтируются\n */\nexport const initDialogGlobalEvents = () => {\n\tif (inited) return;\n\tinited = true;\n\n\t/**\n\t * Закрытие диалога по Esc\n\t */\n\tdocument.addEventListener('keydown', (e) => {\n\t\tif (e.key !== 'Escape') return;\n\t\tif (!e.target) return;\n\n\t\tconst el = e.target as HTMLElement;\n\n\t\t// событие произошло вне диалогового окна\n\t\tif (!el.closest('.ui-dialog')) return;\n\n\t\tif (el.contentEditable === 'true' || el.contentEditable === 'plaintext-only') return;\n\n\t\t// не закрывать окно при открытом TopPopup\n\t\tif (querySelectorVisible(document.documentElement, '.top-popup-wrapper')) return;\n\n\t\t// не закрывать окно при работе с jquery autocomplete\n\t\tif (el.classList.contains('autocomplete')) return;\n\n\t\t// не закрывать окно при открытом fancybox\n\t\tif (querySelectorVisible(document.documentElement, '.fancybox-container')) return;\n\n\t\tconst elDialogs = querySelectorAllArray<ElTopDialog>(document, '.ui-dialog-content').filter((elDialog) => {\n\t\t\treturn isVisible(elDialog);\n\t\t});\n\n\t\t$(elDialogs[elDialogs.length - 1]).dialog('close');\n\t});\n\n\t/**\n\t * Закрытие диалога по кнопке закрыть\n\t */\n\tdocument.addEventListener('click', (e) => {\n\t\t// // навигация без истории\n\t\t// var $dialog = $(this).closest('.ui-dialog-content');\n\t\t// var viewName = $dialog.attr('id');\n\t\t// var pageName = getHash('view-' + viewName);\n\t\t// if (!pageName) {\n\t\t// \ttoPrevPage($dialog);\n\t\t//\n\t\t// \treturn;\n\t\t// }\n\t\t//\n\t\t// // навигация по истории\n\t\t// if (Core.state.isMobile && history.length > 1 && $(this).closest('.modal-layer').length) {\n\t\t// \tvar href = location.href;\n\t\t//\n\t\t// \thistory.go(-1);\n\t\t//\n\t\t// \tsetTimeout(() => {\n\t\t// \t\t// это первая страница в истории вкладки браузера\n\t\t// \t\tif (href === location.href) $(e.target).closest('.ui-dialog-content').dialog('close');\n\t\t// \t});\n\t\t// } else {\n\t\t// \t$(this).closest('.ui-dialog-content').dialog('close');\n\t\t// }\n\n\t\tconst el = (e.target as HTMLElement).closest('[data-action=\"top-dialog-close\"]') as HTMLElement | null;\n\t\tif (!el) return;\n\n\t\te.preventDefault();\n\n\t\tconst elDialog = el.closest<ElTopDialog>('.ui-dialog-content');\n\t\tif (!elDialog) return;\n\n\t\t// если к кнопке привязана ссылка, диалоговое окно не нужно закрывать\n\t\tconst toView = el.dataset.toView;\n\n\t\tif (toView == 'toPrevPage()') {\n\t\t\tTopDialogUtils.toPrevPage(elDialog);\n\n\t\t\treturn;\n\t\t}\n\n\t\tif (toView) {\n\t\t\tconst viewNameAndPageLink = toView.split('-');\n\t\t\tconst viewName = viewNameAndPageLink.shift();\n\t\t\tconst pageLink = viewNameAndPageLink.join('-');\n\n\t\t\tif (!viewName) return;\n\n\t\t\tconst elDialog = TopDialogUtils.getElDialogById(viewName);\n\t\t\tif (!elDialog) return;\n\n\t\t\tconst elToPages = querySelectorAllArray(elDialog, `[data-view-page=\"${pageLink}\"]`);\n\t\t\tif (!elToPages) return;\n\n\t\t\tif (!isVisible(elToPages[0])) {\n\t\t\t\tconst hash = TopDialogWorker.genViewPageHash(toView, 'prev');\n\n\t\t\t\t// // не убирает кнопку \"Вперед\" в браузере\n\t\t\t\t// history.replaceState(null, '', hash);\n\t\t\t\t// toViewDirty(toView, 'prev');\n\n\t\t\t\t// // добавляет текущую страницу в историю браузера\n\t\t\t\thistorySetState(false, hash);\n\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\n\t\tconst $dialog = $(elDialog);\n\n\t\t$dialog.dialog('close');\n\t});\n\n\t/**\n\t * Все submit должны обрабатываться через js\n\t */\n\tdocument.addEventListener('submit', (e) => {\n\t\tconst elForm = e.target as HTMLElement;\n\n\t\tif (elForm.matches('.modal-body > form') || elForm.matches('.modal-layer-body > form')) {\n\t\t\te.preventDefault();\n\t\t}\n\t});\n\n\t/**\n\t * Выполнение действия по нажатию Enter\n\t *\n\t * @todo Убрать `.searcher`\n\t */\n\tdocument.addEventListener('keypress', (e) => {\n\t\tconst eventTarget = e.target as HTMLElement;\n\n\t\tconst elModalBody = eventTarget.closest('.ui-dialog .modal-body');\n\t\tif (!elModalBody) return;\n\n\t\tconst isInput =\n\t\t\teventTarget.matches('input:not(.searcher), textarea:not(.searcher), select:not(.searcher), button:not(.searcher)')\n\t\t\t|| eventTarget.hasAttribute('contenteditable');\n\t\tif (!isInput) return;\n\n\t\t// if (e.keyCode !== 10 && e.key !== 'ENTER') return;\n\t\tif (e.key !== 'Enter') return;\n\n\t\t// не выполнять submit действий при работе с jquery autocomplete\n\t\tif (eventTarget.classList.contains('autocomplete')) {\n\t\t\te.preventDefault();\n\n\t\t\treturn;\n\t\t}\n\n\t\tif (eventTarget.tagName === 'TEXTAREA') {\n\t\t\tif (!e.ctrlKey && !e.metaKey) return;\n\n\t\t\tconst elForm = eventTarget.closest('form');\n\n\t\t\tif (elForm) {\n\t\t\t\t// Find visible submit buttons\n\t\t\t\tconst elSubmitButton = querySelectorAllArray(elForm, 'button[type=\"submit\"]')\n\t\t\t\t\t.concat(querySelectorAllArray(elForm, 'input[type=\"submit\"]'))\n\t\t\t\t\t.find((elSubmitButton) => {\n\t\t\t\t\t\treturn isVisible(elSubmitButton);\n\t\t\t\t\t});\n\n\t\t\t\telSubmitButton?.click();\n\t\t\t}\n\t\t}\n\t});\n\n\t/**\n\t * Закрытие диалога по клику вне окна\n\t */\n\tdocument.addEventListener('click', function (event) {\n\t\tconst eventTarget = event.target as HTMLElement;\n\n\t\tif (!eventTarget.classList.contains('ui-widget-overlay')) return;\n\n\t\tlet elDialogWrapperWithTopZIndex: ElTopDialogWrapper | undefined;\n\t\tlet topZIndex = 0;\n\n\t\tconst elDialogWrapperVisibles = querySelectorAllArray<ElTopDialogWrapper>(document, '.ui-dialog').filter((elDialogWrapper) => {\n\t\t\treturn isVisible(elDialogWrapper);\n\t\t});\n\n\t\telDialogWrapperVisibles.forEach((elDialogWrapper) => {\n\t\t\tconst zIndex = Number(window.getComputedStyle(elDialogWrapper).zIndex);\n\t\t\tif (zIndex < topZIndex) return;\n\n\t\t\telDialogWrapperWithTopZIndex = elDialogWrapper;\n\t\t\ttopZIndex = zIndex;\n\t\t});\n\n\t\tif (elDialogWrapperWithTopZIndex) {\n\t\t\tconst elDialog = elDialogWrapperWithTopZIndex.querySelector('.ui-dialog-content');\n\n\t\t\t$(elDialog).dialog('close');\n\t\t}\n\t});\n\n\twindow.addEventListener('resize', TopDialogUtils.recalcPositions);\n\tTopDialogUtils.recalcPositions();\n};\n","import 'jquery';\nimport { nextTick } from 'vue';\n\nimport Core from '@/core/core/core';\nimport { TopPopupWorker } from '@/components/popup/worker';\nimport { sleep, waitWhile } from '@/core/utils/system';\nimport { setHashs } from '@/core/utils/route';\nimport { connectScrollShadow } from '@/core/utils/scroll';\n\nimport type { ElTopDialogBody, ElTopDialog, ElTopDialogModalLayer, ElTopDialogPage, MoveDirection, ElTopDialogWrapper } from './types';\nimport { TopDialogWorker } from './worker';\nimport { initDialogGlobalEvents } from './utils.globalEvents';\nimport { getDialogWorker } from '../dialog/dialogs/dialogs.vue';\n\nimport css from '../dialog/style/dialog.css?inline';\nimport cssM from '../dialog/style/dialog.m.css?inline';\nimport cssPC from '../dialog/style/dialog.pc.css?inline';\nimport cssModern from '../dialog/style/modern/dialog.css?inline';\nimport cssModernPC from '../dialog/style/modern/dialog.pc.css?inline';\nimport { isVisible, querySelectorAllArray } from '@/core/utils/dom';\n\nCore.insertStyleToPage(css);\nCore.insertStyleToPage(cssM, 'm');\nCore.insertStyleToPage(cssPC, 'pc');\nCore.insertStyleToPage(cssModern);\nCore.insertStyleToPage(cssModernPC, 'pc');\n\nlet timerClearAnimation: NodeJS.Timeout;\nlet isInited = false;\n\n/**\n * Является ли элемент JQuery<HTMLElement>\n */\nconst isElJQuery = (el: JQuery<HTMLElement> | HTMLElement | HTMLElement[]) => {\n\treturn !!el && typeof el === 'object' && 'jquery' in el;\n};\n\nconst init = () => {\n\t$.extend($.ui.dialog.prototype.options, {\n\t\tfocus: (e: any) => {\n\t\t\te.target.focus();\n\n\t\t\t$('[autofocus]', e.target)[0]?.focus();\n\n\t\t\t// setTimeout(function () {\n\t\t\t// \tif ($('[autofocus]', e.target).length) return;\n\t\t\t// \t$('.modal-footer button:first, .modal-body :input:first', e.target).eq(0).focus();\n\t\t\t//\n\t\t\t// \t// fix пропадающего autocomplete при нажатии на scroll в autocomplete\n\t\t\t// \t$(e.target).add($(e.target).closest('.ui-dialog')).removeAttr('tabindex');\n\t\t\t// });\n\t\t},\n\t\tcreate: (e: any) => onCreate(e.target),\n\t\topen: (e: any) => onOpen(e.target),\n\t\tclose: (e: any) => onClose(e.target),\n\t\tmodal: true,\n\t\tresizable: false,\n\t\tcloseOnEscape: false,\n\t\twidth: 'auto',\n\t\tminHeight: 0,\n\t});\n\n\t$.ui.dialog.prototype._focusTabbable = $.noop;\n\n\t$.ui.dialog.prototype._moveToTopOriginal = $.ui.dialog.prototype._moveToTop;\n\t$.ui.dialog.prototype._moveToTop = function () {\n\t\tthis._moveToTopOriginal();\n\n\t\tconst $dialog = $(this.element);\n\t\t$dialog.trigger('dialogsMoveToTop', [$dialog]);\n\t};\n\n\tinitDialogGlobalEvents();\n\n\tisInited = true;\n};\n\n/**\n * Получить настройки диалогового окна из Vue компонента\n */\nconst genVueOptions = (elDialog: ElTopDialog) => {\n\tconst options: {\n\t\tmodal?: boolean,\n\t\tposition?: any,\n\t} = {};\n\n\tif (elDialog.dataset?.modal === 'false') options.modal = false;\n\tif (elDialog.dataset?.position) options.position = JSON.parse(elDialog.dataset.position);\n\n\treturn options;\n};\n\nconst getElDialogById = (id: string) => {\n\treturn <ElTopDialog | null>document.getElementById(id);\n};\n\n/**\n * Сменить состояние диалогового окна Vue\n */\nconst updatePageVue = async (dialogId: string, pageName?: string, pageNameNext?: string) => {\n\tif (!dialogId.startsWith('dialog_')) return;\n\n\tconst dialog = getDialogWorker(dialogId);\n\tif (!dialog) return;\n\n\tdialog.isOpened.value = true;\n\tif (pageName !== undefined) dialog.pageActive.value = pageName;\n\tif (pageNameNext !== undefined) dialog.pageActiveNext.value = pageNameNext;\n\n\tawait nextTick();\n\n\tif (pageNameNext) {\n\t\tconst elDialog = getElDialogById(dialogId);\n\t\tif (!elDialog) return;\n\n\t\tconst elNextpages = elDialog.querySelectorAll(`[data-view-page=\"${pageNameNext}\"]`);\n\n\t\tif (!elNextpages.length) {\n\t\t\tawait waitWhile(() => !elDialog.querySelectorAll(`[data-view-page=\"${pageNameNext}\"]`).length);\n\t\t}\n\t}\n};\n\n/**\n * Callback for jQuery dialog onCreate\n */\nconst onCreate = (elDialog: ElTopDialog) => {\n\tconst elDialogBody = elDialog.querySelector<ElTopDialogBody>('.modal-body');\n\tif (!elDialogBody) return;\n\n\tconnectScrollShadow(elDialogBody);\n\n\tTopDialogWorker.state.decoratorOnCreate?.(elDialog);\n\n\tinitPopup(elDialog);\n};\n\n/**\n * Инициирование событий TopPopup в диалоговом окне\n */\nconst initPopup = (elDialog: HTMLElement) => {\n\t$(elDialog).on('aftershow.top-menu-popup', '[data-top-popup]', (_e, $popup) => {\n\t\t// перенести popup в корневой элемент страницы диалогового окна\n\t\tconst elPopup = $popup[0];\n\n\t\t// перенести popup в корневой элемент страницы диалогового окна\n\t\tconst elPageContents = TopDialogWorker.getPairPage(elPopup);\n\t\telPageContents?.[1]?.prepend(elPopup);\n\t});\n};\n\n/**\n * Callback for jQuery dialog onOpen\n */\nconst onOpen = async (elDialog: ElTopDialog) => {\n\tconst pageName = elDialog.dataset.viewPageActive;\n\n\tconst w1 = window.innerWidth;\n\n\tCore.state.documentClassModificators.set('top-dialog', 'with_dialog');\n\n\tconst w2 = window.innerWidth;\n\n\tconst scrollBarWidth = w2 - w1;\n\tif (document.documentElement.scrollHeight > window.innerHeight) document.querySelector('html')!.style.marginRight = scrollBarWidth + 'px';\n\n\trecalcPositions();\n\n\tconst dialog = getDialogWorker(elDialog.getAttribute('id')!);\n\tdialog?.emit?.('open', pageName);\n};\n\n/**\n * Callback for jQuery dialog onClose\n */\nconst onClose = async (elDialog: ElTopDialog) => {\n\tconst viewName = elDialog.getAttribute('id');\n\tconst pageName = elDialog.dataset.viewPageActive;\n\n\tif (pageName) {\n\t\tconst hashData = {\n\t\t\tvpn: TopDialogWorker.state.viewPageN as number | null,\n\t\t\t['view-' + viewName]: null,\n\t\t};\n\t\thashData['view-' + viewName] = null;\n\n\t\tif (TopDialogWorker.state.viewPageN === 0 || TopDialogWorker.state.viewPageN === 1) {\n\t\t\thashData.vpn = null;\n\t\t}\n\n\t\tsetHashs(hashData, false);\n\t}\n\n\tconst elUiWidgetOverlayVisibles = querySelectorAllArray(document, '.ui-widget-overlay').filter((el) => {\n\t\treturn isVisible(el);\n\t});\n\n\tif (!elUiWidgetOverlayVisibles.length) {\n\t\tCore.state.documentClassModificators.delete('top-dialog');\n\n\t\tdocument.querySelector('html')!.style.marginRight = '';\n\t}\n\n\t$(elDialog).trigger('viewAfterClose', [$(elDialog)]);\n\n\tconst dialog = getDialogWorker(viewName);\n\n\tif (dialog) {\n\t\tdialog.isOpened.value = false;\n\t\tdialog.emit?.('close', pageName);\n\n\t\tif (dialog.onCloseOnce) {\n\t\t\tdialog.onCloseOnce(dialog.props, pageName);\n\t\t\tdialog.onCloseOnce = undefined;\n\t\t}\n\t}\n\n\t// после закрытия диалога может потребоваться пересчет позиций элементов\n\twindow.dispatchEvent(new Event('resize'));\n};\n\n/**\n * Пересчитать положения и размеры открытых диалоговых окон\n */\nconst recalcPositions = () => {\n\tconst elDialogVisibilityes = querySelectorAllArray(document, '.ui-dialog').filter((el) => {\n\t\treturn isVisible(el) && el.querySelector<ElTopDialog>(':scope > .ui-dialog-content');\n\t}).map((el) => {\n\t\treturn el.querySelector<ElTopDialog>(':scope > .ui-dialog-content')!;\n\t});\n\n\telDialogVisibilityes.forEach((elDialog) => {\n\t\tconst elDialogBody = elDialog.querySelector<ElTopDialogBody>('.modal-body');\n\t\tif (!elDialogBody) return;\n\n\t\tconst elDialogWrapper = elDialog.closest('.ui-dialog');\n\n\t\tconst options = genVueOptions(elDialog);\n\n\t\toptions.position ??= { of: window };\n\n\t\tconst $dialog = $(elDialog);\n\t\t$dialog.dialog('option', options);\n\n\t\telDialogWrapper.classList.remove('me-tightly');\n\t\tif ((elDialogWrapper.clientHeight ?? 0) > window.innerHeight) elDialogWrapper.classList.add('me-tightly');\n\t});\n};\n\n/**\n * Переход к view page по неразобранной ссылке в формате: {viewName}-{pageName}[:args]\n */\nconst toViewDirty = async (toViewPageName: string, moveDirection?: MoveDirection) => {\n\tconst regexp = /(\\w+)[=-]([\\w-]+)(?::([\\w.:-]+))?/g;\n\tconst toViewParts = regexp.exec(toViewPageName);\n\tif (toViewParts) {\n\t\tconst viewName = toViewParts[1];\n\t\tconst pageName = toViewParts[2];\n\t\tconst argsString = toViewParts[3];\n\n\t\tlet args: string[] = [];\n\t\tif (argsString) args = argsString.split(':');\n\n\t\tawait toView(viewName, pageName, args, moveDirection);\n\t}\n};\n\n/**\n * Открыть диалоговое окно, возможно указать нужную страницу\n * @param viewNameOrElDialog - id страницы окна или элемент окна\n * @param pageName - имя страницы\n * @param args - аргументы, набор проивзольных параметров, которые могут обрабатываться каждым окном по своему\n * @param moveDirection\n * @param callback - функция, которая будет запущена после октытия страницы\n */\nconst toView = async (\n\tviewNameOrElDialog: ElTopDialog | JQuery<ElTopDialog> | string,\n\tpageName?: string,\n\targs?: string[],\n\tmoveDirection?: MoveDirection,\n\tcallback?: Function,\n) => {\n\tif (!isInited) {\n\t\tawait new Promise<void>((resolve, _reject) => {\n\t\t\tconst timer = setInterval(() => {\n\t\t\t\tif (!isInited) return;\n\n\t\t\t\tclearInterval(timer);\n\n\t\t\t\tresolve();\n\t\t\t}, 10000);\n\t\t});\n\t}\n\n\tawait nextTick();\n\n\tlet elDialog: ElTopDialog | null;\n\tif (typeof (viewNameOrElDialog) === 'object') {\n\t\tif (isElJQuery(viewNameOrElDialog)) viewNameOrElDialog = viewNameOrElDialog?.[0]; // todo: убрать после переписки jquery на сайте\n\n\t\telDialog = viewNameOrElDialog;\n\t} else {\n\t\telDialog = getElDialogById(viewNameOrElDialog);\n\t}\n\n\t// Диалоговое окно еще не загружено\n\tif (!elDialog && typeof (viewNameOrElDialog) == 'string' && TopDialogWorker.state.load) {\n\t\tawait TopDialogWorker.state.load(viewNameOrElDialog);\n\n\t\tawait toView(viewNameOrElDialog, pageName, args, moveDirection, callback);\n\n\t\treturn;\n\t}\n\n\tif (!elDialog) return;\n\n\tawait toViewPage(elDialog, pageName, args, moveDirection);\n\n\tconst $dialog = $(elDialog);\n\n\tif (elDialog?.classList.contains('ui-dialog-content')) {\n\t\t// var zIndexMax = 0;\n\t\t// $.map($('.ui-dialog'), function (el) {\n\t\t// \tvar zIndex = $(el).css('z-index') * 1;\n\t\t// \tif (zIndex > zIndexMax) zIndexMax = zIndex;\n\t\t// });\n\t\t//\n\t\t// if ($dialog.is(':hidden')) $dialog.dialog('open');\n\t\t//\n\t\t// var $dialogWrapper = $dialog.parent();\n\t\t// var $dialogOverlay = $dialogWrapper.next();\n\t\t//\n\t\t// if ($dialogWrapper.css('z-index') * 1 < zIndexMax) {\n\t\t// \t$dialogWrapper.css('z-index', zIndexMax + 2);\n\t\t// \t$dialogOverlay.css('z-index', zIndexMax + 1);\n\t\t// }\n\n\t\t$dialog.dialog('open');\n\t} else {\n\t\tconst options = genVueOptions(elDialog);\n\n\t\t$dialog.dialog(options);\n\t}\n\n\tif (callback) callback($dialog);\n};\n\nconst toViewPage = async (elDialog: ElTopDialog | JQuery<ElTopDialog>, pageName?: string, args?: string[], moveDirection?: MoveDirection) => {\n\tif (isElJQuery(elDialog)) elDialog = elDialog?.[0]; // todo: убрать после переписки jquery на сайте\n\n\tif (pageName === undefined) pageName = elDialog.dataset.viewPageActive;\n\n\tif (pageName !== elDialog.dataset.viewPageActive) {\n\t\tconst stopped = stopAnimations(elDialog);\n\t\tif (stopped) await sleep(100);\n\t}\n\n\tif (args === undefined) args = [];\n\n\tawait updatePageVue(elDialog.getAttribute('id') as string, undefined, pageName);\n\n\tconst elModalLayers = querySelectorAllArray<ElTopDialogModalLayer>(elDialog, '.modal-layer');\n\tconst elCurrentPages = elModalLayers.reduce<ElTopDialogPage[]>((acc, elModalLayer) => {\n\t\tconst elCurrentPage = elModalLayer.querySelector<ElTopDialogPage>(':scope > .active');\n\t\tif (elCurrentPage) {\n\t\t\tacc.push(elCurrentPage);\n\t\t}\n\n\t\treturn acc;\n\t}, []);\n\n\tconst elNextPages = elModalLayers.reduce<ElTopDialogPage[]>((acc, elModalLayer) => {\n\t\tconst elNextPage = elModalLayer.querySelector<ElTopDialogPage>(`:scope > [data-view-page=\"${pageName}\"]`);\n\t\tif (elNextPage) {\n\t\t\tacc.push(elNextPage);\n\t\t}\n\n\t\treturn acc;\n\t}, []);\n\n\tconst argsString = args.join(':');\n\n\tif (moveDirection === undefined) {\n\t\tmoveDirection = 'next';\n\t\tif ((elNextPages[0]?.dataset.order ?? 0) < (elCurrentPages[0]?.dataset.order ?? 0)) moveDirection = 'prev';\n\t}\n\n\tif (!elNextPages.length) return;\n\n\telDialog.dataset.viewPageActive = pageName;\n\n\t// запрашиваемая страница уже открыта\n\tif (elNextPages[0].classList.contains('active')) {\n\t\tif (elNextPages[0].dataset.viewPageArgs !== argsString) {\n\t\t\telNextPages.forEach((elNextPage) => {\n\t\t\t\telNextPage.dataset.viewPageArgs = argsString;\n\t\t\t});\n\n\t\t\t// dialogs.beforeOpenViewPage($dialog, $nextPage, pageName, args);\n\t\t\t// dialogs.afterOpenViewPage($dialog, $nextPage, pageName, args);\n\t\t}\n\n\t\tbeforeOpenViewPage(elDialog, elNextPages, pageName, args);\n\t\tafterOpenViewPage(elDialog, elNextPages, pageName, args);\n\n\t\treturn;\n\t}\n\n\telNextPages.forEach((elNextPage) => {\n\t\telNextPage.dataset.viewPageArgs = argsString;\n\t});\n\n\telCurrentPages.forEach((elCurrentPage) => {\n\t\tif (elCurrentPage.querySelector('.top-popup-wrapper')) {\n\t\t\tTopPopupWorker.close(elCurrentPage.querySelector('.top-popup-wrapper')!);\n\t\t}\n\t});\n\n\tconst elDialogWrapper = elNextPages[0].closest<ElTopDialogWrapper>('.ui-dialog');\n\n\tif (elDialogWrapper && !isVisible(elDialogWrapper)) moveDirection = 'none';\n\tif (!elCurrentPages.length) moveDirection = 'none';\n\tif (isVisible(elNextPages[0])) moveDirection = 'none';\n\n\tswitch (moveDirection) {\n\t\tcase 'prev': {\n\t\t\telNextPages.forEach((elNextPage) => {\n\t\t\t\tconst elActive = elNextPage.parentNode?.querySelector(':scope > .active');\n\t\t\t\tif (elActive) elNextPage.parentNode?.insertBefore(elNextPage, elActive);\n\t\t\t});\n\n\t\t\telCurrentPages.forEach((elCurrentPage) => {\n\t\t\t\telCurrentPage.classList.add('right-to-center', 'reverse');\n\t\t\t});\n\n\t\t\telNextPages.forEach((elNextPage) => {\n\t\t\t\telNextPage.classList.add('center-to-left', 'reverse');\n\t\t\t});\n\n\t\t\tbreak;\n\t\t}\n\t\tcase 'next': {\n\t\t\telNextPages.forEach((elNextPage) => {\n\t\t\t\tconst elActive = elNextPage.parentNode?.querySelector(':scope > .active');\n\t\t\t\tif (elActive) elNextPage.parentNode?.insertBefore(elNextPage, elActive.nextSibling);\n\t\t\t});\n\n\t\t\telCurrentPages.forEach((elCurrentPage) => {\n\t\t\t\telCurrentPage?.classList.add('center-to-left');\n\t\t\t});\n\n\t\t\telNextPages.forEach((elNextPage) => {\n\t\t\t\telNextPage.classList.add('right-to-center');\n\t\t\t});\n\n\t\t\tbreak;\n\t\t}\n\t}\n\n\telDialog.setAttribute('view-page-active', pageName);\n\n\telCurrentPages.forEach((elCurrentPage) => {\n\t\telCurrentPage.classList.remove('active');\n\t});\n\n\telNextPages.forEach((elNextPage) => {\n\t\telNextPage.classList.add('active');\n\t});\n\n\tbeforeOpenViewPage(elDialog, elNextPages, pageName, args);\n\n\tif (moveDirection) {\n\t\telDialog.classList.add('i-change-page');\n\n\t\tconst delay = Number(window.getComputedStyle(elNextPages[0]).animationDuration.replace('s', '')) * 1000;\n\n\t\ttimerClearAnimation = setTimeout(function () {\n\t\t\tupdatePageVue(elDialog.getAttribute('id'), pageName, '');\n\t\t\tstopAnimations(elDialog);\n\t\t\tafterOpenViewPage(elDialog, elNextPages, pageName, args);\n\t\t}, delay);\n\t} else {\n\t\tawait updatePageVue(elDialog.getAttribute('id'), pageName, '');\n\t\tafterOpenViewPage(elDialog, elNextPages, pageName, args);\n\t}\n};\n\n/**\n * К предыдущему представлению\n */\nconst toPrevPage = (elDialog: ElTopDialog) => {\n\tconst elModalLayers = querySelectorAllArray<ElTopDialogModalLayer>(elDialog, '.modal-layer');\n\tconst elCurrentPages = elModalLayers.reduce<ElTopDialogPage[]>((acc, elModalLayer) => {\n\t\tconst elCurrentPage = elModalLayer.querySelector<ElTopDialogPage>(':scope > .active');\n\n\t\tif (elCurrentPage) {\n\t\t\tacc.push(elCurrentPage);\n\t\t}\n\n\t\treturn acc;\n\t}, []);\n\n\tconst elPrevPages = elCurrentPages.reduce<ElTopDialogPage[]>((acc, elCurrentPage) => {\n\t\tlet elPrevPage = elCurrentPage.previousElementSibling as ElTopDialogPage | null;\n\t\twhile (elPrevPage && !elPrevPage.hasAttribute('[data-view-page]')) {\n\t\t\telPrevPage = elPrevPage.previousElementSibling as ElTopDialogPage | null;\n\t\t}\n\n\t\tif (elPrevPage) acc.push(elPrevPage);\n\n\t\treturn acc;\n\t}, []);\n\n\tconst prevPageName = (elPrevPages[0])?.dataset.viewPage;\n\n\tif (prevPageName) {\n\t\tvoid toViewPage(elDialog, prevPageName, undefined, 'prev');\n\t} else {\n\t\tconst $dialog = $(elDialog);\n\t\t$dialog.dialog('close');\n\t}\n};\n\n/**\n * Для обработки событий вне vue\n */\nconst beforeOpenViewPageTimers = new Set();\nconst beforeOpenViewPage = (elDialog: ElTopDialog, elPages: ElTopDialogPage[], pageName: string, args: string[]) => {\n\t// группировка цепочки событий\n\t// запрос на открытие страницы может выполняться несколько раз, чаще такое может быть при открытии, загрузке и переходе сразу к нужной странице\n\tconst eventKey = elDialog.getAttribute('id') + elPages[0].dataset.viewPage + pageName + args.join();\n\n\tif (beforeOpenViewPageTimers.has(eventKey)) return;\n\tbeforeOpenViewPageTimers.add(eventKey);\n\n\tsetTimeout(function () {\n\t\tbeforeOpenViewPageTimers.delete(eventKey);\n\n\t\t$(elDialog).trigger('viewBeforeOpen', [$(elDialog), $(elPages), pageName, args]);\n\t});\n};\n\n/**\n * Для обработки событий вне vue\n */\nconst afterOpenViewPage = (elDialog: ElTopDialog, elPages: ElTopDialogPage[], pageName: string, args: string[]) => {\n\tsetTimeout(function () {\n\t\t$(elDialog).trigger('viewAfterOpen', [$(elDialog), $(elPages), pageName, args]);\n\t});\n};\n\n/**\n * Получить состояние: Диалоговое окно находится в состоянии смены страницы\n */\nconst inAnimation = (elDialog: ElTopDialog | JQuery<ElTopDialog>) => {\n\tif (isElJQuery(elDialog)) elDialog = elDialog?.[0]; // todo: убрать после переписки jquery на сайте\n\n\treturn elDialog.classList.contains('i-change-page');\n};\n\n/**\n * Остановить анимацию смены страницы\n *\n * @returns Вернет true, если анимация производилась и была остановлена\n */\nconst stopAnimations = (elDialog: ElTopDialog) => {\n\tif (!inAnimation(elDialog)) return false;\n\n\tclearTimeout(timerClearAnimation);\n\n\tconst elModalLayers = querySelectorAllArray(elDialog, '.modal-layer');\n\n\tconst pageName = elDialog.dataset.viewPageActive;\n\telDialog.classList.remove('i-change-page');\n\n\telModalLayers.forEach((elModalLayer) => {\n\t\telModalLayer.querySelectorAll(':scope > [data-view-page]').forEach((el) => {\n\t\t\tel.classList.remove('center-to-left', 'right-to-center', 'reverse', 'active');\n\t\t});\n\t});\n\n\telModalLayers.forEach((elModalLayer) => {\n\t\telModalLayer.querySelector(`:scope > [data-view-page=\"${pageName}\"]`)?.classList.add('active');\n\t});\n\n\treturn true;\n};\n\n/**\n * Закрыть диалоговое окно\n */\nconst close = function (dialogId: string) {\n\tconst elDialog = getElDialogById(dialogId);\n\tif (!elDialog) return;\n\n\tconst $dialog = $(elDialog);\n\n\tif (!$dialog.dialog('instance')) return;\n\n\t$dialog.dialog('close');\n};\n\n/**\n * Управление props.isLoading\n */\nconst setLoading = (elPages: ElTopDialogPage[] | JQuery<ElTopDialogPage>, isLoading: boolean, duration?: number) => {\n\tif (isElJQuery(elPages)) elPages = elPages.toArray(); // todo: убрать после переписки jquery на сайте\n\n\tconst elPagesVisibleds = elPages.reduce<ElTopDialogPage[]>((acc, elPage) => {\n\t\tif (elPage.hasAttribute('[data-view-page]') && isVisible(elPage)) acc.push(elPage);\n\n\t\treturn acc;\n\t}, []);\n\n\tif (isLoading) {\n\t\tif (duration !== undefined) {\n\t\t\telPagesVisibleds.forEach((elPagesVisibled) => {\n\t\t\t\telPagesVisibled.style.setProperty('--dialog-loading-duration', duration + 's');\n\t\t\t});\n\t\t}\n\n\t\telPagesVisibleds.forEach((elPagesVisibled) => {\n\t\t\telPagesVisibled.classList.add('i-load-data');\n\t\t});\n\t} else {\n\t\telPagesVisibleds.forEach((elPagesVisibled) => {\n\t\t\telPagesVisibled.classList.remove('i-load-data');\n\t\t});\n\n\t\telPagesVisibleds.forEach((elPagesVisibled) => {\n\t\t\telPagesVisibled.style.setProperty('--dialog-loading-duration', '10s');\n\t\t});\n\t}\n};\n\nconst isLoading = (elPage: ElTopDialogPage | JQuery<ElTopDialogPage>) => {\n\tif (isElJQuery(elPage)) elPage = elPage?.[0]; // todo: убрать после переписки jquery на сайте\n\n\treturn elPage.classList.contains('i-load-data');\n};\n\nexport const TopDialogUtils = {\n\tgetElDialogById,\n\tupdatePageVue,\n\trecalcPositions,\n\ttoViewDirty,\n\ttoView,\n\ttoViewPage,\n\ttoPrevPage,\n\tsetLoading,\n\tisLoading,\n\tinAnimation,\n\tclose,\n};\n\ninit();\n"],"names":["inited","initDialogGlobalEvents","el","querySelectorVisible","elDialogs","querySelectorAllArray","elDialog","isVisible","toView","TopDialogUtils","viewNameAndPageLink","viewName","pageLink","elToPages","hash","TopDialogWorker","historySetState","elForm","eventTarget","elSubmitButton","event","elDialogWrapperWithTopZIndex","topZIndex","elDialogWrapper","zIndex","Core","css","cssM","cssPC","cssModern","cssModernPC","timerClearAnimation","isInited","isElJQuery","init","_a","onCreate","onOpen","onClose","$dialog","genVueOptions","options","_b","getElDialogById","id","updatePageVue","dialogId","pageName","pageNameNext","dialog","getDialogWorker","nextTick","waitWhile","elDialogBody","connectScrollShadow","initPopup","_e","$popup","elPopup","elPageContents","w1","scrollBarWidth","recalcPositions","hashData","setHashs","toViewDirty","toViewPageName","moveDirection","toViewParts","argsString","args","viewNameOrElDialog","callback","resolve","_reject","timer","toViewPage","stopAnimations","sleep","elModalLayers","elCurrentPages","acc","elModalLayer","elCurrentPage","elNextPages","elNextPage","beforeOpenViewPage","afterOpenViewPage","TopPopupWorker","elActive","delay","toPrevPage","prevPageName","elPrevPage","beforeOpenViewPageTimers","elPages","eventKey","inAnimation","close","setLoading","isLoading","duration","elPagesVisibleds","elPage","elPagesVisibled"],"mappings":";;;;;;;;AAGe;ACGf,IAAIA,IAAS;AASN,MAAMC,IAAyB,MAAM;AAC3C,EAAID,MACKA,IAAA,IAKA,SAAA,iBAAiB,WAAW,CAAC,MAAM;AAEvC,QADA,EAAE,QAAQ,YACV,CAAC,EAAE,OAAQ;AAEf,UAAME,IAAK,EAAE;AAcb,QAXI,CAACA,EAAG,QAAQ,YAAY,KAExBA,EAAG,oBAAoB,UAAUA,EAAG,oBAAoB,oBAGxDC,EAAqB,SAAS,iBAAiB,oBAAoB,KAGnED,EAAG,UAAU,SAAS,cAAc,KAGpCC,EAAqB,SAAS,iBAAiB,qBAAqB,EAAG;AAE3E,UAAMC,IAAYC,EAAmC,UAAU,oBAAoB,EAAE,OAAO,CAACC,MACrFC,EAAUD,CAAQ,CACzB;AAED,MAAEF,EAAUA,EAAU,SAAS,CAAC,CAAC,EAAE,OAAO,OAAO;AAAA,EAAA,CACjD,GAKQ,SAAA,iBAAiB,SAAS,CAAC,MAAM;AAyBzC,UAAMF,IAAM,EAAE,OAAuB,QAAQ,kCAAkC;AAC/E,QAAI,CAACA,EAAI;AAET,MAAE,eAAe;AAEX,UAAAI,IAAWJ,EAAG,QAAqB,oBAAoB;AAC7D,QAAI,CAACI,EAAU;AAGT,UAAAE,IAASN,EAAG,QAAQ;AAE1B,QAAIM,KAAU,gBAAgB;AAC7B,MAAAC,EAAe,WAAWH,CAAQ;AAElC;AAAA,IAAA;AAGD,QAAIE,GAAQ;AACL,YAAAE,IAAsBF,EAAO,MAAM,GAAG,GACtCG,IAAWD,EAAoB,MAAM,GACrCE,IAAWF,EAAoB,KAAK,GAAG;AAE7C,UAAI,CAACC,EAAU;AAETL,YAAAA,IAAWG,EAAe,gBAAgBE,CAAQ;AACxD,UAAI,CAACL,EAAU;AAEf,YAAMO,IAAYR,EAAsBC,GAAU,oBAAoBM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H;AAAA,EACA,OAAAC;AACD;AAEAhE,EAAK;"}
|
package/README.md
CHANGED
|
@@ -1,60 +1,82 @@
|
|
|
1
|
-
|
|
2
|
-
[](https://badge.fury.io/js/@topvisor%2Fui)
|
|
1
|
+
# UI kit Topvisor Vue
|
|
3
2
|
|
|
4
|
-
|
|
3
|
+
## Vue компоненты
|
|
5
4
|
|
|
6
|
-
|
|
5
|
+
Компоненты поставляются в двух форматах:
|
|
7
6
|
|
|
8
|
-
|
|
7
|
+
- amd (requirejs)
|
|
8
|
+
- es
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
Компоненты делятся на разные библиотеки и доступны через импорт этих библиотек.
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
Каждая библиотека находится в отдельной папке, соответствующей имени библиотеки.
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
Все стили модулей находятся в папке /assets/ в файлах соответствующих имени библиотеки.
|
|
15
|
+
В этой же папке располагаются стили для асинхронно загружаемых компонентов.
|
|
16
|
+
Все стили грузятся автоматически вместе с загрузкой компонента.
|
|
15
17
|
|
|
16
|
-
|
|
18
|
+
Документация и описание всех компонентов: https://ui.topvisor.com/
|
|
17
19
|
|
|
18
|
-
|
|
19
|
-
2. Склонировать проект: `git clone https://gitlab.topvisor.com/topvisor/ui.git`
|
|
20
|
-
3. Обновить до последней версии npm: `npm i -g npm@latest`
|
|
21
|
-
4. Установить зависимости: `npm i`
|
|
22
|
-
5. Запустить локальный сервер Storybook: `npm run storybook`
|
|
20
|
+
## Общие стили UI
|
|
23
21
|
|
|
24
|
-
|
|
22
|
+
- /assets/core.css - основная палитра цветов и общие стили и модификаторы компонентов
|
|
23
|
+
- /assets/themes/* - стили тем оформления
|
|
25
24
|
|
|
26
|
-
|
|
25
|
+
## Подключение стилей
|
|
27
26
|
|
|
28
|
-
|
|
29
|
-
- запуск локального сервера Storybook: `storybook dev`
|
|
30
|
-
- запуск сборки Storybook: `storybook build`:
|
|
27
|
+
Стили компонентов подгружаются автоматически.
|
|
31
28
|
|
|
32
|
-
|
|
29
|
+
Стили UI core.css необходимо подгрузить на страницу вручную.
|
|
33
30
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
31
|
+
```js
|
|
32
|
+
import '@topvisor/ui/assets/core.css';
|
|
33
|
+
```
|
|
37
34
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
35
|
+
```html
|
|
36
|
+
<link href="https://cdn.jsdelivr.net/npm/@topvisor/ui/assets/core.css" rel="stylesheet">
|
|
37
|
+
```
|
|
41
38
|
|
|
42
|
-
##
|
|
39
|
+
## Подключение стилей темы
|
|
43
40
|
|
|
44
|
-
|
|
41
|
+
Стили темы необходимо подгрузить на страницу вручную.
|
|
45
42
|
|
|
46
|
-
|
|
43
|
+
Для смены темы необходимо подгрузить файл стилей необходимой темы и отключить стили предыдущей темы.
|
|
47
44
|
|
|
48
|
-
|
|
45
|
+
```js
|
|
46
|
+
import '@topvisor/ui/assets/themes/light.css';
|
|
47
|
+
```
|
|
49
48
|
|
|
50
|
-
|
|
49
|
+
```html
|
|
51
50
|
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
<link href="https://cdn.jsdelivr.net/npm/@topvisor/ui/assets/themes/light.css" rel="stylesheet">
|
|
52
|
+
```
|
|
54
53
|
|
|
55
|
-
|
|
54
|
+
## Внешние зависимсоти
|
|
56
55
|
|
|
57
|
-
|
|
58
|
-
- Dev сайт сайта со storybook c UI: https://{{ имя-ветки }}.ui.topvisor.com
|
|
56
|
+
Стили icomoon добавлены в пакет и их необходимо подгрузить на страницу вручную.
|
|
59
57
|
|
|
60
|
-
|
|
58
|
+
```js
|
|
59
|
+
import '@topvisor/ui/icomoon/style.css';
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
```html
|
|
63
|
+
|
|
64
|
+
<link href="https://cdn.jsdelivr.net/npm/@topvisor/ui/icomoon/style.css" rel="stylesheet">
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## Подключение компонентов
|
|
68
|
+
|
|
69
|
+
Пример подключения библиотеки Forms и компонента Button:
|
|
70
|
+
|
|
71
|
+
```javascript
|
|
72
|
+
require(['@topvisor/ui/forms/forms.amd'], ({ Button }) => {
|
|
73
|
+
console.log(Button);
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
require(['@topvisor/ui/forms/forms.amd'], Forms => {
|
|
77
|
+
const { Button } = Forms;
|
|
78
|
+
|
|
79
|
+
console.log(Forms);
|
|
80
|
+
console.log(Button);
|
|
81
|
+
});
|
|
82
|
+
```
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.top-miniChart{cursor:default;box-sizing:border-box;border-color:transparent;height:100%;position:relative;display:flex;flex:1 1 auto;flex-direction:column;align-items:stretch;font-size:12px}.top-miniChart:not(:last-child){margin-right:32px}.top-miniChart:not(:last-child):after{content:"";width:1px;background-color:var(--color-line-1-opacity);position:absolute;top:0;right:-16px;bottom:0}.top-miniChart_title{--top-icon-size: 16px;--top-icon-width: 16px;width:auto;max-height:18px;max-width:100%;padding-right:24px;font-size:14px}.top-miniChart_title[data-top-icon]:before{border-radius:50%;margin-right:4px}.top-miniChart.top-color_orange .top-miniChart_title[data-top-icon]:before{background:var(--color-layer-warning-2)}.top-miniChart.top-color_pink .top-miniChart_title[data-top-icon]:before{background:var(--color-layer-info-2)}.top-miniChart.top-color_blue .top-miniChart_title[data-top-icon]:before{background:var(--color-layer-primary-2)}.top-miniChart_data{pointer-events:none;text-align:right;position:absolute;top:0;right:0;bottom:0;display:flex;flex-direction:column;justify-content:space-between}.top-miniChart_dataDynamic:before{content:"––"}.top-miniChart_dataDynamic-direction_up{color:var(--color-text-positive)}.top-miniChart_dataDynamic-direction_up:before{content:"+"}.top-miniChart_dataDynamic-direction_stay{color:var(--color-text-warning)}.top-miniChart_dataDynamic-direction_down{color:var(--color-text-negative)}.top-miniChart_dataDynamic-direction_down:before{content:"–"}.top-miniChart_chart{margin:3px 0 20px;border-top:1px solid var(--color-line-1);border-bottom:1px solid var(--color-line-1);padding:2px 0;display:block;flex-grow:1}.top-miniChart_chartGrid{height:100%;width:100%;overflow:hidden;display:grid;grid-template-columns:repeat(auto-fill,6px);grid-auto-rows:100%;gap:2px 0;align-items:end;justify-content:space-between;direction:rtl}.top-miniChart_chartGridCol{cursor:pointer;border-radius:2px;height:100%;padding:0 1px;opacity:1;display:flex;flex-direction:column-reverse}.top-miniChart_chartGridCol:not(.top-active){opacity:.3}.top-miniChart_chartGridCol:hover{background:var(--color-layer-3);opacity:.7}.top-miniChart_chartGridCol>div{border-radius:inherit;background:var(--color-layer-3)}.top-miniChart.top-color_orange .top-miniChart_chartGridCol>div{background:var(--color-line-warning-1)}.top-miniChart.top-color_pink .top-miniChart_chartGridCol>div{background:var(--color-line-info-1)}.top-miniChart.top-color_blue .top-miniChart_chartGridCol>div{background:var(--color-line-primary-1)}.top-miniChart_chartGridCol-none{cursor:default}.top-miniChart_chartGridCol-none>div{background:var(--color-theme-100)!important;height:2px}@media only screen and (max-width: 900px){.top-miniChart_hideChartInMobile{width:1px;align-items:center;justify-content:center;gap:var(--top-gap-1);box-shadow:var(--top-shadow-s);border-radius:var(--top-radius-2);padding:var(--top-padding-1);background:var(--color-layout-front-1)}.top-miniChart_hideChartInMobile:not(:last-child){margin:0}.top-miniChart_hideChartInMobile:not(:last-child):after{content:none}.top-miniChart_hideChartInMobile .top-miniChart_title{height:auto;padding:0;line-height:1;font-size:12px;flex-grow:0}.top-miniChart_hideChartInMobile .top-miniChart_chart{display:none}.top-miniChart_hideChartInMobile .top-miniChart_data{font-size:10px;line-height:1;pointer-events:unset;text-align:unset;position:unset;flex-direction:unset;justify-content:unset}.top-miniChart_hideChartInMobile .top-miniChart_dataDynamic{order:1;margin-left:4px}}.top-miniCharts{position:relative;max-width:1650px;height:100%;overflow:hidden;row-gap:var(--top-gap-2);display:flex;flex-wrap:wrap;flex-grow:1}.top-miniCharts_pages{height:100%;margin-left:-6px;position:sticky;top:0;left:calc(100% - 6px);order:-1;display:flex;flex-direction:column;justify-content:center}.top-miniCharts_pages>span{cursor:pointer;border-radius:50%;background:var(--color-layer-primary-2);width:6px;height:6px;margin:8px 0 0}.top-miniCharts_pages>span:first-child{margin-top:0}.top-miniCharts_pages>span.top-active,.top-miniCharts_pages>span:hover{background:var(--color-text-primary)}.top-miniCharts_tooltip{cursor:default;box-shadow:var(--top-shadow-b);border-radius:var(--top-radius-2);background:var(--content-background-color);padding:var(--top-padding-2);font-size:12px;white-space:nowrap;position:absolute;top:0;left:0;overflow:hidden;z-index:200000;display:flex;gap:0 var(--top-gap-2);align-items:center;transition:.2s;pointer-events:none}.top-miniCharts_tooltip>span:first-child{color:var(--color-text-3)}@media only screen and (max-width: 900px){.top-miniCharts_hideChartInMobile{border:none;background:none;width:100%;padding:0;gap:var(--top-gap-2);flex-grow:1;flex-wrap:nowrap;overflow:hidden}.top-miniCharts_hideChartInMobile>.top-miniCharts_pages{display:none}}
|
package/assets/core.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
button,input,textarea,select{border:1px solid var(--top-forms-border-color);background:var(--top-forms-background-color);color:var(--color-text-1);font-size:var(--top-font-size);font-family:inherit}::placeholder{color:var(--top-forms-placeholder-color)}[contenteditable][placeholder]:empty:before{content:attr(placeholder);color:var(--color-text-2)}.top-forms-optionWrapper{cursor:pointer;padding:8px 0;color:var(--color-text-1);line-height:1.3;display:inline-flex;align-items:flex-start;gap:4px}.top-forms-option{cursor:pointer;padding:0;margin:3px;display:inline-flex;flex-shrink:0;appearance:none;-webkit-appearance:none}.top-forms-focusable:focus-visible,.top-focus{outline:2px solid var(--color-line-primary-1);outline-offset:2px;position:relative;z-index:1;transition:border-color .15s}.top-forms-focusable:hover,.top-forms-focusable:focus,.top-forms-focusable:focus-within,.top-focus:hover,.top-focus:focus,.top-input:hover>.top-input_input,.top-select:hover>.top-select_select{--top-forms-border-color: var(--top-forms-border-color-hover);--top-forms-background-color: var(--top-forms-background-color-hover)}[contenteditable]:focus-visible,.top-selector-multiselect:focus-within{outline:2px solid var(--color-line-primary-1)}:root{--top-font-size: 14px;--top-font-size-s: 12px;--top-font-size-xs: 10px;--top-forms-radius: 8px;--top-forms-border-width: 1px;--top-style_outline-color: transparent;--top-forms-base-height_xs: 24px;--top-forms-base-height_s: 32px;--top-forms-base-height_m: 36px;--top-forms-base-height_l: 40px;--top-forms-background-color-regular: var(--color-layout-front-1);--top-forms-background-color-regular-hover: var(--color-layout-front-1);--top-forms-background-color-light: var(--top-forms-background-color-regular);--top-forms-background-color-light-hover: var(--top-forms-background-color-regular);--top-forms-background-color-soft: var(--color-theme-75);--top-forms-background-color-soft-hover: var(--color-bg-shading-2);--top-forms-background-color-transparent: transparent;--top-forms-background-color-transparent-hover: var(--color-layout-front-3);--top-forms-base-height: var(--top-forms-base-height_s);--top-forms-padding_xs: 6px;--top-forms-padding_s: 8px;--top-forms-padding_m: 10px;--top-forms-padding_l: 12px;--top-forms-padding: var(--top-forms-padding_s);--top-forms-option-height: 24px;--top-selector-arrow-width: 0px;--top-forms_clear-width: 0px;--top-forms-border-color: var(--color-line-1);--top-forms-border-color-hover: var(--color-line-primary-1);--top-forms-placeholder-color: var(--color-text-3);--top-forms-placeholder-color-active: var(--color-text-2);--top-forms-background-color: var(--color-layout-front-1);--top-forms-background-color-hover: var(--color-layout-front-1)}.top-style_light{--top-forms-radius: 0;border-top-width:0!important;border-left-width:0!important;border-right-width:0!important}.top-style_soft,.top-style_transparent{--top-forms-border-color: transparent;--top-forms-border-color-hover: transparent}.top-style_soft{--top-forms-background-color: var(--top-forms-background-color-soft);--top-forms-background-color-hover: var(--top-forms-background-color-soft-hover)}.top-style_transparent{--top-forms-background-color: var(--top-forms-background-color-transparent);--top-forms-background-color-hover: var(--top-forms-background-color-transparent-hover)}.top-size_xs{--top-forms-base-height: var(--top-forms-base-height_xs)}.top-size_s{--top-forms-base-height: var(--top-forms-base-height_s)}.top-size_m{--top-forms-base-height: var(--top-forms-base-height_m)}.top-size_l{--top-forms-base-height: var(--top-forms-base-height_l)}.top-input_input,.top-textarea_textarea,.top-editArea_form,.top-select_select,.top-as-input{box-sizing:border-box;border-radius:var(--top-forms-radius);border:var(--top-forms-border-width) solid var(--top-forms-border-color);background-color:var(--top-forms-background-color);color:var(--color-text-2);min-height:var(--top-forms-base-height);display:inline-flex;appearance:none;-webkit-appearance:none}.top-input_input:hover,.top-textarea_textarea:hover,.top-editArea_form:hover,.top-select_select:hover,.top-as-input:hover{background-color:var(--top-forms-background-color-hover)}.top-input_input:focus,.top-textarea_textarea:focus,.top-editArea_form:focus,.top-select_select:focus,.top-as-input:focus,.top-as-input:focus-within{background-color:var(--top-forms-background-color-hover);color:var(--color-text-1)}.top-select_select{padding-right:calc(var(--top-forms-padding) + var(--top-forms_clear-width) + var(--top-selector-arrow-width))}.top-select{position:relative}.top-select[data-top-icon]:before,.top-select[data-top-icon2]:after{position:absolute;z-index:3}.top-select[data-top-icon][data-top-icon2]:after{left:calc(var(--top-icon-width))}.top-cleaner[data-top-icon]{--top-icon-size: 20px;--top-icon-width: 20px;--top-icon-color: var(--color-text-secondary);cursor:pointer;border-radius:50%;width:30px;height:24px;margin-left:-34px;transform:translate(calc(0px - var(--top-forms-border-width) - var(--top-selector-arrow-width)));display:flex;align-items:center;justify-content:center;position:relative;z-index:1}.top-cleaner[data-top-icon]:hover{--top-icon-color: var(--color-text-secondary-2)}.top-as-selector{--top-selector-arrow-size: 12px;--top-selector-arrow-width: 24px;background-image:url("data:image/svg+xml,%3Csvg width='16' height='9' viewBox='0 0 16 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.293 0.29269L8 6.5857L1.70704 0.29269C1.31679 -0.0975633 0.682937 -0.0975633 0.292687 0.29269C-0.0975624 0.682943 -0.0975624 1.31656 0.292687 1.70682L7.29294 8.70713C7.68343 9.09762 8.31657 9.09762 8.70706 8.70713L15.7073 1.70682C16.0976 1.31656 16.0976 0.682943 15.7073 0.29269C15.3171 -0.0975633 14.6832 -0.0975633 14.293 0.29269Z' fill='%23808A99'/%3E%3C/svg%3E");background-size:14px;background-position:calc(100% - var(--top-forms-padding)) 50%;background-repeat:no-repeat;padding-right:calc(var(--top-selector-arrow-width) + var(--top-padding-2))}.top-as-selector.top-button{padding-right:calc(var(--top-selector-arrow-width) + var(--top-padding-2))}.top-as-selector~.top-cleaner{--top-selector-arrow-width: 24px}.top-as-a{cursor:pointer;color:var(--color-text-primary)}.top-as-a:hover{text-decoration:underline}.top-ellipsis,.top-ellipsis1{max-height:100%;line-height:1.26;text-overflow:ellipsis;overflow:hidden;flex-grow:1}.top-ellipsis1{white-space:nowrap}.top-ellipsis2,.top-ellipsis3{max-width:fit-content;line-height:1.26;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.top-ellipsis3{-webkit-line-clamp:3}.top-hidden{display:none!important}.top-unvisible{width:0;height:0;overflow:hidden;position:absolute;-webkit-appearance:none;appearance:none;border:none}.top-unvisible:focus-visible{outline:none}.top-disabled{pointer-events:none;-webkit-user-select:none;user-select:none}:disabled:not(option):not(optgroup),:disabled~.top-formsCaption,.top-disabled{opacity:.4;filter:grayscale(100%)}.top-input.top-disabled,.top-select.top-disabled{filter:unset}.top-input_input:disabled,.top-textarea_textarea:disabled,.top-select_select:disabled{opacity:1;background-color:var(--color-bg-shading-3);filter:unset}.top-checkbox_input:not(:checked):not(:indeterminate):disabled,.top-radio_input:not(:checked):disabled,.top-checkboxSwitcher_input:disabled{opacity:1;background-color:var(--color-layer-1)}.top-checkboxSwitcher_input:disabled{background-color:var(--color-layer-4)}.top-error,.top-error::placeholder,.top-error:before{--top-forms-border-color: var(--color-line-negative-1);border-color:var(--color-line-negative-1)}.top-error{--top-icon-color: var(--color-text-negative);color:var(--color-text-negative)}input.top-error:focus,textarea.top-error:focus,select.top-error:focus,div.top-error:focus{outline-color:var(--color-line-negative-1);border-color:var(--color-line-negative-1)}.top-error~.top-formsCaption{color:var(--color-text-negative)}.top-warning{--top-icon-color: var(--color-text-warning);color:var(--color-text-warning)}.top-forms-focusable.top-error{--top-error-keyframes-outline-color-100: transparent;animation:top-error .6s ease-out}.top-forms-focusable.top-error:focus{--top-error-keyframes-outline-color-100: var(--color-line-negative-1)}@keyframes top-error{0%{outline-offset:10px;outline:3px solid transparent}50%{outline-offset:2px;outline:3px solid var(--color-line-negative-1)}to{outline-offset:2px;outline:2px solid var(--top-error-keyframes-outline-color-100)}}@media only screen and (min-width: 900px){.top-only-mobile{display:none!important}}@media only screen and (max-width: 900px){.top-only-pc{display:none!important}}html:not([lang=ru]) .top-only-ru,html:not([lang=en]) .top-only-en{display:none!important}html[data-is-admin="0"] .top-only-admin,html[data-is-admin="1"] .top-only-no-admin{display:none!important}.has_scroll_container{transform:translate(0)}.has_scroll{--scroll-offset-top: 0px;--scroll-padding-top: 0px;--scroll-padding-bottom: 0px;--scroll-height: 0px;--scroll-shadow-height: 15px;--scroll-shadow-color: rgba(0, 0, 0, .1)}.has_scroll:before{pointer-events:none;content:"";background:linear-gradient(180deg,transparent calc(100% - var(--scroll-shadow-height)),var(--scroll-shadow-color));height:calc(var(--scroll-height) - var(--scroll-padding-top) - var(--scroll-padding-bottom));position:fixed;top:calc(var(--scroll-offset-top) + var(--scroll-padding-top));right:0;left:0;z-index:2;display:block}.has_scroll-started:before{background:linear-gradient(180deg,var(--scroll-shadow-color),transparent var(--scroll-shadow-height),transparent calc(100% - var(--scroll-shadow-height)),var(--scroll-shadow-color))}.has_scroll-finished:before{background:linear-gradient(180deg,var(--scroll-shadow-color),transparent var(--scroll-shadow-height))}.top-scrollBarXHidding{scrollbar-width:none;overflow-x:auto;overflow-y:hidden}.top-scrollBarXHidding:hover{scrollbar-width:thin}.top-scrollBarXHidding::-webkit-scrollbar{height:6px;display:none}.top-scrollBarXHidding:hover::-webkit-scrollbar{display:block;scrollbar-width:thin}.top-scrollBarXHidding::-webkit-scrollbar-track{background-color:transparent;box-shadow:inset #0000000f 0 0 0 10px}.top-scrollBarXHidding::-webkit-scrollbar-track:hover{box-shadow:inset #00000014 0 0 0 10px}.top-scrollBarXHidding::-webkit-scrollbar-track:active{box-shadow:inset #0000001a 0 0 0 10px}.top-scrollBarXHidding::-webkit-scrollbar-thumb{background-color:var(--color-line-1-opacity)}.top-scrollBarXHidding::-webkit-scrollbar-thumb:hover{background-color:var(--color-line-2-opacity)}.top-scrollBarXHidding::-webkit-scrollbar-thumb:active{background-color:var(--color-line-3-opacity)}.top-scrollBarXHidding::-webkit-scrollbar-button{width:0;height:0}[data-top-badge]{position:relative;width:0;margin:-3px 16px 0 -16px;display:flex;align-self:flex-start}[data-top-badge]:after{content:attr(data-top-badge);border-radius:4px;padding:2px 3px;background:var(--color-bg-negative-1);color:var(--color-text-white);font-size:12px}:root{--color-tag-1: #bdc3c7;--color-tag-2: #FD6052;--color-tag-3: #F48D09;--color-tag-4: #F4D30C;--color-tag-5: #5AACFD;--color-tag-6: #C98AE4;--color-tag-7: #A7DE59;--color-tag-8: #e44097;--color-tag-9: #0354a5;--color-tag-10: #33b8a5;--color-tag-all: var(--color-text-3)}.top-comment{color:var(--color-text-3);font-size:12px}img.top-flag{box-shadow:#0003 0 0 3px;width:24px;height:15px;margin:0 6px 0 0;flex-grow:0!important;flex-shrink:0!important}:root{--top-formsCaption-offset: 16px}.top-formsCaptionWrapper{padding-top:20px}.top-formsCaption{pointer-events:none;width:calc(100% - var(--top-forms-padding) - var(--top-icon-both-width) - var(--top-forms_clear-width) - var(--top-selector-arrow-width));padding:0 var(--top-forms-padding);color:var(--top-forms-placeholder-color);white-space:nowrap;text-overflow:ellipsis;transform:translate(var(--top-icon-both-width));position:absolute;overflow:hidden;transition:.1s}.top-error~.top-formsCaption{transition:.1s .1s}.top-formsCaption *{pointer-events:auto}.top-formsCaptionWrapper>input:not([readonly]):focus~.top-formsCaption,.top-formsCaptionWrapper>input:not(:placeholder-shown)~.top-formsCaption,.top-formsCaptionWrapper>textarea:not(:placeholder-shown)~.top-formsCaption,.top-formsCaptionWrapper.top-select>.top-formsCaption,.top-formsCaptionWrapper.top-inputRange>.top-formsCaption,.top-formsCaptionWrapper-always>.top-formsCaption{width:100%;padding:0;color:var(--top-forms-placeholder-color-active);font-size:11px;transform:translateY(calc(-1em - var(--top-formsCaption-offset)));transition:.1s}.ui-tooltip{pointer-events:none;box-shadow:0 6px 18px #0e152f21,0 -2px 6px #0e152f08;border-radius:8px;border:none;background:var(--color-layout-front-1);width:max-content;padding:16px;margin:0 18px;font-size:13px}.ui-tooltip img{margin:12px 0 0}.ui-tooltip ul{margin-left:24px}:root{--top-icon-size: 24px;--top-icon-width: 0px;--top-icon2-size: 24px;--top-icon2-width: 0px;--top-icon-both-width: 0px}[data-top-icon]{--top-icon-width: calc(var(--top-icon-size) + var(--top-forms-padding));--top-icon-color: inherit}[data-top-icon2]{--top-icon2-width: calc(var(--top-icon2-size) + 8px);--top-icon2-color: inherit}[data-top-icon=""]{--top-icon-width: 0px}[data-top-icon2=""]{--top-icon2-width: 0px}[data-top-icon]:before,[data-top-icon2]:after{pointer-events:none;content:attr(data-top-icon);border-radius:var(--top-forms-radius);width:var(--top-icon-width);color:var(--top-icon-color);font-family:Topvisor-2;font-size:var(--top-icon-size);font-weight:400;line-height:1;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}[data-top-icon2]:after{content:attr(data-top-icon2);width:var(--top-icon2-width);color:var(--top-icon2-color);font-size:var(--top-icon2-size)}[data-top-icon],[data-top-icon2]{--top-icon-both-width: calc(var(--top-icon-width) + var(--top-icon2-width))}[data-top-icon=]:before{font-family:Topvisor}:root{--top-line-heihgt: 1.36;--top-page-width: 1180px;--100vh: 100dvh;--transition: .2s ease-in-out;--transition-fast: .1s;--transition-normal: .3s;--transition-slow: .5s;--top-padding-1: 4px;--top-padding-2: 8px;--top-padding-3: 12px;--top-padding-4: 16px;--top-padding-5: 20px;--top-padding-6: 24px;--top-padding-7: 28px;--top-padding-8: 32px;--top-padding-9: 36px;--top-padding-10: 40px;--top-padding-11: 44px;--top-padding-12: 48px;--top-gap-1: 4px;--top-gap-2: 8px;--top-gap-3: 12px;--top-gap-4: 16px;--top-gap-5: 20px;--top-gap-6: 24px;--top-gap-7: 28px;--top-gap-8: 32px;--top-gap-9: 36px;--top-gap-10: 40px;--top-gap-11: 44px;--top-gap-12: 48px;--top-radius-1: 4px;--top-radius-2: 8px;--top-radius-3: 12px;--top-radius-4: 16px;--top-radius-5: 20px;--top-radius-6: 24px;--top-radius-7: 28px;--top-radius-8: 32px;--top-radius-9: 36px;--top-radius-10: 40px;--top-radius-11: 44px;--top-radius-12: 48px;--padding-default: var(--top-padding-4)}@media only screen and (max-width: 900px){:root{--padding-default: var(--top-padding-3)}}.ui-widget-content{background:var(--color-layout-front-1);color:var(--color-text-1)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
#dialog_selectorRegions .modal-body{--scroll-offset-top: 40px}.dialog_selectorRegions_header,.dialog_selectorRegions_region{padding-right:10px;padding-left:10px;display:flex;align-items:center;gap:4px}.dialog_selectorRegions_header{background:inherit;height:40px;padding-left:10px;gap:2px;position:sticky;top:0}.dialog_selectorRegions_sortButton{--top-icon-size: 18px}.dialog_selectorRegions_region{border-radius:var(--top-radius-2)}.dialog_selectorRegions_region:hover{background:var(--color-bg-shading-1)}.dialog_selectorRegions_region .top-forms-optionLabel_title{gap:4px}.dialog_selectorRegions_regionSearcherIcon{--top-icon-size: 20px;color:var(--color-text-3);margin:0 4px 0 2px}.dialog_selectorRegions_regionAreaName{color:var(--color-text-3);font-size:var(--top-font-size-s)}
|
package/assets/extra.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.top-rive{width:100%;height:100%;flex-grow:1}
|