@unovis/angular 1.1.2-beta.5 → 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.
@@ -884,8 +884,8 @@
884
884
  (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
885
885
  };
886
886
  VisAxisComponent.prototype.getConfig = function () {
887
- 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, position = _d.position, type = _d.type, fullSize = _d.fullSize, label = _d.label, labelFontSize = _d.labelFontSize, labelMargin = _d.labelMargin, gridLine = _d.gridLine, tickLine = _d.tickLine, domainLine = _d.domainLine, minMaxTicksOnly = _d.minMaxTicksOnly, tickFormat = _d.tickFormat, tickValues = _d.tickValues, numTicks = _d.numTicks, tickTextFitMode = _d.tickTextFitMode, tickTextLength = _d.tickTextLength, tickTextWidth = _d.tickTextWidth, tickTextSeparator = _d.tickTextSeparator, tickTextForceWordBreak = _d.tickTextForceWordBreak, tickTextTrimType = _d.tickTextTrimType, tickTextFontSize = _d.tickTextFontSize, tickTextAlign = _d.tickTextAlign, tickPadding = _d.tickPadding;
888
- var config = { 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, tickTextLength: tickTextLength, tickTextWidth: tickTextWidth, tickTextSeparator: tickTextSeparator, tickTextForceWordBreak: tickTextForceWordBreak, tickTextTrimType: tickTextTrimType, tickTextFontSize: tickTextFontSize, tickTextAlign: tickTextAlign, tickPadding: tickPadding };
887
+ 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, position = _d.position, type = _d.type, fullSize = _d.fullSize, label = _d.label, labelFontSize = _d.labelFontSize, labelMargin = _d.labelMargin, gridLine = _d.gridLine, tickLine = _d.tickLine, domainLine = _d.domainLine, minMaxTicksOnly = _d.minMaxTicksOnly, tickFormat = _d.tickFormat, tickValues = _d.tickValues, numTicks = _d.numTicks, tickTextFitMode = _d.tickTextFitMode, tickTextWidth = _d.tickTextWidth, tickTextSeparator = _d.tickTextSeparator, tickTextForceWordBreak = _d.tickTextForceWordBreak, tickTextTrimType = _d.tickTextTrimType, tickTextFontSize = _d.tickTextFontSize, tickTextAlign = _d.tickTextAlign, tickPadding = _d.tickPadding;
888
+ var config = { 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 };
889
889
  var keys = Object.keys(config);
890
890
  keys.forEach(function (key) {
891
891
  if (config[key] === undefined)
@@ -896,7 +896,7 @@
896
896
  return VisAxisComponent;
897
897
  }());
898
898
  VisAxisComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisAxisComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
899
- VisAxisComponent.ɵcmp = i0__namespace.ɵɵ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", tickTextLength: "tickTextLength", 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__namespace, template: '', isInline: true });
899
+ VisAxisComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: '', isInline: true });
900
900
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisAxisComponent, decorators: [{
901
901
  type: i0.Component,
902
902
  args: [{
@@ -953,8 +953,6 @@
953
953
  type: i0.Input
954
954
  }], tickTextFitMode: [{
955
955
  type: i0.Input
956
- }], tickTextLength: [{
957
- type: i0.Input
958
956
  }], tickTextWidth: [{
959
957
  type: i0.Input
960
958
  }], tickTextSeparator: [{
@@ -2401,6 +2399,110 @@
2401
2399
  }]
2402
2400
  }] });
2403
2401
 
