@unovis/angular 1.0.0-beta.6 → 1.0.0-beta.8
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 +2 -0
- package/dist/lib/README.md +2 -0
- package/dist/lib/bundles/unovis-angular.umd.js +15 -9
- package/dist/lib/bundles/unovis-angular.umd.js.map +1 -1
- package/dist/lib/components/donut/donut.component.d.ts +4 -3
- package/dist/lib/components/timeline/timeline.component.d.ts +5 -5
- package/dist/lib/components/tooltip/tooltip.component.d.ts +19 -1
- package/dist/lib/esm2015/components/donut/donut.component.js +6 -4
- package/dist/lib/esm2015/components/timeline/timeline.component.js +6 -4
- package/dist/lib/esm2015/components/tooltip/tooltip.component.js +6 -4
- package/dist/lib/fesm2015/unovis-angular.js +15 -9
- package/dist/lib/fesm2015/unovis-angular.js.map +1 -1
- package/dist/lib/package.json +24 -3
- package/package.json +24 -3
package/README.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+

|
|
2
|
+
|
|
1
3
|
🟨 **Unovis** is a modular data visualization framework for React, Angular, Svelte, and vanilla TypeScript or JavaScript.
|
|
2
4
|
|
|
3
5
|
`@unovis/angular` provides Angular modules to `@unovis/ts`, which makes Unovis integration into an Angular
|
package/dist/lib/README.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+

