agilebuilder-ui 1.1.65-tmp15 → 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 -382
- 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 -9
- 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 +647 -647
- 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 -3
- package/vite.config.js +22 -22
- package/dist/favicon.svg +0 -29
- package/dist/index.full.min.js +0 -16440
- package/dist/style.css +0 -3078
|
@@ -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
|
};
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
1
3
|
class e {
|
|
2
4
|
constructor() {
|
|
3
5
|
if (new.target === e)
|
|
@@ -10,62 +12,62 @@ class e {
|
|
|
10
12
|
class t extends e {
|
|
11
13
|
constructor(e2) {
|
|
12
14
|
super();
|
|
13
|
-
const t2 = "operator.number.ge", n2 = "operator.number.le", i2 = "operator.number.gt", s2 = "operator.number.lt",
|
|
15
|
+
const t2 = "operator.number.ge", n2 = "operator.number.le", i2 = "operator.number.gt", s2 = "operator.number.lt", r = "operator.number.ne", l = "operator.number.eq", u = "operator.text.neq", f = "operator.text.eq";
|
|
14
16
|
if (e2.indexOf(t2) > 0) {
|
|
15
|
-
const n3 = t2, i3 = e2.substring(0, e2.indexOf(n3)).trim(), s3 = e2.substring(e2.indexOf(n3) + n3.length).trim(),
|
|
16
|
-
this.result = null !==
|
|
17
|
+
const n3 = t2, i3 = e2.substring(0, e2.indexOf(n3)).trim(), s3 = e2.substring(e2.indexOf(n3) + n3.length).trim(), r2 = Number(i3), l2 = Number(s3);
|
|
18
|
+
this.result = null !== r2 && r2 >= l2;
|
|
17
19
|
} else if (e2.indexOf(n2) > 0) {
|
|
18
|
-
const t3 = n2, i3 = e2.substring(0, e2.indexOf(t3)).trim(), s3 = e2.substring(e2.indexOf(t3) + t3.length).trim(),
|
|
19
|
-
this.result = null !==
|
|
20
|
+
const t3 = n2, i3 = e2.substring(0, e2.indexOf(t3)).trim(), s3 = e2.substring(e2.indexOf(t3) + t3.length).trim(), r2 = Number(i3), l2 = Number(s3);
|
|
21
|
+
this.result = null !== r2 && r2 <= l2;
|
|
20
22
|
} else if (e2.indexOf(i2) > 0) {
|
|
21
|
-
const t3 = i2, n3 = e2.substring(0, e2.indexOf(t3)).trim(), s3 = e2.substring(e2.indexOf(t3) + t3.length).trim(),
|
|
22
|
-
this.result = null !==
|
|
23
|
+
const t3 = i2, n3 = e2.substring(0, e2.indexOf(t3)).trim(), s3 = e2.substring(e2.indexOf(t3) + t3.length).trim(), r2 = Number(n3), l2 = Number(s3);
|
|
24
|
+
this.result = null !== r2 && r2 > l2;
|
|
23
25
|
} else if (e2.indexOf(s2) > 0) {
|
|
24
|
-
const t3 = s2, n3 = e2.substring(0, e2.indexOf(t3)).trim(), i3 = e2.substring(e2.indexOf(t3) + t3.length).trim(),
|
|
25
|
-
this.result = null !==
|
|
26
|
-
} else if (e2.indexOf(
|
|
27
|
-
let t3 =
|
|
26
|
+
const t3 = s2, n3 = e2.substring(0, e2.indexOf(t3)).trim(), i3 = e2.substring(e2.indexOf(t3) + t3.length).trim(), r2 = Number(n3), l2 = Number(i3);
|
|
27
|
+
this.result = null !== r2 && r2 < l2;
|
|
28
|
+
} else if (e2.indexOf(r) > 0 || e2.indexOf(u) > 0) {
|
|
29
|
+
let t3 = r;
|
|
28
30
|
e2.indexOf(u) > 0 && (t3 = u);
|
|
29
31
|
const n3 = e2.substring(0, e2.indexOf(t3)).trim(), i3 = e2.substring(e2.indexOf(t3) + t3.length).trim(), s3 = Number(n3), l2 = Number(i3);
|
|
30
32
|
this.result = null !== s3 && s3 !== l2;
|
|
31
33
|
} else if (e2.indexOf(l) > 0 || e2.indexOf(f) > 0) {
|
|
32
34
|
let t3 = l;
|
|
33
35
|
e2.indexOf(f) > 0 && (t3 = f);
|
|
34
|
-
const n3 = e2.substring(0, e2.indexOf(t3)).trim(), i3 = e2.substring(e2.indexOf(t3) + t3.length).trim(), s3 = Number(n3),
|
|
35
|
-
this.isEQEmptyValue(s3, t3,
|
|
36
|
+
const n3 = e2.substring(0, e2.indexOf(t3)).trim(), i3 = e2.substring(e2.indexOf(t3) + t3.length).trim(), s3 = Number(n3), r2 = Number(i3);
|
|
37
|
+
this.isEQEmptyValue(s3, t3, r2) ? this.result = true : this.result = null !== s3 && s3 === r2;
|
|
36
38
|
}
|
|
37
39
|
}
|
|
38
40
|
}
|
|
39
41
|
class n extends e {
|
|
40
42
|
constructor(e2) {
|
|
41
43
|
super();
|
|
42
|
-
const t2 = "operator.number.ge", n2 = "operator.number.le", i2 = "operator.number.gt", s2 = "operator.number.lt",
|
|
44
|
+
const t2 = "operator.number.ge", n2 = "operator.number.le", i2 = "operator.number.gt", s2 = "operator.number.lt", r = "operator.number.ne", l = "operator.number.eq", u = "operator.text.neq", f = "operator.text.eq";
|
|
43
45
|
if (e2.indexOf(t2) > 0) {
|
|
44
46
|
const n3 = t2;
|
|
45
47
|
let i3 = e2.substring(0, e2.indexOf(n3)).trim(), s3 = e2.substring(e2.indexOf(n3) + n3.length).trim();
|
|
46
48
|
i3 || (i3 = "0"), s3 = s3 ? s3.replaceAll("'", "") : "0";
|
|
47
|
-
const
|
|
48
|
-
this.result = null !==
|
|
49
|
+
const r2 = Number(i3), l2 = Number(s3);
|
|
50
|
+
this.result = null !== r2 && r2 >= l2;
|
|
49
51
|
} else if (e2.indexOf(n2) > 0) {
|
|
50
52
|
const t3 = n2;
|
|
51
53
|
let i3 = e2.substring(0, e2.indexOf(t3)).trim(), s3 = e2.substring(e2.indexOf(t3) + t3.length).trim();
|
|
52
54
|
i3 || (i3 = "0"), s3 = s3 ? s3.replaceAll("'", "") : "0";
|
|
53
|
-
const
|
|
54
|
-
this.result = null !==
|
|
55
|
+
const r2 = Number(i3), l2 = Number(s3);
|
|
56
|
+
this.result = null !== r2 && r2 <= l2;
|
|
55
57
|
} else if (e2.indexOf(i2) > 0) {
|
|
56
58
|
const t3 = i2;
|
|
57
59
|
let n3 = e2.substring(0, e2.indexOf(t3)).trim(), s3 = e2.substring(e2.indexOf(t3) + t3.length).trim();
|
|
58
60
|
n3 || (n3 = "0"), s3 = s3 ? s3.replaceAll("'", "") : "0";
|
|
59
|
-
const
|
|
60
|
-
this.result = null !==
|
|
61
|
+
const r2 = Number(n3), l2 = Number(s3);
|
|
62
|
+
this.result = null !== r2 && r2 > l2;
|
|
61
63
|
} else if (e2.indexOf(s2) > 0) {
|
|
62
64
|
const t3 = s2;
|
|
63
65
|
let n3 = e2.substring(0, e2.indexOf(t3)).trim(), i3 = e2.substring(e2.indexOf(t3) + t3.length).trim();
|
|
64
66
|
n3 || (n3 = "0"), i3 = i3 ? i3.replaceAll("'", "") : "0";
|
|
65
|
-
const
|
|
66
|
-
this.result = null !==
|
|
67
|
-
} else if (e2.indexOf(
|
|
68
|
-
let t3 =
|
|
67
|
+
const r2 = Number(n3), l2 = Number(i3);
|
|
68
|
+
this.result = null !== r2 && r2 < l2;
|
|
69
|
+
} else if (e2.indexOf(r) > 0 || e2.indexOf(u) > 0) {
|
|
70
|
+
let t3 = r;
|
|
69
71
|
e2.indexOf(u) > 0 && (t3 = u);
|
|
70
72
|
let n3 = e2.substring(0, e2.indexOf(t3)).trim(), i3 = e2.substring(e2.indexOf(t3) + t3.length).trim();
|
|
71
73
|
n3 || (n3 = "0"), i3 = i3 ? i3.replaceAll("'", "") : "0";
|
|
@@ -76,35 +78,35 @@ class n extends e {
|
|
|
76
78
|
e2.indexOf(f) > 0 && (t3 = f);
|
|
77
79
|
let n3 = e2.substring(0, e2.indexOf(t3)).trim(), i3 = e2.substring(e2.indexOf(t3) + t3.length).trim();
|
|
78
80
|
n3 || (n3 = "0"), i3 = i3 ? i3.replaceAll("'", "") : "0";
|
|
79
|
-
const s3 = Number(n3),
|
|
80
|
-
this.isEQEmptyValue(s3, t3,
|
|
81
|
+
const s3 = Number(n3), r2 = Number(i3);
|
|
82
|
+
this.isEQEmptyValue(s3, t3, r2) ? this.result = true : this.result = null !== s3 && s3 === r2;
|
|
81
83
|
}
|
|
82
84
|
}
|
|
83
85
|
}
|
|
84
86
|
class i extends e {
|
|
85
87
|
constructor(e2, t2) {
|
|
86
88
|
super();
|
|
87
|
-
const n2 = "operator.date.ge", i2 = "operator.date.le", s2 = "operator.date.gt",
|
|
89
|
+
const n2 = "operator.date.ge", i2 = "operator.date.le", s2 = "operator.date.gt", r = "operator.date.lt", l = "operator.date.ne", u = "operator.date.et";
|
|
88
90
|
if (e2.indexOf(n2) > 0) {
|
|
89
91
|
const i3 = n2;
|
|
90
|
-
let s3 = e2.substring(0, e2.indexOf(i3)).trim(),
|
|
91
|
-
t2 && "DATE" === t2 && s3.indexOf(":") > 0 && (s3 = s3.substring(0, s3.indexOf(":"))), t2 && "DATE" === t2 &&
|
|
92
|
-
const l2 = new Date(s3).getTime(), u2 = new Date(
|
|
92
|
+
let s3 = e2.substring(0, e2.indexOf(i3)).trim(), r2 = e2.substring(e2.indexOf(i3) + i3.length).trim();
|
|
93
|
+
t2 && "DATE" === t2 && s3.indexOf(":") > 0 && (s3 = s3.substring(0, s3.indexOf(":"))), t2 && "DATE" === t2 && r2.indexOf(":") > 0 && (r2 = r2.substring(0, r2.indexOf(":")));
|
|
94
|
+
const l2 = new Date(s3).getTime(), u2 = new Date(r2).getTime();
|
|
93
95
|
this.result = null !== l2 && l2 >= u2;
|
|
94
96
|
} else if (e2.indexOf(i2) > 0) {
|
|
95
97
|
const n3 = i2;
|
|
96
|
-
let s3 = e2.substring(0, e2.indexOf(n3)).trim(),
|
|
97
|
-
t2 && "DATE" === t2 && s3.indexOf(":") > 0 && (s3 = s3.substring(0, s3.indexOf(":"))), t2 && "DATE" === t2 &&
|
|
98
|
-
const l2 = new Date(s3).getTime(), u2 = new Date(
|
|
98
|
+
let s3 = e2.substring(0, e2.indexOf(n3)).trim(), r2 = e2.substring(e2.indexOf(n3) + n3.length).trim();
|
|
99
|
+
t2 && "DATE" === t2 && s3.indexOf(":") > 0 && (s3 = s3.substring(0, s3.indexOf(":"))), t2 && "DATE" === t2 && r2.indexOf(":") > 0 && (r2 = r2.substring(0, r2.indexOf(":")));
|
|
100
|
+
const l2 = new Date(s3).getTime(), u2 = new Date(r2).getTime();
|
|
99
101
|
this.result = null !== l2 && l2 <= u2;
|
|
100
102
|
} else if (e2.indexOf(s2) > 0) {
|
|
101
103
|
const n3 = s2;
|
|
102
|
-
let i3 = e2.substring(0, e2.indexOf(n3)).trim(),
|
|
103
|
-
t2 && "DATE" === t2 && i3.indexOf(":") > 0 && (i3 = i3.substring(0, i3.indexOf(":"))), t2 && "DATE" === t2 &&
|
|
104
|
-
const l2 = new Date(i3).getTime(), u2 = new Date(
|
|
104
|
+
let i3 = e2.substring(0, e2.indexOf(n3)).trim(), r2 = e2.substring(e2.indexOf(n3) + n3.length).trim();
|
|
105
|
+
t2 && "DATE" === t2 && i3.indexOf(":") > 0 && (i3 = i3.substring(0, i3.indexOf(":"))), t2 && "DATE" === t2 && r2.indexOf(":") > 0 && (r2 = r2.substring(0, r2.indexOf(":")));
|
|
106
|
+
const l2 = new Date(i3).getTime(), u2 = new Date(r2).getTime();
|
|
105
107
|
this.result = null !== l2 && l2 > u2;
|
|
106
|
-
} else if (e2.indexOf(
|
|
107
|
-
const n3 =
|
|
108
|
+
} else if (e2.indexOf(r) > 0) {
|
|
109
|
+
const n3 = r;
|
|
108
110
|
let i3 = e2.substring(0, e2.indexOf(n3)).trim(), s3 = e2.substring(e2.indexOf(n3) + n3.length).trim();
|
|
109
111
|
t2 && "DATE" === t2 && i3.indexOf(":") > 0 && (i3 = i3.substring(0, i3.indexOf(":"))), t2 && "DATE" === t2 && s3.indexOf(":") > 0 && (s3 = s3.substring(0, s3.indexOf(":")));
|
|
110
112
|
const l2 = new Date(i3).getTime(), u2 = new Date(s3).getTime();
|
|
@@ -113,23 +115,23 @@ class i extends e {
|
|
|
113
115
|
const n3 = l;
|
|
114
116
|
let i3 = e2.substring(0, e2.indexOf(n3)).trim(), s3 = e2.substring(e2.indexOf(n3) + n3.length).trim();
|
|
115
117
|
t2 && "DATE" === t2 && i3.indexOf(":") > 0 && (i3 = i3.substring(0, i3.indexOf(":"))), t2 && "DATE" === t2 && s3.indexOf(":") > 0 && (s3 = s3.substring(0, s3.indexOf(":")));
|
|
116
|
-
const
|
|
117
|
-
this.result = null !==
|
|
118
|
+
const r2 = new Date(i3).getTime(), u2 = new Date(s3).getTime();
|
|
119
|
+
this.result = null !== r2 && r2 !== u2;
|
|
118
120
|
} else if (e2.indexOf(u) > 0) {
|
|
119
121
|
const n3 = u;
|
|
120
122
|
let i3 = e2.substring(0, e2.indexOf(n3)).trim(), s3 = e2.substring(e2.indexOf(n3) + n3.length).trim();
|
|
121
123
|
t2 && "DATE" === t2 && i3.indexOf(":") > 0 && (i3 = i3.substring(0, i3.indexOf(":"))), t2 && "DATE" === t2 && s3.indexOf(":") > 0 && (s3 = s3.substring(0, s3.indexOf(":")));
|
|
122
|
-
const
|
|
123
|
-
this.isEQEmptyValue(
|
|
124
|
+
const r2 = new Date(i3).getTime(), l2 = new Date(s3).getTime();
|
|
125
|
+
this.isEQEmptyValue(r2, n3, l2) ? this.result = true : this.result = null !== r2 && r2 === l2;
|
|
124
126
|
}
|
|
125
127
|
}
|
|
126
128
|
}
|
|
127
129
|
class s extends e {
|
|
128
130
|
constructor(e2) {
|
|
129
131
|
super();
|
|
130
|
-
const t2 = "operator.text.neq", n2 = "operator.text.eq", i2 = "operator.text.contain.not", s2 = "operator.text.contain",
|
|
131
|
-
if (e2.indexOf(
|
|
132
|
-
const t3 = e2.substring(0, e2.indexOf(
|
|
132
|
+
const t2 = "operator.text.neq", n2 = "operator.text.eq", i2 = "operator.text.contain.not", s2 = "operator.text.contain", r = "operator.text.not.null";
|
|
133
|
+
if (e2.indexOf(r) > 0) {
|
|
134
|
+
const t3 = e2.substring(0, e2.indexOf(r)).trim();
|
|
133
135
|
this.result = !(null == t3 || "null" === t3 || "undefined" === t3 || "" === t3);
|
|
134
136
|
} else if (e2.indexOf(t2) > 0) {
|
|
135
137
|
const n3 = t2, i3 = e2.substring(0, e2.indexOf(n3)).trim(), s3 = e2.substring(e2.indexOf(n3) + n3.length).trim();
|
|
@@ -146,7 +148,7 @@ class s extends e {
|
|
|
146
148
|
}
|
|
147
149
|
}
|
|
148
150
|
}
|
|
149
|
-
function
|
|
151
|
+
exports.getAbstractUserFactoryWf = function(e2) {
|
|
150
152
|
switch (e2) {
|
|
151
153
|
case "TEXT":
|
|
152
154
|
default:
|
|
@@ -161,7 +163,4 @@ function r(e2) {
|
|
|
161
163
|
case "TIME":
|
|
162
164
|
return i;
|
|
163
165
|
}
|
|
164
|
-
}
|
|
165
|
-
export {
|
|
166
|
-
r as getAbstractUserFactoryWf
|
|
167
166
|
};
|
|
@@ -1,81 +1,83 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
class e {
|
|
2
4
|
constructor() {
|
|
3
|
-
if (new.target ===
|
|
5
|
+
if (new.target === e)
|
|
4
6
|
throw new Error("抽象类不能实例化!");
|
|
5
7
|
}
|
|
6
|
-
isNullValue(
|
|
7
|
-
return (null ==
|
|
8
|
+
isNullValue(e2, s2) {
|
|
9
|
+
return (null == e2 || e2 + "" == "") && "IS_NULL" === s2;
|
|
8
10
|
}
|
|
9
|
-
isNotNullValue(
|
|
10
|
-
return null !=
|
|
11
|
+
isNotNullValue(e2, s2) {
|
|
12
|
+
return null != e2 && e2 + "" != "" && "IS_NOT_NULL" === s2;
|
|
11
13
|
}
|
|
12
|
-
isEQEmptyValue(
|
|
13
|
-
return !(null !=
|
|
14
|
+
isEQEmptyValue(e2, s2, l2) {
|
|
15
|
+
return !(null != e2 && e2 + "" != "" || null != l2 && l2 + "" != "" || "EQ" !== s2 && "CONTAIN" !== s2);
|
|
14
16
|
}
|
|
15
17
|
}
|
|
16
|
-
class
|
|
17
|
-
constructor(
|
|
18
|
-
if (super(), this.isNotNullValue(
|
|
18
|
+
class s extends e {
|
|
19
|
+
constructor(e2, s2, l2) {
|
|
20
|
+
if (super(), this.isNotNullValue(e2, s2))
|
|
19
21
|
this.result = true;
|
|
20
|
-
else if (this.isNullValue(
|
|
22
|
+
else if (this.isNullValue(e2, s2))
|
|
21
23
|
this.result = true;
|
|
22
|
-
else if (this.isEQEmptyValue(
|
|
24
|
+
else if (this.isEQEmptyValue(e2, s2, l2))
|
|
23
25
|
this.result = true;
|
|
24
|
-
else if (null ==
|
|
26
|
+
else if (null == e2)
|
|
25
27
|
this.result = false;
|
|
26
28
|
else {
|
|
27
|
-
const
|
|
28
|
-
if ("GET" ===
|
|
29
|
-
this.result =
|
|
30
|
-
else if ("LET" ===
|
|
31
|
-
this.result =
|
|
32
|
-
else if ("GT" ===
|
|
33
|
-
this.result =
|
|
34
|
-
else if ("LT" ===
|
|
35
|
-
this.result =
|
|
36
|
-
else if ("NET" ===
|
|
37
|
-
this.result =
|
|
38
|
-
else if ("EQ" ===
|
|
39
|
-
this.result =
|
|
40
|
-
else if ("IS_NULL" ===
|
|
41
|
-
this.result = null ==
|
|
29
|
+
const t = Number(e2 + ""), i = Number(l2 + "");
|
|
30
|
+
if ("GET" === s2)
|
|
31
|
+
this.result = t >= i;
|
|
32
|
+
else if ("LET" === s2)
|
|
33
|
+
this.result = t <= i;
|
|
34
|
+
else if ("GT" === s2)
|
|
35
|
+
this.result = t > i;
|
|
36
|
+
else if ("LT" === s2)
|
|
37
|
+
this.result = t < i;
|
|
38
|
+
else if ("NET" === s2)
|
|
39
|
+
this.result = t !== i;
|
|
40
|
+
else if ("EQ" === s2)
|
|
41
|
+
this.result = t === i;
|
|
42
|
+
else if ("IS_NULL" === s2)
|
|
43
|
+
this.result = null == e2;
|
|
42
44
|
else {
|
|
43
|
-
if ("IS_NOT_NULL" !==
|
|
44
|
-
throw new Error("表达式不合法:" +
|
|
45
|
-
this.result = null !=
|
|
45
|
+
if ("IS_NOT_NULL" !== s2)
|
|
46
|
+
throw new Error("表达式不合法:" + e2 + " " + s2 + " " + l2);
|
|
47
|
+
this.result = null != e2;
|
|
46
48
|
}
|
|
47
49
|
}
|
|
48
50
|
}
|
|
49
51
|
}
|
|
50
|
-
class l extends
|
|
51
|
-
constructor(
|
|
52
|
-
if (super(), this.isNullValue(
|
|
52
|
+
class l extends e {
|
|
53
|
+
constructor(e2, s2, l2) {
|
|
54
|
+
if (super(), this.isNullValue(e2, s2))
|
|
53
55
|
this.result = true;
|
|
54
|
-
else if (this.isEQEmptyValue(
|
|
56
|
+
else if (this.isEQEmptyValue(e2, s2, l2))
|
|
55
57
|
this.result = true;
|
|
56
|
-
else if (this.isNotNullValue(
|
|
58
|
+
else if (this.isNotNullValue(e2, s2))
|
|
57
59
|
this.result = true;
|
|
58
|
-
else if (null ==
|
|
59
|
-
this.result = "NET" ===
|
|
60
|
-
else if ("NET" ===
|
|
61
|
-
this.result =
|
|
62
|
-
else if ("EQ" ===
|
|
63
|
-
this.result =
|
|
64
|
-
else if ("NOT_CONTAIN" ===
|
|
65
|
-
this.result = !(
|
|
66
|
-
else if ("CONTAIN" ===
|
|
67
|
-
this.result = (
|
|
68
|
-
else if ("IS_NULL" ===
|
|
69
|
-
this.result = null ==
|
|
60
|
+
else if (null == e2)
|
|
61
|
+
this.result = "NET" === s2 ? e2 + "" != l2 + "" : "EQ" === s2 && e2 + "" == l2 + "";
|
|
62
|
+
else if ("NET" === s2)
|
|
63
|
+
this.result = e2 + "" != l2 + "";
|
|
64
|
+
else if ("EQ" === s2)
|
|
65
|
+
this.result = e2 + "" == l2 + "";
|
|
66
|
+
else if ("NOT_CONTAIN" === s2)
|
|
67
|
+
this.result = !(e2 + "").includes(l2 + "");
|
|
68
|
+
else if ("CONTAIN" === s2)
|
|
69
|
+
this.result = (e2 + "").includes(l2 + "");
|
|
70
|
+
else if ("IS_NULL" === s2)
|
|
71
|
+
this.result = null == e2 || "" === e2;
|
|
70
72
|
else {
|
|
71
|
-
if ("IS_NOT_NULL" !==
|
|
72
|
-
throw new Error("表达式不合法:" +
|
|
73
|
-
this.result = null !=
|
|
73
|
+
if ("IS_NOT_NULL" !== s2)
|
|
74
|
+
throw new Error("表达式不合法:" + e2 + " " + s2 + " " + l2);
|
|
75
|
+
this.result = null != e2 && "" !== e2;
|
|
74
76
|
}
|
|
75
77
|
}
|
|
76
78
|
}
|
|
77
|
-
function
|
|
78
|
-
switch (
|
|
79
|
+
exports.getAbstractUserFactory = function(e2) {
|
|
80
|
+
switch (e2) {
|
|
79
81
|
case "TEXT":
|
|
80
82
|
default:
|
|
81
83
|
return l;
|
|
@@ -85,9 +87,6 @@ function t(s2) {
|
|
|
85
87
|
case "LONG":
|
|
86
88
|
case "DATE":
|
|
87
89
|
case "TIME":
|
|
88
|
-
return
|
|
90
|
+
return s;
|
|
89
91
|
}
|
|
90
|
-
}
|
|
91
|
-
export {
|
|
92
|
-
t as getAbstractUserFactory
|
|
93
92
|
};
|