@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/sankey/index.d.ts CHANGED
@@ -1,5 +1,81 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Type } from '@angular/core';
3
+ import { TdSeriesDirective, ITdSeries, ITdLabel, ITdItemStyle, ITdLineCurveStyle, ITdEmphasis, TdChartOptionsService, ITdShadow } from '@covalent/echarts/base';
4
+
5
+ type TdSankeyOrient = 'horizontal' | 'vertical';
6
+ type TdSankeyFocusNodeAdjacency = boolean | 'allEdges' | 'outEdges' | 'inEdges';
7
+ interface ITdSankeyEmphasisLineStyle extends ITdShadow {
8
+ color?: any;
9
+ opacity?: number;
10
+ curveness?: number;
11
+ }
12
+ interface ITdSankeyEmphasis extends ITdEmphasis {
13
+ lineStyle: ITdSankeyEmphasisLineStyle;
14
+ }
15
+ interface ITdSankeySeries extends ITdSeries {
16
+ zlevel?: number;
17
+ z?: number;
18
+ left?: string | number;
19
+ top?: string | number;
20
+ right?: string | number;
21
+ bottom?: string | number;
22
+ width?: string | number;
23
+ height?: string | number;
24
+ nodeWidth?: number;
25
+ nodeGap?: number;
26
+ layoutIterations?: number;
27
+ orient?: TdSankeyOrient;
28
+ draggable?: boolean;
29
+ focusNodeAdjacency?: TdSankeyFocusNodeAdjacency;
30
+ label?: ITdLabel;
31
+ itemStyle?: ITdItemStyle;
32
+ lineStyle?: ITdLineCurveStyle;
33
+ emphasis?: ITdEmphasis;
34
+ data?: any[];
35
+ nodes?: any[];
36
+ links?: any[];
37
+ edges?: any[];
38
+ silent?: boolean;
39
+ }
40
+ declare class TdChartSeriesSankeyComponent extends TdSeriesDirective implements ITdSankeySeries {
41
+ zlevel?: number;
42
+ z?: number;
43
+ left?: string | number;
44
+ top?: string | number;
45
+ right?: string | number;
46
+ bottom?: string | number;
47
+ width?: string | number;
48
+ height?: string | number;
49
+ nodeWidth?: number;
50
+ nodeGap?: number;
51
+ layoutIterations?: number;
52
+ orient?: TdSankeyOrient;
53
+ draggable?: boolean;
54
+ focusNodeAdjacency?: TdSankeyFocusNodeAdjacency;
55
+ label?: ITdLabel;
56
+ itemStyle?: ITdItemStyle;
57
+ lineStyle?: ITdLineCurveStyle;
58
+ emphasis?: ITdEmphasis;
59
+ nodes?: any[];
60
+ links?: any[];
61
+ edges?: any[];
62
+ silent?: boolean;
63
+ constructor(_optionsService: TdChartOptionsService);
64
+ getConfig(): any;
65
+ static ɵfac: i0.ɵɵFactoryDeclaration<TdChartSeriesSankeyComponent, never>;
66
+ static ɵcmp: i0.ɵɵComponentDeclaration<TdChartSeriesSankeyComponent, "td-chart-series[td-sankey]", 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; }; "zlevel": { "alias": "zlevel"; "required": false; }; "z": { "alias": "z"; "required": false; }; "left": { "alias": "left"; "required": false; }; "top": { "alias": "top"; "required": false; }; "right": { "alias": "right"; "required": false; }; "bottom": { "alias": "bottom"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "nodeWidth": { "alias": "nodeWidth"; "required": false; }; "nodeGap": { "alias": "nodeGap"; "required": false; }; "layoutIterations": { "alias": "layoutIterations"; "required": false; }; "orient": { "alias": "orient"; "required": false; }; "draggable": { "alias": "draggable"; "required": false; }; "focusNodeAdjacency": { "alias": "focusNodeAdjacency"; "required": false; }; "label": { "alias": "label"; "required": false; }; "itemStyle": { "alias": "itemStyle"; "required": false; }; "lineStyle": { "alias": "lineStyle"; "required": false; }; "emphasis": { "alias": "emphasis"; "required": false; }; "nodes": { "alias": "nodes"; "required": false; }; "links": { "alias": "links"; "required": false; }; "edges": { "alias": "edges"; "required": false; }; "silent": { "alias": "silent"; "required": false; }; }, {}, never, never, true, never>;
67
+ }
68
+
69
+ declare const SANKEY_MODULE_COMPONENTS: Type<any>[];
1
70
  /**
2
- * Generated bundle index. Do not edit.
71
+ * @deprecated This module is deprecated and will be removed in future versions.
72
+ * Please migrate to using standalone components as soon as possible.
3
73
  */
