@unovis/angular 1.7.0-Phoenix.0 → 1.7.0-csp.0
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/README.md +4 -0
- package/dist/lib/README.md +4 -0
- package/dist/lib/fesm2022/unovis-angular.mjs +6639 -0
- package/dist/lib/fesm2022/unovis-angular.mjs.map +1 -0
- package/dist/lib/index.d.ts +3878 -0
- package/package.json +47 -40
- package/dist/lib/bundles/unovis-angular.umd.js +0 -3546
- package/dist/lib/bundles/unovis-angular.umd.js.map +0 -1
- package/dist/lib/components/annotations/annotations.component.d.ts +0 -73
- package/dist/lib/components/annotations/annotations.module.d.ts +0 -7
- package/dist/lib/components/area/area.component.d.ts +0 -96
- package/dist/lib/components/area/area.module.d.ts +0 -7
- package/dist/lib/components/axis/axis.component.d.ts +0 -123
- package/dist/lib/components/axis/axis.module.d.ts +0 -7
- package/dist/lib/components/brush/brush.component.d.ts +0 -83
- package/dist/lib/components/brush/brush.module.d.ts +0 -7
- package/dist/lib/components/chord-diagram/chord-diagram.component.d.ts +0 -91
- package/dist/lib/components/chord-diagram/chord-diagram.module.d.ts +0 -7
- package/dist/lib/components/crosshair/crosshair.component.d.ts +0 -124
- package/dist/lib/components/crosshair/crosshair.module.d.ts +0 -7
- package/dist/lib/components/donut/donut.component.d.ts +0 -99
- package/dist/lib/components/donut/donut.module.d.ts +0 -7
- package/dist/lib/components/free-brush/free-brush.component.d.ts +0 -85
- package/dist/lib/components/free-brush/free-brush.module.d.ts +0 -7
- package/dist/lib/components/graph/graph.component.d.ts +0 -296
- package/dist/lib/components/graph/graph.module.d.ts +0 -7
- package/dist/lib/components/grouped-bar/grouped-bar.component.d.ts +0 -101
- package/dist/lib/components/grouped-bar/grouped-bar.module.d.ts +0 -7
- package/dist/lib/components/line/line.component.d.ts +0 -102
- package/dist/lib/components/line/line.module.d.ts +0 -7
- package/dist/lib/components/nested-donut/nested-donut.component.d.ts +0 -107
- package/dist/lib/components/nested-donut/nested-donut.module.d.ts +0 -7
- package/dist/lib/components/plotband/plotband.component.d.ts +0 -81
- package/dist/lib/components/plotband/plotband.module.d.ts +0 -7
- package/dist/lib/components/plotline/plotline.component.d.ts +0 -87
- package/dist/lib/components/plotline/plotline.module.d.ts +0 -7
- package/dist/lib/components/sankey/sankey.component.d.ts +0 -167
- package/dist/lib/components/sankey/sankey.module.d.ts +0 -7
- package/dist/lib/components/scatter/scatter.component.d.ts +0 -110
- package/dist/lib/components/scatter/scatter.module.d.ts +0 -7
- package/dist/lib/components/stacked-bar/stacked-bar.component.d.ts +0 -103
- package/dist/lib/components/stacked-bar/stacked-bar.module.d.ts +0 -7
- package/dist/lib/components/timeline/timeline.component.d.ts +0 -153
- package/dist/lib/components/timeline/timeline.module.d.ts +0 -7
- package/dist/lib/components/tooltip/tooltip.component.d.ts +0 -73
- package/dist/lib/components/tooltip/tooltip.module.d.ts +0 -7
- package/dist/lib/components/topojson-map/topojson-map.component.d.ts +0 -125
- package/dist/lib/components/topojson-map/topojson-map.module.d.ts +0 -7
- package/dist/lib/components/xy-labels/xy-labels.component.d.ts +0 -107
- package/dist/lib/components/xy-labels/xy-labels.module.d.ts +0 -7
- package/dist/lib/components.d.ts +0 -51
- package/dist/lib/containers/single-container/single-container.component.d.ts +0 -46
- package/dist/lib/containers/single-container/single-container.module.d.ts +0 -7
- package/dist/lib/containers/xy-container/xy-container.component.d.ts +0 -101
- package/dist/lib/containers/xy-container/xy-container.module.d.ts +0 -7
- package/dist/lib/containers.d.ts +0 -4
- package/dist/lib/core/core-component.d.ts +0 -6
- package/dist/lib/core/generic-component.d.ts +0 -3
- package/dist/lib/core/index.d.ts +0 -3
- package/dist/lib/core/xy-component.d.ts +0 -6
- package/dist/lib/esm2015/components/annotations/annotations.component.js +0 -43
- package/dist/lib/esm2015/components/annotations/annotations.module.js +0 -18
- package/dist/lib/esm2015/components/area/area.component.js +0 -77
- package/dist/lib/esm2015/components/area/area.module.js +0 -18
- package/dist/lib/esm2015/components/axis/axis.component.js +0 -109
- package/dist/lib/esm2015/components/axis/axis.module.js +0 -18
- package/dist/lib/esm2015/components/brush/brush.component.js +0 -69
- package/dist/lib/esm2015/components/brush/brush.module.js +0 -18
- package/dist/lib/esm2015/components/chord-diagram/chord-diagram.component.js +0 -79
- package/dist/lib/esm2015/components/chord-diagram/chord-diagram.module.js +0 -18
- package/dist/lib/esm2015/components/crosshair/crosshair.component.js +0 -91
- package/dist/lib/esm2015/components/crosshair/crosshair.module.js +0 -18
- package/dist/lib/esm2015/components/donut/donut.component.js +0 -87
- package/dist/lib/esm2015/components/donut/donut.module.js +0 -18
- package/dist/lib/esm2015/components/free-brush/free-brush.component.js +0 -69
- package/dist/lib/esm2015/components/free-brush/free-brush.module.js +0 -18
- package/dist/lib/esm2015/components/graph/graph.component.js +0 -231
- package/dist/lib/esm2015/components/graph/graph.module.js +0 -18
- package/dist/lib/esm2015/components/grouped-bar/grouped-bar.component.js +0 -83
- package/dist/lib/esm2015/components/grouped-bar/grouped-bar.module.js +0 -18
- package/dist/lib/esm2015/components/line/line.component.js +0 -79
- package/dist/lib/esm2015/components/line/line.module.js +0 -18
- package/dist/lib/esm2015/components/nested-donut/nested-donut.component.js +0 -89
- package/dist/lib/esm2015/components/nested-donut/nested-donut.module.js +0 -18
- package/dist/lib/esm2015/components/plotband/plotband.component.js +0 -61
- package/dist/lib/esm2015/components/plotband/plotband.module.js +0 -18
- package/dist/lib/esm2015/components/plotline/plotline.component.js +0 -63
- package/dist/lib/esm2015/components/plotline/plotline.module.js +0 -18
- package/dist/lib/esm2015/components/sankey/sankey.component.js +0 -139
- package/dist/lib/esm2015/components/sankey/sankey.module.js +0 -18
- package/dist/lib/esm2015/components/scatter/scatter.component.js +0 -89
- package/dist/lib/esm2015/components/scatter/scatter.module.js +0 -18
- package/dist/lib/esm2015/components/stacked-bar/stacked-bar.component.js +0 -83
- package/dist/lib/esm2015/components/stacked-bar/stacked-bar.module.js +0 -18
- package/dist/lib/esm2015/components/timeline/timeline.component.js +0 -131
- package/dist/lib/esm2015/components/timeline/timeline.module.js +0 -18
- package/dist/lib/esm2015/components/tooltip/tooltip.component.js +0 -61
- package/dist/lib/esm2015/components/tooltip/tooltip.module.js +0 -18
- package/dist/lib/esm2015/components/topojson-map/topojson-map.component.js +0 -111
- package/dist/lib/esm2015/components/topojson-map/topojson-map.module.js +0 -18
- package/dist/lib/esm2015/components/xy-labels/xy-labels.component.js +0 -91
- package/dist/lib/esm2015/components/xy-labels/xy-labels.module.js +0 -18
- package/dist/lib/esm2015/components.js +0 -55
- package/dist/lib/esm2015/containers/single-container/single-container.component.js +0 -82
- package/dist/lib/esm2015/containers/single-container/single-container.module.js +0 -17
- package/dist/lib/esm2015/containers/xy-container/xy-container.component.js +0 -177
- package/dist/lib/esm2015/containers/xy-container/xy-container.module.js +0 -17
- package/dist/lib/esm2015/containers.js +0 -5
- package/dist/lib/esm2015/core/core-component.js +0 -4
- package/dist/lib/esm2015/core/generic-component.js +0 -3
- package/dist/lib/esm2015/core/index.js +0 -4
- package/dist/lib/esm2015/core/xy-component.js +0 -4
- package/dist/lib/esm2015/html-components/bullet-legend/bullet-legend.component.js +0 -56
- package/dist/lib/esm2015/html-components/bullet-legend/bullet-legend.module.js +0 -18
- package/dist/lib/esm2015/html-components/leaflet-flow-map/leaflet-flow-map.component.js +0 -170
- package/dist/lib/esm2015/html-components/leaflet-flow-map/leaflet-flow-map.module.js +0 -18
- package/dist/lib/esm2015/html-components/leaflet-map/leaflet-map.component.js +0 -144
- package/dist/lib/esm2015/html-components/leaflet-map/leaflet-map.module.js +0 -18
- package/dist/lib/esm2015/html-components/rolling-pin-legend/rolling-pin-legend.component.js +0 -48
- package/dist/lib/esm2015/html-components/rolling-pin-legend/rolling-pin-legend.module.js +0 -18
- package/dist/lib/esm2015/public-api.js +0 -3
- package/dist/lib/esm2015/unovis-angular.js +0 -5
- package/dist/lib/fesm2015/unovis-angular.js +0 -2922
- package/dist/lib/fesm2015/unovis-angular.js.map +0 -1
- package/dist/lib/html-components/bullet-legend/bullet-legend.component.d.ts +0 -42
- package/dist/lib/html-components/bullet-legend/bullet-legend.module.d.ts +0 -7
- package/dist/lib/html-components/leaflet-flow-map/leaflet-flow-map.component.d.ts +0 -212
- package/dist/lib/html-components/leaflet-flow-map/leaflet-flow-map.module.d.ts +0 -7
- package/dist/lib/html-components/leaflet-map/leaflet-map.component.d.ts +0 -183
- package/dist/lib/html-components/leaflet-map/leaflet-map.module.d.ts +0 -7
- package/dist/lib/html-components/rolling-pin-legend/rolling-pin-legend.component.d.ts +0 -24
- package/dist/lib/html-components/rolling-pin-legend/rolling-pin-legend.module.d.ts +0 -7
- package/dist/lib/package.json +0 -53
- package/dist/lib/public-api.d.ts +0 -2
- package/dist/lib/unovis-angular.d.ts +0 -5
|
@@ -1,107 +0,0 @@
|
|
|
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
|
-
/** Label color accessor function. Default: `d => d.color` */
|
|
59
|
-
color?: ColorAccessor<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: `XYLabelPositioning.DataSpace` */
|
|
74
|
-
xPositioning?: GenericAccessor<XYLabelPositioning | string, Datum>;
|
|
75
|
-
/** Defines how to position the label vertically: in data space or in screen space. Default: `XYLabelPositioning.DataSpace` */
|
|
76
|
-
yPositioning?: GenericAccessor<XYLabelPositioning | string, Datum>;
|
|
77
|
-
/** Font size accessor function or constant value in pixels. If not provided, the value of CSS variable `--vis-xy-label-font-size` will be used. Default: `undefined` */
|
|
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. If not provided, the value of CSS variable `--vis-xy-label-cluster-font-size` will be used. Default: `undefined` */
|
|
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
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
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
|
-
}
|
package/dist/lib/components.d.ts
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
export * from './core';
|
|
2
|
-
export { VisAreaComponent } from './components/area/area.component';
|
|
3
|
-
export { VisAreaModule } from './components/area/area.module';
|
|
4
|
-
export { VisAnnotationsComponent } from './components/annotations/annotations.component';
|
|
5
|
-
export { VisAnnotationsModule } from './components/annotations/annotations.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 { VisChordDiagramComponent } from './components/chord-diagram/chord-diagram.component';
|
|
11
|
-
export { VisChordDiagramModule } from './components/chord-diagram/chord-diagram.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 { VisFreeBrushComponent } from './components/free-brush/free-brush.component';
|
|
17
|
-
export { VisFreeBrushModule } from './components/free-brush/free-brush.module';
|
|
18
|
-
export { VisGraphComponent } from './components/graph/graph.component';
|
|
19
|
-
export { VisGraphModule } from './components/graph/graph.module';
|
|
20
|
-
export { VisGroupedBarComponent } from './components/grouped-bar/grouped-bar.component';
|
|
21
|
-
export { VisGroupedBarModule } from './components/grouped-bar/grouped-bar.module';
|
|
22
|
-
export { VisLineComponent } from './components/line/line.component';
|
|
23
|
-
export { VisLineModule } from './components/line/line.module';
|
|
24
|
-
export { VisNestedDonutComponent } from './components/nested-donut/nested-donut.component';
|
|
25
|
-
export { VisNestedDonutModule } from './components/nested-donut/nested-donut.module';
|
|
26
|
-
export { VisPlotlineComponent } from './components/plotline/plotline.component';
|
|
27
|
-
export { VisPlotlineModule } from './components/plotline/plotline.module';
|
|
28
|
-
export { VisSankeyComponent } from './components/sankey/sankey.component';
|
|
29
|
-
export { VisSankeyModule } from './components/sankey/sankey.module';
|
|
30
|
-
export { VisScatterComponent } from './components/scatter/scatter.component';
|
|
31
|
-
export { VisScatterModule } from './components/scatter/scatter.module';
|
|
32
|
-
export { VisStackedBarComponent } from './components/stacked-bar/stacked-bar.component';
|
|
33
|
-
export { VisStackedBarModule } from './components/stacked-bar/stacked-bar.module';
|
|
34
|
-
export { VisTimelineComponent } from './components/timeline/timeline.component';
|
|
35
|
-
export { VisTimelineModule } from './components/timeline/timeline.module';
|
|
36
|
-
export { VisXYLabelsComponent } from './components/xy-labels/xy-labels.component';
|
|
37
|
-
export { VisXYLabelsModule } from './components/xy-labels/xy-labels.module';
|
|
38
|
-
export { VisTopoJSONMapComponent } from './components/topojson-map/topojson-map.component';
|
|
39
|
-
export { VisTopoJSONMapModule } from './components/topojson-map/topojson-map.module';
|
|
40
|
-
export { VisPlotbandComponent } from './components/plotband/plotband.component';
|
|
41
|
-
export { VisPlotbandModule } from './components/plotband/plotband.module';
|
|
42
|
-
export { VisLeafletMapComponent } from './html-components/leaflet-map/leaflet-map.component';
|
|
43
|
-
export { VisLeafletMapModule } from './html-components/leaflet-map/leaflet-map.module';
|
|
44
|
-
export { VisLeafletFlowMapComponent } from './html-components/leaflet-flow-map/leaflet-flow-map.component';
|
|
45
|
-
export { VisLeafletFlowMapModule } from './html-components/leaflet-flow-map/leaflet-flow-map.module';
|
|
46
|
-
export { VisBulletLegendComponent } from './html-components/bullet-legend/bullet-legend.component';
|
|
47
|
-
export { VisBulletLegendModule } from './html-components/bullet-legend/bullet-legend.module';
|
|
48
|
-
export { VisRollingPinLegendComponent } from './html-components/rolling-pin-legend/rolling-pin-legend.component';
|
|
49
|
-
export { VisRollingPinLegendModule } from './html-components/rolling-pin-legend/rolling-pin-legend.module';
|
|
50
|
-
export { VisTooltipComponent } from './components/tooltip/tooltip.component';
|
|
51
|
-
export { VisTooltipModule } from './components/tooltip/tooltip.module';
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { ElementRef, AfterViewInit, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { ComponentCore, SingleContainer, SingleContainerConfigInterface, Spacing, Sizing } from '@unovis/ts';
|
|
3
|
-
import { VisCoreComponent } from '../../core';
|
|
4
|
-
import { VisTooltipComponent } from '../../components/tooltip/tooltip.component';
|
|
5
|
-
import { VisAnnotationsComponent } from '../../components/annotations/annotations.component';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class VisSingleContainerComponent<Data = unknown, C extends ComponentCore<Data> = ComponentCore<Data>> implements AfterViewInit, OnDestroy {
|
|
8
|
-
containerRef: ElementRef;
|
|
9
|
-
visComponent: VisCoreComponent;
|
|
10
|
-
tooltipComponent: VisTooltipComponent;
|
|
11
|
-
annotationsComponent: VisAnnotationsComponent;
|
|
12
|
-
/** Width in pixels or in CSS units.
|
|
13
|
-
* Percentage units `"%"` are not supported here. If you want to set `width` as a percentage, do it via `style` or `class`
|
|
14
|
-
* of the corresponding DOM element.
|
|
15
|
-
* Default: `undefined`
|
|
16
|
-
*/
|
|
17
|
-
width?: number;
|
|
18
|
-
/** Height in pixels or in CSS units.
|
|
19
|
-
* Percentage units `"%"` are not supported here. If you want to set `height` as a percentage, do it via `style` or `class`
|
|
20
|
-
* of the corresponding DOM element.
|
|
21
|
-
* Default: `undefined`
|
|
22
|
-
*/
|
|
23
|
-
height?: number;
|
|
24
|
-
/** Margins. Default: `{ top: 0, bottom: 0, left: 0, right: 0 }` */
|
|
25
|
-
margin?: Spacing;
|
|
26
|
-
/** Animation duration of all the components within the container. Default: `undefined` */
|
|
27
|
-
duration?: number;
|
|
28
|
-
/** Alternative text description of the chart for accessibility purposes. It will be applied as an
|
|
29
|
-
* `aria-label` attribute to the div element containing your chart. Default: `undefined`.
|
|
30
|
-
*/
|
|
31
|
-
ariaLabel?: string | null | undefined;
|
|
32
|
-
/** Custom SVG defs available to all the components within the container. Default: `undefined`. */
|
|
33
|
-
svgDefs?: string;
|
|
34
|
-
/** Defines whether components should fit into the container or the container should expand to fit to the component's size.
|
|
35
|
-
* Works with a limited set of components. Default: `Sizing.Fit` */
|
|
36
|
-
sizing?: Sizing | string;
|
|
37
|
-
/** Data to be passed to the component. Default: `undefined`. */
|
|
38
|
-
data?: Data;
|
|
39
|
-
chart: SingleContainer<Data>;
|
|
40
|
-
ngAfterViewInit(): void;
|
|
41
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
42
|
-
getConfig(): SingleContainerConfigInterface<Data>;
|
|
43
|
-
ngOnDestroy(): void;
|
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VisSingleContainerComponent<any, any>, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VisSingleContainerComponent<any, any>, "vis-single-container", never, { "width": "width"; "height": "height"; "margin": "margin"; "duration": "duration"; "ariaLabel": "ariaLabel"; "svgDefs": "svgDefs"; "sizing": "sizing"; "data": "data"; }, {}, ["visComponent", "tooltipComponent", "annotationsComponent"], ["*"]>;
|
|
46
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,101 +0,0 @@
|
|
|
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 { VisAnnotationsComponent } from '../../components/annotations/annotations.component';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class VisXYContainerComponent<Datum> implements AfterViewInit, AfterContentInit, OnDestroy {
|
|
8
|
-
containerRef: ElementRef;
|
|
9
|
-
visComponents: QueryList<VisXYComponent>;
|
|
10
|
-
tooltipComponent: VisTooltipComponent;
|
|
11
|
-
annotationsComponent: VisAnnotationsComponent;
|
|
12
|
-
/** Width in pixels or in CSS units.
|
|
13
|
-
* Percentage units `"%"` are not supported here. If you want to set `width` as a percentage, do it via `style` or `class`
|
|
14
|
-
* of the corresponding DOM element.
|
|
15
|
-
* Default: `undefined`
|
|
16
|
-
*/
|
|
17
|
-
width?: number;
|
|
18
|
-
/** Height in pixels or in CSS units.
|
|
19
|
-
* Percentage units `"%"` are not supported here. If you want to set `height` as a percentage, do it via `style` or `class`
|
|
20
|
-
* of the corresponding DOM element.
|
|
21
|
-
* Default: `undefined`
|
|
22
|
-
*/
|
|
23
|
-
height?: number;
|
|
24
|
-
/** Scale for X dimension, e.g. Scale.scaleLinear(). Default: `Scale.scaleLinear()` */
|
|
25
|
-
xScale?: ContinuousScale;
|
|
26
|
-
/** Scale domain (data extent) for X dimension. By default this value is calculated automatically based on data. */
|
|
27
|
-
xDomain?: [number | undefined, number | undefined];
|
|
28
|
-
/** Constraint the minimum value of the X scale domain. Useful when the data is plotted along the X axis.
|
|
29
|
-
* For example, imagine that you have a chart with dynamic data that has negative values. When values are small
|
|
30
|
-
* (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
|
|
31
|
-
* be achieved by setting `xDomainMinConstraint` to `[undefined, -1]`. In addition to that, if you want to cut off the
|
|
32
|
-
* values that are too low (let's say lower than -100), you can set the constraint to `[-100, -1]`
|
|
33
|
-
* Default: `undefined` */
|
|
34
|
-
xDomainMinConstraint?: [number | undefined, number | undefined];
|
|
35
|
-
/** Constraint the minimum value of the X scale domain. Useful when the data is plotted along the X axis.
|
|
36
|
-
* For example, imagine that you have a chart with dynamic data. When values are small
|
|
37
|
-
* (let's say < 0.01), you might still want the chart to display some meaningful value range (e.g. [0, 1]). That can
|
|
38
|
-
* be achieved by setting `xDomainMaxConstraint` to `[1, undefined]`. In addition to that, if you want to cut off the
|
|
39
|
-
* values that are too high (let's say higher than 100), you can set the constraint to `[1, 100]`
|
|
40
|
-
* Default: `undefined` */
|
|
41
|
-
xDomainMaxConstraint?: [number | undefined, number | undefined];
|
|
42
|
-
/** Force set the X scale range (in the screen space). By default the range is calculated automatically based on the
|
|
43
|
-
* chart's set up */
|
|
44
|
-
xRange?: [number, number];
|
|
45
|
-
/** Scale for Y dimension, e.g. Scale.ScaleLinear. Default: `Scale.ScaleLinear()` */
|
|
46
|
-
yScale?: ContinuousScale;
|
|
47
|
-
/** Scale domain (data extent) for Y dimension. By default this value is calculated automatically based on data. */
|
|
48
|
-
yDomain?: [number | undefined, number | undefined];
|
|
49
|
-
/** Constraint the minimum value of the Y scale domain.
|
|
50
|
-
* For example, imagine that you have a chart with dynamic data that has negative values. When values are small
|
|
51
|
-
* (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
|
|
52
|
-
* be achieved by setting `yDomainMinConstraint` to `[undefined, -1]`. In addition to that, if you want to cut off the
|
|
53
|
-
* values that are too low (let's say lower than -100), you can set the constraint to `[-100, -1]`
|
|
54
|
-
* Default: `undefined` */
|
|
55
|
-
yDomainMinConstraint?: [number | undefined, number | undefined];
|
|
56
|
-
/** Constraint the minimum value of the Y scale domain.
|
|
57
|
-
* For example, imagine that you have a chart with dynamic data. When values are small
|
|
58
|
-
* (let's say < 0.01), you might still want the chart to display some meaningful value range (e.g. [0, 1]). That can
|
|
59
|
-
* be achieved by setting `yDomainMaxConstraint` to `[1, undefined]`. In addition to that, if you want to cut off the
|
|
60
|
-
* values that are too high (let's say higher than 100), you can set the constraint to `[1, 100]`
|
|
61
|
-
* Default: `undefined` */
|
|
62
|
-
yDomainMaxConstraint?: [number | undefined, number | undefined];
|
|
63
|
-
/** Force set the Y scale range (in the screen space). By default the range is calculated automatically based on the
|
|
64
|
-
* chart's set up */
|
|
65
|
-
yRange?: [number, number];
|
|
66
|
-
/** Y Axis direction. Default: `Direction.North` */
|
|
67
|
-
yDirection?: Direction.South | Direction.North | string;
|
|
68
|
-
/** Prevents the chart domain from being empty (when domain's min and max values are equal).
|
|
69
|
-
* That usually happens when all the data values are the same or when there's no data.
|
|
70
|
-
* Setting to `true` will automatically extend the domain by `+1` when needed.
|
|
71
|
-
* Setting to `null` will extend the domain only when there's no data.
|
|
72
|
-
* Setting to `false` will keep the domain as is.
|
|
73
|
-
* Default: `null` */
|
|
74
|
-
preventEmptyDomain?: boolean | null;
|
|
75
|
-
/** Animation duration of all the components within the container. Default: `undefined` */
|
|
76
|
-
duration?: number;
|
|
77
|
-
/** Margins. Default: `{ top: 0, bottom: 0, left: 0, right: 0 }` */
|
|
78
|
-
margin?: Spacing;
|
|
79
|
-
/** Padding. Default: `{ top: 0, bottom: 0, left: 0, right: 0 }` */
|
|
80
|
-
padding?: Spacing;
|
|
81
|
-
/** Sets the Y scale domain based on the current X scale domain (not the whole dataset). Default: `false` */
|
|
82
|
-
scaleByDomain?: boolean;
|
|
83
|
-
/** Enables automatic calculation of chart margins based on the size of the axes. Default: `true` */
|
|
84
|
-
autoMargin?: boolean;
|
|
85
|
-
/** Alternative text description of the chart for accessibility purposes. It will be applied as an
|
|
86
|
-
* `aria-label` attribute to the div element containing your chart. Default: `undefined`.
|
|
87
|
-
*/
|
|
88
|
-
ariaLabel?: string | null | undefined;
|
|
89
|
-
/** Data to be passed to all child components. But if `data` is `undefined` it'll to be passed allowing components to
|
|
90
|
-
* have their individual data. Default: `undefined` */
|
|
91
|
-
data?: Datum[] | undefined;
|
|
92
|
-
chart: XYContainer<Datum>;
|
|
93
|
-
ngAfterViewInit(): void;
|
|
94
|
-
ngAfterContentInit(): void;
|
|
95
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
96
|
-
getConfig(): XYContainerConfigInterface<Datum>;
|
|
97
|
-
passContainerReferenceToChildren(): void;
|
|
98
|
-
ngOnDestroy(): void;
|
|
99
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VisXYContainerComponent<any>, never>;
|
|
100
|
-
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"; "preventEmptyDomain": "preventEmptyDomain"; "duration": "duration"; "margin": "margin"; "padding": "padding"; "scaleByDomain": "scaleByDomain"; "autoMargin": "autoMargin"; "ariaLabel": "ariaLabel"; "data": "data"; }, {}, ["tooltipComponent", "annotationsComponent", "visComponents"], ["*"]>;
|
|
101
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
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
|
-
}
|
package/dist/lib/containers.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
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';
|
package/dist/lib/core/index.d.ts
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
2
|
-
import { Component, Input } from '@angular/core';
|
|
3
|
-
import { Annotations } from '@unovis/ts';
|
|
4
|
-
import { VisGenericComponent } from '../../core';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export class VisAnnotationsComponent {
|
|
7
|
-
ngAfterViewInit() {
|
|
8
|
-
this.component = new Annotations(this.getConfig());
|
|
9
|
-
}
|
|
10
|
-
ngOnChanges(changes) {
|
|
11
|
-
var _a, _b;
|
|
12
|
-
(_a = this.component) === null || _a === void 0 ? void 0 : _a.setConfig(this.getConfig());
|
|
13
|
-
(_b = this.componentContainer) === null || _b === void 0 ? void 0 : _b.render();
|
|
14
|
-
}
|
|
15
|
-
getConfig() {
|
|
16
|
-
const { duration, events, attributes, items } = this;
|
|
17
|
-
const config = { duration, events, attributes, items };
|
|
18
|
-
const keys = Object.keys(config);
|
|
19
|
-
keys.forEach(key => { if (config[key] === undefined)
|
|
20
|
-
delete config[key]; });
|
|
21
|
-
return config;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
VisAnnotationsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisAnnotationsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
25
|
-
VisAnnotationsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisAnnotationsComponent, selector: "vis-annotations", inputs: { duration: "duration", events: "events", attributes: "attributes", items: "items" }, providers: [{ provide: VisGenericComponent, useExisting: VisAnnotationsComponent }], usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisAnnotationsComponent, decorators: [{
|
|
27
|
-
type: Component,
|
|
28
|
-
args: [{
|
|
29
|
-
selector: 'vis-annotations',
|
|
30
|
-
template: '',
|
|
31
|
-
// eslint-disable-next-line no-use-before-define
|
|
32
|
-
providers: [{ provide: VisGenericComponent, useExisting: VisAnnotationsComponent }],
|
|
33
|
-
}]
|
|
34
|
-
}], propDecorators: { duration: [{
|
|
35
|
-
type: Input
|
|
36
|
-
}], events: [{
|
|
37
|
-
type: Input
|
|
38
|
-
}], attributes: [{
|
|
39
|
-
type: Input
|
|
40
|
-
}], items: [{
|
|
41
|
-
type: Input
|
|
42
|
-
}] } });
|
|
43
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5ub3RhdGlvbnMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvYW5ub3RhdGlvbnMvYW5ub3RhdGlvbnMuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDBFQUEwRTtBQUMxRSxPQUFPLEVBQUUsU0FBUyxFQUFpQixLQUFLLEVBQWlCLE1BQU0sZUFBZSxDQUFBO0FBQzlFLE9BQU8sRUFBRSxXQUFXLEVBQTZGLE1BQU0sWUFBWSxDQUFBO0FBQ25JLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLFlBQVksQ0FBQTs7QUFRaEQsTUFBTSxPQUFPLHVCQUF1QjtJQXFFbEMsZUFBZTtRQUNiLElBQUksQ0FBQyxTQUFTLEdBQUcsSUFBSSxXQUFXLENBQUMsSUFBSSxD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IERlZmF1bHQ6IGBbXWAgKi9cbiAgQElucHV0KCkgaXRlbXM6IEFubm90YXRpb25JdGVtW10gfCB1bmRlZmluZWRcblxuICBjb21wb25lbnQ6IEFubm90YXRpb25zIHwgdW5kZWZpbmVkXG4gIHB1YmxpYyBjb21wb25lbnRDb250YWluZXI6IENvbnRhaW5lckNvcmUgfCB1bmRlZmluZWRcblxuICBuZ0FmdGVyVmlld0luaXQgKCk6IHZvaWQge1xuICAgIHRoaXMuY29tcG9uZW50ID0gbmV3IEFubm90YXRpb25zKHRoaXMuZ2V0Q29uZmlnKCkpXG4gIH1cblxuICBuZ09uQ2hhbmdlcyAoY2hhbmdlczogU2ltcGxlQ2hhbmdlcyk6IHZvaWQge1xuICAgIHRoaXMuY29tcG9uZW50Py5zZXRDb25maWcodGhpcy5nZXRDb25maWcoKSlcbiAgICB0aGlzLmNvbXBvbmVudENvbnRhaW5lcj8ucmVuZGVyKClcbiAgfVxuXG4gIHByaXZhdGUgZ2V0Q29uZmlnICgpOiBBbm5vdGF0aW9uc0NvbmZpZ0ludGVyZmFjZSB7XG4gICAgY29uc3QgeyBkdXJhdGlvbiwgZXZlbnRzLCBhdHRyaWJ1dGVzLCBpdGVtcyB9ID0gdGhpc1xuICAgIGNvbnN0IGNvbmZpZyA9IHsgZHVyYXRpb24sIGV2ZW50cywgYXR0cmlidXRlcywgaXRlbXMgfVxuICAgIGNvbnN0IGtleXMgPSBPYmplY3Qua2V5cyhjb25maWcpIGFzIChrZXlvZiBBbm5vdGF0aW9uc0NvbmZpZ0ludGVyZmFjZSlbXVxuICAgIGtleXMuZm9yRWFjaChrZXkgPT4geyBpZiAoY29uZmlnW2tleV0gPT09IHVuZGVmaW5lZCkgZGVsZXRlIGNvbmZpZ1trZXldIH0pXG5cbiAgICByZXR1cm4gY29uZmlnXG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// !!! This code was automatically generated. You should not change it !!!
|
|
2
|
-
import { NgModule } from '@angular/core';
|
|
3
|
-
import { VisAnnotationsComponent } from './annotations.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class VisAnnotationsModule {
|
|
6
|
-
}
|
|
7
|
-
VisAnnotationsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisAnnotationsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8
|
-
VisAnnotationsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisAnnotationsModule, declarations: [VisAnnotationsComponent], exports: [VisAnnotationsComponent] });
|
|
9
|
-
VisAnnotationsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisAnnotationsModule, imports: [[]] });
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisAnnotationsModule, decorators: [{
|
|
11
|
-
type: NgModule,
|
|
12
|
-
args: [{
|
|
13
|
-
imports: [],
|
|
14
|
-
declarations: [VisAnnotationsComponent],
|
|
15
|
-
exports: [VisAnnotationsComponent],
|
|
16
|
-
}]
|
|
17
|
-
}] });
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5ub3RhdGlvbnMubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvYW5ub3RhdGlvbnMvYW5ub3RhdGlvbnMubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDBFQUEwRTtBQUMxRSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFBO0FBQ3hDLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLHlCQUF5QixDQUFBOztBQU9qRSxNQUFNLE9BQU8sb0JBQW9COztrSEFBcEIsb0JBQW9CO21IQUFwQixvQkFBb0IsaUJBSGhCLHVCQUF1QixhQUM1Qix1QkFBdUI7bUhBRXRCLG9CQUFvQixZQUp0QixFQUFFOzRGQUlBLG9CQUFvQjtrQkFMaEMsUUFBUTttQkFBQztvQkFDUixPQUFPLEVBQUUsRUFBRTtvQkFDWCxZQUFZLEVBQUUsQ0FBQyx1QkFBdUIsQ0FBQztvQkFDdkMsT0FBTyxFQUFFLENBQUMsdUJBQXVCLENBQUM7aUJBQ25DIiwic291cmNlc0NvbnRlbnQiOlsiLy8gISEhIFRoaXMgY29kZSB3YXMgYXV0b21hdGljYWxseSBnZW5lcmF0ZWQuIFlvdSBzaG91bGQgbm90IGNoYW5nZSBpdCAhISFcbmltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSdcbmltcG9ydCB7IFZpc0Fubm90YXRpb25zQ29tcG9uZW50IH0gZnJvbSAnLi9hbm5vdGF0aW9ucy5jb21wb25lbnQnXG5cbkBOZ01vZHVsZSh7XG4gIGltcG9ydHM6IFtdLFxuICBkZWNsYXJhdGlvbnM6IFtWaXNBbm5vdGF0aW9uc0NvbXBvbmVudF0sXG4gIGV4cG9ydHM6IFtWaXNBbm5vdGF0aW9uc0NvbXBvbmVudF0sXG59KVxuZXhwb3J0IGNsYXNzIFZpc0Fubm90YXRpb25zTW9kdWxlIHt9XG4iXX0=
|
|
@@ -1,77 +0,0 @@
|
|
|
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, minHeight } = this;
|
|
25
|
-
const config = { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, curveType, baseline, opacity, cursor, minHeight1Px, minHeight };
|
|
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.17", ngImport: i0, type: VisAreaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
33
|
-
VisAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", 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", minHeight: "minHeight", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisAreaComponent }], usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", 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
|
-
}], minHeight: [{
|
|
73
|
-
type: Input
|
|
74
|
-
}], data: [{
|
|
75
|
-
type: Input
|
|
76
|
-
}] } });
|
|
77
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXJlYS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvY29tcG9uZW50cy9hcmVhL2FyZWEuY29tcG9uZW50LnRzIl0sIm5hbWVzIjp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WJ1dGVzLCB4LCB5LCBpZCwgY29sb3IsIHhTY2FsZSwgeVNjYWxlLCBleGNsdWRlRnJvbURvbWFpbkNhbGN1bGF0aW9uLCBjdXJ2ZVR5cGUsIGJhc2VsaW5lLCBvcGFjaXR5LCBjdXJzb3IsIG1pbkhlaWdodDFQeCwgbWluSGVpZ2h0IH1cbiAgICBjb25zdCBrZXlzID0gT2JqZWN0LmtleXMoY29uZmlnKSBhcyAoa2V5b2YgQXJlYUNvbmZpZ0ludGVyZmFjZTxEYXR1bT4pW11cbiAgICBrZXlzLmZvckVhY2goa2V5ID0+IHsgaWYgKGNvbmZpZ1trZXldID09PSB1bmRlZmluZWQpIGRlbGV0ZSBjb25maWdba2V5XSB9KVxuXG4gICAgcmV0dXJuIGNvbmZpZ1xuICB9XG59XG4iXX0=
|
|
@@ -1,18 +0,0 @@
|
|
|
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.17", ngImport: i0, type: VisAreaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8
|
-
VisAreaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisAreaModule, declarations: [VisAreaComponent], exports: [VisAreaComponent] });
|
|
9
|
-
VisAreaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisAreaModule, imports: [[]] });
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXJlYS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvY29tcG9uZW50cy9hcmVhL2FyZWEubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDBFQUEwRTtBQUMxRSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFBO0FBQ3hDLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLGtCQUFrQixDQUFBOztBQU9uRCxNQUFNLE9BQU8sYUFBYTs7MkdBQWIsYUFBYTs0R0FBYixhQUFhLGlCQUhULGdCQUFnQixhQUNyQixnQkFBZ0I7NEdBRWYsYUFBYSxZQUpmLEVBQUU7NEZBSUEsYUFBYTtrQkFMekIsUUFBUTttQkFBQztvQkFDUixPQUFPLEVBQUUsRUFBRTtvQkFDWCxZQUFZLEVBQUUsQ0FBQyxnQkFBZ0IsQ0FBQztvQkFDaEMsT0FBTyxFQUFFLENBQUMsZ0JBQWdCLENBQUM7aUJBQzVCIiwic291cmNlc0NvbnRlbnQiOlsiLy8gISEhIFRoaXMgY29kZSB3YXMgYXV0b21hdGljYWxseSBnZW5lcmF0ZWQuIFlvdSBzaG91bGQgbm90IGNoYW5nZSBpdCAhISFcbmltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSdcbmltcG9ydCB7IFZpc0FyZWFDb21wb25lbnQgfSBmcm9tICcuL2FyZWEuY29tcG9uZW50J1xuXG5ATmdNb2R1bGUoe1xuICBpbXBvcnRzOiBbXSxcbiAgZGVjbGFyYXRpb25zOiBbVmlzQXJlYUNvbXBvbmVudF0sXG4gIGV4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