@topvisor/ui 1.1.0 → 1.3.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-CXqQSo9c.amd.js +2 -0
- package/.chunks/core-CXqQSo9c.amd.js.map +1 -0
- package/.chunks/{core-Dsl28h7N.es.js → core-CY6RkZz2.es.js} +47 -46
- package/.chunks/core-CY6RkZz2.es.js.map +1 -0
- package/.chunks/{datepicker-BTiE5Grw.es.js → datepicker-BiaXdEIn.es.js} +2 -2
- package/.chunks/datepicker-BiaXdEIn.es.js.map +1 -0
- package/.chunks/datepicker-DUoArkDy.amd.js +2 -0
- package/.chunks/datepicker-DUoArkDy.amd.js.map +1 -0
- package/.chunks/dialog_selectorRegions-CPRVbPAk.amd.js +2 -0
- package/.chunks/dialog_selectorRegions-CPRVbPAk.amd.js.map +1 -0
- package/.chunks/dialog_selectorRegions-Zlm6K2mk.es.js +188 -0
- package/.chunks/dialog_selectorRegions-Zlm6K2mk.es.js.map +1 -0
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-CLahwA6M.es.js +322 -0
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-CLahwA6M.es.js.map +1 -0
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-D8NggYHD.amd.js +2 -0
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-D8NggYHD.amd.js.map +1 -0
- package/.chunks/field-Cvv0SRcJ.amd.js +2 -0
- package/.chunks/field-Cvv0SRcJ.amd.js.map +1 -0
- package/.chunks/field-CyyFzM-Y.es.js +16 -0
- package/.chunks/field-CyyFzM-Y.es.js.map +1 -0
- package/.chunks/forms-CgtkdwgA.amd.js +3 -0
- package/.chunks/forms-CgtkdwgA.amd.js.map +1 -0
- package/.chunks/forms-DarRVke_.es.js +2045 -0
- package/.chunks/forms-DarRVke_.es.js.map +1 -0
- package/.chunks/index-BEI7XZmU.amd.js +2 -0
- package/.chunks/index-BEI7XZmU.amd.js.map +1 -0
- package/.chunks/index-igPkes8X.es.js +48 -0
- package/.chunks/index-igPkes8X.es.js.map +1 -0
- package/.chunks/lazy-40pjr8cZ.es.js +71 -0
- package/.chunks/lazy-40pjr8cZ.es.js.map +1 -0
- package/.chunks/lazy-DSFLxvj4.amd.js +2 -0
- package/.chunks/lazy-DSFLxvj4.amd.js.map +1 -0
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-CT-EXxJj.amd.js +2 -0
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-CT-EXxJj.amd.js.map +1 -0
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-DzJ_pc-d.es.js +184 -0
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-DzJ_pc-d.es.js.map +1 -0
- package/.chunks/menu.vue_vue_type_style_index_0_lang-BLMYjYLV.amd.js +2 -0
- package/.chunks/menu.vue_vue_type_style_index_0_lang-BLMYjYLV.amd.js.map +1 -0
- package/.chunks/{menu.vue_vue_type_style_index_0_lang-DmY5w4yr.es.js → menu.vue_vue_type_style_index_0_lang-COD_4iTy.es.js} +35 -34
- package/.chunks/menu.vue_vue_type_style_index_0_lang-COD_4iTy.es.js.map +1 -0
- package/.chunks/{notice-CJdCc72d.amd.js → notice-CPtAnc7p.amd.js} +3 -3
- package/.chunks/notice-CPtAnc7p.amd.js.map +1 -0
- package/.chunks/{notice-Cqs1dKt8.es.js → notice-fno9saBY.es.js} +2 -2
- package/.chunks/notice-fno9saBY.es.js.map +1 -0
- package/.chunks/{page.vue_vue_type_script_setup_true_lang-BCfksgg3.es.js → page.vue_vue_type_script_setup_true_lang-BS0aEP4i.es.js} +4 -4
- package/.chunks/page.vue_vue_type_script_setup_true_lang-BS0aEP4i.es.js.map +1 -0
- package/.chunks/page.vue_vue_type_script_setup_true_lang-DLebrPmi.amd.js +2 -0
- package/.chunks/page.vue_vue_type_script_setup_true_lang-DLebrPmi.amd.js.map +1 -0
- package/.chunks/popup-AG94kehM.es.js +459 -0
- package/.chunks/popup-AG94kehM.es.js.map +1 -0
- package/.chunks/popup-CtvJLWn3.amd.js +2 -0
- package/.chunks/popup-CtvJLWn3.amd.js.map +1 -0
- package/.chunks/punycode.es6-CNOnFR2-.amd.js +2 -0
- package/.chunks/{punycode.es6-C2yitnNb.amd.js.map → punycode.es6-CNOnFR2-.amd.js.map} +1 -1
- package/.chunks/punycode.es6-CgGegfA_.es.js +134 -0
- package/.chunks/{punycode.es6-CNI-zL6U.es.js.map → punycode.es6-CgGegfA_.es.js.map} +1 -1
- package/.chunks/store-CX_6ZXhO.es.js.map +1 -1
- package/.chunks/store-YRW59xEF.amd.js +2 -0
- package/.chunks/store-YRW59xEF.amd.js.map +1 -0
- package/.chunks/{utils-B1H3EGkg.es.js → utils-3M9LC_L_.es.js} +2 -2
- package/.chunks/utils-3M9LC_L_.es.js.map +1 -0
- package/.chunks/utils-BitKP31L.es.js +302 -0
- package/.chunks/utils-BitKP31L.es.js.map +1 -0
- package/.chunks/utils-D9D3zzjc.amd.js +2 -0
- package/.chunks/utils-D9D3zzjc.amd.js.map +1 -0
- package/.chunks/utils-DcP4RFmH.amd.js +2 -0
- package/.chunks/utils-DcP4RFmH.amd.js.map +1 -0
- package/.chunks/widgetInput.vue_vue_type_script_setup_true_lang-BK-pTu3V.amd.js +2 -0
- package/.chunks/widgetInput.vue_vue_type_script_setup_true_lang-BK-pTu3V.amd.js.map +1 -0
- package/.chunks/widgetInput.vue_vue_type_script_setup_true_lang-xwjgBq1L.es.js +39 -0
- package/.chunks/widgetInput.vue_vue_type_script_setup_true_lang-xwjgBq1L.es.js.map +1 -0
- package/.chunks/widgetInput.vue_vue_type_style_index_0_lang-Cce9ZdtW.amd.js +2 -0
- package/.chunks/widgetInput.vue_vue_type_style_index_0_lang-Cce9ZdtW.amd.js.map +1 -0
- package/README.md +82 -82
- package/api/additional.amd.js +2 -0
- package/api/additional.amd.js.map +1 -0
- package/api/additional.d.ts +2 -0
- package/api/additional.js +66 -0
- package/api/additional.js.map +1 -0
- package/api/index.amd.js +2 -0
- package/api/index.amd.js.map +1 -0
- package/api/index.d.ts +2 -0
- package/api/index.js +280 -0
- package/api/index.js.map +1 -0
- package/assets/core.css +1 -1
- package/assets/extra.css +1 -0
- package/assets/forms.css +1 -1
- package/assets/formsExt.css +1 -1
- package/assets/layout.css +1 -1
- package/assets/notice.css +1 -1
- package/assets/project.css +1 -1
- package/assets/themes/dark-th.css +1 -1
- package/assets/themes/dark.css +1 -1
- package/assets/themes/light.css +1 -1
- package/charts/charts.amd.js +1 -1
- package/charts/charts.amd.js.map +1 -1
- package/charts/charts.d.ts +1 -1
- package/charts/charts.js +11 -11
- package/charts/charts.js.map +1 -1
- package/core/app.amd.js +1 -1
- package/core/app.amd.js.map +1 -1
- package/core/app.d.ts +2 -8
- package/core/app.js +36 -34
- package/core/app.js.map +1 -1
- package/dialog/dialog.amd.js +1 -1
- package/dialog/dialog.amd.js.map +1 -1
- package/dialog/dialog.d.ts +1 -1
- package/dialog/dialog.js +2 -2
- package/dialog/dialog.js.map +1 -1
- 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 +1 -1
- package/forms/forms.d.ts +1 -1
- package/forms/forms.js +11 -9
- package/forms/helpers.amd.js +1 -1
- package/forms/helpers.amd.js.map +1 -1
- package/forms/helpers.d.ts +0 -1
- package/forms/helpers.js +1 -9
- package/forms/helpers.js.map +1 -1
- package/formsExt/formsExt.amd.js +1 -1
- package/formsExt/formsExt.amd.js.map +1 -1
- package/formsExt/formsExt.d.ts +1 -1
- package/formsExt/formsExt.js +524 -320
- package/formsExt/formsExt.js.map +1 -1
- package/icomoon/Read Me.txt +7 -7
- package/icomoon/demo-files/demo.css +158 -158
- package/icomoon/demo-files/demo.js +30 -30
- package/icomoon/demo.css +158 -0
- package/icomoon/demo.html +3782 -3558
- package/icomoon/demo.js +30 -0
- package/icomoon/fonts/Topvisor-2.eot +0 -0
- package/icomoon/fonts/Topvisor-2.svg +292 -276
- package/icomoon/fonts/Topvisor-2.ttf +0 -0
- package/icomoon/fonts/Topvisor-2.woff +0 -0
- package/icomoon/selection.json +1 -1
- package/icomoon/style.css +828 -780
- package/jquery-ui.min.css +5 -5
- package/layout/layout.amd.js +1 -1
- package/layout/layout.amd.js.map +1 -1
- package/layout/layout.d.ts +1 -1
- package/layout/layout.js +29 -29
- package/layout/layout.js.map +1 -1
- package/package.json +36 -33
- package/popup/popup.amd.js +1 -1
- package/popup/popup.amd.js.map +1 -1
- package/popup/popup.d.ts +1 -1
- package/popup/popup.js +120 -136
- package/popup/popup.js.map +1 -1
- package/popup/worker.amd.js +1 -1
- package/popup/worker.amd.js.map +1 -1
- package/popup/worker.d.ts +1 -1
- package/popup/worker.js +31 -22
- package/popup/worker.js.map +1 -1
- package/project/project.amd.js +1 -1
- package/project/project.amd.js.map +1 -1
- package/project/project.d.ts +1 -1
- package/project/project.js +396 -386
- package/project/project.js.map +1 -1
- package/require/css.amd.js +12 -12
- package/src/api/api/additional.d.ts +1 -0
- package/src/api/api/client/client.d.ts +55 -0
- package/src/api/api/client/request-options.d.ts +1 -0
- package/src/api/api/client/request.d.ts +2 -0
- package/src/api/api/index.d.ts +12 -0
- package/src/api/api/mocker/index.d.ts +9 -0
- package/src/api/api/tests/types.test-d.d.ts +1 -0
- package/src/api/api/types/api.d.ts +144 -0
- package/src/api/api/types/client/client.d.ts +8 -0
- package/src/api/api/types/client/middleware.d.ts +65 -0
- package/src/api/api/types/client/options.d.ts +60 -0
- package/src/api/api/types/client/request-context.d.ts +35 -0
- package/src/api/api/types/client/request-options.d.ts +73 -0
- package/src/api/api/types/client/request.d.ts +91 -0
- package/src/api/api/types/ext.d.ts +51 -0
- package/src/api/api/types/field.d.ts +33 -0
- package/src/api/api/types/index.d.ts +13 -0
- package/src/api/api/types/mocker.d.ts +106 -0
- package/src/api/api/types/schema.d.ts +50 -0
- package/src/api/api/types/tv.d.ts +59 -0
- package/src/api/api/types/utils.d.ts +51 -0
- package/src/api/api/utils/common.d.ts +16 -0
- package/src/api/api/utils/field.d.ts +8 -0
- package/src/api/api/utils/filters.d.ts +48 -0
- package/src/api/api/utils/lazy.d.ts +26 -0
- package/src/components/charts/charts.d.ts +2 -0
- package/{components → src/components}/charts/miniChart/miniChart.vue.d.ts +1 -1
- package/{components → src/components}/charts/miniCharts/miniCharts.d.ts +1 -1
- package/{components → src/components}/charts/miniCharts/miniCharts.vue.d.ts +1 -1
- package/{components → src/components}/core/notice/item/types.d.ts +2 -0
- package/{components → src/components}/dialog/dialog/dialogs/dialogs.vue.d.ts +3 -0
- package/{components → src/components}/dialog/dialog/page/types.d.ts +2 -2
- package/{components → src/components}/dialog/lib/types.d.ts +23 -0
- package/src/components/dialog/lib/utils.d.ts +14 -0
- package/{components → src/components}/dialog/lib/utils.globalEvents.d.ts +2 -2
- package/{components → src/components}/dialog/lib/worker.d.ts +27 -11
- package/src/components/extra/extra.d.ts +1 -0
- package/src/components/extra/rive/rive.vue.d.ts +11 -0
- package/src/components/extra/rive/types.d.ts +7 -0
- package/{components → src/components}/forms/avatar/avatar.vue.d.ts +2 -2
- package/{components/forms/avatar/avatar.d.ts → src/components/forms/avatar/types.d.ts} +4 -10
- package/{components → src/components}/forms/button/button.vue.d.ts +3 -7
- package/{components → src/components}/forms/button/types.d.ts +15 -19
- package/src/components/forms/caption/caption.vue.d.ts +17 -0
- package/src/components/forms/caption/types.d.ts +9 -0
- package/{components → src/components}/forms/checkbox/checkbox.vue.d.ts +3 -3
- package/{components → src/components}/forms/controlLabel/controlLabel.vue.d.ts +1 -1
- package/src/components/forms/forms.d.ts +15 -0
- package/src/components/forms/helpers.d.ts +1 -0
- package/{components → src/components}/forms/hint/hint.vue.d.ts +1 -1
- package/{components → src/components}/forms/input/input.vue.d.ts +2 -3
- package/src/components/forms/input/types.d.ts +23 -0
- package/{components → src/components}/forms/inputDate/inputDate.vue.d.ts +1 -1
- package/src/components/forms/inputDate/types.d.ts +1 -0
- package/src/components/forms/preloader/types.d.ts +3 -0
- package/{components → src/components}/forms/radio/radio.vue.d.ts +1 -1
- package/src/components/forms/select/select.vue.d.ts +17 -0
- package/{components/forms/select/select.d.ts → src/components/forms/select/types.d.ts} +3 -3
- package/{components → src/components}/forms/switcher/switcher.vue.d.ts +1 -1
- package/{components → src/components}/forms/textarea/textarea.vue.d.ts +1 -1
- package/{components/forms/textarea/textarea.d.ts → src/components/forms/textarea/types.d.ts} +4 -0
- package/{components/formsExt/radioGroup/radioGroup.vue.d.ts → src/components/formsExt/checkboxGroup/checkboxGroup.vue.d.ts} +7 -10
- package/src/components/formsExt/checkboxGroup/types.d.ts +19 -0
- package/{components → src/components}/formsExt/editArea/editArea.vue.d.ts +1 -1
- package/{components/formsExt/editArea/editArea.d.ts → src/components/formsExt/editArea/types.d.ts} +1 -1
- package/{components → src/components}/formsExt/editInput/editInput.vue.d.ts +1 -1
- package/{components/formsExt/editInput/editInput.d.ts → src/components/formsExt/editInput/types.d.ts} +1 -1
- package/src/components/formsExt/formsExt.d.ts +8 -0
- package/{components → src/components}/formsExt/info/types.d.ts +1 -1
- package/{components → src/components}/formsExt/menu/menu.vue.d.ts +1 -1
- package/src/components/formsExt/policy/policy.vue.d.ts +8 -0
- package/src/components/formsExt/policy/types.d.ts +20 -0
- package/{components/forms/select/select.vue.d.ts → src/components/formsExt/radioGroup/radioGroup.vue.d.ts} +4 -6
- package/{components/formsExt/radioGroup/radioGroup.d.ts → src/components/formsExt/radioGroup/types.d.ts} +3 -3
- package/src/components/formsExt/selector2/composables/useAPI.d.ts +18 -0
- package/src/components/formsExt/selector2/composables/useMenu.d.ts +16 -0
- package/{components → src/components}/formsExt/selector2/itemMulti.vue.d.ts +1 -1
- package/src/components/formsExt/selector2/selector2.vue.d.ts +43 -0
- package/{components/formsExt/selector2/selector2.d.ts → src/components/formsExt/selector2/types.d.ts} +66 -34
- package/src/components/formsExt/selector2/utils.d.ts +6 -0
- package/{components → src/components}/layout/islandRows/types.d.ts +1 -1
- package/src/components/layout/layout.d.ts +4 -0
- package/src/components/popup/alert/alert.vue.d.ts +25 -0
- package/src/components/popup/alert/types.d.ts +8 -0
- package/src/components/popup/confirm/confirm.vue.d.ts +26 -0
- package/{components/popup/confirm/confirm.d.ts → src/components/popup/confirm/types.d.ts} +3 -3
- package/{components → src/components}/popup/lib/popup.d.ts +6 -2
- package/{components → src/components}/popup/lib/popup.globalEvents.d.ts +6 -0
- package/{components → src/components}/popup/lib/worker.d.ts +8 -6
- package/{components → src/components}/popup/popup/listItem.vue.d.ts +1 -1
- package/src/components/popup/popup/opener.vue.d.ts +17 -0
- package/src/components/popup/popup/popup.vue.d.ts +38 -0
- package/{components/popup/popup/popup.d.ts → src/components/popup/popup/types.d.ts} +20 -11
- package/{components → src/components}/popup/popup/widgetInput.vue.d.ts +1 -1
- package/src/components/popup/popup.d.ts +7 -0
- package/src/components/popup/prompt/prompt.vue.d.ts +26 -0
- package/{components/popup/prompt/prompt.d.ts → src/components/popup/prompt/types.d.ts} +3 -3
- package/src/components/project/project.d.ts +9 -0
- package/{components → src/components}/project/selectorCompetitors/composables.d.ts +1 -2
- package/{components → src/components}/project/selectorCompetitors/selectorCompetitors.vue.d.ts +1 -1
- package/{components/project/selectorCompetitors/selectorCompetitors.d.ts → src/components/project/selectorCompetitors/types.d.ts} +7 -0
- package/{components → src/components}/project/selectorRegion/composables/compare.d.ts +1 -1
- package/{components → src/components}/project/selectorRegion/composables/selectRegion.d.ts +2 -3
- package/{components → src/components}/project/selectorRegion/composables/selectSearcher.d.ts +2 -2
- package/{components → src/components}/project/selectorRegion/composables/selectorRegion.d.ts +2 -2
- package/{components → src/components}/project/selectorRegion/dialog_selectorRegions/dialog_selectorRegions.vue.d.ts +3 -1
- package/{components → src/components}/project/selectorRegion/dialog_selectorRegions/types.d.ts +1 -1
- package/{components → src/components}/project/selectorRegion/selectorRegion.vue.d.ts +1 -1
- package/{components/project/selectorRegion/selectorRegion.d.ts → src/components/project/selectorRegion/types.d.ts} +2 -0
- package/src/components/project/selectorRegion/utils/consts.d.ts +31 -0
- package/{components → src/components}/project/selectorRegion/utils/utils.d.ts +4 -2
- package/{components → src/components}/project/tagSelector/popupOpener/types.d.ts +2 -0
- package/src/components/project/tagSelector/tagIcon/tagIcon.vue.d.ts +4 -0
- package/{components → src/components}/project/tagSelector/types.d.ts +2 -0
- package/{components → src/components}/project/tagSelector/utils/el.d.ts +1 -1
- package/{components → src/components}/tabs/tabs/content.vue.d.ts +1 -1
- package/{components → src/components}/tabs/tabs/tab.vue.d.ts +1 -1
- package/{components → src/components}/tabs/tabs/tabs.vue.d.ts +1 -1
- package/src/components/tabs/tabs.d.ts +3 -0
- package/{components → src/components}/tabsView/tabsView/menu.vue.d.ts +1 -1
- package/{components → src/components}/tabsView/tabsView/menuItem.vue.d.ts +1 -1
- package/{components → src/components}/tabsView/tabsView/menuTitle.vue.d.ts +1 -1
- package/src/components/tabsView/tabsView/store.d.ts +12 -0
- package/{components → src/components}/tabsView/tabsView/tabsView.vue.d.ts +1 -1
- package/{components/tabsView/tabsView/tabsView.d.ts → src/components/tabsView/tabsView/types.d.ts} +2 -2
- package/src/components/tabsView/tabsView.d.ts +3 -0
- package/src/core/app.d.ts +8 -0
- package/{core → src/core}/core/core.d.ts +1 -1
- package/{core → src/core}/core/options.d.ts +7 -6
- package/{core → src/core}/core/state.d.ts +1 -1
- package/src/core/directives/preloader.d.ts +8 -0
- package/{core → src/core}/plugins/core.d.ts +2 -2
- package/{core → src/core}/plugins/i18n.d.ts +4 -4
- package/{core → src/core}/utils/date.d.ts +30 -12
- package/{core → src/core}/utils/dom.d.ts +11 -1
- package/{core → src/core}/utils/route.d.ts +1 -1
- package/{core → src/core}/utils/searchers.d.ts +1 -1
- package/{core → src/core}/utils/store.d.ts +1 -1
- package/{core → src/core}/utils/string.d.ts +13 -1
- package/tabs/tabs.amd.js +1 -1
- package/tabs/tabs.amd.js.map +1 -1
- package/tabs/tabs.d.ts +1 -1
- package/tabs/tabs.js +14 -14
- package/tabs/tabs.js.map +1 -1
- package/tabsView/tabsView.amd.js +1 -1
- package/tabsView/tabsView.amd.js.map +1 -1
- package/tabsView/tabsView.d.ts +1 -1
- package/tabsView/tabsView.js +49 -48
- package/tabsView/tabsView.js.map +1 -1
- package/utils/check.amd.js +1 -1
- package/utils/check.amd.js.map +1 -1
- package/utils/check.d.ts +1 -1
- package/utils/check.js.map +1 -1
- package/utils/clipboard.amd.js +2 -2
- package/utils/clipboard.amd.js.map +1 -1
- package/utils/clipboard.d.ts +1 -1
- package/utils/clipboard.js +1 -1
- package/utils/clipboard.js.map +1 -1
- package/utils/date.amd.js +1 -1
- package/utils/date.d.ts +1 -1
- package/utils/date.js +4 -3
- package/utils/device.amd.js +1 -1
- package/utils/device.d.ts +1 -1
- package/utils/device.js +4 -4
- package/utils/dom.amd.js +1 -1
- package/utils/dom.amd.js.map +1 -1
- package/utils/dom.d.ts +3 -3
- package/utils/dom.js +27 -22
- package/utils/dom.js.map +1 -1
- package/utils/image.amd.js +2 -2
- package/utils/image.amd.js.map +1 -1
- package/utils/image.d.ts +1 -1
- package/utils/image.js +1 -1
- package/utils/image.js.map +1 -1
- package/utils/keyboard.amd.js +1 -1
- package/utils/keyboard.amd.js.map +1 -1
- package/utils/keyboard.d.ts +1 -1
- package/utils/keyboard.js.map +1 -1
- package/utils/lodash.amd.js +1 -1
- package/utils/lodash.d.ts +1 -1
- package/utils/lodash.js +1 -1
- package/utils/number.amd.js +1 -1
- package/utils/number.amd.js.map +1 -1
- package/utils/number.d.ts +1 -1
- package/utils/number.js.map +1 -1
- package/utils/price.amd.js +1 -1
- package/utils/price.amd.js.map +1 -1
- package/utils/price.d.ts +1 -1
- package/utils/price.js +1 -1
- package/utils/price.js.map +1 -1
- package/utils/route.amd.js +1 -1
- package/utils/route.amd.js.map +1 -1
- package/utils/route.d.ts +1 -1
- package/utils/route.js +26 -19
- package/utils/route.js.map +1 -1
- package/utils/scroll.amd.js +1 -1
- package/utils/scroll.amd.js.map +1 -1
- package/utils/scroll.d.ts +1 -1
- package/utils/scroll.js.map +1 -1
- package/utils/searchers.amd.js +1 -1
- package/utils/searchers.amd.js.map +1 -1
- package/utils/searchers.d.ts +1 -1
- package/utils/searchers.js +3 -3
- package/utils/searchers.js.map +1 -1
- package/utils/store.amd.js +1 -1
- package/utils/store.d.ts +1 -1
- package/utils/string.amd.js +1 -1
- package/utils/string.amd.js.map +1 -1
- package/utils/string.d.ts +1 -1
- package/utils/string.js +41 -28
- package/utils/string.js.map +1 -1
- package/utils/system.amd.js +1 -1
- package/utils/system.amd.js.map +1 -1
- package/utils/system.d.ts +1 -1
- package/utils/system.js.map +1 -1
- package/utils/url.amd.js +2 -2
- package/utils/url.amd.js.map +1 -1
- package/utils/url.d.ts +1 -1
- package/utils/url.js +1 -1
- package/utils/url.js.map +1 -1
- package/web-types.json +130 -130
- package/.chunks/core-CcWs0qYw.amd.js +0 -2
- package/.chunks/core-CcWs0qYw.amd.js.map +0 -1
- package/.chunks/core-Dsl28h7N.es.js.map +0 -1
- package/.chunks/datepicker-B6kIyIcw.amd.js +0 -2
- package/.chunks/datepicker-B6kIyIcw.amd.js.map +0 -1
- package/.chunks/datepicker-BTiE5Grw.es.js.map +0 -1
- package/.chunks/dialog_selectorRegions-BZcnnvJM.es.js +0 -140
- package/.chunks/dialog_selectorRegions-BZcnnvJM.es.js.map +0 -1
- package/.chunks/dialog_selectorRegions-CePGUsCo.amd.js +0 -2
- package/.chunks/dialog_selectorRegions-CePGUsCo.amd.js.map +0 -1
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-B5hK613K.es.js +0 -266
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-B5hK613K.es.js.map +0 -1
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-izSFcRLb.amd.js +0 -2
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-izSFcRLb.amd.js.map +0 -1
- package/.chunks/forms-BsuCen2-.es.js +0 -1999
- package/.chunks/forms-BsuCen2-.es.js.map +0 -1
- package/.chunks/forms-BwGakScF.amd.js +0 -3
- package/.chunks/forms-BwGakScF.amd.js.map +0 -1
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-CfM8kOV1.amd.js +0 -2
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-CfM8kOV1.amd.js.map +0 -1
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-CszHDnB0.es.js +0 -181
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-CszHDnB0.es.js.map +0 -1
- package/.chunks/menu.vue_vue_type_style_index_0_lang-DQTVNJGq.amd.js +0 -2
- package/.chunks/menu.vue_vue_type_style_index_0_lang-DQTVNJGq.amd.js.map +0 -1
- package/.chunks/menu.vue_vue_type_style_index_0_lang-DmY5w4yr.es.js.map +0 -1
- package/.chunks/notice-CJdCc72d.amd.js.map +0 -1
- package/.chunks/notice-Cqs1dKt8.es.js.map +0 -1
- package/.chunks/page.vue_vue_type_script_setup_true_lang-1JWduCTr.amd.js +0 -2
- package/.chunks/page.vue_vue_type_script_setup_true_lang-1JWduCTr.amd.js.map +0 -1
- package/.chunks/page.vue_vue_type_script_setup_true_lang-BCfksgg3.es.js.map +0 -1
- package/.chunks/popup-CLhWWJDe.amd.js +0 -2
- package/.chunks/popup-CLhWWJDe.amd.js.map +0 -1
- package/.chunks/popup-N10MDafw.es.js +0 -416
- package/.chunks/popup-N10MDafw.es.js.map +0 -1
- package/.chunks/punycode.es6-C2yitnNb.amd.js +0 -2
- package/.chunks/punycode.es6-CNI-zL6U.es.js +0 -134
- package/.chunks/store-esTid5oI.amd.js +0 -2
- package/.chunks/store-esTid5oI.amd.js.map +0 -1
- package/.chunks/utils-B1H3EGkg.es.js.map +0 -1
- package/.chunks/utils-B7GVqGBH.amd.js +0 -2
- package/.chunks/utils-B7GVqGBH.amd.js.map +0 -1
- package/.chunks/utils-DIy2mbYd.amd.js +0 -2
- package/.chunks/utils-DIy2mbYd.amd.js.map +0 -1
- package/.chunks/utils-bjr7c5my.es.js +0 -225
- package/.chunks/utils-bjr7c5my.es.js.map +0 -1
- package/CHANGELOG.md +0 -14
- package/components/charts/charts.d.ts +0 -5
- package/components/charts/miniChart/stories/dummy.d.ts +0 -13
- package/components/charts/miniCharts/stories/dummy.d.ts +0 -6
- package/components/dialog/dialog/stories/autoload.d.ts +0 -2
- package/components/dialog/lib/utils.d.ts +0 -14
- package/components/forms/forms.d.ts +0 -27
- package/components/forms/helpers.d.ts +0 -10
- package/components/forms/input/input.d.ts +0 -34
- package/components/forms/inputDate/inputDate.d.ts +0 -3
- package/components/forms/select/stories/exampleOptions.d.ts +0 -5
- package/components/formsExt/formsExt.d.ts +0 -13
- package/components/formsExt/menu/stories/items.d.ts +0 -3
- package/components/formsExt/navigationMenu/navigationMenu.d.ts +0 -24
- package/components/formsExt/navigationMenu/stories/items.d.ts +0 -3
- package/components/formsExt/selector2/api.d.ts +0 -8
- package/components/formsExt/selector2/selector2.vue.d.ts +0 -210
- package/components/formsExt/selector2/stories/dummyAPIRequest.d.ts +0 -10
- package/components/layout/layout.d.ts +0 -9
- package/components/popup/alert/alert.d.ts +0 -8
- package/components/popup/alert/alert.vue.d.ts +0 -31
- package/components/popup/confirm/confirm.vue.d.ts +0 -33
- package/components/popup/popup/opener.vue.d.ts +0 -23
- package/components/popup/popup/popup.vue.d.ts +0 -40
- package/components/popup/popup.d.ts +0 -15
- package/components/popup/prompt/prompt.vue.d.ts +0 -33
- package/components/project/project.d.ts +0 -15
- package/components/project/selectorCompetitors/stories/items.d.ts +0 -3
- package/components/project/selectorCompetitors/types/competitor.d.ts +0 -7
- package/components/project/selectorRegion/stories/searchers.d.ts +0 -3
- package/components/project/selectorRegion/utils/consts.d.ts +0 -18
- package/components/tabs/tabs.d.ts +0 -7
- package/components/tabsView/tabsView/store.d.ts +0 -192
- package/components/tabsView/tabsView.d.ts +0 -7
- package/icomoon/Topvisor icons.json +0 -6260
- /package/assets/{popup.css → widgetInput.css} +0 -0
- /package/{components/charts/miniChart/miniChart.d.ts → src/components/charts/miniChart/types.d.ts} +0 -0
- /package/{components → src/components}/charts/miniChart/utils/consts.d.ts +0 -0
- /package/{components → src/components}/core/notice/item/item.vue.d.ts +0 -0
- /package/{components → src/components}/core/notice/notice.vue.d.ts +0 -0
- /package/{components → src/components}/core/notice/types.d.ts +0 -0
- /package/{components → src/components}/core/notice/utils.d.ts +0 -0
- /package/{components → src/components}/dialog/dialog/composables/asyncDialogHandle.d.ts +0 -0
- /package/{components → src/components}/dialog/dialog/composables/dialogHandle.d.ts +0 -0
- /package/{components → src/components}/dialog/dialog/composables/types.d.ts +0 -0
- /package/{components → src/components}/dialog/dialog/composables/utils.d.ts +0 -0
- /package/{components → src/components}/dialog/dialog/dialog.vue.d.ts +0 -0
- /package/{components → src/components}/dialog/dialog/page/page.vue.d.ts +0 -0
- /package/{components → src/components}/dialog/dialog/pageComponent/pageComponent.vue.d.ts +0 -0
- /package/{components → src/components}/dialog/dialog/pageComponent/types.d.ts +0 -0
- /package/{components → src/components}/dialog/dialog/stories/dialog_example/pages/utils.d.ts +0 -0
- /package/{components → src/components}/dialog/dialog/types.d.ts +0 -0
- /package/{components → src/components}/dialog/dialog.d.ts +0 -0
- /package/{components/forms/checkbox/checkbox.d.ts → src/components/forms/checkbox/types.d.ts} +0 -0
- /package/{components/forms/controlLabel/controlLabel.d.ts → src/components/forms/controlLabel/types.d.ts} +0 -0
- /package/{components/forms/hint/hint.d.ts → src/components/forms/hint/types.d.ts} +0 -0
- /package/{components → src/components}/forms/inputDate/datepicker.d.ts +0 -0
- /package/{components → src/components}/forms/inputRange/inputRange.vue.d.ts +0 -0
- /package/{components/layout/islandRows/islandRowsRow → src/components/forms/inputRange}/types.d.ts +0 -0
- /package/{components → src/components}/forms/loadbar/loadbar.vue.d.ts +0 -0
- /package/{components/project/tagSelector/tagIcon/tagIcon.vue.d.ts → src/components/forms/preloader/preloader.vue.d.ts} +0 -0
- /package/{components/forms/radio/radio.d.ts → src/components/forms/radio/types.d.ts} +0 -0
- /package/{components/forms/switcher/switcher.d.ts → src/components/forms/switcher/types.d.ts} +0 -0
- /package/{components → src/components}/formsExt/info/info.vue.d.ts +0 -0
- /package/{components/formsExt/menu/menu.d.ts → src/components/formsExt/menu/types.d.ts} +0 -0
- /package/{components → src/components}/layout/islandRows/islandRows.vue.d.ts +0 -0
- /package/{components → src/components}/layout/islandRows/islandRowsRow/islandRowsRow.vue.d.ts +0 -0
- /package/{components/forms/inputRange/inputRange.d.ts → src/components/layout/islandRows/islandRowsRow/types.d.ts} +0 -0
- /package/{components → src/components}/layout/islandRows/islandRowsSubTitle/islandRowsSubTitle.vue.d.ts +0 -0
- /package/{components → src/components}/layout/rows/rows.vue.d.ts +0 -0
- /package/{components → src/components}/layout/rows/types.d.ts +0 -0
- /package/{components → src/components}/popup/lib/worker.globalEvents.d.ts +0 -0
- /package/{components → src/components}/popup/worker.d.ts +0 -0
- /package/{components → src/components}/project/tagSelector/popupListItem/tagPopupListItem.vue.d.ts +0 -0
- /package/{components → src/components}/project/tagSelector/popupListItem/types.d.ts +0 -0
- /package/{components → src/components}/project/tagSelector/popupOpener/popupOpener.vue.d.ts +0 -0
- /package/{components → src/components}/project/tagSelector/tagIcon/types.d.ts +0 -0
- /package/{components → src/components}/project/tagSelector/tagSelector.vue.d.ts +0 -0
- /package/{components → src/components}/project/tagSelector/tagsDefaults.d.ts +0 -0
- /package/{components → src/components}/project/tagSelector/utils/utils.d.ts +0 -0
- /package/{components/tabs/tabs/tabs.d.ts → src/components/tabs/tabs/types.d.ts} +0 -0
- /package/{components → src/components}/tabsView/tabsView/menuDelimeter.vue.d.ts +0 -0
- /package/{components → src/components}/tabsView/tabsView/utils.d.ts +0 -0
- /package/{core → src/core}/core/events/resize.d.ts +0 -0
- /package/{core → src/core}/core/events.d.ts +0 -0
- /package/{core → src/core}/core/preloaders.d.ts +0 -0
- /package/{core → src/core}/directives/data.d.ts +0 -0
- /package/{core → src/core}/directives/focus.d.ts +0 -0
- /package/{core → src/core}/directives/scrollIntoView.d.ts +0 -0
- /package/{core → src/core}/directives/scrollShadow.d.ts +0 -0
- /package/{core → src/core}/directives/sticky.d.ts +0 -0
- /package/{core → src/core}/directives/swimUp.d.ts +0 -0
- /package/{core → src/core}/directives/tooltip.d.ts +0 -0
- /package/{core → src/core}/plugins/piniaTPA.d.ts +0 -0
- /package/{core → src/core}/utils/check.d.ts +0 -0
- /package/{core → src/core}/utils/clipboard.d.ts +0 -0
- /package/{core → src/core}/utils/device.d.ts +0 -0
- /package/{core → src/core}/utils/image.d.ts +0 -0
- /package/{core → src/core}/utils/keyboard.d.ts +0 -0
- /package/{core → src/core}/utils/lodash.d.ts +0 -0
- /package/{core → src/core}/utils/number.d.ts +0 -0
- /package/{core → src/core}/utils/price.d.ts +0 -0
- /package/{core → src/core}/utils/scroll.d.ts +0 -0
- /package/{core → src/core}/utils/store/localStorage.d.ts +0 -0
- /package/{core → src/core}/utils/store/plugin.d.ts +0 -0
- /package/{core → src/core}/utils/store/store.d.ts +0 -0
- /package/{core → src/core}/utils/system.d.ts +0 -0
- /package/{core → src/core}/utils/url.d.ts +0 -0
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { Props } from './types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
declare const _default: DefineComponent<Partial<Props>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Partial<Props>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
3
|
+
declare const _default: DefineComponent<Partial<Props>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Partial<Props>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
4
|
+
elRegions: HTMLDivElement;
|
|
5
|
+
}, HTMLDivElement>;
|
|
4
6
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Props, Region, SearcherIndexed, Searcher } from './
|
|
1
|
+
import { Props, Region, SearcherIndexed, Searcher } from './types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
type __VLS_Props = Props;
|
|
4
4
|
type __VLS_PublicProps = {
|
|
@@ -38,6 +38,8 @@ export interface Props {
|
|
|
38
38
|
forFrequency?: boolean;
|
|
39
39
|
/**
|
|
40
40
|
* Добавить элемент `Автовыбор` с ключем `-2`, который в API заменяется на нужный ключ в зависимости от контекста
|
|
41
|
+
*
|
|
42
|
+
* Обратите внимание, что значение `-2` также используется для ключа ПС и индекса Региона не настроенных в проекте
|
|
41
43
|
*/
|
|
42
44
|
autoRegion?: boolean;
|
|
43
45
|
/**
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Region, SearcherIndexed } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Ключ ПС - для выбора нескольких ПС или регионов
|
|
4
|
+
*/
|
|
5
|
+
export declare const searhcerCompareKey = -1;
|
|
6
|
+
/**
|
|
7
|
+
* Ключ ПС или индекса Региона, используется для ПС или Региона, не настроенных в проекте
|
|
8
|
+
*
|
|
9
|
+
* Также, используется для API с возможностью не указывать регион, см. `props.autoRegion`
|
|
10
|
+
*/
|
|
11
|
+
export declare const dummyIndex = -2;
|
|
12
|
+
/**
|
|
13
|
+
* Регион - без региона
|
|
14
|
+
*/
|
|
15
|
+
export declare const globalRegionIndex = -1;
|
|
16
|
+
export declare const searchersNames: {
|
|
17
|
+
0: string;
|
|
18
|
+
1: string;
|
|
19
|
+
4: string;
|
|
20
|
+
5: string;
|
|
21
|
+
7: string;
|
|
22
|
+
8: string;
|
|
23
|
+
9: string;
|
|
24
|
+
20: string;
|
|
25
|
+
21: string;
|
|
26
|
+
};
|
|
27
|
+
export declare const regionUndefined: Region;
|
|
28
|
+
export declare const searcherUndefined: SearcherIndexed;
|
|
29
|
+
export declare const getRegionAuto: () => Region;
|
|
30
|
+
export declare const getSearcherAuto: () => SearcherIndexed;
|
|
31
|
+
export declare const getRegionGlobal: () => Region;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Region, Searcher, SearcherByKey } from '../
|
|
1
|
+
import { Region, Searcher, SearcherByKey } from '../types';
|
|
2
2
|
import { AsyncTopDialogHandle } from '../../../dialog/dialog/composables/asyncDialogHandle';
|
|
3
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
4
|
import { Props } from '../dialog_selectorRegions/types';
|
|
@@ -29,4 +29,6 @@ export declare const findRegion: (forFrequency: boolean, searchRegion: Partial<R
|
|
|
29
29
|
*
|
|
30
30
|
* @see import('../dialog_selectorRegions/types').Props
|
|
31
31
|
*/
|
|
32
|
-
export declare const dialogSelectorRegions: AsyncTopDialogHandle<DefineComponent<Partial< Props>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Partial< Props>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
32
|
+
export declare const dialogSelectorRegions: AsyncTopDialogHandle<DefineComponent<Partial< Props>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Partial< Props>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
33
|
+
elRegions: HTMLDivElement;
|
|
34
|
+
}, HTMLDivElement>>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ModelRef, Ref } from 'vue';
|
|
2
2
|
import { Props as TagSelectorProps, Tag } from '../types';
|
|
3
|
+
import { Styling } from '../../../forms/button/types';
|
|
3
4
|
export type TagSelectorTarget = {
|
|
4
5
|
model: ModelRef<TagSelectorProps['modelValue']> | Ref<TagSelectorProps['modelValue']>;
|
|
5
6
|
mode: Props['mode'];
|
|
@@ -59,4 +60,5 @@ export interface Props {
|
|
|
59
60
|
* Полезная нагрузка, при редактировании целевого объекта
|
|
60
61
|
*/
|
|
61
62
|
payload?: Record<string, any>;
|
|
63
|
+
styling?: Styling;
|
|
62
64
|
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Props } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
4
|
+
export default _default;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { components as componentsTagId } from 'topvisor-openapi/src/ts/Tags_2/Types/TagId';
|
|
2
|
+
import { Styling } from '../../forms/button/types';
|
|
2
3
|
/**
|
|
3
4
|
* Информация о теге
|
|
4
5
|
*/
|
|
@@ -89,6 +90,7 @@ export interface Props {
|
|
|
89
90
|
* Не рекомендуется менять
|
|
90
91
|
*/
|
|
91
92
|
emitDelay?: number;
|
|
93
|
+
styling?: Styling;
|
|
92
94
|
}
|
|
93
95
|
export type FiltersAction = 'add' | 'replace' | 'delete';
|
|
94
96
|
export type Emits = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
-
import { OpenerProps as PopupOpenerProps } from '../../../popup/popup/
|
|
2
|
+
import { OpenerProps as PopupOpenerProps } from '../../../popup/popup/types';
|
|
3
3
|
import { Props as TagSelectorOpenerProps } from '../popupOpener/types';
|
|
4
4
|
/**
|
|
5
5
|
* Сгенерировтаь элемент для открытия popup с выбором тегов
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { InjectionKey, ModelRef, UnwrapNestedRefs } from 'vue';
|
|
2
|
+
import { Store as DefineStore } from '../../../core/utils/store';
|
|
3
|
+
import { Props, Store } from './types';
|
|
4
|
+
export declare const injectionKey: InjectionKey<Store>;
|
|
5
|
+
/**
|
|
6
|
+
* Инициировать Store компонента
|
|
7
|
+
*/
|
|
8
|
+
export declare const defineTabsStore: (props: Props, model: ModelRef<string | undefined>) => UnwrapNestedRefs<Store> & DefineStore;
|
|
9
|
+
/**
|
|
10
|
+
* Получить Store компонента
|
|
11
|
+
*/
|
|
12
|
+
export declare const useTabsStore: () => Store & DefineStore;
|
package/{components/tabsView/tabsView/tabsView.d.ts → src/components/tabsView/tabsView/types.d.ts}
RENAMED
|
@@ -60,13 +60,13 @@ export interface PropsMenu {
|
|
|
60
60
|
*/
|
|
61
61
|
isShortable: Props['isShortable'];
|
|
62
62
|
/**
|
|
63
|
-
* Флаг загрузки
|
|
63
|
+
* Флаг загрузки компонента вкладки.
|
|
64
64
|
*/
|
|
65
65
|
isLoading: boolean;
|
|
66
66
|
}
|
|
67
67
|
export interface PropsMenuItem {
|
|
68
68
|
/**
|
|
69
|
-
*
|
|
69
|
+
* Уникальное имя вкладки, указывать, только если кнопка должна менять выбранную вкладку
|
|
70
70
|
*/
|
|
71
71
|
name?: Props['modelValue'];
|
|
72
72
|
/**
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as Core } from './core/core';
|
|
2
|
+
import { default as corePlugin } from './plugins/core';
|
|
3
|
+
import { Lang, default as i18nPlugin, useI18n, useI18nLang } from './plugins/i18n';
|
|
4
|
+
import { default as piniaTPAPlugin } from './plugins/piniaTPA';
|
|
5
|
+
export { Core, useI18n, useI18nLang, corePlugin, i18nPlugin, piniaTPAPlugin, };
|
|
6
|
+
export { useAsyncTopDialog, useTopDialog } from '../components/dialog/dialog/composables/utils';
|
|
7
|
+
export { TopDialogWorker } from '../components/dialog/lib/worker';
|
|
8
|
+
export type { Lang, };
|
|
@@ -11,7 +11,7 @@ export default class Core {
|
|
|
11
11
|
documentClassModificators: Map<string | number, string> & Omit<Map<string | number, string>, keyof Map<any, any>>;
|
|
12
12
|
dateFormat: string;
|
|
13
13
|
currency: "USD" | "RUB" | "EUR";
|
|
14
|
-
|
|
14
|
+
timezoneOffset: number;
|
|
15
15
|
isMobile: boolean;
|
|
16
16
|
isMobileUA: boolean;
|
|
17
17
|
isRetina: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Конфигурация UI
|
|
3
3
|
*
|
|
4
|
-
* Начальные значений
|
|
4
|
+
* Начальные значений устанавливаются при подключении Core во Vue приложение через app.use(PluginCore, options)
|
|
5
5
|
*/
|
|
6
6
|
declare const _default: {
|
|
7
7
|
/**
|
|
@@ -17,7 +17,7 @@ declare const _default: {
|
|
|
17
17
|
/**
|
|
18
18
|
* CSS-классы модификаторы для документа страницы
|
|
19
19
|
*
|
|
20
|
-
* Могут
|
|
20
|
+
* Могут использоваться компонентами для включения необходимых режимов отображения страницы
|
|
21
21
|
*
|
|
22
22
|
* Разные компоненты могут добавлять один и тот же класс, чтобы не было конфликтов каждый компонент управляет только своим классом:
|
|
23
23
|
* - Ключ - уникальное имя компонента, например в setup: `const uid = Math.random();`
|
|
@@ -31,16 +31,17 @@ declare const _default: {
|
|
|
31
31
|
*/
|
|
32
32
|
widthForMobile: number;
|
|
33
33
|
/**
|
|
34
|
-
* Формат даты, который будет
|
|
34
|
+
* Формат даты, который будет использоваться по умолчанию для вывода даты, как правило, зависит от текущего пользователя
|
|
35
35
|
*/
|
|
36
36
|
dateFormat: string;
|
|
37
37
|
/**
|
|
38
|
-
* Валюта, которая будет
|
|
38
|
+
* Валюта, которая будет использоваться по умолчанию, как правило, зависит от текущего пользователя
|
|
39
39
|
*/
|
|
40
40
|
currency: "RUB" | "USD" | "EUR";
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* Смещение timezone относительно UTC в минутах
|
|
43
|
+
* Для Москвы: -180
|
|
43
44
|
*/
|
|
44
|
-
|
|
45
|
+
timezoneOffset: number;
|
|
45
46
|
};
|
|
46
47
|
export default _default;
|
|
@@ -11,7 +11,7 @@ declare const TopNotice: DefineComponent<Props, {}, {}, {}, {}, ComponentOptions
|
|
|
11
11
|
declare global {
|
|
12
12
|
const vd: typeof console.log;
|
|
13
13
|
}
|
|
14
|
-
declare module 'vue' {
|
|
14
|
+
declare module '@vue/runtime-core' {
|
|
15
15
|
interface ComponentCustomProperties {
|
|
16
16
|
/**
|
|
17
17
|
* Статический класс с текущим состоянимем UI
|
|
@@ -42,7 +42,7 @@ declare module 'vue' {
|
|
|
42
42
|
TopDialogs: typeof TopDialogs;
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
type CoreOptions = PartialBy<typeof coreDefaultOptions, '
|
|
45
|
+
type CoreOptions = PartialBy<typeof coreDefaultOptions, 'timezoneOffset' | 'documentClassModificators'>;
|
|
46
46
|
type Options = CoreOptions & {
|
|
47
47
|
topPopupOptions?: TopPopupOptions;
|
|
48
48
|
topDialogOptions?: TopDialogOptions;
|
|
@@ -27,8 +27,8 @@ type Options = {
|
|
|
27
27
|
* ```
|
|
28
28
|
*/
|
|
29
29
|
type I18n = Reactive<Options['i18n']>;
|
|
30
|
-
type
|
|
31
|
-
declare module 'vue' {
|
|
30
|
+
type I18nRender = <T extends keyof I18n>(categoryName: T, key: keyof I18n[T], props: Record<string, number | string>) => string;
|
|
31
|
+
declare module '@vue/runtime-core' {
|
|
32
32
|
interface ComponentCustomProperties {
|
|
33
33
|
/**
|
|
34
34
|
* Загруженные словари
|
|
@@ -36,9 +36,9 @@ declare module 'vue' {
|
|
|
36
36
|
* Можно использовать как функцию для подстановки значений в формате: `Текст {{ propName }}`
|
|
37
37
|
*
|
|
38
38
|
* @see I18n
|
|
39
|
-
* @see
|
|
39
|
+
* @see I18nRender
|
|
40
40
|
*/
|
|
41
|
-
$i18n: I18n &
|
|
41
|
+
$i18n: I18n & I18nRender;
|
|
42
42
|
/**
|
|
43
43
|
* Текущий язык
|
|
44
44
|
*/
|
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
* Работа с датами
|
|
3
3
|
* @packageDocumentation
|
|
4
4
|
*/
|
|
5
|
+
/**
|
|
6
|
+
* Уровень детализации времени
|
|
7
|
+
*
|
|
8
|
+
* - 0: только дата
|
|
9
|
+
* - 1: дата и часы
|
|
10
|
+
* - 2: дата и часы с минутами
|
|
11
|
+
* - 3: дата и часы с минутами и секундами
|
|
12
|
+
*/
|
|
13
|
+
type Time = 0 | 1 | 2 | 3;
|
|
5
14
|
/**
|
|
6
15
|
* Получить день недели
|
|
7
16
|
*/
|
|
@@ -10,26 +19,32 @@ export declare const getDayOfWeek: (y: number, m: number, d: number) => string;
|
|
|
10
19
|
* Преобразовать дату в строку формата Y-m-d H:i:s
|
|
11
20
|
* @param dateObject - объект Date
|
|
12
21
|
* @param langFormat - если true, формат даты будет взят из Core.state.dateFormat
|
|
13
|
-
* @param timeFormat -
|
|
22
|
+
* @param timeFormat - уровень детализации времени
|
|
14
23
|
*/
|
|
15
|
-
export declare const dateToString: (dateObject: Date, langFormat?: boolean, timeFormat?:
|
|
24
|
+
export declare const dateToString: (dateObject: Date, langFormat?: boolean, timeFormat?: Time) => string;
|
|
16
25
|
/**
|
|
17
26
|
* Получить объект Date из строки
|
|
18
27
|
* @param date - строка с датой
|
|
19
28
|
*/
|
|
20
29
|
export declare function stringToDate(date: string): Date;
|
|
30
|
+
/**
|
|
31
|
+
* Генерация даты-строки из миллисекунд (UTC), в формате Y-m-d H:i:s с учётом часового пояса пользователя
|
|
32
|
+
*
|
|
33
|
+
* Для настройки часового пояса пользователя используется `Core.state.timezoneOffset`
|
|
34
|
+
*
|
|
35
|
+
* @see genDate()
|
|
36
|
+
*/
|
|
37
|
+
export declare const genUserDate: (timestamp?: number, useFormat?: boolean, time?: Time | "auto") => string;
|
|
21
38
|
/**
|
|
22
39
|
* Генерация даты-строки из миллисекунд (UTC), в формате Y-m-d H:i:s
|
|
23
40
|
* @param timestamp - дата в мс, если не передана, берется дата на момент вызова функции
|
|
24
41
|
* @param useFormat - если true, формат даты будет взят из Core.state.dateFormat
|
|
25
|
-
* @param time
|
|
26
|
-
* -
|
|
27
|
-
* -
|
|
28
|
-
*
|
|
29
|
-
* - 3: дата и часы с минутами и секундами
|
|
30
|
-
* - auto: часы и минуты будут выводиться только, если они не равны нулю
|
|
42
|
+
* @param time - уровень детализации времени
|
|
43
|
+
* - auto: часы и минуты будут выводиться, только если они не равны нулю
|
|
44
|
+
* @param timezoneOffset - смещение часового пояса от UTC в минутах.
|
|
45
|
+
* Если не указано используется локальный часовой пояс пользователя
|
|
31
46
|
*/
|
|
32
|
-
export declare function genDate(timestamp
|
|
47
|
+
export declare function genDate(timestamp?: number, useFormat?: boolean, time?: Time | 'auto', timezoneOffset?: number): string;
|
|
33
48
|
/**
|
|
34
49
|
* Генерация даты-строки (время московское) из миллисекунд (UTC), в формате Y-m-d H:i:s
|
|
35
50
|
* @param ms - дата в мс, если не передана, берется дата на момент вызова функции
|
|
@@ -39,14 +54,17 @@ export declare function genDateMoscow(ms: number | undefined, useFormat?: boolea
|
|
|
39
54
|
/**
|
|
40
55
|
* Перевод даты в формат пользователя
|
|
41
56
|
* @param dateMixed - объект даты или строка в формате Y-m-d H:i:s
|
|
42
|
-
* @param time -
|
|
43
|
-
* @param dateFormat -
|
|
57
|
+
* @param time - уровень детализации времени
|
|
58
|
+
* @param dateFormat - формат даты, если не указан, будет взят из Core.state.dateFormat
|
|
44
59
|
* @param emptyValue - значение, которое надо вернуть, если дата не указана
|
|
60
|
+
*
|
|
61
|
+
* @todo Привести к единой логике обработку строк и дат
|
|
45
62
|
*/
|
|
46
|
-
export declare function dateFormat(dateMixed: string | Date, time?:
|
|
63
|
+
export declare function dateFormat(dateMixed: string | Date, time?: Time, dateFormat?: string, emptyValue?: string): string;
|
|
47
64
|
/**
|
|
48
65
|
* Перевод даты из формата пользователя в системный формат Y-m-d H:i:s
|
|
49
66
|
* @param date - строка с датой
|
|
50
67
|
* @param emptyValue - значение, которое надо вернуть, если дата не указана
|
|
51
68
|
*/
|
|
52
69
|
export declare function dateUnformat(date: string, emptyValue?: string): string;
|
|
70
|
+
export {};
|
|
@@ -27,11 +27,20 @@ export declare function offset(el: HTMLElement): {
|
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
29
|
* Получить значение css свойства элемента
|
|
30
|
+
*
|
|
30
31
|
* @param el
|
|
31
32
|
* @param property - имя свойства
|
|
32
33
|
* @return - значение css стиля
|
|
33
34
|
*/
|
|
34
35
|
export declare function css(el: HTMLElement, property: string): string;
|
|
36
|
+
/**
|
|
37
|
+
* Получить значение css свойства целочисленного типа
|
|
38
|
+
*
|
|
39
|
+
* @param el
|
|
40
|
+
* @param property - имя свойства
|
|
41
|
+
* @return - значение css стиля
|
|
42
|
+
*/
|
|
43
|
+
export declare function cssNumber(el: HTMLElement, property: string): number;
|
|
35
44
|
/**
|
|
36
45
|
* Обернуть элемент и вернуть только что созданный элемент
|
|
37
46
|
* @param el - элемент, который требуется обернуть
|
|
@@ -61,7 +70,7 @@ export declare function querySelectorAllVisible(el: HTMLElement | Document, sele
|
|
|
61
70
|
* @param el - корневой элемент поиска
|
|
62
71
|
* @param selectors - см. параметр selectors в Document.querySelectorAll()
|
|
63
72
|
*/
|
|
64
|
-
export declare function querySelectorAllArray(el: HTMLElement | Document, selectors: string):
|
|
73
|
+
export declare function querySelectorAllArray<El extends HTMLElement = HTMLElement>(el: HTMLElement | Document, selectors: string): El[];
|
|
65
74
|
/**
|
|
66
75
|
* Хранилище данных элемента
|
|
67
76
|
* @param el
|
|
@@ -83,6 +92,7 @@ declare const _default: {
|
|
|
83
92
|
isVisible: typeof isVisible;
|
|
84
93
|
offset: typeof offset;
|
|
85
94
|
css: typeof css;
|
|
95
|
+
cssNumber: typeof cssNumber;
|
|
86
96
|
wrap: typeof wrap;
|
|
87
97
|
querySelectorVisible: typeof querySelectorVisible;
|
|
88
98
|
querySelectorVisibleLast: typeof querySelectorVisibleLast;
|
|
@@ -28,6 +28,6 @@ export declare const setHashs: (data: Map<string, string> | object | any, replac
|
|
|
28
28
|
* @see history.replaceState
|
|
29
29
|
* @see history.pushState
|
|
30
30
|
*
|
|
31
|
-
* @todo
|
|
31
|
+
* @todo Объединить с historyPushState() из @/component/vue/app/spa
|
|
32
32
|
*/
|
|
33
33
|
export declare const historySetState: (replace: boolean | undefined, hash: string) => void;
|
|
@@ -19,7 +19,7 @@ export declare const searchersNames: {
|
|
|
19
19
|
* Получить иконку ПС
|
|
20
20
|
* @param searcherKey - цифра или строка с цифрой обозначающая ПС. Если null вернется иконка с глобусом
|
|
21
21
|
*/
|
|
22
|
-
export declare const getSearcherGIcon: (searcherKey: number | string |
|
|
22
|
+
export declare const getSearcherGIcon: (searcherKey: number | string | undefined) => string;
|
|
23
23
|
/**
|
|
24
24
|
* Получить иконку устройства (ПК, планшет, смартфон)
|
|
25
25
|
*/
|
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
* Работа со строками
|
|
3
3
|
* @packageDocumentation
|
|
4
4
|
*/
|
|
5
|
+
export declare const REGEXP_START_SYMBOL_ICON: RegExp;
|
|
6
|
+
/**
|
|
7
|
+
* Извлекает иконку и оставшийся контент из строки
|
|
8
|
+
*
|
|
9
|
+
* Возвращает объект со свойствами:
|
|
10
|
+
* - `icon`: содержит символ иконки, если он присутствует, иначе `null`
|
|
11
|
+
* - `content`: содержит оставшийся текст без символа иконки, если он был извлечен, или всю строку
|
|
12
|
+
*/
|
|
13
|
+
export declare const extractIconAndContent: (content: string) => {
|
|
14
|
+
icon: string | null;
|
|
15
|
+
content: string;
|
|
16
|
+
};
|
|
5
17
|
/**
|
|
6
18
|
* Сгенерировать числовой хэш от строки для идентификатора
|
|
7
19
|
*/
|
|
@@ -26,7 +38,7 @@ export declare const nl2br: (str: string) => string;
|
|
|
26
38
|
* @param dimension - размерность, по умолчанию 1000
|
|
27
39
|
* @param suffix - суффикс к десятичной приставке (по умолчанию выводится латинская заглавная буква)
|
|
28
40
|
*/
|
|
29
|
-
export declare const numberWithWord: (number: number, precision?: number, dimension?: number, suffix?: string) => string;
|
|
41
|
+
export declare const numberWithWord: (number: number | string, precision?: number, dimension?: number, suffix?: string) => string;
|
|
30
42
|
/**
|
|
31
43
|
* Обрезать текст под три точки
|
|
32
44
|
* @param string
|
package/tabs/tabs.amd.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
define(["require","exports","vue","../require/css.amd!../assets/tabs.css"],function(
|
|
1
|
+
define(["require","exports","vue","../require/css.amd!../assets/tabs.css"],(function(b,s,e){"use strict";if(typeof e>"u")var e=window.Vue;const n={class:e.normalizeClass({"top-tabs":!0})},l={key:0,class:"top-tabs_header"},r={class:"top-tabs_contents"},d=e.defineComponent({__name:"tabs",props:{id:{}},setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock("div",n,[e.renderSlot(t.$slots,"buttons"),t.$slots.header?(e.openBlock(),e.createElementBlock("div",l,[e.renderSlot(t.$slots,"header")])):e.createCommentVNode("",!0),e.createElementVNode("div",r,[e.renderSlot(t.$slots,"contents")])]))}}),i=["id","name","value","checked","disabled"],c=["for"],p=e.defineComponent({__name:"tab",props:{tabsId:{},name:{},title:{},active:{type:Boolean},disabled:{type:Boolean}},setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("input",{type:"radio",class:"top-tabs_tabInput top-unvisible",id:t.tabsId+t.name,name:t.tabsId,value:t.name,checked:t.active,disabled:t.disabled},null,8,i),e.createElementVNode("label",{class:e.normalizeClass({"top-tabs_tabLabel":!0,"top-forms-focusable":!0,"top-disabled":t.disabled}),for:t.tabsId+t.name},[e.renderSlot(t.$slots,"default")],10,c)],64))}}),u=["data-tabs-name"],m=e.defineComponent({__name:"content",props:{name:{}},setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass({"top-tabs_content":!0}),"data-tabs-name":t.name},[e.renderSlot(t.$slots,"default")],8,u))}});s.TopTabs=d,s.TopTabsContent=m,s.TopTabsTab=p,Object.defineProperty(s,Symbol.toStringTag,{value:"Module"})}));
|
|
2
2
|
//# sourceMappingURL=tabs.amd.js.map
|
package/tabs/tabs.amd.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabs.amd.js","sources":["../../src/components/tabs/tabs.
|
|
1
|
+
{"version":3,"file":"tabs.amd.js","sources":["../../src/components/tabs/tabs/tabs.vue","../../src/components/tabs/tabs/tab.vue","../../src/components/tabs/tabs/content.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport type { Props } from './types';\n\ndefineProps<Props>();\n</script>\n\n<template>\n\t<div\n\t\t:class=\"{\n\t\t\t'top-tabs': true,\n\t\t}\"\n\t>\n\t\t<!-- @slot Кнопки вкладок, ожидает передачу компонентов TabTitle -->\n\t\t<slot name=\"buttons\"></slot>\n\n\t\t<div v-if=\"$slots.header\" class=\"top-tabs_header\">\n\t\t\t<!-- @slot Слот с проивзольным содержимым, которое будет добавлено справа от вкладок -->\n\t\t\t<slot name=\"header\"></slot>\n\t\t</div>\n\n\t\t<div class=\"top-tabs_contents\">\n\t\t\t<!-- @slot Контент вкладок, ожидает передачу компонентов TabContent -->\n\t\t\t<slot name=\"contents\"></slot>\n\t\t</div>\n\t</div>\n</template>\n\n<style>\n.top-tabs {\n\tbackground: var(--color-layout-front-1);\n\tborder-radius: 8px;\n\tborder: 1px solid var(--color-line-2-opacity);\n\tpadding: 0;\n\tdisplay: flex;\n\tflex-wrap: wrap;\n\talign-items: stretch;\n}\n\n.top-tabs_header {\n\tpadding: 6px;\n\tmargin-left: auto;\n\tdisplay: flex;\n\talign-items: center;\n\tgap: 8px;\n\tflex-wrap: wrap;\n}\n\n/* Содержимое вкладок */\n.top-tabs_contents {\n\tborder-top: 1px solid var(--color-line-2-opacity);\n\twidth: 100%;\n\tmargin-top: -1px;\n}\n\n/* Состояние открытости вкладок */\n.top-tabs_tabInput:checked:nth-child(1) ~ .top-tabs_contents > .top-tabs_content:nth-child(1),\n.top-tabs_tabInput:checked:nth-child(3) ~ .top-tabs_contents > .top-tabs_content:nth-child(2),\n.top-tabs_tabInput:checked:nth-child(5) ~ .top-tabs_contents > .top-tabs_content:nth-child(3),\n.top-tabs_tabInput:checked:nth-child(7) ~ .top-tabs_contents > .top-tabs_content:nth-child(4),\n.top-tabs_tabInput:checked:nth-child(9) ~ .top-tabs_contents > .top-tabs_content:nth-child(5),\n.top-tabs_tabInput:checked:nth-child(11) ~ .top-tabs_contents > .top-tabs_content:nth-child(6) {\n\tdisplay: block;\n}\n</style>\n","<script setup lang=\"ts\">\nimport type { PropsTab } from './types';\n\ndefineProps<PropsTab>();\n</script>\n\n<template>\n\t<input\n\t\ttype=\"radio\"\n\t\tclass=\"top-tabs_tabInput top-unvisible\"\n\t\t:id=\"tabsId + name\"\n\t\t:name=\"tabsId\"\n\t\t:value=\"name\"\n\t\t:checked=\"active\"\n\t\t:disabled=\"disabled\"\n\t/>\n\n\t<label\n\t\t:class=\"{\n\t\t\t'top-tabs_tabLabel': true,\n\t\t\t'top-forms-focusable': true,\n\t\t\t'top-disabled': disabled,\n\t\t}\"\n\t\t:for=\"tabsId + name\"\n\t>\n\t\t<slot></slot>\n\t</label>\n</template>\n\n<style>\n.top-tabs_tabLabel {\n\tcolor: var(--color-text-1);\n\tcursor: pointer;\n\tborder-bottom: 2px solid transparent;\n\tpadding: 14px 20px;\n\tposition: relative;\n\tdisplay: flex;\n\talign-items: center;\n}\n\n.top-tabs_tabLabel:hover {\n\tborder-color: var(--color-line-2);\n}\n\n.top-tabs_tabInput:checked + .top-tabs_tabLabel {\n\tborder-color: var(--color-line-primary-1);\n\tcolor: var(--color-text-primary);\n}\n</style>\n","<script setup lang=\"ts\">\nimport type { PropsContent } from './types';\n\ndefineProps<PropsContent>();\n</script>\n\n<template>\n\t<div\n\t\t:class=\"{\n\t\t\t'top-tabs_content': true,\n\t\t}\"\n\t\t:data-tabs-name=\"name\"\n\t>\n\t\t<slot></slot>\n\t</div>\n</template>\n\n<style>\n.top-tabs_content {\n\tpadding: 14px;\n\toverflow: auto;\n\tdisplay: none;\n}\n</style>\n"],"names":["vue","_ctx","_hoisted_2$1","name","tabsId","disabled","_hoisted_1"],"mappings":"gXAwBOA,EAAA,WAAAC,EAAA,OAAA,SAAA,EAXuBA,EAAA,OAAA,QAAAD,EAAA,UAAA,EAAAA,EAAA,mBAAA,MAAAE,EAAA,CAKtBF,EAAA,WAAAC,EAAA,OAAA,QAAA,CADsB,CAAA,GAAAD,EAAA,mBAAA,GAAA,EAAA,gCAMtBA,EAAA,WAAAC,EAAA,OAAA,UAAA,qWCbQE,KAAAA,EAAAA,OACPC,MAAAA,EAAAA,KACCD,QAAAA,EAAAA,0BAEGE,EAAAA,KAAAA,EAAAA,CAAAA,iIAIgFA,CAAAA,qBAK5EF,EAAAA,sNCfP,mBAAA,4BAGSA,EAAAA,iCAEJ,EAAA,EAAAG,CAAA"}
|
package/tabs/tabs.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '../components/tabs/tabs'
|
|
1
|
+
export * from '../src/components/tabs/tabs'
|
|
2
2
|
export {}
|