@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
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var vue = require('vue');
|
|
4
|
+
var vue3Util = require('@ibiz-template/vue3-util');
|
|
5
|
+
var viewMsgPos_controller = require('./view-msg-pos.controller.cjs');
|
|
6
|
+
|
|
7
|
+
"use strict";
|
|
8
|
+
const ViewMsgPos = /* @__PURE__ */ vue.defineComponent({
|
|
9
|
+
name: "IBizViewMsgPos",
|
|
10
|
+
props: {
|
|
11
|
+
/**
|
|
12
|
+
* @description 视图消息占位控件模型数据
|
|
13
|
+
*/
|
|
14
|
+
modelData: {
|
|
15
|
+
type: Object,
|
|
16
|
+
required: true
|
|
17
|
+
},
|
|
18
|
+
/**
|
|
19
|
+
* @description 视图消息占位控件控制器
|
|
20
|
+
*/
|
|
21
|
+
controller: {
|
|
22
|
+
type: viewMsgPos_controller.ViewMsgPosController,
|
|
23
|
+
required: true
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
setup() {
|
|
27
|
+
const ns = vue3Util.useNamespace("view-msg-pos");
|
|
28
|
+
const ctx = vue3Util.useCtx();
|
|
29
|
+
const view = ctx.view;
|
|
30
|
+
return {
|
|
31
|
+
ns,
|
|
32
|
+
view
|
|
33
|
+
};
|
|
34
|
+
},
|
|
35
|
+
render() {
|
|
36
|
+
const c = this.controller;
|
|
37
|
+
if (!this.view.state.isCreated) {
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
const position = c.rawItemParams.position || "BODY";
|
|
41
|
+
const scroll = c.rawItemParams.scroll === "true";
|
|
42
|
+
const viewMessages = this.view.state.viewMessages[position];
|
|
43
|
+
if (viewMessages == null ? void 0 : viewMessages.length) {
|
|
44
|
+
return vue.createVNode("div", {
|
|
45
|
+
"class": this.ns.b()
|
|
46
|
+
}, [vue.createVNode(vue.resolveComponent("view-message"), {
|
|
47
|
+
"messages": viewMessages,
|
|
48
|
+
"scroll": scroll,
|
|
49
|
+
"context": c.panel.context,
|
|
50
|
+
"params": c.panel.params,
|
|
51
|
+
"controller": c.panel.view.viewMsgController
|
|
52
|
+
}, null)]);
|
|
53
|
+
}
|
|
54
|
+
return null;
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
exports.ViewMsgPos = ViewMsgPos;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var runtime = require('@ibiz-template/runtime');
|
|
4
|
+
|
|
5
|
+
"use strict";
|
|
6
|
+
var __defProp = Object.defineProperty;
|
|
7
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
+
var __publicField = (obj, key, value) => {
|
|
9
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
10
|
+
return value;
|
|
11
|
+
};
|
|
12
|
+
class ViewMsgPosController extends runtime.PanelItemController {
|
|
13
|
+
constructor() {
|
|
14
|
+
super(...arguments);
|
|
15
|
+
/**
|
|
16
|
+
* @description 直接内容项参数
|
|
17
|
+
* @exposedoc
|
|
18
|
+
* @type {IData}
|
|
19
|
+
*/
|
|
20
|
+
__publicField(this, "rawItemParams", {});
|
|
21
|
+
}
|
|
22
|
+
async onInit() {
|
|
23
|
+
await super.onInit();
|
|
24
|
+
this.handleRawItemParams();
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* 处理直接内容项参数
|
|
28
|
+
*
|
|
29
|
+
* @author zhanghengfeng
|
|
30
|
+
* @date 2024-04-08 19:04:59
|
|
31
|
+
* @protected
|
|
32
|
+
*/
|
|
33
|
+
handleRawItemParams() {
|
|
34
|
+
var _a;
|
|
35
|
+
const rawItemParams = (_a = this.model.rawItem) == null ? void 0 : _a.rawItemParams;
|
|
36
|
+
if (Array.isArray(rawItemParams)) {
|
|
37
|
+
rawItemParams.forEach((item) => {
|
|
38
|
+
const key = item.key;
|
|
39
|
+
const value = item.value;
|
|
40
|
+
if (key && value) {
|
|
41
|
+
this.rawItemParams[key.toLowerCase()] = value;
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
exports.ViewMsgPosController = ViewMsgPosController;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var viewMsgPos_controller = require('./view-msg-pos.controller.cjs');
|
|
4
|
+
|
|
5
|
+
"use strict";
|
|
6
|
+
var __defProp = Object.defineProperty;
|
|
7
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
+
var __publicField = (obj, key, value) => {
|
|
9
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
10
|
+
return value;
|
|
11
|
+
};
|
|
12
|
+
class ViewMsgPosProvider {
|
|
13
|
+
constructor() {
|
|
14
|
+
__publicField(this, "component", "IBizViewMsgPos");
|
|
15
|
+
}
|
|
16
|
+
async createController(panelItem, panel, parent) {
|
|
17
|
+
const c = new viewMsgPos_controller.ViewMsgPosController(panelItem, panel, parent);
|
|
18
|
+
await c.init();
|
|
19
|
+
return c;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
exports.ViewMsgPosProvider = ViewMsgPosProvider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-wf-action-button{display:flex;gap:
|
|
1
|
+
.ibiz-wf-action-button{display:flex;gap:var(--ibiz-wf-action-button-spacing-wf-action-button-gap);justify-content:space-around;width:100%;height:100%}.ibiz-wf-action-button .van-button{flex:1;height:100%}.ibiz-wf-action-button__error{color:var(--ibiz-wf-action-button-color-wf-action-button-error)}.ibiz-wf-action-button__normal{color:var(--ibiz-wf-action-button-color-wf-action-button-normal)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-wf-step-trace
|
|
1
|
+
.ibiz-wf-step-trace{--ibiz-wf-step-trace-spacing-wf-step-trace-task-item:var(--ibiz-spacing-tight);--ibiz-wf-step-trace-font-wf-step-trace-task-item-fontSize:var(--ibiz-font-size-regular);--ibiz-wf-step-trace-font-van-field-fontWeight:var(--ibiz-font-weight-bold);--ibiz-wf-step-trace-border-wf-step-trace-task:0.0625rem solid var(--ibiz-color-border)}.ibiz-wf-step-trace .ibiz-wf-step-trace-task{border:var(--ibiz-wf-step-trace-border-wf-step-trace-task)}.ibiz-wf-step-trace .ibiz-wf-step-trace-task-item{padding:var(--ibiz-wf-step-trace-spacing-wf-step-trace-task-item);font-size:var(--ibiz-wf-step-trace-font-wf-step-trace-task-item-fontSize);border-bottom:var(--ibiz-wf-step-trace-border-wf-step-trace-task)}.ibiz-wf-step-trace .ibiz-wf-step-trace-task-item .van-field__label{flex:1;font-weight:var(--ibiz-wf-step-trace-font-van-field-fontWeight)}
|
|
@@ -89,7 +89,7 @@ const AppDrawerComponent = /* @__PURE__ */ vue.defineComponent({
|
|
|
89
89
|
};
|
|
90
90
|
},
|
|
91
91
|
render() {
|
|
92
|
-
return vue.createVNode(vue.resolveComponent("van-popup"), {
|
|
92
|
+
return vue.createVNode(vue.resolveComponent("van-popup"), vue.mergeProps({
|
|
93
93
|
"show": this.isShow,
|
|
94
94
|
"onUpdate:show": ($event) => this.isShow = $event,
|
|
95
95
|
"lock-scroll": true,
|
|
@@ -102,7 +102,7 @@ const AppDrawerComponent = /* @__PURE__ */ vue.defineComponent({
|
|
|
102
102
|
"position": this.direction,
|
|
103
103
|
"z-index": this.drawerZIndex,
|
|
104
104
|
"before-close": this.onBeforeClose
|
|
105
|
-
}, {
|
|
105
|
+
}, this.opts.attrs), {
|
|
106
106
|
default: () => {
|
|
107
107
|
var _a, _b;
|
|
108
108
|
return [(_b = (_a = this.$slots).default) == null ? void 0 : _b.call(_a, this.modal)];
|
|
@@ -1,10 +1,29 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
"use strict";
|
|
4
|
-
function convertBtnType(
|
|
4
|
+
function convertBtnType(detail) {
|
|
5
|
+
const { buttonStyle, actionLevel } = detail;
|
|
5
6
|
let buttonType = "default";
|
|
6
|
-
if (buttonStyle
|
|
7
|
+
if (buttonStyle)
|
|
7
8
|
buttonType = buttonStyle.toLowerCase();
|
|
9
|
+
if (buttonStyle === "STYLE2") {
|
|
10
|
+
buttonType = "primary";
|
|
11
|
+
}
|
|
12
|
+
if (buttonStyle === "STYLE3") {
|
|
13
|
+
buttonType = "inverse";
|
|
14
|
+
}
|
|
15
|
+
if (buttonStyle === "STYLE4") {
|
|
16
|
+
buttonType = "danger";
|
|
17
|
+
}
|
|
18
|
+
if (actionLevel === 250) {
|
|
19
|
+
buttonType = "danger";
|
|
20
|
+
}
|
|
21
|
+
if (actionLevel === 200) {
|
|
22
|
+
buttonType = "primary";
|
|
23
|
+
}
|
|
24
|
+
if (actionLevel === 50) {
|
|
25
|
+
buttonType = "inverse";
|
|
26
|
+
}
|
|
8
27
|
return buttonType;
|
|
9
28
|
}
|
|
10
29
|
|
package/lib/util/index.cjs
CHANGED
|
@@ -15,6 +15,7 @@ require('./store/index.cjs');
|
|
|
15
15
|
var usePopstateUtil = require('./use-popstate-util/use-popstate-util.cjs');
|
|
16
16
|
var qrcodeUtil = require('./qrcode-util/qrcode-util.cjs');
|
|
17
17
|
var buttonUtil = require('./button-util/button-util.cjs');
|
|
18
|
+
var listRenderUtil = require('./list-util/list-render-util.cjs');
|
|
18
19
|
var viewStack = require('./store/view-stack/view-stack.cjs');
|
|
19
20
|
|
|
20
21
|
"use strict";
|
|
@@ -33,5 +34,6 @@ exports.FullscreenUtil = fullscreenUtil.FullscreenUtil;
|
|
|
33
34
|
exports.usePopstateListener = usePopstateUtil.usePopstateListener;
|
|
34
35
|
exports.QrcodeUtil = qrcodeUtil.QrcodeUtil;
|
|
35
36
|
exports.convertBtnType = buttonUtil.convertBtnType;
|
|
37
|
+
exports.useListRender = listRenderUtil.useListRender;
|
|
36
38
|
exports.calcUniqueKey = viewStack.calcUniqueKey;
|
|
37
39
|
exports.useViewStack = viewStack.useViewStack;
|
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var vue = require('vue');
|
|
4
|
+
var runtime = require('@ibiz-template/runtime');
|
|
5
|
+
|
|
6
|
+
"use strict";
|
|
7
|
+
function _isSlot(s) {
|
|
8
|
+
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
|
|
9
|
+
}
|
|
10
|
+
function useListRender(props, c, ns) {
|
|
11
|
+
const {
|
|
12
|
+
name,
|
|
13
|
+
enablePagingBar,
|
|
14
|
+
pagingMode,
|
|
15
|
+
controlStyle,
|
|
16
|
+
itemLayoutPanel,
|
|
17
|
+
controls = [],
|
|
18
|
+
emptyText,
|
|
19
|
+
emptyTextLanguageRes
|
|
20
|
+
} = c.model;
|
|
21
|
+
const isLoadError = vue.ref(false);
|
|
22
|
+
const isLodeFinished = vue.ref(enablePagingBar === true || pagingMode === 3);
|
|
23
|
+
const enableLoadMore = vue.computed(() => {
|
|
24
|
+
return c.state.items.length < c.state.total && c.state.total > c.state.size;
|
|
25
|
+
});
|
|
26
|
+
c.evt.on("onLoadSuccess", () => {
|
|
27
|
+
if (!enablePagingBar && pagingMode !== 3) {
|
|
28
|
+
isLodeFinished.value = c.state.items.length >= c.state.total || c.state.total <= c.state.size;
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
c.evt.on("onLoadError", () => {
|
|
32
|
+
isLoadError.value = true;
|
|
33
|
+
c.state.curPage -= 1;
|
|
34
|
+
});
|
|
35
|
+
const initSimpleData = () => {
|
|
36
|
+
if (!props.data) {
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
c.state.items = props.data.map((item) => new runtime.ControlVO(item));
|
|
40
|
+
c.afterLoad({}, c.state.items);
|
|
41
|
+
};
|
|
42
|
+
c.evt.on("onCreated", async () => {
|
|
43
|
+
if (props.isSimple) {
|
|
44
|
+
initSimpleData();
|
|
45
|
+
c.state.isSimple = true;
|
|
46
|
+
c.state.isLoaded = true;
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
vue.watch(() => props.data, () => {
|
|
50
|
+
if (props.isSimple) {
|
|
51
|
+
initSimpleData();
|
|
52
|
+
}
|
|
53
|
+
}, {
|
|
54
|
+
deep: true
|
|
55
|
+
});
|
|
56
|
+
const isSelect = (row) => {
|
|
57
|
+
const findIndex = c.state.selectedData.findIndex((data) => {
|
|
58
|
+
return data.srfkey === row.srfkey;
|
|
59
|
+
});
|
|
60
|
+
return findIndex !== -1;
|
|
61
|
+
};
|
|
62
|
+
const calcItemClass = (row) => {
|
|
63
|
+
const select = isSelect(row);
|
|
64
|
+
const itemClass = [ns.b("item"), ns.is("active", select)];
|
|
65
|
+
return itemClass;
|
|
66
|
+
};
|
|
67
|
+
const calcItemStyle = (row) => {
|
|
68
|
+
const cardStyle = {};
|
|
69
|
+
Object.assign(cardStyle, ns.cssVarBlock({
|
|
70
|
+
"color-bg": `${row.bgcolor || ""}`,
|
|
71
|
+
"color-text": `${row.fontcolor || ""}`,
|
|
72
|
+
"color-item-active": `${row.activecolor || ""}`
|
|
73
|
+
}));
|
|
74
|
+
return cardStyle;
|
|
75
|
+
};
|
|
76
|
+
const renderRightSlot = (row) => {
|
|
77
|
+
const select = isSelect(row);
|
|
78
|
+
return vue.createVNode(vue.resolveComponent("van-checkbox"), {
|
|
79
|
+
"class": ns.be("item", "right"),
|
|
80
|
+
"checked": select
|
|
81
|
+
}, null);
|
|
82
|
+
};
|
|
83
|
+
const renderIcon = (row) => {
|
|
84
|
+
return vue.createVNode("img", {
|
|
85
|
+
"class": ns.b("image"),
|
|
86
|
+
"src": row.image,
|
|
87
|
+
"alt": ""
|
|
88
|
+
}, null);
|
|
89
|
+
};
|
|
90
|
+
const renderItemContent = (row) => {
|
|
91
|
+
const itemClass = calcItemClass(row);
|
|
92
|
+
const itemStyle = calcItemStyle(row);
|
|
93
|
+
const slotOption = {};
|
|
94
|
+
if (Object.prototype.hasOwnProperty.call(row, "image") && row.image) {
|
|
95
|
+
Object.assign(slotOption, {
|
|
96
|
+
icon: renderIcon(row)
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
if (props.mode === "SELECT") {
|
|
100
|
+
Object.assign(slotOption, {
|
|
101
|
+
icon: renderRightSlot(row)
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
return vue.createVNode(vue.resolveComponent("van-cell"), {
|
|
105
|
+
"class": itemClass,
|
|
106
|
+
"style": itemStyle,
|
|
107
|
+
"is-link": true,
|
|
108
|
+
"title": row.srfmajortext || "",
|
|
109
|
+
"onClick": (event) => c.onRowClick(row, event)
|
|
110
|
+
}, _isSlot(slotOption) ? slotOption : {
|
|
111
|
+
default: () => [slotOption]
|
|
112
|
+
});
|
|
113
|
+
};
|
|
114
|
+
const renderPanelItem = (item, modelData) => {
|
|
115
|
+
const {
|
|
116
|
+
context,
|
|
117
|
+
params
|
|
118
|
+
} = c;
|
|
119
|
+
const itemClass = calcItemClass(item);
|
|
120
|
+
const itemStyle = calcItemStyle(item);
|
|
121
|
+
if (props.mode !== "SELECT" && controlStyle !== "EXTVIEW1") {
|
|
122
|
+
itemClass.push("van-hairline--bottom");
|
|
123
|
+
}
|
|
124
|
+
const content = vue.createVNode(vue.resolveComponent("iBizControlShell"), {
|
|
125
|
+
"data": item,
|
|
126
|
+
"class": itemClass,
|
|
127
|
+
"style": itemStyle,
|
|
128
|
+
"modelData": modelData,
|
|
129
|
+
"context": context,
|
|
130
|
+
"params": params,
|
|
131
|
+
"onClick": (event) => c.onRowClick(item, event)
|
|
132
|
+
}, null);
|
|
133
|
+
if (props.mode === "SELECT") {
|
|
134
|
+
const classNames = [ns.b("select-item"), ns.is("active", isSelect(item))];
|
|
135
|
+
if (controlStyle !== "EXTVIEW1") {
|
|
136
|
+
classNames.push("van-hairline--bottom");
|
|
137
|
+
}
|
|
138
|
+
return vue.createVNode("div", {
|
|
139
|
+
"class": classNames
|
|
140
|
+
}, [vue.createVNode(vue.resolveComponent("van-checkbox"), {
|
|
141
|
+
"class": ns.be("select-item", "left"),
|
|
142
|
+
"checked": isSelect(item),
|
|
143
|
+
"onClick": (event) => c.onRowClick(item, event)
|
|
144
|
+
}, null), content]);
|
|
145
|
+
}
|
|
146
|
+
return content;
|
|
147
|
+
};
|
|
148
|
+
const renderItem = (row) => {
|
|
149
|
+
return props.modelData.name !== "simplelist" && itemLayoutPanel ? renderPanelItem(row, itemLayoutPanel) : renderItemContent(row);
|
|
150
|
+
};
|
|
151
|
+
const renderNoData = () => {
|
|
152
|
+
const {
|
|
153
|
+
isLoaded
|
|
154
|
+
} = c.state;
|
|
155
|
+
if (!isLoaded) {
|
|
156
|
+
return;
|
|
157
|
+
}
|
|
158
|
+
const ctrlModel = controls.find((item) => {
|
|
159
|
+
return item.name === `${name}_quicktoolbar`;
|
|
160
|
+
});
|
|
161
|
+
if (ctrlModel) {
|
|
162
|
+
return vue.createVNode(vue.resolveComponent("iBizToolbarControl"), {
|
|
163
|
+
"modelData": ctrlModel,
|
|
164
|
+
"context": c.context,
|
|
165
|
+
"params": c.params,
|
|
166
|
+
"class": ns.b("quicktoolbar")
|
|
167
|
+
}, null);
|
|
168
|
+
}
|
|
169
|
+
return isLoaded && vue.createVNode(vue.resolveComponent("iBizNoData"), {
|
|
170
|
+
"text": emptyText,
|
|
171
|
+
"emptyTextLanguageRes": emptyTextLanguageRes
|
|
172
|
+
}, null);
|
|
173
|
+
};
|
|
174
|
+
const renderLoadMore = () => {
|
|
175
|
+
let icon = null;
|
|
176
|
+
if (pagingMode === 3 && enableLoadMore.value) {
|
|
177
|
+
icon = vue.createVNode(vue.resolveComponent("iBizAddMore"), {
|
|
178
|
+
"onClick": () => c.loadMore()
|
|
179
|
+
}, null);
|
|
180
|
+
}
|
|
181
|
+
return icon;
|
|
182
|
+
};
|
|
183
|
+
const renderAddItem = (group) => {
|
|
184
|
+
if (!c.enableNew) {
|
|
185
|
+
return null;
|
|
186
|
+
}
|
|
187
|
+
return vue.createVNode(vue.resolveComponent("iBizAddBtn"), {
|
|
188
|
+
"onAddClick": (event) => {
|
|
189
|
+
c.onClickNew(event, group == null ? void 0 : group.key);
|
|
190
|
+
}
|
|
191
|
+
}, null);
|
|
192
|
+
};
|
|
193
|
+
const renderScrollList = (slots) => {
|
|
194
|
+
if (!c.state.isLoaded) {
|
|
195
|
+
return null;
|
|
196
|
+
}
|
|
197
|
+
return vue.createVNode(vue.resolveComponent("van-list"), {
|
|
198
|
+
"class": [ns.e("content"), ns.is("show-under-line", controlStyle !== "EXTVIEW1")],
|
|
199
|
+
"loading": c.state.isLoading,
|
|
200
|
+
"error": isLoadError.value,
|
|
201
|
+
"onUpdate:error": ($event) => isLoadError.value = $event,
|
|
202
|
+
"offset": 50,
|
|
203
|
+
"finished": isLodeFinished.value,
|
|
204
|
+
"loading-text": ibiz.i18n.t("control.common.loadMore"),
|
|
205
|
+
"finished-text": ibiz.i18n.t("control.common.loadFinish"),
|
|
206
|
+
"error-text": ibiz.i18n.t("control.common.loadError"),
|
|
207
|
+
"onLoad": () => c.loadMore()
|
|
208
|
+
}, {
|
|
209
|
+
default: () => [slots, renderLoadMore()]
|
|
210
|
+
});
|
|
211
|
+
};
|
|
212
|
+
const renderGroup = (slots) => {
|
|
213
|
+
const showGroupAnchor = c.state.groups.length > 1 && c.showGroupAnchor;
|
|
214
|
+
const content = vue.createVNode("div", {
|
|
215
|
+
"class": ns.b("group")
|
|
216
|
+
}, [vue.createVNode("div", {
|
|
217
|
+
"class": ns.be("group", "container")
|
|
218
|
+
}, [c.state.groups.map((group) => {
|
|
219
|
+
let header = vue.createVNode("div", {
|
|
220
|
+
"class": ns.be("group", "caption")
|
|
221
|
+
}, [vue.createTextVNode(" "), group.caption]);
|
|
222
|
+
if (showGroupAnchor) {
|
|
223
|
+
const _header = /* @__PURE__ */ function() {
|
|
224
|
+
return header;
|
|
225
|
+
}();
|
|
226
|
+
header = vue.createVNode(vue.resolveComponent("van-index-anchor"), {
|
|
227
|
+
"index": group.caption
|
|
228
|
+
}, _isSlot(header) ? header : {
|
|
229
|
+
default: () => [_header]
|
|
230
|
+
});
|
|
231
|
+
}
|
|
232
|
+
return vue.createVNode("div", {
|
|
233
|
+
"title": group.caption
|
|
234
|
+
}, [header, vue.createVNode("div", {
|
|
235
|
+
"class": ns.be("group", "item"),
|
|
236
|
+
"title": group.caption
|
|
237
|
+
}, [slots.children && slots.children(group.children), renderAddItem(group)])]);
|
|
238
|
+
})])]);
|
|
239
|
+
if (showGroupAnchor) {
|
|
240
|
+
const indexList = c.state.groups.map((x) => x.caption);
|
|
241
|
+
return vue.createVNode(vue.resolveComponent("van-index-bar"), {
|
|
242
|
+
"sticky": false,
|
|
243
|
+
"class": ns.e("anchor"),
|
|
244
|
+
"index-list": indexList
|
|
245
|
+
}, _isSlot(content) ? content : {
|
|
246
|
+
default: () => [content]
|
|
247
|
+
});
|
|
248
|
+
}
|
|
249
|
+
return content;
|
|
250
|
+
};
|
|
251
|
+
return {
|
|
252
|
+
enableLoadMore,
|
|
253
|
+
renderNoData,
|
|
254
|
+
renderItem,
|
|
255
|
+
renderLoadMore,
|
|
256
|
+
renderAddItem,
|
|
257
|
+
renderScrollList,
|
|
258
|
+
renderGroup
|
|
259
|
+
};
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
exports.useListRender = useListRender;
|
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var Vant = require('vant');
|
|
4
|
+
var vue3Util = require('@ibiz-template/vue3-util');
|
|
4
5
|
|
|
5
6
|
"use strict";
|
|
6
7
|
class ModalUtil {
|
|
8
|
+
/**
|
|
9
|
+
* 获取根节点样式变量
|
|
10
|
+
*
|
|
11
|
+
* @protected
|
|
12
|
+
* @param {string} name
|
|
13
|
+
* @return {*} {(string | undefined)}
|
|
14
|
+
* @memberof ModalUtil
|
|
15
|
+
*/
|
|
16
|
+
getRootCssVar(name) {
|
|
17
|
+
const root = document.documentElement;
|
|
18
|
+
const styles = window.getComputedStyle(root);
|
|
19
|
+
if (styles) {
|
|
20
|
+
return styles.getPropertyValue(name);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
7
23
|
async info(params) {
|
|
8
24
|
const { confirmButtonText, cancelButtonText } = params;
|
|
9
25
|
await Vant.showDialog({
|
|
@@ -15,29 +31,36 @@ class ModalUtil {
|
|
|
15
31
|
}
|
|
16
32
|
async success(params) {
|
|
17
33
|
const { confirmButtonText, cancelButtonText } = params;
|
|
34
|
+
const ns = vue3Util.useNamespace();
|
|
35
|
+
const color = this.getRootCssVar(ns.cssVarName("color-success"));
|
|
18
36
|
await Vant.showDialog({
|
|
19
37
|
title: params.title,
|
|
20
38
|
message: params.desc,
|
|
21
|
-
confirmButtonColor:
|
|
39
|
+
confirmButtonColor: color,
|
|
22
40
|
confirmButtonText,
|
|
23
41
|
cancelButtonText
|
|
24
42
|
});
|
|
25
43
|
}
|
|
26
44
|
async warning(params) {
|
|
27
45
|
const { confirmButtonText, cancelButtonText } = params;
|
|
46
|
+
const ns = vue3Util.useNamespace();
|
|
47
|
+
const color = this.getRootCssVar(ns.cssVarName("color-warning"));
|
|
28
48
|
await Vant.showDialog({
|
|
29
49
|
title: params.title,
|
|
30
50
|
message: params.desc,
|
|
31
|
-
confirmButtonColor:
|
|
51
|
+
confirmButtonColor: color,
|
|
32
52
|
confirmButtonText,
|
|
33
53
|
cancelButtonText
|
|
34
54
|
});
|
|
35
55
|
}
|
|
36
56
|
async error(params) {
|
|
37
57
|
const { confirmButtonText, cancelButtonText } = params;
|
|
58
|
+
const ns = vue3Util.useNamespace();
|
|
59
|
+
const color = this.getRootCssVar(ns.cssVarName("color-danger"));
|
|
38
60
|
await Vant.showDialog({
|
|
39
61
|
title: params.title,
|
|
40
62
|
message: params.desc,
|
|
63
|
+
confirmButtonColor: color,
|
|
41
64
|
theme: "round-button",
|
|
42
65
|
confirmButtonText,
|
|
43
66
|
cancelButtonText
|
|
@@ -58,6 +81,25 @@ class ModalUtil {
|
|
|
58
81
|
});
|
|
59
82
|
});
|
|
60
83
|
}
|
|
84
|
+
async extendConfirm(params) {
|
|
85
|
+
return new Promise((resolve) => {
|
|
86
|
+
Vant.showConfirmDialog({
|
|
87
|
+
message: params.desc,
|
|
88
|
+
beforeClose: (action) => {
|
|
89
|
+
if (!action) {
|
|
90
|
+
resolve("cancel");
|
|
91
|
+
}
|
|
92
|
+
return true;
|
|
93
|
+
},
|
|
94
|
+
...params,
|
|
95
|
+
...params.options
|
|
96
|
+
}).then(() => {
|
|
97
|
+
resolve("yes");
|
|
98
|
+
}).catch(() => {
|
|
99
|
+
resolve("no");
|
|
100
|
+
});
|
|
101
|
+
});
|
|
102
|
+
}
|
|
61
103
|
}
|
|
62
104
|
|
|
63
105
|
exports.ModalUtil = ModalUtil;
|
|
@@ -56,10 +56,6 @@ const useViewStack = pinia.defineStore("viewStack", () => {
|
|
|
56
56
|
const popKey = viewStack.cacheKeys.pop();
|
|
57
57
|
viewInfoMap.delete(popKey);
|
|
58
58
|
viewStack.currentKey = viewStack.cacheKeys[viewStack.cacheKeys.length - 1];
|
|
59
|
-
console.log("pop", window.history);
|
|
60
|
-
};
|
|
61
|
-
const goBack = () => {
|
|
62
|
-
router.back();
|
|
63
59
|
};
|
|
64
60
|
const init = (_router) => {
|
|
65
61
|
router = _router;
|
|
@@ -85,6 +81,9 @@ const useViewStack = pinia.defineStore("viewStack", () => {
|
|
|
85
81
|
viewStack.currentKey = key;
|
|
86
82
|
});
|
|
87
83
|
};
|
|
84
|
+
const goBack = () => {
|
|
85
|
+
router.back();
|
|
86
|
+
};
|
|
88
87
|
return { viewStack, init, on, off, goBack };
|
|
89
88
|
});
|
|
90
89
|
|
|
@@ -117,6 +117,10 @@ const IBizViewEngine = {
|
|
|
117
117
|
`VIEW_DEMOBPORTALVIEW9`,
|
|
118
118
|
(c) => new portalView_engine.PortalViewEngine(c)
|
|
119
119
|
);
|
|
120
|
+
ibiz.engine.register(
|
|
121
|
+
`VIEW_MobPortalView`,
|
|
122
|
+
(c) => new portalView_engine.PortalViewEngine(c)
|
|
123
|
+
);
|
|
120
124
|
ibiz.engine.register(
|
|
121
125
|
`VIEW_DEMOBCUSTOMVIEW`,
|
|
122
126
|
(c) => new mobCustomView_engine.MobCustomViewEngine(c)
|
|
@@ -249,6 +249,18 @@ class MobEditViewEngine extends runtime.ViewEngineBase {
|
|
|
249
249
|
);
|
|
250
250
|
ibiz.mc.command.send({ srfdecodename: "SysTodo" }, "OBJECTUPDATED");
|
|
251
251
|
}
|
|
252
|
+
/**
|
|
253
|
+
* @description 取消变更
|
|
254
|
+
* @param {({
|
|
255
|
+
* targetState: 'INIT' | 'UNDO' | 'REDO';
|
|
256
|
+
* })} [_args={ targetState: 'INIT' }] 目标状态,初始化状态|撤销上一步操作|重做下一步操作
|
|
257
|
+
* @returns {*} {Promise<void>}
|
|
258
|
+
* @memberof MobEditViewEngine
|
|
259
|
+
*/
|
|
260
|
+
async cancelChanges(_args = { targetState: "INIT" }) {
|
|
261
|
+
await super.cancelChanges(_args);
|
|
262
|
+
await this.form.cancelChanges(_args.targetState);
|
|
263
|
+
}
|
|
252
264
|
}
|
|
253
265
|
|
|
254
266
|
exports.MobEditViewEngine = MobEditViewEngine;
|
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var runtime = require('@ibiz-template/runtime');
|
|
3
4
|
var mobEditView_engine = require('./mob-edit-view.engine.cjs');
|
|
4
5
|
|
|
5
6
|
"use strict";
|
|
7
|
+
var __defProp = Object.defineProperty;
|
|
8
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
9
|
+
var __publicField = (obj, key, value) => {
|
|
10
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
11
|
+
return value;
|
|
12
|
+
};
|
|
6
13
|
class MobEditView3Engine extends mobEditView_engine.MobEditViewEngine {
|
|
14
|
+
constructor() {
|
|
15
|
+
super(...arguments);
|
|
16
|
+
/**
|
|
17
|
+
* @description 嵌入视图映射Map
|
|
18
|
+
* @type {Map<string, IViewController>}
|
|
19
|
+
* @memberof MobEditView3Engine
|
|
20
|
+
*/
|
|
21
|
+
__publicField(this, "embedViewMap", /* @__PURE__ */ new Map());
|
|
22
|
+
}
|
|
7
23
|
async onCreated() {
|
|
8
24
|
await super.onCreated();
|
|
9
25
|
const { childNames } = this.view;
|
|
@@ -18,6 +34,41 @@ class MobEditView3Engine extends mobEditView_engine.MobEditViewEngine {
|
|
|
18
34
|
get drtab() {
|
|
19
35
|
return this.view.getController("drtab");
|
|
20
36
|
}
|
|
37
|
+
/**
|
|
38
|
+
* @description 视图mounted生命周期执行逻辑
|
|
39
|
+
* @returns {*} {Promise<void>}
|
|
40
|
+
* @memberof MobEditView3Engine
|
|
41
|
+
*/
|
|
42
|
+
async onMounted() {
|
|
43
|
+
var _a;
|
|
44
|
+
await super.onMounted();
|
|
45
|
+
(_a = this.view.layoutPanel) == null ? void 0 : _a.evt.on("onPresetPanelItemEvent", (event) => {
|
|
46
|
+
var _a2, _b, _c;
|
|
47
|
+
if (!((_a2 = event == null ? void 0 : event.presetParams) == null ? void 0 : _a2.view) || !((_c = (_b = this.drtab) == null ? void 0 : _b.state) == null ? void 0 : _c.activeName)) {
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
this.embedViewMap.set(
|
|
51
|
+
this.drtab.state.activeName,
|
|
52
|
+
event.presetParams.view
|
|
53
|
+
);
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* @description 刷新视图
|
|
58
|
+
* @returns {*} {Promise<void>}
|
|
59
|
+
* @memberof MobEditView3Engine
|
|
60
|
+
*/
|
|
61
|
+
async refresh() {
|
|
62
|
+
var _a, _b;
|
|
63
|
+
await super.refresh();
|
|
64
|
+
if (!((_b = (_a = this.drtab) == null ? void 0 : _a.state) == null ? void 0 : _b.activeName)) {
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
const activeView = this.embedViewMap.get(this.drtab.state.activeName);
|
|
68
|
+
if (activeView) {
|
|
69
|
+
activeView.call(runtime.SysUIActionTag.REFRESH);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
21
72
|
}
|
|
22
73
|
|
|
23
74
|
exports.MobEditView3Engine = MobEditView3Engine;
|