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,256 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }), require("vue");
|
|
3
|
-
const e = require("./util.cjs"), t = require("./common-util.cjs");
|
|
4
|
-
function n(e2, t3, n2, s2, p2, d2, r, l) {
|
|
5
|
-
return new Promise((u, g) => {
|
|
6
|
-
e2 && "string" == typeof e2 && "" !== e2 && (e2 = JSON.parse(e2)), e2.jumpPageUrl || u(), function(e3, t4, n3, i2) {
|
|
7
|
-
return new Promise((a2, s3) => {
|
|
8
|
-
if (o(t4))
|
|
9
|
-
a2(null);
|
|
10
|
-
else if (!e3 || null === e3 || i2.jumpSystemCode && i2.jumpSystemCode !== e3.code)
|
|
11
|
-
if (0 === t4.indexOf("page:")) {
|
|
12
|
-
const e4 = t4.substring(t4.indexOf("page:") + 5), i3 = window.$vueApp.config.globalProperties.baseAPI + "/component/business-systems/with-page-codes/" + e4 + "?isNewPage=" + n3;
|
|
13
|
-
window.$vueApp.config.globalProperties.$http.get(i3).then((e5) => {
|
|
14
|
-
a2(e5);
|
|
15
|
-
}).catch((e5) => {
|
|
16
|
-
s3(e5);
|
|
17
|
-
});
|
|
18
|
-
} else {
|
|
19
|
-
let e4 = window.$vueApp.config.globalProperties.customSystem;
|
|
20
|
-
e4 || (e4 = window.$vueApp.config.globalProperties.systemCode);
|
|
21
|
-
const t5 = window.$vueApp.config.globalProperties.baseAPI + "/component/business-systems/" + e4;
|
|
22
|
-
window.$vueApp.config.globalProperties.$http.get(t5).then((e5) => {
|
|
23
|
-
a2(e5);
|
|
24
|
-
}).catch((e5) => {
|
|
25
|
-
s3(e5);
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
else
|
|
29
|
-
a2(e3);
|
|
30
|
-
});
|
|
31
|
-
}(t3, e2.jumpPageUrl, e2.isNewPage, e2).then((t4) => {
|
|
32
|
-
if (e2.jumpPageAdditional && e2.jumpPageAdditional.length > 0 || e2.jumpPageTitle && e2.jumpPageTitle.indexOf("${") >= 0) {
|
|
33
|
-
const o2 = window.$vueApp.config.globalProperties.baseAPI + "/component/super-pages/parsing-additional-parameters", g2 = {};
|
|
34
|
-
g2.jumpPageAdditional = JSON.stringify(e2.jumpPageAdditional), g2.jumpPageTitle = e2.jumpPageTitle, g2.entity = s2;
|
|
35
|
-
let m = e2._pageData;
|
|
36
|
-
m || (m = {}), p2 || (p2 = {}), Object.assign(p2, m), g2.additionalParamMap = p2, g2.parentFormData = l;
|
|
37
|
-
const c = function(e3) {
|
|
38
|
-
if (e3 && e3.length > 0)
|
|
39
|
-
for (let t5 = 0; t5 < e3.length; t5++) {
|
|
40
|
-
const n3 = e3[t5];
|
|
41
|
-
if (n3.paramName && ("id" === n3.paramName || "ID" === n3.paramName))
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
}(e2.jumpPageAdditional);
|
|
45
|
-
window.$vueApp.config.globalProperties.$http.post(o2, g2).then((o3) => {
|
|
46
|
-
i(e2, o3), a(e2, t4, n2, d2, r, c).then((e3) => {
|
|
47
|
-
u(e3);
|
|
48
|
-
});
|
|
49
|
-
});
|
|
50
|
-
} else
|
|
51
|
-
i(e2), a(e2, t4, n2, d2, r, false).then((e3) => {
|
|
52
|
-
u(e3);
|
|
53
|
-
});
|
|
54
|
-
}).catch((e3) => {
|
|
55
|
-
g(e3);
|
|
56
|
-
});
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
function i(e2, n2) {
|
|
60
|
-
let i2 = e2._pageData;
|
|
61
|
-
i2 || (i2 = {}), n2 || (n2 = {}), e2._pageData && Object.keys(e2._pageData).length > 0 && (n2.uuid || (n2.uuid = t.getUuidv4()), i2 = e2._pageData), n2.paramMap || (n2.paramMap = {});
|
|
62
|
-
const o2 = { ...i2, ...n2.paramMap };
|
|
63
|
-
let a2 = "";
|
|
64
|
-
n2 && n2.uuid && (a2 = n2.uuid + "_additionalParamMap", window.sessionStorage.setItem(a2, JSON.stringify(o2))), e2.paramStoreId = a2, n2 && n2.jumpPageTitle && (e2.jumpPageTitle = n2.jumpPageTitle);
|
|
65
|
-
}
|
|
66
|
-
function o(e2) {
|
|
67
|
-
return 0 === e2.indexOf("http:") || 0 === e2.indexOf("https:");
|
|
68
|
-
}
|
|
69
|
-
function a(e2, n2, i2, a2, r, l) {
|
|
70
|
-
return new Promise((u, g) => {
|
|
71
|
-
const m = e2.jumpPageUrl;
|
|
72
|
-
if (!m)
|
|
73
|
-
return;
|
|
74
|
-
const c = t.isMobileBrowser();
|
|
75
|
-
if (0 === m.indexOf("page:"))
|
|
76
|
-
(function(e3, t3, n3, i3, o2, a3, s2, d2) {
|
|
77
|
-
return new Promise((r2, l2) => {
|
|
78
|
-
const u2 = function(e4) {
|
|
79
|
-
let t4;
|
|
80
|
-
e4 && -1 !== e4.indexOf("page:") && (t4 = e4.substring(e4.indexOf("page:") + 5));
|
|
81
|
-
return t4;
|
|
82
|
-
}(e3);
|
|
83
|
-
let g2;
|
|
84
|
-
!function(e4, t4) {
|
|
85
|
-
if (e4 && t4) {
|
|
86
|
-
let t5 = e4.jumpPageMobileOpenMode;
|
|
87
|
-
t5 || (e4.jumpPageOpenMode ? (t5 = e4.jumpPageOpenMode, "newTab" === t5 && (t5 = "refresh")) : t5 = "refresh"), "refresh" === t5 && (e4.dialogType = "drawer", e4.jumpPageWidth = "100%", e4.isRefreshWhenClosePopup = true), e4.jumpPageMobileOpenMode = t5;
|
|
88
|
-
}
|
|
89
|
-
}(i3, d2), d2 && i3 && i3.jumpPageMobileOpenMode && (g2 = i3.jumpPageMobileOpenMode), !g2 && i3 && (g2 = i3.jumpPageOpenMode), g2 || (g2 = "refresh");
|
|
90
|
-
const m2 = { jumpMode: g2 };
|
|
91
|
-
if (window.sessionStorage.setItem(u2 + "-jumpMode", JSON.stringify(m2)), "popup" === g2) {
|
|
92
|
-
const e4 = p(t3, u2, n3, i3, g2, o2, a3, s2), d3 = function(e5, t4, n4, i4, o3, a4, s3) {
|
|
93
|
-
const p2 = {};
|
|
94
|
-
e5 && (p2.jumpPageTitle = e5.jumpPageTitle, p2.jumpPageWidth = e5.jumpPageWidth, p2.jumpPageHeight = e5.jumpPageHeight, p2.valueMappings = e5.valueMappings, p2.updateValueEvent = e5.updateValueEvent, p2.closeEvent = e5.closeEvent, p2.isRefreshWhenClosePopup = e5.isRefreshWhenClosePopup);
|
|
95
|
-
let d4 = false;
|
|
96
|
-
void 0 !== t4.standard && (d4 = !t4.standard);
|
|
97
|
-
p2.pageCode = n4, (void 0 === e5.isNeedId || null === e5.isNeedId || true === e5.isNeedId) && i4 && (p2.dataId = i4);
|
|
98
|
-
return p2.isDsc = d4, p2.paramStoreId = e5.paramStoreId, p2.jumpMode = o3, p2.ids = a4, p2.buttonCode = s3, p2;
|
|
99
|
-
}(i3, t3, u2, n3, g2, o2, a3);
|
|
100
|
-
d3 && void 0 !== i3.isRefreshWhenClosePopup && null !== i3.isRefreshWhenClosePopup && (d3.isRefreshWhenClosePopup = i3.isRefreshWhenClosePopup), d3._path = e4, d3.customSystem = t3.code, r2(d3);
|
|
101
|
-
} else if ("newTab" === g2) {
|
|
102
|
-
const e4 = p(t3, u2, n3, i3, g2, o2, a3, s2) + "&_t_=" + (/* @__PURE__ */ new Date()).getTime(), l3 = { _path: e4, pageCode: u2, customSystem: t3.code, jumpMode: g2 };
|
|
103
|
-
d2 || window.open(e4), r2(l3);
|
|
104
|
-
} else {
|
|
105
|
-
const e4 = { pageCode: u2, customSystem: t3.code, jumpMode: g2, buttonCode: a3, ids: o2 ? o2.join(",") : "" };
|
|
106
|
-
void 0 !== i3.isNeedId && null !== i3.isNeedId && true !== i3.isNeedId || !s2 && n3 && (e4.id = n3);
|
|
107
|
-
const d3 = i3.paramStoreId;
|
|
108
|
-
d3 && "" !== d3 && (e4.paramStoreId = d3);
|
|
109
|
-
const l3 = p(t3, u2, n3, i3, g2, o2, a3, s2);
|
|
110
|
-
e4._path = l3, r2(e4);
|
|
111
|
-
}
|
|
112
|
-
});
|
|
113
|
-
})(m, n2, i2, e2, a2, r, l, c).then((e3) => {
|
|
114
|
-
u(e3);
|
|
115
|
-
});
|
|
116
|
-
else {
|
|
117
|
-
const p2 = (f = e2.paramStoreId, function(e3) {
|
|
118
|
-
let t3 = "";
|
|
119
|
-
if (e3) {
|
|
120
|
-
const n3 = JSON.parse(e3), i3 = Object.keys(n3);
|
|
121
|
-
for (let e4 = 0; e4 < i3.length; e4++)
|
|
122
|
-
"" !== t3 && (t3 += "&"), t3 += i3[e4], t3 += "=", t3 += n3[i3[e4]];
|
|
123
|
-
}
|
|
124
|
-
return t3;
|
|
125
|
-
}(window.sessionStorage.getItem(f)));
|
|
126
|
-
let g2 = m;
|
|
127
|
-
if (m.indexOf("path:") >= 0 && (g2 = m.substring(m.indexOf("path:") + 5)), o(g2))
|
|
128
|
-
;
|
|
129
|
-
else if (n2) {
|
|
130
|
-
g2 = t.getSystemFrontendUrl(n2.frontendUrl) + "/#" + g2;
|
|
131
|
-
}
|
|
132
|
-
const h = d(n2), P = function(e3, t3, n3, i3, o2, a3, p3, d2, r2) {
|
|
133
|
-
if (t3 = s(e3, t3, i3, o2, a3, p3), n3 && "" !== n3) {
|
|
134
|
-
let e4 = "";
|
|
135
|
-
d2 && (e4 = "&_systemName_=" + encodeURI(d2)), -1 !== t3.indexOf("?") ? (t3 += "&", t3 += n3 + e4) : (t3 += "?", t3 += n3 + e4);
|
|
136
|
-
}
|
|
137
|
-
if (r2)
|
|
138
|
-
return t3;
|
|
139
|
-
let l2 = "refresh";
|
|
140
|
-
i3 && i3.jumpPageOpenMode && (l2 = i3.jumpPageOpenMode);
|
|
141
|
-
if ("popup" === l2) {
|
|
142
|
-
let e4, n4;
|
|
143
|
-
e4 = i3.jumpPageWidth ? i3.jumpPageWidth : window.innerWidth - 150, n4 = i3.jumpPageHeight ? i3.jumpPageHeight : window.innerHeight - 150;
|
|
144
|
-
const o3 = "height=" + n4 + ", width=" + e4 + ", top=0, left=0, toolbar=no, menubar=no,scrollbars=no,resizable=no, location=no, status=no";
|
|
145
|
-
window.open(t3, "newW", o3);
|
|
146
|
-
} else
|
|
147
|
-
"newTab" === l2 ? window.open(t3) : location.href = t3;
|
|
148
|
-
}(i2, g2, p2, e2, a2, r, l, h, c);
|
|
149
|
-
P && (e2._path = P), u(e2);
|
|
150
|
-
}
|
|
151
|
-
var f;
|
|
152
|
-
});
|
|
153
|
-
}
|
|
154
|
-
function s(e2, t3, n2, i2, o2, a2) {
|
|
155
|
-
if ((void 0 === n2.isNeedId || null === n2.isNeedId || true === n2.isNeedId) && !a2 && e2) {
|
|
156
|
-
let n3 = "?";
|
|
157
|
-
t3.indexOf("?") > 0 && (n3 = "&"), t3 = t3 + n3 + "id=" + e2;
|
|
158
|
-
}
|
|
159
|
-
const s2 = n2.paramStoreId;
|
|
160
|
-
if (s2 && "" !== s2) {
|
|
161
|
-
const e3 = "paramStoreId=" + s2;
|
|
162
|
-
-1 !== t3.indexOf("?") ? (t3 += "&", t3 += e3) : (t3 += "?", t3 += e3);
|
|
163
|
-
}
|
|
164
|
-
if (i2 && i2.length > 0) {
|
|
165
|
-
const e3 = i2.join(","), n3 = "ids=" + e3 + "&_idsStr=" + e3;
|
|
166
|
-
-1 !== t3.indexOf("?") ? (t3 += "&", t3 += n3) : (t3 += "?", t3 += n3);
|
|
167
|
-
}
|
|
168
|
-
if (o2 && (-1 !== t3.indexOf("?") ? t3 += "&buttonCode=" + o2 : t3 += "?buttonCode=" + o2), void 0 !== n2.isNewPage && true === n2.isNewPage) {
|
|
169
|
-
let e3 = "";
|
|
170
|
-
e3 = -1 !== t3.indexOf("?") ? "&" : "?", t3 = t3 + e3 + "isNewPage=true";
|
|
171
|
-
}
|
|
172
|
-
return t3;
|
|
173
|
-
}
|
|
174
|
-
function p(e2, n2, i2, o2, a2, p2, r, l) {
|
|
175
|
-
let u = t.getSystemFrontendUrl(e2.frontendUrl) + "/#/dsc-full-screen/page?customSystem=" + e2.code + "&pageCode=" + n2 + "&jumpMode=" + a2;
|
|
176
|
-
const g = d(e2);
|
|
177
|
-
return g && (u += "&_systemName_=" + encodeURI(g)), s(i2, u, o2, p2, r, l);
|
|
178
|
-
}
|
|
179
|
-
function d(e2) {
|
|
180
|
-
if (e2) {
|
|
181
|
-
let t3 = "cn";
|
|
182
|
-
return window.$locale && (t3 = window.$locale), "cn" === t3 ? e2.name : e2.enName;
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
exports.initialization = function t2(n2, i2, o2, a2, s2, p2, d2, r) {
|
|
186
|
-
const l = {};
|
|
187
|
-
if (n2) {
|
|
188
|
-
l.visible = true;
|
|
189
|
-
let u = {};
|
|
190
|
-
a2 && "string" == typeof a2 && "" !== a2 ? u = JSON.parse(a2) : a2 && "object" == typeof a2 && (u = a2);
|
|
191
|
-
let g = {};
|
|
192
|
-
if (s2 && "string" == typeof s2 && "" !== s2 ? g = JSON.parse(s2) : s2 && "object" == typeof s2 && (g = s2), Array.isArray(n2)) {
|
|
193
|
-
for (let l2 = 0; l2 < n2.length; l2++) {
|
|
194
|
-
let m = false;
|
|
195
|
-
const c = n2[l2];
|
|
196
|
-
if ("none" === c.jumpConditionType)
|
|
197
|
-
m = true;
|
|
198
|
-
else if ("config" === c.jumpConditionType)
|
|
199
|
-
if (c.conditions && c.conditions.length > 0) {
|
|
200
|
-
m = !!e.analysisCondition(JSON.stringify(c.conditions), i2, u, g, o2, p2, d2, r.pageContext);
|
|
201
|
-
} else
|
|
202
|
-
m = true;
|
|
203
|
-
else if ("customFunc" === c.jumpConditionType) {
|
|
204
|
-
const e2 = { row: i2, additionalParamMap: r.additionalParamMap };
|
|
205
|
-
m = !!r.options.eventCallBack[c.customFunc].call(this, e2);
|
|
206
|
-
}
|
|
207
|
-
if (m) {
|
|
208
|
-
const e2 = t2(c.jumpPageSetting, i2, o2, a2, s2, p2, d2, r);
|
|
209
|
-
if (e2 && e2.visible) {
|
|
210
|
-
const t3 = { ...e2 };
|
|
211
|
-
return t3.jumpPageSetting = JSON.stringify(c.jumpPageSetting), t3.jumpPageItem = c, t3;
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
return { visible: false };
|
|
216
|
-
}
|
|
217
|
-
if (l.displayTextJudge = n2.displayTextJudge, n2.displayTextJudge) {
|
|
218
|
-
const t3 = e.analysisValue(n2.displayText, i2, u, g, r.pageContext);
|
|
219
|
-
l.label = t3;
|
|
220
|
-
}
|
|
221
|
-
if (n2.icon && (l.icon = n2.icon), n2.linkTips && (l.title = n2.linkTips), n2.buttonDisplayConditionsList) {
|
|
222
|
-
let t3 = "";
|
|
223
|
-
if (n2.buttonDisplayConditionsList && (t3 = JSON.stringify(n2.buttonDisplayConditionsList)), t3 && "" !== t3) {
|
|
224
|
-
const n3 = e.analysisCondition(t3, i2, u, g, o2, p2, d2, r.pageContext);
|
|
225
|
-
l.visible = n3;
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
return l;
|
|
230
|
-
}, exports.jumpToPage = n, exports.openPage = function(e2) {
|
|
231
|
-
if (e2) {
|
|
232
|
-
const t3 = e2.jumpPageSetting, i2 = e2.system, o2 = e2.dataId, a2 = e2.ids, s2 = e2.buttonCode, p2 = e2.additionalParamMap;
|
|
233
|
-
n(t3, i2, o2, e2.entity, p2, a2, s2, e2.parentFormData).then((e3) => {
|
|
234
|
-
let t4;
|
|
235
|
-
if (e3 && (t4 = e3.jumpMode), e3) {
|
|
236
|
-
const n2 = e3._path;
|
|
237
|
-
if ("popup" === t4) {
|
|
238
|
-
let t5, i3;
|
|
239
|
-
t5 = e3.jumpPageWidth ? e3.jumpPageWidth : window.innerWidth - 150, i3 = e3.jumpPageHeight ? e3.jumpPageHeight : window.innerHeight - 150, window.open(n2, "", "height=" + i3 + ",width=" + t5 + ",top=100,left=100,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no");
|
|
240
|
-
} else
|
|
241
|
-
"refresh" === t4 && (window.location.href = n2);
|
|
242
|
-
}
|
|
243
|
-
});
|
|
244
|
-
}
|
|
245
|
-
}, exports.updateWithPageValue = function(t3, n2, i2, o2, a2, s2) {
|
|
246
|
-
if (t3 && null !== t3 && o2 && null !== o2 && i2 && null !== i2 && i2.valueMappings) {
|
|
247
|
-
let p2 = t3;
|
|
248
|
-
Array.isArray(t3) && t3.length > 0 && (p2 = t3[0]);
|
|
249
|
-
i2.valueMappings.forEach((t4) => {
|
|
250
|
-
let i3 = t4.source, d2 = e.getEntityFieldValue(p2, i3);
|
|
251
|
-
null == d2 && (i3 && n2 && i3.indexOf(".") > 0 && (i3 = n2 + "__" + i3), d2 = e.getEntityFieldValue(p2, i3));
|
|
252
|
-
let r = t4.target;
|
|
253
|
-
void 0 !== s2 && true === s2 && r && a2 && r.indexOf(".") > 0 && (r = a2 + "__" + r), e.setEntityFieldValue(o2, r, d2);
|
|
254
|
-
});
|
|
255
|
-
}
|
|
256
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
let e = localStorage;
|
|
3
|
-
e = { get length() {
|
|
4
|
-
return localStorage.length;
|
|
5
|
-
}, getItem: localStorage.getItem.bind(localStorage), setItem: localStorage.setItem.bind(localStorage), removeItem: localStorage.removeItem.bind(localStorage), key: localStorage.key.bind(localStorage), clear: localStorage.clear.bind(localStorage), setObject: function(e2, t2) {
|
|
6
|
-
return "object" != typeof t2 ? this.setItem(e2, t2) : this.setItem(e2, JSON.stringify(t2));
|
|
7
|
-
}, getObject: function(e2) {
|
|
8
|
-
var t2 = this.getItem(e2);
|
|
9
|
-
if (!t2)
|
|
10
|
-
return null;
|
|
11
|
-
try {
|
|
12
|
-
return JSON.parse(t2);
|
|
13
|
-
} catch (e3) {
|
|
14
|
-
return t2;
|
|
15
|
-
}
|
|
16
|
-
} };
|
|
17
|
-
const t = e;
|
|
18
|
-
module.exports = t;
|
package/lib/src/utils/menu.cjs
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const e = require("./util.cjs");
|
|
4
|
-
exports.getI18nName = function(t) {
|
|
5
|
-
if (t) {
|
|
6
|
-
if (t.i18Names) {
|
|
7
|
-
const i = e.getLanguageWithLocale(), n = JSON.parse(t.i18Names);
|
|
8
|
-
if (n[i])
|
|
9
|
-
return n[i];
|
|
10
|
-
}
|
|
11
|
-
return t.i18nValue ? t.i18nValue : t.name;
|
|
12
|
-
}
|
|
13
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } }), require("nprogress/nprogress.css");
|
|
3
|
-
const e = require("./permissionAuth.cjs");
|
|
4
|
-
function s(s2, t) {
|
|
5
|
-
if (s2 && "true" === s2)
|
|
6
|
-
return true;
|
|
7
|
-
if (s2) {
|
|
8
|
-
if (e.isDevpAccess())
|
|
9
|
-
return true;
|
|
10
|
-
let i = false;
|
|
11
|
-
const n = e.getTotalPermissions(t);
|
|
12
|
-
if (null != n) {
|
|
13
|
-
const e2 = s2.split(",");
|
|
14
|
-
for (let s3 = 0; s3 < e2.length; s3++) {
|
|
15
|
-
const t2 = r(e2[s3], n);
|
|
16
|
-
if (void 0 !== t2 && true === t2) {
|
|
17
|
-
i = true;
|
|
18
|
-
break;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
return i;
|
|
23
|
-
}
|
|
24
|
-
return console.error('need permission2! Like v-permission="acs.department.save"'), true;
|
|
25
|
-
}
|
|
26
|
-
function r(e2, s2) {
|
|
27
|
-
const r2 = s2[e2.replace(/\./g, "__")];
|
|
28
|
-
if (void 0 !== r2 && true === r2)
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
exports.checkPermission = s, exports.default = s, exports.isFieldHasBranchAuth = function(e2, s2) {
|
|
32
|
-
if (e2) {
|
|
33
|
-
const r2 = e2.hasAuthFields;
|
|
34
|
-
if (r2 && r2.includes(s2))
|
|
35
|
-
return true;
|
|
36
|
-
const t = e2.allAuthFields;
|
|
37
|
-
if (t && t.includes(s2))
|
|
38
|
-
return false;
|
|
39
|
-
}
|
|
40
|
-
return true;
|
|
41
|
-
};
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }), require("vue");
|
|
3
|
-
const e = require("./auth.cjs"), t = require("./common-util.cjs"), o = "PERMISSION-", n = "PERMISSION_MENU-", r = "SYSTEM_DEFAULT_MENU_CODE-", s = "CUSTOM_MENU-", l = "PERMISSION_All_SYSTSEM_KEY", c = "PERMISSION-MOBILE-WEB";
|
|
4
|
-
function a() {
|
|
5
|
-
let e2;
|
|
6
|
-
return e2 = window.$vueApp.config.globalProperties.customSystem ? window.$vueApp.config.globalProperties.customSystem : window.$vueApp.config.globalProperties.currentSystem ? window.$vueApp.config.globalProperties.currentSystem : window.$vueApp.config.globalProperties.systemCode, e2;
|
|
7
|
-
}
|
|
8
|
-
function u(e2) {
|
|
9
|
-
const t2 = s + e2;
|
|
10
|
-
localStorage.removeItem(t2);
|
|
11
|
-
}
|
|
12
|
-
function i(e2) {
|
|
13
|
-
const t2 = g();
|
|
14
|
-
t2.indexOf(e2) < 0 && t2.push(e2), localStorage.setItem(l, t2.join(","));
|
|
15
|
-
}
|
|
16
|
-
function g() {
|
|
17
|
-
let e2 = localStorage.getItem(l);
|
|
18
|
-
return e2 && (e2 = e2.split(",")), e2 || (e2 = []), e2;
|
|
19
|
-
}
|
|
20
|
-
const m = "PROJECT_ADMIN", S = "PROJECT_DEVELOPER";
|
|
21
|
-
exports.getCustomMenus = function(e2) {
|
|
22
|
-
const t2 = s + e2, o2 = JSON.parse(localStorage.getItem(t2));
|
|
23
|
-
return o2 || null;
|
|
24
|
-
}, exports.getDefaultMenuCode = function(e2) {
|
|
25
|
-
return e2 && e2 + "" != "null" || (e2 = a()), localStorage.getItem(r + e2);
|
|
26
|
-
}, exports.getMenus = function(t2) {
|
|
27
|
-
t2 && t2 + "" != "null" || (t2 = a());
|
|
28
|
-
const o2 = e.getRunInfoKey(n), r2 = localStorage.getItem(o2 + t2);
|
|
29
|
-
return r2 ? JSON.parse(r2) : null;
|
|
30
|
-
}, exports.getPermissions = function(e2) {
|
|
31
|
-
let n2 = null;
|
|
32
|
-
e2 && e2 + "" != "null" || (e2 = a());
|
|
33
|
-
let r2 = localStorage.getItem(o + e2);
|
|
34
|
-
if (r2 && (n2 || (n2 = {}), Object.assign(n2, JSON.parse(r2))), t.isMobileBrowser()) {
|
|
35
|
-
const e3 = localStorage.getItem(c);
|
|
36
|
-
e3 && (n2 || (n2 = {}), Object.assign(n2, JSON.parse(e3)));
|
|
37
|
-
}
|
|
38
|
-
return n2;
|
|
39
|
-
}, exports.getSystemCode = a, exports.getTotalPermissions = function(n2) {
|
|
40
|
-
let r2;
|
|
41
|
-
(/* @__PURE__ */ new Date()).getTime();
|
|
42
|
-
const s2 = e.getSessionCache("_RUN_PERMISSION");
|
|
43
|
-
let l2;
|
|
44
|
-
s2 && (r2 = JSON.parse(s2)), n2 && n2 + "" != "null" || (n2 = a());
|
|
45
|
-
const u2 = localStorage.getItem(o + n2);
|
|
46
|
-
let i2;
|
|
47
|
-
if (u2 && (l2 = JSON.parse(u2)), t.isMobileBrowser()) {
|
|
48
|
-
const e2 = localStorage.getItem(c);
|
|
49
|
-
e2 && (i2 = JSON.parse(e2));
|
|
50
|
-
}
|
|
51
|
-
if ((/* @__PURE__ */ new Date()).getTime(), r2 || l2 || i2) {
|
|
52
|
-
let e2 = {};
|
|
53
|
-
return r2 && Object.assign(e2, r2), l2 && Object.assign(e2, l2), i2 && Object.assign(e2, i2), e2;
|
|
54
|
-
}
|
|
55
|
-
return null;
|
|
56
|
-
}, exports.isDevpAccess = function() {
|
|
57
|
-
const t2 = e.getUsername();
|
|
58
|
-
if (t2 && "0bba9791-d4f1-47ca-b5e6-1fc840b54f3a" === t2) {
|
|
59
|
-
const t3 = function() {
|
|
60
|
-
const t4 = e.getRunCurrentRole();
|
|
61
|
-
if (t4) {
|
|
62
|
-
let e2 = [];
|
|
63
|
-
return t4.split(",").forEach((t5) => {
|
|
64
|
-
let o2 = t5;
|
|
65
|
-
t5 !== m && t5 !== S || (o2 = m), e2.indexOf(o2) < 0 && e2.push(o2);
|
|
66
|
-
}), e2;
|
|
67
|
-
}
|
|
68
|
-
}();
|
|
69
|
-
if (t3 && t3.indexOf(m) >= 0 || t3.indexOf("PROJECT_VIEWER") >= 0)
|
|
70
|
-
return true;
|
|
71
|
-
}
|
|
72
|
-
return false;
|
|
73
|
-
}, exports.removeAllSystemPermissions = function() {
|
|
74
|
-
localStorage.removeItem(c);
|
|
75
|
-
const t2 = a();
|
|
76
|
-
localStorage.removeItem(o + t2);
|
|
77
|
-
const u2 = e.getRunInfoKey(n);
|
|
78
|
-
localStorage.removeItem(u2 + t2), localStorage.removeItem(s + t2), localStorage.removeItem(r + t2), g().forEach((e2) => {
|
|
79
|
-
e2 = e2.replace(/(\s*$)/g, ""), localStorage.removeItem(e2);
|
|
80
|
-
}), localStorage.removeItem(l);
|
|
81
|
-
}, exports.removeCustomMenus = u, exports.removeDefaultMenuCode = function(e2) {
|
|
82
|
-
e2 && e2 + "" != "null" || (e2 = a()), localStorage.removeItem(r + e2);
|
|
83
|
-
}, exports.removeMenus = function(t2) {
|
|
84
|
-
t2 && t2 + "" != "null" || (t2 = a()), u(t2);
|
|
85
|
-
const o2 = e.getRunInfoKey(n);
|
|
86
|
-
localStorage.removeItem(o2 + t2);
|
|
87
|
-
for (var r2 = 0; r2 < localStorage.length; r2++) {
|
|
88
|
-
var s2 = localStorage.key(r2);
|
|
89
|
-
(s2.indexOf(o2) >= 0 || s2.indexOf(n) >= 0) && localStorage.removeItem(s2);
|
|
90
|
-
}
|
|
91
|
-
}, exports.setCustomMenus = function(e2, t2) {
|
|
92
|
-
const o2 = s + t2;
|
|
93
|
-
return localStorage.setItem(o2, JSON.stringify(e2)), i(o2), e2;
|
|
94
|
-
}, exports.setDefaultMenuCode = function(e2, t2) {
|
|
95
|
-
if (e2) {
|
|
96
|
-
t2 && t2 + "" != "null" || (t2 = a());
|
|
97
|
-
const o2 = r + t2;
|
|
98
|
-
return localStorage.setItem(o2, e2), i(o2), e2;
|
|
99
|
-
}
|
|
100
|
-
}, exports.setMenus = function(t2, o2) {
|
|
101
|
-
if (t2) {
|
|
102
|
-
o2 && o2 + "" != "null" || (o2 = a()), u(o2);
|
|
103
|
-
const r2 = e.getRunInfoKey(n) + o2;
|
|
104
|
-
return localStorage.setItem(r2, JSON.stringify(t2)), i(r2), t2;
|
|
105
|
-
}
|
|
106
|
-
}, exports.setPermissions = function(e2, n2) {
|
|
107
|
-
e2 && e2.length > 0 && e2[0];
|
|
108
|
-
const r2 = t.isMobileBrowser();
|
|
109
|
-
let s2;
|
|
110
|
-
const l2 = function(e3) {
|
|
111
|
-
const t2 = {};
|
|
112
|
-
for (let o2 = 0; o2 < e3.length; o2++) {
|
|
113
|
-
if (e3[o2]) {
|
|
114
|
-
t2[e3[o2].replace(/\./g, "__")] = true;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
return t2;
|
|
118
|
-
}(e2);
|
|
119
|
-
return r2 ? s2 = c : (n2 && n2 + "" != "null" || (n2 = a()), s2 = o + n2), localStorage.setItem(s2, JSON.stringify(l2)), i(s2), l2;
|
|
120
|
-
};
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const e = require("./util.cjs");
|
|
4
|
-
function t(e2) {
|
|
5
|
-
var t2 = new Date(e2).getMonth();
|
|
6
|
-
return t2 < 3 ? e2.setMonth(0) : t2 > 2 && t2 < 6 ? e2.setMonth(3) : t2 > 5 && t2 < 9 ? e2.setMonth(6) : t2 > 8 && t2 < 11 && e2.setMonth(9), e2.setDate(1), function(e3) {
|
|
7
|
-
const t3 = new Date(e3), n2 = t3.getFullYear(), s2 = t3.getMonth() + 1, o = t3.getDate();
|
|
8
|
-
return `${n2}-${s2}-${o}`;
|
|
9
|
-
}(e2);
|
|
10
|
-
}
|
|
11
|
-
function n(e2) {
|
|
12
|
-
const t2 = e2.getDay() - 1;
|
|
13
|
-
return -1 === t2 ? e2.getTime() - 5184e5 : e2.getTime() - 24 * t2 * 60 * 60 * 1e3;
|
|
14
|
-
}
|
|
15
|
-
function s(e2, t2) {
|
|
16
|
-
if (null == e2 || "" === e2) {
|
|
17
|
-
return t2;
|
|
18
|
-
}
|
|
19
|
-
const n2 = new Date(t2), s2 = n2.getFullYear(), o = n2.getMonth() + 1, a = n2.getDate(), r = n2.getHours(), l = n2.getMinutes(), i = n2.getSeconds();
|
|
20
|
-
function u(t3) {
|
|
21
|
-
var n3 = new RegExp(t3, "g"), s3 = e2.match(n3);
|
|
22
|
-
return s3 ? s3.length : 0;
|
|
23
|
-
}
|
|
24
|
-
function c(t3, n3, s3) {
|
|
25
|
-
e2 = 1 === u(t3) ? e2.replace(t3, s3) : 2 === u(t3) && s3 < 10 ? e2.replace(n3, "0" + s3) : e2.replace(n3, s3);
|
|
26
|
-
}
|
|
27
|
-
if (-1 !== e2.indexOf("y") && (e2 = e2.replace("yyyy", s2)), -1 !== e2.indexOf("M") && c("M", "MM", o), -1 !== e2.indexOf("W")) {
|
|
28
|
-
c("W", "WW", (f = s2, g = a, M = new Date(f, parseInt(o) - 1, g), h = new Date(f, 0, 1), D = Math.round((M.valueOf() - h.valueOf()) / 864e5), Math.ceil((D + (h.getDay() + 1 - 1)) / 7)));
|
|
29
|
-
}
|
|
30
|
-
var f, g, M, h, D;
|
|
31
|
-
return -1 !== e2.indexOf("d") && c("d", "dd", a), -1 !== e2.indexOf("H") && c("H", "HH", r), -1 !== e2.indexOf("m") && c("m", "mm", l), -1 !== e2.indexOf("s") && c("s", "ss", i), e2;
|
|
32
|
-
}
|
|
33
|
-
exports.formatTimefn = s, exports.getDateRangeSelectorDefaultValue = function(o, a, r) {
|
|
34
|
-
let l = "", i = /* @__PURE__ */ new Date();
|
|
35
|
-
const u = /* @__PURE__ */ new Date();
|
|
36
|
-
if ("oneYear" === o) {
|
|
37
|
-
const e2 = i.getFullYear();
|
|
38
|
-
u.setFullYear(e2), u.setMonth(0), l = u.setDate(1);
|
|
39
|
-
} else if ("twoYear" === o) {
|
|
40
|
-
const e2 = i.getFullYear() - 1;
|
|
41
|
-
u.setFullYear(e2), u.setMonth(0), l = u.setDate(1);
|
|
42
|
-
} else if ("oneQuarter" === o)
|
|
43
|
-
l = new Date(t(u));
|
|
44
|
-
else if ("twoQuarter" === o) {
|
|
45
|
-
const e2 = u.getMonth();
|
|
46
|
-
if (i.getMonth < 3) {
|
|
47
|
-
const e3 = u.getFullYear() - 1;
|
|
48
|
-
u.setFullYear(e3), u.setMonth(10);
|
|
49
|
-
} else
|
|
50
|
-
u.setMonth(e2 - 3);
|
|
51
|
-
l = new Date(t(u));
|
|
52
|
-
} else if ("threeQuarter" === o) {
|
|
53
|
-
const e2 = u.getMonth();
|
|
54
|
-
if (i.getMonth < 8 && i.getMonth > 2) {
|
|
55
|
-
const e3 = u.getFullYear() - 1;
|
|
56
|
-
u.setFullYear(e3), u.setMonth(8);
|
|
57
|
-
} else if (i.getMonth < 3) {
|
|
58
|
-
const e3 = u.getFullYear() - 1;
|
|
59
|
-
u.setFullYear(e3), u.setMonth(5);
|
|
60
|
-
} else
|
|
61
|
-
u.setMonth(e2 - 6);
|
|
62
|
-
l = new Date(t(u));
|
|
63
|
-
} else if ("oneMonth" === o)
|
|
64
|
-
l = u.setDate(1);
|
|
65
|
-
else if ("twoMonth" === o) {
|
|
66
|
-
const e2 = i.getMonth() - 1;
|
|
67
|
-
if (e2 > -1)
|
|
68
|
-
u.setMonth(e2);
|
|
69
|
-
else {
|
|
70
|
-
const e3 = i.getFullYear() - 1;
|
|
71
|
-
u.setFullYear(e3), u.setMonth(11);
|
|
72
|
-
}
|
|
73
|
-
l = u.setDate(1);
|
|
74
|
-
} else if ("threeMonth" === o) {
|
|
75
|
-
const e2 = i.getMonth() - 2;
|
|
76
|
-
if (e2 > -1)
|
|
77
|
-
u.setMonth(e2);
|
|
78
|
-
else {
|
|
79
|
-
const e3 = i.getFullYear() - 1;
|
|
80
|
-
u.setFullYear(e3), u.setMonth(10);
|
|
81
|
-
}
|
|
82
|
-
l = u.setDate(1);
|
|
83
|
-
} else if ("oneWeek" === o) {
|
|
84
|
-
const e2 = n(u);
|
|
85
|
-
l = new Date(e2);
|
|
86
|
-
} else if ("twoWeek" === o) {
|
|
87
|
-
const e2 = n(u);
|
|
88
|
-
l = new Date(e2 - 6048e5);
|
|
89
|
-
} else if ("threeWeek" === o) {
|
|
90
|
-
const e2 = n(u);
|
|
91
|
-
l = new Date(e2 - 12096e5);
|
|
92
|
-
} else if (r && r.includes("${context.")) {
|
|
93
|
-
r = r.replace("${context.", "").replace("}", "");
|
|
94
|
-
const t2 = e.getLastNDate(r);
|
|
95
|
-
t2 && Array.isArray(t2) && (l = t2[0], i = t2[1]);
|
|
96
|
-
}
|
|
97
|
-
if (l) {
|
|
98
|
-
const e2 = new Date(l).getTime(), t2 = i.getTime();
|
|
99
|
-
return { startTimeTemp: e2, endTimeTemp: t2, startDate: s(a, e2), endDate: s(a, t2) };
|
|
100
|
-
}
|
|
101
|
-
}, exports.getFirstDayOfSeason = t, exports.getWeekOfSeason = n;
|