@carbon/charts-angular 1.23.15 → 1.23.17

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 (54) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/README.md +4 -1
  3. package/fesm2022/carbon-charts-angular.mjs +169 -169
  4. package/fesm2022/carbon-charts-angular.mjs.map +1 -1
  5. package/index.d.ts +581 -11
  6. package/package.json +4 -4
  7. package/styles.css +96 -0
  8. package/styles.css.map +1 -1
  9. package/styles.min.css +1 -1
  10. package/styles.min.css.map +1 -1
  11. package/lib/charts/alluvial-chart.component.d.ts +0 -16
  12. package/lib/charts/area-chart-stacked.component.d.ts +0 -16
  13. package/lib/charts/area-chart.component.d.ts +0 -16
  14. package/lib/charts/bar-chart-grouped.component.d.ts +0 -16
  15. package/lib/charts/bar-chart-simple.component.d.ts +0 -16
  16. package/lib/charts/bar-chart-stacked.component.d.ts +0 -16
  17. package/lib/charts/base-chart.component.d.ts +0 -46
  18. package/lib/charts/boxplot-chart.component.d.ts +0 -16
  19. package/lib/charts/bubble-chart.component.d.ts +0 -16
  20. package/lib/charts/bullet-chart.component.d.ts +0 -16
  21. package/lib/charts/charts.module.d.ts +0 -33
  22. package/lib/charts/choropleth.component.d.ts +0 -16
  23. package/lib/charts/circle-pack-chart.component.d.ts +0 -16
  24. package/lib/charts/combo-chart.component.d.ts +0 -16
  25. package/lib/charts/donut-chart.component.d.ts +0 -16
  26. package/lib/charts/experimental-choropleth-chart-component.d.ts +0 -17
  27. package/lib/charts/gauge-chart.component.d.ts +0 -16
  28. package/lib/charts/heatmap-chart.component.d.ts +0 -16
  29. package/lib/charts/histogram-chart.component.d.ts +0 -16
  30. package/lib/charts/index.d.ts +0 -28
  31. package/lib/charts/line-chart.component.d.ts +0 -16
  32. package/lib/charts/lollipop-chart.component.d.ts +0 -16
  33. package/lib/charts/meter-chart.component.d.ts +0 -16
  34. package/lib/charts/pie-chart.component.d.ts +0 -16
  35. package/lib/charts/radar-chart.component.d.ts +0 -16
  36. package/lib/charts/scatter-chart.component.d.ts +0 -16
  37. package/lib/charts/tree-chart.component.d.ts +0 -16
  38. package/lib/charts/treemap-chart.component.d.ts +0 -16
  39. package/lib/charts/wordcloud-chart.component.d.ts +0 -16
  40. package/lib/diagrams/config.d.ts +0 -1
  41. package/lib/diagrams/edges/edge.component.d.ts +0 -20
  42. package/lib/diagrams/edges/edge.module.d.ts +0 -9
  43. package/lib/diagrams/edges/marker/marker.component.d.ts +0 -52
  44. package/lib/diagrams/edges/marker/marker.module.d.ts +0 -10
  45. package/lib/diagrams/index.d.ts +0 -4
  46. package/lib/diagrams/nodes/cards/card-node-column.component.d.ts +0 -7
  47. package/lib/diagrams/nodes/cards/card-node-label.component.d.ts +0 -6
  48. package/lib/diagrams/nodes/cards/card-node-subtitle.component.d.ts +0 -6
  49. package/lib/diagrams/nodes/cards/card-node-title.component.d.ts +0 -6
  50. package/lib/diagrams/nodes/cards/card-node.component.d.ts +0 -20
  51. package/lib/diagrams/nodes/cards/card-node.module.d.ts +0 -18
  52. package/lib/diagrams/nodes/shape/shape-node.component.d.ts +0 -25
  53. package/lib/diagrams/nodes/shape/shape-node.module.d.ts +0 -9
  54. package/lib/index.d.ts +0 -2
