@topvisor/ui 1.4.3-updateVue.0 → 1.5.0-updates.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-Dgj_YGWh.es.js +268 -0
- package/.chunks/core-Dgj_YGWh.es.js.map +1 -0
- package/.chunks/core-DzDFXOdI.amd.js +2 -0
- package/.chunks/core-DzDFXOdI.amd.js.map +1 -0
- package/.chunks/{datepicker-Dhlk31EZ.amd.js → datepicker-oa8ZwRhq.amd.js} +2 -2
- package/.chunks/{datepicker-Dhlk31EZ.amd.js.map → datepicker-oa8ZwRhq.amd.js.map} +1 -1
- package/.chunks/{datepicker-3ihHfSr7.es.js → datepicker-qToxk2nN.es.js} +2 -2
- package/.chunks/{datepicker-3ihHfSr7.es.js.map → datepicker-qToxk2nN.es.js.map} +1 -1
- package/.chunks/{dialog_regionSelectorRegions-nk70o5Ht.amd.js → dialog_regionSelectorRegions-CZ0tMVSq.amd.js} +2 -2
- package/.chunks/{dialog_regionSelectorRegions-nk70o5Ht.amd.js.map → dialog_regionSelectorRegions-CZ0tMVSq.amd.js.map} +1 -1
- package/.chunks/{dialog_regionSelectorRegions-D9ZHTNkd.es.js → dialog_regionSelectorRegions-qDW2Ejsv.es.js} +5 -5
- package/.chunks/{dialog_regionSelectorRegions-D9ZHTNkd.es.js.map → dialog_regionSelectorRegions-qDW2Ejsv.es.js.map} +1 -1
- package/.chunks/{dialogs.vue_vue_type_script_setup_true_lang-B8xv-moy.amd.js → dialogs.vue_vue_type_script_setup_true_lang-BBix_8WK.amd.js} +2 -2
- package/.chunks/{dialogs.vue_vue_type_script_setup_true_lang-B8xv-moy.amd.js.map → dialogs.vue_vue_type_script_setup_true_lang-BBix_8WK.amd.js.map} +1 -1
- package/.chunks/{dialogs.vue_vue_type_script_setup_true_lang-BI9rU5DL.es.js → dialogs.vue_vue_type_script_setup_true_lang-CJ97l1ST.es.js} +3 -3
- package/.chunks/{dialogs.vue_vue_type_script_setup_true_lang-BI9rU5DL.es.js.map → dialogs.vue_vue_type_script_setup_true_lang-CJ97l1ST.es.js.map} +1 -1
- package/.chunks/{forms-D6S85mMQ.amd.js → forms-DDNzqU6o.amd.js} +3 -3
- package/.chunks/{forms-D6S85mMQ.amd.js.map → forms-DDNzqU6o.amd.js.map} +1 -1
- package/.chunks/{forms-CsPxqywz.es.js → forms-DtC-EKJL.es.js} +217 -213
- package/.chunks/{forms-CsPxqywz.es.js.map → forms-DtC-EKJL.es.js.map} +1 -1
- package/.chunks/lazy-DDNqYkXn.amd.js +2 -0
- package/.chunks/lazy-DDNqYkXn.amd.js.map +1 -0
- package/.chunks/{lazy-40pjr8cZ.es.js → lazy-HKSyLh72.es.js} +23 -19
- package/.chunks/lazy-HKSyLh72.es.js.map +1 -0
- package/.chunks/{notice-IPOLYVCW.es.js → notice-BvQl911b.es.js} +3 -3
- package/.chunks/{notice-IPOLYVCW.es.js.map → notice-BvQl911b.es.js.map} +1 -1
- package/.chunks/{notice-CNyRUCZZ.amd.js → notice-CJ3WOTCM.amd.js} +2 -2
- package/.chunks/{notice-CNyRUCZZ.amd.js.map → notice-CJ3WOTCM.amd.js.map} +1 -1
- package/.chunks/{page.vue_vue_type_script_setup_true_lang-CRea7lRi.es.js → page.vue_vue_type_script_setup_true_lang-Dd5-B4Ss.es.js} +9 -9
- package/.chunks/{page.vue_vue_type_script_setup_true_lang-CRea7lRi.es.js.map → page.vue_vue_type_script_setup_true_lang-Dd5-B4Ss.es.js.map} +1 -1
- package/.chunks/{page.vue_vue_type_script_setup_true_lang-BEpRLx2z.amd.js → page.vue_vue_type_script_setup_true_lang-fl6-Ql4d.amd.js} +2 -2
- package/.chunks/{page.vue_vue_type_script_setup_true_lang-BEpRLx2z.amd.js.map → page.vue_vue_type_script_setup_true_lang-fl6-Ql4d.amd.js.map} +1 -1
- package/.chunks/policy.vue_vue_type_style_index_0_lang-Bv3LwNDC.es.js +519 -0
- package/.chunks/policy.vue_vue_type_style_index_0_lang-Bv3LwNDC.es.js.map +1 -0
- package/.chunks/policy.vue_vue_type_style_index_0_lang-Da7rztT5.amd.js +2 -0
- package/.chunks/policy.vue_vue_type_style_index_0_lang-Da7rztT5.amd.js.map +1 -0
- package/.chunks/{popup-DvXkX-lu.es.js → popup-OuDglAOF.es.js} +4 -4
- package/.chunks/popup-OuDglAOF.es.js.map +1 -0
- package/.chunks/{popup-BrEWCQkR.amd.js → popup-yXIpyok3.amd.js} +2 -2
- package/.chunks/popup-yXIpyok3.amd.js.map +1 -0
- package/.chunks/{popupHint.vue_vue_type_style_index_0_lang-KuWtifP4.amd.js → popupHint.vue_vue_type_style_index_0_lang-Bu_HvFoW.amd.js} +2 -2
- package/.chunks/{popupHint.vue_vue_type_style_index_0_lang-KuWtifP4.amd.js.map → popupHint.vue_vue_type_style_index_0_lang-Bu_HvFoW.amd.js.map} +1 -1
- package/.chunks/{popupHint.vue_vue_type_style_index_0_lang-TWsWJQFN.es.js → popupHint.vue_vue_type_style_index_0_lang-DAQIAxvu.es.js} +5 -5
- package/.chunks/{popupHint.vue_vue_type_style_index_0_lang-TWsWJQFN.es.js.map → popupHint.vue_vue_type_style_index_0_lang-DAQIAxvu.es.js.map} +1 -1
- package/.chunks/{utils-BywGu5Tr.es.js → utils-BNzP9anP.es.js} +2 -2
- package/.chunks/{utils-BywGu5Tr.es.js.map → utils-BNzP9anP.es.js.map} +1 -1
- package/.chunks/{utils-B0_n8dlR.amd.js → utils-CWn_G7OO.amd.js} +2 -2
- package/.chunks/{utils-B0_n8dlR.amd.js.map → utils-CWn_G7OO.amd.js.map} +1 -1
- package/.chunks/utils-DIviuVEw.amd.js +2 -0
- package/.chunks/utils-DIviuVEw.amd.js.map +1 -0
- package/.chunks/{utils-BlXb8CrZ.es.js → utils-Dma85ehT.es.js} +68 -68
- package/.chunks/utils-Dma85ehT.es.js.map +1 -0
- package/.chunks/{widgetInput.vue_vue_type_script_setup_true_lang-Pp4anQxP.es.js → widgetInput.vue_vue_type_script_setup_true_lang-CX_BOcVY.es.js} +6 -6
- package/.chunks/{widgetInput.vue_vue_type_script_setup_true_lang-Pp4anQxP.es.js.map → widgetInput.vue_vue_type_script_setup_true_lang-CX_BOcVY.es.js.map} +1 -1
- package/.chunks/{widgetInput.vue_vue_type_script_setup_true_lang-BUY8yqxb.amd.js → widgetInput.vue_vue_type_script_setup_true_lang-CkOmb3VD.amd.js} +2 -2
- package/.chunks/{widgetInput.vue_vue_type_script_setup_true_lang-BUY8yqxb.amd.js.map → widgetInput.vue_vue_type_script_setup_true_lang-CkOmb3VD.amd.js.map} +1 -1
- package/api/additional.d.ts +0 -1
- package/api/index.amd.js +1 -1
- package/api/index.d.ts +0 -1
- package/api/index.js +6 -6
- package/assets/charts.css +1 -1
- package/assets/core.css +1 -1
- package/assets/forms.css +1 -1
- package/assets/notice.css +1 -1
- package/assets/policy.css +1 -1
- package/assets/project.css +1 -1
- package/assets/tabsView.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.d.ts +0 -1
- package/charts/charts.js +14 -14
- package/core/app.amd.js +1 -1
- package/core/app.d.ts +0 -1
- package/core/app.js +15 -15
- package/dialog/dialog.amd.js +1 -1
- package/dialog/dialog.d.ts +0 -1
- package/dialog/dialog.js +6 -6
- package/extra/extra.amd.js +1 -1
- package/extra/extra.amd.js.map +1 -1
- package/extra/extra.d.ts +0 -1
- package/extra/extra.js +10 -6
- package/extra/extra.js.map +1 -1
- package/forms/forms.amd.js +1 -1
- package/forms/forms.d.ts +0 -1
- package/forms/forms.js +1 -1
- package/formsExt/formsExt.amd.js +1 -1
- package/formsExt/formsExt.amd.js.map +1 -1
- package/formsExt/formsExt.d.ts +0 -1
- package/formsExt/formsExt.js +46 -45
- package/formsExt/formsExt.js.map +1 -1
- package/icomoon/Topvisor icons.json +776 -334
- package/icomoon/demo.html +85 -1
- package/icomoon/fonts/Topvisor-2.eot +0 -0
- package/icomoon/fonts/Topvisor-2.svg +6 -0
- 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 +23 -5
- package/layout/layout.amd.js +1 -1
- package/layout/layout.d.ts +0 -1
- package/layout/layout.js +7 -7
- package/package.json +6 -6
- package/popup/popup.amd.js +1 -1
- package/popup/popup.d.ts +0 -1
- package/popup/popup.js +9 -9
- package/popup/worker.amd.js +1 -1
- package/popup/worker.d.ts +0 -1
- package/popup/worker.js +2 -2
- package/project/project.amd.js +1 -1
- package/project/project.amd.js.map +1 -1
- package/project/project.d.ts +0 -1
- package/project/project.js +1052 -662
- package/project/project.js.map +1 -1
- package/src/{components → src/components}/charts/miniCharts/miniCharts.d.ts +1 -1
- package/src/{components → src/components}/core/notice/item/types.d.ts +1 -1
- package/src/{components → src/components}/core/notice/utils.d.ts +1 -1
- package/src/{components → src/components}/dialog/dialog/composables/dialogHandle.d.ts +1 -1
- package/src/{components → src/components}/dialog/dialog/dialogs/dialogs.vue.d.ts +2 -2
- package/src/{components → src/components}/dialog/dialog/stories/dialog_example/pages/utils.d.ts +1 -1
- package/src/src/components/dialog/dialog.d.ts +6 -0
- package/src/{components → src/components}/dialog/lib/worker.d.ts +1 -1
- package/src/{components → src/components}/forms/button/types.d.ts +1 -1
- package/src/{components → src/components}/forms/input/types.d.ts +1 -1
- package/src/src/components/forms/inputDate/types.d.ts +1 -0
- package/src/{components → src/components}/forms/select/types.d.ts +1 -1
- package/src/{components → src/components}/formsExt/editArea/types.d.ts +1 -1
- package/src/{components → src/components}/formsExt/editInput/types.d.ts +6 -2
- package/src/{components → src/components}/formsExt/libs/optionGroup/types.d.ts +1 -1
- package/src/{components → src/components}/formsExt/menu/types.d.ts +1 -1
- package/src/{components → src/components}/formsExt/policy/policy.vue.d.ts +1 -1
- package/src/{components → src/components}/formsExt/selector2/composables/useAPI.d.ts +210 -124
- package/src/{components → src/components}/formsExt/selector2/composables/useMenu.d.ts +211 -125
- package/src/{components → src/components}/formsExt/selector2/selector2.vue.d.ts +8 -5
- package/src/{components → src/components}/formsExt/selector2/types.d.ts +45 -3
- package/src/{components → src/components}/formsExt/selector2/utils.d.ts +2 -0
- package/src/{components → src/components}/popup/lib/popup.d.ts +3 -3
- package/src/{components → src/components}/popup/lib/worker.d.ts +2 -2
- package/src/{components → src/components}/popup/popup/opener/types.d.ts +1 -1
- package/src/{components → src/components}/popup/popup/popup.vue.d.ts +1 -1
- package/src/{components → src/components}/popup/popup/widgetInput/widgetInput.vue.d.ts +1 -1
- package/src/{components → src/components}/popup/popupConfirm/popupConfirm.vue.d.ts +1 -1
- package/src/{components → src/components}/project/competitorSelector/composables.d.ts +1 -1
- package/src/{components → src/components}/project/competitorSelector/types.d.ts +1 -1
- package/src/{components → src/components}/project/groupSelector/folders/types.d.ts +2 -1
- package/src/src/components/project/groupSelector/folders/utils.d.ts +422 -0
- package/src/{components → src/components}/project/groupSelector/groupSelector.vue.d.ts +2 -1
- package/src/{components → src/components}/project/groupSelector/groups/groups.vue.d.ts +20 -10
- package/src/{components → src/components}/project/groupSelector/groups/types.d.ts +2 -1
- package/src/src/components/project/groupSelector/groups/utils.d.ts +791 -0
- package/src/{components → src/components}/project/groupSelector/stories/mocks/index.d.ts +1 -1
- package/src/{components → src/components}/project/groupSelector/types.d.ts +6 -0
- package/src/src/components/project/groupSelector/utils.d.ts +37 -0
- package/src/{components → src/components}/project/project.d.ts +2 -0
- package/src/src/components/project/projectSelector/cache.d.ts +29 -0
- package/src/src/components/project/projectSelector/projectSelector.vue.d.ts +128 -0
- package/src/src/components/project/projectSelector/submenu/submenu.vue.d.ts +4 -0
- package/src/src/components/project/projectSelector/submenu/types.d.ts +17 -0
- package/src/src/components/project/projectSelector/types.d.ts +48 -0
- package/src/src/components/project/projectSelector/utils.d.ts +248 -0
- package/src/{components → src/components}/project/regionSelector/composables/selectRegion.d.ts +1 -1
- package/src/{components → src/components}/project/regionSelector/composables/selectSearcher.d.ts +1 -1
- package/src/{components → src/components}/project/regionSelector/dialog_regionSelectorRegions/types.d.ts +1 -1
- package/src/{components → src/components}/project/regionSelector/types.d.ts +9 -4
- package/src/{components → src/components}/project/regionSelector/utils/utils.d.ts +5 -5
- package/src/{components → src/components}/project/tagSelector/popupOpener/types.d.ts +1 -1
- package/src/{components → src/components}/project/tagSelector/types.d.ts +1 -1
- package/src/{components → src/components}/project/tagSelector/utils/el.d.ts +1 -1
- package/src/{components → src/components}/tabsView/tabsView/menu.vue.d.ts +2 -6
- package/src/{components → src/components}/tabsView/tabsView/store.d.ts +1 -1
- package/src/{core → src/core}/app.d.ts +2 -2
- package/src/{core → src/core}/core/core.d.ts +3 -3
- package/src/{core → src/core}/directives/shortcut.d.ts +2 -1
- package/src/src/core/directives/tooltip.d.ts +6 -0
- package/src/{core → src/core}/plugins/core.d.ts +6 -6
- package/src/{core → src/core}/utils/price.d.ts +2 -2
- package/src/src/core/utils/store.d.ts +6 -0
- package/src/src/core/utils/tests/date/dateFormat.test.d.ts +1 -0
- package/tabs/tabs.d.ts +0 -1
- package/tabs/tabs.js +5 -5
- package/tabsView/tabsView.amd.js +1 -1
- package/tabsView/tabsView.amd.js.map +1 -1
- package/tabsView/tabsView.d.ts +0 -1
- package/tabsView/tabsView.js +93 -104
- package/tabsView/tabsView.js.map +1 -1
- package/utils/check.d.ts +0 -1
- package/utils/clipboard.amd.js +1 -1
- package/utils/clipboard.d.ts +0 -1
- package/utils/clipboard.js +1 -1
- package/utils/date.amd.js +1 -1
- package/utils/date.d.ts +0 -1
- package/utils/date.js +1 -1
- package/utils/device.amd.js +1 -1
- package/utils/device.d.ts +0 -1
- package/utils/device.js +1 -1
- package/utils/dom.d.ts +0 -5
- package/utils/image.d.ts +0 -1
- package/utils/keyboard.d.ts +0 -1
- package/utils/lodash.amd.js +1 -1
- package/utils/lodash.d.ts +0 -1
- package/utils/lodash.js +1 -1
- package/utils/number.d.ts +0 -1
- package/utils/price.amd.js +1 -1
- package/utils/price.d.ts +0 -1
- package/utils/price.js +1 -1
- package/utils/route.d.ts +0 -1
- package/utils/scroll.d.ts +0 -1
- package/utils/searchers.amd.js +1 -1
- package/utils/searchers.d.ts +0 -1
- package/utils/searchers.js +3 -3
- package/utils/store.d.ts +0 -1
- package/utils/string.amd.js +1 -1
- package/utils/string.d.ts +0 -1
- package/utils/string.js +1 -1
- package/utils/system.d.ts +0 -1
- package/utils/url.d.ts +0 -1
- package/.chunks/core-CkdcFIiA.amd.js +0 -2
- package/.chunks/core-CkdcFIiA.amd.js.map +0 -1
- package/.chunks/core-D8Ou2oPH.es.js +0 -242
- package/.chunks/core-D8Ou2oPH.es.js.map +0 -1
- package/.chunks/lazy-40pjr8cZ.es.js.map +0 -1
- package/.chunks/lazy-DSFLxvj4.amd.js +0 -2
- package/.chunks/lazy-DSFLxvj4.amd.js.map +0 -1
- package/.chunks/policy.vue_vue_type_style_index_0_lang-CtJ7J9YB.amd.js +0 -2
- package/.chunks/policy.vue_vue_type_style_index_0_lang-CtJ7J9YB.amd.js.map +0 -1
- package/.chunks/policy.vue_vue_type_style_index_0_lang-D-FVZi-G.es.js +0 -496
- package/.chunks/policy.vue_vue_type_style_index_0_lang-D-FVZi-G.es.js.map +0 -1
- package/.chunks/popup-BrEWCQkR.amd.js.map +0 -1
- package/.chunks/popup-DvXkX-lu.es.js.map +0 -1
- package/.chunks/utils-BlXb8CrZ.es.js.map +0 -1
- package/.chunks/utils-Daq8EBlT.amd.js +0 -2
- package/.chunks/utils-Daq8EBlT.amd.js.map +0 -1
- package/src/components/dialog/dialog.d.ts +0 -6
- package/src/components/forms/inputDate/types.d.ts +0 -1
- package/src/components/project/groupSelector/folders/utils.d.ts +0 -63
- package/src/components/project/groupSelector/groups/utils.d.ts +0 -92
- package/src/core/directives/tooltip.d.ts +0 -10
- package/src/core/utils/store.d.ts +0 -6
- /package/src/{api → src/api}/api/additional.d.ts +0 -0
- /package/src/{api → src/api}/api/client/client.d.ts +0 -0
- /package/src/{api → src/api}/api/client/request-options.d.ts +0 -0
- /package/src/{api → src/api}/api/client/request.d.ts +0 -0
- /package/src/{api → src/api}/api/index.d.ts +0 -0
- /package/src/{api → src/api}/api/mocker/index.d.ts +0 -0
- /package/src/{api → src/api}/api/tests/types.test-d.d.ts +0 -0
- /package/src/{api → src/api}/api/types/api.d.ts +0 -0
- /package/src/{api → src/api}/api/types/client/client.d.ts +0 -0
- /package/src/{api → src/api}/api/types/client/middleware.d.ts +0 -0
- /package/src/{api → src/api}/api/types/client/options.d.ts +0 -0
- /package/src/{api → src/api}/api/types/client/request-context.d.ts +0 -0
- /package/src/{api → src/api}/api/types/client/request-options.d.ts +0 -0
- /package/src/{api → src/api}/api/types/client/request.d.ts +0 -0
- /package/src/{api → src/api}/api/types/ext.d.ts +0 -0
- /package/src/{api → src/api}/api/types/field.d.ts +0 -0
- /package/src/{api → src/api}/api/types/index.d.ts +0 -0
- /package/src/{api → src/api}/api/types/mocker.d.ts +0 -0
- /package/src/{api → src/api}/api/types/schema.d.ts +0 -0
- /package/src/{api → src/api}/api/types/tv.d.ts +0 -0
- /package/src/{api → src/api}/api/types/utils.d.ts +0 -0
- /package/src/{api → src/api}/api/utils/common.d.ts +0 -0
- /package/src/{api → src/api}/api/utils/field.d.ts +0 -0
- /package/src/{api → src/api}/api/utils/filters.d.ts +0 -0
- /package/src/{api → src/api}/api/utils/lazy.d.ts +0 -0
- /package/src/{components → src/components}/charts/charts.d.ts +0 -0
- /package/src/{components → src/components}/charts/miniChart/miniChart.vue.d.ts +0 -0
- /package/src/{components → src/components}/charts/miniChart/types.d.ts +0 -0
- /package/src/{components → src/components}/charts/miniChart/utils/consts.d.ts +0 -0
- /package/src/{components → src/components}/charts/miniCharts/miniCharts.vue.d.ts +0 -0
- /package/src/{components → src/components}/core/notice/item/item.vue.d.ts +0 -0
- /package/src/{components → src/components}/core/notice/notice.vue.d.ts +0 -0
- /package/src/{components → src/components}/core/notice/types.d.ts +0 -0
- /package/src/{components → src/components}/dialog/dialog/composables/asyncDialogHandle.d.ts +0 -0
- /package/src/{components → src/components}/dialog/dialog/composables/types.d.ts +0 -0
- /package/src/{components → src/components}/dialog/dialog/composables/utils.d.ts +0 -0
- /package/src/{components → src/components}/dialog/dialog/dialog.vue.d.ts +0 -0
- /package/src/{components → src/components}/dialog/dialog/page/page.vue.d.ts +0 -0
- /package/src/{components → src/components}/dialog/dialog/page/types.d.ts +0 -0
- /package/src/{components → src/components}/dialog/dialog/pageComponent/pageComponent.vue.d.ts +0 -0
- /package/src/{components → src/components}/dialog/dialog/pageComponent/types.d.ts +0 -0
- /package/src/{components → src/components}/dialog/dialog/types.d.ts +0 -0
- /package/src/{components → src/components}/dialog/lib/types.d.ts +0 -0
- /package/src/{components → src/components}/dialog/lib/utils.d.ts +0 -0
- /package/src/{components → src/components}/dialog/lib/utils.globalEvents.d.ts +0 -0
- /package/src/{components → src/components}/extra/extra.d.ts +0 -0
- /package/src/{components → src/components}/extra/rive/rive.vue.d.ts +0 -0
- /package/src/{components → src/components}/extra/rive/types.d.ts +0 -0
- /package/src/{components → src/components}/forms/avatar/avatar.vue.d.ts +0 -0
- /package/src/{components → src/components}/forms/avatar/types.d.ts +0 -0
- /package/src/{components → src/components}/forms/button/button.vue.d.ts +0 -0
- /package/src/{components → src/components}/forms/caption/caption.vue.d.ts +0 -0
- /package/src/{components → src/components}/forms/caption/types.d.ts +0 -0
- /package/src/{components → src/components}/forms/checkbox/checkbox.vue.d.ts +0 -0
- /package/src/{components → src/components}/forms/checkbox/types.d.ts +0 -0
- /package/src/{components → src/components}/forms/controlLabel/controlLabel.vue.d.ts +0 -0
- /package/src/{components → src/components}/forms/controlLabel/types.d.ts +0 -0
- /package/src/{components → src/components}/forms/forms.d.ts +0 -0
- /package/src/{components → src/components}/forms/helpers.d.ts +0 -0
- /package/src/{components → src/components}/forms/hint/hint.vue.d.ts +0 -0
- /package/src/{components → src/components}/forms/hint/types.d.ts +0 -0
- /package/src/{components → src/components}/forms/input/input.vue.d.ts +0 -0
- /package/src/{components → src/components}/forms/inputDate/datepicker.d.ts +0 -0
- /package/src/{components → src/components}/forms/inputDate/inputDate.vue.d.ts +0 -0
- /package/src/{components → src/components}/forms/inputRange/inputRange.vue.d.ts +0 -0
- /package/src/{components → src/components}/forms/inputRange/types.d.ts +0 -0
- /package/src/{components → src/components}/forms/loadbar/loadbar.vue.d.ts +0 -0
- /package/src/{components → src/components}/forms/preloader/preloader.vue.d.ts +0 -0
- /package/src/{components → src/components}/forms/preloader/types.d.ts +0 -0
- /package/src/{components → src/components}/forms/radio/radio.vue.d.ts +0 -0
- /package/src/{components → src/components}/forms/radio/types.d.ts +0 -0
- /package/src/{components → src/components}/forms/select/select.vue.d.ts +0 -0
- /package/src/{components → src/components}/forms/switcher/switcher.vue.d.ts +0 -0
- /package/src/{components → src/components}/forms/switcher/types.d.ts +0 -0
- /package/src/{components → src/components}/forms/textarea/textarea.vue.d.ts +0 -0
- /package/src/{components → src/components}/forms/textarea/types.d.ts +0 -0
- /package/src/{components → src/components}/formsExt/checkboxGroup/checkboxGroup.vue.d.ts +0 -0
- /package/src/{components → src/components}/formsExt/checkboxGroup/types.d.ts +0 -0
- /package/src/{components → src/components}/formsExt/editArea/editArea.vue.d.ts +0 -0
- /package/src/{components → src/components}/formsExt/editInput/editInput.vue.d.ts +0 -0
- /package/src/{components → src/components}/formsExt/formsExt.d.ts +0 -0
- /package/src/{components → src/components}/formsExt/info/info.vue.d.ts +0 -0
- /package/src/{components → src/components}/formsExt/info/types.d.ts +0 -0
- /package/src/{components → src/components}/formsExt/libs/optionGroup/optionGroup.vue.d.ts +0 -0
- /package/src/{components → src/components}/formsExt/menu/menu.vue.d.ts +0 -0
- /package/src/{components → src/components}/formsExt/policy/types.d.ts +0 -0
- /package/src/{components → src/components}/formsExt/radioGroup/radioGroup.vue.d.ts +0 -0
- /package/src/{components → src/components}/formsExt/radioGroup/types.d.ts +0 -0
- /package/src/{components → src/components}/formsExt/selector2/cache.d.ts +0 -0
- /package/src/{components → src/components}/formsExt/selector2/itemMulti.vue.d.ts +0 -0
- /package/src/{components → src/components}/layout/islandRows/islandRows.vue.d.ts +0 -0
- /package/src/{components → src/components}/layout/islandRows/islandRowsRow/islandRowsRow.vue.d.ts +0 -0
- /package/src/{components → src/components}/layout/islandRows/islandRowsRow/types.d.ts +0 -0
- /package/src/{components → src/components}/layout/islandRows/islandRowsSubTitle/islandRowsSubTitle.vue.d.ts +0 -0
- /package/src/{components → src/components}/layout/islandRows/types.d.ts +0 -0
- /package/src/{components → src/components}/layout/layout.d.ts +0 -0
- /package/src/{components → src/components}/layout/rows/rows.vue.d.ts +0 -0
- /package/src/{components → src/components}/layout/rows/types.d.ts +0 -0
- /package/src/{components → src/components}/popup/lib/popup.globalEvents.d.ts +0 -0
- /package/src/{components → src/components}/popup/lib/worker.globalEvents.d.ts +0 -0
- /package/src/{components → src/components}/popup/popup/listItem.vue.d.ts +0 -0
- /package/src/{components → src/components}/popup/popup/opener/opener.vue.d.ts +0 -0
- /package/src/{components → src/components}/popup/popup/types.d.ts +0 -0
- /package/src/{components → src/components}/popup/popup.d.ts +0 -0
- /package/src/{components → src/components}/popup/popupAlert/popupAlert.vue.d.ts +0 -0
- /package/src/{components → src/components}/popup/popupAlert/types.d.ts +0 -0
- /package/src/{components → src/components}/popup/popupConfirm/types.d.ts +0 -0
- /package/src/{components → src/components}/popup/popupHint/popupHint.vue.d.ts +0 -0
- /package/src/{components → src/components}/popup/popupHint/types.d.ts +0 -0
- /package/src/{components → src/components}/popup/popupPrompt/popupPrompt.vue.d.ts +0 -0
- /package/src/{components → src/components}/popup/popupPrompt/types.d.ts +0 -0
- /package/src/{components → src/components}/popup/worker.d.ts +0 -0
- /package/src/{components → src/components}/project/competitorSelector/competitorSelector.vue.d.ts +0 -0
- /package/src/{components → src/components}/project/groupSelector/folders/folders.vue.d.ts +0 -0
- /package/src/{components → src/components}/project/groupSelector/stories/mocks/folders.d.ts +0 -0
- /package/src/{components → src/components}/project/groupSelector/stories/mocks/groups.d.ts +0 -0
- /package/src/{components → src/components}/project/regionSelector/composables/compare.d.ts +0 -0
- /package/src/{components → src/components}/project/regionSelector/composables/selectorRegion.d.ts +0 -0
- /package/src/{components → src/components}/project/regionSelector/dialog_regionSelectorRegions/dialog_regionSelectorRegions.vue.d.ts +0 -0
- /package/src/{components → src/components}/project/regionSelector/regionSelector.vue.d.ts +0 -0
- /package/src/{components → src/components}/project/regionSelector/utils/consts.d.ts +0 -0
- /package/src/{components → src/components}/project/tagSelector/popupListItem/tagPopupListItem.vue.d.ts +0 -0
- /package/src/{components → src/components}/project/tagSelector/popupListItem/types.d.ts +0 -0
- /package/src/{components → src/components}/project/tagSelector/popupOpener/popupOpener.vue.d.ts +0 -0
- /package/src/{components → src/components}/project/tagSelector/tagIcon/tagIcon.vue.d.ts +0 -0
- /package/src/{components → src/components}/project/tagSelector/tagIcon/types.d.ts +0 -0
- /package/src/{components → src/components}/project/tagSelector/tagSelector.vue.d.ts +0 -0
- /package/src/{components → src/components}/project/tagSelector/tagsDefaults.d.ts +0 -0
- /package/src/{components → src/components}/project/tagSelector/utils/utils.d.ts +0 -0
- /package/src/{components → src/components}/tabs/tabs/content.vue.d.ts +0 -0
- /package/src/{components → src/components}/tabs/tabs/tab.vue.d.ts +0 -0
- /package/src/{components → src/components}/tabs/tabs/tabs.vue.d.ts +0 -0
- /package/src/{components → src/components}/tabs/tabs/types.d.ts +0 -0
- /package/src/{components → src/components}/tabs/tabs.d.ts +0 -0
- /package/src/{components → src/components}/tabsView/tabsView/menuDelimeter.vue.d.ts +0 -0
- /package/src/{components → src/components}/tabsView/tabsView/menuItem.vue.d.ts +0 -0
- /package/src/{components → src/components}/tabsView/tabsView/menuTitle.vue.d.ts +0 -0
- /package/src/{components → src/components}/tabsView/tabsView/tabsView.vue.d.ts +0 -0
- /package/src/{components → src/components}/tabsView/tabsView/types.d.ts +0 -0
- /package/src/{components → src/components}/tabsView/tabsView/utils.d.ts +0 -0
- /package/src/{components → src/components}/tabsView/tabsView.d.ts +0 -0
- /package/src/{core → src/core}/core/events/resize.d.ts +0 -0
- /package/src/{core → src/core}/core/events.d.ts +0 -0
- /package/src/{core → src/core}/core/options.d.ts +0 -0
- /package/src/{core → src/core}/core/preloaders.d.ts +0 -0
- /package/src/{core → src/core}/core/state.d.ts +0 -0
- /package/src/{core → src/core}/directives/data.d.ts +0 -0
- /package/src/{core → src/core}/directives/focus.d.ts +0 -0
- /package/src/{core → src/core}/directives/preloader.d.ts +0 -0
- /package/src/{core → src/core}/directives/scrollIntoView.d.ts +0 -0
- /package/src/{core → src/core}/directives/scrollShadow.d.ts +0 -0
- /package/src/{core → src/core}/directives/sticky.d.ts +0 -0
- /package/src/{core → src/core}/directives/swimUp.d.ts +0 -0
- /package/src/{core → src/core}/plugins/i18n.d.ts +0 -0
- /package/src/{core → src/core}/plugins/piniaTPA.d.ts +0 -0
- /package/src/{core → src/core}/utils/check.d.ts +0 -0
- /package/src/{core → src/core}/utils/clipboard.d.ts +0 -0
- /package/src/{core → src/core}/utils/composables/useWatch.d.ts +0 -0
- /package/src/{core → src/core}/utils/date.d.ts +0 -0
- /package/src/{core → src/core}/utils/device.d.ts +0 -0
- /package/src/{core → src/core}/utils/dom.d.ts +0 -0
- /package/src/{core → src/core}/utils/image.d.ts +0 -0
- /package/src/{core → src/core}/utils/keyboard.d.ts +0 -0
- /package/src/{core → src/core}/utils/lodash.d.ts +0 -0
- /package/src/{core → src/core}/utils/number.d.ts +0 -0
- /package/src/{core → src/core}/utils/route.d.ts +0 -0
- /package/src/{core → src/core}/utils/scroll.d.ts +0 -0
- /package/src/{core → src/core}/utils/searchers.d.ts +0 -0
- /package/src/{core → src/core}/utils/store/localStorage.d.ts +0 -0
- /package/src/{core → src/core}/utils/store/plugin.d.ts +0 -0
- /package/src/{core → src/core}/utils/store/store.d.ts +0 -0
- /package/src/{core → src/core}/utils/string.d.ts +0 -0
- /package/src/{core → src/core}/utils/system.d.ts +0 -0
- /package/src/{core → src/core}/utils/url.d.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { client } from '
|
|
1
|
+
import { client } from '../../../../../../storybook/api/client';
|
|
2
2
|
import { Client } from '../../../../../api/api/client/client';
|
|
3
3
|
import { paths } from 'topvisor-openapi/src/ts/Topvisor';
|
|
4
4
|
export * from './folders';
|
|
@@ -118,6 +118,12 @@ export interface Props {
|
|
|
118
118
|
* @const
|
|
119
119
|
*/
|
|
120
120
|
client?: Api.Client<Api.TV.Paths, true>;
|
|
121
|
+
/**
|
|
122
|
+
* Сервис API клиента для выполнения запросов
|
|
123
|
+
*
|
|
124
|
+
* Используется совместно с props.client
|
|
125
|
+
*/
|
|
126
|
+
service?: 'keywords_2' | 'keywordsAi_2';
|
|
121
127
|
}
|
|
122
128
|
export type Emits = {
|
|
123
129
|
/**
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Props } from '../../../../components/project/groupSelector/groups/types';
|
|
2
|
+
import { Folder } from '../../../../components/project/groupSelector/folders/types';
|
|
3
|
+
import { ListItemProps } from '../../popup/popup/types';
|
|
4
|
+
import { ITEM_ID_ALL, ITEM_ID_NEW } from '../../formsExt/formsExt';
|
|
5
|
+
/**
|
|
6
|
+
* Генерировать отформатированную папку
|
|
7
|
+
*/
|
|
8
|
+
export declare const genFormatedFolder: (folder: Folder) => {
|
|
9
|
+
name: string;
|
|
10
|
+
path: string;
|
|
11
|
+
id: number;
|
|
12
|
+
childsIds?: number[];
|
|
13
|
+
countAllGroupsActive?: number;
|
|
14
|
+
count_folders?: number;
|
|
15
|
+
count_groups?: number;
|
|
16
|
+
count_groups_active?: number;
|
|
17
|
+
parent_id?: number;
|
|
18
|
+
listItemProps?: ListItemProps;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Генерировать отформатированную группу
|
|
22
|
+
*/
|
|
23
|
+
export declare const genFormatedGroup: (group: Props["group"]) => {
|
|
24
|
+
name: string;
|
|
25
|
+
id: ITEM_ID_ALL;
|
|
26
|
+
} | {
|
|
27
|
+
name: string;
|
|
28
|
+
id: ITEM_ID_NEW;
|
|
29
|
+
} | {
|
|
30
|
+
name: string;
|
|
31
|
+
folder_id: number;
|
|
32
|
+
folder_path: string;
|
|
33
|
+
on?: 0 | 1;
|
|
34
|
+
status?: 0 | 1;
|
|
35
|
+
id: number | ITEM_ID_NEW;
|
|
36
|
+
listItemProps?: ListItemProps;
|
|
37
|
+
};
|
|
@@ -3,6 +3,8 @@ export { useItemsFromCompetitors } from './competitorSelector/composables';
|
|
|
3
3
|
export { default as TopRegionSelector } from './regionSelector/regionSelector.vue';
|
|
4
4
|
export { findRegion, genSearcherByKey, dialogRegionSelector } from './regionSelector/utils/utils';
|
|
5
5
|
export { default as TopGroupSelector } from './groupSelector/groupSelector.vue';
|
|
6
|
+
export { default as TopProjectSelector } from './projectSelector/projectSelector.vue';
|
|
7
|
+
export { clearCache } from './projectSelector/cache';
|
|
6
8
|
export type { Emits as TopTagSelectorEmits, Tag, TagId, TagIdExclude } from './tagSelector/types';
|
|
7
9
|
export { genElPopupOpener as genElTopTagSelectorPopupOpener, renderElPopupOpener as renderElTopTagSelectorPopupOpener, } from './tagSelector/utils/el';
|
|
8
10
|
export { default as TopTagSelector } from './tagSelector/tagSelector.vue';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Item } from '../../../../components/formsExt/selector2/types';
|
|
2
|
+
import { ShallowRef, Ref } from 'vue';
|
|
3
|
+
/**
|
|
4
|
+
* Кеш списка проектов
|
|
5
|
+
*
|
|
6
|
+
* Используется только при `dataSource` = `static`
|
|
7
|
+
* Данные синхронизируются между всеми экземплярами ProjectSelector
|
|
8
|
+
*/
|
|
9
|
+
export declare const projectsCache: ShallowRef<Item[] | undefined, Item[] | undefined>;
|
|
10
|
+
export declare const resetStateSignal: Ref<number, number>;
|
|
11
|
+
/**
|
|
12
|
+
* Promise текущего выполняющегося запроса на получение проектов.
|
|
13
|
+
*
|
|
14
|
+
* Используется для дедупликации запросов: если запрос уже запущен, повторные вызовы будут ждать один и тот же Promise.
|
|
15
|
+
*/
|
|
16
|
+
export declare const projectsRequest: Ref<{
|
|
17
|
+
then: <TResult1 = Api.ResponseError<any> | Api.ResponseSuccess<any, "get">, TResult2 = never>(onfulfilled?: ((value: Api.ResponseError<any> | Api.ResponseSuccess<any, "get">) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined) => Promise<TResult1 | TResult2>;
|
|
18
|
+
catch: <TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null | undefined) => Promise<Api.ResponseError<any> | Api.ResponseSuccess<any, "get"> | TResult>;
|
|
19
|
+
finally: (onfinally?: (() => void) | null | undefined) => Promise<Api.ResponseError<any> | Api.ResponseSuccess<any, "get">>;
|
|
20
|
+
readonly [Symbol.toStringTag]: string;
|
|
21
|
+
} | null, Promise<Api.ResponseError<any> | Api.ResponseSuccess<any, "get">> | {
|
|
22
|
+
then: <TResult1 = Api.ResponseError<any> | Api.ResponseSuccess<any, "get">, TResult2 = never>(onfulfilled?: ((value: Api.ResponseError<any> | Api.ResponseSuccess<any, "get">) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined) => Promise<TResult1 | TResult2>;
|
|
23
|
+
catch: <TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null | undefined) => Promise<Api.ResponseError<any> | Api.ResponseSuccess<any, "get"> | TResult>;
|
|
24
|
+
finally: (onfinally?: (() => void) | null | undefined) => Promise<Api.ResponseError<any> | Api.ResponseSuccess<any, "get">>;
|
|
25
|
+
readonly [Symbol.toStringTag]: string;
|
|
26
|
+
} | null>;
|
|
27
|
+
export declare const setCache: (userId: number, projectsTotal: number) => void;
|
|
28
|
+
export declare const getCache: (userId: number) => number | undefined;
|
|
29
|
+
export declare const clearCache: (userId: number, resetState?: boolean) => void;
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { Item, Props, Size, Slots } from '../../../../components/formsExt/selector2/types';
|
|
2
|
+
import { Props } from './types';
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, GlobalComponents, GlobalDirectives, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ComponentCustomProperties } from 'vue';
|
|
4
|
+
import { Props } from '../../forms/button/types';
|
|
5
|
+
import { TopLibPopup } from '../../popup/lib/popup';
|
|
6
|
+
import { OnCleanup } from '@vue/reactivity';
|
|
7
|
+
type __VLS_Props = Props;
|
|
8
|
+
type __VLS_PublicProps = {
|
|
9
|
+
modelValue?: NonNullable<Props['modelValue']>;
|
|
10
|
+
} & __VLS_Props;
|
|
11
|
+
declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12
|
+
"update:modelValue": (value: Item) => any;
|
|
13
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
14
|
+
"onUpdate:modelValue"?: ((value: Item) => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
addLinksToProjects: boolean;
|
|
17
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
18
|
+
refSelector: ({
|
|
19
|
+
$: ComponentInternalInstance;
|
|
20
|
+
$data: {};
|
|
21
|
+
$props: {
|
|
22
|
+
readonly modelValue: Props["modelValue"];
|
|
23
|
+
readonly items?: Item[] | undefined;
|
|
24
|
+
readonly title?: string | undefined;
|
|
25
|
+
readonly disabled?: boolean | undefined;
|
|
26
|
+
readonly icon?: string | undefined;
|
|
27
|
+
readonly modificator?: string | undefined;
|
|
28
|
+
readonly size?: Size | undefined;
|
|
29
|
+
readonly isError?: boolean | undefined;
|
|
30
|
+
readonly openByFocusInput?: boolean | undefined;
|
|
31
|
+
readonly searchType?: "none" | "inline" | "popup" | undefined;
|
|
32
|
+
readonly searchFields?: string[] | undefined;
|
|
33
|
+
readonly placeholder?: string | undefined;
|
|
34
|
+
readonly hasCloserBtn?: boolean | undefined;
|
|
35
|
+
readonly api?: (Api.ClientRequest<any> | Api.ClientRequestCustom<any, any, any>) | undefined;
|
|
36
|
+
readonly apiSetSearchParams?: ((api: NonNullable< Props["api"]>, search: string) => void) | undefined;
|
|
37
|
+
readonly minLength?: number | undefined;
|
|
38
|
+
readonly useCache?: boolean | undefined;
|
|
39
|
+
readonly appendSearchToResult?: boolean | undefined;
|
|
40
|
+
readonly appendSearchAllowDuplicate?: boolean | undefined;
|
|
41
|
+
readonly appendSearchToResultCond?: ((search: string) => boolean) | undefined;
|
|
42
|
+
readonly appendWithoutSelect?: boolean | undefined;
|
|
43
|
+
readonly multiselect?: boolean | undefined;
|
|
44
|
+
readonly useAllItem?: boolean | string | undefined;
|
|
45
|
+
readonly addChanger?: boolean | undefined;
|
|
46
|
+
readonly buttonProps?: Props | undefined;
|
|
47
|
+
readonly selectedAsPlaceholder?: boolean | undefined;
|
|
48
|
+
readonly openerShortcut?: string | undefined;
|
|
49
|
+
readonly onOpen?: (() => any) | undefined;
|
|
50
|
+
readonly "onUpdate:modelValue"?: ((value: Item | Item[]) => any) | undefined;
|
|
51
|
+
readonly onAppendItem?: ((item: Item) => any) | undefined;
|
|
52
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
53
|
+
$attrs: Attrs;
|
|
54
|
+
$refs: {
|
|
55
|
+
[x: string]: unknown;
|
|
56
|
+
} & {
|
|
57
|
+
popupRef: {
|
|
58
|
+
id: string;
|
|
59
|
+
popup: TopLibPopup<undefined> | undefined;
|
|
60
|
+
} | null;
|
|
61
|
+
};
|
|
62
|
+
$slots: Readonly<{
|
|
63
|
+
[name: string]: Slot<any> | undefined;
|
|
64
|
+
}>;
|
|
65
|
+
$root: ComponentPublicInstance | null;
|
|
66
|
+
$parent: ComponentPublicInstance | null;
|
|
67
|
+
$host: Element | null;
|
|
68
|
+
$emit: ((event: "open") => void) & ((event: "update:modelValue", value: Item | Item[]) => void) & ((event: "appendItem", item: Item) => void);
|
|
69
|
+
$el: any;
|
|
70
|
+
$options: ComponentOptionsBase<Readonly<{
|
|
71
|
+
modelValue: Props["modelValue"];
|
|
72
|
+
} & Props> & Readonly<{
|
|
73
|
+
onOpen?: (() => any) | undefined;
|
|
74
|
+
"onUpdate:modelValue"?: ((value: Item | Item[]) => any) | undefined;
|
|
75
|
+
onAppendItem?: ((item: Item) => any) | undefined;
|
|
76
|
+
}>, {
|
|
77
|
+
resetCache: (resetAPICache?: boolean) => void;
|
|
78
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
79
|
+
open: () => any;
|
|
80
|
+
"update:modelValue": (value: Item | Item[]) => any;
|
|
81
|
+
appendItem: (item: Item) => any;
|
|
82
|
+
}, string, {
|
|
83
|
+
size: Size;
|
|
84
|
+
openByFocusInput: boolean;
|
|
85
|
+
items: Item[];
|
|
86
|
+
searchFields: string[];
|
|
87
|
+
searchType: "none" | "inline" | "popup";
|
|
88
|
+
minLength: number;
|
|
89
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
90
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
91
|
+
created?: (() => void) | (() => void)[];
|
|
92
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
93
|
+
mounted?: (() => void) | (() => void)[];
|
|
94
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
95
|
+
updated?: (() => void) | (() => void)[];
|
|
96
|
+
activated?: (() => void) | (() => void)[];
|
|
97
|
+
deactivated?: (() => void) | (() => void)[];
|
|
98
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
99
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
100
|
+
destroyed?: (() => void) | (() => void)[];
|
|
101
|
+
unmounted?: (() => void) | (() => void)[];
|
|
102
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
103
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
104
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
105
|
+
};
|
|
106
|
+
$forceUpdate: () => void;
|
|
107
|
+
$nextTick: nextTick;
|
|
108
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
109
|
+
} & Readonly<{
|
|
110
|
+
size: Size;
|
|
111
|
+
openByFocusInput: boolean;
|
|
112
|
+
items: Item[];
|
|
113
|
+
searchFields: string[];
|
|
114
|
+
searchType: "none" | "inline" | "popup";
|
|
115
|
+
minLength: number;
|
|
116
|
+
}> & Omit<Readonly<{
|
|
117
|
+
modelValue: Props["modelValue"];
|
|
118
|
+
} & Props> & Readonly<{
|
|
119
|
+
onOpen?: (() => any) | undefined;
|
|
120
|
+
"onUpdate:modelValue"?: ((value: Item | Item[]) => any) | undefined;
|
|
121
|
+
onAppendItem?: ((item: Item) => any) | undefined;
|
|
122
|
+
}>, "resetCache" | ("size" | "openByFocusInput" | "items" | "searchFields" | "searchType" | "minLength")> & {
|
|
123
|
+
resetCache: (resetAPICache?: boolean) => void;
|
|
124
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
125
|
+
$slots: Readonly< Slots> & Slots;
|
|
126
|
+
}) | null;
|
|
127
|
+
}, any>;
|
|
128
|
+
export default _default;
|
|
@@ -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, {}, any>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface Props {
|
|
2
|
+
/**
|
|
3
|
+
* id проекта
|
|
4
|
+
*/
|
|
5
|
+
id: number;
|
|
6
|
+
/**
|
|
7
|
+
* Права пользователя в проекте
|
|
8
|
+
*
|
|
9
|
+
* Записывается в виде строки из нулей и единиц '01011000100000000000'
|
|
10
|
+
* Каждому индексу строки соответствует доступ к определенным действиям с проектом
|
|
11
|
+
*/
|
|
12
|
+
right: string;
|
|
13
|
+
/**
|
|
14
|
+
* url проекта
|
|
15
|
+
*/
|
|
16
|
+
url: string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { Props as ButtonProps } from '../../../../components/forms/button/types';
|
|
2
|
+
import { Item } from '../../../../components/formsExt/selector2/types';
|
|
3
|
+
export interface Props {
|
|
4
|
+
/**
|
|
5
|
+
* Выбранный проект
|
|
6
|
+
*/
|
|
7
|
+
modelValue?: Item;
|
|
8
|
+
/**
|
|
9
|
+
* Настроенный API клиент для выполнения запросов
|
|
10
|
+
*
|
|
11
|
+
* Будет использоваться:
|
|
12
|
+
* - для загрузки групп, если не указан `props.projects`
|
|
13
|
+
* - для добавления нового проекта пользователю
|
|
14
|
+
*
|
|
15
|
+
* @const
|
|
16
|
+
*/
|
|
17
|
+
client: Api.Client<Api.TV.Paths, true>;
|
|
18
|
+
/**
|
|
19
|
+
* Нужно ли добавлять ссылки на проекты
|
|
20
|
+
*/
|
|
21
|
+
addLinksToProjects?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Не отображать проект с этим id в списке
|
|
24
|
+
*/
|
|
25
|
+
excludeProjectId?: number;
|
|
26
|
+
/**
|
|
27
|
+
* Модификатор элемента, открывающего popup
|
|
28
|
+
*
|
|
29
|
+
* Добавит класс: `top-selector2-{{ modificator }}`
|
|
30
|
+
*/
|
|
31
|
+
modificator?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Текст для placeholder поля поиска
|
|
34
|
+
*/
|
|
35
|
+
placeholder?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Настройки кнопки
|
|
38
|
+
*
|
|
39
|
+
* Если не указан будет использоваться стандартный стиль селектора
|
|
40
|
+
*
|
|
41
|
+
* @subcategory Single select
|
|
42
|
+
*/
|
|
43
|
+
buttonProps?: ButtonProps;
|
|
44
|
+
/**
|
|
45
|
+
* code горячей клавиши для открытия селектора ('KeyA');
|
|
46
|
+
*/
|
|
47
|
+
openerShortcut?: string;
|
|
48
|
+
}
|
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
import { Props } from '../../../../components/formsExt/selector2/types';
|
|
2
|
+
import { paths } from 'topvisor-openapi/src/ts/Topvisor';
|
|
3
|
+
import { components } from 'topvisor-openapi/src/ts/TV/API/Params/FieldsTrait';
|
|
4
|
+
import { components } from 'topvisor-openapi/src/ts/TV/API/Params/OrdersTrait';
|
|
5
|
+
import { components } from 'topvisor-openapi/src/ts/TV/API/Params/FiltersTrait';
|
|
6
|
+
import { components } from 'topvisor-openapi/src/ts/TV/API/Params/LimitTrait';
|
|
7
|
+
import { components } from 'topvisor-openapi/src/ts/TV/API/Params/OffsetTrait';
|
|
8
|
+
import { components } from 'topvisor-openapi/src/ts/TV/API/Types/UrlShort';
|
|
9
|
+
/**
|
|
10
|
+
* Закрыть попап и выполнить переход на страницу проекта
|
|
11
|
+
*/
|
|
12
|
+
export declare const navigateToProject: (link: string, event?: PointerEvent) => void;
|
|
13
|
+
/**
|
|
14
|
+
* Сгенерировать ссылку на проект
|
|
15
|
+
*/
|
|
16
|
+
export declare const genProjectLink: (projectId: number) => string;
|
|
17
|
+
/**
|
|
18
|
+
* Вернуть базовый хост без поддомена
|
|
19
|
+
*/
|
|
20
|
+
export declare const getBaseHost: () => string;
|
|
21
|
+
/**
|
|
22
|
+
* Сгенерировать ссылку на сайт проекта
|
|
23
|
+
*/
|
|
24
|
+
export declare const genProjectExternalLink: (url: string) => string;
|
|
25
|
+
/**
|
|
26
|
+
* Расширяет функционал аналогичной функции в Selector2
|
|
27
|
+
*
|
|
28
|
+
* Добавить фильтр поиска по полям `id`, `name`, `url` в параметры API.
|
|
29
|
+
* Поиск выполняется по строке `search` и по строке с инвертированной раскладкой клавиатуры.
|
|
30
|
+
*
|
|
31
|
+
* @param api - api, которое используется в `TopProjectSelector`
|
|
32
|
+
* @param search - введенная строка поиска
|
|
33
|
+
*
|
|
34
|
+
* @todo Объединить с apiSetSearchParamsFilter() из @/components/formsExt/selector2/utils.ts
|
|
35
|
+
*/
|
|
36
|
+
export declare const apiSetSearchParamsFilter: (api: NonNullable<Props["api"]>, search: string) => void;
|
|
37
|
+
/**
|
|
38
|
+
* Создать API запрос на получение списка проектов
|
|
39
|
+
*
|
|
40
|
+
* Данные после загрузки преобразуются с помощью `prepareProjects()`
|
|
41
|
+
*
|
|
42
|
+
* @see prepareProjects
|
|
43
|
+
*/
|
|
44
|
+
export declare const genApiGetProjects: (client: Api.Client<Api.TV.Paths, true>, userId: number, params?: Record<string, number>) => Api.ClientRequest<Api.ClientRequestContext< paths, "/get/projects_2/projects/", true>, ("name" | "id" | "on" | "right" | "url" | "user_id")[], Api.Params<Api.ClientRequestContext< paths, "/get/projects_2/projects/", true>, undefined, {
|
|
45
|
+
"COUNT(*)"?: any;
|
|
46
|
+
"IS_YOUTUBE()"?: any;
|
|
47
|
+
"IS_APP_STORE()"?: any;
|
|
48
|
+
"IS_GOOGLE_PLAY()"?: any;
|
|
49
|
+
"GEN_SEARCH_STRING()"?: any;
|
|
50
|
+
id?: any;
|
|
51
|
+
user_id?: any;
|
|
52
|
+
name?: string | null;
|
|
53
|
+
url?: any;
|
|
54
|
+
date?: any;
|
|
55
|
+
last_view?: any;
|
|
56
|
+
folder_id?: number | null;
|
|
57
|
+
folder_name?: any;
|
|
58
|
+
task_time_delete?: any;
|
|
59
|
+
task_method_name?: any;
|
|
60
|
+
task_method_params_json?: any;
|
|
61
|
+
task_status?: any;
|
|
62
|
+
task_progress?: any;
|
|
63
|
+
task_noticed?: any;
|
|
64
|
+
site?: any;
|
|
65
|
+
update?: any;
|
|
66
|
+
positions_time?: any;
|
|
67
|
+
positions_date?: any;
|
|
68
|
+
positions_percent?: any;
|
|
69
|
+
status_positions?: string | null;
|
|
70
|
+
status_positions_time?: any;
|
|
71
|
+
status_positions_date?: any;
|
|
72
|
+
status_positions_percent?: any;
|
|
73
|
+
status_relevance?: string | null;
|
|
74
|
+
status_relevance_time?: any;
|
|
75
|
+
status_relevance_date?: any;
|
|
76
|
+
status_relevance_percent?: any;
|
|
77
|
+
status_positions_by_keywords?: any;
|
|
78
|
+
status_volumes?: any;
|
|
79
|
+
status_claster?: any;
|
|
80
|
+
status_audit?: any;
|
|
81
|
+
status_audit_time?: any;
|
|
82
|
+
status_audit_percent?: any;
|
|
83
|
+
status_watcher?: any;
|
|
84
|
+
status_watcher_percent?: any;
|
|
85
|
+
status_indexing?: any;
|
|
86
|
+
status_indexing_percent?: any;
|
|
87
|
+
status_sitemap?: any;
|
|
88
|
+
status_sitemap_percent?: any;
|
|
89
|
+
status_urlsUpdater?: any;
|
|
90
|
+
status_ai_tracker?: any;
|
|
91
|
+
status_ai_tracker_time?: any;
|
|
92
|
+
status_ai_tracker_date?: any;
|
|
93
|
+
status_ai_tracker_percent?: any;
|
|
94
|
+
on?: any;
|
|
95
|
+
subdomains?: any;
|
|
96
|
+
filter?: any;
|
|
97
|
+
auto_correct?: any;
|
|
98
|
+
with_snippets?: any;
|
|
99
|
+
do_snapshots?: any;
|
|
100
|
+
do_snapshots_with_snippets?: any;
|
|
101
|
+
report_last_time?: any;
|
|
102
|
+
common_traffic?: any;
|
|
103
|
+
guest_link_right?: any;
|
|
104
|
+
is_task?: any;
|
|
105
|
+
count_keywords?: any;
|
|
106
|
+
right?: any;
|
|
107
|
+
ord?: any;
|
|
108
|
+
favorite?: any;
|
|
109
|
+
tags?: any;
|
|
110
|
+
user_email?: any;
|
|
111
|
+
user_currency?: any;
|
|
112
|
+
broker_count_campaigns?: any;
|
|
113
|
+
broker_count_banners?: any;
|
|
114
|
+
broker_count_banners_off?: any;
|
|
115
|
+
domain_expire?: any;
|
|
116
|
+
ssl_expire?: any;
|
|
117
|
+
competitor?: any;
|
|
118
|
+
competitor_ord?: any;
|
|
119
|
+
pos_summary_up?: any;
|
|
120
|
+
pos_summary_stay?: any;
|
|
121
|
+
pos_summary_down?: any;
|
|
122
|
+
pos_summary_avg?: any;
|
|
123
|
+
pos_summary_visibility?: any;
|
|
124
|
+
audit_server_location?: any;
|
|
125
|
+
audit_auto_collect_pages?: number | null;
|
|
126
|
+
audit_auto_collect_pages_limit?: number | null;
|
|
127
|
+
indexing_searchers_keys?: unknown[] | null;
|
|
128
|
+
watcher_types?: unknown[] | null;
|
|
129
|
+
ai_tracker_brand_name?: any;
|
|
130
|
+
ai_tracker_aliases?: unknown[] | null;
|
|
131
|
+
ai_tracker_models_names?: unknown[] | null;
|
|
132
|
+
ai_tracker_context_lang?: any;
|
|
133
|
+
ai_tracker_context_location?: any;
|
|
134
|
+
}, {
|
|
135
|
+
show_owner_balance?: boolean | null;
|
|
136
|
+
show_site_stat?: boolean | null;
|
|
137
|
+
show_searchers_and_regions?: number;
|
|
138
|
+
include_positions_summary?: boolean | null;
|
|
139
|
+
include_positions_summary_params?: unknown[] | null;
|
|
140
|
+
is_task?: boolean | null;
|
|
141
|
+
fields?: components["schemas"]["TV.API.Params.FieldsTrait"]["fields"];
|
|
142
|
+
orders?: components["schemas"]["TV.API.Params.OrdersTrait"]["orders"];
|
|
143
|
+
filters?: components["schemas"]["TV.API.Params.FiltersTrait"]["filters"];
|
|
144
|
+
id?: components["schemas"]["TV.API.Params.FiltersTrait"]["id"];
|
|
145
|
+
limit?: components["schemas"]["TV.API.Params.LimitTrait"]["limit"];
|
|
146
|
+
offset?: components["schemas"]["TV.API.Params.OffsetTrait"]["offset"];
|
|
147
|
+
}>, Api.ModelFields<{
|
|
148
|
+
"COUNT(*)"?: any;
|
|
149
|
+
"IS_YOUTUBE()"?: any;
|
|
150
|
+
"IS_APP_STORE()"?: any;
|
|
151
|
+
"IS_GOOGLE_PLAY()"?: any;
|
|
152
|
+
"GEN_SEARCH_STRING()"?: any;
|
|
153
|
+
id?: any;
|
|
154
|
+
user_id?: any;
|
|
155
|
+
name?: string | null;
|
|
156
|
+
url?: any;
|
|
157
|
+
date?: any;
|
|
158
|
+
last_view?: any;
|
|
159
|
+
folder_id?: number | null;
|
|
160
|
+
folder_name?: any;
|
|
161
|
+
task_time_delete?: any;
|
|
162
|
+
task_method_name?: any;
|
|
163
|
+
task_method_params_json?: any;
|
|
164
|
+
task_status?: any;
|
|
165
|
+
task_progress?: any;
|
|
166
|
+
task_noticed?: any;
|
|
167
|
+
site?: any;
|
|
168
|
+
update?: any;
|
|
169
|
+
positions_time?: any;
|
|
170
|
+
positions_date?: any;
|
|
171
|
+
positions_percent?: any;
|
|
172
|
+
status_positions?: string | null;
|
|
173
|
+
status_positions_time?: any;
|
|
174
|
+
status_positions_date?: any;
|
|
175
|
+
status_positions_percent?: any;
|
|
176
|
+
status_relevance?: string | null;
|
|
177
|
+
status_relevance_time?: any;
|
|
178
|
+
status_relevance_date?: any;
|
|
179
|
+
status_relevance_percent?: any;
|
|
180
|
+
status_positions_by_keywords?: any;
|
|
181
|
+
status_volumes?: any;
|
|
182
|
+
status_claster?: any;
|
|
183
|
+
status_audit?: any;
|
|
184
|
+
status_audit_time?: any;
|
|
185
|
+
status_audit_percent?: any;
|
|
186
|
+
status_watcher?: any;
|
|
187
|
+
status_watcher_percent?: any;
|
|
188
|
+
status_indexing?: any;
|
|
189
|
+
status_indexing_percent?: any;
|
|
190
|
+
status_sitemap?: any;
|
|
191
|
+
status_sitemap_percent?: any;
|
|
192
|
+
status_urlsUpdater?: any;
|
|
193
|
+
status_ai_tracker?: any;
|
|
194
|
+
status_ai_tracker_time?: any;
|
|
195
|
+
status_ai_tracker_date?: any;
|
|
196
|
+
status_ai_tracker_percent?: any;
|
|
197
|
+
on?: any;
|
|
198
|
+
subdomains?: any;
|
|
199
|
+
filter?: any;
|
|
200
|
+
auto_correct?: any;
|
|
201
|
+
with_snippets?: any;
|
|
202
|
+
do_snapshots?: any;
|
|
203
|
+
do_snapshots_with_snippets?: any;
|
|
204
|
+
report_last_time?: any;
|
|
205
|
+
common_traffic?: any;
|
|
206
|
+
guest_link_right?: any;
|
|
207
|
+
is_task?: any;
|
|
208
|
+
count_keywords?: any;
|
|
209
|
+
right?: any;
|
|
210
|
+
ord?: any;
|
|
211
|
+
favorite?: any;
|
|
212
|
+
tags?: any;
|
|
213
|
+
user_email?: any;
|
|
214
|
+
user_currency?: any;
|
|
215
|
+
broker_count_campaigns?: any;
|
|
216
|
+
broker_count_banners?: any;
|
|
217
|
+
broker_count_banners_off?: any;
|
|
218
|
+
domain_expire?: any;
|
|
219
|
+
ssl_expire?: any;
|
|
220
|
+
competitor?: any;
|
|
221
|
+
competitor_ord?: any;
|
|
222
|
+
pos_summary_up?: any;
|
|
223
|
+
pos_summary_stay?: any;
|
|
224
|
+
pos_summary_down?: any;
|
|
225
|
+
pos_summary_avg?: any;
|
|
226
|
+
pos_summary_visibility?: any;
|
|
227
|
+
audit_server_location?: any;
|
|
228
|
+
audit_auto_collect_pages?: number | null;
|
|
229
|
+
audit_auto_collect_pages_limit?: number | null;
|
|
230
|
+
indexing_searchers_keys?: unknown[] | null;
|
|
231
|
+
watcher_types?: unknown[] | null;
|
|
232
|
+
ai_tracker_brand_name?: any;
|
|
233
|
+
ai_tracker_aliases?: unknown[] | null;
|
|
234
|
+
ai_tracker_models_names?: unknown[] | null;
|
|
235
|
+
ai_tracker_context_lang?: any;
|
|
236
|
+
ai_tracker_context_location?: any;
|
|
237
|
+
}> | undefined>;
|
|
238
|
+
/**
|
|
239
|
+
* Создать API запрос для добавления проекта
|
|
240
|
+
*/
|
|
241
|
+
export declare const genApiAddProject: (client: Api.Client<Api.TV.Paths, true>) => Api.ClientRequest<Api.ClientRequestContext< paths, "/add/projects_2/projects/", true>, never, Omit<{
|
|
242
|
+
url: components["schemas"]["TV.API.Types.UrlShort"];
|
|
243
|
+
name?: string | null;
|
|
244
|
+
tags?: unknown[] | null;
|
|
245
|
+
folder_id?: number | null;
|
|
246
|
+
on?: number | null;
|
|
247
|
+
is_task?: boolean | null;
|
|
248
|
+
}, "fields" | "filters" | "orders" | "fetch_style">, never>;
|
package/src/{components → src/components}/project/regionSelector/composables/selectRegion.d.ts
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComputedRef, Ref } from 'vue';
|
|
2
|
-
import { Option } from '
|
|
2
|
+
import { Option } from '../../../../../components/forms/select/types';
|
|
3
3
|
import { Props, SearcherIndexed } from '../types';
|
|
4
4
|
/**
|
|
5
5
|
* Создание и управление реактивными переменными для выбора региона
|
package/src/{components → src/components}/project/regionSelector/composables/selectSearcher.d.ts
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComputedRef, Ref } from 'vue';
|
|
2
2
|
import { Props, SearcherByKey } from '../types';
|
|
3
|
-
import { Options } from '
|
|
3
|
+
import { Options } from '../../../../../components/forms/select/types';
|
|
4
4
|
/**
|
|
5
5
|
* Создание и управление реактивными переменными для выбора ПС
|
|
6
6
|
*
|
|
@@ -5,8 +5,8 @@ export interface Props {
|
|
|
5
5
|
* Список выбранных значений
|
|
6
6
|
* *
|
|
7
7
|
* - при `onlySearcher = false`:
|
|
8
|
-
* - при `
|
|
9
|
-
* - при `
|
|
8
|
+
* - при `forMode === ''`: массив `regionIndex`
|
|
9
|
+
* - при `forMode !== ''`: массив `regionKey`
|
|
10
10
|
* - при `onlySearcher = true` массив `searcherKey`
|
|
11
11
|
*
|
|
12
12
|
* Обратите внимание, всегда является массивом, даже если не предпогается получить несколько значений
|
|
@@ -33,9 +33,13 @@ export interface Props {
|
|
|
33
33
|
*/
|
|
34
34
|
addCompare?: boolean;
|
|
35
35
|
/**
|
|
36
|
-
* Режим выбора регионов
|
|
36
|
+
* Режим выбора регионов
|
|
37
|
+
*
|
|
38
|
+
* - `volume` для Частоты
|
|
39
|
+
* - `cost_forecast` для ставок
|
|
40
|
+
* - `project_relevant_url` для Релевантной (подбор)
|
|
37
41
|
*/
|
|
38
|
-
|
|
42
|
+
forMode?: ForMode;
|
|
39
43
|
/**
|
|
40
44
|
* Добавить элемент `Автовыбор` с ключем `-2`, который в API заменяется на нужный ключ в зависимости от контекста
|
|
41
45
|
*
|
|
@@ -59,6 +63,7 @@ export interface Props {
|
|
|
59
63
|
*/
|
|
60
64
|
addRegionIcon?: boolean;
|
|
61
65
|
}
|
|
66
|
+
export type ForMode = 'volume' | 'cost_forecast' | 'project_relevant_url' | '';
|
|
62
67
|
/**
|
|
63
68
|
* @todo: Вынести в topvisor-openapi
|
|
64
69
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Region, Searcher, SearcherByKey } from '../types';
|
|
1
|
+
import { Region, ForMode, 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_regionSelectorRegions/types';
|
|
@@ -11,19 +11,19 @@ import { Props } from '../dialog_regionSelectorRegions/types';
|
|
|
11
11
|
*
|
|
12
12
|
* Если регионов в списке нет, в список будет добавлен regionUndefined
|
|
13
13
|
*
|
|
14
|
-
* @param
|
|
14
|
+
* @param forMode - Режим выбора регионов
|
|
15
15
|
* @param autoRegion - добавить элемент с ключем -2, который в API заменяется на нужный ключ в зависимости от контекста
|
|
16
16
|
* @param searchers - поисковики с регионами проекта, см.: get/projects_2/projects, show_searchers_and_regions = 1
|
|
17
17
|
*/
|
|
18
|
-
export declare const genSearcherByKey: (
|
|
18
|
+
export declare const genSearcherByKey: (forMode?: ForMode, autoRegion?: boolean, searchers?: Searcher[]) => SearcherByKey;
|
|
19
19
|
/**
|
|
20
20
|
* Поиск региона по заданному критерию из списка поисковиков проекта
|
|
21
21
|
*
|
|
22
|
-
* @param
|
|
22
|
+
* @param forMode - Режим выбора регионов
|
|
23
23
|
* @param searchRegion - объект с параметрами региона, который следует найти
|
|
24
24
|
* @param searchers
|
|
25
25
|
*/
|
|
26
|
-
export declare const findRegion: (
|
|
26
|
+
export declare const findRegion: (forMode: ForMode, searchRegion: Partial<Region>, searchers?: Searcher[]) => Region | undefined;
|
|
27
27
|
/**
|
|
28
28
|
* Открыть диалоговое окно с выбором нескольких регионов
|
|
29
29
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ModelRef, Ref } from 'vue';
|
|
2
2
|
import { Props as TagSelectorProps, Tag } from '../types';
|
|
3
|
-
import { Styling } from '
|
|
3
|
+
import { Styling } from '../../../../../components/forms/button/types';
|
|
4
4
|
export type TagSelectorTarget = {
|
|
5
5
|
model: ModelRef<TagSelectorProps['modelValue']> | Ref<TagSelectorProps['modelValue']>;
|
|
6
6
|
mode: Props['mode'];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { components as componentsTagId } from 'topvisor-openapi/src/ts/Tags_2/Types/TagId';
|
|
2
|
-
import { Styling } from '
|
|
2
|
+
import { Styling } from '../../../../components/forms/button/types';
|
|
3
3
|
import { Props as OpenerProps } from './popupOpener/types';
|
|
4
4
|
/**
|
|
5
5
|
* Информация о теге
|