agilebuilder-ui 1.1.65-tmp3 → 1.1.65-tmp31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/IntervalSelection/index.mjs +7 -0
- package/es/IntervalSelection/src/sectionDate.vue.mjs +49 -0
- package/es/breadcrumb/index.mjs +7 -0
- package/es/breadcrumb/src/breadcrumb.vue.mjs +28 -0
- package/es/chat-embed/index.mjs +7 -0
- package/es/chat-embed/src/chat-addition-data.vue.mjs +7 -0
- package/es/chat-embed/src/chat-addition-data.vue2.mjs +17 -0
- package/es/chat-embed/src/chat-ai-answer-tip.vue.mjs +7 -0
- package/es/chat-embed/src/chat-ai-answer-tip.vue2.mjs +29 -0
- package/es/chat-embed/src/chat-bubble-footer.vue.mjs +7 -0
- package/es/chat-embed/src/chat-bubble-footer.vue2.mjs +33 -0
- package/es/chat-embed/src/chat-embed-message.mjs +22 -0
- package/es/chat-embed/src/chat-sender.vue.mjs +7 -0
- package/es/chat-embed/src/chat-sender.vue2.mjs +158 -0
- package/es/chat-embed/src/components/answer-auto-chart.vue.mjs +7 -0
- package/es/chat-embed/src/components/answer-auto-chart.vue2.mjs +58 -0
- package/es/chat-embed/src/components/answer-home-chart.vue.mjs +7 -0
- package/es/chat-embed/src/components/answer-interaction-data.vue.mjs +7 -0
- package/es/chat-embed/src/components/answer-interaction-data.vue2.mjs +117 -0
- package/es/chat-embed/src/components/history-detail.vue.mjs +7 -0
- package/es/chat-embed/src/components/history-detail.vue2.mjs +55 -0
- package/es/chat-embed/src/header.vue.mjs +7 -0
- package/es/chat-embed/src/header.vue2.mjs +46 -0
- package/es/chat-embed/src/index.vue.mjs +7 -0
- package/es/chat-embed/src/index.vue2.mjs +311 -0
- package/es/chat-embed/src/recommendation-message.vue.mjs +7 -0
- package/es/chat-embed/src/recommendation-message.vue2.mjs +11 -0
- package/es/chat-embed/src/sidebar-item.vue.mjs +7 -0
- package/es/chat-embed/src/sidebar-item.vue2.mjs +118 -0
- package/es/chat-embed/src/util/history-message-util.mjs +96 -0
- package/es/chat-embed/src/util/mcp-utils.mjs +53 -0
- package/es/chat-embed/src/voice/index.mjs +7 -0
- package/es/chat-embed/src/voice/js/crypto-js.mjs +1000 -0
- package/es/chat-embed/src/voice/js/processor/index.umd.mjs +169 -0
- package/es/chat-embed/src/voice/voice.vue.mjs +102 -0
- package/es/date-picker-range/index.mjs +7 -0
- package/es/date-picker-range/index.vue.mjs +7 -0
- package/es/date-picker-range/index.vue2.mjs +101 -0
- package/es/department-tree/index.mjs +7 -0
- package/es/department-tree/src/department-tree.vue.mjs +23 -0
- package/es/department-tree-inline/index.mjs +7 -0
- package/es/department-tree-inline/src/department-multi-tree-inline.vue.mjs +91 -0
- package/es/department-tree-inline/src/department-single-tree-inline.vue.mjs +64 -0
- package/es/department-tree-inline/src/department-tree-inline.vue.mjs +17 -0
- package/es/department-tree-inline/src/department-tree-service.mjs +107 -0
- package/es/department-tree-inline/src/search-result.vue.mjs +40 -0
- package/es/department-tree-mobile/index.mjs +8 -0
- package/es/department-tree-mobile/src/department-tree-app.vue.mjs +16 -0
- package/es/department-tree-mobile/src/department-tree-app.vue3.mjs +5 -0
- package/es/department-tree-mobile/src/department-tree-inline-app.vue.mjs +121 -0
- package/es/department-tree-mobile/src/department-tree-inline-app.vue2.mjs +4 -0
- package/es/department-tree-mobile/src/department-tree-service.mjs +57 -0
- package/es/department-tree-mobile/src/dept-path.vue.mjs +15 -0
- package/es/department-tree-mobile/src/dept-path.vue2.mjs +4 -0
- package/es/department-tree-mobile/src/dept-result.vue.mjs +18 -0
- package/es/department-tree-mobile/src/dept-result.vue2.mjs +4 -0
- package/es/department-user-tree/index.mjs +7 -0
- package/es/department-user-tree/src/department-user-multiple-tree.vue.mjs +20 -0
- package/es/department-user-tree/src/department-user-single-tree.vue.mjs +19 -0
- package/es/department-user-tree/src/department-user-tree.vue.mjs +27 -0
- package/es/department-user-tree-inline/index.mjs +7 -0
- package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.mjs +168 -0
- package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue.mjs +69 -0
- package/es/department-user-tree-inline/src/department-user-tree-inline.vue.mjs +16 -0
- package/es/department-user-tree-inline/src/department-user-tree-multi-service.mjs +80 -0
- package/es/department-user-tree-inline/src/department-user-tree-single-service.mjs +53 -0
- package/es/department-user-tree-inline/src/group-user/group-input.vue.mjs +39 -0
- package/es/department-user-tree-inline/src/group-user/group-list.vue.mjs +27 -0
- package/es/department-user-tree-inline/src/group-user/group-user.vue.mjs +16 -0
- package/es/department-user-tree-inline/src/group-user-multiple-tree.vue.mjs +78 -0
- package/es/department-user-tree-inline/src/group-user-single-tree.vue.mjs +34 -0
- package/es/department-user-tree-inline/src/search-result.vue.mjs +41 -0
- package/es/department-user-tree-mobile/index.mjs +8 -0
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue.mjs +16 -0
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue3.mjs +5 -0
- package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue.mjs +135 -0
- package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.mjs +4 -0
- package/es/department-user-tree-mobile/src/dept-path.vue.mjs +15 -0
- package/es/department-user-tree-mobile/src/dept-path.vue2.mjs +4 -0
- package/es/department-user-tree-mobile/src/dept-result.vue.mjs +18 -0
- package/es/department-user-tree-mobile/src/dept-result.vue2.mjs +4 -0
- package/es/directives/prevent-reclick.mjs +15 -0
- package/es/dynamic-source-select/index.mjs +7 -0
- package/es/dynamic-source-select/src/dynamic-source-select-service.mjs +32 -0
- package/es/dynamic-source-select/src/dynamic-source-select.vue.mjs +277 -0
- package/es/empty-state/index.vue.mjs +9 -0
- package/es/empty-state/index.vue2.mjs +4 -0
- package/es/fs-preview/index.mjs +7 -0
- package/es/fs-preview/src/fs-preview.vue.mjs +142 -0
- package/es/fs-upload/index.mjs +7 -0
- package/es/fs-upload/src/fs-upload-multi.vue.mjs +71 -0
- package/es/fs-upload/src/fs-upload-single.vue.mjs +73 -0
- package/es/fs-upload/src/fs-upload.vue.mjs +24 -0
- package/es/fs-upload/src/see-big-picture.vue.mjs +12 -0
- package/es/fs-upload-list/index.mjs +7 -0
- package/es/fs-upload-list/src/fs-upload-list.vue.mjs +97 -0
- package/es/fs-upload-new/index.mjs +7 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.mjs +59 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.mjs +4 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.mjs +178 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.mjs +4 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.mjs +7 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.mjs +39 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.mjs +45 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.mjs +4 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload.vue.mjs +35 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload.vue2.mjs +4 -0
- package/es/fs-upload-new/src/fs-button-upload.vue.mjs +7 -0
- package/es/fs-upload-new/src/fs-button-upload.vue2.mjs +62 -0
- package/es/fs-upload-new/src/fs-drag-upload.vue.mjs +7 -0
- package/es/fs-upload-new/src/fs-drag-upload.vue2.mjs +63 -0
- package/es/fs-upload-new/src/fs-preview-new.vue.mjs +8 -0
- package/es/fs-upload-new/src/fs-preview-new.vue2.mjs +93 -0
- package/es/fs-upload-new/src/fs-upload-new.vue.mjs +64 -0
- package/es/fs-upload-new/src/fs-upload-new.vue2.mjs +4 -0
- package/es/hamburger/index.mjs +7 -0
- package/es/hamburger/src/hamburger.vue.mjs +15 -0
- package/es/i18n-setting/index.mjs +7 -0
- package/es/i18n-setting/src/i18n-setting-dialog.vue.mjs +23 -0
- package/es/i18n-setting/src/i18n-setting.mjs +14 -0
- package/es/i18n-setting/src/index.vue.mjs +47 -0
- package/es/index.mjs +393 -0
- package/es/json-view/json-view-dialog.vue.mjs +19 -0
- package/es/json-view/json-view-dialog.vue2.mjs +4 -0
- package/es/json-view/json-view.vue.mjs +4 -0
- package/es/json-view/json-view.vue2.mjs +36 -0
- package/es/multipart-upload/index.mjs +7 -0
- package/es/multipart-upload/src/index.vue.mjs +14 -0
- package/es/multipart-upload/src/multipart-upload-form.vue.mjs +82 -0
- package/es/multipart-upload/src/multipart-upload-list.vue.mjs +104 -0
- package/es/organization-input/index.mjs +7 -0
- package/es/organization-input/src/organization-input.vue.mjs +224 -0
- package/es/plugins/export-data-new.mjs +237 -0
- package/es/plugins/export-data.mjs +179 -0
- package/es/plugins/index.mjs +9 -0
- package/es/remove-department/index.mjs +7 -0
- package/es/remove-department/src/remove-department.vue.mjs +33 -0
- package/es/remove-department/src/remove-dept-service.mjs +12 -0
- package/es/remove-user/index.mjs +7 -0
- package/es/remove-user/src/remove-user-service.mjs +12 -0
- package/es/remove-user/src/remove-user.vue.mjs +35 -0
- package/es/remove-workgroup/index.mjs +7 -0
- package/es/remove-workgroup/src/remove-workgroup-service.mjs +12 -0
- package/es/remove-workgroup/src/remove-workgroup.vue.mjs +31 -0
- package/es/rich-editor/index.mjs +7 -0
- package/es/rich-editor/index.vue.mjs +74 -0
- package/es/rich-editor/viewer.vue.mjs +27 -0
- package/es/row-form/index.mjs +7 -0
- package/es/row-form/index.vue.mjs +7 -0
- package/es/row-form/index.vue2.mjs +62 -0
- package/es/row-form/operation.vue.mjs +32 -0
- package/es/row-form/operation.vue2.mjs +4 -0
- package/es/scan-code-input/index.mjs +7 -0
- package/es/scan-code-input/src/events.mjs +15 -0
- package/es/scan-code-input/src/scan-code-input.vue.mjs +32 -0
- package/es/scan-code-input-browser/index.mjs +7 -0
- package/es/scan-code-input-browser/src/scan-code-input.vue.mjs +50 -0
- package/es/secret-info/index.mjs +7 -0
- package/es/secret-info/index.vue.mjs +16 -0
- package/es/src/api/sso-service.mjs +56 -0
- package/es/src/api/tab.mjs +15 -0
- package/es/src/components/Affix/index.vue.mjs +7 -0
- package/es/src/components/Affix/index.vue2.mjs +83 -0
- package/es/src/components/Card/index.mjs +51 -0
- package/es/src/components/Scrollbar/index.vue.mjs +52 -0
- package/es/src/directives/permission/index.mjs +7 -0
- package/es/src/directives/permission/permission.mjs +11 -0
- package/es/src/i18n/i18n.mjs +7 -0
- package/es/src/i18n/langs/cn.mjs +4 -0
- package/es/src/i18n/langs/en.mjs +4 -0
- package/es/src/permission.mjs +76 -0
- package/es/src/router/index.mjs +9 -0
- package/es/src/store/index.mjs +12 -0
- package/es/src/store/modules/app.mjs +40 -0
- package/es/src/store/modules/permission.mjs +31 -0
- package/es/src/store/modules/system.mjs +12 -0
- package/es/src/store/modules/tab-content.mjs +20 -0
- package/es/src/store/modules/user.mjs +139 -0
- package/es/src/utils/auth.mjs +156 -0
- package/es/src/utils/calculator/calculator-util.mjs +56 -0
- package/es/src/utils/chat-ai-util.mjs +34 -0
- package/es/src/utils/common-util.mjs +448 -0
- package/es/src/utils/i18n-util.mjs +72 -0
- package/es/src/utils/iconUtils.mjs +25 -0
- package/es/src/utils/insert_css.mjs +17 -0
- package/es/src/utils/jump-page-utils.mjs +264 -0
- package/es/src/utils/menu.mjs +14 -0
- package/es/src/utils/permission.mjs +44 -0
- package/es/src/utils/permissionAuth.mjs +153 -0
- package/es/src/utils/range-selector.mjs +105 -0
- package/es/src/utils/request.mjs +140 -0
- package/es/src/utils/restful-interface-utils.mjs +17 -0
- package/es/src/utils/util.mjs +361 -0
- package/es/src/utils/voice-setting-cache.mjs +212 -0
- package/es/src/utils/watermark.mjs +35 -0
- package/es/src/utils/workflow-util.mjs +42 -0
- package/es/src/views/dsc-component/Sidebar/Item.vue.mjs +7 -0
- package/es/src/views/dsc-component/Sidebar/Item.vue2.mjs +12 -0
- package/es/src/views/dsc-component/Sidebar/Link.vue.mjs +14 -0
- package/es/src/views/dsc-component/Sidebar/SidebarItem.vue.mjs +53 -0
- package/es/src/views/dsc-component/Sidebar/index.vue.mjs +111 -0
- package/es/src/views/dsc-component/tabs/tab-content.vue.mjs +66 -0
- package/es/src/views/error-page/401.vue.mjs +15 -0
- package/es/src/views/error-page/404.vue.mjs +12 -0
- package/es/src/views/layout/EmptyLayout.vue.mjs +9 -0
- package/es/src/views/layout/Layout.vue.mjs +28 -0
- package/es/src/views/layout/NewLayout.vue.mjs +11 -0
- package/es/src/views/layout/components/AppMain.vue.mjs +13 -0
- package/es/src/views/layout/components/Breadcrumb/index.vue.mjs +49 -0
- package/es/src/views/layout/components/Menubar/Item.vue.mjs +7 -0
- package/es/src/views/layout/components/Menubar/Item.vue2.mjs +15 -0
- package/es/src/views/layout/components/Menubar/Link.vue.mjs +14 -0
- package/es/src/views/layout/components/Menubar/SidebarItem.vue.mjs +56 -0
- package/es/src/views/layout/components/Menubar/index.vue.mjs +90 -0
- package/es/src/views/layout/components/Sidebar/Item.vue2.mjs +4 -0
- package/es/src/views/layout/components/Sidebar/Link.vue.mjs +12 -0
- package/es/src/views/layout/components/Sidebar/SidebarItem.vue.mjs +22 -0
- package/es/src/views/layout/components/Sidebar/index.vue.mjs +58 -0
- package/es/src/views/layout/components/iframe-page.vue.mjs +14 -0
- package/es/src/views/layout/components/tabs/tab-content.vue.mjs +64 -0
- package/es/src/views/layout/mixin/ResizeHandler.mjs +16 -0
- package/es/src/views/layout/tab-content-iframe-index.vue.mjs +14 -0
- package/es/src/views/layout/tab-content-index.vue.mjs +28 -0
- package/es/src/views/super-icon/index.mjs +7 -0
- package/es/src/views/super-icon/src/index.vue.mjs +7 -0
- package/es/src/views/super-icon/src/index.vue2.mjs +13 -0
- package/es/src/views/svg-icon/src/svg-icon.vue2.mjs +14 -0
- package/es/src/views/wf-history/tache-subprocess-history.vue.mjs +14 -0
- package/es/style.css +1 -0
- package/es/super-grid/index.mjs +7 -0
- package/es/super-grid/src/apis.mjs +491 -0
- package/es/super-grid/src/columns-config.vue.mjs +82 -0
- package/es/super-grid/src/components/grid-icon.vue.mjs +47 -0
- package/es/super-grid/src/components/grid-radio-input.vue.mjs +25 -0
- package/es/super-grid/src/components/grid-radio-input.vue2.mjs +4 -0
- package/es/super-grid/src/components/mobile-table-card.mjs +113 -0
- package/es/super-grid/src/components/select-input.vue.mjs +149 -0
- package/es/super-grid/src/components/select-input.vue2.mjs +4 -0
- package/es/super-grid/src/custom-formatter.mjs +167 -0
- package/es/super-grid/src/dynamic-input.vue.mjs +474 -0
- package/es/super-grid/src/events.mjs +37 -0
- package/es/super-grid/src/formValidatorUtil.mjs +108 -0
- package/es/super-grid/src/group-column.vue.mjs +24 -0
- package/es/super-grid/src/header-context-menu.vue.mjs +15 -0
- package/es/super-grid/src/index-column.vue.mjs +22 -0
- package/es/super-grid/src/normal-column-content.vue.mjs +321 -0
- package/es/super-grid/src/normal-column.vue.mjs +107 -0
- package/es/super-grid/src/row-detail.vue.mjs +14 -0
- package/es/super-grid/src/row-operation.vue.mjs +89 -0
- package/es/super-grid/src/scan-util.mjs +100 -0
- package/es/super-grid/src/search-button.vue.mjs +25 -0
- package/es/super-grid/src/search-condition-input.vue.mjs +17 -0
- package/es/super-grid/src/search-condition-list.vue.mjs +20 -0
- package/es/super-grid/src/search-form-advancedQuery.vue.mjs +116 -0
- package/es/super-grid/src/search-form-dialog.vue.mjs +27 -0
- package/es/super-grid/src/search-form-item.vue.mjs +132 -0
- package/es/super-grid/src/search-form-mobile.vue.mjs +41 -0
- package/es/super-grid/src/search-form-number.vue.mjs +26 -0
- package/es/super-grid/src/search-form-open.vue.mjs +53 -0
- package/es/super-grid/src/search-form-ordinarySearch.vue.mjs +41 -0
- package/es/super-grid/src/search-form.vue.mjs +207 -0
- package/es/super-grid/src/selection-column.vue.mjs +11 -0
- package/es/super-grid/src/super-grid-service.mjs +260 -0
- package/es/super-grid/src/super-grid.vue.mjs +1126 -0
- package/es/super-grid/src/utils.mjs +401 -0
- package/es/super-grid/src/view-image-dialog.vue.mjs +67 -0
- package/es/super-icon/index.mjs +7 -0
- package/es/super-icon/src/index.vue.mjs +7 -0
- package/es/super-icon/src/index.vue2.mjs +13 -0
- package/es/super-nine-grid/index.mjs +7 -0
- package/es/super-nine-grid/src/apis.mjs +36 -0
- package/es/super-nine-grid/src/custom-formatter.mjs +35 -0
- package/es/super-nine-grid/src/search-form-number.vue.mjs +12 -0
- package/es/super-nine-grid/src/search-form.vue.mjs +91 -0
- package/es/super-nine-grid/src/super-grid-service.mjs +39 -0
- package/es/super-nine-grid/src/super-nine-grid.vue.mjs +231 -0
- package/es/super-nine-grid/src/utils.mjs +32 -0
- package/es/svg-icon/index.mjs +7 -0
- package/es/svg-icon/src/svg-icon.vue.mjs +14 -0
- package/es/utils/memory-cache-utils.mjs +30 -0
- package/es/utils/organization.mjs +70 -0
- package/es/utils/utils.mjs +86 -0
- package/es/utils/value-set.mjs +93 -0
- package/es/valid-code/index.mjs +7 -0
- package/es/valid-code/src/valid-code.vue.mjs +23 -0
- package/es/workflow-button/index.mjs +7 -0
- package/es/workflow-button/src/workflow-button.vue.mjs +85 -0
- package/es/workflow-history-list/index.mjs +7 -0
- package/es/workflow-history-list/src/workflow-history-list.vue.mjs +90 -0
- package/es/workgroup-tree/index.mjs +7 -0
- package/es/workgroup-tree/src/workgroup-tree.vue.mjs +23 -0
- package/es/workgroup-tree-inline/index.mjs +7 -0
- package/es/workgroup-tree-inline/src/search-result.vue.mjs +39 -0
- package/es/workgroup-tree-inline/src/workgroup-tree-inline.vue.mjs +128 -0
- package/es/workgroup-tree-inline/src/workgroup-tree-service.mjs +34 -0
- package/es/workgroup-tree-mobile/index.mjs +8 -0
- package/es/workgroup-tree-mobile/src/dept-result.vue.mjs +17 -0
- package/es/workgroup-tree-mobile/src/dept-result.vue2.mjs +4 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue.mjs +16 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue3.mjs +5 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.mjs +109 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.mjs +4 -0
- package/es/workgroup-user-tree/index.mjs +7 -0
- package/es/workgroup-user-tree/src/workgroup-user-tree.vue.mjs +23 -0
- package/es/workgroup-user-tree-inline/index.mjs +7 -0
- package/es/workgroup-user-tree-inline/src/search-result.vue.mjs +39 -0
- package/es/workgroup-user-tree-inline/src/workgroup-tree-inline-service.mjs +72 -0
- package/es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.mjs +172 -0
- package/es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.mjs +4 -0
- package/es/workgroup-user-tree-mobile/src/dept-path.vue.mjs +15 -0
- package/es/workgroup-user-tree-mobile/src/dept-path.vue2.mjs +4 -0
- package/es/workgroup-user-tree-mobile/src/dept-result.vue.mjs +18 -0
- package/es/workgroup-user-tree-mobile/src/dept-result.vue2.mjs +4 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.mjs +16 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.mjs +4 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.mjs +5 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.mjs +135 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.mjs +4 -0
- package/es/year-range-picker/index.mjs +7 -0
- package/es/year-range-picker/src/year-range-picker.vue.mjs +14 -0
- package/package.json +12 -7
- package/src/styles/index.scss +13 -2
- package/src/styles/theme/dark-blue/select.scss +27 -1
- package/src/styles/theme/default.scss +18 -13
- package/src/styles/theme/forest-green/select.scss +27 -1
- package/src/styles/theme/green/select.scss +27 -1
- package/src/styles/theme/ocean-blue/select.scss +27 -1
- package/src/styles/theme/tiffany-blue-mobile/home.scss +44 -1
- package/src/styles/theme/tiffany-blue-mobile/select.scss +29 -2
- package/.eslintrc.cjs +0 -28
- package/.prettierrc.json +0 -12
- package/index.html +0 -19
- package/lib/IntervalSelection/index.js +0 -7
- package/lib/IntervalSelection/src/sectionDate.vue.js +0 -49
- package/lib/breadcrumb/index.js +0 -7
- package/lib/breadcrumb/src/breadcrumb.vue.js +0 -28
- package/lib/chat-embed/index.js +0 -7
- package/lib/chat-embed/src/chat-addition-data.vue.js +0 -7
- package/lib/chat-embed/src/chat-addition-data.vue2.js +0 -14
- package/lib/chat-embed/src/chat-ai-answer-tip.vue.js +0 -7
- package/lib/chat-embed/src/chat-ai-answer-tip.vue2.js +0 -29
- package/lib/chat-embed/src/chat-bubble-footer.vue.js +0 -7
- package/lib/chat-embed/src/chat-bubble-footer.vue2.js +0 -33
- package/lib/chat-embed/src/chat-embed-message.js +0 -22
- package/lib/chat-embed/src/chat-sender.vue.js +0 -7
- package/lib/chat-embed/src/chat-sender.vue2.js +0 -157
- package/lib/chat-embed/src/components/answer-auto-chart.vue.js +0 -7
- package/lib/chat-embed/src/components/answer-auto-chart.vue2.js +0 -59
- package/lib/chat-embed/src/components/answer-home-chart.vue.js +0 -7
- package/lib/chat-embed/src/components/answer-interaction-data.vue.js +0 -7
- package/lib/chat-embed/src/components/answer-interaction-data.vue2.js +0 -118
- package/lib/chat-embed/src/components/history-detail.vue.js +0 -7
- package/lib/chat-embed/src/components/history-detail.vue2.js +0 -55
- package/lib/chat-embed/src/header.vue.js +0 -7
- package/lib/chat-embed/src/header.vue2.js +0 -46
- package/lib/chat-embed/src/index.vue.js +0 -7
- package/lib/chat-embed/src/index.vue2.js +0 -303
- package/lib/chat-embed/src/recommendation-message.vue.js +0 -7
- package/lib/chat-embed/src/recommendation-message.vue2.js +0 -8
- package/lib/chat-embed/src/sidebar-item.vue.js +0 -7
- package/lib/chat-embed/src/sidebar-item.vue2.js +0 -118
- package/lib/chat-embed/src/util/history-message-util.js +0 -96
- package/lib/chat-embed/src/util/mcp-utils.js +0 -53
- package/lib/chat-embed/src/voice/index.js +0 -7
- package/lib/chat-embed/src/voice/js/crypto-js.js +0 -1013
- package/lib/chat-embed/src/voice/js/processor/index.umd.js +0 -178
- package/lib/chat-embed/src/voice/voice.vue.js +0 -103
- package/lib/date-picker-range/index.js +0 -7
- package/lib/date-picker-range/index.vue.js +0 -7
- package/lib/date-picker-range/index.vue2.js +0 -93
- package/lib/department-tree/index.js +0 -7
- package/lib/department-tree/src/department-tree.vue.js +0 -23
- package/lib/department-tree-inline/index.js +0 -7
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue.js +0 -91
- package/lib/department-tree-inline/src/department-single-tree-inline.vue.js +0 -64
- package/lib/department-tree-inline/src/department-tree-inline.vue.js +0 -17
- package/lib/department-tree-inline/src/department-tree-service.js +0 -108
- package/lib/department-tree-inline/src/search-result.vue.js +0 -39
- package/lib/department-tree-mobile/index.js +0 -8
- package/lib/department-tree-mobile/src/department-tree-app.vue.js +0 -15
- package/lib/department-tree-mobile/src/department-tree-app.vue3.js +0 -5
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue.js +0 -121
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue2.js +0 -4
- package/lib/department-tree-mobile/src/department-tree-service.js +0 -55
- package/lib/department-tree-mobile/src/dept-path.vue.js +0 -14
- package/lib/department-tree-mobile/src/dept-path.vue2.js +0 -4
- package/lib/department-tree-mobile/src/dept-result.vue.js +0 -16
- package/lib/department-tree-mobile/src/dept-result.vue2.js +0 -4
- package/lib/department-user-tree/index.js +0 -7
- package/lib/department-user-tree/src/department-user-multiple-tree.vue.js +0 -20
- package/lib/department-user-tree/src/department-user-single-tree.vue.js +0 -19
- package/lib/department-user-tree/src/department-user-tree.vue.js +0 -27
- package/lib/department-user-tree-inline/index.js +0 -7
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +0 -165
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +0 -69
- package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.js +0 -16
- package/lib/department-user-tree-inline/src/department-user-tree-multi-service.js +0 -81
- package/lib/department-user-tree-inline/src/department-user-tree-single-service.js +0 -54
- package/lib/department-user-tree-inline/src/group-user/group-input.vue.js +0 -39
- package/lib/department-user-tree-inline/src/group-user/group-list.vue.js +0 -27
- package/lib/department-user-tree-inline/src/group-user/group-user.vue.js +0 -16
- package/lib/department-user-tree-inline/src/group-user-multiple-tree.vue.js +0 -78
- package/lib/department-user-tree-inline/src/group-user-single-tree.vue.js +0 -34
- package/lib/department-user-tree-inline/src/search-result.vue.js +0 -41
- package/lib/department-user-tree-mobile/index.js +0 -8
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.js +0 -15
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue3.js +0 -5
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +0 -135
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +0 -4
- package/lib/department-user-tree-mobile/src/dept-path.vue.js +0 -14
- package/lib/department-user-tree-mobile/src/dept-path.vue2.js +0 -4
- package/lib/department-user-tree-mobile/src/dept-result.vue.js +0 -17
- package/lib/department-user-tree-mobile/src/dept-result.vue2.js +0 -4
- package/lib/directives/prevent-reclick.js +0 -15
- package/lib/dynamic-source-select/index.js +0 -7
- package/lib/dynamic-source-select/src/dynamic-source-select-service.js +0 -32
- package/lib/dynamic-source-select/src/dynamic-source-select.vue.js +0 -275
- package/lib/empty-state/index.vue.js +0 -9
- package/lib/empty-state/index.vue2.js +0 -4
- package/lib/fs-preview/index.js +0 -7
- package/lib/fs-preview/src/fs-preview.vue.js +0 -120
- package/lib/fs-upload/index.js +0 -7
- package/lib/fs-upload/src/fs-upload-multi.vue.js +0 -71
- package/lib/fs-upload/src/fs-upload-single.vue.js +0 -73
- package/lib/fs-upload/src/fs-upload.vue.js +0 -24
- package/lib/fs-upload/src/see-big-picture.vue.js +0 -12
- package/lib/fs-upload-list/index.js +0 -7
- package/lib/fs-upload-list/src/fs-upload-list.vue.js +0 -97
- package/lib/fs-upload-new/index.js +0 -7
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +0 -61
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +0 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +0 -178
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +0 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +0 -7
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +0 -38
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +0 -45
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +0 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +0 -35
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +0 -4
- package/lib/fs-upload-new/src/fs-button-upload.vue.js +0 -7
- package/lib/fs-upload-new/src/fs-button-upload.vue2.js +0 -62
- package/lib/fs-upload-new/src/fs-drag-upload.vue.js +0 -7
- package/lib/fs-upload-new/src/fs-drag-upload.vue2.js +0 -63
- package/lib/fs-upload-new/src/fs-preview-new.vue.js +0 -8
- package/lib/fs-upload-new/src/fs-preview-new.vue2.js +0 -93
- package/lib/fs-upload-new/src/fs-upload-new.vue.js +0 -65
- package/lib/fs-upload-new/src/fs-upload-new.vue2.js +0 -4
- package/lib/hamburger/index.js +0 -7
- package/lib/hamburger/src/hamburger.vue.js +0 -15
- package/lib/index.js +0 -380
- package/lib/json-view/json-view-dialog.vue.js +0 -19
- package/lib/json-view/json-view-dialog.vue2.js +0 -4
- package/lib/json-view/json-view.vue.js +0 -4
- package/lib/json-view/json-view.vue2.js +0 -36
- package/lib/multipart-upload/index.js +0 -7
- package/lib/multipart-upload/src/index.vue.js +0 -13
- package/lib/multipart-upload/src/multipart-upload-form.vue.js +0 -82
- package/lib/multipart-upload/src/multipart-upload-list.vue.js +0 -101
- package/lib/organization-input/index.js +0 -7
- package/lib/organization-input/src/organization-input.vue.js +0 -224
- package/lib/plugins/export-data-new.js +0 -237
- package/lib/plugins/export-data.js +0 -179
- package/lib/plugins/index.js +0 -9
- package/lib/remove-department/index.js +0 -7
- package/lib/remove-department/src/remove-department.vue.js +0 -33
- package/lib/remove-department/src/remove-dept-service.js +0 -13
- package/lib/remove-user/index.js +0 -7
- package/lib/remove-user/src/remove-user-service.js +0 -13
- package/lib/remove-user/src/remove-user.vue.js +0 -35
- package/lib/remove-workgroup/index.js +0 -7
- package/lib/remove-workgroup/src/remove-workgroup-service.js +0 -13
- package/lib/remove-workgroup/src/remove-workgroup.vue.js +0 -31
- package/lib/rich-editor/index.js +0 -7
- package/lib/rich-editor/index.vue.js +0 -115
- package/lib/rich-editor/viewer.vue.js +0 -27
- package/lib/row-form/index.js +0 -7
- package/lib/row-form/index.vue.js +0 -7
- package/lib/row-form/index.vue2.js +0 -62
- package/lib/row-form/operation.vue.js +0 -32
- package/lib/row-form/operation.vue2.js +0 -4
- package/lib/scan-code-input/index.js +0 -7
- package/lib/scan-code-input/src/events.js +0 -15
- package/lib/scan-code-input/src/scan-code-input.vue.js +0 -32
- package/lib/scan-code-input-browser/index.js +0 -7
- package/lib/scan-code-input-browser/src/scan-code-input.vue.js +0 -39
- package/lib/secret-info/index.js +0 -7
- package/lib/secret-info/index.vue.js +0 -16
- package/lib/src/api/sso-service.js +0 -57
- package/lib/src/api/tab.js +0 -15
- package/lib/src/components/Affix/index.vue.js +0 -7
- package/lib/src/components/Affix/index.vue2.js +0 -81
- package/lib/src/components/Card/index.js +0 -48
- package/lib/src/components/Scrollbar/index.vue.js +0 -51
- package/lib/src/directives/permission/index.js +0 -7
- package/lib/src/directives/permission/permission.js +0 -11
- package/lib/src/i18n/i18n.js +0 -7
- package/lib/src/i18n/langs/cn.js +0 -4
- package/lib/src/i18n/langs/en.js +0 -4
- package/lib/src/permission.js +0 -78
- package/lib/src/router/index.js +0 -9
- package/lib/src/store/index.js +0 -13
- package/lib/src/store/modules/app.js +0 -41
- package/lib/src/store/modules/permission.js +0 -31
- package/lib/src/store/modules/system.js +0 -12
- package/lib/src/store/modules/tab-content.js +0 -20
- package/lib/src/store/modules/user.js +0 -139
- package/lib/src/utils/auth.js +0 -156
- package/lib/src/utils/calculator/calculator-util.js +0 -54
- package/lib/src/utils/chat-ai-util.js +0 -30
- package/lib/src/utils/common-util.js +0 -438
- package/lib/src/utils/i18n-util.js +0 -70
- package/lib/src/utils/iconUtils.js +0 -26
- package/lib/src/utils/insert_css.js +0 -16
- package/lib/src/utils/jump-page-utils.js +0 -264
- package/lib/src/utils/menu.js +0 -14
- package/lib/src/utils/permission.js +0 -45
- package/lib/src/utils/permissionAuth.js +0 -153
- package/lib/src/utils/range-selector.js +0 -105
- package/lib/src/utils/request.js +0 -140
- package/lib/src/utils/restful-interface-utils.js +0 -18
- package/lib/src/utils/util.js +0 -361
- package/lib/src/utils/voice-setting-cache.js +0 -211
- package/lib/src/utils/watermark.js +0 -40
- package/lib/src/utils/workflow-util.js +0 -42
- package/lib/src/views/dsc-component/Sidebar/Item.vue.js +0 -7
- package/lib/src/views/dsc-component/Sidebar/Item.vue2.js +0 -12
- package/lib/src/views/dsc-component/Sidebar/Link.vue.js +0 -14
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue.js +0 -53
- package/lib/src/views/dsc-component/Sidebar/index.vue.js +0 -111
- package/lib/src/views/dsc-component/tabs/tab-content.vue.js +0 -63
- package/lib/src/views/error-page/401.vue.js +0 -15
- package/lib/src/views/error-page/404.vue.js +0 -12
- package/lib/src/views/layout/EmptyLayout.vue.js +0 -9
- package/lib/src/views/layout/Layout.vue.js +0 -28
- package/lib/src/views/layout/NewLayout.vue.js +0 -11
- package/lib/src/views/layout/components/AppMain.vue.js +0 -13
- package/lib/src/views/layout/components/Breadcrumb/index.vue.js +0 -48
- package/lib/src/views/layout/components/Menubar/Item.vue.js +0 -7
- package/lib/src/views/layout/components/Menubar/Item.vue2.js +0 -15
- package/lib/src/views/layout/components/Menubar/Link.vue.js +0 -14
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue.js +0 -56
- package/lib/src/views/layout/components/Menubar/index.vue.js +0 -90
- package/lib/src/views/layout/components/Sidebar/Item.vue2.js +0 -4
- package/lib/src/views/layout/components/Sidebar/Link.vue.js +0 -12
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue.js +0 -22
- package/lib/src/views/layout/components/Sidebar/index.vue.js +0 -58
- package/lib/src/views/layout/components/iframe-page.vue.js +0 -14
- package/lib/src/views/layout/components/tabs/tab-content.vue.js +0 -62
- package/lib/src/views/layout/mixin/ResizeHandler.js +0 -16
- package/lib/src/views/layout/tab-content-iframe-index.vue.js +0 -14
- package/lib/src/views/layout/tab-content-index.vue.js +0 -28
- package/lib/src/views/wf-history/tache-subprocess-history.vue.js +0 -14
- package/lib/style.css +0 -3077
- package/lib/super-grid/index.js +0 -7
- package/lib/super-grid/src/apis.js +0 -458
- package/lib/super-grid/src/columns-config.vue.js +0 -81
- package/lib/super-grid/src/components/grid-icon.vue.js +0 -47
- package/lib/super-grid/src/components/grid-radio-input.vue.js +0 -25
- package/lib/super-grid/src/components/grid-radio-input.vue2.js +0 -4
- package/lib/super-grid/src/components/mobile-table-card.js +0 -109
- package/lib/super-grid/src/components/select-input.vue.js +0 -148
- package/lib/super-grid/src/components/select-input.vue2.js +0 -4
- package/lib/super-grid/src/custom-formatter.js +0 -167
- package/lib/super-grid/src/dynamic-input.vue.js +0 -481
- package/lib/super-grid/src/events.js +0 -37
- package/lib/super-grid/src/formValidatorUtil.js +0 -109
- package/lib/super-grid/src/group-column.vue.js +0 -24
- package/lib/super-grid/src/header-context-menu.vue.js +0 -14
- package/lib/super-grid/src/index-column.vue.js +0 -22
- package/lib/super-grid/src/normal-column-content.vue.js +0 -318
- package/lib/super-grid/src/normal-column.vue.js +0 -106
- package/lib/super-grid/src/row-detail.vue.js +0 -14
- package/lib/super-grid/src/row-operation.vue.js +0 -89
- package/lib/super-grid/src/scan-util.js +0 -100
- package/lib/super-grid/src/search-button.vue.js +0 -23
- package/lib/super-grid/src/search-condition-input.vue.js +0 -17
- package/lib/super-grid/src/search-condition-list.vue.js +0 -20
- package/lib/super-grid/src/search-form-advancedQuery.vue.js +0 -116
- package/lib/super-grid/src/search-form-dialog.vue.js +0 -16
- package/lib/super-grid/src/search-form-item.vue.js +0 -128
- package/lib/super-grid/src/search-form-mobile.vue.js +0 -41
- package/lib/super-grid/src/search-form-number.vue.js +0 -26
- package/lib/super-grid/src/search-form-open.vue.js +0 -50
- package/lib/super-grid/src/search-form-ordinarySearch.vue.js +0 -39
- package/lib/super-grid/src/search-form.vue.js +0 -201
- package/lib/super-grid/src/selection-column.vue.js +0 -11
- package/lib/super-grid/src/super-grid-service.js +0 -259
- package/lib/super-grid/src/super-grid.vue.js +0 -1052
- package/lib/super-grid/src/utils.js +0 -355
- package/lib/super-grid/src/view-image-dialog.vue.js +0 -67
- package/lib/super-icon/index.js +0 -7
- package/lib/super-icon/src/index.vue.js +0 -7
- package/lib/super-icon/src/index.vue2.js +0 -13
- package/lib/super-nine-grid/index.js +0 -7
- package/lib/super-nine-grid/src/apis.js +0 -36
- package/lib/super-nine-grid/src/custom-formatter.js +0 -35
- package/lib/super-nine-grid/src/search-form-number.vue.js +0 -13
- package/lib/super-nine-grid/src/search-form.vue.js +0 -91
- package/lib/super-nine-grid/src/super-grid-service.js +0 -39
- package/lib/super-nine-grid/src/super-nine-grid.vue.js +0 -225
- package/lib/super-nine-grid/src/utils.js +0 -32
- package/lib/svg-icon/index.js +0 -7
- package/lib/svg-icon/src/svg-icon.vue.js +0 -14
- package/lib/utils/memory-cache-utils.js +0 -30
- package/lib/utils/organization.js +0 -57
- package/lib/utils/utils.js +0 -87
- package/lib/utils/value-set.js +0 -94
- package/lib/valid-code/index.js +0 -7
- package/lib/valid-code/src/valid-code.vue.js +0 -23
- package/lib/workflow-button/index.js +0 -7
- package/lib/workflow-button/src/workflow-button.vue.js +0 -85
- package/lib/workflow-history-list/index.js +0 -7
- package/lib/workflow-history-list/src/workflow-history-list.vue.js +0 -89
- package/lib/workgroup-tree/index.js +0 -7
- package/lib/workgroup-tree/src/workgroup-tree.vue.js +0 -23
- package/lib/workgroup-tree-inline/index.js +0 -7
- package/lib/workgroup-tree-inline/src/search-result.vue.js +0 -39
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +0 -128
- package/lib/workgroup-tree-inline/src/workgroup-tree-service.js +0 -35
- package/lib/workgroup-tree-mobile/index.js +0 -8
- package/lib/workgroup-tree-mobile/src/dept-result.vue.js +0 -16
- package/lib/workgroup-tree-mobile/src/dept-result.vue2.js +0 -4
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +0 -15
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +0 -5
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +0 -109
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +0 -4
- package/lib/workgroup-user-tree/index.js +0 -7
- package/lib/workgroup-user-tree/src/workgroup-user-tree.vue.js +0 -23
- package/lib/workgroup-user-tree-inline/index.js +0 -7
- package/lib/workgroup-user-tree-inline/src/search-result.vue.js +0 -39
- package/lib/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +0 -73
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +0 -172
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue.js +0 -14
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue2.js +0 -4
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue.js +0 -17
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue2.js +0 -4
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +0 -15
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +0 -5
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +0 -135
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +0 -4
- package/lib/year-range-picker/index.js +0 -7
- package/lib/year-range-picker/src/year-range-picker.vue.js +0 -14
- package/packages/IntervalSelection/index.js +0 -6
- package/packages/IntervalSelection/src/quarterScope.vue +0 -405
- package/packages/IntervalSelection/src/sectionDate.vue +0 -475
- package/packages/breadcrumb/index.js +0 -6
- package/packages/breadcrumb/src/breadcrumb.vue +0 -81
- package/packages/chat-embed/index.ts +0 -6
- package/packages/chat-embed/src/chat-addition-data.vue +0 -64
- package/packages/chat-embed/src/chat-ai-answer-tip.vue +0 -81
- package/packages/chat-embed/src/chat-bubble-footer.vue +0 -81
- package/packages/chat-embed/src/chat-embed-message.ts +0 -76
- package/packages/chat-embed/src/chat-embed.css +0 -207
- package/packages/chat-embed/src/chat-sender.vue +0 -620
- package/packages/chat-embed/src/components/answer-auto-chart.vue +0 -365
- package/packages/chat-embed/src/components/answer-home-chart.vue +0 -42
- package/packages/chat-embed/src/components/answer-interaction-data.vue +0 -569
- package/packages/chat-embed/src/components/history-detail.vue +0 -150
- package/packages/chat-embed/src/header.vue +0 -147
- package/packages/chat-embed/src/index.vue +0 -926
- package/packages/chat-embed/src/recommendation-message.vue +0 -37
- package/packages/chat-embed/src/sender-attachments.vue +0 -1
- package/packages/chat-embed/src/sidebar-item.vue +0 -521
- package/packages/chat-embed/src/type.ts +0 -74
- package/packages/chat-embed/src/util/chat-embed-util.ts +0 -67
- package/packages/chat-embed/src/util/history-message-util.ts +0 -161
- package/packages/chat-embed/src/util/mcp-utils.ts +0 -131
- package/packages/chat-embed/src/util/text-file-util.ts +0 -33
- package/packages/chat-embed/src/voice/index.ts +0 -6
- package/packages/chat-embed/src/voice/js/ai.js +0 -4
- package/packages/chat-embed/src/voice/js/crypto-js.js +0 -5736
- package/packages/chat-embed/src/voice/js/processor/index.umd.js +0 -1
- package/packages/chat-embed/src/voice/js/timer.js +0 -18
- package/packages/chat-embed/src/voice/voice.vue +0 -320
- package/packages/date-picker-range/index.ts +0 -6
- package/packages/date-picker-range/index.vue +0 -240
- package/packages/department-tree/index.js +0 -6
- package/packages/department-tree/src/department-tree.vue +0 -140
- package/packages/department-tree-inline/index.js +0 -6
- package/packages/department-tree-inline/src/department-multi-tree-inline.vue +0 -472
- package/packages/department-tree-inline/src/department-single-tree-inline.vue +0 -374
- package/packages/department-tree-inline/src/department-tree-inline.vue +0 -93
- package/packages/department-tree-inline/src/department-tree-service.js +0 -333
- package/packages/department-tree-inline/src/search-result.vue +0 -206
- package/packages/department-tree-mobile/index.js +0 -6
- package/packages/department-tree-mobile/src/department-tree-app.vue +0 -148
- package/packages/department-tree-mobile/src/department-tree-inline-app.vue +0 -418
- package/packages/department-tree-mobile/src/department-tree-service.ts +0 -124
- package/packages/department-tree-mobile/src/dept-path.vue +0 -36
- package/packages/department-tree-mobile/src/dept-result.vue +0 -51
- package/packages/department-user-tree/index.js +0 -6
- package/packages/department-user-tree/src/department-user-multiple-tree.vue +0 -131
- package/packages/department-user-tree/src/department-user-single-tree.vue +0 -93
- package/packages/department-user-tree/src/department-user-tree.vue +0 -138
- package/packages/department-user-tree-inline/index.js +0 -9
- package/packages/department-user-tree-inline/src/department-user-multiple-tree-inline.vue +0 -779
- package/packages/department-user-tree-inline/src/department-user-single-tree-inline.vue +0 -394
- package/packages/department-user-tree-inline/src/department-user-tree-inline.vue +0 -94
- package/packages/department-user-tree-inline/src/department-user-tree-multi-service.js +0 -293
- package/packages/department-user-tree-inline/src/department-user-tree-single-service.js +0 -158
- package/packages/department-user-tree-inline/src/group-user/group-input.vue +0 -162
- package/packages/department-user-tree-inline/src/group-user/group-list.vue +0 -106
- package/packages/department-user-tree-inline/src/group-user/group-user.vue +0 -38
- package/packages/department-user-tree-inline/src/group-user-multiple-tree.vue +0 -304
- package/packages/department-user-tree-inline/src/group-user-single-tree.vue +0 -155
- package/packages/department-user-tree-inline/src/group-user-tree-service.js +0 -80
- package/packages/department-user-tree-inline/src/search-result.vue +0 -274
- package/packages/department-user-tree-mobile/index.js +0 -6
- package/packages/department-user-tree-mobile/src/department-user-tree-app.vue +0 -147
- package/packages/department-user-tree-mobile/src/department-user-tree-inline-app.vue +0 -466
- package/packages/department-user-tree-mobile/src/department-user-tree-service.ts +0 -71
- package/packages/department-user-tree-mobile/src/dept-path.vue +0 -36
- package/packages/department-user-tree-mobile/src/dept-result.vue +0 -58
- package/packages/directives/prevent-reclick.js +0 -22
- package/packages/dynamic-source-select/index.js +0 -6
- package/packages/dynamic-source-select/src/dynamic-source-select-service.js +0 -134
- package/packages/dynamic-source-select/src/dynamic-source-select.vue +0 -946
- package/packages/dynamic-source-select/src/events.js +0 -72
- package/packages/empty-state/index.vue +0 -28
- package/packages/fs-preview/index.js +0 -6
- package/packages/fs-preview/src/fs-preview.vue +0 -535
- package/packages/fs-upload/index.js +0 -6
- package/packages/fs-upload/src/fs-upload-multi.vue +0 -464
- package/packages/fs-upload/src/fs-upload-single.vue +0 -369
- package/packages/fs-upload/src/fs-upload.vue +0 -193
- package/packages/fs-upload/src/see-big-picture.vue +0 -70
- package/packages/fs-upload-list/index.js +0 -6
- package/packages/fs-upload-list/src/fs-upload-list.vue +0 -436
- package/packages/fs-upload-new/index.ts +0 -6
- package/packages/fs-upload-new/src/file-upload-mobile/file-upload-app.vue +0 -276
- package/packages/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue +0 -573
- package/packages/fs-upload-new/src/file-upload-mobile/file-upload-component.vue +0 -152
- package/packages/fs-upload-new/src/file-upload-mobile/file-upload-input.vue +0 -265
- package/packages/fs-upload-new/src/file-upload-mobile/file-upload.vue +0 -262
- package/packages/fs-upload-new/src/fs-button-upload.vue +0 -312
- package/packages/fs-upload-new/src/fs-drag-upload.vue +0 -307
- package/packages/fs-upload-new/src/fs-preview-new.vue +0 -380
- package/packages/fs-upload-new/src/fs-upload-new.vue +0 -413
- package/packages/hamburger/index.js +0 -6
- package/packages/hamburger/src/hamburger.vue +0 -52
- package/packages/index.js +0 -274
- package/packages/json-view/index.ts +0 -3
- package/packages/json-view/json-view-dialog.vue +0 -53
- package/packages/json-view/json-view.vue +0 -126
- package/packages/multipart-upload/index.js +0 -6
- package/packages/multipart-upload/src/index.vue +0 -66
- package/packages/multipart-upload/src/multipart-upload-form.vue +0 -404
- package/packages/multipart-upload/src/multipart-upload-list.vue +0 -543
- package/packages/organization-input/index.js +0 -6
- package/packages/organization-input/src/organization-input.vue +0 -619
- package/packages/plugins/export-data-new.js +0 -667
- package/packages/plugins/export-data.js +0 -431
- package/packages/plugins/index.js +0 -15
- package/packages/plugins/public-method.js +0 -47
- package/packages/remove-department/index.js +0 -6
- package/packages/remove-department/src/remove-department.vue +0 -201
- package/packages/remove-department/src/remove-dept-service.js +0 -31
- package/packages/remove-user/index.js +0 -6
- package/packages/remove-user/src/remove-user-service.js +0 -31
- package/packages/remove-user/src/remove-user.vue +0 -227
- package/packages/remove-workgroup/index.js +0 -6
- package/packages/remove-workgroup/src/remove-workgroup-service.js +0 -31
- package/packages/remove-workgroup/src/remove-workgroup.vue +0 -184
- package/packages/rich-editor/index.js +0 -7
- package/packages/rich-editor/index.vue +0 -331
- package/packages/rich-editor/tinymce/icons/default/icons.min.js +0 -1
- package/packages/rich-editor/tinymce/langs/README.md +0 -3
- package/packages/rich-editor/tinymce/langs/zh-Hans.js +0 -1
- package/packages/rich-editor/tinymce/license.txt +0 -21
- package/packages/rich-editor/tinymce/models/dom/model.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/accordion/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/advlist/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/anchor/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/autolink/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/autoresize/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/autosave/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/charmap/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/code/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/codesample/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/directionality/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/emoticons/js/emojiimages.js +0 -1
- package/packages/rich-editor/tinymce/plugins/emoticons/js/emojiimages.min.js +0 -3
- package/packages/rich-editor/tinymce/plugins/emoticons/js/emojis.js +0 -1
- package/packages/rich-editor/tinymce/plugins/emoticons/js/emojis.min.js +0 -2
- package/packages/rich-editor/tinymce/plugins/emoticons/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/fullscreen/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ar.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/bg_BG.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ca.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/cs.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/da.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/de.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/el.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/en.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/es.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/eu.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/fa.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/fi.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/fr_FR.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/he_IL.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/hi.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/hr.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/hu_HU.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/id.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/it.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ja.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/kk.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ko_KR.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ms.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/nb_NO.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/nl.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/pl.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/pt_BR.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/pt_PT.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ro.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ru.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/sk.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/sl_SI.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/sv_SE.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/th_TH.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/tr.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/uk.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/vi.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/zh_CN.js +0 -84
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/zh_TW.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/image/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/importcss/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/insertdatetime/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/link/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/lists/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/media/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/nonbreaking/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/pagebreak/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/preview/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/quickbars/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/save/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/searchreplace/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/table/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/template/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/visualblocks/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/visualchars/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/wordcount/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/skins/content/dark/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/content/dark/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/content/default/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/content/default/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/content/document/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/content/document/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/content/tinymce-5/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/content/tinymce-5/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/content/tinymce-5-dark/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/content/tinymce-5-dark/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/content/writer/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/content/writer/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/oxide/content.inline.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/oxide/content.inline.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/oxide/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/oxide/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/oxide/skin.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/oxide/skin.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/oxide/skin.shadowdom.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/oxide/skin.shadowdom.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/content.inline.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/content.inline.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/skin.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/skin.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/content.inline.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/content.inline.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/skin.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/skin.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/skin.shadowdom.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/content.inline.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/skin.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/skin.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +0 -1
- package/packages/rich-editor/tinymce/themes/silver/theme.min.js +0 -4
- package/packages/rich-editor/tinymce/tinymce.d.ts +0 -3238
- package/packages/rich-editor/tinymce/tinymce.min.js +0 -4
- package/packages/rich-editor/tinymce/zh_CN.js +0 -418
- package/packages/rich-editor/viewer.vue +0 -105
- package/packages/row-form/index.js +0 -7
- package/packages/row-form/index.vue +0 -284
- package/packages/row-form/operation.vue +0 -151
- package/packages/scan-code-input/index.js +0 -6
- package/packages/scan-code-input/src/events.js +0 -34
- package/packages/scan-code-input/src/scan-code-input.vue +0 -164
- package/packages/scan-code-input-browser/index.js +0 -6
- package/packages/scan-code-input-browser/src/scan-code-input.vue +0 -113
- package/packages/secret-info/index.js +0 -7
- package/packages/secret-info/index.vue +0 -100
- package/packages/super-grid/index.js +0 -7
- package/packages/super-grid/src/apis.js +0 -1713
- package/packages/super-grid/src/columns-config.vue +0 -329
- package/packages/super-grid/src/components/grid-icon.vue +0 -157
- package/packages/super-grid/src/components/grid-radio-input.vue +0 -84
- package/packages/super-grid/src/components/hyperlinks.vue +0 -130
- package/packages/super-grid/src/components/mobile-table-card.jsx +0 -589
- package/packages/super-grid/src/components/select-input.vue +0 -520
- package/packages/super-grid/src/custom-formatter.js +0 -419
- package/packages/super-grid/src/dynamic-input.vue +0 -2158
- package/packages/super-grid/src/eventBus.js +0 -10
- package/packages/super-grid/src/events.js +0 -56
- package/packages/super-grid/src/formValidatorUtil.js +0 -362
- package/packages/super-grid/src/formatter.js +0 -200
- package/packages/super-grid/src/group-column.vue +0 -119
- package/packages/super-grid/src/header-context-menu.vue +0 -82
- package/packages/super-grid/src/index-column.vue +0 -78
- package/packages/super-grid/src/normal-column-content.vue +0 -1310
- package/packages/super-grid/src/normal-column.vue +0 -423
- package/packages/super-grid/src/public-methods.js +0 -30
- package/packages/super-grid/src/row-detail.vue +0 -50
- package/packages/super-grid/src/row-operation.vue +0 -315
- package/packages/super-grid/src/scan-util.ts +0 -243
- package/packages/super-grid/src/search-button.vue +0 -88
- package/packages/super-grid/src/search-condition-input.vue +0 -74
- package/packages/super-grid/src/search-condition-list.vue +0 -70
- package/packages/super-grid/src/search-form-advancedQuery.vue +0 -836
- package/packages/super-grid/src/search-form-dialog.vue +0 -77
- package/packages/super-grid/src/search-form-item.vue +0 -616
- package/packages/super-grid/src/search-form-mobile.vue +0 -255
- package/packages/super-grid/src/search-form-number.vue +0 -122
- package/packages/super-grid/src/search-form-open.vue +0 -175
- package/packages/super-grid/src/search-form-ordinarySearch.vue +0 -243
- package/packages/super-grid/src/search-form.vue +0 -795
- package/packages/super-grid/src/search-methods.js +0 -539
- package/packages/super-grid/src/selection-column.vue +0 -36
- package/packages/super-grid/src/store.js +0 -3
- package/packages/super-grid/src/super-grid-service.js +0 -800
- package/packages/super-grid/src/super-grid.vue +0 -3814
- package/packages/super-grid/src/utils.js +0 -946
- package/packages/super-grid/src/view-image-dialog.vue +0 -194
- package/packages/super-icon/index.js +0 -6
- package/packages/super-icon/src/index.vue +0 -52
- package/packages/super-nine-grid/index.js +0 -7
- package/packages/super-nine-grid/src/apis.js +0 -108
- package/packages/super-nine-grid/src/custom-formatter.js +0 -73
- package/packages/super-nine-grid/src/formatter.js +0 -134
- package/packages/super-nine-grid/src/search-form-number.vue +0 -35
- package/packages/super-nine-grid/src/search-form.vue +0 -514
- package/packages/super-nine-grid/src/search-methods.js +0 -151
- package/packages/super-nine-grid/src/store.js +0 -3
- package/packages/super-nine-grid/src/super-grid-service.js +0 -110
- package/packages/super-nine-grid/src/super-nine-grid.vue +0 -1112
- package/packages/super-nine-grid/src/utils.js +0 -264
- package/packages/svg-icon/index.js +0 -6
- package/packages/svg-icon/src/svg-icon.vue +0 -43
- package/packages/utils/date-util.js +0 -292
- package/packages/utils/dom.js +0 -227
- package/packages/utils/gogocodeTransfer.js +0 -59
- package/packages/utils/memory-cache-utils.js +0 -117
- package/packages/utils/organization.ts +0 -173
- package/packages/utils/utils.js +0 -198
- package/packages/utils/value-set.js +0 -282
- package/packages/valid-code/index.js +0 -7
- package/packages/valid-code/src/valid-code.vue +0 -104
- package/packages/workflow-button/index.js +0 -6
- package/packages/workflow-button/src/workflow-button.vue +0 -574
- package/packages/workflow-history-list/index.js +0 -6
- package/packages/workflow-history-list/src/api.js +0 -7
- package/packages/workflow-history-list/src/workflow-history-list.vue +0 -394
- package/packages/workgroup-tree/index.js +0 -6
- package/packages/workgroup-tree/src/workgroup-tree.vue +0 -127
- package/packages/workgroup-tree-inline/index.js +0 -6
- package/packages/workgroup-tree-inline/src/search-result.vue +0 -227
- package/packages/workgroup-tree-inline/src/workgroup-tree-inline.vue +0 -557
- package/packages/workgroup-tree-inline/src/workgroup-tree-service.js +0 -119
- package/packages/workgroup-tree-mobile/index.js +0 -6
- package/packages/workgroup-tree-mobile/src/dept-result.vue +0 -52
- package/packages/workgroup-tree-mobile/src/workgroup-tree-app.vue +0 -148
- package/packages/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue +0 -407
- package/packages/workgroup-tree-mobile/src/workgroup-tree-service.ts +0 -62
- package/packages/workgroup-user-tree/index.js +0 -6
- package/packages/workgroup-user-tree/src/workgroup-user-tree.vue +0 -121
- package/packages/workgroup-user-tree-inline/index.js +0 -9
- package/packages/workgroup-user-tree-inline/src/search-result.vue +0 -271
- package/packages/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +0 -252
- package/packages/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue +0 -665
- package/packages/workgroup-user-tree-mobile/index.js +0 -6
- package/packages/workgroup-user-tree-mobile/src/dept-path.vue +0 -36
- package/packages/workgroup-user-tree-mobile/src/dept-result.vue +0 -58
- package/packages/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue +0 -119
- package/packages/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue +0 -453
- package/packages/workgroup-user-tree-mobile/src/workgroup-user-tree-service.ts +0 -41
- package/packages/year-range-picker/index.js +0 -6
- package/packages/year-range-picker/src/year-range-picker.vue +0 -53
- package/public/favicon.svg +0 -29
- package/src/api/sso-service.js +0 -222
- package/src/api/tab.js +0 -36
- package/src/assets/401/401.gif +0 -0
- package/src/assets/404/404-cloud.png +0 -0
- package/src/assets/404/404.png +0 -0
- package/src/assets/chat-embed/background.png +0 -0
- package/src/assets/chat-embed/robot.gif +0 -0
- package/src/assets/chat-embed/robot.svg +0 -32
- package/src/assets/cloud.png +0 -0
- package/src/assets/nonemessage.png +0 -0
- package/src/assets/tab-selectWhite.png +0 -0
- package/src/components/Affix/index.vue +0 -272
- package/src/components/Card/index.jsx +0 -217
- package/src/components/Scrollbar/index.vue +0 -213
- package/src/directives/permission/index.js +0 -14
- package/src/directives/permission/permission.js +0 -27
- package/src/i18n/i18n.js +0 -16
- package/src/i18n/langs/cn.js +0 -336
- package/src/i18n/langs/en.js +0 -336
- package/src/index.js +0 -22
- package/src/mixins/resizeMixin.js +0 -49
- package/src/permission.js +0 -252
- package/src/plugins.js +0 -18
- package/src/router/index.js +0 -92
- package/src/store/getters.js +0 -26
- package/src/store/index.js +0 -23
- package/src/store/modules/app.js +0 -96
- package/src/store/modules/chat-ai-store.ts +0 -85
- package/src/store/modules/permission.js +0 -143
- package/src/store/modules/system.js +0 -35
- package/src/store/modules/tab-content.js +0 -42
- package/src/store/modules/table.js +0 -76
- package/src/store/modules/user.js +0 -448
- package/src/utils/auth-api.js +0 -369
- package/src/utils/auth.js +0 -194
- package/src/utils/calculator/calculator-factory-wf.js +0 -465
- package/src/utils/calculator/calculator-factory.js +0 -133
- package/src/utils/calculator/calculator-util.js +0 -184
- package/src/utils/chat-ai-util.ts +0 -41
- package/src/utils/common-util.js +0 -1006
- package/src/utils/dingtalk-util.ts +0 -43
- package/src/utils/eventBus.js +0 -10
- package/src/utils/file-util.ts +0 -42
- package/src/utils/global-prop.ts +0 -44
- package/src/utils/guid.js +0 -13
- package/src/utils/i18n-util.js +0 -145
- package/src/utils/iconUtils.js +0 -37
- package/src/utils/iframe-communicator.js +0 -234
- package/src/utils/index.js +0 -102
- package/src/utils/insert_css.js +0 -47
- package/src/utils/json-util.ts +0 -85
- package/src/utils/jump-page-utils.js +0 -829
- package/src/utils/local-storage.js +0 -33
- package/src/utils/menu.js +0 -19
- package/src/utils/permission.js +0 -126
- package/src/utils/permissionAuth.js +0 -311
- package/src/utils/range-selector.js +0 -204
- package/src/utils/request.js +0 -407
- package/src/utils/resize.js +0 -19
- package/src/utils/restful-interface-utils.js +0 -57
- package/src/utils/util.js +0 -1000
- package/src/utils/validate.js +0 -34
- package/src/utils/voice-setting-cache.js +0 -497
- package/src/utils/watermark-cache.js +0 -13
- package/src/utils/watermark.js +0 -119
- package/src/utils/workflow-util.js +0 -107
- package/src/views/404.vue +0 -248
- package/src/views/dsc-component/Sidebar/Item.vue +0 -95
- package/src/views/dsc-component/Sidebar/Link.vue +0 -38
- package/src/views/dsc-component/Sidebar/SidebarItem.vue +0 -245
- package/src/views/dsc-component/Sidebar/index.vue +0 -258
- package/src/views/dsc-component/tabs/tab-content.vue +0 -230
- package/src/views/error-page/401.vue +0 -106
- package/src/views/error-page/404.vue +0 -248
- package/src/views/layout/EmptyLayout.vue +0 -3
- package/src/views/layout/Layout.vue +0 -85
- package/src/views/layout/NewLayout.vue +0 -18
- package/src/views/layout/components/AppMain.vue +0 -46
- package/src/views/layout/components/Breadcrumb/index.vue +0 -158
- package/src/views/layout/components/Menubar/Item.vue +0 -125
- package/src/views/layout/components/Menubar/Link.vue +0 -38
- package/src/views/layout/components/Menubar/SidebarItem.vue +0 -333
- package/src/views/layout/components/Menubar/index.vue +0 -250
- package/src/views/layout/components/Sidebar/Item.vue +0 -33
- package/src/views/layout/components/Sidebar/Link.vue +0 -38
- package/src/views/layout/components/Sidebar/SidebarItem.vue +0 -179
- package/src/views/layout/components/Sidebar/index.vue +0 -141
- package/src/views/layout/components/iframe-page.vue +0 -38
- package/src/views/layout/components/index.js +0 -4
- package/src/views/layout/components/tabs/tab-content.vue +0 -273
- package/src/views/layout/mixin/ResizeHandler.js +0 -41
- package/src/views/layout/tab-content-iframe-index.vue +0 -38
- package/src/views/layout/tab-content-index.vue +0 -92
- package/src/views/login/authredirect.vue +0 -10
- package/src/views/login/index.vue +0 -296
- package/src/views/login/update-password.vue +0 -246
- package/src/views/redirect/index.vue +0 -14
- package/src/views/svg-icon/index.js +0 -6
- package/src/views/svg-icon/src/svg-icon.vue +0 -46
- package/src/views/wf-history/tache-subprocess-history.vue +0 -45
- package/vite.config.js +0 -143
- /package/{lib/IntervalSelection/src/sectionDate.vue2.js → es/IntervalSelection/src/sectionDate.vue2.mjs} +0 -0
- /package/{lib/_virtual/__vite-browser-external.js → es/_virtual/__vite-browser-external.mjs} +0 -0
- /package/{lib/_virtual/_plugin-vue_export-helper.js → es/_virtual/_plugin-vue_export-helper.mjs} +0 -0
- /package/{lib/breadcrumb/src/breadcrumb.vue2.js → es/breadcrumb/src/breadcrumb.vue2.mjs} +0 -0
- /package/{lib/chat-embed/src/chat-addition-data.vue3.js → es/chat-embed/src/chat-addition-data.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/chat-ai-answer-tip.vue3.js → es/chat-embed/src/chat-ai-answer-tip.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/chat-bubble-footer.vue3.js → es/chat-embed/src/chat-bubble-footer.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/chat-sender.vue3.js → es/chat-embed/src/chat-sender.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/components/answer-auto-chart.vue3.js → es/chat-embed/src/components/answer-auto-chart.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/components/answer-home-chart.vue2.js → es/chat-embed/src/components/answer-home-chart.vue2.mjs} +0 -0
- /package/{lib/chat-embed/src/components/answer-home-chart.vue3.js → es/chat-embed/src/components/answer-home-chart.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/components/answer-interaction-data.vue3.js → es/chat-embed/src/components/answer-interaction-data.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/components/history-detail.vue3.js → es/chat-embed/src/components/history-detail.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/header.vue3.js → es/chat-embed/src/header.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/index.vue3.js → es/chat-embed/src/index.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/recommendation-message.vue3.js → es/chat-embed/src/recommendation-message.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/sidebar-item.vue3.js → es/chat-embed/src/sidebar-item.vue3.mjs} +0 -0
- /package/{lib/chat-embed/src/type.js → es/chat-embed/src/type.mjs} +0 -0
- /package/{lib/chat-embed/src/util/chat-embed-util.js → es/chat-embed/src/util/chat-embed-util.mjs} +0 -0
- /package/{lib/chat-embed/src/util/text-file-util.js → es/chat-embed/src/util/text-file-util.mjs} +0 -0
- /package/{lib/chat-embed/src/voice/js/timer.js → es/chat-embed/src/voice/js/timer.mjs} +0 -0
- /package/{lib/date-picker-range/index.vue3.js → es/date-picker-range/index.vue3.mjs} +0 -0
- /package/{lib/department-tree-inline/src/department-multi-tree-inline.vue2.js → es/department-tree-inline/src/department-multi-tree-inline.vue2.mjs} +0 -0
- /package/{lib/department-tree-inline/src/department-single-tree-inline.vue2.js → es/department-tree-inline/src/department-single-tree-inline.vue2.mjs} +0 -0
- /package/{lib/department-tree-inline/src/search-result.vue2.js → es/department-tree-inline/src/search-result.vue2.mjs} +0 -0
- /package/{lib/department-tree-mobile/src/department-tree-app.vue2.js → es/department-tree-mobile/src/department-tree-app.vue2.mjs} +0 -0
- /package/{lib/department-user-tree/src/department-user-multiple-tree.vue2.js → es/department-user-tree/src/department-user-multiple-tree.vue2.mjs} +0 -0
- /package/{lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js → es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.mjs} +0 -0
- /package/{lib/department-user-tree-inline/src/department-user-single-tree-inline.vue2.js → es/department-user-tree-inline/src/department-user-single-tree-inline.vue2.mjs} +0 -0
- /package/{lib/department-user-tree-inline/src/group-user-tree-service.js → es/department-user-tree-inline/src/group-user-tree-service.mjs} +0 -0
- /package/{lib/department-user-tree-inline/src/search-result.vue2.js → es/department-user-tree-inline/src/search-result.vue2.mjs} +0 -0
- /package/{lib/department-user-tree-mobile/src/department-user-tree-app.vue2.js → es/department-user-tree-mobile/src/department-user-tree-app.vue2.mjs} +0 -0
- /package/{lib/department-user-tree-mobile/src/department-user-tree-service.js → es/department-user-tree-mobile/src/department-user-tree-service.mjs} +0 -0
- /package/{lib/dynamic-source-select/src/dynamic-source-select.vue2.js → es/dynamic-source-select/src/dynamic-source-select.vue2.mjs} +0 -0
- /package/{lib/dynamic-source-select/src/dynamic-source-select.vue3.js → es/dynamic-source-select/src/dynamic-source-select.vue3.mjs} +0 -0
- /package/{lib/dynamic-source-select/src/events.js → es/dynamic-source-select/src/events.mjs} +0 -0
- /package/{lib → es}/favicon.svg +0 -0
- /package/{lib/fs-preview/src/fs-preview.vue2.js → es/fs-preview/src/fs-preview.vue2.mjs} +0 -0
- /package/{lib/fs-upload-list/src/fs-upload-list.vue2.js → es/fs-upload-list/src/fs-upload-list.vue2.mjs} +0 -0
- /package/{lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.js → es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.mjs} +0 -0
- /package/{lib/fs-upload-new/src/fs-button-upload.vue3.js → es/fs-upload-new/src/fs-button-upload.vue3.mjs} +0 -0
- /package/{lib/fs-upload-new/src/fs-drag-upload.vue3.js → es/fs-upload-new/src/fs-drag-upload.vue3.mjs} +0 -0
- /package/{lib/fs-upload-new/src/fs-preview-new.vue3.js → es/fs-upload-new/src/fs-preview-new.vue3.mjs} +0 -0
- /package/{lib/fs-upload-new/src/fs-preview-new.vue4.js → es/fs-upload-new/src/fs-preview-new.vue4.mjs} +0 -0
- /package/{lib/hamburger/src/hamburger.vue2.js → es/hamburger/src/hamburger.vue2.mjs} +0 -0
- /package/{lib/organization-input/src/organization-input.vue2.js → es/organization-input/src/organization-input.vue2.mjs} +0 -0
- /package/{lib/plugins/public-method.js → es/plugins/public-method.mjs} +0 -0
- /package/{lib/rich-editor/tinymce/zh_CN.js → es/rich-editor/tinymce/zh_CN.mjs} +0 -0
- /package/{lib/row-form/index.vue3.js → es/row-form/index.vue3.mjs} +0 -0
- /package/{lib/src/assets/401/401.gif.js → es/src/assets/401/401.gif.mjs} +0 -0
- /package/{lib/src/assets/404/404-cloud.png.js → es/src/assets/404/404-cloud.png.mjs} +0 -0
- /package/{lib/src/assets/404/404.png.js → es/src/assets/404/404.png.mjs} +0 -0
- /package/{lib/src/assets/chat-embed/robot.gif.js → es/src/assets/chat-embed/robot.gif.mjs} +0 -0
- /package/{lib/src/assets/chat-embed/robot.svg.js → es/src/assets/chat-embed/robot.svg.mjs} +0 -0
- /package/{lib/src/assets/nonemessage.png.js → es/src/assets/nonemessage.png.mjs} +0 -0
- /package/{lib/src/components/Affix/index.vue3.js → es/src/components/Affix/index.vue3.mjs} +0 -0
- /package/{lib/src/components/Scrollbar/index.vue2.js → es/src/components/Scrollbar/index.vue2.mjs} +0 -0
- /package/{lib/src/mixins/resizeMixin.js → es/src/mixins/resizeMixin.mjs} +0 -0
- /package/{lib/src/store/getters.js → es/src/store/getters.mjs} +0 -0
- /package/{lib/src/store/modules/chat-ai-store.js → es/src/store/modules/chat-ai-store.mjs} +0 -0
- /package/{lib/src/store/modules/table.js → es/src/store/modules/table.mjs} +0 -0
- /package/{lib/src/utils/auth-api.js → es/src/utils/auth-api.mjs} +0 -0
- /package/{lib/src/utils/calculator/calculator-factory-wf.js → es/src/utils/calculator/calculator-factory-wf.mjs} +0 -0
- /package/{lib/src/utils/calculator/calculator-factory.js → es/src/utils/calculator/calculator-factory.mjs} +0 -0
- /package/{lib/src/utils/eventBus.js → es/src/utils/eventBus.mjs} +0 -0
- /package/{lib/src/utils/file-util.js → es/src/utils/file-util.mjs} +0 -0
- /package/{lib/src/utils/global-prop.js → es/src/utils/global-prop.mjs} +0 -0
- /package/{lib/src/utils/guid.js → es/src/utils/guid.mjs} +0 -0
- /package/{lib/src/utils/index.js → es/src/utils/index.mjs} +0 -0
- /package/{lib/src/utils/json-util.js → es/src/utils/json-util.mjs} +0 -0
- /package/{lib/src/utils/local-storage.js → es/src/utils/local-storage.mjs} +0 -0
- /package/{lib/src/utils/resize.js → es/src/utils/resize.mjs} +0 -0
- /package/{lib/src/utils/validate.js → es/src/utils/validate.mjs} +0 -0
- /package/{lib/src/utils/watermark-cache.js → es/src/utils/watermark-cache.mjs} +0 -0
- /package/{lib/src/views/dsc-component/Sidebar/Item.vue3.js → es/src/views/dsc-component/Sidebar/Item.vue3.mjs} +0 -0
- /package/{lib/src/views/dsc-component/Sidebar/SidebarItem.vue2.js → es/src/views/dsc-component/Sidebar/SidebarItem.vue2.mjs} +0 -0
- /package/{lib/src/views/dsc-component/tabs/tab-content.vue2.js → es/src/views/dsc-component/tabs/tab-content.vue2.mjs} +0 -0
- /package/{lib/src/views/dsc-component/tabs/tab-content.vue3.js → es/src/views/dsc-component/tabs/tab-content.vue3.mjs} +0 -0
- /package/{lib/src/views/error-page/401.vue2.js → es/src/views/error-page/401.vue2.mjs} +0 -0
- /package/{lib/src/views/error-page/404.vue2.js → es/src/views/error-page/404.vue2.mjs} +0 -0
- /package/{lib/src/views/layout/Layout.vue2.js → es/src/views/layout/Layout.vue2.mjs} +0 -0
- /package/{lib/src/views/layout/components/AppMain.vue2.js → es/src/views/layout/components/AppMain.vue2.mjs} +0 -0
- /package/{lib/src/views/layout/components/Breadcrumb/index.vue2.js → es/src/views/layout/components/Breadcrumb/index.vue2.mjs} +0 -0
- /package/{lib/src/views/layout/components/Menubar/Item.vue3.js → es/src/views/layout/components/Menubar/Item.vue3.mjs} +0 -0
- /package/{lib/src/views/layout/components/Menubar/SidebarItem.vue2.js → es/src/views/layout/components/Menubar/SidebarItem.vue2.mjs} +0 -0
- /package/{lib/src/views/layout/components/Sidebar/Item.vue.js → es/src/views/layout/components/Sidebar/Item.vue.mjs} +0 -0
- /package/{lib/src/views/layout/components/Sidebar/SidebarItem.vue2.js → es/src/views/layout/components/Sidebar/SidebarItem.vue2.mjs} +0 -0
- /package/{lib/src/views/layout/components/iframe-page.vue2.js → es/src/views/layout/components/iframe-page.vue2.mjs} +0 -0
- /package/{lib/src/views/layout/components/tabs/tab-content.vue2.js → es/src/views/layout/components/tabs/tab-content.vue2.mjs} +0 -0
- /package/{lib/src/views/layout/components/tabs/tab-content.vue3.js → es/src/views/layout/components/tabs/tab-content.vue3.mjs} +0 -0
- /package/{lib/src/views/layout/tab-content-iframe-index.vue2.js → es/src/views/layout/tab-content-iframe-index.vue2.mjs} +0 -0
- /package/{lib/src/views/layout/tab-content-index.vue2.js → es/src/views/layout/tab-content-index.vue2.mjs} +0 -0
- /package/{lib/src/views/login/authredirect.vue.js → es/src/views/login/authredirect.vue.mjs} +0 -0
- /package/{lib/src/views/redirect/index.vue.js → es/src/views/redirect/index.vue.mjs} +0 -0
- /package/{lib/src/views/svg-icon/src/svg-icon.vue.js → es/src/views/super-icon/src/index.vue3.mjs} +0 -0
- /package/{lib/src/views/wf-history/tache-subprocess-history.vue2.js → es/src/views/svg-icon/src/svg-icon.vue.mjs} +0 -0
- /package/{lib/super-grid/src/header-context-menu.vue2.js → es/src/views/wf-history/tache-subprocess-history.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/eventBus.js → es/super-grid/src/eventBus.mjs} +0 -0
- /package/{lib/super-grid/src/formatter.js → es/super-grid/src/formatter.mjs} +0 -0
- /package/{lib/super-grid/src/normal-column-content.vue2.js → es/super-grid/src/header-context-menu.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/normal-column.vue2.js → es/super-grid/src/normal-column-content.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/row-operation.vue2.js → es/super-grid/src/normal-column.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/public-methods.js → es/super-grid/src/public-methods.mjs} +0 -0
- /package/{lib/super-grid/src/search-form-advancedQuery.vue2.js → es/super-grid/src/row-operation.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/search-form-item.vue2.js → es/super-grid/src/search-form-advancedQuery.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/search-form-mobile.vue2.js → es/super-grid/src/search-form-item.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/search-form-ordinarySearch.vue2.js → es/super-grid/src/search-form-mobile.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/search-form.vue2.js → es/super-grid/src/search-form-open.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/super-grid.vue2.js → es/super-grid/src/search-form-ordinarySearch.vue2.mjs} +0 -0
- /package/{lib/super-icon/src/index.vue3.js → es/super-grid/src/search-form.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/search-methods.js → es/super-grid/src/search-methods.mjs} +0 -0
- /package/{lib/super-grid/src/store.js → es/super-grid/src/store.mjs} +0 -0
- /package/{lib/super-nine-grid/src/search-form.vue2.js → es/super-grid/src/super-grid.vue2.mjs} +0 -0
- /package/{lib/super-nine-grid/src/super-nine-grid.vue2.js → es/super-icon/src/index.vue3.mjs} +0 -0
- /package/{lib/super-nine-grid/src/formatter.js → es/super-nine-grid/src/formatter.mjs} +0 -0
- /package/{lib/svg-icon/src/svg-icon.vue2.js → es/super-nine-grid/src/search-form.vue2.mjs} +0 -0
- /package/{lib/super-nine-grid/src/search-methods.js → es/super-nine-grid/src/search-methods.mjs} +0 -0
- /package/{lib/super-nine-grid/src/store.js → es/super-nine-grid/src/store.mjs} +0 -0
- /package/{lib/valid-code/src/valid-code.vue2.js → es/super-nine-grid/src/super-nine-grid.vue2.mjs} +0 -0
- /package/{lib/workflow-history-list/src/workflow-history-list.vue2.js → es/svg-icon/src/svg-icon.vue2.mjs} +0 -0
- /package/{lib/utils/gogocodeTransfer.js → es/utils/gogocodeTransfer.mjs} +0 -0
- /package/{lib/workgroup-tree-inline/src/search-result.vue2.js → es/valid-code/src/valid-code.vue2.mjs} +0 -0
- /package/{lib/workflow-history-list/src/api.js → es/workflow-history-list/src/api.mjs} +0 -0
- /package/{lib/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js → es/workflow-history-list/src/workflow-history-list.vue2.mjs} +0 -0
- /package/{lib/workgroup-tree-mobile/src/workgroup-tree-app.vue2.js → es/workgroup-tree-inline/src/search-result.vue2.mjs} +0 -0
- /package/{lib/workgroup-user-tree-inline/src/search-result.vue2.js → es/workgroup-tree-inline/src/workgroup-tree-inline.vue2.mjs} +0 -0
- /package/{lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.js → es/workgroup-tree-mobile/src/workgroup-tree-app.vue2.mjs} +0 -0
- /package/{lib/workgroup-tree-mobile/src/workgroup-tree-service.js → es/workgroup-tree-mobile/src/workgroup-tree-service.mjs} +0 -0
- /package/{lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js → es/workgroup-user-tree-inline/src/search-result.vue2.mjs} +0 -0
- /package/{lib/workgroup-user-tree-mobile/src/workgroup-user-tree-service.js → es/workgroup-user-tree-mobile/src/workgroup-user-tree-service.mjs} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).RecorderManager=t()}(this,(function(){"use strict";function e(e,t,r,o){return new(r||(r=Promise))((function(n,a){function i(e){try{u(o.next(e))}catch(e){a(e)}}function s(e){try{u(o.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,s)}u((o=o.apply(e,t||[])).next())}))}function t(e,t){var r,o,n,a,i={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(u){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(r=1,o&&(n=2&s[0]?o.return:s[0]?o.throw||((n=o.return)&&n.call(o),0):o.next)&&!(n=n.call(o,s[1])).done)return n;switch(o=0,n&&(s=[2&s[0],n.value]),s[0]){case 0:case 1:n=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,o=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(n=i.trys,(n=n.length>0&&n[n.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!n||s[1]>n[0]&&s[1]<n[3])){i.label=s[1];break}if(6===s[0]&&i.label<n[1]){i.label=n[1],n=s;break}if(n&&i.label<n[2]){i.label=n[2],i.ops.push(s);break}n[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],o=0}finally{r=n=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}}function r(){var e,t=navigator,r=t.getUserMedia||t.webkitGetUserMedia||t.mozGetUserMedia;return(null===(e=t.mediaDevices)||void 0===e?void 0:e.getUserMedia)?t.mediaDevices.getUserMedia({audio:!0,video:!1}):r?new Promise((function(e,t){r.call(navigator,{audio:!0,video:!1},(function(t){e(t)}),(function(e){t(e)}))})):Promise.reject(new Error("不支持录音"))}var o;function n(r,n){return e(this,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:return[3,2];case 1:return t.sent(),[2,new AudioWorkletNode(r,"processor-worklet")];case 2:return(e=o)?[3,4]:[4,new Worker("".concat(n,"/processor.worker.js"))];case 3:e=t.sent(),t.label=4;case 4:return[2,{port:o=e}]}}))}))}return function(){function o(e){this.processorPath=e,this.audioBuffers=[]}return o.prototype.start=function(o){var a,i=o.sampleRate,s=o.frameSize,u=o.arrayBufferType;return e(this,void 0,void 0,(function(){var e,o,c,l,f,d,p;return t(this,(function(t){switch(t.label){case 0:return t.trys.push([0,3,,4]),(e=this).audioBuffers=[],[4,r()];case 1:return o=t.sent(),this.audioTracks=o.getAudioTracks(),c=function(e,t){var r;try{(r=new(window.AudioContext||window.webkitAudioContext)({sampleRate:t})).createMediaStreamSource(e)}catch(t){null==r||r.close(),(r=new(window.AudioContext||window.webkitAudioContext)).createMediaStreamSource(e)}return r}(o,i),this.audioContext=c,l=c.createMediaStreamSource(o),[4,n(c,this.processorPath)];case 2:return f=t.sent(),this.audioWorklet=f,f.port.postMessage({type:"init",data:{frameSize:s,toSampleRate:i||c.sampleRate,fromSampleRate:c.sampleRate,arrayBufferType:u||"short16"}}),f.port.onmessage=function(t){var r=t.data,o=r.frameBuffer,n=r.isLastFrame;if(s&&e.onFrameRecorded)if(null==o?void 0:o.byteLength)for(var a=0;a<o.byteLength;)e.onFrameRecorded({isLastFrame:n&&a+s>=o.byteLength,frameBuffer:t.data.frameBuffer.slice(a,a+s)}),a+=s;else e.onFrameRecorded(t.data);e.onStop&&(o&&e.audioBuffers.push(o),n&&e.onStop(e.audioBuffers))},(d=c.createScriptProcessor(0,1,1)).onaudioprocess=function(e){f.port.postMessage({type:"message",data:e.inputBuffer.getChannelData(0)})},l.connect(d),d.connect(c.destination),c.resume(),null===(a=this.onStart)||void 0===a||a.call(this),[3,4];case 3:return p=t.sent(),console.error(p),[3,4];case 4:return[2]}}))}))},o.prototype.stop=function(){var e,t,r,o;null===(e=this.audioWorklet)||void 0===e||e.port.postMessage({type:"stop"}),null===(t=this.audioTracks)||void 0===t||t[0].stop(),"running"===(null===(r=this.audioContext)||void 0===r?void 0:r.state)&&(null===(o=this.audioContext)||void 0===o||o.close())},o}()}));
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// timer.js
|
|
2
|
-
|
|
3
|
-
// 定义定时器变量
|
|
4
|
-
let timer = null
|
|
5
|
-
|
|
6
|
-
// 封装启动定时器的方法
|
|
7
|
-
export function startTimer(callback, initialDelay = 0, interval = 1000) {
|
|
8
|
-
// 设置定时器
|
|
9
|
-
timer = setInterval(callback, interval)
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
// 封装停止定时器的方法
|
|
13
|
-
export function stopTimer() {
|
|
14
|
-
if (timer) {
|
|
15
|
-
clearInterval(timer)
|
|
16
|
-
timer = null
|
|
17
|
-
}
|
|
18
|
-
}
|
|
@@ -1,320 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<span v-if="isShowVoiceBtn">
|
|
3
|
-
<!-- <el-button v-if="btnStatus === 'UNDEFINED' || btnStatus === 'CLOSED'" text circle round> -->
|
|
4
|
-
<el-icon v-if="btnStatus === 'UNDEFINED' || btnStatus === 'CLOSED'" color="#409EFF" @click="onclick"
|
|
5
|
-
><Microphone
|
|
6
|
-
/></el-icon>
|
|
7
|
-
<!-- </el-button> -->
|
|
8
|
-
<!-- <el-button v-else text circle round> -->
|
|
9
|
-
<el-icon class="send-icon" v-else color="red"><Mute /></el-icon>
|
|
10
|
-
<!-- </el-button> -->
|
|
11
|
-
</span>
|
|
12
|
-
</template>
|
|
13
|
-
<script setup>
|
|
14
|
-
import { defineProps, defineEmits, ref, onMounted } from 'vue'
|
|
15
|
-
import './js/crypto-js.js'
|
|
16
|
-
import './js/processor/index.umd.js'
|
|
17
|
-
import { startTimer, stopTimer } from './js/timer.js'
|
|
18
|
-
|
|
19
|
-
import { executeAi } from './js/ai.js'
|
|
20
|
-
import { cacheVoiceSetting, cacheVoiceLeafMenu } from '../../../../src/utils/voice-setting-cache'
|
|
21
|
-
import { getToken, getUsername } from '../../../../src/utils/auth'
|
|
22
|
-
import { Microphone, Mute } from '@element-plus/icons-vue'
|
|
23
|
-
import { getRelativeBaseUrl } from '../../../../src/utils/common-util.js'
|
|
24
|
-
import { ElMessage } from 'element-plus'
|
|
25
|
-
|
|
26
|
-
const props = defineProps({
|
|
27
|
-
paramMsg: {
|
|
28
|
-
type: String,
|
|
29
|
-
default: false
|
|
30
|
-
}
|
|
31
|
-
})
|
|
32
|
-
const emit = defineEmits(['userMessage'])
|
|
33
|
-
|
|
34
|
-
window.$http
|
|
35
|
-
.get(window.$vueApp.config.globalProperties.baseAPI + '/bs/ai-voice-command/permission-json')
|
|
36
|
-
.then((res) => {
|
|
37
|
-
console.log('voice.command.........', res)
|
|
38
|
-
if (res) {
|
|
39
|
-
cacheVoiceSetting(JSON.stringify(res))
|
|
40
|
-
} else {
|
|
41
|
-
cacheVoiceSetting('EMPTY_VALUE')
|
|
42
|
-
}
|
|
43
|
-
})
|
|
44
|
-
.catch((error) => {
|
|
45
|
-
console.error('获取语音命令失败', error)
|
|
46
|
-
})
|
|
47
|
-
|
|
48
|
-
window.$http
|
|
49
|
-
.get(window.$vueApp.config.globalProperties.baseAPI + '/bs/ai-voice-command/command/leaf-menu')
|
|
50
|
-
.then((res) => {
|
|
51
|
-
cacheVoiceLeafMenu(JSON.stringify(res))
|
|
52
|
-
})
|
|
53
|
-
.catch((error) => {
|
|
54
|
-
cacheVoiceLeafMenu(JSON.stringify([]))
|
|
55
|
-
console.error('获取语音命令所需叶子菜单失败', error)
|
|
56
|
-
})
|
|
57
|
-
|
|
58
|
-
let btnStatus = ref('UNDEFINED') // "UNDEFINED" "CONNECTING" "OPEN" "CLOSING" "CLOSED"
|
|
59
|
-
let btnControl = ref('开始录音')
|
|
60
|
-
let result = ref('')
|
|
61
|
-
let resultold = ref('')
|
|
62
|
-
const loading = ref(false)
|
|
63
|
-
// https或localhost或127.0.0.1才会显示语音图标
|
|
64
|
-
const isShowVoiceBtn =
|
|
65
|
-
window.location.protocol === 'https:' ||
|
|
66
|
-
window.location.href.indexOf('//localhost') > 0 ||
|
|
67
|
-
window.location.href.indexOf('//127.0.0.1') > 0
|
|
68
|
-
? true
|
|
69
|
-
: false
|
|
70
|
-
let recorder
|
|
71
|
-
const authErrorMsg = ref('')
|
|
72
|
-
onMounted(() => {
|
|
73
|
-
recorder = new RecorderManager()
|
|
74
|
-
recorder.constructor(window.$vueApp.config.globalProperties.portalUrl + '/js/processor') // processor.worker.js和processor.worklet.js的访问路径是什么就配置成什么,平台放在了portal的public目录下,访问路径:http://localhost/portal/js/processor
|
|
75
|
-
recorder.onStart = () => {
|
|
76
|
-
if(authErrorMsg.value){
|
|
77
|
-
// 如果权限验证失败,则不开启按钮状态
|
|
78
|
-
authErrorMsg.value = ''
|
|
79
|
-
} else {
|
|
80
|
-
changeBtnStatus('OPEN')
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
recorder.onFrameRecorded = ({ isLastFrame, frameBuffer }) => {
|
|
84
|
-
if (iatWS.readyState === iatWS.OPEN) {
|
|
85
|
-
iatWS.send(
|
|
86
|
-
JSON.stringify({
|
|
87
|
-
data: {
|
|
88
|
-
status: isLastFrame ? 2 : 1,
|
|
89
|
-
format: 'audio/L16;rate=16000',
|
|
90
|
-
encoding: 'raw',
|
|
91
|
-
audio: toBase64(frameBuffer)
|
|
92
|
-
}
|
|
93
|
-
})
|
|
94
|
-
)
|
|
95
|
-
if (isLastFrame) {
|
|
96
|
-
changeBtnStatus('CLOSING')
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
recorder.onStop = () => {
|
|
101
|
-
stopTimer()
|
|
102
|
-
}
|
|
103
|
-
})
|
|
104
|
-
|
|
105
|
-
let iatWS = ref()
|
|
106
|
-
let resultText = ref()
|
|
107
|
-
let resultTextTemp = ref()
|
|
108
|
-
let countdownInterval = null
|
|
109
|
-
|
|
110
|
-
/**
|
|
111
|
-
* 获取websocket url
|
|
112
|
-
* 该接口需要后端提供,这里为了方便前端处理
|
|
113
|
-
*/
|
|
114
|
-
// function getWebSocketUrl() {
|
|
115
|
-
// // 请求地址根据语种不同变化
|
|
116
|
-
// var url = 'wss://iat-api.xfyun.cn/v2/iat'
|
|
117
|
-
// var host = 'iat-api.xfyun.cn'
|
|
118
|
-
// var apiKey = '4d52412f177affd1c13e8bf70c8452e0'
|
|
119
|
-
// var apiSecret = 'OWMyMTU0YWMwYzUyN2Y5ZDliYzAyMzhm'
|
|
120
|
-
// var date = new Date().toGMTString()
|
|
121
|
-
// var algorithm = 'hmac-sha256'
|
|
122
|
-
// var headers = 'host date request-line'
|
|
123
|
-
// var signatureOrigin = `host: ${host}\ndate: ${date}\nGET /v2/iat HTTP/1.1`
|
|
124
|
-
// var signatureSha = CryptoJS.HmacSHA256(signatureOrigin, apiSecret)
|
|
125
|
-
// var signature = CryptoJS.enc.Base64.stringify(signatureSha)
|
|
126
|
-
// var authorizationOrigin = `api_key="${apiKey}", algorithm="${algorithm}", headers="${headers}", signature="${signature}"`
|
|
127
|
-
// var authorization = btoa(authorizationOrigin)
|
|
128
|
-
// url = `${url}?authorization=${authorization}&date=${date}&host=${host}`
|
|
129
|
-
// return url
|
|
130
|
-
// }
|
|
131
|
-
|
|
132
|
-
function toBase64(buffer) {
|
|
133
|
-
var binary = ''
|
|
134
|
-
var bytes = new Uint8Array(buffer)
|
|
135
|
-
var len = bytes.byteLength
|
|
136
|
-
for (var i = 0; i < len; i++) {
|
|
137
|
-
binary += String.fromCharCode(bytes[i])
|
|
138
|
-
}
|
|
139
|
-
return window.btoa(binary)
|
|
140
|
-
}
|
|
141
|
-
let seconds = 60
|
|
142
|
-
function countdown() {
|
|
143
|
-
seconds = 60
|
|
144
|
-
btnControl.value = `录音中(${seconds}s)`
|
|
145
|
-
startTimer(countSecond)
|
|
146
|
-
// countdownInterval = setInterval(() => {
|
|
147
|
-
// seconds = seconds - 1
|
|
148
|
-
// if (seconds <= 0) {
|
|
149
|
-
// clearInterval(countdownInterval)
|
|
150
|
-
// recorder.stop()
|
|
151
|
-
// } else {
|
|
152
|
-
// btnControl.value = `录音中(${seconds}s)`
|
|
153
|
-
// }
|
|
154
|
-
// }, 1000)
|
|
155
|
-
}
|
|
156
|
-
function countSecond() {
|
|
157
|
-
seconds = seconds - 1
|
|
158
|
-
if (seconds <= 0) {
|
|
159
|
-
stopTimer()
|
|
160
|
-
recorder.stop()
|
|
161
|
-
} else {
|
|
162
|
-
btnControl.value = `录音中(${seconds}s)`
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
function changeBtnStatus(status) {
|
|
166
|
-
btnStatus.value = status
|
|
167
|
-
if (status === 'CONNECTING') {
|
|
168
|
-
btnControl.value = '建立连接中'
|
|
169
|
-
// document.getElementById('result').innerText = ''
|
|
170
|
-
resultText = ''
|
|
171
|
-
resultTextTemp = ''
|
|
172
|
-
} else if (status === 'OPEN') {
|
|
173
|
-
countdown()
|
|
174
|
-
} else if (status === 'CLOSING') {
|
|
175
|
-
btnControl.value = '关闭连接中'
|
|
176
|
-
} else if (status === 'CLOSED') {
|
|
177
|
-
btnControl.value = '开始录音'
|
|
178
|
-
resultsb()
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
function renderResult(resultData) {
|
|
183
|
-
// alert('connectWebSocket--renderResult-11')
|
|
184
|
-
console.log('resultData===', resultData)
|
|
185
|
-
// 识别结束
|
|
186
|
-
let jsonData = resultData
|
|
187
|
-
jsonData = JSON.parse(resultData)
|
|
188
|
-
console.log('识别结束')
|
|
189
|
-
if(jsonData && jsonData.error){
|
|
190
|
-
// JWT失效等错误时
|
|
191
|
-
iatWS.close()
|
|
192
|
-
authErrorMsg.value = jsonData.error
|
|
193
|
-
ElMessage.error(jsonData.error)
|
|
194
|
-
} else if (jsonData.data && jsonData.data.result) {
|
|
195
|
-
let data = jsonData.data.result
|
|
196
|
-
let str = ''
|
|
197
|
-
let ws = data.ws
|
|
198
|
-
for (let i = 0; i < ws.length; i++) {
|
|
199
|
-
str = str + ws[i].cw[0].w
|
|
200
|
-
}
|
|
201
|
-
// 开启wpgs会有此字段(前提:在控制台开通动态修正功能)
|
|
202
|
-
// 取值为 "apd"时表示该片结果是追加到前面的最终结果;取值为"rpl" 时表示替换前面的部分结果,替换范围为rg字段
|
|
203
|
-
if (data.pgs) {
|
|
204
|
-
if (data.pgs === 'apd') {
|
|
205
|
-
// 将resultTextTemp同步给resultText
|
|
206
|
-
resultText = resultTextTemp
|
|
207
|
-
}
|
|
208
|
-
// 将结果存储在resultTextTemp中
|
|
209
|
-
resultTextTemp = resultText + str
|
|
210
|
-
} else {
|
|
211
|
-
resultText = resultText + str
|
|
212
|
-
}
|
|
213
|
-
result.value = resultTextTemp || resultText || ''
|
|
214
|
-
}
|
|
215
|
-
if (jsonData.code === 0 && jsonData.data.status === 2) {
|
|
216
|
-
iatWS.close()
|
|
217
|
-
}
|
|
218
|
-
if (jsonData.code !== 0) {
|
|
219
|
-
iatWS.close()
|
|
220
|
-
console.error(jsonData)
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
function connectWebSocket() {
|
|
225
|
-
// voiceSockerUrl ws://127.0.0.1:9090/wsServer/
|
|
226
|
-
let username = getUsername()
|
|
227
|
-
if (!username) {
|
|
228
|
-
username = 1
|
|
229
|
-
}
|
|
230
|
-
const jwt = getToken()
|
|
231
|
-
const websocketUrl = window.$vueApp.config.globalProperties.voiceSockerUrl + username+'?jwt='+jwt
|
|
232
|
-
if ('WebSocket' in window) {
|
|
233
|
-
iatWS = new WebSocket(websocketUrl)
|
|
234
|
-
} else if ('MozWebSocket' in window) {
|
|
235
|
-
iatWS = new MozWebSocket(websocketUrl)
|
|
236
|
-
} else {
|
|
237
|
-
alert('浏览器不支持WebSocket')
|
|
238
|
-
return
|
|
239
|
-
}
|
|
240
|
-
changeBtnStatus('CONNECTING')
|
|
241
|
-
iatWS.onopen = (e) => {
|
|
242
|
-
// 开始录音
|
|
243
|
-
recorder.start({
|
|
244
|
-
sampleRate: 16000,
|
|
245
|
-
frameSize: 1280
|
|
246
|
-
})
|
|
247
|
-
const params = {
|
|
248
|
-
common: {
|
|
249
|
-
app_id: 'c4b3002b'
|
|
250
|
-
},
|
|
251
|
-
business: {
|
|
252
|
-
language: 'zh_cn',
|
|
253
|
-
domain: 'iat',
|
|
254
|
-
accent: 'mandarin',
|
|
255
|
-
vad_eos: 5000,
|
|
256
|
-
dwa: 'wpgs'
|
|
257
|
-
},
|
|
258
|
-
data: {
|
|
259
|
-
status: 0,
|
|
260
|
-
format: 'audio/L16;rate=16000',
|
|
261
|
-
encoding: 'raw'
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
iatWS.send(JSON.stringify(params))
|
|
265
|
-
}
|
|
266
|
-
iatWS.onmessage = (e) => {
|
|
267
|
-
renderResult(e.data)
|
|
268
|
-
}
|
|
269
|
-
iatWS.onerror = (e) => {
|
|
270
|
-
console.error(e)
|
|
271
|
-
recorder.stop()
|
|
272
|
-
changeBtnStatus('CLOSED')
|
|
273
|
-
}
|
|
274
|
-
iatWS.onclose = (e) => {
|
|
275
|
-
recorder.stop()
|
|
276
|
-
changeBtnStatus('CLOSED')
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
const onclick = () => {
|
|
281
|
-
getMicrophonePermissionState()
|
|
282
|
-
if (btnStatus.value === 'UNDEFINED' || btnStatus.value === 'CLOSED') {
|
|
283
|
-
connectWebSocket()
|
|
284
|
-
} else if (btnStatus.value === 'CONNECTING' || btnStatus.value === 'OPEN') {
|
|
285
|
-
// 结束录音
|
|
286
|
-
recorder.stop()
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
const resultsb = () => {
|
|
291
|
-
resultold.value = resultold.value + result.value
|
|
292
|
-
result.value = ''
|
|
293
|
-
if (resultold.value != '') {
|
|
294
|
-
emit('userMessage', resultold.value)
|
|
295
|
-
resultold.value = ''
|
|
296
|
-
} else {
|
|
297
|
-
resultold.value = ''
|
|
298
|
-
result.value = ''
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
async function getMicrophonePermissionState() {
|
|
303
|
-
if (!navigator.permissions || !navigator.permissions.query) {
|
|
304
|
-
console.warn('浏览器不支持权限查询API。')
|
|
305
|
-
return 'unsupported';
|
|
306
|
-
}
|
|
307
|
-
try {
|
|
308
|
-
const permissionStatus = await navigator.permissions.query({ name: 'microphone' });
|
|
309
|
-
console.log('permissionStatus------', permissionStatus)
|
|
310
|
-
if(permissionStatus.state === 'denied') {
|
|
311
|
-
ElMessage.error('浏览器麦克风权限被禁止,请取消禁止')
|
|
312
|
-
}
|
|
313
|
-
return permissionStatus.state;
|
|
314
|
-
} catch (error) {
|
|
315
|
-
console.error('查询权限时发生错误:', error);
|
|
316
|
-
return 'error';
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
</script>
|
|
320
|
-
<style scoped></style>
|
|
@@ -1,240 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="ab-date-range">
|
|
3
|
-
<el-date-picker
|
|
4
|
-
v-model="localStart"
|
|
5
|
-
:type="pickerType"
|
|
6
|
-
:format="format"
|
|
7
|
-
:value-format="valueFormat"
|
|
8
|
-
:disabled="disabled"
|
|
9
|
-
:clearable="clearable"
|
|
10
|
-
:readonly="readonly"
|
|
11
|
-
:shortcuts="mappedShortcuts"
|
|
12
|
-
:placeholder="startPlaceholderText"
|
|
13
|
-
:size="size"
|
|
14
|
-
:disabled-date="disabledStartDate"
|
|
15
|
-
@change="onStartChange"
|
|
16
|
-
@blur="emitEvent('blur', $event)"
|
|
17
|
-
@focus="emitEvent('focus', $event)"
|
|
18
|
-
@visible-change="emitEvent('visible-change', $event)"
|
|
19
|
-
@panel-change="emitEvent('panel-change', $event)"
|
|
20
|
-
@clear="emitEvent('clear', $event)"
|
|
21
|
-
/>
|
|
22
|
-
|
|
23
|
-
<span class="sep">-</span>
|
|
24
|
-
|
|
25
|
-
<el-date-picker
|
|
26
|
-
v-model="localEnd"
|
|
27
|
-
:type="pickerType"
|
|
28
|
-
:format="format"
|
|
29
|
-
:value-format="valueFormat"
|
|
30
|
-
:disabled="disabled"
|
|
31
|
-
:clearable="clearable"
|
|
32
|
-
:readonly="readonly"
|
|
33
|
-
:shortcuts="mappedShortcuts"
|
|
34
|
-
:placeholder="endPlaceholderText"
|
|
35
|
-
:size="size"
|
|
36
|
-
:disabled-date="disabledEndDate"
|
|
37
|
-
@change="onEndChange"
|
|
38
|
-
@blur="emitEvent('blur', $event)"
|
|
39
|
-
@focus="emitEvent('focus', $event)"
|
|
40
|
-
@visible-change="emitEvent('visible-change', $event)"
|
|
41
|
-
@panel-change="emitEvent('panel-change', $event)"
|
|
42
|
-
@clear="emitEvent('clear', $event)"
|
|
43
|
-
/>
|
|
44
|
-
</div>
|
|
45
|
-
</template>
|
|
46
|
-
|
|
47
|
-
<script setup lang="ts">
|
|
48
|
-
import { ref, watch, computed } from 'vue'
|
|
49
|
-
import dayjs from 'dayjs'
|
|
50
|
-
import { useI18n } from 'vue-i18n'
|
|
51
|
-
const { t } = useI18n()
|
|
52
|
-
const props = defineProps({
|
|
53
|
-
modelValue: { type: Array as () => any[], default: () => [] },
|
|
54
|
-
type: { type: String as () => 'daterange' | 'datetimerange' | 'monthrange' | 'yearrange', default: 'daterange' },
|
|
55
|
-
format: { type: String, default: undefined },
|
|
56
|
-
valueFormat: { type: String, default: undefined },
|
|
57
|
-
disabled: { type: Boolean, default: false },
|
|
58
|
-
clearable: { type: Boolean, default: true },
|
|
59
|
-
readonly: { type: Boolean, default: false },
|
|
60
|
-
shortcuts: { type: Array as () => any[], default: undefined },
|
|
61
|
-
startPlaceholder: { type: String, default: undefined },
|
|
62
|
-
endPlaceholder: { type: String, default: undefined },
|
|
63
|
-
size: { type: String, default: 'medium' }
|
|
64
|
-
})
|
|
65
|
-
|
|
66
|
-
const startPlaceholderText = ref(props.startPlaceholder ?? t('imatrixUIMessage.startDate'))
|
|
67
|
-
const endPlaceholderText = ref(props.endPlaceholder ?? t('imatrixUIMessage.endDate'))
|
|
68
|
-
|
|
69
|
-
const emit = defineEmits(['update:modelValue', 'change', 'blur', 'focus', 'visible-change', 'panel-change', 'clear'])
|
|
70
|
-
const localStart = ref<any>(props.modelValue && props.modelValue[0])
|
|
71
|
-
const localEnd = ref<any>(props.modelValue && props.modelValue[1])
|
|
72
|
-
|
|
73
|
-
// 监听外部 v-model 的变化并同步本地
|
|
74
|
-
watch(
|
|
75
|
-
() => props.modelValue && props.modelValue[0],
|
|
76
|
-
(newValue) => {
|
|
77
|
-
localStart.value = newValue
|
|
78
|
-
}
|
|
79
|
-
)
|
|
80
|
-
watch(
|
|
81
|
-
() => props.modelValue && props.modelValue[1],
|
|
82
|
-
(newValue) => {
|
|
83
|
-
localEnd.value = newValue
|
|
84
|
-
}
|
|
85
|
-
)
|
|
86
|
-
|
|
87
|
-
const pickerType = computed(() => {
|
|
88
|
-
switch (props.type) {
|
|
89
|
-
case 'daterange':
|
|
90
|
-
return 'date'
|
|
91
|
-
case 'datetimerange':
|
|
92
|
-
return 'datetime'
|
|
93
|
-
case 'monthrange':
|
|
94
|
-
return 'month'
|
|
95
|
-
case 'yearrange':
|
|
96
|
-
return 'year'
|
|
97
|
-
default:
|
|
98
|
-
return 'date'
|
|
99
|
-
}
|
|
100
|
-
})
|
|
101
|
-
|
|
102
|
-
function emitEvent(eventName: 'change' | 'blur' | 'focus' | 'visible-change' | 'panel-change' | 'clear', event: any) {
|
|
103
|
-
emit(eventName, event)
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
// shortcuts选择时根据valueFormat格式化
|
|
107
|
-
function formatByValueFormatSingle(pickValue: any) {
|
|
108
|
-
if (props.valueFormat) {
|
|
109
|
-
//valueFormat格式化
|
|
110
|
-
const d = dayjs(pickValue)
|
|
111
|
-
return d.isValid() ? d.format(props.valueFormat) : pickValue
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
// 未指定 valueFormat 时,返回 Date 对象便于内部比较
|
|
115
|
-
if (pickValue instanceof Date) {
|
|
116
|
-
return pickValue
|
|
117
|
-
}
|
|
118
|
-
if (typeof pickValue === 'number') {
|
|
119
|
-
return new Date(pickValue)
|
|
120
|
-
}
|
|
121
|
-
if (typeof pickValue === 'string') {
|
|
122
|
-
const d = dayjs(pickValue)
|
|
123
|
-
return d.isValid() ? d.toDate() : pickValue
|
|
124
|
-
}
|
|
125
|
-
return pickValue
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
function handleShortcutPick(pickValue: any) {
|
|
129
|
-
// 快捷选择时候的值处理
|
|
130
|
-
let normalized: any = null
|
|
131
|
-
if (Array.isArray(pickValue)) {
|
|
132
|
-
normalized = []
|
|
133
|
-
for (const value of pickValue) {
|
|
134
|
-
normalized.push(formatByValueFormatSingle(value))
|
|
135
|
-
}
|
|
136
|
-
} else {
|
|
137
|
-
normalized = formatByValueFormatSingle(pickValue)
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
if (Array.isArray(normalized) && normalized.length >= 2) {
|
|
141
|
-
localStart.value = normalized[0]
|
|
142
|
-
localEnd.value = normalized[1]
|
|
143
|
-
} else {
|
|
144
|
-
localStart.value = normalized
|
|
145
|
-
localEnd.value = normalized
|
|
146
|
-
}
|
|
147
|
-
emitChange()
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
// 快捷选项映射, 需要处理 value 为函数的情况
|
|
151
|
-
const mappedShortcuts = computed(() => {
|
|
152
|
-
if (!props.shortcuts || !Array.isArray(props.shortcuts)) {
|
|
153
|
-
return undefined
|
|
154
|
-
}
|
|
155
|
-
return props.shortcuts.map((shortcut: any) => {
|
|
156
|
-
if (shortcut && shortcut.value) {
|
|
157
|
-
return {
|
|
158
|
-
text: shortcut.text,
|
|
159
|
-
onClick() {
|
|
160
|
-
const v = typeof shortcut.value === 'function' ? shortcut.value() : shortcut.value
|
|
161
|
-
handleShortcutPick(v)
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
return shortcut
|
|
166
|
-
})
|
|
167
|
-
})
|
|
168
|
-
|
|
169
|
-
function toDateVal(val: any): Date | null {
|
|
170
|
-
if (val == null) return null
|
|
171
|
-
if (val instanceof Date) return val
|
|
172
|
-
// number (timestamp) or string
|
|
173
|
-
const n = typeof val === 'number' ? val : Date.parse(String(val))
|
|
174
|
-
return isNaN(n) ? null : new Date(n)
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
function disabledStartDate(date: Date) {
|
|
178
|
-
const e = toDateVal(localEnd.value)
|
|
179
|
-
if (!e) return false
|
|
180
|
-
// 禁止选择大于结束的时间
|
|
181
|
-
return date.getTime() > e.getTime()
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
function disabledEndDate(date: Date) {
|
|
185
|
-
const s = toDateVal(localStart.value)
|
|
186
|
-
if (!s) return false
|
|
187
|
-
// 禁止选择小于开始的时间
|
|
188
|
-
return date.getTime() < s.getTime()
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
function onStartChange(val: any) {
|
|
192
|
-
localStart.value = val
|
|
193
|
-
const s = toDateVal(val)
|
|
194
|
-
const e = toDateVal(localEnd.value)
|
|
195
|
-
if (s && e && s.getTime() > e.getTime()) {
|
|
196
|
-
// 如果开始大于结束,则把结束设置为开始(保证开始不大于结束)
|
|
197
|
-
localEnd.value = val
|
|
198
|
-
}
|
|
199
|
-
emitChange()
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
function onEndChange(val: any) {
|
|
203
|
-
localEnd.value = val
|
|
204
|
-
const s = toDateVal(localStart.value)
|
|
205
|
-
const e = toDateVal(val)
|
|
206
|
-
if (s && e && e.getTime() < s.getTime()) {
|
|
207
|
-
// 如果结束小于开始,则把开始设置为结束
|
|
208
|
-
localStart.value = val
|
|
209
|
-
}
|
|
210
|
-
emitChange()
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
function emitChange() {
|
|
214
|
-
emit('update:modelValue', [localStart.value, localEnd.value])
|
|
215
|
-
emit('change', [localStart.value, localEnd.value])
|
|
216
|
-
}
|
|
217
|
-
</script>
|
|
218
|
-
|
|
219
|
-
<style scoped>
|
|
220
|
-
.ab-date-range {
|
|
221
|
-
display: flex;
|
|
222
|
-
align-items: center;
|
|
223
|
-
width: 100%;
|
|
224
|
-
gap: 8px;
|
|
225
|
-
box-sizing: border-box;
|
|
226
|
-
min-width: 0;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
.ab-date-range ::v-deep .el-input {
|
|
230
|
-
width: 100%;
|
|
231
|
-
min-width: 0;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
.sep {
|
|
235
|
-
padding: 0 8px;
|
|
236
|
-
color: var(--el-text-color-secondary);
|
|
237
|
-
white-space: nowrap;
|
|
238
|
-
flex: 0 0 auto;
|
|
239
|
-
}
|
|
240
|
-
</style>
|