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,62 +1,56 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
function S() {
|
|
20
|
-
E.value = false, --k.value, f(() => {
|
|
21
|
-
E.value = true;
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("vue"), t = require("../super-grid/src/normal-column-content.vue.js"), r = require("../super-grid/src/utils.js"), o = require("../super-grid/src/store.js"), a = require("./operation.vue.js"), n = { style: { "text-align": "center" } }, i = { class: "row-form-item" }, l = { components: { operation: a }, name: "RowForm" }, s = e.defineComponent({ ...l, props: { columns: {}, listCode: {}, isSql: {}, dragColumnProp: {}, tableName: {}, pageCode: {}, listName: {}, currentPage: {}, gridData: {}, pageGridData: {}, listToolbarFormData: {}, rowIndex: {}, options: {}, lineEdit: {}, showPage: {}, pageSize: {} }, emits: ["open-page", "close", "prohibitToEdit", "refresData", "refresPortData", "refresPortsData", "refresMainTableFields", "refreshList"], setup(l2, { emit: s2 }) {
|
|
3
|
+
const d = l2, c = e.ref(function() {
|
|
4
|
+
let e2 = d.rowIndex;
|
|
5
|
+
d.showPage && (e2 = d.rowIndex < d.pageSize ? (d.currentPage - 1) * d.pageSize + d.rowIndex : d.currentPage * d.pageSize - 1);
|
|
6
|
+
return e2;
|
|
7
|
+
}()), u = e.ref(true), p = e.ref(true);
|
|
8
|
+
let m;
|
|
9
|
+
const g = o.get(d.listCode), f = g.options;
|
|
10
|
+
g.options.extraParam && g.options.extraParam.entityMap && (m = g.options.extraParam.entityMap);
|
|
11
|
+
const v = e.ref(null), C = d.columns ? d.columns.filter((e2) => e2.prop && "operation" === e2.prop) : null;
|
|
12
|
+
function k(e2) {
|
|
13
|
+
return r.getHeaderLable(e2);
|
|
14
|
+
}
|
|
15
|
+
function w() {
|
|
16
|
+
p.value = false, --c.value, e.nextTick(() => {
|
|
17
|
+
p.value = true;
|
|
22
18
|
});
|
|
23
19
|
}
|
|
24
|
-
function
|
|
25
|
-
|
|
26
|
-
|
|
20
|
+
function x() {
|
|
21
|
+
p.value = false, ++c.value, e.nextTick(() => {
|
|
22
|
+
p.value = true;
|
|
27
23
|
});
|
|
28
24
|
}
|
|
29
|
-
function
|
|
30
|
-
|
|
25
|
+
function D(e2) {
|
|
26
|
+
s2("open-page", e2);
|
|
31
27
|
}
|
|
32
|
-
function
|
|
33
|
-
|
|
28
|
+
function h(e2) {
|
|
29
|
+
s2("prohibitToEdit", e2);
|
|
34
30
|
}
|
|
35
|
-
function
|
|
36
|
-
|
|
31
|
+
function P(e2) {
|
|
32
|
+
s2("refresData", e2);
|
|
37
33
|
}
|
|
38
|
-
function
|
|
39
|
-
|
|
34
|
+
function b(e2, t2) {
|
|
35
|
+
d && d.lineEdit && d.lineEdit.editingCell ? s2("refresPortData", e2, t2, d.lineEdit.editingCell.row) : s2("refresPortData", e2, t2, this.index);
|
|
40
36
|
}
|
|
41
|
-
function
|
|
42
|
-
|
|
37
|
+
function y(e2) {
|
|
38
|
+
d && d.lineEdit && d.lineEdit.editingCell ? s2("refresPortsData", e2, d.lineEdit.editingCell.row) : s2("refresPortsData", e2, this.index);
|
|
43
39
|
}
|
|
44
|
-
function
|
|
45
|
-
|
|
40
|
+
function B(e2) {
|
|
41
|
+
s2("refresMainTableFields", e2);
|
|
46
42
|
}
|
|
47
|
-
function
|
|
48
|
-
|
|
43
|
+
function E() {
|
|
44
|
+
s2("refreshList");
|
|
49
45
|
}
|
|
50
|
-
function
|
|
51
|
-
|
|
52
|
-
|
|
46
|
+
function N(t2) {
|
|
47
|
+
p.value = false, c.value = d.gridData.length - 1, e.nextTick(() => {
|
|
48
|
+
p.value = true;
|
|
53
49
|
});
|
|
54
50
|
}
|
|
55
|
-
return
|
|
56
|
-
const
|
|
57
|
-
return
|
|
51
|
+
return C && C.length > 0 && (v.value = C[0]), (r2, o2) => {
|
|
52
|
+
const l3 = e.resolveComponent("el-form-item"), d2 = e.resolveComponent("el-form"), p2 = e.resolveComponent("el-button"), g2 = e.resolveComponent("el-drawer");
|
|
53
|
+
return e.openBlock(), e.createBlock(g2, { modelValue: u.value, "onUpdate:modelValue": o2[0] || (o2[0] = (e2) => u.value = e2), "close-on-click-modal": false, "close-on-press-escape": false, direction: "btt", size: "100%", onClose: o2[1] || (o2[1] = (e2) => (u.value = false, void s2("close"))) }, { header: e.withCtx(() => [e.createElementVNode("div", n, e.toDisplayString(r2.$t("superGrid.recordLine", { row: c.value + 1 })), 1)]), default: e.withCtx(() => [v.value ? (e.openBlock(), e.createBlock(a, { key: 0, column: v.value, "list-code": r2.listCode, currentPage: r2.currentPage, "grid-data": r2.gridData, "page-grid-data": r2.pageGridData, row: r2.gridData[c.value], rowIndex: c.value, parentFormData: e.unref(m), onRefreshList: E, onAfterClick: N }, null, 8, ["column", "list-code", "currentPage", "grid-data", "page-grid-data", "row", "rowIndex", "parentFormData"])) : e.createCommentVNode("", true), e.createVNode(d2, { "label-width": "auto" }, { default: e.withCtx(() => [(e.openBlock(true), e.createElementBlock(e.Fragment, null, e.renderList(r2.columns, (o3, a2) => (e.openBlock(), e.createElementBlock(e.Fragment, null, ["$index" != o3.prop && "$selection" != o3.prop && "operation" != o3.prop ? (e.openBlock(), e.createBlock(l3, { key: a2, label: k(o3) }, { default: e.withCtx(() => [e.createElementVNode("div", i, [e.createVNode(t, { ref_for: true, ref: o3.prop, "is-sql": r2.isSql, column: o3, "list-code": r2.listCode, "drag-column-prop": r2.dragColumnProp, "right-click-menu-arr": e.unref(f).rightClickMenuArr, "table-name": r2.tableName, "page-code": r2.pageCode, "list-toolbar-form-data": r2.listToolbarFormData, "list-name": r2.listName, options: e.unref(f), "current-page": r2.currentPage, "grid-data": r2.gridData, "page-grid-data": r2.pageGridData, row: r2.gridData[c.value], "row-index": c.value, "is-show-form": true, onOpenPage: D, onRefresData: P, onRefreshList: E, onRefresPortData: b, onRefresPortsData: y, onRefresMainTableFields: B, onProhibitToEdit: h }, null, 8, ["is-sql", "column", "list-code", "drag-column-prop", "right-click-menu-arr", "table-name", "page-code", "list-toolbar-form-data", "list-name", "options", "current-page", "grid-data", "page-grid-data", "row", "row-index"])])]), _: 2 }, 1032, ["label"])) : e.createCommentVNode("", true)], 64))), 256))]), _: 1 }), 0 !== c.value ? (e.openBlock(), e.createBlock(p2, { key: 1, type: "primary", link: "", onClick: w }, { default: e.withCtx(() => [e.createTextVNode(e.toDisplayString(r2.$t("superGrid.prevRow")), 1)]), _: 1 })) : e.createCommentVNode("", true), c.value !== r2.gridData.length - 1 ? (e.openBlock(), e.createBlock(p2, { key: 2, type: "primary", link: "", onClick: x }, { default: e.withCtx(() => [e.createTextVNode(e.toDisplayString(r2.$t("superGrid.nextRow")), 1)]), _: 1 })) : e.createCommentVNode("", true)]), _: 1 }, 8, ["modelValue"]);
|
|
58
54
|
};
|
|
59
55
|
} });
|
|
60
|
-
|
|
61
|
-
x as default
|
|
62
|
-
};
|
|
56
|
+
module.exports = s;
|
|
@@ -1,32 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
e2.isGroup && e2.buttons.forEach((e3) => {
|
|
12
|
-
e3.props.code === o3.comman && (r2 = e3);
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("vue"), o = require("../super-grid/src/row-operation.vue.js"), r = require("../super-grid/src/custom-formatter.js"), t = { key: 0, class: "grid-operation-buttons" }, n = e.defineComponent({ name: "RowForm", props: { column: {}, listCode: {}, currentPage: {}, gridData: {}, pageGridData: {}, rowIndex: {}, parentFormData: {}, row: {} }, emits: ["refreshList", "afterClick"], setup(n2, { emit: a }) {
|
|
3
|
+
const i = n2;
|
|
4
|
+
e.ref(i.rowIndex);
|
|
5
|
+
const l = e.ref(true);
|
|
6
|
+
function p(e2) {
|
|
7
|
+
let o2 = null;
|
|
8
|
+
i.column.operations.forEach((r2) => {
|
|
9
|
+
r2.isGroup && r2.buttons.forEach((r3) => {
|
|
10
|
+
r3.props.code === e2.comman && (o2 = r3);
|
|
13
11
|
});
|
|
14
|
-
}),
|
|
12
|
+
}), o2 && r.onClickFun(e2.row, i.column, o2.onClick, e2.rowIndex);
|
|
15
13
|
}
|
|
16
|
-
function
|
|
17
|
-
|
|
14
|
+
function s() {
|
|
15
|
+
a("refreshList");
|
|
18
16
|
}
|
|
19
|
-
function
|
|
20
|
-
|
|
17
|
+
function c() {
|
|
18
|
+
a("afterClick", { row: i.row, column: i.column, rowIndex: i.rowIndex });
|
|
21
19
|
}
|
|
22
|
-
return
|
|
23
|
-
const
|
|
24
|
-
return
|
|
25
|
-
return
|
|
26
|
-
var
|
|
27
|
-
}), 128))]), _: 2 }, 1024)]), default:
|
|
20
|
+
return e.ref(true), (r2, n3) => {
|
|
21
|
+
const a2 = e.resolveComponent("el-dropdown-item"), i2 = e.resolveComponent("el-dropdown-menu"), d = e.resolveComponent("el-dropdown"), m = e.resolveDirective("permission");
|
|
22
|
+
return r2.column.operations ? (e.openBlock(), e.createElementBlock("div", t, [(e.openBlock(true), e.createElementBlock(e.Fragment, null, e.renderList(r2.column.operations, (t2, n4) => (e.openBlock(), e.createElementBlock("span", { key: n4, class: e.normalizeClass([l.value ? "" : "cell--span", "buttons-row-operation-span"]) }, [t2.isGroup ? (e.openBlock(), e.createBlock(d, { key: 0, size: t2.buttons && t2.buttons.length > 0 ? t2.buttons[0].props.size : "small", "split-button": "", onCommand: p }, { dropdown: e.withCtx(() => [e.createVNode(i2, null, { default: e.withCtx(() => [(e.openBlock(true), e.createElementBlock(e.Fragment, null, e.renderList(t2.buttons, (o2, t3) => {
|
|
23
|
+
return e.openBlock(), e.createElementBlock("span", { key: o2.props.code + t3 }, [e.withDirectives((e.openBlock(), e.createBlock(a2, { command: (n5 = o2.props.code, i3 = r2.row, l2 = r2.rowIndex, { comman: n5, row: i3, rowIndex: l2 }), disabled: r2.preventReclick }, { default: e.withCtx(() => [e.createTextVNode(e.toDisplayString(r2.$escapeHtml(o2.props.label)), 1)]), _: 2 }, 1032, ["command", "disabled"])), [[m, o2.props.permission]])]);
|
|
24
|
+
var n5, i3, l2;
|
|
25
|
+
}), 128))]), _: 2 }, 1024)]), default: e.withCtx(() => [e.createTextVNode(e.toDisplayString(r2.$escapeHtml(t2.label)) + " ", 1)]), _: 2 }, 1032, ["size"])) : t2.props.customControl ? e.withDirectives((e.openBlock(), e.createBlock(e.resolveDynamicComponent(t2.props.customControl), { key: r2.column.prop + "_" + r2.rowIndex + "_" + r2.currentPage, disabled: true, row: r2.pageGridData[r2.rowIndex], entity: r2.pageGridData[r2.rowIndex], prop: r2.column.prop, parent: r2.parentFormData, "row-index": r2.rowIndex, "grid-data": r2.gridData, "page-grid-data": r2.pageGridData, "current-page": r2.currentPage, onRefreshList: s }, null, 40, ["row", "entity", "prop", "parent", "row-index", "grid-data", "page-grid-data", "current-page"])), [[m, t2.props.permission]]) : (e.openBlock(), e.createBlock(o, { key: 2, column: r2.column, editing: r2.row.$editing, entity: r2.row, "is-show": t2.isShow, label: t2.props.label ? t2.props.label : r2.row[r2.column.prop], "on-click": t2.onClick, "operation-index": n4, "operation-setting": t2.props, "row-index": r2.rowIndex, "list-code": r2.listCode, "parent-form-data": r2.parentFormData, onAfterClick: c }, null, 8, ["column", "editing", "entity", "is-show", "label", "on-click", "operation-index", "operation-setting", "row-index", "list-code", "parent-form-data"]))], 2))), 128))])) : e.createCommentVNode("", true);
|
|
28
26
|
};
|
|
29
27
|
} });
|
|
30
|
-
|
|
31
|
-
I as default
|
|
32
|
-
};
|
|
28
|
+
module.exports = n;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
};
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("./operation.vue.js");
|
|
3
|
+
module.exports = e;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
n as default
|
|
7
|
-
};
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("./src/scan-code-input.vue.js");
|
|
3
|
+
e.install = function(n) {
|
|
4
|
+
n.component(e.name, e);
|
|
5
|
+
}, module.exports = e;
|
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
const
|
|
3
|
-
t(this, "change",
|
|
1
|
+
"use strict";
|
|
2
|
+
const t = require("../../utils/gogocodeTransfer.js"), e = { change: function(e2) {
|
|
3
|
+
t.$emit(this, "change", e2);
|
|
4
4
|
}, clear: function() {
|
|
5
|
-
t(this, "clear");
|
|
6
|
-
}, blur: function(
|
|
7
|
-
t(this, "blur",
|
|
8
|
-
}, focus: function(
|
|
9
|
-
t(this, "focus",
|
|
10
|
-
}, input(
|
|
11
|
-
t(this, "update:value",
|
|
5
|
+
t.$emit(this, "clear");
|
|
6
|
+
}, blur: function(e2) {
|
|
7
|
+
t.$emit(this, "blur", e2);
|
|
8
|
+
}, focus: function(e2) {
|
|
9
|
+
t.$emit(this, "focus", e2);
|
|
10
|
+
}, input(e2) {
|
|
11
|
+
t.$emit(this, "update:value", e2);
|
|
12
12
|
} };
|
|
13
|
-
|
|
14
|
-
n as default
|
|
15
|
-
};
|
|
13
|
+
module.exports = e;
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { resolveComponent as t, openBlock as a, createElementBlock as s, createVNode as i, createSlots as r, withCtx as c, createBlock as p, createCommentVNode as u } from "vue";
|
|
6
|
-
import d from "../../_virtual/_plugin-vue_export-helper.js";
|
|
7
|
-
const h = d({ data() {
|
|
8
|
-
const e2 = l();
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("../../utils/gogocodeTransfer.js"), o = require("../../scan-code-input-browser/src/scan-code-input.vue.js"), n = require("./events.js"), l = require("../../src/utils/common-util.js"), t = require("vue");
|
|
3
|
+
const a = require("../../_virtual/_plugin-vue_export-helper.js")({ data() {
|
|
4
|
+
const e2 = l.isMobileBrowser();
|
|
9
5
|
let o2;
|
|
10
6
|
o2 = navigator.userAgent.indexOf(" uni-app ") > 0 ? "app" : "browser", window.location.protocol;
|
|
11
7
|
return { isMobile: e2, isShow: false, scanCode: "", isShowScanIcon: !(!e2 || "https:" !== window.location.protocol), isApk: !(!e2 || !o2 || "app" !== o2) };
|
|
@@ -17,16 +13,14 @@ const h = d({ data() {
|
|
|
17
13
|
}, methods: { ...n, openVideo() {
|
|
18
14
|
this.isShow ? this.isShow = false : this.isShow = true;
|
|
19
15
|
}, closeBrowserScan(o2) {
|
|
20
|
-
this.isShow = false, this.value = o2, e(this, "colse", o2);
|
|
16
|
+
this.isShow = false, this.value = o2, e.$emit(this, "colse", o2);
|
|
21
17
|
}, scanClick() {
|
|
22
18
|
this.isApk ? this.scanClickApk() : this.openVideo();
|
|
23
19
|
}, scanClickApk() {
|
|
24
20
|
const e2 = { type: "scan", componentId: this.componentId, listCode: this.listCode };
|
|
25
21
|
window.parent.postMessage(JSON.stringify(e2), "*");
|
|
26
|
-
} }, emits: ["colse", "update:value"] }, [["render", function(e2, o2, n2, l2,
|
|
27
|
-
const
|
|
28
|
-
return
|
|
22
|
+
} }, emits: ["colse", "update:value"] }, [["render", function(e2, o2, n2, l2, a2, s) {
|
|
23
|
+
const i = t.resolveComponent("SuperIcon"), r = t.resolveComponent("el-input"), c = t.resolveComponent("scan-code-input-browser");
|
|
24
|
+
return t.openBlock(), t.createElementBlock("div", null, [t.createVNode(r, { "model-value": n2.value, disable: n2.disable, placeholder: n2.placeholder, clearable: n2.clearable, readonly: n2.readonly, maxlength: n2.maxlength, onChange: e2.change, onBlur: e2.blur, onFocus: e2.focus, onInput: e2.input, onClear: e2.clear }, t.createSlots({ _: 2 }, [a2.isShowScanIcon ? { name: "append", fn: t.withCtx(() => [t.createVNode(i, { iconValue: "fa-barcode", onClick: o2[0] || (o2[0] = (e3) => s.scanClick()) })]), key: "0" } : void 0]), 1032, ["model-value", "disable", "placeholder", "clearable", "readonly", "maxlength", "onChange", "onBlur", "onFocus", "onInput", "onClear"]), a2.isShow ? (t.openBlock(), t.createBlock(c, { key: 0, "colse-video": n2.colseVideo, onClose: s.closeBrowserScan }, null, 8, ["colse-video", "onClose"])) : t.createCommentVNode("", true)]);
|
|
29
25
|
}]]);
|
|
30
|
-
|
|
31
|
-
h as default
|
|
32
|
-
};
|
|
26
|
+
module.exports = a;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
n as default
|
|
7
|
-
};
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("./src/scan-code-input.vue.js");
|
|
3
|
+
e.install = function(n) {
|
|
4
|
+
n.component(e.name, e);
|
|
5
|
+
}, module.exports = e;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import r from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const a = { name: "ScanCodeInputBrowser", components: {}, props: { colseVideo: { type: Boolean, default: false } }, data() {
|
|
6
|
-
return { loadingShow: false, codeReader: new t(), textContent: null, vin: null, tipMsg: this.$t("messageVideo.attemptingToIdentify"), tipShow: false, isVideo: false };
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("../../utils/gogocodeTransfer.js"), t = require("@zxing/library"), i = require("vue"), o = require("../../_virtual/_plugin-vue_export-helper.js"), n = { name: "ScanCodeInputBrowser", components: {}, props: { colseVideo: { type: Boolean, default: false } }, data() {
|
|
3
|
+
return { loadingShow: false, codeReader: new t.BrowserMultiFormatReader(), textContent: null, vin: null, tipMsg: this.$t("messageVideo.attemptingToIdentify"), tipShow: false, isVideo: false };
|
|
7
4
|
}, created() {
|
|
8
5
|
this.openScan();
|
|
9
6
|
}, beforeUnmount() {
|
|
@@ -12,28 +9,26 @@ const a = { name: "ScanCodeInputBrowser", components: {}, props: { colseVideo: {
|
|
|
12
9
|
const e2 = this;
|
|
13
10
|
e2.codeReader.listVideoInputDevices().then((t2) => {
|
|
14
11
|
e2.tipShow = true, e2.tipMsg = this.$t("messageVideo.callingRearCamera");
|
|
15
|
-
let
|
|
16
|
-
const
|
|
17
|
-
t2.length > 1 && (
|
|
12
|
+
let i2 = t2[0].deviceId;
|
|
13
|
+
const o2 = JSON.stringify(t2[0].label);
|
|
14
|
+
t2.length > 1 && (i2 = o2.indexOf("back") > -1 ? t2[0].deviceId : t2[1].deviceId), e2.decodeFromInputVideoFunc(i2);
|
|
18
15
|
}).catch((t2) => {
|
|
19
16
|
e2.tipShow = false, console.error(t2);
|
|
20
17
|
});
|
|
21
18
|
}, decodeFromInputVideoFunc(e2) {
|
|
22
19
|
const t2 = this;
|
|
23
|
-
t2.codeReader.reset(), t2.textContent = null, t2.codeReader.decodeFromVideoDevice(e2, "video", (e3,
|
|
24
|
-
t2.tipMsg = this.$t("messageVideo.attemptingToIdentify"), t2.textContent = null, e3 && (t2.textContent = e3.text, t2.textContent && (t2.tipShow = false, t2.msgBoxFunc(t2.textContent))),
|
|
20
|
+
t2.codeReader.reset(), t2.textContent = null, t2.codeReader.decodeFromVideoDevice(e2, "video", (e3, i2) => {
|
|
21
|
+
t2.tipMsg = this.$t("messageVideo.attemptingToIdentify"), t2.textContent = null, e3 && (t2.textContent = e3.text, t2.textContent && (t2.tipShow = false, t2.msgBoxFunc(t2.textContent))), i2 && !i2 && (t2.tipMsg = this.$t("messageVideo.identificationFailed"), setTimeout(() => {
|
|
25
22
|
t2.tipShow = false;
|
|
26
|
-
}, 2e3), console.error(
|
|
23
|
+
}, 2e3), console.error(i2));
|
|
27
24
|
});
|
|
28
25
|
}, msgBoxFunc(t2) {
|
|
29
|
-
const
|
|
30
|
-
|
|
26
|
+
const i2 = this;
|
|
27
|
+
i2.vin = t2, e.$emit(i2, "close", i2.vin), i2.codeReader.reset();
|
|
31
28
|
}, clickVideo() {
|
|
32
|
-
this.colseVideo && (e(this, "close", this.vin), this.codeReader.reset());
|
|
33
|
-
} }, emits: ["close"] },
|
|
34
|
-
const
|
|
35
|
-
return
|
|
29
|
+
this.colseVideo && (e.$emit(this, "close", this.vin), this.codeReader.reset());
|
|
30
|
+
} }, emits: ["close"] }, s = { class: "" };
|
|
31
|
+
const d = o(n, [["render", function(e2, t2, o2, n2, d2, c) {
|
|
32
|
+
return i.openBlock(), i.createElementBlock("div", s, [i.createElementVNode("video", { id: "video", ref: "video", height: "300", class: "video vjs-fluid", autoplay: "", onClick: t2[0] || (t2[0] = (...e3) => c.clickVideo && c.clickVideo(...e3)) }, null, 512), i.withDirectives(i.createElementVNode("div", { class: "tip" }, i.toDisplayString(d2.tipMsg), 513), [[i.vShow, d2.tipShow]])]);
|
|
36
33
|
}]]);
|
|
37
|
-
|
|
38
|
-
p as default
|
|
39
|
-
};
|
|
34
|
+
module.exports = d;
|
package/lib/secret-info/index.js
CHANGED
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const o = {
|
|
4
|
-
const u = a({ name: "SecretInfo", props: { entity: { type: Object, default: null }, prop: { type: String, default: null }, value: { type: [String, Number], default: null }, tableName: { type: String, default: null }, listCode: { type: String, default: null }, pageCode: { type: String, default: null }, listName: { type: String, default: null }, fieldLabel: { type: String, default: null } }, data: () => ({ isShow: false, decryInfo: null }), methods: { showHideSecretInfo() {
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("vue"), t = require("../_virtual/_plugin-vue_export-helper.js"), l = { key: 0 }, i = { key: 0 }, n = { key: 1 };
|
|
3
|
+
const o = t({ name: "SecretInfo", props: { entity: { type: Object, default: null }, prop: { type: String, default: null }, value: { type: [String, Number], default: null }, tableName: { type: String, default: null }, listCode: { type: String, default: null }, pageCode: { type: String, default: null }, listName: { type: String, default: null }, fieldLabel: { type: String, default: null } }, data: () => ({ isShow: false, decryInfo: null }), methods: { showHideSecretInfo() {
|
|
5
4
|
this.isShow ? this.isShow = false : this.decryAndSaveLog();
|
|
6
5
|
}, decryAndSaveLog() {
|
|
7
6
|
const e2 = { tableName: this.tableName, listCode: this.listCode, listName: this.listName, pageCode: this.pageCode, fieldName: this.prop, fieldCnName: this.fieldLabel, ciphertext: this.value ? this.value + "" : null };
|
|
8
7
|
this.entity && (e2.dataId = this.entity.ID ? this.entity.ID : this.entity.id), this.$http.post(this.baseAPI + "/component/super-pages/decodeAndMonitorSecretInfoLog", e2).then((e3) => {
|
|
9
8
|
this.decryInfo = e3, this.isShow = true;
|
|
10
9
|
});
|
|
11
|
-
} }, emits: ["update:value"] }, [["render", function(
|
|
12
|
-
return void 0 !==
|
|
10
|
+
} }, emits: ["update:value"] }, [["render", function(t2, o2, a, s, r, d) {
|
|
11
|
+
return void 0 !== a.value && null !== a.value && "" !== a.value ? (e.openBlock(), e.createElementBlock("span", l, [r.isShow ? (e.openBlock(), e.createElementBlock("span", i, [e.createTextVNode(e.toDisplayString(r.decryInfo), 1), e.createElementVNode("i", { class: "fa fa-eye", style: { "margin-left": "5px" }, onClick: o2[0] || (o2[0] = (...e2) => d.showHideSecretInfo && d.showHideSecretInfo(...e2)) })])) : (e.openBlock(), e.createElementBlock("span", n, [e.createTextVNode(" ******"), e.createElementVNode("i", { class: "fa fa-eye-slash", style: { "margin-left": "5px" }, onClick: o2[1] || (o2[1] = (...e2) => d.showHideSecretInfo && d.showHideSecretInfo(...e2)) })]))])) : e.createCommentVNode("", true);
|
|
13
12
|
}]]);
|
|
14
|
-
|
|
15
|
-
u as default
|
|
16
|
-
};
|
|
13
|
+
module.exports = o;
|
|
@@ -1,57 +1,55 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
return t2 && (
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("../utils/request.js"), o = require("../utils/auth.js");
|
|
3
|
+
require("vue");
|
|
4
|
+
const s = require("../utils/common-util.js");
|
|
5
|
+
const t = { login: function(o2, s2, t2) {
|
|
6
|
+
const n = { username: o2, password: s2 };
|
|
7
|
+
return t2 && (n.language = t2), e.default.post(window.$vueApp.config.globalProperties.baseAPI + "/sso/login", n);
|
|
8
8
|
}, getCurrentUser: function() {
|
|
9
|
-
return e.get(window.$vueApp.config.globalProperties.baseAPI + "/sso/current-user?_t=" + (/* @__PURE__ */ new Date()).getTime());
|
|
9
|
+
return e.default.get(window.$vueApp.config.globalProperties.baseAPI + "/sso/current-user?_t=" + (/* @__PURE__ */ new Date()).getTime());
|
|
10
10
|
}, logout: function() {
|
|
11
|
-
return e.get(window.$vueApp.config.globalProperties.baseAPI + "/sso/logout?_t=" + (/* @__PURE__ */ new Date()).getTime());
|
|
11
|
+
return e.default.get(window.$vueApp.config.globalProperties.baseAPI + "/sso/logout?_t=" + (/* @__PURE__ */ new Date()).getTime());
|
|
12
12
|
}, isPasswordExpired: function(o2, s2) {
|
|
13
13
|
const t2 = { username: o2, password: s2 };
|
|
14
|
-
return e.post(window.$vueApp.config.globalProperties.baseAPI + "/sso/is-password-expired", t2);
|
|
14
|
+
return e.default.post(window.$vueApp.config.globalProperties.baseAPI + "/sso/is-password-expired", t2);
|
|
15
15
|
}, updatePassword: function(o2) {
|
|
16
|
-
return e.put(window.$vueApp.config.globalProperties.baseAPI + "/acs/users/password", o2);
|
|
17
|
-
}, getCurrentUserPermissionsBySystem: function(o2,
|
|
18
|
-
return
|
|
19
|
-
return window.$vueApp.config.globalProperties.baseAPI, e.get(window.$vueApp.config.globalProperties.baseAPI + "/sso/current-users/mobile-permissions?loginName=" + encodeURI(o3) + "&_t=" + (/* @__PURE__ */ new Date()).getTime());
|
|
20
|
-
}(o2) : (
|
|
16
|
+
return e.default.put(window.$vueApp.config.globalProperties.baseAPI + "/acs/users/password", o2);
|
|
17
|
+
}, getCurrentUserPermissionsBySystem: function(o2, t2) {
|
|
18
|
+
return s.isMobileBrowser() ? function(o3) {
|
|
19
|
+
return window.$vueApp.config.globalProperties.baseAPI, e.default.get(window.$vueApp.config.globalProperties.baseAPI + "/sso/current-users/mobile-permissions?loginName=" + encodeURI(o3) + "&_t=" + (/* @__PURE__ */ new Date()).getTime());
|
|
20
|
+
}(o2) : (t2 && t2 + "" != "null" || (t2 = window.$vueApp.config.globalProperties.customSystem ? window.$vueApp.config.globalProperties.customSystem : window.$vueApp.config.globalProperties.systemCode), e.default.get(window.$vueApp.config.globalProperties.baseAPI + "/sso/current-users/permissions/with-system?loginName=" + encodeURI(o2) + "&systemCode=" + t2 + "&_t=" + (/* @__PURE__ */ new Date()).getTime()));
|
|
21
21
|
}, getUserLanguage: function() {
|
|
22
|
-
const s2 = o();
|
|
22
|
+
const s2 = o.getLanguage();
|
|
23
23
|
return s2 ? new Promise((e2, o2) => {
|
|
24
24
|
e2(s2);
|
|
25
|
-
}) : e.get(window.$vueApp.config.globalProperties.baseAPI + "/acs/user-languages");
|
|
25
|
+
}) : e.default.get(window.$vueApp.config.globalProperties.baseAPI + "/acs/user-languages");
|
|
26
26
|
}, getUserLangAndTheme: function() {
|
|
27
|
-
const
|
|
28
|
-
return
|
|
29
|
-
e2({ lang:
|
|
30
|
-
}) : e.get(window.$vueApp.config.globalProperties.baseAPI + "/component/user-lang-and-theme");
|
|
27
|
+
const s2 = o.getLanguage(), t2 = o.getTheme();
|
|
28
|
+
return s2 && t2 ? new Promise((e2, o2) => {
|
|
29
|
+
e2({ lang: s2, theme: t2 });
|
|
30
|
+
}) : e.default.get(window.$vueApp.config.globalProperties.baseAPI + "/component/user-lang-and-theme");
|
|
31
31
|
}, forgetPasswordSendMail: function(o2) {
|
|
32
|
-
return e.post(window.$vueApp.config.globalProperties.baseAPI + "/sso/forget-passwords/send-mails", o2);
|
|
32
|
+
return e.default.post(window.$vueApp.config.globalProperties.baseAPI + "/sso/forget-passwords/send-mails", o2);
|
|
33
33
|
}, getForgetPasswordMailType: function(o2) {
|
|
34
|
-
return e.get(window.$vueApp.config.globalProperties.baseAPI + "/sso/forget-passwords/mail-type?username=" + o2);
|
|
34
|
+
return e.default.get(window.$vueApp.config.globalProperties.baseAPI + "/sso/forget-passwords/mail-type?username=" + o2);
|
|
35
35
|
}, isResetPasswordJwtOverdue: function(o2) {
|
|
36
36
|
const s2 = { jwt: o2 };
|
|
37
|
-
return e.post(window.$vueApp.config.globalProperties.baseAPI + "/sso/forget-passwords/jwt-overdue", s2);
|
|
37
|
+
return e.default.post(window.$vueApp.config.globalProperties.baseAPI + "/sso/forget-passwords/jwt-overdue", s2);
|
|
38
38
|
}, resetPassword: function(o2, s2) {
|
|
39
39
|
const t2 = { username: o2, password: s2 };
|
|
40
|
-
return e.post(window.$vueApp.config.globalProperties.baseAPI + "/sso/forget-passwords/reset", t2);
|
|
40
|
+
return e.default.post(window.$vueApp.config.globalProperties.baseAPI + "/sso/forget-passwords/reset", t2);
|
|
41
41
|
}, isLoginTimeOut: function() {
|
|
42
|
-
return e.get(window.$vueApp.config.globalProperties.baseAPI + "/sso/current-users/is-login-time-out");
|
|
42
|
+
return e.default.get(window.$vueApp.config.globalProperties.baseAPI + "/sso/current-users/is-login-time-out");
|
|
43
43
|
}, getUserPermissionMenusBySystemCode: function(o2) {
|
|
44
|
-
return o2 || (o2 = window.$vueApp.config.globalProperties.customSystem), o2 || (o2 = window.$vueApp.config.globalProperties.currentSystem), o2 || (o2 = window.$vueApp.config.globalProperties.systemCode), e.get(window.$vueApp.config.globalProperties.baseAPI + "/component/permission-menus/systems/" + o2 + "/with-menu-code");
|
|
45
|
-
}, loginWithValidateCode: function(o2, s2, t2,
|
|
44
|
+
return o2 || (o2 = window.$vueApp.config.globalProperties.customSystem), o2 || (o2 = window.$vueApp.config.globalProperties.currentSystem), o2 || (o2 = window.$vueApp.config.globalProperties.systemCode), e.default.get(window.$vueApp.config.globalProperties.baseAPI + "/component/permission-menus/systems/" + o2 + "/with-menu-code");
|
|
45
|
+
}, loginWithValidateCode: function(o2, s2, t2, n, r) {
|
|
46
46
|
const i = { username: o2, password: s2 };
|
|
47
|
-
return t2 && (i.language = t2),
|
|
47
|
+
return t2 && (i.language = t2), n && (i.validateCode = n), r && (i.imageCodeKey = r), e.default.post(window.$vueApp.config.globalProperties.baseAPI + "/sso/login-with-validate-code", i);
|
|
48
48
|
}, getDevPlatformPermissions: function(o2) {
|
|
49
49
|
let s2;
|
|
50
|
-
return s2 = window.$vueApp.config.globalProperties.customSystem ? window.$vueApp.config.globalProperties.customSystem : window.$vueApp.config.globalProperties.systemCode, e.get(window.$vueApp.config.globalProperties.baseAPI + "/component/devp-permissions?roleCodes=" + o2 + "&_t=" + (/* @__PURE__ */ new Date()).getTime() + "&systemCode=" + s2);
|
|
51
|
-
}, isPasswordExpiredWithValidateCode: function(o2, s2, t2,
|
|
52
|
-
const r = { username: o2, password: s2, validateCode: t2, imageCodeKey:
|
|
53
|
-
return e.post(window.$vueApp.config.globalProperties.baseAPI + "/sso/is-password-expired-with-validate-code", r);
|
|
50
|
+
return s2 = window.$vueApp.config.globalProperties.customSystem ? window.$vueApp.config.globalProperties.customSystem : window.$vueApp.config.globalProperties.systemCode, e.default.get(window.$vueApp.config.globalProperties.baseAPI + "/component/devp-permissions?roleCodes=" + o2 + "&_t=" + (/* @__PURE__ */ new Date()).getTime() + "&systemCode=" + s2);
|
|
51
|
+
}, isPasswordExpiredWithValidateCode: function(o2, s2, t2, n) {
|
|
52
|
+
const r = { username: o2, password: s2, validateCode: t2, imageCodeKey: n };
|
|
53
|
+
return e.default.post(window.$vueApp.config.globalProperties.baseAPI + "/sso/is-password-expired-with-validate-code", r);
|
|
54
54
|
} };
|
|
55
|
-
|
|
56
|
-
n as default
|
|
57
|
-
};
|
|
55
|
+
module.exports = t;
|
package/lib/src/api/tab.js
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = { addTabs(e2, t, o, s) {
|
|
3
|
+
let i, a, m = false;
|
|
4
|
+
if (e2 && (i = e2._menuCode, a = e2._menuName), t && i)
|
|
4
5
|
for (let e3 = 0; e3 < t.length; e3++) {
|
|
5
6
|
const o2 = t[e3];
|
|
6
|
-
if (o2.name,
|
|
7
|
-
this.$store.commit("set_active_index",
|
|
7
|
+
if (o2.name, i && o2.code === i) {
|
|
8
|
+
this.$store.commit("set_active_index", i), m = true;
|
|
8
9
|
break;
|
|
9
10
|
}
|
|
10
11
|
}
|
|
11
|
-
!m &&
|
|
12
|
+
!m && i && (this.$store.commit("add_tabs", { code: i, name: a, routePath: o, routeQuery: e2, fullpath: s }), this.$store.commit("set_active_index", i));
|
|
12
13
|
} };
|
|
13
|
-
|
|
14
|
-
e as default
|
|
15
|
-
};
|
|
14
|
+
module.exports = e;
|