@c8y/ngx-components 1023.14.68 → 1023.14.76

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.
Files changed (47) hide show
  1. package/asset-properties/index.d.ts +20 -2
  2. package/asset-properties/index.d.ts.map +1 -1
  3. package/cockpit-config/index.d.ts.map +1 -1
  4. package/datapoint-selector/index.d.ts.map +1 -1
  5. package/echart/index.d.ts.map +1 -1
  6. package/ecosystem/application-plugins/index.d.ts.map +1 -1
  7. package/fesm2022/c8y-ngx-components-asset-properties.mjs +36 -12
  8. package/fesm2022/c8y-ngx-components-asset-properties.mjs.map +1 -1
  9. package/fesm2022/c8y-ngx-components-cockpit-config.mjs +7 -7
  10. package/fesm2022/c8y-ngx-components-cockpit-config.mjs.map +1 -1
  11. package/fesm2022/c8y-ngx-components-datapoint-selector.mjs +3 -11
  12. package/fesm2022/c8y-ngx-components-datapoint-selector.mjs.map +1 -1
  13. package/fesm2022/c8y-ngx-components-echart.mjs +44 -14
  14. package/fesm2022/c8y-ngx-components-echart.mjs.map +1 -1
  15. package/fesm2022/c8y-ngx-components-ecosystem-application-plugins.mjs +10 -7
  16. package/fesm2022/c8y-ngx-components-ecosystem-application-plugins.mjs.map +1 -1
  17. package/fesm2022/c8y-ngx-components-services.mjs +2 -2
  18. package/fesm2022/c8y-ngx-components-services.mjs.map +1 -1
  19. package/fesm2022/c8y-ngx-components-tenants.mjs +2 -2
  20. package/fesm2022/c8y-ngx-components-tenants.mjs.map +1 -1
  21. package/fesm2022/c8y-ngx-components-widgets-definitions-html-widget.mjs +3 -3
  22. package/fesm2022/c8y-ngx-components-widgets-definitions-html-widget.mjs.map +1 -1
  23. package/fesm2022/c8y-ngx-components-widgets-exports.mjs +52 -50
  24. package/fesm2022/c8y-ngx-components-widgets-exports.mjs.map +1 -1
  25. package/fesm2022/c8y-ngx-components-widgets-implementations-html-widget.mjs.map +1 -1
  26. package/fesm2022/c8y-ngx-components-widgets-implementations-three-d-rotation.mjs +4 -0
  27. package/fesm2022/c8y-ngx-components-widgets-implementations-three-d-rotation.mjs.map +1 -1
  28. package/fesm2022/c8y-ngx-components.mjs +30 -7
  29. package/fesm2022/c8y-ngx-components.mjs.map +1 -1
  30. package/index.d.ts +10 -2
  31. package/index.d.ts.map +1 -1
  32. package/locales/de.po +317 -21
  33. package/locales/es.po +289 -7
  34. package/locales/fr.po +289 -7
  35. package/locales/ja_JP.po +289 -7
  36. package/locales/ko.po +289 -7
  37. package/locales/locales.pot +289 -7
  38. package/locales/nl.po +289 -7
  39. package/locales/pl.po +289 -7
  40. package/locales/pt_BR.po +289 -7
  41. package/locales/zh_CN.po +289 -7
  42. package/locales/zh_TW.po +289 -7
  43. package/package.json +1 -1
  44. package/widgets/exports/index.d.ts.map +1 -1
  45. package/widgets/implementations/html-widget/index.d.ts +2 -2
  46. package/widgets/implementations/html-widget/index.d.ts.map +1 -1
  47. package/widgets/implementations/three-d-rotation/index.d.ts.map +1 -1
@@ -14,7 +14,7 @@ import * as i2 from '@angular/forms';
14
14
  import { Validators, FormsModule, ReactiveFormsModule, NG_VALUE_ACCESSOR, NG_VALIDATORS } from '@angular/forms';
15
15
  import { map, take, filter, startWith, tap, switchMap, shareReplay, distinctUntilChanged, debounceTime } from 'rxjs/operators';
16
16
  import { gettext } from '@c8y/ngx-components/gettext';
17
- import { NgClass, NgTemplateOutlet, KeyValuePipe, NgFor, NgIf, NgSwitch, NgSwitchCase, NgSwitchDefault, AsyncPipe } from '@angular/common';
17
+ import { NgClass, NgTemplateOutlet, KeyValuePipe, AsyncPipe, NgIf, NgFor } from '@angular/common';
18
18
  import * as i4 from '@c8y/ngx-components/context-dashboard';
