@lemon30_npm/csit-vue3 0.0.7 → 0.0.9
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 +29 -10
- package/dist/csit-vue3.js +21 -13
- package/dist/lib/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/lib/axios/index.js +67 -0
- package/dist/lib/axios/middlewares/middleware-executor.js +15 -0
- package/dist/lib/axios/middlewares/request-middlewares/addXRequestedWith.js +12 -0
- package/dist/lib/axios/middlewares/request-middlewares/dafeiyiqi-disposeGetUrlParams.js +17 -0
- package/dist/lib/axios/middlewares/request-middlewares/logRequest.js +7 -0
- package/dist/lib/axios/middlewares/response-middlewares/formatResponseData.js +7 -0
- package/dist/lib/axios/middlewares/response-middlewares/handle-error/errorMessages.js +14 -0
- package/dist/lib/axios/middlewares/response-middlewares/handle-error/handleError.js +35 -0
- package/dist/lib/axios/middlewares/response-middlewares/handle-success/handleFileStream.js +11 -0
- package/dist/lib/axios/middlewares/response-middlewares/handle-success/handleSuccess.js +20 -0
- package/dist/lib/axios/middlewares/response-middlewares/handle-success/handleTokenInvalidToLogin.js +18 -0
- package/dist/lib/axios/middlewares/response-middlewares/logResponse.js +13 -0
- package/dist/lib/ci-blue-line-title/index.css +1 -0
- package/dist/lib/ci-blue-line-title/index.js +7 -0
- package/dist/lib/ci-blue-line-title/index.vue.js +7 -0
- package/dist/lib/ci-blue-line-title/index.vue2.js +29 -0
- package/dist/lib/ci-common-list/ci-common-list-layout/index.css +1 -0
- package/dist/lib/ci-common-list/ci-common-list-layout/index.js +7 -0
- package/dist/lib/ci-common-list/ci-common-list-layout/index.vue.js +7 -0
- package/dist/lib/ci-common-list/ci-common-list-layout/index.vue2.js +87 -0
- package/dist/lib/ci-common-list/ci-common-list-pagination/index.js +7 -0
- package/dist/lib/ci-common-list/ci-common-list-pagination/index.vue.js +7 -0
- package/dist/lib/ci-common-list/ci-common-list-pagination/index.vue2.js +31 -0
- package/dist/lib/ci-common-list/ci-common-list-query/index.css +1 -0
- package/dist/lib/ci-common-list/ci-common-list-query/index.js +7 -0
- package/dist/lib/ci-common-list/ci-common-list-query/index.vue.js +7 -0
- package/dist/lib/ci-common-list/ci-common-list-query/index.vue2.js +80 -0
- package/dist/lib/ci-common-list/ci-common-list-start-end-datepicker/index.css +1 -0
- package/dist/lib/ci-common-list/ci-common-list-start-end-datepicker/index.js +7 -0
- package/dist/lib/ci-common-list/ci-common-list-start-end-datepicker/index.vue.js +7 -0
- package/dist/lib/ci-common-list/ci-common-list-start-end-datepicker/index.vue2.js +51 -0
- package/dist/lib/ci-dictionary-select/config.js +18 -0
- package/dist/lib/ci-dictionary-select/index.css +0 -0
- package/dist/lib/ci-dictionary-select/index.js +7 -0
- package/dist/lib/ci-dictionary-select/index.vue.js +7 -0
- package/dist/lib/ci-dictionary-select/index.vue2.js +78 -0
- package/dist/lib/ci-echarts/ci-echart-ChinaMap/index.css +1 -0
- package/dist/lib/ci-echarts/ci-echart-ChinaMap/index.js +7 -0
- package/dist/lib/ci-echarts/ci-echart-ChinaMap/index.vue.js +7 -0
- package/dist/lib/ci-echarts/ci-echart-ChinaMap/index.vue2.js +77 -0
- package/dist/lib/ci-echarts/ci-echart-ChinaMap/model/ChinaGeoJson.js +911 -0
- package/dist/lib/ci-echarts/ci-echart-ChinaMap/model/index.js +14 -0
- package/dist/lib/ci-echarts/ci-echart-ChinaMap/model/options.js +278 -0
- package/dist/lib/ci-echarts/ci-echart-bar/index.css +1 -0
- package/dist/lib/ci-echarts/ci-echart-bar/index.js +10 -0
- package/dist/lib/ci-echarts/ci-echart-bar/index.vue.js +7 -0
- package/dist/lib/ci-echarts/ci-echart-bar/index.vue2.js +42 -0
- package/dist/lib/ci-echarts/ci-echart-bar/model/options.js +22 -0
- package/dist/lib/ci-echarts/ci-echart-pie/index.css +1 -0
- package/dist/lib/ci-echarts/ci-echart-pie/index.js +10 -0
- package/dist/lib/ci-echarts/ci-echart-pie/index.vue.js +7 -0
- package/dist/lib/ci-echarts/ci-echart-pie/index.vue2.js +50 -0
- package/dist/lib/ci-echarts/ci-echart-pie/model/options.js +38 -0
- package/dist/lib/ci-element-plus/ci-el-date-picker-daterange/index.css +1 -0
- package/dist/lib/ci-element-plus/ci-el-date-picker-daterange/index.js +7 -0
- package/dist/lib/ci-element-plus/ci-el-date-picker-daterange/index.vue.js +7 -0
- package/dist/lib/ci-element-plus/ci-el-date-picker-daterange/index.vue2.js +77 -0
- package/dist/lib/ci-element-plus/ci-el-date-picker-daterange/model/index.js +47 -0
- package/dist/lib/ci-no-data-status/images/No-data-available.png.js +4 -0
- package/dist/lib/ci-no-data-status/index.css +1 -0
- package/dist/lib/ci-no-data-status/index.js +7 -0
- package/dist/lib/ci-no-data-status/index.vue.js +7 -0
- package/dist/lib/ci-no-data-status/index.vue2.js +25 -0
- package/dist/lib/ci-page-header/index.css +1 -0
- package/dist/lib/ci-page-header/index.js +7 -0
- package/dist/lib/ci-page-header/index.vue.js +7 -0
- package/dist/lib/ci-page-header/index.vue2.js +60 -0
- package/dist/lib/ci-svg-icon/index.js +8 -0
- package/dist/lib/ci-svg-icon/index.vue.js +26 -0
- package/dist/lib/ci-svg-icon/index.vue2.js +4 -0
- package/dist/lib/ci-time-line-list/index.css +1 -0
- package/dist/lib/ci-time-line-list/index.js +7 -0
- package/dist/lib/ci-time-line-list/index.vue.js +7 -0
- package/dist/lib/ci-time-line-list/index.vue2.js +49 -0
- package/dist/lib/ci-time-line-list/model/index.js +56 -0
- package/dist/lib/ci-upload/computed/index.js +16 -0
- package/dist/lib/ci-upload/expose/index.js +25 -0
- package/dist/lib/ci-upload/hooks/useUpload.js +58 -0
- package/dist/lib/ci-upload/hooks/useUploadRetry.js +45 -0
- package/dist/lib/ci-upload/icons/icon-loading-blue.svg.js +4 -0
- package/dist/lib/ci-upload/icons/icon-upload-btn-disabled.svg.js +4 -0
- package/dist/lib/ci-upload/icons/icon-upload-btn-hover.svg.js +4 -0
- package/dist/lib/ci-upload/icons/icon-upload-btn.svg.js +4 -0
- package/dist/lib/ci-upload/icons/icon-upload-fail.svg.js +4 -0
- package/dist/lib/ci-upload/icons/icon-upload-retry.svg.js +4 -0
- package/dist/lib/ci-upload/icons/icon-upload-success.svg.js +4 -0
- package/dist/lib/ci-upload/icons/icons-file-extension/dmg.svg.js +4 -0
- package/dist/lib/ci-upload/icons/icons-file-extension/doc.svg.js +4 -0
- package/dist/lib/ci-upload/icons/icons-file-extension/docx.svg.js +4 -0
- package/dist/lib/ci-upload/icons/icons-file-extension/file-type-default.svg.js +4 -0
- package/dist/lib/ci-upload/icons/icons-file-extension/gd.svg.js +4 -0
- package/dist/lib/ci-upload/icons/icons-file-extension/jpg.svg.js +4 -0
- package/dist/lib/ci-upload/icons/icons-file-extension/jpge.svg.js +4 -0
- package/dist/lib/ci-upload/icons/icons-file-extension/ofd.svg.js +4 -0
- package/dist/lib/ci-upload/icons/icons-file-extension/pdf.svg.js +4 -0
- package/dist/lib/ci-upload/icons/icons-file-extension/png.svg.js +4 -0
- package/dist/lib/ci-upload/icons/icons-file-extension/rar.svg.js +4 -0
- package/dist/lib/ci-upload/icons/icons-file-extension/sep.svg.js +4 -0
- package/dist/lib/ci-upload/icons/icons-file-extension/txt.svg.js +4 -0
- package/dist/lib/ci-upload/icons/icons-file-extension/wps.svg.js +4 -0
- package/dist/lib/ci-upload/icons/icons-file-extension/wpt.svg.js +4 -0
- package/dist/lib/ci-upload/icons/icons-file-extension/xls.svg.js +4 -0
- package/dist/lib/ci-upload/icons/icons-file-extension/xlsx.svg.js +4 -0
- package/dist/lib/ci-upload/icons/icons-file-extension/zip.svg.js +4 -0
- package/dist/lib/ci-upload/index.css +1 -0
- package/dist/lib/ci-upload/index.js +8 -0
- package/dist/lib/ci-upload/index.vue.js +7 -0
- package/dist/lib/ci-upload/index.vue2.js +385 -0
- package/dist/lib/ci-upload/props/index.js +48 -0
- package/dist/lib/ci-upload/styles/index.css +1 -0
- package/dist/lib/ci-upload/utils/file-icon-maps.js +50 -0
- package/dist/lib/ci-upload/utils/file.js +25 -0
- package/dist/lib/components/components-global/SvgIcon/index.vue.js +26 -0
- package/dist/lib/components/components-global/SvgIcon/index.vue2.js +4 -0
- package/dist/lib/components/index.js +85 -0
- package/dist/lib/config/env-config/index.js +4 -0
- package/dist/lib/config/system-config/projectSettings.js +7 -0
- package/dist/lib/favicon.ico +0 -0
- package/dist/lib/utils/system/useSystem.js +9 -0
- package/dist/types/ci-blue-line-title/index.d.ts +3 -0
- package/dist/types/ci-blue-line-title/index.vue.d.ts +14 -0
- package/dist/types/ci-blue-line-title/type.d.ts +4 -0
- package/dist/types/ci-common-list/ci-common-list-layout/index.d.ts +2 -0
- package/dist/types/ci-common-list/ci-common-list-layout/index.vue.d.ts +19 -0
- package/dist/types/ci-common-list/ci-common-list-pagination/index.d.ts +3 -0
- package/dist/types/ci-common-list/ci-common-list-pagination/index.vue.d.ts +7 -0
- package/dist/types/ci-common-list/ci-common-list-pagination/type.d.ts +5 -0
- package/dist/types/ci-common-list/ci-common-list-query/index.d.ts +2 -0
- package/dist/types/ci-common-list/ci-common-list-query/index.vue.d.ts +12 -0
- package/dist/types/ci-common-list/ci-common-list-start-end-datepicker/index.d.ts +3 -0
- package/dist/types/ci-common-list/ci-common-list-start-end-datepicker/index.vue.d.ts +15 -0
- package/dist/types/ci-common-list/ci-common-list-start-end-datepicker/type.d.ts +7 -0
- package/dist/types/ci-dictionary-select/config.d.ts +14 -0
- package/dist/types/ci-dictionary-select/index.d.ts +3 -0
- package/dist/types/ci-dictionary-select/index.vue.d.ts +14 -0
- package/dist/types/ci-dictionary-select/model/index.d.ts +8 -0
- package/dist/types/ci-dictionary-select/type.d.ts +16 -0
- package/dist/types/ci-echarts/ci-echart-ChinaMap/index.d.ts +3 -0
- package/dist/types/ci-echarts/ci-echart-ChinaMap/index.vue.d.ts +17 -0
- package/dist/types/ci-echarts/ci-echart-ChinaMap/model/ChinaGeoJson.d.ts +33 -0
- package/dist/types/ci-echarts/ci-echart-ChinaMap/model/index.d.ts +16 -0
- package/dist/types/ci-echarts/ci-echart-ChinaMap/model/options.d.ts +110 -0
- package/dist/types/ci-echarts/ci-echart-ChinaMap/type.d.ts +18 -0
- package/dist/types/ci-echarts/ci-echart-bar/index.d.ts +3 -0
- package/dist/types/ci-echarts/ci-echart-bar/index.vue.d.ts +8 -0
- package/dist/types/ci-echarts/ci-echart-bar/model/option-illegality-active-type-distribution.d.ts +63 -0
- package/dist/types/ci-echarts/ci-echart-bar/model/options.d.ts +17 -0
- package/dist/types/ci-echarts/ci-echart-bar/type.d.ts +27 -0
- package/dist/types/ci-echarts/ci-echart-pie/index.d.ts +3 -0
- package/dist/types/ci-echarts/ci-echart-pie/index.vue.d.ts +8 -0
- package/dist/types/ci-echarts/ci-echart-pie/model/option-data-distribution.d.ts +77 -0
- package/dist/types/ci-echarts/ci-echart-pie/model/options.d.ts +30 -0
- package/dist/types/ci-echarts/ci-echart-pie/type.d.ts +26 -0
- package/dist/types/ci-element-plus/ci-el-date-picker-daterange/index.d.ts +3 -0
- package/dist/types/ci-element-plus/ci-el-date-picker-daterange/index.vue.d.ts +24 -0
- package/dist/types/ci-element-plus/ci-el-date-picker-daterange/model/index.d.ts +4 -0
- package/dist/types/ci-element-plus/ci-el-date-picker-daterange/type.d.ts +12 -0
- package/dist/types/ci-no-data-status/index.d.ts +3 -0
- package/dist/types/ci-no-data-status/index.vue.d.ts +11 -0
- package/dist/types/ci-no-data-status/type.d.ts +3 -0
- package/dist/types/ci-page-header/index.d.ts +3 -0
- package/dist/types/ci-page-header/index.vue.d.ts +21 -0
- package/dist/types/ci-page-header/type.d.ts +7 -0
- package/dist/types/ci-svg-icon/index.d.ts +4 -0
- package/dist/types/ci-svg-icon/index.vue.d.ts +8 -0
- package/dist/types/ci-svg-icon/type.d.ts +7 -0
- package/dist/types/ci-time-line-list/index.d.ts +3 -0
- package/dist/types/ci-time-line-list/index.vue.d.ts +14 -0
- package/dist/types/ci-time-line-list/model/index.d.ts +5 -0
- package/dist/types/ci-time-line-list/type.d.ts +8 -0
- package/dist/types/ci-upload/computed/index.d.ts +8 -0
- package/dist/types/ci-upload/expose/index.d.ts +17 -0
- package/dist/types/ci-upload/hooks/useUpload.d.ts +8 -0
- package/dist/types/ci-upload/hooks/useUploadRetry.d.ts +13 -0
- package/dist/types/ci-upload/index.d.ts +3 -0
- package/dist/types/ci-upload/index.vue.d.ts +56 -0
- package/dist/types/ci-upload/props/index.d.ts +27 -0
- package/dist/types/ci-upload/type.d.ts +39 -0
- package/dist/types/ci-upload/utils/file-icon-maps.d.ts +1 -0
- package/dist/types/ci-upload/utils/file.d.ts +8 -0
- package/package.json +6 -2
|
Binary file
|
|
@@ -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,19 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
2
|
+
actionsRef: HTMLDivElement;
|
|
3
|
+
queryRef: HTMLDivElement;
|
|
4
|
+
tableRef: HTMLDivElement;
|
|
5
|
+
paginationRef: HTMLDivElement;
|
|
6
|
+
}, any>, {
|
|
7
|
+
actions?(_: {}): any;
|
|
8
|
+
query?(_: {}): any;
|
|
9
|
+
table?(_: {
|
|
10
|
+
tableHeight: number;
|
|
11
|
+
}): any;
|
|
12
|
+
pagination?(_: {}): any;
|
|
13
|
+
}>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CommonListPaginationProps } from './type';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<CommonListPaginationProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CommonListPaginationProps> & Readonly<{}>, {
|
|
3
|
+
pageSizes: number[];
|
|
4
|
+
background: boolean;
|
|
5
|
+
layout: string;
|
|
6
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
2
|
+
queryConditions: HTMLDivElement;
|
|
3
|
+
}, any>, {
|
|
4
|
+
showConditions?(_: {}): any;
|
|
5
|
+
hiddenConditions?(_: {}): any;
|
|
6
|
+
}>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
9
|
+
new (): {
|
|
10
|
+
$slots: S;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CommonListStartEndDatePickerProps } from './type';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<CommonListStartEndDatePickerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
|
+
"update:startDateValue": (...args: any[]) => void;
|
|
4
|
+
"update:endDateValue": (...args: any[]) => void;
|
|
5
|
+
}, string, import('vue').PublicProps, Readonly<CommonListStartEndDatePickerProps> & Readonly<{
|
|
6
|
+
"onUpdate:startDateValue"?: (...args: any[]) => any;
|
|
7
|
+
"onUpdate:endDateValue"?: (...args: any[]) => any;
|
|
8
|
+
}>, {
|
|
9
|
+
startPlaceholder: string;
|
|
10
|
+
endPlaceholder: string;
|
|
11
|
+
startDateValue: string;
|
|
12
|
+
endDateValue: string;
|
|
13
|
+
requireEndDateBeforeToday: boolean;
|
|
14
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
15
|
+
export default _default;
|
|
@@ -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,14 @@
|
|
|
1
|
+
import { DictionarySelectProps } from './type';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<DictionarySelectProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DictionarySelectProps> & Readonly<{}>, {
|
|
3
|
+
clearable: boolean;
|
|
4
|
+
placeholder: string;
|
|
5
|
+
filterable: boolean;
|
|
6
|
+
collapseTags: boolean;
|
|
7
|
+
collapseTagsTooltip: boolean;
|
|
8
|
+
maxCollapseTags: number;
|
|
9
|
+
multiple: boolean;
|
|
10
|
+
dictionaryCode: string;
|
|
11
|
+
showRange: Array<string | number>;
|
|
12
|
+
noShowRange: Array<string | number>;
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
14
|
+
export default _default;
|
|
@@ -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,17 @@
|
|
|
1
|
+
import { ChinaMapProps } from './type';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<ChinaMapProps, {
|
|
3
|
+
OriginSpecialAreaMarkPoint: {
|
|
4
|
+
name: string;
|
|
5
|
+
coord: number[];
|
|
6
|
+
value: any;
|
|
7
|
+
}[];
|
|
8
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ChinaMapProps> & Readonly<{}>, {
|
|
9
|
+
props: import('./type').InterfacePropsType;
|
|
10
|
+
fragmentOption: object;
|
|
11
|
+
ChinaMapData: any[];
|
|
12
|
+
nanhaizhudaoLabelOffset: number[];
|
|
13
|
+
showSpecialMarkPoint: boolean;
|
|
14
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
15
|
+
chartRef: HTMLDivElement;
|
|
16
|
+
}, HTMLDivElement>;
|
|
17
|
+
export default _default;
|
|
@@ -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
|
+
};
|
|
@@ -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,8 @@
|
|
|
1
|
+
import { EChartBarProps } from './type';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<EChartBarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<EChartBarProps> & Readonly<{}>, {
|
|
3
|
+
option: object;
|
|
4
|
+
immediate: boolean;
|
|
5
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
6
|
+
chartRef: HTMLDivElement;
|
|
7
|
+
}, HTMLDivElement>;
|
|
8
|
+
export default _default;
|
package/dist/types/ci-echarts/ci-echart-bar/model/option-illegality-active-type-distribution.d.ts
ADDED
|
@@ -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;
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PieDataProps } from './type';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<PieDataProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PieDataProps> & Readonly<{}>, {
|
|
3
|
+
option: object;
|
|
4
|
+
immediate: boolean;
|
|
5
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
6
|
+
chartRef: HTMLDivElement;
|
|
7
|
+
}, HTMLDivElement>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 当配置项很大很多时, 可以分模块提取出来 易维护
|
|
3
|
+
*/
|
|
4
|
+
export declare const mockResponseData_threeBar: {
|
|
5
|
+
dataDate: string;
|
|
6
|
+
insertDataCount: number;
|
|
7
|
+
resultDataCount: number;
|
|
8
|
+
feedDataCount: number;
|
|
9
|
+
}[];
|
|
10
|
+
declare const _default: {
|
|
11
|
+
tooltip: {
|
|
12
|
+
trigger: string;
|
|
13
|
+
axisPointer: {
|
|
14
|
+
type: string;
|
|
15
|
+
shadowStyle: {
|
|
16
|
+
color: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
legend: {
|
|
21
|
+
icon: string;
|
|
22
|
+
itemWidth: number;
|
|
23
|
+
itemHeight: number;
|
|
24
|
+
itemGap: number;
|
|
25
|
+
data: string[];
|
|
26
|
+
};
|
|
27
|
+
xAxis: {
|
|
28
|
+
type: string;
|
|
29
|
+
data: string[];
|
|
30
|
+
};
|
|
31
|
+
yAxis: {
|
|
32
|
+
type: string;
|
|
33
|
+
name: string;
|
|
34
|
+
nameTextStyle: {
|
|
35
|
+
fontSize: number;
|
|
36
|
+
color: string;
|
|
37
|
+
align: string;
|
|
38
|
+
};
|
|
39
|
+
nameLocation: string;
|
|
40
|
+
nameGap: number;
|
|
41
|
+
splitLine: {
|
|
42
|
+
show: boolean;
|
|
43
|
+
lineStyle: {
|
|
44
|
+
type: string;
|
|
45
|
+
color: string;
|
|
46
|
+
width: number;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
dataZoom: ({
|
|
51
|
+
type: string;
|
|
52
|
+
bottom: string;
|
|
53
|
+
start?: undefined;
|
|
54
|
+
end?: undefined;
|
|
55
|
+
} | {
|
|
56
|
+
type: string;
|
|
57
|
+
start: number;
|
|
58
|
+
end: number;
|
|
59
|
+
bottom?: undefined;
|
|
60
|
+
})[];
|
|
61
|
+
series: {
|
|
62
|
+
name: string;
|
|
63
|
+
data: number[];
|
|
64
|
+
type: string;
|
|
65
|
+
showBackground: boolean;
|
|
66
|
+
backgroundStyle: {
|
|
67
|
+
color: string;
|
|
68
|
+
};
|
|
69
|
+
itemStyle: {
|
|
70
|
+
color: string;
|
|
71
|
+
};
|
|
72
|
+
emphasis: {
|
|
73
|
+
focus: string;
|
|
74
|
+
};
|
|
75
|
+
}[];
|
|
76
|
+
};
|
|
77
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare const defaultOption: {
|
|
2
|
+
title: {
|
|
3
|
+
text: string;
|
|
4
|
+
subtext: string;
|
|
5
|
+
left: string;
|
|
6
|
+
};
|
|
7
|
+
tooltip: {
|
|
8
|
+
trigger: string;
|
|
9
|
+
};
|
|
10
|
+
legend: {
|
|
11
|
+
orient: string;
|
|
12
|
+
left: string;
|
|
13
|
+
};
|
|
14
|
+
series: {
|
|
15
|
+
name: string;
|
|
16
|
+
type: string;
|
|
17
|
+
radius: string;
|
|
18
|
+
data: {
|
|
19
|
+
value: number;
|
|
20
|
+
name: string;
|
|
21
|
+
}[];
|
|
22
|
+
emphasis: {
|
|
23
|
+
itemStyle: {
|
|
24
|
+
shadowBlur: number;
|
|
25
|
+
shadowOffsetX: number;
|
|
26
|
+
shadowColor: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
}[];
|
|
30
|
+
};
|