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,23 +1,36 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { CirclePlus as e, ZoomIn as t } from "@element-plus/icons-vue";
|
|
2
|
+
import { $emit as o } from "../../utils/gogocodeTransfer.js";
|
|
3
|
+
import { getColumnValues as i, getContentAlign as r, getHeaderAlign as l, getHeaderLable as a, isRequiredEdit as n } from "./utils.js";
|
|
4
|
+
import s from "./dynamic-input.vue.js";
|
|
5
|
+
import u from "./store.js";
|
|
6
|
+
import d from "./custom-formatter.js";
|
|
7
|
+
import m from "./apis.js";
|
|
8
|
+
import { mapGetters as p } from "vuex";
|
|
9
|
+
import c from "./view-image-dialog.vue.js";
|
|
10
|
+
import "../../fs-preview/index.js";
|
|
11
|
+
import h from "../../rich-editor/viewer.vue.js";
|
|
12
|
+
import f from "./components/grid-icon.vue.js";
|
|
13
|
+
import b from "./normal-column-content.vue.js";
|
|
14
|
+
import g from "./eventBus.js";
|
|
15
|
+
import { resolveComponent as w, openBlock as C, createBlock as T, withCtx as D, createElementBlock as P, normalizeClass as S, createElementVNode as F, resolveDynamicComponent as v, createVNode as y, createCommentVNode as R, normalizeStyle as E } from "vue";
|
|
16
|
+
import "./normal-column.vue2.js";
|
|
17
|
+
import x from "../../_virtual/_plugin-vue_export-helper.js";
|
|
18
|
+
import j from "../../fs-preview/src/fs-preview.vue.js";
|
|
19
|
+
const A = { components: { DynamicInput: s, ViewImageDialog: c, FsPreview: j, RichEditorViewer: h, CirclePlus: e, ElIconZoomIn: t, GridIcon: f, NormalColumnContent: b }, name: "NormalColumn", props: { column: { type: Object, default: null }, customFormat: { type: Function, default: null }, listCode: { type: String, default: null }, isSql: { type: Boolean, default: false }, newWidth: { type: Number, default: null }, dragColumnProp: { type: String, default: null }, tableName: { type: String, default: null }, pageCode: { type: String, default: null }, listName: { type: String, default: null }, currentPage: { type: Number, default: 1 }, gridData: { type: Array, default: null }, pageGridData: { type: Array, default: null }, listToolbarFormData: { type: Object, default: null } }, data() {
|
|
7
20
|
let e2;
|
|
8
|
-
const t2 =
|
|
21
|
+
const t2 = u.get(this.listCode), o2 = t2.options;
|
|
9
22
|
t2.options.extraParam && t2.options.extraParam.entityMap && (e2 = t2.options.extraParam.entityMap);
|
|
10
|
-
let
|
|
11
|
-
return this.column.controlConfig && (
|
|
23
|
+
let i2 = {};
|
|
24
|
+
return this.column.controlConfig && (i2 = JSON.parse(this.column.controlConfig)), { selectRow: null, that: this, align: "left", headerAlign: "left", isFormSubTable: false, subTableCanAdd: true, subTableCanDelete: true, isShowAdd: false, isShowDelete: false, cellWidth: null, parentFormData: e2, options: o2, controlConfig: i2 };
|
|
12
25
|
}, computed: { filters() {
|
|
13
26
|
if (this.column.filterable) {
|
|
14
|
-
const e2 =
|
|
27
|
+
const e2 = u.get(this.listCode), t2 = i(e2.gridData, this.column.prop) || [], o2 = /* @__PURE__ */ new Set(), r2 = [];
|
|
15
28
|
for (const e3 of t2)
|
|
16
|
-
|
|
17
|
-
const
|
|
18
|
-
for (const e3 of
|
|
19
|
-
|
|
20
|
-
return
|
|
29
|
+
o2.has(e3) || (o2.add(e3), r2.push(e3));
|
|
30
|
+
const l2 = [];
|
|
31
|
+
for (const e3 of r2)
|
|
32
|
+
l2.push({ text: e3, value: e3 });
|
|
33
|
+
return l2;
|
|
21
34
|
}
|
|
22
35
|
return null;
|
|
23
36
|
}, filterMethod() {
|
|
@@ -25,67 +38,69 @@ const h = require("../../_virtual/_plugin-vue_export-helper.js"), b = { componen
|
|
|
25
38
|
}, fixed() {
|
|
26
39
|
return !!this.column.fixed && (!["null", "false", "undefined"].includes(this.column.fixed) && this.column.fixed);
|
|
27
40
|
}, sortable() {
|
|
28
|
-
const e2 =
|
|
41
|
+
const e2 = u.get(this.listCode);
|
|
29
42
|
return !(e2 && e2.options && e2.options.isFormSubTable && e2.options.showOperationButton) && ("false" !== this.column.sortable && false !== this.column.sortable && "" !== this.column.sortable && (("true" === this.column.sortable || true === this.column.sortable || !!this.column.sortable) && "custom"));
|
|
30
43
|
}, lineEdit() {
|
|
31
44
|
let e2 = false;
|
|
32
45
|
if (this.listCode) {
|
|
33
|
-
const t2 =
|
|
46
|
+
const t2 = u.get(this.listCode);
|
|
34
47
|
e2 = null !== t2.lineEdit && void 0 !== t2.lineEdit && t2.lineEdit;
|
|
35
48
|
}
|
|
36
49
|
return e2;
|
|
37
|
-
}, ...
|
|
50
|
+
}, ...p(["preventReclick"]) }, watch: { isSql: { deep: true, handler(e2, t2) {
|
|
38
51
|
this.isSql = e2;
|
|
39
52
|
} }, newWidth: { deep: true, handler(e2, t2) {
|
|
40
53
|
null != e2 && this.dragColumnProp && this.dragColumnProp === this.column.prop && (this.cellWidth = e2);
|
|
41
54
|
} } }, created() {
|
|
42
55
|
this.column.width && (this.cellWidth = this.column.width - 10);
|
|
43
|
-
const e2 =
|
|
56
|
+
const e2 = u.get(this.listCode);
|
|
44
57
|
e2 && e2.options && e2.options.isFormSubTable && (this.isFormSubTable = e2.options.isFormSubTable), e2 && e2.options && (void 0 !== e2.options.subTableCanAdd && null !== e2.options.subTableCanAdd && (this.subTableCanAdd = e2.options.subTableCanAdd), void 0 !== e2.options.subTableCanDelete && null !== e2.options.subTableCanDelete && (this.subTableCanDelete = e2.options.subTableCanDelete));
|
|
45
|
-
const t2 =
|
|
58
|
+
const t2 = r(this.column, e2);
|
|
46
59
|
t2 && (this.align = t2);
|
|
47
|
-
const
|
|
48
|
-
|
|
60
|
+
const o2 = l(this.column, e2);
|
|
61
|
+
o2 && (this.headerAlign = o2), this.label = this.getHeader(), this.column.operations, this.isShowAdd = this.isFormSubTable && "operation" === this.column.prop && this.subTableCanAdd && e2.options && e2.options.showOperationButton, this.isShowDelete = this.isFormSubTable && "operation" === this.column.prop && this.subTableCanDelete && e2.options && e2.options.showOperationButton && e2.isMulitiSelect;
|
|
49
62
|
}, mounted() {
|
|
50
63
|
if ("operation" === this.column.prop) {
|
|
51
64
|
const e2 = this;
|
|
52
|
-
|
|
65
|
+
g.$on("change-add-state", (t2) => {
|
|
53
66
|
e2.isShowAdd = t2;
|
|
54
67
|
});
|
|
55
68
|
}
|
|
56
69
|
}, unmounted() {
|
|
57
|
-
|
|
58
|
-
}, methods: { ...
|
|
59
|
-
return
|
|
70
|
+
g.$off("change-add-state");
|
|
71
|
+
}, methods: { ...d, ...m, getHeader() {
|
|
72
|
+
return a(this.column);
|
|
60
73
|
}, filterHandler: (e2, t2, o2) => t2[o2.property] === e2, refresData(e2) {
|
|
61
|
-
|
|
62
|
-
}, refresPortData(e2,
|
|
63
|
-
|
|
64
|
-
}, refresPortsData(e2,
|
|
65
|
-
|
|
74
|
+
o(this, "refresData", e2);
|
|
75
|
+
}, refresPortData(e2, t2, i2) {
|
|
76
|
+
o(this, "refresPortData", e2, t2, i2);
|
|
77
|
+
}, refresPortsData(e2, t2) {
|
|
78
|
+
o(this, "refresPortsData", e2, t2);
|
|
66
79
|
}, refresMainTableFields(e2) {
|
|
67
|
-
|
|
80
|
+
o(this, "refresMainTableFields", e2);
|
|
68
81
|
}, createFormSubTableRow() {
|
|
69
82
|
this.createRow(this.listCode);
|
|
70
83
|
}, deleteFormSubTableRow() {
|
|
71
|
-
|
|
84
|
+
o(this, "batchDeleteSubTableRow");
|
|
72
85
|
}, getColumnWidth() {
|
|
73
86
|
return this.column && "operation" === this.column.prop && !this.column.width ? "210" : this.column.width ? this.column.width + "" : "130";
|
|
74
87
|
}, fnProhibitToEdit(e2) {
|
|
75
88
|
this.$refs[this.column.prop].fnProhibitToEdit(e2);
|
|
76
89
|
}, prohibitToEdit(e2) {
|
|
77
|
-
|
|
90
|
+
o(this, "prohibitToEdit", e2);
|
|
78
91
|
}, isFieldRequired() {
|
|
79
|
-
return
|
|
92
|
+
return n(this.column, this.listCode);
|
|
80
93
|
}, refreshList() {
|
|
81
94
|
this.$emit("refresh-list");
|
|
82
95
|
}, openPageEvent(e2) {
|
|
83
96
|
this.$emit("open-page", e2);
|
|
84
97
|
}, isValidateError(e2, t2) {
|
|
85
98
|
return this.isFormSubTable && e2 && e2.validateErrorField && e2.validateErrorField === this.column.prop;
|
|
86
|
-
} }, emits: ["refresData", "refresPortData", "refresPortsData", "refresMainTableFields", "prohibitToEdit", "deleteFormSubTableRow"] },
|
|
87
|
-
const
|
|
88
|
-
const
|
|
89
|
-
return
|
|
99
|
+
} }, emits: ["refresData", "refresPortData", "refresPortsData", "refresMainTableFields", "prohibitToEdit", "deleteFormSubTableRow"] }, k = ["title", "innerHTML"], M = { style: { "margin-left": "5px" } };
|
|
100
|
+
const q = x(A, [["render", function(e2, t2, o2, i2, r2, l2) {
|
|
101
|
+
const a2 = w("CirclePlus"), n2 = w("el-icon"), s2 = w("Remove"), u2 = w("NormalColumnContent"), d2 = w("el-table-column");
|
|
102
|
+
return C(), T(d2, { key: o2.column.prop, align: r2.align, "class-name": o2.column.prop, "filter-method": l2.filterMethod, filters: l2.filters, fixed: l2.fixed, "header-align": r2.headerAlign, prop: o2.column.prop, sortable: l2.sortable, "min-width": l2.getColumnWidth() }, { header: D(() => [o2.column.customHeader ? (C(), T(v(o2.column.customHeader), { key: 1, prop: o2.column.prop, parent: r2.parentFormData, "grid-data": o2.gridData, "current-page": o2.currentPage, label: e2.$escapeHtml(e2.label), column: o2.column }, null, 8, ["prop", "parent", "grid-data", "current-page", "label", "column"])) : (C(), P("span", { key: 0, class: S([{ is_req: l2.isFieldRequired() }, "normal-column-header"]) }, [F("span", { title: e2.$escapeHtml(e2.label), class: "cell--span required__label", innerHTML: e2.$escapeHtml(e2.label) }, null, 8, k)], 2)), F("span", M, [r2.isShowAdd ? (C(), T(n2, { key: 0, class: "normal-column-header normal-column-header-icon", onClick: l2.createFormSubTableRow }, { default: D(() => [y(a2)]), _: 1 }, 8, ["onClick"])) : R("", true), r2.isShowDelete ? (C(), T(n2, { key: 1, class: "normal-column-header normal-column-header-icon", onClick: l2.deleteFormSubTableRow }, { default: D(() => [y(s2)]), _: 1 }, 8, ["onClick"])) : R("", true)])]), default: D((e3) => [y(u2, { ref: o2.column.prop, "is-sql": o2.isSql, column: o2.column, "list-code": o2.listCode, "new-width": o2.newWidth, "drag-column-prop": o2.dragColumnProp, "right-click-menu-arr": r2.options.rightClickMenuArr, "table-name": o2.tableName, "page-code": o2.pageCode, "list-toolbar-form-data": o2.listToolbarFormData, "list-name": o2.listName, options: r2.options, "current-page": o2.currentPage, "grid-data": o2.gridData, "page-grid-data": o2.pageGridData, row: e3.row, "row-index": e3.$index, "line-edit": l2.lineEdit, "custom-format": o2.customFormat, class: S(l2.isValidateError(e3.row, e3.$index) ? "required_bg required-corner" : ""), style: E(l2.isValidateError(e3.row, e3.$index) ? "display:block;" : ""), onOpenPage: l2.openPageEvent, onRefresData: l2.refresData, onRefreshList: l2.refreshList, onRefresPortData: l2.refresPortData, onRefresPortsData: l2.refresPortsData, onRefresMainTableFields: l2.refresMainTableFields, onProhibitToEdit: l2.prohibitToEdit }, null, 8, ["is-sql", "column", "list-code", "new-width", "drag-column-prop", "right-click-menu-arr", "table-name", "page-code", "list-toolbar-form-data", "list-name", "options", "current-page", "grid-data", "page-grid-data", "row", "row-index", "line-edit", "custom-format", "class", "style", "onOpenPage", "onRefresData", "onRefreshList", "onRefresPortData", "onRefresPortsData", "onRefresMainTableFields", "onProhibitToEdit"])]), _: 1 }, 8, ["align", "class-name", "filter-method", "filters", "fixed", "header-align", "prop", "sortable", "min-width"]);
|
|
90
103
|
}], ["__scopeId", "data-v-562b2e0d"]]);
|
|
91
|
-
|
|
104
|
+
export {
|
|
105
|
+
q as default
|
|
106
|
+
};
|
|
@@ -1,20 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
module.exports = { clearSelection: function() {
|
|
1
|
+
const e = { clearSelection: function() {
|
|
3
2
|
this.$refs.superGrid.clearSelection();
|
|
4
|
-
}, toggleRowSelection: function(
|
|
5
|
-
this.$refs.superGrid.toggleRowSelection(
|
|
3
|
+
}, toggleRowSelection: function(e2, t) {
|
|
4
|
+
this.$refs.superGrid.toggleRowSelection(e2, t);
|
|
6
5
|
}, toggleAllSelection: function() {
|
|
7
6
|
this.$refs.superGrid.toggleAllSelection();
|
|
8
|
-
}, toggleRowExpansion: function(
|
|
9
|
-
this.$refs.superGrid.toggleRowExpansion(
|
|
10
|
-
}, setCurrentRow: function(
|
|
11
|
-
this.$refs.superGrid.setCurrentRow(
|
|
7
|
+
}, toggleRowExpansion: function(e2, t) {
|
|
8
|
+
this.$refs.superGrid.toggleRowExpansion(e2, t);
|
|
9
|
+
}, setCurrentRow: function(e2) {
|
|
10
|
+
this.$refs.superGrid.setCurrentRow(e2);
|
|
12
11
|
}, clearSort: function() {
|
|
13
12
|
this.$refs.superGrid.clearSort();
|
|
14
|
-
}, clearFilter: function(
|
|
15
|
-
this.$refs.superGrid.clearFilter(
|
|
13
|
+
}, clearFilter: function(e2) {
|
|
14
|
+
this.$refs.superGrid.clearFilter(e2);
|
|
16
15
|
}, doLayout: function() {
|
|
17
16
|
this.$refs.superGrid.doLayout();
|
|
18
|
-
}, sort: function(
|
|
19
|
-
this.$refs.superGrid.sort(
|
|
17
|
+
}, sort: function(e2, t) {
|
|
18
|
+
this.$refs.superGrid.sort(e2, t);
|
|
20
19
|
} };
|
|
20
|
+
export {
|
|
21
|
+
e as default
|
|
22
|
+
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { View as e } from "@element-plus/icons-vue";
|
|
2
|
+
import { resolveComponent as l, openBlock as t, createBlock as o, withCtx as n, createVNode as a } from "vue";
|
|
3
|
+
import i from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const r = i({ name: "RowDetail", components: { ElView: e }, props: { column: { type: Object, default: null }, listCode: { type: String, default: null } }, data() {
|
|
4
5
|
}, computed: {}, created() {
|
|
5
6
|
}, methods: { showDetail(e2) {
|
|
6
7
|
this.$emit("show-detail", e2);
|
|
7
|
-
} } }, [["render", function(e2,
|
|
8
|
-
const
|
|
9
|
-
return
|
|
8
|
+
} } }, [["render", function(e2, i2, r2, p, u, c) {
|
|
9
|
+
const m = l("ElView"), s = l("el-icon"), d = l("el-table-column");
|
|
10
|
+
return t(), o(d, { align: "center", "class-name": r2.column.prop, fixed: "left", "header-align": "center", prop: r2.column.prop, width: 80, label: r2.column.label }, { default: n((e3) => [a(s, { onClick: (l2) => c.showDetail(e3.$index) }, { default: n(() => [a(m)]), _: 2 }, 1032, ["onClick"])]), _: 1 }, 8, ["class-name", "prop", "label"]);
|
|
10
11
|
}]]);
|
|
11
|
-
|
|
12
|
+
export {
|
|
13
|
+
r as default
|
|
14
|
+
};
|
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { mapGetters as t } from "vuex";
|
|
2
|
+
import e from "./custom-formatter.js";
|
|
3
|
+
import i from "../../super-icon/src/index.vue.js";
|
|
4
|
+
import { analysisCondition as n } from "../../src/utils/util.js";
|
|
5
|
+
import o from "./store.js";
|
|
6
|
+
import { resolveComponent as s, resolveDirective as l, openBlock as a, createElementBlock as r, normalizeStyle as u, createBlock as c, withCtx as p, withDirectives as d, resolveDynamicComponent as h, mergeProps as f, normalizeClass as m, createCommentVNode as S, createTextVNode as b, toDisplayString as y } from "vue";
|
|
7
|
+
import "./row-operation.vue2.js";
|
|
8
|
+
import g from "../../_virtual/_plugin-vue_export-helper.js";
|
|
9
|
+
const x = g({ name: "RowOperation", components: { superIcon: i }, props: { editing: { type: Boolean, default: false }, isTableBtnLink: { type: [Boolean], default: false }, isShow: { type: [Boolean, Function], default: true }, onClick: { type: Function, default: function() {
|
|
10
|
+
} }, entity: { type: Object, default: null }, column: { type: Object, default: null }, rowIndex: { type: Number, default: null }, label: { type: String, default: null }, operationSetting: { type: Object, default: null }, operationIndex: { type: Number, default: null }, listCode: { type: String, default: null }, parentFormData: { type: Object, default: null }, eventName: { type: String, default: null } }, data: () => ({ elementType: "el-button", myStyle: null }), computed: { ...t(["preventReclick"]), isSaveRow() {
|
|
6
11
|
return ["lineEditSave", "saveRow"].includes(this.eventName);
|
|
7
12
|
}, isDeleteRow() {
|
|
8
13
|
return ["lineEditDelete", "deleteRow"].includes(this.eventName);
|
|
@@ -47,25 +52,25 @@ const s = require("../../_virtual/_plugin-vue_export-helper.js")({ name: "RowOpe
|
|
|
47
52
|
}, tooltipDisabled() {
|
|
48
53
|
return !this.isTextIcon || !this.label;
|
|
49
54
|
}, isTableBtnLinkShow() {
|
|
50
|
-
return !!this.operationSetting.text || !(!this.isTableBtnLink || "el-button" !== this.elementType) && [this.operationSetting.text, this.operationSetting.plain, this.operationSetting.round].every((
|
|
55
|
+
return !!this.operationSetting.text || !(!this.isTableBtnLink || "el-button" !== this.elementType) && [this.operationSetting.text, this.operationSetting.plain, this.operationSetting.round].every((t2) => void 0 === t2);
|
|
51
56
|
}, operationSettingData() {
|
|
52
|
-
const
|
|
53
|
-
return this.isTableBtnLinkShow && (
|
|
57
|
+
const t2 = { ...this.operationSetting };
|
|
58
|
+
return this.isTableBtnLinkShow && (t2.underline = false, delete t2.text), this.tooltipDisabled || delete t2.title, t2;
|
|
54
59
|
}, isElementType() {
|
|
55
60
|
return this.isTableBtnLinkShow ? "el-link" : this.elementType;
|
|
56
61
|
} }, created() {
|
|
57
62
|
this.operationSetting.elementType && "el-link" === this.operationSetting.elementType && (this.operationSetting.type = "primary"), this.operationSetting.elementType && "el-button" !== this.operationSetting.elementType || (this.operationSetting.size = "small"), this.operationSetting.style ? this.myStyle = this.operationSetting.style : 0 !== this.operationIndex && (void 0 === this.operationSetting.elementType || this.operationSetting.elementType), this.operationSetting.elementType && (this.elementType = this.operationSetting.elementType);
|
|
58
|
-
}, methods: { onClickFun(
|
|
59
|
-
|
|
63
|
+
}, methods: { onClickFun(t2) {
|
|
64
|
+
e.onClickFun(this.entity, this.column, this.onClick, this.rowIndex, t2), this.$emit("afterClick", { row: this.entity, column: this.column, rowIndex: this.rowIndex });
|
|
60
65
|
}, isShowButton() {
|
|
61
|
-
const
|
|
66
|
+
const t2 = o.get(this.listCode), i2 = e.isShowButtonFun(this.entity, this.column, this.isShow, this.rowIndex);
|
|
62
67
|
if (this.operationSetting.buttonDisplayConditionsList) {
|
|
63
|
-
const
|
|
64
|
-
if (
|
|
68
|
+
const e2 = JSON.stringify(this.operationSetting.buttonDisplayConditionsList);
|
|
69
|
+
if (t2) {
|
|
65
70
|
let i3 = null;
|
|
66
|
-
return
|
|
71
|
+
return t2.basicInfo.tableName && (i3 = t2.basicInfo.tableName), n(e2, this.entity, t2.additionalParamMap, t2.contextParameter, true, i3, this.parentFormData);
|
|
67
72
|
}
|
|
68
|
-
return n
|
|
73
|
+
return n(e2, this.entity, {}, {}, true, null, null);
|
|
69
74
|
}
|
|
70
75
|
if (i2) {
|
|
71
76
|
if (this.editing) {
|
|
@@ -75,8 +80,10 @@ const s = require("../../_virtual/_plugin-vue_export-helper.js")({ name: "RowOpe
|
|
|
75
80
|
return false;
|
|
76
81
|
}
|
|
77
82
|
return i2;
|
|
78
|
-
} } }, [["render", function(
|
|
79
|
-
const
|
|
80
|
-
return
|
|
83
|
+
} } }, [["render", function(t2, e2, i2, n2, o2, g2) {
|
|
84
|
+
const x2 = s("superIcon"), w = s("el-tooltip"), T = l("permission");
|
|
85
|
+
return a(), r("span", { style: u(o2.myStyle) }, [g2.isShowButton() ? (a(), c(w, { key: 0, disabled: g2.tooltipDisabled, content: i2.label, placement: "top" }, { default: p(() => [g2.operationSettingData.permission ? d((a(), c(h(g2.isElementType), f({ key: 0 }, g2.operationSettingData, { class: "row-operation-icon", disabled: t2.preventReclick, onMousedown: e2[0] || (e2[0] = (t3) => g2.onClickFun(g2.operationSettingData)) }), { default: p(() => [g2.prefixIcon ? (a(), c(x2, { key: 0, iconValue: g2.prefixIcon, class: m([{ "is-text-labl": !!g2.labelText }, "prefix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : S("", true), b(" " + y(g2.labelText) + " ", 1), g2.suffixIcon ? (a(), c(x2, { key: 1, iconValue: g2.suffixIcon, class: m([{ "is-text-labl": !!g2.labelText }, "suffix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : S("", true)]), _: 1 }, 16, ["disabled"])), [[T, g2.operationSettingData.permission]]) : (a(), c(h(g2.isElementType), f({ key: 1 }, g2.operationSettingData, { class: "row-operation-icon", disabled: t2.preventReclick, onMousedown: e2[1] || (e2[1] = (t3) => g2.onClickFun(g2.operationSettingData)) }), { default: p(() => [g2.prefixIcon ? (a(), c(x2, { key: 0, iconValue: g2.prefixIcon, class: m([{ "is-text-labl": !!g2.labelText }, "prefix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : S("", true), b(" " + y(g2.labelText) + " ", 1), g2.suffixIcon ? (a(), c(x2, { key: 1, iconValue: g2.suffixIcon, class: m([{ "is-text-labl": !!g2.labelText }, "suffix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : S("", true)]), _: 1 }, 16, ["disabled"]))]), _: 1 }, 8, ["disabled", "content"])) : S("", true)], 4);
|
|
81
86
|
}], ["__scopeId", "data-v-e34a61f7"]]);
|
|
82
|
-
|
|
87
|
+
export {
|
|
88
|
+
x as default
|
|
89
|
+
};
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const util = require("../../src/utils/util.js");
|
|
1
|
+
import { setEntityFieldValue } from "../../src/utils/util.js";
|
|
4
2
|
function formatScanRuleSets(e) {
|
|
5
3
|
const t = {};
|
|
6
4
|
return e.forEach((e2) => {
|
|
@@ -13,13 +11,13 @@ function packageScanRuleSets(e) {
|
|
|
13
11
|
return new Promise((t, a) => {
|
|
14
12
|
Object.keys(e).length > 0 ? window.$vueApp.config.globalProperties.$http.post(window.$vueApp.config.globalProperties.baseAPI + "/dc/setting-barcode-analysis/by-codes", Object.keys(e)).then((a2) => {
|
|
15
13
|
a2.forEach((a3) => {
|
|
16
|
-
const
|
|
14
|
+
const n = JSON.parse(a3.barcodeAnalysisOuts), s = /* @__PURE__ */ new Set(), l = {};
|
|
17
15
|
e[a3.code].outs.forEach((e2) => {
|
|
18
|
-
|
|
16
|
+
s.add(e2.returnedValue), l[e2.returnedValue] = e2.pageVariable;
|
|
19
17
|
});
|
|
20
18
|
const i2 = [];
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
n.forEach((e2) => {
|
|
20
|
+
s.has(e2.code) && (e2.pageVariable = l[e2.code], i2.push(e2));
|
|
23
21
|
}), e[a3.code].outs = i2, e[a3.code].adaptations = JSON.parse(a3.barcodeAnalysisAdaptations), t(e);
|
|
24
22
|
});
|
|
25
23
|
}) : t(null);
|
|
@@ -33,8 +31,8 @@ function analysisScanValue(scanValue, scanRuleSets) {
|
|
|
33
31
|
const scanSet = scanSets[i], adaptations = scanSet.adaptations;
|
|
34
32
|
let validStr = "";
|
|
35
33
|
for (let e = 0; e < adaptations.length; e++) {
|
|
36
|
-
const t = adaptations[e], a = _getScanIndexs(scanValue, t.startIndex, t.endIndex),
|
|
37
|
-
let l = scanValue.substring(
|
|
34
|
+
const t = adaptations[e], a = _getScanIndexs(scanValue, t.startIndex, t.endIndex), n = a[0], s = a[1];
|
|
35
|
+
let l = scanValue.substring(n, s), i2 = t.value, r = t.operate;
|
|
38
36
|
if ("times" == r) {
|
|
39
37
|
const e2 = l.split(null == i2 ? "" : i2).length - 1;
|
|
40
38
|
i2 = e2, l = t.times, r = "=";
|
|
@@ -60,28 +58,28 @@ function analysisScanValue(scanValue, scanRuleSets) {
|
|
|
60
58
|
function executeAnalysisForScan(e, t) {
|
|
61
59
|
if (!t || !e)
|
|
62
60
|
return;
|
|
63
|
-
const a = t.outs,
|
|
61
|
+
const a = t.outs, n = {};
|
|
64
62
|
return a.forEach((t2) => {
|
|
65
63
|
const a2 = t2.fieldName;
|
|
66
64
|
if (null != t2.fixedValue)
|
|
67
|
-
|
|
65
|
+
n[a2] = t2.fixedValue;
|
|
68
66
|
else {
|
|
69
|
-
let
|
|
67
|
+
let s = e;
|
|
70
68
|
if (t2.splitChar && t2.splitNum) {
|
|
71
|
-
const a3 = (t2.splitChar, t2.splitChar),
|
|
72
|
-
|
|
69
|
+
const a3 = (t2.splitChar, t2.splitChar), n2 = e.split(a3), l = t2.splitNum < 1 ? 1 : t2.splitNum;
|
|
70
|
+
s = l <= n2.length ? n2[l - 1] : "";
|
|
73
71
|
}
|
|
74
72
|
if (t2.splitChar2 && t2.splitNum2) {
|
|
75
|
-
const e2 = (t2.splitChar2, t2.splitChar2), a3 =
|
|
76
|
-
|
|
73
|
+
const e2 = (t2.splitChar2, t2.splitChar2), a3 = s.split(e2), n2 = t2.splitNum2 < 1 ? 1 : t2.splitNum2;
|
|
74
|
+
s = n2 <= a3.length ? a3[n2 - 1] : "";
|
|
77
75
|
}
|
|
78
|
-
if (
|
|
79
|
-
const e2 = _getScanIndexs(
|
|
80
|
-
|
|
76
|
+
if (s.length > 0) {
|
|
77
|
+
const e2 = _getScanIndexs(s, t2.startIndex, t2.endIndex), a3 = e2[0], n2 = e2[1];
|
|
78
|
+
s = s.substring(a3, n2);
|
|
81
79
|
}
|
|
82
|
-
|
|
80
|
+
n[a2] = s;
|
|
83
81
|
}
|
|
84
|
-
}), { value: e, params:
|
|
82
|
+
}), { value: e, params: n, scanSet: t };
|
|
85
83
|
}
|
|
86
84
|
function _getScanIndexs(e, t, a) {
|
|
87
85
|
return t = (t = (t = null == t ? 0 : t - 1) < 0 ? 0 : t) > e.length - 1 ? e.length - 1 : t, (a = (a = (a = null == a ? e.length : a) > e.length ? e.length : a) < 1 ? 1 : a) < t && (a = t), [t, a];
|
|
@@ -90,9 +88,13 @@ function setScanAnalysisValue(e, t, a) {
|
|
|
90
88
|
if (!t)
|
|
91
89
|
return;
|
|
92
90
|
t.outs.forEach((t2) => {
|
|
93
|
-
const
|
|
91
|
+
const n = t2.fieldName, s = a[n];
|
|
94
92
|
let l = t2.pageVariable;
|
|
95
|
-
l && l.indexOf("${") >= 0 && (l = l.substring(2, l.length - 1)),
|
|
93
|
+
l && l.indexOf("${") >= 0 && (l = l.substring(2, l.length - 1)), setEntityFieldValue(e, l, s);
|
|
96
94
|
});
|
|
97
95
|
}
|
|
98
|
-
|
|
96
|
+
export {
|
|
97
|
+
analysisScanValue,
|
|
98
|
+
formatScanRuleSets,
|
|
99
|
+
setScanAnalysisValue
|
|
100
|
+
};
|
|
@@ -1,18 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { $emit as e } from "../../utils/gogocodeTransfer.js";
|
|
2
|
+
import { CaretTop as t, CaretBottom as o } from "@element-plus/icons-vue";
|
|
3
|
+
import { shallowRef as i, resolveComponent as s, openBlock as n, createElementBlock as l, normalizeStyle as r, createVNode as a, withCtx as d, createTextVNode as u, toDisplayString as p, createBlock as m, createCommentVNode as c } from "vue";
|
|
4
|
+
import { isMobileBrowser as f } from "../../src/utils/common-util.js";
|
|
5
|
+
import h from "../../_virtual/_plugin-vue_export-helper.js";
|
|
6
|
+
const g = h({ name: "SearchButton", props: { isOpen: { type: Boolean, default: false }, isShowOpen: { type: Boolean, default: void 0 } }, data() {
|
|
7
|
+
const e2 = f();
|
|
8
|
+
return { isMyOpen: this.isOpen, loading: false, CaretTop: i(t), CaretBottom: i(o), isMobile: e2 };
|
|
6
9
|
}, methods: { openFold() {
|
|
7
|
-
this.isMyOpen = !this.isMyOpen, e
|
|
10
|
+
this.isMyOpen = !this.isMyOpen, e(this, "open-fold", this.isMyOpen);
|
|
8
11
|
}, submitForm() {
|
|
9
|
-
this.loading = true, e
|
|
12
|
+
this.loading = true, e(this, "submit-form");
|
|
10
13
|
}, resetForm() {
|
|
11
|
-
this.loading = true, e
|
|
14
|
+
this.loading = true, e(this, "reset-form");
|
|
12
15
|
}, searchComplete() {
|
|
13
16
|
this.loading = false;
|
|
14
|
-
} }, emits: ["save-condition", "open-fold", "submit-form", "reset-form"] }, [["render", function(e2, t2,
|
|
15
|
-
const
|
|
16
|
-
return
|
|
17
|
+
} }, emits: ["save-condition", "open-fold", "submit-form", "reset-form"] }, [["render", function(e2, t2, o2, i2, f2, h2) {
|
|
18
|
+
const g2 = s("el-button");
|
|
19
|
+
return n(), l("div", { class: "search-button", style: r({ textAlign: f2.isMobile ? "center" : "right" }) }, [a(g2, { loading: f2.loading, size: "default", class: "button--default", onClick: h2.submitForm }, { default: d(() => [u(p(e2.$t("imatrixUIPublicModel.sure")), 1)]), _: 1 }, 8, ["loading", "onClick"]), a(g2, { loading: f2.loading, class: "button--default", size: "default", onClick: h2.resetForm }, { default: d(() => [u(p(e2.$t("imatrixUIPublicModel.reset")), 1)]), _: 1 }, 8, ["loading", "onClick"]), a(g2, { class: "button--default", size: "default", onClick: t2[0] || (t2[0] = (t3) => e2.$emit("save-condition")) }, { default: d(() => [u(p(e2.$t("superGrid.saveCondition")), 1)]), _: 1 }), o2.isShowOpen ?? !f2.isMobile ? (n(), m(g2, { key: 0, icon: f2.isMyOpen ? f2.CaretTop : f2.CaretBottom, link: "", size: "default", onClick: h2.openFold }, { default: d(() => [u(p(f2.isMyOpen ? e2.$t("superGrid.fold") : e2.$t("superGrid.open")), 1)]), _: 1 }, 8, ["icon", "onClick"])) : c("", true)], 4);
|
|
17
20
|
}]]);
|
|
18
|
-
|
|
21
|
+
export {
|
|
22
|
+
g as default
|
|
23
|
+
};
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { $emit as e } from "../../utils/gogocodeTransfer.js";
|
|
2
|
+
import { resolveComponent as o, openBlock as i, createElementBlock as t, createVNode as l, withCtx as n, createElementVNode as d, createTextVNode as a, toDisplayString as r } from "vue";
|
|
3
|
+
import s from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const c = { class: "dialog-footer", style: { "padding-bottom": "10px" } };
|
|
5
|
+
const u = s({ name: "SearchConditionInput", data: () => ({ searchCondition: { conditionName: null } }), methods: { saveCondition() {
|
|
4
6
|
this.$refs.conditionForm.validate((o2) => {
|
|
5
7
|
if (!o2)
|
|
6
8
|
return false;
|
|
7
|
-
e
|
|
9
|
+
e(this, "close", this.searchCondition.conditionName);
|
|
8
10
|
});
|
|
9
|
-
} }, emits: ["open", "opend", "close", "closed", "opend", "close", "closed"] }, [["render", function(e2,
|
|
10
|
-
const
|
|
11
|
-
return
|
|
11
|
+
} }, emits: ["open", "opend", "close", "closed", "opend", "close", "closed"] }, [["render", function(e2, s2, u2, m, p, f) {
|
|
12
|
+
const C = o("el-input"), h = o("el-form-item"), $ = o("el-form"), b = o("el-button"), v = o("el-dialog");
|
|
13
|
+
return i(), t("div", null, [l(v, { "close-on-click-modal": false, title: e2.$t("superGrid.saveConditionTitle"), "append-to-body": "", "model-value": "", onClose: s2[2] || (s2[2] = (o2) => e2.$emit("close")), onClosed: s2[3] || (s2[3] = (o2) => e2.$emit("closed")), onOpen: s2[4] || (s2[4] = (o2) => e2.$emit("open")), onOpend: s2[5] || (s2[5] = (o2) => e2.$emit("opend")) }, { footer: n(() => [d("div", c, [l(b, { size: "default", onClick: s2[1] || (s2[1] = (o2) => e2.$emit("close")) }, { default: n(() => [a(r(e2.$t("imatrixUIPublicModel.cancel")), 1)]), _: 1 }), l(b, { size: "default", type: "primary", onClick: f.saveCondition }, { default: n(() => [a(r(e2.$t("imatrixUIPublicModel.sure")), 1)]), _: 1 }, 8, ["onClick"])])]), default: n(() => [l($, { ref: "conditionForm", model: p.searchCondition, "label-position": "left", "label-width": "120px", size: "default" }, { default: n(() => [l(h, { label: e2.$t("superGrid.searchConditionName"), rules: [{ required: true, message: this.$t("superGrid.pleaseInputSearchConditionName"), trigger: "blur" }], prop: "conditionName" }, { default: n(() => [l(C, { modelValue: p.searchCondition.conditionName, "onUpdate:modelValue": s2[0] || (s2[0] = (e3) => p.searchCondition.conditionName = e3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label", "rules"])]), _: 1 }, 8, ["model"])]), _: 1 }, 8, ["title"])]);
|
|
12
14
|
}]]);
|
|
13
|
-
|
|
15
|
+
export {
|
|
16
|
+
u as default
|
|
17
|
+
};
|
|
@@ -1,17 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { $emit as e } from "../../utils/gogocodeTransfer.js";
|
|
2
|
+
import { resolveComponent as o, openBlock as n, createBlock as t, withCtx as i, createElementBlock as a, Fragment as d, renderList as l } from "vue";
|
|
3
|
+
import r from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const s = r({ name: "SearchConditionList", components: {}, props: { searchConditions: { type: Array, default: null }, searchType: { type: String, default: null } }, data() {
|
|
4
5
|
let e2 = "FIXED";
|
|
5
6
|
return this.searchType && "advanced" === this.searchType && (e2 = "CUSTOM"), { pageQueryType: e2, editConditionId: null };
|
|
6
7
|
}, watch: { searchType: { deep: true, handler(e2, o2) {
|
|
7
8
|
this.searchType = e2, this.pageQueryType = "FIXED", e2 && "advanced" === e2 && (this.pageQueryType = "CUSTOM");
|
|
8
9
|
} } }, methods: { removeCondition(o2) {
|
|
9
|
-
e
|
|
10
|
+
e(this, "remove-condition", o2);
|
|
10
11
|
}, selectCondition(o2, n2) {
|
|
11
|
-
const
|
|
12
|
-
e
|
|
13
|
-
} }, emits: ["remove-condition", "select-condition"] }, [["render", function(e2,
|
|
14
|
-
const
|
|
15
|
-
return
|
|
12
|
+
const t2 = o2.props.name;
|
|
13
|
+
e(this, "select-condition", t2);
|
|
14
|
+
} }, emits: ["remove-condition", "select-condition"] }, [["render", function(e2, r2, s2, p, c, u) {
|
|
15
|
+
const y = o("el-tab-pane"), m = o("el-tabs");
|
|
16
|
+
return n(), t(m, { modelValue: c.editConditionId, "onUpdate:modelValue": r2[0] || (r2[0] = (e3) => c.editConditionId = e3), type: "card", onTabRemove: u.removeCondition, onTabClick: u.selectCondition }, { default: i(() => [(n(true), a(d, null, l(s2.searchConditions, (e3) => (n(), t(y, { key: e3.id, closable: e3.queryType === c.pageQueryType, disabled: e3.queryType !== c.pageQueryType, label: e3.name, name: e3.id + "" }, null, 8, ["closable", "disabled", "label", "name"]))), 128))]), _: 1 }, 8, ["modelValue", "onTabRemove", "onTabClick"]);
|
|
16
17
|
}]]);
|
|
17
|
-
|
|
18
|
+
export {
|
|
19
|
+
s as default
|
|
20
|
+
};
|