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
package/src/utils/util.js
DELETED
|
@@ -1,1000 +0,0 @@
|
|
|
1
|
-
import i18n from '../i18n/i18n'
|
|
2
|
-
import { executeExpression } from './calculator/calculator-util'
|
|
3
|
-
import { getLangByShort } from './common-util'
|
|
4
|
-
|
|
5
|
-
export function getI18n() {
|
|
6
|
-
let myI18n = window.$i18n
|
|
7
|
-
if (!myI18n) {
|
|
8
|
-
myI18n = i18n
|
|
9
|
-
}
|
|
10
|
-
if (!window.$locale) {
|
|
11
|
-
i18n.locale = 'cn'
|
|
12
|
-
} else {
|
|
13
|
-
i18n.locale = window.$locale
|
|
14
|
-
}
|
|
15
|
-
return myI18n.global
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export function getLanguageWithLocale() {
|
|
19
|
-
let currentLocale = window.$locale
|
|
20
|
-
if (!currentLocale || currentLocale === 'zh') {
|
|
21
|
-
currentLocale = 'cn'
|
|
22
|
-
}
|
|
23
|
-
return getLangByShort(currentLocale)
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* 根据动态数据源获得下拉选的选项集合
|
|
28
|
-
* @param {*} dynamicSourceCode 动态数据源编码
|
|
29
|
-
* @param {*} searchText 查询的文本
|
|
30
|
-
* @param {*} entity 实体信息
|
|
31
|
-
* @returns
|
|
32
|
-
*/
|
|
33
|
-
export function findOptionsByDynamicDataSource(
|
|
34
|
-
dynamicSourceCode,
|
|
35
|
-
searchText,
|
|
36
|
-
entity,
|
|
37
|
-
additionalParameterStr,
|
|
38
|
-
searchParam
|
|
39
|
-
) {
|
|
40
|
-
return new Promise((resolve, reject) => {
|
|
41
|
-
findDynamicDataSourceByCode(dynamicSourceCode, searchText, entity, additionalParameterStr, searchParam)
|
|
42
|
-
.then((dynamicDataSourceDto) => {
|
|
43
|
-
let options = []
|
|
44
|
-
if (dynamicDataSourceDto && dynamicDataSourceDto.options) {
|
|
45
|
-
const setOptions = dynamicDataSourceDto.options
|
|
46
|
-
let valueAttribute
|
|
47
|
-
if (dynamicDataSourceDto.valueAttribute) {
|
|
48
|
-
valueAttribute = dynamicDataSourceDto.valueAttribute
|
|
49
|
-
}
|
|
50
|
-
if (!valueAttribute || valueAttribute === '[label]') {
|
|
51
|
-
valueAttribute = '_label_'
|
|
52
|
-
}
|
|
53
|
-
setOptions.forEach((item) => {
|
|
54
|
-
// 值
|
|
55
|
-
const value = item[valueAttribute]
|
|
56
|
-
// 显示的标签
|
|
57
|
-
const label = item['_label_']
|
|
58
|
-
options.push({
|
|
59
|
-
label,
|
|
60
|
-
value
|
|
61
|
-
})
|
|
62
|
-
})
|
|
63
|
-
}
|
|
64
|
-
if (!options) {
|
|
65
|
-
options = []
|
|
66
|
-
}
|
|
67
|
-
resolve(options)
|
|
68
|
-
})
|
|
69
|
-
.catch((error) => {
|
|
70
|
-
reject(error)
|
|
71
|
-
})
|
|
72
|
-
})
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* 根据动态数据源获得下拉选的选项对象集合
|
|
77
|
-
* @param {*} dynamicSourceCode 动态数据源编码
|
|
78
|
-
* @param {*} searchText 查询的文本
|
|
79
|
-
* @param {*} entity 实体信息
|
|
80
|
-
* @returns
|
|
81
|
-
*/
|
|
82
|
-
export function findDynamicDataSourceByCode(
|
|
83
|
-
dynamicSourceCode,
|
|
84
|
-
searchText,
|
|
85
|
-
entity,
|
|
86
|
-
additionalParameterStr,
|
|
87
|
-
searchParam
|
|
88
|
-
) {
|
|
89
|
-
let watchAttrValue
|
|
90
|
-
let parentEntity
|
|
91
|
-
let listCode
|
|
92
|
-
let formCode
|
|
93
|
-
let tableName
|
|
94
|
-
if (searchParam) {
|
|
95
|
-
watchAttrValue = searchParam.watchAttrValue
|
|
96
|
-
if (watchAttrValue === undefined || watchAttrValue === null) {
|
|
97
|
-
watchAttrValue = ''
|
|
98
|
-
}
|
|
99
|
-
parentEntity = searchParam.parent
|
|
100
|
-
listCode = searchParam._listCode
|
|
101
|
-
formCode = searchParam._formCode
|
|
102
|
-
tableName = searchParam._tableName
|
|
103
|
-
}
|
|
104
|
-
const params = {
|
|
105
|
-
searchText,
|
|
106
|
-
watchAttrValue,
|
|
107
|
-
parent: parentEntity
|
|
108
|
-
}
|
|
109
|
-
if (additionalParameterStr && typeof additionalParameterStr === 'object') {
|
|
110
|
-
params.additionalParamMap = additionalParameterStr
|
|
111
|
-
} else if (additionalParameterStr && typeof additionalParameterStr === 'string') {
|
|
112
|
-
params.additionalParamMap = JSON.parse(additionalParameterStr)
|
|
113
|
-
}
|
|
114
|
-
if (params.additionalParamMap === undefined) {
|
|
115
|
-
params.additionalParamMap = {}
|
|
116
|
-
}
|
|
117
|
-
if (listCode) {
|
|
118
|
-
params.additionalParamMap._listCode = listCode
|
|
119
|
-
}
|
|
120
|
-
if (formCode) {
|
|
121
|
-
params.additionalParamMap._formCode = formCode
|
|
122
|
-
}
|
|
123
|
-
if (tableName) {
|
|
124
|
-
params.additionalParamMap._tableName = tableName
|
|
125
|
-
}
|
|
126
|
-
if (entity && entity !== null) {
|
|
127
|
-
params.entity = entity
|
|
128
|
-
}
|
|
129
|
-
const backendUrl = window.$vueApp.config.globalProperties.baseURL
|
|
130
|
-
|
|
131
|
-
return new Promise((resolve, reject) => {
|
|
132
|
-
// 页面设计不请求动态数据源
|
|
133
|
-
if (
|
|
134
|
-
window.$vueApp.config.globalProperties.systemCode !== undefined &&
|
|
135
|
-
window.$vueApp.config.globalProperties.systemCode === 'agilebuilder'
|
|
136
|
-
) {
|
|
137
|
-
resolve()
|
|
138
|
-
} else {
|
|
139
|
-
window.$vueApp.config.globalProperties.$http
|
|
140
|
-
.post(backendUrl + '/common/dynamic-data-source/' + dynamicSourceCode, params)
|
|
141
|
-
.then((result) => {
|
|
142
|
-
if (result.backendUrl) {
|
|
143
|
-
// result.backendUrl表示需要使用动态数据源所属的系统路径重新获得一次数据
|
|
144
|
-
window.$vueApp.config.globalProperties.$http
|
|
145
|
-
.post(result.backendUrl + '/common/dynamic-data-source/' + dynamicSourceCode, params)
|
|
146
|
-
.then((finallyResult) => {
|
|
147
|
-
resolve(finallyResult)
|
|
148
|
-
})
|
|
149
|
-
.catch((error) => {
|
|
150
|
-
reject(error)
|
|
151
|
-
})
|
|
152
|
-
} else {
|
|
153
|
-
resolve(result)
|
|
154
|
-
}
|
|
155
|
-
})
|
|
156
|
-
.catch((error) => {
|
|
157
|
-
reject(error)
|
|
158
|
-
})
|
|
159
|
-
}
|
|
160
|
-
})
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
/**
|
|
164
|
-
* 解析是否可见的条件,例如:按钮是否按钮;列表单元格内容是否可见
|
|
165
|
-
* @param {*} conditionListJson
|
|
166
|
-
* @param {*} entity
|
|
167
|
-
* @param {*} additionalParameter
|
|
168
|
-
* @param {*} contextParameter
|
|
169
|
-
* @param {*} isSql
|
|
170
|
-
* @param {*} tableName
|
|
171
|
-
* @returns
|
|
172
|
-
*/
|
|
173
|
-
export function analysisCondition(
|
|
174
|
-
conditionListJson,
|
|
175
|
-
entity,
|
|
176
|
-
additionalParameter,
|
|
177
|
-
contextParameter,
|
|
178
|
-
isSql,
|
|
179
|
-
tableName,
|
|
180
|
-
parentFormData,
|
|
181
|
-
pageContext
|
|
182
|
-
) {
|
|
183
|
-
// console.log('analysisCondition判断条件conditionListJson', conditionListJson)
|
|
184
|
-
// console.log('analysisCondition判断条件entity', entity)
|
|
185
|
-
// console.log('analysisCondition判断条件additionalParameter', additionalParameter)
|
|
186
|
-
// console.log('analysisCondition判断条件contextParameter', contextParameter)
|
|
187
|
-
// console.log('analysisCondition判断条件isSql', isSql)
|
|
188
|
-
// console.log('analysisCondition判断条件tableName', tableName)
|
|
189
|
-
// console.log('analysisCondition判断条件parentFormData', parentFormData)
|
|
190
|
-
if (conditionListJson === undefined || conditionListJson === '' || conditionListJson === null) {
|
|
191
|
-
// 如果条件不存在,则默认返回true
|
|
192
|
-
return true
|
|
193
|
-
}
|
|
194
|
-
if (typeof isSql === 'undefined' || isSql === null) {
|
|
195
|
-
// 默认是定制开发时
|
|
196
|
-
isSql = false
|
|
197
|
-
}
|
|
198
|
-
// 页面附加参数
|
|
199
|
-
let additionalParameterMap = {}
|
|
200
|
-
if (additionalParameter && typeof additionalParameter === 'string' && additionalParameter !== '') {
|
|
201
|
-
additionalParameterMap = JSON.parse(additionalParameter)
|
|
202
|
-
} else if (additionalParameter && typeof additionalParameter === 'object') {
|
|
203
|
-
additionalParameterMap = additionalParameter
|
|
204
|
-
}
|
|
205
|
-
// 环境变量,例如:当前用户id、当前用户登录名等
|
|
206
|
-
let contextParameterMap = {}
|
|
207
|
-
if (contextParameter && typeof contextParameter === 'string' && contextParameter !== '') {
|
|
208
|
-
contextParameterMap = JSON.parse(contextParameter)
|
|
209
|
-
} else if (contextParameter && typeof contextParameter === 'object') {
|
|
210
|
-
contextParameterMap = contextParameter
|
|
211
|
-
}
|
|
212
|
-
let conditionList = []
|
|
213
|
-
if (conditionListJson && typeof conditionListJson === 'string' && conditionListJson !== '') {
|
|
214
|
-
// conditionList = eval('('+conditionListJson+')')
|
|
215
|
-
conditionList = JSON.parse(conditionListJson)
|
|
216
|
-
} else if (conditionListJson && Array.isArray(conditionListJson)) {
|
|
217
|
-
conditionList = conditionListJson
|
|
218
|
-
}
|
|
219
|
-
return parseCondition(
|
|
220
|
-
entity,
|
|
221
|
-
conditionList,
|
|
222
|
-
isSql,
|
|
223
|
-
tableName,
|
|
224
|
-
additionalParameterMap,
|
|
225
|
-
contextParameterMap,
|
|
226
|
-
parentFormData,
|
|
227
|
-
pageContext
|
|
228
|
-
)
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
function parseCondition(
|
|
232
|
-
entity,
|
|
233
|
-
conditionList,
|
|
234
|
-
isSql,
|
|
235
|
-
tableName,
|
|
236
|
-
additionalParamMap,
|
|
237
|
-
contextParameterMap,
|
|
238
|
-
parentFormData,
|
|
239
|
-
pageContext
|
|
240
|
-
) {
|
|
241
|
-
if (conditionList === undefined || conditionList === null || conditionList.length === 0) {
|
|
242
|
-
// 表示没有设置条件,默认是true
|
|
243
|
-
return true
|
|
244
|
-
}
|
|
245
|
-
// 条件封装的表达式
|
|
246
|
-
let conditions = ''
|
|
247
|
-
for (let i = 0; i < conditionList.length; i++) {
|
|
248
|
-
const condition = conditionList[i]
|
|
249
|
-
let propName = condition.propName
|
|
250
|
-
let propDbName = condition.propDbName
|
|
251
|
-
if ((!propName || propName === '') && (!propDbName || propDbName === '')) {
|
|
252
|
-
// 没有属性和字段名表示是无效的条件
|
|
253
|
-
continue
|
|
254
|
-
}
|
|
255
|
-
let leftValue
|
|
256
|
-
if (isSql && propDbName) {
|
|
257
|
-
if (propDbName.indexOf('parent_+_') !== -1) {
|
|
258
|
-
propDbName = propDbName.replace('parent_+_', '')
|
|
259
|
-
// 再获取属于那张表
|
|
260
|
-
const propDbNameArr = propDbName.split('_+_')
|
|
261
|
-
propDbName = propDbNameArr[1]
|
|
262
|
-
if (pageContext && propDbName && propDbName.indexOf('${') >= 0) {
|
|
263
|
-
leftValue = getPropValueNew(propDbName, pageContext, entity)
|
|
264
|
-
} else {
|
|
265
|
-
leftValue = getValue(parentFormData, propDbName, isSql)
|
|
266
|
-
}
|
|
267
|
-
// leftValue = getValue(parentFormData, propDbName, isSql)
|
|
268
|
-
} else {
|
|
269
|
-
if (pageContext && propDbName && propDbName.indexOf('${') >= 0) {
|
|
270
|
-
leftValue = getPropValueNew(propDbName, pageContext, entity)
|
|
271
|
-
} else {
|
|
272
|
-
leftValue = getValue(entity, propDbName, isSql)
|
|
273
|
-
}
|
|
274
|
-
// leftValue = getValue(entity, propDbName, isSql)
|
|
275
|
-
}
|
|
276
|
-
if (leftValue === undefined || leftValue === null) {
|
|
277
|
-
if (tableName && propDbName.toLowerCase().startsWith(tableName.toLowerCase() + '.')) {
|
|
278
|
-
// 表示是当前表的字段
|
|
279
|
-
const myProp = propDbName.substring(propDbName.indexOf('.'))
|
|
280
|
-
if (pageContext && myProp && myProp.indexOf('${') >= 0) {
|
|
281
|
-
leftValue = getPropValueNew(myProp, pageContext, entity)
|
|
282
|
-
} else {
|
|
283
|
-
leftValue = getValue(entity, myProp, isSql)
|
|
284
|
-
}
|
|
285
|
-
// leftValue = getValue(entity, myProp, isSql)
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
} else {
|
|
289
|
-
if (propName.indexOf('parent_+_') !== -1) {
|
|
290
|
-
propName = propName.replace('parent_+_', '')
|
|
291
|
-
const propNameArr = propName.split('_+_')
|
|
292
|
-
propName = propNameArr[1]
|
|
293
|
-
if (pageContext && propName && propName.indexOf('${') >= 0) {
|
|
294
|
-
leftValue = getPropValueNew(propName, pageContext, entity)
|
|
295
|
-
} else {
|
|
296
|
-
leftValue = getValue(parentFormData, propName, isSql)
|
|
297
|
-
}
|
|
298
|
-
// leftValue = getValue(parentFormData, propName, isSql)
|
|
299
|
-
} else {
|
|
300
|
-
if (pageContext && propName && propName.indexOf('${') >= 0) {
|
|
301
|
-
leftValue = getPropValueNew(propName, pageContext, entity)
|
|
302
|
-
} else {
|
|
303
|
-
leftValue = getValue(entity, propName, isSql)
|
|
304
|
-
}
|
|
305
|
-
// leftValue = getValue(entity, propName, isSql)
|
|
306
|
-
}
|
|
307
|
-
if (propDbName && (leftValue === undefined || leftValue === null)) {
|
|
308
|
-
if (pageContext && propDbName && propDbName.indexOf('${') >= 0) {
|
|
309
|
-
leftValue = getPropValueNew(propDbName, pageContext, entity)
|
|
310
|
-
} else {
|
|
311
|
-
leftValue = getValue(entity, propDbName, isSql)
|
|
312
|
-
}
|
|
313
|
-
// leftValue = getValue(entity, propDbName, isSql)
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
const operator = condition.operator
|
|
317
|
-
const propValue = condition.propValue
|
|
318
|
-
const dataType = condition.dataType
|
|
319
|
-
const variableIsNullStr = condition.variableIsNull
|
|
320
|
-
// 解析单个条件的值
|
|
321
|
-
// 判断value类型
|
|
322
|
-
let value
|
|
323
|
-
if (pageContext) {
|
|
324
|
-
value = getPropValueNew(propValue, pageContext, entity)
|
|
325
|
-
} else {
|
|
326
|
-
value = getPropValue(propValue, entity, additionalParamMap, contextParameterMap)
|
|
327
|
-
}
|
|
328
|
-
if (variableIsNullStr && variableIsNullStr === 'null') {
|
|
329
|
-
if (value === undefined || value === '') {
|
|
330
|
-
value = null
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
let conditionResult = executeExpression(leftValue, operator, value, dataType)
|
|
334
|
-
const leftBracket = condition.leftBracket
|
|
335
|
-
const rightBracket = condition.rightBracket
|
|
336
|
-
let joinSign = condition.joinSign
|
|
337
|
-
if (leftBracket && leftBracket !== null && leftBracket !== '') {
|
|
338
|
-
conditions = conditions + leftBracket
|
|
339
|
-
conditions = conditions + ' '
|
|
340
|
-
// conditions.append(leftBracket).append(' ')
|
|
341
|
-
}
|
|
342
|
-
if (variableIsNullStr && variableIsNullStr !== 'null') {
|
|
343
|
-
if (value === undefined || value === null || value + '' === '') {
|
|
344
|
-
if (variableIsNullStr === '1=1') {
|
|
345
|
-
conditionResult = true
|
|
346
|
-
} else {
|
|
347
|
-
conditionResult = false
|
|
348
|
-
}
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
conditions += conditionResult + ' '
|
|
352
|
-
if (rightBracket && rightBracket !== null && rightBracket !== '') {
|
|
353
|
-
conditions = conditions + rightBracket
|
|
354
|
-
conditions = conditions + ' '
|
|
355
|
-
// conditions.append(rightBracket).append(' ')
|
|
356
|
-
}
|
|
357
|
-
if (i < conditionList.length - 1) {
|
|
358
|
-
// 最后一个不拼接“连接符”
|
|
359
|
-
if (joinSign && joinSign !== null && joinSign !== '') {
|
|
360
|
-
const joinSignIgnoreCase = joinSign.toLowerCase()
|
|
361
|
-
if (joinSignIgnoreCase === 'and') {
|
|
362
|
-
joinSign = joinSignIgnoreCase.replace('and', '&&')
|
|
363
|
-
} else if (joinSignIgnoreCase === 'or') {
|
|
364
|
-
joinSign = joinSignIgnoreCase.replace('or', '||')
|
|
365
|
-
}
|
|
366
|
-
conditions += joinSign + ' '
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
console.log('parseCondition----conditions=', conditions)
|
|
371
|
-
if (conditions) {
|
|
372
|
-
// eslint-disable-next-line no-eval
|
|
373
|
-
return eval('(' + conditions + ')')
|
|
374
|
-
} else {
|
|
375
|
-
return true
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
const REPLACE_DOT = '__'
|
|
380
|
-
|
|
381
|
-
function getValue(entityData, fieldName, isSql) {
|
|
382
|
-
let value = null
|
|
383
|
-
if (entityData && entityData !== null) {
|
|
384
|
-
if (fieldName && fieldName !== null) {
|
|
385
|
-
value = getValueByField(entityData, fieldName)
|
|
386
|
-
if (value === undefined || value === null) {
|
|
387
|
-
if (isSql) {
|
|
388
|
-
if (value === undefined || value == null) {
|
|
389
|
-
if (fieldName.indexOf('.') > 0) {
|
|
390
|
-
// 将“.”替换为'__',列表组件中的entity中如果是'.',传过来的实体信息中的字段属性会是“__”
|
|
391
|
-
fieldName = fieldName.replace('.', REPLACE_DOT)
|
|
392
|
-
value = getValueByField(entityData, fieldName)
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
return value
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
export function getValueByField(entityData, fieldName) {
|
|
403
|
-
if (entityData && entityData !== null) {
|
|
404
|
-
let value
|
|
405
|
-
if (fieldName.indexOf('.') > 0) {
|
|
406
|
-
// 表示是子表字段
|
|
407
|
-
value = getSubEntityValue(entityData, fieldName)
|
|
408
|
-
} else {
|
|
409
|
-
value = entityData[fieldName.toUpperCase()]
|
|
410
|
-
if (value === undefined) {
|
|
411
|
-
value = entityData[fieldName.toLowerCase()]
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
|
-
return value
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
function getSubEntityValue(entityData, fieldName) {
|
|
419
|
-
let value = null
|
|
420
|
-
let subEntityData = entityData
|
|
421
|
-
const fieldNames = fieldName.split('\\.')
|
|
422
|
-
for (let i = 0; i < fieldNames.length; i++) {
|
|
423
|
-
const field = fieldNames[i]
|
|
424
|
-
if (i === fieldNames.length) {
|
|
425
|
-
value = getSubEntityFieldValue(subEntityData, field)
|
|
426
|
-
} else {
|
|
427
|
-
subEntityData = getSubEntityFieldValue(subEntityData, field)
|
|
428
|
-
}
|
|
429
|
-
}
|
|
430
|
-
return value
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
/**
|
|
434
|
-
* 获得关联表字段的值。
|
|
435
|
-
* 处理sql 或 实体情况。
|
|
436
|
-
* @param subEntityData
|
|
437
|
-
* @param fieldName
|
|
438
|
-
* @return
|
|
439
|
-
*/
|
|
440
|
-
function getSubEntityFieldValue(subEntityData, fieldName) {
|
|
441
|
-
if (subEntityData === undefined || subEntityData === null) {
|
|
442
|
-
return null
|
|
443
|
-
}
|
|
444
|
-
return subEntityData[fieldName]
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
function getContextValue(contextParameterMap, propValue) {
|
|
448
|
-
let value = getLastNDate(propValue)
|
|
449
|
-
if (contextParameterMap) {
|
|
450
|
-
value = contextParameterMap[propValue]
|
|
451
|
-
}
|
|
452
|
-
return value
|
|
453
|
-
}
|
|
454
|
-
/**
|
|
455
|
-
* 获得最近n天的开始日期和结束日期集合
|
|
456
|
-
* @param {*} propValue currentTime/currentWeek/currentMonth/currentQuarter/currentYear/lastNDay:n
|
|
457
|
-
* @returns [startDate,endDate],例如:[2024/2/26 00:00:00,2023/3/3 23:59:59]
|
|
458
|
-
*/
|
|
459
|
-
export function getLastNDate(propValue) {
|
|
460
|
-
let value
|
|
461
|
-
if (propValue && propValue === 'currentTime') {
|
|
462
|
-
// 当前时间
|
|
463
|
-
value = new Date()
|
|
464
|
-
}
|
|
465
|
-
if (propValue && propValue === 'currentWeek') {
|
|
466
|
-
// 本周
|
|
467
|
-
value = getCurrentWeek()
|
|
468
|
-
}
|
|
469
|
-
if (propValue && propValue === 'currentMonth') {
|
|
470
|
-
// 本月
|
|
471
|
-
value = getCurrentMonth()
|
|
472
|
-
}
|
|
473
|
-
if (propValue && propValue === 'currentQuarter') {
|
|
474
|
-
// 本季度
|
|
475
|
-
value = getCurrentQuarter()
|
|
476
|
-
}
|
|
477
|
-
if (propValue && propValue === 'currentYear') {
|
|
478
|
-
// 本年
|
|
479
|
-
value = getCurrentYear()
|
|
480
|
-
}
|
|
481
|
-
if (propValue && propValue.indexOf('lastNDay') >= 0) {
|
|
482
|
-
// 最近n天 lastNDay:n,例如:lastNDay:5,表示最近5天
|
|
483
|
-
const n = propValue.substring(propValue.indexOf(':') + 1)
|
|
484
|
-
value = getLastNDay(parseInt(n))
|
|
485
|
-
}
|
|
486
|
-
return value
|
|
487
|
-
}
|
|
488
|
-
/**
|
|
489
|
-
* 获得当前周的周一和周日的的日期
|
|
490
|
-
* 例如:[2024/2/26 00:00:00,2023/3/3 23:59:59]
|
|
491
|
-
* @returns
|
|
492
|
-
*/
|
|
493
|
-
function getCurrentWeek() {
|
|
494
|
-
const new_Date = new Date() //获取本周一周日期
|
|
495
|
-
const timesStamp = new_Date.getTime()
|
|
496
|
-
const currenDay = new_Date.getDay()
|
|
497
|
-
// 周一
|
|
498
|
-
const monday = new Date(timesStamp + 24 * 60 * 60 * 1000 * (0 - ((currenDay + 6) % 7)))
|
|
499
|
-
// 周日
|
|
500
|
-
const sunday = new Date(timesStamp + 24 * 60 * 60 * 1000 * (6 - ((currenDay + 6) % 7)))
|
|
501
|
-
const startDate = monday.toLocaleDateString() + ' ' + monday.toLocaleTimeString()
|
|
502
|
-
const endDate = sunday.toLocaleDateString() + ' ' + sunday.toLocaleTimeString()
|
|
503
|
-
console.log(`getCurrentMonth从 ${startDate} 开始,到 ${endDate} 结束`)
|
|
504
|
-
return [monday, sunday]
|
|
505
|
-
}
|
|
506
|
-
/**
|
|
507
|
-
* 获得当前月第1天和最后1天的日期
|
|
508
|
-
* 例如:[2023/1/1 00:00:00,2023/1/31 23:59:59]
|
|
509
|
-
* @returns [xxx,xxx]
|
|
510
|
-
*/
|
|
511
|
-
function getCurrentMonth() {
|
|
512
|
-
// 创建一个新的Date对象,表示当前时间
|
|
513
|
-
const currentDate = new Date()
|
|
514
|
-
|
|
515
|
-
// 获取当前年份和月份
|
|
516
|
-
const year = currentDate.getFullYear() // 获取完整的四位年份
|
|
517
|
-
const month = currentDate.getMonth() + 1 // getMonth返回值范围为0-11,因此加上1得到真正的月份
|
|
518
|
-
|
|
519
|
-
// 设置起始日期为本月第一天
|
|
520
|
-
currentDate.setDate(1)
|
|
521
|
-
|
|
522
|
-
// 将起始日期格式化成字符串形式(YYYY-MM-DD)
|
|
523
|
-
const startDateStr = `${year}/${month < 10 ? '0' : ''}${month}/01`
|
|
524
|
-
|
|
525
|
-
// 设置结束日期为下个月第一天的前一天
|
|
526
|
-
currentDate.setMonth(currentDate.getMonth() + 2)
|
|
527
|
-
currentDate.setDate(0)
|
|
528
|
-
|
|
529
|
-
// 将结束日期格式化成字符串形式(YYYY-MM-DD)
|
|
530
|
-
const endDateStr = `${currentDate.getFullYear()}/${currentDate.getMonth() < 9 ? '0' : ''}${
|
|
531
|
-
currentDate.getMonth() + 1
|
|
532
|
-
}/01`
|
|
533
|
-
const startDate11 = new Date(Date.parse(startDateStr))
|
|
534
|
-
const endDate11 = new Date(new Date(Date.parse(endDateStr)).getTime() - 1000)
|
|
535
|
-
const startDate = startDate11.toLocaleDateString() + ' ' + startDate11.toLocaleTimeString()
|
|
536
|
-
const endDate = endDate11.toLocaleDateString() + ' ' + endDate11.toLocaleTimeString()
|
|
537
|
-
console.log(`getCurrentMonth从 ${startDate} 开始,到 ${endDate} 结束`)
|
|
538
|
-
return [startDate11, endDate11]
|
|
539
|
-
}
|
|
540
|
-
/**
|
|
541
|
-
* 获得当前季度第1天和最后一天的日期
|
|
542
|
-
* 例如:[2023/1/1 00:00:00,2023/3/31 23:59:59]
|
|
543
|
-
* @returns
|
|
544
|
-
*/
|
|
545
|
-
function getCurrentQuarter() {
|
|
546
|
-
const currentDate = new Date()
|
|
547
|
-
const quarterStartIndex = (currentDate.getMonth() + 3) % 12
|
|
548
|
-
let firstDayOfQuarter // 存放第一天的Date对象
|
|
549
|
-
if (currentDate.getMonth() < quarterStartIndex + 2) {
|
|
550
|
-
firstDayOfQuarter = new Date(currentDate.getFullYear(), quarterStartIndex, 1)
|
|
551
|
-
} else {
|
|
552
|
-
firstDayOfQuarter = new Date(currentDate.getFullYear() + 1, quarterStartIndex, 1)
|
|
553
|
-
}
|
|
554
|
-
|
|
555
|
-
let lastDayOfQuarter // 存放最后一天的Date对象
|
|
556
|
-
if (firstDayOfQuarter.getMonth() === 11) {
|
|
557
|
-
lastDayOfQuarter = new Date(firstDayOfQuarter.getFullYear() + 1, 0, 0)
|
|
558
|
-
} else {
|
|
559
|
-
lastDayOfQuarter = new Date(firstDayOfQuarter.getFullYear(), firstDayOfQuarter.getMonth() + 3, 0)
|
|
560
|
-
}
|
|
561
|
-
lastDayOfQuarter = new Date(lastDayOfQuarter.getTime() + 24 * 60 * 60 * 1000 - 1000)
|
|
562
|
-
const startDate = firstDayOfQuarter.toLocaleDateString() + ' ' + firstDayOfQuarter.toLocaleTimeString()
|
|
563
|
-
const endDate = lastDayOfQuarter.toLocaleDateString() + ' ' + lastDayOfQuarter.toLocaleTimeString()
|
|
564
|
-
console.log(`getCurrentQuarter从 ${startDate} 开始,到 ${endDate} 结束`)
|
|
565
|
-
return [firstDayOfQuarter, lastDayOfQuarter]
|
|
566
|
-
}
|
|
567
|
-
/**
|
|
568
|
-
* 获得本年的第1天和最后一天的日期
|
|
569
|
-
* 例如:[2023/1/1 00:00:00,2023/12/31 23:59:59]
|
|
570
|
-
* @returns
|
|
571
|
-
*/
|
|
572
|
-
function getCurrentYear() {
|
|
573
|
-
// 创建一个新的日期对象
|
|
574
|
-
const currentYear = new Date().getFullYear() // 获取当前年份
|
|
575
|
-
|
|
576
|
-
// 设置为当前年的1月1号(第一天)
|
|
577
|
-
let firstDayOfCurrentYear = new Date(currentYear, 0)
|
|
578
|
-
firstDayOfCurrentYear.setMonth(0, 1) // 将月份设置为0表示1月
|
|
579
|
-
|
|
580
|
-
// 设置为下一年的12月31号(最后一天)
|
|
581
|
-
let lastDayOfCurrentYear = new Date(currentYear + 1, 0)
|
|
582
|
-
lastDayOfCurrentYear = lastDayOfCurrentYear.getTime() - 1000
|
|
583
|
-
lastDayOfCurrentYear = new Date(lastDayOfCurrentYear)
|
|
584
|
-
const startDate = firstDayOfCurrentYear.toLocaleDateString() + ' ' + firstDayOfCurrentYear.toLocaleTimeString()
|
|
585
|
-
const endDate = lastDayOfCurrentYear.toLocaleDateString() + ' ' + lastDayOfCurrentYear.toLocaleTimeString()
|
|
586
|
-
console.log(`getCurrentYear从 ${startDate} 开始,到 ${endDate} 结束`)
|
|
587
|
-
return [firstDayOfCurrentYear, lastDayOfCurrentYear]
|
|
588
|
-
}
|
|
589
|
-
/**
|
|
590
|
-
* 获得最近n天的日期[n天前,当前日期]。
|
|
591
|
-
* 例如:[2024/2/25 00:00:00,2024/2/29 23:59:59]
|
|
592
|
-
* @param {} n
|
|
593
|
-
*/
|
|
594
|
-
function getLastNDay(n) {
|
|
595
|
-
let currentDate = new Date() // 创建一个表示今天的Date对象
|
|
596
|
-
let year = currentDate.getFullYear() // 获取完整的四位年份
|
|
597
|
-
let month = currentDate.getMonth() + 1 // getMonth返回值范围为0-11,因此加上1得到真正的月份
|
|
598
|
-
let date = currentDate.getDate() // getMonth返回值范围为0-11,因此加上1得到真正的月份
|
|
599
|
-
let startDateStr = `${year}/${month < 10 ? '0' : ''}${month}/${date}`
|
|
600
|
-
currentDate = new Date(Date.parse(startDateStr))
|
|
601
|
-
currentDate.setDate(currentDate.getDate() + 1)
|
|
602
|
-
currentDate = new Date(currentDate.getTime() - 1000)
|
|
603
|
-
|
|
604
|
-
let lastNDay = new Date() // 创建一个表示今天的Date对象
|
|
605
|
-
lastNDay.setDate(lastNDay.getDate() - (n - 1))
|
|
606
|
-
const lastNYear = lastNDay.getFullYear() // 获取完整的四位年份
|
|
607
|
-
const lastNMonth = lastNDay.getMonth() + 1 // getMonth返回值范围为0-11,因此加上1得到真正的月份
|
|
608
|
-
const lastNDate = lastNDay.getDate() // getMonth返回值范围为0-11,因此加上1得到真正的月份
|
|
609
|
-
const endtDateStr = `${lastNYear}/${lastNMonth < 10 ? '0' : ''}${lastNMonth}/${lastNDate}`
|
|
610
|
-
lastNDay = new Date(Date.parse(endtDateStr))
|
|
611
|
-
|
|
612
|
-
const startDate = lastNDay.toLocaleDateString() + ' ' + lastNDay.toLocaleTimeString()
|
|
613
|
-
const endDate = currentDate.toLocaleDateString() + ' ' + currentDate.toLocaleTimeString()
|
|
614
|
-
console.log(`getLastNDay从 ${startDate} 开始,到 ${endDate} 结束`)
|
|
615
|
-
retur[(lastNDay, currentDate)]
|
|
616
|
-
}
|
|
617
|
-
export function getPropValue(
|
|
618
|
-
propValue,
|
|
619
|
-
entity,
|
|
620
|
-
additionalParamMap,
|
|
621
|
-
contextParameterMap,
|
|
622
|
-
parentEntity,
|
|
623
|
-
subEntity,
|
|
624
|
-
task
|
|
625
|
-
) {
|
|
626
|
-
const pageContext = {
|
|
627
|
-
entity: {
|
|
628
|
-
data: entity,
|
|
629
|
-
context: contextParameterMap,
|
|
630
|
-
request: additionalParamMap,
|
|
631
|
-
parent: parentEntity,
|
|
632
|
-
row: subEntity,
|
|
633
|
-
task: task
|
|
634
|
-
}
|
|
635
|
-
}
|
|
636
|
-
return getPropValueNew(propValue, pageContext)
|
|
637
|
-
}
|
|
638
|
-
|
|
639
|
-
function getAdditionalParamMap(pageContext) {
|
|
640
|
-
if (pageContext && pageContext.entity) {
|
|
641
|
-
let additionalParamMap = { ...pageContext.entity.page }
|
|
642
|
-
if (!additionalParamMap) {
|
|
643
|
-
additionalParamMap = {}
|
|
644
|
-
}
|
|
645
|
-
const requestMap = pageContext.entity.request
|
|
646
|
-
if (requestMap) {
|
|
647
|
-
Object.assign(additionalParamMap, requestMap)
|
|
648
|
-
}
|
|
649
|
-
return additionalParamMap
|
|
650
|
-
}
|
|
651
|
-
}
|
|
652
|
-
|
|
653
|
-
export function formatCustomParams(customParams, pageContext, row) {
|
|
654
|
-
const formatCustomParams = {}
|
|
655
|
-
if (customParams && customParams.length > 0) {
|
|
656
|
-
customParams.forEach((param) => {
|
|
657
|
-
if (param.paramValue && param.paramValue.indexOf('${') === 0) {
|
|
658
|
-
// 表示是动态变量
|
|
659
|
-
const dynamicValue = getPropValueNew(param.paramValue, pageContext, row)
|
|
660
|
-
if (dynamicValue !== undefined && dynamicValue !== null) {
|
|
661
|
-
formatCustomParams[param.paramName] = dynamicValue
|
|
662
|
-
} else {
|
|
663
|
-
formatCustomParams[param.paramName] = null
|
|
664
|
-
}
|
|
665
|
-
} else {
|
|
666
|
-
formatCustomParams[param.paramName] = param.paramValue
|
|
667
|
-
}
|
|
668
|
-
})
|
|
669
|
-
}
|
|
670
|
-
return formatCustomParams
|
|
671
|
-
}
|
|
672
|
-
export function getPropValueNew(propValue, pageContext, row) {
|
|
673
|
-
let value = null
|
|
674
|
-
if (propValue && propValue !== null && propValue !== '') {
|
|
675
|
-
const entity = pageContext && pageContext.entity ? pageContext.entity.data : null
|
|
676
|
-
const pageVar = pageContext && pageContext.entity ? pageContext.entity.page : null
|
|
677
|
-
const additionalParamMap = getAdditionalParamMap(pageContext)
|
|
678
|
-
const contextParameterMap = pageContext && pageContext.entity ? pageContext.entity.context : null
|
|
679
|
-
const parentEntity =
|
|
680
|
-
pageContext && pageContext.entity
|
|
681
|
-
? pageContext.entity.parent
|
|
682
|
-
? pageContext.entity.parent
|
|
683
|
-
: pageContext.entity.data
|
|
684
|
-
: null
|
|
685
|
-
const subEntity = pageContext && pageContext.entity ? pageContext.entity.row : null
|
|
686
|
-
const task = pageContext && pageContext.entity ? pageContext.entity.task : null
|
|
687
|
-
const system = pageContext && pageContext.entity ? pageContext.entity.system : null
|
|
688
|
-
if (propValue === 'null') {
|
|
689
|
-
value = null
|
|
690
|
-
} else if (propValue.startsWith('${row.')) {
|
|
691
|
-
// 处理表格行数据 ${row.fieldName}
|
|
692
|
-
if (row) {
|
|
693
|
-
const propName = propValue.replace('${row.', '').replace('}', '')
|
|
694
|
-
value = getEntityFieldValue(row, propName)
|
|
695
|
-
}
|
|
696
|
-
} else if (propValue.indexOf('${page.') === 0) {
|
|
697
|
-
const variable = propValue.replace('${page.', '').replace('}', '')
|
|
698
|
-
value = pageVar ? pageVar[variable] : null
|
|
699
|
-
} else if (
|
|
700
|
-
propValue.includes('${context.') ||
|
|
701
|
-
propValue.includes('${request.') ||
|
|
702
|
-
propValue.includes('${obj.') ||
|
|
703
|
-
propValue.includes('${data.')
|
|
704
|
-
) {
|
|
705
|
-
// 填写的固定值
|
|
706
|
-
if (propValue.includes('${context.')) {
|
|
707
|
-
propValue = propValue.replace('${context.', '').replace('}', '')
|
|
708
|
-
value = getContextValue(contextParameterMap, propValue)
|
|
709
|
-
} else if (propValue.includes('${request.') && propValue !== '${request.term}') {
|
|
710
|
-
// ${request.term}表示页面中手动输入的值
|
|
711
|
-
propValue = propValue.replace('${request.', '').replace('}', '')
|
|
712
|
-
if (
|
|
713
|
-
additionalParamMap &&
|
|
714
|
-
additionalParamMap != null &&
|
|
715
|
-
Object.keys(additionalParamMap).indexOf(propValue) >= 0 &&
|
|
716
|
-
additionalParamMap[propValue] &&
|
|
717
|
-
additionalParamMap[propValue] !== null
|
|
718
|
-
) {
|
|
719
|
-
value = additionalParamMap[propValue]
|
|
720
|
-
} else {
|
|
721
|
-
value = null
|
|
722
|
-
}
|
|
723
|
-
} else if (propValue.includes('${obj.')) {
|
|
724
|
-
if (entity === undefined || entity == null) {
|
|
725
|
-
value = null
|
|
726
|
-
} else {
|
|
727
|
-
const propName = propValue.replace('${obj.', '').replace('}', '')
|
|
728
|
-
value = getEntityFieldValue(entity, propName)
|
|
729
|
-
}
|
|
730
|
-
} else if (propValue.includes('${data.')) {
|
|
731
|
-
if (entity === undefined || entity == null) {
|
|
732
|
-
value = null
|
|
733
|
-
} else {
|
|
734
|
-
const propName = propValue.replace('${data.', '').replace('}', '')
|
|
735
|
-
value = getEntityFieldValue(entity, propName)
|
|
736
|
-
}
|
|
737
|
-
}
|
|
738
|
-
} else if (propValue.includes('${parent.')) {
|
|
739
|
-
if (parentEntity === undefined || parentEntity == null) {
|
|
740
|
-
value = null
|
|
741
|
-
} else {
|
|
742
|
-
const propName = propValue.replace('${parent.', '').replace('}', '')
|
|
743
|
-
value = getEntityFieldValue(parentEntity, propName)
|
|
744
|
-
}
|
|
745
|
-
} else if (propValue.includes('${system.')) {
|
|
746
|
-
if (system === undefined || system == null) {
|
|
747
|
-
value = null
|
|
748
|
-
} else {
|
|
749
|
-
const propName = propValue.replace('${system.', '').replace('}', '')
|
|
750
|
-
value = getEntityFieldValue(system, propName)
|
|
751
|
-
}
|
|
752
|
-
} else if (propValue.includes('${task.')) {
|
|
753
|
-
if (task === undefined || task == null) {
|
|
754
|
-
value = null
|
|
755
|
-
} else {
|
|
756
|
-
const propName = propValue.replace('${task.', '').replace('}', '')
|
|
757
|
-
value = getEntityFieldValue(task, propName)
|
|
758
|
-
}
|
|
759
|
-
} else if (propValue.includes('${subObj.')) {
|
|
760
|
-
if (subEntity === undefined || subEntity == null) {
|
|
761
|
-
value = null
|
|
762
|
-
} else {
|
|
763
|
-
const propName = propValue.replace('${subObj.', '').replace('}', '')
|
|
764
|
-
value = getEntityFieldValue(subEntity, propName)
|
|
765
|
-
}
|
|
766
|
-
} else if (propValue.includes('${input.')) {
|
|
767
|
-
value = propValue.replace('${input.', '').replace('}', '')
|
|
768
|
-
} else if (propValue.includes('${fixed.')) {
|
|
769
|
-
value = propValue.replace('${fixed.', '').replace('}', '')
|
|
770
|
-
} else {
|
|
771
|
-
value = propValue
|
|
772
|
-
}
|
|
773
|
-
}
|
|
774
|
-
return value
|
|
775
|
-
}
|
|
776
|
-
|
|
777
|
-
/**
|
|
778
|
-
* 解析条件,例如:${obj.menu_code}-#-#${input.---}-#-#${context.currentTransactor}
|
|
779
|
-
* @param {*} conditionValue
|
|
780
|
-
* @param {*} entity
|
|
781
|
-
* @param {*} additionalParameter
|
|
782
|
-
* @param {*} contextParameter
|
|
783
|
-
* @returns
|
|
784
|
-
*/
|
|
785
|
-
export function analysisValue(conditionValue, entity, additionalParameter, contextParameter, pageContext) {
|
|
786
|
-
if (!conditionValue) {
|
|
787
|
-
return
|
|
788
|
-
}
|
|
789
|
-
let label = ''
|
|
790
|
-
const split = conditionValue.split('-#-#')
|
|
791
|
-
if (split != null && split.length > 0) {
|
|
792
|
-
split.forEach((item) => {
|
|
793
|
-
let value
|
|
794
|
-
if (pageContext) {
|
|
795
|
-
value = getPropValueNew(item, pageContext, entity)
|
|
796
|
-
} else {
|
|
797
|
-
value = getPropValue(item, entity, additionalParameter, contextParameter)
|
|
798
|
-
}
|
|
799
|
-
if (!value || value === null) {
|
|
800
|
-
value = ''
|
|
801
|
-
}
|
|
802
|
-
label += value
|
|
803
|
-
})
|
|
804
|
-
}
|
|
805
|
-
return label
|
|
806
|
-
}
|
|
807
|
-
|
|
808
|
-
/**
|
|
809
|
-
* 设置entity中某属性的值,处理子对象的情况。使用该方法,性能可能有问题
|
|
810
|
-
* @param {*} entity
|
|
811
|
-
* @param {*} prop
|
|
812
|
-
* @param {*} value
|
|
813
|
-
*/
|
|
814
|
-
export function setEntityFieldValue(entity, prop, value) {
|
|
815
|
-
if (prop && entity) {
|
|
816
|
-
if (prop && prop.indexOf('.') > 0) {
|
|
817
|
-
const parentObj = getParentObjectUtil(prop, entity)
|
|
818
|
-
if (parentObj) {
|
|
819
|
-
const subProp = prop.substring(prop.lastIndexOf('.') + 1)
|
|
820
|
-
if (parentObj[subProp] === undefined) {
|
|
821
|
-
// 动态对象属性赋值,防止属性不存在,导致属性无法赋值问题
|
|
822
|
-
parentObj[prop.substring(prop.lastIndexOf('.') + 1)] = value
|
|
823
|
-
} else {
|
|
824
|
-
// 静态对象属性赋值,提高性能
|
|
825
|
-
parentObj[subProp] = value
|
|
826
|
-
}
|
|
827
|
-
}
|
|
828
|
-
} else {
|
|
829
|
-
if (entity[prop] === undefined || entity[prop] === null) {
|
|
830
|
-
// 动态对象属性赋值,防止属性不存在,导致属性无法赋值问题
|
|
831
|
-
entity[prop] = value
|
|
832
|
-
} else {
|
|
833
|
-
// 静态对象属性赋值,提高性能
|
|
834
|
-
entity[prop] = value
|
|
835
|
-
}
|
|
836
|
-
}
|
|
837
|
-
}
|
|
838
|
-
}
|
|
839
|
-
|
|
840
|
-
/**
|
|
841
|
-
* 获得字段的值,不需要处理大小写转换
|
|
842
|
-
* @param {*} entity
|
|
843
|
-
* @param {*} prop
|
|
844
|
-
* @returns
|
|
845
|
-
*/
|
|
846
|
-
export function getEntityFieldValueWithOutCase(entity, prop) {
|
|
847
|
-
if (prop && prop.indexOf('.') > 0) {
|
|
848
|
-
const parentOjbect = getParentObjectUtil(prop, entity)
|
|
849
|
-
const modelName = prop.substring(prop.lastIndexOf('.') + 1)
|
|
850
|
-
return parentOjbect[modelName]
|
|
851
|
-
} else {
|
|
852
|
-
return entity[prop]
|
|
853
|
-
}
|
|
854
|
-
}
|
|
855
|
-
|
|
856
|
-
/**
|
|
857
|
-
* 获得实体entity中某属性的值,处理子表对象的情况
|
|
858
|
-
* @param {*} entity
|
|
859
|
-
* @param {*} prop
|
|
860
|
-
* @returns
|
|
861
|
-
*/
|
|
862
|
-
export function getEntityFieldValue(entity, prop, isLowerCase) {
|
|
863
|
-
if (!prop) {
|
|
864
|
-
return null
|
|
865
|
-
}
|
|
866
|
-
let value = getEntityFieldValueWithCase(entity, prop)
|
|
867
|
-
if (value === undefined || value === null) {
|
|
868
|
-
// 兼容mysql数据库
|
|
869
|
-
value = getEntityFieldValueWithCase(entity, prop.toLowerCase())
|
|
870
|
-
}
|
|
871
|
-
if (value === undefined || (value === null && isLowerCase === undefined)) {
|
|
872
|
-
// 兼容oracle数据库
|
|
873
|
-
value = getEntityFieldValueWithCase(entity, prop.toUpperCase())
|
|
874
|
-
}
|
|
875
|
-
return value
|
|
876
|
-
}
|
|
877
|
-
|
|
878
|
-
function getEntityFieldValueWithCase(entity, prop) {
|
|
879
|
-
if (prop && prop.indexOf('.') > 0) {
|
|
880
|
-
const parentOjbect = getParentObjectUtil(prop, entity)
|
|
881
|
-
const modelName = prop.substring(prop.lastIndexOf('.') + 1)
|
|
882
|
-
return parentOjbect[modelName]
|
|
883
|
-
} else {
|
|
884
|
-
return entity[prop]
|
|
885
|
-
}
|
|
886
|
-
}
|
|
887
|
-
|
|
888
|
-
export function getParentObjectUtil(prop, entity) {
|
|
889
|
-
const nestedProp = prop.split('.')
|
|
890
|
-
// 属性只有一个时父对象就是models
|
|
891
|
-
if (nestedProp.length === 1) {
|
|
892
|
-
return entity
|
|
893
|
-
} else {
|
|
894
|
-
let parentObject
|
|
895
|
-
// 属性超过2个时先找到最后一层属性的父对象
|
|
896
|
-
for (let i = 0; i < nestedProp.length - 1; i++) {
|
|
897
|
-
if (i === 0) {
|
|
898
|
-
parentObject = getParentModelProp(nestedProp[i], entity)
|
|
899
|
-
} else {
|
|
900
|
-
parentObject = getParentModelProp(nestedProp[i], parentObject)
|
|
901
|
-
}
|
|
902
|
-
}
|
|
903
|
-
return parentObject
|
|
904
|
-
}
|
|
905
|
-
}
|
|
906
|
-
|
|
907
|
-
function getParentModelProp(prop, parentObj) {
|
|
908
|
-
let myPparentObject = getParentModelPropWithCase(prop, parentObj)
|
|
909
|
-
if (myPparentObject === undefined) {
|
|
910
|
-
// 兼容mysql数据库
|
|
911
|
-
myPparentObject = getParentModelPropWithCase(prop.toLowerCase(), parentObj)
|
|
912
|
-
}
|
|
913
|
-
if (myPparentObject === undefined) {
|
|
914
|
-
// 兼容oracle数据库
|
|
915
|
-
myPparentObject = getParentModelPropWithCase(prop.toUpperCase(), parentObj)
|
|
916
|
-
}
|
|
917
|
-
return myPparentObject
|
|
918
|
-
}
|
|
919
|
-
|
|
920
|
-
function getParentModelPropWithCase(prop, parentObj) {
|
|
921
|
-
if (!parentObj) {
|
|
922
|
-
parentObj = {}
|
|
923
|
-
}
|
|
924
|
-
if (!parentObj[prop] && !parentObj[prop.toUpperCase()]) {
|
|
925
|
-
parentObj[prop] = {}
|
|
926
|
-
}
|
|
927
|
-
return parentObj[prop]
|
|
928
|
-
}
|
|
929
|
-
|
|
930
|
-
/**
|
|
931
|
-
* 获得系统信息
|
|
932
|
-
* @param {*}} systemCode
|
|
933
|
-
* @returns
|
|
934
|
-
*/
|
|
935
|
-
export function findSystemInfoByCode(systemCode) {
|
|
936
|
-
return new Promise((resolve, reject) => {
|
|
937
|
-
if (!systemCode) {
|
|
938
|
-
systemCode = window.$vueApp.config.globalProperties.systemCode
|
|
939
|
-
}
|
|
940
|
-
|
|
941
|
-
window.$vueApp.config.globalProperties.$http
|
|
942
|
-
.get(window.$vueApp.config.globalProperties.baseAPI + '/component/business-systems/' + systemCode)
|
|
943
|
-
.then((system) => {
|
|
944
|
-
if (system) {
|
|
945
|
-
resolve({
|
|
946
|
-
zh_CN: system.name,
|
|
947
|
-
en_US: system.enName,
|
|
948
|
-
frontendUrl: system.frontendUrl
|
|
949
|
-
})
|
|
950
|
-
} else {
|
|
951
|
-
resolve('系统:' + systemCode + '不存在')
|
|
952
|
-
}
|
|
953
|
-
})
|
|
954
|
-
.catch((error) => {
|
|
955
|
-
reject(error)
|
|
956
|
-
})
|
|
957
|
-
})
|
|
958
|
-
}
|
|
959
|
-
|
|
960
|
-
export function getPropNameWhenJoinTable(prop, isJoinTable, tableName) {
|
|
961
|
-
if (prop && isJoinTable !== undefined && isJoinTable === true) {
|
|
962
|
-
// 关联表时将点改成下划线,如果没点,则表示是主表字段,拼接主表tableName,因为列表组件中是这样处理的
|
|
963
|
-
const replaceDot = '__'
|
|
964
|
-
if (prop.indexOf('.') > 0) {
|
|
965
|
-
prop = prop.replace('.', replaceDot)
|
|
966
|
-
} else {
|
|
967
|
-
if (tableName && tableName !== null && tableName !== '' && prop.indexOf(tableName + replaceDot) < 0) {
|
|
968
|
-
// 如果属性名没有拼接表名才需要拼接
|
|
969
|
-
prop = tableName + replaceDot + prop
|
|
970
|
-
}
|
|
971
|
-
}
|
|
972
|
-
}
|
|
973
|
-
return prop
|
|
974
|
-
}
|
|
975
|
-
|
|
976
|
-
export function isImage(fileName) {
|
|
977
|
-
// const fileType = fileName.substring(fileName.lastIndexOf('.'), fileName.length).toLowerCase()
|
|
978
|
-
// const imageTypes = ['.jpg', '.JPG', '.png', '.bmp', '.BMP', '.jpeg', '.gif', '.psd', '.tif', '.tga', '.svg', '.eps']
|
|
979
|
-
// const index = imageTypes.indexOf(fileType)
|
|
980
|
-
if (fileName && /\.(jpg|JPG|jpeg|JPEG|png|PNG|gif|GIF|bmp|BMP|psd|PSD|tif|TIF)$/.test(fileName)) {
|
|
981
|
-
return true
|
|
982
|
-
} else {
|
|
983
|
-
return false
|
|
984
|
-
}
|
|
985
|
-
}
|
|
986
|
-
|
|
987
|
-
export function watchPageContextDynamicVariable(that, pageContext, variable, callback) {
|
|
988
|
-
const match = variable.match(/\${(.*?)}/)
|
|
989
|
-
if (!match) return
|
|
990
|
-
const path = match ? match[1].split('.') : []
|
|
991
|
-
if (path && path.length > 0) {
|
|
992
|
-
// 监听 pageContext.entity[type][field][xxx]... 的变化
|
|
993
|
-
that.$watch(
|
|
994
|
-
() => path.reduce((obj, key) => obj[key], pageContext.entity),
|
|
995
|
-
(newVal, oldVal) => {
|
|
996
|
-
callback(newVal, oldVal)
|
|
997
|
-
}
|
|
998
|
-
)
|
|
999
|
-
}
|
|
1000
|
-
}
|