@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
|
@@ -107,10 +107,11 @@ function useToolbarGroupModalHandler(opts) {
|
|
|
107
107
|
isGroupExtractMode: _isGroupExtractMode
|
|
108
108
|
});
|
|
109
109
|
}, {}, {
|
|
110
|
+
width: 100,
|
|
110
111
|
height: "auto",
|
|
111
112
|
attrs: {
|
|
112
113
|
position: "bottom",
|
|
113
|
-
overlayClass:
|
|
114
|
+
overlayClass: "".concat(ns.b()),
|
|
114
115
|
closeable: false,
|
|
115
116
|
round: true
|
|
116
117
|
}
|
|
@@ -166,12 +167,16 @@ function useCustomToolBarRender(ns, props, c, modalCloseCallback) {
|
|
|
166
167
|
switch (c.placement) {
|
|
167
168
|
case "LEFTSTART":
|
|
168
169
|
case "LEFT":
|
|
169
|
-
case "LEFTEND":
|
|
170
170
|
placement = "right-start";
|
|
171
171
|
break;
|
|
172
|
+
case "LEFTEND":
|
|
173
|
+
placement = "right-end";
|
|
174
|
+
break;
|
|
175
|
+
case "RIGHTEND":
|
|
176
|
+
placement = "left-end";
|
|
177
|
+
break;
|
|
172
178
|
case "RIGHTSTART":
|
|
173
179
|
case "RIGHT":
|
|
174
|
-
case "RIGHTEND":
|
|
175
180
|
default:
|
|
176
181
|
placement = "left-start";
|
|
177
182
|
break;
|
|
@@ -179,56 +184,74 @@ function useCustomToolBarRender(ns, props, c, modalCloseCallback) {
|
|
|
179
184
|
}
|
|
180
185
|
return placement;
|
|
181
186
|
});
|
|
182
|
-
const
|
|
187
|
+
const renderFloatToolbar = (modal, immediateFloat = true) => {
|
|
188
|
+
return vue.h(floatToolbar.FloatToolbar, {
|
|
189
|
+
modal,
|
|
190
|
+
modelData: props.modelData,
|
|
191
|
+
state: c.state,
|
|
192
|
+
buttonsState: c.state.buttonsState,
|
|
193
|
+
counterData: c.state.counterData,
|
|
194
|
+
placement: c.placement,
|
|
195
|
+
direction: c.direction,
|
|
196
|
+
immediateFloat
|
|
197
|
+
});
|
|
198
|
+
};
|
|
199
|
+
const handleDismiss = async (_res) => {
|
|
183
200
|
var _a;
|
|
201
|
+
const item = (_a = _res == null ? void 0 : _res.data) == null ? void 0 : _a[0];
|
|
202
|
+
if (item) {
|
|
203
|
+
const {
|
|
204
|
+
action,
|
|
205
|
+
event
|
|
206
|
+
} = item;
|
|
207
|
+
modalCloseCallback(action, event);
|
|
208
|
+
}
|
|
209
|
+
return false;
|
|
210
|
+
};
|
|
211
|
+
const onFloatBtnClick = async (_event, _currentTarget) => {
|
|
184
212
|
if (floatToolbarOverlay.value) {
|
|
185
213
|
await floatToolbarOverlay.value.dismiss();
|
|
186
214
|
return;
|
|
187
215
|
}
|
|
188
|
-
floatToolbarOverlay.value = ibiz.overlay.createPopover((modal) => {
|
|
189
|
-
return vue.h(floatToolbar.FloatToolbar, {
|
|
190
|
-
modal,
|
|
191
|
-
modelData: props.modelData,
|
|
192
|
-
buttonsState: c.state.buttonsState,
|
|
193
|
-
counterData: c.state.counterData,
|
|
194
|
-
placement: c.placement,
|
|
195
|
-
direction: c.direction
|
|
196
|
-
});
|
|
197
|
-
}, {}, {
|
|
216
|
+
floatToolbarOverlay.value = ibiz.overlay.createPopover((modal) => renderFloatToolbar(modal, false), {}, {
|
|
198
217
|
width: "auto",
|
|
199
218
|
height: "auto",
|
|
200
219
|
noArrow: true,
|
|
201
220
|
placement: modalPlacement.value,
|
|
202
|
-
modalClass:
|
|
221
|
+
modalClass: "".concat(ns.b("float-toolbar-modal"))
|
|
203
222
|
});
|
|
204
223
|
floatToolbarOverlay.value.present(_currentTarget);
|
|
205
224
|
const res = await floatToolbarOverlay.value.onWillDismiss();
|
|
206
|
-
|
|
207
|
-
if (item) {
|
|
208
|
-
const {
|
|
209
|
-
action,
|
|
210
|
-
event
|
|
211
|
-
} = item;
|
|
212
|
-
modalCloseCallback(action, event);
|
|
213
|
-
}
|
|
225
|
+
handleDismiss(res);
|
|
214
226
|
floatToolbarOverlay.value = void 0;
|
|
215
227
|
};
|
|
216
228
|
vue.onBeforeMount(() => {
|
|
217
229
|
floatToolbarOverlay.value = void 0;
|
|
218
230
|
});
|
|
219
231
|
const renderFloatButton = () => {
|
|
220
|
-
|
|
221
|
-
if (
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
232
|
+
let _slot;
|
|
233
|
+
if (c.showMode === "COLLAPSIBLE") {
|
|
234
|
+
const slot = {};
|
|
235
|
+
if (floatToolbarOverlay.value)
|
|
236
|
+
Object.assign(slot, {
|
|
237
|
+
icon: () => vue.createVNode(vue.resolveComponent("van-icon"), {
|
|
238
|
+
"name": "cross"
|
|
239
|
+
}, null)
|
|
240
|
+
});
|
|
241
|
+
return vue.createVNode(vue.resolveComponent("iBizFloatButton"), {
|
|
242
|
+
"align": c.placement,
|
|
243
|
+
"onClick": onFloatBtnClick
|
|
244
|
+
}, _isSlot(slot) ? slot : {
|
|
245
|
+
default: () => [slot]
|
|
226
246
|
});
|
|
247
|
+
}
|
|
227
248
|
return vue.createVNode(vue.resolveComponent("iBizFloatButton"), {
|
|
228
249
|
"align": c.placement,
|
|
229
|
-
"
|
|
230
|
-
}, _isSlot(
|
|
231
|
-
|
|
250
|
+
"renderMode": "DIV"
|
|
251
|
+
}, _isSlot(_slot = renderFloatToolbar({
|
|
252
|
+
dismiss: handleDismiss
|
|
253
|
+
})) ? _slot : {
|
|
254
|
+
default: () => [_slot]
|
|
232
255
|
});
|
|
233
256
|
};
|
|
234
257
|
return {
|
|
@@ -44,7 +44,7 @@ const ToolbarControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
44
44
|
},
|
|
45
45
|
setup(props) {
|
|
46
46
|
const c = vue3Util.useControlController((...args) => new runtime.ToolbarController(...args));
|
|
47
|
-
const ns = vue3Util.useNamespace(
|
|
47
|
+
const ns = vue3Util.useNamespace("control-".concat(c.model.controlType.toLowerCase()));
|
|
48
48
|
let position = "";
|
|
49
49
|
switch (props.modelData.toolbarStyle) {
|
|
50
50
|
case "MOBNAVRIGHTMENU":
|
|
@@ -77,7 +77,7 @@ const TreeControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
77
77
|
setup() {
|
|
78
78
|
var _a, _b;
|
|
79
79
|
const c = vue3Util.useControlController((...args) => new runtime.TreeController(...args));
|
|
80
|
-
const ns = vue3Util.useNamespace(
|
|
80
|
+
const ns = vue3Util.useNamespace("control-".concat(c.model.controlType.toLowerCase()));
|
|
81
81
|
const checkedKeys = vue.computed(() => {
|
|
82
82
|
return c.state.selectedData.map((item) => item._id);
|
|
83
83
|
});
|
|
@@ -287,7 +287,7 @@ const TreeControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
287
287
|
} = opts;
|
|
288
288
|
const nodeModel = findNodeModel(originData._id);
|
|
289
289
|
if (loadingEl && ((_a2 = nodeModel == null ? void 0 : nodeModel.sysCss) == null ? void 0 : _a2.cssName))
|
|
290
|
-
loadingEl.parentNode.parentNode.classList.add(
|
|
290
|
+
loadingEl.parentNode.parentNode.classList.add("".concat(nodeModel.sysCss.cssName));
|
|
291
291
|
if (c.state.singleSelect)
|
|
292
292
|
handleSingleSelect(opts);
|
|
293
293
|
const children = [];
|
|
@@ -295,8 +295,8 @@ const TreeControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
295
295
|
const count = c.state.counterData[nodeModel.counterId];
|
|
296
296
|
if (!(ramda.isNil(count) || nodeModel.counterMode === 1 && count === 0)) {
|
|
297
297
|
const child = document.createElement("div");
|
|
298
|
-
child.className =
|
|
299
|
-
child.innerText = count > 99 ?
|
|
298
|
+
child.className = "ibiz-badge tree-counter ".concat(ns.is("mob", true));
|
|
299
|
+
child.innerText = count > 99 ? "".concat(99, "+") : count;
|
|
300
300
|
children.push(child);
|
|
301
301
|
}
|
|
302
302
|
}
|
|
@@ -306,7 +306,7 @@ const TreeControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
306
306
|
children.push(child);
|
|
307
307
|
}
|
|
308
308
|
return _h("div", {
|
|
309
|
-
className:
|
|
309
|
+
className: "tree-button ".concat(ns.b("node-expanded-btn")),
|
|
310
310
|
click: (e, _opts) => {
|
|
311
311
|
if (originData._leaf)
|
|
312
312
|
return;
|
|
@@ -342,7 +342,7 @@ const TreeControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
342
342
|
if (breadcrumb.value) {
|
|
343
343
|
Object.assign(options, {
|
|
344
344
|
breadcrumb: {
|
|
345
|
-
el:
|
|
345
|
+
el: "#breadcrumb".concat(uuid),
|
|
346
346
|
link: (node, data) => {
|
|
347
347
|
var _a2, _b2;
|
|
348
348
|
const list = ((_b2 = (_a2 = node.store) == null ? void 0 : _a2.breadcrumb) == null ? void 0 : _b2.list) || [];
|
|
@@ -358,7 +358,7 @@ const TreeControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
358
358
|
content.appendChild(data.icon.cloneNode(true));
|
|
359
359
|
}
|
|
360
360
|
content.appendChild(textDom);
|
|
361
|
-
content.className =
|
|
361
|
+
content.className = "".concat(ns.be("header", "crumb"), " ").concat(ns.is("root", data._vsroot));
|
|
362
362
|
content.onclick = () => handleExpandedLastKey.bind(this)(data);
|
|
363
363
|
return content;
|
|
364
364
|
},
|
|
@@ -372,7 +372,7 @@ const TreeControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
372
372
|
const content = document.createElement("span");
|
|
373
373
|
const iconDom = document.createElement("i");
|
|
374
374
|
iconDom.className = "van-icon van-icon-arrow-left";
|
|
375
|
-
content.className =
|
|
375
|
+
content.className = "".concat(ns.bem("header", "crumb", "back-btn"));
|
|
376
376
|
content.appendChild(iconDom);
|
|
377
377
|
content.onclick = (_e) => handleCrumbBack.bind(this)(_e, crumbItem);
|
|
378
378
|
return content;
|
|
@@ -455,7 +455,7 @@ const TreeControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
455
455
|
"class": [this.ns.be("header", "container"), this.ns.is("hidden", this.hiddenBreadcrumb)]
|
|
456
456
|
}, [vue.createVNode(vue.resolveComponent("van-sticky"), null, {
|
|
457
457
|
default: () => [vue.createVNode("div", {
|
|
458
|
-
"id":
|
|
458
|
+
"id": "breadcrumb".concat(this.uuid),
|
|
459
459
|
"class": [this.ns.b("header"), this.ns.is("no-root", !this.treeData.length), this.ns.is("header-style", this.isHeaderStyle)]
|
|
460
460
|
}, null)]
|
|
461
461
|
})]), this.c.state.isCreated && this.c.state.isLoaded && vue.createVNode(vue.resolveComponent("vs-tree"), {
|
|
@@ -65,7 +65,7 @@ const TreeExpBarControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
65
65
|
},
|
|
66
66
|
setup() {
|
|
67
67
|
const c = vue3Util.useControlController((...args) => new runtime.TreeExpBarController(...args));
|
|
68
|
-
const ns = vue3Util.useNamespace(
|
|
68
|
+
const ns = vue3Util.useNamespace("control-".concat(c.model.controlType.toLowerCase()));
|
|
69
69
|
const {
|
|
70
70
|
renderTitle,
|
|
71
71
|
renderSearchBar
|
|
@@ -44,7 +44,7 @@ const WizardPanelControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
44
44
|
},
|
|
45
45
|
setup() {
|
|
46
46
|
const c = vue3Util.useControlController((...args) => new runtime.WizardPanelController(...args));
|
|
47
|
-
const ns = vue3Util.useNamespace(
|
|
47
|
+
const ns = vue3Util.useNamespace("control-".concat(c.model.controlType.toLowerCase()));
|
|
48
48
|
return {
|
|
49
49
|
c,
|
|
50
50
|
ns
|
|
@@ -80,16 +80,16 @@ const WizardPanelControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
80
80
|
dewizard
|
|
81
81
|
} = this.c.model;
|
|
82
82
|
footer = dewizard && vue.createVNode("div", {
|
|
83
|
-
"key":
|
|
83
|
+
"key": "".concat(activeFormTag, "footer"),
|
|
84
84
|
"class": this.ns.b("footer")
|
|
85
|
-
}, [((_b = buttonsState[
|
|
85
|
+
}, [((_b = buttonsState["".concat(activeFormTag, "@PREV")]) == null ? void 0 : _b.visible) && vue.createVNode(vue.resolveComponent("van-button"), {
|
|
86
86
|
"class": this.ns.be("footer", "prev"),
|
|
87
87
|
"onClick": () => {
|
|
88
88
|
this.c.onPrevClick();
|
|
89
89
|
}
|
|
90
90
|
}, {
|
|
91
91
|
default: () => [dewizard.prevCaption ? dewizard.prevCaption : ibiz.i18n.t("control.wizardPanel.prev")]
|
|
92
|
-
}), ((_c = buttonsState[
|
|
92
|
+
}), ((_c = buttonsState["".concat(activeFormTag, "@NEXT")]) == null ? void 0 : _c.visible) && vue.createVNode(vue.resolveComponent("van-button"), {
|
|
93
93
|
"type": "primary",
|
|
94
94
|
"class": this.ns.be("footer", "next"),
|
|
95
95
|
"onClick": () => {
|
|
@@ -97,7 +97,7 @@ const WizardPanelControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
97
97
|
}
|
|
98
98
|
}, {
|
|
99
99
|
default: () => [dewizard.nextCaption ? dewizard.nextCaption : ibiz.i18n.t("control.wizardPanel.next")]
|
|
100
|
-
}), ((_d = buttonsState[
|
|
100
|
+
}), ((_d = buttonsState["".concat(activeFormTag, "@FINISH")]) == null ? void 0 : _d.visible) && vue.createVNode(vue.resolveComponent("van-button"), {
|
|
101
101
|
"type": "primary",
|
|
102
102
|
"class": this.ns.be("footer", "finish"),
|
|
103
103
|
"onClick": () => {
|
|
@@ -111,7 +111,7 @@ const WizardPanelControl = /* @__PURE__ */ vue.defineComponent({
|
|
|
111
111
|
} = dewizard;
|
|
112
112
|
if (this.c.model.showStepBar && dewizardSteps && dewizardSteps.length > 0) {
|
|
113
113
|
let _slot2;
|
|
114
|
-
const active = this.c.steps.indexOf(this.c.stepTags[
|
|
114
|
+
const active = this.c.steps.indexOf(this.c.stepTags["".concat(this.c.model.name, "_form_").concat((_e = this.c.state.activeFormTag) == null ? void 0 : _e.toLowerCase())]);
|
|
115
115
|
stepsTitle = vue.createVNode(vue.resolveComponent("van-steps"), {
|
|
116
116
|
"active": active
|
|
117
117
|
}, _isSlot(_slot2 = dewizardSteps.map((step) => {
|
|
@@ -82,7 +82,7 @@ const IBizCascader = /* @__PURE__ */ vue.defineComponent({
|
|
|
82
82
|
const appDeRSs = minorAppDERSs.find((DERSs) => DERSs.majorAppDataEntityId === parentAppDataEntityId);
|
|
83
83
|
if (appDeRSs && appDeRSs.parentAppDEFieldId)
|
|
84
84
|
Object.assign(params, {
|
|
85
|
-
[
|
|
85
|
+
["n_".concat(appDeRSs.parentAppDEFieldId.toLowerCase(), "_eq")]: value
|
|
86
86
|
});
|
|
87
87
|
}
|
|
88
88
|
}
|
|
@@ -166,7 +166,7 @@ const IBizCascader = /* @__PURE__ */ vue.defineComponent({
|
|
|
166
166
|
text: item.srfmajortext ? item.srfmajortext : ibiz.i18n.t("editor.cascader.ibizCascader.title", {
|
|
167
167
|
index
|
|
168
168
|
}),
|
|
169
|
-
nodekey:
|
|
169
|
+
nodekey: "".concat(value ? "".concat(value, "_").concat(item.srfkey) : item.srfkey),
|
|
170
170
|
children: tabIndex === valueItems.value.length - 1 ? void 0 : []
|
|
171
171
|
}));
|
|
172
172
|
nodes.forEach((_node) => {
|
|
@@ -61,7 +61,7 @@ const IBizColorPicker = /* @__PURE__ */ vue.defineComponent({
|
|
|
61
61
|
render() {
|
|
62
62
|
let content = null;
|
|
63
63
|
if (this.readonly) {
|
|
64
|
-
content =
|
|
64
|
+
content = "".concat(this.currentVal || "");
|
|
65
65
|
} else {
|
|
66
66
|
content = [vue.createVNode(vue.resolveComponent("van-field"), {
|
|
67
67
|
"class": [this.ns.e("item")],
|
|
@@ -246,8 +246,8 @@ const IBizPicker = /* @__PURE__ */ vue.defineComponent({
|
|
|
246
246
|
}, [vue.createVNode("div", {
|
|
247
247
|
"class": [ns.bem("pop", "list", "item-text"), ns.is("bkcolor", !!(item == null ? void 0 : item.bkcolor))],
|
|
248
248
|
"style": (item == null ? void 0 : item.color) || (item == null ? void 0 : item.bkcolor) ? ns.cssVarBlock({
|
|
249
|
-
"pop-color-item":
|
|
250
|
-
"pop-color-item-bg":
|
|
249
|
+
"pop-color-item": "".concat(item.color || ""),
|
|
250
|
+
"pop-color-item-bg": "".concat(item.bkcolor || "")
|
|
251
251
|
}) : ""
|
|
252
252
|
}, [item[c.textName]]), selected && vue.createVNode(vue.resolveComponent("van-icon"), {
|
|
253
253
|
"class": ns.bem("pop", "list", "selected"),
|
|
@@ -99,9 +99,9 @@ const IBizPickerSelectView = /* @__PURE__ */ vue.defineComponent({
|
|
|
99
99
|
if (event && Array.isArray(event)) {
|
|
100
100
|
event.forEach((select) => {
|
|
101
101
|
const srfkey = select[c.keyName] ? select[c.keyName] : select.srfkey;
|
|
102
|
-
tempValue +=
|
|
102
|
+
tempValue += "".concat(srfkey, ",");
|
|
103
103
|
const srfmajortext = select[c.textName] ? select[c.textName] : select.srfmajortext;
|
|
104
|
-
tempText +=
|
|
104
|
+
tempText += "".concat(srfmajortext, ",");
|
|
105
105
|
});
|
|
106
106
|
}
|
|
107
107
|
tempValue = tempValue.substring(0, tempValue.length - 1);
|
|
@@ -87,7 +87,7 @@ class PickerEditorController extends runtime.EditorController {
|
|
|
87
87
|
if (this.deACMode) {
|
|
88
88
|
const { minorSortAppDEFieldId, minorSortDir } = this.deACMode;
|
|
89
89
|
if (minorSortAppDEFieldId && minorSortDir) {
|
|
90
|
-
this.sort =
|
|
90
|
+
this.sort = "".concat(minorSortAppDEFieldId.toLowerCase(), ",").concat(minorSortDir.toLowerCase());
|
|
91
91
|
}
|
|
92
92
|
if (this.deACMode.textAppDEFieldId) {
|
|
93
93
|
this.textName = this.deACMode.textAppDEFieldId;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ibiz-date-range-picker{--ibiz-date-range-picker-color:var(--ibiz-editor-default-text-color);--ibiz-date-range-picker-color-bg:transparent;--ibiz-date-range-picker-color-placeholder:var(--ibiz-editor-default-placeholder-color);--ibiz-date-range-picker-color-disabled:var(--ibiz-editor-disabled-text-color);--ibiz-date-range-picker-color-readonly:var(--ibiz-editor-readonly-text-color);--ibiz-date-range-picker-font-fontSize:var(--ibiz-editor-default-font-size);--ibiz-date-range-picker-font-lineHeight:var(--ibiz-editor-default-line-height);--ibiz-date-range-picker-font-textAlign:var(--ibiz-editor-default-text-align);display:flex;align-items:center;width:100%;overflow:hidden;font-size:var(--ibiz-date-range-picker-font-fontSize);line-height:var(--ibiz-date-range-picker-font-lineHeight);color:var(--ibiz-date-range-picker-color);text-align:var(--ibiz-date-range-picker-font-textAlign);--van-field-input-text-color:var(--ibiz-date-range-picker-color);--van-cell-text-color:var(--ibiz-date-range-picker-color);--van-cell-value-color:var(--ibiz-date-range-picker-color);--van-cell-line-height:var(--ibiz-date-range-picker-font-lineHeight);--van-cell-font-size:var(--ibiz-date-range-picker-font-fontSize);--van-cell-value-font-size:var(--ibiz-date-range-picker-font-fontSize)}.ibiz-date-range-picker__content{position:relative;display:flex;flex:1;align-items:center}.ibiz-date-range-picker__content input{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.ibiz-date-range-picker__content.is-end .van-field input{text-align:right}.ibiz-date-range-picker__content.is-end .van-field input::-moz-placeholder{text-align:right}.ibiz-date-range-picker__content.is-end .van-field input::placeholder{text-align:right}.ibiz-date-range-picker__expand-hidden{opacity:0}.ibiz-date-range-picker__input{position:absolute;top:0;left:0}.ibiz-date-range-picker .van-field{line-height:var(--ibiz-date-range-picker-font-lineHeight)}.ibiz-date-range-picker .van-field::after{display:none}.ibiz-date-range-picker .van-field .van-field__control--custom{min-height:var(--ibiz-date-range-picker-font-lineHeight)}.ibiz-date-range-picker input{width:100%;padding:0;font-size:var(--ibiz-date-range-picker-font-fontSize);line-height:var(--ibiz-date-range-picker-font-lineHeight);color:var(--ibiz-date-range-picker-color);background-color:var(--ibiz-date-range-picker-color-bg);border:none;box-shadow:none}.ibiz-date-range-picker input::-moz-placeholder{color:var(--ibiz-date-range-picker-color-placeholder);-webkit-text-fill-color:var(--ibiz-date-range-picker-color-placeholder)}.ibiz-date-range-picker input::placeholder{color:var(--ibiz-date-range-picker-color-placeholder);-webkit-text-fill-color:var(--ibiz-date-range-picker-color-placeholder)}.ibiz-date-range-picker{display:flex;align-items:center;justify-content:center}.ibiz-date-range-picker--disabled{--van-field-input-text-color:var(--ibiz-date-range-picker-color-disabled);color:var(--ibiz-date-range-picker-color-disabled)}.ibiz-date-range-picker--disabled input{color:var(--ibiz-date-range-picker-color-disabled)}.ibiz-date-range-picker--readonly{--van-field-input-text-color:var(--ibiz-date-range-picker-color-readonly);color:var(--ibiz-date-range-picker-color-readonly)}.ibiz-date-range-picker--readonly input{color:var(--ibiz-date-range-picker-color-readonly)}
|
|
1
|
+
.ibiz-date-range-picker{--ibiz-date-range-picker-color:var(--ibiz-editor-default-text-color);--ibiz-date-range-picker-color-bg:transparent;--ibiz-date-range-picker-color-placeholder:var(--ibiz-editor-default-placeholder-color);--ibiz-date-range-picker-color-disabled:var(--ibiz-editor-disabled-text-color);--ibiz-date-range-picker-color-readonly:var(--ibiz-editor-readonly-text-color);--ibiz-date-range-picker-font-fontSize:var(--ibiz-editor-default-font-size);--ibiz-date-range-picker-font-lineHeight:var(--ibiz-editor-default-line-height);--ibiz-date-range-picker-font-textAlign:var(--ibiz-editor-default-text-align);display:flex;align-items:center;width:100%;overflow:hidden;font-size:var(--ibiz-date-range-picker-font-fontSize);line-height:var(--ibiz-date-range-picker-font-lineHeight);color:var(--ibiz-date-range-picker-color);text-align:var(--ibiz-date-range-picker-font-textAlign);--van-field-input-text-color:var(--ibiz-date-range-picker-color);--van-cell-text-color:var(--ibiz-date-range-picker-color);--van-cell-value-color:var(--ibiz-date-range-picker-color);--van-cell-line-height:var(--ibiz-date-range-picker-font-lineHeight);--van-cell-font-size:var(--ibiz-date-range-picker-font-fontSize);--van-cell-value-font-size:var(--ibiz-date-range-picker-font-fontSize)}.ibiz-date-range-picker__content{position:relative;display:flex;flex:1;align-items:center;min-height:var(--ibiz-date-range-picker-font-lineHeight)}.ibiz-date-range-picker__content input{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.ibiz-date-range-picker__content.is-end .van-field input{text-align:right}.ibiz-date-range-picker__content.is-end .van-field input::-moz-placeholder{text-align:right}.ibiz-date-range-picker__content.is-end .van-field input::placeholder{text-align:right}.ibiz-date-range-picker__expand-hidden{opacity:0}.ibiz-date-range-picker__input{position:absolute;top:0;left:0}.ibiz-date-range-picker .van-field{line-height:var(--ibiz-date-range-picker-font-lineHeight)}.ibiz-date-range-picker .van-field::after{display:none}.ibiz-date-range-picker .van-field .van-field__control--custom{min-height:var(--ibiz-date-range-picker-font-lineHeight)}.ibiz-date-range-picker input{width:100%;padding:0;font-size:var(--ibiz-date-range-picker-font-fontSize);line-height:var(--ibiz-date-range-picker-font-lineHeight);color:var(--ibiz-date-range-picker-color);background-color:var(--ibiz-date-range-picker-color-bg);border:none;box-shadow:none}.ibiz-date-range-picker input::-moz-placeholder{color:var(--ibiz-date-range-picker-color-placeholder);-webkit-text-fill-color:var(--ibiz-date-range-picker-color-placeholder)}.ibiz-date-range-picker input::placeholder{color:var(--ibiz-date-range-picker-color-placeholder);-webkit-text-fill-color:var(--ibiz-date-range-picker-color-placeholder)}.ibiz-date-range-picker{display:flex;align-items:center;justify-content:center}.ibiz-date-range-picker--disabled{--van-field-input-text-color:var(--ibiz-date-range-picker-color-disabled);color:var(--ibiz-date-range-picker-color-disabled)}.ibiz-date-range-picker--disabled input{color:var(--ibiz-date-range-picker-color-disabled)}.ibiz-date-range-picker--readonly{--van-field-input-text-color:var(--ibiz-date-range-picker-color-readonly);color:var(--ibiz-date-range-picker-color-readonly)}.ibiz-date-range-picker--readonly input{color:var(--ibiz-date-range-picker-color-readonly)}
|
|
@@ -156,8 +156,8 @@ const IBizDropdown = /* @__PURE__ */ vue.defineComponent({
|
|
|
156
156
|
}, [vue.createVNode("div", {
|
|
157
157
|
"class": [ns.bem("pop", "list", "item-text"), ns.is("bkcolor", !!(item == null ? void 0 : item.bkcolor))],
|
|
158
158
|
"style": (item == null ? void 0 : item.color) || (item == null ? void 0 : item.bkcolor) ? ns.cssVarBlock({
|
|
159
|
-
"pop-color-item":
|
|
160
|
-
"pop-color-item-bg":
|
|
159
|
+
"pop-color-item": "".concat(item.color || ""),
|
|
160
|
+
"pop-color-item-bg": "".concat(item.bkcolor || "")
|
|
161
161
|
}) : ""
|
|
162
162
|
}, [item.sysImage && vue.createVNode(vue.resolveComponent("iBizIcon"), {
|
|
163
163
|
"icon": item.sysImage
|
|
@@ -205,9 +205,9 @@ const IBizDropdown = /* @__PURE__ */ vue.defineComponent({
|
|
|
205
205
|
return vue.createVNode("span", {
|
|
206
206
|
"class": [this.ns.b("readonly-text-item"), codeListItem == null ? void 0 : codeListItem.textCls, (codeListItem == null ? void 0 : codeListItem.bkcolor) ? this.ns.bm("readonly-text-item", "has-bg") : ""],
|
|
207
207
|
"style": (codeListItem == null ? void 0 : codeListItem.color) || (codeListItem == null ? void 0 : codeListItem.bkcolor) ? this.ns.cssVarBlock({
|
|
208
|
-
"color-readonly":
|
|
209
|
-
"color-item":
|
|
210
|
-
"color-item-bg":
|
|
208
|
+
"color-readonly": "".concat(codeListItem.color || ""),
|
|
209
|
+
"color-item": "".concat(codeListItem.color || ""),
|
|
210
|
+
"color-item-bg": "".concat(codeListItem.bkcolor || "")
|
|
211
211
|
}) : ""
|
|
212
212
|
}, [vue.createVNode("span", {
|
|
213
213
|
"class": this.ns.be("readonly-text-item", "label")
|
|
@@ -232,8 +232,8 @@ const IBizDropdown = /* @__PURE__ */ vue.defineComponent({
|
|
|
232
232
|
}
|
|
233
233
|
},
|
|
234
234
|
"style": (optionValue == null ? void 0 : optionValue.color) || (optionValue == null ? void 0 : optionValue.bkcolor) ? this.ns.cssVarBlock({
|
|
235
|
-
"color-item":
|
|
236
|
-
"color-item-bg":
|
|
235
|
+
"color-item": "".concat(optionValue.color || ""),
|
|
236
|
+
"color-item-bg": "".concat(optionValue.bkcolor || "")
|
|
237
237
|
}) : ""
|
|
238
238
|
}, {
|
|
239
239
|
input: () => {
|
|
@@ -38,7 +38,7 @@ const IBizEmojiPicker = /* @__PURE__ */ vue.defineComponent({
|
|
|
38
38
|
};
|
|
39
39
|
vue.watch(() => props.value, (newVal, oldVal) => {
|
|
40
40
|
if (newVal !== oldVal) {
|
|
41
|
-
emoji.value = newVal && core.isEmoji(
|
|
41
|
+
emoji.value = newVal && core.isEmoji("".concat(newVal)) ? core.base64ToStr(newVal) : newVal;
|
|
42
42
|
}
|
|
43
43
|
}, {
|
|
44
44
|
immediate: true
|
|
@@ -52,6 +52,17 @@ class HtmlEditorController extends runtime.EditorController {
|
|
|
52
52
|
* @memberof HtmlEditorController
|
|
53
53
|
*/
|
|
54
54
|
__publicField(this, "imageMode", "file");
|
|
55
|
+
/**
|
|
56
|
+
* @description 是否启用无权限
|
|
57
|
+
* @type {boolean}
|
|
58
|
+
* @memberof HtmlEditorController
|
|
59
|
+
*/
|
|
60
|
+
__publicField(this, "enableNoAccess", false);
|
|
61
|
+
/**
|
|
62
|
+
* @description 是否使用全局文件下载前缀
|
|
63
|
+
* @memberof HtmlEditorController
|
|
64
|
+
*/
|
|
65
|
+
__publicField(this, "globalDownloadPrifix", false);
|
|
55
66
|
/**
|
|
56
67
|
* @description quill配置
|
|
57
68
|
* @type {IData}
|
|
@@ -91,16 +102,18 @@ class HtmlEditorController extends runtime.EditorController {
|
|
|
91
102
|
imagemode,
|
|
92
103
|
modules,
|
|
93
104
|
defaultheight,
|
|
94
|
-
showcollapse
|
|
105
|
+
showcollapse,
|
|
106
|
+
enablenoaccess,
|
|
107
|
+
globaldownloadprifix
|
|
95
108
|
} = this.editorParams;
|
|
96
109
|
if (uploadParams) {
|
|
97
110
|
try {
|
|
98
111
|
this.uploadParams = JSON.parse(uploadParams);
|
|
99
112
|
} catch (error) {
|
|
100
113
|
ibiz.log.error(
|
|
101
|
-
|
|
114
|
+
"\u7F16\u8F91\u5668[".concat(ibiz.log.error(
|
|
102
115
|
error
|
|
103
|
-
)
|
|
116
|
+
), "]\u7F16\u8F91\u5668\u53C2\u6570 uploadParams \u975E json \u683C\u5F0F")
|
|
104
117
|
);
|
|
105
118
|
}
|
|
106
119
|
}
|
|
@@ -109,9 +122,9 @@ class HtmlEditorController extends runtime.EditorController {
|
|
|
109
122
|
this.uploadParams = JSON.parse(uploadparams);
|
|
110
123
|
} catch (error) {
|
|
111
124
|
ibiz.log.error(
|
|
112
|
-
|
|
125
|
+
"\u7F16\u8F91\u5668[".concat(ibiz.log.error(
|
|
113
126
|
error
|
|
114
|
-
)
|
|
127
|
+
), "]\u7F16\u8F91\u5668\u53C2\u6570 uploadParams \u975E json \u683C\u5F0F")
|
|
115
128
|
);
|
|
116
129
|
}
|
|
117
130
|
}
|
|
@@ -120,9 +133,9 @@ class HtmlEditorController extends runtime.EditorController {
|
|
|
120
133
|
this.exportParams = JSON.parse(exportParams);
|
|
121
134
|
} catch (error) {
|
|
122
135
|
ibiz.log.error(
|
|
123
|
-
|
|
136
|
+
"\u7F16\u8F91\u5668[".concat(ibiz.log.error(
|
|
124
137
|
error
|
|
125
|
-
)
|
|
138
|
+
), "]\u7F16\u8F91\u5668\u53C2\u6570 exportParams \u975E json \u683C\u5F0F")
|
|
126
139
|
);
|
|
127
140
|
}
|
|
128
141
|
}
|
|
@@ -131,9 +144,9 @@ class HtmlEditorController extends runtime.EditorController {
|
|
|
131
144
|
this.exportParams = JSON.parse(exportparams);
|
|
132
145
|
} catch (error) {
|
|
133
146
|
ibiz.log.error(
|
|
134
|
-
|
|
147
|
+
"\u7F16\u8F91\u5668[".concat(ibiz.log.error(
|
|
135
148
|
error
|
|
136
|
-
)
|
|
149
|
+
), "]\u7F16\u8F91\u5668\u53C2\u6570 exportParams \u975E json \u683C\u5F0F")
|
|
137
150
|
);
|
|
138
151
|
}
|
|
139
152
|
}
|
|
@@ -185,6 +198,10 @@ class HtmlEditorController extends runtime.EditorController {
|
|
|
185
198
|
if (showcollapse) {
|
|
186
199
|
this.showCollapse = this.toBoolean(showcollapse);
|
|
187
200
|
}
|
|
201
|
+
if (enablenoaccess) {
|
|
202
|
+
this.enableNoAccess = enablenoaccess === "true";
|
|
203
|
+
}
|
|
204
|
+
this.globalDownloadPrifix = globaldownloadprifix === "true" || ibiz.config.common.globalDownloadPrifix;
|
|
188
205
|
}
|
|
189
206
|
}
|
|
190
207
|
}
|
|
@@ -29,7 +29,7 @@ const IBizQuill = /* @__PURE__ */ vue.defineComponent({
|
|
|
29
29
|
const lang = ibiz.i18n.getLang();
|
|
30
30
|
let quill$1 = null;
|
|
31
31
|
const headers = vue.ref({
|
|
32
|
-
[
|
|
32
|
+
["".concat(ibiz.env.tokenHeader, "Authorization")]: "".concat(ibiz.env.tokenPrefix, "Bearer ").concat(core.getAppCookie(core.CoreConst.TOKEN))
|
|
33
33
|
});
|
|
34
34
|
const uploadUrl = vue.ref("");
|
|
35
35
|
const downloadUrl = vue.ref("");
|
|
@@ -52,7 +52,14 @@ const IBizQuill = /* @__PURE__ */ vue.defineComponent({
|
|
|
52
52
|
const handleUpload = async (image) => {
|
|
53
53
|
const blob = core.base64ToBlob(image);
|
|
54
54
|
const file = await ibiz.util.file.fileUpload(uploadUrl.value, blob, headers.value);
|
|
55
|
-
|
|
55
|
+
let url = downloadUrl.value.replace("%fileId%", file.fileid);
|
|
56
|
+
if (ibiz.config.common.enableDownloadTicket && !c.enableNoAccess) {
|
|
57
|
+
const downloadTicket = await ibiz.util.file.getDownloadTicket(c.context, c.params, props.data || {}, {
|
|
58
|
+
fileId: file.id
|
|
59
|
+
}, c.downloadTicketParams);
|
|
60
|
+
if (downloadTicket && downloadTicket.ticket)
|
|
61
|
+
url = downloadUrl.value.replace("%fileId%", downloadTicket.ticket);
|
|
62
|
+
}
|
|
56
63
|
const value = getValue();
|
|
57
64
|
tempValue.value = value.replace(image, url);
|
|
58
65
|
};
|
|
@@ -96,7 +103,9 @@ const IBizQuill = /* @__PURE__ */ vue.defineComponent({
|
|
|
96
103
|
vue.watch(() => props.data, (newVal) => {
|
|
97
104
|
if (newVal) {
|
|
98
105
|
const editorParams = {
|
|
99
|
-
...c.editorParams
|
|
106
|
+
...c.editorParams,
|
|
107
|
+
enableNoAccess: c.enableNoAccess,
|
|
108
|
+
globalDownloadPrifix: c.globalDownloadPrifix
|
|
100
109
|
};
|
|
101
110
|
if (editorParams.uploadparams) {
|
|
102
111
|
editorParams.uploadParams = JSON.parse(editorParams.uploadparams);
|
|
@@ -54,10 +54,10 @@ const IBizQuillPreview = /* @__PURE__ */ vue.defineComponent({
|
|
|
54
54
|
if (props.isCollapse && editorRef.value) {
|
|
55
55
|
const height = editorRef.value.offsetHeight;
|
|
56
56
|
if (height < props.defaultHeight) {
|
|
57
|
-
collapseHeight.value =
|
|
57
|
+
collapseHeight.value = "".concat(height, "px");
|
|
58
58
|
showCollapseBtn.value = false;
|
|
59
59
|
} else {
|
|
60
|
-
collapseHeight.value =
|
|
60
|
+
collapseHeight.value = "".concat(props.defaultHeight, "px");
|
|
61
61
|
showCollapseBtn.value = true;
|
|
62
62
|
}
|
|
63
63
|
}
|
|
@@ -72,7 +72,7 @@ const IBizQuillPreview = /* @__PURE__ */ vue.defineComponent({
|
|
|
72
72
|
const height = image.offsetHeight;
|
|
73
73
|
totalHieght += height;
|
|
74
74
|
if (totalHieght > props.defaultHeight) {
|
|
75
|
-
collapseHeight.value =
|
|
75
|
+
collapseHeight.value = "".concat(props.defaultHeight, "px");
|
|
76
76
|
showCollapseBtn.value = true;
|
|
77
77
|
}
|
|
78
78
|
});
|
|
@@ -132,7 +132,7 @@ const IBizQuillPreview = /* @__PURE__ */ vue.defineComponent({
|
|
|
132
132
|
return vue.createVNode("div", {
|
|
133
133
|
"class": [this.ns.b(), this.disabled ? this.ns.m("disabled") : "", this.readonly ? this.ns.m("readonly") : "", this.ns.m(this.lang.toLowerCase()), this.showCollapse ? this.ns.m("show-collapse") : "", this.ns.is("collapse", this.isCollapse)],
|
|
134
134
|
"style": this.ns.cssVarBlock({
|
|
135
|
-
"height-default":
|
|
135
|
+
"height-default": "".concat(this.collapseHeight || "")
|
|
136
136
|
})
|
|
137
137
|
}, [vue.createVNode("div", {
|
|
138
138
|
"ref": "editorRef",
|
|
@@ -25,7 +25,7 @@ const IBizMarkDown = /* @__PURE__ */ vue.defineComponent({
|
|
|
25
25
|
const id = qxUtil.createUUID();
|
|
26
26
|
const previewId = qxUtil.createUUID();
|
|
27
27
|
const headers = vue.ref({
|
|
28
|
-
[
|
|
28
|
+
["".concat(ibiz.env.tokenHeader, "Authorization")]: "".concat(ibiz.env.tokenPrefix, "Bearer ").concat(core.getAppCookie(core.CoreConst.TOKEN))
|
|
29
29
|
});
|
|
30
30
|
const uploadUrl = vue.ref("");
|
|
31
31
|
const downloadUrl = vue.ref("");
|
|
@@ -39,7 +39,9 @@ const IBizMarkDown = /* @__PURE__ */ vue.defineComponent({
|
|
|
39
39
|
vue.watch(() => props.data, (newVal) => {
|
|
40
40
|
if (newVal) {
|
|
41
41
|
const editorParams = {
|
|
42
|
-
...c.editorParams
|
|
42
|
+
...c.editorParams,
|
|
43
|
+
enableNoAccess: c.enableNoAccess,
|
|
44
|
+
globalDownloadPrifix: c.globalDownloadPrifix
|
|
43
45
|
};
|
|
44
46
|
if (editorParams.uploadparams) {
|
|
45
47
|
editorParams.uploadParams = JSON.parse(editorParams.uploadparams);
|
|
@@ -57,7 +59,14 @@ const IBizMarkDown = /* @__PURE__ */ vue.defineComponent({
|
|
|
57
59
|
});
|
|
58
60
|
const fileUpload = async (file, callback) => {
|
|
59
61
|
const data = await ibiz.util.file.fileUpload(uploadUrl.value, file, headers.value);
|
|
60
|
-
|
|
62
|
+
let url = downloadUrl.value.replace("%fileId%", data.fileid);
|
|
63
|
+
if (ibiz.config.common.enableDownloadTicket && !c.enableNoAccess) {
|
|
64
|
+
const downloadTicket = await ibiz.util.file.getDownloadTicket(c.context, c.params, props.data || {}, {
|
|
65
|
+
fileId: data.fileid
|
|
66
|
+
}, c.downloadTicketParams);
|
|
67
|
+
if (downloadTicket && downloadTicket.ticket)
|
|
68
|
+
url = downloadUrl.value.replace("%fileId%", downloadTicket.ticket);
|
|
69
|
+
}
|
|
61
70
|
callback(url);
|
|
62
71
|
};
|
|
63
72
|
const getCherryHtml = () => {
|
|
@@ -22,11 +22,27 @@ class MarkDownEditorController extends runtime.EditorController {
|
|
|
22
22
|
* 下载参数
|
|
23
23
|
*/
|
|
24
24
|
__publicField(this, "exportParams");
|
|
25
|
+
/**
|
|
26
|
+
* @description 是否启用无权限
|
|
27
|
+
* @type {boolean}
|
|
28
|
+
* @memberof MarkDownEditorController
|
|
29
|
+
*/
|
|
30
|
+
__publicField(this, "enableNoAccess", false);
|
|
31
|
+
/**
|
|
32
|
+
* @description 是否使用全局文件下载前缀
|
|
33
|
+
* @memberof MarkDownEditorController
|
|
34
|
+
*/
|
|
35
|
+
__publicField(this, "globalDownloadPrifix", false);
|
|
25
36
|
}
|
|
26
37
|
async onInit() {
|
|
27
38
|
await super.onInit();
|
|
28
39
|
if (this.editorParams) {
|
|
29
|
-
const {
|
|
40
|
+
const {
|
|
41
|
+
uploadparams,
|
|
42
|
+
exportparams,
|
|
43
|
+
enablenoaccess,
|
|
44
|
+
globaldownloadprifix
|
|
45
|
+
} = this.editorParams;
|
|
30
46
|
if (uploadparams) {
|
|
31
47
|
try {
|
|
32
48
|
this.uploadParams = JSON.parse(uploadparams);
|
|
@@ -47,6 +63,10 @@ class MarkDownEditorController extends runtime.EditorController {
|
|
|
47
63
|
);
|
|
48
64
|
}
|
|
49
65
|
}
|
|
66
|
+
if (enablenoaccess) {
|
|
67
|
+
this.enableNoAccess = enablenoaccess === "true";
|
|
68
|
+
}
|
|
69
|
+
this.globalDownloadPrifix = globaldownloadprifix === "true" || ibiz.config.common.globalDownloadPrifix;
|
|
50
70
|
}
|
|
51
71
|
}
|
|
52
72
|
/**
|
|
@@ -60,8 +80,8 @@ class MarkDownEditorController extends runtime.EditorController {
|
|
|
60
80
|
* @returns {*} {{ uploadUrl: string; downloadUrl: string }}
|
|
61
81
|
*/
|
|
62
82
|
calcBaseUrl(data) {
|
|
63
|
-
let uploadUrl =
|
|
64
|
-
let downloadUrl =
|
|
83
|
+
let uploadUrl = "".concat(ibiz.env.baseUrl, "/").concat(ibiz.env.appId).concat(ibiz.env.uploadFileUrl);
|
|
84
|
+
let downloadUrl = "".concat(ibiz.env.baseUrl, "/").concat(ibiz.env.appId).concat(ibiz.env.downloadFileUrl, "/%fileId%");
|
|
65
85
|
let uploadParams = {};
|
|
66
86
|
let exportParams = {};
|
|
67
87
|
if (this.uploadParams) {
|