agilebuilder-ui 1.1.65-tmp7 → 1.1.65-tmp9
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/directives/prevent-reclick.js +1 -1
- package/lib/index.js +131 -131
- package/lib/json-view/json-view.vue2.js +8 -8
- package/lib/plugins/export-data-new.js +1 -1
- package/lib/rich-editor/index.vue.js +3 -3
- package/lib/style.css +602 -602
- package/package.json +1 -1
- package/vite.config.js +54 -3
- package/lib/IntervalSelection/src/sectionDate.vue.js +0 -49
- package/lib/IntervalSelection/src/sectionDate.vue2.js +0 -4
- package/lib/breadcrumb/src/breadcrumb.vue.js +0 -28
- package/lib/breadcrumb/src/breadcrumb.vue2.js +0 -4
- package/lib/chat-embed/src/chat-addition-data.vue.js +0 -7
- package/lib/chat-embed/src/chat-addition-data.vue2.js +0 -14
- package/lib/chat-embed/src/chat-addition-data.vue3.js +0 -4
- package/lib/chat-embed/src/chat-ai-answer-tip.vue.js +0 -7
- package/lib/chat-embed/src/chat-ai-answer-tip.vue2.js +0 -29
- package/lib/chat-embed/src/chat-ai-answer-tip.vue3.js +0 -4
- package/lib/chat-embed/src/chat-bubble-footer.vue.js +0 -7
- package/lib/chat-embed/src/chat-bubble-footer.vue2.js +0 -33
- package/lib/chat-embed/src/chat-bubble-footer.vue3.js +0 -4
- package/lib/chat-embed/src/chat-embed-message.js +0 -22
- package/lib/chat-embed/src/chat-sender.vue.js +0 -7
- package/lib/chat-embed/src/chat-sender.vue2.js +0 -157
- package/lib/chat-embed/src/chat-sender.vue3.js +0 -4
- package/lib/chat-embed/src/components/answer-auto-chart.vue.js +0 -7
- package/lib/chat-embed/src/components/answer-auto-chart.vue2.js +0 -59
- package/lib/chat-embed/src/components/answer-auto-chart.vue3.js +0 -4
- package/lib/chat-embed/src/components/answer-home-chart.vue.js +0 -7
- package/lib/chat-embed/src/components/answer-home-chart.vue2.js +0 -6
- package/lib/chat-embed/src/components/answer-home-chart.vue3.js +0 -4
- package/lib/chat-embed/src/components/answer-interaction-data.vue.js +0 -7
- package/lib/chat-embed/src/components/answer-interaction-data.vue2.js +0 -118
- package/lib/chat-embed/src/components/answer-interaction-data.vue3.js +0 -4
- package/lib/chat-embed/src/components/history-detail.vue.js +0 -7
- package/lib/chat-embed/src/components/history-detail.vue2.js +0 -55
- package/lib/chat-embed/src/components/history-detail.vue3.js +0 -4
- package/lib/chat-embed/src/header.vue.js +0 -7
- package/lib/chat-embed/src/header.vue2.js +0 -46
- package/lib/chat-embed/src/header.vue3.js +0 -4
- package/lib/chat-embed/src/index.vue.js +0 -7
- package/lib/chat-embed/src/index.vue2.js +0 -303
- package/lib/chat-embed/src/index.vue3.js +0 -4
- package/lib/chat-embed/src/recommendation-message.vue.js +0 -7
- package/lib/chat-embed/src/recommendation-message.vue2.js +0 -8
- package/lib/chat-embed/src/recommendation-message.vue3.js +0 -4
- package/lib/chat-embed/src/sidebar-item.vue.js +0 -7
- package/lib/chat-embed/src/sidebar-item.vue2.js +0 -118
- package/lib/chat-embed/src/sidebar-item.vue3.js +0 -4
- package/lib/chat-embed/src/type.js +0 -5
- package/lib/chat-embed/src/util/chat-embed-util.js +0 -57
- package/lib/chat-embed/src/util/history-message-util.js +0 -96
- package/lib/chat-embed/src/util/mcp-utils.js +0 -53
- package/lib/chat-embed/src/util/text-file-util.js +0 -12
- package/lib/chat-embed/src/voice/index.js +0 -7
- package/lib/chat-embed/src/voice/js/crypto-js.js +0 -1013
- package/lib/chat-embed/src/voice/js/processor/index.umd.js +0 -178
- package/lib/chat-embed/src/voice/js/timer.js +0 -11
- package/lib/chat-embed/src/voice/voice.vue.js +0 -103
- package/lib/department-tree/src/department-tree.vue.js +0 -23
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue.js +0 -91
- package/lib/department-tree-inline/src/department-multi-tree-inline.vue2.js +0 -4
- package/lib/department-tree-inline/src/department-single-tree-inline.vue.js +0 -64
- package/lib/department-tree-inline/src/department-single-tree-inline.vue2.js +0 -4
- package/lib/department-tree-inline/src/department-tree-inline.vue.js +0 -17
- package/lib/department-tree-inline/src/department-tree-service.js +0 -108
- package/lib/department-tree-inline/src/search-result.vue.js +0 -39
- package/lib/department-tree-inline/src/search-result.vue2.js +0 -4
- package/lib/department-tree-mobile/src/department-tree-app.vue.js +0 -15
- package/lib/department-tree-mobile/src/department-tree-app.vue2.js +0 -4
- package/lib/department-tree-mobile/src/department-tree-app.vue3.js +0 -5
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue.js +0 -121
- package/lib/department-tree-mobile/src/department-tree-inline-app.vue2.js +0 -4
- package/lib/department-tree-mobile/src/department-tree-service.js +0 -55
- package/lib/department-tree-mobile/src/dept-path.vue.js +0 -14
- package/lib/department-tree-mobile/src/dept-path.vue2.js +0 -4
- package/lib/department-tree-mobile/src/dept-result.vue.js +0 -16
- package/lib/department-tree-mobile/src/dept-result.vue2.js +0 -4
- package/lib/department-user-tree/src/department-user-multiple-tree.vue.js +0 -20
- package/lib/department-user-tree/src/department-user-multiple-tree.vue2.js +0 -4
- package/lib/department-user-tree/src/department-user-single-tree.vue.js +0 -19
- package/lib/department-user-tree/src/department-user-tree.vue.js +0 -27
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.js +0 -165
- package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.js +0 -4
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.js +0 -69
- package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue2.js +0 -4
- package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.js +0 -16
- package/lib/department-user-tree-inline/src/department-user-tree-multi-service.js +0 -81
- package/lib/department-user-tree-inline/src/department-user-tree-single-service.js +0 -54
- package/lib/department-user-tree-inline/src/group-user/group-input.vue.js +0 -39
- package/lib/department-user-tree-inline/src/group-user/group-list.vue.js +0 -27
- package/lib/department-user-tree-inline/src/group-user/group-user.vue.js +0 -16
- package/lib/department-user-tree-inline/src/group-user-multiple-tree.vue.js +0 -78
- package/lib/department-user-tree-inline/src/group-user-single-tree.vue.js +0 -34
- package/lib/department-user-tree-inline/src/group-user-tree-service.js +0 -34
- package/lib/department-user-tree-inline/src/search-result.vue.js +0 -41
- package/lib/department-user-tree-inline/src/search-result.vue2.js +0 -4
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.js +0 -15
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue2.js +0 -4
- package/lib/department-user-tree-mobile/src/department-user-tree-app.vue3.js +0 -5
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.js +0 -135
- package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.js +0 -4
- package/lib/department-user-tree-mobile/src/department-user-tree-service.js +0 -38
- package/lib/department-user-tree-mobile/src/dept-path.vue.js +0 -14
- package/lib/department-user-tree-mobile/src/dept-path.vue2.js +0 -4
- package/lib/department-user-tree-mobile/src/dept-result.vue.js +0 -17
- package/lib/department-user-tree-mobile/src/dept-result.vue2.js +0 -4
- package/lib/dynamic-source-select/src/dynamic-source-select-service.js +0 -32
- package/lib/dynamic-source-select/src/dynamic-source-select.vue.js +0 -275
- package/lib/dynamic-source-select/src/dynamic-source-select.vue2.js +0 -4
- package/lib/dynamic-source-select/src/dynamic-source-select.vue3.js +0 -4
- package/lib/dynamic-source-select/src/events.js +0 -29
- package/lib/fs-preview/src/fs-preview.vue.js +0 -120
- package/lib/fs-preview/src/fs-preview.vue2.js +0 -4
- package/lib/fs-upload/src/fs-upload-multi.vue.js +0 -71
- package/lib/fs-upload/src/fs-upload-single.vue.js +0 -73
- package/lib/fs-upload/src/fs-upload.vue.js +0 -24
- package/lib/fs-upload/src/see-big-picture.vue.js +0 -12
- package/lib/fs-upload-list/src/fs-upload-list.vue.js +0 -97
- package/lib/fs-upload-list/src/fs-upload-list.vue2.js +0 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.js +0 -61
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.js +0 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.js +0 -178
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.js +0 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.js +0 -7
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.js +0 -38
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.js +0 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.js +0 -45
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.js +0 -4
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.js +0 -35
- package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue2.js +0 -4
- package/lib/fs-upload-new/src/fs-button-upload.vue.js +0 -7
- package/lib/fs-upload-new/src/fs-button-upload.vue2.js +0 -62
- package/lib/fs-upload-new/src/fs-button-upload.vue3.js +0 -4
- package/lib/fs-upload-new/src/fs-drag-upload.vue.js +0 -7
- package/lib/fs-upload-new/src/fs-drag-upload.vue2.js +0 -63
- package/lib/fs-upload-new/src/fs-drag-upload.vue3.js +0 -4
- package/lib/fs-upload-new/src/fs-preview-new.vue.js +0 -8
- package/lib/fs-upload-new/src/fs-preview-new.vue2.js +0 -93
- package/lib/fs-upload-new/src/fs-preview-new.vue3.js +0 -4
- package/lib/fs-upload-new/src/fs-preview-new.vue4.js +0 -4
- package/lib/fs-upload-new/src/fs-upload-new.vue.js +0 -65
- package/lib/fs-upload-new/src/fs-upload-new.vue2.js +0 -4
- package/lib/hamburger/src/hamburger.vue.js +0 -15
- package/lib/hamburger/src/hamburger.vue2.js +0 -4
- package/lib/multipart-upload/src/index.vue.js +0 -13
- package/lib/multipart-upload/src/multipart-upload-form.vue.js +0 -82
- package/lib/multipart-upload/src/multipart-upload-list.vue.js +0 -101
- package/lib/organization-input/src/organization-input.vue.js +0 -224
- package/lib/organization-input/src/organization-input.vue2.js +0 -4
- package/lib/remove-department/src/remove-department.vue.js +0 -33
- package/lib/remove-department/src/remove-dept-service.js +0 -13
- package/lib/remove-user/src/remove-user-service.js +0 -13
- package/lib/remove-user/src/remove-user.vue.js +0 -35
- package/lib/remove-workgroup/src/remove-workgroup-service.js +0 -13
- package/lib/remove-workgroup/src/remove-workgroup.vue.js +0 -31
- package/lib/scan-code-input/src/events.js +0 -15
- package/lib/scan-code-input/src/scan-code-input.vue.js +0 -32
- package/lib/scan-code-input-browser/src/scan-code-input.vue.js +0 -39
- package/lib/src/api/sso-service.js +0 -57
- package/lib/src/api/tab.js +0 -15
- package/lib/src/assets/401/401.gif.js +0 -4
- package/lib/src/assets/404/404-cloud.png.js +0 -4
- package/lib/src/assets/404/404.png.js +0 -4
- package/lib/src/assets/chat-embed/robot.gif.js +0 -4
- package/lib/src/assets/chat-embed/robot.svg.js +0 -4
- package/lib/src/assets/nonemessage.png.js +0 -4
- package/lib/src/components/Affix/index.vue.js +0 -7
- package/lib/src/components/Affix/index.vue2.js +0 -81
- package/lib/src/components/Affix/index.vue3.js +0 -4
- package/lib/src/components/Card/index.js +0 -48
- package/lib/src/components/Scrollbar/index.vue.js +0 -51
- package/lib/src/components/Scrollbar/index.vue2.js +0 -4
- package/lib/src/directives/permission/index.js +0 -7
- package/lib/src/directives/permission/permission.js +0 -11
- package/lib/src/i18n/i18n.js +0 -7
- package/lib/src/i18n/langs/cn.js +0 -4
- package/lib/src/i18n/langs/en.js +0 -4
- package/lib/src/mixins/resizeMixin.js +0 -21
- package/lib/src/permission.js +0 -78
- package/lib/src/router/index.js +0 -9
- package/lib/src/store/getters.js +0 -4
- package/lib/src/store/index.js +0 -13
- package/lib/src/store/modules/app.js +0 -41
- package/lib/src/store/modules/chat-ai-store.js +0 -36
- package/lib/src/store/modules/permission.js +0 -31
- package/lib/src/store/modules/system.js +0 -12
- package/lib/src/store/modules/tab-content.js +0 -20
- package/lib/src/store/modules/table.js +0 -18
- package/lib/src/store/modules/user.js +0 -139
- package/lib/src/utils/auth-api.js +0 -134
- package/lib/src/utils/auth.js +0 -156
- package/lib/src/utils/calculator/calculator-factory-wf.js +0 -167
- package/lib/src/utils/calculator/calculator-factory.js +0 -93
- package/lib/src/utils/calculator/calculator-util.js +0 -54
- package/lib/src/utils/chat-ai-util.js +0 -30
- package/lib/src/utils/common-util.js +0 -438
- package/lib/src/utils/eventBus.js +0 -6
- package/lib/src/utils/file-util.js +0 -23
- package/lib/src/utils/global-prop.js +0 -38
- package/lib/src/utils/guid.js +0 -10
- package/lib/src/utils/i18n-util.js +0 -70
- package/lib/src/utils/iconUtils.js +0 -26
- package/lib/src/utils/index.js +0 -46
- package/lib/src/utils/insert_css.js +0 -16
- package/lib/src/utils/json-util.js +0 -47
- package/lib/src/utils/jump-page-utils.js +0 -264
- package/lib/src/utils/local-storage.js +0 -19
- package/lib/src/utils/menu.js +0 -14
- package/lib/src/utils/permission.js +0 -45
- package/lib/src/utils/permissionAuth.js +0 -153
- package/lib/src/utils/range-selector.js +0 -105
- package/lib/src/utils/request.js +0 -140
- package/lib/src/utils/resize.js +0 -11
- package/lib/src/utils/restful-interface-utils.js +0 -18
- package/lib/src/utils/util.js +0 -361
- package/lib/src/utils/validate.js +0 -22
- package/lib/src/utils/voice-setting-cache.js +0 -211
- package/lib/src/utils/watermark-cache.js +0 -15
- package/lib/src/utils/watermark.js +0 -40
- package/lib/src/utils/workflow-util.js +0 -42
- package/lib/src/views/dsc-component/Sidebar/Item.vue.js +0 -7
- package/lib/src/views/dsc-component/Sidebar/Item.vue2.js +0 -12
- package/lib/src/views/dsc-component/Sidebar/Item.vue3.js +0 -4
- package/lib/src/views/dsc-component/Sidebar/Link.vue.js +0 -14
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue.js +0 -53
- package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue2.js +0 -4
- package/lib/src/views/dsc-component/Sidebar/index.vue.js +0 -111
- package/lib/src/views/dsc-component/tabs/tab-content.vue.js +0 -63
- package/lib/src/views/dsc-component/tabs/tab-content.vue2.js +0 -4
- package/lib/src/views/dsc-component/tabs/tab-content.vue3.js +0 -4
- package/lib/src/views/error-page/401.vue.js +0 -15
- package/lib/src/views/error-page/401.vue2.js +0 -4
- package/lib/src/views/error-page/404.vue.js +0 -12
- package/lib/src/views/error-page/404.vue2.js +0 -4
- package/lib/src/views/layout/EmptyLayout.vue.js +0 -9
- package/lib/src/views/layout/Layout.vue.js +0 -28
- package/lib/src/views/layout/Layout.vue2.js +0 -4
- package/lib/src/views/layout/NewLayout.vue.js +0 -11
- package/lib/src/views/layout/components/AppMain.vue.js +0 -13
- package/lib/src/views/layout/components/AppMain.vue2.js +0 -4
- package/lib/src/views/layout/components/Breadcrumb/index.vue.js +0 -48
- package/lib/src/views/layout/components/Breadcrumb/index.vue2.js +0 -4
- package/lib/src/views/layout/components/Menubar/Item.vue.js +0 -7
- package/lib/src/views/layout/components/Menubar/Item.vue2.js +0 -15
- package/lib/src/views/layout/components/Menubar/Item.vue3.js +0 -4
- package/lib/src/views/layout/components/Menubar/Link.vue.js +0 -14
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue.js +0 -56
- package/lib/src/views/layout/components/Menubar/SidebarItem.vue2.js +0 -4
- package/lib/src/views/layout/components/Menubar/index.vue.js +0 -90
- package/lib/src/views/layout/components/Sidebar/Item.vue.js +0 -9
- package/lib/src/views/layout/components/Sidebar/Item.vue2.js +0 -4
- package/lib/src/views/layout/components/Sidebar/Link.vue.js +0 -12
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue.js +0 -22
- package/lib/src/views/layout/components/Sidebar/SidebarItem.vue2.js +0 -4
- package/lib/src/views/layout/components/Sidebar/index.vue.js +0 -58
- package/lib/src/views/layout/components/iframe-page.vue.js +0 -14
- package/lib/src/views/layout/components/iframe-page.vue2.js +0 -4
- package/lib/src/views/layout/components/tabs/tab-content.vue.js +0 -62
- package/lib/src/views/layout/components/tabs/tab-content.vue2.js +0 -4
- package/lib/src/views/layout/components/tabs/tab-content.vue3.js +0 -4
- package/lib/src/views/layout/mixin/ResizeHandler.js +0 -16
- package/lib/src/views/layout/tab-content-iframe-index.vue.js +0 -14
- package/lib/src/views/layout/tab-content-iframe-index.vue2.js +0 -4
- package/lib/src/views/layout/tab-content-index.vue.js +0 -28
- package/lib/src/views/layout/tab-content-index.vue2.js +0 -4
- package/lib/src/views/login/authredirect.vue.js +0 -7
- package/lib/src/views/redirect/index.vue.js +0 -8
- package/lib/src/views/svg-icon/src/svg-icon.vue.js +0 -4
- package/lib/src/views/wf-history/tache-subprocess-history.vue.js +0 -14
- package/lib/src/views/wf-history/tache-subprocess-history.vue2.js +0 -4
- package/lib/super-grid/src/apis.js +0 -458
- package/lib/super-grid/src/columns-config.vue.js +0 -81
- package/lib/super-grid/src/components/grid-icon.vue.js +0 -47
- package/lib/super-grid/src/components/grid-radio-input.vue.js +0 -25
- package/lib/super-grid/src/components/grid-radio-input.vue2.js +0 -4
- package/lib/super-grid/src/components/mobile-table-card.js +0 -109
- package/lib/super-grid/src/components/select-input.vue.js +0 -148
- package/lib/super-grid/src/components/select-input.vue2.js +0 -4
- package/lib/super-grid/src/custom-formatter.js +0 -167
- package/lib/super-grid/src/dynamic-input.vue.js +0 -481
- package/lib/super-grid/src/eventBus.js +0 -6
- package/lib/super-grid/src/events.js +0 -37
- package/lib/super-grid/src/formValidatorUtil.js +0 -109
- package/lib/super-grid/src/formatter.js +0 -74
- package/lib/super-grid/src/group-column.vue.js +0 -24
- package/lib/super-grid/src/header-context-menu.vue.js +0 -14
- package/lib/super-grid/src/header-context-menu.vue2.js +0 -4
- package/lib/super-grid/src/index-column.vue.js +0 -22
- package/lib/super-grid/src/normal-column-content.vue.js +0 -318
- package/lib/super-grid/src/normal-column-content.vue2.js +0 -4
- package/lib/super-grid/src/normal-column.vue.js +0 -106
- package/lib/super-grid/src/normal-column.vue2.js +0 -4
- package/lib/super-grid/src/public-methods.js +0 -22
- package/lib/super-grid/src/row-detail.vue.js +0 -14
- package/lib/super-grid/src/row-operation.vue.js +0 -89
- package/lib/super-grid/src/row-operation.vue2.js +0 -4
- package/lib/super-grid/src/scan-util.js +0 -100
- package/lib/super-grid/src/search-button.vue.js +0 -23
- package/lib/super-grid/src/search-condition-input.vue.js +0 -17
- package/lib/super-grid/src/search-condition-list.vue.js +0 -20
- package/lib/super-grid/src/search-form-advancedQuery.vue.js +0 -116
- package/lib/super-grid/src/search-form-advancedQuery.vue2.js +0 -4
- package/lib/super-grid/src/search-form-dialog.vue.js +0 -16
- package/lib/super-grid/src/search-form-item.vue.js +0 -128
- package/lib/super-grid/src/search-form-item.vue2.js +0 -4
- package/lib/super-grid/src/search-form-mobile.vue.js +0 -41
- package/lib/super-grid/src/search-form-mobile.vue2.js +0 -4
- package/lib/super-grid/src/search-form-number.vue.js +0 -26
- package/lib/super-grid/src/search-form-open.vue.js +0 -50
- package/lib/super-grid/src/search-form-ordinarySearch.vue.js +0 -39
- package/lib/super-grid/src/search-form-ordinarySearch.vue2.js +0 -4
- package/lib/super-grid/src/search-form.vue.js +0 -201
- package/lib/super-grid/src/search-form.vue2.js +0 -4
- package/lib/super-grid/src/search-methods.js +0 -164
- package/lib/super-grid/src/selection-column.vue.js +0 -11
- package/lib/super-grid/src/store.js +0 -4
- package/lib/super-grid/src/super-grid-service.js +0 -259
- package/lib/super-grid/src/super-grid.vue.js +0 -1052
- package/lib/super-grid/src/super-grid.vue2.js +0 -4
- package/lib/super-grid/src/utils.js +0 -355
- package/lib/super-grid/src/view-image-dialog.vue.js +0 -67
- package/lib/super-icon/src/index.vue.js +0 -7
- package/lib/super-icon/src/index.vue2.js +0 -13
- package/lib/super-icon/src/index.vue3.js +0 -4
- package/lib/super-nine-grid/src/apis.js +0 -36
- package/lib/super-nine-grid/src/custom-formatter.js +0 -35
- package/lib/super-nine-grid/src/formatter.js +0 -37
- package/lib/super-nine-grid/src/search-form-number.vue.js +0 -13
- package/lib/super-nine-grid/src/search-form.vue.js +0 -91
- package/lib/super-nine-grid/src/search-form.vue2.js +0 -4
- package/lib/super-nine-grid/src/search-methods.js +0 -48
- package/lib/super-nine-grid/src/store.js +0 -4
- package/lib/super-nine-grid/src/super-grid-service.js +0 -39
- package/lib/super-nine-grid/src/super-nine-grid.vue.js +0 -225
- package/lib/super-nine-grid/src/super-nine-grid.vue2.js +0 -4
- package/lib/super-nine-grid/src/utils.js +0 -32
- package/lib/svg-icon/src/svg-icon.vue.js +0 -14
- package/lib/svg-icon/src/svg-icon.vue2.js +0 -4
- package/lib/valid-code/src/valid-code.vue.js +0 -23
- package/lib/valid-code/src/valid-code.vue2.js +0 -4
- package/lib/workflow-button/src/workflow-button.vue.js +0 -85
- package/lib/workflow-history-list/src/api.js +0 -6
- package/lib/workflow-history-list/src/workflow-history-list.vue.js +0 -89
- package/lib/workflow-history-list/src/workflow-history-list.vue2.js +0 -4
- package/lib/workgroup-tree/src/workgroup-tree.vue.js +0 -23
- package/lib/workgroup-tree-inline/src/search-result.vue.js +0 -39
- package/lib/workgroup-tree-inline/src/search-result.vue2.js +0 -4
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.js +0 -128
- package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue2.js +0 -4
- package/lib/workgroup-tree-inline/src/workgroup-tree-service.js +0 -35
- package/lib/workgroup-tree-mobile/src/dept-result.vue.js +0 -16
- package/lib/workgroup-tree-mobile/src/dept-result.vue2.js +0 -4
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.js +0 -15
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue2.js +0 -4
- package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue3.js +0 -5
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.js +0 -109
- package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.js +0 -4
- package/lib/workgroup-tree-mobile/src/workgroup-tree-service.js +0 -33
- package/lib/workgroup-user-tree/src/workgroup-user-tree.vue.js +0 -23
- package/lib/workgroup-user-tree-inline/src/search-result.vue.js +0 -39
- package/lib/workgroup-user-tree-inline/src/search-result.vue2.js +0 -4
- package/lib/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +0 -73
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.js +0 -172
- package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.js +0 -4
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue.js +0 -14
- package/lib/workgroup-user-tree-mobile/src/dept-path.vue2.js +0 -4
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue.js +0 -17
- package/lib/workgroup-user-tree-mobile/src/dept-result.vue2.js +0 -4
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.js +0 -15
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.js +0 -4
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.js +0 -5
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.js +0 -135
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.js +0 -4
- package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-service.js +0 -29
- package/lib/year-range-picker/src/year-range-picker.vue.js +0 -14
- package/packages/IntervalSelection/index.js +0 -6
- package/packages/IntervalSelection/src/quarterScope.vue +0 -405
- package/packages/IntervalSelection/src/sectionDate.vue +0 -475
- package/packages/breadcrumb/index.js +0 -6
- package/packages/breadcrumb/src/breadcrumb.vue +0 -81
- package/packages/chat-embed/index.ts +0 -6
- package/packages/chat-embed/src/chat-addition-data.vue +0 -64
- package/packages/chat-embed/src/chat-ai-answer-tip.vue +0 -81
- package/packages/chat-embed/src/chat-bubble-footer.vue +0 -81
- package/packages/chat-embed/src/chat-embed-message.ts +0 -76
- package/packages/chat-embed/src/chat-embed.css +0 -207
- package/packages/chat-embed/src/chat-sender.vue +0 -620
- package/packages/chat-embed/src/components/answer-auto-chart.vue +0 -365
- package/packages/chat-embed/src/components/answer-home-chart.vue +0 -42
- package/packages/chat-embed/src/components/answer-interaction-data.vue +0 -569
- package/packages/chat-embed/src/components/history-detail.vue +0 -150
- package/packages/chat-embed/src/header.vue +0 -147
- package/packages/chat-embed/src/index.vue +0 -926
- package/packages/chat-embed/src/recommendation-message.vue +0 -37
- package/packages/chat-embed/src/sender-attachments.vue +0 -1
- package/packages/chat-embed/src/sidebar-item.vue +0 -521
- package/packages/chat-embed/src/type.ts +0 -74
- package/packages/chat-embed/src/util/chat-embed-util.ts +0 -67
- package/packages/chat-embed/src/util/history-message-util.ts +0 -161
- package/packages/chat-embed/src/util/mcp-utils.ts +0 -131
- package/packages/chat-embed/src/util/text-file-util.ts +0 -33
- package/packages/chat-embed/src/voice/index.ts +0 -6
- package/packages/chat-embed/src/voice/js/ai.js +0 -4
- package/packages/chat-embed/src/voice/js/crypto-js.js +0 -5736
- package/packages/chat-embed/src/voice/js/processor/index.umd.js +0 -1
- package/packages/chat-embed/src/voice/js/timer.js +0 -18
- package/packages/chat-embed/src/voice/voice.vue +0 -320
- package/packages/date-picker-range/index.ts +0 -6
- package/packages/date-picker-range/index.vue +0 -240
- package/packages/department-tree/index.js +0 -6
- package/packages/department-tree/src/department-tree.vue +0 -140
- package/packages/department-tree-inline/index.js +0 -6
- package/packages/department-tree-inline/src/department-multi-tree-inline.vue +0 -472
- package/packages/department-tree-inline/src/department-single-tree-inline.vue +0 -374
- package/packages/department-tree-inline/src/department-tree-inline.vue +0 -93
- package/packages/department-tree-inline/src/department-tree-service.js +0 -333
- package/packages/department-tree-inline/src/search-result.vue +0 -206
- package/packages/department-tree-mobile/index.js +0 -6
- package/packages/department-tree-mobile/src/department-tree-app.vue +0 -148
- package/packages/department-tree-mobile/src/department-tree-inline-app.vue +0 -418
- package/packages/department-tree-mobile/src/department-tree-service.ts +0 -124
- package/packages/department-tree-mobile/src/dept-path.vue +0 -36
- package/packages/department-tree-mobile/src/dept-result.vue +0 -51
- package/packages/department-user-tree/index.js +0 -6
- package/packages/department-user-tree/src/department-user-multiple-tree.vue +0 -131
- package/packages/department-user-tree/src/department-user-single-tree.vue +0 -93
- package/packages/department-user-tree/src/department-user-tree.vue +0 -138
- package/packages/department-user-tree-inline/index.js +0 -9
- package/packages/department-user-tree-inline/src/department-user-multiple-tree-inline.vue +0 -779
- package/packages/department-user-tree-inline/src/department-user-single-tree-inline.vue +0 -394
- package/packages/department-user-tree-inline/src/department-user-tree-inline.vue +0 -94
- package/packages/department-user-tree-inline/src/department-user-tree-multi-service.js +0 -293
- package/packages/department-user-tree-inline/src/department-user-tree-single-service.js +0 -158
- package/packages/department-user-tree-inline/src/group-user/group-input.vue +0 -162
- package/packages/department-user-tree-inline/src/group-user/group-list.vue +0 -106
- package/packages/department-user-tree-inline/src/group-user/group-user.vue +0 -38
- package/packages/department-user-tree-inline/src/group-user-multiple-tree.vue +0 -304
- package/packages/department-user-tree-inline/src/group-user-single-tree.vue +0 -155
- package/packages/department-user-tree-inline/src/group-user-tree-service.js +0 -80
- package/packages/department-user-tree-inline/src/search-result.vue +0 -274
- package/packages/department-user-tree-mobile/index.js +0 -6
- package/packages/department-user-tree-mobile/src/department-user-tree-app.vue +0 -147
- package/packages/department-user-tree-mobile/src/department-user-tree-inline-app.vue +0 -466
- package/packages/department-user-tree-mobile/src/department-user-tree-service.ts +0 -71
- package/packages/department-user-tree-mobile/src/dept-path.vue +0 -36
- package/packages/department-user-tree-mobile/src/dept-result.vue +0 -58
- package/packages/directives/prevent-reclick.js +0 -22
- package/packages/dynamic-source-select/index.js +0 -6
- package/packages/dynamic-source-select/src/dynamic-source-select-service.js +0 -134
- package/packages/dynamic-source-select/src/dynamic-source-select.vue +0 -946
- package/packages/dynamic-source-select/src/events.js +0 -72
- package/packages/empty-state/index.vue +0 -28
- package/packages/fs-preview/index.js +0 -6
- package/packages/fs-preview/src/fs-preview.vue +0 -535
- package/packages/fs-upload/index.js +0 -6
- package/packages/fs-upload/src/fs-upload-multi.vue +0 -464
- package/packages/fs-upload/src/fs-upload-single.vue +0 -369
- package/packages/fs-upload/src/fs-upload.vue +0 -193
- package/packages/fs-upload/src/see-big-picture.vue +0 -70
- package/packages/fs-upload-list/index.js +0 -6
- package/packages/fs-upload-list/src/fs-upload-list.vue +0 -436
- package/packages/fs-upload-new/index.ts +0 -6
- package/packages/fs-upload-new/src/file-upload-mobile/file-upload-app.vue +0 -276
- package/packages/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue +0 -573
- package/packages/fs-upload-new/src/file-upload-mobile/file-upload-component.vue +0 -152
- package/packages/fs-upload-new/src/file-upload-mobile/file-upload-input.vue +0 -265
- package/packages/fs-upload-new/src/file-upload-mobile/file-upload.vue +0 -262
- package/packages/fs-upload-new/src/fs-button-upload.vue +0 -312
- package/packages/fs-upload-new/src/fs-drag-upload.vue +0 -307
- package/packages/fs-upload-new/src/fs-preview-new.vue +0 -380
- package/packages/fs-upload-new/src/fs-upload-new.vue +0 -413
- package/packages/hamburger/index.js +0 -6
- package/packages/hamburger/src/hamburger.vue +0 -52
- package/packages/index.js +0 -274
- package/packages/json-view/index.ts +0 -3
- package/packages/json-view/json-view-dialog.vue +0 -53
- package/packages/json-view/json-view.vue +0 -126
- package/packages/multipart-upload/index.js +0 -6
- package/packages/multipart-upload/src/index.vue +0 -66
- package/packages/multipart-upload/src/multipart-upload-form.vue +0 -404
- package/packages/multipart-upload/src/multipart-upload-list.vue +0 -543
- package/packages/organization-input/index.js +0 -6
- package/packages/organization-input/src/organization-input.vue +0 -619
- package/packages/plugins/export-data-new.js +0 -667
- package/packages/plugins/export-data.js +0 -431
- package/packages/plugins/index.js +0 -15
- package/packages/plugins/public-method.js +0 -47
- package/packages/remove-department/index.js +0 -6
- package/packages/remove-department/src/remove-department.vue +0 -201
- package/packages/remove-department/src/remove-dept-service.js +0 -31
- package/packages/remove-user/index.js +0 -6
- package/packages/remove-user/src/remove-user-service.js +0 -31
- package/packages/remove-user/src/remove-user.vue +0 -227
- package/packages/remove-workgroup/index.js +0 -6
- package/packages/remove-workgroup/src/remove-workgroup-service.js +0 -31
- package/packages/remove-workgroup/src/remove-workgroup.vue +0 -184
- package/packages/rich-editor/index.js +0 -7
- package/packages/rich-editor/index.vue +0 -331
- package/packages/rich-editor/tinymce/icons/default/icons.min.js +0 -1
- package/packages/rich-editor/tinymce/langs/README.md +0 -3
- package/packages/rich-editor/tinymce/langs/zh-Hans.js +0 -1
- package/packages/rich-editor/tinymce/license.txt +0 -21
- package/packages/rich-editor/tinymce/models/dom/model.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/accordion/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/advlist/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/anchor/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/autolink/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/autoresize/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/autosave/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/charmap/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/code/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/codesample/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/directionality/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/emoticons/js/emojiimages.js +0 -1
- package/packages/rich-editor/tinymce/plugins/emoticons/js/emojiimages.min.js +0 -3
- package/packages/rich-editor/tinymce/plugins/emoticons/js/emojis.js +0 -1
- package/packages/rich-editor/tinymce/plugins/emoticons/js/emojis.min.js +0 -2
- package/packages/rich-editor/tinymce/plugins/emoticons/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/fullscreen/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ar.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/bg_BG.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ca.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/cs.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/da.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/de.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/el.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/en.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/es.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/eu.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/fa.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/fi.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/fr_FR.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/he_IL.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/hi.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/hr.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/hu_HU.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/id.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/it.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ja.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/kk.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ko_KR.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ms.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/nb_NO.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/nl.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/pl.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/pt_BR.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/pt_PT.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ro.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/ru.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/sk.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/sl_SI.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/sv_SE.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/th_TH.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/tr.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/uk.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/vi.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/zh_CN.js +0 -84
- package/packages/rich-editor/tinymce/plugins/help/js/i18n/keynav/zh_TW.js +0 -90
- package/packages/rich-editor/tinymce/plugins/help/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/image/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/importcss/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/insertdatetime/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/link/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/lists/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/media/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/nonbreaking/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/pagebreak/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/preview/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/quickbars/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/save/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/searchreplace/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/table/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/template/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/visualblocks/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/visualchars/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/plugins/wordcount/plugin.min.js +0 -4
- package/packages/rich-editor/tinymce/skins/content/dark/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/content/dark/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/content/default/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/content/default/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/content/document/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/content/document/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/content/tinymce-5/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/content/tinymce-5/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/content/tinymce-5-dark/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/content/tinymce-5-dark/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/content/writer/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/content/writer/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/oxide/content.inline.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/oxide/content.inline.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/oxide/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/oxide/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/oxide/skin.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/oxide/skin.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/oxide/skin.shadowdom.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/oxide/skin.shadowdom.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/content.inline.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/content.inline.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/skin.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/skin.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/content.inline.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/content.inline.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/skin.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/skin.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/skin.shadowdom.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/content.inline.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/content.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/content.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/skin.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/skin.min.css +0 -1
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.js +0 -2
- package/packages/rich-editor/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +0 -1
- package/packages/rich-editor/tinymce/themes/silver/theme.min.js +0 -4
- package/packages/rich-editor/tinymce/tinymce.d.ts +0 -3238
- package/packages/rich-editor/tinymce/tinymce.min.js +0 -4
- package/packages/rich-editor/tinymce/zh_CN.js +0 -418
- package/packages/rich-editor/viewer.vue +0 -105
- package/packages/row-form/index.js +0 -7
- package/packages/row-form/index.vue +0 -284
- package/packages/row-form/operation.vue +0 -151
- package/packages/scan-code-input/index.js +0 -6
- package/packages/scan-code-input/src/events.js +0 -34
- package/packages/scan-code-input/src/scan-code-input.vue +0 -164
- package/packages/scan-code-input-browser/index.js +0 -6
- package/packages/scan-code-input-browser/src/scan-code-input.vue +0 -113
- package/packages/secret-info/index.js +0 -7
- package/packages/secret-info/index.vue +0 -100
- package/packages/super-grid/index.js +0 -7
- package/packages/super-grid/src/apis.js +0 -1713
- package/packages/super-grid/src/columns-config.vue +0 -329
- package/packages/super-grid/src/components/grid-icon.vue +0 -157
- package/packages/super-grid/src/components/grid-radio-input.vue +0 -84
- package/packages/super-grid/src/components/hyperlinks.vue +0 -130
- package/packages/super-grid/src/components/mobile-table-card.jsx +0 -589
- package/packages/super-grid/src/components/select-input.vue +0 -520
- package/packages/super-grid/src/custom-formatter.js +0 -419
- package/packages/super-grid/src/dynamic-input.vue +0 -2158
- package/packages/super-grid/src/eventBus.js +0 -10
- package/packages/super-grid/src/events.js +0 -56
- package/packages/super-grid/src/formValidatorUtil.js +0 -362
- package/packages/super-grid/src/formatter.js +0 -200
- package/packages/super-grid/src/group-column.vue +0 -119
- package/packages/super-grid/src/header-context-menu.vue +0 -82
- package/packages/super-grid/src/index-column.vue +0 -78
- package/packages/super-grid/src/normal-column-content.vue +0 -1310
- package/packages/super-grid/src/normal-column.vue +0 -423
- package/packages/super-grid/src/public-methods.js +0 -30
- package/packages/super-grid/src/row-detail.vue +0 -50
- package/packages/super-grid/src/row-operation.vue +0 -315
- package/packages/super-grid/src/scan-util.ts +0 -243
- package/packages/super-grid/src/search-button.vue +0 -88
- package/packages/super-grid/src/search-condition-input.vue +0 -74
- package/packages/super-grid/src/search-condition-list.vue +0 -70
- package/packages/super-grid/src/search-form-advancedQuery.vue +0 -836
- package/packages/super-grid/src/search-form-dialog.vue +0 -77
- package/packages/super-grid/src/search-form-item.vue +0 -616
- package/packages/super-grid/src/search-form-mobile.vue +0 -255
- package/packages/super-grid/src/search-form-number.vue +0 -122
- package/packages/super-grid/src/search-form-open.vue +0 -175
- package/packages/super-grid/src/search-form-ordinarySearch.vue +0 -243
- package/packages/super-grid/src/search-form.vue +0 -795
- package/packages/super-grid/src/search-methods.js +0 -539
- package/packages/super-grid/src/selection-column.vue +0 -36
- package/packages/super-grid/src/store.js +0 -3
- package/packages/super-grid/src/super-grid-service.js +0 -800
- package/packages/super-grid/src/super-grid.vue +0 -3814
- package/packages/super-grid/src/utils.js +0 -946
- package/packages/super-grid/src/view-image-dialog.vue +0 -194
- package/packages/super-icon/index.js +0 -6
- package/packages/super-icon/src/index.vue +0 -52
- package/packages/super-nine-grid/index.js +0 -7
- package/packages/super-nine-grid/src/apis.js +0 -108
- package/packages/super-nine-grid/src/custom-formatter.js +0 -73
- package/packages/super-nine-grid/src/formatter.js +0 -134
- package/packages/super-nine-grid/src/search-form-number.vue +0 -35
- package/packages/super-nine-grid/src/search-form.vue +0 -514
- package/packages/super-nine-grid/src/search-methods.js +0 -151
- package/packages/super-nine-grid/src/store.js +0 -3
- package/packages/super-nine-grid/src/super-grid-service.js +0 -110
- package/packages/super-nine-grid/src/super-nine-grid.vue +0 -1112
- package/packages/super-nine-grid/src/utils.js +0 -264
- package/packages/svg-icon/index.js +0 -6
- package/packages/svg-icon/src/svg-icon.vue +0 -43
- package/packages/utils/date-util.js +0 -292
- package/packages/utils/dom.js +0 -227
- package/packages/utils/gogocodeTransfer.js +0 -59
- package/packages/utils/memory-cache-utils.js +0 -117
- package/packages/utils/organization.ts +0 -173
- package/packages/utils/utils.js +0 -198
- package/packages/utils/value-set.js +0 -282
- package/packages/valid-code/index.js +0 -7
- package/packages/valid-code/src/valid-code.vue +0 -104
- package/packages/workflow-button/index.js +0 -6
- package/packages/workflow-button/src/workflow-button.vue +0 -574
- package/packages/workflow-history-list/index.js +0 -6
- package/packages/workflow-history-list/src/api.js +0 -7
- package/packages/workflow-history-list/src/workflow-history-list.vue +0 -394
- package/packages/workgroup-tree/index.js +0 -6
- package/packages/workgroup-tree/src/workgroup-tree.vue +0 -127
- package/packages/workgroup-tree-inline/index.js +0 -6
- package/packages/workgroup-tree-inline/src/search-result.vue +0 -227
- package/packages/workgroup-tree-inline/src/workgroup-tree-inline.vue +0 -557
- package/packages/workgroup-tree-inline/src/workgroup-tree-service.js +0 -119
- package/packages/workgroup-tree-mobile/index.js +0 -6
- package/packages/workgroup-tree-mobile/src/dept-result.vue +0 -52
- package/packages/workgroup-tree-mobile/src/workgroup-tree-app.vue +0 -148
- package/packages/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue +0 -407
- package/packages/workgroup-tree-mobile/src/workgroup-tree-service.ts +0 -62
- package/packages/workgroup-user-tree/index.js +0 -6
- package/packages/workgroup-user-tree/src/workgroup-user-tree.vue +0 -121
- package/packages/workgroup-user-tree-inline/index.js +0 -9
- package/packages/workgroup-user-tree-inline/src/search-result.vue +0 -271
- package/packages/workgroup-user-tree-inline/src/workgroup-tree-inline-service.js +0 -252
- package/packages/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue +0 -665
- package/packages/workgroup-user-tree-mobile/index.js +0 -6
- package/packages/workgroup-user-tree-mobile/src/dept-path.vue +0 -36
- package/packages/workgroup-user-tree-mobile/src/dept-result.vue +0 -58
- package/packages/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue +0 -119
- package/packages/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue +0 -453
- package/packages/workgroup-user-tree-mobile/src/workgroup-user-tree-service.ts +0 -41
- package/packages/year-range-picker/index.js +0 -6
- package/packages/year-range-picker/src/year-range-picker.vue +0 -53
- package/src/api/sso-service.js +0 -222
- package/src/api/tab.js +0 -36
- package/src/assets/401/401.gif +0 -0
- package/src/assets/404/404-cloud.png +0 -0
- package/src/assets/404/404.png +0 -0
- package/src/assets/chat-embed/background.png +0 -0
- package/src/assets/chat-embed/robot.gif +0 -0
- package/src/assets/chat-embed/robot.svg +0 -32
- package/src/assets/cloud.png +0 -0
- package/src/assets/nonemessage.png +0 -0
- package/src/assets/tab-selectWhite.png +0 -0
- package/src/components/Affix/index.vue +0 -272
- package/src/components/Card/index.jsx +0 -217
- package/src/components/Scrollbar/index.vue +0 -213
- package/src/directives/permission/index.js +0 -14
- package/src/directives/permission/permission.js +0 -27
- package/src/i18n/i18n.js +0 -16
- package/src/i18n/langs/cn.js +0 -336
- package/src/i18n/langs/en.js +0 -336
- package/src/index.js +0 -22
- package/src/mixins/resizeMixin.js +0 -49
- package/src/permission.js +0 -252
- package/src/plugins.js +0 -18
- package/src/router/index.js +0 -92
- package/src/store/getters.js +0 -26
- package/src/store/index.js +0 -23
- package/src/store/modules/app.js +0 -96
- package/src/store/modules/chat-ai-store.ts +0 -85
- package/src/store/modules/permission.js +0 -143
- package/src/store/modules/system.js +0 -35
- package/src/store/modules/tab-content.js +0 -42
- package/src/store/modules/table.js +0 -76
- package/src/store/modules/user.js +0 -448
- package/src/utils/auth-api.js +0 -369
- package/src/utils/auth.js +0 -194
- package/src/utils/calculator/calculator-factory-wf.js +0 -465
- package/src/utils/calculator/calculator-factory.js +0 -133
- package/src/utils/calculator/calculator-util.js +0 -184
- package/src/utils/chat-ai-util.ts +0 -41
- package/src/utils/common-util.js +0 -1006
- package/src/utils/dingtalk-util.ts +0 -43
- package/src/utils/eventBus.js +0 -10
- package/src/utils/file-util.ts +0 -42
- package/src/utils/global-prop.ts +0 -44
- package/src/utils/guid.js +0 -13
- package/src/utils/i18n-util.js +0 -145
- package/src/utils/iconUtils.js +0 -37
- package/src/utils/iframe-communicator.js +0 -234
- package/src/utils/index.js +0 -102
- package/src/utils/insert_css.js +0 -47
- package/src/utils/json-util.ts +0 -85
- package/src/utils/jump-page-utils.js +0 -829
- package/src/utils/local-storage.js +0 -33
- package/src/utils/menu.js +0 -19
- package/src/utils/permission.js +0 -126
- package/src/utils/permissionAuth.js +0 -311
- package/src/utils/range-selector.js +0 -204
- package/src/utils/request.js +0 -407
- package/src/utils/resize.js +0 -19
- package/src/utils/restful-interface-utils.js +0 -57
- package/src/utils/util.js +0 -1000
- package/src/utils/validate.js +0 -34
- package/src/utils/voice-setting-cache.js +0 -497
- package/src/utils/watermark-cache.js +0 -13
- package/src/utils/watermark.js +0 -119
- package/src/utils/workflow-util.js +0 -107
- package/src/views/404.vue +0 -248
- package/src/views/dsc-component/Sidebar/Item.vue +0 -95
- package/src/views/dsc-component/Sidebar/Link.vue +0 -38
- package/src/views/dsc-component/Sidebar/SidebarItem.vue +0 -245
- package/src/views/dsc-component/Sidebar/index.vue +0 -258
- package/src/views/dsc-component/tabs/tab-content.vue +0 -230
- package/src/views/error-page/401.vue +0 -106
- package/src/views/error-page/404.vue +0 -248
- package/src/views/layout/EmptyLayout.vue +0 -3
- package/src/views/layout/Layout.vue +0 -85
- package/src/views/layout/NewLayout.vue +0 -18
- package/src/views/layout/components/AppMain.vue +0 -46
- package/src/views/layout/components/Breadcrumb/index.vue +0 -158
- package/src/views/layout/components/Menubar/Item.vue +0 -125
- package/src/views/layout/components/Menubar/Link.vue +0 -38
- package/src/views/layout/components/Menubar/SidebarItem.vue +0 -333
- package/src/views/layout/components/Menubar/index.vue +0 -250
- package/src/views/layout/components/Sidebar/Item.vue +0 -33
- package/src/views/layout/components/Sidebar/Link.vue +0 -38
- package/src/views/layout/components/Sidebar/SidebarItem.vue +0 -179
- package/src/views/layout/components/Sidebar/index.vue +0 -141
- package/src/views/layout/components/iframe-page.vue +0 -38
- package/src/views/layout/components/index.js +0 -4
- package/src/views/layout/components/tabs/tab-content.vue +0 -273
- package/src/views/layout/mixin/ResizeHandler.js +0 -41
- package/src/views/layout/tab-content-iframe-index.vue +0 -38
- package/src/views/layout/tab-content-index.vue +0 -92
- package/src/views/login/authredirect.vue +0 -10
- package/src/views/login/index.vue +0 -296
- package/src/views/login/update-password.vue +0 -246
- package/src/views/redirect/index.vue +0 -14
- package/src/views/svg-icon/index.js +0 -6
- package/src/views/svg-icon/src/svg-icon.vue +0 -46
- package/src/views/wf-history/tache-subprocess-history.vue +0 -45
- /package/{src/styles → styles}/_layout-custom-properties.scss +0 -0
- /package/{src/styles → styles}/display-layout.scss +0 -0
- /package/{src/styles → styles}/element-ui.scss +0 -0
- /package/{src/styles → styles}/index.scss +0 -0
- /package/{src/styles → styles}/mixin.scss +0 -0
- /package/{src/styles → styles}/page-list.scss +0 -0
- /package/{src/styles → styles}/table.scss +0 -0
- /package/{src/styles → styles}/theme/black/font-style.scss +0 -0
- /package/{src/styles → styles}/theme/black/index.scss +0 -0
- /package/{src/styles → styles}/theme/black/sidebar.scss +0 -0
- /package/{src/styles → styles}/theme/blue/font-style.scss +0 -0
- /package/{src/styles → styles}/theme/blue/index.scss +0 -0
- /package/{src/styles → styles}/theme/blue/sidebar.scss +0 -0
- /package/{src/styles → styles}/theme/blue2/font-style.scss +0 -0
- /package/{src/styles → styles}/theme/blue2/index.scss +0 -0
- /package/{src/styles → styles}/theme/blue2/sidebar.scss +0 -0
- /package/{src/styles → styles}/theme/dark-blue/button.scss +0 -0
- /package/{src/styles → styles}/theme/dark-blue/card.scss +0 -0
- /package/{src/styles → styles}/theme/dark-blue/checkbox.scss +0 -0
- /package/{src/styles → styles}/theme/dark-blue/dark-blue-var.scss +0 -0
- /package/{src/styles → styles}/theme/dark-blue/dialog.scss +0 -0
- /package/{src/styles → styles}/theme/dark-blue/element-variables.scss +0 -0
- /package/{src/styles → styles}/theme/dark-blue/font.scss +0 -0
- /package/{src/styles → styles}/theme/dark-blue/form.scss +0 -0
- /package/{src/styles → styles}/theme/dark-blue/index.scss +0 -0
- /package/{src/styles → styles}/theme/dark-blue/input.scss +0 -0
- /package/{src/styles → styles}/theme/dark-blue/message.scss +0 -0
- /package/{src/styles → styles}/theme/dark-blue/pagination.scss +0 -0
- /package/{src/styles → styles}/theme/dark-blue/radio.scss +0 -0
- /package/{src/styles → styles}/theme/dark-blue/scrollbar-style.scss +0 -0
- /package/{src/styles → styles}/theme/dark-blue/select.scss +0 -0
- /package/{src/styles → styles}/theme/dark-blue/sidebar.scss +0 -0
- /package/{src/styles → styles}/theme/dark-blue/tab.scss +0 -0
- /package/{src/styles → styles}/theme/dark-blue/table.scss +0 -0
- /package/{src/styles → styles}/theme/dark-blue/tree.scss +0 -0
- /package/{src/styles → styles}/theme/dark-blue/var.scss +0 -0
- /package/{src/styles → styles}/theme/default.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/button.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/card.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/checkbox.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/date-picker.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/dialog.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/element-variables.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/font.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/forest-green.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/form.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/index.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/input.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/message.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/pagination.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/radio.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/scrollbar-style.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/select.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/sidebar.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/tab.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/table.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/tree.scss +0 -0
- /package/{src/styles → styles}/theme/forest-green/var.scss +0 -0
- /package/{src/styles → styles}/theme/gray/card-style.scss +0 -0
- /package/{src/styles → styles}/theme/gray/font-style.scss +0 -0
- /package/{src/styles → styles}/theme/gray/index.scss +0 -0
- /package/{src/styles → styles}/theme/gray/input-style.scss +0 -0
- /package/{src/styles → styles}/theme/gray/scrollbar-style.scss +0 -0
- /package/{src/styles → styles}/theme/gray/sidebar.scss +0 -0
- /package/{src/styles → styles}/theme/gray/tab-style.scss +0 -0
- /package/{src/styles → styles}/theme/green/button.scss +0 -0
- /package/{src/styles → styles}/theme/green/card.scss +0 -0
- /package/{src/styles → styles}/theme/green/checkbox.scss +0 -0
- /package/{src/styles → styles}/theme/green/dialog.scss +0 -0
- /package/{src/styles → styles}/theme/green/element-variables.scss +0 -0
- /package/{src/styles → styles}/theme/green/font.scss +0 -0
- /package/{src/styles → styles}/theme/green/form.scss +0 -0
- /package/{src/styles → styles}/theme/green/green.scss +0 -0
- /package/{src/styles → styles}/theme/green/index.scss +0 -0
- /package/{src/styles → styles}/theme/green/input.scss +0 -0
- /package/{src/styles → styles}/theme/green/message.scss +0 -0
- /package/{src/styles → styles}/theme/green/pagination.scss +0 -0
- /package/{src/styles → styles}/theme/green/radio.scss +0 -0
- /package/{src/styles → styles}/theme/green/scrollbar-style.scss +0 -0
- /package/{src/styles → styles}/theme/green/select.scss +0 -0
- /package/{src/styles → styles}/theme/green/sidebar.scss +0 -0
- /package/{src/styles → styles}/theme/green/tab.scss +0 -0
- /package/{src/styles → styles}/theme/green/table.scss +0 -0
- /package/{src/styles → styles}/theme/green/tree.scss +0 -0
- /package/{src/styles → styles}/theme/green/var.scss +0 -0
- /package/{src/styles → styles}/theme/ocean-blue/button.scss +0 -0
- /package/{src/styles → styles}/theme/ocean-blue/card.scss +0 -0
- /package/{src/styles → styles}/theme/ocean-blue/checkbox.scss +0 -0
- /package/{src/styles → styles}/theme/ocean-blue/dialog.scss +0 -0
- /package/{src/styles → styles}/theme/ocean-blue/element-variables.scss +0 -0
- /package/{src/styles → styles}/theme/ocean-blue/font.scss +0 -0
- /package/{src/styles → styles}/theme/ocean-blue/form.scss +0 -0
- /package/{src/styles → styles}/theme/ocean-blue/index.scss +0 -0
- /package/{src/styles → styles}/theme/ocean-blue/input.scss +0 -0
- /package/{src/styles → styles}/theme/ocean-blue/message.scss +0 -0
- /package/{src/styles → styles}/theme/ocean-blue/ocean-blue.scss +0 -0
- /package/{src/styles → styles}/theme/ocean-blue/pagination.scss +0 -0
- /package/{src/styles → styles}/theme/ocean-blue/radio.scss +0 -0
- /package/{src/styles → styles}/theme/ocean-blue/scrollbar-style.scss +0 -0
- /package/{src/styles → styles}/theme/ocean-blue/select.scss +0 -0
- /package/{src/styles → styles}/theme/ocean-blue/sidebar.scss +0 -0
- /package/{src/styles → styles}/theme/ocean-blue/tab.scss +0 -0
- /package/{src/styles → styles}/theme/ocean-blue/table.scss +0 -0
- /package/{src/styles → styles}/theme/ocean-blue/tree.scss +0 -0
- /package/{src/styles → styles}/theme/ocean-blue/var.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/button.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/card.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/checkbox.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/dialog.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/drawer.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/element-variables.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/font.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/form.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/general.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/home.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/index.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/input.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/message.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/mobile.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/pagination.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/radio.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/scrollbar-style.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/select.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/sidebar.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/tab.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/table.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/tree.scss +0 -0
- /package/{src/styles → styles}/theme/tiffany-blue-mobile/var.scss +0 -0
- /package/{src/styles → styles}/transition.scss +0 -0
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
export function getTenant () {
|
|
2
|
-
const parentId = 0
|
|
3
|
-
return window['$vueApp'].config.globalProperties.$http.get(window['$vueApp'].config.globalProperties.baseAPI + '/component/organization-trees/departments/' + parentId)
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
// 获得公司节点的孩子节点
|
|
7
|
-
export function getTenantChildren (branchInfo, tenantNodeId ) {
|
|
8
|
-
// 加载整个组织结构树时,展开公司节点
|
|
9
|
-
return loadChildNodes(branchInfo, tenantNodeId)
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
// 加载当前节点的子节点
|
|
14
|
-
export function loadChildNodes (branchInfo, parentId) {
|
|
15
|
-
const param = {
|
|
16
|
-
parentId: parentId,
|
|
17
|
-
departmentInfo: branchInfo,
|
|
18
|
-
}
|
|
19
|
-
return new Promise((resolve,reject)=>{
|
|
20
|
-
window['$vueApp'].config.globalProperties.$http.post(
|
|
21
|
-
window.$vueApp.config.globalProperties.baseAPI +
|
|
22
|
-
'/component/organization-trees/workgroup-users',
|
|
23
|
-
param
|
|
24
|
-
)
|
|
25
|
-
.then(children => {
|
|
26
|
-
resolve(children)
|
|
27
|
-
})
|
|
28
|
-
})
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
export function checkedDeptDefault (selectDepts, defaultCheckedKeys) {
|
|
33
|
-
defaultCheckedKeys = []
|
|
34
|
-
selectDepts.forEach(dept => {
|
|
35
|
-
defaultCheckedKeys.push(dept.nodeId)
|
|
36
|
-
})
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export function getUserInWorkgroups (workgroupIds) {
|
|
40
|
-
return window['$vueApp'].config.globalProperties.$http.post(window['$vueApp'].config.globalProperties.baseAPI + '/component/organization-trees/user-in-workgroups', workgroupIds)
|
|
41
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<el-date-picker
|
|
4
|
-
v-model="value[0]"
|
|
5
|
-
style="width: 47%"
|
|
6
|
-
value-format="YYYY"
|
|
7
|
-
type="year"
|
|
8
|
-
:placeholder="$t('imatrixUIMessage.selectYear')"
|
|
9
|
-
@change="changeStart"
|
|
10
|
-
/>
|
|
11
|
-
-
|
|
12
|
-
<el-date-picker
|
|
13
|
-
v-model="value[1]"
|
|
14
|
-
style="width: 47%"
|
|
15
|
-
value-format="YYYY"
|
|
16
|
-
type="year"
|
|
17
|
-
:placeholder="$t('imatrixUIMessage.selectYear')"
|
|
18
|
-
@change="changeEnd"
|
|
19
|
-
/>
|
|
20
|
-
</div>
|
|
21
|
-
</template>
|
|
22
|
-
|
|
23
|
-
<script>
|
|
24
|
-
import { $on, $off, $once, $emit } from '../../utils/gogocodeTransfer'
|
|
25
|
-
export default {
|
|
26
|
-
name: 'YearRangePicker',
|
|
27
|
-
props: {
|
|
28
|
-
value: {
|
|
29
|
-
type: Array,
|
|
30
|
-
default: () => {
|
|
31
|
-
return []
|
|
32
|
-
},
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
|
-
data() {
|
|
36
|
-
return {
|
|
37
|
-
yearStart: '',
|
|
38
|
-
yearEnd: '',
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
methods: {
|
|
42
|
-
changeStart(value) {
|
|
43
|
-
this.value[0] = value
|
|
44
|
-
$emit(this, 'change', this.value)
|
|
45
|
-
},
|
|
46
|
-
changeEnd(value) {
|
|
47
|
-
this.value[1] = value
|
|
48
|
-
$emit(this, 'change', this.value)
|
|
49
|
-
},
|
|
50
|
-
},
|
|
51
|
-
emits: ['change', 'update:value', , 'update:value'],
|
|
52
|
-
}
|
|
53
|
-
</script>
|
package/src/api/sso-service.js
DELETED
|
@@ -1,222 +0,0 @@
|
|
|
1
|
-
import request from '../utils/request'
|
|
2
|
-
import { getLanguage, getTheme } from '../utils/auth'
|
|
3
|
-
import * as Vue from 'vue'
|
|
4
|
-
import { isMobileBrowser } from '../utils/common-util'
|
|
5
|
-
function login(username, password, language) {
|
|
6
|
-
const usernamePasswordToken = {
|
|
7
|
-
username,
|
|
8
|
-
password
|
|
9
|
-
}
|
|
10
|
-
if (language) {
|
|
11
|
-
usernamePasswordToken.language = language
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
return request.post(window.$vueApp.config.globalProperties.baseAPI + '/sso/login', usernamePasswordToken)
|
|
15
|
-
}
|
|
16
|
-
function loginWithValidateCode(username, password, language, validateCode, imageCodeKey) {
|
|
17
|
-
const usernamePasswordToken = {
|
|
18
|
-
username,
|
|
19
|
-
password
|
|
20
|
-
}
|
|
21
|
-
if (language) {
|
|
22
|
-
usernamePasswordToken.language = language
|
|
23
|
-
}
|
|
24
|
-
if (validateCode) {
|
|
25
|
-
usernamePasswordToken.validateCode = validateCode
|
|
26
|
-
}
|
|
27
|
-
if (imageCodeKey) {
|
|
28
|
-
usernamePasswordToken.imageCodeKey = imageCodeKey
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
return request.post(
|
|
32
|
-
window.$vueApp.config.globalProperties.baseAPI + '/sso/login-with-validate-code',
|
|
33
|
-
usernamePasswordToken
|
|
34
|
-
)
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
function getCurrentUser() {
|
|
38
|
-
return request.get(window.$vueApp.config.globalProperties.baseAPI + '/sso/current-user?_t=' + new Date().getTime())
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
function logout() {
|
|
42
|
-
return request.get(window.$vueApp.config.globalProperties.baseAPI + '/sso/logout?_t=' + new Date().getTime())
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
function getCurrentUserPermissionsBySystem(loginName, systemCode) {
|
|
46
|
-
// console.log('getCurrentUserPermissionsBySystem----loginName=', loginName, 'isMobile=',isMobileBrowser(),'systemCode=',systemCode)
|
|
47
|
-
if (isMobileBrowser()) {
|
|
48
|
-
return getCurrentUserMobilePermissions(loginName)
|
|
49
|
-
} else {
|
|
50
|
-
if (!systemCode || systemCode + '' === 'null') {
|
|
51
|
-
if (window.$vueApp.config.globalProperties.customSystem) {
|
|
52
|
-
systemCode = window.$vueApp.config.globalProperties.customSystem
|
|
53
|
-
} else {
|
|
54
|
-
systemCode = window.$vueApp.config.globalProperties.systemCode
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
// console.log('getCurrentUserPermissionsBySystem----loginName=', loginName, 'systemCode222=',systemCode)
|
|
58
|
-
return request.get(
|
|
59
|
-
window.$vueApp.config.globalProperties.baseAPI +
|
|
60
|
-
'/sso/current-users/permissions/with-system?loginName=' +
|
|
61
|
-
encodeURI(loginName) +
|
|
62
|
-
'&systemCode=' +
|
|
63
|
-
systemCode +
|
|
64
|
-
'&_t=' +
|
|
65
|
-
new Date().getTime()
|
|
66
|
-
)
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
function isPasswordExpired(username, password) {
|
|
71
|
-
const usernamePasswordToken = {
|
|
72
|
-
username,
|
|
73
|
-
password
|
|
74
|
-
}
|
|
75
|
-
return request.post(
|
|
76
|
-
window.$vueApp.config.globalProperties.baseAPI + '/sso/is-password-expired',
|
|
77
|
-
usernamePasswordToken
|
|
78
|
-
)
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
function isPasswordExpiredWithValidateCode(username, password, validateCode, imageCodeKey) {
|
|
82
|
-
const usernamePasswordToken = {
|
|
83
|
-
username,
|
|
84
|
-
password,
|
|
85
|
-
validateCode,
|
|
86
|
-
imageCodeKey
|
|
87
|
-
}
|
|
88
|
-
return request.post(
|
|
89
|
-
window.$vueApp.config.globalProperties.baseAPI + '/sso/is-password-expired-with-validate-code',
|
|
90
|
-
usernamePasswordToken
|
|
91
|
-
)
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
/** 更新密码 */
|
|
95
|
-
function updatePassword(data) {
|
|
96
|
-
return request.put(window.$vueApp.config.globalProperties.baseAPI + '/acs/users/password', data)
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
function getUserLanguage() {
|
|
100
|
-
const currentLanguage = getLanguage()
|
|
101
|
-
if (currentLanguage) {
|
|
102
|
-
return new Promise((resolve, reject) => {
|
|
103
|
-
resolve(currentLanguage)
|
|
104
|
-
})
|
|
105
|
-
} else {
|
|
106
|
-
return request.get(window.$vueApp.config.globalProperties.baseAPI + '/acs/user-languages')
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
function getUserLangAndTheme() {
|
|
111
|
-
const currentLanguage = getLanguage()
|
|
112
|
-
const currentTheme = getTheme()
|
|
113
|
-
if (currentLanguage && currentTheme) {
|
|
114
|
-
return new Promise((resolve, reject) => {
|
|
115
|
-
resolve({ lang: currentLanguage, theme: currentTheme })
|
|
116
|
-
})
|
|
117
|
-
} else {
|
|
118
|
-
return request.get(window.$vueApp.config.globalProperties.baseAPI + '/component/user-lang-and-theme')
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
function getForgetPasswordMailType(username) {
|
|
123
|
-
return request.get(
|
|
124
|
-
window.$vueApp.config.globalProperties.baseAPI + '/sso/forget-passwords/mail-type?username=' + username
|
|
125
|
-
)
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
function forgetPasswordSendMail(userInfo) {
|
|
129
|
-
return request.post(window.$vueApp.config.globalProperties.baseAPI + '/sso/forget-passwords/send-mails', userInfo)
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
function isResetPasswordJwtOverdue(jwt) {
|
|
133
|
-
const userInfo = {
|
|
134
|
-
jwt
|
|
135
|
-
}
|
|
136
|
-
return request.post(window.$vueApp.config.globalProperties.baseAPI + '/sso/forget-passwords/jwt-overdue', userInfo)
|
|
137
|
-
}
|
|
138
|
-
function resetPassword(username, password) {
|
|
139
|
-
const userInfo = {
|
|
140
|
-
username,
|
|
141
|
-
password
|
|
142
|
-
}
|
|
143
|
-
return request.post(window.$vueApp.config.globalProperties.baseAPI + '/sso/forget-passwords/reset', userInfo)
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
function isLoginTimeOut() {
|
|
147
|
-
return request.get(window.$vueApp.config.globalProperties.baseAPI + '/sso/current-users/is-login-time-out')
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
function getUserPermissionMenusBySystemCode(systemCode) {
|
|
151
|
-
if (!systemCode) {
|
|
152
|
-
systemCode = window.$vueApp.config.globalProperties.customSystem
|
|
153
|
-
}
|
|
154
|
-
if (!systemCode) {
|
|
155
|
-
systemCode = window.$vueApp.config.globalProperties.currentSystem
|
|
156
|
-
}
|
|
157
|
-
if (!systemCode) {
|
|
158
|
-
systemCode = window.$vueApp.config.globalProperties.systemCode
|
|
159
|
-
}
|
|
160
|
-
return request.get(
|
|
161
|
-
window.$vueApp.config.globalProperties.baseAPI + '/component/permission-menus/systems/' + systemCode + '/with-menu-code'
|
|
162
|
-
)
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
/**
|
|
166
|
-
* 查询开发环境资源权限集合
|
|
167
|
-
* @param {*} roleCodes 岗位编码集合,逗号隔开
|
|
168
|
-
* @returns
|
|
169
|
-
*/
|
|
170
|
-
function getDevPlatformPermissions(roleCodes) {
|
|
171
|
-
let systemCode
|
|
172
|
-
if (window.$vueApp.config.globalProperties.customSystem) {
|
|
173
|
-
systemCode = window.$vueApp.config.globalProperties.customSystem
|
|
174
|
-
} else {
|
|
175
|
-
systemCode = window.$vueApp.config.globalProperties.systemCode
|
|
176
|
-
}
|
|
177
|
-
return request.get(
|
|
178
|
-
window.$vueApp.config.globalProperties.baseAPI +
|
|
179
|
-
'/component/devp-permissions?roleCodes=' +
|
|
180
|
-
roleCodes +
|
|
181
|
-
'&_t=' +
|
|
182
|
-
new Date().getTime() +
|
|
183
|
-
'&systemCode=' +
|
|
184
|
-
systemCode
|
|
185
|
-
)
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
function getCurrentUserMobilePermissions(loginName) {
|
|
189
|
-
console.log(
|
|
190
|
-
'getCurrentUserMobilePermissions----loginName=',
|
|
191
|
-
loginName,
|
|
192
|
-
'window.$vueApp.config.globalProperties.baseAPI=',
|
|
193
|
-
window.$vueApp.config.globalProperties.baseAPI
|
|
194
|
-
)
|
|
195
|
-
return request.get(
|
|
196
|
-
window.$vueApp.config.globalProperties.baseAPI +
|
|
197
|
-
'/sso/current-users/mobile-permissions?loginName=' +
|
|
198
|
-
encodeURI(loginName) +
|
|
199
|
-
'&_t=' +
|
|
200
|
-
new Date().getTime()
|
|
201
|
-
)
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
export default {
|
|
205
|
-
login,
|
|
206
|
-
getCurrentUser,
|
|
207
|
-
logout,
|
|
208
|
-
isPasswordExpired,
|
|
209
|
-
updatePassword,
|
|
210
|
-
getCurrentUserPermissionsBySystem,
|
|
211
|
-
getUserLanguage,
|
|
212
|
-
getUserLangAndTheme,
|
|
213
|
-
forgetPasswordSendMail,
|
|
214
|
-
getForgetPasswordMailType,
|
|
215
|
-
isResetPasswordJwtOverdue,
|
|
216
|
-
resetPassword,
|
|
217
|
-
isLoginTimeOut,
|
|
218
|
-
getUserPermissionMenusBySystemCode,
|
|
219
|
-
loginWithValidateCode,
|
|
220
|
-
getDevPlatformPermissions,
|
|
221
|
-
isPasswordExpiredWithValidateCode
|
|
222
|
-
}
|
package/src/api/tab.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
const tabJs = {
|
|
2
|
-
addTabs(query, openTab, path, fullpath) {
|
|
3
|
-
let flag = false
|
|
4
|
-
let menuCode
|
|
5
|
-
let menuName
|
|
6
|
-
if (query) {
|
|
7
|
-
menuCode = query._menuCode
|
|
8
|
-
menuName = query._menuName
|
|
9
|
-
}
|
|
10
|
-
if (openTab && menuCode) {
|
|
11
|
-
for (let i = 0; i < openTab.length; i++) {
|
|
12
|
-
const item = openTab[i]
|
|
13
|
-
console.log('item.name', item.name)
|
|
14
|
-
|
|
15
|
-
if (menuCode && item.code === menuCode) {
|
|
16
|
-
console.log('to.path--menuCode1=', menuCode)
|
|
17
|
-
this.$store.commit('set_active_index', menuCode)
|
|
18
|
-
flag = true
|
|
19
|
-
break
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
if (!flag && menuCode) {
|
|
24
|
-
console.log('to.path--menuCode2=', menuCode)
|
|
25
|
-
this.$store.commit('add_tabs', {
|
|
26
|
-
code: menuCode,
|
|
27
|
-
name: menuName,
|
|
28
|
-
routePath: path,
|
|
29
|
-
routeQuery: query,
|
|
30
|
-
fullpath: fullpath,
|
|
31
|
-
})
|
|
32
|
-
this.$store.commit('set_active_index', menuCode)
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
}
|
|
36
|
-
export default tabJs
|
package/src/assets/401/401.gif
DELETED
|
Binary file
|
|
Binary file
|
package/src/assets/404/404.png
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
<svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M14 2H15V5H14V2Z" fill="#4B90EE"/>
|
|
3
|
-
<path d="M16 1.5C16 2.32843 15.3284 3 14.5 3C13.6716 3 13 2.32843 13 1.5C13 0.671573 13.6716 0 14.5 0C15.3284 0 16 0.671573 16 1.5Z" fill="#4CECF9"/>
|
|
4
|
-
<path d="M25 13V13C26.1046 13 27 13.8954 27 15V19C27 20.1046 26.1046 21 25 21V21V13Z" fill="#619EF0"/>
|
|
5
|
-
<path d="M27 15V15C27.5523 15 28 15.4477 28 16V18C28 18.5523 27.5523 19 27 19V19V15Z" fill="#5896F1"/>
|
|
6
|
-
<path d="M3 13V13C1.89543 13 1 13.8954 1 15V19C1 20.1046 1.89543 21 3 21V21V13Z" fill="#619EF0"/>
|
|
7
|
-
<path d="M1 15V15C0.447715 15 0 15.4477 0 16V18C0 18.5523 0.447715 19 1 19V19V15Z" fill="#5896F1"/>
|
|
8
|
-
<path d="M2 15C2 9.47715 6.47715 5 12 5H16C21.5228 5 26 9.47715 26 15V18C26 23.5228 21.5228 28 16 28H12C6.47715 28 2 23.5228 2 18V15Z" fill="white"/>
|
|
9
|
-
<path d="M5 13C5 10.2386 7.23858 8 10 8H18C20.7614 8 23 10.2386 23 13V15C23 17.7614 20.7614 20 18 20H10C7.23858 20 5 17.7614 5 15V13Z" fill="url(#paint0_linear_8382_155)"/>
|
|
10
|
-
<path d="M22.5 13C22.5 10.5147 20.4853 8.5 18 8.5H10C7.51472 8.5 5.5 10.5147 5.5 13V15C5.5 17.4853 7.51472 19.5 10 19.5H18C20.4853 19.5 22.5 17.4853 22.5 15V13ZM23.5 15C23.5 18.0376 21.0376 20.5 18 20.5H10C6.96243 20.5 4.5 18.0376 4.5 15V13C4.5 9.96243 6.96243 7.5 10 7.5H18C21.0376 7.5 23.5 9.96243 23.5 13V15Z" fill="url(#paint1_linear_8382_155)"/>
|
|
11
|
-
<path d="M16.4867 12.1998C16.4919 12.0894 16.5855 12.0042 16.6959 12.0094L19.293 12.1312C19.4034 12.1363 19.4886 12.23 19.4834 12.3403V12.3403C19.4783 12.4506 19.3846 12.5359 19.2743 12.5307L16.6771 12.4089C16.5668 12.4038 16.4816 12.3101 16.4867 12.1998V12.1998Z" fill="#31EBF9"/>
|
|
12
|
-
<path d="M16.4867 13.0006C16.4919 12.8902 16.5855 12.805 16.6959 12.8102L19.293 12.9319C19.4034 12.9371 19.4886 13.0308 19.4834 13.1411V13.1411C19.4783 13.2514 19.3846 13.3367 19.2743 13.3315L16.6771 13.2097C16.5668 13.2045 16.4816 13.1109 16.4867 13.0006V13.0006Z" fill="#31EBF9"/>
|
|
13
|
-
<path d="M16.4867 13.7994C16.4919 13.6891 16.5855 13.6038 16.6959 13.609L19.293 13.7308C19.4034 13.7359 19.4886 13.8296 19.4834 13.9399V13.9399C19.4783 14.0503 19.3846 14.1355 19.2743 14.1303L16.6771 14.0085C16.5668 14.0034 16.4816 13.9097 16.4867 13.7994V13.7994Z" fill="#31EBF9"/>
|
|
14
|
-
<path d="M16.4867 14.6002C16.4919 14.4898 16.5855 14.4046 16.6959 14.4098L19.293 14.5316C19.4034 14.5367 19.4886 14.6304 19.4834 14.7407V14.7407C19.4783 14.851 19.3846 14.9363 19.2743 14.9311L16.6771 14.8093C16.5668 14.8041 16.4816 14.7105 16.4867 14.6002V14.6002Z" fill="#31EBF9"/>
|
|
15
|
-
<path d="M16.4867 15.399C16.4919 15.2887 16.5855 15.2034 16.6959 15.2086L19.293 15.3304C19.4034 15.3356 19.4886 15.4292 19.4834 15.5395V15.5395C19.4783 15.6499 19.3846 15.7351 19.2743 15.7299L16.6771 15.6081C16.5668 15.603 16.4816 15.5093 16.4867 15.399V15.399Z" fill="#31EBF9"/>
|
|
16
|
-
<path d="M11.5055 12.1998C11.5003 12.0894 11.4066 12.0042 11.2963 12.0094L8.69917 12.1312C8.58883 12.1363 8.50358 12.23 8.50876 12.3403V12.3403C8.51393 12.4506 8.60757 12.5359 8.71791 12.5307L11.3151 12.4089C11.4254 12.4038 11.5106 12.3101 11.5055 12.1998V12.1998Z" fill="#31EBF9"/>
|
|
17
|
-
<path d="M11.5055 13.0006C11.5003 12.8902 11.4066 12.805 11.2963 12.8102L8.69917 12.9319C8.58883 12.9371 8.50358 13.0308 8.50876 13.1411V13.1411C8.51393 13.2514 8.60757 13.3367 8.71791 13.3315L11.3151 13.2097C11.4254 13.2045 11.5106 13.1109 11.5055 13.0006V13.0006Z" fill="#31EBF9"/>
|
|
18
|
-
<path d="M11.5055 13.7994C11.5003 13.6891 11.4066 13.6038 11.2963 13.609L8.69917 13.7308C8.58883 13.7359 8.50358 13.8296 8.50876 13.9399V13.9399C8.51393 14.0503 8.60757 14.1355 8.71791 14.1303L11.3151 14.0085C11.4254 14.0034 11.5106 13.9097 11.5055 13.7994V13.7994Z" fill="#31EBF9"/>
|
|
19
|
-
<path d="M11.5055 14.6002C11.5003 14.4898 11.4066 14.4046 11.2963 14.4098L8.69917 14.5316C8.58883 14.5367 8.50358 14.6304 8.50876 14.7407V14.7407C8.51393 14.851 8.60757 14.9363 8.71791 14.9311L11.3151 14.8093C11.4254 14.8041 11.5106 14.7105 11.5055 14.6002V14.6002Z" fill="#31EBF9"/>
|
|
20
|
-
<path d="M11.5055 15.399C11.5003 15.2887 11.4066 15.2034 11.2963 15.2086L8.69917 15.3304C8.58883 15.3356 8.50358 15.4292 8.50876 15.5395V15.5395C8.51393 15.6499 8.60757 15.7351 8.71791 15.7299L11.3151 15.6081C11.4254 15.603 11.5106 15.5093 11.5055 15.399V15.399Z" fill="#31EBF9"/>
|
|
21
|
-
<path d="M15.6464 22.6464C15.8417 22.4512 16.1582 22.4512 16.3535 22.6464C16.5487 22.8417 16.5487 23.1582 16.3535 23.3535C15.4655 24.2414 14.4157 24.3886 13.5429 24.2431C12.6983 24.1024 11.9758 23.6828 11.6464 23.3535C11.4512 23.1582 11.4512 22.8417 11.6464 22.6464C11.8417 22.4512 12.1582 22.4512 12.3535 22.6464C12.5241 22.8171 13.0517 23.1475 13.707 23.2568C14.3342 23.3613 15.0345 23.2584 15.6464 22.6464Z" fill="black"/>
|
|
22
|
-
<defs>
|
|
23
|
-
<linearGradient id="paint0_linear_8382_155" x1="14" y1="8" x2="14" y2="20" gradientUnits="userSpaceOnUse">
|
|
24
|
-
<stop stop-color="#181D55"/>
|
|
25
|
-
<stop offset="1" stop-color="#1E2995"/>
|
|
26
|
-
</linearGradient>
|
|
27
|
-
<linearGradient id="paint1_linear_8382_155" x1="6.5" y1="10" x2="22" y2="18.5" gradientUnits="userSpaceOnUse">
|
|
28
|
-
<stop stop-color="#4781E2"/>
|
|
29
|
-
<stop offset="1" stop-color="#3266D0"/>
|
|
30
|
-
</linearGradient>
|
|
31
|
-
</defs>
|
|
32
|
-
</svg>
|
package/src/assets/cloud.png
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,272 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div ref="affixMainRef" class="yx-affix" :style="{ height: isFixed ? placeholderStyle.height : undefined }">
|
|
3
|
-
<div
|
|
4
|
-
ref="affixRef"
|
|
5
|
-
v-resize="onResize"
|
|
6
|
-
:style="affixStyle"
|
|
7
|
-
:class="{
|
|
8
|
-
'is-fixed': isFixed,
|
|
9
|
-
'is-top': props.position === 'top',
|
|
10
|
-
'is-bottom': props.position === 'bottom'
|
|
11
|
-
}"
|
|
12
|
-
class="yx-affix-content"
|
|
13
|
-
>
|
|
14
|
-
<slot />
|
|
15
|
-
</div>
|
|
16
|
-
</div>
|
|
17
|
-
</template>
|
|
18
|
-
|
|
19
|
-
<script lang="ts" setup>
|
|
20
|
-
import { defineProps, defineEmits, ref, onMounted, onUnmounted, nextTick, computed, watchEffect } from 'vue';
|
|
21
|
-
import type { PropType, CSSProperties } from 'vue';
|
|
22
|
-
|
|
23
|
-
type Position = 'top' | 'bottom';
|
|
24
|
-
type Target = string | HTMLElement | Window;
|
|
25
|
-
|
|
26
|
-
const props = defineProps({
|
|
27
|
-
offset: {
|
|
28
|
-
type: Number,
|
|
29
|
-
default: 0
|
|
30
|
-
},
|
|
31
|
-
position: {
|
|
32
|
-
type: String as PropType<Position>,
|
|
33
|
-
default: 'top',
|
|
34
|
-
validator: (value: string): value is Position => ['top', 'bottom'].includes(value)
|
|
35
|
-
},
|
|
36
|
-
target: {
|
|
37
|
-
type: [String, HTMLElement] as PropType<Target>,
|
|
38
|
-
default: () => window
|
|
39
|
-
},
|
|
40
|
-
autoDetectParentScroll: {
|
|
41
|
-
type: Boolean,
|
|
42
|
-
default: true
|
|
43
|
-
},
|
|
44
|
-
stickyInScrollContainer: {
|
|
45
|
-
type: Boolean,
|
|
46
|
-
default: true
|
|
47
|
-
},
|
|
48
|
-
zIndex: {
|
|
49
|
-
type: Number,
|
|
50
|
-
default: 100
|
|
51
|
-
},
|
|
52
|
-
// 是否开启间隔监听
|
|
53
|
-
enableIntervalUpdate: {
|
|
54
|
-
type: Boolean,
|
|
55
|
-
default: true
|
|
56
|
-
},
|
|
57
|
-
enableIntervalTime: {
|
|
58
|
-
type: Number,
|
|
59
|
-
default: 2000
|
|
60
|
-
}
|
|
61
|
-
});
|
|
62
|
-
|
|
63
|
-
const emits = defineEmits<{
|
|
64
|
-
(e: 'change', fixed: boolean): void;
|
|
65
|
-
}>();
|
|
66
|
-
|
|
67
|
-
// 父级容器
|
|
68
|
-
const affixMainRef = ref<HTMLElement | null>(null);
|
|
69
|
-
// 悬浮容器
|
|
70
|
-
const affixRef = ref<HTMLElement | null>(null);
|
|
71
|
-
// 是否浮动
|
|
72
|
-
const isFixed = ref(false);
|
|
73
|
-
const placeholderStyle = ref<{ width?: string; height?: string }>({});
|
|
74
|
-
const scrollContainerDatas = ref<Array<HTMLElement | Window>>([]);
|
|
75
|
-
const scrollContainer = ref<HTMLElement | Window>(window);
|
|
76
|
-
const adjustedOffset = ref<number>(0);
|
|
77
|
-
const intervalId = ref<number | null>(null);
|
|
78
|
-
|
|
79
|
-
const onResize = (entry: { contentRect: { height: string | undefined; }; }) => {
|
|
80
|
-
if (entry.contentRect.height) {
|
|
81
|
-
placeholderStyle.value.height = entry.contentRect.height
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
// 用于获取 距离顶部 底部 距离
|
|
86
|
-
const getAffixOffset = (containerRect: DOMRect) => {
|
|
87
|
-
const isTop = ['top'].includes(props.position);
|
|
88
|
-
const isBottom = ['bottom'].includes(props.position);
|
|
89
|
-
if (!affixMainRef.value) return { isTop, isBottom };
|
|
90
|
-
|
|
91
|
-
const affixMainRect = affixMainRef.value.getBoundingClientRect();
|
|
92
|
-
const offsetTop = affixMainRect.top - containerRect.top;
|
|
93
|
-
const offsetLeft = affixMainRect.left - containerRect.left;
|
|
94
|
-
const offsetBottom = containerRect.height - affixMainRect.height - offsetTop;
|
|
95
|
-
// 容器距离浏览器顶部
|
|
96
|
-
const containerTop = containerRect.top;
|
|
97
|
-
// 容器距离浏览器底部
|
|
98
|
-
const containerBottom = window.innerHeight - containerRect.bottom;
|
|
99
|
-
// 是否开启顶部悬浮
|
|
100
|
-
const isFixTop = isTop && offsetTop <= 0;
|
|
101
|
-
// 是否开启底部悬浮
|
|
102
|
-
const isFixBottom = isBottom && offsetBottom <= 0;
|
|
103
|
-
// 偏移距离
|
|
104
|
-
const containerOffset = isTop ? containerTop : isBottom ? containerBottom : 0;
|
|
105
|
-
return {
|
|
106
|
-
isTop,
|
|
107
|
-
isBottom,
|
|
108
|
-
containerTop,
|
|
109
|
-
containerBottom,
|
|
110
|
-
containerOffset,
|
|
111
|
-
offsetTop,
|
|
112
|
-
offsetLeft,
|
|
113
|
-
offsetBottom,
|
|
114
|
-
// 是否开启顶部悬浮
|
|
115
|
-
isFixTop,
|
|
116
|
-
// 是否开启底部悬浮
|
|
117
|
-
isFixBottom,
|
|
118
|
-
};
|
|
119
|
-
};
|
|
120
|
-
|
|
121
|
-
// 获取滚动容器
|
|
122
|
-
const getScrollContainer = (): Array<HTMLElement | Window> => {
|
|
123
|
-
if (props.autoDetectParentScroll && affixRef.value) {
|
|
124
|
-
const list: Array<HTMLElement | Window> = [];
|
|
125
|
-
let parent: HTMLElement | null = affixRef.value.parentElement;
|
|
126
|
-
while (parent && parent !== document.body) {
|
|
127
|
-
const { overflowY } = window.getComputedStyle(parent);
|
|
128
|
-
if (/(auto|scroll)/.test(overflowY)) {
|
|
129
|
-
list.push(parent);
|
|
130
|
-
}
|
|
131
|
-
parent = parent.parentElement;
|
|
132
|
-
}
|
|
133
|
-
return [...list, window];
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
if (typeof props.target === 'string') {
|
|
137
|
-
const el = document.querySelector(props.target);
|
|
138
|
-
return [...(el ? [el as HTMLElement] : []), window];
|
|
139
|
-
}
|
|
140
|
-
return [window];
|
|
141
|
-
};
|
|
142
|
-
|
|
143
|
-
// 检测滚动节点
|
|
144
|
-
const update = () => {
|
|
145
|
-
try {
|
|
146
|
-
if (!affixRef.value) return;
|
|
147
|
-
const rect = affixRef.value.getBoundingClientRect();
|
|
148
|
-
const container = scrollContainer.value;
|
|
149
|
-
if (container === window) {
|
|
150
|
-
const shouldFix = props.position === 'top' ? rect.top <= props.offset : rect.bottom >= window.innerHeight - props.offset;
|
|
151
|
-
adjustedOffset.value = 0;
|
|
152
|
-
updateFixedState(shouldFix, rect);
|
|
153
|
-
} else if (props.stickyInScrollContainer) {
|
|
154
|
-
const containerRect = (container as HTMLElement).getBoundingClientRect();
|
|
155
|
-
const { isFixTop, isFixBottom, containerOffset } = getAffixOffset(containerRect);
|
|
156
|
-
adjustedOffset.value = containerOffset ?? 0;
|
|
157
|
-
updateFixedState(isFixTop || isFixBottom || false, rect);
|
|
158
|
-
}
|
|
159
|
-
} catch (error) {
|
|
160
|
-
console.error(error)
|
|
161
|
-
}
|
|
162
|
-
};
|
|
163
|
-
|
|
164
|
-
// 更新固定状态
|
|
165
|
-
const updateFixedState = (shouldFix: boolean, rect: DOMRect) => {
|
|
166
|
-
if (!rect.height) return
|
|
167
|
-
if (shouldFix !== isFixed.value || placeholderStyle.value?.height !== `${rect.height}px`) {
|
|
168
|
-
isFixed.value = shouldFix;
|
|
169
|
-
emits('change', shouldFix);
|
|
170
|
-
|
|
171
|
-
if (shouldFix) {
|
|
172
|
-
placeholderStyle.value = {
|
|
173
|
-
width: `100%`,
|
|
174
|
-
height: `${rect.height}px`
|
|
175
|
-
};
|
|
176
|
-
} else {
|
|
177
|
-
placeholderStyle.value = {};
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
};
|
|
181
|
-
|
|
182
|
-
// 滚动事件处理
|
|
183
|
-
const handleScroll = () => {
|
|
184
|
-
requestAnimationFrame(update);
|
|
185
|
-
};
|
|
186
|
-
|
|
187
|
-
// 窗口大小变化处理
|
|
188
|
-
let resizeTimer: number;
|
|
189
|
-
const handleResize = () => {
|
|
190
|
-
isFixed.value = false;
|
|
191
|
-
clearTimeout(resizeTimer);
|
|
192
|
-
resizeTimer = window.setTimeout(() => {
|
|
193
|
-
update();
|
|
194
|
-
}, 100);
|
|
195
|
-
};
|
|
196
|
-
|
|
197
|
-
// 组件挂载
|
|
198
|
-
onMounted(() => {
|
|
199
|
-
setTimeout(() => {
|
|
200
|
-
nextTick(() => {
|
|
201
|
-
try {
|
|
202
|
-
// eslint-disable-next-line no-debugger
|
|
203
|
-
if (props.enableIntervalUpdate) {
|
|
204
|
-
intervalId.value = setInterval(handleScroll, props.enableIntervalTime);
|
|
205
|
-
}
|
|
206
|
-
const scrollList = getScrollContainer();
|
|
207
|
-
console.log('检测父级滚动节点', scrollList)
|
|
208
|
-
scrollContainerDatas.value = scrollList;
|
|
209
|
-
scrollContainer.value = scrollList[0];
|
|
210
|
-
scrollContainerDatas.value.forEach(dom => dom.addEventListener('scroll', handleScroll));
|
|
211
|
-
window.addEventListener('resize', handleResize);
|
|
212
|
-
update();
|
|
213
|
-
} catch (error) {
|
|
214
|
-
console.error(error)
|
|
215
|
-
}
|
|
216
|
-
});
|
|
217
|
-
}, 100)
|
|
218
|
-
});
|
|
219
|
-
|
|
220
|
-
// 组件卸载
|
|
221
|
-
onUnmounted(() => {
|
|
222
|
-
if (scrollContainer.value) {
|
|
223
|
-
scrollContainerDatas.value.forEach(dom => dom.removeEventListener('scroll', handleScroll));
|
|
224
|
-
}
|
|
225
|
-
window.removeEventListener('resize', handleResize);
|
|
226
|
-
clearTimeout(resizeTimer);
|
|
227
|
-
if (intervalId.value) clearInterval(intervalId.value);
|
|
228
|
-
});
|
|
229
|
-
|
|
230
|
-
watchEffect(() => {
|
|
231
|
-
nextTick(() => {
|
|
232
|
-
handleScroll();
|
|
233
|
-
});
|
|
234
|
-
});
|
|
235
|
-
|
|
236
|
-
// 计算样式
|
|
237
|
-
const affixStyle = computed(() => {
|
|
238
|
-
if (isFixed.value && affixRef.value?.offsetWidth) {
|
|
239
|
-
return {
|
|
240
|
-
position: 'fixed',
|
|
241
|
-
width: `${affixRef.value?.offsetWidth}px`,
|
|
242
|
-
zIndex: props.zIndex,
|
|
243
|
-
[props.position]: `${props.offset + adjustedOffset.value}px`
|
|
244
|
-
} as CSSProperties;
|
|
245
|
-
}
|
|
246
|
-
return {
|
|
247
|
-
position: 'relative',
|
|
248
|
-
} as CSSProperties;
|
|
249
|
-
});
|
|
250
|
-
</script>
|
|
251
|
-
|
|
252
|
-
<style lang="scss" scoped>
|
|
253
|
-
.yx-affix {
|
|
254
|
-
&:empty {
|
|
255
|
-
display: none;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
.yx-affix-content {
|
|
259
|
-
&:empty {
|
|
260
|
-
display: none;
|
|
261
|
-
}
|
|
262
|
-
&.is-fixed {
|
|
263
|
-
&.is-top {
|
|
264
|
-
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
|
265
|
-
}
|
|
266
|
-
&.is-bottom {
|
|
267
|
-
box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.2);
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
</style>
|