@unovis/angular 1.4.0-beta.6 → 1.4.1-alpha.7
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 +67 -35
- package/dist/lib/bundles/unovis-angular.umd.js.map +1 -1
- package/dist/lib/components/crosshair/crosshair.component.d.ts +5 -1
- package/dist/lib/components/graph/graph.component.d.ts +23 -11
- package/dist/lib/components/nested-donut/nested-donut.component.d.ts +7 -1
- package/dist/lib/components/tooltip/tooltip.component.d.ts +1 -1
- package/dist/lib/esm2015/components/annotations/annotations.component.js +1 -1
- package/dist/lib/esm2015/components/crosshair/crosshair.component.js +8 -4
- package/dist/lib/esm2015/components/graph/graph.component.js +16 -6
- package/dist/lib/esm2015/components/nested-donut/nested-donut.component.js +1 -1
- package/dist/lib/esm2015/components/tooltip/tooltip.component.js +1 -1
- package/dist/lib/esm2015/html-components/bullet-legend/bullet-legend.component.js +10 -6
- package/dist/lib/esm2015/html-components/leaflet-flow-map/leaflet-flow-map.component.js +20 -13
- package/dist/lib/esm2015/html-components/leaflet-flow-map/leaflet-flow-map.module.js +2 -1
- package/dist/lib/esm2015/html-components/leaflet-map/leaflet-map.component.js +17 -12
- package/dist/lib/esm2015/html-components/leaflet-map/leaflet-map.module.js +2 -1
- package/dist/lib/fesm2015/unovis-angular.js +67 -35
- package/dist/lib/fesm2015/unovis-angular.js.map +1 -1
- package/dist/lib/html-components/bullet-legend/bullet-legend.component.d.ts +13 -9
- package/dist/lib/html-components/leaflet-flow-map/leaflet-flow-map.component.d.ts +33 -34
- package/dist/lib/html-components/leaflet-map/leaflet-map.component.d.ts +24 -27
- package/dist/lib/package.json +5 -5
- package/package.json +5 -5
|
@@ -1175,8 +1175,8 @@
|
|
|
1175
1175
|
(_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
|
|
1176
1176
|
};
|
|
1177
1177
|
VisCrosshairComponent.prototype.getConfig = function () {
|
|
1178
|
-
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, yStacked = _d.yStacked, baseline = _d.baseline, tooltip = _d.tooltip, template = _d.template, hideWhenFarFromPointer = _d.hideWhenFarFromPointer, hideWhenFarFromPointerDistance = _d.hideWhenFarFromPointerDistance, snapToData = _d.snapToData, getCircles = _d.getCircles;
|
|
1179
|
-
var config = { duration: duration, events: events, attributes: attributes, x: x, y: y, id: id, color: color, xScale: xScale, yScale: yScale, excludeFromDomainCalculation: excludeFromDomainCalculation, yStacked: yStacked, baseline: baseline, tooltip: tooltip, template: template, hideWhenFarFromPointer: hideWhenFarFromPointer, hideWhenFarFromPointerDistance: hideWhenFarFromPointerDistance, snapToData: snapToData, getCircles: getCircles };
|
|
1178
|
+
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, strokeColor = _d.strokeColor, strokeWidth = _d.strokeWidth, yStacked = _d.yStacked, baseline = _d.baseline, tooltip = _d.tooltip, template = _d.template, hideWhenFarFromPointer = _d.hideWhenFarFromPointer, hideWhenFarFromPointerDistance = _d.hideWhenFarFromPointerDistance, snapToData = _d.snapToData, getCircles = _d.getCircles;
|
|
1179
|
+
var config = { duration: duration, events: events, attributes: attributes, x: x, y: y, id: id, color: color, xScale: xScale, yScale: yScale, excludeFromDomainCalculation: excludeFromDomainCalculation, strokeColor: strokeColor, strokeWidth: strokeWidth, yStacked: yStacked, baseline: baseline, tooltip: tooltip, template: template, hideWhenFarFromPointer: hideWhenFarFromPointer, hideWhenFarFromPointerDistance: hideWhenFarFromPointerDistance, snapToData: snapToData, getCircles: getCircles };
|
|
1180
1180
|
var keys = Object.keys(config);
|
|
1181
1181
|
keys.forEach(function (key) {
|
|
1182
1182
|
if (config[key] === undefined)
|
|
@@ -1187,7 +1187,7 @@
|
|
|
1187
1187
|
return VisCrosshairComponent;
|
|
1188
1188
|
}());
|
|
1189
1189
|
VisCrosshairComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisCrosshairComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1190
|
-
VisCrosshairComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisCrosshairComponent, selector: "vis-crosshair", inputs: { duration: "duration", events: "events", attributes: "attributes", x: "x", y: "y", id: "id", color: "color", xScale: "xScale", yScale: "yScale", excludeFromDomainCalculation: "excludeFromDomainCalculation", yStacked: "yStacked", baseline: "baseline", tooltip: "tooltip", template: "template", hideWhenFarFromPointer: "hideWhenFarFromPointer", hideWhenFarFromPointerDistance: "hideWhenFarFromPointerDistance", snapToData: "snapToData", getCircles: "getCircles", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisCrosshairComponent }], usesOnChanges: true, ngImport: i0__namespace, template: '', isInline: true });
|
|
1190
|
+
VisCrosshairComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisCrosshairComponent, selector: "vis-crosshair", inputs: { duration: "duration", events: "events", attributes: "attributes", x: "x", y: "y", id: "id", color: "color", xScale: "xScale", yScale: "yScale", excludeFromDomainCalculation: "excludeFromDomainCalculation", strokeColor: "strokeColor", strokeWidth: "strokeWidth", yStacked: "yStacked", baseline: "baseline", tooltip: "tooltip", template: "template", hideWhenFarFromPointer: "hideWhenFarFromPointer", hideWhenFarFromPointerDistance: "hideWhenFarFromPointerDistance", snapToData: "snapToData", getCircles: "getCircles", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisCrosshairComponent }], usesOnChanges: true, ngImport: i0__namespace, template: '', isInline: true });
|
|
1191
1191
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisCrosshairComponent, decorators: [{
|
|
1192
1192
|
type: i0.Component,
|
|
1193
1193
|
args: [{
|
|
@@ -1216,6 +1216,10 @@
|
|
|
1216
1216
|
type: i0.Input
|
|
1217
1217
|
}], excludeFromDomainCalculation: [{
|
|
1218
1218
|
type: i0.Input
|
|
1219
|
+
}], strokeColor: [{
|
|
1220
|
+
type: i0.Input
|
|
1221
|
+
}], strokeWidth: [{
|
|
1222
|
+
type: i0.Input
|
|
1219
1223
|
}], yStacked: [{
|
|
1220
1224
|
type: i0.Input
|
|
1221
1225
|
}], baseline: [{
|
|
@@ -1465,8 +1469,8 @@
|
|
|
1465
1469
|
(_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
|
|
1466
1470
|
};
|
|
1467
1471
|
VisGraphComponent.prototype.getConfig = function () {
|
|
1468
|
-
var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, zoomScaleExtent = _d.zoomScaleExtent, disableZoom = _d.disableZoom, disableDrag = _d.disableDrag, zoomThrottledUpdateNodeThreshold = _d.zoomThrottledUpdateNodeThreshold,
|
|
1469
|
-
var config = { duration: duration, events: events, attributes: attributes, zoomScaleExtent: zoomScaleExtent, disableZoom: disableZoom, disableDrag: disableDrag, zoomThrottledUpdateNodeThreshold: zoomThrottledUpdateNodeThreshold,
|
|
1472
|
+
var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, zoomScaleExtent = _d.zoomScaleExtent, disableZoom = _d.disableZoom, disableDrag = _d.disableDrag, zoomThrottledUpdateNodeThreshold = _d.zoomThrottledUpdateNodeThreshold, layoutType = _d.layoutType, layoutAutofit = _d.layoutAutofit, layoutAutofitTolerance = _d.layoutAutofitTolerance, layoutNonConnectedAside = _d.layoutNonConnectedAside, layoutNodeGroup = _d.layoutNodeGroup, layoutGroupOrder = _d.layoutGroupOrder, layoutParallelNodesPerColumn = _d.layoutParallelNodesPerColumn, layoutParallelNodeSubGroup = _d.layoutParallelNodeSubGroup, layoutParallelSubGroupsPerRow = _d.layoutParallelSubGroupsPerRow, layoutParallelGroupSpacing = _d.layoutParallelGroupSpacing, layoutParallelSortConnectionsByGroup = _d.layoutParallelSortConnectionsByGroup, forceLayoutSettings = _d.forceLayoutSettings, dagreLayoutSettings = _d.dagreLayoutSettings, layoutElkSettings = _d.layoutElkSettings, layoutElkNodeGroups = _d.layoutElkNodeGroups, linkWidth = _d.linkWidth, linkStyle = _d.linkStyle, linkBandWidth = _d.linkBandWidth, linkArrow = _d.linkArrow, linkStroke = _d.linkStroke, linkDisabled = _d.linkDisabled, linkFlow = _d.linkFlow, linkFlowAnimDuration = _d.linkFlowAnimDuration, linkFlowParticleSize = _d.linkFlowParticleSize, linkLabel = _d.linkLabel, linkLabelShiftFromCenter = _d.linkLabelShiftFromCenter, linkNeighborSpacing = _d.linkNeighborSpacing, linkCurvature = _d.linkCurvature, selectedLinkId = _d.selectedLinkId, nodeSize = _d.nodeSize, nodeStrokeWidth = _d.nodeStrokeWidth, nodeShape = _d.nodeShape, nodeGaugeValue = _d.nodeGaugeValue, nodeGaugeFill = _d.nodeGaugeFill, nodeGaugeAnimDuration = _d.nodeGaugeAnimDuration, nodeIcon = _d.nodeIcon, nodeIconSize = _d.nodeIconSize, nodeLabel = _d.nodeLabel, nodeLabelTrim = _d.nodeLabelTrim, nodeLabelTrimMode = _d.nodeLabelTrimMode, nodeLabelTrimLength = _d.nodeLabelTrimLength, nodeSubLabel = _d.nodeSubLabel, nodeSubLabelTrim = _d.nodeSubLabelTrim, nodeSubLabelTrimMode = _d.nodeSubLabelTrimMode, nodeSubLabelTrimLength = _d.nodeSubLabelTrimLength, nodeSideLabels = _d.nodeSideLabels, nodeBottomIcon = _d.nodeBottomIcon, nodeDisabled = _d.nodeDisabled, nodeFill = _d.nodeFill, nodeStroke = _d.nodeStroke, nodeSort = _d.nodeSort, nodeEnterPosition = _d.nodeEnterPosition, nodeEnterScale = _d.nodeEnterScale, nodeExitPosition = _d.nodeExitPosition, nodeExitScale = _d.nodeExitScale, selectedNodeId = _d.selectedNodeId, panels = _d.panels, onNodeDragStart = _d.onNodeDragStart, onNodeDrag = _d.onNodeDrag, onNodeDragEnd = _d.onNodeDragEnd, onZoom = _d.onZoom, onLayoutCalculated = _d.onLayoutCalculated;
|
|
1473
|
+
var config = { duration: duration, events: events, attributes: attributes, zoomScaleExtent: zoomScaleExtent, disableZoom: disableZoom, disableDrag: disableDrag, zoomThrottledUpdateNodeThreshold: zoomThrottledUpdateNodeThreshold, layoutType: layoutType, layoutAutofit: layoutAutofit, layoutAutofitTolerance: layoutAutofitTolerance, layoutNonConnectedAside: layoutNonConnectedAside, layoutNodeGroup: layoutNodeGroup, layoutGroupOrder: layoutGroupOrder, layoutParallelNodesPerColumn: layoutParallelNodesPerColumn, layoutParallelNodeSubGroup: layoutParallelNodeSubGroup, layoutParallelSubGroupsPerRow: layoutParallelSubGroupsPerRow, layoutParallelGroupSpacing: layoutParallelGroupSpacing, layoutParallelSortConnectionsByGroup: layoutParallelSortConnectionsByGroup, forceLayoutSettings: forceLayoutSettings, dagreLayoutSettings: dagreLayoutSettings, layoutElkSettings: layoutElkSettings, layoutElkNodeGroups: layoutElkNodeGroups, linkWidth: linkWidth, linkStyle: linkStyle, linkBandWidth: linkBandWidth, linkArrow: linkArrow, linkStroke: linkStroke, linkDisabled: linkDisabled, linkFlow: linkFlow, linkFlowAnimDuration: linkFlowAnimDuration, linkFlowParticleSize: linkFlowParticleSize, linkLabel: linkLabel, linkLabelShiftFromCenter: linkLabelShiftFromCenter, linkNeighborSpacing: linkNeighborSpacing, linkCurvature: linkCurvature, selectedLinkId: selectedLinkId, nodeSize: nodeSize, nodeStrokeWidth: nodeStrokeWidth, nodeShape: nodeShape, nodeGaugeValue: nodeGaugeValue, nodeGaugeFill: nodeGaugeFill, nodeGaugeAnimDuration: nodeGaugeAnimDuration, nodeIcon: nodeIcon, nodeIconSize: nodeIconSize, nodeLabel: nodeLabel, nodeLabelTrim: nodeLabelTrim, nodeLabelTrimMode: nodeLabelTrimMode, nodeLabelTrimLength: nodeLabelTrimLength, nodeSubLabel: nodeSubLabel, nodeSubLabelTrim: nodeSubLabelTrim, nodeSubLabelTrimMode: nodeSubLabelTrimMode, nodeSubLabelTrimLength: nodeSubLabelTrimLength, nodeSideLabels: nodeSideLabels, nodeBottomIcon: nodeBottomIcon, nodeDisabled: nodeDisabled, nodeFill: nodeFill, nodeStroke: nodeStroke, nodeSort: nodeSort, nodeEnterPosition: nodeEnterPosition, nodeEnterScale: nodeEnterScale, nodeExitPosition: nodeExitPosition, nodeExitScale: nodeExitScale, selectedNodeId: selectedNodeId, panels: panels, onNodeDragStart: onNodeDragStart, onNodeDrag: onNodeDrag, onNodeDragEnd: onNodeDragEnd, onZoom: onZoom, onLayoutCalculated: onLayoutCalculated };
|
|
1470
1474
|
var keys = Object.keys(config);
|
|
1471
1475
|
keys.forEach(function (key) {
|
|
1472
1476
|
if (config[key] === undefined)
|
|
@@ -1477,7 +1481,7 @@
|
|
|
1477
1481
|
return VisGraphComponent;
|
|
1478
1482
|
}());
|
|
1479
1483
|
VisGraphComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisGraphComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1480
|
-
VisGraphComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisGraphComponent, selector: "vis-graph", inputs: { duration: "duration", events: "events", attributes: "attributes", zoomScaleExtent: "zoomScaleExtent", disableZoom: "disableZoom", disableDrag: "disableDrag", zoomThrottledUpdateNodeThreshold: "zoomThrottledUpdateNodeThreshold",
|
|
1484
|
+
VisGraphComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisGraphComponent, selector: "vis-graph", inputs: { duration: "duration", events: "events", attributes: "attributes", zoomScaleExtent: "zoomScaleExtent", disableZoom: "disableZoom", disableDrag: "disableDrag", zoomThrottledUpdateNodeThreshold: "zoomThrottledUpdateNodeThreshold", layoutType: "layoutType", layoutAutofit: "layoutAutofit", layoutAutofitTolerance: "layoutAutofitTolerance", layoutNonConnectedAside: "layoutNonConnectedAside", layoutNodeGroup: "layoutNodeGroup", layoutGroupOrder: "layoutGroupOrder", layoutParallelNodesPerColumn: "layoutParallelNodesPerColumn", layoutParallelNodeSubGroup: "layoutParallelNodeSubGroup", layoutParallelSubGroupsPerRow: "layoutParallelSubGroupsPerRow", layoutParallelGroupSpacing: "layoutParallelGroupSpacing", layoutParallelSortConnectionsByGroup: "layoutParallelSortConnectionsByGroup", forceLayoutSettings: "forceLayoutSettings", dagreLayoutSettings: "dagreLayoutSettings", layoutElkSettings: "layoutElkSettings", layoutElkNodeGroups: "layoutElkNodeGroups", linkWidth: "linkWidth", linkStyle: "linkStyle", linkBandWidth: "linkBandWidth", linkArrow: "linkArrow", linkStroke: "linkStroke", linkDisabled: "linkDisabled", linkFlow: "linkFlow", linkFlowAnimDuration: "linkFlowAnimDuration", linkFlowParticleSize: "linkFlowParticleSize", linkLabel: "linkLabel", linkLabelShiftFromCenter: "linkLabelShiftFromCenter", linkNeighborSpacing: "linkNeighborSpacing", linkCurvature: "linkCurvature", selectedLinkId: "selectedLinkId", nodeSize: "nodeSize", nodeStrokeWidth: "nodeStrokeWidth", nodeShape: "nodeShape", nodeGaugeValue: "nodeGaugeValue", nodeGaugeFill: "nodeGaugeFill", nodeGaugeAnimDuration: "nodeGaugeAnimDuration", nodeIcon: "nodeIcon", nodeIconSize: "nodeIconSize", nodeLabel: "nodeLabel", nodeLabelTrim: "nodeLabelTrim", nodeLabelTrimMode: "nodeLabelTrimMode", nodeLabelTrimLength: "nodeLabelTrimLength", nodeSubLabel: "nodeSubLabel", nodeSubLabelTrim: "nodeSubLabelTrim", nodeSubLabelTrimMode: "nodeSubLabelTrimMode", nodeSubLabelTrimLength: "nodeSubLabelTrimLength", nodeSideLabels: "nodeSideLabels", nodeBottomIcon: "nodeBottomIcon", nodeDisabled: "nodeDisabled", nodeFill: "nodeFill", nodeStroke: "nodeStroke", nodeSort: "nodeSort", nodeEnterPosition: "nodeEnterPosition", nodeEnterScale: "nodeEnterScale", nodeExitPosition: "nodeExitPosition", nodeExitScale: "nodeExitScale", selectedNodeId: "selectedNodeId", panels: "panels", onNodeDragStart: "onNodeDragStart", onNodeDrag: "onNodeDrag", onNodeDragEnd: "onNodeDragEnd", onZoom: "onZoom", onLayoutCalculated: "onLayoutCalculated", data: "data" }, providers: [{ provide: VisCoreComponent, useExisting: VisGraphComponent }], usesOnChanges: true, ngImport: i0__namespace, template: '', isInline: true });
|
|
1481
1485
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisGraphComponent, decorators: [{
|
|
1482
1486
|
type: i0.Component,
|
|
1483
1487
|
args: [{
|
|
@@ -1500,8 +1504,6 @@
|
|
|
1500
1504
|
type: i0.Input
|
|
1501
1505
|
}], zoomThrottledUpdateNodeThreshold: [{
|
|
1502
1506
|
type: i0.Input
|
|
1503
|
-
}], onZoom: [{
|
|
1504
|
-
type: i0.Input
|
|
1505
1507
|
}], layoutType: [{
|
|
1506
1508
|
type: i0.Input
|
|
1507
1509
|
}], layoutAutofit: [{
|
|
@@ -1556,6 +1558,8 @@
|
|
|
1556
1558
|
type: i0.Input
|
|
1557
1559
|
}], linkNeighborSpacing: [{
|
|
1558
1560
|
type: i0.Input
|
|
1561
|
+
}], linkCurvature: [{
|
|
1562
|
+
type: i0.Input
|
|
1559
1563
|
}], selectedLinkId: [{
|
|
1560
1564
|
type: i0.Input
|
|
1561
1565
|
}], nodeSize: [{
|
|
@@ -1614,6 +1618,16 @@
|
|
|
1614
1618
|
type: i0.Input
|
|
1615
1619
|
}], panels: [{
|
|
1616
1620
|
type: i0.Input
|
|
1621
|
+
}], onNodeDragStart: [{
|
|
1622
|
+
type: i0.Input
|
|
1623
|
+
}], onNodeDrag: [{
|
|
1624
|
+
type: i0.Input
|
|
1625
|
+
}], onNodeDragEnd: [{
|
|
1626
|
+
type: i0.Input
|
|
1627
|
+
}], onZoom: [{
|
|
1628
|
+
type: i0.Input
|
|
1629
|
+
}], onLayoutCalculated: [{
|
|
1630
|
+
type: i0.Input
|
|
1617
1631
|
}], data: [{
|
|
1618
1632
|
type: i0.Input
|
|
1619
1633
|
}] } });
|
|
@@ -2656,12 +2670,15 @@
|
|
|
2656
2670
|
}]
|
|
2657
2671
|
}] });
|
|
2658
2672
|
|
|
2673
|
+
// !!! This code was automatically generated. You should not change it !!!
|
|
2659
2674
|
var VisLeafletMapComponent = /** @class */ (function () {
|
|
2660
2675
|
function VisLeafletMapComponent() {
|
|
2661
2676
|
}
|
|
2662
2677
|
VisLeafletMapComponent.prototype.ngAfterViewInit = function () {
|
|
2663
|
-
|
|
2664
|
-
|
|
2678
|
+
this.component = new ts.LeafletMap(this.containerRef.nativeElement, this.getConfig(), this.data);
|
|
2679
|
+
if (this.data) {
|
|
2680
|
+
this.component.setData(this.data);
|
|
2681
|
+
}
|
|
2665
2682
|
};
|
|
2666
2683
|
VisLeafletMapComponent.prototype.ngOnChanges = function (changes) {
|
|
2667
2684
|
var _a, _b;
|
|
@@ -2671,8 +2688,8 @@
|
|
|
2671
2688
|
(_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
|
|
2672
2689
|
};
|
|
2673
2690
|
VisLeafletMapComponent.prototype.getConfig = function () {
|
|
2674
|
-
var _c = this,
|
|
2675
|
-
var config = {
|
|
2691
|
+
var _c = this, duration = _c.duration, events = _c.events, attributes = _c.attributes, width = _c.width, height = _c.height, flyToDuration = _c.flyToDuration, fitViewPadding = _c.fitViewPadding, zoomDuration = _c.zoomDuration, initialBounds = _c.initialBounds, fitBoundsOnUpdate = _c.fitBoundsOnUpdate, fitViewOnInit = _c.fitViewOnInit, fitViewOnUpdate = _c.fitViewOnUpdate, style = _c.style, styleDarkTheme = _c.styleDarkTheme, accessToken = _c.accessToken, attribution = _c.attribution, renderer = _c.renderer, onMapInitialized = _c.onMapInitialized, onMapMoveZoom = _c.onMapMoveZoom, onMapMoveStart = _c.onMapMoveStart, onMapMoveEnd = _c.onMapMoveEnd, onMapZoomStart = _c.onMapZoomStart, onMapZoomEnd = _c.onMapZoomEnd, onMapClick = _c.onMapClick, pointLongitude = _c.pointLongitude, pointLatitude = _c.pointLatitude, pointId = _c.pointId, pointShape = _c.pointShape, pointColor = _c.pointColor, pointRadius = _c.pointRadius, pointLabel = _c.pointLabel, pointLabelColor = _c.pointLabelColor, pointBottomLabel = _c.pointBottomLabel, pointCursor = _c.pointCursor, pointRingWidth = _c.pointRingWidth, selectedPointId = _c.selectedPointId, clusterColor = _c.clusterColor, clusterRadius = _c.clusterRadius, clusterLabel = _c.clusterLabel, clusterLabelColor = _c.clusterLabelColor, clusterBottomLabel = _c.clusterBottomLabel, clusterRingWidth = _c.clusterRingWidth, clusterBackground = _c.clusterBackground, clusterExpandOnClick = _c.clusterExpandOnClick, clusteringDistance = _c.clusteringDistance, colorMap = _c.colorMap, topoJSONLayer = _c.topoJSONLayer, tooltip = _c.tooltip, ariaLabel = _c.ariaLabel;
|
|
2692
|
+
var config = { duration: duration, events: events, attributes: attributes, width: width, height: height, flyToDuration: flyToDuration, fitViewPadding: fitViewPadding, zoomDuration: zoomDuration, initialBounds: initialBounds, fitBoundsOnUpdate: fitBoundsOnUpdate, fitViewOnInit: fitViewOnInit, fitViewOnUpdate: fitViewOnUpdate, style: style, styleDarkTheme: styleDarkTheme, accessToken: accessToken, attribution: attribution, renderer: renderer, onMapInitialized: onMapInitialized, onMapMoveZoom: onMapMoveZoom, onMapMoveStart: onMapMoveStart, onMapMoveEnd: onMapMoveEnd, onMapZoomStart: onMapZoomStart, onMapZoomEnd: onMapZoomEnd, onMapClick: onMapClick, pointLongitude: pointLongitude, pointLatitude: pointLatitude, pointId: pointId, pointShape: pointShape, pointColor: pointColor, pointRadius: pointRadius, pointLabel: pointLabel, pointLabelColor: pointLabelColor, pointBottomLabel: pointBottomLabel, pointCursor: pointCursor, pointRingWidth: pointRingWidth, selectedPointId: selectedPointId, clusterColor: clusterColor, clusterRadius: clusterRadius, clusterLabel: clusterLabel, clusterLabelColor: clusterLabelColor, clusterBottomLabel: clusterBottomLabel, clusterRingWidth: clusterRingWidth, clusterBackground: clusterBackground, clusterExpandOnClick: clusterExpandOnClick, clusteringDistance: clusteringDistance, colorMap: colorMap, topoJSONLayer: topoJSONLayer, tooltip: tooltip, ariaLabel: ariaLabel };
|
|
2676
2693
|
var keys = Object.keys(config);
|
|
2677
2694
|
keys.forEach(function (key) {
|
|
2678
2695
|
if (config[key] === undefined)
|
|
@@ -2683,29 +2700,29 @@
|
|
|
2683
2700
|
return VisLeafletMapComponent;
|
|
2684
2701
|
}());
|
|
2685
2702
|
VisLeafletMapComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisLeafletMapComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2686
|
-
VisLeafletMapComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisLeafletMapComponent, selector: "vis-leaflet-map", inputs: {
|
|
2703
|
+
VisLeafletMapComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisLeafletMapComponent, selector: "vis-leaflet-map", inputs: { duration: "duration", events: "events", attributes: "attributes", width: "width", height: "height", flyToDuration: "flyToDuration", fitViewPadding: "fitViewPadding", zoomDuration: "zoomDuration", initialBounds: "initialBounds", fitBoundsOnUpdate: "fitBoundsOnUpdate", fitViewOnInit: "fitViewOnInit", fitViewOnUpdate: "fitViewOnUpdate", style: "style", styleDarkTheme: "styleDarkTheme", accessToken: "accessToken", attribution: "attribution", renderer: "renderer", onMapInitialized: "onMapInitialized", onMapMoveZoom: "onMapMoveZoom", onMapMoveStart: "onMapMoveStart", onMapMoveEnd: "onMapMoveEnd", onMapZoomStart: "onMapZoomStart", onMapZoomEnd: "onMapZoomEnd", onMapClick: "onMapClick", pointLongitude: "pointLongitude", pointLatitude: "pointLatitude", pointId: "pointId", pointShape: "pointShape", pointColor: "pointColor", pointRadius: "pointRadius", pointLabel: "pointLabel", pointLabelColor: "pointLabelColor", pointBottomLabel: "pointBottomLabel", pointCursor: "pointCursor", pointRingWidth: "pointRingWidth", selectedPointId: "selectedPointId", clusterColor: "clusterColor", clusterRadius: "clusterRadius", clusterLabel: "clusterLabel", clusterLabelColor: "clusterLabelColor", clusterBottomLabel: "clusterBottomLabel", clusterRingWidth: "clusterRingWidth", clusterBackground: "clusterBackground", clusterExpandOnClick: "clusterExpandOnClick", clusteringDistance: "clusteringDistance", colorMap: "colorMap", topoJSONLayer: "topoJSONLayer", tooltip: "tooltip", ariaLabel: "ariaLabel", data: "data" }, providers: [{ provide: VisCoreComponent, useExisting: VisLeafletMapComponent }], viewQueries: [{ propertyName: "containerRef", first: true, predicate: ["container"], descendants: true }], usesOnChanges: true, ngImport: i0__namespace, template: '<div #container class="leaflet-map-container"></div>', isInline: true, styles: [".leaflet-map-container { width: 100%; height: 100%; position: relative }"] });
|
|
2687
2704
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisLeafletMapComponent, decorators: [{
|
|
2688
2705
|
type: i0.Component,
|
|
2689
2706
|
args: [{
|
|
2690
2707
|
selector: 'vis-leaflet-map',
|
|
2691
|
-
template: '<div #container class="
|
|
2692
|
-
styles: ['.
|
|
2708
|
+
template: '<div #container class="leaflet-map-container"></div>',
|
|
2709
|
+
styles: ['.leaflet-map-container { width: 100%; height: 100%; position: relative }'],
|
|
2693
2710
|
// eslint-disable-next-line no-use-before-define
|
|
2694
2711
|
providers: [{ provide: VisCoreComponent, useExisting: VisLeafletMapComponent }],
|
|
2695
2712
|
}]
|
|
2696
2713
|
}], propDecorators: { containerRef: [{
|
|
2697
2714
|
type: i0.ViewChild,
|
|
2698
2715
|
args: ['container', { static: false }]
|
|
2699
|
-
}], width: [{
|
|
2700
|
-
type: i0.Input
|
|
2701
|
-
}], height: [{
|
|
2702
|
-
type: i0.Input
|
|
2703
2716
|
}], duration: [{
|
|
2704
2717
|
type: i0.Input
|
|
2705
2718
|
}], events: [{
|
|
2706
2719
|
type: i0.Input
|
|
2707
2720
|
}], attributes: [{
|
|
2708
2721
|
type: i0.Input
|
|
2722
|
+
}], width: [{
|
|
2723
|
+
type: i0.Input
|
|
2724
|
+
}], height: [{
|
|
2725
|
+
type: i0.Input
|
|
2709
2726
|
}], flyToDuration: [{
|
|
2710
2727
|
type: i0.Input
|
|
2711
2728
|
}], fitViewPadding: [{
|
|
@@ -2764,6 +2781,8 @@
|
|
|
2764
2781
|
type: i0.Input
|
|
2765
2782
|
}], pointCursor: [{
|
|
2766
2783
|
type: i0.Input
|
|
2784
|
+
}], pointRingWidth: [{
|
|
2785
|
+
type: i0.Input
|
|
2767
2786
|
}], selectedPointId: [{
|
|
2768
2787
|
type: i0.Input
|
|
2769
2788
|
}], clusterColor: [{
|
|
@@ -2796,6 +2815,7 @@
|
|
|
2796
2815
|
type: i0.Input
|
|
2797
2816
|
}] } });
|
|
2798
2817
|
|
|
2818
|
+
// !!! This code was automatically generated. You should not change it !!!
|
|
2799
2819
|
var VisLeafletMapModule = /** @class */ (function () {
|
|
2800
2820
|
function VisLeafletMapModule() {
|
|
2801
2821
|
}
|
|
@@ -2813,12 +2833,15 @@
|
|
|
2813
2833
|
}]
|
|
2814
2834
|
}] });
|
|
2815
2835
|
|
|
2836
|
+
// !!! This code was automatically generated. You should not change it !!!
|
|
2816
2837
|
var VisLeafletFlowMapComponent = /** @class */ (function () {
|
|
2817
2838
|
function VisLeafletFlowMapComponent() {
|
|
2818
2839
|
}
|
|
2819
2840
|
VisLeafletFlowMapComponent.prototype.ngAfterViewInit = function () {
|
|
2820
|
-
|
|
2821
|
-
|
|
2841
|
+
this.component = new ts.LeafletFlowMap(this.containerRef.nativeElement, this.getConfig(), this.data);
|
|
2842
|
+
if (this.data) {
|
|
2843
|
+
this.component.setData(this.data);
|
|
2844
|
+
}
|
|
2822
2845
|
};
|
|
2823
2846
|
VisLeafletFlowMapComponent.prototype.ngOnChanges = function (changes) {
|
|
2824
2847
|
var _a, _b;
|
|
@@ -2828,8 +2851,8 @@
|
|
|
2828
2851
|
(_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
|
|
2829
2852
|
};
|
|
2830
2853
|
VisLeafletFlowMapComponent.prototype.getConfig = function () {
|
|
2831
|
-
var _c = this,
|
|
2832
|
-
var config = {
|
|
2854
|
+
var _c = this, duration = _c.duration, events = _c.events, attributes = _c.attributes, width = _c.width, height = _c.height, flyToDuration = _c.flyToDuration, fitViewPadding = _c.fitViewPadding, zoomDuration = _c.zoomDuration, initialBounds = _c.initialBounds, fitBoundsOnUpdate = _c.fitBoundsOnUpdate, fitViewOnInit = _c.fitViewOnInit, fitViewOnUpdate = _c.fitViewOnUpdate, style = _c.style, styleDarkTheme = _c.styleDarkTheme, accessToken = _c.accessToken, attribution = _c.attribution, renderer = _c.renderer, onMapInitialized = _c.onMapInitialized, onMapMoveZoom = _c.onMapMoveZoom, onMapMoveStart = _c.onMapMoveStart, onMapMoveEnd = _c.onMapMoveEnd, onMapZoomStart = _c.onMapZoomStart, onMapZoomEnd = _c.onMapZoomEnd, onMapClick = _c.onMapClick, pointLongitude = _c.pointLongitude, pointLatitude = _c.pointLatitude, pointId = _c.pointId, pointShape = _c.pointShape, pointColor = _c.pointColor, pointRadius = _c.pointRadius, pointLabel = _c.pointLabel, pointLabelColor = _c.pointLabelColor, pointBottomLabel = _c.pointBottomLabel, pointCursor = _c.pointCursor, pointRingWidth = _c.pointRingWidth, selectedPointId = _c.selectedPointId, clusterColor = _c.clusterColor, clusterRadius = _c.clusterRadius, clusterLabel = _c.clusterLabel, clusterLabelColor = _c.clusterLabelColor, clusterBottomLabel = _c.clusterBottomLabel, clusterRingWidth = _c.clusterRingWidth, clusterBackground = _c.clusterBackground, clusterExpandOnClick = _c.clusterExpandOnClick, clusteringDistance = _c.clusteringDistance, colorMap = _c.colorMap, topoJSONLayer = _c.topoJSONLayer, tooltip = _c.tooltip, ariaLabel = _c.ariaLabel, sourceLongitude = _c.sourceLongitude, sourceLatitude = _c.sourceLatitude, targetLongitude = _c.targetLongitude, targetLatitude = _c.targetLatitude, sourcePointRadius = _c.sourcePointRadius, sourcePointColor = _c.sourcePointColor, flowParticleColor = _c.flowParticleColor, flowParticleRadius = _c.flowParticleRadius, flowParticleSpeed = _c.flowParticleSpeed, flowParticleDensity = _c.flowParticleDensity, onSourcePointClick = _c.onSourcePointClick, onSourcePointMouseEnter = _c.onSourcePointMouseEnter, onSourcePointMouseLeave = _c.onSourcePointMouseLeave;
|
|
2855
|
+
var config = { duration: duration, events: events, attributes: attributes, width: width, height: height, flyToDuration: flyToDuration, fitViewPadding: fitViewPadding, zoomDuration: zoomDuration, initialBounds: initialBounds, fitBoundsOnUpdate: fitBoundsOnUpdate, fitViewOnInit: fitViewOnInit, fitViewOnUpdate: fitViewOnUpdate, style: style, styleDarkTheme: styleDarkTheme, accessToken: accessToken, attribution: attribution, renderer: renderer, onMapInitialized: onMapInitialized, onMapMoveZoom: onMapMoveZoom, onMapMoveStart: onMapMoveStart, onMapMoveEnd: onMapMoveEnd, onMapZoomStart: onMapZoomStart, onMapZoomEnd: onMapZoomEnd, onMapClick: onMapClick, pointLongitude: pointLongitude, pointLatitude: pointLatitude, pointId: pointId, pointShape: pointShape, pointColor: pointColor, pointRadius: pointRadius, pointLabel: pointLabel, pointLabelColor: pointLabelColor, pointBottomLabel: pointBottomLabel, pointCursor: pointCursor, pointRingWidth: pointRingWidth, selectedPointId: selectedPointId, clusterColor: clusterColor, clusterRadius: clusterRadius, clusterLabel: clusterLabel, clusterLabelColor: clusterLabelColor, clusterBottomLabel: clusterBottomLabel, clusterRingWidth: clusterRingWidth, clusterBackground: clusterBackground, clusterExpandOnClick: clusterExpandOnClick, clusteringDistance: clusteringDistance, colorMap: colorMap, topoJSONLayer: topoJSONLayer, tooltip: tooltip, ariaLabel: ariaLabel, sourceLongitude: sourceLongitude, sourceLatitude: sourceLatitude, targetLongitude: targetLongitude, targetLatitude: targetLatitude, sourcePointRadius: sourcePointRadius, sourcePointColor: sourcePointColor, flowParticleColor: flowParticleColor, flowParticleRadius: flowParticleRadius, flowParticleSpeed: flowParticleSpeed, flowParticleDensity: flowParticleDensity, onSourcePointClick: onSourcePointClick, onSourcePointMouseEnter: onSourcePointMouseEnter, onSourcePointMouseLeave: onSourcePointMouseLeave };
|
|
2833
2856
|
var keys = Object.keys(config);
|
|
2834
2857
|
keys.forEach(function (key) {
|
|
2835
2858
|
if (config[key] === undefined)
|
|
@@ -2840,29 +2863,29 @@
|
|
|
2840
2863
|
return VisLeafletFlowMapComponent;
|
|
2841
2864
|
}());
|
|
2842
2865
|
VisLeafletFlowMapComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisLeafletFlowMapComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2843
|
-
VisLeafletFlowMapComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisLeafletFlowMapComponent, selector: "vis-leaflet-flow-map", inputs: {
|
|
2866
|
+
VisLeafletFlowMapComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisLeafletFlowMapComponent, selector: "vis-leaflet-flow-map", inputs: { duration: "duration", events: "events", attributes: "attributes", width: "width", height: "height", flyToDuration: "flyToDuration", fitViewPadding: "fitViewPadding", zoomDuration: "zoomDuration", initialBounds: "initialBounds", fitBoundsOnUpdate: "fitBoundsOnUpdate", fitViewOnInit: "fitViewOnInit", fitViewOnUpdate: "fitViewOnUpdate", style: "style", styleDarkTheme: "styleDarkTheme", accessToken: "accessToken", attribution: "attribution", renderer: "renderer", onMapInitialized: "onMapInitialized", onMapMoveZoom: "onMapMoveZoom", onMapMoveStart: "onMapMoveStart", onMapMoveEnd: "onMapMoveEnd", onMapZoomStart: "onMapZoomStart", onMapZoomEnd: "onMapZoomEnd", onMapClick: "onMapClick", pointLongitude: "pointLongitude", pointLatitude: "pointLatitude", pointId: "pointId", pointShape: "pointShape", pointColor: "pointColor", pointRadius: "pointRadius", pointLabel: "pointLabel", pointLabelColor: "pointLabelColor", pointBottomLabel: "pointBottomLabel", pointCursor: "pointCursor", pointRingWidth: "pointRingWidth", selectedPointId: "selectedPointId", clusterColor: "clusterColor", clusterRadius: "clusterRadius", clusterLabel: "clusterLabel", clusterLabelColor: "clusterLabelColor", clusterBottomLabel: "clusterBottomLabel", clusterRingWidth: "clusterRingWidth", clusterBackground: "clusterBackground", clusterExpandOnClick: "clusterExpandOnClick", clusteringDistance: "clusteringDistance", colorMap: "colorMap", topoJSONLayer: "topoJSONLayer", tooltip: "tooltip", ariaLabel: "ariaLabel", sourceLongitude: "sourceLongitude", sourceLatitude: "sourceLatitude", targetLongitude: "targetLongitude", targetLatitude: "targetLatitude", sourcePointRadius: "sourcePointRadius", sourcePointColor: "sourcePointColor", flowParticleColor: "flowParticleColor", flowParticleRadius: "flowParticleRadius", flowParticleSpeed: "flowParticleSpeed", flowParticleDensity: "flowParticleDensity", onSourcePointClick: "onSourcePointClick", onSourcePointMouseEnter: "onSourcePointMouseEnter", onSourcePointMouseLeave: "onSourcePointMouseLeave", data: "data" }, providers: [{ provide: VisCoreComponent, useExisting: VisLeafletFlowMapComponent }], viewQueries: [{ propertyName: "containerRef", first: true, predicate: ["container"], descendants: true }], usesOnChanges: true, ngImport: i0__namespace, template: '<div #container class="leaflet-flow-map-container"></div>', isInline: true, styles: [".leaflet-flow-map-container { width: 100%; height: 100%; position: relative }"] });
|
|
2844
2867
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisLeafletFlowMapComponent, decorators: [{
|
|
2845
2868
|
type: i0.Component,
|
|
2846
2869
|
args: [{
|
|
2847
2870
|
selector: 'vis-leaflet-flow-map',
|
|
2848
|
-
template: '<div #container class="
|
|
2849
|
-
styles: ['.
|
|
2871
|
+
template: '<div #container class="leaflet-flow-map-container"></div>',
|
|
2872
|
+
styles: ['.leaflet-flow-map-container { width: 100%; height: 100%; position: relative }'],
|
|
2850
2873
|
// eslint-disable-next-line no-use-before-define
|
|
2851
2874
|
providers: [{ provide: VisCoreComponent, useExisting: VisLeafletFlowMapComponent }],
|
|
2852
2875
|
}]
|
|
2853
2876
|
}], propDecorators: { containerRef: [{
|
|
2854
2877
|
type: i0.ViewChild,
|
|
2855
2878
|
args: ['container', { static: false }]
|
|
2856
|
-
}], width: [{
|
|
2857
|
-
type: i0.Input
|
|
2858
|
-
}], height: [{
|
|
2859
|
-
type: i0.Input
|
|
2860
2879
|
}], duration: [{
|
|
2861
2880
|
type: i0.Input
|
|
2862
2881
|
}], events: [{
|
|
2863
2882
|
type: i0.Input
|
|
2864
2883
|
}], attributes: [{
|
|
2865
2884
|
type: i0.Input
|
|
2885
|
+
}], width: [{
|
|
2886
|
+
type: i0.Input
|
|
2887
|
+
}], height: [{
|
|
2888
|
+
type: i0.Input
|
|
2866
2889
|
}], flyToDuration: [{
|
|
2867
2890
|
type: i0.Input
|
|
2868
2891
|
}], fitViewPadding: [{
|
|
@@ -2885,6 +2908,8 @@
|
|
|
2885
2908
|
type: i0.Input
|
|
2886
2909
|
}], attribution: [{
|
|
2887
2910
|
type: i0.Input
|
|
2911
|
+
}], renderer: [{
|
|
2912
|
+
type: i0.Input
|
|
2888
2913
|
}], onMapInitialized: [{
|
|
2889
2914
|
type: i0.Input
|
|
2890
2915
|
}], onMapMoveZoom: [{
|
|
@@ -2919,6 +2944,8 @@
|
|
|
2919
2944
|
type: i0.Input
|
|
2920
2945
|
}], pointCursor: [{
|
|
2921
2946
|
type: i0.Input
|
|
2947
|
+
}], pointRingWidth: [{
|
|
2948
|
+
type: i0.Input
|
|
2922
2949
|
}], selectedPointId: [{
|
|
2923
2950
|
type: i0.Input
|
|
2924
2951
|
}], clusterColor: [{
|
|
@@ -2939,7 +2966,7 @@
|
|
|
2939
2966
|
type: i0.Input
|
|
2940
2967
|
}], clusteringDistance: [{
|
|
2941
2968
|
type: i0.Input
|
|
2942
|
-
}],
|
|
2969
|
+
}], colorMap: [{
|
|
2943
2970
|
type: i0.Input
|
|
2944
2971
|
}], topoJSONLayer: [{
|
|
2945
2972
|
type: i0.Input
|
|
@@ -2977,6 +3004,7 @@
|
|
|
2977
3004
|
type: i0.Input
|
|
2978
3005
|
}] } });
|
|
2979
3006
|
|
|
3007
|
+
// !!! This code was automatically generated. You should not change it !!!
|
|
2980
3008
|
var VisLeafletFlowMapModule = /** @class */ (function () {
|
|
2981
3009
|
function VisLeafletFlowMapModule() {
|
|
2982
3010
|
}
|
|
@@ -2994,19 +3022,20 @@
|
|
|
2994
3022
|
}]
|
|
2995
3023
|
}] });
|
|
2996
3024
|
|
|
3025
|
+
// !!! This code was automatically generated. You should not change it !!!
|
|
2997
3026
|
var VisBulletLegendComponent = /** @class */ (function () {
|
|
2998
3027
|
function VisBulletLegendComponent() {
|
|
2999
3028
|
}
|
|
3000
3029
|
VisBulletLegendComponent.prototype.ngAfterViewInit = function () {
|
|
3001
|
-
this.component = new ts.BulletLegend(this.containerRef.nativeElement, this.getConfig());
|
|
3030
|
+
this.component = new ts.BulletLegend(this.containerRef.nativeElement, Object.assign(Object.assign({}, this.getConfig()), { renderIntoProvidedDomNode: true }));
|
|
3002
3031
|
};
|
|
3003
3032
|
VisBulletLegendComponent.prototype.ngOnChanges = function (changes) {
|
|
3004
3033
|
var _a;
|
|
3005
3034
|
(_a = this.component) === null || _a === void 0 ? void 0 : _a.update(this.getConfig());
|
|
3006
3035
|
};
|
|
3007
3036
|
VisBulletLegendComponent.prototype.getConfig = function () {
|
|
3008
|
-
var _b = this, items = _b.items, labelClassName = _b.labelClassName, onLegendItemClick = _b.onLegendItemClick, labelFontSize = _b.labelFontSize, labelMaxWidth = _b.labelMaxWidth, bulletSize = _b.bulletSize;
|
|
3009
|
-
var config = { items: items, labelClassName: labelClassName, onLegendItemClick: onLegendItemClick, labelFontSize: labelFontSize, labelMaxWidth: labelMaxWidth, bulletSize: bulletSize };
|
|
3037
|
+
var _b = this, items = _b.items, labelClassName = _b.labelClassName, onLegendItemClick = _b.onLegendItemClick, labelFontSize = _b.labelFontSize, labelMaxWidth = _b.labelMaxWidth, bulletSize = _b.bulletSize, bulletShape = _b.bulletShape, orientation = _b.orientation;
|
|
3038
|
+
var config = { items: items, labelClassName: labelClassName, onLegendItemClick: onLegendItemClick, labelFontSize: labelFontSize, labelMaxWidth: labelMaxWidth, bulletSize: bulletSize, bulletShape: bulletShape, orientation: orientation };
|
|
3010
3039
|
var keys = Object.keys(config);
|
|
3011
3040
|
keys.forEach(function (key) {
|
|
3012
3041
|
if (config[key] === undefined)
|
|
@@ -3017,12 +3046,13 @@
|
|
|
3017
3046
|
return VisBulletLegendComponent;
|
|
3018
3047
|
}());
|
|
3019
3048
|
VisBulletLegendComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisBulletLegendComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
3020
|
-
VisBulletLegendComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisBulletLegendComponent, selector: "vis-bullet-legend", inputs: { items: "items", labelClassName: "labelClassName", onLegendItemClick: "onLegendItemClick", labelFontSize: "labelFontSize", labelMaxWidth: "labelMaxWidth", bulletSize: "bulletSize", bulletShape: "bulletShape" }, providers: [{ provide: VisGenericComponent, useExisting: VisBulletLegendComponent }], viewQueries: [{ propertyName: "containerRef", first: true, predicate: ["container"], descendants: true }], usesOnChanges: true, ngImport: i0__namespace, template: '<div #container class="bullet-legend-container"></div>', isInline: true });
|
|
3049
|
+
VisBulletLegendComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisBulletLegendComponent, selector: "vis-bullet-legend", inputs: { items: "items", labelClassName: "labelClassName", onLegendItemClick: "onLegendItemClick", labelFontSize: "labelFontSize", labelMaxWidth: "labelMaxWidth", bulletSize: "bulletSize", bulletShape: "bulletShape", orientation: "orientation" }, providers: [{ provide: VisGenericComponent, useExisting: VisBulletLegendComponent }], viewQueries: [{ propertyName: "containerRef", first: true, predicate: ["container"], descendants: true }], usesOnChanges: true, ngImport: i0__namespace, template: '<div #container class="bullet-legend-container"></div>', isInline: true, styles: [".bullet-legend-container { }"] });
|
|
3021
3050
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisBulletLegendComponent, decorators: [{
|
|
3022
3051
|
type: i0.Component,
|
|
3023
3052
|
args: [{
|
|
3024
3053
|
selector: 'vis-bullet-legend',
|
|
3025
3054
|
template: '<div #container class="bullet-legend-container"></div>',
|
|
3055
|
+
styles: ['.bullet-legend-container { }'],
|
|
3026
3056
|
// eslint-disable-next-line no-use-before-define
|
|
3027
3057
|
providers: [{ provide: VisGenericComponent, useExisting: VisBulletLegendComponent }],
|
|
3028
3058
|
}]
|
|
@@ -3043,6 +3073,8 @@
|
|
|
3043
3073
|
type: i0.Input
|
|
3044
3074
|
}], bulletShape: [{
|
|
3045
3075
|
type: i0.Input
|
|
3076
|
+
}], orientation: [{
|
|
3077
|
+
type: i0.Input
|
|
3046
3078
|
}] } });
|
|
3047
3079
|
|
|
3048
3080
|
// !!! This code was automatically generated. You should not change it !!!
|