@fundamental-ngx/platform 0.44.0-rc.2 → 0.44.0-rc.3

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 (51) hide show
  1. package/esm2022/message-popover/components/message-popover-form-wrapper/message-popover-form-wrapper.component.mjs +31 -29
  2. package/esm2022/message-popover/components/message-view/message-view.component.mjs +12 -11
  3. package/esm2022/message-popover/message-popover.component.mjs +21 -22
  4. package/esm2022/settings-generator/layouts/base-settings-generator-layout.mjs +3 -3
  5. package/esm2022/settings-generator/layouts/settings-generator-sidebar-layout/settings-generator-sidebar-icon/settings-generator-sidebar-icon.component.mjs +8 -8
  6. package/esm2022/settings-generator/layouts/settings-generator-sidebar-layout/settings-generator-sidebar-layout.component.mjs +18 -17
  7. package/esm2022/settings-generator/settings-generator.component.mjs +14 -17
  8. package/esm2022/smart-filter-bar/smart-filter-bar.component.mjs +20 -21
  9. package/esm2022/table/components/table-cell-header-popover/table-cell-header-popover.component.mjs +14 -13
  10. package/esm2022/table/components/table-column-resizer/table-column-resizer.component.mjs +14 -11
  11. package/esm2022/table/components/table-header-row/table-header-row.component.mjs +7 -9
  12. package/esm2022/table/components/table-popping-row/table-popping-row.component.mjs +5 -7
  13. package/esm2022/table/components/table-row/table-row.component.mjs +31 -32
  14. package/esm2022/table-helpers/directives/table-cell-resizable.directive.mjs +5 -4
  15. package/esm2022/table-helpers/directives/table-data-source.directive.mjs +8 -12
  16. package/esm2022/table-helpers/directives/table-header-resizer.directive.mjs +10 -11
  17. package/esm2022/table-helpers/directives/table-scrollable.directive.mjs +9 -15
  18. package/esm2022/table-helpers/directives/table-virtual-scroll.directive.mjs +5 -8
  19. package/esm2022/variant-management/components/variant-management-wrapper/variant-management-wrapper.component.mjs +13 -16
  20. package/fesm2022/fundamental-ngx-platform-message-popover.mjs +54 -50
  21. package/fesm2022/fundamental-ngx-platform-message-popover.mjs.map +1 -1
  22. package/fesm2022/fundamental-ngx-platform-settings-generator.mjs +31 -33
  23. package/fesm2022/fundamental-ngx-platform-settings-generator.mjs.map +1 -1
  24. package/fesm2022/fundamental-ngx-platform-smart-filter-bar.mjs +27 -26
  25. package/fesm2022/fundamental-ngx-platform-smart-filter-bar.mjs.map +1 -1
  26. package/fesm2022/fundamental-ngx-platform-table-helpers.mjs +23 -35
  27. package/fesm2022/fundamental-ngx-platform-table-helpers.mjs.map +1 -1
  28. package/fesm2022/fundamental-ngx-platform-table.mjs +56 -59
  29. package/fesm2022/fundamental-ngx-platform-table.mjs.map +1 -1
  30. package/fesm2022/fundamental-ngx-platform-variant-management.mjs +15 -16
  31. package/fesm2022/fundamental-ngx-platform-variant-management.mjs.map +1 -1
  32. package/fundamental-ngx-platform-v0.44.0-rc.3.tgz +0 -0
  33. package/message-popover/components/message-popover-form-wrapper/message-popover-form-wrapper.component.d.ts +22 -21
  34. package/message-popover/components/message-view/message-view.component.d.ts +4 -5
  35. package/message-popover/message-popover.component.d.ts +7 -6
  36. package/package.json +4 -4
  37. package/schematics/ng-add/index.js +1 -1
  38. package/settings-generator/layouts/base-settings-generator-layout.d.ts +16 -17
  39. package/settings-generator/layouts/settings-generator-sidebar-layout/settings-generator-sidebar-icon/settings-generator-sidebar-icon.component.d.ts +3 -3
  40. package/settings-generator/layouts/settings-generator-sidebar-layout/settings-generator-sidebar-layout.component.d.ts +6 -7
  41. package/settings-generator/settings-generator.component.d.ts +8 -8
  42. package/smart-filter-bar/smart-filter-bar.component.d.ts +11 -12
  43. package/table/components/table-cell-header-popover/table-cell-header-popover.component.d.ts +3 -3
  44. package/table/components/table-column-resizer/table-column-resizer.component.d.ts +1 -1
  45. package/table/components/table-row/table-row.component.d.ts +10 -10
  46. package/table-helpers/directives/table-data-source.directive.d.ts +11 -13
  47. package/table-helpers/directives/table-header-resizer.directive.d.ts +3 -3
  48. package/table-helpers/directives/table-scrollable.directive.d.ts +1 -1
  49. package/table-helpers/directives/table-virtual-scroll.directive.d.ts +1 -1
  50. package/variant-management/components/variant-management-wrapper/variant-management-wrapper.component.d.ts +1 -3
  51. package/fundamental-ngx-platform-v0.44.0-rc.2.tgz +0 -0
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, ViewEncapsulation, InjectionToken, Inject, Optional, Host, Input, ContentChild, inject, Pipe, EventEmitter, Output, ViewChild, TemplateRef, forwardRef, ContentChildren, ViewChildren, ChangeDetectorRef, NgZone, ElementRef, HostBinding, NgModule } from '@angular/core';
2
+ import { Component, ChangeDetectionStrategy, ViewEncapsulation, InjectionToken, Inject, Optional, Host, Input, ContentChild, inject, DestroyRef, Pipe, EventEmitter, Output, ViewChild, TemplateRef, forwardRef, ContentChildren, ViewChildren, ChangeDetectorRef, NgZone, ElementRef, HostBinding, NgModule } from '@angular/core';
3
3
  import * as i1$1 from '@angular/common';
4
4
  import { DOCUMENT, CommonModule } from '@angular/common';
5
5
  import * as i2$1 from '@angular/forms';
@@ -34,7 +34,7 @@ import { SelectModule } from '@fundamental-ngx/core/select';
34
34
  import * as i2$2 from '@fundamental-ngx/core/table';
35
35
  import { TableRowDirective, TableComponent as TableComponent$1, TableModule } from '@fundamental-ngx/core/table';
36
36
  import * as i2 from '@fundamental-ngx/cdk/utils';
37
- import { DestroyedService, TemplateDirective, RtlService, KeyUtil, FDK_FOCUSABLE_LIST_DIRECTIVE, FDK_FOCUSABLE_ITEM_DIRECTIVE, RangeSelector, resizeObservable, FDK_FOCUSABLE_GRID_DIRECTIVE, PipeModule, DragAndDropModule, RepeatModule, DisabledBehaviorModule, IntersectionSpyDirective, ClickedBehaviorModule } from '@fundamental-ngx/cdk/utils';
37
+ import { TemplateDirective, RtlService, destroyObservable, KeyUtil, FDK_FOCUSABLE_LIST_DIRECTIVE, FDK_FOCUSABLE_ITEM_DIRECTIVE, RangeSelector, resizeObservable, FDK_FOCUSABLE_GRID_DIRECTIVE, PipeModule, DragAndDropModule, RepeatModule, DisabledBehaviorModule, IntersectionSpyDirective, ClickedBehaviorModule } from '@fundamental-ngx/cdk/utils';
38
38
  import * as i3$2 from '@fundamental-ngx/core/toolbar';
39
39
  import { ToolbarModule } from '@fundamental-ngx/core/toolbar';
40
40
  import { ScrollbarModule } from '@fundamental-ngx/core/scrollbar';
@@ -59,7 +59,8 @@ export * from '@fundamental-ngx/platform/table-helpers';
59
59
  import { DOWN_ARROW, UP_ARROW, SPACE } from '@angular/cdk/keycodes';
60
60
  import equal$1 from 'fast-deep-equal';
61
61
  import { fromEvent, BehaviorSubject, Subscription, combineLatest, Subject, merge, of } from 'rxjs';
62
- import { takeUntil, take, skip, debounceTime, filter, startWith, switchMap, map, distinctUntilChanged, tap } from 'rxjs/operators';
62
+ import { take, skip, debounceTime, filter, takeUntil, startWith, switchMap, map, distinctUntilChanged, tap } from 'rxjs/operators';
63
+ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
63
64
  import * as i4 from '@fundamental-ngx/core/bar';
64
65
  import * as i5 from '@fundamental-ngx/core/title';
65
66
  import equal from 'fast-deep-equal/es6';
@@ -290,18 +291,20 @@ class PlatformTableColumnResizerComponent {
290
291
  this._document = _document;
291
292
  this._rtlService = _rtlService;
292
293
  /** @hidden */
293
- this._destroy$ = inject(DestroyedService);
294
+ this._destroyRef = inject(DestroyRef);
294
295
  }
295
296
  /** @hidden */
