@ibiz-template/mob-vue3-components 0.7.41-alpha.22 → 0.7.41-alpha.23
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/chart-CVnUjHjl.js +2 -0
- package/dist/{chart-j1WkpBhc.js.map → chart-CVnUjHjl.js.map} +1 -1
- package/dist/ibiz-markdown-editor-MwEhH1r_.js +2 -0
- package/dist/ibiz-markdown-editor-MwEhH1r_.js.map +1 -0
- package/dist/index-CopTozpr.js +2 -0
- package/dist/{index-ChdHGLJI.js.map → index-CopTozpr.js.map} +1 -1
- package/dist/index-Cxv8dJIk.js +2 -0
- package/dist/index-Cxv8dJIk.js.map +1 -0
- package/dist/index-DV0pS0zU.js +2 -0
- package/dist/{index-Dd7yiMzY.js.map → index-DV0pS0zU.js.map} +1 -1
- package/dist/index.min.css +8 -8
- package/dist/index.system.min.js +1 -1
- package/dist/quill-CeDXLpcJ.js +2 -0
- package/dist/{quill-BOA7ZLOz.js.map → quill-CeDXLpcJ.js.map} +1 -1
- package/dist/quill-editor-C5mEMG93.js +2 -0
- package/dist/quill-editor-C5mEMG93.js.map +1 -0
- package/dist/quill-editor-preview-BPS9uMa7.js +2 -0
- package/dist/{quill-editor-preview-DghpeKpg.js.map → quill-editor-preview-BPS9uMa7.js.map} +1 -1
- package/dist/tree-SAqvldtV.js +2 -0
- package/dist/{tree-BTa0bMPr.js.map → tree-SAqvldtV.js.map} +1 -1
- package/dist/xlsx-util-b5CesqYd.js +3 -0
- package/dist/xlsx-util-b5CesqYd.js.map +1 -0
- package/es/_virtual/index12.mjs +2 -2
- package/es/_virtual/index13.mjs +2 -2
- package/es/common/action-group/action-group.css +1 -1
- package/es/common/action-group/action-group.mjs +44 -43
- package/es/common/button-list/button-list.css +1 -1
- package/es/common/button-list/button-list.mjs +16 -25
- package/es/common/col/col.mjs +1 -1
- package/es/common/cropping/cropping.mjs +5 -5
- package/es/common/date-range-picker/components/range-picker/range-picker.mjs +2 -4
- package/es/common/date-range-picker/components/single-picker/single-picker.mjs +2 -4
- package/es/common/date-range-picker/date-range-picker.mjs +2 -2
- package/es/common/emoji-select/components/emoji-item/emoji-item.mjs +4 -4
- package/es/common/emoji-select/components/emoji-list/emoji-list.mjs +1 -1
- package/es/common/emoji-select/icons/categories.mjs +9 -57
- package/es/common/float-button/float-button.css +1 -1
- package/es/common/float-button/float-button.mjs +12 -7
- package/es/common/keep-alive/keep-alive.mjs +2 -2
- package/es/common/keep-alive/scheduler.mjs +1 -1
- package/es/common/preview-image/preview-image.mjs +4 -4
- package/es/common/rawitem/rawitem.mjs +2 -2
- package/es/common/row/row.mjs +1 -1
- package/es/common/split/split.mjs +9 -9
- package/es/common/split-trigger/split-trigger.mjs +1 -1
- package/es/common/tab-layout/tab-dropdown/tab-dropdown.mjs +1 -1
- package/es/control/app-menu/app-menu.mjs +1 -1
- package/es/control/app-menu/custom-menu-design/custom-menu-design.mjs +1 -1
- package/es/control/app-menu/menu-render-util.mjs +2 -0
- package/es/control/app-menu-icon-view/app-menu-icon-view.mjs +1 -1
- package/es/control/app-menu-icon-view/index.mjs +1 -1
- package/es/control/app-menu-list-view/app-menu-list-view.mjs +1 -1
- package/es/control/app-menu-list-view/index.mjs +1 -1
- package/es/control/calendar/calendar.mjs +6 -6
- package/es/control/caption-bar/caption-bar.mjs +1 -1
- package/es/control/chart/chart.mjs +1 -1
- package/es/control/dashboard/dashboard.mjs +3 -1
- package/es/control/dashboard/portlet/actionbar-portlet/actionbar-portlet.mjs +1 -1
- package/es/control/dashboard/portlet/chart-portlet/chart-portlet.mjs +1 -1
- package/es/control/dashboard/portlet/container-portlet/container-portlet.mjs +1 -1
- package/es/control/dashboard/portlet/html-portlet/html-portlet.mjs +1 -1
- package/es/control/dashboard/portlet/list-portlet/list-portlet.mjs +1 -1
- package/es/control/dashboard/portlet/menu-portlet/menu-portlet.mjs +1 -1
- package/es/control/dashboard/portlet/portlet-layout/portlet-layout.css +1 -1
- package/es/control/dashboard/portlet/portlet-layout/portlet-layout.mjs +4 -4
- package/es/control/dashboard/portlet/rawitem-portlet/rawitem-portlet.mjs +1 -1
- package/es/control/dashboard/portlet/view-portlet/view-portlet.mjs +1 -1
- package/es/control/data-view/data-view.css +1 -1
- package/es/control/data-view/data-view.mjs +7 -7
- package/es/control/drbar/drbar.mjs +1 -1
- package/es/control/drtab/drtab.controller.mjs +1 -1
- package/es/control/drtab/drtab.mjs +1 -1
- package/es/control/form/edit-form/edit-form.mjs +1 -1
- package/es/control/form/form/form.mjs +2 -2
- 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-group-panel/form-group-panel.mjs +1 -1
- package/es/control/form/form-detail/form-item/form-item-container/form-item-container.mjs +1 -1
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.mjs +6 -6
- package/es/control/form/form-detail/form-mdctrl/form-mdctrl.provider.mjs +2 -2
- package/es/control/form/search-form/search-form.mjs +1 -1
- package/es/control/list/list/list.mjs +1 -1
- package/es/control/list/md-ctrl/md-ctrl.css +1 -1
- package/es/control/list/md-ctrl/md-ctrl.mjs +2 -2
- package/es/control/pickup-view-panel/pickup-view-panel.mjs +1 -1
- package/es/control/search-bar/filter-field-select/filter-field-select.mjs +1 -1
- package/es/control/search-bar/filter-mode-select/filter-mode-select.mjs +1 -1
- package/es/control/search-bar/filter-tree/filter-tree.css +1 -1
- package/es/control/search-bar/filter-tree/filter-tree.mjs +1 -1
- package/es/control/search-bar/search-bar.mjs +10 -6
- package/es/control/tab-exp-panel/tab-exp-panel.mjs +1 -1
- package/es/control/toolbar/float-toolbar/float-toolbar.css +1 -1
- package/es/control/toolbar/float-toolbar/float-toolbar.mjs +13 -7
- package/es/control/toolbar/toolbar-render-util.mjs +55 -32
- package/es/control/toolbar/toolbar.mjs +1 -1
- package/es/control/tree/tree.mjs +9 -9
- package/es/control/tree-exp-bar/tree-exp-bar.mjs +1 -1
- package/es/control/wizard-panel/wizard-panel.mjs +6 -6
- package/es/editor/cascader/ibiz-cascader/ibiz-cascader.mjs +2 -2
- package/es/editor/color-picker/ibiz-color-picker/ibiz-color-picker.mjs +1 -1
- package/es/editor/data-picker/ibiz-picker/ibiz-picker.mjs +2 -2
- package/es/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.mjs +2 -2
- package/es/editor/data-picker/picker-editor.controller.mjs +1 -1
- package/es/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.css +1 -1
- package/es/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.mjs +7 -7
- package/es/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.mjs +1 -1
- package/es/editor/html/html-editor.controller.mjs +26 -9
- package/es/editor/html/quill-editor/quill-editor.mjs +12 -3
- package/es/editor/html/quill-editor-preview/quill-editor-preview.mjs +4 -4
- package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.mjs +12 -3
- package/es/editor/markdown/markdown-editor.controller.mjs +23 -3
- package/es/editor/qrcode/ibiz-qrcode/ibiz-qrcode.mjs +1 -1
- package/es/editor/slider/ibiz-slider/ibiz-slider.mjs +2 -2
- package/es/editor/span/span/span.mjs +7 -7
- package/es/editor/span/span-link/span-link.mjs +1 -1
- package/es/editor/stepper/ibiz-stepper/ibiz-stepper.mjs +1 -1
- package/es/editor/text-box/ibiz-input-number/ibiz-input-number.mjs +1 -1
- package/es/editor/text-box/input/input.mjs +4 -4
- package/es/editor/text-box/signature/signature.mjs +59 -19
- package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.mjs +1 -1
- package/es/editor/upload/upload-editor.controller.mjs +18 -1
- package/es/editor/upload/use/use-van-upload.mjs +6 -2
- package/es/index.mjs +2 -1
- package/es/locale/en/index.mjs +26 -23
- package/es/locale/zh-CN/index.mjs +3 -0
- package/es/mob-app/App.mjs +10 -1
- package/es/mob-app/components/modal-router-shell/modal-router-shell.mjs +6 -4
- package/es/mob-app/components/router-shell/router-shell.mjs +1 -1
- package/es/mob-app/guard/auth-guard/auth-guard.mjs +2 -2
- package/es/mob-app/guard/auth-guard/dyna-auth-guard.mjs +2 -2
- package/es/mob-app/main.mjs +3 -1
- package/es/mob-app/router/index.mjs +131 -76
- package/es/mob-app/util/unauthorized-handler/unauthorized-handler.mjs +5 -5
- package/es/node_modules/.pnpm/dingtalk-jsapi@3.2.0/node_modules/dingtalk-jsapi/lib/packages/frame-talk-client-pc/index.mjs +1 -1
- package/es/node_modules/.pnpm/dingtalk-jsapi@3.2.0/node_modules/dingtalk-jsapi/lib/sdk/middlewares/index.mjs +1 -1
- package/es/panel-component/async-action/async-action/async-action.mjs +2 -2
- package/es/panel-component/async-action/async-action-preview/async-action-preview.mjs +3 -3
- package/es/panel-component/async-action/async-action-result/async-action-result.mjs +1 -1
- package/es/panel-component/nav-pos-index/nav-pos-index.controller.mjs +2 -2
- package/es/panel-component/panel-app-title/panel-app-title.mjs +2 -2
- package/es/panel-component/panel-button/panel-button.css +1 -1
- package/es/panel-component/panel-carousel/panel-carousel.controller.mjs +1 -1
- package/es/panel-component/panel-video-player/panel-video-player.controller.mjs +2 -2
- package/es/panel-component/split-container/split-container.controller.mjs +1 -1
- package/es/panel-component/user-message/common/internal-message-default/internal-message-default.provider.mjs +1 -1
- package/es/panel-component/user-message/user-message.mjs +1 -1
- package/es/panel-component/user-message/user-message.util.mjs +1 -1
- 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 -12
- package/es/platform/ios-platform-provider.mjs +2 -2
- package/es/platform/wechat-official-platform-provider.mjs +1 -1
- package/es/util/ai-chat-util/ai-chat-util.mjs +204 -41
- package/es/util/app-drawer/app-drawer-component.mjs +20 -6
- package/es/util/app-modal/app-modal-component.mjs +7 -4
- package/es/util/app-popover/app-popover-component.mjs +4 -4
- package/es/util/app-util/app-util.mjs +38 -3
- package/es/util/button-util/button-util.mjs +33 -1
- package/es/util/confirm-util/confirm-util.mjs +4 -4
- package/es/util/directive/loading.mjs +1 -1
- package/es/util/fullscreen/fullscreen-util.mjs +1 -1
- package/es/util/index.mjs +2 -1
- package/es/util/list-util/list-render-util.mjs +24 -5
- package/es/util/loading-util/loading-util.mjs +1 -1
- package/es/util/open-view-util/open-view-util.mjs +1 -1
- package/es/util/print-preview-util/print-preview-markdown/icon/icon.mjs +46 -0
- package/es/util/print-preview-util/print-preview-markdown/print-preview-markdown.css +1 -0
- package/es/util/print-preview-util/print-preview-markdown/print-preview-markdown.mjs +62 -0
- package/es/util/print-preview-util/print-preview-util.mjs +57 -0
- package/es/util/scan-qrcode/scan-qrcode.mjs +1 -1
- package/es/util/user-route-util/user-route-util.mjs +4 -4
- package/es/util/xlsx-util/xlsx-util.mjs +1 -1
- package/es/view-engine/index-view.engine.mjs +4 -0
- package/es/view-engine/index.mjs +31 -31
- package/es/view-engine/login-view.engine.mjs +1 -1
- package/es/view-engine/mob-calendar-view.engine.mjs +8 -1
- package/es/view-engine/mob-edit-view.engine.mjs +1 -1
- package/es/view-engine/mob-wf-dyna-action-view.engine.mjs +1 -1
- package/es/view-engine/mob-wf-dyna-edit-view.engine.mjs +1 -1
- package/es/view-engine/mob-wf-dyna-start-view.engine.mjs +1 -1
- package/lib/_virtual/index12.cjs +2 -2
- package/lib/_virtual/index13.cjs +2 -2
- package/lib/common/action-group/action-group.cjs +42 -41
- package/lib/common/action-group/action-group.css +1 -1
- package/lib/common/button-list/button-list.cjs +14 -23
- package/lib/common/button-list/button-list.css +1 -1
- package/lib/common/col/col.cjs +1 -1
- package/lib/common/cropping/cropping.cjs +5 -5
- package/lib/common/date-range-picker/components/range-picker/range-picker.cjs +2 -4
- package/lib/common/date-range-picker/components/single-picker/single-picker.cjs +2 -4
- package/lib/common/date-range-picker/date-range-picker.cjs +2 -2
- package/lib/common/emoji-select/components/emoji-item/emoji-item.cjs +4 -4
- package/lib/common/emoji-select/components/emoji-list/emoji-list.cjs +1 -1
- package/lib/common/emoji-select/icons/categories.cjs +9 -57
- package/lib/common/float-button/float-button.cjs +11 -6
- package/lib/common/float-button/float-button.css +1 -1
- package/lib/common/keep-alive/keep-alive.cjs +2 -2
- package/lib/common/keep-alive/scheduler.cjs +1 -1
- package/lib/common/preview-image/preview-image.cjs +4 -4
- package/lib/common/rawitem/rawitem.cjs +2 -2
- package/lib/common/row/row.cjs +1 -1
- package/lib/common/split/split.cjs +9 -9
- package/lib/common/split-trigger/split-trigger.cjs +1 -1
- package/lib/common/tab-layout/tab-dropdown/tab-dropdown.cjs +1 -1
- package/lib/control/app-menu/app-menu.cjs +1 -1
- package/lib/control/app-menu/custom-menu-design/custom-menu-design.cjs +1 -1
- package/lib/control/app-menu/menu-render-util.cjs +2 -0
- package/lib/control/app-menu-icon-view/app-menu-icon-view.cjs +1 -1
- package/lib/control/app-menu-icon-view/index.cjs +1 -1
- package/lib/control/app-menu-list-view/app-menu-list-view.cjs +1 -1
- package/lib/control/app-menu-list-view/index.cjs +1 -1
- package/lib/control/calendar/calendar.cjs +6 -6
- package/lib/control/caption-bar/caption-bar.cjs +1 -1
- package/lib/control/chart/chart.cjs +1 -1
- package/lib/control/dashboard/dashboard.cjs +3 -1
- package/lib/control/dashboard/portlet/actionbar-portlet/actionbar-portlet.cjs +1 -1
- package/lib/control/dashboard/portlet/chart-portlet/chart-portlet.cjs +1 -1
- package/lib/control/dashboard/portlet/container-portlet/container-portlet.cjs +1 -1
- package/lib/control/dashboard/portlet/html-portlet/html-portlet.cjs +1 -1
- package/lib/control/dashboard/portlet/list-portlet/list-portlet.cjs +1 -1
- package/lib/control/dashboard/portlet/menu-portlet/menu-portlet.cjs +1 -1
- package/lib/control/dashboard/portlet/portlet-layout/portlet-layout.cjs +4 -4
- package/lib/control/dashboard/portlet/portlet-layout/portlet-layout.css +1 -1
- package/lib/control/dashboard/portlet/rawitem-portlet/rawitem-portlet.cjs +1 -1
- package/lib/control/dashboard/portlet/view-portlet/view-portlet.cjs +1 -1
- package/lib/control/data-view/data-view.cjs +7 -7
- package/lib/control/data-view/data-view.css +1 -1
- package/lib/control/drbar/drbar.cjs +1 -1
- package/lib/control/drtab/drtab.cjs +1 -1
- package/lib/control/drtab/drtab.controller.cjs +1 -1
- package/lib/control/form/edit-form/edit-form.cjs +1 -1
- package/lib/control/form/form/form.cjs +2 -2
- 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-group-panel/form-group-panel.cjs +1 -1
- package/lib/control/form/form-detail/form-item/form-item-container/form-item-container.cjs +1 -1
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.cjs +6 -6
- package/lib/control/form/form-detail/form-mdctrl/form-mdctrl.provider.cjs +2 -2
- package/lib/control/form/search-form/search-form.cjs +1 -1
- package/lib/control/list/list/list.cjs +1 -1
- package/lib/control/list/md-ctrl/md-ctrl.cjs +2 -2
- package/lib/control/list/md-ctrl/md-ctrl.css +1 -1
- package/lib/control/pickup-view-panel/pickup-view-panel.cjs +1 -1
- package/lib/control/search-bar/filter-field-select/filter-field-select.cjs +1 -1
- package/lib/control/search-bar/filter-mode-select/filter-mode-select.cjs +1 -1
- package/lib/control/search-bar/filter-tree/filter-tree.cjs +1 -1
- package/lib/control/search-bar/filter-tree/filter-tree.css +1 -1
- package/lib/control/search-bar/search-bar.cjs +10 -6
- package/lib/control/tab-exp-panel/tab-exp-panel.cjs +1 -1
- package/lib/control/toolbar/float-toolbar/float-toolbar.cjs +13 -7
- package/lib/control/toolbar/float-toolbar/float-toolbar.css +1 -1
- package/lib/control/toolbar/toolbar-render-util.cjs +55 -32
- package/lib/control/toolbar/toolbar.cjs +1 -1
- package/lib/control/tree/tree.cjs +9 -9
- package/lib/control/tree-exp-bar/tree-exp-bar.cjs +1 -1
- package/lib/control/wizard-panel/wizard-panel.cjs +6 -6
- package/lib/editor/cascader/ibiz-cascader/ibiz-cascader.cjs +2 -2
- package/lib/editor/color-picker/ibiz-color-picker/ibiz-color-picker.cjs +1 -1
- package/lib/editor/data-picker/ibiz-picker/ibiz-picker.cjs +2 -2
- package/lib/editor/data-picker/ibiz-picker-select-view/ibiz-picker-select-view.cjs +2 -2
- package/lib/editor/data-picker/picker-editor.controller.cjs +1 -1
- package/lib/editor/date-range/ibiz-date-range-picker/ibiz-date-range-picker.css +1 -1
- package/lib/editor/dropdown-list/ibiz-dropdown/ibiz-dropdown.cjs +7 -7
- package/lib/editor/dropdown-list/ibiz-emoji-picker/ibiz-emoji-picker.cjs +1 -1
- package/lib/editor/html/html-editor.controller.cjs +26 -9
- package/lib/editor/html/quill-editor/quill-editor.cjs +12 -3
- package/lib/editor/html/quill-editor-preview/quill-editor-preview.cjs +4 -4
- package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.cjs +12 -3
- package/lib/editor/markdown/markdown-editor.controller.cjs +23 -3
- package/lib/editor/qrcode/ibiz-qrcode/ibiz-qrcode.cjs +1 -1
- package/lib/editor/slider/ibiz-slider/ibiz-slider.cjs +2 -2
- package/lib/editor/span/span/span.cjs +7 -7
- package/lib/editor/span/span-link/span-link.cjs +1 -1
- package/lib/editor/stepper/ibiz-stepper/ibiz-stepper.cjs +1 -1
- package/lib/editor/text-box/ibiz-input-number/ibiz-input-number.cjs +1 -1
- package/lib/editor/text-box/input/input.cjs +4 -4
- package/lib/editor/text-box/signature/signature.cjs +59 -19
- package/lib/editor/upload/ibiz-file-upload/ibiz-file-upload.cjs +1 -1
- package/lib/editor/upload/upload-editor.controller.cjs +18 -1
- package/lib/editor/upload/use/use-van-upload.cjs +6 -2
- package/lib/index.cjs +3 -0
- package/lib/locale/en/index.cjs +26 -23
- package/lib/locale/zh-CN/index.cjs +3 -0
- package/lib/mob-app/App.cjs +9 -0
- package/lib/mob-app/components/modal-router-shell/modal-router-shell.cjs +6 -4
- package/lib/mob-app/components/router-shell/router-shell.cjs +1 -1
- package/lib/mob-app/guard/auth-guard/auth-guard.cjs +2 -2
- package/lib/mob-app/guard/auth-guard/dyna-auth-guard.cjs +2 -2
- package/lib/mob-app/main.cjs +3 -1
- package/lib/mob-app/router/index.cjs +131 -76
- package/lib/mob-app/util/unauthorized-handler/unauthorized-handler.cjs +5 -5
- package/lib/node_modules/.pnpm/dingtalk-jsapi@3.2.0/node_modules/dingtalk-jsapi/lib/packages/frame-talk-client-pc/index.cjs +1 -1
- package/lib/node_modules/.pnpm/dingtalk-jsapi@3.2.0/node_modules/dingtalk-jsapi/lib/sdk/middlewares/index.cjs +1 -1
- package/lib/panel-component/async-action/async-action/async-action.cjs +2 -2
- package/lib/panel-component/async-action/async-action-preview/async-action-preview.cjs +3 -3
- package/lib/panel-component/async-action/async-action-result/async-action-result.cjs +1 -1
- package/lib/panel-component/nav-pos-index/nav-pos-index.controller.cjs +2 -2
- package/lib/panel-component/panel-app-title/panel-app-title.cjs +2 -2
- package/lib/panel-component/panel-button/panel-button.css +1 -1
- package/lib/panel-component/panel-carousel/panel-carousel.controller.cjs +1 -1
- package/lib/panel-component/panel-video-player/panel-video-player.controller.cjs +2 -2
- package/lib/panel-component/split-container/split-container.controller.cjs +1 -1
- package/lib/panel-component/user-message/common/internal-message-default/internal-message-default.provider.cjs +1 -1
- package/lib/panel-component/user-message/user-message.cjs +1 -1
- package/lib/panel-component/user-message/user-message.util.cjs +1 -1
- package/lib/panel-component/view-content-panel-container/view-content-panel-container.cjs +12 -12
- package/lib/panel-component/view-content-panel-container/view-content-panel-container.css +1 -1
- package/lib/platform/ios-platform-provider.cjs +2 -2
- package/lib/platform/wechat-official-platform-provider.cjs +1 -1
- package/lib/util/ai-chat-util/ai-chat-util.cjs +204 -41
- package/lib/util/app-drawer/app-drawer-component.cjs +20 -6
- package/lib/util/app-modal/app-modal-component.cjs +7 -4
- package/lib/util/app-popover/app-popover-component.cjs +4 -4
- package/lib/util/app-util/app-util.cjs +38 -3
- package/lib/util/button-util/button-util.cjs +34 -0
- package/lib/util/confirm-util/confirm-util.cjs +4 -4
- package/lib/util/directive/loading.cjs +1 -1
- package/lib/util/fullscreen/fullscreen-util.cjs +1 -1
- package/lib/util/index.cjs +3 -0
- package/lib/util/list-util/list-render-util.cjs +24 -5
- package/lib/util/loading-util/loading-util.cjs +1 -1
- package/lib/util/open-view-util/open-view-util.cjs +1 -1
- package/lib/util/print-preview-util/print-preview-markdown/icon/icon.cjs +52 -0
- package/lib/util/print-preview-util/print-preview-markdown/print-preview-markdown.cjs +64 -0
- package/lib/util/print-preview-util/print-preview-markdown/print-preview-markdown.css +1 -0
- package/lib/util/print-preview-util/print-preview-util.cjs +59 -0
- package/lib/util/scan-qrcode/scan-qrcode.cjs +1 -1
- package/lib/util/user-route-util/user-route-util.cjs +4 -4
- package/lib/util/xlsx-util/xlsx-util.cjs +1 -1
- package/lib/view-engine/index-view.engine.cjs +4 -0
- package/lib/view-engine/index.cjs +31 -31
- package/lib/view-engine/login-view.engine.cjs +1 -1
- package/lib/view-engine/mob-calendar-view.engine.cjs +7 -0
- package/lib/view-engine/mob-edit-view.engine.cjs +1 -1
- package/lib/view-engine/mob-wf-dyna-action-view.engine.cjs +1 -1
- package/lib/view-engine/mob-wf-dyna-edit-view.engine.cjs +1 -1
- package/lib/view-engine/mob-wf-dyna-start-view.engine.cjs +1 -1
- package/package.json +9 -9
- package/dist/chart-j1WkpBhc.js +0 -2
- package/dist/ibiz-markdown-editor-COU_MxNu.js +0 -2
- package/dist/ibiz-markdown-editor-COU_MxNu.js.map +0 -1
- package/dist/index-Bn7VkqJp.js +0 -76
- package/dist/index-Bn7VkqJp.js.map +0 -1
- package/dist/index-ChdHGLJI.js +0 -2
- package/dist/index-Dd7yiMzY.js +0 -2
- package/dist/index.es-D0mZvSDS.js +0 -14
- package/dist/index.es-D0mZvSDS.js.map +0 -1
- package/dist/quill-BOA7ZLOz.js +0 -50
- package/dist/quill-editor-DcZd_lqh.js +0 -2
- package/dist/quill-editor-DcZd_lqh.js.map +0 -1
- package/dist/quill-editor-preview-DghpeKpg.js +0 -2
- package/dist/tree-BTa0bMPr.js +0 -2
- package/dist/xlsx-util-CQaOn5OK.js +0 -105
- package/dist/xlsx-util-CQaOn5OK.js.map +0 -1
- package/es/node_modules/.pnpm/@ibiz-template-plugin_ibiz-mob-ai-chat@0.0.1_cherry-markdown@0.8.58_interactjs@1.10.27_qx-uti_xgmgjpxet4ghyc7txs4jkjxilq/node_modules/@ibiz-template-plugin/ibiz-mob-ai-chat/dist/index.es.mjs +0 -4425
- package/lib/node_modules/.pnpm/@ibiz-template-plugin_ibiz-mob-ai-chat@0.0.1_cherry-markdown@0.8.58_interactjs@1.10.27_qx-uti_xgmgjpxet4ghyc7txs4jkjxilq/node_modules/@ibiz-template-plugin/ibiz-mob-ai-chat/dist/index.es.cjs +0 -4427
|
@@ -42,7 +42,7 @@ const IBizPreviewImage = /* @__PURE__ */ defineComponent({
|
|
|
42
42
|
const getOffsetCorrection = (start, end) => {
|
|
43
43
|
const x = (start.pageX + end.pageX) / 2;
|
|
44
44
|
const y = (start.pageY + end.pageY) / 2;
|
|
45
|
-
origin =
|
|
45
|
+
origin = "".concat(x, "px ").concat(y, "px");
|
|
46
46
|
const offsetLeft = (scale - 1) * (x - scaleOrigin.x) + offset.left;
|
|
47
47
|
const offsetTop = (scale - 1) * (y - scaleOrigin.y) + offset.top;
|
|
48
48
|
scaleOrigin = {
|
|
@@ -57,7 +57,7 @@ const IBizPreviewImage = /* @__PURE__ */ defineComponent({
|
|
|
57
57
|
const changeStyle = (el, arr) => {
|
|
58
58
|
const original = el.style.cssText.split(";");
|
|
59
59
|
original.pop();
|
|
60
|
-
el.style.cssText =
|
|
60
|
+
el.style.cssText = "".concat(original.concat(arr).join(";"), ";");
|
|
61
61
|
};
|
|
62
62
|
onMounted(() => {
|
|
63
63
|
if (imageRef.value) {
|
|
@@ -85,13 +85,13 @@ const IBizPreviewImage = /* @__PURE__ */ defineComponent({
|
|
|
85
85
|
const ratio = getDistance(touches[0], touches[1]) / lastDistance;
|
|
86
86
|
scale = ratio * lastScale;
|
|
87
87
|
offset = getOffsetCorrection(touches[0], touches[1]);
|
|
88
|
-
changeStyle(el, ["transition: all 0s",
|
|
88
|
+
changeStyle(el, ["transition: all 0s", "transform: translate(".concat("".concat(offset.left, "px"), ", ").concat("".concat(offset.top, "px"), ") scale(").concat(scale, ")"), "transform-origin: ".concat(origin)]);
|
|
89
89
|
} else if (touches.length === 1) {
|
|
90
90
|
offset = {
|
|
91
91
|
left: offset.left + (touches[0].clientX - startPoint.x),
|
|
92
92
|
top: offset.top + (touches[0].clientY - startPoint.y)
|
|
93
93
|
};
|
|
94
|
-
changeStyle(el, ["transition: all 0s",
|
|
94
|
+
changeStyle(el, ["transition: all 0s", "transform: translate(".concat("".concat(offset.left, "px"), ", ").concat("".concat(offset.top, "px"), ") scale(").concat(scale, ")"), "transform-origin: ".concat(origin)]);
|
|
95
95
|
startPoint = {
|
|
96
96
|
x: touches[0].clientX,
|
|
97
97
|
y: touches[0].clientY
|
|
@@ -81,7 +81,7 @@ const IBizRawItem = /* @__PURE__ */ defineComponent({
|
|
|
81
81
|
let value;
|
|
82
82
|
const params = rawItem == null ? void 0 : rawItem.rawItemParams;
|
|
83
83
|
if (!params) {
|
|
84
|
-
ibiz.log.error(
|
|
84
|
+
ibiz.log.error("\u672A\u914D\u7F6E\u89C6\u9891\u64AD\u653E\u53C2\u6570:".concat(key, "}"));
|
|
85
85
|
return void 0;
|
|
86
86
|
}
|
|
87
87
|
params.forEach((item) => {
|
|
@@ -127,7 +127,7 @@ const IBizRawItem = /* @__PURE__ */ defineComponent({
|
|
|
127
127
|
alertParams.value.title = rawItemContent.value;
|
|
128
128
|
alertParams.value["left-icon"] = messageTypeIcon[rawItemType.value];
|
|
129
129
|
}
|
|
130
|
-
const func = new Function(
|
|
130
|
+
const func = new Function("return (".concat(rawItemContent.value, ");"));
|
|
131
131
|
rawConfig = func();
|
|
132
132
|
switch (rawItemType.value) {
|
|
133
133
|
case "VIDEO":
|
package/es/common/row/row.mjs
CHANGED
|
@@ -28,7 +28,7 @@ const IBizRow = /* @__PURE__ */ defineComponent({
|
|
|
28
28
|
const _dir = dir || "column";
|
|
29
29
|
return createVNode("div", {
|
|
30
30
|
"class": [this.ns.b(), this.ns.m("flex")],
|
|
31
|
-
"style":
|
|
31
|
+
"style": "display:flex;flex-direction: ".concat(_dir, ";justify-content: ").concat(align, ";align-items: ").concat(valign, ";")
|
|
32
32
|
}, [defaultSlot]);
|
|
33
33
|
}
|
|
34
34
|
return createVNode(resolveComponent("van-row"), {
|
|
@@ -56,13 +56,13 @@ const IBizSplit = /* @__PURE__ */ defineComponent({
|
|
|
56
56
|
};
|
|
57
57
|
const getMax = (value1, value2) => {
|
|
58
58
|
if (valueIsPx.value)
|
|
59
|
-
return
|
|
59
|
+
return "".concat(Math.max(parseFloat(value1), parseFloat(value2)), "px");
|
|
60
60
|
return Math.max(value1, value2);
|
|
61
61
|
};
|
|
62
62
|
const getAnotherOffset = (value) => {
|
|
63
63
|
let res = 0;
|
|
64
64
|
if (valueIsPx.value)
|
|
65
|
-
res =
|
|
65
|
+
res = "".concat(outerWrapper.value[offsetSize.value] - parseFloat(value), "px");
|
|
66
66
|
else
|
|
67
67
|
res = 1 - value;
|
|
68
68
|
return res;
|
|
@@ -73,7 +73,7 @@ const IBizSplit = /* @__PURE__ */ defineComponent({
|
|
|
73
73
|
const pageOffset = isHorizontal.value ? e.pageX : e.pageY;
|
|
74
74
|
const moveOffset = pageOffset - initOffset.value;
|
|
75
75
|
const outerWidth = outerWrapper.value[offsetSize.value];
|
|
76
|
-
let value = valueIsPx.value ?
|
|
76
|
+
let value = valueIsPx.value ? "".concat(parseFloat(oldOffset.value) + moveOffset, "px") : px2percent(outerWidth * oldOffset.value + moveOffset, outerWidth);
|
|
77
77
|
const anotherValue = getAnotherOffset(value);
|
|
78
78
|
if (parseFloat(value) <= parseFloat(computedMin.value)) {
|
|
79
79
|
value = getMax(value, computedMin.value);
|
|
@@ -142,12 +142,12 @@ const IBizSplit = /* @__PURE__ */ defineComponent({
|
|
|
142
142
|
"class": this.ns.m("horizontal")
|
|
143
143
|
}, [createVNode("div", {
|
|
144
144
|
"style": {
|
|
145
|
-
width:
|
|
145
|
+
width: "".concat(this.offset, "%")
|
|
146
146
|
},
|
|
147
147
|
"class": [this.paneClasses, this.ns.bm("pane", "left")]
|
|
148
148
|
}, [(_b = (_a = this.$slots).left) == null ? void 0 : _b.call(_a)]), createVNode("div", {
|
|
149
149
|
"style": {
|
|
150
|
-
left:
|
|
150
|
+
left: "".concat(this.offset, "%")
|
|
151
151
|
},
|
|
152
152
|
"class": this.ns.b("trigger-con"),
|
|
153
153
|
"tabindex": 0,
|
|
@@ -156,19 +156,19 @@ const IBizSplit = /* @__PURE__ */ defineComponent({
|
|
|
156
156
|
"mode": "vertical"
|
|
157
157
|
}, null)]), createVNode("div", {
|
|
158
158
|
"style": {
|
|
159
|
-
width:
|
|
159
|
+
width: "".concat(this.anotherOffset, "%")
|
|
160
160
|
},
|
|
161
161
|
"class": [this.paneClasses, this.ns.bm("pane", "right")]
|
|
162
162
|
}, [(_f = (_e = this.$slots).right) == null ? void 0 : _f.call(_e)])]) : createVNode("div", {
|
|
163
163
|
"class": this.ns.m("vertical")
|
|
164
164
|
}, [createVNode("div", {
|
|
165
165
|
"style": {
|
|
166
|
-
bottom:
|
|
166
|
+
bottom: "".concat(this.anotherOffset, "%")
|
|
167
167
|
},
|
|
168
168
|
"class": [this.paneClasses, this.ns.bm("pane", "top")]
|
|
169
169
|
}, [(_h = (_g = this.$slots).top) == null ? void 0 : _h.call(_g)]), createVNode("div", {
|
|
170
170
|
"style": {
|
|
171
|
-
top:
|
|
171
|
+
top: "".concat(this.offset, "%")
|
|
172
172
|
},
|
|
173
173
|
"class": this.ns.b("trigger-con"),
|
|
174
174
|
"tabindex": 0,
|
|
@@ -177,7 +177,7 @@ const IBizSplit = /* @__PURE__ */ defineComponent({
|
|
|
177
177
|
"mode": "horizontal"
|
|
178
178
|
}, null)]), createVNode("div", {
|
|
179
179
|
"style": {
|
|
180
|
-
top:
|
|
180
|
+
top: "".concat(this.offset, "%")
|
|
181
181
|
},
|
|
182
182
|
"class": [this.paneClasses, this.ns.bm("pane", "bottom")]
|
|
183
183
|
}, [(_l = (_k = this.$slots).bottom) == null ? void 0 : _l.call(_k)])])]);
|
|
@@ -28,7 +28,7 @@ const IBizSplitTrigger = /* @__PURE__ */ defineComponent({
|
|
|
28
28
|
"class": this.barConClasses
|
|
29
29
|
}, [this.items.map((_item, i) => createVNode("i", {
|
|
30
30
|
"class": this.ns.b("bar"),
|
|
31
|
-
"key":
|
|
31
|
+
"key": "trigger-".concat(i)
|
|
32
32
|
}, null))])]);
|
|
33
33
|
}
|
|
34
34
|
});
|
|
@@ -41,7 +41,7 @@ const TabDropdown = /* @__PURE__ */ defineComponent({
|
|
|
41
41
|
noArrow: true,
|
|
42
42
|
autoClose: true,
|
|
43
43
|
placement: "bottom-end",
|
|
44
|
-
modalClass:
|
|
44
|
+
modalClass: "".concat(ns.e("list-modal")),
|
|
45
45
|
appendTo: (_a = tabDropdownRef.value) == null ? void 0 : _a.$el
|
|
46
46
|
});
|
|
47
47
|
floatOverlay.present(_currentTarget);
|
|
@@ -41,7 +41,7 @@ const AppMenuControl = /* @__PURE__ */ defineComponent({
|
|
|
41
41
|
},
|
|
42
42
|
setup() {
|
|
43
43
|
const c = useControlController((...args) => new AppMenuController(...args));
|
|
44
|
-
const ns = useNamespace(
|
|
44
|
+
const ns = useNamespace("control-".concat(c.model.controlType.toLowerCase()));
|
|
45
45
|
const activeName = ref();
|
|
46
46
|
const {
|
|
47
47
|
onCustomizedClick
|
|
@@ -82,7 +82,7 @@ const MenuDesign = /* @__PURE__ */ defineComponent({
|
|
|
82
82
|
}
|
|
83
83
|
};
|
|
84
84
|
const renderNodeItem = (_item, _level, isGroup) => {
|
|
85
|
-
const marginLeft =
|
|
85
|
+
const marginLeft = "calc(".concat(_level, " * var(").concat(ns.cssVarBlockName("spacing-node-item-margin-left"), "))");
|
|
86
86
|
let checked = menuMap.value.has(_item.id || "");
|
|
87
87
|
return createVNode("div", {
|
|
88
88
|
"class": [ns.e("item"), ns.is("group-item", !!isGroup)],
|
|
@@ -32,7 +32,7 @@ const AppMenuIconViewControl = /* @__PURE__ */ defineComponent({
|
|
|
32
32
|
setup() {
|
|
33
33
|
var _a;
|
|
34
34
|
const c = useControlController((...args) => new AppMenuController(...args));
|
|
35
|
-
const ns = useNamespace(
|
|
35
|
+
const ns = useNamespace("control-".concat(c.model.controlType.toLowerCase(), "-").concat((_a = c.model.controlStyle) == null ? void 0 : _a.toLowerCase()));
|
|
36
36
|
const {
|
|
37
37
|
onCustomizedClick
|
|
38
38
|
} = useMenuRender(c);
|
|
@@ -9,7 +9,7 @@ const IBizAppMenuIconViewControl = withInstall(
|
|
|
9
9
|
function(v) {
|
|
10
10
|
v.component(AppMenuIconViewControl.name, AppMenuIconViewControl);
|
|
11
11
|
registerControlProvider(
|
|
12
|
-
|
|
12
|
+
"".concat(ControlType.APP_MENU, "_ICONVIEW"),
|
|
13
13
|
() => new AppMenuIconViewProvider()
|
|
14
14
|
);
|
|
15
15
|
}
|
|
@@ -32,7 +32,7 @@ const AppMenuListViewControl = /* @__PURE__ */ defineComponent({
|
|
|
32
32
|
setup() {
|
|
33
33
|
var _a;
|
|
34
34
|
const c = useControlController((...args) => new AppMenuController(...args));
|
|
35
|
-
const ns = useNamespace(
|
|
35
|
+
const ns = useNamespace("control-".concat(c.model.controlType.toLowerCase(), "-").concat((_a = c.model.controlStyle) == null ? void 0 : _a.toLowerCase()));
|
|
36
36
|
const {
|
|
37
37
|
onCustomizedClick
|
|
38
38
|
} = useMenuRender(c);
|
|
@@ -9,7 +9,7 @@ const IBizAppMenuListViewControl = withInstall(
|
|
|
9
9
|
function(v) {
|
|
10
10
|
v.component(AppMenuListViewControl.name, AppMenuListViewControl);
|
|
11
11
|
registerControlProvider(
|
|
12
|
-
|
|
12
|
+
"".concat(ControlType.APP_MENU, "_LISTVIEW"),
|
|
13
13
|
() => new AppMenuListViewProvider()
|
|
14
14
|
);
|
|
15
15
|
}
|
|
@@ -68,7 +68,7 @@ const CalendarControl = /* @__PURE__ */ defineComponent({
|
|
|
68
68
|
},
|
|
69
69
|
setup() {
|
|
70
70
|
const c = useControlController((...args) => new CalendarController(...args));
|
|
71
|
-
const ns = useNamespace(
|
|
71
|
+
const ns = useNamespace("control-".concat(c.model.controlType.toLowerCase()));
|
|
72
72
|
const loadItems = ref([]);
|
|
73
73
|
const infiniteScroll = ref();
|
|
74
74
|
const disabledLodeMore = computed(() => {
|
|
@@ -329,7 +329,7 @@ const CalendarControl = /* @__PURE__ */ defineComponent({
|
|
|
329
329
|
"title": label,
|
|
330
330
|
"title-class": this.ns.be("footer", "tab-item"),
|
|
331
331
|
"title-style": {
|
|
332
|
-
[
|
|
332
|
+
["--".concat(this.ns.b(), "-tab-bg")]: calendarItem.bkcolor
|
|
333
333
|
}
|
|
334
334
|
}, {
|
|
335
335
|
default: () => [createVNode(resolveComponent("van-list"), null, _isSlot(_slot = renderCalendarListByItemType(calendarItem.itemType)) ? _slot : {
|
|
@@ -343,7 +343,7 @@ const CalendarControl = /* @__PURE__ */ defineComponent({
|
|
|
343
343
|
"show": this.visible,
|
|
344
344
|
"onUpdate:show": ($event) => this.visible = $event,
|
|
345
345
|
"style": {
|
|
346
|
-
height: "
|
|
346
|
+
height: "auto"
|
|
347
347
|
},
|
|
348
348
|
"teleport": "body",
|
|
349
349
|
"position": "bottom"
|
|
@@ -372,8 +372,8 @@ const CalendarControl = /* @__PURE__ */ defineComponent({
|
|
|
372
372
|
});
|
|
373
373
|
groupMap.forEach((children, key) => {
|
|
374
374
|
groups.push({
|
|
375
|
-
key:
|
|
376
|
-
caption: key ? dayjs(key).format(this.c.timelineCaptionFormat) :
|
|
375
|
+
key: "".concat(key),
|
|
376
|
+
caption: key ? dayjs(key).format(this.c.timelineCaptionFormat) : "".concat(key),
|
|
377
377
|
children
|
|
378
378
|
});
|
|
379
379
|
});
|
|
@@ -394,7 +394,7 @@ const CalendarControl = /* @__PURE__ */ defineComponent({
|
|
|
394
394
|
const style = {};
|
|
395
395
|
if (model == null ? void 0 : model.bkcolor) {
|
|
396
396
|
Object.assign(style, {
|
|
397
|
-
[
|
|
397
|
+
["--".concat(this.ns.b(), "-timeline-item-bg-color")]: model.bkcolor
|
|
398
398
|
});
|
|
399
399
|
}
|
|
400
400
|
return createVNode("div", {
|
|
@@ -38,7 +38,7 @@ const CaptionBarControl = /* @__PURE__ */ defineComponent({
|
|
|
38
38
|
},
|
|
39
39
|
setup() {
|
|
40
40
|
const c = useControlController((...args) => new CaptionBarController(...args));
|
|
41
|
-
const ns = useNamespace(
|
|
41
|
+
const ns = useNamespace("control-".concat(c.model.controlType.toLowerCase()));
|
|
42
42
|
c.setBrowserTabTitle();
|
|
43
43
|
onActivated(() => {
|
|
44
44
|
c.setBrowserTabTitle();
|
|
@@ -54,7 +54,7 @@ const ChartControl = /* @__PURE__ */ defineComponent({
|
|
|
54
54
|
},
|
|
55
55
|
setup() {
|
|
56
56
|
const c = useControlController((...args) => new ChartController(...args));
|
|
57
|
-
const ns = useNamespace(
|
|
57
|
+
const ns = useNamespace("control-".concat(c.model.controlType.toLowerCase()));
|
|
58
58
|
const chartRef = ref();
|
|
59
59
|
let resizeObserver;
|
|
60
60
|
onMounted(() => {
|
|
@@ -73,7 +73,7 @@ const DashboardControl = /* @__PURE__ */ defineComponent({
|
|
|
73
73
|
},
|
|
74
74
|
setup() {
|
|
75
75
|
const c = useControlController((...args) => new DashboardController(...args));
|
|
76
|
-
const ns = useNamespace(
|
|
76
|
+
const ns = useNamespace("control-".concat(c.model.controlType.toLowerCase()));
|
|
77
77
|
c.evt.on("onInitPortlets", () => {
|
|
78
78
|
Object.values(c.portlets).forEach((portlet) => {
|
|
79
79
|
if (!isReactive(portlet.state)) {
|
|
@@ -102,6 +102,8 @@ const DashboardControl = /* @__PURE__ */ defineComponent({
|
|
|
102
102
|
controller: c
|
|
103
103
|
});
|
|
104
104
|
}, {}, {
|
|
105
|
+
width: 100,
|
|
106
|
+
height: 80,
|
|
105
107
|
attrs: {
|
|
106
108
|
position: "bottom",
|
|
107
109
|
closeable: false
|
|
@@ -17,7 +17,7 @@ const ActionBarPortlet = /* @__PURE__ */ defineComponent({
|
|
|
17
17
|
},
|
|
18
18
|
setup(props) {
|
|
19
19
|
var _a;
|
|
20
|
-
const ns = useNamespace(
|
|
20
|
+
const ns = useNamespace("portlet-".concat((_a = props.modelData.portletType) == null ? void 0 : _a.toLowerCase()));
|
|
21
21
|
const zIndex = props.controller.dashboard.state.zIndex;
|
|
22
22
|
const onActionClick = async (detail, event) => {
|
|
23
23
|
await props.controller.onActionClick(detail, event);
|
|
@@ -20,7 +20,7 @@ const ChartPortlet = /* @__PURE__ */ defineComponent({
|
|
|
20
20
|
},
|
|
21
21
|
setup(props) {
|
|
22
22
|
var _a, _b;
|
|
23
|
-
const ns = useNamespace(
|
|
23
|
+
const ns = useNamespace("portlet-".concat((_a = props.modelData.portletType) == null ? void 0 : _a.toLowerCase()));
|
|
24
24
|
const chart = (_b = props.modelData.controls) == null ? void 0 : _b.find((item) => {
|
|
25
25
|
return item.controlType === ControlType.CHART;
|
|
26
26
|
});
|
|
@@ -20,7 +20,7 @@ const ContainerPortlet = /* @__PURE__ */ defineComponent({
|
|
|
20
20
|
},
|
|
21
21
|
setup(props) {
|
|
22
22
|
var _a;
|
|
23
|
-
const ns = useNamespace(
|
|
23
|
+
const ns = useNamespace("portlet-".concat((_a = props.modelData.portletType) == null ? void 0 : _a.toLowerCase()));
|
|
24
24
|
return {
|
|
25
25
|
ns
|
|
26
26
|
};
|
|
@@ -18,7 +18,7 @@ const HtmlPortlet = /* @__PURE__ */ defineComponent({
|
|
|
18
18
|
},
|
|
19
19
|
setup(props) {
|
|
20
20
|
var _a;
|
|
21
|
-
const ns = useNamespace(
|
|
21
|
+
const ns = useNamespace("portlet-".concat((_a = props.modelData.portletType) == null ? void 0 : _a.toLowerCase()));
|
|
22
22
|
return {
|
|
23
23
|
ns
|
|
24
24
|
};
|
|
@@ -20,7 +20,7 @@ const ListPortlet = /* @__PURE__ */ defineComponent({
|
|
|
20
20
|
},
|
|
21
21
|
setup(props) {
|
|
22
22
|
var _a, _b;
|
|
23
|
-
const ns = useNamespace(
|
|
23
|
+
const ns = useNamespace("portlet-".concat((_a = props.modelData.portletType) == null ? void 0 : _a.toLowerCase()));
|
|
24
24
|
const list = (_b = props.modelData.controls) == null ? void 0 : _b.find((item) => {
|
|
25
25
|
return item.controlType === ControlType.LIST;
|
|
26
26
|
});
|
|
@@ -17,7 +17,7 @@ const MenuPortlet = /* @__PURE__ */ defineComponent({
|
|
|
17
17
|
},
|
|
18
18
|
setup(props) {
|
|
19
19
|
var _a, _b;
|
|
20
|
-
const ns = useNamespace(
|
|
20
|
+
const ns = useNamespace("portlet-".concat((_a = props.modelData.portletType) == null ? void 0 : _a.toLowerCase()));
|
|
21
21
|
const menu = (_b = props.modelData.controls) == null ? void 0 : _b.find((item) => {
|
|
22
22
|
return item.controlType === "APPMENU";
|
|
23
23
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-portlet-layout{--ibiz-portlet-layout-color-bg-color:var(--ibiz-color-bg-1);--ibiz-portlet-layout-color-header-bg-color:var(--ibiz-color-bg-0);--ibiz-portlet-layout-color-caption-color:var(--ibiz-color-text-1);--ibiz-portlet-layout-color-content-bg-color:transparent;--ibiz-portlet-layout-height-header-height:3.125rem;--ibiz-portlet-layout-width-caption-max-width:18.75rem;--ibiz-portlet-layout-spacing-header-padding:0 var(--ibiz-spacing-base);--ibiz-portlet-layout-spacing-header-margin:0;--ibiz-portlet-layout-spacing-content-padding:var(--ibiz-spacing-tight) var(--ibiz-spacing-base);--ibiz-portlet-layout-spacing-content-margin:0;--ibiz-portlet-layout-font-caption-fontWeight:var(--ibiz-font-weight-regular);--ibiz-portlet-layout-font-caption-fontSize:var(--ibiz-font-size-header-6);--ibiz-portlet-layout-radius-border-radius:var(--ibiz-border-radius-medium);--ibiz-portlet-layout-header-border-bottom:0.0625rem solid var(--ibiz-color-border);width:100%;height:100%;background-color:var(--ibiz-portlet-layout-color-bg-color);border-radius:var(--ibiz-portlet-layout-radius-border-radius)}.ibiz-portlet-layout__caption{max-width:var(--ibiz-portlet-layout-width-caption-max-width)}.ibiz-portlet-layout__caption-text{overflow:hidden;font-size:var(--ibiz-portlet-layout-font-caption-fontSize);font-weight:var(--ibiz-portlet-layout-font-caption-fontWeight);color:var(--ibiz-portlet-layout-caption-color);text-overflow:ellipsis;white-space:nowrap}.ibiz-portlet-layout__toolbar{display:flex;align-items:center;height:100%}.ibiz-portlet-layout.is-no-header>.ibiz-portlet-layout-content{height:100%;padding:0}.ibiz-portlet-layout .van-index-anchor{padding:0;font-size:inherit;font-weight:inherit;line-height:inherit;color:inherit;background:inherit}.ibiz-portlet-layout-header{display:flex;justify-content:space-between}.ibiz-portlet-layout-header.is-custom{position:relative}.ibiz-portlet-layout-header.is-custom .ibiz-portlet-layout-header__left{z-index:1}.ibiz-portlet-layout-header.is-custom .ibiz-portlet-layout-header__right{z-index:1}.ibiz-portlet-layout-header.is-custom .ibiz-portlet-layout-header__bg{position:absolute;top:0;left:0;width:100%;height:100%}.ibiz-portlet-layout-header{height:var(--ibiz-portlet-layout-height-header-height);padding:var(--ibiz-portlet-layout-spacing-header-padding);margin:var(--ibiz-portlet-layout-spacing-header-margin);line-height:var(--ibiz-portlet-layout-height-header-height);background-color:var(--ibiz-portlet-layout-color-header-bg-color)}.ibiz-portlet-layout-content{height:calc(100% - var(--ibiz-portlet-layout-height-header-height));padding:var(--ibiz-portlet-layout-spacing-content-padding);margin:var(--ibiz-portlet-layout-spacing-content-margin);background-color:var(--ibiz-portlet-layout-color-content-bg-color)}
|
|
1
|
+
.ibiz-portlet-layout{--ibiz-portlet-layout-color-bg-color:var(--ibiz-color-bg-1);--ibiz-portlet-layout-color-header-bg-color:var(--ibiz-color-bg-0);--ibiz-portlet-layout-color-caption-color:var(--ibiz-color-text-1);--ibiz-portlet-layout-color-content-bg-color:transparent;--ibiz-portlet-layout-height-header-height:3.125rem;--ibiz-portlet-layout-width-caption-max-width:18.75rem;--ibiz-portlet-layout-spacing-header-padding:0 var(--ibiz-spacing-base);--ibiz-portlet-layout-spacing-header-margin:0;--ibiz-portlet-layout-spacing-content-padding:var(--ibiz-spacing-tight) var(--ibiz-spacing-base);--ibiz-portlet-layout-spacing-content-margin:0;--ibiz-portlet-layout-font-caption-fontWeight:var(--ibiz-font-weight-regular);--ibiz-portlet-layout-font-caption-fontSize:var(--ibiz-font-size-header-6);--ibiz-portlet-layout-radius-border-radius:var(--ibiz-border-radius-medium);--ibiz-portlet-layout-header-border-bottom:0.0625rem solid var(--ibiz-color-border);width:100%;height:100%;background-color:var(--ibiz-portlet-layout-color-bg-color);border-radius:var(--ibiz-portlet-layout-radius-border-radius)}.ibiz-portlet-layout__caption{max-width:var(--ibiz-portlet-layout-width-caption-max-width)}.ibiz-portlet-layout__caption-text{overflow:hidden;font-size:var(--ibiz-portlet-layout-font-caption-fontSize);font-weight:var(--ibiz-portlet-layout-font-caption-fontWeight);color:var(--ibiz-portlet-layout-color-caption-color);text-overflow:ellipsis;white-space:nowrap}.ibiz-portlet-layout__toolbar{display:flex;align-items:center;height:100%}.ibiz-portlet-layout.is-no-header>.ibiz-portlet-layout-content{height:100%;padding:0}.ibiz-portlet-layout .van-index-anchor{padding:0;font-size:inherit;font-weight:inherit;line-height:inherit;color:inherit;background:inherit}.ibiz-portlet-layout-header{display:flex;justify-content:space-between}.ibiz-portlet-layout-header.is-custom{position:relative}.ibiz-portlet-layout-header.is-custom .ibiz-portlet-layout-header__left{z-index:1}.ibiz-portlet-layout-header.is-custom .ibiz-portlet-layout-header__right{z-index:1}.ibiz-portlet-layout-header.is-custom .ibiz-portlet-layout-header__bg{position:absolute;top:0;left:0;width:100%;height:100%}.ibiz-portlet-layout-header{height:var(--ibiz-portlet-layout-height-header-height);padding:var(--ibiz-portlet-layout-spacing-header-padding);margin:var(--ibiz-portlet-layout-spacing-header-margin);line-height:var(--ibiz-portlet-layout-height-header-height);background-color:var(--ibiz-portlet-layout-color-header-bg-color)}.ibiz-portlet-layout-content{height:calc(100% - var(--ibiz-portlet-layout-height-header-height));padding:var(--ibiz-portlet-layout-spacing-content-padding);margin:var(--ibiz-portlet-layout-spacing-content-margin);background-color:var(--ibiz-portlet-layout-color-content-bg-color)}
|
|
@@ -28,10 +28,10 @@ const PortletLayout = /* @__PURE__ */ defineComponent({
|
|
|
28
28
|
await props.controller.onActionClick(detail, event);
|
|
29
29
|
};
|
|
30
30
|
const controlRenders = c.dashboard.model.controlRenders;
|
|
31
|
-
const header = controlRenders == null ? void 0 : controlRenders.find((item) =>
|
|
32
|
-
const headerCaption = controlRenders == null ? void 0 : controlRenders.find((item) =>
|
|
33
|
-
const headerBg = controlRenders == null ? void 0 : controlRenders.find((item) =>
|
|
34
|
-
const headerAction = controlRenders == null ? void 0 : controlRenders.find((item) =>
|
|
31
|
+
const header = controlRenders == null ? void 0 : controlRenders.find((item) => "dashboard_".concat(item.id) === "".concat(c.model.name, "_mob_header"));
|
|
32
|
+
const headerCaption = controlRenders == null ? void 0 : controlRenders.find((item) => "dashboard_".concat(item.id) === "".concat(c.model.name, "_mob_header_caption"));
|
|
33
|
+
const headerBg = controlRenders == null ? void 0 : controlRenders.find((item) => "dashboard_".concat(item.id) === "".concat(c.model.name, "_mob_header_bg"));
|
|
34
|
+
const headerAction = controlRenders == null ? void 0 : controlRenders.find((item) => "dashboard_".concat(item.id) === "".concat(c.model.name, "_mob_header_action"));
|
|
35
35
|
const renderContent = (model) => {
|
|
36
36
|
if (model.renderType === "LAYOUTPANEL_MODEL" && model.layoutPanelModel) {
|
|
37
37
|
const htmlCode = ScriptFactory.execScriptFn({
|
|
@@ -20,7 +20,7 @@ const RawItemPortlet = /* @__PURE__ */ defineComponent({
|
|
|
20
20
|
},
|
|
21
21
|
setup(props) {
|
|
22
22
|
var _a;
|
|
23
|
-
const ns = useNamespace(
|
|
23
|
+
const ns = useNamespace("portlet-".concat((_a = props.modelData.portletType) == null ? void 0 : _a.toLowerCase()));
|
|
24
24
|
const rawItem = props.modelData;
|
|
25
25
|
return {
|
|
26
26
|
ns,
|
|
@@ -20,7 +20,7 @@ const ViewPortlet = /* @__PURE__ */ defineComponent({
|
|
|
20
20
|
},
|
|
21
21
|
setup(props) {
|
|
22
22
|
var _a;
|
|
23
|
-
const ns = useNamespace(
|
|
23
|
+
const ns = useNamespace("portlet-".concat((_a = props.modelData.portletType) == null ? void 0 : _a.toLowerCase()));
|
|
24
24
|
const view = props.modelData.portletAppView;
|
|
25
25
|
return {
|
|
26
26
|
ns,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-control-dataview{--ibiz-control-dataview-color-text:var(--ibiz-color-text-0);--ibiz-control-dataview-color-bg:var(--ibiz-color-bg-0);--ibiz-control-dataview-color-item-active:var(--ibiz-color-primary-light-default);--ibiz-control-dataview-color-group-bg:var(--ibiz-color-bg-0);--ibiz-control-dataview-color-group-text:var(--ibiz-color-text-1);--ibiz-control-dataview-spacing-item-padding:var(--ibiz-spacing-base-tight) var(--ibiz-spacing-base);--ibiz-control-dataview-spacing-padding:var(--ibiz-spacing-tight) var(--ibiz-spacing-base);--ibiz-control-dataview-spacing-item-gap:var(--ibiz-spacing-base-tight);--ibiz-control-dataview-spacing-group-padding:var(--ibiz-spacing-tight) var(--ibiz-spacing-base);--ibiz-control-dataview-font-group-fontSize:var(--ibiz-font-size-header-6);--ibiz-control-dataview-font-group-lineHeight:var(--ibiz-height-control-default);--ibiz-control-dataview-shadow:var(--ibiz-shadow-elevated);height:100%;--van-card-thumb-size:auto}.ibiz-control-dataview__content-container{height:100%;width:100%}.ibiz-control-dataview__content{display:flex;flex-wrap:wrap;max-height:100%;gap:var(--ibiz-control-dataview-spacing-item-gap);overflow:var(--ibiz-control-overflow);padding:var(--ibiz-control-dataview-spacing-padding)}.ibiz-control-dataview__content .van-list__error-text,.ibiz-control-dataview__content .van-list__finished-text,.ibiz-control-dataview__content .van-list__loading{width:100%}.ibiz-control-dataview__row{gap:0;margin:calc(-1 * var(--ibiz-control-dataview-spacing-item-gap)/ 2)}.ibiz-control-dataview__row .ibiz-control-dataview__item-col{padding:calc(var(--ibiz-control-dataview-spacing-item-gap)/ 2)}.ibiz-control-dataview.is-enable-pagination{display:flex;flex-direction:column}.ibiz-control-dataview.is-enable-pagination .ibiz-control-dataview__content-container{flex:auto;height:0}.ibiz-control-dataview.is-enable-pagination .ibiz-control-dataview__pagination{flex:none}.ibiz-control-dataview.is-hidden-finished .van-list__finished-text{display:none}.ibiz-control-dataview.is-enable-group .ibiz-control-dataview__content{padding:0}.ibiz-control-dataview.is-enable-group .ibiz-control-dataview-group__item{padding:var(--ibiz-control-dataview-spacing-padding)}.ibiz-control-dataview__anchor{width:100%}.ibiz-control-dataview__anchor .van-index-anchor{padding:0}.ibiz-control-dataview-item{flex:none;padding:var(--ibiz-control-dataview-spacing-item-padding);box-shadow:var(--ibiz-control-dataview-shadow);color:var(--ibiz-control-dataview-color-text);background-color:var(--ibiz-control-dataview-color-bg);width:100%}.ibiz-control-dataview-item.is-active{background-color:var(--ibiz-control-dataview-color-item-active)}.ibiz-control-dataview-item>.van-card{padding:0;background-color:transparent;color:inherit}.ibiz-control-dataview-group{height:100%;width:100%}.ibiz-control-dataview-group__container{width:100%;height:100%}.ibiz-control-dataview-group__item{display:flex;flex-direction:column;gap:var(--ibiz-control-dataview-spacing-item-gap)}.ibiz-control-dataview-group__caption{padding:var(--ibiz-control-dataview-spacing-group-padding);font-size:var(--ibiz-control-dataview-font-group-fontSize);line-height:var(--ibiz-control-dataview-font-group-lineHeight);color:var(--ibiz-control-dataview-color-group-text);background-color:var(--ibiz-control-dataview-color-group-bg)}.ibiz-control-dataview-quicktoolbar{width:100%;display:flex;align-items:center;justify-content:center}.ibiz-view-content-refresh .ibiz-control-dataview.is-enable-pagination{position:relative}.ibiz-view-content-refresh .ibiz-control-dataview.is-enable-pagination .ibiz-control-dataview__content-container{height:auto}.ibiz-view-content-refresh .ibiz-control-dataview.is-enable-pagination .ibiz-control-dataview__pagination{position:sticky;bottom:0;width:100%;background-color:var(--ibiz-color-bg-1)}
|
|
1
|
+
.ibiz-control-dataview{--ibiz-control-dataview-color-text:var(--ibiz-color-text-0);--ibiz-control-dataview-color-bg:var(--ibiz-color-bg-0);--ibiz-control-dataview-color-item-active:var(--ibiz-color-primary-light-default);--ibiz-control-dataview-color-group-bg:var(--ibiz-color-bg-0);--ibiz-control-dataview-color-group-text:var(--ibiz-color-text-1);--ibiz-control-dataview-spacing-item-padding:var(--ibiz-spacing-base-tight) var(--ibiz-spacing-base);--ibiz-control-dataview-spacing-padding:var(--ibiz-spacing-tight) var(--ibiz-spacing-base);--ibiz-control-dataview-spacing-item-gap:var(--ibiz-spacing-base-tight);--ibiz-control-dataview-spacing-group-padding:var(--ibiz-spacing-tight) var(--ibiz-spacing-base);--ibiz-control-dataview-font-group-fontSize:var(--ibiz-font-size-header-6);--ibiz-control-dataview-font-group-lineHeight:var(--ibiz-height-control-default);--ibiz-control-dataview-shadow:var(--ibiz-shadow-elevated);height:100%;--van-card-thumb-size:auto}.ibiz-control-dataview__content-container{height:100%;width:100%}.ibiz-control-dataview__content{display:flex;flex-wrap:wrap;max-height:100%;gap:var(--ibiz-control-dataview-spacing-item-gap);overflow:var(--ibiz-control-overflow);padding:var(--ibiz-control-dataview-spacing-padding)}.ibiz-control-dataview__content .van-list__error-text,.ibiz-control-dataview__content .van-list__finished-text,.ibiz-control-dataview__content .van-list__loading{width:100%}.ibiz-control-dataview__row{gap:0;margin:calc(-1 * var(--ibiz-control-dataview-spacing-item-gap)/ 2)}.ibiz-control-dataview__row .ibiz-control-dataview__item-col{padding:calc(var(--ibiz-control-dataview-spacing-item-gap)/ 2)}.ibiz-control-dataview.is-enable-pagination{display:flex;flex-direction:column}.ibiz-control-dataview.is-enable-pagination .ibiz-control-dataview__content-container{flex:auto;height:0}.ibiz-control-dataview.is-enable-pagination .ibiz-control-dataview__pagination{flex:none}.ibiz-control-dataview.is-scroll{--ibiz-control-overflow:unset auto}.ibiz-control-dataview.is-scroll .ibiz-control-dataview__content-container{overflow:auto}.ibiz-control-dataview.is-hidden-finished .van-list__finished-text{display:none}.ibiz-control-dataview.is-enable-group .ibiz-control-dataview__content{padding:0}.ibiz-control-dataview.is-enable-group .ibiz-control-dataview-group__item{padding:var(--ibiz-control-dataview-spacing-padding)}.ibiz-control-dataview__anchor{width:100%}.ibiz-control-dataview__anchor .van-index-anchor{padding:0}.ibiz-control-dataview-item{flex:none;padding:var(--ibiz-control-dataview-spacing-item-padding);box-shadow:var(--ibiz-control-dataview-shadow);color:var(--ibiz-control-dataview-color-text);background-color:var(--ibiz-control-dataview-color-bg);width:100%}.ibiz-control-dataview-item.is-active{background-color:var(--ibiz-control-dataview-color-item-active)}.ibiz-control-dataview-item>.van-card{padding:0;background-color:transparent;color:inherit}.ibiz-control-dataview-group{height:100%;width:100%}.ibiz-control-dataview-group__container{width:100%;height:100%}.ibiz-control-dataview-group__item{display:flex;flex-direction:column;gap:var(--ibiz-control-dataview-spacing-item-gap)}.ibiz-control-dataview-group__caption{padding:var(--ibiz-control-dataview-spacing-group-padding);font-size:var(--ibiz-control-dataview-font-group-fontSize);line-height:var(--ibiz-control-dataview-font-group-lineHeight);color:var(--ibiz-control-dataview-color-group-text);background-color:var(--ibiz-control-dataview-color-group-bg)}.ibiz-control-dataview-quicktoolbar{width:100%;display:flex;align-items:center;justify-content:center}.ibiz-view-content-refresh .ibiz-control-dataview.is-enable-pagination{position:relative}.ibiz-view-content-refresh .ibiz-control-dataview.is-enable-pagination .ibiz-control-dataview__content-container{height:auto}.ibiz-view-content-refresh .ibiz-control-dataview.is-enable-pagination .ibiz-control-dataview__pagination{position:sticky;bottom:0;width:100%;background-color:var(--ibiz-color-bg-1)}
|
|
@@ -74,7 +74,7 @@ const DataViewControl = /* @__PURE__ */ defineComponent({
|
|
|
74
74
|
},
|
|
75
75
|
setup(props) {
|
|
76
76
|
const c = useControlController((...args) => new DataViewControlController(...args));
|
|
77
|
-
const ns = useNamespace(
|
|
77
|
+
const ns = useNamespace("control-".concat(c.model.controlType.toLowerCase()));
|
|
78
78
|
const {
|
|
79
79
|
enableLoadMore,
|
|
80
80
|
renderNoData,
|
|
@@ -132,18 +132,18 @@ const DataViewControl = /* @__PURE__ */ defineComponent({
|
|
|
132
132
|
const cardStyle = {};
|
|
133
133
|
if (model.cardWidth) {
|
|
134
134
|
Object.assign(cardStyle, {
|
|
135
|
-
width:
|
|
135
|
+
width: "".concat(model.cardWidth, "px")
|
|
136
136
|
});
|
|
137
137
|
}
|
|
138
138
|
if (model.cardHeight) {
|
|
139
139
|
Object.assign(cardStyle, {
|
|
140
|
-
height:
|
|
140
|
+
height: "".concat(model.cardHeight, "px")
|
|
141
141
|
});
|
|
142
142
|
}
|
|
143
143
|
Object.assign(cardStyle, ns.cssVarBlock({
|
|
144
|
-
"color-bg":
|
|
145
|
-
"color-text":
|
|
146
|
-
"color-item-active":
|
|
144
|
+
"color-bg": "".concat(item.bgcolor || ""),
|
|
145
|
+
"color-text": "".concat(item.fontcolor || ""),
|
|
146
|
+
"color-item-active": "".concat(item.activecolor || "")
|
|
147
147
|
}));
|
|
148
148
|
return createVNode("div", {
|
|
149
149
|
"class": cardClass,
|
|
@@ -201,7 +201,7 @@ const DataViewControl = /* @__PURE__ */ defineComponent({
|
|
|
201
201
|
render() {
|
|
202
202
|
const enablePagingBar = this.c.state.enablePagingBar && this.c.model.pagingMode === 1;
|
|
203
203
|
return createVNode(resolveComponent("iBizControlBase"), {
|
|
204
|
-
"class": [this.ns.is("enable-pagination", enablePagingBar), this.ns.is("enable-group", this.c.enableGroup), this.ns.is("hidden-finished", enablePagingBar || this.c.enableGroup || this.enableLoadMore)],
|
|
204
|
+
"class": [this.ns.is("scroll", enablePagingBar), this.ns.is("enable-pagination", enablePagingBar), this.ns.is("enable-group", this.c.enableGroup), this.ns.is("hidden-finished", enablePagingBar || this.c.enableGroup || this.enableLoadMore)],
|
|
205
205
|
"controller": this.c
|
|
206
206
|
}, {
|
|
207
207
|
default: () => [createVNode("div", {
|
|
@@ -57,7 +57,7 @@ const DRBarControl = /* @__PURE__ */ defineComponent({
|
|
|
57
57
|
setup() {
|
|
58
58
|
var _a;
|
|
59
59
|
const c = useControlController((...args) => new DRBarController(...args));
|
|
60
|
-
const ns = useNamespace(
|
|
60
|
+
const ns = useNamespace("control-".concat(c.model.controlType.toLowerCase()));
|
|
61
61
|
const router = useRouter();
|
|
62
62
|
c.setRouter(router);
|
|
63
63
|
const counterData = reactive({});
|
|
@@ -178,7 +178,7 @@ class DRTabController extends ControlController {
|
|
|
178
178
|
if (drBarItem) {
|
|
179
179
|
this.setVisible("navPos");
|
|
180
180
|
this.openNavPosView(drBarItem, isRoutePushed, {
|
|
181
|
-
key:
|
|
181
|
+
key: "".concat(drBarItem.id, "-").concat(createUUID())
|
|
182
182
|
});
|
|
183
183
|
}
|
|
184
184
|
}
|
|
@@ -47,7 +47,7 @@ const DRTabControl = /* @__PURE__ */ defineComponent({
|
|
|
47
47
|
setup() {
|
|
48
48
|
var _a;
|
|
49
49
|
const c = useControlController((...args) => new DRTabController(...args));
|
|
50
|
-
const ns = useNamespace(
|
|
50
|
+
const ns = useNamespace("control-".concat(c.model.controlType.toLowerCase()));
|
|
51
51
|
const router = useRouter();
|
|
52
52
|
c.setRouter(router);
|
|
53
53
|
const counterData = ref({});
|
|
@@ -81,7 +81,7 @@ const EditFormControl = /* @__PURE__ */ defineComponent({
|
|
|
81
81
|
const c = useControlController((...args) => new EditFormController(...args), {
|
|
82
82
|
excludePropsKeys: ["data"]
|
|
83
83
|
});
|
|
84
|
-
const ns = useNamespace(
|
|
84
|
+
const ns = useNamespace("control-edit-form");
|
|
85
85
|
const filter = ref(void 0);
|
|
86
86
|
const anchorList = ref([]);
|
|
87
87
|
if (props.isSimple) {
|
|
@@ -56,9 +56,9 @@ const FormControl = /* @__PURE__ */ defineComponent({
|
|
|
56
56
|
});
|
|
57
57
|
}
|
|
58
58
|
const childSlots = {};
|
|
59
|
-
if (detail.detailType === "FORMITEM" && slots[
|
|
59
|
+
if (detail.detailType === "FORMITEM" && slots["".concat(detailId, "_editor")]) {
|
|
60
60
|
childSlots.default = (...args) => {
|
|
61
|
-
return slots[
|
|
61
|
+
return slots["".concat(detailId, "_editor")](...args);
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
64
|
const childDetails = findChildFormDetails(detail);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-form-button{--ibiz-form-button-width-icon:var(--ibiz-width-icon-medium);--ibiz-form-button-height-icon:var(--ibiz-width-icon-medium);--ibiz-form-button-spacing-padding:var(--ibiz-spacing-base) 0 var(--ibiz-spacing-base) var(--ibiz-spacing-base);--ibiz-form-button-spacing-gap:var(--ibiz-spacing-extra-tight);width:100%;height:100%;padding:var(--ibiz-form-button-spacing-padding);overflow:hidden}.ibiz-form-button .van-button{width:100%}.ibiz-form-button .van-button .ibiz-form-button-content{display:flex;align-items:center;justify-content:flex-start;gap:var(--ibiz-form-button-spacing-gap)}.ibiz-form-button .van-button .ibiz-form-button-content i,.ibiz-form-button .van-button .ibiz-form-button-content img{display:inline-block;max-width:var(--ibiz-form-button-width-icon);max-height:var(--ibiz-form-button-height-icon)}.ibiz-form-button.is-loading .van-button .ibiz-icon{display:none}
|
|
1
|
+
.ibiz-form-button{--ibiz-form-button-width-icon:var(--ibiz-width-icon-medium);--ibiz-form-button-height-icon:var(--ibiz-width-icon-medium);--ibiz-form-button-spacing-padding:var(--ibiz-spacing-base) 0 var(--ibiz-spacing-base) var(--ibiz-spacing-base);--ibiz-form-button-spacing-gap:var(--ibiz-spacing-extra-tight);width:100%;height:100%;padding:var(--ibiz-form-button-spacing-padding);overflow:hidden}.ibiz-form-button .van-button{width:100%}.ibiz-form-button .van-button .ibiz-form-button-content{display:flex;align-items:center;justify-content:flex-start;gap:var(--ibiz-form-button-spacing-gap)}.ibiz-form-button .van-button .ibiz-form-button-content i,.ibiz-form-button .van-button .ibiz-form-button-content img{display:inline-block;max-width:var(--ibiz-form-button-width-icon);max-height:var(--ibiz-form-button-height-icon)}.ibiz-form-button.is-loading .van-button .ibiz-icon{display:none}.ibiz-form-button.is-readonly{display:none}
|
|
@@ -45,7 +45,7 @@ const FormButton = /* @__PURE__ */ defineComponent({
|
|
|
45
45
|
return null;
|
|
46
46
|
}
|
|
47
47
|
return createVNode("div", {
|
|
48
|
-
"class": [this.ns.b(), this.ns.m(this.modelData.codeName), this.ns.is("loading", this.controller.state.loading), ...this.controller.containerClass]
|
|
48
|
+
"class": [this.ns.b(), this.ns.m(this.modelData.codeName), this.ns.is("loading", this.controller.state.loading), this.ns.is("readonly", this.controller.state.readonly), ...this.controller.containerClass]
|
|
49
49
|
}, [createVNode(resolveComponent("van-button"), {
|
|
50
50
|
"size": "small",
|
|
51
51
|
"type": convertBtnType(this.modelData),
|
|
@@ -137,7 +137,7 @@ const FormGroupPanel = /* @__PURE__ */ defineComponent({
|
|
|
137
137
|
"type": "spinner",
|
|
138
138
|
"vertical": true
|
|
139
139
|
}, {
|
|
140
|
-
default: () => [
|
|
140
|
+
default: () => ["".concat(ibiz.i18n.t("util.loading"), "...")]
|
|
141
141
|
}) : null]);
|
|
142
142
|
}
|
|
143
143
|
});
|