@ibiz-template/mob-vue3-components 0.7.41-alpha.19-lts.1 → 0.7.41-alpha.21
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-BkzKmBm3.js +2 -0
- package/dist/index-BkzKmBm3.js.map +1 -0
- package/dist/index-CADWRoaa.js +76 -0
- package/dist/index-CADWRoaa.js.map +1 -0
- package/dist/index-ugd4IDkI.js +2 -0
- package/dist/index-ugd4IDkI.js.map +1 -0
- package/dist/index.min.css +14 -14
- package/dist/index.system.min.js +1 -1
- package/dist/{quill-D6plcM_s.js → quill-D-355-KZ.js} +2 -2
- package/dist/{quill-D6plcM_s.js.map → quill-D-355-KZ.js.map} +1 -1
- package/dist/quill-editor-DyVF1l3P.js +2 -0
- package/dist/{quill-editor-CFx5M8uu.js.map → quill-editor-DyVF1l3P.js.map} +1 -1
- package/dist/quill-editor-preview-3eAbHBYz.js +2 -0
- package/dist/{quill-editor-preview-CfbC0J-Z.js.map → quill-editor-preview-3eAbHBYz.js.map} +1 -1
- package/dist/tree-sdPuTW-7.js +2 -0
- package/dist/tree-sdPuTW-7.js.map +1 -0
- package/es/_virtual/index15.mjs +3 -1
- package/es/_virtual/index16.mjs +1 -1
- package/es/_virtual/index17.mjs +1 -3
- package/es/_virtual/index18.mjs +2 -2
- package/es/_virtual/index19.mjs +2 -2
- package/es/_virtual/isBetween.mjs +3 -0
- package/es/common/action-group/action-group.css +1 -1
- package/es/common/action-group/action-group.mjs +4 -4
- package/es/common/action-toolbar/action-toolbar.css +1 -1
- 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/components/range-picker/range-picker.css +1 -1
- package/es/common/date-range-picker/components/single-picker/single-picker.css +1 -1
- package/es/common/date-range-picker/date-range-picker.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/fullscreen-header/fullscreen-header.css +1 -1
- 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.css +1 -1
- 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 +19 -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.css +1 -1
- 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-druipart/form-druipart.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 +19 -15
- 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-form/form-mdctrl-form.css +0 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.mjs +2 -19
- 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/form-mdctrl-repeater/form-mdctrl-repeater.mjs +7 -0
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.css +1 -0
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.mjs +239 -0
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-single-form/repeater-single-form.css +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl.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-item/form-page-item.css +1 -1
- 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.css +0 -1
- package/es/control/list/list/list.mjs +22 -122
- 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 +3 -3
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.css +1 -1
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.mjs +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 +21 -10
- 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 +20 -4
- 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/html/quill-editor-preview/quill-editor-preview.mjs +3 -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/text-box/signature/signature.mjs +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 +29 -5
- package/es/locale/zh-CN/index.mjs +30 -7
- 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/node_modules/.pnpm/eventemitter3@5.0.1/node_modules/eventemitter3/index2.mjs +1 -1
- package/es/node_modules/.pnpm/lodash.clonedeep@4.5.0/node_modules/lodash.clonedeep/index.mjs +1 -1
- package/es/node_modules/.pnpm/lodash.isequal@4.5.0/node_modules/lodash.isequal/index.mjs +1 -1
- package/es/node_modules/.pnpm/quill-delta@5.1.0/node_modules/quill-delta/dist/AttributeMap.mjs +1 -1
- package/es/node_modules/.pnpm/quill-delta@5.1.0/node_modules/quill-delta/dist/Delta.mjs +1 -1
- package/es/panel-component/async-action/async-action/async-action.css +1 -1
- package/es/panel-component/async-action/async-action-preview/async-action-preview.css +1 -1
- package/es/panel-component/async-action/async-action-tab/async-action-tab.css +1 -1
- package/es/panel-component/async-action/mob-async-action.css +1 -1
- package/es/panel-component/auth-sso/auth-sso.css +1 -1
- package/es/panel-component/auth-userinfo/auth-userinfo.css +1 -1
- package/es/panel-component/index.mjs +14 -1
- package/es/panel-component/panel-app-title/panel-app-title.css +1 -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/panel-tab-panel/panel-tab-panel.css +1 -1
- 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/theme-toggling/index.mjs +15 -0
- package/es/panel-component/theme-toggling/theme-toggling.controller.mjs +90 -0
- package/es/panel-component/theme-toggling/theme-toggling.css +1 -0
- package/es/panel-component/theme-toggling/theme-toggling.mjs +72 -0
- package/es/panel-component/theme-toggling/theme-toggling.provider.mjs +21 -0
- package/es/panel-component/theme-toggling/theme-toggling.state.mjs +22 -0
- package/es/panel-component/user-message/common/internal-message-container/internal-message-container.css +1 -1
- package/es/panel-component/user-message/common/internal-message-default/internal-message-default.css +1 -1
- package/es/panel-component/user-message/internal-message-text/internal-message-text.css +1 -1
- 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-action-button/wf-action-button.css +1 -1
- package/es/panel-component/wf-step-trace/wf-step-trace.css +1 -1
- 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 +260 -0
- package/es/util/modal-util/modal-util.mjs +44 -2
- package/es/util/store/view-stack/view-stack.mjs +3 -4
- 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/index15.cjs +2 -6
- package/lib/_virtual/index16.cjs +2 -2
- package/lib/_virtual/index17.cjs +6 -2
- package/lib/_virtual/index18.cjs +2 -2
- package/lib/_virtual/index19.cjs +2 -2
- package/lib/_virtual/isBetween.cjs +5 -0
- package/lib/common/action-group/action-group.cjs +4 -4
- package/lib/common/action-group/action-group.css +1 -1
- package/lib/common/action-toolbar/action-toolbar.cjs +1 -1
- package/lib/common/action-toolbar/action-toolbar.css +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/components/range-picker/range-picker.css +1 -1
- package/lib/common/date-range-picker/components/single-picker/single-picker.css +1 -1
- package/lib/common/date-range-picker/date-range-picker.cjs +1 -1
- package/lib/common/date-range-picker/date-range-picker.css +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/fullscreen-header/fullscreen-header.css +1 -1
- 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/preset-view-back/preset-view-back.css +1 -1
- 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 +18 -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/form.css +1 -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-druipart/form-druipart.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 +19 -15
- 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-form/form-mdctrl-form.cjs +1 -18
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.css +0 -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/form-mdctrl-repeater/form-mdctrl-repeater.cjs +7 -0
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.cjs +241 -0
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.css +1 -0
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-single-form/repeater-single-form.css +1 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl.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-item/form-page-item.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 +21 -121
- package/lib/control/list/list/list.css +0 -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 +3 -3
- 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.cjs +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 +21 -10
- package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.css +1 -1
- package/lib/editor/dropdown-list/ibiz-dropdown-list/ibiz-dropdown-list.cjs +19 -3
- 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.cjs +3 -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.cjs +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 +29 -5
- package/lib/locale/zh-CN/index.cjs +30 -7
- 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/node_modules/.pnpm/eventemitter3@5.0.1/node_modules/eventemitter3/index2.cjs +1 -1
- package/lib/node_modules/.pnpm/lodash.clonedeep@4.5.0/node_modules/lodash.clonedeep/index.cjs +1 -1
- package/lib/node_modules/.pnpm/lodash.isequal@4.5.0/node_modules/lodash.isequal/index.cjs +1 -1
- package/lib/node_modules/.pnpm/quill-delta@5.1.0/node_modules/quill-delta/dist/AttributeMap.cjs +1 -1
- package/lib/node_modules/.pnpm/quill-delta@5.1.0/node_modules/quill-delta/dist/Delta.cjs +1 -1
- package/lib/panel-component/async-action/async-action/async-action.css +1 -1
- package/lib/panel-component/async-action/async-action-preview/async-action-preview.css +1 -1
- package/lib/panel-component/async-action/async-action-tab/async-action-tab.css +1 -1
- package/lib/panel-component/async-action/mob-async-action.css +1 -1
- package/lib/panel-component/auth-sso/auth-sso.css +1 -1
- package/lib/panel-component/auth-userinfo/auth-userinfo.css +1 -1
- package/lib/panel-component/index.cjs +47 -34
- package/lib/panel-component/panel-app-title/panel-app-title.css +1 -1
- 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/panel-tab-panel/panel-tab-panel.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/theme-toggling/index.cjs +20 -0
- package/lib/panel-component/theme-toggling/theme-toggling.cjs +74 -0
- package/lib/panel-component/theme-toggling/theme-toggling.controller.cjs +92 -0
- package/lib/panel-component/theme-toggling/theme-toggling.css +1 -0
- package/lib/panel-component/theme-toggling/theme-toggling.provider.cjs +23 -0
- package/lib/panel-component/theme-toggling/theme-toggling.state.cjs +24 -0
- package/lib/panel-component/user-message/common/internal-message-container/internal-message-container.css +1 -1
- package/lib/panel-component/user-message/common/internal-message-default/internal-message-default.css +1 -1
- package/lib/panel-component/user-message/internal-message-text/internal-message-text.css +1 -1
- 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-action-button/wf-action-button.css +1 -1
- package/lib/panel-component/wf-step-trace/wf-step-trace.css +1 -1
- 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 +262 -0
- package/lib/util/modal-util/modal-util.cjs +44 -2
- package/lib/util/store/view-stack/view-stack.cjs +3 -4
- 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-BVvXyRE6.js +0 -2
- package/dist/index-BVvXyRE6.js.map +0 -1
- package/dist/index-BwPgclp0.js +0 -2
- package/dist/index-BwPgclp0.js.map +0 -1
- package/dist/index-CVQ7iBA3.js +0 -76
- package/dist/index-CVQ7iBA3.js.map +0 -1
- package/dist/quill-editor-CFx5M8uu.js +0 -2
- package/dist/quill-editor-preview-CfbC0J-Z.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,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent, createVNode, resolveComponent, computed,
|
|
2
|
-
import { useControlController, useNamespace } from '@ibiz-template/vue3-util';
|
|
1
|
+
import { defineComponent, createVNode, resolveComponent, ref, computed, onMounted, onUnmounted } from 'vue';
|
|
2
|
+
import { useControlController, useNamespace, useClickOutside } from '@ibiz-template/vue3-util';
|
|
3
3
|
import { debounce } from 'lodash-es';
|
|
4
|
-
import { SearchBarController } from '@ibiz-template/runtime';
|
|
4
|
+
import { SearchBarController, getOriginFilterNodes } from '@ibiz-template/runtime';
|
|
5
5
|
import { showTitle } from '@ibiz-template/core';
|
|
6
6
|
import './search-bar.css';
|
|
7
7
|
|
|
@@ -38,11 +38,52 @@ const SearchBarControl = /* @__PURE__ */ defineComponent({
|
|
|
38
38
|
default: () => ({})
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
|
-
setup() {
|
|
41
|
+
setup(props) {
|
|
42
42
|
const c = useControlController((...args) => new SearchBarController(...args));
|
|
43
43
|
const ns = useNamespace(`control-${c.model.controlType.toLowerCase()}`);
|
|
44
|
+
const searchRef = ref();
|
|
45
|
+
const dropdownTop = ref(0);
|
|
46
|
+
const dropdownRef = ref();
|
|
47
|
+
const showDropdown = ref(false);
|
|
48
|
+
const historyItems = ref([]);
|
|
49
|
+
const isCollapse = ref(true);
|
|
50
|
+
const showItemRemove = ref(false);
|
|
51
|
+
const timer = ref();
|
|
52
|
+
const queryCacheKey = `searchbar-${props.context.srfuserid}-${props.context.srfappid}-${c.view.model.id}-${c.model.id}`;
|
|
53
|
+
let funcs;
|
|
54
|
+
const showAllGroups = ref(false);
|
|
55
|
+
let resizeObserver = null;
|
|
56
|
+
const showExpand = ref(false);
|
|
57
|
+
const enableStoredQuery = computed(() => {
|
|
58
|
+
if (Object.hasOwnProperty.call(c.controlParams, "enablestoredquery")) {
|
|
59
|
+
return c.controlParams.enablestoredquery === "true" || c.controlParams.enablestoredquery === true;
|
|
60
|
+
}
|
|
61
|
+
return ibiz.config.mob.mobEnableStoredQuery;
|
|
62
|
+
});
|
|
63
|
+
const enableQuickGroup = computed(() => {
|
|
64
|
+
return c.model.searchBarGroups && c.model.searchBarGroups.length > 0;
|
|
65
|
+
});
|
|
66
|
+
const enableDropDown = computed(() => {
|
|
67
|
+
return enableStoredQuery.value;
|
|
68
|
+
});
|
|
69
|
+
const counterData = ref({});
|
|
70
|
+
const fn = (counter) => {
|
|
71
|
+
counterData.value = counter;
|
|
72
|
+
};
|
|
73
|
+
c.evt.on("onCreated", () => {
|
|
74
|
+
if (c.counter) {
|
|
75
|
+
c.counter.onChange(fn, true);
|
|
76
|
+
}
|
|
77
|
+
});
|
|
44
78
|
const onSearch = () => {
|
|
45
79
|
c.onSearch();
|
|
80
|
+
if (enableStoredQuery.value && c.state.query) {
|
|
81
|
+
const index = historyItems.value.indexOf(c.state.query);
|
|
82
|
+
if (index === -1) {
|
|
83
|
+
historyItems.value.unshift(c.state.query);
|
|
84
|
+
localStorage.setItem(queryCacheKey, JSON.stringify(historyItems.value));
|
|
85
|
+
}
|
|
86
|
+
}
|
|
46
87
|
};
|
|
47
88
|
const debounceSearch = debounce(() => {
|
|
48
89
|
if (onSearch) {
|
|
@@ -79,6 +120,7 @@ const SearchBarControl = /* @__PURE__ */ defineComponent({
|
|
|
79
120
|
},
|
|
80
121
|
"onConfirm": (mode, customCond) => {
|
|
81
122
|
c.state.filterMode = mode;
|
|
123
|
+
c.state.selectedGroupItem = null;
|
|
82
124
|
c.state.customCond = customCond;
|
|
83
125
|
c.onSearch();
|
|
84
126
|
if (popover) {
|
|
@@ -107,27 +149,280 @@ const SearchBarControl = /* @__PURE__ */ defineComponent({
|
|
|
107
149
|
showFilter();
|
|
108
150
|
}
|
|
109
151
|
};
|
|
152
|
+
const onFocus = (_event) => {
|
|
153
|
+
var _a;
|
|
154
|
+
if (!enableDropDown.value) {
|
|
155
|
+
return;
|
|
156
|
+
}
|
|
157
|
+
if (searchRef.value) {
|
|
158
|
+
if (enableStoredQuery.value) {
|
|
159
|
+
const tmepHistory = localStorage.getItem(queryCacheKey);
|
|
160
|
+
if (tmepHistory) {
|
|
161
|
+
historyItems.value = JSON.parse(tmepHistory);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
const rect = searchRef.value.$el.getBoundingClientRect();
|
|
165
|
+
const {
|
|
166
|
+
height,
|
|
167
|
+
top
|
|
168
|
+
} = rect;
|
|
169
|
+
dropdownTop.value = top + height + 8;
|
|
170
|
+
}
|
|
171
|
+
if (((_a = historyItems.value) == null ? void 0 : _a.length) > 0) {
|
|
172
|
+
showDropdown.value = true;
|
|
173
|
+
}
|
|
174
|
+
};
|
|
175
|
+
const onClear = (_event) => {
|
|
176
|
+
if (!enableDropDown.value) {
|
|
177
|
+
return;
|
|
178
|
+
}
|
|
179
|
+
_event.preventDefault();
|
|
180
|
+
_event.stopPropagation();
|
|
181
|
+
showDropdown.value = true;
|
|
182
|
+
};
|
|
183
|
+
const style = computed(() => {
|
|
184
|
+
return {
|
|
185
|
+
display: showDropdown.value ? "flex" : "none",
|
|
186
|
+
top: `${dropdownTop.value}px`,
|
|
187
|
+
maxHeight: `calc(100vh - ${dropdownTop.value}px - 10px)`
|
|
188
|
+
};
|
|
189
|
+
});
|
|
190
|
+
const contentStyle = computed(() => {
|
|
191
|
+
return {
|
|
192
|
+
maxHeight: isCollapse.value ? "150px" : "100%"
|
|
193
|
+
};
|
|
194
|
+
});
|
|
195
|
+
const onSelectItem = (item) => {
|
|
196
|
+
c.handleInput(item);
|
|
197
|
+
onSearch();
|
|
198
|
+
showDropdown.value = false;
|
|
199
|
+
};
|
|
200
|
+
const onPointerDown = () => {
|
|
201
|
+
timer.value = setTimeout(() => {
|
|
202
|
+
showItemRemove.value = true;
|
|
203
|
+
}, 1e3);
|
|
204
|
+
};
|
|
205
|
+
const onPointerUp = () => {
|
|
206
|
+
clearTimeout(timer.value);
|
|
207
|
+
};
|
|
208
|
+
const onpointerCancel = () => {
|
|
209
|
+
clearTimeout(timer.value);
|
|
210
|
+
};
|
|
211
|
+
const onRemoveItem = (item, event) => {
|
|
212
|
+
event.stopPropagation();
|
|
213
|
+
event.preventDefault();
|
|
214
|
+
const index = historyItems.value.indexOf(item);
|
|
215
|
+
historyItems.value.splice(index, 1);
|
|
216
|
+
localStorage.setItem(queryCacheKey, JSON.stringify(historyItems.value));
|
|
217
|
+
};
|
|
218
|
+
const renderSearchHistory = () => {
|
|
219
|
+
return historyItems.value.filter((item) => {
|
|
220
|
+
return item.includes(c.state.query);
|
|
221
|
+
}).map((item) => {
|
|
222
|
+
return createVNode("div", {
|
|
223
|
+
"onClick": () => onSelectItem(item),
|
|
224
|
+
"onPointerdown": onPointerDown,
|
|
225
|
+
"onPointerup": onPointerUp,
|
|
226
|
+
"onPointercancel": onpointerCancel,
|
|
227
|
+
"tabindex": 0,
|
|
228
|
+
"class": ns.bem("history", "content", "item")
|
|
229
|
+
}, [createVNode("div", {
|
|
230
|
+
"class": ns.bem("history", "content", "item-text")
|
|
231
|
+
}, [createVNode("span", null, [item]), showItemRemove.value && createVNode("ion-icon", {
|
|
232
|
+
"onClick": (e) => {
|
|
233
|
+
onRemoveItem(item, e);
|
|
234
|
+
},
|
|
235
|
+
"class": ns.bem("history", "content", "item-remove"),
|
|
236
|
+
"name": "close-circle-outline"
|
|
237
|
+
}, null)])]);
|
|
238
|
+
});
|
|
239
|
+
};
|
|
240
|
+
const clearHistory = () => {
|
|
241
|
+
historyItems.value = [];
|
|
242
|
+
localStorage.removeItem(queryCacheKey);
|
|
243
|
+
showDropdown.value = false;
|
|
244
|
+
};
|
|
245
|
+
const onGroupClick = (item) => {
|
|
246
|
+
var _a;
|
|
247
|
+
c.state.filterNodes = getOriginFilterNodes();
|
|
248
|
+
c.state.customCond = "";
|
|
249
|
+
if (((_a = c.state.selectedGroupItem) == null ? void 0 : _a.id) !== (item == null ? void 0 : item.id)) {
|
|
250
|
+
c.state.selectedGroupItem = item;
|
|
251
|
+
c.evt.emit("onTabChange", {
|
|
252
|
+
data: [item]
|
|
253
|
+
});
|
|
254
|
+
} else {
|
|
255
|
+
c.state.selectedGroupItem = null;
|
|
256
|
+
c.evt.emit("onTabChange", {
|
|
257
|
+
data: null
|
|
258
|
+
});
|
|
259
|
+
}
|
|
260
|
+
onSearch();
|
|
261
|
+
};
|
|
262
|
+
const onCollapse = () => {
|
|
263
|
+
isCollapse.value = !isCollapse.value;
|
|
264
|
+
};
|
|
265
|
+
const onCancelItemRemove = () => {
|
|
266
|
+
showItemRemove.value = false;
|
|
267
|
+
};
|
|
268
|
+
const renderHistory = () => {
|
|
269
|
+
if (!enableStoredQuery.value)
|
|
270
|
+
return null;
|
|
271
|
+
return createVNode("div", {
|
|
272
|
+
"class": ns.b("history")
|
|
273
|
+
}, [createVNode("div", {
|
|
274
|
+
"class": ns.be("history", "header")
|
|
275
|
+
}, [createVNode("div", {
|
|
276
|
+
"class": ns.bem("history", "header", "title")
|
|
277
|
+
}, [ibiz.i18n.t("control.searchBar.history")]), showItemRemove.value ? createVNode("span", {
|
|
278
|
+
"onClick": onCancelItemRemove
|
|
279
|
+
}, [ibiz.i18n.t("control.searchBar.cancel")]) : createVNode("div", {
|
|
280
|
+
"class": ns.bem("history", "header", "clear"),
|
|
281
|
+
"onClick": clearHistory
|
|
282
|
+
}, [createVNode("ion-icon", {
|
|
283
|
+
"name": "trash-outline"
|
|
284
|
+
}, null), createVNode("span", null, [ibiz.i18n.t("control.searchBar.clear")])])]), createVNode("div", {
|
|
285
|
+
"class": ns.be("history", "content"),
|
|
286
|
+
"style": contentStyle.value
|
|
287
|
+
}, [renderSearchHistory()]), showExpand.value && createVNode("div", {
|
|
288
|
+
"class": ns.be("history", "footer"),
|
|
289
|
+
"onClick": onCollapse
|
|
290
|
+
}, [createVNode(resolveComponent("van-divider"), null, {
|
|
291
|
+
default: () => [!isCollapse.value ? ibiz.i18n.t("control.searchBar.collapse") : ibiz.i18n.t("control.searchBar.expand"), !isCollapse.value ? createVNode("ion-icon", {
|
|
292
|
+
"name": "caret-up-outline"
|
|
293
|
+
}, null) : createVNode("ion-icon", {
|
|
294
|
+
"name": "caret-down-outline"
|
|
295
|
+
}, null)]
|
|
296
|
+
})])]);
|
|
297
|
+
};
|
|
298
|
+
const onOpenAllGroups = () => {
|
|
299
|
+
showAllGroups.value = true;
|
|
300
|
+
};
|
|
301
|
+
const renderQuickGroup = () => {
|
|
302
|
+
var _a, _b, _c, _d, _e;
|
|
303
|
+
if (!enableQuickGroup.value)
|
|
304
|
+
return null;
|
|
305
|
+
const count = c.model.quickGroupCount || ((_a = c.model.searchBarGroups) == null ? void 0 : _a.length);
|
|
306
|
+
return createVNode("div", {
|
|
307
|
+
"class": ns.b("quick-group")
|
|
308
|
+
}, [(_c = (_b = c.model.searchBarGroups) == null ? void 0 : _b.slice(0, count)) == null ? void 0 : _c.map((groupItem) => {
|
|
309
|
+
var _a2;
|
|
310
|
+
const visible = c.calcCountVisible(groupItem);
|
|
311
|
+
if (!visible) {
|
|
312
|
+
return null;
|
|
313
|
+
}
|
|
314
|
+
return createVNode("span", {
|
|
315
|
+
"class": [ns.be("quick-group", "item"), ns.is("selected", ((_a2 = c.state.selectedGroupItem) == null ? void 0 : _a2.id) === groupItem.id)],
|
|
316
|
+
"onClick": () => onGroupClick(groupItem)
|
|
317
|
+
}, [groupItem.caption, groupItem.counterId && createVNode(resolveComponent("iBizBadge"), {
|
|
318
|
+
"class": ns.e("counter"),
|
|
319
|
+
"value": counterData.value[groupItem.counterId],
|
|
320
|
+
"counterMode": groupItem.counterMode
|
|
321
|
+
}, null)]);
|
|
322
|
+
}), count && count > 0 && count < ((_e = (_d = c.model.searchBarGroups) == null ? void 0 : _d.length) != null ? _e : 0) ? createVNode("div", {
|
|
323
|
+
"class": ns.be("quick-group", "item"),
|
|
324
|
+
"onClick": onOpenAllGroups
|
|
325
|
+
}, [createVNode("ion-icon", {
|
|
326
|
+
"name": "grid-outline"
|
|
327
|
+
}, null), c.model.groupMoreText || ibiz.i18n.t("control.searchBar.more")]) : null]);
|
|
328
|
+
};
|
|
329
|
+
const onCloseAllGroups = (item) => {
|
|
330
|
+
showAllGroups.value = false;
|
|
331
|
+
onGroupClick(item);
|
|
332
|
+
};
|
|
333
|
+
const renderAllGroups = () => {
|
|
334
|
+
var _a;
|
|
335
|
+
const groups = (_a = c.model.searchBarGroups) == null ? void 0 : _a.map((group) => {
|
|
336
|
+
var _a2;
|
|
337
|
+
return {
|
|
338
|
+
name: group.caption,
|
|
339
|
+
className: [ns.em("action-sheet", "item"), ns.is("selected", group.id === ((_a2 = c.state.selectedGroupItem) == null ? void 0 : _a2.id))],
|
|
340
|
+
...group
|
|
341
|
+
};
|
|
342
|
+
});
|
|
343
|
+
return createVNode(resolveComponent("van-action-sheet"), {
|
|
344
|
+
"class": ns.e("action-sheet"),
|
|
345
|
+
"show": showAllGroups.value,
|
|
346
|
+
"onUpdate:show": ($event) => showAllGroups.value = $event,
|
|
347
|
+
"actions": groups,
|
|
348
|
+
"close-on-click-action": true,
|
|
349
|
+
"onSelect": (item) => onCloseAllGroups(item)
|
|
350
|
+
}, null);
|
|
351
|
+
};
|
|
352
|
+
onMounted(() => {
|
|
353
|
+
var _a;
|
|
354
|
+
if (enableDropDown.value && dropdownRef.value) {
|
|
355
|
+
if (enableStoredQuery.value) {
|
|
356
|
+
const tmepHistory = localStorage.getItem(queryCacheKey);
|
|
357
|
+
if (tmepHistory) {
|
|
358
|
+
historyItems.value = JSON.parse(tmepHistory);
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
funcs = useClickOutside(dropdownRef, async () => {
|
|
362
|
+
showDropdown.value = false;
|
|
363
|
+
if (enableStoredQuery.value) {
|
|
364
|
+
localStorage.setItem(queryCacheKey, JSON.stringify(historyItems.value));
|
|
365
|
+
}
|
|
366
|
+
}, {
|
|
367
|
+
ignore: [(_a = searchRef.value) == null ? void 0 : _a.$el]
|
|
368
|
+
});
|
|
369
|
+
resizeObserver = new ResizeObserver((entries) => {
|
|
370
|
+
const newHeight = entries[0].target.clientHeight;
|
|
371
|
+
if (newHeight > 200) {
|
|
372
|
+
showExpand.value = true;
|
|
373
|
+
} else {
|
|
374
|
+
showExpand.value = false;
|
|
375
|
+
}
|
|
376
|
+
});
|
|
377
|
+
resizeObserver.observe(dropdownRef.value);
|
|
378
|
+
}
|
|
379
|
+
});
|
|
380
|
+
onUnmounted(() => {
|
|
381
|
+
if (funcs && funcs.stop) {
|
|
382
|
+
funcs.stop();
|
|
383
|
+
}
|
|
384
|
+
if (resizeObserver && dropdownRef.value) {
|
|
385
|
+
resizeObserver.unobserve(dropdownRef.value);
|
|
386
|
+
}
|
|
387
|
+
});
|
|
110
388
|
return {
|
|
111
389
|
c,
|
|
112
390
|
ns,
|
|
113
391
|
filterButtonRef,
|
|
392
|
+
searchRef,
|
|
114
393
|
onInput,
|
|
115
394
|
onSearch,
|
|
116
395
|
cssVars,
|
|
117
|
-
triggerFilter
|
|
396
|
+
triggerFilter,
|
|
397
|
+
onFocus,
|
|
398
|
+
onClear,
|
|
399
|
+
style,
|
|
400
|
+
contentStyle,
|
|
401
|
+
dropdownRef,
|
|
402
|
+
enableStoredQuery,
|
|
403
|
+
enableDropDown,
|
|
404
|
+
renderHistory,
|
|
405
|
+
renderQuickGroup,
|
|
406
|
+
renderAllGroups
|
|
118
407
|
};
|
|
119
408
|
},
|
|
120
409
|
render() {
|
|
121
410
|
return createVNode(resolveComponent("iBizControlBase"), {
|
|
122
411
|
"controller": this.c,
|
|
123
|
-
"
|
|
124
|
-
"
|
|
412
|
+
"style": this.cssVars,
|
|
413
|
+
"class": this.ns.b("container")
|
|
125
414
|
}, {
|
|
126
|
-
default: () => [
|
|
415
|
+
default: () => [createVNode("div", {
|
|
416
|
+
"class": [this.ns.b(), this.ns.is("enable-filter", this.c.enableFilter)]
|
|
417
|
+
}, [this.c.model.enableQuickSearch && createVNode(resolveComponent("van-search"), {
|
|
418
|
+
"ref": "searchRef",
|
|
127
419
|
"modelValue": this.c.state.query,
|
|
128
420
|
"class": this.ns.b("quick-search"),
|
|
421
|
+
"autocomplete": this.enableDropDown ? "off" : "on",
|
|
129
422
|
"placeholder": this.c.state.quickSearchPlaceHolder,
|
|
130
|
-
"onUpdate:model-value": this.onInput
|
|
423
|
+
"onUpdate:model-value": this.onInput,
|
|
424
|
+
"onFocus": this.onFocus,
|
|
425
|
+
"onClear": this.onClear
|
|
131
426
|
}, null), this.c.enableFilter && createVNode(resolveComponent("van-button"), {
|
|
132
427
|
"ref": "filterButtonRef",
|
|
133
428
|
"title": showTitle(ibiz.i18n.t("control.searchBar.filter")),
|
|
@@ -139,7 +434,11 @@ const SearchBarControl = /* @__PURE__ */ defineComponent({
|
|
|
139
434
|
cssClass: "funnel-outline"
|
|
140
435
|
}
|
|
141
436
|
}, null)]
|
|
142
|
-
})]
|
|
437
|
+
})]), this.renderQuickGroup(), createVNode("div", {
|
|
438
|
+
"class": this.ns.b("dropdown"),
|
|
439
|
+
"ref": "dropdownRef",
|
|
440
|
+
"style": this.style
|
|
441
|
+
}, [this.renderHistory()]), this.renderAllGroups()]
|
|
143
442
|
});
|
|
144
443
|
}
|
|
145
444
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-control-tabexppanel
|
|
1
|
+
.ibiz-control-tabexppanel{--ibiz-control-tabexppanel-color-tab-text:var(--ibiz-color-text-0);--ibiz-control-tabexppanel-color-tab-text-active:var(--ibiz-color-primary);--ibiz-control-tabexppanel-font-tab-font-size:var(--ibiz-font-size-regular);width:100%;height:100%}.ibiz-control-tabexppanel.ibiz-tab-layout{--ibiz-tab-layout-color-tab-text:var(--ibiz-control-tabexppanel-color-tab-text);--ibiz-tab-layout-color-tab-text-active:var(--ibiz-control-tabexppanel-color-tab-text-active);--ibiz-tab-layout-font-tab-font-size:var(--ibiz-control-tabexppanel-font-tab-font-size)}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isVNode, defineComponent,
|
|
1
|
+
import { isVNode, defineComponent, h, resolveComponent, createVNode, computed } from 'vue';
|
|
2
2
|
import { useControlController, useNamespace } from '@ibiz-template/vue3-util';
|
|
3
3
|
import { TabExpPanelController } from '@ibiz-template/runtime';
|
|
4
4
|
import './tab-exp-panel.css';
|
|
@@ -51,57 +51,57 @@ const TabExpPanelControl = /* @__PURE__ */ defineComponent({
|
|
|
51
51
|
const c = useControlController((...args) => new TabExpPanelController(...args));
|
|
52
52
|
const ns = useNamespace(`control-${c.model.controlType.toLowerCase()}`);
|
|
53
53
|
const model = (_a = c.view) == null ? void 0 : _a.model;
|
|
54
|
-
const
|
|
54
|
+
const layoutMode = ((_b = model == null ? void 0 : model.tabLayout) == null ? void 0 : _b.toLowerCase()) || "top";
|
|
55
55
|
const onTabChange = (value) => {
|
|
56
56
|
c.state.activeName = value;
|
|
57
57
|
c.handleTabChange();
|
|
58
58
|
};
|
|
59
|
+
const tabPages = computed(() => {
|
|
60
|
+
return c.state.tabPages.map((_tab) => ({
|
|
61
|
+
id: _tab.tabTag,
|
|
62
|
+
text: _tab.caption,
|
|
63
|
+
icon: _tab.sysImage,
|
|
64
|
+
counter: _tab.counterId ? c.state.counterData[_tab.counterId] : null
|
|
65
|
+
}));
|
|
66
|
+
});
|
|
59
67
|
return {
|
|
60
68
|
c,
|
|
61
69
|
ns,
|
|
62
|
-
|
|
70
|
+
tabPages,
|
|
71
|
+
layoutMode,
|
|
63
72
|
onTabChange
|
|
64
73
|
};
|
|
65
74
|
},
|
|
66
75
|
render() {
|
|
67
|
-
let _slot;
|
|
68
76
|
const {
|
|
69
77
|
isCreated,
|
|
70
|
-
|
|
78
|
+
activeName
|
|
71
79
|
} = this.c.state;
|
|
72
|
-
if (
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
context: this.context,
|
|
89
|
-
params: this.params,
|
|
90
|
-
viewId: target == null ? void 0 : target.embeddedAppDEViewId
|
|
91
|
-
})])]);
|
|
92
|
-
})]);
|
|
80
|
+
if (!isCreated) {
|
|
81
|
+
return;
|
|
82
|
+
}
|
|
83
|
+
let solts = {};
|
|
84
|
+
if (this.layoutMode === "flow" || this.layoutMode === "flow_noheader") {
|
|
85
|
+
solts = {
|
|
86
|
+
groupContent: (tab) => {
|
|
87
|
+
var _a;
|
|
88
|
+
const target = (_a = this.c.model.controls) == null ? void 0 : _a.find((ctrl) => ctrl.id === tab.id);
|
|
89
|
+
return h(resolveComponent("IBizViewShell"), {
|
|
90
|
+
context: this.context,
|
|
91
|
+
params: this.params,
|
|
92
|
+
viewId: target == null ? void 0 : target.embeddedAppDEViewId
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
};
|
|
93
96
|
}
|
|
94
|
-
return
|
|
95
|
-
"class":
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
}, null);
|
|
103
|
-
})) ? _slot : {
|
|
104
|
-
default: () => [_slot]
|
|
97
|
+
return createVNode(resolveComponent("iBizTabLayout"), {
|
|
98
|
+
"class": this.ns.b(),
|
|
99
|
+
"tabPages": this.tabPages,
|
|
100
|
+
"layoutMode": this.layoutMode,
|
|
101
|
+
"activeName": activeName,
|
|
102
|
+
"onTabChange": this.onTabChange
|
|
103
|
+
}, _isSlot(solts) ? solts : {
|
|
104
|
+
default: () => [solts]
|
|
105
105
|
});
|
|
106
106
|
}
|
|
107
107
|
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ibiz-float-toolbar{--ibiz-float-toolbar-color-item-bg:var(--ibiz-color-bg-1);--ibiz-float-toolbar-color-box-shadow:var(--ibiz-shadow-elevated);--ibiz-float-toolbar-color-disabled-text:var(--ibiz-control-toolbar-color-disabled-text);--ibiz-float-toolbar-color-disabled-bg:var(--ibiz-control-toolbar-color-disabled-bg);--ibiz-float-toolbar-width-wrapper-max-width:calc(100vw - (var(--ibiz-height-control-large) + var(--ibiz-spacing-tight)));--ibiz-float-toolbar-width-item-min-width:var(--ibiz-height-control-large);--ibiz-float-toolbar-height-item:var(--ibiz-height-control-large);--ibiz-float-toolbar-spacing-wrapper-gap:var(--ibiz-spacing-tight);--ibiz-float-toolbar-spacing-item-padding:var(--ibiz-spacing-tight);--ibiz-float-toolbar-radius-item-circle:var(--ibiz-float-toolbar-height-item);--ibiz-float-toolbar-font-item-font-size:var(--ibiz-font-size-header-6);width:auto;height:auto}.ibiz-float-toolbar__wrapper{position:relative;z-index:2;display:flex;flex-wrap:wrap;gap:var(--ibiz-float-toolbar-spacing-wrapper-gap);align-items:center;max-width:var(--ibiz-float-toolbar-width-wrapper-max-width)}.ibiz-float-toolbar__modal{position:fixed;top:0;left:0;z-index:1;width:100vw;height:100vh}.ibiz-float-toolbar__item{display:flex;align-items:center;justify-content:center;min-width:var(--ibiz-float-toolbar-width-item-min-width);height:var(--ibiz-float-toolbar-height-item);padding:var(--ibiz-float-toolbar-spacing-item-padding);font-size:var(--ibiz-float-toolbar-font-item-font-size);white-space:nowrap;background-color:var(--ibiz-float-toolbar-color-item-bg);border-radius:var(--ibiz-float-toolbar-radius-item-circle);box-shadow:var(--ibiz-float-toolbar-color-box-shadow)}.ibiz-float-toolbar__item.is-disabled{color:var(--ibiz-float-toolbar-color-disabled-text);background-color:var(--ibiz-float-toolbar-color-disabled-bg)}.ibiz-float-toolbar.is-vertical .ibiz-float-toolbar__wrapper{flex-direction:column}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { defineComponent, createVNode, ref } from 'vue';
|
|
2
|
+
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
3
|
+
import { useToolBarItemRender, useToolbarGroupModalHandler } from '../toolbar-render-util.mjs';
|
|
4
|
+
import './float-toolbar.css';
|
|
5
|
+
|
|
6
|
+
"use strict";
|
|
7
|
+
const FloatToolbar = /* @__PURE__ */ defineComponent({
|
|
8
|
+
name: "IBizFloatToolbar",
|
|
9
|
+
props: {
|
|
10
|
+
modal: {
|
|
11
|
+
type: Object
|
|
12
|
+
},
|
|
13
|
+
modelData: {
|
|
14
|
+
type: Object,
|
|
15
|
+
required: true
|
|
16
|
+
},
|
|
17
|
+
buttonsState: {
|
|
18
|
+
type: Object,
|
|
19
|
+
required: true
|
|
20
|
+
},
|
|
21
|
+
counterData: {
|
|
22
|
+
type: Object
|
|
23
|
+
},
|
|
24
|
+
placement: {
|
|
25
|
+
type: String,
|
|
26
|
+
default: "RIGHTEND"
|
|
27
|
+
},
|
|
28
|
+
direction: {
|
|
29
|
+
type: String,
|
|
30
|
+
default: "HORIZONTAL"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
setup(props) {
|
|
34
|
+
const ns = useNamespace(`float-toolbar`);
|
|
35
|
+
const contentRef = ref();
|
|
36
|
+
const {
|
|
37
|
+
renderToolbarItemContent
|
|
38
|
+
} = useToolBarItemRender(ns, {
|
|
39
|
+
counterData: props.counterData
|
|
40
|
+
});
|
|
41
|
+
const {
|
|
42
|
+
handleItemClick
|
|
43
|
+
} = useToolbarGroupModalHandler({
|
|
44
|
+
modal: props.modal,
|
|
45
|
+
counterData: props.counterData,
|
|
46
|
+
buttonsState: props.buttonsState
|
|
47
|
+
});
|
|
48
|
+
const handleFloatToolbarClose = () => {
|
|
49
|
+
var _a;
|
|
50
|
+
(_a = props.modal) == null ? void 0 : _a.dismiss();
|
|
51
|
+
};
|
|
52
|
+
return {
|
|
53
|
+
ns,
|
|
54
|
+
contentRef,
|
|
55
|
+
handleItemClick,
|
|
56
|
+
handleFloatToolbarClose,
|
|
57
|
+
renderToolbarItemContent
|
|
58
|
+
};
|
|
59
|
+
},
|
|
60
|
+
render() {
|
|
61
|
+
var _a, _b, _c;
|
|
62
|
+
return createVNode("div", {
|
|
63
|
+
"class": [this.ns.b(), this.ns.is((_a = this.placement) == null ? void 0 : _a.toLocaleLowerCase(), !!this.placement), this.ns.is((_b = this.direction) == null ? void 0 : _b.toLocaleLowerCase(), !!this.direction)]
|
|
64
|
+
}, [createVNode("div", {
|
|
65
|
+
"class": this.ns.e("wrapper")
|
|
66
|
+
}, [(_c = this.modelData.detoolbarItems) == null ? void 0 : _c.map((_item) => {
|
|
67
|
+
var _a2;
|
|
68
|
+
const itemId = _item.id;
|
|
69
|
+
const visible = (_a2 = this.buttonsState[itemId]) == null ? void 0 : _a2.visible;
|
|
70
|
+
let disabled = this.buttonsState[itemId].disabled;
|
|
71
|
+
const toolbarItem = _item;
|
|
72
|
+
if (toolbarItem.itemType === "ITEMS")
|
|
73
|
+
disabled = false;
|
|
74
|
+
if (!visible)
|
|
75
|
+
return;
|
|
76
|
+
return createVNode("div", {
|
|
77
|
+
"class": [this.ns.e("item"), this.ns.is("disabled", disabled)],
|
|
78
|
+
"onClick": (_e) => !disabled && this.handleItemClick(_item, _e)
|
|
79
|
+
}, [createVNode("div", {
|
|
80
|
+
"class": this.ns.em("item", "wrapper")
|
|
81
|
+
}, [this.renderToolbarItemContent(_item)])]);
|
|
82
|
+
})]), createVNode("div", {
|
|
83
|
+
"class": this.ns.e("modal"),
|
|
84
|
+
"onClick": this.handleFloatToolbarClose
|
|
85
|
+
}, null)]);
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
|
|
89
|
+
export { FloatToolbar };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ibiz-toolbar-group-list{--ibiz-toolbar-group-list-color-item-disabled-text:var(--ibiz-control-toolbar-color-disabled-text);--ibiz-toolbar-group-list-height-max-height:calc(100vh - var(--ibiz-height-control-large));--ibiz-toolbar-group-list-height-item-wrapper-min-height:var(--ibiz-height-control-default);--ibiz-toolbar-group-list-spacing-padding:var(--ibiz-spacing-tight) 0;--ibiz-toolbar-group-list-spacing-item-padding:var(--ibiz-spacing-tight) var(--ibiz-spacing-base);--ibiz-toolbar-group-list-spacing-item-label-margin:0 0 0 var(--ibiz-spacing-tight);--ibiz-toolbar-group-list-font-item-font-size:var(--ibiz-spacing-base);display:flex;flex-direction:column;max-height:var(--ibiz-toolbar-group-list-height-max-height);padding:var(--ibiz-toolbar-group-list-spacing-padding)}.ibiz-toolbar-group-list__wrapper{height:100%;overflow-y:auto}.ibiz-toolbar-group-list__item{padding:var(--ibiz-toolbar-group-list-spacing-item-padding);font-size:var(--ibiz-toolbar-group-list-font-item-font-size)}.ibiz-toolbar-group-list__item--wrapper{display:flex;align-items:center;min-height:var(--ibiz-toolbar-group-list-height-item-wrapper-min-height)}.ibiz-toolbar-group-list__item--wrapper .ibiz-toolbar-group-list-item{--ibiz-info-item-spacing-label-margin:var(--ibiz-toolbar-group-list-spacing-item-label-margin)}.ibiz-toolbar-group-list__item--wrapper .ibiz-toolbar-group-list-item:not(:has(.ibiz-icon))::before{display:inline-block;width:var(--ibiz-info-item-icon-size);height:var(--ibiz-info-item-icon-size);margin:var(--ibiz-info-item-spacing-label-margin);content:""}.ibiz-toolbar-group-list__item.is-disabled{color:var(--ibiz-toolbar-group-list-color-item-disabled-text);pointer-events:none}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { defineComponent, createVNode } from 'vue';
|
|
2
|
+
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
3
|
+
import { useToolBarItemRender, useToolbarGroupModalHandler } from '../toolbar-render-util.mjs';
|
|
4
|
+
import './toolbar-group-list.css';
|
|
5
|
+
|
|
6
|
+
"use strict";
|
|
7
|
+
const ToolbarGroupList = /* @__PURE__ */ defineComponent({
|
|
8
|
+
name: "IBizToolbarGroupList",
|
|
9
|
+
props: {
|
|
10
|
+
modal: {
|
|
11
|
+
type: Object
|
|
12
|
+
},
|
|
13
|
+
groupItems: {
|
|
14
|
+
type: Array,
|
|
15
|
+
required: true
|
|
16
|
+
},
|
|
17
|
+
buttonsState: {
|
|
18
|
+
type: Object,
|
|
19
|
+
required: true
|
|
20
|
+
},
|
|
21
|
+
counterData: {
|
|
22
|
+
type: Object
|
|
23
|
+
},
|
|
24
|
+
isGroupExtractMode: {
|
|
25
|
+
type: Boolean,
|
|
26
|
+
default: false
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
setup(props) {
|
|
30
|
+
const ns = useNamespace("toolbar-group-list");
|
|
31
|
+
const {
|
|
32
|
+
btnType,
|
|
33
|
+
renderToolbarItemContent
|
|
34
|
+
} = useToolBarItemRender(ns, {
|
|
35
|
+
counterData: props.counterData
|
|
36
|
+
});
|
|
37
|
+
const {
|
|
38
|
+
handleItemClick
|
|
39
|
+
} = useToolbarGroupModalHandler({
|
|
40
|
+
modal: props.modal,
|
|
41
|
+
counterData: props.counterData,
|
|
42
|
+
buttonsState: props.buttonsState
|
|
43
|
+
});
|
|
44
|
+
return {
|
|
45
|
+
ns,
|
|
46
|
+
handleItemClick,
|
|
47
|
+
btnType,
|
|
48
|
+
renderToolbarItemContent
|
|
49
|
+
};
|
|
50
|
+
},
|
|
51
|
+
render() {
|
|
52
|
+
var _a;
|
|
53
|
+
return createVNode("div", {
|
|
54
|
+
"class": [this.ns.b()]
|
|
55
|
+
}, [createVNode("div", {
|
|
56
|
+
"class": this.ns.e("wrapper")
|
|
57
|
+
}, [(_a = this.groupItems) == null ? void 0 : _a.map((_item) => {
|
|
58
|
+
var _a2;
|
|
59
|
+
const itemId = _item.id;
|
|
60
|
+
const visible = (_a2 = this.buttonsState[itemId]) == null ? void 0 : _a2.visible;
|
|
61
|
+
let disabled = this.buttonsState[itemId].disabled;
|
|
62
|
+
const toolbarItem = _item;
|
|
63
|
+
if (toolbarItem.itemType === "ITEMS")
|
|
64
|
+
disabled = false;
|
|
65
|
+
if (!visible)
|
|
66
|
+
return;
|
|
67
|
+
return createVNode("div", {
|
|
68
|
+
"class": [this.ns.e("item"), this.ns.is("disabled", disabled)],
|
|
69
|
+
"onClick": (_e) => !disabled && this.handleItemClick(_item, _e, this.isGroupExtractMode)
|
|
70
|
+
}, [createVNode("div", {
|
|
71
|
+
"class": this.ns.em("item", "wrapper")
|
|
72
|
+
}, [this.renderToolbarItemContent(_item)])]);
|
|
73
|
+
})])]);
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
export { ToolbarGroupList };
|