@carbon/charts-angular 1.8.0 → 1.9.0-next.1.0
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.
- package/README.md +12 -18
- package/esm2022/carbon-charts-angular.mjs +5 -0
- package/esm2022/index.mjs +14 -0
- package/esm2022/lib/charts/alluvial-chart.component.mjs +31 -0
- package/esm2022/lib/charts/area-chart-stacked.component.mjs +31 -0
- package/esm2022/lib/charts/area-chart.component.mjs +31 -0
- package/esm2022/lib/charts/bar-chart-grouped.component.mjs +31 -0
- package/esm2022/lib/charts/bar-chart-simple.component.mjs +31 -0
- package/esm2022/lib/charts/bar-chart-stacked.component.mjs +31 -0
- package/esm2022/lib/charts/base-chart.component.mjs +74 -0
- package/esm2022/lib/charts/boxplot-chart.component.mjs +31 -0
- package/esm2022/lib/charts/bubble-chart.component.mjs +31 -0
- package/esm2022/lib/charts/bullet-chart.component.mjs +31 -0
- package/esm2022/lib/charts/charts.module.mjs +122 -0
- package/esm2022/lib/charts/choropleth.component.mjs +31 -0
- package/esm2022/lib/charts/circle-pack-chart.component.mjs +31 -0
- package/esm2022/lib/charts/combo-chart.component.mjs +31 -0
- package/esm2022/lib/charts/donut-chart.component.mjs +31 -0
- package/esm2022/lib/charts/gauge-chart.component.mjs +31 -0
- package/esm2022/lib/charts/heatmap-chart.component.mjs +31 -0
- package/esm2022/lib/charts/histogram-chart.component.mjs +31 -0
- package/esm2022/lib/charts/index.mjs +28 -0
- package/esm2022/lib/charts/line-chart.component.mjs +31 -0
- package/esm2022/lib/charts/lollipop-chart.component.mjs +31 -0
- package/esm2022/lib/charts/meter-chart.component.mjs +31 -0
- package/esm2022/lib/charts/pie-chart.component.mjs +31 -0
- package/esm2022/lib/charts/radar-chart.component.mjs +31 -0
- package/esm2022/lib/charts/scatter-chart.component.mjs +31 -0
- package/esm2022/lib/charts/tree-chart.component.mjs +31 -0
- package/esm2022/lib/charts/treemap-chart.component.mjs +31 -0
- package/esm2022/lib/charts/wordcloud-chart.component.mjs +31 -0
- package/esm2022/lib/diagrams/config.mjs +2 -0
- package/esm2022/lib/diagrams/edges/edge.component.mjs +72 -0
- package/esm2022/lib/diagrams/edges/edge.module.mjs +19 -0
- package/esm2022/lib/diagrams/edges/marker/marker.component.mjs +154 -0
- package/esm2022/lib/diagrams/edges/marker/marker.module.mjs +47 -0
- package/esm2022/lib/diagrams/index.mjs +5 -0
- package/esm2022/lib/diagrams/nodes/cards/card-node-column.component.mjs +37 -0
- package/esm2022/lib/diagrams/nodes/cards/card-node-label.component.mjs +27 -0
- package/esm2022/lib/diagrams/nodes/cards/card-node-subtitle.component.mjs +27 -0
- package/esm2022/lib/diagrams/nodes/cards/card-node-title.component.mjs +27 -0
- package/esm2022/lib/diagrams/nodes/cards/card-node.component.mjs +190 -0
- package/esm2022/lib/diagrams/nodes/cards/card-node.module.mjs +43 -0
- package/esm2022/lib/diagrams/nodes/shape/shape-node.component.mjs +240 -0
- package/esm2022/lib/diagrams/nodes/shape/shape-node.module.mjs +19 -0
- package/esm2022/lib/index.mjs +3 -0
- package/fesm2022/carbon-charts-angular.mjs +1728 -0
- package/fesm2022/carbon-charts-angular.mjs.map +1 -0
- package/index.d.ts +5 -38
- package/lib/charts/alluvial-chart.component.d.ts +16 -0
- package/lib/charts/area-chart-stacked.component.d.ts +16 -0
- package/lib/charts/area-chart.component.d.ts +16 -0
- package/lib/charts/bar-chart-grouped.component.d.ts +16 -0
- package/lib/charts/bar-chart-simple.component.d.ts +16 -0
- package/lib/charts/bar-chart-stacked.component.d.ts +16 -0
- package/lib/charts/base-chart.component.d.ts +46 -0
- package/lib/charts/boxplot-chart.component.d.ts +16 -0
- package/lib/charts/bubble-chart.component.d.ts +16 -0
- package/lib/charts/bullet-chart.component.d.ts +16 -0
- package/lib/charts/charts.module.d.ts +33 -0
- package/lib/charts/choropleth.component.d.ts +16 -0
- package/lib/charts/circle-pack-chart.component.d.ts +16 -0
- package/lib/charts/combo-chart.component.d.ts +16 -0
- package/lib/charts/donut-chart.component.d.ts +16 -0
- package/lib/charts/gauge-chart.component.d.ts +16 -0
- package/lib/charts/heatmap-chart.component.d.ts +16 -0
- package/lib/charts/histogram-chart.component.d.ts +16 -0
- package/lib/charts/index.d.ts +27 -0
- package/lib/charts/line-chart.component.d.ts +16 -0
- package/lib/charts/lollipop-chart.component.d.ts +16 -0
- package/lib/charts/meter-chart.component.d.ts +16 -0
- package/lib/charts/pie-chart.component.d.ts +16 -0
- package/lib/charts/radar-chart.component.d.ts +16 -0
- package/lib/charts/scatter-chart.component.d.ts +16 -0
- package/lib/charts/tree-chart.component.d.ts +16 -0
- package/lib/charts/treemap-chart.component.d.ts +16 -0
- package/lib/charts/wordcloud-chart.component.d.ts +16 -0
- package/lib/diagrams/edges/edge.component.d.ts +20 -0
- package/lib/diagrams/edges/edge.module.d.ts +9 -0
- package/lib/diagrams/edges/marker/marker.component.d.ts +52 -0
- package/lib/diagrams/edges/marker/marker.module.d.ts +10 -0
- package/lib/diagrams/index.d.ts +4 -0
- package/lib/diagrams/nodes/cards/card-node-column.component.d.ts +7 -0
- package/lib/diagrams/nodes/cards/card-node-label.component.d.ts +6 -0
- package/lib/diagrams/nodes/cards/card-node-subtitle.component.d.ts +6 -0
- package/lib/diagrams/nodes/cards/card-node-title.component.d.ts +6 -0
- package/lib/diagrams/nodes/cards/card-node.component.d.ts +20 -0
- package/lib/diagrams/nodes/cards/card-node.module.d.ts +18 -0
- package/lib/diagrams/nodes/shape/shape-node.component.d.ts +25 -0
- package/lib/diagrams/nodes/shape/shape-node.module.d.ts +9 -0
- package/lib/index.d.ts +2 -0
- package/package.json +31 -62
- package/styles.css +6345 -0
- package/styles.css.map +1 -0
- package/styles.min.css +1 -0
- package/styles.min.css.map +1 -0
- package/alluvial-chart.component.d.ts +0 -13
- package/area-chart-stacked.component.d.ts +0 -13
- package/area-chart.component.d.ts +0 -13
- package/bar-chart-grouped.component.d.ts +0 -13
- package/bar-chart-simple.component.d.ts +0 -13
- package/bar-chart-stacked.component.d.ts +0 -13
- package/base-chart.component.d.ts +0 -44
- package/boxplot-chart.component.d.ts +0 -13
- package/bubble-chart.component.d.ts +0 -13
- package/bullet-chart.component.d.ts +0 -13
- package/bundles/carbon-charts-angular.umd.js +0 -2156
- package/bundles/carbon-charts-angular.umd.js.map +0 -1
- package/bundles/carbon-charts-angular.umd.min.js +0 -16
- package/bundles/carbon-charts-angular.umd.min.js.map +0 -1
- package/carbon-charts-angular.d.ts +0 -5
- package/carbon-charts-angular.metadata.json +0 -1
- package/charts.module.d.ts +0 -2
- package/choropleth.component.d.ts +0 -13
- package/circle-pack-chart.component.d.ts +0 -13
- package/combo-chart.component.d.ts +0 -13
- package/diagrams/card-node/card-node-column.component.d.ts +0 -4
- package/diagrams/card-node/card-node-label.component.d.ts +0 -3
- package/diagrams/card-node/card-node-subtitle.component.d.ts +0 -3
- package/diagrams/card-node/card-node-title.component.d.ts +0 -3
- package/diagrams/card-node/card-node.component.d.ts +0 -17
- package/diagrams/card-node/card-node.module.d.ts +0 -8
- package/diagrams/edge/edge.component.d.ts +0 -17
- package/diagrams/edge/edge.module.d.ts +0 -3
- package/diagrams/marker/marker.component.d.ts +0 -37
- package/diagrams/marker/marker.module.d.ts +0 -4
- package/diagrams/shape-node/shape-node.component.d.ts +0 -22
- package/diagrams/shape-node/shape-node.module.d.ts +0 -3
- package/donut-chart.component.d.ts +0 -13
- package/esm2015/alluvial-chart.component.js +0 -33
- package/esm2015/area-chart-stacked.component.js +0 -33
- package/esm2015/area-chart.component.js +0 -36
- package/esm2015/bar-chart-grouped.component.js +0 -33
- package/esm2015/bar-chart-simple.component.js +0 -33
- package/esm2015/bar-chart-stacked.component.js +0 -33
- package/esm2015/base-chart.component.js +0 -137
- package/esm2015/boxplot-chart.component.js +0 -33
- package/esm2015/bubble-chart.component.js +0 -33
- package/esm2015/bullet-chart.component.js +0 -33
- package/esm2015/carbon-charts-angular.js +0 -11
- package/esm2015/charts.module.js +0 -97
- package/esm2015/choropleth.component.js +0 -33
- package/esm2015/circle-pack-chart.component.js +0 -33
- package/esm2015/combo-chart.component.js +0 -33
- package/esm2015/diagrams/card-node/card-node-column.component.js +0 -41
- package/esm2015/diagrams/card-node/card-node-label.component.js +0 -27
- package/esm2015/diagrams/card-node/card-node-subtitle.component.js +0 -27
- package/esm2015/diagrams/card-node/card-node-title.component.js +0 -27
- package/esm2015/diagrams/card-node/card-node.component.js +0 -148
- package/esm2015/diagrams/card-node/card-node.module.js +0 -23
- package/esm2015/diagrams/configs.js +0 -8
- package/esm2015/diagrams/edge/edge.component.js +0 -80
- package/esm2015/diagrams/edge/edge.module.js +0 -19
- package/esm2015/diagrams/marker/marker.component.js +0 -141
- package/esm2015/diagrams/marker/marker.module.js +0 -35
- package/esm2015/diagrams/shape-node/shape-node.component.js +0 -187
- package/esm2015/diagrams/shape-node/shape-node.module.js +0 -19
- package/esm2015/donut-chart.component.js +0 -33
- package/esm2015/gauge-chart.component.js +0 -33
- package/esm2015/heatmap-chart.component.js +0 -33
- package/esm2015/histogram-chart.component.js +0 -33
- package/esm2015/index.js +0 -45
- package/esm2015/line-chart.component.js +0 -33
- package/esm2015/lollipop-chart.component.js +0 -33
- package/esm2015/meter-chart.component.js +0 -33
- package/esm2015/pie-chart.component.js +0 -33
- package/esm2015/radar-chart.component.js +0 -33
- package/esm2015/scatter-chart.component.js +0 -33
- package/esm2015/tree-chart.component.js +0 -33
- package/esm2015/treemap-chart.component.js +0 -33
- package/esm2015/wordcloud-chart.component.js +0 -33
- package/esm5/alluvial-chart.component.js +0 -47
- package/esm5/area-chart-stacked.component.js +0 -47
- package/esm5/area-chart.component.js +0 -47
- package/esm5/bar-chart-grouped.component.js +0 -47
- package/esm5/bar-chart-simple.component.js +0 -47
- package/esm5/bar-chart-stacked.component.js +0 -47
- package/esm5/base-chart.component.js +0 -160
- package/esm5/boxplot-chart.component.js +0 -47
- package/esm5/bubble-chart.component.js +0 -47
- package/esm5/bullet-chart.component.js +0 -47
- package/esm5/carbon-charts-angular.js +0 -11
- package/esm5/charts.module.js +0 -101
- package/esm5/choropleth.component.js +0 -47
- package/esm5/circle-pack-chart.component.js +0 -47
- package/esm5/combo-chart.component.js +0 -47
- package/esm5/diagrams/card-node/card-node-column.component.js +0 -43
- package/esm5/diagrams/card-node/card-node-label.component.js +0 -25
- package/esm5/diagrams/card-node/card-node-subtitle.component.js +0 -25
- package/esm5/diagrams/card-node/card-node-title.component.js +0 -25
- package/esm5/diagrams/card-node/card-node.component.js +0 -86
- package/esm5/diagrams/card-node/card-node.module.js +0 -27
- package/esm5/diagrams/configs.js +0 -8
- package/esm5/diagrams/edge/edge.component.js +0 -64
- package/esm5/diagrams/edge/edge.module.js +0 -23
- package/esm5/diagrams/marker/marker.component.js +0 -188
- package/esm5/diagrams/marker/marker.module.js +0 -39
- package/esm5/diagrams/shape-node/shape-node.component.js +0 -104
- package/esm5/diagrams/shape-node/shape-node.module.js +0 -23
- package/esm5/donut-chart.component.js +0 -47
- package/esm5/gauge-chart.component.js +0 -47
- package/esm5/heatmap-chart.component.js +0 -47
- package/esm5/histogram-chart.component.js +0 -47
- package/esm5/index.js +0 -45
- package/esm5/line-chart.component.js +0 -47
- package/esm5/lollipop-chart.component.js +0 -47
- package/esm5/meter-chart.component.js +0 -47
- package/esm5/pie-chart.component.js +0 -47
- package/esm5/radar-chart.component.js +0 -47
- package/esm5/scatter-chart.component.js +0 -47
- package/esm5/tree-chart.component.js +0 -47
- package/esm5/treemap-chart.component.js +0 -47
- package/esm5/wordcloud-chart.component.js +0 -47
- package/fesm2015/carbon-charts-angular.js +0 -1722
- package/fesm2015/carbon-charts-angular.js.map +0 -1
- package/fesm5/carbon-charts-angular.js +0 -1924
- package/fesm5/carbon-charts-angular.js.map +0 -1
- package/gauge-chart.component.d.ts +0 -13
- package/heatmap-chart.component.d.ts +0 -13
- package/histogram-chart.component.d.ts +0 -13
- package/line-chart.component.d.ts +0 -13
- package/lollipop-chart.component.d.ts +0 -13
- package/meter-chart.component.d.ts +0 -13
- package/pie-chart.component.d.ts +0 -13
- package/radar-chart.component.d.ts +0 -13
- package/scatter-chart.component.d.ts +0 -13
- package/tree-chart.component.d.ts +0 -13
- package/treemap-chart.component.d.ts +0 -13
- package/wordcloud-chart.component.d.ts +0 -13
- /package/{diagrams/configs.d.ts → lib/diagrams/config.d.ts} +0 -0
|
@@ -1,1924 +0,0 @@
|
|
|
1
|
-
import { Component, ElementRef, Input, ViewChild, NgModule, EventEmitter, Output, HostBinding } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { __extends, __assign } from 'tslib';
|
|
4
|
-
import { AlluvialChart, AreaChart, StackedAreaChart, SimpleBarChart, GroupedBarChart, StackedBarChart, BoxplotChart, BubbleChart, BulletChart, DonutChart, GaugeChart, HistogramChart, LineChart, LollipopChart, PieChart, ScatterChart, MeterChart, RadarChart, ComboChart, TreeChart, TreemapChart, CirclePackChart, WordCloudChart, HeatmapChart, EXPERIMENTAL_ChoroplethChart } from '@carbon/charts';
|
|
5
|
-
import { buildStraightPathString } from '@carbon/charts/components/diagrams/buildPaths';
|
|
6
|
-
import { arrowLeft, arrowRight, circle, diamond, square, tee } from '@carbon/charts/components/diagrams/markerDefinitions';
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* @fileoverview added by tsickle
|
|
10
|
-
* Generated from: base-chart.component.ts
|
|
11
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
12
|
-
*/
|
|
13
|
-
/**
|
|
14
|
-
* Wrapper around `BaseChart` in carbon charts library
|
|
15
|
-
*
|
|
16
|
-
* Most functions just call their equivalent from the chart library.
|
|
17
|
-
*/
|
|
18
|
-
var BaseChart = /** @class */ (function () {
|
|
19
|
-
function BaseChart(elementRef) {
|
|
20
|
-
this.elementRef = elementRef;
|
|
21
|
-
}
|
|
22
|
-
Object.defineProperty(BaseChart.prototype, "data", {
|
|
23
|
-
get: /**
|
|
24
|
-
* @return {?}
|
|
25
|
-
*/
|
|
26
|
-
function () {
|
|
27
|
-
return this._data;
|
|
28
|
-
},
|
|
29
|
-
/**
|
|
30
|
-
* Data passed to charts library for displaying
|
|
31
|
-
*/
|
|
32
|
-
set: /**
|
|
33
|
-
* Data passed to charts library for displaying
|
|
34
|
-
* @param {?} newData
|
|
35
|
-
* @return {?}
|
|
36
|
-
*/
|
|
37
|
-
function (newData) {
|
|
38
|
-
// If data already exists, that means the chart has been initialized
|
|
39
|
-
/** @type {?} */
|
|
40
|
-
var dataExistsAlready = this._data !== null && this._data !== undefined;
|
|
41
|
-
this._data = newData;
|
|
42
|
-
if (dataExistsAlready) {
|
|
43
|
-
this.chart.model.setData(newData);
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
enumerable: true,
|
|
47
|
-
configurable: true
|
|
48
|
-
});
|
|
49
|
-
Object.defineProperty(BaseChart.prototype, "options", {
|
|
50
|
-
get: /**
|
|
51
|
-
* @return {?}
|
|
52
|
-
*/
|
|
53
|
-
function () {
|
|
54
|
-
return this._options;
|
|
55
|
-
},
|
|
56
|
-
/**
|
|
57
|
-
* Options passed to charts library
|
|
58
|
-
*/
|
|
59
|
-
set: /**
|
|
60
|
-
* Options passed to charts library
|
|
61
|
-
* @param {?} newOptions
|
|
62
|
-
* @return {?}
|
|
63
|
-
*/
|
|
64
|
-
function (newOptions) {
|
|
65
|
-
// If data already exists, that means the chart has been initialized
|
|
66
|
-
/** @type {?} */
|
|
67
|
-
var optionsExistAlready = this._options !== null && this._options !== undefined;
|
|
68
|
-
this._options = newOptions;
|
|
69
|
-
if (optionsExistAlready) {
|
|
70
|
-
this.chart.model.setOptions(newOptions);
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
enumerable: true,
|
|
74
|
-
configurable: true
|
|
75
|
-
});
|
|
76
|
-
/**
|
|
77
|
-
* @return {?}
|
|
78
|
-
*/
|
|
79
|
-
BaseChart.prototype.ngOnInit = /**
|
|
80
|
-
* @return {?}
|
|
81
|
-
*/
|
|
82
|
-
function () {
|
|
83
|
-
// Width prop is mandatory for the wrappers
|
|
84
|
-
if (this.width) {
|
|
85
|
-
this.options.width = this.width;
|
|
86
|
-
}
|
|
87
|
-
// Height prop is mandatory for the wrappers
|
|
88
|
-
if (this.height) {
|
|
89
|
-
this.options.height = this.height;
|
|
90
|
-
}
|
|
91
|
-
};
|
|
92
|
-
/**
|
|
93
|
-
* Runs after view init to create a chart, attach it to `chartRef` and draw it.
|
|
94
|
-
*/
|
|
95
|
-
/**
|
|
96
|
-
* Runs after view init to create a chart, attach it to `chartRef` and draw it.
|
|
97
|
-
* @return {?}
|
|
98
|
-
*/
|
|
99
|
-
BaseChart.prototype.ngAfterViewInit = /**
|
|
100
|
-
* Runs after view init to create a chart, attach it to `chartRef` and draw it.
|
|
101
|
-
* @return {?}
|
|
102
|
-
*/
|
|
103
|
-
function () {
|
|
104
|
-
console.log("You need to implement your own `ngAfterViewInit()` function");
|
|
105
|
-
};
|
|
106
|
-
BaseChart.decorators = [
|
|
107
|
-
{ type: Component, args: [{
|
|
108
|
-
selector: "ibm-base-chart",
|
|
109
|
-
template: ""
|
|
110
|
-
}] }
|
|
111
|
-
];
|
|
112
|
-
/** @nocollapse */
|
|
113
|
-
BaseChart.ctorParameters = function () { return [
|
|
114
|
-
{ type: ElementRef }
|
|
115
|
-
]; };
|
|
116
|
-
BaseChart.propDecorators = {
|
|
117
|
-
data: [{ type: Input }],
|
|
118
|
-
options: [{ type: Input }],
|
|
119
|
-
width: [{ type: Input }],
|
|
120
|
-
height: [{ type: Input }],
|
|
121
|
-
chartRef: [{ type: ViewChild, args: ["nChart",] }]
|
|
122
|
-
};
|
|
123
|
-
return BaseChart;
|
|
124
|
-
}());
|
|
125
|
-
if (false) {
|
|
126
|
-
/**
|
|
127
|
-
* Chart width
|
|
128
|
-
* @type {?}
|
|
129
|
-
*/
|
|
130
|
-
BaseChart.prototype.width;
|
|
131
|
-
/**
|
|
132
|
-
* Chart height
|
|
133
|
-
* @type {?}
|
|
134
|
-
*/
|
|
135
|
-
BaseChart.prototype.height;
|
|
136
|
-
/**
|
|
137
|
-
* Chart container element ref
|
|
138
|
-
* @type {?}
|
|
139
|
-
*/
|
|
140
|
-
BaseChart.prototype.chartRef;
|
|
141
|
-
/**
|
|
142
|
-
* Chart object instance
|
|
143
|
-
*
|
|
144
|
-
* You can use this to do whatever you would normally do with a chart if you used
|
|
145
|
-
* charts library directly.
|
|
146
|
-
* @type {?}
|
|
147
|
-
*/
|
|
148
|
-
BaseChart.prototype.chart;
|
|
149
|
-
/**
|
|
150
|
-
* @type {?}
|
|
151
|
-
* @private
|
|
152
|
-
*/
|
|
153
|
-
BaseChart.prototype._data;
|
|
154
|
-
/**
|
|
155
|
-
* @type {?}
|
|
156
|
-
* @private
|
|
157
|
-
*/
|
|
158
|
-
BaseChart.prototype._options;
|
|
159
|
-
/**
|
|
160
|
-
* @type {?}
|
|
161
|
-
* @protected
|
|
162
|
-
*/
|
|
163
|
-
BaseChart.prototype.elementRef;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
/**
|
|
167
|
-
* @fileoverview added by tsickle
|
|
168
|
-
* Generated from: alluvial-chart.component.ts
|
|
169
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
170
|
-
*/
|
|
171
|
-
/**
|
|
172
|
-
* Wrapper around `Alluvial` in carbon charts library
|
|
173
|
-
*
|
|
174
|
-
* Most functions just call their equivalent from the chart library.
|
|
175
|
-
*/
|
|
176
|
-
var AlluvialChartComponent = /** @class */ (function (_super) {
|
|
177
|
-
__extends(AlluvialChartComponent, _super);
|
|
178
|
-
function AlluvialChartComponent() {
|
|
179
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
180
|
-
}
|
|
181
|
-
/**
|
|
182
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
183
|
-
*/
|
|
184
|
-
/**
|
|
185
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
186
|
-
* @return {?}
|
|
187
|
-
*/
|
|
188
|
-
AlluvialChartComponent.prototype.ngAfterViewInit = /**
|
|
189
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
190
|
-
* @return {?}
|
|
191
|
-
*/
|
|
192
|
-
function () {
|
|
193
|
-
this.chart = new AlluvialChart(this.elementRef.nativeElement, {
|
|
194
|
-
data: this.data,
|
|
195
|
-
options: this.options
|
|
196
|
-
});
|
|
197
|
-
Object.assign(this, this.chart);
|
|
198
|
-
};
|
|
199
|
-
AlluvialChartComponent.decorators = [
|
|
200
|
-
{ type: Component, args: [{
|
|
201
|
-
selector: "ibm-alluvial-chart",
|
|
202
|
-
template: ""
|
|
203
|
-
}] }
|
|
204
|
-
];
|
|
205
|
-
return AlluvialChartComponent;
|
|
206
|
-
}(BaseChart));
|
|
207
|
-
|
|
208
|
-
/**
|
|
209
|
-
* @fileoverview added by tsickle
|
|
210
|
-
* Generated from: area-chart.component.ts
|
|
211
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
212
|
-
*/
|
|
213
|
-
/**
|
|
214
|
-
* Wrapper around `AreaChart` in carbon charts library
|
|
215
|
-
*
|
|
216
|
-
* Most functions just call their equivalent from the chart library.
|
|
217
|
-
*/
|
|
218
|
-
var AreaChartComponent = /** @class */ (function (_super) {
|
|
219
|
-
__extends(AreaChartComponent, _super);
|
|
220
|
-
function AreaChartComponent() {
|
|
221
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
222
|
-
}
|
|
223
|
-
/**
|
|
224
|
-
* Runs after view init to create a chart, attach it to `chartRef` and draw it.
|
|
225
|
-
*/
|
|
226
|
-
/**
|
|
227
|
-
* Runs after view init to create a chart, attach it to `chartRef` and draw it.
|
|
228
|
-
* @return {?}
|
|
229
|
-
*/
|
|
230
|
-
AreaChartComponent.prototype.ngAfterViewInit = /**
|
|
231
|
-
* Runs after view init to create a chart, attach it to `chartRef` and draw it.
|
|
232
|
-
* @return {?}
|
|
233
|
-
*/
|
|
234
|
-
function () {
|
|
235
|
-
this.chart = new AreaChart(this.chartRef.nativeElement, {
|
|
236
|
-
data: this.data,
|
|
237
|
-
options: this.options
|
|
238
|
-
});
|
|
239
|
-
Object.assign(this, this.chart);
|
|
240
|
-
};
|
|
241
|
-
AreaChartComponent.decorators = [
|
|
242
|
-
{ type: Component, args: [{
|
|
243
|
-
selector: "ibm-area-chart",
|
|
244
|
-
template: "\n\t\t<div #nChart class=\"ibm-chart-container\">\n\t\t</div>\n\t"
|
|
245
|
-
}] }
|
|
246
|
-
];
|
|
247
|
-
return AreaChartComponent;
|
|
248
|
-
}(BaseChart));
|
|
249
|
-
|
|
250
|
-
/**
|
|
251
|
-
* @fileoverview added by tsickle
|
|
252
|
-
* Generated from: area-chart-stacked.component.ts
|
|
253
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
254
|
-
*/
|
|
255
|
-
/**
|
|
256
|
-
* Wrapper around `StackedAreaChart` in carbon charts library
|
|
257
|
-
*
|
|
258
|
-
* Most functions just call their equivalent from the chart library.
|
|
259
|
-
*/
|
|
260
|
-
var StackedAreaChartComponent = /** @class */ (function (_super) {
|
|
261
|
-
__extends(StackedAreaChartComponent, _super);
|
|
262
|
-
function StackedAreaChartComponent() {
|
|
263
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
264
|
-
}
|
|
265
|
-
/**
|
|
266
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
267
|
-
*/
|
|
268
|
-
/**
|
|
269
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
270
|
-
* @return {?}
|
|
271
|
-
*/
|
|
272
|
-
StackedAreaChartComponent.prototype.ngAfterViewInit = /**
|
|
273
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
274
|
-
* @return {?}
|
|
275
|
-
*/
|
|
276
|
-
function () {
|
|
277
|
-
this.chart = new StackedAreaChart(this.elementRef.nativeElement, {
|
|
278
|
-
data: this.data,
|
|
279
|
-
options: this.options
|
|
280
|
-
});
|
|
281
|
-
Object.assign(this, this.chart);
|
|
282
|
-
};
|
|
283
|
-
StackedAreaChartComponent.decorators = [
|
|
284
|
-
{ type: Component, args: [{
|
|
285
|
-
selector: "ibm-stacked-area-chart",
|
|
286
|
-
template: ""
|
|
287
|
-
}] }
|
|
288
|
-
];
|
|
289
|
-
return StackedAreaChartComponent;
|
|
290
|
-
}(BaseChart));
|
|
291
|
-
|
|
292
|
-
/**
|
|
293
|
-
* @fileoverview added by tsickle
|
|
294
|
-
* Generated from: bar-chart-simple.component.ts
|
|
295
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
296
|
-
*/
|
|
297
|
-
/**
|
|
298
|
-
* Wrapper around `SimpleBarChart` in carbon charts library
|
|
299
|
-
*
|
|
300
|
-
* Most functions just call their equivalent from the chart library.
|
|
301
|
-
*/
|
|
302
|
-
var SimpleBarChartComponent = /** @class */ (function (_super) {
|
|
303
|
-
__extends(SimpleBarChartComponent, _super);
|
|
304
|
-
function SimpleBarChartComponent() {
|
|
305
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
306
|
-
}
|
|
307
|
-
/**
|
|
308
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
309
|
-
*/
|
|
310
|
-
/**
|
|
311
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
312
|
-
* @return {?}
|
|
313
|
-
*/
|
|
314
|
-
SimpleBarChartComponent.prototype.ngAfterViewInit = /**
|
|
315
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
316
|
-
* @return {?}
|
|
317
|
-
*/
|
|
318
|
-
function () {
|
|
319
|
-
this.chart = new SimpleBarChart(this.elementRef.nativeElement, {
|
|
320
|
-
data: this.data,
|
|
321
|
-
options: this.options
|
|
322
|
-
});
|
|
323
|
-
Object.assign(this, this.chart);
|
|
324
|
-
};
|
|
325
|
-
SimpleBarChartComponent.decorators = [
|
|
326
|
-
{ type: Component, args: [{
|
|
327
|
-
selector: "ibm-simple-bar-chart",
|
|
328
|
-
template: ""
|
|
329
|
-
}] }
|
|
330
|
-
];
|
|
331
|
-
return SimpleBarChartComponent;
|
|
332
|
-
}(BaseChart));
|
|
333
|
-
|
|
334
|
-
/**
|
|
335
|
-
* @fileoverview added by tsickle
|
|
336
|
-
* Generated from: bar-chart-grouped.component.ts
|
|
337
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
338
|
-
*/
|
|
339
|
-
/**
|
|
340
|
-
* Wrapper around `GroupedBarChart` in carbon charts library
|
|
341
|
-
*
|
|
342
|
-
* Most functions just call their equivalent from the chart library.
|
|
343
|
-
*/
|
|
344
|
-
var GroupedBarChartComponent = /** @class */ (function (_super) {
|
|
345
|
-
__extends(GroupedBarChartComponent, _super);
|
|
346
|
-
function GroupedBarChartComponent() {
|
|
347
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
348
|
-
}
|
|
349
|
-
/**
|
|
350
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
351
|
-
*/
|
|
352
|
-
/**
|
|
353
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
354
|
-
* @return {?}
|
|
355
|
-
*/
|
|
356
|
-
GroupedBarChartComponent.prototype.ngAfterViewInit = /**
|
|
357
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
358
|
-
* @return {?}
|
|
359
|
-
*/
|
|
360
|
-
function () {
|
|
361
|
-
this.chart = new GroupedBarChart(this.elementRef.nativeElement, {
|
|
362
|
-
data: this.data,
|
|
363
|
-
options: this.options
|
|
364
|
-
});
|
|
365
|
-
Object.assign(this, this.chart);
|
|
366
|
-
};
|
|
367
|
-
GroupedBarChartComponent.decorators = [
|
|
368
|
-
{ type: Component, args: [{
|
|
369
|
-
selector: "ibm-grouped-bar-chart",
|
|
370
|
-
template: ""
|
|
371
|
-
}] }
|
|
372
|
-
];
|
|
373
|
-
return GroupedBarChartComponent;
|
|
374
|
-
}(BaseChart));
|
|
375
|
-
|
|
376
|
-
/**
|
|
377
|
-
* @fileoverview added by tsickle
|
|
378
|
-
* Generated from: bar-chart-stacked.component.ts
|
|
379
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
380
|
-
*/
|
|
381
|
-
/**
|
|
382
|
-
* Wrapper around `StackedBarChart` in carbon charts library
|
|
383
|
-
*
|
|
384
|
-
* Most functions just call their equivalent from the chart library.
|
|
385
|
-
*/
|
|
386
|
-
var StackedBarChartComponent = /** @class */ (function (_super) {
|
|
387
|
-
__extends(StackedBarChartComponent, _super);
|
|
388
|
-
function StackedBarChartComponent() {
|
|
389
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
390
|
-
}
|
|
391
|
-
/**
|
|
392
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
393
|
-
*/
|
|
394
|
-
/**
|
|
395
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
396
|
-
* @return {?}
|
|
397
|
-
*/
|
|
398
|
-
StackedBarChartComponent.prototype.ngAfterViewInit = /**
|
|
399
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
400
|
-
* @return {?}
|
|
401
|
-
*/
|
|
402
|
-
function () {
|
|
403
|
-
this.chart = new StackedBarChart(this.elementRef.nativeElement, {
|
|
404
|
-
data: this.data,
|
|
405
|
-
options: this.options
|
|
406
|
-
});
|
|
407
|
-
Object.assign(this, this.chart);
|
|
408
|
-
};
|
|
409
|
-
StackedBarChartComponent.decorators = [
|
|
410
|
-
{ type: Component, args: [{
|
|
411
|
-
selector: "ibm-stacked-bar-chart",
|
|
412
|
-
template: ""
|
|
413
|
-
}] }
|
|
414
|
-
];
|
|
415
|
-
return StackedBarChartComponent;
|
|
416
|
-
}(BaseChart));
|
|
417
|
-
|
|
418
|
-
/**
|
|
419
|
-
* @fileoverview added by tsickle
|
|
420
|
-
* Generated from: boxplot-chart.component.ts
|
|
421
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
422
|
-
*/
|
|
423
|
-
/**
|
|
424
|
-
* Wrapper around `BoxplotChart` in carbon charts library
|
|
425
|
-
*
|
|
426
|
-
* Most functions just call their equivalent from the chart library.
|
|
427
|
-
*/
|
|
428
|
-
var BoxplotChartComponent = /** @class */ (function (_super) {
|
|
429
|
-
__extends(BoxplotChartComponent, _super);
|
|
430
|
-
function BoxplotChartComponent() {
|
|
431
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
432
|
-
}
|
|
433
|
-
/**
|
|
434
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
435
|
-
*/
|
|
436
|
-
/**
|
|
437
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
438
|
-
* @return {?}
|
|
439
|
-
*/
|
|
440
|
-
BoxplotChartComponent.prototype.ngAfterViewInit = /**
|
|
441
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
442
|
-
* @return {?}
|
|
443
|
-
*/
|
|
444
|
-
function () {
|
|
445
|
-
this.chart = new BoxplotChart(this.elementRef.nativeElement, {
|
|
446
|
-
data: this.data,
|
|
447
|
-
options: this.options
|
|
448
|
-
});
|
|
449
|
-
Object.assign(this, this.chart);
|
|
450
|
-
};
|
|
451
|
-
BoxplotChartComponent.decorators = [
|
|
452
|
-
{ type: Component, args: [{
|
|
453
|
-
selector: "ibm-boxplot-chart",
|
|
454
|
-
template: ""
|
|
455
|
-
}] }
|
|
456
|
-
];
|
|
457
|
-
return BoxplotChartComponent;
|
|
458
|
-
}(BaseChart));
|
|
459
|
-
|
|
460
|
-
/**
|
|
461
|
-
* @fileoverview added by tsickle
|
|
462
|
-
* Generated from: bubble-chart.component.ts
|
|
463
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
464
|
-
*/
|
|
465
|
-
/**
|
|
466
|
-
* Wrapper around `BubbleChart` in carbon charts library
|
|
467
|
-
*
|
|
468
|
-
* Most functions just call their equivalent from the chart library.
|
|
469
|
-
*/
|
|
470
|
-
var BubbleChartComponent = /** @class */ (function (_super) {
|
|
471
|
-
__extends(BubbleChartComponent, _super);
|
|
472
|
-
function BubbleChartComponent() {
|
|
473
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
474
|
-
}
|
|
475
|
-
/**
|
|
476
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
477
|
-
*/
|
|
478
|
-
/**
|
|
479
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
480
|
-
* @return {?}
|
|
481
|
-
*/
|
|
482
|
-
BubbleChartComponent.prototype.ngAfterViewInit = /**
|
|
483
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
484
|
-
* @return {?}
|
|
485
|
-
*/
|
|
486
|
-
function () {
|
|
487
|
-
this.chart = new BubbleChart(this.elementRef.nativeElement, {
|
|
488
|
-
data: this.data,
|
|
489
|
-
options: this.options
|
|
490
|
-
});
|
|
491
|
-
Object.assign(this, this.chart);
|
|
492
|
-
};
|
|
493
|
-
BubbleChartComponent.decorators = [
|
|
494
|
-
{ type: Component, args: [{
|
|
495
|
-
selector: "ibm-bubble-chart",
|
|
496
|
-
template: ""
|
|
497
|
-
}] }
|
|
498
|
-
];
|
|
499
|
-
return BubbleChartComponent;
|
|
500
|
-
}(BaseChart));
|
|
501
|
-
|
|
502
|
-
/**
|
|
503
|
-
* @fileoverview added by tsickle
|
|
504
|
-
* Generated from: bullet-chart.component.ts
|
|
505
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
506
|
-
*/
|
|
507
|
-
/**
|
|
508
|
-
* Wrapper around `BulletChart` in carbon charts library
|
|
509
|
-
*
|
|
510
|
-
* Most functions just call their equivalent from the chart library.
|
|
511
|
-
*/
|
|
512
|
-
var BulletChartComponent = /** @class */ (function (_super) {
|
|
513
|
-
__extends(BulletChartComponent, _super);
|
|
514
|
-
function BulletChartComponent() {
|
|
515
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
516
|
-
}
|
|
517
|
-
/**
|
|
518
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
519
|
-
*/
|
|
520
|
-
/**
|
|
521
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
522
|
-
* @return {?}
|
|
523
|
-
*/
|
|
524
|
-
BulletChartComponent.prototype.ngAfterViewInit = /**
|
|
525
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
526
|
-
* @return {?}
|
|
527
|
-
*/
|
|
528
|
-
function () {
|
|
529
|
-
this.chart = new BulletChart(this.elementRef.nativeElement, {
|
|
530
|
-
data: this.data,
|
|
531
|
-
options: this.options
|
|
532
|
-
});
|
|
533
|
-
Object.assign(this, this.chart);
|
|
534
|
-
};
|
|
535
|
-
BulletChartComponent.decorators = [
|
|
536
|
-
{ type: Component, args: [{
|
|
537
|
-
selector: "ibm-bullet-chart",
|
|
538
|
-
template: ""
|
|
539
|
-
}] }
|
|
540
|
-
];
|
|
541
|
-
return BulletChartComponent;
|
|
542
|
-
}(BaseChart));
|
|
543
|
-
|
|
544
|
-
/**
|
|
545
|
-
* @fileoverview added by tsickle
|
|
546
|
-
* Generated from: donut-chart.component.ts
|
|
547
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
548
|
-
*/
|
|
549
|
-
/**
|
|
550
|
-
* Wrapper around `DonutChart` in carbon charts library
|
|
551
|
-
*
|
|
552
|
-
* Most functions just call their equivalent from the chart library.
|
|
553
|
-
*/
|
|
554
|
-
var DonutChartComponent = /** @class */ (function (_super) {
|
|
555
|
-
__extends(DonutChartComponent, _super);
|
|
556
|
-
function DonutChartComponent() {
|
|
557
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
558
|
-
}
|
|
559
|
-
/**
|
|
560
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
561
|
-
*/
|
|
562
|
-
/**
|
|
563
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
564
|
-
* @return {?}
|
|
565
|
-
*/
|
|
566
|
-
DonutChartComponent.prototype.ngAfterViewInit = /**
|
|
567
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
568
|
-
* @return {?}
|
|
569
|
-
*/
|
|
570
|
-
function () {
|
|
571
|
-
this.chart = new DonutChart(this.elementRef.nativeElement, {
|
|
572
|
-
data: this.data,
|
|
573
|
-
options: this.options
|
|
574
|
-
});
|
|
575
|
-
Object.assign(this, this.chart);
|
|
576
|
-
};
|
|
577
|
-
DonutChartComponent.decorators = [
|
|
578
|
-
{ type: Component, args: [{
|
|
579
|
-
selector: "ibm-donut-chart",
|
|
580
|
-
template: ""
|
|
581
|
-
}] }
|
|
582
|
-
];
|
|
583
|
-
return DonutChartComponent;
|
|
584
|
-
}(BaseChart));
|
|
585
|
-
|
|
586
|
-
/**
|
|
587
|
-
* @fileoverview added by tsickle
|
|
588
|
-
* Generated from: gauge-chart.component.ts
|
|
589
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
590
|
-
*/
|
|
591
|
-
/**
|
|
592
|
-
* Wrapper around `GaugeChart` in carbon charts library
|
|
593
|
-
*
|
|
594
|
-
* Most functions just call their equivalent from the chart library.
|
|
595
|
-
*/
|
|
596
|
-
var GaugeChartComponent = /** @class */ (function (_super) {
|
|
597
|
-
__extends(GaugeChartComponent, _super);
|
|
598
|
-
function GaugeChartComponent() {
|
|
599
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
600
|
-
}
|
|
601
|
-
/**
|
|
602
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
603
|
-
*/
|
|
604
|
-
/**
|
|
605
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
606
|
-
* @return {?}
|
|
607
|
-
*/
|
|
608
|
-
GaugeChartComponent.prototype.ngAfterViewInit = /**
|
|
609
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
610
|
-
* @return {?}
|
|
611
|
-
*/
|
|
612
|
-
function () {
|
|
613
|
-
this.chart = new GaugeChart(this.elementRef.nativeElement, {
|
|
614
|
-
data: this.data,
|
|
615
|
-
options: this.options
|
|
616
|
-
});
|
|
617
|
-
Object.assign(this, this.chart);
|
|
618
|
-
};
|
|
619
|
-
GaugeChartComponent.decorators = [
|
|
620
|
-
{ type: Component, args: [{
|
|
621
|
-
selector: "ibm-gauge-chart",
|
|
622
|
-
template: ""
|
|
623
|
-
}] }
|
|
624
|
-
];
|
|
625
|
-
return GaugeChartComponent;
|
|
626
|
-
}(BaseChart));
|
|
627
|
-
|
|
628
|
-
/**
|
|
629
|
-
* @fileoverview added by tsickle
|
|
630
|
-
* Generated from: histogram-chart.component.ts
|
|
631
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
632
|
-
*/
|
|
633
|
-
/**
|
|
634
|
-
* Wrapper around `HistogramChart` in carbon charts library
|
|
635
|
-
*
|
|
636
|
-
* Most functions just call their equivalent from the chart library.
|
|
637
|
-
*/
|
|
638
|
-
var HistogramChartComponent = /** @class */ (function (_super) {
|
|
639
|
-
__extends(HistogramChartComponent, _super);
|
|
640
|
-
function HistogramChartComponent() {
|
|
641
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
642
|
-
}
|
|
643
|
-
/**
|
|
644
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
645
|
-
*/
|
|
646
|
-
/**
|
|
647
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
648
|
-
* @return {?}
|
|
649
|
-
*/
|
|
650
|
-
HistogramChartComponent.prototype.ngAfterViewInit = /**
|
|
651
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
652
|
-
* @return {?}
|
|
653
|
-
*/
|
|
654
|
-
function () {
|
|
655
|
-
this.chart = new HistogramChart(this.elementRef.nativeElement, {
|
|
656
|
-
data: this.data,
|
|
657
|
-
options: this.options
|
|
658
|
-
});
|
|
659
|
-
Object.assign(this, this.chart);
|
|
660
|
-
};
|
|
661
|
-
HistogramChartComponent.decorators = [
|
|
662
|
-
{ type: Component, args: [{
|
|
663
|
-
selector: "ibm-histogram-chart",
|
|
664
|
-
template: ""
|
|
665
|
-
}] }
|
|
666
|
-
];
|
|
667
|
-
return HistogramChartComponent;
|
|
668
|
-
}(BaseChart));
|
|
669
|
-
|
|
670
|
-
/**
|
|
671
|
-
* @fileoverview added by tsickle
|
|
672
|
-
* Generated from: line-chart.component.ts
|
|
673
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
674
|
-
*/
|
|
675
|
-
/**
|
|
676
|
-
* Wrapper around `LineChart` in carbon charts library
|
|
677
|
-
*
|
|
678
|
-
* Most functions just call their equivalent from the chart library.
|
|
679
|
-
*/
|
|
680
|
-
var LineChartComponent = /** @class */ (function (_super) {
|
|
681
|
-
__extends(LineChartComponent, _super);
|
|
682
|
-
function LineChartComponent() {
|
|
683
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
684
|
-
}
|
|
685
|
-
/**
|
|
686
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
687
|
-
*/
|
|
688
|
-
/**
|
|
689
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
690
|
-
* @return {?}
|
|
691
|
-
*/
|
|
692
|
-
LineChartComponent.prototype.ngAfterViewInit = /**
|
|
693
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
694
|
-
* @return {?}
|
|
695
|
-
*/
|
|
696
|
-
function () {
|
|
697
|
-
this.chart = new LineChart(this.elementRef.nativeElement, {
|
|
698
|
-
data: this.data,
|
|
699
|
-
options: this.options
|
|
700
|
-
});
|
|
701
|
-
Object.assign(this, this.chart);
|
|
702
|
-
};
|
|
703
|
-
LineChartComponent.decorators = [
|
|
704
|
-
{ type: Component, args: [{
|
|
705
|
-
selector: "ibm-line-chart",
|
|
706
|
-
template: ""
|
|
707
|
-
}] }
|
|
708
|
-
];
|
|
709
|
-
return LineChartComponent;
|
|
710
|
-
}(BaseChart));
|
|
711
|
-
|
|
712
|
-
/**
|
|
713
|
-
* @fileoverview added by tsickle
|
|
714
|
-
* Generated from: lollipop-chart.component.ts
|
|
715
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
716
|
-
*/
|
|
717
|
-
/**
|
|
718
|
-
* Wrapper around `LollipopChart` in carbon charts library
|
|
719
|
-
*
|
|
720
|
-
* Most functions just call their equivalent from the chart library.
|
|
721
|
-
*/
|
|
722
|
-
var LollipopChartComponent = /** @class */ (function (_super) {
|
|
723
|
-
__extends(LollipopChartComponent, _super);
|
|
724
|
-
function LollipopChartComponent() {
|
|
725
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
726
|
-
}
|
|
727
|
-
/**
|
|
728
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
729
|
-
*/
|
|
730
|
-
/**
|
|
731
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
732
|
-
* @return {?}
|
|
733
|
-
*/
|
|
734
|
-
LollipopChartComponent.prototype.ngAfterViewInit = /**
|
|
735
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
736
|
-
* @return {?}
|
|
737
|
-
*/
|
|
738
|
-
function () {
|
|
739
|
-
this.chart = new LollipopChart(this.elementRef.nativeElement, {
|
|
740
|
-
data: this.data,
|
|
741
|
-
options: this.options
|
|
742
|
-
});
|
|
743
|
-
Object.assign(this, this.chart);
|
|
744
|
-
};
|
|
745
|
-
LollipopChartComponent.decorators = [
|
|
746
|
-
{ type: Component, args: [{
|
|
747
|
-
selector: "ibm-lollipop-chart",
|
|
748
|
-
template: ""
|
|
749
|
-
}] }
|
|
750
|
-
];
|
|
751
|
-
return LollipopChartComponent;
|
|
752
|
-
}(BaseChart));
|
|
753
|
-
|
|
754
|
-
/**
|
|
755
|
-
* @fileoverview added by tsickle
|
|
756
|
-
* Generated from: pie-chart.component.ts
|
|
757
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
758
|
-
*/
|
|
759
|
-
/**
|
|
760
|
-
* Wrapper around `PieChart` in carbon charts library
|
|
761
|
-
*
|
|
762
|
-
* Most functions just call their equivalent from the chart library.
|
|
763
|
-
*/
|
|
764
|
-
var PieChartComponent = /** @class */ (function (_super) {
|
|
765
|
-
__extends(PieChartComponent, _super);
|
|
766
|
-
function PieChartComponent() {
|
|
767
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
768
|
-
}
|
|
769
|
-
/**
|
|
770
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
771
|
-
*/
|
|
772
|
-
/**
|
|
773
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
774
|
-
* @return {?}
|
|
775
|
-
*/
|
|
776
|
-
PieChartComponent.prototype.ngAfterViewInit = /**
|
|
777
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
778
|
-
* @return {?}
|
|
779
|
-
*/
|
|
780
|
-
function () {
|
|
781
|
-
this.chart = new PieChart(this.elementRef.nativeElement, {
|
|
782
|
-
data: this.data,
|
|
783
|
-
options: this.options
|
|
784
|
-
});
|
|
785
|
-
Object.assign(this, this.chart);
|
|
786
|
-
};
|
|
787
|
-
PieChartComponent.decorators = [
|
|
788
|
-
{ type: Component, args: [{
|
|
789
|
-
selector: "ibm-pie-chart",
|
|
790
|
-
template: ""
|
|
791
|
-
}] }
|
|
792
|
-
];
|
|
793
|
-
return PieChartComponent;
|
|
794
|
-
}(BaseChart));
|
|
795
|
-
|
|
796
|
-
/**
|
|
797
|
-
* @fileoverview added by tsickle
|
|
798
|
-
* Generated from: scatter-chart.component.ts
|
|
799
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
800
|
-
*/
|
|
801
|
-
/**
|
|
802
|
-
* Wrapper around `ScatterChart` in carbon charts library
|
|
803
|
-
*
|
|
804
|
-
* Most functions just call their equivalent from the chart library.
|
|
805
|
-
*/
|
|
806
|
-
var ScatterChartComponent = /** @class */ (function (_super) {
|
|
807
|
-
__extends(ScatterChartComponent, _super);
|
|
808
|
-
function ScatterChartComponent() {
|
|
809
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
810
|
-
}
|
|
811
|
-
/**
|
|
812
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
813
|
-
*/
|
|
814
|
-
/**
|
|
815
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
816
|
-
* @return {?}
|
|
817
|
-
*/
|
|
818
|
-
ScatterChartComponent.prototype.ngAfterViewInit = /**
|
|
819
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
820
|
-
* @return {?}
|
|
821
|
-
*/
|
|
822
|
-
function () {
|
|
823
|
-
this.chart = new ScatterChart(this.elementRef.nativeElement, {
|
|
824
|
-
data: this.data,
|
|
825
|
-
options: this.options
|
|
826
|
-
});
|
|
827
|
-
Object.assign(this, this.chart);
|
|
828
|
-
};
|
|
829
|
-
ScatterChartComponent.decorators = [
|
|
830
|
-
{ type: Component, args: [{
|
|
831
|
-
selector: "ibm-scatter-chart",
|
|
832
|
-
template: ""
|
|
833
|
-
}] }
|
|
834
|
-
];
|
|
835
|
-
return ScatterChartComponent;
|
|
836
|
-
}(BaseChart));
|
|
837
|
-
|
|
838
|
-
/**
|
|
839
|
-
* @fileoverview added by tsickle
|
|
840
|
-
* Generated from: meter-chart.component.ts
|
|
841
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
842
|
-
*/
|
|
843
|
-
/**
|
|
844
|
-
* Wrapper around `MeterChart` in carbon charts library
|
|
845
|
-
*
|
|
846
|
-
* Most functions just call their equivalent from the chart library.
|
|
847
|
-
*/
|
|
848
|
-
var MeterChartComponent = /** @class */ (function (_super) {
|
|
849
|
-
__extends(MeterChartComponent, _super);
|
|
850
|
-
function MeterChartComponent() {
|
|
851
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
852
|
-
}
|
|
853
|
-
/**
|
|
854
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
855
|
-
*/
|
|
856
|
-
/**
|
|
857
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
858
|
-
* @return {?}
|
|
859
|
-
*/
|
|
860
|
-
MeterChartComponent.prototype.ngAfterViewInit = /**
|
|
861
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
862
|
-
* @return {?}
|
|
863
|
-
*/
|
|
864
|
-
function () {
|
|
865
|
-
this.chart = new MeterChart(this.elementRef.nativeElement, {
|
|
866
|
-
data: this.data,
|
|
867
|
-
options: this.options
|
|
868
|
-
});
|
|
869
|
-
Object.assign(this, this.chart);
|
|
870
|
-
};
|
|
871
|
-
MeterChartComponent.decorators = [
|
|
872
|
-
{ type: Component, args: [{
|
|
873
|
-
selector: "ibm-meter-chart",
|
|
874
|
-
template: ""
|
|
875
|
-
}] }
|
|
876
|
-
];
|
|
877
|
-
return MeterChartComponent;
|
|
878
|
-
}(BaseChart));
|
|
879
|
-
|
|
880
|
-
/**
|
|
881
|
-
* @fileoverview added by tsickle
|
|
882
|
-
* Generated from: radar-chart.component.ts
|
|
883
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
884
|
-
*/
|
|
885
|
-
/**
|
|
886
|
-
* Wrapper around `RadarChart` in carbon charts library
|
|
887
|
-
*
|
|
888
|
-
* Most functions just call their equivalent from the chart library.
|
|
889
|
-
*/
|
|
890
|
-
var RadarChartComponent = /** @class */ (function (_super) {
|
|
891
|
-
__extends(RadarChartComponent, _super);
|
|
892
|
-
function RadarChartComponent() {
|
|
893
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
894
|
-
}
|
|
895
|
-
/**
|
|
896
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
897
|
-
*/
|
|
898
|
-
/**
|
|
899
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
900
|
-
* @return {?}
|
|
901
|
-
*/
|
|
902
|
-
RadarChartComponent.prototype.ngAfterViewInit = /**
|
|
903
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
904
|
-
* @return {?}
|
|
905
|
-
*/
|
|
906
|
-
function () {
|
|
907
|
-
this.chart = new RadarChart(this.elementRef.nativeElement, {
|
|
908
|
-
data: this.data,
|
|
909
|
-
options: this.options
|
|
910
|
-
});
|
|
911
|
-
Object.assign(this, this.chart);
|
|
912
|
-
};
|
|
913
|
-
RadarChartComponent.decorators = [
|
|
914
|
-
{ type: Component, args: [{
|
|
915
|
-
selector: "ibm-radar-chart",
|
|
916
|
-
template: ""
|
|
917
|
-
}] }
|
|
918
|
-
];
|
|
919
|
-
return RadarChartComponent;
|
|
920
|
-
}(BaseChart));
|
|
921
|
-
|
|
922
|
-
/**
|
|
923
|
-
* @fileoverview added by tsickle
|
|
924
|
-
* Generated from: combo-chart.component.ts
|
|
925
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
926
|
-
*/
|
|
927
|
-
/**
|
|
928
|
-
* Wrapper around `ComboChart` in carbon charts library
|
|
929
|
-
*
|
|
930
|
-
* Most functions just call their equivalent from the chart library.
|
|
931
|
-
*/
|
|
932
|
-
var ComboChartComponent = /** @class */ (function (_super) {
|
|
933
|
-
__extends(ComboChartComponent, _super);
|
|
934
|
-
function ComboChartComponent() {
|
|
935
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
936
|
-
}
|
|
937
|
-
/**
|
|
938
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
939
|
-
*/
|
|
940
|
-
/**
|
|
941
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
942
|
-
* @return {?}
|
|
943
|
-
*/
|
|
944
|
-
ComboChartComponent.prototype.ngAfterViewInit = /**
|
|
945
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
946
|
-
* @return {?}
|
|
947
|
-
*/
|
|
948
|
-
function () {
|
|
949
|
-
this.chart = new ComboChart(this.elementRef.nativeElement, {
|
|
950
|
-
data: this.data,
|
|
951
|
-
options: this.options
|
|
952
|
-
});
|
|
953
|
-
Object.assign(this, this.chart);
|
|
954
|
-
};
|
|
955
|
-
ComboChartComponent.decorators = [
|
|
956
|
-
{ type: Component, args: [{
|
|
957
|
-
selector: "ibm-combo-chart",
|
|
958
|
-
template: ""
|
|
959
|
-
}] }
|
|
960
|
-
];
|
|
961
|
-
return ComboChartComponent;
|
|
962
|
-
}(BaseChart));
|
|
963
|
-
|
|
964
|
-
/**
|
|
965
|
-
* @fileoverview added by tsickle
|
|
966
|
-
* Generated from: tree-chart.component.ts
|
|
967
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
968
|
-
*/
|
|
969
|
-
/**
|
|
970
|
-
* Wrapper around `TreeChart` in carbon charts library
|
|
971
|
-
*
|
|
972
|
-
* Most functions just call their equivalent from the chart library.
|
|
973
|
-
*/
|
|
974
|
-
var TreeChartComponent = /** @class */ (function (_super) {
|
|
975
|
-
__extends(TreeChartComponent, _super);
|
|
976
|
-
function TreeChartComponent() {
|
|
977
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
978
|
-
}
|
|
979
|
-
/**
|
|
980
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
981
|
-
*/
|
|
982
|
-
/**
|
|
983
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
984
|
-
* @return {?}
|
|
985
|
-
*/
|
|
986
|
-
TreeChartComponent.prototype.ngAfterViewInit = /**
|
|
987
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
988
|
-
* @return {?}
|
|
989
|
-
*/
|
|
990
|
-
function () {
|
|
991
|
-
this.chart = new TreeChart(this.elementRef.nativeElement, {
|
|
992
|
-
data: this.data,
|
|
993
|
-
options: this.options
|
|
994
|
-
});
|
|
995
|
-
Object.assign(this, this.chart);
|
|
996
|
-
};
|
|
997
|
-
TreeChartComponent.decorators = [
|
|
998
|
-
{ type: Component, args: [{
|
|
999
|
-
selector: "ibm-tree-chart",
|
|
1000
|
-
template: ""
|
|
1001
|
-
}] }
|
|
1002
|
-
];
|
|
1003
|
-
return TreeChartComponent;
|
|
1004
|
-
}(BaseChart));
|
|
1005
|
-
|
|
1006
|
-
/**
|
|
1007
|
-
* @fileoverview added by tsickle
|
|
1008
|
-
* Generated from: treemap-chart.component.ts
|
|
1009
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1010
|
-
*/
|
|
1011
|
-
/**
|
|
1012
|
-
* Wrapper around `TreemapChart` in carbon charts library
|
|
1013
|
-
*
|
|
1014
|
-
* Most functions just call their equivalent from the chart library.
|
|
1015
|
-
*/
|
|
1016
|
-
var TreemapChartComponent = /** @class */ (function (_super) {
|
|
1017
|
-
__extends(TreemapChartComponent, _super);
|
|
1018
|
-
function TreemapChartComponent() {
|
|
1019
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
1020
|
-
}
|
|
1021
|
-
/**
|
|
1022
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
1023
|
-
*/
|
|
1024
|
-
/**
|
|
1025
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
1026
|
-
* @return {?}
|
|
1027
|
-
*/
|
|
1028
|
-
TreemapChartComponent.prototype.ngAfterViewInit = /**
|
|
1029
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
1030
|
-
* @return {?}
|
|
1031
|
-
*/
|
|
1032
|
-
function () {
|
|
1033
|
-
this.chart = new TreemapChart(this.elementRef.nativeElement, {
|
|
1034
|
-
data: this.data,
|
|
1035
|
-
options: this.options
|
|
1036
|
-
});
|
|
1037
|
-
Object.assign(this, this.chart);
|
|
1038
|
-
};
|
|
1039
|
-
TreemapChartComponent.decorators = [
|
|
1040
|
-
{ type: Component, args: [{
|
|
1041
|
-
selector: "ibm-treemap-chart",
|
|
1042
|
-
template: ""
|
|
1043
|
-
}] }
|
|
1044
|
-
];
|
|
1045
|
-
return TreemapChartComponent;
|
|
1046
|
-
}(BaseChart));
|
|
1047
|
-
|
|
1048
|
-
/**
|
|
1049
|
-
* @fileoverview added by tsickle
|
|
1050
|
-
* Generated from: circle-pack-chart.component.ts
|
|
1051
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1052
|
-
*/
|
|
1053
|
-
/**
|
|
1054
|
-
* Wrapper around `BubbleChart` in carbon charts library
|
|
1055
|
-
*
|
|
1056
|
-
* Most functions just call their equivalent from the chart library.
|
|
1057
|
-
*/
|
|
1058
|
-
var CirclePackChartComponent = /** @class */ (function (_super) {
|
|
1059
|
-
__extends(CirclePackChartComponent, _super);
|
|
1060
|
-
function CirclePackChartComponent() {
|
|
1061
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
1062
|
-
}
|
|
1063
|
-
/**
|
|
1064
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
1065
|
-
*/
|
|
1066
|
-
/**
|
|
1067
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
1068
|
-
* @return {?}
|
|
1069
|
-
*/
|
|
1070
|
-
CirclePackChartComponent.prototype.ngAfterViewInit = /**
|
|
1071
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
1072
|
-
* @return {?}
|
|
1073
|
-
*/
|
|
1074
|
-
function () {
|
|
1075
|
-
this.chart = new CirclePackChart(this.elementRef.nativeElement, {
|
|
1076
|
-
data: this.data,
|
|
1077
|
-
options: this.options
|
|
1078
|
-
});
|
|
1079
|
-
Object.assign(this, this.chart);
|
|
1080
|
-
};
|
|
1081
|
-
CirclePackChartComponent.decorators = [
|
|
1082
|
-
{ type: Component, args: [{
|
|
1083
|
-
selector: "ibm-circle-pack-chart",
|
|
1084
|
-
template: ""
|
|
1085
|
-
}] }
|
|
1086
|
-
];
|
|
1087
|
-
return CirclePackChartComponent;
|
|
1088
|
-
}(BaseChart));
|
|
1089
|
-
|
|
1090
|
-
/**
|
|
1091
|
-
* @fileoverview added by tsickle
|
|
1092
|
-
* Generated from: wordcloud-chart.component.ts
|
|
1093
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1094
|
-
*/
|
|
1095
|
-
/**
|
|
1096
|
-
* Wrapper around `WordCloudChart` in carbon charts library
|
|
1097
|
-
*
|
|
1098
|
-
* Most functions just call their equivalent from the chart library.
|
|
1099
|
-
*/
|
|
1100
|
-
var WordCloudChartComponent = /** @class */ (function (_super) {
|
|
1101
|
-
__extends(WordCloudChartComponent, _super);
|
|
1102
|
-
function WordCloudChartComponent() {
|
|
1103
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
1104
|
-
}
|
|
1105
|
-
/**
|
|
1106
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
1107
|
-
*/
|
|
1108
|
-
/**
|
|
1109
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
1110
|
-
* @return {?}
|
|
1111
|
-
*/
|
|
1112
|
-
WordCloudChartComponent.prototype.ngAfterViewInit = /**
|
|
1113
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
1114
|
-
* @return {?}
|
|
1115
|
-
*/
|
|
1116
|
-
function () {
|
|
1117
|
-
this.chart = new WordCloudChart(this.elementRef.nativeElement, {
|
|
1118
|
-
data: this.data,
|
|
1119
|
-
options: this.options
|
|
1120
|
-
});
|
|
1121
|
-
Object.assign(this, this.chart);
|
|
1122
|
-
};
|
|
1123
|
-
WordCloudChartComponent.decorators = [
|
|
1124
|
-
{ type: Component, args: [{
|
|
1125
|
-
selector: "ibm-wordcloud-chart",
|
|
1126
|
-
template: ""
|
|
1127
|
-
}] }
|
|
1128
|
-
];
|
|
1129
|
-
return WordCloudChartComponent;
|
|
1130
|
-
}(BaseChart));
|
|
1131
|
-
|
|
1132
|
-
/**
|
|
1133
|
-
* @fileoverview added by tsickle
|
|
1134
|
-
* Generated from: heatmap-chart.component.ts
|
|
1135
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1136
|
-
*/
|
|
1137
|
-
/**
|
|
1138
|
-
* Wrapper around `Heatmap` in carbon charts library
|
|
1139
|
-
*
|
|
1140
|
-
* Most functions just call their equivalent from the chart library.
|
|
1141
|
-
*/
|
|
1142
|
-
var HeatmapChartComponent = /** @class */ (function (_super) {
|
|
1143
|
-
__extends(HeatmapChartComponent, _super);
|
|
1144
|
-
function HeatmapChartComponent() {
|
|
1145
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
1146
|
-
}
|
|
1147
|
-
/**
|
|
1148
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
1149
|
-
*/
|
|
1150
|
-
/**
|
|
1151
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
1152
|
-
* @return {?}
|
|
1153
|
-
*/
|
|
1154
|
-
HeatmapChartComponent.prototype.ngAfterViewInit = /**
|
|
1155
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
1156
|
-
* @return {?}
|
|
1157
|
-
*/
|
|
1158
|
-
function () {
|
|
1159
|
-
this.chart = new HeatmapChart(this.elementRef.nativeElement, {
|
|
1160
|
-
data: this.data,
|
|
1161
|
-
options: this.options
|
|
1162
|
-
});
|
|
1163
|
-
Object.assign(this, this.chart);
|
|
1164
|
-
};
|
|
1165
|
-
HeatmapChartComponent.decorators = [
|
|
1166
|
-
{ type: Component, args: [{
|
|
1167
|
-
selector: "ibm-heatmap-chart",
|
|
1168
|
-
template: ""
|
|
1169
|
-
}] }
|
|
1170
|
-
];
|
|
1171
|
-
return HeatmapChartComponent;
|
|
1172
|
-
}(BaseChart));
|
|
1173
|
-
|
|
1174
|
-
/**
|
|
1175
|
-
* @fileoverview added by tsickle
|
|
1176
|
-
* Generated from: choropleth.component.ts
|
|
1177
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1178
|
-
*/
|
|
1179
|
-
/**
|
|
1180
|
-
* Wrapper around `Choropleth` in carbon charts library
|
|
1181
|
-
*
|
|
1182
|
-
* Most functions just call their equivalent from the chart library.
|
|
1183
|
-
*/
|
|
1184
|
-
var EXPERIMENTAL_ChoroplethChartComponent = /** @class */ (function (_super) {
|
|
1185
|
-
__extends(EXPERIMENTAL_ChoroplethChartComponent, _super);
|
|
1186
|
-
function EXPERIMENTAL_ChoroplethChartComponent() {
|
|
1187
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
1188
|
-
}
|
|
1189
|
-
/**
|
|
1190
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
1191
|
-
*/
|
|
1192
|
-
/**
|
|
1193
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
1194
|
-
* @return {?}
|
|
1195
|
-
*/
|
|
1196
|
-
EXPERIMENTAL_ChoroplethChartComponent.prototype.ngAfterViewInit = /**
|
|
1197
|
-
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
1198
|
-
* @return {?}
|
|
1199
|
-
*/
|
|
1200
|
-
function () {
|
|
1201
|
-
this.chart = new EXPERIMENTAL_ChoroplethChart(this.elementRef.nativeElement, {
|
|
1202
|
-
data: this.data,
|
|
1203
|
-
options: this.options
|
|
1204
|
-
});
|
|
1205
|
-
Object.assign(this, this.chart);
|
|
1206
|
-
};
|
|
1207
|
-
EXPERIMENTAL_ChoroplethChartComponent.decorators = [
|
|
1208
|
-
{ type: Component, args: [{
|
|
1209
|
-
selector: "EXPERIMENTAL-ibm-choropleth-chart",
|
|
1210
|
-
template: ""
|
|
1211
|
-
}] }
|
|
1212
|
-
];
|
|
1213
|
-
return EXPERIMENTAL_ChoroplethChartComponent;
|
|
1214
|
-
}(BaseChart));
|
|
1215
|
-
|
|
1216
|
-
/**
|
|
1217
|
-
* @fileoverview added by tsickle
|
|
1218
|
-
* Generated from: charts.module.ts
|
|
1219
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1220
|
-
*/
|
|
1221
|
-
var ChartsModule = /** @class */ (function () {
|
|
1222
|
-
function ChartsModule() {
|
|
1223
|
-
}
|
|
1224
|
-
ChartsModule.decorators = [
|
|
1225
|
-
{ type: NgModule, args: [{
|
|
1226
|
-
imports: [CommonModule],
|
|
1227
|
-
declarations: [
|
|
1228
|
-
BaseChart,
|
|
1229
|
-
AlluvialChartComponent,
|
|
1230
|
-
AreaChartComponent,
|
|
1231
|
-
EXPERIMENTAL_ChoroplethChartComponent,
|
|
1232
|
-
StackedAreaChartComponent,
|
|
1233
|
-
SimpleBarChartComponent,
|
|
1234
|
-
GroupedBarChartComponent,
|
|
1235
|
-
StackedBarChartComponent,
|
|
1236
|
-
BoxplotChartComponent,
|
|
1237
|
-
BubbleChartComponent,
|
|
1238
|
-
BulletChartComponent,
|
|
1239
|
-
DonutChartComponent,
|
|
1240
|
-
GaugeChartComponent,
|
|
1241
|
-
HeatmapChartComponent,
|
|
1242
|
-
HistogramChartComponent,
|
|
1243
|
-
LineChartComponent,
|
|
1244
|
-
LollipopChartComponent,
|
|
1245
|
-
PieChartComponent,
|
|
1246
|
-
ScatterChartComponent,
|
|
1247
|
-
MeterChartComponent,
|
|
1248
|
-
RadarChartComponent,
|
|
1249
|
-
ComboChartComponent,
|
|
1250
|
-
TreeChartComponent,
|
|
1251
|
-
TreemapChartComponent,
|
|
1252
|
-
CirclePackChartComponent,
|
|
1253
|
-
WordCloudChartComponent,
|
|
1254
|
-
],
|
|
1255
|
-
exports: [
|
|
1256
|
-
BaseChart,
|
|
1257
|
-
AlluvialChartComponent,
|
|
1258
|
-
AreaChartComponent,
|
|
1259
|
-
EXPERIMENTAL_ChoroplethChartComponent,
|
|
1260
|
-
StackedAreaChartComponent,
|
|
1261
|
-
SimpleBarChartComponent,
|
|
1262
|
-
GroupedBarChartComponent,
|
|
1263
|
-
StackedBarChartComponent,
|
|
1264
|
-
BoxplotChartComponent,
|
|
1265
|
-
BubbleChartComponent,
|
|
1266
|
-
BulletChartComponent,
|
|
1267
|
-
DonutChartComponent,
|
|
1268
|
-
GaugeChartComponent,
|
|
1269
|
-
HeatmapChartComponent,
|
|
1270
|
-
HistogramChartComponent,
|
|
1271
|
-
LineChartComponent,
|
|
1272
|
-
LollipopChartComponent,
|
|
1273
|
-
PieChartComponent,
|
|
1274
|
-
ScatterChartComponent,
|
|
1275
|
-
MeterChartComponent,
|
|
1276
|
-
RadarChartComponent,
|
|
1277
|
-
ComboChartComponent,
|
|
1278
|
-
TreeChartComponent,
|
|
1279
|
-
TreemapChartComponent,
|
|
1280
|
-
CirclePackChartComponent,
|
|
1281
|
-
WordCloudChartComponent
|
|
1282
|
-
],
|
|
1283
|
-
},] }
|
|
1284
|
-
];
|
|
1285
|
-
return ChartsModule;
|
|
1286
|
-
}());
|
|
1287
|
-
|
|
1288
|
-
/**
|
|
1289
|
-
* @fileoverview added by tsickle
|
|
1290
|
-
* Generated from: diagrams/configs.ts
|
|
1291
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1292
|
-
*/
|
|
1293
|
-
/** @type {?} */
|
|
1294
|
-
var carbonPrefix = 'cds';
|
|
1295
|
-
|
|
1296
|
-
/**
|
|
1297
|
-
* @fileoverview added by tsickle
|
|
1298
|
-
* Generated from: diagrams/card-node/card-node.component.ts
|
|
1299
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1300
|
-
*/
|
|
1301
|
-
var CardNodeComponent = /** @class */ (function () {
|
|
1302
|
-
function CardNodeComponent() {
|
|
1303
|
-
this.as = 'div';
|
|
1304
|
-
this.href = null;
|
|
1305
|
-
this.position = 'static';
|
|
1306
|
-
this.click = new EventEmitter();
|
|
1307
|
-
this.mouseEnter = new EventEmitter();
|
|
1308
|
-
this.mouseOver = new EventEmitter();
|
|
1309
|
-
this.mouseOut = new EventEmitter();
|
|
1310
|
-
this.mouseLeave = new EventEmitter();
|
|
1311
|
-
this.mouseMove = new EventEmitter();
|
|
1312
|
-
this.namespace = carbonPrefix + "--cc--card-node";
|
|
1313
|
-
this.component = 'div';
|
|
1314
|
-
}
|
|
1315
|
-
/**
|
|
1316
|
-
* @return {?}
|
|
1317
|
-
*/
|
|
1318
|
-
CardNodeComponent.prototype.ngOnInit = /**
|
|
1319
|
-
* @return {?}
|
|
1320
|
-
*/
|
|
1321
|
-
function () {
|
|
1322
|
-
if (this.href) {
|
|
1323
|
-
this.component = 'a';
|
|
1324
|
-
}
|
|
1325
|
-
else {
|
|
1326
|
-
this.component = this.as;
|
|
1327
|
-
}
|
|
1328
|
-
};
|
|
1329
|
-
CardNodeComponent.decorators = [
|
|
1330
|
-
{ type: Component, args: [{
|
|
1331
|
-
selector: 'ibm-diagram-card-node',
|
|
1332
|
-
template: "\n\t\t<ng-container [ngSwitch]=\"component\">\n\t\t\t<xhtml:div\n\t\t\t\t*ngSwitchCase=\"'div'\"\n\t\t\t\t[ngClass]=\"[\n\t\t\t\t\tnamespace,\n\t\t\t\t\tstacked ? namespace + '--stacked' : '',\n\t\t\t\t\tnamespace + '--' + component\n\t\t\t\t]\"\n\t\t\t\t[ngStyle]=\"{\n\t\t\t\t\t'border-color': color,\n\t\t\t\t\tposition: position\n\t\t\t\t}\"\n\t\t\t\t(mouseenter)=\"mouseEnter.emit($event)\"\n\t\t\t\t(mouseover)=\"mouseOver.emit($event)\"\n\t\t\t\t(mouseout)=\"mouseOut.emit($event)\"\n\t\t\t\t(mouseleave)=\"mouseLeave.emit($event)\"\n\t\t\t\t(mousemove)=\"mouseMove.emit($event)\"\n\t\t\t\ttabindex=\"0\"\n\t\t\t>\n\t\t\t\t<ng-container *ngTemplateOutlet=\"nodeTemplate\"></ng-container>\n\t\t\t</xhtml:div>\n\n\t\t\t<xhtml:button\n\t\t\t\t*ngSwitchCase=\"'button'\"\n\t\t\t\t[ngClass]=\"[\n\t\t\t\t\tnamespace,\n\t\t\t\t\tstacked ? namespace + '--stacked' : '',\n\t\t\t\t\tnamespace + '--' + component\n\t\t\t\t]\"\n\t\t\t\t[ngStyle]=\"{\n\t\t\t\t\t'border-color': color,\n\t\t\t\t\tposition: position\n\t\t\t\t}\"\n\t\t\t\t(click)=\"click.emit($event)\"\n\t\t\t\t(mouseenter)=\"mouseEnter.emit($event)\"\n\t\t\t\t(mouseover)=\"mouseOver.emit($event)\"\n\t\t\t\t(mouseout)=\"mouseOut.emit($event)\"\n\t\t\t\t(mouseleave)=\"mouseLeave.emit($event)\"\n\t\t\t\t(mousemove)=\"mouseMove.emit($event)\"\n\t\t\t\ttabindex=\"0\"\n\t\t\t>\n\t\t\t\t<ng-container *ngTemplateOutlet=\"nodeTemplate\"></ng-container>\n\t\t\t</xhtml:button>\n\n\t\t\t<xhtml:a\n\t\t\t\t*ngSwitchCase=\"'a'\"\n\t\t\t\t[ngClass]=\"[\n\t\t\t\t\tnamespace,\n\t\t\t\t\tstacked ? namespace + '--stacked' : '',\n\t\t\t\t\tnamespace + '--' + component\n\t\t\t\t]\"\n\t\t\t\t[attr.href]=\"href\"\n\t\t\t\t[ngStyle]=\"{ 'border-color': color, position: position }\"\n\t\t\t\t(mouseenter)=\"mouseEnter.emit($event)\"\n\t\t\t\t(mouseover)=\"mouseOver.emit($event)\"\n\t\t\t\t(mouseout)=\"mouseOut.emit($event)\"\n\t\t\t\t(mouseleave)=\"mouseLeave.emit($event)\"\n\t\t\t\t(mousemove)=\"mouseMove.emit($event)\"\n\t\t\t\ttabindex=\"0\"\n\t\t\t>\n\t\t\t\t<ng-container *ngTemplateOutlet=\"nodeTemplate\"></ng-container>\n\t\t\t</xhtml:a>\n\t\t</ng-container>\n\t\t<ng-template #nodeTemplate>\n\t\t\t<ng-content></ng-content>\n\t\t</ng-template>\n\t"
|
|
1333
|
-
}] }
|
|
1334
|
-
];
|
|
1335
|
-
CardNodeComponent.propDecorators = {
|
|
1336
|
-
as: [{ type: Input }],
|
|
1337
|
-
href: [{ type: Input }],
|
|
1338
|
-
color: [{ type: Input }],
|
|
1339
|
-
stacked: [{ type: Input }],
|
|
1340
|
-
position: [{ type: Input }],
|
|
1341
|
-
click: [{ type: Output }],
|
|
1342
|
-
mouseEnter: [{ type: Output }],
|
|
1343
|
-
mouseOver: [{ type: Output }],
|
|
1344
|
-
mouseOut: [{ type: Output }],
|
|
1345
|
-
mouseLeave: [{ type: Output }],
|
|
1346
|
-
mouseMove: [{ type: Output }]
|
|
1347
|
-
};
|
|
1348
|
-
return CardNodeComponent;
|
|
1349
|
-
}());
|
|
1350
|
-
if (false) {
|
|
1351
|
-
/** @type {?} */
|
|
1352
|
-
CardNodeComponent.prototype.as;
|
|
1353
|
-
/** @type {?} */
|
|
1354
|
-
CardNodeComponent.prototype.href;
|
|
1355
|
-
/** @type {?} */
|
|
1356
|
-
CardNodeComponent.prototype.color;
|
|
1357
|
-
/** @type {?} */
|
|
1358
|
-
CardNodeComponent.prototype.stacked;
|
|
1359
|
-
/** @type {?} */
|
|
1360
|
-
CardNodeComponent.prototype.position;
|
|
1361
|
-
/** @type {?} */
|
|
1362
|
-
CardNodeComponent.prototype.click;
|
|
1363
|
-
/** @type {?} */
|
|
1364
|
-
CardNodeComponent.prototype.mouseEnter;
|
|
1365
|
-
/** @type {?} */
|
|
1366
|
-
CardNodeComponent.prototype.mouseOver;
|
|
1367
|
-
/** @type {?} */
|
|
1368
|
-
CardNodeComponent.prototype.mouseOut;
|
|
1369
|
-
/** @type {?} */
|
|
1370
|
-
CardNodeComponent.prototype.mouseLeave;
|
|
1371
|
-
/** @type {?} */
|
|
1372
|
-
CardNodeComponent.prototype.mouseMove;
|
|
1373
|
-
/** @type {?} */
|
|
1374
|
-
CardNodeComponent.prototype.namespace;
|
|
1375
|
-
/** @type {?} */
|
|
1376
|
-
CardNodeComponent.prototype.component;
|
|
1377
|
-
}
|
|
1378
|
-
|
|
1379
|
-
/**
|
|
1380
|
-
* @fileoverview added by tsickle
|
|
1381
|
-
* Generated from: diagrams/card-node/card-node-column.component.ts
|
|
1382
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1383
|
-
*/
|
|
1384
|
-
var CardNodeColumnComponent = /** @class */ (function () {
|
|
1385
|
-
function CardNodeColumnComponent() {
|
|
1386
|
-
this.farsideColumn = false;
|
|
1387
|
-
}
|
|
1388
|
-
Object.defineProperty(CardNodeColumnComponent.prototype, "class", {
|
|
1389
|
-
get: /**
|
|
1390
|
-
* @return {?}
|
|
1391
|
-
*/
|
|
1392
|
-
function () {
|
|
1393
|
-
/** @type {?} */
|
|
1394
|
-
var farsideClassName = this.farsideColumn
|
|
1395
|
-
? carbonPrefix + "--cc--card-node__column--farside"
|
|
1396
|
-
: '';
|
|
1397
|
-
return carbonPrefix + "--cc--card-node__column " + farsideClassName;
|
|
1398
|
-
},
|
|
1399
|
-
enumerable: true,
|
|
1400
|
-
configurable: true
|
|
1401
|
-
});
|
|
1402
|
-
CardNodeColumnComponent.decorators = [
|
|
1403
|
-
{ type: Component, args: [{
|
|
1404
|
-
selector: 'ibm-diagram-card-node-column',
|
|
1405
|
-
template: "\n\t\t<xhtml:div>\n\t\t\t<ng-content></ng-content>\n\t\t</xhtml:div>\n\t"
|
|
1406
|
-
}] }
|
|
1407
|
-
];
|
|
1408
|
-
CardNodeColumnComponent.propDecorators = {
|
|
1409
|
-
farsideColumn: [{ type: Input }],
|
|
1410
|
-
class: [{ type: HostBinding, args: ['class',] }]
|
|
1411
|
-
};
|
|
1412
|
-
return CardNodeColumnComponent;
|
|
1413
|
-
}());
|
|
1414
|
-
if (false) {
|
|
1415
|
-
/** @type {?} */
|
|
1416
|
-
CardNodeColumnComponent.prototype.farsideColumn;
|
|
1417
|
-
}
|
|
1418
|
-
|
|
1419
|
-
/**
|
|
1420
|
-
* @fileoverview added by tsickle
|
|
1421
|
-
* Generated from: diagrams/card-node/card-node-label.component.ts
|
|
1422
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1423
|
-
*/
|
|
1424
|
-
var CardNodeLabelComponent = /** @class */ (function () {
|
|
1425
|
-
function CardNodeLabelComponent() {
|
|
1426
|
-
this.namespace = carbonPrefix + "--cc--card-node__label";
|
|
1427
|
-
}
|
|
1428
|
-
CardNodeLabelComponent.decorators = [
|
|
1429
|
-
{ type: Component, args: [{
|
|
1430
|
-
selector: "ibm-diagram-card-node-label",
|
|
1431
|
-
template: "\n\t<xhtml:label [ngClass]=\"namespace\">\n\t\t<ng-content></ng-content>\n\t</xhtml:label>\n\t"
|
|
1432
|
-
}] }
|
|
1433
|
-
];
|
|
1434
|
-
return CardNodeLabelComponent;
|
|
1435
|
-
}());
|
|
1436
|
-
if (false) {
|
|
1437
|
-
/** @type {?} */
|
|
1438
|
-
CardNodeLabelComponent.prototype.namespace;
|
|
1439
|
-
}
|
|
1440
|
-
|
|
1441
|
-
/**
|
|
1442
|
-
* @fileoverview added by tsickle
|
|
1443
|
-
* Generated from: diagrams/card-node/card-node-subtitle.component.ts
|
|
1444
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1445
|
-
*/
|
|
1446
|
-
var CardNodeSubtitleComponent = /** @class */ (function () {
|
|
1447
|
-
function CardNodeSubtitleComponent() {
|
|
1448
|
-
this.namespace = carbonPrefix + "--cc--card-node__subtitle";
|
|
1449
|
-
}
|
|
1450
|
-
CardNodeSubtitleComponent.decorators = [
|
|
1451
|
-
{ type: Component, args: [{
|
|
1452
|
-
selector: "ibm-diagram-card-node-subtitle",
|
|
1453
|
-
template: "\n\t<xhtml:div [ngClass]=\"namespace\">\n\t\t<ng-content></ng-content>\n\t</xhtml:div>\n\t"
|
|
1454
|
-
}] }
|
|
1455
|
-
];
|
|
1456
|
-
return CardNodeSubtitleComponent;
|
|
1457
|
-
}());
|
|
1458
|
-
if (false) {
|
|
1459
|
-
/** @type {?} */
|
|
1460
|
-
CardNodeSubtitleComponent.prototype.namespace;
|
|
1461
|
-
}
|
|
1462
|
-
|
|
1463
|
-
/**
|
|
1464
|
-
* @fileoverview added by tsickle
|
|
1465
|
-
* Generated from: diagrams/card-node/card-node-title.component.ts
|
|
1466
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1467
|
-
*/
|
|
1468
|
-
var CardNodeTitleComponent = /** @class */ (function () {
|
|
1469
|
-
function CardNodeTitleComponent() {
|
|
1470
|
-
this.namespace = carbonPrefix + "--cc--card-node__title";
|
|
1471
|
-
}
|
|
1472
|
-
CardNodeTitleComponent.decorators = [
|
|
1473
|
-
{ type: Component, args: [{
|
|
1474
|
-
selector: "ibm-diagram-card-node-title",
|
|
1475
|
-
template: "\n\t<xhtml:div [ngClass]=\"namespace\">\n\t\t<ng-content></ng-content>\n\t</xhtml:div>\n\t"
|
|
1476
|
-
}] }
|
|
1477
|
-
];
|
|
1478
|
-
return CardNodeTitleComponent;
|
|
1479
|
-
}());
|
|
1480
|
-
if (false) {
|
|
1481
|
-
/** @type {?} */
|
|
1482
|
-
CardNodeTitleComponent.prototype.namespace;
|
|
1483
|
-
}
|
|
1484
|
-
|
|
1485
|
-
/**
|
|
1486
|
-
* @fileoverview added by tsickle
|
|
1487
|
-
* Generated from: diagrams/card-node/card-node.module.ts
|
|
1488
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1489
|
-
*/
|
|
1490
|
-
var CardNodeModule = /** @class */ (function () {
|
|
1491
|
-
function CardNodeModule() {
|
|
1492
|
-
}
|
|
1493
|
-
CardNodeModule.decorators = [
|
|
1494
|
-
{ type: NgModule, args: [{
|
|
1495
|
-
declarations: [CardNodeComponent, CardNodeColumnComponent, CardNodeLabelComponent, CardNodeSubtitleComponent, CardNodeTitleComponent],
|
|
1496
|
-
exports: [CardNodeComponent, CardNodeColumnComponent, CardNodeLabelComponent, CardNodeSubtitleComponent, CardNodeTitleComponent],
|
|
1497
|
-
imports: [CommonModule]
|
|
1498
|
-
},] }
|
|
1499
|
-
];
|
|
1500
|
-
return CardNodeModule;
|
|
1501
|
-
}());
|
|
1502
|
-
|
|
1503
|
-
/**
|
|
1504
|
-
* @fileoverview added by tsickle
|
|
1505
|
-
* Generated from: diagrams/edge/edge.component.ts
|
|
1506
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1507
|
-
*/
|
|
1508
|
-
/**
|
|
1509
|
-
* @record
|
|
1510
|
-
*/
|
|
1511
|
-
function Coordinates() { }
|
|
1512
|
-
if (false) {
|
|
1513
|
-
/** @type {?} */
|
|
1514
|
-
Coordinates.prototype.x;
|
|
1515
|
-
/** @type {?} */
|
|
1516
|
-
Coordinates.prototype.y;
|
|
1517
|
-
}
|
|
1518
|
-
var EdgeComponent = /** @class */ (function () {
|
|
1519
|
-
function EdgeComponent() {
|
|
1520
|
-
this.namespace = carbonPrefix + "--cc--edge";
|
|
1521
|
-
this.straight = buildStraightPathString;
|
|
1522
|
-
}
|
|
1523
|
-
EdgeComponent.decorators = [
|
|
1524
|
-
{ type: Component, args: [{
|
|
1525
|
-
selector: "[ibm-graph-edge]",
|
|
1526
|
-
template: "\n\t<svg:g [ngClass]=\"[namespace, variant ? namespace + '--' + variant : '']\">\n\t\t<svg:path\n\t\t\t[ngClass]=\"namespace + '__container'\"\n\t\t\t[attr.d]=\"path ? path : straight(source, target)\"\n\t\t/>\n\t\t<svg:path\n\t\t\t[ngClass]=\"namespace + '__outer'\"\n\t\t\t[attr.d]=\"path ? path : straight(source, target)\"\n\t\t/>\n\t\t<svg:path\n\t\t\t[ngClass]=\"namespace + '__inner'\"\n\t\t\t[attr.d]=\"path ? path : straight(source, target)\"\n\t\t\t[ngStyle]=\"{'stroke': color}\"\n\t\t\t[attr.marker-start]=\"markerStart ? 'url(#' + markerStart + ')' : ''\"\n\t\t\t[attr.marker-end]=\"markerEnd ? 'url(#' + markerEnd + ')' : ''\"\n\t\t/>\n\t</svg:g>\n\t"
|
|
1527
|
-
}] }
|
|
1528
|
-
];
|
|
1529
|
-
EdgeComponent.propDecorators = {
|
|
1530
|
-
color: [{ type: Input }],
|
|
1531
|
-
markerEnd: [{ type: Input }],
|
|
1532
|
-
markerStart: [{ type: Input }],
|
|
1533
|
-
source: [{ type: Input }],
|
|
1534
|
-
target: [{ type: Input }],
|
|
1535
|
-
variant: [{ type: Input }],
|
|
1536
|
-
path: [{ type: Input }]
|
|
1537
|
-
};
|
|
1538
|
-
return EdgeComponent;
|
|
1539
|
-
}());
|
|
1540
|
-
if (false) {
|
|
1541
|
-
/** @type {?} */
|
|
1542
|
-
EdgeComponent.prototype.color;
|
|
1543
|
-
/** @type {?} */
|
|
1544
|
-
EdgeComponent.prototype.markerEnd;
|
|
1545
|
-
/** @type {?} */
|
|
1546
|
-
EdgeComponent.prototype.markerStart;
|
|
1547
|
-
/** @type {?} */
|
|
1548
|
-
EdgeComponent.prototype.source;
|
|
1549
|
-
/** @type {?} */
|
|
1550
|
-
EdgeComponent.prototype.target;
|
|
1551
|
-
/** @type {?} */
|
|
1552
|
-
EdgeComponent.prototype.variant;
|
|
1553
|
-
/** @type {?} */
|
|
1554
|
-
EdgeComponent.prototype.path;
|
|
1555
|
-
/** @type {?} */
|
|
1556
|
-
EdgeComponent.prototype.pathClasses;
|
|
1557
|
-
/** @type {?} */
|
|
1558
|
-
EdgeComponent.prototype.namespace;
|
|
1559
|
-
/** @type {?} */
|
|
1560
|
-
EdgeComponent.prototype.straight;
|
|
1561
|
-
}
|
|
1562
|
-
|
|
1563
|
-
/**
|
|
1564
|
-
* @fileoverview added by tsickle
|
|
1565
|
-
* Generated from: diagrams/edge/edge.module.ts
|
|
1566
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1567
|
-
*/
|
|
1568
|
-
var EdgeModule = /** @class */ (function () {
|
|
1569
|
-
function EdgeModule() {
|
|
1570
|
-
}
|
|
1571
|
-
EdgeModule.decorators = [
|
|
1572
|
-
{ type: NgModule, args: [{
|
|
1573
|
-
declarations: [EdgeComponent],
|
|
1574
|
-
exports: [EdgeComponent],
|
|
1575
|
-
imports: [CommonModule]
|
|
1576
|
-
},] }
|
|
1577
|
-
];
|
|
1578
|
-
return EdgeModule;
|
|
1579
|
-
}());
|
|
1580
|
-
|
|
1581
|
-
/**
|
|
1582
|
-
* @fileoverview added by tsickle
|
|
1583
|
-
* Generated from: diagrams/marker/marker.component.ts
|
|
1584
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1585
|
-
*/
|
|
1586
|
-
/** @type {?} */
|
|
1587
|
-
var template = "\n<svg:marker\n\t[ngClass]=\"namespace\"\n\t[attr.markerHeight]=\"height\"\n\t[attr.markerWidth]=\"width\"\n\t[attr.orient]=\"orient\"\n\t[attr.id]=\"id\"\n\t[attr.refX]=\"refX\"\n\t[attr.refY]=\"refY\"\n\tmarkerUnits=\"userSpaceOnUse\">\n\t<svg:path [attr.d]=\"d\" [ngStyle]=\"{'fill': color}\" ></svg:path>\n</svg:marker>\n";
|
|
1588
|
-
var MarkerComponent = /** @class */ (function () {
|
|
1589
|
-
function MarkerComponent() {
|
|
1590
|
-
var _this = this;
|
|
1591
|
-
this.orient = "auto";
|
|
1592
|
-
this.position = "end";
|
|
1593
|
-
this.namespace = carbonPrefix + "--cc--marker";
|
|
1594
|
-
this.setAttributes = (/**
|
|
1595
|
-
* @param {?} __0
|
|
1596
|
-
* @return {?}
|
|
1597
|
-
*/
|
|
1598
|
-
function (_a) {
|
|
1599
|
-
var d = _a.d, id = _a.id, height = _a.height, width = _a.width;
|
|
1600
|
-
/** @type {?} */
|
|
1601
|
-
var xPos = (_this.position === "end") ? (width / 2) + 0.5 : 0.5;
|
|
1602
|
-
/** @type {?} */
|
|
1603
|
-
var yPos = height / 2;
|
|
1604
|
-
_this.d = _this.d || d;
|
|
1605
|
-
_this.id = _this.id || id;
|
|
1606
|
-
_this.height = _this.height || height;
|
|
1607
|
-
_this.width = _this.width || width;
|
|
1608
|
-
_this.refX = _this.refX || xPos;
|
|
1609
|
-
_this.refY = _this.refY || yPos;
|
|
1610
|
-
});
|
|
1611
|
-
}
|
|
1612
|
-
MarkerComponent.decorators = [
|
|
1613
|
-
{ type: Component, args: [{
|
|
1614
|
-
selector: "[ibm-graph-marker]",
|
|
1615
|
-
template: template
|
|
1616
|
-
}] }
|
|
1617
|
-
];
|
|
1618
|
-
MarkerComponent.propDecorators = {
|
|
1619
|
-
d: [{ type: Input }],
|
|
1620
|
-
color: [{ type: Input }],
|
|
1621
|
-
id: [{ type: Input }],
|
|
1622
|
-
orient: [{ type: Input }],
|
|
1623
|
-
height: [{ type: Input }],
|
|
1624
|
-
width: [{ type: Input }],
|
|
1625
|
-
refX: [{ type: Input }],
|
|
1626
|
-
refY: [{ type: Input }],
|
|
1627
|
-
position: [{ type: Input }]
|
|
1628
|
-
};
|
|
1629
|
-
return MarkerComponent;
|
|
1630
|
-
}());
|
|
1631
|
-
if (false) {
|
|
1632
|
-
/** @type {?} */
|
|
1633
|
-
MarkerComponent.prototype.d;
|
|
1634
|
-
/** @type {?} */
|
|
1635
|
-
MarkerComponent.prototype.color;
|
|
1636
|
-
/** @type {?} */
|
|
1637
|
-
MarkerComponent.prototype.id;
|
|
1638
|
-
/** @type {?} */
|
|
1639
|
-
MarkerComponent.prototype.orient;
|
|
1640
|
-
/** @type {?} */
|
|
1641
|
-
MarkerComponent.prototype.height;
|
|
1642
|
-
/** @type {?} */
|
|
1643
|
-
MarkerComponent.prototype.width;
|
|
1644
|
-
/** @type {?} */
|
|
1645
|
-
MarkerComponent.prototype.refX;
|
|
1646
|
-
/** @type {?} */
|
|
1647
|
-
MarkerComponent.prototype.refY;
|
|
1648
|
-
/** @type {?} */
|
|
1649
|
-
MarkerComponent.prototype.position;
|
|
1650
|
-
/** @type {?} */
|
|
1651
|
-
MarkerComponent.prototype.namespace;
|
|
1652
|
-
/** @type {?} */
|
|
1653
|
-
MarkerComponent.prototype.setAttributes;
|
|
1654
|
-
}
|
|
1655
|
-
var MarkerArrowLeftComponent = /** @class */ (function (_super) {
|
|
1656
|
-
__extends(MarkerArrowLeftComponent, _super);
|
|
1657
|
-
function MarkerArrowLeftComponent() {
|
|
1658
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
1659
|
-
}
|
|
1660
|
-
/**
|
|
1661
|
-
* @return {?}
|
|
1662
|
-
*/
|
|
1663
|
-
MarkerArrowLeftComponent.prototype.ngOnInit = /**
|
|
1664
|
-
* @return {?}
|
|
1665
|
-
*/
|
|
1666
|
-
function () { this.setAttributes(__assign({}, arrowLeft)); };
|
|
1667
|
-
MarkerArrowLeftComponent.decorators = [
|
|
1668
|
-
{ type: Component, args: [{ selector: "[ibm-graph-marker-arrow-left]", template: template }] }
|
|
1669
|
-
];
|
|
1670
|
-
return MarkerArrowLeftComponent;
|
|
1671
|
-
}(MarkerComponent));
|
|
1672
|
-
var MarkerArrowRightComponent = /** @class */ (function (_super) {
|
|
1673
|
-
__extends(MarkerArrowRightComponent, _super);
|
|
1674
|
-
function MarkerArrowRightComponent() {
|
|
1675
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
1676
|
-
}
|
|
1677
|
-
/**
|
|
1678
|
-
* @return {?}
|
|
1679
|
-
*/
|
|
1680
|
-
MarkerArrowRightComponent.prototype.ngOnInit = /**
|
|
1681
|
-
* @return {?}
|
|
1682
|
-
*/
|
|
1683
|
-
function () { this.setAttributes(__assign({}, arrowRight)); };
|
|
1684
|
-
MarkerArrowRightComponent.decorators = [
|
|
1685
|
-
{ type: Component, args: [{ selector: "[ibm-graph-marker-arrow-right]", template: template }] }
|
|
1686
|
-
];
|
|
1687
|
-
return MarkerArrowRightComponent;
|
|
1688
|
-
}(MarkerComponent));
|
|
1689
|
-
var MarkerShapeNodeComponent = /** @class */ (function (_super) {
|
|
1690
|
-
__extends(MarkerShapeNodeComponent, _super);
|
|
1691
|
-
function MarkerShapeNodeComponent() {
|
|
1692
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
1693
|
-
}
|
|
1694
|
-
/**
|
|
1695
|
-
* @return {?}
|
|
1696
|
-
*/
|
|
1697
|
-
MarkerShapeNodeComponent.prototype.ngOnInit = /**
|
|
1698
|
-
* @return {?}
|
|
1699
|
-
*/
|
|
1700
|
-
function () { this.setAttributes(__assign({}, circle)); };
|
|
1701
|
-
MarkerShapeNodeComponent.decorators = [
|
|
1702
|
-
{ type: Component, args: [{ selector: "[ibm-graph-marker-circle]", template: template }] }
|
|
1703
|
-
];
|
|
1704
|
-
return MarkerShapeNodeComponent;
|
|
1705
|
-
}(MarkerComponent));
|
|
1706
|
-
var MarkerDiamondComponent = /** @class */ (function (_super) {
|
|
1707
|
-
__extends(MarkerDiamondComponent, _super);
|
|
1708
|
-
function MarkerDiamondComponent() {
|
|
1709
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
1710
|
-
}
|
|
1711
|
-
/**
|
|
1712
|
-
* @return {?}
|
|
1713
|
-
*/
|
|
1714
|
-
MarkerDiamondComponent.prototype.ngOnInit = /**
|
|
1715
|
-
* @return {?}
|
|
1716
|
-
*/
|
|
1717
|
-
function () { this.setAttributes(__assign({}, diamond)); };
|
|
1718
|
-
MarkerDiamondComponent.decorators = [
|
|
1719
|
-
{ type: Component, args: [{ selector: "[ibm-graph-marker-diamond]", template: template }] }
|
|
1720
|
-
];
|
|
1721
|
-
return MarkerDiamondComponent;
|
|
1722
|
-
}(MarkerComponent));
|
|
1723
|
-
var MarkerSquareComponent = /** @class */ (function (_super) {
|
|
1724
|
-
__extends(MarkerSquareComponent, _super);
|
|
1725
|
-
function MarkerSquareComponent() {
|
|
1726
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
1727
|
-
}
|
|
1728
|
-
/**
|
|
1729
|
-
* @return {?}
|
|
1730
|
-
*/
|
|
1731
|
-
MarkerSquareComponent.prototype.ngOnInit = /**
|
|
1732
|
-
* @return {?}
|
|
1733
|
-
*/
|
|
1734
|
-
function () { this.setAttributes(__assign({}, square)); };
|
|
1735
|
-
MarkerSquareComponent.decorators = [
|
|
1736
|
-
{ type: Component, args: [{ selector: "[ibm-graph-marker-square]", template: template }] }
|
|
1737
|
-
];
|
|
1738
|
-
return MarkerSquareComponent;
|
|
1739
|
-
}(MarkerComponent));
|
|
1740
|
-
var MarkerTeeComponent = /** @class */ (function (_super) {
|
|
1741
|
-
__extends(MarkerTeeComponent, _super);
|
|
1742
|
-
function MarkerTeeComponent() {
|
|
1743
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
1744
|
-
}
|
|
1745
|
-
/**
|
|
1746
|
-
* @return {?}
|
|
1747
|
-
*/
|
|
1748
|
-
MarkerTeeComponent.prototype.ngOnInit = /**
|
|
1749
|
-
* @return {?}
|
|
1750
|
-
*/
|
|
1751
|
-
function () { this.setAttributes(__assign({}, tee)); };
|
|
1752
|
-
MarkerTeeComponent.decorators = [
|
|
1753
|
-
{ type: Component, args: [{ selector: "[ibm-graph-marker-tee]", template: template }] }
|
|
1754
|
-
];
|
|
1755
|
-
return MarkerTeeComponent;
|
|
1756
|
-
}(MarkerComponent));
|
|
1757
|
-
|
|
1758
|
-
/**
|
|
1759
|
-
* @fileoverview added by tsickle
|
|
1760
|
-
* Generated from: diagrams/marker/marker.module.ts
|
|
1761
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1762
|
-
*/
|
|
1763
|
-
var MarkerModule = /** @class */ (function () {
|
|
1764
|
-
function MarkerModule() {
|
|
1765
|
-
}
|
|
1766
|
-
MarkerModule.decorators = [
|
|
1767
|
-
{ type: NgModule, args: [{
|
|
1768
|
-
declarations: [
|
|
1769
|
-
MarkerComponent,
|
|
1770
|
-
MarkerArrowLeftComponent,
|
|
1771
|
-
MarkerArrowRightComponent,
|
|
1772
|
-
MarkerShapeNodeComponent,
|
|
1773
|
-
MarkerDiamondComponent,
|
|
1774
|
-
MarkerSquareComponent,
|
|
1775
|
-
MarkerTeeComponent
|
|
1776
|
-
],
|
|
1777
|
-
exports: [
|
|
1778
|
-
MarkerComponent,
|
|
1779
|
-
MarkerArrowLeftComponent,
|
|
1780
|
-
MarkerArrowRightComponent,
|
|
1781
|
-
MarkerShapeNodeComponent,
|
|
1782
|
-
MarkerDiamondComponent,
|
|
1783
|
-
MarkerSquareComponent,
|
|
1784
|
-
MarkerTeeComponent
|
|
1785
|
-
],
|
|
1786
|
-
imports: [CommonModule]
|
|
1787
|
-
},] }
|
|
1788
|
-
];
|
|
1789
|
-
return MarkerModule;
|
|
1790
|
-
}());
|
|
1791
|
-
|
|
1792
|
-
/**
|
|
1793
|
-
* @fileoverview added by tsickle
|
|
1794
|
-
* Generated from: diagrams/shape-node/shape-node.component.ts
|
|
1795
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1796
|
-
*/
|
|
1797
|
-
var ShapeNodeComponent = /** @class */ (function () {
|
|
1798
|
-
function ShapeNodeComponent() {
|
|
1799
|
-
this.as = 'div';
|
|
1800
|
-
this.href = null;
|
|
1801
|
-
this.size = 48;
|
|
1802
|
-
this.shape = 'circle';
|
|
1803
|
-
this.position = 'fixed';
|
|
1804
|
-
this.bodyPosition = 'absolute';
|
|
1805
|
-
this.click = new EventEmitter();
|
|
1806
|
-
this.mouseEnter = new EventEmitter();
|
|
1807
|
-
this.mouseOver = new EventEmitter();
|
|
1808
|
-
this.mouseOut = new EventEmitter();
|
|
1809
|
-
this.mouseLeave = new EventEmitter();
|
|
1810
|
-
this.mouseMove = new EventEmitter();
|
|
1811
|
-
this.namespace = carbonPrefix + "--cc--shape-node";
|
|
1812
|
-
this.component = 'div';
|
|
1813
|
-
}
|
|
1814
|
-
/**
|
|
1815
|
-
* @return {?}
|
|
1816
|
-
*/
|
|
1817
|
-
ShapeNodeComponent.prototype.ngOnInit = /**
|
|
1818
|
-
* @return {?}
|
|
1819
|
-
*/
|
|
1820
|
-
function () {
|
|
1821
|
-
if (this.href) {
|
|
1822
|
-
this.component = 'a';
|
|
1823
|
-
}
|
|
1824
|
-
else {
|
|
1825
|
-
this.component = this.as;
|
|
1826
|
-
}
|
|
1827
|
-
};
|
|
1828
|
-
ShapeNodeComponent.decorators = [
|
|
1829
|
-
{ type: Component, args: [{
|
|
1830
|
-
selector: 'ibm-diagram-shape-node',
|
|
1831
|
-
template: "\n\t\t<ng-container [ngSwitch]=\"component\">\n\t\t\t<xhtml:div\n\t\t\t\t*ngSwitchCase=\"'div'\"\n\t\t\t\t[ngClass]=\"[\n\t\t\t\t\tnamespace,\n\t\t\t\t\tstacked ? namespace + '--stacked' : '',\n\t\t\t\t\tshape ? namespace + '--' + shape : '',\n\t\t\t\t\tnamespace + '--' + component\n\t\t\t\t]\"\n\t\t\t\t[ngStyle]=\"{\n\t\t\t\t\t'height.px': size,\n\t\t\t\t\t'width.px': size,\n\t\t\t\t\tposition: position\n\t\t\t\t}\"\n\t\t\t\t(mouseenter)=\"mouseEnter.emit($event)\"\n\t\t\t\t(mouseover)=\"mouseOver.emit($event)\"\n\t\t\t\t(mouseout)=\"mouseOut.emit($event)\"\n\t\t\t\t(mouseleave)=\"mouseLeave.emit($event)\"\n\t\t\t\t(mousemove)=\"mouseMove.emit($event)\"\n\t\t\t\ttabindex=\"0\"\n\t\t\t>\n\t\t\t\t<ng-container *ngTemplateOutlet=\"nodeTemplate\"></ng-container>\n\t\t\t</xhtml:div>\n\n\t\t\t<xhtml:button\n\t\t\t\t*ngSwitchCase=\"'button'\"\n\t\t\t\t[ngClass]=\"[\n\t\t\t\t\tnamespace,\n\t\t\t\t\tstacked ? namespace + '--stacked' : '',\n\t\t\t\t\tshape ? namespace + '--' + shape : '',\n\t\t\t\t\tnamespace + '--' + component\n\t\t\t\t]\"\n\t\t\t\t[ngStyle]=\"{\n\t\t\t\t\t'height.px': size,\n\t\t\t\t\t'width.px': size,\n\t\t\t\t\tposition: position\n\t\t\t\t}\"\n\t\t\t\t(click)=\"click.emit($event)\"\n\t\t\t\t(mouseenter)=\"mouseEnter.emit($event)\"\n\t\t\t\t(mouseover)=\"mouseOver.emit($event)\"\n\t\t\t\t(mouseout)=\"mouseOut.emit($event)\"\n\t\t\t\t(mouseleave)=\"mouseLeave.emit($event)\"\n\t\t\t\t(mousemove)=\"mouseMove.emit($event)\"\n\t\t\t\ttabindex=\"0\"\n\t\t\t>\n\t\t\t\t<ng-container *ngTemplateOutlet=\"nodeTemplate\"></ng-container>\n\t\t\t</xhtml:button>\n\n\t\t\t<xhtml:a\n\t\t\t\t*ngSwitchCase=\"'a'\"\n\t\t\t\t[ngClass]=\"[\n\t\t\t\t\tnamespace,\n\t\t\t\t\tstacked ? namespace + '--stacked' : '',\n\t\t\t\t\tshape ? namespace + '--' + shape : '',\n\t\t\t\t\tnamespace + '--' + component\n\t\t\t\t]\"\n\t\t\t\t[attr.href]=\"href\"\n\t\t\t\t[ngStyle]=\"{\n\t\t\t\t\t'height.px': size,\n\t\t\t\t\t'width.px': size,\n\t\t\t\t\tposition: position\n\t\t\t\t}\"\n\t\t\t\t(mouseenter)=\"mouseEnter.emit($event)\"\n\t\t\t\t(mouseover)=\"mouseOver.emit($event)\"\n\t\t\t\t(mouseout)=\"mouseOut.emit($event)\"\n\t\t\t\t(mouseleave)=\"mouseLeave.emit($event)\"\n\t\t\t\t(mousemove)=\"mouseMove.emit($event)\"\n\t\t\t\ttabindex=\"0\"\n\t\t\t>\n\t\t\t\t<ng-container *ngTemplateOutlet=\"nodeTemplate\"></ng-container>\n\t\t\t</xhtml:a>\n\t\t</ng-container>\n\n\t\t<ng-template #nodeTemplate>\n\t\t\t<div *ngIf=\"renderIcon\" attr.class=\"{{ namespace + '__icon' }}\">\n\t\t\t\t<ng-container *ngTemplateOutlet=\"renderIcon\"></ng-container>\n\t\t\t</div>\n\t\t\t<div\n\t\t\t\tattr.class=\"{{ namespace + '__body' }}\"\n\t\t\t\t[ngStyle]=\"{ position: bodyPosition }\"\n\t\t\t>\n\t\t\t\t<div attr.class=\"{{ namespace + '__title' }}\">{{ title }}</div>\n\t\t\t\t<div attr.class=\"{{ namespace + '__subtitle' }}\">\n\t\t\t\t\t{{ subtitle }}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</ng-template>\n\t"
|
|
1832
|
-
}] }
|
|
1833
|
-
];
|
|
1834
|
-
ShapeNodeComponent.propDecorators = {
|
|
1835
|
-
as: [{ type: Input }],
|
|
1836
|
-
href: [{ type: Input }],
|
|
1837
|
-
renderIcon: [{ type: Input }],
|
|
1838
|
-
size: [{ type: Input }],
|
|
1839
|
-
stacked: [{ type: Input }],
|
|
1840
|
-
shape: [{ type: Input }],
|
|
1841
|
-
subtitle: [{ type: Input }],
|
|
1842
|
-
title: [{ type: Input }],
|
|
1843
|
-
position: [{ type: Input }],
|
|
1844
|
-
bodyPosition: [{ type: Input }],
|
|
1845
|
-
click: [{ type: Output }],
|
|
1846
|
-
mouseEnter: [{ type: Output }],
|
|
1847
|
-
mouseOver: [{ type: Output }],
|
|
1848
|
-
mouseOut: [{ type: Output }],
|
|
1849
|
-
mouseLeave: [{ type: Output }],
|
|
1850
|
-
mouseMove: [{ type: Output }]
|
|
1851
|
-
};
|
|
1852
|
-
return ShapeNodeComponent;
|
|
1853
|
-
}());
|
|
1854
|
-
if (false) {
|
|
1855
|
-
/** @type {?} */
|
|
1856
|
-
ShapeNodeComponent.prototype.as;
|
|
1857
|
-
/** @type {?} */
|
|
1858
|
-
ShapeNodeComponent.prototype.href;
|
|
1859
|
-
/** @type {?} */
|
|
1860
|
-
ShapeNodeComponent.prototype.renderIcon;
|
|
1861
|
-
/** @type {?} */
|
|
1862
|
-
ShapeNodeComponent.prototype.size;
|
|
1863
|
-
/** @type {?} */
|
|
1864
|
-
ShapeNodeComponent.prototype.stacked;
|
|
1865
|
-
/** @type {?} */
|
|
1866
|
-
ShapeNodeComponent.prototype.shape;
|
|
1867
|
-
/** @type {?} */
|
|
1868
|
-
ShapeNodeComponent.prototype.subtitle;
|
|
1869
|
-
/** @type {?} */
|
|
1870
|
-
ShapeNodeComponent.prototype.title;
|
|
1871
|
-
/** @type {?} */
|
|
1872
|
-
ShapeNodeComponent.prototype.position;
|
|
1873
|
-
/** @type {?} */
|
|
1874
|
-
ShapeNodeComponent.prototype.bodyPosition;
|
|
1875
|
-
/** @type {?} */
|
|
1876
|
-
ShapeNodeComponent.prototype.click;
|
|
1877
|
-
/** @type {?} */
|
|
1878
|
-
ShapeNodeComponent.prototype.mouseEnter;
|
|
1879
|
-
/** @type {?} */
|
|
1880
|
-
ShapeNodeComponent.prototype.mouseOver;
|
|
1881
|
-
/** @type {?} */
|
|
1882
|
-
ShapeNodeComponent.prototype.mouseOut;
|
|
1883
|
-
/** @type {?} */
|
|
1884
|
-
ShapeNodeComponent.prototype.mouseLeave;
|
|
1885
|
-
/** @type {?} */
|
|
1886
|
-
ShapeNodeComponent.prototype.mouseMove;
|
|
1887
|
-
/** @type {?} */
|
|
1888
|
-
ShapeNodeComponent.prototype.namespace;
|
|
1889
|
-
/** @type {?} */
|
|
1890
|
-
ShapeNodeComponent.prototype.component;
|
|
1891
|
-
}
|
|
1892
|
-
|
|
1893
|
-
/**
|
|
1894
|
-
* @fileoverview added by tsickle
|
|
1895
|
-
* Generated from: diagrams/shape-node/shape-node.module.ts
|
|
1896
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1897
|
-
*/
|
|
1898
|
-
var ShapeNodeModule = /** @class */ (function () {
|
|
1899
|
-
function ShapeNodeModule() {
|
|
1900
|
-
}
|
|
1901
|
-
ShapeNodeModule.decorators = [
|
|
1902
|
-
{ type: NgModule, args: [{
|
|
1903
|
-
declarations: [ShapeNodeComponent],
|
|
1904
|
-
exports: [ShapeNodeComponent],
|
|
1905
|
-
imports: [CommonModule]
|
|
1906
|
-
},] }
|
|
1907
|
-
];
|
|
1908
|
-
return ShapeNodeModule;
|
|
1909
|
-
}());
|
|
1910
|
-
|
|
1911
|
-
/**
|
|
1912
|
-
* @fileoverview added by tsickle
|
|
1913
|
-
* Generated from: index.ts
|
|
1914
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1915
|
-
*/
|
|
1916
|
-
|
|
1917
|
-
/**
|
|
1918
|
-
* @fileoverview added by tsickle
|
|
1919
|
-
* Generated from: carbon-charts-angular.ts
|
|
1920
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1921
|
-
*/
|
|
1922
|
-
|
|
1923
|
-
export { AlluvialChartComponent, AreaChartComponent, BaseChart, BoxplotChartComponent, BubbleChartComponent, BulletChartComponent, CardNodeColumnComponent, CardNodeComponent, CardNodeLabelComponent, CardNodeModule, CardNodeSubtitleComponent, CardNodeTitleComponent, ChartsModule, CirclePackChartComponent, ComboChartComponent, DonutChartComponent, EdgeComponent, EdgeModule, 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, EXPERIMENTAL_ChoroplethChartComponent as ɵa };
|
|
1924
|
-
//# sourceMappingURL=carbon-charts-angular.js.map
|