yg-yygl 0.0.1
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/dist/api/account/index.d.ts +132 -0
- package/dist/api/account/index.mjs +92 -0
- package/dist/api/account/types.d.ts +58 -0
- package/dist/api/account/types.mjs +0 -0
- package/dist/api/app-menu/config/index.d.ts +167 -0
- package/dist/api/app-menu/config/index.mjs +76 -0
- package/dist/api/app-menu/config/types.d.ts +91 -0
- package/dist/api/app-menu/config/types.mjs +0 -0
- package/dist/api/app-menu/index.d.ts +140 -0
- package/dist/api/app-menu/index.mjs +95 -0
- package/dist/api/app-menu/menu.d.ts +107 -0
- package/dist/api/app-menu/menu.mjs +85 -0
- package/dist/api/app-menu/menuTypes.d.ts +143 -0
- package/dist/api/app-menu/menuTypes.mjs +0 -0
- package/dist/api/app-menu/types.d.ts +112 -0
- package/dist/api/app-menu/types.mjs +0 -0
- package/dist/api/cache/index.d.ts +49 -0
- package/dist/api/cache/index.mjs +19 -0
- package/dist/api/codegen/index.d.ts +81 -0
- package/dist/api/codegen/index.mjs +225 -0
- package/dist/api/codegen/template-file.d.ts +39 -0
- package/dist/api/codegen/template-file.mjs +45 -0
- package/dist/api/codegen/template-group.d.ts +43 -0
- package/dist/api/codegen/template-group.mjs +52 -0
- package/dist/api/codegen/types.d.ts +1 -0
- package/dist/api/codegen/types.mjs +1 -0
- package/dist/api/column-manager/index.d.ts +30 -0
- package/dist/api/column-manager/index.mjs +31 -0
- package/dist/api/column-manager/types.d.ts +28 -0
- package/dist/api/column-manager/types.mjs +0 -0
- package/dist/api/consult/index.d.ts +100 -0
- package/dist/api/consult/index.mjs +45 -0
- package/dist/api/data-connect/index.d.ts +39 -0
- package/dist/api/data-connect/index.mjs +25 -0
- package/dist/api/data-connect/types.d.ts +74 -0
- package/dist/api/data-connect/types.mjs +0 -0
- package/dist/api/data-interface/index.d.ts +113 -0
- package/dist/api/data-interface/index.mjs +75 -0
- package/dist/api/data-interface/types.d.ts +253 -0
- package/dist/api/data-interface/types.mjs +23 -0
- package/dist/api/data-modeling/index.d.ts +96 -0
- package/dist/api/data-modeling/index.mjs +76 -0
- package/dist/api/data-modeling/types.d.ts +59 -0
- package/dist/api/data-modeling/types.mjs +0 -0
- package/dist/api/department/index.d.ts +20 -0
- package/dist/api/department/index.mjs +81 -0
- package/dist/api/dic/index.d.ts +193 -0
- package/dist/api/dic/index.mjs +141 -0
- package/dist/api/dic/types.d.ts +52 -0
- package/dist/api/dic/types.mjs +0 -0
- package/dist/api/dictionary/index.d.ts +76 -0
- package/dist/api/dictionary/index.mjs +38 -0
- package/dist/api/example/index.d.ts +5 -0
- package/dist/api/example/index.mjs +16 -0
- package/dist/api/file-config/index.d.ts +38 -0
- package/dist/api/file-config/index.mjs +25 -0
- package/dist/api/file-config/types.d.ts +77 -0
- package/dist/api/file-config/types.mjs +6 -0
- package/dist/api/file-info/index.d.ts +23 -0
- package/dist/api/file-info/index.mjs +25 -0
- package/dist/api/file-info/types.d.ts +53 -0
- package/dist/api/file-info/types.mjs +0 -0
- package/dist/api/icon/index.d.ts +75 -0
- package/dist/api/icon/index.mjs +64 -0
- package/dist/api/icon/types.d.ts +48 -0
- package/dist/api/icon/types.mjs +0 -0
- package/dist/api/index.d.ts +22 -0
- package/dist/api/index.mjs +33 -0
- package/dist/api/interface-oauth/index.d.ts +101 -0
- package/dist/api/interface-oauth/index.mjs +74 -0
- package/dist/api/interface-oauth/types.d.ts +118 -0
- package/dist/api/interface-oauth/types.mjs +0 -0
- package/dist/api/launchpage/index.d.ts +37 -0
- package/dist/api/launchpage/index.mjs +22 -0
- package/dist/api/llm/index.d.ts +21 -0
- package/dist/api/llm/index.mjs +56 -0
- package/dist/api/llm/types.d.ts +111 -0
- package/dist/api/llm/types.mjs +0 -0
- package/dist/api/log/index.d.ts +18 -0
- package/dist/api/log/index.mjs +13 -0
- package/dist/api/log/types.d.ts +59 -0
- package/dist/api/log/types.mjs +0 -0
- package/dist/api/login/index.d.ts +68 -0
- package/dist/api/login/index.mjs +41 -0
- package/dist/api/login/types.d.ts +112 -0
- package/dist/api/login/types.mjs +0 -0
- package/dist/api/login/util.d.ts +24 -0
- package/dist/api/login/util.mjs +103 -0
- package/dist/api/mail/index.d.ts +147 -0
- package/dist/api/mail/index.mjs +116 -0
- package/dist/api/mail/types.d.ts +248 -0
- package/dist/api/mail/types.mjs +0 -0
- package/dist/api/menu/index.d.ts +73 -0
- package/dist/api/menu/index.mjs +57 -0
- package/dist/api/menu/types.d.ts +90 -0
- package/dist/api/menu/types.mjs +0 -0
- package/dist/api/msg/index.d.ts +142 -0
- package/dist/api/msg/index.mjs +87 -0
- package/dist/api/msg/types.d.ts +149 -0
- package/dist/api/msg/types.mjs +0 -0
- package/dist/api/notice/index.d.ts +25 -0
- package/dist/api/notice/index.mjs +13 -0
- package/dist/api/online-user/index.d.ts +14 -0
- package/dist/api/online-user/index.mjs +7 -0
- package/dist/api/online-user/types.d.ts +19 -0
- package/dist/api/online-user/types.mjs +0 -0
- package/dist/api/personal-center/index.d.ts +3 -0
- package/dist/api/personal-center/index.mjs +12 -0
- package/dist/api/personal-center/types.d.ts +37 -0
- package/dist/api/personal-center/types.mjs +0 -0
- package/dist/api/post/index.d.ts +67 -0
- package/dist/api/post/index.mjs +49 -0
- package/dist/api/preference/index.d.ts +12 -0
- package/dist/api/preference/index.mjs +7 -0
- package/dist/api/preference/types.d.ts +10 -0
- package/dist/api/preference/types.mjs +0 -0
- package/dist/api/quartz/index.d.ts +49 -0
- package/dist/api/quartz/index.mjs +40 -0
- package/dist/api/request.d.ts +31 -0
- package/dist/api/request.mjs +52 -0
- package/dist/api/role/index.d.ts +123 -0
- package/dist/api/role/index.mjs +55 -0
- package/dist/api/seal/demo-types.d.ts +105 -0
- package/dist/api/seal/demo-types.mjs +0 -0
- package/dist/api/seal/demo.d.ts +17 -0
- package/dist/api/seal/demo.mjs +33 -0
- package/dist/api/seal/index.d.ts +92 -0
- package/dist/api/seal/index.mjs +57 -0
- package/dist/api/seal/types.d.ts +158 -0
- package/dist/api/seal/types.mjs +11 -0
- package/dist/api/sensitiveword/index.d.ts +18 -0
- package/dist/api/sensitiveword/index.mjs +52 -0
- package/dist/api/sensitiveword/types.d.ts +73 -0
- package/dist/api/sensitiveword/types.mjs +0 -0
- package/dist/api/server-monitor/index.d.ts +69 -0
- package/dist/api/server-monitor/index.mjs +10 -0
- package/dist/api/sms/index.d.ts +134 -0
- package/dist/api/sms/index.mjs +107 -0
- package/dist/api/sms/types.d.ts +192 -0
- package/dist/api/sms/types.mjs +0 -0
- package/dist/api/sys/menu.d.ts +100 -0
- package/dist/api/sys/menu.mjs +51 -0
- package/dist/api/sys-config/index.d.ts +46 -0
- package/dist/api/sys-config/index.mjs +18 -0
- package/dist/api/template-config/index.d.ts +45 -0
- package/dist/api/template-config/index.mjs +31 -0
- package/dist/api/tenant/index.d.ts +59 -0
- package/dist/api/tenant/index.mjs +53 -0
- package/dist/api/tenant/types.d.ts +68 -0
- package/dist/api/tenant/types.mjs +0 -0
- package/dist/api/user/index.d.ts +32 -0
- package/dist/api/user/index.mjs +74 -0
- package/dist/api/user/types.d.ts +67 -0
- package/dist/api/user/types.mjs +0 -0
- package/dist/components/account-item/index.d.ts +1 -0
- package/dist/components/account-item/index.mjs +1 -0
- package/dist/components/account-item/src/account-item.d.vue.ts +17 -0
- package/dist/components/account-item/src/account-item.vue +121 -0
- package/dist/components/account-item/src/account-item.vue.d.ts +17 -0
- package/dist/components/account-switch-dialog/index.d.ts +3 -0
- package/dist/components/account-switch-dialog/index.mjs +3 -0
- package/dist/components/account-switch-dialog/src/account-switch-dialog.d.vue.ts +9 -0
- package/dist/components/account-switch-dialog/src/account-switch-dialog.vue +238 -0
- package/dist/components/account-switch-dialog/src/account-switch-dialog.vue.d.ts +9 -0
- package/dist/components/app-menu-tree/index.d.ts +1 -0
- package/dist/components/app-menu-tree/index.mjs +1 -0
- package/dist/components/app-menu-tree/src/app-menu-tree.d.vue.ts +2 -0
- package/dist/components/app-menu-tree/src/app-menu-tree.vue +47 -0
- package/dist/components/app-menu-tree/src/app-menu-tree.vue.d.ts +2 -0
- package/dist/components/avatar-cropper/index.d.ts +1 -0
- package/dist/components/avatar-cropper/index.mjs +1 -0
- package/dist/components/avatar-cropper/src/avatar-cropper.d.vue.ts +90 -0
- package/dist/components/avatar-cropper/src/avatar-cropper.vue +142 -0
- package/dist/components/avatar-cropper/src/avatar-cropper.vue.d.ts +90 -0
- package/dist/components/content-card/index.d.ts +1 -0
- package/dist/components/content-card/index.mjs +1 -0
- package/dist/components/content-card/src/content-card.d.vue.ts +18 -0
- package/dist/components/content-card/src/content-card.vue +21 -0
- package/dist/components/content-card/src/content-card.vue.d.ts +18 -0
- package/dist/components/custom-tags/index.d.ts +3 -0
- package/dist/components/custom-tags/index.mjs +3 -0
- package/dist/components/custom-tags/src/gender-tag.d.vue.ts +32 -0
- package/dist/components/custom-tags/src/gender-tag.vue +111 -0
- package/dist/components/custom-tags/src/gender-tag.vue.d.ts +32 -0
- package/dist/components/custom-tags/src/status-tag.d.vue.ts +51 -0
- package/dist/components/custom-tags/src/status-tag.vue +90 -0
- package/dist/components/custom-tags/src/status-tag.vue.d.ts +51 -0
- package/dist/components/custom-tags/src/tag.d.vue.ts +40 -0
- package/dist/components/custom-tags/src/tag.vue +84 -0
- package/dist/components/custom-tags/src/tag.vue.d.ts +40 -0
- package/dist/components/department-form.d.vue.ts +29 -0
- package/dist/components/department-form.vue +711 -0
- package/dist/components/department-form.vue.d.ts +29 -0
- package/dist/components/department-tree/index.d.ts +1 -0
- package/dist/components/department-tree/index.mjs +1 -0
- package/dist/components/department-tree/src/department-tree.d.vue.ts +9 -0
- package/dist/components/department-tree/src/department-tree.vue +419 -0
- package/dist/components/department-tree/src/department-tree.vue.d.ts +9 -0
- package/dist/components/department-tree.d.vue.ts +9 -0
- package/dist/components/department-tree.vue +409 -0
- package/dist/components/department-tree.vue.d.ts +9 -0
- package/dist/components/expand-attribute/index.d.ts +1 -0
- package/dist/components/expand-attribute/index.mjs +1 -0
- package/dist/components/expand-attribute/src/expand-attribute.d.vue.ts +10 -0
- package/dist/components/expand-attribute/src/expand-attribute.vue +116 -0
- package/dist/components/expand-attribute/src/expand-attribute.vue.d.ts +10 -0
- package/dist/components/expand-attribute.d.vue.ts +10 -0
- package/dist/components/expand-attribute.vue +116 -0
- package/dist/components/expand-attribute.vue.d.ts +10 -0
- package/dist/components/gender-tag.d.vue.ts +32 -0
- package/dist/components/gender-tag.vue +111 -0
- package/dist/components/gender-tag.vue.d.ts +32 -0
- package/dist/components/import-file/index.d.ts +1 -0
- package/dist/components/import-file/index.mjs +1 -0
- package/dist/components/import-file/src/import-file.d.vue.ts +67 -0
- package/dist/components/import-file/src/import-file.vue +216 -0
- package/dist/components/import-file/src/import-file.vue.d.ts +67 -0
- package/dist/components/main-container/index.d.ts +1 -0
- package/dist/components/main-container/index.mjs +1 -0
- package/dist/components/main-container/src/main-container.d.vue.ts +28 -0
- package/dist/components/main-container/src/main-container.vue +50 -0
- package/dist/components/main-container/src/main-container.vue.d.ts +28 -0
- package/dist/components/main-container.d.vue.ts +28 -0
- package/dist/components/main-container.vue +50 -0
- package/dist/components/main-container.vue.d.ts +28 -0
- package/dist/components/organ-account-select/index.d.ts +1 -0
- package/dist/components/organ-account-select/index.mjs +1 -0
- package/dist/components/organ-account-select/src/organ-account-select.d.vue.ts +41 -0
- package/dist/components/organ-account-select/src/organ-account-select.vue +403 -0
- package/dist/components/organ-account-select/src/organ-account-select.vue.d.ts +41 -0
- package/dist/components/seal/seal-designer.d.vue.ts +19 -0
- package/dist/components/seal/seal-designer.vue +289 -0
- package/dist/components/seal/seal-designer.vue.d.ts +19 -0
- package/dist/components/seal/seal-selector.d.vue.ts +25 -0
- package/dist/components/seal/seal-selector.vue +272 -0
- package/dist/components/seal/seal-selector.vue.d.ts +25 -0
- package/dist/components/upload-img/index.d.ts +1 -0
- package/dist/components/upload-img/index.mjs +1 -0
- package/dist/components/upload-img/src/upload-img.d.vue.ts +35 -0
- package/dist/components/upload-img/src/upload-img.vue +169 -0
- package/dist/components/upload-img/src/upload-img.vue.d.ts +35 -0
- package/dist/components/upload-img-new/index.d.ts +2 -0
- package/dist/components/upload-img-new/index.mjs +1 -0
- package/dist/components/upload-img-new/src/upload-img-new.d.vue.ts +72 -0
- package/dist/components/upload-img-new/src/upload-img-new.vue +423 -0
- package/dist/components/upload-img-new/src/upload-img-new.vue.d.ts +72 -0
- package/dist/components/user-extend-manage.d.vue.ts +2 -0
- package/dist/components/user-extend-manage.vue +590 -0
- package/dist/components/user-extend-manage.vue.d.ts +2 -0
- package/dist/components/user-form.d.vue.ts +16 -0
- package/dist/components/user-form.vue +686 -0
- package/dist/components/user-form.vue.d.ts +16 -0
- package/dist/components/user-import.d.vue.ts +4 -0
- package/dist/components/user-import.vue +98 -0
- package/dist/components/user-import.vue.d.ts +4 -0
- package/dist/components/user-management.d.vue.ts +2 -0
- package/dist/components/user-management.vue +709 -0
- package/dist/components/user-management.vue.d.ts +2 -0
- package/dist/components/websocket-status/index.d.vue.ts +2 -0
- package/dist/components/websocket-status/index.vue +124 -0
- package/dist/components/websocket-status/index.vue.d.ts +2 -0
- package/dist/components/work-transfer.d.vue.ts +8 -0
- package/dist/components/work-transfer.vue +127 -0
- package/dist/components/work-transfer.vue.d.ts +8 -0
- package/dist/hooks/useDict.d.ts +14 -0
- package/dist/hooks/useDict.mjs +42 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.mjs +15 -0
- package/dist/plugin.d.ts +3 -0
- package/dist/plugin.mjs +31 -0
- package/dist/store/auth.d.ts +33 -0
- package/dist/store/auth.mjs +141 -0
- package/dist/store/dict.d.ts +34 -0
- package/dist/store/dict.mjs +42 -0
- package/dist/store/index.d.ts +2 -0
- package/dist/store/index.mjs +2 -0
- package/dist/store/websocket.d.ts +108 -0
- package/dist/store/websocket.mjs +387 -0
- package/dist/store/ws-notification.d.ts +25 -0
- package/dist/store/ws-notification.mjs +82 -0
- package/dist/types.d.ts +25 -0
- package/dist/types.mjs +0 -0
- package/dist/utils/config-sync.d.ts +4 -0
- package/dist/utils/config-sync.mjs +8 -0
- package/dist/utils/file.d.ts +37 -0
- package/dist/utils/file.mjs +54 -0
- package/dist/utils/index.d.ts +23 -0
- package/dist/utils/index.mjs +93 -0
- package/dist/utils/init-icons.d.ts +5 -0
- package/dist/utils/init-icons.mjs +92 -0
- package/dist/utils/treeUtil.d.ts +31 -0
- package/dist/utils/treeUtil.mjs +59 -0
- package/dist/utils/useAuthenticatedHtml.d.ts +13 -0
- package/dist/utils/useAuthenticatedHtml.mjs +66 -0
- package/dist/views/_core/about/index.d.vue.ts +2 -0
- package/dist/views/_core/about/index.vue +9 -0
- package/dist/views/_core/about/index.vue.d.ts +2 -0
- package/dist/views/_core/authentication/code-login.d.vue.ts +2 -0
- package/dist/views/_core/authentication/code-login.vue +69 -0
- package/dist/views/_core/authentication/code-login.vue.d.ts +2 -0
- package/dist/views/_core/authentication/forget-password.d.vue.ts +2 -0
- package/dist/views/_core/authentication/forget-password.vue +43 -0
- package/dist/views/_core/authentication/forget-password.vue.d.ts +2 -0
- package/dist/views/_core/authentication/login.d.vue.ts +2 -0
- package/dist/views/_core/authentication/login.vue +105 -0
- package/dist/views/_core/authentication/login.vue.d.ts +2 -0
- package/dist/views/_core/authentication/qrcode-login.d.vue.ts +2 -0
- package/dist/views/_core/authentication/qrcode-login.vue +10 -0
- package/dist/views/_core/authentication/qrcode-login.vue.d.ts +2 -0
- package/dist/views/_core/authentication/register.d.vue.ts +2 -0
- package/dist/views/_core/authentication/register.vue +96 -0
- package/dist/views/_core/authentication/register.vue.d.ts +2 -0
- package/dist/views/_core/fallback/coming-soon.d.vue.ts +2 -0
- package/dist/views/_core/fallback/coming-soon.vue +7 -0
- package/dist/views/_core/fallback/coming-soon.vue.d.ts +2 -0
- package/dist/views/_core/fallback/forbidden.d.vue.ts +2 -0
- package/dist/views/_core/fallback/forbidden.vue +9 -0
- package/dist/views/_core/fallback/forbidden.vue.d.ts +2 -0
- package/dist/views/_core/fallback/internal-error.d.vue.ts +2 -0
- package/dist/views/_core/fallback/internal-error.vue +9 -0
- package/dist/views/_core/fallback/internal-error.vue.d.ts +2 -0
- package/dist/views/_core/fallback/not-found.d.vue.ts +2 -0
- package/dist/views/_core/fallback/not-found.vue +9 -0
- package/dist/views/_core/fallback/not-found.vue.d.ts +2 -0
- package/dist/views/_core/fallback/offline.d.vue.ts +2 -0
- package/dist/views/_core/fallback/offline.vue +9 -0
- package/dist/views/_core/fallback/offline.vue.d.ts +2 -0
- package/dist/views/codegen/generate/components/CodePreviewModal.d.vue.ts +14 -0
- package/dist/views/codegen/generate/components/CodePreviewModal.vue +1161 -0
- package/dist/views/codegen/generate/components/CodePreviewModal.vue.d.ts +14 -0
- package/dist/views/codegen/generate/components/GenerateConfigModal.d.vue.ts +15 -0
- package/dist/views/codegen/generate/components/GenerateConfigModal.vue +1005 -0
- package/dist/views/codegen/generate/components/GenerateConfigModal.vue.d.ts +15 -0
- package/dist/views/codegen/generate/components/TableInfoModal.d.vue.ts +10 -0
- package/dist/views/codegen/generate/components/TableInfoModal.vue +276 -0
- package/dist/views/codegen/generate/components/TableInfoModal.vue.d.ts +10 -0
- package/dist/views/codegen/generate/components/preview-modal.d.vue.ts +16 -0
- package/dist/views/codegen/generate/components/preview-modal.vue +446 -0
- package/dist/views/codegen/generate/components/preview-modal.vue.d.ts +16 -0
- package/dist/views/codegen/generate/index.d.vue.ts +2 -0
- package/dist/views/codegen/generate/index.vue +332 -0
- package/dist/views/codegen/generate/index.vue.d.ts +2 -0
- package/dist/views/codegen/generate/table-info.d.vue.ts +2 -0
- package/dist/views/codegen/generate/table-info.vue +381 -0
- package/dist/views/codegen/generate/table-info.vue.d.ts +2 -0
- package/dist/views/codegen/generate/types/index.d.ts +394 -0
- package/dist/views/codegen/generate/types/index.mjs +26 -0
- package/dist/views/codegen/template-manage/components/TemplateFileEditorModal.d.vue.ts +14 -0
- package/dist/views/codegen/template-manage/components/TemplateFileEditorModal.vue +541 -0
- package/dist/views/codegen/template-manage/components/TemplateFileEditorModal.vue.d.ts +14 -0
- package/dist/views/codegen/template-manage/components/TemplateFileModal.d.vue.ts +14 -0
- package/dist/views/codegen/template-manage/components/TemplateFileModal.vue +354 -0
- package/dist/views/codegen/template-manage/components/TemplateFileModal.vue.d.ts +14 -0
- package/dist/views/codegen/template-manage/components/TemplateGroupModal.d.vue.ts +13 -0
- package/dist/views/codegen/template-manage/components/TemplateGroupModal.vue +295 -0
- package/dist/views/codegen/template-manage/components/TemplateGroupModal.vue.d.ts +13 -0
- package/dist/views/codegen/template-manage/files/index.d.vue.ts +9 -0
- package/dist/views/codegen/template-manage/files/index.vue +459 -0
- package/dist/views/codegen/template-manage/files/index.vue.d.ts +9 -0
- package/dist/views/codegen/template-manage/index.d.vue.ts +2 -0
- package/dist/views/codegen/template-manage/index.vue +421 -0
- package/dist/views/codegen/template-manage/index.vue.d.ts +2 -0
- package/dist/views/codegen/template-manage/types.d.ts +168 -0
- package/dist/views/codegen/template-manage/types.mjs +0 -0
- package/dist/views/dashboard/analytics/analytics-trends.d.vue.ts +2 -0
- package/dist/views/dashboard/analytics/analytics-trends.vue +98 -0
- package/dist/views/dashboard/analytics/analytics-trends.vue.d.ts +2 -0
- package/dist/views/dashboard/analytics/analytics-visits-data.d.vue.ts +2 -0
- package/dist/views/dashboard/analytics/analytics-visits-data.vue +82 -0
- package/dist/views/dashboard/analytics/analytics-visits-data.vue.d.ts +2 -0
- package/dist/views/dashboard/analytics/analytics-visits-sales.d.vue.ts +2 -0
- package/dist/views/dashboard/analytics/analytics-visits-sales.vue +48 -0
- package/dist/views/dashboard/analytics/analytics-visits-sales.vue.d.ts +2 -0
- package/dist/views/dashboard/analytics/analytics-visits-source.d.vue.ts +2 -0
- package/dist/views/dashboard/analytics/analytics-visits-source.vue +67 -0
- package/dist/views/dashboard/analytics/analytics-visits-source.vue.d.ts +2 -0
- package/dist/views/dashboard/analytics/analytics-visits.d.vue.ts +2 -0
- package/dist/views/dashboard/analytics/analytics-visits.vue +55 -0
- package/dist/views/dashboard/analytics/analytics-visits.vue.d.ts +2 -0
- package/dist/views/dashboard/analytics/index.d.vue.ts +2 -0
- package/dist/views/dashboard/analytics/index.vue +90 -0
- package/dist/views/dashboard/analytics/index.vue.d.ts +2 -0
- package/dist/views/dashboard/workspace/index.d.vue.ts +2 -0
- package/dist/views/dashboard/workspace/index.vue +266 -0
- package/dist/views/dashboard/workspace/index.vue.d.ts +2 -0
- package/dist/views/data/data-connect/constants.d.ts +47 -0
- package/dist/views/data/data-connect/constants.mjs +21 -0
- package/dist/views/data/data-connect/data-connect-form.d.vue.ts +11 -0
- package/dist/views/data/data-connect/data-connect-form.vue +477 -0
- package/dist/views/data/data-connect/data-connect-form.vue.d.ts +11 -0
- package/dist/views/data/data-connect/index.d.vue.ts +2 -0
- package/dist/views/data/data-connect/index.vue +379 -0
- package/dist/views/data/data-connect/index.vue.d.ts +2 -0
- package/dist/views/data/data-modeling/components/common-field/common-field-form.d.vue.ts +10 -0
- package/dist/views/data/data-modeling/components/common-field/common-field-form.vue +174 -0
- package/dist/views/data/data-modeling/components/common-field/common-field-form.vue.d.ts +10 -0
- package/dist/views/data/data-modeling/components/common-field/common-fields.d.vue.ts +4 -0
- package/dist/views/data/data-modeling/components/common-field/common-fields.vue +171 -0
- package/dist/views/data/data-modeling/components/common-field/common-fields.vue.d.ts +4 -0
- package/dist/views/data/data-modeling/components/data-modeling-form-one.d.vue.ts +57 -0
- package/dist/views/data/data-modeling/components/data-modeling-form-one.vue +265 -0
- package/dist/views/data/data-modeling/components/data-modeling-form-one.vue.d.ts +57 -0
- package/dist/views/data/data-modeling/components/data-modeling-form-two.d.vue.ts +57 -0
- package/dist/views/data/data-modeling/components/data-modeling-form-two.vue +561 -0
- package/dist/views/data/data-modeling/components/data-modeling-form-two.vue.d.ts +57 -0
- package/dist/views/data/data-modeling/components/data-modeling-form.d.vue.ts +11 -0
- package/dist/views/data/data-modeling/components/data-modeling-form.vue +188 -0
- package/dist/views/data/data-modeling/components/data-modeling-form.vue.d.ts +11 -0
- package/dist/views/data/data-modeling/components/data-preview.d.vue.ts +14 -0
- package/dist/views/data/data-modeling/components/data-preview.vue +130 -0
- package/dist/views/data/data-modeling/components/data-preview.vue.d.ts +14 -0
- package/dist/views/data/data-modeling/index.d.vue.ts +2 -0
- package/dist/views/data/data-modeling/index.vue +376 -0
- package/dist/views/data/data-modeling/index.vue.d.ts +2 -0
- package/dist/views/data/interface-oauth/components/interface-oauth-log.d.vue.ts +6 -0
- package/dist/views/data/interface-oauth/components/interface-oauth-log.vue +79 -0
- package/dist/views/data/interface-oauth/components/interface-oauth-log.vue.d.ts +6 -0
- package/dist/views/data/interface-oauth/components/interface-oauth.d.vue.ts +40 -0
- package/dist/views/data/interface-oauth/components/interface-oauth.vue +151 -0
- package/dist/views/data/interface-oauth/components/interface-oauth.vue.d.ts +40 -0
- package/dist/views/data/interface-oauth/components/interface-table.d.vue.ts +5 -0
- package/dist/views/data/interface-oauth/components/interface-table.vue +70 -0
- package/dist/views/data/interface-oauth/components/interface-table.vue.d.ts +5 -0
- package/dist/views/data/interface-oauth/components/user-table.d.vue.ts +5 -0
- package/dist/views/data/interface-oauth/components/user-table.vue +50 -0
- package/dist/views/data/interface-oauth/components/user-table.vue.d.ts +5 -0
- package/dist/views/data/interface-oauth/components/verify-signature-description.d.vue.ts +2 -0
- package/dist/views/data/interface-oauth/components/verify-signature-description.vue +290 -0
- package/dist/views/data/interface-oauth/components/verify-signature-description.vue.d.ts +2 -0
- package/dist/views/data/interface-oauth/index.d.vue.ts +2 -0
- package/dist/views/data/interface-oauth/index.vue +463 -0
- package/dist/views/data/interface-oauth/index.vue.d.ts +2 -0
- package/dist/views/data/interface-oauth/interface-oauth-form.d.vue.ts +10 -0
- package/dist/views/data/interface-oauth/interface-oauth-form.vue +357 -0
- package/dist/views/data/interface-oauth/interface-oauth-form.vue.d.ts +10 -0
- package/dist/views/demo-case/affix/index.d.vue.ts +2 -0
- package/dist/views/demo-case/affix/index.vue +68 -0
- package/dist/views/demo-case/affix/index.vue.d.ts +2 -0
- package/dist/views/demo-case/alert/index.d.vue.ts +2 -0
- package/dist/views/demo-case/alert/index.vue +139 -0
- package/dist/views/demo-case/alert/index.vue.d.ts +2 -0
- package/dist/views/demo-case/anchor/index.d.vue.ts +2 -0
- package/dist/views/demo-case/anchor/index.vue +93 -0
- package/dist/views/demo-case/anchor/index.vue.d.ts +2 -0
- package/dist/views/demo-case/avatar/index.d.vue.ts +2 -0
- package/dist/views/demo-case/avatar/index.vue +331 -0
- package/dist/views/demo-case/avatar/index.vue.d.ts +2 -0
- package/dist/views/demo-case/badge/index.d.vue.ts +2 -0
- package/dist/views/demo-case/badge/index.vue +391 -0
- package/dist/views/demo-case/badge/index.vue.d.ts +2 -0
- package/dist/views/demo-case/border/index.d.vue.ts +2 -0
- package/dist/views/demo-case/border/index.vue +227 -0
- package/dist/views/demo-case/border/index.vue.d.ts +2 -0
- package/dist/views/demo-case/breadcrumb/index.d.vue.ts +2 -0
- package/dist/views/demo-case/breadcrumb/index.vue +77 -0
- package/dist/views/demo-case/breadcrumb/index.vue.d.ts +2 -0
- package/dist/views/demo-case/button/index.d.vue.ts +2 -0
- package/dist/views/demo-case/button/index.vue +257 -0
- package/dist/views/demo-case/button/index.vue.d.ts +2 -0
- package/dist/views/demo-case/calendar/index.d.vue.ts +2 -0
- package/dist/views/demo-case/calendar/index.vue +108 -0
- package/dist/views/demo-case/calendar/index.vue.d.ts +2 -0
- package/dist/views/demo-case/card/index.d.vue.ts +2 -0
- package/dist/views/demo-case/card/index.vue +290 -0
- package/dist/views/demo-case/card/index.vue.d.ts +2 -0
- package/dist/views/demo-case/carousel/index.d.vue.ts +2 -0
- package/dist/views/demo-case/carousel/index.vue +149 -0
- package/dist/views/demo-case/carousel/index.vue.d.ts +2 -0
- package/dist/views/demo-case/cascader/index.d.vue.ts +2 -0
- package/dist/views/demo-case/cascader/index.vue +243 -0
- package/dist/views/demo-case/cascader/index.vue.d.ts +2 -0
- package/dist/views/demo-case/checkbox/index.d.vue.ts +2 -0
- package/dist/views/demo-case/checkbox/index.vue +236 -0
- package/dist/views/demo-case/checkbox/index.vue.d.ts +2 -0
- package/dist/views/demo-case/collapse/index.d.vue.ts +2 -0
- package/dist/views/demo-case/collapse/index.vue +161 -0
- package/dist/views/demo-case/collapse/index.vue.d.ts +2 -0
- package/dist/views/demo-case/color/index.d.vue.ts +2 -0
- package/dist/views/demo-case/color/index.vue +328 -0
- package/dist/views/demo-case/color/index.vue.d.ts +2 -0
- package/dist/views/demo-case/container/index.d.vue.ts +2 -0
- package/dist/views/demo-case/container/index.vue +195 -0
- package/dist/views/demo-case/container/index.vue.d.ts +2 -0
- package/dist/views/demo-case/datepicker/index.d.vue.ts +2 -0
- package/dist/views/demo-case/datepicker/index.vue +219 -0
- package/dist/views/demo-case/datepicker/index.vue.d.ts +2 -0
- package/dist/views/demo-case/datetimepicker/index.d.vue.ts +2 -0
- package/dist/views/demo-case/datetimepicker/index.vue +99 -0
- package/dist/views/demo-case/datetimepicker/index.vue.d.ts +2 -0
- package/dist/views/demo-case/descriptions/index.d.vue.ts +2 -0
- package/dist/views/demo-case/descriptions/index.vue +159 -0
- package/dist/views/demo-case/descriptions/index.vue.d.ts +2 -0
- package/dist/views/demo-case/dialog/index.d.vue.ts +2 -0
- package/dist/views/demo-case/dialog/index.vue +302 -0
- package/dist/views/demo-case/dialog/index.vue.d.ts +2 -0
- package/dist/views/demo-case/divider/index.d.vue.ts +2 -0
- package/dist/views/demo-case/divider/index.vue +192 -0
- package/dist/views/demo-case/divider/index.vue.d.ts +2 -0
- package/dist/views/demo-case/drawer/index.d.vue.ts +2 -0
- package/dist/views/demo-case/drawer/index.vue +211 -0
- package/dist/views/demo-case/drawer/index.vue.d.ts +2 -0
- package/dist/views/demo-case/dropdown/index.d.vue.ts +2 -0
- package/dist/views/demo-case/dropdown/index.vue +171 -0
- package/dist/views/demo-case/dropdown/index.vue.d.ts +2 -0
- package/dist/views/demo-case/empty/index.d.vue.ts +2 -0
- package/dist/views/demo-case/empty/index.vue +165 -0
- package/dist/views/demo-case/empty/index.vue.d.ts +2 -0
- package/dist/views/demo-case/form/index.d.vue.ts +2 -0
- package/dist/views/demo-case/form/index.vue +435 -0
- package/dist/views/demo-case/form/index.vue.d.ts +2 -0
- package/dist/views/demo-case/image/index.d.vue.ts +2 -0
- package/dist/views/demo-case/image/index.vue +283 -0
- package/dist/views/demo-case/image/index.vue.d.ts +2 -0
- package/dist/views/demo-case/infinite-scroll/index.d.vue.ts +2 -0
- package/dist/views/demo-case/infinite-scroll/index.vue +238 -0
- package/dist/views/demo-case/infinite-scroll/index.vue.d.ts +2 -0
- package/dist/views/demo-case/input/index.d.vue.ts +2 -0
- package/dist/views/demo-case/input/index.vue +338 -0
- package/dist/views/demo-case/input/index.vue.d.ts +2 -0
- package/dist/views/demo-case/input-number/index.d.vue.ts +2 -0
- package/dist/views/demo-case/input-number/index.vue +184 -0
- package/dist/views/demo-case/input-number/index.vue.d.ts +2 -0
- package/dist/views/demo-case/input-tag/index.d.vue.ts +2 -0
- package/dist/views/demo-case/input-tag/index.vue +197 -0
- package/dist/views/demo-case/input-tag/index.vue.d.ts +2 -0
- package/dist/views/demo-case/layout/index.d.vue.ts +2 -0
- package/dist/views/demo-case/layout/index.vue +253 -0
- package/dist/views/demo-case/layout/index.vue.d.ts +2 -0
- package/dist/views/demo-case/link/index.d.vue.ts +2 -0
- package/dist/views/demo-case/link/index.vue +125 -0
- package/dist/views/demo-case/link/index.vue.d.ts +2 -0
- package/dist/views/demo-case/mention/index.d.vue.ts +2 -0
- package/dist/views/demo-case/mention/index.vue +92 -0
- package/dist/views/demo-case/mention/index.vue.d.ts +2 -0
- package/dist/views/demo-case/menu/index.d.vue.ts +2 -0
- package/dist/views/demo-case/menu/index.vue +198 -0
- package/dist/views/demo-case/menu/index.vue.d.ts +2 -0
- package/dist/views/demo-case/message/index.d.vue.ts +4 -0
- package/dist/views/demo-case/message/index.vue +165 -0
- package/dist/views/demo-case/message/index.vue.d.ts +4 -0
- package/dist/views/demo-case/message-box/index.d.vue.ts +2 -0
- package/dist/views/demo-case/message-box/index.vue +263 -0
- package/dist/views/demo-case/message-box/index.vue.d.ts +2 -0
- package/dist/views/demo-case/notification/index.d.vue.ts +2 -0
- package/dist/views/demo-case/notification/index.vue +210 -0
- package/dist/views/demo-case/notification/index.vue.d.ts +2 -0
- package/dist/views/demo-case/page-header/index.d.vue.ts +2 -0
- package/dist/views/demo-case/page-header/index.vue +171 -0
- package/dist/views/demo-case/page-header/index.vue.d.ts +2 -0
- package/dist/views/demo-case/pagination/index.d.vue.ts +2 -0
- package/dist/views/demo-case/pagination/index.vue +349 -0
- package/dist/views/demo-case/pagination/index.vue.d.ts +2 -0
- package/dist/views/demo-case/popconfirm/index.d.vue.ts +2 -0
- package/dist/views/demo-case/popconfirm/index.vue +397 -0
- package/dist/views/demo-case/popconfirm/index.vue.d.ts +2 -0
- package/dist/views/demo-case/progress/index.d.vue.ts +2 -0
- package/dist/views/demo-case/progress/index.vue +371 -0
- package/dist/views/demo-case/progress/index.vue.d.ts +2 -0
- package/dist/views/demo-case/radio/index.d.vue.ts +2 -0
- package/dist/views/demo-case/radio/index.vue +136 -0
- package/dist/views/demo-case/radio/index.vue.d.ts +2 -0
- package/dist/views/demo-case/rate/index.d.vue.ts +2 -0
- package/dist/views/demo-case/rate/index.vue +203 -0
- package/dist/views/demo-case/rate/index.vue.d.ts +2 -0
- package/dist/views/demo-case/result/index.d.vue.ts +2 -0
- package/dist/views/demo-case/result/index.vue +227 -0
- package/dist/views/demo-case/result/index.vue.d.ts +2 -0
- package/dist/views/demo-case/scrollbar/index.d.vue.ts +2 -0
- package/dist/views/demo-case/scrollbar/index.vue +91 -0
- package/dist/views/demo-case/scrollbar/index.vue.d.ts +2 -0
- package/dist/views/demo-case/seal-usage/index.d.vue.ts +2 -0
- package/dist/views/demo-case/seal-usage/index.vue +1461 -0
- package/dist/views/demo-case/seal-usage/index.vue.d.ts +2 -0
- package/dist/views/demo-case/segmented/index.d.vue.ts +2 -0
- package/dist/views/demo-case/segmented/index.vue +233 -0
- package/dist/views/demo-case/segmented/index.vue.d.ts +2 -0
- package/dist/views/demo-case/select/index.d.vue.ts +2 -0
- package/dist/views/demo-case/select/index.vue +391 -0
- package/dist/views/demo-case/select/index.vue.d.ts +2 -0
- package/dist/views/demo-case/skeleton/index.d.vue.ts +2 -0
- package/dist/views/demo-case/skeleton/index.vue +205 -0
- package/dist/views/demo-case/skeleton/index.vue.d.ts +2 -0
- package/dist/views/demo-case/slider/index.d.vue.ts +2 -0
- package/dist/views/demo-case/slider/index.vue +172 -0
- package/dist/views/demo-case/slider/index.vue.d.ts +2 -0
- package/dist/views/demo-case/statistic/index.d.vue.ts +2 -0
- package/dist/views/demo-case/statistic/index.vue +248 -0
- package/dist/views/demo-case/statistic/index.vue.d.ts +2 -0
- package/dist/views/demo-case/steps/index.d.vue.ts +2 -0
- package/dist/views/demo-case/steps/index.vue +127 -0
- package/dist/views/demo-case/steps/index.vue.d.ts +2 -0
- package/dist/views/demo-case/switch/index.d.vue.ts +2 -0
- package/dist/views/demo-case/switch/index.vue +151 -0
- package/dist/views/demo-case/switch/index.vue.d.ts +2 -0
- package/dist/views/demo-case/table/index.d.vue.ts +2 -0
- package/dist/views/demo-case/table/index.vue +338 -0
- package/dist/views/demo-case/table/index.vue.d.ts +2 -0
- package/dist/views/demo-case/tabs/index.d.vue.ts +2 -0
- package/dist/views/demo-case/tabs/index.vue +166 -0
- package/dist/views/demo-case/tabs/index.vue.d.ts +2 -0
- package/dist/views/demo-case/tag/index.d.vue.ts +2 -0
- package/dist/views/demo-case/tag/index.vue +342 -0
- package/dist/views/demo-case/tag/index.vue.d.ts +2 -0
- package/dist/views/demo-case/time-picker/index.d.vue.ts +2 -0
- package/dist/views/demo-case/time-picker/index.vue +206 -0
- package/dist/views/demo-case/time-picker/index.vue.d.ts +2 -0
- package/dist/views/demo-case/time-select/index.d.vue.ts +2 -0
- package/dist/views/demo-case/time-select/index.vue +268 -0
- package/dist/views/demo-case/time-select/index.vue.d.ts +2 -0
- package/dist/views/demo-case/timeline/index.d.vue.ts +2 -0
- package/dist/views/demo-case/timeline/index.vue +258 -0
- package/dist/views/demo-case/timeline/index.vue.d.ts +2 -0
- package/dist/views/demo-case/tooltip/index.d.vue.ts +2 -0
- package/dist/views/demo-case/tooltip/index.vue +284 -0
- package/dist/views/demo-case/tooltip/index.vue.d.ts +2 -0
- package/dist/views/demo-case/transfer/index.d.vue.ts +2 -0
- package/dist/views/demo-case/transfer/index.vue +219 -0
- package/dist/views/demo-case/transfer/index.vue.d.ts +2 -0
- package/dist/views/demo-case/tree/index.d.vue.ts +2 -0
- package/dist/views/demo-case/tree/index.vue +367 -0
- package/dist/views/demo-case/tree/index.vue.d.ts +2 -0
- package/dist/views/demo-case/tree-select/index.d.vue.ts +2 -0
- package/dist/views/demo-case/tree-select/index.vue +525 -0
- package/dist/views/demo-case/tree-select/index.vue.d.ts +2 -0
- package/dist/views/demo-case/typography/index.d.vue.ts +2 -0
- package/dist/views/demo-case/typography/index.vue +222 -0
- package/dist/views/demo-case/typography/index.vue.d.ts +2 -0
- package/dist/views/demo-case/upload/index.d.vue.ts +2 -0
- package/dist/views/demo-case/upload/index.vue +285 -0
- package/dist/views/demo-case/upload/index.vue.d.ts +2 -0
- package/dist/views/demo-case/watermark/index.d.vue.ts +2 -0
- package/dist/views/demo-case/watermark/index.vue +248 -0
- package/dist/views/demo-case/watermark/index.vue.d.ts +2 -0
- package/dist/views/file/file-config/file-config-form.d.vue.ts +9 -0
- package/dist/views/file/file-config/file-config-form.vue +592 -0
- package/dist/views/file/file-config/file-config-form.vue.d.ts +9 -0
- package/dist/views/file/file-config/index.d.vue.ts +2 -0
- package/dist/views/file/file-config/index.vue +326 -0
- package/dist/views/file/file-config/index.vue.d.ts +2 -0
- package/dist/views/file/file-list/components/FileUploadDialog.d.vue.ts +11 -0
- package/dist/views/file/file-list/components/FileUploadDialog.vue +253 -0
- package/dist/views/file/file-list/components/FileUploadDialog.vue.d.ts +11 -0
- package/dist/views/file/file-list/components/ImagePreview.d.vue.ts +10 -0
- package/dist/views/file/file-list/components/ImagePreview.vue +66 -0
- package/dist/views/file/file-list/components/ImagePreview.vue.d.ts +10 -0
- package/dist/views/file/file-list/index.d.vue.ts +2 -0
- package/dist/views/file/file-list/index.vue +357 -0
- package/dist/views/file/file-list/index.vue.d.ts +2 -0
- package/dist/views/home/index.d.vue.ts +2 -0
- package/dist/views/home/index.vue +35 -0
- package/dist/views/home/index.vue.d.ts +2 -0
- package/dist/views/login/components/login-form.d.vue.ts +7 -0
- package/dist/views/login/components/login-form.vue +666 -0
- package/dist/views/login/components/login-form.vue.d.ts +7 -0
- package/dist/views/login/components/security-code.d.vue.ts +10 -0
- package/dist/views/login/components/security-code.vue +71 -0
- package/dist/views/login/components/security-code.vue.d.ts +10 -0
- package/dist/views/login/components/update-password.d.vue.ts +5 -0
- package/dist/views/login/components/update-password.vue +182 -0
- package/dist/views/login/components/update-password.vue.d.ts +5 -0
- package/dist/views/login/index.d.vue.ts +2 -0
- package/dist/views/login/index.vue +289 -0
- package/dist/views/login/index.vue.d.ts +2 -0
- package/dist/views/login/sso/index.d.vue.ts +2 -0
- package/dist/views/login/sso/index.vue +60 -0
- package/dist/views/login/sso/index.vue.d.ts +2 -0
- package/dist/views/navHome/index.d.vue.ts +3 -0
- package/dist/views/navHome/index.vue +479 -0
- package/dist/views/navHome/index.vue.d.ts +3 -0
- package/dist/views/personal-center/components/avatar-name.d.vue.ts +2 -0
- package/dist/views/personal-center/components/avatar-name.vue +93 -0
- package/dist/views/personal-center/components/avatar-name.vue.d.ts +2 -0
- package/dist/views/personal-center/components/basic-info.d.vue.ts +6 -0
- package/dist/views/personal-center/components/basic-info.vue +327 -0
- package/dist/views/personal-center/components/basic-info.vue.d.ts +6 -0
- package/dist/views/personal-center/components/department-form.d.vue.ts +6 -0
- package/dist/views/personal-center/components/department-form.vue +133 -0
- package/dist/views/personal-center/components/department-form.vue.d.ts +6 -0
- package/dist/views/personal-center/components/login-log.d.vue.ts +2 -0
- package/dist/views/personal-center/components/login-log.vue +147 -0
- package/dist/views/personal-center/components/login-log.vue.d.ts +2 -0
- package/dist/views/personal-center/components/sys-permission.d.vue.ts +6 -0
- package/dist/views/personal-center/components/sys-permission.vue +168 -0
- package/dist/views/personal-center/components/sys-permission.vue.d.ts +6 -0
- package/dist/views/personal-center/components/tabs.d.vue.ts +15 -0
- package/dist/views/personal-center/components/tabs.vue +49 -0
- package/dist/views/personal-center/components/tabs.vue.d.ts +15 -0
- package/dist/views/personal-center/components/update-password.d.vue.ts +2 -0
- package/dist/views/personal-center/components/update-password.vue +161 -0
- package/dist/views/personal-center/components/update-password.vue.d.ts +2 -0
- package/dist/views/personal-center/index.d.vue.ts +2 -0
- package/dist/views/personal-center/index.vue +110 -0
- package/dist/views/personal-center/index.vue.d.ts +2 -0
- package/dist/views/screen/index.d.vue.ts +2 -0
- package/dist/views/screen/index.vue +62 -0
- package/dist/views/screen/index.vue.d.ts +2 -0
- package/dist/views/sys/account/components/account-form.d.vue.ts +14 -0
- package/dist/views/sys/account/components/account-form.vue +581 -0
- package/dist/views/sys/account/components/account-form.vue.d.ts +14 -0
- package/dist/views/sys/account/components/account-import.d.vue.ts +4 -0
- package/dist/views/sys/account/components/account-import.vue +100 -0
- package/dist/views/sys/account/components/account-import.vue.d.ts +4 -0
- package/dist/views/sys/account/components/sub-positions.d.vue.ts +14 -0
- package/dist/views/sys/account/components/sub-positions.vue +282 -0
- package/dist/views/sys/account/components/sub-positions.vue.d.ts +14 -0
- package/dist/views/sys/account/index.d.vue.ts +2 -0
- package/dist/views/sys/account/index.vue +601 -0
- package/dist/views/sys/account/index.vue.d.ts +2 -0
- package/dist/views/sys/app-menu/application/app-form.d.vue.ts +35 -0
- package/dist/views/sys/app-menu/application/app-form.vue +860 -0
- package/dist/views/sys/app-menu/application/app-form.vue.d.ts +35 -0
- package/dist/views/sys/app-menu/application/application-extend-manage.d.vue.ts +2 -0
- package/dist/views/sys/app-menu/application/application-extend-manage.vue +596 -0
- package/dist/views/sys/app-menu/application/application-extend-manage.vue.d.ts +2 -0
- package/dist/views/sys/app-menu/application/index.d.vue.ts +2 -0
- package/dist/views/sys/app-menu/application/index.vue +868 -0
- package/dist/views/sys/app-menu/application/index.vue.d.ts +2 -0
- package/dist/views/sys/app-menu/components/select-icon.d.vue.ts +7 -0
- package/dist/views/sys/app-menu/components/select-icon.vue +57 -0
- package/dist/views/sys/app-menu/components/select-icon.vue.d.ts +7 -0
- package/dist/views/sys/app-menu/config/account/index.d.vue.ts +5 -0
- package/dist/views/sys/app-menu/config/account/index.vue +202 -0
- package/dist/views/sys/app-menu/config/account/index.vue.d.ts +5 -0
- package/dist/views/sys/app-menu/config/account/link-account.d.vue.ts +7 -0
- package/dist/views/sys/app-menu/config/account/link-account.vue +110 -0
- package/dist/views/sys/app-menu/config/account/link-account.vue.d.ts +7 -0
- package/dist/views/sys/app-menu/config/auth/auth-form.d.vue.ts +17 -0
- package/dist/views/sys/app-menu/config/auth/auth-form.vue +733 -0
- package/dist/views/sys/app-menu/config/auth/auth-form.vue.d.ts +17 -0
- package/dist/views/sys/app-menu/config/auth/index.d.vue.ts +6 -0
- package/dist/views/sys/app-menu/config/auth/index.vue +211 -0
- package/dist/views/sys/app-menu/config/auth/index.vue.d.ts +6 -0
- package/dist/views/sys/app-menu/config/index.d.vue.ts +6 -0
- package/dist/views/sys/app-menu/config/index.vue +55 -0
- package/dist/views/sys/app-menu/config/index.vue.d.ts +6 -0
- package/dist/views/sys/app-menu/config/organ/index.d.vue.ts +5 -0
- package/dist/views/sys/app-menu/config/organ/index.vue +359 -0
- package/dist/views/sys/app-menu/config/organ/index.vue.d.ts +5 -0
- package/dist/views/sys/app-menu/config/organ/link-organ.d.vue.ts +8 -0
- package/dist/views/sys/app-menu/config/organ/link-organ.vue +309 -0
- package/dist/views/sys/app-menu/config/organ/link-organ.vue.d.ts +8 -0
- package/dist/views/sys/app-menu/config/role/index.d.vue.ts +5 -0
- package/dist/views/sys/app-menu/config/role/index.vue +192 -0
- package/dist/views/sys/app-menu/config/role/index.vue.d.ts +5 -0
- package/dist/views/sys/app-menu/config/role/link-role.d.vue.ts +7 -0
- package/dist/views/sys/app-menu/config/role/link-role.vue +109 -0
- package/dist/views/sys/app-menu/config/role/link-role.vue.d.ts +7 -0
- package/dist/views/sys/app-menu/index.d.vue.ts +2 -0
- package/dist/views/sys/app-menu/index.vue +54 -0
- package/dist/views/sys/app-menu/index.vue.d.ts +2 -0
- package/dist/views/sys/app-menu/menu/components/label-selector.d.vue.ts +29 -0
- package/dist/views/sys/app-menu/menu/components/label-selector.vue +379 -0
- package/dist/views/sys/app-menu/menu/components/label-selector.vue.d.ts +29 -0
- package/dist/views/sys/app-menu/menu/index.d.vue.ts +6 -0
- package/dist/views/sys/app-menu/menu/index.vue +1071 -0
- package/dist/views/sys/app-menu/menu/index.vue.d.ts +6 -0
- package/dist/views/sys/app-menu/menu/menu-extend-manage.d.vue.ts +6 -0
- package/dist/views/sys/app-menu/menu/menu-extend-manage.vue +612 -0
- package/dist/views/sys/app-menu/menu/menu-extend-manage.vue.d.ts +6 -0
- package/dist/views/sys/app-menu/menu/menu-form.d.vue.ts +20 -0
- package/dist/views/sys/app-menu/menu/menu-form.vue +1001 -0
- package/dist/views/sys/app-menu/menu/menu-form.vue.d.ts +20 -0
- package/dist/views/sys/app-menu/menu/menu-label-manage.d.vue.ts +6 -0
- package/dist/views/sys/app-menu/menu/menu-label-manage.vue +408 -0
- package/dist/views/sys/app-menu/menu/menu-label-manage.vue.d.ts +6 -0
- package/dist/views/sys/cache/components/cache-detail.d.vue.ts +6 -0
- package/dist/views/sys/cache/components/cache-detail.vue +127 -0
- package/dist/views/sys/cache/components/cache-detail.vue.d.ts +6 -0
- package/dist/views/sys/cache/index.d.vue.ts +2 -0
- package/dist/views/sys/cache/index.vue +426 -0
- package/dist/views/sys/cache/index.vue.d.ts +2 -0
- package/dist/views/sys/column-manager/RecycleBin.d.vue.ts +6 -0
- package/dist/views/sys/column-manager/RecycleBin.vue +532 -0
- package/dist/views/sys/column-manager/RecycleBin.vue.d.ts +6 -0
- package/dist/views/sys/column-manager/column-form.d.vue.ts +16 -0
- package/dist/views/sys/column-manager/column-form.vue +249 -0
- package/dist/views/sys/column-manager/column-form.vue.d.ts +16 -0
- package/dist/views/sys/column-manager/index.d.vue.ts +2 -0
- package/dist/views/sys/column-manager/index.vue +304 -0
- package/dist/views/sys/column-manager/index.vue.d.ts +2 -0
- package/dist/views/sys/data-interface/components/api-data-config.d.vue.ts +24 -0
- package/dist/views/sys/data-interface/components/api-data-config.vue +884 -0
- package/dist/views/sys/data-interface/components/api-data-config.vue.d.ts +24 -0
- package/dist/views/sys/data-interface/components/data-interface-form.d.vue.ts +26 -0
- package/dist/views/sys/data-interface/components/data-interface-form.vue +1181 -0
- package/dist/views/sys/data-interface/components/data-interface-form.vue.d.ts +26 -0
- package/dist/views/sys/data-interface/components/data-interface-import.d.vue.ts +5 -0
- package/dist/views/sys/data-interface/components/data-interface-import.vue +45 -0
- package/dist/views/sys/data-interface/components/data-interface-import.vue.d.ts +5 -0
- package/dist/views/sys/data-interface/components/field-edit-dialog.d.vue.ts +20 -0
- package/dist/views/sys/data-interface/components/field-edit-dialog.vue +164 -0
- package/dist/views/sys/data-interface/components/field-edit-dialog.vue.d.ts +20 -0
- package/dist/views/sys/data-interface/components/interface-field-table.d.vue.ts +12 -0
- package/dist/views/sys/data-interface/components/interface-field-table.vue +151 -0
- package/dist/views/sys/data-interface/components/interface-field-table.vue.d.ts +12 -0
- package/dist/views/sys/data-interface/components/interface-log.d.vue.ts +5 -0
- package/dist/views/sys/data-interface/components/interface-log.vue +76 -0
- package/dist/views/sys/data-interface/components/interface-log.vue.d.ts +5 -0
- package/dist/views/sys/data-interface/components/interface-parameter-table.d.vue.ts +16 -0
- package/dist/views/sys/data-interface/components/interface-parameter-table.vue +185 -0
- package/dist/views/sys/data-interface/components/interface-parameter-table.vue.d.ts +16 -0
- package/dist/views/sys/data-interface/components/param-edit-dialog.d.vue.ts +25 -0
- package/dist/views/sys/data-interface/components/param-edit-dialog.vue +250 -0
- package/dist/views/sys/data-interface/components/param-edit-dialog.vue.d.ts +25 -0
- package/dist/views/sys/data-interface/components/preview.d.vue.ts +6 -0
- package/dist/views/sys/data-interface/components/preview.vue +206 -0
- package/dist/views/sys/data-interface/components/preview.vue.d.ts +6 -0
- package/dist/views/sys/data-interface/components/sql-data-config.d.vue.ts +19 -0
- package/dist/views/sys/data-interface/components/sql-data-config.vue +658 -0
- package/dist/views/sys/data-interface/components/sql-data-config.vue.d.ts +19 -0
- package/dist/views/sys/data-interface/components/sql-data-display.d.vue.ts +19 -0
- package/dist/views/sys/data-interface/components/sql-data-display.vue +644 -0
- package/dist/views/sys/data-interface/components/sql-data-display.vue.d.ts +19 -0
- package/dist/views/sys/data-interface/components/sql-data-statistics.d.vue.ts +19 -0
- package/dist/views/sys/data-interface/components/sql-data-statistics.vue +627 -0
- package/dist/views/sys/data-interface/components/sql-data-statistics.vue.d.ts +19 -0
- package/dist/views/sys/data-interface/components/static-data-config.d.vue.ts +14 -0
- package/dist/views/sys/data-interface/components/static-data-config.vue +310 -0
- package/dist/views/sys/data-interface/components/static-data-config.vue.d.ts +14 -0
- package/dist/views/sys/data-interface/index.d.vue.ts +2 -0
- package/dist/views/sys/data-interface/index.vue +919 -0
- package/dist/views/sys/data-interface/index.vue.d.ts +2 -0
- package/dist/views/sys/department/components/department-form.d.vue.ts +29 -0
- package/dist/views/sys/department/components/department-form.vue +759 -0
- package/dist/views/sys/department/components/department-form.vue.d.ts +29 -0
- package/dist/views/sys/department/components/department-import.d.vue.ts +5 -0
- package/dist/views/sys/department/components/department-import.vue +45 -0
- package/dist/views/sys/department/components/department-import.vue.d.ts +5 -0
- package/dist/views/sys/department/components/department-members.d.vue.ts +23 -0
- package/dist/views/sys/department/components/department-members.vue +148 -0
- package/dist/views/sys/department/components/department-members.vue.d.ts +23 -0
- package/dist/views/sys/department/index.d.vue.ts +2 -0
- package/dist/views/sys/department/index.vue +639 -0
- package/dist/views/sys/department/index.vue.d.ts +2 -0
- package/dist/views/sys/dict/custom/dic-form.d.vue.ts +10 -0
- package/dist/views/sys/dict/custom/dic-form.vue +310 -0
- package/dist/views/sys/dict/custom/dic-form.vue.d.ts +10 -0
- package/dist/views/sys/dict/custom/index.d.vue.ts +2 -0
- package/dist/views/sys/dict/custom/index.vue +199 -0
- package/dist/views/sys/dict/custom/index.vue.d.ts +2 -0
- package/dist/views/sys/dict/custom/item-form.d.vue.ts +11 -0
- package/dist/views/sys/dict/custom/item-form.vue +232 -0
- package/dist/views/sys/dict/custom/item-form.vue.d.ts +11 -0
- package/dist/views/sys/dict/custom/item-index.d.vue.ts +5 -0
- package/dist/views/sys/dict/custom/item-index.vue +184 -0
- package/dist/views/sys/dict/custom/item-index.vue.d.ts +5 -0
- package/dist/views/sys/dict/index.d.vue.ts +2 -0
- package/dist/views/sys/dict/index.vue +65 -0
- package/dist/views/sys/dict/index.vue.d.ts +2 -0
- package/dist/views/sys/dict/list/components/item-import.d.vue.ts +8 -0
- package/dist/views/sys/dict/list/components/item-import.vue +104 -0
- package/dist/views/sys/dict/list/components/item-import.vue.d.ts +8 -0
- package/dist/views/sys/dict/list/dic-form.d.vue.ts +10 -0
- package/dist/views/sys/dict/list/dic-form.vue +246 -0
- package/dist/views/sys/dict/list/dic-form.vue.d.ts +10 -0
- package/dist/views/sys/dict/list/index.d.vue.ts +2 -0
- package/dist/views/sys/dict/list/index.vue +194 -0
- package/dist/views/sys/dict/list/index.vue.d.ts +2 -0
- package/dist/views/sys/dict/list/item-form.d.vue.ts +11 -0
- package/dist/views/sys/dict/list/item-form.vue +224 -0
- package/dist/views/sys/dict/list/item-form.vue.d.ts +11 -0
- package/dist/views/sys/dict/list/item-index.d.vue.ts +5 -0
- package/dist/views/sys/dict/list/item-index.vue +238 -0
- package/dist/views/sys/dict/list/item-index.vue.d.ts +5 -0
- package/dist/views/sys/dict/sql/dic-form.d.vue.ts +10 -0
- package/dist/views/sys/dict/sql/dic-form.vue +277 -0
- package/dist/views/sys/dict/sql/dic-form.vue.d.ts +10 -0
- package/dist/views/sys/dict/sql/index.d.vue.ts +2 -0
- package/dist/views/sys/dict/sql/index.vue +197 -0
- package/dist/views/sys/dict/sql/index.vue.d.ts +2 -0
- package/dist/views/sys/dict/sql/previewResult.d.vue.ts +21 -0
- package/dist/views/sys/dict/sql/previewResult.vue +275 -0
- package/dist/views/sys/dict/sql/previewResult.vue.d.ts +21 -0
- package/dist/views/sys/dict/tree/components/item-import.d.vue.ts +8 -0
- package/dist/views/sys/dict/tree/components/item-import.vue +109 -0
- package/dist/views/sys/dict/tree/components/item-import.vue.d.ts +8 -0
- package/dist/views/sys/dict/tree/dic-form.d.vue.ts +10 -0
- package/dist/views/sys/dict/tree/dic-form.vue +234 -0
- package/dist/views/sys/dict/tree/dic-form.vue.d.ts +10 -0
- package/dist/views/sys/dict/tree/index.d.vue.ts +2 -0
- package/dist/views/sys/dict/tree/index.vue +193 -0
- package/dist/views/sys/dict/tree/index.vue.d.ts +2 -0
- package/dist/views/sys/dict/tree/item-form.d.vue.ts +17 -0
- package/dist/views/sys/dict/tree/item-form.vue +293 -0
- package/dist/views/sys/dict/tree/item-form.vue.d.ts +17 -0
- package/dist/views/sys/dict/tree/item-index.d.vue.ts +5 -0
- package/dist/views/sys/dict/tree/item-index.vue +386 -0
- package/dist/views/sys/dict/tree/item-index.vue.d.ts +5 -0
- package/dist/views/sys/icon/icon-library/icon-library-form.d.vue.ts +8 -0
- package/dist/views/sys/icon/icon-library/icon-library-form.vue +142 -0
- package/dist/views/sys/icon/icon-library/icon-library-form.vue.d.ts +8 -0
- package/dist/views/sys/icon/icon-library/index.d.vue.ts +2 -0
- package/dist/views/sys/icon/icon-library/index.vue +271 -0
- package/dist/views/sys/icon/icon-library/index.vue.d.ts +2 -0
- package/dist/views/sys/icon/icon-manager/icon-batch-add.d.vue.ts +11 -0
- package/dist/views/sys/icon/icon-manager/icon-batch-add.vue +347 -0
- package/dist/views/sys/icon/icon-manager/icon-batch-add.vue.d.ts +11 -0
- package/dist/views/sys/icon/icon-manager/icon-copy.d.vue.ts +7 -0
- package/dist/views/sys/icon/icon-manager/icon-copy.vue +135 -0
- package/dist/views/sys/icon/icon-manager/icon-copy.vue.d.ts +7 -0
- package/dist/views/sys/icon/icon-manager/icon-import.d.vue.ts +12 -0
- package/dist/views/sys/icon/icon-manager/icon-import.vue +191 -0
- package/dist/views/sys/icon/icon-manager/icon-import.vue.d.ts +12 -0
- package/dist/views/sys/icon/icon-manager/icon-manager-form.d.vue.ts +13 -0
- package/dist/views/sys/icon/icon-manager/icon-manager-form.vue +277 -0
- package/dist/views/sys/icon/icon-manager/icon-manager-form.vue.d.ts +13 -0
- package/dist/views/sys/icon/icon-manager/index.d.vue.ts +6 -0
- package/dist/views/sys/icon/icon-manager/index.vue +504 -0
- package/dist/views/sys/icon/icon-manager/index.vue.d.ts +6 -0
- package/dist/views/sys/icon/index.d.vue.ts +2 -0
- package/dist/views/sys/icon/index.vue +53 -0
- package/dist/views/sys/icon/index.vue.d.ts +2 -0
- package/dist/views/sys/llm/index.d.vue.ts +2 -0
- package/dist/views/sys/llm/index.vue +1762 -0
- package/dist/views/sys/llm/index.vue.d.ts +2 -0
- package/dist/views/sys/log/components/operate-log-detail.d.vue.ts +6 -0
- package/dist/views/sys/log/components/operate-log-detail.vue +176 -0
- package/dist/views/sys/log/components/operate-log-detail.vue.d.ts +6 -0
- package/dist/views/sys/log/index.d.vue.ts +2 -0
- package/dist/views/sys/log/index.vue +607 -0
- package/dist/views/sys/log/index.vue.d.ts +2 -0
- package/dist/views/sys/mail/mail-account/components/mail-account-form.d.vue.ts +11 -0
- package/dist/views/sys/mail/mail-account/components/mail-account-form.vue +365 -0
- package/dist/views/sys/mail/mail-account/components/mail-account-form.vue.d.ts +11 -0
- package/dist/views/sys/mail/mail-account/index.d.vue.ts +2 -0
- package/dist/views/sys/mail/mail-account/index.vue +390 -0
- package/dist/views/sys/mail/mail-account/index.vue.d.ts +2 -0
- package/dist/views/sys/mail/mail-blacklist/components/mail-blacklist-form.d.vue.ts +13 -0
- package/dist/views/sys/mail/mail-blacklist/components/mail-blacklist-form.vue +239 -0
- package/dist/views/sys/mail/mail-blacklist/components/mail-blacklist-form.vue.d.ts +13 -0
- package/dist/views/sys/mail/mail-blacklist/index.d.vue.ts +2 -0
- package/dist/views/sys/mail/mail-blacklist/index.vue +268 -0
- package/dist/views/sys/mail/mail-blacklist/index.vue.d.ts +2 -0
- package/dist/views/sys/mail/mail-log/components/mail-log-detail.d.vue.ts +6 -0
- package/dist/views/sys/mail/mail-log/components/mail-log-detail.vue +121 -0
- package/dist/views/sys/mail/mail-log/components/mail-log-detail.vue.d.ts +6 -0
- package/dist/views/sys/mail/mail-log/index.d.vue.ts +2 -0
- package/dist/views/sys/mail/mail-log/index.vue +233 -0
- package/dist/views/sys/mail/mail-log/index.vue.d.ts +2 -0
- package/dist/views/sys/mail/mail-rate-limit/components/rate-limit-form.d.vue.ts +12 -0
- package/dist/views/sys/mail/mail-rate-limit/components/rate-limit-form.vue +237 -0
- package/dist/views/sys/mail/mail-rate-limit/components/rate-limit-form.vue.d.ts +12 -0
- package/dist/views/sys/mail/mail-rate-limit/index.d.vue.ts +2 -0
- package/dist/views/sys/mail/mail-rate-limit/index.vue +261 -0
- package/dist/views/sys/mail/mail-rate-limit/index.vue.d.ts +2 -0
- package/dist/views/sys/mail/mail-template/components/mail-template-form.d.vue.ts +11 -0
- package/dist/views/sys/mail/mail-template/components/mail-template-form.vue +320 -0
- package/dist/views/sys/mail/mail-template/components/mail-template-form.vue.d.ts +11 -0
- package/dist/views/sys/mail/mail-template/components/mail-template-send-test.d.vue.ts +7 -0
- package/dist/views/sys/mail/mail-template/components/mail-template-send-test.vue +305 -0
- package/dist/views/sys/mail/mail-template/components/mail-template-send-test.vue.d.ts +7 -0
- package/dist/views/sys/mail/mail-template/index.d.vue.ts +2 -0
- package/dist/views/sys/mail/mail-template/index.vue +377 -0
- package/dist/views/sys/mail/mail-template/index.vue.d.ts +2 -0
- package/dist/views/sys/mail/mail-whitelist/components/mail-whitelist-form.d.vue.ts +13 -0
- package/dist/views/sys/mail/mail-whitelist/components/mail-whitelist-form.vue +239 -0
- package/dist/views/sys/mail/mail-whitelist/components/mail-whitelist-form.vue.d.ts +13 -0
- package/dist/views/sys/mail/mail-whitelist/index.d.vue.ts +2 -0
- package/dist/views/sys/mail/mail-whitelist/index.vue +265 -0
- package/dist/views/sys/mail/mail-whitelist/index.vue.d.ts +2 -0
- package/dist/views/sys/menu/components/label-selector.d.vue.ts +20 -0
- package/dist/views/sys/menu/components/label-selector.vue +379 -0
- package/dist/views/sys/menu/components/label-selector.vue.d.ts +20 -0
- package/dist/views/sys/menu/index.d.vue.ts +2 -0
- package/dist/views/sys/menu/index.vue +860 -0
- package/dist/views/sys/menu/index.vue.d.ts +2 -0
- package/dist/views/sys/menu/menu-form.d.vue.ts +17 -0
- package/dist/views/sys/menu/menu-form.vue +746 -0
- package/dist/views/sys/menu/menu-form.vue.d.ts +17 -0
- package/dist/views/sys/menu/menu-label-manage.d.vue.ts +5 -0
- package/dist/views/sys/menu/menu-label-manage.vue +400 -0
- package/dist/views/sys/menu/menu-label-manage.vue.d.ts +5 -0
- package/dist/views/sys/msg/components/msg-detail.d.vue.ts +7 -0
- package/dist/views/sys/msg/components/msg-detail.vue +1621 -0
- package/dist/views/sys/msg/components/msg-detail.vue.d.ts +7 -0
- package/dist/views/sys/msg/components/msg-form.d.vue.ts +11 -0
- package/dist/views/sys/msg/components/msg-form.vue +959 -0
- package/dist/views/sys/msg/components/msg-form.vue.d.ts +11 -0
- package/dist/views/sys/msg/components/msg-receive-status.d.vue.ts +9 -0
- package/dist/views/sys/msg/components/msg-receive-status.vue +135 -0
- package/dist/views/sys/msg/components/msg-receive-status.vue.d.ts +9 -0
- package/dist/views/sys/msg/components/msg-review.d.vue.ts +9 -0
- package/dist/views/sys/msg/components/msg-review.vue +556 -0
- package/dist/views/sys/msg/components/msg-review.vue.d.ts +9 -0
- package/dist/views/sys/msg/consult/notice/index.d.vue.ts +2 -0
- package/dist/views/sys/msg/consult/notice/index.vue +420 -0
- package/dist/views/sys/msg/consult/notice/index.vue.d.ts +2 -0
- package/dist/views/sys/msg/consult/politicalNews/index.d.vue.ts +2 -0
- package/dist/views/sys/msg/consult/politicalNews/index.vue +526 -0
- package/dist/views/sys/msg/consult/politicalNews/index.vue.d.ts +2 -0
- package/dist/views/sys/msg/index.d.vue.ts +2 -0
- package/dist/views/sys/msg/index.vue +692 -0
- package/dist/views/sys/msg/index.vue.d.ts +2 -0
- package/dist/views/sys/my-msg/components/msg-detail.d.vue.ts +7 -0
- package/dist/views/sys/my-msg/components/msg-detail.vue +1418 -0
- package/dist/views/sys/my-msg/components/msg-detail.vue.d.ts +7 -0
- package/dist/views/sys/my-msg/index.d.vue.ts +2 -0
- package/dist/views/sys/my-msg/index.vue +683 -0
- package/dist/views/sys/my-msg/index.vue.d.ts +2 -0
- package/dist/views/sys/notice/components/notice-form.d.vue.ts +10 -0
- package/dist/views/sys/notice/components/notice-form.vue +240 -0
- package/dist/views/sys/notice/components/notice-form.vue.d.ts +10 -0
- package/dist/views/sys/notice/index.d.vue.ts +2 -0
- package/dist/views/sys/notice/index.vue +292 -0
- package/dist/views/sys/notice/index.vue.d.ts +2 -0
- package/dist/views/sys/online-user/index.d.vue.ts +2 -0
- package/dist/views/sys/online-user/index.vue +227 -0
- package/dist/views/sys/online-user/index.vue.d.ts +2 -0
- package/dist/views/sys/post/components/extend-manage.d.vue.ts +2 -0
- package/dist/views/sys/post/components/extend-manage.vue +583 -0
- package/dist/views/sys/post/components/extend-manage.vue.d.ts +2 -0
- package/dist/views/sys/post/components/post-form.d.vue.ts +11 -0
- package/dist/views/sys/post/components/post-form.vue +252 -0
- package/dist/views/sys/post/components/post-form.vue.d.ts +11 -0
- package/dist/views/sys/post/index.d.vue.ts +2 -0
- package/dist/views/sys/post/index.vue +474 -0
- package/dist/views/sys/post/index.vue.d.ts +2 -0
- package/dist/views/sys/quartz/cron/day.d.vue.ts +22 -0
- package/dist/views/sys/quartz/cron/day.vue +182 -0
- package/dist/views/sys/quartz/cron/day.vue.d.ts +22 -0
- package/dist/views/sys/quartz/cron/hour.d.vue.ts +22 -0
- package/dist/views/sys/quartz/cron/hour.vue +140 -0
- package/dist/views/sys/quartz/cron/hour.vue.d.ts +22 -0
- package/dist/views/sys/quartz/cron/index.d.vue.ts +27 -0
- package/dist/views/sys/quartz/cron/index.vue +401 -0
- package/dist/views/sys/quartz/cron/index.vue.d.ts +27 -0
- package/dist/views/sys/quartz/cron/min.d.vue.ts +22 -0
- package/dist/views/sys/quartz/cron/min.vue +140 -0
- package/dist/views/sys/quartz/cron/min.vue.d.ts +22 -0
- package/dist/views/sys/quartz/cron/month.d.vue.ts +22 -0
- package/dist/views/sys/quartz/cron/month.vue +159 -0
- package/dist/views/sys/quartz/cron/month.vue.d.ts +22 -0
- package/dist/views/sys/quartz/cron/result.d.vue.ts +14 -0
- package/dist/views/sys/quartz/cron/result.vue +436 -0
- package/dist/views/sys/quartz/cron/result.vue.d.ts +14 -0
- package/dist/views/sys/quartz/cron/second.d.vue.ts +22 -0
- package/dist/views/sys/quartz/cron/second.vue +155 -0
- package/dist/views/sys/quartz/cron/second.vue.d.ts +22 -0
- package/dist/views/sys/quartz/cron/types/index.d.ts +9 -0
- package/dist/views/sys/quartz/cron/types/index.mjs +0 -0
- package/dist/views/sys/quartz/cron/utils/index.d.ts +1 -0
- package/dist/views/sys/quartz/cron/utils/index.mjs +4 -0
- package/dist/views/sys/quartz/cron/week.d.vue.ts +22 -0
- package/dist/views/sys/quartz/cron/week.vue +229 -0
- package/dist/views/sys/quartz/cron/week.vue.d.ts +22 -0
- package/dist/views/sys/quartz/cron/year.d.vue.ts +22 -0
- package/dist/views/sys/quartz/cron/year.vue +173 -0
- package/dist/views/sys/quartz/cron/year.vue.d.ts +22 -0
- package/dist/views/sys/quartz/index.d.vue.ts +2 -0
- package/dist/views/sys/quartz/index.vue +323 -0
- package/dist/views/sys/quartz/index.vue.d.ts +2 -0
- package/dist/views/sys/quartz/job-form.d.vue.ts +17 -0
- package/dist/views/sys/quartz/job-form.vue +309 -0
- package/dist/views/sys/quartz/job-form.vue.d.ts +17 -0
- package/dist/views/sys/quartz/joblog-index.d.vue.ts +5 -0
- package/dist/views/sys/quartz/joblog-index.vue +154 -0
- package/dist/views/sys/quartz/joblog-index.vue.d.ts +5 -0
- package/dist/views/sys/role/components/application-menu-auth.d.vue.ts +19 -0
- package/dist/views/sys/role/components/application-menu-auth.vue +190 -0
- package/dist/views/sys/role/components/application-menu-auth.vue.d.ts +19 -0
- package/dist/views/sys/role/components/role-form.d.vue.ts +10 -0
- package/dist/views/sys/role/components/role-form.vue +456 -0
- package/dist/views/sys/role/components/role-form.vue.d.ts +10 -0
- package/dist/views/sys/role/components/role-info-cell.d.vue.ts +5 -0
- package/dist/views/sys/role/components/role-info-cell.vue +20 -0
- package/dist/views/sys/role/components/role-info-cell.vue.d.ts +5 -0
- package/dist/views/sys/role/components/role-permission.d.vue.ts +7 -0
- package/dist/views/sys/role/components/role-permission.vue +605 -0
- package/dist/views/sys/role/components/role-permission.vue.d.ts +7 -0
- package/dist/views/sys/role/components/role-type-tag.d.vue.ts +5 -0
- package/dist/views/sys/role/components/role-type-tag.vue +18 -0
- package/dist/views/sys/role/components/role-type-tag.vue.d.ts +5 -0
- package/dist/views/sys/role/index.d.vue.ts +2 -0
- package/dist/views/sys/role/index.vue +830 -0
- package/dist/views/sys/role/index.vue.d.ts +2 -0
- package/dist/views/sys/seal/seal-manage/components/seal-form.d.vue.ts +19 -0
- package/dist/views/sys/seal/seal-manage/components/seal-form.vue +1203 -0
- package/dist/views/sys/seal/seal-manage/components/seal-form.vue.d.ts +19 -0
- package/dist/views/sys/seal/seal-manage/index.d.vue.ts +2 -0
- package/dist/views/sys/seal/seal-manage/index.vue +413 -0
- package/dist/views/sys/seal/seal-manage/index.vue.d.ts +2 -0
- package/dist/views/sys/seal/signature/components/signature-editor.d.vue.ts +23 -0
- package/dist/views/sys/seal/signature/components/signature-editor.vue +243 -0
- package/dist/views/sys/seal/signature/components/signature-editor.vue.d.ts +23 -0
- package/dist/views/sys/seal/signature/components/signature-form.d.vue.ts +12 -0
- package/dist/views/sys/seal/signature/components/signature-form.vue +272 -0
- package/dist/views/sys/seal/signature/components/signature-form.vue.d.ts +12 -0
- package/dist/views/sys/seal/signature/index.d.vue.ts +2 -0
- package/dist/views/sys/seal/signature/index.vue +346 -0
- package/dist/views/sys/seal/signature/index.vue.d.ts +2 -0
- package/dist/views/sys/sensitiveword/components/sensitive-word-form.d.vue.ts +12 -0
- package/dist/views/sys/sensitiveword/components/sensitive-word-form.vue +167 -0
- package/dist/views/sys/sensitiveword/components/sensitive-word-form.vue.d.ts +12 -0
- package/dist/views/sys/sensitiveword/components/sensitive-word-import.d.vue.ts +5 -0
- package/dist/views/sys/sensitiveword/components/sensitive-word-import.vue +44 -0
- package/dist/views/sys/sensitiveword/components/sensitive-word-import.vue.d.ts +5 -0
- package/dist/views/sys/sensitiveword/index.d.vue.ts +2 -0
- package/dist/views/sys/sensitiveword/index.vue +765 -0
- package/dist/views/sys/sensitiveword/index.vue.d.ts +2 -0
- package/dist/views/sys/sms/sms-blacklist/components/sms-blacklist-form.d.vue.ts +13 -0
- package/dist/views/sys/sms/sms-blacklist/components/sms-blacklist-form.vue +236 -0
- package/dist/views/sys/sms/sms-blacklist/components/sms-blacklist-form.vue.d.ts +13 -0
- package/dist/views/sys/sms/sms-blacklist/index.d.vue.ts +2 -0
- package/dist/views/sys/sms/sms-blacklist/index.vue +314 -0
- package/dist/views/sys/sms/sms-blacklist/index.vue.d.ts +2 -0
- package/dist/views/sys/sms/sms-channel/components/sms-channel-form.d.vue.ts +13 -0
- package/dist/views/sys/sms/sms-channel/components/sms-channel-form.vue +260 -0
- package/dist/views/sys/sms/sms-channel/components/sms-channel-form.vue.d.ts +13 -0
- package/dist/views/sys/sms/sms-channel/index.d.vue.ts +2 -0
- package/dist/views/sys/sms/sms-channel/index.vue +458 -0
- package/dist/views/sys/sms/sms-channel/index.vue.d.ts +2 -0
- package/dist/views/sys/sms/sms-log/components/sms-log-detail.d.vue.ts +8 -0
- package/dist/views/sys/sms/sms-log/components/sms-log-detail.vue +173 -0
- package/dist/views/sys/sms/sms-log/components/sms-log-detail.vue.d.ts +8 -0
- package/dist/views/sys/sms/sms-log/index.d.vue.ts +2 -0
- package/dist/views/sys/sms/sms-log/index.vue +301 -0
- package/dist/views/sys/sms/sms-log/index.vue.d.ts +2 -0
- package/dist/views/sys/sms/sms-rate-limit-config/components/sms-rate-limit-config-form.d.vue.ts +13 -0
- package/dist/views/sys/sms/sms-rate-limit-config/components/sms-rate-limit-config-form.vue +249 -0
- package/dist/views/sys/sms/sms-rate-limit-config/components/sms-rate-limit-config-form.vue.d.ts +13 -0
- package/dist/views/sys/sms/sms-rate-limit-config/index.d.vue.ts +2 -0
- package/dist/views/sys/sms/sms-rate-limit-config/index.vue +259 -0
- package/dist/views/sys/sms/sms-rate-limit-config/index.vue.d.ts +2 -0
- package/dist/views/sys/sms/sms-template/components/sms-template-form.d.vue.ts +15 -0
- package/dist/views/sys/sms/sms-template/components/sms-template-form.vue +344 -0
- package/dist/views/sys/sms/sms-template/components/sms-template-form.vue.d.ts +15 -0
- package/dist/views/sys/sms/sms-template/components/sms-template-send-test.d.vue.ts +7 -0
- package/dist/views/sys/sms/sms-template/components/sms-template-send-test.vue +269 -0
- package/dist/views/sys/sms/sms-template/components/sms-template-send-test.vue.d.ts +7 -0
- package/dist/views/sys/sms/sms-template/index.d.vue.ts +2 -0
- package/dist/views/sys/sms/sms-template/index.vue +455 -0
- package/dist/views/sys/sms/sms-template/index.vue.d.ts +2 -0
- package/dist/views/sys/sms/sms-whitelist/components/sms-whitelist-form.d.vue.ts +13 -0
- package/dist/views/sys/sms/sms-whitelist/components/sms-whitelist-form.vue +236 -0
- package/dist/views/sys/sms/sms-whitelist/components/sms-whitelist-form.vue.d.ts +13 -0
- package/dist/views/sys/sms/sms-whitelist/index.d.vue.ts +2 -0
- package/dist/views/sys/sms/sms-whitelist/index.vue +314 -0
- package/dist/views/sys/sms/sms-whitelist/index.vue.d.ts +2 -0
- package/dist/views/sys/sys-config/base-config/base-form.d.vue.ts +64 -0
- package/dist/views/sys/sys-config/base-config/base-form.vue +1066 -0
- package/dist/views/sys/sys-config/base-config/base-form.vue.d.ts +64 -0
- package/dist/views/sys/sys-config/common-config/common-form.d.vue.ts +28 -0
- package/dist/views/sys/sys-config/common-config/common-form.vue +230 -0
- package/dist/views/sys/sys-config/common-config/common-form.vue.d.ts +28 -0
- package/dist/views/sys/sys-config/desensitization-config/desensitization-form.d.vue.ts +87 -0
- package/dist/views/sys/sys-config/desensitization-config/desensitization-form.vue +224 -0
- package/dist/views/sys/sys-config/desensitization-config/desensitization-form.vue.d.ts +87 -0
- package/dist/views/sys/sys-config/index.d.vue.ts +2 -0
- package/dist/views/sys/sys-config/index.vue +127 -0
- package/dist/views/sys/sys-config/index.vue.d.ts +2 -0
- package/dist/views/sys/sys-config/login-config/login-form.d.vue.ts +87 -0
- package/dist/views/sys/sys-config/login-config/login-form.vue +346 -0
- package/dist/views/sys/sys-config/login-config/login-form.vue.d.ts +87 -0
- package/dist/views/sys/sys-config/mobile-config/components/import-file.d.vue.ts +56 -0
- package/dist/views/sys/sys-config/mobile-config/components/import-file.vue +170 -0
- package/dist/views/sys/sys-config/mobile-config/components/import-file.vue.d.ts +56 -0
- package/dist/views/sys/sys-config/mobile-config/index.d.vue.ts +48 -0
- package/dist/views/sys/sys-config/mobile-config/index.vue +997 -0
- package/dist/views/sys/sys-config/mobile-config/index.vue.d.ts +48 -0
- package/dist/views/sys/sys-config/pwd-config/pwd-form.d.vue.ts +87 -0
- package/dist/views/sys/sys-config/pwd-config/pwd-form.vue +245 -0
- package/dist/views/sys/sys-config/pwd-config/pwd-form.vue.d.ts +87 -0
- package/dist/views/sys/sys-config/superadmin-config/index.d.vue.ts +6 -0
- package/dist/views/sys/sys-config/superadmin-config/index.vue +121 -0
- package/dist/views/sys/sys-config/superadmin-config/index.vue.d.ts +6 -0
- package/dist/views/sys/template-config/components/template-form.d.vue.ts +10 -0
- package/dist/views/sys/template-config/components/template-form.vue +395 -0
- package/dist/views/sys/template-config/components/template-form.vue.d.ts +10 -0
- package/dist/views/sys/template-config/index.d.vue.ts +15 -0
- package/dist/views/sys/template-config/index.vue +426 -0
- package/dist/views/sys/template-config/index.vue.d.ts +15 -0
- package/dist/views/sys/tenant/components/application-menu-auth.d.vue.ts +16 -0
- package/dist/views/sys/tenant/components/application-menu-auth.vue +216 -0
- package/dist/views/sys/tenant/components/application-menu-auth.vue.d.ts +16 -0
- package/dist/views/sys/tenant/components/tenant-form.d.vue.ts +16 -0
- package/dist/views/sys/tenant/components/tenant-form.vue +514 -0
- package/dist/views/sys/tenant/components/tenant-form.vue.d.ts +16 -0
- package/dist/views/sys/tenant/index.d.vue.ts +2 -0
- package/dist/views/sys/tenant/index.vue +480 -0
- package/dist/views/sys/tenant/index.vue.d.ts +2 -0
- package/dist/views/sys/user/components/user-extend-manage.d.vue.ts +2 -0
- package/dist/views/sys/user/components/user-extend-manage.vue +590 -0
- package/dist/views/sys/user/components/user-extend-manage.vue.d.ts +2 -0
- package/dist/views/sys/user/components/user-form.d.vue.ts +16 -0
- package/dist/views/sys/user/components/user-form.vue +686 -0
- package/dist/views/sys/user/components/user-form.vue.d.ts +16 -0
- package/dist/views/sys/user/components/user-import.d.vue.ts +4 -0
- package/dist/views/sys/user/components/user-import.vue +98 -0
- package/dist/views/sys/user/components/user-import.vue.d.ts +4 -0
- package/dist/views/sys/user/components/work-transfer.d.vue.ts +8 -0
- package/dist/views/sys/user/components/work-transfer.vue +127 -0
- package/dist/views/sys/user/components/work-transfer.vue.d.ts +8 -0
- package/dist/views/sys/user/index.d.vue.ts +2 -0
- package/dist/views/sys/user/index.vue +709 -0
- package/dist/views/sys/user/index.vue.d.ts +2 -0
- package/dist/views/system/server-monitor/components/EchartsFree.d.vue.ts +12 -0
- package/dist/views/system/server-monitor/components/EchartsFree.vue +104 -0
- package/dist/views/system/server-monitor/components/EchartsFree.vue.d.ts +12 -0
- package/dist/views/system/server-monitor/components/EchartsUse.d.vue.ts +12 -0
- package/dist/views/system/server-monitor/components/EchartsUse.vue +121 -0
- package/dist/views/system/server-monitor/components/EchartsUse.vue.d.ts +12 -0
- package/dist/views/system/server-monitor/index.d.vue.ts +2 -0
- package/dist/views/system/server-monitor/index.vue +169 -0
- package/dist/views/system/server-monitor/index.vue.d.ts +2 -0
- package/dist/views/system/websocket-debug.d.vue.ts +2 -0
- package/dist/views/system/websocket-debug.vue +528 -0
- package/dist/views/system/websocket-debug.vue.d.ts +2 -0
- package/dist/views/wujie-submenu/index.d.vue.ts +2 -0
- package/dist/views/wujie-submenu/index.vue +296 -0
- package/dist/views/wujie-submenu/index.vue.d.ts +2 -0
- package/package.json +74 -0
- package/src/api/account/index.ts +242 -0
- package/src/api/account/types.ts +65 -0
- package/src/api/app-menu/config/index.ts +244 -0
- package/src/api/app-menu/config/types.ts +102 -0
- package/src/api/app-menu/index.ts +249 -0
- package/src/api/app-menu/menu.ts +229 -0
- package/src/api/app-menu/menuTypes.ts +171 -0
- package/src/api/app-menu/types.ts +121 -0
- package/src/api/cache/index.ts +86 -0
- package/src/api/codegen/index.ts +402 -0
- package/src/api/codegen/template-file.ts +73 -0
- package/src/api/codegen/template-group.ts +82 -0
- package/src/api/codegen/types.ts +1 -0
- package/src/api/column-manager/index.ts +69 -0
- package/src/api/column-manager/types.ts +36 -0
- package/src/api/consult/index.ts +159 -0
- package/src/api/data-connect/index.ts +69 -0
- package/src/api/data-connect/types.ts +89 -0
- package/src/api/data-interface/index.ts +215 -0
- package/src/api/data-interface/types.ts +319 -0
- package/src/api/data-modeling/index.ts +186 -0
- package/src/api/data-modeling/types.ts +70 -0
- package/src/api/department/index.ts +126 -0
- package/src/api/dic/index.ts +355 -0
- package/src/api/dic/types.ts +60 -0
- package/src/api/dictionary/index.ts +129 -0
- package/src/api/example/index.ts +17 -0
- package/src/api/file-config/index.ts +71 -0
- package/src/api/file-config/types.ts +95 -0
- package/src/api/file-info/index.ts +50 -0
- package/src/api/file-info/types.ts +57 -0
- package/src/api/icon/index.ts +157 -0
- package/src/api/icon/types.ts +56 -0
- package/src/api/index.ts +60 -0
- package/src/api/interface-oauth/index.ts +199 -0
- package/src/api/interface-oauth/types.ts +128 -0
- package/src/api/launchpage/index.ts +69 -0
- package/src/api/llm/index.ts +119 -0
- package/src/api/llm/types.ts +122 -0
- package/src/api/log/index.ts +47 -0
- package/src/api/log/types.ts +71 -0
- package/src/api/login/index.ts +117 -0
- package/src/api/login/types.ts +120 -0
- package/src/api/login/util.ts +117 -0
- package/src/api/mail/index.ts +344 -0
- package/src/api/mail/types.ts +282 -0
- package/src/api/menu/index.ts +143 -0
- package/src/api/menu/types.ts +100 -0
- package/src/api/msg/index.ts +258 -0
- package/src/api/msg/types.ts +176 -0
- package/src/api/notice/index.ts +40 -0
- package/src/api/online-user/index.ts +29 -0
- package/src/api/online-user/types.ts +25 -0
- package/src/api/personal-center/index.ts +18 -0
- package/src/api/personal-center/types.ts +39 -0
- package/src/api/post/index.ts +128 -0
- package/src/api/preference/index.ts +20 -0
- package/src/api/preference/types.ts +10 -0
- package/src/api/quartz/index.ts +93 -0
- package/src/api/request.ts +94 -0
- package/src/api/role/index.ts +205 -0
- package/src/api/seal/demo-types.ts +125 -0
- package/src/api/seal/demo.ts +58 -0
- package/src/api/seal/index.ts +193 -0
- package/src/api/seal/types.ts +205 -0
- package/src/api/sensitiveword/index.ts +89 -0
- package/src/api/sensitiveword/types.ts +96 -0
- package/src/api/server-monitor/index.ts +83 -0
- package/src/api/sms/index.ts +319 -0
- package/src/api/sms/types.ts +228 -0
- package/src/api/sys/menu.ts +158 -0
- package/src/api/sys-config/index.ts +68 -0
- package/src/api/template-config/index.ts +74 -0
- package/src/api/tenant/index.ts +163 -0
- package/src/api/tenant/types.ts +97 -0
- package/src/api/user/index.ts +122 -0
- package/src/api/user/types.ts +76 -0
- package/src/assets/imgs/basic-bg-left.png +0 -0
- package/src/assets/imgs/basic-bg-right.png +0 -0
- package/src/assets/imgs/basic-time-1.png +0 -0
- package/src/assets/imgs/basic-time-2.png +0 -0
- package/src/assets/imgs/basic-time-3.png +0 -0
- package/src/assets/imgs/basic-time-icon.png +0 -0
- package/src/assets/imgs/home-bg-dark.jpg +0 -0
- package/src/assets/imgs/home-bg.png +0 -0
- package/src/assets/imgs/personal-center-top-bg.png +0 -0
- package/src/assets/svgs/contentmsg.svg +209 -0
- package/src/assets/svgs/diskmsg.svg +38 -0
- package/src/components/account-item/index.ts +1 -0
- package/src/components/account-item/src/account-item.vue +121 -0
- package/src/components/account-switch-dialog/index.ts +4 -0
- package/src/components/account-switch-dialog/src/account-switch-dialog.vue +238 -0
- package/src/components/app-menu-tree/index.ts +1 -0
- package/src/components/app-menu-tree/src/app-menu-tree.vue +47 -0
- package/src/components/avatar-cropper/index.ts +1 -0
- package/src/components/avatar-cropper/src/avatar-cropper.vue +142 -0
- package/src/components/content-card/index.ts +1 -0
- package/src/components/content-card/src/content-card.vue +21 -0
- package/src/components/custom-tags/index.ts +3 -0
- package/src/components/custom-tags/src/gender-tag.vue +111 -0
- package/src/components/custom-tags/src/status-tag.vue +90 -0
- package/src/components/custom-tags/src/tag.vue +84 -0
- package/src/components/department-form.vue +711 -0
- package/src/components/department-tree/index.ts +1 -0
- package/src/components/department-tree/src/department-tree.vue +419 -0
- package/src/components/department-tree.vue +409 -0
- package/src/components/expand-attribute/index.ts +1 -0
- package/src/components/expand-attribute/src/expand-attribute.vue +116 -0
- package/src/components/expand-attribute.vue +116 -0
- package/src/components/gender-tag.vue +111 -0
- package/src/components/import-file/index.ts +1 -0
- package/src/components/import-file/src/import-file.vue +216 -0
- package/src/components/main-container/index.ts +1 -0
- package/src/components/main-container/src/main-container.vue +50 -0
- package/src/components/main-container.vue +50 -0
- package/src/components/organ-account-select/index.ts +1 -0
- package/src/components/organ-account-select/src/organ-account-select.vue +403 -0
- package/src/components/seal/seal-designer.vue +289 -0
- package/src/components/seal/seal-selector.vue +272 -0
- package/src/components/upload-img/index.ts +1 -0
- package/src/components/upload-img/src/upload-img.vue +169 -0
- package/src/components/upload-img-new/index.ts +2 -0
- package/src/components/upload-img-new/src/upload-img-new.vue +423 -0
- package/src/components/user-extend-manage.vue +590 -0
- package/src/components/user-form.vue +686 -0
- package/src/components/user-import.vue +98 -0
- package/src/components/user-management.vue +709 -0
- package/src/components/websocket-status/index.vue +124 -0
- package/src/components/work-transfer.vue +127 -0
- package/src/hooks/useDict.ts +94 -0
- package/src/index.ts +39 -0
- package/src/plugin.ts +42 -0
- package/src/store/auth.ts +212 -0
- package/src/store/dict.ts +68 -0
- package/src/store/index.ts +2 -0
- package/src/store/websocket.ts +504 -0
- package/src/store/ws-notification.ts +122 -0
- package/src/types.ts +28 -0
- package/src/utils/config-sync.ts +14 -0
- package/src/utils/file.ts +92 -0
- package/src/utils/index.ts +137 -0
- package/src/utils/init-icons.ts +118 -0
- package/src/utils/treeUtil.ts +110 -0
- package/src/utils/useAuthenticatedHtml.ts +101 -0
- package/src/views/_core/README.md +3 -0
- package/src/views/_core/about/index.vue +9 -0
- package/src/views/_core/authentication/code-login.vue +69 -0
- package/src/views/_core/authentication/forget-password.vue +43 -0
- package/src/views/_core/authentication/login.vue +105 -0
- package/src/views/_core/authentication/qrcode-login.vue +10 -0
- package/src/views/_core/authentication/register.vue +96 -0
- package/src/views/_core/fallback/coming-soon.vue +7 -0
- package/src/views/_core/fallback/forbidden.vue +9 -0
- package/src/views/_core/fallback/internal-error.vue +9 -0
- package/src/views/_core/fallback/not-found.vue +9 -0
- package/src/views/_core/fallback/offline.vue +9 -0
- package/src/views/codegen/generate/components/CodePreviewModal.vue +1161 -0
- package/src/views/codegen/generate/components/GenerateConfigModal.vue +1005 -0
- package/src/views/codegen/generate/components/TableInfoModal.vue +276 -0
- package/src/views/codegen/generate/components/preview-modal.vue +446 -0
- package/src/views/codegen/generate/index.vue +332 -0
- package/src/views/codegen/generate/table-info.vue +381 -0
- package/src/views/codegen/generate/types/index.ts +486 -0
- package/src/views/codegen/template-manage/components/TemplateFileEditorModal.vue +541 -0
- package/src/views/codegen/template-manage/components/TemplateFileModal.vue +354 -0
- package/src/views/codegen/template-manage/components/TemplateGroupModal.vue +295 -0
- package/src/views/codegen/template-manage/files/index.vue +459 -0
- package/src/views/codegen/template-manage/index.vue +421 -0
- package/src/views/codegen/template-manage/types.ts +190 -0
- package/src/views/dashboard/analytics/analytics-trends.vue +98 -0
- package/src/views/dashboard/analytics/analytics-visits-data.vue +82 -0
- package/src/views/dashboard/analytics/analytics-visits-sales.vue +48 -0
- package/src/views/dashboard/analytics/analytics-visits-source.vue +67 -0
- package/src/views/dashboard/analytics/analytics-visits.vue +55 -0
- package/src/views/dashboard/analytics/index.vue +90 -0
- package/src/views/dashboard/workspace/index.vue +266 -0
- package/src/views/data/data-connect/constants.ts +45 -0
- package/src/views/data/data-connect/data-connect-form.vue +477 -0
- package/src/views/data/data-connect/index.vue +379 -0
- package/src/views/data/data-modeling/components/common-field/common-field-form.vue +174 -0
- package/src/views/data/data-modeling/components/common-field/common-fields.vue +171 -0
- package/src/views/data/data-modeling/components/data-modeling-form-one.vue +265 -0
- package/src/views/data/data-modeling/components/data-modeling-form-two.vue +561 -0
- package/src/views/data/data-modeling/components/data-modeling-form.vue +188 -0
- package/src/views/data/data-modeling/components/data-preview.vue +130 -0
- package/src/views/data/data-modeling/index.vue +376 -0
- package/src/views/data/interface-oauth/components/interface-oauth-log.vue +79 -0
- package/src/views/data/interface-oauth/components/interface-oauth.vue +151 -0
- package/src/views/data/interface-oauth/components/interface-table.vue +70 -0
- package/src/views/data/interface-oauth/components/user-table.vue +50 -0
- package/src/views/data/interface-oauth/components/verify-signature-description.vue +290 -0
- package/src/views/data/interface-oauth/index.vue +463 -0
- package/src/views/data/interface-oauth/interface-oauth-form.vue +357 -0
- package/src/views/demo-case/affix/index.vue +68 -0
- package/src/views/demo-case/alert/index.vue +139 -0
- package/src/views/demo-case/anchor/index.vue +93 -0
- package/src/views/demo-case/avatar/index.vue +331 -0
- package/src/views/demo-case/badge/index.vue +391 -0
- package/src/views/demo-case/border/index.vue +227 -0
- package/src/views/demo-case/breadcrumb/index.vue +77 -0
- package/src/views/demo-case/button/index.vue +257 -0
- package/src/views/demo-case/calendar/index.vue +108 -0
- package/src/views/demo-case/card/index.vue +290 -0
- package/src/views/demo-case/carousel/index.vue +149 -0
- package/src/views/demo-case/cascader/index.vue +243 -0
- package/src/views/demo-case/checkbox/index.vue +236 -0
- package/src/views/demo-case/collapse/index.vue +161 -0
- package/src/views/demo-case/color/index.vue +328 -0
- package/src/views/demo-case/container/index.vue +195 -0
- package/src/views/demo-case/datepicker/index.vue +219 -0
- package/src/views/demo-case/datetimepicker/index.vue +99 -0
- package/src/views/demo-case/descriptions/index.vue +159 -0
- package/src/views/demo-case/dialog/index.vue +302 -0
- package/src/views/demo-case/divider/index.vue +192 -0
- package/src/views/demo-case/drawer/index.vue +211 -0
- package/src/views/demo-case/dropdown/index.vue +171 -0
- package/src/views/demo-case/empty/index.vue +165 -0
- package/src/views/demo-case/fix-mismatched.cjs +49 -0
- package/src/views/demo-case/fix-proper.cjs +44 -0
- package/src/views/demo-case/fix-tags.cjs +110 -0
- package/src/views/demo-case/form/index.vue +435 -0
- package/src/views/demo-case/image/index.vue +283 -0
- package/src/views/demo-case/infinite-scroll/index.vue +238 -0
- package/src/views/demo-case/input/index.vue +338 -0
- package/src/views/demo-case/input-number/index.vue +184 -0
- package/src/views/demo-case/input-tag/index.vue +197 -0
- package/src/views/demo-case/layout/index.vue +253 -0
- package/src/views/demo-case/link/index.vue +125 -0
- package/src/views/demo-case/mention/index.vue +92 -0
- package/src/views/demo-case/menu/index.vue +198 -0
- package/src/views/demo-case/message/index.vue +165 -0
- package/src/views/demo-case/message-box/index.vue +263 -0
- package/src/views/demo-case/notification/index.vue +210 -0
- package/src/views/demo-case/page-header/index.vue +171 -0
- package/src/views/demo-case/pagination/index.vue +349 -0
- package/src/views/demo-case/popconfirm/index.vue +397 -0
- package/src/views/demo-case/progress/index.vue +371 -0
- package/src/views/demo-case/radio/index.vue +136 -0
- package/src/views/demo-case/rate/index.vue +203 -0
- package/src/views/demo-case/result/index.vue +227 -0
- package/src/views/demo-case/scrollbar/index.vue +91 -0
- package/src/views/demo-case/seal-usage/index.vue +1461 -0
- package/src/views/demo-case/segmented/index.vue +233 -0
- package/src/views/demo-case/select/index.vue +391 -0
- package/src/views/demo-case/skeleton/index.vue +205 -0
- package/src/views/demo-case/slider/index.vue +172 -0
- package/src/views/demo-case/statistic/index.vue +248 -0
- package/src/views/demo-case/steps/index.vue +127 -0
- package/src/views/demo-case/switch/index.vue +151 -0
- package/src/views/demo-case/table/index.vue +338 -0
- package/src/views/demo-case/tabs/index.vue +166 -0
- package/src/views/demo-case/tag/index.vue +342 -0
- package/src/views/demo-case/time-picker/index.vue +206 -0
- package/src/views/demo-case/time-select/index.vue +268 -0
- package/src/views/demo-case/timeline/index.vue +258 -0
- package/src/views/demo-case/tooltip/index.vue +284 -0
- package/src/views/demo-case/transfer/index.vue +219 -0
- package/src/views/demo-case/tree/index.vue +367 -0
- package/src/views/demo-case/tree-select/index.vue +525 -0
- package/src/views/demo-case/typography/index.vue +222 -0
- package/src/views/demo-case/upload/index.vue +285 -0
- package/src/views/demo-case/watermark/index.vue +248 -0
- package/src/views/file/file-config/file-config-form.vue +592 -0
- package/src/views/file/file-config/index.vue +326 -0
- package/src/views/file/file-list/components/FileUploadDialog.vue +253 -0
- package/src/views/file/file-list/components/ImagePreview.vue +66 -0
- package/src/views/file/file-list/index.vue +357 -0
- package/src/views/file//346/226/207/344/273/266/347/256/241/347/220/206/345/211/215/347/253/257/345/274/200/345/217/221/346/226/207/346/241/243.md +1166 -0
- package/src/views/home/index.vue +35 -0
- package/src/views/login/components/login-form.vue +666 -0
- package/src/views/login/components/security-code.vue +71 -0
- package/src/views/login/components/update-password.vue +182 -0
- package/src/views/login/index.vue +289 -0
- package/src/views/login/sso/index.vue +60 -0
- package/src/views/navHome/fonts/PangMenZhengDao.ttf +0 -0
- package/src/views/navHome/fonts/font.css +5 -0
- package/src/views/navHome/images/back.png +0 -0
- package/src/views/navHome/images/bg.png +0 -0
- package/src/views/navHome/images/jcsj.png +0 -0
- package/src/views/navHome/images/jdpj.png +0 -0
- package/src/views/navHome/images/jump.png +0 -0
- package/src/views/navHome/images/menu-bg.png +0 -0
- package/src/views/navHome/images/rwzx.png +0 -0
- package/src/views/navHome/images/screen.svg +1 -0
- package/src/views/navHome/images/sjzx.png +0 -0
- package/src/views/navHome/images/sz.png +0 -0
- package/src/views/navHome/images/tc.png +0 -0
- package/src/views/navHome/images/temp.png +0 -0
- package/src/views/navHome/images/tx.png +0 -0
- package/src/views/navHome/images/wggl.png +0 -0
- package/src/views/navHome/images/xjt.png +0 -0
- package/src/views/navHome/images/yygl.png +0 -0
- package/src/views/navHome/images/zhdd.png +0 -0
- package/src/views/navHome/index.vue +479 -0
- package/src/views/personal-center/components/avatar-name.vue +93 -0
- package/src/views/personal-center/components/basic-info.vue +327 -0
- package/src/views/personal-center/components/department-form.vue +133 -0
- package/src/views/personal-center/components/login-log.vue +147 -0
- package/src/views/personal-center/components/sys-permission.vue +168 -0
- package/src/views/personal-center/components/tabs.vue +49 -0
- package/src/views/personal-center/components/update-password.vue +161 -0
- package/src/views/personal-center/index.vue +110 -0
- package/src/views/screen/index.vue +62 -0
- package/src/views/sys/account/components/account-form.vue +581 -0
- package/src/views/sys/account/components/account-import.vue +100 -0
- package/src/views/sys/account/components/sub-positions.vue +282 -0
- package/src/views/sys/account/index.vue +601 -0
- package/src/views/sys/app-menu/application/app-form.vue +860 -0
- package/src/views/sys/app-menu/application/application-extend-manage.vue +596 -0
- package/src/views/sys/app-menu/application/index.vue +868 -0
- package/src/views/sys/app-menu/components/select-icon.vue +57 -0
- package/src/views/sys/app-menu/config/account/index.vue +202 -0
- package/src/views/sys/app-menu/config/account/link-account.vue +110 -0
- package/src/views/sys/app-menu/config/auth/auth-form.vue +733 -0
- package/src/views/sys/app-menu/config/auth/index.vue +211 -0
- package/src/views/sys/app-menu/config/index.vue +55 -0
- package/src/views/sys/app-menu/config/organ/index.vue +359 -0
- package/src/views/sys/app-menu/config/organ/link-organ.vue +309 -0
- package/src/views/sys/app-menu/config/role/index.vue +192 -0
- package/src/views/sys/app-menu/config/role/link-role.vue +109 -0
- package/src/views/sys/app-menu/index.vue +54 -0
- package/src/views/sys/app-menu/menu/components/label-selector.vue +379 -0
- package/src/views/sys/app-menu/menu/index.vue +1071 -0
- package/src/views/sys/app-menu/menu/menu-extend-manage.vue +612 -0
- package/src/views/sys/app-menu/menu/menu-form.vue +1001 -0
- package/src/views/sys/app-menu/menu/menu-label-manage.vue +408 -0
- package/src/views/sys/cache/components/cache-detail.vue +127 -0
- package/src/views/sys/cache/index.vue +426 -0
- package/src/views/sys/column-manager/RecycleBin.vue +532 -0
- package/src/views/sys/column-manager/column-form.vue +249 -0
- package/src/views/sys/column-manager/index.vue +304 -0
- package/src/views/sys/data-interface/components/api-data-config.vue +884 -0
- package/src/views/sys/data-interface/components/data-interface-form.vue +1181 -0
- package/src/views/sys/data-interface/components/data-interface-import.vue +45 -0
- package/src/views/sys/data-interface/components/field-edit-dialog.vue +164 -0
- package/src/views/sys/data-interface/components/interface-field-table.vue +151 -0
- package/src/views/sys/data-interface/components/interface-log.vue +76 -0
- package/src/views/sys/data-interface/components/interface-parameter-table.vue +185 -0
- package/src/views/sys/data-interface/components/param-edit-dialog.vue +250 -0
- package/src/views/sys/data-interface/components/preview.vue +206 -0
- package/src/views/sys/data-interface/components/sql-data-config.vue +658 -0
- package/src/views/sys/data-interface/components/sql-data-display.vue +644 -0
- package/src/views/sys/data-interface/components/sql-data-statistics.vue +627 -0
- package/src/views/sys/data-interface/components/static-data-config.vue +310 -0
- package/src/views/sys/data-interface/index.vue +919 -0
- package/src/views/sys/department/components/department-form.vue +759 -0
- package/src/views/sys/department/components/department-import.vue +45 -0
- package/src/views/sys/department/components/department-members.vue +148 -0
- package/src/views/sys/department/index.vue +639 -0
- package/src/views/sys/dict/custom/dic-form.vue +310 -0
- package/src/views/sys/dict/custom/index.vue +199 -0
- package/src/views/sys/dict/custom/item-form.vue +232 -0
- package/src/views/sys/dict/custom/item-index.vue +184 -0
- package/src/views/sys/dict/index.vue +65 -0
- package/src/views/sys/dict/list/components/item-import.vue +104 -0
- package/src/views/sys/dict/list/dic-form.vue +246 -0
- package/src/views/sys/dict/list/index.vue +194 -0
- package/src/views/sys/dict/list/item-form.vue +224 -0
- package/src/views/sys/dict/list/item-index.vue +238 -0
- package/src/views/sys/dict/sql/dic-form.vue +277 -0
- package/src/views/sys/dict/sql/index.vue +197 -0
- package/src/views/sys/dict/sql/previewResult.vue +275 -0
- package/src/views/sys/dict/tree/components/item-import.vue +109 -0
- package/src/views/sys/dict/tree/dic-form.vue +234 -0
- package/src/views/sys/dict/tree/index.vue +193 -0
- package/src/views/sys/dict/tree/item-form.vue +293 -0
- package/src/views/sys/dict/tree/item-index.vue +386 -0
- package/src/views/sys/icon/icon-library/icon-library-form.vue +142 -0
- package/src/views/sys/icon/icon-library/index.vue +271 -0
- package/src/views/sys/icon/icon-manager/icon-batch-add.vue +347 -0
- package/src/views/sys/icon/icon-manager/icon-copy.vue +135 -0
- package/src/views/sys/icon/icon-manager/icon-import.vue +191 -0
- package/src/views/sys/icon/icon-manager/icon-manager-form.vue +277 -0
- package/src/views/sys/icon/icon-manager/index.vue +504 -0
- package/src/views/sys/icon/icons.json +605 -0
- package/src/views/sys/icon/index.vue +53 -0
- package/src/views/sys/llm/index.vue +1762 -0
- package/src/views/sys/log/components/operate-log-detail.vue +176 -0
- package/src/views/sys/log/index.vue +607 -0
- package/src/views/sys/mail/mail-account/components/mail-account-form.vue +365 -0
- package/src/views/sys/mail/mail-account/index.vue +390 -0
- package/src/views/sys/mail/mail-blacklist/components/mail-blacklist-form.vue +239 -0
- package/src/views/sys/mail/mail-blacklist/index.vue +268 -0
- package/src/views/sys/mail/mail-log/components/mail-log-detail.vue +121 -0
- package/src/views/sys/mail/mail-log/index.vue +233 -0
- package/src/views/sys/mail/mail-rate-limit/components/rate-limit-form.vue +237 -0
- package/src/views/sys/mail/mail-rate-limit/index.vue +261 -0
- package/src/views/sys/mail/mail-template/components/mail-template-form.vue +320 -0
- package/src/views/sys/mail/mail-template/components/mail-template-send-test.vue +305 -0
- package/src/views/sys/mail/mail-template/index.vue +377 -0
- package/src/views/sys/mail/mail-whitelist/components/mail-whitelist-form.vue +239 -0
- package/src/views/sys/mail/mail-whitelist/index.vue +265 -0
- package/src/views/sys/menu/components/label-selector.vue +379 -0
- package/src/views/sys/menu/index.vue +860 -0
- package/src/views/sys/menu/menu-form.vue +746 -0
- package/src/views/sys/menu/menu-label-manage.vue +400 -0
- package/src/views/sys/msg/components/msg-detail.vue +1621 -0
- package/src/views/sys/msg/components/msg-form.vue +959 -0
- package/src/views/sys/msg/components/msg-receive-status.vue +135 -0
- package/src/views/sys/msg/components/msg-review.vue +556 -0
- package/src/views/sys/msg/consult/notice/index.vue +420 -0
- package/src/views/sys/msg/consult/politicalNews/index.vue +526 -0
- package/src/views/sys/msg/index.vue +692 -0
- package/src/views/sys/my-msg/components/msg-detail.vue +1418 -0
- package/src/views/sys/my-msg/index.vue +683 -0
- package/src/views/sys/notice/components/notice-form.vue +240 -0
- package/src/views/sys/notice/index.vue +292 -0
- package/src/views/sys/online-user/index.vue +227 -0
- package/src/views/sys/post/components/extend-manage.vue +583 -0
- package/src/views/sys/post/components/post-form.vue +252 -0
- package/src/views/sys/post/index.vue +474 -0
- package/src/views/sys/quartz/cron/day.vue +182 -0
- package/src/views/sys/quartz/cron/hour.vue +140 -0
- package/src/views/sys/quartz/cron/index.vue +401 -0
- package/src/views/sys/quartz/cron/min.vue +140 -0
- package/src/views/sys/quartz/cron/month.vue +159 -0
- package/src/views/sys/quartz/cron/result.vue +436 -0
- package/src/views/sys/quartz/cron/second.vue +155 -0
- package/src/views/sys/quartz/cron/types/index.ts +9 -0
- package/src/views/sys/quartz/cron/utils/index.ts +4 -0
- package/src/views/sys/quartz/cron/week.vue +229 -0
- package/src/views/sys/quartz/cron/year.vue +173 -0
- package/src/views/sys/quartz/index.vue +323 -0
- package/src/views/sys/quartz/job-form.vue +309 -0
- package/src/views/sys/quartz/joblog-index.vue +154 -0
- package/src/views/sys/role/components/application-menu-auth.vue +190 -0
- package/src/views/sys/role/components/role-form.vue +456 -0
- package/src/views/sys/role/components/role-info-cell.vue +20 -0
- package/src/views/sys/role/components/role-permission.vue +605 -0
- package/src/views/sys/role/components/role-type-tag.vue +18 -0
- package/src/views/sys/role/index.vue +830 -0
- package/src/views/sys/seal/seal-manage/components/seal-form.vue +1203 -0
- package/src/views/sys/seal/seal-manage/index.vue +413 -0
- package/src/views/sys/seal/signature/components/signature-editor.vue +243 -0
- package/src/views/sys/seal/signature/components/signature-form.vue +272 -0
- package/src/views/sys/seal/signature/index.vue +346 -0
- package/src/views/sys/sensitiveword/components/sensitive-word-form.vue +167 -0
- package/src/views/sys/sensitiveword/components/sensitive-word-import.vue +44 -0
- package/src/views/sys/sensitiveword/index.vue +765 -0
- package/src/views/sys/sms/sms-blacklist/components/sms-blacklist-form.vue +236 -0
- package/src/views/sys/sms/sms-blacklist/index.vue +314 -0
- package/src/views/sys/sms/sms-channel/components/sms-channel-form.vue +260 -0
- package/src/views/sys/sms/sms-channel/index.vue +458 -0
- package/src/views/sys/sms/sms-log/components/sms-log-detail.vue +173 -0
- package/src/views/sys/sms/sms-log/index.vue +301 -0
- package/src/views/sys/sms/sms-rate-limit-config/components/sms-rate-limit-config-form.vue +249 -0
- package/src/views/sys/sms/sms-rate-limit-config/index.vue +259 -0
- package/src/views/sys/sms/sms-template/components/sms-template-form.vue +344 -0
- package/src/views/sys/sms/sms-template/components/sms-template-send-test.vue +269 -0
- package/src/views/sys/sms/sms-template/index.vue +455 -0
- package/src/views/sys/sms/sms-whitelist/components/sms-whitelist-form.vue +236 -0
- package/src/views/sys/sms/sms-whitelist/index.vue +314 -0
- package/src/views/sys/sys-config/base-config/base-form.vue +1066 -0
- package/src/views/sys/sys-config/common-config/common-form.vue +230 -0
- package/src/views/sys/sys-config/desensitization-config/desensitization-form.vue +224 -0
- package/src/views/sys/sys-config/index.vue +127 -0
- package/src/views/sys/sys-config/login-config/login-form.vue +346 -0
- package/src/views/sys/sys-config/mobile-config/components/import-file.vue +170 -0
- package/src/views/sys/sys-config/mobile-config/index.vue +997 -0
- package/src/views/sys/sys-config/pwd-config/pwd-form.vue +245 -0
- package/src/views/sys/sys-config/superadmin-config/index.vue +121 -0
- package/src/views/sys/template-config/components/template-form.vue +395 -0
- package/src/views/sys/template-config/index.vue +426 -0
- package/src/views/sys/tenant/components/application-menu-auth.vue +216 -0
- package/src/views/sys/tenant/components/tenant-form.vue +514 -0
- package/src/views/sys/tenant/index.vue +480 -0
- package/src/views/sys/user/components/user-extend-manage.vue +590 -0
- package/src/views/sys/user/components/user-form.vue +686 -0
- package/src/views/sys/user/components/user-import.vue +98 -0
- package/src/views/sys/user/components/work-transfer.vue +127 -0
- package/src/views/sys/user/index.vue +709 -0
- package/src/views/system/server-monitor/components/EchartsFree.vue +104 -0
- package/src/views/system/server-monitor/components/EchartsUse.vue +121 -0
- package/src/views/system/server-monitor/index.vue +169 -0
- package/src/views/system/websocket-debug.vue +528 -0
- package/src/views/wujie-submenu/index.vue +296 -0
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
interface WebSocketMessage {
|
|
2
|
+
message: string;
|
|
3
|
+
isDot: boolean;
|
|
4
|
+
type?: string;
|
|
5
|
+
}
|
|
6
|
+
interface WebSocketState {
|
|
7
|
+
socket: WebSocket | null;
|
|
8
|
+
data: WebSocketMessage;
|
|
9
|
+
isConnected: boolean;
|
|
10
|
+
connectStatus: number;
|
|
11
|
+
manualDisconnect: boolean;
|
|
12
|
+
heartbeatInterval: number | null;
|
|
13
|
+
reconnectTimeout: number | null;
|
|
14
|
+
reconnectAttempts: number;
|
|
15
|
+
readonly MAX_RECONNECT_ATTEMPTS: number;
|
|
16
|
+
readonly HEARTBEAT_INTERVAL: number;
|
|
17
|
+
readonly RECONNECT_INTERVAL: number;
|
|
18
|
+
notificationCallback: (() => void) | null;
|
|
19
|
+
isPageVisible: boolean;
|
|
20
|
+
connectionStateKey: string;
|
|
21
|
+
}
|
|
22
|
+
export declare const useWebSocketStore: import("pinia").StoreDefinition<"websocket", WebSocketState, {
|
|
23
|
+
/**
|
|
24
|
+
* 获取连接状态文本
|
|
25
|
+
*/
|
|
26
|
+
connectionStatusText(): string;
|
|
27
|
+
/**
|
|
28
|
+
* 是否可以发送消息
|
|
29
|
+
*/
|
|
30
|
+
canSendMessage(): boolean;
|
|
31
|
+
}, {
|
|
32
|
+
isWebSocketSupported(): boolean;
|
|
33
|
+
/**
|
|
34
|
+
* 构建带有认证信息的WebSocket URL
|
|
35
|
+
*/
|
|
36
|
+
buildWebSocketUrl(baseUrl: string): string;
|
|
37
|
+
/**
|
|
38
|
+
* 设置通知刷新回调函数
|
|
39
|
+
*/
|
|
40
|
+
setNotificationCallback(callback: (() => void) | null): void;
|
|
41
|
+
/**
|
|
42
|
+
* 保存连接状态到localStorage
|
|
43
|
+
*/
|
|
44
|
+
saveConnectionState(isConnected: boolean): void;
|
|
45
|
+
/**
|
|
46
|
+
* 获取保存的连接状态
|
|
47
|
+
*/
|
|
48
|
+
getConnectionState(): boolean;
|
|
49
|
+
/**
|
|
50
|
+
* 清除保存的连接状态
|
|
51
|
+
*/
|
|
52
|
+
clearConnectionState(): void;
|
|
53
|
+
/**
|
|
54
|
+
* 动态构建WebSocket URL
|
|
55
|
+
* 生产环境:根据当前页面域名动态拼接 ws://域名 + 环境变量中的路径
|
|
56
|
+
* 开发环境:直接使用环境变量中的完整地址
|
|
57
|
+
*/
|
|
58
|
+
getWebSocketUrl(): string;
|
|
59
|
+
/**
|
|
60
|
+
* 建立WebSocket连接
|
|
61
|
+
*/
|
|
62
|
+
connect(url: string): Promise<void>;
|
|
63
|
+
/**
|
|
64
|
+
* 断开WebSocket连接
|
|
65
|
+
*/
|
|
66
|
+
disconnect(): void;
|
|
67
|
+
/**
|
|
68
|
+
* 清理WebSocket相关资源
|
|
69
|
+
*/
|
|
70
|
+
cleanup(): void;
|
|
71
|
+
/**
|
|
72
|
+
* 尝试重连
|
|
73
|
+
*/
|
|
74
|
+
attemptReconnect(url: string): void;
|
|
75
|
+
/**
|
|
76
|
+
* 开始心跳检测
|
|
77
|
+
*/
|
|
78
|
+
startHeartbeat(): void;
|
|
79
|
+
/**
|
|
80
|
+
* 停止心跳检测
|
|
81
|
+
*/
|
|
82
|
+
stopHeartbeat(): void;
|
|
83
|
+
/**
|
|
84
|
+
* 发送消息
|
|
85
|
+
*/
|
|
86
|
+
sendMessage(msg: string | object): boolean;
|
|
87
|
+
/**
|
|
88
|
+
* 处理接收到的消息
|
|
89
|
+
*/
|
|
90
|
+
handleMessage(event: MessageEvent): void;
|
|
91
|
+
/**
|
|
92
|
+
* 设置页面可见性状态
|
|
93
|
+
*/
|
|
94
|
+
setPageVisible(visible: boolean): void;
|
|
95
|
+
/**
|
|
96
|
+
* 初始化页面可见性监听
|
|
97
|
+
*/
|
|
98
|
+
initPageVisibilityListener(): void;
|
|
99
|
+
/**
|
|
100
|
+
* 自动连接(页面加载后)
|
|
101
|
+
*/
|
|
102
|
+
autoConnect(): void;
|
|
103
|
+
/**
|
|
104
|
+
* 重置状态
|
|
105
|
+
*/
|
|
106
|
+
resetState(): void;
|
|
107
|
+
}>;
|
|
108
|
+
export {};
|
|
@@ -0,0 +1,387 @@
|
|
|
1
|
+
import { defineStore } from "pinia";
|
|
2
|
+
import { useAccessStore, useUserStore } from "@udp/stores";
|
|
3
|
+
import { handleWsNotification } from "./ws-notification.mjs";
|
|
4
|
+
export const useWebSocketStore = defineStore("websocket", {
|
|
5
|
+
state: () => ({
|
|
6
|
+
socket: null,
|
|
7
|
+
data: {
|
|
8
|
+
message: "",
|
|
9
|
+
isDot: false
|
|
10
|
+
},
|
|
11
|
+
isConnected: false,
|
|
12
|
+
connectStatus: 0,
|
|
13
|
+
manualDisconnect: false,
|
|
14
|
+
heartbeatInterval: null,
|
|
15
|
+
reconnectTimeout: null,
|
|
16
|
+
reconnectAttempts: 0,
|
|
17
|
+
MAX_RECONNECT_ATTEMPTS: 5,
|
|
18
|
+
HEARTBEAT_INTERVAL: 3e4,
|
|
19
|
+
RECONNECT_INTERVAL: 2e3,
|
|
20
|
+
notificationCallback: null,
|
|
21
|
+
isPageVisible: true,
|
|
22
|
+
connectionStateKey: "websocket_connection_state"
|
|
23
|
+
}),
|
|
24
|
+
actions: {
|
|
25
|
+
isWebSocketSupported() {
|
|
26
|
+
return "WebSocket" in window;
|
|
27
|
+
},
|
|
28
|
+
/**
|
|
29
|
+
* 构建带有认证信息的WebSocket URL
|
|
30
|
+
*/
|
|
31
|
+
buildWebSocketUrl(baseUrl) {
|
|
32
|
+
const userStore = useUserStore();
|
|
33
|
+
const accountId = userStore.accountInfo?.id;
|
|
34
|
+
const wsUrl = accountId ? `${baseUrl}/websocket?accountId=${accountId}` : `${baseUrl}/websocket`;
|
|
35
|
+
return wsUrl;
|
|
36
|
+
},
|
|
37
|
+
/**
|
|
38
|
+
* 设置通知刷新回调函数
|
|
39
|
+
*/
|
|
40
|
+
setNotificationCallback(callback) {
|
|
41
|
+
this.notificationCallback = callback;
|
|
42
|
+
console.log("\u8BBE\u7F6E\u901A\u77E5\u5237\u65B0\u56DE\u8C03:", callback ? "\u5DF2\u8BBE\u7F6E" : "\u5DF2\u6E05\u9664");
|
|
43
|
+
},
|
|
44
|
+
/**
|
|
45
|
+
* 保存连接状态到localStorage
|
|
46
|
+
*/
|
|
47
|
+
saveConnectionState(isConnected) {
|
|
48
|
+
try {
|
|
49
|
+
const state = {
|
|
50
|
+
isConnected,
|
|
51
|
+
timestamp: Date.now(),
|
|
52
|
+
url: this.socket?.url || ""
|
|
53
|
+
};
|
|
54
|
+
localStorage.setItem(this.connectionStateKey, JSON.stringify(state));
|
|
55
|
+
} catch (error) {
|
|
56
|
+
console.warn("\u4FDD\u5B58WebSocket\u8FDE\u63A5\u72B6\u6001\u5931\u8D25:", error);
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
/**
|
|
60
|
+
* 获取保存的连接状态
|
|
61
|
+
*/
|
|
62
|
+
getConnectionState() {
|
|
63
|
+
try {
|
|
64
|
+
const stateStr = localStorage.getItem(this.connectionStateKey);
|
|
65
|
+
if (!stateStr) return false;
|
|
66
|
+
const state = JSON.parse(stateStr);
|
|
67
|
+
const now = Date.now();
|
|
68
|
+
if (now - state.timestamp > 5 * 60 * 1e3) {
|
|
69
|
+
this.clearConnectionState();
|
|
70
|
+
return false;
|
|
71
|
+
}
|
|
72
|
+
return state.isConnected;
|
|
73
|
+
} catch (error) {
|
|
74
|
+
console.warn("\u8BFB\u53D6WebSocket\u8FDE\u63A5\u72B6\u6001\u5931\u8D25:", error);
|
|
75
|
+
return false;
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
/**
|
|
79
|
+
* 清除保存的连接状态
|
|
80
|
+
*/
|
|
81
|
+
clearConnectionState() {
|
|
82
|
+
try {
|
|
83
|
+
localStorage.removeItem(this.connectionStateKey);
|
|
84
|
+
} catch (error) {
|
|
85
|
+
console.warn("\u6E05\u9664WebSocket\u8FDE\u63A5\u72B6\u6001\u5931\u8D25:", error);
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
// fjl modify
|
|
89
|
+
/**
|
|
90
|
+
* 动态构建WebSocket URL
|
|
91
|
+
* 生产环境:根据当前页面域名动态拼接 ws://域名 + 环境变量中的路径
|
|
92
|
+
* 开发环境:直接使用环境变量中的完整地址
|
|
93
|
+
*/
|
|
94
|
+
getWebSocketUrl() {
|
|
95
|
+
const envWsUrl = import.meta.env.VITE_WEBSOCKET_URL;
|
|
96
|
+
if (envWsUrl.startsWith("ws://") || envWsUrl.startsWith("wss://")) {
|
|
97
|
+
return envWsUrl;
|
|
98
|
+
}
|
|
99
|
+
const wsProtocol = window.location.protocol === "https:" ? "wss:" : "ws:";
|
|
100
|
+
return `${wsProtocol}//${window.location.host}${envWsUrl}`;
|
|
101
|
+
},
|
|
102
|
+
/**
|
|
103
|
+
* 建立WebSocket连接
|
|
104
|
+
*/
|
|
105
|
+
async connect(url) {
|
|
106
|
+
if (!this.isWebSocketSupported()) {
|
|
107
|
+
const error = new Error("WebSocket\u5728\u5F53\u524D\u6D4F\u89C8\u5668\u4E0D\u652F\u6301");
|
|
108
|
+
console.error(error.message);
|
|
109
|
+
throw error;
|
|
110
|
+
}
|
|
111
|
+
if (this.socket?.readyState === WebSocket.OPEN) {
|
|
112
|
+
console.log("WebSocket\u5DF2\u8FDE\u63A5\uFF0C\u65E0\u9700\u91CD\u590D\u8FDE\u63A5");
|
|
113
|
+
return;
|
|
114
|
+
}
|
|
115
|
+
if (this.socket?.readyState === WebSocket.CONNECTING) {
|
|
116
|
+
console.log("WebSocket\u6B63\u5728\u8FDE\u63A5\u4E2D\uFF0C\u8BF7\u7B49\u5F85...");
|
|
117
|
+
return;
|
|
118
|
+
}
|
|
119
|
+
return new Promise((resolve, reject) => {
|
|
120
|
+
try {
|
|
121
|
+
this.cleanup();
|
|
122
|
+
this.manualDisconnect = false;
|
|
123
|
+
const wsUrl = this.buildWebSocketUrl(url);
|
|
124
|
+
console.log("\u6B63\u5728\u8FDE\u63A5WebSocket...", wsUrl);
|
|
125
|
+
this.socket = new WebSocket(wsUrl);
|
|
126
|
+
this.socket.onopen = () => {
|
|
127
|
+
console.log("WebSocket\u8FDE\u63A5\u5DF2\u5EFA\u7ACB");
|
|
128
|
+
this.isConnected = true;
|
|
129
|
+
this.connectStatus = 1;
|
|
130
|
+
this.reconnectAttempts = 0;
|
|
131
|
+
this.startHeartbeat();
|
|
132
|
+
this.saveConnectionState(true);
|
|
133
|
+
resolve();
|
|
134
|
+
};
|
|
135
|
+
this.socket.onmessage = (event) => {
|
|
136
|
+
this.handleMessage(event);
|
|
137
|
+
};
|
|
138
|
+
this.socket.onclose = (event) => {
|
|
139
|
+
console.log(
|
|
140
|
+
"WebSocket\u8FDE\u63A5\u5DF2\u65AD\u5F00, \u72B6\u6001\u7801:",
|
|
141
|
+
event.code,
|
|
142
|
+
"\u539F\u56E0:",
|
|
143
|
+
event.reason
|
|
144
|
+
);
|
|
145
|
+
this.isConnected = false;
|
|
146
|
+
this.connectStatus = 0;
|
|
147
|
+
this.stopHeartbeat();
|
|
148
|
+
this.saveConnectionState(false);
|
|
149
|
+
if (event.code !== 1e3 && event.code !== 1001 && !this.manualDisconnect) {
|
|
150
|
+
console.log("\u68C0\u6D4B\u5230\u5F02\u5E38\u5173\u95ED\uFF0C\u51C6\u5907\u91CD\u8FDE");
|
|
151
|
+
this.attemptReconnect(url);
|
|
152
|
+
} else {
|
|
153
|
+
console.log("\u6B63\u5E38\u5173\u95ED\u6216\u624B\u52A8\u65AD\u5F00\uFF0C\u4E0D\u8FDB\u884C\u91CD\u8FDE");
|
|
154
|
+
}
|
|
155
|
+
};
|
|
156
|
+
this.socket.onerror = (error) => {
|
|
157
|
+
console.error("WebSocket\u8FDE\u63A5\u9519\u8BEF:", error);
|
|
158
|
+
this.isConnected = false;
|
|
159
|
+
this.connectStatus = -1;
|
|
160
|
+
this.saveConnectionState(false);
|
|
161
|
+
reject(error);
|
|
162
|
+
};
|
|
163
|
+
} catch (error) {
|
|
164
|
+
console.error("\u521B\u5EFAWebSocket\u8FDE\u63A5\u5931\u8D25:", error);
|
|
165
|
+
this.saveConnectionState(false);
|
|
166
|
+
reject(error);
|
|
167
|
+
}
|
|
168
|
+
});
|
|
169
|
+
},
|
|
170
|
+
/**
|
|
171
|
+
* 断开WebSocket连接
|
|
172
|
+
*/
|
|
173
|
+
disconnect() {
|
|
174
|
+
this.manualDisconnect = true;
|
|
175
|
+
this.cleanup();
|
|
176
|
+
console.log("WebSocket\u4E3B\u52A8\u65AD\u5F00\u8FDE\u63A5");
|
|
177
|
+
},
|
|
178
|
+
/**
|
|
179
|
+
* 清理WebSocket相关资源
|
|
180
|
+
*/
|
|
181
|
+
cleanup() {
|
|
182
|
+
this.stopHeartbeat();
|
|
183
|
+
if (this.reconnectTimeout) {
|
|
184
|
+
clearTimeout(this.reconnectTimeout);
|
|
185
|
+
this.reconnectTimeout = null;
|
|
186
|
+
}
|
|
187
|
+
if (this.socket) {
|
|
188
|
+
this.socket.close(1e3, "\u6B63\u5E38\u5173\u95ED");
|
|
189
|
+
this.socket = null;
|
|
190
|
+
}
|
|
191
|
+
this.isConnected = false;
|
|
192
|
+
this.connectStatus = 0;
|
|
193
|
+
},
|
|
194
|
+
/**
|
|
195
|
+
* 尝试重连
|
|
196
|
+
*/
|
|
197
|
+
attemptReconnect(url) {
|
|
198
|
+
const accessStore = useAccessStore();
|
|
199
|
+
if (!accessStore.accessToken) {
|
|
200
|
+
console.log("\u7528\u6237\u5DF2\u767B\u51FA\uFF0C\u505C\u6B62WebSocket\u91CD\u8FDE");
|
|
201
|
+
return;
|
|
202
|
+
}
|
|
203
|
+
if (!this.isPageVisible) {
|
|
204
|
+
console.log("\u9875\u9762\u4E0D\u53EF\u89C1\uFF0C\u5EF6\u8FDF\u91CD\u8FDE");
|
|
205
|
+
setTimeout(() => this.attemptReconnect(url), 5e3);
|
|
206
|
+
return;
|
|
207
|
+
}
|
|
208
|
+
if (this.reconnectAttempts < this.MAX_RECONNECT_ATTEMPTS) {
|
|
209
|
+
const wasConnected = this.getConnectionState();
|
|
210
|
+
const delay = wasConnected && this.reconnectAttempts === 0 ? 0 : Math.min(
|
|
211
|
+
this.RECONNECT_INTERVAL * Math.pow(2, this.reconnectAttempts),
|
|
212
|
+
3e4
|
|
213
|
+
);
|
|
214
|
+
console.log(
|
|
215
|
+
`WebSocket\u91CD\u8FDE\u5C1D\u8BD5 ${this.reconnectAttempts + 1}/${this.MAX_RECONNECT_ATTEMPTS}`
|
|
216
|
+
);
|
|
217
|
+
console.log(
|
|
218
|
+
`\u5EF6\u8FDF ${delay}ms \u540E\u91CD\u8FDE${wasConnected ? "\uFF08\u9875\u9762\u5237\u65B0\u540E\u7ACB\u5373\u91CD\u8FDE\uFF09" : ""}`
|
|
219
|
+
);
|
|
220
|
+
this.reconnectTimeout = window.setTimeout(async () => {
|
|
221
|
+
this.reconnectAttempts++;
|
|
222
|
+
try {
|
|
223
|
+
await this.connect(url);
|
|
224
|
+
} catch (error) {
|
|
225
|
+
console.error("\u91CD\u8FDE\u5931\u8D25:", error);
|
|
226
|
+
}
|
|
227
|
+
}, delay);
|
|
228
|
+
} else {
|
|
229
|
+
console.error("WebSocket\u6700\u5927\u91CD\u8FDE\u6B21\u6570\u5DF2\u8FBE\u4E0A\u9650\uFF0C\u5DF2\u505C\u6B62\u91CD\u8FDE");
|
|
230
|
+
this.connectStatus = -1;
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
/**
|
|
234
|
+
* 开始心跳检测
|
|
235
|
+
*/
|
|
236
|
+
startHeartbeat() {
|
|
237
|
+
if (this.heartbeatInterval) {
|
|
238
|
+
return;
|
|
239
|
+
}
|
|
240
|
+
this.heartbeatInterval = window.setInterval(() => {
|
|
241
|
+
if (this.socket?.readyState === WebSocket.OPEN) {
|
|
242
|
+
try {
|
|
243
|
+
this.socket.send("ping");
|
|
244
|
+
console.log("\u53D1\u9001\u5FC3\u8DF3\u5305");
|
|
245
|
+
} catch (error) {
|
|
246
|
+
console.error("\u53D1\u9001\u5FC3\u8DF3\u5305\u5931\u8D25:", error);
|
|
247
|
+
}
|
|
248
|
+
} else {
|
|
249
|
+
console.warn("WebSocket\u672A\u8FDE\u63A5\uFF0C\u505C\u6B62\u5FC3\u8DF3\u68C0\u6D4B");
|
|
250
|
+
this.stopHeartbeat();
|
|
251
|
+
}
|
|
252
|
+
}, this.HEARTBEAT_INTERVAL);
|
|
253
|
+
},
|
|
254
|
+
/**
|
|
255
|
+
* 停止心跳检测
|
|
256
|
+
*/
|
|
257
|
+
stopHeartbeat() {
|
|
258
|
+
if (this.heartbeatInterval) {
|
|
259
|
+
clearInterval(this.heartbeatInterval);
|
|
260
|
+
this.heartbeatInterval = null;
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
/**
|
|
264
|
+
* 发送消息
|
|
265
|
+
*/
|
|
266
|
+
sendMessage(msg) {
|
|
267
|
+
if (this.socket?.readyState === WebSocket.OPEN) {
|
|
268
|
+
try {
|
|
269
|
+
const message = typeof msg === "string" ? msg : JSON.stringify(msg);
|
|
270
|
+
this.socket.send(message);
|
|
271
|
+
return true;
|
|
272
|
+
} catch (error) {
|
|
273
|
+
console.error("\u53D1\u9001\u6D88\u606F\u5931\u8D25:", error);
|
|
274
|
+
return false;
|
|
275
|
+
}
|
|
276
|
+
} else {
|
|
277
|
+
console.warn("WebSocket\u672A\u8FDE\u63A5\uFF0C\u65E0\u6CD5\u53D1\u9001\u6D88\u606F");
|
|
278
|
+
return false;
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
/**
|
|
282
|
+
* 处理接收到的消息
|
|
283
|
+
*/
|
|
284
|
+
handleMessage(event) {
|
|
285
|
+
try {
|
|
286
|
+
if (event.data === "pong") {
|
|
287
|
+
console.log("\u6536\u5230\u5FC3\u8DF3\u54CD\u5E94");
|
|
288
|
+
return;
|
|
289
|
+
}
|
|
290
|
+
const data = JSON.parse(event.data);
|
|
291
|
+
console.log("\u6536\u5230WebSocket\u6D88\u606F:", data);
|
|
292
|
+
this.data = data;
|
|
293
|
+
if (this.notificationCallback) {
|
|
294
|
+
console.log("\u89E6\u53D1\u901A\u77E5\u5237\u65B0");
|
|
295
|
+
this.notificationCallback();
|
|
296
|
+
}
|
|
297
|
+
handleWsNotification(data);
|
|
298
|
+
} catch (error) {
|
|
299
|
+
console.log("\u6536\u5230WebSocket\u6587\u672C\u6D88\u606F:", event.data);
|
|
300
|
+
if (this.notificationCallback) {
|
|
301
|
+
console.log("\u89E6\u53D1\u901A\u77E5\u5237\u65B0\uFF08\u6587\u672C\u6D88\u606F\uFF09");
|
|
302
|
+
this.notificationCallback();
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
/**
|
|
307
|
+
* 设置页面可见性状态
|
|
308
|
+
*/
|
|
309
|
+
setPageVisible(visible) {
|
|
310
|
+
this.isPageVisible = visible;
|
|
311
|
+
console.log("\u9875\u9762\u53EF\u89C1\u6027\u53D8\u5316:", visible ? "\u53EF\u89C1" : "\u9690\u85CF");
|
|
312
|
+
},
|
|
313
|
+
/**
|
|
314
|
+
* 初始化页面可见性监听
|
|
315
|
+
*/
|
|
316
|
+
initPageVisibilityListener() {
|
|
317
|
+
if (typeof document !== "undefined") {
|
|
318
|
+
const handleVisibilityChange = () => {
|
|
319
|
+
this.setPageVisible(!document.hidden);
|
|
320
|
+
if (this.isPageVisible && !this.isConnected && !this.manualDisconnect) {
|
|
321
|
+
console.log("\u9875\u9762\u91CD\u65B0\u53EF\u89C1\uFF0C\u5C1D\u8BD5\u91CD\u8FDEWebSocket");
|
|
322
|
+
this.reconnectAttempts = 0;
|
|
323
|
+
const wsUrl = this.getWebSocketUrl();
|
|
324
|
+
this.connect(wsUrl).catch((error) => {
|
|
325
|
+
console.error("\u9875\u9762\u53EF\u89C1\u6027\u91CD\u8FDE\u5931\u8D25:", error);
|
|
326
|
+
});
|
|
327
|
+
}
|
|
328
|
+
};
|
|
329
|
+
document.addEventListener("visibilitychange", handleVisibilityChange);
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
/**
|
|
333
|
+
* 自动连接(页面加载后)
|
|
334
|
+
*/
|
|
335
|
+
autoConnect() {
|
|
336
|
+
setTimeout(() => {
|
|
337
|
+
const accessStore = useAccessStore();
|
|
338
|
+
const userStore = useUserStore();
|
|
339
|
+
if (accessStore.accessToken && userStore.accountInfo?.id) {
|
|
340
|
+
const wasConnected = this.getConnectionState();
|
|
341
|
+
if (wasConnected) {
|
|
342
|
+
console.log("\u68C0\u6D4B\u5230\u9875\u9762\u5237\u65B0\u524D\u6709WebSocket\u8FDE\u63A5\uFF0C\u81EA\u52A8\u91CD\u8FDE");
|
|
343
|
+
} else {
|
|
344
|
+
console.log("\u9875\u9762\u52A0\u8F7D\u5B8C\u6210\uFF0C\u81EA\u52A8\u5EFA\u7ACBWebSocket\u8FDE\u63A5");
|
|
345
|
+
}
|
|
346
|
+
this.manualDisconnect = false;
|
|
347
|
+
const wsUrl = this.getWebSocketUrl();
|
|
348
|
+
this.connect(wsUrl).catch((error) => {
|
|
349
|
+
console.error("\u9875\u9762\u52A0\u8F7D\u540E\u81EA\u52A8\u8FDE\u63A5\u5931\u8D25:", error);
|
|
350
|
+
});
|
|
351
|
+
this.clearConnectionState();
|
|
352
|
+
} else {
|
|
353
|
+
console.log("\u7528\u6237\u672A\u767B\u5F55\uFF0C\u8DF3\u8FC7WebSocket\u81EA\u52A8\u8FDE\u63A5");
|
|
354
|
+
this.clearConnectionState();
|
|
355
|
+
}
|
|
356
|
+
}, 1e3);
|
|
357
|
+
},
|
|
358
|
+
/**
|
|
359
|
+
* 重置状态
|
|
360
|
+
*/
|
|
361
|
+
resetState() {
|
|
362
|
+
this.disconnect();
|
|
363
|
+
this.reconnectAttempts = 0;
|
|
364
|
+
this.data = {
|
|
365
|
+
message: "",
|
|
366
|
+
isDot: false
|
|
367
|
+
};
|
|
368
|
+
}
|
|
369
|
+
},
|
|
370
|
+
getters: {
|
|
371
|
+
/**
|
|
372
|
+
* 获取连接状态文本
|
|
373
|
+
*/
|
|
374
|
+
connectionStatusText() {
|
|
375
|
+
if (this.isConnected) return "\u5DF2\u8FDE\u63A5";
|
|
376
|
+
if (this.connectStatus === -1) return "\u8FDE\u63A5\u5931\u8D25";
|
|
377
|
+
if (this.socket?.readyState === WebSocket.CONNECTING) return "\u8FDE\u63A5\u4E2D";
|
|
378
|
+
return "\u672A\u8FDE\u63A5";
|
|
379
|
+
},
|
|
380
|
+
/**
|
|
381
|
+
* 是否可以发送消息
|
|
382
|
+
*/
|
|
383
|
+
canSendMessage() {
|
|
384
|
+
return this.isConnected && this.socket?.readyState === WebSocket.OPEN;
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
declare global {
|
|
2
|
+
interface Window {
|
|
3
|
+
__route?: {
|
|
4
|
+
path: string;
|
|
5
|
+
};
|
|
6
|
+
__router?: {
|
|
7
|
+
push: (options: {
|
|
8
|
+
path: string;
|
|
9
|
+
query: Record<string, string | undefined>;
|
|
10
|
+
}) => void;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
interface NotificationData {
|
|
15
|
+
message: string;
|
|
16
|
+
isDot: boolean;
|
|
17
|
+
title?: string;
|
|
18
|
+
orderId?: string;
|
|
19
|
+
type?: string;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* 根据 WebSocket 消息类型分发通知
|
|
23
|
+
*/
|
|
24
|
+
export declare function handleWsNotification(data: NotificationData): void;
|
|
25
|
+
export {};
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { ElNotification } from "element-plus";
|
|
2
|
+
import WujieVue from "wujie-vue3";
|
|
3
|
+
function showSimpleNotification(data) {
|
|
4
|
+
ElNotification({
|
|
5
|
+
title: "\u63A5\u6536\u5230\u65B0\u6D88\u606F",
|
|
6
|
+
message: data.message,
|
|
7
|
+
type: "success",
|
|
8
|
+
offset: 30,
|
|
9
|
+
duration: 3e3
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
function showTaskCreatedNotification(data) {
|
|
13
|
+
const jumpToWaitTodo = () => {
|
|
14
|
+
if (window.__route?.path?.startsWith("/sjzx-v3")) {
|
|
15
|
+
if (WujieVue?.bus) {
|
|
16
|
+
setTimeout(() => {
|
|
17
|
+
WujieVue.bus.$emit("route-change", {
|
|
18
|
+
appCode: "sjzx-v3",
|
|
19
|
+
path: "/eventCenter/waitTodo",
|
|
20
|
+
fromNotification: true
|
|
21
|
+
});
|
|
22
|
+
}, 100);
|
|
23
|
+
}
|
|
24
|
+
} else {
|
|
25
|
+
window.__router?.push({
|
|
26
|
+
path: "/sjzx-v3/eventCenter/waitTodo",
|
|
27
|
+
query: { _subJump: "waitTodoNotice" }
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
ElNotification({
|
|
32
|
+
title: "",
|
|
33
|
+
message: `<div style="margin-bottom:6px;font-weight:bold;font-size:16px;">${data?.title}</div><div style="margin-bottom:8px;">${data.message}</div>`,
|
|
34
|
+
type: "success",
|
|
35
|
+
offset: 30,
|
|
36
|
+
duration: 0,
|
|
37
|
+
dangerouslyUseHTMLString: true,
|
|
38
|
+
onClick: jumpToWaitTodo
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
function showAiReportCompleteNotification(data) {
|
|
42
|
+
const jumpToReport = () => {
|
|
43
|
+
if (window.__route?.path?.startsWith("/sjzx-v3")) {
|
|
44
|
+
if (WujieVue?.bus) {
|
|
45
|
+
setTimeout(() => {
|
|
46
|
+
WujieVue.bus.$emit("route-change", {
|
|
47
|
+
appCode: "sjzx-v3",
|
|
48
|
+
path: "/eventCenter/intelligentReport",
|
|
49
|
+
fromNotification: true
|
|
50
|
+
});
|
|
51
|
+
}, 100);
|
|
52
|
+
}
|
|
53
|
+
} else {
|
|
54
|
+
window.__router?.push({
|
|
55
|
+
path: "/sjzx-v3/eventCenter/intelligentReport",
|
|
56
|
+
query: { _subJump: "intelligentReportNotice" }
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
ElNotification({
|
|
61
|
+
title: "",
|
|
62
|
+
message: `<div style="margin-bottom:6px;font-weight:bold;font-size:16px;">${data?.title}</div><div style="margin-bottom:8px;">${data.message}</div>`,
|
|
63
|
+
type: "success",
|
|
64
|
+
offset: 30,
|
|
65
|
+
duration: 0,
|
|
66
|
+
dangerouslyUseHTMLString: true,
|
|
67
|
+
onClick: jumpToReport
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
const notificationHandlers = {
|
|
71
|
+
"SJCZ_TASK_CREATED": showTaskCreatedNotification,
|
|
72
|
+
"SJCZ_AI_REPORT_COMPLETE": showAiReportCompleteNotification
|
|
73
|
+
};
|
|
74
|
+
export function handleWsNotification(data) {
|
|
75
|
+
if (!data.isDot || !data.message) return;
|
|
76
|
+
const handler = notificationHandlers[data?.type || ""];
|
|
77
|
+
if (handler) {
|
|
78
|
+
handler(data);
|
|
79
|
+
} else if (!data?.type) {
|
|
80
|
+
showSimpleNotification(data);
|
|
81
|
+
}
|
|
82
|
+
}
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { Router } from 'vue-router';
|
|
2
|
+
import type { RequestClient } from '@udp/request';
|
|
3
|
+
export interface UserModuleRouteConfig {
|
|
4
|
+
/** 父路由路径,默认 '/sys' */
|
|
5
|
+
parentPath?: string;
|
|
6
|
+
/** 路由名称,默认 'UserManagement' */
|
|
7
|
+
name?: string;
|
|
8
|
+
/** 路由路径,默认 'user' */
|
|
9
|
+
path?: string;
|
|
10
|
+
/** 路由 meta 信息 */
|
|
11
|
+
meta?: Record<string, any>;
|
|
12
|
+
/**
|
|
13
|
+
* 是否直接注册路由。设为 false 则由消费方的动态菜单系统处理。
|
|
14
|
+
* 默认 true
|
|
15
|
+
*/
|
|
16
|
+
registerDirectly?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export interface UserModuleOptions {
|
|
19
|
+
/** 消费方的 Vue Router 实例 */
|
|
20
|
+
router: Router;
|
|
21
|
+
/** 消费方配置好的 RequestClient 实例 */
|
|
22
|
+
requestClient: RequestClient;
|
|
23
|
+
/** 路由配置 */
|
|
24
|
+
route?: UserModuleRouteConfig;
|
|
25
|
+
}
|
package/dist/types.mjs
ADDED
|
File without changes
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { baseUrlComponent } from "../api/request.mjs";
|
|
2
|
+
export const syncConfigToStorage = (configList) => {
|
|
3
|
+
const item = configList.find((item2) => item2.configKey === "file.upload.url");
|
|
4
|
+
if (item) {
|
|
5
|
+
item.configValue = `${baseUrlComponent}${item.configValue}`;
|
|
6
|
+
}
|
|
7
|
+
localStorage.setItem("commonConfigList", JSON.stringify(configList));
|
|
8
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 文件相关工具函数
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* 文件大小格式化
|
|
6
|
+
* @param bytes 字节数
|
|
7
|
+
* @returns 格式化后的文件大小
|
|
8
|
+
* @example
|
|
9
|
+
* formatFileSize(1024) // "1.00 KB"
|
|
10
|
+
* formatFileSize(1048576) // "1.00 MB"
|
|
11
|
+
* formatFileSize(0) // "0 B"
|
|
12
|
+
*/
|
|
13
|
+
export declare function formatFileSize(bytes: number): string;
|
|
14
|
+
/**
|
|
15
|
+
* URL 复制到剪贴板
|
|
16
|
+
* @param text 要复制的文本
|
|
17
|
+
* @returns 是否成功
|
|
18
|
+
*/
|
|
19
|
+
export declare function copyToClipboard(text: string): Promise<boolean>;
|
|
20
|
+
/**
|
|
21
|
+
* 判断是否为图片文件
|
|
22
|
+
* @param fileType 文件类型(MIME类型)
|
|
23
|
+
* @returns 是否为图片
|
|
24
|
+
*/
|
|
25
|
+
export declare function isImageFile(fileType: string): boolean;
|
|
26
|
+
/**
|
|
27
|
+
* 获取文件扩展名
|
|
28
|
+
* @param fileName 文件名
|
|
29
|
+
* @returns 文件扩展名
|
|
30
|
+
*/
|
|
31
|
+
export declare function getFileExtension(fileName: string): string;
|
|
32
|
+
/**
|
|
33
|
+
* 根据文件扩展名获取MIME类型
|
|
34
|
+
* @param extension 文件扩展名
|
|
35
|
+
* @returns MIME类型
|
|
36
|
+
*/
|
|
37
|
+
export declare function getMimeType(extension: string): string;
|