@quadrel-enterprise-ui/framework 20.32.0 → 20.32.2

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.
@@ -5796,19 +5796,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImpo
5796
5796
  }] } });
5797
5797
 
5798
5798
  /**
5799
- * @description Renders a checkmark icon if the value is true. Otherwise, it renders a "x" icon.
5799
+ * @description Renders a checkmark icon when the value is `true` and a "x" icon when it is `false`.
5800
5800
  *
5801
- * * Note: This is a base component for all potentially derived components and classes.
5801
+ * #### Notes & Best Practices:
5802
+ *
5803
+ * * The icon is only rendered when a value exists. `null` and `undefined` mean "no value"
5804
+ * and render nothing, so a cell without a value stays empty instead of showing a "x" icon.
5805
+ * * In a table or tree, group rows have no value of their own and therefore show no icon.
5806
+ * * This is a base component for all potentially derived components and classes.
5802
5807
  */
5803
5808
  class QdDataFacetsBooleanComponent {
5804
5809
  data;
5805
5810
  testId;
5811
+ hasValue = false;
5812
+ ngOnChanges() {
5813
+ this.hasValue = this.data !== null && this.data !== undefined;
5814
+ }
5806
5815
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: QdDataFacetsBooleanComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
5807
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.18", type: QdDataFacetsBooleanComponent, isStandalone: false, selector: "qd-data-facets-boolean", inputs: { data: "data", testId: "testId" }, host: { properties: { "attr.data-test-id": "testId" }, classAttribute: "qd-data-facets" }, ngImport: i0, template: "<qd-icon [icon]=\"data ? 'checkmark' : 'timesLarge'\"></qd-icon>\n", styles: [":host{font-size:1.25rem;text-align:center}\n"], dependencies: [{ kind: "component", type: QdIconComponent, selector: "qd-icon", inputs: ["icon", "status"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
5816
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.18", type: QdDataFacetsBooleanComponent, isStandalone: false, selector: "qd-data-facets-boolean", inputs: { data: "data", testId: "testId" }, host: { properties: { "attr.data-test-id": "testId" }, classAttribute: "qd-data-facets" }, usesOnChanges: true, ngImport: i0, template: "<qd-icon\n *ngIf=\"hasValue\"\n [attr.data-test-id]=\"testId ? testId + '-icon' : null\"\n [icon]=\"data ? 'checkmark' : 'timesLarge'\"\n></qd-icon>\n", styles: [":host{font-size:1.25rem;text-align:center}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: QdIconComponent, selector: "qd-icon", inputs: ["icon", "status"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
5808
5817
  }
5809
5818
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: QdDataFacetsBooleanComponent, decorators: [{
5810
5819
  type: Component,
5811
- args: [{ selector: 'qd-data-facets-boolean', host: { class: 'qd-data-facets', '[attr.data-test-id]': 'testId' }, changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<qd-icon [icon]=\"data ? 'checkmark' : 'timesLarge'\"></qd-icon>\n", styles: [":host{font-size:1.25rem;text-align:center}\n"] }]
5820
+ args: [{ selector: 'qd-data-facets-boolean', host: { class: 'qd-data-facets', '[attr.data-test-id]': 'testId' }, changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<qd-icon\n *ngIf=\"hasValue\"\n [attr.data-test-id]=\"testId ? testId + '-icon' : null\"\n [icon]=\"data ? 'checkmark' : 'timesLarge'\"\n></qd-icon>\n", styles: [":host{font-size:1.25rem;text-align:center}\n"] }]
5812
5821
  }], propDecorators: { data: [{
5813
5822
  type: Input
5814
5823
  }], testId: [{
@@ -6453,15 +6462,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImpo
6453
6462
  /**
6454
6463
  * @description Renders a progress bar.
6455
6464
  *
6456
- * The displayed text and the bar width are both derived from {@link normalizedValue},
6457
- * which clamps the input value to the inclusive range `[0, 100]` and falls back
6458
- * to `0` for `undefined` or `NaN`. A `null` value hides the bar entirely.
6465
+ * #### Features:
6466
+ *
6467
+ * * The displayed text and the bar width both come from {@link normalizedValue}.
6468
+ * * Values are clamped to the inclusive range `[0, 100]`. `NaN` falls back to `0`.
6469
+ * * A value of `0` is a real value and renders a bar with `0%`.
6470
+ *
6471
+ * #### Notes & Best Practices:
6472
+ *
6473
+ * * The bar is only rendered when a value exists. `null` and `undefined` mean "no value"
6474
+ * and render nothing at all, so rows without a value stay empty instead of showing `0%`.
6475
+ * * In a table or tree, a cell without a value keeps the column empty. Group rows of a tree
6476
+ * have no progress of their own and therefore show no bar.
6459
6477
  */
6460
6478
  class QdDataFacetsProgressComponent {
6461
6479
  data;
6462
6480
  testId;
6463
6481
  normalizedValue = 0;
6482
+ hasValue = false;
6464
6483
  ngOnChanges() {
6484
+ this.hasValue = this.data !== null && this.data !== undefined;
6465
6485
  this.normalizedValue = this.normalize(this.data);
6466
6486
  }
6467
6487
  normalize(value) {
@@ -6478,11 +6498,11 @@ class QdDataFacetsProgressComponent {
6478
6498
  return value;
6479
6499
  }
6480
6500
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: QdDataFacetsProgressComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
6481
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.18", type: QdDataFacetsProgressComponent, isStandalone: false, selector: "qd-data-facets-progress", inputs: { data: "data", testId: "testId" }, host: { properties: { "attr.data-test-id": "testId" }, classAttribute: "qd-data-facets" }, usesOnChanges: true, ngImport: i0, template: "<span class=\"qd-data-facets-progress-container\" *ngIf=\"data !== null\">\n <span class=\"qd-data-facets-progress-bar-container\">\n <span class=\"qd-data-facets-progress-bar-progress\" [style.width.%]=\"normalizedValue\"> </span>\n </span>\n\n <span class=\"qd-data-facets-progress-value\"> {{ normalizedValue }}% </span>\n</span>\n", styles: [":host{display:flex}:host .qd-data-facets-progress-container{position:relative;display:inline-flex;align-items:center}:host .qd-data-facets-progress-bar-container,:host .qd-data-facets-progress-bar-progress{display:block;height:1rem}:host .qd-data-facets-progress-bar-container{width:100%;min-width:6.25rem;flex-grow:1;background:#6ebee6}:host .qd-data-facets-progress-bar-progress{max-width:100%;background:#069}:host .qd-data-facets-progress-value{position:absolute;display:flex;width:100%;min-width:6.25rem;justify-content:center;margin:0 auto;color:#fff;font-size:.8125rem;font-weight:500}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
6501
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.18", type: QdDataFacetsProgressComponent, isStandalone: false, selector: "qd-data-facets-progress", inputs: { data: "data", testId: "testId" }, host: { properties: { "attr.data-test-id": "testId" }, classAttribute: "qd-data-facets" }, usesOnChanges: true, ngImport: i0, template: "<span class=\"qd-data-facets-progress-container\" *ngIf=\"hasValue\">\n <span class=\"qd-data-facets-progress-bar-container\">\n <span class=\"qd-data-facets-progress-bar-progress\" [style.width.%]=\"normalizedValue\"> </span>\n </span>\n\n <span class=\"qd-data-facets-progress-value\"> {{ normalizedValue }}% </span>\n</span>\n", styles: [":host{display:flex}:host .qd-data-facets-progress-container{position:relative;display:inline-flex;align-items:center}:host .qd-data-facets-progress-bar-container,:host .qd-data-facets-progress-bar-progress{display:block;height:1rem}:host .qd-data-facets-progress-bar-container{width:100%;min-width:6.25rem;flex-grow:1;background:#6ebee6}:host .qd-data-facets-progress-bar-progress{max-width:100%;background:#069}:host .qd-data-facets-progress-value{position:absolute;display:flex;width:100%;min-width:6.25rem;justify-content:center;margin:0 auto;color:#fff;font-size:.8125rem;font-weight:500}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
6482
6502
  }
6483
6503
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: QdDataFacetsProgressComponent, decorators: [{
6484
6504
  type: Component,
6485
- args: [{ selector: 'qd-data-facets-progress', host: { class: 'qd-data-facets', '[attr.data-test-id]': 'testId' }, changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<span class=\"qd-data-facets-progress-container\" *ngIf=\"data !== null\">\n <span class=\"qd-data-facets-progress-bar-container\">\n <span class=\"qd-data-facets-progress-bar-progress\" [style.width.%]=\"normalizedValue\"> </span>\n </span>\n\n <span class=\"qd-data-facets-progress-value\"> {{ normalizedValue }}% </span>\n</span>\n", styles: [":host{display:flex}:host .qd-data-facets-progress-container{position:relative;display:inline-flex;align-items:center}:host .qd-data-facets-progress-bar-container,:host .qd-data-facets-progress-bar-progress{display:block;height:1rem}:host .qd-data-facets-progress-bar-container{width:100%;min-width:6.25rem;flex-grow:1;background:#6ebee6}:host .qd-data-facets-progress-bar-progress{max-width:100%;background:#069}:host .qd-data-facets-progress-value{position:absolute;display:flex;width:100%;min-width:6.25rem;justify-content:center;margin:0 auto;color:#fff;font-size:.8125rem;font-weight:500}\n"] }]
6505
+ args: [{ selector: 'qd-data-facets-progress', host: { class: 'qd-data-facets', '[attr.data-test-id]': 'testId' }, changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<span class=\"qd-data-facets-progress-container\" *ngIf=\"hasValue\">\n <span class=\"qd-data-facets-progress-bar-container\">\n <span class=\"qd-data-facets-progress-bar-progress\" [style.width.%]=\"normalizedValue\"> </span>\n </span>\n\n <span class=\"qd-data-facets-progress-value\"> {{ normalizedValue }}% </span>\n</span>\n", styles: [":host{display:flex}:host .qd-data-facets-progress-container{position:relative;display:inline-flex;align-items:center}:host .qd-data-facets-progress-bar-container,:host .qd-data-facets-progress-bar-progress{display:block;height:1rem}:host .qd-data-facets-progress-bar-container{width:100%;min-width:6.25rem;flex-grow:1;background:#6ebee6}:host .qd-data-facets-progress-bar-progress{max-width:100%;background:#069}:host .qd-data-facets-progress-value{position:absolute;display:flex;width:100%;min-width:6.25rem;justify-content:center;margin:0 auto;color:#fff;font-size:.8125rem;font-weight:500}\n"] }]
6486
6506
  }], propDecorators: { data: [{
6487
6507
  type: Input
6488
6508
  }], testId: [{
@@ -28235,21 +28255,21 @@ class QdTreeRowComponent {
28235
28255
  const i18n = item.i18n;
28236
28256
  const config = item.options;
28237
28257
  const data = item.column ? this.rowData[item.column] : undefined;
28238
- const testId = this.testId + '-cell-' + item.index;
28258
+ const testId = this.testId + '-cell-' + (item.column || item.index) + '-value';
28239
28259
  const isTranslated = item.options && item.options.isTranslated !== undefined;
28240
28260
  return {
28241
- ...(data && { data }),
28261
+ ...(data !== undefined && { data }),
28242
28262
  ...(config && { config }),
28243
28263
  ...(i18n && isTranslated && { i18n }),
28244
28264
  ...(testId && { testId })
28245
28265
  };
28246
28266
  }
28247
28267
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: QdTreeRowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
28248
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.18", type: QdTreeRowComponent, isStandalone: false, selector: "[qd-tree-row]", inputs: { columnsDetails: "columnsDetails", indentation: "indentation", config: "config", testId: ["data-test-id", "testId"], rowData: "rowData", rowIndex: "rowIndex" }, host: { properties: { "attr.data-test-id": "this.testId" } }, providers: [QdDataFacetsContextService], ngImport: i0, template: "<ng-container *ngFor=\"let column of columnsDetails\">\n <ng-container [ngSwitch]=\"column.type\">\n <ng-container *ngSwitchCase=\"'group'\">\n <td\n (click)=\"onExpanderClick()\"\n [class]=\"\n [\n 'qd-tree-body-cell',\n 'qd-tree-body-cell-group',\n 'qd-tree-body-cell-group-index-' + indentation,\n getCellClass(column),\n rowData?.nestedRows ? ' expandable' : ''\n ].join(' ')\n \"\n [attr.data-test-id]=\"testId + '-cell-' + indentation\"\n >\n <ng-container *ngIf=\"rowData?.nestedRows\">\n <qd-icon\n *ngIf=\"!expanded\"\n class=\"expander\"\n [attr.data-test-id]=\"testId + '-opening-expander'\"\n [icon]=\"'ctrlRight'\"\n ></qd-icon>\n <qd-icon *ngIf=\"expanded\" class=\"expander\" [icon]=\"'ctrlDown'\"></qd-icon>\n </ng-container>\n\n <ng-container *ngFor=\"let groupedColumn of $any(column).groupedColumns; let itemIndex = index\">\n <span *ngIf=\"rowData[groupedColumn.column]\">{{ rowData[groupedColumn.column] }}</span>\n </ng-container>\n </td>\n </ng-container>\n\n <ng-container *ngIf=\"column.type !== 'group'\">\n <td [class]=\"'qd-tree-body-cell ' + getCellClass(column)\">\n <ng-container *ngComponentOutlet=\"getComponentType(column); inputs: getComponentInputs(column)\"></ng-container>\n </td>\n </ng-container>\n </ng-container>\n</ng-container>\n\n<td\n *ngIf=\"config.secondaryActions?.length > 0\"\n class=\"qd-tree-body-cell\"\n [attr.data-test-id]=\"testId + '-cell-inline-actions'\"\n qd-tree-row-actions-secondary-menu\n [config]=\"config\"\n [rowIndex]=\"columnsDetails[0].index\"\n [rowData]=\"rowData\"\n [testId]=\"testId + '-secondary-actions'\"\n></td>\n", styles: ["[qd-tree-row] .qd-data-facets{display:block}[qd-tree-row] qd-data-facets-progress.qd-data-facets{transform:translateY(.1875rem)}[qd-tree-row] qd-data-facets-chip.qd-data-facets{display:contents}[qd-tree-row] qd-data-facets-text.qd-data-facets{margin:.625rem 0}\n"], dependencies: [{ kind: "directive", type: i1.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"], exportAs: ["ngComponentOutlet"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: QdIconComponent, selector: "qd-icon", inputs: ["icon", "status"] }, { kind: "component", type: QdTreeRowActionsSecondaryMenuComponent, selector: "[qd-tree-row-actions-secondary-menu]", inputs: ["rowIndex", "rowData", "config", "testId"] }], encapsulation: i0.ViewEncapsulation.None });
28268
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.18", type: QdTreeRowComponent, isStandalone: false, selector: "[qd-tree-row]", inputs: { columnsDetails: "columnsDetails", indentation: "indentation", config: "config", testId: ["data-test-id", "testId"], rowData: "rowData", rowIndex: "rowIndex" }, host: { properties: { "attr.data-test-id": "this.testId" } }, providers: [QdDataFacetsContextService], ngImport: i0, template: "<ng-container *ngFor=\"let column of columnsDetails\">\n <ng-container [ngSwitch]=\"column.type\">\n <ng-container *ngSwitchCase=\"'group'\">\n <td\n (click)=\"onExpanderClick()\"\n [class]=\"\n [\n 'qd-tree-body-cell',\n 'qd-tree-body-cell-group',\n 'qd-tree-body-cell-group-index-' + indentation,\n getCellClass(column),\n rowData?.nestedRows ? ' expandable' : ''\n ].join(' ')\n \"\n [attr.data-test-id]=\"testId + '-cell-' + indentation\"\n >\n <ng-container *ngIf=\"rowData?.nestedRows\">\n <qd-icon\n *ngIf=\"!expanded\"\n class=\"expander\"\n [attr.data-test-id]=\"testId + '-opening-expander'\"\n [icon]=\"'ctrlRight'\"\n ></qd-icon>\n <qd-icon *ngIf=\"expanded\" class=\"expander\" [icon]=\"'ctrlDown'\"></qd-icon>\n </ng-container>\n\n <ng-container *ngFor=\"let groupedColumn of $any(column).groupedColumns; let itemIndex = index\">\n <span *ngIf=\"rowData[groupedColumn.column]\">{{ rowData[groupedColumn.column] }}</span>\n </ng-container>\n </td>\n </ng-container>\n\n <ng-container *ngIf=\"column.type !== 'group'\">\n <td\n [class]=\"'qd-tree-body-cell ' + getCellClass(column)\"\n [attr.data-test-id]=\"testId + '-cell-' + (column.column || column.index)\"\n >\n <ng-container *ngComponentOutlet=\"getComponentType(column); inputs: getComponentInputs(column)\"></ng-container>\n </td>\n </ng-container>\n </ng-container>\n</ng-container>\n\n<td\n *ngIf=\"config.secondaryActions?.length > 0\"\n class=\"qd-tree-body-cell\"\n [attr.data-test-id]=\"testId + '-cell-inline-actions'\"\n qd-tree-row-actions-secondary-menu\n [config]=\"config\"\n [rowIndex]=\"columnsDetails[0].index\"\n [rowData]=\"rowData\"\n [testId]=\"testId + '-secondary-actions'\"\n></td>\n", styles: ["[qd-tree-row] .qd-data-facets{display:block}[qd-tree-row] qd-data-facets-progress.qd-data-facets{transform:translateY(.1875rem)}[qd-tree-row] qd-data-facets-chip.qd-data-facets{display:contents}[qd-tree-row] qd-data-facets-text.qd-data-facets{margin:.625rem 0}\n"], dependencies: [{ kind: "directive", type: i1.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"], exportAs: ["ngComponentOutlet"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: QdIconComponent, selector: "qd-icon", inputs: ["icon", "status"] }, { kind: "component", type: QdTreeRowActionsSecondaryMenuComponent, selector: "[qd-tree-row-actions-secondary-menu]", inputs: ["rowIndex", "rowData", "config", "testId"] }], encapsulation: i0.ViewEncapsulation.None });
28249
28269
  }
28250
28270
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: QdTreeRowComponent, decorators: [{
28251
28271
  type: Component,
28252
- args: [{ selector: '[qd-tree-row]', encapsulation: ViewEncapsulation.None, providers: [QdDataFacetsContextService], standalone: false, template: "<ng-container *ngFor=\"let column of columnsDetails\">\n <ng-container [ngSwitch]=\"column.type\">\n <ng-container *ngSwitchCase=\"'group'\">\n <td\n (click)=\"onExpanderClick()\"\n [class]=\"\n [\n 'qd-tree-body-cell',\n 'qd-tree-body-cell-group',\n 'qd-tree-body-cell-group-index-' + indentation,\n getCellClass(column),\n rowData?.nestedRows ? ' expandable' : ''\n ].join(' ')\n \"\n [attr.data-test-id]=\"testId + '-cell-' + indentation\"\n >\n <ng-container *ngIf=\"rowData?.nestedRows\">\n <qd-icon\n *ngIf=\"!expanded\"\n class=\"expander\"\n [attr.data-test-id]=\"testId + '-opening-expander'\"\n [icon]=\"'ctrlRight'\"\n ></qd-icon>\n <qd-icon *ngIf=\"expanded\" class=\"expander\" [icon]=\"'ctrlDown'\"></qd-icon>\n </ng-container>\n\n <ng-container *ngFor=\"let groupedColumn of $any(column).groupedColumns; let itemIndex = index\">\n <span *ngIf=\"rowData[groupedColumn.column]\">{{ rowData[groupedColumn.column] }}</span>\n </ng-container>\n </td>\n </ng-container>\n\n <ng-container *ngIf=\"column.type !== 'group'\">\n <td [class]=\"'qd-tree-body-cell ' + getCellClass(column)\">\n <ng-container *ngComponentOutlet=\"getComponentType(column); inputs: getComponentInputs(column)\"></ng-container>\n </td>\n </ng-container>\n </ng-container>\n</ng-container>\n\n<td\n *ngIf=\"config.secondaryActions?.length > 0\"\n class=\"qd-tree-body-cell\"\n [attr.data-test-id]=\"testId + '-cell-inline-actions'\"\n qd-tree-row-actions-secondary-menu\n [config]=\"config\"\n [rowIndex]=\"columnsDetails[0].index\"\n [rowData]=\"rowData\"\n [testId]=\"testId + '-secondary-actions'\"\n></td>\n", styles: ["[qd-tree-row] .qd-data-facets{display:block}[qd-tree-row] qd-data-facets-progress.qd-data-facets{transform:translateY(.1875rem)}[qd-tree-row] qd-data-facets-chip.qd-data-facets{display:contents}[qd-tree-row] qd-data-facets-text.qd-data-facets{margin:.625rem 0}\n"] }]
28272
+ args: [{ selector: '[qd-tree-row]', encapsulation: ViewEncapsulation.None, providers: [QdDataFacetsContextService], standalone: false, template: "<ng-container *ngFor=\"let column of columnsDetails\">\n <ng-container [ngSwitch]=\"column.type\">\n <ng-container *ngSwitchCase=\"'group'\">\n <td\n (click)=\"onExpanderClick()\"\n [class]=\"\n [\n 'qd-tree-body-cell',\n 'qd-tree-body-cell-group',\n 'qd-tree-body-cell-group-index-' + indentation,\n getCellClass(column),\n rowData?.nestedRows ? ' expandable' : ''\n ].join(' ')\n \"\n [attr.data-test-id]=\"testId + '-cell-' + indentation\"\n >\n <ng-container *ngIf=\"rowData?.nestedRows\">\n <qd-icon\n *ngIf=\"!expanded\"\n class=\"expander\"\n [attr.data-test-id]=\"testId + '-opening-expander'\"\n [icon]=\"'ctrlRight'\"\n ></qd-icon>\n <qd-icon *ngIf=\"expanded\" class=\"expander\" [icon]=\"'ctrlDown'\"></qd-icon>\n </ng-container>\n\n <ng-container *ngFor=\"let groupedColumn of $any(column).groupedColumns; let itemIndex = index\">\n <span *ngIf=\"rowData[groupedColumn.column]\">{{ rowData[groupedColumn.column] }}</span>\n </ng-container>\n </td>\n </ng-container>\n\n <ng-container *ngIf=\"column.type !== 'group'\">\n <td\n [class]=\"'qd-tree-body-cell ' + getCellClass(column)\"\n [attr.data-test-id]=\"testId + '-cell-' + (column.column || column.index)\"\n >\n <ng-container *ngComponentOutlet=\"getComponentType(column); inputs: getComponentInputs(column)\"></ng-container>\n </td>\n </ng-container>\n </ng-container>\n</ng-container>\n\n<td\n *ngIf=\"config.secondaryActions?.length > 0\"\n class=\"qd-tree-body-cell\"\n [attr.data-test-id]=\"testId + '-cell-inline-actions'\"\n qd-tree-row-actions-secondary-menu\n [config]=\"config\"\n [rowIndex]=\"columnsDetails[0].index\"\n [rowData]=\"rowData\"\n [testId]=\"testId + '-secondary-actions'\"\n></td>\n", styles: ["[qd-tree-row] .qd-data-facets{display:block}[qd-tree-row] qd-data-facets-progress.qd-data-facets{transform:translateY(.1875rem)}[qd-tree-row] qd-data-facets-chip.qd-data-facets{display:contents}[qd-tree-row] qd-data-facets-text.qd-data-facets{margin:.625rem 0}\n"] }]
28253
28273
  }], propDecorators: { columnsDetails: [{
28254
28274
  type: Input
28255
28275
  }], indentation: [{
@@ -30929,7 +30949,7 @@ class QdPageTabHeaderComponent {
30929
30949
  */
30930
30950
  testId;
30931
30951
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: QdPageTabHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
30932
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.18", type: QdPageTabHeaderComponent, isStandalone: true, selector: "qd-page-tab-header", inputs: { state: "state", label: "label", counters: "counters", index: "index", isSelected: "isSelected", isDisabled: "isDisabled", testId: ["data-test-id", "testId"] }, host: { attributes: { "role": "tab" }, properties: { "attr.data-test-id": "testId", "class.qd-tab-current": "isSelected && !isDisabled", "class.qd-tab-disabled": "isDisabled", "class.qd-tab-done": "state === 'done'", "class.qd-tab-edit": "state === 'edit'", "class.qd-tab-error": "state === 'error'" } }, ngImport: i0, template: "<span class=\"qd-tab-caption\">\n {{ label }}\n <qd-page-tab-header-counters [counters]=\"counters\" [data-test-id]=\"testId + '-counters'\" />\n</span>\n", styles: [":host{position:relative;display:inline-flex;height:2.5rem;padding:.625rem 0;cursor:pointer;color:#757575;font-size:14px;font-weight:400;line-height:18px}:host .qd-tab-caption{font-weight:500;white-space:nowrap}:host:hover,:host.qd-tab-current{color:#069}:host.qd-tab-current .qd-tab-caption{position:relative}:host.qd-tab-current .qd-tab-caption:after{position:absolute;bottom:-.6875rem;left:0;display:inline-block;width:100%;height:.25rem;background-color:#069;content:\"\"}:host.qd-tab-done,:host.qd-tab-edit{color:#171717}:host.qd-tab-error{color:#c70023}:host.qd-tab-disabled{color:#b4b4b4;cursor:default}:host.qd-tab-disabled:hover{color:#b4b4b4}\n"], dependencies: [{ kind: "component", type: QdPageTabHeaderCountersComponent, selector: "qd-page-tab-header-counters", inputs: ["counters", "data-test-id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
30952
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.18", type: QdPageTabHeaderComponent, isStandalone: true, selector: "qd-page-tab-header", inputs: { state: "state", label: "label", counters: "counters", index: "index", isSelected: "isSelected", isDisabled: "isDisabled", testId: ["data-test-id", "testId"] }, host: { attributes: { "role": "tab" }, properties: { "attr.data-test-id": "testId", "class.qd-tab-current": "isSelected && !isDisabled", "class.qd-tab-disabled": "isDisabled", "class.qd-tab-done": "state === 'done'", "class.qd-tab-edit": "state === 'edit'", "class.qd-tab-error": "state === 'error'" } }, ngImport: i0, template: "<span class=\"qd-tab-caption\">\n {{ label }}\n <qd-page-tab-header-counters [counters]=\"counters\" [data-test-id]=\"testId + '-counters'\" />\n</span>\n", styles: [":host{position:relative;display:inline-flex;height:2.5rem;padding:.625rem 0;cursor:pointer;color:#171717;font-size:14px;font-weight:400;line-height:18px}:host .qd-tab-caption{font-weight:500;white-space:nowrap}:host:hover,:host.qd-tab-current{color:#069}:host.qd-tab-current .qd-tab-caption{position:relative}:host.qd-tab-current .qd-tab-caption:after{position:absolute;bottom:-.6875rem;left:0;display:inline-block;width:100%;height:.25rem;background-color:#069;content:\"\"}:host.qd-tab-done,:host.qd-tab-edit{color:#171717}:host.qd-tab-error{color:#c70023}:host.qd-tab-disabled{color:#b4b4b4;cursor:default}:host.qd-tab-disabled:hover{color:#b4b4b4}\n"], dependencies: [{ kind: "component", type: QdPageTabHeaderCountersComponent, selector: "qd-page-tab-header-counters", inputs: ["counters", "data-test-id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
30933
30953
  }
30934
30954
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: QdPageTabHeaderComponent, decorators: [{
30935
30955
  type: Component,
@@ -30941,7 +30961,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImpo
30941
30961
  '[class.qd-tab-done]': "state === 'done'",
30942
30962
  '[class.qd-tab-edit]': "state === 'edit'",
30943
30963
  '[class.qd-tab-error]': "state === 'error'"
30944
- }, standalone: true, imports: [QdPageTabHeaderCountersComponent], template: "<span class=\"qd-tab-caption\">\n {{ label }}\n <qd-page-tab-header-counters [counters]=\"counters\" [data-test-id]=\"testId + '-counters'\" />\n</span>\n", styles: [":host{position:relative;display:inline-flex;height:2.5rem;padding:.625rem 0;cursor:pointer;color:#757575;font-size:14px;font-weight:400;line-height:18px}:host .qd-tab-caption{font-weight:500;white-space:nowrap}:host:hover,:host.qd-tab-current{color:#069}:host.qd-tab-current .qd-tab-caption{position:relative}:host.qd-tab-current .qd-tab-caption:after{position:absolute;bottom:-.6875rem;left:0;display:inline-block;width:100%;height:.25rem;background-color:#069;content:\"\"}:host.qd-tab-done,:host.qd-tab-edit{color:#171717}:host.qd-tab-error{color:#c70023}:host.qd-tab-disabled{color:#b4b4b4;cursor:default}:host.qd-tab-disabled:hover{color:#b4b4b4}\n"] }]
30964
+ }, standalone: true, imports: [QdPageTabHeaderCountersComponent], template: "<span class=\"qd-tab-caption\">\n {{ label }}\n <qd-page-tab-header-counters [counters]=\"counters\" [data-test-id]=\"testId + '-counters'\" />\n</span>\n", styles: [":host{position:relative;display:inline-flex;height:2.5rem;padding:.625rem 0;cursor:pointer;color:#171717;font-size:14px;font-weight:400;line-height:18px}:host .qd-tab-caption{font-weight:500;white-space:nowrap}:host:hover,:host.qd-tab-current{color:#069}:host.qd-tab-current .qd-tab-caption{position:relative}:host.qd-tab-current .qd-tab-caption:after{position:absolute;bottom:-.6875rem;left:0;display:inline-block;width:100%;height:.25rem;background-color:#069;content:\"\"}:host.qd-tab-done,:host.qd-tab-edit{color:#171717}:host.qd-tab-error{color:#c70023}:host.qd-tab-disabled{color:#b4b4b4;cursor:default}:host.qd-tab-disabled:hover{color:#b4b4b4}\n"] }]
30945
30965
  }], propDecorators: { state: [{
30946
30966
  type: Input
30947
30967
  }], label: [{
@@ -30965,7 +30985,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImpo
30965
30985
  */
30966
30986
  class QdPageTabComponent {
30967
30987
  _pageTabs = inject(forwardRef(() => QdPageTabsComponent));
30968
- translate = inject(TranslateService);
30969
30988
  /**
30970
30989
  * Configuration of QdPageTabComponent.
30971
30990
  *