@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
@@ -1,5 +1,149 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Type } from '@angular/core';
3
+ import { TdSeriesDirective, ITdSeries, ITdItemStyle, ITdLabel, ITdEmphasis, ITdShadow, ITdSeriesTooltip, 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-examples/public/index.html#chart-type-treemap
8
+ *
3
9
  */
4
- /// <amd-module name="@covalent/echarts/treemap" />
5
- export * from './public_api';
10
+ interface ITdTreemapEmphasisLineStyle extends ITdShadow {
11
+ color?: any;
12
+ width?: number;
13
+ curveness?: number;
14
+ }
15
+ interface ITdTreemapEmphasis extends ITdEmphasis {
16
+ lineStyle: ITdTreemapEmphasisLineStyle;
17
+ }
18
+ interface ITdTreemapUpperLabel {
19
+ show?: boolean;
20
+ position?: string | any[];
21
+ distance?: string | number;
22
+ rotate?: string | number;
23
+ offset?: any[];
24
+ formatter?: string;
25
+ color?: any;
26
+ fontStyle?: string;
27
+ fontWeight?: string;
28
+ fontFamily?: string;
29
+ fontSize?: string | number;
30
+ align?: string;
31
+ verticalAlign?: string;
32
+ lineHeight?: string | number;
33
+ backgroundColor?: any;
34
+ borderColor?: string;
35
+ borderWidth?: string | number;
36
+ borderRadius?: string | number;
37
+ padding?: number | any[];
38
+ shadowColor?: string;
39
+ shadowBlur?: string | number;
40
+ shadowOffsetX?: string | number;
41
+ shadowOffsetY?: string | number;
42
+ width?: string | number;
43
+ height?: string | number;
44
+ textBorderColor?: string;
45
+ textBorderWidth?: string | number;
46
+ textShadowColor?: string;
47
+ textShadowBlur?: string | number;
48
+ textShadowOffsetX?: string | number;
49
+ textShadowOffsetY?: string | number;
50
+ rich?: any;
51
+ ellipsis?: any;
52
+ }
53
+ interface ITdTreemapBreadcrumb {
54
+ show?: boolean;
55
+ left?: string | number;
56
+ top?: string | number;
57
+ right?: string | number;
58
+ bottom?: string | number;
59
+ height?: string | number;
60
+ emptyItemWidth?: string | number;
61
+ itemStyle?: ITdItemStyle;
62
+ emphasis?: ITdTreemapEmphasis;
63
+ }
64
+ interface ITdTreemapSeries extends ITdSeries {
65
+ zlevel?: number;
66
+ z?: number;
67
+ left?: string | number;
68
+ top?: string | number;
69
+ right?: string | number;
70
+ bottom?: string | number;
71
+ width?: string | number;
72
+ height?: string | number;
73
+ squareRatio?: string | number;
74
+ leafDepth?: string | number;
75
+ drillDownIcon?: string;
76
+ roam?: boolean | string;
77
+ nodeClick?: boolean | string;
78
+ zoomToNodeRatio?: string | number;
79
+ levels?: any[];
80
+ silent?: boolean;
81
+ visualDimension?: string | number;
82
+ visualMin?: string | number;
83
+ visualMax?: string | number;
84
+ colorAlpha?: any[];
85
+ colorSaturation?: string | number;
86
+ colorMappingBy?: string;
87
+ visibleMin?: string | number;
88
+ childrenVisibleMin?: string | number;
89
+ itemStyle?: ITdItemStyle;
90
+ label?: ITdLabel;
91
+ upperLabel?: ITdTreemapUpperLabel;
92
+ breadcrumb?: ITdTreemapBreadcrumb;
93
+ emphasis?: ITdTreemapEmphasis;
94
+ data?: any[];
95
+ }
96
+ declare class TdChartSeriesTreemapComponent extends TdSeriesDirective implements ITdTreemapSeries {
97
+ config?: any;
98
+ id?: string;
99
+ name?: string;
100
+ data?: any;
101
+ zlevel?: number;
102
+ z?: number;
103
+ left?: string | number;
104
+ top?: string | number;
105
+ right?: string | number;
106
+ bottom?: string | number;
107
+ width?: string | number;
108
+ height?: string | number;
109
+ squareRatio?: string | number;
110
+ leafDepth?: string | number;
111
+ drillDownIcon?: string;
112
+ roam?: boolean | string;
113
+ nodeClick?: boolean | string;
114
+ zoomToNodeRatio?: string | number;
115
+ levels?: any[];
116
+ silent?: boolean;
117
+ visualDimension?: string | number;
118
+ visualMin?: string | number;
119
+ visualMax?: string | number;
120
+ colorAlpha?: any[];
121
+ colorSaturation?: string | number;
122
+ colorMappingBy?: string;
123
+ visibleMin?: string | number;
124
+ childrenVisibleMin?: string | number;
125
+ itemStyle?: ITdItemStyle;
126
+ label?: ITdLabel;
127
+ upperLabel?: ITdTreemapUpperLabel;
128
+ breadcrumb?: ITdTreemapBreadcrumb;
129
+ emphasis?: ITdTreemapEmphasis;
130
+ tooltip: ITdSeriesTooltip;
131
+ constructor(_optionsService: TdChartOptionsService);
132
+ getConfig(): any;
133
+ static ɵfac: i0.ɵɵFactoryDeclaration<TdChartSeriesTreemapComponent, never>;
134
+ static ɵcmp: i0.ɵɵComponentDeclaration<TdChartSeriesTreemapComponent, "td-chart-series[td-treemap]", 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; }; "squareRatio": { "alias": "squareRatio"; "required": false; }; "leafDepth": { "alias": "leafDepth"; "required": false; }; "drillDownIcon": { "alias": "drillDownIcon"; "required": false; }; "roam": { "alias": "roam"; "required": false; }; "nodeClick": { "alias": "nodeClick"; "required": false; }; "zoomToNodeRatio": { "alias": "zoomToNodeRatio"; "required": false; }; "levels": { "alias": "levels"; "required": false; }; "silent": { "alias": "silent"; "required": false; }; "visualDimension": { "alias": "visualDimension"; "required": false; }; "visualMin": { "alias": "visualMin"; "required": false; }; "visualMax": { "alias": "visualMax"; "required": false; }; "colorAlpha": { "alias": "colorAlpha"; "required": false; }; "colorSaturation": { "alias": "colorSaturation"; "required": false; }; "colorMappingBy": { "alias": "colorMappingBy"; "required": false; }; "visibleMin": { "alias": "visibleMin"; "required": false; }; "childrenVisibleMin": { "alias": "childrenVisibleMin"; "required": false; }; "itemStyle": { "alias": "itemStyle"; "required": false; }; "label": { "alias": "label"; "required": false; }; "upperLabel": { "alias": "upperLabel"; "required": false; }; "breadcrumb": { "alias": "breadcrumb"; "required": false; }; "emphasis": { "alias": "emphasis"; "required": false; }; }, {}, never, never, true, never>;
135
+ }
136
+
137
+ declare const TREEMAP_MODULE_COMPONENTS: Type<any>[];
138
+ /**
139
+ * @deprecated This module is deprecated and will be removed in future versions.
140
+ * Please migrate to using standalone components as soon as possible.
141
+ */
142
+ declare class CovalentTreemapEchartsModule {
143
+ static ɵfac: i0.ɵɵFactoryDeclaration<CovalentTreemapEchartsModule, never>;
144
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CovalentTreemapEchartsModule, never, [typeof TdChartSeriesTreemapComponent], [typeof TdChartSeriesTreemapComponent]>;
145
+ static ɵinj: i0.ɵɵInjectorDeclaration<CovalentTreemapEchartsModule>;
146
+ }
147
+
148
+ export { CovalentTreemapEchartsModule, TREEMAP_MODULE_COMPONENTS, TdChartSeriesTreemapComponent };
149
+ export type { ITdTreemapBreadcrumb, ITdTreemapEmphasis, ITdTreemapEmphasisLineStyle, ITdTreemapUpperLabel };
@@ -1,5 +1,71 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Type } from '@angular/core';
3
+ import { TdSeriesDirective, ITdSeries, TdChartOptionsService } from '@covalent/echarts/base';
4
+
5
+ type TdWordcloudShape = 'circle' | 'cardioid' | 'diamond' | 'triangle-forward' | 'triangle' | 'pentagon' | 'star';
6
+ interface ITdWordcloudTextStyle {
7
+ normal?: {
8
+ fontFamily?: string;
9
+ fontWeight?: string;
10
+ color?: string | ((x: any) => string);
11
+ };
12
+ emphasis?: {
13
+ shadowBlur?: number;
14
+ shadowColor?: string;
15
+ };
16
+ }
17
+ interface ITdWordCloudData {
18
+ name: string;
19
+ value: number;
20
+ textStyle?: ITdWordcloudTextStyle;
21
+ }
22
+ interface ITdWordcloudSeries extends ITdSeries {
23
+ data?: ITdWordCloudData[];
24
+ shape?: TdWordcloudShape;
25
+ left?: string | number;
26
+ top?: string | number;
27
+ width?: string | number;
28
+ height?: string | number;
29
+ right?: string | number;
30
+ bottom?: string | number;
31
+ sizeRange?: number[];
32
+ rotationRange?: number[];
33
+ rotationStep?: number;
34
+ gridSize?: number;
35
+ drawOutOfBound?: boolean;
36
+ textStyle?: ITdWordcloudTextStyle;
37
+ }
38
+ declare class TdChartSeriesWordcloudComponent extends TdSeriesDirective implements ITdWordcloudSeries {
39
+ data?: ITdWordCloudData[];
40
+ shape?: TdWordcloudShape;
41
+ left?: string | number;
42
+ top?: string | number;
43
+ width?: string | number;
44
+ height?: string | number;
45
+ right?: string | number;
46
+ bottom?: string | number;
47
+ sizeRange?: number[];
48
+ rotationRange?: number[];
49
+ rotationStep?: number;
50
+ gridSize?: number;
51
+ drawOutOfBound?: boolean;
52
+ textStyle?: ITdWordcloudTextStyle;
53
+ constructor(_optionsService: TdChartOptionsService);
54
+ getConfig(): any;
55
+ static ɵfac: i0.ɵɵFactoryDeclaration<TdChartSeriesWordcloudComponent, never>;
56
+ static ɵcmp: i0.ɵɵComponentDeclaration<TdChartSeriesWordcloudComponent, "td-chart-series[td-wordCloud]", 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; }; "shape": { "alias": "shape"; "required": false; }; "left": { "alias": "left"; "required": false; }; "top": { "alias": "top"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "right": { "alias": "right"; "required": false; }; "bottom": { "alias": "bottom"; "required": false; }; "sizeRange": { "alias": "sizeRange"; "required": false; }; "rotationRange": { "alias": "rotationRange"; "required": false; }; "rotationStep": { "alias": "rotationStep"; "required": false; }; "gridSize": { "alias": "gridSize"; "required": false; }; "drawOutOfBound": { "alias": "drawOutOfBound"; "required": false; }; "textStyle": { "alias": "textStyle"; "required": false; }; }, {}, never, never, true, never>;
57
+ }
58
+
59
+ declare const WORDCLOUD_MODULE_COMPONENTS: Type<any>[];
1
60
  /**
2
- * Generated bundle index. Do not edit.
61
+ * @deprecated This module is deprecated and will be removed in future versions.
62
+ * Please migrate to using standalone components as soon as possible.
3
63
  */
