agilebuilder-ui 1.1.65-tmp12 → 1.1.65-tmp13
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/es/IntervalSelection/index.js +7 -0
- package/es/IntervalSelection/src/sectionDate.vue.js +49 -0
- package/es/IntervalSelection/src/sectionDate.vue2.js +4 -0
- package/es/_virtual/__vite-browser-external.js +4 -0
- package/es/_virtual/_plugin-vue_export-helper.js +9 -0
- package/es/breadcrumb/index.js +7 -0
- package/es/breadcrumb/src/breadcrumb.vue.js +28 -0
- package/es/breadcrumb/src/breadcrumb.vue2.js +4 -0
- package/es/chat-embed/index.js +7 -0
- package/es/chat-embed/src/chat-addition-data.vue.js +7 -0
- package/es/chat-embed/src/chat-addition-data.vue2.js +14 -0
- package/es/chat-embed/src/chat-addition-data.vue3.js +4 -0
- package/es/chat-embed/src/chat-ai-answer-tip.vue.js +7 -0
- package/es/chat-embed/src/chat-ai-answer-tip.vue2.js +29 -0
- package/es/chat-embed/src/chat-ai-answer-tip.vue3.js +4 -0
- package/es/chat-embed/src/chat-bubble-footer.vue.js +7 -0
- package/es/chat-embed/src/chat-bubble-footer.vue2.js +33 -0
- package/es/chat-embed/src/chat-bubble-footer.vue3.js +4 -0
- package/es/chat-embed/src/chat-embed-message.js +22 -0
- package/es/chat-embed/src/chat-sender.vue.js +7 -0
- package/es/chat-embed/src/chat-sender.vue2.js +160 -0
- package/es/chat-embed/src/chat-sender.vue3.js +4 -0
- package/es/chat-embed/src/components/answer-auto-chart.vue.js +7 -0
- package/es/chat-embed/src/components/answer-auto-chart.vue2.js +59 -0
- package/es/chat-embed/src/components/answer-auto-chart.vue3.js +4 -0
- package/es/chat-embed/src/components/answer-home-chart.vue.js +7 -0
- package/es/chat-embed/src/components/answer-home-chart.vue2.js +6 -0
- package/es/chat-embed/src/components/answer-home-chart.vue3.js +4 -0
- package/es/chat-embed/src/components/answer-interaction-data.vue.js +7 -0
- package/es/chat-embed/src/components/answer-interaction-data.vue2.js +118 -0
- package/es/chat-embed/src/components/answer-interaction-data.vue3.js +4 -0
- package/es/chat-embed/src/components/history-detail.vue.js +7 -0
- package/es/chat-embed/src/components/history-detail.vue2.js +55 -0
- package/es/chat-embed/src/components/history-detail.vue3.js +4 -0
- package/es/chat-embed/src/header.vue.js +7 -0
- package/es/chat-embed/src/header.vue2.js +46 -0
- package/es/chat-embed/src/header.vue3.js +4 -0
- package/es/chat-embed/src/index.vue.js +7 -0
- package/es/chat-embed/src/index.vue2.js +307 -0
- package/es/chat-embed/src/index.vue3.js +4 -0
- package/es/chat-embed/src/recommendation-message.vue.js +7 -0
- package/es/chat-embed/src/recommendation-message.vue2.js +8 -0
- package/es/chat-embed/src/recommendation-message.vue3.js +4 -0
- package/es/chat-embed/src/sidebar-item.vue.js +7 -0
- package/es/chat-embed/src/sidebar-item.vue2.js +118 -0
- package/es/chat-embed/src/sidebar-item.vue3.js +4 -0
- package/es/chat-embed/src/type.js +5 -0
- package/es/chat-embed/src/util/chat-embed-util.js +57 -0
- package/es/chat-embed/src/util/history-message-util.js +96 -0
- package/es/chat-embed/src/util/mcp-utils.js +53 -0
- package/es/chat-embed/src/util/text-file-util.js +12 -0
- package/es/chat-embed/src/voice/index.js +7 -0
- package/es/chat-embed/src/voice/js/crypto-js.js +1013 -0
- package/es/chat-embed/src/voice/js/processor/index.umd.js +178 -0
- package/es/chat-embed/src/voice/js/timer.js +11 -0
- package/es/chat-embed/src/voice/voice.vue.js +104 -0
- package/es/date-picker-range/index.js +7 -0
- package/es/date-picker-range/index.vue.js +7 -0
- package/es/date-picker-range/index.vue2.js +93 -0
- package/es/date-picker-range/index.vue3.js +4 -0
- package/es/department-tree/index.js +7 -0
- package/es/department-tree/src/department-tree.vue.js +23 -0
- package/es/department-tree-inline/index.js +7 -0
- package/es/department-tree-inline/src/department-multi-tree-inline.vue.js +91 -0
- package/es/department-tree-inline/src/department-multi-tree-inline.vue2.js +4 -0
- package/es/department-tree-inline/src/department-single-tree-inline.vue.js +64 -0
- package/es/department-tree-inline/src/department-single-tree-inline.vue2.js +4 -0
- package/es/department-tree-inline/src/department-tree-inline.vue.js +17 -0
- package/es/department-tree-inline/src/department-tree-service.js +108 -0
- package/es/department-tree-inline/src/search-result.vue.js +40 -0
- package/es/department-tree-inline/src/search-result.vue2.js +4 -0
- package/es/department-tree-mobile/index.js +8 -0
- package/es/department-tree-mobile/src/department-tree-app.vue.js +15 -0
- package/es/department-tree-mobile/src/department-tree-app.vue2.js +4 -0
- package/es/department-tree-mobile/src/department-tree-app.vue3.js +5 -0
- package/es/department-tree-mobile/src/department-tree-inline-app.vue.js +121 -0
- package/es/department-tree-mobile/src/department-tree-inline-app.vue2.js +4 -0
- package/es/department-tree-mobile/src/department-tree-service.js +55 -0
- package/es/department-tree-mobile/src/dept-path.vue.js +14 -0
- package/es/department-tree-mobile/src/dept-path.vue2.js +4 -0
- package/es/department-tree-mobile/src/dept-result.vue.js +16 -0
- package/es/department-tree-mobile/src/dept-result.vue2.js +4 -0
- package/es/department-user-tree/index.js +7 -0
- package/es/department-user-tree/src/department-user-multiple-tree.vue.js +20 -0
- package/es/department-user-tree/src/department-user-multiple-tree.vue2.js +4 -0
- package/es/department-user-tree/src/department-user-single-tree.vue.js +19 -0
- package/es/department-user-tree/src/department-user-tree.vue.js +27 -0
- package/es/department-user-tree-inline/index.js +7 -0
- package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +165 -0
- package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js +4 -0
- package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +69 -0
- package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue2.js +4 -0
- package/es/department-user-tree-inline/src/department-user-tree-inline.vue.js +16 -0
- package/es/department-user-tree-inline/src/department-user-tree-multi-service.js +81 -0
- package/es/department-user-tree-inline/src/department-user-tree-single-service.js +54 -0
- package/es/department-user-tree-inline/src/group-user/group-input.vue.js +39 -0
- package/es/department-user-tree-inline/src/group-user/group-list.vue.js +27 -0
- package/es/department-user-tree-inline/src/group-user/group-user.vue.js +16 -0
- package/es/department-user-tree-inline/src/group-user-multiple-tree.vue.js +78 -0
- package/es/department-user-tree-inline/src/group-user-single-tree.vue.js +34 -0
- package/es/department-user-tree-inline/src/group-user-tree-service.js +34 -0
- package/es/department-user-tree-inline/src/search-result.vue.js +41 -0
- package/es/department-user-tree-inline/src/search-result.vue2.js +4 -0
- package/es/department-user-tree-mobile/index.js +8 -0
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue.js +15 -0
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue2.js +4 -0
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue3.js +5 -0
- package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +135 -0
- package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +4 -0
- package/es/department-user-tree-mobile/src/department-user-tree-service.js +38 -0
- package/es/department-user-tree-mobile/src/dept-path.vue.js +14 -0
- package/es/department-user-tree-mobile/src/dept-path.vue2.js +4 -0
- package/es/department-user-tree-mobile/src/dept-result.vue.js +17 -0
- package/es/department-user-tree-mobile/src/dept-result.vue2.js +4 -0
- package/es/directives/prevent-reclick.js +15 -0
- package/es/dynamic-source-select/index.js +7 -0
- package/es/dynamic-source-select/src/dynamic-source-select-service.js +32 -0
- package/es/dynamic-source-select/src/dynamic-source-select.vue.js +276 -0
- package/es/dynamic-source-select/src/dynamic-source-select.vue2.js +4 -0
- package/es/dynamic-source-select/src/dynamic-source-select.vue3.js +4 -0
- package/es/dynamic-source-select/src/events.js +29 -0
- package/es/empty-state/index.vue.js +9 -0
- package/es/empty-state/index.vue2.js +4 -0
- package/es/favicon.svg +29 -0
- package/es/fs-preview/index.js +7 -0
- package/es/fs-preview/src/fs-preview.vue.js +120 -0
- package/es/fs-preview/src/fs-preview.vue2.js +4 -0
- package/es/fs-upload/index.js +7 -0
- package/es/fs-upload/src/fs-upload-multi.vue.js +71 -0
- package/es/fs-upload/src/fs-upload-single.vue.js +73 -0
- package/es/fs-upload/src/fs-upload.vue.js +24 -0
- package/es/fs-upload/src/see-big-picture.vue.js +12 -0
- package/es/fs-upload-list/index.js +7 -0
- package/es/fs-upload-list/src/fs-upload-list.vue.js +98 -0
- package/es/fs-upload-list/src/fs-upload-list.vue2.js +4 -0
- package/es/fs-upload-new/index.js +7 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +61 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +4 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +178 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +4 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +7 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +39 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.js +4 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +45 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +4 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +35 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +4 -0
- package/es/fs-upload-new/src/fs-button-upload.vue.js +7 -0
- package/es/fs-upload-new/src/fs-button-upload.vue2.js +62 -0
- package/es/fs-upload-new/src/fs-button-upload.vue3.js +4 -0
- package/es/fs-upload-new/src/fs-drag-upload.vue.js +7 -0
- package/es/fs-upload-new/src/fs-drag-upload.vue2.js +63 -0
- package/es/fs-upload-new/src/fs-drag-upload.vue3.js +4 -0
- package/es/fs-upload-new/src/fs-preview-new.vue.js +8 -0
- package/es/fs-upload-new/src/fs-preview-new.vue2.js +93 -0
- package/es/fs-upload-new/src/fs-preview-new.vue3.js +4 -0
- package/es/fs-upload-new/src/fs-preview-new.vue4.js +4 -0
- package/es/fs-upload-new/src/fs-upload-new.vue.js +64 -0
- package/es/fs-upload-new/src/fs-upload-new.vue2.js +4 -0
- package/es/hamburger/index.js +7 -0
- package/es/hamburger/src/hamburger.vue.js +15 -0
- package/es/hamburger/src/hamburger.vue2.js +4 -0
- package/es/index.js +383 -0
- package/es/json-view/json-view-dialog.vue.js +19 -0
- package/es/json-view/json-view-dialog.vue2.js +4 -0
- package/es/json-view/json-view.vue.js +4 -0
- package/es/json-view/json-view.vue2.js +36 -0
- package/es/multipart-upload/index.js +7 -0
- package/es/multipart-upload/src/index.vue.js +14 -0
- package/es/multipart-upload/src/multipart-upload-form.vue.js +82 -0
- package/es/multipart-upload/src/multipart-upload-list.vue.js +104 -0
- package/es/organization-input/index.js +7 -0
- package/es/organization-input/src/organization-input.vue.js +224 -0
- package/es/organization-input/src/organization-input.vue2.js +4 -0
- package/es/plugins/export-data-new.js +237 -0
- package/es/plugins/export-data.js +179 -0
- package/es/plugins/index.js +9 -0
- package/es/plugins/public-method.js +14 -0
- package/es/remove-department/index.js +7 -0
- package/es/remove-department/src/remove-department.vue.js +33 -0
- package/es/remove-department/src/remove-dept-service.js +13 -0
- package/es/remove-user/index.js +7 -0
- package/es/remove-user/src/remove-user-service.js +13 -0
- package/es/remove-user/src/remove-user.vue.js +35 -0
- package/es/remove-workgroup/index.js +7 -0
- package/es/remove-workgroup/src/remove-workgroup-service.js +13 -0
- package/es/remove-workgroup/src/remove-workgroup.vue.js +31 -0
- package/es/rich-editor/index.js +7 -0
- package/es/rich-editor/index.vue.js +115 -0
- package/es/rich-editor/tinymce/zh_CN.js +2 -0
- package/es/rich-editor/viewer.vue.js +27 -0
- package/es/row-form/index.js +7 -0
- package/es/row-form/index.vue.js +7 -0
- package/es/row-form/index.vue2.js +62 -0
- package/es/row-form/index.vue3.js +4 -0
- package/es/row-form/operation.vue.js +32 -0
- package/es/row-form/operation.vue2.js +4 -0
- package/es/scan-code-input/index.js +7 -0
- package/es/scan-code-input/src/events.js +15 -0
- package/es/scan-code-input/src/scan-code-input.vue.js +32 -0
- package/es/scan-code-input-browser/index.js +7 -0
- package/es/scan-code-input-browser/src/scan-code-input.vue.js +39 -0
- package/es/secret-info/index.js +7 -0
- package/es/secret-info/index.vue.js +16 -0
- package/es/src/api/sso-service.js +57 -0
- package/es/src/api/tab.js +15 -0
- package/es/src/assets/401/401.gif.js +4 -0
- package/es/src/assets/404/404-cloud.png.js +4 -0
- package/es/src/assets/404/404.png.js +4 -0
- package/es/src/assets/chat-embed/robot.gif.js +4 -0
- package/es/src/assets/chat-embed/robot.svg.js +4 -0
- package/es/src/assets/nonemessage.png.js +4 -0
- package/es/src/components/Affix/index.vue.js +7 -0
- package/es/src/components/Affix/index.vue2.js +83 -0
- package/es/src/components/Affix/index.vue3.js +4 -0
- package/es/src/components/Card/index.js +48 -0
- package/es/src/components/Scrollbar/index.vue.js +52 -0
- package/es/src/components/Scrollbar/index.vue2.js +4 -0
- package/es/src/directives/permission/index.js +7 -0
- package/es/src/directives/permission/permission.js +11 -0
- package/es/src/i18n/i18n.js +7 -0
- package/es/src/i18n/langs/cn.js +4 -0
- package/es/src/i18n/langs/en.js +4 -0
- package/es/src/mixins/resizeMixin.js +21 -0
- package/es/src/permission.js +79 -0
- package/es/src/router/index.js +9 -0
- package/es/src/store/getters.js +4 -0
- package/es/src/store/index.js +13 -0
- package/es/src/store/modules/app.js +41 -0
- package/es/src/store/modules/chat-ai-store.js +36 -0
- package/es/src/store/modules/permission.js +31 -0
- package/es/src/store/modules/system.js +12 -0
- package/es/src/store/modules/tab-content.js +20 -0
- package/es/src/store/modules/table.js +18 -0
- package/es/src/store/modules/user.js +139 -0
- package/es/src/utils/auth-api.js +134 -0
- package/es/src/utils/auth.js +156 -0
- package/es/src/utils/calculator/calculator-factory-wf.js +167 -0
- package/es/src/utils/calculator/calculator-factory.js +93 -0
- package/es/src/utils/calculator/calculator-util.js +56 -0
- package/es/src/utils/chat-ai-util.js +34 -0
- package/es/src/utils/common-util.js +440 -0
- package/es/src/utils/eventBus.js +6 -0
- package/es/src/utils/file-util.js +23 -0
- package/es/src/utils/global-prop.js +38 -0
- package/es/src/utils/guid.js +10 -0
- package/es/src/utils/i18n-util.js +70 -0
- package/es/src/utils/iconUtils.js +26 -0
- package/es/src/utils/index.js +46 -0
- package/es/src/utils/insert_css.js +17 -0
- package/es/src/utils/json-util.js +47 -0
- package/es/src/utils/jump-page-utils.js +264 -0
- package/es/src/utils/local-storage.js +19 -0
- package/es/src/utils/menu.js +14 -0
- package/es/src/utils/permission.js +45 -0
- package/es/src/utils/permissionAuth.js +154 -0
- package/es/src/utils/range-selector.js +105 -0
- package/es/src/utils/request.js +140 -0
- package/es/src/utils/resize.js +11 -0
- package/es/src/utils/restful-interface-utils.js +18 -0
- package/es/src/utils/util.js +361 -0
- package/es/src/utils/validate.js +22 -0
- package/es/src/utils/voice-setting-cache.js +212 -0
- package/es/src/utils/watermark-cache.js +15 -0
- package/es/src/utils/watermark.js +40 -0
- package/es/src/utils/workflow-util.js +42 -0
- package/es/src/views/dsc-component/Sidebar/Item.vue.js +7 -0
- package/es/src/views/dsc-component/Sidebar/Item.vue2.js +12 -0
- package/es/src/views/dsc-component/Sidebar/Item.vue3.js +4 -0
- package/es/src/views/dsc-component/Sidebar/Link.vue.js +14 -0
- package/es/src/views/dsc-component/Sidebar/SidebarItem.vue.js +53 -0
- package/es/src/views/dsc-component/Sidebar/SidebarItem.vue2.js +4 -0
- package/es/src/views/dsc-component/Sidebar/index.vue.js +111 -0
- package/es/src/views/dsc-component/tabs/tab-content.vue.js +66 -0
- package/es/src/views/dsc-component/tabs/tab-content.vue2.js +4 -0
- package/es/src/views/dsc-component/tabs/tab-content.vue3.js +4 -0
- package/es/src/views/error-page/401.vue.js +15 -0
- package/es/src/views/error-page/401.vue2.js +4 -0
- package/es/src/views/error-page/404.vue.js +12 -0
- package/es/src/views/error-page/404.vue2.js +4 -0
- package/es/src/views/layout/EmptyLayout.vue.js +9 -0
- package/es/src/views/layout/Layout.vue.js +28 -0
- package/es/src/views/layout/Layout.vue2.js +4 -0
- package/es/src/views/layout/NewLayout.vue.js +11 -0
- package/es/src/views/layout/components/AppMain.vue.js +13 -0
- package/es/src/views/layout/components/AppMain.vue2.js +4 -0
- package/es/src/views/layout/components/Breadcrumb/index.vue.js +49 -0
- package/es/src/views/layout/components/Breadcrumb/index.vue2.js +4 -0
- package/es/src/views/layout/components/Menubar/Item.vue.js +7 -0
- package/es/src/views/layout/components/Menubar/Item.vue2.js +15 -0
- package/es/src/views/layout/components/Menubar/Item.vue3.js +4 -0
- package/es/src/views/layout/components/Menubar/Link.vue.js +14 -0
- package/es/src/views/layout/components/Menubar/SidebarItem.vue.js +56 -0
- package/es/src/views/layout/components/Menubar/SidebarItem.vue2.js +4 -0
- package/es/src/views/layout/components/Menubar/index.vue.js +90 -0
- package/es/src/views/layout/components/Sidebar/Item.vue.js +9 -0
- package/es/src/views/layout/components/Sidebar/Item.vue2.js +4 -0
- package/es/src/views/layout/components/Sidebar/Link.vue.js +12 -0
- package/es/src/views/layout/components/Sidebar/SidebarItem.vue.js +22 -0
- package/es/src/views/layout/components/Sidebar/SidebarItem.vue2.js +4 -0
- package/es/src/views/layout/components/Sidebar/index.vue.js +58 -0
- package/es/src/views/layout/components/iframe-page.vue.js +14 -0
- package/es/src/views/layout/components/iframe-page.vue2.js +4 -0
- package/es/src/views/layout/components/tabs/tab-content.vue.js +64 -0
- package/es/src/views/layout/components/tabs/tab-content.vue2.js +4 -0
- package/es/src/views/layout/components/tabs/tab-content.vue3.js +4 -0
- package/es/src/views/layout/mixin/ResizeHandler.js +16 -0
- package/es/src/views/layout/tab-content-iframe-index.vue.js +14 -0
- package/es/src/views/layout/tab-content-iframe-index.vue2.js +4 -0
- package/es/src/views/layout/tab-content-index.vue.js +28 -0
- package/es/src/views/layout/tab-content-index.vue2.js +4 -0
- package/es/src/views/login/authredirect.vue.js +7 -0
- package/es/src/views/redirect/index.vue.js +8 -0
- package/es/src/views/svg-icon/src/svg-icon.vue.js +4 -0
- package/es/src/views/wf-history/tache-subprocess-history.vue.js +14 -0
- package/es/src/views/wf-history/tache-subprocess-history.vue2.js +4 -0
- package/es/style.css +3077 -0
- package/es/super-grid/index.js +7 -0
- package/es/super-grid/src/apis.js +458 -0
- package/es/super-grid/src/columns-config.vue.js +82 -0
- package/es/super-grid/src/components/grid-icon.vue.js +47 -0
- package/es/super-grid/src/components/grid-radio-input.vue.js +25 -0
- package/es/super-grid/src/components/grid-radio-input.vue2.js +4 -0
- package/es/super-grid/src/components/mobile-table-card.js +109 -0
- package/es/super-grid/src/components/select-input.vue.js +149 -0
- package/es/super-grid/src/components/select-input.vue2.js +4 -0
- package/es/super-grid/src/custom-formatter.js +168 -0
- package/es/super-grid/src/dynamic-input.vue.js +482 -0
- package/es/super-grid/src/eventBus.js +6 -0
- package/es/super-grid/src/events.js +37 -0
- package/es/super-grid/src/formValidatorUtil.js +109 -0
- package/es/super-grid/src/formatter.js +74 -0
- package/es/super-grid/src/group-column.vue.js +24 -0
- package/es/super-grid/src/header-context-menu.vue.js +15 -0
- package/es/super-grid/src/header-context-menu.vue2.js +4 -0
- package/es/super-grid/src/index-column.vue.js +22 -0
- package/es/super-grid/src/normal-column-content.vue.js +319 -0
- package/es/super-grid/src/normal-column-content.vue2.js +4 -0
- package/es/super-grid/src/normal-column.vue.js +106 -0
- package/es/super-grid/src/normal-column.vue2.js +4 -0
- package/es/super-grid/src/public-methods.js +22 -0
- package/es/super-grid/src/row-detail.vue.js +14 -0
- package/es/super-grid/src/row-operation.vue.js +89 -0
- package/es/super-grid/src/row-operation.vue2.js +4 -0
- package/es/super-grid/src/scan-util.js +100 -0
- package/es/super-grid/src/search-button.vue.js +23 -0
- package/es/super-grid/src/search-condition-input.vue.js +17 -0
- package/es/super-grid/src/search-condition-list.vue.js +20 -0
- package/es/super-grid/src/search-form-advancedQuery.vue.js +116 -0
- package/es/super-grid/src/search-form-advancedQuery.vue2.js +4 -0
- package/es/super-grid/src/search-form-dialog.vue.js +16 -0
- package/es/super-grid/src/search-form-item.vue.js +128 -0
- package/es/super-grid/src/search-form-item.vue2.js +4 -0
- package/es/super-grid/src/search-form-mobile.vue.js +41 -0
- package/es/super-grid/src/search-form-mobile.vue2.js +4 -0
- package/es/super-grid/src/search-form-number.vue.js +26 -0
- package/es/super-grid/src/search-form-open.vue.js +50 -0
- package/es/super-grid/src/search-form-ordinarySearch.vue.js +39 -0
- package/es/super-grid/src/search-form-ordinarySearch.vue2.js +4 -0
- package/es/super-grid/src/search-form.vue.js +201 -0
- package/es/super-grid/src/search-form.vue2.js +4 -0
- package/es/super-grid/src/search-methods.js +164 -0
- package/es/super-grid/src/selection-column.vue.js +11 -0
- package/es/super-grid/src/store.js +4 -0
- package/es/super-grid/src/super-grid-service.js +260 -0
- package/es/super-grid/src/super-grid.vue.js +1052 -0
- package/es/super-grid/src/super-grid.vue2.js +4 -0
- package/es/super-grid/src/utils.js +355 -0
- package/es/super-grid/src/view-image-dialog.vue.js +67 -0
- package/es/super-icon/index.js +7 -0
- package/es/super-icon/src/index.vue.js +7 -0
- package/es/super-icon/src/index.vue2.js +13 -0
- package/es/super-icon/src/index.vue3.js +4 -0
- package/es/super-nine-grid/index.js +7 -0
- package/es/super-nine-grid/src/apis.js +36 -0
- package/es/super-nine-grid/src/custom-formatter.js +35 -0
- package/es/super-nine-grid/src/formatter.js +37 -0
- package/es/super-nine-grid/src/search-form-number.vue.js +13 -0
- package/es/super-nine-grid/src/search-form.vue.js +91 -0
- package/es/super-nine-grid/src/search-form.vue2.js +4 -0
- package/es/super-nine-grid/src/search-methods.js +48 -0
- package/es/super-nine-grid/src/store.js +4 -0
- package/es/super-nine-grid/src/super-grid-service.js +39 -0
- package/es/super-nine-grid/src/super-nine-grid.vue.js +225 -0
- package/es/super-nine-grid/src/super-nine-grid.vue2.js +4 -0
- package/es/super-nine-grid/src/utils.js +32 -0
- package/es/svg-icon/index.js +7 -0
- package/es/svg-icon/src/svg-icon.vue.js +14 -0
- package/es/svg-icon/src/svg-icon.vue2.js +4 -0
- package/es/utils/gogocodeTransfer.js +33 -0
- package/es/utils/memory-cache-utils.js +30 -0
- package/es/utils/organization.js +57 -0
- package/es/utils/utils.js +87 -0
- package/es/utils/value-set.js +94 -0
- package/es/valid-code/index.js +7 -0
- package/es/valid-code/src/valid-code.vue.js +23 -0
- package/es/valid-code/src/valid-code.vue2.js +4 -0
- package/es/workflow-button/index.js +7 -0
- package/es/workflow-button/src/workflow-button.vue.js +85 -0
- package/es/workflow-history-list/index.js +7 -0
- package/es/workflow-history-list/src/api.js +6 -0
- package/es/workflow-history-list/src/workflow-history-list.vue.js +89 -0
- package/es/workflow-history-list/src/workflow-history-list.vue2.js +4 -0
- package/es/workgroup-tree/index.js +7 -0
- package/es/workgroup-tree/src/workgroup-tree.vue.js +23 -0
- package/es/workgroup-tree-inline/index.js +7 -0
- package/es/workgroup-tree-inline/src/search-result.vue.js +39 -0
- package/es/workgroup-tree-inline/src/search-result.vue2.js +4 -0
- package/es/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +128 -0
- package/es/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js +4 -0
- package/es/workgroup-tree-inline/src/workgroup-tree-service.js +35 -0
- package/es/workgroup-tree-mobile/index.js +8 -0
- package/es/workgroup-tree-mobile/src/dept-result.vue.js +16 -0
- package/es/workgroup-tree-mobile/src/dept-result.vue2.js +4 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +15 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue2.js +4 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +5 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +109 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +4 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-service.js +33 -0
- package/es/workgroup-user-tree/index.js +7 -0
- package/es/workgroup-user-tree/src/workgroup-user-tree.vue.js +23 -0
- package/es/workgroup-user-tree-inline/index.js +7 -0
- package/es/workgroup-user-tree-inline/src/search-result.vue.js +39 -0
- package/es/workgroup-user-tree-inline/src/search-result.vue2.js +4 -0
- package/es/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +73 -0
- package/es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +172 -0
- package/es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.js +4 -0
- package/es/workgroup-user-tree-mobile/src/dept-path.vue.js +14 -0
- package/es/workgroup-user-tree-mobile/src/dept-path.vue2.js +4 -0
- package/es/workgroup-user-tree-mobile/src/dept-result.vue.js +17 -0
- package/es/workgroup-user-tree-mobile/src/dept-result.vue2.js +4 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +15 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js +4 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +5 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +135 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +4 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-service.js +29 -0
- package/es/year-range-picker/index.js +7 -0
- package/es/year-range-picker/src/year-range-picker.vue.js +14 -0
- package/lib/IntervalSelection/index.js +5 -7
- package/lib/IntervalSelection/src/sectionDate.vue.js +17 -21
- package/lib/IntervalSelection/src/sectionDate.vue2.js +2 -4
- package/lib/_virtual/__vite-browser-external.js +2 -4
- package/lib/_virtual/_plugin-vue_export-helper.js +6 -8
- package/lib/breadcrumb/index.js +3 -5
- package/lib/breadcrumb/src/breadcrumb.vue.js +28 -19
- package/lib/breadcrumb/src/breadcrumb.vue2.js +2 -4
- package/lib/chat-embed/index.js +3 -5
- package/lib/chat-embed/src/chat-addition-data.vue.js +5 -7
- package/lib/chat-embed/src/chat-addition-data.vue2.js +11 -13
- package/lib/chat-embed/src/chat-addition-data.vue3.js +2 -4
- package/lib/chat-embed/src/chat-ai-answer-tip.vue.js +5 -7
- package/lib/chat-embed/src/chat-ai-answer-tip.vue2.js +17 -20
- package/lib/chat-embed/src/chat-ai-answer-tip.vue3.js +2 -4
- package/lib/chat-embed/src/chat-bubble-footer.vue.js +5 -7
- package/lib/chat-embed/src/chat-bubble-footer.vue2.js +17 -22
- package/lib/chat-embed/src/chat-bubble-footer.vue3.js +2 -4
- package/lib/chat-embed/src/chat-embed-message.js +14 -20
- package/lib/chat-embed/src/chat-sender.vue.js +5 -7
- package/lib/chat-embed/src/chat-sender.vue2.js +110 -123
- package/lib/chat-embed/src/chat-sender.vue3.js +2 -4
- package/lib/chat-embed/src/components/answer-auto-chart.vue.js +5 -7
- package/lib/chat-embed/src/components/answer-auto-chart.vue2.js +42 -50
- package/lib/chat-embed/src/components/answer-auto-chart.vue3.js +2 -4
- package/lib/chat-embed/src/components/answer-home-chart.vue.js +5 -7
- package/lib/chat-embed/src/components/answer-home-chart.vue2.js +3 -6
- package/lib/chat-embed/src/components/answer-home-chart.vue3.js +2 -4
- package/lib/chat-embed/src/components/answer-interaction-data.vue.js +5 -7
- package/lib/chat-embed/src/components/answer-interaction-data.vue2.js +74 -84
- package/lib/chat-embed/src/components/answer-interaction-data.vue3.js +2 -4
- package/lib/chat-embed/src/components/history-detail.vue.js +5 -7
- package/lib/chat-embed/src/components/history-detail.vue2.js +27 -32
- package/lib/chat-embed/src/components/history-detail.vue3.js +2 -4
- package/lib/chat-embed/src/header.vue.js +5 -7
- package/lib/chat-embed/src/header.vue2.js +25 -32
- package/lib/chat-embed/src/header.vue3.js +2 -4
- package/lib/chat-embed/src/index.vue.js +5 -7
- package/lib/chat-embed/src/index.vue2.js +185 -211
- package/lib/chat-embed/src/index.vue3.js +2 -4
- package/lib/chat-embed/src/recommendation-message.vue.js +5 -7
- package/lib/chat-embed/src/recommendation-message.vue2.js +5 -8
- package/lib/chat-embed/src/recommendation-message.vue3.js +2 -4
- package/lib/chat-embed/src/sidebar-item.vue.js +5 -7
- package/lib/chat-embed/src/sidebar-item.vue2.js +84 -93
- package/lib/chat-embed/src/sidebar-item.vue3.js +2 -4
- package/lib/chat-embed/src/type.js +3 -5
- package/lib/chat-embed/src/util/chat-embed-util.js +35 -41
- package/lib/chat-embed/src/util/history-message-util.js +63 -85
- package/lib/chat-embed/src/util/mcp-utils.js +5 -8
- package/lib/chat-embed/src/util/text-file-util.js +7 -11
- package/lib/chat-embed/src/voice/index.js +5 -7
- package/lib/chat-embed/src/voice/js/crypto-js.js +987 -995
- package/lib/chat-embed/src/voice/js/processor/index.umd.js +161 -169
- package/lib/chat-embed/src/voice/js/timer.js +7 -10
- package/lib/chat-embed/src/voice/voice.vue.js +61 -70
- package/lib/date-picker-range/index.js +5 -7
- package/lib/date-picker-range/index.vue.js +5 -7
- package/lib/date-picker-range/index.vue2.js +59 -63
- package/lib/date-picker-range/index.vue3.js +2 -4
- package/lib/department-tree/index.js +3 -5
- package/lib/department-tree/src/department-tree.vue.js +11 -17
- package/lib/department-tree-inline/index.js +3 -5
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue.js +17 -27
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue2.js +2 -4
- package/lib/department-tree-inline/src/department-single-tree-inline.vue.js +17 -27
- package/lib/department-tree-inline/src/department-single-tree-inline.vue2.js +2 -4
- package/lib/department-tree-inline/src/department-tree-inline.vue.js +8 -13
- package/lib/department-tree-inline/src/department-tree-service.js +8 -10
- package/lib/department-tree-inline/src/search-result.vue.js +19 -23
- package/lib/department-tree-inline/src/search-result.vue2.js +2 -4
- package/lib/department-tree-mobile/index.js +4 -7
- package/lib/department-tree-mobile/src/department-tree-app.vue.js +9 -12
- package/lib/department-tree-mobile/src/department-tree-app.vue2.js +2 -4
- package/lib/department-tree-mobile/src/department-tree-app.vue3.js +3 -5
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue.js +80 -91
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue2.js +3 -4
- package/lib/department-tree-mobile/src/department-tree-service.js +32 -42
- package/lib/department-tree-mobile/src/dept-path.vue.js +10 -11
- package/lib/department-tree-mobile/src/dept-path.vue2.js +3 -4
- package/lib/department-tree-mobile/src/dept-result.vue.js +11 -14
- package/lib/department-tree-mobile/src/dept-result.vue2.js +3 -4
- package/lib/department-user-tree/index.js +3 -5
- package/lib/department-user-tree/src/department-user-multiple-tree.vue.js +10 -14
- package/lib/department-user-tree/src/department-user-multiple-tree.vue2.js +2 -4
- package/lib/department-user-tree/src/department-user-single-tree.vue.js +9 -14
- package/lib/department-user-tree/src/department-user-tree.vue.js +14 -20
- package/lib/department-user-tree-inline/index.js +3 -5
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +17 -28
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js +2 -4
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +21 -33
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue2.js +2 -4
- package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.js +8 -13
- package/lib/department-user-tree-inline/src/department-user-tree-multi-service.js +6 -9
- package/lib/department-user-tree-inline/src/department-user-tree-single-service.js +8 -11
- package/lib/department-user-tree-inline/src/group-user/group-input.vue.js +7 -12
- package/lib/department-user-tree-inline/src/group-user/group-list.vue.js +7 -12
- package/lib/department-user-tree-inline/src/group-user/group-user.vue.js +8 -14
- package/lib/department-user-tree-inline/src/group-user-multiple-tree.vue.js +14 -20
- package/lib/department-user-tree-inline/src/group-user-single-tree.vue.js +17 -23
- package/lib/department-user-tree-inline/src/group-user-tree-service.js +2 -3
- package/lib/department-user-tree-inline/src/search-result.vue.js +12 -15
- package/lib/department-user-tree-inline/src/search-result.vue2.js +2 -4
- package/lib/department-user-tree-mobile/index.js +4 -7
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.js +9 -12
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue2.js +2 -4
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue3.js +3 -5
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +93 -104
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +3 -4
- package/lib/department-user-tree-mobile/src/department-user-tree-service.js +20 -30
- package/lib/department-user-tree-mobile/src/dept-path.vue.js +10 -11
- package/lib/department-user-tree-mobile/src/dept-path.vue2.js +3 -4
- package/lib/department-user-tree-mobile/src/dept-result.vue.js +11 -15
- package/lib/department-user-tree-mobile/src/dept-result.vue2.js +3 -4
- package/lib/directives/prevent-reclick.js +2 -3
- package/lib/dynamic-source-select/index.js +5 -7
- package/lib/dynamic-source-select/src/dynamic-source-select-service.js +13 -15
- package/lib/dynamic-source-select/src/dynamic-source-select.vue.js +173 -183
- package/lib/dynamic-source-select/src/dynamic-source-select.vue2.js +2 -4
- package/lib/dynamic-source-select/src/dynamic-source-select.vue3.js +2 -4
- package/lib/dynamic-source-select/src/events.js +2 -3
- package/lib/empty-state/index.vue.js +5 -8
- package/lib/empty-state/index.vue2.js +3 -4
- package/lib/fs-preview/index.js +5 -7
- package/lib/fs-preview/src/fs-preview.vue.js +63 -72
- package/lib/fs-preview/src/fs-preview.vue2.js +2 -4
- package/lib/fs-upload/index.js +5 -7
- package/lib/fs-upload/src/fs-upload-multi.vue.js +24 -32
- package/lib/fs-upload/src/fs-upload-single.vue.js +30 -39
- package/lib/fs-upload/src/fs-upload.vue.js +10 -16
- package/lib/fs-upload/src/see-big-picture.vue.js +8 -11
- package/lib/fs-upload-list/index.js +5 -7
- package/lib/fs-upload-list/src/fs-upload-list.vue.js +33 -40
- package/lib/fs-upload-list/src/fs-upload-list.vue2.js +2 -4
- package/lib/fs-upload-new/index.js +5 -7
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +34 -38
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +3 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +101 -109
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +3 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +5 -7
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +26 -33
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.js +2 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +27 -31
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +3 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +18 -24
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +3 -4
- package/lib/fs-upload-new/src/fs-button-upload.vue.js +5 -7
- package/lib/fs-upload-new/src/fs-button-upload.vue2.js +36 -43
- package/lib/fs-upload-new/src/fs-button-upload.vue3.js +2 -4
- package/lib/fs-upload-new/src/fs-drag-upload.vue.js +5 -7
- package/lib/fs-upload-new/src/fs-drag-upload.vue2.js +37 -45
- package/lib/fs-upload-new/src/fs-drag-upload.vue3.js +2 -4
- package/lib/fs-upload-new/src/fs-preview-new.vue.js +5 -8
- package/lib/fs-upload-new/src/fs-preview-new.vue2.js +61 -70
- package/lib/fs-upload-new/src/fs-preview-new.vue3.js +2 -4
- package/lib/fs-upload-new/src/fs-preview-new.vue4.js +2 -4
- package/lib/fs-upload-new/src/fs-upload-new.vue.js +37 -47
- package/lib/fs-upload-new/src/fs-upload-new.vue2.js +3 -4
- package/lib/hamburger/index.js +3 -5
- package/lib/hamburger/src/hamburger.vue.js +10 -14
- package/lib/hamburger/src/hamburger.vue2.js +2 -4
- package/lib/index.js +40 -380
- package/lib/json-view/json-view-dialog.vue.js +12 -15
- package/lib/json-view/json-view-dialog.vue2.js +3 -4
- package/lib/json-view/json-view.vue.js +3 -4
- package/lib/json-view/json-view.vue2.js +27 -31
- package/lib/multipart-upload/index.js +5 -7
- package/lib/multipart-upload/src/index.vue.js +7 -11
- package/lib/multipart-upload/src/multipart-upload-form.vue.js +40 -49
- package/lib/multipart-upload/src/multipart-upload-list.vue.js +59 -67
- package/lib/organization-input/index.js +5 -7
- package/lib/organization-input/src/organization-input.vue.js +31 -37
- package/lib/organization-input/src/organization-input.vue2.js +2 -4
- package/lib/plugins/export-data-new.js +96 -104
- package/lib/plugins/export-data.js +45 -51
- package/lib/plugins/index.js +4 -8
- package/lib/plugins/public-method.js +2 -3
- package/lib/remove-department/index.js +3 -5
- package/lib/remove-department/src/remove-department.vue.js +13 -19
- package/lib/remove-department/src/remove-dept-service.js +9 -10
- package/lib/remove-user/index.js +5 -7
- package/lib/remove-user/src/remove-user-service.js +3 -4
- package/lib/remove-user/src/remove-user.vue.js +16 -22
- package/lib/remove-workgroup/index.js +5 -7
- package/lib/remove-workgroup/src/remove-workgroup-service.js +3 -4
- package/lib/remove-workgroup/src/remove-workgroup.vue.js +12 -18
- package/lib/rich-editor/index.js +5 -7
- package/lib/rich-editor/index.vue.js +28 -76
- package/lib/rich-editor/tinymce/zh_CN.js +2 -2
- package/lib/rich-editor/viewer.vue.js +7 -10
- package/lib/row-form/index.js +5 -7
- package/lib/row-form/index.vue.js +5 -7
- package/lib/row-form/index.vue2.js +41 -47
- package/lib/row-form/index.vue3.js +2 -4
- package/lib/row-form/operation.vue.js +22 -26
- package/lib/row-form/operation.vue2.js +3 -4
- package/lib/scan-code-input/index.js +5 -7
- package/lib/scan-code-input/src/events.js +11 -13
- package/lib/scan-code-input/src/scan-code-input.vue.js +9 -15
- package/lib/scan-code-input-browser/index.js +5 -7
- package/lib/scan-code-input-browser/src/scan-code-input.vue.js +16 -21
- package/lib/secret-info/index.js +5 -7
- package/lib/secret-info/index.vue.js +6 -9
- package/lib/src/api/sso-service.js +34 -36
- package/lib/src/api/tab.js +8 -9
- package/lib/src/assets/401/401.gif.js +2 -4
- package/lib/src/assets/404/404-cloud.png.js +2 -4
- package/lib/src/assets/404/404.png.js +2 -4
- package/lib/src/assets/chat-embed/robot.gif.js +2 -4
- package/lib/src/assets/chat-embed/robot.svg.js +2 -4
- package/lib/src/assets/nonemessage.png.js +2 -4
- package/lib/src/components/Affix/index.vue.js +5 -7
- package/lib/src/components/Affix/index.vue2.js +56 -58
- package/lib/src/components/Affix/index.vue3.js +2 -4
- package/lib/src/components/Card/index.js +33 -38
- package/lib/src/components/Scrollbar/index.vue.js +33 -37
- package/lib/src/components/Scrollbar/index.vue2.js +2 -4
- package/lib/src/directives/permission/index.js +3 -5
- package/lib/src/directives/permission/permission.js +7 -9
- package/lib/src/i18n/i18n.js +3 -7
- package/lib/src/i18n/langs/cn.js +2 -4
- package/lib/src/i18n/langs/en.js +2 -4
- package/lib/src/mixins/resizeMixin.js +2 -3
- package/lib/src/permission.js +43 -46
- package/lib/src/router/index.js +16 -9
- package/lib/src/store/getters.js +2 -4
- package/lib/src/store/index.js +16 -13
- package/lib/src/store/modules/app.js +3 -4
- package/lib/src/store/modules/chat-ai-store.js +19 -22
- package/lib/src/store/modules/permission.js +10 -11
- package/lib/src/store/modules/system.js +7 -9
- package/lib/src/store/modules/tab-content.js +13 -15
- package/lib/src/store/modules/table.js +2 -3
- package/lib/src/store/modules/user.js +89 -95
- package/lib/src/utils/auth-api.js +3 -5
- package/lib/src/utils/auth.js +69 -139
- package/lib/src/utils/calculator/calculator-factory-wf.js +48 -49
- package/lib/src/utils/calculator/calculator-factory.js +57 -58
- package/lib/src/utils/calculator/calculator-util.js +29 -32
- package/lib/src/utils/chat-ai-util.js +17 -25
- package/lib/src/utils/common-util.js +271 -356
- package/lib/src/utils/eventBus.js +3 -6
- package/lib/src/utils/file-util.js +15 -16
- package/lib/src/utils/global-prop.js +21 -37
- package/lib/src/utils/guid.js +5 -8
- package/lib/src/utils/i18n-util.js +16 -24
- package/lib/src/utils/iconUtils.js +16 -23
- package/lib/src/utils/index.js +26 -40
- package/lib/src/utils/insert_css.js +8 -7
- package/lib/src/utils/json-util.js +25 -27
- package/lib/src/utils/jump-page-utils.js +172 -180
- package/lib/src/utils/local-storage.js +2 -3
- package/lib/src/utils/menu.js +10 -11
- package/lib/src/utils/permission.js +22 -26
- package/lib/src/utils/permissionAuth.js +102 -136
- package/lib/src/utils/range-selector.js +41 -45
- package/lib/src/utils/request.js +77 -86
- package/lib/src/utils/resize.js +5 -5
- package/lib/src/utils/restful-interface-utils.js +12 -15
- package/lib/src/utils/util.js +6 -26
- package/lib/src/utils/validate.js +10 -20
- package/lib/src/utils/voice-setting-cache.js +140 -153
- package/lib/src/utils/watermark-cache.js +9 -14
- package/lib/src/utils/watermark.js +23 -30
- package/lib/src/utils/workflow-util.js +25 -26
- package/lib/src/views/dsc-component/Sidebar/Item.vue.js +5 -7
- package/lib/src/views/dsc-component/Sidebar/Item.vue2.js +8 -11
- package/lib/src/views/dsc-component/Sidebar/Item.vue3.js +2 -4
- package/lib/src/views/dsc-component/Sidebar/Link.vue.js +9 -12
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue.js +19 -26
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue2.js +2 -4
- package/lib/src/views/dsc-component/Sidebar/index.vue.js +13 -22
- package/lib/src/views/dsc-component/tabs/tab-content.vue.js +21 -26
- package/lib/src/views/dsc-component/tabs/tab-content.vue2.js +2 -4
- package/lib/src/views/dsc-component/tabs/tab-content.vue3.js +2 -4
- package/lib/src/views/error-page/401.vue.js +9 -13
- package/lib/src/views/error-page/401.vue2.js +2 -4
- package/lib/src/views/error-page/404.vue.js +7 -11
- package/lib/src/views/error-page/404.vue2.js +2 -4
- package/lib/src/views/layout/EmptyLayout.vue.js +6 -8
- package/lib/src/views/layout/Layout.vue.js +12 -19
- package/lib/src/views/layout/Layout.vue2.js +2 -4
- package/lib/src/views/layout/NewLayout.vue.js +6 -10
- package/lib/src/views/layout/components/AppMain.vue.js +9 -11
- package/lib/src/views/layout/components/AppMain.vue2.js +2 -4
- package/lib/src/views/layout/components/Breadcrumb/index.vue.js +44 -37
- package/lib/src/views/layout/components/Breadcrumb/index.vue2.js +2 -4
- package/lib/src/views/layout/components/Menubar/Item.vue.js +5 -7
- package/lib/src/views/layout/components/Menubar/Item.vue2.js +12 -14
- package/lib/src/views/layout/components/Menubar/Item.vue3.js +2 -4
- package/lib/src/views/layout/components/Menubar/Link.vue.js +9 -12
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue.js +15 -24
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue2.js +2 -4
- package/lib/src/views/layout/components/Menubar/index.vue.js +19 -30
- package/lib/src/views/layout/components/Sidebar/Item.vue.js +6 -8
- package/lib/src/views/layout/components/Sidebar/Item.vue2.js +3 -4
- package/lib/src/views/layout/components/Sidebar/Link.vue.js +8 -11
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue.js +11 -17
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue2.js +2 -4
- package/lib/src/views/layout/components/Sidebar/index.vue.js +18 -25
- package/lib/src/views/layout/components/iframe-page.vue.js +8 -10
- package/lib/src/views/layout/components/iframe-page.vue2.js +2 -4
- package/lib/src/views/layout/components/tabs/tab-content.vue.js +10 -14
- package/lib/src/views/layout/components/tabs/tab-content.vue2.js +2 -4
- package/lib/src/views/layout/components/tabs/tab-content.vue3.js +2 -4
- package/lib/src/views/layout/mixin/ResizeHandler.js +3 -5
- package/lib/src/views/layout/tab-content-iframe-index.vue.js +8 -10
- package/lib/src/views/layout/tab-content-iframe-index.vue2.js +2 -4
- package/lib/src/views/layout/tab-content-index.vue.js +12 -18
- package/lib/src/views/layout/tab-content-index.vue2.js +2 -4
- package/lib/src/views/login/authredirect.vue.js +2 -3
- package/lib/src/views/redirect/index.vue.js +17 -8
- package/lib/src/views/svg-icon/src/svg-icon.vue.js +2 -4
- package/lib/src/views/wf-history/tache-subprocess-history.vue.js +11 -13
- package/lib/src/views/wf-history/tache-subprocess-history.vue2.js +2 -4
- package/lib/style.css +868 -868
- package/lib/super-grid/index.js +5 -7
- package/lib/super-grid/src/apis.js +221 -231
- package/lib/super-grid/src/columns-config.vue.js +16 -22
- package/lib/super-grid/src/components/grid-icon.vue.js +26 -34
- package/lib/super-grid/src/components/grid-radio-input.vue.js +15 -18
- package/lib/super-grid/src/components/grid-radio-input.vue2.js +3 -4
- package/lib/super-grid/src/components/mobile-table-card.js +73 -83
- package/lib/super-grid/src/components/select-input.vue.js +98 -106
- package/lib/super-grid/src/components/select-input.vue2.js +3 -4
- package/lib/super-grid/src/custom-formatter.js +69 -73
- package/lib/super-grid/src/dynamic-input.vue.js +142 -159
- package/lib/super-grid/src/eventBus.js +3 -6
- package/lib/super-grid/src/events.js +34 -36
- package/lib/super-grid/src/formValidatorUtil.js +62 -65
- package/lib/super-grid/src/formatter.js +36 -41
- package/lib/super-grid/src/group-column.vue.js +8 -13
- package/lib/super-grid/src/header-context-menu.vue.js +10 -13
- package/lib/super-grid/src/header-context-menu.vue2.js +2 -4
- package/lib/super-grid/src/index-column.vue.js +7 -10
- package/lib/super-grid/src/normal-column-content.vue.js +187 -206
- package/lib/super-grid/src/normal-column-content.vue2.js +2 -4
- package/lib/super-grid/src/normal-column.vue.js +40 -55
- package/lib/super-grid/src/normal-column.vue2.js +2 -4
- package/lib/super-grid/src/public-methods.js +12 -14
- package/lib/super-grid/src/row-detail.vue.js +7 -10
- package/lib/super-grid/src/row-operation.vue.js +19 -26
- package/lib/super-grid/src/row-operation.vue2.js +2 -4
- package/lib/super-grid/src/scan-util.js +24 -26
- package/lib/super-grid/src/search-button.vue.js +12 -17
- package/lib/super-grid/src/search-condition-input.vue.js +8 -12
- package/lib/super-grid/src/search-condition-list.vue.js +10 -13
- package/lib/super-grid/src/search-form-advancedQuery.vue.js +13 -23
- package/lib/super-grid/src/search-form-advancedQuery.vue2.js +2 -4
- package/lib/super-grid/src/search-form-dialog.vue.js +9 -13
- package/lib/super-grid/src/search-form-item.vue.js +16 -24
- package/lib/super-grid/src/search-form-item.vue2.js +2 -4
- package/lib/super-grid/src/search-form-mobile.vue.js +13 -22
- package/lib/super-grid/src/search-form-mobile.vue2.js +2 -4
- package/lib/super-grid/src/search-form-number.vue.js +9 -14
- package/lib/super-grid/src/search-form-open.vue.js +7 -13
- package/lib/super-grid/src/search-form-ordinarySearch.vue.js +11 -19
- package/lib/super-grid/src/search-form-ordinarySearch.vue2.js +2 -4
- package/lib/super-grid/src/search-form.vue.js +65 -77
- package/lib/super-grid/src/search-form.vue2.js +2 -4
- package/lib/super-grid/src/search-methods.js +2 -3
- package/lib/super-grid/src/selection-column.vue.js +7 -9
- package/lib/super-grid/src/store.js +3 -4
- package/lib/super-grid/src/super-grid-service.js +121 -128
- package/lib/super-grid/src/super-grid.vue.js +186 -217
- package/lib/super-grid/src/super-grid.vue2.js +2 -4
- package/lib/super-grid/src/utils.js +265 -322
- package/lib/super-grid/src/view-image-dialog.vue.js +26 -33
- package/lib/super-icon/index.js +5 -7
- package/lib/super-icon/src/index.vue.js +5 -7
- package/lib/super-icon/src/index.vue2.js +8 -11
- package/lib/super-icon/src/index.vue3.js +2 -4
- package/lib/super-nine-grid/index.js +5 -7
- package/lib/super-nine-grid/src/apis.js +5 -8
- package/lib/super-nine-grid/src/custom-formatter.js +5 -7
- package/lib/super-nine-grid/src/formatter.js +28 -29
- package/lib/super-nine-grid/src/search-form-number.vue.js +8 -12
- package/lib/super-nine-grid/src/search-form.vue.js +33 -40
- package/lib/super-nine-grid/src/search-form.vue2.js +2 -4
- package/lib/super-nine-grid/src/search-methods.js +2 -3
- package/lib/super-nine-grid/src/store.js +3 -4
- package/lib/super-nine-grid/src/super-grid-service.js +5 -9
- package/lib/super-nine-grid/src/super-nine-grid.vue.js +95 -105
- package/lib/super-nine-grid/src/super-nine-grid.vue2.js +2 -4
- package/lib/super-nine-grid/src/utils.js +31 -27
- package/lib/svg-icon/index.js +5 -7
- package/lib/svg-icon/src/svg-icon.vue.js +8 -10
- package/lib/svg-icon/src/svg-icon.vue2.js +2 -4
- package/lib/utils/gogocodeTransfer.js +23 -28
- package/lib/utils/memory-cache-utils.js +3 -5
- package/lib/utils/organization.js +40 -53
- package/lib/utils/utils.js +27 -29
- package/lib/utils/value-set.js +68 -70
- package/lib/valid-code/index.js +5 -7
- package/lib/valid-code/src/valid-code.vue.js +10 -13
- package/lib/valid-code/src/valid-code.vue2.js +2 -4
- package/lib/workflow-button/index.js +3 -5
- package/lib/workflow-button/src/workflow-button.vue.js +34 -39
- package/lib/workflow-history-list/index.js +5 -7
- package/lib/workflow-history-list/src/api.js +2 -3
- package/lib/workflow-history-list/src/workflow-history-list.vue.js +59 -65
- package/lib/workflow-history-list/src/workflow-history-list.vue2.js +2 -4
- package/lib/workgroup-tree/index.js +5 -7
- package/lib/workgroup-tree/src/workgroup-tree.vue.js +11 -17
- package/lib/workgroup-tree-inline/index.js +3 -5
- package/lib/workgroup-tree-inline/src/search-result.vue.js +21 -25
- package/lib/workgroup-tree-inline/src/search-result.vue2.js +2 -4
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +43 -52
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js +2 -4
- package/lib/workgroup-tree-inline/src/workgroup-tree-service.js +5 -7
- package/lib/workgroup-tree-mobile/index.js +5 -8
- package/lib/workgroup-tree-mobile/src/dept-result.vue.js +11 -14
- package/lib/workgroup-tree-mobile/src/dept-result.vue2.js +3 -4
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +9 -12
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue2.js +2 -4
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +3 -5
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +76 -86
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +3 -4
- package/lib/workgroup-tree-mobile/src/workgroup-tree-service.js +20 -28
- package/lib/workgroup-user-tree/index.js +5 -7
- package/lib/workgroup-user-tree/src/workgroup-user-tree.vue.js +11 -17
- package/lib/workgroup-user-tree-inline/index.js +3 -5
- package/lib/workgroup-user-tree-inline/src/search-result.vue.js +21 -25
- package/lib/workgroup-user-tree-inline/src/search-result.vue2.js +2 -4
- package/lib/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +9 -11
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +34 -43
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.js +2 -4
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue.js +10 -11
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue2.js +3 -4
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue.js +11 -15
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue2.js +3 -4
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +9 -12
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js +2 -4
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +3 -5
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +93 -104
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +3 -4
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-service.js +16 -25
- package/lib/year-range-picker/index.js +3 -5
- package/lib/year-range-picker/src/year-range-picker.vue.js +9 -12
- package/package.json +5 -2
- package/vite.config.js +35 -33
|
@@ -1,43 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import S from "./eventBus.js";
|
|
10
|
-
import { isMobileBrowser as w, isDingTalkEnv as C } from "../../src/utils/common-util.js";
|
|
11
|
-
import { analysisScanValue as T, setScanAnalysisValue as V } from "./scan-util.js";
|
|
12
|
-
import N from "./custom-formatter.js";
|
|
13
|
-
import D from "./components/grid-radio-input.vue.js";
|
|
14
|
-
import E from "./components/select-input.vue.js";
|
|
15
|
-
import { resolveComponent as x, openBlock as P, createElementBlock as I, normalizeClass as F, createBlock as O, resolveDynamicComponent as k, createSlots as M, withCtx as j, createCommentVNode as U, toDisplayString as $, createVNode as A, createTextVNode as L } from "vue";
|
|
16
|
-
import q from "../../_virtual/_plugin-vue_export-helper.js";
|
|
17
|
-
const B = { name: "DynamicInput", components: { dynamicSourceSelect: p, ViewImageDialog: v, GridRadioInput: D, SelectInput: E }, props: { value: { type: [String, Boolean, Number, Date, Array], default: null }, type: { type: String, default: "input" }, position: { type: Object, default: null }, lineEdit: { type: Object, default: null }, options: { type: Array, default: null }, column: { type: Object, default: null }, row: { type: Object, default: null }, listCode: { type: String, default: null }, isSql: { type: Boolean, default: false }, listToolbarFormData: { type: Object, default: null }, rowIndex: { type: Number, default: -1 }, disabled: { type: Boolean, default: false }, gridOptions: { type: Object, default: null } }, data() {
|
|
18
|
-
let a2 = this.value;
|
|
19
|
-
this.type && "select" === this.type && "TEXT" !== this.column.dataType && (a2 = this.value && null !== this.value && "string" != typeof this.value ? this.value + "" : this.value, b(this, "update:value", a2));
|
|
20
|
-
const o2 = this.getDefaultValue(a2);
|
|
21
|
-
null != o2 && (a2 = o2);
|
|
22
|
-
const s2 = t(this.column.prop, this.listCode, this.row, this.rowIndex);
|
|
23
|
-
this.$emit("change-disabled", s2);
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("./store.js"), t = require("./utils.js"), i = require("../../dynamic-source-select/src/dynamic-source-select.vue.js"), l = require("../../src/utils/util.js"), o = require("../../src/utils/auth.js"), a = require("./apis.js"), n = require("./view-image-dialog.vue.js"), s = require("../../utils/gogocodeTransfer.js"), r = require("./eventBus.js"), u = require("../../src/utils/common-util.js"), p = require("./scan-util.js"), c = require("./custom-formatter.js"), m = require("./components/grid-radio-input.vue.js"), d = require("./components/select-input.vue.js"), h = require("vue"), f = require("../../_virtual/_plugin-vue_export-helper.js"), g = { name: "DynamicInput", components: { dynamicSourceSelect: i, ViewImageDialog: n, GridRadioInput: m, SelectInput: d }, props: { value: { type: [String, Boolean, Number, Date, Array], default: null }, type: { type: String, default: "input" }, position: { type: Object, default: null }, lineEdit: { type: Object, default: null }, options: { type: Array, default: null }, column: { type: Object, default: null }, row: { type: Object, default: null }, listCode: { type: String, default: null }, isSql: { type: Boolean, default: false }, listToolbarFormData: { type: Object, default: null }, rowIndex: { type: Number, default: -1 }, disabled: { type: Boolean, default: false }, gridOptions: { type: Object, default: null } }, data() {
|
|
3
|
+
let i2 = this.value;
|
|
4
|
+
this.type && "select" === this.type && "TEXT" !== this.column.dataType && (i2 = this.value && null !== this.value && "string" != typeof this.value ? this.value + "" : this.value, s.$emit(this, "update:value", i2));
|
|
5
|
+
const l2 = this.getDefaultValue(i2);
|
|
6
|
+
null != l2 && (i2 = l2);
|
|
7
|
+
const a2 = t.isDisableEdit(this.column.prop, this.listCode, this.row, this.rowIndex);
|
|
8
|
+
this.$emit("change-disabled", a2);
|
|
24
9
|
const n2 = window.$vueApp.config.globalProperties.baseAPI + "/component/super-form/uploads";
|
|
25
10
|
this.listCode || (this.listCode = e.get("_list_code"));
|
|
26
11
|
const r2 = e.get(this.listCode);
|
|
27
|
-
let
|
|
28
|
-
r2 && r2.basicInfo && r2.basicInfo.tableName && (
|
|
29
|
-
const m2 = { Authorization:
|
|
12
|
+
let p2, c2;
|
|
13
|
+
r2 && r2.basicInfo && r2.basicInfo.tableName && (p2 = r2.basicInfo.tableName), r2.options.extraParam && r2.options.extraParam.entityMap && (c2 = r2.options.extraParam.entityMap);
|
|
14
|
+
const m2 = { Authorization: o.getToken() };
|
|
30
15
|
let d2 = "mysql";
|
|
31
16
|
window.$vueApp.config.globalProperties.dataSourceType && (d2 = window.$vueApp.config.globalProperties.dataSourceType.toLowerCase());
|
|
32
|
-
const
|
|
33
|
-
let
|
|
34
|
-
this.column.controlConfig && (
|
|
35
|
-
|
|
36
|
-
const
|
|
37
|
-
let
|
|
38
|
-
r2 && r2.basicInfo && r2.basicInfo.systemCode && (
|
|
39
|
-
const
|
|
40
|
-
return { deptManTree: false, isMultiTree: false, isCheckStrictly: false, deptTree: false, wgManTree: false, wgTree: false, newValue: null, componentName: "", annexUploadFlag: false, defaultAction: n2, fileMultiple: false, fileList: [], lastServerName: "", fileSetObj: null, showSingleImgFlag: false, singleImgSrc: "", fields: null, innerValue:
|
|
17
|
+
const h2 = r2.gridData, f2 = r2.subTableData, g2 = r2.isSubTableShowPage, y2 = t.getAdditionalParamMap(r2), v2 = r2.options.pageContext, b2 = u.isMobileBrowser(), C2 = this.listCode + "_" + this.column.prop;
|
|
18
|
+
let S2, w = false, V = {};
|
|
19
|
+
this.column.controlConfig && (V = JSON.parse(this.column.controlConfig)), V.scanEnable && (w = true);
|
|
20
|
+
S2 = navigator.userAgent.indexOf(" uni-app ") > 0 ? "app" : "browser";
|
|
21
|
+
const T = !!u.isDingTalkEnv(), N = !(!b2 || !S2 || "app" !== S2), D = N || T || !(!b2 || !w || "https:" !== window.location.protocol), k = r2.colConfigureMap ? r2.colConfigureMap[this.column.prop] : null, E = k && k.runtime ? k.runtime : {}, x = E.props ? E.props : {};
|
|
22
|
+
let P;
|
|
23
|
+
r2 && r2.basicInfo && r2.basicInfo.systemCode && (P = r2.basicInfo.systemCode);
|
|
24
|
+
const F = "copyBtn_" + (/* @__PURE__ */ new Date()).getTime();
|
|
25
|
+
return { deptManTree: false, isMultiTree: false, isCheckStrictly: false, deptTree: false, wgManTree: false, wgTree: false, newValue: null, componentName: "", annexUploadFlag: false, defaultAction: n2, fileMultiple: false, fileList: [], lastServerName: "", fileSetObj: null, showSingleImgFlag: false, singleImgSrc: "", fields: null, innerValue: i2, dynamicSourceSelectOptions: {}, valueSetOptions: null, dynamicDataSourceCode: null, tableName: p2, departmentInfo: null, parentFormData: c2, headers: m2, dataSourceType: d2, inputNumberSet: {}, fileInfo: { showName: null, serverPath: null }, gridData: g2 ? f2 : h2, pageGridData: g2 ? h2 : null, additionalParamMap: y2, controlConfig: t.getControlConfig(this.column), pickerOptions: { disabledDate: (e2) => this.stateForbiddenTime && this.endForbiddenTime ? e2.getTime() < this.stateForbiddenTime || e2.getTime() > this.endForbiddenTime : this.stateForbiddenTime && !this.endForbiddenTime ? e2.getTime() < this.stateForbiddenTime : !(this.stateForbiddenTime || !this.endForbiddenTime) && e2.getTime() > this.endForbiddenTime }, stateForbiddenTime: null, endForbiddenTime: null, pageContext: v2, isMobile: b2, componentId: C2, scanEnable: w, userAgent: S2, isApk: N, isDingTalk: T, isShowBrowserScan: false, isShowScanIcon: D, colConfigure: k, designProperty: x, myCustomParams: {}, systemCode: P, isFormSubTable: false, copyBtnId: F };
|
|
41
26
|
}, computed: {}, watch: { value: { handler(t2, i2) {
|
|
42
27
|
if (this.type && "multiselect" === this.type) {
|
|
43
28
|
const e2 = this.value && null !== this.value && "string" == typeof this.value ? this.value.split(",") : this.value;
|
|
@@ -49,10 +34,10 @@ const B = { name: "DynamicInput", components: { dynamicSourceSelect: p, ViewImag
|
|
|
49
34
|
});
|
|
50
35
|
}, deep: true, immediate: true } }, created() {
|
|
51
36
|
var _a;
|
|
52
|
-
const
|
|
53
|
-
if (
|
|
37
|
+
const i2 = e.get(this.listCode);
|
|
38
|
+
if (i2 && i2.options && i2.options.isFormSubTable && (this.isFormSubTable = i2.options.isFormSubTable), ((_a = this.controlConfig) == null ? void 0 : _a.customParams) && (this.pageContext || (this.pageContext = i2.options.pageContext), this.myCustomParams = l.formatCustomParams(this.controlConfig.customParams, this.pageContext, this.row)), this.gridParams = i2, this.isCreateRow = i2.isCreateRow, this.setTreeType(), this.type && this.type.indexOf("custom:") >= 0 && (this.componentName = this.type.substring(this.type.indexOf(":") + 1)), this.column.fileSet && "" !== this.column.fileSet && ("annex" === this.column.componentType || "multipartUpload" === this.column.componentType)) {
|
|
54
39
|
const e2 = JSON.parse(this.column.fileSet);
|
|
55
|
-
this.fileInfo.showName = this.row[e2.showNameData.dbName], this.fileInfo.serverPath = this.row[e2.serverNameData.dbName], this.fileSetObj = e2, e2 && e2.multiple && (this.fileMultiple = true), this.fileList =
|
|
40
|
+
this.fileInfo.showName = this.row[e2.showNameData.dbName], this.fileInfo.serverPath = this.row[e2.serverNameData.dbName], this.fileSetObj = e2, e2 && e2.multiple && (this.fileMultiple = true), this.fileList = t.getFileList(this.row, this.column, this.isSql);
|
|
56
41
|
}
|
|
57
42
|
if ("inputNumber" === this.column.componentType && this.setInputNumberConfig(), this.column.valueSetOptions) {
|
|
58
43
|
if ("switch" === this.column.componentType) {
|
|
@@ -67,23 +52,23 @@ const B = { name: "DynamicInput", components: { dynamicSourceSelect: p, ViewImag
|
|
|
67
52
|
const e2 = JSON.parse(this.column.orgTreeSet);
|
|
68
53
|
this.type.indexOf("DeptTree") > 0 && e2.checkStrictly && (this.isCheckStrictly = e2.checkStrictly), e2.length ? this.fields = e2 : e2.orgTreeSetArr && (this.fields = e2.orgTreeSetArr);
|
|
69
54
|
}
|
|
70
|
-
this.getDateAllowTime(), this.gridOptions.customRules || (this.gridOptions.customRules = {}), this.$watch("gridOptions.customRules." + this.column.prop, (e2,
|
|
55
|
+
this.getDateAllowTime(), this.gridOptions.customRules || (this.gridOptions.customRules = {}), this.$watch("gridOptions.customRules." + this.column.prop, (e2, t2) => {
|
|
71
56
|
this.packageCustomRules(e2);
|
|
72
|
-
}, { immediate: true, deep: true }), this.$watch("gridOptions.customRules._all_fields", (e2,
|
|
57
|
+
}, { immediate: true, deep: true }), this.$watch("gridOptions.customRules._all_fields", (e2, t2) => {
|
|
73
58
|
this.packageCustomRules(e2);
|
|
74
59
|
}, { immediate: true, deep: true });
|
|
75
60
|
}, mounted() {
|
|
76
61
|
const e2 = this;
|
|
77
|
-
|
|
62
|
+
r.$on(this.componentId + "-pickFileDone", (t2) => {
|
|
78
63
|
e2.$refs.fileUploadRef && e2.$refs.fileUploadRef.pickFileDone(t2);
|
|
79
|
-
}),
|
|
64
|
+
}), r.$on(this.componentId + "-uploadFileDone", (t2) => {
|
|
80
65
|
e2.$refs.fileUploadRef && e2.$refs.fileUploadRef.uploadFileDone(t2);
|
|
81
|
-
}),
|
|
66
|
+
}), r.$on(this.componentId + "-scanDone", (t2) => {
|
|
82
67
|
e2.innerValue = t2.result, e2.blurEvent(), this.callCustomEvent("afterScanDone");
|
|
83
68
|
});
|
|
84
69
|
}, destroyed() {
|
|
85
|
-
|
|
86
|
-
}, methods: { ...
|
|
70
|
+
r.$off(this.componentId + "-pickFileDone"), r.$off(this.componentId + "-uploadFileDone"), r.$off(this.componentId + "-scanDone");
|
|
71
|
+
}, methods: { ...c, getDateAllowTime() {
|
|
87
72
|
if (this.column.valueSetOptions) {
|
|
88
73
|
let e2 = JSON.parse(this.column.valueSetOptions);
|
|
89
74
|
"string" == typeof e2 && (e2 = JSON.parse(e2));
|
|
@@ -121,37 +106,37 @@ const B = { name: "DynamicInput", components: { dynamicSourceSelect: p, ViewImag
|
|
|
121
106
|
else if (e2.orgTreeSetArr && (this.fields = e2.orgTreeSetArr, this.orgTreeSetSort()), e2.specifyType)
|
|
122
107
|
if ("dataTable" === e2.specifyType) {
|
|
123
108
|
if (e2.dataTableField) {
|
|
124
|
-
const t2 =
|
|
109
|
+
const t2 = l.getEntityFieldValue(this.row, e2.dataTableField);
|
|
125
110
|
t2 && "" !== t2 && (this.departmentInfo = t2.split(","));
|
|
126
111
|
}
|
|
127
112
|
} else
|
|
128
113
|
"dept" !== e2.specifyType && "workGroup" !== e2.specifyType || e2.specifyDept && "" !== e2.specifyDept && ("object" == typeof e2.specifyDept ? this.departmentInfo = e2.specifyDept : this.departmentInfo = e2.specifyDept.split(","));
|
|
129
114
|
}
|
|
130
|
-
}, cellEvent(
|
|
115
|
+
}, cellEvent(i2, l2, o2) {
|
|
131
116
|
this.innerValue;
|
|
132
117
|
let a2 = false;
|
|
133
|
-
if ("focus" ===
|
|
134
|
-
let e2 =
|
|
135
|
-
"" === e2 && (e2 = null),
|
|
136
|
-
} else if ("input" ===
|
|
118
|
+
if ("focus" === i2 && s.$emit(this, "focus", l2), "input" === i2 && this.isDateControll()) {
|
|
119
|
+
let e2 = l2;
|
|
120
|
+
"" === e2 && (e2 = null), s.$emit(this, "update:value", e2), this.clearValidateErrorField(), a2 = true, this.innerValue = e2;
|
|
121
|
+
} else if ("input" === i2 && this.isSelectControll()) {
|
|
137
122
|
if ("multiselect" === this.type && this.innerValue && "[object Array]" === Object.prototype.toString.apply(this.innerValue)) {
|
|
138
123
|
const e2 = "saveAll";
|
|
139
|
-
this.innerValue.indexOf(e2) < 0 && (
|
|
124
|
+
this.innerValue.indexOf(e2) < 0 && (s.$emit(this, "update:value", this.innerValue.join(",")), this.clearValidateErrorField());
|
|
140
125
|
} else
|
|
141
|
-
|
|
126
|
+
s.$emit(this, "update:value", this.innerValue), this.clearValidateErrorField();
|
|
142
127
|
a2 = true;
|
|
143
128
|
} else
|
|
144
|
-
"input" ===
|
|
145
|
-
if (a2 || "change" !==
|
|
146
|
-
if (("multiselect" === this.type || "select" === this.type) &&
|
|
129
|
+
"input" === i2 && void 0 !== o2 && true === o2 ? (this.innerValue = l2, s.$emit(this, "update:value", l2), this.clearValidateErrorField(), a2 = true) : "blur" !== i2 || this.isSelectControll() || (this.blurEvent(), a2 = true, this.innerValue && this.isInputControl() && "TEXT" === this.column.dataType && (this.innerValue = this.innerValue.trim()));
|
|
130
|
+
if (a2 || "change" !== i2 || this.blurEvent(), "clear" === i2) {
|
|
131
|
+
if (("multiselect" === this.type || "select" === this.type) && t.isDynamicDataSourceSource(this.column))
|
|
147
132
|
for (let e2 = 0; e2 < this.valueSetOptions.length; e2++)
|
|
148
133
|
this.column.prop !== this.valueSetOptions[e2].valueColumn.dbColumnName && this.setCellValue(this.valueSetOptions[e2].valueColumn.dbColumnName, null, "input");
|
|
149
|
-
|
|
134
|
+
s.$emit(this, "update:value", null);
|
|
150
135
|
}
|
|
151
136
|
const n2 = e.get(this.listCode);
|
|
152
|
-
n2.editProp = this.column.prop, this.column.events && this.column.events[
|
|
137
|
+
n2.editProp = this.column.prop, this.column.events && this.column.events[i2] ? this.callCustomEvent(i2) : t.isEditOptionFunction(i2, this.listCode) && n2.options.lineEditOptions[i2].call(this, l2, this.row, this.column, n2.additionalParamMap), s.$emit(this, "findIndex");
|
|
153
138
|
}, blurEvent() {
|
|
154
|
-
null !== this.innerValue && void 0 !== this.innerValue || (this.innerValue = null, this.val = null),
|
|
139
|
+
null !== this.innerValue && void 0 !== this.innerValue || (this.innerValue = null, this.val = null), s.$emit(this, "update:value", this.innerValue), this.clearValidateErrorField(), this.watchScanValueChange(this.innerValue);
|
|
155
140
|
}, clearValidateErrorField() {
|
|
156
141
|
this.row.validateErrorField && (this.row.validateErrorField = void 0);
|
|
157
142
|
}, isInputControl() {
|
|
@@ -161,7 +146,7 @@ const B = { name: "DynamicInput", components: { dynamicSourceSelect: p, ViewImag
|
|
|
161
146
|
}, isSelectControll() {
|
|
162
147
|
return "select" === this.type || "multiselect" === this.type;
|
|
163
148
|
}, isDynamicDataSourceSource() {
|
|
164
|
-
return
|
|
149
|
+
return t.isDynamicDataSourceSource(this.column);
|
|
165
150
|
}, isDecimalDateType() {
|
|
166
151
|
return this.column.dataType && "DOUBLE" === this.column.dataType || "FLOAT" === this.column.dataType;
|
|
167
152
|
}, callCustomEvent(e2) {
|
|
@@ -170,45 +155,45 @@ const B = { name: "DynamicInput", components: { dynamicSourceSelect: p, ViewImag
|
|
|
170
155
|
if (this.column && this.column.events && this.column.events[t2]) {
|
|
171
156
|
const l2 = this.column.events[t2];
|
|
172
157
|
this.listCode || (this.listCode = e.get("_list_code"));
|
|
173
|
-
const
|
|
174
|
-
if (
|
|
175
|
-
if (i2 || (i2 = {}), i2.formData =
|
|
176
|
-
i2.pageContext =
|
|
177
|
-
const e2 =
|
|
158
|
+
const o2 = e.get(this.listCode);
|
|
159
|
+
if (o2.options && o2.options.eventCallBack && o2.options.eventCallBack[l2] && "function" == typeof o2.options.eventCallBack[l2])
|
|
160
|
+
if (i2 || (i2 = {}), i2.formData = o2.options && o2.options.formData ? o2.options.formData : null, i2.parent = this.parentFormData, i2.rowIndex = this.rowIndex, i2.additionalParamMap = o2.additionalParamMap, o2.options.pageContext) {
|
|
161
|
+
i2.pageContext = o2.options.pageContext, i2.configure = o2.options.configureObj;
|
|
162
|
+
const e2 = o2.options.eventCallBack[l2];
|
|
178
163
|
e2.apply(e2, [i2]);
|
|
179
164
|
} else
|
|
180
|
-
|
|
165
|
+
o2.options.eventCallBack[l2].call(this, i2);
|
|
181
166
|
}
|
|
182
167
|
}, checkDecimal() {
|
|
183
168
|
if (this.isDecimalDateType() && this.innerValue && null !== this.innerValue) {
|
|
184
169
|
/^(-?\d+)(\.\d+)?$/.test(this.innerValue + "") || (this.$message({ type: "warning", message: this.$t("imatrixUIMessage.invalideDoubleValue", { num: this.innerValue }), showClose: true }), this.focus());
|
|
185
170
|
}
|
|
186
171
|
}, customFocus() {
|
|
187
|
-
|
|
172
|
+
a.default.focus(this.position ? this.position.row : null);
|
|
188
173
|
}, openAnnexUpload() {
|
|
189
174
|
this.annexUploadFlag = true;
|
|
190
175
|
}, previewImg() {
|
|
191
|
-
this.fileList =
|
|
176
|
+
this.fileList = t.getFileList(this.row, this.column, this.isSql), this.showSingleImgFlag = true;
|
|
192
177
|
}, uploadOnSuccess(e2) {
|
|
193
178
|
if (e2) {
|
|
194
179
|
if (this.isMobile) {
|
|
195
180
|
if (this.column.fileSet && "" !== this.column.fileSet) {
|
|
196
|
-
const
|
|
197
|
-
if (
|
|
181
|
+
const i2 = JSON.parse(this.column.fileSet);
|
|
182
|
+
if (i2) {
|
|
198
183
|
if (this.fileMultiple)
|
|
199
|
-
this.multiStorageMobile(
|
|
184
|
+
this.multiStorageMobile(i2, e2);
|
|
200
185
|
else {
|
|
201
|
-
const
|
|
202
|
-
this.radioStorageFile(
|
|
186
|
+
const t2 = e2[0], l2 = { name: t2.showName, serverPath: t2.serverPath };
|
|
187
|
+
this.radioStorageFile(i2, l2);
|
|
203
188
|
}
|
|
204
|
-
this.fileList =
|
|
189
|
+
this.fileList = t.getFileList(this.row, this.column, this.isSql);
|
|
205
190
|
}
|
|
206
191
|
}
|
|
207
192
|
} else {
|
|
208
|
-
const
|
|
193
|
+
const i2 = { name: e2.showName, serverPath: e2.serverPath };
|
|
209
194
|
if (this.column.fileSet && "" !== this.column.fileSet) {
|
|
210
195
|
const e3 = JSON.parse(this.column.fileSet);
|
|
211
|
-
e3 && (this.fileMultiple ? this.multiStorage(e3,
|
|
196
|
+
e3 && (this.fileMultiple ? this.multiStorage(e3, i2) : this.radioStorageFile(e3, i2), this.fileList = t.getFileList(this.row, this.column, this.isSql), this.fileList);
|
|
212
197
|
}
|
|
213
198
|
}
|
|
214
199
|
this.callCustomEventWithParam("uploaded", { value: e2, row: this.row, column: this.column, extendParams: this.extendParams });
|
|
@@ -222,109 +207,109 @@ const B = { name: "DynamicInput", components: { dynamicSourceSelect: p, ViewImag
|
|
|
222
207
|
this.row[e2] = t2;
|
|
223
208
|
}, radioStorageFile(e2, t2) {
|
|
224
209
|
e2.showNameData && (this.isSql ? e2.showNameData.dbName && this.setCellValue(e2.showNameData.dbName, t2.name, "input") : e2.showNameData.name && this.setCellValue(e2.showNameData.name, t2.name, "input")), e2.serverNameData && (this.isSql ? e2.serverNameData.dbName && this.setCellValue(e2.serverNameData.dbName, t2.serverPath) : e2.serverNameData.name && this.setCellValue(e2.serverNameData.name, t2.serverPath));
|
|
225
|
-
}, multiStorage(e2,
|
|
226
|
-
const
|
|
210
|
+
}, multiStorage(e2, i2) {
|
|
211
|
+
const l2 = t.analysisFileSetObj(e2, this.isSql);
|
|
227
212
|
if (e2.childAnnexDataTableCode) {
|
|
228
|
-
let
|
|
229
|
-
|
|
230
|
-
const a2 = this.responseFileToFileObj(e2,
|
|
231
|
-
|
|
213
|
+
let o2 = this.row[this.column.prop];
|
|
214
|
+
o2 || (o2 = []);
|
|
215
|
+
const a2 = this.responseFileToFileObj(e2, i2);
|
|
216
|
+
o2.push(a2), this.fileList = t.otherFilesToStandard(e2, l2, o2, null), this.setCellValue(this.column.prop, o2, "input");
|
|
232
217
|
} else {
|
|
233
|
-
let
|
|
218
|
+
let o2 = "", a2 = "";
|
|
234
219
|
if (e2.showNameData) {
|
|
235
220
|
if (this.isSql) {
|
|
236
221
|
if (e2.showNameData.dbName && this.row) {
|
|
237
222
|
if (this.row[e2.showNameData.dbName]) {
|
|
238
|
-
let
|
|
239
|
-
|
|
223
|
+
let t2 = this.row[e2.showNameData.dbName];
|
|
224
|
+
t2 += "," + i2.name, this.setCellValue(e2.showNameData.dbName, t2, "input");
|
|
240
225
|
} else
|
|
241
|
-
this.setCellValue(e2.showNameData.dbName,
|
|
242
|
-
|
|
226
|
+
this.setCellValue(e2.showNameData.dbName, i2.name, "input");
|
|
227
|
+
o2 = this.row[e2.showNameData.dbName];
|
|
243
228
|
}
|
|
244
229
|
} else if (e2.showNameData.name && this.row) {
|
|
245
230
|
if (this.row[e2.showNameData.name]) {
|
|
246
|
-
let
|
|
247
|
-
|
|
231
|
+
let t2 = this.row[e2.showNameData.name];
|
|
232
|
+
t2 += "," + i2.name, this.setCellValue(e2.showNameData.name, t2, "input");
|
|
248
233
|
} else
|
|
249
|
-
this.setCellValue(e2.showNameData.name,
|
|
250
|
-
|
|
234
|
+
this.setCellValue(e2.showNameData.name, i2.name, "input");
|
|
235
|
+
o2 = this.row[e2.showNameData.name];
|
|
251
236
|
}
|
|
252
237
|
}
|
|
253
238
|
if (e2.serverNameData) {
|
|
254
239
|
if (this.isSql) {
|
|
255
240
|
if (e2.serverNameData.dbName && this.row) {
|
|
256
241
|
if (this.row[e2.serverNameData.dbName]) {
|
|
257
|
-
let
|
|
258
|
-
|
|
242
|
+
let t2 = this.row[e2.serverNameData.dbName];
|
|
243
|
+
t2 += "," + i2.serverPath, this.setCellValue(e2.serverNameData.dbName, t2);
|
|
259
244
|
} else
|
|
260
|
-
this.setCellValue(e2.serverNameData.dbName,
|
|
245
|
+
this.setCellValue(e2.serverNameData.dbName, i2.serverPath);
|
|
261
246
|
a2 = this.row[e2.serverNameData.dbName];
|
|
262
247
|
}
|
|
263
248
|
} else if (e2.serverNameData.name && this.row) {
|
|
264
249
|
if (this.row[e2.serverNameData.name]) {
|
|
265
|
-
let
|
|
266
|
-
|
|
250
|
+
let t2 = this.row[e2.serverNameData.name];
|
|
251
|
+
t2 += "," + i2.serverPath, this.setCellValue(e2.serverNameData.name, t2);
|
|
267
252
|
} else
|
|
268
|
-
this.setCellValue(e2.serverNameData.name,
|
|
253
|
+
this.setCellValue(e2.serverNameData.name, i2.serverPath);
|
|
269
254
|
a2 = this.row[e2.serverNameData.name];
|
|
270
255
|
}
|
|
271
256
|
}
|
|
272
|
-
this.fileList =
|
|
257
|
+
this.fileList = t.otherFilesToStandard(e2, l2, null, { showName: o2, serverPath: a2 });
|
|
273
258
|
}
|
|
274
|
-
}, multiStorageMobile(e2,
|
|
275
|
-
const
|
|
259
|
+
}, multiStorageMobile(e2, i2) {
|
|
260
|
+
const l2 = t.analysisFileSetObj(e2, this.isSql);
|
|
276
261
|
if (e2.childAnnexDataTableCode) {
|
|
277
|
-
let
|
|
278
|
-
|
|
279
|
-
const i3 = this.responseFileToFileObj(e2,
|
|
280
|
-
|
|
281
|
-
}), this.fileList =
|
|
262
|
+
let o2 = this.row[this.column.prop];
|
|
263
|
+
o2 || (o2 = []), i2.forEach((t2) => {
|
|
264
|
+
const i3 = this.responseFileToFileObj(e2, t2);
|
|
265
|
+
o2.push(i3);
|
|
266
|
+
}), this.fileList = t.otherFilesToStandard(e2, l2, o2, null), this.setCellValue(this.column.prop, o2, "input");
|
|
282
267
|
} else {
|
|
283
|
-
let
|
|
268
|
+
let o2 = "", a2 = "";
|
|
284
269
|
if (e2.showNameData) {
|
|
285
270
|
if (this.isSql) {
|
|
286
271
|
if (e2.showNameData.dbName && this.row) {
|
|
287
|
-
let
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
}),
|
|
272
|
+
let t2 = "";
|
|
273
|
+
i2.forEach((e3) => {
|
|
274
|
+
t2 = t2 + e3.name + ",";
|
|
275
|
+
}), t2.indexOf(",") >= 0 && (t2 = t2.substring(0, t2.lastIndexOf(","))), this.setCellValue(e2.showNameData.dbName, t2, "input"), o2 = this.row[e2.showNameData.dbName];
|
|
291
276
|
}
|
|
292
277
|
} else if (e2.showNameData.name && this.row) {
|
|
293
|
-
let
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
}),
|
|
278
|
+
let t2 = "";
|
|
279
|
+
i2.forEach((e3) => {
|
|
280
|
+
t2 = t2 + e3.name + ",";
|
|
281
|
+
}), t2.indexOf(",") >= 0 && (t2 = t2.substring(0, t2.lastIndexOf(","))), this.setCellValue(e2.showNameData.name, t2, "input"), o2 = this.row[e2.showNameData.name];
|
|
297
282
|
}
|
|
298
283
|
}
|
|
299
284
|
if (e2.serverNameData) {
|
|
300
285
|
if (this.isSql) {
|
|
301
286
|
if (e2.serverNameData.dbName && this.row) {
|
|
302
|
-
let
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
}),
|
|
287
|
+
let t2 = "";
|
|
288
|
+
i2.forEach((e3) => {
|
|
289
|
+
t2 = t2 + e3.serverPath + ",";
|
|
290
|
+
}), t2.indexOf(",") >= 0 && (t2 = t2.substring(0, t2.lastIndexOf(","))), this.setCellValue(e2.serverNameData.dbName, t2, "input"), a2 = this.row[e2.serverNameData.dbName];
|
|
306
291
|
}
|
|
307
292
|
} else if (e2.serverNameData.name && this.row) {
|
|
308
|
-
let
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
}),
|
|
293
|
+
let t2 = "";
|
|
294
|
+
i2.forEach((e3) => {
|
|
295
|
+
t2 = t2 + e3.serverPath + ",";
|
|
296
|
+
}), t2.indexOf(",") >= 0 && (t2 = t2.substring(0, t2.lastIndexOf(","))), this.setCellValue(e2.serverNameData.name, t2, "input"), a2 = this.row[e2.serverNameData.name];
|
|
312
297
|
}
|
|
313
298
|
}
|
|
314
|
-
this.fileList =
|
|
299
|
+
this.fileList = t.otherFilesToStandard(e2, l2, null, { showName: o2, serverPath: a2 });
|
|
315
300
|
}
|
|
316
301
|
}, responseFileToFileObj(e2, t2) {
|
|
317
302
|
const i2 = {};
|
|
318
303
|
return e2.showNameData && (this.isSql ? e2.showNameData.dbName && (i2.fileSetObj.showNameData.dbName = t2.name) : e2.showNameData.name && (i2.fileSetObj.showNameData.name = t2.name)), e2.serverNameData && (this.isSql ? e2.serverNameData.dbName && (i2.fileSetObj.serverNameData.dbName = t2.serverPath) : e2.serverNameData.name && (i2.fileSetObj.serverNameData.name = t2.serverPath)), i2;
|
|
319
304
|
}, deleteAnnexFile(e2) {
|
|
320
305
|
e2 && (e2.showNameData && (this.isSql ? e2.showNameData.dbName && this.setCellValue(e2.showNameData.dbName, null, "input,clear") : e2.showNameData.name && this.setCellValue(e2.showNameData.name, null, "input,clear")), e2.serverNameData && (this.isSql ? e2.serverNameData.dbName && this.setCellValue(e2.serverNameData.dbName, null) : e2.serverNameData.name && this.setCellValue(e2.serverNameData.name, null)));
|
|
321
|
-
}, deleteFile(e2,
|
|
322
|
-
if (JSON.stringify(e2), this.fileList = e2, void 0 !==
|
|
306
|
+
}, deleteFile(e2, i2) {
|
|
307
|
+
if (JSON.stringify(e2), this.fileList = e2, void 0 !== i2 && -1 !== i2 && this.fileList.splice(i2, 1), JSON.stringify(this.fileList), this.column.fileSet && "" !== this.column.fileSet) {
|
|
323
308
|
const e3 = JSON.parse(this.column.fileSet);
|
|
324
309
|
if (e3)
|
|
325
310
|
if (this.fileMultiple) {
|
|
326
|
-
const
|
|
327
|
-
this.standardToOtherFiles(e3,
|
|
311
|
+
const i3 = t.analysisFileSetObj(e3, this.isSql);
|
|
312
|
+
this.standardToOtherFiles(e3, i3);
|
|
328
313
|
} else
|
|
329
314
|
this.deleteAnnexFile(e3);
|
|
330
315
|
}
|
|
@@ -355,42 +340,42 @@ const B = { name: "DynamicInput", components: { dynamicSourceSelect: p, ViewImag
|
|
|
355
340
|
const t3 = "__";
|
|
356
341
|
e2 = this.tableName + t3 + e2;
|
|
357
342
|
}
|
|
358
|
-
|
|
343
|
+
l.setEntityFieldValue(this.row, e2, t2), e2 && e2 === this.column.prop && this.column && this.column.events && Object.keys(this.column.events).forEach((i2) => {
|
|
359
344
|
this.callCustomEventWithParam(i2, { value: t2, row: this.row, column: this.column, prop: e2 });
|
|
360
345
|
});
|
|
361
346
|
}, clearOrganizationInputEvent(e2) {
|
|
362
|
-
this.isSql ?
|
|
363
|
-
}, appendOrganizationInputEvent(e2, t2, i2,
|
|
364
|
-
|
|
347
|
+
this.isSql ? l.setEntityFieldValue(this.row, e2, "") : l.setEntityFieldValue(this.row, e2, null), e2 && e2 === this.column.prop && this.callCustomEventWithParam("clear", { row: this.row, column: this.column, prop: e2 });
|
|
348
|
+
}, appendOrganizationInputEvent(e2, t2, i2, o2, a2) {
|
|
349
|
+
l.setEntityFieldValue(this.row, e2, a2), e2 && e2 === this.column.prop && this.callCustomEventWithParam("append", { originalValue: t2, appendValue: i2, separator: o2, finallyValue: a2, row: this.row, column: this.column, prop: e2 });
|
|
365
350
|
}, replaceOrganizationInputEvent(e2, t2, i2) {
|
|
366
|
-
|
|
351
|
+
l.setEntityFieldValue(this.row, e2, i2), e2 && e2 === this.column.prop && this.callCustomEventWithParam("replace", { originalValue: t2, newValue: i2, row: this.row, column: this.column, prop: e2 });
|
|
367
352
|
}, getDefaultValue(e2) {
|
|
368
353
|
if (this.isInvalidValue(e2)) {
|
|
369
|
-
if ("select" === this.column.componentType && !
|
|
354
|
+
if ("select" === this.column.componentType && !t.isDynamicDataSourceSource(this.column) && this.column.valueSet) {
|
|
370
355
|
const e3 = this.column.valueSet.find((e4) => true === e4.selected);
|
|
371
356
|
if (e3)
|
|
372
|
-
return
|
|
357
|
+
return l.setEntityFieldValue(this.row, this.column.prop, e3.value), e3.value;
|
|
373
358
|
} else if ("inputNumber" === this.column.componentType) {
|
|
374
359
|
let e3 = 0;
|
|
375
360
|
if (this.column.valueSetOptions && "" !== this.column.valueSetOptions && "inputNumber" === this.column.componentType) {
|
|
376
361
|
let t2 = JSON.parse(this.column.valueSetOptions);
|
|
377
362
|
"string" == typeof t2 && (t2 = JSON.parse(t2)), t2.min && (e3 = t2.min);
|
|
378
363
|
}
|
|
379
|
-
return
|
|
364
|
+
return l.setEntityFieldValue(this.row, this.column.prop, e3), e3;
|
|
380
365
|
}
|
|
381
366
|
} else if ("inputNumber" === this.column.componentType) {
|
|
382
367
|
const t2 = Number(e2);
|
|
383
|
-
return
|
|
368
|
+
return l.setEntityFieldValue(this.row, this.column.prop, t2), t2;
|
|
384
369
|
}
|
|
385
370
|
return e2;
|
|
386
371
|
}, refresData(e2) {
|
|
387
|
-
|
|
372
|
+
s.$emit(this, "refresData", e2);
|
|
388
373
|
}, refresPortData(e2, t2) {
|
|
389
|
-
|
|
374
|
+
s.$emit(this, "refresPortData", e2, t2);
|
|
390
375
|
}, refresPortsData(e2) {
|
|
391
|
-
|
|
376
|
+
s.$emit(this, "refresPortsData", e2);
|
|
392
377
|
}, refresMainTableFields(e2) {
|
|
393
|
-
|
|
378
|
+
s.$emit(this, "refresMainTableFields", e2);
|
|
394
379
|
}, deleteSuccess(e2) {
|
|
395
380
|
this.callCustomEventWithParam("deleted", { value: e2, row: this.row, column: this.column, extendParams: this.extendParams }), this.fileInfo;
|
|
396
381
|
}, isValueFormat() {
|
|
@@ -398,7 +383,7 @@ const B = { name: "DynamicInput", components: { dynamicSourceSelect: p, ViewImag
|
|
|
398
383
|
}, isFormat() {
|
|
399
384
|
return "dateTimePicker" === this.type ? "YYYY-MM-DD HH:mm:ss" : "timePicker" === this.type ? this.column.originalFormat ? this.column.originalFormat : "HH:mm:ss" : "year" === this.type ? "YYYY" : "month" === this.type ? "MM" : "date" === this.type ? "YYYY-MM-DD" : "week" === this.type ? this.controlConfig && this.controlConfig.format ? this.controlConfig.format : "ww" : "time" === this.type || "TIME" === this.column.dataType ? "HH:mm:ss" : (this.column.dataType, "YYYY-MM-DD");
|
|
400
385
|
}, fnProhibitToEdit(e2) {
|
|
401
|
-
|
|
386
|
+
r.$emit("prohibitToEdit", e2), s.$emit(this, "prohibitToEdit", e2);
|
|
402
387
|
}, setInputNumberConfig() {
|
|
403
388
|
if ("inputNumber" === this.column.componentType)
|
|
404
389
|
if (this.column.valueSetOptions && "" !== this.column.valueSetOptions && "inputNumber" === this.column.componentType) {
|
|
@@ -422,21 +407,21 @@ const B = { name: "DynamicInput", components: { dynamicSourceSelect: p, ViewImag
|
|
|
422
407
|
this.isShowBrowserScan = true;
|
|
423
408
|
}, watchScanValueChange(e2) {
|
|
424
409
|
if (this.scanEnable && "input" === this.type) {
|
|
425
|
-
const t2 =
|
|
426
|
-
t2 &&
|
|
410
|
+
const t2 = p.analysisScanValue(e2, this.column._scanRuleSets);
|
|
411
|
+
t2 && p.setScanAnalysisValue(this.row, t2.scanSet, t2.params);
|
|
427
412
|
}
|
|
428
413
|
}, closeBrowserScan(e2) {
|
|
429
414
|
this.isShowBrowserScan = false, this.innerValue = e2, this.blurEvent();
|
|
430
|
-
}, packageCustomRules(
|
|
431
|
-
if (!
|
|
415
|
+
}, packageCustomRules(i2) {
|
|
416
|
+
if (!i2)
|
|
432
417
|
return;
|
|
433
|
-
let
|
|
434
|
-
if (
|
|
435
|
-
const
|
|
436
|
-
if (
|
|
418
|
+
let l2 = true;
|
|
419
|
+
if (i2.beforeValidate) {
|
|
420
|
+
const o2 = e.get(this.listCode);
|
|
421
|
+
if (l2 = t.rowBeforeValidate(i2, o2, this.row, this.rowIndex), false === l2)
|
|
437
422
|
return;
|
|
438
423
|
}
|
|
439
|
-
void 0 !==
|
|
424
|
+
void 0 !== i2.disabled && this.$emit("change-disabled", i2.disabled), void 0 !== i2.required && this.$emit("change-required", i2.required);
|
|
440
425
|
}, doClickwithJumpPage(e2) {
|
|
441
426
|
let t2 = this.colConfigure.props.linkPage;
|
|
442
427
|
if (e2 && ("click" === e2 || "prefixClick" === e2 || "suffixClick" === e2) && t2 && t2.jumpPageUrl) {
|
|
@@ -455,13 +440,13 @@ const B = { name: "DynamicInput", components: { dynamicSourceSelect: p, ViewImag
|
|
|
455
440
|
this.departmentInfo = e3 ? e3.split(",") : [];
|
|
456
441
|
});
|
|
457
442
|
} else
|
|
458
|
-
this.setLimitDepartmentInfo(), 0 === !this.controlConfig.deptScopeField.indexOf("${fixed.") &&
|
|
443
|
+
this.setLimitDepartmentInfo(), 0 === !this.controlConfig.deptScopeField.indexOf("${fixed.") && l.watchPageContextDynamicVariable(this, this.pageContext, this.controlConfig.deptScopeField, (e2, t2) => {
|
|
459
444
|
this.setLimitDepartmentInfo();
|
|
460
445
|
});
|
|
461
446
|
else
|
|
462
447
|
"depts" == this.controlConfig.deptScope && this.controlConfig.deptScopeCodes && (this.departmentInfo = this.controlConfig.deptScopeCodes.split(","));
|
|
463
448
|
}, setLimitDepartmentInfo() {
|
|
464
|
-
const e2 =
|
|
449
|
+
const e2 = l.getPropValueNew(this.controlConfig.deptScopeField, this.pageContext, this.row);
|
|
465
450
|
this.departmentInfo = e2 ? e2.split(",") : [];
|
|
466
451
|
}, onError(e2) {
|
|
467
452
|
if (console.error("Upload error:", e2), e2.message) {
|
|
@@ -471,12 +456,10 @@ const B = { name: "DynamicInput", components: { dynamicSourceSelect: p, ViewImag
|
|
|
471
456
|
this.$message({ type: "error", message: this.$t("fsUpload.uploadFailed"), showClose: true });
|
|
472
457
|
}, setExtendParams(e2) {
|
|
473
458
|
this.extendParams = e2;
|
|
474
|
-
} } },
|
|
475
|
-
const
|
|
459
|
+
} } }, y = { key: 1 }, v = { key: 1 }, b = { key: 1 }, C = { key: 2 };
|
|
460
|
+
const S = f(g, [["render", function(e2, t2, i2, l2, o2, a2) {
|
|
476
461
|
var _a;
|
|
477
|
-
const
|
|
478
|
-
return i2.type && i2.type.indexOf("custom:") >= 0 && "" != a2.componentName ? (P(), I("div", { key: 0, class: F(!this.isFormSubTable && i2.row.validateErrorField && i2.row.validateErrorField === i2.column.prop ? "required_bg" : "") }, [(P(), O(k(a2.componentName), { ref: "customItem", disabled: i2.disabled, entity: i2.row, "grid-data": a2.gridData, "page-grid-data": a2.pageGridData, "additional-settings": a2.controlConfig, parent: a2.parentFormData, prop: i2.column.prop, "custom-params": a2.myCustomParams, row: i2.row, "row-index": i2.position ? i2.position.row : null, "select-options": i2.options, value: a2.innerValue, "additional-param-map": a2.additionalParamMap, listCode: i2.listCode, "component-id": a2.componentId, "page-context": a2.pageContext, onChange: t2[0] || (t2[0] = (e3) => o2.cellEvent("change", e3)), onInput: t2[1] || (t2[1] = (e3) => o2.cellEvent("input", e3)) }, null, 40, ["disabled", "entity", "grid-data", "page-grid-data", "additional-settings", "parent", "prop", "custom-params", "row", "row-index", "select-options", "value", "additional-param-map", "listCode", "component-id", "page-context"]))], 2)) : (P(), I("div", { key: 1, class: F(!this.isFormSubTable && i2.row.validateErrorField && i2.row.validateErrorField === i2.column.prop ? "required_bg" : "") }, ["year" === i2.type || "month" === i2.type || "week" === i2.type ? (P(), O(s2, { key: 0, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, format: o2.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), type: i2.type, "value-format": o2.isValueFormat(), style: { width: "100%" }, onBlur: t2[3] || (t2[3] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[4] || (t2[4] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[5] || (t2[5] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[6] || (t2[6] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "type", "value-format"])) : "yearRange" === i2.type ? (P(), O(s2, { key: 1, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, placeholder: e2.$t("imatrixUIMessage.selectYear"), style: { width: "100%" }, type: "year", "value-format": "YYYY", onBlur: t2[8] || (t2[8] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[9] || (t2[9] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[10] || (t2[10] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[11] || (t2[11] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "placeholder"])) : "dateTimePicker" === i2.type ? (P(), O(s2, { key: 2, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[12] || (t2[12] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, format: o2.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), "value-format": o2.isValueFormat(), style: { width: "100%" }, type: "datetime", onBlur: t2[13] || (t2[13] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[14] || (t2[14] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[15] || (t2[15] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[16] || (t2[16] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "date" === i2.type ? (P(), O(s2, { key: 3, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[17] || (t2[17] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, format: o2.isFormat(), "picker-options": a2.pickerOptions, placeholder: e2.$t("imatrixUIMessage.selectionDate"), "value-format": o2.isValueFormat(), style: { width: "100%" }, type: "date", onBlur: t2[18] || (t2[18] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[19] || (t2[19] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[20] || (t2[20] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[21] || (t2[21] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "picker-options", "placeholder", "value-format"])) : "timePicker" === i2.type || "input" === i2.type && "TIME" === i2.column.dataType ? (P(), O(n2, { key: 4, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[22] || (t2[22] = (e3) => a2.innerValue = e3), disabled: i2.disabled, format: o2.isFormat(), placeholder: e2.$t("imatrixUIMessage.pleaseEnterATimePoint"), "value-format": o2.isValueFormat(), style: { width: "100%" }, onBlur: t2[23] || (t2[23] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[24] || (t2[24] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[25] || (t2[25] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[26] || (t2[26] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "time" === i2.type ? (P(), O(s2, { key: 5, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[27] || (t2[27] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, format: o2.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), "value-format": o2.isValueFormat(), style: { width: "100%" }, type: "datetime", onBlur: t2[28] || (t2[28] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[29] || (t2[29] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[30] || (t2[30] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[31] || (t2[31] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "DATE" === i2.column.dataType ? (P(), O(s2, { key: 6, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[32] || (t2[32] = (e3) => a2.innerValue = e3), disabled: i2.disabled, editable: false, format: o2.isFormat(), "picker-options": a2.pickerOptions, placeholder: e2.$t("imatrixUIMessage.selectionDate"), "value-format": o2.isValueFormat(), style: { width: "100%" }, type: "date", onBlur: t2[33] || (t2[33] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[34] || (t2[34] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[35] || (t2[35] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[36] || (t2[36] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "picker-options", "placeholder", "value-format"])) : "input" !== i2.type || "INTEGER" !== i2.column.dataType && "LONG" !== i2.column.dataType ? "input" === i2.type ? (P(), O(r2, { key: 8, ref: "item", disabled: i2.disabled, maxlength: a2.controlConfig && a2.controlConfig.maxlength ? a2.controlConfig.maxlength : "", minlength: a2.controlConfig && a2.controlConfig.minlength ? a2.controlConfig.minlength : "", placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), title: a2.innerValue, clearable: "", modelValue: a2.innerValue, "onUpdate:modelValue": t2[48] || (t2[48] = (e3) => a2.innerValue = e3), onBlur: t2[49] || (t2[49] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[50] || (t2[50] = (e3) => o2.cellEvent("change", e3)), onClear: t2[51] || (t2[51] = (e3) => o2.cellEvent("clear", e3)), onFocus: t2[52] || (t2[52] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[53] || (t2[53] = (e3) => o2.cellEvent("input", e3, true)) }, M({ _: 2 }, ["outer" != a2.designProperty.iconPosition && (a2.designProperty.preIconType && a2.designProperty.preIconValue || a2.designProperty.preText) ? { name: "prefix", fn: j(() => [a2.designProperty.preIconType && a2.designProperty.preIconValue ? (P(), O(u2, { key: 0, iconType: a2.designProperty.preIconType, iconValue: a2.designProperty.preIconValue, onClick: t2[43] || (t2[43] = (e3) => o2.doClickwithJumpPage("prefixClick")) }, null, 8, ["iconType", "iconValue"])) : U("", true), a2.designProperty.preText ? (P(), I("span", J, $(e2.$t(a2.designProperty.preText)), 1)) : U("", true)]), key: "0" } : void 0, "outer" == a2.designProperty.iconPosition && (a2.designProperty.preIconType && a2.designProperty.preIconValue || a2.designProperty.preText) ? { name: "prepend", fn: j(() => [a2.designProperty.preIconType && a2.designProperty.preIconValue ? (P(), O(u2, { key: 0, iconType: a2.designProperty.preIconType, iconValue: a2.designProperty.preIconValue, onClick: t2[44] || (t2[44] = (e3) => o2.doClickwithJumpPage("prefixClick")) }, null, 8, ["iconType", "iconValue"])) : U("", true), a2.designProperty.preText ? (P(), I("span", R, $(e2.$t(a2.designProperty.preText)), 1)) : U("", true)]), key: "1" } : void 0, "outer" != a2.designProperty.iconPosition && (a2.designProperty.sufIconType && a2.designProperty.sufIconValue || a2.designProperty.sufText) ? { name: "suffix", fn: j(() => [a2.designProperty.sufIconType && a2.designProperty.sufIconValue ? (P(), O(u2, { key: 0, iconType: a2.designProperty.sufIconType, iconValue: a2.designProperty.sufIconValue, onClick: t2[45] || (t2[45] = (e3) => o2.doClickwithJumpPage("suffixClick")) }, null, 8, ["iconType", "iconValue"])) : U("", true), a2.designProperty.sufText ? (P(), I("span", W, $(e2.$t(a2.designProperty.sufText)), 1)) : U("", true)]), key: "2" } : void 0, a2.isShowScanIcon || "outer" == a2.designProperty.iconPosition && (a2.designProperty.sufIconType && a2.designProperty.sufIconValue || a2.designProperty.sufText) ? { name: "append", fn: j(() => [a2.isShowScanIcon ? (P(), O(u2, { key: 0, iconValue: "fa-barcode", onClick: t2[46] || (t2[46] = (e3) => o2.scanClick()) })) : U("", true), a2.designProperty.sufIconType && a2.designProperty.sufIconValue ? (P(), O(u2, { key: 1, iconType: a2.designProperty.sufIconType, iconValue: a2.designProperty.sufIconValue, onClick: t2[47] || (t2[47] = (e3) => o2.doClickwithJumpPage("suffixClick")) }, null, 8, ["iconType", "iconValue"])) : U("", true), a2.designProperty.sufText ? (P(), I("span", Y, $(e2.$t(a2.designProperty.sufText)), 1)) : U("", true)]), key: "3" } : void 0]), 1032, ["disabled", "maxlength", "minlength", "placeholder", "title", "modelValue"])) : "textarea" === i2.type ? (P(), O(r2, { key: 9, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[54] || (t2[54] = (e3) => a2.innerValue = e3), disabled: i2.disabled, maxlength: a2.controlConfig && a2.controlConfig.maxlength ? a2.controlConfig.maxlength : "", minlength: a2.controlConfig && a2.controlConfig.minlength ? a2.controlConfig.minlength : "", placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), rows: a2.designProperty.rows ? a2.designProperty.rows : 2, title: a2.innerValue, clearable: "", type: "textarea", onBlur: t2[55] || (t2[55] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[56] || (t2[56] = (e3) => o2.cellEvent("change", e3)), onClear: t2[57] || (t2[57] = (e3) => o2.cellEvent("clear", e3)), onFocus: t2[58] || (t2[58] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[59] || (t2[59] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "maxlength", "minlength", "placeholder", "rows", "title"])) : "annex" === i2.type ? (P(), O(p2, { key: 10, ref: "fileUploadRef", "custom-view-url": true, disabled: i2.disabled, "file-info": a2.fileInfo, "file-list": a2.fileList, "file-set-obj": a2.fileSetObj, "is-sql": i2.isSql, row: i2.row, value: a2.innerValue, "page-context": a2.pageContext, "list-code": i2.listCode, componentId: a2.componentId, onDelete: o2.deleteFile, onDeleteSuccess: o2.deleteSuccess, onUploadSuccess: o2.uploadOnSuccess, onOnError: o2.onError }, null, 8, ["disabled", "file-info", "file-list", "file-set-obj", "is-sql", "row", "value", "page-context", "list-code", "componentId", "onDelete", "onDeleteSuccess", "onUploadSuccess", "onOnError"])) : "multipartUpload" === i2.type ? (P(), O(m2, { key: 11, disabled: i2.disabled, entity: i2.row, "file-info": a2.fileInfo, "file-list": a2.fileList, "file-set-obj": a2.fileSetObj, value: a2.innerValue, type: "list", onDelete: o2.deleteFile, onDeleteSuccess: o2.deleteSuccess, onUploadSuccess: o2.uploadOnSuccess }, null, 8, ["disabled", "entity", "file-info", "file-list", "file-set-obj", "value", "onDelete", "onDeleteSuccess", "onUploadSuccess"])) : "radio" === i2.type ? (P(), O(d2, { key: 12, modelValue: a2.innerValue, "onUpdate:modelValue": [t2[60] || (t2[60] = (e3) => a2.innerValue = e3), t2[61] || (t2[61] = (e3) => a2.innerValue = e3)], disabled: i2.disabled, options: i2.options, "value-set-options": a2.valueSetOptions, prop: i2.column.prop, entity: i2.row, onCellEvent: o2.cellEvent }, null, 8, ["modelValue", "disabled", "options", "value-set-options", "prop", "entity", "onCellEvent"])) : "multiselect" === i2.type || "select" === i2.type ? (P(), O(c2, { key: 13, modelValue: a2.innerValue, "onUpdate:modelValue": [t2[62] || (t2[62] = (e3) => a2.innerValue = e3), t2[63] || (t2[63] = (e3) => a2.innerValue = e3)], disabled: i2.disabled, options: i2.options, "value-set-options": a2.valueSetOptions, prop: i2.column.prop, entity: i2.row, column: i2.column, type: i2.type, controlConfig: a2.controlConfig, listCode: i2.listCode, listToolbarFormData: i2.listToolbarFormData, dynamicDataSourceCode: a2.dynamicDataSourceCode, additionalParamMap: a2.additionalParamMap, isSql: i2.isSql, parentFormData: a2.parentFormData, tableName: a2.tableName, onCellEvent: o2.cellEvent, onExtendParams: o2.setExtendParams, onSetCellValue: o2.setCellValue, onSetCellValueWithProp: o2.setCellValueWithProp, onCallCustomEventWithParam: o2.callCustomEventWithParam }, null, 8, ["modelValue", "disabled", "options", "value-set-options", "prop", "entity", "column", "type", "controlConfig", "listCode", "listToolbarFormData", "dynamicDataSourceCode", "additionalParamMap", "isSql", "parentFormData", "tableName", "onCellEvent", "onExtendParams", "onSetCellValue", "onSetCellValueWithProp", "onCallCustomEventWithParam"])) : "inputNumber" === i2.type ? (P(), O(h2, { key: 14, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[64] || (t2[64] = (e3) => a2.innerValue = e3), "controls-position": a2.inputNumberSet.position, disabled: i2.disabled, max: 0 == a2.inputNumberSet.max ? 0 : a2.inputNumberSet.max ? a2.inputNumberSet.max : 1 / 0, min: 0 == a2.inputNumberSet.min ? 0 : a2.inputNumberSet.min ? a2.inputNumberSet.min : -1 / 0, precision: a2.inputNumberSet.precision, step: a2.inputNumberSet.step ? a2.inputNumberSet.step : 1, onBlur: t2[65] || (t2[65] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[66] || (t2[66] = (e3) => o2.cellEvent("change", e3)), onFocus: t2[67] || (t2[67] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[68] || (t2[68] = (e3) => o2.cellEvent("input", e3)) }, null, 8, ["modelValue", "controls-position", "disabled", "max", "min", "precision", "step"])) : "switch" === i2.type || "BOOLEAN" === i2.column.dataType ? (P(), O(f2, { key: 15, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[69] || (t2[69] = (e3) => a2.innerValue = e3), "active-text": o2.getSwitchConfig("activeText"), "active-value": o2.getSwitchConfig("activeValue"), disabled: i2.disabled, "inactive-text": o2.getSwitchConfig("inactiveText"), "inactive-value": o2.getSwitchConfig("inactiveValue"), onChange: t2[70] || (t2[70] = (e3) => o2.cellEvent("change", e3)), onInput: t2[71] || (t2[71] = (e3) => o2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "active-text", "active-value", "disabled", "inactive-text", "inactive-value"])) : "slider" === i2.type ? (P(), O(g2, { key: 16, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[72] || (t2[72] = (e3) => a2.innerValue = e3), disabled: i2.disabled, onChange: t2[73] || (t2[73] = (e3) => o2.cellEvent("change", e3)), onInput: t2[74] || (t2[74] = (e3) => o2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled"])) : "rate" === i2.type ? (P(), O(y2, { key: 17, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[75] || (t2[75] = (e3) => a2.innerValue = e3), disabled: i2.disabled, onChange: t2[76] || (t2[76] = (e3) => o2.cellEvent("change", e3)), onInput: t2[77] || (t2[77] = (e3) => o2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled"])) : a2.deptManTree || a2.deptTree || a2.wgManTree || a2.wgTree ? (P(), O(v2, { key: 18, "check-strictly": a2.isCheckStrictly, "department-info": a2.departmentInfo, disabled: i2.disabled, "limit-filter-column": (_a = a2.controlConfig) == null ? void 0 : _a.limitFilterColumn, fields: a2.fields, "is-join-table": e2.isJoinTable, models: i2.row, multiple: a2.isMultiTree, "table-name": a2.tableName, "tree-type": a2.deptManTree ? "DeptUserTree" : a2.deptTree ? "DeptTree" : a2.wgManTree ? "WgUserTree" : a2.wgTree ? "WgTree" : null, value: a2.innerValue, onAppend: o2.appendOrganizationInputEvent, onClear: o2.clearOrganizationInputEvent, onFocus: o2.showOrganizationTree, onReplace: o2.replaceOrganizationInputEvent, onSetValue: o2.organizationInputEvent }, null, 8, ["check-strictly", "department-info", "disabled", "limit-filter-column", "fields", "is-join-table", "models", "multiple", "table-name", "tree-type", "value", "onAppend", "onClear", "onFocus", "onReplace", "onSetValue"])) : U("", true) : (P(), O(r2, { key: 7, ref: "item", modelValue: a2.innerValue, "onUpdate:modelValue": t2[37] || (t2[37] = (e3) => a2.innerValue = e3), modelModifiers: { number: true }, disabled: i2.disabled, placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), title: a2.innerValue, type: "INTEGER" === i2.column.dataType || "LONG" === i2.column.dataType ? "number" : "text", clearable: "", onBlur: t2[38] || (t2[38] = (e3) => o2.cellEvent("blur", e3)), onChange: t2[39] || (t2[39] = (e3) => o2.cellEvent("change", e3)), onClear: t2[40] || (t2[40] = (e3) => o2.cellEvent("clear", e3)), onFocus: t2[41] || (t2[41] = (e3) => o2.cellEvent("focus", e3)), onInput: t2[42] || (t2[42] = (e3) => o2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled", "placeholder", "title", "type"])), A(w2, { "append-to-body": true, "show-close": true, title: e2.$t("imatrixUIMessage.tips"), visible: a2.annexUploadFlag, width: "30%" }, { default: j(() => ["annex" === i2.type && a2.annexUploadFlag ? (P(), O(S2, { key: 0, accept: a2.fileSetObj && a2.fileSetObj.accept ? a2.fileSetObj.accept : null, action: a2.defaultAction, "before-upload": o2.handleBeforeUpload, headers: a2.headers, "on-success": o2.uploadOnSuccess, "with-credentials": true, name: "file" }, { default: j(() => [A(b2, null, { default: j(() => [L($(e2.$t("imatrixUIMessage.upload")), 1)]), _: 1 })]), _: 1 }, 8, ["accept", "action", "before-upload", "headers", "on-success"])) : U("", true)]), _: 1 }, 8, ["title", "visible"]), a2.showSingleImgFlag ? (P(), O(C2, { key: 19, deleteable: !i2.disabled, downloadable: !i2.disabled, "file-list": a2.fileList, onClose: t2[78] || (t2[78] = (e3) => a2.showSingleImgFlag = false), onDelete: o2.deleteFile }, null, 8, ["deleteable", "downloadable", "file-list", "onDelete"])) : U("", true), a2.isShowBrowserScan ? (P(), O(T2, { key: 20, onClose: o2.closeBrowserScan }, null, 8, ["onClose"])) : U("", true)], 2));
|
|
462
|
+
const n2 = h.resolveComponent("el-date-picker"), s2 = h.resolveComponent("el-time-picker"), r2 = h.resolveComponent("el-input"), u2 = h.resolveComponent("SuperIcon"), p2 = h.resolveComponent("fs-upload-list"), c2 = h.resolveComponent("multipart-upload"), m2 = h.resolveComponent("GridRadioInput"), d2 = h.resolveComponent("SelectInput"), f2 = h.resolveComponent("el-input-number"), g2 = h.resolveComponent("el-switch"), S2 = h.resolveComponent("el-slider"), w = h.resolveComponent("el-rate"), V = h.resolveComponent("organization-input"), T = h.resolveComponent("el-button"), N = h.resolveComponent("el-upload"), D = h.resolveComponent("el-dialog"), k = h.resolveComponent("view-image-dialog"), E = h.resolveComponent("scan-code-input-browser");
|
|
463
|
+
return i2.type && i2.type.indexOf("custom:") >= 0 && "" != o2.componentName ? (h.openBlock(), h.createElementBlock("div", { key: 0, class: h.normalizeClass(!this.isFormSubTable && i2.row.validateErrorField && i2.row.validateErrorField === i2.column.prop ? "required_bg" : "") }, [(h.openBlock(), h.createBlock(h.resolveDynamicComponent(o2.componentName), { ref: "customItem", disabled: i2.disabled, entity: i2.row, "grid-data": o2.gridData, "page-grid-data": o2.pageGridData, "additional-settings": o2.controlConfig, parent: o2.parentFormData, prop: i2.column.prop, "custom-params": o2.myCustomParams, row: i2.row, "row-index": i2.position ? i2.position.row : null, "select-options": i2.options, value: o2.innerValue, "additional-param-map": o2.additionalParamMap, listCode: i2.listCode, "component-id": o2.componentId, "page-context": o2.pageContext, onChange: t2[0] || (t2[0] = (e3) => a2.cellEvent("change", e3)), onInput: t2[1] || (t2[1] = (e3) => a2.cellEvent("input", e3)) }, null, 40, ["disabled", "entity", "grid-data", "page-grid-data", "additional-settings", "parent", "prop", "custom-params", "row", "row-index", "select-options", "value", "additional-param-map", "listCode", "component-id", "page-context"]))], 2)) : (h.openBlock(), h.createElementBlock("div", { key: 1, class: h.normalizeClass(!this.isFormSubTable && i2.row.validateErrorField && i2.row.validateErrorField === i2.column.prop ? "required_bg" : "") }, ["year" === i2.type || "month" === i2.type || "week" === i2.type ? (h.openBlock(), h.createBlock(n2, { key: 0, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => o2.innerValue = e3), disabled: i2.disabled, editable: false, format: a2.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), type: i2.type, "value-format": a2.isValueFormat(), style: { width: "100%" }, onBlur: t2[3] || (t2[3] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[4] || (t2[4] = (e3) => a2.cellEvent("change", e3)), onFocus: t2[5] || (t2[5] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[6] || (t2[6] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "type", "value-format"])) : "yearRange" === i2.type ? (h.openBlock(), h.createBlock(n2, { key: 1, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => o2.innerValue = e3), disabled: i2.disabled, editable: false, placeholder: e2.$t("imatrixUIMessage.selectYear"), style: { width: "100%" }, type: "year", "value-format": "YYYY", onBlur: t2[8] || (t2[8] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[9] || (t2[9] = (e3) => a2.cellEvent("change", e3)), onFocus: t2[10] || (t2[10] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[11] || (t2[11] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "placeholder"])) : "dateTimePicker" === i2.type ? (h.openBlock(), h.createBlock(n2, { key: 2, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[12] || (t2[12] = (e3) => o2.innerValue = e3), disabled: i2.disabled, editable: false, format: a2.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), "value-format": a2.isValueFormat(), style: { width: "100%" }, type: "datetime", onBlur: t2[13] || (t2[13] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[14] || (t2[14] = (e3) => a2.cellEvent("change", e3)), onFocus: t2[15] || (t2[15] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[16] || (t2[16] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "date" === i2.type ? (h.openBlock(), h.createBlock(n2, { key: 3, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[17] || (t2[17] = (e3) => o2.innerValue = e3), disabled: i2.disabled, editable: false, format: a2.isFormat(), "picker-options": o2.pickerOptions, placeholder: e2.$t("imatrixUIMessage.selectionDate"), "value-format": a2.isValueFormat(), style: { width: "100%" }, type: "date", onBlur: t2[18] || (t2[18] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[19] || (t2[19] = (e3) => a2.cellEvent("change", e3)), onFocus: t2[20] || (t2[20] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[21] || (t2[21] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "picker-options", "placeholder", "value-format"])) : "timePicker" === i2.type || "input" === i2.type && "TIME" === i2.column.dataType ? (h.openBlock(), h.createBlock(s2, { key: 4, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[22] || (t2[22] = (e3) => o2.innerValue = e3), disabled: i2.disabled, format: a2.isFormat(), placeholder: e2.$t("imatrixUIMessage.pleaseEnterATimePoint"), "value-format": a2.isValueFormat(), style: { width: "100%" }, onBlur: t2[23] || (t2[23] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[24] || (t2[24] = (e3) => a2.cellEvent("change", e3)), onFocus: t2[25] || (t2[25] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[26] || (t2[26] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "time" === i2.type ? (h.openBlock(), h.createBlock(n2, { key: 5, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[27] || (t2[27] = (e3) => o2.innerValue = e3), disabled: i2.disabled, editable: false, format: a2.isFormat(), placeholder: e2.$t("imatrixUIMessage.selectTime"), "value-format": a2.isValueFormat(), style: { width: "100%" }, type: "datetime", onBlur: t2[28] || (t2[28] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[29] || (t2[29] = (e3) => a2.cellEvent("change", e3)), onFocus: t2[30] || (t2[30] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[31] || (t2[31] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "placeholder", "value-format"])) : "DATE" === i2.column.dataType ? (h.openBlock(), h.createBlock(n2, { key: 6, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[32] || (t2[32] = (e3) => o2.innerValue = e3), disabled: i2.disabled, editable: false, format: a2.isFormat(), "picker-options": o2.pickerOptions, placeholder: e2.$t("imatrixUIMessage.selectionDate"), "value-format": a2.isValueFormat(), style: { width: "100%" }, type: "date", onBlur: t2[33] || (t2[33] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[34] || (t2[34] = (e3) => a2.cellEvent("change", e3)), onFocus: t2[35] || (t2[35] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[36] || (t2[36] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "format", "picker-options", "placeholder", "value-format"])) : "input" !== i2.type || "INTEGER" !== i2.column.dataType && "LONG" !== i2.column.dataType ? "input" === i2.type ? (h.openBlock(), h.createBlock(r2, { key: 8, ref: "item", disabled: i2.disabled, maxlength: o2.controlConfig && o2.controlConfig.maxlength ? o2.controlConfig.maxlength : "", minlength: o2.controlConfig && o2.controlConfig.minlength ? o2.controlConfig.minlength : "", placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), title: o2.innerValue, clearable: "", modelValue: o2.innerValue, "onUpdate:modelValue": t2[48] || (t2[48] = (e3) => o2.innerValue = e3), onBlur: t2[49] || (t2[49] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[50] || (t2[50] = (e3) => a2.cellEvent("change", e3)), onClear: t2[51] || (t2[51] = (e3) => a2.cellEvent("clear", e3)), onFocus: t2[52] || (t2[52] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[53] || (t2[53] = (e3) => a2.cellEvent("input", e3, true)) }, h.createSlots({ _: 2 }, ["outer" != o2.designProperty.iconPosition && (o2.designProperty.preIconType && o2.designProperty.preIconValue || o2.designProperty.preText) ? { name: "prefix", fn: h.withCtx(() => [o2.designProperty.preIconType && o2.designProperty.preIconValue ? (h.openBlock(), h.createBlock(u2, { key: 0, iconType: o2.designProperty.preIconType, iconValue: o2.designProperty.preIconValue, onClick: t2[43] || (t2[43] = (e3) => a2.doClickwithJumpPage("prefixClick")) }, null, 8, ["iconType", "iconValue"])) : h.createCommentVNode("", true), o2.designProperty.preText ? (h.openBlock(), h.createElementBlock("span", y, h.toDisplayString(e2.$t(o2.designProperty.preText)), 1)) : h.createCommentVNode("", true)]), key: "0" } : void 0, "outer" == o2.designProperty.iconPosition && (o2.designProperty.preIconType && o2.designProperty.preIconValue || o2.designProperty.preText) ? { name: "prepend", fn: h.withCtx(() => [o2.designProperty.preIconType && o2.designProperty.preIconValue ? (h.openBlock(), h.createBlock(u2, { key: 0, iconType: o2.designProperty.preIconType, iconValue: o2.designProperty.preIconValue, onClick: t2[44] || (t2[44] = (e3) => a2.doClickwithJumpPage("prefixClick")) }, null, 8, ["iconType", "iconValue"])) : h.createCommentVNode("", true), o2.designProperty.preText ? (h.openBlock(), h.createElementBlock("span", v, h.toDisplayString(e2.$t(o2.designProperty.preText)), 1)) : h.createCommentVNode("", true)]), key: "1" } : void 0, "outer" != o2.designProperty.iconPosition && (o2.designProperty.sufIconType && o2.designProperty.sufIconValue || o2.designProperty.sufText) ? { name: "suffix", fn: h.withCtx(() => [o2.designProperty.sufIconType && o2.designProperty.sufIconValue ? (h.openBlock(), h.createBlock(u2, { key: 0, iconType: o2.designProperty.sufIconType, iconValue: o2.designProperty.sufIconValue, onClick: t2[45] || (t2[45] = (e3) => a2.doClickwithJumpPage("suffixClick")) }, null, 8, ["iconType", "iconValue"])) : h.createCommentVNode("", true), o2.designProperty.sufText ? (h.openBlock(), h.createElementBlock("span", b, h.toDisplayString(e2.$t(o2.designProperty.sufText)), 1)) : h.createCommentVNode("", true)]), key: "2" } : void 0, o2.isShowScanIcon || "outer" == o2.designProperty.iconPosition && (o2.designProperty.sufIconType && o2.designProperty.sufIconValue || o2.designProperty.sufText) ? { name: "append", fn: h.withCtx(() => [o2.isShowScanIcon ? (h.openBlock(), h.createBlock(u2, { key: 0, iconValue: "fa-barcode", onClick: t2[46] || (t2[46] = (e3) => a2.scanClick()) })) : h.createCommentVNode("", true), o2.designProperty.sufIconType && o2.designProperty.sufIconValue ? (h.openBlock(), h.createBlock(u2, { key: 1, iconType: o2.designProperty.sufIconType, iconValue: o2.designProperty.sufIconValue, onClick: t2[47] || (t2[47] = (e3) => a2.doClickwithJumpPage("suffixClick")) }, null, 8, ["iconType", "iconValue"])) : h.createCommentVNode("", true), o2.designProperty.sufText ? (h.openBlock(), h.createElementBlock("span", C, h.toDisplayString(e2.$t(o2.designProperty.sufText)), 1)) : h.createCommentVNode("", true)]), key: "3" } : void 0]), 1032, ["disabled", "maxlength", "minlength", "placeholder", "title", "modelValue"])) : "textarea" === i2.type ? (h.openBlock(), h.createBlock(r2, { key: 9, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[54] || (t2[54] = (e3) => o2.innerValue = e3), disabled: i2.disabled, maxlength: o2.controlConfig && o2.controlConfig.maxlength ? o2.controlConfig.maxlength : "", minlength: o2.controlConfig && o2.controlConfig.minlength ? o2.controlConfig.minlength : "", placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), rows: o2.designProperty.rows ? o2.designProperty.rows : 2, title: o2.innerValue, clearable: "", type: "textarea", onBlur: t2[55] || (t2[55] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[56] || (t2[56] = (e3) => a2.cellEvent("change", e3)), onClear: t2[57] || (t2[57] = (e3) => a2.cellEvent("clear", e3)), onFocus: t2[58] || (t2[58] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[59] || (t2[59] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "disabled", "maxlength", "minlength", "placeholder", "rows", "title"])) : "annex" === i2.type ? (h.openBlock(), h.createBlock(p2, { key: 10, ref: "fileUploadRef", "custom-view-url": true, disabled: i2.disabled, "file-info": o2.fileInfo, "file-list": o2.fileList, "file-set-obj": o2.fileSetObj, "is-sql": i2.isSql, row: i2.row, value: o2.innerValue, "page-context": o2.pageContext, "list-code": i2.listCode, componentId: o2.componentId, onDelete: a2.deleteFile, onDeleteSuccess: a2.deleteSuccess, onUploadSuccess: a2.uploadOnSuccess, onOnError: a2.onError }, null, 8, ["disabled", "file-info", "file-list", "file-set-obj", "is-sql", "row", "value", "page-context", "list-code", "componentId", "onDelete", "onDeleteSuccess", "onUploadSuccess", "onOnError"])) : "multipartUpload" === i2.type ? (h.openBlock(), h.createBlock(c2, { key: 11, disabled: i2.disabled, entity: i2.row, "file-info": o2.fileInfo, "file-list": o2.fileList, "file-set-obj": o2.fileSetObj, value: o2.innerValue, type: "list", onDelete: a2.deleteFile, onDeleteSuccess: a2.deleteSuccess, onUploadSuccess: a2.uploadOnSuccess }, null, 8, ["disabled", "entity", "file-info", "file-list", "file-set-obj", "value", "onDelete", "onDeleteSuccess", "onUploadSuccess"])) : "radio" === i2.type ? (h.openBlock(), h.createBlock(m2, { key: 12, modelValue: o2.innerValue, "onUpdate:modelValue": [t2[60] || (t2[60] = (e3) => o2.innerValue = e3), t2[61] || (t2[61] = (e3) => o2.innerValue = e3)], disabled: i2.disabled, options: i2.options, "value-set-options": o2.valueSetOptions, prop: i2.column.prop, entity: i2.row, onCellEvent: a2.cellEvent }, null, 8, ["modelValue", "disabled", "options", "value-set-options", "prop", "entity", "onCellEvent"])) : "multiselect" === i2.type || "select" === i2.type ? (h.openBlock(), h.createBlock(d2, { key: 13, modelValue: o2.innerValue, "onUpdate:modelValue": [t2[62] || (t2[62] = (e3) => o2.innerValue = e3), t2[63] || (t2[63] = (e3) => o2.innerValue = e3)], disabled: i2.disabled, options: i2.options, "value-set-options": o2.valueSetOptions, prop: i2.column.prop, entity: i2.row, column: i2.column, type: i2.type, controlConfig: o2.controlConfig, listCode: i2.listCode, listToolbarFormData: i2.listToolbarFormData, dynamicDataSourceCode: o2.dynamicDataSourceCode, additionalParamMap: o2.additionalParamMap, isSql: i2.isSql, parentFormData: o2.parentFormData, tableName: o2.tableName, onCellEvent: a2.cellEvent, onExtendParams: a2.setExtendParams, onSetCellValue: a2.setCellValue, onSetCellValueWithProp: a2.setCellValueWithProp, onCallCustomEventWithParam: a2.callCustomEventWithParam }, null, 8, ["modelValue", "disabled", "options", "value-set-options", "prop", "entity", "column", "type", "controlConfig", "listCode", "listToolbarFormData", "dynamicDataSourceCode", "additionalParamMap", "isSql", "parentFormData", "tableName", "onCellEvent", "onExtendParams", "onSetCellValue", "onSetCellValueWithProp", "onCallCustomEventWithParam"])) : "inputNumber" === i2.type ? (h.openBlock(), h.createBlock(f2, { key: 14, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[64] || (t2[64] = (e3) => o2.innerValue = e3), "controls-position": o2.inputNumberSet.position, disabled: i2.disabled, max: 0 == o2.inputNumberSet.max ? 0 : o2.inputNumberSet.max ? o2.inputNumberSet.max : 1 / 0, min: 0 == o2.inputNumberSet.min ? 0 : o2.inputNumberSet.min ? o2.inputNumberSet.min : -1 / 0, precision: o2.inputNumberSet.precision, step: o2.inputNumberSet.step ? o2.inputNumberSet.step : 1, onBlur: t2[65] || (t2[65] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[66] || (t2[66] = (e3) => a2.cellEvent("change", e3)), onFocus: t2[67] || (t2[67] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[68] || (t2[68] = (e3) => a2.cellEvent("input", e3)) }, null, 8, ["modelValue", "controls-position", "disabled", "max", "min", "precision", "step"])) : "switch" === i2.type || "BOOLEAN" === i2.column.dataType ? (h.openBlock(), h.createBlock(g2, { key: 15, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[69] || (t2[69] = (e3) => o2.innerValue = e3), "active-text": a2.getSwitchConfig("activeText"), "active-value": a2.getSwitchConfig("activeValue"), disabled: i2.disabled, "inactive-text": a2.getSwitchConfig("inactiveText"), "inactive-value": a2.getSwitchConfig("inactiveValue"), onChange: t2[70] || (t2[70] = (e3) => a2.cellEvent("change", e3)), onInput: t2[71] || (t2[71] = (e3) => a2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "active-text", "active-value", "disabled", "inactive-text", "inactive-value"])) : "slider" === i2.type ? (h.openBlock(), h.createBlock(S2, { key: 16, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[72] || (t2[72] = (e3) => o2.innerValue = e3), disabled: i2.disabled, onChange: t2[73] || (t2[73] = (e3) => a2.cellEvent("change", e3)), onInput: t2[74] || (t2[74] = (e3) => a2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled"])) : "rate" === i2.type ? (h.openBlock(), h.createBlock(w, { key: 17, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[75] || (t2[75] = (e3) => o2.innerValue = e3), disabled: i2.disabled, onChange: t2[76] || (t2[76] = (e3) => a2.cellEvent("change", e3)), onInput: t2[77] || (t2[77] = (e3) => a2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled"])) : o2.deptManTree || o2.deptTree || o2.wgManTree || o2.wgTree ? (h.openBlock(), h.createBlock(V, { key: 18, "check-strictly": o2.isCheckStrictly, "department-info": o2.departmentInfo, disabled: i2.disabled, "limit-filter-column": (_a = o2.controlConfig) == null ? void 0 : _a.limitFilterColumn, fields: o2.fields, "is-join-table": e2.isJoinTable, models: i2.row, multiple: o2.isMultiTree, "table-name": o2.tableName, "tree-type": o2.deptManTree ? "DeptUserTree" : o2.deptTree ? "DeptTree" : o2.wgManTree ? "WgUserTree" : o2.wgTree ? "WgTree" : null, value: o2.innerValue, onAppend: a2.appendOrganizationInputEvent, onClear: a2.clearOrganizationInputEvent, onFocus: a2.showOrganizationTree, onReplace: a2.replaceOrganizationInputEvent, onSetValue: a2.organizationInputEvent }, null, 8, ["check-strictly", "department-info", "disabled", "limit-filter-column", "fields", "is-join-table", "models", "multiple", "table-name", "tree-type", "value", "onAppend", "onClear", "onFocus", "onReplace", "onSetValue"])) : h.createCommentVNode("", true) : (h.openBlock(), h.createBlock(r2, { key: 7, ref: "item", modelValue: o2.innerValue, "onUpdate:modelValue": t2[37] || (t2[37] = (e3) => o2.innerValue = e3), modelModifiers: { number: true }, disabled: i2.disabled, placeholder: e2.$t("imatrixUIMessage.pleaseEnterContent"), title: o2.innerValue, type: "INTEGER" === i2.column.dataType || "LONG" === i2.column.dataType ? "number" : "text", clearable: "", onBlur: t2[38] || (t2[38] = (e3) => a2.cellEvent("blur", e3)), onChange: t2[39] || (t2[39] = (e3) => a2.cellEvent("change", e3)), onClear: t2[40] || (t2[40] = (e3) => a2.cellEvent("clear", e3)), onFocus: t2[41] || (t2[41] = (e3) => a2.cellEvent("focus", e3)), onInput: t2[42] || (t2[42] = (e3) => a2.cellEvent("input", e3, true)) }, null, 8, ["modelValue", "disabled", "placeholder", "title", "type"])), h.createVNode(D, { "append-to-body": true, "show-close": true, title: e2.$t("imatrixUIMessage.tips"), visible: o2.annexUploadFlag, width: "30%" }, { default: h.withCtx(() => ["annex" === i2.type && o2.annexUploadFlag ? (h.openBlock(), h.createBlock(N, { key: 0, accept: o2.fileSetObj && o2.fileSetObj.accept ? o2.fileSetObj.accept : null, action: o2.defaultAction, "before-upload": a2.handleBeforeUpload, headers: o2.headers, "on-success": a2.uploadOnSuccess, "with-credentials": true, name: "file" }, { default: h.withCtx(() => [h.createVNode(T, null, { default: h.withCtx(() => [h.createTextVNode(h.toDisplayString(e2.$t("imatrixUIMessage.upload")), 1)]), _: 1 })]), _: 1 }, 8, ["accept", "action", "before-upload", "headers", "on-success"])) : h.createCommentVNode("", true)]), _: 1 }, 8, ["title", "visible"]), o2.showSingleImgFlag ? (h.openBlock(), h.createBlock(k, { key: 19, deleteable: !i2.disabled, downloadable: !i2.disabled, "file-list": o2.fileList, onClose: t2[78] || (t2[78] = (e3) => o2.showSingleImgFlag = false), onDelete: a2.deleteFile }, null, 8, ["deleteable", "downloadable", "file-list", "onDelete"])) : h.createCommentVNode("", true), o2.isShowBrowserScan ? (h.openBlock(), h.createBlock(E, { key: 20, onClose: a2.closeBrowserScan }, null, 8, ["onClose"])) : h.createCommentVNode("", true)], 2));
|
|
479
464
|
}]]);
|
|
480
|
-
|
|
481
|
-
_ as default
|
|
482
|
-
};
|
|
465
|
+
module.exports = S;
|