19
19
  import { pipe, BehaviorSubject, from, combineLatest } from 'rxjs';
20
20
  import * as i1 from '@c8y/client';
@@ -598,14 +598,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
598
598
  class DatapointTemplatePopoverComponent {
599
599
  constructor() {
600
600
  this.attributes = [
601
- {
602
- label: gettext('Fragment'),
603
- key: 'fragment'
604
- },
605
- {
606
- label: gettext('Series'),
607
- key: 'series'
608
- },
609
601
  {
610
602
  label: gettext('Unit'),
611
603
  key: 'unit'
@@ -631,11 +623,11 @@ class DatapointTemplatePopoverComponent {
631
623
  ];
632
624
  }
633
625
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DatapointTemplatePopoverComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
634
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: DatapointTemplatePopoverComponent, isStandalone: true, selector: "c8y-datapoint-template-popover", inputs: { datapoint: "datapoint", attributes: "attributes" }, ngImport: i0, template: "<p class=\"text-medium\">\n <i c8yIcon=\"circle\" [style.color]=\"datapoint.color\"></i>\n {{ datapoint.label }}\n</p>\n<p>{{ datapoint.description }}</p>\n\n<ul class=\"list-unstyled small p-t-16\">\n <ng-container *ngFor=\"let attribute of attributes; let i = index\">\n <li\n class=\"p-t-4 p-b-4 d-flex separator-bottom text-nowrap\"\n *ngIf=\"datapoint[attribute.key] !== undefined\"\n >\n <label class=\"small m-b-0 m-r-8\">\n <i *ngIf=\"attribute.labelColor\" c8yIcon=\"square\" [style.color]=\"attribute.labelColor\"></i>\n {{ attribute.label | translate }}\n </label>\n <ng-container [ngSwitch]=\"attribute.key\">\n <span *ngSwitchCase=\"'min'\" class=\"m-l-auto\">\n {{ datapoint['min'] }} \u2014 {{ datapoint['max'] }}\n </span>\n <span *ngSwitchCase=\"'yellowRangeMin'\" class=\"m-l-auto\">\n {{ datapoint['yellowRangeMin'] }} \u2014 {{ datapoint['yellowRangeMax'] }}\n </span>\n <span *ngSwitchCase=\"'redRangeMin'\" class=\"m-l-auto\">\n {{ datapoint['redRangeMin'] }} \u2014 {{ datapoint['redRangeMax'] }}\n </span>\n <span *ngSwitchDefault class=\"m-l-auto\">\n {{ datapoint[attribute.key] }}\n </span>\n </ng-container>\n </li>\n </ng-container>\n</ul>\n", dependencies: [{ kind: "directive", type: IconDirective, selector: "[c8yIcon]", inputs: ["c8yIcon"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "pipe", type: C8yTranslatePipe, name: "translate" }] }); }
626
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: DatapointTemplatePopoverComponent, isStandalone: true, selector: "c8y-datapoint-template-popover", inputs: { datapoint: "datapoint", attributes: "attributes" }, ngImport: i0, template: "<p class=\"text-medium\">\n <i\n c8yIcon=\"circle\"\n [style.color]=\"datapoint.color\"\n ></i>\n {{ datapoint.label }}\n</p>\n<p>{{ datapoint.description }}</p>\n\n<ul class=\"list-unstyled small p-t-16\">\n @for (attribute of attributes; track attribute; let i = $index) {\n @if (datapoint[attribute.key] !== undefined) {\n <li class=\"p-t-4 p-b-4 d-flex separator-bottom text-nowrap\">\n <label class=\"small m-b-0 m-r-8\">\n @if (attribute.labelColor) {\n <i\n c8yIcon=\"square\"\n [style.color]=\"attribute.labelColor\"\n ></i>\n }\n {{ attribute.label | translate }}\n </label>\n @switch (attribute.key) {\n @case ('min') {\n <span class=\"m-l-auto\">{{ datapoint['min'] }} \u2014 {{ datapoint['max'] }}</span>\n }\n @case ('yellowRangeMin') {\n <span class=\"m-l-auto\">\n {{ datapoint['yellowRangeMin'] }} \u2014 {{ datapoint['yellowRangeMax'] }}\n </span>\n }\n @case ('redRangeMin') {\n <span class=\"m-l-auto\">\n {{ datapoint['redRangeMin'] }} \u2014 {{ datapoint['redRangeMax'] }}\n </span>\n }\n @default {\n <span class=\"m-l-auto\">\n {{ datapoint[attribute.key] }}\n </span>\n }\n }\n </li>\n }\n }\n</ul>\n", dependencies: [{ kind: "directive", type: IconDirective, selector: "[c8yIcon]", inputs: ["c8yIcon"] }, { kind: "pipe", type: C8yTranslatePipe, name: "translate" }] }); }
635
627
  }