4
- /// <amd-module name="@covalent/echarts/wordcloud" />
5
- export * from './public_api';
64
+ declare class CovalentWordcloudEchartsModule {
65
+ static ɵfac: i0.ɵɵFactoryDeclaration<CovalentWordcloudEchartsModule, never>;
66
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CovalentWordcloudEchartsModule, never, [typeof TdChartSeriesWordcloudComponent], [typeof TdChartSeriesWordcloudComponent]>;
67
+ static ɵinj: i0.ɵɵInjectorDeclaration<CovalentWordcloudEchartsModule>;
68
+ }
69
+
70
+ export { CovalentWordcloudEchartsModule, TdChartSeriesWordcloudComponent, WORDCLOUD_MODULE_COMPONENTS };
71
+ export type { ITdWordCloudData, ITdWordcloudSeries, ITdWordcloudTextStyle, TdWordcloudShape };
@@ -1,68 +0,0 @@
1
- import { TdChartOptionsService, TdCoordinateSystem, ITdItemStyle, ITdEmphasis, TdSeriesLayoutBy, ITdMarkPoint, ITdMarkLine, ITdMarkArea, ITdSeries, ITdLabel, TdProgressiveChunkMode, TdSeriesDirective } from '@covalent/echarts/base';
2
- import * as i0 from "@angular/core";
3
- export interface ITdBarSeries extends ITdSeries {
4
- legendHoverLink?: boolean;
5
- coordinateSystem?: TdCoordinateSystem;
6
- xAxisIndex?: number;
7
- yAxisIndex?: number;
8
- Label?: ITdLabel;
9
- itemStyle?: ITdItemStyle;
10
- emphasis?: ITdEmphasis;
11
- stack?: string;
12
- cursor?: string;
13
- barWidth?: number | string;
14
- barMaxWidth?: number | string;
15
- barMinHeight?: number;
16
- barGap?: string;
17
- barCategoryGap?: string;
18
- large?: boolean;
19
- largeThreshold?: number;
20
- progressive?: number;
21
- progressiveThreshold?: number;
22
- progressiveChunkMode?: TdProgressiveChunkMode;
23
- dimensions?: any[];
24
- encode?: any;
25
- seriesLayoutBy?: TdSeriesLayoutBy;
26
- datasetIndex?: number;
27
- data?: any[];
28
- markPoint?: ITdMarkPoint;
29
- markLine?: ITdMarkLine;
30
- markArea?: ITdMarkArea;
31
- Zlevel?: 0;
32
- z?: number;
33
- silent?: boolean;
34
- }
35
- export declare class TdChartSeriesBarComponent extends TdSeriesDirective implements ITdBarSeries {
36
- coordinateSystem?: TdCoordinateSystem;
37
- xAxisIndex?: number;
38
- yAxisIndex?: number;
39
- legendHoverLink?: boolean;
40
- stack?: string;
41
- cursor?: string;
42
- label?: any;
43
- itemStyle?: ITdItemStyle;
44
- emphasis?: ITdEmphasis;
45
- barWidth?: number;
46
- barMaxWidth?: number;
47
- barMinHeight?: number;
48
- barGap?: string;
49
- barCategoryGap?: string;
50
- large?: boolean;
51
- largeThreshold?: number;
52
- progressive?: number;
53
- progressiveThreshold?: number;
54
- progressiveChunkMode?: TdProgressiveChunkMode;
55
- dimensions?: any[];
56
- encode: any;
57
- seriesLayoutBy?: TdSeriesLayoutBy;
58
- datasetIndex?: number;
59
- markPoint?: ITdMarkPoint;
60
- markLine?: ITdMarkLine;
61
- markArea?: ITdMarkArea;
62
- zlevel?: number;
63
- z?: number;
64
- constructor(_optionsService: TdChartOptionsService);
65
- getConfig(): any;
66
- static ɵfac: i0.ɵɵFactoryDeclaration<TdChartSeriesBarComponent, never>;
67
- static ɵcmp: i0.ɵɵComponentDeclaration<TdChartSeriesBarComponent, "td-chart-series[td-bar]", 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; }; "legendHoverLink": { "alias": "legendHoverLink"; "required": false; }; "stack": { "alias": "stack"; "required": false; }; "cursor": { "alias": "cursor"; "required": false; }; "label": { "alias": "label"; "required": false; }; "itemStyle": { "alias": "itemStyle"; "required": false; }; "emphasis": { "alias": "emphasis"; "required": false; }; "barWidth": { "alias": "barWidth"; "required": false; }; "barMaxWidth": { "alias": "barMaxWidth"; "required": false; }; "barMinHeight": { "alias": "barMinHeight"; "required": false; }; "barGap": { "alias": "barGap"; "required": false; }; "barCategoryGap": { "alias": "barCategoryGap"; "required": false; }; "large": { "alias": "large"; "required": false; }; "largeThreshold": { "alias": "largeThreshold"; "required": false; }; "progressive": { "alias": "progressive"; "required": false; }; "progressiveThreshold": { "alias": "progressiveThreshold"; "required": false; }; "progressiveChunkMode": { "alias": "progressiveChunkMode"; "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; }; }, {}, never, never, true, never>;
68
- }
@@ -1,13 +0,0 @@
1
- import { Type } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "./bar.component";
4
- export declare const BAR_MODULE_COMPONENTS: Type<any>[];
5
- /**
6
- * @deprecated This module is deprecated and will be removed in future versions.
7
- * Please migrate to using standalone components as soon as possible.
8
- */
9
- export declare class CovalentBarEchartsModule {
10
- static ɵfac: i0.ɵɵFactoryDeclaration<CovalentBarEchartsModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<CovalentBarEchartsModule, never, [typeof i1.TdChartSeriesBarComponent], [typeof i1.TdChartSeriesBarComponent]>;
12
- static ɵinj: i0.ɵɵInjectorDeclaration<CovalentBarEchartsModule>;
13
- }
@@ -1,2 +0,0 @@
1
- export * from './bar.module';
2
- export * from './bar.component';
@@ -1,48 +0,0 @@
1
- import { OnChanges, OnInit, OnDestroy } from '@angular/core';
2
- import { TdChartOptionsService } from '../chart-options.service';
3
- import { ITdAxisLine, ITdAxisLabel, ITdAxisTick, ITdSplitLine, ITdSplitArea, ITdAxisPointer, TdAxisType, TdNameLocation, TdXAxisPosition, TdYAxisPosition } from './axis.interface';
4
- import * as i0 from "@angular/core";
5
- export declare abstract class TdChartAxisDirective implements OnChanges, OnInit, OnDestroy {
6
- private _axisOption;
7
- private _optionsService;
8
- private _state;
9
- config: any;
10
- id?: string;
11
- show?: boolean;
12
- gridIndex?: number;
13
- offset?: number;
14
- abstract position: TdXAxisPosition | TdYAxisPosition;
15
- type?: TdAxisType;
16
- name?: string;
17
- nameLocation?: TdNameLocation;
18
- nameTextStyle?: any;
19
- nameGap?: number;
20
- nameRotate?: number;
21
- inverse?: boolean;
22
- boundaryGap?: boolean | string[];
23
- min?: string | number;
24
- max?: string | number;
25
- scale?: boolean;
26
- minInterval?: number;
27
- interval?: number;
28
- logBase?: number;
29
- silent?: boolean;
30
- triggerEvent?: boolean;
31
- axisLine?: ITdAxisLine;
32
- axisTick?: ITdAxisTick;
33
- axisLabel?: ITdAxisLabel;
34
- splitLine?: ITdSplitLine;
35
- splitArea?: ITdSplitArea;
36
- data?: any;
37
- axisPointer?: ITdAxisPointer;
38
- zlevel?: number;
39
- z?: number;
40
- constructor(_axisOption: string, _optionsService: TdChartOptionsService);
41
- ngOnInit(): void;
42
- ngOnChanges(): void;
43
- ngOnDestroy(): void;
44
- private _setOptions;
45
- private _removeOption;
46
- static ɵfac: i0.ɵɵFactoryDeclaration<TdChartAxisDirective, never>;
47
- 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>;
48
- }
@@ -1,157 +0,0 @@
1
- import { TdAlign, TdVerticalAlign, TdPointerType, TdStatus, ITdLineStyle, TdLineType, ITdTextStyle, ITdAxisPointerLabel, ITdBaseStyle, ITdShadow, ITdTextShadow, ITdFont } from '../base.types';
2
- export interface ITdNameTextStyle extends ITdShadow, ITdTextShadow, ITdFont {
3
- color?: string | any;
4
- align?: TdAlign;
5
- verticalAlign?: TdVerticalAlign;
6
- lineHeight?: number;
7
- backgroundColor?: string | any;
8
- borderColor?: string;
9
- borderWidth?: number;
10
- borderRadius?: number;
11
- padding?: number | number[];
12
- width?: number | string;
13
- height?: number | string;
14
- textBorderColor?: string;
15
- textBorderWidth?: number;
16
- /**
17
- * used to define rish text styles
18
- * https://ecomfe.github.io/echarts-doc/public/en/tutorial.html#Rich%20Text
19
- */
20
- rich: any;
21
- }
22
- export interface ITdAxisLine {
23
- show: boolean;
24
- onZero?: boolean;
25
- onZeroAxisIndex?: number;
26
- symbol?: 'none' | 'arrow' | string[];
27
- symbolSize?: number[];
28
- symbolOffset?: number | number[];
29
- lineStyle?: ITdLineStyle;
30
- }
31
- export interface ITdAxisTick {
32
- show?: boolean;
33
- alignWithLabel?: boolean;
34
- interval?: number | Function;
35
- inside?: boolean;
36
- length?: number;
37
- lineStyle?: ITdLineStyle;
38
- }
39
- export interface ITdAxisLabel extends ITdShadow, ITdTextShadow, ITdFont {
40
- show?: boolean;
41
- interval?: number | Function;
42
- inside?: boolean;
43
- rotate?: number;
44
- margin?: number;
45
- formatter?: string | Function;
46
- showMinLabel?: boolean;
47
- showMaxLabel?: boolean;
48
- color?: string | Function;
49
- align?: TdAlign;
50
- verticalAlign?: TdVerticalAlign;
51
- lineHeight?: number;
52
- backgroundColor?: string | object;
53
- borderColor?: string | object;
54
- borderWidth?: number;
55
- borderRadius?: number;
56
- padding?: number;
57
- width?: number | string;
58
- height?: number | string;
59
- textBorderColor?: string | object;
60
- textBorderWidth?: number;
61
- }
62
- export interface ITdSplitLine {
63
- type?: TdLineType;
64
- show?: boolean;
65
- interval?: any;
66
- lineStyle?: ITdLineStyle;
67
- }
68
- export interface ITdSplitArea {
69
- show?: boolean;
70
- interval?: any;
71
- areaStyle?: ITdBaseStyle;
72
- }
73
- export interface ITdAxisPointer {
74
- show?: boolean;
75
- type?: TdPointerType;
76
- snap?: boolean;
77
- z?: number;
78
- label?: ITdAxisPointerLabel;
79
- lineStyle?: ITdLineStyle;
80
- shadowStyle?: ITdBaseStyle;
81
- triggerTooltip?: boolean;
82
- value?: number;
83
- status?: TdStatus;
84
- handle?: any;
85
- }
86
- export interface ITdXAxisConfig {
87
- id?: string;
88
- show?: boolean;
89
- gridIndex?: number;
90
- position?: TdXAxisPosition;
91
- offset?: number;
92
- type?: TdAxisType;
93
- name?: string;
94
- nameLocation?: TdNameLocation;
95
- nameTextStyle?: ITdTextStyle;
96
- nameGap?: number;
97
- nameRotate?: number;
98
- inverse?: boolean;
99
- boundaryGap?: boolean | any[];
100
- min?: number | string | Function;
101
- max?: number | string;
102
- scale?: boolean;
103
- splitNumber?: number;
104
- minInterval?: number;
105
- maxInterval?: number;
106
- interval?: number;
107
- logBase?: number;
108
- silent?: false;
109
- triggerEvent?: boolean;
110
- axisLine?: ITdAxisLine;
111
- axisTick?: ITdAxisTick;
112
- axisLabel?: ITdAxisLabel;
113
- splitLine?: ITdSplitLine;
114
- splitArea?: ITdSplitArea;
115
- data?: any[];
116
- axisPointer?: ITdAxisPointer;
117
- zlevel?: number;
118
- z?: number;
119
- }
120
- export interface ITdYAxisConfig {
121
- id?: string;
122
- show?: boolean;
123
- gridIndex?: number;
124
- position?: TdYAxisPosition;
125
- offset?: number;
126
- type?: TdAxisType;
127
- name?: string;
128
- nameLocation?: TdNameLocation;
129
- nameTextStyle?: ITdTextStyle;
130
- nameGap?: number;
131
- nameRotate?: number;
132
- inverse?: boolean;
133
- boundaryGap?: boolean | any[];
134
- min?: number | string | Function;
135
- max?: number | string;
136
- scale?: boolean;
137
- splitNumber?: number;
138
- minInterval?: number;
139
- maxInterval?: number;
140
- interval?: number;
141
- logBase?: number;
142
- silent?: false;
143
- triggerEvent?: boolean;
144
- axisLine?: ITdAxisLine;
145
- axisTick?: ITdAxisTick;
146
- axisLabel?: ITdAxisLabel;
147
- splitLine?: ITdSplitLine;
148
- splitArea?: ITdSplitArea;
149
- data?: any[];
150
- axisPointer?: ITdAxisPointer;
151
- zlevel?: number;
152
- z?: number;
153
- }
154
- export type TdNameLocation = 'start' | 'middle' | 'center' | 'end';
155
- export type TdAxisType = 'value' | 'category' | 'time' | 'log';
156
- export type TdYAxisPosition = 'left' | 'right';
157
- export type TdXAxisPosition = 'top' | 'bottom';
@@ -1,10 +0,0 @@
1
- import { TdChartOptionsService } from '../chart-options.service';
2
- import { TdXAxisPosition } from './axis.interface';
3
- import { TdChartAxisDirective } from './axis.component';
4
- import * as i0 from "@angular/core";
5
- export declare class TdChartXAxisComponent extends TdChartAxisDirective {
6
- position: TdXAxisPosition;
7
- constructor(_optionsService: TdChartOptionsService);
8
- static ɵfac: i0.ɵɵFactoryDeclaration<TdChartXAxisComponent, never>;
9
- 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>;
10
- }
@@ -1,10 +0,0 @@
1
- import { TdChartOptionsService } from '../chart-options.service';
2
- import { TdYAxisPosition } from './axis.interface';
3
- import { TdChartAxisDirective } from './axis.component';
4
- import * as i0 from "@angular/core";
5
- export declare class TdChartYAxisComponent extends TdChartAxisDirective {
6
- position: TdYAxisPosition;
7
- constructor(_optionsService: TdChartOptionsService);
8
- static ɵfac: i0.ɵɵFactoryDeclaration<TdChartYAxisComponent, never>;
9
- 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>;
10
- }
@@ -1,16 +0,0 @@
1
- import { Type } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "./chart.component";
4
- import * as i2 from "./axis/x-axis.component";
5
- import * as i3 from "./axis/y-axis.component";
6
- import * as i4 from "./dataset/dataset.component";
7
- export declare const BASE_MODULE_COMPONENTS: Type<any>[];
8
- /**
9
- * @deprecated This module is deprecated and will be removed in future versions.
10
- * Please migrate to using standalone components as soon as possible.
11
- */
12
- export declare class CovalentBaseEchartsModule {
13
- static ɵfac: i0.ɵɵFactoryDeclaration<CovalentBaseEchartsModule, never>;
14
- static ɵmod: i0.ɵɵNgModuleDeclaration<CovalentBaseEchartsModule, never, [typeof i1.TdChartComponent, typeof i2.TdChartXAxisComponent, typeof i3.TdChartYAxisComponent, typeof i4.TdDatasetComponent], [typeof i1.TdChartComponent, typeof i2.TdChartXAxisComponent, typeof i3.TdChartYAxisComponent, typeof i4.TdDatasetComponent]>;
15
- static ɵinj: i0.ɵɵInjectorDeclaration<CovalentBaseEchartsModule>;
16
- }