@unovis/angular 1.1.2-beta.6 → 1.1.2-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/bundles/unovis-angular.umd.js +109 -5
- package/dist/lib/bundles/unovis-angular.umd.js.map +1 -1
- package/dist/lib/components/axis/axis.component.d.ts +1 -3
- package/dist/lib/components/grouped-bar/grouped-bar.component.d.ts +1 -1
- package/dist/lib/components/nested-donut/nested-donut.component.d.ts +97 -0
- package/dist/lib/components/nested-donut/nested-donut.module.d.ts +7 -0
- package/dist/lib/components/stacked-bar/stacked-bar.component.d.ts +1 -1
- package/dist/lib/components/xy-labels/xy-labels.component.d.ts +2 -2
- package/dist/lib/components.d.ts +2 -0
- package/dist/lib/esm2015/components/axis/axis.component.js +4 -6
- package/dist/lib/esm2015/components/grouped-bar/grouped-bar.component.js +1 -1
- package/dist/lib/esm2015/components/nested-donut/nested-donut.component.js +85 -0
- package/dist/lib/esm2015/components/nested-donut/nested-donut.module.js +18 -0
- package/dist/lib/esm2015/components/stacked-bar/stacked-bar.component.js +1 -1
- package/dist/lib/esm2015/components/xy-labels/xy-labels.component.js +1 -1
- package/dist/lib/esm2015/components.js +3 -1
- package/dist/lib/fesm2015/unovis-angular.js +101 -7
- package/dist/lib/fesm2015/unovis-angular.js.map +1 -1
- package/dist/lib/package.json +2 -2
- package/package.json +2 -2
- package/dist/LICENSE +0 -193
- package/dist/README.md +0 -66
- package/dist/package.json +0 -71
|
@@ -31,6 +31,8 @@ export { VisSankeyComponent } from './components/sankey/sankey.component';
|
|
|
31
31
|
export { VisSankeyModule } from './components/sankey/sankey.module';
|
|
32
32
|
export { VisGraphComponent } from './components/graph/graph.component';
|
|
33
33
|
export { VisGraphModule } from './components/graph/graph.module';
|
|
34
|
+
export { VisNestedDonutComponent } from './components/nested-donut/nested-donut.component';
|
|
35
|
+
export { VisNestedDonutModule } from './components/nested-donut/nested-donut.module';
|
|
34
36
|
// HTML Components
|
|
35
37
|
export { VisLeafletMapComponent } from './html-components/leaflet-map/leaflet-map.component';
|
|
36
38
|
export { VisLeafletMapModule } from './html-components/leaflet-map/leaflet-map.module';
|
|
@@ -40,4 +42,4 @@ export { VisBulletLegendComponent } from './html-components/bullet-legend/bullet
|
|
|
40
42
|
export { VisBulletLegendModule } from './html-components/bullet-legend/bullet-legend.module';
|
|
41
43
|
export { VisTooltipComponent } from './components/tooltip/tooltip.component';
|
|
42
44
|
export { VisTooltipModule } from './components/tooltip/tooltip.module';
|
|
43
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
45
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcG9uZW50cy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU87QUFDUCxjQUFjLFFBQVEsQ0FBQTtBQUV0QixpQkFBaUI7QUFDakIsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sa0NBQWtDLENBQUE7QUFDbkUsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLCtCQUErQixDQUFBO0FBRTdELE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLGtDQUFrQyxDQUFBO0FBQ25FLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQTtBQUU3RCxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQTtBQUNuRSxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sK0JBQStCLENBQUE7QUFFN0QsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sb0NBQW9DLENBQUE7QUFDdEUsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLGlDQUFpQyxDQUFBO0FBRWhFLE9BQU8sRUFBRSxxQ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
2
2
|
import { Component, Input, ViewChild, ContentChildren, ContentChild, NgModule } from '@angular/core';
|
|
3
|
-
import { Tooltip, Direction, XYContainer, Crosshair, Axis, SingleContainer, Line, Area, Brush, FreeBrush, Donut, GroupedBar, Scatter, StackedBar, Timeline, XYLabels, TopoJSONMap, Sankey, Graph, LeafletMap, LeafletFlowMap, BulletLegend } from '@unovis/ts';
|
|
3
|
+
import { Tooltip, Direction, XYContainer, Crosshair, Axis, SingleContainer, Line, Area, Brush, FreeBrush, Donut, GroupedBar, Scatter, StackedBar, Timeline, XYLabels, TopoJSONMap, Sankey, Graph, NestedDonut, LeafletMap, LeafletFlowMap, BulletLegend } from '@unovis/ts';
|
|
4
4
|
|
|
5
5
|
class VisGenericComponent {
|
|
6
6
|
}
|
|
@@ -497,8 +497,8 @@ class VisAxisComponent {
|
|
|
497
497
|
(_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
|
|
498
498
|
}
|
|
499
499
|
getConfig() {
|
|
500
|
-
const { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, position, type, fullSize, label, labelFontSize, labelMargin, gridLine, tickLine, domainLine, minMaxTicksOnly, tickFormat, tickValues, numTicks, tickTextFitMode,
|
|
501
|
-
const config = { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, position, type, fullSize, label, labelFontSize, labelMargin, gridLine, tickLine, domainLine, minMaxTicksOnly, tickFormat, tickValues, numTicks, tickTextFitMode,
|
|
500
|
+
const { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, position, type, fullSize, label, labelFontSize, labelMargin, gridLine, tickLine, domainLine, minMaxTicksOnly, tickFormat, tickValues, numTicks, tickTextFitMode, tickTextWidth, tickTextSeparator, tickTextForceWordBreak, tickTextTrimType, tickTextFontSize, tickTextAlign, tickPadding } = this;
|
|
501
|
+
const config = { duration, events, attributes, x, y, id, color, xScale, yScale, excludeFromDomainCalculation, position, type, fullSize, label, labelFontSize, labelMargin, gridLine, tickLine, domainLine, minMaxTicksOnly, tickFormat, tickValues, numTicks, tickTextFitMode, tickTextWidth, tickTextSeparator, tickTextForceWordBreak, tickTextTrimType, tickTextFontSize, tickTextAlign, tickPadding };
|
|
502
502
|
const keys = Object.keys(config);
|
|
503
503
|
keys.forEach(key => { if (config[key] === undefined)
|
|
504
504
|
delete config[key]; });
|
|
@@ -506,7 +506,7 @@ class VisAxisComponent {
|
|
|
506
506
|
}
|
|
507
507
|
}
|
|
508
508
|
VisAxisComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisAxisComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
509
|
-
VisAxisComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisAxisComponent, selector: "vis-axis", inputs: { duration: "duration", events: "events", attributes: "attributes", x: "x", y: "y", id: "id", color: "color", xScale: "xScale", yScale: "yScale", excludeFromDomainCalculation: "excludeFromDomainCalculation", position: "position", type: "type", fullSize: "fullSize", label: "label", labelFontSize: "labelFontSize", labelMargin: "labelMargin", gridLine: "gridLine", tickLine: "tickLine", domainLine: "domainLine", minMaxTicksOnly: "minMaxTicksOnly", tickFormat: "tickFormat", tickValues: "tickValues", numTicks: "numTicks", tickTextFitMode: "tickTextFitMode",
|
|
509
|
+
VisAxisComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisAxisComponent, selector: "vis-axis", inputs: { duration: "duration", events: "events", attributes: "attributes", x: "x", y: "y", id: "id", color: "color", xScale: "xScale", yScale: "yScale", excludeFromDomainCalculation: "excludeFromDomainCalculation", position: "position", type: "type", fullSize: "fullSize", label: "label", labelFontSize: "labelFontSize", labelMargin: "labelMargin", gridLine: "gridLine", tickLine: "tickLine", domainLine: "domainLine", minMaxTicksOnly: "minMaxTicksOnly", tickFormat: "tickFormat", tickValues: "tickValues", numTicks: "numTicks", tickTextFitMode: "tickTextFitMode", tickTextWidth: "tickTextWidth", tickTextSeparator: "tickTextSeparator", tickTextForceWordBreak: "tickTextForceWordBreak", tickTextTrimType: "tickTextTrimType", tickTextFontSize: "tickTextFontSize", tickTextAlign: "tickTextAlign", tickPadding: "tickPadding", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisAxisComponent }], usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
510
510
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisAxisComponent, decorators: [{
|
|
511
511
|
type: Component,
|
|
512
512
|
args: [{
|
|
@@ -563,8 +563,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
563
563
|
type: Input
|
|
564
564
|
}], tickTextFitMode: [{
|
|
565
565
|
type: Input
|
|
566
|
-
}], tickTextLength: [{
|
|
567
|
-
type: Input
|
|
568
566
|
}], tickTextWidth: [{
|
|
569
567
|
type: Input
|
|
570
568
|
}], tickTextSeparator: [{
|
|
@@ -1912,6 +1910,102 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
1912
1910
|
}]
|
|
1913
1911
|
}] });
|
|
1914
1912
|
|
|
1913
|
+
// !!! This code was automatically generated. You should not change it !!!
|
|
1914
|
+
class VisNestedDonutComponent {
|
|
1915
|
+
ngAfterViewInit() {
|
|
1916
|
+
var _a;
|
|
1917
|
+
this.component = new NestedDonut(this.getConfig());
|
|
1918
|
+
if (this.data) {
|
|
1919
|
+
this.component.setData(this.data);
|
|
1920
|
+
(_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
|
|
1921
|
+
}
|
|
1922
|
+
}
|
|
1923
|
+
ngOnChanges(changes) {
|
|
1924
|
+
var _a, _b, _c;
|
|
1925
|
+
if (changes.data) {
|
|
1926
|
+
(_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
|
|
1927
|
+
}
|
|
1928
|
+
(_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
|
|
1929
|
+
(_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
|
|
1930
|
+
}
|
|
1931
|
+
getConfig() {
|
|
1932
|
+
const { duration, events, attributes, angleRange, direction, value, centralLabel, centralSubLabel, centralSubLabelWrap, showBackground, layers, layerSettings, layerPadding, cornerRadius, emptySegmentAngle, hideOverflowingSegmentLabels, segmentColor, segmentLabel, segmentLabelColor, showEmptySegments } = this;
|
|
1933
|
+
const config = { duration, events, attributes, angleRange, direction, value, centralLabel, centralSubLabel, centralSubLabelWrap, showBackground, layers, layerSettings, layerPadding, cornerRadius, emptySegmentAngle, hideOverflowingSegmentLabels, segmentColor, segmentLabel, segmentLabelColor, showEmptySegments };
|
|
1934
|
+
const keys = Object.keys(config);
|
|
1935
|
+
keys.forEach(key => { if (config[key] === undefined)
|
|
1936
|
+
delete config[key]; });
|
|
1937
|
+
return config;
|
|
1938
|
+
}
|
|
1939
|
+
}
|
|
1940
|
+
VisNestedDonutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisNestedDonutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1941
|
+
VisNestedDonutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisNestedDonutComponent, selector: "vis-nested-donut", inputs: { duration: "duration", events: "events", attributes: "attributes", angleRange: "angleRange", direction: "direction", value: "value", centralLabel: "centralLabel", centralSubLabel: "centralSubLabel", centralSubLabelWrap: "centralSubLabelWrap", showBackground: "showBackground", layers: "layers", layerSettings: "layerSettings", layerPadding: "layerPadding", cornerRadius: "cornerRadius", emptySegmentAngle: "emptySegmentAngle", hideOverflowingSegmentLabels: "hideOverflowingSegmentLabels", segmentColor: "segmentColor", segmentLabel: "segmentLabel", segmentLabelColor: "segmentLabelColor", showEmptySegments: "showEmptySegments", data: "data" }, providers: [{ provide: VisCoreComponent, useExisting: VisNestedDonutComponent }], usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
1942
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisNestedDonutComponent, decorators: [{
|
|
1943
|
+
type: Component,
|
|
1944
|
+
args: [{
|
|
1945
|
+
selector: 'vis-nested-donut',
|
|
1946
|
+
template: '',
|
|
1947
|
+
// eslint-disable-next-line no-use-before-define
|
|
1948
|
+
providers: [{ provide: VisCoreComponent, useExisting: VisNestedDonutComponent }],
|
|
1949
|
+
}]
|
|
1950
|
+
}], propDecorators: { duration: [{
|
|
1951
|
+
type: Input
|
|
1952
|
+
}], events: [{
|
|
1953
|
+
type: Input
|
|
1954
|
+
}], attributes: [{
|
|
1955
|
+
type: Input
|
|
1956
|
+
}], angleRange: [{
|
|
1957
|
+
type: Input
|
|
1958
|
+
}], direction: [{
|
|
1959
|
+
type: Input
|
|
1960
|
+
}], value: [{
|
|
1961
|
+
type: Input
|
|
1962
|
+
}], centralLabel: [{
|
|
1963
|
+
type: Input
|
|
1964
|
+
}], centralSubLabel: [{
|
|
1965
|
+
type: Input
|
|
1966
|
+
}], centralSubLabelWrap: [{
|
|
1967
|
+
type: Input
|
|
1968
|
+
}], showBackground: [{
|
|
1969
|
+
type: Input
|
|
1970
|
+
}], layers: [{
|
|
1971
|
+
type: Input
|
|
1972
|
+
}], layerSettings: [{
|
|
1973
|
+
type: Input
|
|
1974
|
+
}], layerPadding: [{
|
|
1975
|
+
type: Input
|
|
1976
|
+
}], cornerRadius: [{
|
|
1977
|
+
type: Input
|
|
1978
|
+
}], emptySegmentAngle: [{
|
|
1979
|
+
type: Input
|
|
1980
|
+
}], hideOverflowingSegmentLabels: [{
|
|
1981
|
+
type: Input
|
|
1982
|
+
}], segmentColor: [{
|
|
1983
|
+
type: Input
|
|
1984
|
+
}], segmentLabel: [{
|
|
1985
|
+
type: Input
|
|
1986
|
+
}], segmentLabelColor: [{
|
|
1987
|
+
type: Input
|
|
1988
|
+
}], showEmptySegments: [{
|
|
1989
|
+
type: Input
|
|
1990
|
+
}], data: [{
|
|
1991
|
+
type: Input
|
|
1992
|
+
}] } });
|
|
1993
|
+
|
|
1994
|
+
// !!! This code was automatically generated. You should not change it !!!
|
|
1995
|
+
class VisNestedDonutModule {
|
|
1996
|
+
}
|
|
1997
|
+
VisNestedDonutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisNestedDonutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1998
|
+
VisNestedDonutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisNestedDonutModule, declarations: [VisNestedDonutComponent], exports: [VisNestedDonutComponent] });
|
|
1999
|
+
VisNestedDonutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisNestedDonutModule, imports: [[]] });
|
|
2000
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisNestedDonutModule, decorators: [{
|
|
2001
|
+
type: NgModule,
|
|
2002
|
+
args: [{
|
|
2003
|
+
imports: [],
|
|
2004
|
+
declarations: [VisNestedDonutComponent],
|
|
2005
|
+
exports: [VisNestedDonutComponent],
|
|
2006
|
+
}]
|
|
2007
|
+
}] });
|
|
2008
|
+
|
|
1915
2009
|
class VisLeafletMapComponent {
|
|
1916
2010
|
ngAfterViewInit() {
|
|
1917
2011
|
const config = this.getConfig();
|
|
@@ -2310,5 +2404,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
2310
2404
|
* Generated bundle index. Do not edit.
|
|
2311
2405
|
*/
|
|
2312
2406
|
|
|
2313
|
-
export { VisAreaComponent, VisAreaModule, VisAxisComponent, VisAxisModule, VisBrushComponent, VisBrushModule, VisBulletLegendComponent, VisBulletLegendModule, VisCoreComponent, VisCrosshairComponent, VisCrosshairModule, VisDonutComponent, VisDonutModule, VisFreeBrushComponent, VisFreeBrushModule, VisGenericComponent, VisGraphComponent, VisGraphModule, VisGroupedBarComponent, VisGroupedBarModule, VisLeafletFlowMapComponent, VisLeafletFlowMapModule, VisLeafletMapComponent, VisLeafletMapModule, VisLineComponent, VisLineModule, VisSankeyComponent, VisSankeyModule, VisScatterComponent, VisScatterModule, VisSingleContainerComponent, VisSingleContainerModule, VisStackedBarComponent, VisStackedBarModule, VisTimelineComponent, VisTimelineModule, VisTooltipComponent, VisTooltipModule, VisTopoJSONMapComponent, VisTopoJSONMapModule, VisXYComponent, VisXYContainerComponent, VisXYContainerModule, VisXYLabelsComponent, VisXYLabelsModule };
|
|
2407
|
+
export { VisAreaComponent, VisAreaModule, VisAxisComponent, VisAxisModule, VisBrushComponent, VisBrushModule, VisBulletLegendComponent, VisBulletLegendModule, VisCoreComponent, VisCrosshairComponent, VisCrosshairModule, VisDonutComponent, VisDonutModule, VisFreeBrushComponent, VisFreeBrushModule, VisGenericComponent, VisGraphComponent, VisGraphModule, VisGroupedBarComponent, VisGroupedBarModule, VisLeafletFlowMapComponent, VisLeafletFlowMapModule, VisLeafletMapComponent, VisLeafletMapModule, VisLineComponent, VisLineModule, VisNestedDonutComponent, VisNestedDonutModule, VisSankeyComponent, VisSankeyModule, VisScatterComponent, VisScatterModule, VisSingleContainerComponent, VisSingleContainerModule, VisStackedBarComponent, VisStackedBarModule, VisTimelineComponent, VisTimelineModule, VisTooltipComponent, VisTooltipModule, VisTopoJSONMapComponent, VisTopoJSONMapModule, VisXYComponent, VisXYContainerComponent, VisXYContainerModule, VisXYLabelsComponent, VisXYLabelsModule };
|
|
2314
2408
|
//# sourceMappingURL=unovis-angular.js.map
|