@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
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var vue = require('vue');
|
|
4
|
+
var vue3Util = require('@ibiz-template/vue3-util');
|
|
5
|
+
var settingContainer_controller = require('./setting-container.controller.cjs');
|
|
6
|
+
require('../../common/index.cjs');
|
|
7
|
+
require('./setting-container.css');
|
|
8
|
+
var mdSortSetting = require('../../common/md-sort-setting/md-sort-setting.cjs');
|
|
9
|
+
var mdAdvanedSearchform = require('../../common/md-advaned-searchform/md-advaned-searchform.cjs');
|
|
10
|
+
|
|
11
|
+
"use strict";
|
|
12
|
+
const SettingContainer = /* @__PURE__ */ vue.defineComponent({
|
|
13
|
+
name: "IBizSettingContainer",
|
|
14
|
+
props: {
|
|
15
|
+
/**
|
|
16
|
+
* @description 模型数据
|
|
17
|
+
*/
|
|
18
|
+
modelData: {
|
|
19
|
+
type: Object,
|
|
20
|
+
required: true
|
|
21
|
+
},
|
|
22
|
+
/**
|
|
23
|
+
* @description 设置容器控制器
|
|
24
|
+
*/
|
|
25
|
+
controller: {
|
|
26
|
+
type: settingContainer_controller.SettingContainerController,
|
|
27
|
+
required: true
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
setup(props) {
|
|
31
|
+
const ns = vue3Util.useNamespace("setting-container");
|
|
32
|
+
const c = props.controller;
|
|
33
|
+
const handleClick = async (_event) => {
|
|
34
|
+
var _a, _b;
|
|
35
|
+
const {
|
|
36
|
+
sortDelistItems,
|
|
37
|
+
sortQuery
|
|
38
|
+
} = c.mdctrl.state;
|
|
39
|
+
let sort;
|
|
40
|
+
if (sortQuery) {
|
|
41
|
+
const [key, order] = sortQuery.split(",");
|
|
42
|
+
sort = {
|
|
43
|
+
key,
|
|
44
|
+
order
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
const res = await ibiz.overlay.drawer((modal) => {
|
|
48
|
+
return vue.h(mdSortSetting.IBizMdSortSetting, {
|
|
49
|
+
modal,
|
|
50
|
+
listItems: sortDelistItems,
|
|
51
|
+
sort
|
|
52
|
+
});
|
|
53
|
+
}, {}, {
|
|
54
|
+
attrs: {
|
|
55
|
+
position: "bottom",
|
|
56
|
+
closeable: false
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
if ((res == null ? void 0 : res.data) && res.data.length > 0) {
|
|
60
|
+
const _sort = res.data[0];
|
|
61
|
+
(_a = c.mdctrl) == null ? void 0 : _a.setSort(_sort.key, _sort.order);
|
|
62
|
+
(_b = c.mdctrl) == null ? void 0 : _b.load({
|
|
63
|
+
isInitialLoad: true
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
const handleAdvanedClick = async () => {
|
|
68
|
+
const searchform = c.panel.view.providers.searchform;
|
|
69
|
+
await ibiz.overlay.drawer((modal) => {
|
|
70
|
+
return vue.h(mdAdvanedSearchform.IBizMdAdvanedSearchfrom, {
|
|
71
|
+
modal,
|
|
72
|
+
modelData: c.searchform.model,
|
|
73
|
+
context: c.searchform.context,
|
|
74
|
+
params: c.searchform.params,
|
|
75
|
+
provider: searchform,
|
|
76
|
+
controller: c.searchform
|
|
77
|
+
});
|
|
78
|
+
}, {}, {
|
|
79
|
+
attrs: {
|
|
80
|
+
position: "bottom",
|
|
81
|
+
closeable: false
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
};
|
|
85
|
+
return {
|
|
86
|
+
c,
|
|
87
|
+
ns,
|
|
88
|
+
handleClick,
|
|
89
|
+
handleAdvanedClick
|
|
90
|
+
};
|
|
91
|
+
},
|
|
92
|
+
render() {
|
|
93
|
+
if (!this.c.visible)
|
|
94
|
+
return;
|
|
95
|
+
return vue.createVNode("div", {
|
|
96
|
+
"class": this.ns.b()
|
|
97
|
+
}, [vue.createVNode("div", {
|
|
98
|
+
"class": this.ns.e("content")
|
|
99
|
+
}, [this.c.isMDSortButton && vue.createVNode(vue.resolveComponent("van-button"), {
|
|
100
|
+
"class": this.ns.e("md-sort"),
|
|
101
|
+
"onClick": this.handleClick
|
|
102
|
+
}, {
|
|
103
|
+
default: () => [vue.createVNode("svg", {
|
|
104
|
+
"class": this.ns.em("md-sort", "icon"),
|
|
105
|
+
"viewBox": "0 0 1024 1024",
|
|
106
|
+
"version": "1.1",
|
|
107
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
108
|
+
"p-id": "10950",
|
|
109
|
+
"height": "1em",
|
|
110
|
+
"width": "1em"
|
|
111
|
+
}, [vue.createVNode("path", {
|
|
112
|
+
"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",
|
|
113
|
+
"p-id": "10951"
|
|
114
|
+
}, null)])]
|
|
115
|
+
}), this.c.isMDSearchformBtn && vue.createVNode(vue.resolveComponent("van-button"), {
|
|
116
|
+
"class": this.ns.e("md-advaned-searchform"),
|
|
117
|
+
"onClick": this.handleAdvanedClick
|
|
118
|
+
}, {
|
|
119
|
+
default: () => [vue.createVNode("svg", {
|
|
120
|
+
"class": "icon",
|
|
121
|
+
"viewBox": "0 0 1024 1024",
|
|
122
|
+
"version": "1.1",
|
|
123
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
124
|
+
"p-id": "6901",
|
|
125
|
+
"height": "1em",
|
|
126
|
+
"width": "1em",
|
|
127
|
+
"fill": "currentColor"
|
|
128
|
+
}, [vue.createVNode("path", {
|
|
129
|
+
"d": "M777.6 243.2c12.8-22.4 12.8-48 0-70.4-12.8-19.2-32-32-54.4-32H204.8c-22.4 0-41.6 12.8-54.4 32-12.8 22.4-12.8 48 0 70.4l192 320v252.8c0 25.6 12.8 44.8 32 57.6 9.6 6.4 19.2 9.6 32 9.6 9.6 0 19.2-3.2 28.8-6.4l115.2-64c22.4-12.8 35.2-35.2 35.2-57.6v-188.8l192-323.2z m-252.8 284.8c-6.4 9.6-9.6 22.4-9.6 35.2v188.8L416 806.4v-246.4c0-12.8-3.2-25.6-9.6-35.2l-192-316.8h502.4l-192 320zM662.4 761.6l80 105.6c12.8 16 38.4 16 51.2 0l80-105.6c9.6-12.8 6.4-35.2-6.4-44.8s-35.2-6.4-44.8 6.4l-22.4 28.8v-192c0-19.2-12.8-32-32-32s-32 12.8-32 32v192l-22.4-28.8c-6.4-9.6-16-12.8-25.6-12.8-6.4 0-12.8 3.2-19.2 6.4-12.8 9.6-16 32-6.4 44.8z",
|
|
130
|
+
"p-id": "6902",
|
|
131
|
+
"data-spm-anchor-id": "a313x.search_index.0.i1.7df83a812sJGKb",
|
|
132
|
+
"class": "selected",
|
|
133
|
+
"fill": "currentColor"
|
|
134
|
+
}, null)])]
|
|
135
|
+
})])]);
|
|
136
|
+
}
|
|
137
|
+
});
|
|
138
|
+
|
|
139
|
+
exports.SettingContainer = SettingContainer;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var runtime = require('@ibiz-template/runtime');
|
|
4
|
+
|
|
5
|
+
"use strict";
|
|
6
|
+
class SettingContainerController extends runtime.PanelContainerController {
|
|
7
|
+
/**
|
|
8
|
+
* @description 多数据部件控制器
|
|
9
|
+
* @readonly
|
|
10
|
+
* @type {IMobMDCtrlController}
|
|
11
|
+
* @memberof SettingContainerController
|
|
12
|
+
*/
|
|
13
|
+
get mdctrl() {
|
|
14
|
+
const { view } = this.panel;
|
|
15
|
+
return view.getController("mdctrl") || view.getController("dataview");
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @description 是否显示排序按钮
|
|
19
|
+
* @readonly
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof SettingContainerController
|
|
22
|
+
*/
|
|
23
|
+
get isMDSortButton() {
|
|
24
|
+
var _a;
|
|
25
|
+
return !!(((_a = this.mdctrl) == null ? void 0 : _a.state.sortDelistItems.length) > 0);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* 是否有快速搜索栏
|
|
29
|
+
*
|
|
30
|
+
* @readonly
|
|
31
|
+
* @type {boolean}
|
|
32
|
+
* @memberof SettingContainerController
|
|
33
|
+
*/
|
|
34
|
+
get searchbar() {
|
|
35
|
+
return this.panel.view.getController("searchbar");
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @description 是否可见
|
|
39
|
+
* @readonly
|
|
40
|
+
* @type {boolean}
|
|
41
|
+
* @memberof SettingContainerController
|
|
42
|
+
*/
|
|
43
|
+
get visible() {
|
|
44
|
+
if (!this.searchbar || !this.searchbar.model.enableQuickSearch) {
|
|
45
|
+
return false;
|
|
46
|
+
}
|
|
47
|
+
return this.isMDSortButton || !!this.searchform && !this.panel.view.model.expandSearchForm;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @description 搜索表单控制器
|
|
51
|
+
* @readonly
|
|
52
|
+
* @type {ISearchFormController}
|
|
53
|
+
* @memberof SettingContainerController
|
|
54
|
+
*/
|
|
55
|
+
get searchform() {
|
|
56
|
+
return this.panel.view.getController("searchform");
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* 是否显示高级搜索按钮,存在搜索表单并且搜索表单不是默认展开时显示
|
|
60
|
+
*
|
|
61
|
+
* @readonly
|
|
62
|
+
* @type {boolean}
|
|
63
|
+
* @memberof SettingContainerController
|
|
64
|
+
*/
|
|
65
|
+
get isMDSearchformBtn() {
|
|
66
|
+
return !!this.searchform && !this.panel.view.model.expandSearchForm;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
exports.SettingContainerController = SettingContainerController;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ibiz-setting-container{--ibiz-setting-container-bg-color:var(--ibiz-color-bg-1);--ibiz-setting-container-padding:var(--ibiz-spacing-tight) var(--ibiz-spacing-base) var(--ibiz-spacing-tight) 0;--ibiz-setting-container-height:var(--ibiz-height-control-default);--ibiz-setting-container-md-sort-font-size:var(--ibiz-font-size-header-4);--ibiz-setting-container-md-sort-icon-color:var(--ibiz-color-text-0);height:100%;padding:var(--ibiz-setting-container-padding);background-color:var(--ibiz-setting-container-bg-color)}.ibiz-setting-container__content{height:var(--ibiz-setting-container-height);display:flex;align-items:center}.ibiz-setting-container__md-sort{display:flex;align-items:center;font-size:var(--ibiz-setting-container-md-sort-font-size);cursor:pointer}.ibiz-setting-container__md-sort svg{fill:var(--ibiz-setting-container-md-sort-icon-color)}.ibiz-setting-container__md-advaned-searchform{display:flex;align-items:center;font-size:var(--ibiz-setting-container-md-sort-font-size);cursor:pointer}.ibiz-setting-container__md-advaned-searchform svg{fill:var(--ibiz-setting-container-md-sort-icon-color)}.ibiz-setting-container .van-button{height:auto;padding:0;background-color:transparent;border:none}.ibiz-setting-container .van-button::before{display:none}.ibiz-setting-container .van-button__content,.ibiz-setting-container .van-button__text{display:flex;align-items:center}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var settingContainer_controller = require('./setting-container.controller.cjs');
|
|
4
|
+
|
|
5
|
+
"use strict";
|
|
6
|
+
var __defProp = Object.defineProperty;
|
|
7
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
+
var __publicField = (obj, key, value) => {
|
|
9
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
10
|
+
return value;
|
|
11
|
+
};
|
|
12
|
+
class SettingContainerProvider {
|
|
13
|
+
constructor() {
|
|
14
|
+
__publicField(this, "component", "IBizSettingContainer");
|
|
15
|
+
}
|
|
16
|
+
async createController(panelItem, panel, parent) {
|
|
17
|
+
const c = new settingContainer_controller.SettingContainerController(panelItem, panel, parent);
|
|
18
|
+
await c.init();
|
|
19
|
+
return c;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
exports.SettingContainerProvider = SettingContainerProvider;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var vue3Util = require('@ibiz-template/vue3-util');
|
|
6
|
+
var runtime = require('@ibiz-template/runtime');
|
|
7
|
+
var splitContainer = require('./split-container.cjs');
|
|
8
|
+
var splitContainer_provider = require('./split-container.provider.cjs');
|
|
9
|
+
var splitContainer_controller = require('./split-container.controller.cjs');
|
|
10
|
+
|
|
11
|
+
"use strict";
|
|
12
|
+
const IBizSplitContainer = vue3Util.withInstall(
|
|
13
|
+
splitContainer.SplitContainer,
|
|
14
|
+
function(v) {
|
|
15
|
+
v.component(splitContainer.SplitContainer.name, splitContainer.SplitContainer);
|
|
16
|
+
runtime.registerPanelItemProvider(
|
|
17
|
+
"CONTAINER_CONTAINER_H_SPLIT",
|
|
18
|
+
() => new splitContainer_provider.SplitContainerProvider()
|
|
19
|
+
);
|
|
20
|
+
runtime.registerPanelItemProvider(
|
|
21
|
+
"CONTAINER_CONTAINER_V_SPLIT",
|
|
22
|
+
() => new splitContainer_provider.SplitContainerProvider()
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
);
|
|
26
|
+
|
|
27
|
+
exports.SplitContainerController = splitContainer_controller.SplitContainerController;
|
|
28
|
+
exports.IBizSplitContainer = IBizSplitContainer;
|
|
29
|
+
exports.default = IBizSplitContainer;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var vue = require('vue');
|
|
4
|
+
var vue3Util = require('@ibiz-template/vue3-util');
|
|
5
|
+
var splitContainer_controller = require('./split-container.controller.cjs');
|
|
6
|
+
require('./split-container.css');
|
|
7
|
+
|
|
8
|
+
"use strict";
|
|
9
|
+
const SplitContainer = /* @__PURE__ */ vue.defineComponent({
|
|
10
|
+
name: "IBizSplitContainer",
|
|
11
|
+
props: {
|
|
12
|
+
/**
|
|
13
|
+
* @description 分割容器容器模型
|
|
14
|
+
*/
|
|
15
|
+
modelData: {
|
|
16
|
+
type: Object,
|
|
17
|
+
required: true
|
|
18
|
+
},
|
|
19
|
+
/**
|
|
20
|
+
* @description 分割容器控制器
|
|
21
|
+
*/
|
|
22
|
+
controller: {
|
|
23
|
+
type: splitContainer_controller.SplitContainerController,
|
|
24
|
+
required: true
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
setup(props) {
|
|
28
|
+
const ns = vue3Util.useNamespace("split-container");
|
|
29
|
+
const {
|
|
30
|
+
id
|
|
31
|
+
} = props.modelData;
|
|
32
|
+
const classArr = vue.computed(() => {
|
|
33
|
+
let result = [ns.b(), ns.m(id)];
|
|
34
|
+
result = [...result, ...props.controller.containerClass, ns.is("hidden", !props.controller.state.visible), ns.is("hidden-trigger", props.controller.state.isHiddenTrigger)];
|
|
35
|
+
return result;
|
|
36
|
+
});
|
|
37
|
+
return {
|
|
38
|
+
ns,
|
|
39
|
+
classArr
|
|
40
|
+
};
|
|
41
|
+
},
|
|
42
|
+
render() {
|
|
43
|
+
var _a, _b;
|
|
44
|
+
const defaultSlots = ((_b = (_a = this.$slots).default) == null ? void 0 : _b.call(_a)) || [];
|
|
45
|
+
return vue.withDirectives(vue.createVNode("div", {
|
|
46
|
+
"class": this.classArr
|
|
47
|
+
}, [vue.createVNode(vue.resolveComponent("iBizSplit"), {
|
|
48
|
+
"modelValue": this.controller.state.splitValue,
|
|
49
|
+
"onUpdate:modelValue": ($event) => this.controller.state.splitValue = $event,
|
|
50
|
+
"mode": this.controller.splitMode
|
|
51
|
+
}, {
|
|
52
|
+
left: () => defaultSlots[0],
|
|
53
|
+
right: () => defaultSlots[1],
|
|
54
|
+
top: () => defaultSlots[0],
|
|
55
|
+
bottom: () => defaultSlots[1]
|
|
56
|
+
})]), [[vue.resolveDirective("loading"), this.controller.state.loading]]);
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
exports.SplitContainer = SplitContainer;
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var runtime = require('@ibiz-template/runtime');
|
|
4
|
+
|
|
5
|
+
"use strict";
|
|
6
|
+
var __defProp = Object.defineProperty;
|
|
7
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
+
var __publicField = (obj, key, value) => {
|
|
9
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
10
|
+
return value;
|
|
11
|
+
};
|
|
12
|
+
class SplitContainerController extends runtime.PanelContainerController {
|
|
13
|
+
constructor() {
|
|
14
|
+
super(...arguments);
|
|
15
|
+
/**
|
|
16
|
+
* @description 分割面板模式
|
|
17
|
+
* @exposedoc
|
|
18
|
+
* @author zhanghengfeng
|
|
19
|
+
* @date 2023-08-22 17:08:24
|
|
20
|
+
* @type {('horizontal' | 'vertical')}
|
|
21
|
+
*/
|
|
22
|
+
__publicField(this, "splitMode", "horizontal");
|
|
23
|
+
/**
|
|
24
|
+
* @description 默认分割值
|
|
25
|
+
* @exposedoc
|
|
26
|
+
* @author zhanghengfeng
|
|
27
|
+
* @date 2023-08-22 17:08:38
|
|
28
|
+
* @type {(number | string)}
|
|
29
|
+
*/
|
|
30
|
+
__publicField(this, "splitValue", 0.5);
|
|
31
|
+
/**
|
|
32
|
+
* @description 面板隐藏前分割值
|
|
33
|
+
* @author zhanghengfeng
|
|
34
|
+
* @date 2023-10-08 17:10:58
|
|
35
|
+
* @type {(number | string | null)}
|
|
36
|
+
*/
|
|
37
|
+
__publicField(this, "lastSplitValue", null);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* 初始化默认分割值
|
|
41
|
+
*
|
|
42
|
+
* @author zhanghengfeng
|
|
43
|
+
* @date 2023-08-22 17:08:13
|
|
44
|
+
* @param {number} value
|
|
45
|
+
* @param {string} mode
|
|
46
|
+
*/
|
|
47
|
+
initSplitValue(value, mode) {
|
|
48
|
+
if (mode === "PX") {
|
|
49
|
+
this.splitValue = `${value}px`;
|
|
50
|
+
}
|
|
51
|
+
if (mode === "PERCENTAGE") {
|
|
52
|
+
this.splitValue = value / 100;
|
|
53
|
+
}
|
|
54
|
+
this.state.splitValue = this.splitValue;
|
|
55
|
+
}
|
|
56
|
+
async onInit() {
|
|
57
|
+
await super.onInit();
|
|
58
|
+
const { predefinedType, panelItems } = this.model;
|
|
59
|
+
this.splitMode = predefinedType === "CONTAINER_V_SPLIT" ? "vertical" : "horizontal";
|
|
60
|
+
if (Array.isArray(panelItems) && panelItems.length) {
|
|
61
|
+
const panelItem = panelItems[0];
|
|
62
|
+
const layoutPos = panelItem.layoutPos;
|
|
63
|
+
if (layoutPos) {
|
|
64
|
+
if (this.splitMode === "horizontal") {
|
|
65
|
+
const { width, widthMode } = layoutPos;
|
|
66
|
+
if (width != null && widthMode != null) {
|
|
67
|
+
this.initSplitValue(width, widthMode);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
if (this.splitMode === "vertical") {
|
|
71
|
+
const { height, heightMode } = layoutPos;
|
|
72
|
+
if (height != null && heightMode != null) {
|
|
73
|
+
this.initSplitValue(height, heightMode);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* @description 隐藏面板,left:左侧面板隐藏,right:右侧面板隐藏,top:上方面板隐藏,bottom:底部面板隐藏
|
|
81
|
+
* @exposedoc
|
|
82
|
+
* @author zhanghengfeng
|
|
83
|
+
* @date 2023-10-08 17:10:35
|
|
84
|
+
* @param {('left' | 'right' | 'top' | 'bottom')} position
|
|
85
|
+
*/
|
|
86
|
+
hiddenPanel(position) {
|
|
87
|
+
if (!this.state.isHiddenTrigger)
|
|
88
|
+
this.lastSplitValue = this.state.splitValue;
|
|
89
|
+
if (position === "left" || position === "top") {
|
|
90
|
+
this.state.splitValue = 0;
|
|
91
|
+
}
|
|
92
|
+
if (position === "right" || position === "bottom") {
|
|
93
|
+
this.state.splitValue = 1;
|
|
94
|
+
}
|
|
95
|
+
this.state.isHiddenTrigger = true;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* @description 显示面板,恢复上一次的分割比例
|
|
99
|
+
* @exposedoc
|
|
100
|
+
* @author zhanghengfeng
|
|
101
|
+
* @date 2023-10-08 17:10:31
|
|
102
|
+
*/
|
|
103
|
+
showPanel() {
|
|
104
|
+
if (this.lastSplitValue != null) {
|
|
105
|
+
this.state.splitValue = this.lastSplitValue;
|
|
106
|
+
this.state.isHiddenTrigger = false;
|
|
107
|
+
this.lastSplitValue = null;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
exports.SplitContainerController = SplitContainerController;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ibiz-split-container{width:100%;height:100%;overflow:auto}.ibiz-split-container.is-hidden{display:none}.ibiz-split-container.is-hidden-trigger>.ibiz-split-wrapper>.ibiz-split--horizontal>.ibiz-split-trigger-con,.ibiz-split-container.is-hidden-trigger>.ibiz-split-wrapper>.ibiz-split--vertical>.ibiz-split-trigger-con{display:none}.ibiz-split-container.is-hidden-trigger>.ibiz-split-wrapper>.ibiz-split--horizontal>.ibiz-split-trigger-con+.ibiz-split-pane,.ibiz-split-container.is-hidden-trigger>.ibiz-split-wrapper>.ibiz-split--vertical>.ibiz-split-trigger-con+.ibiz-split-pane{padding:0}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var splitContainer_controller = require('./split-container.controller.cjs');
|
|
4
|
+
|
|
5
|
+
"use strict";
|
|
6
|
+
var __defProp = Object.defineProperty;
|
|
7
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
+
var __publicField = (obj, key, value) => {
|
|
9
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
10
|
+
return value;
|
|
11
|
+
};
|
|
12
|
+
class SplitContainerProvider {
|
|
13
|
+
constructor() {
|
|
14
|
+
__publicField(this, "component", "IBizSplitContainer");
|
|
15
|
+
}
|
|
16
|
+
async createController(panelItem, panel, parent) {
|
|
17
|
+
const c = new splitContainer_controller.SplitContainerController(panelItem, panel, parent);
|
|
18
|
+
await c.init();
|
|
19
|
+
return c;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
exports.SplitContainerProvider = SplitContainerProvider;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var runtime = require('@ibiz-template/runtime');
|
|
4
|
+
|
|
5
|
+
"use strict";
|
|
6
|
+
var __defProp = Object.defineProperty;
|
|
7
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
+
var __publicField = (obj, key, value) => {
|
|
9
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
10
|
+
return value;
|
|
11
|
+
};
|
|
12
|
+
class SplitContainerState extends runtime.PanelContainerState {
|
|
13
|
+
constructor() {
|
|
14
|
+
super(...arguments);
|
|
15
|
+
/**
|
|
16
|
+
* @description 分割值
|
|
17
|
+
* @exposedoc
|
|
18
|
+
* @type {(number | string)}
|
|
19
|
+
*/
|
|
20
|
+
__publicField(this, "splitValue", 0.5);
|
|
21
|
+
/**
|
|
22
|
+
* @description 是否隐藏拖拽触发器,即不允许拖拽
|
|
23
|
+
* @exposedoc
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
*/
|
|
26
|
+
__publicField(this, "isHiddenTrigger", false);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
exports.SplitContainerState = SplitContainerState;
|
|
@@ -96,11 +96,15 @@ const MobUserMessage = /* @__PURE__ */ vue.defineComponent({
|
|
|
96
96
|
isActive.value = true;
|
|
97
97
|
c.load();
|
|
98
98
|
});
|
|
99
|
+
const renderNoData = () => {
|
|
100
|
+
return vue.createVNode(vue.resolveComponent("iBizNoData"), {
|
|
101
|
+
"class": ns.e("nodata"),
|
|
102
|
+
"text": ibiz.i18n.t("panelComponent.userMessage.internalMessageTab.notificationYet")
|
|
103
|
+
}, null);
|
|
104
|
+
};
|
|
99
105
|
const renderItems = () => {
|
|
100
106
|
if (allItems.value.length === 0) {
|
|
101
|
-
return
|
|
102
|
-
"class": ns.e("nodata")
|
|
103
|
-
}, [ibiz.i18n.t("panelComponent.userMessage.internalMessageTab.notificationYet")]);
|
|
107
|
+
return renderNoData();
|
|
104
108
|
}
|
|
105
109
|
return allItems.value.map((msg) => {
|
|
106
110
|
let provider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-user-message{position:relative;height:100%}.ibiz-user-message__content{display:flex;flex-direction:column;height:100%;overflow:auto}.ibiz-user-message__item{padding:.875rem}.ibiz-user-message__item::after{position:relative;bottom:-.875rem;left:
|
|
1
|
+
.ibiz-user-message{--ibiz-user-message-item-bg-color:var(--ibiz-color-border);--ibiz-user-message-tab-header-height:var(--ibiz-height-control-large);position:relative;height:100%}.ibiz-user-message__content{display:flex;flex-direction:column;height:100%;overflow:auto}.ibiz-user-message__item{padding:.875rem}.ibiz-user-message__item::after{position:relative;bottom:-.875rem;left:0;display:block;width:100%;height:.0625rem;content:"";background-color:var(--ibiz-user-message-item-bg-color)}.ibiz-user-message__load-more{display:flex;align-items:center;justify-content:center;height:2.5rem;flex:none;color:var(--ibiz-color-link);cursor:pointer}.ibiz-user-message__nodata{height:100%;display:flex;align-items:center;justify-content:center}.ibiz-user-message__icons-read{position:absolute;right:0;top:0;z-index:9;height:2.5rem;padding:0 .75rem}.ibiz-user-message .van-tabs{height:100%}.ibiz-user-message .van-tabs .van-tabs__content{height:calc(100% - var(--ibiz-user-message-tab-header-height))}.ibiz-user-message .van-tabs .van-tabs__content>div{height:100%}.ibiz-user-message .van-tabs__wrap{padding-right:2.5rem}
|
|
@@ -72,6 +72,16 @@ const ViewContentPanelContainer = /* @__PURE__ */ vue.defineComponent({
|
|
|
72
72
|
return result;
|
|
73
73
|
});
|
|
74
74
|
const contentRef = vue.ref();
|
|
75
|
+
const showBackTop = vue.computed(() => {
|
|
76
|
+
var _a2, _b2, _c;
|
|
77
|
+
if (((_a2 = props.controller) == null ? void 0 : _a2.panel.params) && Object.prototype.hasOwnProperty.call(props.controller.panel.params, "srfshowbacktop")) {
|
|
78
|
+
return ((_b2 = props.controller) == null ? void 0 : _b2.panel.params.srfshowbacktop) === true || ((_c = props.controller) == null ? void 0 : _c.panel.params.srfshowbacktop) === "true";
|
|
79
|
+
}
|
|
80
|
+
if (ibiz.config.mob.mobShowBackTop) {
|
|
81
|
+
return isScrollable;
|
|
82
|
+
}
|
|
83
|
+
return false;
|
|
84
|
+
});
|
|
75
85
|
return {
|
|
76
86
|
ns,
|
|
77
87
|
viewModel,
|
|
@@ -79,6 +89,7 @@ const ViewContentPanelContainer = /* @__PURE__ */ vue.defineComponent({
|
|
|
79
89
|
isScrollable,
|
|
80
90
|
classArr,
|
|
81
91
|
contentRef,
|
|
92
|
+
showBackTop,
|
|
82
93
|
refresh
|
|
83
94
|
};
|
|
84
95
|
},
|
|
@@ -90,7 +101,7 @@ const ViewContentPanelContainer = /* @__PURE__ */ vue.defineComponent({
|
|
|
90
101
|
"layout": this.modelData.layout,
|
|
91
102
|
"ref": "contentRef"
|
|
92
103
|
}, {
|
|
93
|
-
default: () => [this.
|
|
104
|
+
default: () => [this.contentRef && this.showBackTop && vue.createVNode(vue.resolveComponent("van-back-top"), {
|
|
94
105
|
"teleport": this.contentRef.$el
|
|
95
106
|
}, null), defaultSlots.map((slot) => {
|
|
96
107
|
const props = slot.props;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-view{--ibiz-control-overflow:hidden auto}.ibiz-view-content{--
|
|
1
|
+
.ibiz-view{--ibiz-control-overflow:hidden auto}.ibiz-view .ibiz-view-header{z-index:1}.ibiz-view .ibiz-panel-container--view_top{position:relative;z-index:1}.ibiz-view-content{--ibiz-panel-component-view-content-margin:0;--ibiz-panel-component-view-content-background-color:var(--ibiz-view-bg-color);height:100%;margin-top:var(--ibiz-panel-component-view-content-margin);overflow:auto;background-color:var(--ibiz-panel-component-view-content-background-color)}.ibiz-view-content.is-scroll{overflow-y:auto;--ibiz-control-overflow:unset unset}.ibiz-view-content.is-embed{--ibiz-control-overflow:hidden auto}.ibiz-view-content .ibiz-view{--ibiz-control-overflow:hidden auto}.ibiz-view-content-refresh{height:100%}.ibiz-view-content-refresh.van-pull-refresh{overflow:visible}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-view-header{--ibiz-panel-component-view-header-bg-color:var(--ibiz-color-bg-1);--ibiz-panel-component-view-header-back-font-size:var(--ibiz-font-size-header-
|
|
1
|
+
.ibiz-view-header{--ibiz-panel-component-view-header-bg-color:var(--ibiz-color-bg-1);--ibiz-panel-component-view-header-back-font-size:var(--ibiz-font-size-header-6);--ibiz-panel-component-view-header-back-padding:0 var(--ibiz-spacing-tight);--ibiz-panel-component-view-header-back-width:2.5rem;--ibiz-panel-component-view-header-back-height:100%;--ibiz-panel-component-view-header-color:var(--ibiz-color-text-0);position:relative;color:var(--ibiz-panel-component-view-header-color);background-color:var(--ibiz-panel-component-view-header-bg-color)}.ibiz-view-header--precut-back{padding-left:var(--ibiz-panel-component-view-header-back-width)}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var vue3Util = require('@ibiz-template/vue3-util');
|
|
6
|
+
var runtime = require('@ibiz-template/runtime');
|
|
7
|
+
var viewMessage = require('./view-message.cjs');
|
|
8
|
+
var viewMessage_provider = require('./view-message.provider.cjs');
|
|
9
|
+
|
|
10
|
+
"use strict";
|
|
11
|
+
const IBizViewMessage = vue3Util.withInstall(viewMessage.ViewMessage, function(v) {
|
|
12
|
+
v.component(viewMessage.ViewMessage.name, viewMessage.ViewMessage);
|
|
13
|
+
runtime.registerPanelItemProvider(
|
|
14
|
+
"RAWITEM_VIEW_MESSAGE",
|
|
15
|
+
() => new viewMessage_provider.ViewMessageProvider()
|
|
16
|
+
);
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
exports.IBizViewMessage = IBizViewMessage;
|
|
20
|
+
exports.default = IBizViewMessage;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var vue = require('vue');
|
|
4
|
+
var vue3Util = require('@ibiz-template/vue3-util');
|
|
5
|
+
var runtime = require('@ibiz-template/runtime');
|
|
6
|
+
|
|
7
|
+
"use strict";
|
|
8
|
+
const ViewMessage = /* @__PURE__ */ vue.defineComponent({
|
|
9
|
+
name: "IBizViewMessage",
|
|
10
|
+
props: {
|
|
11
|
+
/**
|
|
12
|
+
* @description 视图消息组件模型数据
|
|
13
|
+
*/
|
|
14
|
+
modelData: {
|
|
15
|
+
type: Object,
|
|
16
|
+
required: true
|
|
17
|
+
},
|
|
18
|
+
/**
|
|
19
|
+
* @description 视图消息组件控制器
|
|
20
|
+
*/
|
|
21
|
+
controller: {
|
|
22
|
+
type: runtime.PanelItemController,
|
|
23
|
+
required: true
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
setup(props) {
|
|
27
|
+
const ns = vue3Util.useNamespace("view-message");
|
|
28
|
+
const c = props.controller;
|
|
29
|
+
const ctx = vue3Util.useCtx();
|
|
30
|
+
const {
|
|
31
|
+
view
|
|
32
|
+
} = ctx;
|
|
33
|
+
return {
|
|
34
|
+
ns,
|
|
35
|
+
c,
|
|
36
|
+
view
|
|
37
|
+
};
|
|
38
|
+
},
|
|
39
|
+
render() {
|
|
40
|
+
const c = this.view;
|
|
41
|
+
if (c.state.isCreated) {
|
|
42
|
+
const viewMessages = c.state.viewMessages.BODY;
|
|
43
|
+
if (viewMessages == null ? void 0 : viewMessages.length) {
|
|
44
|
+
return vue.createVNode(vue.resolveComponent("view-message"), {
|
|
45
|
+
"class": [this.ns.e("body-message")],
|
|
46
|
+
"messages": viewMessages
|
|
47
|
+
}, null);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
return null;
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
exports.ViewMessage = ViewMessage;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var runtime = require('@ibiz-template/runtime');
|
|
4
|
+
|
|
5
|
+
"use strict";
|
|
6
|
+
var __defProp = Object.defineProperty;
|
|
7
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
+
var __publicField = (obj, key, value) => {
|
|
9
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
10
|
+
return value;
|
|
11
|
+
};
|
|
12
|
+
class ViewMessageProvider {
|
|
13
|
+
constructor() {
|
|
14
|
+
__publicField(this, "component", "IBizViewMessage");
|
|
15
|
+
}
|
|
16
|
+
async createController(panelItem, panel, parent) {
|
|
17
|
+
const c = new runtime.PanelItemController(panelItem, panel, parent);
|
|
18
|
+
await c.init();
|
|
19
|
+
return c;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
exports.ViewMessageProvider = ViewMessageProvider;
|