4
- /// <amd-module name="@covalent/echarts/sankey" />
5
- export * from './public_api';
74
+ declare class CovalentSankeyEchartsModule {
75
+ static ɵfac: i0.ɵɵFactoryDeclaration<CovalentSankeyEchartsModule, never>;
76
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CovalentSankeyEchartsModule, never, [typeof TdChartSeriesSankeyComponent], [typeof TdChartSeriesSankeyComponent]>;
77
+ static ɵinj: i0.ɵɵInjectorDeclaration<CovalentSankeyEchartsModule>;
78
+ }
79
+
80
+ export { CovalentSankeyEchartsModule, SANKEY_MODULE_COMPONENTS, TdChartSeriesSankeyComponent };
81
+ export type { ITdSankeyEmphasis, ITdSankeyEmphasisLineStyle, ITdSankeySeries, TdSankeyFocusNodeAdjacency, TdSankeyOrient };
@@ -1,5 +1,92 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Type } from '@angular/core';
3
+ import { TdSeriesDirective, ITdSeries, TdCoordinateSystem, TdMarkPointSymbol, ITdLabel, ITdEmphasis, TdSeriesLayoutBy, ITdMarkPoint, ITdMarkLine, ITdMarkArea, ITdItemStyle, TdChartOptionsService } from '@covalent/echarts/base';
4
+
5
+ interface ITdScatterSeries extends ITdSeries {
6
+ coordinateSystem?: TdCoordinateSystem;
7
+ xAxisIndex?: number;
8
+ yAxisIndex?: number;
9
+ polarIndex?: number;
10
+ geoIndex?: number;
11
+ calendarIndex?: number;
12
+ hoverAnimation?: boolean;
13
+ legendHoverLink?: boolean;
14
+ symbol?: TdMarkPointSymbol | string;
15
+ symbolSize?: number | any[] | Function;
16
+ symbolRotate?: number;
17
+ symbolKeepAspect?: boolean;
18
+ symbolOffset?: any[];
19
+ large?: boolean;
20
+ largeThreshold?: number;
21
+ cursor?: string;
22
+ connectNulls?: boolean;
23
+ clipOverflow?: boolean;
24
+ step?: boolean;
25
+ label?: ITdLabel;
26
+ itemStyle?: any;
27
+ emphasis?: ITdEmphasis;
28
+ progressive?: number;
29
+ progressiveThreshold?: number;
30
+ dimensions?: any[];
31
+ encode?: any;
32
+ seriesLayoutBy?: TdSeriesLayoutBy;
33
+ datasetIndex?: number;
34
+ data?: any[];
35
+ markPoint?: ITdMarkPoint;
36
+ markLine?: ITdMarkLine;
37
+ markArea?: ITdMarkArea;
38
+ zlevel?: number;
39
+ z?: number;
40
+ silent?: boolean;
41
+ }
42
+ declare class TdChartSeriesScatterComponent extends TdSeriesDirective implements ITdScatterSeries {
43
+ coordinateSystem?: TdCoordinateSystem;
44
+ xAxisIndex?: number;
45
+ yAxisIndex?: number;
46
+ polarIndex?: number;
47
+ geoIndex?: number;
48
+ calendarIndex?: number;
49
+ hoverAnimation?: boolean;
50
+ legendHoverLink?: boolean;
51
+ symbol?: TdMarkPointSymbol | string;
52
+ symbolSize?: number | any[] | Function;
53
+ symbolRotate?: number;
54
+ symbolKeepAspect?: boolean;
55
+ symbolOffset?: any[];
56
+ large?: boolean;
57
+ largeThreshold?: number;
58
+ cursor?: string;
59
+ label?: ITdLabel;
60
+ itemStyle?: ITdItemStyle;
61
+ emphasis?: ITdEmphasis;
62
+ progressive?: number;
63
+ progressiveThreshold?: number;
64
+ dimensions?: any[];
65
+ encode?: any;
66
+ seriesLayoutBy?: TdSeriesLayoutBy;
67
+ datasetIndex?: number;
68
+ markPoint?: ITdMarkPoint;
69
+ markLine?: ITdMarkLine;
70
+ markArea?: ITdMarkArea;
71
+ zlevel?: number;
72
+ z?: number;
73
+ silent?: boolean;
74
+ constructor(_optionsService: TdChartOptionsService);
75
+ getConfig(): any;
76
+ static ɵfac: i0.ɵɵFactoryDeclaration<TdChartSeriesScatterComponent, never>;
77
+ static ɵcmp: i0.ɵɵComponentDeclaration<TdChartSeriesScatterComponent, "td-chart-series[td-scatter]", 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; }; "coordinateSystem": { "alias": "coordinateSystem"; "required": false; }; "xAxisIndex": { "alias": "xAxisIndex"; "required": false; }; "yAxisIndex": { "alias": "yAxisIndex"; "required": false; }; "polarIndex": { "alias": "polarIndex"; "required": false; }; "geoIndex": { "alias": "geoIndex"; "required": false; }; "calendarIndex": { "alias": "calendarIndex"; "required": false; }; "hoverAnimation": { "alias": "hoverAnimation"; "required": false; }; "legendHoverLink": { "alias": "legendHoverLink"; "required": false; }; "symbol": { "alias": "symbol"; "required": false; }; "symbolSize": { "alias": "symbolSize"; "required": false; }; "symbolRotate": { "alias": "symbolRotate"; "required": false; }; "symbolKeepAspect": { "alias": "symbolKeepAspect"; "required": false; }; "symbolOffset": { "alias": "symbolOffset"; "required": false; }; "large": { "alias": "large"; "required": false; }; "largeThreshold": { "alias": "largeThreshold"; "required": false; }; "cursor": { "alias": "cursor"; "required": false; }; "label": { "alias": "label"; "required": false; }; "itemStyle": { "alias": "itemStyle"; "required": false; }; "emphasis": { "alias": "emphasis"; "required": false; }; "progressive": { "alias": "progressive"; "required": false; }; "progressiveThreshold": { "alias": "progressiveThreshold"; "required": false; }; "dimensions": { "alias": "dimensions"; "required": false; }; "encode": { "alias": "encode"; "required": false; }; "seriesLayoutBy": { "alias": "seriesLayoutBy"; "required": false; }; "datasetIndex": { "alias": "datasetIndex"; "required": false; }; "markPoint": { "alias": "markPoint"; "required": false; }; "markLine": { "alias": "markLine"; "required": false; }; "markArea": { "alias": "markArea"; "required": false; }; "zlevel": { "alias": "zlevel"; "required": false; }; "z": { "alias": "z"; "required": false; }; "silent": { "alias": "silent"; "required": false; }; }, {}, never, never, true, never>;
78
+ }
79
+
80
+ declare const SCATTER_MODULE_COMPONENTS: Type<any>[];
1
81
  /**
2
- * Generated bundle index. Do not edit.
82
+ * @deprecated This module is deprecated and will be removed in future versions.
83
+ * Please migrate to using standalone components as soon as possible.
3
84
  */
