agilebuilder-ui 1.1.65-tmp17 → 1.1.65-tmp19
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/favicon.svg +29 -0
- package/dist/index.full.min.js +16440 -0
- package/dist/style.css +3078 -0
- package/es/IntervalSelection/index.mjs +7 -0
- package/es/IntervalSelection/src/sectionDate.vue.mjs +49 -0
- package/es/IntervalSelection/src/sectionDate.vue2.mjs +4 -0
- package/es/_virtual/__vite-browser-external.mjs +4 -0
- package/es/_virtual/_plugin-vue_export-helper.mjs +9 -0
- package/es/breadcrumb/index.mjs +7 -0
- package/es/breadcrumb/src/breadcrumb.vue.mjs +28 -0
- package/es/breadcrumb/src/breadcrumb.vue2.mjs +4 -0
- package/es/chat-embed/index.mjs +7 -0
- package/es/chat-embed/src/chat-addition-data.vue.mjs +7 -0
- package/es/chat-embed/src/chat-addition-data.vue2.mjs +14 -0
- package/es/chat-embed/src/chat-addition-data.vue3.mjs +4 -0
- package/es/chat-embed/src/chat-ai-answer-tip.vue.mjs +7 -0
- package/es/chat-embed/src/chat-ai-answer-tip.vue2.mjs +29 -0
- package/es/chat-embed/src/chat-ai-answer-tip.vue3.mjs +4 -0
- package/es/chat-embed/src/chat-bubble-footer.vue.mjs +7 -0
- package/es/chat-embed/src/chat-bubble-footer.vue2.mjs +33 -0
- package/es/chat-embed/src/chat-bubble-footer.vue3.mjs +4 -0
- package/es/chat-embed/src/chat-embed-message.mjs +22 -0
- package/es/chat-embed/src/chat-sender.vue.mjs +7 -0
- package/es/chat-embed/src/chat-sender.vue2.mjs +160 -0
- package/es/chat-embed/src/chat-sender.vue3.mjs +4 -0
- package/es/chat-embed/src/components/answer-auto-chart.vue.mjs +7 -0
- package/es/chat-embed/src/components/answer-auto-chart.vue2.mjs +59 -0
- package/es/chat-embed/src/components/answer-auto-chart.vue3.mjs +4 -0
- package/es/chat-embed/src/components/answer-home-chart.vue.mjs +7 -0
- package/es/chat-embed/src/components/answer-home-chart.vue2.mjs +6 -0
- package/es/chat-embed/src/components/answer-home-chart.vue3.mjs +4 -0
- package/es/chat-embed/src/components/answer-interaction-data.vue.mjs +7 -0
- package/es/chat-embed/src/components/answer-interaction-data.vue2.mjs +118 -0
- package/es/chat-embed/src/components/answer-interaction-data.vue3.mjs +4 -0
- package/es/chat-embed/src/components/history-detail.vue.mjs +7 -0
- package/es/chat-embed/src/components/history-detail.vue2.mjs +55 -0
- package/es/chat-embed/src/components/history-detail.vue3.mjs +4 -0
- package/es/chat-embed/src/header.vue.mjs +7 -0
- package/es/chat-embed/src/header.vue2.mjs +46 -0
- package/es/chat-embed/src/header.vue3.mjs +4 -0
- package/es/chat-embed/src/index.vue.mjs +7 -0
- package/es/chat-embed/src/index.vue2.mjs +307 -0
- package/es/chat-embed/src/index.vue3.mjs +4 -0
- package/es/chat-embed/src/recommendation-message.vue.mjs +7 -0
- package/es/chat-embed/src/recommendation-message.vue2.mjs +8 -0
- package/es/chat-embed/src/recommendation-message.vue3.mjs +4 -0
- package/es/chat-embed/src/sidebar-item.vue.mjs +7 -0
- package/es/chat-embed/src/sidebar-item.vue2.mjs +118 -0
- package/es/chat-embed/src/sidebar-item.vue3.mjs +4 -0
- package/es/chat-embed/src/type.mjs +5 -0
- package/es/chat-embed/src/util/chat-embed-util.mjs +57 -0
- package/es/chat-embed/src/util/history-message-util.mjs +96 -0
- package/es/chat-embed/src/util/mcp-utils.mjs +53 -0
- package/es/chat-embed/src/util/text-file-util.mjs +12 -0
- package/es/chat-embed/src/voice/index.mjs +7 -0
- package/es/chat-embed/src/voice/js/crypto-js.mjs +1004 -0
- package/es/chat-embed/src/voice/js/processor/index.umd.mjs +169 -0
- package/es/chat-embed/src/voice/js/timer.mjs +11 -0
- package/es/chat-embed/src/voice/voice.vue.mjs +104 -0
- package/es/date-picker-range/index.mjs +7 -0
- package/es/date-picker-range/index.vue.mjs +7 -0
- package/es/date-picker-range/index.vue2.mjs +93 -0
- package/es/date-picker-range/index.vue3.mjs +4 -0
- package/es/department-tree/index.mjs +7 -0
- package/es/department-tree/src/department-tree.vue.mjs +23 -0
- package/es/department-tree-inline/index.mjs +7 -0
- package/es/department-tree-inline/src/department-multi-tree-inline.vue.mjs +91 -0
- package/es/department-tree-inline/src/department-multi-tree-inline.vue2.mjs +4 -0
- package/es/department-tree-inline/src/department-single-tree-inline.vue.mjs +64 -0
- package/es/department-tree-inline/src/department-single-tree-inline.vue2.mjs +4 -0
- package/es/department-tree-inline/src/department-tree-inline.vue.mjs +17 -0
- package/es/department-tree-inline/src/department-tree-service.mjs +108 -0
- package/es/department-tree-inline/src/search-result.vue.mjs +40 -0
- package/es/department-tree-inline/src/search-result.vue2.mjs +4 -0
- package/es/department-tree-mobile/index.mjs +8 -0
- package/es/department-tree-mobile/src/department-tree-app.vue.mjs +15 -0
- package/es/department-tree-mobile/src/department-tree-app.vue2.mjs +4 -0
- package/es/department-tree-mobile/src/department-tree-app.vue3.mjs +5 -0
- package/es/department-tree-mobile/src/department-tree-inline-app.vue.mjs +121 -0
- package/es/department-tree-mobile/src/department-tree-inline-app.vue2.mjs +4 -0
- package/es/department-tree-mobile/src/department-tree-service.mjs +55 -0
- package/es/department-tree-mobile/src/dept-path.vue.mjs +14 -0
- package/es/department-tree-mobile/src/dept-path.vue2.mjs +4 -0
- package/es/department-tree-mobile/src/dept-result.vue.mjs +16 -0
- package/es/department-tree-mobile/src/dept-result.vue2.mjs +4 -0
- package/es/department-user-tree/index.mjs +7 -0
- package/es/department-user-tree/src/department-user-multiple-tree.vue.mjs +20 -0
- package/es/department-user-tree/src/department-user-multiple-tree.vue2.mjs +4 -0
- package/es/department-user-tree/src/department-user-single-tree.vue.mjs +19 -0
- package/es/department-user-tree/src/department-user-tree.vue.mjs +27 -0
- package/es/department-user-tree-inline/index.mjs +7 -0
- package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.mjs +165 -0
- package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.mjs +4 -0
- package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue.mjs +69 -0
- package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue2.mjs +4 -0
- package/es/department-user-tree-inline/src/department-user-tree-inline.vue.mjs +16 -0
- package/es/department-user-tree-inline/src/department-user-tree-multi-service.mjs +81 -0
- package/es/department-user-tree-inline/src/department-user-tree-single-service.mjs +54 -0
- package/es/department-user-tree-inline/src/group-user/group-input.vue.mjs +39 -0
- package/es/department-user-tree-inline/src/group-user/group-list.vue.mjs +27 -0
- package/es/department-user-tree-inline/src/group-user/group-user.vue.mjs +16 -0
- package/es/department-user-tree-inline/src/group-user-multiple-tree.vue.mjs +78 -0
- package/es/department-user-tree-inline/src/group-user-single-tree.vue.mjs +34 -0
- package/es/department-user-tree-inline/src/group-user-tree-service.mjs +34 -0
- package/es/department-user-tree-inline/src/search-result.vue.mjs +41 -0
- package/es/department-user-tree-inline/src/search-result.vue2.mjs +4 -0
- package/es/department-user-tree-mobile/index.mjs +8 -0
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue.mjs +15 -0
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue2.mjs +4 -0
- package/es/department-user-tree-mobile/src/department-user-tree-app.vue3.mjs +5 -0
- package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue.mjs +135 -0
- package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.mjs +4 -0
- package/es/department-user-tree-mobile/src/department-user-tree-service.mjs +38 -0
- package/es/department-user-tree-mobile/src/dept-path.vue.mjs +14 -0
- package/es/department-user-tree-mobile/src/dept-path.vue2.mjs +4 -0
- package/es/department-user-tree-mobile/src/dept-result.vue.mjs +17 -0
- package/es/department-user-tree-mobile/src/dept-result.vue2.mjs +4 -0
- package/es/directives/prevent-reclick.mjs +15 -0
- package/es/dynamic-source-select/index.mjs +7 -0
- package/es/dynamic-source-select/src/dynamic-source-select-service.mjs +32 -0
- package/es/dynamic-source-select/src/dynamic-source-select.vue.mjs +276 -0
- package/es/dynamic-source-select/src/dynamic-source-select.vue2.mjs +4 -0
- package/es/dynamic-source-select/src/dynamic-source-select.vue3.mjs +4 -0
- package/es/dynamic-source-select/src/events.mjs +29 -0
- package/es/empty-state/index.vue.mjs +9 -0
- package/es/empty-state/index.vue2.mjs +4 -0
- package/es/favicon.svg +29 -0
- package/es/fs-preview/index.mjs +7 -0
- package/es/fs-preview/src/fs-preview.vue.mjs +120 -0
- package/es/fs-preview/src/fs-preview.vue2.mjs +4 -0
- package/es/fs-upload/index.mjs +7 -0
- package/es/fs-upload/src/fs-upload-multi.vue.mjs +71 -0
- package/es/fs-upload/src/fs-upload-single.vue.mjs +73 -0
- package/es/fs-upload/src/fs-upload.vue.mjs +24 -0
- package/es/fs-upload/src/see-big-picture.vue.mjs +12 -0
- package/es/fs-upload-list/index.mjs +7 -0
- package/es/fs-upload-list/src/fs-upload-list.vue.mjs +98 -0
- package/es/fs-upload-list/src/fs-upload-list.vue2.mjs +4 -0
- package/es/fs-upload-new/index.mjs +7 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.mjs +61 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.mjs +4 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.mjs +178 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.mjs +4 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.mjs +7 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.mjs +39 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.mjs +4 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.mjs +45 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.mjs +4 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload.vue.mjs +35 -0
- package/es/fs-upload-new/src/file-upload-mobile/file-upload.vue2.mjs +4 -0
- package/es/fs-upload-new/src/fs-button-upload.vue.mjs +7 -0
- package/es/fs-upload-new/src/fs-button-upload.vue2.mjs +62 -0
- package/es/fs-upload-new/src/fs-button-upload.vue3.mjs +4 -0
- package/es/fs-upload-new/src/fs-drag-upload.vue.mjs +7 -0
- package/es/fs-upload-new/src/fs-drag-upload.vue2.mjs +63 -0
- package/es/fs-upload-new/src/fs-drag-upload.vue3.mjs +4 -0
- package/es/fs-upload-new/src/fs-preview-new.vue.mjs +8 -0
- package/es/fs-upload-new/src/fs-preview-new.vue2.mjs +93 -0
- package/es/fs-upload-new/src/fs-preview-new.vue3.mjs +4 -0
- package/es/fs-upload-new/src/fs-preview-new.vue4.mjs +4 -0
- package/es/fs-upload-new/src/fs-upload-new.vue.mjs +64 -0
- package/es/fs-upload-new/src/fs-upload-new.vue2.mjs +4 -0
- package/es/hamburger/index.mjs +7 -0
- package/es/hamburger/src/hamburger.vue.mjs +15 -0
- package/es/hamburger/src/hamburger.vue2.mjs +4 -0
- package/es/index.mjs +384 -0
- package/es/json-view/json-view-dialog.vue.mjs +19 -0
- package/es/json-view/json-view-dialog.vue2.mjs +4 -0
- package/es/json-view/json-view.vue.mjs +4 -0
- package/es/json-view/json-view.vue2.mjs +36 -0
- package/es/multipart-upload/index.mjs +7 -0
- package/es/multipart-upload/src/index.vue.mjs +14 -0
- package/es/multipart-upload/src/multipart-upload-form.vue.mjs +82 -0
- package/es/multipart-upload/src/multipart-upload-list.vue.mjs +104 -0
- package/es/organization-input/index.mjs +7 -0
- package/es/organization-input/src/organization-input.vue.mjs +224 -0
- package/es/organization-input/src/organization-input.vue2.mjs +4 -0
- package/es/plugins/export-data-new.mjs +237 -0
- package/es/plugins/export-data.mjs +179 -0
- package/es/plugins/index.mjs +9 -0
- package/es/plugins/public-method.mjs +14 -0
- package/es/remove-department/index.mjs +7 -0
- package/es/remove-department/src/remove-department.vue.mjs +33 -0
- package/es/remove-department/src/remove-dept-service.mjs +13 -0
- package/es/remove-user/index.mjs +7 -0
- package/es/remove-user/src/remove-user-service.mjs +13 -0
- package/es/remove-user/src/remove-user.vue.mjs +35 -0
- package/es/remove-workgroup/index.mjs +7 -0
- package/es/remove-workgroup/src/remove-workgroup-service.mjs +13 -0
- package/es/remove-workgroup/src/remove-workgroup.vue.mjs +31 -0
- package/es/rich-editor/index.mjs +7 -0
- package/es/rich-editor/index.vue.mjs +115 -0
- package/es/rich-editor/tinymce/zh_CN.mjs +2 -0
- package/es/rich-editor/viewer.vue.mjs +27 -0
- package/es/row-form/index.mjs +7 -0
- package/es/row-form/index.vue.mjs +7 -0
- package/es/row-form/index.vue2.mjs +62 -0
- package/es/row-form/index.vue3.mjs +4 -0
- package/es/row-form/operation.vue.mjs +32 -0
- package/es/row-form/operation.vue2.mjs +4 -0
- package/es/scan-code-input/index.mjs +7 -0
- package/es/scan-code-input/src/events.mjs +15 -0
- package/es/scan-code-input/src/scan-code-input.vue.mjs +32 -0
- package/es/scan-code-input-browser/index.mjs +7 -0
- package/es/scan-code-input-browser/src/scan-code-input.vue.mjs +39 -0
- package/es/secret-info/index.mjs +7 -0
- package/es/secret-info/index.vue.mjs +16 -0
- package/es/src/api/sso-service.mjs +57 -0
- package/es/src/api/tab.mjs +15 -0
- package/es/src/assets/401/401.gif.mjs +4 -0
- package/es/src/assets/404/404-cloud.png.mjs +4 -0
- package/es/src/assets/404/404.png.mjs +4 -0
- package/es/src/assets/chat-embed/robot.gif.mjs +4 -0
- package/es/src/assets/chat-embed/robot.svg.mjs +4 -0
- package/es/src/assets/nonemessage.png.mjs +4 -0
- package/es/src/components/Affix/index.vue.mjs +7 -0
- package/es/src/components/Affix/index.vue2.mjs +83 -0
- package/es/src/components/Affix/index.vue3.mjs +4 -0
- package/es/src/components/Card/index.mjs +48 -0
- package/es/src/components/Scrollbar/index.vue.mjs +52 -0
- package/es/src/components/Scrollbar/index.vue2.mjs +4 -0
- package/es/src/directives/permission/index.mjs +7 -0
- package/es/src/directives/permission/permission.mjs +11 -0
- package/es/src/i18n/i18n.mjs +7 -0
- package/es/src/i18n/langs/cn.mjs +4 -0
- package/es/src/i18n/langs/en.mjs +4 -0
- package/es/src/mixins/resizeMixin.mjs +21 -0
- package/es/src/permission.mjs +79 -0
- package/es/src/router/index.mjs +10 -0
- package/es/src/store/getters.mjs +4 -0
- package/es/src/store/index.mjs +13 -0
- package/es/src/store/modules/app.mjs +41 -0
- package/es/src/store/modules/chat-ai-store.mjs +36 -0
- package/es/src/store/modules/permission.mjs +31 -0
- package/es/src/store/modules/system.mjs +12 -0
- package/es/src/store/modules/tab-content.mjs +20 -0
- package/es/src/store/modules/table.mjs +18 -0
- package/es/src/store/modules/user.mjs +139 -0
- package/es/src/utils/auth-api.mjs +134 -0
- package/es/src/utils/auth.mjs +156 -0
- package/es/src/utils/calculator/calculator-factory-wf.mjs +167 -0
- package/es/src/utils/calculator/calculator-factory.mjs +93 -0
- package/es/src/utils/calculator/calculator-util.mjs +56 -0
- package/es/src/utils/chat-ai-util.mjs +34 -0
- package/es/src/utils/common-util.mjs +440 -0
- package/es/src/utils/eventBus.mjs +6 -0
- package/es/src/utils/file-util.mjs +23 -0
- package/es/src/utils/global-prop.mjs +38 -0
- package/es/src/utils/guid.mjs +10 -0
- package/es/src/utils/i18n-util.mjs +70 -0
- package/es/src/utils/iconUtils.mjs +26 -0
- package/es/src/utils/index.mjs +46 -0
- package/es/src/utils/insert_css.mjs +17 -0
- package/es/src/utils/json-util.mjs +47 -0
- package/es/src/utils/jump-page-utils.mjs +264 -0
- package/es/src/utils/local-storage.mjs +19 -0
- package/es/src/utils/menu.mjs +14 -0
- package/es/src/utils/permission.mjs +45 -0
- package/es/src/utils/permissionAuth.mjs +154 -0
- package/es/src/utils/range-selector.mjs +105 -0
- package/es/src/utils/request.mjs +140 -0
- package/es/src/utils/resize.mjs +11 -0
- package/es/src/utils/restful-interface-utils.mjs +18 -0
- package/es/src/utils/util.mjs +361 -0
- package/es/src/utils/validate.mjs +22 -0
- package/es/src/utils/voice-setting-cache.mjs +212 -0
- package/es/src/utils/watermark-cache.mjs +15 -0
- package/es/src/utils/watermark.mjs +40 -0
- package/es/src/utils/workflow-util.mjs +42 -0
- package/es/src/views/dsc-component/Sidebar/Item.vue.mjs +7 -0
- package/es/src/views/dsc-component/Sidebar/Item.vue2.mjs +12 -0
- package/es/src/views/dsc-component/Sidebar/Item.vue3.mjs +4 -0
- package/es/src/views/dsc-component/Sidebar/Link.vue.mjs +14 -0
- package/es/src/views/dsc-component/Sidebar/SidebarItem.vue.mjs +53 -0
- package/es/src/views/dsc-component/Sidebar/SidebarItem.vue2.mjs +4 -0
- package/es/src/views/dsc-component/Sidebar/index.vue.mjs +111 -0
- package/es/src/views/dsc-component/tabs/tab-content.vue.mjs +66 -0
- package/es/src/views/dsc-component/tabs/tab-content.vue2.mjs +4 -0
- package/es/src/views/dsc-component/tabs/tab-content.vue3.mjs +4 -0
- package/es/src/views/error-page/401.vue.mjs +15 -0
- package/es/src/views/error-page/401.vue2.mjs +4 -0
- package/es/src/views/error-page/404.vue.mjs +12 -0
- package/es/src/views/error-page/404.vue2.mjs +4 -0
- package/es/src/views/layout/EmptyLayout.vue.mjs +9 -0
- package/es/src/views/layout/Layout.vue.mjs +28 -0
- package/es/src/views/layout/Layout.vue2.mjs +4 -0
- package/es/src/views/layout/NewLayout.vue.mjs +11 -0
- package/es/src/views/layout/components/AppMain.vue.mjs +13 -0
- package/es/src/views/layout/components/AppMain.vue2.mjs +4 -0
- package/es/src/views/layout/components/Breadcrumb/index.vue.mjs +49 -0
- package/es/src/views/layout/components/Breadcrumb/index.vue2.mjs +4 -0
- package/es/src/views/layout/components/Menubar/Item.vue.mjs +7 -0
- package/es/src/views/layout/components/Menubar/Item.vue2.mjs +15 -0
- package/es/src/views/layout/components/Menubar/Item.vue3.mjs +4 -0
- package/es/src/views/layout/components/Menubar/Link.vue.mjs +14 -0
- package/es/src/views/layout/components/Menubar/SidebarItem.vue.mjs +56 -0
- package/es/src/views/layout/components/Menubar/SidebarItem.vue2.mjs +4 -0
- package/es/src/views/layout/components/Menubar/index.vue.mjs +90 -0
- package/es/src/views/layout/components/Sidebar/Item.vue.mjs +9 -0
- package/es/src/views/layout/components/Sidebar/Item.vue2.mjs +4 -0
- package/es/src/views/layout/components/Sidebar/Link.vue.mjs +12 -0
- package/es/src/views/layout/components/Sidebar/SidebarItem.vue.mjs +22 -0
- package/es/src/views/layout/components/Sidebar/SidebarItem.vue2.mjs +4 -0
- package/es/src/views/layout/components/Sidebar/index.vue.mjs +58 -0
- package/es/src/views/layout/components/iframe-page.vue.mjs +14 -0
- package/es/src/views/layout/components/iframe-page.vue2.mjs +4 -0
- package/es/src/views/layout/components/tabs/tab-content.vue.mjs +64 -0
- package/es/src/views/layout/components/tabs/tab-content.vue2.mjs +4 -0
- package/es/src/views/layout/components/tabs/tab-content.vue3.mjs +4 -0
- package/es/src/views/layout/mixin/ResizeHandler.mjs +16 -0
- package/es/src/views/layout/tab-content-iframe-index.vue.mjs +14 -0
- package/es/src/views/layout/tab-content-iframe-index.vue2.mjs +4 -0
- package/es/src/views/layout/tab-content-index.vue.mjs +28 -0
- package/es/src/views/layout/tab-content-index.vue2.mjs +4 -0
- package/es/src/views/login/authredirect.vue.mjs +7 -0
- package/es/src/views/redirect/index.vue.mjs +8 -0
- package/es/src/views/svg-icon/src/svg-icon.vue.mjs +4 -0
- package/es/src/views/wf-history/tache-subprocess-history.vue.mjs +14 -0
- package/es/src/views/wf-history/tache-subprocess-history.vue2.mjs +4 -0
- package/es/style.css +3077 -0
- package/es/super-grid/index.mjs +7 -0
- package/es/super-grid/src/apis.mjs +458 -0
- package/es/super-grid/src/columns-config.vue.mjs +82 -0
- package/es/super-grid/src/components/grid-icon.vue.mjs +47 -0
- package/es/super-grid/src/components/grid-radio-input.vue.mjs +25 -0
- package/es/super-grid/src/components/grid-radio-input.vue2.mjs +4 -0
- package/es/super-grid/src/components/mobile-table-card.mjs +109 -0
- package/es/super-grid/src/components/select-input.vue.mjs +149 -0
- package/es/super-grid/src/components/select-input.vue2.mjs +4 -0
- package/es/super-grid/src/custom-formatter.mjs +168 -0
- package/es/super-grid/src/dynamic-input.vue.mjs +482 -0
- package/es/super-grid/src/eventBus.mjs +6 -0
- package/es/super-grid/src/events.mjs +37 -0
- package/es/super-grid/src/formValidatorUtil.mjs +109 -0
- package/es/super-grid/src/formatter.mjs +74 -0
- package/es/super-grid/src/group-column.vue.mjs +24 -0
- package/es/super-grid/src/header-context-menu.vue.mjs +15 -0
- package/es/super-grid/src/header-context-menu.vue2.mjs +4 -0
- package/es/super-grid/src/index-column.vue.mjs +22 -0
- package/es/super-grid/src/normal-column-content.vue.mjs +319 -0
- package/es/super-grid/src/normal-column-content.vue2.mjs +4 -0
- package/es/super-grid/src/normal-column.vue.mjs +106 -0
- package/es/super-grid/src/normal-column.vue2.mjs +4 -0
- package/es/super-grid/src/public-methods.mjs +22 -0
- package/es/super-grid/src/row-detail.vue.mjs +14 -0
- package/es/super-grid/src/row-operation.vue.mjs +89 -0
- package/es/super-grid/src/row-operation.vue2.mjs +4 -0
- package/es/super-grid/src/scan-util.mjs +100 -0
- package/es/super-grid/src/search-button.vue.mjs +23 -0
- package/es/super-grid/src/search-condition-input.vue.mjs +17 -0
- package/es/super-grid/src/search-condition-list.vue.mjs +20 -0
- package/es/super-grid/src/search-form-advancedQuery.vue.mjs +116 -0
- package/es/super-grid/src/search-form-advancedQuery.vue2.mjs +4 -0
- package/es/super-grid/src/search-form-dialog.vue.mjs +16 -0
- package/es/super-grid/src/search-form-item.vue.mjs +128 -0
- package/es/super-grid/src/search-form-item.vue2.mjs +4 -0
- package/es/super-grid/src/search-form-mobile.vue.mjs +41 -0
- package/es/super-grid/src/search-form-mobile.vue2.mjs +4 -0
- package/es/super-grid/src/search-form-number.vue.mjs +26 -0
- package/es/super-grid/src/search-form-open.vue.mjs +50 -0
- package/es/super-grid/src/search-form-ordinarySearch.vue.mjs +39 -0
- package/es/super-grid/src/search-form-ordinarySearch.vue2.mjs +4 -0
- package/es/super-grid/src/search-form.vue.mjs +201 -0
- package/es/super-grid/src/search-form.vue2.mjs +4 -0
- package/es/super-grid/src/search-methods.mjs +164 -0
- package/es/super-grid/src/selection-column.vue.mjs +11 -0
- package/es/super-grid/src/store.mjs +4 -0
- package/es/super-grid/src/super-grid-service.mjs +260 -0
- package/es/super-grid/src/super-grid.vue.mjs +1052 -0
- package/es/super-grid/src/super-grid.vue2.mjs +4 -0
- package/es/super-grid/src/utils.mjs +355 -0
- package/es/super-grid/src/view-image-dialog.vue.mjs +67 -0
- package/es/super-icon/index.mjs +7 -0
- package/es/super-icon/src/index.vue.mjs +7 -0
- package/es/super-icon/src/index.vue2.mjs +13 -0
- package/es/super-icon/src/index.vue3.mjs +4 -0
- package/es/super-nine-grid/index.mjs +7 -0
- package/es/super-nine-grid/src/apis.mjs +36 -0
- package/es/super-nine-grid/src/custom-formatter.mjs +35 -0
- package/es/super-nine-grid/src/formatter.mjs +37 -0
- package/es/super-nine-grid/src/search-form-number.vue.mjs +13 -0
- package/es/super-nine-grid/src/search-form.vue.mjs +91 -0
- package/es/super-nine-grid/src/search-form.vue2.mjs +4 -0
- package/es/super-nine-grid/src/search-methods.mjs +48 -0
- package/es/super-nine-grid/src/store.mjs +4 -0
- package/es/super-nine-grid/src/super-grid-service.mjs +39 -0
- package/es/super-nine-grid/src/super-nine-grid.vue.mjs +225 -0
- package/es/super-nine-grid/src/super-nine-grid.vue2.mjs +4 -0
- package/es/super-nine-grid/src/utils.mjs +32 -0
- package/es/svg-icon/index.mjs +7 -0
- package/es/svg-icon/src/svg-icon.vue.mjs +14 -0
- package/es/svg-icon/src/svg-icon.vue2.mjs +4 -0
- package/es/utils/gogocodeTransfer.mjs +33 -0
- package/es/utils/memory-cache-utils.mjs +30 -0
- package/es/utils/organization.mjs +57 -0
- package/es/utils/utils.mjs +87 -0
- package/es/utils/value-set.mjs +94 -0
- package/es/valid-code/index.mjs +7 -0
- package/es/valid-code/src/valid-code.vue.mjs +23 -0
- package/es/valid-code/src/valid-code.vue2.mjs +4 -0
- package/es/workflow-button/index.mjs +7 -0
- package/es/workflow-button/src/workflow-button.vue.mjs +85 -0
- package/es/workflow-history-list/index.mjs +7 -0
- package/es/workflow-history-list/src/api.mjs +6 -0
- package/es/workflow-history-list/src/workflow-history-list.vue.mjs +89 -0
- package/es/workflow-history-list/src/workflow-history-list.vue2.mjs +4 -0
- package/es/workgroup-tree/index.mjs +7 -0
- package/es/workgroup-tree/src/workgroup-tree.vue.mjs +23 -0
- package/es/workgroup-tree-inline/index.mjs +7 -0
- package/es/workgroup-tree-inline/src/search-result.vue.mjs +39 -0
- package/es/workgroup-tree-inline/src/search-result.vue2.mjs +4 -0
- package/es/workgroup-tree-inline/src/workgroup-tree-inline.vue.mjs +128 -0
- package/es/workgroup-tree-inline/src/workgroup-tree-inline.vue2.mjs +4 -0
- package/es/workgroup-tree-inline/src/workgroup-tree-service.mjs +35 -0
- package/es/workgroup-tree-mobile/index.mjs +8 -0
- package/es/workgroup-tree-mobile/src/dept-result.vue.mjs +16 -0
- package/es/workgroup-tree-mobile/src/dept-result.vue2.mjs +4 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue.mjs +15 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue2.mjs +4 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-app.vue3.mjs +5 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.mjs +109 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.mjs +4 -0
- package/es/workgroup-tree-mobile/src/workgroup-tree-service.mjs +33 -0
- package/es/workgroup-user-tree/index.mjs +7 -0
- package/es/workgroup-user-tree/src/workgroup-user-tree.vue.mjs +23 -0
- package/es/workgroup-user-tree-inline/index.mjs +7 -0
- package/es/workgroup-user-tree-inline/src/search-result.vue.mjs +39 -0
- package/es/workgroup-user-tree-inline/src/search-result.vue2.mjs +4 -0
- package/es/workgroup-user-tree-inline/src/workgroup-tree-inline-service.mjs +73 -0
- package/es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.mjs +172 -0
- package/es/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.mjs +4 -0
- package/es/workgroup-user-tree-mobile/src/dept-path.vue.mjs +14 -0
- package/es/workgroup-user-tree-mobile/src/dept-path.vue2.mjs +4 -0
- package/es/workgroup-user-tree-mobile/src/dept-result.vue.mjs +17 -0
- package/es/workgroup-user-tree-mobile/src/dept-result.vue2.mjs +4 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.mjs +15 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.mjs +4 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.mjs +5 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.mjs +135 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.mjs +4 -0
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-service.mjs +29 -0
- package/es/year-range-picker/index.mjs +7 -0
- package/es/year-range-picker/src/year-range-picker.vue.mjs +14 -0
- package/lib/IntervalSelection/index.cjs +5 -0
- package/lib/IntervalSelection/src/sectionDate.vue.cjs +45 -0
- package/lib/breadcrumb/index.cjs +5 -0
- package/lib/breadcrumb/src/breadcrumb.vue.cjs +37 -0
- package/lib/chat-embed/index.cjs +5 -0
- package/lib/chat-embed/src/chat-addition-data.vue.cjs +5 -0
- package/lib/chat-embed/src/chat-ai-answer-tip.vue.cjs +5 -0
- package/lib/chat-embed/src/chat-bubble-footer.vue.cjs +5 -0
- package/lib/chat-embed/src/chat-embed-message.cjs +16 -0
- package/lib/chat-embed/src/chat-sender.vue.cjs +5 -0
- package/lib/chat-embed/src/chat-sender.vue2.cjs +147 -0
- package/lib/chat-embed/src/components/answer-auto-chart.vue.cjs +5 -0
- package/lib/chat-embed/src/components/answer-home-chart.vue.cjs +5 -0
- package/lib/chat-embed/src/components/answer-interaction-data.vue.cjs +5 -0
- package/lib/chat-embed/src/components/answer-interaction-data.vue2.cjs +108 -0
- package/lib/chat-embed/src/components/history-detail.vue.cjs +5 -0
- package/lib/chat-embed/src/components/history-detail.vue2.cjs +50 -0
- package/lib/chat-embed/src/header.vue.cjs +5 -0
- package/lib/chat-embed/src/header.vue2.cjs +39 -0
- package/lib/chat-embed/src/index.vue.cjs +5 -0
- package/lib/chat-embed/src/index.vue2.cjs +281 -0
- package/lib/chat-embed/src/recommendation-message.vue.cjs +5 -0
- package/lib/chat-embed/src/sidebar-item.vue.cjs +5 -0
- package/lib/chat-embed/src/sidebar-item.vue2.cjs +109 -0
- package/lib/chat-embed/src/util/history-message-util.cjs +74 -0
- package/lib/chat-embed/src/util/mcp-utils.cjs +50 -0
- package/lib/chat-embed/src/voice/index.cjs +5 -0
- package/lib/chat-embed/src/voice/voice.vue.cjs +95 -0
- package/lib/date-picker-range/index.cjs +5 -0
- package/lib/date-picker-range/index.vue.cjs +5 -0
- package/lib/department-tree/index.cjs +5 -0
- package/lib/department-tree/src/department-tree.vue.cjs +17 -0
- package/lib/department-tree-inline/index.cjs +5 -0
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue.cjs +81 -0
- package/lib/department-tree-inline/src/department-single-tree-inline.vue.cjs +54 -0
- package/lib/department-tree-inline/src/department-tree-inline.vue.cjs +12 -0
- package/lib/department-tree-inline/src/department-tree-service.cjs +106 -0
- package/lib/department-tree-inline/src/search-result.vue.cjs +36 -0
- package/lib/department-tree-mobile/index.cjs +5 -0
- package/lib/department-tree-mobile/src/department-tree-app.vue.cjs +12 -0
- package/lib/department-tree-mobile/src/department-tree-app.vue3.cjs +3 -0
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue.cjs +110 -0
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue2.cjs +3 -0
- package/lib/department-tree-mobile/src/dept-path.vue2.cjs +3 -0
- package/lib/department-tree-mobile/src/dept-result.vue2.cjs +3 -0
- package/lib/department-user-tree/index.cjs +5 -0
- package/lib/department-user-tree/src/department-user-multiple-tree.vue.cjs +16 -0
- package/lib/department-user-tree/src/department-user-single-tree.vue.cjs +14 -0
- package/lib/department-user-tree/src/department-user-tree.vue.cjs +21 -0
- package/lib/department-user-tree-inline/index.cjs +5 -0
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.cjs +154 -0
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.cjs +57 -0
- package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.cjs +11 -0
- package/lib/department-user-tree-inline/src/department-user-tree-multi-service.cjs +78 -0
- package/lib/department-user-tree-inline/src/department-user-tree-single-service.cjs +51 -0
- package/lib/department-user-tree-inline/src/group-user/group-input.vue.cjs +34 -0
- package/lib/department-user-tree-inline/src/group-user/group-list.vue.cjs +22 -0
- package/lib/department-user-tree-inline/src/group-user/group-user.vue.cjs +10 -0
- package/lib/department-user-tree-inline/src/group-user-multiple-tree.vue.cjs +72 -0
- package/lib/department-user-tree-inline/src/group-user-single-tree.vue.cjs +28 -0
- package/lib/department-user-tree-inline/src/search-result.vue.cjs +38 -0
- package/lib/department-user-tree-mobile/index.cjs +5 -0
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.cjs +12 -0
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue3.cjs +3 -0
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.cjs +124 -0
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.cjs +3 -0
- package/lib/department-user-tree-mobile/src/dept-path.vue2.cjs +3 -0
- package/lib/department-user-tree-mobile/src/dept-result.vue.cjs +13 -0
- package/lib/department-user-tree-mobile/src/dept-result.vue2.cjs +3 -0
- package/lib/dynamic-source-select/index.cjs +5 -0
- package/lib/dynamic-source-select/src/dynamic-source-select-service.cjs +30 -0
- package/lib/dynamic-source-select/src/dynamic-source-select.vue.cjs +266 -0
- package/lib/empty-state/index.vue2.cjs +3 -0
- package/lib/fs-preview/index.cjs +5 -0
- package/lib/fs-preview/src/fs-preview.vue.cjs +111 -0
- package/lib/fs-upload/index.cjs +5 -0
- package/lib/fs-upload/src/fs-upload-multi.vue.cjs +63 -0
- package/lib/fs-upload/src/fs-upload-single.vue.cjs +64 -0
- package/lib/fs-upload/src/fs-upload.vue.cjs +18 -0
- package/lib/fs-upload/src/see-big-picture.vue.cjs +9 -0
- package/lib/fs-upload-list/index.cjs +5 -0
- package/lib/fs-upload-list/src/fs-upload-list.vue.cjs +91 -0
- package/lib/fs-upload-new/index.cjs +5 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.cjs +57 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.cjs +3 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.cjs +170 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.cjs +3 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.cjs +5 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.cjs +32 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.cjs +41 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.cjs +3 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.cjs +29 -0
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue2.cjs +3 -0
- package/lib/fs-upload-new/src/fs-button-upload.vue.cjs +5 -0
- package/lib/fs-upload-new/src/fs-button-upload.vue2.cjs +55 -0
- package/lib/fs-upload-new/src/fs-drag-upload.vue.cjs +5 -0
- package/lib/fs-upload-new/src/fs-drag-upload.vue2.cjs +55 -0
- package/lib/fs-upload-new/src/fs-preview-new.vue.cjs +5 -0
- package/lib/fs-upload-new/src/fs-preview-new.vue2.cjs +84 -0
- package/lib/fs-upload-new/src/fs-upload-new.vue.cjs +54 -0
- package/lib/fs-upload-new/src/fs-upload-new.vue2.cjs +3 -0
- package/lib/hamburger/index.cjs +5 -0
- package/lib/hamburger/src/hamburger.vue.cjs +11 -0
- package/lib/index.cjs +41 -0
- package/lib/json-view/json-view-dialog.vue.cjs +16 -0
- package/lib/json-view/json-view-dialog.vue2.cjs +3 -0
- package/lib/json-view/json-view.vue.cjs +3 -0
- package/lib/multipart-upload/index.cjs +5 -0
- package/lib/multipart-upload/src/index.vue.cjs +10 -0
- package/lib/multipart-upload/src/multipart-upload-form.vue.cjs +73 -0
- package/lib/multipart-upload/src/multipart-upload-list.vue.cjs +96 -0
- package/lib/organization-input/index.cjs +5 -0
- package/lib/organization-input/src/organization-input.vue.cjs +218 -0
- package/lib/plugins/export-data-new.cjs +229 -0
- package/lib/plugins/export-data.cjs +173 -0
- package/lib/plugins/index.cjs +5 -0
- package/lib/remove-department/index.cjs +5 -0
- package/lib/remove-department/src/remove-department.vue.cjs +27 -0
- package/lib/remove-user/index.cjs +5 -0
- package/lib/remove-user/src/remove-user.vue.cjs +29 -0
- package/lib/remove-workgroup/index.cjs +5 -0
- package/lib/remove-workgroup/src/remove-workgroup.vue.cjs +25 -0
- package/lib/rich-editor/index.cjs +5 -0
- package/lib/rich-editor/index.vue.cjs +67 -0
- package/lib/rich-editor/viewer.vue.cjs +24 -0
- package/lib/row-form/index.cjs +5 -0
- package/lib/row-form/index.vue.cjs +5 -0
- package/lib/row-form/index.vue2.cjs +56 -0
- package/lib/row-form/operation.vue.cjs +28 -0
- package/lib/row-form/operation.vue2.cjs +3 -0
- package/lib/scan-code-input/index.cjs +5 -0
- package/lib/scan-code-input/src/events.cjs +13 -0
- package/lib/scan-code-input/src/scan-code-input.vue.cjs +26 -0
- package/lib/scan-code-input-browser/index.cjs +5 -0
- package/lib/scan-code-input-browser/src/scan-code-input.vue.cjs +34 -0
- package/lib/secret-info/index.cjs +5 -0
- package/lib/secret-info/index.vue.cjs +13 -0
- package/lib/src/api/sso-service.cjs +55 -0
- package/lib/src/components/Affix/index.vue.cjs +5 -0
- package/lib/src/components/Card/index.cjs +43 -0
- package/lib/src/components/Scrollbar/index.vue.cjs +48 -0
- package/lib/src/directives/permission/index.cjs +5 -0
- package/lib/src/directives/permission/permission.cjs +9 -0
- package/lib/src/i18n/i18n.cjs +3 -0
- package/lib/src/permission.cjs +76 -0
- package/lib/src/router/index.cjs +16 -0
- package/lib/src/store/index.cjs +16 -0
- package/lib/src/store/modules/permission.cjs +30 -0
- package/lib/src/store/modules/system.cjs +10 -0
- package/lib/src/store/modules/tab-content.cjs +18 -0
- package/lib/src/store/modules/user.cjs +133 -0
- package/lib/src/utils/auth.cjs +86 -0
- package/lib/src/utils/calculator/calculator-util.cjs +53 -0
- package/lib/src/utils/common-util.cjs +355 -0
- package/lib/src/utils/jump-page-utils.cjs +256 -0
- package/lib/src/utils/menu.cjs +13 -0
- package/lib/src/utils/permission.cjs +41 -0
- package/lib/src/utils/permissionAuth.cjs +120 -0
- package/lib/src/utils/range-selector.cjs +101 -0
- package/lib/src/utils/request.cjs +131 -0
- package/lib/src/utils/util.cjs +341 -0
- package/lib/src/utils/voice-setting-cache.cjs +199 -0
- package/lib/src/utils/watermark.cjs +33 -0
- package/lib/src/utils/workflow-util.cjs +41 -0
- package/lib/src/views/dsc-component/Sidebar/Item.vue.cjs +5 -0
- package/lib/src/views/dsc-component/Sidebar/Item.vue2.cjs +9 -0
- package/lib/src/views/dsc-component/Sidebar/Link.vue.cjs +11 -0
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue.cjs +46 -0
- package/lib/src/views/dsc-component/Sidebar/index.vue.cjs +103 -0
- package/lib/src/views/dsc-component/tabs/tab-content.vue.cjs +61 -0
- package/lib/src/views/error-page/401.vue.cjs +11 -0
- package/lib/src/views/error-page/404.vue.cjs +8 -0
- package/lib/src/views/layout/EmptyLayout.vue.cjs +7 -0
- package/lib/src/views/layout/Layout.vue.cjs +21 -0
- package/lib/src/views/layout/NewLayout.vue.cjs +7 -0
- package/lib/src/views/layout/components/AppMain.vue.cjs +11 -0
- package/lib/src/views/layout/components/Breadcrumb/index.vue.cjs +56 -0
- package/lib/src/views/layout/components/Menubar/Item.vue.cjs +5 -0
- package/lib/src/views/layout/components/Menubar/Item.vue2.cjs +13 -0
- package/lib/src/views/layout/components/Menubar/Link.vue.cjs +11 -0
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue.cjs +47 -0
- package/lib/src/views/layout/components/Menubar/index.vue.cjs +79 -0
- package/lib/src/views/layout/components/Sidebar/Item.vue2.cjs +3 -0
- package/lib/src/views/layout/components/Sidebar/Link.vue.cjs +9 -0
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue.cjs +16 -0
- package/lib/src/views/layout/components/Sidebar/index.vue.cjs +51 -0
- package/lib/src/views/layout/components/iframe-page.vue.cjs +12 -0
- package/lib/src/views/layout/components/tabs/tab-content.vue.cjs +60 -0
- package/lib/src/views/layout/mixin/ResizeHandler.cjs +14 -0
- package/lib/src/views/layout/tab-content-iframe-index.vue.cjs +12 -0
- package/lib/src/views/layout/tab-content-index.vue.cjs +22 -0
- package/lib/src/views/wf-history/tache-subprocess-history.vue.cjs +12 -0
- package/lib/style.css +953 -953
- package/lib/super-grid/index.cjs +5 -0
- package/lib/super-grid/src/apis.cjs +448 -0
- package/lib/super-grid/src/columns-config.vue.cjs +76 -0
- package/lib/super-grid/src/components/grid-icon.vue.cjs +39 -0
- package/lib/super-grid/src/components/grid-radio-input.vue.cjs +22 -0
- package/lib/super-grid/src/components/grid-radio-input.vue2.cjs +3 -0
- package/lib/super-grid/src/components/mobile-table-card.cjs +99 -0
- package/lib/super-grid/src/components/select-input.vue.cjs +141 -0
- package/lib/super-grid/src/components/select-input.vue2.cjs +3 -0
- package/lib/super-grid/src/custom-formatter.cjs +163 -0
- package/lib/super-grid/src/dynamic-input.vue.cjs +465 -0
- package/lib/super-grid/src/events.cjs +35 -0
- package/lib/super-grid/src/formValidatorUtil.cjs +106 -0
- package/lib/super-grid/src/group-column.vue.cjs +19 -0
- package/lib/super-grid/src/header-context-menu.vue.cjs +12 -0
- package/lib/super-grid/src/index-column.vue.cjs +19 -0
- package/lib/super-grid/src/normal-column-content.vue.cjs +300 -0
- package/lib/super-grid/src/normal-column.vue.cjs +91 -0
- package/lib/super-grid/src/row-detail.vue.cjs +11 -0
- package/lib/super-grid/src/row-operation.vue.cjs +82 -0
- package/lib/super-grid/src/scan-util.cjs +98 -0
- package/lib/super-grid/src/search-button.vue.cjs +18 -0
- package/lib/super-grid/src/search-condition-input.vue.cjs +13 -0
- package/lib/super-grid/src/search-condition-list.vue.cjs +17 -0
- package/lib/super-grid/src/search-form-advancedQuery.vue.cjs +106 -0
- package/lib/super-grid/src/search-form-dialog.vue.cjs +12 -0
- package/lib/super-grid/src/search-form-item.vue.cjs +120 -0
- package/lib/super-grid/src/search-form-mobile.vue.cjs +32 -0
- package/lib/super-grid/src/search-form-number.vue.cjs +21 -0
- package/lib/super-grid/src/search-form-open.vue.cjs +44 -0
- package/lib/super-grid/src/search-form-ordinarySearch.vue.cjs +31 -0
- package/lib/super-grid/src/search-form.vue.cjs +189 -0
- package/lib/super-grid/src/selection-column.vue.cjs +9 -0
- package/lib/super-grid/src/super-grid-service.cjs +253 -0
- package/lib/super-grid/src/super-grid.vue.cjs +1021 -0
- package/lib/super-grid/src/utils.cjs +298 -0
- package/lib/super-grid/src/view-image-dialog.vue.cjs +60 -0
- package/lib/super-icon/index.cjs +5 -0
- package/lib/super-icon/src/index.vue.cjs +5 -0
- package/lib/super-icon/src/index.vue2.cjs +10 -0
- package/lib/super-nine-grid/index.cjs +5 -0
- package/lib/super-nine-grid/src/apis.cjs +33 -0
- package/lib/super-nine-grid/src/custom-formatter.cjs +33 -0
- package/lib/super-nine-grid/src/search-form-number.vue.cjs +9 -0
- package/lib/super-nine-grid/src/search-form.vue.cjs +84 -0
- package/lib/super-nine-grid/src/super-grid-service.cjs +35 -0
- package/lib/super-nine-grid/src/super-nine-grid.vue.cjs +215 -0
- package/lib/super-nine-grid/src/utils.cjs +36 -0
- package/lib/svg-icon/index.cjs +5 -0
- package/lib/svg-icon/src/svg-icon.vue.cjs +12 -0
- package/lib/utils/memory-cache-utils.cjs +28 -0
- package/lib/utils/utils.cjs +85 -0
- package/lib/utils/value-set.cjs +92 -0
- package/lib/valid-code/index.cjs +5 -0
- package/lib/valid-code/src/valid-code.vue.cjs +20 -0
- package/lib/workflow-button/index.cjs +5 -0
- package/lib/workflow-button/src/workflow-button.vue.cjs +80 -0
- package/lib/workflow-history-list/index.cjs +5 -0
- package/lib/workflow-history-list/src/workflow-history-list.vue.cjs +83 -0
- package/lib/workgroup-tree/index.cjs +5 -0
- package/lib/workgroup-tree/src/workgroup-tree.vue.cjs +17 -0
- package/lib/workgroup-tree-inline/index.cjs +5 -0
- package/lib/workgroup-tree-inline/src/search-result.vue.cjs +35 -0
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.cjs +119 -0
- package/lib/workgroup-tree-inline/src/workgroup-tree-service.cjs +33 -0
- package/lib/workgroup-tree-mobile/index.cjs +5 -0
- package/lib/workgroup-tree-mobile/src/dept-result.vue2.cjs +3 -0
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.cjs +12 -0
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue3.cjs +3 -0
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.cjs +99 -0
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.cjs +3 -0
- package/lib/workgroup-user-tree/index.cjs +5 -0
- package/lib/workgroup-user-tree/src/workgroup-user-tree.vue.cjs +17 -0
- package/lib/workgroup-user-tree-inline/index.cjs +5 -0
- package/lib/workgroup-user-tree-inline/src/search-result.vue.cjs +35 -0
- package/lib/workgroup-user-tree-inline/src/workgroup-tree-inline-service.cjs +71 -0
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.cjs +163 -0
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue2.cjs +3 -0
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue.cjs +13 -0
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue2.cjs +3 -0
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.cjs +12 -0
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.cjs +3 -0
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.cjs +124 -0
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.cjs +3 -0
- package/lib/year-range-picker/index.cjs +5 -0
- package/lib/year-range-picker/src/year-range-picker.vue.cjs +11 -0
- package/package.json +3 -2
- package/vite.config.js +22 -22
- package/lib/IntervalSelection/index.js +0 -5
- package/lib/IntervalSelection/src/sectionDate.vue.js +0 -45
- package/lib/breadcrumb/index.js +0 -5
- package/lib/breadcrumb/src/breadcrumb.vue.js +0 -37
- package/lib/chat-embed/index.js +0 -5
- package/lib/chat-embed/src/chat-addition-data.vue.js +0 -5
- package/lib/chat-embed/src/chat-ai-answer-tip.vue.js +0 -5
- package/lib/chat-embed/src/chat-bubble-footer.vue.js +0 -5
- package/lib/chat-embed/src/chat-embed-message.js +0 -16
- package/lib/chat-embed/src/chat-sender.vue.js +0 -5
- package/lib/chat-embed/src/chat-sender.vue2.js +0 -147
- package/lib/chat-embed/src/components/answer-auto-chart.vue.js +0 -5
- package/lib/chat-embed/src/components/answer-home-chart.vue.js +0 -5
- package/lib/chat-embed/src/components/answer-interaction-data.vue.js +0 -5
- package/lib/chat-embed/src/components/answer-interaction-data.vue2.js +0 -108
- package/lib/chat-embed/src/components/history-detail.vue.js +0 -5
- package/lib/chat-embed/src/components/history-detail.vue2.js +0 -50
- package/lib/chat-embed/src/header.vue.js +0 -5
- package/lib/chat-embed/src/header.vue2.js +0 -39
- package/lib/chat-embed/src/index.vue.js +0 -5
- package/lib/chat-embed/src/index.vue2.js +0 -281
- package/lib/chat-embed/src/recommendation-message.vue.js +0 -5
- package/lib/chat-embed/src/sidebar-item.vue.js +0 -5
- package/lib/chat-embed/src/sidebar-item.vue2.js +0 -109
- package/lib/chat-embed/src/util/history-message-util.js +0 -74
- package/lib/chat-embed/src/util/mcp-utils.js +0 -50
- package/lib/chat-embed/src/voice/index.js +0 -5
- package/lib/chat-embed/src/voice/voice.vue.js +0 -95
- package/lib/date-picker-range/index.js +0 -5
- package/lib/date-picker-range/index.vue.js +0 -5
- package/lib/department-tree/index.js +0 -5
- package/lib/department-tree/src/department-tree.vue.js +0 -17
- package/lib/department-tree-inline/index.js +0 -5
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue.js +0 -81
- package/lib/department-tree-inline/src/department-single-tree-inline.vue.js +0 -54
- package/lib/department-tree-inline/src/department-tree-inline.vue.js +0 -12
- package/lib/department-tree-inline/src/department-tree-service.js +0 -106
- package/lib/department-tree-inline/src/search-result.vue.js +0 -36
- package/lib/department-tree-mobile/index.js +0 -5
- package/lib/department-tree-mobile/src/department-tree-app.vue.js +0 -12
- package/lib/department-tree-mobile/src/department-tree-app.vue3.js +0 -3
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue.js +0 -110
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue2.js +0 -3
- package/lib/department-tree-mobile/src/dept-path.vue2.js +0 -3
- package/lib/department-tree-mobile/src/dept-result.vue2.js +0 -3
- package/lib/department-user-tree/index.js +0 -5
- package/lib/department-user-tree/src/department-user-multiple-tree.vue.js +0 -16
- package/lib/department-user-tree/src/department-user-single-tree.vue.js +0 -14
- package/lib/department-user-tree/src/department-user-tree.vue.js +0 -21
- package/lib/department-user-tree-inline/index.js +0 -5
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +0 -154
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +0 -57
- package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.js +0 -11
- package/lib/department-user-tree-inline/src/department-user-tree-multi-service.js +0 -78
- package/lib/department-user-tree-inline/src/department-user-tree-single-service.js +0 -51
- package/lib/department-user-tree-inline/src/group-user/group-input.vue.js +0 -34
- package/lib/department-user-tree-inline/src/group-user/group-list.vue.js +0 -22
- package/lib/department-user-tree-inline/src/group-user/group-user.vue.js +0 -10
- package/lib/department-user-tree-inline/src/group-user-multiple-tree.vue.js +0 -72
- package/lib/department-user-tree-inline/src/group-user-single-tree.vue.js +0 -28
- package/lib/department-user-tree-inline/src/search-result.vue.js +0 -38
- package/lib/department-user-tree-mobile/index.js +0 -5
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.js +0 -12
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue3.js +0 -3
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +0 -124
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +0 -3
- package/lib/department-user-tree-mobile/src/dept-path.vue2.js +0 -3
- package/lib/department-user-tree-mobile/src/dept-result.vue.js +0 -13
- package/lib/department-user-tree-mobile/src/dept-result.vue2.js +0 -3
- package/lib/dynamic-source-select/index.js +0 -5
- package/lib/dynamic-source-select/src/dynamic-source-select-service.js +0 -30
- package/lib/dynamic-source-select/src/dynamic-source-select.vue.js +0 -266
- package/lib/empty-state/index.vue2.js +0 -3
- package/lib/fs-preview/index.js +0 -5
- package/lib/fs-preview/src/fs-preview.vue.js +0 -111
- package/lib/fs-upload/index.js +0 -5
- package/lib/fs-upload/src/fs-upload-multi.vue.js +0 -63
- package/lib/fs-upload/src/fs-upload-single.vue.js +0 -64
- package/lib/fs-upload/src/fs-upload.vue.js +0 -18
- package/lib/fs-upload/src/see-big-picture.vue.js +0 -9
- package/lib/fs-upload-list/index.js +0 -5
- package/lib/fs-upload-list/src/fs-upload-list.vue.js +0 -91
- package/lib/fs-upload-new/index.js +0 -5
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +0 -57
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +0 -3
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +0 -170
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +0 -3
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +0 -5
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +0 -32
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +0 -41
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +0 -3
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +0 -29
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +0 -3
- package/lib/fs-upload-new/src/fs-button-upload.vue.js +0 -5
- package/lib/fs-upload-new/src/fs-button-upload.vue2.js +0 -55
- package/lib/fs-upload-new/src/fs-drag-upload.vue.js +0 -5
- package/lib/fs-upload-new/src/fs-drag-upload.vue2.js +0 -55
- package/lib/fs-upload-new/src/fs-preview-new.vue.js +0 -5
- package/lib/fs-upload-new/src/fs-preview-new.vue2.js +0 -84
- package/lib/fs-upload-new/src/fs-upload-new.vue.js +0 -54
- package/lib/fs-upload-new/src/fs-upload-new.vue2.js +0 -3
- package/lib/hamburger/index.js +0 -5
- package/lib/hamburger/src/hamburger.vue.js +0 -11
- package/lib/index.js +0 -41
- package/lib/json-view/json-view-dialog.vue.js +0 -16
- package/lib/json-view/json-view-dialog.vue2.js +0 -3
- package/lib/json-view/json-view.vue.js +0 -3
- package/lib/multipart-upload/index.js +0 -5
- package/lib/multipart-upload/src/index.vue.js +0 -10
- package/lib/multipart-upload/src/multipart-upload-form.vue.js +0 -73
- package/lib/multipart-upload/src/multipart-upload-list.vue.js +0 -96
- package/lib/organization-input/index.js +0 -5
- package/lib/organization-input/src/organization-input.vue.js +0 -218
- package/lib/plugins/export-data-new.js +0 -229
- package/lib/plugins/export-data.js +0 -173
- package/lib/plugins/index.js +0 -5
- package/lib/remove-department/index.js +0 -5
- package/lib/remove-department/src/remove-department.vue.js +0 -27
- package/lib/remove-user/index.js +0 -5
- package/lib/remove-user/src/remove-user.vue.js +0 -29
- package/lib/remove-workgroup/index.js +0 -5
- package/lib/remove-workgroup/src/remove-workgroup.vue.js +0 -25
- package/lib/rich-editor/index.js +0 -5
- package/lib/rich-editor/index.vue.js +0 -67
- package/lib/rich-editor/viewer.vue.js +0 -24
- package/lib/row-form/index.js +0 -5
- package/lib/row-form/index.vue.js +0 -5
- package/lib/row-form/index.vue2.js +0 -56
- package/lib/row-form/operation.vue.js +0 -28
- package/lib/row-form/operation.vue2.js +0 -3
- package/lib/scan-code-input/index.js +0 -5
- package/lib/scan-code-input/src/events.js +0 -13
- package/lib/scan-code-input/src/scan-code-input.vue.js +0 -26
- package/lib/scan-code-input-browser/index.js +0 -5
- package/lib/scan-code-input-browser/src/scan-code-input.vue.js +0 -34
- package/lib/secret-info/index.js +0 -5
- package/lib/secret-info/index.vue.js +0 -13
- package/lib/src/api/sso-service.js +0 -55
- package/lib/src/components/Affix/index.vue.js +0 -5
- package/lib/src/components/Card/index.js +0 -43
- package/lib/src/components/Scrollbar/index.vue.js +0 -48
- package/lib/src/directives/permission/index.js +0 -5
- package/lib/src/directives/permission/permission.js +0 -9
- package/lib/src/i18n/i18n.js +0 -3
- package/lib/src/permission.js +0 -76
- package/lib/src/router/index.js +0 -16
- package/lib/src/store/index.js +0 -16
- package/lib/src/store/modules/permission.js +0 -30
- package/lib/src/store/modules/system.js +0 -10
- package/lib/src/store/modules/tab-content.js +0 -18
- package/lib/src/store/modules/user.js +0 -133
- package/lib/src/utils/auth.js +0 -86
- package/lib/src/utils/calculator/calculator-util.js +0 -53
- package/lib/src/utils/common-util.js +0 -355
- package/lib/src/utils/jump-page-utils.js +0 -256
- package/lib/src/utils/menu.js +0 -13
- package/lib/src/utils/permission.js +0 -41
- package/lib/src/utils/permissionAuth.js +0 -120
- package/lib/src/utils/range-selector.js +0 -101
- package/lib/src/utils/request.js +0 -131
- package/lib/src/utils/util.js +0 -341
- package/lib/src/utils/voice-setting-cache.js +0 -199
- package/lib/src/utils/watermark.js +0 -33
- package/lib/src/utils/workflow-util.js +0 -41
- package/lib/src/views/dsc-component/Sidebar/Item.vue.js +0 -5
- package/lib/src/views/dsc-component/Sidebar/Item.vue2.js +0 -9
- package/lib/src/views/dsc-component/Sidebar/Link.vue.js +0 -11
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue.js +0 -46
- package/lib/src/views/dsc-component/Sidebar/index.vue.js +0 -103
- package/lib/src/views/dsc-component/tabs/tab-content.vue.js +0 -61
- package/lib/src/views/error-page/401.vue.js +0 -11
- package/lib/src/views/error-page/404.vue.js +0 -8
- package/lib/src/views/layout/EmptyLayout.vue.js +0 -7
- package/lib/src/views/layout/Layout.vue.js +0 -21
- package/lib/src/views/layout/NewLayout.vue.js +0 -7
- package/lib/src/views/layout/components/AppMain.vue.js +0 -11
- package/lib/src/views/layout/components/Breadcrumb/index.vue.js +0 -56
- package/lib/src/views/layout/components/Menubar/Item.vue.js +0 -5
- package/lib/src/views/layout/components/Menubar/Item.vue2.js +0 -13
- package/lib/src/views/layout/components/Menubar/Link.vue.js +0 -11
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue.js +0 -47
- package/lib/src/views/layout/components/Menubar/index.vue.js +0 -79
- package/lib/src/views/layout/components/Sidebar/Item.vue2.js +0 -3
- package/lib/src/views/layout/components/Sidebar/Link.vue.js +0 -9
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue.js +0 -16
- package/lib/src/views/layout/components/Sidebar/index.vue.js +0 -51
- package/lib/src/views/layout/components/iframe-page.vue.js +0 -12
- package/lib/src/views/layout/components/tabs/tab-content.vue.js +0 -60
- package/lib/src/views/layout/mixin/ResizeHandler.js +0 -14
- package/lib/src/views/layout/tab-content-iframe-index.vue.js +0 -12
- package/lib/src/views/layout/tab-content-index.vue.js +0 -22
- package/lib/src/views/wf-history/tache-subprocess-history.vue.js +0 -12
- package/lib/super-grid/index.js +0 -5
- package/lib/super-grid/src/apis.js +0 -448
- package/lib/super-grid/src/columns-config.vue.js +0 -76
- package/lib/super-grid/src/components/grid-icon.vue.js +0 -39
- package/lib/super-grid/src/components/grid-radio-input.vue.js +0 -22
- package/lib/super-grid/src/components/grid-radio-input.vue2.js +0 -3
- package/lib/super-grid/src/components/mobile-table-card.js +0 -99
- package/lib/super-grid/src/components/select-input.vue.js +0 -141
- package/lib/super-grid/src/components/select-input.vue2.js +0 -3
- package/lib/super-grid/src/custom-formatter.js +0 -163
- package/lib/super-grid/src/dynamic-input.vue.js +0 -465
- package/lib/super-grid/src/events.js +0 -35
- package/lib/super-grid/src/formValidatorUtil.js +0 -106
- package/lib/super-grid/src/group-column.vue.js +0 -19
- package/lib/super-grid/src/header-context-menu.vue.js +0 -12
- package/lib/super-grid/src/index-column.vue.js +0 -19
- package/lib/super-grid/src/normal-column-content.vue.js +0 -300
- package/lib/super-grid/src/normal-column.vue.js +0 -91
- package/lib/super-grid/src/row-detail.vue.js +0 -11
- package/lib/super-grid/src/row-operation.vue.js +0 -82
- package/lib/super-grid/src/scan-util.js +0 -98
- package/lib/super-grid/src/search-button.vue.js +0 -18
- package/lib/super-grid/src/search-condition-input.vue.js +0 -13
- package/lib/super-grid/src/search-condition-list.vue.js +0 -17
- package/lib/super-grid/src/search-form-advancedQuery.vue.js +0 -106
- package/lib/super-grid/src/search-form-dialog.vue.js +0 -12
- package/lib/super-grid/src/search-form-item.vue.js +0 -120
- package/lib/super-grid/src/search-form-mobile.vue.js +0 -32
- package/lib/super-grid/src/search-form-number.vue.js +0 -21
- package/lib/super-grid/src/search-form-open.vue.js +0 -44
- package/lib/super-grid/src/search-form-ordinarySearch.vue.js +0 -31
- package/lib/super-grid/src/search-form.vue.js +0 -189
- package/lib/super-grid/src/selection-column.vue.js +0 -9
- package/lib/super-grid/src/super-grid-service.js +0 -253
- package/lib/super-grid/src/super-grid.vue.js +0 -1021
- package/lib/super-grid/src/utils.js +0 -298
- package/lib/super-grid/src/view-image-dialog.vue.js +0 -60
- package/lib/super-icon/index.js +0 -5
- package/lib/super-icon/src/index.vue.js +0 -5
- package/lib/super-icon/src/index.vue2.js +0 -10
- package/lib/super-nine-grid/index.js +0 -5
- package/lib/super-nine-grid/src/apis.js +0 -33
- package/lib/super-nine-grid/src/custom-formatter.js +0 -33
- package/lib/super-nine-grid/src/search-form-number.vue.js +0 -9
- package/lib/super-nine-grid/src/search-form.vue.js +0 -84
- package/lib/super-nine-grid/src/super-grid-service.js +0 -35
- package/lib/super-nine-grid/src/super-nine-grid.vue.js +0 -215
- package/lib/super-nine-grid/src/utils.js +0 -36
- package/lib/svg-icon/index.js +0 -5
- package/lib/svg-icon/src/svg-icon.vue.js +0 -12
- package/lib/utils/memory-cache-utils.js +0 -28
- package/lib/utils/utils.js +0 -85
- package/lib/utils/value-set.js +0 -92
- package/lib/valid-code/index.js +0 -5
- package/lib/valid-code/src/valid-code.vue.js +0 -20
- package/lib/workflow-button/index.js +0 -5
- package/lib/workflow-button/src/workflow-button.vue.js +0 -80
- package/lib/workflow-history-list/index.js +0 -5
- package/lib/workflow-history-list/src/workflow-history-list.vue.js +0 -83
- package/lib/workgroup-tree/index.js +0 -5
- package/lib/workgroup-tree/src/workgroup-tree.vue.js +0 -17
- package/lib/workgroup-tree-inline/index.js +0 -5
- package/lib/workgroup-tree-inline/src/search-result.vue.js +0 -35
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +0 -119
- package/lib/workgroup-tree-inline/src/workgroup-tree-service.js +0 -33
- package/lib/workgroup-tree-mobile/index.js +0 -5
- package/lib/workgroup-tree-mobile/src/dept-result.vue2.js +0 -3
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +0 -12
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +0 -3
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +0 -99
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +0 -3
- package/lib/workgroup-user-tree/index.js +0 -5
- package/lib/workgroup-user-tree/src/workgroup-user-tree.vue.js +0 -17
- package/lib/workgroup-user-tree-inline/index.js +0 -5
- package/lib/workgroup-user-tree-inline/src/search-result.vue.js +0 -35
- package/lib/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +0 -71
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +0 -163
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue2.js +0 -3
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue.js +0 -13
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue2.js +0 -3
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +0 -12
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +0 -3
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +0 -124
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +0 -3
- package/lib/year-range-picker/index.js +0 -5
- package/lib/year-range-picker/src/year-range-picker.vue.js +0 -11
- /package/lib/IntervalSelection/src/{sectionDate.vue2.js → sectionDate.vue2.cjs} +0 -0
- /package/lib/_virtual/{__vite-browser-external.js → __vite-browser-external.cjs} +0 -0
- /package/lib/_virtual/{_plugin-vue_export-helper.js → _plugin-vue_export-helper.cjs} +0 -0
- /package/lib/breadcrumb/src/{breadcrumb.vue2.js → breadcrumb.vue2.cjs} +0 -0
- /package/lib/chat-embed/src/{chat-addition-data.vue2.js → chat-addition-data.vue2.cjs} +0 -0
- /package/lib/chat-embed/src/{chat-addition-data.vue3.js → chat-addition-data.vue3.cjs} +0 -0
- /package/lib/chat-embed/src/{chat-ai-answer-tip.vue2.js → chat-ai-answer-tip.vue2.cjs} +0 -0
- /package/lib/chat-embed/src/{chat-ai-answer-tip.vue3.js → chat-ai-answer-tip.vue3.cjs} +0 -0
- /package/lib/chat-embed/src/{chat-bubble-footer.vue2.js → chat-bubble-footer.vue2.cjs} +0 -0
- /package/lib/chat-embed/src/{chat-bubble-footer.vue3.js → chat-bubble-footer.vue3.cjs} +0 -0
- /package/lib/chat-embed/src/{chat-sender.vue3.js → chat-sender.vue3.cjs} +0 -0
- /package/lib/chat-embed/src/components/{answer-auto-chart.vue2.js → answer-auto-chart.vue2.cjs} +0 -0
- /package/lib/chat-embed/src/components/{answer-auto-chart.vue3.js → answer-auto-chart.vue3.cjs} +0 -0
- /package/lib/chat-embed/src/components/{answer-home-chart.vue2.js → answer-home-chart.vue2.cjs} +0 -0
- /package/lib/chat-embed/src/components/{answer-home-chart.vue3.js → answer-home-chart.vue3.cjs} +0 -0
- /package/lib/chat-embed/src/components/{answer-interaction-data.vue3.js → answer-interaction-data.vue3.cjs} +0 -0
- /package/lib/chat-embed/src/components/{history-detail.vue3.js → history-detail.vue3.cjs} +0 -0
- /package/lib/chat-embed/src/{header.vue3.js → header.vue3.cjs} +0 -0
- /package/lib/chat-embed/src/{index.vue3.js → index.vue3.cjs} +0 -0
- /package/lib/chat-embed/src/{recommendation-message.vue2.js → recommendation-message.vue2.cjs} +0 -0
- /package/lib/chat-embed/src/{recommendation-message.vue3.js → recommendation-message.vue3.cjs} +0 -0
- /package/lib/chat-embed/src/{sidebar-item.vue3.js → sidebar-item.vue3.cjs} +0 -0
- /package/lib/chat-embed/src/{type.js → type.cjs} +0 -0
- /package/lib/chat-embed/src/util/{chat-embed-util.js → chat-embed-util.cjs} +0 -0
- /package/lib/chat-embed/src/util/{text-file-util.js → text-file-util.cjs} +0 -0
- /package/lib/chat-embed/src/voice/js/{crypto-js.js → crypto-js.cjs} +0 -0
- /package/lib/chat-embed/src/voice/js/processor/{index.umd.js → index.umd.cjs} +0 -0
- /package/lib/chat-embed/src/voice/js/{timer.js → timer.cjs} +0 -0
- /package/lib/date-picker-range/{index.vue2.js → index.vue2.cjs} +0 -0
- /package/lib/date-picker-range/{index.vue3.js → index.vue3.cjs} +0 -0
- /package/lib/department-tree-inline/src/{department-multi-tree-inline.vue2.js → department-multi-tree-inline.vue2.cjs} +0 -0
- /package/lib/department-tree-inline/src/{department-single-tree-inline.vue2.js → department-single-tree-inline.vue2.cjs} +0 -0
- /package/lib/department-tree-inline/src/{search-result.vue2.js → search-result.vue2.cjs} +0 -0
- /package/lib/department-tree-mobile/src/{department-tree-app.vue2.js → department-tree-app.vue2.cjs} +0 -0
- /package/lib/department-tree-mobile/src/{department-tree-service.js → department-tree-service.cjs} +0 -0
- /package/lib/department-tree-mobile/src/{dept-path.vue.js → dept-path.vue.cjs} +0 -0
- /package/lib/department-tree-mobile/src/{dept-result.vue.js → dept-result.vue.cjs} +0 -0
- /package/lib/department-user-tree/src/{department-user-multiple-tree.vue2.js → department-user-multiple-tree.vue2.cjs} +0 -0
- /package/lib/department-user-tree-inline/src/{department-user-multiple-tree-inline.vue2.js → department-user-multiple-tree-inline.vue2.cjs} +0 -0
- /package/lib/department-user-tree-inline/src/{department-user-single-tree-inline.vue2.js → department-user-single-tree-inline.vue2.cjs} +0 -0
- /package/lib/department-user-tree-inline/src/{group-user-tree-service.js → group-user-tree-service.cjs} +0 -0
- /package/lib/department-user-tree-inline/src/{search-result.vue2.js → search-result.vue2.cjs} +0 -0
- /package/lib/department-user-tree-mobile/src/{department-user-tree-app.vue2.js → department-user-tree-app.vue2.cjs} +0 -0
- /package/lib/department-user-tree-mobile/src/{department-user-tree-service.js → department-user-tree-service.cjs} +0 -0
- /package/lib/department-user-tree-mobile/src/{dept-path.vue.js → dept-path.vue.cjs} +0 -0
- /package/lib/directives/{prevent-reclick.js → prevent-reclick.cjs} +0 -0
- /package/lib/dynamic-source-select/src/{dynamic-source-select.vue2.js → dynamic-source-select.vue2.cjs} +0 -0
- /package/lib/dynamic-source-select/src/{dynamic-source-select.vue3.js → dynamic-source-select.vue3.cjs} +0 -0
- /package/lib/dynamic-source-select/src/{events.js → events.cjs} +0 -0
- /package/lib/empty-state/{index.vue.js → index.vue.cjs} +0 -0
- /package/lib/fs-preview/src/{fs-preview.vue2.js → fs-preview.vue2.cjs} +0 -0
- /package/lib/fs-upload-list/src/{fs-upload-list.vue2.js → fs-upload-list.vue2.cjs} +0 -0
- /package/lib/fs-upload-new/src/file-upload-mobile/{file-upload-component.vue3.js → file-upload-component.vue3.cjs} +0 -0
- /package/lib/fs-upload-new/src/{fs-button-upload.vue3.js → fs-button-upload.vue3.cjs} +0 -0
- /package/lib/fs-upload-new/src/{fs-drag-upload.vue3.js → fs-drag-upload.vue3.cjs} +0 -0
- /package/lib/fs-upload-new/src/{fs-preview-new.vue3.js → fs-preview-new.vue3.cjs} +0 -0
- /package/lib/fs-upload-new/src/{fs-preview-new.vue4.js → fs-preview-new.vue4.cjs} +0 -0
- /package/lib/hamburger/src/{hamburger.vue2.js → hamburger.vue2.cjs} +0 -0
- /package/lib/json-view/{json-view.vue2.js → json-view.vue2.cjs} +0 -0
- /package/lib/organization-input/src/{organization-input.vue2.js → organization-input.vue2.cjs} +0 -0
- /package/lib/plugins/{public-method.js → public-method.cjs} +0 -0
- /package/lib/remove-department/src/{remove-dept-service.js → remove-dept-service.cjs} +0 -0
- /package/lib/remove-user/src/{remove-user-service.js → remove-user-service.cjs} +0 -0
- /package/lib/remove-workgroup/src/{remove-workgroup-service.js → remove-workgroup-service.cjs} +0 -0
- /package/lib/rich-editor/tinymce/{zh_CN.js → zh_CN.cjs} +0 -0
- /package/lib/row-form/{index.vue3.js → index.vue3.cjs} +0 -0
- /package/lib/src/api/{tab.js → tab.cjs} +0 -0
- /package/lib/src/assets/401/{401.gif.js → 401.gif.cjs} +0 -0
- /package/lib/src/assets/404/{404-cloud.png.js → 404-cloud.png.cjs} +0 -0
- /package/lib/src/assets/404/{404.png.js → 404.png.cjs} +0 -0
- /package/lib/src/assets/chat-embed/{robot.gif.js → robot.gif.cjs} +0 -0
- /package/lib/src/assets/chat-embed/{robot.svg.js → robot.svg.cjs} +0 -0
- /package/lib/src/assets/{nonemessage.png.js → nonemessage.png.cjs} +0 -0
- /package/lib/src/components/Affix/{index.vue2.js → index.vue2.cjs} +0 -0
- /package/lib/src/components/Affix/{index.vue3.js → index.vue3.cjs} +0 -0
- /package/lib/src/components/Scrollbar/{index.vue2.js → index.vue2.cjs} +0 -0
- /package/lib/src/i18n/langs/{cn.js → cn.cjs} +0 -0
- /package/lib/src/i18n/langs/{en.js → en.cjs} +0 -0
- /package/lib/src/mixins/{resizeMixin.js → resizeMixin.cjs} +0 -0
- /package/lib/src/store/{getters.js → getters.cjs} +0 -0
- /package/lib/src/store/modules/{app.js → app.cjs} +0 -0
- /package/lib/src/store/modules/{chat-ai-store.js → chat-ai-store.cjs} +0 -0
- /package/lib/src/store/modules/{table.js → table.cjs} +0 -0
- /package/lib/src/utils/{auth-api.js → auth-api.cjs} +0 -0
- /package/lib/src/utils/calculator/{calculator-factory-wf.js → calculator-factory-wf.cjs} +0 -0
- /package/lib/src/utils/calculator/{calculator-factory.js → calculator-factory.cjs} +0 -0
- /package/lib/src/utils/{chat-ai-util.js → chat-ai-util.cjs} +0 -0
- /package/lib/src/utils/{eventBus.js → eventBus.cjs} +0 -0
- /package/lib/src/utils/{file-util.js → file-util.cjs} +0 -0
- /package/lib/src/utils/{global-prop.js → global-prop.cjs} +0 -0
- /package/lib/src/utils/{guid.js → guid.cjs} +0 -0
- /package/lib/src/utils/{i18n-util.js → i18n-util.cjs} +0 -0
- /package/lib/src/utils/{iconUtils.js → iconUtils.cjs} +0 -0
- /package/lib/src/utils/{index.js → index.cjs} +0 -0
- /package/lib/src/utils/{insert_css.js → insert_css.cjs} +0 -0
- /package/lib/src/utils/{json-util.js → json-util.cjs} +0 -0
- /package/lib/src/utils/{local-storage.js → local-storage.cjs} +0 -0
- /package/lib/src/utils/{resize.js → resize.cjs} +0 -0
- /package/lib/src/utils/{restful-interface-utils.js → restful-interface-utils.cjs} +0 -0
- /package/lib/src/utils/{validate.js → validate.cjs} +0 -0
- /package/lib/src/utils/{watermark-cache.js → watermark-cache.cjs} +0 -0
- /package/lib/src/views/dsc-component/Sidebar/{Item.vue3.js → Item.vue3.cjs} +0 -0
- /package/lib/src/views/dsc-component/Sidebar/{SidebarItem.vue2.js → SidebarItem.vue2.cjs} +0 -0
- /package/lib/src/views/dsc-component/tabs/{tab-content.vue2.js → tab-content.vue2.cjs} +0 -0
- /package/lib/src/views/dsc-component/tabs/{tab-content.vue3.js → tab-content.vue3.cjs} +0 -0
- /package/lib/src/views/error-page/{401.vue2.js → 401.vue2.cjs} +0 -0
- /package/lib/src/views/error-page/{404.vue2.js → 404.vue2.cjs} +0 -0
- /package/lib/src/views/layout/{Layout.vue2.js → Layout.vue2.cjs} +0 -0
- /package/lib/src/views/layout/components/{AppMain.vue2.js → AppMain.vue2.cjs} +0 -0
- /package/lib/src/views/layout/components/Breadcrumb/{index.vue2.js → index.vue2.cjs} +0 -0
- /package/lib/src/views/layout/components/Menubar/{Item.vue3.js → Item.vue3.cjs} +0 -0
- /package/lib/src/views/layout/components/Menubar/{SidebarItem.vue2.js → SidebarItem.vue2.cjs} +0 -0
- /package/lib/src/views/layout/components/Sidebar/{Item.vue.js → Item.vue.cjs} +0 -0
- /package/lib/src/views/layout/components/Sidebar/{SidebarItem.vue2.js → SidebarItem.vue2.cjs} +0 -0
- /package/lib/src/views/layout/components/{iframe-page.vue2.js → iframe-page.vue2.cjs} +0 -0
- /package/lib/src/views/layout/components/tabs/{tab-content.vue2.js → tab-content.vue2.cjs} +0 -0
- /package/lib/src/views/layout/components/tabs/{tab-content.vue3.js → tab-content.vue3.cjs} +0 -0
- /package/lib/src/views/layout/{tab-content-iframe-index.vue2.js → tab-content-iframe-index.vue2.cjs} +0 -0
- /package/lib/src/views/layout/{tab-content-index.vue2.js → tab-content-index.vue2.cjs} +0 -0
- /package/lib/src/views/login/{authredirect.vue.js → authredirect.vue.cjs} +0 -0
- /package/lib/src/views/redirect/{index.vue.js → index.vue.cjs} +0 -0
- /package/lib/src/views/svg-icon/src/{svg-icon.vue.js → svg-icon.vue.cjs} +0 -0
- /package/lib/src/views/wf-history/{tache-subprocess-history.vue2.js → tache-subprocess-history.vue2.cjs} +0 -0
- /package/lib/super-grid/src/{eventBus.js → eventBus.cjs} +0 -0
- /package/lib/super-grid/src/{formatter.js → formatter.cjs} +0 -0
- /package/lib/super-grid/src/{header-context-menu.vue2.js → header-context-menu.vue2.cjs} +0 -0
- /package/lib/super-grid/src/{normal-column-content.vue2.js → normal-column-content.vue2.cjs} +0 -0
- /package/lib/super-grid/src/{normal-column.vue2.js → normal-column.vue2.cjs} +0 -0
- /package/lib/super-grid/src/{public-methods.js → public-methods.cjs} +0 -0
- /package/lib/super-grid/src/{row-operation.vue2.js → row-operation.vue2.cjs} +0 -0
- /package/lib/super-grid/src/{search-form-advancedQuery.vue2.js → search-form-advancedQuery.vue2.cjs} +0 -0
- /package/lib/super-grid/src/{search-form-item.vue2.js → search-form-item.vue2.cjs} +0 -0
- /package/lib/super-grid/src/{search-form-mobile.vue2.js → search-form-mobile.vue2.cjs} +0 -0
- /package/lib/super-grid/src/{search-form-ordinarySearch.vue2.js → search-form-ordinarySearch.vue2.cjs} +0 -0
- /package/lib/super-grid/src/{search-form.vue2.js → search-form.vue2.cjs} +0 -0
- /package/lib/super-grid/src/{search-methods.js → search-methods.cjs} +0 -0
- /package/lib/super-grid/src/{store.js → store.cjs} +0 -0
- /package/lib/super-grid/src/{super-grid.vue2.js → super-grid.vue2.cjs} +0 -0
- /package/lib/super-icon/src/{index.vue3.js → index.vue3.cjs} +0 -0
- /package/lib/super-nine-grid/src/{formatter.js → formatter.cjs} +0 -0
- /package/lib/super-nine-grid/src/{search-form.vue2.js → search-form.vue2.cjs} +0 -0
- /package/lib/super-nine-grid/src/{search-methods.js → search-methods.cjs} +0 -0
- /package/lib/super-nine-grid/src/{store.js → store.cjs} +0 -0
- /package/lib/super-nine-grid/src/{super-nine-grid.vue2.js → super-nine-grid.vue2.cjs} +0 -0
- /package/lib/svg-icon/src/{svg-icon.vue2.js → svg-icon.vue2.cjs} +0 -0
- /package/lib/utils/{gogocodeTransfer.js → gogocodeTransfer.cjs} +0 -0
- /package/lib/utils/{organization.js → organization.cjs} +0 -0
- /package/lib/valid-code/src/{valid-code.vue2.js → valid-code.vue2.cjs} +0 -0
- /package/lib/workflow-history-list/src/{api.js → api.cjs} +0 -0
- /package/lib/workflow-history-list/src/{workflow-history-list.vue2.js → workflow-history-list.vue2.cjs} +0 -0
- /package/lib/workgroup-tree-inline/src/{search-result.vue2.js → search-result.vue2.cjs} +0 -0
- /package/lib/workgroup-tree-inline/src/{workgroup-tree-inline.vue2.js → workgroup-tree-inline.vue2.cjs} +0 -0
- /package/lib/workgroup-tree-mobile/src/{dept-result.vue.js → dept-result.vue.cjs} +0 -0
- /package/lib/workgroup-tree-mobile/src/{workgroup-tree-app.vue2.js → workgroup-tree-app.vue2.cjs} +0 -0
- /package/lib/workgroup-tree-mobile/src/{workgroup-tree-service.js → workgroup-tree-service.cjs} +0 -0
- /package/lib/workgroup-user-tree-inline/src/{search-result.vue2.js → search-result.vue2.cjs} +0 -0
- /package/lib/workgroup-user-tree-inline/src/{workgroup-user-tree-inline.vue2.js → workgroup-user-tree-inline.vue2.cjs} +0 -0
- /package/lib/workgroup-user-tree-mobile/src/{dept-path.vue.js → dept-path.vue.cjs} +0 -0
- /package/lib/workgroup-user-tree-mobile/src/{workgroup-user-tree-app.vue2.js → workgroup-user-tree-app.vue2.cjs} +0 -0
- /package/lib/workgroup-user-tree-mobile/src/{workgroup-user-tree-service.js → workgroup-user-tree-service.cjs} +0 -0
|
@@ -1,215 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const t = require("../../utils/gogocodeTransfer.js"), e = require("./custom-formatter.js"), i = require("./search-form.vue.js"), o = require("./utils.js"), s = require("./store.js"), n = require("./super-grid-service.js"), r = require("./apis.js"), a = require("sortablejs"), l = require("vue");
|
|
3
|
-
require("./super-nine-grid.vue2.js");
|
|
4
|
-
const h = require("../../_virtual/_plugin-vue_export-helper.js"), c = { name: "SuperNineGrid", components: { SearchForm: i }, props: { code: { type: String, default: "" }, url: { type: String, default: "" }, options: { type: Object, default: function() {
|
|
5
|
-
return {};
|
|
6
|
-
} }, publishVersion: { type: Number, default: 0 } }, data() {
|
|
7
|
-
let t2 = [];
|
|
8
|
-
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=", i2 = this.options && this.options.id ? this.options.id : "_nineGrid";
|
|
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: i2, storeId: this.code + "~" + i2, 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
|
-
}, computed: {}, provide: () => ({}), created() {
|
|
12
|
-
s.set(this.code + "~" + this.gridId, o.getGridParams()), s.set("_nine_list_code", this.code + "~" + this.gridId), this.initSetting(), this.initialize(), this.operations;
|
|
13
|
-
}, mounted() {
|
|
14
|
-
this.$watch("showSearch", function(t2, e2) {
|
|
15
|
-
this.$nextTick(() => {
|
|
16
|
-
let e3 = o.getTableHeight(t2, this.$refs.sf);
|
|
17
|
-
const i2 = this.resizeHeight();
|
|
18
|
-
i2 && (e3 = i2), this.height = e3;
|
|
19
|
-
});
|
|
20
|
-
}, { immediate: true, deep: true }), this.$watch("hasLoadData", function(t2, e2) {
|
|
21
|
-
true === t2 && this.$nextTick(() => {
|
|
22
|
-
const t3 = s.get(this.storeId);
|
|
23
|
-
o.isHasOptionFunction("gridComplete", this.storeId) && t3.options.gridComplete.call(this, { gridData: this.gridData, columns: t3.columns, superGrid: this.$refs.superGrid });
|
|
24
|
-
const e3 = this.resizeHeight();
|
|
25
|
-
e3 && (this.height = e3);
|
|
26
|
-
});
|
|
27
|
-
}, { immediate: true, deep: true });
|
|
28
|
-
}, methods: { ...n, ...r, ...e, getTitleStyle(t2) {
|
|
29
|
-
return this.options && this.options.titleStyle ? this.options.titleStyle.call(this, t2) : { width: "100%" };
|
|
30
|
-
}, getPropValue(t2, e2) {
|
|
31
|
-
let i2 = "";
|
|
32
|
-
const n2 = s.get(this.storeId);
|
|
33
|
-
if ("content" === t2) {
|
|
34
|
-
let t3 = "";
|
|
35
|
-
o.isHasOptionFunction("setContent", this.storeId) && (t3 = n2.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))), i2 = t3;
|
|
36
|
-
} else if ("title" === t2) {
|
|
37
|
-
let t3 = "";
|
|
38
|
-
o.isHasOptionFunction("setTitle", this.storeId) && (t3 = n2.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))), i2 = t3;
|
|
39
|
-
} else if ("subTitle" === t2) {
|
|
40
|
-
let t3 = "";
|
|
41
|
-
o.isHasOptionFunction("setSubTitle", this.storeId) && (t3 = n2.options.setSubTitle.call(this, e2)), void 0 !== t3 && "" !== t3 || this.props && this.props.subTitle && (t3 = this.objectPropValue(e2, this.propCloumns.subTitle, this.props.subTitle)), i2 = t3;
|
|
42
|
-
}
|
|
43
|
-
return void 0 === i2 && (i2 = ""), i2;
|
|
44
|
-
}, resizeHeight() {
|
|
45
|
-
const t2 = s.get(this.storeId);
|
|
46
|
-
if (o.isHasOptionFunction("resizeHeight", this.storeId)) {
|
|
47
|
-
let e2 = 0;
|
|
48
|
-
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
|
-
}
|
|
50
|
-
}, enter(t2) {
|
|
51
|
-
this.seen = true, this.current = t2;
|
|
52
|
-
}, leave() {
|
|
53
|
-
this.seen = false, this.current = null;
|
|
54
|
-
}, initSetting() {
|
|
55
|
-
const t2 = s.get(this.storeId);
|
|
56
|
-
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
|
-
}, getPropColumns() {
|
|
58
|
-
this.columns && this.columns.length > 0 && (this.propCloumns = {}, this.columns.forEach((t2) => {
|
|
59
|
-
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
|
-
}));
|
|
61
|
-
}, fetchData(t2, e2) {
|
|
62
|
-
return new Promise((i2, n2) => {
|
|
63
|
-
if (this.clearSelections(), this.getPropColumns(), this.isLoading = true, this.hasLoadData = false, void 0 === e2 || false === e2) {
|
|
64
|
-
const e3 = window.sessionStorage.getItem("refreshList-" + this.storeId);
|
|
65
|
-
if (void 0 !== e3 && "true" === e3) {
|
|
66
|
-
const e4 = window.sessionStorage.getItem("searchParam-" + this.storeId);
|
|
67
|
-
if (null != e4 && "" !== e4) {
|
|
68
|
-
const i3 = (t2 = JSON.parse(e4)).pagination;
|
|
69
|
-
i3 && (this.currentPage = i3.currentPage, this.pagination.pageSize = i3.pageSize, this.pagination.showTotal = i3.showTotal), this.getInitSearchForm(t2.searchForm);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
window.sessionStorage.removeItem("refreshList-" + this.storeId), void 0 === t2 && (t2 = this.getSearchParam());
|
|
74
|
-
const r2 = s.get(this.storeId);
|
|
75
|
-
let a2 = t2;
|
|
76
|
-
if (r2.options.extraParam && (a2 = { searchParam: t2 }, r2.options.extraParam))
|
|
77
|
-
for (const t3 in r2.options.extraParam)
|
|
78
|
-
a2[t3] = r2.options.extraParam[t3];
|
|
79
|
-
r2.searchParam = t2, r2.url = this.url;
|
|
80
|
-
const l2 = this.url;
|
|
81
|
-
window.sessionStorage.setItem("searchParam-" + this.storeId, JSON.stringify(a2)), this.$http.post(l2, a2).then((t3) => {
|
|
82
|
-
if (o.isHasOptionFunction("gridDataLoaded", this.storeId)) {
|
|
83
|
-
const e3 = r2.options.gridDataLoaded.call(this, { gridData: t3.data, columns: r2.columns });
|
|
84
|
-
this.gridData = e3 || t3.data;
|
|
85
|
-
} else
|
|
86
|
-
this.gridData = t3.data;
|
|
87
|
-
this.gridData || (this.gridData = []), null !== this.pagination && (this.pagination.total = t3.total), r2.gridData = this.gridData, r2.orgGridData = [].concat(JSON.parse(JSON.stringify(this.gridData))), r2.pagination = this.pagination, r2.loaded = true, this.hasLoadData = true, i2();
|
|
88
|
-
}).catch((t3) => {
|
|
89
|
-
o.isHasOptionFunction("loadError", this.storeId) && r2.options.loadError.call(this, this.code, t3), n2(t3);
|
|
90
|
-
});
|
|
91
|
-
});
|
|
92
|
-
}, getLength: (t2) => t2 && t2.length > 5 ? "(" + t2.substring(0, 5) + "...)" : t2 ? "(" + t2 + ")" : "", getInitSearchForm(t2) {
|
|
93
|
-
const e2 = s.get(this.storeId);
|
|
94
|
-
t2 && t2.length > 0 ? (this.searchFormContent = {}, t2.forEach((t3) => {
|
|
95
|
-
let e3 = t3.propName;
|
|
96
|
-
const i2 = t3.columnProp, s2 = t3.dataType;
|
|
97
|
-
s2 && "BOOLEAN" === s2 && (e3 = i2), this.initSearchProps.push(e3);
|
|
98
|
-
const n2 = t3.propValue;
|
|
99
|
-
e3.indexOf(".") > 0 ? o.addDynamicProp(this.searchFormContent, e3, n2) : this.searchFormContent[e3] = n2;
|
|
100
|
-
}), e2.searchForm = t2, this.showSearchForm()) : e2.searchForm = null;
|
|
101
|
-
}, showDemo() {
|
|
102
|
-
this.isLoading = true, this.$http.get(this.url).then((t2) => {
|
|
103
|
-
Object.assign(this, t2);
|
|
104
|
-
const e2 = s.get(this.storeId);
|
|
105
|
-
if (e2.listCode = this.code, e2.columns = this.columns, e2.columns && this.options.dynamicColumns)
|
|
106
|
-
for (var i2 = 0; i2 < this.options.dynamicColumns.length; i2++)
|
|
107
|
-
this.options.dynamicColumns[i2].dynamic = true, e2.columns.push(this.options.dynamicColumns[i2]);
|
|
108
|
-
if (e2.lineEdit = this.lineEdit, e2.basicInfo = this.basicInfo, e2.pagination = this.pagination, e2.query = this.query, this.gridData = t2.gridData, o.isHasOptionFunction("gridDataLoaded", this.storeId)) {
|
|
109
|
-
const i3 = e2.options.gridDataLoaded.call(this, t2.gridData);
|
|
110
|
-
this.gridData = i3 || t2.gridData;
|
|
111
|
-
} else
|
|
112
|
-
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, o.isHasOptionFunction("gridComplete", this.storeId) && e2.options.gridComplete.call(this, this.gridData, e2.columns);
|
|
114
|
-
}).catch((t2) => {
|
|
115
|
-
if (o.isHasOptionFunction("loadError", this.storeId)) {
|
|
116
|
-
s.get(this.storeId).options.loadError.call(this, this.code, t2);
|
|
117
|
-
}
|
|
118
|
-
});
|
|
119
|
-
}, search(e2) {
|
|
120
|
-
const i2 = this;
|
|
121
|
-
return new Promise((o2, n2) => {
|
|
122
|
-
const r2 = s.get(i2.storeId);
|
|
123
|
-
r2.searchForm = null != e2 ? e2 : null, i2.fetchData(i2.getSearchParam(), true).then((e3) => {
|
|
124
|
-
void 0 !== r2.options && void 0 !== r2.options.isHiddenSearchForm && true === r2.options.isHiddenSearchForm && (i2.showSearch = false, t.$emit(i2, "cancel-search")), i2.$refs.sf && (i2.$refs.sf.loading = false), o2(e3);
|
|
125
|
-
}).catch((t2) => {
|
|
126
|
-
i2.$refs.sf && (i2.$refs.sf.loading = false), n2(t2);
|
|
127
|
-
});
|
|
128
|
-
});
|
|
129
|
-
}, getSearchParam() {
|
|
130
|
-
const t2 = { code: this.code }, e2 = s.get(this.storeId);
|
|
131
|
-
if (null !== this.pagination) {
|
|
132
|
-
const e3 = { currentPage: this.currentPage, pageSize: this.pagination.pageSize, showTotal: this.pagination.showTotal };
|
|
133
|
-
null !== this.pageSize && (e3.pageSize = this.pageSize), t2.pagination = e3;
|
|
134
|
-
}
|
|
135
|
-
if (null !== this.sortInfo && (t2.sorts = this.sortInfo), this.mergeFields && this.mergeFields.length > 0) {
|
|
136
|
-
t2.sorts || (t2.sorts = []);
|
|
137
|
-
const e3 = [];
|
|
138
|
-
for (const i2 of this.mergeFields) {
|
|
139
|
-
let o2 = true;
|
|
140
|
-
for (const e4 of t2.sorts)
|
|
141
|
-
if (e4.prop === i2) {
|
|
142
|
-
o2 = false;
|
|
143
|
-
break;
|
|
144
|
-
}
|
|
145
|
-
o2 && e3.push({ prop: i2, order: "ascending" });
|
|
146
|
-
}
|
|
147
|
-
e3.push(...t2.sorts), t2.sorts = e3;
|
|
148
|
-
}
|
|
149
|
-
return e2.options && void 0 !== e2.options.initSearchForm && (t2.initSearchForm = e2.options.initSearchForm), void 0 !== e2.searchForm ? t2.searchForm = e2.searchForm : t2.searchForm = [], t2;
|
|
150
|
-
}, handleSizeChange(t2) {
|
|
151
|
-
this.pageSize = t2, this.fetchData(this.getSearchParam());
|
|
152
|
-
}, handleCurrentChange(t2) {
|
|
153
|
-
this.fetchData(this.getSearchParam());
|
|
154
|
-
}, handleSortChange({ column: e2, prop: i2, order: o2 }) {
|
|
155
|
-
this.sortInfo = null !== i2 ? [{ prop: i2, order: o2 }] : null, this.fetchData(this.getSearchParam()), t.$emit(this, "sort-change", { column: e2, prop: i2, order: o2 });
|
|
156
|
-
}, resetSearch() {
|
|
157
|
-
this.search(null, false);
|
|
158
|
-
}, add() {
|
|
159
|
-
t.$emit(this, "add");
|
|
160
|
-
}, buttonClick(e2, i2) {
|
|
161
|
-
e2 && ("function" == typeof e2 ? e2.call(this, i2) : t.$emit(this, e2, i2));
|
|
162
|
-
}, clickContent(e2) {
|
|
163
|
-
this.changeSelect(e2), t.$emit(this, "click", e2);
|
|
164
|
-
}, rowDrop() {
|
|
165
|
-
if (this.urlToSaveOrder) {
|
|
166
|
-
let e2 = this.urlToSaveOrder;
|
|
167
|
-
if (e2.indexOf("http:") < 0 || e2.indexOf("https:") < 0) {
|
|
168
|
-
let t2 = window.$vueApp.config.globalProperties.baseURL;
|
|
169
|
-
t2.lastIndexOf("/") === t2.length - 1 && (t2 = t2.substring(0, t2.length - 1)), e2.indexOf("/") > 0 && (e2 = "/" + e2), e2 = t2 + e2;
|
|
170
|
-
}
|
|
171
|
-
const i2 = document.querySelector("#" + this.gridId + " .el-row");
|
|
172
|
-
if (null != i2) {
|
|
173
|
-
const o2 = this;
|
|
174
|
-
a.create(i2, { draggable: ".col-content", onEnd({ newIndex: i3, oldIndex: s2 }) {
|
|
175
|
-
null != document.querySelector("#" + o2.gridId + " #_addCardId_") && (s2 > 0 && (s2 -= 1), i3 > 0 && (i3 -= 1));
|
|
176
|
-
const n2 = { oldIndex: s2, newIndex: i3, gridData: o2.gridData };
|
|
177
|
-
o2.$http.post(e2, n2).then((e3) => {
|
|
178
|
-
const r2 = o2.gridData.splice(s2, 1)[0];
|
|
179
|
-
o2.gridData.splice(i3, 0, r2), o2.refresh().then(() => {
|
|
180
|
-
t.$emit(o2, "afterDrag", n2);
|
|
181
|
-
});
|
|
182
|
-
});
|
|
183
|
-
} });
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
}, changeChecked(t2, e2) {
|
|
187
|
-
const i2 = this.gridData[e2];
|
|
188
|
-
(t2 + "").indexOf("false-") >= 0 ? this.unselect(i2) : this.select(i2);
|
|
189
|
-
}, unselect(e2) {
|
|
190
|
-
const i2 = e2.id, o2 = this.selectionIds.indexOf(i2);
|
|
191
|
-
o2 > -1 && (this.selections.splice(o2, 1), this.selectionIds.splice(o2, 1)), t.$emit(this, "unselect", e2, this.selections), this.selectionModels["select" + i2] = "false-" + i2;
|
|
192
|
-
}, select(e2) {
|
|
193
|
-
const i2 = e2.id;
|
|
194
|
-
this.selectionIds.indexOf(i2) < 0 && (this.selectionIds[this.selectionIds.length] = i2, this.selections[this.selections.length] = e2), t.$emit(this, "select", e2, this.selections), this.selectionModels["select" + i2] = i2;
|
|
195
|
-
}, changeSelectWhenRadio(t2, e2) {
|
|
196
|
-
const i2 = this.gridData[e2];
|
|
197
|
-
this.selectionIds = [], this.selections = [], this.selectionModels = {}, this.select(i2);
|
|
198
|
-
}, changeSelect(t2) {
|
|
199
|
-
const e2 = t2.id;
|
|
200
|
-
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
|
-
}, isShowButton(t2, e2) {
|
|
202
|
-
const i2 = this.isShowButtonFun(t2, e2);
|
|
203
|
-
return void 0 === i2 || i2;
|
|
204
|
-
}, showEnableButton(t2) {
|
|
205
|
-
const e2 = s.get(this.storeId);
|
|
206
|
-
return !!o.isHasOptionFunction("showEnableButton", this.storeId) && e2.options.showEnableButton.call(this, t2);
|
|
207
|
-
}, changeState(t2) {
|
|
208
|
-
const e2 = s.get(this.storeId);
|
|
209
|
-
return !!o.isHasOptionFunction("changeState", this.storeId) && e2.options.changeState.call(this, t2);
|
|
210
|
-
} }, emits: ["sort-change", , "click", "afterDrag", "unselect", "select", "cancel-search", "add", ,] }, p = { class: "nine-grid-area" }, d = ["id"], u = { style: { "margin-top": "7px" } }, g = ["onClick", "onMouseenter"], m = { class: "image", style: { padding: "15px", "box-sizing": "border-box" } }, f = { key: 0, style: { "margin-left": "2px", color: "#00b42a", "background-color": "#e8ffea", width: "68px", "text-align": "center", display: "inline-block" } }, S = ["title"], C = { class: "button-style" }, y = { style: { padding: "10px", "box-sizing": "border-box", width: "50px" } }, k = { style: { "padding-left": "15px" } }, v = ["onClick"], w = { key: 0, style: { position: "absolute", right: "5%", bottom: "9%" } };
|
|
211
|
-
const b = h(c, [["render", function(t2, e2, i2, o2, s2, n2) {
|
|
212
|
-
const r2 = l.resolveComponent("search-form"), a2 = l.resolveComponent("Plus"), h2 = l.resolveComponent("el-icon"), c2 = l.resolveComponent("el-card"), b2 = l.resolveComponent("el-col"), I = l.resolveComponent("el-tooltip"), D = l.resolveComponent("SuccessFilled"), x = l.resolveComponent("el-button"), P = l.resolveComponent("el-row"), B = l.resolveComponent("el-pagination"), F = l.resolveDirective("permission");
|
|
213
|
-
return l.openBlock(), l.createElementBlock("div", null, [s2.hasLoadedColumns ? l.withDirectives((l.openBlock(), l.createBlock(r2, { key: 0, ref: "sf", code: i2.code, columns: s2.columns, "grid-id": s2.gridId, "init-search-props": s2.initSearchProps, pagination: s2.pagination, query: s2.query, "search-param": s2.searchFormContent, url: i2.url, onReset: n2.resetSearch, onSearch: n2.search }, null, 8, ["code", "columns", "grid-id", "init-search-props", "pagination", "query", "search-param", "url", "onReset", "onSearch"])), [[l.vShow, s2.showSearch]]) : l.createCommentVNode("", true), l.createElementVNode("div", p, [l.createElementVNode("div", { id: s2.gridId, style: l.normalizeStyle("height:" + s2.height + "px;overflow-y: auto;overflow-x: hidden;") }, [l.createVNode(P, { gutter: 24 }, { default: l.withCtx(() => [s2.isHasCreate ? l.withDirectives((l.openBlock(), l.createBlock(b2, { key: 0, id: "_addCardId_", span: s2.colSpan }, { default: l.withCtx(() => [l.createVNode(c2, { "body-style": { padding: "0px" }, style: { "border-radius": "4px", background: "#ffffff", border: "1px solid #e5e8ef" } }, { default: l.withCtx(() => [l.createElementVNode("div", { class: "add-screen", onClick: e2[0] || (e2[0] = (...t3) => n2.add && n2.add(...t3)) }, [l.createVNode(h2, null, { default: l.withCtx(() => [l.createVNode(a2)]), _: 1 }), l.createElementVNode("span", u, l.toDisplayString(t2.$t("superNineGrid.add")), 1)])]), _: 1 })]), _: 1 }, 8, ["span"])), [[F, s2.createPermission]]) : l.createCommentVNode("", true), (l.openBlock(true), l.createElementBlock(l.Fragment, null, l.renderList(s2.gridData, (i3, o3) => (l.openBlock(), l.createBlock(b2, { key: i3.id, offset: 1.5, span: s2.colSpan }, { default: l.withCtx(() => [l.createVNode(c2, { "body-style": { padding: "0px" }, style: l.normalizeStyle({ border: s2.selectionIds.indexOf(i3.id) > -1 ? "1px solid #005EBA" : "", position: "relative" }), shadow: "hover" }, { default: l.withCtx(() => [l.createElementVNode("div", { style: { height: "160px" }, onClick: (t3) => n2.clickContent(i3), onMouseenter: (t3) => n2.enter(o3), onMouseleave: e2[1] || (e2[1] = (t3) => n2.leave()) }, [l.createElementVNode("div", m, [l.createElementVNode("div", null, [l.createVNode(I, { content: s2.props && s2.props.content ? n2.getPropValue("content", i3) + "(" + i3.code + ")" : s2.props && s2.props.title ? n2.getPropValue("title", i3) + "(" + i3.code + ")" : "", effect: "dark", placement: "top-start" }, { default: l.withCtx(() => [s2.props && s2.props.content ? (l.openBlock(), l.createElementBlock("div", { key: 0, style: l.normalizeStyle("display: inline-block;width:" + s2.titleWidth), class: "ellipsis cell--span" }, l.toDisplayString(n2.getPropValue("content", i3) + "(" + i3.code + ")"), 5)) : s2.props && s2.props.title ? (l.openBlock(), l.createElementBlock("div", { key: 1, style: l.normalizeStyle("display: inline-block;width:" + s2.titleWidth), class: "ellipsis cell--span" }, l.toDisplayString(n2.getPropValue("title", i3) + "(" + i3.code + ")"), 5)) : l.createCommentVNode("", true)]), _: 2 }, 1032, ["content"]), n2.showEnableButton(i3) ? (l.openBlock(), l.createElementBlock("div", f, [l.createVNode(h2, null, { default: l.withCtx(() => [l.createVNode(D)]), _: 1 }), l.createElementVNode("span", { title: n2.getPropValue("subTitle", i3), style: { "margin-left": "4px" } }, l.toDisplayString(n2.getPropValue("subTitle", i3)), 9, S)])) : l.createCommentVNode("", true)]), l.createElementVNode("div", C, [l.createElementVNode("div", y, l.toDisplayString(t2.$t("imatrixUIPublicModel.edit")), 1), l.createElementVNode("div", k, [(l.openBlock(true), l.createElementBlock(l.Fragment, null, l.renderList(s2.operations, (t3) => (l.openBlock(), l.createElementBlock(l.Fragment, null, [n2.isShowButton(i3, t3) ? (l.openBlock(), l.createElementBlock(l.Fragment, { key: 0 }, [t3.icon ? l.withDirectives((l.openBlock(), l.createBlock(I, { key: t3.name, content: t3.name, class: "item", effect: "dark", placement: "top", style: { "background-color": "red" } }, { default: l.withCtx(() => [l.createVNode(h2, { class: l.normalizeClass(t3.icon + " icons"), onClick: l.withModifiers((e3) => n2.buttonClick(t3.event, i3), ["stop"]) }, { default: l.withCtx(() => [(l.openBlock(), l.createBlock(l.resolveDynamicComponent(t3.icon)))]), _: 2 }, 1032, ["class", "onClick"])]), _: 2 }, 1032, ["content"])), [[F, t3.permission ? t3.permission : "true"]]) : l.withDirectives((l.openBlock(), l.createElementBlock("em", { key: t3.name, class: l.normalizeClass(t3.name + " icons"), onClick: l.withModifiers((e3) => n2.buttonClick(t3.event, i3), ["stop"]) }, [l.createTextVNode(l.toDisplayString(t3.name), 1)], 10, v)), [[F, t3.permission ? t3.permission : "true"]])], 64)) : l.createCommentVNode("", true)], 64))), 256)), l.renderSlot(t2.$slots, s2.slotBefore, { params: i3 }, void 0, true)])]), s2.isShowBottom ? (l.openBlock(), l.createElementBlock("div", w, [l.renderSlot(t2.$slots, s2.slotState, { params: i3 }, void 0, true), s2.isShowEnableState ? (l.openBlock(), l.createElementBlock(l.Fragment, { key: 0 }, [n2.showEnableButton(i3) ? (l.openBlock(), l.createBlock(x, { key: 0, class: "button--default", size: "default", onClick: l.withModifiers((t3) => n2.changeState(i3), ["stop"]) }, { default: l.withCtx(() => [l.createTextVNode(l.toDisplayString(t2.$t("imatrixUIPublicModel.forbidden")), 1)]), _: 2 }, 1032, ["onClick"])) : (l.openBlock(), l.createBlock(x, { key: 1, size: "default", type: "primary", onClick: l.withModifiers((t3) => n2.changeState(i3), ["stop"]) }, { default: l.withCtx(() => [l.createTextVNode(l.toDisplayString(t2.$t("imatrixUIPublicModel.startUsing")), 1)]), _: 2 }, 1032, ["onClick"]))], 64)) : l.createCommentVNode("", true)])) : l.createCommentVNode("", true)])], 40, g)]), _: 2 }, 1032, ["style"])]), _: 2 }, 1032, ["span"]))), 128))]), _: 3 })], 12, d), s2.pagination ? (l.openBlock(), l.createBlock(B, { key: 0, background: "", "current-page": s2.currentPage, "onUpdate:currentPage": e2[2] || (e2[2] = (t3) => s2.currentPage = t3), "page-size": s2.pagination.pageSize, "onUpdate:pageSize": e2[3] || (e2[3] = (t3) => s2.pagination.pageSize = t3), layout: s2.pagination.layout, "page-sizes": s2.pagination.pageSizes, total: void 0 !== s2.pagination.total && "" !== s2.pagination.total && null !== s2.pagination.total ? s2.pagination.total : 0, onSizeChange: n2.handleSizeChange, onCurrentChange: n2.handleCurrentChange }, null, 8, ["current-page", "page-size", "layout", "page-sizes", "total", "onSizeChange", "onCurrentChange"])) : l.createCommentVNode("", true)])]);
|
|
214
|
-
}], ["__scopeId", "data-v-80f6a26f"]]);
|
|
215
|
-
module.exports = b;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const e = require("./store.js");
|
|
4
|
-
function t(e2) {
|
|
5
|
-
const t2 = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
6
|
-
if (e2) {
|
|
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);
|
|
14
|
-
}
|
|
15
|
-
const n = t(require("vue"));
|
|
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() {
|
|
25
|
-
return n.reactive({ columns: [], gridData: [], orgGridData: [], showValidateError: true, options: {} });
|
|
26
|
-
}, exports.getTableHeight = function(e2, t2) {
|
|
27
|
-
if (true === e2) {
|
|
28
|
-
let e3 = 0;
|
|
29
|
-
return t2 && (e3 = t2.$el.offsetHeight), window.innerHeight - e3 - 165;
|
|
30
|
-
}
|
|
31
|
-
return window.innerHeight - 165;
|
|
32
|
-
}, exports.isHasOptionFunction = function(t2, n2) {
|
|
33
|
-
n2 || (n2 = e.get("_nine_list_code")), n2 && n2.indexOf("~") < 0 && (n2 += "~_nineGrid");
|
|
34
|
-
const o = e.get(n2);
|
|
35
|
-
return !(!o.options || "function" != typeof o.options[t2]);
|
|
36
|
-
};
|
package/lib/svg-icon/index.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const e = require("vue");
|
|
3
|
-
require("./svg-icon.vue2.js");
|
|
4
|
-
const s = require("../../_virtual/_plugin-vue_export-helper.js"), r = ["xlink:href"];
|
|
5
|
-
const n = s({ name: "SvgIcon", props: { iconClass: { type: String, required: true }, className: { type: String, default: "" } }, computed: { iconName() {
|
|
6
|
-
return `#icon-${this.iconClass}`;
|
|
7
|
-
}, svgClass() {
|
|
8
|
-
return this.className ? "svg-icon " + this.className : "svg-icon";
|
|
9
|
-
} } }, [["render", function(s2, n2, t, i, a, c) {
|
|
10
|
-
return e.openBlock(), e.createElementBlock("svg", { class: e.normalizeClass(c.svgClass), "aria-hidden": "true" }, [e.createElementVNode("use", { "xlink:href": c.iconName }, null, 8, r)], 2);
|
|
11
|
-
}], ["__scopeId", "data-v-67e4e504"]]);
|
|
12
|
-
module.exports = n;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const e = require("../src/utils/local-storage.js"), t = { memorySearch(e2, t2) {
|
|
3
|
-
var a = this.memoryCacheData;
|
|
4
|
-
setTimeout(() => {
|
|
5
|
-
t2(a);
|
|
6
|
-
}, 10 * Math.random());
|
|
7
|
-
}, setMemoryCacheData(e2, t2) {
|
|
8
|
-
"departmentUser" === t2 ? this.setDepartmentUserMemoryCacheData(e2) : "department" === t2 && this.setDepartmentMemoryCacheData(e2);
|
|
9
|
-
}, getMemoryCacheData(e2) {
|
|
10
|
-
"departmentUser" === e2 ? this.getDepartmentUserMemoryCacheData() : "department" === e2 && this.getDepartmentMemoryCacheData();
|
|
11
|
-
}, setDepartmentUserMemoryCacheData(t2) {
|
|
12
|
-
var a = e.getObject(this.memoryCacheKey);
|
|
13
|
-
const m = (void 0 === t2.name || null === t2.name || "undefined" === t2.name ? "" : t2.name) + "(" + (void 0 === t2.loginName || null === t2.loginName || "undefined" === t2.loginName ? "" : t2.loginName) + "/" + (void 0 === t2.mainDepartmentName || null === t2.mainDepartmentName || "undefined" === t2.mainDepartmentName ? "" : t2.mainDepartmentName) + ")";
|
|
14
|
-
var n = -1;
|
|
15
|
-
a && a.length > 0 ? n = a.findIndex((e2) => e2.loginName === t2.loginName) : a = [], t2.value = m, n < 0 ? (10 === a.length && a.splice(9, 1), a.unshift(t2), e.setObject(this.memoryCacheKey, a)) : (a.splice(n, 1), a.unshift(t2), e.setObject(this.memoryCacheKey, a));
|
|
16
|
-
}, setDepartmentMemoryCacheData(t2) {
|
|
17
|
-
var a = e.getObject(this.memoryCacheKey);
|
|
18
|
-
const m = (void 0 === t2.name || null === t2.name || "undefined" === t2.name ? "" : t2.name) + "(" + (void 0 === t2.code || null === t2.code || "undefined" === t2.code ? "" : t2.code) + ")";
|
|
19
|
-
var n = -1;
|
|
20
|
-
a && a.length > 0 ? n = a.findIndex((e2) => e2.code === t2.code) : a = [], t2.value = m, n < 0 ? (10 === a.length && a.splice(9, 1), a.unshift(t2), e.setObject(this.memoryCacheKey, a)) : (a.splice(n, 1), a.unshift(t2), e.setObject(this.memoryCacheKey, a));
|
|
21
|
-
}, getDepartmentUserMemoryCacheData() {
|
|
22
|
-
var t2 = e.getObject(this.memoryCacheKey);
|
|
23
|
-
t2 && t2.length > 0 && (this.memoryCacheData = t2);
|
|
24
|
-
}, getDepartmentMemoryCacheData() {
|
|
25
|
-
var t2 = e.getObject(this.memoryCacheKey);
|
|
26
|
-
t2 && t2.length > 0 && (this.memoryCacheData = t2);
|
|
27
|
-
} };
|
|
28
|
-
module.exports = t;
|
package/lib/utils/utils.js
DELETED
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const e = require("../src/utils/util.js");
|
|
3
|
-
require("vue");
|
|
4
|
-
const t = require("../src/utils/global-prop.js"), r = { getSearchUserFields() {
|
|
5
|
-
const t2 = e.getI18n();
|
|
6
|
-
return [{ value: "name", label: t2.t("departmentUserTree.searchFieldUserName") }, { value: "loginName", label: t2.t("departmentUserTree.searchFieldLoginName") }, { value: "email", label: t2.t("departmentUserTree.searchFieldEmail") }, { value: "telephone", label: t2.t("departmentUserTree.searchFieldTelephone") }, { value: "jobNumber", label: t2.t("departmentUserTree.searchFieldJobNumber") }, { value: "honorificName", label: t2.t("departmentUserTree.searchFieldHonorificName") }];
|
|
7
|
-
}, removeRow(e2, t2) {
|
|
8
|
-
for (var r2 = e2.length, l = 0; l < r2; l++)
|
|
9
|
-
if (e2[l].id === t2.id)
|
|
10
|
-
return 0 === l ? (e2.shift(), e2) : l === r2 - 1 ? (e2.pop(), e2) : (e2.splice(l, 1), e2);
|
|
11
|
-
return e2;
|
|
12
|
-
}, storeSeachValue(e2, t2, r2) {
|
|
13
|
-
if (r2 && "" !== r2) {
|
|
14
|
-
var l = e2.getObject(t2);
|
|
15
|
-
if (l && l.length > 0) {
|
|
16
|
-
if (0 === l.filter(this.createFilter(r2)).length) {
|
|
17
|
-
const a2 = { value: r2 };
|
|
18
|
-
l.push(a2), e2.setObject(t2, l);
|
|
19
|
-
}
|
|
20
|
-
} else {
|
|
21
|
-
var a = [];
|
|
22
|
-
const l2 = { value: r2 };
|
|
23
|
-
a.push(l2), e2.setObject(t2, a);
|
|
24
|
-
}
|
|
25
|
-
this.restaurants = e2.getObject(t2);
|
|
26
|
-
}
|
|
27
|
-
}, createFilter: (e2) => (t2) => 0 === t2.value.toLowerCase().indexOf(e2.toLowerCase()), handleSelectUtil(e2, t2) {
|
|
28
|
-
this.storeSeachValue(t2, this.searchStoreKey, this.filterText), this.search(e2.value);
|
|
29
|
-
}, analysisLabelTag(e2, t2, r2, l) {
|
|
30
|
-
let a = "";
|
|
31
|
-
if (e2) {
|
|
32
|
-
let s;
|
|
33
|
-
if ("" !== e2 && "string" == typeof e2 ? s = e2.split("-#-#") : "object" == typeof e2 && (s = e2), s && s.length > 0)
|
|
34
|
-
for (var i = 0; i < s.length; i++) {
|
|
35
|
-
let e3 = s[i];
|
|
36
|
-
if (-1 !== e3.indexOf("obj.")) {
|
|
37
|
-
if (e3 = e3.replace("${obj.", "").replace("}", ""), t2) {
|
|
38
|
-
let r3 = t2[e3];
|
|
39
|
-
this.childIsObjectProp(e3) && (r3 = this.childObjectPropOriginalValue(t2, e3)), a += r3;
|
|
40
|
-
}
|
|
41
|
-
} else if (-1 !== e3.indexOf("request.")) {
|
|
42
|
-
if (e3 = e3.replace("${request.", "").replace("}", ""), l) {
|
|
43
|
-
const t3 = l[e3];
|
|
44
|
-
t3 && (a += t3);
|
|
45
|
-
}
|
|
46
|
-
} else if (-1 !== e3.indexOf("input."))
|
|
47
|
-
e3 = e3.replace("${input.", "").replace("}", ""), a += e3;
|
|
48
|
-
else if (-1 !== e3.indexOf("context.") && (e3 = e3.replace("${context.", "").replace("}", ""), r2)) {
|
|
49
|
-
const t3 = r2[e3];
|
|
50
|
-
t3 && (a += t3);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
return a;
|
|
55
|
-
}, childIsObjectProp: (e2) => e2.indexOf(".") > 0, childObjectPropOriginalValue(e2, t2) {
|
|
56
|
-
try {
|
|
57
|
-
let r2 = e2;
|
|
58
|
-
return t2.split(".").forEach((e3) => {
|
|
59
|
-
if (!r2)
|
|
60
|
-
throw r2 = "", r2;
|
|
61
|
-
r2 = r2[e3];
|
|
62
|
-
}), r2;
|
|
63
|
-
} catch (e3) {
|
|
64
|
-
return "";
|
|
65
|
-
}
|
|
66
|
-
}, getSelectUsers(e2, t2, r2) {
|
|
67
|
-
return new Promise((l, a) => {
|
|
68
|
-
e2 && t2 ? this.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/select-users?searchField=" + e2 + "&selectUserInfo=" + t2 + "&separator=" + r2).then((e3) => {
|
|
69
|
-
l(e3);
|
|
70
|
-
}).catch((e3) => {
|
|
71
|
-
a(e3);
|
|
72
|
-
}) : l([]);
|
|
73
|
-
});
|
|
74
|
-
}, canShowOrgTree: () => new Promise((e2, r2) => {
|
|
75
|
-
const l = t.getCanShowOrgTree();
|
|
76
|
-
if ("false" === l || "true" === l) {
|
|
77
|
-
e2("true" === l);
|
|
78
|
-
} else
|
|
79
|
-
window.$http.get(window.$vueApp.config.globalProperties.baseAPI + "/component/organization-trees/show-org-tree").then((r3) => {
|
|
80
|
-
t.cacheCanShowOrgTree(r3), e2(r3);
|
|
81
|
-
}).catch((t2) => {
|
|
82
|
-
e2(false);
|
|
83
|
-
});
|
|
84
|
-
}) };
|
|
85
|
-
module.exports = r;
|
package/lib/utils/value-set.js
DELETED
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }), require("vue");
|
|
3
|
-
const e = require("../src/utils/common-util.js");
|
|
4
|
-
function t(e2) {
|
|
5
|
-
const t2 = e2.enumName, o2 = e2.beanName;
|
|
6
|
-
if (t2 && "" !== t2) {
|
|
7
|
-
if (true === e2.remoteEnum)
|
|
8
|
-
return "enumname:" + t2;
|
|
9
|
-
} else if (o2 && "" !== o2)
|
|
10
|
-
return "beanname:" + o2;
|
|
11
|
-
}
|
|
12
|
-
function o(e2, t2, o2) {
|
|
13
|
-
var _a;
|
|
14
|
-
const a2 = e2 ? e2.enumName : null, n = e2 ? e2.beanName : null;
|
|
15
|
-
let p = { uuid: t2 };
|
|
16
|
-
if (a2 && "" !== a2)
|
|
17
|
-
e2 && true === e2.remoteEnum && (p.type = "enumName", p.props = { prop: t2, valueSet: "enumname:" + a2 });
|
|
18
|
-
else if (n && "" !== n)
|
|
19
|
-
p.type = "beanName", p.props = { prop: t2, valueSet: "beanname:" + n };
|
|
20
|
-
else if (o2 && o2.valueSetOptions) {
|
|
21
|
-
const e3 = JSON.parse(o2.valueSetOptions);
|
|
22
|
-
!e3.type && !e3.dynamicDataSourceCode || "radio" !== o2.componentType && "checkbox" !== o2.componentType && !e3.valueLabelSwitch && ("optionGroup" === e3.type || void 0 !== e3.filterType && "remote" == e3.filterType) || (e3.type && "optionGroup" === e3.type || (Object.assign(p, e3), p.uuid = t2, p.props || (p.props = {}), p.props.tableName = (_a = e3.props) == null ? void 0 : _a.tableName, p.props.prop = t2), e3.dynamicDataSourceCode && (p.type = "dynamicData", p.props || (p.props = {}), p.props.code = e3.dynamicDataSourceCode));
|
|
23
|
-
}
|
|
24
|
-
return p.type ? p : null;
|
|
25
|
-
}
|
|
26
|
-
function a(e2, t2) {
|
|
27
|
-
var _a;
|
|
28
|
-
let o2;
|
|
29
|
-
e2 && (o2 = JSON.parse(e2));
|
|
30
|
-
let a2 = { uuid: t2 };
|
|
31
|
-
if (o2) {
|
|
32
|
-
const o3 = JSON.parse(e2);
|
|
33
|
-
(o3.type || o3.dynamicDataSourceCode) && (o3.type && "optionGroup" === o3.type || (Object.assign(a2, o3), a2.uuid = t2, a2.props || (a2.props = {}), a2.props.tableName = (_a = o3.props) == null ? void 0 : _a.tableName, a2.props.prop = t2), o3.dynamicDataSourceCode && (a2.type = "dynamicData", a2.props || (a2.props = {}), a2.props.code = o3.dynamicDataSourceCode));
|
|
34
|
-
}
|
|
35
|
-
return a2.type ? a2 : null;
|
|
36
|
-
}
|
|
37
|
-
exports.packageEnumAndBeanColumnValueSets = function(n, p, i, r) {
|
|
38
|
-
return e.isPlateSys(window.$vueApp.config.globalProperties.systemCode) ? function(e2, o2) {
|
|
39
|
-
return new Promise((a2, n2) => {
|
|
40
|
-
const p2 = { listCode: o2, valueSetMetas: [] }, i2 = [];
|
|
41
|
-
for (let o3 = 0; o3 < e2.length; o3++) {
|
|
42
|
-
const a3 = e2[o3], n3 = a3.prop ? a3.prop : a3.label, r2 = t(a3), l = a3.titleValueSet;
|
|
43
|
-
if (r2 || l) {
|
|
44
|
-
const e3 = { prop: n3 };
|
|
45
|
-
r2 && (e3.valueSet = r2), l && (e3.titleValueSet = l), p2.valueSetMetas.push(e3), i2.push(o3);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
p2.valueSetMetas.length > 0 ? window.$vueApp.config.globalProperties.$http.post(window.$vueApp.config.globalProperties.baseURL + "/common/super-grids/value-sets", p2).then((t2) => {
|
|
49
|
-
i2.forEach((o3) => {
|
|
50
|
-
let a3;
|
|
51
|
-
const n3 = e2[o3].prop ? e2[o3].prop : e2[o3].label;
|
|
52
|
-
for (const e3 in t2)
|
|
53
|
-
if (n3 === e3) {
|
|
54
|
-
a3 = t2[n3];
|
|
55
|
-
break;
|
|
56
|
-
}
|
|
57
|
-
a3 && (a3.valueSet && (e2[o3].valueSet = a3.valueSet), a3.titleValueSet && (e2[o3].titleValueSetValue = a3.titleValueSet));
|
|
58
|
-
}), a2(e2);
|
|
59
|
-
}).catch((e3) => {
|
|
60
|
-
n2(e3);
|
|
61
|
-
}) : a2(e2);
|
|
62
|
-
});
|
|
63
|
-
}(n, p) : function(t2, n2, p2, i2, r2) {
|
|
64
|
-
return new Promise((l, u) => {
|
|
65
|
-
const s = function(e2) {
|
|
66
|
-
const t3 = [], n3 = [], p3 = {};
|
|
67
|
-
for (let i3 = 0; i3 < e2.length; i3++) {
|
|
68
|
-
const r3 = e2[i3], l2 = r3.prop ? r3.prop : r3.label, u2 = o(r3, l2, r3);
|
|
69
|
-
let s2 = a(r3.titleValueSetOptions, l2);
|
|
70
|
-
(u2 || s2) && (u2 && t3.push(u2), s2 && n3.push(s2), p3[l2] = i3);
|
|
71
|
-
}
|
|
72
|
-
return { dataSourceConfigList: t3, dataSourceConfigListTitle: n3, valueSetColumnIndexs: p3 };
|
|
73
|
-
}(t2);
|
|
74
|
-
if (s.dataSourceConfigList && 0 !== s.dataSourceConfigList.length || s.dataSourceConfigListTitle && 0 !== s.dataSourceConfigListTitle.length) {
|
|
75
|
-
const o2 = s.valueSetColumnIndexs, a2 = { listCode: n2, entityMap: i2, additionalParamMap: p2, dataSourceList: s.dataSourceConfigList, dataSourceListTitle: s.dataSourceConfigListTitle, systemCode: r2 }, c = e.getRelativeBaseUrl(window.$vueApp.config.globalProperties.baseURL + "/common/common-data/find-grid-datas");
|
|
76
|
-
window.$vueApp.config.globalProperties.$http.post(c, a2).then((e2) => {
|
|
77
|
-
const a3 = e2.columnValueSet, n3 = e2.columnTitleValueSet;
|
|
78
|
-
for (let e3 in o2) {
|
|
79
|
-
const p3 = o2[e3], i3 = a3[e3];
|
|
80
|
-
i3 && (t2[p3].valueSet = i3);
|
|
81
|
-
const r3 = n3[e3];
|
|
82
|
-
r3 && (t2[p3].titleValueSetValue = r3);
|
|
83
|
-
}
|
|
84
|
-
l(e2);
|
|
85
|
-
}).catch((e2) => {
|
|
86
|
-
u(e2);
|
|
87
|
-
});
|
|
88
|
-
} else
|
|
89
|
-
l();
|
|
90
|
-
});
|
|
91
|
-
}(n, p, i, r);
|
|
92
|
-
};
|
package/lib/valid-code/index.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const e = require("../../utils/gogocodeTransfer.js"), t = require("vue");
|
|
3
|
-
require("./valid-code.vue2.js");
|
|
4
|
-
const o = require("../../_virtual/_plugin-vue_export-helper.js")({ name: "ValidCode", model: { prop: "value", event: "input" }, props: { width: { type: String, default: "100px" }, height: { type: String, default: "40px" }, length: { type: Number, default: 4 }, refresh: { type: Number, default: null } }, data: () => ({ codeList: [] }), watch: { refresh() {
|
|
5
|
-
this.createdCode();
|
|
6
|
-
} }, mounted() {
|
|
7
|
-
this.createdCode();
|
|
8
|
-
}, methods: { refreshCode() {
|
|
9
|
-
this.createdCode();
|
|
10
|
-
}, createdCode() {
|
|
11
|
-
const t2 = this.length, o2 = [], r = "ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz0123456789";
|
|
12
|
-
for (let e2 = 0; e2 < t2; e2++) {
|
|
13
|
-
const e3 = [Math.round(220 * Math.random()), Math.round(240 * Math.random()), Math.round(200 * Math.random())];
|
|
14
|
-
o2.push({ code: r.charAt(Math.floor(51 * Math.random())), color: `rgb(${e3})`, fontSize: +[Math.floor(10 * Math.random())] + 6 + 10 + "px", padding: `${[Math.floor(10 * Math.random())]}px`, transform: `rotate(${Math.floor(90 * Math.random()) - Math.floor(90 * Math.random())}deg)` });
|
|
15
|
-
}
|
|
16
|
-
this.codeList = o2, e.$emit(this, "update:value", o2.map((e2) => e2.code).join(""));
|
|
17
|
-
}, getStyle: (e2) => `color: ${e2.color}; font-size: ${e2.fontSize}; padding: ${e2.padding}; transform: ${e2.transform}` }, emits: ["update:value"] }, [["render", function(e2, o2, r, a, d, n) {
|
|
18
|
-
return t.openBlock(), t.createElementBlock("div", { class: "ValidCode disabled-select", style: t.normalizeStyle(`width:${r.width}; height:${r.height}`), onClick: o2[0] || (o2[0] = (...e3) => n.refreshCode && n.refreshCode(...e3)) }, [(t.openBlock(true), t.createElementBlock(t.Fragment, null, t.renderList(d.codeList, (e3, o3) => (t.openBlock(), t.createElementBlock("span", { key: o3, style: t.normalizeStyle(n.getStyle(e3)) }, t.toDisplayString(e3.code), 5))), 128))], 4);
|
|
19
|
-
}], ["__scopeId", "data-v-aa77e3bd"]]);
|
|
20
|
-
module.exports = o;
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const t = require("../../utils/gogocodeTransfer.js"), i = require("vuex"), e = require("vue"), s = require("../../_virtual/_plugin-vue_export-helper.js"), n = { name: "WorkflowButton", props: { buttonInfo: { type: Object, default: null }, hiddenBtns: { type: Array, default: null }, permissionPrefix: { type: String, default: null }, formButtonPosition: { type: String, default: null }, disabled: { type: Boolean, default: false } }, data() {
|
|
3
|
-
return { slotBefore: "before", slotAfter: "after", buttons: [], buttonsPermission: this.getButtonsPermission() };
|
|
4
|
-
}, computed: { ...i.mapGetters(["preventReclick"]) }, provide: () => ({}), created() {
|
|
5
|
-
const i2 = [], e2 = this;
|
|
6
|
-
if ((void 0 === this.buttonInfo.processState || null === this.buttonInfo.processState || "UNSUBMIT" === this.buttonInfo.processState && "WAIT_TRANSACT" === this.buttonInfo.active) && (void 0 !== this.buttonInfo.processState && true !== this.buttonInfo.showButtonSave || i2.push({ i18nButtonName: this.i18nButtonName(this.buttonInfo.saveButton), permission: this.buttonsPermission.save, type: "primary", clickFun: function() {
|
|
7
|
-
t.$emit(e2, "save");
|
|
8
|
-
}, code: "saveButton" }), i2.push({ i18nButtonName: this.i18nButtonName(this.buttonInfo.submitButton), permission: this.buttonsPermission.submitProcess, type: "primary", clickFun: function() {
|
|
9
|
-
t.$emit(e2, "submitProcess");
|
|
10
|
-
}, code: "submitButton" })), this.buttonInfo.processState) {
|
|
11
|
-
if ("WAIT_TRANSACT" === this.buttonInfo.active && "TYPE_READ" === this.buttonInfo.processingMode)
|
|
12
|
-
(!this.hiddenBtns || this.hiddenBtns && -1 === this.hiddenBtns.indexOf("readButton")) && i2.push({ i18nButtonName: this.i18nButtonName(this.buttonInfo.readButton), permission: this.buttonsPermission.completeTask, type: "primary", clickFun: function() {
|
|
13
|
-
e2.completeTask("READED");
|
|
14
|
-
}, code: "readButton" });
|
|
15
|
-
else if ("SUBMIT" === this.buttonInfo.processState) {
|
|
16
|
-
if ("TYPE_READ" === this.buttonInfo.processingMode || !this.buttonInfo.showButtonSave || "WAIT_TRANSACT" !== this.buttonInfo.active && "WAIT_DESIGNATE_TRANSACTOR" !== this.buttonInfo.active && "WAIT_CHOICE_TACHE" !== this.buttonInfo.active && "DRAW_WAIT" !== this.buttonInfo.active || i2.push({ i18nButtonName: this.i18nButtonName(this.buttonInfo.saveButton), permission: this.buttonsPermission.update, type: "primary", clickFun: function() {
|
|
17
|
-
t.$emit(e2, "update");
|
|
18
|
-
}, code: "saveButton" }), this.buttonInfo.active && "WAIT_DESIGNATE_TRANSACTOR" === this.buttonInfo.active && (!this.hiddenBtns || this.hiddenBtns && -1 === this.hiddenBtns.indexOf("selectTransactor")) && i2.push({ i18nButtonName: this.i18nButtonName(this.buttonInfo.submitButton), permission: this.buttonsPermission.selectTransactor, type: "primary", clickFun: function() {
|
|
19
|
-
t.$emit(e2, "selectTransactors");
|
|
20
|
-
}, code: "submitButton" }), this.buttonInfo.active && "WAIT_CHOICE_TACHE" === this.buttonInfo.active && (!this.hiddenBtns || this.hiddenBtns && -1 === this.hiddenBtns.indexOf("selectTache"))) {
|
|
21
|
-
i2.push({ i18nButtonName: this.i18nButtonName(this.buttonInfo.submitButton), permission: this.buttonsPermission.selectTache, type: "primary", clickFun: function() {
|
|
22
|
-
t.$emit(e2, "selectTaches");
|
|
23
|
-
}, code: "submitButton" });
|
|
24
|
-
const s2 = i2.findIndex((t2) => "saveButton" === t2.code);
|
|
25
|
-
-1 !== s2 && i2.splice(s2, 1);
|
|
26
|
-
}
|
|
27
|
-
this.buttonInfo.active && ("DRAW_WAIT" === this.buttonInfo.active || "DEPT_DRAW_WAIT" === this.buttonInfo.active) && this.buttonInfo.showButtonDraw && i2.push({ i18nButtonName: this.i18nButtonName(this.buttonInfo.drawButton), permission: this.buttonsPermission.drawTask, type: "primary", clickFun: function() {
|
|
28
|
-
t.$emit(e2, "drawTask");
|
|
29
|
-
}, code: "drawButton" }), (this.buttonInfo.drawTask && "WAIT_TRANSACT" === this.buttonInfo.active || this.buttonInfo.canAbandonDeptTask && "WAIT_TRANSACT" === this.buttonInfo.active) && this.buttonInfo.showButtonAbandon && i2.push({ i18nButtonName: this.i18nButtonName(this.buttonInfo.abandonButton), permission: this.buttonsPermission.abandonReceive, type: "primary", clickFun: function() {
|
|
30
|
-
t.$emit(e2, "abandonDraw");
|
|
31
|
-
}, code: "abandonButton" }), this.showRetrieve() && i2.push({ i18nButtonName: this.i18nButtonName(this.buttonInfo.backButton), permission: this.buttonsPermission.retrieve, type: "primary", clickFun: function() {
|
|
32
|
-
t.$emit(e2, "retrieveTask");
|
|
33
|
-
}, code: "backButton" }), "WAIT_TRANSACT" === this.buttonInfo.active && "EDIT" === this.buttonInfo.processingMode && i2.push({ i18nButtonName: this.i18nButtonName(this.buttonInfo.submitButton), permission: this.buttonsPermission.submitTask, type: "primary", clickFun: function() {
|
|
34
|
-
e2.completeTask("SUBMIT");
|
|
35
|
-
}, code: "submitButton" }), "WAIT_TRANSACT" !== this.buttonInfo.active || "APPROVE" !== this.buttonInfo.processingMode && "COUNTERSIGN" !== this.buttonInfo.processingMode || (i2.push({ i18nButtonName: this.i18nButtonName(this.buttonInfo.agreeButton), permission: this.buttonsPermission.approve, type: "primary", clickFun: function() {
|
|
36
|
-
e2.completeTask("APPROVE");
|
|
37
|
-
}, code: "agreeButton" }), i2.push({ i18nButtonName: this.i18nButtonName(this.buttonInfo.disagreeButton), permission: this.buttonsPermission.refuse, type: "primary", clickFun: function() {
|
|
38
|
-
e2.completeTask("REFUSE");
|
|
39
|
-
}, code: "disagreeButton" }), "COUNTERSIGN" === this.buttonInfo.processingMode && this.buttonInfo.showButtonAddCounter && i2.push({ i18nButtonName: this.i18nButtonName(this.buttonInfo.addSignerButton), permission: this.buttonsPermission.addSigner, type: "primary", clickFun: function() {
|
|
40
|
-
t.$emit(e2, "addSigner");
|
|
41
|
-
}, code: "addSignerButton" }), "COUNTERSIGN" === this.buttonInfo.processingMode && this.buttonInfo.showButtonDelCounter && i2.push({ i18nButtonName: this.i18nButtonName(this.buttonInfo.removeSignerButton), permission: this.buttonsPermission.removeSigner, type: "primary", clickFun: function() {
|
|
42
|
-
t.$emit(e2, "removeSigner");
|
|
43
|
-
}, code: "removeSignerButton" })), "WAIT_TRANSACT" === this.buttonInfo.active && "VOTE" === this.buttonInfo.processingMode && (i2.push({ i18nButtonName: this.i18nButtonName(this.buttonInfo.approveButton), permission: this.buttonsPermission.agreement, type: "primary", clickFun: function() {
|
|
44
|
-
e2.completeTask("AGREEMENT");
|
|
45
|
-
}, code: "approveButton" }), i2.push({ i18nButtonName: this.i18nButtonName(this.buttonInfo.opposeButton), permission: this.buttonsPermission.oppose, type: "primary", clickFun: function() {
|
|
46
|
-
e2.completeTask("OPPOSE");
|
|
47
|
-
}, code: "opposeButton" }), this.buttonInfo.showButtonKiken && i2.push({ i18nButtonName: this.i18nButtonName(this.buttonInfo.abstainButton), permission: this.buttonsPermission.kiken, type: "primary", clickFun: function() {
|
|
48
|
-
e2.completeTask("KIKEN");
|
|
49
|
-
}, code: "abstainButton" })), "WAIT_TRANSACT" === this.buttonInfo.active && "TYPE_READ" !== this.buttonInfo.processingMode && this.buttonInfo.showButtonCopy && (!this.hiddenBtns || this.hiddenBtns && -1 === this.hiddenBtns.indexOf("copyButton")) && this.buttonInfo.showButtonCopy && i2.push({ i18nButtonName: this.i18nButtonName(this.buttonInfo.copyButton), permission: this.buttonsPermission.copyTask, type: "", clickFun: function() {
|
|
50
|
-
t.$emit(e2, "createCopyTask");
|
|
51
|
-
}, code: "copyButton" }), "TYPE_READ" === this.buttonInfo.processingMode || "WAIT_TRANSACT" !== this.buttonInfo.active && "DRAW_WAIT" !== this.buttonInfo.active || this.hiddenBtns && (!this.hiddenBtns || -1 !== this.hiddenBtns.indexOf("assignButton")) || !this.buttonInfo.showButtonAppoint || i2.push({ i18nButtonName: this.i18nButtonName(this.buttonInfo.appointButton), permission: this.buttonsPermission.assign, type: "", clickFun: function() {
|
|
52
|
-
t.$emit(e2, "assignTask");
|
|
53
|
-
}, code: "appointButton" });
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
"bottomRight" === this.formButtonPosition ? (this.buttons = i2.slice().reverse(), this.slotBefore = "after", this.slotAfter = "before") : this.buttons = i2;
|
|
57
|
-
}, mounted() {
|
|
58
|
-
}, methods: { exportReportButt() {
|
|
59
|
-
t.$emit(this, "exportReport");
|
|
60
|
-
}, completeTask(i2) {
|
|
61
|
-
t.$emit(this, "completeTask", i2);
|
|
62
|
-
}, i18nButtonName(t2) {
|
|
63
|
-
const i2 = "initVal:";
|
|
64
|
-
if (t2.indexOf(i2) >= 0) {
|
|
65
|
-
const e2 = t2.substring(t2.indexOf(i2) + 8);
|
|
66
|
-
return this.$t("workflowButton." + e2);
|
|
67
|
-
}
|
|
68
|
-
return t2;
|
|
69
|
-
}, getButtonsPermission() {
|
|
70
|
-
const t2 = "true", i2 = this.permissionPrefix ? this.permissionPrefix + ".completeTask" : t2;
|
|
71
|
-
return { save: this.permissionPrefix ? this.permissionPrefix + ".save" : t2, submitProcess: this.permissionPrefix ? this.permissionPrefix + ".submitProcess" : t2, approve: this.permissionPrefix ? this.permissionPrefix + ".approve" : i2, refuse: this.permissionPrefix ? this.permissionPrefix + ".refuse" : i2, submitTask: this.permissionPrefix ? this.permissionPrefix + ".submit" : i2, agreement: this.permissionPrefix ? this.permissionPrefix + ".agreement" : i2, oppose: this.permissionPrefix ? this.permissionPrefix + ".oppose" : i2, kiken: this.permissionPrefix ? this.permissionPrefix + ".kiken" : i2, readed: this.permissionPrefix ? this.permissionPrefix + ".readed" : i2, drawTask: this.permissionPrefix ? this.permissionPrefix + ".drawTask" : t2, abandonReceive: this.permissionPrefix ? this.permissionPrefix + ".abandonReceive" : t2, retrieve: this.permissionPrefix ? this.permissionPrefix + ".retrieve" : t2, update: this.permissionPrefix ? this.permissionPrefix + ".update" : t2, assign: this.permissionPrefix ? this.permissionPrefix + ".assign" : t2, selectTransactor: this.permissionPrefix ? this.permissionPrefix + ".selectTransactor" : t2, selectTache: this.permissionPrefix ? this.permissionPrefix + ".selectTache" : t2, copyTask: this.permissionPrefix ? this.permissionPrefix + ".copyTask" : t2, addSigner: this.permissionPrefix ? this.permissionPrefix + ".addSigner" : t2, removeSigner: this.permissionPrefix ? this.permissionPrefix + ".removeSigner" : t2, exportReport: this.permissionPrefix ? this.permissionPrefix + ".exportReport" : t2, drawDeptTask: this.permissionPrefix ? this.permissionPrefix + ".drawDeptTask" : t2, abandonDrawDeptTask: this.permissionPrefix ? this.permissionPrefix + ".abandonDrawDeptTask" : t2 };
|
|
72
|
-
}, isDeptTask() {
|
|
73
|
-
}, showRetrieve() {
|
|
74
|
-
return "COMPLETED" === this.buttonInfo.active && ("TYPE_READ" !== this.buttonInfo.processingMode && (!!this.buttonInfo.showButtonGetBack && (!this.hiddenBtns || -1 === this.hiddenBtns.indexOf("retrieveButton"))));
|
|
75
|
-
} }, emits: ["completeTask", "save", "submitProcess", "update", "selectTransactors", "selectTaches", "drawTask", "abandonDraw", "retrieveTask", "addSigner", "removeSigner", "createCopyTask", "assignTask", "exportReport", ,] }, o = { key: 0, class: "operation-area" }, r = { key: 1, class: "operation-area" };
|
|
76
|
-
const u = s(n, [["render", function(t2, i2, s2, n2, u2, a) {
|
|
77
|
-
const h = e.resolveComponent("el-button"), p = e.resolveDirective("permission");
|
|
78
|
-
return e.openBlock(), e.createElementBlock("span", null, [void 0 !== s2.buttonInfo.theTransactor && false === s2.buttonInfo.theTransactor ? (e.openBlock(), e.createElementBlock("span", o, [e.renderSlot(t2.$slots, u2.slotBefore), e.renderSlot(t2.$slots, "errorArea"), e.renderSlot(t2.$slots, u2.slotAfter)])) : (e.openBlock(), e.createElementBlock("span", r, [e.renderSlot(t2.$slots, u2.slotBefore), (e.openBlock(true), e.createElementBlock(e.Fragment, null, e.renderList(u2.buttons, (i3, n3) => e.withDirectives((e.openBlock(), e.createBlock(h, { key: n3, class: e.normalizeClass(i3.code ? i3.code : ""), disabled: s2.disabled ? s2.disabled : t2.preventReclick, type: i3.type, onClick: i3.clickFun }, { default: e.withCtx(() => [e.createTextVNode(e.toDisplayString(i3.i18nButtonName), 1)]), _: 2 }, 1032, ["class", "disabled", "type", "onClick"])), [[p, i3.permission]])), 128)), e.renderSlot(t2.$slots, u2.slotAfter)]))]);
|
|
79
|
-
}]]);
|
|
80
|
-
module.exports = u;
|