package/index.d.ts CHANGED
@@ -1,15 +1,585 @@
1
- export { AlluvialChartComponent, AreaChartComponent, BaseChartComponent, BoxplotChartComponent, BubbleChartComponent, BulletChartComponent, ChartsModule, // <-- Module
2
- ChoroplethChartComponent, CirclePackChartComponent, ComboChartComponent, DonutChartComponent,
1
+ import * as i0 from '@angular/core';
2
+ import { AfterViewInit, OnInit, ElementRef, EventEmitter, TemplateRef } from '@angular/core';
3
+ import * as _carbon_charts from '@carbon/charts';
4
+ import { ChartTabularData, BaseChartOptions, Charts } from '@carbon/charts';
5
+ export { Alignments, AlluvialChartOptions, AreaChartOptions, AreaEvent, ArrowDirections, AxisEvent, AxisFlavor, AxisPositions, AxisTitleOrientations, BarChartOptions, BarEvent, BoxplotChartOptions, BoxplotEvent, BubbleChartOptions, BulletChartOptions, CalloutDirections, CanvasZoomEvent, CartesianOrientations, ChartEvent, ChartOptions, ChartTabularData, ChartTheme, ChartTypes, ChoroplethChartOptions, CirclePackChartOptions, ColorClassNameTypes, ColorLegendType, ComboChartOptions, DividerStatus, DominantBaseline, DonutChartOptions, GaugeChartOptions, GaugeEvent, GaugeTypes, HeatmapChartOptions, HistogramChartOptions, LayoutAlignItems, LayoutDirection, LayoutGrowth, LegendItemType, LegendOrientations, LegendPositions, LineChartOptions, LineEvent, LollipopChartOptions, MeterChartOptions, ModalEvent, ModelEvent, PieChartOptions, PieEvent, Projection, RadarChartOptions, RadarEvent, RenderTypes, ScaleTypes, ScatterChartOptions, ScatterEvent, Skeletons, StackedAreaChartOptions, StackedBarChartOptions, Statuses, TextAnchor, ThresholdEvent, TickRotations, ToolbarControlTypes, TooltipEvent, TreeChartOptions, TreeEvent, TreeTypes, TreemapChartOptions, TreemapEvent, TruncationTypes, WordCloudChartOptions, WordCloudEvent, WordCloudChartOptions as WorldCloudChartOptions, ZoomBarTypes, ZoomDomainEvent, ZoombarEvent } from '@carbon/charts';
6
+ import * as i1 from '@angular/common';
7
+
3
8
  /**
4
- * @deprecated Use `ChoroplethChartComponent` instead.
9
+ * Wrapper around `BaseChart` in carbon charts library
10
+ *
11
+ * Most functions just call their equivalent from the chart library.
5
12
  */
6
- ExperimentalChoroplethChartComponent, GaugeChartComponent, GroupedBarChartComponent, HeatmapChartComponent, HistogramChartComponent, LineChartComponent, LollipopChartComponent, MeterChartComponent, PieChartComponent, RadarChartComponent, ScatterChartComponent, SimpleBarChartComponent, StackedAreaChartComponent, StackedBarChartComponent, TreeChartComponent, TreemapChartComponent, WordCloudChartComponent, CardNodeColumnComponent, CardNodeComponent, CardNodeLabelComponent, CardNodeSubtitleComponent, CardNodeTitleComponent, CardNodeModule, // <-- Module
7
- EdgeComponent, EdgeModule, // <-- Module
8
- MarkerArrowLeftComponent, MarkerArrowRightComponent, MarkerComponent, MarkerDiamondComponent, MarkerModule, // <-- Module
9
- MarkerShapeNodeComponent, MarkerSquareComponent, MarkerTeeComponent, ShapeNodeComponent, ShapeNodeModule } from './lib';
10
- export type { ChartTabularData, ChartOptions, AlluvialChartOptions, AreaChartOptions, BarChartOptions, BoxplotChartOptions, BubbleChartOptions, BulletChartOptions, ChoroplethChartOptions, CirclePackChartOptions, ComboChartOptions, DonutChartOptions, GaugeChartOptions, HeatmapChartOptions, HistogramChartOptions, LineChartOptions, LollipopChartOptions, MeterChartOptions, PieChartOptions, RadarChartOptions, ScatterChartOptions, StackedAreaChartOptions, StackedBarChartOptions, TreeChartOptions, TreemapChartOptions, WordCloudChartOptions,
13
+ declare class BaseChartComponent implements AfterViewInit, OnInit {
14
+ protected elementRef: ElementRef;
15
+ /**
16
+ * Data passed to charts library for displaying
17
+ */
18
+ set data(newData: ChartTabularData);
19
+ get data(): ChartTabularData;
20
+ /**
21
+ * Options passed to charts library
22
+ */
23
+ set options(newOptions: BaseChartOptions);
24
+ get options(): BaseChartOptions;
25
+ /**
26
+ * Chart width
27
+ */
28
+ width?: string;
29
+ /**
30
+ * Chart height
31
+ */
32
+ height?: string;
33
+ /**
34
+ * Chart object instance
35
+ *
36
+ * You can use this to do whatever you would normally do with a chart if you used
37
+ * charts library directly.
38
+ */
39
+ chart: Charts;
40
+ private _data;
41
+ private _options;
42
+ constructor(elementRef: ElementRef);
43
+ ngOnInit(): void;
44
+ /**
45
+ * Runs after view init to create a chart, attach it to `elementRef` and draw it.
46
+ */
47
+ ngAfterViewInit(): void;
48
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseChartComponent, never>;
49
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaseChartComponent, "ibm-base-chart, cc-base", never, { "data": { "alias": "data"; "required": false; }; "options": { "alias": "options"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; }, {}, never, never, true, never>;
50
+ }
51
+
11
52
  /**
12
- * @deprecated Use `WordCloudChartOptions` instead.
53
+ * Wrapper around `AlluvialChart` in carbon charts library
54
+ *
55
+ * Most functions just call their equivalent from the chart library.
13
56
  */
14
- WordCloudChartOptions as WorldCloudChartOptions } from '@carbon/charts';
15
- export { Alignments, AreaEvent, ArrowDirections, AxisEvent, AxisFlavor, AxisPositions, AxisTitleOrientations, BarEvent, BoxplotEvent, CalloutDirections, CanvasZoomEvent, CartesianOrientations, ChartEvent, ChartTheme, ChartTypes, ColorClassNameTypes, ColorLegendType, DividerStatus, DominantBaseline, GaugeEvent, GaugeTypes, LayoutAlignItems, LayoutDirection, LayoutGrowth, LegendItemType, LegendOrientations, LegendPositions, LineEvent, ModalEvent, ModelEvent, PieEvent, Projection, RadarEvent, RenderTypes, ScaleTypes, ScatterEvent, Skeletons, Statuses, TextAnchor, ThresholdEvent, TickRotations, ToolbarControlTypes, TooltipEvent, TruncationTypes, TreeEvent, TreemapEvent, TreeTypes, WordCloudEvent, ZoombarEvent, ZoomDomainEvent, ZoomBarTypes } from '@carbon/charts';
57
+ declare class AlluvialChartComponent extends BaseChartComponent implements AfterViewInit {
58
+ /**
59
+ * Runs after view init to create a chart, attach it to `elementRef` and draw it.
60
+ */
61
+ ngAfterViewInit(): void;
62
+ static ɵfac: i0.ɵɵFactoryDeclaration<AlluvialChartComponent, never>;
63
+ static ɵcmp: i0.ɵɵComponentDeclaration<AlluvialChartComponent, "ibm-alluvial-chart, cc-alluvial", never, {}, {}, never, never, true, never>;
64
+ }
65
+
66
+ /**
67
+ * Wrapper around `AreaChart` in carbon charts library
68
+ *
69
+ * Most functions just call their equivalent from the chart library.
70
+ */
71
+ declare class AreaChartComponent extends BaseChartComponent implements AfterViewInit {
72
+ /**
73
+ * Runs after view init to create a chart, attach it to `elementRef` and draw it.
74
+ */
75
+ ngAfterViewInit(): void;
76
+ static ɵfac: i0.ɵɵFactoryDeclaration<AreaChartComponent, never>;
77
+ static ɵcmp: i0.ɵɵComponentDeclaration<AreaChartComponent, "ibm-area-chart, cc-area", never, {}, {}, never, never, true, never>;
78
+ }
79
+
80
+ /**
81
+ * Wrapper around `BoxplotChart` in carbon charts library
82
+ *
83
+ * Most functions just call their equivalent from the chart library.
84
+ */
85
+ declare class BoxplotChartComponent extends BaseChartComponent implements AfterViewInit {
86
+ /**
87
+ * Runs after view init to create a chart, attach it to `elementRef` and draw it.
88
+ */
89
+ ngAfterViewInit(): void;
90
+ static ɵfac: i0.ɵɵFactoryDeclaration<BoxplotChartComponent, never>;
91
+ static ɵcmp: i0.ɵɵComponentDeclaration<BoxplotChartComponent, "ibm-boxplot-chart, cc-boxplot", never, {}, {}, never, never, true, never>;
92
+ }
93
+
94
+ /**
95
+ * Wrapper around `BubbleChart` in carbon charts library
96
+ *
97
+ * Most functions just call their equivalent from the chart library.
98
+ */
99
+ declare class BubbleChartComponent extends BaseChartComponent implements AfterViewInit {
100
+ /**
101
+ * Runs after view init to create a chart, attach it to `elementRef` and draw it.
102
+ */
103
+ ngAfterViewInit(): void;
104
+ static ɵfac: i0.ɵɵFactoryDeclaration<BubbleChartComponent, never>;
105
+ static ɵcmp: i0.ɵɵComponentDeclaration<BubbleChartComponent, "ibm-bubble-chart, cc-bubble", never, {}, {}, never, never, true, never>;
106
+ }
107
+
108
+ /**
109
+ * Wrapper around `BulletChart` in carbon charts library
110
+ *
111
+ * Most functions just call their equivalent from the chart library.
112
+ */
113
+ declare class BulletChartComponent extends BaseChartComponent implements AfterViewInit {
114
+ /**
115
+ * Runs after view init to create a chart, attach it to `elementRef` and draw it.
116
+ */
117
+ ngAfterViewInit(): void;
118
+ static ɵfac: i0.ɵɵFactoryDeclaration<BulletChartComponent, never>;
119
+ static ɵcmp: i0.ɵɵComponentDeclaration<BulletChartComponent, "ibm-bullet-chart, cc-bullet", never, {}, {}, never, never, true, never>;
120
+ }
121
+
122
+ /**
123
+ * Wrapper around `CirclePackChart` in carbon charts library
124
+ *
125
+ * Most functions just call their equivalent from the chart library.
126
+ */
127
+ declare class CirclePackChartComponent extends BaseChartComponent implements AfterViewInit {
128
+ /**
129
+ * Runs after view init to create a chart, attach it to `elementRef` and draw it.
130
+ */
131
+ ngAfterViewInit(): void;
132
+ static ɵfac: i0.ɵɵFactoryDeclaration<CirclePackChartComponent, never>;
133
+ static ɵcmp: i0.ɵɵComponentDeclaration<CirclePackChartComponent, "ibm-circle-pack-chart, cc-circle-pack", never, {}, {}, never, never, true, never>;
134
+ }
135
+
136
+ /**
137
+ * Wrapper around `ComboChart` in carbon charts library
138
+ *
139
+ * Most functions just call their equivalent from the chart library.
140
+ */
141
+ declare class ComboChartComponent extends BaseChartComponent implements AfterViewInit {
142
+ /**
143
+ * Runs after view init to create a chart, attach it to `elementRef` and draw it.
144
+ */
145
+ ngAfterViewInit(): void;
146
+ static ɵfac: i0.ɵɵFactoryDeclaration<ComboChartComponent, never>;
147
+ static ɵcmp: i0.ɵɵComponentDeclaration<ComboChartComponent, "ibm-combo-chart, cc-combo", never, {}, {}, never, never, true, never>;
148
+ }
149
+
150
+ /**
151
+ * Wrapper around `DonutChart` in carbon charts library
152
+ *
153
+ * Most functions just call their equivalent from the chart library.
154
+ */
155
+ declare class DonutChartComponent extends BaseChartComponent implements AfterViewInit {
156
+ /**
157
+ * Runs after view init to create a chart, attach it to `elementRef` and draw it.
158
+ */
159
+ ngAfterViewInit(): void;
160
+ static ɵfac: i0.ɵɵFactoryDeclaration<DonutChartComponent, never>;
161
+ static ɵcmp: i0.ɵɵComponentDeclaration<DonutChartComponent, "ibm-donut-chart, cc-donut", never, {}, {}, never, never, true, never>;
162
+ }
163
+
164
+ /**
165
+ * Wrapper around `ChoroplethChart` in carbon charts library
166
+ *
167
+ * Most functions just call their equivalent from the chart library.
168
+ */
169
+ declare class ChoroplethChartComponent extends BaseChartComponent implements AfterViewInit {
170
+ /**
171
+ * Runs after view init to create a chart, attach it to `elementRef` and draw it.
172
+ */
173
+ ngAfterViewInit(): void;
174
+ static ɵfac: i0.ɵɵFactoryDeclaration<ChoroplethChartComponent, never>;
175
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChoroplethChartComponent, "ibm-choropleth-chart, cc-choropleth", never, {}, {}, never, never, true, never>;
176
+ }
177
+
178
+ /**
179
+ * @deprecated
180
+ * Wrapper around `ChoroplethChart` in carbon charts library for deprecated selector.
181
+ *
182
+ * Most functions just call their equivalent from the chart library.
183
+ */
184
+ declare class ExperimentalChoroplethChartComponent extends BaseChartComponent implements AfterViewInit {
185
+ /**
186
+ * Runs after view init to create a chart, attach it to `elementRef` and draw it.
187
+ */
188
+ ngAfterViewInit(): void;
189
+ static ɵfac: i0.ɵɵFactoryDeclaration<ExperimentalChoroplethChartComponent, never>;
190
+ static ɵcmp: i0.ɵɵComponentDeclaration<ExperimentalChoroplethChartComponent, "ibm-experimental-choropleth-chart", never, {}, {}, never, never, true, never>;
191
+ }
192
+
193
+ /**
194
+ * Wrapper around `GaugeChart` in carbon charts library
195
+ *
196
+ * Most functions just call their equivalent from the chart library.
197
+ */
198
+ declare class GaugeChartComponent extends BaseChartComponent implements AfterViewInit {
199
+ /**
200
+ * Runs after view init to create a chart, attach it to `elementRef` and draw it.
201
+ */
202
+ ngAfterViewInit(): void;
203
+ static ɵfac: i0.ɵɵFactoryDeclaration<GaugeChartComponent, never>;
204
+ static ɵcmp: i0.ɵɵComponentDeclaration<GaugeChartComponent, "ibm-gauge-chart, cc-gauge", never, {}, {}, never, never, true, never>;
205
+ }
206
+
207
+ /**
208
+ * Wrapper around `GroupedBarChart` in carbon charts library
209
+ *
210
+ * Most functions just call their equivalent from the chart library.
211
+ */
212
+ declare class GroupedBarChartComponent extends BaseChartComponent implements AfterViewInit {
213
+ /**
214
+ * Runs after view init to create a chart, attach it to `elementRef` and draw it.
215
+ */
216
+ ngAfterViewInit(): void;
217
+ static ɵfac: i0.ɵɵFactoryDeclaration<GroupedBarChartComponent, never>;
218
+ static ɵcmp: i0.ɵɵComponentDeclaration<GroupedBarChartComponent, "ibm-grouped-bar-chart, cc-bar-grouped", never, {}, {}, never, never, true, never>;
219
+ }
220
+
221
+ /**
222
+ * Wrapper around `HeatmapChart` in carbon charts library
223
+ *
224
+ * Most functions just call their equivalent from the chart library.
225
+ */
226
+ declare class HeatmapChartComponent extends BaseChartComponent implements AfterViewInit {
227
+ /**
228
+ * Runs after view init to create a chart, attach it to `elementRef` and draw it.
229
+ */
230
+ ngAfterViewInit(): void;
231
+ static ɵfac: i0.ɵɵFactoryDeclaration<HeatmapChartComponent, never>;
232
+ static ɵcmp: i0.ɵɵComponentDeclaration<HeatmapChartComponent, "ibm-heatmap-chart, cc-heatmap", never, {}, {}, never, never, true, never>;
233
+ }
234
+
235
+ /**
236
+ * Wrapper around `HistogramChart` in carbon charts library
237
+ *
238
+ * Most functions just call their equivalent from the chart library.
239
+ */
240
+ declare class HistogramChartComponent extends BaseChartComponent implements AfterViewInit {
241
+ /**
242
+ * Runs after view init to create a chart, attach it to `elementRef` and draw it.
243
+ */
244
+ ngAfterViewInit(): void;
245
+ static ɵfac: i0.ɵɵFactoryDeclaration<HistogramChartComponent, never>;
246
+ static ɵcmp: i0.ɵɵComponentDeclaration<HistogramChartComponent, "ibm-histogram-chart, cc-histogram", never, {}, {}, never, never, true, never>;
247
+ }
248
+
249
+ /**
250
+ * Wrapper around `LineChart` in carbon charts library
251
+ *
252
+ * Most functions just call their equivalent from the chart library.
253
+ */
254
+ declare class LineChartComponent extends BaseChartComponent implements AfterViewInit {
255
+ /**
256
+ * Runs after view init to create a chart, attach it to `elementRef` and draw it.
257
+ */
258
+ ngAfterViewInit(): void;
259
+ static ɵfac: i0.ɵɵFactoryDeclaration<LineChartComponent, never>;
260
+ static ɵcmp: i0.ɵɵComponentDeclaration<LineChartComponent, "ibm-line-chart, cc-line", never, {}, {}, never, never, true, never>;
261
+ }
262
+
263
+ /**
264
+ * Wrapper around `LollipopChart` in carbon charts library
265
+ *
266
+ * Most functions just call their equivalent from the chart library.
267
+ */
268
+ declare class LollipopChartComponent extends BaseChartComponent implements AfterViewInit {
269
+ /**
270
+ * Runs after view init to create a chart, attach it to `elementRef` and draw it.
271
+ */
272
+ ngAfterViewInit(): void;
273
+ static ɵfac: i0.ɵɵFactoryDeclaration<LollipopChartComponent, never>;
274
+ static ɵcmp: i0.ɵɵComponentDeclaration<LollipopChartComponent, "ibm-lollipop-chart, cc-lollipop", never, {}, {}, never, never, true, never>;
275
+ }
276
+
277
+ /**
278
+ * Wrapper around `MeterChart` in carbon charts library
279
+ *
280
+ * Most functions just call their equivalent from the chart library.
281
+ */
282
+ declare class MeterChartComponent extends BaseChartComponent implements AfterViewInit {
283
+ /**
284
+ * Runs after view init to create a chart, attach it to `elementRef` and draw it.
285
+ */
286
+ ngAfterViewInit(): void;
287
+ static ɵfac: i0.ɵɵFactoryDeclaration<MeterChartComponent, never>;
288
+ static ɵcmp: i0.ɵɵComponentDeclaration<MeterChartComponent, "ibm-meter-chart, cc-meter", never, {}, {}, never, never, true, never>;
289
+ }
290
+
291
+ /**
292
+ * Wrapper around `PieChart` in carbon charts library
293
+ *
294
+ * Most functions just call their equivalent from the chart library.
295
+ */
296
+ declare class PieChartComponent extends BaseChartComponent implements AfterViewInit {
297
+ /**
298
+ * Runs after view init to create a chart, attach it to `elementRef` and draw it.
299
+ */
300
+ ngAfterViewInit(): void;
301
+ static ɵfac: i0.ɵɵFactoryDeclaration<PieChartComponent, never>;
302
+ static ɵcmp: i0.ɵɵComponentDeclaration<PieChartComponent, "ibm-pie-chart, cc-pie", never, {}, {}, never, never, true, never>;
303
+ }
304
+
305
+ /**
306
+ * Wrapper around `RadarChart` in carbon charts library
307
+ *
308
+ * Most functions just call their equivalent from the chart library.
309
+ */
310
+ declare class RadarChartComponent extends BaseChartComponent implements AfterViewInit {
311
+ /**
312
+ * Runs after view init to create a chart, attach it to `elementRef` and draw it.
313
+ */
314
+ ngAfterViewInit(): void;
315
+ static ɵfac: i0.ɵɵFactoryDeclaration<RadarChartComponent, never>;
316
+ static ɵcmp: i0.ɵɵComponentDeclaration<RadarChartComponent, "ibm-radar-chart, cc-radar", never, {}, {}, never, never, true, never>;
317
+ }
318
+
319
+ /**
320
+ * Wrapper around `ScatterChart` in carbon charts library
321
+ *
322
+ * Most functions just call their equivalent from the chart library.
323
+ */
324
+ declare class ScatterChartComponent extends BaseChartComponent implements AfterViewInit {
325
+ /**
326
+ * Runs after view init to create a chart, attach it to `elementRef` and draw it.
327
+ */
328
+ ngAfterViewInit(): void;
329
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScatterChartComponent, never>;
330
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScatterChartComponent, "ibm-scatter-chart, cc-scatter", never, {}, {}, never, never, true, never>;
331
+ }
332
+
333
+ /**
334
+ * Wrapper around `SimpleBarChart` in carbon charts library
335
+ *
336
+ * Most functions just call their equivalent from the chart library.
337
+ */
338
+ declare class SimpleBarChartComponent extends BaseChartComponent implements AfterViewInit {
339
+ /**
340
+ * Runs after view init to create a chart, attach it to `elementRef` and draw it.
341
+ */
342
+ ngAfterViewInit(): void;
343
+ static ɵfac: i0.ɵɵFactoryDeclaration<SimpleBarChartComponent, never>;
344
+ static ɵcmp: i0.ɵɵComponentDeclaration<SimpleBarChartComponent, "ibm-simple-bar-chart, cc-bar", never, {}, {}, never, never, true, never>;
345
+ }
346
+
347
+ /**
348
+ * Wrapper around `StackedAreaChart` in carbon charts library
349
+ *
350
+ * Most functions just call their equivalent from the chart library.
351
+ */
352
+ declare class StackedAreaChartComponent extends BaseChartComponent implements AfterViewInit {
353
+ /**
354
+ * Runs after view init to create a chart, attach it to `elementRef` and draw it.
355
+ */
356
+ ngAfterViewInit(): void;
357
+ static ɵfac: i0.ɵɵFactoryDeclaration<StackedAreaChartComponent, never>;
358
+ static ɵcmp: i0.ɵɵComponentDeclaration<StackedAreaChartComponent, "ibm-stacked-area-chart, cc-area-stacked", never, {}, {}, never, never, true, never>;
359
+ }
360
+
361
+ /**
362
+ * Wrapper around `StackedBarChart` in carbon charts library
363
+ *
364
+ * Most functions just call their equivalent from the chart library.
365
+ */
366
+ declare class StackedBarChartComponent extends BaseChartComponent implements AfterViewInit {
367
+ /**
368
+ * Runs after view init to create a chart, attach it to `elementRef` and draw it.
369
+ */
370
+ ngAfterViewInit(): void;
371
+ static ɵfac: i0.ɵɵFactoryDeclaration<StackedBarChartComponent, never>;
372
+ static ɵcmp: i0.ɵɵComponentDeclaration<StackedBarChartComponent, "ibm-stacked-bar-chart, cc-bar-stacked", never, {}, {}, never, never, true, never>;
373
+ }
374
+
375
+ /**
376
+ * Wrapper around `TreeChart` in carbon charts library
377
+ *
378
+ * Most functions just call their equivalent from the chart library.
379
+ */
380
+ declare class TreeChartComponent extends BaseChartComponent implements AfterViewInit {
381
+ /**
382
+ * Runs after view init to create a chart, attach it to `elementRef` and draw it.
383
+ */
384
+ ngAfterViewInit(): void;
385
+ static ɵfac: i0.ɵɵFactoryDeclaration<TreeChartComponent, never>;
386
+ static ɵcmp: i0.ɵɵComponentDeclaration<TreeChartComponent, "ibm-tree-chart, cc-tree", never, {}, {}, never, never, true, never>;
387
+ }
388
+
389
+ /**
390
+ * Wrapper around `TreemapChart` in carbon charts library
391
+ *
392
+ * Most functions just call their equivalent from the chart library.
393
+ */
394
+ declare class TreemapChartComponent extends BaseChartComponent implements AfterViewInit {
395
+ /**
396
+ * Runs after view init to create a chart, attach it to `elementRef` and draw it.
397
+ */
398
+ ngAfterViewInit(): void;
399
+ static ɵfac: i0.ɵɵFactoryDeclaration<TreemapChartComponent, never>;
400
+ static ɵcmp: i0.ɵɵComponentDeclaration<TreemapChartComponent, "ibm-treemap-chart, cc-treemap", never, {}, {}, never, never, true, never>;
401
+ }
402
+
403
+ /**
404
+ * Wrapper around `WordCloudChart` in carbon charts library
405
+ *
406
+ * Most functions just call their equivalent from the chart library.
407
+ */
408
+ declare class WordCloudChartComponent extends BaseChartComponent implements AfterViewInit {
409
+ /**
410
+ * Runs after view init to create a chart, attach it to `elementRef` and draw it.
411
+ */
412
+ ngAfterViewInit(): void;
413
+ static ɵfac: i0.ɵɵFactoryDeclaration<WordCloudChartComponent, never>;
414
+ static ɵcmp: i0.ɵɵComponentDeclaration<WordCloudChartComponent, "ibm-wordcloud-chart, cc-wordcloud", never, {}, {}, never, never, true, never>;
415
+ }
416
+
417
+ declare class ChartsModule {
418
+ static ɵfac: i0.ɵɵFactoryDeclaration<ChartsModule, never>;
419
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ChartsModule, never, [typeof AlluvialChartComponent, typeof AreaChartComponent, typeof BaseChartComponent, typeof BoxplotChartComponent, typeof BubbleChartComponent, typeof BulletChartComponent, typeof ChoroplethChartComponent, typeof CirclePackChartComponent, typeof ComboChartComponent, typeof DonutChartComponent, typeof ExperimentalChoroplethChartComponent, typeof GaugeChartComponent, typeof GroupedBarChartComponent, typeof HeatmapChartComponent, typeof HistogramChartComponent, typeof LineChartComponent, typeof LollipopChartComponent, typeof MeterChartComponent, typeof PieChartComponent, typeof RadarChartComponent, typeof ScatterChartComponent, typeof SimpleBarChartComponent, typeof StackedAreaChartComponent, typeof StackedBarChartComponent, typeof TreeChartComponent, typeof TreemapChartComponent, typeof WordCloudChartComponent], [typeof AlluvialChartComponent, typeof AreaChartComponent, typeof BaseChartComponent, typeof BoxplotChartComponent, typeof BubbleChartComponent, typeof BulletChartComponent, typeof ChoroplethChartComponent, typeof CirclePackChartComponent, typeof ComboChartComponent, typeof DonutChartComponent, typeof ExperimentalChoroplethChartComponent, typeof GaugeChartComponent, typeof GroupedBarChartComponent, typeof HeatmapChartComponent, typeof HistogramChartComponent, typeof LineChartComponent, typeof LollipopChartComponent, typeof MeterChartComponent, typeof PieChartComponent, typeof RadarChartComponent, typeof ScatterChartComponent, typeof SimpleBarChartComponent, typeof StackedAreaChartComponent, typeof StackedBarChartComponent, typeof TreeChartComponent, typeof TreemapChartComponent, typeof WordCloudChartComponent]>;
420
+ static ɵinj: i0.ɵɵInjectorDeclaration<ChartsModule>;
421
+ }
422
+
423
+ declare class MarkerComponent {
424
+ d: string;
425
+ color: string;
426
+ id: string;
427
+ orient: string | number;
428
+ height: string | number;
429
+ width: string | number;
430
+ refX: string | number;
431
+ refY: string | number;
432
+ position: 'start' | 'end';
433
+ namespace: string;
434
+ setAttributes: ({ d, id, height, width }: {
435
+ d: string;
436
+ id: string;
437
+ height: number;
438
+ width: number;
439
+ }) => void;
440
+ static ɵfac: i0.ɵɵFactoryDeclaration<MarkerComponent, never>;
441
+ static ɵcmp: i0.ɵɵComponentDeclaration<MarkerComponent, "ibm-graph-marker,[ibm-graph-marker]", never, { "d": { "alias": "d"; "required": false; }; "color": { "alias": "color"; "required": false; }; "id": { "alias": "id"; "required": false; }; "orient": { "alias": "orient"; "required": false; }; "height": { "alias": "height"; "required": false; }; "width": { "alias": "width"; "required": false; }; "refX": { "alias": "refX"; "required": false; }; "refY": { "alias": "refY"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, {}, never, never, true, never>;
442
+ }
443
+ declare class MarkerArrowLeftComponent extends MarkerComponent implements OnInit {
444
+ ngOnInit(): void;
445
+ static ɵfac: i0.ɵɵFactoryDeclaration<MarkerArrowLeftComponent, never>;
446
+ static ɵcmp: i0.ɵɵComponentDeclaration<MarkerArrowLeftComponent, "ibm-graph-marker-arrow-left,[ibm-graph-marker-arrow-left]", never, {}, {}, never, never, true, never>;
447
+ }
448
+ declare class MarkerArrowRightComponent extends MarkerComponent implements OnInit {
449
+ ngOnInit(): void;
450
+ static ɵfac: i0.ɵɵFactoryDeclaration<MarkerArrowRightComponent, never>;
451
+ static ɵcmp: i0.ɵɵComponentDeclaration<MarkerArrowRightComponent, "ibm-graph-marker-arrow-right,[ibm-graph-marker-arrow-right]", never, {}, {}, never, never, true, never>;
452
+ }
453
+ declare class MarkerShapeNodeComponent extends MarkerComponent implements OnInit {
454
+ ngOnInit(): void;
455
+ static ɵfac: i0.ɵɵFactoryDeclaration<MarkerShapeNodeComponent, never>;
456
+ static ɵcmp: i0.ɵɵComponentDeclaration<MarkerShapeNodeComponent, "ibm-graph-marker-circle,[ibm-graph-marker-circle]", never, {}, {}, never, never, true, never>;
457
+ }
458
+ declare class MarkerDiamondComponent extends MarkerComponent implements OnInit {
459
+ ngOnInit(): void;
460
+ static ɵfac: i0.ɵɵFactoryDeclaration<MarkerDiamondComponent, never>;
461
+ static ɵcmp: i0.ɵɵComponentDeclaration<MarkerDiamondComponent, "ibm-graph-marker-diamond,[ibm-graph-marker-diamond]", never, {}, {}, never, never, true, never>;
462
+ }
463
+ declare class MarkerSquareComponent extends MarkerComponent implements OnInit {
464
+ ngOnInit(): void;
465
+ static ɵfac: i0.ɵɵFactoryDeclaration<MarkerSquareComponent, never>;
466
+ static ɵcmp: i0.ɵɵComponentDeclaration<MarkerSquareComponent, "ibm-graph-marker-square,[ibm-graph-marker-square]", never, {}, {}, never, never, true, never>;
467
+ }
468
+ declare class MarkerTeeComponent extends MarkerComponent implements OnInit {
469
+ ngOnInit(): void;
470
+ static ɵfac: i0.ɵɵFactoryDeclaration<MarkerTeeComponent, never>;
471
+ static ɵcmp: i0.ɵɵComponentDeclaration<MarkerTeeComponent, "ibm-graph-marker-tee,[ibm-graph-marker-tee]", never, {}, {}, never, never, true, never>;
472
+ }
473
+
474
+ declare class MarkerModule {
475
+ static ɵfac: i0.ɵɵFactoryDeclaration<MarkerModule, never>;
476
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MarkerModule, never, [typeof i1.CommonModule, typeof MarkerComponent, typeof MarkerArrowLeftComponent, typeof MarkerArrowRightComponent, typeof MarkerShapeNodeComponent, typeof MarkerDiamondComponent, typeof MarkerSquareComponent, typeof MarkerTeeComponent], [typeof MarkerComponent, typeof MarkerArrowLeftComponent, typeof MarkerArrowRightComponent, typeof MarkerShapeNodeComponent, typeof MarkerDiamondComponent, typeof MarkerSquareComponent, typeof MarkerTeeComponent]>;
477
+ static ɵinj: i0.ɵɵInjectorDeclaration<MarkerModule>;
478
+ }
479
+
480
+ interface Coordinates {
481
+ x: number;
482
+ y: number;
483
+ }
484
+ declare class EdgeComponent {
485
+ color: string;
486
+ markerEnd: string;
487
+ markerStart: string;
488
+ source: Coordinates;
489
+ target: Coordinates;
490
+ variant?: 'dash-sm' | 'dash-md' | 'dash-lg' | 'dash-xl' | 'double' | 'tunnel';
491
+ path: string;
492
+ pathClasses: string;
493
+ namespace: string;
494
+ straight: (source: _carbon_charts.Coordinates, target: _carbon_charts.Coordinates) => string;
495
+ static ɵfac: i0.ɵɵFactoryDeclaration<EdgeComponent, never>;
496
+ static ɵcmp: i0.ɵɵComponentDeclaration<EdgeComponent, "ibm-graph-edge, [ibm-graph-edge]", never, { "color": { "alias": "color"; "required": false; }; "markerEnd": { "alias": "markerEnd"; "required": false; }; "markerStart": { "alias": "markerStart"; "required": false; }; "source": { "alias": "source"; "required": false; }; "target": { "alias": "target"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "path": { "alias": "path"; "required": false; }; }, {}, never, never, true, never>;
497
+ }
498
+
499
+ declare class EdgeModule {
500
+ static ɵfac: i0.ɵɵFactoryDeclaration<EdgeModule, never>;
501
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EdgeModule, never, [typeof i1.CommonModule, typeof EdgeComponent], [typeof EdgeComponent]>;
502
+ static ɵinj: i0.ɵɵInjectorDeclaration<EdgeModule>;
503
+ }
504
+
505
+ declare class CardNodeComponent implements OnInit {
506
+ as: string;
507
+ href: string;
508
+ color: string;
509
+ stacked: boolean;
510
+ position: string;
511
+ click: EventEmitter<MouseEvent>;
512
+ mouseEnter: EventEmitter<MouseEvent>;
513
+ mouseOver: EventEmitter<MouseEvent>;
514
+ mouseOut: EventEmitter<MouseEvent>;
515
+ mouseLeave: EventEmitter<MouseEvent>;
516
+ mouseMove: EventEmitter<MouseEvent>;
517
+ namespace: string;
518
+ component: string;
519
+ ngOnInit(): void;
520
+ static ɵfac: i0.ɵɵFactoryDeclaration<CardNodeComponent, never>;
521
+ static ɵcmp: i0.ɵɵComponentDeclaration<CardNodeComponent, "ibm-diagram-card-node", never, { "as": { "alias": "as"; "required": false; }; "href": { "alias": "href"; "required": false; }; "color": { "alias": "color"; "required": false; }; "stacked": { "alias": "stacked"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, { "click": "click"; "mouseEnter": "mouseEnter"; "mouseOver": "mouseOver"; "mouseOut": "mouseOut"; "mouseLeave": "mouseLeave"; "mouseMove": "mouseMove"; }, never, ["*"], true, never>;
522
+ }
523
+
524
+ declare class CardNodeColumnComponent {
525
+ farsideColumn: boolean;
526
+ get class(): string;
527
+ static ɵfac: i0.ɵɵFactoryDeclaration<CardNodeColumnComponent, never>;
528
+ static ɵcmp: i0.ɵɵComponentDeclaration<CardNodeColumnComponent, "ibm-diagram-card-node-column", never, { "farsideColumn": { "alias": "farsideColumn"; "required": false; }; }, {}, never, ["*"], true, never>;
529
+ }
530
+
531
+ declare class CardNodeLabelComponent {
532
+ namespace: string;
533
+ static ɵfac: i0.ɵɵFactoryDeclaration<CardNodeLabelComponent, never>;
534
+ static ɵcmp: i0.ɵɵComponentDeclaration<CardNodeLabelComponent, "ibm-diagram-card-node-label", never, {}, {}, never, ["*"], true, never>;
535
+ }
536
+
537
+ declare class CardNodeSubtitleComponent {
538
+ namespace: string;
539
+ static ɵfac: i0.ɵɵFactoryDeclaration<CardNodeSubtitleComponent, never>;
540
+ static ɵcmp: i0.ɵɵComponentDeclaration<CardNodeSubtitleComponent, "ibm-diagram-card-node-subtitle", never, {}, {}, never, ["*"], true, never>;
541
+ }
542
+
543
+ declare class CardNodeTitleComponent {
544
+ namespace: string;
545
+ static ɵfac: i0.ɵɵFactoryDeclaration<CardNodeTitleComponent, never>;
546
+ static ɵcmp: i0.ɵɵComponentDeclaration<CardNodeTitleComponent, "ibm-diagram-card-node-title", never, {}, {}, never, ["*"], true, never>;
547
+ }
548
+
549
+ declare class CardNodeModule {
550
+ static ɵfac: i0.ɵɵFactoryDeclaration<CardNodeModule, never>;
551
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CardNodeModule, never, [typeof i1.CommonModule, typeof CardNodeComponent, typeof CardNodeColumnComponent, typeof CardNodeLabelComponent, typeof CardNodeSubtitleComponent, typeof CardNodeTitleComponent], [typeof CardNodeComponent, typeof CardNodeColumnComponent, typeof CardNodeLabelComponent, typeof CardNodeSubtitleComponent, typeof CardNodeTitleComponent]>;
552
+ static ɵinj: i0.ɵɵInjectorDeclaration<CardNodeModule>;
553
+ }
554
+
555
+ declare class ShapeNodeComponent implements OnInit {
556
+ as: string;
557
+ href: string;
558
+ renderIcon?: TemplateRef<void>;
559
+ size: number;
560
+ stacked: boolean;
561
+ shape: 'circle' | 'square' | 'rounded-square';
562
+ subtitle: string;
563
+ title: string;
564
+ position: string;
565
+ bodyPosition: string;
566
+ click: EventEmitter<MouseEvent>;
567
+ mouseEnter: EventEmitter<MouseEvent>;
568
+ mouseOver: EventEmitter<MouseEvent>;
569
+ mouseOut: EventEmitter<MouseEvent>;
570
+ mouseLeave: EventEmitter<MouseEvent>;
571
+ mouseMove: EventEmitter<MouseEvent>;
572
+ namespace: string;
573
+ component: string;
574
+ ngOnInit(): void;
575
+ static ɵfac: i0.ɵɵFactoryDeclaration<ShapeNodeComponent, never>;
576
+ static ɵcmp: i0.ɵɵComponentDeclaration<ShapeNodeComponent, "ibm-diagram-shape-node", never, { "as": { "alias": "as"; "required": false; }; "href": { "alias": "href"; "required": false; }; "renderIcon": { "alias": "renderIcon"; "required": false; }; "size": { "alias": "size"; "required": false; }; "stacked": { "alias": "stacked"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "title": { "alias": "title"; "required": false; }; "position": { "alias": "position"; "required": false; }; "bodyPosition": { "alias": "bodyPosition"; "required": false; }; }, { "click": "click"; "mouseEnter": "mouseEnter"; "mouseOver": "mouseOver"; "mouseOut": "mouseOut"; "mouseLeave": "mouseLeave"; "mouseMove": "mouseMove"; }, never, never, true, never>;
577
+ }
578
+
579
+ declare class ShapeNodeModule {
580
+ static ɵfac: i0.ɵɵFactoryDeclaration<ShapeNodeModule, never>;
581
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ShapeNodeModule, never, [typeof i1.CommonModule, typeof ShapeNodeComponent], [typeof ShapeNodeComponent]>;
582
+ static ɵinj: i0.ɵɵInjectorDeclaration<ShapeNodeModule>;
583
+ }
584
+
585
+ export { AlluvialChartComponent, AreaChartComponent, BaseChartComponent, BoxplotChartComponent, BubbleChartComponent, BulletChartComponent, CardNodeColumnComponent, CardNodeComponent, CardNodeLabelComponent, CardNodeModule, CardNodeSubtitleComponent, CardNodeTitleComponent, ChartsModule, ChoroplethChartComponent, CirclePackChartComponent, ComboChartComponent, DonutChartComponent, EdgeComponent, EdgeModule, ExperimentalChoroplethChartComponent, GaugeChartComponent, GroupedBarChartComponent, HeatmapChartComponent, HistogramChartComponent, LineChartComponent, LollipopChartComponent, MarkerArrowLeftComponent, MarkerArrowRightComponent, MarkerComponent, MarkerDiamondComponent, MarkerModule, MarkerShapeNodeComponent, MarkerSquareComponent, MarkerTeeComponent, MeterChartComponent, PieChartComponent, RadarChartComponent, ScatterChartComponent, ShapeNodeComponent, ShapeNodeModule, SimpleBarChartComponent, StackedAreaChartComponent, StackedBarChartComponent, TreeChartComponent, TreemapChartComponent, WordCloudChartComponent };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carbon/charts-angular",
3
- "version": "1.23.15",
3
+ "version": "1.23.17",
4
4
  "description": "Carbon Charts component library for Angular",
5
5
  "exports": {
6
6
  "./styles.min.css": "./styles.min.css",
@@ -16,11 +16,11 @@
16
16
  "sideEffects": false,
17
17
  "type": "module",
18
18
  "peerDependencies": {
19
- "@angular/common": "^19.0.6",
20
- "@angular/core": "^19.0.6"
19
+ "@angular/common": "^20.0.0",
20
+ "@angular/core": "^20.0.0"
21
21
  },
22
22
  "dependencies": {
23
- "@carbon/charts": "1.23.15",
23
+ "@carbon/charts": "1.23.17",
24
24
  "@ibm/telemetry-js": "^1.9.1",
25
25
  "tslib": "^2.8.1"
26
26
  },