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