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