agilebuilder-ui 1.1.65-tmp16 → 1.1.65-tmp17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/IntervalSelection/index.js +5 -7
- package/lib/IntervalSelection/src/sectionDate.vue.js +17 -21
- package/lib/IntervalSelection/src/sectionDate.vue2.js +2 -4
- package/lib/_virtual/__vite-browser-external.js +2 -4
- package/lib/_virtual/_plugin-vue_export-helper.js +6 -8
- package/lib/breadcrumb/index.js +3 -5
- package/lib/breadcrumb/src/breadcrumb.vue.js +28 -19
- package/lib/breadcrumb/src/breadcrumb.vue2.js +2 -4
- package/lib/chat-embed/index.js +3 -5
- package/lib/chat-embed/src/chat-addition-data.vue.js +5 -7
- package/lib/chat-embed/src/chat-addition-data.vue2.js +11 -13
- package/lib/chat-embed/src/chat-addition-data.vue3.js +2 -4
- package/lib/chat-embed/src/chat-ai-answer-tip.vue.js +5 -7
- package/lib/chat-embed/src/chat-ai-answer-tip.vue2.js +17 -20
- package/lib/chat-embed/src/chat-ai-answer-tip.vue3.js +2 -4
- package/lib/chat-embed/src/chat-bubble-footer.vue.js +5 -7
- package/lib/chat-embed/src/chat-bubble-footer.vue2.js +17 -22
- package/lib/chat-embed/src/chat-bubble-footer.vue3.js +2 -4
- package/lib/chat-embed/src/chat-embed-message.js +14 -20
- package/lib/chat-embed/src/chat-sender.vue.js +5 -7
- package/lib/chat-embed/src/chat-sender.vue2.js +110 -123
- package/lib/chat-embed/src/chat-sender.vue3.js +2 -4
- package/lib/chat-embed/src/components/answer-auto-chart.vue.js +5 -7
- package/lib/chat-embed/src/components/answer-auto-chart.vue2.js +42 -50
- package/lib/chat-embed/src/components/answer-auto-chart.vue3.js +2 -4
- package/lib/chat-embed/src/components/answer-home-chart.vue.js +5 -7
- package/lib/chat-embed/src/components/answer-home-chart.vue2.js +3 -6
- package/lib/chat-embed/src/components/answer-home-chart.vue3.js +2 -4
- package/lib/chat-embed/src/components/answer-interaction-data.vue.js +5 -7
- package/lib/chat-embed/src/components/answer-interaction-data.vue2.js +74 -84
- package/lib/chat-embed/src/components/answer-interaction-data.vue3.js +2 -4
- package/lib/chat-embed/src/components/history-detail.vue.js +5 -7
- package/lib/chat-embed/src/components/history-detail.vue2.js +27 -32
- package/lib/chat-embed/src/components/history-detail.vue3.js +2 -4
- package/lib/chat-embed/src/header.vue.js +5 -7
- package/lib/chat-embed/src/header.vue2.js +25 -32
- package/lib/chat-embed/src/header.vue3.js +2 -4
- package/lib/chat-embed/src/index.vue.js +5 -7
- package/lib/chat-embed/src/index.vue2.js +185 -211
- package/lib/chat-embed/src/index.vue3.js +2 -4
- package/lib/chat-embed/src/recommendation-message.vue.js +5 -7
- package/lib/chat-embed/src/recommendation-message.vue2.js +5 -8
- package/lib/chat-embed/src/recommendation-message.vue3.js +2 -4
- package/lib/chat-embed/src/sidebar-item.vue.js +5 -7
- package/lib/chat-embed/src/sidebar-item.vue2.js +84 -93
- package/lib/chat-embed/src/sidebar-item.vue3.js +2 -4
- package/lib/chat-embed/src/type.js +3 -5
- package/lib/chat-embed/src/util/chat-embed-util.js +35 -41
- package/lib/chat-embed/src/util/history-message-util.js +63 -85
- package/lib/chat-embed/src/util/mcp-utils.js +5 -8
- package/lib/chat-embed/src/util/text-file-util.js +7 -11
- package/lib/chat-embed/src/voice/index.js +5 -7
- package/lib/chat-embed/src/voice/js/crypto-js.js +987 -995
- package/lib/chat-embed/src/voice/js/processor/index.umd.js +161 -169
- package/lib/chat-embed/src/voice/js/timer.js +7 -10
- package/lib/chat-embed/src/voice/voice.vue.js +61 -70
- package/lib/date-picker-range/index.js +5 -7
- package/lib/date-picker-range/index.vue.js +5 -7
- package/lib/date-picker-range/index.vue2.js +59 -63
- package/lib/date-picker-range/index.vue3.js +2 -4
- package/lib/department-tree/index.js +3 -5
- package/lib/department-tree/src/department-tree.vue.js +11 -17
- package/lib/department-tree-inline/index.js +3 -5
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue.js +17 -27
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue2.js +2 -4
- package/lib/department-tree-inline/src/department-single-tree-inline.vue.js +17 -27
- package/lib/department-tree-inline/src/department-single-tree-inline.vue2.js +2 -4
- package/lib/department-tree-inline/src/department-tree-inline.vue.js +8 -13
- package/lib/department-tree-inline/src/department-tree-service.js +8 -10
- package/lib/department-tree-inline/src/search-result.vue.js +19 -23
- package/lib/department-tree-inline/src/search-result.vue2.js +2 -4
- package/lib/department-tree-mobile/index.js +4 -7
- package/lib/department-tree-mobile/src/department-tree-app.vue.js +9 -12
- package/lib/department-tree-mobile/src/department-tree-app.vue2.js +2 -4
- package/lib/department-tree-mobile/src/department-tree-app.vue3.js +3 -5
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue.js +80 -91
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue2.js +3 -4
- package/lib/department-tree-mobile/src/department-tree-service.js +32 -42
- package/lib/department-tree-mobile/src/dept-path.vue.js +10 -11
- package/lib/department-tree-mobile/src/dept-path.vue2.js +3 -4
- package/lib/department-tree-mobile/src/dept-result.vue.js +11 -14
- package/lib/department-tree-mobile/src/dept-result.vue2.js +3 -4
- package/lib/department-user-tree/index.js +3 -5
- package/lib/department-user-tree/src/department-user-multiple-tree.vue.js +10 -14
- package/lib/department-user-tree/src/department-user-multiple-tree.vue2.js +2 -4
- package/lib/department-user-tree/src/department-user-single-tree.vue.js +9 -14
- package/lib/department-user-tree/src/department-user-tree.vue.js +14 -20
- package/lib/department-user-tree-inline/index.js +3 -5
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +17 -28
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js +2 -4
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +21 -33
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue2.js +2 -4
- package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.js +8 -13
- package/lib/department-user-tree-inline/src/department-user-tree-multi-service.js +6 -9
- package/lib/department-user-tree-inline/src/department-user-tree-single-service.js +8 -11
- package/lib/department-user-tree-inline/src/group-user/group-input.vue.js +7 -12
- package/lib/department-user-tree-inline/src/group-user/group-list.vue.js +7 -12
- package/lib/department-user-tree-inline/src/group-user/group-user.vue.js +8 -14
- package/lib/department-user-tree-inline/src/group-user-multiple-tree.vue.js +14 -20
- package/lib/department-user-tree-inline/src/group-user-single-tree.vue.js +17 -23
- package/lib/department-user-tree-inline/src/group-user-tree-service.js +2 -3
- package/lib/department-user-tree-inline/src/search-result.vue.js +12 -15
- package/lib/department-user-tree-inline/src/search-result.vue2.js +2 -4
- package/lib/department-user-tree-mobile/index.js +4 -7
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.js +9 -12
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue2.js +2 -4
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue3.js +3 -5
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +93 -104
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +3 -4
- package/lib/department-user-tree-mobile/src/department-user-tree-service.js +20 -30
- package/lib/department-user-tree-mobile/src/dept-path.vue.js +10 -11
- package/lib/department-user-tree-mobile/src/dept-path.vue2.js +3 -4
- package/lib/department-user-tree-mobile/src/dept-result.vue.js +11 -15
- package/lib/department-user-tree-mobile/src/dept-result.vue2.js +3 -4
- package/lib/directives/prevent-reclick.js +2 -3
- package/lib/dynamic-source-select/index.js +5 -7
- package/lib/dynamic-source-select/src/dynamic-source-select-service.js +13 -15
- package/lib/dynamic-source-select/src/dynamic-source-select.vue.js +173 -183
- package/lib/dynamic-source-select/src/dynamic-source-select.vue2.js +2 -4
- package/lib/dynamic-source-select/src/dynamic-source-select.vue3.js +2 -4
- package/lib/dynamic-source-select/src/events.js +2 -3
- package/lib/empty-state/index.vue.js +5 -8
- package/lib/empty-state/index.vue2.js +3 -4
- package/lib/fs-preview/index.js +5 -7
- package/lib/fs-preview/src/fs-preview.vue.js +63 -72
- package/lib/fs-preview/src/fs-preview.vue2.js +2 -4
- package/lib/fs-upload/index.js +5 -7
- package/lib/fs-upload/src/fs-upload-multi.vue.js +24 -32
- package/lib/fs-upload/src/fs-upload-single.vue.js +30 -39
- package/lib/fs-upload/src/fs-upload.vue.js +10 -16
- package/lib/fs-upload/src/see-big-picture.vue.js +8 -11
- package/lib/fs-upload-list/index.js +5 -7
- package/lib/fs-upload-list/src/fs-upload-list.vue.js +33 -40
- package/lib/fs-upload-list/src/fs-upload-list.vue2.js +2 -4
- package/lib/fs-upload-new/index.js +5 -7
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +34 -38
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +3 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +101 -109
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +3 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +5 -7
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +26 -33
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.js +2 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +27 -31
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +3 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +18 -24
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +3 -4
- package/lib/fs-upload-new/src/fs-button-upload.vue.js +5 -7
- package/lib/fs-upload-new/src/fs-button-upload.vue2.js +36 -43
- package/lib/fs-upload-new/src/fs-button-upload.vue3.js +2 -4
- package/lib/fs-upload-new/src/fs-drag-upload.vue.js +5 -7
- package/lib/fs-upload-new/src/fs-drag-upload.vue2.js +37 -45
- package/lib/fs-upload-new/src/fs-drag-upload.vue3.js +2 -4
- package/lib/fs-upload-new/src/fs-preview-new.vue.js +5 -8
- package/lib/fs-upload-new/src/fs-preview-new.vue2.js +61 -70
- package/lib/fs-upload-new/src/fs-preview-new.vue3.js +2 -4
- package/lib/fs-upload-new/src/fs-preview-new.vue4.js +2 -4
- package/lib/fs-upload-new/src/fs-upload-new.vue.js +37 -47
- package/lib/fs-upload-new/src/fs-upload-new.vue2.js +3 -4
- package/lib/hamburger/index.js +3 -5
- package/lib/hamburger/src/hamburger.vue.js +10 -14
- package/lib/hamburger/src/hamburger.vue2.js +2 -4
- package/lib/index.js +40 -383
- package/lib/json-view/json-view-dialog.vue.js +12 -15
- package/lib/json-view/json-view-dialog.vue2.js +3 -4
- package/lib/json-view/json-view.vue.js +3 -4
- package/lib/json-view/json-view.vue2.js +27 -31
- package/lib/multipart-upload/index.js +5 -7
- package/lib/multipart-upload/src/index.vue.js +7 -11
- package/lib/multipart-upload/src/multipart-upload-form.vue.js +40 -49
- package/lib/multipart-upload/src/multipart-upload-list.vue.js +59 -67
- package/lib/organization-input/index.js +5 -7
- package/lib/organization-input/src/organization-input.vue.js +31 -37
- package/lib/organization-input/src/organization-input.vue2.js +2 -4
- package/lib/plugins/export-data-new.js +96 -104
- package/lib/plugins/export-data.js +45 -51
- package/lib/plugins/index.js +4 -8
- package/lib/plugins/public-method.js +2 -3
- package/lib/remove-department/index.js +3 -5
- package/lib/remove-department/src/remove-department.vue.js +13 -19
- package/lib/remove-department/src/remove-dept-service.js +9 -10
- package/lib/remove-user/index.js +5 -7
- package/lib/remove-user/src/remove-user-service.js +3 -4
- package/lib/remove-user/src/remove-user.vue.js +16 -22
- package/lib/remove-workgroup/index.js +5 -7
- package/lib/remove-workgroup/src/remove-workgroup-service.js +3 -4
- package/lib/remove-workgroup/src/remove-workgroup.vue.js +12 -18
- package/lib/rich-editor/index.js +5 -7
- package/lib/rich-editor/index.vue.js +28 -76
- package/lib/rich-editor/tinymce/zh_CN.js +2 -2
- package/lib/rich-editor/viewer.vue.js +7 -10
- package/lib/row-form/index.js +5 -7
- package/lib/row-form/index.vue.js +5 -7
- package/lib/row-form/index.vue2.js +41 -47
- package/lib/row-form/index.vue3.js +2 -4
- package/lib/row-form/operation.vue.js +22 -26
- package/lib/row-form/operation.vue2.js +3 -4
- package/lib/scan-code-input/index.js +5 -7
- package/lib/scan-code-input/src/events.js +11 -13
- package/lib/scan-code-input/src/scan-code-input.vue.js +9 -15
- package/lib/scan-code-input-browser/index.js +5 -7
- package/lib/scan-code-input-browser/src/scan-code-input.vue.js +16 -21
- package/lib/secret-info/index.js +5 -7
- package/lib/secret-info/index.vue.js +6 -9
- package/lib/src/api/sso-service.js +34 -36
- package/lib/src/api/tab.js +8 -9
- package/lib/src/assets/401/401.gif.js +2 -4
- package/lib/src/assets/404/404-cloud.png.js +2 -4
- package/lib/src/assets/404/404.png.js +2 -4
- package/lib/src/assets/chat-embed/robot.gif.js +2 -4
- package/lib/src/assets/chat-embed/robot.svg.js +2 -4
- package/lib/src/assets/nonemessage.png.js +2 -4
- package/lib/src/components/Affix/index.vue.js +5 -7
- package/lib/src/components/Affix/index.vue2.js +56 -58
- package/lib/src/components/Affix/index.vue3.js +2 -4
- package/lib/src/components/Card/index.js +33 -38
- package/lib/src/components/Scrollbar/index.vue.js +33 -37
- package/lib/src/components/Scrollbar/index.vue2.js +2 -4
- package/lib/src/directives/permission/index.js +3 -5
- package/lib/src/directives/permission/permission.js +7 -9
- package/lib/src/i18n/i18n.js +3 -7
- package/lib/src/i18n/langs/cn.js +2 -4
- package/lib/src/i18n/langs/en.js +2 -4
- package/lib/src/mixins/resizeMixin.js +2 -3
- package/lib/src/permission.js +43 -46
- package/lib/src/router/index.js +16 -10
- package/lib/src/store/getters.js +2 -4
- package/lib/src/store/index.js +16 -13
- package/lib/src/store/modules/app.js +3 -4
- package/lib/src/store/modules/chat-ai-store.js +19 -22
- package/lib/src/store/modules/permission.js +10 -11
- package/lib/src/store/modules/system.js +7 -9
- package/lib/src/store/modules/tab-content.js +13 -15
- package/lib/src/store/modules/table.js +2 -3
- package/lib/src/store/modules/user.js +89 -95
- package/lib/src/utils/auth-api.js +3 -5
- package/lib/src/utils/auth.js +69 -139
- package/lib/src/utils/calculator/calculator-factory-wf.js +48 -49
- package/lib/src/utils/calculator/calculator-factory.js +57 -58
- package/lib/src/utils/calculator/calculator-util.js +29 -32
- package/lib/src/utils/chat-ai-util.js +17 -25
- package/lib/src/utils/common-util.js +271 -356
- package/lib/src/utils/eventBus.js +3 -6
- package/lib/src/utils/file-util.js +15 -16
- package/lib/src/utils/global-prop.js +21 -37
- package/lib/src/utils/guid.js +5 -8
- package/lib/src/utils/i18n-util.js +16 -24
- package/lib/src/utils/iconUtils.js +16 -23
- package/lib/src/utils/index.js +26 -40
- package/lib/src/utils/insert_css.js +8 -7
- package/lib/src/utils/json-util.js +25 -27
- package/lib/src/utils/jump-page-utils.js +172 -180
- package/lib/src/utils/local-storage.js +2 -3
- package/lib/src/utils/menu.js +10 -11
- package/lib/src/utils/permission.js +22 -26
- package/lib/src/utils/permissionAuth.js +102 -136
- package/lib/src/utils/range-selector.js +41 -45
- package/lib/src/utils/request.js +77 -86
- package/lib/src/utils/resize.js +5 -5
- package/lib/src/utils/restful-interface-utils.js +12 -15
- package/lib/src/utils/util.js +6 -26
- package/lib/src/utils/validate.js +10 -20
- package/lib/src/utils/voice-setting-cache.js +140 -153
- package/lib/src/utils/watermark-cache.js +9 -14
- package/lib/src/utils/watermark.js +23 -30
- package/lib/src/utils/workflow-util.js +25 -26
- package/lib/src/views/dsc-component/Sidebar/Item.vue.js +5 -7
- package/lib/src/views/dsc-component/Sidebar/Item.vue2.js +8 -11
- package/lib/src/views/dsc-component/Sidebar/Item.vue3.js +2 -4
- package/lib/src/views/dsc-component/Sidebar/Link.vue.js +9 -12
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue.js +19 -26
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue2.js +2 -4
- package/lib/src/views/dsc-component/Sidebar/index.vue.js +12 -20
- package/lib/src/views/dsc-component/tabs/tab-content.vue.js +21 -26
- package/lib/src/views/dsc-component/tabs/tab-content.vue2.js +2 -4
- package/lib/src/views/dsc-component/tabs/tab-content.vue3.js +2 -4
- package/lib/src/views/error-page/401.vue.js +9 -13
- package/lib/src/views/error-page/401.vue2.js +2 -4
- package/lib/src/views/error-page/404.vue.js +7 -11
- package/lib/src/views/error-page/404.vue2.js +2 -4
- package/lib/src/views/layout/EmptyLayout.vue.js +6 -8
- package/lib/src/views/layout/Layout.vue.js +12 -19
- package/lib/src/views/layout/Layout.vue2.js +2 -4
- package/lib/src/views/layout/NewLayout.vue.js +6 -10
- package/lib/src/views/layout/components/AppMain.vue.js +9 -11
- package/lib/src/views/layout/components/AppMain.vue2.js +2 -4
- package/lib/src/views/layout/components/Breadcrumb/index.vue.js +44 -37
- package/lib/src/views/layout/components/Breadcrumb/index.vue2.js +2 -4
- package/lib/src/views/layout/components/Menubar/Item.vue.js +5 -7
- package/lib/src/views/layout/components/Menubar/Item.vue2.js +12 -14
- package/lib/src/views/layout/components/Menubar/Item.vue3.js +2 -4
- package/lib/src/views/layout/components/Menubar/Link.vue.js +9 -12
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue.js +15 -24
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue2.js +2 -4
- package/lib/src/views/layout/components/Menubar/index.vue.js +19 -30
- package/lib/src/views/layout/components/Sidebar/Item.vue.js +6 -8
- package/lib/src/views/layout/components/Sidebar/Item.vue2.js +3 -4
- package/lib/src/views/layout/components/Sidebar/Link.vue.js +8 -11
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue.js +11 -17
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue2.js +2 -4
- package/lib/src/views/layout/components/Sidebar/index.vue.js +18 -25
- package/lib/src/views/layout/components/iframe-page.vue.js +8 -10
- package/lib/src/views/layout/components/iframe-page.vue2.js +2 -4
- package/lib/src/views/layout/components/tabs/tab-content.vue.js +10 -14
- package/lib/src/views/layout/components/tabs/tab-content.vue2.js +2 -4
- package/lib/src/views/layout/components/tabs/tab-content.vue3.js +2 -4
- package/lib/src/views/layout/mixin/ResizeHandler.js +3 -5
- package/lib/src/views/layout/tab-content-iframe-index.vue.js +8 -10
- package/lib/src/views/layout/tab-content-iframe-index.vue2.js +2 -4
- package/lib/src/views/layout/tab-content-index.vue.js +12 -18
- package/lib/src/views/layout/tab-content-index.vue2.js +2 -4
- package/lib/src/views/login/authredirect.vue.js +2 -3
- package/lib/src/views/redirect/index.vue.js +17 -8
- package/lib/src/views/svg-icon/src/svg-icon.vue.js +2 -4
- package/lib/src/views/wf-history/tache-subprocess-history.vue.js +11 -13
- package/lib/src/views/wf-history/tache-subprocess-history.vue2.js +2 -4
- package/lib/style.css +685 -685
- package/lib/super-grid/index.js +5 -7
- package/lib/super-grid/src/apis.js +221 -231
- package/lib/super-grid/src/columns-config.vue.js +16 -22
- package/lib/super-grid/src/components/grid-icon.vue.js +26 -34
- package/lib/super-grid/src/components/grid-radio-input.vue.js +15 -18
- package/lib/super-grid/src/components/grid-radio-input.vue2.js +3 -4
- package/lib/super-grid/src/components/mobile-table-card.js +73 -83
- package/lib/super-grid/src/components/select-input.vue.js +98 -106
- package/lib/super-grid/src/components/select-input.vue2.js +3 -4
- package/lib/super-grid/src/custom-formatter.js +69 -74
- package/lib/super-grid/src/dynamic-input.vue.js +142 -159
- package/lib/super-grid/src/eventBus.js +3 -6
- package/lib/super-grid/src/events.js +34 -36
- package/lib/super-grid/src/formValidatorUtil.js +62 -65
- package/lib/super-grid/src/formatter.js +36 -41
- package/lib/super-grid/src/group-column.vue.js +8 -13
- package/lib/super-grid/src/header-context-menu.vue.js +10 -13
- package/lib/super-grid/src/header-context-menu.vue2.js +2 -4
- package/lib/super-grid/src/index-column.vue.js +7 -10
- package/lib/super-grid/src/normal-column-content.vue.js +186 -205
- package/lib/super-grid/src/normal-column-content.vue2.js +2 -4
- package/lib/super-grid/src/normal-column.vue.js +40 -55
- package/lib/super-grid/src/normal-column.vue2.js +2 -4
- package/lib/super-grid/src/public-methods.js +12 -14
- package/lib/super-grid/src/row-detail.vue.js +7 -10
- package/lib/super-grid/src/row-operation.vue.js +19 -26
- package/lib/super-grid/src/row-operation.vue2.js +2 -4
- package/lib/super-grid/src/scan-util.js +24 -26
- package/lib/super-grid/src/search-button.vue.js +12 -17
- package/lib/super-grid/src/search-condition-input.vue.js +8 -12
- package/lib/super-grid/src/search-condition-list.vue.js +10 -13
- package/lib/super-grid/src/search-form-advancedQuery.vue.js +13 -23
- package/lib/super-grid/src/search-form-advancedQuery.vue2.js +2 -4
- package/lib/super-grid/src/search-form-dialog.vue.js +9 -13
- package/lib/super-grid/src/search-form-item.vue.js +16 -24
- package/lib/super-grid/src/search-form-item.vue2.js +2 -4
- package/lib/super-grid/src/search-form-mobile.vue.js +13 -22
- package/lib/super-grid/src/search-form-mobile.vue2.js +2 -4
- package/lib/super-grid/src/search-form-number.vue.js +9 -14
- package/lib/super-grid/src/search-form-open.vue.js +7 -13
- package/lib/super-grid/src/search-form-ordinarySearch.vue.js +11 -19
- package/lib/super-grid/src/search-form-ordinarySearch.vue2.js +2 -4
- package/lib/super-grid/src/search-form.vue.js +65 -77
- package/lib/super-grid/src/search-form.vue2.js +2 -4
- package/lib/super-grid/src/search-methods.js +2 -3
- package/lib/super-grid/src/selection-column.vue.js +7 -9
- package/lib/super-grid/src/store.js +3 -4
- package/lib/super-grid/src/super-grid-service.js +121 -128
- package/lib/super-grid/src/super-grid.vue.js +186 -217
- package/lib/super-grid/src/super-grid.vue2.js +2 -4
- package/lib/super-grid/src/utils.js +265 -322
- package/lib/super-grid/src/view-image-dialog.vue.js +26 -33
- package/lib/super-icon/index.js +5 -7
- package/lib/super-icon/src/index.vue.js +5 -7
- package/lib/super-icon/src/index.vue2.js +8 -11
- package/lib/super-icon/src/index.vue3.js +2 -4
- package/lib/super-nine-grid/index.js +5 -7
- package/lib/super-nine-grid/src/apis.js +5 -8
- package/lib/super-nine-grid/src/custom-formatter.js +5 -7
- package/lib/super-nine-grid/src/formatter.js +28 -29
- package/lib/super-nine-grid/src/search-form-number.vue.js +8 -12
- package/lib/super-nine-grid/src/search-form.vue.js +33 -40
- package/lib/super-nine-grid/src/search-form.vue2.js +2 -4
- package/lib/super-nine-grid/src/search-methods.js +2 -3
- package/lib/super-nine-grid/src/store.js +3 -4
- package/lib/super-nine-grid/src/super-grid-service.js +5 -9
- package/lib/super-nine-grid/src/super-nine-grid.vue.js +95 -105
- package/lib/super-nine-grid/src/super-nine-grid.vue2.js +2 -4
- package/lib/super-nine-grid/src/utils.js +31 -27
- package/lib/svg-icon/index.js +5 -7
- package/lib/svg-icon/src/svg-icon.vue.js +8 -10
- package/lib/svg-icon/src/svg-icon.vue2.js +2 -4
- package/lib/utils/gogocodeTransfer.js +23 -28
- package/lib/utils/memory-cache-utils.js +3 -5
- package/lib/utils/organization.js +40 -53
- package/lib/utils/utils.js +27 -29
- package/lib/utils/value-set.js +68 -70
- package/lib/valid-code/index.js +5 -7
- package/lib/valid-code/src/valid-code.vue.js +10 -13
- package/lib/valid-code/src/valid-code.vue2.js +2 -4
- package/lib/workflow-button/index.js +3 -5
- package/lib/workflow-button/src/workflow-button.vue.js +34 -39
- package/lib/workflow-history-list/index.js +5 -7
- package/lib/workflow-history-list/src/api.js +2 -3
- package/lib/workflow-history-list/src/workflow-history-list.vue.js +59 -65
- package/lib/workflow-history-list/src/workflow-history-list.vue2.js +2 -4
- package/lib/workgroup-tree/index.js +5 -7
- package/lib/workgroup-tree/src/workgroup-tree.vue.js +11 -17
- package/lib/workgroup-tree-inline/index.js +3 -5
- package/lib/workgroup-tree-inline/src/search-result.vue.js +21 -25
- package/lib/workgroup-tree-inline/src/search-result.vue2.js +2 -4
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +43 -52
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js +2 -4
- package/lib/workgroup-tree-inline/src/workgroup-tree-service.js +5 -7
- package/lib/workgroup-tree-mobile/index.js +5 -8
- package/lib/workgroup-tree-mobile/src/dept-result.vue.js +11 -14
- package/lib/workgroup-tree-mobile/src/dept-result.vue2.js +3 -4
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +9 -12
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue2.js +2 -4
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +3 -5
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +76 -86
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +3 -4
- package/lib/workgroup-tree-mobile/src/workgroup-tree-service.js +20 -28
- package/lib/workgroup-user-tree/index.js +5 -7
- package/lib/workgroup-user-tree/src/workgroup-user-tree.vue.js +11 -17
- package/lib/workgroup-user-tree-inline/index.js +3 -5
- package/lib/workgroup-user-tree-inline/src/search-result.vue.js +21 -25
- package/lib/workgroup-user-tree-inline/src/search-result.vue2.js +2 -4
- package/lib/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +9 -11
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +34 -43
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.js +2 -4
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue.js +10 -11
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue2.js +3 -4
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue.js +11 -15
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue2.js +3 -4
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +9 -12
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js +2 -4
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +3 -5
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +93 -104
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +3 -4
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-service.js +16 -25
- package/lib/year-range-picker/index.js +3 -5
- package/lib/year-range-picker/src/year-range-picker.vue.js +9 -12
- package/package.json +1 -1
- package/vite.config.js +11 -11
|
@@ -1,139 +1,133 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
e2.
|
|
8
|
-
},
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
t();
|
|
14
|
-
const a2 = m2.systemCode, r2 = m2.username.trim();
|
|
15
|
-
return new Promise((t2, c2) => {
|
|
16
|
-
e.login(r2, m2.password, m2.language).then((t3) => (s(t3.jwt), o(t3.language), n(t3.theme), t3.lockTip && x({ showClose: true, message: t3.lockTip, type: "warning", duration: 1e4 }), i2("setToken", t3.jwt), e.getCurrentUserPermissionsBySystem(t3.subject, a2))).then((e2) => {
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("../../api/sso-service.js"), s = require("../../utils/auth.js"), t = require("../../utils/permissionAuth.js"), n = require("../../utils/common-util.js"), o = require("element-plus"), i = { state: { token: "", name: "", menus: [] }, mutations: { setToken: (e2, s2) => {
|
|
3
|
+
e2.token = s2;
|
|
4
|
+
}, setName: (e2, s2) => {
|
|
5
|
+
e2.name = s2;
|
|
6
|
+
}, setMenus: (e2, s2) => {
|
|
7
|
+
e2.menus = s2;
|
|
8
|
+
} }, actions: { login({ commit: n2 }, i2) {
|
|
9
|
+
s.clearPermission();
|
|
10
|
+
const r = i2.systemCode, m = i2.username.trim();
|
|
11
|
+
return new Promise((a, c) => {
|
|
12
|
+
e.login(m, i2.password, i2.language).then((t2) => (s.setToken(t2.jwt), s.setLanguage(t2.language), s.setTheme(t2.theme), t2.lockTip && o.ElMessage({ showClose: true, message: t2.lockTip, type: "warning", duration: 1e4 }), n2("setToken", t2.jwt), e.getCurrentUserPermissionsBySystem(t2.subject, r))).then((e2) => {
|
|
17
13
|
let s2 = ["index"];
|
|
18
|
-
s2 = s2.concat(e2),
|
|
14
|
+
s2 = s2.concat(e2), t.setPermissions(s2, r), a();
|
|
19
15
|
}).catch((e2) => {
|
|
20
|
-
|
|
16
|
+
c(e2);
|
|
21
17
|
});
|
|
22
18
|
});
|
|
23
|
-
}, loginWithValidateCode({ commit:
|
|
24
|
-
|
|
25
|
-
const
|
|
26
|
-
return new Promise((
|
|
27
|
-
e.loginWithValidateCode(
|
|
19
|
+
}, loginWithValidateCode({ commit: n2 }, i2) {
|
|
20
|
+
s.clearPermission();
|
|
21
|
+
const r = i2.username.trim(), m = i2.systemCode;
|
|
22
|
+
return new Promise((a, c) => {
|
|
23
|
+
e.loginWithValidateCode(r, i2.password, i2.language, i2.validCode, i2.imageCodeKey).then((t2) => (s.setToken(t2.jwt), s.setLanguage(t2.language), s.setTheme(t2.theme), t2.lockTip && o.ElMessage({ showClose: true, message: t2.lockTip, type: "warning", duration: 1e4 }), n2("setToken", t2.jwt), e.getCurrentUserPermissionsBySystem(t2.subject, m))).then((e2) => {
|
|
28
24
|
let s2 = ["index"];
|
|
29
|
-
s2 = s2.concat(e2),
|
|
25
|
+
s2 = s2.concat(e2), t.setPermissions(s2, m), a();
|
|
30
26
|
}).catch((e2) => {
|
|
31
|
-
|
|
27
|
+
c(e2);
|
|
32
28
|
});
|
|
33
29
|
});
|
|
34
|
-
}, loginWithCookieTokenNew: ({ commit: t2 },
|
|
35
|
-
let
|
|
36
|
-
|
|
37
|
-
|
|
30
|
+
}, loginWithCookieTokenNew: ({ commit: t2 }, o2) => (s.clearVoiceCache(), new Promise((i2, r) => {
|
|
31
|
+
let m = o2 ? o2.loginName : null, a = o2 ? o2.systemCode : null;
|
|
32
|
+
m ? n.cachePermissionsWhenLoginWithToken(m, a).then(() => {
|
|
33
|
+
i2();
|
|
38
34
|
}).catch((e2) => {
|
|
39
|
-
|
|
35
|
+
r(e2);
|
|
40
36
|
}) : e.getCurrentUser().then((e2) => {
|
|
41
|
-
e2 && (
|
|
42
|
-
|
|
37
|
+
e2 && (m = e2.loginName, s.setUsername(e2.loginName), s.setTenantUsername(e2.tenantLoginName), s.setCurrentUser(e2), t2("setName", e2.name)), n.cachePermissionsWhenLoginWithToken(m, a).then(() => {
|
|
38
|
+
i2(e2);
|
|
43
39
|
}).catch((e3) => {
|
|
44
|
-
|
|
40
|
+
r(e3);
|
|
45
41
|
});
|
|
46
42
|
}).catch((e2) => {
|
|
47
|
-
|
|
43
|
+
r(e2);
|
|
48
44
|
});
|
|
49
|
-
})), loginWithCookieToken: ({ commit: t2 },
|
|
50
|
-
|
|
51
|
-
|
|
45
|
+
})), loginWithCookieToken: ({ commit: t2 }, o2) => (s.clearVoiceCache(), new Promise((i2, r) => {
|
|
46
|
+
o2 ? n.cachePermissionsWhenLoginWithToken(o2).then(() => {
|
|
47
|
+
i2();
|
|
52
48
|
}).catch((e2) => {
|
|
53
|
-
|
|
49
|
+
r(e2);
|
|
54
50
|
}) : e.getCurrentUser().then((e2) => {
|
|
55
|
-
e2 && (
|
|
56
|
-
|
|
51
|
+
e2 && (o2 = e2.loginName, s.setUsername(e2.loginName), s.setTenantUsername(e2.tenantLoginName), s.setCurrentUser(e2), t2("setName", e2.name)), n.cachePermissionsWhenLoginWithToken(o2).then(() => {
|
|
52
|
+
i2(e2);
|
|
57
53
|
}).catch((e3) => {
|
|
58
|
-
|
|
54
|
+
r(e3);
|
|
59
55
|
});
|
|
60
56
|
}).catch((e2) => {
|
|
61
|
-
|
|
57
|
+
r(e2);
|
|
62
58
|
});
|
|
63
|
-
})), getCurrentUser: ({ commit: t2, state:
|
|
64
|
-
const
|
|
65
|
-
void 0 ===
|
|
66
|
-
e2 ? (
|
|
59
|
+
})), getCurrentUser: ({ commit: t2, state: n2 }) => new Promise((n3, o2) => {
|
|
60
|
+
const i2 = s.getUsername();
|
|
61
|
+
void 0 === i2 || "" === i2 || null === i2 ? e.getCurrentUser().then((e2) => {
|
|
62
|
+
e2 ? (s.setUsername(e2.loginName), s.setTenantUsername(e2.tenantLoginName), s.setCurrentUser(e2), t2("setName", e2.name)) : (s.removeUsername(), s.removeTenantUsername(), s.removeCurrentUser(), t2("setName", "")), n3(e2);
|
|
67
63
|
}).catch((e2) => {
|
|
68
64
|
o2(e2);
|
|
69
|
-
}) : (t2("setName",
|
|
70
|
-
}), logout: ({ commit:
|
|
71
|
-
e.logout(
|
|
72
|
-
|
|
65
|
+
}) : (t2("setName", i2), n3({ loginName: i2 }));
|
|
66
|
+
}), logout: ({ commit: t2, state: n2 }) => new Promise((o2, i2) => {
|
|
67
|
+
e.logout(n2.token).then((e2) => {
|
|
68
|
+
t2("setToken", ""), s.removeTheme(), s.removeAllThemes(), t2("setName", ""), s.clearPermission(), s.removeDevpPermissions(), s.removeProjectSettings(), s.removeProjectCode(), s.removeSystemCacheUrl(), o2(e2);
|
|
73
69
|
}).catch((e2) => {
|
|
74
70
|
i2(e2);
|
|
75
71
|
});
|
|
76
|
-
}), clearToken: ({ commit: e2 }) => new Promise((
|
|
77
|
-
e2("setToken", ""),
|
|
78
|
-
}), getCurrentUserPermissions: ({ commit:
|
|
79
|
-
const
|
|
80
|
-
let
|
|
81
|
-
void 0 ===
|
|
82
|
-
let
|
|
83
|
-
|
|
72
|
+
}), clearToken: ({ commit: e2 }) => new Promise((t2) => {
|
|
73
|
+
e2("setToken", ""), s.removeTheme(), s.removeAllThemes(), e2("setName", ""), s.clearPermission(), s.removeDevpPermissions(), s.removeProjectSettings(), s.removeProjectCode(), s.removeSystemCacheUrl(), t2();
|
|
74
|
+
}), getCurrentUserPermissions: ({ commit: s2 }, n2) => new Promise((s3, o2) => {
|
|
75
|
+
const i2 = n2.loginName, r = n2.systemCode;
|
|
76
|
+
let m = t.getPermissions(r);
|
|
77
|
+
void 0 === m || "" === m || null === m ? e.getCurrentUserPermissionsBySystem(i2, r).then((e2) => {
|
|
78
|
+
let n3 = ["index"];
|
|
79
|
+
n3 = n3.concat(e2), m = t.setPermissions(n3, r), s3(m);
|
|
84
80
|
}).catch((e2) => {
|
|
85
81
|
o2(e2);
|
|
86
|
-
}) :
|
|
87
|
-
}), getDevPlatformPermissions: ({ commit:
|
|
88
|
-
let
|
|
89
|
-
void 0 ===
|
|
90
|
-
let
|
|
91
|
-
|
|
82
|
+
}) : s3(m);
|
|
83
|
+
}), getDevPlatformPermissions: ({ commit: s2 }, n2) => new Promise((s3, o2) => {
|
|
84
|
+
let i2 = t.getPermissions();
|
|
85
|
+
void 0 === i2 || "" === i2 || null === i2 ? e.getDevPlatformPermissions(n2).then((e2) => {
|
|
86
|
+
let n3 = ["index"];
|
|
87
|
+
n3 = n3.concat(e2), i2 = t.setPermissions(n3), s3(i2);
|
|
92
88
|
}).catch((e2) => {
|
|
93
89
|
o2(e2);
|
|
94
|
-
}) :
|
|
95
|
-
}), isPasswordExpired({ commit:
|
|
96
|
-
const
|
|
97
|
-
return new Promise((
|
|
98
|
-
e.isPasswordExpired(
|
|
99
|
-
|
|
90
|
+
}) : s3(i2);
|
|
91
|
+
}), isPasswordExpired({ commit: s2 }, t2) {
|
|
92
|
+
const n2 = t2.username.trim();
|
|
93
|
+
return new Promise((s3, o2) => {
|
|
94
|
+
e.isPasswordExpired(n2, t2.password).then((e2) => {
|
|
95
|
+
s3(e2);
|
|
100
96
|
}).catch((e2) => {
|
|
101
|
-
|
|
97
|
+
o2(e2);
|
|
102
98
|
});
|
|
103
99
|
});
|
|
104
|
-
}, isPasswordExpiredWithValidateCode({ commit:
|
|
105
|
-
const
|
|
106
|
-
return new Promise((
|
|
107
|
-
e.isPasswordExpiredWithValidateCode(
|
|
108
|
-
|
|
100
|
+
}, isPasswordExpiredWithValidateCode({ commit: s2 }, t2) {
|
|
101
|
+
const n2 = t2.username.trim();
|
|
102
|
+
return new Promise((s3, o2) => {
|
|
103
|
+
e.isPasswordExpiredWithValidateCode(n2, t2.password, t2.validCode, t2.imageCodeKey).then((e2) => {
|
|
104
|
+
s3(e2);
|
|
109
105
|
}).catch((e2) => {
|
|
110
|
-
|
|
106
|
+
o2(e2);
|
|
111
107
|
});
|
|
112
108
|
});
|
|
113
|
-
}, updatePassword: ({ commit:
|
|
114
|
-
e.updatePassword(
|
|
115
|
-
|
|
109
|
+
}, updatePassword: ({ commit: s2 }, t2) => new Promise((s3, n2) => {
|
|
110
|
+
e.updatePassword(t2, t2.userId).then((e2) => {
|
|
111
|
+
s3(e2);
|
|
116
112
|
}).catch((e2) => {
|
|
117
|
-
|
|
113
|
+
n2(e2);
|
|
118
114
|
});
|
|
119
|
-
}), isLoginTimeOut: ({ commit:
|
|
115
|
+
}), isLoginTimeOut: ({ commit: s2 }) => new Promise((s3, t2) => {
|
|
120
116
|
e.isLoginTimeOut().then((e2) => {
|
|
121
|
-
|
|
117
|
+
s3(e2);
|
|
122
118
|
}).catch((e2) => {
|
|
123
|
-
|
|
119
|
+
t2(e2);
|
|
124
120
|
});
|
|
125
|
-
}), getPermissionMenus: ({ commit:
|
|
126
|
-
const
|
|
127
|
-
|
|
121
|
+
}), getPermissionMenus: ({ commit: s2 }, o2) => new Promise((s3, i2) => {
|
|
122
|
+
const r = t.getMenus(o2);
|
|
123
|
+
n.isPlateSys(o2) || void 0 === r || "" === r || null === r ? e.getUserPermissionMenusBySystemCode(o2).then((e2) => {
|
|
128
124
|
if (e2) {
|
|
129
|
-
const
|
|
130
|
-
|
|
125
|
+
const n2 = e2.menus, i3 = e2.defaultMenuCode;
|
|
126
|
+
t.setMenus(n2, o2), t.setDefaultMenuCode(i3, o2), s3(n2);
|
|
131
127
|
} else
|
|
132
|
-
|
|
128
|
+
s3();
|
|
133
129
|
}).catch((e2) => {
|
|
134
|
-
|
|
135
|
-
}) :
|
|
130
|
+
i2(e2);
|
|
131
|
+
}) : s3(r);
|
|
136
132
|
}) } };
|
|
137
|
-
|
|
138
|
-
U as default
|
|
139
|
-
};
|
|
133
|
+
module.exports = i;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
const n = "JWT", t = "USERNAME", o = "TENANT_USERNAME", r = "CURRENT_USER", i = "CURRENT_SYSTEM_URL_", s = "CURRENT_LANGUAGE", u = "AMB_LANG_INFO", c = "_runDevpJWT", l = "CURRENT_THEME", a = "AMB_THEME_INFO";
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("js-cookie"), n = "JWT", t = "USERNAME", o = "TENANT_USERNAME", r = "CURRENT_USER", i = "CURRENT_SYSTEM_URL_", s = "CURRENT_LANGUAGE", u = "AMB_LANG_INFO", c = "_runDevpJWT", l = "CURRENT_THEME", a = "AMB_THEME_INFO";
|
|
3
3
|
function f() {
|
|
4
4
|
let e2 = false;
|
|
5
5
|
const n2 = window.$vueApp.config.globalProperties.systemCode;
|
|
@@ -129,6 +129,4 @@ const w = { getToken: function() {
|
|
|
129
129
|
}, removePublishControl: function() {
|
|
130
130
|
d("VERSION_ENVIRONMENT"), d("CURRENT_USER_SYSTEM_VERSION");
|
|
131
131
|
}, isDevpSystem: f, getRunInfoKey: m };
|
|
132
|
-
|
|
133
|
-
w as default
|
|
134
|
-
};
|
|
132
|
+
module.exports = w;
|
package/lib/src/utils/auth.js
CHANGED
|
@@ -1,156 +1,86 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { removeWatermark as o } from "./watermark-cache.js";
|
|
5
|
-
import { removeVoiceCache as r } from "./voice-setting-cache.js";
|
|
6
|
-
function u() {
|
|
7
|
-
return e.getToken();
|
|
8
|
-
}
|
|
9
|
-
function i(n2) {
|
|
10
|
-
e.setToken(n2);
|
|
11
|
-
}
|
|
12
|
-
function c() {
|
|
13
|
-
e.removeToken();
|
|
14
|
-
}
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const e = require("./auth-api.js"), t = require("./permissionAuth.js"), o = require("./global-prop.js"), r = require("./watermark-cache.js"), n = require("./voice-setting-cache.js");
|
|
15
4
|
function s() {
|
|
16
|
-
|
|
17
|
-
}
|
|
18
|
-
function f(n2) {
|
|
19
|
-
e.setUsername(n2);
|
|
5
|
+
e.removeToken();
|
|
20
6
|
}
|
|
21
|
-
function
|
|
7
|
+
function u() {
|
|
22
8
|
e.removeUsername();
|
|
23
9
|
}
|
|
24
|
-
function
|
|
25
|
-
return e.getTenantUsername();
|
|
26
|
-
}
|
|
27
|
-
function g(n2) {
|
|
28
|
-
e.setTenantUsername(n2);
|
|
29
|
-
}
|
|
30
|
-
function C() {
|
|
10
|
+
function i() {
|
|
31
11
|
e.removeTenantUsername();
|
|
32
12
|
}
|
|
33
|
-
function
|
|
34
|
-
return e.getCurrentUser();
|
|
35
|
-
}
|
|
36
|
-
function v(n2) {
|
|
37
|
-
e.setCurrentUser(n2);
|
|
38
|
-
}
|
|
39
|
-
function T() {
|
|
13
|
+
function a() {
|
|
40
14
|
e.removeCurrentUser();
|
|
41
15
|
}
|
|
42
|
-
function
|
|
43
|
-
|
|
44
|
-
}
|
|
45
|
-
function U(n2, t2) {
|
|
46
|
-
e.setCookieCache(n2, t2);
|
|
47
|
-
}
|
|
48
|
-
function p(n2) {
|
|
49
|
-
e.removeCookieCache(n2);
|
|
50
|
-
}
|
|
51
|
-
function R(n2) {
|
|
52
|
-
return e.getSessionCache(n2);
|
|
53
|
-
}
|
|
54
|
-
function S(n2, t2) {
|
|
55
|
-
return e.setSessionCache(n2, t2);
|
|
56
|
-
}
|
|
57
|
-
function k(n2) {
|
|
58
|
-
e.removeSessionCache(n2);
|
|
16
|
+
function c() {
|
|
17
|
+
e.removeTheme();
|
|
59
18
|
}
|
|
60
|
-
function
|
|
61
|
-
return e.
|
|
19
|
+
function m() {
|
|
20
|
+
return e.isDevpSystem();
|
|
62
21
|
}
|
|
63
|
-
function
|
|
64
|
-
e.
|
|
22
|
+
function g() {
|
|
23
|
+
e.removeSystemCacheUrl();
|
|
65
24
|
}
|
|
66
|
-
function
|
|
25
|
+
exports.clearPermission = function() {
|
|
26
|
+
s(), e.removeLanguage(), e.removeAllLanguages(), u(), i(), a(), t.removeAllSystemPermissions(), e.removePublishControl(), g(), o.removeAllGlobalPropCache(), r.removeWatermark(), n.removeVoiceCache();
|
|
27
|
+
}, exports.clearVoiceCache = function() {
|
|
28
|
+
n.removeVoiceCache();
|
|
29
|
+
}, exports.getAllLanguages = function() {
|
|
67
30
|
return e.getAllLanguages();
|
|
68
|
-
}
|
|
69
|
-
function A(n2) {
|
|
70
|
-
e.setAllLanguages(n2);
|
|
71
|
-
}
|
|
72
|
-
function j() {
|
|
73
|
-
return e.getTheme();
|
|
74
|
-
}
|
|
75
|
-
function O(n2) {
|
|
76
|
-
n2 ? e.setTheme(n2) : N();
|
|
77
|
-
}
|
|
78
|
-
function N() {
|
|
79
|
-
e.removeTheme();
|
|
80
|
-
}
|
|
81
|
-
function y() {
|
|
31
|
+
}, exports.getAllThemes = function() {
|
|
82
32
|
return e.getAllThemes();
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
function
|
|
33
|
+
}, exports.getCookieCache = function(t2) {
|
|
34
|
+
return e.getCookieCache(t2);
|
|
35
|
+
}, exports.getCurrentUser = function() {
|
|
36
|
+
return e.getCurrentUser();
|
|
37
|
+
}, exports.getLanguage = function() {
|
|
38
|
+
return e.getLanguage();
|
|
39
|
+
}, exports.getRunCurrentRole = function() {
|
|
40
|
+
if (!m())
|
|
41
|
+
return e.getSessionCache("_RUN_CURRENT_ROLE");
|
|
42
|
+
}, exports.getRunInfoKey = function(t2) {
|
|
43
|
+
return e.getRunInfoKey(t2);
|
|
44
|
+
}, exports.getSessionCache = function(t2) {
|
|
45
|
+
return e.getSessionCache(t2);
|
|
46
|
+
}, exports.getTenantUsername = function() {
|
|
47
|
+
return e.getTenantUsername();
|
|
48
|
+
}, exports.getTheme = function() {
|
|
49
|
+
return e.getTheme();
|
|
50
|
+
}, exports.getToken = function() {
|
|
51
|
+
return e.getToken();
|
|
52
|
+
}, exports.getUsername = function() {
|
|
53
|
+
return e.getUsername();
|
|
54
|
+
}, exports.isDevpSystem = m, exports.removeAllThemes = function() {
|
|
88
55
|
e.removeAllThemes();
|
|
89
|
-
}
|
|
90
|
-
|
|
56
|
+
}, exports.removeCookieCache = function(t2) {
|
|
57
|
+
e.removeCookieCache(t2);
|
|
58
|
+
}, exports.removeCurrentUser = a, exports.removeDevpPermissions = function() {
|
|
91
59
|
e.removeSessionCache("_devpJWT"), e.removeSessionCache("_CURRENT_ROLE");
|
|
92
|
-
}
|
|
93
|
-
function D() {
|
|
94
|
-
return e.isDevpSystem();
|
|
95
|
-
}
|
|
96
|
-
function I(n2) {
|
|
97
|
-
return e.getRunInfoKey(n2);
|
|
98
|
-
}
|
|
99
|
-
function d() {
|
|
100
|
-
e.removeCookieCache("PROJECT_SETTINGS");
|
|
101
|
-
}
|
|
102
|
-
function w() {
|
|
60
|
+
}, exports.removeProjectCode = function() {
|
|
103
61
|
e.removeCookieCache("_PROJECT_CDOE");
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
function
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
function
|
|
113
|
-
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
R as getSessionCache,
|
|
129
|
-
a as getTenantUsername,
|
|
130
|
-
j as getTheme,
|
|
131
|
-
u as getToken,
|
|
132
|
-
s as getUsername,
|
|
133
|
-
D as isDevpSystem,
|
|
134
|
-
P as removeAllThemes,
|
|
135
|
-
p as removeCookieCache,
|
|
136
|
-
T as removeCurrentUser,
|
|
137
|
-
b as removeDevpPermissions,
|
|
138
|
-
w as removeProjectCode,
|
|
139
|
-
d as removeProjectSettings,
|
|
140
|
-
k as removeSessionCache,
|
|
141
|
-
x as removeSystemCacheUrl,
|
|
142
|
-
C as removeTenantUsername,
|
|
143
|
-
N as removeTheme,
|
|
144
|
-
c as removeToken,
|
|
145
|
-
m as removeUsername,
|
|
146
|
-
A as setAllLanguages,
|
|
147
|
-
J as setAllThemes,
|
|
148
|
-
U as setCookieCache,
|
|
149
|
-
v as setCurrentUser,
|
|
150
|
-
E as setLanguage,
|
|
151
|
-
S as setSessionCache,
|
|
152
|
-
g as setTenantUsername,
|
|
153
|
-
O as setTheme,
|
|
154
|
-
i as setToken,
|
|
155
|
-
f as setUsername
|
|
62
|
+
}, exports.removeProjectSettings = function() {
|
|
63
|
+
e.removeCookieCache("PROJECT_SETTINGS");
|
|
64
|
+
}, exports.removeSessionCache = function(t2) {
|
|
65
|
+
e.removeSessionCache(t2);
|
|
66
|
+
}, exports.removeSystemCacheUrl = g, exports.removeTenantUsername = i, exports.removeTheme = c, exports.removeToken = s, exports.removeUsername = u, exports.setAllLanguages = function(t2) {
|
|
67
|
+
e.setAllLanguages(t2);
|
|
68
|
+
}, exports.setAllThemes = function(t2) {
|
|
69
|
+
e.setAllThemes(t2);
|
|
70
|
+
}, exports.setCookieCache = function(t2, o2) {
|
|
71
|
+
e.setCookieCache(t2, o2);
|
|
72
|
+
}, exports.setCurrentUser = function(t2) {
|
|
73
|
+
e.setCurrentUser(t2);
|
|
74
|
+
}, exports.setLanguage = function(t2) {
|
|
75
|
+
e.setLanguage(t2);
|
|
76
|
+
}, exports.setSessionCache = function(t2, o2) {
|
|
77
|
+
return e.setSessionCache(t2, o2);
|
|
78
|
+
}, exports.setTenantUsername = function(t2) {
|
|
79
|
+
e.setTenantUsername(t2);
|
|
80
|
+
}, exports.setTheme = function(t2) {
|
|
81
|
+
t2 ? e.setTheme(t2) : c();
|
|
82
|
+
}, exports.setToken = function(t2) {
|
|
83
|
+
e.setToken(t2);
|
|
84
|
+
}, exports.setUsername = function(t2) {
|
|
85
|
+
e.setUsername(t2);
|
|
156
86
|
};
|