@unovis/angular 1.1.2-beta.7 → 1.1.2-beta.9
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 +20 -11
- package/dist/lib/bundles/unovis-angular.umd.js.map +1 -1
- package/dist/lib/components/axis/axis.component.d.ts +1 -1
- package/dist/lib/containers/single-container/single-container.component.d.ts +6 -1
- package/dist/lib/containers/xy-container/xy-container.component.d.ts +5 -1
- package/dist/lib/esm2015/components/axis/axis.component.js +1 -1
- package/dist/lib/esm2015/containers/single-container/single-container.component.js +6 -4
- package/dist/lib/esm2015/containers/xy-container/xy-container.component.js +6 -3
- package/dist/lib/esm2015/html-components/leaflet-flow-map/leaflet-flow-map.component.js +6 -4
- package/dist/lib/esm2015/html-components/leaflet-map/leaflet-map.component.js +6 -4
- package/dist/lib/fesm2015/unovis-angular.js +20 -11
- package/dist/lib/fesm2015/unovis-angular.js.map +1 -1
- package/dist/lib/html-components/leaflet-flow-map/leaflet-flow-map.component.d.ts +5 -1
- package/dist/lib/html-components/leaflet-map/leaflet-map.component.d.ts +5 -1
- package/dist/lib/package.json +2 -2
- package/package.json +2 -2
|
@@ -474,7 +474,7 @@
|
|
|
474
474
|
};
|
|
475
475
|
VisXYContainerComponent.prototype.getConfig = function () {
|
|
476
476
|
var _a;
|
|
477
|
-
var _c = this, duration = _c.duration, margin = _c.margin, padding = _c.padding, scaleByDomain = _c.scaleByDomain, autoMargin = _c.autoMargin, width = _c.width, height = _c.height, xScale = _c.xScale, xDomain = _c.xDomain, xDomainMinConstraint = _c.xDomainMinConstraint, xDomainMaxConstraint = _c.xDomainMaxConstraint, xRange = _c.xRange, yScale = _c.yScale, yDomain = _c.yDomain, yDomainMinConstraint = _c.yDomainMinConstraint, yDomainMaxConstraint = _c.yDomainMaxConstraint, yRange = _c.yRange, yDirection = _c.yDirection;
|
|
477
|
+
var _c = this, duration = _c.duration, margin = _c.margin, padding = _c.padding, scaleByDomain = _c.scaleByDomain, autoMargin = _c.autoMargin, width = _c.width, height = _c.height, xScale = _c.xScale, xDomain = _c.xDomain, xDomainMinConstraint = _c.xDomainMinConstraint, xDomainMaxConstraint = _c.xDomainMaxConstraint, xRange = _c.xRange, yScale = _c.yScale, yDomain = _c.yDomain, yDomainMinConstraint = _c.yDomainMinConstraint, yDomainMaxConstraint = _c.yDomainMaxConstraint, yRange = _c.yRange, yDirection = _c.yDirection, ariaLabel = _c.ariaLabel;
|
|
478
478
|
var visComponents = this.visComponents.toArray().map(function (d) { return d.component; });
|
|
479
479
|
var crosshair = visComponents.find(function (c) { return c instanceof ts.Crosshair; });
|
|
480
480
|
var tooltip = (_a = this.tooltipComponent) === null || _a === void 0 ? void 0 : _a.component;
|
|
@@ -505,6 +505,7 @@
|
|
|
505
505
|
yDomainMaxConstraint: yDomainMaxConstraint,
|
|
506
506
|
yRange: yRange,
|
|
507
507
|
yDirection: yDirection,
|
|
508
|
+
ariaLabel: ariaLabel,
|
|
508
509
|
};
|
|
509
510
|
};
|
|
510
511
|
VisXYContainerComponent.prototype.passContainerReferenceToChildren = function () {
|
|
@@ -520,7 +521,7 @@
|
|
|
520
521
|
return VisXYContainerComponent;
|
|
521
522
|
}());
|
|
522
523
|
VisXYContainerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisXYContainerComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
523
|
-
VisXYContainerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisXYContainerComponent, selector: "vis-xy-container", inputs: { width: "width", height: "height", xScale: "xScale", xDomain: "xDomain", xDomainMinConstraint: "xDomainMinConstraint", xDomainMaxConstraint: "xDomainMaxConstraint", xRange: "xRange", yScale: "yScale", yDomain: "yDomain", yDomainMinConstraint: "yDomainMinConstraint", yDomainMaxConstraint: "yDomainMaxConstraint", yRange: "yRange", yDirection: "yDirection", duration: "duration", margin: "margin", padding: "padding", scaleByDomain: "scaleByDomain", autoMargin: "autoMargin", data: "data" }, queries: [{ propertyName: "tooltipComponent", first: true, predicate: VisTooltipComponent, descendants: true }, { propertyName: "visComponents", predicate: VisXYComponent }], viewQueries: [{ propertyName: "containerRef", first: true, predicate: ["container"], descendants: true }], usesOnChanges: true, ngImport: i0__namespace, template: "<div #container class=\"unovis-xy-container\">\n <ng-content></ng-content>\n </div>", isInline: true, styles: [".unovis-xy-container { width: 100%; height: 100%; position: relative; }"] });
|
|
524
|
+
VisXYContainerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisXYContainerComponent, selector: "vis-xy-container", inputs: { width: "width", height: "height", xScale: "xScale", xDomain: "xDomain", xDomainMinConstraint: "xDomainMinConstraint", xDomainMaxConstraint: "xDomainMaxConstraint", xRange: "xRange", yScale: "yScale", yDomain: "yDomain", yDomainMinConstraint: "yDomainMinConstraint", yDomainMaxConstraint: "yDomainMaxConstraint", yRange: "yRange", yDirection: "yDirection", duration: "duration", margin: "margin", padding: "padding", scaleByDomain: "scaleByDomain", autoMargin: "autoMargin", ariaLabel: "ariaLabel", data: "data" }, queries: [{ propertyName: "tooltipComponent", first: true, predicate: VisTooltipComponent, descendants: true }, { propertyName: "visComponents", predicate: VisXYComponent }], viewQueries: [{ propertyName: "containerRef", first: true, predicate: ["container"], descendants: true }], usesOnChanges: true, ngImport: i0__namespace, template: "<div #container class=\"unovis-xy-container\">\n <ng-content></ng-content>\n </div>", isInline: true, styles: [".unovis-xy-container { width: 100%; height: 100%; position: relative; }"] });
|
|
524
525
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisXYContainerComponent, decorators: [{
|
|
525
526
|
type: i0.Component,
|
|
526
527
|
args: [{
|
|
@@ -573,6 +574,8 @@
|
|
|
573
574
|
type: i0.Input
|
|
574
575
|
}], autoMargin: [{
|
|
575
576
|
type: i0.Input
|
|
577
|
+
}], ariaLabel: [{
|
|
578
|
+
type: i0.Input
|
|
576
579
|
}], data: [{
|
|
577
580
|
type: i0.Input
|
|
578
581
|
}] } });
|
|
@@ -616,10 +619,10 @@
|
|
|
616
619
|
};
|
|
617
620
|
VisSingleContainerComponent.prototype.getConfig = function () {
|
|
618
621
|
var _a, _b;
|
|
619
|
-
var _c = this, width = _c.width, height = _c.height, duration = _c.duration, margin = _c.margin;
|
|
622
|
+
var _c = this, width = _c.width, height = _c.height, duration = _c.duration, margin = _c.margin, ariaLabel = _c.ariaLabel;
|
|
620
623
|
var component = (_a = this.visComponent) === null || _a === void 0 ? void 0 : _a.component;
|
|
621
624
|
var tooltip = (_b = this.tooltipComponent) === null || _b === void 0 ? void 0 : _b.component;
|
|
622
|
-
return { width: width, height: height, duration: duration, margin: margin, component: component, tooltip: tooltip };
|
|
625
|
+
return { width: width, height: height, duration: duration, margin: margin, component: component, tooltip: tooltip, ariaLabel: ariaLabel };
|
|
623
626
|
};
|
|
624
627
|
VisSingleContainerComponent.prototype.ngOnDestroy = function () {
|
|
625
628
|
this.chart.destroy();
|
|
@@ -627,7 +630,7 @@
|
|
|
627
630
|
return VisSingleContainerComponent;
|
|
628
631
|
}());
|
|
629
632
|
VisSingleContainerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisSingleContainerComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
630
|
-
VisSingleContainerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisSingleContainerComponent, selector: "vis-single-container", inputs: { width: "width", height: "height", margin: "margin", duration: "duration", data: "data" }, queries: [{ propertyName: "visComponent", first: true, predicate: VisCoreComponent, descendants: true }, { propertyName: "tooltipComponent", first: true, predicate: VisTooltipComponent, descendants: true }], viewQueries: [{ propertyName: "containerRef", first: true, predicate: ["container"], descendants: true }], usesOnChanges: true, ngImport: i0__namespace, template: "<div #container class=\"unovis-single-container\">\n <ng-content></ng-content>\n </div>", isInline: true, styles: [".unovis-single-container { width: 100%; height: 100%; position: relative; }"] });
|
|
633
|
+
VisSingleContainerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisSingleContainerComponent, selector: "vis-single-container", inputs: { width: "width", height: "height", margin: "margin", duration: "duration", ariaLabel: "ariaLabel", data: "data" }, queries: [{ propertyName: "visComponent", first: true, predicate: VisCoreComponent, descendants: true }, { propertyName: "tooltipComponent", first: true, predicate: VisTooltipComponent, descendants: true }], viewQueries: [{ propertyName: "containerRef", first: true, predicate: ["container"], descendants: true }], usesOnChanges: true, ngImport: i0__namespace, template: "<div #container class=\"unovis-single-container\">\n <ng-content></ng-content>\n </div>", isInline: true, styles: [".unovis-single-container { width: 100%; height: 100%; position: relative; }"] });
|
|
631
634
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisSingleContainerComponent, decorators: [{
|
|
632
635
|
type: i0.Component,
|
|
633
636
|
args: [{
|
|
@@ -652,6 +655,8 @@
|
|
|
652
655
|
type: i0.Input
|
|
653
656
|
}], duration: [{
|
|
654
657
|
type: i0.Input
|
|
658
|
+
}], ariaLabel: [{
|
|
659
|
+
type: i0.Input
|
|
655
660
|
}], data: [{
|
|
656
661
|
type: i0.Input
|
|
657
662
|
}] } });
|
|
@@ -2518,8 +2523,8 @@
|
|
|
2518
2523
|
(_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
|
|
2519
2524
|
};
|
|
2520
2525
|
VisLeafletMapComponent.prototype.getConfig = function () {
|
|
2521
|
-
var _c = this, width = _c.width, height = _c.height, duration = _c.duration, events = _c.events, attributes = _c.attributes, flyToDuration = _c.flyToDuration, fitViewPadding = _c.fitViewPadding, zoomDuration = _c.zoomDuration, initialBounds = _c.initialBounds, fitBoundsOnUpdate = _c.fitBoundsOnUpdate, fitViewOnInit = _c.fitViewOnInit, fitViewOnUpdate = _c.fitViewOnUpdate, accessToken = _c.accessToken, style = _c.style, styleDarkTheme = _c.styleDarkTheme, attribution = _c.attribution, 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, 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;
|
|
2522
|
-
var config = { width: width, height: height, duration: duration, events: events, attributes: attributes, flyToDuration: flyToDuration, fitViewPadding: fitViewPadding, zoomDuration: zoomDuration, initialBounds: initialBounds, fitBoundsOnUpdate: fitBoundsOnUpdate, fitViewOnInit: fitViewOnInit, fitViewOnUpdate: fitViewOnUpdate, accessToken: accessToken, style: style, styleDarkTheme: styleDarkTheme, attribution: attribution, 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, 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 };
|
|
2526
|
+
var _c = this, width = _c.width, height = _c.height, duration = _c.duration, events = _c.events, attributes = _c.attributes, flyToDuration = _c.flyToDuration, fitViewPadding = _c.fitViewPadding, zoomDuration = _c.zoomDuration, initialBounds = _c.initialBounds, fitBoundsOnUpdate = _c.fitBoundsOnUpdate, fitViewOnInit = _c.fitViewOnInit, fitViewOnUpdate = _c.fitViewOnUpdate, accessToken = _c.accessToken, style = _c.style, styleDarkTheme = _c.styleDarkTheme, attribution = _c.attribution, 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, 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;
|
|
2527
|
+
var config = { width: width, height: height, duration: duration, events: events, attributes: attributes, flyToDuration: flyToDuration, fitViewPadding: fitViewPadding, zoomDuration: zoomDuration, initialBounds: initialBounds, fitBoundsOnUpdate: fitBoundsOnUpdate, fitViewOnInit: fitViewOnInit, fitViewOnUpdate: fitViewOnUpdate, accessToken: accessToken, style: style, styleDarkTheme: styleDarkTheme, attribution: attribution, 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, 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 };
|
|
2523
2528
|
var keys = Object.keys(config);
|
|
2524
2529
|
keys.forEach(function (key) {
|
|
2525
2530
|
if (config[key] === undefined)
|
|
@@ -2530,7 +2535,7 @@
|
|
|
2530
2535
|
return VisLeafletMapComponent;
|
|
2531
2536
|
}());
|
|
2532
2537
|
VisLeafletMapComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisLeafletMapComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2533
|
-
VisLeafletMapComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisLeafletMapComponent, selector: "vis-leaflet-map", inputs: { width: "width", height: "height", duration: "duration", events: "events", attributes: "attributes", 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", 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", 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="unovis-leaflet-map-container"></div>', isInline: true, styles: [".unovis-leaflet-map-container { width: 100%; height: 100%; position: relative; }"] });
|
|
2538
|
+
VisLeafletMapComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisLeafletMapComponent, selector: "vis-leaflet-map", inputs: { width: "width", height: "height", duration: "duration", events: "events", attributes: "attributes", 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", 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="unovis-leaflet-map-container"></div>', isInline: true, styles: [".unovis-leaflet-map-container { width: 100%; height: 100%; position: relative; }"] });
|
|
2534
2539
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisLeafletMapComponent, decorators: [{
|
|
2535
2540
|
type: i0.Component,
|
|
2536
2541
|
args: [{
|
|
@@ -2637,6 +2642,8 @@
|
|
|
2637
2642
|
type: i0.Input
|
|
2638
2643
|
}], tooltip: [{
|
|
2639
2644
|
type: i0.Input
|
|
2645
|
+
}], ariaLabel: [{
|
|
2646
|
+
type: i0.Input
|
|
2640
2647
|
}], data: [{
|
|
2641
2648
|
type: i0.Input
|
|
2642
2649
|
}] } });
|
|
@@ -2673,8 +2680,8 @@
|
|
|
2673
2680
|
(_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
|
|
2674
2681
|
};
|
|
2675
2682
|
VisLeafletFlowMapComponent.prototype.getConfig = function () {
|
|
2676
|
-
var _c = this, width = _c.width, height = _c.height, duration = _c.duration, events = _c.events, attributes = _c.attributes, flyToDuration = _c.flyToDuration, fitViewPadding = _c.fitViewPadding, zoomDuration = _c.zoomDuration, initialBounds = _c.initialBounds, fitBoundsOnUpdate = _c.fitBoundsOnUpdate, fitViewOnInit = _c.fitViewOnInit, fitViewOnUpdate = _c.fitViewOnUpdate, accessToken = _c.accessToken, style = _c.style, styleDarkTheme = _c.styleDarkTheme, attribution = _c.attribution, 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, 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, valuesMap = _c.valuesMap, topoJSONLayer = _c.topoJSONLayer, tooltip = _c.tooltip, 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;
|
|
2677
|
-
var config = { width: width, height: height, duration: duration, events: events, attributes: attributes, flyToDuration: flyToDuration, fitViewPadding: fitViewPadding, zoomDuration: zoomDuration, initialBounds: initialBounds, fitBoundsOnUpdate: fitBoundsOnUpdate, fitViewOnInit: fitViewOnInit, fitViewOnUpdate: fitViewOnUpdate, accessToken: accessToken, style: style, styleDarkTheme: styleDarkTheme, attribution: attribution, 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, selectedPointId: selectedPointId, clusterColor: clusterColor, clusterRadius: clusterRadius, clusterLabel: clusterLabel, clusterLabelColor: clusterLabelColor, clusterBottomLabel: clusterBottomLabel, clusterRingWidth: clusterRingWidth, clusterBackground: clusterBackground, clusterExpandOnClick: clusterExpandOnClick, clusteringDistance: clusteringDistance, valuesMap: valuesMap, topoJSONLayer: topoJSONLayer, tooltip: tooltip, 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 };
|
|
2683
|
+
var _c = this, width = _c.width, height = _c.height, duration = _c.duration, events = _c.events, attributes = _c.attributes, flyToDuration = _c.flyToDuration, fitViewPadding = _c.fitViewPadding, zoomDuration = _c.zoomDuration, initialBounds = _c.initialBounds, fitBoundsOnUpdate = _c.fitBoundsOnUpdate, fitViewOnInit = _c.fitViewOnInit, fitViewOnUpdate = _c.fitViewOnUpdate, accessToken = _c.accessToken, style = _c.style, styleDarkTheme = _c.styleDarkTheme, attribution = _c.attribution, 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, 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, valuesMap = _c.valuesMap, 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;
|
|
2684
|
+
var config = { width: width, height: height, duration: duration, events: events, attributes: attributes, flyToDuration: flyToDuration, fitViewPadding: fitViewPadding, zoomDuration: zoomDuration, initialBounds: initialBounds, fitBoundsOnUpdate: fitBoundsOnUpdate, fitViewOnInit: fitViewOnInit, fitViewOnUpdate: fitViewOnUpdate, accessToken: accessToken, style: style, styleDarkTheme: styleDarkTheme, attribution: attribution, 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, selectedPointId: selectedPointId, clusterColor: clusterColor, clusterRadius: clusterRadius, clusterLabel: clusterLabel, clusterLabelColor: clusterLabelColor, clusterBottomLabel: clusterBottomLabel, clusterRingWidth: clusterRingWidth, clusterBackground: clusterBackground, clusterExpandOnClick: clusterExpandOnClick, clusteringDistance: clusteringDistance, valuesMap: valuesMap, 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 };
|
|
2678
2685
|
var keys = Object.keys(config);
|
|
2679
2686
|
keys.forEach(function (key) {
|
|
2680
2687
|
if (config[key] === undefined)
|
|
@@ -2685,7 +2692,7 @@
|
|
|
2685
2692
|
return VisLeafletFlowMapComponent;
|
|
2686
2693
|
}());
|
|
2687
2694
|
VisLeafletFlowMapComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisLeafletFlowMapComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2688
|
-
VisLeafletFlowMapComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisLeafletFlowMapComponent, selector: "vis-leaflet-flow-map", inputs: { width: "width", height: "height", duration: "duration", events: "events", attributes: "attributes", flyToDuration: "flyToDuration", fitViewPadding: "fitViewPadding", zoomDuration: "zoomDuration", initialBounds: "initialBounds", fitBoundsOnUpdate: "fitBoundsOnUpdate", fitViewOnInit: "fitViewOnInit", fitViewOnUpdate: "fitViewOnUpdate", style: "style", styleDarkTheme: "styleDarkTheme", accessToken: "accessToken", attribution: "attribution", 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", selectedPointId: "selectedPointId", clusterColor: "clusterColor", clusterRadius: "clusterRadius", clusterLabel: "clusterLabel", clusterLabelColor: "clusterLabelColor", clusterBottomLabel: "clusterBottomLabel", clusterRingWidth: "clusterRingWidth", clusterBackground: "clusterBackground", clusterExpandOnClick: "clusterExpandOnClick", clusteringDistance: "clusteringDistance", valuesMap: "valuesMap", topoJSONLayer: "topoJSONLayer", tooltip: "tooltip", 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="unovis-leaflet-flow-map-container"></div>', isInline: true, styles: [".unovis-leaflet-flow-map-container { width: 100%; height: 100%; position: relative; }"] });
|
|
2695
|
+
VisLeafletFlowMapComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisLeafletFlowMapComponent, selector: "vis-leaflet-flow-map", inputs: { width: "width", height: "height", duration: "duration", events: "events", attributes: "attributes", flyToDuration: "flyToDuration", fitViewPadding: "fitViewPadding", zoomDuration: "zoomDuration", initialBounds: "initialBounds", fitBoundsOnUpdate: "fitBoundsOnUpdate", fitViewOnInit: "fitViewOnInit", fitViewOnUpdate: "fitViewOnUpdate", style: "style", styleDarkTheme: "styleDarkTheme", accessToken: "accessToken", attribution: "attribution", 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", selectedPointId: "selectedPointId", clusterColor: "clusterColor", clusterRadius: "clusterRadius", clusterLabel: "clusterLabel", clusterLabelColor: "clusterLabelColor", clusterBottomLabel: "clusterBottomLabel", clusterRingWidth: "clusterRingWidth", clusterBackground: "clusterBackground", clusterExpandOnClick: "clusterExpandOnClick", clusteringDistance: "clusteringDistance", valuesMap: "valuesMap", 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="unovis-leaflet-flow-map-container"></div>', isInline: true, styles: [".unovis-leaflet-flow-map-container { width: 100%; height: 100%; position: relative; }"] });
|
|
2689
2696
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisLeafletFlowMapComponent, decorators: [{
|
|
2690
2697
|
type: i0.Component,
|
|
2691
2698
|
args: [{
|
|
@@ -2790,6 +2797,8 @@
|
|
|
2790
2797
|
type: i0.Input
|
|
2791
2798
|
}], tooltip: [{
|
|
2792
2799
|
type: i0.Input
|
|
2800
|
+
}], ariaLabel: [{
|
|
2801
|
+
type: i0.Input
|
|
2793
2802
|
}], sourceLongitude: [{
|
|
2794
2803
|
type: i0.Input
|
|
2795
2804
|
}], sourceLatitude: [{
|