agilebuilder-ui 1.1.65-tmp30 → 1.1.65-tmp32
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/es/chat-embed/src/index.vue.mjs +1 -1
- package/es/chat-embed/src/index.vue2.mjs +104 -100
- package/es/chat-embed/src/voice/js/crypto-js.mjs +46 -50
- package/es/chat-embed/src/voice/voice.vue.mjs +8 -11
- package/es/date-picker-range/index.vue.mjs +1 -1
- package/es/date-picker-range/index.vue2.mjs +41 -33
- package/es/department-tree-inline/src/department-tree-service.mjs +0 -1
- package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.mjs +14 -11
- package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue.mjs +6 -6
- package/es/department-user-tree-inline/src/department-user-tree-multi-service.mjs +19 -20
- package/es/department-user-tree-inline/src/department-user-tree-single-service.mjs +0 -1
- package/es/department-user-tree-inline/src/search-result.vue.mjs +4 -4
- package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue.mjs +2 -2
- package/es/dynamic-source-select/src/dynamic-source-select.vue.mjs +86 -85
- package/es/fs-preview/src/fs-preview.vue.mjs +73 -59
- package/es/fs-upload/src/fs-upload-multi.vue.mjs +3 -3
- package/es/fs-upload-list/src/fs-upload-list.vue.mjs +5 -6
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.mjs +15 -17
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.mjs +19 -19
- package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.mjs +2 -2
- package/es/fs-upload-new/src/fs-preview-new.vue.mjs +1 -1
- package/es/fs-upload-new/src/fs-preview-new.vue2.mjs +50 -50
- package/es/i18n-setting/index.mjs +7 -0
- package/es/i18n-setting/src/i18n-setting-dialog.vue.mjs +23 -0
- package/es/i18n-setting/src/i18n-setting.mjs +14 -0
- package/es/i18n-setting/src/index.vue.mjs +47 -0
- package/es/index.mjs +46 -41
- package/es/multipart-upload/src/multipart-upload-form.vue.mjs +5 -5
- package/es/multipart-upload/src/multipart-upload-list.vue.mjs +6 -6
- package/es/organization-input/src/organization-input.vue.mjs +58 -58
- package/es/remove-department/src/remove-dept-service.mjs +4 -5
- package/es/remove-user/src/remove-user-service.mjs +0 -1
- package/es/remove-workgroup/src/remove-workgroup-service.mjs +0 -1
- package/es/rich-editor/index.vue.mjs +43 -84
- package/es/scan-code-input/src/scan-code-input.vue.mjs +1 -1
- package/es/scan-code-input-browser/src/scan-code-input.vue.mjs +20 -9
- package/es/src/api/sso-service.mjs +0 -1
- package/es/src/i18n/langs/cn.mjs +1 -1
- package/es/src/i18n/langs/en.mjs +1 -1
- package/es/src/permission.mjs +7 -10
- package/es/src/router/index.mjs +0 -1
- package/es/src/store/index.mjs +0 -1
- package/es/src/store/modules/app.mjs +0 -1
- package/es/src/utils/common-util.mjs +143 -143
- package/es/src/utils/i18n-util.mjs +32 -30
- package/es/src/utils/iconUtils.mjs +0 -1
- package/es/src/utils/jump-page-utils.mjs +1 -1
- package/es/src/utils/permission.mjs +25 -26
- package/es/src/utils/permissionAuth.mjs +0 -1
- package/es/src/utils/restful-interface-utils.mjs +5 -6
- package/es/src/utils/watermark.mjs +2 -7
- package/es/src/utils/workflow-util.mjs +6 -6
- package/es/src/views/dsc-component/Sidebar/Item.vue.mjs +1 -1
- package/es/src/views/dsc-component/Sidebar/Item.vue2.mjs +1 -1
- package/es/src/views/layout/components/Menubar/Item.vue.mjs +1 -1
- package/es/src/views/layout/components/Menubar/Item.vue2.mjs +8 -8
- package/es/src/views/layout/components/Menubar/SidebarItem.vue.mjs +11 -11
- package/es/style.css +1 -3103
- package/es/super-grid/src/apis.mjs +155 -151
- package/es/super-grid/src/components/mobile-table-card.mjs +14 -10
- package/es/super-grid/src/components/select-input.vue.mjs +66 -66
- package/es/super-grid/src/custom-formatter.mjs +5 -6
- package/es/super-grid/src/dynamic-input.vue.mjs +31 -39
- package/es/super-grid/src/formValidatorUtil.mjs +0 -1
- package/es/super-grid/src/normal-column-content.vue.mjs +1 -2
- package/es/super-grid/src/normal-column.vue.mjs +12 -10
- package/es/super-grid/src/row-operation.vue.mjs +3 -3
- package/es/super-grid/src/search-form-item.vue.mjs +18 -14
- package/es/super-grid/src/search-form-number.vue.mjs +7 -6
- package/es/super-grid/src/search-form-open.vue.mjs +3 -2
- package/es/super-grid/src/search-form-open.vue2.mjs +4 -0
- package/es/super-grid/src/search-form-ordinarySearch.vue.mjs +1 -1
- package/es/super-grid/src/super-grid.vue.mjs +254 -242
- package/es/super-grid/src/utils.mjs +6 -6
- package/es/super-grid/src/view-image-dialog.vue.mjs +5 -5
- package/es/super-nine-grid/src/super-nine-grid.vue.mjs +89 -83
- package/es/utils/utils.mjs +0 -1
- package/es/utils/value-set.mjs +0 -1
- package/es/workflow-history-list/src/workflow-history-list.vue.mjs +11 -10
- package/es/workgroup-tree-inline/src/workgroup-tree-service.mjs +0 -1
- package/es/workgroup-user-tree-inline/src/workgroup-tree-inline-service.mjs +0 -1
- package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.mjs +2 -2
- package/package.json +6 -2
- package/src/styles/index.scss +4 -0
- package/src/styles/theme/dark-blue/select.scss +27 -1
- package/src/styles/theme/forest-green/select.scss +27 -1
- package/src/styles/theme/green/select.scss +27 -1
- package/src/styles/theme/ocean-blue/select.scss +27 -1
- package/src/styles/theme/tiffany-blue-mobile/select.scss +29 -2
- package/.eslintrc.cjs +0 -28
- package/.prettierrc.json +0 -12
- package/dist/favicon.svg +0 -29
- package/dist/index.full.min.js +0 -16659
- package/dist/style.css +0 -3104
- package/index.html +0 -19
- package/lib/IntervalSelection/index.cjs +0 -5
- package/lib/IntervalSelection/src/sectionDate.vue.cjs +0 -45
- package/lib/IntervalSelection/src/sectionDate.vue2.cjs +0 -2
- package/lib/_virtual/__vite-browser-external.cjs +0 -2
- package/lib/_virtual/_plugin-vue_export-helper.cjs +0 -7
- package/lib/breadcrumb/index.cjs +0 -5
- package/lib/breadcrumb/src/breadcrumb.vue.cjs +0 -37
- package/lib/breadcrumb/src/breadcrumb.vue2.cjs +0 -2
- package/lib/chat-embed/index.cjs +0 -5
- package/lib/chat-embed/src/chat-addition-data.vue.cjs +0 -5
- package/lib/chat-embed/src/chat-addition-data.vue2.cjs +0 -15
- package/lib/chat-embed/src/chat-addition-data.vue3.cjs +0 -2
- package/lib/chat-embed/src/chat-ai-answer-tip.vue.cjs +0 -5
- package/lib/chat-embed/src/chat-ai-answer-tip.vue2.cjs +0 -26
- package/lib/chat-embed/src/chat-ai-answer-tip.vue3.cjs +0 -2
- package/lib/chat-embed/src/chat-bubble-footer.vue.cjs +0 -5
- package/lib/chat-embed/src/chat-bubble-footer.vue2.cjs +0 -28
- package/lib/chat-embed/src/chat-bubble-footer.vue3.cjs +0 -2
- package/lib/chat-embed/src/chat-embed-message.cjs +0 -16
- package/lib/chat-embed/src/chat-sender.vue.cjs +0 -5
- package/lib/chat-embed/src/chat-sender.vue2.cjs +0 -145
- package/lib/chat-embed/src/chat-sender.vue3.cjs +0 -2
- package/lib/chat-embed/src/components/answer-auto-chart.vue.cjs +0 -5
- package/lib/chat-embed/src/components/answer-auto-chart.vue2.cjs +0 -50
- package/lib/chat-embed/src/components/answer-auto-chart.vue3.cjs +0 -2
- package/lib/chat-embed/src/components/answer-home-chart.vue.cjs +0 -5
- package/lib/chat-embed/src/components/answer-home-chart.vue2.cjs +0 -3
- package/lib/chat-embed/src/components/answer-home-chart.vue3.cjs +0 -2
- package/lib/chat-embed/src/components/answer-interaction-data.vue.cjs +0 -5
- package/lib/chat-embed/src/components/answer-interaction-data.vue2.cjs +0 -107
- package/lib/chat-embed/src/components/answer-interaction-data.vue3.cjs +0 -2
- package/lib/chat-embed/src/components/history-detail.vue.cjs +0 -5
- package/lib/chat-embed/src/components/history-detail.vue2.cjs +0 -50
- package/lib/chat-embed/src/components/history-detail.vue3.cjs +0 -2
- package/lib/chat-embed/src/header.vue.cjs +0 -5
- package/lib/chat-embed/src/header.vue2.cjs +0 -39
- package/lib/chat-embed/src/header.vue3.cjs +0 -2
- package/lib/chat-embed/src/index.vue.cjs +0 -5
- package/lib/chat-embed/src/index.vue2.cjs +0 -281
- package/lib/chat-embed/src/index.vue3.cjs +0 -2
- package/lib/chat-embed/src/recommendation-message.vue.cjs +0 -5
- package/lib/chat-embed/src/recommendation-message.vue2.cjs +0 -8
- package/lib/chat-embed/src/recommendation-message.vue3.cjs +0 -2
- package/lib/chat-embed/src/sidebar-item.vue.cjs +0 -5
- package/lib/chat-embed/src/sidebar-item.vue2.cjs +0 -109
- package/lib/chat-embed/src/sidebar-item.vue3.cjs +0 -2
- package/lib/chat-embed/src/type.cjs +0 -3
- package/lib/chat-embed/src/util/chat-embed-util.cjs +0 -51
- package/lib/chat-embed/src/util/history-message-util.cjs +0 -74
- package/lib/chat-embed/src/util/mcp-utils.cjs +0 -50
- package/lib/chat-embed/src/util/text-file-util.cjs +0 -8
- package/lib/chat-embed/src/voice/index.cjs +0 -5
- package/lib/chat-embed/src/voice/js/crypto-js.cjs +0 -1005
- package/lib/chat-embed/src/voice/js/processor/index.umd.cjs +0 -170
- package/lib/chat-embed/src/voice/js/timer.cjs +0 -8
- package/lib/chat-embed/src/voice/voice.vue.cjs +0 -96
- package/lib/date-picker-range/index.cjs +0 -5
- package/lib/date-picker-range/index.vue.cjs +0 -5
- package/lib/date-picker-range/index.vue2.cjs +0 -89
- package/lib/date-picker-range/index.vue3.cjs +0 -2
- package/lib/department-tree/index.cjs +0 -5
- package/lib/department-tree/src/department-tree.vue.cjs +0 -17
- package/lib/department-tree-inline/index.cjs +0 -5
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue.cjs +0 -81
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue2.cjs +0 -2
- package/lib/department-tree-inline/src/department-single-tree-inline.vue.cjs +0 -54
- package/lib/department-tree-inline/src/department-single-tree-inline.vue2.cjs +0 -2
- package/lib/department-tree-inline/src/department-tree-inline.vue.cjs +0 -12
- package/lib/department-tree-inline/src/department-tree-service.cjs +0 -106
- package/lib/department-tree-inline/src/search-result.vue.cjs +0 -36
- package/lib/department-tree-inline/src/search-result.vue2.cjs +0 -2
- package/lib/department-tree-mobile/index.cjs +0 -5
- package/lib/department-tree-mobile/src/department-tree-app.vue.cjs +0 -13
- package/lib/department-tree-mobile/src/department-tree-app.vue2.cjs +0 -2
- package/lib/department-tree-mobile/src/department-tree-app.vue3.cjs +0 -3
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue.cjs +0 -110
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue2.cjs +0 -3
- package/lib/department-tree-mobile/src/department-tree-service.cjs +0 -47
- package/lib/department-tree-mobile/src/dept-path.vue.cjs +0 -13
- package/lib/department-tree-mobile/src/dept-path.vue2.cjs +0 -3
- package/lib/department-tree-mobile/src/dept-result.vue.cjs +0 -14
- package/lib/department-tree-mobile/src/dept-result.vue2.cjs +0 -3
- package/lib/department-user-tree/index.cjs +0 -5
- package/lib/department-user-tree/src/department-user-multiple-tree.vue.cjs +0 -16
- package/lib/department-user-tree/src/department-user-multiple-tree.vue2.cjs +0 -2
- package/lib/department-user-tree/src/department-user-single-tree.vue.cjs +0 -14
- package/lib/department-user-tree/src/department-user-tree.vue.cjs +0 -21
- package/lib/department-user-tree-inline/index.cjs +0 -5
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.cjs +0 -154
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.cjs +0 -2
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.cjs +0 -57
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue2.cjs +0 -2
- package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.cjs +0 -11
- package/lib/department-user-tree-inline/src/department-user-tree-multi-service.cjs +0 -78
- package/lib/department-user-tree-inline/src/department-user-tree-single-service.cjs +0 -51
- package/lib/department-user-tree-inline/src/group-user/group-input.vue.cjs +0 -34
- package/lib/department-user-tree-inline/src/group-user/group-list.vue.cjs +0 -22
- package/lib/department-user-tree-inline/src/group-user/group-user.vue.cjs +0 -10
- package/lib/department-user-tree-inline/src/group-user-multiple-tree.vue.cjs +0 -72
- package/lib/department-user-tree-inline/src/group-user-single-tree.vue.cjs +0 -28
- package/lib/department-user-tree-inline/src/group-user-tree-service.cjs +0 -33
- package/lib/department-user-tree-inline/src/search-result.vue.cjs +0 -38
- package/lib/department-user-tree-inline/src/search-result.vue2.cjs +0 -2
- package/lib/department-user-tree-mobile/index.cjs +0 -5
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.cjs +0 -13
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue2.cjs +0 -2
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue3.cjs +0 -3
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.cjs +0 -124
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.cjs +0 -3
- package/lib/department-user-tree-mobile/src/department-user-tree-service.cjs +0 -28
- package/lib/department-user-tree-mobile/src/dept-path.vue.cjs +0 -13
- package/lib/department-user-tree-mobile/src/dept-path.vue2.cjs +0 -3
- package/lib/department-user-tree-mobile/src/dept-result.vue.cjs +0 -14
- package/lib/department-user-tree-mobile/src/dept-result.vue2.cjs +0 -3
- package/lib/directives/prevent-reclick.cjs +0 -14
- package/lib/dynamic-source-select/index.cjs +0 -5
- package/lib/dynamic-source-select/src/dynamic-source-select-service.cjs +0 -30
- package/lib/dynamic-source-select/src/dynamic-source-select.vue.cjs +0 -266
- package/lib/dynamic-source-select/src/dynamic-source-select.vue2.cjs +0 -2
- package/lib/dynamic-source-select/src/dynamic-source-select.vue3.cjs +0 -2
- package/lib/dynamic-source-select/src/events.cjs +0 -28
- package/lib/empty-state/index.vue.cjs +0 -6
- package/lib/empty-state/index.vue2.cjs +0 -3
- package/lib/favicon.svg +0 -29
- package/lib/fs-preview/index.cjs +0 -5
- package/lib/fs-preview/src/fs-preview.vue.cjs +0 -119
- package/lib/fs-preview/src/fs-preview.vue2.cjs +0 -2
- package/lib/fs-upload/index.cjs +0 -5
- package/lib/fs-upload/src/fs-upload-multi.vue.cjs +0 -63
- package/lib/fs-upload/src/fs-upload-single.vue.cjs +0 -64
- package/lib/fs-upload/src/fs-upload.vue.cjs +0 -18
- package/lib/fs-upload/src/see-big-picture.vue.cjs +0 -9
- package/lib/fs-upload-list/index.cjs +0 -5
- package/lib/fs-upload-list/src/fs-upload-list.vue.cjs +0 -91
- package/lib/fs-upload-list/src/fs-upload-list.vue2.cjs +0 -2
- package/lib/fs-upload-new/index.cjs +0 -5
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.cjs +0 -57
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.cjs +0 -3
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.cjs +0 -170
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.cjs +0 -3
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.cjs +0 -5
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.cjs +0 -32
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.cjs +0 -2
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.cjs +0 -41
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.cjs +0 -3
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.cjs +0 -29
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue2.cjs +0 -3
- package/lib/fs-upload-new/src/fs-button-upload.vue.cjs +0 -5
- package/lib/fs-upload-new/src/fs-button-upload.vue2.cjs +0 -55
- package/lib/fs-upload-new/src/fs-button-upload.vue3.cjs +0 -2
- package/lib/fs-upload-new/src/fs-drag-upload.vue.cjs +0 -5
- package/lib/fs-upload-new/src/fs-drag-upload.vue2.cjs +0 -55
- package/lib/fs-upload-new/src/fs-drag-upload.vue3.cjs +0 -2
- package/lib/fs-upload-new/src/fs-preview-new.vue.cjs +0 -5
- package/lib/fs-upload-new/src/fs-preview-new.vue2.cjs +0 -84
- package/lib/fs-upload-new/src/fs-preview-new.vue3.cjs +0 -2
- package/lib/fs-upload-new/src/fs-preview-new.vue4.cjs +0 -2
- package/lib/fs-upload-new/src/fs-upload-new.vue.cjs +0 -54
- package/lib/fs-upload-new/src/fs-upload-new.vue2.cjs +0 -3
- package/lib/hamburger/index.cjs +0 -5
- package/lib/hamburger/src/hamburger.vue.cjs +0 -11
- package/lib/hamburger/src/hamburger.vue2.cjs +0 -2
- package/lib/index.cjs +0 -41
- package/lib/json-view/json-view-dialog.vue.cjs +0 -16
- package/lib/json-view/json-view-dialog.vue2.cjs +0 -3
- package/lib/json-view/json-view.vue.cjs +0 -3
- package/lib/json-view/json-view.vue2.cjs +0 -32
- package/lib/multipart-upload/index.cjs +0 -5
- package/lib/multipart-upload/src/index.vue.cjs +0 -10
- package/lib/multipart-upload/src/multipart-upload-form.vue.cjs +0 -73
- package/lib/multipart-upload/src/multipart-upload-list.vue.cjs +0 -96
- package/lib/organization-input/index.cjs +0 -5
- package/lib/organization-input/src/organization-input.vue.cjs +0 -218
- package/lib/organization-input/src/organization-input.vue2.cjs +0 -2
- package/lib/plugins/export-data-new.cjs +0 -229
- package/lib/plugins/export-data.cjs +0 -173
- package/lib/plugins/index.cjs +0 -5
- package/lib/plugins/public-method.cjs +0 -13
- package/lib/remove-department/index.cjs +0 -5
- package/lib/remove-department/src/remove-department.vue.cjs +0 -27
- package/lib/remove-department/src/remove-dept-service.cjs +0 -12
- package/lib/remove-user/index.cjs +0 -5
- package/lib/remove-user/src/remove-user-service.cjs +0 -12
- package/lib/remove-user/src/remove-user.vue.cjs +0 -29
- package/lib/remove-workgroup/index.cjs +0 -5
- package/lib/remove-workgroup/src/remove-workgroup-service.cjs +0 -12
- package/lib/remove-workgroup/src/remove-workgroup.vue.cjs +0 -25
- package/lib/rich-editor/index.cjs +0 -5
- package/lib/rich-editor/index.vue.cjs +0 -67
- package/lib/rich-editor/tinymce/zh_CN.cjs +0 -2
- package/lib/rich-editor/viewer.vue.cjs +0 -24
- package/lib/row-form/index.cjs +0 -5
- package/lib/row-form/index.vue.cjs +0 -5
- package/lib/row-form/index.vue2.cjs +0 -56
- package/lib/row-form/index.vue3.cjs +0 -2
- package/lib/row-form/operation.vue.cjs +0 -28
- package/lib/row-form/operation.vue2.cjs +0 -3
- package/lib/scan-code-input/index.cjs +0 -5
- package/lib/scan-code-input/src/events.cjs +0 -13
- package/lib/scan-code-input/src/scan-code-input.vue.cjs +0 -26
- package/lib/scan-code-input-browser/index.cjs +0 -5
- package/lib/scan-code-input-browser/src/scan-code-input.vue.cjs +0 -34
- package/lib/secret-info/index.cjs +0 -5
- package/lib/secret-info/index.vue.cjs +0 -13
- package/lib/src/api/sso-service.cjs +0 -55
- package/lib/src/api/tab.cjs +0 -14
- package/lib/src/assets/401/401.gif.cjs +0 -2
- package/lib/src/assets/404/404-cloud.png.cjs +0 -2
- package/lib/src/assets/404/404.png.cjs +0 -2
- package/lib/src/assets/chat-embed/robot.gif.cjs +0 -2
- package/lib/src/assets/chat-embed/robot.svg.cjs +0 -2
- package/lib/src/assets/nonemessage.png.cjs +0 -2
- package/lib/src/components/Affix/index.vue.cjs +0 -5
- package/lib/src/components/Affix/index.vue2.cjs +0 -81
- package/lib/src/components/Affix/index.vue3.cjs +0 -2
- package/lib/src/components/Card/index.cjs +0 -46
- package/lib/src/components/Scrollbar/index.vue.cjs +0 -48
- package/lib/src/components/Scrollbar/index.vue2.cjs +0 -2
- package/lib/src/directives/permission/index.cjs +0 -5
- package/lib/src/directives/permission/permission.cjs +0 -9
- package/lib/src/i18n/i18n.cjs +0 -3
- package/lib/src/i18n/langs/cn.cjs +0 -2
- package/lib/src/i18n/langs/en.cjs +0 -2
- package/lib/src/mixins/resizeMixin.cjs +0 -20
- package/lib/src/permission.cjs +0 -76
- package/lib/src/router/index.cjs +0 -16
- package/lib/src/store/getters.cjs +0 -2
- package/lib/src/store/index.cjs +0 -16
- package/lib/src/store/modules/app.cjs +0 -40
- package/lib/src/store/modules/chat-ai-store.cjs +0 -33
- package/lib/src/store/modules/permission.cjs +0 -30
- package/lib/src/store/modules/system.cjs +0 -10
- package/lib/src/store/modules/tab-content.cjs +0 -18
- package/lib/src/store/modules/table.cjs +0 -17
- package/lib/src/store/modules/user.cjs +0 -133
- package/lib/src/utils/auth-api.cjs +0 -132
- package/lib/src/utils/auth.cjs +0 -86
- package/lib/src/utils/calculator/calculator-factory-wf.cjs +0 -166
- package/lib/src/utils/calculator/calculator-factory.cjs +0 -92
- package/lib/src/utils/calculator/calculator-util.cjs +0 -53
- package/lib/src/utils/chat-ai-util.cjs +0 -26
- package/lib/src/utils/common-util.cjs +0 -362
- package/lib/src/utils/eventBus.cjs +0 -3
- package/lib/src/utils/file-util.cjs +0 -22
- package/lib/src/utils/global-prop.cjs +0 -22
- package/lib/src/utils/guid.cjs +0 -7
- package/lib/src/utils/i18n-util.cjs +0 -62
- package/lib/src/utils/iconUtils.cjs +0 -19
- package/lib/src/utils/index.cjs +0 -32
- package/lib/src/utils/insert_css.cjs +0 -18
- package/lib/src/utils/json-util.cjs +0 -45
- package/lib/src/utils/jump-page-utils.cjs +0 -256
- package/lib/src/utils/local-storage.cjs +0 -18
- package/lib/src/utils/menu.cjs +0 -13
- package/lib/src/utils/permission.cjs +0 -41
- package/lib/src/utils/permissionAuth.cjs +0 -120
- package/lib/src/utils/range-selector.cjs +0 -101
- package/lib/src/utils/request.cjs +0 -131
- package/lib/src/utils/resize.cjs +0 -11
- package/lib/src/utils/restful-interface-utils.cjs +0 -15
- package/lib/src/utils/util.cjs +0 -341
- package/lib/src/utils/validate.cjs +0 -12
- package/lib/src/utils/voice-setting-cache.cjs +0 -199
- package/lib/src/utils/watermark-cache.cjs +0 -10
- package/lib/src/utils/watermark.cjs +0 -33
- package/lib/src/utils/workflow-util.cjs +0 -41
- package/lib/src/views/dsc-component/Sidebar/Item.vue.cjs +0 -5
- package/lib/src/views/dsc-component/Sidebar/Item.vue2.cjs +0 -9
- package/lib/src/views/dsc-component/Sidebar/Item.vue3.cjs +0 -2
- package/lib/src/views/dsc-component/Sidebar/Link.vue.cjs +0 -11
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue.cjs +0 -46
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue2.cjs +0 -2
- package/lib/src/views/dsc-component/Sidebar/index.vue.cjs +0 -103
- package/lib/src/views/dsc-component/tabs/tab-content.vue.cjs +0 -61
- package/lib/src/views/dsc-component/tabs/tab-content.vue2.cjs +0 -2
- package/lib/src/views/dsc-component/tabs/tab-content.vue3.cjs +0 -2
- package/lib/src/views/error-page/401.vue.cjs +0 -11
- package/lib/src/views/error-page/401.vue2.cjs +0 -2
- package/lib/src/views/error-page/404.vue.cjs +0 -8
- package/lib/src/views/error-page/404.vue2.cjs +0 -2
- package/lib/src/views/layout/EmptyLayout.vue.cjs +0 -7
- package/lib/src/views/layout/Layout.vue.cjs +0 -21
- package/lib/src/views/layout/Layout.vue2.cjs +0 -2
- package/lib/src/views/layout/NewLayout.vue.cjs +0 -7
- package/lib/src/views/layout/components/AppMain.vue.cjs +0 -11
- package/lib/src/views/layout/components/AppMain.vue2.cjs +0 -2
- package/lib/src/views/layout/components/Breadcrumb/index.vue.cjs +0 -56
- package/lib/src/views/layout/components/Breadcrumb/index.vue2.cjs +0 -2
- package/lib/src/views/layout/components/Menubar/Item.vue.cjs +0 -5
- package/lib/src/views/layout/components/Menubar/Item.vue2.cjs +0 -13
- package/lib/src/views/layout/components/Menubar/Item.vue3.cjs +0 -2
- package/lib/src/views/layout/components/Menubar/Link.vue.cjs +0 -11
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue.cjs +0 -47
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue2.cjs +0 -2
- package/lib/src/views/layout/components/Menubar/index.vue.cjs +0 -79
- package/lib/src/views/layout/components/Sidebar/Item.vue.cjs +0 -7
- package/lib/src/views/layout/components/Sidebar/Item.vue2.cjs +0 -3
- package/lib/src/views/layout/components/Sidebar/Link.vue.cjs +0 -9
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue.cjs +0 -16
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue2.cjs +0 -2
- package/lib/src/views/layout/components/Sidebar/index.vue.cjs +0 -51
- package/lib/src/views/layout/components/iframe-page.vue.cjs +0 -12
- package/lib/src/views/layout/components/iframe-page.vue2.cjs +0 -2
- package/lib/src/views/layout/components/tabs/tab-content.vue.cjs +0 -60
- package/lib/src/views/layout/components/tabs/tab-content.vue2.cjs +0 -2
- package/lib/src/views/layout/components/tabs/tab-content.vue3.cjs +0 -2
- package/lib/src/views/layout/mixin/ResizeHandler.cjs +0 -14
- package/lib/src/views/layout/tab-content-iframe-index.vue.cjs +0 -12
- package/lib/src/views/layout/tab-content-iframe-index.vue2.cjs +0 -2
- package/lib/src/views/layout/tab-content-index.vue.cjs +0 -22
- package/lib/src/views/layout/tab-content-index.vue2.cjs +0 -2
- package/lib/src/views/login/authredirect.vue.cjs +0 -6
- package/lib/src/views/redirect/index.vue.cjs +0 -17
- package/lib/src/views/super-icon/index.cjs +0 -5
- package/lib/src/views/super-icon/src/index.vue.cjs +0 -5
- package/lib/src/views/super-icon/src/index.vue2.cjs +0 -10
- package/lib/src/views/super-icon/src/index.vue3.cjs +0 -2
- package/lib/src/views/svg-icon/src/svg-icon.vue.cjs +0 -2
- package/lib/src/views/svg-icon/src/svg-icon.vue2.cjs +0 -12
- package/lib/src/views/wf-history/tache-subprocess-history.vue.cjs +0 -12
- package/lib/src/views/wf-history/tache-subprocess-history.vue2.cjs +0 -2
- package/lib/style.css +0 -3103
- package/lib/super-grid/index.cjs +0 -5
- package/lib/super-grid/src/apis.cjs +0 -477
- package/lib/super-grid/src/columns-config.vue.cjs +0 -76
- package/lib/super-grid/src/components/grid-icon.vue.cjs +0 -39
- package/lib/super-grid/src/components/grid-radio-input.vue.cjs +0 -22
- package/lib/super-grid/src/components/grid-radio-input.vue2.cjs +0 -3
- package/lib/super-grid/src/components/mobile-table-card.cjs +0 -99
- package/lib/super-grid/src/components/select-input.vue.cjs +0 -141
- package/lib/super-grid/src/components/select-input.vue2.cjs +0 -3
- package/lib/super-grid/src/custom-formatter.cjs +0 -163
- package/lib/super-grid/src/dynamic-input.vue.cjs +0 -465
- package/lib/super-grid/src/eventBus.cjs +0 -3
- package/lib/super-grid/src/events.cjs +0 -35
- package/lib/super-grid/src/formValidatorUtil.cjs +0 -106
- package/lib/super-grid/src/formatter.cjs +0 -69
- package/lib/super-grid/src/group-column.vue.cjs +0 -19
- package/lib/super-grid/src/header-context-menu.vue.cjs +0 -12
- package/lib/super-grid/src/header-context-menu.vue2.cjs +0 -2
- package/lib/super-grid/src/index-column.vue.cjs +0 -19
- package/lib/super-grid/src/normal-column-content.vue.cjs +0 -303
- package/lib/super-grid/src/normal-column-content.vue2.cjs +0 -2
- package/lib/super-grid/src/normal-column.vue.cjs +0 -90
- package/lib/super-grid/src/normal-column.vue2.cjs +0 -2
- package/lib/super-grid/src/public-methods.cjs +0 -20
- package/lib/super-grid/src/row-detail.vue.cjs +0 -11
- package/lib/super-grid/src/row-operation.vue.cjs +0 -82
- package/lib/super-grid/src/row-operation.vue2.cjs +0 -2
- package/lib/super-grid/src/scan-util.cjs +0 -98
- package/lib/super-grid/src/search-button.vue.cjs +0 -20
- package/lib/super-grid/src/search-condition-input.vue.cjs +0 -13
- package/lib/super-grid/src/search-condition-list.vue.cjs +0 -17
- package/lib/super-grid/src/search-form-advancedQuery.vue.cjs +0 -106
- package/lib/super-grid/src/search-form-advancedQuery.vue2.cjs +0 -2
- package/lib/super-grid/src/search-form-dialog.vue.cjs +0 -23
- package/lib/super-grid/src/search-form-item.vue.cjs +0 -120
- package/lib/super-grid/src/search-form-item.vue2.cjs +0 -2
- package/lib/super-grid/src/search-form-mobile.vue.cjs +0 -32
- package/lib/super-grid/src/search-form-mobile.vue2.cjs +0 -2
- package/lib/super-grid/src/search-form-number.vue.cjs +0 -21
- package/lib/super-grid/src/search-form-open.vue.cjs +0 -46
- package/lib/super-grid/src/search-form-ordinarySearch.vue.cjs +0 -33
- package/lib/super-grid/src/search-form-ordinarySearch.vue2.cjs +0 -2
- package/lib/super-grid/src/search-form.vue.cjs +0 -194
- package/lib/super-grid/src/search-form.vue2.cjs +0 -2
- package/lib/super-grid/src/search-methods.cjs +0 -163
- package/lib/super-grid/src/selection-column.vue.cjs +0 -9
- package/lib/super-grid/src/store.cjs +0 -3
- package/lib/super-grid/src/super-grid-service.cjs +0 -253
- package/lib/super-grid/src/super-grid.vue.cjs +0 -1083
- package/lib/super-grid/src/super-grid.vue2.cjs +0 -2
- package/lib/super-grid/src/utils.cjs +0 -373
- package/lib/super-grid/src/view-image-dialog.vue.cjs +0 -60
- package/lib/super-icon/index.cjs +0 -5
- package/lib/super-icon/src/index.vue.cjs +0 -5
- package/lib/super-icon/src/index.vue2.cjs +0 -10
- package/lib/super-icon/src/index.vue3.cjs +0 -2
- package/lib/super-nine-grid/index.cjs +0 -5
- package/lib/super-nine-grid/src/apis.cjs +0 -33
- package/lib/super-nine-grid/src/custom-formatter.cjs +0 -33
- package/lib/super-nine-grid/src/formatter.cjs +0 -36
- package/lib/super-nine-grid/src/search-form-number.vue.cjs +0 -9
- package/lib/super-nine-grid/src/search-form.vue.cjs +0 -84
- package/lib/super-nine-grid/src/search-form.vue2.cjs +0 -2
- package/lib/super-nine-grid/src/search-methods.cjs +0 -47
- package/lib/super-nine-grid/src/store.cjs +0 -3
- package/lib/super-nine-grid/src/super-grid-service.cjs +0 -35
- package/lib/super-nine-grid/src/super-nine-grid.vue.cjs +0 -215
- package/lib/super-nine-grid/src/super-nine-grid.vue2.cjs +0 -2
- package/lib/super-nine-grid/src/utils.cjs +0 -36
- package/lib/svg-icon/index.cjs +0 -5
- package/lib/svg-icon/src/svg-icon.vue.cjs +0 -12
- package/lib/svg-icon/src/svg-icon.vue2.cjs +0 -2
- package/lib/utils/gogocodeTransfer.cjs +0 -28
- package/lib/utils/memory-cache-utils.cjs +0 -28
- package/lib/utils/organization.cjs +0 -55
- package/lib/utils/utils.cjs +0 -85
- package/lib/utils/value-set.cjs +0 -92
- package/lib/valid-code/index.cjs +0 -5
- package/lib/valid-code/src/valid-code.vue.cjs +0 -20
- package/lib/valid-code/src/valid-code.vue2.cjs +0 -2
- package/lib/workflow-button/index.cjs +0 -5
- package/lib/workflow-button/src/workflow-button.vue.cjs +0 -80
- package/lib/workflow-history-list/index.cjs +0 -5
- package/lib/workflow-history-list/src/api.cjs +0 -5
- package/lib/workflow-history-list/src/workflow-history-list.vue.cjs +0 -83
- package/lib/workflow-history-list/src/workflow-history-list.vue2.cjs +0 -2
- package/lib/workgroup-tree/index.cjs +0 -5
- package/lib/workgroup-tree/src/workgroup-tree.vue.cjs +0 -17
- package/lib/workgroup-tree-inline/index.cjs +0 -5
- package/lib/workgroup-tree-inline/src/search-result.vue.cjs +0 -35
- package/lib/workgroup-tree-inline/src/search-result.vue2.cjs +0 -2
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.cjs +0 -119
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue2.cjs +0 -2
- package/lib/workgroup-tree-inline/src/workgroup-tree-service.cjs +0 -33
- package/lib/workgroup-tree-mobile/index.cjs +0 -5
- package/lib/workgroup-tree-mobile/src/dept-result.vue.cjs +0 -14
- package/lib/workgroup-tree-mobile/src/dept-result.vue2.cjs +0 -3
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.cjs +0 -13
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue2.cjs +0 -2
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue3.cjs +0 -3
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.cjs +0 -99
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.cjs +0 -3
- package/lib/workgroup-tree-mobile/src/workgroup-tree-service.cjs +0 -25
- package/lib/workgroup-user-tree/index.cjs +0 -5
- package/lib/workgroup-user-tree/src/workgroup-user-tree.vue.cjs +0 -17
- package/lib/workgroup-user-tree-inline/index.cjs +0 -5
- package/lib/workgroup-user-tree-inline/src/search-result.vue.cjs +0 -35
- package/lib/workgroup-user-tree-inline/src/search-result.vue2.cjs +0 -2
- package/lib/workgroup-user-tree-inline/src/workgroup-tree-inline-service.cjs +0 -71
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.cjs +0 -163
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.cjs +0 -2
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue.cjs +0 -13
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue2.cjs +0 -3
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue.cjs +0 -14
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue2.cjs +0 -3
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.cjs +0 -13
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.cjs +0 -2
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.cjs +0 -3
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.cjs +0 -124
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.cjs +0 -3
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-service.cjs +0 -20
- package/lib/year-range-picker/index.cjs +0 -5
- package/lib/year-range-picker/src/year-range-picker.vue.cjs +0 -11
- package/src/api/sso-service.js +0 -222
- package/src/api/tab.js +0 -36
- package/src/assets/401/401.gif +0 -0
- package/src/assets/404/404-cloud.png +0 -0
- package/src/assets/404/404.png +0 -0
- package/src/assets/chat-embed/background.png +0 -0
- package/src/assets/chat-embed/robot.gif +0 -0
- package/src/assets/chat-embed/robot.svg +0 -32
- package/src/assets/cloud.png +0 -0
- package/src/assets/nonemessage.png +0 -0
- package/src/assets/tab-selectWhite.png +0 -0
- package/src/components/Affix/index.vue +0 -272
- package/src/components/Card/index.jsx +0 -227
- package/src/components/Scrollbar/index.vue +0 -224
- package/src/directives/permission/index.js +0 -14
- package/src/directives/permission/permission.js +0 -27
- package/src/i18n/i18n.js +0 -16
- package/src/i18n/langs/cn.js +0 -344
- package/src/i18n/langs/en.js +0 -344
- package/src/index.js +0 -22
- package/src/mixins/resizeMixin.js +0 -49
- package/src/permission.js +0 -252
- package/src/plugins.js +0 -18
- package/src/router/index.js +0 -92
- package/src/store/getters.js +0 -26
- package/src/store/index.js +0 -23
- package/src/store/modules/app.js +0 -96
- package/src/store/modules/chat-ai-store.ts +0 -85
- package/src/store/modules/permission.js +0 -143
- package/src/store/modules/system.js +0 -35
- package/src/store/modules/tab-content.js +0 -42
- package/src/store/modules/table.js +0 -76
- package/src/store/modules/user.js +0 -448
- package/src/utils/auth-api.js +0 -370
- package/src/utils/auth.js +0 -194
- package/src/utils/calculator/calculator-factory-wf.js +0 -465
- package/src/utils/calculator/calculator-factory.js +0 -133
- package/src/utils/calculator/calculator-util.js +0 -184
- package/src/utils/chat-ai-util.ts +0 -41
- package/src/utils/common-util.js +0 -1019
- package/src/utils/dingtalk-util.ts +0 -43
- package/src/utils/eventBus.js +0 -10
- package/src/utils/file-util.ts +0 -42
- package/src/utils/global-prop.ts +0 -44
- package/src/utils/guid.js +0 -13
- package/src/utils/i18n-util.js +0 -145
- package/src/utils/iconUtils.js +0 -37
- package/src/utils/iframe-communicator.js +0 -234
- package/src/utils/index.js +0 -102
- package/src/utils/insert_css.js +0 -47
- package/src/utils/json-util.ts +0 -85
- package/src/utils/jump-page-utils.js +0 -829
- package/src/utils/local-storage.js +0 -33
- package/src/utils/menu.js +0 -19
- package/src/utils/permission.js +0 -126
- package/src/utils/permissionAuth.js +0 -311
- package/src/utils/range-selector.js +0 -204
- package/src/utils/request.js +0 -407
- package/src/utils/resize.js +0 -19
- package/src/utils/restful-interface-utils.js +0 -57
- package/src/utils/util.js +0 -1000
- package/src/utils/validate.js +0 -34
- package/src/utils/voice-setting-cache.js +0 -497
- package/src/utils/watermark-cache.js +0 -13
- package/src/utils/watermark.js +0 -119
- package/src/utils/workflow-util.js +0 -107
- package/src/views/404.vue +0 -248
- package/src/views/dsc-component/Sidebar/Item.vue +0 -95
- package/src/views/dsc-component/Sidebar/Link.vue +0 -38
- package/src/views/dsc-component/Sidebar/SidebarItem.vue +0 -245
- package/src/views/dsc-component/Sidebar/index.vue +0 -258
- package/src/views/dsc-component/tabs/tab-content.vue +0 -230
- package/src/views/error-page/401.vue +0 -106
- package/src/views/error-page/404.vue +0 -248
- package/src/views/layout/EmptyLayout.vue +0 -3
- package/src/views/layout/Layout.vue +0 -85
- package/src/views/layout/NewLayout.vue +0 -18
- package/src/views/layout/components/AppMain.vue +0 -46
- package/src/views/layout/components/Breadcrumb/index.vue +0 -158
- package/src/views/layout/components/Menubar/Item.vue +0 -125
- package/src/views/layout/components/Menubar/Link.vue +0 -38
- package/src/views/layout/components/Menubar/SidebarItem.vue +0 -333
- package/src/views/layout/components/Menubar/index.vue +0 -250
- package/src/views/layout/components/Sidebar/Item.vue +0 -33
- package/src/views/layout/components/Sidebar/Link.vue +0 -38
- package/src/views/layout/components/Sidebar/SidebarItem.vue +0 -179
- package/src/views/layout/components/Sidebar/index.vue +0 -141
- package/src/views/layout/components/iframe-page.vue +0 -38
- package/src/views/layout/components/index.js +0 -4
- package/src/views/layout/components/tabs/tab-content.vue +0 -273
- package/src/views/layout/mixin/ResizeHandler.js +0 -41
- package/src/views/layout/tab-content-iframe-index.vue +0 -38
- package/src/views/layout/tab-content-index.vue +0 -92
- package/src/views/login/authredirect.vue +0 -10
- package/src/views/login/index.vue +0 -296
- package/src/views/login/update-password.vue +0 -246
- package/src/views/redirect/index.vue +0 -14
- package/src/views/super-icon/index.js +0 -6
- package/src/views/super-icon/src/index.vue +0 -52
- package/src/views/svg-icon/index.js +0 -6
- package/src/views/svg-icon/src/svg-icon.vue +0 -43
- package/src/views/wf-history/tache-subprocess-history.vue +0 -45
- package/vite.config.js +0 -103
|
@@ -1,373 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const Vue = require("vue"), auth = require("../../src/utils/auth.cjs"), commonUtil = require("../../src/utils/common-util.cjs"), util = require("../../src/utils/util.cjs"), formatter = require("./formatter.cjs"), store = require("./store.cjs"), calculatorUtil = require("../../src/utils/calculator/calculator-util.cjs");
|
|
4
|
-
function _interopNamespaceDefault(e) {
|
|
5
|
-
const t = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
6
|
-
if (e) {
|
|
7
|
-
for (const o in e)
|
|
8
|
-
if ("default" !== o) {
|
|
9
|
-
const n = Object.getOwnPropertyDescriptor(e, o);
|
|
10
|
-
Object.defineProperty(t, o, n.get ? n : { enumerable: true, get: () => e[o] });
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
return t.default = e, Object.freeze(t);
|
|
14
|
-
}
|
|
15
|
-
const Vue__namespace = _interopNamespaceDefault(Vue);
|
|
16
|
-
function getColumnValues(e, t) {
|
|
17
|
-
const o = [];
|
|
18
|
-
for (const n of e)
|
|
19
|
-
o.push(n[t]);
|
|
20
|
-
return o;
|
|
21
|
-
}
|
|
22
|
-
function getSpanValuesForColumn(e, t, o) {
|
|
23
|
-
const n = [];
|
|
24
|
-
let i = 0;
|
|
25
|
-
for (let a = 0; a < e.length; a++)
|
|
26
|
-
if (0 === a)
|
|
27
|
-
n.push(1), i = 0;
|
|
28
|
-
else if (o && "" !== o) {
|
|
29
|
-
let t2 = "", r = "";
|
|
30
|
-
const s = o.split(",");
|
|
31
|
-
for (let o2 = 0; o2 < s.length; o2++)
|
|
32
|
-
t2 += e[a][s[o2]], r += e[a - 1][s[o2]];
|
|
33
|
-
t2 === r ? (n[i] += 1, n.push(0)) : (n.push(1), i = a);
|
|
34
|
-
} else
|
|
35
|
-
e[a][t] === e[a - 1][t] ? (n[i] += 1, n.push(0)) : (n.push(1), i = a);
|
|
36
|
-
return n;
|
|
37
|
-
}
|
|
38
|
-
function getFirstEditableColumn(e) {
|
|
39
|
-
e || (e = store.get("_list_code"));
|
|
40
|
-
for (const t of store.get(e).columns)
|
|
41
|
-
if (t.editable)
|
|
42
|
-
return t.prop;
|
|
43
|
-
return null;
|
|
44
|
-
}
|
|
45
|
-
const ArrowKeyAction = { getIndex(e) {
|
|
46
|
-
let t = 0;
|
|
47
|
-
for (const o of store.columns) {
|
|
48
|
-
if (o.prop === e)
|
|
49
|
-
return t;
|
|
50
|
-
t++;
|
|
51
|
-
}
|
|
52
|
-
}, getLeftColumn(e) {
|
|
53
|
-
let t = 0;
|
|
54
|
-
for (t = ArrowKeyAction.getIndex(e) - 1; t >= 0; t--)
|
|
55
|
-
return store.columns[t].editable ? store.columns[t].prop : null;
|
|
56
|
-
} };
|
|
57
|
-
function setCurrentRow(e, t) {
|
|
58
|
-
t || (t = store.get("_list_code"));
|
|
59
|
-
const o = store.get(t);
|
|
60
|
-
e < o.gridData.length && (o.isMulitiSelect ? (o.superGrid.clearSelection(), o.superGrid.toggleRowSelection(o.gridData[e], true)) : o.superGrid.setCurrentRow(o.gridData[e]));
|
|
61
|
-
}
|
|
62
|
-
function isObjectValueEqual(e, t) {
|
|
63
|
-
if (!e && !t)
|
|
64
|
-
return true;
|
|
65
|
-
if (e && t) {
|
|
66
|
-
var o = getProps(e), n = getProps(t);
|
|
67
|
-
let r = o;
|
|
68
|
-
r = o.length > n.length ? o : n;
|
|
69
|
-
for (var i = 0; i < r.length; i++) {
|
|
70
|
-
var a = r[i];
|
|
71
|
-
if ("$editing" !== a) {
|
|
72
|
-
if (e[a] !== t[a])
|
|
73
|
-
return false;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
return true;
|
|
77
|
-
}
|
|
78
|
-
return false;
|
|
79
|
-
}
|
|
80
|
-
function getProps(e) {
|
|
81
|
-
const t = [];
|
|
82
|
-
for (var o in e)
|
|
83
|
-
t.push(o);
|
|
84
|
-
return t;
|
|
85
|
-
}
|
|
86
|
-
function isLastEditRowSave(e) {
|
|
87
|
-
e || (e = store.get("_list_code"));
|
|
88
|
-
const t = store.get(e);
|
|
89
|
-
return (void 0 === t.isEditRow || true !== t.isEditRow) && (void 0 === t.$rowIndex || null === t.$rowIndex || (void 0 === t.$lastSaveRowIndex || null === t.$lastSaveRowIndex || t.$rowIndex === t.$lastSaveRowIndex));
|
|
90
|
-
}
|
|
91
|
-
function isCanRefreshGrid(e) {
|
|
92
|
-
e || (e = store.get("_list_code"));
|
|
93
|
-
const t = store.get(e);
|
|
94
|
-
if (void 0 !== t.isEditRow && true === t.isEditRow)
|
|
95
|
-
return false;
|
|
96
|
-
return !!isLastEditRowSave() && (void 0 === t.isCreateRow || true !== t.isCreateRow);
|
|
97
|
-
}
|
|
98
|
-
function getEntityId(e) {
|
|
99
|
-
return e && e.id ? e.id : e && e.ID ? e.ID : void 0;
|
|
100
|
-
}
|
|
101
|
-
function isDisableEdit(e, t, o, n) {
|
|
102
|
-
t || (t = store.get("_list_code"));
|
|
103
|
-
let i = false;
|
|
104
|
-
const a = store.get(t), r = isHasEditOption("disableEditProps", t) ? a.options.lineEditOptions.disableEditProps : null;
|
|
105
|
-
if (r) {
|
|
106
|
-
const t2 = r.split(",");
|
|
107
|
-
t2 && t2.indexOf(e) >= 0 && (i = true);
|
|
108
|
-
}
|
|
109
|
-
const s = getEntityId(o);
|
|
110
|
-
if (false === i && a.options) {
|
|
111
|
-
const t2 = a.options.validateRules;
|
|
112
|
-
if (t2) {
|
|
113
|
-
const o2 = t2.filter((t3) => t3.name && (t3.name === e || "all_fields" === t3.name));
|
|
114
|
-
let n2 = true;
|
|
115
|
-
if (o2 && o2.length > 0) {
|
|
116
|
-
for (let e2 = 0; e2 < o2.length; e2++)
|
|
117
|
-
n2 = void 0 === o2[e2].rowIndexes || null === o2[e2].rowIndexes ? o2[e2].canEdit : !(o2[e2].rowIndexes.indexOf(s) >= 0) || o2[e2].canEdit;
|
|
118
|
-
false === n2 && (i = true);
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
if (false === i) {
|
|
122
|
-
false === isRowCanUpdate(a.options.actionPermission, s) && (i = true);
|
|
123
|
-
}
|
|
124
|
-
if (false === i && a.options.customRules && (a.options.customRules[e] || a.options.customRules._all_fields)) {
|
|
125
|
-
const t3 = a.options.customRules[e] ? a.options.customRules[e] : a.options.customRules._all_fields;
|
|
126
|
-
let o2 = true;
|
|
127
|
-
t3 && t3.disabled && false !== o2 && (i = true);
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
return i;
|
|
131
|
-
}
|
|
132
|
-
function rowBeforeValidate(e, t, o, n) {
|
|
133
|
-
const i = { parent: t.options.extraParam.entityMap, row: o, pageContext: t.options.pageContext, configure: t.options.configureObj, rowIndex: n };
|
|
134
|
-
return e.beforeValidate(i);
|
|
135
|
-
}
|
|
136
|
-
function isRequiredEdit(e, t) {
|
|
137
|
-
const o = e.prop;
|
|
138
|
-
t || (t = store.get("_list_code"));
|
|
139
|
-
let n = false;
|
|
140
|
-
const i = store.get(t);
|
|
141
|
-
if (i && i.options) {
|
|
142
|
-
const t2 = i.options.validateRules;
|
|
143
|
-
if (t2) {
|
|
144
|
-
const e2 = t2.filter((e3) => e3.name && (e3.name === o || "all_fields" === e3.name) && void 0 !== e3.canEdit && true === e3.canEdit);
|
|
145
|
-
e2 && e2.length > 0 && (n = true);
|
|
146
|
-
} else if (e.validations) {
|
|
147
|
-
const t3 = JSON.parse(e.validations).filter((e2) => true === e2.required);
|
|
148
|
-
t3 && t3.length > 0 && (n = true);
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
return n;
|
|
152
|
-
}
|
|
153
|
-
function isRowCanUpdate(e, t) {
|
|
154
|
-
let o = true;
|
|
155
|
-
const n = e;
|
|
156
|
-
return n && void 0 !== n.canUpdate && false === n.canUpdate && void 0 !== t && n.updateRowIndexes && n.updateRowIndexes.indexOf(t) >= 0 && (o = false), o;
|
|
157
|
-
}
|
|
158
|
-
function isHasEditOption(e, t) {
|
|
159
|
-
t || (t = store.get("_list_code"));
|
|
160
|
-
const o = store.get(t);
|
|
161
|
-
return !(!o.options.lineEditOptions || !o.options.lineEditOptions[e]);
|
|
162
|
-
}
|
|
163
|
-
function isEditOptionFunction(e, t) {
|
|
164
|
-
t || (t = store.get("_list_code"));
|
|
165
|
-
const o = store.get(t);
|
|
166
|
-
return !(!o.options.lineEditOptions || "function" != typeof o.options.lineEditOptions[e]);
|
|
167
|
-
}
|
|
168
|
-
function isHasOptionFunction(e, t) {
|
|
169
|
-
t || (t = store.get("_list_code"));
|
|
170
|
-
const o = store.get(t);
|
|
171
|
-
return !(!o.options || "function" != typeof o.options[e]);
|
|
172
|
-
}
|
|
173
|
-
function getGridParams() {
|
|
174
|
-
return Vue__namespace.reactive({ columns: [], gridData: [], orgGridData: [], canSaveRow: true, showValidateError: true, defaultLineEditOptions: { aftersaveIsCreateRow: true, autoSave: true, isSaveByEnter: true, isRestoreByEsc: true, aftersaveIsCancelEditState: true, afterRestoreIsCancelEditState: true, input: function() {
|
|
175
|
-
} }, options: { lineEditOptions: {} } });
|
|
176
|
-
}
|
|
177
|
-
function addDynamicProp(e, t, o) {
|
|
178
|
-
const n = t.split(".");
|
|
179
|
-
if (1 === n.length)
|
|
180
|
-
return void (e[t] = void 0 !== o ? o : null);
|
|
181
|
-
let i = e;
|
|
182
|
-
for (let e2 = 0; e2 < n.length - 1; e2++)
|
|
183
|
-
void 0 === i[n[e2]] && (i[n[e2]] = {}), i = i[n[e2]];
|
|
184
|
-
i[n[n.length - 1]] = void 0 !== o ? o : null;
|
|
185
|
-
}
|
|
186
|
-
function addDynamicPropDateSection(e, t, o) {
|
|
187
|
-
const n = t.split(".");
|
|
188
|
-
if (1 === n.length)
|
|
189
|
-
return void (e[t] = void 0 !== o ? o : [/* @__PURE__ */ new Date(), /* @__PURE__ */ new Date()]);
|
|
190
|
-
let i = e;
|
|
191
|
-
for (let e2 = 0; e2 < n.length - 1; e2++)
|
|
192
|
-
void 0 === i[n[e2]] && (i[n[e2]] = {}), i = i[n[e2]];
|
|
193
|
-
i[n[n.length - 1]] = void 0 !== o ? o : [/* @__PURE__ */ new Date(), /* @__PURE__ */ new Date()];
|
|
194
|
-
}
|
|
195
|
-
function getTableHeight(e, t, o, n) {
|
|
196
|
-
let i;
|
|
197
|
-
e && (i = e.$el.getBoundingClientRect());
|
|
198
|
-
let a = n ? 115 : 85;
|
|
199
|
-
commonUtil.isPlateSys(window.$vueApp.config.globalProperties.systemCode) && (a = 130);
|
|
200
|
-
return window.innerHeight - ((i == null ? void 0 : i.y) ?? 0) - a;
|
|
201
|
-
}
|
|
202
|
-
function getExtraParam(e, t) {
|
|
203
|
-
const o = { searchParam: e };
|
|
204
|
-
if (o.withDataPermission = t.options.isWithDataPermission, o.isWorkflowEntity = t.options.isWorkflowEntity, t.options.extraParam)
|
|
205
|
-
for (const e2 in t.options.extraParam)
|
|
206
|
-
o[e2] = t.options.extraParam[e2];
|
|
207
|
-
return o;
|
|
208
|
-
}
|
|
209
|
-
function analysisFileSetObj(e, t) {
|
|
210
|
-
let o = "", n = "";
|
|
211
|
-
return e && (e.showNameData && (t ? e.showNameData.dbName && (o = e.showNameData.dbName) : e.showNameData.name && (o = e.showNameData.name)), e.serverNameData && (t ? e.serverNameData.dbName && (n = e.serverNameData.dbName) : e.serverNameData.name && (n = e.serverNameData.name))), { showName: o, serverPath: n };
|
|
212
|
-
}
|
|
213
|
-
function otherFilesToStandard(e, t, o, n) {
|
|
214
|
-
const i = [];
|
|
215
|
-
if (o) {
|
|
216
|
-
if (o && o.length > 0)
|
|
217
|
-
for (var a = 0; a < o.length; a++) {
|
|
218
|
-
const e2 = o[a], n2 = packageFile(e2[t.showName], e2[t.serverPath]);
|
|
219
|
-
i.push(n2);
|
|
220
|
-
}
|
|
221
|
-
} else if (n) {
|
|
222
|
-
const e2 = n.showName, t2 = n.serverPath;
|
|
223
|
-
if (e2 && t2) {
|
|
224
|
-
const o2 = e2.split(","), n2 = t2.split(",");
|
|
225
|
-
for (var r = 0; r < o2.length; r++) {
|
|
226
|
-
const e3 = packageFile(o2[r], n2[r]);
|
|
227
|
-
i.push(e3);
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
return i;
|
|
232
|
-
}
|
|
233
|
-
function packageFile(e, t) {
|
|
234
|
-
e && (e = e.replace("#", "~~").replace("?", "~$").replace("&", "$"));
|
|
235
|
-
const o = {};
|
|
236
|
-
o.showName = e, o.serverPath = t, o.showName && /\.(jpg|JPG|jpeg|JPEG|png|PNG|gif|GIF|bmp|BMP|psd|PSD|tif|TIF)$/.test(e) && (o.isImg = true);
|
|
237
|
-
const n = auth.getToken();
|
|
238
|
-
let i = window.$vueApp.config.globalProperties.baseURL + "/common/super-form/downloads?jwt=" + n;
|
|
239
|
-
commonUtil.isPlateSys(window.$vueApp.config.globalProperties.systemCode) && (i = window.$vueApp.config.globalProperties.baseAPI + "/component/super-form/downloads?jwt=" + n);
|
|
240
|
-
const a = i + "&showName=" + encodeURI(o.showName) + "&serverPath=" + o.serverPath;
|
|
241
|
-
return o.src = a, o;
|
|
242
|
-
}
|
|
243
|
-
function getFileList(e, t, o) {
|
|
244
|
-
let n = [];
|
|
245
|
-
if (t.fileSet && "" !== t.fileSet && ("annex" === t.componentType || "multipartUpload" === t.componentType)) {
|
|
246
|
-
const i = JSON.parse(t.fileSet), a = analysisFileSetObj(i, o);
|
|
247
|
-
if (i && i.multiple)
|
|
248
|
-
if (i.childAnnexDataTableCode) {
|
|
249
|
-
n = otherFilesToStandard(i, a, e[t.prop], null);
|
|
250
|
-
} else {
|
|
251
|
-
n = otherFilesToStandard(i, a, null, { showName: util.getEntityFieldValue(e, a.showName), serverPath: util.getEntityFieldValue(e, a.serverPath) });
|
|
252
|
-
}
|
|
253
|
-
else {
|
|
254
|
-
const t2 = util.getEntityFieldValue(e, a.showName), o2 = util.getEntityFieldValue(e, a.serverPath);
|
|
255
|
-
n.push(packageFile(t2, o2));
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
return n;
|
|
259
|
-
}
|
|
260
|
-
function getDynamicDataSourceOptions(e, t, o, n) {
|
|
261
|
-
let i;
|
|
262
|
-
o && (o && "object" == typeof o ? i = JSON.stringify(o) : o && "" !== o && (i = o));
|
|
263
|
-
const a = { isSql: t, additionalParameter: i, backendUrl: n };
|
|
264
|
-
if (e.valueSetOptions) {
|
|
265
|
-
const t2 = JSON.parse(e.valueSetOptions);
|
|
266
|
-
t2 && t2.valueSetOptions && (a.valueSetOptions = t2.valueSetOptions), t2.dynamicDataSourceCode && "" !== t2.dynamicDataSourceCode && (a.dynamicDataSourceCode = t2.dynamicDataSourceCode);
|
|
267
|
-
}
|
|
268
|
-
return a.controlConfig = getControlConfig(e), a;
|
|
269
|
-
}
|
|
270
|
-
function isDynamicDataSourceSource(e) {
|
|
271
|
-
if (e.valueSetOptions) {
|
|
272
|
-
const t = JSON.parse(e.valueSetOptions);
|
|
273
|
-
if (t.type && "dynamicData" === t.type || t.dynamicDataSourceCode)
|
|
274
|
-
return true;
|
|
275
|
-
}
|
|
276
|
-
return !!(e.valueSet && e.valueSet.length > 0 && "dynamicDataSource" === e.valueSet[0].value);
|
|
277
|
-
}
|
|
278
|
-
function getRowIndexPage(e, t) {
|
|
279
|
-
return null == e || 0 === e || null == t || 0 === t ? 1 : Math.ceil(t / e);
|
|
280
|
-
}
|
|
281
|
-
function scrollYToBottom(e) {
|
|
282
|
-
const t = document.querySelector("." + e + " .el-table--scrollable-y .el-table__body-wrapper");
|
|
283
|
-
t && null !== t && (t.scrollTop = t.scrollHeight);
|
|
284
|
-
}
|
|
285
|
-
function getAdditionalParamMap(e) {
|
|
286
|
-
let t = null;
|
|
287
|
-
return e.additionalParamMap && "object" == typeof e.additionalParamMap ? t = e.additionalParamMap : e.additionalParamMap && "" !== e.additionalParamMap && (t = JSON.parse(e.additionalParamMap)), t;
|
|
288
|
-
}
|
|
289
|
-
function getControlConfig(e) {
|
|
290
|
-
let t = {};
|
|
291
|
-
return e && e.controlConfig && (t = JSON.parse(e.controlConfig)), t;
|
|
292
|
-
}
|
|
293
|
-
function getContentAlign(e, t) {
|
|
294
|
-
var _a;
|
|
295
|
-
let o;
|
|
296
|
-
return ((_a = t.options) == null ? void 0 : _a.align) && "" !== t.options.align ? o = t.options.align : e.contAlign && "" !== e.contAlign && (o = e.contAlign), o;
|
|
297
|
-
}
|
|
298
|
-
function getHeaderAlign(e, t) {
|
|
299
|
-
var _a;
|
|
300
|
-
let o;
|
|
301
|
-
return ((_a = t.options) == null ? void 0 : _a.headerAlign) && "" !== t.options.headerAlign ? o = t.options.headerAlign : e.titleAlign && "" !== e.titleAlign && (o = e.titleAlign), o;
|
|
302
|
-
}
|
|
303
|
-
function getHeaderLable(e) {
|
|
304
|
-
let t = e.label;
|
|
305
|
-
return t = t && !e.titleValueSet ? t.replace(/\\n/g, "</br>") : formatHeader(e), null != t && "" !== t || (t = e.prop), t;
|
|
306
|
-
}
|
|
307
|
-
function formatHeader(e) {
|
|
308
|
-
return formatter.doFormatWithValueSet(e.titleValueSetValue, e.label);
|
|
309
|
-
}
|
|
310
|
-
function parseSubTableActionCondition(e, t, o, n) {
|
|
311
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
312
|
-
if (!n)
|
|
313
|
-
return;
|
|
314
|
-
let i = true;
|
|
315
|
-
return n.parentCondition && (i = calculatorUtil.parseSubTablePermissionCondition(n.parentCondition.replaceAll("${field[", "${parent["), (_a = e.pageContext) == null ? void 0 : _a.dataTypeMaps, t, o, e.additionalParamMap, (_c = (_b = e.pageContext) == null ? void 0 : _b.entity) == null ? void 0 : _c.task, ((_d = e.pageContext) == null ? void 0 : _d.contextParam) || e.contextParameter)), false !== i && (!n.condition || calculatorUtil.parseSubTablePermissionCondition(n.condition, e.$dataTypeMap, t, o, e.additionalParamMap, (_f = (_e = e.pageContext) == null ? void 0 : _e.entity) == null ? void 0 : _f.task, ((_g = e.pageContext) == null ? void 0 : _g.contextParam) || e.contextParameter));
|
|
316
|
-
}
|
|
317
|
-
function getClassOptionTitleCommon(e, t) {
|
|
318
|
-
if (null != e && "" !== e && e.length > 0) {
|
|
319
|
-
let o = "";
|
|
320
|
-
return "string" == typeof e ? t == null ? void 0 : t.forEach((t2) => {
|
|
321
|
-
t2.value === e && (o = t2.label);
|
|
322
|
-
}) : (t == null ? void 0 : t.forEach((t2) => {
|
|
323
|
-
e.forEach((e2) => {
|
|
324
|
-
t2.value === e2 && (o = o + t2.label + ",");
|
|
325
|
-
});
|
|
326
|
-
}), o = o.slice(0, o.length - 1)), o;
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
function caculateCondition(e, t, o, n) {
|
|
330
|
-
let i;
|
|
331
|
-
try {
|
|
332
|
-
i = calculatorUtil.executeExpression(e, t, o, n);
|
|
333
|
-
} catch (e2) {
|
|
334
|
-
i = false;
|
|
335
|
-
}
|
|
336
|
-
return i;
|
|
337
|
-
}
|
|
338
|
-
function caculateSearchCondition(searchConditions, row) {
|
|
339
|
-
if (!searchConditions || 0 == searchConditions.length || !row)
|
|
340
|
-
return true;
|
|
341
|
-
let conditions = "";
|
|
342
|
-
const maxLen = searchConditions.length;
|
|
343
|
-
for (let e = 0; e < maxLen; e++) {
|
|
344
|
-
const t = searchConditions[e], o = t.propName;
|
|
345
|
-
let n = t.operator;
|
|
346
|
-
if (!o || "" === o)
|
|
347
|
-
continue;
|
|
348
|
-
n || (n = "EQ");
|
|
349
|
-
const i = util.getEntityFieldValue(row, o, false);
|
|
350
|
-
let a = t.propValue, r = t.startValue, s = t.endValue;
|
|
351
|
-
const l = t.dataType;
|
|
352
|
-
"CONTAIN" != n && "NOT_CONTAIN" != n || i && !i.includes && (n = "CONTAIN" == n ? "EQ" : "NET");
|
|
353
|
-
let c = t.variableIsNull, u;
|
|
354
|
-
if (c || (c = "null"), "IS_NULL" !== n && "IS_NOT_NULL" !== n && (void 0 !== a && "" !== a || (a = null, "null" === c ? n = "IS_NULL" : "notequal" === c ? n = "IS_NOT_NULL" : u = true)), null == u)
|
|
355
|
-
if (void 0 === a && null != r && void 0 !== s && (l && ("DATE" === l || "TIME" === l) || (l && "INTEGER" === l || "LONG" === l || "DOUBLE" === l) && "BETWEEN" === n)) {
|
|
356
|
-
const e2 = "GET", t2 = caculateCondition(i, e2, a, l), o2 = "LET", n2 = caculateCondition(i, o2, a, l);
|
|
357
|
-
u = "(" + t2 + "&&" + n2 + ")";
|
|
358
|
-
} else
|
|
359
|
-
u = caculateCondition(i, n, a, l);
|
|
360
|
-
const d = t.leftBracket, p = t.rightBracket;
|
|
361
|
-
let g = t.joinSign;
|
|
362
|
-
if (d && null !== d && "" !== d && (conditions += d, conditions += " "), conditions += u + " ", p && null !== p && "" !== p && (conditions += p, conditions += " "), e < maxLen - 1 && g && null !== g && "" !== g) {
|
|
363
|
-
const e2 = g.toLowerCase();
|
|
364
|
-
"and" === e2 ? g = e2.replace("and", "&&") : "or" === e2 && (g = e2.replace("or", "||")), conditions += g + " ";
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
|
-
if (conditions) {
|
|
368
|
-
const result = eval("(" + conditions + ")");
|
|
369
|
-
return result;
|
|
370
|
-
}
|
|
371
|
-
return true;
|
|
372
|
-
}
|
|
373
|
-
exports.ArrowKeyAction = ArrowKeyAction, exports.addDynamicProp = addDynamicProp, exports.addDynamicPropDateSection = addDynamicPropDateSection, exports.analysisFileSetObj = analysisFileSetObj, exports.caculateSearchCondition = caculateSearchCondition, exports.getAdditionalParamMap = getAdditionalParamMap, exports.getClassOptionTitleCommon = getClassOptionTitleCommon, exports.getColumnValues = getColumnValues, exports.getContentAlign = getContentAlign, exports.getControlConfig = getControlConfig, exports.getDynamicDataSourceOptions = getDynamicDataSourceOptions, exports.getExtraParam = getExtraParam, exports.getFileList = getFileList, exports.getFirstEditableColumn = getFirstEditableColumn, exports.getGridParams = getGridParams, exports.getHeaderAlign = getHeaderAlign, exports.getHeaderLable = getHeaderLable, exports.getRowIndexPage = getRowIndexPage, exports.getSpanValuesForColumn = getSpanValuesForColumn, exports.getTableHeight = getTableHeight, exports.isCanRefreshGrid = isCanRefreshGrid, exports.isDisableEdit = isDisableEdit, exports.isDynamicDataSourceSource = isDynamicDataSourceSource, exports.isEditOptionFunction = isEditOptionFunction, exports.isHasEditOption = isHasEditOption, exports.isHasOptionFunction = isHasOptionFunction, exports.isLastEditRowSave = isLastEditRowSave, exports.isObjectValueEqual = isObjectValueEqual, exports.isRequiredEdit = isRequiredEdit, exports.otherFilesToStandard = otherFilesToStandard, exports.packageFile = packageFile, exports.parseSubTableActionCondition = parseSubTableActionCondition, exports.rowBeforeValidate = rowBeforeValidate, exports.scrollYToBottom = scrollYToBottom, exports.setCurrentRow = setCurrentRow;
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const e = require("@element-plus/icons-vue"), t = require("../../utils/gogocodeTransfer.cjs"), o = require("vue"), i = require("../../src/utils/common-util.cjs"), s = require("../../src/utils/auth.cjs"), l = require("../../_virtual/_plugin-vue_export-helper.cjs"), r = { components: { ElIconDelete: e.Delete }, name: "ViewImageDialog", props: { fileList: { type: Array, default: function() {
|
|
3
|
-
return [];
|
|
4
|
-
} }, downloadable: { type: Boolean, default: function() {
|
|
5
|
-
return true;
|
|
6
|
-
} }, deleteable: { type: Boolean, default: function() {
|
|
7
|
-
return false;
|
|
8
|
-
} } }, data() {
|
|
9
|
-
s.getToken();
|
|
10
|
-
let e2 = window.$vueApp.config.globalProperties.baseURL;
|
|
11
|
-
return i.isPlateSys(window.$vueApp.config.globalProperties.systemCode) && (e2 = window.$vueApp.config.globalProperties.baseAPI), { showName: null, serverName: null, file: null, baseUrl: e2 };
|
|
12
|
-
}, methods: { changeFile(e2, t2) {
|
|
13
|
-
const o2 = this.fileList[e2];
|
|
14
|
-
this.file = o2, this.showName = o2.showName, this.serverName = o2.serverName;
|
|
15
|
-
}, downloadFile() {
|
|
16
|
-
if (!this.showName) {
|
|
17
|
-
const e3 = this.fileList[0];
|
|
18
|
-
this.showName = e3.showName, this.serverName = e3.serverName;
|
|
19
|
-
}
|
|
20
|
-
const e2 = s.getToken();
|
|
21
|
-
let t2 = window.$vueApp.config.globalProperties.baseURL + "/common/super-form/downloads?jwt=" + e2;
|
|
22
|
-
i.isPlateSys(window.$vueApp.config.globalProperties.systemCode) && (t2 = window.$vueApp.config.globalProperties.baseAPI + "/component/super-form/downloads?jwt=" + e2), window.location.href = t2 + "&showName=" + encodeURI(this.showName) + "&serverPath=" + this.serverName;
|
|
23
|
-
}, preview() {
|
|
24
|
-
if (!this.showName) {
|
|
25
|
-
const e2 = this.fileList[0];
|
|
26
|
-
this.showName = e2.showName, this.serverName = e2.serverName;
|
|
27
|
-
}
|
|
28
|
-
if (window.$vueApp.config.globalProperties.customPreviewUrl)
|
|
29
|
-
window.open(i.getSystemFrontendUrlWith(window.$vueApp.config.globalProperties.portalUrl) + "/#/file-service/preview?serverPath=" + this.serverName + "&showName=" + encodeURI(this.showName), this.showName);
|
|
30
|
-
else {
|
|
31
|
-
const e2 = s.getToken();
|
|
32
|
-
let t2;
|
|
33
|
-
const o2 = this.showName, l2 = this.serverName;
|
|
34
|
-
if (window.$vueApp.config.globalProperties.kkFileViewUrl) {
|
|
35
|
-
const t3 = this.baseUrl + "/common/super-form/downloads?jwt=" + e2 + "&showName=" + encodeURI(o2) + "&serverPath=" + l2 + "&fullfilename=" + o2;
|
|
36
|
-
i.getKkFilePreviewUrl(t3).then((e3) => {
|
|
37
|
-
window.open(e3, o2);
|
|
38
|
-
});
|
|
39
|
-
} else
|
|
40
|
-
t2 = this.baseUrl + "/common/fs-upload/preview?jwt=" + e2, t2 = t2 + "&showName=" + encodeURI(o2) + "&serverPath=" + l2, window.open(t2, o2);
|
|
41
|
-
}
|
|
42
|
-
}, deleteFile() {
|
|
43
|
-
let e2;
|
|
44
|
-
if (this.fileList && this.fileList.length > 0) {
|
|
45
|
-
if (!this.showName) {
|
|
46
|
-
const e3 = this.fileList[0];
|
|
47
|
-
this.showName = e3.showName, this.serverName = e3.serverName;
|
|
48
|
-
}
|
|
49
|
-
const t2 = this.serverName;
|
|
50
|
-
e2 = this.fileList.findIndex(function(e3) {
|
|
51
|
-
return e3.serverName === t2;
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
|
-
t.$emit(this, "delete", this.fileList, e2);
|
|
55
|
-
} }, emits: ["close", "delete"] }, n = { key: 1, style: { "text-align": "center", "margin-top": "50px" } }, a = { style: { "font-size": "18px" } }, c = { style: { "padding-top": "10px" } }, p = { style: { "padding-top": "10px" } };
|
|
56
|
-
const m = l(r, [["render", function(e2, t2, i2, s2, l2, r2) {
|
|
57
|
-
const m2 = o.resolveComponent("el-icon-delete"), d = o.resolveComponent("el-icon"), w = o.resolveComponent("el-image"), h = o.resolveComponent("el-button"), u = o.resolveComponent("el-carousel-item"), v = o.resolveComponent("el-carousel"), f = o.resolveComponent("el-dialog");
|
|
58
|
-
return o.openBlock(), o.createBlock(f, { "append-to-body": true, "model-value": true, "show-close": true, title: e2.$t("imatrixUIPublicModel.preview"), onClose: t2[2] || (t2[2] = (t3) => e2.$emit("close")) }, { title: o.withCtx(() => [o.createElementVNode("span", null, [o.createTextVNode(o.toDisplayString(e2.$t("imatrixUIPublicModel.preview")) + " ", 1), i2.deleteable ? (o.openBlock(), o.createBlock(d, { key: 0, class: "el-icon-delete", style: { "padding-left": "5px", cursor: "pointer", color: "#f56c6c" }, onClick: t2[0] || (t2[0] = (e3) => r2.deleteFile()) }, { default: o.withCtx(() => [o.createVNode(m2)]), _: 1 })) : o.createCommentVNode("", true)])]), default: o.withCtx(() => [o.createVNode(v, { interval: 5e3, arrow: "always", onChange: r2.changeFile }, { default: o.withCtx(() => [(o.openBlock(true), o.createElementBlock(o.Fragment, null, o.renderList(i2.fileList, (i3) => (o.openBlock(), o.createBlock(u, { key: i3.serverName, style: { "background-color": "#eee" } }, { default: o.withCtx(() => [i3.isImg ? (o.openBlock(), o.createBlock(w, { key: 0, "preview-src-list": [i3.src], src: i3.src }, null, 8, ["preview-src-list", "src"])) : (o.openBlock(), o.createElementBlock("div", n, [o.createElementVNode("div", a, o.toDisplayString(i3.showName), 1), o.createElementVNode("div", c, o.toDisplayString(e2.$t("superGrid.previewTitleWhenNotImg")), 1), o.createElementVNode("div", p, [o.createVNode(h, { size: "default", type: "primary", onClick: t2[1] || (t2[1] = (e3) => r2.preview()) }, { default: o.withCtx(() => [o.createTextVNode(o.toDisplayString(e2.$t("fsUpload.preview")), 1)]), _: 1 })])]))]), _: 2 }, 1024))), 128))]), _: 1 }, 8, ["onChange"])]), _: 1 }, 8, ["title"]);
|
|
59
|
-
}]]);
|
|
60
|
-
module.exports = m;
|
package/lib/super-icon/index.cjs
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const e = require("vue"), o = require("../../svg-icon/src/svg-icon.vue.cjs"), n = ["src"], l = ["src"], c = e.defineComponent({ name: "SuperIcon", props: { iconType: { type: String, default: "custom" }, iconValue: { type: String, required: true, default: "" } }, setup(c2) {
|
|
3
|
-
e.ref(window.$vueApp.config.globalProperties.baseAPI + "/component/super-form/show-image?serverPath=");
|
|
4
|
-
const i = e.ref(window.$vueApp.config.globalProperties.baseAPI + "/component/super-form/show-svg?svgName=");
|
|
5
|
-
return (a, s) => {
|
|
6
|
-
const t = e.resolveComponent("el-icon");
|
|
7
|
-
return 0 === c2.iconValue.indexOf("amb-icon-") ? (e.openBlock(), e.createElementBlock("i", { key: 0, class: e.normalizeClass(["amb-iconfont", c2.iconValue]) }, null, 2)) : 0 === c2.iconValue.indexOf("amb-color-icon-") ? (e.openBlock(), e.createElementBlock("i", { key: 1, class: e.normalizeClass(["amb-color-iconfont super-icon", c2.iconValue]) }, null, 2)) : 0 === c2.iconValue.indexOf("fa-") ? (e.openBlock(), e.createElementBlock("i", { key: 2, class: e.normalizeClass("fa " + c2.iconValue) }, null, 2)) : 0 === c2.iconValue.indexOf("svg-img-") ? (e.openBlock(), e.createElementBlock("img", { key: 3, src: i.value + c2.iconValue, style: { width: "1em", height: "1em" } }, null, 8, n)) : 0 === c2.iconValue.indexOf("svg-") ? (e.openBlock(), e.createBlock(o, { key: 4, "icon-class": c2.iconValue.substring(4) }, null, 8, ["icon-class"])) : 0 === c2.iconValue.indexOf("http") || 0 === c2.iconValue.indexOf("//") || 0 === c2.iconValue.indexOf("data:") ? (e.openBlock(), e.createElementBlock("img", { key: 5, src: c2.iconValue, style: { width: "1em", height: "1em" } }, null, 8, l)) : (e.openBlock(), e.createBlock(t, { key: 6 }, { default: e.withCtx(() => [(e.openBlock(), e.createBlock(e.resolveDynamicComponent(c2.iconValue)))]), _: 1 }));
|
|
8
|
-
};
|
|
9
|
-
} });
|
|
10
|
-
module.exports = c;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const e = require("../../utils/gogocodeTransfer.cjs"), t = require("./store.cjs"), s = { refresh() {
|
|
3
|
-
return new Promise((e2, t2) => {
|
|
4
|
-
this.$refs ? this.$refs.sf ? this.search(this.$refs.sf.searchParams, true).then(() => e2()).catch((e3) => t2(e3)) : this.search(null, true).then(() => e2()).catch((e3) => t2(e3)) : e2();
|
|
5
|
-
});
|
|
6
|
-
}, showSearchForm() {
|
|
7
|
-
this.showSearch = true, e.$emit(this, "showSearch");
|
|
8
|
-
}, cancelSearch() {
|
|
9
|
-
this.showSearch = false, e.$emit(this, "cancelSearch");
|
|
10
|
-
}, getSearchForm() {
|
|
11
|
-
const e2 = t.get(this.storeId);
|
|
12
|
-
return e2.searchForm ? e2.searchForm : [];
|
|
13
|
-
}, getGridData(e2) {
|
|
14
|
-
e2 || (e2 = t.get("_nine_list_code")), e2 && e2.indexOf("~") < 0 && (e2 += "~_nineGrid");
|
|
15
|
-
return t.get(e2).gridData;
|
|
16
|
-
}, getColumns(e2) {
|
|
17
|
-
e2 || (e2 = t.get("_nine_list_code")), e2 && e2.indexOf("~") < 0 && (e2 += "~_nineGrid");
|
|
18
|
-
return t.get(e2).columns;
|
|
19
|
-
}, getPagination(e2) {
|
|
20
|
-
e2 || (e2 = t.get("_nine_list_code")), e2 && e2.indexOf("~") < 0 && (e2 += "~_nineGrid");
|
|
21
|
-
return t.get(e2).pagination;
|
|
22
|
-
}, getSelections() {
|
|
23
|
-
return this.selections;
|
|
24
|
-
}, getSelectionIds() {
|
|
25
|
-
return this.selectionIds;
|
|
26
|
-
}, clearSelections() {
|
|
27
|
-
this.selections = [], this.selectionIds = [], this.selectionModels = {}, this.currentId = null;
|
|
28
|
-
}, getSelection() {
|
|
29
|
-
return this.selections && this.selections.length > 0 ? this.selections[0] : null;
|
|
30
|
-
}, getSelectionId() {
|
|
31
|
-
return this.selectionIds && this.selectionIds.length > 0 ? this.selectionIds[0] : null;
|
|
32
|
-
} };
|
|
33
|
-
module.exports = s;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const t = require("./formatter.cjs"), r = { isObjectProp: (t2) => t2.indexOf(".") > 0, objectPropOriginalValue(t2, r2) {
|
|
3
|
-
try {
|
|
4
|
-
let o = t2;
|
|
5
|
-
return r2.split(".").forEach((t3) => {
|
|
6
|
-
if (!o)
|
|
7
|
-
throw o = "", o;
|
|
8
|
-
o = o[t3];
|
|
9
|
-
}), o;
|
|
10
|
-
} catch (t3) {
|
|
11
|
-
return "";
|
|
12
|
-
}
|
|
13
|
-
}, objectPropValue(r2, o, e) {
|
|
14
|
-
return t.doFormat(o, this.objectPropOriginalValue(r2, e));
|
|
15
|
-
}, getColumnValue(r2, o) {
|
|
16
|
-
const e = o.prop;
|
|
17
|
-
let i = r2[e];
|
|
18
|
-
this.isObjectProp(e) && (i = this.objectPropOriginalValue(r2, e));
|
|
19
|
-
return { originalValue: i, formatValue: t.doFormat(o, i) };
|
|
20
|
-
}, onClickFun(t2, r2, o, e) {
|
|
21
|
-
const i = this.getColumnValue(t2, r2);
|
|
22
|
-
o.call(this, i.originalValue, i.formatValue, t2, r2, e);
|
|
23
|
-
}, isShowButtonFun(t2, r2) {
|
|
24
|
-
const o = r2.isShow;
|
|
25
|
-
if (void 0 === o)
|
|
26
|
-
return true;
|
|
27
|
-
if ("function" == typeof o) {
|
|
28
|
-
let e = o.call(this, t2, r2);
|
|
29
|
-
return void 0 === e && (e = true), e;
|
|
30
|
-
}
|
|
31
|
-
return o;
|
|
32
|
-
} };
|
|
33
|
-
module.exports = r;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const e = { number: function(e2, t) {
|
|
4
|
-
const r = t.precision, n = t.delimiter, o = t.scientific;
|
|
5
|
-
let i = t.scientificNum;
|
|
6
|
-
if (null != e2 && (r > 0 && (e2 = (e2 = parseFloat(e2)).toFixed(r)), n && (e2 = e2.replace(/\d{1,3}(?=(\d{3})+(\.\d*)?$)/g, "$&,")), null != o)) {
|
|
7
|
-
let t2 = false;
|
|
8
|
-
i = i ? parseInt(i) : 11, e2.length >= i && (t2 = true), t2 && (e2 = "" + e2, e2 = (e2 = parseFloat(e2)).toExponential());
|
|
9
|
-
}
|
|
10
|
-
return e2;
|
|
11
|
-
}, currency: function(e2, t) {
|
|
12
|
-
return t.sign + this.number(e2, t);
|
|
13
|
-
}, date: function(e2, t) {
|
|
14
|
-
const r = t.format;
|
|
15
|
-
if (null != e2) {
|
|
16
|
-
const t2 = new Date(e2);
|
|
17
|
-
var n = t2.getFullYear(), o = t2.getMonth() + 1, i = t2.getDate(), a = t2.getHours(), l = t2.getMinutes(), u = t2.getSeconds();
|
|
18
|
-
return o < 10 && (o = "0" + o), i < 10 && (i = "0" + i), a < 10 && (a = "0" + a), l < 10 && (l = "0" + l), u < 10 && (u = "0" + u), r.replace("yyyy", n).replace("m", o).replace("d", i).replace("hh", a).replace("mm", l).replace("ss", u);
|
|
19
|
-
}
|
|
20
|
-
return e2;
|
|
21
|
-
}, time: function(e2, t) {
|
|
22
|
-
return this.date(e2, t);
|
|
23
|
-
}, percent: function(e2, t) {
|
|
24
|
-
return this.number(e2, t) + "%";
|
|
25
|
-
} };
|
|
26
|
-
exports.doFormat = function(t, r) {
|
|
27
|
-
if (void 0 === r || void 0 === t)
|
|
28
|
-
return r;
|
|
29
|
-
if (void 0 !== t.valueSet) {
|
|
30
|
-
const e2 = t.valueSet.filter((e3) => e3.value === r + "");
|
|
31
|
-
e2.length > 0 && (r = e2[0].label);
|
|
32
|
-
}
|
|
33
|
-
void 0 === t.formatter && ("DATE" === t.dataType ? t.formatter = { type: "date", options: { format: "yyyy-m-d" } } : "TIME" === t.dataType && (t.formatter = { type: "time", options: { format: "yyyy-m-d hh:mm:ss" } }));
|
|
34
|
-
const n = t.formatter;
|
|
35
|
-
return void 0 !== n && void 0 !== e[n.type] ? e[n.type](r, n.options) : r;
|
|
36
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const e = require("../../utils/gogocodeTransfer.cjs"), l = require("vue");
|
|
3
|
-
const u = require("../../_virtual/_plugin-vue_export-helper.cjs")({ props: { r: { type: Number, default: null }, n: { type: Number, default: null } }, data: () => ({ number1: null, number2: null }), methods: { setValue() {
|
|
4
|
-
e.$emit(this, "setValue", [this.number1, this.number2], this.r, this.n);
|
|
5
|
-
} }, emits: ["setValue"] }, [["render", function(e2, u2, n, t, r, o) {
|
|
6
|
-
const a = l.resolveComponent("el-input-number");
|
|
7
|
-
return l.openBlock(), l.createElementBlock("div", null, [l.createVNode(a, { modelValue: r.number1, "onUpdate:modelValue": u2[0] || (u2[0] = (e3) => r.number1 = e3), onChange: u2[1] || (u2[1] = (e3) => o.setValue()) }, null, 8, ["modelValue"]), u2[4] || (u2[4] = l.createElementVNode("span", null, "---", -1)), l.createVNode(a, { modelValue: r.number2, "onUpdate:modelValue": u2[2] || (u2[2] = (e3) => r.number2 = e3), onChange: u2[3] || (u2[3] = (e3) => o.setValue()) }, null, 8, ["modelValue"])]);
|
|
8
|
-
}]]);
|
|
9
|
-
module.exports = u;
|