@c8y/ngx-components 1023.14.136 → 1023.14.139

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.
@@ -21684,6 +21684,7 @@ class PlatformDetailsService {
21684
21684
  // self link should still allow to identify the actual environment of the tenant
21685
21685
  const tenantSelfLink = this.appState.currentTenant.value?.self;
21686
21686
  const tenantDomainName = this.appState.currentTenant.value?.domainName;
21687
+ const parentTenantId = this.appState.currentTenant.value?.parent;
21687
21688
  const applicationKey = this.appState.currentApplication.value?.key;
21688
21689
  const applicationId = this.appState.currentApplication.value?.id;
21689
21690
  const time = new Date().toISOString();
@@ -21693,6 +21694,7 @@ class PlatformDetailsService {
21693
21694
  tenantId,
21694
21695
  tenantSelfLink,
21695
21696
  tenantDomainName,
21697
+ parentTenantId,
21696
21698
  url,
21697
21699
  userId,
21698
21700
  userPermissions,
@@ -21703,9 +21705,7 @@ class PlatformDetailsService {
21703
21705
  return obj;
21704
21706
  }
21705
21707
  async getVersions() {
21706
- const versions = await this.version.items$
21707
- .pipe(take(1), map(versions => this.version.cleanUpVersions(versions)))
21708
- .toPromise();
21708
+ const versions = await firstValueFrom(this.version.items$.pipe(take(1), map(versions => this.version.cleanUpVersions(versions))));
21709
21709
  return versions;
21710
21710
  }
21711
21711
  async getMicroserviceVersions(userId) {
@@ -21720,7 +21720,7 @@ class PlatformDetailsService {
21720
21720
  .map(app => {
21721
21721
  return {
21722
21722
  label: app.name,
21723
- version: app.manifest.version,
21723
+ version: app.manifest?.version,
21724
21724
  type: app.type,
21725
21725
  custom: {
21726
21726
  owner: app.owner?.tenant?.id,
@@ -32035,19 +32035,6 @@ class CustomColumn extends BaseColumn {
32035
32035
  }
32036
32036
  }
32037
32037
 
32038
- class ExpandableHeaderCellRendererComponent {
32039
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ExpandableHeaderCellRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
32040
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.18", type: ExpandableHeaderCellRendererComponent, isStandalone: true, selector: "c8y-expandable-header-cell-renderer", ngImport: i0, template: ` `, isInline: true }); }
32041
- }
32042
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ExpandableHeaderCellRendererComponent, decorators: [{
32043
- type: Component,
32044
- args: [{
32045
- template: ` `,
32046
- selector: 'c8y-expandable-header-cell-renderer',
32047
- standalone: true
32048
- }]
32049
- }] });
32050
-
32051
32038
  class ExpandableCellRendererComponent {
32052
32039
  constructor(context, dataGridComponent, // forwardRef is needed because of circular dependency
32053
32040
  cd) {
@@ -32127,6 +32114,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImpo
32127
32114
  args: [forwardRef(() => DataGridComponent)]
32128
32115
  }] }, { type: i0.ChangeDetectorRef }] });
32129
32116
 
32117
+ class ExpandableHeaderCellRendererComponent {
32118
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ExpandableHeaderCellRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
32119
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.18", type: ExpandableHeaderCellRendererComponent, isStandalone: true, selector: "c8y-expandable-header-cell-renderer", ngImport: i0, template: ` `, isInline: true }); }
32120
+ }
32121
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ExpandableHeaderCellRendererComponent, decorators: [{
32122
+ type: Component,
32123
+ args: [{
32124
+ template: ` `,
32125
+ selector: 'c8y-expandable-header-cell-renderer',
32126
+ standalone: true
32127
+ }]
32128
+ }] });
32129
+
32130
32130
  class ExpandableRowColumn {
32131
32131
  constructor() {
32132
32132
  this.name = 'expander';
@@ -32134,6 +32134,7 @@ class ExpandableRowColumn {
32134
32134
  this.dataType = "icon" /* ColumnDataType.Icon */;
32135
32135
  this.headerCellRendererComponent = ExpandableHeaderCellRendererComponent;
32136
32136
  this.cellRendererComponent = ExpandableCellRendererComponent;
32137
+ this.positionFixed = true;
32137
32138
  this.gridTrackSize = '64px';
32138
32139
  this.filterable = false;
32139
32140
  this.sortable = false;
@@ -32242,6 +32243,7 @@ class TreeNodeColumn {
32242
32243
  this.dataType = "icon" /* ColumnDataType.Icon */;
32243
32244
  this.headerCellRendererComponent = TreeNodeHeaderCellRendererComponent;
32244
32245
  this.cellRendererComponent = TreeNodeCellRendererComponent;
32246
+ this.positionFixed = true;
32245
32247
  this.filterable = false;
32246
32248
  this.sortable = false;
32247
32249
  }