@unovis/angular 1.2.2-beta.3 → 1.3.0-alpha.1
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 +15 -73
- package/dist/lib/bundles/unovis-angular.umd.js.map +1 -1
- package/dist/lib/components/axis/axis.component.d.ts +2 -23
- package/dist/lib/components/brush/brush.component.d.ts +2 -23
- package/dist/lib/components/crosshair/crosshair.component.d.ts +2 -23
- package/dist/lib/components/free-brush/free-brush.component.d.ts +2 -23
- package/dist/lib/components/graph/graph.component.d.ts +4 -1
- package/dist/lib/components/sankey/sankey.component.d.ts +4 -1
- package/dist/lib/components/timeline/timeline.component.d.ts +1 -3
- package/dist/lib/esm2015/components/axis/axis.component.js +4 -18
- package/dist/lib/esm2015/components/brush/brush.component.js +5 -19
- package/dist/lib/esm2015/components/crosshair/crosshair.component.js +4 -18
- package/dist/lib/esm2015/components/free-brush/free-brush.component.js +5 -19
- package/dist/lib/esm2015/components/graph/graph.component.js +1 -1
- package/dist/lib/esm2015/components/sankey/sankey.component.js +1 -1
- package/dist/lib/esm2015/components/timeline/timeline.component.js +4 -6
- package/dist/lib/fesm2015/unovis-angular.js +15 -73
- package/dist/lib/fesm2015/unovis-angular.js.map +1 -1
- package/dist/lib/package.json +2 -2
- package/package.json +2 -2
|
@@ -511,8 +511,8 @@ class VisAxisComponent {
|
|
|
511
511
|
(_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
|
|
512
512
|
}
|
|
513
513
|
getConfig() {
|
|
514
|
-
const { duration, events, attributes,
|
|
515
|
-
const config = { duration, events, attributes,
|
|
514
|
+
const { duration, events, attributes, position, type, fullSize, label, labelFontSize, labelMargin, labelColor, gridLine, tickLine, domainLine, minMaxTicksOnly, tickFormat, tickValues, numTicks, tickTextFitMode, tickTextWidth, tickTextSeparator, tickTextForceWordBreak, tickTextTrimType, tickTextFontSize, tickTextAlign, tickTextColor, tickPadding } = this;
|
|
515
|
+
const config = { duration, events, attributes, position, type, fullSize, label, labelFontSize, labelMargin, labelColor, gridLine, tickLine, domainLine, minMaxTicksOnly, tickFormat, tickValues, numTicks, tickTextFitMode, tickTextWidth, tickTextSeparator, tickTextForceWordBreak, tickTextTrimType, tickTextFontSize, tickTextAlign, tickTextColor, tickPadding };
|
|
516
516
|
const keys = Object.keys(config);
|
|
517
517
|
keys.forEach(key => { if (config[key] === undefined)
|
|
518
518
|
delete config[key]; });
|
|
@@ -520,7 +520,7 @@ class VisAxisComponent {
|
|
|
520
520
|
}
|
|
521
521
|
}
|
|
522
522
|
VisAxisComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisAxisComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
523
|
-
VisAxisComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisAxisComponent, selector: "vis-axis", inputs: { duration: "duration", events: "events", attributes: "attributes",
|
|
523
|
+
VisAxisComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisAxisComponent, selector: "vis-axis", inputs: { duration: "duration", events: "events", attributes: "attributes", position: "position", type: "type", fullSize: "fullSize", label: "label", labelFontSize: "labelFontSize", labelMargin: "labelMargin", labelColor: "labelColor", 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", tickTextColor: "tickTextColor", tickPadding: "tickPadding", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisAxisComponent }], usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
524
524
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisAxisComponent, decorators: [{
|
|
525
525
|
type: Component,
|
|
526
526
|
args: [{
|
|
@@ -535,20 +535,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
535
535
|
type: Input
|
|
536
536
|
}], attributes: [{
|
|
537
537
|
type: Input
|
|
538
|
-
}], x: [{
|
|
539
|
-
type: Input
|
|
540
|
-
}], y: [{
|
|
541
|
-
type: Input
|
|
542
|
-
}], id: [{
|
|
543
|
-
type: Input
|
|
544
|
-
}], color: [{
|
|
545
|
-
type: Input
|
|
546
|
-
}], xScale: [{
|
|
547
|
-
type: Input
|
|
548
|
-
}], yScale: [{
|
|
549
|
-
type: Input
|
|
550
|
-
}], excludeFromDomainCalculation: [{
|
|
551
|
-
type: Input
|
|
552
538
|
}], position: [{
|
|
553
539
|
type: Input
|
|
554
540
|
}], type: [{
|
|
@@ -633,8 +619,8 @@ class VisBrushComponent {
|
|
|
633
619
|
(_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
|
|
634
620
|
}
|
|
635
621
|
getConfig() {
|
|
636
|
-
const { duration, events, attributes,
|
|
637
|
-
const config = { duration, events, attributes,
|
|
622
|
+
const { duration, events, attributes, onBrush, onBrushStart, onBrushMove, onBrushEnd, handleWidth, selection, draggable, handlePosition, selectionMinLength } = this;
|
|
623
|
+
const config = { duration, events, attributes, onBrush, onBrushStart, onBrushMove, onBrushEnd, handleWidth, selection, draggable, handlePosition, selectionMinLength };
|
|
638
624
|
const keys = Object.keys(config);
|
|
639
625
|
keys.forEach(key => { if (config[key] === undefined)
|
|
640
626
|
delete config[key]; });
|
|
@@ -642,7 +628,7 @@ class VisBrushComponent {
|
|
|
642
628
|
}
|
|
643
629
|
}
|
|
644
630
|
VisBrushComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisBrushComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
645
|
-
VisBrushComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisBrushComponent, selector: "vis-brush", inputs: { duration: "duration", events: "events", attributes: "attributes",
|
|
631
|
+
VisBrushComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisBrushComponent, selector: "vis-brush", inputs: { duration: "duration", events: "events", attributes: "attributes", onBrush: "onBrush", onBrushStart: "onBrushStart", onBrushMove: "onBrushMove", onBrushEnd: "onBrushEnd", handleWidth: "handleWidth", selection: "selection", draggable: "draggable", handlePosition: "handlePosition", selectionMinLength: "selectionMinLength", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisBrushComponent }], usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
646
632
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisBrushComponent, decorators: [{
|
|
647
633
|
type: Component,
|
|
648
634
|
args: [{
|
|
@@ -657,20 +643,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
657
643
|
type: Input
|
|
658
644
|
}], attributes: [{
|
|
659
645
|
type: Input
|
|
660
|
-
}], x: [{
|
|
661
|
-
type: Input
|
|
662
|
-
}], y: [{
|
|
663
|
-
type: Input
|
|
664
|
-
}], id: [{
|
|
665
|
-
type: Input
|
|
666
|
-
}], color: [{
|
|
667
|
-
type: Input
|
|
668
|
-
}], xScale: [{
|
|
669
|
-
type: Input
|
|
670
|
-
}], yScale: [{
|
|
671
|
-
type: Input
|
|
672
|
-
}], excludeFromDomainCalculation: [{
|
|
673
|
-
type: Input
|
|
674
646
|
}], onBrush: [{
|
|
675
647
|
type: Input
|
|
676
648
|
}], onBrushStart: [{
|
|
@@ -727,8 +699,8 @@ class VisFreeBrushComponent {
|
|
|
727
699
|
(_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
|
|
728
700
|
}
|
|
729
701
|
getConfig() {
|
|
730
|
-
const { duration, events, attributes,
|
|
731
|
-
const config = { duration, events, attributes,
|
|
702
|
+
const { duration, events, attributes, mode, onBrush, onBrushStart, onBrushMove, onBrushEnd, handleWidth, selection, selectionMinLength, autoHide } = this;
|
|
703
|
+
const config = { duration, events, attributes, mode, onBrush, onBrushStart, onBrushMove, onBrushEnd, handleWidth, selection, selectionMinLength, autoHide };
|
|
732
704
|
const keys = Object.keys(config);
|
|
733
705
|
keys.forEach(key => { if (config[key] === undefined)
|
|
734
706
|
delete config[key]; });
|
|
@@ -736,7 +708,7 @@ class VisFreeBrushComponent {
|
|
|
736
708
|
}
|
|
737
709
|
}
|
|
738
710
|
VisFreeBrushComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisFreeBrushComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
739
|
-
VisFreeBrushComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisFreeBrushComponent, selector: "vis-free-brush", inputs: { duration: "duration", events: "events", attributes: "attributes",
|
|
711
|
+
VisFreeBrushComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisFreeBrushComponent, selector: "vis-free-brush", inputs: { duration: "duration", events: "events", attributes: "attributes", mode: "mode", onBrush: "onBrush", onBrushStart: "onBrushStart", onBrushMove: "onBrushMove", onBrushEnd: "onBrushEnd", handleWidth: "handleWidth", selection: "selection", selectionMinLength: "selectionMinLength", autoHide: "autoHide", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisFreeBrushComponent }], usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
740
712
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisFreeBrushComponent, decorators: [{
|
|
741
713
|
type: Component,
|
|
742
714
|
args: [{
|
|
@@ -751,20 +723,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
751
723
|
type: Input
|
|
752
724
|
}], attributes: [{
|
|
753
725
|
type: Input
|
|
754
|
-
}], x: [{
|
|
755
|
-
type: Input
|
|
756
|
-
}], y: [{
|
|
757
|
-
type: Input
|
|
758
|
-
}], id: [{
|
|
759
|
-
type: Input
|
|
760
|
-
}], color: [{
|
|
761
|
-
type: Input
|
|
762
|
-
}], xScale: [{
|
|
763
|
-
type: Input
|
|
764
|
-
}], yScale: [{
|
|
765
|
-
type: Input
|
|
766
|
-
}], excludeFromDomainCalculation: [{
|
|
767
|
-
type: Input
|
|
768
726
|
}], mode: [{
|
|
769
727
|
type: Input
|
|
770
728
|
}], onBrush: [{
|
|
@@ -821,8 +779,8 @@ class VisCrosshairComponent {
|
|
|
821
779
|
(_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
|
|
822
780
|
}
|
|
823
781
|
getConfig() {
|
|
824
|
-
const { duration, events, attributes,
|
|
825
|
-
const config = { duration, events, attributes,
|
|
782
|
+
const { duration, events, attributes, yStacked, baseline, tooltip, template, hideWhenFarFromPointer, hideWhenFarFromPointerDistance, snapToData, getCircles } = this;
|
|
783
|
+
const config = { duration, events, attributes, yStacked, baseline, tooltip, template, hideWhenFarFromPointer, hideWhenFarFromPointerDistance, snapToData, getCircles };
|
|
826
784
|
const keys = Object.keys(config);
|
|
827
785
|
keys.forEach(key => { if (config[key] === undefined)
|
|
828
786
|
delete config[key]; });
|
|
@@ -830,7 +788,7 @@ class VisCrosshairComponent {
|
|
|
830
788
|
}
|
|
831
789
|
}
|
|
832
790
|
VisCrosshairComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisCrosshairComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
833
|
-
VisCrosshairComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisCrosshairComponent, selector: "vis-crosshair", inputs: { duration: "duration", events: "events", attributes: "attributes",
|
|
791
|
+
VisCrosshairComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisCrosshairComponent, selector: "vis-crosshair", inputs: { duration: "duration", events: "events", attributes: "attributes", yStacked: "yStacked", baseline: "baseline", tooltip: "tooltip", template: "template", hideWhenFarFromPointer: "hideWhenFarFromPointer", hideWhenFarFromPointerDistance: "hideWhenFarFromPointerDistance", snapToData: "snapToData", getCircles: "getCircles", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisCrosshairComponent }], usesOnChanges: true, ngImport: i0, template: '', isInline: true });
|
|
834
792
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisCrosshairComponent, decorators: [{
|
|
835
793
|
type: Component,
|
|
836
794
|
args: [{
|
|
@@ -845,20 +803,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
845
803
|
type: Input
|
|
846
804
|
}], attributes: [{
|
|
847
805
|
type: Input
|
|
848
|
-
}], x: [{
|
|
849
|
-
type: Input
|
|
850
|
-
}], y: [{
|
|
851
|
-
type: Input
|
|
852
|
-
}], id: [{
|
|
853
|
-
type: Input
|
|
854
|
-
}], color: [{
|
|
855
|
-
type: Input
|
|
856
|
-
}], xScale: [{
|
|
857
|
-
type: Input
|
|
858
|
-
}], yScale: [{
|
|
859
|
-
type: Input
|
|
860
|
-
}], excludeFromDomainCalculation: [{
|
|
861
|
-
type: Input
|
|
862
806
|
}], yStacked: [{
|
|
863
807
|
type: Input
|
|
864
808
|
}], baseline: [{
|
|
@@ -1295,8 +1239,8 @@ class VisTimelineComponent {
|
|
|
1295
1239
|
(_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
|
|
1296
1240
|
}
|
|
1297
1241
|
getConfig() {
|
|
1298
|
-
const { duration, events, attributes, x,
|
|
1299
|
-
const config = { duration, events, attributes, x,
|
|
1242
|
+
const { duration, events, attributes, x, id, color, xScale, yScale, excludeFromDomainCalculation, lineWidth, lineCap, rowHeight, length, type, cursor, showLabels, labelWidth, maxLabelWidth, alternatingRowColors, onScroll, showEmptySegments } = this;
|
|
1243
|
+
const config = { duration, events, attributes, x, id, color, xScale, yScale, excludeFromDomainCalculation, lineWidth, lineCap, rowHeight, length, type, cursor, showLabels, labelWidth, maxLabelWidth, alternatingRowColors, onScroll, showEmptySegments };
|
|
1300
1244
|
const keys = Object.keys(config);
|
|
1301
1245
|
keys.forEach(key => { if (config[key] === undefined)
|
|
1302
1246
|
delete config[key]; });
|
|
@@ -1304,7 +1248,7 @@ class VisTimelineComponent {
|
|
|
1304
1248
|
}
|
|
1305
1249
|
}
|
|
1306
1250
|
VisTimelineComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisTimelineComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1307
|
-
VisTimelineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisTimelineComponent, selector: "vis-timeline", inputs: { duration: "duration", events: "events", attributes: "attributes", x: "x",
|
|
1251
|
+
VisTimelineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisTimelineComponent, selector: "vis-timeline", inputs: { duration: "duration", events: "events", attributes: "attributes", x: "x", 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, template: '', isInline: true });
|
|
1308
1252
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: VisTimelineComponent, decorators: [{
|
|
1309
1253
|
type: Component,
|
|
1310
1254
|
args: [{
|
|
@@ -1321,8 +1265,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
1321
1265
|
type: Input
|
|
1322
1266
|
}], x: [{
|
|
1323
1267
|
type: Input
|
|
1324
|
-
}], y: [{
|
|
1325
|
-
type: Input
|
|
1326
1268
|
}], id: [{
|
|
1327
1269
|
type: Input
|
|
1328
1270
|
}], color: [{
|