@ecan-bi/datav 1.0.38 → 1.0.39
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/index.es.js +3 -4
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +3 -4
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/types/container/modal/Modal.vue.d.ts +2 -2
- package/types/container/modal/index.d.ts +2 -2
- package/types/control/range-picker/RangePicker.vue.d.ts +2 -2
- package/types/control/range-picker/index.d.ts +2 -2
- package/dist/src/_utils/constant.d.ts +0 -7
- package/dist/src/_utils/hooks/index.d.ts +0 -13
- package/dist/src/_utils/hooks/useDownloadFile.d.ts +0 -2
- package/dist/src/_utils/hooks/useEmitEvent.d.ts +0 -7
- package/dist/src/_utils/hooks/useImagePath.d.ts +0 -2
- package/dist/src/_utils/hooks/useOnEvent.d.ts +0 -6
- package/dist/src/_utils/hooks/usePageUrl.d.ts +0 -2
- package/dist/src/_utils/hooks/usePickComponentStyle.d.ts +0 -9
- package/dist/src/_utils/hooks/usePickEchartsData.d.ts +0 -2
- package/dist/src/_utils/hooks/useRequestData.d.ts +0 -6
- package/dist/src/_utils/hooks/useRequestDiagramData.d.ts +0 -6
- package/dist/src/_utils/hooks/useTooltipFormatter.d.ts +0 -4
- package/dist/src/_utils/hooks/useTransformChartDataByAttrKey.d.ts +0 -13
- package/dist/src/_utils/hooks/useTransformChartDataByAttrValue.d.ts +0 -13
- package/dist/src/_utils/hooks/useValueFormatter.d.ts +0 -2
- package/dist/src/_utils/hooks/useVariablesInText.d.ts +0 -4
- package/dist/src/_utils/props.d.ts +0 -71
- package/dist/src/_utils/request.d.ts +0 -2
- package/dist/src/_utils/util.d.ts +0 -20
- package/dist/src/_utils/withInstall.d.ts +0 -5
- package/dist/src/common/echarts/composables/api.d.ts +0 -7
- package/dist/src/common/echarts/composables/autoresize.d.ts +0 -6
- package/dist/src/common/echarts/composables/index.d.ts +0 -3
- package/dist/src/common/echarts/composables/loading.d.ts +0 -10
- package/dist/src/common/echarts/index.d.ts +0 -2
- package/dist/src/common/echarts/types.d.ts +0 -20
- package/dist/src/common/echarts/utils.d.ts +0 -6
- package/dist/src/common/index.d.ts +0 -3
- package/dist/src/common/spin/Spin.vue.d.ts +0 -18
- package/dist/src/common/spin/index.d.ts +0 -2
- package/dist/src/components.d.ts +0 -9
- package/dist/src/container/border/Border.vue.d.ts +0 -494
- package/dist/src/container/border/index.d.ts +0 -494
- package/dist/src/container/border/props.d.ts +0 -255
- package/dist/src/container/index.d.ts +0 -2
- package/dist/src/container/modal/Modal.vue.d.ts +0 -505
- package/dist/src/container/modal/index.d.ts +0 -506
- package/dist/src/container/modal/props.d.ts +0 -179
- package/dist/src/control/button/Button.vue.d.ts +0 -404
- package/dist/src/control/button/index.d.ts +0 -404
- package/dist/src/control/button/props.d.ts +0 -205
- package/dist/src/control/date-picker/DatePicker.vue.d.ts +0 -480
- package/dist/src/control/date-picker/index.d.ts +0 -479
- package/dist/src/control/date-picker/props.d.ts +0 -245
- package/dist/src/control/index.d.ts +0 -6
- package/dist/src/control/input/Input.vue.d.ts +0 -438
- package/dist/src/control/input/index.d.ts +0 -439
- package/dist/src/control/input/props.d.ts +0 -224
- package/dist/src/control/range-picker/RangePicker.vue.d.ts +0 -596
- package/dist/src/control/range-picker/index.d.ts +0 -595
- package/dist/src/control/range-picker/props.d.ts +0 -245
- package/dist/src/control/select/Select.vue.d.ts +0 -613
- package/dist/src/control/select/index.d.ts +0 -613
- package/dist/src/control/select/props.d.ts +0 -321
- package/dist/src/control/tabs/Tabs.vue.d.ts +0 -447
- package/dist/src/control/tabs/index.d.ts +0 -448
- package/dist/src/control/tabs/props.d.ts +0 -235
- package/dist/src/graph/bar/Bar.vue.d.ts +0 -1963
- package/dist/src/graph/bar/index.d.ts +0 -1963
- package/dist/src/graph/bar/props.d.ts +0 -954
- package/dist/src/graph/combo-graph/ComboGraph.vue.d.ts +0 -853
- package/dist/src/graph/combo-graph/index.d.ts +0 -854
- package/dist/src/graph/combo-graph/props.d.ts +0 -429
- package/dist/src/graph/custom-graph/CustomGraph.vue.d.ts +0 -537
- package/dist/src/graph/custom-graph/index.d.ts +0 -537
- package/dist/src/graph/custom-graph/props.d.ts +0 -274
- package/dist/src/graph/index.d.ts +0 -6
- package/dist/src/graph/line/Line.vue.d.ts +0 -818
- package/dist/src/graph/line/index.d.ts +0 -819
- package/dist/src/graph/line/props.d.ts +0 -409
- package/dist/src/graph/pie/Pie.vue.d.ts +0 -894
- package/dist/src/graph/pie/index.d.ts +0 -895
- package/dist/src/graph/pie/props.d.ts +0 -461
- package/dist/src/graph/scatter/Scatter.vue.d.ts +0 -794
- package/dist/src/graph/scatter/index.d.ts +0 -795
- package/dist/src/graph/scatter/props.d.ts +0 -396
- package/dist/src/index.d.ts +0 -6
- package/dist/src/map/index.d.ts +0 -1
- package/dist/src/map/map/Map.vue.d.ts +0 -1699
- package/dist/src/map/map/index.d.ts +0 -1700
- package/dist/src/map/map/props.d.ts +0 -829
- package/dist/src/media/image/Image.vue.d.ts +0 -476
- package/dist/src/media/image/index.d.ts +0 -477
- package/dist/src/media/image/props.d.ts +0 -244
- package/dist/src/media/index.d.ts +0 -1
- package/dist/src/setting/index.d.ts +0 -2
- package/dist/src/setting/page-config/PageConfig.vue.d.ts +0 -112
- package/dist/src/setting/page-config/index.d.ts +0 -113
- package/dist/src/setting/page-config/props.d.ts +0 -61
- package/dist/src/setting/provider-config/ProviderConfig.vue.d.ts +0 -48
- package/dist/src/setting/provider-config/index.d.ts +0 -49
- package/dist/src/setting/provider-config/props.d.ts +0 -29
- package/dist/src/table/index.d.ts +0 -1
- package/dist/src/table/table/Table.vue.d.ts +0 -552
- package/dist/src/table/table/index.d.ts +0 -553
- package/dist/src/table/table/props.d.ts +0 -285
- package/dist/src/text/index.d.ts +0 -5
- package/dist/src/text/list/List.vue.d.ts +0 -849
- package/dist/src/text/list/index.d.ts +0 -849
- package/dist/src/text/list/props.d.ts +0 -441
- package/dist/src/text/proportion/Proportion.vue.d.ts +0 -760
- package/dist/src/text/proportion/index.d.ts +0 -760
- package/dist/src/text/proportion/props.d.ts +0 -395
- package/dist/src/text/scroll-text/ScrollText.vue.d.ts +0 -4
- package/dist/src/text/scroll-text/index.d.ts +0 -4
- package/dist/src/text/text/Text.vue.d.ts +0 -736
- package/dist/src/text/text/index.d.ts +0 -736
- package/dist/src/text/text/props.d.ts +0 -383
- package/dist/src/text/time-display/TimeDisplay.vue.d.ts +0 -547
- package/dist/src/text/time-display/index.d.ts +0 -548
- package/dist/src/text/time-display/props.d.ts +0 -284
package/dist/style.css
CHANGED
|
@@ -589,7 +589,7 @@ x-vue-echarts{display:block;width:100%;height:100%}
|
|
|
589
589
|
[datav-theme='darkBlue'] .ecan-modal .anticon-close > svg > path {
|
|
590
590
|
fill: #fff;
|
|
591
591
|
}
|
|
592
|
-
.image-placeholder[data-v-
|
|
592
|
+
.image-placeholder[data-v-03ae963a] {
|
|
593
593
|
display: grid;
|
|
594
594
|
place-content: center;
|
|
595
595
|
border: 1px solid #d9d9d9;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ecan-bi/datav",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.39",
|
|
4
4
|
"main": "./dist/index.umd.js",
|
|
5
5
|
"module": "./dist/index.es.js",
|
|
6
6
|
"types": "./types/index.d.ts",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"lint": "eslint ./src --ext .vue,.js,.ts,.jsx,.tsx",
|
|
26
26
|
"lint:fix": "eslint --fix ./src --ext .vue,.js,.ts,.jsx,.tsx",
|
|
27
27
|
"clean": "rimraf ./dist",
|
|
28
|
-
"prepublishOnly": "npm run
|
|
28
|
+
"prepublishOnly": "npm run dist",
|
|
29
29
|
"test": "jest"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
@@ -199,7 +199,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
199
199
|
results?: string | number;
|
|
200
200
|
security?: string;
|
|
201
201
|
unselectable?: "on" | "off";
|
|
202
|
-
inputmode?: "search" | "
|
|
202
|
+
inputmode?: "search" | "text" | "none" | "url" | "tel" | "email" | "numeric" | "decimal";
|
|
203
203
|
is?: string;
|
|
204
204
|
'aria-activedescendant'?: string;
|
|
205
205
|
'aria-atomic'?: boolean | "false" | "true";
|
|
@@ -236,7 +236,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
236
236
|
'aria-posinset'?: string | number;
|
|
237
237
|
'aria-pressed'?: "mixed" | (boolean | "false" | "true");
|
|
238
238
|
'aria-readonly'?: boolean | "false" | "true";
|
|
239
|
-
'aria-relevant'?: "
|
|
239
|
+
'aria-relevant'?: "text" | "all" | "additions" | "additions text" | "removals";
|
|
240
240
|
'aria-required'?: boolean | "false" | "true";
|
|
241
241
|
'aria-roledescription'?: string;
|
|
242
242
|
'aria-rowcount'?: string | number;
|
|
@@ -199,7 +199,7 @@ export declare const EcanModal: import("../../_utils/withInstall").SFCWithInstal
|
|
|
199
199
|
results?: string | number;
|
|
200
200
|
security?: string;
|
|
201
201
|
unselectable?: "on" | "off";
|
|
202
|
-
inputmode?: "search" | "
|
|
202
|
+
inputmode?: "search" | "text" | "none" | "url" | "tel" | "email" | "numeric" | "decimal";
|
|
203
203
|
is?: string;
|
|
204
204
|
'aria-activedescendant'?: string;
|
|
205
205
|
'aria-atomic'?: boolean | "false" | "true";
|
|
@@ -236,7 +236,7 @@ export declare const EcanModal: import("../../_utils/withInstall").SFCWithInstal
|
|
|
236
236
|
'aria-posinset'?: string | number;
|
|
237
237
|
'aria-pressed'?: "mixed" | (boolean | "false" | "true");
|
|
238
238
|
'aria-readonly'?: boolean | "false" | "true";
|
|
239
|
-
'aria-relevant'?: "
|
|
239
|
+
'aria-relevant'?: "text" | "all" | "additions" | "additions text" | "removals";
|
|
240
240
|
'aria-required'?: boolean | "false" | "true";
|
|
241
241
|
'aria-roledescription'?: string;
|
|
242
242
|
'aria-rowcount'?: string | number;
|
|
@@ -282,7 +282,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
282
282
|
startOf: (unit: dayjs.OpUnitType) => dayjs.Dayjs;
|
|
283
283
|
endOf: (unit: dayjs.OpUnitType) => dayjs.Dayjs;
|
|
284
284
|
format: (template?: string) => string;
|
|
285
|
-
diff: (date?: string | number | Date | dayjs.Dayjs, unit?: "
|
|
285
|
+
diff: (date?: string | number | Date | dayjs.Dayjs, unit?: "s" | "date" | "D" | "M" | "y" | "week" | "month" | "quarter" | "year" | "day" | "hour" | "minute" | "second" | "millisecond" | "milliseconds" | "seconds" | "minutes" | "hours" | "days" | "months" | "years" | "dates" | "d" | "h" | "m" | "ms" | "weeks" | "w" | "quarters" | "Q", float?: boolean) => number;
|
|
286
286
|
valueOf: () => number;
|
|
287
287
|
unix: () => number;
|
|
288
288
|
daysInMonth: () => number;
|
|
@@ -340,7 +340,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
340
340
|
startOf: (unit: dayjs.OpUnitType) => dayjs.Dayjs;
|
|
341
341
|
endOf: (unit: dayjs.OpUnitType) => dayjs.Dayjs;
|
|
342
342
|
format: (template?: string) => string;
|
|
343
|
-
diff: (date?: string | number | Date | dayjs.Dayjs, unit?: "
|
|
343
|
+
diff: (date?: string | number | Date | dayjs.Dayjs, unit?: "s" | "date" | "D" | "M" | "y" | "week" | "month" | "quarter" | "year" | "day" | "hour" | "minute" | "second" | "millisecond" | "milliseconds" | "seconds" | "minutes" | "hours" | "days" | "months" | "years" | "dates" | "d" | "h" | "m" | "ms" | "weeks" | "w" | "quarters" | "Q", float?: boolean) => number;
|
|
344
344
|
valueOf: () => number;
|
|
345
345
|
unix: () => number;
|
|
346
346
|
daysInMonth: () => number;
|
|
@@ -280,7 +280,7 @@ export declare const EcanRangePicker: import("../../_utils/withInstall").SFCWith
|
|
|
280
280
|
startOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
|
|
281
281
|
endOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
|
|
282
282
|
format: (template?: string) => string;
|
|
283
|
-
diff: (date?: string | number | Date | import("dayjs").Dayjs, unit?: "
|
|
283
|
+
diff: (date?: string | number | Date | import("dayjs").Dayjs, unit?: "s" | "date" | "D" | "M" | "y" | "week" | "month" | "quarter" | "year" | "day" | "hour" | "minute" | "second" | "millisecond" | "milliseconds" | "seconds" | "minutes" | "hours" | "days" | "months" | "years" | "dates" | "d" | "h" | "m" | "ms" | "weeks" | "w" | "quarters" | "Q", float?: boolean) => number;
|
|
284
284
|
valueOf: () => number;
|
|
285
285
|
unix: () => number;
|
|
286
286
|
daysInMonth: () => number;
|
|
@@ -338,7 +338,7 @@ export declare const EcanRangePicker: import("../../_utils/withInstall").SFCWith
|
|
|
338
338
|
startOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
|
|
339
339
|
endOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
|
|
340
340
|
format: (template?: string) => string;
|
|
341
|
-
diff: (date?: string | number | Date | import("dayjs").Dayjs, unit?: "
|
|
341
|
+
diff: (date?: string | number | Date | import("dayjs").Dayjs, unit?: "s" | "date" | "D" | "M" | "y" | "week" | "month" | "quarter" | "year" | "day" | "hour" | "minute" | "second" | "millisecond" | "milliseconds" | "seconds" | "minutes" | "hours" | "days" | "months" | "years" | "dates" | "d" | "h" | "m" | "ms" | "weeks" | "w" | "quarters" | "Q", float?: boolean) => number;
|
|
342
342
|
valueOf: () => number;
|
|
343
343
|
unix: () => number;
|
|
344
344
|
daysInMonth: () => number;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare const EVENT_BUS = "EVENT_BUS";
|
|
2
|
-
export declare const GLOBAL_CONFIG = "GLOBAL_CONFIG";
|
|
3
|
-
export declare const GLOBAL_MODEL = "GLOBAL_MODEL";
|
|
4
|
-
export declare const REQUEST_MODEL = "REQUEST_MODEL";
|
|
5
|
-
export declare const UPLOAD_PATH: any;
|
|
6
|
-
export declare const BASE_URL: any;
|
|
7
|
-
export declare const INDICATOR_URL: any;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export * from './usePickComponentStyle';
|
|
2
|
-
export * from './usePickEchartsData';
|
|
3
|
-
export * from './useOnEvent';
|
|
4
|
-
export * from './useEmitEvent';
|
|
5
|
-
export * from './useTransformChartDataByAttrValue';
|
|
6
|
-
export * from './useRequestData';
|
|
7
|
-
export * from './useTransformChartDataByAttrKey';
|
|
8
|
-
export * from './useImagePath';
|
|
9
|
-
export * from './usePageUrl';
|
|
10
|
-
export * from './useVariablesInText';
|
|
11
|
-
export * from './useRequestDiagramData';
|
|
12
|
-
export * from './useValueFormatter';
|
|
13
|
-
export * from './useTooltipFormatter';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { HTMLAttributes } from 'vue';
|
|
2
|
-
/**
|
|
3
|
-
* 过滤不是 style 属性的组件属性
|
|
4
|
-
* @param props 组件属性
|
|
5
|
-
* @param excludeStyleList 剔除组件的属性
|
|
6
|
-
* @returns style属性
|
|
7
|
-
*/
|
|
8
|
-
export declare const usePickComponentStyle: <T>(props: Readonly<Partial<T>>, excludeStyleList?: string[]) => import("vue").ComputedRef<HTMLAttributes>;
|
|
9
|
-
export default usePickComponentStyle;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Data, KeyTypeDataFieldNames } from '../props';
|
|
2
|
-
/**
|
|
3
|
-
* 图形转化数据
|
|
4
|
-
* @param data 数据
|
|
5
|
-
* @param dataFieldNames 字段映射
|
|
6
|
-
*/
|
|
7
|
-
export declare const useTransformChartDataByAttrKey: (data: Data, dataFieldNames: KeyTypeDataFieldNames) => {
|
|
8
|
-
dimensions: unknown[];
|
|
9
|
-
dataset: {
|
|
10
|
-
[key: string]: any;
|
|
11
|
-
}[];
|
|
12
|
-
};
|
|
13
|
-
export default useTransformChartDataByAttrKey;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Data, ValueTypeDataFieldNames } from '../props';
|
|
2
|
-
/**
|
|
3
|
-
* 图形转化数据
|
|
4
|
-
* @param data 数据
|
|
5
|
-
* @param dataFieldNames 字段映射
|
|
6
|
-
*/
|
|
7
|
-
export declare const useTransformChartDataByAttrValue: (data: Data, dataFieldNames?: ValueTypeDataFieldNames) => {
|
|
8
|
-
dimensions: unknown[];
|
|
9
|
-
dataset: {
|
|
10
|
-
[key: string]: any;
|
|
11
|
-
}[];
|
|
12
|
-
};
|
|
13
|
-
export default useTransformChartDataByAttrValue;
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
interface Event {
|
|
2
|
-
on: string;
|
|
3
|
-
target: string;
|
|
4
|
-
emit: string;
|
|
5
|
-
}
|
|
6
|
-
export declare type Events = Event[];
|
|
7
|
-
export declare type RequestMethod = 'get' | 'post' | 'put' | 'delete' | 'head';
|
|
8
|
-
export interface RequestParam {
|
|
9
|
-
key: string;
|
|
10
|
-
value: {
|
|
11
|
-
id: string;
|
|
12
|
-
prop: string;
|
|
13
|
-
} | string;
|
|
14
|
-
}
|
|
15
|
-
export declare type RequestParams = RequestParam[];
|
|
16
|
-
export interface Props {
|
|
17
|
-
id: string;
|
|
18
|
-
name: string;
|
|
19
|
-
keyName: string;
|
|
20
|
-
type: string;
|
|
21
|
-
width: string;
|
|
22
|
-
height: string;
|
|
23
|
-
position: string;
|
|
24
|
-
top: string;
|
|
25
|
-
left: string;
|
|
26
|
-
zIndex: number;
|
|
27
|
-
rotate: string;
|
|
28
|
-
isShow: boolean;
|
|
29
|
-
isRender: boolean;
|
|
30
|
-
events: Events;
|
|
31
|
-
requestUrl: string;
|
|
32
|
-
requestMethod: RequestMethod;
|
|
33
|
-
requestHeaders: {
|
|
34
|
-
[key: string]: any;
|
|
35
|
-
};
|
|
36
|
-
isOpenRequestTimer: boolean;
|
|
37
|
-
requestInterval: number;
|
|
38
|
-
requestParams: RequestParams;
|
|
39
|
-
requestSort: number;
|
|
40
|
-
dataType: 'static' | 'request' | 'indicator';
|
|
41
|
-
}
|
|
42
|
-
export declare const props: Props;
|
|
43
|
-
export declare const transformToComponentProps: <T extends {}>(props: T) => { [P in keyof T]: {
|
|
44
|
-
type?: undefined;
|
|
45
|
-
default?: undefined;
|
|
46
|
-
} | {
|
|
47
|
-
type: any;
|
|
48
|
-
default: T[keyof T];
|
|
49
|
-
}; };
|
|
50
|
-
export interface EventsProp {
|
|
51
|
-
events: Events;
|
|
52
|
-
}
|
|
53
|
-
interface DataItem {
|
|
54
|
-
name: string | number;
|
|
55
|
-
value: string | number;
|
|
56
|
-
type?: string;
|
|
57
|
-
}
|
|
58
|
-
export declare type Data = DataItem[];
|
|
59
|
-
export interface KeyTypeDataFieldNames {
|
|
60
|
-
name: string;
|
|
61
|
-
types: {
|
|
62
|
-
label: string;
|
|
63
|
-
value: string;
|
|
64
|
-
}[];
|
|
65
|
-
}
|
|
66
|
-
export interface ValueTypeDataFieldNames {
|
|
67
|
-
name: string;
|
|
68
|
-
value: string;
|
|
69
|
-
type: string;
|
|
70
|
-
}
|
|
71
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export declare const handleAxisLabelFormatter: (formatter: string) => string;
|
|
2
|
-
/**
|
|
3
|
-
* 处理图表format, 目前只做 \\n => \n 转化
|
|
4
|
-
* @param formatter 格式化字符串
|
|
5
|
-
*/
|
|
6
|
-
export declare const handleFormatter: (formatter: string) => string;
|
|
7
|
-
/**
|
|
8
|
-
* 格式化金额
|
|
9
|
-
* @param value 数值
|
|
10
|
-
* @param decimalPlaces 格式化位数
|
|
11
|
-
*/
|
|
12
|
-
export declare const formatMoney: (value: string | number, decimalPlaces?: number) => string | number;
|
|
13
|
-
export declare const formatPercentage: (value: string | number, decimalPlaces?: number) => string | number;
|
|
14
|
-
/**
|
|
15
|
-
* 字符串1 中是否包含 字符串2 (会全部转成小写)
|
|
16
|
-
* @param v1 字符串1
|
|
17
|
-
* @param v2 字符串2
|
|
18
|
-
* @constructor
|
|
19
|
-
*/
|
|
20
|
-
export declare const lowerCaseIncludes: (v1: any, v2: any) => boolean;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Plugin } from 'vue';
|
|
2
|
-
export declare type SFCWithInstall<T> = T & Plugin;
|
|
3
|
-
export declare const withInstall: <T, E extends Record<string, any>>(main: T, extra?: E) => SFCWithInstall<T> & E;
|
|
4
|
-
export declare const withInstallFunction: <T>(fn: T, name: string) => SFCWithInstall<T>;
|
|
5
|
-
export declare const withNoopInstall: <T>(component: T) => SFCWithInstall<T>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
|
-
import { EChartsType, Option } from '../types';
|
|
3
|
-
declare const METHOD_NAMES: readonly ["getWidth", "getHeight", "getDom", "getOption", "resize", "dispatchAction", "convertToPixel", "convertFromPixel", "containPixel", "getDataURL", "getConnectedDataURL", "appendData", "clear", "isDisposed", "dispose"];
|
|
4
|
-
declare type MethodName = typeof METHOD_NAMES[number];
|
|
5
|
-
declare type PublicMethods = Pick<EChartsType, MethodName>;
|
|
6
|
-
export declare function usePublicAPI(chart: Ref<EChartsType | undefined>, init: (option?: Option) => void): PublicMethods;
|
|
7
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
|
-
import { EChartsType } from '../types';
|
|
3
|
-
export declare function useAutoresize(chart: Ref<EChartsType | undefined>, autoresize: Ref<boolean>, root: Ref<HTMLElement | undefined>): void;
|
|
4
|
-
export declare const autoresizeProps: {
|
|
5
|
-
autoresize: BooleanConstructor;
|
|
6
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
|
-
import { EChartsType } from '../types';
|
|
3
|
-
export declare const LOADING_OPTIONS_KEY = "ecLoadingOptions";
|
|
4
|
-
declare type UnknownRecord = Record<string, unknown>;
|
|
5
|
-
export declare function useLoading(chart: Ref<EChartsType | undefined>, loading: Ref<boolean>, loadingOptions: Ref<UnknownRecord | undefined>): void;
|
|
6
|
-
export declare const loadingProps: {
|
|
7
|
-
loading: BooleanConstructor;
|
|
8
|
-
loadingOptions: ObjectConstructor;
|
|
9
|
-
};
|
|
10
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { init } from 'echarts/core';
|
|
2
|
-
import { Ref } from 'vue';
|
|
3
|
-
declare type InitType = typeof init;
|
|
4
|
-
export declare type InitParameters = Parameters<InitType>;
|
|
5
|
-
export declare type Theme = NonNullable<InitParameters[1]>;
|
|
6
|
-
export declare type ThemeInjection = Theme | null | Ref<Theme | null>;
|
|
7
|
-
export declare type InitOptions = NonNullable<InitParameters[2]>;
|
|
8
|
-
export declare type InitOptionsInjection = InitOptions | null | Ref<InitOptions | null>;
|
|
9
|
-
export declare type EChartsType = ReturnType<InitType>;
|
|
10
|
-
declare type SetOptionType = EChartsType['setOption'];
|
|
11
|
-
export declare type Option = Parameters<SetOptionType>[0];
|
|
12
|
-
export interface UpdateOptions {
|
|
13
|
-
notMerge?: boolean;
|
|
14
|
-
lazyUpdate?: boolean;
|
|
15
|
-
silent?: boolean;
|
|
16
|
-
replaceMerge?: any;
|
|
17
|
-
transition?: any;
|
|
18
|
-
}
|
|
19
|
-
export declare type UpdateOptionsInjection = UpdateOptions | null | Ref<UpdateOptions | null>;
|
|
20
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
-
spinning: {
|
|
3
|
-
type: BooleanConstructor;
|
|
4
|
-
default: boolean;
|
|
5
|
-
};
|
|
6
|
-
}, {
|
|
7
|
-
indicator: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
8
|
-
[key: string]: any;
|
|
9
|
-
}>;
|
|
10
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
-
spinning: {
|
|
12
|
-
type: BooleanConstructor;
|
|
13
|
-
default: boolean;
|
|
14
|
-
};
|
|
15
|
-
}>>, {
|
|
16
|
-
spinning: boolean;
|
|
17
|
-
}>;
|
|
18
|
-
export default _sfc_main;
|
package/dist/src/components.d.ts
DELETED