@lemon30_npm/csit-vue3 0.0.0
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/README.md +0 -0
- package/dist/csit-vue3.js +5935 -0
- package/dist/favicon.ico +0 -0
- package/dist/index.css +1 -0
- package/dist/types/src/App.vue.d.ts +2 -0
- package/dist/types/src/apis/common.d.ts +2 -0
- package/dist/types/src/axios/index.d.ts +3 -0
- package/dist/types/src/axios/middlewares/middleware-executor.d.ts +7 -0
- package/dist/types/src/axios/middlewares/request-middlewares/addContentType.d.ts +6 -0
- package/dist/types/src/axios/middlewares/request-middlewares/addToken.d.ts +6 -0
- package/dist/types/src/axios/middlewares/request-middlewares/addXRequestedWith.d.ts +5 -0
- package/dist/types/src/axios/middlewares/request-middlewares/dafeiyiqi-disposeGetUrlParams.d.ts +7 -0
- package/dist/types/src/axios/middlewares/request-middlewares/logRequest.d.ts +5 -0
- package/dist/types/src/axios/middlewares/request-middlewares/type.d.ts +4 -0
- package/dist/types/src/axios/middlewares/response-middlewares/formatResponseData.d.ts +7 -0
- package/dist/types/src/axios/middlewares/response-middlewares/handle-error/errorMessages.d.ts +5 -0
- package/dist/types/src/axios/middlewares/response-middlewares/handle-error/handleError.d.ts +7 -0
- package/dist/types/src/axios/middlewares/response-middlewares/handle-success/handleFileStream.d.ts +8 -0
- package/dist/types/src/axios/middlewares/response-middlewares/handle-success/handleSuccess.d.ts +6 -0
- package/dist/types/src/axios/middlewares/response-middlewares/handle-success/handleTokenInvalidToLogin.d.ts +6 -0
- package/dist/types/src/axios/middlewares/response-middlewares/handle-success/successMessages.d.ts +9 -0
- package/dist/types/src/axios/middlewares/response-middlewares/handleRedirect.d.ts +12 -0
- package/dist/types/src/axios/middlewares/response-middlewares/logResponse.d.ts +7 -0
- package/dist/types/src/axios/middlewares/response-middlewares/type.d.ts +8 -0
- package/dist/types/src/components/components-global/SvgIcon/index.vue.d.ts +43 -0
- package/dist/types/src/components/components-global/index.d.ts +5 -0
- package/dist/types/src/components/components-project/ci-blue-line-title/index.vue.d.ts +14 -0
- package/dist/types/src/components/components-project/ci-blue-line-title/type.d.ts +4 -0
- package/dist/types/src/components/components-project/ci-common-list/ci-common-list-pagination/type.d.ts +5 -0
- package/dist/types/src/components/components-project/ci-common-list/ci-common-list-start-end-datepicker/type.d.ts +7 -0
- package/dist/types/src/components/components-project/ci-dictionary-select/config.d.ts +14 -0
- package/dist/types/src/components/components-project/ci-dictionary-select/model/index.d.ts +8 -0
- package/dist/types/src/components/components-project/ci-dictionary-select/type.d.ts +16 -0
- package/dist/types/src/components/components-project/ci-echarts/ci-echart-ChinaMap/model/ChinaGeoJson.d.ts +33 -0
- package/dist/types/src/components/components-project/ci-echarts/ci-echart-ChinaMap/model/index.d.ts +16 -0
- package/dist/types/src/components/components-project/ci-echarts/ci-echart-ChinaMap/model/options.d.ts +110 -0
- package/dist/types/src/components/components-project/ci-echarts/ci-echart-ChinaMap/type.d.ts +18 -0
- package/dist/types/src/components/components-project/ci-echarts/ci-echart-bar/model/option-illegality-active-type-distribution.d.ts +63 -0
- package/dist/types/src/components/components-project/ci-echarts/ci-echart-bar/model/options.d.ts +17 -0
- package/dist/types/src/components/components-project/ci-echarts/ci-echart-bar/type.d.ts +27 -0
- package/dist/types/src/components/components-project/ci-echarts/ci-echart-pie/model/option-data-distribution.d.ts +77 -0
- package/dist/types/src/components/components-project/ci-echarts/ci-echart-pie/model/options.d.ts +30 -0
- package/dist/types/src/components/components-project/ci-echarts/ci-echart-pie/type.d.ts +26 -0
- package/dist/types/src/components/components-project/ci-element-plus/ci-el-date-picker-daterange/model/index.d.ts +4 -0
- package/dist/types/src/components/components-project/ci-element-plus/ci-el-date-picker-daterange/type.d.ts +12 -0
- package/dist/types/src/components/components-project/ci-no-data-status/type.d.ts +3 -0
- package/dist/types/src/components/components-project/ci-page-header/type.d.ts +7 -0
- package/dist/types/src/components/components-project/ci-time-line-list/model/index.d.ts +5 -0
- package/dist/types/src/components/components-project/ci-time-line-list/type.d.ts +8 -0
- package/dist/types/src/components/components-project/ci-upload/computed/index.d.ts +8 -0
- package/dist/types/src/components/components-project/ci-upload/expose/index.d.ts +17 -0
- package/dist/types/src/components/components-project/ci-upload/hooks/useUpload.d.ts +8 -0
- package/dist/types/src/components/components-project/ci-upload/hooks/useUploadRetry.d.ts +13 -0
- package/dist/types/src/components/components-project/ci-upload/index.vue.d.ts +56 -0
- package/dist/types/src/components/components-project/ci-upload/props/index.d.ts +27 -0
- package/dist/types/src/components/components-project/ci-upload/type.d.ts +39 -0
- package/dist/types/src/components/components-project/ci-upload/utils/file-icon-maps.d.ts +1 -0
- package/dist/types/src/components/components-project/ci-upload/utils/file.d.ts +8 -0
- package/dist/types/src/components/index.d.ts +5 -0
- package/dist/types/src/config/env-config/env-development.d.ts +9 -0
- package/dist/types/src/config/env-config/env-z_newSimulation.d.ts +4 -0
- package/dist/types/src/config/env-config/env-z_production.d.ts +4 -0
- package/dist/types/src/config/env-config/env-z_simulation.d.ts +4 -0
- package/dist/types/src/config/env-config/index.d.ts +3 -0
- package/dist/types/src/config/env-config/type.d.ts +5 -0
- package/dist/types/src/config/system-config/projectSettings.d.ts +9 -0
- package/dist/types/src/layout/api/user.d.ts +5 -0
- package/dist/types/src/layout/hooks/useUser.d.ts +6 -0
- package/dist/types/src/layout/index.vue.d.ts +2 -0
- package/dist/types/src/layout/layout-header/drawer-menu/MenuEachItem.vue.d.ts +15 -0
- package/dist/types/src/layout/layout-header/drawer-menu/RecentlyVisit.vue.d.ts +2 -0
- package/dist/types/src/layout/layout-header/drawer-menu/SearchMenuResult.vue.d.ts +14 -0
- package/dist/types/src/layout/layout-header/drawer-menu/hooks/useDrawerMenu.d.ts +6 -0
- package/dist/types/src/layout/layout-header/drawer-menu/index.vue.d.ts +5 -0
- package/dist/types/src/layout/layout-header/drawer-menu/type.d.ts +20 -0
- package/dist/types/src/layout/layout-header/index.vue.d.ts +2 -0
- package/dist/types/src/layout/layout-header/user-info/index.vue.d.ts +2 -0
- package/dist/types/src/layout/layout-left-menu/MenuItem.vue.d.ts +6 -0
- package/dist/types/src/layout/layout-left-menu/index.vue.d.ts +2 -0
- package/dist/types/src/layout/mock/local-dev-menus-tree/index.d.ts +51 -0
- package/dist/types/src/layout/mock/system-response-menus/dafei.d.ts +32 -0
- package/dist/types/src/layout/mock/system-response-menus/kjjg.d.ts +30 -0
- package/dist/types/src/layout/model/index.d.ts +12 -0
- package/dist/types/src/layout/store/menuStore.d.ts +167 -0
- package/dist/types/src/layout/store/userStore.d.ts +89 -0
- package/dist/types/src/layout/utils/menus.d.ts +33 -0
- package/dist/types/src/layout/utils/userInfoStorage.d.ts +7 -0
- package/dist/types/src/main.d.ts +0 -0
- package/dist/types/src/plugins/track/api/index.d.ts +7 -0
- package/dist/types/src/plugins/track/config/index.d.ts +47 -0
- package/dist/types/src/plugins/track/directive/index.d.ts +2 -0
- package/dist/types/src/plugins/track/index.d.ts +5 -0
- package/dist/types/src/plugins/track/type.d.ts +6 -0
- package/dist/types/src/plugins/track/utils/index.d.ts +21 -0
- package/dist/types/src/plugins/track/utils/trackRequest.d.ts +38 -0
- package/dist/types/src/router/index.d.ts +5 -0
- package/dist/types/src/router/middlewares/router-afterEach-middleware-runner.d.ts +9 -0
- package/dist/types/src/router/middlewares/router-beforeEach-middleware-runner.d.ts +9 -0
- package/dist/types/src/router/middlewares/router-middleware/errorHandlingMiddleware.d.ts +2 -0
- package/dist/types/src/router/middlewares/router-middleware/router-afterEach/trackLeavePageMiddleware.d.ts +2 -0
- package/dist/types/src/router/middlewares/router-middleware/router-beforeEach/authMiddleware.d.ts +2 -0
- package/dist/types/src/router/middlewares/router-middleware/router-beforeEach/dataPreloadMiddleware.d.ts +2 -0
- package/dist/types/src/router/middlewares/router-middleware/router-beforeEach/keepAliveMiddleware.d.ts +2 -0
- package/dist/types/src/router/middlewares/router-middleware/router-beforeEach/loggerMiddleware.d.ts +2 -0
- package/dist/types/src/router/middlewares/router-middleware/router-beforeEach/trackPageMiddleware.d.ts +2 -0
- package/dist/types/src/router/middlewares/router-middleware/router-beforeEach/userAddressBarInputUrlAndClickDrawerMenuMiddleware.d.ts +6 -0
- package/dist/types/src/router/router-guards.d.ts +6 -0
- package/dist/types/src/router/routes-permission/whiteList.d.ts +6 -0
- package/dist/types/src/router/routes.d.ts +52 -0
- package/dist/types/src/stores/keepAliveStore.d.ts +19 -0
- package/dist/types/src/utils/echarts-UI-colors/index.d.ts +12 -0
- package/dist/types/src/utils/file.d.ts +18 -0
- package/dist/types/src/utils/system/useSystem.d.ts +3 -0
- package/dist/types/src/views/401/index.vue.d.ts +2 -0
- package/dist/types/src/views/401/routes/index.d.ts +14 -0
- package/dist/types/src/views/404/index.vue.d.ts +2 -0
- package/dist/types/src/views/404/routes/index.d.ts +14 -0
- package/dist/types/src/views/home/index.vue.d.ts +2 -0
- package/dist/types/src/views/home/model/quotes.d.ts +4 -0
- package/dist/types/src/views/home/routes/index.d.ts +13 -0
- package/dist/types/src/views-demo/routes/index.d.ts +8 -0
- package/dist/types/src/views-demo/usedemo-ci-common-component/index.vue.d.ts +2 -0
- package/dist/types/src/views-demo/usedemo-ci-common-component/routes/index.d.ts +13 -0
- package/dist/types/src/views-demo/usedemo-ci-common-list/api/index.d.ts +2 -0
- package/dist/types/src/views-demo/usedemo-ci-common-list/index.vue.d.ts +2 -0
- package/dist/types/src/views-demo/usedemo-ci-common-list/mock/index.d.ts +81 -0
- package/dist/types/src/views-demo/usedemo-ci-common-list/model/index.d.ts +59 -0
- package/dist/types/src/views-demo/usedemo-ci-common-list/routes/index.d.ts +13 -0
- package/dist/types/src/views-demo/usedemo-ci-common-list-start-end-datepicker/index.vue.d.ts +2 -0
- package/dist/types/src/views-demo/usedemo-ci-common-list-start-end-datepicker/routes/index.d.ts +13 -0
- package/dist/types/src/views-demo/usedemo-ci-page-header/index.vue.d.ts +2 -0
- package/dist/types/src/views-demo/usedemo-ci-page-header/routes/index.d.ts +13 -0
- package/dist/types/src/views-demo/usedemo-ci-upload/index.vue.d.ts +4 -0
- package/dist/types/src/views-demo/usedemo-ci-upload/routes/index.d.ts +13 -0
- package/package.json +90 -0
package/dist/favicon.ico
ADDED
|
Binary file
|
package/dist/index.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.CiBlueLineTitle[data-v-bd337875]{margin-bottom:10px;display:flex;justify-content:space-between;align-items:center}.CiBlueLineTitle .BlueLineTitle-left[data-v-bd337875]{display:flex;align-items:center}.CiBlueLineTitle .line-title-area[data-v-bd337875]{margin-right:28px;display:flex;align-items:center}.CiBlueLineTitle .line-title-area .line-area[data-v-bd337875]{width:4px;height:14px;border-radius:4px;margin-right:6px}.CiBlueLineTitle .line-title-area .title-area[data-v-bd337875]{font-size:18px;font-weight:700}.CiUpload[data-v-df8cba2f]{width:680px}.CiUpload .ci-el-upload-component[data-v-df8cba2f] .el-upload-dragger{height:142px;padding:0;display:flex;flex-direction:column;justify-content:center;align-items:center}.CiUpload .ci-el-upload-component[data-v-df8cba2f] .el-upload-dragger .upload-btn-icon,.CiUpload .ci-el-upload-component[data-v-df8cba2f] .el-upload-dragger .upload-btn-icon-hover,.CiUpload .ci-el-upload-component[data-v-df8cba2f] .el-upload-dragger .upload-btn-icon-disabled{width:20px;height:20px}.CiUpload .ci-el-upload-component[data-v-df8cba2f] .el-upload-dragger .upload-btn-icon-hover,.CiUpload .ci-el-upload-component[data-v-df8cba2f] .el-upload-dragger .upload-btn-icon-disabled{display:none}.CiUpload .ci-el-upload-component[data-v-df8cba2f] .el-upload-dragger:hover{background-color:#fafbfd}.CiUpload .ci-el-upload-component[data-v-df8cba2f] .el-upload-dragger:hover .upload-btn-icon{display:none}.CiUpload .ci-el-upload-component[data-v-df8cba2f] .el-upload-dragger:hover .upload-btn-icon-hover{display:block}.CiUpload .ci-el-upload-component[data-v-df8cba2f] .el-upload-dragger:hover .upload-btn-icon-disabled{display:none}.CiUpload .ci-el-upload-component[data-v-df8cba2f] .el-upload-dragger .drag-text-info{margin-top:20px}.CiUpload .ci-el-upload-component[data-v-df8cba2f] .el-upload-dragger .drag-text-info .drag-text-info-click{color:#3573f3}.CiUpload .ci-el-upload-component[data-v-df8cba2f] .el-upload-dragger .drag-text-info .drag-text-info-black{color:#191919}.CiUpload .ci-el-upload-component .upload-btn[data-v-df8cba2f]{color:#4a4a4a!important;border-color:#dbdbdb!important}.CiUpload .ci-el-upload-component .upload-btn .upload-btn-icon[data-v-df8cba2f],.CiUpload .ci-el-upload-component .upload-btn .upload-btn-icon-hover[data-v-df8cba2f],.CiUpload .ci-el-upload-component .upload-btn .upload-btn-icon-disabled[data-v-df8cba2f]{width:20px;height:20px;margin-right:10px}.CiUpload .ci-el-upload-component .upload-btn .upload-btn-icon-hover[data-v-df8cba2f],.CiUpload .ci-el-upload-component .upload-btn .upload-btn-icon-disabled[data-v-df8cba2f]{display:none}.CiUpload .ci-el-upload-component .upload-btn[data-v-df8cba2f]:hover{color:#3573f3!important;border-color:#3573f3!important}.CiUpload .ci-el-upload-component .upload-btn:hover .upload-btn-icon[data-v-df8cba2f]{display:none}.CiUpload .ci-el-upload-component .upload-btn:hover .upload-btn-icon-hover[data-v-df8cba2f]{display:block}.CiUpload .ci-el-upload-component .upload-btn:hover .upload-btn-icon-disabled[data-v-df8cba2f]{display:none}.CiUpload .ci-el-upload-component .upload-btn.is-disabled[data-v-df8cba2f]{color:#a4a4a4!important;background-color:#f5f5f5!important;border-color:#dbdbdb!important;opacity:1!important}.CiUpload .ci-el-upload-component .upload-btn.is-disabled .upload-btn-icon[data-v-df8cba2f],.CiUpload .ci-el-upload-component .upload-btn.is-disabled .upload-btn-icon-hover[data-v-df8cba2f]{display:none}.CiUpload .ci-el-upload-component .upload-btn.is-disabled .upload-btn-icon-disabled[data-v-df8cba2f]{display:block}.CiUpload .ci-el-upload-component .default-tip-slot-textInfo[data-v-df8cba2f],.CiUpload .ci-el-upload-component .tip-slot-textInfo[data-v-df8cba2f]{color:#a4a4a4;font-size:12px;margin-top:10px}.CiUpload .ci-el-upload-component.is-disabled[data-v-df8cba2f] .el-upload-dragger{background-color:#f5f5f5}.CiUpload .ci-el-upload-component.is-disabled[data-v-df8cba2f] .el-upload-dragger .upload-btn-icon,.CiUpload .ci-el-upload-component.is-disabled[data-v-df8cba2f] .el-upload-dragger .upload-btn-icon-hover{display:none}.CiUpload .ci-el-upload-component.is-disabled[data-v-df8cba2f] .el-upload-dragger .upload-btn-icon-disabled{display:block}.CiUpload .ci-el-upload-component.is-disabled[data-v-df8cba2f] .el-upload-dragger:hover{border:1px dashed #dcdfe6}.CiUpload .ci-el-upload-component.is-disabled[data-v-df8cba2f] .el-upload-dragger .drag-text-info{margin-top:20px}.CiUpload .ci-el-upload-component.is-disabled[data-v-df8cba2f] .el-upload-dragger .drag-text-info .drag-text-info-click,.CiUpload .ci-el-upload-component.is-disabled[data-v-df8cba2f] .el-upload-dragger .drag-text-info .drag-text-info-black{color:#a4a4a4}.CiUpload .custom-file-list-default[data-v-df8cba2f]{margin-top:20px;border:1px solid #dbdbdb;padding:8px 10px;border-radius:4px}.CiUpload .custom-file-list-default.is-readonly[data-v-df8cba2f]{margin-top:0;border:none;padding:0}.CiUpload .custom-file-list-default .file-item-wrapper[data-v-df8cba2f]{padding:5px}.CiUpload .custom-file-list-default .file-item-wrapper[data-v-df8cba2f]:hover{background-color:#f0f2f5}.CiUpload .custom-file-list-default .file-item-wrapper:hover .file-progress-bar[data-v-df8cba2f]{background-color:#e8e5e5}.CiUpload .custom-file-list-default .file-item-wrapper[data-v-df8cba2f]:not(:last-child){margin-bottom:8px}.CiUpload .custom-file-list-default .file-item-wrapper .file-item-top[data-v-df8cba2f]{display:flex;align-items:center;justify-content:space-between}.CiUpload .custom-file-list-default .file-item-wrapper .file-item-top .file-name-file-icon[data-v-df8cba2f]{display:flex;align-items:flex-start}.CiUpload .custom-file-list-default .file-item-wrapper .file-item-top .file-name-file-icon .file-icon[data-v-df8cba2f]{width:22px;height:22px;margin-right:5px}.CiUpload .custom-file-list-default .file-item-wrapper .file-item-top .file-name-file-icon .file-name[data-v-df8cba2f]{max-width:257px;flex-shrink:0}.CiUpload .custom-file-list-default .file-item-wrapper .file-item-top .top-right[data-v-df8cba2f]{display:flex;align-items:center;justify-content:center}.CiUpload .custom-file-list-default .file-item-wrapper .file-item-top .top-right .file-size[data-v-df8cba2f]{color:#a4a4a4;font-size:14px;margin-right:8px}.CiUpload .custom-file-list-default .file-item-wrapper .file-item-top .top-right .file-operate-btn[data-v-df8cba2f]{margin-right:8px}.CiUpload .custom-file-list-default .file-item-wrapper .file-item-top .top-right .file-operate-btn .el-divider--vertical[data-v-df8cba2f]{font-size:14px;border-left-color:#191919}.CiUpload .custom-file-list-default .file-item-wrapper .file-item-top .top-right .file-status-icon-wrapper .uploading[data-v-df8cba2f]{display:flex;align-items:center;color:#3573f3;font-size:14px}.CiUpload .custom-file-list-default .file-item-wrapper .file-item-top .top-right .file-status-icon-wrapper .uploading .uploading-icon[data-v-df8cba2f]{width:14px;height:14px;margin-right:4px;animation:rotate 1.5s linear infinite}.CiUpload .custom-file-list-default .file-item-wrapper .file-item-top .top-right .file-status-icon-wrapper .success .success-icon[data-v-df8cba2f],.CiUpload .custom-file-list-default .file-item-wrapper .file-item-top .top-right .file-status-icon-wrapper .downloading .success-icon[data-v-df8cba2f]{width:19px;height:19px}.CiUpload .custom-file-list-default .file-item-wrapper .file-item-top .top-right .file-status-icon-wrapper .fail.fail-icon-wrapper[data-v-df8cba2f]{display:flex;align-items:center}.CiUpload .custom-file-list-default .file-item-wrapper .file-item-top .top-right .file-status-icon-wrapper .fail.fail-icon-wrapper .fail-icon[data-v-df8cba2f]{width:19px;height:19px}.CiUpload .custom-file-list-default .file-item-wrapper .file-item-top .top-right .file-status-icon-wrapper .fail.fail-icon-wrapper .retry-icon[data-v-df8cba2f]{margin:0 8px;cursor:pointer;width:18px;height:18px}.CiUpload .custom-file-list-default .file-item-wrapper .file-progress-bar[data-v-df8cba2f]{width:100%;height:5px;background-color:#f0f0f0;border-radius:3px;overflow:hidden;margin-top:5px}.CiUpload .custom-file-list-default .file-item-wrapper .file-progress-bar .file-progress-inner[data-v-df8cba2f]{height:100%;background-color:#3573f3;transition:width .3s ease}.CiUpload .custom-file-list-default .file-item-wrapper .download-progress-bar .file-progress-inner[data-v-df8cba2f]{background-color:#2aca96}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
package/dist/types/src/axios/middlewares/response-middlewares/handle-success/successMessages.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 当http 200后 后端根据请求情况 返回的结果中code状态码动态处理: 使用配置文件来管理状态码和消息映射
|
|
3
|
+
*
|
|
4
|
+
* 需要弹出轻提示给用户看
|
|
5
|
+
*
|
|
6
|
+
* 即使本项目暂时没用到文件需留着
|
|
7
|
+
*/
|
|
8
|
+
export declare const successMessages: Record<string, string>;
|
|
9
|
+
export declare const defaultSuccessMessages = "http 200 \u4E14\u53D1\u751F\u672A\u77E5\u9519\u8BEF\uFF0C\u8BF7\u8C03\u8D77chrome\u63A7\u5236\u9762\u677Fnetwork\u67E5\u770B\u63A5\u53E3\u54CD\u5E94\u7684\u6570\u636E\u4E2D\u7684code\u503C\u662F\u591A\u5C11, \u524D\u540E\u7AEF\u4E00\u8D77\u5546\u91CF\u5982\u4F55\u5904\u7406\u6B64\u7801\u503C";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ResponseMiddleware } from './type';
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* 处理 302 跳转的中间件
|
|
5
|
+
* 捕获 302 响应并处理重定向逻辑
|
|
6
|
+
* 由于我们不是nodejs环境 是浏览器环境,捕获不到302
|
|
7
|
+
* 浏览器环境: 在浏览器中,HTTP重定向是由浏览器本身处理的,而不是Axios。即使你配置了 maxRedirects: 0,浏览器会自动遵循重定向,Axios只会接收到重定向后的响应。因此,302状态码不会被Axios捕获。
|
|
8
|
+
*
|
|
9
|
+
* !!!所以此中间件暂无作用,先放着(不放到执行器里面,当做一个demo放在这吧)
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export declare const handleRedirect: ResponseMiddleware;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AxiosResponse, AxiosError } from 'axios';
|
|
2
|
+
export interface ResponseContext {
|
|
3
|
+
isFileStream?: boolean | undefined;
|
|
4
|
+
response?: AxiosResponse;
|
|
5
|
+
error?: AxiosError;
|
|
6
|
+
}
|
|
7
|
+
export type Middleware<T> = (context: T, next: () => Promise<void>) => Promise<void>;
|
|
8
|
+
export type ResponseMiddleware = (context: ResponseContext, next: () => Promise<void>) => Promise<void>;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
prefix: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
name: StringConstructor;
|
|
7
|
+
color: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
width: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
height: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
20
|
+
prefix: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
name: StringConstructor;
|
|
25
|
+
color: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
width: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
height: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
}>> & Readonly<{}>, {
|
|
38
|
+
color: string;
|
|
39
|
+
width: string;
|
|
40
|
+
height: string;
|
|
41
|
+
prefix: string;
|
|
42
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
43
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BlueLineTitleProps } from './type';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<BlueLineTitleProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BlueLineTitleProps> & Readonly<{}>, {
|
|
3
|
+
title: string;
|
|
4
|
+
color: string;
|
|
5
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>, {
|
|
6
|
+
'slot-left'?(_: {}): any;
|
|
7
|
+
'slot-right'?(_: {}): any;
|
|
8
|
+
}>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Desc: 字典项配置
|
|
3
|
+
*
|
|
4
|
+
* PS: 别依赖于全局配置文件, 而是只针对于当前模块的配置文件, 以便于模块的独立性, 便于模块的复用, 便于模块的维护, 便于模块的测试, 便于模块的迁移
|
|
5
|
+
*/
|
|
6
|
+
export declare const dictionarySettings: {
|
|
7
|
+
dictionary_url: string;
|
|
8
|
+
dictionary_request_method: string;
|
|
9
|
+
dictionary_request_method_param_key: string;
|
|
10
|
+
dictionary_label: string;
|
|
11
|
+
dictionary_value: string;
|
|
12
|
+
dictionary_selectWidth: string;
|
|
13
|
+
dictionary_axios: import('axios').AxiosInstance;
|
|
14
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface DictionarySelectProps {
|
|
2
|
+
clearable?: boolean;
|
|
3
|
+
filterable?: boolean;
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
collapseTags?: boolean;
|
|
6
|
+
collapseTagsTooltip?: boolean;
|
|
7
|
+
maxCollapseTags?: number;
|
|
8
|
+
multiple?: boolean;
|
|
9
|
+
dictionaryCode?: string;
|
|
10
|
+
showRange?: Array<string | number>;
|
|
11
|
+
noShowRange?: Array<string | number>;
|
|
12
|
+
}
|
|
13
|
+
export interface InterFaceOptions {
|
|
14
|
+
label: string;
|
|
15
|
+
value: string | number;
|
|
16
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export declare const __ChinaGeoJson: {
|
|
2
|
+
type: string;
|
|
3
|
+
features: ({
|
|
4
|
+
type: string;
|
|
5
|
+
id: string;
|
|
6
|
+
properties: {
|
|
7
|
+
id: string;
|
|
8
|
+
cp: number[];
|
|
9
|
+
name: string;
|
|
10
|
+
childNum: number;
|
|
11
|
+
};
|
|
12
|
+
geometry: {
|
|
13
|
+
type: string;
|
|
14
|
+
coordinates: string[][];
|
|
15
|
+
encodeOffsets: number[][][];
|
|
16
|
+
};
|
|
17
|
+
} | {
|
|
18
|
+
type: string;
|
|
19
|
+
id: string;
|
|
20
|
+
properties: {
|
|
21
|
+
id: string;
|
|
22
|
+
cp: number[];
|
|
23
|
+
name: string;
|
|
24
|
+
childNum: number;
|
|
25
|
+
};
|
|
26
|
+
geometry: {
|
|
27
|
+
type: string;
|
|
28
|
+
coordinates: string[];
|
|
29
|
+
encodeOffsets: number[][];
|
|
30
|
+
};
|
|
31
|
+
})[];
|
|
32
|
+
UTF8Encoding: boolean;
|
|
33
|
+
};
|
package/dist/types/src/components/components-project/ci-echarts/ci-echart-ChinaMap/model/index.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const OriginSpecialAreaMarkPoint: {
|
|
2
|
+
name: string;
|
|
3
|
+
coord: number[];
|
|
4
|
+
value: any;
|
|
5
|
+
}[];
|
|
6
|
+
/**
|
|
7
|
+
* 南海诸岛label echarts默认放到缩略图内部; 有人提说压住了一点缩略图内容; 此数据需配置label.offset 让其自定义位置
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
export declare const nanhaizhudaoWithLableOffset: {
|
|
11
|
+
name: string;
|
|
12
|
+
value: any;
|
|
13
|
+
label: {
|
|
14
|
+
offset: number[];
|
|
15
|
+
};
|
|
16
|
+
}[];
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 地图本身有每个区域的name 来自echarts-map(China)数据
|
|
3
|
+
*
|
|
4
|
+
* 后端返回的每个地区: {name(name必须和ChinaMap区域的name完全对应上, 地图上的tooltip才能正确展示数据): 'xx',value: 'xx'}
|
|
5
|
+
*/
|
|
6
|
+
export declare const Mock_ChinaMapData: ({
|
|
7
|
+
name: string;
|
|
8
|
+
value: any;
|
|
9
|
+
label: {
|
|
10
|
+
offset: number[];
|
|
11
|
+
};
|
|
12
|
+
} | {
|
|
13
|
+
name: string;
|
|
14
|
+
value: number;
|
|
15
|
+
coord?: undefined;
|
|
16
|
+
} | {
|
|
17
|
+
name: string;
|
|
18
|
+
coord: number[];
|
|
19
|
+
value: number;
|
|
20
|
+
})[];
|
|
21
|
+
export declare const defaultOption: {
|
|
22
|
+
tooltip: {
|
|
23
|
+
trigger: string;
|
|
24
|
+
formatter: (params: any) => string;
|
|
25
|
+
};
|
|
26
|
+
visualMap: {
|
|
27
|
+
left: string;
|
|
28
|
+
top: string;
|
|
29
|
+
text: string[];
|
|
30
|
+
inRange: {
|
|
31
|
+
color: string[];
|
|
32
|
+
};
|
|
33
|
+
show: boolean;
|
|
34
|
+
};
|
|
35
|
+
series: {
|
|
36
|
+
zoom: number;
|
|
37
|
+
type: string;
|
|
38
|
+
map: string;
|
|
39
|
+
roam: boolean;
|
|
40
|
+
selectedMode: boolean;
|
|
41
|
+
label: {
|
|
42
|
+
show: boolean;
|
|
43
|
+
color: string;
|
|
44
|
+
fontSize: number;
|
|
45
|
+
};
|
|
46
|
+
itemStyle: {
|
|
47
|
+
areaColor: string;
|
|
48
|
+
borderColor: string;
|
|
49
|
+
};
|
|
50
|
+
emphasis: {
|
|
51
|
+
label: {
|
|
52
|
+
show: boolean;
|
|
53
|
+
fontSize: number;
|
|
54
|
+
fontWeight: number;
|
|
55
|
+
};
|
|
56
|
+
itemStyle: {
|
|
57
|
+
areaColor: {
|
|
58
|
+
type: string;
|
|
59
|
+
x: number;
|
|
60
|
+
y: number;
|
|
61
|
+
x2: number;
|
|
62
|
+
y2: number;
|
|
63
|
+
colorStops: {
|
|
64
|
+
offset: number;
|
|
65
|
+
color: string;
|
|
66
|
+
}[];
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
data: any[];
|
|
71
|
+
markPoint: {
|
|
72
|
+
symbol: string;
|
|
73
|
+
symbolSize: number;
|
|
74
|
+
itemStyle: {
|
|
75
|
+
color: string;
|
|
76
|
+
};
|
|
77
|
+
label: {
|
|
78
|
+
show: boolean;
|
|
79
|
+
formatter: (params: any) => any;
|
|
80
|
+
position: string;
|
|
81
|
+
color: string;
|
|
82
|
+
fontSize: number;
|
|
83
|
+
backgroundColor: string;
|
|
84
|
+
padding: number[];
|
|
85
|
+
borderRadius: number;
|
|
86
|
+
borderWidth: number;
|
|
87
|
+
borderColor: string;
|
|
88
|
+
};
|
|
89
|
+
data: any[];
|
|
90
|
+
};
|
|
91
|
+
}[];
|
|
92
|
+
geo: {
|
|
93
|
+
zoom: number;
|
|
94
|
+
type: string;
|
|
95
|
+
map: string;
|
|
96
|
+
roam: boolean;
|
|
97
|
+
itemStyle: {
|
|
98
|
+
shadowColor: string;
|
|
99
|
+
shadowOffsetX: number;
|
|
100
|
+
shadowOffsetY: number;
|
|
101
|
+
};
|
|
102
|
+
regions: {
|
|
103
|
+
name: string;
|
|
104
|
+
itemStyle: {
|
|
105
|
+
shadowOffsetX: number;
|
|
106
|
+
shadowOffsetY: number;
|
|
107
|
+
};
|
|
108
|
+
}[];
|
|
109
|
+
};
|
|
110
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface InterfacePropsType {
|
|
2
|
+
name: string;
|
|
3
|
+
value: string;
|
|
4
|
+
}
|
|
5
|
+
export interface ChinaMapProps {
|
|
6
|
+
fragmentOption?: object;
|
|
7
|
+
ChinaMapData?: any[];
|
|
8
|
+
props?: InterfacePropsType;
|
|
9
|
+
showSpecialMarkPoint?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* 自定义特殊区域南海诸岛label offset值; 根据渲染的地图宽高给出合适的值;
|
|
12
|
+
*
|
|
13
|
+
* 如果offset传[0, 0] 则默认内部展示label 如果传值ex:[0, -70]则按照传递位置label进行偏移
|
|
14
|
+
*
|
|
15
|
+
* 默认值: [0, 0]默认内部展示label 不进行任何偏移
|
|
16
|
+
*/
|
|
17
|
+
nanhaizhudaoLabelOffset?: number[];
|
|
18
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
tooltip: {
|
|
3
|
+
trigger: string;
|
|
4
|
+
};
|
|
5
|
+
legend: {
|
|
6
|
+
orient: string;
|
|
7
|
+
top: string;
|
|
8
|
+
left: string;
|
|
9
|
+
icon: string;
|
|
10
|
+
itemWidth: number;
|
|
11
|
+
itemHeight: number;
|
|
12
|
+
itemGap: number;
|
|
13
|
+
align: string;
|
|
14
|
+
textStyle: {
|
|
15
|
+
fontSize: number;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
series: ({
|
|
19
|
+
type: string;
|
|
20
|
+
radius: string;
|
|
21
|
+
silent: boolean;
|
|
22
|
+
label: {
|
|
23
|
+
show: boolean;
|
|
24
|
+
formatter?: undefined;
|
|
25
|
+
position?: undefined;
|
|
26
|
+
overflow?: undefined;
|
|
27
|
+
fontSize?: undefined;
|
|
28
|
+
};
|
|
29
|
+
z: number;
|
|
30
|
+
right: string;
|
|
31
|
+
data: {
|
|
32
|
+
value: number;
|
|
33
|
+
itemStyle: {
|
|
34
|
+
color: string;
|
|
35
|
+
};
|
|
36
|
+
}[];
|
|
37
|
+
minAngle?: undefined;
|
|
38
|
+
emphasis?: undefined;
|
|
39
|
+
} | {
|
|
40
|
+
type: string;
|
|
41
|
+
radius: string;
|
|
42
|
+
z: number;
|
|
43
|
+
minAngle: number;
|
|
44
|
+
right: string;
|
|
45
|
+
label: {
|
|
46
|
+
show: boolean;
|
|
47
|
+
formatter: string;
|
|
48
|
+
position: string;
|
|
49
|
+
overflow: string;
|
|
50
|
+
fontSize: number;
|
|
51
|
+
};
|
|
52
|
+
data: any[];
|
|
53
|
+
emphasis: {
|
|
54
|
+
itemStyle: {
|
|
55
|
+
shadowBlur: number;
|
|
56
|
+
shadowOffsetX: number;
|
|
57
|
+
shadowColor: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
silent?: undefined;
|
|
61
|
+
})[];
|
|
62
|
+
};
|
|
63
|
+
export default _default;
|
package/dist/types/src/components/components-project/ci-echarts/ci-echart-bar/model/options.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const defaultOption: {
|
|
2
|
+
xAxis: {
|
|
3
|
+
type: string;
|
|
4
|
+
data: string[];
|
|
5
|
+
};
|
|
6
|
+
yAxis: {
|
|
7
|
+
type: string;
|
|
8
|
+
};
|
|
9
|
+
series: {
|
|
10
|
+
data: number[];
|
|
11
|
+
type: string;
|
|
12
|
+
showBackground: boolean;
|
|
13
|
+
backgroundStyle: {
|
|
14
|
+
color: string;
|
|
15
|
+
};
|
|
16
|
+
}[];
|
|
17
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { GridComponentOption } from 'echarts/components';
|
|
2
|
+
import { BarSeriesOption } from 'echarts/charts';
|
|
3
|
+
import * as echarts from 'echarts/core';
|
|
4
|
+
export type EChartsOption = echarts.ComposeOption<GridComponentOption | BarSeriesOption>;
|
|
5
|
+
export interface EChartBarProps {
|
|
6
|
+
option?: object;
|
|
7
|
+
/**
|
|
8
|
+
* 如果父组件不传递 option(示例: <CiEchartPie :immediate="true" />) 则使用组件内部默认 option 则需要设置immediate为true
|
|
9
|
+
* 原因: 只是为了 使用当前封装组件内的model中的option看一下是否渲染成功echarts
|
|
10
|
+
*
|
|
11
|
+
* 如果父组件传递 option(示例: <CiEchartPie :option="option" />) 则需要immediate 为 false【组件内部 默认为false】
|
|
12
|
+
*
|
|
13
|
+
* 当前端自己开发调试父组件传递过来的option时 需要将 immediate true
|
|
14
|
+
* (示例: <CiEchartPie :option="option" :immediate="true" />)
|
|
15
|
+
* 当真正调用接口时: 需要将 immediate false
|
|
16
|
+
* (示例: <CiEchartPie :option="option" />)
|
|
17
|
+
*
|
|
18
|
+
* 原因: 当父组件定义初始化option时 一般会写入series data: 此时页面现象会渲染一次 echarts图表
|
|
19
|
+
* 当接口数据响应回来时 一般会动态改动series data: 此时页面现象又回渲染一次 echarts 图表
|
|
20
|
+
* 现象: 如果 immediate true 初始化页面时 则页面会渲染两次 图表
|
|
21
|
+
* !!!如果有更好的方式 不进行配置 直接就能渲染一次 共同完善代码
|
|
22
|
+
* 好像onMounted 执行一次就行???(会先闪一次空白灰色echart 图表?) 先不试了
|
|
23
|
+
*
|
|
24
|
+
* 期望: 初始化页面时 只渲染最后一次后端响应的接口数据的图表 则不需要watch在组件挂载时立即执行, 只需要在值发生变化时触发
|
|
25
|
+
*/
|
|
26
|
+
immediate?: boolean;
|
|
27
|
+
}
|