@covalent/echarts 10.4.0-beta.3 → 11.0.0-beta.2

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 (122) hide show
  1. package/bar/index.d.ts +82 -3
  2. package/base/index.d.ts +603 -3
  3. package/clustering/index.d.ts +117 -3
  4. package/fesm2022/covalent-echarts-bar.mjs +1 -1
  5. package/fesm2022/covalent-echarts-bar.mjs.map +1 -1
  6. package/fesm2022/covalent-echarts-base.mjs +1 -1
  7. package/fesm2022/covalent-echarts-base.mjs.map +1 -1
  8. package/fesm2022/covalent-echarts-clustering.mjs +1 -1
  9. package/fesm2022/covalent-echarts-clustering.mjs.map +1 -1
  10. package/fesm2022/covalent-echarts-graph.mjs +1 -1
  11. package/fesm2022/covalent-echarts-graph.mjs.map +1 -1
  12. package/fesm2022/covalent-echarts-histogram.mjs +1 -1
  13. package/fesm2022/covalent-echarts-histogram.mjs.map +1 -1
  14. package/fesm2022/covalent-echarts-line.mjs +1 -1
  15. package/fesm2022/covalent-echarts-line.mjs.map +1 -1
  16. package/fesm2022/covalent-echarts-map.mjs +1 -1
  17. package/fesm2022/covalent-echarts-map.mjs.map +1 -1
  18. package/fesm2022/covalent-echarts-pie.mjs +1 -1
  19. package/fesm2022/covalent-echarts-pie.mjs.map +1 -1
  20. package/fesm2022/covalent-echarts-regression.mjs +1 -1
  21. package/fesm2022/covalent-echarts-regression.mjs.map +1 -1
  22. package/fesm2022/covalent-echarts-sankey.mjs +1 -1
  23. package/fesm2022/covalent-echarts-sankey.mjs.map +1 -1
  24. package/fesm2022/covalent-echarts-scatter.mjs +1 -1
  25. package/fesm2022/covalent-echarts-scatter.mjs.map +1 -1
  26. package/fesm2022/covalent-echarts-toolbox.mjs +1 -1
  27. package/fesm2022/covalent-echarts-toolbox.mjs.map +1 -1
  28. package/fesm2022/covalent-echarts-tooltip.mjs +1 -1
  29. package/fesm2022/covalent-echarts-tooltip.mjs.map +1 -1
  30. package/fesm2022/covalent-echarts-tree.mjs +1 -1
  31. package/fesm2022/covalent-echarts-tree.mjs.map +1 -1
  32. package/fesm2022/covalent-echarts-treemap.mjs +1 -1
  33. package/fesm2022/covalent-echarts-treemap.mjs.map +1 -1
  34. package/fesm2022/covalent-echarts-wordcloud.mjs +1 -1
  35. package/fesm2022/covalent-echarts-wordcloud.mjs.map +1 -1
  36. package/fesm2022/covalent-echarts.mjs.map +1 -1
  37. package/graph/index.d.ts +143 -3
  38. package/histogram/index.d.ts +32 -3
  39. package/index.d.ts +2 -5
  40. package/line/index.d.ts +100 -3
  41. package/map/index.d.ts +89 -3
  42. package/package.json +4 -4
  43. package/pie/index.d.ts +78 -3
  44. package/regression/index.d.ts +35 -3
  45. package/sankey/index.d.ts +79 -3
  46. package/scatter/index.d.ts +90 -3
  47. package/toolbox/index.d.ts +155 -3
  48. package/tooltip/index.d.ts +94 -3
  49. package/tree/index.d.ts +96 -3
  50. package/treemap/index.d.ts +147 -3
  51. package/wordcloud/index.d.ts +69 -3
  52. package/bar/bar.component.d.ts +0 -68
  53. package/bar/bar.module.d.ts +0 -13
  54. package/bar/public_api.d.ts +0 -2
  55. package/base/axis/axis.component.d.ts +0 -48
  56. package/base/axis/axis.interface.d.ts +0 -157
  57. package/base/axis/x-axis.component.d.ts +0 -10
  58. package/base/axis/y-axis.component.d.ts +0 -10
  59. package/base/base.module.d.ts +0 -16
  60. package/base/base.types.d.ts +0 -141
  61. package/base/chart-options.service.d.ts +0 -17
  62. package/base/chart.component.d.ts +0 -60
  63. package/base/dataset/dataset.component.d.ts +0 -19
  64. package/base/public_api.d.ts +0 -12
  65. package/base/series/series.component.d.ts +0 -44
  66. package/base/series/series.interface.d.ts +0 -84
  67. package/base/themes/aqua-splash.d.ts +0 -459
  68. package/base/themes/california-coast.d.ts +0 -459
  69. package/base/themes/hawaiian-sunrise.d.ts +0 -459
  70. package/base/themes/passion-flower.d.ts +0 -459
  71. package/base/themes/razzleberry-pie.d.ts +0 -459
  72. package/base/themes/teradata-classic.d.ts +0 -459
  73. package/base/themes/teradata-default.d.ts +0 -459
  74. package/base/themes/urban-sunrise.d.ts +0 -459
  75. package/base/themes/volcanic-eruption.d.ts +0 -459
  76. package/base/utils/assign-defined.d.ts +0 -1
  77. package/base/utils/echarts.d.ts +0 -15
  78. package/base/utils/index.d.ts +0 -2
  79. package/clustering/clustering.component.d.ts +0 -104
  80. package/clustering/clustering.module.d.ts +0 -13
  81. package/clustering/public_api.d.ts +0 -2
  82. package/graph/graph.component.d.ts +0 -129
  83. package/graph/graph.module.d.ts +0 -13
  84. package/graph/public_api.d.ts +0 -2
  85. package/histogram/histogram.component.d.ts +0 -19
  86. package/histogram/histogram.module.d.ts +0 -13
  87. package/histogram/public_api.d.ts +0 -2
  88. package/line/line.component.d.ts +0 -86
  89. package/line/line.module.d.ts +0 -13
  90. package/line/public_api.d.ts +0 -2
  91. package/map/map.component.d.ts +0 -75
  92. package/map/map.module.d.ts +0 -13
  93. package/map/public_api.d.ts +0 -2
  94. package/pie/pie.component.d.ts +0 -64
  95. package/pie/pie.module.d.ts +0 -13
  96. package/pie/public_api.d.ts +0 -2
  97. package/public_api.d.ts +0 -1
  98. package/regression/public_api.d.ts +0 -2
  99. package/regression/regression.component.d.ts +0 -22
  100. package/regression/regression.module.d.ts +0 -13
  101. package/sankey/public_api.d.ts +0 -2
  102. package/sankey/sankey.component.d.ts +0 -65
  103. package/sankey/sankey.module.d.ts +0 -13
  104. package/scatter/public_api.d.ts +0 -2
  105. package/scatter/scatter.component.d.ts +0 -76
  106. package/scatter/scatter.module.d.ts +0 -13
  107. package/toolbox/public_api.d.ts +0 -2
  108. package/toolbox/toolbox.component.d.ts +0 -142
  109. package/toolbox/toolbox.module.d.ts +0 -13
  110. package/tooltip/public_api.d.ts +0 -3
  111. package/tooltip/series-tooltip.component.d.ts +0 -36
  112. package/tooltip/tooltip.component.d.ts +0 -49
  113. package/tooltip/tooltip.module.d.ts +0 -14
  114. package/tree/public_api.d.ts +0 -2
  115. package/tree/tree.component.d.ts +0 -83
  116. package/tree/tree.module.d.ts +0 -13
  117. package/treemap/public_api.d.ts +0 -2
  118. package/treemap/treemap.component.d.ts +0 -134
  119. package/treemap/treemap.module.d.ts +0 -13
  120. package/wordcloud/public_api.d.ts +0 -2
  121. package/wordcloud/wordcloud.component.d.ts +0 -55
  122. package/wordcloud/wordcloud.module.d.ts +0 -13