4
- /// <amd-module name="@covalent/echarts/scatter" />
5
- export * from './public_api';
85
+ declare class CovalentScatterEchartsModule {
86
+ static ɵfac: i0.ɵɵFactoryDeclaration<CovalentScatterEchartsModule, never>;
87
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CovalentScatterEchartsModule, never, [typeof TdChartSeriesScatterComponent], [typeof TdChartSeriesScatterComponent]>;
88
+ static ɵinj: i0.ɵɵInjectorDeclaration<CovalentScatterEchartsModule>;
89
+ }
90
+
91
+ export { CovalentScatterEchartsModule, SCATTER_MODULE_COMPONENTS, TdChartSeriesScatterComponent };
92
+ export type { ITdScatterSeries };
@@ -1,5 +1,157 @@
1
+ import * as i0 from '@angular/core';
2
+ import { OnChanges, OnDestroy, TemplateRef, ChangeDetectorRef, ElementRef, Type } from '@angular/core';
3
+ import { ITdLabel, ITdItemStyle, ITdShadow, TdTextPosition, TdTextAlign, TdChartOptionsService } from '@covalent/echarts/base';
4
+
5
+ type TdToolboxOrient = 'horizontal' | 'vertical';
6
+ type TdImageType = 'png' | 'jpeg';
7
+ interface ITdAcceptedBrushTypes {
8
+ rect?: string;
9
+ polygon?: string;
10
+ lineX?: string;
11
+ lineY?: string;
12
+ keep?: string;
13
+ clear?: string;
14
+ }
15
+ interface ITdAcceptedMagicTypes {
16
+ line?: string;
17
+ bar?: string;
18
+ stack?: string;
19
+ tiled?: string;
20
+ }
21
+ interface ITdToolboxIconEmphasis extends ITdItemStyle, ITdShadow {
22
+ }
23
+ interface ITdFeatureIconStyle extends ITdItemStyle, ITdShadow {
24
+ textPosition?: TdTextPosition;
25
+ textAlign?: TdTextAlign;
26
+ emphasis?: ITdToolboxIconEmphasis;
27
+ }
28
+ interface ITdZoomTitles {
29
+ zoom?: string;
30
+ back?: string;
31
+ }
32
+ interface ITdSaveAsImage {
33
+ type?: TdImageType;
34
+ name?: string;
35
+ backgroundColor?: any;
36
+ excludeComponents?: string[];
37
+ show?: boolean;
38
+ title?: string;
39
+ icon?: string;
40
+ iconStyle?: ITdFeatureIconStyle;
41
+ pixelRatio?: number;
42
+ }
43
+ interface ITdRestore {
44
+ show?: boolean;
45
+ title?: string;
46
+ icon?: string;
47
+ iconStyle?: ITdFeatureIconStyle;
48
+ }
49
+ interface ITdDataView {
50
+ show?: boolean;
51
+ title?: string;
52
+ icon?: string;
53
+ iconStyle?: ITdFeatureIconStyle;
54
+ readOnly?: boolean;
55
+ optionToContent?: Function;
56
+ contentToOption?: Function;
57
+ lang?: string[];
58
+ textareaColor?: string;
59
+ textareaBorderColor?: string;
60
+ textColor?: string;
61
+ buttonColor?: string;
62
+ buttonTextColor?: string;
63
+ }
64
+ interface ITdDataZoom {
65
+ show?: boolean;
66
+ title?: ITdZoomTitles;
67
+ icon?: ITdZoomTitles;
68
+ iconStyle?: ITdFeatureIconStyle;
69
+ xAxisIndex?: number | number[] | boolean;
70
+ yAxisIndex?: number | number[] | boolean;
71
+ }
72
+ interface ITdMagicType {
73
+ show?: boolean;
74
+ type?: string[];
75
+ title?: ITdAcceptedMagicTypes;
76
+ icon?: ITdAcceptedMagicTypes;
77
+ iconStyle?: ITdFeatureIconStyle;
78
+ option?: {
79
+ line?: object;
80
+ bar?: object;
81
+ stack?: object;
82
+ tiled?: object;
83
+ };
84
+ seriesIndex?: {
85
+ line?: any[];
86
+ bar?: any[];
87
+ stack?: any[];
88
+ tiled?: any[];
89
+ };
90
+ }
91
+ interface ITdBrush {
92
+ type?: any[];
93
+ icon?: ITdAcceptedBrushTypes;
94
+ title?: ITdAcceptedBrushTypes;
95
+ }
96
+ interface ITdToolboxFeature {
97
+ saveAsImage?: ITdSaveAsImage;
98
+ restore?: ITdRestore;
99
+ dataView?: ITdDataView;
100
+ dataZoom?: ITdDataZoom;
101
+ magicType?: ITdMagicType;
102
+ brush?: ITdBrush;
103
+ }
104
+ declare class TdChartViewDataFormatterDirective {
105
+ static ɵfac: i0.ɵɵFactoryDeclaration<TdChartViewDataFormatterDirective, never>;
106
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TdChartViewDataFormatterDirective, "ng-template[tdViewDataFormatter]", never, {}, {}, never, never, true, never>;
107
+ }
108
+ declare class TdChartToolboxComponent implements OnChanges, OnDestroy {
109
+ private _changeDetectorRef;
110
+ private _elementRef;
111
+ private _optionsService;
112
+ private _state;
113
+ config: any;
114
+ show: boolean;
115
+ trigger?: string;
116
+ orient?: TdToolboxOrient;
117
+ itemSize?: number;
118
+ itemGap?: number;
119
+ showTitle?: boolean | undefined;
120
+ label?: ITdLabel;
121
+ feature?: ITdToolboxFeature;
122
+ iconStyle?: ITdFeatureIconStyle;
123
+ zlevel?: number;
124
+ z?: number;
125
+ transitionDuration: number;
126
+ left: string | number;
127
+ top: string | number;
128
+ right: string | number;
129
+ bottom: string | number;
130
+ width: string | number;
131
+ height: string | number;
132
+ formatterTemplate: TemplateRef<any>;
133
+ fullTemplate: TemplateRef<any>;
134
+ constructor(_changeDetectorRef: ChangeDetectorRef, _elementRef: ElementRef, _optionsService: TdChartOptionsService);
135
+ ngOnChanges(): void;
136
+ ngOnDestroy(): void;
137
+ private _setOptions;
138
+ private _removeOption;
139
+ private _checkFormatterTemplate;
140
+ private _optionToContentFormatter;
141
+ static ɵfac: i0.ɵɵFactoryDeclaration<TdChartToolboxComponent, never>;
142
+ static ɵcmp: i0.ɵɵComponentDeclaration<TdChartToolboxComponent, "td-chart-toolbox", never, { "config": { "alias": "config"; "required": false; }; "show": { "alias": "show"; "required": false; }; "trigger": { "alias": "trigger"; "required": false; }; "orient": { "alias": "orient"; "required": false; }; "itemSize": { "alias": "itemSize"; "required": false; }; "itemGap": { "alias": "itemGap"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "label": { "alias": "label"; "required": false; }; "feature": { "alias": "feature"; "required": false; }; "iconStyle": { "alias": "iconStyle"; "required": false; }; "zlevel": { "alias": "zlevel"; "required": false; }; "z": { "alias": "z"; "required": false; }; "transitionDuration": { "alias": "transitionDuration"; "required": false; }; "left": { "alias": "left"; "required": false; }; "top": { "alias": "top"; "required": false; }; "right": { "alias": "right"; "required": false; }; "bottom": { "alias": "bottom"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; }, {}, ["formatterTemplate"], never, true, never>;
143
+ }
144
+
145
+ declare const TOOLBOX_MODULE_COMPONENTS: Type<any>[];
1
146
  /**
2
- * Generated bundle index. Do not edit.
147
+ * @deprecated This module is deprecated and will be removed in future versions.
148
+ * Please migrate to using standalone components as soon as possible.
3
149
  */
4
- /// <amd-module name="@covalent/echarts/toolbox" />
5
- export * from './public_api';
150
+ declare class CovalentToolboxEchartsModule {
151
+ static ɵfac: i0.ɵɵFactoryDeclaration<CovalentToolboxEchartsModule, never>;
152
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CovalentToolboxEchartsModule, never, [typeof TdChartToolboxComponent, typeof TdChartViewDataFormatterDirective], [typeof TdChartToolboxComponent, typeof TdChartViewDataFormatterDirective]>;
153
+ static ɵinj: i0.ɵɵInjectorDeclaration<CovalentToolboxEchartsModule>;
154
+ }
155
+
156
+ export { CovalentToolboxEchartsModule, TOOLBOX_MODULE_COMPONENTS, TdChartToolboxComponent, TdChartViewDataFormatterDirective };
157
+ export type { ITdAcceptedBrushTypes, ITdAcceptedMagicTypes, ITdBrush, ITdDataView, ITdDataZoom, ITdFeatureIconStyle, ITdMagicType, ITdRestore, ITdSaveAsImage, ITdToolboxFeature, ITdToolboxIconEmphasis, ITdZoomTitles, TdImageType, TdToolboxOrient };
@@ -1,5 +1,96 @@
1
+ import * as i0 from '@angular/core';
2
+ import { OnChanges, OnDestroy, TemplateRef, ChangeDetectorRef, ElementRef, Type } from '@angular/core';
3
+ import { TdTooltipTrigger, TdTooltipTriggerOn, TdTooltipPosition, TdChartOptionsService, TdSeriesDirective } from '@covalent/echarts/base';
4
+
5
+ declare class TdTooltipContext {
6
+ $implicit: any;
7
+ ticket: string;
8
+ }
9
+ declare class TdChartTooltipFormatterDirective {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<TdChartTooltipFormatterDirective, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TdChartTooltipFormatterDirective, "ng-template[tdTooltipFormatter]", never, {}, {}, never, never, true, never>;
12
+ }
13
+ declare class TdChartTooltipComponent implements OnChanges, OnDestroy {
14
+ private _changeDetectorRef;
15
+ private _elementRef;
16
+ private _optionsService;
17
+ private _state;
18
+ _context: TdTooltipContext;
19
+ config: any;
20
+ show?: boolean | undefined;
21
+ trigger?: TdTooltipTrigger;
22
+ axisPointer: any;
23
+ showContent?: boolean | undefined;
24
+ alwaysShowContent?: boolean | undefined;
25
+ triggerOn?: TdTooltipTriggerOn;
26
+ showDelay?: number | undefined;
27
+ hideDelay?: number | undefined;
28
+ enterable?: boolean | undefined;
29
+ renderMode?: 'html' | 'richText';
30
+ confine: boolean;
31
+ transitionDuration: number;
32
+ position?: TdTooltipPosition;
33
+ formatter?: string | Function;
34
+ backgroundColor?: string | undefined;
35
+ borderColor?: string | undefined;
36
+ borderWidth?: number | undefined;
37
+ padding?: number | undefined;
38
+ textStyle: any;
39
+ extraCssText?: string;
40
+ formatterTemplate: TemplateRef<any>;
41
+ fullTemplate: TemplateRef<any>;
42
+ constructor(_changeDetectorRef: ChangeDetectorRef, _elementRef: ElementRef, _optionsService: TdChartOptionsService);
43
+ ngOnChanges(): void;
44
+ ngOnDestroy(): void;
45
+ private _setOptions;
46
+ private _removeOption;
47
+ private _formatter;
48
+ static ɵfac: i0.ɵɵFactoryDeclaration<TdChartTooltipComponent, never>;
49
+ static ɵcmp: i0.ɵɵComponentDeclaration<TdChartTooltipComponent, "td-chart-tooltip", never, { "config": { "alias": "config"; "required": false; }; "show": { "alias": "show"; "required": false; }; "trigger": { "alias": "trigger"; "required": false; }; "axisPointer": { "alias": "axisPointer"; "required": false; }; "showContent": { "alias": "showContent"; "required": false; }; "alwaysShowContent": { "alias": "alwaysShowContent"; "required": false; }; "triggerOn": { "alias": "triggerOn"; "required": false; }; "showDelay": { "alias": "showDelay"; "required": false; }; "hideDelay": { "alias": "hideDelay"; "required": false; }; "enterable": { "alias": "enterable"; "required": false; }; "renderMode": { "alias": "renderMode"; "required": false; }; "confine": { "alias": "confine"; "required": false; }; "transitionDuration": { "alias": "transitionDuration"; "required": false; }; "position": { "alias": "position"; "required": false; }; "formatter": { "alias": "formatter"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "borderColor": { "alias": "borderColor"; "required": false; }; "borderWidth": { "alias": "borderWidth"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "textStyle": { "alias": "textStyle"; "required": false; }; "extraCssText": { "alias": "extraCssText"; "required": false; }; }, {}, ["formatterTemplate"], never, true, never>;
50
+ }
51
+
52
+ declare class TdSeriesTooltipComponent implements OnChanges, OnDestroy {
53
+ private _changeDetectorRef;
54
+ private _elementRef;
55
+ private _seriesComponent;
56
+ private _state;
57
+ _context: TdTooltipContext;
58
+ config?: any;
59
+ formatter?: any;
60
+ position?: string | string[] | number[];
61
+ backgroundColor?: string | undefined;
62
+ borderColor?: string | undefined;
63
+ borderWidth?: number | undefined;
64
+ padding?: number | undefined;
65
+ textStyle?: {
66
+ color: string;
67
+ } | undefined;
68
+ extraCssText?: string;
69
+ formatterTemplate: TemplateRef<any>;
70
+ fullTemplate: TemplateRef<any>;
71
+ constructor(_changeDetectorRef: ChangeDetectorRef, _elementRef: ElementRef, _seriesComponent: TdSeriesDirective);
72
+ ngOnChanges(): void;
73
+ ngOnDestroy(): void;
74
+ private _setOptions;
75
+ /**
76
+ * Formatter for tooltip
77
+ *
78
+ */
79
+ private _formatter;
80
+ private _removeOption;
81
+ static ɵfac: i0.ɵɵFactoryDeclaration<TdSeriesTooltipComponent, never>;
82
+ static ɵcmp: i0.ɵɵComponentDeclaration<TdSeriesTooltipComponent, "td-chart-series-tooltip", never, { "config": { "alias": "config"; "required": false; }; "formatter": { "alias": "formatter"; "required": false; }; "position": { "alias": "position"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "borderColor": { "alias": "borderColor"; "required": false; }; "borderWidth": { "alias": "borderWidth"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "textStyle": { "alias": "textStyle"; "required": false; }; "extraCssText": { "alias": "extraCssText"; "required": false; }; }, {}, ["formatterTemplate"], never, true, never>;
83
+ }
84
+
85
+ declare const TOOLTIP_MODULE_COMPONENTS: Type<any>[];
1
86
  /**
2
- * Generated bundle index. Do not edit.
87
+ * @deprecated This module is deprecated and will be removed in future versions.
88
+ * Please migrate to using standalone components as soon as possible.
3
89
  */
4
- /// <amd-module name="@covalent/echarts/tooltip" />
5
- export * from './public_api';
90
+ declare class CovalentTooltipEchartsModule {
91
+ static ɵfac: i0.ɵɵFactoryDeclaration<CovalentTooltipEchartsModule, never>;
92
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CovalentTooltipEchartsModule, never, [typeof TdChartTooltipComponent, typeof TdChartTooltipFormatterDirective, typeof TdSeriesTooltipComponent], [typeof TdChartTooltipComponent, typeof TdChartTooltipFormatterDirective, typeof TdSeriesTooltipComponent]>;
93
+ static ɵinj: i0.ɵɵInjectorDeclaration<CovalentTooltipEchartsModule>;
94
+ }
95
+
96
+ export { CovalentTooltipEchartsModule, TOOLTIP_MODULE_COMPONENTS, TdChartTooltipComponent, TdChartTooltipFormatterDirective, TdSeriesTooltipComponent, TdTooltipContext };
package/tree/index.d.ts CHANGED
@@ -1,5 +1,98 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Type } from '@angular/core';
3
+ import { TdSeriesDirective, ITdSeries, TdMarkPointSymbol, ITdItemStyle, ITdLabel, ITdLineStyle, ITdEmphasis, ITdShadow, TdChartOptionsService } from '@covalent/echarts/base';
4
+
1
5
  /**
2
- * Generated bundle index. Do not edit.
6
+ * ECHART OPTION DOCS
7
+ * https://ecomfe.github.io/echarts-doc/public/en/option.html#series-tree
8
+ *
3
9
  */
4
- /// <amd-module name="@covalent/echarts/tree" />
5
- export * from './public_api';
10
+ /**
11
+ * LR - from left to right
12
+ * RL - from right to left
13
+ * TB - from top to bottom
14
+ * BT - from bottom to top
15
+ */
16
+ type TdTreeOrient = 'LR' | 'RL' | 'TB' | 'BT';
17
+ type TdTreeLayout = 'orthogonal' | 'radial';
18
+ interface ITdTreeEmphasisLineStyle extends ITdShadow {
19
+ color?: any;
20
+ width?: number;
21
+ curveness?: number;
22
+ }
23
+ interface ITdTreeEmphasis extends ITdEmphasis {
24
+ lineStyle: ITdTreeEmphasisLineStyle;
25
+ }
26
+ interface ITdTreeLeaves {
27
+ label?: ITdLabel;
28
+ itemStyle?: ITdItemStyle;
29
+ emphasis?: ITdEmphasis;
30
+ }
31
+ interface ITdTreeSeries extends ITdSeries {
32
+ zlevel?: number;
33
+ z?: number;
34
+ left?: string | number;
35
+ top?: string | number;
36
+ right?: string | number;
37
+ bottom?: string | number;
38
+ width?: string | number;
39
+ height?: string | number;
40
+ layout?: TdTreeLayout;
41
+ orient?: TdTreeOrient;
42
+ symbol?: TdMarkPointSymbol | string;
43
+ symbolSize?: number;
44
+ symbolRotate?: number;
45
+ symbolKeepAspect?: boolean;
46
+ symbolOffset?: any[];
47
+ roam?: boolean | string;
48
+ expandAndCollapse?: boolean;
49
+ initialTreeDepth?: number;
50
+ itemStyle?: ITdItemStyle;
51
+ label?: ITdLabel;
52
+ lineStyle?: ITdLineStyle;
53
+ leaves?: ITdTreeLeaves;
54
+ emphasis?: ITdTreeEmphasis;
55
+ data?: any[];
56
+ }
57
+ declare class TdChartSeriesTreeComponent extends TdSeriesDirective implements ITdTreeSeries {
58
+ zlevel?: number;
59
+ z?: number;
60
+ left?: string | number;
61
+ top?: string | number;
62
+ right?: string | number;
63
+ bottom?: string | number;
64
+ width?: string | number;
65
+ height?: string | number;
66
+ layout?: TdTreeLayout;
67
+ orient?: TdTreeOrient;
68
+ symbol?: TdMarkPointSymbol | string;
69
+ symbolSize?: number;
70
+ symbolRotate?: number;
71
+ symbolKeepAspect?: boolean;
72
+ roam?: boolean | string;
73
+ expandAndCollapse?: boolean;
74
+ initialTreeDepth?: number;
75
+ itemStyle?: ITdItemStyle;
76
+ label?: ITdLabel;
77
+ lineStyle?: ITdLineStyle;
78
+ leaves?: ITdTreeLeaves;
79
+ emphasis?: ITdTreeEmphasis;
80
+ constructor(_optionsService: TdChartOptionsService);
81
+ getConfig(): any;
82
+ static ɵfac: i0.ɵɵFactoryDeclaration<TdChartSeriesTreeComponent, never>;
83
+ static ɵcmp: i0.ɵɵComponentDeclaration<TdChartSeriesTreeComponent, "td-chart-series[td-tree]", 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; }; "zlevel": { "alias": "zlevel"; "required": false; }; "z": { "alias": "z"; "required": false; }; "left": { "alias": "left"; "required": false; }; "top": { "alias": "top"; "required": false; }; "right": { "alias": "right"; "required": false; }; "bottom": { "alias": "bottom"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "orient": { "alias": "orient"; "required": false; }; "symbol": { "alias": "symbol"; "required": false; }; "symbolSize": { "alias": "symbolSize"; "required": false; }; "symbolRotate": { "alias": "symbolRotate"; "required": false; }; "symbolKeepAspect": { "alias": "symbolKeepAspect"; "required": false; }; "roam": { "alias": "roam"; "required": false; }; "expandAndCollapse": { "alias": "expandAndCollapse"; "required": false; }; "initialTreeDepth": { "alias": "initialTreeDepth"; "required": false; }; "itemStyle": { "alias": "itemStyle"; "required": false; }; "label": { "alias": "label"; "required": false; }; "lineStyle": { "alias": "lineStyle"; "required": false; }; "leaves": { "alias": "leaves"; "required": false; }; "emphasis": { "alias": "emphasis"; "required": false; }; }, {}, never, never, true, never>;
84
+ }
85
+
86
+ declare const TREE_MODULE_COMPONENTS: Type<any>[];
87
+ /**
88
+ * @deprecated This module is deprecated and will be removed in future versions.
89
+ * Please migrate to using standalone components as soon as possible.
90
+ */
91
+ declare class CovalentTreeEchartsModule {
92
+ static ɵfac: i0.ɵɵFactoryDeclaration<CovalentTreeEchartsModule, never>;
93
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CovalentTreeEchartsModule, never, [typeof TdChartSeriesTreeComponent], [typeof TdChartSeriesTreeComponent]>;
94
+ static ɵinj: i0.ɵɵInjectorDeclaration<CovalentTreeEchartsModule>;
95
+ }
96
+
97
+ export { CovalentTreeEchartsModule, TREE_MODULE_COMPONENTS, TdChartSeriesTreeComponent };
98
+ export type { ITdTreeEmphasis, ITdTreeEmphasisLineStyle, ITdTreeLeaves, TdTreeLayout, TdTreeOrient };