|
|
2
|
+
|
|
1
3
|
🟨 **Unovis** is a modular data visualization framework for React, Angular, Svelte, and vanilla TypeScript or JavaScript.
|
|
2
4
|
|
|
3
5
|
`@unovis/angular` provides Angular modules to `@unovis/ts`, which makes Unovis integration into an Angular
|
|
@@ -377,8 +377,8 @@
|
|
|
377
377
|
(_b = this.componentContainer) === null || _b === void 0 ? void 0 : _b.render();
|
|
378
378
|
};
|
|
379
379
|
VisTooltipComponent.prototype.getConfig = function () {
|
|
380
|
-
var _c = this, components = _c.components, container = _c.container, horizontalPlacement = _c.horizontalPlacement, horizontalShift = _c.horizontalShift, verticalPlacement = _c.verticalPlacement, verticalShift = _c.verticalShift, triggers = _c.triggers;
|
|
381
|
-
var config = { components: components, container: container, horizontalPlacement: horizontalPlacement, horizontalShift: horizontalShift, verticalPlacement: verticalPlacement, verticalShift: verticalShift, triggers: triggers };
|
|
380
|
+
var _c = this, components = _c.components, container = _c.container, horizontalPlacement = _c.horizontalPlacement, horizontalShift = _c.horizontalShift, verticalPlacement = _c.verticalPlacement, verticalShift = _c.verticalShift, triggers = _c.triggers, attributes = _c.attributes;
|
|
381
|
+
var config = { components: components, container: container, horizontalPlacement: horizontalPlacement, horizontalShift: horizontalShift, verticalPlacement: verticalPlacement, verticalShift: verticalShift, triggers: triggers, attributes: attributes };
|
|
382
382
|
var keys = Object.keys(config);
|
|
383
383
|
keys.forEach(function (key) {
|
|
384
384
|
if (config[key] === undefined)
|
|
@@ -389,7 +389,7 @@
|
|
|
389
389
|
return VisTooltipComponent;
|
|
390
390
|
}());
|
|
391
391
|
VisTooltipComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: VisTooltipComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
392
|
-
VisTooltipComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: VisTooltipComponent, selector: "vis-tooltip", inputs: { components: "components", container: "container", horizontalPlacement: "horizontalPlacement", horizontalShift: "horizontalShift", verticalPlacement: "verticalPlacement", verticalShift: "verticalShift", triggers: "triggers" }, providers: [{ provide: VisGenericComponent, useExisting: VisTooltipComponent }], usesOnChanges: true, ngImport: i0__namespace, template: '', isInline: true });
|
|
392
|
+
VisTooltipComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: VisTooltipComponent, selector: "vis-tooltip", inputs: { components: "components", container: "container", horizontalPlacement: "horizontalPlacement", horizontalShift: "horizontalShift", verticalPlacement: "verticalPlacement", verticalShift: "verticalShift", triggers: "triggers", attributes: "attributes" }, providers: [{ provide: VisGenericComponent, useExisting: VisTooltipComponent }], usesOnChanges: true, ngImport: i0__namespace, template: '', isInline: true });
|
|
393
393
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: VisTooltipComponent, decorators: [{
|
|
394
394
|
type: i0.Component,
|
|
395
395
|
args: [{
|
|
@@ -412,6 +412,8 @@
|
|
|
412
412
|
type: i0.Input
|
|
413
413
|
}], triggers: [{
|
|
414
414
|
type: i0.Input
|
|
415
|
+
}], attributes: [{
|
|
416
|
+
type: i0.Input
|
|
415
417
|
}] } });
|
|
416
418
|
|
|
417
419
|
var VisXYContainerComponent = /** @class */ (function () {
|
|
@@ -1305,8 +1307,8 @@
|
|
|
1305
1307
|
(_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
|
|
1306
1308
|
};
|
|
1307
1309
|
VisDonutComponent.prototype.getConfig = function () {
|
|
1308
|
-
var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, id = _d.id, value = _d.value, angleRange = _d.angleRange, padAngle = _d.padAngle, sortFunction = _d.sortFunction, cornerRadius = _d.cornerRadius, color = _d.color, radius = _d.radius, arcWidth = _d.arcWidth, centralLabel = _d.centralLabel, centralSubLabel = _d.centralSubLabel, centralSubLabelWrap = _d.centralSubLabelWrap, showEmptySegments = _d.showEmptySegments, showBackground = _d.showBackground;
|
|
1309
|
-
var config = { duration: duration, events: events, attributes: attributes, id: id, value: value, angleRange: angleRange, padAngle: padAngle, sortFunction: sortFunction, cornerRadius: cornerRadius, color: color, radius: radius, arcWidth: arcWidth, centralLabel: centralLabel, centralSubLabel: centralSubLabel, centralSubLabelWrap: centralSubLabelWrap, showEmptySegments: showEmptySegments, showBackground: showBackground };
|
|
1310
|
+
var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, id = _d.id, value = _d.value, angleRange = _d.angleRange, padAngle = _d.padAngle, sortFunction = _d.sortFunction, cornerRadius = _d.cornerRadius, color = _d.color, radius = _d.radius, arcWidth = _d.arcWidth, centralLabel = _d.centralLabel, centralSubLabel = _d.centralSubLabel, centralSubLabelWrap = _d.centralSubLabelWrap, showEmptySegments = _d.showEmptySegments, showBackground = _d.showBackground, backgroundAngleRange = _d.backgroundAngleRange;
|
|
1311
|
+
var config = { duration: duration, events: events, attributes: attributes, id: id, value: value, angleRange: angleRange, padAngle: padAngle, sortFunction: sortFunction, cornerRadius: cornerRadius, color: color, radius: radius, arcWidth: arcWidth, centralLabel: centralLabel, centralSubLabel: centralSubLabel, centralSubLabelWrap: centralSubLabelWrap, showEmptySegments: showEmptySegments, showBackground: showBackground, backgroundAngleRange: backgroundAngleRange };
|
|
1310
1312
|
var keys = Object.keys(config);
|
|
1311
1313
|
keys.forEach(function (key) {
|
|
1312
1314
|
if (config[key] === undefined)
|
|
@@ -1317,7 +1319,7 @@
|
|
|
1317
1319
|
return VisDonutComponent;
|
|
1318
1320
|
}());
|
|
1319
1321
|
VisDonutComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: VisDonutComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1320
|
-
VisDonutComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: VisDonutComponent, selector: "vis-donut", inputs: { duration: "duration", events: "events", attributes: "attributes", id: "id", value: "value", angleRange: "angleRange", padAngle: "padAngle", sortFunction: "sortFunction", cornerRadius: "cornerRadius", color: "color", radius: "radius", arcWidth: "arcWidth", centralLabel: "centralLabel", centralSubLabel: "centralSubLabel", centralSubLabelWrap: "centralSubLabelWrap", showEmptySegments: "showEmptySegments", showBackground: "showBackground", data: "data" }, providers: [{ provide: VisCoreComponent, useExisting: VisDonutComponent }], usesOnChanges: true, ngImport: i0__namespace, template: '', isInline: true });
|
|
1322
|
+
VisDonutComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: VisDonutComponent, selector: "vis-donut", inputs: { duration: "duration", events: "events", attributes: "attributes", id: "id", value: "value", angleRange: "angleRange", padAngle: "padAngle", sortFunction: "sortFunction", cornerRadius: "cornerRadius", color: "color", radius: "radius", arcWidth: "arcWidth", centralLabel: "centralLabel", centralSubLabel: "centralSubLabel", centralSubLabelWrap: "centralSubLabelWrap", showEmptySegments: "showEmptySegments", showBackground: "showBackground", backgroundAngleRange: "backgroundAngleRange", data: "data" }, providers: [{ provide: VisCoreComponent, useExisting: VisDonutComponent }], usesOnChanges: true, ngImport: i0__namespace, template: '', isInline: true });
|
|
1321
1323
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: VisDonutComponent, decorators: [{
|
|
1322
1324
|
type: i0.Component,
|
|
1323
1325
|
args: [{
|
|
@@ -1360,6 +1362,8 @@
|
|
|
1360
1362
|
type: i0.Input
|
|
1361
1363
|
}], showBackground: [{
|
|
1362
1364
|
type: i0.Input
|
|
1365
|
+
}], backgroundAngleRange: [{
|
|
1366
|
+
type: i0.Input
|
|
1363
1367
|
}], data: [{
|
|
1364
1368
|
type: i0.Input
|
|
1365
1369
|
}] } });
|
|
@@ -1709,8 +1713,8 @@
|
|
|
1709
1713
|
(_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
|
|
1710
1714
|
};
|
|
1711
1715
|
VisTimelineComponent.prototype.getConfig = function () {
|
|
1712
|
-
var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, x = _d.x, y = _d.y, id = _d.id, color = _d.color, xScale = _d.xScale, yScale = _d.yScale, excludeFromDomainCalculation = _d.excludeFromDomainCalculation, lineWidth = _d.lineWidth, lineCap = _d.lineCap, rowHeight = _d.rowHeight, length = _d.length, type = _d.type, cursor = _d.cursor, showLabels = _d.showLabels, labelWidth = _d.labelWidth, maxLabelWidth = _d.maxLabelWidth, alternatingRowColors = _d.alternatingRowColors, onScroll = _d.onScroll;
|
|
1713
|
-
var config = { duration: duration, events: events, attributes: attributes, x: x, y: y, id: id, color: color, xScale: xScale, yScale: yScale, excludeFromDomainCalculation: excludeFromDomainCalculation, lineWidth: lineWidth, lineCap: lineCap, rowHeight: rowHeight, length: length, type: type, cursor: cursor, showLabels: showLabels, labelWidth: labelWidth, maxLabelWidth: maxLabelWidth, alternatingRowColors: alternatingRowColors, onScroll: onScroll };
|
|
1716
|
+
var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, x = _d.x, y = _d.y, id = _d.id, color = _d.color, xScale = _d.xScale, yScale = _d.yScale, excludeFromDomainCalculation = _d.excludeFromDomainCalculation, lineWidth = _d.lineWidth, lineCap = _d.lineCap, rowHeight = _d.rowHeight, length = _d.length, type = _d.type, cursor = _d.cursor, showLabels = _d.showLabels, labelWidth = _d.labelWidth, maxLabelWidth = _d.maxLabelWidth, alternatingRowColors = _d.alternatingRowColors, onScroll = _d.onScroll, showEmptySegments = _d.showEmptySegments;
|
|
1717
|
+
var config = { duration: duration, events: events, attributes: attributes, x: x, y: y, id: id, color: color, xScale: xScale, yScale: yScale, excludeFromDomainCalculation: excludeFromDomainCalculation, lineWidth: lineWidth, lineCap: lineCap, rowHeight: rowHeight, length: length, type: type, cursor: cursor, showLabels: showLabels, labelWidth: labelWidth, maxLabelWidth: maxLabelWidth, alternatingRowColors: alternatingRowColors, onScroll: onScroll, showEmptySegments: showEmptySegments };
|
|
1714
1718
|
var keys = Object.keys(config);
|
|
1715
1719
|
keys.forEach(function (key) {
|
|
1716
1720
|
if (config[key] === undefined)
|
|
@@ -1721,7 +1725,7 @@
|
|
|
1721
1725
|
return VisTimelineComponent;
|
|
1722
1726
|
}());
|
|
1723
1727
|
VisTimelineComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: VisTimelineComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1724
|
-
VisTimelineComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: VisTimelineComponent, selector: "vis-timeline", inputs: { duration: "duration", events: "events", attributes: "attributes", x: "x", y: "y", id: "id", color: "color", xScale: "xScale", yScale: "yScale", excludeFromDomainCalculation: "excludeFromDomainCalculation", lineWidth: "lineWidth", lineCap: "lineCap", rowHeight: "rowHeight", length: "length", type: "type", cursor: "cursor", showLabels: "showLabels", labelWidth: "labelWidth", maxLabelWidth: "maxLabelWidth", alternatingRowColors: "alternatingRowColors", onScroll: "onScroll", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisTimelineComponent }], usesOnChanges: true, ngImport: i0__namespace, template: '', isInline: true });
|
|
1728
|
+
VisTimelineComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: VisTimelineComponent, selector: "vis-timeline", inputs: { duration: "duration", events: "events", attributes: "attributes", x: "x", y: "y", id: "id", color: "color", xScale: "xScale", yScale: "yScale", excludeFromDomainCalculation: "excludeFromDomainCalculation", lineWidth: "lineWidth", lineCap: "lineCap", rowHeight: "rowHeight", length: "length", type: "type", cursor: "cursor", showLabels: "showLabels", labelWidth: "labelWidth", maxLabelWidth: "maxLabelWidth", alternatingRowColors: "alternatingRowColors", onScroll: "onScroll", showEmptySegments: "showEmptySegments", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisTimelineComponent }], usesOnChanges: true, ngImport: i0__namespace, template: '', isInline: true });
|
|
1725
1729
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: VisTimelineComponent, decorators: [{
|
|
1726
1730
|
type: i0.Component,
|
|
1727
1731
|
args: [{
|
|
@@ -1772,6 +1776,8 @@
|
|
|
1772
1776
|
type: i0.Input
|
|
1773
1777
|
}], onScroll: [{
|
|
1774
1778
|
type: i0.Input
|
|
1779
|
+
}], showEmptySegments: [{
|
|
1780
|
+
type: i0.Input
|
|
1775
1781
|
}], data: [{
|
|
1776
1782
|
type: i0.Input
|
|
1777
1783
|
}] } });
|