@unovis/angular 1.1.0-beta.2 → 1.1.0-beta.5

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.
Files changed (38) hide show
  1. package/dist/lib/bundles/unovis-angular.umd.js +38 -12
  2. package/dist/lib/bundles/unovis-angular.umd.js.map +1 -1
  3. package/dist/lib/components/area/area.component.d.ts +1 -1
  4. package/dist/lib/components/axis/axis.component.d.ts +1 -1
  5. package/dist/lib/components/brush/brush.component.d.ts +5 -5
  6. package/dist/lib/components/crosshair/crosshair.component.d.ts +1 -1
  7. package/dist/lib/components/donut/donut.component.d.ts +5 -3
  8. package/dist/lib/components/free-brush/free-brush.component.d.ts +9 -9
  9. package/dist/lib/components/graph/graph.component.d.ts +23 -2
  10. package/dist/lib/components/grouped-bar/grouped-bar.component.d.ts +1 -1
  11. package/dist/lib/components/line/line.component.d.ts +1 -1
  12. package/dist/lib/components/sankey/sankey.component.d.ts +5 -5
  13. package/dist/lib/components/scatter/scatter.component.d.ts +1 -1
  14. package/dist/lib/components/stacked-bar/stacked-bar.component.d.ts +1 -1
  15. package/dist/lib/components/timeline/timeline.component.d.ts +1 -1
  16. package/dist/lib/components/xy-labels/xy-labels.component.d.ts +3 -3
  17. package/dist/lib/esm2015/components/area/area.component.js +1 -1
  18. package/dist/lib/esm2015/components/axis/axis.component.js +1 -1
  19. package/dist/lib/esm2015/components/brush/brush.component.js +1 -1
  20. package/dist/lib/esm2015/components/crosshair/crosshair.component.js +1 -1
  21. package/dist/lib/esm2015/components/donut/donut.component.js +6 -4
  22. package/dist/lib/esm2015/components/free-brush/free-brush.component.js +1 -1
  23. package/dist/lib/esm2015/components/graph/graph.component.js +20 -4
  24. package/dist/lib/esm2015/components/grouped-bar/grouped-bar.component.js +1 -1
  25. package/dist/lib/esm2015/components/line/line.component.js +1 -1
  26. package/dist/lib/esm2015/components/sankey/sankey.component.js +1 -1
  27. package/dist/lib/esm2015/components/scatter/scatter.component.js +1 -1
  28. package/dist/lib/esm2015/components/stacked-bar/stacked-bar.component.js +1 -1
  29. package/dist/lib/esm2015/components/timeline/timeline.component.js +1 -1
  30. package/dist/lib/esm2015/components/xy-labels/xy-labels.component.js +1 -1
  31. package/dist/lib/esm2015/html-components/leaflet-flow-map/leaflet-flow-map.component.js +8 -4
  32. package/dist/lib/esm2015/html-components/leaflet-map/leaflet-map.component.js +8 -4
  33. package/dist/lib/fesm2015/unovis-angular.js +38 -12
  34. package/dist/lib/fesm2015/unovis-angular.js.map +1 -1
  35. package/dist/lib/html-components/leaflet-flow-map/leaflet-flow-map.component.d.ts +13 -1
  36. package/dist/lib/html-components/leaflet-map/leaflet-map.component.d.ts +13 -1
  37. package/dist/lib/package.json +2 -2
  38. package/package.json +2 -2
@@ -105,6 +105,12 @@ export declare class VisLeafletFlowMapComponent<PointDatum extends GenericDataRe
105
105
  pointRadius?: NumericAccessor<LeafletMapPointDatum<PointDatum>>;
106
106
  /** Point inner label accessor function. Default: `d => d.point_count ?? ''` */
107
107
  pointLabel?: StringAccessor<LeafletMapPointDatum<PointDatum>>;
108
+ /** Point inner label color accessor function or constant value.
109
+ * By default, the label color will be set, depending on the point brightness, either to
110
+ * `--vis-map-point-inner-label-text-color-light` or to `--vis-map-point-inner-label-text-color-dark` CSS variable.
111
+ * Default: `undefined`
112
+ */
113
+ pointLabelColor?: StringAccessor<LeafletMapPointDatum<PointDatum>>;
108
114
  /** Point bottom label accessor function. Default: `''` */
109
115
  pointBottomLabel?: StringAccessor<LeafletMapPointDatum<PointDatum>>;
110
116
  /** Point cursor value or accessor function. Default: `null` */
@@ -117,6 +123,12 @@ export declare class VisLeafletFlowMapComponent<PointDatum extends GenericDataRe
117
123
  clusterRadius?: NumericAccessor<LeafletMapClusterDatum<PointDatum>>;
118
124
  /** Cluster inner label accessor function. Default: `d => d.point_count` */
119
125
  clusterLabel?: StringAccessor<LeafletMapClusterDatum<PointDatum>>;
126
+ /** Cluster inner label color accessor function or constant value.
127
+ * By default, the label color will be set, depending on the point brightness, either to
128
+ * `--vis-map-cluster-inner-label-text-color-light` or to `--vis-map-cluster-inner-label-text-color-dark` CSS variable.
129
+ * Default: `undefined`
130
+ */
131
+ clusterLabelColor?: StringAccessor<LeafletMapClusterDatum<PointDatum>>;
120
132
  /** Cluster bottom label accessor function. Default: `''` */
121
133
  clusterBottomLabel?: StringAccessor<LeafletMapClusterDatum<PointDatum>>;
122
134
  /** The width of the cluster point outline. Default: `1.25` */
@@ -193,5 +205,5 @@ export declare class VisLeafletFlowMapComponent<PointDatum extends GenericDataRe
193
205
  ngOnChanges(changes: SimpleChanges): void;