296
297
  ngOnInit() {
297
298
  this._ngZone.runOutsideAngular(() => {
298
299
  fromEvent(this._elmRef.nativeElement, 'mousedown')
299
- .pipe(takeUntil(this._destroy$))
300
+ .pipe(takeUntilDestroyed(this._destroyRef))
300
301
  .subscribe((evt) => {
301
302
  this._tableColumnResizeService.startResize(evt);
302
303
  this._listenForMouseUp();
303
304
  });
304
- this._tableColumnResizeService.resizerPosition$.pipe(takeUntil(this._destroy$)).subscribe((position) => {
305
+ this._tableColumnResizeService.resizerPosition$
306
+ .pipe(takeUntilDestroyed(this._destroyRef))
307
+ .subscribe((position) => {
305
308
  this._renderer.setStyle(this._elmRef.nativeElement, 'display', position > 0 ? 'block' : 'none');
306
309
  if (!position) {
307
310
  return;
@@ -310,7 +313,7 @@ class PlatformTableColumnResizerComponent {
310
313
  this._renderer.setStyle(this._elmRef.nativeElement, 'right', !this._rtl ? 'auto' : `${position}px`);
311
314
  });
312
315
  this._tableColumnResizeService.resizeInProgress$
313
- .pipe(takeUntil(this._destroy$))
316
+ .pipe(takeUntilDestroyed(this._destroyRef))
314
317
  .subscribe((resizeInProgress) => {
315
318
  if (resizeInProgress) {
316
319
  this._renderer.addClass(this._elmRef.nativeElement, 'fdp-table-column-resizer--active');
@@ -329,7 +332,7 @@ class PlatformTableColumnResizerComponent {
329
332
  return;
330
333
  }
331
334
  this._pointerMoveListener = fromEvent(this._document, 'mouseup')
332
- .pipe(take(1), takeUntil(this._destroy$))
335
+ .pipe(take(1), takeUntilDestroyed(this._destroyRef))
333
336
  .subscribe((event) => {
334
337
  this._tableColumnResizeService.finishResize(event);
335
338
  // this._cd.markForCheck();
@@ -337,11 +340,11 @@ class PlatformTableColumnResizerComponent {
337
340
  });
338
341
  }
339
342
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: PlatformTableColumnResizerComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i1.TableColumnResizeService }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: DOCUMENT }, { token: i2.RtlService, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
340
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", type: PlatformTableColumnResizerComponent, selector: "fdp-table-column-resizer", host: { classAttribute: "fdp-table-column-resizer" }, providers: [DestroyedService], ngImport: i0, template: `<div class="fdp-table__resizer-inner"></div>`, isInline: true, styles: [".fdp-table-column-resizer{cursor:col-resize;position:absolute;width:0;top:0;left:-10000px;opacity:.5;z-index:999;border-left-style:solid;border-right-style:solid;border-left:3px solid var(--sapContent_DragAndDropActiveColor, #0854a0);border-right:3px solid var(--sapContent_DragAndDropActiveColor, #0854a0);-webkit-user-select:none;user-select:none}.fdp-table-column-resizer--active{opacity:1}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
343
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", type: PlatformTableColumnResizerComponent, selector: "fdp-table-column-resizer", host: { classAttribute: "fdp-table-column-resizer" }, ngImport: i0, template: ` <div class="fdp-table__resizer-inner"></div>`, isInline: true, styles: [".fdp-table-column-resizer{cursor:col-resize;position:absolute;width:0;top:0;left:-10000px;opacity:.5;z-index:999;border-left-style:solid;border-right-style:solid;border-left:3px solid var(--sapContent_DragAndDropActiveColor, #0854a0);border-right:3px solid var(--sapContent_DragAndDropActiveColor, #0854a0);-webkit-user-select:none;user-select:none}.fdp-table-column-resizer--active{opacity:1}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
341
344
  }
342
345
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: PlatformTableColumnResizerComponent, decorators: [{
343
346
  type: Component,
344
- args: [{ selector: `fdp-table-column-resizer`, template: `<div class="fdp-table__resizer-inner"></div>`, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [DestroyedService], host: {
347
+ args: [{ selector: `fdp-table-column-resizer`, template: ` <div class="fdp-table__resizer-inner"></div>`, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
345
348
  class: 'fdp-table-column-resizer'
346
349
  }, styles: [".fdp-table-column-resizer{cursor:col-resize;position:absolute;width:0;top:0;left:-10000px;opacity:.5;z-index:999;border-left-style:solid;border-right-style:solid;border-left:3px solid var(--sapContent_DragAndDropActiveColor, #0854a0);border-right:3px solid var(--sapContent_DragAndDropActiveColor, #0854a0);-webkit-user-select:none;user-select:none}.fdp-table-column-resizer--active{opacity:1}\n"] }]
347
350
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i1.TableColumnResizeService }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: Document, decorators: [{
@@ -2390,12 +2393,6 @@ class TableCellHeaderPopoverComponent {
2390
2393
  /** @hidden */
2391
2394
  this._popoverItems$ = new BehaviorSubject([]);
2392
2395
  /** @hidden */
2393
- this.SORT_DIRECTION = SortDirection;
2394
- /** @hidden */
2395
- this._destroy$ = inject(DestroyedService);
2396
- /** @hidden */
2397
- this._tableService = inject(TableService);
2398
- /** @hidden */
2399
2396
  this._headerPopoverTriggers = [
2400
2397
  {
2401
2398
  trigger: 'click',
@@ -2416,10 +2413,16 @@ class TableCellHeaderPopoverComponent {
2416
2413
  stopPropagation: true
2417
2414
  }
2418
2415
  ];
2416
+ /** @hidden */
2417
+ this.SORT_DIRECTION = SortDirection;
2418
+ /** @hidden */
2419
+ this._destroyRef = inject(DestroyRef);
2420
+ /** @hidden */
2421
+ this._tableService = inject(TableService);
2419
2422
  }
2420
2423
  /** @hidden */
2421
2424
  ngAfterViewInit() {
2422
- this._popoverItems.changes.pipe(startWith(null), takeUntil(this._destroy$)).subscribe(() => {
2425
+ this._popoverItems.changes.pipe(startWith(null), takeUntilDestroyed(this._destroyRef)).subscribe(() => {
2423
2426
  this._popoverItems$.next(this._popoverItems.map((t) => t.templateRef));
2424
2427
  });
2425
2428
  }
@@ -2454,11 +2457,11 @@ class TableCellHeaderPopoverComponent {
2454
2457
  this._tableService.addFilters([collectionFilter]);
2455
2458
  }
2456
2459
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: TableCellHeaderPopoverComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2457
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", type: TableCellHeaderPopoverComponent, selector: "fdp-table-cell-header-popover", inputs: { column: "column", popoverTemplate: "popoverTemplate", disabled: "disabled", columnFrozen: "columnFrozen", filteringFromHeaderDisabled: "filteringFromHeaderDisabled" }, outputs: { freezeToColumn: "freezeToColumn", unFreeze: "unFreeze" }, providers: [DestroyedService], viewQueries: [{ propertyName: "popover", first: true, predicate: PopoverComponent, descendants: true }, { propertyName: "_popoverItems", predicate: TemplateDirective, descendants: true }], ngImport: i0, template: "<fd-popover\n [disabled]=\"disabled\"\n [noArrow]=\"true\"\n fd-table-popover\n [focusAutoCapture]=\"true\"\n [focusTrapped]=\"true\"\n *ngIf=\"!popoverTemplate; else projectedPopover\"\n [triggers]=\"_headerPopoverTriggers\"\n>\n <fdp-list [noBorder]=\"true\" [navigated]=\"true\">\n <fdp-free-content-list-item *ngFor=\"let item of _popoverItems$.asObservable() | async\">\n <ng-template [ngTemplateOutlet]=\"item\" [ngTemplateOutletContext]=\"{ popover: popover }\"></ng-template>\n </fdp-free-content-list-item>\n </fdp-list>\n</fd-popover>\n<ng-template #projectedPopover>\n <ng-template\n [ngTemplateOutlet]=\"popoverTemplate!\"\n [ngTemplateOutletContext]=\"{ $implicit: _popoverItems$.asObservable() }\"\n ></ng-template>\n</ng-template>\n\n<ng-container *ngIf=\"column?.sortable\">\n <ng-template fdkTemplate=\"sortingAscPopoverItem\" let-popover=\"popover\">\n <a\n fd-list-link\n [focusable]=\"true\"\n (click)=\"_setColumnHeaderSortBy(column.key, SORT_DIRECTION.ASC); popover?.close()\"\n (keydown.enter)=\"_setColumnHeaderSortBy(column.key, SORT_DIRECTION.ASC); popover?.close()\"\n >\n <span fd-list-icon glyph=\"sort-ascending\"></span>\n <span fd-list-title>{{ 'platformTable.headerMenuSortAsc' | fdTranslate }}</span>\n </a>\n </ng-template>\n <ng-template fdkTemplate=\"sortingDescPopoverItem\" let-popover=\"popover\">\n <a\n fd-list-link\n [focusable]=\"true\"\n (click)=\"_setColumnHeaderSortBy(column.key, SORT_DIRECTION.DESC); popover?.close()\"\n (keydown.enter)=\"_setColumnHeaderSortBy(column.key, SORT_DIRECTION.DESC); popover?.close()\"\n >\n <span fd-list-icon glyph=\"sort-descending\"></span>\n <span fd-list-title>{{ 'platformTable.headerMenuSortDesc' | fdTranslate }}</span>\n </a>\n </ng-template>\n</ng-container>\n\n<ng-container *ngIf=\"column?.groupable\">\n <ng-template fdkTemplate=\"groupPopoverItem\" let-popover=\"popover\">\n <a\n fd-list-link\n [focusable]=\"true\"\n (click)=\"_setColumnHeaderGroupBy(column.key); popover?.close()\"\n (keydown.enter)=\"_setColumnHeaderGroupBy(column.key); popover?.close()\"\n >\n <span fd-list-icon></span>\n <span fd-list-title>{{ 'platformTable.headerMenuGroup' | fdTranslate }}</span>\n </a>\n </ng-template>\n</ng-container>\n\n<ng-container *ngIf=\"column?.freezable || column?.endFreezable\">\n <ng-template fdkTemplate=\"freezePopoverItem\" let-popover=\"popover\">\n <ng-container *ngIf=\"columnFrozen; else unfreezeTpl\">\n <a\n fd-list-link\n [focusable]=\"true\"\n (click)=\"\n freezeToColumn.emit({ name: column.name, endFreezable: column.endFreezable }); popover?.close()\n \"\n (keyup.enter)=\"\n freezeToColumn.emit({ name: column.name, endFreezable: column.endFreezable }); popover?.close()\n \"\n >\n <span></span>\n <span fd-list-title *ngIf=\"!column.endFreezable\">{{\n 'platformTable.headerMenuFreeze' | fdTranslate\n }}</span>\n <span fd-list-title *ngIf=\"column.endFreezable\">{{\n 'platformTable.headerMenuEndFreeze' | fdTranslate\n }}</span>\n </a>\n </ng-container>\n <ng-template #unfreezeTpl>\n <a\n fd-list-link\n [focusable]=\"true\"\n (click)=\"unFreeze.emit({ name: column.name, endFreezable: column.endFreezable }); popover?.close()\"\n (keyup.enter)=\"\n unFreeze.emit({ name: column.name, endFreezable: column.endFreezable }); popover?.close()\n \"\n >\n <span></span>\n <span fd-list-title>{{ 'platformTable.headerMenuUnfreeze' | fdTranslate }}</span>\n </a>\n </ng-template>\n </ng-template>\n</ng-container>\n\n<ng-container *ngIf=\"column?.filterable && !filteringFromHeaderDisabled\">\n <ng-template fdkTemplate=\"filteringPopoverItem\" let-popover=\"popover\">\n <div fd-list-link style=\"cursor: auto\">\n <i fd-list-icon glyph=\"filter\"></i>\n <div fd-form-item [horizontal]=\"true\" (click)=\"$event.stopPropagation()\">\n <label fd-form-label [for]=\"'fdp-table-column-filtering-' + column.name\">{{\n 'platformTable.headerMenuFilter' | fdTranslate\n }}</label>\n <input\n fd-form-control\n [id]=\"'fdp-table-column-filtering-' + column.name\"\n (keydown.enter)=\"_setColumnHeaderFilterBy(column.key, $any($event.target)?.value); popover?.close()\"\n />\n </div>\n </div>\n </ng-template>\n</ng-container>\n", dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2$2.TablePopoverDirective, selector: "[fdTablePopover], [fd-table-popover]" }, { kind: "component", type: i3$1.FormControlComponent, selector: "[fd-form-control]", inputs: ["state", "type", "class", "ariaLabel", "ariaLabelledBy"] }, { kind: "directive", type: i3$1.InputFormControlDirective, selector: "input[fd-form-control]" }, { kind: "component", type: i3$1.FormItemComponent, selector: "[fd-form-item]", inputs: ["isInline", "horizontal"] }, { kind: "component", type: i3$1.FormLabelComponent, selector: "[fd-form-label]", inputs: ["required", "colon", "checkbox", "radio", "alignLabelEnd", "inlineHelpTitle", "inlineHelpContent", "inlineHelpGlyph", "inlineHelpTriggers", "inlineHelpBodyPlacement", "inlineHelpPlacement", "inlineHelpLabel", "id"] }, { kind: "component", type: i4$3.PopoverComponent, selector: "fd-popover", inputs: ["title", "trigger", "fixedPosition", "id", "mobile", "mobileConfig"] }, { kind: "directive", type: i6$1.ListTitleDirective, selector: "[fd-list-title], [fdListTitle]", inputs: ["wrap"] }, { kind: "directive", type: i6$1.ListIconDirective, selector: "[fdListIcon], [fd-list-icon]", inputs: ["glyph", "class", "role"] }, { kind: "directive", type: i6$1.ListLinkDirective, selector: "[fd-list-link], [fdListLink]", inputs: ["navigationIndicator", "navigated", "focusable"] }, { kind: "directive", type: i2.TemplateDirective, selector: "[fdkTemplate], [fdTemplate]", inputs: ["fdkTemplate"] }, { kind: "component", type: i7$2.ListComponent, selector: "fdp-list", inputs: ["selectedItems", "ariaSetsize", "ariaMultiselectable", "loadTitle", "loadingLabel", "delayTime", "itemSize", "loadMore", "loadOnScroll", "role", "listType", "maxHeight", "noBorder", "scrollOffsetPercentage", "selection", "selectionMode", "value", "rowSelection", "dataSource", "navigated", "navigationIndicator", "hasByLine", "hasObject", "unreadIndicator"], outputs: ["selectedItemChange"] }, { kind: "component", type: i7$2.FreeContentListItemComponent, selector: "fdp-free-content-list-item" }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i11.FdTranslatePipe, name: "fdTranslate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
2460
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", type: TableCellHeaderPopoverComponent, selector: "fdp-table-cell-header-popover", inputs: { column: "column", popoverTemplate: "popoverTemplate", disabled: "disabled", columnFrozen: "columnFrozen", filteringFromHeaderDisabled: "filteringFromHeaderDisabled" }, outputs: { freezeToColumn: "freezeToColumn", unFreeze: "unFreeze" }, viewQueries: [{ propertyName: "popover", first: true, predicate: PopoverComponent, descendants: true }, { propertyName: "_popoverItems", predicate: TemplateDirective, descendants: true }], ngImport: i0, template: "<fd-popover\n [disabled]=\"disabled\"\n [noArrow]=\"true\"\n fd-table-popover\n [focusAutoCapture]=\"true\"\n [focusTrapped]=\"true\"\n *ngIf=\"!popoverTemplate; else projectedPopover\"\n [triggers]=\"_headerPopoverTriggers\"\n>\n <fdp-list [noBorder]=\"true\" [navigated]=\"true\">\n <fdp-free-content-list-item *ngFor=\"let item of _popoverItems$.asObservable() | async\">\n <ng-template [ngTemplateOutlet]=\"item\" [ngTemplateOutletContext]=\"{ popover: popover }\"></ng-template>\n </fdp-free-content-list-item>\n </fdp-list>\n</fd-popover>\n<ng-template #projectedPopover>\n <ng-template\n [ngTemplateOutlet]=\"popoverTemplate!\"\n [ngTemplateOutletContext]=\"{ $implicit: _popoverItems$.asObservable() }\"\n ></ng-template>\n</ng-template>\n\n<ng-container *ngIf=\"column?.sortable\">\n <ng-template fdkTemplate=\"sortingAscPopoverItem\" let-popover=\"popover\">\n <a\n fd-list-link\n [focusable]=\"true\"\n (click)=\"_setColumnHeaderSortBy(column.key, SORT_DIRECTION.ASC); popover?.close()\"\n (keydown.enter)=\"_setColumnHeaderSortBy(column.key, SORT_DIRECTION.ASC); popover?.close()\"\n >\n <span fd-list-icon glyph=\"sort-ascending\"></span>\n <span fd-list-title>{{ 'platformTable.headerMenuSortAsc' | fdTranslate }}</span>\n </a>\n </ng-template>\n <ng-template fdkTemplate=\"sortingDescPopoverItem\" let-popover=\"popover\">\n <a\n fd-list-link\n [focusable]=\"true\"\n (click)=\"_setColumnHeaderSortBy(column.key, SORT_DIRECTION.DESC); popover?.close()\"\n (keydown.enter)=\"_setColumnHeaderSortBy(column.key, SORT_DIRECTION.DESC); popover?.close()\"\n >\n <span fd-list-icon glyph=\"sort-descending\"></span>\n <span fd-list-title>{{ 'platformTable.headerMenuSortDesc' | fdTranslate }}</span>\n </a>\n </ng-template>\n</ng-container>\n\n<ng-container *ngIf=\"column?.groupable\">\n <ng-template fdkTemplate=\"groupPopoverItem\" let-popover=\"popover\">\n <a\n fd-list-link\n [focusable]=\"true\"\n (click)=\"_setColumnHeaderGroupBy(column.key); popover?.close()\"\n (keydown.enter)=\"_setColumnHeaderGroupBy(column.key); popover?.close()\"\n >\n <span fd-list-icon></span>\n <span fd-list-title>{{ 'platformTable.headerMenuGroup' | fdTranslate }}</span>\n </a>\n </ng-template>\n</ng-container>\n\n<ng-container *ngIf=\"column?.freezable || column?.endFreezable\">\n <ng-template fdkTemplate=\"freezePopoverItem\" let-popover=\"popover\">\n <ng-container *ngIf=\"columnFrozen; else unfreezeTpl\">\n <a\n fd-list-link\n [focusable]=\"true\"\n (click)=\"\n freezeToColumn.emit({ name: column.name, endFreezable: column.endFreezable }); popover?.close()\n \"\n (keyup.enter)=\"\n freezeToColumn.emit({ name: column.name, endFreezable: column.endFreezable }); popover?.close()\n \"\n >\n <span></span>\n <span fd-list-title *ngIf=\"!column.endFreezable\">{{\n 'platformTable.headerMenuFreeze' | fdTranslate\n }}</span>\n <span fd-list-title *ngIf=\"column.endFreezable\">{{\n 'platformTable.headerMenuEndFreeze' | fdTranslate\n }}</span>\n </a>\n </ng-container>\n <ng-template #unfreezeTpl>\n <a\n fd-list-link\n [focusable]=\"true\"\n (click)=\"unFreeze.emit({ name: column.name, endFreezable: column.endFreezable }); popover?.close()\"\n (keyup.enter)=\"\n unFreeze.emit({ name: column.name, endFreezable: column.endFreezable }); popover?.close()\n \"\n >\n <span></span>\n <span fd-list-title>{{ 'platformTable.headerMenuUnfreeze' | fdTranslate }}</span>\n </a>\n </ng-template>\n </ng-template>\n</ng-container>\n\n<ng-container *ngIf=\"column?.filterable && !filteringFromHeaderDisabled\">\n <ng-template fdkTemplate=\"filteringPopoverItem\" let-popover=\"popover\">\n <div fd-list-link style=\"cursor: auto\">\n <i fd-list-icon glyph=\"filter\"></i>\n <div fd-form-item [horizontal]=\"true\" (click)=\"$event.stopPropagation()\">\n <label fd-form-label [for]=\"'fdp-table-column-filtering-' + column.name\">{{\n 'platformTable.headerMenuFilter' | fdTranslate\n }}</label>\n <input\n fd-form-control\n [id]=\"'fdp-table-column-filtering-' + column.name\"\n (keydown.enter)=\"_setColumnHeaderFilterBy(column.key, $any($event.target)?.value); popover?.close()\"\n />\n </div>\n </div>\n </ng-template>\n</ng-container>\n", dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2$2.TablePopoverDirective, selector: "[fdTablePopover], [fd-table-popover]" }, { kind: "component", type: i3$1.FormControlComponent, selector: "[fd-form-control]", inputs: ["state", "type", "class", "ariaLabel", "ariaLabelledBy"] }, { kind: "directive", type: i3$1.InputFormControlDirective, selector: "input[fd-form-control]" }, { kind: "component", type: i3$1.FormItemComponent, selector: "[fd-form-item]", inputs: ["isInline", "horizontal"] }, { kind: "component", type: i3$1.FormLabelComponent, selector: "[fd-form-label]", inputs: ["required", "colon", "checkbox", "radio", "alignLabelEnd", "inlineHelpTitle", "inlineHelpContent", "inlineHelpGlyph", "inlineHelpTriggers", "inlineHelpBodyPlacement", "inlineHelpPlacement", "inlineHelpLabel", "id"] }, { kind: "component", type: i4$3.PopoverComponent, selector: "fd-popover", inputs: ["title", "trigger", "fixedPosition", "id", "mobile", "mobileConfig"] }, { kind: "directive", type: i6$1.ListTitleDirective, selector: "[fd-list-title], [fdListTitle]", inputs: ["wrap"] }, { kind: "directive", type: i6$1.ListIconDirective, selector: "[fdListIcon], [fd-list-icon]", inputs: ["glyph", "class", "role"] }, { kind: "directive", type: i6$1.ListLinkDirective, selector: "[fd-list-link], [fdListLink]", inputs: ["navigationIndicator", "navigated", "focusable"] }, { kind: "directive", type: i2.TemplateDirective, selector: "[fdkTemplate], [fdTemplate]", inputs: ["fdkTemplate"] }, { kind: "component", type: i7$2.ListComponent, selector: "fdp-list", inputs: ["selectedItems", "ariaSetsize", "ariaMultiselectable", "loadTitle", "loadingLabel", "delayTime", "itemSize", "loadMore", "loadOnScroll", "role", "listType", "maxHeight", "noBorder", "scrollOffsetPercentage", "selection", "selectionMode", "value", "rowSelection", "dataSource", "navigated", "navigationIndicator", "hasByLine", "hasObject", "unreadIndicator"], outputs: ["selectedItemChange"] }, { kind: "component", type: i7$2.FreeContentListItemComponent, selector: "fdp-free-content-list-item" }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i11.FdTranslatePipe, name: "fdTranslate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
2458
2461
  }
2459
2462
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: TableCellHeaderPopoverComponent, decorators: [{
2460
2463
  type: Component,
2461
- args: [{ selector: 'fdp-table-cell-header-popover', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [DestroyedService], template: "<fd-popover\n [disabled]=\"disabled\"\n [noArrow]=\"true\"\n fd-table-popover\n [focusAutoCapture]=\"true\"\n [focusTrapped]=\"true\"\n *ngIf=\"!popoverTemplate; else projectedPopover\"\n [triggers]=\"_headerPopoverTriggers\"\n>\n <fdp-list [noBorder]=\"true\" [navigated]=\"true\">\n <fdp-free-content-list-item *ngFor=\"let item of _popoverItems$.asObservable() | async\">\n <ng-template [ngTemplateOutlet]=\"item\" [ngTemplateOutletContext]=\"{ popover: popover }\"></ng-template>\n </fdp-free-content-list-item>\n </fdp-list>\n</fd-popover>\n<ng-template #projectedPopover>\n <ng-template\n [ngTemplateOutlet]=\"popoverTemplate!\"\n [ngTemplateOutletContext]=\"{ $implicit: _popoverItems$.asObservable() }\"\n ></ng-template>\n</ng-template>\n\n<ng-container *ngIf=\"column?.sortable\">\n <ng-template fdkTemplate=\"sortingAscPopoverItem\" let-popover=\"popover\">\n <a\n fd-list-link\n [focusable]=\"true\"\n (click)=\"_setColumnHeaderSortBy(column.key, SORT_DIRECTION.ASC); popover?.close()\"\n (keydown.enter)=\"_setColumnHeaderSortBy(column.key, SORT_DIRECTION.ASC); popover?.close()\"\n >\n <span fd-list-icon glyph=\"sort-ascending\"></span>\n <span fd-list-title>{{ 'platformTable.headerMenuSortAsc' | fdTranslate }}</span>\n </a>\n </ng-template>\n <ng-template fdkTemplate=\"sortingDescPopoverItem\" let-popover=\"popover\">\n <a\n fd-list-link\n [focusable]=\"true\"\n (click)=\"_setColumnHeaderSortBy(column.key, SORT_DIRECTION.DESC); popover?.close()\"\n (keydown.enter)=\"_setColumnHeaderSortBy(column.key, SORT_DIRECTION.DESC); popover?.close()\"\n >\n <span fd-list-icon glyph=\"sort-descending\"></span>\n <span fd-list-title>{{ 'platformTable.headerMenuSortDesc' | fdTranslate }}</span>\n </a>\n </ng-template>\n</ng-container>\n\n<ng-container *ngIf=\"column?.groupable\">\n <ng-template fdkTemplate=\"groupPopoverItem\" let-popover=\"popover\">\n <a\n fd-list-link\n [focusable]=\"true\"\n (click)=\"_setColumnHeaderGroupBy(column.key); popover?.close()\"\n (keydown.enter)=\"_setColumnHeaderGroupBy(column.key); popover?.close()\"\n >\n <span fd-list-icon></span>\n <span fd-list-title>{{ 'platformTable.headerMenuGroup' | fdTranslate }}</span>\n </a>\n </ng-template>\n</ng-container>\n\n<ng-container *ngIf=\"column?.freezable || column?.endFreezable\">\n <ng-template fdkTemplate=\"freezePopoverItem\" let-popover=\"popover\">\n <ng-container *ngIf=\"columnFrozen; else unfreezeTpl\">\n <a\n fd-list-link\n [focusable]=\"true\"\n (click)=\"\n freezeToColumn.emit({ name: column.name, endFreezable: column.endFreezable }); popover?.close()\n \"\n (keyup.enter)=\"\n freezeToColumn.emit({ name: column.name, endFreezable: column.endFreezable }); popover?.close()\n \"\n >\n <span></span>\n <span fd-list-title *ngIf=\"!column.endFreezable\">{{\n 'platformTable.headerMenuFreeze' | fdTranslate\n }}</span>\n <span fd-list-title *ngIf=\"column.endFreezable\">{{\n 'platformTable.headerMenuEndFreeze' | fdTranslate\n }}</span>\n </a>\n </ng-container>\n <ng-template #unfreezeTpl>\n <a\n fd-list-link\n [focusable]=\"true\"\n (click)=\"unFreeze.emit({ name: column.name, endFreezable: column.endFreezable }); popover?.close()\"\n (keyup.enter)=\"\n unFreeze.emit({ name: column.name, endFreezable: column.endFreezable }); popover?.close()\n \"\n >\n <span></span>\n <span fd-list-title>{{ 'platformTable.headerMenuUnfreeze' | fdTranslate }}</span>\n </a>\n </ng-template>\n </ng-template>\n</ng-container>\n\n<ng-container *ngIf=\"column?.filterable && !filteringFromHeaderDisabled\">\n <ng-template fdkTemplate=\"filteringPopoverItem\" let-popover=\"popover\">\n <div fd-list-link style=\"cursor: auto\">\n <i fd-list-icon glyph=\"filter\"></i>\n <div fd-form-item [horizontal]=\"true\" (click)=\"$event.stopPropagation()\">\n <label fd-form-label [for]=\"'fdp-table-column-filtering-' + column.name\">{{\n 'platformTable.headerMenuFilter' | fdTranslate\n }}</label>\n <input\n fd-form-control\n [id]=\"'fdp-table-column-filtering-' + column.name\"\n (keydown.enter)=\"_setColumnHeaderFilterBy(column.key, $any($event.target)?.value); popover?.close()\"\n />\n </div>\n </div>\n </ng-template>\n</ng-container>\n" }]
2464
+ args: [{ selector: 'fdp-table-cell-header-popover', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<fd-popover\n [disabled]=\"disabled\"\n [noArrow]=\"true\"\n fd-table-popover\n [focusAutoCapture]=\"true\"\n [focusTrapped]=\"true\"\n *ngIf=\"!popoverTemplate; else projectedPopover\"\n [triggers]=\"_headerPopoverTriggers\"\n>\n <fdp-list [noBorder]=\"true\" [navigated]=\"true\">\n <fdp-free-content-list-item *ngFor=\"let item of _popoverItems$.asObservable() | async\">\n <ng-template [ngTemplateOutlet]=\"item\" [ngTemplateOutletContext]=\"{ popover: popover }\"></ng-template>\n </fdp-free-content-list-item>\n </fdp-list>\n</fd-popover>\n<ng-template #projectedPopover>\n <ng-template\n [ngTemplateOutlet]=\"popoverTemplate!\"\n [ngTemplateOutletContext]=\"{ $implicit: _popoverItems$.asObservable() }\"\n ></ng-template>\n</ng-template>\n\n<ng-container *ngIf=\"column?.sortable\">\n <ng-template fdkTemplate=\"sortingAscPopoverItem\" let-popover=\"popover\">\n <a\n fd-list-link\n [focusable]=\"true\"\n (click)=\"_setColumnHeaderSortBy(column.key, SORT_DIRECTION.ASC); popover?.close()\"\n (keydown.enter)=\"_setColumnHeaderSortBy(column.key, SORT_DIRECTION.ASC); popover?.close()\"\n >\n <span fd-list-icon glyph=\"sort-ascending\"></span>\n <span fd-list-title>{{ 'platformTable.headerMenuSortAsc' | fdTranslate }}</span>\n </a>\n </ng-template>\n <ng-template fdkTemplate=\"sortingDescPopoverItem\" let-popover=\"popover\">\n <a\n fd-list-link\n [focusable]=\"true\"\n (click)=\"_setColumnHeaderSortBy(column.key, SORT_DIRECTION.DESC); popover?.close()\"\n (keydown.enter)=\"_setColumnHeaderSortBy(column.key, SORT_DIRECTION.DESC); popover?.close()\"\n >\n <span fd-list-icon glyph=\"sort-descending\"></span>\n <span fd-list-title>{{ 'platformTable.headerMenuSortDesc' | fdTranslate }}</span>\n </a>\n </ng-template>\n</ng-container>\n\n<ng-container *ngIf=\"column?.groupable\">\n <ng-template fdkTemplate=\"groupPopoverItem\" let-popover=\"popover\">\n <a\n fd-list-link\n [focusable]=\"true\"\n (click)=\"_setColumnHeaderGroupBy(column.key); popover?.close()\"\n (keydown.enter)=\"_setColumnHeaderGroupBy(column.key); popover?.close()\"\n >\n <span fd-list-icon></span>\n <span fd-list-title>{{ 'platformTable.headerMenuGroup' | fdTranslate }}</span>\n </a>\n </ng-template>\n</ng-container>\n\n<ng-container *ngIf=\"column?.freezable || column?.endFreezable\">\n <ng-template fdkTemplate=\"freezePopoverItem\" let-popover=\"popover\">\n <ng-container *ngIf=\"columnFrozen; else unfreezeTpl\">\n <a\n fd-list-link\n [focusable]=\"true\"\n (click)=\"\n freezeToColumn.emit({ name: column.name, endFreezable: column.endFreezable }); popover?.close()\n \"\n (keyup.enter)=\"\n freezeToColumn.emit({ name: column.name, endFreezable: column.endFreezable }); popover?.close()\n \"\n >\n <span></span>\n <span fd-list-title *ngIf=\"!column.endFreezable\">{{\n 'platformTable.headerMenuFreeze' | fdTranslate\n }}</span>\n <span fd-list-title *ngIf=\"column.endFreezable\">{{\n 'platformTable.headerMenuEndFreeze' | fdTranslate\n }}</span>\n </a>\n </ng-container>\n <ng-template #unfreezeTpl>\n <a\n fd-list-link\n [focusable]=\"true\"\n (click)=\"unFreeze.emit({ name: column.name, endFreezable: column.endFreezable }); popover?.close()\"\n (keyup.enter)=\"\n unFreeze.emit({ name: column.name, endFreezable: column.endFreezable }); popover?.close()\n \"\n >\n <span></span>\n <span fd-list-title>{{ 'platformTable.headerMenuUnfreeze' | fdTranslate }}</span>\n </a>\n </ng-template>\n </ng-template>\n</ng-container>\n\n<ng-container *ngIf=\"column?.filterable && !filteringFromHeaderDisabled\">\n <ng-template fdkTemplate=\"filteringPopoverItem\" let-popover=\"popover\">\n <div fd-list-link style=\"cursor: auto\">\n <i fd-list-icon glyph=\"filter\"></i>\n <div fd-form-item [horizontal]=\"true\" (click)=\"$event.stopPropagation()\">\n <label fd-form-label [for]=\"'fdp-table-column-filtering-' + column.name\">{{\n 'platformTable.headerMenuFilter' | fdTranslate\n }}</label>\n <input\n fd-form-control\n [id]=\"'fdp-table-column-filtering-' + column.name\"\n (keydown.enter)=\"_setColumnHeaderFilterBy(column.key, $any($event.target)?.value); popover?.close()\"\n />\n </div>\n </div>\n </ng-template>\n</ng-container>\n" }]
2462
2465
  }], propDecorators: { column: [{
2463
2466
  type: Input
2464
2467
  }], popoverTemplate: [{
@@ -2568,16 +2571,16 @@ class TableRowComponent extends TableRowDirective {
2568
2571
  /** @hidden */
2569
2572
  this._tableColumnResizeService = inject(TableColumnResizeService);
2570
2573
  /** @hidden */
2574
+ this._fdpTableService = inject(TableService);
2575
+ /** @hidden */
2576
+ this._tableRowService = inject(TableRowService);
2577
+ /** @hidden */
2571
2578
  this._refreshChildRows$ = new Subject();
2572
2579
  /** @hidden */
2573
2580
  this._rtlService = inject(RtlService, {
2574
2581
  optional: true
2575
2582
  });
2576
2583
  /** @hidden */
2577
- this._fdpTableService = inject(TableService);
2578
- /** @hidden */
2579
- this._tableRowService = inject(TableRowService);
2580
- /** @hidden */
2581
2584
  this._cdr = inject(ChangeDetectorRef);
2582
2585
  /** @hidden */
2583
2586
  this._zone = inject(NgZone);
@@ -2587,17 +2590,17 @@ class TableRowComponent extends TableRowDirective {
2587
2590
  this._dndTableDirective = inject(TableDraggableDirective, {
2588
2591
  optional: true
2589
2592
  });
2590
- this._rtlService?.rtl.pipe(takeUntil(this._destroy$)).subscribe((rtl) => {
2593
+ this._rtlService?.rtl.pipe(takeUntilDestroyed()).subscribe((rtl) => {
2591
2594
  this._rtl = rtl;
2592
2595
  });
2593
2596
  this._tableColumnResizeService.resizeInProgress$
2594
- .pipe(switchMap(() => this._tableColumnResizeService.markForCheck), takeUntil(this._destroy$))
2597
+ .pipe(switchMap(() => this._tableColumnResizeService.markForCheck), takeUntilDestroyed())
2595
2598
  .subscribe(() => {
2596
2599
  this._cdr.markForCheck();
2597
2600
  });
2598
2601
  this._zone.runOutsideAngular(() => {
2599
2602
  fromEvent(this._elmRef.nativeElement, 'keydown')
2600
- .pipe(filter(() => !!this._dndTableDirective), takeUntil(this._destroy$))
2603
+ .pipe(filter(() => !!this._dndTableDirective), takeUntilDestroyed())
2601
2604
  .subscribe((event) => {
2602
2605
  this._onKeyDown(event);
2603
2606
  });
@@ -2606,7 +2609,7 @@ class TableRowComponent extends TableRowDirective {
2606
2609
  /** @hidden */
2607
2610
  ngOnInit() {
2608
2611
  super.ngOnInit();
2609
- this._fdpTableService.visibleColumns$.pipe(takeUntil(this._destroy$)).subscribe((columns) => {
2612
+ this._fdpTableService.visibleColumns$.pipe(takeUntilDestroyed(this._destroyRef)).subscribe((columns) => {
2610
2613
  this._hasRowHeaderColumn = columns.some((c) => c.role === 'rowheader');
2611
2614
  this._cdr.markForCheck();
2612
2615
  });
@@ -2614,7 +2617,7 @@ class TableRowComponent extends TableRowDirective {
2614
2617
  /** @hidden */
2615
2618
  ngAfterViewInit() {
2616
2619
  super.ngAfterViewInit();
2617
- this._editableCells.changes.pipe(startWith(null), takeUntil(this._destroy$)).subscribe(() => {
2620
+ this._editableCells.changes.pipe(startWith(null), takeUntilDestroyed(this._destroyRef)).subscribe(() => {
2618
2621
  const cells = this._editableCells.toArray();
2619
2622
  if (cells.length > 0) {
2620
2623
  this._tableRowService.updateEditableCells(this.row, cells);
@@ -2639,9 +2642,25 @@ class TableRowComponent extends TableRowDirective {
2639
2642
  this._tableRowService.removeEditableCells(this.row);
2640
2643
  }
2641
2644
  /** @hidden */
2645
+ _toggleGroupRow() {
2646
+ this._tableRowService.toggleRow({ type: 'toggleRow', row: this.row });
2647
+ }
2648
+ /** @hidden */
2649
+ _toggleSingleSelectableRow() {
2650
+ this._tableRowService.toggleRow({ type: 'toggleSingleSelectableRow', row: this.row });
2651
+ }
2652
+ /** @hidden */
2653
+ _toggleMultiSelectRow(row, event) {
2654
+ this._tableRowService.toggleRow({ ...{ row, event }, ...{ type: 'toggleMultiSelectRow' } });
2655
+ }
2656
+ /** @hidden */
2657
+ _columnTrackBy(index, column) {
2658
+ return column.name;
2659
+ }
2660
+ /** @hidden */
2642
2661
  _listenToRowExpansion() {
2643
2662
  this._refreshChildRows$.next();
2644
- const refresh = merge(this._refreshChildRows$, this._destroy$);
2663
+ const refresh = merge(this._refreshChildRows$, destroyObservable(this._destroyRef));
2645
2664
  // Load items only once. Further loading will be covered by the lazy loading functionality.
2646
2665
  this.row?.expanded$
2647
2666
  ?.pipe(filter((expanded) => expanded && this.row.children.length === 0), takeUntil(refresh))
@@ -2661,29 +2680,12 @@ class TableRowComponent extends TableRowDirective {
2661
2680
  }
2662
2681
  this._dndTableDirective?.dragRowFromKeyboard(isArrowDown ? 'down' : 'up', event, this.index, event.shiftKey ? 'group' : 'shift');
2663
2682
  }
2664
- /** @hidden */
2665
- _toggleGroupRow() {
2666
- this._tableRowService.toggleRow({ type: 'toggleRow', row: this.row });
2667
- }
2668
- /** @hidden */
2669
- _toggleSingleSelectableRow() {
2670
- this._tableRowService.toggleRow({ type: 'toggleSingleSelectableRow', row: this.row });
2671
- }
2672
- /** @hidden */
2673
- _toggleMultiSelectRow(row, event) {
2674
- this._tableRowService.toggleRow({ ...{ row, event }, ...{ type: 'toggleMultiSelectRow' } });
2675
- }
2676
- /** @hidden */
2677
- _columnTrackBy(index, column) {
2678
- return column.name;
2679
- }
2680
2683
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: TableRowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2681
2684
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.0", type: TableRowComponent, selector: "[fdp-table-row]", inputs: { rowId: "rowId", row: "row", index: "index", selectionMode: "selectionMode", selectableKey: "selectableKey", enableTristateMode: "enableTristateMode", fixed: "fixed", selectionColumnWidth: "selectionColumnWidth", freezeColumnsTo: "freezeColumnsTo", freezeEndColumnsTo: "freezeEndColumnsTo" }, outputs: { keyboardDrag: "keyboardDrag" }, host: { properties: { "attr.aria-rowindex": "this.index", "attr.aria-selected": "this._ariaSelected" } }, providers: [
2682
2685
  {
2683
2686
  provide: FDK_FOCUSABLE_LIST_DIRECTIVE,
2684
2687
  useExisting: TableRowComponent
2685
- },
2686
- DestroyedService
2688
+ }
2687
2689
  ], viewQueries: [{ propertyName: "_focusableViewCellItems", predicate: FDK_FOCUSABLE_ITEM_DIRECTIVE, descendants: true }, { propertyName: "_editableCells", predicate: EditableTableCell, descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<td\n *ngIf=\"_fdpTableService._semanticHighlighting$ | async as semanticHighlighting\"\n fd-table-cell\n fd-table-status-indicator\n fdkDisabled\n [addDisabledClass]=\"false\"\n [status]=\"row.value[semanticHighlighting]\"\n></td>\n\n<!-- Row Selection Cell -->\n<ng-container [ngSwitch]=\"selectionMode\">\n <ng-container *ngSwitchCase=\"SELECTION_MODE.SINGLE\">\n <td\n *ngIf=\"row.value[selectableKey] !== false; else selectionMock\"\n class=\"fd-table__cell--checkbox\"\n [class.fd-table__cell--fixed]=\"fixed\"\n [attr.role]=\"_hasRowHeaderColumn ? 'rowheader' : 'gridcell'\"\n fd-table-cell\n fd-table-cell-selectable\n [focusable]=\"true\"\n [style]=\"\n _contentDensityObserver\n | async\n | selectionCellStyles : _rtl : (_fdpTableService._semanticHighlightingColumnWidth$ | async)\n \"\n [attr.aria-selected]=\"row.checked\"\n (click)=\"_toggleSingleSelectableRow()\"\n (keydown.enter)=\"_toggleSingleSelectableRow()\"\n (keydown.space)=\"_toggleSingleSelectableRow()\"\n >\n <!-- hidden text for screenreader -->\n <span\n style=\"\n position: absolute !important;\n height: 1px;\n width: 1px;\n overflow: hidden;\n clip: rect(1px, 1px, 1px, 1px);\n color: transparent;\n \"\n >\n <ng-container *ngIf=\"row.checked\">\n {{ 'platformTable.deselectSingleRow' | fdTranslate }}\n </ng-container>\n <ng-container *ngIf=\"!row.checked\">\n {{ 'platformTable.selectSingleRow' | fdTranslate }}\n </ng-container>\n </span>\n </td>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"SELECTION_MODE.MULTIPLE\">\n <td\n *ngIf=\"row.value[selectableKey] !== false; else selectionMock\"\n class=\"fd-table__cell--checkbox\"\n [class.fd-table__cell--fixed]=\"fixed\"\n role=\"cell\"\n fd-table-cell\n [focusable]=\"true\"\n (keydown.enter)=\"_toggleMultiSelectRow(row, $event)\"\n (keydown.space)=\"_toggleMultiSelectRow(row, $event)\"\n [style]=\"\n _contentDensityObserver\n | async\n | selectionCellStyles : _rtl : (_fdpTableService._semanticHighlightingColumnWidth$ | async)\n \"\n >\n <fd-checkbox\n tabIndexValue=\"-1\"\n labelClass=\"fd-table__checkbox-label\"\n [tristate]=\"enableTristateMode\"\n [tristateSelectable]=\"false\"\n [ngModel]=\"row.checked$ | async\"\n (ngModelChange)=\"_toggleMultiSelectRow(row)\"\n ></fd-checkbox>\n </td>\n </ng-container>\n</ng-container>\n\n<ng-template #selectionMock>\n <td\n class=\"fd-table__cell--checkbox\"\n role=\"gridcell\"\n fd-table-cell\n fdkDisabled\n [addDisabledClass]=\"false\"\n [class.fd-table__cell--fixed]=\"fixed\"\n ></td>\n</ng-template>\n\n<td\n *ngFor=\"\n let column of _fdpTableService.visibleColumns$ | async;\n let colIdx = index;\n last as isLast;\n trackBy: _columnTrackBy\n \"\n [fdpTableCellResizable]=\"\n colIdx\n | columnResizableSide\n : _fdpTableService.visibleColumnsLength\n : (_fdpTableService._isShownNavigationColumn$ | async) === true\n \"\n [columnName]=\"column.name\"\n [focusable]=\"true\"\n [attr.role]=\"column.role\"\n [headers]=\"rowId + '__' + column.name\"\n [ngClass]=\"'fdp-table__col--' + column.name\"\n [ngClass]=\"[\n 'fdp-table__col--' + column.name,\n column._freezed ? 'fd-table__cell--fixed' : '',\n column.name === freezeColumnsTo ? 'fd-table__cell--fixed-last' : '',\n column._endFreezed ? 'fd-table__cell--fixed-end' : '',\n column.name === freezeEndColumnsTo ? 'fd-table__cell--fixed-end-last' : '',\n row.isTree && colIdx === 0 ? 'fd-table__cell--expand' : '',\n isLast && (_fdpTableService._isShownNavigationColumn$ | async) === false ? 'is-last-child' : ''\n ]\"\n [ngStyle]=\"\n column\n | tableCellStyles\n : _rtl\n : (_fdpTableService._semanticHighlightingColumnWidth$ | async)\n : selectionColumnWidth\n : column._freezed\n : column._endFreezed\n : _tableColumnResizeService.getPrevColumnsWidth(column.name)\n : _tableColumnResizeService.getColumnWidthStyle(column.name)\n : _tableColumnResizeService.getNextColumnsWidth(column.name)\n \"\n [attr.aria-expanded]=\"_isTreeRowFirstCell(colIdx, row) ? row.expanded : null\"\n [attr.data-nesting-level]=\"colIdx === 0 ? row.level + 1 : null\"\n [cellFocusedEventAnnouncer]=\"null\"\n (cellFocused)=\"_tableRowService.cellFocused($event)\"\n (click)=\"_tableRowService.cellClicked({ index: colIdx, row })\"\n (keydown.enter)=\"_isTreeRowFirstCell(colIdx, row, $event) && _toggleGroupRow()\"\n (keydown.arrowLeft)=\"_tableRowService.scrollToOverlappedCell()\"\n (keydown.arrowRight)=\"_tableRowService.scrollToOverlappedCell()\"\n>\n <div [class.fd-table__text]=\"column.applyText\" [class.fd-table__text--no-wrap]=\"column.noWrap\">\n <span\n *ngIf=\"_isTreeRowFirstCell(colIdx, row)\"\n class=\"fd-table__expand\"\n [class.fd-table__expand--open]=\"row.expanded$ | async\"\n aria-hidden=\"true\"\n ></span>\n\n <ng-container *ngIf=\"row.state === 'readonly'; else editModeCell\">\n <ng-container *ngIf=\"column?.columnCellTemplate; else defaultTableCellTemplate\">\n <ng-container\n *ngTemplateOutlet=\"\n column.columnCellTemplate!;\n context: { $implicit: row.value, popping: false, rowIndex: row.index }\n \"\n ></ng-container>\n </ng-container>\n </ng-container>\n <ng-template #defaultTableCellTemplate>{{ row.value | valueByPath : column.key }}</ng-template>\n\n <ng-template #editModeCell>\n <ng-container *ngIf=\"column?.editableColumnCellTemplate; else defaultEditableTableCellTemplate\">\n <ng-container\n *ngTemplateOutlet=\"\n column.editableColumnCellTemplate!;\n context: { $implicit: row.value, popping: false, rowIndex: row.index }\n \"\n ></ng-container>\n </ng-container>\n\n <ng-template #defaultEditableTableCellTemplate>\n <fdp-table-editable-cell\n [row]=\"row\"\n [column]=\"column\"\n [columnValue]=\"row.value | valueByPath : column.key\"\n ></fdp-table-editable-cell>\n </ng-template>\n </ng-template>\n </div>\n</td>\n\n<ng-content></ng-content>\n\n<td\n *ngIf=\"_fdpTableService._isShownNavigationColumn$ | async\"\n fd-table-cell\n class=\"fdp-table__cell--navigation is-last-child\"\n fdkDisabled\n [addDisabledClass]=\"false\"\n>\n <i\n *ngIf=\"row.navigatable\"\n fd-table-icon\n [navigation]=\"true\"\n [class]=\"_rtl ? 'sap-icon--slim-arrow-left' : 'sap-icon--slim-arrow-right'\"\n class=\"fdp-table__navigation-indicator\"\n ></i>\n</td>\n\n<td\n aria-hidden=\"true\"\n class=\"fd-table__cell fd-table__cell--mock\"\n [class.fd-table__cell--mock-borderless]=\"(_tableColumnResizeService.cellMockVisible$ | async) !== true\"\n fdkDisabled\n [addDisabledClass]=\"false\"\n></td>\n", dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i1$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2$2.TableCellDirective, selector: "[fdTableCell], [fd-table-cell]", inputs: ["noBorderX", "noBorderY", "activable", "focusable", "hoverable", "fitContent", "noPadding", "noData", "key"] }, { kind: "directive", type: i2$2.TableStatusIndicatorDirective, selector: "[fdTableStatusIndicator], [fd-table-status-indicator]", inputs: ["status"] }, { kind: "directive", type: i2$2.TableIconDirective, selector: "[fdTableIcon], [fd-table-icon]", inputs: ["class", "glyph", "navigation"] }, { kind: "component", type: i4$1.CheckboxComponent, selector: "fd-checkbox", inputs: ["ariaLabel", "value", "ariaLabelledBy", "ariaDescribedBy", "title", "inputId", "state", "name", "label", "disabled", "tristate", "tristateSelectable", "labelClass", "required", "values", "standalone"], outputs: ["focusChange"] }, { kind: "directive", type: i2.DisabledBehaviorDirective, selector: "[fdkDisabled]", inputs: ["fdkDisabled", "addDisabledClass", "disabledClass"] }, { kind: "directive", type: i1.PlatformTableCellResizableDirective, selector: "[fdpTableCellResizable]", inputs: ["fdpTableCellResizable", "columnName"] }, { kind: "directive", type: i1.FdpCellSelectableDirective, selector: "[fdTableCellSelectable], [fd-table-cell-selectable]", inputs: ["enabled"] }, { kind: "component", type: TableEditableCellComponent, selector: "fdp-table-editable-cell", inputs: ["row", "column", "columnValue"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.ValueByPathPipe, name: "valueByPath" }, { kind: "pipe", type: i11.FdTranslatePipe, name: "fdTranslate" }, { kind: "pipe", type: i1.SelectionCellStylesPipe, name: "selectionCellStyles" }, { kind: "pipe", type: i1.TableCellStylesPipe, name: "tableCellStyles" }, { kind: "pipe", type: i1.ColumnResizableSidePipe, name: "columnResizableSide" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
2688
2690
  }
2689
2691
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: TableRowComponent, decorators: [{
@@ -2692,8 +2694,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
2692
2694
  {
2693
2695
  provide: FDK_FOCUSABLE_LIST_DIRECTIVE,
2694
2696
  useExisting: TableRowComponent
2695
- },
2696
- DestroyedService
2697
+ }
2697
2698
  ], template: "<td\n *ngIf=\"_fdpTableService._semanticHighlighting$ | async as semanticHighlighting\"\n fd-table-cell\n fd-table-status-indicator\n fdkDisabled\n [addDisabledClass]=\"false\"\n [status]=\"row.value[semanticHighlighting]\"\n></td>\n\n<!-- Row Selection Cell -->\n<ng-container [ngSwitch]=\"selectionMode\">\n <ng-container *ngSwitchCase=\"SELECTION_MODE.SINGLE\">\n <td\n *ngIf=\"row.value[selectableKey] !== false; else selectionMock\"\n class=\"fd-table__cell--checkbox\"\n [class.fd-table__cell--fixed]=\"fixed\"\n [attr.role]=\"_hasRowHeaderColumn ? 'rowheader' : 'gridcell'\"\n fd-table-cell\n fd-table-cell-selectable\n [focusable]=\"true\"\n [style]=\"\n _contentDensityObserver\n | async\n | selectionCellStyles : _rtl : (_fdpTableService._semanticHighlightingColumnWidth$ | async)\n \"\n [attr.aria-selected]=\"row.checked\"\n (click)=\"_toggleSingleSelectableRow()\"\n (keydown.enter)=\"_toggleSingleSelectableRow()\"\n (keydown.space)=\"_toggleSingleSelectableRow()\"\n >\n <!-- hidden text for screenreader -->\n <span\n style=\"\n position: absolute !important;\n height: 1px;\n width: 1px;\n overflow: hidden;\n clip: rect(1px, 1px, 1px, 1px);\n color: transparent;\n \"\n >\n <ng-container *ngIf=\"row.checked\">\n {{ 'platformTable.deselectSingleRow' | fdTranslate }}\n </ng-container>\n <ng-container *ngIf=\"!row.checked\">\n {{ 'platformTable.selectSingleRow' | fdTranslate }}\n </ng-container>\n </span>\n </td>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"SELECTION_MODE.MULTIPLE\">\n <td\n *ngIf=\"row.value[selectableKey] !== false; else selectionMock\"\n class=\"fd-table__cell--checkbox\"\n [class.fd-table__cell--fixed]=\"fixed\"\n role=\"cell\"\n fd-table-cell\n [focusable]=\"true\"\n (keydown.enter)=\"_toggleMultiSelectRow(row, $event)\"\n (keydown.space)=\"_toggleMultiSelectRow(row, $event)\"\n [style]=\"\n _contentDensityObserver\n | async\n | selectionCellStyles : _rtl : (_fdpTableService._semanticHighlightingColumnWidth$ | async)\n \"\n >\n <fd-checkbox\n tabIndexValue=\"-1\"\n labelClass=\"fd-table__checkbox-label\"\n [tristate]=\"enableTristateMode\"\n [tristateSelectable]=\"false\"\n [ngModel]=\"row.checked$ | async\"\n (ngModelChange)=\"_toggleMultiSelectRow(row)\"\n ></fd-checkbox>\n </td>\n </ng-container>\n</ng-container>\n\n<ng-template #selectionMock>\n <td\n class=\"fd-table__cell--checkbox\"\n role=\"gridcell\"\n fd-table-cell\n fdkDisabled\n [addDisabledClass]=\"false\"\n [class.fd-table__cell--fixed]=\"fixed\"\n ></td>\n</ng-template>\n\n<td\n *ngFor=\"\n let column of _fdpTableService.visibleColumns$ | async;\n let colIdx = index;\n last as isLast;\n trackBy: _columnTrackBy\n \"\n [fdpTableCellResizable]=\"\n colIdx\n | columnResizableSide\n : _fdpTableService.visibleColumnsLength\n : (_fdpTableService._isShownNavigationColumn$ | async) === true\n \"\n [columnName]=\"column.name\"\n [focusable]=\"true\"\n [attr.role]=\"column.role\"\n [headers]=\"rowId + '__' + column.name\"\n [ngClass]=\"'fdp-table__col--' + column.name\"\n [ngClass]=\"[\n 'fdp-table__col--' + column.name,\n column._freezed ? 'fd-table__cell--fixed' : '',\n column.name === freezeColumnsTo ? 'fd-table__cell--fixed-last' : '',\n column._endFreezed ? 'fd-table__cell--fixed-end' : '',\n column.name === freezeEndColumnsTo ? 'fd-table__cell--fixed-end-last' : '',\n row.isTree && colIdx === 0 ? 'fd-table__cell--expand' : '',\n isLast && (_fdpTableService._isShownNavigationColumn$ | async) === false ? 'is-last-child' : ''\n ]\"\n [ngStyle]=\"\n column\n | tableCellStyles\n : _rtl\n : (_fdpTableService._semanticHighlightingColumnWidth$ | async)\n : selectionColumnWidth\n : column._freezed\n : column._endFreezed\n : _tableColumnResizeService.getPrevColumnsWidth(column.name)\n : _tableColumnResizeService.getColumnWidthStyle(column.name)\n : _tableColumnResizeService.getNextColumnsWidth(column.name)\n \"\n [attr.aria-expanded]=\"_isTreeRowFirstCell(colIdx, row) ? row.expanded : null\"\n [attr.data-nesting-level]=\"colIdx === 0 ? row.level + 1 : null\"\n [cellFocusedEventAnnouncer]=\"null\"\n (cellFocused)=\"_tableRowService.cellFocused($event)\"\n (click)=\"_tableRowService.cellClicked({ index: colIdx, row })\"\n (keydown.enter)=\"_isTreeRowFirstCell(colIdx, row, $event) && _toggleGroupRow()\"\n (keydown.arrowLeft)=\"_tableRowService.scrollToOverlappedCell()\"\n (keydown.arrowRight)=\"_tableRowService.scrollToOverlappedCell()\"\n>\n <div [class.fd-table__text]=\"column.applyText\" [class.fd-table__text--no-wrap]=\"column.noWrap\">\n <span\n *ngIf=\"_isTreeRowFirstCell(colIdx, row)\"\n class=\"fd-table__expand\"\n [class.fd-table__expand--open]=\"row.expanded$ | async\"\n aria-hidden=\"true\"\n ></span>\n\n <ng-container *ngIf=\"row.state === 'readonly'; else editModeCell\">\n <ng-container *ngIf=\"column?.columnCellTemplate; else defaultTableCellTemplate\">\n <ng-container\n *ngTemplateOutlet=\"\n column.columnCellTemplate!;\n context: { $implicit: row.value, popping: false, rowIndex: row.index }\n \"\n ></ng-container>\n </ng-container>\n </ng-container>\n <ng-template #defaultTableCellTemplate>{{ row.value | valueByPath : column.key }}</ng-template>\n\n <ng-template #editModeCell>\n <ng-container *ngIf=\"column?.editableColumnCellTemplate; else defaultEditableTableCellTemplate\">\n <ng-container\n *ngTemplateOutlet=\"\n column.editableColumnCellTemplate!;\n context: { $implicit: row.value, popping: false, rowIndex: row.index }\n \"\n ></ng-container>\n </ng-container>\n\n <ng-template #defaultEditableTableCellTemplate>\n <fdp-table-editable-cell\n [row]=\"row\"\n [column]=\"column\"\n [columnValue]=\"row.value | valueByPath : column.key\"\n ></fdp-table-editable-cell>\n </ng-template>\n </ng-template>\n </div>\n</td>\n\n<ng-content></ng-content>\n\n<td\n *ngIf=\"_fdpTableService._isShownNavigationColumn$ | async\"\n fd-table-cell\n class=\"fdp-table__cell--navigation is-last-child\"\n fdkDisabled\n [addDisabledClass]=\"false\"\n>\n <i\n *ngIf=\"row.navigatable\"\n fd-table-icon\n [navigation]=\"true\"\n [class]=\"_rtl ? 'sap-icon--slim-arrow-left' : 'sap-icon--slim-arrow-right'\"\n class=\"fdp-table__navigation-indicator\"\n ></i>\n</td>\n\n<td\n aria-hidden=\"true\"\n class=\"fd-table__cell fd-table__cell--mock\"\n [class.fd-table__cell--mock-borderless]=\"(_tableColumnResizeService.cellMockVisible$ | async) !== true\"\n fdkDisabled\n [addDisabledClass]=\"false\"\n></td>\n" }]
2698
2699
  }], ctorParameters: function () { return []; }, propDecorators: { rowId: [{
2699
2700
  type: Input
@@ -2823,8 +2824,7 @@ class TablePoppingRowComponent extends TableRowDirective {
2823
2824
  {
2824
2825
  provide: FDK_FOCUSABLE_LIST_DIRECTIVE,
2825
2826
  useExisting: TablePoppingRowComponent
2826
- },
2827
- DestroyedService
2827
+ }
2828
2828
  ], usesInheritance: true, ngImport: i0, template: "<td *ngIf=\"selectionMode !== SELECTION_MODE.NONE\" fd-table-cell fdkDisabled [addDisabledClass]=\"false\"></td>\n\n<td\n fd-table-cell\n colspan=\"100%\"\n [attr.data-nesting-level]=\"row.level + 1\"\n [attr.aria-expanded]=\"_isTreeRow(row) ? row.expanded : null\"\n (click)=\"cellClicked.emit({ index: 0, row })\"\n (keydown.enter)=\"_isTreeRowFirstCell(0, row, $event) && toggleGroupRow.emit(row)\"\n>\n <div fd-table-text *ngFor=\"let poppingColumn of _fdpTableService.poppingColumns$ | async\">\n <label fd-form-label>{{ poppingColumn.label }}:</label>\n\n <ng-container *ngIf=\"poppingColumn?.columnCellTemplate; else defaultTableCellTemplate\">\n <ng-container\n *ngTemplateOutlet=\"\n poppingColumn.columnCellTemplate!;\n context: { $implicit: row.value, popping: true, rowIndex: row.index }\n \"\n ></ng-container>\n </ng-container>\n\n <ng-template #defaultTableCellTemplate>{{ row.value | valueByPath : poppingColumn.key }}</ng-template>\n </div>\n</td>\n", dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2$2.TableCellDirective, selector: "[fdTableCell], [fd-table-cell]", inputs: ["noBorderX", "noBorderY", "activable", "focusable", "hoverable", "fitContent", "noPadding", "noData", "key"] }, { kind: "directive", type: i2$2.TableTextDirective, selector: "[fdTableText], [fd-table-text]", inputs: ["fdTableTextClass", "noWrap", "title", "maxWidth"] }, { kind: "component", type: i3$1.FormLabelComponent, selector: "[fd-form-label]", inputs: ["required", "colon", "checkbox", "radio", "alignLabelEnd", "inlineHelpTitle", "inlineHelpContent", "inlineHelpGlyph", "inlineHelpTriggers", "inlineHelpBodyPlacement", "inlineHelpPlacement", "inlineHelpLabel", "id"] }, { kind: "directive", type: i2.DisabledBehaviorDirective, selector: "[fdkDisabled]", inputs: ["fdkDisabled", "addDisabledClass", "disabledClass"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.ValueByPathPipe, name: "valueByPath" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
2829
2829
  }
2830
2830
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: TablePoppingRowComponent, decorators: [{
@@ -2833,8 +2833,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
2833
2833
  {
2834
2834
  provide: FDK_FOCUSABLE_LIST_DIRECTIVE,
2835
2835
  useExisting: TablePoppingRowComponent
2836
- },
2837
- DestroyedService
2836
+ }
2838
2837
  ], template: "<td *ngIf=\"selectionMode !== SELECTION_MODE.NONE\" fd-table-cell fdkDisabled [addDisabledClass]=\"false\"></td>\n\n<td\n fd-table-cell\n colspan=\"100%\"\n [attr.data-nesting-level]=\"row.level + 1\"\n [attr.aria-expanded]=\"_isTreeRow(row) ? row.expanded : null\"\n (click)=\"cellClicked.emit({ index: 0, row })\"\n (keydown.enter)=\"_isTreeRowFirstCell(0, row, $event) && toggleGroupRow.emit(row)\"\n>\n <div fd-table-text *ngFor=\"let poppingColumn of _fdpTableService.poppingColumns$ | async\">\n <label fd-form-label>{{ poppingColumn.label }}:</label>\n\n <ng-container *ngIf=\"poppingColumn?.columnCellTemplate; else defaultTableCellTemplate\">\n <ng-container\n *ngTemplateOutlet=\"\n poppingColumn.columnCellTemplate!;\n context: { $implicit: row.value, popping: true, rowIndex: row.index }\n \"\n ></ng-container>\n </ng-container>\n\n <ng-template #defaultTableCellTemplate>{{ row.value | valueByPath : poppingColumn.key }}</ng-template>\n </div>\n</td>\n" }]
2839
2838
  }], propDecorators: { row: [{
2840
2839
  type: Input
@@ -2879,14 +2878,14 @@ class TableHeaderRowComponent extends TableRowDirective {
2879
2878
  });
2880
2879
  /** @hidden */
2881
2880
  this._cdr = inject(ChangeDetectorRef);
2882
- this._rtlService?.rtl.pipe(takeUntil(this._destroy$)).subscribe((isRtl) => {
2881
+ this._rtlService?.rtl.pipe(takeUntilDestroyed()).subscribe((isRtl) => {
2883
2882
  this._rtl = isRtl;
2884
2883
  });
2885
2884
  }
2886
2885
  /** @hidden */
2887
2886
  ngOnInit() {
2888
2887
  super.ngOnInit();
2889
- this._tableColumnResizeService.markForCheck.pipe(takeUntil(this._destroy$)).subscribe(() => {
2888
+ this._tableColumnResizeService.markForCheck.pipe(takeUntilDestroyed(this._destroyRef)).subscribe(() => {
2890
2889
  this._cdr.detectChanges();
2891
2890
  });
2892
2891
  }
@@ -2907,8 +2906,7 @@ class TableHeaderRowComponent extends TableRowDirective {
2907
2906
  {
2908
2907
  provide: FDK_FOCUSABLE_LIST_DIRECTIVE,
2909
2908
  useExisting: TableHeaderRowComponent
2910
- },
2911
- DestroyedService
2909
+ }
2912
2910
  ], viewQueries: [{ propertyName: "_focusableCellItems", predicate: FDK_FOCUSABLE_ITEM_DIRECTIVE, descendants: true }], usesInheritance: true, ngImport: i0, template: "<th\n *ngIf=\"_fdpTableService._semanticHighlighting$ | async\"\n [class.fd-table__cell--fixed]=\"fixed\"\n fd-table-cell\n fd-table-status-indicator\n fdkDisabled\n [style.min-width]=\"_fdpTableService._semanticHighlightingColumnWidth$ | async\"\n [style.max-width]=\"_fdpTableService._semanticHighlightingColumnWidth$ | async\"\n></th>\n\n<th\n *ngIf=\"isShownSelectionColumn\"\n fd-table-cell\n [focusable]=\"true\"\n [class.fd-table__cell--fixed]=\"fixed\"\n class=\"fd-table__cell--checkbox\"\n [style]=\"\n _contentDensityObserver\n | async\n | selectionCellStyles : _rtl : (_fdpTableService._semanticHighlightingColumnWidth$ | async)\n \"\n (keydown.enter)=\"_tableRowService.toggleAllSelectableRows(!checkedState)\"\n (keydown.space)=\"_tableRowService.toggleAllSelectableRows(!checkedState)\"\n>\n <fd-checkbox\n tabIndexValue=\"-1\"\n *ngIf=\"selectionMode === SELECTION_MODE.MULTIPLE\"\n labelClass=\"fd-table__checkbox-label\"\n [fdkDisabled]=\"_fdpTableService.visibleColumnsLength === 0 || disableSelectionCheckbox\"\n [tristate]=\"true\"\n [tristateSelectable]=\"false\"\n [ngModel]=\"checkedState\"\n (ngModelChange)=\"_tableRowService.toggleAllSelectableRows($event)\"\n [attr.aria-description]=\"\n !checkedState\n ? ('platformTable.selectAllCheckboxLabel' | fdTranslate)\n : ('platformTable.deselectAllCheckboxLabel' | fdTranslate)\n \"\n ></fd-checkbox>\n</th>\n\n<ng-container\n *ngFor=\"\n let column of _fdpTableService.visibleColumns$ | async;\n let colIdx = index;\n trackBy: _columnTrackBy;\n last as isLast\n \"\n>\n <th\n [focusable]=\"true\"\n role=\"columnheader\"\n [fdpTableCellResizable]=\"\n colIdx\n | columnResizableSide\n : _fdpTableService.visibleColumnsLength\n : (_fdpTableService._isShownNavigationColumn$ | async)\n \"\n [columnName]=\"column.name\"\n [id]=\"rowId + '__' + column.name\"\n [attr.aria-colindex]=\"colIdx\"\n [ngClass]=\"[\n 'fdp-table__col--' + column.name,\n column._freezed ? 'fd-table__cell--fixed' : '',\n column.name === freezeColumnsTo ? 'fd-table__cell--fixed-last' : '',\n column._endFreezed ? 'fd-table__cell--fixed-end' : '',\n column.name === freezeEndColumnsTo ? 'fd-table__cell--fixed-end-last' : '',\n isLast && (_fdpTableService._isShownNavigationColumn$ | async) !== true ? 'is-last-child' : '',\n _isColumnHasHeaderMenu(column) ? 'fd-table__item--clickable' : ''\n ]\"\n [ngStyle]=\"\n column\n | tableCellStyles\n : _rtl\n : (_fdpTableService._semanticHighlightingColumnWidth$ | async)\n : selectionColumnWidth\n : column._freezed\n : column._endFreezed\n : _tableColumnResizeService.getPrevColumnsWidth(column.name)\n : _tableColumnResizeService.getColumnWidthStyle(column.name)\n : _tableColumnResizeService.getNextColumnsWidth(column.name)\n \"\n [fdPopoverTrigger]=\"tablePopover.popover\"\n [cellFocusedEventAnnouncer]=\"null\"\n (cellFocused)=\"_tableRowService.cellFocused($event)\"\n (keydown.arrowLeft)=\"_tableRowService.scrollToOverlappedCell()\"\n (keydown.arrowRight)=\"_tableRowService.scrollToOverlappedCell()\"\n >\n <fdp-table-header-cell-content\n [id]=\"rowId\"\n [column]=\"column\"\n [hasFilter]=\"(_fdpTableService.filterRules$ | async)?.has(column.key) === true\"\n [hasSorting]=\"(_fdpTableService.sortRules$ | async)?.has(column.key) === true\"\n [sorting]=\"(_fdpTableService.sortRules$ | async)?.get(column.key)\"\n [attr.title]=\"column?.headerOverflows ? column.label : null\"\n >\n <!-- Header menu -->\n <fdp-table-cell-header-popover\n #tablePopover\n [disabled]=\"!_isColumnHasHeaderMenu(column)\"\n [column]=\"column\"\n [popoverTemplate]=\"column.headerCellPopoverTemplate\"\n [filteringFromHeaderDisabled]=\"_fdpTableService._isFilteringFromHeaderDisabled$ | async\"\n ></fdp-table-cell-header-popover>\n </fdp-table-header-cell-content>\n </th>\n</ng-container>\n\n<th\n *ngIf=\"_fdpTableService._isShownNavigationColumn$ | async\"\n fd-table-cell\n class=\"fdp-table__cell--navigation is-last-child\"\n role=\"columnheader\"\n></th>\n\n<th\n aria-hidden=\"true\"\n class=\"fd-table__cell fd-table__cell--mock\"\n [class.fd-table__cell--mock-borderless]=\"(_tableColumnResizeService.cellMockVisible$ | async) !== true\"\n fdkDisabled\n></th>\n", dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2$2.TableCellDirective, selector: "[fdTableCell], [fd-table-cell]", inputs: ["noBorderX", "noBorderY", "activable", "focusable", "hoverable", "fitContent", "noPadding", "noData", "key"] }, { kind: "directive", type: i2$2.TableStatusIndicatorDirective, selector: "[fdTableStatusIndicator], [fd-table-status-indicator]", inputs: ["status"] }, { kind: "component", type: i4$1.CheckboxComponent, selector: "fd-checkbox", inputs: ["ariaLabel", "value", "ariaLabelledBy", "ariaDescribedBy", "title", "inputId", "state", "name", "label", "disabled", "tristate", "tristateSelectable", "labelClass", "required", "values", "standalone"], outputs: ["focusChange"] }, { kind: "directive", type: i4$3.PopoverTriggerDirective, selector: "[fdPopoverTrigger], [fd-popover-trigger]", inputs: ["fdPopoverTrigger"] }, { kind: "directive", type: i2.DisabledBehaviorDirective, selector: "[fdkDisabled]", inputs: ["fdkDisabled", "addDisabledClass", "disabledClass"] }, { kind: "directive", type: i1.PlatformTableCellResizableDirective, selector: "[fdpTableCellResizable]", inputs: ["fdpTableCellResizable", "columnName"] }, { kind: "component", type: TableHeaderCellContentComponent, selector: "fdp-table-header-cell-content", inputs: ["id", "column", "hasSorting", "hasFilter", "sorting"] }, { kind: "component", type: TableCellHeaderPopoverComponent, selector: "fdp-table-cell-header-popover", inputs: ["column", "popoverTemplate", "disabled", "columnFrozen", "filteringFromHeaderDisabled"], outputs: ["freezeToColumn", "unFreeze"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i11.FdTranslatePipe, name: "fdTranslate" }, { kind: "pipe", type: i1.SelectionCellStylesPipe, name: "selectionCellStyles" }, { kind: "pipe", type: i1.TableCellStylesPipe, name: "tableCellStyles" }, { kind: "pipe", type: i1.ColumnResizableSidePipe, name: "columnResizableSide" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
2913
2911
  }
2914
2912
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: TableHeaderRowComponent, decorators: [{
@@ -2917,8 +2915,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
2917
2915
  {
2918
2916
  provide: FDK_FOCUSABLE_LIST_DIRECTIVE,
2919
2917
  useExisting: TableHeaderRowComponent
2920
- },
2921
- DestroyedService
2918
+ }
2922
2919
  ], template: "<th\n *ngIf=\"_fdpTableService._semanticHighlighting$ | async\"\n [class.fd-table__cell--fixed]=\"fixed\"\n fd-table-cell\n fd-table-status-indicator\n fdkDisabled\n [style.min-width]=\"_fdpTableService._semanticHighlightingColumnWidth$ | async\"\n [style.max-width]=\"_fdpTableService._semanticHighlightingColumnWidth$ | async\"\n></th>\n\n<th\n *ngIf=\"isShownSelectionColumn\"\n fd-table-cell\n [focusable]=\"true\"\n [class.fd-table__cell--fixed]=\"fixed\"\n class=\"fd-table__cell--checkbox\"\n [style]=\"\n _contentDensityObserver\n | async\n | selectionCellStyles : _rtl : (_fdpTableService._semanticHighlightingColumnWidth$ | async)\n \"\n (keydown.enter)=\"_tableRowService.toggleAllSelectableRows(!checkedState)\"\n (keydown.space)=\"_tableRowService.toggleAllSelectableRows(!checkedState)\"\n>\n <fd-checkbox\n tabIndexValue=\"-1\"\n *ngIf=\"selectionMode === SELECTION_MODE.MULTIPLE\"\n labelClass=\"fd-table__checkbox-label\"\n [fdkDisabled]=\"_fdpTableService.visibleColumnsLength === 0 || disableSelectionCheckbox\"\n [tristate]=\"true\"\n [tristateSelectable]=\"false\"\n [ngModel]=\"checkedState\"\n (ngModelChange)=\"_tableRowService.toggleAllSelectableRows($event)\"\n [attr.aria-description]=\"\n !checkedState\n ? ('platformTable.selectAllCheckboxLabel' | fdTranslate)\n : ('platformTable.deselectAllCheckboxLabel' | fdTranslate)\n \"\n ></fd-checkbox>\n</th>\n\n<ng-container\n *ngFor=\"\n let column of _fdpTableService.visibleColumns$ | async;\n let colIdx = index;\n trackBy: _columnTrackBy;\n last as isLast\n \"\n>\n <th\n [focusable]=\"true\"\n role=\"columnheader\"\n [fdpTableCellResizable]=\"\n colIdx\n | columnResizableSide\n : _fdpTableService.visibleColumnsLength\n : (_fdpTableService._isShownNavigationColumn$ | async)\n \"\n [columnName]=\"column.name\"\n [id]=\"rowId + '__' + column.name\"\n [attr.aria-colindex]=\"colIdx\"\n [ngClass]=\"[\n 'fdp-table__col--' + column.name,\n column._freezed ? 'fd-table__cell--fixed' : '',\n column.name === freezeColumnsTo ? 'fd-table__cell--fixed-last' : '',\n column._endFreezed ? 'fd-table__cell--fixed-end' : '',\n column.name === freezeEndColumnsTo ? 'fd-table__cell--fixed-end-last' : '',\n isLast && (_fdpTableService._isShownNavigationColumn$ | async) !== true ? 'is-last-child' : '',\n _isColumnHasHeaderMenu(column) ? 'fd-table__item--clickable' : ''\n ]\"\n [ngStyle]=\"\n column\n | tableCellStyles\n : _rtl\n : (_fdpTableService._semanticHighlightingColumnWidth$ | async)\n : selectionColumnWidth\n : column._freezed\n : column._endFreezed\n : _tableColumnResizeService.getPrevColumnsWidth(column.name)\n : _tableColumnResizeService.getColumnWidthStyle(column.name)\n : _tableColumnResizeService.getNextColumnsWidth(column.name)\n \"\n [fdPopoverTrigger]=\"tablePopover.popover\"\n [cellFocusedEventAnnouncer]=\"null\"\n (cellFocused)=\"_tableRowService.cellFocused($event)\"\n (keydown.arrowLeft)=\"_tableRowService.scrollToOverlappedCell()\"\n (keydown.arrowRight)=\"_tableRowService.scrollToOverlappedCell()\"\n >\n <fdp-table-header-cell-content\n [id]=\"rowId\"\n [column]=\"column\"\n [hasFilter]=\"(_fdpTableService.filterRules$ | async)?.has(column.key) === true\"\n [hasSorting]=\"(_fdpTableService.sortRules$ | async)?.has(column.key) === true\"\n [sorting]=\"(_fdpTableService.sortRules$ | async)?.get(column.key)\"\n [attr.title]=\"column?.headerOverflows ? column.label : null\"\n >\n <!-- Header menu -->\n <fdp-table-cell-header-popover\n #tablePopover\n [disabled]=\"!_isColumnHasHeaderMenu(column)\"\n [column]=\"column\"\n [popoverTemplate]=\"column.headerCellPopoverTemplate\"\n [filteringFromHeaderDisabled]=\"_fdpTableService._isFilteringFromHeaderDisabled$ | async\"\n ></fdp-table-cell-header-popover>\n </fdp-table-header-cell-content>\n </th>\n</ng-container>\n\n<th\n *ngIf=\"_fdpTableService._isShownNavigationColumn$ | async\"\n fd-table-cell\n class=\"fdp-table__cell--navigation is-last-child\"\n role=\"columnheader\"\n></th>\n\n<th\n aria-hidden=\"true\"\n class=\"fd-table__cell fd-table__cell--mock\"\n [class.fd-table__cell--mock-borderless]=\"(_tableColumnResizeService.cellMockVisible$ | async) !== true\"\n fdkDisabled\n></th>\n" }]
2923
2920
  }], ctorParameters: function () { return []; }, propDecorators: { rowId: [{
2924
2921
  type: Input