package/base/index.d.ts CHANGED
@@ -1,5 +1,605 @@
1
+ import * as i0 from '@angular/core';
2
+ import { AfterViewInit, OnChanges, OnDestroy, EventEmitter, ChangeDetectorRef, ElementRef, SimpleChanges, OnInit, Type } from '@angular/core';
3
+ import { Observable } from 'rxjs';
4
+
5
+ declare class TdChartOptionsService {
6
+ private _options;
7
+ private _optionsSubject;
8
+ setOption(option: string, value: any): void;
9
+ setArrayOption(option: string, value: any): any;
10
+ removeArrayOption(option: string, value: any): any;
11
+ getOption(option: string): any[];
12
+ clearOption(option: string): void;
13
+ listen(): Observable<any>;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<TdChartOptionsService, never>;
15
+ static ɵprov: i0.ɵɵInjectableDeclaration<TdChartOptionsService>;
16
+ }
17
+
18
+ declare class TdChartComponent implements AfterViewInit, OnChanges, OnDestroy {
19
+ private _changeDetectorRef;
20
+ private _elementRef;
21
+ private _optionsService;
22
+ private _destroy;
23
+ private _widthSubject;
24
+ private _heightSubject;
25
+ private _instance;
26
+ /**
27
+ * returns the echarts instance
28
+ */
29
+ get instance(): any;
30
+ private _state;
31
+ private _options;
32
+ /**
33
+ * config?: any;
34
+ * Sets the JS config object if you choose to not use the property inputs.
35
+ * Note: [config] input properties will override input values
36
+ * https://ecomfe.github.io/echarts-doc/public/en/option.html
37
+ */
38
+ config?: any;
39
+ /**
40
+ * group?: string
41
+ * group name in which the chart instance will be connected to
42
+ * https://ecomfe.github.io/echarts-doc/public/en/api.html#echarts.connect
43
+ */
44
+ group?: string;
45
+ /**
46
+ * themeName?: string
47
+ * theme to be applied into chart instance
48
+ * https://ecomfe.github.io/echarts-doc/public/en/tutorial.html#Overview%20of%20Style%20Customization
49
+ */
50
+ themeName?: string | null;
51
+ /**
52
+ * renderer: 'svg' | 'canvas'
53
+ * sets the rendering mode for the chart.
54
+ * defaults to 'canvas'
55
+ * https://ecomfe.github.io/echarts-doc/public/en/tutorial.html#Render%20by%20Canvas%20or%20SVG
56
+ */
57
+ renderer: 'canvas' | 'svg';
58
+ chartClick: EventEmitter<any>;
59
+ chartDblclick: EventEmitter<any>;
60
+ chartContextmenu: EventEmitter<any>;
61
+ magicTypeChanged: EventEmitter<any>;
62
+ dataViewChanged: EventEmitter<any>;
63
+ datazoom: EventEmitter<any>;
64
+ restore: EventEmitter<any>;
65
+ constructor(_changeDetectorRef: ChangeDetectorRef, _elementRef: ElementRef, _optionsService: TdChartOptionsService);
66
+ ngAfterViewInit(): void;
67
+ ngOnChanges(changes: SimpleChanges): void;
68
+ ngOnDestroy(): void;
69
+ render(): void;
70
+ private _initializeChart;
71
+ private _disposeChart;
72
+ static ɵfac: i0.ɵɵFactoryDeclaration<TdChartComponent, never>;
73
+ static ɵcmp: i0.ɵɵComponentDeclaration<TdChartComponent, "td-chart", never, { "config": { "alias": "config"; "required": false; }; "group": { "alias": "group"; "required": false; }; "themeName": { "alias": "themeName"; "required": false; }; "renderer": { "alias": "renderer"; "required": false; }; }, { "chartClick": "chartClick"; "chartDblclick": "chartDblclick"; "chartContextmenu": "chartContextmenu"; "magicTypeChanged": "magicTypeChanged"; "dataViewChanged": "dataViewChanged"; "datazoom": "datazoom"; "restore": "restore"; }, never, never, true, never>;
74
+ }
75
+
76
+ interface ITdShadow {
77
+ shadowBlur?: number;
78
+ shadowColor?: any;
79
+ shadowOffsetX?: number;
80
+ shadowOffsetY?: number;
81
+ }
82
+ interface ITdLineStyle extends ITdShadow {
83
+ color?: any;
84
+ width?: number;
85
+ type?: TdLineType;
86
+ opacity?: number;
87
+ }
88
+ interface ITdLineCurveStyle extends ITdLineStyle {
89
+ curveness?: number;
90
+ emphasis?: ITdLineStyle;
91
+ }
92
+ interface ITdAnimation {
93
+ animation?: boolean;
94
+ animationThreshold?: number;
95
+ animationDuration?: number | Function;
96
+ animationEasing?: string;
97
+ animationDelay?: number | Function;
98
+ animationDurationUpdate?: number | Function;
99
+ animationEasingUpdate?: string;
100
+ animationDelayUpdate?: number | Function;
101
+ }
102
+ interface ITdTextShadow {
103
+ textShadowColor?: string;
104
+ textShadowBlur?: number;
105
+ textShadowOffsetX?: number;
106
+ textShadowOffsetY?: number;
107
+ }
108
+ interface ITdFont {
109
+ fontStyle?: TdFontStyle;
110
+ fontWeight?: TdFontWeight;
111
+ fontFamily?: string;
112
+ fontSize?: number;
113
+ }
114
+ interface ITdTooltip {
115
+ show?: boolean;
116
+ trigger?: TdTooltipTrigger;
117
+ axisPointer?: ITdTooltipAxisPointer;
118
+ showContent?: boolean;
119
+ alwaysShowContent?: boolean;
120
+ triggerOn?: TdTooltipTriggerOn;
121
+ showDelay?: number;
122
+ hideDelay?: number;
123
+ enterable?: boolean;
124
+ renderMode?: 'html' | 'richText';
125
+ confine?: boolean;
126
+ transitionDuration?: number;
127
+ position?: string | any[] | Function;
128
+ formatter?: string | Function;
129
+ backgroundColor?: string;
130
+ borderColor?: string;
131
+ borderWidth?: number;
132
+ padding?: number;
133
+ textStyle?: ITdTextStyle;
134
+ extraCssText?: string;
135
+ }
136
+ interface ITdTooltipAxisPointer {
137
+ type?: TdAxisPointerType;
138
+ axis?: TdAxisPointerAxis;
139
+ snap?: boolean;
140
+ z?: number;
141
+ label?: ITdAxisPointerLabel;
142
+ lineStyle?: ITdLineStyle;
143
+ shadowStyle?: ITdBaseStyle;
144
+ crossStyle?: ITdLineStyle;
145
+ }
146
+ interface ITdBaseStyle extends ITdShadow {
147
+ color?: any;
148
+ opacity?: number;
149
+ }
150
+ interface ITdTextStyle extends ITdTextShadow, ITdFont {
151
+ color?: string | object;
152
+ lineHeight?: number;
153
+ width?: number | string;
154
+ height?: number | string;
155
+ textBorderColor?: string;
156
+ textBorderWidth?: number;
157
+ rich?: object;
158
+ }
159
+ interface ITdEdgeLabel extends ITdShadow, ITdTextShadow, ITdFont {
160
+ show?: boolean;
161
+ position?: TdLabelPosition;
162
+ rotate?: number;
163
+ offset?: number[];
164
+ formatter?: any | Function;
165
+ color?: any;
166
+ align?: TdAlign;
167
+ verticalAlign?: TdVerticalAlign;
168
+ lineHeight?: number;
169
+ backgroundColor?: string | object;
170
+ borderColor?: string;
171
+ borderWidth?: number;
172
+ borderRadius?: number;
173
+ padding?: number;
174
+ width?: number | string;
175
+ height?: number | string;
176
+ textBorderColor?: string;
177
+ textBorderWidth?: number;
178
+ rich?: any;
179
+ }
180
+ interface ITdLabel extends ITdEdgeLabel, ITdShadow, ITdTextShadow, ITdFont {
181
+ distance?: number;
182
+ }
183
+ interface ITdAxisPointerLabel extends ITdShadow, ITdTextShadow, ITdFont {
184
+ show?: boolean;
185
+ precision?: string | number;
186
+ formatter?: string | Function;
187
+ margin?: number;
188
+ color?: any;
189
+ lineHeight?: number;
190
+ width?: number | string;
191
+ height?: number | string;
192
+ textBorderColor?: string;
193
+ textBorderWidth?: number;
194
+ padding?: number | number[];
195
+ backgroundColor?: string;
196
+ borderColor?: string;
197
+ borderWidth?: number;
198
+ }
199
+ type TdAxisPointerAxis = 'x' | 'y' | 'radius' | 'angle';
200
+ type TdTooltipTrigger = 'item' | 'axis' | 'none';
201
+ type TdTooltipTriggerOn = 'mousemove' | 'click' | 'none' | 'mousemove|click';
202
+ type TdAxisPointerType = 'line' | 'shadow' | 'cross';
203
+ type TdLabelPosition = 'top' | 'left' | 'right' | 'bottom' | 'inside' | 'insideLeft' | 'insideRight' | 'insideTop' | 'insideBottom' | 'insideTopLeft' | 'insideBottomLeft' | 'insideTopRight' | 'insideBottomRight' | string[];
204
+ type TdTextPosition = 'left' | 'right' | 'top' | 'bottom';
205
+ type TdAlign = 'left' | 'center' | 'right';
206
+ type TdTextAlign = 'left' | 'right';
207
+ type TdLineType = 'solid' | 'dashed' | 'dotted';
208
+ type TdAreaOrigin = 'auto' | 'start' | 'end';
209
+ type TdLineLabelPosition = 'middle' | 'start' | 'end';
210
+ type TdTooltipPosition = 'inside' | 'top' | 'left' | 'right' | 'bottom' | string[] | number[] | Function;
211
+ type TdFontWeight = 'normal' | 'bold' | 'bolder' | 'lighter' | number;
212
+ type TdVerticalAlign = 'top' | 'middle' | 'bottom' | 'center';
213
+ type TdPointerType = 'line' | 'shadow';
214
+ type TdFontStyle = 'normal' | 'italic' | 'oblique';
215
+ type TdStatus = 'show' | 'hide';
216
+ type TdMarkPointSymbol = 'circle' | 'rect' | 'roundRect' | 'triangle' | 'diamond' | 'pin' | 'arrow' | 'none';
217
+
218
+ interface ITdNameTextStyle extends ITdShadow, ITdTextShadow, ITdFont {
219
+ color?: string | any;
220
+ align?: TdAlign;
221
+ verticalAlign?: TdVerticalAlign;
222
+ lineHeight?: number;
223
+ backgroundColor?: string | any;
224
+ borderColor?: string;
225
+ borderWidth?: number;
226
+ borderRadius?: number;
227
+ padding?: number | number[];
228
+ width?: number | string;
229
+ height?: number | string;
230
+ textBorderColor?: string;
231
+ textBorderWidth?: number;
232
+ /**
233
+ * used to define rish text styles
234
+ * https://ecomfe.github.io/echarts-doc/public/en/tutorial.html#Rich%20Text
235
+ */
236
+ rich: any;
237
+ }
238
+ interface ITdAxisLine {
239
+ show: boolean;
240
+ onZero?: boolean;
241
+ onZeroAxisIndex?: number;
242
+ symbol?: 'none' | 'arrow' | string[];
243
+ symbolSize?: number[];
244
+ symbolOffset?: number | number[];
245
+ lineStyle?: ITdLineStyle;
246
+ }
247
+ interface ITdAxisTick {
248
+ show?: boolean;
249
+ alignWithLabel?: boolean;
250
+ interval?: number | Function;
251
+ inside?: boolean;
252
+ length?: number;
253
+ lineStyle?: ITdLineStyle;
254
+ }
255
+ interface ITdAxisLabel extends ITdShadow, ITdTextShadow, ITdFont {
256
+ show?: boolean;
257
+ interval?: number | Function;
258
+ inside?: boolean;
259
+ rotate?: number;
260
+ margin?: number;
261
+ formatter?: string | Function;
262
+ showMinLabel?: boolean;
263
+ showMaxLabel?: boolean;
264
+ color?: string | Function;
265
+ align?: TdAlign;
266
+ verticalAlign?: TdVerticalAlign;
267
+ lineHeight?: number;
268
+ backgroundColor?: string | object;
269
+ borderColor?: string | object;
270
+ borderWidth?: number;
271
+ borderRadius?: number;
272
+ padding?: number;
273
+ width?: number | string;
274
+ height?: number | string;
275
+ textBorderColor?: string | object;
276
+ textBorderWidth?: number;
277
+ }
278
+ interface ITdSplitLine {
279
+ type?: TdLineType;
280
+ show?: boolean;
281
+ interval?: any;
282
+ lineStyle?: ITdLineStyle;
283
+ }
284
+ interface ITdSplitArea {
285
+ show?: boolean;
286
+ interval?: any;
287
+ areaStyle?: ITdBaseStyle;
288
+ }
289
+ interface ITdAxisPointer {
290
+ show?: boolean;
291
+ type?: TdPointerType;
292
+ snap?: boolean;
293
+ z?: number;
294
+ label?: ITdAxisPointerLabel;
295
+ lineStyle?: ITdLineStyle;
296
+ shadowStyle?: ITdBaseStyle;
297
+ triggerTooltip?: boolean;
298
+ value?: number;
299
+ status?: TdStatus;
300
+ handle?: any;
301
+ }
302
+ interface ITdXAxisConfig {
303
+ id?: string;
304
+ show?: boolean;
305
+ gridIndex?: number;
306
+ position?: TdXAxisPosition;
307
+ offset?: number;
308
+ type?: TdAxisType;
309
+ name?: string;
310
+ nameLocation?: TdNameLocation;
311
+ nameTextStyle?: ITdTextStyle;
312
+ nameGap?: number;
313
+ nameRotate?: number;
314
+ inverse?: boolean;
315
+ boundaryGap?: boolean | any[];
316
+ min?: number | string | Function;
317
+ max?: number | string;
318
+ scale?: boolean;
319
+ splitNumber?: number;
320
+ minInterval?: number;
321
+ maxInterval?: number;
322
+ interval?: number;
323
+ logBase?: number;
324
+ silent?: false;
325
+ triggerEvent?: boolean;
326
+ axisLine?: ITdAxisLine;
327
+ axisTick?: ITdAxisTick;
328
+ axisLabel?: ITdAxisLabel;
329
+ splitLine?: ITdSplitLine;
330
+ splitArea?: ITdSplitArea;
331
+ data?: any[];
332
+ axisPointer?: ITdAxisPointer;
333
+ zlevel?: number;
334
+ z?: number;
335
+ }
336
+ interface ITdYAxisConfig {
337
+ id?: string;
338
+ show?: boolean;
339
+ gridIndex?: number;
340
+ position?: TdYAxisPosition;
341
+ offset?: number;
342
+ type?: TdAxisType;
343
+ name?: string;
344
+ nameLocation?: TdNameLocation;
345
+ nameTextStyle?: ITdTextStyle;
346
+ nameGap?: number;
347
+ nameRotate?: number;
348
+ inverse?: boolean;
349
+ boundaryGap?: boolean | any[];
350
+ min?: number | string | Function;
351
+ max?: number | string;
352
+ scale?: boolean;
353
+ splitNumber?: number;
354
+ minInterval?: number;
355
+ maxInterval?: number;
356
+ interval?: number;
357
+ logBase?: number;
358
+ silent?: false;
359
+ triggerEvent?: boolean;
360
+ axisLine?: ITdAxisLine;
361
+ axisTick?: ITdAxisTick;
362
+ axisLabel?: ITdAxisLabel;
363
+ splitLine?: ITdSplitLine;
364
+ splitArea?: ITdSplitArea;
365
+ data?: any[];
366
+ axisPointer?: ITdAxisPointer;
367
+ zlevel?: number;
368
+ z?: number;
369
+ }
370
+ type TdNameLocation = 'start' | 'middle' | 'center' | 'end';
371
+ type TdAxisType = 'value' | 'category' | 'time' | 'log';
372
+ type TdYAxisPosition = 'left' | 'right';
373
+ type TdXAxisPosition = 'top' | 'bottom';
374
+
375
+ declare abstract class TdChartAxisDirective implements OnChanges, OnInit, OnDestroy {
376
+ private _axisOption;
377
+ private _optionsService;
378
+ private _state;
379
+ config: any;
380
+ id?: string;
381
+ show?: boolean;
382
+ gridIndex?: number;
383
+ offset?: number;
384
+ abstract position: TdXAxisPosition | TdYAxisPosition;
385
+ type?: TdAxisType;
386
+ name?: string;
387
+ nameLocation?: TdNameLocation;
388
+ nameTextStyle?: any;
389
+ nameGap?: number;
390
+ nameRotate?: number;
391
+ inverse?: boolean;
392
+ boundaryGap?: boolean | string[];
393
+ min?: string | number;
394
+ max?: string | number;
395
+ scale?: boolean;
396
+ minInterval?: number;
397
+ interval?: number;
398
+ logBase?: number;
399
+ silent?: boolean;
400
+ triggerEvent?: boolean;
401
+ axisLine?: ITdAxisLine;
402
+ axisTick?: ITdAxisTick;
403
+ axisLabel?: ITdAxisLabel;
404
+ splitLine?: ITdSplitLine;
405
+ splitArea?: ITdSplitArea;
406
+ data?: any;
407
+ axisPointer?: ITdAxisPointer;
408
+ zlevel?: number;
409
+ z?: number;
410
+ constructor(_axisOption: string, _optionsService: TdChartOptionsService);
411
+ ngOnInit(): void;
412
+ ngOnChanges(): void;
413
+ ngOnDestroy(): void;
414
+ private _setOptions;
415
+ private _removeOption;
416
+ static ɵfac: i0.ɵɵFactoryDeclaration<TdChartAxisDirective, never>;
417
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TdChartAxisDirective, never, never, { "config": { "alias": "config"; "required": false; }; "id": { "alias": "id"; "required": false; }; "show": { "alias": "show"; "required": false; }; "gridIndex": { "alias": "gridIndex"; "required": false; }; "offset": { "alias": "offset"; "required": false; }; "type": { "alias": "type"; "required": false; }; "name": { "alias": "name"; "required": false; }; "nameLocation": { "alias": "nameLocation"; "required": false; }; "nameTextStyle": { "alias": "nameTextStyle"; "required": false; }; "nameGap": { "alias": "nameGap"; "required": false; }; "nameRotate": { "alias": "nameRotate"; "required": false; }; "inverse": { "alias": "inverse"; "required": false; }; "boundaryGap": { "alias": "boundaryGap"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "scale": { "alias": "scale"; "required": false; }; "minInterval": { "alias": "minInterval"; "required": false; }; "interval": { "alias": "interval"; "required": false; }; "logBase": { "alias": "logBase"; "required": false; }; "silent": { "alias": "silent"; "required": false; }; "triggerEvent": { "alias": "triggerEvent"; "required": false; }; "axisLine": { "alias": "axisLine"; "required": false; }; "axisTick": { "alias": "axisTick"; "required": false; }; "axisLabel": { "alias": "axisLabel"; "required": false; }; "splitLine": { "alias": "splitLine"; "required": false; }; "splitArea": { "alias": "splitArea"; "required": false; }; "data": { "alias": "data"; "required": false; }; "axisPointer": { "alias": "axisPointer"; "required": false; }; "zlevel": { "alias": "zlevel"; "required": false; }; "z": { "alias": "z"; "required": false; }; }, {}, never, never, true, never>;
418
+ }
419
+
420
+ declare class TdChartXAxisComponent extends TdChartAxisDirective {
421
+ position: TdXAxisPosition;
422
+ constructor(_optionsService: TdChartOptionsService);
423
+ static ɵfac: i0.ɵɵFactoryDeclaration<TdChartXAxisComponent, never>;
424
+ static ɵcmp: i0.ɵɵComponentDeclaration<TdChartXAxisComponent, "td-chart-x-axis", never, { "config": { "alias": "config"; "required": false; }; "id": { "alias": "id"; "required": false; }; "show": { "alias": "show"; "required": false; }; "gridIndex": { "alias": "gridIndex"; "required": false; }; "offset": { "alias": "offset"; "required": false; }; "type": { "alias": "type"; "required": false; }; "name": { "alias": "name"; "required": false; }; "nameLocation": { "alias": "nameLocation"; "required": false; }; "nameTextStyle": { "alias": "nameTextStyle"; "required": false; }; "nameGap": { "alias": "nameGap"; "required": false; }; "nameRotate": { "alias": "nameRotate"; "required": false; }; "inverse": { "alias": "inverse"; "required": false; }; "boundaryGap": { "alias": "boundaryGap"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "scale": { "alias": "scale"; "required": false; }; "minInterval": { "alias": "minInterval"; "required": false; }; "interval": { "alias": "interval"; "required": false; }; "logBase": { "alias": "logBase"; "required": false; }; "silent": { "alias": "silent"; "required": false; }; "triggerEvent": { "alias": "triggerEvent"; "required": false; }; "axisLine": { "alias": "axisLine"; "required": false; }; "axisTick": { "alias": "axisTick"; "required": false; }; "axisLabel": { "alias": "axisLabel"; "required": false; }; "splitLine": { "alias": "splitLine"; "required": false; }; "splitArea": { "alias": "splitArea"; "required": false; }; "data": { "alias": "data"; "required": false; }; "axisPointer": { "alias": "axisPointer"; "required": false; }; "zlevel": { "alias": "zlevel"; "required": false; }; "z": { "alias": "z"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, {}, never, never, true, never>;
425
+ }
426
+
427
+ declare class TdChartYAxisComponent extends TdChartAxisDirective {
428
+ position: TdYAxisPosition;
429
+ constructor(_optionsService: TdChartOptionsService);
430
+ static ɵfac: i0.ɵɵFactoryDeclaration<TdChartYAxisComponent, never>;
431
+ static ɵcmp: i0.ɵɵComponentDeclaration<TdChartYAxisComponent, "td-chart-y-axis", never, { "config": { "alias": "config"; "required": false; }; "id": { "alias": "id"; "required": false; }; "show": { "alias": "show"; "required": false; }; "gridIndex": { "alias": "gridIndex"; "required": false; }; "offset": { "alias": "offset"; "required": false; }; "type": { "alias": "type"; "required": false; }; "name": { "alias": "name"; "required": false; }; "nameLocation": { "alias": "nameLocation"; "required": false; }; "nameTextStyle": { "alias": "nameTextStyle"; "required": false; }; "nameGap": { "alias": "nameGap"; "required": false; }; "nameRotate": { "alias": "nameRotate"; "required": false; }; "inverse": { "alias": "inverse"; "required": false; }; "boundaryGap": { "alias": "boundaryGap"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "scale": { "alias": "scale"; "required": false; }; "minInterval": { "alias": "minInterval"; "required": false; }; "interval": { "alias": "interval"; "required": false; }; "logBase": { "alias": "logBase"; "required": false; }; "silent": { "alias": "silent"; "required": false; }; "triggerEvent": { "alias": "triggerEvent"; "required": false; }; "axisLine": { "alias": "axisLine"; "required": false; }; "axisTick": { "alias": "axisTick"; "required": false; }; "axisLabel": { "alias": "axisLabel"; "required": false; }; "splitLine": { "alias": "splitLine"; "required": false; }; "splitArea": { "alias": "splitArea"; "required": false; }; "data": { "alias": "data"; "required": false; }; "axisPointer": { "alias": "axisPointer"; "required": false; }; "zlevel": { "alias": "zlevel"; "required": false; }; "z": { "alias": "z"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, {}, never, never, true, never>;
432
+ }
433
+
434
+ declare class TdDatasetComponent implements OnChanges, OnDestroy {
435
+ private _optionsService;
436
+ private _state;
437
+ id?: string;
438
+ config?: any;
439
+ source?: object | any[];
440
+ dimensions?: any[];
441
+ sourceHeader?: boolean;
442
+ constructor(_optionsService: TdChartOptionsService);
443
+ ngOnChanges(): void;
444
+ ngOnDestroy(): void;
445
+ private _setOptions;
446
+ private _removeOption;
447
+ static ɵfac: i0.ɵɵFactoryDeclaration<TdDatasetComponent, never>;
448
+ static ɵcmp: i0.ɵɵComponentDeclaration<TdDatasetComponent, "td-chart-dataset", never, { "id": { "alias": "id"; "required": false; }; "config": { "alias": "config"; "required": false; }; "source": { "alias": "source"; "required": false; }; "dimensions": { "alias": "dimensions"; "required": false; }; "sourceHeader": { "alias": "sourceHeader"; "required": false; }; }, {}, never, never, true, never>;
449
+ }
450
+
451
+ declare const BASE_MODULE_COMPONENTS: Type<any>[];
1
452
  /**
2
- * Generated bundle index. Do not edit.
453
+ * @deprecated This module is deprecated and will be removed in future versions.
454
+ * Please migrate to using standalone components as soon as possible.
3
455
  */
4
- /// <amd-module name="@covalent/echarts/base" />
5
- export * from './public_api';
456
+ declare class CovalentBaseEchartsModule {
457
+ static ɵfac: i0.ɵɵFactoryDeclaration<CovalentBaseEchartsModule, never>;
458
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CovalentBaseEchartsModule, never, [typeof TdChartComponent, typeof TdChartXAxisComponent, typeof TdChartYAxisComponent, typeof TdDatasetComponent], [typeof TdChartComponent, typeof TdChartXAxisComponent, typeof TdChartYAxisComponent, typeof TdDatasetComponent]>;
459
+ static ɵinj: i0.ɵɵInjectorDeclaration<CovalentBaseEchartsModule>;
460
+ }
461
+
462
+ declare function assignDefined(target: any, ...sources: any[]): any;
463
+
464
+ /**
465
+ * Function used to register a theme into echarts
466
+ * Theme name and theme object needed as stated in
467
+ * https://ecomfe.github.io/echarts-doc/public/en/api.html#echarts.registerTheme
468
+ */
469
+ declare function registerTheme(themeName: string, theme: object): void;
470
+ /**
471
+ * Function to register all default themes
472
+ * @internal
473
+ */
474
+ declare function registerDefaultThemes(): void;
475
+ /**
476
+ * Returns all the theme names bundled with covalent echarts.
477
+ */
478
+ declare function getThemes(): string[];
479
+
480
+ interface ITdItemStyle extends ITdShadow {
481
+ color?: any;
482
+ borderColor?: string;
483
+ borderWidth?: number;
484
+ borderType?: string;
485
+ opacity?: number;
486
+ }
487
+ interface ITdLabelLine {
488
+ show?: boolean;
489
+ length?: number;
490
+ length2?: number;
491
+ smooth?: boolean | number;
492
+ lineStyle?: ITdLineStyle;
493
+ }
494
+ interface ITdAreaStyle extends ITdShadow {
495
+ color?: any;
496
+ origin?: TdAreaOrigin;
497
+ opacity?: number;
498
+ }
499
+ interface ITdEmphasis {
500
+ label?: ITdLabel;
501
+ itemStyle?: ITdItemStyle;
502
+ }
503
+ interface ITdMarkPoint extends ITdAnimation {
504
+ symbol?: TdMarkPointSymbol | string;
505
+ symbolSize?: number;
506
+ symbolRotate?: number;
507
+ symbolKeepAspect?: boolean;
508
+ symbolOffset?: any[];
509
+ silent?: boolean;
510
+ label?: ITdLabel;
511
+ itemStyle?: ITdItemStyle;
512
+ emphasis?: ITdEmphasis;
513
+ data?: any[];
514
+ }
515
+ interface ITdMarkLineEmphasis {
516
+ label?: ITdLineLabel;
517
+ itemStyle?: ITdLineStyle;
518
+ }
519
+ interface ITdMarkAreaEmphasis {
520
+ label?: ITdLabel;
521
+ itemStyle?: ITdLineStyle;
522
+ }
523
+ interface ITdLineLabel {
524
+ show?: boolean;
525
+ position?: TdLineLabelPosition;
526
+ formatter?: string | Function;
527
+ }
528
+ interface ITdMarkLine extends ITdAnimation {
529
+ silent?: boolean;
530
+ symbol?: string | any[];
531
+ symbolSize?: number;
532
+ precision?: number;
533
+ label?: ITdLineLabel;
534
+ lineStyle?: ITdLineStyle;
535
+ emphasis?: ITdMarkLineEmphasis;
536
+ data?: any[];
537
+ }
538
+ interface ITdMarkArea extends ITdAnimation {
539
+ silent?: boolean;
540
+ label?: ITdLabel;
541
+ lineStyle?: ITdLineStyle;
542
+ emphasis?: ITdMarkAreaEmphasis;
543
+ data?: any[];
544
+ }
545
+ interface ITdSeriesTooltip {
546
+ position?: TdTooltipPosition | any;
547
+ formatter?: any;
548
+ backgroundColor?: any;
549
+ borderColor?: any;
550
+ borderWidth?: number;
551
+ padding?: number;
552
+ textStyle?: ITdTextStyle;
553
+ extraCssText?: string;
554
+ }
555
+ type TdCoordinateSystem = 'cartesian2d' | 'polar';
556
+ /**
557
+ * 'column': By default, the datasetcolumns correspond to the series, so that dataseteach column is a dimension (dimension).
558
+ * 'row': datasetthe row corresponding to the series, so that dataseteach row is a dimension (dimension).
559
+ * http://echarts.baidu.com/option.html#series-line.seriesLayoutBy
560
+ */
561
+ type TdSeriesLayoutBy = 'column' | 'row';
562
+ type TdProgressiveChunkMode = 'sequential' | 'mod';
563
+
564
+ interface ITdSeries extends ITdAnimation {
565
+ id?: string;
566
+ name?: string;
567
+ color?: string;
568
+ type?: string;
569
+ tooltip?: ITdSeriesTooltip;
570
+ }
571
+ declare abstract class TdSeriesDirective implements ITdSeries, OnChanges, OnInit, OnDestroy {
572
+ protected optionsService: TdChartOptionsService;
573
+ private _type;
574
+ get type(): string;
575
+ _state: any;
576
+ _options: any;
577
+ config?: any;
578
+ id?: string;
579
+ name?: string;
580
+ color?: string;
581
+ data?: any[];
582
+ animation?: boolean;
583
+ animationThreshold?: number;
584
+ animationDuration?: number | Function;
585
+ animationEasing?: string;
586
+ animationDelay?: number | Function;
587
+ animationDurationUpdate?: number | Function;
588
+ animationEasingUpdate?: string;
589
+ animationDelayUpdate?: number | Function;
590
+ tooltip?: ITdSeriesTooltip;
591
+ constructor(type: string, optionsService: TdChartOptionsService);
592
+ ngOnInit(): void;
593
+ ngOnChanges(): void;
594
+ ngOnDestroy(): void;
595
+ setStateOption(option: string, value: any): void;
596
+ removeStateOption(option: string): void;
597
+ abstract getConfig(): any;
598
+ private _setOptions;
599
+ private _removeOption;
600
+ static ɵfac: i0.ɵɵFactoryDeclaration<TdSeriesDirective, never>;
601
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TdSeriesDirective, never, never, { "config": { "alias": "config"; "required": false; }; "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "color": { "alias": "color"; "required": false; }; "data": { "alias": "data"; "required": false; }; "animation": { "alias": "animation"; "required": false; }; "animationThreshold": { "alias": "animationThreshold"; "required": false; }; "animationDuration": { "alias": "animationDuration"; "required": false; }; "animationEasing": { "alias": "animationEasing"; "required": false; }; "animationDelay": { "alias": "animationDelay"; "required": false; }; "animationDurationUpdate": { "alias": "animationDurationUpdate"; "required": false; }; "animationEasingUpdate": { "alias": "animationEasingUpdate"; "required": false; }; "animationDelayUpdate": { "alias": "animationDelayUpdate"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; }, {}, never, never, true, never>;
602
+ }
603
+
604
+ export { BASE_MODULE_COMPONENTS, CovalentBaseEchartsModule, TdChartAxisDirective, TdChartComponent, TdChartOptionsService, TdChartXAxisComponent, TdChartYAxisComponent, TdDatasetComponent, TdSeriesDirective, assignDefined, getThemes, registerDefaultThemes, registerTheme };
605
+ export type { ITdAnimation, ITdAreaStyle, ITdAxisLabel, ITdAxisLine, ITdAxisPointer, ITdAxisPointerLabel, ITdAxisTick, ITdBaseStyle, ITdEdgeLabel, ITdEmphasis, ITdItemStyle, ITdLabel, ITdLabelLine, ITdLineCurveStyle, ITdLineLabel, ITdLineStyle, ITdMarkArea, ITdMarkAreaEmphasis, ITdMarkLine, ITdMarkLineEmphasis, ITdMarkPoint, ITdNameTextStyle, ITdSeries, ITdSeriesTooltip, ITdShadow, ITdSplitArea, ITdSplitLine, ITdTextStyle, ITdTooltip, ITdTooltipAxisPointer, ITdXAxisConfig, ITdYAxisConfig, TdAlign, TdAreaOrigin, TdAxisPointerAxis, TdAxisPointerType, TdAxisType, TdCoordinateSystem, TdFontStyle, TdFontWeight, TdLabelPosition, TdLineLabelPosition, TdLineType, TdMarkPointSymbol, TdNameLocation, TdPointerType, TdProgressiveChunkMode, TdSeriesLayoutBy, TdStatus, TdTextAlign, TdTextPosition, TdTooltipPosition, TdTooltipTrigger, TdTooltipTriggerOn, TdVerticalAlign, TdXAxisPosition, TdYAxisPosition };