agilebuilder-ui 1.1.65-tmp13 → 1.1.65-tmp15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.full.min.js +16440 -0
- package/{es → dist}/style.css +2121 -2120
- package/lib/IntervalSelection/index.js +7 -5
- package/lib/IntervalSelection/src/sectionDate.vue.js +21 -17
- package/lib/IntervalSelection/src/sectionDate.vue2.js +4 -2
- package/lib/_virtual/__vite-browser-external.js +4 -2
- package/lib/_virtual/_plugin-vue_export-helper.js +8 -6
- package/lib/breadcrumb/index.js +5 -3
- package/lib/breadcrumb/src/breadcrumb.vue.js +19 -28
- package/lib/breadcrumb/src/breadcrumb.vue2.js +4 -2
- package/lib/chat-embed/index.js +5 -3
- package/lib/chat-embed/src/chat-addition-data.vue.js +7 -5
- package/lib/chat-embed/src/chat-addition-data.vue2.js +13 -11
- package/lib/chat-embed/src/chat-addition-data.vue3.js +4 -2
- package/lib/chat-embed/src/chat-ai-answer-tip.vue.js +7 -5
- package/lib/chat-embed/src/chat-ai-answer-tip.vue2.js +20 -17
- package/lib/chat-embed/src/chat-ai-answer-tip.vue3.js +4 -2
- package/lib/chat-embed/src/chat-bubble-footer.vue.js +7 -5
- package/lib/chat-embed/src/chat-bubble-footer.vue2.js +22 -17
- package/lib/chat-embed/src/chat-bubble-footer.vue3.js +4 -2
- package/lib/chat-embed/src/chat-embed-message.js +20 -14
- package/lib/chat-embed/src/chat-sender.vue.js +7 -5
- package/lib/chat-embed/src/chat-sender.vue2.js +123 -110
- package/lib/chat-embed/src/chat-sender.vue3.js +4 -2
- package/lib/chat-embed/src/components/answer-auto-chart.vue.js +7 -5
- package/lib/chat-embed/src/components/answer-auto-chart.vue2.js +50 -42
- package/lib/chat-embed/src/components/answer-auto-chart.vue3.js +4 -2
- package/lib/chat-embed/src/components/answer-home-chart.vue.js +7 -5
- package/lib/chat-embed/src/components/answer-home-chart.vue2.js +6 -3
- package/lib/chat-embed/src/components/answer-home-chart.vue3.js +4 -2
- package/lib/chat-embed/src/components/answer-interaction-data.vue.js +7 -5
- package/lib/chat-embed/src/components/answer-interaction-data.vue2.js +84 -74
- package/lib/chat-embed/src/components/answer-interaction-data.vue3.js +4 -2
- package/lib/chat-embed/src/components/history-detail.vue.js +7 -5
- package/lib/chat-embed/src/components/history-detail.vue2.js +32 -27
- package/lib/chat-embed/src/components/history-detail.vue3.js +4 -2
- package/lib/chat-embed/src/header.vue.js +7 -5
- package/lib/chat-embed/src/header.vue2.js +32 -25
- package/lib/chat-embed/src/header.vue3.js +4 -2
- package/lib/chat-embed/src/index.vue.js +7 -5
- package/lib/chat-embed/src/index.vue2.js +211 -185
- package/lib/chat-embed/src/index.vue3.js +4 -2
- package/lib/chat-embed/src/recommendation-message.vue.js +7 -5
- package/lib/chat-embed/src/recommendation-message.vue2.js +8 -5
- package/lib/chat-embed/src/recommendation-message.vue3.js +4 -2
- package/lib/chat-embed/src/sidebar-item.vue.js +7 -5
- package/lib/chat-embed/src/sidebar-item.vue2.js +93 -84
- package/lib/chat-embed/src/sidebar-item.vue3.js +4 -2
- package/lib/chat-embed/src/type.js +5 -3
- package/lib/chat-embed/src/util/chat-embed-util.js +41 -35
- package/lib/chat-embed/src/util/history-message-util.js +85 -63
- package/lib/chat-embed/src/util/mcp-utils.js +8 -5
- package/lib/chat-embed/src/util/text-file-util.js +11 -7
- package/lib/chat-embed/src/voice/index.js +7 -5
- package/lib/chat-embed/src/voice/js/crypto-js.js +995 -987
- package/lib/chat-embed/src/voice/js/processor/index.umd.js +169 -161
- package/lib/chat-embed/src/voice/js/timer.js +10 -7
- package/lib/chat-embed/src/voice/voice.vue.js +70 -61
- package/lib/date-picker-range/index.js +7 -5
- package/lib/date-picker-range/index.vue.js +7 -5
- package/lib/date-picker-range/index.vue2.js +63 -59
- package/lib/date-picker-range/index.vue3.js +4 -2
- package/lib/department-tree/index.js +5 -3
- package/lib/department-tree/src/department-tree.vue.js +17 -11
- package/lib/department-tree-inline/index.js +5 -3
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue.js +27 -17
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue2.js +4 -2
- package/lib/department-tree-inline/src/department-single-tree-inline.vue.js +27 -17
- package/lib/department-tree-inline/src/department-single-tree-inline.vue2.js +4 -2
- package/lib/department-tree-inline/src/department-tree-inline.vue.js +13 -8
- package/lib/department-tree-inline/src/department-tree-service.js +10 -8
- package/lib/department-tree-inline/src/search-result.vue.js +23 -19
- package/lib/department-tree-inline/src/search-result.vue2.js +4 -2
- package/lib/department-tree-mobile/index.js +7 -4
- package/lib/department-tree-mobile/src/department-tree-app.vue.js +12 -9
- package/lib/department-tree-mobile/src/department-tree-app.vue2.js +4 -2
- package/lib/department-tree-mobile/src/department-tree-app.vue3.js +5 -3
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue.js +91 -80
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue2.js +4 -3
- package/lib/department-tree-mobile/src/department-tree-service.js +42 -32
- package/lib/department-tree-mobile/src/dept-path.vue.js +11 -10
- package/lib/department-tree-mobile/src/dept-path.vue2.js +4 -3
- package/lib/department-tree-mobile/src/dept-result.vue.js +14 -11
- package/lib/department-tree-mobile/src/dept-result.vue2.js +4 -3
- package/lib/department-user-tree/index.js +5 -3
- package/lib/department-user-tree/src/department-user-multiple-tree.vue.js +14 -10
- package/lib/department-user-tree/src/department-user-multiple-tree.vue2.js +4 -2
- package/lib/department-user-tree/src/department-user-single-tree.vue.js +14 -9
- package/lib/department-user-tree/src/department-user-tree.vue.js +20 -14
- package/lib/department-user-tree-inline/index.js +5 -3
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +28 -17
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js +4 -2
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +33 -21
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue2.js +4 -2
- package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.js +13 -8
- package/lib/department-user-tree-inline/src/department-user-tree-multi-service.js +9 -6
- package/lib/department-user-tree-inline/src/department-user-tree-single-service.js +11 -8
- package/lib/department-user-tree-inline/src/group-user/group-input.vue.js +12 -7
- package/lib/department-user-tree-inline/src/group-user/group-list.vue.js +12 -7
- package/lib/department-user-tree-inline/src/group-user/group-user.vue.js +14 -8
- package/lib/department-user-tree-inline/src/group-user-multiple-tree.vue.js +20 -14
- package/lib/department-user-tree-inline/src/group-user-single-tree.vue.js +23 -17
- package/lib/department-user-tree-inline/src/group-user-tree-service.js +3 -2
- package/lib/department-user-tree-inline/src/search-result.vue.js +15 -12
- package/lib/department-user-tree-inline/src/search-result.vue2.js +4 -2
- package/lib/department-user-tree-mobile/index.js +7 -4
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.js +12 -9
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue2.js +4 -2
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue3.js +5 -3
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +104 -93
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +4 -3
- package/lib/department-user-tree-mobile/src/department-user-tree-service.js +30 -20
- package/lib/department-user-tree-mobile/src/dept-path.vue.js +11 -10
- package/lib/department-user-tree-mobile/src/dept-path.vue2.js +4 -3
- package/lib/department-user-tree-mobile/src/dept-result.vue.js +15 -11
- package/lib/department-user-tree-mobile/src/dept-result.vue2.js +4 -3
- package/lib/directives/prevent-reclick.js +3 -2
- package/lib/dynamic-source-select/index.js +7 -5
- package/lib/dynamic-source-select/src/dynamic-source-select-service.js +15 -13
- package/lib/dynamic-source-select/src/dynamic-source-select.vue.js +183 -173
- package/lib/dynamic-source-select/src/dynamic-source-select.vue2.js +4 -2
- package/lib/dynamic-source-select/src/dynamic-source-select.vue3.js +4 -2
- package/lib/dynamic-source-select/src/events.js +3 -2
- package/lib/empty-state/index.vue.js +8 -5
- package/lib/empty-state/index.vue2.js +4 -3
- package/lib/fs-preview/index.js +7 -5
- package/lib/fs-preview/src/fs-preview.vue.js +72 -63
- package/lib/fs-preview/src/fs-preview.vue2.js +4 -2
- package/lib/fs-upload/index.js +7 -5
- package/lib/fs-upload/src/fs-upload-multi.vue.js +32 -24
- package/lib/fs-upload/src/fs-upload-single.vue.js +39 -30
- package/lib/fs-upload/src/fs-upload.vue.js +16 -10
- package/lib/fs-upload/src/see-big-picture.vue.js +11 -8
- package/lib/fs-upload-list/index.js +7 -5
- package/lib/fs-upload-list/src/fs-upload-list.vue.js +40 -33
- package/lib/fs-upload-list/src/fs-upload-list.vue2.js +4 -2
- package/lib/fs-upload-new/index.js +7 -5
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +38 -34
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +4 -3
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +109 -101
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +4 -3
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +7 -5
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +33 -26
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.js +4 -2
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +31 -27
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +4 -3
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +24 -18
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +4 -3
- package/lib/fs-upload-new/src/fs-button-upload.vue.js +7 -5
- package/lib/fs-upload-new/src/fs-button-upload.vue2.js +43 -36
- package/lib/fs-upload-new/src/fs-button-upload.vue3.js +4 -2
- package/lib/fs-upload-new/src/fs-drag-upload.vue.js +7 -5
- package/lib/fs-upload-new/src/fs-drag-upload.vue2.js +45 -37
- package/lib/fs-upload-new/src/fs-drag-upload.vue3.js +4 -2
- package/lib/fs-upload-new/src/fs-preview-new.vue.js +8 -5
- package/lib/fs-upload-new/src/fs-preview-new.vue2.js +70 -61
- package/lib/fs-upload-new/src/fs-preview-new.vue3.js +4 -2
- package/lib/fs-upload-new/src/fs-preview-new.vue4.js +4 -2
- package/lib/fs-upload-new/src/fs-upload-new.vue.js +47 -37
- package/lib/fs-upload-new/src/fs-upload-new.vue2.js +4 -3
- package/lib/hamburger/index.js +5 -3
- package/lib/hamburger/src/hamburger.vue.js +14 -10
- package/lib/hamburger/src/hamburger.vue2.js +4 -2
- package/lib/index.js +382 -40
- package/lib/json-view/json-view-dialog.vue.js +15 -12
- package/lib/json-view/json-view-dialog.vue2.js +4 -3
- package/lib/json-view/json-view.vue.js +4 -3
- package/lib/json-view/json-view.vue2.js +31 -27
- package/lib/multipart-upload/index.js +7 -5
- package/lib/multipart-upload/src/index.vue.js +11 -7
- package/lib/multipart-upload/src/multipart-upload-form.vue.js +49 -40
- package/lib/multipart-upload/src/multipart-upload-list.vue.js +67 -59
- package/lib/organization-input/index.js +7 -5
- package/lib/organization-input/src/organization-input.vue.js +37 -31
- package/lib/organization-input/src/organization-input.vue2.js +4 -2
- package/lib/plugins/export-data-new.js +104 -96
- package/lib/plugins/export-data.js +51 -45
- package/lib/plugins/index.js +8 -4
- package/lib/plugins/public-method.js +3 -2
- package/lib/remove-department/index.js +5 -3
- package/lib/remove-department/src/remove-department.vue.js +19 -13
- package/lib/remove-department/src/remove-dept-service.js +10 -9
- package/lib/remove-user/index.js +7 -5
- package/lib/remove-user/src/remove-user-service.js +4 -3
- package/lib/remove-user/src/remove-user.vue.js +22 -16
- package/lib/remove-workgroup/index.js +7 -5
- package/lib/remove-workgroup/src/remove-workgroup-service.js +4 -3
- package/lib/remove-workgroup/src/remove-workgroup.vue.js +18 -12
- package/lib/rich-editor/index.js +7 -5
- package/lib/rich-editor/index.vue.js +76 -28
- package/lib/rich-editor/tinymce/zh_CN.js +2 -2
- package/lib/rich-editor/viewer.vue.js +10 -7
- package/lib/row-form/index.js +7 -5
- package/lib/row-form/index.vue.js +7 -5
- package/lib/row-form/index.vue2.js +47 -41
- package/lib/row-form/index.vue3.js +4 -2
- package/lib/row-form/operation.vue.js +26 -22
- package/lib/row-form/operation.vue2.js +4 -3
- package/lib/scan-code-input/index.js +7 -5
- package/lib/scan-code-input/src/events.js +13 -11
- package/lib/scan-code-input/src/scan-code-input.vue.js +15 -9
- package/lib/scan-code-input-browser/index.js +7 -5
- package/lib/scan-code-input-browser/src/scan-code-input.vue.js +21 -16
- package/lib/secret-info/index.js +7 -5
- package/lib/secret-info/index.vue.js +9 -6
- package/lib/src/api/sso-service.js +36 -34
- package/lib/src/api/tab.js +9 -8
- package/lib/src/assets/401/401.gif.js +4 -2
- package/lib/src/assets/404/404-cloud.png.js +4 -2
- package/lib/src/assets/404/404.png.js +4 -2
- package/lib/src/assets/chat-embed/robot.gif.js +4 -2
- package/lib/src/assets/chat-embed/robot.svg.js +4 -2
- package/lib/src/assets/nonemessage.png.js +4 -2
- package/lib/src/components/Affix/index.vue.js +7 -5
- package/lib/src/components/Affix/index.vue2.js +58 -56
- package/lib/src/components/Affix/index.vue3.js +4 -2
- package/lib/src/components/Card/index.js +38 -33
- package/lib/src/components/Scrollbar/index.vue.js +37 -33
- package/lib/src/components/Scrollbar/index.vue2.js +4 -2
- package/lib/src/directives/permission/index.js +5 -3
- package/lib/src/directives/permission/permission.js +9 -7
- package/lib/src/i18n/i18n.js +7 -3
- package/lib/src/i18n/langs/cn.js +4 -2
- package/lib/src/i18n/langs/en.js +4 -2
- package/lib/src/mixins/resizeMixin.js +3 -2
- package/lib/src/permission.js +46 -43
- package/lib/src/router/index.js +9 -16
- package/lib/src/store/getters.js +4 -2
- package/lib/src/store/index.js +13 -16
- package/lib/src/store/modules/app.js +4 -3
- package/lib/src/store/modules/chat-ai-store.js +22 -19
- package/lib/src/store/modules/permission.js +11 -10
- package/lib/src/store/modules/system.js +9 -7
- package/lib/src/store/modules/tab-content.js +15 -13
- package/lib/src/store/modules/table.js +3 -2
- package/lib/src/store/modules/user.js +95 -89
- package/lib/src/utils/auth-api.js +5 -3
- package/lib/src/utils/auth.js +139 -69
- package/lib/src/utils/calculator/calculator-factory-wf.js +49 -48
- package/lib/src/utils/calculator/calculator-factory.js +58 -57
- package/lib/src/utils/calculator/calculator-util.js +32 -29
- package/lib/src/utils/chat-ai-util.js +25 -17
- package/lib/src/utils/common-util.js +356 -271
- package/lib/src/utils/eventBus.js +6 -3
- package/lib/src/utils/file-util.js +16 -15
- package/lib/src/utils/global-prop.js +37 -21
- package/lib/src/utils/guid.js +8 -5
- package/lib/src/utils/i18n-util.js +24 -16
- package/lib/src/utils/iconUtils.js +23 -16
- package/lib/src/utils/index.js +40 -26
- package/lib/src/utils/insert_css.js +7 -8
- package/lib/src/utils/json-util.js +27 -25
- package/lib/src/utils/jump-page-utils.js +180 -172
- package/lib/src/utils/local-storage.js +3 -2
- package/lib/src/utils/menu.js +11 -10
- package/lib/src/utils/permission.js +26 -22
- package/lib/src/utils/permissionAuth.js +136 -102
- package/lib/src/utils/range-selector.js +45 -41
- package/lib/src/utils/request.js +86 -77
- package/lib/src/utils/resize.js +5 -5
- package/lib/src/utils/restful-interface-utils.js +15 -12
- package/lib/src/utils/util.js +26 -6
- package/lib/src/utils/validate.js +20 -10
- package/lib/src/utils/voice-setting-cache.js +153 -140
- package/lib/src/utils/watermark-cache.js +14 -9
- package/lib/src/utils/watermark.js +30 -23
- package/lib/src/utils/workflow-util.js +26 -25
- package/lib/src/views/dsc-component/Sidebar/Item.vue.js +7 -5
- package/lib/src/views/dsc-component/Sidebar/Item.vue2.js +11 -8
- package/lib/src/views/dsc-component/Sidebar/Item.vue3.js +4 -2
- package/lib/src/views/dsc-component/Sidebar/Link.vue.js +12 -9
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue.js +26 -19
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue2.js +4 -2
- package/lib/src/views/dsc-component/Sidebar/index.vue.js +20 -12
- package/lib/src/views/dsc-component/tabs/tab-content.vue.js +26 -21
- package/lib/src/views/dsc-component/tabs/tab-content.vue2.js +4 -2
- package/lib/src/views/dsc-component/tabs/tab-content.vue3.js +4 -2
- package/lib/src/views/error-page/401.vue.js +13 -9
- package/lib/src/views/error-page/401.vue2.js +4 -2
- package/lib/src/views/error-page/404.vue.js +11 -7
- package/lib/src/views/error-page/404.vue2.js +4 -2
- package/lib/src/views/layout/EmptyLayout.vue.js +8 -6
- package/lib/src/views/layout/Layout.vue.js +19 -12
- package/lib/src/views/layout/Layout.vue2.js +4 -2
- package/lib/src/views/layout/NewLayout.vue.js +10 -6
- package/lib/src/views/layout/components/AppMain.vue.js +11 -9
- package/lib/src/views/layout/components/AppMain.vue2.js +4 -2
- package/lib/src/views/layout/components/Breadcrumb/index.vue.js +37 -44
- package/lib/src/views/layout/components/Breadcrumb/index.vue2.js +4 -2
- package/lib/src/views/layout/components/Menubar/Item.vue.js +7 -5
- package/lib/src/views/layout/components/Menubar/Item.vue2.js +14 -12
- package/lib/src/views/layout/components/Menubar/Item.vue3.js +4 -2
- package/lib/src/views/layout/components/Menubar/Link.vue.js +12 -9
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue.js +24 -15
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue2.js +4 -2
- package/lib/src/views/layout/components/Menubar/index.vue.js +30 -19
- package/lib/src/views/layout/components/Sidebar/Item.vue.js +8 -6
- package/lib/src/views/layout/components/Sidebar/Item.vue2.js +4 -3
- package/lib/src/views/layout/components/Sidebar/Link.vue.js +11 -8
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue.js +17 -11
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue2.js +4 -2
- package/lib/src/views/layout/components/Sidebar/index.vue.js +25 -18
- package/lib/src/views/layout/components/iframe-page.vue.js +10 -8
- package/lib/src/views/layout/components/iframe-page.vue2.js +4 -2
- package/lib/src/views/layout/components/tabs/tab-content.vue.js +14 -10
- package/lib/src/views/layout/components/tabs/tab-content.vue2.js +4 -2
- package/lib/src/views/layout/components/tabs/tab-content.vue3.js +4 -2
- package/lib/src/views/layout/mixin/ResizeHandler.js +5 -3
- package/lib/src/views/layout/tab-content-iframe-index.vue.js +10 -8
- package/lib/src/views/layout/tab-content-iframe-index.vue2.js +4 -2
- package/lib/src/views/layout/tab-content-index.vue.js +18 -12
- package/lib/src/views/layout/tab-content-index.vue2.js +4 -2
- package/lib/src/views/login/authredirect.vue.js +3 -2
- package/lib/src/views/redirect/index.vue.js +8 -17
- package/lib/src/views/svg-icon/src/svg-icon.vue.js +4 -2
- package/lib/src/views/wf-history/tache-subprocess-history.vue.js +13 -11
- package/lib/src/views/wf-history/tache-subprocess-history.vue2.js +4 -2
- package/lib/style.css +769 -769
- package/lib/super-grid/index.js +7 -5
- package/lib/super-grid/src/apis.js +231 -221
- package/lib/super-grid/src/columns-config.vue.js +22 -16
- package/lib/super-grid/src/components/grid-icon.vue.js +34 -26
- package/lib/super-grid/src/components/grid-radio-input.vue.js +18 -15
- package/lib/super-grid/src/components/grid-radio-input.vue2.js +4 -3
- package/lib/super-grid/src/components/mobile-table-card.js +83 -73
- package/lib/super-grid/src/components/select-input.vue.js +106 -98
- package/lib/super-grid/src/components/select-input.vue2.js +4 -3
- package/lib/super-grid/src/custom-formatter.js +74 -69
- package/lib/super-grid/src/dynamic-input.vue.js +159 -142
- package/lib/super-grid/src/eventBus.js +6 -3
- package/lib/super-grid/src/events.js +36 -34
- package/lib/super-grid/src/formValidatorUtil.js +65 -62
- package/lib/super-grid/src/formatter.js +41 -36
- package/lib/super-grid/src/group-column.vue.js +13 -8
- package/lib/super-grid/src/header-context-menu.vue.js +13 -10
- package/lib/super-grid/src/header-context-menu.vue2.js +4 -2
- package/lib/super-grid/src/index-column.vue.js +10 -7
- package/lib/super-grid/src/normal-column-content.vue.js +205 -186
- package/lib/super-grid/src/normal-column-content.vue2.js +4 -2
- package/lib/super-grid/src/normal-column.vue.js +55 -40
- package/lib/super-grid/src/normal-column.vue2.js +4 -2
- package/lib/super-grid/src/public-methods.js +14 -12
- package/lib/super-grid/src/row-detail.vue.js +10 -7
- package/lib/super-grid/src/row-operation.vue.js +26 -19
- package/lib/super-grid/src/row-operation.vue2.js +4 -2
- package/lib/super-grid/src/scan-util.js +26 -24
- package/lib/super-grid/src/search-button.vue.js +17 -12
- package/lib/super-grid/src/search-condition-input.vue.js +12 -8
- package/lib/super-grid/src/search-condition-list.vue.js +13 -10
- package/lib/super-grid/src/search-form-advancedQuery.vue.js +23 -13
- package/lib/super-grid/src/search-form-advancedQuery.vue2.js +4 -2
- package/lib/super-grid/src/search-form-dialog.vue.js +13 -9
- package/lib/super-grid/src/search-form-item.vue.js +24 -16
- package/lib/super-grid/src/search-form-item.vue2.js +4 -2
- package/lib/super-grid/src/search-form-mobile.vue.js +22 -13
- package/lib/super-grid/src/search-form-mobile.vue2.js +4 -2
- package/lib/super-grid/src/search-form-number.vue.js +14 -9
- package/lib/super-grid/src/search-form-open.vue.js +13 -7
- package/lib/super-grid/src/search-form-ordinarySearch.vue.js +19 -11
- package/lib/super-grid/src/search-form-ordinarySearch.vue2.js +4 -2
- package/lib/super-grid/src/search-form.vue.js +77 -65
- package/lib/super-grid/src/search-form.vue2.js +4 -2
- package/lib/super-grid/src/search-methods.js +3 -2
- package/lib/super-grid/src/selection-column.vue.js +9 -7
- package/lib/super-grid/src/store.js +4 -3
- package/lib/super-grid/src/super-grid-service.js +128 -121
- package/lib/super-grid/src/super-grid.vue.js +217 -186
- package/lib/super-grid/src/super-grid.vue2.js +4 -2
- package/lib/super-grid/src/utils.js +322 -265
- package/lib/super-grid/src/view-image-dialog.vue.js +33 -26
- package/lib/super-icon/index.js +7 -5
- package/lib/super-icon/src/index.vue.js +7 -5
- package/lib/super-icon/src/index.vue2.js +11 -8
- package/lib/super-icon/src/index.vue3.js +4 -2
- package/lib/super-nine-grid/index.js +7 -5
- package/lib/super-nine-grid/src/apis.js +8 -5
- package/lib/super-nine-grid/src/custom-formatter.js +7 -5
- package/lib/super-nine-grid/src/formatter.js +29 -28
- package/lib/super-nine-grid/src/search-form-number.vue.js +12 -8
- package/lib/super-nine-grid/src/search-form.vue.js +40 -33
- package/lib/super-nine-grid/src/search-form.vue2.js +4 -2
- package/lib/super-nine-grid/src/search-methods.js +3 -2
- package/lib/super-nine-grid/src/store.js +4 -3
- package/lib/super-nine-grid/src/super-grid-service.js +9 -5
- package/lib/super-nine-grid/src/super-nine-grid.vue.js +105 -95
- package/lib/super-nine-grid/src/super-nine-grid.vue2.js +4 -2
- package/lib/super-nine-grid/src/utils.js +27 -31
- package/lib/svg-icon/index.js +7 -5
- package/lib/svg-icon/src/svg-icon.vue.js +10 -8
- package/lib/svg-icon/src/svg-icon.vue2.js +4 -2
- package/lib/utils/gogocodeTransfer.js +28 -23
- package/lib/utils/memory-cache-utils.js +5 -3
- package/lib/utils/organization.js +53 -40
- package/lib/utils/utils.js +29 -27
- package/lib/utils/value-set.js +70 -68
- package/lib/valid-code/index.js +7 -5
- package/lib/valid-code/src/valid-code.vue.js +13 -10
- package/lib/valid-code/src/valid-code.vue2.js +4 -2
- package/lib/workflow-button/index.js +5 -3
- package/lib/workflow-button/src/workflow-button.vue.js +39 -34
- package/lib/workflow-history-list/index.js +7 -5
- package/lib/workflow-history-list/src/api.js +3 -2
- package/lib/workflow-history-list/src/workflow-history-list.vue.js +65 -59
- package/lib/workflow-history-list/src/workflow-history-list.vue2.js +4 -2
- package/lib/workgroup-tree/index.js +7 -5
- package/lib/workgroup-tree/src/workgroup-tree.vue.js +17 -11
- package/lib/workgroup-tree-inline/index.js +5 -3
- package/lib/workgroup-tree-inline/src/search-result.vue.js +25 -21
- package/lib/workgroup-tree-inline/src/search-result.vue2.js +4 -2
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +52 -43
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js +4 -2
- package/lib/workgroup-tree-inline/src/workgroup-tree-service.js +7 -5
- package/lib/workgroup-tree-mobile/index.js +8 -5
- package/lib/workgroup-tree-mobile/src/dept-result.vue.js +14 -11
- package/lib/workgroup-tree-mobile/src/dept-result.vue2.js +4 -3
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +12 -9
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue2.js +4 -2
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +5 -3
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +86 -76
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +4 -3
- package/lib/workgroup-tree-mobile/src/workgroup-tree-service.js +28 -20
- package/lib/workgroup-user-tree/index.js +7 -5
- package/lib/workgroup-user-tree/src/workgroup-user-tree.vue.js +17 -11
- package/lib/workgroup-user-tree-inline/index.js +5 -3
- package/lib/workgroup-user-tree-inline/src/search-result.vue.js +25 -21
- package/lib/workgroup-user-tree-inline/src/search-result.vue2.js +4 -2
- package/lib/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +11 -9
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +43 -34
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.js +4 -2
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue.js +11 -10
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue2.js +4 -3
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue.js +15 -11
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue2.js +4 -3
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +12 -9
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js +4 -2
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +5 -3
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +104 -93
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +4 -3
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-service.js +25 -16
- package/lib/year-range-picker/index.js +5 -3
- package/lib/year-range-picker/src/year-range-picker.vue.js +12 -9
- package/package.json +4 -5
- package/vite.config.js +10 -10
- package/es/IntervalSelection/index.js +0 -7
- package/es/IntervalSelection/src/sectionDate.vue.js +0 -49
- package/es/IntervalSelection/src/sectionDate.vue2.js +0 -4
- package/es/_virtual/__vite-browser-external.js +0 -4
- package/es/_virtual/_plugin-vue_export-helper.js +0 -9
- package/es/breadcrumb/index.js +0 -7
- package/es/breadcrumb/src/breadcrumb.vue.js +0 -28
- package/es/breadcrumb/src/breadcrumb.vue2.js +0 -4
- package/es/chat-embed/index.js +0 -7
- package/es/chat-embed/src/chat-addition-data.vue.js +0 -7
- package/es/chat-embed/src/chat-addition-data.vue2.js +0 -14
- package/es/chat-embed/src/chat-addition-data.vue3.js +0 -4
- package/es/chat-embed/src/chat-ai-answer-tip.vue.js +0 -7
- package/es/chat-embed/src/chat-ai-answer-tip.vue2.js +0 -29
- package/es/chat-embed/src/chat-ai-answer-tip.vue3.js +0 -4
- package/es/chat-embed/src/chat-bubble-footer.vue.js +0 -7
- package/es/chat-embed/src/chat-bubble-footer.vue2.js +0 -33
- package/es/chat-embed/src/chat-bubble-footer.vue3.js +0 -4
- package/es/chat-embed/src/chat-embed-message.js +0 -22
- package/es/chat-embed/src/chat-sender.vue.js +0 -7
- package/es/chat-embed/src/chat-sender.vue2.js +0 -160
- package/es/chat-embed/src/chat-sender.vue3.js +0 -4
- package/es/chat-embed/src/components/answer-auto-chart.vue.js +0 -7
- package/es/chat-embed/src/components/answer-auto-chart.vue2.js +0 -59
- package/es/chat-embed/src/components/answer-auto-chart.vue3.js +0 -4
- package/es/chat-embed/src/components/answer-home-chart.vue.js +0 -7
- package/es/chat-embed/src/components/answer-home-chart.vue2.js +0 -6
- package/es/chat-embed/src/components/answer-home-chart.vue3.js +0 -4
- package/es/chat-embed/src/components/answer-interaction-data.vue.js +0 -7
- package/es/chat-embed/src/components/answer-interaction-data.vue2.js +0 -118
- package/es/chat-embed/src/components/answer-interaction-data.vue3.js +0 -4
- package/es/chat-embed/src/components/history-detail.vue.js +0 -7
- package/es/chat-embed/src/components/history-detail.vue2.js +0 -55
- package/es/chat-embed/src/components/history-detail.vue3.js +0 -4
- package/es/chat-embed/src/header.vue.js +0 -7
- package/es/chat-embed/src/header.vue2.js +0 -46
- package/es/chat-embed/src/header.vue3.js +0 -4
- package/es/chat-embed/src/index.vue.js +0 -7
- package/es/chat-embed/src/index.vue2.js +0 -307
- package/es/chat-embed/src/index.vue3.js +0 -4
- package/es/chat-embed/src/recommendation-message.vue.js +0 -7
- package/es/chat-embed/src/recommendation-message.vue2.js +0 -8
- package/es/chat-embed/src/recommendation-message.vue3.js +0 -4
- package/es/chat-embed/src/sidebar-item.vue.js +0 -7
- package/es/chat-embed/src/sidebar-item.vue2.js +0 -118
- package/es/chat-embed/src/sidebar-item.vue3.js +0 -4
- package/es/chat-embed/src/type.js +0 -5
- package/es/chat-embed/src/util/chat-embed-util.js +0 -57
- package/es/chat-embed/src/util/history-message-util.js +0 -96
- package/es/chat-embed/src/util/mcp-utils.js +0 -53
- package/es/chat-embed/src/util/text-file-util.js +0 -12
- package/es/chat-embed/src/voice/index.js +0 -7
- package/es/chat-embed/src/voice/js/crypto-js.js +0 -1013
- package/es/chat-embed/src/voice/js/processor/index.umd.js +0 -178
- package/es/chat-embed/src/voice/js/timer.js +0 -11
- package/es/chat-embed/src/voice/voice.vue.js +0 -104
- package/es/date-picker-range/index.js +0 -7
- package/es/date-picker-range/index.vue.js +0 -7
- package/es/date-picker-range/index.vue2.js +0 -93
- package/es/date-picker-range/index.vue3.js +0 -4
- package/es/department-tree/index.js +0 -7
- package/es/department-tree/src/department-tree.vue.js +0 -23
- package/es/department-tree-inline/index.js +0 -7
- package/es/department-tree-inline/src/department-multi-tree-inline.vue.js +0 -91
- package/es/department-tree-inline/src/department-multi-tree-inline.vue2.js +0 -4
- package/es/department-tree-inline/src/department-single-tree-inline.vue.js +0 -64
- package/es/department-tree-inline/src/department-single-tree-inline.vue2.js +0 -4
- package/es/department-tree-inline/src/department-tree-inline.vue.js +0 -17
- package/es/department-tree-inline/src/department-tree-service.js +0 -108
- package/es/department-tree-inline/src/search-result.vue.js +0 -40
- package/es/department-tree-inline/src/search-result.vue2.js +0 -4
- package/es/department-tree-mobile/index.js +0 -8
- package/es/department-tree-mobile/src/department-tree-app.vue.js +0 -15
- package/es/department-tree-mobile/src/department-tree-app.vue2.js +0 -4
- package/es/department-tree-mobile/src/department-tree-app.vue3.js +0 -5
- package/es/department-tree-mobile/src/department-tree-inline-app.vue.js +0 -121
- package/es/department-tree-mobile/src/department-tree-inline-app.vue2.js +0 -4
- package/es/department-tree-mobile/src/department-tree-service.js +0 -55
- package/es/department-tree-mobile/src/dept-path.vue.js +0 -14
- package/es/department-tree-mobile/src/dept-path.vue2.js +0 -4
- package/es/department-tree-mobile/src/dept-result.vue.js +0 -16
- package/es/department-tree-mobile/src/dept-result.vue2.js +0 -4
- package/es/department-user-tree/index.js +0 -7
- package/es/department-user-tree/src/department-user-multiple-tree.vue.js +0 -20
- package/es/department-user-tree/src/department-user-multiple-tree.vue2.js +0 -4
- package/es/department-user-tree/src/department-user-single-tree.vue.js +0 -19
- package/es/department-user-tree/src/department-user-tree.vue.js +0 -27
- package/es/department-user-tree-inline/index.js +0 -7
- package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +0 -165
- package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js +0 -4
- package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +0 -69
- package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue2.js +0 -4
- package/es/department-user-tree-inline/src/department-user-tree-inline.vue.js +0 -16
- package/es/department-user-tree-inline/src/department-user-tree-multi-service.js +0 -81
- package/es/department-user-tree-inline/src/department-user-tree-single-service.js +0 -54
- package/es/department-user-tree-inline/src/group-user/group-input.vue.js +0 -39
- package/es/department-user-tree-inline/src/group-user/group-list.vue.js +0 -27
- package/es/department-user-tree-inline/src/group-user/group-user.vue.js +0 -16
- package/es/department-user-tree-inline/src/group-user-multiple-tree.vue.js +0 -78
- package/es/department-user-tree-inline/src/group-user-single-tree.vue.js +0 -34
- package/es/department-user-tree-inline/src/group-user-tree-service.js +0 -34
- package/es/department-user-tree-inline/src/search-result.vue.js +0 -41
- package/es/department-user-tree-inline/src/search-result.vue2.js +0 -4
- package/es/department-user-tree-mobile/index.js +0 -8
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue.js +0 -15
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue2.js +0 -4
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue3.js +0 -5
- package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +0 -135
- package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +0 -4
- package/es/department-user-tree-mobile/src/department-user-tree-service.js +0 -38
- package/es/department-user-tree-mobile/src/dept-path.vue.js +0 -14
- package/es/department-user-tree-mobile/src/dept-path.vue2.js +0 -4
- package/es/department-user-tree-mobile/src/dept-result.vue.js +0 -17
- package/es/department-user-tree-mobile/src/dept-result.vue2.js +0 -4
- package/es/directives/prevent-reclick.js +0 -15
- package/es/dynamic-source-select/index.js +0 -7
- package/es/dynamic-source-select/src/dynamic-source-select-service.js +0 -32
- package/es/dynamic-source-select/src/dynamic-source-select.vue.js +0 -276
- package/es/dynamic-source-select/src/dynamic-source-select.vue2.js +0 -4
- package/es/dynamic-source-select/src/dynamic-source-select.vue3.js +0 -4
- package/es/dynamic-source-select/src/events.js +0 -29
- package/es/empty-state/index.vue.js +0 -9
- package/es/empty-state/index.vue2.js +0 -4
- package/es/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/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
- /package/{es → dist}/favicon.svg +0 -0
|
@@ -1,49 +1,57 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { $emit as t } from "../../utils/gogocodeTransfer.js";
|
|
2
|
+
import e from "./custom-formatter.js";
|
|
3
|
+
import s from "./search-form.vue.js";
|
|
4
|
+
import { getGridParams as i, getTableHeight as o, isHasOptionFunction as n, addDynamicProp as a } from "./utils.js";
|
|
5
|
+
import r from "./store.js";
|
|
6
|
+
import l from "./super-grid-service.js";
|
|
7
|
+
import h from "./apis.js";
|
|
8
|
+
import p from "sortablejs";
|
|
9
|
+
import { resolveComponent as d, resolveDirective as c, openBlock as u, createElementBlock as g, withDirectives as m, createBlock as f, vShow as S, createCommentVNode as b, createElementVNode as I, normalizeStyle as y, createVNode as C, withCtx as v, toDisplayString as w, Fragment as P, renderList as D, normalizeClass as x, withModifiers as k, resolveDynamicComponent as z, createTextVNode as F, renderSlot as T } from "vue";
|
|
10
|
+
import "./super-nine-grid.vue2.js";
|
|
11
|
+
import _ from "../../_virtual/_plugin-vue_export-helper.js";
|
|
12
|
+
const O = { name: "SuperNineGrid", components: { SearchForm: s }, props: { code: { type: String, default: "" }, url: { type: String, default: "" }, options: { type: Object, default: function() {
|
|
5
13
|
return {};
|
|
6
14
|
} }, publishVersion: { type: Number, default: 0 } }, data() {
|
|
7
15
|
let t2 = [];
|
|
8
16
|
this.options && this.options.mergeFields && "" !== this.options.mergeFields && (t2 = this.options.mergeFields.split(","));
|
|
9
|
-
const e2 = window.$vueApp.config.globalProperties.baseAPI + "/component/super-form/show-image?serverPath=",
|
|
10
|
-
return { isLoading: false, currentPage: 1, showColumnConfig: false, basicInfo: { summary: "no" }, columns: [], pagination: null, query: null, lineEdit: null, gridData: [], sortInfo: null, pageSize: null, showSearch: false, height: null, isSql: false, hasLoadData: false, mergeFields: t2, hasLoadedColumns: false, seen: false, current: null, isHasCreate: true, screenBaseUrl: null, props: null, operations: [], propCloumns: null, multiple: false, createPermission: "true", urlToSaveOrder: null, selections: [], selectionIds: [], selectionModels: {}, searchFormContent: null, initSearchProps: [], defaultShowImageAction: e2, gridId:
|
|
17
|
+
const e2 = window.$vueApp.config.globalProperties.baseAPI + "/component/super-form/show-image?serverPath=", s2 = this.options && this.options.id ? this.options.id : "_nineGrid";
|
|
18
|
+
return { isLoading: false, currentPage: 1, showColumnConfig: false, basicInfo: { summary: "no" }, columns: [], pagination: null, query: null, lineEdit: null, gridData: [], sortInfo: null, pageSize: null, showSearch: false, height: null, isSql: false, hasLoadData: false, mergeFields: t2, hasLoadedColumns: false, seen: false, current: null, isHasCreate: true, screenBaseUrl: null, props: null, operations: [], propCloumns: null, multiple: false, createPermission: "true", urlToSaveOrder: null, selections: [], selectionIds: [], selectionModels: {}, searchFormContent: null, initSearchProps: [], defaultShowImageAction: e2, gridId: s2, storeId: this.code + "~" + s2, currentId: null, isShowRadio: !(!this.options || void 0 === this.options.showRadio) && this.options.showRadio, titleStyle: null, isShowEnableState: false, colSpan: 6, slotBefore: "before", titleWidth: this.options && this.options.style && void 0 !== this.options.style.titleWidth ? this.options.style.titleWidth : "60%", slotState: "bottom", isShowBottom: true };
|
|
11
19
|
}, computed: {}, provide: () => ({}), created() {
|
|
12
|
-
|
|
20
|
+
r.set(this.code + "~" + this.gridId, i()), r.set("_nine_list_code", this.code + "~" + this.gridId), this.initSetting(), this.initialize(), this.operations;
|
|
13
21
|
}, mounted() {
|
|
14
22
|
this.$watch("showSearch", function(t2, e2) {
|
|
15
23
|
this.$nextTick(() => {
|
|
16
|
-
let e3 = o
|
|
17
|
-
const
|
|
18
|
-
|
|
24
|
+
let e3 = o(t2, this.$refs.sf);
|
|
25
|
+
const s2 = this.resizeHeight();
|
|
26
|
+
s2 && (e3 = s2), this.height = e3;
|
|
19
27
|
});
|
|
20
28
|
}, { immediate: true, deep: true }), this.$watch("hasLoadData", function(t2, e2) {
|
|
21
29
|
true === t2 && this.$nextTick(() => {
|
|
22
|
-
const t3 =
|
|
23
|
-
|
|
30
|
+
const t3 = r.get(this.storeId);
|
|
31
|
+
n("gridComplete", this.storeId) && t3.options.gridComplete.call(this, { gridData: this.gridData, columns: t3.columns, superGrid: this.$refs.superGrid });
|
|
24
32
|
const e3 = this.resizeHeight();
|
|
25
33
|
e3 && (this.height = e3);
|
|
26
34
|
});
|
|
27
35
|
}, { immediate: true, deep: true });
|
|
28
|
-
}, methods: { ...
|
|
36
|
+
}, methods: { ...l, ...h, ...e, getTitleStyle(t2) {
|
|
29
37
|
return this.options && this.options.titleStyle ? this.options.titleStyle.call(this, t2) : { width: "100%" };
|
|
30
38
|
}, getPropValue(t2, e2) {
|
|
31
|
-
let
|
|
32
|
-
const
|
|
39
|
+
let s2 = "";
|
|
40
|
+
const i2 = r.get(this.storeId);
|
|
33
41
|
if ("content" === t2) {
|
|
34
42
|
let t3 = "";
|
|
35
|
-
|
|
43
|
+
n("setContent", this.storeId) && (t3 = i2.options.getContent.call(this, e2)), void 0 !== t3 && "" !== t3 || (this.props && this.props.content ? t3 = this.objectPropValue(e2, this.propCloumns.content, this.props.content) : this.props && this.props.title && (t3 = this.objectPropValue(e2, this.propCloumns.title, this.props.title))), s2 = t3;
|
|
36
44
|
} else if ("title" === t2) {
|
|
37
45
|
let t3 = "";
|
|
38
|
-
|
|
46
|
+
n("setTitle", this.storeId) && (t3 = i2.options.setTitle.call(this, e2)), void 0 !== t3 && "" !== t3 || (this.props && this.props.title ? t3 = this.objectPropValue(e2, this.propCloumns.title, this.props.title) : this.props && this.props.content && (t3 = this.objectPropValue(e2, this.propCloumns.content, this.props.content))), s2 = t3;
|
|
39
47
|
} else if ("subTitle" === t2) {
|
|
40
48
|
let t3 = "";
|
|
41
|
-
|
|
49
|
+
n("setSubTitle", this.storeId) && (t3 = i2.options.setSubTitle.call(this, e2)), void 0 !== t3 && "" !== t3 || this.props && this.props.subTitle && (t3 = this.objectPropValue(e2, this.propCloumns.subTitle, this.props.subTitle)), s2 = t3;
|
|
42
50
|
}
|
|
43
|
-
return void 0 ===
|
|
51
|
+
return void 0 === s2 && (s2 = ""), s2;
|
|
44
52
|
}, resizeHeight() {
|
|
45
|
-
const t2 =
|
|
46
|
-
if (
|
|
53
|
+
const t2 = r.get(this.storeId);
|
|
54
|
+
if (n("resizeHeight", this.storeId)) {
|
|
47
55
|
let e2 = 0;
|
|
48
56
|
return true === this.showSearch && this.$refs.sf && (e2 = this.$refs.sf.$el.offsetHeight), t2.options.resizeHeight.call(this, { code: this.code, height: this.height, searchHeight: e2 });
|
|
49
57
|
}
|
|
@@ -52,82 +60,82 @@ const h = require("../../_virtual/_plugin-vue_export-helper.js"), c = { name: "S
|
|
|
52
60
|
}, leave() {
|
|
53
61
|
this.seen = false, this.current = null;
|
|
54
62
|
}, initSetting() {
|
|
55
|
-
const t2 =
|
|
63
|
+
const t2 = r.get(this.storeId);
|
|
56
64
|
void 0 !== this.options ? Object.assign(t2.options, this.options) : t2.options = {}, this.options && void 0 !== this.options.isHasCreate && (this.isHasCreate = this.options.isHasCreate), this.options && void 0 !== this.options.props && (this.props = this.options.props), this.options && void 0 !== this.options.operations && (this.operations = this.options.operations), this.options && void 0 !== this.options.createPermission && (this.createPermission = this.options.createPermission), this.options && void 0 !== this.options.multiple && (this.multiple = this.options.multiple), this.options && void 0 !== this.options.isShowEnableState && (this.isShowEnableState = this.options.isShowEnableState), this.options && void 0 !== this.options.colSpan && (this.colSpan = this.options.colSpan);
|
|
57
65
|
}, getPropColumns() {
|
|
58
66
|
this.columns && this.columns.length > 0 && (this.propCloumns = {}, this.columns.forEach((t2) => {
|
|
59
67
|
this.props.imageUrl && this.props.imageUrl === t2.prop && (this.propCloumns.imageUrl = t2), this.props.content && this.props.content === t2.prop && (this.propCloumns.content = t2), this.props.title && this.props.title === t2.prop && (this.propCloumns.title = t2), this.props.subTitle && this.props.subTitle === t2.prop && (this.propCloumns.subTitle = t2);
|
|
60
68
|
}));
|
|
61
69
|
}, fetchData(t2, e2) {
|
|
62
|
-
return new Promise((
|
|
70
|
+
return new Promise((s2, i2) => {
|
|
63
71
|
if (this.clearSelections(), this.getPropColumns(), this.isLoading = true, this.hasLoadData = false, void 0 === e2 || false === e2) {
|
|
64
72
|
const e3 = window.sessionStorage.getItem("refreshList-" + this.storeId);
|
|
65
73
|
if (void 0 !== e3 && "true" === e3) {
|
|
66
74
|
const e4 = window.sessionStorage.getItem("searchParam-" + this.storeId);
|
|
67
75
|
if (null != e4 && "" !== e4) {
|
|
68
|
-
const
|
|
69
|
-
|
|
76
|
+
const s3 = (t2 = JSON.parse(e4)).pagination;
|
|
77
|
+
s3 && (this.currentPage = s3.currentPage, this.pagination.pageSize = s3.pageSize, this.pagination.showTotal = s3.showTotal), this.getInitSearchForm(t2.searchForm);
|
|
70
78
|
}
|
|
71
79
|
}
|
|
72
80
|
}
|
|
73
81
|
window.sessionStorage.removeItem("refreshList-" + this.storeId), void 0 === t2 && (t2 = this.getSearchParam());
|
|
74
|
-
const
|
|
82
|
+
const o2 = r.get(this.storeId);
|
|
75
83
|
let a2 = t2;
|
|
76
|
-
if (
|
|
77
|
-
for (const t3 in
|
|
78
|
-
a2[t3] =
|
|
79
|
-
|
|
84
|
+
if (o2.options.extraParam && (a2 = { searchParam: t2 }, o2.options.extraParam))
|
|
85
|
+
for (const t3 in o2.options.extraParam)
|
|
86
|
+
a2[t3] = o2.options.extraParam[t3];
|
|
87
|
+
o2.searchParam = t2, o2.url = this.url;
|
|
80
88
|
const l2 = this.url;
|
|
81
89
|
window.sessionStorage.setItem("searchParam-" + this.storeId, JSON.stringify(a2)), this.$http.post(l2, a2).then((t3) => {
|
|
82
|
-
if (
|
|
83
|
-
const e3 =
|
|
90
|
+
if (n("gridDataLoaded", this.storeId)) {
|
|
91
|
+
const e3 = o2.options.gridDataLoaded.call(this, { gridData: t3.data, columns: o2.columns });
|
|
84
92
|
this.gridData = e3 || t3.data;
|
|
85
93
|
} else
|
|
86
94
|
this.gridData = t3.data;
|
|
87
|
-
this.gridData || (this.gridData = []), null !== this.pagination && (this.pagination.total = t3.total),
|
|
95
|
+
this.gridData || (this.gridData = []), null !== this.pagination && (this.pagination.total = t3.total), o2.gridData = this.gridData, o2.orgGridData = [].concat(JSON.parse(JSON.stringify(this.gridData))), o2.pagination = this.pagination, o2.loaded = true, this.hasLoadData = true, s2();
|
|
88
96
|
}).catch((t3) => {
|
|
89
|
-
|
|
97
|
+
n("loadError", this.storeId) && o2.options.loadError.call(this, this.code, t3), i2(t3);
|
|
90
98
|
});
|
|
91
99
|
});
|
|
92
100
|
}, getLength: (t2) => t2 && t2.length > 5 ? "(" + t2.substring(0, 5) + "...)" : t2 ? "(" + t2 + ")" : "", getInitSearchForm(t2) {
|
|
93
|
-
const e2 =
|
|
101
|
+
const e2 = r.get(this.storeId);
|
|
94
102
|
t2 && t2.length > 0 ? (this.searchFormContent = {}, t2.forEach((t3) => {
|
|
95
103
|
let e3 = t3.propName;
|
|
96
|
-
const
|
|
97
|
-
|
|
98
|
-
const
|
|
99
|
-
e3.indexOf(".") > 0 ?
|
|
104
|
+
const s2 = t3.columnProp, i2 = t3.dataType;
|
|
105
|
+
i2 && "BOOLEAN" === i2 && (e3 = s2), this.initSearchProps.push(e3);
|
|
106
|
+
const o2 = t3.propValue;
|
|
107
|
+
e3.indexOf(".") > 0 ? a(this.searchFormContent, e3, o2) : this.searchFormContent[e3] = o2;
|
|
100
108
|
}), e2.searchForm = t2, this.showSearchForm()) : e2.searchForm = null;
|
|
101
109
|
}, showDemo() {
|
|
102
110
|
this.isLoading = true, this.$http.get(this.url).then((t2) => {
|
|
103
111
|
Object.assign(this, t2);
|
|
104
|
-
const e2 =
|
|
112
|
+
const e2 = r.get(this.storeId);
|
|
105
113
|
if (e2.listCode = this.code, e2.columns = this.columns, e2.columns && this.options.dynamicColumns)
|
|
106
|
-
for (var
|
|
107
|
-
this.options.dynamicColumns[
|
|
108
|
-
if (e2.lineEdit = this.lineEdit, e2.basicInfo = this.basicInfo, e2.pagination = this.pagination, e2.query = this.query, this.gridData = t2.gridData,
|
|
109
|
-
const
|
|
110
|
-
this.gridData =
|
|
114
|
+
for (var s2 = 0; s2 < this.options.dynamicColumns.length; s2++)
|
|
115
|
+
this.options.dynamicColumns[s2].dynamic = true, e2.columns.push(this.options.dynamicColumns[s2]);
|
|
116
|
+
if (e2.lineEdit = this.lineEdit, e2.basicInfo = this.basicInfo, e2.pagination = this.pagination, e2.query = this.query, this.gridData = t2.gridData, n("gridDataLoaded", this.storeId)) {
|
|
117
|
+
const s3 = e2.options.gridDataLoaded.call(this, t2.gridData);
|
|
118
|
+
this.gridData = s3 || t2.gridData;
|
|
111
119
|
} else
|
|
112
120
|
this.gridData = t2.gridData;
|
|
113
|
-
null != this.pagination && (this.pagination.total = t2.total), this.gridData || (this.gridData = []), e2.gridData = this.gridData, e2.orgGridData = [].concat(JSON.parse(JSON.stringify(this.gridData))), e2.pagination = this.pagination,
|
|
121
|
+
null != this.pagination && (this.pagination.total = t2.total), this.gridData || (this.gridData = []), e2.gridData = this.gridData, e2.orgGridData = [].concat(JSON.parse(JSON.stringify(this.gridData))), e2.pagination = this.pagination, n("gridComplete", this.storeId) && e2.options.gridComplete.call(this, this.gridData, e2.columns);
|
|
114
122
|
}).catch((t2) => {
|
|
115
|
-
if (
|
|
116
|
-
|
|
123
|
+
if (n("loadError", this.storeId)) {
|
|
124
|
+
r.get(this.storeId).options.loadError.call(this, this.code, t2);
|
|
117
125
|
}
|
|
118
126
|
});
|
|
119
127
|
}, search(e2) {
|
|
120
|
-
const
|
|
121
|
-
return new Promise((
|
|
122
|
-
const
|
|
123
|
-
|
|
124
|
-
void 0 !==
|
|
128
|
+
const s2 = this;
|
|
129
|
+
return new Promise((i2, o2) => {
|
|
130
|
+
const n2 = r.get(s2.storeId);
|
|
131
|
+
n2.searchForm = null != e2 ? e2 : null, s2.fetchData(s2.getSearchParam(), true).then((e3) => {
|
|
132
|
+
void 0 !== n2.options && void 0 !== n2.options.isHiddenSearchForm && true === n2.options.isHiddenSearchForm && (s2.showSearch = false, t(s2, "cancel-search")), s2.$refs.sf && (s2.$refs.sf.loading = false), i2(e3);
|
|
125
133
|
}).catch((t2) => {
|
|
126
|
-
|
|
134
|
+
s2.$refs.sf && (s2.$refs.sf.loading = false), o2(t2);
|
|
127
135
|
});
|
|
128
136
|
});
|
|
129
137
|
}, getSearchParam() {
|
|
130
|
-
const t2 = { code: this.code }, e2 =
|
|
138
|
+
const t2 = { code: this.code }, e2 = r.get(this.storeId);
|
|
131
139
|
if (null !== this.pagination) {
|
|
132
140
|
const e3 = { currentPage: this.currentPage, pageSize: this.pagination.pageSize, showTotal: this.pagination.showTotal };
|
|
133
141
|
null !== this.pageSize && (e3.pageSize = this.pageSize), t2.pagination = e3;
|
|
@@ -135,14 +143,14 @@ const h = require("../../_virtual/_plugin-vue_export-helper.js"), c = { name: "S
|
|
|
135
143
|
if (null !== this.sortInfo && (t2.sorts = this.sortInfo), this.mergeFields && this.mergeFields.length > 0) {
|
|
136
144
|
t2.sorts || (t2.sorts = []);
|
|
137
145
|
const e3 = [];
|
|
138
|
-
for (const
|
|
139
|
-
let
|
|
146
|
+
for (const s2 of this.mergeFields) {
|
|
147
|
+
let i2 = true;
|
|
140
148
|
for (const e4 of t2.sorts)
|
|
141
|
-
if (e4.prop ===
|
|
142
|
-
|
|
149
|
+
if (e4.prop === s2) {
|
|
150
|
+
i2 = false;
|
|
143
151
|
break;
|
|
144
152
|
}
|
|
145
|
-
|
|
153
|
+
i2 && e3.push({ prop: s2, order: "ascending" });
|
|
146
154
|
}
|
|
147
155
|
e3.push(...t2.sorts), t2.sorts = e3;
|
|
148
156
|
}
|
|
@@ -151,16 +159,16 @@ const h = require("../../_virtual/_plugin-vue_export-helper.js"), c = { name: "S
|
|
|
151
159
|
this.pageSize = t2, this.fetchData(this.getSearchParam());
|
|
152
160
|
}, handleCurrentChange(t2) {
|
|
153
161
|
this.fetchData(this.getSearchParam());
|
|
154
|
-
}, handleSortChange({ column: e2, prop:
|
|
155
|
-
this.sortInfo = null !==
|
|
162
|
+
}, handleSortChange({ column: e2, prop: s2, order: i2 }) {
|
|
163
|
+
this.sortInfo = null !== s2 ? [{ prop: s2, order: i2 }] : null, this.fetchData(this.getSearchParam()), t(this, "sort-change", { column: e2, prop: s2, order: i2 });
|
|
156
164
|
}, resetSearch() {
|
|
157
165
|
this.search(null, false);
|
|
158
166
|
}, add() {
|
|
159
|
-
t
|
|
160
|
-
}, buttonClick(e2,
|
|
161
|
-
e2 && ("function" == typeof e2 ? e2.call(this,
|
|
167
|
+
t(this, "add");
|
|
168
|
+
}, buttonClick(e2, s2) {
|
|
169
|
+
e2 && ("function" == typeof e2 ? e2.call(this, s2) : t(this, e2, s2));
|
|
162
170
|
}, clickContent(e2) {
|
|
163
|
-
this.changeSelect(e2), t
|
|
171
|
+
this.changeSelect(e2), t(this, "click", e2);
|
|
164
172
|
}, rowDrop() {
|
|
165
173
|
if (this.urlToSaveOrder) {
|
|
166
174
|
let e2 = this.urlToSaveOrder;
|
|
@@ -168,48 +176,50 @@ const h = require("../../_virtual/_plugin-vue_export-helper.js"), c = { name: "S
|
|
|
168
176
|
let t2 = window.$vueApp.config.globalProperties.baseURL;
|
|
169
177
|
t2.lastIndexOf("/") === t2.length - 1 && (t2 = t2.substring(0, t2.length - 1)), e2.indexOf("/") > 0 && (e2 = "/" + e2), e2 = t2 + e2;
|
|
170
178
|
}
|
|
171
|
-
const
|
|
172
|
-
if (null !=
|
|
173
|
-
const
|
|
174
|
-
|
|
175
|
-
null != document.querySelector("#" +
|
|
176
|
-
const n2 = { oldIndex:
|
|
177
|
-
|
|
178
|
-
const
|
|
179
|
-
|
|
180
|
-
t
|
|
179
|
+
const s2 = document.querySelector("#" + this.gridId + " .el-row");
|
|
180
|
+
if (null != s2) {
|
|
181
|
+
const i2 = this;
|
|
182
|
+
p.create(s2, { draggable: ".col-content", onEnd({ newIndex: s3, oldIndex: o2 }) {
|
|
183
|
+
null != document.querySelector("#" + i2.gridId + " #_addCardId_") && (o2 > 0 && (o2 -= 1), s3 > 0 && (s3 -= 1));
|
|
184
|
+
const n2 = { oldIndex: o2, newIndex: s3, gridData: i2.gridData };
|
|
185
|
+
i2.$http.post(e2, n2).then((e3) => {
|
|
186
|
+
const a2 = i2.gridData.splice(o2, 1)[0];
|
|
187
|
+
i2.gridData.splice(s3, 0, a2), i2.refresh().then(() => {
|
|
188
|
+
t(i2, "afterDrag", n2);
|
|
181
189
|
});
|
|
182
190
|
});
|
|
183
191
|
} });
|
|
184
192
|
}
|
|
185
193
|
}
|
|
186
194
|
}, changeChecked(t2, e2) {
|
|
187
|
-
const
|
|
188
|
-
(t2 + "").indexOf("false-") >= 0 ? this.unselect(
|
|
195
|
+
const s2 = this.gridData[e2];
|
|
196
|
+
(t2 + "").indexOf("false-") >= 0 ? this.unselect(s2) : this.select(s2);
|
|
189
197
|
}, unselect(e2) {
|
|
190
|
-
const
|
|
191
|
-
|
|
198
|
+
const s2 = e2.id, i2 = this.selectionIds.indexOf(s2);
|
|
199
|
+
i2 > -1 && (this.selections.splice(i2, 1), this.selectionIds.splice(i2, 1)), t(this, "unselect", e2, this.selections), this.selectionModels["select" + s2] = "false-" + s2;
|
|
192
200
|
}, select(e2) {
|
|
193
|
-
const
|
|
194
|
-
this.selectionIds.indexOf(
|
|
201
|
+
const s2 = e2.id;
|
|
202
|
+
this.selectionIds.indexOf(s2) < 0 && (this.selectionIds[this.selectionIds.length] = s2, this.selections[this.selections.length] = e2), t(this, "select", e2, this.selections), this.selectionModels["select" + s2] = s2;
|
|
195
203
|
}, changeSelectWhenRadio(t2, e2) {
|
|
196
|
-
const
|
|
197
|
-
this.selectionIds = [], this.selections = [], this.selectionModels = {}, this.select(
|
|
204
|
+
const s2 = this.gridData[e2];
|
|
205
|
+
this.selectionIds = [], this.selections = [], this.selectionModels = {}, this.select(s2);
|
|
198
206
|
}, changeSelect(t2) {
|
|
199
207
|
const e2 = t2.id;
|
|
200
208
|
true === this.multiple ? this.selectionIds && this.selectionIds.indexOf(e2) >= 0 ? this.unselect(t2) : this.select(t2) : (this.currentId = e2, this.selectionIds = [], this.selections = [], this.selectionModels = {}, this.select(t2));
|
|
201
209
|
}, isShowButton(t2, e2) {
|
|
202
|
-
const
|
|
203
|
-
return void 0 ===
|
|
210
|
+
const s2 = this.isShowButtonFun(t2, e2);
|
|
211
|
+
return void 0 === s2 || s2;
|
|
204
212
|
}, showEnableButton(t2) {
|
|
205
|
-
const e2 =
|
|
206
|
-
return !!
|
|
213
|
+
const e2 = r.get(this.storeId);
|
|
214
|
+
return !!n("showEnableButton", this.storeId) && e2.options.showEnableButton.call(this, t2);
|
|
207
215
|
}, changeState(t2) {
|
|
208
|
-
const e2 =
|
|
209
|
-
return !!
|
|
210
|
-
} }, emits: ["sort-change", , "click", "afterDrag", "unselect", "select", "cancel-search", "add", ,] },
|
|
211
|
-
const
|
|
212
|
-
const
|
|
213
|
-
return
|
|
216
|
+
const e2 = r.get(this.storeId);
|
|
217
|
+
return !!n("changeState", this.storeId) && e2.options.changeState.call(this, t2);
|
|
218
|
+
} }, emits: ["sort-change", , "click", "afterDrag", "unselect", "select", "cancel-search", "add", ,] }, $ = { class: "nine-grid-area" }, E = ["id"], j = { style: { "margin-top": "7px" } }, L = ["onClick", "onMouseenter"], B = { class: "image", style: { padding: "15px", "box-sizing": "border-box" } }, H = { key: 0, style: { "margin-left": "2px", color: "#00b42a", "background-color": "#e8ffea", width: "68px", "text-align": "center", display: "inline-block" } }, V = ["title"], M = { class: "button-style" }, N = { style: { padding: "10px", "box-sizing": "border-box", width: "50px" } }, U = { style: { "padding-left": "15px" } }, q = ["onClick"], G = { key: 0, style: { position: "absolute", right: "5%", bottom: "9%" } };
|
|
219
|
+
const R = _(O, [["render", function(t2, e2, s2, i2, o2, n2) {
|
|
220
|
+
const a2 = d("search-form"), r2 = d("Plus"), l2 = d("el-icon"), h2 = d("el-card"), p2 = d("el-col"), _2 = d("el-tooltip"), O2 = d("SuccessFilled"), R2 = d("el-button"), A = d("el-row"), J = d("el-pagination"), W = c("permission");
|
|
221
|
+
return u(), g("div", null, [o2.hasLoadedColumns ? m((u(), f(a2, { key: 0, ref: "sf", code: s2.code, columns: o2.columns, "grid-id": o2.gridId, "init-search-props": o2.initSearchProps, pagination: o2.pagination, query: o2.query, "search-param": o2.searchFormContent, url: s2.url, onReset: n2.resetSearch, onSearch: n2.search }, null, 8, ["code", "columns", "grid-id", "init-search-props", "pagination", "query", "search-param", "url", "onReset", "onSearch"])), [[S, o2.showSearch]]) : b("", true), I("div", $, [I("div", { id: o2.gridId, style: y("height:" + o2.height + "px;overflow-y: auto;overflow-x: hidden;") }, [C(A, { gutter: 24 }, { default: v(() => [o2.isHasCreate ? m((u(), f(p2, { key: 0, id: "_addCardId_", span: o2.colSpan }, { default: v(() => [C(h2, { "body-style": { padding: "0px" }, style: { "border-radius": "4px", background: "#ffffff", border: "1px solid #e5e8ef" } }, { default: v(() => [I("div", { class: "add-screen", onClick: e2[0] || (e2[0] = (...t3) => n2.add && n2.add(...t3)) }, [C(l2, null, { default: v(() => [C(r2)]), _: 1 }), I("span", j, w(t2.$t("superNineGrid.add")), 1)])]), _: 1 })]), _: 1 }, 8, ["span"])), [[W, o2.createPermission]]) : b("", true), (u(true), g(P, null, D(o2.gridData, (s3, i3) => (u(), f(p2, { key: s3.id, offset: 1.5, span: o2.colSpan }, { default: v(() => [C(h2, { "body-style": { padding: "0px" }, style: y({ border: o2.selectionIds.indexOf(s3.id) > -1 ? "1px solid #005EBA" : "", position: "relative" }), shadow: "hover" }, { default: v(() => [I("div", { style: { height: "160px" }, onClick: (t3) => n2.clickContent(s3), onMouseenter: (t3) => n2.enter(i3), onMouseleave: e2[1] || (e2[1] = (t3) => n2.leave()) }, [I("div", B, [I("div", null, [C(_2, { content: o2.props && o2.props.content ? n2.getPropValue("content", s3) + "(" + s3.code + ")" : o2.props && o2.props.title ? n2.getPropValue("title", s3) + "(" + s3.code + ")" : "", effect: "dark", placement: "top-start" }, { default: v(() => [o2.props && o2.props.content ? (u(), g("div", { key: 0, style: y("display: inline-block;width:" + o2.titleWidth), class: "ellipsis cell--span" }, w(n2.getPropValue("content", s3) + "(" + s3.code + ")"), 5)) : o2.props && o2.props.title ? (u(), g("div", { key: 1, style: y("display: inline-block;width:" + o2.titleWidth), class: "ellipsis cell--span" }, w(n2.getPropValue("title", s3) + "(" + s3.code + ")"), 5)) : b("", true)]), _: 2 }, 1032, ["content"]), n2.showEnableButton(s3) ? (u(), g("div", H, [C(l2, null, { default: v(() => [C(O2)]), _: 1 }), I("span", { title: n2.getPropValue("subTitle", s3), style: { "margin-left": "4px" } }, w(n2.getPropValue("subTitle", s3)), 9, V)])) : b("", true)]), I("div", M, [I("div", N, w(t2.$t("imatrixUIPublicModel.edit")), 1), I("div", U, [(u(true), g(P, null, D(o2.operations, (t3) => (u(), g(P, null, [n2.isShowButton(s3, t3) ? (u(), g(P, { key: 0 }, [t3.icon ? m((u(), f(_2, { key: t3.name, content: t3.name, class: "item", effect: "dark", placement: "top", style: { "background-color": "red" } }, { default: v(() => [C(l2, { class: x(t3.icon + " icons"), onClick: k((e3) => n2.buttonClick(t3.event, s3), ["stop"]) }, { default: v(() => [(u(), f(z(t3.icon)))]), _: 2 }, 1032, ["class", "onClick"])]), _: 2 }, 1032, ["content"])), [[W, t3.permission ? t3.permission : "true"]]) : m((u(), g("em", { key: t3.name, class: x(t3.name + " icons"), onClick: k((e3) => n2.buttonClick(t3.event, s3), ["stop"]) }, [F(w(t3.name), 1)], 10, q)), [[W, t3.permission ? t3.permission : "true"]])], 64)) : b("", true)], 64))), 256)), T(t2.$slots, o2.slotBefore, { params: s3 }, void 0, true)])]), o2.isShowBottom ? (u(), g("div", G, [T(t2.$slots, o2.slotState, { params: s3 }, void 0, true), o2.isShowEnableState ? (u(), g(P, { key: 0 }, [n2.showEnableButton(s3) ? (u(), f(R2, { key: 0, class: "button--default", size: "default", onClick: k((t3) => n2.changeState(s3), ["stop"]) }, { default: v(() => [F(w(t2.$t("imatrixUIPublicModel.forbidden")), 1)]), _: 2 }, 1032, ["onClick"])) : (u(), f(R2, { key: 1, size: "default", type: "primary", onClick: k((t3) => n2.changeState(s3), ["stop"]) }, { default: v(() => [F(w(t2.$t("imatrixUIPublicModel.startUsing")), 1)]), _: 2 }, 1032, ["onClick"]))], 64)) : b("", true)])) : b("", true)])], 40, L)]), _: 2 }, 1032, ["style"])]), _: 2 }, 1032, ["span"]))), 128))]), _: 3 })], 12, E), o2.pagination ? (u(), f(J, { key: 0, background: "", "current-page": o2.currentPage, "onUpdate:currentPage": e2[2] || (e2[2] = (t3) => o2.currentPage = t3), "page-size": o2.pagination.pageSize, "onUpdate:pageSize": e2[3] || (e2[3] = (t3) => o2.pagination.pageSize = t3), layout: o2.pagination.layout, "page-sizes": o2.pagination.pageSizes, total: void 0 !== o2.pagination.total && "" !== o2.pagination.total && null !== o2.pagination.total ? o2.pagination.total : 0, onSizeChange: n2.handleSizeChange, onCurrentChange: n2.handleCurrentChange }, null, 8, ["current-page", "page-size", "layout", "page-sizes", "total", "onSizeChange", "onCurrentChange"])) : b("", true)])]);
|
|
214
222
|
}], ["__scopeId", "data-v-80f6a26f"]]);
|
|
215
|
-
|
|
223
|
+
export {
|
|
224
|
+
R as default
|
|
225
|
+
};
|
|
@@ -1,36 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
for (const n2 in e2)
|
|
8
|
-
if ("default" !== n2) {
|
|
9
|
-
const o = Object.getOwnPropertyDescriptor(e2, n2);
|
|
10
|
-
Object.defineProperty(t2, n2, o.get ? o : { enumerable: true, get: () => e2[n2] });
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
return t2.default = e2, Object.freeze(t2);
|
|
1
|
+
import t from "./store.js";
|
|
2
|
+
import * as n from "vue";
|
|
3
|
+
function i(n2, i2) {
|
|
4
|
+
i2 || (i2 = t.get("_nine_list_code")), i2 && i2.indexOf("~") < 0 && (i2 += "~_nineGrid");
|
|
5
|
+
const o2 = t.get(i2);
|
|
6
|
+
return !(!o2.options || "function" != typeof o2.options[n2]);
|
|
14
7
|
}
|
|
15
|
-
|
|
16
|
-
exports.addDynamicProp = function(e2, t2, n2) {
|
|
17
|
-
const o = t2.split(".");
|
|
18
|
-
if (1 === o.length)
|
|
19
|
-
return void (e2[t2] = void 0 !== n2 ? n2 : null);
|
|
20
|
-
let r = e2;
|
|
21
|
-
for (let e3 = 0; e3 < o.length - 1; e3++)
|
|
22
|
-
void 0 === r[o[e3]] && (r[o[e3]] = {}), r = r[o[e3]];
|
|
23
|
-
r[o[o.length - 1]] = void 0 !== n2 ? n2 : null;
|
|
24
|
-
}, exports.getGridParams = function() {
|
|
8
|
+
function o() {
|
|
25
9
|
return n.reactive({ columns: [], gridData: [], orgGridData: [], showValidateError: true, options: {} });
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
10
|
+
}
|
|
11
|
+
function e(t2, n2, i2) {
|
|
12
|
+
const o2 = n2.split(".");
|
|
13
|
+
if (1 === o2.length)
|
|
14
|
+
return void (t2[n2] = void 0 !== i2 ? i2 : null);
|
|
15
|
+
let e2 = t2;
|
|
16
|
+
for (let t3 = 0; t3 < o2.length - 1; t3++)
|
|
17
|
+
void 0 === e2[o2[t3]] && (e2[o2[t3]] = {}), e2 = e2[o2[t3]];
|
|
18
|
+
e2[o2[o2.length - 1]] = void 0 !== i2 ? i2 : null;
|
|
19
|
+
}
|
|
20
|
+
function r(t2, n2) {
|
|
21
|
+
if (true === t2) {
|
|
22
|
+
let t3 = 0;
|
|
23
|
+
return n2 && (t3 = n2.$el.offsetHeight), window.innerHeight - t3 - 165;
|
|
30
24
|
}
|
|
31
25
|
return window.innerHeight - 165;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
26
|
+
}
|
|
27
|
+
export {
|
|
28
|
+
e as addDynamicProp,
|
|
29
|
+
o as getGridParams,
|
|
30
|
+
r as getTableHeight,
|
|
31
|
+
i as isHasOptionFunction
|
|
36
32
|
};
|
package/lib/svg-icon/index.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import n from "./src/svg-icon.vue.js";
|
|
2
|
+
n.install = function(o) {
|
|
3
|
+
o.component(n.name, n);
|
|
4
|
+
};
|
|
5
|
+
export {
|
|
6
|
+
n as default
|
|
7
|
+
};
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
const
|
|
1
|
+
import { openBlock as e, createElementBlock as s, normalizeClass as r, createElementVNode as n } from "vue";
|
|
2
|
+
import "./svg-icon.vue2.js";
|
|
3
|
+
import i from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const t = ["xlink:href"];
|
|
5
|
+
const a = i({ name: "SvgIcon", props: { iconClass: { type: String, required: true }, className: { type: String, default: "" } }, computed: { iconName() {
|
|
6
6
|
return `#icon-${this.iconClass}`;
|
|
7
7
|
}, svgClass() {
|
|
8
8
|
return this.className ? "svg-icon " + this.className : "svg-icon";
|
|
9
|
-
} } }, [["render", function(
|
|
10
|
-
return e
|
|
9
|
+
} } }, [["render", function(i2, a2, o, c, l, u) {
|
|
10
|
+
return e(), s("svg", { class: r(u.svgClass), "aria-hidden": "true" }, [n("use", { "xlink:href": u.iconName }, null, 8, t)], 2);
|
|
11
11
|
}], ["__scopeId", "data-v-67e4e504"]]);
|
|
12
|
-
|
|
12
|
+
export {
|
|
13
|
+
a as default
|
|
14
|
+
};
|
|
@@ -1,28 +1,33 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
1
|
const t = /* @__PURE__ */ new WeakMap();
|
|
4
|
-
function
|
|
5
|
-
let
|
|
6
|
-
return
|
|
2
|
+
function r(r2) {
|
|
3
|
+
let e2 = t.get(r2);
|
|
4
|
+
return e2 || t.set(r2, e2 = /* @__PURE__ */ Object.create(null)), e2;
|
|
7
5
|
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
return o && o.map((e2) => e2.apply(t3, n)), t3;
|
|
12
|
-
}, exports.$off = function r(n, o, c) {
|
|
13
|
-
const i = n;
|
|
14
|
-
if (!o)
|
|
15
|
-
return t.set(n, /* @__PURE__ */ Object.create(null)), i;
|
|
16
|
-
if (Array.isArray(o))
|
|
17
|
-
return o.forEach((t3) => r(n, t3, c)), i;
|
|
18
|
-
const s = e(n), u = s[o];
|
|
19
|
-
return u ? c ? (s[o] = u.filter((t3) => !(t3 === c || t3.fn === c)), i) : (s[o] = void 0, i) : i;
|
|
20
|
-
}, exports.$on = function t2(r2, n, o) {
|
|
21
|
-
if (Array.isArray(n))
|
|
22
|
-
n.forEach((e2) => t2(r2, e2, o));
|
|
6
|
+
function e(t2, n2, c2) {
|
|
7
|
+
if (Array.isArray(n2))
|
|
8
|
+
n2.forEach((r2) => e(t2, r2, c2));
|
|
23
9
|
else {
|
|
24
|
-
const
|
|
25
|
-
(
|
|
10
|
+
const e2 = r(t2);
|
|
11
|
+
(e2[n2] || (e2[n2] = [])).push(c2);
|
|
26
12
|
}
|
|
27
|
-
return
|
|
13
|
+
return t2;
|
|
14
|
+
}
|
|
15
|
+
function n(e2, c2, i) {
|
|
16
|
+
const o = e2;
|
|
17
|
+
if (!c2)
|
|
18
|
+
return t.set(e2, /* @__PURE__ */ Object.create(null)), o;
|
|
19
|
+
if (Array.isArray(c2))
|
|
20
|
+
return c2.forEach((t2) => n(e2, t2, i)), o;
|
|
21
|
+
const u = r(e2), a = u[c2];
|
|
22
|
+
return a ? i ? (u[c2] = a.filter((t2) => !(t2 === i || t2.fn === i)), o) : (u[c2] = void 0, o) : o;
|
|
23
|
+
}
|
|
24
|
+
function c(t2, e2, ...n2) {
|
|
25
|
+
t2 && t2.$emit && t2.$emit(e2, ...n2);
|
|
26
|
+
const c2 = r(t2)[e2];
|
|
27
|
+
return c2 && c2.map((r2) => r2.apply(t2, n2)), t2;
|
|
28
|
+
}
|
|
29
|
+
export {
|
|
30
|
+
c as $emit,
|
|
31
|
+
n as $off,
|
|
32
|
+
e as $on
|
|
28
33
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
const
|
|
1
|
+
import e from "../src/utils/local-storage.js";
|
|
2
|
+
const t = { memorySearch(e2, t2) {
|
|
3
3
|
var a = this.memoryCacheData;
|
|
4
4
|
setTimeout(() => {
|
|
5
5
|
t2(a);
|
|
@@ -25,4 +25,6 @@ const e = require("../src/utils/local-storage.js"), t = { memorySearch(e2, t2) {
|
|
|
25
25
|
var t2 = e.getObject(this.memoryCacheKey);
|
|
26
26
|
t2 && t2.length > 0 && (this.memoryCacheData = t2);
|
|
27
27
|
} };
|
|
28
|
-
|
|
28
|
+
export {
|
|
29
|
+
t as default
|
|
30
|
+
};
|