@unovis/angular 1.0.0-alpha.4

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 (108) hide show
  1. package/LICENSE +193 -0
  2. package/dist/lib/LICENSE +193 -0
  3. package/dist/lib/bundles/unovis-angular.umd.js +2833 -0
  4. package/dist/lib/bundles/unovis-angular.umd.js.map +1 -0
  5. package/dist/lib/components/area/area.component.d.ts +94 -0
  6. package/dist/lib/components/area/area.module.d.ts +7 -0
  7. package/dist/lib/components/axis/axis.component.d.ts +125 -0
  8. package/dist/lib/components/axis/axis.module.d.ts +7 -0
  9. package/dist/lib/components/brush/brush.component.d.ts +104 -0
  10. package/dist/lib/components/brush/brush.module.d.ts +7 -0
  11. package/dist/lib/components/crosshair/crosshair.component.d.ts +104 -0
  12. package/dist/lib/components/crosshair/crosshair.module.d.ts +7 -0
  13. package/dist/lib/components/donut/donut.component.d.ts +86 -0
  14. package/dist/lib/components/donut/donut.module.d.ts +7 -0
  15. package/dist/lib/components/free-brush/free-brush.component.d.ts +106 -0
  16. package/dist/lib/components/free-brush/free-brush.module.d.ts +7 -0
  17. package/dist/lib/components/graph/graph.component.d.ts +190 -0
  18. package/dist/lib/components/graph/graph.module.d.ts +7 -0
  19. package/dist/lib/components/grouped-bar/grouped-bar.component.d.ts +101 -0
  20. package/dist/lib/components/grouped-bar/grouped-bar.module.d.ts +7 -0
  21. package/dist/lib/components/line/line.component.d.ts +97 -0
  22. package/dist/lib/components/line/line.module.d.ts +7 -0
  23. package/dist/lib/components/sankey/sankey.component.d.ts +164 -0
  24. package/dist/lib/components/sankey/sankey.module.d.ts +7 -0
  25. package/dist/lib/components/scatter/scatter.component.d.ts +104 -0
  26. package/dist/lib/components/scatter/scatter.module.d.ts +7 -0
  27. package/dist/lib/components/stacked-bar/stacked-bar.component.d.ts +103 -0
  28. package/dist/lib/components/stacked-bar/stacked-bar.module.d.ts +7 -0
  29. package/dist/lib/components/timeline/timeline.component.d.ts +105 -0
  30. package/dist/lib/components/timeline/timeline.module.d.ts +7 -0
  31. package/dist/lib/components/tooltip/tooltip.component.d.ts +41 -0
  32. package/dist/lib/components/tooltip/tooltip.module.d.ts +7 -0
  33. package/dist/lib/components/topojson-map/topojson-map.component.d.ts +125 -0
  34. package/dist/lib/components/topojson-map/topojson-map.module.d.ts +7 -0
  35. package/dist/lib/components/xy-labels/xy-labels.component.d.ts +107 -0
  36. package/dist/lib/components/xy-labels/xy-labels.module.d.ts +7 -0
  37. package/dist/lib/components.d.ts +39 -0
  38. package/dist/lib/containers/single-container/single-container.component.d.ts +26 -0
  39. package/dist/lib/containers/single-container/single-container.module.d.ts +7 -0
  40. package/dist/lib/containers/xy-container/xy-container.component.d.ts +80 -0
  41. package/dist/lib/containers/xy-container/xy-container.module.d.ts +7 -0
  42. package/dist/lib/containers.d.ts +4 -0
  43. package/dist/lib/core/core-component.d.ts +6 -0
  44. package/dist/lib/core/generic-component.d.ts +3 -0
  45. package/dist/lib/core/index.d.ts +3 -0
  46. package/dist/lib/core/xy-component.d.ts +6 -0
  47. package/dist/lib/esm2015/components/area/area.component.js +75 -0
  48. package/dist/lib/esm2015/components/area/area.module.js +18 -0
  49. package/dist/lib/esm2015/components/axis/axis.component.js +109 -0
  50. package/dist/lib/esm2015/components/axis/axis.module.js +18 -0
  51. package/dist/lib/esm2015/components/brush/brush.component.js +83 -0
  52. package/dist/lib/esm2015/components/brush/brush.module.js +18 -0
  53. package/dist/lib/esm2015/components/crosshair/crosshair.component.js +81 -0
  54. package/dist/lib/esm2015/components/crosshair/crosshair.module.js +18 -0
  55. package/dist/lib/esm2015/components/donut/donut.component.js +77 -0
  56. package/dist/lib/esm2015/components/donut/donut.module.js +18 -0
  57. package/dist/lib/esm2015/components/free-brush/free-brush.component.js +83 -0
  58. package/dist/lib/esm2015/components/free-brush/free-brush.module.js +18 -0
  59. package/dist/lib/esm2015/components/graph/graph.component.js +157 -0
  60. package/dist/lib/esm2015/components/graph/graph.module.js +18 -0
  61. package/dist/lib/esm2015/components/grouped-bar/grouped-bar.component.js +83 -0
  62. package/dist/lib/esm2015/components/grouped-bar/grouped-bar.module.js +18 -0
  63. package/dist/lib/esm2015/components/line/line.component.js +77 -0
  64. package/dist/lib/esm2015/components/line/line.module.js +18 -0
  65. package/dist/lib/esm2015/components/sankey/sankey.component.js +139 -0
  66. package/dist/lib/esm2015/components/sankey/sankey.module.js +18 -0
  67. package/dist/lib/esm2015/components/scatter/scatter.component.js +83 -0
  68. package/dist/lib/esm2015/components/scatter/scatter.module.js +18 -0
  69. package/dist/lib/esm2015/components/stacked-bar/stacked-bar.component.js +83 -0
  70. package/dist/lib/esm2015/components/stacked-bar/stacked-bar.module.js +18 -0
  71. package/dist/lib/esm2015/components/timeline/timeline.component.js +87 -0
  72. package/dist/lib/esm2015/components/timeline/timeline.module.js +18 -0
  73. package/dist/lib/esm2015/components/tooltip/tooltip.component.js +49 -0
  74. package/dist/lib/esm2015/components/tooltip/tooltip.module.js +18 -0
  75. package/dist/lib/esm2015/components/topojson-map/topojson-map.component.js +111 -0
  76. package/dist/lib/esm2015/components/topojson-map/topojson-map.module.js +18 -0
  77. package/dist/lib/esm2015/components/xy-labels/xy-labels.component.js +91 -0
  78. package/dist/lib/esm2015/components/xy-labels/xy-labels.module.js +18 -0
  79. package/dist/lib/esm2015/components.js +43 -0
  80. package/dist/lib/esm2015/containers/single-container/single-container.component.js +71 -0
  81. package/dist/lib/esm2015/containers/single-container/single-container.module.js +17 -0
  82. package/dist/lib/esm2015/containers/xy-container/xy-container.component.js +159 -0
  83. package/dist/lib/esm2015/containers/xy-container/xy-container.module.js +17 -0
  84. package/dist/lib/esm2015/containers.js +5 -0
  85. package/dist/lib/esm2015/core/core-component.js +4 -0
  86. package/dist/lib/esm2015/core/generic-component.js +3 -0
  87. package/dist/lib/esm2015/core/index.js +4 -0
  88. package/dist/lib/esm2015/core/xy-component.js +4 -0
  89. package/dist/lib/esm2015/html-components/bullet-legend/bullet-legend.component.js +48 -0
  90. package/dist/lib/esm2015/html-components/bullet-legend/bullet-legend.module.js +18 -0
  91. package/dist/lib/esm2015/html-components/leaflet-flow-map/leaflet-flow-map.component.js +157 -0
  92. package/dist/lib/esm2015/html-components/leaflet-flow-map/leaflet-flow-map.module.js +17 -0
  93. package/dist/lib/esm2015/html-components/leaflet-map/leaflet-map.component.js +131 -0
  94. package/dist/lib/esm2015/html-components/leaflet-map/leaflet-map.module.js +17 -0
  95. package/dist/lib/esm2015/public-api.js +3 -0
  96. package/dist/lib/esm2015/unovis-angular.js +5 -0
  97. package/dist/lib/fesm2015/unovis-angular.js +2278 -0
  98. package/dist/lib/fesm2015/unovis-angular.js.map +1 -0
  99. package/dist/lib/html-components/bullet-legend/bullet-legend.component.d.ts +24 -0
  100. package/dist/lib/html-components/bullet-legend/bullet-legend.module.d.ts +7 -0
  101. package/dist/lib/html-components/leaflet-flow-map/leaflet-flow-map.component.d.ts +197 -0
  102. package/dist/lib/html-components/leaflet-flow-map/leaflet-flow-map.module.d.ts +7 -0
  103. package/dist/lib/html-components/leaflet-map/leaflet-map.component.d.ts +168 -0
  104. package/dist/lib/html-components/leaflet-map/leaflet-map.module.d.ts +7 -0
  105. package/dist/lib/package.json +26 -0
  106. package/dist/lib/public-api.d.ts +2 -0
  107. package/dist/lib/unovis-angular.d.ts +5 -0
  108. package/package.json +49 -0
