@ibiz-template/mob-vue3-components 0.7.41-alpha.21 → 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-CopTozpr.js.map +1 -0
- 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-DV0pS0zU.js.map +1 -0
- package/dist/index.min.css +14 -14
- package/dist/index.system.min.js +1 -1
- package/dist/quill-CeDXLpcJ.js +2 -0
- package/dist/{quill-D-355-KZ.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-BPS9uMa7.js.map +1 -0
- package/dist/tree-SAqvldtV.js +2 -0
- package/dist/{tree-sdPuTW-7.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/FileSaver.min.mjs +3 -0
- package/es/_virtual/index12.mjs +2 -2
- package/es/_virtual/index13.mjs +2 -2
- package/es/_virtual/index14.mjs +2 -2
- package/es/_virtual/index18.mjs +2 -2
- package/es/_virtual/index19.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.css +1 -1
- package/es/common/split-trigger/split-trigger.mjs +1 -1
- package/es/common/tab-layout/tab-default-layout/tab-default-layout.mjs +1 -0
- package/es/common/tab-layout/tab-dropdown/tab-dropdown.mjs +1 -1
- package/es/common/tab-layout/tab-sidebar-layout/tab-sidebar-layout.css +1 -1
- package/es/common/view-message/view-message.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.css +1 -1
- package/es/control/app-menu-icon-view/app-menu-icon-view.mjs +2 -2
- package/es/control/app-menu-icon-view/index.mjs +1 -1
- package/es/control/app-menu-list-view/app-menu-list-view.css +1 -1
- package/es/control/app-menu-list-view/app-menu-list-view.mjs +1 -1
- package/es/control/app-menu-list-view/index.mjs +1 -1
- package/es/control/calendar/calendar.css +1 -1
- package/es/control/calendar/calendar.mjs +7 -7
- package/es/control/caption-bar/caption-bar.css +1 -1
- package/es/control/caption-bar/caption-bar.mjs +1 -1
- package/es/control/chart/chart.mjs +1 -1
- package/es/control/dashboard/custom-dashboard-design/custom-dashboard-design.css +1 -1
- package/es/control/dashboard/dashboard.css +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.css +1 -1
- package/es/control/drbar/drbar.mjs +1 -1
- package/es/control/drtab/drtab.controller.mjs +2 -2
- package/es/control/drtab/drtab.css +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.css +1 -1
- package/es/control/search-bar/search-bar.mjs +10 -6
- package/es/control/tab-exp-panel/tab-exp-panel.css +1 -1
- 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 +59 -32
- package/es/control/toolbar/toolbar.css +1 -1
- package/es/control/toolbar/toolbar.mjs +1 -1
- package/es/control/tree/tree.css +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.css +1 -1
- package/es/control/wizard-panel/wizard-panel.mjs +6 -6
- package/es/editor/array/ibiz-array/ibiz-array.css +1 -1
- 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 +2 -2
- 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.css +1 -1
- package/es/editor/html/quill-editor/quill-editor.mjs +12 -3
- package/es/editor/html/quill-editor-preview/quill-editor-preview.css +1 -1
- package/es/editor/html/quill-editor-preview/quill-editor-preview.mjs +5 -6
- package/es/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.mjs +15 -4
- 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.css +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.css +1 -1
- package/es/editor/stepper/ibiz-stepper/ibiz-stepper.mjs +1 -1
- package/es/editor/text-box/ibiz-input-number/ibiz-input-number.css +1 -1
- package/es/editor/text-box/ibiz-input-number/ibiz-input-number.mjs +1 -1
- package/es/editor/text-box/input/input.mjs +36 -5
- package/es/editor/text-box/signature/signature.mjs +59 -19
- package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.css +1 -1
- package/es/editor/upload/ibiz-file-upload/ibiz-file-upload.mjs +2 -2
- package/es/editor/upload/upload-editor.controller.mjs +18 -1
- package/es/editor/upload/use/use-van-upload.mjs +6 -2
- package/es/ibiz-vue3.mjs +1 -0
- package/es/index.mjs +5 -1
- package/es/locale/en/index.mjs +26 -0
- package/es/locale/zh-CN/index.mjs +29 -1
- 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 +206 -194
- package/es/mob-app/guard/auth-guard/dyna-auth-guard.mjs +65 -0
- package/es/mob-app/guard/index.mjs +1 -0
- package/es/mob-app/index.mjs +1 -0
- package/es/mob-app/main.mjs +17 -2
- package/es/mob-app/router/index.mjs +136 -79
- package/es/mob-app/util/unauthorized-handler/unauthorized-handler.mjs +5 -5
- package/es/node_modules/.pnpm/@amap_amap-jsapi-loader@1.0.1_patch_hash_73bpcwbs2m5ip4qppmz6a7epsa/node_modules/@amap/amap-jsapi-loader/dist/index.mjs +1 -1
- 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/node_modules/.pnpm/file-saver@2.0.5/node_modules/file-saver/dist/FileSaver.min.mjs +15 -0
- package/es/node_modules/.pnpm/lodash.clonedeep@4.5.0/node_modules/lodash.clonedeep/index.mjs +1 -1
- package/es/node_modules/.pnpm/lodash.isequal@4.5.0/node_modules/lodash.isequal/index.mjs +1 -1
- package/es/node_modules/.pnpm/xlsx@0.18.5/node_modules/xlsx/xlsx.mjs +24580 -0
- 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 +29 -15
- 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 +1095 -0
- package/es/util/ai-chat-util/ai-feedback/ai-feedback.css +1 -0
- package/es/util/ai-chat-util/ai-feedback/ai-feedback.mjs +140 -0
- package/es/util/app-drawer/app-drawer-component.mjs +18 -14
- package/es/util/app-modal/app-modal-component.mjs +7 -2
- package/es/util/app-popover/app-popover-component.mjs +4 -4
- package/es/util/app-util/app-util.mjs +112 -7
- 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 +4 -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 +55 -0
- package/es/util/xlsx-util/xlsx-util.mjs +163 -0
- package/es/view/portal-view/portal-view.mjs +3 -2
- 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 +12 -1
- package/es/view-engine/mob-edit-view.engine.mjs +1 -1
- package/es/view-engine/mob-pickup-md-view.engine.mjs +1 -0
- 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/FileSaver.min.cjs +5 -0
- package/lib/_virtual/index12.cjs +2 -2
- package/lib/_virtual/index13.cjs +2 -2
- package/lib/_virtual/index14.cjs +2 -2
- package/lib/_virtual/index18.cjs +2 -2
- package/lib/_virtual/index19.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/split-trigger/split-trigger.css +1 -1
- package/lib/common/tab-layout/tab-default-layout/tab-default-layout.cjs +1 -0
- package/lib/common/tab-layout/tab-dropdown/tab-dropdown.cjs +1 -1
- package/lib/common/tab-layout/tab-sidebar-layout/tab-sidebar-layout.css +1 -1
- package/lib/common/view-message/view-message.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 +2 -2
- package/lib/control/app-menu-icon-view/app-menu-icon-view.css +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/app-menu-list-view.css +1 -1
- package/lib/control/app-menu-list-view/index.cjs +1 -1
- package/lib/control/calendar/calendar.cjs +7 -7
- package/lib/control/calendar/calendar.css +1 -1
- package/lib/control/caption-bar/caption-bar.cjs +1 -1
- package/lib/control/caption-bar/caption-bar.css +1 -1
- package/lib/control/chart/chart.cjs +1 -1
- package/lib/control/dashboard/custom-dashboard-design/custom-dashboard-design.css +1 -1
- package/lib/control/dashboard/dashboard.cjs +3 -1
- package/lib/control/dashboard/dashboard.css +1 -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/drbar/drbar.css +1 -1
- package/lib/control/drtab/drtab.cjs +1 -1
- package/lib/control/drtab/drtab.controller.cjs +2 -2
- package/lib/control/drtab/drtab.css +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/search-bar/search-bar.css +1 -1
- package/lib/control/tab-exp-panel/tab-exp-panel.cjs +1 -1
- package/lib/control/tab-exp-panel/tab-exp-panel.css +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 +59 -32
- package/lib/control/toolbar/toolbar.cjs +1 -1
- package/lib/control/toolbar/toolbar.css +1 -1
- package/lib/control/tree/tree.cjs +9 -9
- package/lib/control/tree/tree.css +1 -1
- package/lib/control/tree-exp-bar/tree-exp-bar.cjs +1 -1
- package/lib/control/wizard-panel/wizard-panel.cjs +6 -6
- package/lib/control/wizard-panel/wizard-panel.css +1 -1
- package/lib/editor/array/ibiz-array/ibiz-array.css +1 -1
- 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 +2 -2
- 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/quill-editor.css +1 -1
- package/lib/editor/html/quill-editor-preview/quill-editor-preview.cjs +5 -6
- package/lib/editor/html/quill-editor-preview/quill-editor-preview.css +1 -1
- package/lib/editor/markdown/ibiz-markdown-editor/ibiz-markdown-editor.cjs +15 -4
- 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/slider/ibiz-slider/ibiz-slider.css +1 -1
- 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/stepper/ibiz-stepper/ibiz-stepper.css +1 -1
- package/lib/editor/text-box/ibiz-input-number/ibiz-input-number.cjs +1 -1
- package/lib/editor/text-box/ibiz-input-number/ibiz-input-number.css +1 -1
- package/lib/editor/text-box/input/input.cjs +35 -4
- package/lib/editor/text-box/signature/signature.cjs +59 -19
- package/lib/editor/upload/ibiz-file-upload/ibiz-file-upload.cjs +2 -2
- package/lib/editor/upload/ibiz-file-upload/ibiz-file-upload.css +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/ibiz-vue3.cjs +1 -0
- package/lib/index.cjs +10 -0
- package/lib/locale/en/index.cjs +26 -0
- package/lib/locale/zh-CN/index.cjs +29 -1
- 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 +206 -194
- package/lib/mob-app/guard/auth-guard/dyna-auth-guard.cjs +67 -0
- package/lib/mob-app/guard/index.cjs +2 -0
- package/lib/mob-app/index.cjs +2 -0
- package/lib/mob-app/main.cjs +17 -2
- package/lib/mob-app/router/index.cjs +136 -79
- package/lib/mob-app/util/unauthorized-handler/unauthorized-handler.cjs +5 -5
- package/lib/node_modules/.pnpm/@amap_amap-jsapi-loader@1.0.1_patch_hash_73bpcwbs2m5ip4qppmz6a7epsa/node_modules/@amap/amap-jsapi-loader/dist/index.cjs +1 -1
- 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/node_modules/.pnpm/file-saver@2.0.5/node_modules/file-saver/dist/FileSaver.min.cjs +20 -0
- package/lib/node_modules/.pnpm/lodash.clonedeep@4.5.0/node_modules/lodash.clonedeep/index.cjs +1 -1
- package/lib/node_modules/.pnpm/lodash.isequal@4.5.0/node_modules/lodash.isequal/index.cjs +1 -1
- package/lib/node_modules/.pnpm/xlsx@0.18.5/node_modules/xlsx/xlsx.cjs +24599 -0
- 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 +29 -15
- 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 +1097 -0
- package/lib/util/ai-chat-util/ai-feedback/ai-feedback.cjs +142 -0
- package/lib/util/ai-chat-util/ai-feedback/ai-feedback.css +1 -0
- package/lib/util/app-drawer/app-drawer-component.cjs +18 -14
- package/lib/util/app-modal/app-modal-component.cjs +7 -2
- package/lib/util/app-popover/app-popover-component.cjs +4 -4
- package/lib/util/app-util/app-util.cjs +111 -6
- 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 +8 -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 +58 -0
- package/lib/util/xlsx-util/xlsx-util.cjs +166 -0
- package/lib/view/portal-view/portal-view.cjs +3 -2
- 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 +11 -0
- package/lib/view-engine/mob-edit-view.engine.cjs +1 -1
- package/lib/view-engine/mob-pickup-md-view.engine.cjs +1 -0
- 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 +14 -11
- package/dist/chart-j1WkpBhc.js +0 -2
- package/dist/ibiz-markdown-editor-DMe7ZdYW.js +0 -2
- package/dist/ibiz-markdown-editor-DMe7ZdYW.js.map +0 -1
- package/dist/index-BkzKmBm3.js +0 -2
- package/dist/index-BkzKmBm3.js.map +0 -1
- package/dist/index-CADWRoaa.js +0 -76
- package/dist/index-CADWRoaa.js.map +0 -1
- package/dist/index-ugd4IDkI.js +0 -2
- package/dist/index-ugd4IDkI.js.map +0 -1
- package/dist/quill-D-355-KZ.js +0 -50
- package/dist/quill-editor-DyVF1l3P.js +0 -2
- package/dist/quill-editor-DyVF1l3P.js.map +0 -1
- package/dist/quill-editor-preview-3eAbHBYz.js +0 -2
- package/dist/quill-editor-preview-3eAbHBYz.js.map +0 -1
- package/dist/tree-sdPuTW-7.js +0 -2
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { defineComponent, createVNode, ref, resolveComponent, h } from 'vue';
|
|
2
|
+
import { useNamespace } from '@ibiz-template/vue3-util';
|
|
3
|
+
import { CloseSvg } from './icon/icon.mjs';
|
|
4
|
+
import './print-preview-markdown.css';
|
|
5
|
+
|
|
6
|
+
"use strict";
|
|
7
|
+
const PrintPreviewMarkdown = /* @__PURE__ */ defineComponent({
|
|
8
|
+
name: "PrintPreviewMarkdown",
|
|
9
|
+
props: {
|
|
10
|
+
modal: {
|
|
11
|
+
type: Object,
|
|
12
|
+
required: true
|
|
13
|
+
},
|
|
14
|
+
value: {
|
|
15
|
+
type: String,
|
|
16
|
+
default: ""
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
setup(props) {
|
|
20
|
+
const ns = useNamespace("print-preview-markdown");
|
|
21
|
+
const printPreview = ref();
|
|
22
|
+
const onClose = () => {
|
|
23
|
+
props.modal.dismiss();
|
|
24
|
+
};
|
|
25
|
+
const renderHeader = () => {
|
|
26
|
+
return createVNode("div", {
|
|
27
|
+
"class": ns.e("header")
|
|
28
|
+
}, [createVNode("div", {
|
|
29
|
+
"class": ns.em("header", "caption")
|
|
30
|
+
}, [ibiz.i18n.t("util.printPreviewUtil.title")]), createVNode("div", {
|
|
31
|
+
"class": ns.em("header", "action")
|
|
32
|
+
}, [createVNode("div", {
|
|
33
|
+
"class": ns.em("header", "close"),
|
|
34
|
+
"title": ibiz.i18n.t("app.close"),
|
|
35
|
+
"onClick": onClose
|
|
36
|
+
}, [createVNode(CloseSvg, null, null)])])]);
|
|
37
|
+
};
|
|
38
|
+
const renderContent = () => {
|
|
39
|
+
const markdown = resolveComponent("IBizMarkDown");
|
|
40
|
+
return createVNode("div", {
|
|
41
|
+
"class": ns.e("content")
|
|
42
|
+
}, [h(markdown, {
|
|
43
|
+
value: props.value,
|
|
44
|
+
readonly: true
|
|
45
|
+
})]);
|
|
46
|
+
};
|
|
47
|
+
return {
|
|
48
|
+
ns,
|
|
49
|
+
printPreview,
|
|
50
|
+
renderHeader,
|
|
51
|
+
renderContent
|
|
52
|
+
};
|
|
53
|
+
},
|
|
54
|
+
render() {
|
|
55
|
+
return createVNode("div", {
|
|
56
|
+
"class": this.ns.b(),
|
|
57
|
+
"ref": "printPreview"
|
|
58
|
+
}, [this.renderHeader(), this.renderContent()]);
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
export { PrintPreviewMarkdown };
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { h } from 'vue';
|
|
2
|
+
import { PrintPreviewMarkdown } from './print-preview-markdown/print-preview-markdown.mjs';
|
|
3
|
+
|
|
4
|
+
"use strict";
|
|
5
|
+
class PrintPreviewUtil {
|
|
6
|
+
/**
|
|
7
|
+
* 执行打印
|
|
8
|
+
* @param context
|
|
9
|
+
* @param params
|
|
10
|
+
* @param data
|
|
11
|
+
* @returns boolean 是否成功执行打印
|
|
12
|
+
*/
|
|
13
|
+
async execPrint(context, params, data) {
|
|
14
|
+
const srfcontenttype = params.srfcontenttype;
|
|
15
|
+
if (srfcontenttype === "MARKDOWN") {
|
|
16
|
+
return this.printMarkDown(data, params);
|
|
17
|
+
}
|
|
18
|
+
if (srfcontenttype === "HTML") {
|
|
19
|
+
return this.printHtml(data);
|
|
20
|
+
}
|
|
21
|
+
return false;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* 打印MarkDown(窗口可以由视图参数srfprintheight和srfprintwidth指定,默认居中50%,绘制时为md预览模式绘制,提供全屏按钮,和关闭按钮。)
|
|
25
|
+
* @param data
|
|
26
|
+
* @returns
|
|
27
|
+
*/
|
|
28
|
+
async printMarkDown(data, params) {
|
|
29
|
+
const text = await data.text();
|
|
30
|
+
const overlay = ibiz.overlay.createModal(
|
|
31
|
+
(modal) => h(PrintPreviewMarkdown, {
|
|
32
|
+
value: text,
|
|
33
|
+
modal
|
|
34
|
+
}),
|
|
35
|
+
void 0,
|
|
36
|
+
{
|
|
37
|
+
width: params.srfprintwidth || "80%",
|
|
38
|
+
height: params.srfprintheight || "80%"
|
|
39
|
+
}
|
|
40
|
+
);
|
|
41
|
+
overlay.present();
|
|
42
|
+
await overlay.onWillDismiss();
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* 打印HTML(原生浏览器预览)
|
|
47
|
+
* @param data
|
|
48
|
+
* @returns
|
|
49
|
+
*/
|
|
50
|
+
async printHtml(data) {
|
|
51
|
+
const link = window.URL.createObjectURL(data);
|
|
52
|
+
window.open(link, "_blank");
|
|
53
|
+
return true;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export { PrintPreviewUtil };
|
|
@@ -26,7 +26,7 @@ const ScanQrcodeComponent = /* @__PURE__ */ defineComponent({
|
|
|
26
26
|
facingMode: "environment"
|
|
27
27
|
});
|
|
28
28
|
const onError = (error) => {
|
|
29
|
-
let errorText =
|
|
29
|
+
let errorText = "[".concat(error.name, "]: ");
|
|
30
30
|
switch (error.name) {
|
|
31
31
|
case "NotAllowedError":
|
|
32
32
|
errorText += ibiz.i18n.t("util.scanQrcode.notAllowedError");
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const splitPathToSegments = (path) => {
|
|
3
|
+
const segments = [];
|
|
4
|
+
let currentSegment = "";
|
|
5
|
+
let parenCount = 0;
|
|
6
|
+
for (let i = 0; i < path.length; i++) {
|
|
7
|
+
const char = path[i];
|
|
8
|
+
if (char === "/") {
|
|
9
|
+
if (parenCount === 0) {
|
|
10
|
+
if (currentSegment) {
|
|
11
|
+
segments.push(currentSegment);
|
|
12
|
+
currentSegment = "";
|
|
13
|
+
}
|
|
14
|
+
continue;
|
|
15
|
+
} else {
|
|
16
|
+
currentSegment += char;
|
|
17
|
+
}
|
|
18
|
+
} else {
|
|
19
|
+
if (char === "(") {
|
|
20
|
+
parenCount += 1;
|
|
21
|
+
} else if (char === ")") {
|
|
22
|
+
parenCount -= 1;
|
|
23
|
+
}
|
|
24
|
+
currentSegment += char;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
if (currentSegment) {
|
|
28
|
+
segments.push(currentSegment);
|
|
29
|
+
}
|
|
30
|
+
return segments;
|
|
31
|
+
};
|
|
32
|
+
const validateRouteSegments = (segments) => {
|
|
33
|
+
if (segments.length < 3 || segments.length % 2 === 0) {
|
|
34
|
+
return false;
|
|
35
|
+
}
|
|
36
|
+
const paramReg = ":[^()]+\\(\\[\\^/\\]\\+=\\[\\^/\\]\\+\\|".concat(ibiz.env.routePlaceholder, "\\)");
|
|
37
|
+
const viewReg = "[^=/]+";
|
|
38
|
+
for (let i = 0; i < segments.length; i++) {
|
|
39
|
+
const segment = segments[i];
|
|
40
|
+
if (i % 2 === 0) {
|
|
41
|
+
const paramRegex = new RegExp("^".concat(paramReg, "$"));
|
|
42
|
+
if (!paramRegex.test(segment) && segment !== ibiz.env.routePlaceholder) {
|
|
43
|
+
return false;
|
|
44
|
+
}
|
|
45
|
+
} else {
|
|
46
|
+
const viewRegex = new RegExp("^".concat(viewReg, "$"));
|
|
47
|
+
if (!viewRegex.test(segment)) {
|
|
48
|
+
return false;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
return true;
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
export { splitPathToSegments, validateRouteSegments };
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { F as FileSaver_minExports } from '../../node_modules/.pnpm/file-saver@2.0.5/node_modules/file-saver/dist/FileSaver.min.mjs';
|
|
2
|
+
import { utils, SSF, write as writeSync, read as readSync } from '../../node_modules/.pnpm/xlsx@0.18.5/node_modules/xlsx/xlsx.mjs';
|
|
3
|
+
|
|
4
|
+
"use strict";
|
|
5
|
+
var __defProp = Object.defineProperty;
|
|
6
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
7
|
+
var __publicField = (obj, key, value) => {
|
|
8
|
+
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
9
|
+
return value;
|
|
10
|
+
};
|
|
11
|
+
function dateNum(v, date1904 = false) {
|
|
12
|
+
if (date1904)
|
|
13
|
+
v += 1462;
|
|
14
|
+
const epoch = Date.parse(v);
|
|
15
|
+
return (epoch - new Date(Date.UTC(1899, 11, 30))) / (24 * 60 * 60 * 1e3);
|
|
16
|
+
}
|
|
17
|
+
function sheetFromArrayOfArrays(data) {
|
|
18
|
+
const ws = {};
|
|
19
|
+
const range = {
|
|
20
|
+
s: {
|
|
21
|
+
c: 1e7,
|
|
22
|
+
r: 1e7
|
|
23
|
+
},
|
|
24
|
+
e: {
|
|
25
|
+
c: 0,
|
|
26
|
+
r: 0
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
for (let R = 0; R !== data.length; ++R) {
|
|
30
|
+
for (let C = 0; C !== data[R].length; ++C) {
|
|
31
|
+
if (range.s.r > R)
|
|
32
|
+
range.s.r = R;
|
|
33
|
+
if (range.s.c > C)
|
|
34
|
+
range.s.c = C;
|
|
35
|
+
if (range.e.r < R)
|
|
36
|
+
range.e.r = R;
|
|
37
|
+
if (range.e.c < C)
|
|
38
|
+
range.e.c = C;
|
|
39
|
+
const cell = {
|
|
40
|
+
v: data[R][C]
|
|
41
|
+
};
|
|
42
|
+
if (cell.v == null)
|
|
43
|
+
continue;
|
|
44
|
+
const cellRef = utils.encode_cell({
|
|
45
|
+
c: C,
|
|
46
|
+
r: R
|
|
47
|
+
});
|
|
48
|
+
if (typeof cell.v === "number")
|
|
49
|
+
cell.t = "n";
|
|
50
|
+
else if (typeof cell.v === "boolean")
|
|
51
|
+
cell.t = "b";
|
|
52
|
+
else if (cell.v instanceof Date) {
|
|
53
|
+
cell.t = "n";
|
|
54
|
+
cell.z = SSF._table[14];
|
|
55
|
+
cell.v = dateNum(cell.v);
|
|
56
|
+
} else
|
|
57
|
+
cell.t = "s";
|
|
58
|
+
ws[cellRef] = cell;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
if (range.s.c < 1e7)
|
|
62
|
+
ws["!ref"] = utils.encode_range(range);
|
|
63
|
+
return ws;
|
|
64
|
+
}
|
|
65
|
+
class Workbook {
|
|
66
|
+
constructor() {
|
|
67
|
+
__publicField(this, "SheetNames", []);
|
|
68
|
+
__publicField(this, "Sheets", {});
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
function s2ab(s) {
|
|
72
|
+
const buf = new ArrayBuffer(s.length);
|
|
73
|
+
const view = new Uint8Array(buf);
|
|
74
|
+
for (let i = 0; i !== s.length; ++i)
|
|
75
|
+
view[i] = s.charCodeAt(i) & 255;
|
|
76
|
+
return buf;
|
|
77
|
+
}
|
|
78
|
+
function exportJsonToExcel({
|
|
79
|
+
multiHeader = [],
|
|
80
|
+
header,
|
|
81
|
+
data,
|
|
82
|
+
filename,
|
|
83
|
+
merges = [],
|
|
84
|
+
autoWidth = true,
|
|
85
|
+
bookType = "xlsx"
|
|
86
|
+
}) {
|
|
87
|
+
filename = filename || "excel-list";
|
|
88
|
+
data = [...data];
|
|
89
|
+
data.unshift(header);
|
|
90
|
+
for (let i = multiHeader.length - 1; i > -1; i--) {
|
|
91
|
+
data.unshift(multiHeader[i]);
|
|
92
|
+
}
|
|
93
|
+
const wsName = "SheetJS";
|
|
94
|
+
const wb = new Workbook();
|
|
95
|
+
const ws = sheetFromArrayOfArrays(data);
|
|
96
|
+
if (merges.length > 0) {
|
|
97
|
+
if (!ws["!merges"])
|
|
98
|
+
ws["!merges"] = [];
|
|
99
|
+
merges.forEach((item) => {
|
|
100
|
+
ws["!merges"].push(utils.decode_range(item));
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
if (autoWidth) {
|
|
104
|
+
const colWidth = data.map(
|
|
105
|
+
(row) => row.map((val) => {
|
|
106
|
+
if (val == null) {
|
|
107
|
+
return {
|
|
108
|
+
wch: 10
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
if (val.toString().charCodeAt(0) > 255) {
|
|
112
|
+
return {
|
|
113
|
+
wch: val.toString().length * 2
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
return {
|
|
117
|
+
wch: val.toString().length
|
|
118
|
+
};
|
|
119
|
+
})
|
|
120
|
+
);
|
|
121
|
+
const result = colWidth[0];
|
|
122
|
+
for (let i = 1; i < colWidth.length; i++) {
|
|
123
|
+
for (let j = 0; j < colWidth[i].length; j++) {
|
|
124
|
+
if (result[j].wch < colWidth[i][j].wch) {
|
|
125
|
+
result[j].wch = colWidth[i][j].wch;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
ws["!cols"] = result;
|
|
130
|
+
}
|
|
131
|
+
wb.SheetNames.push(wsName);
|
|
132
|
+
wb.Sheets[wsName] = ws;
|
|
133
|
+
const wbOut = writeSync(wb, {
|
|
134
|
+
bookType,
|
|
135
|
+
bookSST: false,
|
|
136
|
+
type: "binary"
|
|
137
|
+
});
|
|
138
|
+
FileSaver_minExports.saveAs(
|
|
139
|
+
new Blob([s2ab(wbOut)], {
|
|
140
|
+
type: "application/octet-stream"
|
|
141
|
+
}),
|
|
142
|
+
"".concat(filename, ".").concat(bookType)
|
|
143
|
+
);
|
|
144
|
+
}
|
|
145
|
+
async function readExcelFile(file, sheetIndex) {
|
|
146
|
+
const readFile = (_file) => {
|
|
147
|
+
return new Promise((resolve) => {
|
|
148
|
+
const reader = new FileReader();
|
|
149
|
+
reader.readAsBinaryString(_file);
|
|
150
|
+
reader.onload = (ev) => {
|
|
151
|
+
var _a;
|
|
152
|
+
resolve((_a = ev.target) == null ? void 0 : _a.result);
|
|
153
|
+
};
|
|
154
|
+
});
|
|
155
|
+
};
|
|
156
|
+
let data = await readFile(file);
|
|
157
|
+
const workbook = readSync(data, { type: "binary" });
|
|
158
|
+
const worksheet = workbook.Sheets[workbook.SheetNames[sheetIndex]];
|
|
159
|
+
data = utils.sheet_to_json(worksheet);
|
|
160
|
+
return data;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
export { exportJsonToExcel, readExcelFile };
|
|
@@ -56,7 +56,9 @@ const PortalView = /* @__PURE__ */ defineComponent({
|
|
|
56
56
|
const slotKey = ctrl.name || ctrl.id;
|
|
57
57
|
const crtlProps = {
|
|
58
58
|
context: this.c.context,
|
|
59
|
-
params: this.c.params
|
|
59
|
+
params: this.c.params,
|
|
60
|
+
provider: this.c.providers[slotKey],
|
|
61
|
+
modelData: ctrl
|
|
60
62
|
};
|
|
61
63
|
if (this.c.slotProps[slotKey]) {
|
|
62
64
|
Object.assign(crtlProps, this.c.slotProps[slotKey]);
|
|
@@ -73,7 +75,6 @@ const PortalView = /* @__PURE__ */ defineComponent({
|
|
|
73
75
|
slots[slotKey] = () => {
|
|
74
76
|
const comp = resolveComponent(provider.component);
|
|
75
77
|
return h(comp, {
|
|
76
|
-
modelData: ctrl,
|
|
77
78
|
...crtlProps
|
|
78
79
|
});
|
|
79
80
|
};
|
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,7 +1,18 @@
|
|
|
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
|
+
async onCreated() {
|
|
6
|
+
var _a, _b;
|
|
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
|
+
}
|
|
14
|
+
this.view.model.loadDefault = false;
|
|
15
|
+
}
|
|
5
16
|
}
|
|
6
17
|
|
|
7
18
|
export { MobCalendarViewEngine };
|
|
@@ -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
|
});
|
|
@@ -21,6 +21,7 @@ class PickupMDViewEngine extends MDViewEngine {
|
|
|
21
21
|
this.view.slotProps.mdctrl.singleSelect = this.view.state.singleSelect;
|
|
22
22
|
this.view.slotProps.mdctrl.selectedData = this.view.state.selectedData;
|
|
23
23
|
this.view.slotProps.mdctrl.mode = "SELECT";
|
|
24
|
+
this.view.slotProps.mdctrl.mdctrlActiveMode = 2;
|
|
24
25
|
}
|
|
25
26
|
async onMounted() {
|
|
26
27
|
await super.onMounted();
|
|
@@ -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
package/lib/_virtual/index14.cjs
CHANGED
package/lib/_virtual/index18.cjs
CHANGED
package/lib/_virtual/index19.cjs
CHANGED