@ibiz-template/mob-vue3-components 0.7.41-alpha.19-lts.1 → 0.7.41-alpha.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ibiz-markdown-editor-DMe7ZdYW.js +2 -0
- package/dist/{ibiz-markdown-editor-CpFrKPxk.js.map → ibiz-markdown-editor-DMe7ZdYW.js.map} +1 -1
- package/dist/index-BkzKmBm3.js +2 -0
- package/dist/index-BkzKmBm3.js.map +1 -0
- package/dist/index-CADWRoaa.js +76 -0
- package/dist/index-CADWRoaa.js.map +1 -0
- package/dist/index-ugd4IDkI.js +2 -0
- package/dist/index-ugd4IDkI.js.map +1 -0
- package/dist/index.min.css +14 -14
- package/dist/index.system.min.js +1 -1
- package/dist/{quill-D6plcM_s.js → quill-D-355-KZ.js} +2 -2
- package/dist/{quill-D6plcM_s.js.map → quill-D-355-KZ.js.map} +1 -1
- package/dist/quill-editor-DyVF1l3P.js +2 -0
- package/dist/{quill-editor-CFx5M8uu.js.map → quill-editor-DyVF1l3P.js.map} +1 -1
- package/dist/quill-editor-preview-3eAbHBYz.js +2 -0
- package/dist/{quill-editor-preview-CfbC0J-Z.js.map → quill-editor-preview-3eAbHBYz.js.map} +1 -1
- package/dist/tree-sdPuTW-7.js +2 -0
- package/dist/tree-sdPuTW-7.js.map +1 -0
- package/es/_virtual/index15.mjs +3 -1
- package/es/_virtual/index16.mjs +1 -1
- package/es/_virtual/index17.mjs +1 -3
- package/es/_virtual/index18.mjs +2 -2
- package/es/_virtual/index19.mjs +2 -2
- package/es/_virtual/isBetween.mjs +3 -0
- package/es/common/action-group/action-group.css +1 -1
- package/es/common/action-group/action-group.mjs +4 -4
- package/es/common/action-toolbar/action-toolbar.css +1 -1
- package/es/common/action-toolbar/action-toolbar.mjs +1 -1
- package/es/common/add-btn/add-btn-event.mjs +10 -0
- package/es/common/add-btn/add-btn.css +1 -0
- package/es/common/add-btn/add-btn.mjs +39 -0
- package/es/common/add-more/add-more.css +1 -0
- package/es/common/add-more/add-more.mjs +29 -0
- package/es/common/button-list/button-list.css +1 -1
- package/es/common/button-list/button-list.mjs +2 -2
- package/es/common/carousel/carousel.css +1 -1
- package/es/common/carousel/carousel.mjs +2 -2
- package/es/common/cropping/cropping.css +1 -1
- package/es/common/date-range-picker/components/range-picker/range-picker.css +1 -1
- package/es/common/date-range-picker/components/single-picker/single-picker.css +1 -1
- package/es/common/date-range-picker/date-range-picker.css +1 -1
- package/es/common/date-range-picker/date-range-picker.mjs +2 -2
- package/es/common/emoji-select/components/categories/categories.css +1 -1
- package/es/common/emoji-select/components/category-label/category-label.css +1 -1
- package/es/common/emoji-select/components/emoji-item/emoji-item.css +1 -1
- package/es/common/emoji-select/components/emoji-list/emoji-list.css +1 -1
- package/es/common/emoji-select/emoji-select.css +1 -1
- package/es/common/float-button/float-button.css +1 -0
- package/es/common/float-button/float-button.mjs +63 -0
- package/es/common/fullscreen-header/fullscreen-header.css +1 -1
- package/es/common/index.mjs +21 -3
- package/es/common/info-item/info-item.css +1 -0
- package/es/common/info-item/info-item.mjs +92 -0
- package/es/common/md-advaned-searchform/md-advaned-searchform.css +1 -0
- package/es/common/md-advaned-searchform/md-advaned-searchform.mjs +98 -0
- package/es/common/md-sort-setting/md-sort-setting.css +1 -0
- package/es/common/md-sort-setting/md-sort-setting.mjs +168 -0
- package/es/common/preset-view-back/preset-view-back.css +1 -1
- package/es/common/preset-view-back/preset-view-back.mjs +5 -4
- package/es/common/rawitem/rawitem.css +1 -1
- package/es/common/rawitem/rawitem.mjs +57 -11
- package/es/common/split/split.css +1 -0
- package/es/common/split/split.mjs +187 -0
- package/es/common/split-trigger/split-trigger.css +1 -0
- package/es/common/split-trigger/split-trigger.mjs +36 -0
- package/es/common/tab-layout/tab-default-layout/tab-default-layout.css +1 -0
- package/es/common/tab-layout/tab-default-layout/tab-default-layout.mjs +77 -0
- package/es/common/tab-layout/tab-dropdown/tab-dropdown-list-content.css +1 -0
- package/es/common/tab-layout/tab-dropdown/tab-dropdown-list-content.mjs +64 -0
- package/es/common/tab-layout/tab-dropdown/tab-dropdown.css +1 -0
- package/es/common/tab-layout/tab-dropdown/tab-dropdown.mjs +80 -0
- package/es/common/tab-layout/tab-flow-layout/tab-flow-layout.css +1 -0
- package/es/common/tab-layout/tab-flow-layout/tab-flow-layout.mjs +56 -0
- package/es/common/tab-layout/tab-layout-util.mjs +34 -0
- package/es/common/tab-layout/tab-layout.css +1 -0
- package/es/common/tab-layout/tab-layout.mjs +60 -0
- package/es/common/tab-layout/tab-sidebar-layout/tab-sidebar-layout.css +1 -0
- package/es/common/tab-layout/tab-sidebar-layout/tab-sidebar-layout.mjs +59 -0
- package/es/common/view-message/view-message.css +1 -0
- package/es/common/view-message/view-message.mjs +131 -0
- package/es/control/app-menu/app-menu.css +1 -1
- package/es/control/app-menu/app-menu.mjs +36 -42
- package/es/control/app-menu/custom-menu-design/custom-menu-design.css +1 -1
- package/es/control/app-menu/custom-menu-design/custom-menu-design.mjs +85 -71
- package/es/control/app-menu/menu-render-util.mjs +30 -0
- package/es/control/app-menu-icon-view/app-menu-icon-view.css +1 -1
- package/es/control/app-menu-icon-view/app-menu-icon-view.mjs +101 -41
- package/es/control/app-menu-list-view/app-menu-list-view.css +1 -1
- package/es/control/app-menu-list-view/app-menu-list-view.mjs +71 -42
- package/es/control/calendar/calendar.css +1 -1
- package/es/control/calendar/calendar.mjs +127 -54
- package/es/control/caption-bar/caption-bar.css +1 -1
- package/es/control/dashboard/custom-dashboard-design/custom-dashboard-design.css +1 -0
- package/es/control/dashboard/custom-dashboard-design/custom-dashboard-design.mjs +80 -0
- package/es/control/dashboard/dashboard.css +1 -1
- package/es/control/dashboard/dashboard.mjs +79 -26
- package/es/control/dashboard/index.mjs +13 -2
- package/es/control/dashboard/portlet/actionbar-portlet/actionbar-portlet.mjs +47 -0
- package/es/control/dashboard/portlet/actionbar-portlet/actionbar-portlet.provider.mjs +21 -0
- package/es/control/dashboard/portlet/actionbar-portlet/index.mjs +15 -0
- package/es/control/dashboard/portlet/chart-portlet/chart-portlet.mjs +64 -0
- package/es/control/dashboard/portlet/chart-portlet/chart-portlet.provider.mjs +21 -0
- package/es/control/dashboard/portlet/chart-portlet/index.mjs +12 -0
- package/es/control/dashboard/portlet/html-portlet/html-portlet.css +1 -0
- package/es/control/dashboard/portlet/html-portlet/html-portlet.mjs +39 -0
- package/es/control/dashboard/portlet/html-portlet/html-portlet.provider.mjs +21 -0
- package/es/control/dashboard/portlet/html-portlet/index.mjs +12 -0
- package/es/control/dashboard/portlet/index.mjs +8 -2
- package/es/control/dashboard/portlet/menu-portlet/menu-portlet.mjs +2 -3
- package/es/control/dashboard/portlet/portlet-layout/portlet-layout.css +1 -1
- package/es/control/dashboard/portlet/portlet-layout/portlet-layout.mjs +19 -3
- package/es/control/dashboard/portlet/rawitem-portlet/index.mjs +15 -0
- package/es/control/dashboard/portlet/rawitem-portlet/rawitem-portlet.mjs +44 -0
- package/es/control/dashboard/portlet/rawitem-portlet/rawitem-portlet.provider.mjs +21 -0
- package/es/control/data-view/data-view.css +1 -1
- package/es/control/data-view/data-view.mjs +53 -85
- package/es/control/drbar/drbar.controller.mjs +4 -2
- package/es/control/drtab/drtab.controller.mjs +41 -5
- package/es/control/drtab/drtab.css +1 -1
- package/es/control/drtab/drtab.mjs +30 -104
- package/es/control/form/edit-form/edit-form.css +1 -1
- package/es/control/form/edit-form/edit-form.mjs +26 -4
- package/es/control/form/form/form.css +1 -1
- package/es/control/form/form/form.mjs +7 -1
- package/es/control/form/form-detail/form-button/form-button.css +1 -1
- package/es/control/form/form-detail/form-button/form-button.mjs +1 -1
- package/es/control/form/form-detail/form-button-list/form-button-list.css +1 -1
- package/es/control/form/form-detail/form-druipart/form-druipart.css +1 -1
- package/es/control/form/form-detail/form-group-panel/form-group-panel.css +1 -1
- package/es/control/form/form-detail/form-group-panel/form-group-panel.mjs +20 -4
- package/es/control/form/form-detail/form-item/form-item-container/form-item-container.css +1 -1
- package/es/control/form/form-detail/form-item/form-item-container/form-item-container.mjs +19 -15
- package/es/control/form/form-detail/form-item/form-item.css +1 -1
- package/es/control/form/form-detail/form-item/form-item.mjs +2 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.css +0 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.mjs +2 -19
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-md/form-mdctrl-md.css +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/form-mdctrl-repeater.mjs +7 -0
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.css +1 -0
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.mjs +239 -0
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-single-form/repeater-single-form.css +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl.css +1 -1
- package/es/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.css +1 -1
- package/es/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.mjs +22 -46
- package/es/control/form/form-detail/form-page/form-page-item/form-page-item.css +1 -1
- package/es/control/form/form-detail/form-page/form-page.css +1 -1
- package/es/control/form/form-detail/form-rawitem/form-rawitem.css +1 -1
- package/es/control/form/form-detail/form-rawitem/form-rawitem.mjs +2 -1
- package/es/control/form/form-detail/form-tab-panel/form-tab-panel.css +1 -1
- package/es/control/form/search-form/search-form.css +1 -1
- package/es/control/form/search-form/search-form.mjs +34 -15
- package/es/control/index.mjs +8 -1
- package/es/control/list/list/list.css +0 -1
- package/es/control/list/list/list.mjs +22 -122
- package/es/control/list/md-ctrl/md-ctrl.css +1 -1
- package/es/control/list/md-ctrl/md-ctrl.mjs +50 -97
- package/es/control/search-bar/filter-tree/filter-tree.mjs +5 -10
- package/es/control/search-bar/search-bar.css +1 -1
- package/es/control/search-bar/search-bar.mjs +309 -10
- package/es/control/tab-exp-panel/tab-exp-panel.css +1 -1
- package/es/control/tab-exp-panel/tab-exp-panel.mjs +37 -37
- package/es/control/toolbar/float-toolbar/float-toolbar.css +1 -0
- package/es/control/toolbar/float-toolbar/float-toolbar.mjs +89 -0
- package/es/control/toolbar/toolbar-group-list/toolbar-group-list.css +1 -0
- package/es/control/toolbar/toolbar-group-list/toolbar-group-list.mjs +77 -0
- package/es/control/toolbar/toolbar-render-util.mjs +233 -0
- package/es/control/toolbar/toolbar.css +1 -1
- package/es/control/toolbar/toolbar.mjs +151 -159
- package/es/control/tree/tree.css +1 -1
- package/es/control/tree/tree.mjs +182 -54
- package/es/control/tree-exp-bar/render-util.mjs +4 -3
- package/es/control/tree-exp-bar/tree-exp-bar.css +1 -1
- package/es/control/wizard-panel/wizard-panel.css +1 -1
- package/es/control/wizard-panel/wizard-panel.mjs +35 -18
- package/es/editor/array/array-editor.controller.mjs +7 -0
- package/es/editor/array/array-editor.provider.mjs +22 -0
- package/es/editor/array/ibiz-array/ibiz-array.css +1 -0
- package/es/editor/array/ibiz-array/ibiz-array.mjs +163 -0
- package/es/editor/array/index.mjs +5 -0
- package/es/editor/cascader/ibiz-cascader/ibiz-cascader.css +1 -1
- package/es/editor/cascader/ibiz-cascader/ibiz-cascader.mjs +19 -10
- package/es/editor/check-box/ibiz-checkbox/ibiz-checkbox.css +1 -1
- package/es/editor/check-box/ibiz-checkbox/ibiz-checkbox.mjs +2 -2
- package/es/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.css +1 -1
- package/es/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.mjs +2 -2
- package/es/editor/color-picker/ibiz-color-picker/ibiz-color-picker.css +1 -1
- package/es/editor/common/data-mpicker/ibiz-data-mpicker.css +1 -1
- package/es/editor/common/right-icon/right-icon.css +1 -1
- package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.css +1 -1
- package/es/editor/data-picker/ibiz-mpicker/ibiz-mpicker.mjs +27 -29
- package/es/editor/data-picker/ibiz-picker/ibiz-picker.css +1 -1
- package/es/editor/data-picker/ibiz-picker/ibiz-picker.mjs +3 -3
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.css +1 -1
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.mjs +1 -1
- package/es/editor/date-picker/ibiz-date-picker/ibiz-date-picker.css +1 -1
- package/es/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.css +1 -1
- package/es/editor/dropdown-list/ibiz-cascader-dropdown/ibiz-cascader-dropdown.css +1 -1
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.css +1 -1
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.mjs +21 -10
- package/es/editor/dropdown-list/ibiz-dropdown-list/ibiz-dropdown-list.css +1 -1
- package/es/editor/dropdown-list/ibiz-dropdown-list/ibiz-dropdown-list.mjs +20 -4
- package/es/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.css +1 -1
- package/es/editor/html/quill-editor/quill-editor.css +1 -1
- package/es/editor/html/quill-editor-preview/quill-editor-preview.css +1 -1
- package/es/editor/html/quill-editor-preview/quill-editor-preview.mjs +3 -1
- package/es/editor/index.mjs +23 -4
- package/es/editor/map-picker/ibiz-map-picker/ibiz-map-picker.css +1 -1
- package/es/editor/map-picker/ibiz-map-picker/ibiz-map-picker.mjs +7 -1
- package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.css +1 -1
- package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.mjs +2 -1
- package/es/editor/not-supported-editor/not-supported-editor.css +1 -1
- package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.css +1 -1
- package/es/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.mjs +2 -2
- package/es/editor/qrcode/ibiz-qrcode/ibiz-qrcode.css +1 -1
- package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.css +1 -1
- package/es/editor/radio-button-list/ibiz-radio/ibiz-radio.mjs +2 -2
- package/es/editor/rate/ibiz-rate/ibiz-rate.css +1 -1
- package/es/editor/rate/ibiz-rate/ibiz-rate.mjs +2 -2
- package/es/editor/raw/ibiz-raw/ibiz-raw.css +1 -1
- package/es/editor/slider/ibiz-slider/ibiz-slider.css +1 -1
- package/es/editor/slider/ibiz-slider/ibiz-slider.mjs +3 -3
- package/es/editor/span/span/span.css +1 -1
- package/es/editor/span/span/span.mjs +5 -4
- package/es/editor/span/span-link/span-link.css +1 -1
- package/es/editor/stepper/ibiz-stepper/ibiz-stepper.css +1 -1
- package/es/editor/stepper/ibiz-stepper/ibiz-stepper.mjs +2 -2
- package/es/editor/switch/ibiz-switch/ibiz-switch.css +1 -1
- package/es/editor/switch/ibiz-switch/ibiz-switch.mjs +2 -2
- package/es/editor/text-box/ibiz-input-number/ibiz-input-number.css +1 -1
- package/es/editor/text-box/ibiz-input-number/ibiz-input-number.mjs +2 -2
- package/es/editor/text-box/input/input.css +1 -1
- package/es/editor/text-box/input/input.mjs +2 -2
- package/es/editor/text-box/signature/signature.css +1 -1
- package/es/editor/text-box/signature/signature.mjs +1 -1
- package/es/editor/upload/ibiz-carousel/ibiz-carousel.css +1 -1
- package/es/editor/upload/ibiz-carousel/ibiz-carousel.mjs +3 -0
- package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.css +1 -1
- package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.mjs +2 -2
- package/es/editor/upload/ibiz-image-cropping/ibiz-image-cropping.css +1 -1
- package/es/editor/upload/ibiz-image-cropping/ibiz-image-cropping.mjs +19 -6
- package/es/editor/upload/ibiz-image-select/ibiz-image-select.css +1 -1
- package/es/editor/upload/ibiz-image-select/ibiz-image-select.mjs +2 -2
- package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.css +1 -1
- package/es/editor/upload/ibiz-image-upload/ibiz-image-upload.mjs +2 -2
- package/es/editor/upload/upload-editor.provider.mjs +1 -0
- package/es/index.mjs +13 -1
- package/es/locale/en/index.mjs +29 -5
- package/es/locale/zh-CN/index.mjs +30 -7
- package/es/mob-app/guard/auth-guard/auth-guard.mjs +11 -5
- package/es/mob-app/main.mjs +10 -1
- package/es/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/plugin/isBetween.mjs +13 -0
- package/es/node_modules/.pnpm/eventemitter3@5.0.1/node_modules/eventemitter3/index2.mjs +1 -1
- package/es/node_modules/.pnpm/lodash.clonedeep@4.5.0/node_modules/lodash.clonedeep/index.mjs +1 -1
- package/es/node_modules/.pnpm/lodash.isequal@4.5.0/node_modules/lodash.isequal/index.mjs +1 -1
- package/es/node_modules/.pnpm/quill-delta@5.1.0/node_modules/quill-delta/dist/AttributeMap.mjs +1 -1
- package/es/node_modules/.pnpm/quill-delta@5.1.0/node_modules/quill-delta/dist/Delta.mjs +1 -1
- package/es/panel-component/async-action/async-action/async-action.css +1 -1
- package/es/panel-component/async-action/async-action-preview/async-action-preview.css +1 -1
- package/es/panel-component/async-action/async-action-tab/async-action-tab.css +1 -1
- package/es/panel-component/async-action/mob-async-action.css +1 -1
- package/es/panel-component/auth-sso/auth-sso.css +1 -1
- package/es/panel-component/auth-userinfo/auth-userinfo.css +1 -1
- package/es/panel-component/index.mjs +14 -1
- package/es/panel-component/panel-app-title/panel-app-title.css +1 -1
- package/es/panel-component/panel-button/panel-button.css +1 -1
- package/es/panel-component/panel-button/panel-button.mjs +2 -3
- package/es/panel-component/panel-tab-panel/panel-tab-panel.css +1 -1
- package/es/panel-component/setting-container/index.mjs +18 -0
- package/es/panel-component/setting-container/setting-container.controller.mjs +68 -0
- package/es/panel-component/setting-container/setting-container.css +1 -0
- package/es/panel-component/setting-container/setting-container.mjs +137 -0
- package/es/panel-component/setting-container/setting-container.provider.mjs +21 -0
- package/es/panel-component/split-container/index.mjs +23 -0
- package/es/panel-component/split-container/split-container.controller.mjs +110 -0
- package/es/panel-component/split-container/split-container.css +1 -0
- package/es/panel-component/split-container/split-container.mjs +58 -0
- package/es/panel-component/split-container/split-container.provider.mjs +21 -0
- package/es/panel-component/split-container/split-container.state.mjs +28 -0
- package/es/panel-component/theme-toggling/index.mjs +15 -0
- package/es/panel-component/theme-toggling/theme-toggling.controller.mjs +90 -0
- package/es/panel-component/theme-toggling/theme-toggling.css +1 -0
- package/es/panel-component/theme-toggling/theme-toggling.mjs +72 -0
- package/es/panel-component/theme-toggling/theme-toggling.provider.mjs +21 -0
- package/es/panel-component/theme-toggling/theme-toggling.state.mjs +22 -0
- package/es/panel-component/user-message/common/internal-message-container/internal-message-container.css +1 -1
- package/es/panel-component/user-message/common/internal-message-default/internal-message-default.css +1 -1
- package/es/panel-component/user-message/internal-message-text/internal-message-text.css +1 -1
- package/es/panel-component/user-message/user-message.css +1 -1
- package/es/panel-component/user-message/user-message.mjs +7 -3
- package/es/panel-component/view-content-panel-container/view-content-panel-container.css +1 -1
- package/es/panel-component/view-content-panel-container/view-content-panel-container.mjs +12 -1
- package/es/panel-component/view-header-panel-container/view-header-panel-container.css +1 -1
- package/es/panel-component/view-message/index.mjs +15 -0
- package/es/panel-component/view-message/view-message.mjs +52 -0
- package/es/panel-component/view-message/view-message.provider.mjs +21 -0
- package/es/panel-component/view-msg-pos/index.mjs +16 -0
- package/es/panel-component/view-msg-pos/view-msg-pos.controller.mjs +46 -0
- package/es/panel-component/view-msg-pos/view-msg-pos.mjs +56 -0
- package/es/panel-component/view-msg-pos/view-msg-pos.provider.mjs +21 -0
- package/es/panel-component/wf-action-button/wf-action-button.css +1 -1
- package/es/panel-component/wf-step-trace/wf-step-trace.css +1 -1
- package/es/util/app-drawer/app-drawer-component.mjs +3 -3
- package/es/util/button-util/button-util.mjs +21 -2
- package/es/util/index.mjs +1 -0
- package/es/util/list-util/list-render-util.mjs +260 -0
- package/es/util/modal-util/modal-util.mjs +44 -2
- package/es/util/store/view-stack/view-stack.mjs +3 -4
- package/es/view-engine/index.mjs +4 -0
- package/es/view-engine/mob-edit-view.engine.mjs +12 -0
- package/es/view-engine/mob-edit-view3.engine.mjs +51 -0
- package/es/view-engine/mob-mpickup-view-engine.mjs +1 -2
- package/es/view-engine/mob-pickup-tree-view.engine.mjs +4 -2
- package/es/view-engine/mob-tab-exp-view.engine.mjs +134 -1
- package/es/view-engine/mob-tab-search-view.engine.mjs +1 -28
- package/es/view-engine/mob-tree-exp-view.engine.mjs +19 -1
- package/es/view-engine/mob-wizard-view-engine.mjs +19 -1
- package/lib/_virtual/index15.cjs +2 -6
- package/lib/_virtual/index16.cjs +2 -2
- package/lib/_virtual/index17.cjs +6 -2
- package/lib/_virtual/index18.cjs +2 -2
- package/lib/_virtual/index19.cjs +2 -2
- package/lib/_virtual/isBetween.cjs +5 -0
- package/lib/common/action-group/action-group.cjs +4 -4
- package/lib/common/action-group/action-group.css +1 -1
- package/lib/common/action-toolbar/action-toolbar.cjs +1 -1
- package/lib/common/action-toolbar/action-toolbar.css +1 -1
- package/lib/common/add-btn/add-btn-event.cjs +12 -0
- package/lib/common/add-btn/add-btn.cjs +41 -0
- package/lib/common/add-btn/add-btn.css +1 -0
- package/lib/common/add-more/add-more.cjs +31 -0
- package/lib/common/add-more/add-more.css +1 -0
- package/lib/common/button-list/button-list.cjs +2 -2
- package/lib/common/button-list/button-list.css +1 -1
- package/lib/common/carousel/carousel.cjs +1 -1
- package/lib/common/carousel/carousel.css +1 -1
- package/lib/common/cropping/cropping.css +1 -1
- package/lib/common/date-range-picker/components/range-picker/range-picker.css +1 -1
- package/lib/common/date-range-picker/components/single-picker/single-picker.css +1 -1
- package/lib/common/date-range-picker/date-range-picker.cjs +1 -1
- package/lib/common/date-range-picker/date-range-picker.css +1 -1
- package/lib/common/emoji-select/components/categories/categories.css +1 -1
- package/lib/common/emoji-select/components/category-label/category-label.css +1 -1
- package/lib/common/emoji-select/components/emoji-item/emoji-item.css +1 -1
- package/lib/common/emoji-select/components/emoji-list/emoji-list.css +1 -1
- package/lib/common/emoji-select/emoji-select.css +1 -1
- package/lib/common/float-button/float-button.cjs +65 -0
- package/lib/common/float-button/float-button.css +1 -0
- package/lib/common/fullscreen-header/fullscreen-header.css +1 -1
- package/lib/common/index.cjs +24 -2
- package/lib/common/info-item/info-item.cjs +94 -0
- package/lib/common/info-item/info-item.css +1 -0
- package/lib/common/md-advaned-searchform/md-advaned-searchform.cjs +100 -0
- package/lib/common/md-advaned-searchform/md-advaned-searchform.css +1 -0
- package/lib/common/md-sort-setting/md-sort-setting.cjs +170 -0
- package/lib/common/md-sort-setting/md-sort-setting.css +1 -0
- package/lib/common/preset-view-back/preset-view-back.cjs +5 -4
- package/lib/common/preset-view-back/preset-view-back.css +1 -1
- package/lib/common/rawitem/rawitem.cjs +57 -11
- package/lib/common/rawitem/rawitem.css +1 -1
- package/lib/common/split/split.cjs +189 -0
- package/lib/common/split/split.css +1 -0
- package/lib/common/split-trigger/split-trigger.cjs +38 -0
- package/lib/common/split-trigger/split-trigger.css +1 -0
- package/lib/common/tab-layout/tab-default-layout/tab-default-layout.cjs +79 -0
- package/lib/common/tab-layout/tab-default-layout/tab-default-layout.css +1 -0
- package/lib/common/tab-layout/tab-dropdown/tab-dropdown-list-content.cjs +66 -0
- package/lib/common/tab-layout/tab-dropdown/tab-dropdown-list-content.css +1 -0
- package/lib/common/tab-layout/tab-dropdown/tab-dropdown.cjs +82 -0
- package/lib/common/tab-layout/tab-dropdown/tab-dropdown.css +1 -0
- package/lib/common/tab-layout/tab-flow-layout/tab-flow-layout.cjs +58 -0
- package/lib/common/tab-layout/tab-flow-layout/tab-flow-layout.css +1 -0
- package/lib/common/tab-layout/tab-layout-util.cjs +38 -0
- package/lib/common/tab-layout/tab-layout.cjs +62 -0
- package/lib/common/tab-layout/tab-layout.css +1 -0
- package/lib/common/tab-layout/tab-sidebar-layout/tab-sidebar-layout.cjs +61 -0
- package/lib/common/tab-layout/tab-sidebar-layout/tab-sidebar-layout.css +1 -0
- package/lib/common/view-message/view-message.cjs +133 -0
- package/lib/common/view-message/view-message.css +1 -0
- package/lib/control/app-menu/app-menu.cjs +35 -41
- package/lib/control/app-menu/app-menu.css +1 -1
- package/lib/control/app-menu/custom-menu-design/custom-menu-design.cjs +84 -70
- package/lib/control/app-menu/custom-menu-design/custom-menu-design.css +1 -1
- package/lib/control/app-menu/menu-render-util.cjs +33 -0
- package/lib/control/app-menu-icon-view/app-menu-icon-view.cjs +99 -39
- package/lib/control/app-menu-icon-view/app-menu-icon-view.css +1 -1
- package/lib/control/app-menu-list-view/app-menu-list-view.cjs +70 -41
- package/lib/control/app-menu-list-view/app-menu-list-view.css +1 -1
- package/lib/control/calendar/calendar.cjs +126 -53
- package/lib/control/calendar/calendar.css +1 -1
- package/lib/control/caption-bar/caption-bar.css +1 -1
- package/lib/control/dashboard/custom-dashboard-design/custom-dashboard-design.cjs +82 -0
- package/lib/control/dashboard/custom-dashboard-design/custom-dashboard-design.css +1 -0
- package/lib/control/dashboard/dashboard.cjs +77 -24
- package/lib/control/dashboard/dashboard.css +1 -1
- package/lib/control/dashboard/index.cjs +20 -2
- package/lib/control/dashboard/portlet/actionbar-portlet/actionbar-portlet.cjs +49 -0
- package/lib/control/dashboard/portlet/actionbar-portlet/actionbar-portlet.provider.cjs +23 -0
- package/lib/control/dashboard/portlet/actionbar-portlet/index.cjs +21 -0
- package/lib/control/dashboard/portlet/chart-portlet/chart-portlet.cjs +66 -0
- package/lib/control/dashboard/portlet/chart-portlet/chart-portlet.provider.cjs +23 -0
- package/lib/control/dashboard/portlet/chart-portlet/index.cjs +18 -0
- package/lib/control/dashboard/portlet/html-portlet/html-portlet.cjs +41 -0
- package/lib/control/dashboard/portlet/html-portlet/html-portlet.css +1 -0
- package/lib/control/dashboard/portlet/html-portlet/html-portlet.provider.cjs +23 -0
- package/lib/control/dashboard/portlet/html-portlet/index.cjs +18 -0
- package/lib/control/dashboard/portlet/index.cjs +16 -3
- package/lib/control/dashboard/portlet/menu-portlet/menu-portlet.cjs +2 -3
- package/lib/control/dashboard/portlet/portlet-layout/portlet-layout.cjs +18 -2
- package/lib/control/dashboard/portlet/portlet-layout/portlet-layout.css +1 -1
- package/lib/control/dashboard/portlet/rawitem-portlet/index.cjs +21 -0
- package/lib/control/dashboard/portlet/rawitem-portlet/rawitem-portlet.cjs +46 -0
- package/lib/control/dashboard/portlet/rawitem-portlet/rawitem-portlet.provider.cjs +23 -0
- package/lib/control/data-view/data-view.cjs +52 -84
- package/lib/control/data-view/data-view.css +1 -1
- package/lib/control/drbar/drbar.controller.cjs +4 -2
- package/lib/control/drtab/drtab.cjs +29 -103
- package/lib/control/drtab/drtab.controller.cjs +41 -5
- package/lib/control/drtab/drtab.css +1 -1
- package/lib/control/form/edit-form/edit-form.cjs +25 -3
- package/lib/control/form/edit-form/edit-form.css +1 -1
- package/lib/control/form/form/form.cjs +7 -1
- package/lib/control/form/form/form.css +1 -1
- package/lib/control/form/form-detail/form-button/form-button.cjs +1 -1
- package/lib/control/form/form-detail/form-button/form-button.css +1 -1
- package/lib/control/form/form-detail/form-button-list/form-button-list.css +1 -1
- package/lib/control/form/form-detail/form-druipart/form-druipart.css +1 -1
- package/lib/control/form/form-detail/form-group-panel/form-group-panel.cjs +20 -4
- package/lib/control/form/form-detail/form-group-panel/form-group-panel.css +1 -1
- package/lib/control/form/form-detail/form-item/form-item-container/form-item-container.cjs +19 -15
- package/lib/control/form/form-detail/form-item/form-item-container/form-item-container.css +1 -1
- package/lib/control/form/form-detail/form-item/form-item.cjs +2 -1
- package/lib/control/form/form-detail/form-item/form-item.css +1 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.cjs +1 -18
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-form/form-mdctrl-form.css +0 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-md/form-mdctrl-md.css +1 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/form-mdctrl-repeater.cjs +7 -0
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.cjs +241 -0
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.css +1 -0
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-single-form/repeater-single-form.css +1 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl.css +1 -1
- package/lib/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.cjs +21 -45
- package/lib/control/form/form-detail/form-mdctrl/mdctrl-container/mdctrl-container.css +1 -1
- package/lib/control/form/form-detail/form-page/form-page-item/form-page-item.css +1 -1
- package/lib/control/form/form-detail/form-page/form-page.css +1 -1
- package/lib/control/form/form-detail/form-rawitem/form-rawitem.cjs +2 -1
- package/lib/control/form/form-detail/form-rawitem/form-rawitem.css +1 -1
- package/lib/control/form/form-detail/form-tab-panel/form-tab-panel.css +1 -1
- package/lib/control/form/search-form/search-form.cjs +34 -15
- package/lib/control/form/search-form/search-form.css +1 -1
- package/lib/control/index.cjs +26 -12
- package/lib/control/list/list/list.cjs +21 -121
- package/lib/control/list/list/list.css +0 -1
- package/lib/control/list/md-ctrl/md-ctrl.cjs +49 -96
- package/lib/control/list/md-ctrl/md-ctrl.css +1 -1
- package/lib/control/search-bar/filter-tree/filter-tree.cjs +4 -9
- package/lib/control/search-bar/search-bar.cjs +306 -7
- package/lib/control/search-bar/search-bar.css +1 -1
- package/lib/control/tab-exp-panel/tab-exp-panel.cjs +36 -36
- package/lib/control/tab-exp-panel/tab-exp-panel.css +1 -1
- package/lib/control/toolbar/float-toolbar/float-toolbar.cjs +91 -0
- package/lib/control/toolbar/float-toolbar/float-toolbar.css +1 -0
- package/lib/control/toolbar/toolbar-group-list/toolbar-group-list.cjs +79 -0
- package/lib/control/toolbar/toolbar-group-list/toolbar-group-list.css +1 -0
- package/lib/control/toolbar/toolbar-render-util.cjs +238 -0
- package/lib/control/toolbar/toolbar.cjs +149 -157
- package/lib/control/toolbar/toolbar.css +1 -1
- package/lib/control/tree/tree.cjs +179 -51
- package/lib/control/tree/tree.css +1 -1
- package/lib/control/tree-exp-bar/render-util.cjs +4 -3
- package/lib/control/tree-exp-bar/tree-exp-bar.css +1 -1
- package/lib/control/wizard-panel/wizard-panel.cjs +35 -18
- package/lib/control/wizard-panel/wizard-panel.css +1 -1
- package/lib/editor/array/array-editor.controller.cjs +9 -0
- package/lib/editor/array/array-editor.provider.cjs +24 -0
- package/lib/editor/array/ibiz-array/ibiz-array.cjs +165 -0
- package/lib/editor/array/ibiz-array/ibiz-array.css +1 -0
- package/lib/editor/array/index.cjs +11 -0
- package/lib/editor/cascader/ibiz-cascader/ibiz-cascader.cjs +19 -10
- package/lib/editor/cascader/ibiz-cascader/ibiz-cascader.css +1 -1
- package/lib/editor/check-box/ibiz-checkbox/ibiz-checkbox.cjs +1 -1
- package/lib/editor/check-box/ibiz-checkbox/ibiz-checkbox.css +1 -1
- package/lib/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.cjs +1 -1
- package/lib/editor/check-box-list/ibiz-checkbox-list/ibiz-checkbox-list.css +1 -1
- package/lib/editor/color-picker/ibiz-color-picker/ibiz-color-picker.css +1 -1
- package/lib/editor/common/data-mpicker/ibiz-data-mpicker.css +1 -1
- package/lib/editor/common/right-icon/right-icon.css +1 -1
- package/lib/editor/data-picker/ibiz-mpicker/ibiz-mpicker.cjs +26 -28
- package/lib/editor/data-picker/ibiz-mpicker/ibiz-mpicker.css +1 -1
- package/lib/editor/data-picker/ibiz-picker/ibiz-picker.cjs +3 -3
- package/lib/editor/data-picker/ibiz-picker/ibiz-picker.css +1 -1
- package/lib/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.cjs +1 -1
- package/lib/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.css +1 -1
- package/lib/editor/date-picker/ibiz-date-picker/ibiz-date-picker.css +1 -1
- package/lib/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.css +1 -1
- package/lib/editor/dropdown-list/ibiz-cascader-dropdown/ibiz-cascader-dropdown.css +1 -1
- package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.cjs +21 -10
- package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.css +1 -1
- package/lib/editor/dropdown-list/ibiz-dropdown-list/ibiz-dropdown-list.cjs +19 -3
- package/lib/editor/dropdown-list/ibiz-dropdown-list/ibiz-dropdown-list.css +1 -1
- package/lib/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.css +1 -1
- package/lib/editor/html/quill-editor/quill-editor.css +1 -1
- package/lib/editor/html/quill-editor-preview/quill-editor-preview.cjs +3 -1
- package/lib/editor/html/quill-editor-preview/quill-editor-preview.css +1 -1
- package/lib/editor/index.cjs +23 -4
- package/lib/editor/map-picker/ibiz-map-picker/ibiz-map-picker.cjs +7 -1
- package/lib/editor/map-picker/ibiz-map-picker/ibiz-map-picker.css +1 -1
- package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.cjs +2 -1
- package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.css +1 -1
- package/lib/editor/not-supported-editor/not-supported-editor.css +1 -1
- package/lib/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.cjs +2 -2
- package/lib/editor/number-range/ibiz-number-range-picker/ibiz-number-range-picker.css +1 -1
- package/lib/editor/qrcode/ibiz-qrcode/ibiz-qrcode.css +1 -1
- package/lib/editor/radio-button-list/ibiz-radio/ibiz-radio.cjs +1 -1
- package/lib/editor/radio-button-list/ibiz-radio/ibiz-radio.css +1 -1
- package/lib/editor/rate/ibiz-rate/ibiz-rate.cjs +1 -1
- package/lib/editor/rate/ibiz-rate/ibiz-rate.css +1 -1
- package/lib/editor/raw/ibiz-raw/ibiz-raw.css +1 -1
- package/lib/editor/slider/ibiz-slider/ibiz-slider.cjs +2 -2
- package/lib/editor/slider/ibiz-slider/ibiz-slider.css +1 -1
- package/lib/editor/span/span/span.cjs +5 -4
- package/lib/editor/span/span/span.css +1 -1
- package/lib/editor/span/span-link/span-link.css +1 -1
- package/lib/editor/stepper/ibiz-stepper/ibiz-stepper.cjs +1 -1
- package/lib/editor/stepper/ibiz-stepper/ibiz-stepper.css +1 -1
- package/lib/editor/switch/ibiz-switch/ibiz-switch.cjs +1 -1
- package/lib/editor/switch/ibiz-switch/ibiz-switch.css +1 -1
- package/lib/editor/text-box/ibiz-input-number/ibiz-input-number.cjs +1 -1
- package/lib/editor/text-box/ibiz-input-number/ibiz-input-number.css +1 -1
- package/lib/editor/text-box/input/input.cjs +1 -1
- package/lib/editor/text-box/input/input.css +1 -1
- package/lib/editor/text-box/signature/signature.cjs +1 -1
- package/lib/editor/text-box/signature/signature.css +1 -1
- package/lib/editor/upload/ibiz-carousel/ibiz-carousel.cjs +3 -0
- package/lib/editor/upload/ibiz-carousel/ibiz-carousel.css +1 -1
- package/lib/editor/upload/ibiz-file-upload/ibiz-file-upload.cjs +1 -1
- package/lib/editor/upload/ibiz-file-upload/ibiz-file-upload.css +1 -1
- package/lib/editor/upload/ibiz-image-cropping/ibiz-image-cropping.cjs +18 -5
- package/lib/editor/upload/ibiz-image-cropping/ibiz-image-cropping.css +1 -1
- package/lib/editor/upload/ibiz-image-select/ibiz-image-select.cjs +1 -1
- package/lib/editor/upload/ibiz-image-select/ibiz-image-select.css +1 -1
- package/lib/editor/upload/ibiz-image-upload/ibiz-image-upload.cjs +1 -1
- package/lib/editor/upload/ibiz-image-upload/ibiz-image-upload.css +1 -1
- package/lib/editor/upload/upload-editor.provider.cjs +1 -0
- package/lib/index.cjs +42 -18
- package/lib/locale/en/index.cjs +29 -5
- package/lib/locale/zh-CN/index.cjs +30 -7
- package/lib/mob-app/guard/auth-guard/auth-guard.cjs +11 -5
- package/lib/mob-app/main.cjs +9 -0
- package/lib/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/plugin/isBetween.cjs +17 -0
- package/lib/node_modules/.pnpm/eventemitter3@5.0.1/node_modules/eventemitter3/index2.cjs +1 -1
- package/lib/node_modules/.pnpm/lodash.clonedeep@4.5.0/node_modules/lodash.clonedeep/index.cjs +1 -1
- package/lib/node_modules/.pnpm/lodash.isequal@4.5.0/node_modules/lodash.isequal/index.cjs +1 -1
- package/lib/node_modules/.pnpm/quill-delta@5.1.0/node_modules/quill-delta/dist/AttributeMap.cjs +1 -1
- package/lib/node_modules/.pnpm/quill-delta@5.1.0/node_modules/quill-delta/dist/Delta.cjs +1 -1
- package/lib/panel-component/async-action/async-action/async-action.css +1 -1
- package/lib/panel-component/async-action/async-action-preview/async-action-preview.css +1 -1
- package/lib/panel-component/async-action/async-action-tab/async-action-tab.css +1 -1
- package/lib/panel-component/async-action/mob-async-action.css +1 -1
- package/lib/panel-component/auth-sso/auth-sso.css +1 -1
- package/lib/panel-component/auth-userinfo/auth-userinfo.css +1 -1
- package/lib/panel-component/index.cjs +47 -34
- package/lib/panel-component/panel-app-title/panel-app-title.css +1 -1
- package/lib/panel-component/panel-button/panel-button.cjs +2 -3
- package/lib/panel-component/panel-button/panel-button.css +1 -1
- package/lib/panel-component/panel-tab-panel/panel-tab-panel.css +1 -1
- package/lib/panel-component/setting-container/index.cjs +23 -0
- package/lib/panel-component/setting-container/setting-container.cjs +139 -0
- package/lib/panel-component/setting-container/setting-container.controller.cjs +70 -0
- package/lib/panel-component/setting-container/setting-container.css +1 -0
- package/lib/panel-component/setting-container/setting-container.provider.cjs +23 -0
- package/lib/panel-component/split-container/index.cjs +29 -0
- package/lib/panel-component/split-container/split-container.cjs +60 -0
- package/lib/panel-component/split-container/split-container.controller.cjs +112 -0
- package/lib/panel-component/split-container/split-container.css +1 -0
- package/lib/panel-component/split-container/split-container.provider.cjs +23 -0
- package/lib/panel-component/split-container/split-container.state.cjs +30 -0
- package/lib/panel-component/theme-toggling/index.cjs +20 -0
- package/lib/panel-component/theme-toggling/theme-toggling.cjs +74 -0
- package/lib/panel-component/theme-toggling/theme-toggling.controller.cjs +92 -0
- package/lib/panel-component/theme-toggling/theme-toggling.css +1 -0
- package/lib/panel-component/theme-toggling/theme-toggling.provider.cjs +23 -0
- package/lib/panel-component/theme-toggling/theme-toggling.state.cjs +24 -0
- package/lib/panel-component/user-message/common/internal-message-container/internal-message-container.css +1 -1
- package/lib/panel-component/user-message/common/internal-message-default/internal-message-default.css +1 -1
- package/lib/panel-component/user-message/internal-message-text/internal-message-text.css +1 -1
- package/lib/panel-component/user-message/user-message.cjs +7 -3
- package/lib/panel-component/user-message/user-message.css +1 -1
- package/lib/panel-component/view-content-panel-container/view-content-panel-container.cjs +12 -1
- package/lib/panel-component/view-content-panel-container/view-content-panel-container.css +1 -1
- package/lib/panel-component/view-header-panel-container/view-header-panel-container.css +1 -1
- package/lib/panel-component/view-message/index.cjs +20 -0
- package/lib/panel-component/view-message/view-message.cjs +54 -0
- package/lib/panel-component/view-message/view-message.provider.cjs +23 -0
- package/lib/panel-component/view-msg-pos/index.cjs +22 -0
- package/lib/panel-component/view-msg-pos/view-msg-pos.cjs +58 -0
- package/lib/panel-component/view-msg-pos/view-msg-pos.controller.cjs +48 -0
- package/lib/panel-component/view-msg-pos/view-msg-pos.provider.cjs +23 -0
- package/lib/panel-component/wf-action-button/wf-action-button.css +1 -1
- package/lib/panel-component/wf-step-trace/wf-step-trace.css +1 -1
- package/lib/util/app-drawer/app-drawer-component.cjs +2 -2
- package/lib/util/button-util/button-util.cjs +21 -2
- package/lib/util/index.cjs +2 -0
- package/lib/util/list-util/list-render-util.cjs +262 -0
- package/lib/util/modal-util/modal-util.cjs +44 -2
- package/lib/util/store/view-stack/view-stack.cjs +3 -4
- package/lib/view-engine/index.cjs +4 -0
- package/lib/view-engine/mob-edit-view.engine.cjs +12 -0
- package/lib/view-engine/mob-edit-view3.engine.cjs +51 -0
- package/lib/view-engine/mob-mpickup-view-engine.cjs +1 -2
- package/lib/view-engine/mob-pickup-tree-view.engine.cjs +4 -2
- package/lib/view-engine/mob-tab-exp-view.engine.cjs +133 -0
- package/lib/view-engine/mob-tab-search-view.engine.cjs +1 -28
- package/lib/view-engine/mob-tree-exp-view.engine.cjs +18 -0
- package/lib/view-engine/mob-wizard-view-engine.cjs +18 -0
- package/package.json +9 -8
- package/dist/ibiz-markdown-editor-CpFrKPxk.js +0 -2
- package/dist/index-BVvXyRE6.js +0 -2
- package/dist/index-BVvXyRE6.js.map +0 -1
- package/dist/index-BwPgclp0.js +0 -2
- package/dist/index-BwPgclp0.js.map +0 -1
- package/dist/index-CVQ7iBA3.js +0 -76
- package/dist/index-CVQ7iBA3.js.map +0 -1
- package/dist/quill-editor-CFx5M8uu.js +0 -2
- package/dist/quill-editor-preview-CfbC0J-Z.js +0 -2
- package/dist/tree-CGwysqdR.js +0 -2
- package/dist/tree-CGwysqdR.js.map +0 -1
- package/es/common/md-ctrl-setting/md-ctrl-setting.css +0 -1
- package/es/common/md-ctrl-setting/md-ctrl-setting.mjs +0 -199
- package/es/control/dashboard/portlet/portlet-part/index.mjs +0 -3
- package/es/control/dashboard/portlet/portlet-part/portlet-part.state.mjs +0 -50
- package/es/control/list/list-render-util.mjs +0 -130
- package/es/control/toolbar/popper-toolbar/popper-toolbar.css +0 -1
- package/es/control/toolbar/popper-toolbar/popper-toolbar.mjs +0 -157
- package/lib/common/md-ctrl-setting/md-ctrl-setting.cjs +0 -201
- package/lib/common/md-ctrl-setting/md-ctrl-setting.css +0 -1
- package/lib/control/dashboard/portlet/portlet-part/index.cjs +0 -7
- package/lib/control/dashboard/portlet/portlet-part/portlet-part.state.cjs +0 -52
- package/lib/control/list/list-render-util.cjs +0 -132
- package/lib/control/toolbar/popper-toolbar/popper-toolbar.cjs +0 -159
- package/lib/control/toolbar/popper-toolbar/popper-toolbar.css +0 -1
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { defineComponent, createVNode, resolveComponent, h } from 'vue';
|
|
2
2
|
import { FormMDCtrlFormController } from '@ibiz-template/runtime';
|
|
3
3
|
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
4
4
|
import './form-mdctrl-form.css';
|
|
5
5
|
|
|
6
6
|
"use strict";
|
|
7
|
-
function _isSlot(s) {
|
|
8
|
-
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
9
|
-
}
|
|
10
7
|
const FormMDCtrlForm = /* @__PURE__ */ defineComponent({
|
|
11
8
|
name: "IBizFormMDCtrlForm",
|
|
12
9
|
props: {
|
|
@@ -17,26 +14,12 @@ const FormMDCtrlForm = /* @__PURE__ */ defineComponent({
|
|
|
17
14
|
},
|
|
18
15
|
setup(props) {
|
|
19
16
|
const ns = useNamespace("form-mdctrl-form");
|
|
20
|
-
const showActions = computed(() => {
|
|
21
|
-
return props.controller.enableCreate || props.controller.enableDelete;
|
|
22
|
-
});
|
|
23
|
-
const renderAddBtn = () => {
|
|
24
|
-
let _slot;
|
|
25
|
-
return createVNode(resolveComponent("van-button"), {
|
|
26
|
-
"class": [ns.be("item-actions", "create"), ns.be("item-actions", "btn")],
|
|
27
|
-
"onClick": () => props.controller.create()
|
|
28
|
-
}, _isSlot(_slot = ibiz.i18n.t("app.add")) ? _slot : {
|
|
29
|
-
default: () => [_slot]
|
|
30
|
-
});
|
|
31
|
-
};
|
|
32
17
|
const onCreated = (id, event) => {
|
|
33
18
|
props.controller.setFormController(id, event.ctrl);
|
|
34
19
|
};
|
|
35
20
|
return {
|
|
36
21
|
ns,
|
|
37
|
-
|
|
38
|
-
onCreated,
|
|
39
|
-
renderAddBtn
|
|
22
|
+
onCreated
|
|
40
23
|
};
|
|
41
24
|
},
|
|
42
25
|
render() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-form-mdctrl-md{display:flex;flex-direction:column;height:100%}.ibiz-form-mdctrl-md-content{flex-grow:1;margin:
|
|
1
|
+
.ibiz-form-mdctrl-md{--ibiz-form-mdctrl-md-width-button:calc(100% - var(--ibiz-spacing-base) * 2);--ibiz-form-mdctrl-md-spacing-content-margin:0 var(--ibiz-spacing-tight);--ibiz-form-mdctrl-md-spacing-actions-gap:var(--ibiz-spacing-tight);--ibiz-form-mdctrl-md-spacing-actions-padding:var(--ibiz-spacing-tight) 0;--ibiz-form-mdctrl-md-spacing-actions-margin:0 var(--ibiz-spacing-tight);display:flex;flex-direction:column;height:100%}.ibiz-form-mdctrl-md-content{flex-grow:1;margin:var(--ibiz-form-mdctrl-md-spacing-content-margin)}.ibiz-form-mdctrl-md-content.ibiz-control{width:auto}.ibiz-form-mdctrl-md-actions{display:flex;gap:var(--ibiz-form-mdctrl-md-spacing-actions-gap);padding:var(--ibiz-form-mdctrl-md-spacing-actions-padding);margin:var(--ibiz-form-mdctrl-md-spacing-actions-margin)}.ibiz-form-mdctrl-md-actions .van-button+.van-button{margin-left:0}.ibiz-form-mdctrl-md-actions__btn{width:var(--ibiz-form-mdctrl-md-width-button)}
|
package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/form-mdctrl-repeater.mjs
CHANGED
|
@@ -3,6 +3,7 @@ import { FormMDCtrlRepeaterController } from '@ibiz-template/runtime';
|
|
|
3
3
|
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
4
4
|
import { RepeaterSingleForm } from './repeater-single-form/repeater-single-form.mjs';
|
|
5
5
|
import { RepeaterMultiForm } from './repeater-multi-form/repeater-multi-form.mjs';
|
|
6
|
+
import { RepeaterGrid } from './repeater-grid/repeater-grid.mjs';
|
|
6
7
|
|
|
7
8
|
"use strict";
|
|
8
9
|
const FormMDCtrlRepeater = /* @__PURE__ */ defineComponent({
|
|
@@ -39,6 +40,12 @@ const FormMDCtrlRepeater = /* @__PURE__ */ defineComponent({
|
|
|
39
40
|
"controller": this.controller,
|
|
40
41
|
"onChange": this.onDataChange
|
|
41
42
|
}, null);
|
|
43
|
+
case "Grid":
|
|
44
|
+
return createVNode(RepeaterGrid, {
|
|
45
|
+
"class": classNames,
|
|
46
|
+
"controller": this.controller,
|
|
47
|
+
"onChange": this.onDataChange
|
|
48
|
+
}, null);
|
|
42
49
|
default:
|
|
43
50
|
return createVNode("div", {
|
|
44
51
|
"class": classNames
|
package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ibiz-repeater-grid{--ibiz-repeater-grid-color-th:var(--ibiz-color-text-2);--ibiz-repeater-grid-color-td:var(--ibiz-color-text-0);--ibiz-repeater-grid-color-btn:var(--ibiz-color-text-2);--ibiz-repeater-grid-spacing-padding:var(--ibiz-spacing-extra-tight) var(--ibiz-spacing-tight);--ibiz-repeater-grid-spacing-icon-gap:var(--ibiz-spacing-tight);--ibiz-repeater-grid-font-lineHeight:var(--ibiz-editor-default-line-height);--ibiz-repeater-grid-font-icon-fontSize:var(--ibiz-width-icon-large);--ibiz-repeater-grid-border:var(--ibiz-border-thickness-control) solid var(--ibiz-color-border);width:100%;overflow:auto}.ibiz-repeater-grid table{table-layout:fixed;border-collapse:collapse}.ibiz-repeater-grid th{min-width:0;padding:var(--ibiz-repeater-grid-spacing-padding);overflow:hidden;line-height:var(--ibiz-repeater-grid-font-lineHeight);color:var(--ibiz-repeater-grid-color-th);text-align:center;text-overflow:ellipsis;white-space:nowrap;border:var(--ibiz-repeater-grid-border)}.ibiz-repeater-grid td{min-width:0;padding:var(--ibiz-repeater-grid-spacing-padding);overflow:hidden;line-height:var(--ibiz-repeater-grid-font-lineHeight);color:var(--ibiz-repeater-grid-color-td);text-align:center;border:var(--ibiz-repeater-grid-border)}.ibiz-repeater-grid .ibiz-repeater-grid-action-cell{border:none}.ibiz-repeater-grid-action-group{display:flex;align-items:center;justify-content:center;height:var(--ibiz-repeater-grid-font-lineHeight)}.ibiz-repeater-grid-action-group ion-icon{box-sizing:border-box;font-size:var(--ibiz-repeater-grid-font-icon-fontSize);color:var(--ibiz-repeater-grid-color-btn);cursor:pointer;border:var(--ibiz-repeater-grid-border)}.ibiz-repeater-grid-action-group ion-icon+ion-icon{margin-left:var(--ibiz-repeater-grid-spacing-icon-gap)}.ibiz-repeater-grid-empty-content td{color:var(--ibiz-repeater-grid-color-th)}
|
package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.mjs
ADDED
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
import { defineComponent, createVNode, toRaw, resolveComponent, h, ref, reactive, watch, onMounted, onUnmounted } from 'vue';
|
|
2
|
+
import { EditFormController, ControlVO, FormMDCtrlRepeaterController } from '@ibiz-template/runtime';
|
|
3
|
+
import { useNamespace, useCtx } from '@ibiz-template/vue3-util';
|
|
4
|
+
import { recursiveIterate } from '@ibiz-template/core';
|
|
5
|
+
import './repeater-grid.css';
|
|
6
|
+
|
|
7
|
+
"use strict";
|
|
8
|
+
const RepeaterGrid = /* @__PURE__ */ defineComponent({
|
|
9
|
+
name: "IBizRepeaterGrid",
|
|
10
|
+
props: {
|
|
11
|
+
controller: {
|
|
12
|
+
type: FormMDCtrlRepeaterController,
|
|
13
|
+
required: true
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
emits: {
|
|
17
|
+
change: (_value) => true
|
|
18
|
+
},
|
|
19
|
+
setup(props, {
|
|
20
|
+
emit
|
|
21
|
+
}) {
|
|
22
|
+
const ns = useNamespace("repeater-grid");
|
|
23
|
+
const formItems = [];
|
|
24
|
+
const items = ref([]);
|
|
25
|
+
const ctx = useCtx();
|
|
26
|
+
const formControllers = reactive([]);
|
|
27
|
+
const container = ref();
|
|
28
|
+
const table = ref();
|
|
29
|
+
const thead = ref();
|
|
30
|
+
const flexWidth = ref(0);
|
|
31
|
+
const gridWidth = ref("");
|
|
32
|
+
let resizeObserver;
|
|
33
|
+
recursiveIterate(props.controller.repeatedForm, (item) => {
|
|
34
|
+
var _a;
|
|
35
|
+
if (item.detailType === "FORMITEM") {
|
|
36
|
+
if (((_a = item.editor) == null ? void 0 : _a.editorType) !== "HIDDEN") {
|
|
37
|
+
formItems.push(item);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}, {
|
|
41
|
+
childrenFields: ["deformPages", "deformTabPages", "deformDetails"]
|
|
42
|
+
});
|
|
43
|
+
const onSingleValueChange = (value, index) => {
|
|
44
|
+
const arrData = [...props.controller.value || []];
|
|
45
|
+
arrData[index] = value;
|
|
46
|
+
emit("change", arrData);
|
|
47
|
+
};
|
|
48
|
+
const addFormController = async (data = {}) => {
|
|
49
|
+
const formC = new EditFormController(props.controller.repeatedForm, props.controller.context, props.controller.params, ctx);
|
|
50
|
+
formC.state.isSimple = true;
|
|
51
|
+
await formC.created();
|
|
52
|
+
formC.setSimpleData(data);
|
|
53
|
+
formControllers.push(formC);
|
|
54
|
+
props.controller.setRepeaterController(`${formControllers.length - 1}`, formC);
|
|
55
|
+
formC.evt.on("onFormDataChange", (event) => {
|
|
56
|
+
const item = event.data[0];
|
|
57
|
+
const formData = item instanceof ControlVO ? item.clone() : {
|
|
58
|
+
...item
|
|
59
|
+
};
|
|
60
|
+
const index = formControllers.indexOf(formC);
|
|
61
|
+
onSingleValueChange(formData, index);
|
|
62
|
+
});
|
|
63
|
+
};
|
|
64
|
+
watch(() => props.controller.value, (newVal) => {
|
|
65
|
+
if (Array.isArray(newVal)) {
|
|
66
|
+
newVal.forEach((item, index) => {
|
|
67
|
+
const formC = formControllers[index];
|
|
68
|
+
if (formC) {
|
|
69
|
+
const changeVal = item || {};
|
|
70
|
+
const find = Object.keys(formC.data).find((key) => {
|
|
71
|
+
return changeVal[key] !== formC.data[key];
|
|
72
|
+
});
|
|
73
|
+
if (find) {
|
|
74
|
+
formC.setSimpleData(changeVal);
|
|
75
|
+
}
|
|
76
|
+
} else {
|
|
77
|
+
addFormController(item);
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
items.value = newVal;
|
|
81
|
+
} else {
|
|
82
|
+
items.value = [];
|
|
83
|
+
}
|
|
84
|
+
}, {
|
|
85
|
+
immediate: true,
|
|
86
|
+
deep: true
|
|
87
|
+
});
|
|
88
|
+
onMounted(() => {
|
|
89
|
+
if (!container.value || !table.value || !thead.value) {
|
|
90
|
+
return;
|
|
91
|
+
}
|
|
92
|
+
resizeObserver = new ResizeObserver(() => {
|
|
93
|
+
if (!container.value || !table.value || !thead.value) {
|
|
94
|
+
return;
|
|
95
|
+
}
|
|
96
|
+
const containerWidth = container.value.offsetWidth;
|
|
97
|
+
const theadRow = thead.value.children[0];
|
|
98
|
+
if (!theadRow)
|
|
99
|
+
return;
|
|
100
|
+
const thElements = Array.from(theadRow.children);
|
|
101
|
+
if (thElements.length === 0)
|
|
102
|
+
return;
|
|
103
|
+
let fixedWidthSum = 0;
|
|
104
|
+
const flexThElements = [];
|
|
105
|
+
thElements.forEach((th) => {
|
|
106
|
+
const isFlow = th.dataset.flex === "true";
|
|
107
|
+
if (isFlow) {
|
|
108
|
+
flexThElements.push(th);
|
|
109
|
+
} else {
|
|
110
|
+
const thWidth = th.style.width ? parseFloat(th.style.width) : th.offsetWidth;
|
|
111
|
+
fixedWidthSum += thWidth;
|
|
112
|
+
}
|
|
113
|
+
});
|
|
114
|
+
const availableSpace = containerWidth - fixedWidthSum - 1;
|
|
115
|
+
const flowColumnCount = flexThElements.length;
|
|
116
|
+
if (flowColumnCount > 0 && availableSpace > 0) {
|
|
117
|
+
flexWidth.value = availableSpace / flowColumnCount;
|
|
118
|
+
gridWidth.value = `${containerWidth}px`;
|
|
119
|
+
} else {
|
|
120
|
+
flexWidth.value = 0;
|
|
121
|
+
gridWidth.value = `${fixedWidthSum}px`;
|
|
122
|
+
}
|
|
123
|
+
});
|
|
124
|
+
resizeObserver.observe(container.value);
|
|
125
|
+
});
|
|
126
|
+
onUnmounted(() => {
|
|
127
|
+
if (resizeObserver) {
|
|
128
|
+
resizeObserver.disconnect();
|
|
129
|
+
}
|
|
130
|
+
});
|
|
131
|
+
return {
|
|
132
|
+
ns,
|
|
133
|
+
formItems,
|
|
134
|
+
formControllers,
|
|
135
|
+
items,
|
|
136
|
+
container,
|
|
137
|
+
table,
|
|
138
|
+
thead,
|
|
139
|
+
flexWidth,
|
|
140
|
+
gridWidth
|
|
141
|
+
};
|
|
142
|
+
},
|
|
143
|
+
render() {
|
|
144
|
+
const isEmpty = !this.items.length;
|
|
145
|
+
const headers = [createVNode("th", {
|
|
146
|
+
"class": this.ns.b("index-cell"),
|
|
147
|
+
"style": {
|
|
148
|
+
width: `66px`
|
|
149
|
+
}
|
|
150
|
+
}, [ibiz.i18n.t("control.form.repeaterGrid.index")]), this.formItems.map((item) => {
|
|
151
|
+
return createVNode("th", {
|
|
152
|
+
"class": this.ns.bm("cell", item.id),
|
|
153
|
+
"data-flex": item.labelWidth === 1,
|
|
154
|
+
"style": {
|
|
155
|
+
width: `${item.labelWidth === 1 ? `${this.flexWidth}px` : `${item.labelWidth}px`}`
|
|
156
|
+
}
|
|
157
|
+
}, [item.caption]);
|
|
158
|
+
}), (this.controller.enableCreate || this.controller.enableDelete) && createVNode("th", {
|
|
159
|
+
"class": this.ns.b("action-cell"),
|
|
160
|
+
"style": {
|
|
161
|
+
width: `80px`
|
|
162
|
+
}
|
|
163
|
+
}, null)];
|
|
164
|
+
const rows = (isEmpty && this.controller.enableCreate ? [{}] : this.items).map((_row, index) => {
|
|
165
|
+
return createVNode("tr", null, [createVNode("td", {
|
|
166
|
+
"class": this.ns.b("index-cell")
|
|
167
|
+
}, [isEmpty ? "" : index + 1]), this.formItems.map((item) => {
|
|
168
|
+
if (isEmpty) {
|
|
169
|
+
return createVNode("td", {
|
|
170
|
+
"class": this.ns.bm("cell", item.id)
|
|
171
|
+
}, null);
|
|
172
|
+
}
|
|
173
|
+
const formC = toRaw(this.formControllers[index]);
|
|
174
|
+
if (!formC || !formC.state.isLoaded) {
|
|
175
|
+
return createVNode("td", null, [ibiz.i18n.t("control.form.repeaterGrid.absentOrLoad")]);
|
|
176
|
+
}
|
|
177
|
+
const formItemC = formC.formItems.find((x) => x.name === item.id);
|
|
178
|
+
let editor = null;
|
|
179
|
+
if (!formItemC.editorProvider) {
|
|
180
|
+
editor = createVNode(resolveComponent("not-supported-editor"), {
|
|
181
|
+
"modelData": item.editor
|
|
182
|
+
}, null);
|
|
183
|
+
} else {
|
|
184
|
+
const component = resolveComponent(formItemC.editorProvider.formEditor);
|
|
185
|
+
editor = h(component, {
|
|
186
|
+
value: formItemC.value,
|
|
187
|
+
data: formItemC.data,
|
|
188
|
+
controller: formItemC.editor,
|
|
189
|
+
disabled: formItemC.state.disabled,
|
|
190
|
+
readonly: formItemC.state.readonly,
|
|
191
|
+
onChange: (val, name) => {
|
|
192
|
+
formItemC.setDataValue(val, name);
|
|
193
|
+
}
|
|
194
|
+
});
|
|
195
|
+
}
|
|
196
|
+
return createVNode("td", {
|
|
197
|
+
"class": this.ns.bm("cell", item.id)
|
|
198
|
+
}, [editor]);
|
|
199
|
+
}), (this.controller.enableCreate || this.controller.enableDelete) && createVNode("td", {
|
|
200
|
+
"class": this.ns.b("action-cell")
|
|
201
|
+
}, [createVNode("div", {
|
|
202
|
+
"class": this.ns.b("action-group")
|
|
203
|
+
}, [this.controller.enableCreate && createVNode("ion-icon", {
|
|
204
|
+
"name": "add-outline",
|
|
205
|
+
"title": ibiz.i18n.t("app.add"),
|
|
206
|
+
"class": this.ns.b("add-btn"),
|
|
207
|
+
"onClick": () => {
|
|
208
|
+
this.controller.create(isEmpty ? 0 : index + 1);
|
|
209
|
+
}
|
|
210
|
+
}, null), this.controller.enableDelete && !isEmpty && createVNode("ion-icon", {
|
|
211
|
+
"name": "remove-outline",
|
|
212
|
+
"title": ibiz.i18n.t("app.delete"),
|
|
213
|
+
"class": this.ns.b("remove-btn"),
|
|
214
|
+
"onClick": () => {
|
|
215
|
+
this.controller.remove(index);
|
|
216
|
+
this.formControllers.splice(index, 1);
|
|
217
|
+
}
|
|
218
|
+
}, null)])])]);
|
|
219
|
+
});
|
|
220
|
+
return createVNode("div", {
|
|
221
|
+
"class": this.ns.b(),
|
|
222
|
+
"ref": "container"
|
|
223
|
+
}, [createVNode("table", {
|
|
224
|
+
"class": this.ns.b("table"),
|
|
225
|
+
"ref": "table",
|
|
226
|
+
"style": {
|
|
227
|
+
width: this.gridWidth
|
|
228
|
+
}
|
|
229
|
+
}, [createVNode("thead", {
|
|
230
|
+
"ref": "thead"
|
|
231
|
+
}, [createVNode("tr", null, [headers])]), createVNode("tbody", null, [rows]), isEmpty && !this.controller.enableCreate && createVNode("tbody", {
|
|
232
|
+
"class": this.ns.b("empty-content")
|
|
233
|
+
}, [createVNode("td", {
|
|
234
|
+
"colspan": this.formItems.length + 1
|
|
235
|
+
}, [ibiz.i18n.t("control.form.repeaterGrid.noData")])])])]);
|
|
236
|
+
}
|
|
237
|
+
});
|
|
238
|
+
|
|
239
|
+
export { RepeaterGrid };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-repeater-single-form{
|
|
1
|
+
.ibiz-repeater-single-form{width:100%}.ibiz-repeater-single-form__content{width:100%}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-form-mdctrl{--ibiz-form-mdctrl-
|
|
1
|
+
.ibiz-form-mdctrl{--ibiz-form-mdctrl-color-header-bg:var(--ibiz-color-bg-0);--ibiz-form-mdctrl-color-text:var(--ibiz-color-text-1);--ibiz-form-mdctrl-spacing-header-padding:var(--ibiz-spacing-base);--ibiz-form-mdctrl-font-caption-fontSize:var(--ibiz-font-size-header-6);--ibiz-form-mdctrl-font-caption-fontWeight:var(--ibiz-font-weight-regular);--ibiz-form-mdctrl-font-caption-linHeight:var(--ibiz-font-size-header-5);height:100%}.ibiz-form-mdctrl__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--ibiz-form-mdctrl-font-caption-fontSize);font-weight:var(--ibiz-form-mdctrl-font-caption-fontWeight);line-height:var(--ibiz-form-mdctrl-font-caption-linHeight);color:var(--ibiz-form-mdctrl-color-text)}.ibiz-form-mdctrl--has-value .ibiz-form-mdctrl-header{display:none}.ibiz-form-mdctrl-header{display:flex;padding:var(--ibiz-form-mdctrl-spacing-header-padding);background-color:var(--ibiz-form-mdctrl-color-header-bg)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-mdctrl-container{--ibiz-mdctrl-container-header-bg-color
|
|
1
|
+
.ibiz-mdctrl-container{--ibiz-mdctrl-container-header-color-bg:var(--ibiz-color-bg-0);--ibiz-mdctrl-container-header-color-border:var(--ibiz-color-border);--ibiz-mdctrl-container-header-spacing-padding:var(--ibiz-spacing-base);--ibiz-mdctrl-container-caption-color-text:var(--ibiz-color-text-2);--ibiz-mdctrl-container-caption-font-fontSize:var(--ibiz-font-size-header-6);--ibiz-mdctrl-container-caption-font-fontWeight:var(--ibiz-font-weight-regular);--ibiz-mdctrl-container-caption-font-lineHeight:var(--ibiz-font-size-header-5);--ibiz-mdctrl-container-button-color-text:var(--ibiz-color-primary);--ibiz-mdctrl-container-button-font-fontSize:var(--ibiz-font-size-header-6);--ibiz-mdctrl-container-button-font-fontWeight:var(--ibiz-font-weight-regular);--ibiz-mdctrl-container-content-color-bg:var(--ibiz-color-bg-1);--ibiz-mdctrl-container-footer-font-fontSize:var(--ibiz-font-size-header-5);--ibiz-mdctrl-container-footer-color-bg:var(--ibiz-color-bg-1);--ibiz-mdctrl-container-footer-spacing-icon-gap:var(--ibiz-spacing-extra-tight);display:flex;flex-direction:column}.ibiz-mdctrl-container-item{overflow:hidden}.ibiz-mdctrl-container-item__form{flex-grow:1}.ibiz-mdctrl-container-item .ibiz-mdctrl-container-item-header{display:flex;align-items:center;justify-content:flex-end;padding:var(--ibiz-mdctrl-container-header-spacing-padding);background-color:var(--ibiz-mdctrl-container-header-color-bg)}.ibiz-mdctrl-container-item-header__caption{flex-grow:1;font-size:var(--ibiz-mdctrl-container-caption-font-fontSize);font-weight:var(--ibiz-mdctrl-container-caption-font-fontWeight);line-height:var(--ibiz-mdctrl-container-caption-font-lineHeight);color:var(--ibiz-mdctrl-container-caption-color-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ibiz-mdctrl-container-item .ibiz-mdctrl-container-item-content{background-color:var(--ibiz-mdctrl-container-content-color-bg)}.ibiz-mdctrl-container-item-content__remove-btn{height:100%}.ibiz-mdctrl-container-footer .ibiz-mdctrl-container__btn{width:100%;font-size:var(--ibiz-mdctrl-container-footer-font-fontSize);color:var(--ibiz-mdctrl-container-button-color-text);background-color:var(--ibiz-mdctrl-container-footer-color-bg);border:none}.ibiz-mdctrl-container-footer .ibiz-mdctrl-container__btn .van-icon{margin-right:var(--ibiz-mdctrl-container-footer-spacing-icon-gap)}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { defineComponent, createVNode, resolveComponent } from 'vue';
|
|
2
2
|
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
3
3
|
import './mdctrl-container.css';
|
|
4
4
|
|
|
5
5
|
"use strict";
|
|
6
|
-
function _isSlot(s) {
|
|
7
|
-
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
8
|
-
}
|
|
9
6
|
const MDCtrlContainer = /* @__PURE__ */ defineComponent({
|
|
10
7
|
name: "IBizMDCtrlContainer",
|
|
11
8
|
props: {
|
|
@@ -34,9 +31,6 @@ const MDCtrlContainer = /* @__PURE__ */ defineComponent({
|
|
|
34
31
|
emit
|
|
35
32
|
}) {
|
|
36
33
|
const ns = useNamespace("mdctrl-container");
|
|
37
|
-
const showActions = computed(() => {
|
|
38
|
-
return props.enableCreate || props.enableDelete;
|
|
39
|
-
});
|
|
40
34
|
const renderAddBtn = (index, showButton = true) => {
|
|
41
35
|
if (!props.enableCreate) {
|
|
42
36
|
return null;
|
|
@@ -51,43 +45,9 @@ const MDCtrlContainer = /* @__PURE__ */ defineComponent({
|
|
|
51
45
|
}, null), ibiz.i18n.t("app.add")]
|
|
52
46
|
});
|
|
53
47
|
};
|
|
54
|
-
const renderRemoveBtn = (item, index) => {
|
|
55
|
-
let _slot2;
|
|
56
|
-
if (!props.enableDelete) {
|
|
57
|
-
return null;
|
|
58
|
-
}
|
|
59
|
-
if (ibiz.config.form.mdCtrlConfirmBeforeRemove) {
|
|
60
|
-
let _slot;
|
|
61
|
-
return createVNode(resolveComponent("van-button"), {
|
|
62
|
-
"class": [ns.e("remove"), ns.e("btn")],
|
|
63
|
-
"size": "small",
|
|
64
|
-
"onClick": () => {
|
|
65
|
-
emit("removeClick", item, index);
|
|
66
|
-
}
|
|
67
|
-
}, _isSlot(_slot = ibiz.i18n.t("app.delete")) ? _slot : {
|
|
68
|
-
default: () => [_slot]
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
return createVNode(resolveComponent("van-button"), {
|
|
72
|
-
"class": [ns.e("remove"), ns.e("btn")],
|
|
73
|
-
"type": "danger",
|
|
74
|
-
"size": "small",
|
|
75
|
-
"onClick": () => {
|
|
76
|
-
emit("removeClick", item, index);
|
|
77
|
-
}
|
|
78
|
-
}, _isSlot(_slot2 = ibiz.i18n.t("app.delete")) ? _slot2 : {
|
|
79
|
-
default: () => [_slot2]
|
|
80
|
-
});
|
|
81
|
-
};
|
|
82
|
-
const renderActionBtn = (item, index) => {
|
|
83
|
-
return [renderAddBtn(index, false), renderRemoveBtn(item, index)];
|
|
84
|
-
};
|
|
85
48
|
return {
|
|
86
49
|
ns,
|
|
87
|
-
|
|
88
|
-
renderAddBtn,
|
|
89
|
-
renderRemoveBtn,
|
|
90
|
-
renderActionBtn
|
|
50
|
+
renderAddBtn
|
|
91
51
|
};
|
|
92
52
|
},
|
|
93
53
|
render() {
|
|
@@ -105,11 +65,27 @@ const MDCtrlContainer = /* @__PURE__ */ defineComponent({
|
|
|
105
65
|
"class": this.ns.b("item-header")
|
|
106
66
|
}, [createVNode("div", {
|
|
107
67
|
"class": this.ns.be("item-header", "caption")
|
|
108
|
-
}, [this.caption || ""]), createVNode("div", {
|
|
109
|
-
"class": this.ns.be("item-header", "action")
|
|
110
|
-
}, [this.renderActionBtn(item, index)])]), createVNode("div", {
|
|
68
|
+
}, [this.caption || ""])]), createVNode("div", {
|
|
111
69
|
"class": this.ns.b("item-content")
|
|
112
|
-
}, [
|
|
70
|
+
}, [createVNode(resolveComponent("van-swipe-cell"), null, {
|
|
71
|
+
default: () => {
|
|
72
|
+
return formComponent;
|
|
73
|
+
},
|
|
74
|
+
right: () => {
|
|
75
|
+
if (!this.enableDelete) {
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
return createVNode(resolveComponent("van-button"), {
|
|
79
|
+
"class": this.ns.be("item-content", "remove-btn"),
|
|
80
|
+
"type": "danger",
|
|
81
|
+
"text": ibiz.i18n.t("app.delete"),
|
|
82
|
+
"square": true,
|
|
83
|
+
"onClick": () => {
|
|
84
|
+
this.$emit("removeClick", item, index);
|
|
85
|
+
}
|
|
86
|
+
}, null);
|
|
87
|
+
}
|
|
88
|
+
})])]);
|
|
113
89
|
}), this.enableCreate && createVNode("div", {
|
|
114
90
|
"class": this.ns.b("footer")
|
|
115
91
|
}, [this.renderAddBtn()])]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-form-page-item{--ibiz-form-page-item-
|
|
1
|
+
.ibiz-form-page-item{--ibiz-form-page-item-radius:var(--ibiz-border-radius-small);border-radius:var(--ibiz-form-page-item-radius)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-form-page-header{
|
|
1
|
+
.ibiz-form-page-header{display:flex;flex-direction:column;height:100%}.ibiz-form-page-header .van-tabs__content{flex:1;min-width:0;min-height:0}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-form-raw-item{width:100%;height:100
|
|
1
|
+
.ibiz-form-raw-item{--ibiz-form-raw-item-padding:var(--ibiz-spacing-base);width:100%;height:100%;padding:var(--ibiz-form-raw-item-padding)}
|
|
@@ -48,9 +48,10 @@ const FormRawItem = /* @__PURE__ */ defineComponent({
|
|
|
48
48
|
content = sysImage;
|
|
49
49
|
}
|
|
50
50
|
return createVNode(resolveComponent("iBizRawItem"), {
|
|
51
|
-
"class": this.ns.b(),
|
|
51
|
+
"class": [this.ns.b(), ...this.controller.containerClass],
|
|
52
52
|
"content": content,
|
|
53
53
|
"type": type,
|
|
54
|
+
"rawItem": this.modelData,
|
|
54
55
|
"onClick": (event) => this.controller.onClick(event)
|
|
55
56
|
}, null);
|
|
56
57
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-form-tab-panel{--ibiz-form-tab-panel-bg
|
|
1
|
+
.ibiz-form-tab-panel{--ibiz-form-tab-panel-color-bg:var(--ibiz-color-bg-1);width:100%;height:100%;overflow:auto;background-color:var(--ibiz-form-tab-panel-color-bg)}.ibiz-form-tab-panel__caption{display:flex;align-items:center;justify-content:center}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-control-searchform
|
|
1
|
+
.ibiz-control-searchform{--ibiz-control-search-form-bg-color:transparent;--ibiz-control-search-form-padding:var(--ibiz-spacing-tight) var(--ibiz-spacing-base);--ibiz-control-search-form-right-gap:0;--ibiz-control-search-form-color-searchform-bottom:var(--ibiz-color-border);--ibiz-control-search-form-spacing-right-buttons-padding:var(--ibiz-spacing-tight) var(--ibiz-spacing-base) var(--ibiz-spacing-tight) 0;--ibiz-control-search-form-btn-margin:0 0 0 var(--ibiz-spacing-tight);--ibiz-control-search-form-spacing-right-form-padding:var(--ibiz-spacing-base) 0;--ibiz-control-search-form-form-page-item-padding-top:calc(var(--ibiz-spacing-base) / 2);border-bottom:1px solid var(--ibiz-control-search-form-color-searchform-bottom);background-color:var(--ibiz-control-search-form-bg-color)}.ibiz-control-searchform .ibiz-form-page-item{padding-top:var(--ibiz-control-search-form-form-page-item-padding-top)}.ibiz-control-searchform .ibiz-form-page-item-child{margin-bottom:0}.ibiz-control-searchform__buttons{display:flex;align-items:center;justify-content:flex-end;padding:var(--ibiz-control-search-form-padding)}.ibiz-control-searchform__reset{margin:var(--ibiz-control-search-form-btn-margin)}.ibiz-control-searchform__right{display:flex;align-items:center;justify-content:flex-start;padding:var(--ibiz-control-search-form-spacing-right-form-padding);gap:var(--ibiz-control-search-form-right-gap)}.ibiz-control-searchform__right .ibiz-control-searchform__buttons{flex-shrink:0;padding:var(--ibiz-control-search-form-spacing-right-buttons-padding)}
|
|
@@ -49,12 +49,39 @@ const SearchFormControl = /* @__PURE__ */ defineComponent({
|
|
|
49
49
|
detail.state = reactive(detail.state);
|
|
50
50
|
});
|
|
51
51
|
});
|
|
52
|
+
const renderSearch = () => {
|
|
53
|
+
let _slot;
|
|
54
|
+
return createVNode(resolveComponent("van-button"), {
|
|
55
|
+
"class": ns.e("search"),
|
|
56
|
+
"type": "primary",
|
|
57
|
+
"size": "small",
|
|
58
|
+
"onClick": () => c.onSearchButtonClick()
|
|
59
|
+
}, _isSlot(_slot = ibiz.i18n.t("control.form.searchForm.search")) ? _slot : {
|
|
60
|
+
default: () => [_slot]
|
|
61
|
+
});
|
|
62
|
+
};
|
|
63
|
+
const renderReset = () => {
|
|
64
|
+
let _slot2;
|
|
65
|
+
return createVNode(resolveComponent("van-button"), {
|
|
66
|
+
"class": ns.e("reset"),
|
|
67
|
+
"onClick": () => c.reset(),
|
|
68
|
+
"size": "small"
|
|
69
|
+
}, _isSlot(_slot2 = ibiz.i18n.t("control.form.searchForm.reset")) ? _slot2 : {
|
|
70
|
+
default: () => [_slot2]
|
|
71
|
+
});
|
|
72
|
+
};
|
|
73
|
+
const renderAllBtns = () => {
|
|
74
|
+
return [renderSearch(), renderReset()];
|
|
75
|
+
};
|
|
52
76
|
return {
|
|
53
77
|
c,
|
|
54
|
-
ns
|
|
78
|
+
ns,
|
|
79
|
+
renderSearch,
|
|
80
|
+
renderAllBtns
|
|
55
81
|
};
|
|
56
82
|
},
|
|
57
83
|
render() {
|
|
84
|
+
var _a;
|
|
58
85
|
const {
|
|
59
86
|
state
|
|
60
87
|
} = this.c;
|
|
@@ -62,26 +89,18 @@ const SearchFormControl = /* @__PURE__ */ defineComponent({
|
|
|
62
89
|
return;
|
|
63
90
|
}
|
|
64
91
|
return createVNode(resolveComponent("iBizFormControl"), {
|
|
65
|
-
"class": this.ns.b(),
|
|
92
|
+
"class": [this.ns.b(), this.ns.e((_a = this.c.model.searchButtonPos) == null ? void 0 : _a.toLowerCase())],
|
|
66
93
|
"controller": this.c,
|
|
67
94
|
"nativeOnkeyup": (e) => this.c.onKeyUp(e)
|
|
68
95
|
}, {
|
|
69
96
|
...this.$slots,
|
|
70
97
|
searchFooter: () => {
|
|
71
|
-
|
|
98
|
+
if (this.c.model.searchButtonStyle === "NONE") {
|
|
99
|
+
return null;
|
|
100
|
+
}
|
|
72
101
|
return createVNode("div", {
|
|
73
|
-
"class": this.ns.
|
|
74
|
-
}, [
|
|
75
|
-
"class": this.ns.be("buttons", "search"),
|
|
76
|
-
"onClick": () => this.c.onSearchButtonClick()
|
|
77
|
-
}, _isSlot(_slot = ibiz.i18n.t("control.form.searchForm.search")) ? _slot : {
|
|
78
|
-
default: () => [_slot]
|
|
79
|
-
}), createVNode(resolveComponent("van-button"), {
|
|
80
|
-
"class": this.ns.be("buttons", "reset"),
|
|
81
|
-
"onClick": () => this.c.reset()
|
|
82
|
-
}, _isSlot(_slot2 = ibiz.i18n.t("control.form.searchForm.reset")) ? _slot2 : {
|
|
83
|
-
default: () => [_slot2]
|
|
84
|
-
})]);
|
|
102
|
+
"class": this.ns.e("buttons")
|
|
103
|
+
}, [this.c.model.searchButtonStyle === "SEARCHONLY" ? this.renderSearch() : this.renderAllBtns()]);
|
|
85
104
|
}
|
|
86
105
|
});
|
|
87
106
|
}
|
package/es/control/index.mjs
CHANGED
|
@@ -61,7 +61,6 @@ export { DRTabController } from './drtab/drtab.controller.mjs';
|
|
|
61
61
|
export { TreeProvider } from './tree/tree.provider.mjs';
|
|
62
62
|
export { DataViewControlProvider } from './data-view/data-view.provider.mjs';
|
|
63
63
|
export { DashboardProvider } from './dashboard/dashboard.provider.mjs';
|
|
64
|
-
export { PortletPartState } from './dashboard/portlet/portlet-part/portlet-part.state.mjs';
|
|
65
64
|
export { ContainerPortletProvider } from './dashboard/portlet/container-portlet/container-portlet.provider.mjs';
|
|
66
65
|
export { ContainerPortlet } from './dashboard/portlet/container-portlet/container-portlet.mjs';
|
|
67
66
|
export { IBizContainerPortlet } from './dashboard/portlet/container-portlet/index.mjs';
|
|
@@ -73,6 +72,14 @@ export { ViewPortlet } from './dashboard/portlet/view-portlet/view-portlet.mjs';
|
|
|
73
72
|
export { IBizViewPortlet } from './dashboard/portlet/view-portlet/index.mjs';
|
|
74
73
|
export { ListPortlet } from './dashboard/portlet/list-portlet/list-portlet.mjs';
|
|
75
74
|
export { IBizListPortlet } from './dashboard/portlet/list-portlet/index.mjs';
|
|
75
|
+
export { RawItemPortlet } from './dashboard/portlet/rawitem-portlet/rawitem-portlet.mjs';
|
|
76
|
+
export { IBizRawItemPortlet } from './dashboard/portlet/rawitem-portlet/index.mjs';
|
|
77
|
+
export { ChartPortlet } from './dashboard/portlet/chart-portlet/chart-portlet.mjs';
|
|
78
|
+
export { IBizChartPortlet } from './dashboard/portlet/chart-portlet/index.mjs';
|
|
79
|
+
export { HtmlPortlet } from './dashboard/portlet/html-portlet/html-portlet.mjs';
|
|
80
|
+
export { IBizHtmlPortlet } from './dashboard/portlet/html-portlet/index.mjs';
|
|
81
|
+
export { ActionBarPortlet } from './dashboard/portlet/actionbar-portlet/actionbar-portlet.mjs';
|
|
82
|
+
export { IBizActionBarPortlet } from './dashboard/portlet/actionbar-portlet/index.mjs';
|
|
76
83
|
export { CalendarProvider } from './calendar/calendar.provider.mjs';
|
|
77
84
|
|
|
78
85
|
"use strict";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ibiz-control-list-item{--ibiz-control-list-text-color:var(--ibiz-color-text-0);--ibiz-control-list-hover-bg-color:var(--ibiz-color-primary);--ibiz-control-list-active-bg-color:var(--ibiz-color-primary);--ibiz-control-list-padding:0.625rem;cursor:pointer}.ibiz-control-list-item:hover{background-color:var(--ibiz-control-list-hover-bg-color)}.ibiz-control-list-item.is-active{background-color:var(--ibiz-control-list-active-bg-color)}.ibiz-control-list{height:100%;overflow:var(--ibiz-control-overflow)}.ibiz-control-list__load-more{text-align:center;cursor:pointer}.ibiz-control-list__tag{display:flex;justify-content:space-between;width:100%;height:100%}.ibiz-control-list__item-icon{color:var(--ibiz-color-danger)}.ibiz-control-list__item-text{padding-right:var(--ibiz-spacing-tight);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ibiz-control-list-simplelist{display:flex;flex-wrap:wrap}.ibiz-control-list-simplelist .van-tag__close{position:absolute;right:.3125rem;margin-left:.125rem}.ibiz-control-list-simplelist .ibiz-control-list-item{min-width:0;padding:.3125rem}.ibiz-control-list-item__delete{display:inline-block;margin-left:.3125rem}.ibiz-control-list-simplelist .ibiz-control-list-item:hover{background-color:transparent}.ibiz-control-list-simplelist .ibiz-control-list-item.is-active{background-color:transparent}.ibiz-control-list-popup-header{--ibiz-control-list-text-color:var(--ibiz-color-text-0);--ibiz-control-list-hover-bg-color:var(--ibiz-color-primary);--ibiz-control-list-active-bg-color:var(--ibiz-color-primary);--ibiz-control-list-padding:0.625rem;padding:var(--ibiz-control-list-padding);text-align:center}.ibiz-control-list-popup{height:50vh}.ibiz-control-list-item-expand{flex-grow:1;min-width:0;min-height:0;color:var(--ibiz-color-primary);text-align:center}.ibiz-control-list-popup-container{display:flex;flex-flow:column nowrap;height:100%}.ibiz-control-list-popup-content{flex-grow:1;min-width:0;min-height:0;overflow-y:scroll}
|