194
206
  private getConfig;
195
207
  static ɵfac: i0.ɵɵFactoryDeclaration<VisLeafletFlowMapComponent<any, any>, never>;
196
- static ɵcmp: i0.ɵɵComponentDeclaration<VisLeafletFlowMapComponent<any, any>, "vis-leaflet-flow-map", never, { "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"; "pointBottomLabel": "pointBottomLabel"; "pointCursor": "pointCursor"; "selectedPointId": "selectedPointId"; "clusterColor": "clusterColor"; "clusterRadius": "clusterRadius"; "clusterLabel": "clusterLabel"; "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"; }, {}, never, never>;
208
+ static ɵcmp: i0.ɵɵComponentDeclaration<VisLeafletFlowMapComponent<any, any>, "vis-leaflet-flow-map", never, { "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"; }, {}, never, never>;
197
209
  }
@@ -107,6 +107,12 @@ export declare class VisLeafletMapComponent<Datum extends GenericDataRecord> imp
107
107
  pointRadius?: NumericAccessor<LeafletMapPointDatum<Datum>>;
108
108
  /** Point inner label accessor function. Default: `d => d.point_count ?? ''` */
109
109
  pointLabel?: StringAccessor<LeafletMapPointDatum<Datum>>;
110
+ /** Point inner label color accessor function or constant value.
111
+ * By default, the label color will be set, depending on the point brightness, either to
112
+ * `--vis-map-point-inner-label-text-color-light` or to `--vis-map-point-inner-label-text-color-dark` CSS variable.
113
+ * Default: `undefined`
114
+ */
115
+ pointLabelColor?: StringAccessor<LeafletMapPointDatum<Datum>>;
110
116
  /** Point bottom label accessor function. Default: `''` */
111
117
  pointBottomLabel?: StringAccessor<LeafletMapPointDatum<Datum>>;
112
118
  /** Point cursor value or accessor function. Default: `null` */
@@ -119,6 +125,12 @@ export declare class VisLeafletMapComponent<Datum extends GenericDataRecord> imp
119
125
  clusterRadius?: NumericAccessor<LeafletMapClusterDatum<Datum>>;
120
126
  /** Cluster inner label accessor function. Default: `d => d.point_count` */
121
127
  clusterLabel?: StringAccessor<LeafletMapClusterDatum<Datum>>;
128
+ /** Cluster inner label color accessor function or constant value.
129
+ * By default, the label color will be set, depending on the point brightness, either to
130
+ * `--vis-map-cluster-inner-label-text-color-light` or to `--vis-map-cluster-inner-label-text-color-dark` CSS variable.
131
+ * Default: `undefined`
132
+ */
133
+ clusterLabelColor?: StringAccessor<LeafletMapClusterDatum<Datum>>;
122
134
  /** Cluster bottom label accessor function. Default: `''` */
123
135
  clusterBottomLabel?: StringAccessor<LeafletMapClusterDatum<Datum>>;
124
136
  /** The width of the cluster point outline. Default: `1.25` */
@@ -166,5 +178,5 @@ export declare class VisLeafletMapComponent<Datum extends GenericDataRecord> imp
166
178
  ngOnChanges(changes: SimpleChanges): void;
167
179
  private getConfig;
168
180
  static ɵfac: i0.ɵɵFactoryDeclaration<VisLeafletMapComponent<any>, never>;
169
- static ɵcmp: i0.ɵɵComponentDeclaration<VisLeafletMapComponent<any>, "vis-leaflet-map", never, { "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"; "pointBottomLabel": "pointBottomLabel"; "pointCursor": "pointCursor"; "selectedPointId": "selectedPointId"; "clusterColor": "clusterColor"; "clusterRadius": "clusterRadius"; "clusterLabel": "clusterLabel"; "clusterBottomLabel": "clusterBottomLabel"; "clusterRingWidth": "clusterRingWidth"; "clusterBackground": "clusterBackground"; "clusterExpandOnClick": "clusterExpandOnClick"; "clusteringDistance": "clusteringDistance"; "colorMap": "colorMap"; "topoJSONLayer": "topoJSONLayer"; "tooltip": "tooltip"; "data": "data"; }, {}, never, never>;
181
+ static ɵcmp: i0.ɵɵComponentDeclaration<VisLeafletMapComponent<any>, "vis-leaflet-map", never, { "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"; }, {}, never, never>;
170
182
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unovis/angular",
3
3
  "description": "Modular data visualization framework for React, Angular, Svelte, and vanilla TypeScript or JavaScript",
4
- "version": "1.1.0-beta.2",
4
+ "version": "1.1.0-beta.5",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/f5/unovis.git",
@@ -39,7 +39,7 @@
39
39
  "@angular/common": "12 - 15",
40
40
  "@angular/compiler": "12 - 15",
41
41
  "@angular/core": "12 - 15",
42
- "@unovis/ts": "1.1.0-beta.2"
42
+ "@unovis/ts": "1.1.0-beta.5"
43
43
  },
44
44
  "es2015": "fesm2015/unovis-angular.js",
45
45
  "esm2015": "esm2015/unovis-angular.js",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unovis/angular",
3
3
  "description": "Modular data visualization framework for React, Angular, Svelte, and vanilla TypeScript or JavaScript",
4
- "version": "1.1.0-beta.2",
4
+ "version": "1.1.0-beta.5",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/f5/unovis.git",
@@ -46,7 +46,7 @@
46
46
  "@angular/common": "12 - 15",
47
47
  "@angular/compiler": "12 - 15",
48
48
  "@angular/core": "12 - 15",
49
- "@unovis/ts": "1.1.0-beta.2"
49
+ "@unovis/ts": "1.1.0-beta.5"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@angular-devkit/build-angular": "^12.0.3",