@topdatasec/report 1.0.8 → 1.0.10

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 (138) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +218 -0
  3. package/lib/index.d.ts +5 -8
  4. package/{es/bar/Bar.d.ts → lib/report/components/Bar.vue.d.ts} +2 -2
  5. package/{es/pie/Pie.d.ts → lib/report/components/Line.vue.d.ts} +2 -2
  6. package/{es/line/Line.d.ts → lib/report/components/Pie.vue.d.ts} +2 -2
  7. package/{es/time/Time.d.ts → lib/report/components/RangeTime.vue.d.ts} +3 -3
  8. package/lib/report/components/Report.vue.d.ts +18 -0
  9. package/{es/table/Table.d.ts → lib/report/components/ReportChart.vue.d.ts} +2 -2
  10. package/lib/report/components/ReportDescribe.vue.d.ts +5 -0
  11. package/{es/select/Select.d.ts → lib/report/components/ReportSelect.vue.d.ts} +3 -3
  12. package/lib/report/components/ReportTable.vue.d.ts +5 -0
  13. package/lib/report/components/ReportText.vue.d.ts +5 -0
  14. package/lib/report/components/SettingTable.vue.d.ts +2 -0
  15. package/lib/report/components/editor/components/Setting.vue.d.ts +2 -0
  16. package/lib/report/components/editor/index.vue.d.ts +24 -0
  17. package/{es/settingFilter/settingFilter.d.ts → lib/report/components/preview/Catalogue.vue.d.ts} +5 -3
  18. package/lib/report/components/preview/index.vue.d.ts +24 -0
  19. package/lib/report/index.d.ts +5 -8
  20. package/lib/report/index.vue.d.ts +2 -0
  21. package/lib/stores/interface/index.d.ts +1 -0
  22. package/lib/stores/modules/report.d.ts +10 -9
  23. package/lib/style.css +1 -0
  24. package/lib/tds-report-ui.es.js +26431 -0
  25. package/lib/tds-report-ui.umd.js +205 -0
  26. package/lib/utils/api.d.ts +6 -0
  27. package/lib/utils/chartsOption.d.ts +45 -12
  28. package/lib/utils/index.d.ts +1 -41
  29. package/lib/withInstall.d.ts +4 -0
  30. package/package.json +69 -88
  31. package/README.zh-CN.md +0 -0
  32. package/dist/index.iife.js +0 -1
  33. package/dist/index.js +0 -919
  34. package/dist/index.umd.cjs +0 -1
  35. package/dist/style.css +0 -1
  36. package/es/_virtual/_plugin-vue_export-helper.js +0 -9
  37. package/es/bar/Bar.vue.js +0 -20
  38. package/es/bar/Bar.vue2.js +0 -4
  39. package/es/bar/index.d.ts +0 -15
  40. package/es/bar/index.js +0 -6
  41. package/es/components.d.ts +0 -4
  42. package/es/components.js +0 -8
  43. package/es/config/Config.css +0 -1
  44. package/es/config/Config.vue.js +0 -7
  45. package/es/config/Config.vue2.js +0 -207
  46. package/es/config/index.d.ts +0 -14
  47. package/es/config/index.js +0 -6
  48. package/es/index.d.ts +0 -10
  49. package/es/index.js +0 -38
  50. package/es/line/Line.vue.js +0 -20
  51. package/es/line/Line.vue2.js +0 -4
  52. package/es/line/index.d.ts +0 -15
  53. package/es/line/index.js +0 -6
  54. package/es/pie/index.d.ts +0 -15
  55. package/es/report/Report.d.ts +0 -7
  56. package/es/report/index.d.ts +0 -17
  57. package/es/select/index.d.ts +0 -25
  58. package/es/settingCharts/SettingCharts.d.ts +0 -5
  59. package/es/settingCharts/index.d.ts +0 -14
  60. package/es/settingFilter/index.d.ts +0 -15
  61. package/es/settingTable/index.d.ts +0 -14
  62. package/es/settingText/index.d.ts +0 -15
  63. package/es/settingText/settingText.d.ts +0 -5
  64. package/es/settingTitle/index.d.ts +0 -14
  65. package/es/stores/interface/index.d.ts +0 -18
  66. package/es/stores/modules/report.d.ts +0 -35
  67. package/es/stores/modules/report.js +0 -45
  68. package/es/style/global.css +0 -1
  69. package/es/table/index.d.ts +0 -15
  70. package/es/text/Text.d.ts +0 -5
  71. package/es/text/index.d.ts +0 -15
  72. package/es/time/index.d.ts +0 -25
  73. package/es/utils/api.d.ts +0 -12
  74. package/es/utils/api.js +0 -9
  75. package/es/utils/chartsOption.d.ts +0 -298
  76. package/es/utils/chartsOption.js +0 -187
  77. package/es/utils/data.d.ts +0 -4
  78. package/es/utils/data.js +0 -101
  79. package/es/utils/index.d.ts +0 -43
  80. package/es/utils/index.js +0 -309
  81. package/es/utils/resolver.d.ts +0 -11
  82. package/es/utils/resolver.js +0 -36
  83. package/es/utils/type.d.ts +0 -2
  84. package/es/utils/type.js +0 -9
  85. package/lib/_virtual/_plugin-vue_export-helper.cjs +0 -1
  86. package/lib/bar/Bar.d.ts +0 -5
  87. package/lib/bar/Bar.vue.cjs +0 -1
  88. package/lib/bar/Bar.vue2.cjs +0 -1
  89. package/lib/bar/index.cjs +0 -1
  90. package/lib/bar/index.d.ts +0 -15
  91. package/lib/components.cjs +0 -1
  92. package/lib/components.d.ts +0 -4
  93. package/lib/config/Config.css +0 -1
  94. package/lib/config/Config.vue.cjs +0 -1
  95. package/lib/config/Config.vue2.cjs +0 -1
  96. package/lib/config/index.cjs +0 -1
  97. package/lib/config/index.d.ts +0 -14
  98. package/lib/index.cjs +0 -1
  99. package/lib/line/Line.d.ts +0 -5
  100. package/lib/line/Line.vue.cjs +0 -1
  101. package/lib/line/Line.vue2.cjs +0 -1
  102. package/lib/line/index.cjs +0 -1
  103. package/lib/line/index.d.ts +0 -15
  104. package/lib/pie/Pie.d.ts +0 -5
  105. package/lib/pie/index.d.ts +0 -15
  106. package/lib/report/Report.d.ts +0 -7
  107. package/lib/select/Select.d.ts +0 -9
  108. package/lib/select/index.d.ts +0 -25
  109. package/lib/settingCharts/SettingCharts.d.ts +0 -5
  110. package/lib/settingCharts/index.d.ts +0 -14
  111. package/lib/settingFilter/index.d.ts +0 -15
  112. package/lib/settingFilter/settingFilter.d.ts +0 -5
  113. package/lib/settingTable/index.d.ts +0 -14
  114. package/lib/settingText/index.d.ts +0 -15
  115. package/lib/settingText/settingText.d.ts +0 -5
  116. package/lib/settingTitle/index.d.ts +0 -14
  117. package/lib/stores/modules/report.cjs +0 -1
  118. package/lib/style/global.css +0 -1
  119. package/lib/table/Table.d.ts +0 -5
  120. package/lib/table/index.d.ts +0 -15
  121. package/lib/text/Text.d.ts +0 -5
  122. package/lib/text/index.d.ts +0 -15
  123. package/lib/time/Time.d.ts +0 -9
  124. package/lib/time/index.d.ts +0 -25
  125. package/lib/utils/api.cjs +0 -1
  126. package/lib/utils/chartsOption.cjs +0 -1
  127. package/lib/utils/data.cjs +0 -1
  128. package/lib/utils/index.cjs +0 -1
  129. package/lib/utils/resolver.cjs +0 -1
  130. package/lib/utils/resolver.d.ts +0 -11
  131. package/lib/utils/type.cjs +0 -1
  132. package/lib/utils/type.d.ts +0 -2
  133. /package/{es/config/Config.d.ts → lib/report/components/ChartsUniConfig.vue.d.ts} +0 -0
  134. /package/{es/settingTable/SettingTable.d.ts → lib/report/components/SettingCharts.vue.d.ts} +0 -0
  135. /package/lib/{settingTable/SettingTable.d.ts → report/components/SettingDescribe.vue.d.ts} +0 -0
  136. /package/{es/settingTitle/settingTitle.d.ts → lib/report/components/SettingFilter.vue.d.ts} +0 -0
  137. /package/lib/{config/Config.d.ts → report/components/SettingText.vue.d.ts} +0 -0
  138. /package/lib/{settingTitle/settingTitle.d.ts → report/components/SettingTitle.vue.d.ts} +0 -0
