@unovis/angular 1.7.0-Phoenix.0 → 1.7.0-pre.1
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/dist/lib/bundles/unovis-angular.umd.js +106 -7
- package/dist/lib/bundles/unovis-angular.umd.js.map +1 -1
- package/dist/lib/components/area/area.component.d.ts +3 -1
- package/dist/lib/components/sankey/sankey.component.d.ts +26 -3
- package/dist/lib/components.d.ts +2 -0
- package/dist/lib/esm2015/components/area/area.component.js +6 -4
- package/dist/lib/esm2015/components/sankey/sankey.component.js +26 -4
- package/dist/lib/esm2015/components.js +3 -1
- package/dist/lib/esm2015/html-components/bullet-legend/bullet-legend.component.js +2 -2
- package/dist/lib/esm2015/html-components/flow-legend/flow-legend.component.js +54 -0
- package/dist/lib/esm2015/html-components/flow-legend/flow-legend.module.js +18 -0
- package/dist/lib/fesm2015/unovis-angular.js +98 -9
- package/dist/lib/fesm2015/unovis-angular.js.map +1 -1
- package/dist/lib/html-components/flow-legend/flow-legend.component.d.ts +28 -0
- package/dist/lib/html-components/flow-legend/flow-legend.module.d.ts +7 -0
- package/dist/lib/package.json +2 -2
- package/package.json +2 -2
|
@@ -775,8 +775,8 @@
|
|
|
775
775
|
(_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
|
|
776
776
|
};
|
|
777
777
|
VisAreaComponent.prototype.getConfig = function () {
|
|
778
|
-
var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, x = _d.x, y = _d.y, id = _d.id, color = _d.color, xScale = _d.xScale, yScale = _d.yScale, excludeFromDomainCalculation = _d.excludeFromDomainCalculation, curveType = _d.curveType, baseline = _d.baseline, opacity = _d.opacity, cursor = _d.cursor, minHeight1Px = _d.minHeight1Px, minHeight = _d.minHeight;
|
|
779
|
-
var config = { duration: duration, events: events, attributes: attributes, x: x, y: y, id: id, color: color, xScale: xScale, yScale: yScale, excludeFromDomainCalculation: excludeFromDomainCalculation, curveType: curveType, baseline: baseline, opacity: opacity, cursor: cursor, minHeight1Px: minHeight1Px, minHeight: minHeight };
|
|
778
|
+
var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, x = _d.x, y = _d.y, id = _d.id, color = _d.color, xScale = _d.xScale, yScale = _d.yScale, excludeFromDomainCalculation = _d.excludeFromDomainCalculation, curveType = _d.curveType, baseline = _d.baseline, opacity = _d.opacity, cursor = _d.cursor, minHeight1Px = _d.minHeight1Px, minHeight = _d.minHeight, stackMinHeight = _d.stackMinHeight;
|
|
779
|
+
var config = { duration: duration, events: events, attributes: attributes, x: x, y: y, id: id, color: color, xScale: xScale, yScale: yScale, excludeFromDomainCalculation: excludeFromDomainCalculation, curveType: curveType, baseline: baseline, opacity: opacity, cursor: cursor, minHeight1Px: minHeight1Px, minHeight: minHeight, stackMinHeight: stackMinHeight };
|
|
780
780
|
var keys = Object.keys(config);
|
|
781
781
|
keys.forEach(function (key) {
|
|
782
782
|
if (config[key] === undefined)
|
|
@@ -787,7 +787,7 @@
|
|
|
787
787
|
return VisAreaComponent;
|
|
788
788
|
}());
|
|
789
789
|
VisAreaComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisAreaComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
790
|
-
VisAreaComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisAreaComponent, selector: "vis-area", inputs: { duration: "duration", events: "events", attributes: "attributes", x: "x", y: "y", id: "id", color: "color", xScale: "xScale", yScale: "yScale", excludeFromDomainCalculation: "excludeFromDomainCalculation", curveType: "curveType", baseline: "baseline", opacity: "opacity", cursor: "cursor", minHeight1Px: "minHeight1Px", minHeight: "minHeight", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisAreaComponent }], usesOnChanges: true, ngImport: i0__namespace, template: '', isInline: true });
|
|
790
|
+
VisAreaComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisAreaComponent, selector: "vis-area", inputs: { duration: "duration", events: "events", attributes: "attributes", x: "x", y: "y", id: "id", color: "color", xScale: "xScale", yScale: "yScale", excludeFromDomainCalculation: "excludeFromDomainCalculation", curveType: "curveType", baseline: "baseline", opacity: "opacity", cursor: "cursor", minHeight1Px: "minHeight1Px", minHeight: "minHeight", stackMinHeight: "stackMinHeight", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisAreaComponent }], usesOnChanges: true, ngImport: i0__namespace, template: '', isInline: true });
|
|
791
791
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisAreaComponent, decorators: [{
|
|
792
792
|
type: i0.Component,
|
|
793
793
|
args: [{
|
|
@@ -828,6 +828,8 @@
|
|
|
828
828
|
type: i0.Input
|
|
829
829
|
}], minHeight: [{
|
|
830
830
|
type: i0.Input
|
|
831
|
+
}], stackMinHeight: [{
|
|
832
|
+
type: i0.Input
|
|
831
833
|
}], data: [{
|
|
832
834
|
type: i0.Input
|
|
833
835
|
}] } });
|
|
@@ -2147,8 +2149,8 @@
|
|
|
2147
2149
|
(_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
|
|
2148
2150
|
};
|
|
2149
2151
|
VisSankeyComponent.prototype.getConfig = function () {
|
|
2150
|
-
var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, id = _d.id, heightNormalizationCoeff = _d.heightNormalizationCoeff, exitTransitionType = _d.exitTransitionType, enterTransitionType = _d.enterTransitionType, highlightSubtreeOnHover = _d.highlightSubtreeOnHover, highlightDuration = _d.highlightDuration, highlightDelay = _d.highlightDelay, iterations = _d.iterations, nodeSort = _d.nodeSort, linkSort = _d.linkSort, nodeWidth = _d.nodeWidth, nodeAlign = _d.nodeAlign, nodeHorizontalSpacing = _d.nodeHorizontalSpacing, nodeMinHeight = _d.nodeMinHeight, nodeMaxHeight = _d.nodeMaxHeight, nodePadding = _d.nodePadding, showSingleNode = _d.showSingleNode, nodeCursor = _d.nodeCursor, nodeIcon = _d.nodeIcon, nodeColor = _d.nodeColor, nodeFixedValue = _d.nodeFixedValue, nodeIconColor = _d.nodeIconColor, linkColor = _d.linkColor, linkValue = _d.linkValue, linkCursor = _d.linkCursor, label = _d.label, subLabel = _d.subLabel, labelPosition = _d.labelPosition, labelVerticalAlign = _d.labelVerticalAlign, labelBackground = _d.labelBackground, labelFit = _d.labelFit, labelMaxWidth = _d.labelMaxWidth, labelExpandTrimmedOnHover = _d.labelExpandTrimmedOnHover, labelTrimMode = _d.labelTrimMode, labelFontSize = _d.labelFontSize, labelTextSeparator = _d.labelTextSeparator, labelForceWordBreak = _d.labelForceWordBreak, labelColor = _d.labelColor, labelCursor = _d.labelCursor, labelVisibility = _d.labelVisibility, subLabelFontSize = _d.subLabelFontSize, subLabelColor = _d.subLabelColor, subLabelPlacement = _d.subLabelPlacement, subLabelToLabelInlineWidthRatio = _d.subLabelToLabelInlineWidthRatio;
|
|
2151
|
-
var config = { duration: duration, events: events, attributes: attributes, id: id, heightNormalizationCoeff: heightNormalizationCoeff, exitTransitionType: exitTransitionType, enterTransitionType: enterTransitionType, highlightSubtreeOnHover: highlightSubtreeOnHover, highlightDuration: highlightDuration, highlightDelay: highlightDelay, iterations: iterations, nodeSort: nodeSort, linkSort: linkSort, nodeWidth: nodeWidth, nodeAlign: nodeAlign, nodeHorizontalSpacing: nodeHorizontalSpacing, nodeMinHeight: nodeMinHeight, nodeMaxHeight: nodeMaxHeight, nodePadding: nodePadding, showSingleNode: showSingleNode, nodeCursor: nodeCursor, nodeIcon: nodeIcon, nodeColor: nodeColor, nodeFixedValue: nodeFixedValue, nodeIconColor: nodeIconColor, linkColor: linkColor, linkValue: linkValue, linkCursor: linkCursor, label: label, subLabel: subLabel, labelPosition: labelPosition, labelVerticalAlign: labelVerticalAlign, labelBackground: labelBackground, labelFit: labelFit, labelMaxWidth: labelMaxWidth, labelExpandTrimmedOnHover: labelExpandTrimmedOnHover, labelTrimMode: labelTrimMode, labelFontSize: labelFontSize, labelTextSeparator: labelTextSeparator, labelForceWordBreak: labelForceWordBreak, labelColor: labelColor, labelCursor: labelCursor, labelVisibility: labelVisibility, subLabelFontSize: subLabelFontSize, subLabelColor: subLabelColor, subLabelPlacement: subLabelPlacement, subLabelToLabelInlineWidthRatio: subLabelToLabelInlineWidthRatio };
|
|
2152
|
+
var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, id = _d.id, heightNormalizationCoeff = _d.heightNormalizationCoeff, zoomScale = _d.zoomScale, zoomPan = _d.zoomPan, enableZoom = _d.enableZoom, zoomExtent = _d.zoomExtent, zoomMode = _d.zoomMode, exitTransitionType = _d.exitTransitionType, enterTransitionType = _d.enterTransitionType, highlightSubtreeOnHover = _d.highlightSubtreeOnHover, highlightDuration = _d.highlightDuration, highlightDelay = _d.highlightDelay, iterations = _d.iterations, nodeSort = _d.nodeSort, linkSort = _d.linkSort, nodeWidth = _d.nodeWidth, nodeAlign = _d.nodeAlign, nodeHorizontalSpacing = _d.nodeHorizontalSpacing, nodeMinHeight = _d.nodeMinHeight, nodeMaxHeight = _d.nodeMaxHeight, nodePadding = _d.nodePadding, showSingleNode = _d.showSingleNode, nodeCursor = _d.nodeCursor, nodeIcon = _d.nodeIcon, nodeColor = _d.nodeColor, nodeFixedValue = _d.nodeFixedValue, nodeIconColor = _d.nodeIconColor, linkColor = _d.linkColor, linkValue = _d.linkValue, linkCursor = _d.linkCursor, label = _d.label, subLabel = _d.subLabel, labelPosition = _d.labelPosition, labelVerticalAlign = _d.labelVerticalAlign, labelBackground = _d.labelBackground, labelFit = _d.labelFit, labelMaxWidth = _d.labelMaxWidth, labelMaxWidthTakeAvailableSpace = _d.labelMaxWidthTakeAvailableSpace, labelMaxWidthTakeAvailableSpaceTolerance = _d.labelMaxWidthTakeAvailableSpaceTolerance, labelExpandTrimmedOnHover = _d.labelExpandTrimmedOnHover, labelTrimMode = _d.labelTrimMode, labelFontSize = _d.labelFontSize, labelTextSeparator = _d.labelTextSeparator, labelTextDecoration = _d.labelTextDecoration, labelForceWordBreak = _d.labelForceWordBreak, labelColor = _d.labelColor, labelCursor = _d.labelCursor, labelVisibility = _d.labelVisibility, subLabelFontSize = _d.subLabelFontSize, subLabelColor = _d.subLabelColor, subLabelPlacement = _d.subLabelPlacement, subLabelTextDecoration = _d.subLabelTextDecoration, subLabelToLabelInlineWidthRatio = _d.subLabelToLabelInlineWidthRatio, onZoom = _d.onZoom, selectedNodeIds = _d.selectedNodeIds;
|
|
2153
|
+
var config = { duration: duration, events: events, attributes: attributes, id: id, heightNormalizationCoeff: heightNormalizationCoeff, zoomScale: zoomScale, zoomPan: zoomPan, enableZoom: enableZoom, zoomExtent: zoomExtent, zoomMode: zoomMode, exitTransitionType: exitTransitionType, enterTransitionType: enterTransitionType, highlightSubtreeOnHover: highlightSubtreeOnHover, highlightDuration: highlightDuration, highlightDelay: highlightDelay, iterations: iterations, nodeSort: nodeSort, linkSort: linkSort, nodeWidth: nodeWidth, nodeAlign: nodeAlign, nodeHorizontalSpacing: nodeHorizontalSpacing, nodeMinHeight: nodeMinHeight, nodeMaxHeight: nodeMaxHeight, nodePadding: nodePadding, showSingleNode: showSingleNode, nodeCursor: nodeCursor, nodeIcon: nodeIcon, nodeColor: nodeColor, nodeFixedValue: nodeFixedValue, nodeIconColor: nodeIconColor, linkColor: linkColor, linkValue: linkValue, linkCursor: linkCursor, label: label, subLabel: subLabel, labelPosition: labelPosition, labelVerticalAlign: labelVerticalAlign, labelBackground: labelBackground, labelFit: labelFit, labelMaxWidth: labelMaxWidth, labelMaxWidthTakeAvailableSpace: labelMaxWidthTakeAvailableSpace, labelMaxWidthTakeAvailableSpaceTolerance: labelMaxWidthTakeAvailableSpaceTolerance, labelExpandTrimmedOnHover: labelExpandTrimmedOnHover, labelTrimMode: labelTrimMode, labelFontSize: labelFontSize, labelTextSeparator: labelTextSeparator, labelTextDecoration: labelTextDecoration, labelForceWordBreak: labelForceWordBreak, labelColor: labelColor, labelCursor: labelCursor, labelVisibility: labelVisibility, subLabelFontSize: subLabelFontSize, subLabelColor: subLabelColor, subLabelPlacement: subLabelPlacement, subLabelTextDecoration: subLabelTextDecoration, subLabelToLabelInlineWidthRatio: subLabelToLabelInlineWidthRatio, onZoom: onZoom, selectedNodeIds: selectedNodeIds };
|
|
2152
2154
|
var keys = Object.keys(config);
|
|
2153
2155
|
keys.forEach(function (key) {
|
|
2154
2156
|
if (config[key] === undefined)
|
|
@@ -2159,7 +2161,7 @@
|
|
|
2159
2161
|
return VisSankeyComponent;
|
|
2160
2162
|
}());
|
|
2161
2163
|
VisSankeyComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisSankeyComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2162
|
-
VisSankeyComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisSankeyComponent, selector: "vis-sankey", inputs: { duration: "duration", events: "events", attributes: "attributes", id: "id", heightNormalizationCoeff: "heightNormalizationCoeff", exitTransitionType: "exitTransitionType", enterTransitionType: "enterTransitionType", highlightSubtreeOnHover: "highlightSubtreeOnHover", highlightDuration: "highlightDuration", highlightDelay: "highlightDelay", iterations: "iterations", nodeSort: "nodeSort", linkSort: "linkSort", nodeWidth: "nodeWidth", nodeAlign: "nodeAlign", nodeHorizontalSpacing: "nodeHorizontalSpacing", nodeMinHeight: "nodeMinHeight", nodeMaxHeight: "nodeMaxHeight", nodePadding: "nodePadding", showSingleNode: "showSingleNode", nodeCursor: "nodeCursor", nodeIcon: "nodeIcon", nodeColor: "nodeColor", nodeFixedValue: "nodeFixedValue", nodeIconColor: "nodeIconColor", linkColor: "linkColor", linkValue: "linkValue", linkCursor: "linkCursor", label: "label", subLabel: "subLabel", labelPosition: "labelPosition", labelVerticalAlign: "labelVerticalAlign", labelBackground: "labelBackground", labelFit: "labelFit", labelMaxWidth: "labelMaxWidth", labelExpandTrimmedOnHover: "labelExpandTrimmedOnHover", labelTrimMode: "labelTrimMode", labelFontSize: "labelFontSize", labelTextSeparator: "labelTextSeparator", labelForceWordBreak: "labelForceWordBreak", labelColor: "labelColor", labelCursor: "labelCursor", labelVisibility: "labelVisibility", subLabelFontSize: "subLabelFontSize", subLabelColor: "subLabelColor", subLabelPlacement: "subLabelPlacement", subLabelToLabelInlineWidthRatio: "subLabelToLabelInlineWidthRatio", data: "data" }, providers: [{ provide: VisCoreComponent, useExisting: VisSankeyComponent }], usesOnChanges: true, ngImport: i0__namespace, template: '', isInline: true });
|
|
2164
|
+
VisSankeyComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisSankeyComponent, selector: "vis-sankey", inputs: { duration: "duration", events: "events", attributes: "attributes", id: "id", heightNormalizationCoeff: "heightNormalizationCoeff", zoomScale: "zoomScale", zoomPan: "zoomPan", enableZoom: "enableZoom", zoomExtent: "zoomExtent", zoomMode: "zoomMode", exitTransitionType: "exitTransitionType", enterTransitionType: "enterTransitionType", highlightSubtreeOnHover: "highlightSubtreeOnHover", highlightDuration: "highlightDuration", highlightDelay: "highlightDelay", iterations: "iterations", nodeSort: "nodeSort", linkSort: "linkSort", nodeWidth: "nodeWidth", nodeAlign: "nodeAlign", nodeHorizontalSpacing: "nodeHorizontalSpacing", nodeMinHeight: "nodeMinHeight", nodeMaxHeight: "nodeMaxHeight", nodePadding: "nodePadding", showSingleNode: "showSingleNode", nodeCursor: "nodeCursor", nodeIcon: "nodeIcon", nodeColor: "nodeColor", nodeFixedValue: "nodeFixedValue", nodeIconColor: "nodeIconColor", linkColor: "linkColor", linkValue: "linkValue", linkCursor: "linkCursor", label: "label", subLabel: "subLabel", labelPosition: "labelPosition", labelVerticalAlign: "labelVerticalAlign", labelBackground: "labelBackground", labelFit: "labelFit", labelMaxWidth: "labelMaxWidth", labelMaxWidthTakeAvailableSpace: "labelMaxWidthTakeAvailableSpace", labelMaxWidthTakeAvailableSpaceTolerance: "labelMaxWidthTakeAvailableSpaceTolerance", labelExpandTrimmedOnHover: "labelExpandTrimmedOnHover", labelTrimMode: "labelTrimMode", labelFontSize: "labelFontSize", labelTextSeparator: "labelTextSeparator", labelTextDecoration: "labelTextDecoration", labelForceWordBreak: "labelForceWordBreak", labelColor: "labelColor", labelCursor: "labelCursor", labelVisibility: "labelVisibility", subLabelFontSize: "subLabelFontSize", subLabelColor: "subLabelColor", subLabelPlacement: "subLabelPlacement", subLabelTextDecoration: "subLabelTextDecoration", subLabelToLabelInlineWidthRatio: "subLabelToLabelInlineWidthRatio", onZoom: "onZoom", selectedNodeIds: "selectedNodeIds", data: "data" }, providers: [{ provide: VisCoreComponent, useExisting: VisSankeyComponent }], usesOnChanges: true, ngImport: i0__namespace, template: '', isInline: true });
|
|
2163
2165
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisSankeyComponent, decorators: [{
|
|
2164
2166
|
type: i0.Component,
|
|
2165
2167
|
args: [{
|
|
@@ -2178,6 +2180,16 @@
|
|
|
2178
2180
|
type: i0.Input
|
|
2179
2181
|
}], heightNormalizationCoeff: [{
|
|
2180
2182
|
type: i0.Input
|
|
2183
|
+
}], zoomScale: [{
|
|
2184
|
+
type: i0.Input
|
|
2185
|
+
}], zoomPan: [{
|
|
2186
|
+
type: i0.Input
|
|
2187
|
+
}], enableZoom: [{
|
|
2188
|
+
type: i0.Input
|
|
2189
|
+
}], zoomExtent: [{
|
|
2190
|
+
type: i0.Input
|
|
2191
|
+
}], zoomMode: [{
|
|
2192
|
+
type: i0.Input
|
|
2181
2193
|
}], exitTransitionType: [{
|
|
2182
2194
|
type: i0.Input
|
|
2183
2195
|
}], enterTransitionType: [{
|
|
@@ -2238,6 +2250,10 @@
|
|
|
2238
2250
|
type: i0.Input
|
|
2239
2251
|
}], labelMaxWidth: [{
|
|
2240
2252
|
type: i0.Input
|
|
2253
|
+
}], labelMaxWidthTakeAvailableSpace: [{
|
|
2254
|
+
type: i0.Input
|
|
2255
|
+
}], labelMaxWidthTakeAvailableSpaceTolerance: [{
|
|
2256
|
+
type: i0.Input
|
|
2241
2257
|
}], labelExpandTrimmedOnHover: [{
|
|
2242
2258
|
type: i0.Input
|
|
2243
2259
|
}], labelTrimMode: [{
|
|
@@ -2246,6 +2262,8 @@
|
|
|
2246
2262
|
type: i0.Input
|
|
2247
2263
|
}], labelTextSeparator: [{
|
|
2248
2264
|
type: i0.Input
|
|
2265
|
+
}], labelTextDecoration: [{
|
|
2266
|
+
type: i0.Input
|
|
2249
2267
|
}], labelForceWordBreak: [{
|
|
2250
2268
|
type: i0.Input
|
|
2251
2269
|
}], labelColor: [{
|
|
@@ -2260,8 +2278,14 @@
|
|
|
2260
2278
|
type: i0.Input
|
|
2261
2279
|
}], subLabelPlacement: [{
|
|
2262
2280
|
type: i0.Input
|
|
2281
|
+
}], subLabelTextDecoration: [{
|
|
2282
|
+
type: i0.Input
|
|
2263
2283
|
}], subLabelToLabelInlineWidthRatio: [{
|
|
2264
2284
|
type: i0.Input
|
|
2285
|
+
}], onZoom: [{
|
|
2286
|
+
type: i0.Input
|
|
2287
|
+
}], selectedNodeIds: [{
|
|
2288
|
+
type: i0.Input
|
|
2265
2289
|
}], data: [{
|
|
2266
2290
|
type: i0.Input
|
|
2267
2291
|
}] } });
|
|
@@ -3325,7 +3349,7 @@
|
|
|
3325
3349
|
};
|
|
3326
3350
|
VisBulletLegendComponent.prototype.ngOnChanges = function (changes) {
|
|
3327
3351
|
var _a;
|
|
3328
|
-
(_a = this.component) === null || _a === void 0 ? void 0 : _a.
|
|
3352
|
+
(_a = this.component) === null || _a === void 0 ? void 0 : _a.setConfig(this.getConfig());
|
|
3329
3353
|
};
|
|
3330
3354
|
VisBulletLegendComponent.prototype.getConfig = function () {
|
|
3331
3355
|
var _b = this, items = _b.items, labelClassName = _b.labelClassName, onLegendItemClick = _b.onLegendItemClick, labelFontSize = _b.labelFontSize, labelMaxWidth = _b.labelMaxWidth, bulletSize = _b.bulletSize, bulletSpacing = _b.bulletSpacing, bulletShape = _b.bulletShape, orientation = _b.orientation;
|
|
@@ -3391,6 +3415,79 @@
|
|
|
3391
3415
|
}]
|
|
3392
3416
|
}] });
|
|
3393
3417
|
|
|
3418
|
+
// !!! This code was automatically generated. You should not change it !!!
|
|
3419
|
+
var VisFlowLegendComponent = /** @class */ (function () {
|
|
3420
|
+
function VisFlowLegendComponent() {
|
|
3421
|
+
}
|
|
3422
|
+
VisFlowLegendComponent.prototype.ngAfterViewInit = function () {
|
|
3423
|
+
this.component = new ts.FlowLegend(this.containerRef.nativeElement, Object.assign(Object.assign({}, this.getConfig()), { renderIntoProvidedDomNode: true }));
|
|
3424
|
+
};
|
|
3425
|
+
VisFlowLegendComponent.prototype.ngOnChanges = function (changes) {
|
|
3426
|
+
var _a;
|
|
3427
|
+
(_a = this.component) === null || _a === void 0 ? void 0 : _a.setConfig(this.getConfig());
|
|
3428
|
+
};
|
|
3429
|
+
VisFlowLegendComponent.prototype.getConfig = function () {
|
|
3430
|
+
var _b = this, customWidth = _b.customWidth, items = _b.items, lineColor = _b.lineColor, labelColor = _b.labelColor, labelFontSize = _b.labelFontSize, arrowSymbol = _b.arrowSymbol, arrowColor = _b.arrowColor, onLegendItemClick = _b.onLegendItemClick;
|
|
3431
|
+
var config = { customWidth: customWidth, items: items, lineColor: lineColor, labelColor: labelColor, labelFontSize: labelFontSize, arrowSymbol: arrowSymbol, arrowColor: arrowColor, onLegendItemClick: onLegendItemClick };
|
|
3432
|
+
var keys = Object.keys(config);
|
|
3433
|
+
keys.forEach(function (key) {
|
|
3434
|
+
if (config[key] === undefined)
|
|
3435
|
+
delete config[key];
|
|
3436
|
+
});
|
|
3437
|
+
return config;
|
|
3438
|
+
};
|
|
3439
|
+
return VisFlowLegendComponent;
|
|
3440
|
+
}());
|
|
3441
|
+
VisFlowLegendComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisFlowLegendComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
3442
|
+
VisFlowLegendComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisFlowLegendComponent, selector: "vis-flow-legend", inputs: { customWidth: "customWidth", items: "items", lineColor: "lineColor", labelColor: "labelColor", labelFontSize: "labelFontSize", arrowSymbol: "arrowSymbol", arrowColor: "arrowColor", onLegendItemClick: "onLegendItemClick" }, providers: [{ provide: VisGenericComponent, useExisting: VisFlowLegendComponent }], viewQueries: [{ propertyName: "containerRef", first: true, predicate: ["container"], descendants: true }], usesOnChanges: true, ngImport: i0__namespace, template: '<div #container class="flow-legend-container"></div>', isInline: true, styles: [".flow-legend-container { }"] });
|
|
3443
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisFlowLegendComponent, decorators: [{
|
|
3444
|
+
type: i0.Component,
|
|
3445
|
+
args: [{
|
|
3446
|
+
selector: 'vis-flow-legend',
|
|
3447
|
+
template: '<div #container class="flow-legend-container"></div>',
|
|
3448
|
+
styles: ['.flow-legend-container { }'],
|
|
3449
|
+
// eslint-disable-next-line no-use-before-define
|
|
3450
|
+
providers: [{ provide: VisGenericComponent, useExisting: VisFlowLegendComponent }],
|
|
3451
|
+
}]
|
|
3452
|
+
}], propDecorators: { containerRef: [{
|
|
3453
|
+
type: i0.ViewChild,
|
|
3454
|
+
args: ['container', { static: false }]
|
|
3455
|
+
}], customWidth: [{
|
|
3456
|
+
type: i0.Input
|
|
3457
|
+
}], items: [{
|
|
3458
|
+
type: i0.Input
|
|
3459
|
+
}], lineColor: [{
|
|
3460
|
+
type: i0.Input
|
|
3461
|
+
}], labelColor: [{
|
|
3462
|
+
type: i0.Input
|
|
3463
|
+
}], labelFontSize: [{
|
|
3464
|
+
type: i0.Input
|
|
3465
|
+
}], arrowSymbol: [{
|
|
3466
|
+
type: i0.Input
|
|
3467
|
+
}], arrowColor: [{
|
|
3468
|
+
type: i0.Input
|
|
3469
|
+
}], onLegendItemClick: [{
|
|
3470
|
+
type: i0.Input
|
|
3471
|
+
}] } });
|
|
3472
|
+
|
|
3473
|
+
// !!! This code was automatically generated. You should not change it !!!
|
|
3474
|
+
var VisFlowLegendModule = /** @class */ (function () {
|
|
3475
|
+
function VisFlowLegendModule() {
|
|
3476
|
+
}
|
|
3477
|
+
return VisFlowLegendModule;
|
|
3478
|
+
}());
|
|
3479
|
+
VisFlowLegendModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisFlowLegendModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
3480
|
+
VisFlowLegendModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisFlowLegendModule, declarations: [VisFlowLegendComponent], exports: [VisFlowLegendComponent] });
|
|
3481
|
+
VisFlowLegendModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisFlowLegendModule, imports: [[]] });
|
|
3482
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisFlowLegendModule, decorators: [{
|
|
3483
|
+
type: i0.NgModule,
|
|
3484
|
+
args: [{
|
|
3485
|
+
imports: [],
|
|
3486
|
+
declarations: [VisFlowLegendComponent],
|
|
3487
|
+
exports: [VisFlowLegendComponent],
|
|
3488
|
+
}]
|
|
3489
|
+
}] });
|
|
3490
|
+
|
|
3394
3491
|
// !!! This code was automatically generated. You should not change it !!!
|
|
3395
3492
|
var VisRollingPinLegendComponent = /** @class */ (function () {
|
|
3396
3493
|
function VisRollingPinLegendComponent() {
|
|
@@ -3499,6 +3596,8 @@
|
|
|
3499
3596
|
exports.VisCrosshairModule = VisCrosshairModule;
|
|
3500
3597
|
exports.VisDonutComponent = VisDonutComponent;
|
|
3501
3598
|
exports.VisDonutModule = VisDonutModule;
|
|
3599
|
+
exports.VisFlowLegendComponent = VisFlowLegendComponent;
|
|
3600
|
+
exports.VisFlowLegendModule = VisFlowLegendModule;
|
|
3502
3601
|
exports.VisFreeBrushComponent = VisFreeBrushComponent;
|
|
3503
3602
|
exports.VisFreeBrushModule = VisFreeBrushModule;
|
|
3504
3603
|
exports.VisGenericComponent = VisGenericComponent;
|