@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.
Files changed (121) hide show
  1. package/dist/index.es.js +3 -4
  2. package/dist/index.es.js.map +1 -1
  3. package/dist/index.umd.js +3 -4
  4. package/dist/index.umd.js.map +1 -1
  5. package/dist/style.css +1 -1
  6. package/package.json +2 -2
  7. package/types/container/modal/Modal.vue.d.ts +2 -2
  8. package/types/container/modal/index.d.ts +2 -2
  9. package/types/control/range-picker/RangePicker.vue.d.ts +2 -2
  10. package/types/control/range-picker/index.d.ts +2 -2
  11. package/dist/src/_utils/constant.d.ts +0 -7
  12. package/dist/src/_utils/hooks/index.d.ts +0 -13
  13. package/dist/src/_utils/hooks/useDownloadFile.d.ts +0 -2
  14. package/dist/src/_utils/hooks/useEmitEvent.d.ts +0 -7
  15. package/dist/src/_utils/hooks/useImagePath.d.ts +0 -2
  16. package/dist/src/_utils/hooks/useOnEvent.d.ts +0 -6
  17. package/dist/src/_utils/hooks/usePageUrl.d.ts +0 -2
  18. package/dist/src/_utils/hooks/usePickComponentStyle.d.ts +0 -9
  19. package/dist/src/_utils/hooks/usePickEchartsData.d.ts +0 -2
  20. package/dist/src/_utils/hooks/useRequestData.d.ts +0 -6
  21. package/dist/src/_utils/hooks/useRequestDiagramData.d.ts +0 -6
  22. package/dist/src/_utils/hooks/useTooltipFormatter.d.ts +0 -4
  23. package/dist/src/_utils/hooks/useTransformChartDataByAttrKey.d.ts +0 -13
  24. package/dist/src/_utils/hooks/useTransformChartDataByAttrValue.d.ts +0 -13
  25. package/dist/src/_utils/hooks/useValueFormatter.d.ts +0 -2
  26. package/dist/src/_utils/hooks/useVariablesInText.d.ts +0 -4
  27. package/dist/src/_utils/props.d.ts +0 -71
  28. package/dist/src/_utils/request.d.ts +0 -2
  29. package/dist/src/_utils/util.d.ts +0 -20
  30. package/dist/src/_utils/withInstall.d.ts +0 -5
  31. package/dist/src/common/echarts/composables/api.d.ts +0 -7
  32. package/dist/src/common/echarts/composables/autoresize.d.ts +0 -6
  33. package/dist/src/common/echarts/composables/index.d.ts +0 -3
  34. package/dist/src/common/echarts/composables/loading.d.ts +0 -10
  35. package/dist/src/common/echarts/index.d.ts +0 -2
  36. package/dist/src/common/echarts/types.d.ts +0 -20
  37. package/dist/src/common/echarts/utils.d.ts +0 -6
  38. package/dist/src/common/index.d.ts +0 -3
  39. package/dist/src/common/spin/Spin.vue.d.ts +0 -18
  40. package/dist/src/common/spin/index.d.ts +0 -2
  41. package/dist/src/components.d.ts +0 -9
  42. package/dist/src/container/border/Border.vue.d.ts +0 -494
  43. package/dist/src/container/border/index.d.ts +0 -494
  44. package/dist/src/container/border/props.d.ts +0 -255
  45. package/dist/src/container/index.d.ts +0 -2
  46. package/dist/src/container/modal/Modal.vue.d.ts +0 -505
  47. package/dist/src/container/modal/index.d.ts +0 -506
  48. package/dist/src/container/modal/props.d.ts +0 -179
  49. package/dist/src/control/button/Button.vue.d.ts +0 -404
  50. package/dist/src/control/button/index.d.ts +0 -404
  51. package/dist/src/control/button/props.d.ts +0 -205
  52. package/dist/src/control/date-picker/DatePicker.vue.d.ts +0 -480
  53. package/dist/src/control/date-picker/index.d.ts +0 -479
  54. package/dist/src/control/date-picker/props.d.ts +0 -245
  55. package/dist/src/control/index.d.ts +0 -6
  56. package/dist/src/control/input/Input.vue.d.ts +0 -438
  57. package/dist/src/control/input/index.d.ts +0 -439
  58. package/dist/src/control/input/props.d.ts +0 -224
  59. package/dist/src/control/range-picker/RangePicker.vue.d.ts +0 -596
  60. package/dist/src/control/range-picker/index.d.ts +0 -595
  61. package/dist/src/control/range-picker/props.d.ts +0 -245
  62. package/dist/src/control/select/Select.vue.d.ts +0 -613
  63. package/dist/src/control/select/index.d.ts +0 -613
  64. package/dist/src/control/select/props.d.ts +0 -321
  65. package/dist/src/control/tabs/Tabs.vue.d.ts +0 -447
  66. package/dist/src/control/tabs/index.d.ts +0 -448
  67. package/dist/src/control/tabs/props.d.ts +0 -235
  68. package/dist/src/graph/bar/Bar.vue.d.ts +0 -1963
  69. package/dist/src/graph/bar/index.d.ts +0 -1963
  70. package/dist/src/graph/bar/props.d.ts +0 -954
  71. package/dist/src/graph/combo-graph/ComboGraph.vue.d.ts +0 -853
  72. package/dist/src/graph/combo-graph/index.d.ts +0 -854
  73. package/dist/src/graph/combo-graph/props.d.ts +0 -429
  74. package/dist/src/graph/custom-graph/CustomGraph.vue.d.ts +0 -537
  75. package/dist/src/graph/custom-graph/index.d.ts +0 -537
  76. package/dist/src/graph/custom-graph/props.d.ts +0 -274
  77. package/dist/src/graph/index.d.ts +0 -6
  78. package/dist/src/graph/line/Line.vue.d.ts +0 -818
  79. package/dist/src/graph/line/index.d.ts +0 -819
  80. package/dist/src/graph/line/props.d.ts +0 -409
  81. package/dist/src/graph/pie/Pie.vue.d.ts +0 -894
  82. package/dist/src/graph/pie/index.d.ts +0 -895
  83. package/dist/src/graph/pie/props.d.ts +0 -461
  84. package/dist/src/graph/scatter/Scatter.vue.d.ts +0 -794
  85. package/dist/src/graph/scatter/index.d.ts +0 -795
  86. package/dist/src/graph/scatter/props.d.ts +0 -396
  87. package/dist/src/index.d.ts +0 -6
  88. package/dist/src/map/index.d.ts +0 -1
  89. package/dist/src/map/map/Map.vue.d.ts +0 -1699
  90. package/dist/src/map/map/index.d.ts +0 -1700
  91. package/dist/src/map/map/props.d.ts +0 -829
  92. package/dist/src/media/image/Image.vue.d.ts +0 -476
  93. package/dist/src/media/image/index.d.ts +0 -477
  94. package/dist/src/media/image/props.d.ts +0 -244
  95. package/dist/src/media/index.d.ts +0 -1
  96. package/dist/src/setting/index.d.ts +0 -2
  97. package/dist/src/setting/page-config/PageConfig.vue.d.ts +0 -112
  98. package/dist/src/setting/page-config/index.d.ts +0 -113
  99. package/dist/src/setting/page-config/props.d.ts +0 -61
  100. package/dist/src/setting/provider-config/ProviderConfig.vue.d.ts +0 -48
  101. package/dist/src/setting/provider-config/index.d.ts +0 -49
  102. package/dist/src/setting/provider-config/props.d.ts +0 -29
  103. package/dist/src/table/index.d.ts +0 -1
  104. package/dist/src/table/table/Table.vue.d.ts +0 -552
  105. package/dist/src/table/table/index.d.ts +0 -553
  106. package/dist/src/table/table/props.d.ts +0 -285
  107. package/dist/src/text/index.d.ts +0 -5
  108. package/dist/src/text/list/List.vue.d.ts +0 -849
  109. package/dist/src/text/list/index.d.ts +0 -849
  110. package/dist/src/text/list/props.d.ts +0 -441
  111. package/dist/src/text/proportion/Proportion.vue.d.ts +0 -760
  112. package/dist/src/text/proportion/index.d.ts +0 -760
  113. package/dist/src/text/proportion/props.d.ts +0 -395
  114. package/dist/src/text/scroll-text/ScrollText.vue.d.ts +0 -4
  115. package/dist/src/text/scroll-text/index.d.ts +0 -4
  116. package/dist/src/text/text/Text.vue.d.ts +0 -736
  117. package/dist/src/text/text/index.d.ts +0 -736
  118. package/dist/src/text/text/props.d.ts +0 -383
  119. package/dist/src/text/time-display/TimeDisplay.vue.d.ts +0 -547
  120. package/dist/src/text/time-display/index.d.ts +0 -548
  121. 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-e8bb9c3c] {
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.38",
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 build",
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" | "none" | "text" | "url" | "tel" | "email" | "numeric" | "decimal";
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'?: "all" | "text" | "additions" | "additions text" | "removals";
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" | "none" | "text" | "url" | "tel" | "email" | "numeric" | "decimal";
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'?: "all" | "text" | "additions" | "additions text" | "removals";
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?: "y" | "s" | "date" | "D" | "M" | "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;
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?: "y" | "s" | "date" | "D" | "M" | "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;
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?: "y" | "s" | "date" | "D" | "M" | "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;
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?: "y" | "s" | "date" | "D" | "M" | "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;
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,2 +0,0 @@
1
- export declare const useDownloadFile: (downloadFileUrl: string) => Promise<void>;
2
- export default useDownloadFile;
@@ -1,7 +0,0 @@
1
- import { Events } from '../props';
2
- /**
3
- * 触发事件
4
- * @param events 事件数据
5
- */
6
- export declare const useEmitEvent: (events: Events) => (on: string, callback?: Function) => () => void;
7
- export default useEmitEvent;
@@ -1,2 +0,0 @@
1
- export declare const useImagePath: (path: string, isFormat?: boolean) => string;
2
- export default useImagePath;
@@ -1,6 +0,0 @@
1
- export declare const useOnEvent: <T extends {
2
- [id: string]: any;
3
- }>(props: Readonly<Partial<T>>, events: {
4
- [key: string]: any;
5
- }) => void;
6
- export default useOnEvent;
@@ -1,2 +0,0 @@
1
- export declare const usePageUrl: (pageMode: string, pageId: string) => string;
2
- export default usePageUrl;
@@ -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,2 +0,0 @@
1
- export declare const usePickEchartsData: (data?: any) => any;
2
- export default usePickEchartsData;
@@ -1,6 +0,0 @@
1
- export declare const useRequestData: (props: {
2
- [key: string]: any;
3
- }, callBack?: Function) => (params?: {
4
- [key: string]: any;
5
- }) => Promise<import("axios").AxiosResponse<any, any>>;
6
- export default useRequestData;
@@ -1,6 +0,0 @@
1
- /**
2
- * 请求图表数据接口
3
- * @returns {{requestDiagram: () => Promise<AxiosResponse<any>>}}
4
- */
5
- export declare const useRequestDiagramData: (props: any) => () => Promise<import("axios").AxiosResponse<any, any>>;
6
- export default useRequestDiagramData;
@@ -1,4 +0,0 @@
1
- export declare const useTooltipFormatter: (formatter: string, data?: {
2
- [key: string]: any;
3
- }) => (param: any) => string;
4
- export default useTooltipFormatter;
@@ -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,2 +0,0 @@
1
- export declare const useValueFormatter: (formatter: string, value: any) => string;
2
- export default useValueFormatter;
@@ -1,4 +0,0 @@
1
- export declare const useVariablesInText: (text: string, data?: {
2
- [key: string]: any;
3
- }) => string;
4
- export default useVariablesInText;
@@ -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,2 +0,0 @@
1
- export declare const request: import("axios").AxiosInstance;
2
- export default request;
@@ -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,3 +0,0 @@
1
- export * from './api';
2
- export * from './autoresize';
3
- export * from './loading';
@@ -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,2 +0,0 @@
1
- import ECharts from './ECharts';
2
- export default ECharts;
@@ -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,6 +0,0 @@
1
- declare type Attrs = {
2
- [key: string]: any;
3
- };
4
- export declare const isOn: (key: string) => boolean;
5
- export declare function omitOn(attrs: Attrs): Attrs;
6
- export {};
@@ -1,3 +0,0 @@
1
- export * from './echarts';
2
- export * from './spin';
3
- export * from './Skeleton';
@@ -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;
@@ -1,2 +0,0 @@
1
- import Spin from './Spin.vue';
2
- export default Spin;
@@ -1,9 +0,0 @@
1
- export * from './common';
2
- export * from './setting';
3
- export * from './text';
4
- export * from './control';
5
- export * from './graph';
6
- export * from './container';
7
- export * from './media';
8
- export * from './table';
9
- export * from './map';