agilebuilder-ui 1.1.65-tmp15 → 1.1.65-tmp17
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 +5 -7
- package/lib/IntervalSelection/src/sectionDate.vue.js +17 -21
- package/lib/IntervalSelection/src/sectionDate.vue2.js +2 -4
- package/lib/_virtual/__vite-browser-external.js +2 -4
- package/lib/_virtual/_plugin-vue_export-helper.js +6 -8
- package/lib/breadcrumb/index.js +3 -5
- package/lib/breadcrumb/src/breadcrumb.vue.js +28 -19
- package/lib/breadcrumb/src/breadcrumb.vue2.js +2 -4
- package/lib/chat-embed/index.js +3 -5
- package/lib/chat-embed/src/chat-addition-data.vue.js +5 -7
- package/lib/chat-embed/src/chat-addition-data.vue2.js +11 -13
- package/lib/chat-embed/src/chat-addition-data.vue3.js +2 -4
- package/lib/chat-embed/src/chat-ai-answer-tip.vue.js +5 -7
- package/lib/chat-embed/src/chat-ai-answer-tip.vue2.js +17 -20
- package/lib/chat-embed/src/chat-ai-answer-tip.vue3.js +2 -4
- package/lib/chat-embed/src/chat-bubble-footer.vue.js +5 -7
- package/lib/chat-embed/src/chat-bubble-footer.vue2.js +17 -22
- package/lib/chat-embed/src/chat-bubble-footer.vue3.js +2 -4
- package/lib/chat-embed/src/chat-embed-message.js +14 -20
- package/lib/chat-embed/src/chat-sender.vue.js +5 -7
- package/lib/chat-embed/src/chat-sender.vue2.js +110 -123
- package/lib/chat-embed/src/chat-sender.vue3.js +2 -4
- package/lib/chat-embed/src/components/answer-auto-chart.vue.js +5 -7
- package/lib/chat-embed/src/components/answer-auto-chart.vue2.js +42 -50
- package/lib/chat-embed/src/components/answer-auto-chart.vue3.js +2 -4
- package/lib/chat-embed/src/components/answer-home-chart.vue.js +5 -7
- package/lib/chat-embed/src/components/answer-home-chart.vue2.js +3 -6
- package/lib/chat-embed/src/components/answer-home-chart.vue3.js +2 -4
- package/lib/chat-embed/src/components/answer-interaction-data.vue.js +5 -7
- package/lib/chat-embed/src/components/answer-interaction-data.vue2.js +74 -84
- package/lib/chat-embed/src/components/answer-interaction-data.vue3.js +2 -4
- package/lib/chat-embed/src/components/history-detail.vue.js +5 -7
- package/lib/chat-embed/src/components/history-detail.vue2.js +27 -32
- package/lib/chat-embed/src/components/history-detail.vue3.js +2 -4
- package/lib/chat-embed/src/header.vue.js +5 -7
- package/lib/chat-embed/src/header.vue2.js +25 -32
- package/lib/chat-embed/src/header.vue3.js +2 -4
- package/lib/chat-embed/src/index.vue.js +5 -7
- package/lib/chat-embed/src/index.vue2.js +185 -211
- package/lib/chat-embed/src/index.vue3.js +2 -4
- package/lib/chat-embed/src/recommendation-message.vue.js +5 -7
- package/lib/chat-embed/src/recommendation-message.vue2.js +5 -8
- package/lib/chat-embed/src/recommendation-message.vue3.js +2 -4
- package/lib/chat-embed/src/sidebar-item.vue.js +5 -7
- package/lib/chat-embed/src/sidebar-item.vue2.js +84 -93
- package/lib/chat-embed/src/sidebar-item.vue3.js +2 -4
- package/lib/chat-embed/src/type.js +3 -5
- package/lib/chat-embed/src/util/chat-embed-util.js +35 -41
- package/lib/chat-embed/src/util/history-message-util.js +63 -85
- package/lib/chat-embed/src/util/mcp-utils.js +5 -8
- package/lib/chat-embed/src/util/text-file-util.js +7 -11
- package/lib/chat-embed/src/voice/index.js +5 -7
- package/lib/chat-embed/src/voice/js/crypto-js.js +987 -995
- package/lib/chat-embed/src/voice/js/processor/index.umd.js +161 -169
- package/lib/chat-embed/src/voice/js/timer.js +7 -10
- package/lib/chat-embed/src/voice/voice.vue.js +61 -70
- package/lib/date-picker-range/index.js +5 -7
- package/lib/date-picker-range/index.vue.js +5 -7
- package/lib/date-picker-range/index.vue2.js +59 -63
- package/lib/date-picker-range/index.vue3.js +2 -4
- package/lib/department-tree/index.js +3 -5
- package/lib/department-tree/src/department-tree.vue.js +11 -17
- package/lib/department-tree-inline/index.js +3 -5
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue.js +17 -27
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue2.js +2 -4
- package/lib/department-tree-inline/src/department-single-tree-inline.vue.js +17 -27
- package/lib/department-tree-inline/src/department-single-tree-inline.vue2.js +2 -4
- package/lib/department-tree-inline/src/department-tree-inline.vue.js +8 -13
- package/lib/department-tree-inline/src/department-tree-service.js +8 -10
- package/lib/department-tree-inline/src/search-result.vue.js +19 -23
- package/lib/department-tree-inline/src/search-result.vue2.js +2 -4
- package/lib/department-tree-mobile/index.js +4 -7
- package/lib/department-tree-mobile/src/department-tree-app.vue.js +9 -12
- package/lib/department-tree-mobile/src/department-tree-app.vue2.js +2 -4
- package/lib/department-tree-mobile/src/department-tree-app.vue3.js +3 -5
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue.js +80 -91
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue2.js +3 -4
- package/lib/department-tree-mobile/src/department-tree-service.js +32 -42
- package/lib/department-tree-mobile/src/dept-path.vue.js +10 -11
- package/lib/department-tree-mobile/src/dept-path.vue2.js +3 -4
- package/lib/department-tree-mobile/src/dept-result.vue.js +11 -14
- package/lib/department-tree-mobile/src/dept-result.vue2.js +3 -4
- package/lib/department-user-tree/index.js +3 -5
- package/lib/department-user-tree/src/department-user-multiple-tree.vue.js +10 -14
- package/lib/department-user-tree/src/department-user-multiple-tree.vue2.js +2 -4
- package/lib/department-user-tree/src/department-user-single-tree.vue.js +9 -14
- package/lib/department-user-tree/src/department-user-tree.vue.js +14 -20
- package/lib/department-user-tree-inline/index.js +3 -5
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +17 -28
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js +2 -4
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +21 -33
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue2.js +2 -4
- package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.js +8 -13
- package/lib/department-user-tree-inline/src/department-user-tree-multi-service.js +6 -9
- package/lib/department-user-tree-inline/src/department-user-tree-single-service.js +8 -11
- package/lib/department-user-tree-inline/src/group-user/group-input.vue.js +7 -12
- package/lib/department-user-tree-inline/src/group-user/group-list.vue.js +7 -12
- package/lib/department-user-tree-inline/src/group-user/group-user.vue.js +8 -14
- package/lib/department-user-tree-inline/src/group-user-multiple-tree.vue.js +14 -20
- package/lib/department-user-tree-inline/src/group-user-single-tree.vue.js +17 -23
- package/lib/department-user-tree-inline/src/group-user-tree-service.js +2 -3
- package/lib/department-user-tree-inline/src/search-result.vue.js +12 -15
- package/lib/department-user-tree-inline/src/search-result.vue2.js +2 -4
- package/lib/department-user-tree-mobile/index.js +4 -7
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.js +9 -12
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue2.js +2 -4
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue3.js +3 -5
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +93 -104
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +3 -4
- package/lib/department-user-tree-mobile/src/department-user-tree-service.js +20 -30
- package/lib/department-user-tree-mobile/src/dept-path.vue.js +10 -11
- package/lib/department-user-tree-mobile/src/dept-path.vue2.js +3 -4
- package/lib/department-user-tree-mobile/src/dept-result.vue.js +11 -15
- package/lib/department-user-tree-mobile/src/dept-result.vue2.js +3 -4
- package/lib/directives/prevent-reclick.js +2 -3
- package/lib/dynamic-source-select/index.js +5 -7
- package/lib/dynamic-source-select/src/dynamic-source-select-service.js +13 -15
- package/lib/dynamic-source-select/src/dynamic-source-select.vue.js +173 -183
- package/lib/dynamic-source-select/src/dynamic-source-select.vue2.js +2 -4
- package/lib/dynamic-source-select/src/dynamic-source-select.vue3.js +2 -4
- package/lib/dynamic-source-select/src/events.js +2 -3
- package/lib/empty-state/index.vue.js +5 -8
- package/lib/empty-state/index.vue2.js +3 -4
- package/lib/fs-preview/index.js +5 -7
- package/lib/fs-preview/src/fs-preview.vue.js +63 -72
- package/lib/fs-preview/src/fs-preview.vue2.js +2 -4
- package/lib/fs-upload/index.js +5 -7
- package/lib/fs-upload/src/fs-upload-multi.vue.js +24 -32
- package/lib/fs-upload/src/fs-upload-single.vue.js +30 -39
- package/lib/fs-upload/src/fs-upload.vue.js +10 -16
- package/lib/fs-upload/src/see-big-picture.vue.js +8 -11
- package/lib/fs-upload-list/index.js +5 -7
- package/lib/fs-upload-list/src/fs-upload-list.vue.js +33 -40
- package/lib/fs-upload-list/src/fs-upload-list.vue2.js +2 -4
- package/lib/fs-upload-new/index.js +5 -7
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +34 -38
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +3 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +101 -109
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +3 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +5 -7
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +26 -33
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.js +2 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +27 -31
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +3 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +18 -24
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +3 -4
- package/lib/fs-upload-new/src/fs-button-upload.vue.js +5 -7
- package/lib/fs-upload-new/src/fs-button-upload.vue2.js +36 -43
- package/lib/fs-upload-new/src/fs-button-upload.vue3.js +2 -4
- package/lib/fs-upload-new/src/fs-drag-upload.vue.js +5 -7
- package/lib/fs-upload-new/src/fs-drag-upload.vue2.js +37 -45
- package/lib/fs-upload-new/src/fs-drag-upload.vue3.js +2 -4
- package/lib/fs-upload-new/src/fs-preview-new.vue.js +5 -8
- package/lib/fs-upload-new/src/fs-preview-new.vue2.js +61 -70
- package/lib/fs-upload-new/src/fs-preview-new.vue3.js +2 -4
- package/lib/fs-upload-new/src/fs-preview-new.vue4.js +2 -4
- package/lib/fs-upload-new/src/fs-upload-new.vue.js +37 -47
- package/lib/fs-upload-new/src/fs-upload-new.vue2.js +3 -4
- package/lib/hamburger/index.js +3 -5
- package/lib/hamburger/src/hamburger.vue.js +10 -14
- package/lib/hamburger/src/hamburger.vue2.js +2 -4
- package/lib/index.js +40 -382
- package/lib/json-view/json-view-dialog.vue.js +12 -15
- package/lib/json-view/json-view-dialog.vue2.js +3 -4
- package/lib/json-view/json-view.vue.js +3 -4
- package/lib/json-view/json-view.vue2.js +27 -31
- package/lib/multipart-upload/index.js +5 -7
- package/lib/multipart-upload/src/index.vue.js +7 -11
- package/lib/multipart-upload/src/multipart-upload-form.vue.js +40 -49
- package/lib/multipart-upload/src/multipart-upload-list.vue.js +59 -67
- package/lib/organization-input/index.js +5 -7
- package/lib/organization-input/src/organization-input.vue.js +31 -37
- package/lib/organization-input/src/organization-input.vue2.js +2 -4
- package/lib/plugins/export-data-new.js +96 -104
- package/lib/plugins/export-data.js +45 -51
- package/lib/plugins/index.js +4 -8
- package/lib/plugins/public-method.js +2 -3
- package/lib/remove-department/index.js +3 -5
- package/lib/remove-department/src/remove-department.vue.js +13 -19
- package/lib/remove-department/src/remove-dept-service.js +9 -10
- package/lib/remove-user/index.js +5 -7
- package/lib/remove-user/src/remove-user-service.js +3 -4
- package/lib/remove-user/src/remove-user.vue.js +16 -22
- package/lib/remove-workgroup/index.js +5 -7
- package/lib/remove-workgroup/src/remove-workgroup-service.js +3 -4
- package/lib/remove-workgroup/src/remove-workgroup.vue.js +12 -18
- package/lib/rich-editor/index.js +5 -7
- package/lib/rich-editor/index.vue.js +28 -76
- package/lib/rich-editor/tinymce/zh_CN.js +2 -2
- package/lib/rich-editor/viewer.vue.js +7 -10
- package/lib/row-form/index.js +5 -7
- package/lib/row-form/index.vue.js +5 -7
- package/lib/row-form/index.vue2.js +41 -47
- package/lib/row-form/index.vue3.js +2 -4
- package/lib/row-form/operation.vue.js +22 -26
- package/lib/row-form/operation.vue2.js +3 -4
- package/lib/scan-code-input/index.js +5 -7
- package/lib/scan-code-input/src/events.js +11 -13
- package/lib/scan-code-input/src/scan-code-input.vue.js +9 -15
- package/lib/scan-code-input-browser/index.js +5 -7
- package/lib/scan-code-input-browser/src/scan-code-input.vue.js +16 -21
- package/lib/secret-info/index.js +5 -7
- package/lib/secret-info/index.vue.js +6 -9
- package/lib/src/api/sso-service.js +34 -36
- package/lib/src/api/tab.js +8 -9
- package/lib/src/assets/401/401.gif.js +2 -4
- package/lib/src/assets/404/404-cloud.png.js +2 -4
- package/lib/src/assets/404/404.png.js +2 -4
- package/lib/src/assets/chat-embed/robot.gif.js +2 -4
- package/lib/src/assets/chat-embed/robot.svg.js +2 -4
- package/lib/src/assets/nonemessage.png.js +2 -4
- package/lib/src/components/Affix/index.vue.js +5 -7
- package/lib/src/components/Affix/index.vue2.js +56 -58
- package/lib/src/components/Affix/index.vue3.js +2 -4
- package/lib/src/components/Card/index.js +33 -38
- package/lib/src/components/Scrollbar/index.vue.js +33 -37
- package/lib/src/components/Scrollbar/index.vue2.js +2 -4
- package/lib/src/directives/permission/index.js +3 -5
- package/lib/src/directives/permission/permission.js +7 -9
- package/lib/src/i18n/i18n.js +3 -7
- package/lib/src/i18n/langs/cn.js +2 -4
- package/lib/src/i18n/langs/en.js +2 -4
- package/lib/src/mixins/resizeMixin.js +2 -3
- package/lib/src/permission.js +43 -46
- package/lib/src/router/index.js +16 -9
- package/lib/src/store/getters.js +2 -4
- package/lib/src/store/index.js +16 -13
- package/lib/src/store/modules/app.js +3 -4
- package/lib/src/store/modules/chat-ai-store.js +19 -22
- package/lib/src/store/modules/permission.js +10 -11
- package/lib/src/store/modules/system.js +7 -9
- package/lib/src/store/modules/tab-content.js +13 -15
- package/lib/src/store/modules/table.js +2 -3
- package/lib/src/store/modules/user.js +89 -95
- package/lib/src/utils/auth-api.js +3 -5
- package/lib/src/utils/auth.js +69 -139
- package/lib/src/utils/calculator/calculator-factory-wf.js +48 -49
- package/lib/src/utils/calculator/calculator-factory.js +57 -58
- package/lib/src/utils/calculator/calculator-util.js +29 -32
- package/lib/src/utils/chat-ai-util.js +17 -25
- package/lib/src/utils/common-util.js +271 -356
- package/lib/src/utils/eventBus.js +3 -6
- package/lib/src/utils/file-util.js +15 -16
- package/lib/src/utils/global-prop.js +21 -37
- package/lib/src/utils/guid.js +5 -8
- package/lib/src/utils/i18n-util.js +16 -24
- package/lib/src/utils/iconUtils.js +16 -23
- package/lib/src/utils/index.js +26 -40
- package/lib/src/utils/insert_css.js +8 -7
- package/lib/src/utils/json-util.js +25 -27
- package/lib/src/utils/jump-page-utils.js +172 -180
- package/lib/src/utils/local-storage.js +2 -3
- package/lib/src/utils/menu.js +10 -11
- package/lib/src/utils/permission.js +22 -26
- package/lib/src/utils/permissionAuth.js +102 -136
- package/lib/src/utils/range-selector.js +41 -45
- package/lib/src/utils/request.js +77 -86
- package/lib/src/utils/resize.js +5 -5
- package/lib/src/utils/restful-interface-utils.js +12 -15
- package/lib/src/utils/util.js +6 -26
- package/lib/src/utils/validate.js +10 -20
- package/lib/src/utils/voice-setting-cache.js +140 -153
- package/lib/src/utils/watermark-cache.js +9 -14
- package/lib/src/utils/watermark.js +23 -30
- package/lib/src/utils/workflow-util.js +25 -26
- package/lib/src/views/dsc-component/Sidebar/Item.vue.js +5 -7
- package/lib/src/views/dsc-component/Sidebar/Item.vue2.js +8 -11
- package/lib/src/views/dsc-component/Sidebar/Item.vue3.js +2 -4
- package/lib/src/views/dsc-component/Sidebar/Link.vue.js +9 -12
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue.js +19 -26
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue2.js +2 -4
- package/lib/src/views/dsc-component/Sidebar/index.vue.js +12 -20
- package/lib/src/views/dsc-component/tabs/tab-content.vue.js +21 -26
- package/lib/src/views/dsc-component/tabs/tab-content.vue2.js +2 -4
- package/lib/src/views/dsc-component/tabs/tab-content.vue3.js +2 -4
- package/lib/src/views/error-page/401.vue.js +9 -13
- package/lib/src/views/error-page/401.vue2.js +2 -4
- package/lib/src/views/error-page/404.vue.js +7 -11
- package/lib/src/views/error-page/404.vue2.js +2 -4
- package/lib/src/views/layout/EmptyLayout.vue.js +6 -8
- package/lib/src/views/layout/Layout.vue.js +12 -19
- package/lib/src/views/layout/Layout.vue2.js +2 -4
- package/lib/src/views/layout/NewLayout.vue.js +6 -10
- package/lib/src/views/layout/components/AppMain.vue.js +9 -11
- package/lib/src/views/layout/components/AppMain.vue2.js +2 -4
- package/lib/src/views/layout/components/Breadcrumb/index.vue.js +44 -37
- package/lib/src/views/layout/components/Breadcrumb/index.vue2.js +2 -4
- package/lib/src/views/layout/components/Menubar/Item.vue.js +5 -7
- package/lib/src/views/layout/components/Menubar/Item.vue2.js +12 -14
- package/lib/src/views/layout/components/Menubar/Item.vue3.js +2 -4
- package/lib/src/views/layout/components/Menubar/Link.vue.js +9 -12
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue.js +15 -24
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue2.js +2 -4
- package/lib/src/views/layout/components/Menubar/index.vue.js +19 -30
- package/lib/src/views/layout/components/Sidebar/Item.vue.js +6 -8
- package/lib/src/views/layout/components/Sidebar/Item.vue2.js +3 -4
- package/lib/src/views/layout/components/Sidebar/Link.vue.js +8 -11
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue.js +11 -17
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue2.js +2 -4
- package/lib/src/views/layout/components/Sidebar/index.vue.js +18 -25
- package/lib/src/views/layout/components/iframe-page.vue.js +8 -10
- package/lib/src/views/layout/components/iframe-page.vue2.js +2 -4
- package/lib/src/views/layout/components/tabs/tab-content.vue.js +10 -14
- package/lib/src/views/layout/components/tabs/tab-content.vue2.js +2 -4
- package/lib/src/views/layout/components/tabs/tab-content.vue3.js +2 -4
- package/lib/src/views/layout/mixin/ResizeHandler.js +3 -5
- package/lib/src/views/layout/tab-content-iframe-index.vue.js +8 -10
- package/lib/src/views/layout/tab-content-iframe-index.vue2.js +2 -4
- package/lib/src/views/layout/tab-content-index.vue.js +12 -18
- package/lib/src/views/layout/tab-content-index.vue2.js +2 -4
- package/lib/src/views/login/authredirect.vue.js +2 -3
- package/lib/src/views/redirect/index.vue.js +17 -8
- package/lib/src/views/svg-icon/src/svg-icon.vue.js +2 -4
- package/lib/src/views/wf-history/tache-subprocess-history.vue.js +11 -13
- package/lib/src/views/wf-history/tache-subprocess-history.vue2.js +2 -4
- package/lib/style.css +647 -647
- package/lib/super-grid/index.js +5 -7
- package/lib/super-grid/src/apis.js +221 -231
- package/lib/super-grid/src/columns-config.vue.js +16 -22
- package/lib/super-grid/src/components/grid-icon.vue.js +26 -34
- package/lib/super-grid/src/components/grid-radio-input.vue.js +15 -18
- package/lib/super-grid/src/components/grid-radio-input.vue2.js +3 -4
- package/lib/super-grid/src/components/mobile-table-card.js +73 -83
- package/lib/super-grid/src/components/select-input.vue.js +98 -106
- package/lib/super-grid/src/components/select-input.vue2.js +3 -4
- package/lib/super-grid/src/custom-formatter.js +69 -74
- package/lib/super-grid/src/dynamic-input.vue.js +142 -159
- package/lib/super-grid/src/eventBus.js +3 -6
- package/lib/super-grid/src/events.js +34 -36
- package/lib/super-grid/src/formValidatorUtil.js +62 -65
- package/lib/super-grid/src/formatter.js +36 -41
- package/lib/super-grid/src/group-column.vue.js +8 -13
- package/lib/super-grid/src/header-context-menu.vue.js +10 -13
- package/lib/super-grid/src/header-context-menu.vue2.js +2 -4
- package/lib/super-grid/src/index-column.vue.js +7 -10
- package/lib/super-grid/src/normal-column-content.vue.js +186 -205
- package/lib/super-grid/src/normal-column-content.vue2.js +2 -4
- package/lib/super-grid/src/normal-column.vue.js +40 -55
- package/lib/super-grid/src/normal-column.vue2.js +2 -4
- package/lib/super-grid/src/public-methods.js +12 -14
- package/lib/super-grid/src/row-detail.vue.js +7 -10
- package/lib/super-grid/src/row-operation.vue.js +19 -26
- package/lib/super-grid/src/row-operation.vue2.js +2 -4
- package/lib/super-grid/src/scan-util.js +24 -26
- package/lib/super-grid/src/search-button.vue.js +12 -17
- package/lib/super-grid/src/search-condition-input.vue.js +8 -12
- package/lib/super-grid/src/search-condition-list.vue.js +10 -13
- package/lib/super-grid/src/search-form-advancedQuery.vue.js +13 -23
- package/lib/super-grid/src/search-form-advancedQuery.vue2.js +2 -4
- package/lib/super-grid/src/search-form-dialog.vue.js +9 -13
- package/lib/super-grid/src/search-form-item.vue.js +16 -24
- package/lib/super-grid/src/search-form-item.vue2.js +2 -4
- package/lib/super-grid/src/search-form-mobile.vue.js +13 -22
- package/lib/super-grid/src/search-form-mobile.vue2.js +2 -4
- package/lib/super-grid/src/search-form-number.vue.js +9 -14
- package/lib/super-grid/src/search-form-open.vue.js +7 -13
- package/lib/super-grid/src/search-form-ordinarySearch.vue.js +11 -19
- package/lib/super-grid/src/search-form-ordinarySearch.vue2.js +2 -4
- package/lib/super-grid/src/search-form.vue.js +65 -77
- package/lib/super-grid/src/search-form.vue2.js +2 -4
- package/lib/super-grid/src/search-methods.js +2 -3
- package/lib/super-grid/src/selection-column.vue.js +7 -9
- package/lib/super-grid/src/store.js +3 -4
- package/lib/super-grid/src/super-grid-service.js +121 -128
- package/lib/super-grid/src/super-grid.vue.js +186 -217
- package/lib/super-grid/src/super-grid.vue2.js +2 -4
- package/lib/super-grid/src/utils.js +265 -322
- package/lib/super-grid/src/view-image-dialog.vue.js +26 -33
- package/lib/super-icon/index.js +5 -7
- package/lib/super-icon/src/index.vue.js +5 -7
- package/lib/super-icon/src/index.vue2.js +8 -11
- package/lib/super-icon/src/index.vue3.js +2 -4
- package/lib/super-nine-grid/index.js +5 -7
- package/lib/super-nine-grid/src/apis.js +5 -8
- package/lib/super-nine-grid/src/custom-formatter.js +5 -7
- package/lib/super-nine-grid/src/formatter.js +28 -29
- package/lib/super-nine-grid/src/search-form-number.vue.js +8 -12
- package/lib/super-nine-grid/src/search-form.vue.js +33 -40
- package/lib/super-nine-grid/src/search-form.vue2.js +2 -4
- package/lib/super-nine-grid/src/search-methods.js +2 -3
- package/lib/super-nine-grid/src/store.js +3 -4
- package/lib/super-nine-grid/src/super-grid-service.js +5 -9
- package/lib/super-nine-grid/src/super-nine-grid.vue.js +95 -105
- package/lib/super-nine-grid/src/super-nine-grid.vue2.js +2 -4
- package/lib/super-nine-grid/src/utils.js +31 -27
- package/lib/svg-icon/index.js +5 -7
- package/lib/svg-icon/src/svg-icon.vue.js +8 -10
- package/lib/svg-icon/src/svg-icon.vue2.js +2 -4
- package/lib/utils/gogocodeTransfer.js +23 -28
- package/lib/utils/memory-cache-utils.js +3 -5
- package/lib/utils/organization.js +40 -53
- package/lib/utils/utils.js +27 -29
- package/lib/utils/value-set.js +68 -70
- package/lib/valid-code/index.js +5 -7
- package/lib/valid-code/src/valid-code.vue.js +10 -13
- package/lib/valid-code/src/valid-code.vue2.js +2 -4
- package/lib/workflow-button/index.js +3 -5
- package/lib/workflow-button/src/workflow-button.vue.js +34 -39
- package/lib/workflow-history-list/index.js +5 -7
- package/lib/workflow-history-list/src/api.js +2 -3
- package/lib/workflow-history-list/src/workflow-history-list.vue.js +59 -65
- package/lib/workflow-history-list/src/workflow-history-list.vue2.js +2 -4
- package/lib/workgroup-tree/index.js +5 -7
- package/lib/workgroup-tree/src/workgroup-tree.vue.js +11 -17
- package/lib/workgroup-tree-inline/index.js +3 -5
- package/lib/workgroup-tree-inline/src/search-result.vue.js +21 -25
- package/lib/workgroup-tree-inline/src/search-result.vue2.js +2 -4
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +43 -52
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js +2 -4
- package/lib/workgroup-tree-inline/src/workgroup-tree-service.js +5 -7
- package/lib/workgroup-tree-mobile/index.js +5 -8
- package/lib/workgroup-tree-mobile/src/dept-result.vue.js +11 -14
- package/lib/workgroup-tree-mobile/src/dept-result.vue2.js +3 -4
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +9 -12
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue2.js +2 -4
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +3 -5
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +76 -86
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +3 -4
- package/lib/workgroup-tree-mobile/src/workgroup-tree-service.js +20 -28
- package/lib/workgroup-user-tree/index.js +5 -7
- package/lib/workgroup-user-tree/src/workgroup-user-tree.vue.js +11 -17
- package/lib/workgroup-user-tree-inline/index.js +3 -5
- package/lib/workgroup-user-tree-inline/src/search-result.vue.js +21 -25
- package/lib/workgroup-user-tree-inline/src/search-result.vue2.js +2 -4
- package/lib/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +9 -11
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +34 -43
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.js +2 -4
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue.js +10 -11
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue2.js +3 -4
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue.js +11 -15
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue2.js +3 -4
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +9 -12
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js +2 -4
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +3 -5
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +93 -104
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +3 -4
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-service.js +16 -25
- package/lib/year-range-picker/index.js +3 -5
- package/lib/year-range-picker/src/year-range-picker.vue.js +9 -12
- package/package.json +1 -3
- package/vite.config.js +22 -22
- package/dist/favicon.svg +0 -29
- package/dist/index.full.min.js +0 -16440
- package/dist/style.css +0 -3078
|
@@ -1,36 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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() {
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("@element-plus/icons-vue"), t = require("../../utils/gogocodeTransfer.js"), o = require("./utils.js"), r = require("./dynamic-input.vue.js"), i = require("./store.js"), l = require("./custom-formatter.js"), n = require("./apis.js"), a = require("vuex"), s = require("./view-image-dialog.vue.js");
|
|
3
|
+
require("../../fs-preview/index.js");
|
|
4
|
+
const u = require("../../rich-editor/viewer.vue.js"), d = require("./components/grid-icon.vue.js"), c = require("./normal-column-content.vue.js"), m = require("./eventBus.js"), p = require("vue");
|
|
5
|
+
require("./normal-column.vue2.js");
|
|
6
|
+
const h = require("../../_virtual/_plugin-vue_export-helper.js"), b = { components: { DynamicInput: r, ViewImageDialog: s, FsPreview: require("../../fs-preview/src/fs-preview.vue.js"), RichEditorViewer: u, CirclePlus: e.CirclePlus, ElIconZoomIn: e.ZoomIn, GridIcon: d, NormalColumnContent: c }, 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() {
|
|
20
7
|
let e2;
|
|
21
|
-
const t2 =
|
|
8
|
+
const t2 = i.get(this.listCode), o2 = t2.options;
|
|
22
9
|
t2.options.extraParam && t2.options.extraParam.entityMap && (e2 = t2.options.extraParam.entityMap);
|
|
23
|
-
let
|
|
24
|
-
return this.column.controlConfig && (
|
|
10
|
+
let r2 = {};
|
|
11
|
+
return this.column.controlConfig && (r2 = 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: r2 };
|
|
25
12
|
}, computed: { filters() {
|
|
26
13
|
if (this.column.filterable) {
|
|
27
|
-
const e2 =
|
|
14
|
+
const e2 = i.get(this.listCode), t2 = o.getColumnValues(e2.gridData, this.column.prop) || [], r2 = /* @__PURE__ */ new Set(), l2 = [];
|
|
28
15
|
for (const e3 of t2)
|
|
29
|
-
|
|
30
|
-
const
|
|
31
|
-
for (const e3 of
|
|
32
|
-
|
|
33
|
-
return
|
|
16
|
+
r2.has(e3) || (r2.add(e3), l2.push(e3));
|
|
17
|
+
const n2 = [];
|
|
18
|
+
for (const e3 of l2)
|
|
19
|
+
n2.push({ text: e3, value: e3 });
|
|
20
|
+
return n2;
|
|
34
21
|
}
|
|
35
22
|
return null;
|
|
36
23
|
}, filterMethod() {
|
|
@@ -38,69 +25,67 @@ const A = { components: { DynamicInput: s, ViewImageDialog: c, FsPreview: j, Ric
|
|
|
38
25
|
}, fixed() {
|
|
39
26
|
return !!this.column.fixed && (!["null", "false", "undefined"].includes(this.column.fixed) && this.column.fixed);
|
|
40
27
|
}, sortable() {
|
|
41
|
-
const e2 =
|
|
28
|
+
const e2 = i.get(this.listCode);
|
|
42
29
|
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"));
|
|
43
30
|
}, lineEdit() {
|
|
44
31
|
let e2 = false;
|
|
45
32
|
if (this.listCode) {
|
|
46
|
-
const t2 =
|
|
33
|
+
const t2 = i.get(this.listCode);
|
|
47
34
|
e2 = null !== t2.lineEdit && void 0 !== t2.lineEdit && t2.lineEdit;
|
|
48
35
|
}
|
|
49
36
|
return e2;
|
|
50
|
-
}, ...
|
|
37
|
+
}, ...a.mapGetters(["preventReclick"]) }, watch: { isSql: { deep: true, handler(e2, t2) {
|
|
51
38
|
this.isSql = e2;
|
|
52
39
|
} }, newWidth: { deep: true, handler(e2, t2) {
|
|
53
40
|
null != e2 && this.dragColumnProp && this.dragColumnProp === this.column.prop && (this.cellWidth = e2);
|
|
54
41
|
} } }, created() {
|
|
55
42
|
this.column.width && (this.cellWidth = this.column.width - 10);
|
|
56
|
-
const e2 =
|
|
43
|
+
const e2 = i.get(this.listCode);
|
|
57
44
|
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));
|
|
58
|
-
const t2 =
|
|
45
|
+
const t2 = o.getContentAlign(this.column, e2);
|
|
59
46
|
t2 && (this.align = t2);
|
|
60
|
-
const
|
|
61
|
-
|
|
47
|
+
const r2 = o.getHeaderAlign(this.column, e2);
|
|
48
|
+
r2 && (this.headerAlign = r2), 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;
|
|
62
49
|
}, mounted() {
|
|
63
50
|
if ("operation" === this.column.prop) {
|
|
64
51
|
const e2 = this;
|
|
65
|
-
|
|
52
|
+
m.$on("change-add-state", (t2) => {
|
|
66
53
|
e2.isShowAdd = t2;
|
|
67
54
|
});
|
|
68
55
|
}
|
|
69
56
|
}, unmounted() {
|
|
70
|
-
|
|
71
|
-
}, methods: { ...
|
|
72
|
-
return
|
|
57
|
+
m.$off("change-add-state");
|
|
58
|
+
}, methods: { ...l, ...n.default, getHeader() {
|
|
59
|
+
return o.getHeaderLable(this.column);
|
|
73
60
|
}, filterHandler: (e2, t2, o2) => t2[o2.property] === e2, refresData(e2) {
|
|
74
|
-
|
|
75
|
-
}, refresPortData(e2,
|
|
76
|
-
|
|
77
|
-
}, refresPortsData(e2,
|
|
78
|
-
|
|
61
|
+
t.$emit(this, "refresData", e2);
|
|
62
|
+
}, refresPortData(e2, o2, r2) {
|
|
63
|
+
t.$emit(this, "refresPortData", e2, o2, r2);
|
|
64
|
+
}, refresPortsData(e2, o2) {
|
|
65
|
+
t.$emit(this, "refresPortsData", e2, o2);
|
|
79
66
|
}, refresMainTableFields(e2) {
|
|
80
|
-
|
|
67
|
+
t.$emit(this, "refresMainTableFields", e2);
|
|
81
68
|
}, createFormSubTableRow() {
|
|
82
69
|
this.createRow(this.listCode);
|
|
83
70
|
}, deleteFormSubTableRow() {
|
|
84
|
-
|
|
71
|
+
t.$emit(this, "batchDeleteSubTableRow");
|
|
85
72
|
}, getColumnWidth() {
|
|
86
73
|
return this.column && "operation" === this.column.prop && !this.column.width ? "210" : this.column.width ? this.column.width + "" : "130";
|
|
87
74
|
}, fnProhibitToEdit(e2) {
|
|
88
75
|
this.$refs[this.column.prop].fnProhibitToEdit(e2);
|
|
89
76
|
}, prohibitToEdit(e2) {
|
|
90
|
-
|
|
77
|
+
t.$emit(this, "prohibitToEdit", e2);
|
|
91
78
|
}, isFieldRequired() {
|
|
92
|
-
return
|
|
79
|
+
return o.isRequiredEdit(this.column, this.listCode);
|
|
93
80
|
}, refreshList() {
|
|
94
81
|
this.$emit("refresh-list");
|
|
95
82
|
}, openPageEvent(e2) {
|
|
96
83
|
this.$emit("open-page", e2);
|
|
97
84
|
}, isValidateError(e2, t2) {
|
|
98
85
|
return this.isFormSubTable && e2 && e2.validateErrorField && e2.validateErrorField === this.column.prop;
|
|
99
|
-
} }, emits: ["refresData", "refresPortData", "refresPortsData", "refresMainTableFields", "prohibitToEdit", "deleteFormSubTableRow"] },
|
|
100
|
-
const
|
|
101
|
-
const
|
|
102
|
-
return
|
|
86
|
+
} }, emits: ["refresData", "refresPortData", "refresPortsData", "refresMainTableFields", "prohibitToEdit", "deleteFormSubTableRow"] }, f = ["title", "innerHTML"], g = { style: { "margin-left": "5px" } };
|
|
87
|
+
const C = h(b, [["render", function(e2, t2, o2, r2, i2, l2) {
|
|
88
|
+
const n2 = p.resolveComponent("CirclePlus"), a2 = p.resolveComponent("el-icon"), s2 = p.resolveComponent("Remove"), u2 = p.resolveComponent("NormalColumnContent"), d2 = p.resolveComponent("el-table-column");
|
|
89
|
+
return p.openBlock(), p.createBlock(d2, { key: o2.column.prop, align: i2.align, "class-name": o2.column.prop, "filter-method": l2.filterMethod, filters: l2.filters, fixed: l2.fixed, "header-align": i2.headerAlign, prop: o2.column.prop, sortable: l2.sortable, "min-width": l2.getColumnWidth() }, { header: p.withCtx(() => [o2.column.customHeader ? (p.openBlock(), p.createBlock(p.resolveDynamicComponent(o2.column.customHeader), { key: 1, prop: o2.column.prop, parent: i2.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"])) : (p.openBlock(), p.createElementBlock("span", { key: 0, class: p.normalizeClass([{ is_req: l2.isFieldRequired() }, "normal-column-header"]) }, [p.createElementVNode("span", { title: e2.$escapeHtml(e2.label), class: "cell--span required__label", innerHTML: e2.$escapeHtml(e2.label) }, null, 8, f)], 2)), p.createElementVNode("span", g, [i2.isShowAdd ? (p.openBlock(), p.createBlock(a2, { key: 0, class: "normal-column-header normal-column-header-icon", onClick: l2.createFormSubTableRow }, { default: p.withCtx(() => [p.createVNode(n2)]), _: 1 }, 8, ["onClick"])) : p.createCommentVNode("", true), i2.isShowDelete ? (p.openBlock(), p.createBlock(a2, { key: 1, class: "normal-column-header normal-column-header-icon", onClick: l2.deleteFormSubTableRow }, { default: p.withCtx(() => [p.createVNode(s2)]), _: 1 }, 8, ["onClick"])) : p.createCommentVNode("", true)])]), default: p.withCtx((e3) => [p.createVNode(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": i2.options.rightClickMenuArr, "table-name": o2.tableName, "page-code": o2.pageCode, "list-toolbar-form-data": o2.listToolbarFormData, "list-name": o2.listName, options: i2.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: p.normalizeClass(l2.isValidateError(e3.row, e3.$index) ? "required_bg required-corner" : ""), style: p.normalizeStyle(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"]);
|
|
103
90
|
}], ["__scopeId", "data-v-562b2e0d"]]);
|
|
104
|
-
|
|
105
|
-
q as default
|
|
106
|
-
};
|
|
91
|
+
module.exports = C;
|
|
@@ -1,22 +1,20 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
module.exports = { clearSelection: function() {
|
|
2
3
|
this.$refs.superGrid.clearSelection();
|
|
3
|
-
}, toggleRowSelection: function(
|
|
4
|
-
this.$refs.superGrid.toggleRowSelection(
|
|
4
|
+
}, toggleRowSelection: function(e, r) {
|
|
5
|
+
this.$refs.superGrid.toggleRowSelection(e, r);
|
|
5
6
|
}, toggleAllSelection: function() {
|
|
6
7
|
this.$refs.superGrid.toggleAllSelection();
|
|
7
|
-
}, toggleRowExpansion: function(
|
|
8
|
-
this.$refs.superGrid.toggleRowExpansion(
|
|
9
|
-
}, setCurrentRow: function(
|
|
10
|
-
this.$refs.superGrid.setCurrentRow(
|
|
8
|
+
}, toggleRowExpansion: function(e, r) {
|
|
9
|
+
this.$refs.superGrid.toggleRowExpansion(e, r);
|
|
10
|
+
}, setCurrentRow: function(e) {
|
|
11
|
+
this.$refs.superGrid.setCurrentRow(e);
|
|
11
12
|
}, clearSort: function() {
|
|
12
13
|
this.$refs.superGrid.clearSort();
|
|
13
|
-
}, clearFilter: function(
|
|
14
|
-
this.$refs.superGrid.clearFilter(
|
|
14
|
+
}, clearFilter: function(e) {
|
|
15
|
+
this.$refs.superGrid.clearFilter(e);
|
|
15
16
|
}, doLayout: function() {
|
|
16
17
|
this.$refs.superGrid.doLayout();
|
|
17
|
-
}, sort: function(
|
|
18
|
-
this.$refs.superGrid.sort(
|
|
18
|
+
}, sort: function(e, r) {
|
|
19
|
+
this.$refs.superGrid.sort(e, r);
|
|
19
20
|
} };
|
|
20
|
-
export {
|
|
21
|
-
e as default
|
|
22
|
-
};
|
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const r = i({ name: "RowDetail", components: { ElView: e }, props: { column: { type: Object, default: null }, listCode: { type: String, default: null } }, data() {
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("@element-plus/icons-vue"), l = require("vue");
|
|
3
|
+
const t = require("../../_virtual/_plugin-vue_export-helper.js")({ name: "RowDetail", components: { ElView: e.View }, props: { column: { type: Object, default: null }, listCode: { type: String, default: null } }, data() {
|
|
5
4
|
}, computed: {}, created() {
|
|
6
5
|
}, methods: { showDetail(e2) {
|
|
7
6
|
this.$emit("show-detail", e2);
|
|
8
|
-
} } }, [["render", function(e2,
|
|
9
|
-
const
|
|
10
|
-
return
|
|
7
|
+
} } }, [["render", function(e2, t2, o, n, r, i) {
|
|
8
|
+
const a = l.resolveComponent("ElView"), c = l.resolveComponent("el-icon"), u = l.resolveComponent("el-table-column");
|
|
9
|
+
return l.openBlock(), l.createBlock(u, { align: "center", "class-name": o.column.prop, fixed: "left", "header-align": "center", prop: o.column.prop, width: 80, label: o.column.label }, { default: l.withCtx((e3) => [l.createVNode(c, { onClick: (l2) => i.showDetail(e3.$index) }, { default: l.withCtx(() => [l.createVNode(a)]), _: 2 }, 1032, ["onClick"])]), _: 1 }, 8, ["class-name", "prop", "label"]);
|
|
11
10
|
}]]);
|
|
12
|
-
|
|
13
|
-
r as default
|
|
14
|
-
};
|
|
11
|
+
module.exports = t;
|
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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() {
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("vuex"), t = require("./custom-formatter.js"), i = require("../../super-icon/src/index.vue.js"), n = require("../../src/utils/util.js"), o = require("./store.js"), l = require("vue");
|
|
3
|
+
require("./row-operation.vue2.js");
|
|
4
|
+
const s = require("../../_virtual/_plugin-vue_export-helper.js")({ 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() {
|
|
5
|
+
} }, 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: { ...e.mapGetters(["preventReclick"]), isSaveRow() {
|
|
11
6
|
return ["lineEditSave", "saveRow"].includes(this.eventName);
|
|
12
7
|
}, isDeleteRow() {
|
|
13
8
|
return ["lineEditDelete", "deleteRow"].includes(this.eventName);
|
|
@@ -52,25 +47,25 @@ const x = g({ name: "RowOperation", components: { superIcon: i }, props: { editi
|
|
|
52
47
|
}, tooltipDisabled() {
|
|
53
48
|
return !this.isTextIcon || !this.label;
|
|
54
49
|
}, isTableBtnLinkShow() {
|
|
55
|
-
return !!this.operationSetting.text || !(!this.isTableBtnLink || "el-button" !== this.elementType) && [this.operationSetting.text, this.operationSetting.plain, this.operationSetting.round].every((
|
|
50
|
+
return !!this.operationSetting.text || !(!this.isTableBtnLink || "el-button" !== this.elementType) && [this.operationSetting.text, this.operationSetting.plain, this.operationSetting.round].every((e2) => void 0 === e2);
|
|
56
51
|
}, operationSettingData() {
|
|
57
|
-
const
|
|
58
|
-
return this.isTableBtnLinkShow && (
|
|
52
|
+
const e2 = { ...this.operationSetting };
|
|
53
|
+
return this.isTableBtnLinkShow && (e2.underline = false, delete e2.text), this.tooltipDisabled || delete e2.title, e2;
|
|
59
54
|
}, isElementType() {
|
|
60
55
|
return this.isTableBtnLinkShow ? "el-link" : this.elementType;
|
|
61
56
|
} }, created() {
|
|
62
57
|
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);
|
|
63
|
-
}, methods: { onClickFun(
|
|
64
|
-
|
|
58
|
+
}, methods: { onClickFun(e2) {
|
|
59
|
+
t.onClickFun(this.entity, this.column, this.onClick, this.rowIndex, e2), this.$emit("afterClick", { row: this.entity, column: this.column, rowIndex: this.rowIndex });
|
|
65
60
|
}, isShowButton() {
|
|
66
|
-
const
|
|
61
|
+
const e2 = o.get(this.listCode), i2 = t.isShowButtonFun(this.entity, this.column, this.isShow, this.rowIndex);
|
|
67
62
|
if (this.operationSetting.buttonDisplayConditionsList) {
|
|
68
|
-
const
|
|
69
|
-
if (
|
|
63
|
+
const t2 = JSON.stringify(this.operationSetting.buttonDisplayConditionsList);
|
|
64
|
+
if (e2) {
|
|
70
65
|
let i3 = null;
|
|
71
|
-
return
|
|
66
|
+
return e2.basicInfo.tableName && (i3 = e2.basicInfo.tableName), n.analysisCondition(t2, this.entity, e2.additionalParamMap, e2.contextParameter, true, i3, this.parentFormData);
|
|
72
67
|
}
|
|
73
|
-
return n(
|
|
68
|
+
return n.analysisCondition(t2, this.entity, {}, {}, true, null, null);
|
|
74
69
|
}
|
|
75
70
|
if (i2) {
|
|
76
71
|
if (this.editing) {
|
|
@@ -80,10 +75,8 @@ const x = g({ name: "RowOperation", components: { superIcon: i }, props: { editi
|
|
|
80
75
|
return false;
|
|
81
76
|
}
|
|
82
77
|
return i2;
|
|
83
|
-
} } }, [["render", function(
|
|
84
|
-
const
|
|
85
|
-
return
|
|
78
|
+
} } }, [["render", function(e2, t2, i2, n2, o2, s2) {
|
|
79
|
+
const a = l.resolveComponent("superIcon"), r = l.resolveComponent("el-tooltip"), c = l.resolveDirective("permission");
|
|
80
|
+
return l.openBlock(), l.createElementBlock("span", { style: l.normalizeStyle(o2.myStyle) }, [s2.isShowButton() ? (l.openBlock(), l.createBlock(r, { key: 0, disabled: s2.tooltipDisabled, content: i2.label, placement: "top" }, { default: l.withCtx(() => [s2.operationSettingData.permission ? l.withDirectives((l.openBlock(), l.createBlock(l.resolveDynamicComponent(s2.isElementType), l.mergeProps({ key: 0 }, s2.operationSettingData, { class: "row-operation-icon", disabled: e2.preventReclick, onMousedown: t2[0] || (t2[0] = (e3) => s2.onClickFun(s2.operationSettingData)) }), { default: l.withCtx(() => [s2.prefixIcon ? (l.openBlock(), l.createBlock(a, { key: 0, iconValue: s2.prefixIcon, class: l.normalizeClass([{ "is-text-labl": !!s2.labelText }, "prefix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : l.createCommentVNode("", true), l.createTextVNode(" " + l.toDisplayString(s2.labelText) + " ", 1), s2.suffixIcon ? (l.openBlock(), l.createBlock(a, { key: 1, iconValue: s2.suffixIcon, class: l.normalizeClass([{ "is-text-labl": !!s2.labelText }, "suffix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : l.createCommentVNode("", true)]), _: 1 }, 16, ["disabled"])), [[c, s2.operationSettingData.permission]]) : (l.openBlock(), l.createBlock(l.resolveDynamicComponent(s2.isElementType), l.mergeProps({ key: 1 }, s2.operationSettingData, { class: "row-operation-icon", disabled: e2.preventReclick, onMousedown: t2[1] || (t2[1] = (e3) => s2.onClickFun(s2.operationSettingData)) }), { default: l.withCtx(() => [s2.prefixIcon ? (l.openBlock(), l.createBlock(a, { key: 0, iconValue: s2.prefixIcon, class: l.normalizeClass([{ "is-text-labl": !!s2.labelText }, "prefix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : l.createCommentVNode("", true), l.createTextVNode(" " + l.toDisplayString(s2.labelText) + " ", 1), s2.suffixIcon ? (l.openBlock(), l.createBlock(a, { key: 1, iconValue: s2.suffixIcon, class: l.normalizeClass([{ "is-text-labl": !!s2.labelText }, "suffix-btn-icon"]) }, null, 8, ["iconValue", "class"])) : l.createCommentVNode("", true)]), _: 1 }, 16, ["disabled"]))]), _: 1 }, 8, ["disabled", "content"])) : l.createCommentVNode("", true)], 4);
|
|
86
81
|
}], ["__scopeId", "data-v-e34a61f7"]]);
|
|
87
|
-
|
|
88
|
-
x as default
|
|
89
|
-
};
|
|
82
|
+
module.exports = s;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const util = require("../../src/utils/util.js");
|
|
2
4
|
function formatScanRuleSets(e) {
|
|
3
5
|
const t = {};
|
|
4
6
|
return e.forEach((e2) => {
|
|
@@ -11,13 +13,13 @@ function packageScanRuleSets(e) {
|
|
|
11
13
|
return new Promise((t, a) => {
|
|
12
14
|
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) => {
|
|
13
15
|
a2.forEach((a3) => {
|
|
14
|
-
const
|
|
16
|
+
const s = JSON.parse(a3.barcodeAnalysisOuts), n = /* @__PURE__ */ new Set(), l = {};
|
|
15
17
|
e[a3.code].outs.forEach((e2) => {
|
|
16
|
-
|
|
18
|
+
n.add(e2.returnedValue), l[e2.returnedValue] = e2.pageVariable;
|
|
17
19
|
});
|
|
18
20
|
const i2 = [];
|
|
19
|
-
|
|
20
|
-
|
|
21
|
+
s.forEach((e2) => {
|
|
22
|
+
n.has(e2.code) && (e2.pageVariable = l[e2.code], i2.push(e2));
|
|
21
23
|
}), e[a3.code].outs = i2, e[a3.code].adaptations = JSON.parse(a3.barcodeAnalysisAdaptations), t(e);
|
|
22
24
|
});
|
|
23
25
|
}) : t(null);
|
|
@@ -31,8 +33,8 @@ function analysisScanValue(scanValue, scanRuleSets) {
|
|
|
31
33
|
const scanSet = scanSets[i], adaptations = scanSet.adaptations;
|
|
32
34
|
let validStr = "";
|
|
33
35
|
for (let e = 0; e < adaptations.length; e++) {
|
|
34
|
-
const t = adaptations[e], a = _getScanIndexs(scanValue, t.startIndex, t.endIndex),
|
|
35
|
-
let l = scanValue.substring(
|
|
36
|
+
const t = adaptations[e], a = _getScanIndexs(scanValue, t.startIndex, t.endIndex), s = a[0], n = a[1];
|
|
37
|
+
let l = scanValue.substring(s, n), i2 = t.value, r = t.operate;
|
|
36
38
|
if ("times" == r) {
|
|
37
39
|
const e2 = l.split(null == i2 ? "" : i2).length - 1;
|
|
38
40
|
i2 = e2, l = t.times, r = "=";
|
|
@@ -58,28 +60,28 @@ function analysisScanValue(scanValue, scanRuleSets) {
|
|
|
58
60
|
function executeAnalysisForScan(e, t) {
|
|
59
61
|
if (!t || !e)
|
|
60
62
|
return;
|
|
61
|
-
const a = t.outs,
|
|
63
|
+
const a = t.outs, s = {};
|
|
62
64
|
return a.forEach((t2) => {
|
|
63
65
|
const a2 = t2.fieldName;
|
|
64
66
|
if (null != t2.fixedValue)
|
|
65
|
-
|
|
67
|
+
s[a2] = t2.fixedValue;
|
|
66
68
|
else {
|
|
67
|
-
let
|
|
69
|
+
let n = e;
|
|
68
70
|
if (t2.splitChar && t2.splitNum) {
|
|
69
|
-
const a3 = (t2.splitChar, t2.splitChar),
|
|
70
|
-
|
|
71
|
+
const a3 = (t2.splitChar, t2.splitChar), s2 = e.split(a3), l = t2.splitNum < 1 ? 1 : t2.splitNum;
|
|
72
|
+
n = l <= s2.length ? s2[l - 1] : "";
|
|
71
73
|
}
|
|
72
74
|
if (t2.splitChar2 && t2.splitNum2) {
|
|
73
|
-
const e2 = (t2.splitChar2, t2.splitChar2), a3 =
|
|
74
|
-
|
|
75
|
+
const e2 = (t2.splitChar2, t2.splitChar2), a3 = n.split(e2), s2 = t2.splitNum2 < 1 ? 1 : t2.splitNum2;
|
|
76
|
+
n = s2 <= a3.length ? a3[s2 - 1] : "";
|
|
75
77
|
}
|
|
76
|
-
if (
|
|
77
|
-
const e2 = _getScanIndexs(
|
|
78
|
-
|
|
78
|
+
if (n.length > 0) {
|
|
79
|
+
const e2 = _getScanIndexs(n, t2.startIndex, t2.endIndex), a3 = e2[0], s2 = e2[1];
|
|
80
|
+
n = n.substring(a3, s2);
|
|
79
81
|
}
|
|
80
|
-
|
|
82
|
+
s[a2] = n;
|
|
81
83
|
}
|
|
82
|
-
}), { value: e, params:
|
|
84
|
+
}), { value: e, params: s, scanSet: t };
|
|
83
85
|
}
|
|
84
86
|
function _getScanIndexs(e, t, a) {
|
|
85
87
|
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];
|
|
@@ -88,13 +90,9 @@ function setScanAnalysisValue(e, t, a) {
|
|
|
88
90
|
if (!t)
|
|
89
91
|
return;
|
|
90
92
|
t.outs.forEach((t2) => {
|
|
91
|
-
const
|
|
93
|
+
const s = t2.fieldName, n = a[s];
|
|
92
94
|
let l = t2.pageVariable;
|
|
93
|
-
l && l.indexOf("${") >= 0 && (l = l.substring(2, l.length - 1)), setEntityFieldValue(e, l,
|
|
95
|
+
l && l.indexOf("${") >= 0 && (l = l.substring(2, l.length - 1)), util.setEntityFieldValue(e, l, n);
|
|
94
96
|
});
|
|
95
97
|
}
|
|
96
|
-
|
|
97
|
-
analysisScanValue,
|
|
98
|
-
formatScanRuleSets,
|
|
99
|
-
setScanAnalysisValue
|
|
100
|
-
};
|
|
98
|
+
exports.analysisScanValue = analysisScanValue, exports.formatScanRuleSets = formatScanRuleSets, exports.setScanAnalysisValue = setScanAnalysisValue;
|
|
@@ -1,23 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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 };
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("../../utils/gogocodeTransfer.js"), t = require("@element-plus/icons-vue"), o = require("vue"), i = require("../../src/utils/common-util.js");
|
|
3
|
+
const s = require("../../_virtual/_plugin-vue_export-helper.js")({ name: "SearchButton", props: { isOpen: { type: Boolean, default: false }, isShowOpen: { type: Boolean, default: void 0 } }, data() {
|
|
4
|
+
const e2 = i.isMobileBrowser();
|
|
5
|
+
return { isMyOpen: this.isOpen, loading: false, CaretTop: o.shallowRef(t.CaretTop), CaretBottom: o.shallowRef(t.CaretBottom), isMobile: e2 };
|
|
9
6
|
}, methods: { openFold() {
|
|
10
|
-
this.isMyOpen = !this.isMyOpen, e(this, "open-fold", this.isMyOpen);
|
|
7
|
+
this.isMyOpen = !this.isMyOpen, e.$emit(this, "open-fold", this.isMyOpen);
|
|
11
8
|
}, submitForm() {
|
|
12
|
-
this.loading = true, e(this, "submit-form");
|
|
9
|
+
this.loading = true, e.$emit(this, "submit-form");
|
|
13
10
|
}, resetForm() {
|
|
14
|
-
this.loading = true, e(this, "reset-form");
|
|
11
|
+
this.loading = true, e.$emit(this, "reset-form");
|
|
15
12
|
}, searchComplete() {
|
|
16
13
|
this.loading = false;
|
|
17
|
-
} }, emits: ["save-condition", "open-fold", "submit-form", "reset-form"] }, [["render", function(e2, t2,
|
|
18
|
-
const
|
|
19
|
-
return
|
|
14
|
+
} }, emits: ["save-condition", "open-fold", "submit-form", "reset-form"] }, [["render", function(e2, t2, i2, s2, l, n) {
|
|
15
|
+
const r = o.resolveComponent("el-button");
|
|
16
|
+
return o.openBlock(), o.createElementBlock("div", { class: "search-button", style: o.normalizeStyle({ textAlign: l.isMobile ? "center" : "right" }) }, [o.createVNode(r, { loading: l.loading, size: "default", class: "button--default", onClick: n.submitForm }, { default: o.withCtx(() => [o.createTextVNode(o.toDisplayString(e2.$t("imatrixUIPublicModel.sure")), 1)]), _: 1 }, 8, ["loading", "onClick"]), o.createVNode(r, { loading: l.loading, class: "button--default", size: "default", onClick: n.resetForm }, { default: o.withCtx(() => [o.createTextVNode(o.toDisplayString(e2.$t("imatrixUIPublicModel.reset")), 1)]), _: 1 }, 8, ["loading", "onClick"]), o.createVNode(r, { class: "button--default", size: "default", onClick: t2[0] || (t2[0] = (t3) => e2.$emit("save-condition")) }, { default: o.withCtx(() => [o.createTextVNode(o.toDisplayString(e2.$t("superGrid.saveCondition")), 1)]), _: 1 }), i2.isShowOpen ?? !l.isMobile ? (o.openBlock(), o.createBlock(r, { key: 0, icon: l.isMyOpen ? l.CaretTop : l.CaretBottom, link: "", size: "default", onClick: n.openFold }, { default: o.withCtx(() => [o.createTextVNode(o.toDisplayString(l.isMyOpen ? e2.$t("superGrid.fold") : e2.$t("superGrid.open")), 1)]), _: 1 }, 8, ["icon", "onClick"])) : o.createCommentVNode("", true)], 4);
|
|
20
17
|
}]]);
|
|
21
|
-
|
|
22
|
-
g as default
|
|
23
|
-
};
|
|
18
|
+
module.exports = s;
|
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const c = { class: "dialog-footer", style: { "padding-bottom": "10px" } };
|
|
5
|
-
const u = s({ name: "SearchConditionInput", data: () => ({ searchCondition: { conditionName: null } }), methods: { saveCondition() {
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("../../utils/gogocodeTransfer.js"), o = require("vue"), t = require("../../_virtual/_plugin-vue_export-helper.js"), i = { class: "dialog-footer", style: { "padding-bottom": "10px" } };
|
|
3
|
+
const n = t({ name: "SearchConditionInput", data: () => ({ searchCondition: { conditionName: null } }), methods: { saveCondition() {
|
|
6
4
|
this.$refs.conditionForm.validate((o2) => {
|
|
7
5
|
if (!o2)
|
|
8
6
|
return false;
|
|
9
|
-
e(this, "close", this.searchCondition.conditionName);
|
|
7
|
+
e.$emit(this, "close", this.searchCondition.conditionName);
|
|
10
8
|
});
|
|
11
|
-
} }, emits: ["open", "opend", "close", "closed", "opend", "close", "closed"] }, [["render", function(e2,
|
|
12
|
-
const
|
|
13
|
-
return
|
|
9
|
+
} }, emits: ["open", "opend", "close", "closed", "opend", "close", "closed"] }, [["render", function(e2, t2, n2, l, d, r) {
|
|
10
|
+
const a = o.resolveComponent("el-input"), s = o.resolveComponent("el-form-item"), c = o.resolveComponent("el-form"), u = o.resolveComponent("el-button"), m = o.resolveComponent("el-dialog");
|
|
11
|
+
return o.openBlock(), o.createElementBlock("div", null, [o.createVNode(m, { "close-on-click-modal": false, title: e2.$t("superGrid.saveConditionTitle"), "append-to-body": "", "model-value": "", onClose: t2[2] || (t2[2] = (o2) => e2.$emit("close")), onClosed: t2[3] || (t2[3] = (o2) => e2.$emit("closed")), onOpen: t2[4] || (t2[4] = (o2) => e2.$emit("open")), onOpend: t2[5] || (t2[5] = (o2) => e2.$emit("opend")) }, { footer: o.withCtx(() => [o.createElementVNode("div", i, [o.createVNode(u, { size: "default", onClick: t2[1] || (t2[1] = (o2) => e2.$emit("close")) }, { default: o.withCtx(() => [o.createTextVNode(o.toDisplayString(e2.$t("imatrixUIPublicModel.cancel")), 1)]), _: 1 }), o.createVNode(u, { size: "default", type: "primary", onClick: r.saveCondition }, { default: o.withCtx(() => [o.createTextVNode(o.toDisplayString(e2.$t("imatrixUIPublicModel.sure")), 1)]), _: 1 }, 8, ["onClick"])])]), default: o.withCtx(() => [o.createVNode(c, { ref: "conditionForm", model: d.searchCondition, "label-position": "left", "label-width": "120px", size: "default" }, { default: o.withCtx(() => [o.createVNode(s, { label: e2.$t("superGrid.searchConditionName"), rules: [{ required: true, message: this.$t("superGrid.pleaseInputSearchConditionName"), trigger: "blur" }], prop: "conditionName" }, { default: o.withCtx(() => [o.createVNode(a, { modelValue: d.searchCondition.conditionName, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => d.searchCondition.conditionName = e3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label", "rules"])]), _: 1 }, 8, ["model"])]), _: 1 }, 8, ["title"])]);
|
|
14
12
|
}]]);
|
|
15
|
-
|
|
16
|
-
u as default
|
|
17
|
-
};
|
|
13
|
+
module.exports = n;
|
|
@@ -1,20 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const s = r({ name: "SearchConditionList", components: {}, props: { searchConditions: { type: Array, default: null }, searchType: { type: String, default: null } }, data() {
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("../../utils/gogocodeTransfer.js"), o = require("vue");
|
|
3
|
+
const n = require("../../_virtual/_plugin-vue_export-helper.js")({ name: "SearchConditionList", components: {}, props: { searchConditions: { type: Array, default: null }, searchType: { type: String, default: null } }, data() {
|
|
5
4
|
let e2 = "FIXED";
|
|
6
5
|
return this.searchType && "advanced" === this.searchType && (e2 = "CUSTOM"), { pageQueryType: e2, editConditionId: null };
|
|
7
6
|
}, watch: { searchType: { deep: true, handler(e2, o2) {
|
|
8
7
|
this.searchType = e2, this.pageQueryType = "FIXED", e2 && "advanced" === e2 && (this.pageQueryType = "CUSTOM");
|
|
9
8
|
} } }, methods: { removeCondition(o2) {
|
|
10
|
-
e(this, "remove-condition", o2);
|
|
9
|
+
e.$emit(this, "remove-condition", o2);
|
|
11
10
|
}, selectCondition(o2, n2) {
|
|
12
|
-
const
|
|
13
|
-
e(this, "select-condition",
|
|
14
|
-
} }, emits: ["remove-condition", "select-condition"] }, [["render", function(e2,
|
|
15
|
-
const
|
|
16
|
-
return
|
|
11
|
+
const t = o2.props.name;
|
|
12
|
+
e.$emit(this, "select-condition", t);
|
|
13
|
+
} }, emits: ["remove-condition", "select-condition"] }, [["render", function(e2, n2, t, i, a, l) {
|
|
14
|
+
const r = o.resolveComponent("el-tab-pane"), d = o.resolveComponent("el-tabs");
|
|
15
|
+
return o.openBlock(), o.createBlock(d, { modelValue: a.editConditionId, "onUpdate:modelValue": n2[0] || (n2[0] = (e3) => a.editConditionId = e3), type: "card", onTabRemove: l.removeCondition, onTabClick: l.selectCondition }, { default: o.withCtx(() => [(o.openBlock(true), o.createElementBlock(o.Fragment, null, o.renderList(t.searchConditions, (e3) => (o.openBlock(), o.createBlock(r, { key: e3.id, closable: e3.queryType === a.pageQueryType, disabled: e3.queryType !== a.pageQueryType, label: e3.name, name: e3.id + "" }, null, 8, ["closable", "disabled", "label", "name"]))), 128))]), _: 1 }, 8, ["modelValue", "onTabRemove", "onTabClick"]);
|
|
17
16
|
}]]);
|
|
18
|
-
|
|
19
|
-
s as default
|
|
20
|
-
};
|
|
17
|
+
module.exports = n;
|