@topvisor/ui 1.1.0-addNativeDialog.11 → 1.1.0-addNativeDialog.12
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-DyAbOlfX.es.js → core-DwmZJeKo.es.js} +45 -45
- package/.chunks/{core-DyAbOlfX.es.js.map → core-DwmZJeKo.es.js.map} +1 -1
- package/.chunks/core-uFZ53eDz.amd.js +2 -0
- package/.chunks/{core-rNR04ITp.amd.js.map → core-uFZ53eDz.amd.js.map} +1 -1
- package/.chunks/{datepicker-U31BrqE_.es.js → datepicker-BiaXdEIn.es.js} +2 -2
- package/.chunks/{datepicker-U31BrqE_.es.js.map → datepicker-BiaXdEIn.es.js.map} +1 -1
- package/.chunks/{datepicker-DsKl-YZR.amd.js → datepicker-DUoArkDy.amd.js} +2 -2
- package/.chunks/{datepicker-DsKl-YZR.amd.js.map → datepicker-DUoArkDy.amd.js.map} +1 -1
- package/.chunks/{dialog_selectorRegions-D64IfJEs.amd.js → dialog_selectorRegions--uU_HPMU.amd.js} +2 -2
- package/.chunks/{dialog_selectorRegions-D64IfJEs.amd.js.map → dialog_selectorRegions--uU_HPMU.amd.js.map} +1 -1
- package/.chunks/{dialog_selectorRegions-BXNEJotg.es.js → dialog_selectorRegions-DKdrXyjJ.es.js} +4 -4
- package/.chunks/{dialog_selectorRegions-BXNEJotg.es.js.map → dialog_selectorRegions-DKdrXyjJ.es.js.map} +1 -1
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-C7vi1i47.amd.js +2 -0
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-C7vi1i47.amd.js.map +1 -0
- package/.chunks/{dialogs.vue_vue_type_script_setup_true_lang-DIVnPVQ4.es.js → dialogs.vue_vue_type_script_setup_true_lang-xvod3Gmp.es.js} +311 -307
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-xvod3Gmp.es.js.map +1 -0
- package/.chunks/{forms-DRhpgERJ.amd.js → forms-CgtkdwgA.amd.js} +3 -3
- package/.chunks/forms-CgtkdwgA.amd.js.map +1 -0
- package/.chunks/{forms-t2AEUjqg.es.js → forms-DarRVke_.es.js} +461 -467
- package/.chunks/forms-DarRVke_.es.js.map +1 -0
- package/.chunks/index-BEI7XZmU.amd.js +2 -0
- package/.chunks/index-BEI7XZmU.amd.js.map +1 -0
- package/.chunks/index-igPkes8X.es.js +48 -0
- package/.chunks/index-igPkes8X.es.js.map +1 -0
- package/.chunks/lazy-BBcejshh.amd.js +2 -0
- package/.chunks/lazy-BBcejshh.amd.js.map +1 -0
- package/.chunks/lazy-gcvTGQlK.es.js +71 -0
- package/.chunks/lazy-gcvTGQlK.es.js.map +1 -0
- package/.chunks/{listItem.vue_vue_type_script_setup_true_lang-C8PDRggQ.amd.js → listItem.vue_vue_type_script_setup_true_lang-CT-EXxJj.amd.js} +2 -2
- package/.chunks/{listItem.vue_vue_type_script_setup_true_lang-C8PDRggQ.amd.js.map → listItem.vue_vue_type_script_setup_true_lang-CT-EXxJj.amd.js.map} +1 -1
- package/.chunks/{listItem.vue_vue_type_script_setup_true_lang-B6psuRkm.es.js → listItem.vue_vue_type_script_setup_true_lang-DzJ_pc-d.es.js} +4 -4
- package/.chunks/{listItem.vue_vue_type_script_setup_true_lang-B6psuRkm.es.js.map → listItem.vue_vue_type_script_setup_true_lang-DzJ_pc-d.es.js.map} +1 -1
- package/.chunks/{menu.vue_vue_type_style_index_0_lang-DRHk9iBB.amd.js → menu.vue_vue_type_style_index_0_lang-BLMYjYLV.amd.js} +2 -2
- package/.chunks/{menu.vue_vue_type_style_index_0_lang-DRHk9iBB.amd.js.map → menu.vue_vue_type_style_index_0_lang-BLMYjYLV.amd.js.map} +1 -1
- package/.chunks/{menu.vue_vue_type_style_index_0_lang-6kqWYFuX.es.js → menu.vue_vue_type_style_index_0_lang-COD_4iTy.es.js} +10 -10
- package/.chunks/{menu.vue_vue_type_style_index_0_lang-6kqWYFuX.es.js.map → menu.vue_vue_type_style_index_0_lang-COD_4iTy.es.js.map} +1 -1
- package/.chunks/{notice-DQ9qFyQ2.amd.js → notice-CPtAnc7p.amd.js} +2 -2
- package/.chunks/{notice-DQ9qFyQ2.amd.js.map → notice-CPtAnc7p.amd.js.map} +1 -1
- package/.chunks/{notice-4bdzRXtl.es.js → notice-fno9saBY.es.js} +2 -2
- package/.chunks/{notice-4bdzRXtl.es.js.map → notice-fno9saBY.es.js.map} +1 -1
- package/.chunks/{page.vue_vue_type_script_setup_true_lang-BVgw26Vp.es.js → page.vue_vue_type_script_setup_true_lang-DRvRAOmG.es.js} +14 -14
- package/.chunks/{page.vue_vue_type_script_setup_true_lang-BVgw26Vp.es.js.map → page.vue_vue_type_script_setup_true_lang-DRvRAOmG.es.js.map} +1 -1
- package/.chunks/{page.vue_vue_type_script_setup_true_lang-DGHsC5Ii.amd.js → page.vue_vue_type_script_setup_true_lang-jdOhWtvA.amd.js} +2 -2
- package/.chunks/{page.vue_vue_type_script_setup_true_lang-DGHsC5Ii.amd.js.map → page.vue_vue_type_script_setup_true_lang-jdOhWtvA.amd.js.map} +1 -1
- package/.chunks/{popup-DuraSW2f.es.js → popup-AG94kehM.es.js} +2 -2
- package/.chunks/{popup-DuraSW2f.es.js.map → popup-AG94kehM.es.js.map} +1 -1
- package/.chunks/{popup-IcMnYYXr.amd.js → popup-CtvJLWn3.amd.js} +2 -2
- package/.chunks/{popup-IcMnYYXr.amd.js.map → popup-CtvJLWn3.amd.js.map} +1 -1
- package/.chunks/{utils-BVONc_yb.amd.js → utils-BmI_WbPx.amd.js} +2 -2
- package/.chunks/{utils-BVONc_yb.amd.js.map → utils-BmI_WbPx.amd.js.map} +1 -1
- package/.chunks/{utils-BR_kFG05.es.js → utils-CjdLXxom.es.js} +2 -2
- package/.chunks/{utils-BR_kFG05.es.js.map → utils-CjdLXxom.es.js.map} +1 -1
- package/.chunks/widgetInput.vue_vue_type_script_setup_true_lang-BK-pTu3V.amd.js +2 -0
- package/.chunks/widgetInput.vue_vue_type_script_setup_true_lang-BK-pTu3V.amd.js.map +1 -0
- package/.chunks/widgetInput.vue_vue_type_script_setup_true_lang-xwjgBq1L.es.js +39 -0
- package/.chunks/widgetInput.vue_vue_type_script_setup_true_lang-xwjgBq1L.es.js.map +1 -0
- package/.chunks/widgetInput.vue_vue_type_style_index_0_lang-Cce9ZdtW.amd.js +2 -0
- package/.chunks/widgetInput.vue_vue_type_style_index_0_lang-Cce9ZdtW.amd.js.map +1 -0
- package/api/additional.d.ts +2 -0
- package/api/index.amd.js +1 -1
- package/api/index.amd.js.map +1 -1
- package/api/index.d.ts +2 -0
- package/api/index.js +117 -102
- package/api/index.js.map +1 -1
- package/assets/core.css +1 -1
- package/assets/forms.css +1 -1
- package/assets/formsExt.css +1 -1
- package/charts/charts.amd.js +1 -1
- package/charts/charts.amd.js.map +1 -1
- package/charts/charts.d.ts +2 -0
- package/charts/charts.js +9 -9
- package/charts/charts.js.map +1 -1
- package/core/app.amd.js +1 -1
- package/core/app.d.ts +2 -0
- package/core/app.js +5 -5
- package/dialog/dialog.amd.js +1 -1
- package/dialog/dialog.d.ts +2 -0
- package/dialog/dialog.js +2 -2
- package/extra/extra.amd.js +1 -1
- package/extra/extra.amd.js.map +1 -1
- package/extra/extra.d.ts +2 -0
- package/extra/extra.js +3 -3
- package/extra/extra.js.map +1 -1
- package/forms/forms.amd.js +1 -1
- package/forms/forms.d.ts +2 -0
- package/forms/forms.js +7 -7
- package/formsExt/formsExt.amd.js +1 -1
- package/formsExt/formsExt.amd.js.map +1 -1
- package/formsExt/formsExt.d.ts +2 -0
- package/formsExt/formsExt.js +331 -322
- 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.d.ts +2 -0
- package/layout/layout.js +29 -29
- package/layout/layout.js.map +1 -1
- package/package.json +5 -10
- package/popup/popup.amd.js +1 -1
- package/popup/popup.amd.js.map +1 -1
- package/popup/popup.d.ts +2 -0
- package/popup/popup.js +76 -108
- package/popup/popup.js.map +1 -1
- package/popup/worker.amd.js +1 -1
- package/popup/worker.d.ts +2 -0
- package/popup/worker.js +2 -2
- package/project/project.amd.js +1 -1
- package/project/project.amd.js.map +1 -1
- package/project/project.d.ts +2 -0
- package/project/project.js +244 -244
- package/project/project.js.map +1 -1
- package/src/api/api/mocker/index.d.ts +9 -0
- package/src/api/api/tests/types.test-d.d.ts +1 -0
- package/{types → src}/api/api/types/api.d.ts +11 -6
- package/{types → src}/api/api/types/client/request.d.ts +6 -0
- package/{types → src}/api/api/types/field.d.ts +1 -1
- package/{types → src}/api/api/types/index.d.ts +1 -0
- package/src/api/api/types/mocker.d.ts +106 -0
- package/{types → src}/api/api/utils/common.d.ts +1 -1
- package/{types → src}/api/api/utils/filters.d.ts +1 -1
- package/{types → src}/api/api/utils/lazy.d.ts +10 -1
- package/src/components/charts/charts.d.ts +2 -0
- package/src/components/dialog/lib/types.d.ts +77 -0
- package/{types → src}/components/dialog/lib/utils.d.ts +8 -7
- package/{types → src}/components/dialog/lib/worker.d.ts +8 -4
- package/src/components/extra/extra.d.ts +1 -0
- package/src/components/forms/forms.d.ts +15 -0
- package/src/components/formsExt/formsExt.d.ts +8 -0
- package/src/components/formsExt/selector2/composables/useAPI.d.ts +18 -0
- package/{types → src}/components/formsExt/selector2/types.d.ts +15 -19
- package/src/components/layout/layout.d.ts +4 -0
- package/src/components/popup/popup.d.ts +7 -0
- package/src/components/project/project.d.ts +9 -0
- package/src/components/tabs/tabs.d.ts +3 -0
- package/src/components/tabsView/tabsView.d.ts +3 -0
- package/tabs/tabs.amd.js +1 -1
- package/tabs/tabs.amd.js.map +1 -1
- package/tabs/tabs.d.ts +2 -0
- package/tabs/tabs.js +14 -14
- package/tabs/tabs.js.map +1 -1
- package/tabsView/tabsView.amd.js +1 -1
- package/tabsView/tabsView.amd.js.map +1 -1
- package/tabsView/tabsView.d.ts +2 -0
- package/tabsView/tabsView.js +48 -47
- package/tabsView/tabsView.js.map +1 -1
- package/utils/check.d.ts +2 -0
- package/utils/clipboard.amd.js +1 -1
- package/utils/clipboard.d.ts +2 -0
- package/utils/clipboard.js +1 -1
- package/utils/date.amd.js +1 -1
- package/utils/date.d.ts +2 -0
- package/utils/date.js +1 -1
- package/utils/device.amd.js +1 -1
- package/utils/device.d.ts +2 -0
- package/utils/device.js +4 -4
- package/utils/dom.d.ts +6 -0
- package/utils/image.d.ts +2 -0
- package/utils/keyboard.d.ts +2 -0
- package/utils/lodash.amd.js +1 -1
- package/utils/lodash.d.ts +2 -0
- package/utils/lodash.js +1 -1
- package/utils/number.d.ts +2 -0
- package/utils/price.amd.js +1 -1
- package/utils/price.d.ts +2 -0
- package/utils/price.js +1 -1
- package/utils/route.d.ts +2 -0
- package/utils/scroll.d.ts +2 -0
- package/utils/searchers.amd.js +1 -1
- package/utils/searchers.d.ts +2 -0
- package/utils/searchers.js +3 -3
- package/utils/store.d.ts +2 -0
- package/utils/string.amd.js +1 -1
- package/utils/string.d.ts +2 -0
- package/utils/string.js +1 -1
- package/utils/system.d.ts +2 -0
- package/utils/url.d.ts +2 -0
- package/.chunks/core-rNR04ITp.amd.js +0 -2
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-DIVnPVQ4.es.js.map +0 -1
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-aLCfJKIO.amd.js +0 -2
- package/.chunks/dialogs.vue_vue_type_script_setup_true_lang-aLCfJKIO.amd.js.map +0 -1
- package/.chunks/forms-DRhpgERJ.amd.js.map +0 -1
- package/.chunks/forms-t2AEUjqg.es.js.map +0 -1
- package/.chunks/lazy-CiM2Ny-s.amd.js +0 -2
- package/.chunks/lazy-CiM2Ny-s.amd.js.map +0 -1
- package/.chunks/lazy-Crun7esL.es.js +0 -39
- package/.chunks/lazy-Crun7esL.es.js.map +0 -1
- package/types/api/additional.d.ts +0 -2
- package/types/api/api/tests/model.d.ts +0 -0
- package/types/api/api/tests/test.d.ts +0 -16
- package/types/api/index.d.ts +0 -2
- package/types/charts/charts.d.ts +0 -2
- package/types/components/charts/charts.d.ts +0 -5
- package/types/components/dialog/lib/types.d.ts +0 -44
- package/types/components/extra/extra.d.ts +0 -3
- package/types/components/forms/forms.d.ts +0 -31
- package/types/components/formsExt/formsExt.d.ts +0 -17
- package/types/components/formsExt/selector2/composables/useAPI.d.ts +0 -30
- package/types/components/layout/layout.d.ts +0 -9
- package/types/components/popup/popup.d.ts +0 -15
- package/types/components/project/project.d.ts +0 -15
- package/types/components/tabs/tabs.d.ts +0 -7
- package/types/components/tabsView/tabsView.d.ts +0 -7
- package/types/dialog/dialog.d.ts +0 -2
- package/types/extra/extra.d.ts +0 -2
- package/types/for-delete/core.d.ts +0 -1
- package/types/for-delete/dark-positions.d.ts +0 -1
- package/types/for-delete/dark-th-positions.d.ts +0 -1
- package/types/for-delete/dark-th.d.ts +0 -1
- package/types/for-delete/dark.d.ts +0 -1
- package/types/for-delete/light-positions.d.ts +0 -1
- package/types/for-delete/light.d.ts +0 -1
- package/types/forms/forms.d.ts +0 -2
- package/types/formsExt/formsExt.d.ts +0 -2
- package/types/layout/layout.d.ts +0 -2
- package/types/popup/popup.d.ts +0 -2
- package/types/popup/worker.d.ts +0 -2
- package/types/project/project.d.ts +0 -2
- package/types/tabs/tabs.d.ts +0 -2
- package/types/tabsView/tabsView.d.ts +0 -2
- package/types/utils/check.d.ts +0 -2
- package/types/utils/clipboard.d.ts +0 -2
- package/types/utils/date.d.ts +0 -2
- package/types/utils/device.d.ts +0 -2
- package/types/utils/dom.d.ts +0 -6
- package/types/utils/image.d.ts +0 -2
- package/types/utils/keyboard.d.ts +0 -2
- package/types/utils/lodash.d.ts +0 -2
- package/types/utils/number.d.ts +0 -2
- package/types/utils/price.d.ts +0 -2
- package/types/utils/route.d.ts +0 -2
- package/types/utils/scroll.d.ts +0 -2
- package/types/utils/searchers.d.ts +0 -2
- package/types/utils/store.d.ts +0 -2
- package/types/utils/string.d.ts +0 -2
- package/types/utils/system.d.ts +0 -2
- package/types/utils/url.d.ts +0 -2
- package/assets/{popup.css → widgetInput.css} +0 -0
- package/{types/forms → forms}/helpers.d.ts +0 -0
- package/{types → src}/api/api/additional.d.ts +0 -0
- package/{types → src}/api/api/client/client.d.ts +0 -0
- package/{types → src}/api/api/client/request-options.d.ts +0 -0
- package/{types → src}/api/api/client/request.d.ts +0 -0
- package/{types → src}/api/api/index.d.ts +0 -0
- package/{types → src}/api/api/types/client/client.d.ts +0 -0
- package/{types → src}/api/api/types/client/middleware.d.ts +0 -0
- package/{types → src}/api/api/types/client/options.d.ts +0 -0
- package/{types → src}/api/api/types/client/request-context.d.ts +0 -0
- package/{types → src}/api/api/types/client/request-options.d.ts +0 -0
- package/{types → src}/api/api/types/ext.d.ts +0 -0
- package/{types → src}/api/api/types/schema.d.ts +0 -0
- package/{types → src}/api/api/types/tv.d.ts +4 -4
- /package/{types → src}/api/api/types/utils.d.ts +0 -0
- /package/{types → src}/api/api/utils/field.d.ts +0 -0
- /package/{types → src}/components/charts/miniChart/miniChart.vue.d.ts +0 -0
- /package/{types → src}/components/charts/miniChart/types.d.ts +0 -0
- /package/{types → src}/components/charts/miniChart/utils/consts.d.ts +0 -0
- /package/{types → src}/components/charts/miniCharts/miniCharts.d.ts +0 -0
- /package/{types → src}/components/charts/miniCharts/miniCharts.vue.d.ts +0 -0
- /package/{types → src}/components/core/notice/item/item.vue.d.ts +0 -0
- /package/{types → src}/components/core/notice/item/types.d.ts +0 -0
- /package/{types → src}/components/core/notice/notice.vue.d.ts +0 -0
- /package/{types → src}/components/core/notice/types.d.ts +0 -0
- /package/{types → src}/components/core/notice/utils.d.ts +0 -0
- /package/{types → src}/components/dialog/dialog/composables/asyncDialogHandle.d.ts +0 -0
- /package/{types → src}/components/dialog/dialog/composables/dialogHandle.d.ts +0 -0
- /package/{types → src}/components/dialog/dialog/composables/types.d.ts +0 -0
- /package/{types → src}/components/dialog/dialog/composables/utils.d.ts +0 -0
- /package/{types → src}/components/dialog/dialog/dialog.vue.d.ts +0 -0
- /package/{types → src}/components/dialog/dialog/dialogs/dialogs.vue.d.ts +0 -0
- /package/{types → src}/components/dialog/dialog/page/page.vue.d.ts +0 -0
- /package/{types → src}/components/dialog/dialog/page/types.d.ts +0 -0
- /package/{types → src}/components/dialog/dialog/pageComponent/pageComponent.vue.d.ts +0 -0
- /package/{types → src}/components/dialog/dialog/pageComponent/types.d.ts +0 -0
- /package/{types → src}/components/dialog/dialog/stories/dialog_example/pages/utils.d.ts +0 -0
- /package/{types → src}/components/dialog/dialog/types.d.ts +0 -0
- /package/{types → src}/components/dialog/dialog.d.ts +0 -0
- /package/{types → src}/components/dialog/lib/utils.globalEvents.d.ts +0 -0
- /package/{types → src}/components/extra/rive/rive.vue.d.ts +0 -0
- /package/{types → src}/components/extra/rive/types.d.ts +0 -0
- /package/{types → src}/components/forms/avatar/avatar.vue.d.ts +0 -0
- /package/{types → src}/components/forms/avatar/types.d.ts +0 -0
- /package/{types → src}/components/forms/button/button.vue.d.ts +0 -0
- /package/{types → src}/components/forms/button/types.d.ts +0 -0
- /package/{types → src}/components/forms/caption/caption.vue.d.ts +0 -0
- /package/{types → src}/components/forms/caption/types.d.ts +0 -0
- /package/{types → src}/components/forms/checkbox/checkbox.vue.d.ts +0 -0
- /package/{types → src}/components/forms/checkbox/types.d.ts +0 -0
- /package/{types → src}/components/forms/controlLabel/controlLabel.vue.d.ts +0 -0
- /package/{types → src}/components/forms/controlLabel/types.d.ts +0 -0
- /package/{types → src}/components/forms/helpers.d.ts +0 -0
- /package/{types → src}/components/forms/hint/hint.vue.d.ts +0 -0
- /package/{types → src}/components/forms/hint/types.d.ts +0 -0
- /package/{types → src}/components/forms/input/input.vue.d.ts +0 -0
- /package/{types → src}/components/forms/input/types.d.ts +0 -0
- /package/{types → src}/components/forms/inputDate/datepicker.d.ts +0 -0
- /package/{types → src}/components/forms/inputDate/inputDate.vue.d.ts +0 -0
- /package/{types → src}/components/forms/inputDate/types.d.ts +0 -0
- /package/{types → src}/components/forms/inputRange/inputRange.vue.d.ts +0 -0
- /package/{types → src}/components/forms/inputRange/types.d.ts +0 -0
- /package/{types → src}/components/forms/loadbar/loadbar.vue.d.ts +0 -0
- /package/{types → src}/components/forms/preloader/preloader.vue.d.ts +0 -0
- /package/{types → src}/components/forms/preloader/types.d.ts +0 -0
- /package/{types → src}/components/forms/radio/radio.vue.d.ts +0 -0
- /package/{types → src}/components/forms/radio/types.d.ts +0 -0
- /package/{types → src}/components/forms/select/select.vue.d.ts +0 -0
- /package/{types → src}/components/forms/select/types.d.ts +0 -0
- /package/{types → src}/components/forms/switcher/switcher.vue.d.ts +0 -0
- /package/{types → src}/components/forms/switcher/types.d.ts +0 -0
- /package/{types → src}/components/forms/textarea/textarea.vue.d.ts +0 -0
- /package/{types → src}/components/forms/textarea/types.d.ts +0 -0
- /package/{types → src}/components/formsExt/checkboxGroup/checkboxGroup.vue.d.ts +0 -0
- /package/{types → src}/components/formsExt/checkboxGroup/types.d.ts +0 -0
- /package/{types → src}/components/formsExt/editArea/editArea.vue.d.ts +0 -0
- /package/{types → src}/components/formsExt/editArea/types.d.ts +0 -0
- /package/{types → src}/components/formsExt/editInput/editInput.vue.d.ts +0 -0
- /package/{types → src}/components/formsExt/editInput/types.d.ts +0 -0
- /package/{types → src}/components/formsExt/info/info.vue.d.ts +0 -0
- /package/{types → src}/components/formsExt/info/types.d.ts +0 -0
- /package/{types → src}/components/formsExt/menu/menu.vue.d.ts +0 -0
- /package/{types → src}/components/formsExt/menu/types.d.ts +0 -0
- /package/{types → src}/components/formsExt/policy/policy.vue.d.ts +0 -0
- /package/{types → src}/components/formsExt/policy/types.d.ts +0 -0
- /package/{types → src}/components/formsExt/radioGroup/radioGroup.vue.d.ts +0 -0
- /package/{types → src}/components/formsExt/radioGroup/types.d.ts +0 -0
- /package/{types → src}/components/formsExt/selector2/composables/useMenu.d.ts +0 -0
- /package/{types → src}/components/formsExt/selector2/itemMulti.vue.d.ts +0 -0
- /package/{types → src}/components/formsExt/selector2/selector2.vue.d.ts +0 -0
- /package/{types → src}/components/formsExt/selector2/utils.d.ts +0 -0
- /package/{types → src}/components/layout/islandRows/islandRows.vue.d.ts +0 -0
- /package/{types → src}/components/layout/islandRows/islandRowsRow/islandRowsRow.vue.d.ts +0 -0
- /package/{types → src}/components/layout/islandRows/islandRowsRow/types.d.ts +0 -0
- /package/{types → src}/components/layout/islandRows/islandRowsSubTitle/islandRowsSubTitle.vue.d.ts +0 -0
- /package/{types → src}/components/layout/islandRows/types.d.ts +0 -0
- /package/{types → src}/components/layout/rows/rows.vue.d.ts +0 -0
- /package/{types → src}/components/layout/rows/types.d.ts +0 -0
- /package/{types → src}/components/popup/alert/alert.vue.d.ts +0 -0
- /package/{types → src}/components/popup/alert/types.d.ts +0 -0
- /package/{types → src}/components/popup/confirm/confirm.vue.d.ts +0 -0
- /package/{types → src}/components/popup/confirm/types.d.ts +0 -0
- /package/{types → src}/components/popup/lib/popup.d.ts +0 -0
- /package/{types → src}/components/popup/lib/popup.globalEvents.d.ts +0 -0
- /package/{types → src}/components/popup/lib/worker.d.ts +0 -0
- /package/{types → src}/components/popup/lib/worker.globalEvents.d.ts +0 -0
- /package/{types → src}/components/popup/popup/listItem.vue.d.ts +0 -0
- /package/{types → src}/components/popup/popup/opener.vue.d.ts +0 -0
- /package/{types → src}/components/popup/popup/popup.vue.d.ts +0 -0
- /package/{types → src}/components/popup/popup/types.d.ts +0 -0
- /package/{types → src}/components/popup/popup/widgetInput.vue.d.ts +0 -0
- /package/{types → src}/components/popup/prompt/prompt.vue.d.ts +0 -0
- /package/{types → src}/components/popup/prompt/types.d.ts +0 -0
- /package/{types → src}/components/popup/worker.d.ts +0 -0
- /package/{types → src}/components/project/selectorCompetitors/composables.d.ts +0 -0
- /package/{types → src}/components/project/selectorCompetitors/selectorCompetitors.vue.d.ts +0 -0
- /package/{types → src}/components/project/selectorCompetitors/types.d.ts +0 -0
- /package/{types → src}/components/project/selectorRegion/composables/compare.d.ts +0 -0
- /package/{types → src}/components/project/selectorRegion/composables/selectRegion.d.ts +0 -0
- /package/{types → src}/components/project/selectorRegion/composables/selectSearcher.d.ts +0 -0
- /package/{types → src}/components/project/selectorRegion/composables/selectorRegion.d.ts +0 -0
- /package/{types → src}/components/project/selectorRegion/dialog_selectorRegions/dialog_selectorRegions.vue.d.ts +0 -0
- /package/{types → src}/components/project/selectorRegion/dialog_selectorRegions/types.d.ts +0 -0
- /package/{types → src}/components/project/selectorRegion/selectorRegion.vue.d.ts +0 -0
- /package/{types → src}/components/project/selectorRegion/types.d.ts +0 -0
- /package/{types → src}/components/project/selectorRegion/utils/consts.d.ts +0 -0
- /package/{types → src}/components/project/selectorRegion/utils/utils.d.ts +0 -0
- /package/{types → src}/components/project/tagSelector/popupListItem/tagPopupListItem.vue.d.ts +0 -0
- /package/{types → src}/components/project/tagSelector/popupListItem/types.d.ts +0 -0
- /package/{types → src}/components/project/tagSelector/popupOpener/popupOpener.vue.d.ts +0 -0
- /package/{types → src}/components/project/tagSelector/popupOpener/types.d.ts +0 -0
- /package/{types → src}/components/project/tagSelector/tagIcon/tagIcon.vue.d.ts +0 -0
- /package/{types → src}/components/project/tagSelector/tagIcon/types.d.ts +0 -0
- /package/{types → src}/components/project/tagSelector/tagSelector.vue.d.ts +0 -0
- /package/{types → src}/components/project/tagSelector/tagsDefaults.d.ts +0 -0
- /package/{types → src}/components/project/tagSelector/types.d.ts +0 -0
- /package/{types → src}/components/project/tagSelector/utils/el.d.ts +0 -0
- /package/{types → src}/components/project/tagSelector/utils/utils.d.ts +0 -0
- /package/{types → src}/components/tabs/tabs/content.vue.d.ts +0 -0
- /package/{types → src}/components/tabs/tabs/tab.vue.d.ts +0 -0
- /package/{types → src}/components/tabs/tabs/tabs.vue.d.ts +0 -0
- /package/{types → src}/components/tabs/tabs/types.d.ts +0 -0
- /package/{types → src}/components/tabsView/tabsView/menu.vue.d.ts +0 -0
- /package/{types → src}/components/tabsView/tabsView/menuDelimeter.vue.d.ts +0 -0
- /package/{types → src}/components/tabsView/tabsView/menuItem.vue.d.ts +0 -0
- /package/{types → src}/components/tabsView/tabsView/menuTitle.vue.d.ts +0 -0
- /package/{types → src}/components/tabsView/tabsView/store.d.ts +0 -0
- /package/{types → src}/components/tabsView/tabsView/tabsView.vue.d.ts +0 -0
- /package/{types → src}/components/tabsView/tabsView/types.d.ts +0 -0
- /package/{types → src}/components/tabsView/tabsView/utils.d.ts +0 -0
- /package/{types → src}/core/app.d.ts +0 -0
- /package/{types → src}/core/core/core.d.ts +0 -0
- /package/{types → src}/core/core/events/resize.d.ts +0 -0
- /package/{types → src}/core/core/events.d.ts +0 -0
- /package/{types → src}/core/core/options.d.ts +0 -0
- /package/{types → src}/core/core/preloaders.d.ts +0 -0
- /package/{types → src}/core/core/state.d.ts +0 -0
- /package/{types → src}/core/directives/data.d.ts +0 -0
- /package/{types → src}/core/directives/focus.d.ts +0 -0
- /package/{types → src}/core/directives/preloader.d.ts +0 -0
- /package/{types → src}/core/directives/scrollIntoView.d.ts +0 -0
- /package/{types → src}/core/directives/scrollShadow.d.ts +0 -0
- /package/{types → src}/core/directives/sticky.d.ts +0 -0
- /package/{types → src}/core/directives/swimUp.d.ts +0 -0
- /package/{types → src}/core/directives/tooltip.d.ts +0 -0
- /package/{types → src}/core/plugins/core.d.ts +0 -0
- /package/{types → src}/core/plugins/i18n.d.ts +0 -0
- /package/{types → src}/core/plugins/piniaTPA.d.ts +0 -0
- /package/{types → src}/core/utils/check.d.ts +0 -0
- /package/{types → src}/core/utils/clipboard.d.ts +0 -0
- /package/{types → src}/core/utils/date.d.ts +0 -0
- /package/{types → src}/core/utils/device.d.ts +0 -0
- /package/{types → src}/core/utils/dom.d.ts +0 -0
- /package/{types → src}/core/utils/image.d.ts +0 -0
- /package/{types → src}/core/utils/keyboard.d.ts +0 -0
- /package/{types → src}/core/utils/lodash.d.ts +0 -0
- /package/{types → src}/core/utils/number.d.ts +0 -0
- /package/{types → src}/core/utils/price.d.ts +0 -0
- /package/{types → src}/core/utils/route.d.ts +0 -0
- /package/{types → src}/core/utils/scroll.d.ts +0 -0
- /package/{types → src}/core/utils/searchers.d.ts +0 -0
- /package/{types → src}/core/utils/store/localStorage.d.ts +0 -0
- /package/{types → src}/core/utils/store/plugin.d.ts +0 -0
- /package/{types → src}/core/utils/store/store.d.ts +0 -0
- /package/{types → src}/core/utils/store.d.ts +0 -0
- /package/{types → src}/core/utils/string.d.ts +0 -0
- /package/{types → src}/core/utils/system.d.ts +0 -0
- /package/{types → src}/core/utils/url.d.ts +0 -0
package/formsExt/formsExt.js
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { Core as x } from "../core/app.js";
|
|
2
|
-
import { defineComponent as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
import { defineComponent as M, ref as B, computed as R, createElementBlock as v, openBlock as d, normalizeClass as I, createCommentVNode as $, createElementVNode as L, toDisplayString as _, createVNode as D, withKeys as G, withModifiers as N, createBlock as w, createSlots as U, withCtx as V, createTextVNode as E, watch as P, toRef as O, mergeProps as W, mergeModels as J, useModel as Y, Fragment as z, renderList as q, withDirectives as Z, vModelRadio as te, resolveDirective as oe, unref as f, renderSlot as X, resolveDynamicComponent as le } from "vue";
|
|
3
|
+
import { q as se, c as F, _ as ae, d as re, u as ne, C as j, r as ie } from "../.chunks/forms-DarRVke_.es.js";
|
|
4
|
+
import { _ as ue, b as H } from "../.chunks/listItem.vue_vue_type_script_setup_true_lang-DzJ_pc-d.es.js";
|
|
5
|
+
import { _ as de } from "../.chunks/widgetInput.vue_vue_type_script_setup_true_lang-xwjgBq1L.es.js";
|
|
6
|
+
/* empty css */
|
|
7
|
+
import { invertKeyboardLayout as pe } from "../utils/keyboard.js";
|
|
8
|
+
import { _ as je } from "../.chunks/menu.vue_vue_type_style_index_0_lang-COD_4iTy.es.js";
|
|
9
|
+
const ee = ["../assets/formsExt.css"].map((a) => import.meta.resolve(a));
|
|
8
10
|
x.insertCSSLinkToPage(ee, !0);
|
|
9
|
-
const
|
|
11
|
+
const ce = { class: "top-editArea_footer" }, Ne = /* @__PURE__ */ M({
|
|
10
12
|
__name: "editArea",
|
|
11
13
|
props: {
|
|
12
14
|
defaultValue: { default: "" },
|
|
@@ -31,94 +33,94 @@ const me = { class: "top-editArea_footer" }, ve = /* @__PURE__ */ L({
|
|
|
31
33
|
maxLength: {}
|
|
32
34
|
},
|
|
33
35
|
emits: ["submit", "close", "clickOnTitle"],
|
|
34
|
-
setup(
|
|
35
|
-
const
|
|
36
|
-
o("submit",
|
|
37
|
-
},
|
|
38
|
-
if (
|
|
36
|
+
setup(a, { emit: e }) {
|
|
37
|
+
const l = a, o = e, u = B(l.defaultValue), s = B(l.isFocused), r = R(() => u.value !== l.defaultValue), p = (i) => {
|
|
38
|
+
o("submit", i), u.value = l.defaultValue;
|
|
39
|
+
}, c = () => {
|
|
40
|
+
if (l.forceShowCloseBtn && !r.value) {
|
|
39
41
|
o("close");
|
|
40
42
|
return;
|
|
41
43
|
}
|
|
42
|
-
|
|
43
|
-
},
|
|
44
|
-
|
|
44
|
+
u.value = l.defaultValue;
|
|
45
|
+
}, C = () => {
|
|
46
|
+
l.attachToKeyboard && o("clickOnTitle");
|
|
45
47
|
};
|
|
46
|
-
return (
|
|
48
|
+
return (i, y) => (d(), v("div", {
|
|
47
49
|
class: I({
|
|
48
50
|
"top-editArea": !0,
|
|
49
|
-
"top-editArea-attachedToKeyboard":
|
|
51
|
+
"top-editArea-attachedToKeyboard": i.attachToKeyboard
|
|
50
52
|
})
|
|
51
53
|
}, [
|
|
52
|
-
|
|
54
|
+
i.title ? (d(), v("div", {
|
|
53
55
|
key: 0,
|
|
54
56
|
class: "top-editArea_title",
|
|
55
|
-
onClick:
|
|
56
|
-
},
|
|
57
|
-
|
|
57
|
+
onClick: y[0] || (y[0] = (k) => C())
|
|
58
|
+
}, _(i.title), 1)) : $("", !0),
|
|
59
|
+
L("div", {
|
|
58
60
|
class: I({
|
|
59
61
|
"top-editArea_form": !0,
|
|
60
62
|
"top-forms-focusable": !0,
|
|
61
63
|
"top-as-input": !0,
|
|
62
|
-
"top-error":
|
|
63
|
-
"top-focus":
|
|
64
|
+
"top-error": i.isError,
|
|
65
|
+
"top-focus": s.value
|
|
64
66
|
})
|
|
65
67
|
}, [
|
|
66
|
-
|
|
67
|
-
modelValue:
|
|
68
|
-
"onUpdate:modelValue":
|
|
69
|
-
name:
|
|
70
|
-
placeholder:
|
|
71
|
-
rows:
|
|
72
|
-
minHeight:
|
|
73
|
-
expandable:
|
|
74
|
-
disabled:
|
|
75
|
-
readonly:
|
|
76
|
-
isError:
|
|
77
|
-
hint:
|
|
68
|
+
D(se, {
|
|
69
|
+
modelValue: u.value,
|
|
70
|
+
"onUpdate:modelValue": y[1] || (y[1] = (k) => u.value = k),
|
|
71
|
+
name: i.name,
|
|
72
|
+
placeholder: i.placeholder,
|
|
73
|
+
rows: i.rows,
|
|
74
|
+
minHeight: i.minHeight,
|
|
75
|
+
expandable: i.expandable,
|
|
76
|
+
disabled: i.disabled,
|
|
77
|
+
readonly: i.readonly,
|
|
78
|
+
isError: i.isError,
|
|
79
|
+
hint: i.hint,
|
|
78
80
|
class: "top-editArea_element",
|
|
79
|
-
onFocus:
|
|
80
|
-
onBlur:
|
|
81
|
+
onFocus: y[2] || (y[2] = () => s.value = !0),
|
|
82
|
+
onBlur: y[3] || (y[3] = () => s.value = !1),
|
|
81
83
|
onKeyup: [
|
|
82
|
-
G(
|
|
83
|
-
|
|
84
|
+
G(c, ["esc"]),
|
|
85
|
+
y[4] || (y[4] = G(N((k) => p(u.value), ["ctrl"]), ["enter"]))
|
|
84
86
|
]
|
|
85
87
|
}, null, 8, ["modelValue", "name", "placeholder", "rows", "minHeight", "expandable", "disabled", "readonly", "isError", "hint"]),
|
|
86
|
-
|
|
87
|
-
r.value ||
|
|
88
|
+
L("div", ce, [
|
|
89
|
+
r.value || i.forceShowCloseBtn ? (d(), w(F, {
|
|
88
90
|
key: 0,
|
|
89
|
-
icon:
|
|
91
|
+
icon: i.$core.state.isMobile ? "" : "",
|
|
90
92
|
class: "top-editArea_button",
|
|
91
93
|
color: "theme",
|
|
92
94
|
styling: "soft",
|
|
93
|
-
onClick:
|
|
95
|
+
onClick: c
|
|
94
96
|
}, U({ _: 2 }, [
|
|
95
|
-
|
|
97
|
+
i.$core.state.isMobile ? void 0 : {
|
|
96
98
|
name: "default",
|
|
97
99
|
fn: V(() => [
|
|
98
|
-
|
|
100
|
+
E(_(i.cancelText), 1)
|
|
99
101
|
]),
|
|
100
102
|
key: "0"
|
|
101
103
|
}
|
|
102
|
-
]), 1032, ["icon"])) :
|
|
103
|
-
r.value ? (
|
|
104
|
+
]), 1032, ["icon"])) : $("", !0),
|
|
105
|
+
r.value ? (d(), w(F, {
|
|
104
106
|
key: 1,
|
|
105
107
|
class: "top-editArea_button",
|
|
106
|
-
icon:
|
|
107
|
-
onClick:
|
|
108
|
+
icon: i.$core.state.isMobile ? "" : "",
|
|
109
|
+
onClick: y[5] || (y[5] = (k) => p(u.value))
|
|
108
110
|
}, U({ _: 2 }, [
|
|
109
|
-
|
|
111
|
+
i.$core.state.isMobile ? void 0 : {
|
|
110
112
|
name: "default",
|
|
111
113
|
fn: V(() => [
|
|
112
|
-
|
|
114
|
+
E(_(i.submitText), 1)
|
|
113
115
|
]),
|
|
114
116
|
key: "0"
|
|
115
117
|
}
|
|
116
|
-
]), 1032, ["icon"])) :
|
|
118
|
+
]), 1032, ["icon"])) : $("", !0)
|
|
117
119
|
])
|
|
118
120
|
], 2)
|
|
119
121
|
], 2));
|
|
120
122
|
}
|
|
121
|
-
}),
|
|
123
|
+
}), fe = { class: "top-editInput" }, qe = /* @__PURE__ */ M({
|
|
122
124
|
__name: "editInput",
|
|
123
125
|
props: {
|
|
124
126
|
modelValue: {},
|
|
@@ -126,32 +128,32 @@ const me = { class: "top-editArea_footer" }, ve = /* @__PURE__ */ L({
|
|
|
126
128
|
button: {}
|
|
127
129
|
},
|
|
128
130
|
emits: ["update:modelValue"],
|
|
129
|
-
setup(
|
|
130
|
-
const
|
|
131
|
-
|
|
132
|
-
o.value =
|
|
131
|
+
setup(a, { emit: e }) {
|
|
132
|
+
const l = a, o = B(l.modelValue);
|
|
133
|
+
P(O(l.modelValue), () => {
|
|
134
|
+
o.value = l.modelValue;
|
|
133
135
|
});
|
|
134
|
-
const
|
|
135
|
-
|
|
136
|
+
const u = e, s = () => {
|
|
137
|
+
u("update:modelValue", o.value);
|
|
136
138
|
};
|
|
137
|
-
return (r,
|
|
138
|
-
|
|
139
|
-
onKeydownCapture:
|
|
140
|
-
onKeydown: G(N(
|
|
139
|
+
return (r, p) => (d(), v("div", fe, [
|
|
140
|
+
D(ae, W(r.input, {
|
|
141
|
+
onKeydownCapture: p[0] || (p[0] = G(N((c) => o.value = r.modelValue, ["stop"]), ["esc"])),
|
|
142
|
+
onKeydown: G(N(s, ["stop"]), ["enter"]),
|
|
141
143
|
modelValue: o.value,
|
|
142
|
-
"onUpdate:modelValue":
|
|
144
|
+
"onUpdate:modelValue": p[1] || (p[1] = (c) => o.value = c)
|
|
143
145
|
}), null, 16, ["onKeydown", "modelValue"]),
|
|
144
|
-
o.value !== r.modelValue ? (
|
|
146
|
+
o.value !== r.modelValue ? (d(), w(F, W({
|
|
145
147
|
key: 0,
|
|
146
148
|
icon: "",
|
|
147
149
|
styling: "soft"
|
|
148
|
-
}, r.button, { onClick:
|
|
150
|
+
}, r.button, { onClick: s }), null, 16)) : $("", !0)
|
|
149
151
|
]));
|
|
150
152
|
}
|
|
151
|
-
}),
|
|
153
|
+
}), me = ["data-top-icon", "onClick"], ve = {
|
|
152
154
|
key: 0,
|
|
153
155
|
class: "top-radioGroup_circle"
|
|
154
|
-
},
|
|
156
|
+
}, ye = ["value", "disabled"], Fe = /* @__PURE__ */ M({
|
|
155
157
|
__name: "radioGroup",
|
|
156
158
|
props: /* @__PURE__ */ J({
|
|
157
159
|
modelValue: {},
|
|
@@ -166,51 +168,51 @@ const me = { class: "top-editArea_footer" }, ve = /* @__PURE__ */ L({
|
|
|
166
168
|
modelModifiers: {}
|
|
167
169
|
}),
|
|
168
170
|
emits: ["update:modelValue"],
|
|
169
|
-
setup(
|
|
170
|
-
const
|
|
171
|
-
|
|
172
|
-
var
|
|
173
|
-
(
|
|
171
|
+
setup(a) {
|
|
172
|
+
const e = Y(a, "modelValue"), l = a, o = B(null);
|
|
173
|
+
P(e, () => {
|
|
174
|
+
var s, r, p, c, C;
|
|
175
|
+
(s = l.radiosProps) != null && s.some((i) => i.value === e.value) || (e.value = ((p = (r = l.radiosProps) == null ? void 0 : r[0]) == null ? void 0 : p.value) ?? ""), (C = (c = o.value) == null ? void 0 : c.querySelector(".radioGroup_item-selected")) == null || C.scrollIntoView();
|
|
174
176
|
}, { immediate: !0 });
|
|
175
|
-
const
|
|
176
|
-
return (
|
|
177
|
+
const u = "radioGroup-" + Math.random();
|
|
178
|
+
return (s, r) => (d(), v("div", {
|
|
177
179
|
ref_key: "elRef",
|
|
178
180
|
ref: o,
|
|
179
181
|
class: I({
|
|
180
182
|
"top-radioGroup": !0,
|
|
181
183
|
"top-scrollBarXHidding": !0,
|
|
182
|
-
["top-size_" +
|
|
183
|
-
"top-error":
|
|
184
|
+
["top-size_" + s.size]: !!s.size,
|
|
185
|
+
"top-error": s.isError
|
|
184
186
|
})
|
|
185
187
|
}, [
|
|
186
|
-
(
|
|
188
|
+
(d(!0), v(z, null, q(s.radiosProps, (p) => (d(), v("label", {
|
|
187
189
|
class: I({
|
|
188
|
-
"top-radioGroup_item-selected":
|
|
190
|
+
"top-radioGroup_item-selected": p.value === e.value,
|
|
189
191
|
"top-radioGroup_item": !0,
|
|
190
192
|
"top-forms-focusable": !0,
|
|
191
|
-
"top-disabled":
|
|
193
|
+
"top-disabled": p.disabled
|
|
192
194
|
}),
|
|
193
|
-
"data-top-icon":
|
|
194
|
-
onClick: (
|
|
195
|
+
"data-top-icon": p.icon,
|
|
196
|
+
onClick: (c) => e.value = p.value
|
|
195
197
|
}, [
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
"onUpdate:modelValue": r[0] || (r[0] = (
|
|
200
|
-
name:
|
|
198
|
+
E(_(p.title) + " ", 1),
|
|
199
|
+
s.showIndicator ? (d(), v("span", ve)) : $("", !0),
|
|
200
|
+
Z(L("input", {
|
|
201
|
+
"onUpdate:modelValue": r[0] || (r[0] = (c) => e.value = c),
|
|
202
|
+
name: u,
|
|
201
203
|
type: "radio",
|
|
202
204
|
class: I({
|
|
203
205
|
"top-unvisible": !0
|
|
204
206
|
}),
|
|
205
|
-
value:
|
|
206
|
-
disabled:
|
|
207
|
-
}, null, 8,
|
|
208
|
-
[te,
|
|
207
|
+
value: p.value,
|
|
208
|
+
disabled: p.disabled
|
|
209
|
+
}, null, 8, ye), [
|
|
210
|
+
[te, e.value]
|
|
209
211
|
])
|
|
210
|
-
], 10,
|
|
212
|
+
], 10, me))), 256))
|
|
211
213
|
], 2));
|
|
212
214
|
}
|
|
213
|
-
}),
|
|
215
|
+
}), he = ["data-top-icon"], be = ["value", "checked", "disabled", "onChange"], He = /* @__PURE__ */ M({
|
|
214
216
|
__name: "checkboxGroup",
|
|
215
217
|
props: /* @__PURE__ */ J({
|
|
216
218
|
modelValue: {},
|
|
@@ -225,12 +227,12 @@ const me = { class: "top-editArea_footer" }, ve = /* @__PURE__ */ L({
|
|
|
225
227
|
modelModifiers: {}
|
|
226
228
|
}),
|
|
227
229
|
emits: ["update:modelValue"],
|
|
228
|
-
setup(
|
|
229
|
-
const
|
|
230
|
-
const
|
|
231
|
-
|
|
230
|
+
setup(a) {
|
|
231
|
+
const e = Y(a, "modelValue"), l = (o) => {
|
|
232
|
+
const u = [...e.value], s = u.indexOf(o);
|
|
233
|
+
s === -1 ? u.push(o) : u.splice(s, 1), e.value = u;
|
|
232
234
|
};
|
|
233
|
-
return (o,
|
|
235
|
+
return (o, u) => (d(), v("div", {
|
|
234
236
|
class: I({
|
|
235
237
|
"top-checkboxGroup": !0,
|
|
236
238
|
["top-checkboxGroup-" + o.styling]: !0,
|
|
@@ -239,137 +241,143 @@ const me = { class: "top-editArea_footer" }, ve = /* @__PURE__ */ L({
|
|
|
239
241
|
"top-error": o.isError
|
|
240
242
|
})
|
|
241
243
|
}, [
|
|
242
|
-
(
|
|
243
|
-
key:
|
|
244
|
+
(d(!0), v(z, null, q(o.items, (s) => (d(), v("label", {
|
|
245
|
+
key: s.id,
|
|
244
246
|
class: I({
|
|
245
247
|
"top-checkboxGroup_item": !0,
|
|
246
|
-
"top-checkboxGroup_item-selected":
|
|
248
|
+
"top-checkboxGroup_item-selected": e.value.includes(s.id),
|
|
247
249
|
"top-forms-focusable": !0,
|
|
248
|
-
"top-disabled":
|
|
250
|
+
"top-disabled": s.disabled
|
|
249
251
|
}),
|
|
250
|
-
"data-top-icon":
|
|
252
|
+
"data-top-icon": s.icon
|
|
251
253
|
}, [
|
|
252
|
-
|
|
254
|
+
L("input", {
|
|
253
255
|
type: "checkbox",
|
|
254
256
|
class: "top-unvisible",
|
|
255
|
-
value:
|
|
256
|
-
checked:
|
|
257
|
-
disabled:
|
|
258
|
-
onChange: (r) => s
|
|
259
|
-
}, null, 40,
|
|
260
|
-
|
|
261
|
-
], 10,
|
|
257
|
+
value: s.id,
|
|
258
|
+
checked: e.value.includes(s.id),
|
|
259
|
+
disabled: s.disabled,
|
|
260
|
+
onChange: (r) => l(s.id)
|
|
261
|
+
}, null, 40, be),
|
|
262
|
+
E(" " + _(s.title), 1)
|
|
263
|
+
], 10, he))), 128))
|
|
262
264
|
], 2));
|
|
263
265
|
}
|
|
264
|
-
}),
|
|
266
|
+
}), ge = { class: "top-selector2_itemMulti top-ellipsis" }, ke = /* @__PURE__ */ M({
|
|
265
267
|
__name: "itemMulti",
|
|
266
268
|
props: {
|
|
267
269
|
id: {},
|
|
268
270
|
name: {}
|
|
269
271
|
},
|
|
270
272
|
emits: ["delete"],
|
|
271
|
-
setup(
|
|
272
|
-
return (
|
|
273
|
-
|
|
274
|
-
|
|
273
|
+
setup(a) {
|
|
274
|
+
return (e, l) => (d(), v("div", ge, [
|
|
275
|
+
E(_(e.name) + " ", 1),
|
|
276
|
+
L("span", {
|
|
275
277
|
class: "top-selector2_itemMultiDelete",
|
|
276
278
|
"data-top-icon": "",
|
|
277
|
-
onClick:
|
|
278
|
-
onMousedown:
|
|
279
|
+
onClick: l[0] || (l[0] = (o) => e.$emit("delete", e.id)),
|
|
280
|
+
onMousedown: l[1] || (l[1] = N(() => {
|
|
279
281
|
}, ["stop"]))
|
|
280
282
|
}, null, 32)
|
|
281
283
|
]));
|
|
282
284
|
}
|
|
283
|
-
}),
|
|
284
|
-
const
|
|
285
|
-
let
|
|
286
|
-
|
|
287
|
-
const
|
|
288
|
-
if (!
|
|
289
|
-
let
|
|
290
|
-
if (
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
285
|
+
}), Te = (a, e, l, o) => {
|
|
286
|
+
const u = B([]), s = /* @__PURE__ */ new Map(), r = B(!1);
|
|
287
|
+
let p = "", c;
|
|
288
|
+
a && !a.params.limit && (a.params.limit = 100);
|
|
289
|
+
const C = async () => {
|
|
290
|
+
if (!a) return;
|
|
291
|
+
let h;
|
|
292
|
+
if (o) {
|
|
293
|
+
h = JSON.stringify(a.params);
|
|
294
|
+
const S = s.get(h);
|
|
295
|
+
if (S)
|
|
296
|
+
return S;
|
|
297
|
+
}
|
|
298
|
+
r.value = !0;
|
|
299
|
+
const g = await a.call();
|
|
300
|
+
if (r.value = !1, g.errors) return;
|
|
301
|
+
if (!Array.isArray(g.result)) {
|
|
302
|
+
console.warn("Array expected in `res.result`");
|
|
295
303
|
return;
|
|
296
304
|
}
|
|
297
|
-
const
|
|
298
|
-
if (
|
|
299
|
-
console.warn(`В result[${
|
|
305
|
+
const K = g.result.findIndex((S) => S.id === void 0 || S.name === void 0);
|
|
306
|
+
if (K !== -1) {
|
|
307
|
+
console.warn(`В result[${K}] нет id или name`);
|
|
300
308
|
return;
|
|
301
309
|
}
|
|
302
|
-
return
|
|
303
|
-
},
|
|
304
|
-
if (!
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
const
|
|
312
|
-
|
|
313
|
-
},
|
|
310
|
+
return h && s.set(h, g), g;
|
|
311
|
+
}, i = async (h) => {
|
|
312
|
+
if (!a) return;
|
|
313
|
+
if (h) {
|
|
314
|
+
if (!c || r.value) return;
|
|
315
|
+
a.params.offset = c;
|
|
316
|
+
} else
|
|
317
|
+
a.params.offset = 0;
|
|
318
|
+
e == null || e(p);
|
|
319
|
+
const g = await C();
|
|
320
|
+
g && (c = g.nextOffset, h ? u.value = u.value.concat(g.result) : u.value = g.result);
|
|
321
|
+
}, y = re(() => i(!1), 200);
|
|
314
322
|
return {
|
|
315
|
-
apiRequest:
|
|
316
|
-
items:
|
|
317
|
-
isLoading:
|
|
318
|
-
|
|
319
|
-
setSearchTextAndLoad: (
|
|
320
|
-
|
|
323
|
+
apiRequest: a,
|
|
324
|
+
items: u,
|
|
325
|
+
isLoading: r,
|
|
326
|
+
load: i,
|
|
327
|
+
setSearchTextAndLoad: (h, g = !0) => {
|
|
328
|
+
a && (h.length < l || h === p && u.value.length || (p = h, g ? y() : i(!1)));
|
|
321
329
|
}
|
|
322
330
|
};
|
|
323
|
-
},
|
|
324
|
-
const
|
|
325
|
-
id:
|
|
331
|
+
}, Ae = 0, Q = (a, e, l = !0) => l && e.id === null ? Array.isArray(a) ? a.some((o) => o.id === e.id && o.name === e.name) : e.name === a.name : Array.isArray(a) ? a.some((o) => o.id === e.id) : e.id === a.id, Ce = (a, e, l, o, u, s, r, p) => {
|
|
332
|
+
const c = B(""), C = {
|
|
333
|
+
id: Ae,
|
|
326
334
|
name: ne().Common.All
|
|
327
|
-
},
|
|
328
|
-
|
|
329
|
-
},
|
|
330
|
-
var
|
|
331
|
-
const
|
|
332
|
-
return !
|
|
333
|
-
}),
|
|
334
|
-
const
|
|
335
|
+
}, i = () => {
|
|
336
|
+
c.value = "", p.items.value = [];
|
|
337
|
+
}, y = () => !(!p.apiRequest || s.value !== "inline" || c.value.length >= r), k = R(() => {
|
|
338
|
+
var t;
|
|
339
|
+
const b = [];
|
|
340
|
+
return !l && o.value && b.push(C), (t = e.value) == null || t.forEach((n) => b.push({ ...n })), b;
|
|
341
|
+
}), h = R(() => {
|
|
342
|
+
const b = c.value.toLowerCase(), t = pe(b);
|
|
335
343
|
let n = [];
|
|
336
|
-
return
|
|
337
|
-
const m =
|
|
338
|
-
(
|
|
339
|
-
}), n.push(...
|
|
344
|
+
return k.value.forEach((T) => {
|
|
345
|
+
const m = T.name.toLowerCase();
|
|
346
|
+
(T.id === Number(b) || m.includes(b) || m.includes(t)) && (m === b || m === t ? n.unshift(T) : n.push(T));
|
|
347
|
+
}), n.push(...p.items.value), u.value && c.value && (!n.length || n[0].name.toLowerCase() !== b) && n.push({
|
|
340
348
|
id: null,
|
|
341
|
-
name:
|
|
342
|
-
}),
|
|
349
|
+
name: c.value
|
|
350
|
+
}), l && (n = n.filter((T) => !Q(a.value, T))), n;
|
|
343
351
|
});
|
|
344
352
|
return {
|
|
345
|
-
searchText:
|
|
346
|
-
resetSearch:
|
|
347
|
-
genIsShort:
|
|
348
|
-
items:
|
|
349
|
-
itemsForShow:
|
|
350
|
-
selectItem: (
|
|
351
|
-
|
|
353
|
+
searchText: c,
|
|
354
|
+
resetSearch: i,
|
|
355
|
+
genIsShort: y,
|
|
356
|
+
items: k,
|
|
357
|
+
itemsForShow: h,
|
|
358
|
+
selectItem: (b) => {
|
|
359
|
+
l && Array.isArray(a.value) ? Q(a.value, b) || (a.value = [...a.value, b]) : a.value = b;
|
|
352
360
|
},
|
|
353
361
|
selectNextItem: () => {
|
|
354
|
-
if (!Array.isArray(
|
|
355
|
-
const
|
|
356
|
-
|
|
362
|
+
if (!Array.isArray(a.value)) {
|
|
363
|
+
const t = (h.value.findIndex((n) => n.id === a.value.id) + 1) % h.value.length;
|
|
364
|
+
a.value = { ...h.value[t] };
|
|
357
365
|
}
|
|
358
366
|
},
|
|
359
|
-
deleteItemById: async (
|
|
360
|
-
Array.isArray(
|
|
367
|
+
deleteItemById: async (b) => {
|
|
368
|
+
Array.isArray(a.value) && (a.value = a.value.filter((t) => t.id !== b));
|
|
361
369
|
}
|
|
362
370
|
};
|
|
363
|
-
},
|
|
371
|
+
}, $e = {
|
|
364
372
|
key: 0,
|
|
365
373
|
class: "top-selector2_activeItems"
|
|
366
|
-
},
|
|
374
|
+
}, _e = {
|
|
367
375
|
key: 1,
|
|
368
376
|
class: "top-selector2_activeName top-ellipsis"
|
|
369
|
-
},
|
|
377
|
+
}, Ve = {
|
|
370
378
|
key: 2,
|
|
371
379
|
class: "top-selector2_placeholder top-ellipsis"
|
|
372
|
-
},
|
|
380
|
+
}, Ue = /* @__PURE__ */ M({
|
|
373
381
|
__name: "selector2",
|
|
374
382
|
props: /* @__PURE__ */ J({
|
|
375
383
|
modelValue: {},
|
|
@@ -381,7 +389,8 @@ const me = { class: "top-editArea_footer" }, ve = /* @__PURE__ */ L({
|
|
|
381
389
|
isError: { type: Boolean },
|
|
382
390
|
searchType: { default: "popup" },
|
|
383
391
|
placeholder: {},
|
|
384
|
-
|
|
392
|
+
api: {},
|
|
393
|
+
apiSetSearchParams: {},
|
|
385
394
|
minLength: { default: 0 },
|
|
386
395
|
useCache: { type: Boolean },
|
|
387
396
|
appendSearchToResult: { type: Boolean },
|
|
@@ -395,39 +404,39 @@ const me = { class: "top-editArea_footer" }, ve = /* @__PURE__ */ L({
|
|
|
395
404
|
modelModifiers: {}
|
|
396
405
|
}),
|
|
397
406
|
emits: ["update:modelValue"],
|
|
398
|
-
setup(
|
|
399
|
-
const
|
|
400
|
-
let
|
|
401
|
-
o.value === "inline" &&
|
|
402
|
-
const
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
407
|
+
setup(a) {
|
|
408
|
+
const e = a, l = Y(a, "modelValue"), o = R(() => e.searchType === "inline" && e.multiselect || e.searchType === "inline" && j.state.isMobile ? "popup" : e.searchType);
|
|
409
|
+
let u = 0;
|
|
410
|
+
o.value === "inline" && e.minLength && (u = e.minLength);
|
|
411
|
+
const s = Te(e.api, e.apiSetSearchParams, u, e.useCache), r = Ce(
|
|
412
|
+
l,
|
|
413
|
+
O(e, "items"),
|
|
414
|
+
e.multiselect,
|
|
415
|
+
O(e, "appendAllValue"),
|
|
416
|
+
O(e, "appendSearchToResult"),
|
|
408
417
|
o,
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
),
|
|
412
|
-
var
|
|
413
|
-
return (
|
|
418
|
+
u,
|
|
419
|
+
s
|
|
420
|
+
), p = R(() => e.buttonProps ? "TopButton" : o.value === "inline" ? "TopInput" : "div"), c = B(null), C = () => {
|
|
421
|
+
var t;
|
|
422
|
+
return (t = c.value) == null ? void 0 : t.popup;
|
|
414
423
|
};
|
|
415
|
-
|
|
416
|
-
var
|
|
417
|
-
|
|
418
|
-
}),
|
|
424
|
+
s.apiRequest && P(r.searchText, () => {
|
|
425
|
+
var t;
|
|
426
|
+
s.setSearchTextAndLoad(r.searchText.value), o.value === "inline" && r.genIsShort() && ((t = C()) == null || t.close());
|
|
427
|
+
}), P(l, () => {
|
|
419
428
|
o.value === "inline" && r.resetSearch();
|
|
420
429
|
});
|
|
421
|
-
const
|
|
422
|
-
var
|
|
423
|
-
return Array.isArray(
|
|
424
|
-
}),
|
|
425
|
-
var m,
|
|
430
|
+
const i = R(() => {
|
|
431
|
+
var t;
|
|
432
|
+
return Array.isArray(l.value) || e.multiselect || !e.selectedAsPlaceholder && o.value !== "inline" ? e.placeholder : ((t = l.value) == null ? void 0 : t.name) || e.placeholder;
|
|
433
|
+
}), y = (t) => {
|
|
434
|
+
var m, A;
|
|
426
435
|
let n = !1;
|
|
427
|
-
switch (
|
|
436
|
+
switch (t.key) {
|
|
428
437
|
case "Delete":
|
|
429
438
|
case "Backspace":
|
|
430
|
-
Array.isArray(
|
|
439
|
+
Array.isArray(l.value) && (t.preventDefault(), t.stopPropagation(), l.value.pop());
|
|
431
440
|
break;
|
|
432
441
|
case "ArrowUp":
|
|
433
442
|
case "ArrowRight":
|
|
@@ -441,112 +450,112 @@ const me = { class: "top-editArea_footer" }, ve = /* @__PURE__ */ L({
|
|
|
441
450
|
o.value === "inline" && r.resetSearch();
|
|
442
451
|
break;
|
|
443
452
|
}
|
|
444
|
-
const
|
|
445
|
-
(o.value === "popup" || o.value === "inline") &&
|
|
453
|
+
const T = t.key.length === 1 && !t.ctrlKey && !t.metaKey;
|
|
454
|
+
(o.value === "popup" || o.value === "inline") && T && (n = !0), (m = C()) != null && m.elPopup && (n = !1), n && (o.value === "popup" && (t.preventDefault(), t.stopPropagation(), T && (r.searchText.value || (r.searchText.value = t.key))), (A = t.currentTarget) == null || A.click());
|
|
446
455
|
};
|
|
447
|
-
let
|
|
448
|
-
const
|
|
456
|
+
let k = !1;
|
|
457
|
+
const h = (t) => {
|
|
449
458
|
var n;
|
|
450
|
-
|
|
451
|
-
},
|
|
452
|
-
var n,
|
|
453
|
-
|
|
459
|
+
k || o.value === "inline" && ((n = t.currentTarget) == null || n.click());
|
|
460
|
+
}, g = (t) => {
|
|
461
|
+
var n, T;
|
|
462
|
+
t.preventDefault(), k = !0, (T = (n = t.currentTarget) == null ? void 0 : n.parentElement) == null || T.focus(), k = !1, r.selectNextItem();
|
|
454
463
|
}, K = () => {
|
|
455
|
-
var
|
|
456
|
-
if (
|
|
464
|
+
var t;
|
|
465
|
+
if (k = !0, s.apiRequest) {
|
|
457
466
|
if (r.genIsShort()) {
|
|
458
|
-
(
|
|
467
|
+
(t = C()) == null || t.close();
|
|
459
468
|
return;
|
|
460
469
|
}
|
|
461
|
-
|
|
470
|
+
s.setSearchTextAndLoad(r.searchText.value, !1);
|
|
462
471
|
}
|
|
463
|
-
},
|
|
472
|
+
}, S = () => {
|
|
464
473
|
setTimeout(() => {
|
|
465
|
-
|
|
474
|
+
k = !1;
|
|
466
475
|
}, 100), o.value === "popup" && r.searchText.value && r.resetSearch();
|
|
467
|
-
},
|
|
468
|
-
const n =
|
|
469
|
-
n.scrollTop / (n.scrollHeight - n.offsetHeight) > 0.8 &&
|
|
476
|
+
}, b = (t) => {
|
|
477
|
+
const n = t.target;
|
|
478
|
+
n.scrollTop / (n.scrollHeight - n.offsetHeight) > 0.8 && s.load(!0);
|
|
470
479
|
};
|
|
471
|
-
return window.__STORYBOOK_PREVIEW__ && (
|
|
472
|
-
() =>
|
|
480
|
+
return window.__STORYBOOK_PREVIEW__ && (P(
|
|
481
|
+
() => e.multiselect,
|
|
473
482
|
() => {
|
|
474
|
-
|
|
483
|
+
e.multiselect ? Array.isArray(l.value) || (l.value = [
|
|
475
484
|
{
|
|
476
485
|
id: 1,
|
|
477
486
|
name: "Выбери меня"
|
|
478
487
|
}
|
|
479
|
-
]) : Array.isArray(
|
|
488
|
+
]) : Array.isArray(l.value) && (l.value = {
|
|
480
489
|
id: null,
|
|
481
490
|
name: ""
|
|
482
491
|
});
|
|
483
492
|
},
|
|
484
493
|
{ immediate: !0 }
|
|
485
|
-
),
|
|
486
|
-
() =>
|
|
494
|
+
), P(
|
|
495
|
+
() => e.searchType,
|
|
487
496
|
() => {
|
|
488
497
|
setTimeout(() => {
|
|
489
498
|
location.reload();
|
|
490
499
|
}, 500);
|
|
491
500
|
}
|
|
492
|
-
)), (
|
|
493
|
-
const
|
|
494
|
-
return
|
|
501
|
+
)), (t, n) => {
|
|
502
|
+
const T = oe("top-focus");
|
|
503
|
+
return d(), w(f(ue), {
|
|
495
504
|
ref_key: "popupRef",
|
|
496
|
-
ref:
|
|
505
|
+
ref: c,
|
|
497
506
|
onOpen: n[3] || (n[3] = (m) => K()),
|
|
498
|
-
onClose: n[4] || (n[4] = (m) =>
|
|
499
|
-
onScrollContentList: n[5] || (n[5] = (m) =>
|
|
507
|
+
onClose: n[4] || (n[4] = (m) => S()),
|
|
508
|
+
onScrollContentList: n[5] || (n[5] = (m) => f(s) ? b(m) : void 0),
|
|
500
509
|
notch: o.value !== "inline",
|
|
501
510
|
transitionDuration: 0
|
|
502
511
|
}, U({
|
|
503
512
|
opener: V(() => [
|
|
504
|
-
|
|
513
|
+
Z((d(), w(le(p.value), W(t.buttonProps, {
|
|
505
514
|
ref: "subcomponentSelector",
|
|
506
515
|
class: {
|
|
507
516
|
"top-selector2": !0,
|
|
508
|
-
"top-selector2-multiselect":
|
|
509
|
-
["top-selector2-" +
|
|
510
|
-
"top-as-input": !
|
|
517
|
+
"top-selector2-multiselect": t.multiselect,
|
|
518
|
+
["top-selector2-" + t.modificator]: !!t.modificator,
|
|
519
|
+
"top-as-input": !t.buttonProps,
|
|
511
520
|
"top-as-selector": !0,
|
|
512
|
-
["top-size_" +
|
|
513
|
-
"top-disabled":
|
|
514
|
-
"top-forms-focusable": !
|
|
515
|
-
"top-error":
|
|
521
|
+
["top-size_" + t.size]: !0,
|
|
522
|
+
"top-disabled": t.disabled,
|
|
523
|
+
"top-forms-focusable": !t.disabled,
|
|
524
|
+
"top-error": t.isError
|
|
516
525
|
},
|
|
517
526
|
tabindex: "0",
|
|
518
|
-
onKeydown:
|
|
519
|
-
placeholder:
|
|
520
|
-
modelValue:
|
|
521
|
-
"onUpdate:modelValue": n[0] || (n[0] = (m) =>
|
|
522
|
-
onFocus:
|
|
527
|
+
onKeydown: y,
|
|
528
|
+
placeholder: i.value,
|
|
529
|
+
modelValue: f(r).searchText.value,
|
|
530
|
+
"onUpdate:modelValue": n[0] || (n[0] = (m) => f(r).searchText.value = m),
|
|
531
|
+
onFocus: h,
|
|
523
532
|
onBlur: n[1] || (n[1] = (m) => {
|
|
524
|
-
var
|
|
525
|
-
return (
|
|
533
|
+
var A;
|
|
534
|
+
return (A = C()) != null && A.isClosed ? f(r).resetSearch() : "";
|
|
526
535
|
})
|
|
527
536
|
}), {
|
|
528
537
|
default: V(() => [
|
|
529
|
-
|
|
530
|
-
(
|
|
538
|
+
t.multiselect ? (d(), v("div", $e, [
|
|
539
|
+
(d(!0), v(z, null, q(l.value, (m) => (d(), w(ke, {
|
|
531
540
|
id: m.id,
|
|
532
541
|
name: m.name,
|
|
533
|
-
onDelete:
|
|
542
|
+
onDelete: f(r).deleteItemById
|
|
534
543
|
}, null, 8, ["id", "name", "onDelete"]))), 256))
|
|
535
|
-
])) :
|
|
536
|
-
o.value !== "inline" && !
|
|
537
|
-
|
|
538
|
-
|
|
544
|
+
])) : $("", !0),
|
|
545
|
+
o.value !== "inline" && !t.multiselect ? (d(), v("span", _e, _(Array.isArray(l.value) ? "" : l.value.name), 1)) : $("", !0),
|
|
546
|
+
t.multiselect && !l.value.length ? (d(), v("span", Ve, _(i.value), 1)) : $("", !0),
|
|
547
|
+
t.addChanger && !t.buttonProps && !t.multiselect && f(r).items.value.length > 1 && !t.disabled ? (d(), v("span", {
|
|
539
548
|
key: 3,
|
|
540
549
|
class: "top-changer top-changer-selector top-popup_widget",
|
|
541
550
|
"data-top-popup-disabled": "true",
|
|
542
|
-
onClick:
|
|
543
|
-
})) :
|
|
551
|
+
onClick: g
|
|
552
|
+
})) : $("", !0)
|
|
544
553
|
]),
|
|
545
554
|
_: 1
|
|
546
555
|
}, 16, ["class", "placeholder", "modelValue"])), [
|
|
547
556
|
[
|
|
548
|
-
|
|
549
|
-
|
|
557
|
+
T,
|
|
558
|
+
t.isError,
|
|
550
559
|
void 0,
|
|
551
560
|
{ onupdate: !0 }
|
|
552
561
|
]
|
|
@@ -555,42 +564,42 @@ const me = { class: "top-editArea_footer" }, ve = /* @__PURE__ */ L({
|
|
|
555
564
|
contentList: V(() => {
|
|
556
565
|
var m;
|
|
557
566
|
return [
|
|
558
|
-
(
|
|
567
|
+
(d(!0), v(z, null, q(f(r).itemsForShow.value, (A) => (d(), w(f(H), {
|
|
559
568
|
class: I({
|
|
560
|
-
"top-active": !Array.isArray(
|
|
569
|
+
"top-active": !Array.isArray(l.value) && !t.multiselect && l.value.id === A.id && l.value.name === A.name
|
|
561
570
|
}),
|
|
562
|
-
key:
|
|
563
|
-
closeByClick: !
|
|
564
|
-
onClick: (
|
|
571
|
+
key: A.id ?? void 0,
|
|
572
|
+
closeByClick: !t.multiselect || f(j).state.isMobile,
|
|
573
|
+
onClick: (Me) => f(r).selectItem(A)
|
|
565
574
|
}, {
|
|
566
575
|
default: V(() => [
|
|
567
|
-
|
|
576
|
+
t.$slots.item ? X(t.$slots, "item", {
|
|
568
577
|
key: 0,
|
|
569
|
-
item:
|
|
570
|
-
}) : (
|
|
571
|
-
|
|
578
|
+
item: A
|
|
579
|
+
}) : (d(), v(z, { key: 1 }, [
|
|
580
|
+
E(_(A.name), 1)
|
|
572
581
|
], 64))
|
|
573
582
|
]),
|
|
574
583
|
_: 2
|
|
575
584
|
}, 1032, ["class", "closeByClick", "onClick"]))), 128)),
|
|
576
|
-
!
|
|
585
|
+
!f(s).isLoading.value && !f(r).itemsForShow.value.length ? (d(), w(f(H), {
|
|
577
586
|
key: 0,
|
|
578
587
|
type: "regular"
|
|
579
588
|
}, {
|
|
580
589
|
default: V(() => [
|
|
581
|
-
|
|
590
|
+
E(_(t.$i18n.Common.No_results), 1)
|
|
582
591
|
]),
|
|
583
592
|
_: 1
|
|
584
|
-
})) :
|
|
585
|
-
|
|
593
|
+
})) : $("", !0),
|
|
594
|
+
f(s).isLoading.value && (t.searchType !== "popup" || (m = f(s).apiRequest) != null && m.params.offset) ? (d(), w(f(H), {
|
|
586
595
|
key: 1,
|
|
587
596
|
type: "regular"
|
|
588
597
|
}, {
|
|
589
598
|
default: V(() => [
|
|
590
|
-
|
|
599
|
+
D(f(ie), { type: "circles" })
|
|
591
600
|
]),
|
|
592
601
|
_: 1
|
|
593
|
-
})) :
|
|
602
|
+
})) : $("", !0)
|
|
594
603
|
];
|
|
595
604
|
}),
|
|
596
605
|
_: 2
|
|
@@ -600,13 +609,13 @@ const me = { class: "top-editArea_footer" }, ve = /* @__PURE__ */ L({
|
|
|
600
609
|
fn: V(() => {
|
|
601
610
|
var m;
|
|
602
611
|
return [
|
|
603
|
-
|
|
612
|
+
D(f(de), {
|
|
604
613
|
title: "Поиск",
|
|
605
614
|
icon: "",
|
|
606
|
-
modelValue:
|
|
607
|
-
"onUpdate:modelValue": n[2] || (n[2] = (
|
|
608
|
-
isLoading:
|
|
609
|
-
placeholder:
|
|
615
|
+
modelValue: f(r).searchText.value,
|
|
616
|
+
"onUpdate:modelValue": n[2] || (n[2] = (A) => f(r).searchText.value = A),
|
|
617
|
+
isLoading: f(s).isLoading.value && !((m = f(s).apiRequest) != null && m.params.offset),
|
|
618
|
+
placeholder: i.value
|
|
610
619
|
}, null, 8, ["modelValue", "isLoading", "placeholder"])
|
|
611
620
|
];
|
|
612
621
|
}),
|
|
@@ -615,37 +624,37 @@ const me = { class: "top-editArea_footer" }, ve = /* @__PURE__ */ L({
|
|
|
615
624
|
]), 1032, ["notch"]);
|
|
616
625
|
};
|
|
617
626
|
}
|
|
618
|
-
}),
|
|
627
|
+
}), we = ["data-top-icon"], Ie = { class: "top-info_text" }, Be = {
|
|
619
628
|
key: 0,
|
|
620
629
|
class: "top-info_value"
|
|
621
|
-
},
|
|
630
|
+
}, We = /* @__PURE__ */ M({
|
|
622
631
|
__name: "info",
|
|
623
632
|
props: {
|
|
624
633
|
icon: {},
|
|
625
634
|
styling: { default: "default" },
|
|
626
635
|
size: { default: "default" }
|
|
627
636
|
},
|
|
628
|
-
setup(
|
|
629
|
-
return (
|
|
637
|
+
setup(a) {
|
|
638
|
+
return (e, l) => (d(), v("div", {
|
|
630
639
|
class: I({
|
|
631
640
|
"top-info": !0,
|
|
632
|
-
["top-size_" +
|
|
633
|
-
["top-info-styling_" +
|
|
641
|
+
["top-size_" + e.size]: !0,
|
|
642
|
+
["top-info-styling_" + e.styling]: !0
|
|
634
643
|
}),
|
|
635
|
-
"data-top-icon":
|
|
644
|
+
"data-top-icon": e.icon
|
|
636
645
|
}, [
|
|
637
|
-
|
|
638
|
-
|
|
646
|
+
L("div", Ie, [
|
|
647
|
+
X(e.$slots, "default")
|
|
639
648
|
]),
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
])) :
|
|
643
|
-
], 10,
|
|
649
|
+
e.$slots.additional ? (d(), v("span", Be, [
|
|
650
|
+
X(e.$slots, "additional")
|
|
651
|
+
])) : $("", !0)
|
|
652
|
+
], 10, we));
|
|
644
653
|
}
|
|
645
|
-
}),
|
|
654
|
+
}), Se = {
|
|
646
655
|
key: 0,
|
|
647
656
|
class: "top-policy"
|
|
648
|
-
},
|
|
657
|
+
}, Le = { class: "top-policy_title" }, Ee = ["innerHTML"], Xe = /* @__PURE__ */ M({
|
|
649
658
|
__name: "policy",
|
|
650
659
|
props: {
|
|
651
660
|
title: {},
|
|
@@ -653,36 +662,36 @@ const me = { class: "top-editArea_footer" }, ve = /* @__PURE__ */ L({
|
|
|
653
662
|
acceptText: {}
|
|
654
663
|
},
|
|
655
664
|
emits: ["accept"],
|
|
656
|
-
setup(
|
|
657
|
-
const
|
|
658
|
-
o.value = !1,
|
|
665
|
+
setup(a, { emit: e }) {
|
|
666
|
+
const l = e, o = B(!0), u = () => {
|
|
667
|
+
o.value = !1, l("accept");
|
|
659
668
|
};
|
|
660
|
-
return (
|
|
661
|
-
|
|
662
|
-
|
|
669
|
+
return (s, r) => o.value ? (d(), v("div", Se, [
|
|
670
|
+
L("div", Le, _(s.title), 1),
|
|
671
|
+
L("div", {
|
|
663
672
|
class: "top-policy_description",
|
|
664
|
-
innerHTML:
|
|
665
|
-
}, null, 8,
|
|
666
|
-
|
|
673
|
+
innerHTML: s.description
|
|
674
|
+
}, null, 8, Ee),
|
|
675
|
+
D(f(F), {
|
|
667
676
|
size: "m",
|
|
668
|
-
onClick:
|
|
677
|
+
onClick: u
|
|
669
678
|
}, {
|
|
670
679
|
default: V(() => [
|
|
671
|
-
|
|
680
|
+
E(_(s.acceptText), 1)
|
|
672
681
|
]),
|
|
673
682
|
_: 1
|
|
674
683
|
})
|
|
675
|
-
])) :
|
|
684
|
+
])) : $("", !0);
|
|
676
685
|
}
|
|
677
|
-
})
|
|
686
|
+
});
|
|
678
687
|
export {
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
688
|
+
He as TopCheckboxGroup,
|
|
689
|
+
Ne as TopEditArea,
|
|
690
|
+
qe as TopEditInput,
|
|
691
|
+
We as TopInfo,
|
|
692
|
+
je as TopMenu,
|
|
693
|
+
Xe as TopPolicy,
|
|
694
|
+
Fe as TopRadioGroup,
|
|
695
|
+
Ue as TopSelector2
|
|
687
696
|
};
|
|
688
697
|
//# sourceMappingURL=formsExt.js.map
|