@topvisor/ui 1.0.42-popupPosition.0 → 1.1.0-addNativeDialog.11
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-BGKb9a73.es.js → core-DyAbOlfX.es.js} +4 -4
- package/.chunks/{core-BGKb9a73.es.js.map → core-DyAbOlfX.es.js.map} +1 -1
- package/.chunks/core-rNR04ITp.amd.js +2 -0
- package/.chunks/{core-D-etXW3Y.amd.js.map → core-rNR04ITp.amd.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-BAK6xG6N.es.js → dialog_selectorRegions-BXNEJotg.es.js} +4 -4
- package/.chunks/{dialog_selectorRegions-BAK6xG6N.es.js.map → dialog_selectorRegions-BXNEJotg.es.js.map} +1 -1
- package/.chunks/dialog_selectorRegions-D64IfJEs.amd.js +2 -0
- package/.chunks/{dialog_selectorRegions-CMI1gx5d.amd.js.map → dialog_selectorRegions-D64IfJEs.amd.js.map} +1 -1
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-DIVnPVQ4.es.js +622 -0
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-DIVnPVQ4.es.js.map +1 -0
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-aLCfJKIO.amd.js +2 -0
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-aLCfJKIO.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-CiM2Ny-s.amd.js +2 -0
- package/.chunks/lazy-CiM2Ny-s.amd.js.map +1 -0
- package/.chunks/lazy-Crun7esL.es.js +39 -0
- package/.chunks/lazy-Crun7esL.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-BVgw26Vp.es.js +151 -0
- package/.chunks/page.vue_vue_type_script_setup_true_lang-BVgw26Vp.es.js.map +1 -0
- package/.chunks/page.vue_vue_type_script_setup_true_lang-DGHsC5Ii.amd.js +2 -0
- package/.chunks/page.vue_vue_type_script_setup_true_lang-DGHsC5Ii.amd.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-BR_kFG05.es.js} +2 -2
- package/.chunks/{utils-CRPkMfKD.es.js.map → utils-BR_kFG05.es.js.map} +1 -1
- package/.chunks/utils-BVONc_yb.amd.js +2 -0
- package/.chunks/{utils-BVdq18mg.amd.js.map → utils-BVONc_yb.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 +265 -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 +3 -3
- 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 +18 -16
- 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 +2 -2
- package/dialog/dialog.js.map +1 -1
- 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 +7 -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 +6 -6
- 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/client.d.ts +8 -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 +12 -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 +17 -0
- package/types/api/index.d.ts +2 -0
- package/{components → types/components}/dialog/dialog/dialog.vue.d.ts +2 -2
- package/{components → types/components}/dialog/lib/types.d.ts +2 -2
- package/types/components/dialog/lib/utils.d.ts +45 -0
- package/{components → types/components}/dialog/lib/worker.d.ts +2 -2
- 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/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/dialog/lib/utils.d.ts +0 -14
- 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/utils.globalEvents.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,48 @@
|
|
|
1
|
+
import { components as componentsTagId } from 'topvisor-openapi/src/ts/Tags_2/Types/TagId';
|
|
2
|
+
type TagId = componentsTagId['schemas']['Tags_2.Types.TagId'];
|
|
3
|
+
type TagIdExclude = `-${TagId}`;
|
|
4
|
+
type DataWithModifierOperator<Model> = {
|
|
5
|
+
[K in keyof Model]: Model[K] | Model[K][] | Set<Model[K]> | string;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* Модификатор оператора сравнения
|
|
9
|
+
*
|
|
10
|
+
* Используется посредством добавления к строковому значению поля для упрощения синтаксиса указания фильтров
|
|
11
|
+
*
|
|
12
|
+
* @example Поиск вхождения `Иван` в поле `name`
|
|
13
|
+
* genFilters({
|
|
14
|
+
* id: 12345, // без модификатора опертора
|
|
15
|
+
* name: '%:' + 'Иван', // с модификатором опертора
|
|
16
|
+
* });
|
|
17
|
+
*/
|
|
18
|
+
type ModifierOperator = '>=' | '<=' | '!=' | '>' | '<' | '%' | '!%' | '^' | '~' | '!~' | 'null' | '!null';
|
|
19
|
+
type ValueWithModifierOperator = `${ModifierOperator}:${string | number}`;
|
|
20
|
+
/**
|
|
21
|
+
* Сгенерировать массив с фильтрами API
|
|
22
|
+
*
|
|
23
|
+
* Ключи - `filedName`, значения - `[ModifierOperator:]fieldValue` / `fieldValues`
|
|
24
|
+
*
|
|
25
|
+
* Значения `undefined` будут пропускаться
|
|
26
|
+
*
|
|
27
|
+
* Додерживает типы:
|
|
28
|
+
*
|
|
29
|
+
* - string, number, boolean - строгое равенство `EQUALS`, если не указан `modifierOperator`
|
|
30
|
+
* - Array - вхождение `IN`
|
|
31
|
+
* - Set<string | number> - вхождение `IN`
|
|
32
|
+
*
|
|
33
|
+
* @see ModifierOperator
|
|
34
|
+
*/
|
|
35
|
+
export declare const genFilters: <Model extends Api.Ext.Schemas["Model"]>(dataWithModifierOperator: DataWithModifierOperator<Model>) => Api.Field.Filter<Model>[];
|
|
36
|
+
/**
|
|
37
|
+
* Сгенерировать и добавить API фильтр из списка тегов
|
|
38
|
+
*/
|
|
39
|
+
export declare const pushFilterTagsIds: <Model extends Api.Ext.Schemas["Model"] = any, FieldName extends Api.Field.Name<Model> = Api.Field.Name<Model>>(name: FieldName, filters: Api.Field.Filter<Model, FieldName>[], tagsIds: Array<TagId | TagIdExclude>) => void;
|
|
40
|
+
/**
|
|
41
|
+
* Сгенерировать API фильтр из простого значения
|
|
42
|
+
*/
|
|
43
|
+
export declare const genFilterPrimitive: <Model extends Api.Ext.Schemas["Model"] = any, FieldName extends Api.Field.Name<Model> = Api.Field.Name<Model>>(name: FieldName, valueWithModifierOperator: number | string | boolean | ValueWithModifierOperator) => Api.Field.Filter<Model, keyof Model>;
|
|
44
|
+
/**
|
|
45
|
+
* Сгенерировать API фильтр IN
|
|
46
|
+
*/
|
|
47
|
+
export declare const genFilterIn: <Model extends Api.Ext.Schemas["Model"] = any, FieldName extends Api.Field.Name<Model> = Api.Field.Name<Model>>(name: FieldName, valuesOrSet: Model[FieldName][] | Set<Model[FieldName]>) => Api.Field.Filter<Model, FieldName>;
|
|
48
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Общие утилиты, которые должны грузиться в отложенном режиме
|
|
3
|
+
*
|
|
4
|
+
* Все такие утилиты являются асинхронными
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Выполнить post запрос в окне браузера
|
|
8
|
+
*
|
|
9
|
+
* @see Api.ClientRequest.callInNewWindow
|
|
10
|
+
* @see Api.ClientRequest.callInSelfWindow
|
|
11
|
+
*/
|
|
12
|
+
export declare const postInWindow: (url: string, data: Record<string, any>, target: "_blank" | "_self") => Promise<void>;
|
|
13
|
+
export declare const dataToForm: (elForm: HTMLFormElement, dataName: string, data: Record<string, any>) => Promise<void>;
|
|
14
|
+
/**
|
|
15
|
+
* Сериализация данных для вставки в виде параметров в url
|
|
16
|
+
*/
|
|
17
|
+
export declare const querySerializer: (data: Record<string, unknown>) => string;
|
|
@@ -4,7 +4,7 @@ declare function __VLS_template(): {
|
|
|
4
4
|
attrs: Partial<{}>;
|
|
5
5
|
slots: Readonly<Slots> & Slots;
|
|
6
6
|
refs: {};
|
|
7
|
-
rootEl:
|
|
7
|
+
rootEl: any;
|
|
8
8
|
};
|
|
9
9
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
10
|
declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -18,7 +18,7 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
|
|
|
18
18
|
height: string;
|
|
19
19
|
modal: boolean;
|
|
20
20
|
historyType: "push" | "replace";
|
|
21
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
21
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
22
22
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
23
|
export default _default;
|
|
24
24
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -24,7 +24,7 @@ export type ElTopDialogOpener<El extends HTMLElement = HTMLElement> = El & {
|
|
|
24
24
|
toView: string;
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
|
-
export type ElTopDialogWrapper =
|
|
27
|
+
export type ElTopDialogWrapper = HTMLDialogElement & {
|
|
28
28
|
querySelector: (selectors: '.ui-dialog-content') => ElTopDialog;
|
|
29
29
|
};
|
|
30
30
|
export type ElTopDialog = HTMLElement & {
|
|
@@ -37,7 +37,7 @@ export type ElTopDialog = HTMLElement & {
|
|
|
37
37
|
export type ElTopDialogBody = HTMLElement;
|
|
38
38
|
export type ElTopDialogPage = HTMLElement & {
|
|
39
39
|
dataset: {
|
|
40
|
-
|
|
40
|
+
viewPage: string;
|
|
41
41
|
order?: string;
|
|
42
42
|
};
|
|
43
43
|
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { ElTopDialog, ElTopDialogPage, MoveDirection, ElTopDialogWrapper } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* Получить id внешнего элемента нативного модального окна
|
|
4
|
+
* @param id - id элемента ElTopDialog
|
|
5
|
+
* @see ElTopDialog
|
|
6
|
+
*/
|
|
7
|
+
export declare const getDialogWrapperId: (id: string) => string;
|
|
8
|
+
/**
|
|
9
|
+
* Получить id внутреннего элемента нативного диалогового окна
|
|
10
|
+
* @param id - id элемента ElTopDialogWrapper
|
|
11
|
+
* @see ElTopDialogWrapper
|
|
12
|
+
*/
|
|
13
|
+
export declare const getDialogId: (id: string) => string;
|
|
14
|
+
/**
|
|
15
|
+
* Получить внешний элемент нативного диалогового окна
|
|
16
|
+
* @param id - id элемента ElTopDialog
|
|
17
|
+
* @see ElTopDialog
|
|
18
|
+
*/
|
|
19
|
+
export declare const getElDialogWrapper: (id: string) => ElTopDialogWrapper;
|
|
20
|
+
/**
|
|
21
|
+
* Получить внутренний элемент нативного диалогового окна
|
|
22
|
+
* @param id - id элемента ElTopDialogWrapper
|
|
23
|
+
* @see ElTopDialogWrapper
|
|
24
|
+
*/
|
|
25
|
+
export declare const getElDialog: (id: string) => ElTopDialog;
|
|
26
|
+
/**
|
|
27
|
+
* Создать и монтировать в body нативную оболочку окна
|
|
28
|
+
* @description Используется только для нативного диалогового окна
|
|
29
|
+
* @param innerId - id окна
|
|
30
|
+
* @param pageActive - активная страница
|
|
31
|
+
*/
|
|
32
|
+
export declare const createAndMountElDialogWrapper: (innerId: string, pageActive: string) => HTMLDialogElement;
|
|
33
|
+
export declare const TopDialogUtils: {
|
|
34
|
+
getElDialogById: (id: string) => ElTopDialog | null;
|
|
35
|
+
updatePageVue: (dialogId: string, pageName?: string, pageNameNext?: string) => Promise<void>;
|
|
36
|
+
recalcPositions: () => void;
|
|
37
|
+
toViewDirty: (toViewPageName: string, moveDirection?: MoveDirection) => Promise<void>;
|
|
38
|
+
toView: (viewNameOrElDialog: ElTopDialog | JQuery<ElTopDialog> | string, pageName?: string, args?: string[], moveDirection?: MoveDirection, callback?: Function) => Promise<void>;
|
|
39
|
+
toViewPage: (elDialog: ElTopDialog | JQuery<ElTopDialog>, pageName?: string, args?: string[], moveDirection?: MoveDirection) => Promise<void>;
|
|
40
|
+
toPrevPage: (elDialog: ElTopDialog) => void;
|
|
41
|
+
setLoading: (elPages: ElTopDialogPage[] | JQuery<ElTopDialogPage>, isLoading: boolean, duration?: number) => void;
|
|
42
|
+
isLoading: (elPage: ElTopDialogPage | JQuery<ElTopDialogPage>) => boolean;
|
|
43
|
+
inAnimation: (elDialog: ElTopDialog | JQuery<ElTopDialog>) => boolean;
|
|
44
|
+
close: (dialogId: string) => void;
|
|
45
|
+
};
|
|
@@ -54,11 +54,11 @@ export declare abstract class TopDialogWorker {
|
|
|
54
54
|
static get$pairPage($el: $el): JQuery<HTMLElement>;
|
|
55
55
|
static getPairPage(el: HTMLElement): HTMLElement[] | undefined;
|
|
56
56
|
/**
|
|
57
|
-
* Закрыть диалоговое окно
|
|
57
|
+
* Закрыть диалоговое окно по его id
|
|
58
58
|
*/
|
|
59
59
|
static close(dialogId: string): void;
|
|
60
60
|
/**
|
|
61
|
-
* Размонтировать
|
|
61
|
+
* Размонтировать диалоговое окно по его id
|
|
62
62
|
*/
|
|
63
63
|
static destroy(dialogId: string): void;
|
|
64
64
|
/**
|
|
@@ -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
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Props } from './types';
|
|
2
|
+
import { PopupEvent } from '../popup/types';
|
|
3
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
4
|
+
declare const _default: <T extends Record<string, any> | undefined = undefined>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
6
|
+
readonly onClose?: ((popupEvent: PopupEvent<T>) => any) | undefined;
|
|
7
|
+
readonly onOpen?: ((popupEvent: PopupEvent<T>) => any) | undefined;
|
|
8
|
+
readonly onScrollContentList?: ((e: Event) => any) | undefined;
|
|
9
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onClose" | "onOpen" | "onScrollContentList"> & Props<T> & Partial<{}>> & PublicProps;
|
|
10
|
+
expose(exposed: ShallowUnwrapRef<{}>): void;
|
|
11
|
+
attrs: any;
|
|
12
|
+
slots: {
|
|
13
|
+
opener?(_: {}): any;
|
|
14
|
+
header?(_: {}): any;
|
|
15
|
+
default?(_: {}): any;
|
|
16
|
+
footer?(_: {}): any;
|
|
17
|
+
};
|
|
18
|
+
emit: ((evt: "close", popupEvent: PopupEvent<T>) => void) & ((evt: "open", popupEvent: PopupEvent<T>) => void) & ((evt: "scrollContentList", e: Event) => void);
|
|
19
|
+
}>) => VNode & {
|
|
20
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
21
|
+
};
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_PrettifyLocal<T> = {
|
|
24
|
+
[K in keyof T]: T[K];
|
|
25
|
+
} & {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { PopupEvent } from '../popup/types';
|
|
2
|
+
import { Props } from './types';
|
|
3
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
4
|
+
declare const _default: <T extends Record<string, any> | undefined = undefined>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
6
|
+
readonly onClose?: ((popupEvent: PopupEvent<T>) => any) | undefined;
|
|
7
|
+
readonly onOpen?: ((popupEvent: PopupEvent<T>) => any) | undefined;
|
|
8
|
+
readonly onSubmit?: (() => any) | undefined;
|
|
9
|
+
readonly onScrollContentList?: ((e: Event) => any) | undefined;
|
|
10
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onClose" | "onSubmit" | "onOpen" | "onScrollContentList"> & Props<T> & Partial<{}>> & PublicProps;
|
|
11
|
+
expose(exposed: ShallowUnwrapRef<{}>): void;
|
|
12
|
+
attrs: any;
|
|
13
|
+
slots: {
|
|
14
|
+
opener?(_: {}): any;
|
|
15
|
+
header?(_: {}): any;
|
|
16
|
+
default?(_: {}): any;
|
|
17
|
+
footer?(_: {}): any;
|
|
18
|
+
};
|
|
19
|
+
emit: ((evt: "close", popupEvent: PopupEvent<T>) => void) & ((evt: "open", popupEvent: PopupEvent<T>) => void) & ((evt: "submit") => void) & ((evt: "scrollContentList", e: Event) => void);
|
|
20
|
+
}>) => VNode & {
|
|
21
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
22
|
+
};
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_PrettifyLocal<T> = {
|
|
25
|
+
[K in keyof T]: T[K];
|
|
26
|
+
} & {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Emits as PopupEmits, Props as PopupProps } from '../popup/types';
|
|
2
|
-
export interface Props extends PopupProps {
|
|
2
|
+
export interface Props<T extends Record<string, any> | undefined = undefined> extends PopupProps<T> {
|
|
3
3
|
/**
|
|
4
4
|
* Текст кнопки отмены
|
|
5
5
|
*/
|
|
@@ -13,7 +13,7 @@ export interface Props extends PopupProps {
|
|
|
13
13
|
*/
|
|
14
14
|
isWarning?: boolean;
|
|
15
15
|
}
|
|
16
|
-
export type Emits = PopupEmits & {
|
|
16
|
+
export type Emits<T extends Record<string, any> | undefined> = PopupEmits<T> & {
|
|
17
17
|
/**
|
|
18
18
|
* Будет вызвано при нажатии кнопок или закрытии окна
|
|
19
19
|
*/
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { default as Component } from '../../component';
|
|
2
|
+
import { OpenerProps } from '../popup/types';
|
|
2
3
|
export interface PopupOptions {
|
|
3
4
|
popup?: string;
|
|
4
5
|
id?: string;
|
|
@@ -21,9 +22,11 @@ export interface PopupOptions {
|
|
|
21
22
|
* - aftershow.top-menu-popup
|
|
22
23
|
* - afterclose.top-menu-popup
|
|
23
24
|
*/
|
|
24
|
-
export declare class TopLibPopup extends Component {
|
|
25
|
+
export declare class TopLibPopup<T extends Record<string, any> | undefined = undefined> extends Component {
|
|
25
26
|
static componentName: string;
|
|
26
|
-
el: HTMLElement
|
|
27
|
+
el: HTMLElement & {
|
|
28
|
+
__TopPopupOpenerProps: OpenerProps<T>;
|
|
29
|
+
};
|
|
27
30
|
elActiveByDefault: boolean | undefined;
|
|
28
31
|
elPopup: HTMLElement | undefined;
|
|
29
32
|
elPopupInner: HTMLElement | undefined;
|
|
@@ -32,6 +35,7 @@ export declare class TopLibPopup extends Component {
|
|
|
32
35
|
elPopupBody: HTMLElement | undefined | null;
|
|
33
36
|
elPopupFooter: HTMLElement | undefined | null;
|
|
34
37
|
elFront: HTMLElement | undefined | null;
|
|
38
|
+
openerIsInput: boolean;
|
|
35
39
|
popupParent: TopLibPopup | undefined;
|
|
36
40
|
$: JQuery<HTMLElement> | undefined;
|
|
37
41
|
elStartPosition: HTMLElement | undefined | null;
|
|
@@ -29,6 +29,8 @@ declare class Worker {
|
|
|
29
29
|
* Вернуть объект компонента popup, привязанный к элементу
|
|
30
30
|
*/
|
|
31
31
|
static getPopup(elPopup: HTMLElement): TopLibPopup;
|
|
32
|
+
static getElPopupOpener(el: Element): HTMLElement | null;
|
|
33
|
+
static getPopupFromOpener(el: HTMLElement): TopLibPopup | null;
|
|
32
34
|
/**
|
|
33
35
|
* Вернуть все элементы с Popup
|
|
34
36
|
*/
|
|
@@ -48,14 +50,14 @@ declare class Worker {
|
|
|
48
50
|
* @param options - опции Popup
|
|
49
51
|
*/
|
|
50
52
|
private static open;
|
|
51
|
-
static close(elPopup: HTMLElement): void;
|
|
53
|
+
static close(elPopup: HTMLElement, restoreFocus?: boolean): void;
|
|
52
54
|
static recalcPosition(elPopup: HTMLElement): void;
|
|
53
55
|
/**
|
|
54
56
|
* Скролл к активному элементу списка
|
|
55
57
|
*/
|
|
56
58
|
static scrollToActive(elPopup: HTMLElement): void;
|
|
57
|
-
static decoratorBeforeOpen(popup: TopLibPopup): void;
|
|
58
|
-
static decoratorAfterOpen(popup: TopLibPopup): void;
|
|
59
|
+
static decoratorBeforeOpen(popup: TopLibPopup<any>): void;
|
|
60
|
+
static decoratorAfterOpen(popup: TopLibPopup<any>): void;
|
|
59
61
|
static decoratorIsIgnoreOuterClick(e: MouseEvent): boolean;
|
|
60
62
|
/**
|
|
61
63
|
* Зарегистрировать Vue компонент
|
|
@@ -68,7 +70,7 @@ declare class Worker {
|
|
|
68
70
|
*/
|
|
69
71
|
static unregVueComponent(id: string): void;
|
|
70
72
|
/**
|
|
71
|
-
*
|
|
73
|
+
* Сгенерировать элемент для открытия popup
|
|
72
74
|
*/
|
|
73
75
|
static genElPopupOpener(tagName: string, props: OpenerProps, ...elsChildrens: HTMLElement[] | string[]): HTMLElement;
|
|
74
76
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { OpenerProps } from './types';
|
|
2
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
3
|
+
declare const _default: <T extends Record<string, any> | undefined = undefined>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & OpenerProps<T> & Partial<{}>> & PublicProps;
|
|
5
|
+
expose(exposed: ShallowUnwrapRef<{}>): void;
|
|
6
|
+
attrs: any;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
emit: {};
|
|
11
|
+
}>) => VNode & {
|
|
12
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
13
|
+
};
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_PrettifyLocal<T> = {
|
|
16
|
+
[K in keyof T]: T[K];
|
|
17
|
+
} & {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { TopLibPopup } from '../lib/popup';
|
|
2
|
+
import { Props, PopupEvent } from './types';
|
|
3
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
4
|
+
declare const _default: <T extends Record<string, any> | undefined = undefined>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
6
|
+
readonly onClose?: ((popupEvent: PopupEvent<T>) => any) | undefined;
|
|
7
|
+
readonly onOpen?: ((popupEvent: PopupEvent<T>) => any) | undefined;
|
|
8
|
+
readonly onScrollContentList?: ((e: Event) => any) | undefined;
|
|
9
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onClose" | "onOpen" | "onScrollContentList"> & Props<T> & Partial<{}>> & PublicProps;
|
|
10
|
+
expose(exposed: ShallowUnwrapRef<{
|
|
11
|
+
id: string;
|
|
12
|
+
popup: TopLibPopup<T> | undefined;
|
|
13
|
+
}>): void;
|
|
14
|
+
attrs: any;
|
|
15
|
+
slots: {
|
|
16
|
+
opener?(_: {}): any;
|
|
17
|
+
header?(_: {
|
|
18
|
+
data: T | undefined;
|
|
19
|
+
}): any;
|
|
20
|
+
widget?(_: {}): any;
|
|
21
|
+
content?(_: {
|
|
22
|
+
data: T | undefined;
|
|
23
|
+
}): any;
|
|
24
|
+
contentList?(_: {
|
|
25
|
+
data: T | undefined;
|
|
26
|
+
}): any;
|
|
27
|
+
footer?(_: {
|
|
28
|
+
data: T | undefined;
|
|
29
|
+
}): any;
|
|
30
|
+
};
|
|
31
|
+
emit: ((evt: "close", popupEvent: PopupEvent<T>) => void) & ((evt: "open", popupEvent: PopupEvent<T>) => void) & ((evt: "scrollContentList", e: Event) => void);
|
|
32
|
+
}>) => VNode & {
|
|
33
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
34
|
+
};
|
|
35
|
+
export default _default;
|
|
36
|
+
type __VLS_PrettifyLocal<T> = {
|
|
37
|
+
[K in keyof T]: T[K];
|
|
38
|
+
} & {};
|