agilebuilder-ui 1.1.65-tmp14 → 1.1.65-tmp15
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 +382 -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 +9 -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 +769 -769
- 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 +4 -5
- package/vite.config.js +10 -10
- 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,43 +1,48 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { Delete as e } from "@element-plus/icons-vue";
|
|
2
|
+
import { $emit as o } from "../../utils/gogocodeTransfer.js";
|
|
3
|
+
import { resolveComponent as s, openBlock as t, createBlock as i, withCtx as l, createElementVNode as r, createTextVNode as n, toDisplayString as a, createVNode as p, createCommentVNode as m, createElementBlock as d, Fragment as c, renderList as w } from "vue";
|
|
4
|
+
import { isPlateSys as h, getSystemFrontendUrlWith as f, getKkFilePreviewUrl as u } from "../../src/utils/common-util.js";
|
|
5
|
+
import { getToken as v } from "../../src/utils/auth.js";
|
|
6
|
+
import g from "../../_virtual/_plugin-vue_export-helper.js";
|
|
7
|
+
const N = { components: { ElIconDelete: e }, name: "ViewImageDialog", props: { fileList: { type: Array, default: function() {
|
|
3
8
|
return [];
|
|
4
9
|
} }, downloadable: { type: Boolean, default: function() {
|
|
5
10
|
return true;
|
|
6
11
|
} }, deleteable: { type: Boolean, default: function() {
|
|
7
12
|
return false;
|
|
8
13
|
} } }, data() {
|
|
9
|
-
|
|
14
|
+
v();
|
|
10
15
|
let e2 = window.$vueApp.config.globalProperties.baseURL;
|
|
11
|
-
return
|
|
12
|
-
}, methods: { changeFile(e2,
|
|
13
|
-
const
|
|
14
|
-
this.file =
|
|
16
|
+
return h(window.$vueApp.config.globalProperties.systemCode) && (e2 = window.$vueApp.config.globalProperties.baseAPI), { showName: null, serverName: null, file: null, baseUrl: e2 };
|
|
17
|
+
}, methods: { changeFile(e2, o2) {
|
|
18
|
+
const s2 = this.fileList[e2];
|
|
19
|
+
this.file = s2, this.showName = s2.showName, this.serverName = s2.serverName;
|
|
15
20
|
}, downloadFile() {
|
|
16
21
|
if (!this.showName) {
|
|
17
22
|
const e3 = this.fileList[0];
|
|
18
23
|
this.showName = e3.showName, this.serverName = e3.serverName;
|
|
19
24
|
}
|
|
20
|
-
const e2 =
|
|
21
|
-
let
|
|
22
|
-
|
|
25
|
+
const e2 = v();
|
|
26
|
+
let o2 = window.$vueApp.config.globalProperties.baseURL + "/common/super-form/downloads?jwt=" + e2;
|
|
27
|
+
h(window.$vueApp.config.globalProperties.systemCode) && (o2 = window.$vueApp.config.globalProperties.baseAPI + "/component/super-form/downloads?jwt=" + e2), window.location.href = o2 + "&showName=" + encodeURI(this.showName) + "&serverPath=" + this.serverName;
|
|
23
28
|
}, preview() {
|
|
24
29
|
if (!this.showName) {
|
|
25
30
|
const e2 = this.fileList[0];
|
|
26
31
|
this.showName = e2.showName, this.serverName = e2.serverName;
|
|
27
32
|
}
|
|
28
33
|
if (window.$vueApp.config.globalProperties.customPreviewUrl)
|
|
29
|
-
window.open(
|
|
34
|
+
window.open(f(window.$vueApp.config.globalProperties.portalUrl) + "/#/file-service/preview?serverPath=" + this.serverName + "&showName=" + encodeURI(this.showName), this.showName);
|
|
30
35
|
else {
|
|
31
|
-
const e2 =
|
|
32
|
-
let
|
|
33
|
-
const
|
|
36
|
+
const e2 = v();
|
|
37
|
+
let o2;
|
|
38
|
+
const s2 = this.showName, t2 = this.serverName;
|
|
34
39
|
if (window.$vueApp.config.globalProperties.kkFileViewUrl) {
|
|
35
|
-
const
|
|
36
|
-
|
|
37
|
-
window.open(e3,
|
|
40
|
+
const o3 = this.baseUrl + "/common/super-form/downloads?jwt=" + e2 + "&showName=" + encodeURI(s2) + "&serverPath=" + t2;
|
|
41
|
+
u(o3 + "&fullfilename=" + s2).then((e3) => {
|
|
42
|
+
window.open(e3, s2);
|
|
38
43
|
});
|
|
39
44
|
} else
|
|
40
|
-
|
|
45
|
+
o2 = this.baseUrl + "/common/fs-upload/preview?jwt=" + e2, o2 = o2 + "&showName=" + encodeURI(s2) + "&serverPath=" + t2, window.open(o2, s2);
|
|
41
46
|
}
|
|
42
47
|
}, deleteFile() {
|
|
43
48
|
let e2;
|
|
@@ -46,15 +51,17 @@ const e = require("@element-plus/icons-vue"), t = require("../../utils/gogocodeT
|
|
|
46
51
|
const e3 = this.fileList[0];
|
|
47
52
|
this.showName = e3.showName, this.serverName = e3.serverName;
|
|
48
53
|
}
|
|
49
|
-
const
|
|
54
|
+
const o2 = this.serverName;
|
|
50
55
|
e2 = this.fileList.findIndex(function(e3) {
|
|
51
|
-
return e3.serverName ===
|
|
56
|
+
return e3.serverName === o2;
|
|
52
57
|
});
|
|
53
58
|
}
|
|
54
|
-
|
|
55
|
-
} }, emits: ["close", "delete"] },
|
|
56
|
-
const
|
|
57
|
-
const
|
|
58
|
-
return
|
|
59
|
+
o(this, "delete", this.fileList, e2);
|
|
60
|
+
} }, emits: ["close", "delete"] }, b = { key: 1, style: { "text-align": "center", "margin-top": "50px" } }, y = { style: { "font-size": "18px" } }, P = { style: { "padding-top": "10px" } }, U = { style: { "padding-top": "10px" } };
|
|
61
|
+
const $ = g(N, [["render", function(e2, o2, h2, f2, u2, v2) {
|
|
62
|
+
const g2 = s("el-icon-delete"), N2 = s("el-icon"), $2 = s("el-image"), I = s("el-button"), A = s("el-carousel-item"), L = s("el-carousel"), x = s("el-dialog");
|
|
63
|
+
return t(), i(x, { "append-to-body": true, "model-value": true, "show-close": true, title: e2.$t("imatrixUIPublicModel.preview"), onClose: o2[2] || (o2[2] = (o3) => e2.$emit("close")) }, { title: l(() => [r("span", null, [n(a(e2.$t("imatrixUIPublicModel.preview")) + " ", 1), h2.deleteable ? (t(), i(N2, { key: 0, class: "el-icon-delete", style: { "padding-left": "5px", cursor: "pointer", color: "#f56c6c" }, onClick: o2[0] || (o2[0] = (e3) => v2.deleteFile()) }, { default: l(() => [p(g2)]), _: 1 })) : m("", true)])]), default: l(() => [p(L, { interval: 5e3, arrow: "always", onChange: v2.changeFile }, { default: l(() => [(t(true), d(c, null, w(h2.fileList, (s2) => (t(), i(A, { key: s2.serverName, style: { "background-color": "#eee" } }, { default: l(() => [s2.isImg ? (t(), i($2, { key: 0, "preview-src-list": [s2.src], src: s2.src }, null, 8, ["preview-src-list", "src"])) : (t(), d("div", b, [r("div", y, a(s2.showName), 1), r("div", P, a(e2.$t("superGrid.previewTitleWhenNotImg")), 1), r("div", U, [p(I, { size: "default", type: "primary", onClick: o2[1] || (o2[1] = (e3) => v2.preview()) }, { default: l(() => [n(a(e2.$t("fsUpload.preview")), 1)]), _: 1 })])]))]), _: 2 }, 1024))), 128))]), _: 1 }, 8, ["onChange"])]), _: 1 }, 8, ["title"]);
|
|
59
64
|
}]]);
|
|
60
|
-
|
|
65
|
+
export {
|
|
66
|
+
$ as default
|
|
67
|
+
};
|
package/lib/super-icon/index.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import n from "./src/index.vue.js";
|
|
2
|
+
n.install = function(o) {
|
|
3
|
+
o.component("SuperIcon", n);
|
|
4
|
+
};
|
|
5
|
+
export {
|
|
6
|
+
n as default
|
|
7
|
+
};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const r =
|
|
5
|
-
|
|
1
|
+
import e from "./index.vue2.js";
|
|
2
|
+
import "./index.vue3.js";
|
|
3
|
+
import o from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const r = o(e, [["__scopeId", "data-v-875fd31c"]]);
|
|
5
|
+
export {
|
|
6
|
+
r as default
|
|
7
|
+
};
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { defineComponent as e, ref as n, resolveComponent as o, openBlock as i, createElementBlock as c, normalizeClass as l, createBlock as a, withCtx as s, resolveDynamicComponent as u } from "vue";
|
|
2
|
+
import t from "../../svg-icon/src/svg-icon.vue.js";
|
|
3
|
+
const r = ["src"], m = ["src"], f = e({ name: "SuperIcon", props: { iconType: { type: String, default: "custom" }, iconValue: { type: String, required: true, default: "" } }, setup(e2) {
|
|
4
|
+
n(window.$vueApp.config.globalProperties.baseAPI + "/component/super-form/show-image?serverPath=");
|
|
5
|
+
const f2 = n(window.$vueApp.config.globalProperties.baseAPI + "/component/super-form/show-svg?svgName=");
|
|
6
|
+
return (n2, p) => {
|
|
7
|
+
const g = o("el-icon");
|
|
8
|
+
return 0 === e2.iconValue.indexOf("amb-icon-") ? (i(), c("i", { key: 0, class: l(["amb-iconfont", e2.iconValue]) }, null, 2)) : 0 === e2.iconValue.indexOf("amb-color-icon-") ? (i(), c("i", { key: 1, class: l(["amb-color-iconfont super-icon", e2.iconValue]) }, null, 2)) : 0 === e2.iconValue.indexOf("fa-") ? (i(), c("i", { key: 2, class: l("fa " + e2.iconValue) }, null, 2)) : 0 === e2.iconValue.indexOf("svg-img-") ? (i(), c("img", { key: 3, src: f2.value + e2.iconValue, style: { width: "1em", height: "1em" } }, null, 8, r)) : 0 === e2.iconValue.indexOf("svg-") ? (i(), a(t, { key: 4, "icon-class": e2.iconValue.substring(4) }, null, 8, ["icon-class"])) : 0 === e2.iconValue.indexOf("http") || 0 === e2.iconValue.indexOf("//") || 0 === e2.iconValue.indexOf("data:") ? (i(), c("img", { key: 5, src: e2.iconValue, style: { width: "1em", height: "1em" } }, null, 8, m)) : (i(), a(g, { key: 6 }, { default: s(() => [(i(), a(u(e2.iconValue)))]), _: 1 }));
|
|
8
9
|
};
|
|
9
10
|
} });
|
|
10
|
-
|
|
11
|
+
export {
|
|
12
|
+
f as default
|
|
13
|
+
};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
e.
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import n from "./src/super-nine-grid.vue.js";
|
|
2
|
+
n.install = function(e) {
|
|
3
|
+
e.component(n.name, n);
|
|
4
|
+
};
|
|
5
|
+
export {
|
|
6
|
+
n as default
|
|
7
|
+
};
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { $emit as e } from "../../utils/gogocodeTransfer.js";
|
|
2
|
+
import t from "./store.js";
|
|
3
|
+
const s = { refresh() {
|
|
3
4
|
return new Promise((e2, t2) => {
|
|
4
5
|
this.$refs ? this.$refs.sf ? this.search(this.$refs.sf.searchParams, true).then(() => e2()).catch((e3) => t2(e3)) : this.search(null, true).then(() => e2()).catch((e3) => t2(e3)) : e2();
|
|
5
6
|
});
|
|
6
7
|
}, showSearchForm() {
|
|
7
|
-
this.showSearch = true, e
|
|
8
|
+
this.showSearch = true, e(this, "showSearch");
|
|
8
9
|
}, cancelSearch() {
|
|
9
|
-
this.showSearch = false, e
|
|
10
|
+
this.showSearch = false, e(this, "cancelSearch");
|
|
10
11
|
}, getSearchForm() {
|
|
11
12
|
const e2 = t.get(this.storeId);
|
|
12
13
|
return e2.searchForm ? e2.searchForm : [];
|
|
@@ -30,4 +31,6 @@ const e = require("../../utils/gogocodeTransfer.js"), t = require("./store.js"),
|
|
|
30
31
|
}, getSelectionId() {
|
|
31
32
|
return this.selectionIds && this.selectionIds.length > 0 ? this.selectionIds[0] : null;
|
|
32
33
|
} };
|
|
33
|
-
|
|
34
|
+
export {
|
|
35
|
+
s as default
|
|
36
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
const
|
|
1
|
+
import { doFormat as t } from "./formatter.js";
|
|
2
|
+
const r = { isObjectProp: (t2) => t2.indexOf(".") > 0, objectPropOriginalValue(t2, r2) {
|
|
3
3
|
try {
|
|
4
4
|
let o = t2;
|
|
5
5
|
return r2.split(".").forEach((t3) => {
|
|
@@ -11,12 +11,12 @@ const t = require("./formatter.js"), r = { isObjectProp: (t2) => t2.indexOf(".")
|
|
|
11
11
|
return "";
|
|
12
12
|
}
|
|
13
13
|
}, objectPropValue(r2, o, e) {
|
|
14
|
-
return t
|
|
14
|
+
return t(o, this.objectPropOriginalValue(r2, e));
|
|
15
15
|
}, getColumnValue(r2, o) {
|
|
16
16
|
const e = o.prop;
|
|
17
17
|
let i = r2[e];
|
|
18
18
|
this.isObjectProp(e) && (i = this.objectPropOriginalValue(r2, e));
|
|
19
|
-
return { originalValue: i, formatValue: t
|
|
19
|
+
return { originalValue: i, formatValue: t(o, i) };
|
|
20
20
|
}, onClickFun(t2, r2, o, e) {
|
|
21
21
|
const i = this.getColumnValue(t2, r2);
|
|
22
22
|
o.call(this, i.originalValue, i.formatValue, t2, r2, e);
|
|
@@ -30,4 +30,6 @@ const t = require("./formatter.js"), r = { isObjectProp: (t2) => t2.indexOf(".")
|
|
|
30
30
|
}
|
|
31
31
|
return o;
|
|
32
32
|
} };
|
|
33
|
-
|
|
33
|
+
export {
|
|
34
|
+
r as default
|
|
35
|
+
};
|
|
@@ -1,36 +1,37 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
let t2 = false;
|
|
8
|
-
i = i ? parseInt(i) : 11, e2.length >= i && (t2 = true), t2 && (e2 = "" + e2, e2 = (e2 = parseFloat(e2)).toExponential());
|
|
1
|
+
const e = { number: function(e2, t2) {
|
|
2
|
+
const n = t2.precision, r = t2.delimiter, o = t2.scientific;
|
|
3
|
+
let i = t2.scientificNum;
|
|
4
|
+
if (null != e2 && (n > 0 && (e2 = (e2 = parseFloat(e2)).toFixed(n)), r && (e2 = e2.replace(/\d{1,3}(?=(\d{3})+(\.\d*)?$)/g, "$&,")), null != o)) {
|
|
5
|
+
let t3 = false;
|
|
6
|
+
i = i ? parseInt(i) : 11, e2.length >= i && (t3 = true), t3 && (e2 = "" + e2, e2 = (e2 = parseFloat(e2)).toExponential());
|
|
9
7
|
}
|
|
10
8
|
return e2;
|
|
11
|
-
}, currency: function(e2,
|
|
12
|
-
return
|
|
13
|
-
}, date: function(e2,
|
|
14
|
-
const
|
|
9
|
+
}, currency: function(e2, t2) {
|
|
10
|
+
return t2.sign + this.number(e2, t2);
|
|
11
|
+
}, date: function(e2, t2) {
|
|
12
|
+
const n = t2.format;
|
|
15
13
|
if (null != e2) {
|
|
16
|
-
const
|
|
17
|
-
var
|
|
18
|
-
return o < 10 && (o = "0" + o), i < 10 && (i = "0" + i), a < 10 && (a = "0" + a), l < 10 && (l = "0" + l),
|
|
14
|
+
const t3 = new Date(e2);
|
|
15
|
+
var r = t3.getFullYear(), o = t3.getMonth() + 1, i = t3.getDate(), a = t3.getHours(), l = t3.getMinutes(), c = t3.getSeconds();
|
|
16
|
+
return o < 10 && (o = "0" + o), i < 10 && (i = "0" + i), a < 10 && (a = "0" + a), l < 10 && (l = "0" + l), c < 10 && (c = "0" + c), n.replace("yyyy", r).replace("m", o).replace("d", i).replace("hh", a).replace("mm", l).replace("ss", c);
|
|
19
17
|
}
|
|
20
18
|
return e2;
|
|
21
|
-
}, time: function(e2,
|
|
22
|
-
return this.date(e2,
|
|
23
|
-
}, percent: function(e2,
|
|
24
|
-
return this.number(e2,
|
|
19
|
+
}, time: function(e2, t2) {
|
|
20
|
+
return this.date(e2, t2);
|
|
21
|
+
}, percent: function(e2, t2) {
|
|
22
|
+
return this.number(e2, t2) + "%";
|
|
25
23
|
} };
|
|
26
|
-
|
|
27
|
-
if (void 0 ===
|
|
28
|
-
return
|
|
29
|
-
if (void 0 !==
|
|
30
|
-
const e2 =
|
|
31
|
-
e2.length > 0 && (
|
|
24
|
+
function t(t2, n) {
|
|
25
|
+
if (void 0 === n || void 0 === t2)
|
|
26
|
+
return n;
|
|
27
|
+
if (void 0 !== t2.valueSet) {
|
|
28
|
+
const e2 = t2.valueSet.filter((e3) => e3.value === n + "");
|
|
29
|
+
e2.length > 0 && (n = e2[0].label);
|
|
32
30
|
}
|
|
33
|
-
void 0 ===
|
|
34
|
-
const
|
|
35
|
-
return void 0 !==
|
|
31
|
+
void 0 === t2.formatter && ("DATE" === t2.dataType ? t2.formatter = { type: "date", options: { format: "yyyy-m-d" } } : "TIME" === t2.dataType && (t2.formatter = { type: "time", options: { format: "yyyy-m-d hh:mm:ss" } }));
|
|
32
|
+
const r = t2.formatter;
|
|
33
|
+
return void 0 !== r && void 0 !== e[r.type] ? e[r.type](n, r.options) : n;
|
|
34
|
+
}
|
|
35
|
+
export {
|
|
36
|
+
t as doFormat
|
|
36
37
|
};
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { $emit as e } from "../../utils/gogocodeTransfer.js";
|
|
2
|
+
import { resolveComponent as l, openBlock as u, createElementBlock as n, createVNode as t, createElementVNode as r } from "vue";
|
|
3
|
+
import o from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const m = { props: { r: { type: Number, default: null }, n: { type: Number, default: null } }, data: () => ({ number1: null, number2: null }), methods: { setValue() {
|
|
5
|
+
e(this, "setValue", [this.number1, this.number2], this.r, this.n);
|
|
6
|
+
} }, emits: ["setValue"] }, a = r("span", null, "---", -1);
|
|
7
|
+
const s = o(m, [["render", function(e2, r2, o2, m2, s2, d) {
|
|
8
|
+
const i = l("el-input-number");
|
|
9
|
+
return u(), n("div", null, [t(i, { modelValue: s2.number1, "onUpdate:modelValue": r2[0] || (r2[0] = (e3) => s2.number1 = e3), onChange: r2[1] || (r2[1] = (e3) => d.setValue()) }, null, 8, ["modelValue"]), a, t(i, { modelValue: s2.number2, "onUpdate:modelValue": r2[2] || (r2[2] = (e3) => s2.number2 = e3), onChange: r2[3] || (r2[3] = (e3) => d.setValue()) }, null, 8, ["modelValue"])]);
|
|
8
10
|
}]]);
|
|
9
|
-
|
|
11
|
+
export {
|
|
12
|
+
s as default
|
|
13
|
+
};
|
|
@@ -1,23 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { $emit as e } from "../../utils/gogocodeTransfer.js";
|
|
2
|
+
import l from "./search-methods.js";
|
|
3
|
+
import o from "./search-form-number.vue.js";
|
|
4
|
+
import a from "./store.js";
|
|
5
|
+
import { addDynamicProp as t } from "./utils.js";
|
|
6
|
+
import { resolveComponent as r, openBlock as s, createBlock as n, withCtx as m, createElementBlock as u, Fragment as i, renderList as p, createVNode as c, createTextVNode as d, normalizeStyle as h, resolveDynamicComponent as f, withKeys as b, toDisplayString as N, createCommentVNode as C } from "vue";
|
|
7
|
+
import "./search-form.vue2.js";
|
|
8
|
+
import y from "../../_virtual/_plugin-vue_export-helper.js";
|
|
9
|
+
const g = { name: "SearchForm", components: { searchFormNumber: o }, props: { columns: { type: Array, default: null }, code: { type: String, default: null }, url: { type: String, default: null }, pagination: { type: Object, default: null }, query: { type: Object, default: null }, searchParam: { type: Object, default: null }, initSearchProps: { type: Array, default: null }, gridId: { type: String, default: "_nineGrid" } }, data() {
|
|
10
|
+
const e2 = this.code + "~" + this.gridId, l2 = /* @__PURE__ */ new Set(), o2 = a.get(e2);
|
|
6
11
|
let r2 = {};
|
|
7
12
|
null !== this.searchParam && (r2 = JSON.parse(JSON.stringify(this.searchParam)));
|
|
8
|
-
const
|
|
9
|
-
void 0 !== this.initSearchProps && null !== this.initSearchProps || (this.initSearchProps = []),
|
|
10
|
-
this.initSearchProps.indexOf(e3.prop) < 0 && (e3.prop.indexOf(".") > 0 ?
|
|
13
|
+
const s2 = this.getSearchableColumns();
|
|
14
|
+
void 0 !== this.initSearchProps && null !== this.initSearchProps || (this.initSearchProps = []), s2.forEach((e3) => {
|
|
15
|
+
this.initSearchProps.indexOf(e3.prop) < 0 && (e3.prop.indexOf(".") > 0 ? t(r2, e3.prop) : r2[e3.prop] = null);
|
|
11
16
|
});
|
|
12
|
-
const
|
|
13
|
-
return { searchForm: r2, rules: {}, searchParams: [], labelWidth: o2.options.search && o2.options.search.labelWidth ? o2.options.search.labelWidth : "80px", customComponentNames: l2, componentName: "", spanNum:
|
|
17
|
+
const n2 = this.getSpanNum(e2), m2 = this.getFieldNumPerRow(e2), u2 = Math.ceil(s2.length / m2);
|
|
18
|
+
return { searchForm: r2, rules: {}, searchParams: [], labelWidth: o2.options.search && o2.options.search.labelWidth ? o2.options.search.labelWidth : "80px", customComponentNames: l2, componentName: "", spanNum: n2, fieldNum: m2, rowNum: u2, loading: false, storeId: e2 };
|
|
14
19
|
}, computed: { searchableColumns() {
|
|
15
20
|
return this.getSearchableColumns();
|
|
16
21
|
} }, methods: { ...l, getColumnNumPerRow(e2, l2) {
|
|
17
22
|
let o2 = this.fieldNum;
|
|
18
23
|
return this.fieldNum * e2 > l2 && (o2 = l2 - this.fieldNum * (e2 - 1)), o2;
|
|
19
24
|
}, getFieldNumPerRow(e2) {
|
|
20
|
-
const l2 =
|
|
25
|
+
const l2 = a.get(e2);
|
|
21
26
|
return l2.options.search && l2.options.search.fieldNum ? l2.options.search.fieldNum : 4;
|
|
22
27
|
}, getSpanNum(e2) {
|
|
23
28
|
const l2 = this.getFieldNumPerRow(e2);
|
|
@@ -30,22 +35,22 @@ const n = require("../../_virtual/_plugin-vue_export-helper.js"), s = { name: "S
|
|
|
30
35
|
}, getSearchableColumns(e2, l2) {
|
|
31
36
|
this.customComponentNames || (this.customComponentNames = /* @__PURE__ */ new Set()), l2 || (l2 = []), e2 || (e2 = this.columns);
|
|
32
37
|
for (let o2 = 0; o2 < e2.length; o2++) {
|
|
33
|
-
const
|
|
34
|
-
if ("$index" !==
|
|
35
|
-
if (
|
|
36
|
-
this.getSearchableColumns(
|
|
37
|
-
else if ("normal" ===
|
|
38
|
-
if (void 0 !==
|
|
39
|
-
const e3 = JSON.parse(
|
|
40
|
-
e3.width && (
|
|
38
|
+
const a2 = e2[o2];
|
|
39
|
+
if ("$index" !== a2.prop && "$selection" !== a2.prop && !a2.dynamic) {
|
|
40
|
+
if (a2.groupHeader)
|
|
41
|
+
this.getSearchableColumns(a2.children, l2);
|
|
42
|
+
else if ("normal" === a2.queryType && !a2.custom && "" !== a2.prop) {
|
|
43
|
+
if (void 0 !== a2.componentType && "" !== a2.componentType || (a2.componentType = "input"), a2.querySetting && "" !== a2.querySetting) {
|
|
44
|
+
const e3 = JSON.parse(a2.querySetting);
|
|
45
|
+
e3.width && (a2.searchControlWidth = "width:" + e3.width + "px"), e3.labelWidth && (a2.searchLabelWidth = e3.labelWidth + "px"), e3.label && (a2.searchLabel = e3.label);
|
|
41
46
|
}
|
|
42
|
-
|
|
47
|
+
a2.componentType.indexOf("custom:") >= 0 ? (a2.componentName = a2.componentType.substring(a2.componentType.indexOf(":") + 1), this.customComponentNames.add(a2.componentName)) : a2.componentName = "", l2.push(a2);
|
|
43
48
|
}
|
|
44
49
|
}
|
|
45
50
|
}
|
|
46
51
|
return l2;
|
|
47
52
|
}, customComponent(e2) {
|
|
48
|
-
const l2 =
|
|
53
|
+
const l2 = a.get(this.storeId);
|
|
49
54
|
if (e2.componentName && "" !== e2.componentName)
|
|
50
55
|
return this.customComponentNames.add(e2.componentName), true;
|
|
51
56
|
if ((!e2.componentName || "" === e2.componentName) && l2.options && l2.options.search && l2.options.search.customSearchElements) {
|
|
@@ -62,23 +67,25 @@ const n = require("../../_virtual/_plugin-vue_export-helper.js"), s = { name: "S
|
|
|
62
67
|
this.$refs[l2].validate((l3) => {
|
|
63
68
|
if (!l3)
|
|
64
69
|
return false;
|
|
65
|
-
this.loading = true, this.searchParams = this.packageSearchParam(), e
|
|
70
|
+
this.loading = true, this.searchParams = this.packageSearchParam(), e(this, "search", this.searchParams, true);
|
|
66
71
|
});
|
|
67
72
|
}, resetForm(l2) {
|
|
68
73
|
for (const e2 of this.customComponentNames)
|
|
69
74
|
this.$refs[e2][0].resetField();
|
|
70
75
|
this.searchableColumns.forEach((e2) => {
|
|
71
|
-
e2.prop.indexOf(".") > 0 ?
|
|
72
|
-
}), e
|
|
76
|
+
e2.prop.indexOf(".") > 0 ? t(this.searchForm, e2.prop) : this.searchForm[e2.prop] = null;
|
|
77
|
+
}), e(this, "reset");
|
|
73
78
|
}, setNumberValue(e2, l2, o2) {
|
|
74
|
-
let
|
|
75
|
-
|
|
76
|
-
} }, emits: ["search", "reset"] },
|
|
77
|
-
const
|
|
78
|
-
const
|
|
79
|
-
return
|
|
79
|
+
let a2 = this.getFormItemValue(this.searchableColumns[this.fieldNum * (l2 - 1) + (o2 - 1)].prop);
|
|
80
|
+
a2 = e2, this.setValueToModelProp(this.searchableColumns[this.fieldNum * (l2 - 1) + (o2 - 1)].prop, a2);
|
|
81
|
+
} }, emits: ["search", "reset"] }, I = ["innerHTML"], T = ["innerHTML"], v = { key: 10 };
|
|
82
|
+
const M = y(g, [["render", function(e2, l2, o2, a2, t2, y2) {
|
|
83
|
+
const g2 = r("el-date-picker"), M2 = r("el-time-picker"), P = r("el-option"), F = r("el-select"), S = r("search-form-number"), x = r("el-switch"), k = r("el-slider"), V = r("el-rate"), w = r("el-input"), $ = r("el-form-item"), W = r("el-col"), O = r("el-row"), _ = r("el-button"), U = r("el-form");
|
|
84
|
+
return y2.searchableColumns.length > 0 ? (s(), n(U, { key: 0, ref: "searchForm", "label-position": o2.query.queryLabelPosition, "label-width": t2.labelWidth, model: t2.searchForm, rules: t2.rules, class: "grid-search-form", size: "default" }, { default: m(() => [(s(true), u(i, null, p(t2.rowNum, (o3) => (s(), n(O, { key: o3 }, { default: m(() => [(s(true), u(i, null, p(y2.getColumnNumPerRow(o3, y2.searchableColumns.length), (a3) => (s(), n(W, { key: a3, span: 6, style: { "margin-bottom": "10px" } }, { default: m(() => {
|
|
80
85
|
var _a;
|
|
81
|
-
return [
|
|
82
|
-
}), _: 2 }, 1024))), 128))]), _: 2 }, 1024))), 128)),
|
|
86
|
+
return [c($, { prop: y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].prop, "label-width": ((_a = y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].label.replace(/\\n/g, "</br>")) == null ? void 0 : _a.length) > 4 ? "100px" : "80px", style: { width: "90%" } }, { label: m(() => [y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].searchLabel && "" !== y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].searchLabel ? (s(), u("span", { key: 0, innerHTML: y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].searchLabel.replace(/\\n/g, "</br>") }, null, 8, I)) : (s(), u("span", { key: 1, innerHTML: y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].label.replace(/\\n/g, "</br>") }, null, 8, T)), d(": ")]), default: m(() => ["DATE" === y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].dataType || "date" === y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].componentType ? (s(), n(g2, { key: 0, "end-placeholder": e2.$t("imatrixUIMessage.endDate"), "model-value": e2.getFormItemValue(y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].prop), "range-separator": e2.$t("imatrixUIPublicModel.to"), "start-placeholder": e2.$t("imatrixUIMessage.startDate"), style: h(y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].searchControlWidth), type: "daterange", "unlink-panels": "", "value-format": "YYYY-MM-DD", onInput: (e3) => y2.setValueToModelProp(y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].prop, e3) }, null, 8, ["end-placeholder", "model-value", "range-separator", "start-placeholder", "style", "onInput"])) : "dateTimePicker" === y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].componentType ? (s(), n(g2, { key: 1, "end-placeholder": e2.$t("imatrixUIMessage.endDate"), "model-value": e2.getFormItemValue(y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].prop), "range-separator": e2.$t("imatrixUIPublicModel.to"), "start-placeholder": e2.$t("imatrixUIMessage.startDate"), style: h(y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].searchControlWidth), type: "datetimerange", "unlink-panels": "", "value-format": "YYYY-MM-DD HH:mm:ss", onInput: (e3) => y2.setValueToModelProp(y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].prop, e3) }, null, 8, ["end-placeholder", "model-value", "range-separator", "start-placeholder", "style", "onInput"])) : "TIME" === y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].dataType && "timepicker" === y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].componentType ? (s(), n(g2, { key: 2, "end-placeholder": e2.$t("imatrixUIMessage.endDate"), "model-value": e2.getFormItemValue(y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].prop), "range-separator": e2.$t("imatrixUIPublicModel.to"), "start-placeholder": e2.$t("imatrixUIMessage.startDate"), style: h(y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].searchControlWidth), type: "datetimerange", "unlink-panels": "", "value-format": "HH:mm:ss", onInput: (e3) => y2.setValueToModelProp(y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].prop, e3) }, null, 8, ["end-placeholder", "model-value", "range-separator", "start-placeholder", "style", "onInput"])) : "timepicker" === y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].componentType && "TIME" !== y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].dataType && "DATE" !== y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].dataType ? (s(), n(M2, { key: 3, "model-value": e2.getFormItemValue(y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].prop), placeholder: e2.$t("imatrixUIMessage.selectTime"), style: { width: "100%" }, type: "fixed-time", "value-format": "HH:mm:ss", onInput: (e3) => y2.setValueToModelProp(y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].prop, e3) }, null, 8, ["model-value", "placeholder", "onInput"])) : y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].componentType && "select" === y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].componentType || "BOOLEAN" === y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].dataType ? (s(), n(F, { key: 4, "model-value": e2.getFormItemValue(y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].prop), placeholder: e2.$t("imatrixUIMessage.pleaseSelect"), style: h(y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].searchControlWidth), clearable: "", onChange: (e3) => y2.setValueToModelProp(y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].prop, e3) }, { default: m(() => [(s(true), u(i, null, p(y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].valueSet, (e3) => (s(), n(P, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["model-value", "placeholder", "style", "onChange"])) : y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].componentType && "multiselect" === y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].componentType ? (s(), n(F, { key: 5, "model-value": e2.getFormItemValue(y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].prop), placeholder: e2.$t("imatrixUIMessage.pleaseSelect"), style: h(y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].searchControlWidth), clearable: "", "collapse-tags": "", multiple: "", onInput: (e3) => y2.setValueToModelProp(y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].prop, e3) }, { default: m(() => [(s(true), u(i, null, p(y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].valueSet, (e3) => (s(), n(P, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["model-value", "placeholder", "style", "onInput"])) : y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].componentType && "inputNumber" === y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].componentType ? (s(), n(S, { key: 6, n: a3, r: o3, onSetValue: y2.setNumberValue }, null, 8, ["n", "r", "onSetValue"])) : y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].componentType && "switch" === y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].componentType ? (s(), n(x, { key: 7, "model-value": e2.getFormItemValue(y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].prop), style: h(y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].searchControlWidth), "active-color": "#13ce66", "inactive-color": "#ff4949", onInput: (e3) => y2.setValueToModelProp(y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].prop, e3) }, null, 8, ["model-value", "style", "onInput"])) : y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].componentType && "slider" === y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].componentType ? (s(), n(k, { key: 8, "model-value": e2.getFormItemValue(y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].prop), style: h(y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].searchControlWidth), onInput: (e3) => y2.setValueToModelProp(y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].prop, e3) }, null, 8, ["model-value", "style", "onInput"])) : y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].componentType && "rate" === y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].componentType ? (s(), n(V, { key: 9, "model-value": e2.getFormItemValue(y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].prop), style: h(y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].searchControlWidth), onInput: (e3) => y2.setValueToModelProp(y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].prop, e3) }, null, 8, ["model-value", "style", "onInput"])) : true === y2.customComponent(y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)]) ? (s(), u("span", v, [(s(), n(f(y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].componentName), { ref_for: true, ref: y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].componentName, prop: y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].prop, value: e2.getFormItemValue(y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].prop), class: "customComponent", onInput: (e3) => y2.setValueToModelProp(y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].prop, e3) }, null, 40, ["prop", "value", "onInput"]))])) : (s(), n(w, { key: 11, "model-value": e2.getFormItemValue(y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].prop), style: h(y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].searchControlWidth), onInput: (e3) => y2.setValueToModelProp(y2.searchableColumns[t2.fieldNum * (o3 - 1) + (a3 - 1)].prop, e3), onKeyup: l2[0] || (l2[0] = b((e3) => y2.submitForm("searchForm"), ["enter"])) }, null, 8, ["model-value", "style", "onInput"]))]), _: 2 }, 1032, ["prop", "label-width"])];
|
|
87
|
+
}), _: 2 }, 1024))), 128))]), _: 2 }, 1024))), 128)), c(O, { class: "search-btn" }, { default: m(() => [c(_, { loading: t2.loading, size: "default", type: "primary", onClick: l2[1] || (l2[1] = (e3) => y2.submitForm("searchForm")) }, { default: m(() => [d(N(e2.$t("imatrixUIPublicModel.sure")), 1)]), _: 1 }, 8, ["loading"]), c(_, { loading: t2.loading, size: "default", onClick: l2[2] || (l2[2] = (e3) => y2.resetForm("searchForm")) }, { default: m(() => [d(N(e2.$t("imatrixUIPublicModel.reset")), 1)]), _: 1 }, 8, ["loading"])]), _: 1 })]), _: 1 }, 8, ["label-position", "label-width", "model", "rules"])) : C("", true);
|
|
83
88
|
}], ["__scopeId", "data-v-04817310"]]);
|
|
84
|
-
|
|
89
|
+
export {
|
|
90
|
+
M as default
|
|
91
|
+
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
const e = { packageSearchParam() {
|
|
3
2
|
const e2 = [];
|
|
4
3
|
return this.searchableColumns.forEach((t) => {
|
|
@@ -44,4 +43,6 @@ const e = { packageSearchParam() {
|
|
|
44
43
|
} else
|
|
45
44
|
void 0 === e2 || "" === e2 || null === e2 || Array.isArray(e2) || (r.propValue = e2, t.push(r));
|
|
46
45
|
} };
|
|
47
|
-
|
|
46
|
+
export {
|
|
47
|
+
e as default
|
|
48
|
+
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
const a = /* @__PURE__ */ new Map();
|
|
2
|
+
export {
|
|
3
|
+
a as default
|
|
4
|
+
};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import i from "./store.js";
|
|
2
|
+
import { packageEnumAndBeanColumnValueSets as t } from "../../utils/value-set.js";
|
|
3
|
+
import { isHasOptionFunction as s } from "./utils.js";
|
|
4
|
+
const o = { initialize() {
|
|
3
5
|
let o2 = window.$vueApp.config.globalProperties.baseAPI + "/component/super-grids/" + this.code;
|
|
4
6
|
const n = this.options.isSql;
|
|
5
7
|
this.options && void 0 !== n && (this.isSql = n), o2 = o2 + "?_isSql=" + n, o2 = o2 + "&_publishVersion=" + this.publishVersion, this.isLoading = true, this.$http.get(o2).then((o3) => {
|
|
@@ -16,10 +18,10 @@ const i = require("./store.js"), t = require("../../utils/value-set.js"), s = re
|
|
|
16
18
|
}
|
|
17
19
|
void 0 !== this.options.initSortInfo && (Array.isArray(this.options.initSortInfo) ? o3.sortInfo = this.options.initSortInfo : (o3.sortInfo = [], o3.sortInfo.push(this.options.initSortInfo))), Object.assign(this, o3);
|
|
18
20
|
const e = i.get(this.code + "~" + this.gridId);
|
|
19
|
-
t
|
|
21
|
+
t(this.columns, this.code).then(() => {
|
|
20
22
|
e.isSql = this.isSql, e.columns = this.columns, e.lineEdit = this.lineEdit, e.basicInfo = this.basicInfo, e.pagination = this.pagination, e.query = this.query, this.hasLoadedColumns = true;
|
|
21
23
|
let i2 = true;
|
|
22
|
-
s
|
|
24
|
+
s("loadBeforeSend", this.storeId) && (i2 = e.options.loadBeforeSend.call(this, { columns: this.columns, gridParams: e, additionalParamMap: e.additionalParamMap })), void 0 !== i2 && true !== i2 || void 0 !== this.options.initSearch && false === this.options.initSearch || (this.urlToSaveOrder = this.lineEdit && this.lineEdit.urlToSaveOrder ? this.lineEdit.urlToSaveOrder : null, this.fetchData().then(() => {
|
|
23
25
|
this.initSelectData();
|
|
24
26
|
}));
|
|
25
27
|
});
|
|
@@ -32,4 +34,6 @@ const i = require("./store.js"), t = require("../../utils/value-set.js"), s = re
|
|
|
32
34
|
break;
|
|
33
35
|
}
|
|
34
36
|
} };
|
|
35
|
-
|
|
37
|
+
export {
|
|
38
|
+
o as default
|
|
39
|
+
};
|