agilebuilder-ui 1.1.65-tmp14 → 1.1.65-tmp16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/IntervalSelection/index.js +7 -5
- package/lib/IntervalSelection/src/sectionDate.vue.js +21 -17
- package/lib/IntervalSelection/src/sectionDate.vue2.js +4 -2
- package/lib/_virtual/__vite-browser-external.js +4 -2
- package/lib/_virtual/_plugin-vue_export-helper.js +8 -6
- package/lib/breadcrumb/index.js +5 -3
- package/lib/breadcrumb/src/breadcrumb.vue.js +19 -28
- package/lib/breadcrumb/src/breadcrumb.vue2.js +4 -2
- package/lib/chat-embed/index.js +5 -3
- package/lib/chat-embed/src/chat-addition-data.vue.js +7 -5
- package/lib/chat-embed/src/chat-addition-data.vue2.js +13 -11
- package/lib/chat-embed/src/chat-addition-data.vue3.js +4 -2
- package/lib/chat-embed/src/chat-ai-answer-tip.vue.js +7 -5
- package/lib/chat-embed/src/chat-ai-answer-tip.vue2.js +20 -17
- package/lib/chat-embed/src/chat-ai-answer-tip.vue3.js +4 -2
- package/lib/chat-embed/src/chat-bubble-footer.vue.js +7 -5
- package/lib/chat-embed/src/chat-bubble-footer.vue2.js +22 -17
- package/lib/chat-embed/src/chat-bubble-footer.vue3.js +4 -2
- package/lib/chat-embed/src/chat-embed-message.js +20 -14
- package/lib/chat-embed/src/chat-sender.vue.js +7 -5
- package/lib/chat-embed/src/chat-sender.vue2.js +123 -110
- package/lib/chat-embed/src/chat-sender.vue3.js +4 -2
- package/lib/chat-embed/src/components/answer-auto-chart.vue.js +7 -5
- package/lib/chat-embed/src/components/answer-auto-chart.vue2.js +50 -42
- package/lib/chat-embed/src/components/answer-auto-chart.vue3.js +4 -2
- package/lib/chat-embed/src/components/answer-home-chart.vue.js +7 -5
- package/lib/chat-embed/src/components/answer-home-chart.vue2.js +6 -3
- package/lib/chat-embed/src/components/answer-home-chart.vue3.js +4 -2
- package/lib/chat-embed/src/components/answer-interaction-data.vue.js +7 -5
- package/lib/chat-embed/src/components/answer-interaction-data.vue2.js +84 -74
- package/lib/chat-embed/src/components/answer-interaction-data.vue3.js +4 -2
- package/lib/chat-embed/src/components/history-detail.vue.js +7 -5
- package/lib/chat-embed/src/components/history-detail.vue2.js +32 -27
- package/lib/chat-embed/src/components/history-detail.vue3.js +4 -2
- package/lib/chat-embed/src/header.vue.js +7 -5
- package/lib/chat-embed/src/header.vue2.js +32 -25
- package/lib/chat-embed/src/header.vue3.js +4 -2
- package/lib/chat-embed/src/index.vue.js +7 -5
- package/lib/chat-embed/src/index.vue2.js +211 -185
- package/lib/chat-embed/src/index.vue3.js +4 -2
- package/lib/chat-embed/src/recommendation-message.vue.js +7 -5
- package/lib/chat-embed/src/recommendation-message.vue2.js +8 -5
- package/lib/chat-embed/src/recommendation-message.vue3.js +4 -2
- package/lib/chat-embed/src/sidebar-item.vue.js +7 -5
- package/lib/chat-embed/src/sidebar-item.vue2.js +93 -84
- package/lib/chat-embed/src/sidebar-item.vue3.js +4 -2
- package/lib/chat-embed/src/type.js +5 -3
- package/lib/chat-embed/src/util/chat-embed-util.js +41 -35
- package/lib/chat-embed/src/util/history-message-util.js +85 -63
- package/lib/chat-embed/src/util/mcp-utils.js +8 -5
- package/lib/chat-embed/src/util/text-file-util.js +11 -7
- package/lib/chat-embed/src/voice/index.js +7 -5
- package/lib/chat-embed/src/voice/js/crypto-js.js +995 -987
- package/lib/chat-embed/src/voice/js/processor/index.umd.js +169 -161
- package/lib/chat-embed/src/voice/js/timer.js +10 -7
- package/lib/chat-embed/src/voice/voice.vue.js +70 -61
- package/lib/date-picker-range/index.js +7 -5
- package/lib/date-picker-range/index.vue.js +7 -5
- package/lib/date-picker-range/index.vue2.js +63 -59
- package/lib/date-picker-range/index.vue3.js +4 -2
- package/lib/department-tree/index.js +5 -3
- package/lib/department-tree/src/department-tree.vue.js +17 -11
- package/lib/department-tree-inline/index.js +5 -3
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue.js +27 -17
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue2.js +4 -2
- package/lib/department-tree-inline/src/department-single-tree-inline.vue.js +27 -17
- package/lib/department-tree-inline/src/department-single-tree-inline.vue2.js +4 -2
- package/lib/department-tree-inline/src/department-tree-inline.vue.js +13 -8
- package/lib/department-tree-inline/src/department-tree-service.js +10 -8
- package/lib/department-tree-inline/src/search-result.vue.js +23 -19
- package/lib/department-tree-inline/src/search-result.vue2.js +4 -2
- package/lib/department-tree-mobile/index.js +7 -4
- package/lib/department-tree-mobile/src/department-tree-app.vue.js +12 -9
- package/lib/department-tree-mobile/src/department-tree-app.vue2.js +4 -2
- package/lib/department-tree-mobile/src/department-tree-app.vue3.js +5 -3
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue.js +91 -80
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue2.js +4 -3
- package/lib/department-tree-mobile/src/department-tree-service.js +42 -32
- package/lib/department-tree-mobile/src/dept-path.vue.js +11 -10
- package/lib/department-tree-mobile/src/dept-path.vue2.js +4 -3
- package/lib/department-tree-mobile/src/dept-result.vue.js +14 -11
- package/lib/department-tree-mobile/src/dept-result.vue2.js +4 -3
- package/lib/department-user-tree/index.js +5 -3
- package/lib/department-user-tree/src/department-user-multiple-tree.vue.js +14 -10
- package/lib/department-user-tree/src/department-user-multiple-tree.vue2.js +4 -2
- package/lib/department-user-tree/src/department-user-single-tree.vue.js +14 -9
- package/lib/department-user-tree/src/department-user-tree.vue.js +20 -14
- package/lib/department-user-tree-inline/index.js +5 -3
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +28 -17
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js +4 -2
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +33 -21
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue2.js +4 -2
- package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.js +13 -8
- package/lib/department-user-tree-inline/src/department-user-tree-multi-service.js +9 -6
- package/lib/department-user-tree-inline/src/department-user-tree-single-service.js +11 -8
- package/lib/department-user-tree-inline/src/group-user/group-input.vue.js +12 -7
- package/lib/department-user-tree-inline/src/group-user/group-list.vue.js +12 -7
- package/lib/department-user-tree-inline/src/group-user/group-user.vue.js +14 -8
- package/lib/department-user-tree-inline/src/group-user-multiple-tree.vue.js +20 -14
- package/lib/department-user-tree-inline/src/group-user-single-tree.vue.js +23 -17
- package/lib/department-user-tree-inline/src/group-user-tree-service.js +3 -2
- package/lib/department-user-tree-inline/src/search-result.vue.js +15 -12
- package/lib/department-user-tree-inline/src/search-result.vue2.js +4 -2
- package/lib/department-user-tree-mobile/index.js +7 -4
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.js +12 -9
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue2.js +4 -2
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue3.js +5 -3
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +104 -93
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +4 -3
- package/lib/department-user-tree-mobile/src/department-user-tree-service.js +30 -20
- package/lib/department-user-tree-mobile/src/dept-path.vue.js +11 -10
- package/lib/department-user-tree-mobile/src/dept-path.vue2.js +4 -3
- package/lib/department-user-tree-mobile/src/dept-result.vue.js +15 -11
- package/lib/department-user-tree-mobile/src/dept-result.vue2.js +4 -3
- package/lib/directives/prevent-reclick.js +3 -2
- package/lib/dynamic-source-select/index.js +7 -5
- package/lib/dynamic-source-select/src/dynamic-source-select-service.js +15 -13
- package/lib/dynamic-source-select/src/dynamic-source-select.vue.js +183 -173
- package/lib/dynamic-source-select/src/dynamic-source-select.vue2.js +4 -2
- package/lib/dynamic-source-select/src/dynamic-source-select.vue3.js +4 -2
- package/lib/dynamic-source-select/src/events.js +3 -2
- package/lib/empty-state/index.vue.js +8 -5
- package/lib/empty-state/index.vue2.js +4 -3
- package/lib/fs-preview/index.js +7 -5
- package/lib/fs-preview/src/fs-preview.vue.js +72 -63
- package/lib/fs-preview/src/fs-preview.vue2.js +4 -2
- package/lib/fs-upload/index.js +7 -5
- package/lib/fs-upload/src/fs-upload-multi.vue.js +32 -24
- package/lib/fs-upload/src/fs-upload-single.vue.js +39 -30
- package/lib/fs-upload/src/fs-upload.vue.js +16 -10
- package/lib/fs-upload/src/see-big-picture.vue.js +11 -8
- package/lib/fs-upload-list/index.js +7 -5
- package/lib/fs-upload-list/src/fs-upload-list.vue.js +40 -33
- package/lib/fs-upload-list/src/fs-upload-list.vue2.js +4 -2
- package/lib/fs-upload-new/index.js +7 -5
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +38 -34
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +4 -3
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +109 -101
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +4 -3
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +7 -5
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +33 -26
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.js +4 -2
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +31 -27
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +4 -3
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +24 -18
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +4 -3
- package/lib/fs-upload-new/src/fs-button-upload.vue.js +7 -5
- package/lib/fs-upload-new/src/fs-button-upload.vue2.js +43 -36
- package/lib/fs-upload-new/src/fs-button-upload.vue3.js +4 -2
- package/lib/fs-upload-new/src/fs-drag-upload.vue.js +7 -5
- package/lib/fs-upload-new/src/fs-drag-upload.vue2.js +45 -37
- package/lib/fs-upload-new/src/fs-drag-upload.vue3.js +4 -2
- package/lib/fs-upload-new/src/fs-preview-new.vue.js +8 -5
- package/lib/fs-upload-new/src/fs-preview-new.vue2.js +70 -61
- package/lib/fs-upload-new/src/fs-preview-new.vue3.js +4 -2
- package/lib/fs-upload-new/src/fs-preview-new.vue4.js +4 -2
- package/lib/fs-upload-new/src/fs-upload-new.vue.js +47 -37
- package/lib/fs-upload-new/src/fs-upload-new.vue2.js +4 -3
- package/lib/hamburger/index.js +5 -3
- package/lib/hamburger/src/hamburger.vue.js +14 -10
- package/lib/hamburger/src/hamburger.vue2.js +4 -2
- package/lib/index.js +383 -40
- package/lib/json-view/json-view-dialog.vue.js +15 -12
- package/lib/json-view/json-view-dialog.vue2.js +4 -3
- package/lib/json-view/json-view.vue.js +4 -3
- package/lib/json-view/json-view.vue2.js +31 -27
- package/lib/multipart-upload/index.js +7 -5
- package/lib/multipart-upload/src/index.vue.js +11 -7
- package/lib/multipart-upload/src/multipart-upload-form.vue.js +49 -40
- package/lib/multipart-upload/src/multipart-upload-list.vue.js +67 -59
- package/lib/organization-input/index.js +7 -5
- package/lib/organization-input/src/organization-input.vue.js +37 -31
- package/lib/organization-input/src/organization-input.vue2.js +4 -2
- package/lib/plugins/export-data-new.js +104 -96
- package/lib/plugins/export-data.js +51 -45
- package/lib/plugins/index.js +8 -4
- package/lib/plugins/public-method.js +3 -2
- package/lib/remove-department/index.js +5 -3
- package/lib/remove-department/src/remove-department.vue.js +19 -13
- package/lib/remove-department/src/remove-dept-service.js +10 -9
- package/lib/remove-user/index.js +7 -5
- package/lib/remove-user/src/remove-user-service.js +4 -3
- package/lib/remove-user/src/remove-user.vue.js +22 -16
- package/lib/remove-workgroup/index.js +7 -5
- package/lib/remove-workgroup/src/remove-workgroup-service.js +4 -3
- package/lib/remove-workgroup/src/remove-workgroup.vue.js +18 -12
- package/lib/rich-editor/index.js +7 -5
- package/lib/rich-editor/index.vue.js +76 -28
- package/lib/rich-editor/tinymce/zh_CN.js +2 -2
- package/lib/rich-editor/viewer.vue.js +10 -7
- package/lib/row-form/index.js +7 -5
- package/lib/row-form/index.vue.js +7 -5
- package/lib/row-form/index.vue2.js +47 -41
- package/lib/row-form/index.vue3.js +4 -2
- package/lib/row-form/operation.vue.js +26 -22
- package/lib/row-form/operation.vue2.js +4 -3
- package/lib/scan-code-input/index.js +7 -5
- package/lib/scan-code-input/src/events.js +13 -11
- package/lib/scan-code-input/src/scan-code-input.vue.js +15 -9
- package/lib/scan-code-input-browser/index.js +7 -5
- package/lib/scan-code-input-browser/src/scan-code-input.vue.js +21 -16
- package/lib/secret-info/index.js +7 -5
- package/lib/secret-info/index.vue.js +9 -6
- package/lib/src/api/sso-service.js +36 -34
- package/lib/src/api/tab.js +9 -8
- package/lib/src/assets/401/401.gif.js +4 -2
- package/lib/src/assets/404/404-cloud.png.js +4 -2
- package/lib/src/assets/404/404.png.js +4 -2
- package/lib/src/assets/chat-embed/robot.gif.js +4 -2
- package/lib/src/assets/chat-embed/robot.svg.js +4 -2
- package/lib/src/assets/nonemessage.png.js +4 -2
- package/lib/src/components/Affix/index.vue.js +7 -5
- package/lib/src/components/Affix/index.vue2.js +58 -56
- package/lib/src/components/Affix/index.vue3.js +4 -2
- package/lib/src/components/Card/index.js +38 -33
- package/lib/src/components/Scrollbar/index.vue.js +37 -33
- package/lib/src/components/Scrollbar/index.vue2.js +4 -2
- package/lib/src/directives/permission/index.js +5 -3
- package/lib/src/directives/permission/permission.js +9 -7
- package/lib/src/i18n/i18n.js +7 -3
- package/lib/src/i18n/langs/cn.js +4 -2
- package/lib/src/i18n/langs/en.js +4 -2
- package/lib/src/mixins/resizeMixin.js +3 -2
- package/lib/src/permission.js +46 -43
- package/lib/src/router/index.js +10 -16
- package/lib/src/store/getters.js +4 -2
- package/lib/src/store/index.js +13 -16
- package/lib/src/store/modules/app.js +4 -3
- package/lib/src/store/modules/chat-ai-store.js +22 -19
- package/lib/src/store/modules/permission.js +11 -10
- package/lib/src/store/modules/system.js +9 -7
- package/lib/src/store/modules/tab-content.js +15 -13
- package/lib/src/store/modules/table.js +3 -2
- package/lib/src/store/modules/user.js +95 -89
- package/lib/src/utils/auth-api.js +5 -3
- package/lib/src/utils/auth.js +139 -69
- package/lib/src/utils/calculator/calculator-factory-wf.js +49 -48
- package/lib/src/utils/calculator/calculator-factory.js +58 -57
- package/lib/src/utils/calculator/calculator-util.js +32 -29
- package/lib/src/utils/chat-ai-util.js +25 -17
- package/lib/src/utils/common-util.js +356 -271
- package/lib/src/utils/eventBus.js +6 -3
- package/lib/src/utils/file-util.js +16 -15
- package/lib/src/utils/global-prop.js +37 -21
- package/lib/src/utils/guid.js +8 -5
- package/lib/src/utils/i18n-util.js +24 -16
- package/lib/src/utils/iconUtils.js +23 -16
- package/lib/src/utils/index.js +40 -26
- package/lib/src/utils/insert_css.js +7 -8
- package/lib/src/utils/json-util.js +27 -25
- package/lib/src/utils/jump-page-utils.js +180 -172
- package/lib/src/utils/local-storage.js +3 -2
- package/lib/src/utils/menu.js +11 -10
- package/lib/src/utils/permission.js +26 -22
- package/lib/src/utils/permissionAuth.js +136 -102
- package/lib/src/utils/range-selector.js +45 -41
- package/lib/src/utils/request.js +86 -77
- package/lib/src/utils/resize.js +5 -5
- package/lib/src/utils/restful-interface-utils.js +15 -12
- package/lib/src/utils/util.js +26 -6
- package/lib/src/utils/validate.js +20 -10
- package/lib/src/utils/voice-setting-cache.js +153 -140
- package/lib/src/utils/watermark-cache.js +14 -9
- package/lib/src/utils/watermark.js +30 -23
- package/lib/src/utils/workflow-util.js +26 -25
- package/lib/src/views/dsc-component/Sidebar/Item.vue.js +7 -5
- package/lib/src/views/dsc-component/Sidebar/Item.vue2.js +11 -8
- package/lib/src/views/dsc-component/Sidebar/Item.vue3.js +4 -2
- package/lib/src/views/dsc-component/Sidebar/Link.vue.js +12 -9
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue.js +26 -19
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue2.js +4 -2
- package/lib/src/views/dsc-component/Sidebar/index.vue.js +20 -12
- package/lib/src/views/dsc-component/tabs/tab-content.vue.js +26 -21
- package/lib/src/views/dsc-component/tabs/tab-content.vue2.js +4 -2
- package/lib/src/views/dsc-component/tabs/tab-content.vue3.js +4 -2
- package/lib/src/views/error-page/401.vue.js +13 -9
- package/lib/src/views/error-page/401.vue2.js +4 -2
- package/lib/src/views/error-page/404.vue.js +11 -7
- package/lib/src/views/error-page/404.vue2.js +4 -2
- package/lib/src/views/layout/EmptyLayout.vue.js +8 -6
- package/lib/src/views/layout/Layout.vue.js +19 -12
- package/lib/src/views/layout/Layout.vue2.js +4 -2
- package/lib/src/views/layout/NewLayout.vue.js +10 -6
- package/lib/src/views/layout/components/AppMain.vue.js +11 -9
- package/lib/src/views/layout/components/AppMain.vue2.js +4 -2
- package/lib/src/views/layout/components/Breadcrumb/index.vue.js +37 -44
- package/lib/src/views/layout/components/Breadcrumb/index.vue2.js +4 -2
- package/lib/src/views/layout/components/Menubar/Item.vue.js +7 -5
- package/lib/src/views/layout/components/Menubar/Item.vue2.js +14 -12
- package/lib/src/views/layout/components/Menubar/Item.vue3.js +4 -2
- package/lib/src/views/layout/components/Menubar/Link.vue.js +12 -9
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue.js +24 -15
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue2.js +4 -2
- package/lib/src/views/layout/components/Menubar/index.vue.js +30 -19
- package/lib/src/views/layout/components/Sidebar/Item.vue.js +8 -6
- package/lib/src/views/layout/components/Sidebar/Item.vue2.js +4 -3
- package/lib/src/views/layout/components/Sidebar/Link.vue.js +11 -8
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue.js +17 -11
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue2.js +4 -2
- package/lib/src/views/layout/components/Sidebar/index.vue.js +25 -18
- package/lib/src/views/layout/components/iframe-page.vue.js +10 -8
- package/lib/src/views/layout/components/iframe-page.vue2.js +4 -2
- package/lib/src/views/layout/components/tabs/tab-content.vue.js +14 -10
- package/lib/src/views/layout/components/tabs/tab-content.vue2.js +4 -2
- package/lib/src/views/layout/components/tabs/tab-content.vue3.js +4 -2
- package/lib/src/views/layout/mixin/ResizeHandler.js +5 -3
- package/lib/src/views/layout/tab-content-iframe-index.vue.js +10 -8
- package/lib/src/views/layout/tab-content-iframe-index.vue2.js +4 -2
- package/lib/src/views/layout/tab-content-index.vue.js +18 -12
- package/lib/src/views/layout/tab-content-index.vue2.js +4 -2
- package/lib/src/views/login/authredirect.vue.js +3 -2
- package/lib/src/views/redirect/index.vue.js +8 -17
- package/lib/src/views/svg-icon/src/svg-icon.vue.js +4 -2
- package/lib/src/views/wf-history/tache-subprocess-history.vue.js +13 -11
- package/lib/src/views/wf-history/tache-subprocess-history.vue2.js +4 -2
- package/lib/style.css +547 -547
- package/lib/super-grid/index.js +7 -5
- package/lib/super-grid/src/apis.js +231 -221
- package/lib/super-grid/src/columns-config.vue.js +22 -16
- package/lib/super-grid/src/components/grid-icon.vue.js +34 -26
- package/lib/super-grid/src/components/grid-radio-input.vue.js +18 -15
- package/lib/super-grid/src/components/grid-radio-input.vue2.js +4 -3
- package/lib/super-grid/src/components/mobile-table-card.js +83 -73
- package/lib/super-grid/src/components/select-input.vue.js +106 -98
- package/lib/super-grid/src/components/select-input.vue2.js +4 -3
- package/lib/super-grid/src/custom-formatter.js +74 -69
- package/lib/super-grid/src/dynamic-input.vue.js +159 -142
- package/lib/super-grid/src/eventBus.js +6 -3
- package/lib/super-grid/src/events.js +36 -34
- package/lib/super-grid/src/formValidatorUtil.js +65 -62
- package/lib/super-grid/src/formatter.js +41 -36
- package/lib/super-grid/src/group-column.vue.js +13 -8
- package/lib/super-grid/src/header-context-menu.vue.js +13 -10
- package/lib/super-grid/src/header-context-menu.vue2.js +4 -2
- package/lib/super-grid/src/index-column.vue.js +10 -7
- package/lib/super-grid/src/normal-column-content.vue.js +205 -186
- package/lib/super-grid/src/normal-column-content.vue2.js +4 -2
- package/lib/super-grid/src/normal-column.vue.js +55 -40
- package/lib/super-grid/src/normal-column.vue2.js +4 -2
- package/lib/super-grid/src/public-methods.js +14 -12
- package/lib/super-grid/src/row-detail.vue.js +10 -7
- package/lib/super-grid/src/row-operation.vue.js +26 -19
- package/lib/super-grid/src/row-operation.vue2.js +4 -2
- package/lib/super-grid/src/scan-util.js +26 -24
- package/lib/super-grid/src/search-button.vue.js +17 -12
- package/lib/super-grid/src/search-condition-input.vue.js +12 -8
- package/lib/super-grid/src/search-condition-list.vue.js +13 -10
- package/lib/super-grid/src/search-form-advancedQuery.vue.js +23 -13
- package/lib/super-grid/src/search-form-advancedQuery.vue2.js +4 -2
- package/lib/super-grid/src/search-form-dialog.vue.js +13 -9
- package/lib/super-grid/src/search-form-item.vue.js +24 -16
- package/lib/super-grid/src/search-form-item.vue2.js +4 -2
- package/lib/super-grid/src/search-form-mobile.vue.js +22 -13
- package/lib/super-grid/src/search-form-mobile.vue2.js +4 -2
- package/lib/super-grid/src/search-form-number.vue.js +14 -9
- package/lib/super-grid/src/search-form-open.vue.js +13 -7
- package/lib/super-grid/src/search-form-ordinarySearch.vue.js +19 -11
- package/lib/super-grid/src/search-form-ordinarySearch.vue2.js +4 -2
- package/lib/super-grid/src/search-form.vue.js +77 -65
- package/lib/super-grid/src/search-form.vue2.js +4 -2
- package/lib/super-grid/src/search-methods.js +3 -2
- package/lib/super-grid/src/selection-column.vue.js +9 -7
- package/lib/super-grid/src/store.js +4 -3
- package/lib/super-grid/src/super-grid-service.js +128 -121
- package/lib/super-grid/src/super-grid.vue.js +217 -186
- package/lib/super-grid/src/super-grid.vue2.js +4 -2
- package/lib/super-grid/src/utils.js +322 -265
- package/lib/super-grid/src/view-image-dialog.vue.js +33 -26
- package/lib/super-icon/index.js +7 -5
- package/lib/super-icon/src/index.vue.js +7 -5
- package/lib/super-icon/src/index.vue2.js +11 -8
- package/lib/super-icon/src/index.vue3.js +4 -2
- package/lib/super-nine-grid/index.js +7 -5
- package/lib/super-nine-grid/src/apis.js +8 -5
- package/lib/super-nine-grid/src/custom-formatter.js +7 -5
- package/lib/super-nine-grid/src/formatter.js +29 -28
- package/lib/super-nine-grid/src/search-form-number.vue.js +12 -8
- package/lib/super-nine-grid/src/search-form.vue.js +40 -33
- package/lib/super-nine-grid/src/search-form.vue2.js +4 -2
- package/lib/super-nine-grid/src/search-methods.js +3 -2
- package/lib/super-nine-grid/src/store.js +4 -3
- package/lib/super-nine-grid/src/super-grid-service.js +9 -5
- package/lib/super-nine-grid/src/super-nine-grid.vue.js +105 -95
- package/lib/super-nine-grid/src/super-nine-grid.vue2.js +4 -2
- package/lib/super-nine-grid/src/utils.js +27 -31
- package/lib/svg-icon/index.js +7 -5
- package/lib/svg-icon/src/svg-icon.vue.js +10 -8
- package/lib/svg-icon/src/svg-icon.vue2.js +4 -2
- package/lib/utils/gogocodeTransfer.js +28 -23
- package/lib/utils/memory-cache-utils.js +5 -3
- package/lib/utils/organization.js +53 -40
- package/lib/utils/utils.js +29 -27
- package/lib/utils/value-set.js +70 -68
- package/lib/valid-code/index.js +7 -5
- package/lib/valid-code/src/valid-code.vue.js +13 -10
- package/lib/valid-code/src/valid-code.vue2.js +4 -2
- package/lib/workflow-button/index.js +5 -3
- package/lib/workflow-button/src/workflow-button.vue.js +39 -34
- package/lib/workflow-history-list/index.js +7 -5
- package/lib/workflow-history-list/src/api.js +3 -2
- package/lib/workflow-history-list/src/workflow-history-list.vue.js +65 -59
- package/lib/workflow-history-list/src/workflow-history-list.vue2.js +4 -2
- package/lib/workgroup-tree/index.js +7 -5
- package/lib/workgroup-tree/src/workgroup-tree.vue.js +17 -11
- package/lib/workgroup-tree-inline/index.js +5 -3
- package/lib/workgroup-tree-inline/src/search-result.vue.js +25 -21
- package/lib/workgroup-tree-inline/src/search-result.vue2.js +4 -2
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +52 -43
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js +4 -2
- package/lib/workgroup-tree-inline/src/workgroup-tree-service.js +7 -5
- package/lib/workgroup-tree-mobile/index.js +8 -5
- package/lib/workgroup-tree-mobile/src/dept-result.vue.js +14 -11
- package/lib/workgroup-tree-mobile/src/dept-result.vue2.js +4 -3
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +12 -9
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue2.js +4 -2
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +5 -3
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +86 -76
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +4 -3
- package/lib/workgroup-tree-mobile/src/workgroup-tree-service.js +28 -20
- package/lib/workgroup-user-tree/index.js +7 -5
- package/lib/workgroup-user-tree/src/workgroup-user-tree.vue.js +17 -11
- package/lib/workgroup-user-tree-inline/index.js +5 -3
- package/lib/workgroup-user-tree-inline/src/search-result.vue.js +25 -21
- package/lib/workgroup-user-tree-inline/src/search-result.vue2.js +4 -2
- package/lib/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +11 -9
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +43 -34
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.js +4 -2
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue.js +11 -10
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue2.js +4 -3
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue.js +15 -11
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue2.js +4 -3
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +12 -9
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js +4 -2
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +5 -3
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +104 -93
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +4 -3
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-service.js +25 -16
- package/lib/year-range-picker/index.js +5 -3
- package/lib/year-range-picker/src/year-range-picker.vue.js +12 -9
- package/package.json +2 -5
- package/vite.config.js +21 -21
- package/dist/favicon.svg +0 -29
- package/dist/index.full.min.js +0 -16440
- package/dist/style.css +0 -3078
- package/es/IntervalSelection/index.js +0 -7
- package/es/IntervalSelection/src/sectionDate.vue.js +0 -49
- package/es/IntervalSelection/src/sectionDate.vue2.js +0 -4
- package/es/_virtual/__vite-browser-external.js +0 -4
- package/es/_virtual/_plugin-vue_export-helper.js +0 -9
- package/es/breadcrumb/index.js +0 -7
- package/es/breadcrumb/src/breadcrumb.vue.js +0 -28
- package/es/breadcrumb/src/breadcrumb.vue2.js +0 -4
- package/es/chat-embed/index.js +0 -7
- package/es/chat-embed/src/chat-addition-data.vue.js +0 -7
- package/es/chat-embed/src/chat-addition-data.vue2.js +0 -14
- package/es/chat-embed/src/chat-addition-data.vue3.js +0 -4
- package/es/chat-embed/src/chat-ai-answer-tip.vue.js +0 -7
- package/es/chat-embed/src/chat-ai-answer-tip.vue2.js +0 -29
- package/es/chat-embed/src/chat-ai-answer-tip.vue3.js +0 -4
- package/es/chat-embed/src/chat-bubble-footer.vue.js +0 -7
- package/es/chat-embed/src/chat-bubble-footer.vue2.js +0 -33
- package/es/chat-embed/src/chat-bubble-footer.vue3.js +0 -4
- package/es/chat-embed/src/chat-embed-message.js +0 -22
- package/es/chat-embed/src/chat-sender.vue.js +0 -7
- package/es/chat-embed/src/chat-sender.vue2.js +0 -160
- package/es/chat-embed/src/chat-sender.vue3.js +0 -4
- package/es/chat-embed/src/components/answer-auto-chart.vue.js +0 -7
- package/es/chat-embed/src/components/answer-auto-chart.vue2.js +0 -59
- package/es/chat-embed/src/components/answer-auto-chart.vue3.js +0 -4
- package/es/chat-embed/src/components/answer-home-chart.vue.js +0 -7
- package/es/chat-embed/src/components/answer-home-chart.vue2.js +0 -6
- package/es/chat-embed/src/components/answer-home-chart.vue3.js +0 -4
- package/es/chat-embed/src/components/answer-interaction-data.vue.js +0 -7
- package/es/chat-embed/src/components/answer-interaction-data.vue2.js +0 -118
- package/es/chat-embed/src/components/answer-interaction-data.vue3.js +0 -4
- package/es/chat-embed/src/components/history-detail.vue.js +0 -7
- package/es/chat-embed/src/components/history-detail.vue2.js +0 -55
- package/es/chat-embed/src/components/history-detail.vue3.js +0 -4
- package/es/chat-embed/src/header.vue.js +0 -7
- package/es/chat-embed/src/header.vue2.js +0 -46
- package/es/chat-embed/src/header.vue3.js +0 -4
- package/es/chat-embed/src/index.vue.js +0 -7
- package/es/chat-embed/src/index.vue2.js +0 -307
- package/es/chat-embed/src/index.vue3.js +0 -4
- package/es/chat-embed/src/recommendation-message.vue.js +0 -7
- package/es/chat-embed/src/recommendation-message.vue2.js +0 -8
- package/es/chat-embed/src/recommendation-message.vue3.js +0 -4
- package/es/chat-embed/src/sidebar-item.vue.js +0 -7
- package/es/chat-embed/src/sidebar-item.vue2.js +0 -118
- package/es/chat-embed/src/sidebar-item.vue3.js +0 -4
- package/es/chat-embed/src/type.js +0 -5
- package/es/chat-embed/src/util/chat-embed-util.js +0 -57
- package/es/chat-embed/src/util/history-message-util.js +0 -96
- package/es/chat-embed/src/util/mcp-utils.js +0 -53
- package/es/chat-embed/src/util/text-file-util.js +0 -12
- package/es/chat-embed/src/voice/index.js +0 -7
- package/es/chat-embed/src/voice/js/crypto-js.js +0 -1013
- package/es/chat-embed/src/voice/js/processor/index.umd.js +0 -178
- package/es/chat-embed/src/voice/js/timer.js +0 -11
- package/es/chat-embed/src/voice/voice.vue.js +0 -104
- package/es/date-picker-range/index.js +0 -7
- package/es/date-picker-range/index.vue.js +0 -7
- package/es/date-picker-range/index.vue2.js +0 -93
- package/es/date-picker-range/index.vue3.js +0 -4
- package/es/department-tree/index.js +0 -7
- package/es/department-tree/src/department-tree.vue.js +0 -23
- package/es/department-tree-inline/index.js +0 -7
- package/es/department-tree-inline/src/department-multi-tree-inline.vue.js +0 -91
- package/es/department-tree-inline/src/department-multi-tree-inline.vue2.js +0 -4
- package/es/department-tree-inline/src/department-single-tree-inline.vue.js +0 -64
- package/es/department-tree-inline/src/department-single-tree-inline.vue2.js +0 -4
- package/es/department-tree-inline/src/department-tree-inline.vue.js +0 -17
- package/es/department-tree-inline/src/department-tree-service.js +0 -108
- package/es/department-tree-inline/src/search-result.vue.js +0 -40
- package/es/department-tree-inline/src/search-result.vue2.js +0 -4
- package/es/department-tree-mobile/index.js +0 -8
- package/es/department-tree-mobile/src/department-tree-app.vue.js +0 -15
- package/es/department-tree-mobile/src/department-tree-app.vue2.js +0 -4
- package/es/department-tree-mobile/src/department-tree-app.vue3.js +0 -5
- package/es/department-tree-mobile/src/department-tree-inline-app.vue.js +0 -121
- package/es/department-tree-mobile/src/department-tree-inline-app.vue2.js +0 -4
- package/es/department-tree-mobile/src/department-tree-service.js +0 -55
- package/es/department-tree-mobile/src/dept-path.vue.js +0 -14
- package/es/department-tree-mobile/src/dept-path.vue2.js +0 -4
- package/es/department-tree-mobile/src/dept-result.vue.js +0 -16
- package/es/department-tree-mobile/src/dept-result.vue2.js +0 -4
- package/es/department-user-tree/index.js +0 -7
- package/es/department-user-tree/src/department-user-multiple-tree.vue.js +0 -20
- package/es/department-user-tree/src/department-user-multiple-tree.vue2.js +0 -4
- package/es/department-user-tree/src/department-user-single-tree.vue.js +0 -19
- package/es/department-user-tree/src/department-user-tree.vue.js +0 -27
- package/es/department-user-tree-inline/index.js +0 -7
- package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +0 -165
- package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js +0 -4
- package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +0 -69
- package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue2.js +0 -4
- package/es/department-user-tree-inline/src/department-user-tree-inline.vue.js +0 -16
- package/es/department-user-tree-inline/src/department-user-tree-multi-service.js +0 -81
- package/es/department-user-tree-inline/src/department-user-tree-single-service.js +0 -54
- package/es/department-user-tree-inline/src/group-user/group-input.vue.js +0 -39
- package/es/department-user-tree-inline/src/group-user/group-list.vue.js +0 -27
- package/es/department-user-tree-inline/src/group-user/group-user.vue.js +0 -16
- package/es/department-user-tree-inline/src/group-user-multiple-tree.vue.js +0 -78
- package/es/department-user-tree-inline/src/group-user-single-tree.vue.js +0 -34
- package/es/department-user-tree-inline/src/group-user-tree-service.js +0 -34
- package/es/department-user-tree-inline/src/search-result.vue.js +0 -41
- package/es/department-user-tree-inline/src/search-result.vue2.js +0 -4
- package/es/department-user-tree-mobile/index.js +0 -8
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue.js +0 -15
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue2.js +0 -4
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue3.js +0 -5
- package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +0 -135
- package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +0 -4
- package/es/department-user-tree-mobile/src/department-user-tree-service.js +0 -38
- package/es/department-user-tree-mobile/src/dept-path.vue.js +0 -14
- package/es/department-user-tree-mobile/src/dept-path.vue2.js +0 -4
- package/es/department-user-tree-mobile/src/dept-result.vue.js +0 -17
- package/es/department-user-tree-mobile/src/dept-result.vue2.js +0 -4
- package/es/directives/prevent-reclick.js +0 -15
- package/es/dynamic-source-select/index.js +0 -7
- package/es/dynamic-source-select/src/dynamic-source-select-service.js +0 -32
- package/es/dynamic-source-select/src/dynamic-source-select.vue.js +0 -276
- package/es/dynamic-source-select/src/dynamic-source-select.vue2.js +0 -4
- package/es/dynamic-source-select/src/dynamic-source-select.vue3.js +0 -4
- package/es/dynamic-source-select/src/events.js +0 -29
- package/es/empty-state/index.vue.js +0 -9
- package/es/empty-state/index.vue2.js +0 -4
- package/es/favicon.svg +0 -29
- package/es/fs-preview/index.js +0 -7
- package/es/fs-preview/src/fs-preview.vue.js +0 -120
- package/es/fs-preview/src/fs-preview.vue2.js +0 -4
- package/es/fs-upload/index.js +0 -7
- package/es/fs-upload/src/fs-upload-multi.vue.js +0 -71
- package/es/fs-upload/src/fs-upload-single.vue.js +0 -73
- package/es/fs-upload/src/fs-upload.vue.js +0 -24
- package/es/fs-upload/src/see-big-picture.vue.js +0 -12
- package/es/fs-upload-list/index.js +0 -7
- package/es/fs-upload-list/src/fs-upload-list.vue.js +0 -98
- package/es/fs-upload-list/src/fs-upload-list.vue2.js +0 -4
- package/es/fs-upload-new/index.js +0 -7
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +0 -61
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +0 -4
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +0 -178
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +0 -4
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +0 -7
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +0 -39
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.js +0 -4
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +0 -45
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +0 -4
- package/es/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +0 -35
- package/es/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +0 -4
- package/es/fs-upload-new/src/fs-button-upload.vue.js +0 -7
- package/es/fs-upload-new/src/fs-button-upload.vue2.js +0 -62
- package/es/fs-upload-new/src/fs-button-upload.vue3.js +0 -4
- package/es/fs-upload-new/src/fs-drag-upload.vue.js +0 -7
- package/es/fs-upload-new/src/fs-drag-upload.vue2.js +0 -63
- package/es/fs-upload-new/src/fs-drag-upload.vue3.js +0 -4
- package/es/fs-upload-new/src/fs-preview-new.vue.js +0 -8
- package/es/fs-upload-new/src/fs-preview-new.vue2.js +0 -93
- package/es/fs-upload-new/src/fs-preview-new.vue3.js +0 -4
- package/es/fs-upload-new/src/fs-preview-new.vue4.js +0 -4
- package/es/fs-upload-new/src/fs-upload-new.vue.js +0 -64
- package/es/fs-upload-new/src/fs-upload-new.vue2.js +0 -4
- package/es/hamburger/index.js +0 -7
- package/es/hamburger/src/hamburger.vue.js +0 -15
- package/es/hamburger/src/hamburger.vue2.js +0 -4
- package/es/index.js +0 -383
- package/es/json-view/json-view-dialog.vue.js +0 -19
- package/es/json-view/json-view-dialog.vue2.js +0 -4
- package/es/json-view/json-view.vue.js +0 -4
- package/es/json-view/json-view.vue2.js +0 -36
- package/es/multipart-upload/index.js +0 -7
- package/es/multipart-upload/src/index.vue.js +0 -14
- package/es/multipart-upload/src/multipart-upload-form.vue.js +0 -82
- package/es/multipart-upload/src/multipart-upload-list.vue.js +0 -104
- package/es/organization-input/index.js +0 -7
- package/es/organization-input/src/organization-input.vue.js +0 -224
- package/es/organization-input/src/organization-input.vue2.js +0 -4
- package/es/plugins/export-data-new.js +0 -237
- package/es/plugins/export-data.js +0 -179
- package/es/plugins/index.js +0 -9
- package/es/plugins/public-method.js +0 -14
- package/es/remove-department/index.js +0 -7
- package/es/remove-department/src/remove-department.vue.js +0 -33
- package/es/remove-department/src/remove-dept-service.js +0 -13
- package/es/remove-user/index.js +0 -7
- package/es/remove-user/src/remove-user-service.js +0 -13
- package/es/remove-user/src/remove-user.vue.js +0 -35
- package/es/remove-workgroup/index.js +0 -7
- package/es/remove-workgroup/src/remove-workgroup-service.js +0 -13
- package/es/remove-workgroup/src/remove-workgroup.vue.js +0 -31
- package/es/rich-editor/index.js +0 -7
- package/es/rich-editor/index.vue.js +0 -115
- package/es/rich-editor/tinymce/zh_CN.js +0 -2
- package/es/rich-editor/viewer.vue.js +0 -27
- package/es/row-form/index.js +0 -7
- package/es/row-form/index.vue.js +0 -7
- package/es/row-form/index.vue2.js +0 -62
- package/es/row-form/index.vue3.js +0 -4
- package/es/row-form/operation.vue.js +0 -32
- package/es/row-form/operation.vue2.js +0 -4
- package/es/scan-code-input/index.js +0 -7
- package/es/scan-code-input/src/events.js +0 -15
- package/es/scan-code-input/src/scan-code-input.vue.js +0 -32
- package/es/scan-code-input-browser/index.js +0 -7
- package/es/scan-code-input-browser/src/scan-code-input.vue.js +0 -39
- package/es/secret-info/index.js +0 -7
- package/es/secret-info/index.vue.js +0 -16
- package/es/src/api/sso-service.js +0 -57
- package/es/src/api/tab.js +0 -15
- package/es/src/assets/401/401.gif.js +0 -4
- package/es/src/assets/404/404-cloud.png.js +0 -4
- package/es/src/assets/404/404.png.js +0 -4
- package/es/src/assets/chat-embed/robot.gif.js +0 -4
- package/es/src/assets/chat-embed/robot.svg.js +0 -4
- package/es/src/assets/nonemessage.png.js +0 -4
- package/es/src/components/Affix/index.vue.js +0 -7
- package/es/src/components/Affix/index.vue2.js +0 -83
- package/es/src/components/Affix/index.vue3.js +0 -4
- package/es/src/components/Card/index.js +0 -48
- package/es/src/components/Scrollbar/index.vue.js +0 -52
- package/es/src/components/Scrollbar/index.vue2.js +0 -4
- package/es/src/directives/permission/index.js +0 -7
- package/es/src/directives/permission/permission.js +0 -11
- package/es/src/i18n/i18n.js +0 -7
- package/es/src/i18n/langs/cn.js +0 -4
- package/es/src/i18n/langs/en.js +0 -4
- package/es/src/mixins/resizeMixin.js +0 -21
- package/es/src/permission.js +0 -79
- package/es/src/router/index.js +0 -9
- package/es/src/store/getters.js +0 -4
- package/es/src/store/index.js +0 -13
- package/es/src/store/modules/app.js +0 -41
- package/es/src/store/modules/chat-ai-store.js +0 -36
- package/es/src/store/modules/permission.js +0 -31
- package/es/src/store/modules/system.js +0 -12
- package/es/src/store/modules/tab-content.js +0 -20
- package/es/src/store/modules/table.js +0 -18
- package/es/src/store/modules/user.js +0 -139
- package/es/src/utils/auth-api.js +0 -134
- package/es/src/utils/auth.js +0 -156
- package/es/src/utils/calculator/calculator-factory-wf.js +0 -167
- package/es/src/utils/calculator/calculator-factory.js +0 -93
- package/es/src/utils/calculator/calculator-util.js +0 -56
- package/es/src/utils/chat-ai-util.js +0 -34
- package/es/src/utils/common-util.js +0 -440
- package/es/src/utils/eventBus.js +0 -6
- package/es/src/utils/file-util.js +0 -23
- package/es/src/utils/global-prop.js +0 -38
- package/es/src/utils/guid.js +0 -10
- package/es/src/utils/i18n-util.js +0 -70
- package/es/src/utils/iconUtils.js +0 -26
- package/es/src/utils/index.js +0 -46
- package/es/src/utils/insert_css.js +0 -17
- package/es/src/utils/json-util.js +0 -47
- package/es/src/utils/jump-page-utils.js +0 -264
- package/es/src/utils/local-storage.js +0 -19
- package/es/src/utils/menu.js +0 -14
- package/es/src/utils/permission.js +0 -45
- package/es/src/utils/permissionAuth.js +0 -154
- package/es/src/utils/range-selector.js +0 -105
- package/es/src/utils/request.js +0 -140
- package/es/src/utils/resize.js +0 -11
- package/es/src/utils/restful-interface-utils.js +0 -18
- package/es/src/utils/util.js +0 -361
- package/es/src/utils/validate.js +0 -22
- package/es/src/utils/voice-setting-cache.js +0 -212
- package/es/src/utils/watermark-cache.js +0 -15
- package/es/src/utils/watermark.js +0 -40
- package/es/src/utils/workflow-util.js +0 -42
- package/es/src/views/dsc-component/Sidebar/Item.vue.js +0 -7
- package/es/src/views/dsc-component/Sidebar/Item.vue2.js +0 -12
- package/es/src/views/dsc-component/Sidebar/Item.vue3.js +0 -4
- package/es/src/views/dsc-component/Sidebar/Link.vue.js +0 -14
- package/es/src/views/dsc-component/Sidebar/SidebarItem.vue.js +0 -53
- package/es/src/views/dsc-component/Sidebar/SidebarItem.vue2.js +0 -4
- package/es/src/views/dsc-component/Sidebar/index.vue.js +0 -111
- package/es/src/views/dsc-component/tabs/tab-content.vue.js +0 -66
- package/es/src/views/dsc-component/tabs/tab-content.vue2.js +0 -4
- package/es/src/views/dsc-component/tabs/tab-content.vue3.js +0 -4
- package/es/src/views/error-page/401.vue.js +0 -15
- package/es/src/views/error-page/401.vue2.js +0 -4
- package/es/src/views/error-page/404.vue.js +0 -12
- package/es/src/views/error-page/404.vue2.js +0 -4
- package/es/src/views/layout/EmptyLayout.vue.js +0 -9
- package/es/src/views/layout/Layout.vue.js +0 -28
- package/es/src/views/layout/Layout.vue2.js +0 -4
- package/es/src/views/layout/NewLayout.vue.js +0 -11
- package/es/src/views/layout/components/AppMain.vue.js +0 -13
- package/es/src/views/layout/components/AppMain.vue2.js +0 -4
- package/es/src/views/layout/components/Breadcrumb/index.vue.js +0 -49
- package/es/src/views/layout/components/Breadcrumb/index.vue2.js +0 -4
- package/es/src/views/layout/components/Menubar/Item.vue.js +0 -7
- package/es/src/views/layout/components/Menubar/Item.vue2.js +0 -15
- package/es/src/views/layout/components/Menubar/Item.vue3.js +0 -4
- package/es/src/views/layout/components/Menubar/Link.vue.js +0 -14
- package/es/src/views/layout/components/Menubar/SidebarItem.vue.js +0 -56
- package/es/src/views/layout/components/Menubar/SidebarItem.vue2.js +0 -4
- package/es/src/views/layout/components/Menubar/index.vue.js +0 -90
- package/es/src/views/layout/components/Sidebar/Item.vue.js +0 -9
- package/es/src/views/layout/components/Sidebar/Item.vue2.js +0 -4
- package/es/src/views/layout/components/Sidebar/Link.vue.js +0 -12
- package/es/src/views/layout/components/Sidebar/SidebarItem.vue.js +0 -22
- package/es/src/views/layout/components/Sidebar/SidebarItem.vue2.js +0 -4
- package/es/src/views/layout/components/Sidebar/index.vue.js +0 -58
- package/es/src/views/layout/components/iframe-page.vue.js +0 -14
- package/es/src/views/layout/components/iframe-page.vue2.js +0 -4
- package/es/src/views/layout/components/tabs/tab-content.vue.js +0 -64
- package/es/src/views/layout/components/tabs/tab-content.vue2.js +0 -4
- package/es/src/views/layout/components/tabs/tab-content.vue3.js +0 -4
- package/es/src/views/layout/mixin/ResizeHandler.js +0 -16
- package/es/src/views/layout/tab-content-iframe-index.vue.js +0 -14
- package/es/src/views/layout/tab-content-iframe-index.vue2.js +0 -4
- package/es/src/views/layout/tab-content-index.vue.js +0 -28
- package/es/src/views/layout/tab-content-index.vue2.js +0 -4
- package/es/src/views/login/authredirect.vue.js +0 -7
- package/es/src/views/redirect/index.vue.js +0 -8
- package/es/src/views/svg-icon/src/svg-icon.vue.js +0 -4
- package/es/src/views/wf-history/tache-subprocess-history.vue.js +0 -14
- package/es/src/views/wf-history/tache-subprocess-history.vue2.js +0 -4
- package/es/style.css +0 -3077
- package/es/super-grid/index.js +0 -7
- package/es/super-grid/src/apis.js +0 -458
- package/es/super-grid/src/columns-config.vue.js +0 -82
- package/es/super-grid/src/components/grid-icon.vue.js +0 -47
- package/es/super-grid/src/components/grid-radio-input.vue.js +0 -25
- package/es/super-grid/src/components/grid-radio-input.vue2.js +0 -4
- package/es/super-grid/src/components/mobile-table-card.js +0 -109
- package/es/super-grid/src/components/select-input.vue.js +0 -149
- package/es/super-grid/src/components/select-input.vue2.js +0 -4
- package/es/super-grid/src/custom-formatter.js +0 -168
- package/es/super-grid/src/dynamic-input.vue.js +0 -482
- package/es/super-grid/src/eventBus.js +0 -6
- package/es/super-grid/src/events.js +0 -37
- package/es/super-grid/src/formValidatorUtil.js +0 -109
- package/es/super-grid/src/formatter.js +0 -74
- package/es/super-grid/src/group-column.vue.js +0 -24
- package/es/super-grid/src/header-context-menu.vue.js +0 -15
- package/es/super-grid/src/header-context-menu.vue2.js +0 -4
- package/es/super-grid/src/index-column.vue.js +0 -22
- package/es/super-grid/src/normal-column-content.vue.js +0 -319
- package/es/super-grid/src/normal-column-content.vue2.js +0 -4
- package/es/super-grid/src/normal-column.vue.js +0 -106
- package/es/super-grid/src/normal-column.vue2.js +0 -4
- package/es/super-grid/src/public-methods.js +0 -22
- package/es/super-grid/src/row-detail.vue.js +0 -14
- package/es/super-grid/src/row-operation.vue.js +0 -89
- package/es/super-grid/src/row-operation.vue2.js +0 -4
- package/es/super-grid/src/scan-util.js +0 -100
- package/es/super-grid/src/search-button.vue.js +0 -23
- package/es/super-grid/src/search-condition-input.vue.js +0 -17
- package/es/super-grid/src/search-condition-list.vue.js +0 -20
- package/es/super-grid/src/search-form-advancedQuery.vue.js +0 -116
- package/es/super-grid/src/search-form-advancedQuery.vue2.js +0 -4
- package/es/super-grid/src/search-form-dialog.vue.js +0 -16
- package/es/super-grid/src/search-form-item.vue.js +0 -128
- package/es/super-grid/src/search-form-item.vue2.js +0 -4
- package/es/super-grid/src/search-form-mobile.vue.js +0 -41
- package/es/super-grid/src/search-form-mobile.vue2.js +0 -4
- package/es/super-grid/src/search-form-number.vue.js +0 -26
- package/es/super-grid/src/search-form-open.vue.js +0 -50
- package/es/super-grid/src/search-form-ordinarySearch.vue.js +0 -39
- package/es/super-grid/src/search-form-ordinarySearch.vue2.js +0 -4
- package/es/super-grid/src/search-form.vue.js +0 -201
- package/es/super-grid/src/search-form.vue2.js +0 -4
- package/es/super-grid/src/search-methods.js +0 -164
- package/es/super-grid/src/selection-column.vue.js +0 -11
- package/es/super-grid/src/store.js +0 -4
- package/es/super-grid/src/super-grid-service.js +0 -260
- package/es/super-grid/src/super-grid.vue.js +0 -1052
- package/es/super-grid/src/super-grid.vue2.js +0 -4
- package/es/super-grid/src/utils.js +0 -355
- package/es/super-grid/src/view-image-dialog.vue.js +0 -67
- package/es/super-icon/index.js +0 -7
- package/es/super-icon/src/index.vue.js +0 -7
- package/es/super-icon/src/index.vue2.js +0 -13
- package/es/super-icon/src/index.vue3.js +0 -4
- package/es/super-nine-grid/index.js +0 -7
- package/es/super-nine-grid/src/apis.js +0 -36
- package/es/super-nine-grid/src/custom-formatter.js +0 -35
- package/es/super-nine-grid/src/formatter.js +0 -37
- package/es/super-nine-grid/src/search-form-number.vue.js +0 -13
- package/es/super-nine-grid/src/search-form.vue.js +0 -91
- package/es/super-nine-grid/src/search-form.vue2.js +0 -4
- package/es/super-nine-grid/src/search-methods.js +0 -48
- package/es/super-nine-grid/src/store.js +0 -4
- package/es/super-nine-grid/src/super-grid-service.js +0 -39
- package/es/super-nine-grid/src/super-nine-grid.vue.js +0 -225
- package/es/super-nine-grid/src/super-nine-grid.vue2.js +0 -4
- package/es/super-nine-grid/src/utils.js +0 -32
- package/es/svg-icon/index.js +0 -7
- package/es/svg-icon/src/svg-icon.vue.js +0 -14
- package/es/svg-icon/src/svg-icon.vue2.js +0 -4
- package/es/utils/gogocodeTransfer.js +0 -33
- package/es/utils/memory-cache-utils.js +0 -30
- package/es/utils/organization.js +0 -57
- package/es/utils/utils.js +0 -87
- package/es/utils/value-set.js +0 -94
- package/es/valid-code/index.js +0 -7
- package/es/valid-code/src/valid-code.vue.js +0 -23
- package/es/valid-code/src/valid-code.vue2.js +0 -4
- package/es/workflow-button/index.js +0 -7
- package/es/workflow-button/src/workflow-button.vue.js +0 -85
- package/es/workflow-history-list/index.js +0 -7
- package/es/workflow-history-list/src/api.js +0 -6
- package/es/workflow-history-list/src/workflow-history-list.vue.js +0 -89
- package/es/workflow-history-list/src/workflow-history-list.vue2.js +0 -4
- package/es/workgroup-tree/index.js +0 -7
- package/es/workgroup-tree/src/workgroup-tree.vue.js +0 -23
- package/es/workgroup-tree-inline/index.js +0 -7
- package/es/workgroup-tree-inline/src/search-result.vue.js +0 -39
- package/es/workgroup-tree-inline/src/search-result.vue2.js +0 -4
- package/es/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +0 -128
- package/es/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js +0 -4
- package/es/workgroup-tree-inline/src/workgroup-tree-service.js +0 -35
- package/es/workgroup-tree-mobile/index.js +0 -8
- package/es/workgroup-tree-mobile/src/dept-result.vue.js +0 -16
- package/es/workgroup-tree-mobile/src/dept-result.vue2.js +0 -4
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +0 -15
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue2.js +0 -4
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +0 -5
- package/es/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +0 -109
- package/es/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +0 -4
- package/es/workgroup-tree-mobile/src/workgroup-tree-service.js +0 -33
- package/es/workgroup-user-tree/index.js +0 -7
- package/es/workgroup-user-tree/src/workgroup-user-tree.vue.js +0 -23
- package/es/workgroup-user-tree-inline/index.js +0 -7
- package/es/workgroup-user-tree-inline/src/search-result.vue.js +0 -39
- package/es/workgroup-user-tree-inline/src/search-result.vue2.js +0 -4
- package/es/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +0 -73
- package/es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +0 -172
- package/es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.js +0 -4
- package/es/workgroup-user-tree-mobile/src/dept-path.vue.js +0 -14
- package/es/workgroup-user-tree-mobile/src/dept-path.vue2.js +0 -4
- package/es/workgroup-user-tree-mobile/src/dept-result.vue.js +0 -17
- package/es/workgroup-user-tree-mobile/src/dept-result.vue2.js +0 -4
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +0 -15
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js +0 -4
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +0 -5
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +0 -135
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +0 -4
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-service.js +0 -29
- package/es/year-range-picker/index.js +0 -7
- package/es/year-range-picker/src/year-range-picker.vue.js +0 -14
|
@@ -1,24 +1,41 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import { CirclePlus as t, ZoomIn as e } from "@element-plus/icons-vue";
|
|
2
|
+
import { $on as o, $off as i, $emit as n } from "../../utils/gogocodeTransfer.js";
|
|
3
|
+
import { getAdditionalParamMap as l, isDisableEdit as s, isEditOptionFunction as r, ArrowKeyAction as a, isHasEditOption as d, getFileList as p, isRequiredEdit as c, isDynamicDataSourceSource as m } from "./utils.js";
|
|
4
|
+
import u from "./dynamic-input.vue.js";
|
|
5
|
+
import h from "./store.js";
|
|
6
|
+
import { doFormatWithValueSet as w } from "./formatter.js";
|
|
7
|
+
import f from "./custom-formatter.js";
|
|
8
|
+
import g from "./row-operation.vue.js";
|
|
9
|
+
import b from "./apis.js";
|
|
10
|
+
import { mapGetters as C } from "vuex";
|
|
11
|
+
import { formatCustomParams as y, getEntityFieldValue as x, getParentObjectUtil as v } from "../../src/utils/util.js";
|
|
12
|
+
import E from "./view-image-dialog.vue.js";
|
|
13
|
+
import S from "./eventBus.js";
|
|
14
|
+
import "../../fs-preview/index.js";
|
|
15
|
+
import D from "../../rich-editor/viewer.vue.js";
|
|
16
|
+
import I from "./components/grid-icon.vue.js";
|
|
17
|
+
import { formatScanRuleSets as k } from "./scan-util.js";
|
|
18
|
+
import T from "../../src/store/index.js";
|
|
19
|
+
import { isPromise as F } from "../../src/utils/common-util.js";
|
|
20
|
+
import "element-plus";
|
|
21
|
+
import { resolveComponent as O, resolveDirective as j, openBlock as P, createElementBlock as R, createBlock as $, normalizeClass as L, withKeys as q, createVNode as H, withCtx as G, toDisplayString as A, createCommentVNode as V, Fragment as _, renderList as M, withDirectives as N, createTextVNode as B, resolveDynamicComponent as W, createElementVNode as U, normalizeStyle as J } from "vue";
|
|
22
|
+
import "./normal-column-content.vue2.js";
|
|
23
|
+
import z from "../../_virtual/_plugin-vue_export-helper.js";
|
|
24
|
+
import K from "../../fs-preview/src/fs-preview.vue.js";
|
|
25
|
+
const Z = { components: { DynamicInput: u, RowOperation: g, ViewImageDialog: E, FsPreview: K, RichEditorViewer: D, CirclePlus: t, ElIconZoomIn: e, GridIcon: I }, name: "NormalColumnContent", props: { isContentViewText: { type: Boolean, default: false }, 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 }, row: { type: Object, default: null }, rowIndex: { type: Number, default: null }, isShowForm: { type: Boolean, default: false } }, data() {
|
|
26
|
+
let t2;
|
|
27
|
+
const e2 = h.get(this.listCode), o2 = e2.options;
|
|
28
|
+
e2.options.extraParam && e2.options.extraParam.entityMap && (t2 = e2.options.extraParam.entityMap);
|
|
29
|
+
const i2 = l(e2);
|
|
30
|
+
let n2 = {};
|
|
31
|
+
this.column.controlConfig && (n2 = JSON.parse(this.column.controlConfig));
|
|
15
32
|
let s2 = false;
|
|
16
|
-
|
|
17
|
-
const
|
|
18
|
-
let
|
|
19
|
-
null !==
|
|
20
|
-
let
|
|
21
|
-
return
|
|
33
|
+
n2.scanEnable && (s2 = true);
|
|
34
|
+
const r2 = this.listCode + "_" + this.column.prop;
|
|
35
|
+
let a2;
|
|
36
|
+
null !== e2.lineEdit && void 0 !== e2.lineEdit && (a2 = e2.lineEdit);
|
|
37
|
+
let d2 = "hidden";
|
|
38
|
+
return e2.basicInfo && e2.basicInfo.textOverflow && (d2 = e2.basicInfo.textOverflow), this.isShowForm && (d2 = "newline"), { selectRow: null, that: this, columnFormatter: this.column.formatter, hyperLinks: {}, fileDownType: "", isFormSubTable: false, subTableCanAdd: true, isShowAdd: false, cellWidth: null, parentFormData: t2, fileMultiple: false, showSingleImgFlag: false, singleImgSrc: "", fileList: [], index: null, isEditable: this.column.editable, showRichEditorViewer: false, getFormData: e2.options.getFormData, getTableGridData: e2.options.getGridData, additionalParamMap: i2, disabled: false, additionalSettings: this.getColumnCustomControlControlConfig(this.column.formatter), scanEnable: s2, componentId: r2, controlConfig: n2, requiredClass: "", lineEdit: a2, options: o2, textOverflow: d2, linkObject: {} };
|
|
22
39
|
}, computed: { isHideEdit() {
|
|
23
40
|
return !!this.disabled;
|
|
24
41
|
}, $rowGuId() {
|
|
@@ -31,97 +48,97 @@ const b = require("../../_virtual/_plugin-vue_export-helper.js"), y = { componen
|
|
|
31
48
|
return false;
|
|
32
49
|
if (!this.hasEditPermission)
|
|
33
50
|
return;
|
|
34
|
-
return !!
|
|
35
|
-
} catch (
|
|
51
|
+
return !!T.getters.isEditing(this.$rowColumnDataGuId) || (!this.isFormSubTable && this.row.$editing ? !T.getters.isRowEditing(this.$rowGuId) : this.row.$editing);
|
|
52
|
+
} catch (t2) {
|
|
36
53
|
return false;
|
|
37
54
|
}
|
|
38
55
|
}, hasEditPermission() {
|
|
39
56
|
return this.lineEdit.editable && this.isEditable && !this.isContentViewText;
|
|
40
|
-
}, ...
|
|
41
|
-
[false].includes(
|
|
42
|
-
} }, isSql: { deep: true, handler(
|
|
43
|
-
this.isSql =
|
|
44
|
-
} }, newWidth: { deep: true, handler(
|
|
45
|
-
null !=
|
|
57
|
+
}, ...C(["preventReclick"]) }, watch: { "row.$editing": { deep: true, handler(t2) {
|
|
58
|
+
[false].includes(t2) && this.clearAllEditing();
|
|
59
|
+
} }, isSql: { deep: true, handler(t2, e2) {
|
|
60
|
+
this.isSql = t2;
|
|
61
|
+
} }, newWidth: { deep: true, handler(t2, e2) {
|
|
62
|
+
null != t2 && this.dragColumnProp && this.dragColumnProp === this.column.prop && (this.cellWidth = t2);
|
|
46
63
|
} } }, created() {
|
|
47
64
|
var _a;
|
|
48
65
|
this.column.width && (this.cellWidth = this.column.width - 10);
|
|
49
|
-
const
|
|
50
|
-
if (
|
|
51
|
-
const
|
|
52
|
-
|
|
66
|
+
const t2 = h.get(this.listCode);
|
|
67
|
+
if (t2 && t2.options && t2.options.isFormSubTable && (this.isFormSubTable = t2.options.isFormSubTable), this.disabled = s(this.column.prop, this.listCode, this.row), t2 && t2.options && void 0 !== t2.options.subTableCanAdd && null !== t2.options.subTableCanAdd && (this.subTableCanAdd = t2.options.subTableCanAdd), this.column.prop && "operation" === this.column.prop || void 0 !== t2.options.showOverflowTooltip && false === t2.options.showOverflowTooltip ? this.isShowOverflowTooltip = false : this.isShowOverflowTooltip = true, void 0 === t2.isHasDynamic && void 0 !== this.column.dynamic && true === this.column.dynamic && (t2.isHasDynamic = true), this.label = this.getHeader(), this.column.operations, this.isShowAdd = this.isFormSubTable && "operation" === this.column.prop && this.subTableCanAdd && t2.options && t2.options.showOperationButton, this.column.fileSet && "" !== this.column.fileSet && "annex" === this.column.componentType) {
|
|
68
|
+
const t3 = JSON.parse(this.column.fileSet);
|
|
69
|
+
t3 && t3.multiple && (this.fileMultiple = true);
|
|
53
70
|
}
|
|
54
71
|
this.setScanRuleSets(), this.requiredClass = this.isRequired(this.row.$editing) ? "m-requried column-text-main" : "", "hyperlinks" === ((_a = this.columnFormatter) == null ? void 0 : _a.type) && (this.linkObject = this.getMyHyperLinkSetting(this.row, this.rowIndex, this.listCode));
|
|
55
72
|
}, mounted() {
|
|
56
73
|
if (this.controlConfig) {
|
|
57
|
-
const
|
|
58
|
-
|
|
74
|
+
const t3 = h.get(this.listCode);
|
|
75
|
+
y(this.controlConfig.customParams, t3.pageContext, this.row);
|
|
59
76
|
}
|
|
60
|
-
|
|
77
|
+
S.$on("clearTableAllStartEditing", () => {
|
|
61
78
|
this.clearAllEditing();
|
|
62
|
-
}),
|
|
79
|
+
}), o(S, "un-edit", (t3) => {
|
|
63
80
|
if (this.column.componentType && ("multiselect" === this.column.componentType || "select" === this.column.componentType)) {
|
|
64
|
-
const
|
|
65
|
-
let
|
|
66
|
-
if (
|
|
81
|
+
const e2 = m(this.column);
|
|
82
|
+
let o2 = t3.row[this.column.prop];
|
|
83
|
+
if (e2)
|
|
67
84
|
if ("_dynamic-source-data-" + this.column.prop in this.column) {
|
|
68
|
-
const
|
|
85
|
+
const e3 = this.column["_dynamic-source-data-" + this.column.prop], i2 = e3.valueSetOptions;
|
|
69
86
|
let n2;
|
|
70
|
-
for (let
|
|
71
|
-
const
|
|
72
|
-
if (this.column.prop ===
|
|
73
|
-
n2 =
|
|
87
|
+
for (let t4 = 0; t4 < i2.length; t4++) {
|
|
88
|
+
const e4 = i2[t4];
|
|
89
|
+
if (this.column.prop === e4.valueColumn.dbColumnName) {
|
|
90
|
+
n2 = e4.columnName;
|
|
74
91
|
break;
|
|
75
92
|
}
|
|
76
93
|
}
|
|
77
94
|
if (n2) {
|
|
78
95
|
if ("select" === this.column.componentType) {
|
|
79
|
-
if (n2 !==
|
|
80
|
-
const
|
|
81
|
-
|
|
96
|
+
if (n2 !== e3.valueAttribute) {
|
|
97
|
+
const t4 = e3.optionItems.find((t5) => t5[e3.valueAttribute] === o2);
|
|
98
|
+
t4 && (o2 = t4[n2]);
|
|
82
99
|
}
|
|
83
|
-
|
|
84
|
-
} else if (
|
|
85
|
-
"string" == typeof
|
|
86
|
-
const
|
|
87
|
-
|
|
88
|
-
if (n2 !==
|
|
89
|
-
const
|
|
90
|
-
|
|
100
|
+
t3.row[this.column.prop] = o2;
|
|
101
|
+
} else if (o2 && n2 !== e3.valueAttribute) {
|
|
102
|
+
"string" == typeof o2 && (o2 = o2.split(","));
|
|
103
|
+
const i3 = [];
|
|
104
|
+
o2.forEach((t4) => {
|
|
105
|
+
if (n2 !== e3.valueAttribute) {
|
|
106
|
+
const o3 = e3.optionItems.find((o4) => o4[e3.valueAttribute] === t4);
|
|
107
|
+
o3 && i3.push(o3[n2]);
|
|
91
108
|
}
|
|
92
|
-
}),
|
|
109
|
+
}), i3.length > 0 && (o2 = i3, t3.row[this.column.prop] = o2.join(","));
|
|
93
110
|
}
|
|
94
111
|
}
|
|
95
112
|
} else
|
|
96
|
-
|
|
113
|
+
o2 && "[object Array]" === Object.prototype.toString.apply(o2) && (t3.row[this.column.prop] = o2.join(","));
|
|
97
114
|
else
|
|
98
|
-
|
|
115
|
+
o2 && "[object Array]" === Object.prototype.toString.apply(o2) && (t3.row[this.column.prop] = o2.join(","));
|
|
99
116
|
}
|
|
100
117
|
});
|
|
101
|
-
const
|
|
102
|
-
this.$parent.$parent && "GroupColumn" === this.$parent.$parent.$options._componentTag &&
|
|
103
|
-
void 0 !== t2
|
|
118
|
+
const t2 = this;
|
|
119
|
+
this.$parent.$parent && "GroupColumn" === this.$parent.$parent.$options._componentTag && S.$on("prohibitToEdit", (e2) => {
|
|
120
|
+
void 0 !== e2[t2.column.prop] && t2.fnProhibitToEdit(e2[t2.column.prop]);
|
|
104
121
|
});
|
|
105
122
|
}, unmounted() {
|
|
106
|
-
|
|
107
|
-
}, methods: { ...
|
|
108
|
-
var _a;
|
|
109
|
-
this.hasEditPermission && ((_a =
|
|
110
|
-
}, async onEditing(
|
|
123
|
+
i(S, "un-edit"), this.$parent.$parent && "GroupColumn" === this.$parent.$parent.$options._componentTag && S.$off("prohibitToEdit"), S.$off("clearTableAllStartEditing");
|
|
124
|
+
}, methods: { ...f, ...b, clearAllEditing() {
|
|
125
|
+
var _a, _b;
|
|
126
|
+
this.hasEditPermission && ((_b = (_a = T) == null ? void 0 : _a.dispatch) == null ? void 0 : _b.call(_a, "clearAllEditing"));
|
|
127
|
+
}, async onEditing(t2) {
|
|
111
128
|
if (this.hasEditPermission && !this.isEditing) {
|
|
112
|
-
let
|
|
113
|
-
if (
|
|
129
|
+
let e2 = true;
|
|
130
|
+
if (r("beforeEdit", this.listCode) && (e2 = await this.triggerCustomEvent("beforeEdit")), !e2)
|
|
114
131
|
return;
|
|
115
|
-
|
|
116
|
-
const
|
|
117
|
-
var _a;
|
|
118
|
-
this.clearAllEditing(), (_a =
|
|
132
|
+
t2.stopPropagation();
|
|
133
|
+
const o2 = () => {
|
|
134
|
+
var _a, _b;
|
|
135
|
+
this.clearAllEditing(), (_b = (_a = T) == null ? void 0 : _a.dispatch) == null ? void 0 : _b.call(_a, "setRowEditing", { $rowDataGuId: this.$rowColumnDataGuId, isEditing: true }), setTimeout(this.focusBottomInput, 400);
|
|
119
136
|
};
|
|
120
137
|
if (this.isFormSubTable)
|
|
121
|
-
this.restoreGridEdit(this.listCode),
|
|
122
|
-
else if (
|
|
123
|
-
if (
|
|
124
|
-
|
|
138
|
+
this.restoreGridEdit(this.listCode), o2();
|
|
139
|
+
else if (T.getters.isConfigEditing)
|
|
140
|
+
if (T.getters.isRowEditing(this.$rowGuId))
|
|
141
|
+
o2();
|
|
125
142
|
else {
|
|
126
143
|
if (!this.isLastEditRowSaveMessage(this.listCode))
|
|
127
144
|
return;
|
|
@@ -129,157 +146,157 @@ const b = require("../../_virtual/_plugin-vue_export-helper.js"), y = { componen
|
|
|
129
146
|
else {
|
|
130
147
|
if (!this.isLastEditRowSaveMessage(this.listCode))
|
|
131
148
|
return;
|
|
132
|
-
this.editRow(this.rowIndex, this.listCode, true, true),
|
|
149
|
+
this.editRow(this.rowIndex, this.listCode, true, true), o2();
|
|
133
150
|
}
|
|
134
151
|
}
|
|
135
152
|
}, focusBottomInput() {
|
|
136
153
|
this.$nextTick(() => {
|
|
137
154
|
try {
|
|
138
|
-
const
|
|
139
|
-
let
|
|
140
|
-
if (
|
|
141
|
-
|
|
142
|
-
else if (
|
|
143
|
-
const
|
|
144
|
-
["INPUT", "TEXTAREA"].includes(
|
|
155
|
+
const t2 = (t3) => t3 ? Array.from(this.$refs.dynamicRef.$el.querySelectorAll(t3)).filter((t4) => !!t4.offsetParent) : [];
|
|
156
|
+
let e2 = t2(".el-select, .el-date-picker, .el-upload");
|
|
157
|
+
if (e2.length)
|
|
158
|
+
e2[0].click();
|
|
159
|
+
else if (e2 = t2("input, textarea"), e2.length > 0) {
|
|
160
|
+
const t3 = e2.reduce((t4, e3) => e3.getBoundingClientRect().bottom > t4.getBoundingClientRect().bottom ? e3 : t4);
|
|
161
|
+
["INPUT", "TEXTAREA"].includes(t3.tagName) && (t3.focus(), t3.select());
|
|
145
162
|
}
|
|
146
|
-
} catch (
|
|
147
|
-
console.error(
|
|
163
|
+
} catch (t2) {
|
|
164
|
+
console.error(t2);
|
|
148
165
|
}
|
|
149
166
|
});
|
|
150
|
-
}, getFileObj(
|
|
151
|
-
if (
|
|
152
|
-
return JSON.parse(
|
|
167
|
+
}, getFileObj(t2) {
|
|
168
|
+
if (t2)
|
|
169
|
+
return JSON.parse(t2);
|
|
153
170
|
}, getHeader() {
|
|
154
171
|
return this.column.titleValueSet ? this.formatHeader() : this.column.label.replace(/\\n/g, "</br>");
|
|
155
172
|
}, formatHeader() {
|
|
156
|
-
return
|
|
157
|
-
}, filterHandler: (
|
|
158
|
-
const
|
|
159
|
-
|
|
160
|
-
}, findIndex(
|
|
161
|
-
this.index =
|
|
162
|
-
const
|
|
163
|
-
|
|
164
|
-
}, refresData(
|
|
165
|
-
|
|
166
|
-
}, refresPortData(
|
|
167
|
-
const
|
|
168
|
-
this.index,
|
|
169
|
-
}, refresPortsData(
|
|
170
|
-
const
|
|
171
|
-
this.index,
|
|
172
|
-
}, refresMainTableFields(
|
|
173
|
-
|
|
174
|
-
}, move(
|
|
175
|
-
if ("left" ===
|
|
176
|
-
const
|
|
177
|
-
|
|
173
|
+
return w(this.column.titleValueSetValue, this.column.label);
|
|
174
|
+
}, filterHandler: (t2, e2, o2) => e2[o2.property] === t2, onFocus(t2) {
|
|
175
|
+
const e2 = h.get(this.listCode);
|
|
176
|
+
e2.lineEdit.editingCell && (e2.lineEdit.editingCell.row = t2, e2.lineEdit.editingCell.prop = this.column.prop);
|
|
177
|
+
}, findIndex(t2) {
|
|
178
|
+
this.index = t2;
|
|
179
|
+
const e2 = h.get(this.listCode);
|
|
180
|
+
e2.lineEdit.editingCell && (e2.lineEdit.editingCell.row = t2, e2.lineEdit.editingCell.prop = this.column.prop);
|
|
181
|
+
}, refresData(t2) {
|
|
182
|
+
n(this, "refresData", t2);
|
|
183
|
+
}, refresPortData(t2, e2) {
|
|
184
|
+
const o2 = h.get(this.listCode);
|
|
185
|
+
this.index, o2 && o2.lineEdit && o2.lineEdit.editingCell ? n(this, "refresPortData", t2, e2, o2.lineEdit.editingCell.row) : n(this, "refresPortData", t2, e2, this.index);
|
|
186
|
+
}, refresPortsData(t2) {
|
|
187
|
+
const e2 = h.get(this.listCode);
|
|
188
|
+
this.index, e2 && e2.lineEdit && e2.lineEdit.editingCell ? n(this, "refresPortsData", t2, e2.lineEdit.editingCell.row) : n(this, "refresPortsData", t2, this.index);
|
|
189
|
+
}, refresMainTableFields(t2) {
|
|
190
|
+
n(this, "refresMainTableFields", t2);
|
|
191
|
+
}, move(t2) {
|
|
192
|
+
if ("left" === t2) {
|
|
193
|
+
const t3 = a.getLeftColumn(this.column.prop);
|
|
194
|
+
h.get(this.listCode).lineEdit.editingCell.prop = t3;
|
|
178
195
|
}
|
|
179
196
|
}, isSaveByEnter() {
|
|
180
|
-
const
|
|
181
|
-
return void 0 ===
|
|
197
|
+
const t2 = h.get(this.listCode);
|
|
198
|
+
return void 0 === t2.options.lineEditOptions.isSaveByEnter || d("isSaveByEnter", this.listCode) && true === t2.options.lineEditOptions.isSaveByEnter;
|
|
182
199
|
}, isRestoreByEsc() {
|
|
183
|
-
const
|
|
184
|
-
return void 0 ===
|
|
185
|
-
}, canFocus(
|
|
186
|
-
const
|
|
187
|
-
return
|
|
188
|
-
}, getLabel(
|
|
189
|
-
this.transferColumnDataToUpperCase(
|
|
190
|
-
return this.objectPropValueTwo(
|
|
191
|
-
}, getCellValue(
|
|
192
|
-
let
|
|
193
|
-
return null ==
|
|
194
|
-
}, transferColumnDataToUpperCase(
|
|
195
|
-
this.isSql && /[A-Z]+/.test(this.column.prop) && this.transferColumnDataToUpperCaseWithProp(
|
|
196
|
-
}, transferColumnDataToUpperCaseWithProp(
|
|
200
|
+
const t2 = h.get(this.listCode);
|
|
201
|
+
return void 0 === t2.options.lineEditOptions.isRestoreByEsc || d("isRestoreByEsc", this.listCode) && true === t2.options.lineEditOptions.isRestoreByEsc;
|
|
202
|
+
}, canFocus(t2) {
|
|
203
|
+
const e2 = h.get(this.listCode);
|
|
204
|
+
return t2 === e2.lineEdit.editingCell.row && this.column.prop === e2.lineEdit.editingCell.prop;
|
|
205
|
+
}, getLabel(t2, e2) {
|
|
206
|
+
this.transferColumnDataToUpperCase(t2);
|
|
207
|
+
return this.objectPropValueTwo(t2, this.column);
|
|
208
|
+
}, getCellValue(t2) {
|
|
209
|
+
let e2 = x(t2, this.column.prop, false);
|
|
210
|
+
return null == e2 && (this.transferColumnDataToUpperCase(t2), e2 = x(t2, this.column.prop, false)), e2;
|
|
211
|
+
}, transferColumnDataToUpperCase(t2) {
|
|
212
|
+
this.isSql && /[A-Z]+/.test(this.column.prop) && this.transferColumnDataToUpperCaseWithProp(t2, this.column.prop.toLowerCase(), this.column.prop);
|
|
213
|
+
}, transferColumnDataToUpperCaseWithProp(t2, e2, o2) {
|
|
197
214
|
let i2;
|
|
198
|
-
if (
|
|
199
|
-
const n2 =
|
|
215
|
+
if (e2 && e2.indexOf(".") > 0) {
|
|
216
|
+
const n2 = v(e2, t2), l2 = e2.substring(e2.lastIndexOf(".") + 1);
|
|
200
217
|
i2 = n2[l2], void 0 !== i2 && (n2[o2] = i2, delete n2[l2]);
|
|
201
218
|
} else
|
|
202
|
-
i2 = e2
|
|
219
|
+
i2 = t2[e2], void 0 !== i2 && (t2[o2] = i2, delete t2[e2]);
|
|
203
220
|
return i2;
|
|
204
|
-
}, getHyperIconClass(
|
|
205
|
-
let
|
|
206
|
-
return
|
|
221
|
+
}, getHyperIconClass(t2) {
|
|
222
|
+
let e2;
|
|
223
|
+
return t2 && null !== t2 && t2.icon && "" !== t2.icon && (e2 = t2.icon), e2 && 0 === e2.indexOf("fa-") && (e2 = "fa " + e2), e2;
|
|
207
224
|
}, createFormSubTableRow() {
|
|
208
225
|
this.createRow(this.listCode);
|
|
209
|
-
}, handleCommand(
|
|
210
|
-
let
|
|
226
|
+
}, handleCommand(t2) {
|
|
227
|
+
let e2 = null;
|
|
211
228
|
this.column.operations.forEach((o2) => {
|
|
212
229
|
o2.isGroup && o2.buttons.forEach((o3) => {
|
|
213
|
-
o3.props.code ===
|
|
230
|
+
o3.props.code === t2.comman && (e2 = o3);
|
|
214
231
|
});
|
|
215
|
-
}),
|
|
216
|
-
}, beforeHandleCommand: (
|
|
217
|
-
this.fileList =
|
|
218
|
-
}, getFileList(
|
|
219
|
-
return
|
|
232
|
+
}), e2 && f.onClickFun(t2.row, this.column, e2.onClick, t2.rowIndex);
|
|
233
|
+
}, beforeHandleCommand: (t2, e2, o2) => ({ comman: t2, row: e2, rowIndex: o2 }), previewImg(t2) {
|
|
234
|
+
this.fileList = p(t2, this.column, this.isSql), this.showSingleImgFlag = true;
|
|
235
|
+
}, getFileList(t2) {
|
|
236
|
+
return p(t2, this.column, this.isSql);
|
|
220
237
|
}, getColumnWidth() {
|
|
221
238
|
return this.column && "operation" === this.column.prop && !this.column.width ? "210" : this.column.width ? this.column.width + "" : "130";
|
|
222
|
-
}, fnProhibitToEdit(
|
|
239
|
+
}, fnProhibitToEdit(t2) {
|
|
223
240
|
this.$nextTick(() => {
|
|
224
|
-
this.disabled = !
|
|
241
|
+
this.disabled = !t2;
|
|
225
242
|
});
|
|
226
|
-
}, prohibitToEdit(
|
|
227
|
-
|
|
243
|
+
}, prohibitToEdit(t2) {
|
|
244
|
+
n(this, "prohibitToEdit", t2);
|
|
228
245
|
}, isFieldRequired() {
|
|
229
|
-
return
|
|
230
|
-
}, showRichEditorContent(
|
|
246
|
+
return c(this.column, this.listCode);
|
|
247
|
+
}, showRichEditorContent(t2, e2, o2) {
|
|
231
248
|
this.showRichEditorViewer = true, this.$nextTick(() => {
|
|
232
|
-
this.$refs.richEditorViewerRef.showContent(e2
|
|
249
|
+
this.$refs.richEditorViewerRef.showContent(t2[e2.prop], o2);
|
|
233
250
|
});
|
|
234
251
|
}, closeRichEditorContent() {
|
|
235
252
|
this.showRichEditorViewer = false;
|
|
236
|
-
}, getColumnCustomControlControlConfig(
|
|
237
|
-
if (
|
|
238
|
-
const
|
|
239
|
-
return this.controlConfig && Object.assign(
|
|
253
|
+
}, getColumnCustomControlControlConfig(t2) {
|
|
254
|
+
if (t2 && t2.options && t2.options.controlConfig) {
|
|
255
|
+
const e2 = JSON.parse(t2.options.controlConfig);
|
|
256
|
+
return this.controlConfig && Object.assign(e2, this.controlConfig), e2;
|
|
240
257
|
}
|
|
241
258
|
return this.controlConfig;
|
|
242
|
-
}, isRequired(
|
|
243
|
-
return !!(!this.isFormSubTable && this.lineEdit && this.lineEdit.editable && this.isEditable &&
|
|
244
|
-
}, getFormatIconSetting(
|
|
245
|
-
this.transferColumnDataToUpperCase(
|
|
246
|
-
const
|
|
259
|
+
}, isRequired(t2) {
|
|
260
|
+
return !!(!this.isFormSubTable && this.lineEdit && this.lineEdit.editable && this.isEditable && t2 && this.column.validations && this.column.validations.indexOf('"required":true') > 0);
|
|
261
|
+
}, getFormatIconSetting(t2) {
|
|
262
|
+
this.transferColumnDataToUpperCase(t2);
|
|
263
|
+
const e2 = h.get(this.listCode), o2 = this.getIconSetting(this.column, t2, this.isSql, e2, this.listCode);
|
|
247
264
|
return o2.icon = this.getHyperIconClass(o2), this.column.formatter.options && this.column.formatter.options.format && (o2.position = JSON.parse(this.column.formatter.options.format).position), o2;
|
|
248
|
-
}, getLinkType(
|
|
265
|
+
}, getLinkType(t2) {
|
|
249
266
|
if (this.column.events && this.column.events.cellStyle) {
|
|
250
|
-
const
|
|
251
|
-
return
|
|
267
|
+
const e2 = { value: t2[this.column.property], row: t2, column: this.column, prop: this.column.property };
|
|
268
|
+
return h.get(this.listCode).options.eventCallBack[this.column.events.cellStyle].call(this, e2);
|
|
252
269
|
}
|
|
253
270
|
return "primary";
|
|
254
|
-
}, changeDisabled(
|
|
255
|
-
this.disabled =
|
|
271
|
+
}, changeDisabled(t2) {
|
|
272
|
+
this.disabled = t2;
|
|
256
273
|
}, refreshList() {
|
|
257
274
|
this.$emit("refresh-list");
|
|
258
275
|
}, getFilesFormatter() {
|
|
259
276
|
var _a;
|
|
260
277
|
return ((_a = this.column.formatter.options) == null ? void 0 : _a.fileSet) ? JSON.parse(this.column.formatter.options.fileSet) : {};
|
|
261
278
|
}, setScanRuleSets() {
|
|
262
|
-
this.scanEnable && this.controlConfig && this.controlConfig.scanRuleList &&
|
|
263
|
-
this.column._scanRuleSets =
|
|
279
|
+
this.scanEnable && this.controlConfig && this.controlConfig.scanRuleList && k(this.controlConfig.scanRuleList).then((t2) => {
|
|
280
|
+
this.column._scanRuleSets = t2;
|
|
264
281
|
});
|
|
265
|
-
}, changeRequired(
|
|
266
|
-
this.requiredClass =
|
|
267
|
-
}, openPageEvent(
|
|
268
|
-
this.$emit("open-page",
|
|
269
|
-
}, triggerCustomEvent(
|
|
270
|
-
return new Promise((
|
|
271
|
-
const
|
|
272
|
-
let s2 =
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
}) : (void 0 !== s2 && true !== s2 ||
|
|
282
|
+
}, changeRequired(t2) {
|
|
283
|
+
this.requiredClass = t2 ? "m-requried column-text-main" : "";
|
|
284
|
+
}, openPageEvent(t2) {
|
|
285
|
+
this.$emit("open-page", t2);
|
|
286
|
+
}, triggerCustomEvent(t2) {
|
|
287
|
+
return new Promise((e2) => {
|
|
288
|
+
const o2 = h.get(this.listCode), i2 = o2.isSubTableShowPage, n2 = o2.pagination && o2.pagination.pageSize;
|
|
289
|
+
let s2 = o2.options.lineEditOptions[t2].call(this, { gridData: i2 ? o2.subTableData : o2.gridData, listCode: this.listCode, entity: o2.gridData[this.rowIndex], row: o2.gridData[this.rowIndex], rowIndex: this.rowIndex, columns: o2.columns, isMobile: false, pageGridData: i2 ? o2.gridData : null, pageSize: n2, additionalParamMap: l(o2), pageContext: o2.pageContext, configureObj: o2.configureObj });
|
|
290
|
+
F(s2) ? s2.then((t3) => {
|
|
291
|
+
e2(void 0 === t3 || true === t3);
|
|
292
|
+
}) : (void 0 !== s2 && true !== s2 || e2(true), e2(false));
|
|
276
293
|
});
|
|
277
294
|
}, validateEditConditions() {
|
|
278
295
|
var _a;
|
|
279
296
|
if (this.controlConfig && ((_a = this.controlConfig.editConditions) == null ? void 0 : _a.length) > 0) {
|
|
280
|
-
const
|
|
281
|
-
if (!
|
|
282
|
-
if (!
|
|
297
|
+
const t2 = h.get(this.listCode).options;
|
|
298
|
+
if (!t2.isWorkflowEntity && t2.validateEitConditions) {
|
|
299
|
+
if (!t2.validateEitConditions({ row: this.row, editConditions: this.controlConfig.editConditions, listCode: this.listCode }))
|
|
283
300
|
return false;
|
|
284
301
|
}
|
|
285
302
|
}
|
|
@@ -287,14 +304,16 @@ const b = require("../../_virtual/_plugin-vue_export-helper.js"), y = { componen
|
|
|
287
304
|
}, getCustomParams() {
|
|
288
305
|
var _a, _b, _c;
|
|
289
306
|
if ("customControl" === this.column.formatter.type && ((_b = (_a = this.column.formatter) == null ? void 0 : _a.options) == null ? void 0 : _b.controlConfig)) {
|
|
290
|
-
const
|
|
291
|
-
if (
|
|
292
|
-
return
|
|
307
|
+
const t2 = JSON.parse(this.column.formatter.options.controlConfig);
|
|
308
|
+
if (t2 && t2.customParams)
|
|
309
|
+
return y(t2.customParams, (_c = this.options) == null ? void 0 : _c.pageContext, this.row);
|
|
293
310
|
}
|
|
294
|
-
} }, emits: ["refresData", "refresPortData", "refresPortsData", "refresMainTableFields", "prohibitToEdit", "deleteFormSubTableRow"] },
|
|
295
|
-
const
|
|
311
|
+
} }, emits: ["refresData", "refresPortData", "refresPortsData", "refresMainTableFields", "prohibitToEdit", "deleteFormSubTableRow"] }, X = { class: "normal-column-content-view" }, Q = { key: 0, "table-column-placeholder": "" }, Y = { key: 1, class: "grid-operation-buttons", "data-v": "20250527" }, tt = ["id"], et = { key: 0, type: "primary" }, ot = ["id", "title"], it = ["id", "title"], nt = ["id"], lt = ["id", "title"], st = ["id"], rt = { key: 0, type: "primary", style: { width: "100%" } }, at = ["id", "title"], dt = ["id"], pt = { key: 1 }, ct = ["id", "title"], mt = ["id", "title"], ut = ["id"], ht = ["id", "title", "innerHTML"], wt = ["id"];
|
|
312
|
+
const ft = z(Z, [["render", function(t2, e2, o2, i2, n2, l2) {
|
|
296
313
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
|
|
297
|
-
const
|
|
298
|
-
return C.openBlock(), C.createElementBlock("div", k, [l2.isEditing || o2.isShowForm ? (C.openBlock(), C.createBlock(r2, { key: 0, ref: "dynamicRef", value: o2.row[o2.column.prop], "onUpdate:value": t2[0] || (t2[0] = (e3) => o2.row[o2.column.prop] = e3), class: C.normalizeClass(n2.requiredClass), column: o2.column, "is-sql": o2.isSql, "line-edit": n2.lineEdit, "list-code": o2.listCode, "list-toolbar-form-data": o2.listToolbarFormData, options: o2.column.valueSet, "grid-options": n2.options, position: { row: o2.rowIndex, prop: o2.column.prop }, disabled: n2.disabled, row: o2.row, "row-index": o2.rowIndex, type: o2.column.componentType, onKeyup: C.withKeys(l2.clearAllEditing, ["enter"]), onFindIndex: t2[1] || (t2[1] = (e3) => l2.findIndex(o2.rowIndex)), onFocus: t2[2] || (t2[2] = (e3) => l2.onFocus(o2.rowIndex)), onProhibitToEdit: l2.prohibitToEdit, onRefreshList: l2.refreshList, onRefresData: l2.refresData, onRefresMainTableFields: l2.refresMainTableFields, onRefresPortData: l2.refresPortData, onRefresPortsData: l2.refresPortsData, onChangeDisabled: l2.changeDisabled, onChangeRequired: l2.changeRequired, onOpenPage: l2.openPageEvent }, null, 8, ["value", "class", "column", "is-sql", "line-edit", "list-code", "list-toolbar-form-data", "options", "grid-options", "position", "disabled", "row", "row-index", "type", "onKeyup", "onProhibitToEdit", "onRefreshList", "onRefresData", "onRefresMainTableFields", "onRefresPortData", "onRefresPortsData", "onChangeDisabled", "onChangeRequired", "onOpenPage"])) : (C.openBlock(), C.createElementBlock("div", { key: 1, class: C.normalizeClass(((_d = (_c = (_b = (_a = n2.options) == null ? void 0 : _a.configureObj) == null ? void 0 : _b.props) == null ? void 0 : _c.base) == null ? void 0 : _d.columnEditable) ? "column-text-main" : "") }, [n2.lineEdit.editable && ((_h = (_g = (_f = (_e = n2.options) == null ? void 0 : _e.configureObj) == null ? void 0 : _f.props) == null ? void 0 : _g.base) == null ? void 0 : _h.columnEditable) && n2.isEditable && !l2.isHideEdit && !o2.isContentViewText ? (C.openBlock(), C.createElementBlock("div", { key: 0, class: "column-text-edit-main", onClick: t2[3] || (t2[3] = (...e3) => l2.onEditing && l2.onEditing(...e3)) }, [C.createVNode(a2, { size: 14, color: "#409eff" }, { default: C.withCtx(() => [C.createVNode(s2)]), _: 1 }), [void 0, null, ""].includes(o2.row[o2.column.prop]) ? (C.openBlock(), C.createElementBlock("span", E, C.toDisplayString(e2.$t("superGrid.editablePlaceholder")), 1)) : C.createCommentVNode("", true)])) : C.createCommentVNode("", true), o2.column.operations ? (C.openBlock(), C.createElementBlock("span", x, [(C.openBlock(true), C.createElementBlock(C.Fragment, null, C.renderList(o2.column.operations, (t3, i3) => (C.openBlock(), C.createElementBlock("span", { key: i3, class: C.normalizeClass([o2.isShowForm ? "" : "cell--span", "buttons-row-content-span"]) }, [t3.isGroup ? (C.openBlock(), C.createBlock(d2, { key: 0, size: t3.buttons && t3.buttons.length > 0 ? t3.buttons[0].props.size : "small", "split-button": "", onCommand: l2.handleCommand }, { dropdown: C.withCtx(() => [C.createVNode(p2, null, { default: C.withCtx(() => [(C.openBlock(true), C.createElementBlock(C.Fragment, null, C.renderList(t3.buttons, (t4, i4) => (C.openBlock(), C.createElementBlock("span", { key: t4.props.code + i4 }, [C.withDirectives((C.openBlock(), C.createBlock(c2, { command: l2.beforeHandleCommand(t4.props.code, o2.row, o2.rowIndex), disabled: e2.preventReclick }, { default: C.withCtx(() => [C.createTextVNode(C.toDisplayString(e2.$escapeHtml(t4.props.label)), 1)]), _: 2 }, 1032, ["command", "disabled"])), [[A, t4.props.permission]])]))), 128))]), _: 2 }, 1024)]), default: C.withCtx(() => [C.createTextVNode(C.toDisplayString(e2.$escapeHtml(t3.label)) + " ", 1)]), _: 2 }, 1032, ["size", "onCommand"])) : t3.props.customControl ? C.withDirectives((C.openBlock(), C.createBlock(C.resolveDynamicComponent(t3.props.customControl), { key: o2.column.prop + "_" + o2.rowIndex + "_" + o2.currentPage, disabled: true, row: o2.pageGridData[o2.rowIndex], entity: o2.pageGridData[o2.rowIndex], prop: o2.column.prop, parent: n2.parentFormData, "row-index": o2.rowIndex, "grid-data": o2.gridData, "page-grid-data": o2.pageGridData, "current-page": o2.currentPage, "custom-params": n2.controlConfig ? n2.controlConfig.customParams : null, onRefreshList: l2.refreshList }, null, 40, ["row", "entity", "prop", "parent", "row-index", "grid-data", "page-grid-data", "current-page", "custom-params", "onRefreshList"])), [[A, t3.props.permission]]) : (C.openBlock(), C.createBlock(m2, { key: 2, column: o2.column, editing: o2.row.$editing, entity: o2.row, "is-show": t3.isShow, label: t3.props.label ? t3.props.label : o2.row[o2.column.prop], "on-click": t3.onClick, "operation-index": i3, "operation-setting": t3.props, "event-name": t3.eventName, "row-index": o2.rowIndex, "list-code": o2.listCode, "parent-form-data": n2.parentFormData, "is-table-btn-link": "" }, null, 8, ["column", "editing", "entity", "is-show", "label", "on-click", "operation-index", "operation-setting", "event-name", "row-index", "list-code", "parent-form-data"]))], 2))), 128))])) : e2.customFormatValue(o2.row, o2.column.prop, o2.customFormat, o2.rowIndex) ? (C.openBlock(), C.createElementBlock("span", { key: 2, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, [(C.openBlock(), C.createBlock(C.resolveDynamicComponent(e2.customFormatValue(o2.row, o2.column.prop, o2.customFormat, o2.rowIndex)), { entity: o2.row, parent: n2.parentFormData, prop: o2.column.prop, row: o2.row, "row-index": o2.rowIndex, "select-options": o2.column.valueSet, "show-value": e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)), value: l2.getCellValue(o2.row), "additional-param-map": n2.additionalParamMap, "additional-settings": n2.additionalSettings, "page-context": (_i = n2.options) == null ? void 0 : _i.pageContext, "custom-params": n2.controlConfig ? n2.controlConfig.customParams : null }, null, 8, ["entity", "parent", "prop", "row", "row-index", "select-options", "show-value", "value", "additional-param-map", "additional-settings", "page-context", "custom-params"]))], 2)) : void 0 !== n2.columnFormatter && void 0 !== n2.columnFormatter.type && "customControl" === n2.columnFormatter.type && n2.columnFormatter.options && n2.columnFormatter.options.format && "" !== n2.columnFormatter.options.format ? (C.openBlock(), C.createElementBlock("span", { key: 3, class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [(C.openBlock(), C.createBlock(C.resolveDynamicComponent(n2.columnFormatter.options.format), { key: o2.column.prop + "_" + o2.rowIndex + "_" + o2.currentPage, "current-page": o2.currentPage, disabled: true, entity: o2.pageGridData[o2.rowIndex], "get-form-data": n2.getFormData, "get-grid-data": n2.getTableGridData, "grid-data": o2.gridData, "page-grid-data": o2.pageGridData, parent: n2.parentFormData, prop: o2.column.prop, row: o2.pageGridData[o2.rowIndex], "row-index": o2.rowIndex, "select-options": o2.column.valueSet, "show-value": e2.$escapeHtml(l2.getLabel(o2.pageGridData[o2.rowIndex], o2.rowIndex)), value: l2.getCellValue(o2.pageGridData[o2.rowIndex]), "additional-param-map": n2.additionalParamMap, listCode: o2.listCode, "component-id": n2.componentId, "additional-settings": n2.additionalSettings, "page-context": (_j = n2.options) == null ? void 0 : _j.pageContext, "custom-params": l2.getCustomParams(), onProhibitToEdit: l2.prohibitToEdit, onRefreshList: l2.refreshList }, null, 40, ["current-page", "entity", "get-form-data", "get-grid-data", "grid-data", "page-grid-data", "parent", "prop", "row", "row-index", "select-options", "show-value", "value", "additional-param-map", "listCode", "component-id", "additional-settings", "page-context", "custom-params", "onProhibitToEdit", "onRefreshList"]))], 2)) : void 0 !== n2.columnFormatter && void 0 !== n2.columnFormatter.type && "secretInfo" === n2.columnFormatter.type ? (C.openBlock(), C.createElementBlock("span", { key: 4, id: o2.column.prop + "DomData" + o2.rowIndex, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, [C.createVNode(u2, { entity: o2.row, "field-label": e2.$escapeHtml(e2.label), "list-code": o2.listCode, "list-name": o2.listName, "page-code": o2.pageCode, prop: o2.column.prop, "table-name": o2.tableName, value: l2.getCellValue(o2.row) }, null, 8, ["entity", "field-label", "list-code", "list-name", "page-code", "prop", "table-name", "value"])], 10, v)) : e2.isObjectProp(o2.column.prop) ? (C.openBlock(), C.createElementBlock(C.Fragment, { key: 5 }, [o2.column.formatter && "files" === o2.column.formatter.type ? (C.openBlock(), C.createElementBlock("span", S, [C.createElementVNode("span", { id: o2.column.prop + "DomData" + o2.rowIndex, title: e2.isShowOverflowTooltip ? e2.$escapeHtml(l2.getLabel(o2.row)) : "", class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [C.createVNode(h2, { entity: o2.row, "file-set-obj": l2.getFilesFormatter(), "is-sql": o2.isSql, label: e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, D)])) : "hyperlinks" === ((_k = n2.columnFormatter) == null ? void 0 : _k.type) && true === n2.linkObject.visible ? (C.openBlock(), C.createBlock(g2, { key: 1, type: l2.getLinkType(o2.row), onClick: t2[4] || (t2[4] = (t3) => e2.clickHyperLink(o2.column, o2.row, o2.listCode, o2.rowIndex)) }, { default: C.withCtx(() => [e2.isShowOverflowTooltip ? (C.openBlock(), C.createElementBlock("span", { key: 0, id: o2.column.prop + "DomData" + o2.rowIndex, style: C.normalizeStyle("newline" === n2.textOverflow ? {} : { width: n2.cellWidth + "px" }), title: n2.linkObject.title, class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [C.createTextVNode(C.toDisplayString(n2.linkObject.label) + " ", 1), n2.linkObject.icon ? (C.openBlock(), C.createBlock(w2, { key: 0, iconValue: n2.linkObject.icon }, null, 8, ["iconValue"])) : C.createCommentVNode("", true)], 14, B)) : (C.openBlock(), C.createElementBlock("span", { key: 1, id: o2.column.prop + "DomData" + o2.rowIndex, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, [C.createTextVNode(C.toDisplayString(n2.linkObject.label) + " ", 1), n2.linkObject.icon ? (C.openBlock(), C.createBlock(w2, { key: 0, iconValue: n2.linkObject.icon }, null, 8, ["iconValue"])) : C.createCommentVNode("", true)], 10, I))]), _: 1 }, 8, ["type"])) : e2.isShowOverflowTooltip ? (C.openBlock(), C.createElementBlock("span", { key: 2, id: o2.column.prop + "DomData" + o2.rowIndex, style: C.normalizeStyle("newline" === n2.textOverflow ? {} : { width: n2.cellWidth + "px" }), title: e2.$escapeHtml(l2.getLabel(o2.row)), class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, C.toDisplayString(e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex))), 15, T)) : (C.openBlock(), C.createElementBlock("span", { key: 3, id: o2.column.prop + "DomData" + o2.rowIndex, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, C.toDisplayString(e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex))), 11, F))], 64)) : (C.openBlock(), C.createElementBlock(C.Fragment, { key: 6 }, ["annex" === o2.column.componentType || "multipartUpload" === o2.column.componentType ? (C.openBlock(), C.createElementBlock("span", O, [e2.isShowOverflowTooltip ? (C.openBlock(), C.createElementBlock("span", { key: 0, id: o2.column.prop + "DomData" + o2.rowIndex, title: e2.$escapeHtml(l2.getLabel(o2.row)), class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [C.createVNode(h2, { width: n2.cellWidth, entity: o2.row, "file-set-obj": l2.getFileObj(o2.column.fileSet), "is-sql": o2.isSql, label: e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 8, ["width", "entity", "file-set-obj", "is-sql", "label"])], 10, P)) : (C.openBlock(), C.createElementBlock("span", { key: 1, id: o2.column.prop + "DomData" + o2.rowIndex, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, [C.createVNode(h2, { entity: o2.row, "file-set-obj": l2.getFileObj(o2.column.fileSet), "is-sql": o2.isSql, label: e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, $))])) : o2.column.formatter && "files" === o2.column.formatter.type ? (C.openBlock(), C.createElementBlock("span", j, [C.createElementVNode("span", { id: o2.column.prop + "DomData" + o2.rowIndex, title: e2.isShowOverflowTooltip ? e2.$escapeHtml(l2.getLabel(o2.row)) : "", class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [C.createVNode(h2, { entity: o2.row, "file-set-obj": l2.getFilesFormatter(), "is-sql": o2.isSql, label: e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, q)])) : "hyperlinks" === ((_l = n2.columnFormatter) == null ? void 0 : _l.type) && n2.linkObject.visible ? (C.openBlock(), C.createBlock(g2, { key: 2, type: "primary", onClick: t2[5] || (t2[5] = (t3) => e2.clickHyperLink(o2.column, o2.row, o2.listCode, o2.rowIndex)) }, { default: C.withCtx(() => [e2.isShowOverflowTooltip ? (C.openBlock(), C.createElementBlock("span", { key: 0, id: o2.column.prop + "DomData" + o2.rowIndex, style: C.normalizeStyle("newline" === n2.textOverflow ? {} : { width: n2.cellWidth + "px" }), title: e2.$escapeHtml(n2.linkObject.title), class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [C.createTextVNode(C.toDisplayString(e2.$escapeHtml(n2.linkObject.label)) + " ", 1), n2.linkObject.icon ? (C.openBlock(), C.createBlock(w2, { key: 0, iconValue: n2.linkObject.icon }, null, 8, ["iconValue"])) : C.createCommentVNode("", true)], 14, R)) : (C.openBlock(), C.createElementBlock("span", { key: 1, id: o2.column.prop + "DomData" + o2.rowIndex, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, [C.createTextVNode(C.toDisplayString(e2.$escapeHtml(n2.linkObject.label)) + " ", 1), n2.linkObject.icon ? (C.openBlock(), C.createBlock(w2, { key: 0, iconValue: n2.linkObject.icon }, null, 8, ["iconValue"])) : C.createCommentVNode("", true)], 10, V))]), _: 1 })) : o2.column.formatter && "richEditor" === o2.column.formatter.type ? (C.openBlock(), C.createBlock(f2, { key: 3, content: e2.$t("superGrid.show"), class: "item", effect: "dark", placement: "top" }, { default: C.withCtx(() => [C.createElementVNode("em", { class: "fa fa-info-circle annex-cell", onClick: t2[6] || (t2[6] = (e3) => l2.showRichEditorContent(o2.row, o2.column, l2.getHeader())) })]), _: 1 }, 8, ["content"])) : o2.column.formatter && "icon" === o2.column.formatter.type ? (C.openBlock(), C.createBlock(b2, { key: 4, id: o2.column.prop + "DomData" + o2.rowIndex, column: o2.column, row: o2.row, "row-index": o2.rowIndex, "is-sql": o2.isSql, "list-code": o2.listCode }, null, 8, ["id", "column", "row", "row-index", "is-sql", "list-code"])) : e2.isShowOverflowTooltip ? (C.openBlock(), C.createElementBlock("span", { key: 5, id: o2.column.prop + "DomData" + o2.rowIndex, style: C.normalizeStyle("newline" === n2.textOverflow ? {} : { width: n2.cellWidth + "px" }), title: l2.getLabel(o2.row), class: C.normalizeClass("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span"), innerHTML: e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 14, L)) : (C.openBlock(), C.createElementBlock("span", { key: 6, id: o2.column.prop + "DomData" + o2.rowIndex, class: C.normalizeClass(o2.isShowForm ? "" : "cell--span") }, C.toDisplayString(e2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex))), 11, N))], 64))], 2)), n2.showSingleImgFlag ? (C.openBlock(), C.createBlock(y2, { key: 2, "file-list": n2.fileList, onClose: t2[7] || (t2[7] = (e3) => n2.showSingleImgFlag = false) }, null, 8, ["file-list"])) : C.createCommentVNode("", true), n2.showRichEditorViewer ? (C.openBlock(), C.createBlock(H2, { key: 3, ref: "richEditorViewerRef", onCloseRichEditorContent: l2.closeRichEditorContent }, null, 8, ["onCloseRichEditorContent"])) : C.createCommentVNode("", true)]);
|
|
314
|
+
const s2 = O("dynamic-input"), r2 = O("Edit"), a2 = O("el-icon"), d2 = O("el-dropdown-item"), p2 = O("el-dropdown-menu"), c2 = O("el-dropdown"), m2 = O("row-operation"), u2 = O("secret-info"), h2 = O("FsPreview"), w2 = O("SuperIcon"), f2 = O("el-link"), g2 = O("el-tooltip"), b2 = O("GridIcon"), C2 = O("view-image-dialog"), y2 = O("rich-editor-viewer"), x2 = j("permission");
|
|
315
|
+
return P(), R("div", X, [l2.isEditing || o2.isShowForm ? (P(), $(s2, { key: 0, ref: "dynamicRef", value: o2.row[o2.column.prop], "onUpdate:value": e2[0] || (e2[0] = (t3) => o2.row[o2.column.prop] = t3), class: L(n2.requiredClass), column: o2.column, "is-sql": o2.isSql, "line-edit": n2.lineEdit, "list-code": o2.listCode, "list-toolbar-form-data": o2.listToolbarFormData, options: o2.column.valueSet, "grid-options": n2.options, position: { row: o2.rowIndex, prop: o2.column.prop }, disabled: n2.disabled, row: o2.row, "row-index": o2.rowIndex, type: o2.column.componentType, onKeyup: q(l2.clearAllEditing, ["enter"]), onFindIndex: e2[1] || (e2[1] = (t3) => l2.findIndex(o2.rowIndex)), onFocus: e2[2] || (e2[2] = (t3) => l2.onFocus(o2.rowIndex)), onProhibitToEdit: l2.prohibitToEdit, onRefreshList: l2.refreshList, onRefresData: l2.refresData, onRefresMainTableFields: l2.refresMainTableFields, onRefresPortData: l2.refresPortData, onRefresPortsData: l2.refresPortsData, onChangeDisabled: l2.changeDisabled, onChangeRequired: l2.changeRequired, onOpenPage: l2.openPageEvent }, null, 8, ["value", "class", "column", "is-sql", "line-edit", "list-code", "list-toolbar-form-data", "options", "grid-options", "position", "disabled", "row", "row-index", "type", "onKeyup", "onProhibitToEdit", "onRefreshList", "onRefresData", "onRefresMainTableFields", "onRefresPortData", "onRefresPortsData", "onChangeDisabled", "onChangeRequired", "onOpenPage"])) : (P(), R("div", { key: 1, class: L(((_d = (_c = (_b = (_a = n2.options) == null ? void 0 : _a.configureObj) == null ? void 0 : _b.props) == null ? void 0 : _c.base) == null ? void 0 : _d.columnEditable) ? "column-text-main" : "") }, [n2.lineEdit.editable && ((_h = (_g = (_f = (_e = n2.options) == null ? void 0 : _e.configureObj) == null ? void 0 : _f.props) == null ? void 0 : _g.base) == null ? void 0 : _h.columnEditable) && n2.isEditable && !l2.isHideEdit && !o2.isContentViewText ? (P(), R("div", { key: 0, class: "column-text-edit-main", onClick: e2[3] || (e2[3] = (...t3) => l2.onEditing && l2.onEditing(...t3)) }, [H(a2, { size: 14, color: "#409eff" }, { default: G(() => [H(r2)]), _: 1 }), [void 0, null, ""].includes(o2.row[o2.column.prop]) ? (P(), R("span", Q, A(t2.$t("superGrid.editablePlaceholder")), 1)) : V("", true)])) : V("", true), o2.column.operations ? (P(), R("span", Y, [(P(true), R(_, null, M(o2.column.operations, (e3, i3) => (P(), R("span", { key: i3, class: L([o2.isShowForm ? "" : "cell--span", "buttons-row-content-span"]) }, [e3.isGroup ? (P(), $(c2, { key: 0, size: e3.buttons && e3.buttons.length > 0 ? e3.buttons[0].props.size : "small", "split-button": "", onCommand: l2.handleCommand }, { dropdown: G(() => [H(p2, null, { default: G(() => [(P(true), R(_, null, M(e3.buttons, (e4, i4) => (P(), R("span", { key: e4.props.code + i4 }, [N((P(), $(d2, { command: l2.beforeHandleCommand(e4.props.code, o2.row, o2.rowIndex), disabled: t2.preventReclick }, { default: G(() => [B(A(t2.$escapeHtml(e4.props.label)), 1)]), _: 2 }, 1032, ["command", "disabled"])), [[x2, e4.props.permission]])]))), 128))]), _: 2 }, 1024)]), default: G(() => [B(A(t2.$escapeHtml(e3.label)) + " ", 1)]), _: 2 }, 1032, ["size", "onCommand"])) : e3.props.customControl ? N((P(), $(W(e3.props.customControl), { key: o2.column.prop + "_" + o2.rowIndex + "_" + o2.currentPage, disabled: true, row: o2.pageGridData[o2.rowIndex], entity: o2.pageGridData[o2.rowIndex], prop: o2.column.prop, parent: n2.parentFormData, "row-index": o2.rowIndex, "grid-data": o2.gridData, "page-grid-data": o2.pageGridData, "current-page": o2.currentPage, "custom-params": n2.controlConfig ? n2.controlConfig.customParams : null, onRefreshList: l2.refreshList }, null, 40, ["row", "entity", "prop", "parent", "row-index", "grid-data", "page-grid-data", "current-page", "custom-params", "onRefreshList"])), [[x2, e3.props.permission]]) : (P(), $(m2, { key: 2, column: o2.column, editing: o2.row.$editing, entity: o2.row, "is-show": e3.isShow, label: e3.props.label ? e3.props.label : o2.row[o2.column.prop], "on-click": e3.onClick, "operation-index": i3, "operation-setting": e3.props, "event-name": e3.eventName, "row-index": o2.rowIndex, "list-code": o2.listCode, "parent-form-data": n2.parentFormData, "is-table-btn-link": "" }, null, 8, ["column", "editing", "entity", "is-show", "label", "on-click", "operation-index", "operation-setting", "event-name", "row-index", "list-code", "parent-form-data"]))], 2))), 128))])) : t2.customFormatValue(o2.row, o2.column.prop, o2.customFormat, o2.rowIndex) ? (P(), R("span", { key: 2, class: L(o2.isShowForm ? "" : "cell--span") }, [(P(), $(W(t2.customFormatValue(o2.row, o2.column.prop, o2.customFormat, o2.rowIndex)), { entity: o2.row, parent: n2.parentFormData, prop: o2.column.prop, row: o2.row, "row-index": o2.rowIndex, "select-options": o2.column.valueSet, "show-value": t2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)), value: l2.getCellValue(o2.row), "additional-param-map": n2.additionalParamMap, "additional-settings": n2.additionalSettings, "page-context": (_i = n2.options) == null ? void 0 : _i.pageContext, "custom-params": n2.controlConfig ? n2.controlConfig.customParams : null }, null, 8, ["entity", "parent", "prop", "row", "row-index", "select-options", "show-value", "value", "additional-param-map", "additional-settings", "page-context", "custom-params"]))], 2)) : void 0 !== n2.columnFormatter && void 0 !== n2.columnFormatter.type && "customControl" === n2.columnFormatter.type && n2.columnFormatter.options && n2.columnFormatter.options.format && "" !== n2.columnFormatter.options.format ? (P(), R("span", { key: 3, class: L("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [(P(), $(W(n2.columnFormatter.options.format), { key: o2.column.prop + "_" + o2.rowIndex + "_" + o2.currentPage, "current-page": o2.currentPage, disabled: true, entity: o2.pageGridData[o2.rowIndex], "get-form-data": n2.getFormData, "get-grid-data": n2.getTableGridData, "grid-data": o2.gridData, "page-grid-data": o2.pageGridData, parent: n2.parentFormData, prop: o2.column.prop, row: o2.pageGridData[o2.rowIndex], "row-index": o2.rowIndex, "select-options": o2.column.valueSet, "show-value": t2.$escapeHtml(l2.getLabel(o2.pageGridData[o2.rowIndex], o2.rowIndex)), value: l2.getCellValue(o2.pageGridData[o2.rowIndex]), "additional-param-map": n2.additionalParamMap, listCode: o2.listCode, "component-id": n2.componentId, "additional-settings": n2.additionalSettings, "page-context": (_j = n2.options) == null ? void 0 : _j.pageContext, "custom-params": l2.getCustomParams(), onProhibitToEdit: l2.prohibitToEdit, onRefreshList: l2.refreshList }, null, 40, ["current-page", "entity", "get-form-data", "get-grid-data", "grid-data", "page-grid-data", "parent", "prop", "row", "row-index", "select-options", "show-value", "value", "additional-param-map", "listCode", "component-id", "additional-settings", "page-context", "custom-params", "onProhibitToEdit", "onRefreshList"]))], 2)) : void 0 !== n2.columnFormatter && void 0 !== n2.columnFormatter.type && "secretInfo" === n2.columnFormatter.type ? (P(), R("span", { key: 4, id: o2.column.prop + "DomData" + o2.rowIndex, class: L(o2.isShowForm ? "" : "cell--span") }, [H(u2, { entity: o2.row, "field-label": t2.$escapeHtml(t2.label), "list-code": o2.listCode, "list-name": o2.listName, "page-code": o2.pageCode, prop: o2.column.prop, "table-name": o2.tableName, value: l2.getCellValue(o2.row) }, null, 8, ["entity", "field-label", "list-code", "list-name", "page-code", "prop", "table-name", "value"])], 10, tt)) : t2.isObjectProp(o2.column.prop) ? (P(), R(_, { key: 5 }, [o2.column.formatter && "files" === o2.column.formatter.type ? (P(), R("span", et, [U("span", { id: o2.column.prop + "DomData" + o2.rowIndex, title: t2.isShowOverflowTooltip ? t2.$escapeHtml(l2.getLabel(o2.row)) : "", class: L("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [H(h2, { entity: o2.row, "file-set-obj": l2.getFilesFormatter(), "is-sql": o2.isSql, label: t2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, ot)])) : "hyperlinks" === ((_k = n2.columnFormatter) == null ? void 0 : _k.type) && true === n2.linkObject.visible ? (P(), $(f2, { key: 1, type: l2.getLinkType(o2.row), onClick: e2[4] || (e2[4] = (e3) => t2.clickHyperLink(o2.column, o2.row, o2.listCode, o2.rowIndex)) }, { default: G(() => [t2.isShowOverflowTooltip ? (P(), R("span", { key: 0, id: o2.column.prop + "DomData" + o2.rowIndex, style: J("newline" === n2.textOverflow ? {} : { width: n2.cellWidth + "px" }), title: n2.linkObject.title, class: L("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [B(A(n2.linkObject.label) + " ", 1), n2.linkObject.icon ? (P(), $(w2, { key: 0, iconValue: n2.linkObject.icon }, null, 8, ["iconValue"])) : V("", true)], 14, it)) : (P(), R("span", { key: 1, id: o2.column.prop + "DomData" + o2.rowIndex, class: L(o2.isShowForm ? "" : "cell--span") }, [B(A(n2.linkObject.label) + " ", 1), n2.linkObject.icon ? (P(), $(w2, { key: 0, iconValue: n2.linkObject.icon }, null, 8, ["iconValue"])) : V("", true)], 10, nt))]), _: 1 }, 8, ["type"])) : t2.isShowOverflowTooltip ? (P(), R("span", { key: 2, id: o2.column.prop + "DomData" + o2.rowIndex, style: J("newline" === n2.textOverflow ? {} : { width: n2.cellWidth + "px" }), title: t2.$escapeHtml(l2.getLabel(o2.row)), class: L("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, A(t2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex))), 15, lt)) : (P(), R("span", { key: 3, id: o2.column.prop + "DomData" + o2.rowIndex, class: L(o2.isShowForm ? "" : "cell--span") }, A(t2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex))), 11, st))], 64)) : (P(), R(_, { key: 6 }, ["annex" === o2.column.componentType || "multipartUpload" === o2.column.componentType ? (P(), R("span", rt, [t2.isShowOverflowTooltip ? (P(), R("span", { key: 0, id: o2.column.prop + "DomData" + o2.rowIndex, title: t2.$escapeHtml(l2.getLabel(o2.row)), class: L("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [H(h2, { width: n2.cellWidth, entity: o2.row, "file-set-obj": l2.getFileObj(o2.column.fileSet), "is-sql": o2.isSql, label: t2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 8, ["width", "entity", "file-set-obj", "is-sql", "label"])], 10, at)) : (P(), R("span", { key: 1, id: o2.column.prop + "DomData" + o2.rowIndex, class: L(o2.isShowForm ? "" : "cell--span") }, [H(h2, { entity: o2.row, "file-set-obj": l2.getFileObj(o2.column.fileSet), "is-sql": o2.isSql, label: t2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, dt))])) : o2.column.formatter && "files" === o2.column.formatter.type ? (P(), R("span", pt, [U("span", { id: o2.column.prop + "DomData" + o2.rowIndex, title: t2.isShowOverflowTooltip ? t2.$escapeHtml(l2.getLabel(o2.row)) : "", class: L("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [H(h2, { entity: o2.row, "file-set-obj": l2.getFilesFormatter(), "is-sql": o2.isSql, label: t2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 8, ["entity", "file-set-obj", "is-sql", "label"])], 10, ct)])) : "hyperlinks" === ((_l = n2.columnFormatter) == null ? void 0 : _l.type) && n2.linkObject.visible ? (P(), $(f2, { key: 2, type: "primary", onClick: e2[5] || (e2[5] = (e3) => t2.clickHyperLink(o2.column, o2.row, o2.listCode, o2.rowIndex)) }, { default: G(() => [t2.isShowOverflowTooltip ? (P(), R("span", { key: 0, id: o2.column.prop + "DomData" + o2.rowIndex, style: J("newline" === n2.textOverflow ? {} : { width: n2.cellWidth + "px" }), title: t2.$escapeHtml(n2.linkObject.title), class: L("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span") }, [B(A(t2.$escapeHtml(n2.linkObject.label)) + " ", 1), n2.linkObject.icon ? (P(), $(w2, { key: 0, iconValue: n2.linkObject.icon }, null, 8, ["iconValue"])) : V("", true)], 14, mt)) : (P(), R("span", { key: 1, id: o2.column.prop + "DomData" + o2.rowIndex, class: L(o2.isShowForm ? "" : "cell--span") }, [B(A(t2.$escapeHtml(n2.linkObject.label)) + " ", 1), n2.linkObject.icon ? (P(), $(w2, { key: 0, iconValue: n2.linkObject.icon }, null, 8, ["iconValue"])) : V("", true)], 10, ut))]), _: 1 })) : o2.column.formatter && "richEditor" === o2.column.formatter.type ? (P(), $(g2, { key: 3, content: t2.$t("superGrid.show"), class: "item", effect: "dark", placement: "top" }, { default: G(() => [U("em", { class: "fa fa-info-circle annex-cell", onClick: e2[6] || (e2[6] = (t3) => l2.showRichEditorContent(o2.row, o2.column, l2.getHeader())) })]), _: 1 }, 8, ["content"])) : o2.column.formatter && "icon" === o2.column.formatter.type ? (P(), $(b2, { key: 4, id: o2.column.prop + "DomData" + o2.rowIndex, column: o2.column, row: o2.row, "row-index": o2.rowIndex, "is-sql": o2.isSql, "list-code": o2.listCode }, null, 8, ["id", "column", "row", "row-index", "is-sql", "list-code"])) : t2.isShowOverflowTooltip ? (P(), R("span", { key: 5, id: o2.column.prop + "DomData" + o2.rowIndex, style: J("newline" === n2.textOverflow ? {} : { width: n2.cellWidth + "px" }), title: l2.getLabel(o2.row), class: L("newline" === n2.textOverflow ? "wrap-text" : "ellipsis cell--span"), innerHTML: t2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex)) }, null, 14, ht)) : (P(), R("span", { key: 6, id: o2.column.prop + "DomData" + o2.rowIndex, class: L(o2.isShowForm ? "" : "cell--span") }, A(t2.$escapeHtml(l2.getLabel(o2.row, o2.rowIndex))), 11, wt))], 64))], 2)), n2.showSingleImgFlag ? (P(), $(C2, { key: 2, "file-list": n2.fileList, onClose: e2[7] || (e2[7] = (t3) => n2.showSingleImgFlag = false) }, null, 8, ["file-list"])) : V("", true), n2.showRichEditorViewer ? (P(), $(y2, { key: 3, ref: "richEditorViewerRef", onCloseRichEditorContent: l2.closeRichEditorContent }, null, 8, ["onCloseRichEditorContent"])) : V("", true)]);
|
|
299
316
|
}], ["__scopeId", "data-v-bbad0ee0"]]);
|
|
300
|
-
|
|
317
|
+
export {
|
|
318
|
+
ft as default
|
|
319
|
+
};
|