@@ -0,0 +1,125 @@
1
+ import { AfterViewInit, SimpleChanges } from '@angular/core';
2
+ import { TopoJSONMap, TopoJSONMapConfigInterface, ContainerCore, VisEventType, VisEventCallback, NumericAccessor, ColorAccessor, StringAccessor, MapPointLabelPosition } from '@unovis/ts';
3
+ import { GeoProjection } from 'd3-geo';
4
+ import * as i0 from "@angular/core";
5
+ export declare class VisTopoJSONMapComponent<AreaDatum, PointDatum, LinkDatum> implements TopoJSONMapConfigInterface<AreaDatum, PointDatum, LinkDatum>, AfterViewInit {
6
+ /** Animation duration of the data update transitions in milliseconds. Default: `600` */
7
+ duration?: number;
8
+ /** Events configuration. An object containing properties in the following format:
9
+ *
10
+ * ```
11
+ * {
12
+ * \[selectorString]: {
13
+ * \[eventType]: callbackFunction
14
+ * }
15
+ * }
16
+ * ```
17
+ * e.g.:
18
+ * ```
19
+ * {
20
+ * \[Area.selectors.area]: {
21
+ * click: (d) => console.log("Clicked Area", d)
22
+ * }
23
+ * }
24
+ * ``` */
25
+ events?: {
26
+ [selector: string]: {
27
+ [eventType in VisEventType]?: VisEventCallback;
28
+ };
29
+ };
30
+ /** You can set every SVG and HTML visualization object to have a custom DOM attributes, which is useful
31
+ * when you want to do unit or end-to-end testing. Attributes configuration object has the following structure:
32
+ *
33
+ * ```
34
+ * {
35
+ * \[selectorString]: {
36
+ * \[attributeName]: attribute constant value or accessor function
37
+ * }
38
+ * }
39
+ * ```
40
+ * e.g.:
41
+ * ```
42
+ * {
43
+ * \[Area.selectors.area]: {
44
+ * "test-value": d => d.value
45
+ * }
46
+ * }
47
+ * ``` */
48
+ attributes?: {
49
+ [selector: string]: {
50
+ [attr: string]: string | number | boolean | ((datum: any) => string | number | boolean);
51
+ };
52
+ };
53
+ /** MapProjection (or D3's GeoProjection) instance. Default: `MapProjection.Mercator()` */
54
+ projection?: GeoProjection;
55
+ /** Map data in the TopoJSON topology format. Default: `undefined` */
56
+ topojson?: TopoJSON.Topology;
57
+ /** Name of the map features to be displayed, e.g. 'countries' or 'counties'. Default: `countries` */
58
+ mapFeatureName?: string;
59
+ /** Set initial map fit to points instead of topojson features. Default: `false` */
60
+ mapFitToPoints?: boolean;
61
+ /** Initial zoom level. Default: `undefined` */
62
+ zoomFactor?: number;
63
+ /** Disable pan / zoom interactions. Default: `false` */
64
+ disableZoom?: boolean;
65
+ /** Zoom extent. Default: `[1, 6]` */
66
+ zoomExtent?: number[];
67
+ /** Zoom animation duration. Default: `400` */
68
+ zoomDuration?: number;
69
+ /** Link width value or accessor function. Default: `d => d.width ?? 1` */
70
+ linkWidth?: NumericAccessor<LinkDatum>;
71
+ /** Link color value or accessor function. Default: `d => d.color ?? null` */
72
+ linkColor?: ColorAccessor<LinkDatum>;
73
+ /** Link cursor value or accessor function. Default: `null` */
74
+ linkCursor?: StringAccessor<AreaDatum>;
75
+ /** Link id accessor function. Default: `d => d.id` */
76
+ linkId?: StringAccessor<LinkDatum>;
77
+ /** Link source accessor function. Default: `d => d.source` */
78
+ linkSource?: ((l: LinkDatum) => number | string | PointDatum);
79
+ /** Link target accessor function. Default: `d => d.target` */
80
+ linkTarget?: ((l: LinkDatum) => number | string | PointDatum);
81
+ /** Area id accessor function corresponding to the feature id from TopoJSON. Default: `d => d.id ?? ''` */
82
+ areaId?: StringAccessor<AreaDatum>;
83
+ /** Area color value or accessor function. Default: `d => d.color ?? null` */
84
+ areaColor?: ColorAccessor<AreaDatum>;
85
+ /** Area cursor value or accessor function. Default: `null` */
86
+ areaCursor?: StringAccessor<AreaDatum>;
87
+ /** Point color accessor. Default: `d => d.color ?? null` */
88
+ pointColor?: ColorAccessor<PointDatum>;
89
+ /** Point radius accessor. Default: `d => d.radius ?? 8` */
90
+ pointRadius?: NumericAccessor<PointDatum>;
91
+ /** Point stroke width accessor. Default: `d => d.strokeWidth ?? null` */
92
+ pointStrokeWidth?: NumericAccessor<PointDatum>;
93
+ /** Point cursor constant value or accessor function. Default: `null` */
94
+ pointCursor?: StringAccessor<AreaDatum>;
95
+ /** Point longitude accessor function. Default: `d => d.longitude ?? null` */
96
+ longitude?: NumericAccessor<PointDatum>;
97
+ /** Point latitude accessor function. Default: `d => d.latitude ?? null` */
98
+ latitude?: NumericAccessor<PointDatum>;
99
+ /** Point label accessor function. Default: `undefined` */
100
+ pointLabel?: StringAccessor<PointDatum>;
101
+ /** Point label position. Default: `Position.Bottom` */
102
+ pointLabelPosition?: MapPointLabelPosition;
103
+ /** Point color brightness ratio for switching between dark and light text label color. Default: `0.65` */
104
+ pointLabelTextBrightnessRatio?: number;
105
+ /** Point id accessor function. Default: `d => d.id` */
106
+ pointId?: ((d: PointDatum, i: number) => string);
107
+ /** Enables blur and blending between neighbouring points. Default: `false` */
108
+ heatmapMode?: boolean;
109
+ /** Heatmap blur filter stdDeviation value. Default: `10` */
110
+ heatmapModeBlurStdDeviation?: number;
111
+ /** Zoom level at which the heatmap mode will be disabled. Default: `2.5` */
112
+ heatmapModeZoomLevelThreshold?: number;
113
+ data: {
114
+ areas?: AreaDatum[];
115
+ points?: PointDatum[];
116
+ links?: LinkDatum[];
117
+ };
118
+ component: TopoJSONMap<AreaDatum, PointDatum, LinkDatum> | undefined;
119
+ componentContainer: ContainerCore | undefined;
120
+ ngAfterViewInit(): void;
121
+ ngOnChanges(changes: SimpleChanges): void;
122
+ private getConfig;
123
+ static ɵfac: i0.ɵɵFactoryDeclaration<VisTopoJSONMapComponent<any, any, any>, never>;
124
+ static ɵcmp: i0.ɵɵComponentDeclaration<VisTopoJSONMapComponent<any, any, any>, "vis-topojson-map", never, { "duration": "duration"; "events": "events"; "attributes": "attributes"; "projection": "projection"; "topojson": "topojson"; "mapFeatureName": "mapFeatureName"; "mapFitToPoints": "mapFitToPoints"; "zoomFactor": "zoomFactor"; "disableZoom": "disableZoom"; "zoomExtent": "zoomExtent"; "zoomDuration": "zoomDuration"; "linkWidth": "linkWidth"; "linkColor": "linkColor"; "linkCursor": "linkCursor"; "linkId": "linkId"; "linkSource": "linkSource"; "linkTarget": "linkTarget"; "areaId": "areaId"; "areaColor": "areaColor"; "areaCursor": "areaCursor"; "pointColor": "pointColor"; "pointRadius": "pointRadius"; "pointStrokeWidth": "pointStrokeWidth"; "pointCursor": "pointCursor"; "longitude": "longitude"; "latitude": "latitude"; "pointLabel": "pointLabel"; "pointLabelPosition": "pointLabelPosition"; "pointLabelTextBrightnessRatio": "pointLabelTextBrightnessRatio"; "pointId": "pointId"; "heatmapMode": "heatmapMode"; "heatmapModeBlurStdDeviation": "heatmapModeBlurStdDeviation"; "heatmapModeZoomLevelThreshold": "heatmapModeZoomLevelThreshold"; "data": "data"; }, {}, never, never>;
125
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./topojson-map.component";
3
+ export declare class VisTopoJSONMapModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<VisTopoJSONMapModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<VisTopoJSONMapModule, [typeof i1.VisTopoJSONMapComponent], never, [typeof i1.VisTopoJSONMapComponent]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<VisTopoJSONMapModule>;
7
+ }
@@ -0,0 +1,107 @@
1
+ import { AfterViewInit, SimpleChanges } from '@angular/core';
2
+ import { XYLabels, XYLabelsConfigInterface, ContainerCore, VisEventType, VisEventCallback, NumericAccessor, ColorAccessor, ContinuousScale, GenericAccessor, XYLabelPositioning, StringAccessor, XYLabel } from '@unovis/ts';
3
+ import * as i0 from "@angular/core";
4
+ export declare class VisXYLabelsComponent<Datum> implements XYLabelsConfigInterface<Datum>, AfterViewInit {
5
+ /** Animation duration of the data update transitions in milliseconds. Default: `600` */
6
+ duration?: number;
7
+ /** Events configuration. An object containing properties in the following format:
8
+ *
9
+ * ```
10
+ * {
11
+ * \[selectorString]: {
12
+ * \[eventType]: callbackFunction
13
+ * }
14
+ * }
15
+ * ```
16
+ * e.g.:
17
+ * ```
18
+ * {
19
+ * \[Area.selectors.area]: {
20
+ * click: (d) => console.log("Clicked Area", d)
21
+ * }
22
+ * }
23
+ * ``` */
24
+ events?: {
25
+ [selector: string]: {
26
+ [eventType in VisEventType]?: VisEventCallback;
27
+ };
28
+ };
29
+ /** You can set every SVG and HTML visualization object to have a custom DOM attributes, which is useful
30
+ * when you want to do unit or end-to-end testing. Attributes configuration object has the following structure:
31
+ *
32
+ * ```
33
+ * {
34
+ * \[selectorString]: {
35
+ * \[attributeName]: attribute constant value or accessor function
36
+ * }
37
+ * }
38
+ * ```
39
+ * e.g.:
40
+ * ```
41
+ * {
42
+ * \[Area.selectors.area]: {
43
+ * "test-value": d => d.value
44
+ * }
45
+ * }
46
+ * ``` */
47
+ attributes?: {
48
+ [selector: string]: {
49
+ [attr: string]: string | number | boolean | ((datum: any) => string | number | boolean);
50
+ };
51
+ };
52
+ /** Accessor function for getting the values along the X axis. Default: `undefined` */
53
+ x: NumericAccessor<Datum>;
54
+ /** Single Y accessor function. Default: `undefined` */
55
+ y: NumericAccessor<Datum>;
56
+ /** Accessor function for getting the unique data record id. Used for more persistent data updates. Default: `(d, i) => d.id ?? i` */
57
+ id?: ((d: Datum, i?: number, ...rest: any[]) => string);
58
+ /** Component color accessor function. Default: `d => d.color` */
59
+ color?: ColorAccessor<Datum | Datum[]>;
60
+ /** Scale for X dimension, e.g. Scale.scaleLinear(). If you set xScale you'll be responsible for setting it's `domain` and `range` as well.
61
+ * Only continuous scales are supported.
62
+ * Default: `undefined` */
63
+ xScale?: ContinuousScale;
64
+ /** Scale for Y dimension, e.g. Scale.scaleLinear(). If you set yScale you'll be responsible for setting it's `domain` and `range` as well.
65
+ * Only continuous scales are supported.
66
+ * Default: `undefined` */
67
+ yScale?: ContinuousScale;
68
+ /** Identifies whether the component should be excluded from overall X and Y domain calculations or not.
69
+ * This property can be useful when you want pass individual data to a component and you don't want it to affect
70
+ * the scales of the chart.
71
+ * Default: `false` */
72
+ excludeFromDomainCalculation?: boolean;
73
+ /** Defines how to position the label horizontally: in data space or in screen space. Default: `LabelPositioning.DataSpace` */
74
+ xPositioning?: GenericAccessor<XYLabelPositioning, Datum>;
75
+ /** Defines how to position the label vertically: in data space or in screen space. Default: `LabelPositioning.DataSpace` */
76
+ yPositioning?: GenericAccessor<XYLabelPositioning, Datum>;
77
+ /** Font size accessor function or constant value in pixels. Default: `12` */
78
+ labelFontSize?: NumericAccessor<Datum>;
79
+ /** Label accessor function or string. Default: `undefined` */
80
+ label?: StringAccessor<Datum>;
81
+ /** Label color. Default: `undefined` */
82
+ backgroundColor?: ColorAccessor<Datum>;
83
+ /** Optional label cursor. Default: `null` */
84
+ cursor?: StringAccessor<Datum>;
85
+ /** Label color brightness ratio for switching between dark and light text label color. Default: `0.65` */
86
+ labelTextBrightnessRatio?: number;
87
+ /** Enable label clustering. Default: `true` */
88
+ clustering?: boolean;
89
+ /** Label accessor for clusters. Default: `undefined` */
90
+ clusterLabel?: StringAccessor<XYLabel<Datum>[]>;
91
+ /** Font size accessor for clusters, the value is in pixels. Default: `14` */
92
+ clusterFontSize?: NumericAccessor<XYLabel<Datum>[]>;
93
+ /** Background color accessor for clusters. Default: `undefined` */
94
+ clusterBackgroundColor?: ColorAccessor<XYLabel<Datum>[]>;
95
+ /** Optional cluster cursor. Default: `null` */
96
+ clusterCursor?: StringAccessor<XYLabel<Datum>[]>;
97
+ /** Cluster label color accessor function. Default: `null` */
98
+ clusterLabelColor?: ColorAccessor<XYLabel<Datum>[]>;
99
+ data: Datum[];
100
+ component: XYLabels<Datum> | undefined;
101
+ componentContainer: ContainerCore | undefined;
102
+ ngAfterViewInit(): void;
103
+ ngOnChanges(changes: SimpleChanges): void;
104
+ private getConfig;
105
+ static ɵfac: i0.ɵɵFactoryDeclaration<VisXYLabelsComponent<any>, never>;
106
+ static ɵcmp: i0.ɵɵComponentDeclaration<VisXYLabelsComponent<any>, "vis-xy-labels", never, { "duration": "duration"; "events": "events"; "attributes": "attributes"; "x": "x"; "y": "y"; "id": "id"; "color": "color"; "xScale": "xScale"; "yScale": "yScale"; "excludeFromDomainCalculation": "excludeFromDomainCalculation"; "xPositioning": "xPositioning"; "yPositioning": "yPositioning"; "labelFontSize": "labelFontSize"; "label": "label"; "backgroundColor": "backgroundColor"; "cursor": "cursor"; "labelTextBrightnessRatio": "labelTextBrightnessRatio"; "clustering": "clustering"; "clusterLabel": "clusterLabel"; "clusterFontSize": "clusterFontSize"; "clusterBackgroundColor": "clusterBackgroundColor"; "clusterCursor": "clusterCursor"; "clusterLabelColor": "clusterLabelColor"; "data": "data"; }, {}, never, never>;
107
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./xy-labels.component";
3
+ export declare class VisXYLabelsModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<VisXYLabelsModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<VisXYLabelsModule, [typeof i1.VisXYLabelsComponent], never, [typeof i1.VisXYLabelsComponent]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<VisXYLabelsModule>;
7
+ }
@@ -0,0 +1,39 @@
1
+ export * from './core';
2
+ export { VisLineComponent } from './components/line/line.component';
3
+ export { VisLineModule } from './components/line/line.module';
4
+ export { VisAreaComponent } from './components/area/area.component';
5
+ export { VisAreaModule } from './components/area/area.module';
6
+ export { VisAxisComponent } from './components/axis/axis.component';
7
+ export { VisAxisModule } from './components/axis/axis.module';
8
+ export { VisBrushComponent } from './components/brush/brush.component';
9
+ export { VisBrushModule } from './components/brush/brush.module';
10
+ export { VisFreeBrushComponent } from './components/free-brush/free-brush.component';
11
+ export { VisFreeBrushModule } from './components/free-brush/free-brush.module';
12
+ export { VisCrosshairComponent } from './components/crosshair/crosshair.component';
13
+ export { VisCrosshairModule } from './components/crosshair/crosshair.module';
14
+ export { VisDonutComponent } from './components/donut/donut.component';
15
+ export { VisDonutModule } from './components/donut/donut.module';
16
+ export { VisGroupedBarComponent } from './components/grouped-bar/grouped-bar.component';
17
+ export { VisGroupedBarModule } from './components/grouped-bar/grouped-bar.module';
18
+ export { VisScatterComponent } from './components/scatter/scatter.component';
19
+ export { VisScatterModule } from './components/scatter/scatter.module';
20
+ export { VisStackedBarComponent } from './components/stacked-bar/stacked-bar.component';
21
+ export { VisStackedBarModule } from './components/stacked-bar/stacked-bar.module';
22
+ export { VisTimelineComponent } from './components/timeline/timeline.component';
23
+ export { VisTimelineModule } from './components/timeline/timeline.module';
24
+ export { VisXYLabelsComponent } from './components/xy-labels/xy-labels.component';
25
+ export { VisXYLabelsModule } from './components/xy-labels/xy-labels.module';
26
+ export { VisTopoJSONMapComponent } from './components/topojson-map/topojson-map.component';
27
+ export { VisTopoJSONMapModule } from './components/topojson-map/topojson-map.module';
28
+ export { VisSankeyComponent } from './components/sankey/sankey.component';
29
+ export { VisSankeyModule } from './components/sankey/sankey.module';
30
+ export { VisGraphComponent } from './components/graph/graph.component';
31
+ export { VisGraphModule } from './components/graph/graph.module';
32
+ export { VisLeafletMapComponent } from './html-components/leaflet-map/leaflet-map.component';
33
+ export { VisLeafletMapModule } from './html-components/leaflet-map/leaflet-map.module';
34
+ export { VisLeafletFlowMapComponent } from './html-components/leaflet-flow-map/leaflet-flow-map.component';
35
+ export { VisLeafletFlowMapModule } from './html-components/leaflet-flow-map/leaflet-flow-map.module';
36
+ export { VisBulletLegendComponent } from './html-components/bullet-legend/bullet-legend.component';
37
+ export { VisBulletLegendModule } from './html-components/bullet-legend/bullet-legend.module';
38
+ export { VisTooltipComponent } from './components/tooltip/tooltip.component';
39
+ export { VisTooltipModule } from './components/tooltip/tooltip.module';
@@ -0,0 +1,26 @@
1
+ import { ElementRef, AfterViewInit, OnDestroy, SimpleChanges } from '@angular/core';
2
+ import { ComponentCore, SingleContainer, SingleContainerConfigInterface, Spacing } from '@unovis/ts';
3
+ import { VisCoreComponent } from '../../core';
4
+ import { VisTooltipComponent } from '../../components/tooltip/tooltip.component';
5
+ import * as i0 from "@angular/core";
6
+ export declare class VisSingleContainerComponent<Data = unknown, C extends ComponentCore<Data> = ComponentCore<Data>> implements AfterViewInit, OnDestroy {
7
+ containerRef: ElementRef;
8
+ visComponent: VisCoreComponent;
9
+ tooltipComponent: VisTooltipComponent;
10
+ /** Width in pixels. By default, Container automatically fits to the size of the parent element. Default: `undefined`. */
11
+ width?: number;
12
+ /** Height in pixels. By default, Container automatically fits to the size of the parent element. Default: `undefined`. */
13
+ height?: number;
14
+ /** Margins. Default: `{ top: 0, bottom: 0, left: 0, right: 0 }` */
15
+ margin?: Spacing;
16
+ /** Animation duration of all the components within the container. Default: `undefined` */
17
+ duration?: number;
18
+ data?: Data;
19
+ chart: SingleContainer<Data>;
20
+ ngAfterViewInit(): void;
21
+ ngOnChanges(changes: SimpleChanges): void;
22
+ getConfig(): SingleContainerConfigInterface<Data>;
23
+ ngOnDestroy(): void;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<VisSingleContainerComponent<any, any>, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<VisSingleContainerComponent<any, any>, "vis-single-container", never, { "width": "width"; "height": "height"; "margin": "margin"; "duration": "duration"; "data": "data"; }, {}, ["visComponent", "tooltipComponent"], ["*"]>;
26
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./single-container.component";
3
+ export declare class VisSingleContainerModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<VisSingleContainerModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<VisSingleContainerModule, [typeof i1.VisSingleContainerComponent], never, [typeof i1.VisSingleContainerComponent]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<VisSingleContainerModule>;
7
+ }
@@ -0,0 +1,80 @@
1
+ import { AfterContentInit, AfterViewInit, ElementRef, OnDestroy, QueryList, SimpleChanges } from '@angular/core';
2
+ import { ContinuousScale, Direction, Spacing, XYContainer, XYContainerConfigInterface } from '@unovis/ts';
3
+ import { VisXYComponent } from '../../core';
4
+ import { VisTooltipComponent } from '../../components/tooltip/tooltip.component';
5
+ import * as i0 from "@angular/core";
6
+ export declare class VisXYContainerComponent<Datum> implements AfterViewInit, AfterContentInit, OnDestroy {
7
+ containerRef: ElementRef;
8
+ visComponents: QueryList<VisXYComponent>;
9
+ tooltipComponent: VisTooltipComponent;
10
+ /** Width in pixels. By default, Container automatically fits to the size of the parent element. Default: `undefined`. */
11
+ width?: number;
12
+ /** Height in pixels. By default, Container automatically fits to the size of the parent element. Default: `undefined`. */
13
+ height?: number;
14
+ /** Scale for X dimension, e.g. Scale.scaleLinear(). Default: `Scale.scaleLinear()` */
15
+ xScale?: ContinuousScale;
16
+ /** Scale domain (data extent) for X dimension. By default this value is calculated automatically based on data. */
17
+ xDomain?: [number | undefined, number | undefined];
18
+ /** Constraint the minimum value of the X scale domain. Useful when the data is plotted along the X axis.
19
+ * For example, imagine that you have a chart with dynamic data that has negative values. When values are small
20
+ * (let's say in the range of [-0.01, 0]), you might still want the chart to display some meaningful value range (e.g. [-1, 0]). That can
21
+ * be achieved by setting `xDomainMinConstraint` to `[undefined, -1]`. In addition to that, if you want to cut off the
22
+ * values that are too low (let's say lower than -100), you can set the constraint to `[-100, -1]`
23
+ * Default: `undefined` */
24
+ xDomainMinConstraint?: [number | undefined, number | undefined];
25
+ /** Constraint the minimum value of the X scale domain. Useful when the data is plotted along the X axis.
26
+ * For example, imagine that you have a chart with dynamic data. When values are small
27
+ * (let's say < 0.01), you might still want the chart to display some meaningful value range (e.g. [0, 1]). That can
28
+ * be achieved by setting `xDomainMaxConstraint` to `[1, undefined]`. In addition to that, if you want to cut off the
29
+ * values that are too high (let's say higher than 100), you can set the constraint to `[1, 100]`
30
+ * Default: `undefined` */
31
+ xDomainMaxConstraint?: [number | undefined, number | undefined];
32
+ /** Force set the X scale range (in the screen space). By default the range is calculated automatically based on the
33
+ * chart's set up */
34
+ xRange?: [number, number];
35
+ /** Scale for Y dimension, e.g. Scale.ScaleLinear. Default: `Scale.ScaleLinear()` */
36
+ yScale?: ContinuousScale;
37
+ /** Scale domain (data extent) for Y dimension. By default this value is calculated automatically based on data. */
38
+ yDomain?: [number | undefined, number | undefined];
39
+ /** Constraint the minimum value of the Y scale domain.
40
+ * For example, imagine that you have a chart with dynamic data that has negative values. When values are small
41
+ * (let's say in the range of [-0.01, 0]), you might still want the chart to display some meaningful value range (e.g. [-1, 0]). That can
42
+ * be achieved by setting `yDomainMinConstraint` to `[undefined, -1]`. In addition to that, if you want to cut off the
43
+ * values that are too low (let's say lower than -100), you can set the constraint to `[-100, -1]`
44
+ * Default: `undefined` */
45
+ yDomainMinConstraint?: [number | undefined, number | undefined];
46
+ /** Constraint the minimum value of the Y scale domain.
47
+ * For example, imagine that you have a chart with dynamic data. When values are small
48
+ * (let's say < 0.01), you might still want the chart to display some meaningful value range (e.g. [0, 1]). That can
49
+ * be achieved by setting `yDomainMaxConstraint` to `[1, undefined]`. In addition to that, if you want to cut off the
50
+ * values that are too high (let's say higher than 100), you can set the constraint to `[1, 100]`
51
+ * Default: `undefined` */
52
+ yDomainMaxConstraint?: [number | undefined, number | undefined];
53
+ /** Force set the Y scale range (in the screen space). By default the range is calculated automatically based on the
54
+ * chart's set up */
55
+ yRange?: [number, number];
56
+ /** Y Axis direction. Default: `Direction.North` */
57
+ yDirection?: Direction.South | Direction.North | string;
58
+ /** Animation duration of all the components within the container. Default: `undefined` */
59
+ duration?: number;
60
+ /** Margins. Default: `{ top: 0, bottom: 0, left: 0, right: 0 }` */
61
+ margin?: Spacing;
62
+ /** Padding. Default: `{ top: 0, bottom: 0, left: 0, right: 0 }` */
63
+ padding?: Spacing;
64
+ /** Sets the Y scale domain based on the current X scale domain (not the whole dataset). Default: `false` */
65
+ scaleByDomain?: boolean;
66
+ /** Enables automatic calculation of chart margins based on the size of the axes. Default: `true` */
67
+ autoMargin?: boolean;
68
+ /** Data to be passed to all child components. But if `data` is `undefined` it'll to be passed allowing components to
69
+ * have their individual data. Default: `undefined` */
70
+ data?: Datum[] | undefined;
71
+ chart: XYContainer<Datum>;
72
+ ngAfterViewInit(): void;
73
+ ngAfterContentInit(): void;
74
+ ngOnChanges(changes: SimpleChanges): void;
75
+ getConfig(): XYContainerConfigInterface<Datum>;
76
+ passContainerReferenceToChildren(): void;
77
+ ngOnDestroy(): void;
78
+ static ɵfac: i0.ɵɵFactoryDeclaration<VisXYContainerComponent<any>, never>;
79
+ static ɵcmp: i0.ɵɵComponentDeclaration<VisXYContainerComponent<any>, "vis-xy-container", never, { "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"; }, {}, ["tooltipComponent", "visComponents"], ["*"]>;
80
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./xy-container.component";
3
+ export declare class VisXYContainerModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<VisXYContainerModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<VisXYContainerModule, [typeof i1.VisXYContainerComponent], never, [typeof i1.VisXYContainerComponent]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<VisXYContainerModule>;
7
+ }
@@ -0,0 +1,4 @@
1
+ export { VisXYContainerComponent } from './containers/xy-container/xy-container.component';
2
+ export { VisXYContainerModule } from './containers/xy-container/xy-container.module';
3
+ export { VisSingleContainerComponent } from './containers/single-container/single-container.component';
4
+ export { VisSingleContainerModule } from './containers/single-container/single-container.module';
@@ -0,0 +1,6 @@
1
+ import { ComponentCore, ContainerCore } from '@unovis/ts';
2
+ import { VisGenericComponent } from './generic-component';
3
+ export declare class VisCoreComponent extends VisGenericComponent {
4
+ component: ComponentCore<any>;
5
+ componentContainer: ContainerCore;
6
+ }
@@ -0,0 +1,3 @@
1
+ export declare class VisGenericComponent {
2
+ component: any;
3
+ }
@@ -0,0 +1,3 @@
1
+ export { VisGenericComponent } from './generic-component';
2
+ export { VisCoreComponent } from './core-component';
3
+ export { VisXYComponent } from './xy-component';
@@ -0,0 +1,6 @@
1
+ import { XYComponentCore, XYContainer } from '@unovis/ts';
2
+ import { VisCoreComponent } from './core-component';
3
+ export declare class VisXYComponent extends VisCoreComponent {
4
+ component: XYComponentCore<any>;
5
+ componentContainer: XYContainer<any>;
6
+ }
@@ -0,0 +1,75 @@
1
+ // !!! This code was automatically generated. You should not change it !!!
2
+ import { Component, Input } from '@angular/core';
3
+ import { Area, } from '@unovis/ts';
4
+ import { VisXYComponent } from '../../core';
5
+ import * as i0 from "@angular/core";
6
+ export class VisAreaComponent {
7
+ ngAfterViewInit() {
8
+ var _a;
9
+ this.component = new Area(this.getConfig());
10
+ if (this.data) {
11
+ this.component.setData(this.data);
12
+ (_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
13
+ }
14
+ }
15
+ ngOnChanges(changes) {
16
+ var _a, _b, _c;
17
+ if (changes.data) {
18
+ (_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
19
+ }
20
+ (_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
21
+ (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
22
+ }
23
+ getConfig() {
24
+ const { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, curveType, baseline, opacity, cursor, minHeight1Px } = this;
25
+ const config = { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, curveType, baseline, opacity, cursor, minHeight1Px };
26
+ const keys = Object.keys(config);
27
+ keys.forEach(key => { if (config[key] === undefined)
28
+ delete config[key]; });
29
+ return config;
30
+ }
31
+ }
32
+ VisAreaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: VisAreaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
33
+ VisAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: VisAreaComponent, selector: "vis-area", inputs: { duration: "duration", events: "events", attributes: "attributes", x: "x", y: "y", id: "id", color: "color", xScale: "xScale", yScale: "yScale", excludeFromDomainCalculation: "excludeFromDomainCalculation", curveType: "curveType", baseline: "baseline", opacity: "opacity", cursor: "cursor", minHeight1Px: "minHeight1Px", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisAreaComponent }], usesOnChanges: true, ngImport: i0, template: '', isInline: true });
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: VisAreaComponent, decorators: [{
35
+ type: Component,
36
+ args: [{
37
+ selector: 'vis-area',
38
+ template: '',
39
+ // eslint-disable-next-line no-use-before-define
40
+ providers: [{ provide: VisXYComponent, useExisting: VisAreaComponent }],
41
+ }]
42
+ }], propDecorators: { duration: [{
43
+ type: Input
44
+ }], events: [{
45
+ type: Input
46
+ }], attributes: [{
47
+ type: Input
48
+ }], x: [{
49
+ type: Input
50
+ }], y: [{
51
+ type: Input
52
+ }], id: [{
53
+ type: Input
54
+ }], color: [{
55
+ type: Input
56
+ }], xScale: [{
57
+ type: Input
58
+ }], yScale: [{
59
+ type: Input
60
+ }], excludeFromDomainCalculation: [{
61
+ type: Input
62
+ }], curveType: [{
63
+ type: Input
64
+ }], baseline: [{
65
+ type: Input
66
+ }], opacity: [{
67
+ type: Input
68
+ }], cursor: [{
69
+ type: Input
70
+ }], minHeight1Px: [{
71
+ type: Input
72
+ }], data: [{
73
+ type: Input
74
+ }] } });
75
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXJlYS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvY29tcG9uZW50cy9hcmVhL2FyZWEuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDBFQUEwRTtBQUMxRSxPQUFPLEVBQUUsU0FBUyxFQUFpQixLQUFLLEVBQWlCLE1BQU0sZUFBZSxDQUFBO0FBQzlFLE9BQU8sRUFDTCxJQUFJLEdBVUwsTUFBTSxZQUFZLENBQUE7QUFDbkIsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLFlBQVksQ0FBQTs7QUFRM0MsTUFBTSxPQUFPLGdCQUFnQjtJQXFHM0IsZUFBZTs7UUFDYixJQUFJLENBQUMsU0F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biAgICB0aGlzLmNvbXBvbmVudD8uc2V0Q29uZmlnKHRoaXMuZ2V0Q29uZmlnKCkpXG4gICAgdGhpcy5jb21wb25lbnRDb250YWluZXI/LnJlbmRlcigpXG4gIH1cblxuICBwcml2YXRlIGdldENvbmZpZyAoKTogQXJlYUNvbmZpZ0ludGVyZmFjZTxEYXR1bT4ge1xuICAgIGNvbnN0IHsgZHVyYXRpb24sIGV2ZW50cywgYXR0cmlidXRlcywgeCwgeSwgaWQsIGNvbG9yLCB4U2NhbGUsIHlTY2FsZSwgZXhjbHVkZUZyb21Eb21haW5DYWxjdWxhdGlvbiwgY3VydmVUeXBlLCBiYXNlbGluZSwgb3BhY2l0eSwgY3Vyc29yLCBtaW5IZWlnaHQxUHggfSA9IHRoaXNcbiAgICBjb25zdCBjb25maWcgPSB7IGR1cmF0aW9uLCBldmVudHMsIGF0dHJpYnV0ZXMsIHgsIHksIGlkLCBjb2xvciwgeFNjYWxlLCB5U2NhbGUsIGV4Y2x1ZGVGcm9tRG9tYWluQ2FsY3VsYXRpb24sIGN1cnZlVHlwZSwgYmFzZWxpbmUsIG9wYWNpdHksIGN1cnNvciwgbWluSGVpZ2h0MVB4IH1cbiAgICBjb25zdCBrZXlzID0gT2JqZWN0LmtleXMoY29uZmlnKSBhcyAoa2V5b2YgQXJlYUNvbmZpZ0ludGVyZmFjZTxEYXR1bT4pW11cbiAgICBrZXlzLmZvckVhY2goa2V5ID0+IHsgaWYgKGNvbmZpZ1trZXldID09PSB1bmRlZmluZWQpIGRlbGV0ZSBjb25maWdba2V5XSB9KVxuXG4gICAgcmV0dXJuIGNvbmZpZ1xuICB9XG59XG4iXX0=
@@ -0,0 +1,18 @@
1
+ // !!! This code was automatically generated. You should not change it !!!
2
+ import { NgModule } from '@angular/core';
3
+ import { VisAreaComponent } from './area.component';
4
+ import * as i0 from "@angular/core";
5
+ export class VisAreaModule {
6
+ }
7
+ VisAreaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: VisAreaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
+ VisAreaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: VisAreaModule, declarations: [VisAreaComponent], exports: [VisAreaComponent] });
9
+ VisAreaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: VisAreaModule, imports: [[]] });
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: VisAreaModule, decorators: [{
11
+ type: NgModule,
12
+ args: [{
13
+ imports: [],
14
+ declarations: [VisAreaComponent],
15
+ exports: [VisAreaComponent],
16
+ }]
17
+ }] });
18
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXJlYS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvY29tcG9uZW50cy9hcmVhL2FyZWEubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDBFQUEwRTtBQUMxRSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFBO0FBQ3hDLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLGtCQUFrQixDQUFBOztBQU9uRCxNQUFNLE9BQU8sYUFBYTs7MkdBQWIsYUFBYTs0R0FBYixhQUFhLGlCQUhULGdCQUFnQixhQUNyQixnQkFBZ0I7NEdBRWYsYUFBYSxZQUpmLEVBQUU7NEZBSUEsYUFBYTtrQkFMekIsUUFBUTttQkFBQztvQkFDUixPQUFPLEVBQUUsRUFBRTtvQkFDWCxZQUFZLEVBQUUsQ0FBQyxnQkFBZ0IsQ0FBQztvQkFDaEMsT0FBTyxFQUFFLENBQUMsZ0JBQWdCLENBQUM7aUJBQzVCIiwic291cmNlc0N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