@unovis/angular 1.4.1-beta.0 → 1.4.2-alpha.2
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 +45 -27
- package/dist/lib/bundles/unovis-angular.umd.js.map +1 -1
- package/dist/lib/components/nested-donut/nested-donut.component.d.ts +7 -1
- 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 +45 -27
- 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 +2 -2
- package/package.json +2 -2
|
@@ -2670,12 +2670,15 @@
|
|
|
2670
2670
|
}]
|
|
2671
2671
|
}] });
|
|
2672
2672
|
|
|
2673
|
+
// !!! This code was automatically generated. You should not change it !!!
|
|
2673
2674
|
var VisLeafletMapComponent = /** @class */ (function () {
|
|
2674
2675
|
function VisLeafletMapComponent() {
|
|
2675
2676
|
}
|
|
2676
2677
|
VisLeafletMapComponent.prototype.ngAfterViewInit = function () {
|
|
2677
|
-
|
|
2678
|
-
|
|
2678
|
+
this.component = new ts.LeafletMap(this.containerRef.nativeElement, this.getConfig(), this.data);
|
|
2679
|
+
if (this.data) {
|
|
2680
|
+
this.component.setData(this.data);
|
|
2681
|
+
}
|
|
2679
2682
|
};
|
|
2680
2683
|
VisLeafletMapComponent.prototype.ngOnChanges = function (changes) {
|
|
2681
2684
|
var _a, _b;
|
|
@@ -2685,8 +2688,8 @@
|
|
|
2685
2688
|
(_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
|
|
2686
2689
|
};
|
|
2687
2690
|
VisLeafletMapComponent.prototype.getConfig = function () {
|
|
2688
|
-
var _c = this,
|
|
2689
|
-
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 };
|
|
2690
2693
|
var keys = Object.keys(config);
|
|
2691
2694
|
keys.forEach(function (key) {
|
|
2692
2695
|
if (config[key] === undefined)
|
|
@@ -2697,29 +2700,29 @@
|
|
|
2697
2700
|
return VisLeafletMapComponent;
|
|
2698
2701
|
}());
|
|
2699
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 });
|
|
2700
|
-
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 }"] });
|
|
2701
2704
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisLeafletMapComponent, decorators: [{
|
|
2702
2705
|
type: i0.Component,
|
|
2703
2706
|
args: [{
|
|
2704
2707
|
selector: 'vis-leaflet-map',
|
|
2705
|
-
template: '<div #container class="
|
|
2706
|
-
styles: ['.
|
|
2708
|
+
template: '<div #container class="leaflet-map-container"></div>',
|
|
2709
|
+
styles: ['.leaflet-map-container { width: 100%; height: 100%; position: relative }'],
|
|
2707
2710
|
// eslint-disable-next-line no-use-before-define
|
|
2708
2711
|
providers: [{ provide: VisCoreComponent, useExisting: VisLeafletMapComponent }],
|
|
2709
2712
|
}]
|
|
2710
2713
|
}], propDecorators: { containerRef: [{
|
|
2711
2714
|
type: i0.ViewChild,
|
|
2712
2715
|
args: ['container', { static: false }]
|
|
2713
|
-
}], width: [{
|
|
2714
|
-
type: i0.Input
|
|
2715
|
-
}], height: [{
|
|
2716
|
-
type: i0.Input
|
|
2717
2716
|
}], duration: [{
|
|
2718
2717
|
type: i0.Input
|
|
2719
2718
|
}], events: [{
|
|
2720
2719
|
type: i0.Input
|
|
2721
2720
|
}], attributes: [{
|
|
2722
2721
|
type: i0.Input
|
|
2722
|
+
}], width: [{
|
|
2723
|
+
type: i0.Input
|
|
2724
|
+
}], height: [{
|
|
2725
|
+
type: i0.Input
|
|
2723
2726
|
}], flyToDuration: [{
|
|
2724
2727
|
type: i0.Input
|
|
2725
2728
|
}], fitViewPadding: [{
|
|
@@ -2778,6 +2781,8 @@
|
|
|
2778
2781
|
type: i0.Input
|
|
2779
2782
|
}], pointCursor: [{
|
|
2780
2783
|
type: i0.Input
|
|
2784
|
+
}], pointRingWidth: [{
|
|
2785
|
+
type: i0.Input
|
|
2781
2786
|
}], selectedPointId: [{
|
|
2782
2787
|
type: i0.Input
|
|
2783
2788
|
}], clusterColor: [{
|
|
@@ -2810,6 +2815,7 @@
|
|
|
2810
2815
|
type: i0.Input
|
|
2811
2816
|
}] } });
|
|
2812
2817
|
|
|
2818
|
+
// !!! This code was automatically generated. You should not change it !!!
|
|
2813
2819
|
var VisLeafletMapModule = /** @class */ (function () {
|
|
2814
2820
|
function VisLeafletMapModule() {
|
|
2815
2821
|
}
|
|
@@ -2827,12 +2833,15 @@
|
|
|
2827
2833
|
}]
|
|
2828
2834
|
}] });
|
|
2829
2835
|
|
|
2836
|
+
// !!! This code was automatically generated. You should not change it !!!
|
|
2830
2837
|
var VisLeafletFlowMapComponent = /** @class */ (function () {
|
|
2831
2838
|
function VisLeafletFlowMapComponent() {
|
|
2832
2839
|
}
|
|
2833
2840
|
VisLeafletFlowMapComponent.prototype.ngAfterViewInit = function () {
|
|
2834
|
-
|
|
2835
|
-
|
|
2841
|
+
this.component = new ts.LeafletFlowMap(this.containerRef.nativeElement, this.getConfig(), this.data);
|
|
2842
|
+
if (this.data) {
|
|
2843
|
+
this.component.setData(this.data);
|
|
2844
|
+
}
|
|
2836
2845
|
};
|
|
2837
2846
|
VisLeafletFlowMapComponent.prototype.ngOnChanges = function (changes) {
|
|
2838
2847
|
var _a, _b;
|
|
@@ -2842,8 +2851,8 @@
|
|
|
2842
2851
|
(_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
|
|
2843
2852
|
};
|
|
2844
2853
|
VisLeafletFlowMapComponent.prototype.getConfig = function () {
|
|
2845
|
-
var _c = this,
|
|
2846
|
-
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 };
|
|
2847
2856
|
var keys = Object.keys(config);
|
|
2848
2857
|
keys.forEach(function (key) {
|
|
2849
2858
|
if (config[key] === undefined)
|
|
@@ -2854,29 +2863,29 @@
|
|
|
2854
2863
|
return VisLeafletFlowMapComponent;
|
|
2855
2864
|
}());
|
|
2856
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 });
|
|
2857
|
-
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 }"] });
|
|
2858
2867
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisLeafletFlowMapComponent, decorators: [{
|
|
2859
2868
|
type: i0.Component,
|
|
2860
2869
|
args: [{
|
|
2861
2870
|
selector: 'vis-leaflet-flow-map',
|
|
2862
|
-
template: '<div #container class="
|
|
2863
|
-
styles: ['.
|
|
2871
|
+
template: '<div #container class="leaflet-flow-map-container"></div>',
|
|
2872
|
+
styles: ['.leaflet-flow-map-container { width: 100%; height: 100%; position: relative }'],
|
|
2864
2873
|
// eslint-disable-next-line no-use-before-define
|
|
2865
2874
|
providers: [{ provide: VisCoreComponent, useExisting: VisLeafletFlowMapComponent }],
|
|
2866
2875
|
}]
|
|
2867
2876
|
}], propDecorators: { containerRef: [{
|
|
2868
2877
|
type: i0.ViewChild,
|
|
2869
2878
|
args: ['container', { static: false }]
|
|
2870
|
-
}], width: [{
|
|
2871
|
-
type: i0.Input
|
|
2872
|
-
}], height: [{
|
|
2873
|
-
type: i0.Input
|
|
2874
2879
|
}], duration: [{
|
|
2875
2880
|
type: i0.Input
|
|
2876
2881
|
}], events: [{
|
|
2877
2882
|
type: i0.Input
|
|
2878
2883
|
}], attributes: [{
|
|
2879
2884
|
type: i0.Input
|
|
2885
|
+
}], width: [{
|
|
2886
|
+
type: i0.Input
|
|
2887
|
+
}], height: [{
|
|
2888
|
+
type: i0.Input
|
|
2880
2889
|
}], flyToDuration: [{
|
|
2881
2890
|
type: i0.Input
|
|
2882
2891
|
}], fitViewPadding: [{
|
|
@@ -2899,6 +2908,8 @@
|
|
|
2899
2908
|
type: i0.Input
|
|
2900
2909
|
}], attribution: [{
|
|
2901
2910
|
type: i0.Input
|
|
2911
|
+
}], renderer: [{
|
|
2912
|
+
type: i0.Input
|
|
2902
2913
|
}], onMapInitialized: [{
|
|
2903
2914
|
type: i0.Input
|
|
2904
2915
|
}], onMapMoveZoom: [{
|
|
@@ -2933,6 +2944,8 @@
|
|
|
2933
2944
|
type: i0.Input
|
|
2934
2945
|
}], pointCursor: [{
|
|
2935
2946
|
type: i0.Input
|
|
2947
|
+
}], pointRingWidth: [{
|
|
2948
|
+
type: i0.Input
|
|
2936
2949
|
}], selectedPointId: [{
|
|
2937
2950
|
type: i0.Input
|
|
2938
2951
|
}], clusterColor: [{
|
|
@@ -2953,7 +2966,7 @@
|
|
|
2953
2966
|
type: i0.Input
|
|
2954
2967
|
}], clusteringDistance: [{
|
|
2955
2968
|
type: i0.Input
|
|
2956
|
-
}],
|
|
2969
|
+
}], colorMap: [{
|
|
2957
2970
|
type: i0.Input
|
|
2958
2971
|
}], topoJSONLayer: [{
|
|
2959
2972
|
type: i0.Input
|
|
@@ -2991,6 +3004,7 @@
|
|
|
2991
3004
|
type: i0.Input
|
|
2992
3005
|
}] } });
|
|
2993
3006
|
|
|
3007
|
+
// !!! This code was automatically generated. You should not change it !!!
|
|
2994
3008
|
var VisLeafletFlowMapModule = /** @class */ (function () {
|
|
2995
3009
|
function VisLeafletFlowMapModule() {
|
|
2996
3010
|
}
|
|
@@ -3008,19 +3022,20 @@
|
|
|
3008
3022
|
}]
|
|
3009
3023
|
}] });
|
|
3010
3024
|
|
|
3025
|
+
// !!! This code was automatically generated. You should not change it !!!
|
|
3011
3026
|
var VisBulletLegendComponent = /** @class */ (function () {
|
|
3012
3027
|
function VisBulletLegendComponent() {
|
|
3013
3028
|
}
|
|
3014
3029
|
VisBulletLegendComponent.prototype.ngAfterViewInit = function () {
|
|
3015
|
-
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 }));
|
|
3016
3031
|
};
|
|
3017
3032
|
VisBulletLegendComponent.prototype.ngOnChanges = function (changes) {
|
|
3018
3033
|
var _a;
|
|
3019
3034
|
(_a = this.component) === null || _a === void 0 ? void 0 : _a.update(this.getConfig());
|
|
3020
3035
|
};
|
|
3021
3036
|
VisBulletLegendComponent.prototype.getConfig = function () {
|
|
3022
|
-
var _b = this, items = _b.items, labelClassName = _b.labelClassName, onLegendItemClick = _b.onLegendItemClick, labelFontSize = _b.labelFontSize, labelMaxWidth = _b.labelMaxWidth, bulletSize = _b.bulletSize;
|
|
3023
|
-
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 };
|
|
3024
3039
|
var keys = Object.keys(config);
|
|
3025
3040
|
keys.forEach(function (key) {
|
|
3026
3041
|
if (config[key] === undefined)
|
|
@@ -3031,12 +3046,13 @@
|
|
|
3031
3046
|
return VisBulletLegendComponent;
|
|
3032
3047
|
}());
|
|
3033
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 });
|
|
3034
|
-
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 { }"] });
|
|
3035
3050
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisBulletLegendComponent, decorators: [{
|
|
3036
3051
|
type: i0.Component,
|
|
3037
3052
|
args: [{
|
|
3038
3053
|
selector: 'vis-bullet-legend',
|
|
3039
3054
|
template: '<div #container class="bullet-legend-container"></div>',
|
|
3055
|
+
styles: ['.bullet-legend-container { }'],
|
|
3040
3056
|
// eslint-disable-next-line no-use-before-define
|
|
3041
3057
|
providers: [{ provide: VisGenericComponent, useExisting: VisBulletLegendComponent }],
|
|
3042
3058
|
}]
|
|
@@ -3057,6 +3073,8 @@
|
|
|
3057
3073
|
type: i0.Input
|
|
3058
3074
|
}], bulletShape: [{
|
|
3059
3075
|
type: i0.Input
|
|
3076
|
+
}], orientation: [{
|
|
3077
|
+
type: i0.Input
|
|
3060
3078
|
}] } });
|
|
3061
3079
|
|
|
3062
3080
|
// !!! This code was automatically generated. You should not change it !!!
|