636
628
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: DatapointTemplatePopoverComponent, decorators: [{
637
629
  type: Component,
638
- args: [{ selector: 'c8y-datapoint-template-popover', imports: [IconDirective, NgFor, NgIf, NgSwitch, NgSwitchCase, NgSwitchDefault, C8yTranslatePipe], template: "<p class=\"text-medium\">\n <i c8yIcon=\"circle\" [style.color]=\"datapoint.color\"></i>\n {{ datapoint.label }}\n</p>\n<p>{{ datapoint.description }}</p>\n\n<ul class=\"list-unstyled small p-t-16\">\n <ng-container *ngFor=\"let attribute of attributes; let i = index\">\n <li\n class=\"p-t-4 p-b-4 d-flex separator-bottom text-nowrap\"\n *ngIf=\"datapoint[attribute.key] !== undefined\"\n >\n <label class=\"small m-b-0 m-r-8\">\n <i *ngIf=\"attribute.labelColor\" c8yIcon=\"square\" [style.color]=\"attribute.labelColor\"></i>\n {{ attribute.label | translate }}\n </label>\n <ng-container [ngSwitch]=\"attribute.key\">\n <span *ngSwitchCase=\"'min'\" class=\"m-l-auto\">\n {{ datapoint['min'] }} \u2014 {{ datapoint['max'] }}\n </span>\n <span *ngSwitchCase=\"'yellowRangeMin'\" class=\"m-l-auto\">\n {{ datapoint['yellowRangeMin'] }} \u2014 {{ datapoint['yellowRangeMax'] }}\n </span>\n <span *ngSwitchCase=\"'redRangeMin'\" class=\"m-l-auto\">\n {{ datapoint['redRangeMin'] }} \u2014 {{ datapoint['redRangeMax'] }}\n </span>\n <span *ngSwitchDefault class=\"m-l-auto\">\n {{ datapoint[attribute.key] }}\n </span>\n </ng-container>\n </li>\n </ng-container>\n</ul>\n" }]
630
+ args: [{ selector: 'c8y-datapoint-template-popover', imports: [IconDirective, C8yTranslatePipe], template: "<p class=\"text-medium\">\n <i\n c8yIcon=\"circle\"\n [style.color]=\"datapoint.color\"\n ></i>\n {{ datapoint.label }}\n</p>\n<p>{{ datapoint.description }}</p>\n\n<ul class=\"list-unstyled small p-t-16\">\n @for (attribute of attributes; track attribute; let i = $index) {\n @if (datapoint[attribute.key] !== undefined) {\n <li class=\"p-t-4 p-b-4 d-flex separator-bottom text-nowrap\">\n <label class=\"small m-b-0 m-r-8\">\n @if (attribute.labelColor) {\n <i\n c8yIcon=\"square\"\n [style.color]=\"attribute.labelColor\"\n ></i>\n }\n {{ attribute.label | translate }}\n </label>\n @switch (attribute.key) {\n @case ('min') {\n <span class=\"m-l-auto\">{{ datapoint['min'] }} \u2014 {{ datapoint['max'] }}</span>\n }\n @case ('yellowRangeMin') {\n <span class=\"m-l-auto\">\n {{ datapoint['yellowRangeMin'] }} \u2014 {{ datapoint['yellowRangeMax'] }}\n </span>\n }\n @case ('redRangeMin') {\n <span class=\"m-l-auto\">\n {{ datapoint['redRangeMin'] }} \u2014 {{ datapoint['redRangeMax'] }}\n </span>\n }\n @default {\n <span class=\"m-l-auto\">\n {{ datapoint[attribute.key] }}\n </span>\n }\n }\n </li>\n }\n }\n</ul>\n" }]
639
631
  }], propDecorators: { datapoint: [{
640
632
  type: Input
641
633
  }], attributes: [{