2402
+ // !!! This code was automatically generated. You should not change it !!!
2403
+ var VisNestedDonutComponent = /** @class */ (function () {
2404
+ function VisNestedDonutComponent() {
2405
+ }
2406
+ VisNestedDonutComponent.prototype.ngAfterViewInit = function () {
2407
+ var _a;
2408
+ this.component = new ts.NestedDonut(this.getConfig());
2409
+ if (this.data) {
2410
+ this.component.setData(this.data);
2411
+ (_a = this.componentContainer) === null || _a === void 0 ? void 0 : _a.render();
2412
+ }
2413
+ };
2414
+ VisNestedDonutComponent.prototype.ngOnChanges = function (changes) {
2415
+ var _a, _b, _c;
2416
+ if (changes.data) {
2417
+ (_a = this.component) === null || _a === void 0 ? void 0 : _a.setData(this.data);
2418
+ }
2419
+ (_b = this.component) === null || _b === void 0 ? void 0 : _b.setConfig(this.getConfig());
2420
+ (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
2421
+ };
2422
+ VisNestedDonutComponent.prototype.getConfig = function () {
2423
+ var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, angleRange = _d.angleRange, direction = _d.direction, value = _d.value, centralLabel = _d.centralLabel, centralSubLabel = _d.centralSubLabel, centralSubLabelWrap = _d.centralSubLabelWrap, showBackground = _d.showBackground, layers = _d.layers, layerSettings = _d.layerSettings, layerPadding = _d.layerPadding, cornerRadius = _d.cornerRadius, emptySegmentAngle = _d.emptySegmentAngle, hideOverflowingSegmentLabels = _d.hideOverflowingSegmentLabels, segmentColor = _d.segmentColor, segmentLabel = _d.segmentLabel, segmentLabelColor = _d.segmentLabelColor, showEmptySegments = _d.showEmptySegments;
2424
+ var config = { 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 };
2425
+ var keys = Object.keys(config);
2426
+ keys.forEach(function (key) {
2427
+ if (config[key] === undefined)
2428
+ delete config[key];
2429
+ });
2430
+ return config;
2431
+ };
2432
+ return VisNestedDonutComponent;
2433
+ }());
2434
+ VisNestedDonutComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisNestedDonutComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
2435
+ VisNestedDonutComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: '', isInline: true });
2436
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisNestedDonutComponent, decorators: [{
2437
+ type: i0.Component,
2438
+ args: [{
2439
+ selector: 'vis-nested-donut',
2440
+ template: '',
2441
+ // eslint-disable-next-line no-use-before-define
2442
+ providers: [{ provide: VisCoreComponent, useExisting: VisNestedDonutComponent }],
2443
+ }]
2444
+ }], propDecorators: { duration: [{
2445
+ type: i0.Input
2446
+ }], events: [{
2447
+ type: i0.Input
2448
+ }], attributes: [{
2449
+ type: i0.Input
2450
+ }], angleRange: [{
2451
+ type: i0.Input
2452
+ }], direction: [{
2453
+ type: i0.Input
2454
+ }], value: [{
2455
+ type: i0.Input
2456
+ }], centralLabel: [{
2457
+ type: i0.Input
2458
+ }], centralSubLabel: [{
2459
+ type: i0.Input
2460
+ }], centralSubLabelWrap: [{
2461
+ type: i0.Input
2462
+ }], showBackground: [{
2463
+ type: i0.Input
2464
+ }], layers: [{
2465
+ type: i0.Input
2466
+ }], layerSettings: [{
2467
+ type: i0.Input
2468
+ }], layerPadding: [{
2469
+ type: i0.Input
2470
+ }], cornerRadius: [{
2471
+ type: i0.Input
2472
+ }], emptySegmentAngle: [{
2473
+ type: i0.Input
2474
+ }], hideOverflowingSegmentLabels: [{
2475
+ type: i0.Input
2476
+ }], segmentColor: [{
2477
+ type: i0.Input
2478
+ }], segmentLabel: [{
2479
+ type: i0.Input
2480
+ }], segmentLabelColor: [{
2481
+ type: i0.Input
2482
+ }], showEmptySegments: [{
2483
+ type: i0.Input
2484
+ }], data: [{
2485
+ type: i0.Input
2486
+ }] } });
2487
+
2488
+ // !!! This code was automatically generated. You should not change it !!!
2489
+ var VisNestedDonutModule = /** @class */ (function () {
2490
+ function VisNestedDonutModule() {
2491
+ }
2492
+ return VisNestedDonutModule;
2493
+ }());
2494
+ VisNestedDonutModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisNestedDonutModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
2495
+ VisNestedDonutModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisNestedDonutModule, declarations: [VisNestedDonutComponent], exports: [VisNestedDonutComponent] });
2496
+ VisNestedDonutModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisNestedDonutModule, imports: [[]] });
2497
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisNestedDonutModule, decorators: [{
2498
+ type: i0.NgModule,
2499
+ args: [{
2500
+ imports: [],
2501
+ declarations: [VisNestedDonutComponent],
2502
+ exports: [VisNestedDonutComponent],
2503
+ }]
2504
+ }] });
2505
+
2404
2506
  var VisLeafletMapComponent = /** @class */ (function () {
2405
2507
  function VisLeafletMapComponent() {
2406
2508
  }
@@ -2852,6 +2954,8 @@
2852
2954
  exports.VisLeafletMapModule = VisLeafletMapModule;
2853
2955
  exports.VisLineComponent = VisLineComponent;
2854
2956
  exports.VisLineModule = VisLineModule;
2957
+ exports.VisNestedDonutComponent = VisNestedDonutComponent;
2958
+ exports.VisNestedDonutModule = VisNestedDonutModule;
2855
2959
  exports.VisSankeyComponent = VisSankeyComponent;
2856
2960
  exports.VisSankeyModule = VisSankeyModule;
2857
2961
  exports.VisScatterComponent = VisScatterComponent;