@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
package/es/view-engine/index.mjs
CHANGED
|
@@ -36,127 +36,127 @@ const IBizViewEngine = {
|
|
|
36
36
|
(c) => new MobTreeExpViewEngine(c)
|
|
37
37
|
);
|
|
38
38
|
ibiz.engine.register(
|
|
39
|
-
|
|
39
|
+
"VIEW_APPINDEXVIEW",
|
|
40
40
|
(c) => new IndexViewEngine(c)
|
|
41
41
|
);
|
|
42
42
|
ibiz.engine.register(
|
|
43
|
-
|
|
43
|
+
"VIEW_MobEditView",
|
|
44
44
|
(c) => new MobEditViewEngine(c)
|
|
45
45
|
);
|
|
46
46
|
ibiz.engine.register(
|
|
47
|
-
|
|
47
|
+
"VIEW_MobEditView3",
|
|
48
48
|
(c) => new MobEditView3Engine(c)
|
|
49
49
|
);
|
|
50
50
|
ibiz.engine.register(
|
|
51
|
-
|
|
51
|
+
"VIEW_MobMDView",
|
|
52
52
|
(c) => new MobMDViewEngine(c)
|
|
53
53
|
);
|
|
54
54
|
ibiz.engine.register(
|
|
55
|
-
|
|
55
|
+
"VIEW_MobPickupView",
|
|
56
56
|
(c) => new MobPickupViewEngine(c)
|
|
57
57
|
);
|
|
58
58
|
ibiz.engine.register(
|
|
59
|
-
|
|
59
|
+
"VIEW_MobMPickupView",
|
|
60
60
|
(c) => new MobMPickupViewEngine(c)
|
|
61
61
|
);
|
|
62
62
|
ibiz.engine.register(
|
|
63
|
-
|
|
63
|
+
"VIEW_MobPickupMDView",
|
|
64
64
|
(c) => new PickupMDViewEngine(c)
|
|
65
65
|
);
|
|
66
66
|
ibiz.engine.register(
|
|
67
|
-
|
|
67
|
+
"VIEW_DEMOBWFDYNAEDITVIEW",
|
|
68
68
|
(c) => new MobWFDynaEditViewEngine(c)
|
|
69
69
|
);
|
|
70
70
|
ibiz.engine.register(
|
|
71
|
-
|
|
71
|
+
"VIEW_DEMOBWFDYNAEDITVIEW3",
|
|
72
72
|
(c) => new MobWFDynaEditView3Engine(c)
|
|
73
73
|
);
|
|
74
74
|
ibiz.engine.register(
|
|
75
|
-
|
|
75
|
+
"VIEW_DEMOBWFDYNAACTIONVIEW",
|
|
76
76
|
(c) => new MobWFDynaActionViewEngine(c)
|
|
77
77
|
);
|
|
78
78
|
ibiz.engine.register(
|
|
79
|
-
|
|
79
|
+
"VIEW_DEMOBWFDYNASTARTVIEW",
|
|
80
80
|
(c) => new MobWFDynaStartViewEngine(c)
|
|
81
81
|
);
|
|
82
82
|
ibiz.engine.register(
|
|
83
|
-
|
|
83
|
+
"VIEW_MobTabExpView",
|
|
84
84
|
(c) => new MobTabExpViewEngine(c)
|
|
85
85
|
);
|
|
86
86
|
ibiz.engine.register(
|
|
87
|
-
|
|
87
|
+
"VIEW_MobTreeView",
|
|
88
88
|
(c) => new MobTreeViewEngine(c)
|
|
89
89
|
);
|
|
90
90
|
ibiz.engine.register(
|
|
91
|
-
|
|
91
|
+
"VIEW_MobPickupTreeView",
|
|
92
92
|
(c) => new MobPickupTreeViewEngine(c)
|
|
93
93
|
);
|
|
94
94
|
ibiz.engine.register(
|
|
95
|
-
|
|
95
|
+
"VIEW_APPWFSTEPTRACEVIEW",
|
|
96
96
|
(c) => new WFStepTraceViewEngine(c)
|
|
97
97
|
);
|
|
98
98
|
ibiz.engine.register(
|
|
99
|
-
|
|
99
|
+
"VIEW_DEMOBLISTVIEW",
|
|
100
100
|
(c) => new MobMDViewEngine(c)
|
|
101
101
|
);
|
|
102
102
|
ibiz.engine.register(
|
|
103
|
-
|
|
103
|
+
"VIEW_DEMOBDATAVIEW",
|
|
104
104
|
(c) => new MobDataViewEngine(c)
|
|
105
105
|
);
|
|
106
106
|
ibiz.engine.register(
|
|
107
|
-
|
|
107
|
+
"VIEW_APPPORTALVIEW",
|
|
108
108
|
(c) => new PortalViewEngine(c)
|
|
109
109
|
);
|
|
110
110
|
ibiz.engine.register(
|
|
111
|
-
|
|
111
|
+
"VIEW_DEMOBPORTALVIEW",
|
|
112
112
|
(c) => new PortalViewEngine(c)
|
|
113
113
|
);
|
|
114
114
|
ibiz.engine.register(
|
|
115
|
-
|
|
115
|
+
"VIEW_DEMOBPORTALVIEW9",
|
|
116
116
|
(c) => new PortalViewEngine(c)
|
|
117
117
|
);
|
|
118
118
|
ibiz.engine.register(
|
|
119
|
-
|
|
119
|
+
"VIEW_MobPortalView",
|
|
120
120
|
(c) => new PortalViewEngine(c)
|
|
121
121
|
);
|
|
122
122
|
ibiz.engine.register(
|
|
123
|
-
|
|
123
|
+
"VIEW_DEMOBCUSTOMVIEW",
|
|
124
124
|
(c) => new MobCustomViewEngine(c)
|
|
125
125
|
);
|
|
126
126
|
ibiz.engine.register(
|
|
127
|
-
|
|
127
|
+
"VIEW_MobOptionView",
|
|
128
128
|
(c) => new MobOptViewEngine(c)
|
|
129
129
|
);
|
|
130
130
|
ibiz.engine.register(
|
|
131
|
-
|
|
131
|
+
"VIEW_MobChartView",
|
|
132
132
|
(c) => new MobChartViewEngine(c)
|
|
133
133
|
);
|
|
134
134
|
ibiz.engine.register(
|
|
135
|
-
|
|
135
|
+
"VIEW_MobCalendarView",
|
|
136
136
|
(c) => new MobCalendarViewEngine(c)
|
|
137
137
|
);
|
|
138
138
|
ibiz.engine.register(
|
|
139
|
-
|
|
139
|
+
"VIEW_MobEditView9",
|
|
140
140
|
(c) => new MobEditViewEngine(c)
|
|
141
141
|
);
|
|
142
142
|
ibiz.engine.register(
|
|
143
|
-
|
|
143
|
+
"VIEW_MobMDView9",
|
|
144
144
|
(c) => new MobMDViewEngine(c)
|
|
145
145
|
);
|
|
146
146
|
ibiz.engine.register(
|
|
147
|
-
|
|
147
|
+
"VIEW_MobTabExpView9",
|
|
148
148
|
(c) => new MobTabExpViewEngine(c)
|
|
149
149
|
);
|
|
150
150
|
ibiz.engine.register(
|
|
151
|
-
|
|
151
|
+
"VIEW_MobCalendarView9",
|
|
152
152
|
(c) => new MobCalendarViewEngine(c)
|
|
153
153
|
);
|
|
154
154
|
ibiz.engine.register(
|
|
155
|
-
|
|
155
|
+
"VIEW_MobChartView9",
|
|
156
156
|
(c) => new MobChartViewEngine(c)
|
|
157
157
|
);
|
|
158
158
|
ibiz.engine.register(
|
|
159
|
-
|
|
159
|
+
"VIEW_MobWizardView",
|
|
160
160
|
(c) => new MobWizardViewEngine(c)
|
|
161
161
|
);
|
|
162
162
|
ibiz.engine.register(
|
|
@@ -71,7 +71,7 @@ class LoginViewEngine extends ViewEngineBase {
|
|
|
71
71
|
}
|
|
72
72
|
let username = data.username;
|
|
73
73
|
if (notNilEmpty(data.orgid)) {
|
|
74
|
-
username =
|
|
74
|
+
username = "".concat(data.username, "@").concat(data.orgid);
|
|
75
75
|
}
|
|
76
76
|
const bol = await ibiz.auth.login(
|
|
77
77
|
username,
|
|
@@ -1,9 +1,16 @@
|
|
|
1
|
-
import { MDViewEngine } from '@ibiz-template/runtime';
|
|
1
|
+
import { MDViewEngine, ControlType } from '@ibiz-template/runtime';
|
|
2
2
|
|
|
3
3
|
"use strict";
|
|
4
4
|
class MobCalendarViewEngine extends MDViewEngine {
|
|
5
5
|
async onCreated() {
|
|
6
|
+
var _a, _b;
|
|
6
7
|
await super.onCreated();
|
|
8
|
+
const calendar = (_b = (_a = this.view.model.viewLayoutPanel) == null ? void 0 : _a.controls) == null ? void 0 : _b.find(
|
|
9
|
+
(control) => control.controlType === ControlType.CALENDAR
|
|
10
|
+
);
|
|
11
|
+
if (calendar && calendar.calendarStyle === "TIMELINE") {
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
7
14
|
this.view.model.loadDefault = false;
|
|
8
15
|
}
|
|
9
16
|
}
|
|
@@ -189,7 +189,7 @@ class MobEditViewEngine extends ViewEngineBase {
|
|
|
189
189
|
throw new RuntimeError(ibiz.i18n.t("viewEngine.noExistVersionErr"));
|
|
190
190
|
}
|
|
191
191
|
const wfInfo = res.data[0];
|
|
192
|
-
const refKey =
|
|
192
|
+
const refKey = "WFSTART@".concat(wfInfo.wfversion);
|
|
193
193
|
const newContext = Object.assign(this.view.context.clone(), {
|
|
194
194
|
activeForm: wfInfo["process-form"]
|
|
195
195
|
});
|
|
@@ -15,7 +15,7 @@ class MobWFDynaActionViewEngine extends MobWFDynaEditViewEngine {
|
|
|
15
15
|
}
|
|
16
16
|
async calcProcessFormName() {
|
|
17
17
|
this.isEditable = this.view.context.isEditable;
|
|
18
|
-
const processForm = this.view.context.processForm ?
|
|
18
|
+
const processForm = this.view.context.processForm ? "wfform_".concat(this.view.context.processForm) : "form";
|
|
19
19
|
return processForm;
|
|
20
20
|
}
|
|
21
21
|
async call(key, args) {
|
|
@@ -140,7 +140,7 @@ class MobWFDynaEditViewEngine extends MobEditViewEngine {
|
|
|
140
140
|
})
|
|
141
141
|
);
|
|
142
142
|
this.isEditable = res.data.isEditable === "true";
|
|
143
|
-
const processForm = res.data["process-mobform"] ?
|
|
143
|
+
const processForm = res.data["process-mobform"] ? "wfform_".concat(res.data["process-mobform"]) : "form";
|
|
144
144
|
return processForm;
|
|
145
145
|
}
|
|
146
146
|
/**
|
|
@@ -15,7 +15,7 @@ class MobWFDynaStartViewEngine extends MobWFDynaEditViewEngine {
|
|
|
15
15
|
}
|
|
16
16
|
async calcProcessFormName() {
|
|
17
17
|
this.isEditable = this.view.context.isEditable;
|
|
18
|
-
const processForm = this.view.context.processForm ?
|
|
18
|
+
const processForm = this.view.context.processForm ? "wfform_".concat(this.view.context.processForm) : "form";
|
|
19
19
|
return processForm;
|
|
20
20
|
}
|
|
21
21
|
async call(key, args) {
|
package/lib/_virtual/index12.cjs
CHANGED
package/lib/_virtual/index13.cjs
CHANGED
|
@@ -7,6 +7,9 @@ require('./action-group.css');
|
|
|
7
7
|
var buttonUtil = require('../../util/button-util/button-util.cjs');
|
|
8
8
|
|
|
9
9
|
"use strict";
|
|
10
|
+
function _isSlot(s) {
|
|
11
|
+
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
|
|
12
|
+
}
|
|
10
13
|
const IBizActionGroup = /* @__PURE__ */ vue.defineComponent({
|
|
11
14
|
name: "IBizActionGroup",
|
|
12
15
|
props: {
|
|
@@ -53,29 +56,12 @@ const IBizActionGroup = /* @__PURE__ */ vue.defineComponent({
|
|
|
53
56
|
var _a, _b;
|
|
54
57
|
return ((_a = props.actionDetail.refUIActionGroup) == null ? void 0 : _a.name) || ((_b = props.actionDetail.refUIActionGroup) == null ? void 0 : _b.id);
|
|
55
58
|
});
|
|
56
|
-
const placement = vue.
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
} = window;
|
|
63
|
-
const {
|
|
64
|
-
offsetLeft: x,
|
|
65
|
-
offsetTop: y,
|
|
66
|
-
offsetWidth: width
|
|
67
|
-
} = buttonRef.value.$el;
|
|
68
|
-
const centerX = innerWidth - width - 128;
|
|
69
|
-
const centerY = details.value.length ? innerHeight - details.value.length * 44 : innerHeight / 2;
|
|
70
|
-
if (y > centerY) {
|
|
71
|
-
if (props.direction === "horizontal")
|
|
72
|
-
return x > centerX ? "left-end" : "right-end";
|
|
73
|
-
return x > centerX ? "top-end" : "top-start";
|
|
74
|
-
}
|
|
75
|
-
if (props.direction === "horizontal")
|
|
76
|
-
return x > centerX ? "left-start" : "right-start";
|
|
77
|
-
return x > centerX ? "bottom-end" : "bottom-start";
|
|
78
|
-
});
|
|
59
|
+
const placement = vue.ref(props.direction === "horizontal" ? "right" : "bottom");
|
|
60
|
+
const onChangePopover = (e) => {
|
|
61
|
+
e.stopPropagation();
|
|
62
|
+
placement.value = buttonUtil.calcPopoverPlacement(ns, buttonRef.value.$el, details.value.length, props.direction);
|
|
63
|
+
showPopover.value = !showPopover.value;
|
|
64
|
+
};
|
|
79
65
|
const handleClick = async (detail, event, closePopover = false) => {
|
|
80
66
|
if (closePopover)
|
|
81
67
|
showPopover.value = false;
|
|
@@ -102,6 +88,16 @@ const IBizActionGroup = /* @__PURE__ */ vue.defineComponent({
|
|
|
102
88
|
"popoverClassName": props.popoverClassName,
|
|
103
89
|
"onPopoverVisibleChange": (visible2) => childPopover.value = visible2
|
|
104
90
|
}, null)];
|
|
91
|
+
const slots = {};
|
|
92
|
+
if (detail.showIcon && detail.sysImage) {
|
|
93
|
+
Object.assign(slots, {
|
|
94
|
+
icon: () => {
|
|
95
|
+
return vue.createVNode(vue.resolveComponent("iBizIcon"), {
|
|
96
|
+
"icon": detail.sysImage
|
|
97
|
+
}, null);
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
}
|
|
105
101
|
if ((_b = (_a2 = props.actionsState) == null ? void 0 : _a2[detail.id]) == null ? void 0 : _b.visible)
|
|
106
102
|
return [renderSeparator(detail.addSeparator), vue.createVNode(vue.resolveComponent("van-button"), {
|
|
107
103
|
"size": "small",
|
|
@@ -110,12 +106,8 @@ const IBizActionGroup = /* @__PURE__ */ vue.defineComponent({
|
|
|
110
106
|
"onClick": (e) => handleClick(detail, e, true),
|
|
111
107
|
"disabled": props.actionsState[detail.id].disabled,
|
|
112
108
|
"class": [ns.e("item"), (_c = detail.sysCss) == null ? void 0 : _c.codeName]
|
|
113
|
-
}, {
|
|
114
|
-
|
|
115
|
-
return detail.showIcon && detail.sysImage && vue.createVNode(vue.resolveComponent("iBizIcon"), {
|
|
116
|
-
"icon": detail.sysImage
|
|
117
|
-
}, null);
|
|
118
|
-
}
|
|
109
|
+
}, _isSlot(slots) ? slots : {
|
|
110
|
+
default: () => [slots]
|
|
119
111
|
})];
|
|
120
112
|
return null;
|
|
121
113
|
});
|
|
@@ -129,7 +121,8 @@ const IBizActionGroup = /* @__PURE__ */ vue.defineComponent({
|
|
|
129
121
|
showPopover,
|
|
130
122
|
childPopover,
|
|
131
123
|
renderActions,
|
|
132
|
-
onPopoverVisibleChange
|
|
124
|
+
onPopoverVisibleChange,
|
|
125
|
+
onChangePopover
|
|
133
126
|
};
|
|
134
127
|
},
|
|
135
128
|
render() {
|
|
@@ -144,17 +137,7 @@ const IBizActionGroup = /* @__PURE__ */ vue.defineComponent({
|
|
|
144
137
|
"onClose": () => this.onPopoverVisibleChange(false)
|
|
145
138
|
}, {
|
|
146
139
|
reference: () => {
|
|
147
|
-
|
|
148
|
-
"size": "small",
|
|
149
|
-
"ref": "buttonRef",
|
|
150
|
-
"class": this.ns.e("button"),
|
|
151
|
-
"type": buttonUtil.convertBtnType(this.actionDetail)
|
|
152
|
-
}, {
|
|
153
|
-
icon: () => {
|
|
154
|
-
return this.actionDetail.showIcon && this.actionDetail.sysImage && vue.createVNode(vue.resolveComponent("iBizIcon"), {
|
|
155
|
-
"icon": this.actionDetail.sysImage
|
|
156
|
-
}, null);
|
|
157
|
-
},
|
|
140
|
+
const solts = {
|
|
158
141
|
default: () => {
|
|
159
142
|
return [vue.createVNode("div", {
|
|
160
143
|
"class": this.ns.em("button", "text")
|
|
@@ -163,6 +146,24 @@ const IBizActionGroup = /* @__PURE__ */ vue.defineComponent({
|
|
|
163
146
|
"name": this.direction === "horizontal" ? "chevron-forward-outline" : "chevron-down-outline"
|
|
164
147
|
}, null)];
|
|
165
148
|
}
|
|
149
|
+
};
|
|
150
|
+
if (this.actionDetail.showIcon && this.actionDetail.sysImage) {
|
|
151
|
+
Object.assign(solts, {
|
|
152
|
+
icon: () => {
|
|
153
|
+
return vue.createVNode(vue.resolveComponent("iBizIcon"), {
|
|
154
|
+
"icon": this.actionDetail.sysImage
|
|
155
|
+
}, null);
|
|
156
|
+
}
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
return vue.createVNode(vue.resolveComponent("van-button"), {
|
|
160
|
+
"size": "small",
|
|
161
|
+
"ref": "buttonRef",
|
|
162
|
+
"class": this.ns.e("button"),
|
|
163
|
+
"type": buttonUtil.convertBtnType(this.actionDetail),
|
|
164
|
+
"onClick": this.onChangePopover
|
|
165
|
+
}, _isSlot(solts) ? solts : {
|
|
166
|
+
default: () => [solts]
|
|
166
167
|
});
|
|
167
168
|
},
|
|
168
169
|
default: () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-action-group{--ibiz-action-group-color-separator-bg:var(--ibiz-color-border);--ibiz-action-group-color-van-button-border:var(--ibiz-color-white);--ibiz-action-group-height-separator:0.0625rem;--ibiz-action-group-width-van-button:var(--van-popover-action-width);--ibiz-action-group-height-van-button:var(--van-popover-action-height);--ibiz-action-group-spacing-button-gap:var(--ibiz-spacing-extra-tight);--ibiz-action-group-spacing-van-button-text-gap:var(--ibiz-spacing-extra-tight);--ibiz-action-group-
|
|
1
|
+
.ibiz-action-group{--ibiz-action-group-color-separator-bg:var(--ibiz-color-border);--ibiz-action-group-color-van-button-border:var(--ibiz-color-white);--ibiz-action-group-height-separator:0.0625rem;--ibiz-action-group-width-van-button:var(--van-popover-action-width);--ibiz-action-group-height-van-button:var(--van-popover-action-height);--ibiz-action-group-height-van-button-line-height:1;--ibiz-action-group-spacing-button-gap:var(--ibiz-spacing-extra-tight);--ibiz-action-group-spacing-van-button-text-gap:var(--ibiz-spacing-extra-tight);--ibiz-action-group-spacing-popover-button-item:0 var(--ibiz-spacing-base);--ibiz-action-group-font-van-button-font-size:var(--van-popover-action-font-size);--ibiz-action-group-radius-van-button:var(--ibiz-border-radius-medium)}.ibiz-action-group__separator{width:100%;height:var(--ibiz-action-group-height-separator);display:inline-block;vertical-align:middle;background-color:var(--ibiz-action-group-color-separator-bg)}.ibiz-action-group__button{--ibiz-action-group-color-separator-bg:var(--ibiz-color-border);--ibiz-action-group-color-van-button-border:var(--ibiz-color-white);--ibiz-action-group-height-separator:0.0625rem;--ibiz-action-group-width-van-button:var(--van-popover-action-width);--ibiz-action-group-height-van-button:var(--van-popover-action-height);--ibiz-action-group-height-van-button-line-height:1;--ibiz-action-group-spacing-button-gap:var(--ibiz-spacing-extra-tight);--ibiz-action-group-spacing-van-button-text-gap:var(--ibiz-spacing-extra-tight);--ibiz-action-group-spacing-popover-button-item:0 var(--ibiz-spacing-base);--ibiz-action-group-font-van-button-font-size:var(--van-popover-action-font-size);--ibiz-action-group-radius-van-button:var(--ibiz-border-radius-medium);line-height:var(--ibiz-action-group-height-van-button-line-height)}.ibiz-action-group__button--icon{flex-shrink:0}.ibiz-action-group__button--text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ibiz-action-group__button .van-button__text{display:flex;align-items:center;gap:var(--ibiz-action-group-spacing-button-gap);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ibiz-action-group .van-popover__content{display:flex;flex-direction:column}.ibiz-action-group .van-popover__content .van-button{padding:var(--ibiz-action-group-spacing-popover-button-item);font-size:var(--ibiz-action-group-font-van-button-font-size);line-height:var(--ibiz-action-group-height-van-button-line-height);width:var(--ibiz-action-group-width-van-button);height:var(--ibiz-action-group-height-van-button);border-radius:var(--ibiz-action-group-radius-van-button);border-color:transparent;border:none;color:currentColor;background-color:transparent}.ibiz-action-group .van-popover__content .van-button:before{border-color:var(--ibiz-action-group-color-van-button-border)}.ibiz-action-group .van-popover__content .van-button .van-button__content{justify-content:flex-start}.ibiz-action-group .van-popover__content .van-button .van-button__text{display:block;gap:var(--ibiz-action-group-spacing-van-button-text-gap);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
@@ -30,6 +30,10 @@ const IBizButtonList = /* @__PURE__ */ vue.defineComponent({
|
|
|
30
30
|
emit
|
|
31
31
|
}) {
|
|
32
32
|
const ns = vue3Util.useNamespace("button-list");
|
|
33
|
+
const {
|
|
34
|
+
zIndex
|
|
35
|
+
} = vue3Util.useUIStore();
|
|
36
|
+
const dropdownZIndex = zIndex.zIndex + 1;
|
|
33
37
|
const showPopover = vue.ref(false);
|
|
34
38
|
const buttonRef = vue.ref();
|
|
35
39
|
const childPopover = vue.ref(false);
|
|
@@ -42,31 +46,14 @@ const IBizButtonList = /* @__PURE__ */ vue.defineComponent({
|
|
|
42
46
|
return (uiactionGroup == null ? void 0 : uiactionGroup.uiactionGroupDetails) || [];
|
|
43
47
|
return props.model.panelButtons || props.model.deformButtons || [];
|
|
44
48
|
});
|
|
45
|
-
const placement = vue.
|
|
46
|
-
if (!buttonRef.value)
|
|
47
|
-
return "bottom";
|
|
48
|
-
const {
|
|
49
|
-
innerWidth,
|
|
50
|
-
innerHeight
|
|
51
|
-
} = window;
|
|
52
|
-
const {
|
|
53
|
-
offsetLeft: x,
|
|
54
|
-
offsetTop: y,
|
|
55
|
-
offsetWidth: width
|
|
56
|
-
} = buttonRef.value.$el;
|
|
57
|
-
const centerX = innerWidth - width - 128;
|
|
58
|
-
const centerY = details.value.length ? innerHeight - details.value.length * 44 : innerHeight / 2;
|
|
59
|
-
if (y > centerY) {
|
|
60
|
-
return x > centerX ? "top-end" : "top-start";
|
|
61
|
-
}
|
|
62
|
-
return x > centerX ? "bottom-end" : "bottom-start";
|
|
63
|
-
});
|
|
49
|
+
const placement = vue.ref("bottom");
|
|
64
50
|
const buttonListStyle = vue.computed(() => {
|
|
65
51
|
const {
|
|
66
52
|
itemStyle,
|
|
67
|
-
detailStyle
|
|
53
|
+
detailStyle,
|
|
54
|
+
userTag
|
|
68
55
|
} = props.model;
|
|
69
|
-
return itemStyle || detailStyle || "DEFAULT";
|
|
56
|
+
return userTag || itemStyle || detailStyle || "DEFAULT";
|
|
70
57
|
});
|
|
71
58
|
const handleClick = (item, e) => {
|
|
72
59
|
e == null ? void 0 : e.stopPropagation();
|
|
@@ -74,6 +61,7 @@ const IBizButtonList = /* @__PURE__ */ vue.defineComponent({
|
|
|
74
61
|
};
|
|
75
62
|
const onChangePopover = (e) => {
|
|
76
63
|
e.stopPropagation();
|
|
64
|
+
placement.value = buttonUtil.calcPopoverPlacement(ns, buttonRef.value.$el, details.value.length, "vertical");
|
|
77
65
|
showPopover.value = !showPopover.value;
|
|
78
66
|
};
|
|
79
67
|
const renderSeparator = (visible) => {
|
|
@@ -98,7 +86,7 @@ const IBizButtonList = /* @__PURE__ */ vue.defineComponent({
|
|
|
98
86
|
if ((_a = props.buttonsState[item.id]) == null ? void 0 : _a.visible)
|
|
99
87
|
return [renderSeparator(item.addSeparator && showSeparator), vue.createVNode(vue.resolveComponent("van-button"), {
|
|
100
88
|
"size": "small",
|
|
101
|
-
"class": [ns.e("item"), ns.em("item",
|
|
89
|
+
"class": [ns.e("item"), ns.em("item", "".concat((_b = item.id) == null ? void 0 : _b.toLowerCase())), (_c = item.sysCss) == null ? void 0 : _c.cssName],
|
|
102
90
|
"type": buttonUtil.convertBtnType(item),
|
|
103
91
|
"disabled": ((_d = props.buttonsState[item.id]) == null ? void 0 : _d.disabled) || props.disabled,
|
|
104
92
|
"onClick": (event) => handleClick(item, event)
|
|
@@ -119,7 +107,10 @@ const IBizButtonList = /* @__PURE__ */ vue.defineComponent({
|
|
|
119
107
|
"placement": placement.value,
|
|
120
108
|
"show": showPopover.value,
|
|
121
109
|
"onUpdate:show": ($event) => showPopover.value = $event,
|
|
122
|
-
"close-on-click-outside": !childPopover.value
|
|
110
|
+
"close-on-click-outside": !childPopover.value,
|
|
111
|
+
"style": {
|
|
112
|
+
zIndex: dropdownZIndex
|
|
113
|
+
}
|
|
123
114
|
}, {
|
|
124
115
|
reference: () => {
|
|
125
116
|
const {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-button-list{--ibiz-button-list-color-van-action-disabled-text:var(--ibiz-color-disabled-text);--ibiz-button-list-color-van-action-disabled-bg:var(--ibiz-color-disabled-bg);--ibiz-button-list-color-van-button-border-color:var(--ibiz-color-white);--ibiz-button-list-spacing-content-gap:var(--ibiz-spacing-extra-tight);--ibiz-button-list-spacing-button-caption-gap:var(--ibiz-spacing-extra-tight);--ibiz-button-list-spacing-van-button-text-gap:var(--ibiz-spacing-extra-tight);--ibiz-button-list-spacing-van-content-gap:var(--ibiz-spacing-super-tight);--ibiz-button-list-font-icon-
|
|
1
|
+
.ibiz-button-list{--ibiz-button-list-color-van-action-disabled-text:var(--ibiz-color-disabled-text);--ibiz-button-list-color-van-action-disabled-bg:var(--ibiz-color-disabled-bg);--ibiz-button-list-color-van-button-border-color:var(--ibiz-color-white);--ibiz-button-list-spacing-content-gap:var(--ibiz-spacing-extra-tight);--ibiz-button-list-spacing-button-caption-gap:var(--ibiz-spacing-extra-tight);--ibiz-button-list-spacing-van-button-text-gap:var(--ibiz-spacing-extra-tight);--ibiz-button-list-spacing-van-content-gap:var(--ibiz-spacing-super-tight);--ibiz-button-list-spacing-popover-button-item:0 var(--ibiz-spacing-base);--ibiz-button-list-font-icon-font-size:var(--ibiz-width-icon-medium);--ibiz-button-list-font-van-button-font-size:var(--van-popover-action-font-size);--ibiz-button-list-width-van-button:var(--van-popover-action-width);--ibiz-button-list-height-van-button:var(--van-popover-action-height);--ibiz-button-list-height-van-button-line-height:1;--ibiz-button-list-radius-van-button:var(--ibiz-border-radius-medium);width:100%;height:100%}.ibiz-button-list__content{display:flex;flex-wrap:wrap;gap:var(--ibiz-button-list-spacing-content-gap)}.ibiz-button-list__button--caption{display:flex;align-items:center;gap:var(--ibiz-button-list-spacing-button-caption-gap)}.ibiz-button-list__popover{--ibiz-button-list-color-van-action-disabled-text:var(--ibiz-color-disabled-text);--ibiz-button-list-color-van-action-disabled-bg:var(--ibiz-color-disabled-bg);--ibiz-button-list-color-van-button-border-color:var(--ibiz-color-white);--ibiz-button-list-spacing-content-gap:var(--ibiz-spacing-extra-tight);--ibiz-button-list-spacing-button-caption-gap:var(--ibiz-spacing-extra-tight);--ibiz-button-list-spacing-van-button-text-gap:var(--ibiz-spacing-extra-tight);--ibiz-button-list-spacing-van-content-gap:var(--ibiz-spacing-super-tight);--ibiz-button-list-spacing-popover-button-item:0 var(--ibiz-spacing-base);--ibiz-button-list-font-icon-font-size:var(--ibiz-width-icon-medium);--ibiz-button-list-font-van-button-font-size:var(--van-popover-action-font-size);--ibiz-button-list-width-van-button:var(--van-popover-action-width);--ibiz-button-list-height-van-button:var(--van-popover-action-height);--ibiz-button-list-height-van-button-line-height:1;--ibiz-button-list-radius-van-button:var(--ibiz-border-radius-medium);--ibiz-button-list-radius-van-button:0;--ibiz-color-bg-0:var(--van-popover-light-text-color)}.ibiz-button-list__popover .van-popover__action--disabled,.ibiz-button-list__popover .van-popover__action--disabled:active{color:var(--ibiz-button-list-color-van-action-disabled-text)!important;background-color:var(--ibiz-button-list-color-van-action-disabled-bg)}.ibiz-button-list__popover .van-popover__content{display:flex;flex-direction:column;gap:var(--ibiz-button-list-spacing-van-content-gap)}.ibiz-button-list__popover .van-popover__content .van-button{padding:var(--ibiz-button-list-spacing-popover-button-item);font-size:var(--ibiz-button-list-font-van-button-font-size);line-height:var(--ibiz-button-list-height-van-button-line-height);width:var(--ibiz-button-list-width-van-button);height:var(--ibiz-button-list-height-van-button);border-radius:var(--ibiz-button-list-radius-van-button);border:none;color:currentColor;background-color:transparent}.ibiz-button-list__popover .van-popover__content .van-button:before{border-color:var(--ibiz-button-list-color-van-button-border-color)}.ibiz-button-list__popover .van-popover__content .van-button .van-button__content{justify-content:flex-start}.ibiz-button-list__popover .van-popover__content .van-button .van-button__text{display:flex;align-items:center;gap:var(--ibiz-button-list-spacing-van-button-text-gap);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ibiz-button-list__popover .van-popover__content .van-button .ibiz-button-list__item--caption{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ibiz-button-list .van-button{line-height:var(--ibiz-button-list-height-van-button-line-height)}.ibiz-button-list .van-button .van-button__text{display:flex;align-items:center;gap:var(--ibiz-button-list-spacing-content-gap);--ibiz-button-list-color-van-action-disabled-text:var(--ibiz-color-disabled-text);--ibiz-button-list-color-van-action-disabled-bg:var(--ibiz-color-disabled-bg);--ibiz-button-list-color-van-button-border-color:var(--ibiz-color-white);--ibiz-button-list-spacing-content-gap:var(--ibiz-spacing-extra-tight);--ibiz-button-list-spacing-button-caption-gap:var(--ibiz-spacing-extra-tight);--ibiz-button-list-spacing-van-button-text-gap:var(--ibiz-spacing-extra-tight);--ibiz-button-list-spacing-van-content-gap:var(--ibiz-spacing-super-tight);--ibiz-button-list-spacing-popover-button-item:0 var(--ibiz-spacing-base);--ibiz-button-list-font-icon-font-size:var(--ibiz-width-icon-medium);--ibiz-button-list-font-van-button-font-size:var(--van-popover-action-font-size);--ibiz-button-list-width-van-button:var(--van-popover-action-width);--ibiz-button-list-height-van-button:var(--van-popover-action-height);--ibiz-button-list-height-van-button-line-height:1;--ibiz-button-list-radius-van-button:var(--ibiz-border-radius-medium)}.ibiz-button-list .van-button .van-button__text .ibiz-icon{display:flex;align-items:center;justify-content:center;width:var(--ibiz-button-list-font-icon-font-size);height:var(--ibiz-button-list-font-icon-font-size);font-size:var(--ibiz-button-list-font-icon-font-size)}
|
package/lib/common/col/col.cjs
CHANGED
|
@@ -84,7 +84,7 @@ const IBizCol = /* @__PURE__ */ vue.defineComponent({
|
|
|
84
84
|
"style": {
|
|
85
85
|
flexGrow: pos.grow,
|
|
86
86
|
flexShrink: pos.shrink === 1 ? void 0 : pos.shrink,
|
|
87
|
-
flexBasis:
|
|
87
|
+
flexBasis: "".concat(pos.basis, "px}"),
|
|
88
88
|
...this.cssVars
|
|
89
89
|
}
|
|
90
90
|
}, [defaultSlot]);
|
|
@@ -94,10 +94,10 @@ const IBizCropping = /* @__PURE__ */ vue.defineComponent({
|
|
|
94
94
|
};
|
|
95
95
|
const style = vue.computed(() => {
|
|
96
96
|
const imgStyle = {
|
|
97
|
-
maxWidth:
|
|
98
|
-
maxHeight:
|
|
97
|
+
maxWidth: "".concat(props.cropareaWidth, "px"),
|
|
98
|
+
maxHeight: "".concat(props.cropareaHeight, "px"),
|
|
99
99
|
objectFit: "contain",
|
|
100
|
-
transform:
|
|
100
|
+
transform: "translate(calc(".concat(imgMovePosition.value.tx, "px - 50%),calc(").concat(imgMovePosition.value.ty, "px - 50%)) scale(").concat(scaleNumber.value, ")")
|
|
101
101
|
};
|
|
102
102
|
return imgStyle;
|
|
103
103
|
});
|
|
@@ -243,8 +243,8 @@ const IBizCropping = /* @__PURE__ */ vue.defineComponent({
|
|
|
243
243
|
"id": this.uuid,
|
|
244
244
|
"class": this.ns.em("content", "croparea"),
|
|
245
245
|
"style": {
|
|
246
|
-
height:
|
|
247
|
-
width:
|
|
246
|
+
height: "".concat(this.cropareaHeight, "px"),
|
|
247
|
+
width: "".concat(this.cropareaWidth, "px")
|
|
248
248
|
},
|
|
249
249
|
"onTouchstart": this.onTouchStart,
|
|
250
250
|
"onTouchmove": this.onTouchMove,
|
|
@@ -103,11 +103,9 @@ const RangePicker = /* @__PURE__ */ vue.defineComponent({
|
|
|
103
103
|
if (value) {
|
|
104
104
|
if (!result) {
|
|
105
105
|
date.showErrorInfo = true;
|
|
106
|
-
date.errorMsg =
|
|
107
|
-
${ibiz.i18n.t("component.dateRangePicker.use")} yyyy/m/d
|
|
108
|
-
${ibiz.i18n.t("component.dateRangePicker.example")}: ${dayjs(/* @__PURE__ */ new Date()).format("YYYY/MM/DD")}`;
|
|
106
|
+
date.errorMsg = "".concat(ibiz.i18n.t("component.dateRangePicker.formatIsInvalid"), "\u3002\n ").concat(ibiz.i18n.t("component.dateRangePicker.use"), " yyyy/m/d \n ").concat(ibiz.i18n.t("component.dateRangePicker.example"), ": ").concat(dayjs(/* @__PURE__ */ new Date()).format("YYYY/MM/DD"));
|
|
109
107
|
} else if (!dateRangePicker_util.validateRange(String(value), props.range)) {
|
|
110
|
-
date.errorMsg =
|
|
108
|
+
date.errorMsg = "".concat(ibiz.i18n.t("component.dateRangePicker.overLimit"), ": ").concat(dayjs(String(value)).format("YYYY".concat(tYear, "MM").concat(tMonth, "DD").concat(tDay)));
|
|
111
109
|
date.showErrorInfo = true;
|
|
112
110
|
} else {
|
|
113
111
|
date.showErrorInfo = false;
|
|
@@ -43,11 +43,9 @@ const SinglePicker = /* @__PURE__ */ vue.defineComponent({
|
|
|
43
43
|
const result = dateRangePicker_util.validateDate(String(value));
|
|
44
44
|
if (value) {
|
|
45
45
|
if (!result) {
|
|
46
|
-
errorMsg.value =
|
|
47
|
-
${ibiz.i18n.t("component.dateRangePicker.use")} yyyy/m/d
|
|
48
|
-
${ibiz.i18n.t("component.dateRangePicker.example")}: ${dayjs(/* @__PURE__ */ new Date()).format("YYYY/MM/DD")}`;
|
|
46
|
+
errorMsg.value = "".concat(ibiz.i18n.t("component.dateRangePicker.formatIsInvalid"), "\u3002\n ").concat(ibiz.i18n.t("component.dateRangePicker.use"), " yyyy/m/d \n ").concat(ibiz.i18n.t("component.dateRangePicker.example"), ": ").concat(dayjs(/* @__PURE__ */ new Date()).format("YYYY/MM/DD"));
|
|
49
47
|
} else if (!dateRangePicker_util.validateRange(String(value), props.range)) {
|
|
50
|
-
errorMsg.value =
|
|
48
|
+
errorMsg.value = "".concat(ibiz.i18n.t("component.dateRangePicker.overLimit"), ": ").concat(dayjs(String(value)).format("YYYY".concat(tYear, "MM").concat(tMonth, "DD").concat(tDay)));
|
|
51
49
|
} else {
|
|
52
50
|
errorMsg.value = "";
|
|
53
51
|
emit("change", [dayjs(curDate.value).format(props.format)]);
|
|
@@ -46,8 +46,8 @@ const IBizDateRangeCalendar = /* @__PURE__ */ vue.defineComponent({
|
|
|
46
46
|
emit
|
|
47
47
|
}) {
|
|
48
48
|
const ns = vue3Util.useNamespace("calendar-date-range-picker");
|
|
49
|
-
const maxDate =
|
|
50
|
-
const minDate =
|
|
49
|
+
const maxDate = new Date("".concat((/* @__PURE__ */ new Date()).getFullYear() + props.range));
|
|
50
|
+
const minDate = new Date("".concat((/* @__PURE__ */ new Date()).getFullYear() - props.range));
|
|
51
51
|
const select = vue.ref([]);
|
|
52
52
|
const allowSave = vue.ref(false);
|
|
53
53
|
const calendarRef = vue.ref();
|
|
@@ -30,10 +30,10 @@ const EmojiItem = /* @__PURE__ */ vue.defineComponent({
|
|
|
30
30
|
const ns = vue3Util.useNamespace("emoji-item");
|
|
31
31
|
const styleSize = vue.computed(() => {
|
|
32
32
|
return {
|
|
33
|
-
fontSize:
|
|
34
|
-
lineHeight:
|
|
35
|
-
height:
|
|
36
|
-
width:
|
|
33
|
+
fontSize: "".concat(props.size - 5, "px"),
|
|
34
|
+
lineHeight: "".concat(props.size, "px"),
|
|
35
|
+
height: "".concat(props.size, "px"),
|
|
36
|
+
width: "".concat(props.size, "px")
|
|
37
37
|
};
|
|
38
38
|
});
|
|
39
39
|
const onClick = () => {
|
|
@@ -80,7 +80,7 @@ const EmojiList = /* @__PURE__ */ vue.defineComponent({
|
|
|
80
80
|
const gridDynamic = vue.computed(() => {
|
|
81
81
|
const percent = 100 / props.emojisByRow;
|
|
82
82
|
return {
|
|
83
|
-
gridTemplateColumns:
|
|
83
|
+
gridTemplateColumns: "repeat(".concat(props.emojisByRow, ", ").concat(percent, "%)")
|
|
84
84
|
};
|
|
85
85
|
});
|
|
86
86
|
const dataFilteredByCategory = vue.computed(() => {
|