agilebuilder-ui 1.1.65-tmp16 → 1.1.65-tmp18
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-ai-answer-tip.vue.mjs +7 -0
- package/es/chat-embed/src/chat-bubble-footer.vue.mjs +7 -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 +160 -0
- package/es/chat-embed/src/components/answer-auto-chart.vue.mjs +7 -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 +118 -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 +307 -0
- package/es/chat-embed/src/recommendation-message.vue.mjs +7 -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 +1004 -0
- package/es/chat-embed/src/voice/js/processor/index.umd.mjs +169 -0
- package/es/chat-embed/src/voice/voice.vue.mjs +104 -0
- package/es/date-picker-range/index.mjs +7 -0
- package/es/date-picker-range/index.vue.mjs +7 -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 +108 -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 +15 -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/dept-path.vue2.mjs +4 -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 +165 -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 +81 -0
- package/es/department-user-tree-inline/src/department-user-tree-single-service.mjs +54 -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 +15 -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.vue2.mjs +4 -0
- package/es/department-user-tree-mobile/src/dept-result.vue.mjs +17 -0
- package/es/department-user-tree-mobile/src/dept-result.vue2.mjs +4 -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 +276 -0
- package/es/empty-state/index.vue2.mjs +4 -0
- package/es/favicon.svg +29 -0
- package/es/fs-preview/index.mjs +7 -0
- package/es/fs-preview/src/fs-preview.vue.mjs +120 -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 +98 -0
- package/es/fs-upload-new/index.mjs +7 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.mjs +61 -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/index.mjs +384 -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/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-user/index.mjs +7 -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.vue.mjs +31 -0
- package/es/rich-editor/index.mjs +7 -0
- package/es/rich-editor/index.vue.mjs +115 -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 +39 -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 +57 -0
- package/es/src/components/Affix/index.vue.mjs +7 -0
- package/es/src/components/Card/index.mjs +48 -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/permission.mjs +79 -0
- package/es/src/router/index.mjs +10 -0
- package/es/src/store/index.mjs +13 -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/common-util.mjs +440 -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 +45 -0
- package/es/src/utils/permissionAuth.mjs +154 -0
- package/es/src/utils/range-selector.mjs +105 -0
- package/es/src/utils/request.mjs +140 -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 +40 -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/wf-history/tache-subprocess-history.vue.mjs +14 -0
- package/es/style.css +3077 -0
- package/es/super-grid/index.mjs +7 -0
- package/es/super-grid/src/apis.mjs +458 -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 +109 -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 +168 -0
- package/es/super-grid/src/dynamic-input.vue.mjs +482 -0
- package/es/super-grid/src/events.mjs +37 -0
- package/es/super-grid/src/formValidatorUtil.mjs +109 -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 +319 -0
- package/es/super-grid/src/normal-column.vue.mjs +106 -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 +23 -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 +16 -0
- package/es/super-grid/src/search-form-item.vue.mjs +128 -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 +50 -0
- package/es/super-grid/src/search-form-ordinarySearch.vue.mjs +39 -0
- package/es/super-grid/src/search-form.vue.mjs +201 -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 +1052 -0
- package/es/super-grid/src/utils.mjs +355 -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 +13 -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 +225 -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/utils.mjs +87 -0
- package/es/utils/value-set.mjs +94 -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 +89 -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 +35 -0
- package/es/workgroup-tree-mobile/index.mjs +8 -0
- package/es/workgroup-tree-mobile/src/dept-result.vue2.mjs +4 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue.mjs +15 -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 +73 -0
- package/es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.mjs +172 -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 +17 -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 +15 -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/lib/IntervalSelection/index.cjs +5 -0
- package/lib/IntervalSelection/src/sectionDate.vue.cjs +45 -0
- package/lib/IntervalSelection/src/sectionDate.vue2.cjs +2 -0
- package/lib/_virtual/__vite-browser-external.cjs +2 -0
- package/lib/_virtual/_plugin-vue_export-helper.cjs +7 -0
- package/lib/breadcrumb/index.cjs +5 -0
- package/lib/breadcrumb/src/breadcrumb.vue.cjs +37 -0
- package/lib/breadcrumb/src/breadcrumb.vue2.cjs +2 -0
- package/lib/chat-embed/index.cjs +5 -0
- package/lib/chat-embed/src/chat-addition-data.vue.cjs +5 -0
- package/lib/chat-embed/src/chat-addition-data.vue2.cjs +12 -0
- package/lib/chat-embed/src/chat-addition-data.vue3.cjs +2 -0
- package/lib/chat-embed/src/chat-ai-answer-tip.vue.cjs +5 -0
- package/lib/chat-embed/src/chat-ai-answer-tip.vue2.cjs +26 -0
- package/lib/chat-embed/src/chat-ai-answer-tip.vue3.cjs +2 -0
- package/lib/chat-embed/src/chat-bubble-footer.vue.cjs +5 -0
- package/lib/chat-embed/src/chat-bubble-footer.vue2.cjs +28 -0
- package/lib/chat-embed/src/chat-bubble-footer.vue3.cjs +2 -0
- package/lib/chat-embed/src/chat-embed-message.cjs +16 -0
- package/lib/chat-embed/src/chat-sender.vue.cjs +5 -0
- package/lib/chat-embed/src/chat-sender.vue2.cjs +147 -0
- package/lib/chat-embed/src/chat-sender.vue3.cjs +2 -0
- package/lib/chat-embed/src/components/answer-auto-chart.vue.cjs +5 -0
- package/lib/chat-embed/src/components/answer-auto-chart.vue2.cjs +51 -0
- package/lib/chat-embed/src/components/answer-auto-chart.vue3.cjs +2 -0
- package/lib/chat-embed/src/components/answer-home-chart.vue.cjs +5 -0
- package/lib/chat-embed/src/components/answer-home-chart.vue2.cjs +3 -0
- package/lib/chat-embed/src/components/answer-home-chart.vue3.cjs +2 -0
- package/lib/chat-embed/src/components/answer-interaction-data.vue.cjs +5 -0
- package/lib/chat-embed/src/components/answer-interaction-data.vue2.cjs +108 -0
- package/lib/chat-embed/src/components/answer-interaction-data.vue3.cjs +2 -0
- package/lib/chat-embed/src/components/history-detail.vue.cjs +5 -0
- package/lib/chat-embed/src/components/history-detail.vue2.cjs +50 -0
- package/lib/chat-embed/src/components/history-detail.vue3.cjs +2 -0
- package/lib/chat-embed/src/header.vue.cjs +5 -0
- package/lib/chat-embed/src/header.vue2.cjs +39 -0
- package/lib/chat-embed/src/header.vue3.cjs +2 -0
- package/lib/chat-embed/src/index.vue.cjs +5 -0
- package/lib/chat-embed/src/index.vue2.cjs +281 -0
- package/lib/chat-embed/src/index.vue3.cjs +2 -0
- package/lib/chat-embed/src/recommendation-message.vue.cjs +5 -0
- package/lib/chat-embed/src/recommendation-message.vue2.cjs +5 -0
- package/lib/chat-embed/src/recommendation-message.vue3.cjs +2 -0
- package/lib/chat-embed/src/sidebar-item.vue.cjs +5 -0
- package/lib/chat-embed/src/sidebar-item.vue2.cjs +109 -0
- package/lib/chat-embed/src/sidebar-item.vue3.cjs +2 -0
- package/lib/chat-embed/src/type.cjs +3 -0
- package/lib/chat-embed/src/util/chat-embed-util.cjs +51 -0
- package/lib/chat-embed/src/util/history-message-util.cjs +74 -0
- package/lib/chat-embed/src/util/mcp-utils.cjs +50 -0
- package/lib/chat-embed/src/util/text-file-util.cjs +8 -0
- package/lib/chat-embed/src/voice/index.cjs +5 -0
- package/lib/chat-embed/src/voice/js/crypto-js.cjs +1005 -0
- package/lib/chat-embed/src/voice/js/processor/index.umd.cjs +170 -0
- package/lib/chat-embed/src/voice/js/timer.cjs +8 -0
- package/lib/chat-embed/src/voice/voice.vue.cjs +95 -0
- package/lib/date-picker-range/index.cjs +5 -0
- package/lib/date-picker-range/index.vue.cjs +5 -0
- package/lib/date-picker-range/index.vue2.cjs +89 -0
- package/lib/date-picker-range/index.vue3.cjs +2 -0
- package/lib/department-tree/index.cjs +5 -0
- package/lib/department-tree/src/department-tree.vue.cjs +17 -0
- package/lib/department-tree-inline/index.cjs +5 -0
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue.cjs +81 -0
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue2.cjs +2 -0
- package/lib/department-tree-inline/src/department-single-tree-inline.vue.cjs +54 -0
- package/lib/department-tree-inline/src/department-single-tree-inline.vue2.cjs +2 -0
- package/lib/department-tree-inline/src/department-tree-inline.vue.cjs +12 -0
- package/lib/department-tree-inline/src/department-tree-service.cjs +106 -0
- package/lib/department-tree-inline/src/search-result.vue.cjs +36 -0
- package/lib/department-tree-inline/src/search-result.vue2.cjs +2 -0
- package/lib/department-tree-mobile/index.cjs +5 -0
- package/lib/department-tree-mobile/src/department-tree-app.vue.cjs +12 -0
- package/lib/department-tree-mobile/src/department-tree-app.vue2.cjs +2 -0
- package/lib/department-tree-mobile/src/department-tree-app.vue3.cjs +3 -0
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue.cjs +110 -0
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue2.cjs +3 -0
- package/lib/department-tree-mobile/src/department-tree-service.cjs +45 -0
- package/lib/department-tree-mobile/src/dept-path.vue.cjs +13 -0
- package/lib/department-tree-mobile/src/dept-path.vue2.cjs +3 -0
- package/lib/department-tree-mobile/src/dept-result.vue.cjs +13 -0
- package/lib/department-tree-mobile/src/dept-result.vue2.cjs +3 -0
- package/lib/department-user-tree/index.cjs +5 -0
- package/lib/department-user-tree/src/department-user-multiple-tree.vue.cjs +16 -0
- package/lib/department-user-tree/src/department-user-multiple-tree.vue2.cjs +2 -0
- package/lib/department-user-tree/src/department-user-single-tree.vue.cjs +14 -0
- package/lib/department-user-tree/src/department-user-tree.vue.cjs +21 -0
- package/lib/department-user-tree-inline/index.cjs +5 -0
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.cjs +154 -0
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.cjs +2 -0
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.cjs +57 -0
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue2.cjs +2 -0
- package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.cjs +11 -0
- package/lib/department-user-tree-inline/src/department-user-tree-multi-service.cjs +78 -0
- package/lib/department-user-tree-inline/src/department-user-tree-single-service.cjs +51 -0
- package/lib/department-user-tree-inline/src/group-user/group-input.vue.cjs +34 -0
- package/lib/department-user-tree-inline/src/group-user/group-list.vue.cjs +22 -0
- package/lib/department-user-tree-inline/src/group-user/group-user.vue.cjs +10 -0
- package/lib/department-user-tree-inline/src/group-user-multiple-tree.vue.cjs +72 -0
- package/lib/department-user-tree-inline/src/group-user-single-tree.vue.cjs +28 -0
- package/lib/department-user-tree-inline/src/group-user-tree-service.cjs +33 -0
- package/lib/department-user-tree-inline/src/search-result.vue.cjs +38 -0
- package/lib/department-user-tree-inline/src/search-result.vue2.cjs +2 -0
- package/lib/department-user-tree-mobile/index.cjs +5 -0
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.cjs +12 -0
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue2.cjs +2 -0
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue3.cjs +3 -0
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.cjs +124 -0
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.cjs +3 -0
- package/lib/department-user-tree-mobile/src/department-user-tree-service.cjs +28 -0
- package/lib/department-user-tree-mobile/src/dept-path.vue.cjs +13 -0
- package/lib/department-user-tree-mobile/src/dept-path.vue2.cjs +3 -0
- package/lib/department-user-tree-mobile/src/dept-result.vue.cjs +13 -0
- package/lib/department-user-tree-mobile/src/dept-result.vue2.cjs +3 -0
- package/lib/directives/prevent-reclick.cjs +14 -0
- package/lib/dynamic-source-select/index.cjs +5 -0
- package/lib/dynamic-source-select/src/dynamic-source-select-service.cjs +30 -0
- package/lib/dynamic-source-select/src/dynamic-source-select.vue.cjs +266 -0
- package/lib/dynamic-source-select/src/dynamic-source-select.vue2.cjs +2 -0
- package/lib/dynamic-source-select/src/dynamic-source-select.vue3.cjs +2 -0
- package/lib/dynamic-source-select/src/events.cjs +28 -0
- package/lib/empty-state/index.vue.cjs +6 -0
- package/lib/empty-state/index.vue2.cjs +3 -0
- package/lib/fs-preview/index.cjs +5 -0
- package/lib/fs-preview/src/fs-preview.vue.cjs +111 -0
- package/lib/fs-preview/src/fs-preview.vue2.cjs +2 -0
- package/lib/fs-upload/index.cjs +5 -0
- package/lib/fs-upload/src/fs-upload-multi.vue.cjs +63 -0
- package/lib/fs-upload/src/fs-upload-single.vue.cjs +64 -0
- package/lib/fs-upload/src/fs-upload.vue.cjs +18 -0
- package/lib/fs-upload/src/see-big-picture.vue.cjs +9 -0
- package/lib/fs-upload-list/index.cjs +5 -0
- package/lib/fs-upload-list/src/fs-upload-list.vue.cjs +91 -0
- package/lib/fs-upload-list/src/fs-upload-list.vue2.cjs +2 -0
- package/lib/fs-upload-new/index.cjs +5 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.cjs +57 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.cjs +3 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.cjs +170 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.cjs +3 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.cjs +5 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.cjs +32 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.cjs +2 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.cjs +41 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.cjs +3 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.cjs +29 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue2.cjs +3 -0
- package/lib/fs-upload-new/src/fs-button-upload.vue.cjs +5 -0
- package/lib/fs-upload-new/src/fs-button-upload.vue2.cjs +55 -0
- package/lib/fs-upload-new/src/fs-button-upload.vue3.cjs +2 -0
- package/lib/fs-upload-new/src/fs-drag-upload.vue.cjs +5 -0
- package/lib/fs-upload-new/src/fs-drag-upload.vue2.cjs +55 -0
- package/lib/fs-upload-new/src/fs-drag-upload.vue3.cjs +2 -0
- package/lib/fs-upload-new/src/fs-preview-new.vue.cjs +5 -0
- package/lib/fs-upload-new/src/fs-preview-new.vue2.cjs +84 -0
- package/lib/fs-upload-new/src/fs-preview-new.vue3.cjs +2 -0
- package/lib/fs-upload-new/src/fs-preview-new.vue4.cjs +2 -0
- package/lib/fs-upload-new/src/fs-upload-new.vue.cjs +54 -0
- package/lib/fs-upload-new/src/fs-upload-new.vue2.cjs +3 -0
- package/lib/hamburger/index.cjs +5 -0
- package/lib/hamburger/src/hamburger.vue.cjs +11 -0
- package/lib/hamburger/src/hamburger.vue2.cjs +2 -0
- package/lib/index.cjs +41 -0
- package/lib/json-view/json-view-dialog.vue.cjs +16 -0
- package/lib/json-view/json-view-dialog.vue2.cjs +3 -0
- package/lib/json-view/json-view.vue.cjs +3 -0
- package/lib/json-view/json-view.vue2.cjs +32 -0
- package/lib/multipart-upload/index.cjs +5 -0
- package/lib/multipart-upload/src/index.vue.cjs +10 -0
- package/lib/multipart-upload/src/multipart-upload-form.vue.cjs +73 -0
- package/lib/multipart-upload/src/multipart-upload-list.vue.cjs +96 -0
- package/lib/organization-input/index.cjs +5 -0
- package/lib/organization-input/src/organization-input.vue.cjs +218 -0
- package/lib/organization-input/src/organization-input.vue2.cjs +2 -0
- package/lib/plugins/export-data-new.cjs +229 -0
- package/lib/plugins/export-data.cjs +173 -0
- package/lib/plugins/index.cjs +5 -0
- package/lib/plugins/public-method.cjs +13 -0
- package/lib/remove-department/index.cjs +5 -0
- package/lib/remove-department/src/remove-department.vue.cjs +27 -0
- package/lib/remove-department/src/remove-dept-service.cjs +12 -0
- package/lib/remove-user/index.cjs +5 -0
- package/lib/remove-user/src/remove-user-service.cjs +12 -0
- package/lib/remove-user/src/remove-user.vue.cjs +29 -0
- package/lib/remove-workgroup/index.cjs +5 -0
- package/lib/remove-workgroup/src/remove-workgroup-service.cjs +12 -0
- package/lib/remove-workgroup/src/remove-workgroup.vue.cjs +25 -0
- package/lib/rich-editor/index.cjs +5 -0
- package/lib/rich-editor/index.vue.cjs +67 -0
- package/lib/rich-editor/tinymce/zh_CN.cjs +2 -0
- package/lib/rich-editor/viewer.vue.cjs +24 -0
- package/lib/row-form/index.cjs +5 -0
- package/lib/row-form/index.vue.cjs +5 -0
- package/lib/row-form/index.vue2.cjs +56 -0
- package/lib/row-form/index.vue3.cjs +2 -0
- package/lib/row-form/operation.vue.cjs +28 -0
- package/lib/row-form/operation.vue2.cjs +3 -0
- package/lib/scan-code-input/index.cjs +5 -0
- package/lib/scan-code-input/src/events.cjs +13 -0
- package/lib/scan-code-input/src/scan-code-input.vue.cjs +26 -0
- package/lib/scan-code-input-browser/index.cjs +5 -0
- package/lib/scan-code-input-browser/src/scan-code-input.vue.cjs +34 -0
- package/lib/secret-info/index.cjs +5 -0
- package/lib/secret-info/index.vue.cjs +13 -0
- package/lib/src/api/sso-service.cjs +55 -0
- package/lib/src/api/tab.cjs +14 -0
- package/lib/src/assets/401/401.gif.cjs +2 -0
- package/lib/src/assets/404/404-cloud.png.cjs +2 -0
- package/lib/src/assets/404/404.png.cjs +2 -0
- package/lib/src/assets/chat-embed/robot.gif.cjs +2 -0
- package/lib/src/assets/chat-embed/robot.svg.cjs +2 -0
- package/lib/src/assets/nonemessage.png.cjs +2 -0
- package/lib/src/components/Affix/index.vue.cjs +5 -0
- package/lib/src/components/Affix/index.vue2.cjs +81 -0
- package/lib/src/components/Affix/index.vue3.cjs +2 -0
- package/lib/src/components/Card/index.cjs +43 -0
- package/lib/src/components/Scrollbar/index.vue.cjs +48 -0
- package/lib/src/components/Scrollbar/index.vue2.cjs +2 -0
- package/lib/src/directives/permission/index.cjs +5 -0
- package/lib/src/directives/permission/permission.cjs +9 -0
- package/lib/src/i18n/i18n.cjs +3 -0
- package/lib/src/i18n/langs/cn.cjs +2 -0
- package/lib/src/i18n/langs/en.cjs +2 -0
- package/lib/src/mixins/resizeMixin.cjs +20 -0
- package/lib/src/permission.cjs +76 -0
- package/lib/src/router/index.cjs +16 -0
- package/lib/src/store/getters.cjs +2 -0
- package/lib/src/store/index.cjs +16 -0
- package/lib/src/store/modules/app.cjs +40 -0
- package/lib/src/store/modules/chat-ai-store.cjs +33 -0
- package/lib/src/store/modules/permission.cjs +30 -0
- package/lib/src/store/modules/system.cjs +10 -0
- package/lib/src/store/modules/tab-content.cjs +18 -0
- package/lib/src/store/modules/table.cjs +17 -0
- package/lib/src/store/modules/user.cjs +133 -0
- package/lib/src/utils/auth-api.cjs +132 -0
- package/lib/src/utils/auth.cjs +86 -0
- package/lib/src/utils/calculator/calculator-factory-wf.cjs +166 -0
- package/lib/src/utils/calculator/calculator-factory.cjs +92 -0
- package/lib/src/utils/calculator/calculator-util.cjs +53 -0
- package/lib/src/utils/chat-ai-util.cjs +26 -0
- package/lib/src/utils/common-util.cjs +355 -0
- package/lib/src/utils/eventBus.cjs +3 -0
- package/lib/src/utils/file-util.cjs +22 -0
- package/lib/src/utils/global-prop.cjs +22 -0
- package/lib/src/utils/guid.cjs +7 -0
- package/lib/src/utils/i18n-util.cjs +62 -0
- package/lib/src/utils/iconUtils.cjs +19 -0
- package/lib/src/utils/index.cjs +32 -0
- package/lib/src/utils/insert_css.cjs +18 -0
- package/lib/src/utils/json-util.cjs +45 -0
- package/lib/src/utils/jump-page-utils.cjs +256 -0
- package/lib/src/utils/local-storage.cjs +18 -0
- package/lib/src/utils/menu.cjs +13 -0
- package/lib/src/utils/permission.cjs +41 -0
- package/lib/src/utils/permissionAuth.cjs +120 -0
- package/lib/src/utils/range-selector.cjs +101 -0
- package/lib/src/utils/request.cjs +131 -0
- package/lib/src/utils/resize.cjs +11 -0
- package/lib/src/utils/restful-interface-utils.cjs +15 -0
- package/lib/src/utils/util.cjs +341 -0
- package/lib/src/utils/validate.cjs +12 -0
- package/lib/src/utils/voice-setting-cache.cjs +199 -0
- package/lib/src/utils/watermark-cache.cjs +10 -0
- package/lib/src/utils/watermark.cjs +33 -0
- package/lib/src/utils/workflow-util.cjs +41 -0
- package/lib/src/views/dsc-component/Sidebar/Item.vue.cjs +5 -0
- package/lib/src/views/dsc-component/Sidebar/Item.vue2.cjs +9 -0
- package/lib/src/views/dsc-component/Sidebar/Item.vue3.cjs +2 -0
- package/lib/src/views/dsc-component/Sidebar/Link.vue.cjs +11 -0
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue.cjs +46 -0
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue2.cjs +2 -0
- package/lib/src/views/dsc-component/Sidebar/index.vue.cjs +103 -0
- package/lib/src/views/dsc-component/tabs/tab-content.vue.cjs +61 -0
- package/lib/src/views/dsc-component/tabs/tab-content.vue2.cjs +2 -0
- package/lib/src/views/dsc-component/tabs/tab-content.vue3.cjs +2 -0
- package/lib/src/views/error-page/401.vue.cjs +11 -0
- package/lib/src/views/error-page/401.vue2.cjs +2 -0
- package/lib/src/views/error-page/404.vue.cjs +8 -0
- package/lib/src/views/error-page/404.vue2.cjs +2 -0
- package/lib/src/views/layout/EmptyLayout.vue.cjs +7 -0
- package/lib/src/views/layout/Layout.vue.cjs +21 -0
- package/lib/src/views/layout/Layout.vue2.cjs +2 -0
- package/lib/src/views/layout/NewLayout.vue.cjs +7 -0
- package/lib/src/views/layout/components/AppMain.vue.cjs +11 -0
- package/lib/src/views/layout/components/AppMain.vue2.cjs +2 -0
- package/lib/src/views/layout/components/Breadcrumb/index.vue.cjs +56 -0
- package/lib/src/views/layout/components/Breadcrumb/index.vue2.cjs +2 -0
- package/lib/src/views/layout/components/Menubar/Item.vue.cjs +5 -0
- package/lib/src/views/layout/components/Menubar/Item.vue2.cjs +13 -0
- package/lib/src/views/layout/components/Menubar/Item.vue3.cjs +2 -0
- package/lib/src/views/layout/components/Menubar/Link.vue.cjs +11 -0
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue.cjs +47 -0
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue2.cjs +2 -0
- package/lib/src/views/layout/components/Menubar/index.vue.cjs +79 -0
- package/lib/src/views/layout/components/Sidebar/Item.vue.cjs +7 -0
- package/lib/src/views/layout/components/Sidebar/Item.vue2.cjs +3 -0
- package/lib/src/views/layout/components/Sidebar/Link.vue.cjs +9 -0
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue.cjs +16 -0
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue2.cjs +2 -0
- package/lib/src/views/layout/components/Sidebar/index.vue.cjs +51 -0
- package/lib/src/views/layout/components/iframe-page.vue.cjs +12 -0
- package/lib/src/views/layout/components/iframe-page.vue2.cjs +2 -0
- package/lib/src/views/layout/components/tabs/tab-content.vue.cjs +60 -0
- package/lib/src/views/layout/components/tabs/tab-content.vue2.cjs +2 -0
- package/lib/src/views/layout/components/tabs/tab-content.vue3.cjs +2 -0
- package/lib/src/views/layout/mixin/ResizeHandler.cjs +14 -0
- package/lib/src/views/layout/tab-content-iframe-index.vue.cjs +12 -0
- package/lib/src/views/layout/tab-content-iframe-index.vue2.cjs +2 -0
- package/lib/src/views/layout/tab-content-index.vue.cjs +22 -0
- package/lib/src/views/layout/tab-content-index.vue2.cjs +2 -0
- package/lib/src/views/login/authredirect.vue.cjs +6 -0
- package/lib/src/views/redirect/index.vue.cjs +17 -0
- package/lib/src/views/svg-icon/src/svg-icon.vue.cjs +2 -0
- package/lib/src/views/wf-history/tache-subprocess-history.vue.cjs +12 -0
- package/lib/src/views/wf-history/tache-subprocess-history.vue2.cjs +2 -0
- package/lib/style.css +464 -464
- package/lib/super-grid/index.cjs +5 -0
- package/lib/super-grid/src/apis.cjs +448 -0
- package/lib/super-grid/src/columns-config.vue.cjs +76 -0
- package/lib/super-grid/src/components/grid-icon.vue.cjs +39 -0
- package/lib/super-grid/src/components/grid-radio-input.vue.cjs +22 -0
- package/lib/super-grid/src/components/grid-radio-input.vue2.cjs +3 -0
- package/lib/super-grid/src/components/mobile-table-card.cjs +99 -0
- package/lib/super-grid/src/components/select-input.vue.cjs +141 -0
- package/lib/super-grid/src/components/select-input.vue2.cjs +3 -0
- package/lib/super-grid/src/custom-formatter.cjs +163 -0
- package/lib/super-grid/src/dynamic-input.vue.cjs +465 -0
- package/lib/super-grid/src/eventBus.cjs +3 -0
- package/lib/super-grid/src/events.cjs +35 -0
- package/lib/super-grid/src/formValidatorUtil.cjs +106 -0
- package/lib/super-grid/src/formatter.cjs +69 -0
- package/lib/super-grid/src/group-column.vue.cjs +19 -0
- package/lib/super-grid/src/header-context-menu.vue.cjs +12 -0
- package/lib/super-grid/src/header-context-menu.vue2.cjs +2 -0
- package/lib/super-grid/src/index-column.vue.cjs +19 -0
- package/lib/super-grid/src/normal-column-content.vue.cjs +300 -0
- package/lib/super-grid/src/normal-column-content.vue2.cjs +2 -0
- package/lib/super-grid/src/normal-column.vue.cjs +91 -0
- package/lib/super-grid/src/normal-column.vue2.cjs +2 -0
- package/lib/super-grid/src/public-methods.cjs +20 -0
- package/lib/super-grid/src/row-detail.vue.cjs +11 -0
- package/lib/super-grid/src/row-operation.vue.cjs +82 -0
- package/lib/super-grid/src/row-operation.vue2.cjs +2 -0
- package/lib/super-grid/src/scan-util.cjs +98 -0
- package/lib/super-grid/src/search-button.vue.cjs +18 -0
- package/lib/super-grid/src/search-condition-input.vue.cjs +13 -0
- package/lib/super-grid/src/search-condition-list.vue.cjs +17 -0
- package/lib/super-grid/src/search-form-advancedQuery.vue.cjs +106 -0
- package/lib/super-grid/src/search-form-advancedQuery.vue2.cjs +2 -0
- package/lib/super-grid/src/search-form-dialog.vue.cjs +12 -0
- package/lib/super-grid/src/search-form-item.vue.cjs +120 -0
- package/lib/super-grid/src/search-form-item.vue2.cjs +2 -0
- package/lib/super-grid/src/search-form-mobile.vue.cjs +32 -0
- package/lib/super-grid/src/search-form-mobile.vue2.cjs +2 -0
- package/lib/super-grid/src/search-form-number.vue.cjs +21 -0
- package/lib/super-grid/src/search-form-open.vue.cjs +44 -0
- package/lib/super-grid/src/search-form-ordinarySearch.vue.cjs +31 -0
- package/lib/super-grid/src/search-form-ordinarySearch.vue2.cjs +2 -0
- package/lib/super-grid/src/search-form.vue.cjs +189 -0
- package/lib/super-grid/src/search-form.vue2.cjs +2 -0
- package/lib/super-grid/src/search-methods.cjs +163 -0
- package/lib/super-grid/src/selection-column.vue.cjs +9 -0
- package/lib/super-grid/src/store.cjs +3 -0
- package/lib/super-grid/src/super-grid-service.cjs +253 -0
- package/lib/super-grid/src/super-grid.vue.cjs +1021 -0
- package/lib/super-grid/src/super-grid.vue2.cjs +2 -0
- package/lib/super-grid/src/utils.cjs +298 -0
- package/lib/super-grid/src/view-image-dialog.vue.cjs +60 -0
- package/lib/super-icon/index.cjs +5 -0
- package/lib/super-icon/src/index.vue.cjs +5 -0
- package/lib/super-icon/src/index.vue2.cjs +10 -0
- package/lib/super-icon/src/index.vue3.cjs +2 -0
- package/lib/super-nine-grid/index.cjs +5 -0
- package/lib/super-nine-grid/src/apis.cjs +33 -0
- package/lib/super-nine-grid/src/custom-formatter.cjs +33 -0
- package/lib/super-nine-grid/src/formatter.cjs +36 -0
- package/lib/super-nine-grid/src/search-form-number.vue.cjs +9 -0
- package/lib/super-nine-grid/src/search-form.vue.cjs +84 -0
- package/lib/super-nine-grid/src/search-form.vue2.cjs +2 -0
- package/lib/super-nine-grid/src/search-methods.cjs +47 -0
- package/lib/super-nine-grid/src/store.cjs +3 -0
- package/lib/super-nine-grid/src/super-grid-service.cjs +35 -0
- package/lib/super-nine-grid/src/super-nine-grid.vue.cjs +215 -0
- package/lib/super-nine-grid/src/super-nine-grid.vue2.cjs +2 -0
- package/lib/super-nine-grid/src/utils.cjs +36 -0
- package/lib/svg-icon/index.cjs +5 -0
- package/lib/svg-icon/src/svg-icon.vue.cjs +12 -0
- package/lib/svg-icon/src/svg-icon.vue2.cjs +2 -0
- package/lib/utils/gogocodeTransfer.cjs +28 -0
- package/lib/utils/memory-cache-utils.cjs +28 -0
- package/lib/utils/organization.cjs +44 -0
- package/lib/utils/utils.cjs +85 -0
- package/lib/utils/value-set.cjs +92 -0
- package/lib/valid-code/index.cjs +5 -0
- package/lib/valid-code/src/valid-code.vue.cjs +20 -0
- package/lib/valid-code/src/valid-code.vue2.cjs +2 -0
- package/lib/workflow-button/index.cjs +5 -0
- package/lib/workflow-button/src/workflow-button.vue.cjs +80 -0
- package/lib/workflow-history-list/index.cjs +5 -0
- package/lib/workflow-history-list/src/api.cjs +5 -0
- package/lib/workflow-history-list/src/workflow-history-list.vue.cjs +83 -0
- package/lib/workflow-history-list/src/workflow-history-list.vue2.cjs +2 -0
- package/lib/workgroup-tree/index.cjs +5 -0
- package/lib/workgroup-tree/src/workgroup-tree.vue.cjs +17 -0
- package/lib/workgroup-tree-inline/index.cjs +5 -0
- package/lib/workgroup-tree-inline/src/search-result.vue.cjs +35 -0
- package/lib/workgroup-tree-inline/src/search-result.vue2.cjs +2 -0
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.cjs +119 -0
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue2.cjs +2 -0
- package/lib/workgroup-tree-inline/src/workgroup-tree-service.cjs +33 -0
- package/lib/workgroup-tree-mobile/index.cjs +5 -0
- package/lib/workgroup-tree-mobile/src/dept-result.vue.cjs +13 -0
- package/lib/workgroup-tree-mobile/src/dept-result.vue2.cjs +3 -0
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.cjs +12 -0
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue2.cjs +2 -0
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue3.cjs +3 -0
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.cjs +99 -0
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.cjs +3 -0
- package/lib/workgroup-tree-mobile/src/workgroup-tree-service.cjs +25 -0
- package/lib/workgroup-user-tree/index.cjs +5 -0
- package/lib/workgroup-user-tree/src/workgroup-user-tree.vue.cjs +17 -0
- package/lib/workgroup-user-tree-inline/index.cjs +5 -0
- package/lib/workgroup-user-tree-inline/src/search-result.vue.cjs +35 -0
- package/lib/workgroup-user-tree-inline/src/search-result.vue2.cjs +2 -0
- package/lib/workgroup-user-tree-inline/src/workgroup-tree-inline-service.cjs +71 -0
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.cjs +163 -0
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.cjs +2 -0
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue.cjs +13 -0
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue2.cjs +3 -0
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue.cjs +13 -0
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue2.cjs +3 -0
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.cjs +12 -0
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.cjs +2 -0
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.cjs +3 -0
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.cjs +124 -0
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.cjs +3 -0
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-service.cjs +20 -0
- package/lib/year-range-picker/index.cjs +5 -0
- package/lib/year-range-picker/src/year-range-picker.vue.cjs +11 -0
- package/package.json +3 -2
- package/vite.config.js +11 -11
- 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-ai-answer-tip.vue.js +0 -7
- package/lib/chat-embed/src/chat-bubble-footer.vue.js +0 -7
- 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 -160
- package/lib/chat-embed/src/components/answer-auto-chart.vue.js +0 -7
- 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 -307
- package/lib/chat-embed/src/recommendation-message.vue.js +0 -7
- 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 -104
- package/lib/date-picker-range/index.js +0 -7
- package/lib/date-picker-range/index.vue.js +0 -7
- 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 -40
- 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/dept-path.vue2.js +0 -4
- 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.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/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 -276
- 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 -98
- 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 -39
- 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 -64
- 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 -384
- 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/multipart-upload/index.js +0 -7
- package/lib/multipart-upload/src/index.vue.js +0 -14
- package/lib/multipart-upload/src/multipart-upload-form.vue.js +0 -82
- package/lib/multipart-upload/src/multipart-upload-list.vue.js +0 -104
- 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-user/index.js +0 -7
- 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.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/components/Affix/index.vue.js +0 -7
- package/lib/src/components/Card/index.js +0 -48
- package/lib/src/components/Scrollbar/index.vue.js +0 -52
- 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/permission.js +0 -79
- package/lib/src/router/index.js +0 -10
- package/lib/src/store/index.js +0 -13
- 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 -56
- package/lib/src/utils/common-util.js +0 -440
- 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 -154
- package/lib/src/utils/range-selector.js +0 -105
- package/lib/src/utils/request.js +0 -140
- package/lib/src/utils/util.js +0 -361
- package/lib/src/utils/voice-setting-cache.js +0 -212
- 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 -66
- 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 -49
- 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 -64
- 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/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 -82
- 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 -149
- package/lib/super-grid/src/components/select-input.vue2.js +0 -4
- package/lib/super-grid/src/custom-formatter.js +0 -168
- package/lib/super-grid/src/dynamic-input.vue.js +0 -482
- 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 -15
- package/lib/super-grid/src/index-column.vue.js +0 -22
- package/lib/super-grid/src/normal-column-content.vue.js +0 -319
- 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 -260
- 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/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.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.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/{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.vue2.js → es/chat-embed/src/chat-addition-data.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.vue2.js → es/chat-embed/src/chat-ai-answer-tip.vue2.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.vue2.js → es/chat-embed/src/chat-bubble-footer.vue2.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.vue2.js → es/chat-embed/src/components/answer-auto-chart.vue2.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.vue2.js → es/chat-embed/src/recommendation-message.vue2.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.vue2.js → es/date-picker-range/index.vue2.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-tree-mobile/src/department-tree-service.js → es/department-tree-mobile/src/department-tree-service.mjs} +0 -0
- /package/{lib/department-tree-mobile/src/dept-path.vue.js → es/department-tree-mobile/src/dept-path.vue.mjs} +0 -0
- /package/{lib/department-tree-mobile/src/dept-result.vue.js → es/department-tree-mobile/src/dept-result.vue.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/department-user-tree-mobile/src/dept-path.vue.js → es/department-user-tree-mobile/src/dept-path.vue.mjs} +0 -0
- /package/{lib/directives/prevent-reclick.js → es/directives/prevent-reclick.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/empty-state/index.vue.js → es/empty-state/index.vue.mjs} +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/json-view/json-view.vue2.js → es/json-view/json-view.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/remove-department/src/remove-dept-service.js → es/remove-department/src/remove-dept-service.mjs} +0 -0
- /package/{lib/remove-user/src/remove-user-service.js → es/remove-user/src/remove-user-service.mjs} +0 -0
- /package/{lib/remove-workgroup/src/remove-workgroup-service.js → es/remove-workgroup/src/remove-workgroup-service.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/api/tab.js → es/src/api/tab.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.vue2.js → es/src/components/Affix/index.vue2.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/i18n/langs/cn.js → es/src/i18n/langs/cn.mjs} +0 -0
- /package/{lib/src/i18n/langs/en.js → es/src/i18n/langs/en.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/app.js → es/src/store/modules/app.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/chat-ai-util.js → es/src/utils/chat-ai-util.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/i18n-util.js → es/src/utils/i18n-util.mjs} +0 -0
- /package/{lib/src/utils/iconUtils.js → es/src/utils/iconUtils.mjs} +0 -0
- /package/{lib/src/utils/index.js → es/src/utils/index.mjs} +0 -0
- /package/{lib/src/utils/insert_css.js → es/src/utils/insert_css.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/restful-interface-utils.js → es/src/utils/restful-interface-utils.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/svg-icon/src/svg-icon.vue.mjs} +0 -0
- /package/{lib/src/views/wf-history/tache-subprocess-history.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/header-context-menu.vue2.js → es/super-grid/src/header-context-menu.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/normal-column-content.vue2.js → es/super-grid/src/normal-column-content.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/normal-column.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/row-operation.vue2.js → es/super-grid/src/row-operation.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/search-form-advancedQuery.vue2.js → es/super-grid/src/search-form-advancedQuery.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/search-form-item.vue2.js → es/super-grid/src/search-form-item.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/search-form-mobile.vue2.js → es/super-grid/src/search-form-mobile.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/search-form-ordinarySearch.vue2.js → es/super-grid/src/search-form-ordinarySearch.vue2.mjs} +0 -0
- /package/{lib/super-grid/src/search-form.vue2.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-grid/src/super-grid.vue2.js → es/super-grid/src/super-grid.vue2.mjs} +0 -0
- /package/{lib/super-icon/src/index.vue3.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/super-nine-grid/src/search-form.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/super-nine-grid/src/super-nine-grid.vue2.js → es/super-nine-grid/src/super-nine-grid.vue2.mjs} +0 -0
- /package/{lib/svg-icon/src/svg-icon.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/utils/organization.js → es/utils/organization.mjs} +0 -0
- /package/{lib/valid-code/src/valid-code.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/workflow-history-list/src/workflow-history-list.vue2.js → es/workflow-history-list/src/workflow-history-list.vue2.mjs} +0 -0
- /package/{lib/workgroup-tree-inline/src/search-result.vue2.js → es/workgroup-tree-inline/src/search-result.vue2.mjs} +0 -0
- /package/{lib/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js → es/workgroup-tree-inline/src/workgroup-tree-inline.vue2.mjs} +0 -0
- /package/{lib/workgroup-tree-mobile/src/dept-result.vue.js → es/workgroup-tree-mobile/src/dept-result.vue.mjs} +0 -0
- /package/{lib/workgroup-tree-mobile/src/workgroup-tree-app.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-inline/src/search-result.vue2.js → es/workgroup-user-tree-inline/src/search-result.vue2.mjs} +0 -0
- /package/{lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.js → es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.mjs} +0 -0
- /package/{lib/workgroup-user-tree-mobile/src/dept-path.vue.js → es/workgroup-user-tree-mobile/src/dept-path.vue.mjs} +0 -0
- /package/{lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js → es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.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
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { $emit as e } from "../../utils/gogocodeTransfer.mjs";
|
|
2
|
+
import { formatTimefn as t, getFirstDayOfSeason as a, getWeekOfSeason as i, getDateRangeSelectorDefaultValue as l } from "../../src/utils/range-selector.mjs";
|
|
3
|
+
import { resolveComponent as o, openBlock as n, createElementBlock as s, createVNode as r, pushScopeId as d, popScopeId as c, createElementVNode as h } from "vue";
|
|
4
|
+
import "./sectionDate.vue2.mjs";
|
|
5
|
+
import p from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
6
|
+
const m = { name: "SectionDate", components: {}, props: { colFieldSetting: { type: Object, default: null } }, data: () => ({ modelValue: {}, startDate: "", endDate: "", weekStareDate: "", weekDate: "", monthStareDate: "", monthDate: "", datStareDate: [], yearStartDate: "", yearDate: "", ScopeStartDate: "", ScopeEndDate: "", pickerOptions: { disabledDate: (e2) => e2.getFullYear() < 2e3 }, fordateParams: "" }), watch: { datStareDate: { handler(e2) {
|
|
7
|
+
this.startDate = this.formatTimefn(this.colFieldSetting.options.format, e2[0]), this.endDate = this.formatTimefn(this.colFieldSetting.options.format, e2[1]);
|
|
8
|
+
}, immediate: false, deep: true } }, created() {
|
|
9
|
+
this.setTimeScope();
|
|
10
|
+
}, methods: { formatTimefn: (e2, a2) => t(e2, a2), getFirstDayOfSeason: (e2) => a(e2), getWeekOfSeason: (e2) => i(e2), setTimeScope() {
|
|
11
|
+
const e2 = this.colFieldSetting.options;
|
|
12
|
+
let t2 = e2.defaultValueSetting ? e2.defaultValueSetting.paramValue : null;
|
|
13
|
+
null != t2 && "" !== t2 || (t2 = e2.defaultValue);
|
|
14
|
+
const a2 = l(e2.stareScopeTimeType, e2.format, t2);
|
|
15
|
+
if (a2) {
|
|
16
|
+
const t3 = a2.startTimeTemp, i2 = a2.endTimeTemp, l2 = a2.startDate, o2 = a2.endDate;
|
|
17
|
+
"year" === e2.showType && t3 && i2 ? (this.yearStartDate = t3, this.yearDate = i2) : "quarterScope" === e2.showType && t3 && i2 ? (this.ScopeStartDate = t3, this.ScopeEndDate = i2) : "week" === e2.showType && t3 && i2 ? (this.weekStareDate = t3, this.weekDate = i2) : "monthrange" === e2.showType && t3 && i2 ? (this.monthStareDate = t3, this.monthDate = i2) : "daterange" === e2.showType && t3 && i2 && (this.datStareDate = [t3, i2]), this.startDate = l2, this.endDate = o2;
|
|
18
|
+
}
|
|
19
|
+
this.changeForm();
|
|
20
|
+
}, getTimeTamp: (e2) => new Date(e2).getTime(), onChangeStatYear() {
|
|
21
|
+
this.startDate = this.formatTimefn(this.colFieldSetting.options.format, new Date(this.yearStartDate).getTime()), this.changeForm();
|
|
22
|
+
}, onChangeEndYear() {
|
|
23
|
+
const e2 = new Date(this.yearDate).getFullYear();
|
|
24
|
+
this.forTimeParams = e2 % 4 == 0 && e2 % 100 != 0 || e2 % 400 == 0 ? new Date(this.yearDate).getTime() + 31536e6 : new Date(this.yearDate).getTime() + 314496e5, this.endDate = this.formatTimefn(this.colFieldSetting.options.format, this.forTimeParams), this.startDate = this.formatTimefn(this.colFieldSetting.options.format, new Date(this.yearStartDate).getTime()), this.changeForm();
|
|
25
|
+
}, weekChange() {
|
|
26
|
+
this.forTimeParams = new Date(this.weekDate).getTime() + 432e6, this.endDate = this.formatTimefn(this.colFieldSetting.options.format, this.forTimeParams), this.changeForm();
|
|
27
|
+
}, weekStatChange() {
|
|
28
|
+
const e2 = new Date(this.weekStareDate) - 864e5;
|
|
29
|
+
this.startDate = this.formatTimefn(this.colFieldSetting.options.format, new Date(e2).getTime()), this.changeForm();
|
|
30
|
+
}, changeForm() {
|
|
31
|
+
const t2 = [this.startDate, this.endDate];
|
|
32
|
+
e(this, "SectionDateTransfer", t2);
|
|
33
|
+
}, quarterStatrt(e2) {
|
|
34
|
+
this.startDate = this.formatTimefn(this.colFieldSetting.options.format, new Date(e2).getTime()), this.changeForm();
|
|
35
|
+
}, quarterEnd(e2) {
|
|
36
|
+
this.endDate = this.formatTimefn(this.colFieldSetting.options.format, new Date(e2).getTime()), this.changeForm();
|
|
37
|
+
}, monthChange() {
|
|
38
|
+
const e2 = new Date(this.monthDate).getFullYear(), t2 = new Date(this.monthDate).getMonth() + 1, a2 = [1, 3, 5, 7, 8, 10, 12];
|
|
39
|
+
"" !== this.monthStareDate && null !== this.monthStareDate && void 0 !== this.monthStareDate && (this.startDate = this.formatTimefn(this.colFieldSetting.options.format, this.monthStareDate)), e2 % 4 == 0 && e2 % 100 != 0 || e2 % 400 == 0 ? 2 === t2 ? this.forTimeParams = new Date(this.monthDate).getTime() + 24192e5 : -1 !== a2.indexOf(t2) ? this.forTimeParams = new Date(this.monthDate).getTime() + 2592e6 : this.forTimeParams = new Date(this.monthDate).getTime() + 25056e5 : 2 === t2 ? this.forTimeParams = new Date(this.monthDate).getTime() + 23328e5 : -1 !== a2.indexOf(t2) ? this.forTimeParams = new Date(this.monthDate).getTime() + 2592e6 : this.forTimeParams = new Date(this.monthDate).getTime() + 25056e5, this.endDate = this.formatTimefn(this.colFieldSetting.options.format, this.forTimeParams), this.changeForm();
|
|
40
|
+
}, monthStatChange() {
|
|
41
|
+
this.startDate = this.formatTimefn(this.colFieldSetting.options.format, this.monthStareDate), this.changeForm();
|
|
42
|
+
} }, emits: ["SectionDateTransfer"] }, g = (e2) => (d("data-v-52983a24"), e2 = e2(), c(), e2), S = { key: 0, class: "select" }, D = g(() => h("div", { class: "intervalCenter" }, "-", -1)), f = { key: 1, class: "select" }, F = g(() => h("div", { class: "intervalCenter" }, "-", -1)), y = { key: 2, class: "select" }, u = g(() => h("div", { class: "intervalCenter" }, "-", -1)), b = { key: 3, style: { width: "100%", height: "100%" } };
|
|
43
|
+
const T = p(m, [["render", function(e2, t2, a2, i2, l2, d2) {
|
|
44
|
+
const c2 = o("el-date-picker");
|
|
45
|
+
return n(), s("div", null, ["year" === a2.colFieldSetting.options.showType ? (n(), s("div", S, [r(c2, { shortcuts: l2.pickerOptions && l2.pickerOptions.shortcuts, "disabled-date": l2.pickerOptions && l2.pickerOptions.disabledDate, "cell-class-name": l2.pickerOptions && l2.pickerOptions.cellClassName, modelValue: l2.yearStartDate, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => l2.yearStartDate = e3), type: "year", placeholder: a2.colFieldSetting.options.startPlaceholder, disabled: a2.colFieldSetting.options.disabled, clearable: a2.colFieldSetting.options.clearable, size: a2.colFieldSetting.options.size ? a2.colFieldSetting.options.size : "small", onChange: d2.onChangeStatYear }, null, 8, ["shortcuts", "disabled-date", "cell-class-name", "modelValue", "placeholder", "disabled", "clearable", "size", "onChange"]), D, r(c2, { shortcuts: l2.pickerOptions && l2.pickerOptions.shortcuts, "disabled-date": l2.pickerOptions && l2.pickerOptions.disabledDate, "cell-class-name": l2.pickerOptions && l2.pickerOptions.cellClassName, modelValue: l2.yearDate, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => l2.yearDate = e3), type: "year", placeholder: a2.colFieldSetting.options.endPlaceholder, disabled: a2.colFieldSetting.options.disabled, clearable: a2.colFieldSetting.options.clearable, size: a2.colFieldSetting.options.size ? a2.colFieldSetting.options.size : "small", onChange: d2.onChangeEndYear }, null, 8, ["shortcuts", "disabled-date", "cell-class-name", "modelValue", "placeholder", "disabled", "clearable", "size", "onChange"])])) : "week" === a2.colFieldSetting.options.showType ? (n(), s("div", f, [r(c2, { shortcuts: { firstDayOfWeek: 1 } && { firstDayOfWeek: 1 }.shortcuts, "disabled-date": { firstDayOfWeek: 1 } && { firstDayOfWeek: 1 }.disabledDate, "cell-class-name": { firstDayOfWeek: 1 } && { firstDayOfWeek: 1 }.cellClassName, modelValue: l2.weekStareDate, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => l2.weekStareDate = e3), type: a2.colFieldSetting.options.showType, "is-range": a2.colFieldSetting.options.range, placeholder: a2.colFieldSetting.options.placeholder, "start-placeholder": a2.colFieldSetting.options.startPlaceholder, "end-placeholder": a2.colFieldSetting.options.endPlaceholder, readonly: a2.colFieldSetting.options.readonly, disabled: a2.colFieldSetting.options.disabled, editable: a2.colFieldSetting.options.editable, size: a2.colFieldSetting.options.size ? a2.colFieldSetting.options.size : "small", clearable: a2.colFieldSetting.options.clearable, format: "YYYY" + e2.$t("IntervalSelection.auxiliary") + "WW" + e2.$t("IntervalSelection.week"), onChange: d2.weekStatChange }, null, 8, ["shortcuts", "disabled-date", "cell-class-name", "modelValue", "type", "is-range", "placeholder", "start-placeholder", "end-placeholder", "readonly", "disabled", "editable", "size", "clearable", "format", "onChange"]), F, r(c2, { shortcuts: { firstDayOfWeek: 1 } && { firstDayOfWeek: 1 }.shortcuts, "disabled-date": { firstDayOfWeek: 1 } && { firstDayOfWeek: 1 }.disabledDate, "cell-class-name": { firstDayOfWeek: 1 } && { firstDayOfWeek: 1 }.cellClassName, modelValue: l2.weekDate, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => l2.weekDate = e3), type: a2.colFieldSetting.options.showType, "is-range": a2.colFieldSetting.options.range, placeholder: a2.colFieldSetting.options.placeholder, "start-placeholder": a2.colFieldSetting.options.startPlaceholder, "end-placeholder": a2.colFieldSetting.options.endPlaceholder, readonly: a2.colFieldSetting.options.readonly, disabled: a2.colFieldSetting.options.disabled, editable: a2.colFieldSetting.options.editable, size: a2.colFieldSetting.options.size ? a2.colFieldSetting.options.size : "small", clearable: a2.colFieldSetting.options.clearable, format: "YYYY" + e2.$t("IntervalSelection.auxiliary") + "WW" + e2.$t("IntervalSelection.week"), onChange: d2.weekChange }, null, 8, ["shortcuts", "disabled-date", "cell-class-name", "modelValue", "type", "is-range", "placeholder", "start-placeholder", "end-placeholder", "readonly", "disabled", "editable", "size", "clearable", "format", "onChange"])])) : "monthrange" === a2.colFieldSetting.options.showType ? (n(), s("div", y, [r(c2, { modelValue: l2.monthStareDate, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => l2.monthStareDate = e3), type: "month", "is-range": a2.colFieldSetting.options.range, placeholder: a2.colFieldSetting.options.placeholder, "start-placeholder": a2.colFieldSetting.options.startPlaceholder, "end-placeholder": a2.colFieldSetting.options.endPlaceholder, readonly: a2.colFieldSetting.options.readonly, disabled: a2.colFieldSetting.options.disabled, editable: a2.colFieldSetting.options.editable, clearable: a2.colFieldSetting.options.clearable, size: a2.colFieldSetting.options.size ? a2.colFieldSetting.options.size : "small", "value-format": "x", onChange: d2.monthStatChange }, null, 8, ["modelValue", "is-range", "placeholder", "start-placeholder", "end-placeholder", "readonly", "disabled", "editable", "clearable", "size", "onChange"]), u, r(c2, { modelValue: l2.monthDate, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => l2.monthDate = e3), type: "month", "is-range": a2.colFieldSetting.options.range, placeholder: a2.colFieldSetting.options.placeholder, "start-placeholder": a2.colFieldSetting.options.startPlaceholder, "end-placeholder": a2.colFieldSetting.options.endPlaceholder, readonly: a2.colFieldSetting.options.readonly, disabled: a2.colFieldSetting.options.disabled, editable: a2.colFieldSetting.options.editable, clearable: a2.colFieldSetting.options.clearable, size: a2.colFieldSetting.options.size ? a2.colFieldSetting.options.size : "small", onChange: d2.monthChange }, null, 8, ["modelValue", "is-range", "placeholder", "start-placeholder", "end-placeholder", "readonly", "disabled", "editable", "clearable", "size", "onChange"])])) : (n(), s("div", b, [r(c2, { modelValue: l2.datStareDate, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => l2.datStareDate = e3), type: a2.colFieldSetting.options.showType, "is-range": a2.colFieldSetting.options.range, placeholder: a2.colFieldSetting.options.placeholder, "start-placeholder": a2.colFieldSetting.options.startPlaceholder, "end-placeholder": a2.colFieldSetting.options.endPlaceholder, readonly: a2.colFieldSetting.options.readonly, disabled: a2.colFieldSetting.options.disabled, size: a2.colFieldSetting.options.size ? a2.colFieldSetting.options.size : "small", editable: a2.colFieldSetting.options.editable, clearable: a2.colFieldSetting.options.clearable, "value-format": "x", style: { width: "100%" }, onChange: d2.changeForm }, null, 8, ["modelValue", "type", "is-range", "placeholder", "start-placeholder", "end-placeholder", "readonly", "disabled", "size", "editable", "clearable", "onChange"])]))]);
|
|
46
|
+
}], ["__scopeId", "data-v-52983a24"]]);
|
|
47
|
+
export {
|
|
48
|
+
T as default
|
|
49
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as e from "path-to-regexp";
|
|
2
|
+
import { resolveComponent as t, openBlock as r, createBlock as a, withCtx as l, createVNode as i, TransitionGroup as o, createElementBlock as s, Fragment as m, renderList as d, toDisplayString as u, createTextVNode as c } from "vue";
|
|
3
|
+
import "./breadcrumb.vue2.mjs";
|
|
4
|
+
import n from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
5
|
+
const p = { key: 0, class: "no-redirect" };
|
|
6
|
+
const h = n({ name: "Breadcrumb", data: () => ({ levelList: null }), computed: { levelListWithTitle() {
|
|
7
|
+
return this.levelList.filter((e2) => void 0 !== e2.meta.title && null !== e2.meta.title);
|
|
8
|
+
} }, watch: { $route() {
|
|
9
|
+
this.getBreadcrumb();
|
|
10
|
+
} }, created() {
|
|
11
|
+
this.getBreadcrumb();
|
|
12
|
+
}, methods: { getBreadcrumb() {
|
|
13
|
+
const { params: t2 } = this.$route;
|
|
14
|
+
let r2 = this.$route.matched.filter((r3) => {
|
|
15
|
+
if (r3.name) {
|
|
16
|
+
var a3 = e.compile(r3.path);
|
|
17
|
+
return r3.path = a3(t2), true;
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
const a2 = r2[0];
|
|
21
|
+
a2 && "Dashboard" !== a2.name && (r2 = [{ path: "/dashboard", meta: { title: "Dashboard" } }].concat(r2)), this.levelList = r2;
|
|
22
|
+
} } }, [["render", function(e2, n2, h2, b, f, v) {
|
|
23
|
+
const _ = t("router-link"), g = t("el-breadcrumb-item"), L = t("el-breadcrumb");
|
|
24
|
+
return r(), a(L, { class: "app-breadcrumb", separator: "/" }, { default: l(() => [i(o, { tag: "span", name: "breadcrumb" }, { default: l(() => [(r(true), s(m, null, d(v.levelListWithTitle, (e3, t2) => (r(), a(g, { key: e3.path }, { default: l(() => ["noredirect" === e3.redirect || t2 == f.levelList.length - 1 ? (r(), s("span", p, u(e3.meta.title), 1)) : (r(), a(_, { key: 1, to: e3.redirect || e3.path }, { default: l(() => [c(u(e3.meta.title), 1)]), _: 2 }, 1032, ["to"]))]), _: 2 }, 1024))), 128))]), _: 1 })]), _: 1 });
|
|
25
|
+
}], ["__scopeId", "data-v-ff9ae7e4"]]);
|
|
26
|
+
export {
|
|
27
|
+
h as default
|
|
28
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import n from "dayjs";
|
|
2
|
+
import { MESSAGE_STATUS as a } from "./type.mjs";
|
|
3
|
+
function t(t2, e2, i2, o2) {
|
|
4
|
+
const s = "ai" === t2 ? "ai" : "user", d = "ai" === s ? "start" : "end", m = { isRecommend: i2, key: (/* @__PURE__ */ new Date()).getTime(), role: s, placement: d, content: e2, showThinkingContent: false, loading: false, shape: "corner", variant: "ai" === s ? "filled" : "outlined", isMarkdown: false, typing: "ai" === s, avatar: "ai" === s ? "https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png" : "../../src/assets/chat-embed/avatar.png", noStyle: "ai" === s, statusValue: "end", recommendations: [], avatarSize: "24px", sendTime: n(/* @__PURE__ */ new Date()).format("YYYY-MM-DD HH:mm:ss") };
|
|
5
|
+
return "ai" === s && (m.maxWidth = "calc(100% - 60px)", o2 ? (m.thinkingContent = "", m.thinkingStatus = a.THINKING, m.showThinkingContent = true) : (m.thinkingContent = null, m.thinkingStatus = a.NONE, m.showThinkingContent = false)), m;
|
|
6
|
+
}
|
|
7
|
+
const e = t("ai", "😊 您好,我是平台小助手,您可以向我提出关于平台使用问题", true, false);
|
|
8
|
+
function i(n2) {
|
|
9
|
+
var _a;
|
|
10
|
+
const a2 = t("user", n2.question, true, false);
|
|
11
|
+
return ((_a = n2.additionalData) == null ? void 0 : _a.length) && Object.assign(a2, { additionalData: n2.additionalData, additionalDataLabel: n2.additionalDataLabel, menuName: n2.menuName, menuCode: n2.menuCode }), a2;
|
|
12
|
+
}
|
|
13
|
+
function o(n2, a2) {
|
|
14
|
+
const e2 = t("ai", "", false, a2);
|
|
15
|
+
return Object.assign(e2, { question: n2.question, menuName: n2.menuName, menuCode: n2.menuCode, askAdditionalData: n2.additionalData });
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
o as createAiMessage,
|
|
19
|
+
i as createUserMessage,
|
|
20
|
+
e as defaultMessage,
|
|
21
|
+
t as getMessageTemplate
|
|
22
|
+
};
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import { defineComponent as e, ref as a, onMounted as l, watch as t, resolveComponent as n, resolveDirective as o, openBlock as i, createElementBlock as u, Fragment as s, createBlock as r, withCtx as c, createElementVNode as d, createVNode as m, createTextVNode as p, toDisplayString as f, createCommentVNode as v, unref as g, renderList as h, withDirectives as w, pushScopeId as b, popScopeId as y } from "vue";
|
|
2
|
+
import x from "../../src/store/modules/chat-ai-store.mjs";
|
|
3
|
+
import { Sender as E, Attachments as A, FilesCard as _ } from "vue-element-plus-x";
|
|
4
|
+
import { generateFileName as R, downloadJsonFile as I } from "./util/text-file-util.mjs";
|
|
5
|
+
import { getActivePinia as k, createPinia as P, setActivePinia as j } from "pinia";
|
|
6
|
+
import { useI18n as S } from "vue-i18n";
|
|
7
|
+
import { ElMessage as T } from "element-plus";
|
|
8
|
+
import C from "./voice/voice.vue.mjs";
|
|
9
|
+
import { AI_MODELS as D } from "./type.mjs";
|
|
10
|
+
import { getVoiceSetting as N, parseVoiceMsg as V } from "../../src/utils/voice-setting-cache.mjs";
|
|
11
|
+
import { getRelativeBaseUrl as O, isValidDate as M } from "../../src/utils/common-util.mjs";
|
|
12
|
+
import { getToken as F } from "../../src/utils/auth.mjs";
|
|
13
|
+
const $ = { class: "sender-additional-data-tag" }, q = { style: { display: "flex", "align-items": "center", "flex-wrap": "wrap" } }, z = { style: { display: "flex", "align-items": "center", gap: "16px" } }, G = ((e2) => (b("data-v-0b0c189e"), e2 = e2(), y(), e2))(() => d("div", { class: "ai-generate-tip" }, "内容由AI生成,仅供参考", -1)), K = e({ __name: "chat-sender", props: { loading: { type: Boolean, default: false } }, emits: ["submit-question", "handle-cancel", "view-json", "change-ai-model", "voice-answer", "command-answer"], setup(e2, { expose: b2, emit: y2 }) {
|
|
14
|
+
S();
|
|
15
|
+
const K2 = [{ label: "流程体系类", value: D.RAGFLOW }, { label: "QMS数据库类", value: D.DATABASE }, { label: "DeepSeek问答", value: D.DEEPSEEK }, { label: "系统交互", value: D.INTERACTION }, { label: "生成PPT", value: D.PPT_GENERATION }];
|
|
16
|
+
let L = null;
|
|
17
|
+
const H = a(false), W = a(""), B = a([]), U = a(""), Q = a("ragflow"), X = a(), J = a(), Y = a(window.$vueApp.config.globalProperties.baseAPI + "/component/ai/upload-file/bailian"), Z = a([]), ee = a(false), ae = a(false);
|
|
18
|
+
function le() {
|
|
19
|
+
try {
|
|
20
|
+
window.parent && window.parent !== window && (window.parent.ChatAiStore = L), window.top && window.top !== window && (window.top.ChatAiStore = L), window.ChatAiStore = L;
|
|
21
|
+
} catch (e3) {
|
|
22
|
+
console.error("Failed to initialize ChatAiStore:", e3);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
let te, ne;
|
|
26
|
+
l(() => {
|
|
27
|
+
!function() {
|
|
28
|
+
try {
|
|
29
|
+
let e3 = k();
|
|
30
|
+
e3 || (e3 = P(), j(e3), window.$vueApp && window.$vueApp.use(e3)), L = x();
|
|
31
|
+
} catch (e3) {
|
|
32
|
+
console.error("Failed to initialize Pinia or ChatAiStore:", e3);
|
|
33
|
+
}
|
|
34
|
+
}(), le();
|
|
35
|
+
}), t(() => Z.value.length, (e3) => {
|
|
36
|
+
e3 > 0 ? X.value.openHeader() : X.value.closeHeader();
|
|
37
|
+
}), l(() => {
|
|
38
|
+
le();
|
|
39
|
+
});
|
|
40
|
+
let oe = {}, ie = {};
|
|
41
|
+
function ue(e3) {
|
|
42
|
+
let a2 = e3;
|
|
43
|
+
null == e3 ? (U.value, a2 = U.value.trim()) : a2 = e3.trim(), te = a2;
|
|
44
|
+
let l2 = { aiModel: Q.value, question: a2 };
|
|
45
|
+
if (Q.value === D.DEEPSEEK || Q.value === D.PPT_GENERATION) {
|
|
46
|
+
const e4 = L.getActiveMenu();
|
|
47
|
+
let t2 = "";
|
|
48
|
+
Z.value.length > 0 && (t2 = Z.value.map((e5) => e5.id).join(","));
|
|
49
|
+
let n2 = [];
|
|
50
|
+
Z.value.length > 0 && (n2 = Z.value.map((e5) => ({ fileId: e5.id, name: e5.name }))), Z.value = [], l2 = { aiModel: Q.value, question: a2, fileId: t2, fileInfos: n2, additionalData: B.value, additionalDataLabel: W.value, menuName: (e4 == null ? void 0 : e4.menuName) || "" };
|
|
51
|
+
}
|
|
52
|
+
y2("submit-question", l2), U.value = "", ce();
|
|
53
|
+
}
|
|
54
|
+
function se() {
|
|
55
|
+
y2("handle-cancel");
|
|
56
|
+
}
|
|
57
|
+
function re() {
|
|
58
|
+
var _a;
|
|
59
|
+
const e3 = L.getActiveMenu(), a2 = L.getActiveMenuPageInfo();
|
|
60
|
+
if ("list" === a2.pageType) {
|
|
61
|
+
const l2 = a2.listRefs[0].ref.getAiChatListData();
|
|
62
|
+
l2 && l2.length > 0 && (B.value = l2), ((_a = B.value) == null ? void 0 : _a.length) > 0 && (W.value = `已附加【${e3.menuName}】表格数据 (${B.value.length} 条记录)`, H.value = true);
|
|
63
|
+
} else if ("form" === a2.pageType) {
|
|
64
|
+
const l2 = a2.exposeProxy.getFormFormatData();
|
|
65
|
+
a2.subTableRefs && Object.keys(a2.subTableRefs).length > 0 && Object.keys(a2.subTableRefs).forEach((e4) => {
|
|
66
|
+
const t2 = a2.subTableRefs[e4].ref, n2 = t2.getAiChatListData();
|
|
67
|
+
let o2 = e4;
|
|
68
|
+
t2.options.title && (o2 = t2.options.title), l2[o2] = n2;
|
|
69
|
+
}), l2 && (B.value = [l2], W.value = `已附加【${e3.menuName}】表单数据`, H.value = true);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
function ce() {
|
|
73
|
+
B.value = [], W.value = "", H.value = false;
|
|
74
|
+
}
|
|
75
|
+
function de() {
|
|
76
|
+
y2("view-json", B.value);
|
|
77
|
+
}
|
|
78
|
+
function me() {
|
|
79
|
+
try {
|
|
80
|
+
const e3 = L.getActiveMenu(), a2 = R((e3 == null ? void 0 : e3.menuName) || "data");
|
|
81
|
+
I(B.value, a2);
|
|
82
|
+
} catch (e3) {
|
|
83
|
+
console.error("下载失败:", e3);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
function pe(e3) {
|
|
87
|
+
if (e3 === D.DATABASE)
|
|
88
|
+
return T({ message: "QMS数据库类模型正在开发中,敬请期待!", type: "warning" }), void (Q.value = D.RAGFLOW);
|
|
89
|
+
e3 === D.DEEPSEEK && Z.value.length > 0 ? X.value.openHeader() : X.value.closeHeader(), e3 === D.DEEPSEEK || e3 === D.PPT_GENERATION ? (ee.value = true, ae.value = true) : (ee.value = false, ae.value = false, ce()), y2("change-ai-model", e3);
|
|
90
|
+
}
|
|
91
|
+
function fe(e3) {
|
|
92
|
+
Z.value.push({ id: e3.uid, uid: e3.uid, name: e3.name, percent: 0, status: "uploading", showDelIcon: true, maxWidth: "150px" });
|
|
93
|
+
}
|
|
94
|
+
function ve(e3, a2, l2) {
|
|
95
|
+
const t2 = Z.value.findIndex((e4) => e4.id === a2.uid);
|
|
96
|
+
-1 !== t2 && (Z.value[t2].percent = e3.percent);
|
|
97
|
+
}
|
|
98
|
+
function ge(e3, a2, l2) {
|
|
99
|
+
if (e3) {
|
|
100
|
+
const l3 = Z.value.findIndex((e4) => e4.id === a2.uid);
|
|
101
|
+
-1 !== l3 && (Z.value[l3].status = "done", e3.forEach((e4) => {
|
|
102
|
+
e4.name === Z.value[l3].name && (Z.value[l3].id = e4.fileId, Z.value[l3].uid = e4.fileId);
|
|
103
|
+
}));
|
|
104
|
+
} else
|
|
105
|
+
T({ message: (e3 == null ? void 0 : e3.message) || "文件上传失败", type: "error" });
|
|
106
|
+
}
|
|
107
|
+
function he(e3) {
|
|
108
|
+
const a2 = Z.value.findIndex((a3) => a3.id === e3.uid);
|
|
109
|
+
-1 !== a2 && Z.value.splice(a2, 1);
|
|
110
|
+
}
|
|
111
|
+
function we(e3, a2, l2) {
|
|
112
|
+
let t2 = false;
|
|
113
|
+
if (a2 && a2.indexOf("~") >= 0) {
|
|
114
|
+
const e4 = a2.split("~");
|
|
115
|
+
let n2;
|
|
116
|
+
if (t2 = M(e4[0]), t2 && (t2 = M(e4[1])), 3 === e4.length && (n2 = e4[2]), e4.length, t2 && n2 && n2.indexOf(",") > 0) {
|
|
117
|
+
const a3 = n2.split(","), t3 = a3[0], o2 = a3[1];
|
|
118
|
+
l2 = be(t3, e4[0], l2), l2 = be(o2, e4[1], l2);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
return t2 || (l2 = be(e3, a2, l2)), l2;
|
|
122
|
+
}
|
|
123
|
+
function be(e3, a2, l2) {
|
|
124
|
+
if (null == e3 || e3 + "" == "")
|
|
125
|
+
return l2;
|
|
126
|
+
if (null == a2 || a2 + "" == "")
|
|
127
|
+
return l2;
|
|
128
|
+
const t2 = "ai__" + e3;
|
|
129
|
+
return l2 = l2.indexOf("?") > 0 ? l2 + "&" + t2 + "=" + a2 : l2 + "?" + t2 + "=" + a2;
|
|
130
|
+
}
|
|
131
|
+
return b2({ parseCommand: function() {
|
|
132
|
+
N().then((e3) => {
|
|
133
|
+
V(te, e3, ne, oe, ie).then((e4) => {
|
|
134
|
+
if ("ok" === e4.status) {
|
|
135
|
+
ne || (ne = e4.settingItem), oe = e4.paramInfo;
|
|
136
|
+
let a2 = e4.url;
|
|
137
|
+
if (a2) {
|
|
138
|
+
if (ie)
|
|
139
|
+
for (let e5 in ie) {
|
|
140
|
+
const l3 = ie[e5];
|
|
141
|
+
"_jump_param" !== l3 && (a2 = we(e5, l3, a2));
|
|
142
|
+
}
|
|
143
|
+
const l2 = ne ? ne.command : "";
|
|
144
|
+
ne = void 0, ie = {}, oe = {}, y2("command-answer", { content: e4.commandResult ? e4.commandResult : e4.paramResult, url: a2, paramsValue: ie, command: l2 }), window.open(O(a2));
|
|
145
|
+
} else
|
|
146
|
+
y2("command-answer", { content: e4.commandResult ? e4.commandResult : e4.paramResult });
|
|
147
|
+
} else
|
|
148
|
+
y2("command-answer", { content: e4.commandResult ? e4.commandResult : e4.paramResult });
|
|
149
|
+
});
|
|
150
|
+
});
|
|
151
|
+
}, newChatSession: function() {
|
|
152
|
+
Q.value === D.DEEPSEEK && (Z.value = []), U.value = "";
|
|
153
|
+
} }), (a2, l2) => {
|
|
154
|
+
const t2 = n("Paperclip"), b3 = n("el-icon"), y3 = n("super-icon"), x2 = n("el-tooltip"), R2 = n("el-tag"), I2 = n("el-option"), k2 = n("el-select"), P2 = n("SuperIcon"), j2 = n("el-upload"), S2 = n("el-divider"), T2 = n("el-button"), D2 = o("loading");
|
|
155
|
+
return i(), u(s, null, [H.value ? (i(), r(R2, { key: 0, type: "primary" }, { default: c(() => [d("div", $, [m(b3, null, { default: c(() => [m(t2)]), _: 1 }), p(" " + f(W.value) + " ", 1), m(x2, { content: "预览" }, { default: c(() => [m(y3, { iconValue: "amb-color-icon-yulan", style: { cursor: "pointer" }, onClick: de })]), _: 1 }), m(x2, { content: "下载" }, { default: c(() => [m(y3, { iconValue: "amb-color-icon-xiazai", style: { cursor: "pointer" }, onClick: me })]), _: 1 }), m(x2, { content: "移除" }, { default: c(() => [m(y3, { iconValue: "amb-color-icon-shanchu", style: { cursor: "pointer" }, onClick: ce })]), _: 1 })])]), _: 1 })) : v("", true), m(g(E), { modelValue: U.value, "onUpdate:modelValue": l2[2] || (l2[2] = (e3) => U.value = e3), variant: "updown", "auto-size": { minRows: 2, maxRows: 5 }, clearable: "", ref_key: "senderRef", ref: X, submitType: "enter", loading: e2.loading, "allow-speech": "", onSubmit: l2[3] || (l2[3] = (e3) => ue()), placeholder: "请您描述问题" }, { header: c(() => [m(g(A), { items: Z.value, drag: "", overflow: "scrollX", "hide-upload": true }, { "file-list": c((e3) => [(i(true), u(s, null, h(e3.items, (e4) => (i(), r(g(_), { key: e4.id, maxWidth: "150px", style: { margin: "10px 5px" }, name: e4.name, percent: e4.percent, uid: e4.id, status: e4.status, "show-del-icon": "", "img-variant": "square", onDelete: he }, null, 8, ["name", "percent", "uid", "status"]))), 128))]), _: 1 }, 8, ["items"])]), prefix: c(() => [d("div", q, [m(k2, { style: { width: "146px", height: "32px" }, plain: "", modelValue: Q.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => Q.value = e3), onChange: pe }, { default: c(() => [(i(), u(s, null, h(K2, (e3) => m(I2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])])]), "action-list": c(() => [d("div", z, [ee.value ? (i(), r(x2, { key: 0, content: "上传附件" }, { default: c(() => [m(j2, { ref_key: "uploadRef", ref: J, action: Y.value, multiple: true, headers: { Authorization: g(F)() }, accept: ".txt,.docx,.pdf,.xlsx,.epub,.mobi,.md,.csv,.json,.bmp,.png,.jpg,.jpeg,.gif,.pdf", "show-file-list": false, "on-progress": ve, "on-success": ge, "before-upload": fe }, { default: c(() => [m(P2, { iconValue: "amb-icon-fujianshangchuan" })]), _: 1 }, 8, ["action", "headers"])]), _: 1 })) : v("", true), ae.value ? (i(), r(x2, { key: 1, content: "附加页面数据" }, { default: c(() => [m(P2, { onClick: re, iconValue: "amb-icon-fujiabiaogeshu", class: "send-icon" })]), _: 1 })) : v("", true), m(x2, { content: "语音" }, { default: c(() => [m(C, { onUserMessage: ue, class: "send-icon" })]), _: 1 }), m(S2, { direction: "vertical" }), e2.loading ? (i(), r(x2, { key: 2, content: "取消" }, { default: c(() => [w((i(), r(T2, { type: "primary", style: { "border-radius": "10px" }, plain: "", round: "", onClick: se }, { default: c(() => [p(" 取消 ")]), _: 1 })), [[D2, e2.loading]])]), _: 1 })) : (i(), r(T2, { key: 3, style: { "border-radius": "10px" }, disabled: !U.value || !U.value.trim(), plain: "", circle: "", round: "", onClick: l2[1] || (l2[1] = (e3) => ue()) }, { default: c(() => [m(P2, { iconValue: "amb-icon-fasong2" })]), _: 1 }, 8, ["disabled"]))])]), _: 1 }, 8, ["modelValue", "loading"]), G], 64);
|
|
156
|
+
};
|
|
157
|
+
} });
|
|
158
|
+
export {
|
|
159
|
+
K as default
|
|
160
|
+
};
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { defineComponent as e, ref as a, resolveComponent as l, resolveDirective as t, openBlock as r, createElementBlock as u, createVNode as o, withCtx as i, createBlock as s, createCommentVNode as n, Fragment as d, renderList as c, createTextVNode as p, withDirectives as v, createElementVNode as h, toDisplayString as m, unref as f, vShow as b } from "vue";
|
|
2
|
+
import { ElMessage as y } from "element-plus";
|
|
3
|
+
import { use as x } from "echarts/core";
|
|
4
|
+
import g from "vue-echarts";
|
|
5
|
+
import { CanvasRenderer as k } from "echarts/renderers";
|
|
6
|
+
import { LineChart as _, BarChart as w, PieChart as V, RadarChart as A } from "echarts/charts";
|
|
7
|
+
import { InfoFilled as N } from "@element-plus/icons-vue";
|
|
8
|
+
import { GridComponent as O, LegendComponent as P, TitleComponent as I, TooltipComponent as C, ToolboxComponent as D, DataZoomComponent as E } from "echarts/components";
|
|
9
|
+
import T from "../util/mcp-utils.mjs";
|
|
10
|
+
const U = { style: { "max-height": "700px" } }, z = { style: { "align-items": "center" } }, S = { class: "dialog-footer" }, j = e({ __name: "answer-interaction-data", props: { chartProps: { type: Object, default: {} } }, setup(e2) {
|
|
11
|
+
const j2 = e2;
|
|
12
|
+
x([k, _, w, V, A, O, P, I, C, D, E]);
|
|
13
|
+
const J = a(null), L = a("table"), M = a(false), B = a({ chartType: "barLine", series: [{ type: "bar", yAxis: "", calculation: "count" }] }), F = a([]), R = {}, X = {}, Z = a(false), $ = a(""), q = a(), G = a([]), H = a(false), K = a([]), Q = a({}), W = a({}), Y = a();
|
|
14
|
+
if (j2.chartProps) {
|
|
15
|
+
let e3 = null;
|
|
16
|
+
if (j2.chartProps.datalist ? e3 = JSON.parse(j2.chartProps.datalist) : j2.chartProps["data-list"] && (e3 = JSON.parse(j2.chartProps["data-list"])), e3 && (F.value = e3, F.value.length > 0)) {
|
|
17
|
+
const e4 = F.value[0];
|
|
18
|
+
K.value = [...Object.keys(e4)].filter((e5) => "id" !== e5 && "ID" !== e5);
|
|
19
|
+
}
|
|
20
|
+
j2.chartProps.datatables ? W.value = JSON.parse(j2.chartProps.datatables) : j2.chartProps["data-tables"] && (W.value = JSON.parse(j2.chartProps["data-tables"])), j2.chartProps.childtables && (Y.value = JSON.parse(j2.chartProps.childtables));
|
|
21
|
+
}
|
|
22
|
+
function ee(e3) {
|
|
23
|
+
"pie" === e3 && B.value.series.length > 1 && (B.value.series = [B.value.series[0]]);
|
|
24
|
+
}
|
|
25
|
+
function ae() {
|
|
26
|
+
!function() {
|
|
27
|
+
if (!B.value.xAxis)
|
|
28
|
+
return;
|
|
29
|
+
const e3 = B.value.series, a2 = [], l2 = [], t2 = {};
|
|
30
|
+
e3.forEach((e4) => {
|
|
31
|
+
l2.push({ name: e4.yAxis, type: e4.type, data: [] });
|
|
32
|
+
}), F.value.forEach((l3) => {
|
|
33
|
+
const r2 = l3[B.value.xAxis];
|
|
34
|
+
a2.includes(r2) || a2.push(r2);
|
|
35
|
+
let u2 = {};
|
|
36
|
+
t2[r2] && Object.keys(t2[r2]).length > 0 && (u2 = t2[r2]), e3.forEach((e4) => {
|
|
37
|
+
const a3 = l3[e4.yAxis];
|
|
38
|
+
u2[e4.yAxis] || (u2[e4.yAxis] = []), u2[e4.yAxis].push(a3);
|
|
39
|
+
}), t2[r2] = u2;
|
|
40
|
+
}), a2.forEach((a3) => {
|
|
41
|
+
e3.forEach((e4, r2) => {
|
|
42
|
+
let u2 = 0;
|
|
43
|
+
const o2 = t2[a3][e4.yAxis];
|
|
44
|
+
switch (o2.forEach((e5, a4) => {
|
|
45
|
+
isNaN(Number(e5)) && (o2[a4] = 0);
|
|
46
|
+
}), e4.calculation) {
|
|
47
|
+
case "count":
|
|
48
|
+
u2 = o2.length;
|
|
49
|
+
break;
|
|
50
|
+
case "sum":
|
|
51
|
+
u2 = o2.reduce((e5, a4) => e5 + Number(a4), 0);
|
|
52
|
+
break;
|
|
53
|
+
case "average":
|
|
54
|
+
u2 = o2.length > 0 ? Number((o2.reduce((e5, a4) => e5 + Number(a4), 0) / o2.length).toFixed(2)) : 0;
|
|
55
|
+
break;
|
|
56
|
+
case "max":
|
|
57
|
+
u2 = Math.max(...o2.map((e5) => Number(e5)));
|
|
58
|
+
break;
|
|
59
|
+
case "min":
|
|
60
|
+
u2 = Math.min(...o2.map((e5) => Number(e5)));
|
|
61
|
+
break;
|
|
62
|
+
default:
|
|
63
|
+
u2 = 0;
|
|
64
|
+
}
|
|
65
|
+
l2[r2].data.push(u2);
|
|
66
|
+
});
|
|
67
|
+
}), M.value = true, Q.value = function(e4, a3) {
|
|
68
|
+
if ("pie" === B.value.chartType)
|
|
69
|
+
return { tooltip: { trigger: "item" }, legend: { type: "scroll", orient: "vertical", right: 10, top: "center" }, toolbox: { show: true, feature: { saveAsImage: { title: "保存为图片" } } }, series: [{ name: B.value.xAxis, type: "pie", radius: "90%", data: e4.map((e5, l3) => ({ name: e5, value: a3[0].data[l3] })), emphasis: { itemStyle: { shadowBlur: 10, shadowOffsetX: 0, shadowColor: "rgba(0, 0, 0, 0.5)" } } }] };
|
|
70
|
+
if ("radar" === B.value.chartType) {
|
|
71
|
+
const l3 = [];
|
|
72
|
+
return a3.forEach((e5, a4) => {
|
|
73
|
+
l3.push({ value: e5.data, name: e5.name });
|
|
74
|
+
}), { tooltip: { trigger: "item" }, legend: { type: "scroll", orient: "vertical", right: 10, top: "center" }, toolbox: { show: true, feature: { saveAsImage: { title: "保存为图片" } } }, radar: { indicator: e4.map((e5, l4) => ({ name: e5, max: 1.2 * Math.max(...a3[0].data) })) }, series: [{ name: B.value.xAxis, type: "radar", data: l3 }] };
|
|
75
|
+
}
|
|
76
|
+
return { tooltip: { trigger: "axis" }, toolbox: { show: true, feature: { dataZoom: { title: { zoom: "区域缩放", back: "缩放还原" }, yAxisIndex: "none" }, dataView: { readOnly: false, title: "数据视图", lang: ["数据视图", "关闭", "刷新"] }, magicType: { title: { line: "切换为折线图", bar: "切换为柱状图" }, type: ["line", "bar"] }, restore: { title: "还原" }, saveAsImage: { title: "保存为图片" } } }, legend: { type: "scroll", orient: "vertical", right: 10, top: "center" }, xAxis: { type: "category", data: e4 }, yAxis: { type: "value" }, series: a3 };
|
|
77
|
+
}(a2, l2), Q.value, J.value && J.value.setOption(Q, true);
|
|
78
|
+
}();
|
|
79
|
+
}
|
|
80
|
+
function le(e3) {
|
|
81
|
+
q.value = [], G.value = [], $.value = "", e3();
|
|
82
|
+
}
|
|
83
|
+
return (e3, a2) => {
|
|
84
|
+
const x2 = l("el-radio-button"), k2 = l("el-radio-group"), _2 = l("el-form-item"), w2 = l("el-option"), V2 = l("el-select"), A2 = l("el-button"), O2 = l("el-col"), P2 = l("Plus"), I2 = l("el-icon"), C2 = l("Delete"), D2 = l("el-form"), E2 = l("el-table-column"), j3 = l("el-link"), te = l("el-table"), re = l("el-dialog"), ue = t("loading");
|
|
85
|
+
return r(), u("div", U, [o(D2, { style: { "max-height": "200px", "overflow-y": "auto" }, size: "small", inline: true, model: B.value, "label-width": "60" }, { default: i(() => [o(O2, null, { default: i(() => [o(_2, { label: "展示方式" }, { default: i(() => [o(k2, { modelValue: L.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e4) => L.value = e4), size: "small" }, { default: i(() => [o(x2, { label: "表格", value: "table" }), o(x2, { label: "图表", value: "chart" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "chart" === L.value ? (r(), s(_2, { key: 0, label: "图表类型" }, { default: i(() => [o(V2, { style: { width: "100px" }, modelValue: B.value.chartType, "onUpdate:modelValue": a2[1] || (a2[1] = (e4) => B.value.chartType = e4), placeholder: "选择图标类型", onChange: ee, clearable: "" }, { default: i(() => [o(w2, { label: "柱折图", value: "barLine" }), o(w2, { label: "饼状图", value: "pie" }), o(w2, { label: "雷达图", value: "radar" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : n("", true), "chart" === L.value ? (r(), s(_2, { key: 1, label: "维度" }, { default: i(() => [o(V2, { style: { width: "150px" }, modelValue: B.value.xAxis, "onUpdate:modelValue": a2[2] || (a2[2] = (e4) => B.value.xAxis = e4), placeholder: "选择图标类型", clearable: "" }, { default: i(() => [(r(true), u(d, null, c(K.value, (e4) => (r(), s(w2, { key: e4, label: e4, value: e4 }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : n("", true), "chart" === L.value ? (r(), s(_2, { key: 2 }, { default: i(() => [o(A2, { type: "primary", onClick: ae }, { default: i(() => [p("生成图表")]), _: 1 })]), _: 1 })) : n("", true)]), _: 1 }), "chart" === L.value ? (r(true), u(d, { key: 0 }, c(B.value.series, (e4, a3) => (r(), u("div", { key: a3 }, ["barLine" === B.value.chartType ? (r(), s(_2, { key: 0, label: "类型" }, { default: i(() => [o(V2, { style: { width: "100px" }, modelValue: e4.type, "onUpdate:modelValue": (a4) => e4.type = a4, placeholder: "选择显示类型", clearable: "" }, { default: i(() => [o(w2, { label: "柱形", value: "bar" }), o(w2, { label: "折线", value: "line" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)) : n("", true), o(_2, { label: "数据项" }, { default: i(() => [o(V2, { style: { width: "150px" }, modelValue: e4.yAxis, "onUpdate:modelValue": (a4) => e4.yAxis = a4, placeholder: "选择数据项", clearable: "" }, { default: i(() => [(r(true), u(d, null, c(K.value, (e5) => (r(), s(w2, { key: e5, label: e5, value: e5 }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), o(_2, { label: "计算方式" }, { default: i(() => [o(V2, { style: { width: "100px" }, modelValue: e4.calculation, "onUpdate:modelValue": (a4) => e4.calculation = a4, placeholder: "选择计算方式", clearable: "" }, { default: i(() => [o(w2, { label: "计数", value: "count" }), o(w2, { label: "求和", value: "sum" }), o(w2, { label: "平均值", value: "average" }), o(w2, { label: "最大值", value: "max" }), o(w2, { label: "最小值", value: "min" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), "pie" !== B.value.chartType ? (r(), s(_2, { key: 1 }, { default: i(() => [o(I2, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (e5) => {
|
|
86
|
+
B.value.series.push({ type: "bar", yAxis: "", calculation: "count" });
|
|
87
|
+
} }, { default: i(() => [o(P2)]), _: 2 }, 1032, ["onClick"]), o(I2, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (e5) => function(e6) {
|
|
88
|
+
B.value.series.length > 1 ? B.value.series.splice(e6, 1) : y.warning("至少保留一个系列");
|
|
89
|
+
}(a3) }, { default: i(() => [o(C2)]), _: 2 }, 1032, ["onClick"])]), _: 2 }, 1024)) : n("", true)]))), 128)) : n("", true)]), _: 1 }, 8, ["model"]), "table" === L.value ? (r(), s(te, { key: 0, size: "small", data: F.value, fit: "", border: true, resizable: true, style: { width: "100%" }, "max-height": "500px" }, { default: i(() => [Y.value && Y.value.length > 0 ? (r(), u(d, { key: 0 }, [o(E2, { type: "index", width: "50", label: "序号" }), v(o(E2, { align: "center", fit: "", label: "关联数据", width: "180" }, { default: i((e4) => [(r(true), u(d, null, c(Y.value, (a3) => (r(), u("div", null, [h("div", z, [o(j3, { onClick: (l2) => function(e5, a4, l3) {
|
|
90
|
+
var _a;
|
|
91
|
+
if (H.value = true, q.value = [], G.value = [], (_a = R[a4.ID]) == null ? void 0 : _a[l3.id]) {
|
|
92
|
+
const e6 = /* @__PURE__ */ new Set();
|
|
93
|
+
return R[a4.ID][l3.id].forEach((a5) => {
|
|
94
|
+
Object.keys(a5).forEach((a6) => {
|
|
95
|
+
e6.add(a6);
|
|
96
|
+
});
|
|
97
|
+
}), G.value = X[l3.id], $.value = l3.alias, H.value = false, q.value = R[a4.ID][l3.id], void (Z.value = true);
|
|
98
|
+
}
|
|
99
|
+
T.getChildTableData({ parentData: a4, childTables: [l3], dataTable: W.value[0] }).then((e6) => {
|
|
100
|
+
if (R[a4.ID] || (R[a4.ID] = {}), e6[l3.alias]) {
|
|
101
|
+
const t2 = /* @__PURE__ */ new Set();
|
|
102
|
+
e6[l3.alias].forEach((e7) => {
|
|
103
|
+
Object.keys(e7).forEach((e8) => {
|
|
104
|
+
t2.add(e8);
|
|
105
|
+
});
|
|
106
|
+
}), G.value = Array.from(t2).map((e7) => ({ prop: e7, label: e7 })).filter((e7) => "id" !== e7.prop && "ID" !== e7.prop), X[l3.id] = G.value;
|
|
107
|
+
const r2 = e6[l3.alias];
|
|
108
|
+
R[a4.ID][l3.id] = r2, H.value = false, q.value = r2, $.value = l3.alias, Z.value = true;
|
|
109
|
+
}
|
|
110
|
+
}).catch(() => {
|
|
111
|
+
Z.value = true, H.value = false;
|
|
112
|
+
});
|
|
113
|
+
}(e4.$index, e4.row, a3), type: "primary" }, { default: i(() => [p(m(a3.alias), 1)]), _: 2 }, 1032, ["onClick"]), p(" "), o(I2, { style: { color: "#409eff" } }, { default: i(() => [o(f(N))]), _: 1 })])]))), 256))]), _: 1 }, 512), [[b, Y.value && Y.value.length > 0]])], 64)) : n("", true), (r(true), u(d, null, c(K.value, (e4) => (r(), s(E2, { key: e4, prop: e4, label: e4 }, null, 8, ["prop", "label"]))), 128))]), _: 1 }, 8, ["data"])) : "chart" === L.value && M.value ? (r(), s(f(g), { key: 1, ref_key: "chartRef", ref: J, style: { height: "400px" }, option: Q.value, autoresize: "" }, null, 8, ["option"])) : n("", true), o(re, { modelValue: Z.value, "onUpdate:modelValue": a2[4] || (a2[4] = (e4) => Z.value = e4), "destroy-on-close": true, title: $.value, "before-close": le }, { footer: i(() => [h("div", S, [o(A2, { onClick: a2[3] || (a2[3] = (e4) => Z.value = false) }, { default: i(() => [p("关闭")]), _: 1 })])]), default: i(() => [v((r(), s(te, { data: q.value, size: "small", style: { width: "100%" } }, { default: i(() => [o(E2, { type: "index", width: "50", label: "序号" }), (r(true), u(d, null, c(G.value, (e4) => (r(), s(E2, { key: e4.prop, prop: e4.prop, label: e4.label }, null, 8, ["prop", "label"]))), 128))]), _: 1 }, 8, ["data"])), [[ue, H.value]])]), _: 1 }, 8, ["modelValue", "title"])]);
|
|
114
|
+
};
|
|
115
|
+
} });
|
|
116
|
+
export {
|
|
117
|
+
j as default
|
|
118
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { defineComponent as e, ref as t, resolveComponent as o, openBlock as n, createBlock as i, withCtx as l, createElementVNode as s, createVNode as r, createTextVNode as a, unref as u } from "vue";
|
|
2
|
+
import { ElMessage as c, ElMessageBox as d } from "element-plus";
|
|
3
|
+
import { useI18n as m } from "vue-i18n";
|
|
4
|
+
import { deleteByIds as p } from "../util/history-message-util.mjs";
|
|
5
|
+
const f = { style: { overflow: "hidden" } }, h = { class: "operation-area", style: { display: "flex" } }, v = { class: "dialog-footer" }, g = e({ __name: "history-detail", emits: ["new-chat-session"], setup(e2, { expose: g2, emit: w }) {
|
|
6
|
+
const { t: y } = m(), b = t(false), x = window.$vueApp.config.globalProperties.baseAPI, C = t([]), I = t();
|
|
7
|
+
function M() {
|
|
8
|
+
b.value = false, w("new-chat-session");
|
|
9
|
+
}
|
|
10
|
+
function _(e3, t2) {
|
|
11
|
+
C.value = e3;
|
|
12
|
+
}
|
|
13
|
+
function T() {
|
|
14
|
+
return 0.55 * window.innerHeight;
|
|
15
|
+
}
|
|
16
|
+
function D() {
|
|
17
|
+
C.value && 0 !== C.value.length ? d.confirm(y("imatrixUIMessage.whetherToConfirmDeletion"), y("imatrixUIMessage.tips"), { confirmButtonText: y("publicModel.sure"), cancelButtonText: y("publicModel.cancel"), type: "warning" }).then(() => {
|
|
18
|
+
var _a;
|
|
19
|
+
const e3 = C.value.map((e4) => e4.id || e4.ID);
|
|
20
|
+
(_a = p(e3)) == null ? void 0 : _a.then((e4) => {
|
|
21
|
+
c({ showClose: true, type: "success", message: y("superGrid.deleteSuccessful") }), I.value.refresh(), C.value = [];
|
|
22
|
+
});
|
|
23
|
+
}) : c({ showClose: true, type: "warning", message: "请选择记录" });
|
|
24
|
+
}
|
|
25
|
+
function H(e3, t2, o2, n2, i2) {
|
|
26
|
+
return { template: '<div style="text-align:center;"><span>' + o2.iconFileName + "</span></div>", data: function() {
|
|
27
|
+
return { val: "test" };
|
|
28
|
+
}, methods: {} };
|
|
29
|
+
}
|
|
30
|
+
function R(e3, t2, o2, n2, i2) {
|
|
31
|
+
return { template: '<el-button v-if="' + !o2.$editing + `" v-permission="'bs.aiVoiceCommand.delete'" text @click.stop="deleteHistory">` + y("publicModel.delete") + "</el-button>", data: function() {
|
|
32
|
+
return {};
|
|
33
|
+
}, methods: { selectIconFile() {
|
|
34
|
+
}, saveRow: function() {
|
|
35
|
+
}, restoreRow: function() {
|
|
36
|
+
I.value.restoreRow(i2);
|
|
37
|
+
}, editCommand: function() {
|
|
38
|
+
}, deleteHistory: function() {
|
|
39
|
+
d.confirm(y("message.whetherToConfirmDeletion"), y("message.tips"), { confirmButtonText: y("publicModel.sure"), cancelButtonText: y("publicModel.cancel"), type: "warning" }).then(() => {
|
|
40
|
+
p([o2.id || o2.ID]).then(() => {
|
|
41
|
+
c.success("已删除该会话"), I.value.refresh();
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
} } };
|
|
45
|
+
}
|
|
46
|
+
return g2({ showHistoryDetail: function() {
|
|
47
|
+
b.value = true;
|
|
48
|
+
} }), (e3, t2) => {
|
|
49
|
+
const c2 = o("el-button"), d2 = o("super-grid"), m2 = o("el-dialog");
|
|
50
|
+
return n(), i(m2, { modelValue: b.value, "onUpdate:modelValue": t2[1] || (t2[1] = (e4) => b.value = e4), "destroy-on-close": "", title: "历史记录", width: "80%", top: "3vh", "close-on-click-modal": false, onClose: M }, { footer: l(() => [s("div", v, [r(c2, { type: "primary", onClick: t2[0] || (t2[0] = (e4) => b.value = false) }, { default: l(() => [a(" 关闭 ")]), _: 1 })])]), default: l(() => [s("div", f, [s("div", h, [r(c2, { type: "danger", onClick: D }, { default: l(() => [a("删除")]), _: 1 })]), r(d2, { ref_key: "gridRef", ref: I, "custom-formatter": { operation: R, preview: H }, options: { resizeHeight: T, lineEditOptions: {}, statementDto: {}, renderRow: {}, search: { labelWidth: "100px", fieldNum: 2 } }, url: u(x) + "/mc/ai-history/list-all", code: "MC_AI_HISTORY", onSelect: _, onSelectAll: _ }, null, 8, ["custom-formatter", "options", "url"])])]), _: 1 }, 8, ["modelValue"]);
|
|
51
|
+
};
|
|
52
|
+
} });
|
|
53
|
+
export {
|
|
54
|
+
g as default
|
|
55
|
+
};
|