agilebuilder-ui 1.1.65-tmp3 → 1.1.65-tmp31
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.mjs +7 -0
- package/es/IntervalSelection/src/sectionDate.vue.mjs +49 -0
- package/es/breadcrumb/index.mjs +7 -0
- package/es/breadcrumb/src/breadcrumb.vue.mjs +28 -0
- package/es/chat-embed/index.mjs +7 -0
- package/es/chat-embed/src/chat-addition-data.vue.mjs +7 -0
- package/es/chat-embed/src/chat-addition-data.vue2.mjs +17 -0
- package/es/chat-embed/src/chat-ai-answer-tip.vue.mjs +7 -0
- package/es/chat-embed/src/chat-ai-answer-tip.vue2.mjs +29 -0
- package/es/chat-embed/src/chat-bubble-footer.vue.mjs +7 -0
- package/es/chat-embed/src/chat-bubble-footer.vue2.mjs +33 -0
- package/es/chat-embed/src/chat-embed-message.mjs +22 -0
- package/es/chat-embed/src/chat-sender.vue.mjs +7 -0
- package/es/chat-embed/src/chat-sender.vue2.mjs +158 -0
- package/es/chat-embed/src/components/answer-auto-chart.vue.mjs +7 -0
- package/es/chat-embed/src/components/answer-auto-chart.vue2.mjs +58 -0
- package/es/chat-embed/src/components/answer-home-chart.vue.mjs +7 -0
- package/es/chat-embed/src/components/answer-interaction-data.vue.mjs +7 -0
- package/es/chat-embed/src/components/answer-interaction-data.vue2.mjs +117 -0
- package/es/chat-embed/src/components/history-detail.vue.mjs +7 -0
- package/es/chat-embed/src/components/history-detail.vue2.mjs +55 -0
- package/es/chat-embed/src/header.vue.mjs +7 -0
- package/es/chat-embed/src/header.vue2.mjs +46 -0
- package/es/chat-embed/src/index.vue.mjs +7 -0
- package/es/chat-embed/src/index.vue2.mjs +311 -0
- package/es/chat-embed/src/recommendation-message.vue.mjs +7 -0
- package/es/chat-embed/src/recommendation-message.vue2.mjs +11 -0
- package/es/chat-embed/src/sidebar-item.vue.mjs +7 -0
- package/es/chat-embed/src/sidebar-item.vue2.mjs +118 -0
- package/es/chat-embed/src/util/history-message-util.mjs +96 -0
- package/es/chat-embed/src/util/mcp-utils.mjs +53 -0
- package/es/chat-embed/src/voice/index.mjs +7 -0
- package/es/chat-embed/src/voice/js/crypto-js.mjs +1000 -0
- package/es/chat-embed/src/voice/js/processor/index.umd.mjs +169 -0
- package/es/chat-embed/src/voice/voice.vue.mjs +102 -0
- package/es/date-picker-range/index.mjs +7 -0
- package/es/date-picker-range/index.vue.mjs +7 -0
- package/es/date-picker-range/index.vue2.mjs +101 -0
- package/es/department-tree/index.mjs +7 -0
- package/es/department-tree/src/department-tree.vue.mjs +23 -0
- package/es/department-tree-inline/index.mjs +7 -0
- package/es/department-tree-inline/src/department-multi-tree-inline.vue.mjs +91 -0
- package/es/department-tree-inline/src/department-single-tree-inline.vue.mjs +64 -0
- package/es/department-tree-inline/src/department-tree-inline.vue.mjs +17 -0
- package/es/department-tree-inline/src/department-tree-service.mjs +107 -0
- package/es/department-tree-inline/src/search-result.vue.mjs +40 -0
- package/es/department-tree-mobile/index.mjs +8 -0
- package/es/department-tree-mobile/src/department-tree-app.vue.mjs +16 -0
- package/es/department-tree-mobile/src/department-tree-app.vue3.mjs +5 -0
- package/es/department-tree-mobile/src/department-tree-inline-app.vue.mjs +121 -0
- package/es/department-tree-mobile/src/department-tree-inline-app.vue2.mjs +4 -0
- package/es/department-tree-mobile/src/department-tree-service.mjs +57 -0
- package/es/department-tree-mobile/src/dept-path.vue.mjs +15 -0
- package/es/department-tree-mobile/src/dept-path.vue2.mjs +4 -0
- package/es/department-tree-mobile/src/dept-result.vue.mjs +18 -0
- package/es/department-tree-mobile/src/dept-result.vue2.mjs +4 -0
- package/es/department-user-tree/index.mjs +7 -0
- package/es/department-user-tree/src/department-user-multiple-tree.vue.mjs +20 -0
- package/es/department-user-tree/src/department-user-single-tree.vue.mjs +19 -0
- package/es/department-user-tree/src/department-user-tree.vue.mjs +27 -0
- package/es/department-user-tree-inline/index.mjs +7 -0
- package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.mjs +168 -0
- package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue.mjs +69 -0
- package/es/department-user-tree-inline/src/department-user-tree-inline.vue.mjs +16 -0
- package/es/department-user-tree-inline/src/department-user-tree-multi-service.mjs +80 -0
- package/es/department-user-tree-inline/src/department-user-tree-single-service.mjs +53 -0
- package/es/department-user-tree-inline/src/group-user/group-input.vue.mjs +39 -0
- package/es/department-user-tree-inline/src/group-user/group-list.vue.mjs +27 -0
- package/es/department-user-tree-inline/src/group-user/group-user.vue.mjs +16 -0
- package/es/department-user-tree-inline/src/group-user-multiple-tree.vue.mjs +78 -0
- package/es/department-user-tree-inline/src/group-user-single-tree.vue.mjs +34 -0
- package/es/department-user-tree-inline/src/search-result.vue.mjs +41 -0
- package/es/department-user-tree-mobile/index.mjs +8 -0
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue.mjs +16 -0
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue3.mjs +5 -0
- package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue.mjs +135 -0
- package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.mjs +4 -0
- package/es/department-user-tree-mobile/src/dept-path.vue.mjs +15 -0
- package/es/department-user-tree-mobile/src/dept-path.vue2.mjs +4 -0
- package/es/department-user-tree-mobile/src/dept-result.vue.mjs +18 -0
- package/es/department-user-tree-mobile/src/dept-result.vue2.mjs +4 -0
- package/es/directives/prevent-reclick.mjs +15 -0
- package/es/dynamic-source-select/index.mjs +7 -0
- package/es/dynamic-source-select/src/dynamic-source-select-service.mjs +32 -0
- package/es/dynamic-source-select/src/dynamic-source-select.vue.mjs +277 -0
- package/es/empty-state/index.vue.mjs +9 -0
- package/es/empty-state/index.vue2.mjs +4 -0
- package/es/fs-preview/index.mjs +7 -0
- package/es/fs-preview/src/fs-preview.vue.mjs +142 -0
- package/es/fs-upload/index.mjs +7 -0
- package/es/fs-upload/src/fs-upload-multi.vue.mjs +71 -0
- package/es/fs-upload/src/fs-upload-single.vue.mjs +73 -0
- package/es/fs-upload/src/fs-upload.vue.mjs +24 -0
- package/es/fs-upload/src/see-big-picture.vue.mjs +12 -0
- package/es/fs-upload-list/index.mjs +7 -0
- package/es/fs-upload-list/src/fs-upload-list.vue.mjs +97 -0
- package/es/fs-upload-new/index.mjs +7 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.mjs +59 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.mjs +4 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.mjs +178 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.mjs +4 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.mjs +7 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.mjs +39 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.mjs +45 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.mjs +4 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload.vue.mjs +35 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload.vue2.mjs +4 -0
- package/es/fs-upload-new/src/fs-button-upload.vue.mjs +7 -0
- package/es/fs-upload-new/src/fs-button-upload.vue2.mjs +62 -0
- package/es/fs-upload-new/src/fs-drag-upload.vue.mjs +7 -0
- package/es/fs-upload-new/src/fs-drag-upload.vue2.mjs +63 -0
- package/es/fs-upload-new/src/fs-preview-new.vue.mjs +8 -0
- package/es/fs-upload-new/src/fs-preview-new.vue2.mjs +93 -0
- package/es/fs-upload-new/src/fs-upload-new.vue.mjs +64 -0
- package/es/fs-upload-new/src/fs-upload-new.vue2.mjs +4 -0
- package/es/hamburger/index.mjs +7 -0
- package/es/hamburger/src/hamburger.vue.mjs +15 -0
- package/es/i18n-setting/index.mjs +7 -0
- package/es/i18n-setting/src/i18n-setting-dialog.vue.mjs +23 -0
- package/es/i18n-setting/src/i18n-setting.mjs +14 -0
- package/es/i18n-setting/src/index.vue.mjs +47 -0
- package/es/index.mjs +393 -0
- package/es/json-view/json-view-dialog.vue.mjs +19 -0
- package/es/json-view/json-view-dialog.vue2.mjs +4 -0
- package/es/json-view/json-view.vue.mjs +4 -0
- package/es/json-view/json-view.vue2.mjs +36 -0
- package/es/multipart-upload/index.mjs +7 -0
- package/es/multipart-upload/src/index.vue.mjs +14 -0
- package/es/multipart-upload/src/multipart-upload-form.vue.mjs +82 -0
- package/es/multipart-upload/src/multipart-upload-list.vue.mjs +104 -0
- package/es/organization-input/index.mjs +7 -0
- package/es/organization-input/src/organization-input.vue.mjs +224 -0
- package/es/plugins/export-data-new.mjs +237 -0
- package/es/plugins/export-data.mjs +179 -0
- package/es/plugins/index.mjs +9 -0
- package/es/remove-department/index.mjs +7 -0
- package/es/remove-department/src/remove-department.vue.mjs +33 -0
- package/es/remove-department/src/remove-dept-service.mjs +12 -0
- package/es/remove-user/index.mjs +7 -0
- package/es/remove-user/src/remove-user-service.mjs +12 -0
- package/es/remove-user/src/remove-user.vue.mjs +35 -0
- package/es/remove-workgroup/index.mjs +7 -0
- package/es/remove-workgroup/src/remove-workgroup-service.mjs +12 -0
- package/es/remove-workgroup/src/remove-workgroup.vue.mjs +31 -0
- package/es/rich-editor/index.mjs +7 -0
- package/es/rich-editor/index.vue.mjs +74 -0
- package/es/rich-editor/viewer.vue.mjs +27 -0
- package/es/row-form/index.mjs +7 -0
- package/es/row-form/index.vue.mjs +7 -0
- package/es/row-form/index.vue2.mjs +62 -0
- package/es/row-form/operation.vue.mjs +32 -0
- package/es/row-form/operation.vue2.mjs +4 -0
- package/es/scan-code-input/index.mjs +7 -0
- package/es/scan-code-input/src/events.mjs +15 -0
- package/es/scan-code-input/src/scan-code-input.vue.mjs +32 -0
- package/es/scan-code-input-browser/index.mjs +7 -0
- package/es/scan-code-input-browser/src/scan-code-input.vue.mjs +50 -0
- package/es/secret-info/index.mjs +7 -0
- package/es/secret-info/index.vue.mjs +16 -0
- package/es/src/api/sso-service.mjs +56 -0
- package/es/src/api/tab.mjs +15 -0
- package/es/src/components/Affix/index.vue.mjs +7 -0
- package/es/src/components/Affix/index.vue2.mjs +83 -0
- package/es/src/components/Card/index.mjs +51 -0
- package/es/src/components/Scrollbar/index.vue.mjs +52 -0
- package/es/src/directives/permission/index.mjs +7 -0
- package/es/src/directives/permission/permission.mjs +11 -0
- package/es/src/i18n/i18n.mjs +7 -0
- package/es/src/i18n/langs/cn.mjs +4 -0
- package/es/src/i18n/langs/en.mjs +4 -0
- package/es/src/permission.mjs +76 -0
- package/es/src/router/index.mjs +9 -0
- package/es/src/store/index.mjs +12 -0
- package/es/src/store/modules/app.mjs +40 -0
- package/es/src/store/modules/permission.mjs +31 -0
- package/es/src/store/modules/system.mjs +12 -0
- package/es/src/store/modules/tab-content.mjs +20 -0
- package/es/src/store/modules/user.mjs +139 -0
- package/es/src/utils/auth.mjs +156 -0
- package/es/src/utils/calculator/calculator-util.mjs +56 -0
- package/es/src/utils/chat-ai-util.mjs +34 -0
- package/es/src/utils/common-util.mjs +448 -0
- package/es/src/utils/i18n-util.mjs +72 -0
- package/es/src/utils/iconUtils.mjs +25 -0
- package/es/src/utils/insert_css.mjs +17 -0
- package/es/src/utils/jump-page-utils.mjs +264 -0
- package/es/src/utils/menu.mjs +14 -0
- package/es/src/utils/permission.mjs +44 -0
- package/es/src/utils/permissionAuth.mjs +153 -0
- package/es/src/utils/range-selector.mjs +105 -0
- package/es/src/utils/request.mjs +140 -0
- package/es/src/utils/restful-interface-utils.mjs +17 -0
- package/es/src/utils/util.mjs +361 -0
- package/es/src/utils/voice-setting-cache.mjs +212 -0
- package/es/src/utils/watermark.mjs +35 -0
- package/es/src/utils/workflow-util.mjs +42 -0
- package/es/src/views/dsc-component/Sidebar/Item.vue.mjs +7 -0
- package/es/src/views/dsc-component/Sidebar/Item.vue2.mjs +12 -0
- package/es/src/views/dsc-component/Sidebar/Link.vue.mjs +14 -0
- package/es/src/views/dsc-component/Sidebar/SidebarItem.vue.mjs +53 -0
- package/es/src/views/dsc-component/Sidebar/index.vue.mjs +111 -0
- package/es/src/views/dsc-component/tabs/tab-content.vue.mjs +66 -0
- package/es/src/views/error-page/401.vue.mjs +15 -0
- package/es/src/views/error-page/404.vue.mjs +12 -0
- package/es/src/views/layout/EmptyLayout.vue.mjs +9 -0
- package/es/src/views/layout/Layout.vue.mjs +28 -0
- package/es/src/views/layout/NewLayout.vue.mjs +11 -0
- package/es/src/views/layout/components/AppMain.vue.mjs +13 -0
- package/es/src/views/layout/components/Breadcrumb/index.vue.mjs +49 -0
- package/es/src/views/layout/components/Menubar/Item.vue.mjs +7 -0
- package/es/src/views/layout/components/Menubar/Item.vue2.mjs +15 -0
- package/es/src/views/layout/components/Menubar/Link.vue.mjs +14 -0
- package/es/src/views/layout/components/Menubar/SidebarItem.vue.mjs +56 -0
- package/es/src/views/layout/components/Menubar/index.vue.mjs +90 -0
- package/es/src/views/layout/components/Sidebar/Item.vue2.mjs +4 -0
- package/es/src/views/layout/components/Sidebar/Link.vue.mjs +12 -0
- package/es/src/views/layout/components/Sidebar/SidebarItem.vue.mjs +22 -0
- package/es/src/views/layout/components/Sidebar/index.vue.mjs +58 -0
- package/es/src/views/layout/components/iframe-page.vue.mjs +14 -0
- package/es/src/views/layout/components/tabs/tab-content.vue.mjs +64 -0
- package/es/src/views/layout/mixin/ResizeHandler.mjs +16 -0
- package/es/src/views/layout/tab-content-iframe-index.vue.mjs +14 -0
- package/es/src/views/layout/tab-content-index.vue.mjs +28 -0
- package/es/src/views/super-icon/index.mjs +7 -0
- package/es/src/views/super-icon/src/index.vue.mjs +7 -0
- package/es/src/views/super-icon/src/index.vue2.mjs +13 -0
- package/es/src/views/svg-icon/src/svg-icon.vue2.mjs +14 -0
- package/es/src/views/wf-history/tache-subprocess-history.vue.mjs +14 -0
- package/es/style.css +1 -0
- package/es/super-grid/index.mjs +7 -0
- package/es/super-grid/src/apis.mjs +491 -0
- package/es/super-grid/src/columns-config.vue.mjs +82 -0
- package/es/super-grid/src/components/grid-icon.vue.mjs +47 -0
- package/es/super-grid/src/components/grid-radio-input.vue.mjs +25 -0
- package/es/super-grid/src/components/grid-radio-input.vue2.mjs +4 -0
- package/es/super-grid/src/components/mobile-table-card.mjs +113 -0
- package/es/super-grid/src/components/select-input.vue.mjs +149 -0
- package/es/super-grid/src/components/select-input.vue2.mjs +4 -0
- package/es/super-grid/src/custom-formatter.mjs +167 -0
- package/es/super-grid/src/dynamic-input.vue.mjs +474 -0
- package/es/super-grid/src/events.mjs +37 -0
- package/es/super-grid/src/formValidatorUtil.mjs +108 -0
- package/es/super-grid/src/group-column.vue.mjs +24 -0
- package/es/super-grid/src/header-context-menu.vue.mjs +15 -0
- package/es/super-grid/src/index-column.vue.mjs +22 -0
- package/es/super-grid/src/normal-column-content.vue.mjs +321 -0
- package/es/super-grid/src/normal-column.vue.mjs +107 -0
- package/es/super-grid/src/row-detail.vue.mjs +14 -0
- package/es/super-grid/src/row-operation.vue.mjs +89 -0
- package/es/super-grid/src/scan-util.mjs +100 -0
- package/es/super-grid/src/search-button.vue.mjs +25 -0
- package/es/super-grid/src/search-condition-input.vue.mjs +17 -0
- package/es/super-grid/src/search-condition-list.vue.mjs +20 -0
- package/es/super-grid/src/search-form-advancedQuery.vue.mjs +116 -0
- package/es/super-grid/src/search-form-dialog.vue.mjs +27 -0
- package/es/super-grid/src/search-form-item.vue.mjs +132 -0
- package/es/super-grid/src/search-form-mobile.vue.mjs +41 -0
- package/es/super-grid/src/search-form-number.vue.mjs +26 -0
- package/es/super-grid/src/search-form-open.vue.mjs +53 -0
- package/es/super-grid/src/search-form-ordinarySearch.vue.mjs +41 -0
- package/es/super-grid/src/search-form.vue.mjs +207 -0
- package/es/super-grid/src/selection-column.vue.mjs +11 -0
- package/es/super-grid/src/super-grid-service.mjs +260 -0
- package/es/super-grid/src/super-grid.vue.mjs +1126 -0
- package/es/super-grid/src/utils.mjs +401 -0
- package/es/super-grid/src/view-image-dialog.vue.mjs +67 -0
- package/es/super-icon/index.mjs +7 -0
- package/es/super-icon/src/index.vue.mjs +7 -0
- package/es/super-icon/src/index.vue2.mjs +13 -0
- package/es/super-nine-grid/index.mjs +7 -0
- package/es/super-nine-grid/src/apis.mjs +36 -0
- package/es/super-nine-grid/src/custom-formatter.mjs +35 -0
- package/es/super-nine-grid/src/search-form-number.vue.mjs +12 -0
- package/es/super-nine-grid/src/search-form.vue.mjs +91 -0
- package/es/super-nine-grid/src/super-grid-service.mjs +39 -0
- package/es/super-nine-grid/src/super-nine-grid.vue.mjs +231 -0
- package/es/super-nine-grid/src/utils.mjs +32 -0
- package/es/svg-icon/index.mjs +7 -0
- package/es/svg-icon/src/svg-icon.vue.mjs +14 -0
- package/es/utils/memory-cache-utils.mjs +30 -0
- package/es/utils/organization.mjs +70 -0
- package/es/utils/utils.mjs +86 -0
- package/es/utils/value-set.mjs +93 -0
- package/es/valid-code/index.mjs +7 -0
- package/es/valid-code/src/valid-code.vue.mjs +23 -0
- package/es/workflow-button/index.mjs +7 -0
- package/es/workflow-button/src/workflow-button.vue.mjs +85 -0
- package/es/workflow-history-list/index.mjs +7 -0
- package/es/workflow-history-list/src/workflow-history-list.vue.mjs +90 -0
- package/es/workgroup-tree/index.mjs +7 -0
- package/es/workgroup-tree/src/workgroup-tree.vue.mjs +23 -0
- package/es/workgroup-tree-inline/index.mjs +7 -0
- package/es/workgroup-tree-inline/src/search-result.vue.mjs +39 -0
- package/es/workgroup-tree-inline/src/workgroup-tree-inline.vue.mjs +128 -0
- package/es/workgroup-tree-inline/src/workgroup-tree-service.mjs +34 -0
- package/es/workgroup-tree-mobile/index.mjs +8 -0
- package/es/workgroup-tree-mobile/src/dept-result.vue.mjs +17 -0
- package/es/workgroup-tree-mobile/src/dept-result.vue2.mjs +4 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue.mjs +16 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue3.mjs +5 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.mjs +109 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.mjs +4 -0
- package/es/workgroup-user-tree/index.mjs +7 -0
- package/es/workgroup-user-tree/src/workgroup-user-tree.vue.mjs +23 -0
- package/es/workgroup-user-tree-inline/index.mjs +7 -0
- package/es/workgroup-user-tree-inline/src/search-result.vue.mjs +39 -0
- package/es/workgroup-user-tree-inline/src/workgroup-tree-inline-service.mjs +72 -0
- package/es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.mjs +172 -0
- package/es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.mjs +4 -0
- package/es/workgroup-user-tree-mobile/src/dept-path.vue.mjs +15 -0
- package/es/workgroup-user-tree-mobile/src/dept-path.vue2.mjs +4 -0
- package/es/workgroup-user-tree-mobile/src/dept-result.vue.mjs +18 -0
- package/es/workgroup-user-tree-mobile/src/dept-result.vue2.mjs +4 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.mjs +16 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.mjs +4 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.mjs +5 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.mjs +135 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.mjs +4 -0
- package/es/year-range-picker/index.mjs +7 -0
- package/es/year-range-picker/src/year-range-picker.vue.mjs +14 -0
- package/package.json +12 -7
- package/src/styles/index.scss +13 -2
- package/src/styles/theme/dark-blue/select.scss +27 -1
- package/src/styles/theme/default.scss +18 -13
- package/src/styles/theme/forest-green/select.scss +27 -1
- package/src/styles/theme/green/select.scss +27 -1
- package/src/styles/theme/ocean-blue/select.scss +27 -1
- package/src/styles/theme/tiffany-blue-mobile/home.scss +44 -1
- package/src/styles/theme/tiffany-blue-mobile/select.scss +29 -2
- package/.eslintrc.cjs +0 -28
- package/.prettierrc.json +0 -12
- package/index.html +0 -19
- package/lib/IntervalSelection/index.js +0 -7
- package/lib/IntervalSelection/src/sectionDate.vue.js +0 -49
- package/lib/breadcrumb/index.js +0 -7
- package/lib/breadcrumb/src/breadcrumb.vue.js +0 -28
- package/lib/chat-embed/index.js +0 -7
- package/lib/chat-embed/src/chat-addition-data.vue.js +0 -7
- package/lib/chat-embed/src/chat-addition-data.vue2.js +0 -14
- package/lib/chat-embed/src/chat-ai-answer-tip.vue.js +0 -7
- package/lib/chat-embed/src/chat-ai-answer-tip.vue2.js +0 -29
- package/lib/chat-embed/src/chat-bubble-footer.vue.js +0 -7
- package/lib/chat-embed/src/chat-bubble-footer.vue2.js +0 -33
- package/lib/chat-embed/src/chat-embed-message.js +0 -22
- package/lib/chat-embed/src/chat-sender.vue.js +0 -7
- package/lib/chat-embed/src/chat-sender.vue2.js +0 -157
- package/lib/chat-embed/src/components/answer-auto-chart.vue.js +0 -7
- package/lib/chat-embed/src/components/answer-auto-chart.vue2.js +0 -59
- package/lib/chat-embed/src/components/answer-home-chart.vue.js +0 -7
- package/lib/chat-embed/src/components/answer-interaction-data.vue.js +0 -7
- package/lib/chat-embed/src/components/answer-interaction-data.vue2.js +0 -118
- package/lib/chat-embed/src/components/history-detail.vue.js +0 -7
- package/lib/chat-embed/src/components/history-detail.vue2.js +0 -55
- package/lib/chat-embed/src/header.vue.js +0 -7
- package/lib/chat-embed/src/header.vue2.js +0 -46
- package/lib/chat-embed/src/index.vue.js +0 -7
- package/lib/chat-embed/src/index.vue2.js +0 -303
- package/lib/chat-embed/src/recommendation-message.vue.js +0 -7
- package/lib/chat-embed/src/recommendation-message.vue2.js +0 -8
- package/lib/chat-embed/src/sidebar-item.vue.js +0 -7
- package/lib/chat-embed/src/sidebar-item.vue2.js +0 -118
- package/lib/chat-embed/src/util/history-message-util.js +0 -96
- package/lib/chat-embed/src/util/mcp-utils.js +0 -53
- package/lib/chat-embed/src/voice/index.js +0 -7
- package/lib/chat-embed/src/voice/js/crypto-js.js +0 -1013
- package/lib/chat-embed/src/voice/js/processor/index.umd.js +0 -178
- package/lib/chat-embed/src/voice/voice.vue.js +0 -103
- package/lib/date-picker-range/index.js +0 -7
- package/lib/date-picker-range/index.vue.js +0 -7
- package/lib/date-picker-range/index.vue2.js +0 -93
- package/lib/department-tree/index.js +0 -7
- package/lib/department-tree/src/department-tree.vue.js +0 -23
- package/lib/department-tree-inline/index.js +0 -7
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue.js +0 -91
- package/lib/department-tree-inline/src/department-single-tree-inline.vue.js +0 -64
- package/lib/department-tree-inline/src/department-tree-inline.vue.js +0 -17
- package/lib/department-tree-inline/src/department-tree-service.js +0 -108
- package/lib/department-tree-inline/src/search-result.vue.js +0 -39
- package/lib/department-tree-mobile/index.js +0 -8
- package/lib/department-tree-mobile/src/department-tree-app.vue.js +0 -15
- package/lib/department-tree-mobile/src/department-tree-app.vue3.js +0 -5
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue.js +0 -121
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue2.js +0 -4
- package/lib/department-tree-mobile/src/department-tree-service.js +0 -55
- package/lib/department-tree-mobile/src/dept-path.vue.js +0 -14
- package/lib/department-tree-mobile/src/dept-path.vue2.js +0 -4
- package/lib/department-tree-mobile/src/dept-result.vue.js +0 -16
- package/lib/department-tree-mobile/src/dept-result.vue2.js +0 -4
- package/lib/department-user-tree/index.js +0 -7
- package/lib/department-user-tree/src/department-user-multiple-tree.vue.js +0 -20
- package/lib/department-user-tree/src/department-user-single-tree.vue.js +0 -19
- package/lib/department-user-tree/src/department-user-tree.vue.js +0 -27
- package/lib/department-user-tree-inline/index.js +0 -7
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +0 -165
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +0 -69
- package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.js +0 -16
- package/lib/department-user-tree-inline/src/department-user-tree-multi-service.js +0 -81
- package/lib/department-user-tree-inline/src/department-user-tree-single-service.js +0 -54
- package/lib/department-user-tree-inline/src/group-user/group-input.vue.js +0 -39
- package/lib/department-user-tree-inline/src/group-user/group-list.vue.js +0 -27
- package/lib/department-user-tree-inline/src/group-user/group-user.vue.js +0 -16
- package/lib/department-user-tree-inline/src/group-user-multiple-tree.vue.js +0 -78
- package/lib/department-user-tree-inline/src/group-user-single-tree.vue.js +0 -34
- package/lib/department-user-tree-inline/src/search-result.vue.js +0 -41
- package/lib/department-user-tree-mobile/index.js +0 -8
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.js +0 -15
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue3.js +0 -5
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +0 -135
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +0 -4
- package/lib/department-user-tree-mobile/src/dept-path.vue.js +0 -14
- package/lib/department-user-tree-mobile/src/dept-path.vue2.js +0 -4
- package/lib/department-user-tree-mobile/src/dept-result.vue.js +0 -17
- package/lib/department-user-tree-mobile/src/dept-result.vue2.js +0 -4
- package/lib/directives/prevent-reclick.js +0 -15
- package/lib/dynamic-source-select/index.js +0 -7
- package/lib/dynamic-source-select/src/dynamic-source-select-service.js +0 -32
- package/lib/dynamic-source-select/src/dynamic-source-select.vue.js +0 -275
- package/lib/empty-state/index.vue.js +0 -9
- package/lib/empty-state/index.vue2.js +0 -4
- package/lib/fs-preview/index.js +0 -7
- package/lib/fs-preview/src/fs-preview.vue.js +0 -120
- package/lib/fs-upload/index.js +0 -7
- package/lib/fs-upload/src/fs-upload-multi.vue.js +0 -71
- package/lib/fs-upload/src/fs-upload-single.vue.js +0 -73
- package/lib/fs-upload/src/fs-upload.vue.js +0 -24
- package/lib/fs-upload/src/see-big-picture.vue.js +0 -12
- package/lib/fs-upload-list/index.js +0 -7
- package/lib/fs-upload-list/src/fs-upload-list.vue.js +0 -97
- package/lib/fs-upload-new/index.js +0 -7
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +0 -61
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +0 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +0 -178
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +0 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +0 -7
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +0 -38
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +0 -45
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +0 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +0 -35
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +0 -4
- package/lib/fs-upload-new/src/fs-button-upload.vue.js +0 -7
- package/lib/fs-upload-new/src/fs-button-upload.vue2.js +0 -62
- package/lib/fs-upload-new/src/fs-drag-upload.vue.js +0 -7
- package/lib/fs-upload-new/src/fs-drag-upload.vue2.js +0 -63
- package/lib/fs-upload-new/src/fs-preview-new.vue.js +0 -8
- package/lib/fs-upload-new/src/fs-preview-new.vue2.js +0 -93
- package/lib/fs-upload-new/src/fs-upload-new.vue.js +0 -65
- package/lib/fs-upload-new/src/fs-upload-new.vue2.js +0 -4
- package/lib/hamburger/index.js +0 -7
- package/lib/hamburger/src/hamburger.vue.js +0 -15
- package/lib/index.js +0 -380
- package/lib/json-view/json-view-dialog.vue.js +0 -19
- package/lib/json-view/json-view-dialog.vue2.js +0 -4
- package/lib/json-view/json-view.vue.js +0 -4
- package/lib/json-view/json-view.vue2.js +0 -36
- package/lib/multipart-upload/index.js +0 -7
- package/lib/multipart-upload/src/index.vue.js +0 -13
- package/lib/multipart-upload/src/multipart-upload-form.vue.js +0 -82
- package/lib/multipart-upload/src/multipart-upload-list.vue.js +0 -101
- package/lib/organization-input/index.js +0 -7
- package/lib/organization-input/src/organization-input.vue.js +0 -224
- package/lib/plugins/export-data-new.js +0 -237
- package/lib/plugins/export-data.js +0 -179
- package/lib/plugins/index.js +0 -9
- package/lib/remove-department/index.js +0 -7
- package/lib/remove-department/src/remove-department.vue.js +0 -33
- package/lib/remove-department/src/remove-dept-service.js +0 -13
- package/lib/remove-user/index.js +0 -7
- package/lib/remove-user/src/remove-user-service.js +0 -13
- package/lib/remove-user/src/remove-user.vue.js +0 -35
- package/lib/remove-workgroup/index.js +0 -7
- package/lib/remove-workgroup/src/remove-workgroup-service.js +0 -13
- package/lib/remove-workgroup/src/remove-workgroup.vue.js +0 -31
- package/lib/rich-editor/index.js +0 -7
- package/lib/rich-editor/index.vue.js +0 -115
- package/lib/rich-editor/viewer.vue.js +0 -27
- package/lib/row-form/index.js +0 -7
- package/lib/row-form/index.vue.js +0 -7
- package/lib/row-form/index.vue2.js +0 -62
- package/lib/row-form/operation.vue.js +0 -32
- package/lib/row-form/operation.vue2.js +0 -4
- package/lib/scan-code-input/index.js +0 -7
- package/lib/scan-code-input/src/events.js +0 -15
- package/lib/scan-code-input/src/scan-code-input.vue.js +0 -32
- package/lib/scan-code-input-browser/index.js +0 -7
- package/lib/scan-code-input-browser/src/scan-code-input.vue.js +0 -39
- package/lib/secret-info/index.js +0 -7
- package/lib/secret-info/index.vue.js +0 -16
- package/lib/src/api/sso-service.js +0 -57
- package/lib/src/api/tab.js +0 -15
- package/lib/src/components/Affix/index.vue.js +0 -7
- package/lib/src/components/Affix/index.vue2.js +0 -81
- package/lib/src/components/Card/index.js +0 -48
- package/lib/src/components/Scrollbar/index.vue.js +0 -51
- package/lib/src/directives/permission/index.js +0 -7
- package/lib/src/directives/permission/permission.js +0 -11
- package/lib/src/i18n/i18n.js +0 -7
- package/lib/src/i18n/langs/cn.js +0 -4
- package/lib/src/i18n/langs/en.js +0 -4
- package/lib/src/permission.js +0 -78
- package/lib/src/router/index.js +0 -9
- package/lib/src/store/index.js +0 -13
- package/lib/src/store/modules/app.js +0 -41
- package/lib/src/store/modules/permission.js +0 -31
- package/lib/src/store/modules/system.js +0 -12
- package/lib/src/store/modules/tab-content.js +0 -20
- package/lib/src/store/modules/user.js +0 -139
- package/lib/src/utils/auth.js +0 -156
- package/lib/src/utils/calculator/calculator-util.js +0 -54
- package/lib/src/utils/chat-ai-util.js +0 -30
- package/lib/src/utils/common-util.js +0 -438
- package/lib/src/utils/i18n-util.js +0 -70
- package/lib/src/utils/iconUtils.js +0 -26
- package/lib/src/utils/insert_css.js +0 -16
- package/lib/src/utils/jump-page-utils.js +0 -264
- package/lib/src/utils/menu.js +0 -14
- package/lib/src/utils/permission.js +0 -45
- package/lib/src/utils/permissionAuth.js +0 -153
- package/lib/src/utils/range-selector.js +0 -105
- package/lib/src/utils/request.js +0 -140
- package/lib/src/utils/restful-interface-utils.js +0 -18
- package/lib/src/utils/util.js +0 -361
- package/lib/src/utils/voice-setting-cache.js +0 -211
- package/lib/src/utils/watermark.js +0 -40
- package/lib/src/utils/workflow-util.js +0 -42
- package/lib/src/views/dsc-component/Sidebar/Item.vue.js +0 -7
- package/lib/src/views/dsc-component/Sidebar/Item.vue2.js +0 -12
- package/lib/src/views/dsc-component/Sidebar/Link.vue.js +0 -14
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue.js +0 -53
- package/lib/src/views/dsc-component/Sidebar/index.vue.js +0 -111
- package/lib/src/views/dsc-component/tabs/tab-content.vue.js +0 -63
- package/lib/src/views/error-page/401.vue.js +0 -15
- package/lib/src/views/error-page/404.vue.js +0 -12
- package/lib/src/views/layout/EmptyLayout.vue.js +0 -9
- package/lib/src/views/layout/Layout.vue.js +0 -28
- package/lib/src/views/layout/NewLayout.vue.js +0 -11
- package/lib/src/views/layout/components/AppMain.vue.js +0 -13
- package/lib/src/views/layout/components/Breadcrumb/index.vue.js +0 -48
- package/lib/src/views/layout/components/Menubar/Item.vue.js +0 -7
- package/lib/src/views/layout/components/Menubar/Item.vue2.js +0 -15
- package/lib/src/views/layout/components/Menubar/Link.vue.js +0 -14
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue.js +0 -56
- package/lib/src/views/layout/components/Menubar/index.vue.js +0 -90
- package/lib/src/views/layout/components/Sidebar/Item.vue2.js +0 -4
- package/lib/src/views/layout/components/Sidebar/Link.vue.js +0 -12
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue.js +0 -22
- package/lib/src/views/layout/components/Sidebar/index.vue.js +0 -58
- package/lib/src/views/layout/components/iframe-page.vue.js +0 -14
- package/lib/src/views/layout/components/tabs/tab-content.vue.js +0 -62
- package/lib/src/views/layout/mixin/ResizeHandler.js +0 -16
- package/lib/src/views/layout/tab-content-iframe-index.vue.js +0 -14
- package/lib/src/views/layout/tab-content-index.vue.js +0 -28
- package/lib/src/views/wf-history/tache-subprocess-history.vue.js +0 -14
- package/lib/style.css +0 -3077
- package/lib/super-grid/index.js +0 -7
- package/lib/super-grid/src/apis.js +0 -458
- package/lib/super-grid/src/columns-config.vue.js +0 -81
- package/lib/super-grid/src/components/grid-icon.vue.js +0 -47
- package/lib/super-grid/src/components/grid-radio-input.vue.js +0 -25
- package/lib/super-grid/src/components/grid-radio-input.vue2.js +0 -4
- package/lib/super-grid/src/components/mobile-table-card.js +0 -109
- package/lib/super-grid/src/components/select-input.vue.js +0 -148
- package/lib/super-grid/src/components/select-input.vue2.js +0 -4
- package/lib/super-grid/src/custom-formatter.js +0 -167
- package/lib/super-grid/src/dynamic-input.vue.js +0 -481
- package/lib/super-grid/src/events.js +0 -37
- package/lib/super-grid/src/formValidatorUtil.js +0 -109
- package/lib/super-grid/src/group-column.vue.js +0 -24
- package/lib/super-grid/src/header-context-menu.vue.js +0 -14
- package/lib/super-grid/src/index-column.vue.js +0 -22
- package/lib/super-grid/src/normal-column-content.vue.js +0 -318
- package/lib/super-grid/src/normal-column.vue.js +0 -106
- package/lib/super-grid/src/row-detail.vue.js +0 -14
- package/lib/super-grid/src/row-operation.vue.js +0 -89
- package/lib/super-grid/src/scan-util.js +0 -100
- package/lib/super-grid/src/search-button.vue.js +0 -23
- package/lib/super-grid/src/search-condition-input.vue.js +0 -17
- package/lib/super-grid/src/search-condition-list.vue.js +0 -20
- package/lib/super-grid/src/search-form-advancedQuery.vue.js +0 -116
- package/lib/super-grid/src/search-form-dialog.vue.js +0 -16
- package/lib/super-grid/src/search-form-item.vue.js +0 -128
- package/lib/super-grid/src/search-form-mobile.vue.js +0 -41
- package/lib/super-grid/src/search-form-number.vue.js +0 -26
- package/lib/super-grid/src/search-form-open.vue.js +0 -50
- package/lib/super-grid/src/search-form-ordinarySearch.vue.js +0 -39
- package/lib/super-grid/src/search-form.vue.js +0 -201
- package/lib/super-grid/src/selection-column.vue.js +0 -11
- package/lib/super-grid/src/super-grid-service.js +0 -259
- package/lib/super-grid/src/super-grid.vue.js +0 -1052
- package/lib/super-grid/src/utils.js +0 -355
- package/lib/super-grid/src/view-image-dialog.vue.js +0 -67
- package/lib/super-icon/index.js +0 -7
- package/lib/super-icon/src/index.vue.js +0 -7
- package/lib/super-icon/src/index.vue2.js +0 -13
- package/lib/super-nine-grid/index.js +0 -7
- package/lib/super-nine-grid/src/apis.js +0 -36
- package/lib/super-nine-grid/src/custom-formatter.js +0 -35
- package/lib/super-nine-grid/src/search-form-number.vue.js +0 -13
- package/lib/super-nine-grid/src/search-form.vue.js +0 -91
- package/lib/super-nine-grid/src/super-grid-service.js +0 -39
- package/lib/super-nine-grid/src/super-nine-grid.vue.js +0 -225
- package/lib/super-nine-grid/src/utils.js +0 -32
- package/lib/svg-icon/index.js +0 -7
- package/lib/svg-icon/src/svg-icon.vue.js +0 -14
- package/lib/utils/memory-cache-utils.js +0 -30
- package/lib/utils/organization.js +0 -57
- package/lib/utils/utils.js +0 -87
- package/lib/utils/value-set.js +0 -94
- package/lib/valid-code/index.js +0 -7
- package/lib/valid-code/src/valid-code.vue.js +0 -23
- package/lib/workflow-button/index.js +0 -7
- package/lib/workflow-button/src/workflow-button.vue.js +0 -85
- package/lib/workflow-history-list/index.js +0 -7
- package/lib/workflow-history-list/src/workflow-history-list.vue.js +0 -89
- package/lib/workgroup-tree/index.js +0 -7
- package/lib/workgroup-tree/src/workgroup-tree.vue.js +0 -23
- package/lib/workgroup-tree-inline/index.js +0 -7
- package/lib/workgroup-tree-inline/src/search-result.vue.js +0 -39
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +0 -128
- package/lib/workgroup-tree-inline/src/workgroup-tree-service.js +0 -35
- package/lib/workgroup-tree-mobile/index.js +0 -8
- package/lib/workgroup-tree-mobile/src/dept-result.vue.js +0 -16
- package/lib/workgroup-tree-mobile/src/dept-result.vue2.js +0 -4
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +0 -15
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +0 -5
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +0 -109
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +0 -4
- package/lib/workgroup-user-tree/index.js +0 -7
- package/lib/workgroup-user-tree/src/workgroup-user-tree.vue.js +0 -23
- package/lib/workgroup-user-tree-inline/index.js +0 -7
- package/lib/workgroup-user-tree-inline/src/search-result.vue.js +0 -39
- package/lib/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +0 -73
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +0 -172
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue.js +0 -14
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue2.js +0 -4
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue.js +0 -17
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue2.js +0 -4
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +0 -15
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +0 -5
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +0 -135
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +0 -4
- package/lib/year-range-picker/index.js +0 -7
- package/lib/year-range-picker/src/year-range-picker.vue.js +0 -14
- package/packages/IntervalSelection/index.js +0 -6
- package/packages/IntervalSelection/src/quarterScope.vue +0 -405
- package/packages/IntervalSelection/src/sectionDate.vue +0 -475
- package/packages/breadcrumb/index.js +0 -6
- package/packages/breadcrumb/src/breadcrumb.vue +0 -81
- package/packages/chat-embed/index.ts +0 -6
- package/packages/chat-embed/src/chat-addition-data.vue +0 -64
- package/packages/chat-embed/src/chat-ai-answer-tip.vue +0 -81
- package/packages/chat-embed/src/chat-bubble-footer.vue +0 -81
- package/packages/chat-embed/src/chat-embed-message.ts +0 -76
- package/packages/chat-embed/src/chat-embed.css +0 -207
- package/packages/chat-embed/src/chat-sender.vue +0 -620
- package/packages/chat-embed/src/components/answer-auto-chart.vue +0 -365
- package/packages/chat-embed/src/components/answer-home-chart.vue +0 -42
- package/packages/chat-embed/src/components/answer-interaction-data.vue +0 -569
- package/packages/chat-embed/src/components/history-detail.vue +0 -150
- package/packages/chat-embed/src/header.vue +0 -147
- package/packages/chat-embed/src/index.vue +0 -926
- package/packages/chat-embed/src/recommendation-message.vue +0 -37
- package/packages/chat-embed/src/sender-attachments.vue +0 -1
- package/packages/chat-embed/src/sidebar-item.vue +0 -521
- package/packages/chat-embed/src/type.ts +0 -74
- package/packages/chat-embed/src/util/chat-embed-util.ts +0 -67
- package/packages/chat-embed/src/util/history-message-util.ts +0 -161
- package/packages/chat-embed/src/util/mcp-utils.ts +0 -131
- package/packages/chat-embed/src/util/text-file-util.ts +0 -33
- package/packages/chat-embed/src/voice/index.ts +0 -6
- package/packages/chat-embed/src/voice/js/ai.js +0 -4
- package/packages/chat-embed/src/voice/js/crypto-js.js +0 -5736
- package/packages/chat-embed/src/voice/js/processor/index.umd.js +0 -1
- package/packages/chat-embed/src/voice/js/timer.js +0 -18
- package/packages/chat-embed/src/voice/voice.vue +0 -320
- package/packages/date-picker-range/index.ts +0 -6
- package/packages/date-picker-range/index.vue +0 -240
- package/packages/department-tree/index.js +0 -6
- package/packages/department-tree/src/department-tree.vue +0 -140
- package/packages/department-tree-inline/index.js +0 -6
- package/packages/department-tree-inline/src/department-multi-tree-inline.vue +0 -472
- package/packages/department-tree-inline/src/department-single-tree-inline.vue +0 -374
- package/packages/department-tree-inline/src/department-tree-inline.vue +0 -93
- package/packages/department-tree-inline/src/department-tree-service.js +0 -333
- package/packages/department-tree-inline/src/search-result.vue +0 -206
- package/packages/department-tree-mobile/index.js +0 -6
- package/packages/department-tree-mobile/src/department-tree-app.vue +0 -148
- package/packages/department-tree-mobile/src/department-tree-inline-app.vue +0 -418
- package/packages/department-tree-mobile/src/department-tree-service.ts +0 -124
- package/packages/department-tree-mobile/src/dept-path.vue +0 -36
- package/packages/department-tree-mobile/src/dept-result.vue +0 -51
- package/packages/department-user-tree/index.js +0 -6
- package/packages/department-user-tree/src/department-user-multiple-tree.vue +0 -131
- package/packages/department-user-tree/src/department-user-single-tree.vue +0 -93
- package/packages/department-user-tree/src/department-user-tree.vue +0 -138
- package/packages/department-user-tree-inline/index.js +0 -9
- package/packages/department-user-tree-inline/src/department-user-multiple-tree-inline.vue +0 -779
- package/packages/department-user-tree-inline/src/department-user-single-tree-inline.vue +0 -394
- package/packages/department-user-tree-inline/src/department-user-tree-inline.vue +0 -94
- package/packages/department-user-tree-inline/src/department-user-tree-multi-service.js +0 -293
- package/packages/department-user-tree-inline/src/department-user-tree-single-service.js +0 -158
- package/packages/department-user-tree-inline/src/group-user/group-input.vue +0 -162
- package/packages/department-user-tree-inline/src/group-user/group-list.vue +0 -106
- package/packages/department-user-tree-inline/src/group-user/group-user.vue +0 -38
- package/packages/department-user-tree-inline/src/group-user-multiple-tree.vue +0 -304
- package/packages/department-user-tree-inline/src/group-user-single-tree.vue +0 -155
- package/packages/department-user-tree-inline/src/group-user-tree-service.js +0 -80
- package/packages/department-user-tree-inline/src/search-result.vue +0 -274
- package/packages/department-user-tree-mobile/index.js +0 -6
- package/packages/department-user-tree-mobile/src/department-user-tree-app.vue +0 -147
- package/packages/department-user-tree-mobile/src/department-user-tree-inline-app.vue +0 -466
- package/packages/department-user-tree-mobile/src/department-user-tree-service.ts +0 -71
- package/packages/department-user-tree-mobile/src/dept-path.vue +0 -36
- package/packages/department-user-tree-mobile/src/dept-result.vue +0 -58
- package/packages/directives/prevent-reclick.js +0 -22
- package/packages/dynamic-source-select/index.js +0 -6
- package/packages/dynamic-source-select/src/dynamic-source-select-service.js +0 -134
- package/packages/dynamic-source-select/src/dynamic-source-select.vue +0 -946
- package/packages/dynamic-source-select/src/events.js +0 -72
- package/packages/empty-state/index.vue +0 -28
- package/packages/fs-preview/index.js +0 -6
- package/packages/fs-preview/src/fs-preview.vue +0 -535
- package/packages/fs-upload/index.js +0 -6
- package/packages/fs-upload/src/fs-upload-multi.vue +0 -464
- package/packages/fs-upload/src/fs-upload-single.vue +0 -369
- package/packages/fs-upload/src/fs-upload.vue +0 -193
- package/packages/fs-upload/src/see-big-picture.vue +0 -70
- package/packages/fs-upload-list/index.js +0 -6
- package/packages/fs-upload-list/src/fs-upload-list.vue +0 -436
- package/packages/fs-upload-new/index.ts +0 -6
- package/packages/fs-upload-new/src/file-upload-mobile/file-upload-app.vue +0 -276
- package/packages/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue +0 -573
- package/packages/fs-upload-new/src/file-upload-mobile/file-upload-component.vue +0 -152
- package/packages/fs-upload-new/src/file-upload-mobile/file-upload-input.vue +0 -265
- package/packages/fs-upload-new/src/file-upload-mobile/file-upload.vue +0 -262
- package/packages/fs-upload-new/src/fs-button-upload.vue +0 -312
- package/packages/fs-upload-new/src/fs-drag-upload.vue +0 -307
- package/packages/fs-upload-new/src/fs-preview-new.vue +0 -380
- package/packages/fs-upload-new/src/fs-upload-new.vue +0 -413
- package/packages/hamburger/index.js +0 -6
- package/packages/hamburger/src/hamburger.vue +0 -52
- package/packages/index.js +0 -274
- package/packages/json-view/index.ts +0 -3
- package/packages/json-view/json-view-dialog.vue +0 -53
- package/packages/json-view/json-view.vue +0 -126
- package/packages/multipart-upload/index.js +0 -6
- package/packages/multipart-upload/src/index.vue +0 -66
- package/packages/multipart-upload/src/multipart-upload-form.vue +0 -404
- package/packages/multipart-upload/src/multipart-upload-list.vue +0 -543
- package/packages/organization-input/index.js +0 -6
- package/packages/organization-input/src/organization-input.vue +0 -619
- package/packages/plugins/export-data-new.js +0 -667
- package/packages/plugins/export-data.js +0 -431
- package/packages/plugins/index.js +0 -15
- package/packages/plugins/public-method.js +0 -47
- package/packages/remove-department/index.js +0 -6
- package/packages/remove-department/src/remove-department.vue +0 -201
- package/packages/remove-department/src/remove-dept-service.js +0 -31
- package/packages/remove-user/index.js +0 -6
- package/packages/remove-user/src/remove-user-service.js +0 -31
- package/packages/remove-user/src/remove-user.vue +0 -227
- package/packages/remove-workgroup/index.js +0 -6
- package/packages/remove-workgroup/src/remove-workgroup-service.js +0 -31
- package/packages/remove-workgroup/src/remove-workgroup.vue +0 -184
- package/packages/rich-editor/index.js +0 -7
- package/packages/rich-editor/index.vue +0 -331
- package/packages/rich-editor/tinymce/icons/default/icons.min.js +0 -1
- package/packages/rich-editor/tinymce/langs/README.md +0 -3
- package/packages/rich-editor/tinymce/langs/zh-Hans.js +0 -1
- package/packages/rich-editor/tinymce/license.txt +0 -21
- package/packages/rich-editor/tinymce/models/dom/model.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/accordion/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/advlist/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/anchor/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/autolink/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/autoresize/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/autosave/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/charmap/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/code/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/codesample/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/directionality/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/emoticons/js/emojiimages.js +0 -1
- package/packages/rich-editor/tinymce/plugins/emoticons/js/emojiimages.min.js +0 -3
- package/packages/rich-editor/tinymce/plugins/emoticons/js/emojis.js +0 -1
- package/packages/rich-editor/tinymce/plugins/emoticons/js/emojis.min.js +0 -2
- package/packages/rich-editor/tinymce/plugins/emoticons/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/fullscreen/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ar.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/bg_BG.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ca.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/cs.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/da.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/de.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/el.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/en.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/es.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/eu.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/fa.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/fi.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/fr_FR.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/he_IL.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/hi.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/hr.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/hu_HU.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/id.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/it.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ja.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/kk.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ko_KR.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ms.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/nb_NO.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/nl.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/pl.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/pt_BR.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/pt_PT.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ro.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ru.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/sk.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/sl_SI.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/sv_SE.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/th_TH.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/tr.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/uk.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/vi.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/zh_CN.js +0 -84
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/zh_TW.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/image/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/importcss/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/insertdatetime/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/link/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/lists/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/media/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/nonbreaking/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/pagebreak/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/preview/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/quickbars/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/save/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/searchreplace/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/table/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/template/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/visualblocks/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/visualchars/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/wordcount/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/skins/content/dark/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/content/dark/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/content/default/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/content/default/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/content/document/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/content/document/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/content/tinymce-5/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/content/tinymce-5/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/content/tinymce-5-dark/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/content/tinymce-5-dark/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/content/writer/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/content/writer/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/oxide/content.inline.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/oxide/content.inline.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/oxide/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/oxide/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/oxide/skin.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/oxide/skin.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/oxide/skin.shadowdom.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/oxide/skin.shadowdom.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/content.inline.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/content.inline.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/skin.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/skin.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/content.inline.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/content.inline.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/skin.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/skin.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/skin.shadowdom.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/content.inline.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/skin.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/skin.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +0 -1
- package/packages/rich-editor/tinymce/themes/silver/theme.min.js +0 -4
- package/packages/rich-editor/tinymce/tinymce.d.ts +0 -3238
- package/packages/rich-editor/tinymce/tinymce.min.js +0 -4
- package/packages/rich-editor/tinymce/zh_CN.js +0 -418
- package/packages/rich-editor/viewer.vue +0 -105
- package/packages/row-form/index.js +0 -7
- package/packages/row-form/index.vue +0 -284
- package/packages/row-form/operation.vue +0 -151
- package/packages/scan-code-input/index.js +0 -6
- package/packages/scan-code-input/src/events.js +0 -34
- package/packages/scan-code-input/src/scan-code-input.vue +0 -164
- package/packages/scan-code-input-browser/index.js +0 -6
- package/packages/scan-code-input-browser/src/scan-code-input.vue +0 -113
- package/packages/secret-info/index.js +0 -7
- package/packages/secret-info/index.vue +0 -100
- package/packages/super-grid/index.js +0 -7
- package/packages/super-grid/src/apis.js +0 -1713
- package/packages/super-grid/src/columns-config.vue +0 -329
- package/packages/super-grid/src/components/grid-icon.vue +0 -157
- package/packages/super-grid/src/components/grid-radio-input.vue +0 -84
- package/packages/super-grid/src/components/hyperlinks.vue +0 -130
- package/packages/super-grid/src/components/mobile-table-card.jsx +0 -589
- package/packages/super-grid/src/components/select-input.vue +0 -520
- package/packages/super-grid/src/custom-formatter.js +0 -419
- package/packages/super-grid/src/dynamic-input.vue +0 -2158
- package/packages/super-grid/src/eventBus.js +0 -10
- package/packages/super-grid/src/events.js +0 -56
- package/packages/super-grid/src/formValidatorUtil.js +0 -362
- package/packages/super-grid/src/formatter.js +0 -200
- package/packages/super-grid/src/group-column.vue +0 -119
- package/packages/super-grid/src/header-context-menu.vue +0 -82
- package/packages/super-grid/src/index-column.vue +0 -78
- package/packages/super-grid/src/normal-column-content.vue +0 -1310
- package/packages/super-grid/src/normal-column.vue +0 -423
- package/packages/super-grid/src/public-methods.js +0 -30
- package/packages/super-grid/src/row-detail.vue +0 -50
- package/packages/super-grid/src/row-operation.vue +0 -315
- package/packages/super-grid/src/scan-util.ts +0 -243
- package/packages/super-grid/src/search-button.vue +0 -88
- package/packages/super-grid/src/search-condition-input.vue +0 -74
- package/packages/super-grid/src/search-condition-list.vue +0 -70
- package/packages/super-grid/src/search-form-advancedQuery.vue +0 -836
- package/packages/super-grid/src/search-form-dialog.vue +0 -77
- package/packages/super-grid/src/search-form-item.vue +0 -616
- package/packages/super-grid/src/search-form-mobile.vue +0 -255
- package/packages/super-grid/src/search-form-number.vue +0 -122
- package/packages/super-grid/src/search-form-open.vue +0 -175
- package/packages/super-grid/src/search-form-ordinarySearch.vue +0 -243
- package/packages/super-grid/src/search-form.vue +0 -795
- package/packages/super-grid/src/search-methods.js +0 -539
- package/packages/super-grid/src/selection-column.vue +0 -36
- package/packages/super-grid/src/store.js +0 -3
- package/packages/super-grid/src/super-grid-service.js +0 -800
- package/packages/super-grid/src/super-grid.vue +0 -3814
- package/packages/super-grid/src/utils.js +0 -946
- package/packages/super-grid/src/view-image-dialog.vue +0 -194
- package/packages/super-icon/index.js +0 -6
- package/packages/super-icon/src/index.vue +0 -52
- package/packages/super-nine-grid/index.js +0 -7
- package/packages/super-nine-grid/src/apis.js +0 -108
- package/packages/super-nine-grid/src/custom-formatter.js +0 -73
- package/packages/super-nine-grid/src/formatter.js +0 -134
- package/packages/super-nine-grid/src/search-form-number.vue +0 -35
- package/packages/super-nine-grid/src/search-form.vue +0 -514
- package/packages/super-nine-grid/src/search-methods.js +0 -151
- package/packages/super-nine-grid/src/store.js +0 -3
- package/packages/super-nine-grid/src/super-grid-service.js +0 -110
- package/packages/super-nine-grid/src/super-nine-grid.vue +0 -1112
- package/packages/super-nine-grid/src/utils.js +0 -264
- package/packages/svg-icon/index.js +0 -6
- package/packages/svg-icon/src/svg-icon.vue +0 -43
- package/packages/utils/date-util.js +0 -292
- package/packages/utils/dom.js +0 -227
- package/packages/utils/gogocodeTransfer.js +0 -59
- package/packages/utils/memory-cache-utils.js +0 -117
- package/packages/utils/organization.ts +0 -173
- package/packages/utils/utils.js +0 -198
- package/packages/utils/value-set.js +0 -282
- package/packages/valid-code/index.js +0 -7
- package/packages/valid-code/src/valid-code.vue +0 -104
- package/packages/workflow-button/index.js +0 -6
- package/packages/workflow-button/src/workflow-button.vue +0 -574
- package/packages/workflow-history-list/index.js +0 -6
- package/packages/workflow-history-list/src/api.js +0 -7
- package/packages/workflow-history-list/src/workflow-history-list.vue +0 -394
- package/packages/workgroup-tree/index.js +0 -6
- package/packages/workgroup-tree/src/workgroup-tree.vue +0 -127
- package/packages/workgroup-tree-inline/index.js +0 -6
- package/packages/workgroup-tree-inline/src/search-result.vue +0 -227
- package/packages/workgroup-tree-inline/src/workgroup-tree-inline.vue +0 -557
- package/packages/workgroup-tree-inline/src/workgroup-tree-service.js +0 -119
- package/packages/workgroup-tree-mobile/index.js +0 -6
- package/packages/workgroup-tree-mobile/src/dept-result.vue +0 -52
- package/packages/workgroup-tree-mobile/src/workgroup-tree-app.vue +0 -148
- package/packages/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue +0 -407
- package/packages/workgroup-tree-mobile/src/workgroup-tree-service.ts +0 -62
- package/packages/workgroup-user-tree/index.js +0 -6
- package/packages/workgroup-user-tree/src/workgroup-user-tree.vue +0 -121
- package/packages/workgroup-user-tree-inline/index.js +0 -9
- package/packages/workgroup-user-tree-inline/src/search-result.vue +0 -271
- package/packages/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +0 -252
- package/packages/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue +0 -665
- package/packages/workgroup-user-tree-mobile/index.js +0 -6
- package/packages/workgroup-user-tree-mobile/src/dept-path.vue +0 -36
- package/packages/workgroup-user-tree-mobile/src/dept-result.vue +0 -58
- package/packages/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue +0 -119
- package/packages/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue +0 -453
- package/packages/workgroup-user-tree-mobile/src/workgroup-user-tree-service.ts +0 -41
- package/packages/year-range-picker/index.js +0 -6
- package/packages/year-range-picker/src/year-range-picker.vue +0 -53
- package/public/favicon.svg +0 -29
- package/src/api/sso-service.js +0 -222
- package/src/api/tab.js +0 -36
- package/src/assets/401/401.gif +0 -0
- package/src/assets/404/404-cloud.png +0 -0
- package/src/assets/404/404.png +0 -0
- package/src/assets/chat-embed/background.png +0 -0
- package/src/assets/chat-embed/robot.gif +0 -0
- package/src/assets/chat-embed/robot.svg +0 -32
- package/src/assets/cloud.png +0 -0
- package/src/assets/nonemessage.png +0 -0
- package/src/assets/tab-selectWhite.png +0 -0
- package/src/components/Affix/index.vue +0 -272
- package/src/components/Card/index.jsx +0 -217
- package/src/components/Scrollbar/index.vue +0 -213
- package/src/directives/permission/index.js +0 -14
- package/src/directives/permission/permission.js +0 -27
- package/src/i18n/i18n.js +0 -16
- package/src/i18n/langs/cn.js +0 -336
- package/src/i18n/langs/en.js +0 -336
- package/src/index.js +0 -22
- package/src/mixins/resizeMixin.js +0 -49
- package/src/permission.js +0 -252
- package/src/plugins.js +0 -18
- package/src/router/index.js +0 -92
- package/src/store/getters.js +0 -26
- package/src/store/index.js +0 -23
- package/src/store/modules/app.js +0 -96
- package/src/store/modules/chat-ai-store.ts +0 -85
- package/src/store/modules/permission.js +0 -143
- package/src/store/modules/system.js +0 -35
- package/src/store/modules/tab-content.js +0 -42
- package/src/store/modules/table.js +0 -76
- package/src/store/modules/user.js +0 -448
- package/src/utils/auth-api.js +0 -369
- package/src/utils/auth.js +0 -194
- package/src/utils/calculator/calculator-factory-wf.js +0 -465
- package/src/utils/calculator/calculator-factory.js +0 -133
- package/src/utils/calculator/calculator-util.js +0 -184
- package/src/utils/chat-ai-util.ts +0 -41
- package/src/utils/common-util.js +0 -1006
- package/src/utils/dingtalk-util.ts +0 -43
- package/src/utils/eventBus.js +0 -10
- package/src/utils/file-util.ts +0 -42
- package/src/utils/global-prop.ts +0 -44
- package/src/utils/guid.js +0 -13
- package/src/utils/i18n-util.js +0 -145
- package/src/utils/iconUtils.js +0 -37
- package/src/utils/iframe-communicator.js +0 -234
- package/src/utils/index.js +0 -102
- package/src/utils/insert_css.js +0 -47
- package/src/utils/json-util.ts +0 -85
- package/src/utils/jump-page-utils.js +0 -829
- package/src/utils/local-storage.js +0 -33
- package/src/utils/menu.js +0 -19
- package/src/utils/permission.js +0 -126
- package/src/utils/permissionAuth.js +0 -311
- package/src/utils/range-selector.js +0 -204
- package/src/utils/request.js +0 -407
- package/src/utils/resize.js +0 -19
- package/src/utils/restful-interface-utils.js +0 -57
- package/src/utils/util.js +0 -1000
- package/src/utils/validate.js +0 -34
- package/src/utils/voice-setting-cache.js +0 -497
- package/src/utils/watermark-cache.js +0 -13
- package/src/utils/watermark.js +0 -119
- package/src/utils/workflow-util.js +0 -107
- package/src/views/404.vue +0 -248
- package/src/views/dsc-component/Sidebar/Item.vue +0 -95
- package/src/views/dsc-component/Sidebar/Link.vue +0 -38
- package/src/views/dsc-component/Sidebar/SidebarItem.vue +0 -245
- package/src/views/dsc-component/Sidebar/index.vue +0 -258
- package/src/views/dsc-component/tabs/tab-content.vue +0 -230
- package/src/views/error-page/401.vue +0 -106
- package/src/views/error-page/404.vue +0 -248
- package/src/views/layout/EmptyLayout.vue +0 -3
- package/src/views/layout/Layout.vue +0 -85
- package/src/views/layout/NewLayout.vue +0 -18
- package/src/views/layout/components/AppMain.vue +0 -46
- package/src/views/layout/components/Breadcrumb/index.vue +0 -158
- package/src/views/layout/components/Menubar/Item.vue +0 -125
- package/src/views/layout/components/Menubar/Link.vue +0 -38
- package/src/views/layout/components/Menubar/SidebarItem.vue +0 -333
- package/src/views/layout/components/Menubar/index.vue +0 -250
- package/src/views/layout/components/Sidebar/Item.vue +0 -33
- package/src/views/layout/components/Sidebar/Link.vue +0 -38
- package/src/views/layout/components/Sidebar/SidebarItem.vue +0 -179
- package/src/views/layout/components/Sidebar/index.vue +0 -141
- package/src/views/layout/components/iframe-page.vue +0 -38
- package/src/views/layout/components/index.js +0 -4
- package/src/views/layout/components/tabs/tab-content.vue +0 -273
- package/src/views/layout/mixin/ResizeHandler.js +0 -41
- package/src/views/layout/tab-content-iframe-index.vue +0 -38
- package/src/views/layout/tab-content-index.vue +0 -92
- package/src/views/login/authredirect.vue +0 -10
- package/src/views/login/index.vue +0 -296
- package/src/views/login/update-password.vue +0 -246
- package/src/views/redirect/index.vue +0 -14
- package/src/views/svg-icon/index.js +0 -6
- package/src/views/svg-icon/src/svg-icon.vue +0 -46
- package/src/views/wf-history/tache-subprocess-history.vue +0 -45
- package/vite.config.js +0 -143
- /package/{lib/IntervalSelection/src/sectionDate.vue2.js → es/IntervalSelection/src/sectionDate.vue2.mjs} +0 -0
- /package/{lib/_virtual/__vite-browser-external.js → es/_virtual/__vite-browser-external.mjs} +0 -0
- /package/{lib/_virtual/_plugin-vue_export-helper.js → es/_virtual/_plugin-vue_export-helper.mjs} +0 -0
- /package/{lib/breadcrumb/src/breadcrumb.vue2.js → es/breadcrumb/src/breadcrumb.vue2.mjs} +0 -0
- /package/{lib/chat-embed/src/chat-addition-data.vue3.js → es/chat-embed/src/chat-addition-data.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/chat-ai-answer-tip.vue3.js → es/chat-embed/src/chat-ai-answer-tip.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/chat-bubble-footer.vue3.js → es/chat-embed/src/chat-bubble-footer.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/chat-sender.vue3.js → es/chat-embed/src/chat-sender.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/components/answer-auto-chart.vue3.js → es/chat-embed/src/components/answer-auto-chart.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/components/answer-home-chart.vue2.js → es/chat-embed/src/components/answer-home-chart.vue2.mjs} +0 -0
- /package/{lib/chat-embed/src/components/answer-home-chart.vue3.js → es/chat-embed/src/components/answer-home-chart.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/components/answer-interaction-data.vue3.js → es/chat-embed/src/components/answer-interaction-data.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/components/history-detail.vue3.js → es/chat-embed/src/components/history-detail.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/header.vue3.js → es/chat-embed/src/header.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/index.vue3.js → es/chat-embed/src/index.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/recommendation-message.vue3.js → es/chat-embed/src/recommendation-message.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/sidebar-item.vue3.js → es/chat-embed/src/sidebar-item.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/type.js → es/chat-embed/src/type.mjs} +0 -0
- /package/{lib/chat-embed/src/util/chat-embed-util.js → es/chat-embed/src/util/chat-embed-util.mjs} +0 -0
- /package/{lib/chat-embed/src/util/text-file-util.js → es/chat-embed/src/util/text-file-util.mjs} +0 -0
- /package/{lib/chat-embed/src/voice/js/timer.js → es/chat-embed/src/voice/js/timer.mjs} +0 -0
- /package/{lib/date-picker-range/index.vue3.js → es/date-picker-range/index.vue3.mjs} +0 -0
- /package/{lib/department-tree-inline/src/department-multi-tree-inline.vue2.js → es/department-tree-inline/src/department-multi-tree-inline.vue2.mjs} +0 -0
- /package/{lib/department-tree-inline/src/department-single-tree-inline.vue2.js → es/department-tree-inline/src/department-single-tree-inline.vue2.mjs} +0 -0
- /package/{lib/department-tree-inline/src/search-result.vue2.js → es/department-tree-inline/src/search-result.vue2.mjs} +0 -0
- /package/{lib/department-tree-mobile/src/department-tree-app.vue2.js → es/department-tree-mobile/src/department-tree-app.vue2.mjs} +0 -0
- /package/{lib/department-user-tree/src/department-user-multiple-tree.vue2.js → es/department-user-tree/src/department-user-multiple-tree.vue2.mjs} +0 -0
- /package/{lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js → es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.mjs} +0 -0
- /package/{lib/department-user-tree-inline/src/department-user-single-tree-inline.vue2.js → es/department-user-tree-inline/src/department-user-single-tree-inline.vue2.mjs} +0 -0
- /package/{lib/department-user-tree-inline/src/group-user-tree-service.js → es/department-user-tree-inline/src/group-user-tree-service.mjs} +0 -0
- /package/{lib/department-user-tree-inline/src/search-result.vue2.js → es/department-user-tree-inline/src/search-result.vue2.mjs} +0 -0
- /package/{lib/department-user-tree-mobile/src/department-user-tree-app.vue2.js → es/department-user-tree-mobile/src/department-user-tree-app.vue2.mjs} +0 -0
- /package/{lib/department-user-tree-mobile/src/department-user-tree-service.js → es/department-user-tree-mobile/src/department-user-tree-service.mjs} +0 -0
- /package/{lib/dynamic-source-select/src/dynamic-source-select.vue2.js → es/dynamic-source-select/src/dynamic-source-select.vue2.mjs} +0 -0
- /package/{lib/dynamic-source-select/src/dynamic-source-select.vue3.js → es/dynamic-source-select/src/dynamic-source-select.vue3.mjs} +0 -0
- /package/{lib/dynamic-source-select/src/events.js → es/dynamic-source-select/src/events.mjs} +0 -0
- /package/{lib → es}/favicon.svg +0 -0
- /package/{lib/fs-preview/src/fs-preview.vue2.js → es/fs-preview/src/fs-preview.vue2.mjs} +0 -0
- /package/{lib/fs-upload-list/src/fs-upload-list.vue2.js → es/fs-upload-list/src/fs-upload-list.vue2.mjs} +0 -0
- /package/{lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.js → es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.mjs} +0 -0
- /package/{lib/fs-upload-new/src/fs-button-upload.vue3.js → es/fs-upload-new/src/fs-button-upload.vue3.mjs} +0 -0
- /package/{lib/fs-upload-new/src/fs-drag-upload.vue3.js → es/fs-upload-new/src/fs-drag-upload.vue3.mjs} +0 -0
- /package/{lib/fs-upload-new/src/fs-preview-new.vue3.js → es/fs-upload-new/src/fs-preview-new.vue3.mjs} +0 -0
- /package/{lib/fs-upload-new/src/fs-preview-new.vue4.js → es/fs-upload-new/src/fs-preview-new.vue4.mjs} +0 -0
- /package/{lib/hamburger/src/hamburger.vue2.js → es/hamburger/src/hamburger.vue2.mjs} +0 -0
- /package/{lib/organization-input/src/organization-input.vue2.js → es/organization-input/src/organization-input.vue2.mjs} +0 -0
- /package/{lib/plugins/public-method.js → es/plugins/public-method.mjs} +0 -0
- /package/{lib/rich-editor/tinymce/zh_CN.js → es/rich-editor/tinymce/zh_CN.mjs} +0 -0
- /package/{lib/row-form/index.vue3.js → es/row-form/index.vue3.mjs} +0 -0
- /package/{lib/src/assets/401/401.gif.js → es/src/assets/401/401.gif.mjs} +0 -0
- /package/{lib/src/assets/404/404-cloud.png.js → es/src/assets/404/404-cloud.png.mjs} +0 -0
- /package/{lib/src/assets/404/404.png.js → es/src/assets/404/404.png.mjs} +0 -0
- /package/{lib/src/assets/chat-embed/robot.gif.js → es/src/assets/chat-embed/robot.gif.mjs} +0 -0
- /package/{lib/src/assets/chat-embed/robot.svg.js → es/src/assets/chat-embed/robot.svg.mjs} +0 -0
- /package/{lib/src/assets/nonemessage.png.js → es/src/assets/nonemessage.png.mjs} +0 -0
- /package/{lib/src/components/Affix/index.vue3.js → es/src/components/Affix/index.vue3.mjs} +0 -0
- /package/{lib/src/components/Scrollbar/index.vue2.js → es/src/components/Scrollbar/index.vue2.mjs} +0 -0
- /package/{lib/src/mixins/resizeMixin.js → es/src/mixins/resizeMixin.mjs} +0 -0
- /package/{lib/src/store/getters.js → es/src/store/getters.mjs} +0 -0
- /package/{lib/src/store/modules/chat-ai-store.js → es/src/store/modules/chat-ai-store.mjs} +0 -0
- /package/{lib/src/store/modules/table.js → es/src/store/modules/table.mjs} +0 -0
- /package/{lib/src/utils/auth-api.js → es/src/utils/auth-api.mjs} +0 -0
- /package/{lib/src/utils/calculator/calculator-factory-wf.js → es/src/utils/calculator/calculator-factory-wf.mjs} +0 -0
- /package/{lib/src/utils/calculator/calculator-factory.js → es/src/utils/calculator/calculator-factory.mjs} +0 -0
- /package/{lib/src/utils/eventBus.js → es/src/utils/eventBus.mjs} +0 -0
- /package/{lib/src/utils/file-util.js → es/src/utils/file-util.mjs} +0 -0
- /package/{lib/src/utils/global-prop.js → es/src/utils/global-prop.mjs} +0 -0
- /package/{lib/src/utils/guid.js → es/src/utils/guid.mjs} +0 -0
- /package/{lib/src/utils/index.js → es/src/utils/index.mjs} +0 -0
- /package/{lib/src/utils/json-util.js → es/src/utils/json-util.mjs} +0 -0
- /package/{lib/src/utils/local-storage.js → es/src/utils/local-storage.mjs} +0 -0
- /package/{lib/src/utils/resize.js → es/src/utils/resize.mjs} +0 -0
- /package/{lib/src/utils/validate.js → es/src/utils/validate.mjs} +0 -0
- /package/{lib/src/utils/watermark-cache.js → es/src/utils/watermark-cache.mjs} +0 -0
- /package/{lib/src/views/dsc-component/Sidebar/Item.vue3.js → es/src/views/dsc-component/Sidebar/Item.vue3.mjs} +0 -0
- /package/{lib/src/views/dsc-component/Sidebar/SidebarItem.vue2.js → es/src/views/dsc-component/Sidebar/SidebarItem.vue2.mjs} +0 -0
- /package/{lib/src/views/dsc-component/tabs/tab-content.vue2.js → es/src/views/dsc-component/tabs/tab-content.vue2.mjs} +0 -0
- /package/{lib/src/views/dsc-component/tabs/tab-content.vue3.js → es/src/views/dsc-component/tabs/tab-content.vue3.mjs} +0 -0
- /package/{lib/src/views/error-page/401.vue2.js → es/src/views/error-page/401.vue2.mjs} +0 -0
- /package/{lib/src/views/error-page/404.vue2.js → es/src/views/error-page/404.vue2.mjs} +0 -0
- /package/{lib/src/views/layout/Layout.vue2.js → es/src/views/layout/Layout.vue2.mjs} +0 -0
- /package/{lib/src/views/layout/components/AppMain.vue2.js → es/src/views/layout/components/AppMain.vue2.mjs} +0 -0
- /package/{lib/src/views/layout/components/Breadcrumb/index.vue2.js → es/src/views/layout/components/Breadcrumb/index.vue2.mjs} +0 -0
- /package/{lib/src/views/layout/components/Menubar/Item.vue3.js → es/src/views/layout/components/Menubar/Item.vue3.mjs} +0 -0
- /package/{lib/src/views/layout/components/Menubar/SidebarItem.vue2.js → es/src/views/layout/components/Menubar/SidebarItem.vue2.mjs} +0 -0
- /package/{lib/src/views/layout/components/Sidebar/Item.vue.js → es/src/views/layout/components/Sidebar/Item.vue.mjs} +0 -0
- /package/{lib/src/views/layout/components/Sidebar/SidebarItem.vue2.js → es/src/views/layout/components/Sidebar/SidebarItem.vue2.mjs} +0 -0
- /package/{lib/src/views/layout/components/iframe-page.vue2.js → es/src/views/layout/components/iframe-page.vue2.mjs} +0 -0
- /package/{lib/src/views/layout/components/tabs/tab-content.vue2.js → es/src/views/layout/components/tabs/tab-content.vue2.mjs} +0 -0
- /package/{lib/src/views/layout/components/tabs/tab-content.vue3.js → es/src/views/layout/components/tabs/tab-content.vue3.mjs} +0 -0
- /package/{lib/src/views/layout/tab-content-iframe-index.vue2.js → es/src/views/layout/tab-content-iframe-index.vue2.mjs} +0 -0
- /package/{lib/src/views/layout/tab-content-index.vue2.js → es/src/views/layout/tab-content-index.vue2.mjs} +0 -0
- /package/{lib/src/views/login/authredirect.vue.js → es/src/views/login/authredirect.vue.mjs} +0 -0
- /package/{lib/src/views/redirect/index.vue.js → es/src/views/redirect/index.vue.mjs} +0 -0
- /package/{lib/src/views/svg-icon/src/svg-icon.vue.js → es/src/views/super-icon/src/index.vue3.mjs} +0 -0
- /package/{lib/src/views/wf-history/tache-subprocess-history.vue2.js → es/src/views/svg-icon/src/svg-icon.vue.mjs} +0 -0
- /package/{lib/super-grid/src/header-context-menu.vue2.js → es/src/views/wf-history/tache-subprocess-history.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/eventBus.js → es/super-grid/src/eventBus.mjs} +0 -0
- /package/{lib/super-grid/src/formatter.js → es/super-grid/src/formatter.mjs} +0 -0
- /package/{lib/super-grid/src/normal-column-content.vue2.js → es/super-grid/src/header-context-menu.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/normal-column.vue2.js → es/super-grid/src/normal-column-content.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/row-operation.vue2.js → es/super-grid/src/normal-column.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/public-methods.js → es/super-grid/src/public-methods.mjs} +0 -0
- /package/{lib/super-grid/src/search-form-advancedQuery.vue2.js → es/super-grid/src/row-operation.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/search-form-item.vue2.js → es/super-grid/src/search-form-advancedQuery.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/search-form-mobile.vue2.js → es/super-grid/src/search-form-item.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/search-form-ordinarySearch.vue2.js → es/super-grid/src/search-form-mobile.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/search-form.vue2.js → es/super-grid/src/search-form-open.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/super-grid.vue2.js → es/super-grid/src/search-form-ordinarySearch.vue2.mjs} +0 -0
- /package/{lib/super-icon/src/index.vue3.js → es/super-grid/src/search-form.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/search-methods.js → es/super-grid/src/search-methods.mjs} +0 -0
- /package/{lib/super-grid/src/store.js → es/super-grid/src/store.mjs} +0 -0
- /package/{lib/super-nine-grid/src/search-form.vue2.js → es/super-grid/src/super-grid.vue2.mjs} +0 -0
- /package/{lib/super-nine-grid/src/super-nine-grid.vue2.js → es/super-icon/src/index.vue3.mjs} +0 -0
- /package/{lib/super-nine-grid/src/formatter.js → es/super-nine-grid/src/formatter.mjs} +0 -0
- /package/{lib/svg-icon/src/svg-icon.vue2.js → es/super-nine-grid/src/search-form.vue2.mjs} +0 -0
- /package/{lib/super-nine-grid/src/search-methods.js → es/super-nine-grid/src/search-methods.mjs} +0 -0
- /package/{lib/super-nine-grid/src/store.js → es/super-nine-grid/src/store.mjs} +0 -0
- /package/{lib/valid-code/src/valid-code.vue2.js → es/super-nine-grid/src/super-nine-grid.vue2.mjs} +0 -0
- /package/{lib/workflow-history-list/src/workflow-history-list.vue2.js → es/svg-icon/src/svg-icon.vue2.mjs} +0 -0
- /package/{lib/utils/gogocodeTransfer.js → es/utils/gogocodeTransfer.mjs} +0 -0
- /package/{lib/workgroup-tree-inline/src/search-result.vue2.js → es/valid-code/src/valid-code.vue2.mjs} +0 -0
- /package/{lib/workflow-history-list/src/api.js → es/workflow-history-list/src/api.mjs} +0 -0
- /package/{lib/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js → es/workflow-history-list/src/workflow-history-list.vue2.mjs} +0 -0
- /package/{lib/workgroup-tree-mobile/src/workgroup-tree-app.vue2.js → es/workgroup-tree-inline/src/search-result.vue2.mjs} +0 -0
- /package/{lib/workgroup-user-tree-inline/src/search-result.vue2.js → es/workgroup-tree-inline/src/workgroup-tree-inline.vue2.mjs} +0 -0
- /package/{lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.js → es/workgroup-tree-mobile/src/workgroup-tree-app.vue2.mjs} +0 -0
- /package/{lib/workgroup-tree-mobile/src/workgroup-tree-service.js → es/workgroup-tree-mobile/src/workgroup-tree-service.mjs} +0 -0
- /package/{lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js → es/workgroup-user-tree-inline/src/search-result.vue2.mjs} +0 -0
- /package/{lib/workgroup-user-tree-mobile/src/workgroup-user-tree-service.js → es/workgroup-user-tree-mobile/src/workgroup-user-tree-service.mjs} +0 -0
|
@@ -1,946 +0,0 @@
|
|
|
1
|
-
import * as Vue from 'vue'
|
|
2
|
-
import { getToken } from '../../../src/utils/auth'
|
|
3
|
-
import { isPlateSys, isShowMenuRoute } from '../../../src/utils/common-util'
|
|
4
|
-
import { getEntityFieldValue } from '../../../src/utils/util'
|
|
5
|
-
import { doFormatWithValueSet } from './formatter'
|
|
6
|
-
|
|
7
|
-
import store from './store'
|
|
8
|
-
import { parseSubTablePermissionCondition } from '../../../src/utils/calculator/calculator-util'
|
|
9
|
-
export function getColumnValues(data, prop) {
|
|
10
|
-
const values = []
|
|
11
|
-
for (const obj of data) {
|
|
12
|
-
values.push(obj[prop])
|
|
13
|
-
}
|
|
14
|
-
return values
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* 返回的数组表示当前列每行的合并情况:[3,0,0,1,1]表示1到3行合并,四五行不合并
|
|
18
|
-
* @param {Array} data 列表数据
|
|
19
|
-
* @param {String} prop 列名
|
|
20
|
-
*/
|
|
21
|
-
export function getSpanValuesForColumn(data, prop, mergerCellBasis) {
|
|
22
|
-
const spanArr = []
|
|
23
|
-
let pos = 0
|
|
24
|
-
for (let i = 0; i < data.length; i++) {
|
|
25
|
-
if (i === 0) {
|
|
26
|
-
spanArr.push(1)
|
|
27
|
-
pos = 0
|
|
28
|
-
} else {
|
|
29
|
-
if (mergerCellBasis && mergerCellBasis !== '') {
|
|
30
|
-
// 判断当前元素与上一个元素是否相同
|
|
31
|
-
let compareValue1 = ''
|
|
32
|
-
let compareValue2 = ''
|
|
33
|
-
const arr = mergerCellBasis.split(',')
|
|
34
|
-
for (let k = 0; k < arr.length; k++) {
|
|
35
|
-
compareValue1 += data[i][arr[k]]
|
|
36
|
-
compareValue2 += data[i - 1][arr[k]]
|
|
37
|
-
}
|
|
38
|
-
if (compareValue1 === compareValue2) {
|
|
39
|
-
spanArr[pos] += 1
|
|
40
|
-
spanArr.push(0)
|
|
41
|
-
} else {
|
|
42
|
-
spanArr.push(1)
|
|
43
|
-
pos = i
|
|
44
|
-
}
|
|
45
|
-
} else {
|
|
46
|
-
// 判断当前元素与上一个元素是否相同
|
|
47
|
-
if (data[i][prop] === data[i - 1][prop]) {
|
|
48
|
-
spanArr[pos] += 1
|
|
49
|
-
spanArr.push(0)
|
|
50
|
-
} else {
|
|
51
|
-
spanArr.push(1)
|
|
52
|
-
pos = i
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
return spanArr
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export function getFirstEditableColumn(listCode) {
|
|
61
|
-
if (!listCode) {
|
|
62
|
-
listCode = store.get('_list_code')
|
|
63
|
-
}
|
|
64
|
-
for (const column of store.get(listCode).columns) {
|
|
65
|
-
if (column.editable) {
|
|
66
|
-
return column.prop
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
return null
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
const ArrowKeyAction = {
|
|
73
|
-
getIndex(prop) {
|
|
74
|
-
let i = 0
|
|
75
|
-
for (const column of store.columns) {
|
|
76
|
-
if (column.prop === prop) {
|
|
77
|
-
return i
|
|
78
|
-
} else {
|
|
79
|
-
i++
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
getLeftColumn(prop) {
|
|
84
|
-
const index = ArrowKeyAction.getIndex(prop)
|
|
85
|
-
let i = 0
|
|
86
|
-
for (i = index - 1; i >= 0; i--) {
|
|
87
|
-
if (store.columns[i].editable) {
|
|
88
|
-
return store.columns[i].prop
|
|
89
|
-
} else {
|
|
90
|
-
return null
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
export { ArrowKeyAction }
|
|
96
|
-
|
|
97
|
-
// 行编辑时设置当前选中行
|
|
98
|
-
export function setCurrentRow(rowIndex, listCode) {
|
|
99
|
-
if (!listCode) {
|
|
100
|
-
listCode = store.get('_list_code')
|
|
101
|
-
}
|
|
102
|
-
const gridParams = store.get(listCode)
|
|
103
|
-
if (rowIndex < gridParams.gridData.length) {
|
|
104
|
-
// 新建时会传过来比记录条数大的行号
|
|
105
|
-
if (gridParams.isMulitiSelect) {
|
|
106
|
-
gridParams.superGrid.clearSelection()
|
|
107
|
-
gridParams.superGrid.toggleRowSelection(gridParams.gridData[rowIndex], true)
|
|
108
|
-
} else {
|
|
109
|
-
gridParams.superGrid.setCurrentRow(gridParams.gridData[rowIndex])
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
// 判断两个对象内容是否相等
|
|
115
|
-
export function isObjectValueEqual(a, b) {
|
|
116
|
-
if (!a && !b) {
|
|
117
|
-
return true
|
|
118
|
-
}
|
|
119
|
-
if (a && b) {
|
|
120
|
-
var aProps = getProps(a)
|
|
121
|
-
var bProps = getProps(b)
|
|
122
|
-
let forProps = aProps
|
|
123
|
-
if (aProps.length > bProps.length) {
|
|
124
|
-
forProps = aProps
|
|
125
|
-
} else {
|
|
126
|
-
forProps = bProps
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
for (var i = 0; i < forProps.length; i++) {
|
|
130
|
-
var propName = forProps[i]
|
|
131
|
-
if (propName === '$editing') {
|
|
132
|
-
continue
|
|
133
|
-
}
|
|
134
|
-
var propA = a[propName]
|
|
135
|
-
var propB = b[propName]
|
|
136
|
-
if (propA !== propB) {
|
|
137
|
-
return false
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
return true
|
|
141
|
-
}
|
|
142
|
-
return false
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
function getProps(obj) {
|
|
146
|
-
const props = []
|
|
147
|
-
for (var name in obj) {
|
|
148
|
-
props.push(name)
|
|
149
|
-
}
|
|
150
|
-
return props
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
// 最后编辑的行是否保存
|
|
154
|
-
export function isLastEditRowSave(listCode) {
|
|
155
|
-
if (!listCode) {
|
|
156
|
-
listCode = store.get('_list_code')
|
|
157
|
-
}
|
|
158
|
-
const gridParams = store.get(listCode)
|
|
159
|
-
if (gridParams.isEditRow !== undefined && gridParams.isEditRow === true) {
|
|
160
|
-
// 表示有正在编辑的行,不能编辑其他行
|
|
161
|
-
return false
|
|
162
|
-
}
|
|
163
|
-
if (typeof gridParams.$rowIndex === 'undefined' || gridParams.$rowIndex === null) {
|
|
164
|
-
// 表示没有在该列表编辑任何行,可以编辑行
|
|
165
|
-
return true
|
|
166
|
-
}
|
|
167
|
-
if (typeof gridParams.$lastSaveRowIndex === 'undefined' || gridParams.$lastSaveRowIndex === null) {
|
|
168
|
-
// 表示没有在该列表保存任何行,可以编辑行
|
|
169
|
-
return true
|
|
170
|
-
}
|
|
171
|
-
if (gridParams.$rowIndex === gridParams.$lastSaveRowIndex) {
|
|
172
|
-
// 当前编辑行 等于 最后保存的行号,则表示最后编辑的行已保存
|
|
173
|
-
return true
|
|
174
|
-
}
|
|
175
|
-
return false
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
// 是否可以刷新列表
|
|
179
|
-
export function isCanRefreshGrid(listCode) {
|
|
180
|
-
if (!listCode) {
|
|
181
|
-
listCode = store.get('_list_code')
|
|
182
|
-
}
|
|
183
|
-
const gridParams = store.get(listCode)
|
|
184
|
-
if (gridParams.isEditRow !== undefined && gridParams.isEditRow === true) {
|
|
185
|
-
// 表示有正正编辑的行,不能刷新列表
|
|
186
|
-
return false
|
|
187
|
-
}
|
|
188
|
-
const isEditRowSave = isLastEditRowSave()
|
|
189
|
-
if (!isEditRowSave) {
|
|
190
|
-
// 如果最后编辑行没有保存或撤销编辑,则表示当前列表中有编辑行,不能刷新列表数据
|
|
191
|
-
return false
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
if (typeof gridParams.isCreateRow !== 'undefined' && gridParams.isCreateRow === true) {
|
|
195
|
-
// 说明刚刚新建的行还没有保存 或 撤销编辑,表示当前列表中有编辑行,不能刷新列表数据
|
|
196
|
-
return false
|
|
197
|
-
}
|
|
198
|
-
return true
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
function getEntityId(row) {
|
|
202
|
-
if (row && row.id) {
|
|
203
|
-
return row.id
|
|
204
|
-
} else if (row && row.ID) {
|
|
205
|
-
return row.ID
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
// 行编辑时,是否有权限编辑某字段
|
|
210
|
-
export function isDisableEdit(prop, listCode, row, rowIndex) {
|
|
211
|
-
if (!listCode) {
|
|
212
|
-
listCode = store.get('_list_code')
|
|
213
|
-
}
|
|
214
|
-
// 默认是可编辑的
|
|
215
|
-
let isDiabled = false
|
|
216
|
-
const gridParams = store.get(listCode)
|
|
217
|
-
const disableEditProps = isHasEditOption('disableEditProps', listCode)
|
|
218
|
-
? gridParams.options.lineEditOptions.disableEditProps
|
|
219
|
-
: null
|
|
220
|
-
if (disableEditProps) {
|
|
221
|
-
const disableEditPropsArr = disableEditProps.split(',')
|
|
222
|
-
if (disableEditPropsArr && disableEditPropsArr.indexOf(prop) >= 0) {
|
|
223
|
-
isDiabled = true
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
const rowId = getEntityId(row)
|
|
227
|
-
if (isDiabled === false && gridParams.options) {
|
|
228
|
-
const fieldPermissions = gridParams.options.validateRules
|
|
229
|
-
if (fieldPermissions) {
|
|
230
|
-
const fieldRule = fieldPermissions.filter(
|
|
231
|
-
(item) => item.name && (item.name === prop || item.name === 'all_fields')
|
|
232
|
-
)
|
|
233
|
-
let canEdit = true
|
|
234
|
-
if (fieldRule && fieldRule.length > 0) {
|
|
235
|
-
for (let i = 0; i < fieldRule.length; i++) {
|
|
236
|
-
if (fieldRule[i].rowIndexes === undefined || fieldRule[i].rowIndexes === null) {
|
|
237
|
-
canEdit = fieldRule[i].canEdit
|
|
238
|
-
} else if (fieldRule[i].rowIndexes.indexOf(rowId) >= 0) {
|
|
239
|
-
canEdit = fieldRule[i].canEdit
|
|
240
|
-
} else {
|
|
241
|
-
canEdit = true
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
if (canEdit === false) {
|
|
245
|
-
isDiabled = true
|
|
246
|
-
}
|
|
247
|
-
// const fieldPermission = fieldRule[0]
|
|
248
|
-
// const canEdit = fieldPermission.canEdit
|
|
249
|
-
// if (typeof canEdit !== 'undefined' && canEdit === false) {
|
|
250
|
-
// // 表示禁止编辑
|
|
251
|
-
// if (fieldPermission.rowIndexes === undefined || (rowId !== undefined && fieldPermission.rowIndexes && fieldPermission.rowIndexes.indexOf(rowId) >= 0)) {
|
|
252
|
-
// // 表示是子表记录,需要验证当前行是否需要禁止编辑
|
|
253
|
-
// isDiabled = true
|
|
254
|
-
// }
|
|
255
|
-
// }
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
if (isDiabled === false) {
|
|
259
|
-
// 根据子表的修改权限来判断是否可编辑,如果不能修改,则该行记录禁止编辑
|
|
260
|
-
const actionPermission = gridParams.options.actionPermission
|
|
261
|
-
const isOneRowCanUpdate = isRowCanUpdate(actionPermission, rowId)
|
|
262
|
-
if (isOneRowCanUpdate === false) {
|
|
263
|
-
// 如果当前行是禁止修改的,则当前行所有字段都禁止编辑
|
|
264
|
-
isDiabled = true
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
if (isDiabled === false) {
|
|
268
|
-
// 表示不是禁止编辑的,继续校验自定义规则中是否是禁止编辑的
|
|
269
|
-
if (
|
|
270
|
-
gridParams.options.customRules &&
|
|
271
|
-
(gridParams.options.customRules[prop] || gridParams.options.customRules['_all_fields'])
|
|
272
|
-
) {
|
|
273
|
-
const columnRules = gridParams.options.customRules[prop]
|
|
274
|
-
? gridParams.options.customRules[prop]
|
|
275
|
-
: gridParams.options.customRules['_all_fields']
|
|
276
|
-
let beforeValidateResult = true
|
|
277
|
-
// if (columnRules.beforeValidate) {
|
|
278
|
-
// beforeValidateResult = rowBeforeValidate(columnRules, gridParams, row, rowIndex)
|
|
279
|
-
// }
|
|
280
|
-
if (columnRules && columnRules.disabled && beforeValidateResult !== false) {
|
|
281
|
-
isDiabled = true
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
return isDiabled
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
export function rowBeforeValidate(columnRules, gridParams, row, rowIndex) {
|
|
290
|
-
const params = {
|
|
291
|
-
parent: gridParams.options.extraParam.entityMap,
|
|
292
|
-
row: row,
|
|
293
|
-
pageContext: gridParams.options.pageContext,
|
|
294
|
-
configure: gridParams.options.configureObj,
|
|
295
|
-
rowIndex
|
|
296
|
-
}
|
|
297
|
-
return columnRules.beforeValidate(params)
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
// 行编辑时,是否必填某字段, 如果是流程表单子表, 需要将列表管理里配置的必填字段去掉,使用流程内的子表编辑权限控制
|
|
301
|
-
export function isRequiredEdit(column, listCode) {
|
|
302
|
-
const prop = column.prop
|
|
303
|
-
if (!listCode) {
|
|
304
|
-
listCode = store.get('_list_code')
|
|
305
|
-
}
|
|
306
|
-
// 默认是不必填的
|
|
307
|
-
let isRequired = false
|
|
308
|
-
// 表示是可以编辑的,不是禁止编辑的字段,才判断是否必填
|
|
309
|
-
const gridParams = store.get(listCode)
|
|
310
|
-
if (gridParams && gridParams.options) {
|
|
311
|
-
const fieldPermissions = gridParams.options.validateRules
|
|
312
|
-
if (fieldPermissions) {
|
|
313
|
-
const fieldRule = fieldPermissions.filter(
|
|
314
|
-
(item) =>
|
|
315
|
-
item.name &&
|
|
316
|
-
(item.name === prop || item.name === 'all_fields') &&
|
|
317
|
-
item.canEdit !== undefined &&
|
|
318
|
-
item.canEdit === true
|
|
319
|
-
)
|
|
320
|
-
if (fieldRule && fieldRule.length > 0) {
|
|
321
|
-
isRequired = true
|
|
322
|
-
}
|
|
323
|
-
} else if (column.validations) {
|
|
324
|
-
const validations = JSON.parse(column.validations)
|
|
325
|
-
const fieldRule = validations.filter((item) => item.required === true)
|
|
326
|
-
if (fieldRule && fieldRule.length > 0) {
|
|
327
|
-
isRequired = true
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
return isRequired
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
// 当前行是否可修改
|
|
335
|
-
function isRowCanUpdate(tableActionPermission, rowId) {
|
|
336
|
-
let canUpdate = true
|
|
337
|
-
const oneTableActionPermission = tableActionPermission
|
|
338
|
-
if (
|
|
339
|
-
oneTableActionPermission &&
|
|
340
|
-
oneTableActionPermission.canUpdate !== undefined &&
|
|
341
|
-
oneTableActionPermission.canUpdate === false &&
|
|
342
|
-
rowId !== undefined &&
|
|
343
|
-
oneTableActionPermission.updateRowIndexes &&
|
|
344
|
-
oneTableActionPermission.updateRowIndexes.indexOf(rowId) >= 0
|
|
345
|
-
) {
|
|
346
|
-
// 表示是子表字段,且新建的记录(未保存的)可以修改 或 指定行不能修改
|
|
347
|
-
canUpdate = false
|
|
348
|
-
}
|
|
349
|
-
return canUpdate
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
/**
|
|
353
|
-
* 是否是行编辑时的属性
|
|
354
|
-
* @param {*} event
|
|
355
|
-
*/
|
|
356
|
-
export function isHasEditOption(event, listCode) {
|
|
357
|
-
if (!listCode) {
|
|
358
|
-
listCode = store.get('_list_code')
|
|
359
|
-
}
|
|
360
|
-
const gridParams = store.get(listCode)
|
|
361
|
-
if (gridParams.options.lineEditOptions && gridParams.options.lineEditOptions[event]) {
|
|
362
|
-
return true
|
|
363
|
-
}
|
|
364
|
-
return false
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
export function isEditOptionFunction(event, listCode) {
|
|
368
|
-
if (!listCode) {
|
|
369
|
-
listCode = store.get('_list_code')
|
|
370
|
-
}
|
|
371
|
-
const gridParams = store.get(listCode)
|
|
372
|
-
if (gridParams.options.lineEditOptions && typeof gridParams.options.lineEditOptions[event] === 'function') {
|
|
373
|
-
return true
|
|
374
|
-
}
|
|
375
|
-
return false
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
/**
|
|
379
|
-
* 是否是行编辑时的属性
|
|
380
|
-
* @param {*} event
|
|
381
|
-
*/
|
|
382
|
-
export function isHasOptionFunction(event, listCode) {
|
|
383
|
-
if (!listCode) {
|
|
384
|
-
listCode = store.get('_list_code')
|
|
385
|
-
}
|
|
386
|
-
const gridParams = store.get(listCode)
|
|
387
|
-
if (gridParams.options && typeof gridParams.options[event] === 'function') {
|
|
388
|
-
return true
|
|
389
|
-
}
|
|
390
|
-
return false
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
export function isOptionFunction(props, listCode) {
|
|
394
|
-
if (!listCode) {
|
|
395
|
-
listCode = store.get('_list_code')
|
|
396
|
-
}
|
|
397
|
-
const gridParams = store.get(listCode)
|
|
398
|
-
if (props && props.indexOf('.') > 0) {
|
|
399
|
-
let optionProp = gridParams.options
|
|
400
|
-
const propsArr = props.split('.')
|
|
401
|
-
for (let i = 0; i < propsArr.length; i++) {
|
|
402
|
-
const event = propsArr[i]
|
|
403
|
-
if (optionProp) {
|
|
404
|
-
if (typeof optionProp[event] === 'function') {
|
|
405
|
-
return true
|
|
406
|
-
} else {
|
|
407
|
-
optionProp = optionProp[event]
|
|
408
|
-
}
|
|
409
|
-
} else {
|
|
410
|
-
return false
|
|
411
|
-
}
|
|
412
|
-
}
|
|
413
|
-
} else {
|
|
414
|
-
if (gridParams.options && typeof gridParams.options[event] === 'function') {
|
|
415
|
-
return true
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
/**
|
|
421
|
-
* 获得控制表格需要的参数
|
|
422
|
-
*/
|
|
423
|
-
export function getGridParams() {
|
|
424
|
-
const gridParams = {
|
|
425
|
-
columns: [],
|
|
426
|
-
gridData: [],
|
|
427
|
-
orgGridData: [], // 行编辑保存时使用
|
|
428
|
-
canSaveRow: true, // 行编辑时是否可以保存行记录的状态为
|
|
429
|
-
showValidateError: true, // 是否可以显示验证信息,防止同时弹出两个验证信息的
|
|
430
|
-
defaultLineEditOptions: {
|
|
431
|
-
aftersaveIsCreateRow: true, // 保存成功后,是否自动新增一行
|
|
432
|
-
autoSave: true, // 失去焦点时,是否自动保存
|
|
433
|
-
isSaveByEnter: true, // 点击enter时,是否自动保存
|
|
434
|
-
isRestoreByEsc: true, // 点击ESC时,是否撤销编辑,
|
|
435
|
-
aftersaveIsCancelEditState: true, // 保存后,是否取消编辑状态
|
|
436
|
-
afterRestoreIsCancelEditState: true, // 撤销编辑后,是否取消编辑状态
|
|
437
|
-
input: function () {} // 数据改变时触发
|
|
438
|
-
// 'beforeSave': function() { return true }, // 保存行数据前的回调
|
|
439
|
-
// 'saveSuccess': function() {}, // 保存行数据成功的回调
|
|
440
|
-
// 'saveError': function() {}, // 保存行数据发生异常的回调
|
|
441
|
-
// 'beforeRestore': function() { return true }, // 撤销编辑前
|
|
442
|
-
// 'afterRestore': function() {}, // 撤销编辑后
|
|
443
|
-
// 'input': function() {}, // 数据改变时触发
|
|
444
|
-
// 'enter': function() {}, // enter回调
|
|
445
|
-
// 'esc': function() {}, // ESC回调
|
|
446
|
-
// 'focus': function() {}, // 获得焦点
|
|
447
|
-
// 'change': function() {}, // 值发生变化
|
|
448
|
-
// 'clear': function() {}, // 清空组件数据
|
|
449
|
-
// 'blur': function() {}, // 失去焦点
|
|
450
|
-
// 'remove-tag': function() {}, // select 多选模式下移除tag时触发
|
|
451
|
-
// 'visible-tag': function() {}, // 下拉框出现/隐藏时触发
|
|
452
|
-
// 'select-value': function() {}, // 组织树关闭时回调
|
|
453
|
-
// 'disableEditProps': '', // 字段配置的是可编辑的,但是当前用户没有权限禁止编辑的字段属性名,多个属性名之间以逗号隔开,例如:name,address
|
|
454
|
-
// 'beforeInsertRow': function(gridData, rowIndex) { return true }, // 插入行前的回调
|
|
455
|
-
// 'afterInsertRow': function(gridData, rowIndex) {}, // 插入行后的回调
|
|
456
|
-
// 'beforeEdit': function(gridData, rowIndex) { return true } // 编辑当前行前
|
|
457
|
-
},
|
|
458
|
-
options: {
|
|
459
|
-
// 行编辑需要的一些回调事件
|
|
460
|
-
lineEditOptions: {
|
|
461
|
-
// urlToSaveRow:'', // 保存行记录的url,如果设置了以该设置的为准
|
|
462
|
-
// isEnableValidate: true, // 保存行记录时,是否启用必填验证
|
|
463
|
-
// saveRow: function(){return new Promise((resolve, reject) => {...resolve(data)})} // 需要返回的是保存后的行记录的值
|
|
464
|
-
}
|
|
465
|
-
// 自定义行编辑
|
|
466
|
-
// customFormatter: {
|
|
467
|
-
// },
|
|
468
|
-
// 动态列
|
|
469
|
-
// dynamicColumns: [],
|
|
470
|
-
// 附加参数
|
|
471
|
-
// extraParam: {},
|
|
472
|
-
// 表头渲染设置
|
|
473
|
-
// 格式为:{'props':'fieldName,fieldName,fieldName','color':'表头的背景色。样式表支持的颜色'}
|
|
474
|
-
// renderHeader: {},
|
|
475
|
-
// 渲染行数据,格式为:{rowIndex:'color',rowIndex:'color'},rowIndex的从0开始计数
|
|
476
|
-
// renderRow: {},
|
|
477
|
-
// 渲染行的回调方法,返回值是个对象,如:{'background': 'red'},详情见element-ui的官方文档
|
|
478
|
-
// rowStyleRender({row, rowIndex}){},
|
|
479
|
-
// 表格及数据均加载完成后
|
|
480
|
-
// gridComplete: function(gridData, columns) {}, // gridData, columns
|
|
481
|
-
// 刚请求到字段配置,没有请求数据时,可以通过该方法修改表头或添加自定义表头
|
|
482
|
-
// loadBeforeSend: function(columns, settings) { return true }, // columns, settings(列表所有设置,包括字段设置、分页设置、查询设置、行编辑设置)
|
|
483
|
-
// 数据加载失败的回调方法
|
|
484
|
-
// loadError: function(code, error) {}, // code, error
|
|
485
|
-
// 数据请求成功后,表格记录显示前的回调方法,该方法主要是处理业务数据,比如:处理xss攻击
|
|
486
|
-
// gridDataLoaded: function(data) { return data },
|
|
487
|
-
// 查询组件需要的一些参数
|
|
488
|
-
// search: {
|
|
489
|
-
// // 属性自定义组件,当不是行编辑时,查询框需要自定义控件时
|
|
490
|
-
// customSearchElements: function(column) { return null },
|
|
491
|
-
// labelWidth: '150px',
|
|
492
|
-
// fieldNum: 4, // 查询的每行排放的字段个数,默认是4个字段
|
|
493
|
-
// },
|
|
494
|
-
// isDargColumn: false, // 是否可以拖动列顺序,true表示可以拖动,false表示不能拖动,默认是false不可以拖动
|
|
495
|
-
// showColumns: '', // 要显示的属性名集合,多个属性之间以逗号隔开
|
|
496
|
-
// subRowUrl: '', // 树形数据时,获得子数据集合的请求url路径,例如:http://localhost:90902/cm/ecn-sub-list
|
|
497
|
-
// loadChildrenComplete: function(parentRow, childrenData, columns) {}, // parentRow, childrenData, columns
|
|
498
|
-
// isSql:false, // 是否是sql查询数据内容。在使用sql语句查询表内容时,否则会导致列表字段的值不显示,都显示为空
|
|
499
|
-
// initSearchForm: [], // 初始查询条件,格式同“查询”按钮封装的json格式
|
|
500
|
-
// multiple: true/false,// 是否多选,默认以列表管理中配置的为准
|
|
501
|
-
// showIndex: true/false,// 是否显示序号,默认以列表管理中配置的为准
|
|
502
|
-
// initSortInfo: {prop:'',order: 'ASC/DESC'},// 默认排序字段,和排序方式
|
|
503
|
-
// pageSizes: '20,30,50,100',// 可选行数
|
|
504
|
-
// initSearch: true/false, // 初始化时是否查询,默认是查询
|
|
505
|
-
// parentProp: 'parentId', // 树状结构数据时,父字段名,默认是parentId
|
|
506
|
-
// operations:{ // 对象名为属性名,值为该列所具有的组件信息
|
|
507
|
-
// 'operation':[ // 例如操作列,按钮组
|
|
508
|
-
// {props:{elementType:'button',label:'删除',size:'mini',type:'danger',icon:'el-icon-delete',style:{marginLeft:'10px'}},isShow:function(originalValue, formatValue, row, column, rowIndex){},onClick:function(originalValue, formatValue, row, this.column, rowIndex){}}
|
|
509
|
-
// ],
|
|
510
|
-
// 'name':[ // 例如:名称列,超链接
|
|
511
|
-
// {props:{elementType:'link',type:'primary'},onClick:function(originalValue, formatValue, row, column, rowIndex){},isShow:function(originalValue, formatValue, row, column, rowIndex){}}
|
|
512
|
-
// ]
|
|
513
|
-
// },
|
|
514
|
-
// 'eventCallBack':{// 行编辑控件事件对应的回调方法,funName1、funName2是自定义的方法名,自己定义即可
|
|
515
|
-
// funName1:function({event,value,row,column,prop,originalValue, appendValue,newValue}){},
|
|
516
|
-
// funName2:function({event,value,row,column,prop,originalValue, appendValue,newValue}){}
|
|
517
|
-
// },
|
|
518
|
-
// isHiddenSearchForm: false, //查询时,是否隐藏查询区域,不配置默认是显示的
|
|
519
|
-
// align:left/center/right, //记录对齐方式,默认是left
|
|
520
|
-
// headerAlign: left/center/right, // 表头对齐方式,若不设置该项,则使用表格的对齐方式
|
|
521
|
-
// showOverflowTooltip: true, // 内容过长是否省略号显示,不换行,默认是true,显示省略号
|
|
522
|
-
// isDefaultShowEdit: false, // 行编辑时,当表格没有记录时,是否默认创建一行空记录,默认时false,不创建
|
|
523
|
-
// system: {}, // 当前系统对象,链接跳转页面时使用
|
|
524
|
-
// additionalParamMap: '{}', // 附加参数json字符串
|
|
525
|
-
// validateRules: {prop1:{name:'prop1',canEdit:true/false,dataType:'xxx',label:'xxx',rowIndexes:[10,11,13]},prop2:{name:'prop2',canEdit:true/false,dataType:'xxx',label:'xxx',rowIndexes:[10,11,13]}},//流程编辑器的验证规则或用户自己定义的规则
|
|
526
|
-
// actionPermission: { 'canAdd': true, 'canUpdate': true, 'canDelete': true }, // 列表行编辑时控制按钮的权限
|
|
527
|
-
// formData: {}, // 主表单的实体信息
|
|
528
|
-
// hiddenColumns:['operation','xx]
|
|
529
|
-
}
|
|
530
|
-
}
|
|
531
|
-
return Vue.reactive(gridParams)
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
export function addDynamicProp(target, prop, propValue) {
|
|
535
|
-
const nestedProp = prop.split('.')
|
|
536
|
-
if (nestedProp.length === 1) {
|
|
537
|
-
if (propValue !== undefined) {
|
|
538
|
-
target[prop] = propValue
|
|
539
|
-
} else {
|
|
540
|
-
target[prop] = null
|
|
541
|
-
}
|
|
542
|
-
return
|
|
543
|
-
}
|
|
544
|
-
// 如果是嵌套属性,就要逐层添加空对象,起点是searchForm,属性每多一层嵌套,parent就前进一层,到倒数第二层为止
|
|
545
|
-
let parent = target
|
|
546
|
-
for (let i = 0; i < nestedProp.length - 1; i++) {
|
|
547
|
-
if (parent[nestedProp[i]] === undefined) {
|
|
548
|
-
parent[nestedProp[i]] = {}
|
|
549
|
-
}
|
|
550
|
-
parent = parent[nestedProp[i]]
|
|
551
|
-
}
|
|
552
|
-
if (propValue !== undefined) {
|
|
553
|
-
parent[nestedProp[nestedProp.length - 1]] = propValue
|
|
554
|
-
} else {
|
|
555
|
-
parent[nestedProp[nestedProp.length - 1]] = null
|
|
556
|
-
}
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
export function addDynamicPropDateSection(target, prop, propValue) {
|
|
560
|
-
const nestedProp = prop.split('.')
|
|
561
|
-
if (nestedProp.length === 1) {
|
|
562
|
-
if (propValue !== undefined) {
|
|
563
|
-
target[prop] = propValue
|
|
564
|
-
} else {
|
|
565
|
-
target[prop] = [new Date(), new Date()]
|
|
566
|
-
}
|
|
567
|
-
return
|
|
568
|
-
}
|
|
569
|
-
// 如果是嵌套属性,就要逐层添加空对象,起点是searchForm,属性每多一层嵌套,parent就前进一层,到倒数第二层为止
|
|
570
|
-
let parent = target
|
|
571
|
-
for (let i = 0; i < nestedProp.length - 1; i++) {
|
|
572
|
-
if (parent[nestedProp[i]] === undefined) {
|
|
573
|
-
parent[nestedProp[i]] = {}
|
|
574
|
-
}
|
|
575
|
-
parent = parent[nestedProp[i]]
|
|
576
|
-
}
|
|
577
|
-
if (propValue !== undefined) {
|
|
578
|
-
parent[nestedProp[nestedProp.length - 1]] = propValue
|
|
579
|
-
} else {
|
|
580
|
-
parent[nestedProp[nestedProp.length - 1]] = [new Date(), new Date()]
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
export function getTableHeight(superGrid, listCode, pageHeight, isInDialog) {
|
|
585
|
-
let rect
|
|
586
|
-
if (superGrid) {
|
|
587
|
-
rect = superGrid.$el.getBoundingClientRect()
|
|
588
|
-
}
|
|
589
|
-
let minusPx = isInDialog ? 115 : 85
|
|
590
|
-
if (isPlateSys(window.$vueApp.config.globalProperties.systemCode)) {
|
|
591
|
-
minusPx = 130
|
|
592
|
-
}
|
|
593
|
-
const totalHeight = window.innerHeight - (rect?.y ?? 0) - minusPx
|
|
594
|
-
return totalHeight
|
|
595
|
-
|
|
596
|
-
// let topDivHeight = 120
|
|
597
|
-
// const boxCard = document.querySelector('.box-card')
|
|
598
|
-
// if (boxCard && boxCard !== null) {
|
|
599
|
-
// // 表示是配置系统的列表页面
|
|
600
|
-
// // 16 .gray .app-container .box-card,
|
|
601
|
-
// // 20为内容区域的padding 20
|
|
602
|
-
// // 34 + 5为翻页 height 和margin-top
|
|
603
|
-
// topDivHeight = 16 * 2 + 20 + 34 + 5
|
|
604
|
-
// }
|
|
605
|
-
|
|
606
|
-
// if (isShowMenuRoute() === true) {
|
|
607
|
-
// // 如果显示菜单层级,列表高度需要减少50
|
|
608
|
-
// topDivHeight = topDivHeight + 50
|
|
609
|
-
// }
|
|
610
|
-
|
|
611
|
-
// const listGrid = document.querySelector('.el-tabs__content .' + listCode)
|
|
612
|
-
// if (listGrid) {
|
|
613
|
-
// // 表示当前列表在tab页签内容,需要减去tab的高度
|
|
614
|
-
// topDivHeight = topDivHeight + 80
|
|
615
|
-
// }
|
|
616
|
-
// if (pageHeight === undefined || pageHeight === null || pageHeight === '') {
|
|
617
|
-
// pageHeight = window.innerHeight
|
|
618
|
-
// } else {
|
|
619
|
-
// // 表示弹框页面的高度
|
|
620
|
-
// topDivHeight = 0
|
|
621
|
-
// }
|
|
622
|
-
// let totalHeight = pageHeight - topDivHeight
|
|
623
|
-
// if (superGrid) {
|
|
624
|
-
// totalHeight = pageHeight - superGrid.$el.offsetTop - topDivHeight
|
|
625
|
-
// }
|
|
626
|
-
// return totalHeight
|
|
627
|
-
}
|
|
628
|
-
|
|
629
|
-
export function getExtraParam(searchParam, gridParams) {
|
|
630
|
-
const param = {
|
|
631
|
-
searchParam: searchParam
|
|
632
|
-
}
|
|
633
|
-
param.withDataPermission = gridParams.options.isWithDataPermission
|
|
634
|
-
param.isWorkflowEntity = gridParams.options.isWorkflowEntity
|
|
635
|
-
if (gridParams.options.extraParam) {
|
|
636
|
-
for (const paramName in gridParams.options.extraParam) {
|
|
637
|
-
param[paramName] = gridParams.options.extraParam[paramName]
|
|
638
|
-
}
|
|
639
|
-
}
|
|
640
|
-
return param
|
|
641
|
-
}
|
|
642
|
-
|
|
643
|
-
export function analysisFileSetObj(fileSetObj, isSql) {
|
|
644
|
-
let showName = ''
|
|
645
|
-
let serverPath = ''
|
|
646
|
-
if (fileSetObj) {
|
|
647
|
-
if (fileSetObj.showNameData) {
|
|
648
|
-
if (isSql) {
|
|
649
|
-
if (fileSetObj.showNameData.dbName) {
|
|
650
|
-
showName = fileSetObj.showNameData.dbName
|
|
651
|
-
}
|
|
652
|
-
} else {
|
|
653
|
-
if (fileSetObj.showNameData.name) {
|
|
654
|
-
showName = fileSetObj.showNameData.name
|
|
655
|
-
}
|
|
656
|
-
}
|
|
657
|
-
}
|
|
658
|
-
if (fileSetObj.serverNameData) {
|
|
659
|
-
if (isSql) {
|
|
660
|
-
if (fileSetObj.serverNameData.dbName) {
|
|
661
|
-
serverPath = fileSetObj.serverNameData.dbName
|
|
662
|
-
}
|
|
663
|
-
} else {
|
|
664
|
-
if (fileSetObj.serverNameData.name) {
|
|
665
|
-
serverPath = fileSetObj.serverNameData.name
|
|
666
|
-
}
|
|
667
|
-
}
|
|
668
|
-
}
|
|
669
|
-
}
|
|
670
|
-
return {
|
|
671
|
-
showName: showName,
|
|
672
|
-
serverPath: serverPath
|
|
673
|
-
}
|
|
674
|
-
}
|
|
675
|
-
|
|
676
|
-
export function otherFilesToStandard(fileSetObj, keyValueParam, files, filesStringData) {
|
|
677
|
-
const standardFiles = []
|
|
678
|
-
if (files) {
|
|
679
|
-
if (files && files.length > 0) {
|
|
680
|
-
for (var i = 0; i < files.length; i++) {
|
|
681
|
-
const file = files[i]
|
|
682
|
-
const standardFile = packageFile(file[keyValueParam.showName], file[keyValueParam.serverPath])
|
|
683
|
-
standardFiles.push(standardFile)
|
|
684
|
-
}
|
|
685
|
-
}
|
|
686
|
-
} else if (filesStringData) {
|
|
687
|
-
const showNameStr = filesStringData.showName
|
|
688
|
-
const serverNameStr = filesStringData.serverPath
|
|
689
|
-
if (showNameStr && serverNameStr) {
|
|
690
|
-
const showNameArr = showNameStr.split(',')
|
|
691
|
-
const serverNameArr = serverNameStr.split(',')
|
|
692
|
-
for (var k = 0; k < showNameArr.length; k++) {
|
|
693
|
-
const standardFile = packageFile(showNameArr[k], serverNameArr[k])
|
|
694
|
-
standardFiles.push(standardFile)
|
|
695
|
-
}
|
|
696
|
-
}
|
|
697
|
-
}
|
|
698
|
-
return standardFiles
|
|
699
|
-
}
|
|
700
|
-
|
|
701
|
-
export function packageFile(showName, serverPath) {
|
|
702
|
-
if (showName) {
|
|
703
|
-
showName = showName.replace('#', '~~').replace('?', '~$').replace('&', '$')
|
|
704
|
-
}
|
|
705
|
-
const standardFile = {}
|
|
706
|
-
standardFile.showName = showName
|
|
707
|
-
standardFile.serverPath = serverPath
|
|
708
|
-
|
|
709
|
-
if (standardFile.showName && /\.(jpg|JPG|jpeg|JPEG|png|PNG|gif|GIF|bmp|BMP|psd|PSD|tif|TIF)$/.test(showName)) {
|
|
710
|
-
standardFile.isImg = true
|
|
711
|
-
}
|
|
712
|
-
const token = getToken()
|
|
713
|
-
let url = window.$vueApp.config.globalProperties.baseURL + '/common/super-form/downloads?jwt=' + token
|
|
714
|
-
if (isPlateSys(window.$vueApp.config.globalProperties.systemCode)) {
|
|
715
|
-
url = window.$vueApp.config.globalProperties.baseAPI + '/component/super-form/downloads?jwt=' + token
|
|
716
|
-
}
|
|
717
|
-
const src = url + '&showName=' + encodeURI(standardFile.showName) + '&serverPath=' + standardFile.serverPath
|
|
718
|
-
standardFile.src = src
|
|
719
|
-
return standardFile
|
|
720
|
-
}
|
|
721
|
-
|
|
722
|
-
export function getFileList(row, column, isSql) {
|
|
723
|
-
let fileList = []
|
|
724
|
-
if (
|
|
725
|
-
column.fileSet &&
|
|
726
|
-
column.fileSet !== '' &&
|
|
727
|
-
(column.componentType === 'annex' || column.componentType === 'multipartUpload')
|
|
728
|
-
) {
|
|
729
|
-
const fileSetObj = JSON.parse(column.fileSet)
|
|
730
|
-
const keyValueParam = analysisFileSetObj(fileSetObj, isSql)
|
|
731
|
-
if (fileSetObj && fileSetObj.multiple) {
|
|
732
|
-
if (fileSetObj.childAnnexDataTableCode) {
|
|
733
|
-
// const lowerStr = fileSetObj.childAnnexDataTableCode.toLowerCase()
|
|
734
|
-
const fileArr = row[column.prop]
|
|
735
|
-
// 子表
|
|
736
|
-
fileList = otherFilesToStandard(fileSetObj, keyValueParam, fileArr, null)
|
|
737
|
-
} else {
|
|
738
|
-
const filesStringData = {
|
|
739
|
-
showName: getEntityFieldValue(row, keyValueParam.showName),
|
|
740
|
-
serverPath: getEntityFieldValue(row, keyValueParam.serverPath)
|
|
741
|
-
}
|
|
742
|
-
fileList = otherFilesToStandard(fileSetObj, keyValueParam, null, filesStringData)
|
|
743
|
-
}
|
|
744
|
-
} else {
|
|
745
|
-
const showName = getEntityFieldValue(row, keyValueParam.showName)
|
|
746
|
-
const serverPath = getEntityFieldValue(row, keyValueParam.serverPath)
|
|
747
|
-
fileList.push(packageFile(showName, serverPath))
|
|
748
|
-
}
|
|
749
|
-
}
|
|
750
|
-
return fileList
|
|
751
|
-
}
|
|
752
|
-
|
|
753
|
-
export function getDynamicDataSourceOptions(column, isSql, additionalParamMap, baseURL) {
|
|
754
|
-
let additionalParameter
|
|
755
|
-
if (additionalParamMap) {
|
|
756
|
-
console.log('getDynamicDataSourceOptions--additionalParamMap=', additionalParamMap)
|
|
757
|
-
if (additionalParamMap && typeof additionalParamMap === 'object') {
|
|
758
|
-
additionalParameter = JSON.stringify(additionalParamMap)
|
|
759
|
-
} else if (additionalParamMap && additionalParamMap !== '') {
|
|
760
|
-
additionalParameter = additionalParamMap
|
|
761
|
-
}
|
|
762
|
-
}
|
|
763
|
-
const options = {
|
|
764
|
-
isSql: isSql,
|
|
765
|
-
additionalParameter: additionalParameter,
|
|
766
|
-
backendUrl: baseURL
|
|
767
|
-
}
|
|
768
|
-
// 如果是多选文件类型,需要解析(需要设置临时字段,判断文件还是图片,图片需要预览)
|
|
769
|
-
if (column.valueSetOptions) {
|
|
770
|
-
const valueSetOptionsObj = JSON.parse(column.valueSetOptions)
|
|
771
|
-
if (valueSetOptionsObj && valueSetOptionsObj.valueSetOptions) {
|
|
772
|
-
options.valueSetOptions = valueSetOptionsObj.valueSetOptions
|
|
773
|
-
}
|
|
774
|
-
if (valueSetOptionsObj.dynamicDataSourceCode && valueSetOptionsObj.dynamicDataSourceCode !== '') {
|
|
775
|
-
options.dynamicDataSourceCode = valueSetOptionsObj.dynamicDataSourceCode
|
|
776
|
-
}
|
|
777
|
-
}
|
|
778
|
-
options.controlConfig = getControlConfig(column)
|
|
779
|
-
return options
|
|
780
|
-
}
|
|
781
|
-
|
|
782
|
-
// 值设置是否是动态数据源类型的数据源
|
|
783
|
-
export function isDynamicDataSourceSource(column) {
|
|
784
|
-
if (column.valueSetOptions) {
|
|
785
|
-
const valueSetOptionsObj = JSON.parse(column.valueSetOptions)
|
|
786
|
-
if (
|
|
787
|
-
(valueSetOptionsObj.type && valueSetOptionsObj.type === 'dynamicData') ||
|
|
788
|
-
valueSetOptionsObj.dynamicDataSourceCode
|
|
789
|
-
) {
|
|
790
|
-
// 表示是动态数据源
|
|
791
|
-
return true
|
|
792
|
-
}
|
|
793
|
-
}
|
|
794
|
-
if (column.valueSet && column.valueSet.length > 0 && column.valueSet[0].value === 'dynamicDataSource') {
|
|
795
|
-
// 表示是动态数据源
|
|
796
|
-
return true
|
|
797
|
-
} else {
|
|
798
|
-
return false
|
|
799
|
-
}
|
|
800
|
-
}
|
|
801
|
-
// 获得最后一页的页数
|
|
802
|
-
export function getLastPageNum(total, rowsPerPage) {
|
|
803
|
-
if (total === undefined || total === null || total === 0) {
|
|
804
|
-
return 1
|
|
805
|
-
} else if (rowsPerPage === undefined || rowsPerPage === null || rowsPerPage === 0) {
|
|
806
|
-
return 1
|
|
807
|
-
} else {
|
|
808
|
-
return Math.ceil(total / rowsPerPage)
|
|
809
|
-
}
|
|
810
|
-
}
|
|
811
|
-
|
|
812
|
-
// 获得指定记录索引所属的页码
|
|
813
|
-
export function getRowIndexPage(rowsPerPage, addRowIndex) {
|
|
814
|
-
if (rowsPerPage === undefined || rowsPerPage === null || rowsPerPage === 0) {
|
|
815
|
-
return 1
|
|
816
|
-
} else if (addRowIndex === undefined || addRowIndex === null || addRowIndex === 0) {
|
|
817
|
-
return 1
|
|
818
|
-
} else {
|
|
819
|
-
return Math.ceil(addRowIndex / rowsPerPage)
|
|
820
|
-
}
|
|
821
|
-
}
|
|
822
|
-
// 纵向滚动条滚动最底部功能
|
|
823
|
-
export function scrollYToBottom(listCode) {
|
|
824
|
-
const scrollDivElement = document.querySelector('.' + listCode + ' .el-table--scrollable-y .el-table__body-wrapper')
|
|
825
|
-
if (scrollDivElement && scrollDivElement !== null) {
|
|
826
|
-
// 表示有滚动条,需要将滚动条滚动最底部
|
|
827
|
-
scrollDivElement.scrollTop = scrollDivElement.scrollHeight
|
|
828
|
-
}
|
|
829
|
-
}
|
|
830
|
-
|
|
831
|
-
export function getAdditionalParamMap(gridParams) {
|
|
832
|
-
let additionalParamMap = null
|
|
833
|
-
if (gridParams.additionalParamMap && typeof gridParams.additionalParamMap === 'object') {
|
|
834
|
-
additionalParamMap = gridParams.additionalParamMap
|
|
835
|
-
} else if (gridParams.additionalParamMap && gridParams.additionalParamMap !== '') {
|
|
836
|
-
additionalParamMap = JSON.parse(gridParams.additionalParamMap)
|
|
837
|
-
}
|
|
838
|
-
return additionalParamMap
|
|
839
|
-
}
|
|
840
|
-
|
|
841
|
-
// 获得控件的配置信息,例如:自定义控件的附加配置等
|
|
842
|
-
export function getControlConfig(column) {
|
|
843
|
-
let controlConfig = {}
|
|
844
|
-
if (column && column.controlConfig) {
|
|
845
|
-
controlConfig = JSON.parse(column.controlConfig)
|
|
846
|
-
}
|
|
847
|
-
return controlConfig
|
|
848
|
-
}
|
|
849
|
-
|
|
850
|
-
export function getContentAlign(column, gridParams) {
|
|
851
|
-
let align
|
|
852
|
-
if (gridParams.options?.align && gridParams.options.align !== '') {
|
|
853
|
-
align = gridParams.options.align
|
|
854
|
-
} else if (column.contAlign && column.contAlign !== '') {
|
|
855
|
-
align = column.contAlign
|
|
856
|
-
}
|
|
857
|
-
return align
|
|
858
|
-
}
|
|
859
|
-
|
|
860
|
-
export function getHeaderAlign(column, gridParams) {
|
|
861
|
-
let headerAlign
|
|
862
|
-
if (gridParams.options?.headerAlign && gridParams.options.headerAlign !== '') {
|
|
863
|
-
headerAlign = gridParams.options.headerAlign
|
|
864
|
-
} else if (column.titleAlign && column.titleAlign !== '') {
|
|
865
|
-
headerAlign = column.titleAlign
|
|
866
|
-
}
|
|
867
|
-
return headerAlign
|
|
868
|
-
}
|
|
869
|
-
|
|
870
|
-
export function getHeaderLable(column) {
|
|
871
|
-
let label = column.label
|
|
872
|
-
if (!column.titleValueSet) {
|
|
873
|
-
label = label.replace(/\\n/g, '</br>')
|
|
874
|
-
} else {
|
|
875
|
-
label = formatHeader(column)
|
|
876
|
-
}
|
|
877
|
-
if (label === null || label === undefined || label === '') {
|
|
878
|
-
label = column.prop
|
|
879
|
-
}
|
|
880
|
-
return label
|
|
881
|
-
}
|
|
882
|
-
|
|
883
|
-
function formatHeader(column) {
|
|
884
|
-
return doFormatWithValueSet(column.titleValueSetValue, column.label)
|
|
885
|
-
}
|
|
886
|
-
|
|
887
|
-
export function parseSubTableActionCondition(gridParams, parentFormData, row, actionCondition) {
|
|
888
|
-
if (!actionCondition) {
|
|
889
|
-
return
|
|
890
|
-
}
|
|
891
|
-
let canAction = true
|
|
892
|
-
if (actionCondition.parentCondition) {
|
|
893
|
-
// 主表条件
|
|
894
|
-
// ${field[xx]}会被解析为子表字段,所以替换父级字段
|
|
895
|
-
canAction = parseSubTablePermissionCondition(
|
|
896
|
-
actionCondition.parentCondition.replaceAll('${field[', '${parent['),
|
|
897
|
-
gridParams.pageContext?.dataTypeMaps,
|
|
898
|
-
parentFormData,
|
|
899
|
-
row,
|
|
900
|
-
gridParams.additionalParamMap,
|
|
901
|
-
gridParams.pageContext?.entity?.task,
|
|
902
|
-
gridParams.pageContext?.contextParam || gridParams.contextParameter
|
|
903
|
-
)
|
|
904
|
-
}
|
|
905
|
-
if (canAction === false) {
|
|
906
|
-
return false
|
|
907
|
-
}
|
|
908
|
-
if (actionCondition.condition) {
|
|
909
|
-
// 有子表条件时
|
|
910
|
-
return parseSubTablePermissionCondition(
|
|
911
|
-
actionCondition.condition,
|
|
912
|
-
gridParams.$dataTypeMap,
|
|
913
|
-
parentFormData,
|
|
914
|
-
row,
|
|
915
|
-
gridParams.additionalParamMap,
|
|
916
|
-
gridParams.pageContext?.entity?.task,
|
|
917
|
-
gridParams.pageContext?.contextParam || gridParams.contextParameter
|
|
918
|
-
)
|
|
919
|
-
}
|
|
920
|
-
return true
|
|
921
|
-
}
|
|
922
|
-
|
|
923
|
-
export function getClassOptionTitleCommon(val, options) {
|
|
924
|
-
if (val !== null && val !== undefined && val !== '' && val.length > 0) {
|
|
925
|
-
let selectTittle = ''
|
|
926
|
-
if (typeof val === 'string') {
|
|
927
|
-
// 单选
|
|
928
|
-
options?.forEach((item) => {
|
|
929
|
-
if (item.value === val) {
|
|
930
|
-
selectTittle = item.label
|
|
931
|
-
}
|
|
932
|
-
})
|
|
933
|
-
} else {
|
|
934
|
-
// 多选
|
|
935
|
-
options?.forEach((item) => {
|
|
936
|
-
val.forEach((Vtem) => {
|
|
937
|
-
if (item.value === Vtem) {
|
|
938
|
-
selectTittle = selectTittle + item.label + ','
|
|
939
|
-
}
|
|
940
|
-
})
|
|
941
|
-
})
|
|
942
|
-
selectTittle = selectTittle.slice(0, selectTittle.length - 1)
|
|
943
|
-
}
|
|
944
|
-
return selectTittle
|
|
945
|
-
}
|
|
946
|
-
}
|