@ibiz-template/mob-vue3-components 0.7.41-alpha.19 → 0.7.41-alpha.20
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/dist/ibiz-markdown-editor-DMe7ZdYW.js +2 -0
- package/dist/{ibiz-markdown-editor-CpFrKPxk.js.map → ibiz-markdown-editor-DMe7ZdYW.js.map} +1 -1
- package/dist/index-B0eDJ8A4.js +2 -0
- package/dist/index-B0eDJ8A4.js.map +1 -0
- package/dist/index-FB2X3Nyy.js +76 -0
- package/dist/index-FB2X3Nyy.js.map +1 -0
- package/dist/index-nqcMxJEO.js +2 -0
- package/dist/index-nqcMxJEO.js.map +1 -0
- package/dist/index.min.css +8 -8
- package/dist/index.system.min.js +1 -1
- package/dist/{quill-DcWdzP1t.js → quill-COWm2ioZ.js} +2 -2
- package/dist/{quill-DcWdzP1t.js.map → quill-COWm2ioZ.js.map} +1 -1
- package/dist/quill-editor-BwfQqajZ.js +2 -0
- package/dist/{quill-editor-DlIyufAV.js.map → quill-editor-BwfQqajZ.js.map} +1 -1
- package/dist/quill-editor-preview-Bj3EE5LD.js +2 -0
- package/dist/{quill-editor-preview-Cf2qhphz.js.map → quill-editor-preview-Bj3EE5LD.js.map} +1 -1
- package/dist/tree-CgxZzCGY.js +2 -0
- package/dist/tree-CgxZzCGY.js.map +1 -0
- package/es/_virtual/isBetween.mjs +3 -0
- package/es/common/action-group/action-group.mjs +4 -4
- package/es/common/action-toolbar/action-toolbar.mjs +1 -1
- package/es/common/add-btn/add-btn-event.mjs +10 -0
- package/es/common/add-btn/add-btn.css +1 -0
- package/es/common/add-btn/add-btn.mjs +39 -0
- package/es/common/add-more/add-more.css +1 -0
- package/es/common/add-more/add-more.mjs +29 -0
- package/es/common/button-list/button-list.css +1 -1
- package/es/common/button-list/button-list.mjs +2 -2
- package/es/common/carousel/carousel.css +1 -1
- package/es/common/carousel/carousel.mjs +2 -2
- package/es/common/cropping/cropping.css +1 -1
- package/es/common/date-range-picker/date-range-picker.mjs +2 -2
- package/es/common/emoji-select/components/categories/categories.css +1 -1
- package/es/common/emoji-select/components/category-label/category-label.css +1 -1
- package/es/common/emoji-select/components/emoji-item/emoji-item.css +1 -1
- package/es/common/emoji-select/components/emoji-list/emoji-list.css +1 -1
- package/es/common/emoji-select/emoji-select.css +1 -1
- package/es/common/float-button/float-button.css +1 -0
- package/es/common/float-button/float-button.mjs +63 -0
- package/es/common/index.mjs +21 -3
- package/es/common/info-item/info-item.css +1 -0
- package/es/common/info-item/info-item.mjs +92 -0
- package/es/common/md-advaned-searchform/md-advaned-searchform.css +1 -0
- package/es/common/md-advaned-searchform/md-advaned-searchform.mjs +98 -0
- package/es/common/md-sort-setting/md-sort-setting.css +1 -0
- package/es/common/md-sort-setting/md-sort-setting.mjs +168 -0
- package/es/common/preset-view-back/preset-view-back.mjs +5 -4
- package/es/common/rawitem/rawitem.css +1 -1
- package/es/common/rawitem/rawitem.mjs +57 -11
- package/es/common/split/split.css +1 -0
- package/es/common/split/split.mjs +187 -0
- package/es/common/split-trigger/split-trigger.css +1 -0
- package/es/common/split-trigger/split-trigger.mjs +36 -0
- package/es/common/tab-layout/tab-default-layout/tab-default-layout.css +1 -0
- package/es/common/tab-layout/tab-default-layout/tab-default-layout.mjs +77 -0
- package/es/common/tab-layout/tab-dropdown/tab-dropdown-list-content.css +1 -0
- package/es/common/tab-layout/tab-dropdown/tab-dropdown-list-content.mjs +64 -0
- package/es/common/tab-layout/tab-dropdown/tab-dropdown.css +1 -0
- package/es/common/tab-layout/tab-dropdown/tab-dropdown.mjs +80 -0
- package/es/common/tab-layout/tab-flow-layout/tab-flow-layout.css +1 -0
- package/es/common/tab-layout/tab-flow-layout/tab-flow-layout.mjs +56 -0
- package/es/common/tab-layout/tab-layout-util.mjs +34 -0
- package/es/common/tab-layout/tab-layout.css +1 -0
- package/es/common/tab-layout/tab-layout.mjs +60 -0
- package/es/common/tab-layout/tab-sidebar-layout/tab-sidebar-layout.css +1 -0
- package/es/common/tab-layout/tab-sidebar-layout/tab-sidebar-layout.mjs +59 -0
- package/es/common/view-message/view-message.css +1 -0
- package/es/common/view-message/view-message.mjs +131 -0
- package/es/control/app-menu/app-menu.css +1 -1
- package/es/control/app-menu/app-menu.mjs +36 -42
- package/es/control/app-menu/custom-menu-design/custom-menu-design.css +1 -1
- package/es/control/app-menu/custom-menu-design/custom-menu-design.mjs +85 -71
- package/es/control/app-menu/menu-render-util.mjs +30 -0
- package/es/control/app-menu-icon-view/app-menu-icon-view.css +1 -1
- package/es/control/app-menu-icon-view/app-menu-icon-view.mjs +101 -41
- package/es/control/app-menu-list-view/app-menu-list-view.css +1 -1
- package/es/control/app-menu-list-view/app-menu-list-view.mjs +71 -42
- package/es/control/calendar/calendar.css +1 -1
- package/es/control/calendar/calendar.mjs +127 -54
- package/es/control/caption-bar/caption-bar.css +1 -1
- package/es/control/dashboard/custom-dashboard-design/custom-dashboard-design.css +1 -0
- package/es/control/dashboard/custom-dashboard-design/custom-dashboard-design.mjs +80 -0
- package/es/control/dashboard/dashboard.css +1 -1
- package/es/control/dashboard/dashboard.mjs +79 -26
- package/es/control/dashboard/index.mjs +13 -2
- package/es/control/dashboard/portlet/actionbar-portlet/actionbar-portlet.mjs +47 -0
- package/es/control/dashboard/portlet/actionbar-portlet/actionbar-portlet.provider.mjs +21 -0
- package/es/control/dashboard/portlet/actionbar-portlet/index.mjs +15 -0
- package/es/control/dashboard/portlet/chart-portlet/chart-portlet.mjs +64 -0
- package/es/control/dashboard/portlet/chart-portlet/chart-portlet.provider.mjs +21 -0
- package/es/control/dashboard/portlet/chart-portlet/index.mjs +12 -0
- package/es/control/dashboard/portlet/html-portlet/html-portlet.css +1 -0
- package/es/control/dashboard/portlet/html-portlet/html-portlet.mjs +39 -0
- package/es/control/dashboard/portlet/html-portlet/html-portlet.provider.mjs +21 -0
- package/es/control/dashboard/portlet/html-portlet/index.mjs +12 -0
- package/es/control/dashboard/portlet/index.mjs +8 -2
- package/es/control/dashboard/portlet/menu-portlet/menu-portlet.mjs +2 -3
- package/es/control/dashboard/portlet/portlet-layout/portlet-layout.css +1 -1
- package/es/control/dashboard/portlet/portlet-layout/portlet-layout.mjs +16 -3
- package/es/control/dashboard/portlet/rawitem-portlet/index.mjs +15 -0
- package/es/control/dashboard/portlet/rawitem-portlet/rawitem-portlet.mjs +44 -0
- package/es/control/dashboard/portlet/rawitem-portlet/rawitem-portlet.provider.mjs +21 -0
- package/es/control/data-view/data-view.css +1 -1
- package/es/control/data-view/data-view.mjs +53 -85
- package/es/control/drbar/drbar.controller.mjs +4 -2
- package/es/control/drtab/drtab.controller.mjs +41 -5
- package/es/control/drtab/drtab.css +1 -1
- package/es/control/drtab/drtab.mjs +30 -104
- package/es/control/form/edit-form/edit-form.css +1 -1
- package/es/control/form/edit-form/edit-form.mjs +26 -4
- package/es/control/form/form/form.mjs +7 -1
- package/es/control/form/form-detail/form-button/form-button.css +1 -1
- package/es/control/form/form-detail/form-button/form-button.mjs +1 -1
- package/es/control/form/form-detail/form-button-list/form-button-list.css +1 -1
- package/es/control/form/form-detail/form-group-panel/form-group-panel.css +1 -1
- package/es/control/form/form-detail/form-group-panel/form-group-panel.mjs +20 -4
- package/es/control/form/form-detail/form-item/form-item-container/form-item-container.css +1 -1
- package/es/control/form/form-detail/form-item/form-item-container/form-item-container.mjs +17 -13
- package/es/control/form/form-detail/form-item/form-item.css +1 -1
- package/es/control/form/form-detail/form-item/form-item.mjs +2 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-md/form-mdctrl-md.css +1 -1
- package/es/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.css +1 -1
- package/es/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.mjs +22 -46
- package/es/control/form/form-detail/form-page/form-page.css +1 -1
- package/es/control/form/form-detail/form-rawitem/form-rawitem.css +1 -1
- package/es/control/form/form-detail/form-rawitem/form-rawitem.mjs +2 -1
- package/es/control/form/form-detail/form-tab-panel/form-tab-panel.css +1 -1
- package/es/control/form/search-form/search-form.css +1 -1
- package/es/control/form/search-form/search-form.mjs +34 -15
- package/es/control/index.mjs +8 -1
- package/es/control/list/list/list.mjs +2 -1
- package/es/control/list/md-ctrl/md-ctrl.css +1 -1
- package/es/control/list/md-ctrl/md-ctrl.mjs +50 -97
- package/es/control/search-bar/filter-tree/filter-tree.mjs +5 -10
- package/es/control/search-bar/search-bar.css +1 -1
- package/es/control/search-bar/search-bar.mjs +309 -10
- package/es/control/tab-exp-panel/tab-exp-panel.css +1 -1
- package/es/control/tab-exp-panel/tab-exp-panel.mjs +37 -37
- package/es/control/toolbar/float-toolbar/float-toolbar.css +1 -0
- package/es/control/toolbar/float-toolbar/float-toolbar.mjs +89 -0
- package/es/control/toolbar/toolbar-group-list/toolbar-group-list.css +1 -0
- package/es/control/toolbar/toolbar-group-list/toolbar-group-list.mjs +77 -0
- package/es/control/toolbar/toolbar-render-util.mjs +233 -0
- package/es/control/toolbar/toolbar.css +1 -1
- package/es/control/toolbar/toolbar.mjs +151 -159
- package/es/control/tree/tree.css +1 -1
- package/es/control/tree/tree.mjs +182 -54
- package/es/control/tree-exp-bar/render-util.mjs +4 -3
- package/es/control/tree-exp-bar/tree-exp-bar.css +1 -1
- package/es/control/wizard-panel/wizard-panel.css +1 -1
- package/es/control/wizard-panel/wizard-panel.mjs +35 -18
- package/es/editor/array/array-editor.controller.mjs +7 -0
- package/es/editor/array/array-editor.provider.mjs +22 -0
- package/es/editor/array/ibiz-array/ibiz-array.css +1 -0
- package/es/editor/array/ibiz-array/ibiz-array.mjs +163 -0
- package/es/editor/array/index.mjs +5 -0
- package/es/editor/cascader/ibiz-cascader/ibiz-cascader.css +1 -1
- package/es/editor/cascader/ibiz-cascader/ibiz-cascader.mjs +19 -10
- package/es/editor/check-box/ibiz-checkbox/ibiz-checkbox.css +1 -1
- package/es/editor/check-box/ibiz-checkbox/ibiz-checkbox.mjs +2 -2
- package/es/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.css +1 -1
- package/es/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.mjs +2 -2
- package/es/editor/color-picker/ibiz-color-picker/ibiz-color-picker.css +1 -1
- package/es/editor/common/data-mpicker/ibiz-data-mpicker.css +1 -1
- package/es/editor/common/right-icon/right-icon.css +1 -1
- package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.css +1 -1
- package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.mjs +27 -29
- package/es/editor/data-picker/ibiz-picker/ibiz-picker.css +1 -1
- package/es/editor/data-picker/ibiz-picker/ibiz-picker.mjs +1 -1
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.css +1 -1
- package/es/editor/date-picker/ibiz-date-picker/ibiz-date-picker.css +1 -1
- package/es/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.css +1 -1
- package/es/editor/dropdown-list/ibiz-cascader-dropdown/ibiz-cascader-dropdown.css +1 -1
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.css +1 -1
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.mjs +3 -1
- package/es/editor/dropdown-list/ibiz-dropdown-list/ibiz-dropdown-list.css +1 -1
- package/es/editor/dropdown-list/ibiz-dropdown-list/ibiz-dropdown-list.mjs +12 -3
- package/es/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.css +1 -1
- package/es/editor/html/quill-editor/quill-editor.css +1 -1
- package/es/editor/html/quill-editor-preview/quill-editor-preview.css +1 -1
- package/es/editor/index.mjs +23 -4
- package/es/editor/map-picker/ibiz-map-picker/ibiz-map-picker.css +1 -1
- package/es/editor/map-picker/ibiz-map-picker/ibiz-map-picker.mjs +7 -1
- package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.css +1 -1
- package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.mjs +2 -1
- package/es/editor/not-supported-editor/not-supported-editor.css +1 -1
- package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.css +1 -1
- package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.mjs +2 -2
- package/es/editor/qrcode/ibiz-qrcode/ibiz-qrcode.css +1 -1
- package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.css +1 -1
- package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.mjs +2 -2
- package/es/editor/rate/ibiz-rate/ibiz-rate.css +1 -1
- package/es/editor/rate/ibiz-rate/ibiz-rate.mjs +2 -2
- package/es/editor/raw/ibiz-raw/ibiz-raw.css +1 -1
- package/es/editor/slider/ibiz-slider/ibiz-slider.css +1 -1
- package/es/editor/slider/ibiz-slider/ibiz-slider.mjs +3 -3
- package/es/editor/span/span/span.css +1 -1
- package/es/editor/span/span/span.mjs +5 -4
- package/es/editor/span/span-link/span-link.css +1 -1
- package/es/editor/stepper/ibiz-stepper/ibiz-stepper.css +1 -1
- package/es/editor/stepper/ibiz-stepper/ibiz-stepper.mjs +2 -2
- package/es/editor/switch/ibiz-switch/ibiz-switch.css +1 -1
- package/es/editor/switch/ibiz-switch/ibiz-switch.mjs +2 -2
- package/es/editor/text-box/ibiz-input-number/ibiz-input-number.css +1 -1
- package/es/editor/text-box/ibiz-input-number/ibiz-input-number.mjs +2 -2
- package/es/editor/text-box/input/input.css +1 -1
- package/es/editor/text-box/input/input.mjs +2 -2
- package/es/editor/text-box/signature/signature.css +1 -1
- package/es/editor/upload/ibiz-carousel/ibiz-carousel.css +1 -1
- package/es/editor/upload/ibiz-carousel/ibiz-carousel.mjs +3 -0
- package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.css +1 -1
- package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.mjs +2 -2
- package/es/editor/upload/ibiz-image-cropping/ibiz-image-cropping.css +1 -1
- package/es/editor/upload/ibiz-image-cropping/ibiz-image-cropping.mjs +19 -6
- package/es/editor/upload/ibiz-image-select/ibiz-image-select.css +1 -1
- package/es/editor/upload/ibiz-image-select/ibiz-image-select.mjs +2 -2
- package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.css +1 -1
- package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.mjs +2 -2
- package/es/editor/upload/upload-editor.provider.mjs +1 -0
- package/es/index.mjs +13 -1
- package/es/locale/en/index.mjs +22 -6
- package/es/locale/zh-CN/index.mjs +23 -8
- package/es/mob-app/guard/auth-guard/auth-guard.mjs +11 -5
- package/es/mob-app/main.mjs +10 -1
- package/es/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/plugin/isBetween.mjs +13 -0
- package/es/panel-component/auth-userinfo/auth-userinfo.css +1 -1
- package/es/panel-component/index.mjs +12 -1
- package/es/panel-component/panel-button/panel-button.css +1 -1
- package/es/panel-component/panel-button/panel-button.mjs +2 -3
- package/es/panel-component/setting-container/index.mjs +18 -0
- package/es/panel-component/setting-container/setting-container.controller.mjs +68 -0
- package/es/panel-component/setting-container/setting-container.css +1 -0
- package/es/panel-component/setting-container/setting-container.mjs +137 -0
- package/es/panel-component/setting-container/setting-container.provider.mjs +21 -0
- package/es/panel-component/split-container/index.mjs +23 -0
- package/es/panel-component/split-container/split-container.controller.mjs +110 -0
- package/es/panel-component/split-container/split-container.css +1 -0
- package/es/panel-component/split-container/split-container.mjs +58 -0
- package/es/panel-component/split-container/split-container.provider.mjs +21 -0
- package/es/panel-component/split-container/split-container.state.mjs +28 -0
- package/es/panel-component/user-message/user-message.css +1 -1
- package/es/panel-component/user-message/user-message.mjs +7 -3
- package/es/panel-component/view-content-panel-container/view-content-panel-container.css +1 -1
- package/es/panel-component/view-content-panel-container/view-content-panel-container.mjs +12 -1
- package/es/panel-component/view-header-panel-container/view-header-panel-container.css +1 -1
- package/es/panel-component/view-message/index.mjs +15 -0
- package/es/panel-component/view-message/view-message.mjs +52 -0
- package/es/panel-component/view-message/view-message.provider.mjs +21 -0
- package/es/panel-component/view-msg-pos/index.mjs +16 -0
- package/es/panel-component/view-msg-pos/view-msg-pos.controller.mjs +46 -0
- package/es/panel-component/view-msg-pos/view-msg-pos.mjs +56 -0
- package/es/panel-component/view-msg-pos/view-msg-pos.provider.mjs +21 -0
- package/es/panel-component/wf-step-trace/wf-step-trace.mjs +11 -4
- package/es/util/app-drawer/app-drawer-component.mjs +3 -3
- package/es/util/button-util/button-util.mjs +21 -2
- package/es/util/index.mjs +1 -0
- package/es/util/list-util/list-render-util.mjs +261 -0
- package/es/util/modal-util/modal-util.mjs +44 -2
- package/es/util/store/view-stack/view-stack.mjs +1 -3
- package/es/view-engine/index.mjs +4 -0
- package/es/view-engine/mob-edit-view.engine.mjs +12 -0
- package/es/view-engine/mob-edit-view3.engine.mjs +51 -0
- package/es/view-engine/mob-mpickup-view-engine.mjs +1 -2
- package/es/view-engine/mob-pickup-tree-view.engine.mjs +4 -2
- package/es/view-engine/mob-tab-exp-view.engine.mjs +134 -1
- package/es/view-engine/mob-tab-search-view.engine.mjs +1 -28
- package/es/view-engine/mob-tree-exp-view.engine.mjs +19 -1
- package/es/view-engine/mob-wizard-view-engine.mjs +19 -1
- package/lib/_virtual/isBetween.cjs +5 -0
- package/lib/common/action-group/action-group.cjs +4 -4
- package/lib/common/action-toolbar/action-toolbar.cjs +1 -1
- package/lib/common/add-btn/add-btn-event.cjs +12 -0
- package/lib/common/add-btn/add-btn.cjs +41 -0
- package/lib/common/add-btn/add-btn.css +1 -0
- package/lib/common/add-more/add-more.cjs +31 -0
- package/lib/common/add-more/add-more.css +1 -0
- package/lib/common/button-list/button-list.cjs +2 -2
- package/lib/common/button-list/button-list.css +1 -1
- package/lib/common/carousel/carousel.cjs +1 -1
- package/lib/common/carousel/carousel.css +1 -1
- package/lib/common/cropping/cropping.css +1 -1
- package/lib/common/date-range-picker/date-range-picker.cjs +1 -1
- package/lib/common/emoji-select/components/categories/categories.css +1 -1
- package/lib/common/emoji-select/components/category-label/category-label.css +1 -1
- package/lib/common/emoji-select/components/emoji-item/emoji-item.css +1 -1
- package/lib/common/emoji-select/components/emoji-list/emoji-list.css +1 -1
- package/lib/common/emoji-select/emoji-select.css +1 -1
- package/lib/common/float-button/float-button.cjs +65 -0
- package/lib/common/float-button/float-button.css +1 -0
- package/lib/common/index.cjs +24 -2
- package/lib/common/info-item/info-item.cjs +94 -0
- package/lib/common/info-item/info-item.css +1 -0
- package/lib/common/md-advaned-searchform/md-advaned-searchform.cjs +100 -0
- package/lib/common/md-advaned-searchform/md-advaned-searchform.css +1 -0
- package/lib/common/md-sort-setting/md-sort-setting.cjs +170 -0
- package/lib/common/md-sort-setting/md-sort-setting.css +1 -0
- package/lib/common/preset-view-back/preset-view-back.cjs +5 -4
- package/lib/common/rawitem/rawitem.cjs +57 -11
- package/lib/common/rawitem/rawitem.css +1 -1
- package/lib/common/split/split.cjs +189 -0
- package/lib/common/split/split.css +1 -0
- package/lib/common/split-trigger/split-trigger.cjs +38 -0
- package/lib/common/split-trigger/split-trigger.css +1 -0
- package/lib/common/tab-layout/tab-default-layout/tab-default-layout.cjs +79 -0
- package/lib/common/tab-layout/tab-default-layout/tab-default-layout.css +1 -0
- package/lib/common/tab-layout/tab-dropdown/tab-dropdown-list-content.cjs +66 -0
- package/lib/common/tab-layout/tab-dropdown/tab-dropdown-list-content.css +1 -0
- package/lib/common/tab-layout/tab-dropdown/tab-dropdown.cjs +82 -0
- package/lib/common/tab-layout/tab-dropdown/tab-dropdown.css +1 -0
- package/lib/common/tab-layout/tab-flow-layout/tab-flow-layout.cjs +58 -0
- package/lib/common/tab-layout/tab-flow-layout/tab-flow-layout.css +1 -0
- package/lib/common/tab-layout/tab-layout-util.cjs +38 -0
- package/lib/common/tab-layout/tab-layout.cjs +62 -0
- package/lib/common/tab-layout/tab-layout.css +1 -0
- package/lib/common/tab-layout/tab-sidebar-layout/tab-sidebar-layout.cjs +61 -0
- package/lib/common/tab-layout/tab-sidebar-layout/tab-sidebar-layout.css +1 -0
- package/lib/common/view-message/view-message.cjs +133 -0
- package/lib/common/view-message/view-message.css +1 -0
- package/lib/control/app-menu/app-menu.cjs +35 -41
- package/lib/control/app-menu/app-menu.css +1 -1
- package/lib/control/app-menu/custom-menu-design/custom-menu-design.cjs +84 -70
- package/lib/control/app-menu/custom-menu-design/custom-menu-design.css +1 -1
- package/lib/control/app-menu/menu-render-util.cjs +33 -0
- package/lib/control/app-menu-icon-view/app-menu-icon-view.cjs +99 -39
- package/lib/control/app-menu-icon-view/app-menu-icon-view.css +1 -1
- package/lib/control/app-menu-list-view/app-menu-list-view.cjs +70 -41
- package/lib/control/app-menu-list-view/app-menu-list-view.css +1 -1
- package/lib/control/calendar/calendar.cjs +126 -53
- package/lib/control/calendar/calendar.css +1 -1
- package/lib/control/caption-bar/caption-bar.css +1 -1
- package/lib/control/dashboard/custom-dashboard-design/custom-dashboard-design.cjs +82 -0
- package/lib/control/dashboard/custom-dashboard-design/custom-dashboard-design.css +1 -0
- package/lib/control/dashboard/dashboard.cjs +77 -24
- package/lib/control/dashboard/dashboard.css +1 -1
- package/lib/control/dashboard/index.cjs +20 -2
- package/lib/control/dashboard/portlet/actionbar-portlet/actionbar-portlet.cjs +49 -0
- package/lib/control/dashboard/portlet/actionbar-portlet/actionbar-portlet.provider.cjs +23 -0
- package/lib/control/dashboard/portlet/actionbar-portlet/index.cjs +21 -0
- package/lib/control/dashboard/portlet/chart-portlet/chart-portlet.cjs +66 -0
- package/lib/control/dashboard/portlet/chart-portlet/chart-portlet.provider.cjs +23 -0
- package/lib/control/dashboard/portlet/chart-portlet/index.cjs +18 -0
- package/lib/control/dashboard/portlet/html-portlet/html-portlet.cjs +41 -0
- package/lib/control/dashboard/portlet/html-portlet/html-portlet.css +1 -0
- package/lib/control/dashboard/portlet/html-portlet/html-portlet.provider.cjs +23 -0
- package/lib/control/dashboard/portlet/html-portlet/index.cjs +18 -0
- package/lib/control/dashboard/portlet/index.cjs +16 -3
- package/lib/control/dashboard/portlet/menu-portlet/menu-portlet.cjs +2 -3
- package/lib/control/dashboard/portlet/portlet-layout/portlet-layout.cjs +15 -2
- package/lib/control/dashboard/portlet/portlet-layout/portlet-layout.css +1 -1
- package/lib/control/dashboard/portlet/rawitem-portlet/index.cjs +21 -0
- package/lib/control/dashboard/portlet/rawitem-portlet/rawitem-portlet.cjs +46 -0
- package/lib/control/dashboard/portlet/rawitem-portlet/rawitem-portlet.provider.cjs +23 -0
- package/lib/control/data-view/data-view.cjs +52 -84
- package/lib/control/data-view/data-view.css +1 -1
- package/lib/control/drbar/drbar.controller.cjs +4 -2
- package/lib/control/drtab/drtab.cjs +29 -103
- package/lib/control/drtab/drtab.controller.cjs +41 -5
- package/lib/control/drtab/drtab.css +1 -1
- package/lib/control/form/edit-form/edit-form.cjs +25 -3
- package/lib/control/form/edit-form/edit-form.css +1 -1
- package/lib/control/form/form/form.cjs +7 -1
- package/lib/control/form/form-detail/form-button/form-button.cjs +1 -1
- package/lib/control/form/form-detail/form-button/form-button.css +1 -1
- package/lib/control/form/form-detail/form-button-list/form-button-list.css +1 -1
- package/lib/control/form/form-detail/form-group-panel/form-group-panel.cjs +20 -4
- package/lib/control/form/form-detail/form-group-panel/form-group-panel.css +1 -1
- package/lib/control/form/form-detail/form-item/form-item-container/form-item-container.cjs +17 -13
- package/lib/control/form/form-detail/form-item/form-item-container/form-item-container.css +1 -1
- package/lib/control/form/form-detail/form-item/form-item.cjs +2 -1
- package/lib/control/form/form-detail/form-item/form-item.css +1 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-md/form-mdctrl-md.css +1 -1
- package/lib/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.cjs +21 -45
- package/lib/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.css +1 -1
- package/lib/control/form/form-detail/form-page/form-page.css +1 -1
- package/lib/control/form/form-detail/form-rawitem/form-rawitem.cjs +2 -1
- package/lib/control/form/form-detail/form-rawitem/form-rawitem.css +1 -1
- package/lib/control/form/form-detail/form-tab-panel/form-tab-panel.css +1 -1
- package/lib/control/form/search-form/search-form.cjs +34 -15
- package/lib/control/form/search-form/search-form.css +1 -1
- package/lib/control/index.cjs +26 -12
- package/lib/control/list/list/list.cjs +2 -1
- package/lib/control/list/md-ctrl/md-ctrl.cjs +49 -96
- package/lib/control/list/md-ctrl/md-ctrl.css +1 -1
- package/lib/control/search-bar/filter-tree/filter-tree.cjs +4 -9
- package/lib/control/search-bar/search-bar.cjs +306 -7
- package/lib/control/search-bar/search-bar.css +1 -1
- package/lib/control/tab-exp-panel/tab-exp-panel.cjs +36 -36
- package/lib/control/tab-exp-panel/tab-exp-panel.css +1 -1
- package/lib/control/toolbar/float-toolbar/float-toolbar.cjs +91 -0
- package/lib/control/toolbar/float-toolbar/float-toolbar.css +1 -0
- package/lib/control/toolbar/toolbar-group-list/toolbar-group-list.cjs +79 -0
- package/lib/control/toolbar/toolbar-group-list/toolbar-group-list.css +1 -0
- package/lib/control/toolbar/toolbar-render-util.cjs +238 -0
- package/lib/control/toolbar/toolbar.cjs +149 -157
- package/lib/control/toolbar/toolbar.css +1 -1
- package/lib/control/tree/tree.cjs +179 -51
- package/lib/control/tree/tree.css +1 -1
- package/lib/control/tree-exp-bar/render-util.cjs +4 -3
- package/lib/control/tree-exp-bar/tree-exp-bar.css +1 -1
- package/lib/control/wizard-panel/wizard-panel.cjs +35 -18
- package/lib/control/wizard-panel/wizard-panel.css +1 -1
- package/lib/editor/array/array-editor.controller.cjs +9 -0
- package/lib/editor/array/array-editor.provider.cjs +24 -0
- package/lib/editor/array/ibiz-array/ibiz-array.cjs +165 -0
- package/lib/editor/array/ibiz-array/ibiz-array.css +1 -0
- package/lib/editor/array/index.cjs +11 -0
- package/lib/editor/cascader/ibiz-cascader/ibiz-cascader.cjs +19 -10
- package/lib/editor/cascader/ibiz-cascader/ibiz-cascader.css +1 -1
- package/lib/editor/check-box/ibiz-checkbox/ibiz-checkbox.cjs +1 -1
- package/lib/editor/check-box/ibiz-checkbox/ibiz-checkbox.css +1 -1
- package/lib/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.cjs +1 -1
- package/lib/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.css +1 -1
- package/lib/editor/color-picker/ibiz-color-picker/ibiz-color-picker.css +1 -1
- package/lib/editor/common/data-mpicker/ibiz-data-mpicker.css +1 -1
- package/lib/editor/common/right-icon/right-icon.css +1 -1
- package/lib/editor/data-picker/ibiz-mpicker/ibiz-mpicker.cjs +26 -28
- package/lib/editor/data-picker/ibiz-mpicker/ibiz-mpicker.css +1 -1
- package/lib/editor/data-picker/ibiz-picker/ibiz-picker.cjs +1 -1
- package/lib/editor/data-picker/ibiz-picker/ibiz-picker.css +1 -1
- package/lib/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.css +1 -1
- package/lib/editor/date-picker/ibiz-date-picker/ibiz-date-picker.css +1 -1
- package/lib/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.css +1 -1
- package/lib/editor/dropdown-list/ibiz-cascader-dropdown/ibiz-cascader-dropdown.css +1 -1
- package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.cjs +3 -1
- package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.css +1 -1
- package/lib/editor/dropdown-list/ibiz-dropdown-list/ibiz-dropdown-list.cjs +11 -2
- package/lib/editor/dropdown-list/ibiz-dropdown-list/ibiz-dropdown-list.css +1 -1
- package/lib/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.css +1 -1
- package/lib/editor/html/quill-editor/quill-editor.css +1 -1
- package/lib/editor/html/quill-editor-preview/quill-editor-preview.css +1 -1
- package/lib/editor/index.cjs +23 -4
- package/lib/editor/map-picker/ibiz-map-picker/ibiz-map-picker.cjs +7 -1
- package/lib/editor/map-picker/ibiz-map-picker/ibiz-map-picker.css +1 -1
- package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.cjs +2 -1
- package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.css +1 -1
- package/lib/editor/not-supported-editor/not-supported-editor.css +1 -1
- package/lib/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.cjs +2 -2
- package/lib/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.css +1 -1
- package/lib/editor/qrcode/ibiz-qrcode/ibiz-qrcode.css +1 -1
- package/lib/editor/radio-button-list/ibiz-radio/ibiz-radio.cjs +1 -1
- package/lib/editor/radio-button-list/ibiz-radio/ibiz-radio.css +1 -1
- package/lib/editor/rate/ibiz-rate/ibiz-rate.cjs +1 -1
- package/lib/editor/rate/ibiz-rate/ibiz-rate.css +1 -1
- package/lib/editor/raw/ibiz-raw/ibiz-raw.css +1 -1
- package/lib/editor/slider/ibiz-slider/ibiz-slider.cjs +2 -2
- package/lib/editor/slider/ibiz-slider/ibiz-slider.css +1 -1
- package/lib/editor/span/span/span.cjs +5 -4
- package/lib/editor/span/span/span.css +1 -1
- package/lib/editor/span/span-link/span-link.css +1 -1
- package/lib/editor/stepper/ibiz-stepper/ibiz-stepper.cjs +1 -1
- package/lib/editor/stepper/ibiz-stepper/ibiz-stepper.css +1 -1
- package/lib/editor/switch/ibiz-switch/ibiz-switch.cjs +1 -1
- package/lib/editor/switch/ibiz-switch/ibiz-switch.css +1 -1
- package/lib/editor/text-box/ibiz-input-number/ibiz-input-number.cjs +1 -1
- package/lib/editor/text-box/ibiz-input-number/ibiz-input-number.css +1 -1
- package/lib/editor/text-box/input/input.cjs +1 -1
- package/lib/editor/text-box/input/input.css +1 -1
- package/lib/editor/text-box/signature/signature.css +1 -1
- package/lib/editor/upload/ibiz-carousel/ibiz-carousel.cjs +3 -0
- package/lib/editor/upload/ibiz-carousel/ibiz-carousel.css +1 -1
- package/lib/editor/upload/ibiz-file-upload/ibiz-file-upload.cjs +1 -1
- package/lib/editor/upload/ibiz-file-upload/ibiz-file-upload.css +1 -1
- package/lib/editor/upload/ibiz-image-cropping/ibiz-image-cropping.cjs +18 -5
- package/lib/editor/upload/ibiz-image-cropping/ibiz-image-cropping.css +1 -1
- package/lib/editor/upload/ibiz-image-select/ibiz-image-select.cjs +1 -1
- package/lib/editor/upload/ibiz-image-select/ibiz-image-select.css +1 -1
- package/lib/editor/upload/ibiz-image-upload/ibiz-image-upload.cjs +1 -1
- package/lib/editor/upload/ibiz-image-upload/ibiz-image-upload.css +1 -1
- package/lib/editor/upload/upload-editor.provider.cjs +1 -0
- package/lib/index.cjs +42 -18
- package/lib/locale/en/index.cjs +22 -6
- package/lib/locale/zh-CN/index.cjs +23 -8
- package/lib/mob-app/guard/auth-guard/auth-guard.cjs +11 -5
- package/lib/mob-app/main.cjs +9 -0
- package/lib/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/plugin/isBetween.cjs +17 -0
- package/lib/panel-component/auth-userinfo/auth-userinfo.css +1 -1
- package/lib/panel-component/index.cjs +45 -34
- package/lib/panel-component/panel-button/panel-button.cjs +2 -3
- package/lib/panel-component/panel-button/panel-button.css +1 -1
- package/lib/panel-component/setting-container/index.cjs +23 -0
- package/lib/panel-component/setting-container/setting-container.cjs +139 -0
- package/lib/panel-component/setting-container/setting-container.controller.cjs +70 -0
- package/lib/panel-component/setting-container/setting-container.css +1 -0
- package/lib/panel-component/setting-container/setting-container.provider.cjs +23 -0
- package/lib/panel-component/split-container/index.cjs +29 -0
- package/lib/panel-component/split-container/split-container.cjs +60 -0
- package/lib/panel-component/split-container/split-container.controller.cjs +112 -0
- package/lib/panel-component/split-container/split-container.css +1 -0
- package/lib/panel-component/split-container/split-container.provider.cjs +23 -0
- package/lib/panel-component/split-container/split-container.state.cjs +30 -0
- package/lib/panel-component/user-message/user-message.cjs +7 -3
- package/lib/panel-component/user-message/user-message.css +1 -1
- package/lib/panel-component/view-content-panel-container/view-content-panel-container.cjs +12 -1
- package/lib/panel-component/view-content-panel-container/view-content-panel-container.css +1 -1
- package/lib/panel-component/view-header-panel-container/view-header-panel-container.css +1 -1
- package/lib/panel-component/view-message/index.cjs +20 -0
- package/lib/panel-component/view-message/view-message.cjs +54 -0
- package/lib/panel-component/view-message/view-message.provider.cjs +23 -0
- package/lib/panel-component/view-msg-pos/index.cjs +22 -0
- package/lib/panel-component/view-msg-pos/view-msg-pos.cjs +58 -0
- package/lib/panel-component/view-msg-pos/view-msg-pos.controller.cjs +48 -0
- package/lib/panel-component/view-msg-pos/view-msg-pos.provider.cjs +23 -0
- package/lib/panel-component/wf-step-trace/wf-step-trace.cjs +11 -4
- package/lib/util/app-drawer/app-drawer-component.cjs +2 -2
- package/lib/util/button-util/button-util.cjs +21 -2
- package/lib/util/index.cjs +2 -0
- package/lib/util/list-util/list-render-util.cjs +263 -0
- package/lib/util/modal-util/modal-util.cjs +44 -2
- package/lib/util/store/view-stack/view-stack.cjs +1 -3
- package/lib/view-engine/index.cjs +4 -0
- package/lib/view-engine/mob-edit-view.engine.cjs +12 -0
- package/lib/view-engine/mob-edit-view3.engine.cjs +51 -0
- package/lib/view-engine/mob-mpickup-view-engine.cjs +1 -2
- package/lib/view-engine/mob-pickup-tree-view.engine.cjs +4 -2
- package/lib/view-engine/mob-tab-exp-view.engine.cjs +133 -0
- package/lib/view-engine/mob-tab-search-view.engine.cjs +1 -28
- package/lib/view-engine/mob-tree-exp-view.engine.cjs +18 -0
- package/lib/view-engine/mob-wizard-view-engine.cjs +18 -0
- package/package.json +9 -8
- package/dist/ibiz-markdown-editor-CpFrKPxk.js +0 -2
- package/dist/index-BsnCebyq.js +0 -2
- package/dist/index-BsnCebyq.js.map +0 -1
- package/dist/index-DL4fl2Xq.js +0 -2
- package/dist/index-DL4fl2Xq.js.map +0 -1
- package/dist/index-DwC1-gss.js +0 -76
- package/dist/index-DwC1-gss.js.map +0 -1
- package/dist/quill-editor-DlIyufAV.js +0 -2
- package/dist/quill-editor-preview-Cf2qhphz.js +0 -2
- package/dist/tree-CGwysqdR.js +0 -2
- package/dist/tree-CGwysqdR.js.map +0 -1
- package/es/common/md-ctrl-setting/md-ctrl-setting.css +0 -1
- package/es/common/md-ctrl-setting/md-ctrl-setting.mjs +0 -199
- package/es/control/dashboard/portlet/portlet-part/index.mjs +0 -3
- package/es/control/dashboard/portlet/portlet-part/portlet-part.state.mjs +0 -50
- package/es/control/list/list-render-util.mjs +0 -130
- package/es/control/toolbar/popper-toolbar/popper-toolbar.css +0 -1
- package/es/control/toolbar/popper-toolbar/popper-toolbar.mjs +0 -157
- package/lib/common/md-ctrl-setting/md-ctrl-setting.cjs +0 -201
- package/lib/common/md-ctrl-setting/md-ctrl-setting.css +0 -1
- package/lib/control/dashboard/portlet/portlet-part/index.cjs +0 -7
- package/lib/control/dashboard/portlet/portlet-part/portlet-part.state.cjs +0 -52
- package/lib/control/list/list-render-util.cjs +0 -132
- package/lib/control/toolbar/popper-toolbar/popper-toolbar.cjs +0 -159
- package/lib/control/toolbar/popper-toolbar/popper-toolbar.css +0 -1
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var vue = require('vue');
|
|
4
|
-
var vue3Util = require('@ibiz-template/vue3-util');
|
|
5
|
-
require('./md-ctrl-setting.css');
|
|
6
|
-
|
|
7
|
-
"use strict";
|
|
8
|
-
function _isSlot(s) {
|
|
9
|
-
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
|
|
10
|
-
}
|
|
11
|
-
const IBizMdCtrlSetting = /* @__PURE__ */ vue.defineComponent({
|
|
12
|
-
name: "IBizMdCtrlSetting",
|
|
13
|
-
props: {
|
|
14
|
-
listItems: {
|
|
15
|
-
type: Array,
|
|
16
|
-
default: () => []
|
|
17
|
-
},
|
|
18
|
-
sort: {
|
|
19
|
-
type: Object
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
emits: ["sortChange"],
|
|
23
|
-
setup(props, {
|
|
24
|
-
emit
|
|
25
|
-
}) {
|
|
26
|
-
const ns = vue3Util.useNamespace("md-ctrl-setting");
|
|
27
|
-
const sortData = [{
|
|
28
|
-
text: ibiz.i18n.t("component.mdCtrlSetting.asc"),
|
|
29
|
-
order: "asc"
|
|
30
|
-
}, {
|
|
31
|
-
text: ibiz.i18n.t("component.mdCtrlSetting.desc"),
|
|
32
|
-
order: "desc"
|
|
33
|
-
}];
|
|
34
|
-
const visible = vue.ref(false);
|
|
35
|
-
const currentPage = vue.ref("asc");
|
|
36
|
-
const selectedKey = vue.ref("");
|
|
37
|
-
const initData = () => {
|
|
38
|
-
if (props.sort) {
|
|
39
|
-
const {
|
|
40
|
-
key,
|
|
41
|
-
order
|
|
42
|
-
} = props.sort;
|
|
43
|
-
selectedKey.value = key;
|
|
44
|
-
currentPage.value = order;
|
|
45
|
-
return;
|
|
46
|
-
}
|
|
47
|
-
selectedKey.value = "";
|
|
48
|
-
currentPage.value = "asc";
|
|
49
|
-
};
|
|
50
|
-
const onOpenSortSetting = (e) => {
|
|
51
|
-
e.stopPropagation();
|
|
52
|
-
e.preventDefault();
|
|
53
|
-
visible.value = true;
|
|
54
|
-
initData();
|
|
55
|
-
};
|
|
56
|
-
const onTabChange = (order) => {
|
|
57
|
-
currentPage.value = order;
|
|
58
|
-
};
|
|
59
|
-
const onItemClick = (item) => {
|
|
60
|
-
const isCheck = selectedKey.value === item.value;
|
|
61
|
-
let key = item.value || "";
|
|
62
|
-
if (isCheck) {
|
|
63
|
-
key = "";
|
|
64
|
-
}
|
|
65
|
-
selectedKey.value = key;
|
|
66
|
-
};
|
|
67
|
-
const onConfirm = () => {
|
|
68
|
-
visible.value = false;
|
|
69
|
-
emit("sortChange", {
|
|
70
|
-
key: selectedKey.value || "",
|
|
71
|
-
order: currentPage.value
|
|
72
|
-
});
|
|
73
|
-
};
|
|
74
|
-
const onClose = () => {
|
|
75
|
-
visible.value = false;
|
|
76
|
-
};
|
|
77
|
-
vue.onUnmounted(() => {
|
|
78
|
-
selectedKey.value = "";
|
|
79
|
-
currentPage.value = "";
|
|
80
|
-
});
|
|
81
|
-
const renderListItem = (item) => {
|
|
82
|
-
const isCheck = selectedKey.value === item.value;
|
|
83
|
-
return vue.createVNode("div", {
|
|
84
|
-
"class": [ns.e("list-item"), ns.is("check", isCheck)],
|
|
85
|
-
"onClick": () => onItemClick(item)
|
|
86
|
-
}, [vue.createVNode("span", {
|
|
87
|
-
"class": ns.em("list-item", "text")
|
|
88
|
-
}, [item.label]), isCheck && vue.createVNode("span", {
|
|
89
|
-
"class": ns.em("list-item", "icon")
|
|
90
|
-
}, [vue.createVNode("svg", {
|
|
91
|
-
"viewBox": "0 0 16 16",
|
|
92
|
-
"xmlns": "http://www.w3.org/2000/svg",
|
|
93
|
-
"height": "1em",
|
|
94
|
-
"width": "1em"
|
|
95
|
-
}, [vue.createVNode("g", {
|
|
96
|
-
"stroke-width": "1",
|
|
97
|
-
"fill-rule": "evenodd"
|
|
98
|
-
}, [vue.createVNode("path", {
|
|
99
|
-
"d": "M6.012 11.201L1.313 6.832l-.817.879 5.54 5.15 9.304-9.163-.842-.855z"
|
|
100
|
-
}, null)])])])]);
|
|
101
|
-
};
|
|
102
|
-
const renderList = (listItems) => {
|
|
103
|
-
return vue.createVNode(vue.resolveComponent("van-list"), null, {
|
|
104
|
-
default: () => {
|
|
105
|
-
return listItems.map((item) => {
|
|
106
|
-
return vue.createVNode(vue.resolveComponent("van-cell"), null, {
|
|
107
|
-
default: () => {
|
|
108
|
-
return renderListItem(item);
|
|
109
|
-
}
|
|
110
|
-
});
|
|
111
|
-
});
|
|
112
|
-
}
|
|
113
|
-
});
|
|
114
|
-
};
|
|
115
|
-
const renderContent = () => {
|
|
116
|
-
let _slot;
|
|
117
|
-
return vue.createVNode("div", {
|
|
118
|
-
"class": ns.e("content")
|
|
119
|
-
}, [vue.createVNode("div", {
|
|
120
|
-
"class": ns.em("content", "header")
|
|
121
|
-
}, [vue.createVNode("div", {
|
|
122
|
-
"class": ns.em("content", "title")
|
|
123
|
-
}, [ibiz.i18n.t("component.mdCtrlSetting.sort")]), vue.createVNode(vue.resolveComponent("van-icon"), {
|
|
124
|
-
"name": "cross",
|
|
125
|
-
"class": ns.em("content", "icon"),
|
|
126
|
-
"onClick": onClose,
|
|
127
|
-
"title": ibiz.i18n.t("app.close")
|
|
128
|
-
}, null)]), vue.createVNode(vue.resolveComponent("van-tabs"), {
|
|
129
|
-
"class": ns.em("content", "tabs"),
|
|
130
|
-
"active": currentPage.value,
|
|
131
|
-
"onChange": onTabChange
|
|
132
|
-
}, {
|
|
133
|
-
default: () => {
|
|
134
|
-
return sortData.map((item) => {
|
|
135
|
-
return vue.createVNode(vue.resolveComponent("van-tab"), {
|
|
136
|
-
"class": ns.em("content", "tab-item"),
|
|
137
|
-
"name": item.order
|
|
138
|
-
}, {
|
|
139
|
-
default: () => renderList(props.listItems),
|
|
140
|
-
title: () => {
|
|
141
|
-
return vue.createVNode("div", null, [item.text]);
|
|
142
|
-
}
|
|
143
|
-
});
|
|
144
|
-
});
|
|
145
|
-
}
|
|
146
|
-
}), vue.createVNode("div", {
|
|
147
|
-
"class": ns.em("content", "bottom")
|
|
148
|
-
}, [vue.createVNode(vue.resolveComponent("van-button"), {
|
|
149
|
-
"type": "primary",
|
|
150
|
-
"block": true,
|
|
151
|
-
"onClick": onConfirm
|
|
152
|
-
}, _isSlot(_slot = ibiz.i18n.t("component.mdCtrlSetting.confirm")) ? _slot : {
|
|
153
|
-
default: () => [_slot]
|
|
154
|
-
})])]);
|
|
155
|
-
};
|
|
156
|
-
const renderPopup = () => {
|
|
157
|
-
return vue.createVNode(vue.resolveComponent("van-popup"), {
|
|
158
|
-
"close-on-popstate": true,
|
|
159
|
-
"show": visible.value,
|
|
160
|
-
"onUpdate:show": ($event) => visible.value = $event,
|
|
161
|
-
"round": true,
|
|
162
|
-
"class": ns.e("popup"),
|
|
163
|
-
"teleport": "body",
|
|
164
|
-
"position": "bottom"
|
|
165
|
-
}, {
|
|
166
|
-
default: () => renderContent()
|
|
167
|
-
});
|
|
168
|
-
};
|
|
169
|
-
const renderSetting = () => {
|
|
170
|
-
return vue.createVNode("div", {
|
|
171
|
-
"class": ns.e("setting"),
|
|
172
|
-
"title": ibiz.i18n.t("component.mdCtrlSetting.sort"),
|
|
173
|
-
"onClick": onOpenSortSetting
|
|
174
|
-
}, [vue.createVNode("svg", {
|
|
175
|
-
"class": ns.em("setting", "icon"),
|
|
176
|
-
"viewBox": "0 0 1024 1024",
|
|
177
|
-
"version": "1.1",
|
|
178
|
-
"xmlns": "http://www.w3.org/2000/svg",
|
|
179
|
-
"p-id": "10950",
|
|
180
|
-
"height": "1em",
|
|
181
|
-
"width": "1em"
|
|
182
|
-
}, [vue.createVNode("path", {
|
|
183
|
-
"d": "M83.6 263.2H590c20.8 0 37.6-16.9 37.6-37.6S610.7 188 590 188H83.6C62.8 188 46 204.9 46 225.6s16.9 37.6 37.6 37.6zM538.3 513.5c0-20.8-16.9-37.6-37.6-37.6h-417c-20.8 0-37.6 16.9-37.6 37.6s16.9 37.6 37.6 37.6h417c20.8 0.1 37.6-16.8 37.6-37.6zM381.5 729.1H83.6C62.8 729.1 46 746 46 766.7s16.9 37.6 37.6 37.6h297.9c20.8 0 37.6-16.9 37.6-37.6s-16.8-37.6-37.6-37.6zM967 582.7c-14.7-14.7-38.5-14.7-53.2 0L782.3 714.1V205.7c0-20.8-16.9-37.6-37.6-37.6S707 184.9 707 205.7v503.8L580.3 582.7c-14.7-14.7-38.5-14.7-53.2 0s-14.7 38.5 0 53.2l220 220 220-220c14.6-14.6 14.6-38.5-0.1-53.2z",
|
|
184
|
-
"p-id": "10951"
|
|
185
|
-
}, null)])]);
|
|
186
|
-
};
|
|
187
|
-
return {
|
|
188
|
-
ns,
|
|
189
|
-
renderSetting,
|
|
190
|
-
renderPopup,
|
|
191
|
-
renderContent
|
|
192
|
-
};
|
|
193
|
-
},
|
|
194
|
-
render() {
|
|
195
|
-
return vue.createVNode("div", {
|
|
196
|
-
"class": [this.ns.b()]
|
|
197
|
-
}, [this.renderSetting(), this.renderPopup()]);
|
|
198
|
-
}
|
|
199
|
-
});
|
|
200
|
-
|
|
201
|
-
exports.IBizMdCtrlSetting = IBizMdCtrlSetting;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ibiz-md-ctrl-setting{--ibiz-md-ctrl-setting-active-bg-color:var(--ibiz-color-primary-light-default);--ibiz-md-ctrl-setting-active-color:var(--ibiz-color-primary);--ibiz-md-ctrl-setting-popup-height:80%}.ibiz-md-ctrl-setting__setting{font-size:var(--ibiz-font-size-header-4);cursor:pointer}.ibiz-md-ctrl-setting__setting svg{fill:var(--van-gray-6)}.ibiz-md-ctrl-setting__popup{--ibiz-md-ctrl-setting-active-bg-color:var(--ibiz-color-primary-light-default);--ibiz-md-ctrl-setting-active-color:var(--ibiz-color-primary);--ibiz-md-ctrl-setting-popup-height:80%;height:var(--ibiz-md-ctrl-setting-popup-height)}.ibiz-md-ctrl-setting__content{display:flex;flex-direction:column;height:100%}.ibiz-md-ctrl-setting__content--header{display:flex;align-items:center;justify-content:space-between;min-height:var(--ibiz-height-control-default);padding:var(--ibiz-spacing-base)}.ibiz-md-ctrl-setting__content--tabs{flex:1;padding:0 var(--ibiz-spacing-base);margin-bottom:var(--ibiz-spacing-tight);overflow:hidden}.ibiz-md-ctrl-setting__content--tabs .van-tabs__line{display:none}.ibiz-md-ctrl-setting__content--tabs .van-tab--line{min-height:var(--van-tabs-line-height);border:1px solid var(--ibiz-color-border)}.ibiz-md-ctrl-setting__content--tabs .van-tab--line:nth-child(1){border-right:none;border-radius:var(--ibiz-border-radius-small) 0 0 var(--ibiz-border-radius-small)}.ibiz-md-ctrl-setting__content--tabs .van-tab--line:nth-child(1).van-tab--active{border:1px solid var(--ibiz-md-ctrl-setting-active-color)}.ibiz-md-ctrl-setting__content--tabs .van-tab--line:nth-child(1).van-tab--active+.van-tab--line{border-left:none}.ibiz-md-ctrl-setting__content--tabs .van-tab--line:nth-child(2){border-radius:0 var(--ibiz-border-radius-small) var(--ibiz-border-radius-small) 0}.ibiz-md-ctrl-setting__content--tabs .van-tab--line.van-tab--active{font-weight:var(--ibiz-font-weight-regular);color:var(--ibiz-md-ctrl-setting-active-color);background-color:var(--ibiz-md-ctrl-setting-active-bg-color);border-color:var(--ibiz-md-ctrl-setting-active-color)}.ibiz-md-ctrl-setting__content--tabs .van-tabs__content{height:100%;overflow-y:auto}.ibiz-md-ctrl-setting__content--tabs .van-tabs__content .van-cell::after{right:0;left:0}.ibiz-md-ctrl-setting__content--bottom{padding:0 var(--ibiz-spacing-tight) var(--ibiz-spacing-loose) var(--ibiz-spacing-tight)}.ibiz-md-ctrl-setting__content--icon{font-size:var(--van-popup-close-icon-size);color:var(--van-popup-close-icon-color);cursor:pointer}.ibiz-md-ctrl-setting__list-item{display:flex;align-items:center;justify-content:space-between;height:var(--ibiz-height-control-default);margin:var(--ibiz-spacing-tight) 0;overflow:hidden;font-size:var(--ibiz-font-size-header-6)}.ibiz-md-ctrl-setting__list-item--icon{display:inline-flex;align-items:center}.ibiz-md-ctrl-setting__list-item--text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ibiz-md-ctrl-setting__list-item.is-check{padding-right:var(--ibiz-spacing-extra-tight);color:var(--ibiz-md-ctrl-setting-active-color)}.ibiz-md-ctrl-setting__list-item.is-check svg{fill:var(--ibiz-md-ctrl-setting-active-color)}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
"use strict";
|
|
4
|
-
var __defProp = Object.defineProperty;
|
|
5
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6
|
-
var __publicField = (obj, key, value) => {
|
|
7
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
8
|
-
return value;
|
|
9
|
-
};
|
|
10
|
-
class PortletPartState {
|
|
11
|
-
constructor() {
|
|
12
|
-
__publicField(this, "hightLight", false);
|
|
13
|
-
__publicField(this, "visible", true);
|
|
14
|
-
__publicField(this, "keepAlive", false);
|
|
15
|
-
__publicField(this, "layout", {
|
|
16
|
-
width: "",
|
|
17
|
-
height: "",
|
|
18
|
-
extraStyle: {},
|
|
19
|
-
extraClass: [],
|
|
20
|
-
contentStyle: {}
|
|
21
|
-
});
|
|
22
|
-
__publicField(this, "class", {
|
|
23
|
-
container: [],
|
|
24
|
-
containerDyna: []
|
|
25
|
-
});
|
|
26
|
-
/**
|
|
27
|
-
* 上下文
|
|
28
|
-
*
|
|
29
|
-
* @author zhanghengfeng
|
|
30
|
-
* @date 2024-08-05 20:08:34
|
|
31
|
-
* @type {IContext}
|
|
32
|
-
*/
|
|
33
|
-
__publicField(this, "context");
|
|
34
|
-
/**
|
|
35
|
-
* 界面行为组状态
|
|
36
|
-
*
|
|
37
|
-
* @type {(IButtonContainerState | null)}
|
|
38
|
-
* @memberof PortletPartState
|
|
39
|
-
*/
|
|
40
|
-
__publicField(this, "actionGroupState", null);
|
|
41
|
-
/**
|
|
42
|
-
* 门户标题
|
|
43
|
-
*
|
|
44
|
-
* @author zhanghengfeng
|
|
45
|
-
* @date 2024-08-05 20:08:48
|
|
46
|
-
* @type {(string | undefined)}
|
|
47
|
-
*/
|
|
48
|
-
__publicField(this, "title");
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
exports.PortletPartState = PortletPartState;
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var vue = require('vue');
|
|
4
|
-
|
|
5
|
-
"use strict";
|
|
6
|
-
function _isSlot(s) {
|
|
7
|
-
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
|
|
8
|
-
}
|
|
9
|
-
function useListRender(props, c, ns) {
|
|
10
|
-
const isSelect = (row) => {
|
|
11
|
-
const findIndex = c.state.selectedData.findIndex((data) => {
|
|
12
|
-
return data.srfkey === row.srfkey;
|
|
13
|
-
});
|
|
14
|
-
return findIndex !== -1;
|
|
15
|
-
};
|
|
16
|
-
const calcItemClass = (row) => {
|
|
17
|
-
const select = isSelect(row);
|
|
18
|
-
const itemClass = [ns.b("item"), ns.is("active", select)];
|
|
19
|
-
return itemClass;
|
|
20
|
-
};
|
|
21
|
-
const calcItemStyle = (row) => {
|
|
22
|
-
const cardStyle = {};
|
|
23
|
-
Object.assign(cardStyle, ns.cssVarBlock({
|
|
24
|
-
"item-bg-color": `${row.bgcolor || ""}`,
|
|
25
|
-
"item-font-color": `${row.fontcolor || ""}`,
|
|
26
|
-
"item-hover-color": `${row.hovercolor || ""}`,
|
|
27
|
-
"item-active-color": `${row.activecolor || ""}`
|
|
28
|
-
}));
|
|
29
|
-
return cardStyle;
|
|
30
|
-
};
|
|
31
|
-
const renderRightSlot = (row) => {
|
|
32
|
-
const select = isSelect(row);
|
|
33
|
-
return vue.createVNode(vue.resolveComponent("van-checkbox"), {
|
|
34
|
-
"class": ns.bm("item", "right"),
|
|
35
|
-
"checked": select
|
|
36
|
-
}, null);
|
|
37
|
-
};
|
|
38
|
-
const renderIcon = (row) => {
|
|
39
|
-
return vue.createVNode("img", {
|
|
40
|
-
"class": ns.b("image"),
|
|
41
|
-
"src": row.image,
|
|
42
|
-
"alt": ""
|
|
43
|
-
}, null);
|
|
44
|
-
};
|
|
45
|
-
const renderItemContent = (row) => {
|
|
46
|
-
const itemClass = calcItemClass(row);
|
|
47
|
-
const itemStyle = calcItemStyle(row);
|
|
48
|
-
const slotOption = {};
|
|
49
|
-
if (Object.prototype.hasOwnProperty.call(row, "image") && row.image) {
|
|
50
|
-
Object.assign(slotOption, {
|
|
51
|
-
icon: renderIcon(row)
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
|
-
if (props.mode === "SELECT") {
|
|
55
|
-
Object.assign(slotOption, {
|
|
56
|
-
"right-icon": renderRightSlot(row)
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
return vue.createVNode(vue.resolveComponent("van-cell"), {
|
|
60
|
-
"class": itemClass,
|
|
61
|
-
"style": itemStyle,
|
|
62
|
-
"is-link": true,
|
|
63
|
-
"title": row.srfmajortext || "",
|
|
64
|
-
"onClick": (event) => c.onRowClick(row, event)
|
|
65
|
-
}, _isSlot(slotOption) ? slotOption : {
|
|
66
|
-
default: () => [slotOption]
|
|
67
|
-
});
|
|
68
|
-
};
|
|
69
|
-
const renderPanelItem = (item, modelData) => {
|
|
70
|
-
const {
|
|
71
|
-
context,
|
|
72
|
-
params
|
|
73
|
-
} = c;
|
|
74
|
-
const itemClass = calcItemClass(item);
|
|
75
|
-
const itemStyle = calcItemStyle(item);
|
|
76
|
-
const content = vue.createVNode(vue.resolveComponent("iBizControlShell"), {
|
|
77
|
-
"data": item,
|
|
78
|
-
"class": itemClass,
|
|
79
|
-
"style": itemStyle,
|
|
80
|
-
"modelData": modelData,
|
|
81
|
-
"context": context,
|
|
82
|
-
"params": params,
|
|
83
|
-
"onClick": (event) => c.onRowClick(item, event)
|
|
84
|
-
}, null);
|
|
85
|
-
if (props.mode === "SELECT") {
|
|
86
|
-
return vue.createVNode("div", {
|
|
87
|
-
"class": ns.b("select-item")
|
|
88
|
-
}, [vue.createVNode(vue.resolveComponent("van-checkbox"), {
|
|
89
|
-
"checked": isSelect(item),
|
|
90
|
-
"onClick": (event) => c.onRowClick(item, event)
|
|
91
|
-
}, null), content]);
|
|
92
|
-
}
|
|
93
|
-
return content;
|
|
94
|
-
};
|
|
95
|
-
const renderItem = (row) => {
|
|
96
|
-
const panel = c.model.itemLayoutPanel;
|
|
97
|
-
return props.modelData.name !== "simplelist" && panel ? renderPanelItem(row, panel) : renderItemContent(row);
|
|
98
|
-
};
|
|
99
|
-
const renderNoData = () => {
|
|
100
|
-
const {
|
|
101
|
-
isLoaded
|
|
102
|
-
} = c.state;
|
|
103
|
-
if (!isLoaded) {
|
|
104
|
-
return;
|
|
105
|
-
}
|
|
106
|
-
return isLoaded && vue.createVNode(vue.resolveComponent("iBizNoData"), {
|
|
107
|
-
"text": c.model.emptyText,
|
|
108
|
-
"emptyTextLanguageRes": c.model.emptyTextLanguageRes
|
|
109
|
-
}, null);
|
|
110
|
-
};
|
|
111
|
-
const loadMoreIcon = () => {
|
|
112
|
-
return vue.createVNode("div", {
|
|
113
|
-
"class": ns.b("load-more"),
|
|
114
|
-
"onClick": () => c.loadMore()
|
|
115
|
-
}, [vue.createVNode("span", null, [ibiz.i18n.t("control.common.loadMore")])]);
|
|
116
|
-
};
|
|
117
|
-
const renderLoadMore = () => {
|
|
118
|
-
let icon = null;
|
|
119
|
-
const loadMore = c.state.items.length < c.state.total && c.state.total > c.state.size;
|
|
120
|
-
if (loadMore) {
|
|
121
|
-
icon = loadMoreIcon();
|
|
122
|
-
}
|
|
123
|
-
return icon;
|
|
124
|
-
};
|
|
125
|
-
return {
|
|
126
|
-
renderNoData,
|
|
127
|
-
renderItem,
|
|
128
|
-
renderLoadMore
|
|
129
|
-
};
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
exports.useListRender = useListRender;
|
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var vue = require('vue');
|
|
4
|
-
var vue3Util = require('@ibiz-template/vue3-util');
|
|
5
|
-
require('./popper-toolbar.css');
|
|
6
|
-
|
|
7
|
-
"use strict";
|
|
8
|
-
function _isSlot(s) {
|
|
9
|
-
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
|
|
10
|
-
}
|
|
11
|
-
const IBizPopperToolbar = /* @__PURE__ */ vue.defineComponent({
|
|
12
|
-
name: "IBizPopperToolbar",
|
|
13
|
-
props: {
|
|
14
|
-
modelData: {
|
|
15
|
-
type: Object,
|
|
16
|
-
required: true
|
|
17
|
-
},
|
|
18
|
-
context: {
|
|
19
|
-
type: Object,
|
|
20
|
-
required: true
|
|
21
|
-
},
|
|
22
|
-
params: {
|
|
23
|
-
type: Object,
|
|
24
|
-
default: () => ({})
|
|
25
|
-
},
|
|
26
|
-
controller: {
|
|
27
|
-
type: Object,
|
|
28
|
-
required: true
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
setup(props, {
|
|
32
|
-
slots
|
|
33
|
-
}) {
|
|
34
|
-
const c = props.controller;
|
|
35
|
-
const ns = vue3Util.useNamespace(`popper-toolbar`);
|
|
36
|
-
const contentRef = vue.ref();
|
|
37
|
-
let direction = "horizontal";
|
|
38
|
-
let placement = "left";
|
|
39
|
-
if (c.controlParams) {
|
|
40
|
-
direction = c.controlParams.direction || "horizontal";
|
|
41
|
-
placement = c.controlParams.placement || "left";
|
|
42
|
-
}
|
|
43
|
-
const btnType = (item) => {
|
|
44
|
-
const result = item.buttonStyle || "default";
|
|
45
|
-
return result.toLowerCase();
|
|
46
|
-
};
|
|
47
|
-
const handleClick = async (item, event) => {
|
|
48
|
-
await c.onItemClick(item, event);
|
|
49
|
-
};
|
|
50
|
-
const renderToolbarItem = (item) => {
|
|
51
|
-
var _a, _b, _c;
|
|
52
|
-
const itemId = item.id;
|
|
53
|
-
if (["SEPERATOR", "RAWITEM"].includes(item.itemType)) {
|
|
54
|
-
ibiz.log.error(ibiz.i18n.t("control.toolbar.noSupportType", {
|
|
55
|
-
itemType: item.itemType
|
|
56
|
-
}));
|
|
57
|
-
return null;
|
|
58
|
-
}
|
|
59
|
-
if (item.itemType === "ITEMS" && ((_a = c.state.buttonsState[itemId]) == null ? void 0 : _a.visible)) {
|
|
60
|
-
return vue.createVNode("div", {
|
|
61
|
-
"key": itemId,
|
|
62
|
-
"class": [ns.e("item"), ns.e("item-items")]
|
|
63
|
-
}, [vue.createVNode(vue.resolveComponent("van-popover"), {
|
|
64
|
-
"placement": placement,
|
|
65
|
-
"actions-direction": direction,
|
|
66
|
-
"teleport": (_b = contentRef.value) == null ? void 0 : _b.$el,
|
|
67
|
-
"actions": item.detoolbarItems,
|
|
68
|
-
"onSelect": (data, e) => {
|
|
69
|
-
handleClick(data, e);
|
|
70
|
-
}
|
|
71
|
-
}, {
|
|
72
|
-
action: ({
|
|
73
|
-
action
|
|
74
|
-
}) => {
|
|
75
|
-
const image = action.sysImage;
|
|
76
|
-
let icon = null;
|
|
77
|
-
let text = null;
|
|
78
|
-
if (action.showIcon) {
|
|
79
|
-
icon = vue.createVNode(vue.resolveComponent("iBizIcon"), {
|
|
80
|
-
"class": ns.e("icon"),
|
|
81
|
-
"icon": image
|
|
82
|
-
}, null);
|
|
83
|
-
}
|
|
84
|
-
if (action.showCaption) {
|
|
85
|
-
text = action.caption;
|
|
86
|
-
}
|
|
87
|
-
return vue.createVNode(vue.resolveComponent("van-button"), {
|
|
88
|
-
"round": true,
|
|
89
|
-
"type": btnType(action)
|
|
90
|
-
}, {
|
|
91
|
-
default: () => [icon, text]
|
|
92
|
-
});
|
|
93
|
-
},
|
|
94
|
-
reference: () => {
|
|
95
|
-
const image = item.sysImage;
|
|
96
|
-
let icon = null;
|
|
97
|
-
let text = null;
|
|
98
|
-
if (item.showIcon) {
|
|
99
|
-
icon = vue.createVNode(vue.resolveComponent("iBizIcon"), {
|
|
100
|
-
"class": ns.e("icon"),
|
|
101
|
-
"icon": image
|
|
102
|
-
}, null);
|
|
103
|
-
}
|
|
104
|
-
if (item.showCaption) {
|
|
105
|
-
text = item.caption;
|
|
106
|
-
}
|
|
107
|
-
return vue.createVNode(vue.resolveComponent("van-button"), {
|
|
108
|
-
"round": true,
|
|
109
|
-
"type": btnType(item)
|
|
110
|
-
}, {
|
|
111
|
-
default: () => [icon, text]
|
|
112
|
-
});
|
|
113
|
-
}
|
|
114
|
-
})]);
|
|
115
|
-
}
|
|
116
|
-
if (item.itemType === "DEUIACTION" && ((_c = c.state.buttonsState[itemId]) == null ? void 0 : _c.visible)) {
|
|
117
|
-
let _slot;
|
|
118
|
-
return vue.createVNode("div", {
|
|
119
|
-
"key": itemId,
|
|
120
|
-
"class": [ns.e("item"), ns.e("item-deuiaction"), ns.is("disabled", c.state.buttonsState[itemId].disabled)]
|
|
121
|
-
}, [vue.createVNode(vue.resolveComponent("van-button"), {
|
|
122
|
-
"title": item.tooltip,
|
|
123
|
-
"type": btnType(item),
|
|
124
|
-
"round": true,
|
|
125
|
-
"loading": c.state.buttonsState[itemId].loading,
|
|
126
|
-
"disabled": c.state.buttonsState[itemId].disabled,
|
|
127
|
-
"onClick": (e) => handleClick(item, e)
|
|
128
|
-
}, _isSlot(_slot = slots.btnContent(item)) ? _slot : {
|
|
129
|
-
default: () => [_slot]
|
|
130
|
-
})]);
|
|
131
|
-
}
|
|
132
|
-
return null;
|
|
133
|
-
};
|
|
134
|
-
return {
|
|
135
|
-
c,
|
|
136
|
-
ns,
|
|
137
|
-
direction,
|
|
138
|
-
contentRef,
|
|
139
|
-
renderToolbarItem
|
|
140
|
-
};
|
|
141
|
-
},
|
|
142
|
-
render() {
|
|
143
|
-
return vue.createVNode(vue.resolveComponent("iBizControlBase"), {
|
|
144
|
-
"ref": "contentRef",
|
|
145
|
-
"controller": this.c,
|
|
146
|
-
"class": [this.ns.b(), this.ns.m(this.direction)]
|
|
147
|
-
}, {
|
|
148
|
-
default: () => {
|
|
149
|
-
var _a;
|
|
150
|
-
return [(_a = this.modelData.detoolbarItems) == null ? void 0 : _a.map((item) => {
|
|
151
|
-
const toolbarItemNode = this.renderToolbarItem(item);
|
|
152
|
-
return toolbarItemNode;
|
|
153
|
-
})];
|
|
154
|
-
}
|
|
155
|
-
});
|
|
156
|
-
}
|
|
157
|
-
});
|
|
158
|
-
|
|
159
|
-
exports.IBizPopperToolbar = IBizPopperToolbar;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ibiz-popper-toolbar{flex-direction:column}.ibiz-popper-toolbar__item{margin:.25rem 0}.ibiz-popper-toolbar.ibiz-control-toolbar{position:fixed;right:var(--van-back-top-right);bottom:calc(50px + var(--van-back-top-bottom));z-index:99;height:auto}.ibiz-popper-toolbar .van-popover{--van-popup-background:transparent;--van-popover-light-background:transparent;--van-popover-action-width:80px;max-height:unset}.ibiz-popper-toolbar .van-popover .van-popover__content{overflow:visible;box-shadow:none}.ibiz-popper-toolbar .van-popover .van-popover__content--horizontal .van-popover__action{padding:0 .25rem}.ibiz-popper-toolbar .van-popover .van-popover__content--vertical .van-popover__action{padding:0;margin:.25rem 0}.ibiz-popper-toolbar .van-button{min-width:2.75rem}.ibiz-popper-toolbar .van-button__text{display:flex;align-items:center;gap:var(--ibiz-spacing-extra-tight);white-space:nowrap}
|