@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
|
@@ -5,6 +5,7 @@ var vue3Util = require('@ibiz-template/vue3-util');
|
|
|
5
5
|
var runtime = require('@ibiz-template/runtime');
|
|
6
6
|
require('../../util/index.cjs');
|
|
7
7
|
require('./data-view.css');
|
|
8
|
+
var listRenderUtil = require('../../util/list-util/list-render-util.cjs');
|
|
8
9
|
var usePagination = require('../../util/pagination/use-pagination.cjs');
|
|
9
10
|
|
|
10
11
|
"use strict";
|
|
@@ -57,27 +58,35 @@ const DataViewControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
57
58
|
loadDefault: {
|
|
58
59
|
type: Boolean,
|
|
59
60
|
default: true
|
|
61
|
+
},
|
|
62
|
+
/**
|
|
63
|
+
* @description 是否是简单模式,即直接传入数据,不加载数据
|
|
64
|
+
*/
|
|
65
|
+
isSimple: {
|
|
66
|
+
type: Boolean,
|
|
67
|
+
required: false
|
|
68
|
+
},
|
|
69
|
+
/**
|
|
70
|
+
* @description 简单模式下传入的数据
|
|
71
|
+
*/
|
|
72
|
+
data: {
|
|
73
|
+
type: Array,
|
|
74
|
+
required: false
|
|
60
75
|
}
|
|
61
76
|
},
|
|
62
77
|
setup(props) {
|
|
63
78
|
const c = vue3Util.useControlController((...args) => new runtime.DataViewControlController(...args));
|
|
64
79
|
const ns = vue3Util.useNamespace(`control-${c.model.controlType.toLowerCase()}`);
|
|
65
|
-
const
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
}
|
|
73
|
-
return c.state.items.length >= c.state.total || c.state.isLoading || c.state.total <= c.state.size;
|
|
74
|
-
});
|
|
80
|
+
const {
|
|
81
|
+
enableLoadMore,
|
|
82
|
+
renderNoData,
|
|
83
|
+
renderAddItem,
|
|
84
|
+
renderScrollList,
|
|
85
|
+
renderGroup
|
|
86
|
+
} = listRenderUtil.useListRender(props, c, ns);
|
|
75
87
|
const {
|
|
76
88
|
onPageChange
|
|
77
89
|
} = usePagination.usePagination(c);
|
|
78
|
-
const showCollapseOrExpandIcon = vue.computed(() => {
|
|
79
|
-
return !c.model.enableGroup && c.model.pagingMode === 3;
|
|
80
|
-
});
|
|
81
90
|
const renderPanelItem = (item, modelData) => {
|
|
82
91
|
const {
|
|
83
92
|
context,
|
|
@@ -105,34 +114,23 @@ const DataViewControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
105
114
|
"class": ns.be("item-content", "bottom")
|
|
106
115
|
}, [renderItemAction(item)]) : null]);
|
|
107
116
|
};
|
|
108
|
-
const renderNoData = () => {
|
|
109
|
-
const {
|
|
110
|
-
isLoaded
|
|
111
|
-
} = c.state;
|
|
112
|
-
if (!isLoaded) {
|
|
113
|
-
return;
|
|
114
|
-
}
|
|
115
|
-
return isLoaded && vue.createVNode(vue.resolveComponent("iBizNoData"), {
|
|
116
|
-
"text": c.model.emptyText,
|
|
117
|
-
"emptyTextLanguageRes": c.model.emptyTextLanguageRes
|
|
118
|
-
}, null);
|
|
119
|
-
};
|
|
120
117
|
const renderDefaultItem = (item) => {
|
|
121
118
|
return vue.createVNode(vue.resolveComponent("van-card"), {
|
|
122
119
|
"title": item.srfmajortext,
|
|
123
|
-
"desc": item.content
|
|
124
|
-
"onClick": () => c.onRowClick(item)
|
|
120
|
+
"desc": item.content
|
|
125
121
|
}, {
|
|
126
122
|
footer: () => renderFooter(item)
|
|
127
123
|
});
|
|
128
124
|
};
|
|
129
125
|
const renderCard = (item) => {
|
|
126
|
+
var _a;
|
|
130
127
|
const model = c.model;
|
|
131
128
|
const findIndex = c.state.selectedData.findIndex((data) => {
|
|
132
129
|
return data.srfkey === item.srfkey;
|
|
133
130
|
});
|
|
134
131
|
const panel = props.modelData.itemLayoutPanel;
|
|
135
|
-
const
|
|
132
|
+
const itemSysCss = ((_a = model.itemSysCss) == null ? void 0 : _a.cssName) || "";
|
|
133
|
+
const cardClass = [ns.b("item"), ns.is("active", findIndex !== -1), itemSysCss];
|
|
136
134
|
const cardStyle = {};
|
|
137
135
|
if (model.cardWidth) {
|
|
138
136
|
Object.assign(cardStyle, {
|
|
@@ -145,10 +143,9 @@ const DataViewControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
145
143
|
});
|
|
146
144
|
}
|
|
147
145
|
Object.assign(cardStyle, ns.cssVarBlock({
|
|
148
|
-
"
|
|
149
|
-
"
|
|
150
|
-
"item-
|
|
151
|
-
"item-active-color": `${item.activecolor || ""}`
|
|
146
|
+
"color-bg": `${item.bgcolor || ""}`,
|
|
147
|
+
"color-text": `${item.fontcolor || ""}`,
|
|
148
|
+
"color-item-active": `${item.activecolor || ""}`
|
|
152
149
|
}));
|
|
153
150
|
return vue.createVNode("div", {
|
|
154
151
|
"class": cardClass,
|
|
@@ -156,15 +153,15 @@ const DataViewControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
156
153
|
"onClick": () => c.onRowClick(item)
|
|
157
154
|
}, [panel ? renderPanelItem(item, panel) : renderDefaultItem(item)]);
|
|
158
155
|
};
|
|
159
|
-
const
|
|
156
|
+
const renderContent = (items) => {
|
|
160
157
|
const {
|
|
161
158
|
cardColMD
|
|
162
159
|
} = c.model;
|
|
163
160
|
if (cardColMD) {
|
|
164
161
|
let _slot2;
|
|
165
162
|
return vue.createVNode(vue.resolveComponent("van-row"), {
|
|
166
|
-
"class": [ns.e("
|
|
167
|
-
}, _isSlot(_slot2 =
|
|
163
|
+
"class": [ns.e("row")]
|
|
164
|
+
}, _isSlot(_slot2 = items.map((item) => {
|
|
168
165
|
let _slot;
|
|
169
166
|
return vue.createVNode(vue.resolveComponent("van-col"), {
|
|
170
167
|
"span": cardColMD,
|
|
@@ -176,71 +173,42 @@ const DataViewControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
176
173
|
default: () => [_slot2]
|
|
177
174
|
});
|
|
178
175
|
}
|
|
179
|
-
return
|
|
176
|
+
return [...items.map((item) => {
|
|
180
177
|
return renderCard(item);
|
|
181
|
-
});
|
|
178
|
+
})];
|
|
182
179
|
};
|
|
183
|
-
const
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
return vue.createVNode(vue.resolveComponent("van-collapse-item"), {
|
|
191
|
-
"title": group.caption,
|
|
192
|
-
"name": index
|
|
193
|
-
}, _isSlot(_slot3 = group.children.map((item) => {
|
|
194
|
-
return renderCard(item);
|
|
195
|
-
})) ? _slot3 : {
|
|
196
|
-
default: () => [_slot3]
|
|
197
|
-
});
|
|
198
|
-
})) ? _slot4 : {
|
|
199
|
-
default: () => [_slot4]
|
|
200
|
-
});
|
|
180
|
+
const renderDefault = () => {
|
|
181
|
+
const result = [];
|
|
182
|
+
result.push(renderContent(c.state.items));
|
|
183
|
+
if (c.enableNew) {
|
|
184
|
+
result.push(renderAddItem());
|
|
185
|
+
}
|
|
186
|
+
return result;
|
|
201
187
|
};
|
|
202
188
|
const renderMDContent = () => {
|
|
203
|
-
const
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
"immediate-check": false,
|
|
208
|
-
"onLoad": () => c.loadMore()
|
|
209
|
-
}, {
|
|
210
|
-
default: () => [model.groupMode !== "NONE" ? renderGroup() : renderDefault()]
|
|
211
|
-
});
|
|
212
|
-
};
|
|
213
|
-
const loadMoreIcon = () => {
|
|
214
|
-
return vue.createVNode("div", {
|
|
215
|
-
"class": ns.e("load-more"),
|
|
216
|
-
"onClick": () => c.loadMore()
|
|
217
|
-
}, [ibiz.i18n.t("control.common.loadMore")]);
|
|
218
|
-
};
|
|
219
|
-
const renderLoadMore = () => {
|
|
220
|
-
let icon = null;
|
|
221
|
-
const loadMore = c.state.items.length < c.state.total && c.state.total > c.state.size;
|
|
222
|
-
if (showCollapseOrExpandIcon.value && loadMore) {
|
|
223
|
-
icon = loadMoreIcon();
|
|
224
|
-
}
|
|
225
|
-
return icon;
|
|
189
|
+
const slots = c.enableGroup ? renderGroup({
|
|
190
|
+
children: renderContent
|
|
191
|
+
}) : renderDefault();
|
|
192
|
+
return renderScrollList(slots);
|
|
226
193
|
};
|
|
227
194
|
return {
|
|
228
195
|
c,
|
|
229
196
|
ns,
|
|
230
|
-
|
|
197
|
+
enableLoadMore,
|
|
231
198
|
onPageChange,
|
|
232
199
|
renderNoData,
|
|
233
|
-
renderMDContent
|
|
234
|
-
renderLoadMore
|
|
200
|
+
renderMDContent
|
|
235
201
|
};
|
|
236
202
|
},
|
|
237
203
|
render() {
|
|
238
204
|
const enablePagingBar = this.c.state.enablePagingBar && this.c.model.pagingMode === 1;
|
|
239
205
|
return vue.createVNode(vue.resolveComponent("iBizControlBase"), {
|
|
240
|
-
"class": [this.ns.is("enable-
|
|
206
|
+
"class": [this.ns.is("enable-pagination", enablePagingBar), this.ns.is("enable-group", this.c.enableGroup), this.ns.is("hidden-finished", enablePagingBar || this.c.enableGroup || this.enableLoadMore)],
|
|
241
207
|
"controller": this.c
|
|
242
208
|
}, {
|
|
243
|
-
default: () => [
|
|
209
|
+
default: () => [vue.createVNode("div", {
|
|
210
|
+
"class": this.ns.e("content-container")
|
|
211
|
+
}, [this.c.state.isCreated && (this.c.state.items.length > 0 ? this.renderMDContent() : this.renderNoData())]), enablePagingBar ? vue.createVNode(vue.resolveComponent("van-pagination"), {
|
|
244
212
|
"class": this.ns.e("pagination"),
|
|
245
213
|
"total-items": this.c.state.total,
|
|
246
214
|
"model-value": this.c.state.curPage,
|
|
@@ -248,7 +216,7 @@ const DataViewControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
248
216
|
"page-count": this.c.state.totalPages,
|
|
249
217
|
"force-ellipses": true,
|
|
250
218
|
"onChange": this.onPageChange
|
|
251
|
-
}, null) : null
|
|
219
|
+
}, null) : null]
|
|
252
220
|
});
|
|
253
221
|
}
|
|
254
222
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-control-dataview
|
|
1
|
+
.ibiz-control-dataview{--ibiz-control-dataview-color-text:var(--ibiz-color-text-0);--ibiz-control-dataview-color-bg:var(--ibiz-color-bg-0);--ibiz-control-dataview-color-item-active:var(--ibiz-color-primary-light-default);--ibiz-control-dataview-color-group-bg:var(--ibiz-color-bg-0);--ibiz-control-dataview-color-group-text:var(--ibiz-color-text-1);--ibiz-control-dataview-spacing-item-padding:var(--ibiz-spacing-base-tight) var(--ibiz-spacing-base);--ibiz-control-dataview-spacing-padding:var(--ibiz-spacing-tight) var(--ibiz-spacing-base);--ibiz-control-dataview-spacing-item-gap:var(--ibiz-spacing-base-tight);--ibiz-control-dataview-spacing-group-padding:var(--ibiz-spacing-tight) var(--ibiz-spacing-base);--ibiz-control-dataview-font-group-fontSize:var(--ibiz-font-size-header-6);--ibiz-control-dataview-font-group-lineHeight:var(--ibiz-height-control-default);--ibiz-control-dataview-shadow:var(--ibiz-shadow-elevated);height:100%;--van-card-thumb-size:auto}.ibiz-control-dataview__content-container{height:100%;width:100%}.ibiz-control-dataview__content{display:flex;flex-wrap:wrap;max-height:100%;gap:var(--ibiz-control-dataview-spacing-item-gap);overflow-y:auto;padding:var(--ibiz-control-dataview-spacing-padding)}.ibiz-control-dataview__content .van-list__error-text,.ibiz-control-dataview__content .van-list__finished-text,.ibiz-control-dataview__content .van-list__loading{width:100%}.ibiz-control-dataview__row{gap:0;margin:calc(-1 * var(--ibiz-control-dataview-spacing-item-gap)/ 2)}.ibiz-control-dataview__row .ibiz-control-dataview__item-col{padding:calc(var(--ibiz-control-dataview-spacing-item-gap)/ 2)}.ibiz-control-dataview.is-enable-pagination{display:flex;flex-direction:column}.ibiz-control-dataview.is-enable-pagination .ibiz-control-dataview__content-container{flex:auto;height:0}.ibiz-control-dataview.is-enable-pagination .ibiz-control-dataview__pagination{flex:none}.ibiz-control-dataview.is-hidden-finished .van-list__finished-text{display:none}.ibiz-control-dataview.is-enable-group .ibiz-control-dataview__content{padding:0}.ibiz-control-dataview.is-enable-group .ibiz-control-dataview-group__item{padding:var(--ibiz-control-dataview-spacing-padding)}.ibiz-control-dataview__anchor{width:100%}.ibiz-control-dataview__anchor .van-index-anchor{padding:0}.ibiz-control-dataview-item{flex:none;padding:var(--ibiz-control-dataview-spacing-item-padding);box-shadow:var(--ibiz-control-dataview-shadow);color:var(--ibiz-control-dataview-color-text);background-color:var(--ibiz-control-dataview-color-bg);width:100%}.ibiz-control-dataview-item.is-active{background-color:var(--ibiz-control-dataview-color-item-active)}.ibiz-control-dataview-item>.van-card{padding:0;background-color:transparent;color:inherit}.ibiz-control-dataview-group{height:100%;width:100%}.ibiz-control-dataview-group__container{width:100%;height:100%}.ibiz-control-dataview-group__item{display:flex;flex-direction:column;gap:var(--ibiz-control-dataview-spacing-item-gap)}.ibiz-control-dataview-group__caption{padding:var(--ibiz-control-dataview-spacing-group-padding);font-size:var(--ibiz-control-dataview-font-group-fontSize);line-height:var(--ibiz-control-dataview-font-group-lineHeight);color:var(--ibiz-control-dataview-color-group-text);background-color:var(--ibiz-control-dataview-color-group-bg)}.ibiz-control-dataview-quicktoolbar{width:100%;display:flex;align-items:center;justify-content:center}
|
|
@@ -288,7 +288,6 @@ class DRBarController extends runtime.ControlController {
|
|
|
288
288
|
}
|
|
289
289
|
if (this.isCreate) {
|
|
290
290
|
this.state.defaultItem = this.model.uniqueTag;
|
|
291
|
-
return;
|
|
292
291
|
}
|
|
293
292
|
}
|
|
294
293
|
/**
|
|
@@ -500,7 +499,10 @@ class DRBarController extends runtime.ControlController {
|
|
|
500
499
|
context,
|
|
501
500
|
params,
|
|
502
501
|
viewId: drBarItem.appViewId,
|
|
503
|
-
isRoutePushed
|
|
502
|
+
isRoutePushed,
|
|
503
|
+
modalOptions: {
|
|
504
|
+
replace: true
|
|
505
|
+
}
|
|
504
506
|
});
|
|
505
507
|
}
|
|
506
508
|
/**
|
|
@@ -7,9 +7,6 @@ var drtab_controller = require('./drtab.controller.cjs');
|
|
|
7
7
|
require('./drtab.css');
|
|
8
8
|
|
|
9
9
|
"use strict";
|
|
10
|
-
function _isSlot(s) {
|
|
11
|
-
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
|
|
12
|
-
}
|
|
13
10
|
const DRTabControl = /* @__PURE__ */ vue.defineComponent({
|
|
14
11
|
name: "IBizDrTabControl",
|
|
15
12
|
props: {
|
|
@@ -40,6 +37,13 @@ const DRTabControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
40
37
|
*/
|
|
41
38
|
provider: {
|
|
42
39
|
type: Object
|
|
40
|
+
},
|
|
41
|
+
/**
|
|
42
|
+
* @description 隐藏编辑项
|
|
43
|
+
*/
|
|
44
|
+
hideEditItem: {
|
|
45
|
+
type: Boolean,
|
|
46
|
+
default: void 0
|
|
43
47
|
}
|
|
44
48
|
},
|
|
45
49
|
setup() {
|
|
@@ -48,14 +52,11 @@ const DRTabControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
48
52
|
const ns = vue3Util.useNamespace(`control-${c.model.controlType.toLowerCase()}`);
|
|
49
53
|
const router = vueRouter.useRouter();
|
|
50
54
|
c.setRouter(router);
|
|
51
|
-
const counterData = vue.
|
|
55
|
+
const counterData = vue.ref({});
|
|
52
56
|
const showPopover = vue.ref(false);
|
|
53
|
-
const
|
|
54
|
-
const activeTab = vue.computed(() => {
|
|
55
|
-
return c.state.drTabPages.find((tab) => tab.tag === c.state.activeName);
|
|
56
|
-
});
|
|
57
|
+
const layoutMode = ((_a = c.view.model.tabLayout) == null ? void 0 : _a.toLowerCase()) || "top";
|
|
57
58
|
const fn = (counter) => {
|
|
58
|
-
|
|
59
|
+
counterData.value = counter;
|
|
59
60
|
};
|
|
60
61
|
c.evt.on("onCreated", () => {
|
|
61
62
|
if (c.counter) {
|
|
@@ -67,114 +68,39 @@ const DRTabControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
67
68
|
showPopover.value = false;
|
|
68
69
|
c.handleTabChange();
|
|
69
70
|
};
|
|
70
|
-
const
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
71
|
+
const tabPages = vue.computed(() => {
|
|
72
|
+
return c.state.drTabPages.map((_tab) => ({
|
|
73
|
+
id: _tab.tag,
|
|
74
|
+
text: _tab.caption,
|
|
75
|
+
icon: _tab.sysImage,
|
|
76
|
+
counter: _tab.counterId ? counterData.value[_tab.counterId] : null,
|
|
77
|
+
isHidden: _tab.hidden
|
|
78
|
+
}));
|
|
77
79
|
});
|
|
78
|
-
const renderDropdownList = () => {
|
|
79
|
-
return vue.createVNode(vue.resolveComponent("van-popover"), {
|
|
80
|
-
"class": ns.e("dropdown-list"),
|
|
81
|
-
"placement": "bottom-start",
|
|
82
|
-
"show": showPopover.value,
|
|
83
|
-
"onUpdate:show": ($event) => showPopover.value = $event
|
|
84
|
-
}, {
|
|
85
|
-
default: () => {
|
|
86
|
-
return vue.createVNode("div", {
|
|
87
|
-
"class": ns.e("popover")
|
|
88
|
-
}, [c.state.drTabPages.map((tab) => {
|
|
89
|
-
if (!tab.hidden) {
|
|
90
|
-
return vue.createVNode("div", {
|
|
91
|
-
"class": [ns.em("popover", "item"), ns.is("disabled", tab.disabled)],
|
|
92
|
-
"onClick": () => onTabChange(tab.tag)
|
|
93
|
-
}, [tab.sysImage && vue.createVNode(vue.resolveComponent("iBizIcon"), {
|
|
94
|
-
"icon": tab.sysImage
|
|
95
|
-
}, null), vue.createVNode("div", {
|
|
96
|
-
"class": "caption"
|
|
97
|
-
}, [vue.createVNode("span", {
|
|
98
|
-
"class": "text"
|
|
99
|
-
}, [tab.caption]), tab.counterId && vue.createVNode(vue.resolveComponent("iBizBadge"), {
|
|
100
|
-
"value": counterData[tab.counterId],
|
|
101
|
-
"counterMode": tab.counterMode
|
|
102
|
-
}, null)]), tab.tag === c.state.activeName && vue.createVNode("ion-icon", {
|
|
103
|
-
"name": "checkmark-outline"
|
|
104
|
-
}, null)]);
|
|
105
|
-
}
|
|
106
|
-
return null;
|
|
107
|
-
})]);
|
|
108
|
-
},
|
|
109
|
-
reference: () => {
|
|
110
|
-
return vue.createVNode(vue.resolveComponent("van-button"), {
|
|
111
|
-
"onClick": onChangePopover
|
|
112
|
-
}, {
|
|
113
|
-
default: () => {
|
|
114
|
-
var _a2, _b, _c;
|
|
115
|
-
return [((_a2 = activeTab.value) == null ? void 0 : _a2.sysImage) && vue.createVNode(vue.resolveComponent("iBizIcon"), {
|
|
116
|
-
"class": ns.em("dropdown-list", "icon"),
|
|
117
|
-
"icon": activeTab.value.sysImage
|
|
118
|
-
}, null), vue.createVNode("span", {
|
|
119
|
-
"class": ns.em("dropdown-list", "caption")
|
|
120
|
-
}, [(_b = activeTab.value) == null ? void 0 : _b.caption, ((_c = activeTab.value) == null ? void 0 : _c.counterId) && vue.createVNode(vue.resolveComponent("iBizBadge"), {
|
|
121
|
-
"value": counterData[activeTab.value.counterId],
|
|
122
|
-
"counterMode": activeTab.value.counterMode
|
|
123
|
-
}, null)]), vue.createVNode("ion-icon", {
|
|
124
|
-
"name": "chevron-down-outline"
|
|
125
|
-
}, null)];
|
|
126
|
-
}
|
|
127
|
-
});
|
|
128
|
-
}
|
|
129
|
-
});
|
|
130
|
-
};
|
|
131
|
-
const renderDefault = () => {
|
|
132
|
-
let _slot;
|
|
133
|
-
return vue.createVNode(vue.resolveComponent("van-tabs"), {
|
|
134
|
-
"class": ns.e("tabs"),
|
|
135
|
-
"active": c.state.activeName,
|
|
136
|
-
"onChange": onTabChange
|
|
137
|
-
}, _isSlot(_slot = c.state.drTabPages.map((tab) => {
|
|
138
|
-
if (!tab.hidden) {
|
|
139
|
-
return vue.createVNode(vue.resolveComponent("van-tab"), {
|
|
140
|
-
"name": tab.tag,
|
|
141
|
-
"class": ns.e("tab-item"),
|
|
142
|
-
"disabled": tab.disabled,
|
|
143
|
-
"badge": tab.counterId ? counterData[tab.counterId] : void 0
|
|
144
|
-
}, {
|
|
145
|
-
title: () => vue.createVNode("div", {
|
|
146
|
-
"class": ns.em("tab-item", "title")
|
|
147
|
-
}, [tab.sysImage && vue.createVNode(vue.resolveComponent("iBizIcon"), {
|
|
148
|
-
"class": ns.em("tab-item", "title-icon"),
|
|
149
|
-
"icon": tab.sysImage
|
|
150
|
-
}, null), vue.createVNode("span", {
|
|
151
|
-
"class": ns.em("tab-item", "title-caption")
|
|
152
|
-
}, [tab.caption])])
|
|
153
|
-
});
|
|
154
|
-
}
|
|
155
|
-
return null;
|
|
156
|
-
})) ? _slot : {
|
|
157
|
-
default: () => [_slot]
|
|
158
|
-
});
|
|
159
|
-
};
|
|
160
80
|
return {
|
|
161
81
|
c,
|
|
162
82
|
ns,
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
83
|
+
tabPages,
|
|
84
|
+
layoutMode,
|
|
85
|
+
onTabChange
|
|
166
86
|
};
|
|
167
87
|
},
|
|
168
88
|
render() {
|
|
169
89
|
const {
|
|
170
90
|
isCreated,
|
|
91
|
+
activeName,
|
|
171
92
|
isCalculatedPermission
|
|
172
93
|
} = this.c.state;
|
|
173
94
|
return vue.createVNode(vue.resolveComponent("iBizControlBase"), {
|
|
174
95
|
"controller": this.c,
|
|
175
|
-
"class": this.ns.b()
|
|
96
|
+
"class": [this.ns.b(), this.ns.m(this.layoutMode)]
|
|
176
97
|
}, {
|
|
177
|
-
default: () => [isCreated && isCalculatedPermission &&
|
|
98
|
+
default: () => [isCreated && isCalculatedPermission && vue.createVNode(vue.resolveComponent("iBizTabLayout"), {
|
|
99
|
+
"tabPages": this.tabPages,
|
|
100
|
+
"layoutMode": this.layoutMode,
|
|
101
|
+
"activeName": activeName,
|
|
102
|
+
"onTabChange": this.onTabChange
|
|
103
|
+
}, null)]
|
|
178
104
|
});
|
|
179
105
|
}
|
|
180
106
|
});
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var runtime = require('@ibiz-template/runtime');
|
|
4
4
|
var vue3Util = require('@ibiz-template/vue3-util');
|
|
5
|
+
var qxUtil = require('qx-util');
|
|
5
6
|
|
|
6
7
|
"use strict";
|
|
7
8
|
var __defProp = Object.defineProperty;
|
|
@@ -28,8 +29,9 @@ class DRTabController extends runtime.ControlController {
|
|
|
28
29
|
*/
|
|
29
30
|
__publicField(this, "router");
|
|
30
31
|
}
|
|
31
|
-
setActive(
|
|
32
|
-
|
|
32
|
+
setActive(name) {
|
|
33
|
+
this.state.activeName = name;
|
|
34
|
+
this.handleTabChange();
|
|
33
35
|
}
|
|
34
36
|
/**
|
|
35
37
|
* 导航占位控制器
|
|
@@ -48,7 +50,8 @@ class DRTabController extends runtime.ControlController {
|
|
|
48
50
|
* @memberof DRTabController
|
|
49
51
|
*/
|
|
50
52
|
get form() {
|
|
51
|
-
|
|
53
|
+
var _a;
|
|
54
|
+
return (_a = this.view) == null ? void 0 : _a.getController("form");
|
|
52
55
|
}
|
|
53
56
|
/**
|
|
54
57
|
* 路由层级
|
|
@@ -108,6 +111,8 @@ class DRTabController extends runtime.ControlController {
|
|
|
108
111
|
* @memberof DRTabController
|
|
109
112
|
*/
|
|
110
113
|
async initCounter() {
|
|
114
|
+
if (this.state.isCounterDisabled)
|
|
115
|
+
return;
|
|
111
116
|
const { appCounterRefs } = this.model;
|
|
112
117
|
const appCounterRef = appCounterRefs == null ? void 0 : appCounterRefs[0];
|
|
113
118
|
if (appCounterRef) {
|
|
@@ -137,6 +142,7 @@ class DRTabController extends runtime.ControlController {
|
|
|
137
142
|
}
|
|
138
143
|
await this.calcDrTabPagesState();
|
|
139
144
|
this.handleFormChange();
|
|
145
|
+
this.doDefaultSelect();
|
|
140
146
|
});
|
|
141
147
|
this.form.evt.on("onLoadDraftSuccess", () => {
|
|
142
148
|
this.handleFormChange();
|
|
@@ -153,6 +159,31 @@ class DRTabController extends runtime.ControlController {
|
|
|
153
159
|
this.doDefaultSelect();
|
|
154
160
|
}
|
|
155
161
|
}
|
|
162
|
+
/**
|
|
163
|
+
* @description 获取当前激活项
|
|
164
|
+
* @return {*} {IDEDRCtrlItem | undefined}
|
|
165
|
+
* @memberof DRTabController
|
|
166
|
+
*/
|
|
167
|
+
getActiveItem() {
|
|
168
|
+
var _a;
|
|
169
|
+
return (_a = this.model.dedrtabPages) == null ? void 0 : _a.find(
|
|
170
|
+
(item) => item.id === this.state.activeName
|
|
171
|
+
);
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* @description 部件刷新
|
|
175
|
+
* @memberof DRTabController
|
|
176
|
+
*/
|
|
177
|
+
refresh() {
|
|
178
|
+
const drBarItem = this.getActiveItem();
|
|
179
|
+
const isRoutePushed = false;
|
|
180
|
+
if (drBarItem) {
|
|
181
|
+
this.setVisible("navPos");
|
|
182
|
+
this.openNavPosView(drBarItem, isRoutePushed, {
|
|
183
|
+
key: `${drBarItem.id}-${qxUtil.createUUID()}`
|
|
184
|
+
});
|
|
185
|
+
}
|
|
186
|
+
}
|
|
156
187
|
/**
|
|
157
188
|
* @description 处理第一次的默认选中
|
|
158
189
|
* @memberof DRTabController
|
|
@@ -309,6 +340,7 @@ class DRTabController extends runtime.ControlController {
|
|
|
309
340
|
if (drBarItem) {
|
|
310
341
|
this.setVisible("navPos");
|
|
311
342
|
this.openNavPosView(drBarItem, isRoutePushed);
|
|
343
|
+
this.evt.emit("onTabChange", { tab: drBarItem });
|
|
312
344
|
} else {
|
|
313
345
|
this.setVisible("form");
|
|
314
346
|
if (this.routeDepth && this.state.drTabPages[0]) {
|
|
@@ -380,7 +412,7 @@ class DRTabController extends runtime.ControlController {
|
|
|
380
412
|
* @param {boolean} [isRoutePushed=false]
|
|
381
413
|
* @memberof DRTabController
|
|
382
414
|
*/
|
|
383
|
-
async openNavPosView(drTabPages, isRoutePushed = false) {
|
|
415
|
+
async openNavPosView(drTabPages, isRoutePushed = false, opts = {}) {
|
|
384
416
|
var _a;
|
|
385
417
|
const { context, params } = this.prepareParams(drTabPages);
|
|
386
418
|
(_a = this.navPos) == null ? void 0 : _a.openView({
|
|
@@ -388,7 +420,11 @@ class DRTabController extends runtime.ControlController {
|
|
|
388
420
|
context,
|
|
389
421
|
params,
|
|
390
422
|
viewId: drTabPages.appViewId,
|
|
391
|
-
isRoutePushed
|
|
423
|
+
isRoutePushed,
|
|
424
|
+
modalOptions: {
|
|
425
|
+
replace: true
|
|
426
|
+
},
|
|
427
|
+
...opts
|
|
392
428
|
});
|
|
393
429
|
}
|
|
394
430
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-control-drtab{
|
|
1
|
+
.ibiz-control-drtab{--ibiz-control-drtab-color-tab-text:var(--ibiz-color-text-0);--ibiz-control-drtab-color-tab-text-active:var(--ibiz-color-primary);--ibiz-control-drtab-font-tab-font-size:var(--ibiz-font-size-regular)}.ibiz-control-drtab.ibiz-tab-layout{--ibiz-tab-layout-color-tab-text:var(--ibiz-control-drtab-color-tab-text);--ibiz-tab-layout-color-tab-text-active:var(--ibiz-control-drtab-color-tab-text-active);--ibiz-tab-layout-font-tab-font-size:var(--ibiz-control-drtab-font-tab-font-size)}
|
|
@@ -7,6 +7,9 @@ var lodashEs = require('lodash-es');
|
|
|
7
7
|
require('./edit-form.css');
|
|
8
8
|
|
|
9
9
|
"use strict";
|
|
10
|
+
function _isSlot(s) {
|
|
11
|
+
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
|
|
12
|
+
}
|
|
10
13
|
const EditFormControl = /* @__PURE__ */ vue.defineComponent({
|
|
11
14
|
name: "IBizEditFormControl",
|
|
12
15
|
props: {
|
|
@@ -82,6 +85,7 @@ const EditFormControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
82
85
|
});
|
|
83
86
|
const ns = vue3Util.useNamespace(`control-edit-form`);
|
|
84
87
|
const filter = vue.ref(void 0);
|
|
88
|
+
const anchorList = vue.ref([]);
|
|
85
89
|
if (props.isSimple) {
|
|
86
90
|
if (props.simpleDataIndex || props.simpleDataIndex === 0) {
|
|
87
91
|
c.setSimpleDataIndex(props.simpleDataIndex);
|
|
@@ -110,6 +114,7 @@ const EditFormControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
110
114
|
const detail = c.details[key];
|
|
111
115
|
detail.state = vue.reactive(detail.state);
|
|
112
116
|
});
|
|
117
|
+
anchorList.value = c.anchorData;
|
|
113
118
|
});
|
|
114
119
|
const handleInput = lodashEs.debounce((val) => {
|
|
115
120
|
filter.value = val;
|
|
@@ -121,14 +126,16 @@ const EditFormControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
121
126
|
c,
|
|
122
127
|
ns,
|
|
123
128
|
filter,
|
|
124
|
-
handleInput
|
|
129
|
+
handleInput,
|
|
130
|
+
anchorList
|
|
125
131
|
};
|
|
126
132
|
},
|
|
127
133
|
render() {
|
|
128
134
|
const {
|
|
129
|
-
enableItemFilter
|
|
135
|
+
enableItemFilter,
|
|
136
|
+
showFormNavBar
|
|
130
137
|
} = this.c.model;
|
|
131
|
-
|
|
138
|
+
const content = vue.createVNode("div", {
|
|
132
139
|
"class": [this.ns.b(), this.ns.is("item-filter", enableItemFilter)]
|
|
133
140
|
}, [enableItemFilter && vue.createVNode(vue.resolveComponent("van-search"), {
|
|
134
141
|
"modelValue": this.filter,
|
|
@@ -140,6 +147,21 @@ const EditFormControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
140
147
|
}, {
|
|
141
148
|
...this.$slots
|
|
142
149
|
})]);
|
|
150
|
+
if (showFormNavBar) {
|
|
151
|
+
const {
|
|
152
|
+
navBarSysCss,
|
|
153
|
+
navBarPos
|
|
154
|
+
} = this.c.model;
|
|
155
|
+
const items = this.anchorList.filter((item) => item.pageId === this.c.state.activeTab);
|
|
156
|
+
return vue.createVNode(vue.resolveComponent("van-index-bar"), {
|
|
157
|
+
"index-list": items.map((x) => x.title),
|
|
158
|
+
"sticky": false,
|
|
159
|
+
"class": [this.ns.e("anchor"), navBarSysCss, this.ns.em("anchor", navBarPos == null ? void 0 : navBarPos.toLowerCase())]
|
|
160
|
+
}, _isSlot(content) ? content : {
|
|
161
|
+
default: () => [content]
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
return content;
|
|
143
165
|
}
|
|
144
166
|
});
|
|
145
167
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-control-edit-form{width:100%}
|
|
1
|
+
.ibiz-control-edit-form{width:100%}.ibiz-control-edit-form__anchor{--ibiz-control-edit-form-spacing-topright-top:calc(var(--ibiz-view-page-caption-line-height) + 2 * var(--ibiz-spacing-tight));--ibiz-control-edit-form-spacing-topright-right:0px;--ibiz-control-edit-form-spacing-bottomright-bottom:0px;--ibiz-control-edit-form-spacing-bottomright-right:0px;--ibiz-control-edit-form-spacing-middleright-top:50%;--ibiz-control-edit-form-spacing-middleright-right:0px;position:relative}.ibiz-control-edit-form__anchor .van-index-anchor{padding:0}.ibiz-control-edit-form__anchor--middleright .van-index-bar__sidebar{top:var(--ibiz-control-edit-form-spacing-middleright-top);right:var(--ibiz-control-edit-form-spacing-middleright-right)}.ibiz-control-edit-form__anchor--bottomright .van-index-bar__sidebar{top:auto;right:var(--ibiz-control-edit-form-spacing-bottomright-right);bottom:var(--ibiz-control-edit-form-spacing-bottomright-bottom);transform:none}.ibiz-control-edit-form__anchor--topright .van-index-bar__sidebar{top:var(--ibiz-control-edit-form-spacing-topright-top);right:var(--ibiz-control-edit-form-spacing-topright-right);transform:none}
|
|
@@ -120,7 +120,8 @@ const FormControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
120
120
|
} else {
|
|
121
121
|
const key = controlPanel ? model.name : "default";
|
|
122
122
|
slots[key] = () => {
|
|
123
|
-
|
|
123
|
+
const result = [];
|
|
124
|
+
const tempForm = vue.createVNode(vue.resolveComponent("iBizFormPage"), {
|
|
124
125
|
"modelData": this.c.model,
|
|
125
126
|
"controller": this.c
|
|
126
127
|
}, {
|
|
@@ -131,6 +132,11 @@ const FormControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
131
132
|
})];
|
|
132
133
|
}
|
|
133
134
|
});
|
|
135
|
+
result.push(tempForm);
|
|
136
|
+
if (this.$slots.searchFooter) {
|
|
137
|
+
result.push(this.$slots.searchFooter());
|
|
138
|
+
}
|
|
139
|
+
return result;
|
|
134
140
|
};
|
|
135
141
|
}
|
|
136
142
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-control-form{--ibiz-control-form-bg
|
|
1
|
+
.ibiz-control-form{--ibiz-control-form-color-bg:var(--ibiz-color-bg-1)}.ibiz-control-form{width:100%;background-color:var(--ibiz-control-form-color-bg)}
|
|
@@ -52,7 +52,7 @@ const FormButton = /* @__PURE__ */ vue.defineComponent({
|
|
|
52
52
|
"class": [this.ns.b(), this.ns.m(this.modelData.codeName), this.ns.is("loading", this.controller.state.loading), ...this.controller.containerClass]
|
|
53
53
|
}, [vue.createVNode(vue.resolveComponent("van-button"), {
|
|
54
54
|
"size": "small",
|
|
55
|
-
"type": buttonUtil.convertBtnType(this.modelData
|
|
55
|
+
"type": buttonUtil.convertBtnType(this.modelData),
|
|
56
56
|
"onClick": this.controller.onClick.bind(this.controller),
|
|
57
57
|
"loading": this.controller.state.loading,
|
|
58
58
|
"disabled": this.controller.state.disabled
|