@topvisor/ui 1.0.42-popupPosition.0 → 1.1.0-addNativeDialog.6
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-6NjSIwIA.amd.js +2 -0
- package/.chunks/{core-D-etXW3Y.amd.js.map → core-6NjSIwIA.amd.js.map} +1 -1
- package/.chunks/{core-BGKb9a73.es.js → core-CKa0qCEH.es.js} +4 -4
- package/.chunks/{core-BGKb9a73.es.js.map → core-CKa0qCEH.es.js.map} +1 -1
- package/.chunks/datepicker-DsKl-YZR.amd.js +2 -0
- package/.chunks/{datepicker-BWaVsTd0.amd.js.map → datepicker-DsKl-YZR.amd.js.map} +1 -1
- package/.chunks/{datepicker-DCDYQmsc.es.js → datepicker-U31BrqE_.es.js} +2 -2
- package/.chunks/{datepicker-DCDYQmsc.es.js.map → datepicker-U31BrqE_.es.js.map} +1 -1
- package/.chunks/dialog_selectorRegions-BCXCCaXi.amd.js +2 -0
- package/.chunks/{dialog_selectorRegions-CMI1gx5d.amd.js.map → dialog_selectorRegions-BCXCCaXi.amd.js.map} +1 -1
- package/.chunks/{dialog_selectorRegions-BAK6xG6N.es.js → dialog_selectorRegions-C_RhsGzk.es.js} +4 -4
- package/.chunks/{dialog_selectorRegions-BAK6xG6N.es.js.map → dialog_selectorRegions-C_RhsGzk.es.js.map} +1 -1
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-BhAl3bT-.es.js +700 -0
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-BhAl3bT-.es.js.map +1 -0
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-DVp-tQ6l.amd.js +2 -0
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-DVp-tQ6l.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-DRhpgERJ.amd.js +3 -0
- package/.chunks/forms-DRhpgERJ.amd.js.map +1 -0
- package/.chunks/{forms-DOGPN_TR.es.js → forms-t2AEUjqg.es.js} +20 -20
- package/.chunks/forms-t2AEUjqg.es.js.map +1 -0
- package/.chunks/lazy-Dr-Frbwe.amd.js +2 -0
- package/.chunks/lazy-Dr-Frbwe.amd.js.map +1 -0
- package/.chunks/lazy-Dy9IVVUy.es.js +19 -0
- package/.chunks/lazy-Dy9IVVUy.es.js.map +1 -0
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-B6psuRkm.es.js +184 -0
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-B6psuRkm.es.js.map +1 -0
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-C8PDRggQ.amd.js +2 -0
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-C8PDRggQ.amd.js.map +1 -0
- package/.chunks/menu.vue_vue_type_style_index_0_lang-6kqWYFuX.es.js +110 -0
- package/.chunks/menu.vue_vue_type_style_index_0_lang-6kqWYFuX.es.js.map +1 -0
- package/.chunks/menu.vue_vue_type_style_index_0_lang-DRHk9iBB.amd.js +2 -0
- package/.chunks/menu.vue_vue_type_style_index_0_lang-DRHk9iBB.amd.js.map +1 -0
- package/.chunks/{notice-DE88Oe-t.es.js → notice-4bdzRXtl.es.js} +2 -2
- package/.chunks/{notice-DE88Oe-t.es.js.map → notice-4bdzRXtl.es.js.map} +1 -1
- package/.chunks/{notice-C5sXcBql.amd.js → notice-DQ9qFyQ2.amd.js} +3 -3
- package/.chunks/{notice-C5sXcBql.amd.js.map → notice-DQ9qFyQ2.amd.js.map} +1 -1
- package/.chunks/page.vue_vue_type_script_setup_true_lang-BgGzBbMZ.amd.js +2 -0
- package/.chunks/page.vue_vue_type_script_setup_true_lang-BgGzBbMZ.amd.js.map +1 -0
- package/.chunks/page.vue_vue_type_script_setup_true_lang-BstJVz3j.es.js +176 -0
- package/.chunks/page.vue_vue_type_script_setup_true_lang-BstJVz3j.es.js.map +1 -0
- package/.chunks/pageComponent.vue_vue_type_script_setup_true_lang-B6ollFUC.amd.js +2 -0
- package/.chunks/pageComponent.vue_vue_type_script_setup_true_lang-B6ollFUC.amd.js.map +1 -0
- package/.chunks/pageComponent.vue_vue_type_script_setup_true_lang-DbaqFJra.es.js +56 -0
- package/.chunks/pageComponent.vue_vue_type_script_setup_true_lang-DbaqFJra.es.js.map +1 -0
- package/.chunks/{popup-BjsK_pMZ.es.js → popup-DuraSW2f.es.js} +84 -77
- package/.chunks/popup-DuraSW2f.es.js.map +1 -0
- package/.chunks/popup-IcMnYYXr.amd.js +2 -0
- package/.chunks/popup-IcMnYYXr.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-esTid5oI.amd.js.map → store-YRW59xEF.amd.js.map} +1 -1
- package/.chunks/{utils-CRPkMfKD.es.js → utils-Bd5whKoS.es.js} +5 -5
- package/.chunks/{utils-CRPkMfKD.es.js.map → utils-Bd5whKoS.es.js.map} +1 -1
- package/.chunks/utils-BkF4g-PH.amd.js +2 -0
- package/.chunks/{utils-BVdq18mg.amd.js.map → utils-BkF4g-PH.amd.js.map} +1 -1
- package/api/additional.amd.js +2 -0
- package/api/additional.amd.js.map +1 -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.js +257 -0
- package/api/index.js.map +1 -0
- package/assets/core.css +1 -1
- package/assets/forms.css +1 -1
- package/assets/formsExt.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.js +1 -1
- 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.js +8 -8
- 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.js +8 -57
- package/dialog/dialog.js.map +1 -1
- package/dialogV1AndDialogV2/dialog.amd.js +2 -0
- package/dialogV1AndDialogV2/dialog.amd.js.map +1 -0
- package/dialogV1AndDialogV2/dialog.js +11 -0
- package/dialogV1AndDialogV2/dialog.js.map +1 -0
- package/dialogV1Original/dialog.amd.js +2 -0
- package/dialogV1Original/dialog.amd.js.map +1 -0
- package/dialogV1Original/dialog.js +11 -0
- package/dialogV1Original/dialog.js.map +1 -0
- package/dialogV2/dialog.amd.js +2 -0
- package/dialogV2/dialog.amd.js.map +1 -0
- package/dialogV2/dialog.js +11 -0
- package/dialogV2/dialog.js.map +1 -0
- package/extra/extra.amd.js +1 -1
- package/extra/extra.amd.js.map +1 -1
- package/extra/extra.js.map +1 -1
- package/forms/forms.amd.js +1 -1
- package/forms/forms.js +1 -1
- package/forms/helpers.amd.js +1 -1
- package/formsExt/formsExt.amd.js +1 -1
- package/formsExt/formsExt.amd.js.map +1 -1
- package/formsExt/formsExt.js +409 -320
- package/formsExt/formsExt.js.map +1 -1
- package/layout/layout.amd.js +1 -1
- package/layout/layout.amd.js.map +1 -1
- package/layout/layout.js +1 -1
- package/layout/layout.js.map +1 -1
- package/package.json +4 -2
- package/popup/popup.amd.js +1 -1
- package/popup/popup.amd.js.map +1 -1
- package/popup/popup.js +125 -109
- 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.js +30 -21
- 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.js +158 -158
- package/project/project.js.map +1 -1
- package/tabs/tabs.amd.js +1 -1
- package/tabs/tabs.amd.js.map +1 -1
- 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.js +1 -1
- package/tabsView/tabsView.js.map +1 -1
- package/types/api/additional.d.ts +2 -0
- package/types/api/api/additional.d.ts +1 -0
- package/types/api/api/client/client.d.ts +55 -0
- package/types/api/api/client/request-options.d.ts +1 -0
- package/types/api/api/client/request.d.ts +2 -0
- package/types/api/api/index.d.ts +12 -0
- package/types/api/api/tests/model.d.ts +0 -0
- package/types/api/api/tests/test.d.ts +16 -0
- package/types/api/api/types/api.d.ts +139 -0
- package/types/api/api/types/client/middleware.d.ts +65 -0
- package/types/api/api/types/client/options.d.ts +60 -0
- package/types/api/api/types/client/request-context.d.ts +35 -0
- package/types/api/api/types/client/request-options.d.ts +73 -0
- package/types/api/api/types/client/request.d.ts +85 -0
- package/types/api/api/types/ext.d.ts +51 -0
- package/types/api/api/types/field.d.ts +33 -0
- package/types/api/api/types/index.d.ts +11 -0
- package/types/api/api/types/schema.d.ts +50 -0
- package/types/api/api/types/tv.d.ts +59 -0
- package/types/api/api/types/utils.d.ts +51 -0
- package/types/api/api/utils/common.d.ts +16 -0
- package/types/api/api/utils/field.d.ts +8 -0
- package/types/api/api/utils/filters.d.ts +48 -0
- package/types/api/api/utils/lazy.d.ts +13 -0
- package/types/api/index.d.ts +2 -0
- package/types/components/dialog/dialog/dialog.vue.d.ts +28 -0
- package/types/components/dialog/lib/utils.d.ts +54 -0
- package/types/components/dialog/lib/worker.d.ts +78 -0
- package/types/components/dialogV1AndDialogV2/dialog/composables/asyncDialogHandle.d.ts +51 -0
- package/types/components/dialogV1AndDialogV2/dialog/composables/dialogHandle.d.ts +108 -0
- package/types/components/dialogV1AndDialogV2/dialog/composables/types.d.ts +11 -0
- package/types/components/dialogV1AndDialogV2/dialog/composables/utils.d.ts +23 -0
- package/types/components/dialogV1AndDialogV2/dialog/dialog.vue.d.ts +28 -0
- package/types/components/dialogV1AndDialogV2/dialog/dialogs/dialogs.vue.d.ts +13 -0
- package/types/components/dialogV1AndDialogV2/dialog/page/types.d.ts +72 -0
- package/types/components/dialogV1AndDialogV2/dialog/pageComponent/types.d.ts +18 -0
- package/types/components/dialogV1AndDialogV2/dialog/stories/dialog_example/pages/utils.d.ts +7 -0
- package/types/components/dialogV1AndDialogV2/dialog/types.d.ts +58 -0
- package/types/components/dialogV1AndDialogV2/dialog.d.ts +6 -0
- package/types/components/dialogV1AndDialogV2/lib/types.d.ts +44 -0
- package/types/components/dialogV1AndDialogV2/lib/utils.d.ts +18 -0
- package/types/components/dialogV1AndDialogV2/lib/utils.globalEvents.d.ts +8 -0
- package/types/components/dialogV1AndDialogV2/lib/worker.d.ts +72 -0
- package/types/components/dialogV1Original/dialog/composables/asyncDialogHandle.d.ts +51 -0
- package/types/components/dialogV1Original/dialog/composables/dialogHandle.d.ts +108 -0
- package/types/components/dialogV1Original/dialog/composables/types.d.ts +11 -0
- package/types/components/dialogV1Original/dialog/composables/utils.d.ts +23 -0
- package/types/components/dialogV1Original/dialog/dialogs/dialogs.vue.d.ts +13 -0
- package/types/components/dialogV1Original/dialog/page/types.d.ts +72 -0
- package/types/components/dialogV1Original/dialog/pageComponent/types.d.ts +18 -0
- package/types/components/dialogV1Original/dialog/stories/dialog_example/pages/utils.d.ts +7 -0
- package/types/components/dialogV1Original/dialog/types.d.ts +58 -0
- package/types/components/dialogV1Original/dialog.d.ts +6 -0
- package/types/components/dialogV1Original/lib/types.d.ts +44 -0
- package/types/components/dialogV1Original/lib/utils.globalEvents.d.ts +8 -0
- package/types/components/dialogV2/dialog/composables/asyncDialogHandle.d.ts +51 -0
- package/types/components/dialogV2/dialog/composables/dialogHandle.d.ts +108 -0
- package/types/components/dialogV2/dialog/composables/types.d.ts +11 -0
- package/types/components/dialogV2/dialog/composables/utils.d.ts +23 -0
- package/types/components/dialogV2/dialog/dialog.vue.d.ts +28 -0
- package/types/components/dialogV2/dialog/dialogs/dialogs.vue.d.ts +13 -0
- package/types/components/dialogV2/dialog/page/types.d.ts +72 -0
- package/types/components/dialogV2/dialog/pageComponent/types.d.ts +18 -0
- package/types/components/dialogV2/dialog/stories/dialog_example/pages/utils.d.ts +7 -0
- package/types/components/dialogV2/dialog/types.d.ts +58 -0
- package/types/components/dialogV2/dialog.d.ts +6 -0
- package/types/components/dialogV2/lib/types.d.ts +44 -0
- package/types/components/dialogV2/lib/utils.d.ts +15 -0
- package/types/components/dialogV2/lib/utils.globalEvents.d.ts +8 -0
- package/types/components/dialogV2/lib/worker.d.ts +62 -0
- package/{components → types/components}/forms/button/button.vue.d.ts +2 -5
- package/{components → types/components}/forms/button/types.d.ts +10 -0
- package/{components → types/components}/forms/checkbox/checkbox.vue.d.ts +2 -2
- package/types/components/formsExt/policy/policy.vue.d.ts +8 -0
- package/types/components/formsExt/policy/types.d.ts +20 -0
- package/{components → types/components}/formsExt/selector2/composables/useAPI.d.ts +1 -1
- package/{components → types/components}/formsExt/selector2/composables/useMenu.d.ts +3 -1
- package/{components → types/components}/formsExt/selector2/selector2.vue.d.ts +11 -3
- package/{components → types/components}/formsExt/selector2/types.d.ts +50 -27
- package/types/components/popup/alert/alert.vue.d.ts +25 -0
- package/types/components/popup/alert/types.d.ts +8 -0
- package/types/components/popup/confirm/confirm.vue.d.ts +26 -0
- package/{components → types/components}/popup/confirm/types.d.ts +2 -2
- package/{components → types/components}/popup/lib/popup.d.ts +6 -2
- package/{components → types/components}/popup/lib/worker.d.ts +6 -4
- package/types/components/popup/popup/opener.vue.d.ts +17 -0
- package/types/components/popup/popup/popup.vue.d.ts +38 -0
- package/{components → types/components}/popup/popup/types.d.ts +20 -11
- package/types/components/popup/prompt/prompt.vue.d.ts +26 -0
- package/{components → types/components}/popup/prompt/types.d.ts +2 -2
- package/{components → types/components}/project/selectorRegion/dialog_selectorRegions/dialog_selectorRegions.vue.d.ts +1 -1
- package/{components → types/components}/project/selectorRegion/utils/utils.d.ts +1 -1
- package/{core → types/core}/utils/string.d.ts +1 -1
- package/types/dialogV1AndDialogV2/dialog.d.ts +2 -0
- package/types/dialogV1Original/dialog.d.ts +2 -0
- package/types/dialogV2/dialog.d.ts +2 -0
- package/types/for-delete/dark-positions.d.ts +1 -0
- package/types/for-delete/dark-th-positions.d.ts +1 -0
- package/types/for-delete/dark-th.d.ts +1 -0
- package/types/for-delete/dark.d.ts +1 -0
- package/types/for-delete/light-positions.d.ts +1 -0
- package/types/for-delete/light.d.ts +1 -0
- package/types/forms/helpers.d.ts +1 -0
- package/utils/check.amd.js +1 -1
- package/utils/check.amd.js.map +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.js +1 -1
- package/utils/clipboard.js.map +1 -1
- package/utils/date.amd.js +1 -1
- package/utils/date.js +1 -1
- package/utils/device.amd.js +1 -1
- package/utils/device.js +1 -1
- package/utils/dom.amd.js +1 -1
- package/utils/dom.amd.js.map +1 -1
- 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.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.js.map +1 -1
- package/utils/lodash.amd.js +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.js.map +1 -1
- package/utils/price.amd.js +1 -1
- package/utils/price.amd.js.map +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.js.map +1 -1
- package/utils/scroll.amd.js +1 -1
- package/utils/scroll.amd.js.map +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.js +3 -3
- package/utils/searchers.js.map +1 -1
- package/utils/store.amd.js +1 -1
- package/utils/string.amd.js +1 -1
- package/utils/string.amd.js.map +1 -1
- package/utils/string.js +34 -30
- 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.js.map +1 -1
- package/utils/url.amd.js +2 -2
- package/utils/url.amd.js.map +1 -1
- package/utils/url.js +1 -1
- package/utils/url.js.map +1 -1
- package/.chunks/core-D-etXW3Y.amd.js +0 -2
- package/.chunks/datepicker-BWaVsTd0.amd.js +0 -2
- package/.chunks/dialog_selectorRegions-CMI1gx5d.amd.js +0 -2
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-BSxHPUWf.amd.js +0 -2
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-BSxHPUWf.amd.js.map +0 -1
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-CjUHErAY.es.js +0 -322
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-CjUHErAY.es.js.map +0 -1
- package/.chunks/forms-DOGPN_TR.es.js.map +0 -1
- package/.chunks/forms-Gb7ujpmz.amd.js +0 -3
- package/.chunks/forms-Gb7ujpmz.amd.js.map +0 -1
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-CF_hIWa6.amd.js +0 -2
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-CF_hIWa6.amd.js.map +0 -1
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-CJQj81Yq.es.js +0 -181
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-CJQj81Yq.es.js.map +0 -1
- package/.chunks/menu.vue_vue_type_style_index_0_lang-CczcI_-j.amd.js +0 -2
- package/.chunks/menu.vue_vue_type_style_index_0_lang-CczcI_-j.amd.js.map +0 -1
- package/.chunks/menu.vue_vue_type_style_index_0_lang-Dq5eEX9i.es.js +0 -109
- package/.chunks/menu.vue_vue_type_style_index_0_lang-Dq5eEX9i.es.js.map +0 -1
- package/.chunks/page.vue_vue_type_script_setup_true_lang-DFvul4oF.es.js +0 -143
- package/.chunks/page.vue_vue_type_script_setup_true_lang-DFvul4oF.es.js.map +0 -1
- package/.chunks/page.vue_vue_type_script_setup_true_lang-DJSuza2e.amd.js +0 -2
- package/.chunks/page.vue_vue_type_script_setup_true_lang-DJSuza2e.amd.js.map +0 -1
- package/.chunks/popup-B_8bvIsF.amd.js +0 -2
- package/.chunks/popup-B_8bvIsF.amd.js.map +0 -1
- package/.chunks/popup-BjsK_pMZ.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/utils-BVdq18mg.amd.js +0 -2
- package/.chunks/utils-CacKxWvO.es.js +0 -303
- package/.chunks/utils-CacKxWvO.es.js.map +0 -1
- package/.chunks/utils-DiQZv1Ae.amd.js +0 -2
- package/.chunks/utils-DiQZv1Ae.amd.js.map +0 -1
- 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/forms/select/stories/exampleOptions.d.ts +0 -5
- package/components/formsExt/checkboxGroup/stories/example.d.ts +0 -15
- package/components/formsExt/menu/stories/items.d.ts +0 -3
- package/components/formsExt/policy/policy.vue.d.ts +0 -4
- package/components/formsExt/policy/types.d.ts +0 -10
- package/components/formsExt/radioGroup/stories/example.d.ts +0 -20
- package/components/formsExt/selector2/stories/dummyAPIRequest.d.ts +0 -10
- package/components/popup/alert/alert.vue.d.ts +0 -31
- package/components/popup/alert/types.d.ts +0 -8
- 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/prompt/prompt.vue.d.ts +0 -33
- package/components/project/selectorCompetitors/stories/items.d.ts +0 -3
- package/components/project/selectorRegion/stories/searchers.d.ts +0 -3
- package/icomoon/Topvisor icons.json +0 -6635
- package/{charts → types/charts}/charts.d.ts +0 -0
- package/{components → types/components}/charts/charts.d.ts +0 -0
- package/{components → types/components}/charts/miniChart/miniChart.vue.d.ts +0 -0
- package/{components → types/components}/charts/miniChart/types.d.ts +0 -0
- package/{components → types/components}/charts/miniChart/utils/consts.d.ts +0 -0
- package/{components → types/components}/charts/miniCharts/miniCharts.d.ts +0 -0
- package/{components → types/components}/charts/miniCharts/miniCharts.vue.d.ts +0 -0
- package/{components → types/components}/core/notice/item/item.vue.d.ts +0 -0
- package/{components → types/components}/core/notice/item/types.d.ts +0 -0
- package/{components → types/components}/core/notice/notice.vue.d.ts +0 -0
- package/{components → types/components}/core/notice/types.d.ts +0 -0
- package/{components → types/components}/core/notice/utils.d.ts +0 -0
- package/{components → types/components}/dialog/dialog/composables/asyncDialogHandle.d.ts +0 -0
- package/{components → types/components}/dialog/dialog/composables/dialogHandle.d.ts +0 -0
- package/{components → types/components}/dialog/dialog/composables/types.d.ts +0 -0
- package/{components → types/components}/dialog/dialog/composables/utils.d.ts +0 -0
- package/{components → types/components}/dialog/dialog/dialogs/dialogs.vue.d.ts +0 -0
- package/{components → types/components}/dialog/dialog/page/page.vue.d.ts +0 -0
- package/{components → types/components}/dialog/dialog/page/types.d.ts +0 -0
- package/{components → types/components}/dialog/dialog/pageComponent/pageComponent.vue.d.ts +0 -0
- package/{components → types/components}/dialog/dialog/pageComponent/types.d.ts +0 -0
- package/{components → types/components}/dialog/dialog/stories/dialog_example/pages/utils.d.ts +0 -0
- package/{components → types/components}/dialog/dialog/types.d.ts +0 -0
- package/{components → types/components}/dialog/dialog.d.ts +0 -0
- package/{components → types/components}/dialog/lib/types.d.ts +0 -0
- package/{components → types/components}/dialog/lib/utils.globalEvents.d.ts +0 -0
- package/{components/dialog → types/components/dialogV1Original}/dialog/dialog.vue.d.ts +1 -1
- package/{components/dialog → types/components/dialogV1Original}/lib/utils.d.ts +0 -0
- package/{components/dialog → types/components/dialogV1Original}/lib/worker.d.ts +0 -0
- package/{components → types/components}/extra/extra.d.ts +0 -0
- package/{components → types/components}/extra/rive/rive.vue.d.ts +0 -0
- package/{components → types/components}/extra/rive/types.d.ts +0 -0
- package/{components → types/components}/forms/avatar/avatar.vue.d.ts +1 -1
- /package/{components → types/components}/forms/avatar/types.d.ts +0 -0
- /package/{components → types/components}/forms/caption/caption.vue.d.ts +0 -0
- /package/{components → types/components}/forms/caption/types.d.ts +0 -0
- /package/{components → types/components}/forms/checkbox/types.d.ts +0 -0
- /package/{components → types/components}/forms/controlLabel/controlLabel.vue.d.ts +0 -0
- /package/{components → types/components}/forms/controlLabel/types.d.ts +0 -0
- /package/{components → types/components}/forms/forms.d.ts +0 -0
- /package/{components → types/components}/forms/helpers.d.ts +0 -0
- /package/{components → types/components}/forms/hint/hint.vue.d.ts +0 -0
- /package/{components → types/components}/forms/hint/types.d.ts +0 -0
- /package/{components → types/components}/forms/input/input.vue.d.ts +0 -0
- /package/{components → types/components}/forms/input/types.d.ts +0 -0
- /package/{components → types/components}/forms/inputDate/datepicker.d.ts +0 -0
- /package/{components → types/components}/forms/inputDate/inputDate.vue.d.ts +0 -0
- /package/{components → types/components}/forms/inputDate/types.d.ts +0 -0
- /package/{components → types/components}/forms/inputRange/inputRange.vue.d.ts +0 -0
- /package/{components → types/components}/forms/inputRange/types.d.ts +0 -0
- /package/{components → types/components}/forms/loadbar/loadbar.vue.d.ts +0 -0
- /package/{components → types/components}/forms/preloader/preloader.vue.d.ts +0 -0
- /package/{components → types/components}/forms/preloader/types.d.ts +0 -0
- /package/{components → types/components}/forms/radio/radio.vue.d.ts +0 -0
- /package/{components → types/components}/forms/radio/types.d.ts +0 -0
- /package/{components → types/components}/forms/select/select.vue.d.ts +0 -0
- /package/{components → types/components}/forms/select/types.d.ts +0 -0
- /package/{components → types/components}/forms/switcher/switcher.vue.d.ts +0 -0
- /package/{components → types/components}/forms/switcher/types.d.ts +0 -0
- /package/{components → types/components}/forms/textarea/textarea.vue.d.ts +0 -0
- /package/{components → types/components}/forms/textarea/types.d.ts +0 -0
- /package/{components → types/components}/formsExt/checkboxGroup/checkboxGroup.vue.d.ts +0 -0
- /package/{components → types/components}/formsExt/checkboxGroup/types.d.ts +0 -0
- /package/{components → types/components}/formsExt/editArea/editArea.vue.d.ts +0 -0
- /package/{components → types/components}/formsExt/editArea/types.d.ts +0 -0
- /package/{components → types/components}/formsExt/editInput/editInput.vue.d.ts +0 -0
- /package/{components → types/components}/formsExt/editInput/types.d.ts +0 -0
- /package/{components → types/components}/formsExt/formsExt.d.ts +0 -0
- /package/{components → types/components}/formsExt/info/info.vue.d.ts +0 -0
- /package/{components → types/components}/formsExt/info/types.d.ts +0 -0
- /package/{components → types/components}/formsExt/menu/menu.vue.d.ts +0 -0
- /package/{components → types/components}/formsExt/menu/types.d.ts +0 -0
- /package/{components → types/components}/formsExt/radioGroup/radioGroup.vue.d.ts +0 -0
- /package/{components → types/components}/formsExt/radioGroup/types.d.ts +0 -0
- /package/{components → types/components}/formsExt/selector2/itemMulti.vue.d.ts +0 -0
- /package/{components → types/components}/formsExt/selector2/utils.d.ts +0 -0
- /package/{components → types/components}/layout/islandRows/islandRows.vue.d.ts +0 -0
- /package/{components → types/components}/layout/islandRows/islandRowsRow/islandRowsRow.vue.d.ts +0 -0
- /package/{components → types/components}/layout/islandRows/islandRowsRow/types.d.ts +0 -0
- /package/{components → types/components}/layout/islandRows/islandRowsSubTitle/islandRowsSubTitle.vue.d.ts +0 -0
- /package/{components → types/components}/layout/islandRows/types.d.ts +0 -0
- /package/{components → types/components}/layout/layout.d.ts +0 -0
- /package/{components → types/components}/layout/rows/rows.vue.d.ts +0 -0
- /package/{components → types/components}/layout/rows/types.d.ts +0 -0
- /package/{components → types/components}/popup/lib/popup.globalEvents.d.ts +0 -0
- /package/{components → types/components}/popup/lib/worker.globalEvents.d.ts +0 -0
- /package/{components → types/components}/popup/popup/listItem.vue.d.ts +0 -0
- /package/{components → types/components}/popup/popup/widgetInput.vue.d.ts +0 -0
- /package/{components → types/components}/popup/popup.d.ts +0 -0
- /package/{components → types/components}/popup/worker.d.ts +0 -0
- /package/{components → types/components}/project/project.d.ts +0 -0
- /package/{components → types/components}/project/selectorCompetitors/composables.d.ts +0 -0
- /package/{components → types/components}/project/selectorCompetitors/selectorCompetitors.vue.d.ts +0 -0
- /package/{components → types/components}/project/selectorCompetitors/types.d.ts +0 -0
- /package/{components → types/components}/project/selectorRegion/composables/compare.d.ts +0 -0
- /package/{components → types/components}/project/selectorRegion/composables/selectRegion.d.ts +0 -0
- /package/{components → types/components}/project/selectorRegion/composables/selectSearcher.d.ts +0 -0
- /package/{components → types/components}/project/selectorRegion/composables/selectorRegion.d.ts +0 -0
- /package/{components → types/components}/project/selectorRegion/dialog_selectorRegions/types.d.ts +0 -0
- /package/{components → types/components}/project/selectorRegion/selectorRegion.vue.d.ts +0 -0
- /package/{components → types/components}/project/selectorRegion/types.d.ts +0 -0
- /package/{components → types/components}/project/selectorRegion/utils/consts.d.ts +0 -0
- /package/{components → types/components}/project/tagSelector/popupListItem/tagPopupListItem.vue.d.ts +0 -0
- /package/{components → types/components}/project/tagSelector/popupListItem/types.d.ts +0 -0
- /package/{components → types/components}/project/tagSelector/popupOpener/popupOpener.vue.d.ts +0 -0
- /package/{components → types/components}/project/tagSelector/popupOpener/types.d.ts +0 -0
- /package/{components → types/components}/project/tagSelector/tagIcon/tagIcon.vue.d.ts +0 -0
- /package/{components → types/components}/project/tagSelector/tagIcon/types.d.ts +0 -0
- /package/{components → types/components}/project/tagSelector/tagSelector.vue.d.ts +0 -0
- /package/{components → types/components}/project/tagSelector/tagsDefaults.d.ts +0 -0
- /package/{components → types/components}/project/tagSelector/types.d.ts +0 -0
- /package/{components → types/components}/project/tagSelector/utils/el.d.ts +0 -0
- /package/{components → types/components}/project/tagSelector/utils/utils.d.ts +0 -0
- /package/{components → types/components}/tabs/tabs/content.vue.d.ts +0 -0
- /package/{components → types/components}/tabs/tabs/tab.vue.d.ts +0 -0
- /package/{components → types/components}/tabs/tabs/tabs.vue.d.ts +0 -0
- /package/{components → types/components}/tabs/tabs/types.d.ts +0 -0
- /package/{components → types/components}/tabs/tabs.d.ts +0 -0
- /package/{components → types/components}/tabsView/tabsView/menu.vue.d.ts +0 -0
- /package/{components → types/components}/tabsView/tabsView/menuDelimeter.vue.d.ts +0 -0
- /package/{components → types/components}/tabsView/tabsView/menuItem.vue.d.ts +0 -0
- /package/{components → types/components}/tabsView/tabsView/menuTitle.vue.d.ts +0 -0
- /package/{components → types/components}/tabsView/tabsView/store.d.ts +0 -0
- /package/{components → types/components}/tabsView/tabsView/tabsView.vue.d.ts +0 -0
- /package/{components → types/components}/tabsView/tabsView/types.d.ts +0 -0
- /package/{components → types/components}/tabsView/tabsView/utils.d.ts +0 -0
- /package/{components → types/components}/tabsView/tabsView.d.ts +0 -0
- /package/{core → types/core}/app.d.ts +0 -0
- /package/{core → types/core}/core/core.d.ts +0 -0
- /package/{core → types/core}/core/events/resize.d.ts +0 -0
- /package/{core → types/core}/core/events.d.ts +0 -0
- /package/{core → types/core}/core/options.d.ts +0 -0
- /package/{core → types/core}/core/preloaders.d.ts +0 -0
- /package/{core → types/core}/core/state.d.ts +0 -0
- /package/{core → types/core}/directives/data.d.ts +0 -0
- /package/{core → types/core}/directives/focus.d.ts +0 -0
- /package/{core → types/core}/directives/preloader.d.ts +0 -0
- /package/{core → types/core}/directives/scrollIntoView.d.ts +0 -0
- /package/{core → types/core}/directives/scrollShadow.d.ts +0 -0
- /package/{core → types/core}/directives/sticky.d.ts +0 -0
- /package/{core → types/core}/directives/swimUp.d.ts +0 -0
- /package/{core → types/core}/directives/tooltip.d.ts +0 -0
- /package/{core → types/core}/plugins/core.d.ts +0 -0
- /package/{core → types/core}/plugins/i18n.d.ts +0 -0
- /package/{core → types/core}/plugins/piniaTPA.d.ts +0 -0
- /package/{core → types/core}/utils/check.d.ts +0 -0
- /package/{core → types/core}/utils/clipboard.d.ts +0 -0
- /package/{core → types/core}/utils/date.d.ts +0 -0
- /package/{core → types/core}/utils/device.d.ts +0 -0
- /package/{core → types/core}/utils/dom.d.ts +0 -0
- /package/{core → types/core}/utils/image.d.ts +0 -0
- /package/{core → types/core}/utils/keyboard.d.ts +0 -0
- /package/{core → types/core}/utils/lodash.d.ts +0 -0
- /package/{core → types/core}/utils/number.d.ts +0 -0
- /package/{core → types/core}/utils/price.d.ts +0 -0
- /package/{core → types/core}/utils/route.d.ts +0 -0
- /package/{core → types/core}/utils/scroll.d.ts +0 -0
- /package/{core → types/core}/utils/searchers.d.ts +0 -0
- /package/{core → types/core}/utils/store/localStorage.d.ts +0 -0
- /package/{core → types/core}/utils/store/plugin.d.ts +0 -0
- /package/{core → types/core}/utils/store/store.d.ts +0 -0
- /package/{core → types/core}/utils/store.d.ts +0 -0
- /package/{core → types/core}/utils/system.d.ts +0 -0
- /package/{core → types/core}/utils/url.d.ts +0 -0
- /package/{dialog → types/dialog}/dialog.d.ts +0 -0
- /package/{extra → types/extra}/extra.d.ts +0 -0
- /package/{forms/helpers.d.ts → types/for-delete/core.d.ts} +0 -0
- /package/{forms → types/forms}/forms.d.ts +0 -0
- /package/{formsExt → types/formsExt}/formsExt.d.ts +0 -0
- /package/{layout → types/layout}/layout.d.ts +0 -0
- /package/{popup → types/popup}/popup.d.ts +0 -0
- /package/{popup → types/popup}/worker.d.ts +0 -0
- /package/{project → types/project}/project.d.ts +0 -0
- /package/{tabs → types/tabs}/tabs.d.ts +0 -0
- /package/{tabsView → types/tabsView}/tabsView.d.ts +0 -0
- /package/{utils → types/utils}/check.d.ts +0 -0
- /package/{utils → types/utils}/clipboard.d.ts +0 -0
- /package/{utils → types/utils}/date.d.ts +0 -0
- /package/{utils → types/utils}/device.d.ts +0 -0
- /package/{utils → types/utils}/dom.d.ts +0 -0
- /package/{utils → types/utils}/image.d.ts +0 -0
- /package/{utils → types/utils}/keyboard.d.ts +0 -0
- /package/{utils → types/utils}/lodash.d.ts +0 -0
- /package/{utils → types/utils}/number.d.ts +0 -0
- /package/{utils → types/utils}/price.d.ts +0 -0
- /package/{utils → types/utils}/route.d.ts +0 -0
- /package/{utils → types/utils}/scroll.d.ts +0 -0
- /package/{utils → types/utils}/searchers.d.ts +0 -0
- /package/{utils → types/utils}/store.d.ts +0 -0
- /package/{utils → types/utils}/string.d.ts +0 -0
- /package/{utils → types/utils}/system.d.ts +0 -0
- /package/{utils → types/utils}/url.d.ts +0 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Компонент с определением конкретного диалогового окна с использованием компонента `TopDialog`
|
|
4
|
+
*/
|
|
5
|
+
export type TopDialogComponent = Component & {
|
|
6
|
+
id?: string;
|
|
7
|
+
};
|
|
8
|
+
export type AsyncDialogComponentResolveResult<T extends TopDialogComponent> = {
|
|
9
|
+
default: T;
|
|
10
|
+
};
|
|
11
|
+
export type AsyncTopDialogComponentLoader<T extends TopDialogComponent> = () => Promise<AsyncDialogComponentResolveResult<T>>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { TopDialogHandle } from './dialogHandle';
|
|
2
|
+
import { AsyncTopDialogHandle } from './asyncDialogHandle';
|
|
3
|
+
import { AsyncTopDialogComponentLoader, TopDialogComponent } from './types';
|
|
4
|
+
import { TopDialogHandle } from '../../../dialog/dialog/composables/dialogHandle';
|
|
5
|
+
import { TopDialogComponent } from '../../../dialog/dialog/composables/types';
|
|
6
|
+
/**
|
|
7
|
+
* Получить объект управленя текущим диалоговым окном
|
|
8
|
+
*/
|
|
9
|
+
export declare const useTopDialogSelf: () => TopDialogHandle<TopDialogComponent> | TopDialogHandle<TopDialogComponent>;
|
|
10
|
+
/**
|
|
11
|
+
* Получить объект управленя диалоговым окном
|
|
12
|
+
*
|
|
13
|
+
* При первом вызове компонент диалогового окна будет внедрен в компонент DialogWrapper
|
|
14
|
+
*/
|
|
15
|
+
export declare const useTopDialog: <T extends TopDialogComponent>(DialogComponent: T) => TopDialogHandle<T>;
|
|
16
|
+
/**
|
|
17
|
+
* Получить объект управленя асинхронным диалоговым окном
|
|
18
|
+
*
|
|
19
|
+
* Компонент диалогового окна будет загружен и инициирован при первом взаимодействии с объектом
|
|
20
|
+
*
|
|
21
|
+
* Использует useTopDialog()
|
|
22
|
+
*/
|
|
23
|
+
export declare const useAsyncTopDialog: <T extends TopDialogComponent>(resolve: AsyncTopDialogComponentLoader<T>) => AsyncTopDialogHandle<T>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Props, Slots } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
5
|
+
slots: Readonly<Slots> & Slots;
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: HTMLDivElement;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
11
|
+
close: (pageName: string) => any;
|
|
12
|
+
open: (pageName: string) => any;
|
|
13
|
+
}, string, PublicProps, Readonly<Props> & Readonly<{
|
|
14
|
+
onClose?: ((pageName: string) => any) | undefined;
|
|
15
|
+
onOpen?: ((pageName: string) => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
modal: boolean;
|
|
18
|
+
width: string;
|
|
19
|
+
height: string;
|
|
20
|
+
historyType: "push" | "replace";
|
|
21
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
22
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { TopDialogHandle } from '../../../dialog/dialog/composables/dialogHandle';
|
|
2
|
+
import { TopDialogComponent } from '../../../dialog/dialog/composables/types';
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
|
+
/**
|
|
5
|
+
* Получить компонент диалогового окна по id
|
|
6
|
+
*/
|
|
7
|
+
export declare const getDialogWorker: (id: string) => TopDialogHandle<TopDialogComponent> | undefined;
|
|
8
|
+
/**
|
|
9
|
+
* Добавить компонент диалогового окна для использования
|
|
10
|
+
*/
|
|
11
|
+
export declare const addDialogWorker: <T extends TopDialogComponent>(TopDialogComponent: T) => TopDialogHandle<T>;
|
|
12
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
export interface Props extends PropsCommon {
|
|
2
|
+
/**
|
|
3
|
+
* Статус загрузки страницы диалогового окна
|
|
4
|
+
*
|
|
5
|
+
* При включении взаимодействие со страницей блокируется, отображается анимация загрузки
|
|
6
|
+
*/
|
|
7
|
+
isLoading?: boolean;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Общие props для компонентов реализуюущих TopDialogPage
|
|
11
|
+
*/
|
|
12
|
+
export interface PropsCommon {
|
|
13
|
+
/**
|
|
14
|
+
* Имя страницы для диалогового окна
|
|
15
|
+
*
|
|
16
|
+
* Имя страницы нужно для навигации между страницами в одном диалоговом окне
|
|
17
|
+
*/
|
|
18
|
+
name: string;
|
|
19
|
+
/**
|
|
20
|
+
* Порядкой номер страницы в диалоговом окне
|
|
21
|
+
*
|
|
22
|
+
* Одна и та же страница может быть подключена в разные диалоговые окна и иметь разный порядковый номер
|
|
23
|
+
*/
|
|
24
|
+
order: number;
|
|
25
|
+
/**
|
|
26
|
+
* Имя предыдущей страницы
|
|
27
|
+
*
|
|
28
|
+
* Для кнопки Назад / Закрыть в мобильной версии
|
|
29
|
+
*/
|
|
30
|
+
prevName?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Стиль отображения футера, при котороым элементы растягиваются на всю ширину
|
|
33
|
+
*
|
|
34
|
+
* Разрешены переносы
|
|
35
|
+
*/
|
|
36
|
+
footerFullWith?: boolean;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Общие props для компонентов реализуюущих TopDialogPage
|
|
40
|
+
*
|
|
41
|
+
* Для не SFC компонентов
|
|
42
|
+
*/
|
|
43
|
+
export declare const propsPageCommon: {
|
|
44
|
+
name: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
required: boolean;
|
|
47
|
+
};
|
|
48
|
+
order: {
|
|
49
|
+
type: NumberConstructor;
|
|
50
|
+
required: boolean;
|
|
51
|
+
};
|
|
52
|
+
prevName: StringConstructor;
|
|
53
|
+
footerFullWith: BooleanConstructor;
|
|
54
|
+
};
|
|
55
|
+
export interface Slots {
|
|
56
|
+
/**
|
|
57
|
+
* Шапка страницы
|
|
58
|
+
*/
|
|
59
|
+
header(props: {}): any;
|
|
60
|
+
/**
|
|
61
|
+
* Кнопки для шапки страницы
|
|
62
|
+
*/
|
|
63
|
+
headerButtons?(props: {}): any;
|
|
64
|
+
/**
|
|
65
|
+
* Контент страницы
|
|
66
|
+
*/
|
|
67
|
+
body(props: {}): any;
|
|
68
|
+
/**
|
|
69
|
+
* Футер страницы
|
|
70
|
+
*/
|
|
71
|
+
footer?(props: {}): any;
|
|
72
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { PropsCommon } from '../page/types';
|
|
2
|
+
import { Component } from 'vue';
|
|
3
|
+
export interface Props extends PropsCommon {
|
|
4
|
+
/**
|
|
5
|
+
* Компонент страницы с реализицией TopDialogPage
|
|
6
|
+
*/
|
|
7
|
+
component: Component;
|
|
8
|
+
/**
|
|
9
|
+
* Кешировать ли эту страницу
|
|
10
|
+
*
|
|
11
|
+
* По умолчанию: true
|
|
12
|
+
*/
|
|
13
|
+
keepAlive?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Произвольный набор props, который будет передан в компонент страницы
|
|
16
|
+
*/
|
|
17
|
+
props?: Record<string, any>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DefineProps } from 'vue';
|
|
2
|
+
import { TopDialogPagePropsCommon } from '../../../../../dialog/dialog';
|
|
3
|
+
/**
|
|
4
|
+
* Логирования в console.log() событий страницы диалогового окна
|
|
5
|
+
* @param props
|
|
6
|
+
*/
|
|
7
|
+
export declare const useLog: (props: DefineProps<TopDialogPagePropsCommon, never>) => void;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export interface Props {
|
|
2
|
+
id: string;
|
|
3
|
+
/**
|
|
4
|
+
* Имя активной страницы
|
|
5
|
+
*/
|
|
6
|
+
pageActive: string;
|
|
7
|
+
/**
|
|
8
|
+
* Базовая ширина окна
|
|
9
|
+
*/
|
|
10
|
+
width?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Базовая высота окна
|
|
13
|
+
*
|
|
14
|
+
* Установите auto, если окно должно подстраиваться под размеры содержимого
|
|
15
|
+
*
|
|
16
|
+
* Установите значение, если окно должно подстраиваться под размеры содержимого
|
|
17
|
+
*
|
|
18
|
+
* @example 'auto'
|
|
19
|
+
* @example '200px'
|
|
20
|
+
*/
|
|
21
|
+
height?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Является ли окно модальным
|
|
24
|
+
*
|
|
25
|
+
* @see https://api.jqueryui.com/dialog/#option-modal
|
|
26
|
+
*/
|
|
27
|
+
modal?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Позиция окна
|
|
30
|
+
*
|
|
31
|
+
* @see https://api.jqueryui.com/dialog/#option-position
|
|
32
|
+
*/
|
|
33
|
+
position?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Для хеш-навигации
|
|
36
|
+
*/
|
|
37
|
+
historyType?: 'push' | 'replace';
|
|
38
|
+
/**
|
|
39
|
+
* Список css классов для диалогового окна
|
|
40
|
+
*/
|
|
41
|
+
classes?: string[];
|
|
42
|
+
}
|
|
43
|
+
export type Emits = {
|
|
44
|
+
/**
|
|
45
|
+
* Диалоговое окно было открыто
|
|
46
|
+
*/
|
|
47
|
+
open: [pageName: string];
|
|
48
|
+
/**
|
|
49
|
+
* Диалоговое окно было закрыто
|
|
50
|
+
*/
|
|
51
|
+
close: [pageName: string];
|
|
52
|
+
};
|
|
53
|
+
export interface Slots {
|
|
54
|
+
/**
|
|
55
|
+
* Слот с компонентами `TopDialogPage` и / или `TopDialogPageComponent`
|
|
56
|
+
*/
|
|
57
|
+
default(props: {}): any;
|
|
58
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { default as TopDialog } from '../dialog/dialog/dialog.vue';
|
|
2
|
+
export { default as TopDialogPage } from '../dialog/dialog/page/page.vue';
|
|
3
|
+
export type { PropsCommon as TopDialogPagePropsCommon } from '../dialog/dialog/page/types';
|
|
4
|
+
export { propsPageCommon } from '../dialog/dialog/page/types';
|
|
5
|
+
export { default as TopDialogPageComponent } from '../dialog/dialog/pageComponent/pageComponent.vue';
|
|
6
|
+
export { useTopDialogSelf } from '../dialog/dialog/composables/utils';
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export type TopDialogOptions = {
|
|
2
|
+
/**
|
|
3
|
+
* Загрузчик для компонентов диалоговых окон по их id
|
|
4
|
+
*/
|
|
5
|
+
load?: TopDialogLoad;
|
|
6
|
+
/**
|
|
7
|
+
* Глобальный декоратор на событие инициализации диалогового окна
|
|
8
|
+
*/
|
|
9
|
+
decoratorOnCreate?: DecoratorOnCreate;
|
|
10
|
+
/**
|
|
11
|
+
* Пауза перед загрузкой утилиты диалоговых окон в ms
|
|
12
|
+
*
|
|
13
|
+
* Для производительности
|
|
14
|
+
*
|
|
15
|
+
* Утилиты будут в любом случае загружены при работе с диалоговыми окнами, но их не надо грузить каждый раз после открытия страинцы
|
|
16
|
+
*/
|
|
17
|
+
autoInitDelay?: number;
|
|
18
|
+
};
|
|
19
|
+
export type TopDialogLoad = (dialogId: string) => Promise<void>;
|
|
20
|
+
export type DecoratorOnCreate = (elDialog: HTMLElement) => Promise<void>;
|
|
21
|
+
export type MoveDirection = 'next' | 'prev' | 'none';
|
|
22
|
+
export type ElTopDialogOpener<El extends HTMLElement = HTMLElement> = El & {
|
|
23
|
+
dataset: {
|
|
24
|
+
toView: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export type ElTopDialogWrapper = HTMLElement & {
|
|
28
|
+
querySelector: (selectors: '.ui-dialog-content') => ElTopDialog;
|
|
29
|
+
};
|
|
30
|
+
export type ElTopDialog = HTMLElement & {
|
|
31
|
+
getAttribute: (qualifiedName: 'id') => string;
|
|
32
|
+
closest: (el: '.ui-dialog') => ElTopDialogWrapper;
|
|
33
|
+
dataset: {
|
|
34
|
+
viewPageActive: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
export type ElTopDialogBody = HTMLElement;
|
|
38
|
+
export type ElTopDialogPage = HTMLElement & {
|
|
39
|
+
dataset: {
|
|
40
|
+
'view-page': string;
|
|
41
|
+
order?: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
export type ElTopDialogModalLayer = HTMLElement;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { MoveDirection } from './types';
|
|
2
|
+
export declare const TopDialogUtils: {
|
|
3
|
+
updatePageVue: (dialogId: string, pageName?: string, pageNameNext?: string) => Promise<void>;
|
|
4
|
+
recalcPositions: () => void;
|
|
5
|
+
getDialogWrapperId: (dialogId: string) => string;
|
|
6
|
+
getDialogInnerId: (dialogId: string) => string;
|
|
7
|
+
toViewDirty: (toViewPageName: string, moveDirection?: MoveDirection) => Promise<void>;
|
|
8
|
+
toView: (viewNameOrElDialog: HTMLDialogElement | string, pageName?: string, args?: string[], moveDirection?: MoveDirection, callback?: Function) => Promise<void>;
|
|
9
|
+
toViewPage: (elDialog: HTMLDialogElement, pageName?: string, args?: string[], moveDirection?: MoveDirection) => Promise<void>;
|
|
10
|
+
toPrevPage: (elDialog: HTMLDialogElement) => void;
|
|
11
|
+
setLoading: (elPages: HTMLElement[], isLoading: boolean, duration?: number) => void;
|
|
12
|
+
isLoading: (elPage: HTMLElement) => boolean;
|
|
13
|
+
inAnimation: (elDialogInner: HTMLElement) => boolean;
|
|
14
|
+
close: (dialogId: string) => void;
|
|
15
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { MoveDirection, TopDialogOptions } from './types';
|
|
2
|
+
export declare abstract class TopDialogWorker {
|
|
3
|
+
static state: {
|
|
4
|
+
load: TopDialogOptions["load"] | undefined;
|
|
5
|
+
decoratorOnCreate: TopDialogOptions["decoratorOnCreate"] | undefined;
|
|
6
|
+
/**
|
|
7
|
+
* Порядковай номер перехода в диалоговых окнах
|
|
8
|
+
*
|
|
9
|
+
* Для расчета анимации Вперед / Назад
|
|
10
|
+
*/
|
|
11
|
+
viewPageN: number;
|
|
12
|
+
};
|
|
13
|
+
private static inited;
|
|
14
|
+
/**
|
|
15
|
+
* Инициировать события слежения за парамтерами url
|
|
16
|
+
*
|
|
17
|
+
* Если в параметрах есть запрос на открытие диалогового окна, TopDialog будет автоматически подключен на страницу
|
|
18
|
+
*/
|
|
19
|
+
static init(options?: TopDialogOptions): void;
|
|
20
|
+
private static opendDialogsFromChangeUrl;
|
|
21
|
+
static getDialogsUtils(): Promise<{
|
|
22
|
+
updatePageVue: (dialogId: string, pageName?: string, pageNameNext?: string) => Promise<void>;
|
|
23
|
+
recalcPositions: () => void;
|
|
24
|
+
getDialogWrapperId: (dialogId: string) => string;
|
|
25
|
+
getDialogInnerId: (dialogId: string) => string;
|
|
26
|
+
toViewDirty: (toViewPageName: string, moveDirection?: MoveDirection) => Promise<void>;
|
|
27
|
+
toView: (viewNameOrElDialog: HTMLDialogElement | string, pageName?: string, args?: string[], moveDirection?: MoveDirection, callback?: Function) => Promise<void>;
|
|
28
|
+
toViewPage: (elDialog: HTMLDialogElement, pageName?: string, args?: string[], moveDirection?: MoveDirection) => Promise<void>;
|
|
29
|
+
toPrevPage: (elDialog: HTMLDialogElement) => void;
|
|
30
|
+
setLoading: (elPages: HTMLElement[], isLoading: boolean, duration?: number) => void;
|
|
31
|
+
isLoading: (elPage: HTMLElement) => boolean;
|
|
32
|
+
inAnimation: (elDialogInner: HTMLElement) => boolean;
|
|
33
|
+
close: (dialogId: string) => void;
|
|
34
|
+
}>;
|
|
35
|
+
static getDialog(el: HTMLElement): HTMLDialogElement | null;
|
|
36
|
+
static getPage(el: HTMLElement): Element | null;
|
|
37
|
+
/**
|
|
38
|
+
* @deprecated Для совместимости использования этого метода
|
|
39
|
+
*/
|
|
40
|
+
static get$page: typeof TopDialogWorker.getPage;
|
|
41
|
+
static getPairPage(el: HTMLElement): Element | null | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* Закрыть диалоговое окно
|
|
44
|
+
*/
|
|
45
|
+
static close(dialogId: string): void;
|
|
46
|
+
/**
|
|
47
|
+
* Размонтировать $.dialog
|
|
48
|
+
*/
|
|
49
|
+
static destroy(dialogId: string): void;
|
|
50
|
+
/**
|
|
51
|
+
* Сгенерировать ссылку на страницу в диалоговом окне
|
|
52
|
+
* @param toView - указатель в формате: dialog_{{ dialogId }}={{ pageName }}:{{ args }}
|
|
53
|
+
* @param moveDirection
|
|
54
|
+
*/
|
|
55
|
+
static genViewPageHash(toView: string, moveDirection?: MoveDirection): string;
|
|
56
|
+
/**
|
|
57
|
+
* Сравнить версию открытых диалоговых окон
|
|
58
|
+
* @returns вернет true, если состояния открытых окон изменилось
|
|
59
|
+
*/
|
|
60
|
+
static compareStates(hash: string, hash2: string): boolean;
|
|
61
|
+
static opendDialogsFromUrl: () => Promise<true | void>;
|
|
62
|
+
}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import { Props, Size, Color, Styling } from './types';
|
|
1
|
+
import { Props, Slots, Size, Color, Styling } from './types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
4
|
attrs: Partial<{}>;
|
|
5
|
-
slots:
|
|
6
|
-
default?(_: {}): any;
|
|
7
|
-
html?(_: {}): any;
|
|
8
|
-
};
|
|
5
|
+
slots: Readonly<Slots> & Slots;
|
|
9
6
|
refs: {};
|
|
10
7
|
rootEl: any;
|
|
11
8
|
};
|
|
@@ -29,6 +29,16 @@ export interface Props {
|
|
|
29
29
|
isActive?: boolean;
|
|
30
30
|
isProgress?: boolean;
|
|
31
31
|
}
|
|
32
|
+
export interface Slots {
|
|
33
|
+
/**
|
|
34
|
+
* Текст в кнопке
|
|
35
|
+
*/
|
|
36
|
+
default?(props: {}): any;
|
|
37
|
+
/**
|
|
38
|
+
* HTML в кнопке
|
|
39
|
+
*/
|
|
40
|
+
html?(props: {}): any;
|
|
41
|
+
}
|
|
32
42
|
/**
|
|
33
43
|
* Определение событий
|
|
34
44
|
*/
|
|
@@ -14,9 +14,9 @@ declare function __VLS_template(): {
|
|
|
14
14
|
};
|
|
15
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
16
|
declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
17
|
-
"update:modelValue": (value: boolean |
|
|
17
|
+
"update:modelValue": (value: boolean | number[] | string[] | Set<string> | Set<number> | undefined) => any;
|
|
18
18
|
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
19
|
-
"onUpdate:modelValue"?: ((value: boolean |
|
|
19
|
+
"onUpdate:modelValue"?: ((value: boolean | number[] | string[] | Set<string> | Set<number> | undefined) => any) | undefined;
|
|
20
20
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
21
21
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
22
22
|
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Props } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
4
|
+
accept: () => any;
|
|
5
|
+
}, string, PublicProps, Readonly<Props> & Readonly<{
|
|
6
|
+
onAccept?: (() => any) | undefined;
|
|
7
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface Props {
|
|
2
|
+
/**
|
|
3
|
+
* Заголовок
|
|
4
|
+
*/
|
|
5
|
+
title: string;
|
|
6
|
+
/**
|
|
7
|
+
* Описание в html
|
|
8
|
+
*/
|
|
9
|
+
description: string;
|
|
10
|
+
/**
|
|
11
|
+
* Текст на кнопке
|
|
12
|
+
*/
|
|
13
|
+
acceptText: string;
|
|
14
|
+
}
|
|
15
|
+
export interface Emits {
|
|
16
|
+
/**
|
|
17
|
+
* Нажата кнопка подтверждения
|
|
18
|
+
*/
|
|
19
|
+
(e: 'accept'): void;
|
|
20
|
+
}
|
|
@@ -26,5 +26,5 @@ export declare const useAPI: (apiRequest: Props["apiRequest"], minLength: number
|
|
|
26
26
|
}[]>;
|
|
27
27
|
isLoading: Ref<boolean, boolean>;
|
|
28
28
|
loadAppend: () => Promise<void>;
|
|
29
|
-
setSearchTextAndLoad: (
|
|
29
|
+
setSearchTextAndLoad: (newSearchText: string, useDebounce?: boolean) => void;
|
|
30
30
|
};
|
|
@@ -4,11 +4,13 @@ import { API } from './useAPI';
|
|
|
4
4
|
/**
|
|
5
5
|
* Функционал поиска
|
|
6
6
|
*/
|
|
7
|
-
export declare const useMenu: (model: Ref<Props["modelValue"]>, items: Ref<Props["items"]>, multiselect: Props["multiselect"], appendAllValue: Ref<Props["appendAllValue"]>, appendSearchToResult: Ref<Props["appendSearchToResult"]>, api: API) => {
|
|
7
|
+
export declare const useMenu: (model: Ref<Props["modelValue"]>, items: Ref<Props["items"]>, multiselect: Props["multiselect"], appendAllValue: Ref<Props["appendAllValue"]>, appendSearchToResult: Ref<Props["appendSearchToResult"]>, searchType: Ref<Props["searchType"]>, minLength: number, api: API) => {
|
|
8
8
|
searchText: Ref<string, string>;
|
|
9
9
|
resetSearch: () => void;
|
|
10
|
+
genIsShort: () => boolean;
|
|
10
11
|
items: ComputedRef<Item[]>;
|
|
11
12
|
itemsForShow: ComputedRef<Item[]>;
|
|
13
|
+
selectItem: (item: Item) => void;
|
|
12
14
|
selectNextItem: () => void;
|
|
13
15
|
deleteItemById: (id: Item["id"]) => Promise<void>;
|
|
14
16
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Item, Props, Slots, Size } from './types';
|
|
2
|
-
import {
|
|
2
|
+
import { TopLibPopup } from '../../popup/lib/popup';
|
|
3
|
+
import { ShallowUnwrapRef, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
4
|
type __VLS_Props = Props;
|
|
4
5
|
type __VLS_PublicProps = {
|
|
5
6
|
modelValue: Props['modelValue'];
|
|
@@ -8,6 +9,10 @@ declare function __VLS_template(): {
|
|
|
8
9
|
attrs: Partial<{}>;
|
|
9
10
|
slots: Readonly<Slots> & Slots;
|
|
10
11
|
refs: {
|
|
12
|
+
popupRef: ShallowUnwrapRef<{
|
|
13
|
+
id: string;
|
|
14
|
+
popup: TopLibPopup<undefined> | undefined;
|
|
15
|
+
}> | null;
|
|
11
16
|
subcomponentSelector: unknown;
|
|
12
17
|
};
|
|
13
18
|
rootEl: any;
|
|
@@ -20,10 +25,13 @@ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}
|
|
|
20
25
|
}>, {
|
|
21
26
|
size: Size;
|
|
22
27
|
items: Item[];
|
|
23
|
-
minLength: number;
|
|
24
28
|
searchType: "none" | "inline" | "popup";
|
|
25
|
-
|
|
29
|
+
minLength: number;
|
|
26
30
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
31
|
+
popupRef: ShallowUnwrapRef<{
|
|
32
|
+
id: string;
|
|
33
|
+
popup: TopLibPopup<undefined> | undefined;
|
|
34
|
+
}> | null;
|
|
27
35
|
subcomponentSelector: unknown;
|
|
28
36
|
}, any>;
|
|
29
37
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Size } from '../../forms/helpers';
|
|
2
|
+
import { Props as ButtonProps } from '../../forms/button/types';
|
|
2
3
|
export interface Props {
|
|
3
4
|
/**
|
|
4
5
|
* Выбранный элемент
|
|
@@ -9,23 +10,41 @@ export interface Props {
|
|
|
9
10
|
/**
|
|
10
11
|
* Список вариантов для выбора
|
|
11
12
|
*
|
|
12
|
-
*
|
|
13
|
+
* При работе с apiRequest, всегда выводится перед результатами apiRequest
|
|
13
14
|
*/
|
|
14
15
|
items?: Item[];
|
|
16
|
+
title?: string;
|
|
17
|
+
disabled?: boolean;
|
|
15
18
|
/**
|
|
16
|
-
*
|
|
19
|
+
* Модификатор элемента, открывающего popup
|
|
17
20
|
*
|
|
18
|
-
*
|
|
21
|
+
* Добавит класс: `top-selector2-{{ modificator }}`
|
|
19
22
|
*/
|
|
20
|
-
|
|
21
|
-
title?: string;
|
|
22
|
-
disabled?: boolean;
|
|
23
|
+
modificator?: string;
|
|
23
24
|
size?: Size;
|
|
24
25
|
isError?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Тип поиска по элементам
|
|
28
|
+
*
|
|
29
|
+
* - none: без поиска
|
|
30
|
+
* - inline: сам Selector является полем ввода, только для `multiselect = false`
|
|
31
|
+
* - popup: поиск будет в popup
|
|
32
|
+
*
|
|
33
|
+
* Для мобильной версии `inline` всегда заменяется на `popup`
|
|
34
|
+
*
|
|
35
|
+
* Константа, после установки менять нельзя
|
|
36
|
+
*/
|
|
37
|
+
searchType?: 'none' | 'inline' | 'popup';
|
|
38
|
+
/**
|
|
39
|
+
* Текст для placeholder поля поиска
|
|
40
|
+
*/
|
|
41
|
+
placeholder?: string;
|
|
25
42
|
/**
|
|
26
43
|
* Если указан, будет выполнена загрузка результатов через API
|
|
27
44
|
*
|
|
28
45
|
* Константа, после установки заменять нельзя
|
|
46
|
+
*
|
|
47
|
+
* @subcategory apiRequest
|
|
29
48
|
*/
|
|
30
49
|
apiRequest?: {
|
|
31
50
|
params: {
|
|
@@ -43,27 +62,35 @@ export interface Props {
|
|
|
43
62
|
/**
|
|
44
63
|
* Минимальная длина для выполнения поиска
|
|
45
64
|
*
|
|
46
|
-
* Для apiRequest
|
|
47
|
-
*
|
|
48
65
|
* Константа, после установки менять нельзя
|
|
66
|
+
*
|
|
67
|
+
* @subcategory apiRequest
|
|
49
68
|
*/
|
|
50
69
|
minLength?: number;
|
|
51
70
|
/**
|
|
52
|
-
* Использовать
|
|
53
|
-
*
|
|
54
|
-
* Для apiRequest
|
|
71
|
+
* Использовать кэширование
|
|
55
72
|
*
|
|
56
73
|
* Константа, после установки менять нельзя
|
|
74
|
+
*
|
|
75
|
+
* @subcategory apiRequest
|
|
57
76
|
*/
|
|
58
77
|
useCache?: boolean;
|
|
59
78
|
/**
|
|
60
79
|
* Добавить в результаты item = {id:null, name:search}, где search - введенная строка в поле поиска
|
|
61
80
|
*/
|
|
62
81
|
appendSearchToResult?: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* Режим выбора нескольких вариантов
|
|
84
|
+
*
|
|
85
|
+
* Константа, после установки менять нельзя
|
|
86
|
+
*
|
|
87
|
+
* @subcategory Multiselect
|
|
88
|
+
*/
|
|
89
|
+
multiselect?: boolean;
|
|
63
90
|
/**
|
|
64
91
|
* Добавить вариант: "Все"
|
|
65
92
|
*
|
|
66
|
-
*
|
|
93
|
+
* @subcategory Single select
|
|
67
94
|
*/
|
|
68
95
|
appendAllValue?: boolean;
|
|
69
96
|
/**
|
|
@@ -71,29 +98,25 @@ export interface Props {
|
|
|
71
98
|
*
|
|
72
99
|
* Работает с props.items без учета apiRequest
|
|
73
100
|
*
|
|
74
|
-
*
|
|
101
|
+
* Нельзя использовать с кнопкой
|
|
102
|
+
*
|
|
103
|
+
* @subcategory Single select
|
|
75
104
|
*/
|
|
76
105
|
addChanger?: boolean;
|
|
77
106
|
/**
|
|
78
|
-
*
|
|
107
|
+
* Настройки кнопки
|
|
79
108
|
*
|
|
80
|
-
*
|
|
81
|
-
* - inline: сам Selector является полем ввода, только для `multiselect = false`
|
|
82
|
-
* - popup: поиск будет в popup
|
|
109
|
+
* Если не указан будет использоваться стандартный стиль селектора
|
|
83
110
|
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
* Константа, после установки менять нельзя
|
|
111
|
+
* @subcategory Single select
|
|
87
112
|
*/
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* Текст для placeholder поля поиска
|
|
91
|
-
*/
|
|
92
|
-
placeholder?: string;
|
|
113
|
+
buttonProps?: ButtonProps;
|
|
93
114
|
/**
|
|
94
|
-
* Выводить в placeholder поля поиска выбранное значение modelValue.name
|
|
115
|
+
* Выводить в placeholder поля поиска выбранное значение `modelValue.name`
|
|
116
|
+
*
|
|
117
|
+
* Всегда включено для `searchType` = `inline`
|
|
95
118
|
*
|
|
96
|
-
*
|
|
119
|
+
* @subcategory Single select
|
|
97
120
|
*/
|
|
98
121
|
selectedAsPlaceholder?: boolean;
|
|
99
122
|
}
|