@@ -1,5 +0,0 @@
1
- export type Props = {
2
- prodType: number | string;
3
- };
4
- declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
5
- export default _default;
@@ -1,14 +0,0 @@
1
- declare const _default: {
2
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
3
- P: {};
4
- B: {};
5
- D: {};
6
- C: {};
7
- M: {};
8
- Defaults: {};
9
- }, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
10
- __isFragment?: never;
11
- __isTeleport?: never;
12
- __isSuspense?: never;
13
- } & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
14
- export default _default;
@@ -1,18 +0,0 @@
1
- export interface ContentType {
2
- type: string;
3
- id: string;
4
- name?: string;
5
- hide?: boolean;
6
- active?: boolean;
7
- showColumn?: any;
8
- data: any;
9
- options?: any;
10
- rp_item_uuid?: string;
11
- }
12
- export interface ReportState {
13
- componentList: ContentType[];
14
- activeComponents: any;
15
- notDraggableList: ContentType[];
16
- filterForm?: any;
17
- titleComponent: any;
18
- }
@@ -1,35 +0,0 @@
1
- import { ReportState, ContentType } from '../interface';
2
- export declare const useReportStore: import('pinia').StoreDefinition<"tds-report", ReportState, {
3
- getActiveComponents: (state: {
4
- componentList: {
5
- type: string;
6
- id: string;
7
- name?: string | undefined;
8
- hide?: boolean | undefined;
9
- active?: boolean | undefined;
10
- showColumn?: any;
11
- data: any;
12
- options?: any;
13
- rp_item_uuid?: string | undefined;
14
- }[];
15
- activeComponents: any;
16
- notDraggableList: {
17
- type: string;
18
- id: string;
19
- name?: string | undefined;
20
- hide?: boolean | undefined;
21
- active?: boolean | undefined;
22
- showColumn?: any;
23
- data: any;
24
- options?: any;
25
- rp_item_uuid?: string | undefined;
26
- }[];
27
- filterForm?: any;
28
- titleComponent: any;
29
- } & import('pinia').PiniaCustomStateProperties<ReportState>) => any;
30
- }, {
31
- setComponentList(list: ContentType[]): void;
32
- getReportDemo(reportId?: string): Promise<void>;
33
- setActiveComponents(item: any): void;
34
- clearComponents(): void;
35
- }>;
@@ -1,45 +0,0 @@
1
- import { defineStore as n } from "pinia";
2
- import { getReportDemoApi as r } from "../../utils/api.js";
3
- import { deepClone as s, getUniId as p } from "../../utils/index.js";
4
- import { normalValue as a } from "../../utils/data.js";
5
- const f = n("tds-report", {
6
- state: () => ({
7
- componentList: [],
8
- activeComponents: {},
9
- notDraggableList: [],
10
- titleComponent: {},
11
- filterForm: {
12
- range_time: 1,
13
- filter_uuid: ""
14
- }
15
- }),
16
- getters: {
17
- getActiveComponents: (t) => t.activeComponents
18
- },
19
- actions: {
20
- // setComponentList
21
- setComponentList(t) {
22
- this.componentList = t;
23
- },
24
- async getReportDemo(t) {
25
- let e = [];
26
- t ? e = (await r({ report_uuid: t })).data : e = { content: s(a), range_time: 1 };
27
- const i = [];
28
- e.content.forEach((o) => {
29
- (o.type === "report-select" || o.type === "range-time") && i.push(o), o.type === "h1" && (this.titleComponent = o), o.id = p();
30
- }), this.notDraggableList = i, this.filterForm.range_time = e.range_time, this.filterForm.filter_uuid = e.filter_uuid, e.content.splice(0, 3), this.componentList = e.content;
31
- },
32
- setActiveComponents(t) {
33
- this.activeComponents = t;
34
- },
35
- clearComponents() {
36
- this.activeComponents = {}, this.componentList = [], this.notDraggableList = [], this.titleComponent = {}, this.filterForm = {
37
- range_time: 1,
38
- filter_uuid: ""
39
- };
40
- }
41
- }
42
- });
43
- export {
44
- f as useReportStore
45
- };
@@ -1 +0,0 @@
1
- *,*:before,*:after{box-sizing:border-box;margin:0;padding:0;caret-color:transparent}:root{--primary-color: #1677ff;--primary-color-hover: #4096ff}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}input,textarea{caret-color:auto}a{color:var(--primary-color);text-decoration:none;background-color:transparent;-webkit-tap-highlight-color:transparent;outline:none;cursor:pointer;transition:color .3s ease}a:hover{color:var(--primary-color-hover)}
@@ -1,15 +0,0 @@
1
- export type { Props } from './Table';
2
- declare const _default: {
3
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./Table').Props> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
4
- P: {};
5
- B: {};
6
- D: {};
7
- C: {};
8
- M: {};
9
- Defaults: {};
10
- }, Readonly<import('./Table').Props> & Readonly<{}>, {}, {}, {}, {}, {}>;
11
- __isFragment?: never;
12
- __isTeleport?: never;
13
- __isSuspense?: never;
14
- } & import('vue').ComponentOptionsBase<Readonly<import('./Table').Props> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
15
- export default _default;
package/es/text/Text.d.ts DELETED
@@ -1,5 +0,0 @@
1
- export type Props = {
2
- data: any;
3
- };
4
- declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
5
- export default _default;
@@ -1,15 +0,0 @@
1
- export type { Props } from './Text';
2
- declare const _default: {
3
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./Text').Props> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
4
- P: {};
5
- B: {};
6
- D: {};
7
- C: {};
8
- M: {};
9
- Defaults: {};
10
- }, Readonly<import('./Text').Props> & Readonly<{}>, {}, {}, {}, {}, {}>;
11
- __isFragment?: never;
12
- __isTeleport?: never;
13
- __isSuspense?: never;
14
- } & import('vue').ComponentOptionsBase<Readonly<import('./Text').Props> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
15
- export default _default;
@@ -1,25 +0,0 @@
1
- export type { Props } from './Time';
2
- declare const _default: {
3
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./Time').Props> & Readonly<{
4
- onChange?: ((...args: any[]) => any) | undefined;
5
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
- change: (...args: any[]) => void;
7
- }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
8
- P: {};
9
- B: {};
10
- D: {};
11
- C: {};
12
- M: {};
13
- Defaults: {};
14
- }, Readonly<import('./Time').Props> & Readonly<{
15
- onChange?: ((...args: any[]) => any) | undefined;
16
- }>, {}, {}, {}, {}, {}>;
17
- __isFragment?: never;
18
- __isTeleport?: never;
19
- __isSuspense?: never;
20
- } & import('vue').ComponentOptionsBase<Readonly<import('./Time').Props> & Readonly<{
21
- onChange?: ((...args: any[]) => any) | undefined;
22
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
23
- change: (...args: any[]) => void;
24
- }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
25
- export default _default;
package/es/utils/api.d.ts DELETED
@@ -1,12 +0,0 @@
1
- export declare const getReportDemoApi: (params: any) => any;
2
- export declare const getReportItemApi: (params: any) => any;
3
- export declare const getReportPreviewApi: (params: any) => any;
4
- export declare const postReportAddApi: (data: any) => any;
5
- export declare const putReportApi: (data: any) => any;
6
- export declare const getReportListApi: (params: any) => any;
7
- export declare const getReportFilterApi: (params: any) => any;
8
- export declare const deleteReportApi: (data: any) => any;
9
- export declare const getReportComponentsListApi: (params: any) => any;
10
- export declare const deleteReportComponentsApi: (data: any) => any;
11
- export declare const addReportComponentsApi: (data: any) => any;
12
- export declare const putReportComponentsApi: (data: any) => any;
package/es/utils/api.js DELETED
@@ -1,9 +0,0 @@
1
- const e = window.$envURL, o = (t) => e.request({
2
- url: `${e}/tds/report/demo/get`,
3
- method: "get",
4
- params: t,
5
- isError: !1
6
- });
7
- export {
8
- o as getReportDemoApi
9
- };
@@ -1,298 +0,0 @@
1
- export declare const barParseData: (chartOption: any, data: any[], name?: string, props?: {
2
- name: string;
3
- value: string;
4
- }) => void;
5
- export declare const chartsBar: (data?: any, props?: {
6
- name: string;
7
- value: string;
8
- }) => {
9
- tooltip: {
10
- trigger: string;
11
- };
12
- grid: any;
13
- title: {
14
- show: boolean;
15
- text: string;
16
- textStyle: {
17
- color: string;
18
- fontSize: number;
19
- };
20
- x: number;
21
- y: number;
22
- };
23
- xAxis: {
24
- type: string;
25
- nameGap: number;
26
- nameRotate: number;
27
- axisLabel: {
28
- color: string;
29
- rotate: number;
30
- };
31
- axisLine: {
32
- show: boolean;
33
- lineStyle: {
34
- color: string;
35
- width: number;
36
- };
37
- };
38
- axisTick: {
39
- show: boolean;
40
- };
41
- splitLine: {
42
- show: boolean;
43
- };
44
- data: any;
45
- }[];
46
- yAxis: {
47
- type: string;
48
- min: number;
49
- position: string;
50
- nameTextStyle: {
51
- fontSize: number;
52
- color: string;
53
- fontWeight: string;
54
- };
55
- axisLine: {
56
- show: boolean;
57
- };
58
- axisTick: {
59
- show: boolean;
60
- };
61
- splitLine: {
62
- show: boolean;
63
- };
64
- axisLabel: {
65
- color: string;
66
- formatter: string;
67
- inside: boolean;
68
- };
69
- }[];
70
- series: ({
71
- type: string;
72
- barWidth: number;
73
- barGap: string;
74
- itemStyle: {
75
- color: {
76
- type: string;
77
- x: number;
78
- y: number;
79
- x2: number;
80
- y2: number;
81
- colorStops: {
82
- offset: number;
83
- color: string;
84
- }[];
85
- };
86
- };
87
- data: any;
88
- label: {
89
- show: boolean;
90
- position: string;
91
- color: string;
92
- lineHeight: number;
93
- };
94
- name?: undefined;
95
- symbolSize?: undefined;
96
- symbolOffset?: undefined;
97
- symbolPosition?: undefined;
98
- } | {
99
- name: string;
100
- type: string;
101
- symbolSize: number[];
102
- symbolOffset: number[];
103
- itemStyle: {
104
- color: {
105
- type: string;
106
- x: number;
107
- y: number;
108
- x2: number;
109
- y2: number;
110
- colorStops: {
111
- offset: number;
112
- color: string;
113
- }[];
114
- };
115
- };
116
- data: any;
117
- barWidth?: undefined;
118
- barGap?: undefined;
119
- label?: undefined;
120
- symbolPosition?: undefined;
121
- } | {
122
- name: string;
123
- type: string;
124
- symbolSize: number[];
125
- symbolOffset: number[];
126
- symbolPosition: string;
127
- itemStyle: {
128
- color: {
129
- type: string;
130
- x: number;
131
- y: number;
132
- x2: number;
133
- y2: number;
134
- colorStops: {
135
- offset: number;
136
- color: string;
137
- }[];
138
- };
139
- };
140
- data: any;
141
- barWidth?: undefined;
142
- barGap?: undefined;
143
- label?: undefined;
144
- })[];
145
- };
146
- export declare const barHorizontalParseData: (chartOption: any, data: any[], props?: {
147
- name: string;
148
- value: string;
149
- }) => void;
150
- export declare const horizontalSeriesData: (val: number[]) => any;
151
- export declare const horizontalMaxData: (val: number[]) => number[];
152
- export declare const chartsHorizontalBar: (data: any, props?: {
153
- name: string;
154
- value: string;
155
- }) => any;
156
- export declare const pieParseData: ({ chartOption, data, props }: any) => void;
157
- export declare const chartsPie: ({ data, radiusType, roseType, isLegend, isLine, center, isTitle }: any) => {
158
- color: string[];
159
- toolbox: {
160
- show: boolean;
161
- };
162
- tooltip: {
163
- trigger: string;
164
- show: boolean;
165
- formatter: (params: any) => string;
166
- };
167
- title: {
168
- show: any;
169
- text: string;
170
- textStyle: {
171
- color: string;
172
- fontSize: number;
173
- };
174
- x: number;
175
- y: number;
176
- };
177
- legend: {
178
- show: any;
179
- left: string;
180
- formatter: (name: any) => string;
181
- textStyle: {
182
- fontSize: number;
183
- color: string;
184
- };
185
- data: any;
186
- orient: string;
187
- itemWidth: number;
188
- itemHeight: number;
189
- borderRadius: number;
190
- x: string;
191
- top: string;
192
- align: string;
193
- itemGap: number;
194
- };
195
- series: {
196
- type: string;
197
- center: any;
198
- radius: string[];
199
- roseType: any;
200
- itemStyle: {
201
- borderRadius: number;
202
- };
203
- label: {
204
- show: any;
205
- position: string;
206
- alignTo: string;
207
- backgroundColor: string;
208
- height: number;
209
- width: number;
210
- lineHeight: number;
211
- distanceToLabelLine: number;
212
- borderRadius: number;
213
- borderWidth: number;
214
- borderColor: string;
215
- padding: number[];
216
- formatter: (params: any) => string;
217
- rich: {
218
- a: {
219
- padding: number[];
220
- fontSize: string;
221
- fontFamily: string;
222
- color: string;
223
- };
224
- b: {
225
- padding: number[];
226
- fontSize: string;
227
- fontFamily: string;
228
- fontWeight: string;
229
- color: string;
230
- };
231
- };
232
- };
233
- labelLine: {
234
- show: boolean;
235
- length: number;
236
- length2: number;
237
- align: string;
238
- lineStyle: {
239
- width: number;
240
- };
241
- };
242
- data: any;
243
- }[];
244
- graphic: {
245
- invisible: boolean;
246
- type: string;
247
- left: string;
248
- top: string;
249
- style: {
250
- text: string;
251
- fontSize: number;
252
- fill: string;
253
- fontWeight: string;
254
- };
255
- }[];
256
- };
257
- export declare const lineParseData: (chartOption: any, data: any, props?: {
258
- name: string;
259
- value: any;
260
- }) => void;
261
- export declare const lineMode: () => {
262
- name: string;
263
- type: string;
264
- symbol: string;
265
- smooth: boolean;
266
- lineStyle: {
267
- width: number;
268
- color: string;
269
- };
270
- showSymbol: boolean;
271
- itemStyle: {
272
- color: string;
273
- label: {
274
- show: boolean;
275
- position: string;
276
- formatter: (res: any) => any;
277
- };
278
- };
279
- areaStyle: {
280
- color: {
281
- type: string;
282
- x: number;
283
- y: number;
284
- x2: number;
285
- y2: number;
286
- colorStops: {
287
- offset: number;
288
- color: string;
289
- }[];
290
- global: boolean;
291
- };
292
- };
293
- data: never[];
294
- };
295
- export declare const chartsLine: (data?: any[], props?: {
296
- name: string;
297
- value: any;
298
- }) => any;