agilebuilder-ui 1.1.65-tmp14 → 1.1.65-tmp16
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/lib/IntervalSelection/index.js +7 -5
- package/lib/IntervalSelection/src/sectionDate.vue.js +21 -17
- package/lib/IntervalSelection/src/sectionDate.vue2.js +4 -2
- package/lib/_virtual/__vite-browser-external.js +4 -2
- package/lib/_virtual/_plugin-vue_export-helper.js +8 -6
- package/lib/breadcrumb/index.js +5 -3
- package/lib/breadcrumb/src/breadcrumb.vue.js +19 -28
- package/lib/breadcrumb/src/breadcrumb.vue2.js +4 -2
- package/lib/chat-embed/index.js +5 -3
- package/lib/chat-embed/src/chat-addition-data.vue.js +7 -5
- package/lib/chat-embed/src/chat-addition-data.vue2.js +13 -11
- package/lib/chat-embed/src/chat-addition-data.vue3.js +4 -2
- package/lib/chat-embed/src/chat-ai-answer-tip.vue.js +7 -5
- package/lib/chat-embed/src/chat-ai-answer-tip.vue2.js +20 -17
- package/lib/chat-embed/src/chat-ai-answer-tip.vue3.js +4 -2
- package/lib/chat-embed/src/chat-bubble-footer.vue.js +7 -5
- package/lib/chat-embed/src/chat-bubble-footer.vue2.js +22 -17
- package/lib/chat-embed/src/chat-bubble-footer.vue3.js +4 -2
- package/lib/chat-embed/src/chat-embed-message.js +20 -14
- package/lib/chat-embed/src/chat-sender.vue.js +7 -5
- package/lib/chat-embed/src/chat-sender.vue2.js +123 -110
- package/lib/chat-embed/src/chat-sender.vue3.js +4 -2
- package/lib/chat-embed/src/components/answer-auto-chart.vue.js +7 -5
- package/lib/chat-embed/src/components/answer-auto-chart.vue2.js +50 -42
- package/lib/chat-embed/src/components/answer-auto-chart.vue3.js +4 -2
- package/lib/chat-embed/src/components/answer-home-chart.vue.js +7 -5
- package/lib/chat-embed/src/components/answer-home-chart.vue2.js +6 -3
- package/lib/chat-embed/src/components/answer-home-chart.vue3.js +4 -2
- package/lib/chat-embed/src/components/answer-interaction-data.vue.js +7 -5
- package/lib/chat-embed/src/components/answer-interaction-data.vue2.js +84 -74
- package/lib/chat-embed/src/components/answer-interaction-data.vue3.js +4 -2
- package/lib/chat-embed/src/components/history-detail.vue.js +7 -5
- package/lib/chat-embed/src/components/history-detail.vue2.js +32 -27
- package/lib/chat-embed/src/components/history-detail.vue3.js +4 -2
- package/lib/chat-embed/src/header.vue.js +7 -5
- package/lib/chat-embed/src/header.vue2.js +32 -25
- package/lib/chat-embed/src/header.vue3.js +4 -2
- package/lib/chat-embed/src/index.vue.js +7 -5
- package/lib/chat-embed/src/index.vue2.js +211 -185
- package/lib/chat-embed/src/index.vue3.js +4 -2
- package/lib/chat-embed/src/recommendation-message.vue.js +7 -5
- package/lib/chat-embed/src/recommendation-message.vue2.js +8 -5
- package/lib/chat-embed/src/recommendation-message.vue3.js +4 -2
- package/lib/chat-embed/src/sidebar-item.vue.js +7 -5
- package/lib/chat-embed/src/sidebar-item.vue2.js +93 -84
- package/lib/chat-embed/src/sidebar-item.vue3.js +4 -2
- package/lib/chat-embed/src/type.js +5 -3
- package/lib/chat-embed/src/util/chat-embed-util.js +41 -35
- package/lib/chat-embed/src/util/history-message-util.js +85 -63
- package/lib/chat-embed/src/util/mcp-utils.js +8 -5
- package/lib/chat-embed/src/util/text-file-util.js +11 -7
- package/lib/chat-embed/src/voice/index.js +7 -5
- package/lib/chat-embed/src/voice/js/crypto-js.js +995 -987
- package/lib/chat-embed/src/voice/js/processor/index.umd.js +169 -161
- package/lib/chat-embed/src/voice/js/timer.js +10 -7
- package/lib/chat-embed/src/voice/voice.vue.js +70 -61
- package/lib/date-picker-range/index.js +7 -5
- package/lib/date-picker-range/index.vue.js +7 -5
- package/lib/date-picker-range/index.vue2.js +63 -59
- package/lib/date-picker-range/index.vue3.js +4 -2
- package/lib/department-tree/index.js +5 -3
- package/lib/department-tree/src/department-tree.vue.js +17 -11
- package/lib/department-tree-inline/index.js +5 -3
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue.js +27 -17
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue2.js +4 -2
- package/lib/department-tree-inline/src/department-single-tree-inline.vue.js +27 -17
- package/lib/department-tree-inline/src/department-single-tree-inline.vue2.js +4 -2
- package/lib/department-tree-inline/src/department-tree-inline.vue.js +13 -8
- package/lib/department-tree-inline/src/department-tree-service.js +10 -8
- package/lib/department-tree-inline/src/search-result.vue.js +23 -19
- package/lib/department-tree-inline/src/search-result.vue2.js +4 -2
- package/lib/department-tree-mobile/index.js +7 -4
- package/lib/department-tree-mobile/src/department-tree-app.vue.js +12 -9
- package/lib/department-tree-mobile/src/department-tree-app.vue2.js +4 -2
- package/lib/department-tree-mobile/src/department-tree-app.vue3.js +5 -3
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue.js +91 -80
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue2.js +4 -3
- package/lib/department-tree-mobile/src/department-tree-service.js +42 -32
- package/lib/department-tree-mobile/src/dept-path.vue.js +11 -10
- package/lib/department-tree-mobile/src/dept-path.vue2.js +4 -3
- package/lib/department-tree-mobile/src/dept-result.vue.js +14 -11
- package/lib/department-tree-mobile/src/dept-result.vue2.js +4 -3
- package/lib/department-user-tree/index.js +5 -3
- package/lib/department-user-tree/src/department-user-multiple-tree.vue.js +14 -10
- package/lib/department-user-tree/src/department-user-multiple-tree.vue2.js +4 -2
- package/lib/department-user-tree/src/department-user-single-tree.vue.js +14 -9
- package/lib/department-user-tree/src/department-user-tree.vue.js +20 -14
- package/lib/department-user-tree-inline/index.js +5 -3
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +28 -17
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js +4 -2
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +33 -21
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue2.js +4 -2
- package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.js +13 -8
- package/lib/department-user-tree-inline/src/department-user-tree-multi-service.js +9 -6
- package/lib/department-user-tree-inline/src/department-user-tree-single-service.js +11 -8
- package/lib/department-user-tree-inline/src/group-user/group-input.vue.js +12 -7
- package/lib/department-user-tree-inline/src/group-user/group-list.vue.js +12 -7
- package/lib/department-user-tree-inline/src/group-user/group-user.vue.js +14 -8
- package/lib/department-user-tree-inline/src/group-user-multiple-tree.vue.js +20 -14
- package/lib/department-user-tree-inline/src/group-user-single-tree.vue.js +23 -17
- package/lib/department-user-tree-inline/src/group-user-tree-service.js +3 -2
- package/lib/department-user-tree-inline/src/search-result.vue.js +15 -12
- package/lib/department-user-tree-inline/src/search-result.vue2.js +4 -2
- package/lib/department-user-tree-mobile/index.js +7 -4
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.js +12 -9
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue2.js +4 -2
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue3.js +5 -3
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +104 -93
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +4 -3
- package/lib/department-user-tree-mobile/src/department-user-tree-service.js +30 -20
- package/lib/department-user-tree-mobile/src/dept-path.vue.js +11 -10
- package/lib/department-user-tree-mobile/src/dept-path.vue2.js +4 -3
- package/lib/department-user-tree-mobile/src/dept-result.vue.js +15 -11
- package/lib/department-user-tree-mobile/src/dept-result.vue2.js +4 -3
- package/lib/directives/prevent-reclick.js +3 -2
- package/lib/dynamic-source-select/index.js +7 -5
- package/lib/dynamic-source-select/src/dynamic-source-select-service.js +15 -13
- package/lib/dynamic-source-select/src/dynamic-source-select.vue.js +183 -173
- package/lib/dynamic-source-select/src/dynamic-source-select.vue2.js +4 -2
- package/lib/dynamic-source-select/src/dynamic-source-select.vue3.js +4 -2
- package/lib/dynamic-source-select/src/events.js +3 -2
- package/lib/empty-state/index.vue.js +8 -5
- package/lib/empty-state/index.vue2.js +4 -3
- package/lib/fs-preview/index.js +7 -5
- package/lib/fs-preview/src/fs-preview.vue.js +72 -63
- package/lib/fs-preview/src/fs-preview.vue2.js +4 -2
- package/lib/fs-upload/index.js +7 -5
- package/lib/fs-upload/src/fs-upload-multi.vue.js +32 -24
- package/lib/fs-upload/src/fs-upload-single.vue.js +39 -30
- package/lib/fs-upload/src/fs-upload.vue.js +16 -10
- package/lib/fs-upload/src/see-big-picture.vue.js +11 -8
- package/lib/fs-upload-list/index.js +7 -5
- package/lib/fs-upload-list/src/fs-upload-list.vue.js +40 -33
- package/lib/fs-upload-list/src/fs-upload-list.vue2.js +4 -2
- package/lib/fs-upload-new/index.js +7 -5
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +38 -34
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +4 -3
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +109 -101
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +4 -3
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +7 -5
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +33 -26
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.js +4 -2
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +31 -27
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +4 -3
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +24 -18
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +4 -3
- package/lib/fs-upload-new/src/fs-button-upload.vue.js +7 -5
- package/lib/fs-upload-new/src/fs-button-upload.vue2.js +43 -36
- package/lib/fs-upload-new/src/fs-button-upload.vue3.js +4 -2
- package/lib/fs-upload-new/src/fs-drag-upload.vue.js +7 -5
- package/lib/fs-upload-new/src/fs-drag-upload.vue2.js +45 -37
- package/lib/fs-upload-new/src/fs-drag-upload.vue3.js +4 -2
- package/lib/fs-upload-new/src/fs-preview-new.vue.js +8 -5
- package/lib/fs-upload-new/src/fs-preview-new.vue2.js +70 -61
- package/lib/fs-upload-new/src/fs-preview-new.vue3.js +4 -2
- package/lib/fs-upload-new/src/fs-preview-new.vue4.js +4 -2
- package/lib/fs-upload-new/src/fs-upload-new.vue.js +47 -37
- package/lib/fs-upload-new/src/fs-upload-new.vue2.js +4 -3
- package/lib/hamburger/index.js +5 -3
- package/lib/hamburger/src/hamburger.vue.js +14 -10
- package/lib/hamburger/src/hamburger.vue2.js +4 -2
- package/lib/index.js +383 -40
- package/lib/json-view/json-view-dialog.vue.js +15 -12
- package/lib/json-view/json-view-dialog.vue2.js +4 -3
- package/lib/json-view/json-view.vue.js +4 -3
- package/lib/json-view/json-view.vue2.js +31 -27
- package/lib/multipart-upload/index.js +7 -5
- package/lib/multipart-upload/src/index.vue.js +11 -7
- package/lib/multipart-upload/src/multipart-upload-form.vue.js +49 -40
- package/lib/multipart-upload/src/multipart-upload-list.vue.js +67 -59
- package/lib/organization-input/index.js +7 -5
- package/lib/organization-input/src/organization-input.vue.js +37 -31
- package/lib/organization-input/src/organization-input.vue2.js +4 -2
- package/lib/plugins/export-data-new.js +104 -96
- package/lib/plugins/export-data.js +51 -45
- package/lib/plugins/index.js +8 -4
- package/lib/plugins/public-method.js +3 -2
- package/lib/remove-department/index.js +5 -3
- package/lib/remove-department/src/remove-department.vue.js +19 -13
- package/lib/remove-department/src/remove-dept-service.js +10 -9
- package/lib/remove-user/index.js +7 -5
- package/lib/remove-user/src/remove-user-service.js +4 -3
- package/lib/remove-user/src/remove-user.vue.js +22 -16
- package/lib/remove-workgroup/index.js +7 -5
- package/lib/remove-workgroup/src/remove-workgroup-service.js +4 -3
- package/lib/remove-workgroup/src/remove-workgroup.vue.js +18 -12
- package/lib/rich-editor/index.js +7 -5
- package/lib/rich-editor/index.vue.js +76 -28
- package/lib/rich-editor/tinymce/zh_CN.js +2 -2
- package/lib/rich-editor/viewer.vue.js +10 -7
- package/lib/row-form/index.js +7 -5
- package/lib/row-form/index.vue.js +7 -5
- package/lib/row-form/index.vue2.js +47 -41
- package/lib/row-form/index.vue3.js +4 -2
- package/lib/row-form/operation.vue.js +26 -22
- package/lib/row-form/operation.vue2.js +4 -3
- package/lib/scan-code-input/index.js +7 -5
- package/lib/scan-code-input/src/events.js +13 -11
- package/lib/scan-code-input/src/scan-code-input.vue.js +15 -9
- package/lib/scan-code-input-browser/index.js +7 -5
- package/lib/scan-code-input-browser/src/scan-code-input.vue.js +21 -16
- package/lib/secret-info/index.js +7 -5
- package/lib/secret-info/index.vue.js +9 -6
- package/lib/src/api/sso-service.js +36 -34
- package/lib/src/api/tab.js +9 -8
- package/lib/src/assets/401/401.gif.js +4 -2
- package/lib/src/assets/404/404-cloud.png.js +4 -2
- package/lib/src/assets/404/404.png.js +4 -2
- package/lib/src/assets/chat-embed/robot.gif.js +4 -2
- package/lib/src/assets/chat-embed/robot.svg.js +4 -2
- package/lib/src/assets/nonemessage.png.js +4 -2
- package/lib/src/components/Affix/index.vue.js +7 -5
- package/lib/src/components/Affix/index.vue2.js +58 -56
- package/lib/src/components/Affix/index.vue3.js +4 -2
- package/lib/src/components/Card/index.js +38 -33
- package/lib/src/components/Scrollbar/index.vue.js +37 -33
- package/lib/src/components/Scrollbar/index.vue2.js +4 -2
- package/lib/src/directives/permission/index.js +5 -3
- package/lib/src/directives/permission/permission.js +9 -7
- package/lib/src/i18n/i18n.js +7 -3
- package/lib/src/i18n/langs/cn.js +4 -2
- package/lib/src/i18n/langs/en.js +4 -2
- package/lib/src/mixins/resizeMixin.js +3 -2
- package/lib/src/permission.js +46 -43
- package/lib/src/router/index.js +10 -16
- package/lib/src/store/getters.js +4 -2
- package/lib/src/store/index.js +13 -16
- package/lib/src/store/modules/app.js +4 -3
- package/lib/src/store/modules/chat-ai-store.js +22 -19
- package/lib/src/store/modules/permission.js +11 -10
- package/lib/src/store/modules/system.js +9 -7
- package/lib/src/store/modules/tab-content.js +15 -13
- package/lib/src/store/modules/table.js +3 -2
- package/lib/src/store/modules/user.js +95 -89
- package/lib/src/utils/auth-api.js +5 -3
- package/lib/src/utils/auth.js +139 -69
- package/lib/src/utils/calculator/calculator-factory-wf.js +49 -48
- package/lib/src/utils/calculator/calculator-factory.js +58 -57
- package/lib/src/utils/calculator/calculator-util.js +32 -29
- package/lib/src/utils/chat-ai-util.js +25 -17
- package/lib/src/utils/common-util.js +356 -271
- package/lib/src/utils/eventBus.js +6 -3
- package/lib/src/utils/file-util.js +16 -15
- package/lib/src/utils/global-prop.js +37 -21
- package/lib/src/utils/guid.js +8 -5
- package/lib/src/utils/i18n-util.js +24 -16
- package/lib/src/utils/iconUtils.js +23 -16
- package/lib/src/utils/index.js +40 -26
- package/lib/src/utils/insert_css.js +7 -8
- package/lib/src/utils/json-util.js +27 -25
- package/lib/src/utils/jump-page-utils.js +180 -172
- package/lib/src/utils/local-storage.js +3 -2
- package/lib/src/utils/menu.js +11 -10
- package/lib/src/utils/permission.js +26 -22
- package/lib/src/utils/permissionAuth.js +136 -102
- package/lib/src/utils/range-selector.js +45 -41
- package/lib/src/utils/request.js +86 -77
- package/lib/src/utils/resize.js +5 -5
- package/lib/src/utils/restful-interface-utils.js +15 -12
- package/lib/src/utils/util.js +26 -6
- package/lib/src/utils/validate.js +20 -10
- package/lib/src/utils/voice-setting-cache.js +153 -140
- package/lib/src/utils/watermark-cache.js +14 -9
- package/lib/src/utils/watermark.js +30 -23
- package/lib/src/utils/workflow-util.js +26 -25
- package/lib/src/views/dsc-component/Sidebar/Item.vue.js +7 -5
- package/lib/src/views/dsc-component/Sidebar/Item.vue2.js +11 -8
- package/lib/src/views/dsc-component/Sidebar/Item.vue3.js +4 -2
- package/lib/src/views/dsc-component/Sidebar/Link.vue.js +12 -9
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue.js +26 -19
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue2.js +4 -2
- package/lib/src/views/dsc-component/Sidebar/index.vue.js +20 -12
- package/lib/src/views/dsc-component/tabs/tab-content.vue.js +26 -21
- package/lib/src/views/dsc-component/tabs/tab-content.vue2.js +4 -2
- package/lib/src/views/dsc-component/tabs/tab-content.vue3.js +4 -2
- package/lib/src/views/error-page/401.vue.js +13 -9
- package/lib/src/views/error-page/401.vue2.js +4 -2
- package/lib/src/views/error-page/404.vue.js +11 -7
- package/lib/src/views/error-page/404.vue2.js +4 -2
- package/lib/src/views/layout/EmptyLayout.vue.js +8 -6
- package/lib/src/views/layout/Layout.vue.js +19 -12
- package/lib/src/views/layout/Layout.vue2.js +4 -2
- package/lib/src/views/layout/NewLayout.vue.js +10 -6
- package/lib/src/views/layout/components/AppMain.vue.js +11 -9
- package/lib/src/views/layout/components/AppMain.vue2.js +4 -2
- package/lib/src/views/layout/components/Breadcrumb/index.vue.js +37 -44
- package/lib/src/views/layout/components/Breadcrumb/index.vue2.js +4 -2
- package/lib/src/views/layout/components/Menubar/Item.vue.js +7 -5
- package/lib/src/views/layout/components/Menubar/Item.vue2.js +14 -12
- package/lib/src/views/layout/components/Menubar/Item.vue3.js +4 -2
- package/lib/src/views/layout/components/Menubar/Link.vue.js +12 -9
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue.js +24 -15
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue2.js +4 -2
- package/lib/src/views/layout/components/Menubar/index.vue.js +30 -19
- package/lib/src/views/layout/components/Sidebar/Item.vue.js +8 -6
- package/lib/src/views/layout/components/Sidebar/Item.vue2.js +4 -3
- package/lib/src/views/layout/components/Sidebar/Link.vue.js +11 -8
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue.js +17 -11
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue2.js +4 -2
- package/lib/src/views/layout/components/Sidebar/index.vue.js +25 -18
- package/lib/src/views/layout/components/iframe-page.vue.js +10 -8
- package/lib/src/views/layout/components/iframe-page.vue2.js +4 -2
- package/lib/src/views/layout/components/tabs/tab-content.vue.js +14 -10
- package/lib/src/views/layout/components/tabs/tab-content.vue2.js +4 -2
- package/lib/src/views/layout/components/tabs/tab-content.vue3.js +4 -2
- package/lib/src/views/layout/mixin/ResizeHandler.js +5 -3
- package/lib/src/views/layout/tab-content-iframe-index.vue.js +10 -8
- package/lib/src/views/layout/tab-content-iframe-index.vue2.js +4 -2
- package/lib/src/views/layout/tab-content-index.vue.js +18 -12
- package/lib/src/views/layout/tab-content-index.vue2.js +4 -2
- package/lib/src/views/login/authredirect.vue.js +3 -2
- package/lib/src/views/redirect/index.vue.js +8 -17
- package/lib/src/views/svg-icon/src/svg-icon.vue.js +4 -2
- package/lib/src/views/wf-history/tache-subprocess-history.vue.js +13 -11
- package/lib/src/views/wf-history/tache-subprocess-history.vue2.js +4 -2
- package/lib/style.css +547 -547
- package/lib/super-grid/index.js +7 -5
- package/lib/super-grid/src/apis.js +231 -221
- package/lib/super-grid/src/columns-config.vue.js +22 -16
- package/lib/super-grid/src/components/grid-icon.vue.js +34 -26
- package/lib/super-grid/src/components/grid-radio-input.vue.js +18 -15
- package/lib/super-grid/src/components/grid-radio-input.vue2.js +4 -3
- package/lib/super-grid/src/components/mobile-table-card.js +83 -73
- package/lib/super-grid/src/components/select-input.vue.js +106 -98
- package/lib/super-grid/src/components/select-input.vue2.js +4 -3
- package/lib/super-grid/src/custom-formatter.js +74 -69
- package/lib/super-grid/src/dynamic-input.vue.js +159 -142
- package/lib/super-grid/src/eventBus.js +6 -3
- package/lib/super-grid/src/events.js +36 -34
- package/lib/super-grid/src/formValidatorUtil.js +65 -62
- package/lib/super-grid/src/formatter.js +41 -36
- package/lib/super-grid/src/group-column.vue.js +13 -8
- package/lib/super-grid/src/header-context-menu.vue.js +13 -10
- package/lib/super-grid/src/header-context-menu.vue2.js +4 -2
- package/lib/super-grid/src/index-column.vue.js +10 -7
- package/lib/super-grid/src/normal-column-content.vue.js +205 -186
- package/lib/super-grid/src/normal-column-content.vue2.js +4 -2
- package/lib/super-grid/src/normal-column.vue.js +55 -40
- package/lib/super-grid/src/normal-column.vue2.js +4 -2
- package/lib/super-grid/src/public-methods.js +14 -12
- package/lib/super-grid/src/row-detail.vue.js +10 -7
- package/lib/super-grid/src/row-operation.vue.js +26 -19
- package/lib/super-grid/src/row-operation.vue2.js +4 -2
- package/lib/super-grid/src/scan-util.js +26 -24
- package/lib/super-grid/src/search-button.vue.js +17 -12
- package/lib/super-grid/src/search-condition-input.vue.js +12 -8
- package/lib/super-grid/src/search-condition-list.vue.js +13 -10
- package/lib/super-grid/src/search-form-advancedQuery.vue.js +23 -13
- package/lib/super-grid/src/search-form-advancedQuery.vue2.js +4 -2
- package/lib/super-grid/src/search-form-dialog.vue.js +13 -9
- package/lib/super-grid/src/search-form-item.vue.js +24 -16
- package/lib/super-grid/src/search-form-item.vue2.js +4 -2
- package/lib/super-grid/src/search-form-mobile.vue.js +22 -13
- package/lib/super-grid/src/search-form-mobile.vue2.js +4 -2
- package/lib/super-grid/src/search-form-number.vue.js +14 -9
- package/lib/super-grid/src/search-form-open.vue.js +13 -7
- package/lib/super-grid/src/search-form-ordinarySearch.vue.js +19 -11
- package/lib/super-grid/src/search-form-ordinarySearch.vue2.js +4 -2
- package/lib/super-grid/src/search-form.vue.js +77 -65
- package/lib/super-grid/src/search-form.vue2.js +4 -2
- package/lib/super-grid/src/search-methods.js +3 -2
- package/lib/super-grid/src/selection-column.vue.js +9 -7
- package/lib/super-grid/src/store.js +4 -3
- package/lib/super-grid/src/super-grid-service.js +128 -121
- package/lib/super-grid/src/super-grid.vue.js +217 -186
- package/lib/super-grid/src/super-grid.vue2.js +4 -2
- package/lib/super-grid/src/utils.js +322 -265
- package/lib/super-grid/src/view-image-dialog.vue.js +33 -26
- package/lib/super-icon/index.js +7 -5
- package/lib/super-icon/src/index.vue.js +7 -5
- package/lib/super-icon/src/index.vue2.js +11 -8
- package/lib/super-icon/src/index.vue3.js +4 -2
- package/lib/super-nine-grid/index.js +7 -5
- package/lib/super-nine-grid/src/apis.js +8 -5
- package/lib/super-nine-grid/src/custom-formatter.js +7 -5
- package/lib/super-nine-grid/src/formatter.js +29 -28
- package/lib/super-nine-grid/src/search-form-number.vue.js +12 -8
- package/lib/super-nine-grid/src/search-form.vue.js +40 -33
- package/lib/super-nine-grid/src/search-form.vue2.js +4 -2
- package/lib/super-nine-grid/src/search-methods.js +3 -2
- package/lib/super-nine-grid/src/store.js +4 -3
- package/lib/super-nine-grid/src/super-grid-service.js +9 -5
- package/lib/super-nine-grid/src/super-nine-grid.vue.js +105 -95
- package/lib/super-nine-grid/src/super-nine-grid.vue2.js +4 -2
- package/lib/super-nine-grid/src/utils.js +27 -31
- package/lib/svg-icon/index.js +7 -5
- package/lib/svg-icon/src/svg-icon.vue.js +10 -8
- package/lib/svg-icon/src/svg-icon.vue2.js +4 -2
- package/lib/utils/gogocodeTransfer.js +28 -23
- package/lib/utils/memory-cache-utils.js +5 -3
- package/lib/utils/organization.js +53 -40
- package/lib/utils/utils.js +29 -27
- package/lib/utils/value-set.js +70 -68
- package/lib/valid-code/index.js +7 -5
- package/lib/valid-code/src/valid-code.vue.js +13 -10
- package/lib/valid-code/src/valid-code.vue2.js +4 -2
- package/lib/workflow-button/index.js +5 -3
- package/lib/workflow-button/src/workflow-button.vue.js +39 -34
- package/lib/workflow-history-list/index.js +7 -5
- package/lib/workflow-history-list/src/api.js +3 -2
- package/lib/workflow-history-list/src/workflow-history-list.vue.js +65 -59
- package/lib/workflow-history-list/src/workflow-history-list.vue2.js +4 -2
- package/lib/workgroup-tree/index.js +7 -5
- package/lib/workgroup-tree/src/workgroup-tree.vue.js +17 -11
- package/lib/workgroup-tree-inline/index.js +5 -3
- package/lib/workgroup-tree-inline/src/search-result.vue.js +25 -21
- package/lib/workgroup-tree-inline/src/search-result.vue2.js +4 -2
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +52 -43
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js +4 -2
- package/lib/workgroup-tree-inline/src/workgroup-tree-service.js +7 -5
- package/lib/workgroup-tree-mobile/index.js +8 -5
- package/lib/workgroup-tree-mobile/src/dept-result.vue.js +14 -11
- package/lib/workgroup-tree-mobile/src/dept-result.vue2.js +4 -3
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +12 -9
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue2.js +4 -2
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +5 -3
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +86 -76
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +4 -3
- package/lib/workgroup-tree-mobile/src/workgroup-tree-service.js +28 -20
- package/lib/workgroup-user-tree/index.js +7 -5
- package/lib/workgroup-user-tree/src/workgroup-user-tree.vue.js +17 -11
- package/lib/workgroup-user-tree-inline/index.js +5 -3
- package/lib/workgroup-user-tree-inline/src/search-result.vue.js +25 -21
- package/lib/workgroup-user-tree-inline/src/search-result.vue2.js +4 -2
- package/lib/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +11 -9
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +43 -34
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.js +4 -2
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue.js +11 -10
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue2.js +4 -3
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue.js +15 -11
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue2.js +4 -3
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +12 -9
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js +4 -2
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +5 -3
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +104 -93
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +4 -3
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-service.js +25 -16
- package/lib/year-range-picker/index.js +5 -3
- package/lib/year-range-picker/src/year-range-picker.vue.js +12 -9
- package/package.json +2 -5
- package/vite.config.js +21 -21
- package/dist/favicon.svg +0 -29
- package/dist/index.full.min.js +0 -16440
- package/dist/style.css +0 -3078
- package/es/IntervalSelection/index.js +0 -7
- package/es/IntervalSelection/src/sectionDate.vue.js +0 -49
- package/es/IntervalSelection/src/sectionDate.vue2.js +0 -4
- package/es/_virtual/__vite-browser-external.js +0 -4
- package/es/_virtual/_plugin-vue_export-helper.js +0 -9
- package/es/breadcrumb/index.js +0 -7
- package/es/breadcrumb/src/breadcrumb.vue.js +0 -28
- package/es/breadcrumb/src/breadcrumb.vue2.js +0 -4
- package/es/chat-embed/index.js +0 -7
- package/es/chat-embed/src/chat-addition-data.vue.js +0 -7
- package/es/chat-embed/src/chat-addition-data.vue2.js +0 -14
- package/es/chat-embed/src/chat-addition-data.vue3.js +0 -4
- package/es/chat-embed/src/chat-ai-answer-tip.vue.js +0 -7
- package/es/chat-embed/src/chat-ai-answer-tip.vue2.js +0 -29
- package/es/chat-embed/src/chat-ai-answer-tip.vue3.js +0 -4
- package/es/chat-embed/src/chat-bubble-footer.vue.js +0 -7
- package/es/chat-embed/src/chat-bubble-footer.vue2.js +0 -33
- package/es/chat-embed/src/chat-bubble-footer.vue3.js +0 -4
- package/es/chat-embed/src/chat-embed-message.js +0 -22
- package/es/chat-embed/src/chat-sender.vue.js +0 -7
- package/es/chat-embed/src/chat-sender.vue2.js +0 -160
- package/es/chat-embed/src/chat-sender.vue3.js +0 -4
- package/es/chat-embed/src/components/answer-auto-chart.vue.js +0 -7
- package/es/chat-embed/src/components/answer-auto-chart.vue2.js +0 -59
- package/es/chat-embed/src/components/answer-auto-chart.vue3.js +0 -4
- package/es/chat-embed/src/components/answer-home-chart.vue.js +0 -7
- package/es/chat-embed/src/components/answer-home-chart.vue2.js +0 -6
- package/es/chat-embed/src/components/answer-home-chart.vue3.js +0 -4
- package/es/chat-embed/src/components/answer-interaction-data.vue.js +0 -7
- package/es/chat-embed/src/components/answer-interaction-data.vue2.js +0 -118
- package/es/chat-embed/src/components/answer-interaction-data.vue3.js +0 -4
- package/es/chat-embed/src/components/history-detail.vue.js +0 -7
- package/es/chat-embed/src/components/history-detail.vue2.js +0 -55
- package/es/chat-embed/src/components/history-detail.vue3.js +0 -4
- package/es/chat-embed/src/header.vue.js +0 -7
- package/es/chat-embed/src/header.vue2.js +0 -46
- package/es/chat-embed/src/header.vue3.js +0 -4
- package/es/chat-embed/src/index.vue.js +0 -7
- package/es/chat-embed/src/index.vue2.js +0 -307
- package/es/chat-embed/src/index.vue3.js +0 -4
- package/es/chat-embed/src/recommendation-message.vue.js +0 -7
- package/es/chat-embed/src/recommendation-message.vue2.js +0 -8
- package/es/chat-embed/src/recommendation-message.vue3.js +0 -4
- package/es/chat-embed/src/sidebar-item.vue.js +0 -7
- package/es/chat-embed/src/sidebar-item.vue2.js +0 -118
- package/es/chat-embed/src/sidebar-item.vue3.js +0 -4
- package/es/chat-embed/src/type.js +0 -5
- package/es/chat-embed/src/util/chat-embed-util.js +0 -57
- package/es/chat-embed/src/util/history-message-util.js +0 -96
- package/es/chat-embed/src/util/mcp-utils.js +0 -53
- package/es/chat-embed/src/util/text-file-util.js +0 -12
- package/es/chat-embed/src/voice/index.js +0 -7
- package/es/chat-embed/src/voice/js/crypto-js.js +0 -1013
- package/es/chat-embed/src/voice/js/processor/index.umd.js +0 -178
- package/es/chat-embed/src/voice/js/timer.js +0 -11
- package/es/chat-embed/src/voice/voice.vue.js +0 -104
- package/es/date-picker-range/index.js +0 -7
- package/es/date-picker-range/index.vue.js +0 -7
- package/es/date-picker-range/index.vue2.js +0 -93
- package/es/date-picker-range/index.vue3.js +0 -4
- package/es/department-tree/index.js +0 -7
- package/es/department-tree/src/department-tree.vue.js +0 -23
- package/es/department-tree-inline/index.js +0 -7
- package/es/department-tree-inline/src/department-multi-tree-inline.vue.js +0 -91
- package/es/department-tree-inline/src/department-multi-tree-inline.vue2.js +0 -4
- package/es/department-tree-inline/src/department-single-tree-inline.vue.js +0 -64
- package/es/department-tree-inline/src/department-single-tree-inline.vue2.js +0 -4
- package/es/department-tree-inline/src/department-tree-inline.vue.js +0 -17
- package/es/department-tree-inline/src/department-tree-service.js +0 -108
- package/es/department-tree-inline/src/search-result.vue.js +0 -40
- package/es/department-tree-inline/src/search-result.vue2.js +0 -4
- package/es/department-tree-mobile/index.js +0 -8
- package/es/department-tree-mobile/src/department-tree-app.vue.js +0 -15
- package/es/department-tree-mobile/src/department-tree-app.vue2.js +0 -4
- package/es/department-tree-mobile/src/department-tree-app.vue3.js +0 -5
- package/es/department-tree-mobile/src/department-tree-inline-app.vue.js +0 -121
- package/es/department-tree-mobile/src/department-tree-inline-app.vue2.js +0 -4
- package/es/department-tree-mobile/src/department-tree-service.js +0 -55
- package/es/department-tree-mobile/src/dept-path.vue.js +0 -14
- package/es/department-tree-mobile/src/dept-path.vue2.js +0 -4
- package/es/department-tree-mobile/src/dept-result.vue.js +0 -16
- package/es/department-tree-mobile/src/dept-result.vue2.js +0 -4
- package/es/department-user-tree/index.js +0 -7
- package/es/department-user-tree/src/department-user-multiple-tree.vue.js +0 -20
- package/es/department-user-tree/src/department-user-multiple-tree.vue2.js +0 -4
- package/es/department-user-tree/src/department-user-single-tree.vue.js +0 -19
- package/es/department-user-tree/src/department-user-tree.vue.js +0 -27
- package/es/department-user-tree-inline/index.js +0 -7
- package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +0 -165
- package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js +0 -4
- package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +0 -69
- package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue2.js +0 -4
- package/es/department-user-tree-inline/src/department-user-tree-inline.vue.js +0 -16
- package/es/department-user-tree-inline/src/department-user-tree-multi-service.js +0 -81
- package/es/department-user-tree-inline/src/department-user-tree-single-service.js +0 -54
- package/es/department-user-tree-inline/src/group-user/group-input.vue.js +0 -39
- package/es/department-user-tree-inline/src/group-user/group-list.vue.js +0 -27
- package/es/department-user-tree-inline/src/group-user/group-user.vue.js +0 -16
- package/es/department-user-tree-inline/src/group-user-multiple-tree.vue.js +0 -78
- package/es/department-user-tree-inline/src/group-user-single-tree.vue.js +0 -34
- package/es/department-user-tree-inline/src/group-user-tree-service.js +0 -34
- package/es/department-user-tree-inline/src/search-result.vue.js +0 -41
- package/es/department-user-tree-inline/src/search-result.vue2.js +0 -4
- package/es/department-user-tree-mobile/index.js +0 -8
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue.js +0 -15
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue2.js +0 -4
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue3.js +0 -5
- package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +0 -135
- package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +0 -4
- package/es/department-user-tree-mobile/src/department-user-tree-service.js +0 -38
- package/es/department-user-tree-mobile/src/dept-path.vue.js +0 -14
- package/es/department-user-tree-mobile/src/dept-path.vue2.js +0 -4
- package/es/department-user-tree-mobile/src/dept-result.vue.js +0 -17
- package/es/department-user-tree-mobile/src/dept-result.vue2.js +0 -4
- package/es/directives/prevent-reclick.js +0 -15
- package/es/dynamic-source-select/index.js +0 -7
- package/es/dynamic-source-select/src/dynamic-source-select-service.js +0 -32
- package/es/dynamic-source-select/src/dynamic-source-select.vue.js +0 -276
- package/es/dynamic-source-select/src/dynamic-source-select.vue2.js +0 -4
- package/es/dynamic-source-select/src/dynamic-source-select.vue3.js +0 -4
- package/es/dynamic-source-select/src/events.js +0 -29
- package/es/empty-state/index.vue.js +0 -9
- package/es/empty-state/index.vue2.js +0 -4
- package/es/favicon.svg +0 -29
- package/es/fs-preview/index.js +0 -7
- package/es/fs-preview/src/fs-preview.vue.js +0 -120
- package/es/fs-preview/src/fs-preview.vue2.js +0 -4
- package/es/fs-upload/index.js +0 -7
- package/es/fs-upload/src/fs-upload-multi.vue.js +0 -71
- package/es/fs-upload/src/fs-upload-single.vue.js +0 -73
- package/es/fs-upload/src/fs-upload.vue.js +0 -24
- package/es/fs-upload/src/see-big-picture.vue.js +0 -12
- package/es/fs-upload-list/index.js +0 -7
- package/es/fs-upload-list/src/fs-upload-list.vue.js +0 -98
- package/es/fs-upload-list/src/fs-upload-list.vue2.js +0 -4
- package/es/fs-upload-new/index.js +0 -7
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +0 -61
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +0 -4
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +0 -178
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +0 -4
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +0 -7
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +0 -39
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.js +0 -4
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +0 -45
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +0 -4
- package/es/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +0 -35
- package/es/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +0 -4
- package/es/fs-upload-new/src/fs-button-upload.vue.js +0 -7
- package/es/fs-upload-new/src/fs-button-upload.vue2.js +0 -62
- package/es/fs-upload-new/src/fs-button-upload.vue3.js +0 -4
- package/es/fs-upload-new/src/fs-drag-upload.vue.js +0 -7
- package/es/fs-upload-new/src/fs-drag-upload.vue2.js +0 -63
- package/es/fs-upload-new/src/fs-drag-upload.vue3.js +0 -4
- package/es/fs-upload-new/src/fs-preview-new.vue.js +0 -8
- package/es/fs-upload-new/src/fs-preview-new.vue2.js +0 -93
- package/es/fs-upload-new/src/fs-preview-new.vue3.js +0 -4
- package/es/fs-upload-new/src/fs-preview-new.vue4.js +0 -4
- package/es/fs-upload-new/src/fs-upload-new.vue.js +0 -64
- package/es/fs-upload-new/src/fs-upload-new.vue2.js +0 -4
- package/es/hamburger/index.js +0 -7
- package/es/hamburger/src/hamburger.vue.js +0 -15
- package/es/hamburger/src/hamburger.vue2.js +0 -4
- package/es/index.js +0 -383
- package/es/json-view/json-view-dialog.vue.js +0 -19
- package/es/json-view/json-view-dialog.vue2.js +0 -4
- package/es/json-view/json-view.vue.js +0 -4
- package/es/json-view/json-view.vue2.js +0 -36
- package/es/multipart-upload/index.js +0 -7
- package/es/multipart-upload/src/index.vue.js +0 -14
- package/es/multipart-upload/src/multipart-upload-form.vue.js +0 -82
- package/es/multipart-upload/src/multipart-upload-list.vue.js +0 -104
- package/es/organization-input/index.js +0 -7
- package/es/organization-input/src/organization-input.vue.js +0 -224
- package/es/organization-input/src/organization-input.vue2.js +0 -4
- package/es/plugins/export-data-new.js +0 -237
- package/es/plugins/export-data.js +0 -179
- package/es/plugins/index.js +0 -9
- package/es/plugins/public-method.js +0 -14
- package/es/remove-department/index.js +0 -7
- package/es/remove-department/src/remove-department.vue.js +0 -33
- package/es/remove-department/src/remove-dept-service.js +0 -13
- package/es/remove-user/index.js +0 -7
- package/es/remove-user/src/remove-user-service.js +0 -13
- package/es/remove-user/src/remove-user.vue.js +0 -35
- package/es/remove-workgroup/index.js +0 -7
- package/es/remove-workgroup/src/remove-workgroup-service.js +0 -13
- package/es/remove-workgroup/src/remove-workgroup.vue.js +0 -31
- package/es/rich-editor/index.js +0 -7
- package/es/rich-editor/index.vue.js +0 -115
- package/es/rich-editor/tinymce/zh_CN.js +0 -2
- package/es/rich-editor/viewer.vue.js +0 -27
- package/es/row-form/index.js +0 -7
- package/es/row-form/index.vue.js +0 -7
- package/es/row-form/index.vue2.js +0 -62
- package/es/row-form/index.vue3.js +0 -4
- package/es/row-form/operation.vue.js +0 -32
- package/es/row-form/operation.vue2.js +0 -4
- package/es/scan-code-input/index.js +0 -7
- package/es/scan-code-input/src/events.js +0 -15
- package/es/scan-code-input/src/scan-code-input.vue.js +0 -32
- package/es/scan-code-input-browser/index.js +0 -7
- package/es/scan-code-input-browser/src/scan-code-input.vue.js +0 -39
- package/es/secret-info/index.js +0 -7
- package/es/secret-info/index.vue.js +0 -16
- package/es/src/api/sso-service.js +0 -57
- package/es/src/api/tab.js +0 -15
- package/es/src/assets/401/401.gif.js +0 -4
- package/es/src/assets/404/404-cloud.png.js +0 -4
- package/es/src/assets/404/404.png.js +0 -4
- package/es/src/assets/chat-embed/robot.gif.js +0 -4
- package/es/src/assets/chat-embed/robot.svg.js +0 -4
- package/es/src/assets/nonemessage.png.js +0 -4
- package/es/src/components/Affix/index.vue.js +0 -7
- package/es/src/components/Affix/index.vue2.js +0 -83
- package/es/src/components/Affix/index.vue3.js +0 -4
- package/es/src/components/Card/index.js +0 -48
- package/es/src/components/Scrollbar/index.vue.js +0 -52
- package/es/src/components/Scrollbar/index.vue2.js +0 -4
- package/es/src/directives/permission/index.js +0 -7
- package/es/src/directives/permission/permission.js +0 -11
- package/es/src/i18n/i18n.js +0 -7
- package/es/src/i18n/langs/cn.js +0 -4
- package/es/src/i18n/langs/en.js +0 -4
- package/es/src/mixins/resizeMixin.js +0 -21
- package/es/src/permission.js +0 -79
- package/es/src/router/index.js +0 -9
- package/es/src/store/getters.js +0 -4
- package/es/src/store/index.js +0 -13
- package/es/src/store/modules/app.js +0 -41
- package/es/src/store/modules/chat-ai-store.js +0 -36
- package/es/src/store/modules/permission.js +0 -31
- package/es/src/store/modules/system.js +0 -12
- package/es/src/store/modules/tab-content.js +0 -20
- package/es/src/store/modules/table.js +0 -18
- package/es/src/store/modules/user.js +0 -139
- package/es/src/utils/auth-api.js +0 -134
- package/es/src/utils/auth.js +0 -156
- package/es/src/utils/calculator/calculator-factory-wf.js +0 -167
- package/es/src/utils/calculator/calculator-factory.js +0 -93
- package/es/src/utils/calculator/calculator-util.js +0 -56
- package/es/src/utils/chat-ai-util.js +0 -34
- package/es/src/utils/common-util.js +0 -440
- package/es/src/utils/eventBus.js +0 -6
- package/es/src/utils/file-util.js +0 -23
- package/es/src/utils/global-prop.js +0 -38
- package/es/src/utils/guid.js +0 -10
- package/es/src/utils/i18n-util.js +0 -70
- package/es/src/utils/iconUtils.js +0 -26
- package/es/src/utils/index.js +0 -46
- package/es/src/utils/insert_css.js +0 -17
- package/es/src/utils/json-util.js +0 -47
- package/es/src/utils/jump-page-utils.js +0 -264
- package/es/src/utils/local-storage.js +0 -19
- package/es/src/utils/menu.js +0 -14
- package/es/src/utils/permission.js +0 -45
- package/es/src/utils/permissionAuth.js +0 -154
- package/es/src/utils/range-selector.js +0 -105
- package/es/src/utils/request.js +0 -140
- package/es/src/utils/resize.js +0 -11
- package/es/src/utils/restful-interface-utils.js +0 -18
- package/es/src/utils/util.js +0 -361
- package/es/src/utils/validate.js +0 -22
- package/es/src/utils/voice-setting-cache.js +0 -212
- package/es/src/utils/watermark-cache.js +0 -15
- package/es/src/utils/watermark.js +0 -40
- package/es/src/utils/workflow-util.js +0 -42
- package/es/src/views/dsc-component/Sidebar/Item.vue.js +0 -7
- package/es/src/views/dsc-component/Sidebar/Item.vue2.js +0 -12
- package/es/src/views/dsc-component/Sidebar/Item.vue3.js +0 -4
- package/es/src/views/dsc-component/Sidebar/Link.vue.js +0 -14
- package/es/src/views/dsc-component/Sidebar/SidebarItem.vue.js +0 -53
- package/es/src/views/dsc-component/Sidebar/SidebarItem.vue2.js +0 -4
- package/es/src/views/dsc-component/Sidebar/index.vue.js +0 -111
- package/es/src/views/dsc-component/tabs/tab-content.vue.js +0 -66
- package/es/src/views/dsc-component/tabs/tab-content.vue2.js +0 -4
- package/es/src/views/dsc-component/tabs/tab-content.vue3.js +0 -4
- package/es/src/views/error-page/401.vue.js +0 -15
- package/es/src/views/error-page/401.vue2.js +0 -4
- package/es/src/views/error-page/404.vue.js +0 -12
- package/es/src/views/error-page/404.vue2.js +0 -4
- package/es/src/views/layout/EmptyLayout.vue.js +0 -9
- package/es/src/views/layout/Layout.vue.js +0 -28
- package/es/src/views/layout/Layout.vue2.js +0 -4
- package/es/src/views/layout/NewLayout.vue.js +0 -11
- package/es/src/views/layout/components/AppMain.vue.js +0 -13
- package/es/src/views/layout/components/AppMain.vue2.js +0 -4
- package/es/src/views/layout/components/Breadcrumb/index.vue.js +0 -49
- package/es/src/views/layout/components/Breadcrumb/index.vue2.js +0 -4
- package/es/src/views/layout/components/Menubar/Item.vue.js +0 -7
- package/es/src/views/layout/components/Menubar/Item.vue2.js +0 -15
- package/es/src/views/layout/components/Menubar/Item.vue3.js +0 -4
- package/es/src/views/layout/components/Menubar/Link.vue.js +0 -14
- package/es/src/views/layout/components/Menubar/SidebarItem.vue.js +0 -56
- package/es/src/views/layout/components/Menubar/SidebarItem.vue2.js +0 -4
- package/es/src/views/layout/components/Menubar/index.vue.js +0 -90
- package/es/src/views/layout/components/Sidebar/Item.vue.js +0 -9
- package/es/src/views/layout/components/Sidebar/Item.vue2.js +0 -4
- package/es/src/views/layout/components/Sidebar/Link.vue.js +0 -12
- package/es/src/views/layout/components/Sidebar/SidebarItem.vue.js +0 -22
- package/es/src/views/layout/components/Sidebar/SidebarItem.vue2.js +0 -4
- package/es/src/views/layout/components/Sidebar/index.vue.js +0 -58
- package/es/src/views/layout/components/iframe-page.vue.js +0 -14
- package/es/src/views/layout/components/iframe-page.vue2.js +0 -4
- package/es/src/views/layout/components/tabs/tab-content.vue.js +0 -64
- package/es/src/views/layout/components/tabs/tab-content.vue2.js +0 -4
- package/es/src/views/layout/components/tabs/tab-content.vue3.js +0 -4
- package/es/src/views/layout/mixin/ResizeHandler.js +0 -16
- package/es/src/views/layout/tab-content-iframe-index.vue.js +0 -14
- package/es/src/views/layout/tab-content-iframe-index.vue2.js +0 -4
- package/es/src/views/layout/tab-content-index.vue.js +0 -28
- package/es/src/views/layout/tab-content-index.vue2.js +0 -4
- package/es/src/views/login/authredirect.vue.js +0 -7
- package/es/src/views/redirect/index.vue.js +0 -8
- package/es/src/views/svg-icon/src/svg-icon.vue.js +0 -4
- package/es/src/views/wf-history/tache-subprocess-history.vue.js +0 -14
- package/es/src/views/wf-history/tache-subprocess-history.vue2.js +0 -4
- package/es/style.css +0 -3077
- package/es/super-grid/index.js +0 -7
- package/es/super-grid/src/apis.js +0 -458
- package/es/super-grid/src/columns-config.vue.js +0 -82
- package/es/super-grid/src/components/grid-icon.vue.js +0 -47
- package/es/super-grid/src/components/grid-radio-input.vue.js +0 -25
- package/es/super-grid/src/components/grid-radio-input.vue2.js +0 -4
- package/es/super-grid/src/components/mobile-table-card.js +0 -109
- package/es/super-grid/src/components/select-input.vue.js +0 -149
- package/es/super-grid/src/components/select-input.vue2.js +0 -4
- package/es/super-grid/src/custom-formatter.js +0 -168
- package/es/super-grid/src/dynamic-input.vue.js +0 -482
- package/es/super-grid/src/eventBus.js +0 -6
- package/es/super-grid/src/events.js +0 -37
- package/es/super-grid/src/formValidatorUtil.js +0 -109
- package/es/super-grid/src/formatter.js +0 -74
- package/es/super-grid/src/group-column.vue.js +0 -24
- package/es/super-grid/src/header-context-menu.vue.js +0 -15
- package/es/super-grid/src/header-context-menu.vue2.js +0 -4
- package/es/super-grid/src/index-column.vue.js +0 -22
- package/es/super-grid/src/normal-column-content.vue.js +0 -319
- package/es/super-grid/src/normal-column-content.vue2.js +0 -4
- package/es/super-grid/src/normal-column.vue.js +0 -106
- package/es/super-grid/src/normal-column.vue2.js +0 -4
- package/es/super-grid/src/public-methods.js +0 -22
- package/es/super-grid/src/row-detail.vue.js +0 -14
- package/es/super-grid/src/row-operation.vue.js +0 -89
- package/es/super-grid/src/row-operation.vue2.js +0 -4
- package/es/super-grid/src/scan-util.js +0 -100
- package/es/super-grid/src/search-button.vue.js +0 -23
- package/es/super-grid/src/search-condition-input.vue.js +0 -17
- package/es/super-grid/src/search-condition-list.vue.js +0 -20
- package/es/super-grid/src/search-form-advancedQuery.vue.js +0 -116
- package/es/super-grid/src/search-form-advancedQuery.vue2.js +0 -4
- package/es/super-grid/src/search-form-dialog.vue.js +0 -16
- package/es/super-grid/src/search-form-item.vue.js +0 -128
- package/es/super-grid/src/search-form-item.vue2.js +0 -4
- package/es/super-grid/src/search-form-mobile.vue.js +0 -41
- package/es/super-grid/src/search-form-mobile.vue2.js +0 -4
- package/es/super-grid/src/search-form-number.vue.js +0 -26
- package/es/super-grid/src/search-form-open.vue.js +0 -50
- package/es/super-grid/src/search-form-ordinarySearch.vue.js +0 -39
- package/es/super-grid/src/search-form-ordinarySearch.vue2.js +0 -4
- package/es/super-grid/src/search-form.vue.js +0 -201
- package/es/super-grid/src/search-form.vue2.js +0 -4
- package/es/super-grid/src/search-methods.js +0 -164
- package/es/super-grid/src/selection-column.vue.js +0 -11
- package/es/super-grid/src/store.js +0 -4
- package/es/super-grid/src/super-grid-service.js +0 -260
- package/es/super-grid/src/super-grid.vue.js +0 -1052
- package/es/super-grid/src/super-grid.vue2.js +0 -4
- package/es/super-grid/src/utils.js +0 -355
- package/es/super-grid/src/view-image-dialog.vue.js +0 -67
- package/es/super-icon/index.js +0 -7
- package/es/super-icon/src/index.vue.js +0 -7
- package/es/super-icon/src/index.vue2.js +0 -13
- package/es/super-icon/src/index.vue3.js +0 -4
- package/es/super-nine-grid/index.js +0 -7
- package/es/super-nine-grid/src/apis.js +0 -36
- package/es/super-nine-grid/src/custom-formatter.js +0 -35
- package/es/super-nine-grid/src/formatter.js +0 -37
- package/es/super-nine-grid/src/search-form-number.vue.js +0 -13
- package/es/super-nine-grid/src/search-form.vue.js +0 -91
- package/es/super-nine-grid/src/search-form.vue2.js +0 -4
- package/es/super-nine-grid/src/search-methods.js +0 -48
- package/es/super-nine-grid/src/store.js +0 -4
- package/es/super-nine-grid/src/super-grid-service.js +0 -39
- package/es/super-nine-grid/src/super-nine-grid.vue.js +0 -225
- package/es/super-nine-grid/src/super-nine-grid.vue2.js +0 -4
- package/es/super-nine-grid/src/utils.js +0 -32
- package/es/svg-icon/index.js +0 -7
- package/es/svg-icon/src/svg-icon.vue.js +0 -14
- package/es/svg-icon/src/svg-icon.vue2.js +0 -4
- package/es/utils/gogocodeTransfer.js +0 -33
- package/es/utils/memory-cache-utils.js +0 -30
- package/es/utils/organization.js +0 -57
- package/es/utils/utils.js +0 -87
- package/es/utils/value-set.js +0 -94
- package/es/valid-code/index.js +0 -7
- package/es/valid-code/src/valid-code.vue.js +0 -23
- package/es/valid-code/src/valid-code.vue2.js +0 -4
- package/es/workflow-button/index.js +0 -7
- package/es/workflow-button/src/workflow-button.vue.js +0 -85
- package/es/workflow-history-list/index.js +0 -7
- package/es/workflow-history-list/src/api.js +0 -6
- package/es/workflow-history-list/src/workflow-history-list.vue.js +0 -89
- package/es/workflow-history-list/src/workflow-history-list.vue2.js +0 -4
- package/es/workgroup-tree/index.js +0 -7
- package/es/workgroup-tree/src/workgroup-tree.vue.js +0 -23
- package/es/workgroup-tree-inline/index.js +0 -7
- package/es/workgroup-tree-inline/src/search-result.vue.js +0 -39
- package/es/workgroup-tree-inline/src/search-result.vue2.js +0 -4
- package/es/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +0 -128
- package/es/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js +0 -4
- package/es/workgroup-tree-inline/src/workgroup-tree-service.js +0 -35
- package/es/workgroup-tree-mobile/index.js +0 -8
- package/es/workgroup-tree-mobile/src/dept-result.vue.js +0 -16
- package/es/workgroup-tree-mobile/src/dept-result.vue2.js +0 -4
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +0 -15
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue2.js +0 -4
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +0 -5
- package/es/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +0 -109
- package/es/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +0 -4
- package/es/workgroup-tree-mobile/src/workgroup-tree-service.js +0 -33
- package/es/workgroup-user-tree/index.js +0 -7
- package/es/workgroup-user-tree/src/workgroup-user-tree.vue.js +0 -23
- package/es/workgroup-user-tree-inline/index.js +0 -7
- package/es/workgroup-user-tree-inline/src/search-result.vue.js +0 -39
- package/es/workgroup-user-tree-inline/src/search-result.vue2.js +0 -4
- package/es/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +0 -73
- package/es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +0 -172
- package/es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.js +0 -4
- package/es/workgroup-user-tree-mobile/src/dept-path.vue.js +0 -14
- package/es/workgroup-user-tree-mobile/src/dept-path.vue2.js +0 -4
- package/es/workgroup-user-tree-mobile/src/dept-result.vue.js +0 -17
- package/es/workgroup-user-tree-mobile/src/dept-result.vue2.js +0 -4
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +0 -15
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js +0 -4
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +0 -5
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +0 -135
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +0 -4
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-service.js +0 -29
- package/es/year-range-picker/index.js +0 -7
- package/es/year-range-picker/src/year-range-picker.vue.js +0 -14
|
@@ -1,56 +1,61 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { $emit as t } from "../../utils/gogocodeTransfer.js";
|
|
2
|
+
import i from "sortablejs";
|
|
3
|
+
import { packageEnumAndBeanColumnValueSets as e } from "../../utils/value-set.js";
|
|
4
|
+
import s from "./store.js";
|
|
5
|
+
import n, { isFieldHasBranchAuth as o } from "../../src/utils/permission.js";
|
|
6
|
+
import { isHasOptionFunction as a } from "./utils.js";
|
|
7
|
+
const l = { initialize() {
|
|
3
8
|
(/* @__PURE__ */ new Date()).getTime();
|
|
4
|
-
return new Promise((t2,
|
|
9
|
+
return new Promise((t2, i2) => {
|
|
5
10
|
const n2 = s.get(this.code);
|
|
6
11
|
if (this.options.isAdministerListView)
|
|
7
12
|
this.getShowColumns(this.options.SuperGrid), Object.assign(this, this.options.SuperGrid), n2.isSql = this.isSql, n2.columns = this.columns, n2.query = this.query, n2.pagination = this.pagination, this.createBackgroundColorMap(), this.hasLoadedColumns = true, this.fetchData(null, null, null, null), t2();
|
|
8
13
|
else {
|
|
9
|
-
let
|
|
10
|
-
const
|
|
11
|
-
if (
|
|
14
|
+
let o2;
|
|
15
|
+
const l2 = window.sessionStorage.getItem("additionalParamMap");
|
|
16
|
+
if (l2 && (l2 && "object" == typeof l2 ? o2 = JSON.stringify(l2) : l2 && "" !== l2 && (o2 = l2)), this.options.additionalParamMap && "object" == typeof this.options.additionalParamMap) {
|
|
12
17
|
const t3 = JSON.stringify(this.options.additionalParamMap);
|
|
13
|
-
|
|
18
|
+
o2 ? Object.assign(o2, t3) : o2 = t3;
|
|
14
19
|
} else if (this.options.additionalParamMap && "" !== this.options.additionalParamMap) {
|
|
15
20
|
const t3 = this.options.additionalParamMap;
|
|
16
|
-
|
|
21
|
+
o2 ? Object.assign(o2, t3) : o2 = t3;
|
|
17
22
|
}
|
|
18
|
-
this.options.extraParam && this.options.extraParam.entityMap && (this.parentFormData = this.options.extraParam.entityMap), this.getListViewSetting(
|
|
23
|
+
this.options.extraParam && this.options.extraParam.entityMap && (this.parentFormData = this.options.extraParam.entityMap), this.getListViewSetting(o2).then((l3) => {
|
|
19
24
|
var _a;
|
|
20
|
-
(/* @__PURE__ */ new Date()).getTime(), this.isLoadCompleteQuery(
|
|
25
|
+
(/* @__PURE__ */ new Date()).getTime(), this.isLoadCompleteQuery(l3.columns);
|
|
21
26
|
let r = [];
|
|
22
|
-
if (r.concat(JSON.parse(JSON.stringify(
|
|
27
|
+
if (r.concat(JSON.parse(JSON.stringify(l3.columns))), l3.branchFieldsMap && Object.keys(l3.branchFieldsMap).length > 0 && l3.branchFieldsMap.allAuthFields && l3.branchFieldsMap.allAuthFields.length > 0 && (n2.branchFieldsMap = l3.branchFieldsMap), l3.columns = this.filterHasAuthColumns(l3.columns, n2, (_a = l3.basicInfo) == null ? void 0 : _a.systemCode), this.getShowColumns(l3), l3.basicInfo && s.set(this.code + "basicInfo", l3.basicInfo), this.options.pageSizes && l3.pagination) {
|
|
23
28
|
let t3 = null;
|
|
24
|
-
const
|
|
25
|
-
if (
|
|
29
|
+
const i3 = this.options.pageSizes.split(",");
|
|
30
|
+
if (i3 && i3.length > 0) {
|
|
26
31
|
t3 = [];
|
|
27
|
-
for (var h = 0; h <
|
|
28
|
-
t3.push(1 *
|
|
29
|
-
|
|
32
|
+
for (var h = 0; h < i3.length; h++)
|
|
33
|
+
t3.push(1 * i3[h]);
|
|
34
|
+
l3.pagination.pageSize = t3[0];
|
|
30
35
|
}
|
|
31
|
-
|
|
36
|
+
l3.pagination.layout = "total, sizes,prev, pager, next, jumper", l3.pagination.pageSizes = t3;
|
|
32
37
|
}
|
|
33
|
-
void 0 !== this.options.initSortInfo && (Array.isArray(this.options.initSortInfo) ?
|
|
38
|
+
void 0 !== this.options.initSortInfo && (Array.isArray(this.options.initSortInfo) ? l3.sortInfo = this.options.initSortInfo : (l3.sortInfo = [], l3.sortInfo.push(this.options.initSortInfo))), e(l3.columns, this.code, n2.additionalParamMap, this.parentFormData).then(() => this.getDynamicColumnByBean(o2, l3.dynamicColumnInfo, l3.columns, n2)).then((i3) => {
|
|
34
39
|
(/* @__PURE__ */ new Date()).getTime();
|
|
35
|
-
let
|
|
36
|
-
void 0 !== this.options.showColumns && (
|
|
37
|
-
let s2 =
|
|
40
|
+
let e2 = [];
|
|
41
|
+
void 0 !== this.options.showColumns && (e2 = this.options.showColumns.split(","));
|
|
42
|
+
let s2 = i3;
|
|
38
43
|
if (s2 && 0 !== s2.length || this.options.dynamicColumns && this.options.dynamicColumns.length > 0 && (s2 = this.options.dynamicColumns), s2 && s2.length > 0) {
|
|
39
|
-
if (r = r.concat(JSON.parse(JSON.stringify(s2))),
|
|
44
|
+
if (r = r.concat(JSON.parse(JSON.stringify(s2))), e2 && e2.length > 0)
|
|
40
45
|
for (let t3 = 0; t3 < s2.length; t3++) {
|
|
41
|
-
const
|
|
42
|
-
s2[t3].dynamic = true,
|
|
46
|
+
const i4 = s2[t3].prop;
|
|
47
|
+
s2[t3].dynamic = true, e2.indexOf(i4) >= 0 ? s2[t3].show = true : s2[t3].show = false;
|
|
43
48
|
}
|
|
44
|
-
|
|
49
|
+
l3.columns = l3.columns.concat(s2), l3.columns = l3.columns.sort((t3, i4) => t3.displayOrder - i4.displayOrder);
|
|
45
50
|
}
|
|
46
|
-
Object.assign(this,
|
|
47
|
-
let
|
|
48
|
-
|
|
51
|
+
Object.assign(this, l3), this.options && "undefined" == typeof isSqlSetting && (this.isSql = this.basicInfo.sql), n2.isSql = this.isSql, n2.allColumns = r, n2.columns = this.columns, this.packageColumnOptionMap(n2), this.judgeIsFormSubTable(), n2.colSetting = this.colSetting, n2.lineEdit = this.lineEdit, n2.basicInfo = this.basicInfo, n2.pagination = this.pagination, n2.pageContext = this.pageContext, n2.configureObj = this.configureObj, this.tableName = this.basicInfo.tableName, n2.hiddenColumns = this.options.hiddenColumns ? JSON.parse(JSON.stringify(this.options.hiddenColumns)) : [], this.pagination && (this.pageSize = this.pagination.pageSize), n2.query = this.query, n2.dynamicColumnInfo = this.dynamicColumnInfo, n2.mainDefaultValueColumns = this.mainDefaultValueColumns, n2.contextParameter = this.contextParameter, this.isShowPage = this.isShowPageArea(), this.isSubTableShowPage = !!this.isFormSubTable && this.isShowPage, n2.isSubTableShowPage = this.isSubTableShowPage, this.getDetailColumn(), this.hasLoadedColumns = true;
|
|
52
|
+
let o3 = true;
|
|
53
|
+
a("loadBeforeSend", this.code) && (o3 = n2.options.loadBeforeSend.call(this, { columns: this.columns, gridParams: n2, additionalParamMap: n2.additionalParamMap, pageContext: this.pageContext, configureObj: this.configureObj })), void 0 !== o3 && true !== o3 || this.options.isPageInfo || (void 0 === this.options.initSearch ? (void 0 === n2.basicInfo.initializationQuery || n2.basicInfo.initializationQuery) && (this.loadCompleteQuery ? this.isLoading = false : this.fetchData()) : this.options.initSearch && (this.loadCompleteQuery ? this.isLoading = false : this.fetchData())), this.createBackgroundColorMap(), t2();
|
|
49
54
|
}).catch((t3) => {
|
|
50
|
-
|
|
55
|
+
i2(t3);
|
|
51
56
|
});
|
|
52
57
|
}).catch((t3) => {
|
|
53
|
-
|
|
58
|
+
i2(t3);
|
|
54
59
|
});
|
|
55
60
|
}
|
|
56
61
|
(/* @__PURE__ */ new Date()).getTime();
|
|
@@ -61,48 +66,48 @@ const t = require("../../utils/gogocodeTransfer.js"), e = require("sortablejs"),
|
|
|
61
66
|
t2.label = this.$t("superGrid.detail"), this.detailColumn = t2, this.detailColumn;
|
|
62
67
|
}
|
|
63
68
|
}, getListViewSetting(t2) {
|
|
64
|
-
return new Promise((
|
|
69
|
+
return new Promise((i2, e2) => {
|
|
65
70
|
if (this.settings, this.settings)
|
|
66
|
-
|
|
71
|
+
i2(this.settings);
|
|
67
72
|
else {
|
|
68
73
|
let s2 = window.$vueApp.config.globalProperties.baseAPI + "/component/super-grids/" + this.code;
|
|
69
74
|
const n2 = this.options.isSql;
|
|
70
75
|
if (this.options && void 0 !== n2 && (this.isSql = n2), s2 = s2 + "?_isSql=" + n2, s2 = s2 + "&_publishVersion=" + this.publishVersion, this.options && void 0 !== this.options.isAdministerListView && this.options.isAdministerListView && (s2 = s2 + "&_isAdminister=" + this.options.isAdministerListView), t2)
|
|
71
76
|
try {
|
|
72
|
-
const
|
|
73
|
-
for (let t3 in
|
|
74
|
-
const
|
|
75
|
-
null !=
|
|
77
|
+
const i3 = JSON.parse(t2);
|
|
78
|
+
for (let t3 in i3) {
|
|
79
|
+
const e3 = i3[t3];
|
|
80
|
+
null != e3 && (Array.isArray(e3) || "object" == typeof e3 || e3 + "" == "[object Object]" || (s2 = s2 + "&" + t3 + "=" + e3));
|
|
76
81
|
}
|
|
77
82
|
} catch (t3) {
|
|
78
83
|
console.error("获得列表配置时附加参数string转换为object错误");
|
|
79
84
|
}
|
|
80
85
|
this.isLoading = true, this.$http.get(s2).then((t3) => {
|
|
81
|
-
e2(t3);
|
|
82
|
-
}).catch((t3) => {
|
|
83
86
|
i2(t3);
|
|
87
|
+
}).catch((t3) => {
|
|
88
|
+
e2(t3);
|
|
84
89
|
});
|
|
85
90
|
}
|
|
86
91
|
});
|
|
87
92
|
}, isLoadCompleteQuery(t2) {
|
|
88
93
|
if (null !== t2) {
|
|
89
|
-
let
|
|
94
|
+
let i2 = 0;
|
|
90
95
|
t2.forEach((t3) => {
|
|
91
|
-
t3.hasOwnProperty("queryType") && t3.hasOwnProperty("prop") && "$index" !== t3.prop && "$selection" !== t3.prop && t3.queryType && "no" !== t3.queryType && t3.componentType && ("date" === t3.componentType || "dateSection" === t3.componentType || "timePicker" === t3.componentType || "dateTimePicker" === t3.componentType) && t3.controlConfig && t3.controlConfig.timeDefaultQueryRange &&
|
|
92
|
-
}),
|
|
96
|
+
t3.hasOwnProperty("queryType") && t3.hasOwnProperty("prop") && "$index" !== t3.prop && "$selection" !== t3.prop && t3.queryType && "no" !== t3.queryType && t3.componentType && ("date" === t3.componentType || "dateSection" === t3.componentType || "timePicker" === t3.componentType || "dateTimePicker" === t3.componentType) && t3.controlConfig && t3.controlConfig.timeDefaultQueryRange && i2++;
|
|
97
|
+
}), i2 > 0 && (this.loadCompleteQuery = true);
|
|
93
98
|
}
|
|
94
99
|
}, packageColumnOptionMap(t2) {
|
|
95
|
-
const
|
|
96
|
-
t2.columns && t2.columns.length > 0 && this.packageColumnOptionMapItems(t2.columns,
|
|
97
|
-
}, packageColumnOptionMapItems(t2,
|
|
100
|
+
const i2 = {};
|
|
101
|
+
t2.columns && t2.columns.length > 0 && this.packageColumnOptionMapItems(t2.columns, i2), t2.columnOptionMap = i2;
|
|
102
|
+
}, packageColumnOptionMapItems(t2, i2) {
|
|
98
103
|
t2.forEach((t3) => {
|
|
99
|
-
t3.children && t3.children.length > 0 && this.packageColumnOptionMapItems(t3.children,
|
|
104
|
+
t3.children && t3.children.length > 0 && this.packageColumnOptionMapItems(t3.children, i2), t3 && t3.prop && (i2[t3.prop] = t3);
|
|
100
105
|
});
|
|
101
|
-
}, getDynamicColumnByBean(t2,
|
|
106
|
+
}, getDynamicColumnByBean(t2, i2, e2, s2) {
|
|
102
107
|
return new Promise((n2, o2) => {
|
|
103
|
-
if (s2.options.extraParam && s2.options.extraParam.entityMap && (this.parentFormData = s2.options.extraParam.entityMap), !this.options.isPageInfo &&
|
|
108
|
+
if (s2.options.extraParam && s2.options.extraParam.entityMap && (this.parentFormData = s2.options.extraParam.entityMap), !this.options.isPageInfo && i2 && i2.length > 0) {
|
|
104
109
|
const a2 = [];
|
|
105
|
-
this.getDynamicColumnByBeanWithOneSet(t2,
|
|
110
|
+
this.getDynamicColumnByBeanWithOneSet(t2, i2[0], e2, 0, i2, a2, s2).then((t3) => {
|
|
106
111
|
n2(t3);
|
|
107
112
|
}).catch((t3) => {
|
|
108
113
|
o2(t3);
|
|
@@ -110,22 +115,22 @@ const t = require("../../utils/gogocodeTransfer.js"), e = require("sortablejs"),
|
|
|
110
115
|
} else
|
|
111
116
|
n2([]);
|
|
112
117
|
});
|
|
113
|
-
}, getDynamicColumnByBeanWithOneSet(
|
|
118
|
+
}, getDynamicColumnByBeanWithOneSet(i2, e2, s2, n2, o2, a2, l2) {
|
|
114
119
|
return new Promise((r, h) => {
|
|
115
|
-
if (
|
|
116
|
-
const h2 = window.$vueApp.config.globalProperties.baseURL + "/common/dynamic-columns", p = { additionalParams:
|
|
117
|
-
if (this.parentFormData && (
|
|
118
|
-
|
|
119
|
-
if (
|
|
120
|
-
p.watchParentAttrValues || (p.watchParentAttrValues = {}), p.watchParentAttrValues[
|
|
121
|
-
const
|
|
122
|
-
|
|
120
|
+
if (e2 && e2.beanName) {
|
|
121
|
+
const h2 = window.$vueApp.config.globalProperties.baseURL + "/common/dynamic-columns", p = { additionalParams: i2, listCode: this.code, columns: s2, beanName: e2.beanName };
|
|
122
|
+
if (this.parentFormData && (l2.dynamicTemp ? (p.parent = l2.dynamicTemp.parent, p.watchParentAttrValues = l2.dynamicTemp.watchParentAttrValues) : p.parent = this.parentFormData, e2.watchParentAttr)) {
|
|
123
|
+
e2.watchParentAttr.split(",").forEach((i3) => {
|
|
124
|
+
if (i3) {
|
|
125
|
+
p.watchParentAttrValues || (p.watchParentAttrValues = {}), p.watchParentAttrValues[i3] = this.parentFormData[i3];
|
|
126
|
+
const e3 = this.$watch("parentFormData." + i3, function(s3, n3) {
|
|
127
|
+
l2.dynamicTemp || (l2.dynamicTemp = {}), l2.dynamicTemp.parent = this.parentFormData, l2.dynamicTemp.watchParentAttrValues || (l2.dynamicTemp.watchParentAttrValues = {}), l2.dynamicTemp.watchParentAttrValues[i3] = s3, this.$refs && this.$refs.superGrid && (e3(), t(this, "reload-grid"));
|
|
123
128
|
});
|
|
124
129
|
}
|
|
125
130
|
});
|
|
126
131
|
}
|
|
127
132
|
this.$http.post(h2, p).then((t2) => {
|
|
128
|
-
|
|
133
|
+
e2.dynamicColumns = t2, a2 = a2.concat(t2), n2 + 1 < o2.length ? this.getDynamicColumnByBeanWithOneSet(i2, o2[n2 + 1], s2, n2 + 1, o2, a2) : r(a2);
|
|
129
134
|
}).catch(() => {
|
|
130
135
|
r([]);
|
|
131
136
|
});
|
|
@@ -133,121 +138,123 @@ const t = require("../../utils/gogocodeTransfer.js"), e = require("sortablejs"),
|
|
|
133
138
|
r([]);
|
|
134
139
|
});
|
|
135
140
|
}, columnDrop() {
|
|
136
|
-
const
|
|
141
|
+
const e2 = this;
|
|
137
142
|
let s2 = false;
|
|
138
143
|
if (void 0 !== this.options.isDragColumnFlag && null != this.options.isDragColumn && true === this.options.isDragColumn) {
|
|
139
144
|
s2 = true;
|
|
140
145
|
const t2 = document.querySelector(".el-table__header-wrapper tr");
|
|
141
|
-
null != t2 && (this.sortable =
|
|
142
|
-
let
|
|
146
|
+
null != t2 && (this.sortable = i.create(t2, { animation: 180, delay: 0, onEnd: (t3) => {
|
|
147
|
+
let i2 = t3.oldIndex, s3 = t3.newIndex;
|
|
143
148
|
const n2 = [];
|
|
144
|
-
for (var o2 = 0; o2 <
|
|
145
|
-
"left" !==
|
|
149
|
+
for (var o2 = 0; o2 < e2.columns.length; o2++)
|
|
150
|
+
"left" !== e2.columns[o2].fixed && "right" !== e2.columns[o2].fixed || n2.push(o2);
|
|
146
151
|
if (n2 && n2.length > 0)
|
|
147
152
|
for (var a2 = 0; a2 < n2.length; a2++)
|
|
148
|
-
n2[a2] >= s3 && s3--, n2[a2] >=
|
|
149
|
-
if (null !=
|
|
150
|
-
if (
|
|
151
|
-
if (
|
|
152
|
-
const t4 =
|
|
153
|
-
for (var
|
|
154
|
-
const t5 =
|
|
155
|
-
t5.displayOrderType = "custom",
|
|
153
|
+
n2[a2] >= s3 && s3--, n2[a2] >= i2 && i2--;
|
|
154
|
+
if (null != i2 && -1 !== i2 && null != s3 && -1 !== s3) {
|
|
155
|
+
if (i2 > s3) {
|
|
156
|
+
if (e2.columns && e2.columns.length > 0) {
|
|
157
|
+
const t4 = e2.columns[i2];
|
|
158
|
+
for (var l2 = i2 - 1; l2 >= s3; l2--) {
|
|
159
|
+
const t5 = e2.columns[l2];
|
|
160
|
+
t5.displayOrderType = "custom", e2.columns[l2 + 1] = t5;
|
|
156
161
|
}
|
|
157
|
-
|
|
162
|
+
e2.columns[s3] = t4;
|
|
158
163
|
}
|
|
159
|
-
} else if (
|
|
160
|
-
const t4 =
|
|
161
|
-
for (var r =
|
|
162
|
-
const t5 =
|
|
163
|
-
t5.displayOrderType = "custom",
|
|
164
|
+
} else if (e2.columns && e2.columns.length > 0) {
|
|
165
|
+
const t4 = e2.columns[i2];
|
|
166
|
+
for (var r = i2 + 1; r <= s3; r++) {
|
|
167
|
+
const t5 = e2.columns[r];
|
|
168
|
+
t5.displayOrderType = "custom", e2.columns[r - 1] = t5;
|
|
164
169
|
}
|
|
165
|
-
|
|
170
|
+
e2.columns[s3] = t4;
|
|
166
171
|
}
|
|
167
172
|
}
|
|
168
|
-
|
|
173
|
+
e2.indexAfterTheChangeUpdateDisplayOrder(e2.columns, i2, s3, "displayOrder");
|
|
169
174
|
let h = [];
|
|
170
|
-
h =
|
|
171
|
-
const p = { listCode:
|
|
172
|
-
|
|
175
|
+
h = i2 > s3 ? e2.columns.slice(s3, i2 + 1) : e2.columns.slice(i2, s3 + 1);
|
|
176
|
+
const p = { listCode: e2.code, columns: h };
|
|
177
|
+
e2.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/super-grids/drag-columns", p).then((t4) => {
|
|
173
178
|
});
|
|
174
179
|
} }));
|
|
175
180
|
}
|
|
176
181
|
if (void 0 !== this.options.isAdministerListView && null != this.options.isAdministerListView && true === this.options.isAdministerListView && !s2) {
|
|
177
|
-
const
|
|
178
|
-
null !=
|
|
179
|
-
const
|
|
180
|
-
this.columns.splice(
|
|
182
|
+
const e3 = document.querySelector(".el-table__header-wrapper tr");
|
|
183
|
+
null != e3 && (this.sortable = i.create(e3, { animation: 180, delay: 0, onEnd: (i2) => {
|
|
184
|
+
const e4 = i2.oldIndex, s3 = i2.newIndex, n2 = this.columns[i2.oldIndex];
|
|
185
|
+
this.columns.splice(e4, 1), this.columns.splice(s3, 0, n2), t(this, "columnDrop", e4, s3);
|
|
181
186
|
} }));
|
|
182
187
|
}
|
|
183
|
-
}, indexAfterTheChangeUpdateDisplayOrder(t2,
|
|
184
|
-
if (t2 && t2.length > 0 && null !=
|
|
185
|
-
const n2 = t2[
|
|
186
|
-
if (
|
|
187
|
-
const o2 = t2[
|
|
188
|
+
}, indexAfterTheChangeUpdateDisplayOrder(t2, i2, e2, s2) {
|
|
189
|
+
if (t2 && t2.length > 0 && null != i2 && void 0 !== i2 && -1 !== i2 && null != e2 && -1 !== e2 && s2 && "" !== s2) {
|
|
190
|
+
const n2 = t2[e2];
|
|
191
|
+
if (e2 > i2) {
|
|
192
|
+
const o2 = t2[e2 - 1][s2], a2 = t2.slice(i2, e2);
|
|
188
193
|
if (a2 && a2.length > 0)
|
|
189
194
|
for (let t3 = a2.length - 1; t3 > -1; t3--) {
|
|
190
|
-
const
|
|
191
|
-
|
|
195
|
+
const i3 = a2[t3];
|
|
196
|
+
i3[s2] = 0 === t3 ? n2[s2] : a2[t3 - 1][s2];
|
|
192
197
|
}
|
|
193
198
|
n2[s2] = o2;
|
|
194
199
|
} else {
|
|
195
|
-
const o2 = t2[
|
|
200
|
+
const o2 = t2[e2 + 1][s2], a2 = t2.slice(e2 + 1, i2 + 1);
|
|
196
201
|
if (a2 && a2.length > 0)
|
|
197
202
|
for (let t3 = 0; t3 < a2.length; t3++) {
|
|
198
|
-
const
|
|
199
|
-
t3 === a2.length - 1 ?
|
|
203
|
+
const i3 = a2[t3];
|
|
204
|
+
t3 === a2.length - 1 ? i3[s2] = n2[s2] : i3[s2] = a2[t3 + 1][s2];
|
|
200
205
|
}
|
|
201
206
|
n2[s2] = o2;
|
|
202
207
|
}
|
|
203
208
|
}
|
|
204
|
-
}, getDisplayOrder: (t2,
|
|
205
|
-
let
|
|
206
|
-
if (void 0 !== this.options.showColumns && (
|
|
207
|
-
const
|
|
209
|
+
}, getDisplayOrder: (t2, i2) => t2 && void 0 !== t2.displayOrder && null !== t2.displayOrder ? t2.displayOrder : i2 + 1, getShowColumns(t2) {
|
|
210
|
+
let i2 = [];
|
|
211
|
+
if (void 0 !== this.options.showColumns && (i2 = this.options.showColumns.split(",")), i2.length > 0) {
|
|
212
|
+
const e2 = [];
|
|
208
213
|
for (let s2 = 0; s2 < t2.columns.length; s2++) {
|
|
209
214
|
const n2 = t2.columns[s2], o2 = n2.prop;
|
|
210
215
|
if ("$index" !== o2 && "$selection" !== o2)
|
|
211
216
|
if (n2.hasOwnProperty("children")) {
|
|
212
|
-
const t3 = this.getChildrenColumns(n2.children,
|
|
213
|
-
n2.children = t3, t3.length > 0 &&
|
|
217
|
+
const t3 = this.getChildrenColumns(n2.children, i2);
|
|
218
|
+
n2.children = t3, t3.length > 0 && e2.push(n2);
|
|
214
219
|
} else
|
|
215
|
-
|
|
220
|
+
i2.indexOf(o2) >= 0 && e2.push(n2);
|
|
216
221
|
else
|
|
217
|
-
|
|
222
|
+
e2.push(n2);
|
|
218
223
|
}
|
|
219
|
-
t2.columns =
|
|
224
|
+
t2.columns = e2;
|
|
220
225
|
}
|
|
221
|
-
}, getChildrenColumns(t2,
|
|
222
|
-
const
|
|
226
|
+
}, getChildrenColumns(t2, i2) {
|
|
227
|
+
const e2 = [];
|
|
223
228
|
for (let s2 = 0; s2 < t2.length; s2++) {
|
|
224
229
|
const n2 = t2[s2], o2 = n2.prop;
|
|
225
230
|
if (n2.hasOwnProperty("children")) {
|
|
226
|
-
const t3 = this.getChildrenColumns(n2.children,
|
|
227
|
-
n2.children = t3, t3.length > 0 &&
|
|
231
|
+
const t3 = this.getChildrenColumns(n2.children, i2);
|
|
232
|
+
n2.children = t3, t3.length > 0 && e2.push(n2);
|
|
228
233
|
} else
|
|
229
|
-
|
|
234
|
+
i2.indexOf(o2) >= 0 && e2.push(n2);
|
|
230
235
|
}
|
|
231
|
-
return
|
|
232
|
-
}, saveColumnWidth(t2,
|
|
233
|
-
return new Promise((
|
|
234
|
-
if (void 0 !==
|
|
235
|
-
const n2 = { prop: t2, width:
|
|
236
|
+
return e2;
|
|
237
|
+
}, saveColumnWidth(t2, i2) {
|
|
238
|
+
return new Promise((e2, s2) => {
|
|
239
|
+
if (void 0 !== i2) {
|
|
240
|
+
const n2 = { prop: t2, width: i2 + "" };
|
|
236
241
|
this.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/component/super-grids/setting-column-widths/" + this.code, n2).then((t3) => {
|
|
237
|
-
i2
|
|
242
|
+
e2(i2);
|
|
238
243
|
}).catch((t3) => {
|
|
239
244
|
s2(t3);
|
|
240
245
|
});
|
|
241
246
|
} else
|
|
242
|
-
|
|
247
|
+
e2();
|
|
243
248
|
});
|
|
244
|
-
}, filterHasAuthColumns(t2,
|
|
249
|
+
}, filterHasAuthColumns(t2, i2, e2) {
|
|
245
250
|
if (!this.pageContext || !this.configureObj)
|
|
246
251
|
return t2;
|
|
247
252
|
const s2 = this.configureObj.code ? this.configureObj.code : this.code;
|
|
248
253
|
return this.pageContext.subTablePageInfo || (this.pageContext.subTablePageInfo = {}), this.pageContext.subTablePageInfo[s2] || (this.pageContext.subTablePageInfo[s2] = {}), this.pageContext.subTablePageInfo[s2].fields = [], t2.filter((t3) => {
|
|
249
|
-
let
|
|
250
|
-
return
|
|
254
|
+
let a2 = true;
|
|
255
|
+
return i2.branchFieldsMap && (a2 = o(i2.branchFieldsMap, t3.prop)), t3.functionCode && (a2 = n(t3.functionCode, e2)), !!a2 && ("$index" !== t3.prop && "$selection" !== t3.prop && this.pageContext.subTablePageInfo[s2].fields.push(t3.prop), true);
|
|
251
256
|
});
|
|
252
257
|
} };
|
|
253
|
-
|
|
258
|
+
export {
|
|
259
|
+
l as default
|
|
260
|
+
};
|