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

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 (131) hide show
  1. package/button/button.component.d.ts +8 -2
  2. package/dynamic-page/dynamic-page-header/header/dynamic-page-header.component.d.ts +1 -1
  3. package/esm2022/action-bar/action-bar.component.mjs +9 -3
  4. package/esm2022/approval-flow/approval-flow-add-node/approval-flow-add-node.component.mjs +1 -1
  5. package/esm2022/approval-flow/approval-flow.component.mjs +14 -4
  6. package/esm2022/button/button.component.mjs +21 -1
  7. package/esm2022/dynamic-page/dynamic-page-header/header/dynamic-page-header.component.mjs +3 -2
  8. package/esm2022/feed-input/feed-input.component.mjs +12 -1
  9. package/esm2022/form/checkbox/checkbox.component.mjs +11 -1
  10. package/esm2022/form/combobox/combobox-mobile/combobox/combobox-mobile.component.mjs +1 -1
  11. package/esm2022/form/date-picker/date-picker.component.mjs +34 -1
  12. package/esm2022/form/datetime-picker/datetime-picker.component.mjs +45 -1
  13. package/esm2022/form/form-group/form-field/form-field.component.mjs +13 -3
  14. package/esm2022/form/multi-combobox/multi-combobox-mobile/multi-combobox/multi-combobox-mobile.component.mjs +1 -1
  15. package/esm2022/form/multi-input/multi-input-mobile/multi-input-mobile.component.mjs +1 -1
  16. package/esm2022/form/select/commons/base-select.mjs +9 -3
  17. package/esm2022/form/select/select/select.component.mjs +1 -1
  18. package/esm2022/form/time-picker/time-picker.component.mjs +17 -1
  19. package/esm2022/list/base-list-item.mjs +4 -1
  20. package/esm2022/message-popover/components/message-popover-form-wrapper/message-popover-form-wrapper.component.mjs +31 -29
  21. package/esm2022/message-popover/components/message-view/message-view.component.mjs +12 -11
  22. package/esm2022/message-popover/message-popover.component.mjs +21 -22
  23. package/esm2022/page-footer/page-footer.component.mjs +11 -3
  24. package/esm2022/search-field/search-field-mobile/search-field/search-field-mobile.component.mjs +1 -1
  25. package/esm2022/search-field/search-field.component.mjs +34 -11
  26. package/esm2022/settings-generator/layouts/base-settings-generator-layout.mjs +3 -3
  27. package/esm2022/settings-generator/layouts/settings-generator-sidebar-layout/settings-generator-sidebar-icon/settings-generator-sidebar-icon.component.mjs +8 -8
  28. package/esm2022/settings-generator/layouts/settings-generator-sidebar-layout/settings-generator-sidebar-layout.component.mjs +18 -17
  29. package/esm2022/settings-generator/settings-generator.component.mjs +14 -17
  30. package/esm2022/smart-filter-bar/components/smart-filter-bar-conditions-dialog/smart-filter-bar-conditions-dialog.component.mjs +1 -1
  31. package/esm2022/smart-filter-bar/components/smart-filter-bar-settings-dialog/smart-filter-bar-settings-dialog.component.mjs +1 -1
  32. package/esm2022/smart-filter-bar/smart-filter-bar.class.mjs +1 -1
  33. package/esm2022/smart-filter-bar/smart-filter-bar.component.mjs +75 -21
  34. package/esm2022/table/components/table-cell-header-popover/table-cell-header-popover.component.mjs +14 -13
  35. package/esm2022/table/components/table-column-resizer/table-column-resizer.component.mjs +14 -11
  36. package/esm2022/table/components/table-header-row/table-header-row.component.mjs +7 -9
  37. package/esm2022/table/components/table-p13-dialog/columns/columns.component.mjs +1 -1
  38. package/esm2022/table/components/table-p13-dialog/filtering/filter-rule.component.mjs +1 -1
  39. package/esm2022/table/components/table-p13-dialog/filtering/filtering.component.mjs +1 -1
  40. package/esm2022/table/components/table-p13-dialog/grouping/grouping.component.mjs +1 -1
  41. package/esm2022/table/components/table-p13-dialog/sorting/sorting.component.mjs +1 -1
  42. package/esm2022/table/components/table-popping-row/table-popping-row.component.mjs +5 -7
  43. package/esm2022/table/components/table-row/table-row.component.mjs +31 -32
  44. package/esm2022/table/components/table-view-settings-dialog/filtering/filters.component.mjs +1 -1
  45. package/esm2022/table/components/table-view-settings-dialog/grouping/grouping.component.mjs +1 -1
  46. package/esm2022/table/components/table-view-settings-dialog/sorting/sorting.component.mjs +1 -1
  47. package/esm2022/table-helpers/directives/table-cell-resizable.directive.mjs +5 -4
  48. package/esm2022/table-helpers/directives/table-data-source.directive.mjs +8 -12
  49. package/esm2022/table-helpers/directives/table-header-resizer.directive.mjs +10 -11
  50. package/esm2022/table-helpers/directives/table-scrollable.directive.mjs +9 -15
  51. package/esm2022/table-helpers/directives/table-virtual-scroll.directive.mjs +5 -8
  52. package/esm2022/thumbnail/thumbnail-details/thumbnail-details.component.mjs +10 -4
  53. package/esm2022/thumbnail/thumbnail-image/thumbnail-image.component.mjs +12 -4
  54. package/esm2022/thumbnail/thumbnail.component.mjs +13 -4
  55. package/esm2022/upload-collection/dialogs/move-to/move-to.component.mjs +1 -1
  56. package/esm2022/upload-collection/upload-collection/upload-collection.component.mjs +36 -3
  57. package/esm2022/value-help-dialog/components/define-tab/define-tab.component.mjs +23 -6
  58. package/esm2022/value-help-dialog/components/select-tab/select-tab.component.mjs +14 -2
  59. package/esm2022/value-help-dialog/value-help-dialog/value-help-dialog.component.mjs +36 -3
  60. package/esm2022/variant-management/components/variant-management-wrapper/variant-management-wrapper.component.mjs +13 -16
  61. package/esm2022/variant-management/variant-management.component.mjs +1 -1
  62. package/feed-input/feed-input.component.d.ts +4 -1
  63. package/fesm2022/fundamental-ngx-platform-action-bar.mjs +10 -4
  64. package/fesm2022/fundamental-ngx-platform-action-bar.mjs.map +1 -1
  65. package/fesm2022/fundamental-ngx-platform-approval-flow.mjs +17 -7
  66. package/fesm2022/fundamental-ngx-platform-approval-flow.mjs.map +1 -1
  67. package/fesm2022/fundamental-ngx-platform-button.mjs +20 -0
  68. package/fesm2022/fundamental-ngx-platform-button.mjs.map +1 -1
  69. package/fesm2022/fundamental-ngx-platform-dynamic-page.mjs +2 -2
  70. package/fesm2022/fundamental-ngx-platform-dynamic-page.mjs.map +1 -1
  71. package/fesm2022/fundamental-ngx-platform-feed-input.mjs +11 -0
  72. package/fesm2022/fundamental-ngx-platform-feed-input.mjs.map +1 -1
  73. package/fesm2022/fundamental-ngx-platform-form.mjs +127 -8
  74. package/fesm2022/fundamental-ngx-platform-form.mjs.map +1 -1
  75. package/fesm2022/fundamental-ngx-platform-list.mjs +3 -0
  76. package/fesm2022/fundamental-ngx-platform-list.mjs.map +1 -1
  77. package/fesm2022/fundamental-ngx-platform-message-popover.mjs +54 -50
  78. package/fesm2022/fundamental-ngx-platform-message-popover.mjs.map +1 -1
  79. package/fesm2022/fundamental-ngx-platform-page-footer.mjs +11 -3
  80. package/fesm2022/fundamental-ngx-platform-page-footer.mjs.map +1 -1
  81. package/fesm2022/fundamental-ngx-platform-search-field.mjs +34 -11
  82. package/fesm2022/fundamental-ngx-platform-search-field.mjs.map +1 -1
  83. package/fesm2022/fundamental-ngx-platform-settings-generator.mjs +31 -33
  84. package/fesm2022/fundamental-ngx-platform-settings-generator.mjs.map +1 -1
  85. package/fesm2022/fundamental-ngx-platform-smart-filter-bar.mjs +82 -26
  86. package/fesm2022/fundamental-ngx-platform-smart-filter-bar.mjs.map +1 -1
  87. package/fesm2022/fundamental-ngx-platform-table-helpers.mjs +23 -35
  88. package/fesm2022/fundamental-ngx-platform-table-helpers.mjs.map +1 -1
  89. package/fesm2022/fundamental-ngx-platform-table.mjs +64 -67
  90. package/fesm2022/fundamental-ngx-platform-table.mjs.map +1 -1
  91. package/fesm2022/fundamental-ngx-platform-thumbnail.mjs +27 -8
  92. package/fesm2022/fundamental-ngx-platform-thumbnail.mjs.map +1 -1
  93. package/fesm2022/fundamental-ngx-platform-upload-collection.mjs +38 -5
  94. package/fesm2022/fundamental-ngx-platform-upload-collection.mjs.map +1 -1
  95. package/fesm2022/fundamental-ngx-platform-value-help-dialog.mjs +70 -8
  96. package/fesm2022/fundamental-ngx-platform-value-help-dialog.mjs.map +1 -1
  97. package/fesm2022/fundamental-ngx-platform-variant-management.mjs +15 -16
  98. package/fesm2022/fundamental-ngx-platform-variant-management.mjs.map +1 -1
  99. package/form/checkbox/checkbox.component.d.ts +4 -2
  100. package/form/date-picker/date-picker.component.d.ts +16 -7
  101. package/form/datetime-picker/datetime-picker.component.d.ts +20 -8
  102. package/form/form-group/form-field/form-field.component.d.ts +4 -1
  103. package/form/time-picker/time-picker.component.d.ts +4 -1
  104. package/fundamental-ngx-platform-v0.44.0-rc.4.tgz +0 -0
  105. package/message-popover/components/message-popover-form-wrapper/message-popover-form-wrapper.component.d.ts +22 -21
  106. package/message-popover/components/message-view/message-view.component.d.ts +4 -5
  107. package/message-popover/message-popover.component.d.ts +7 -6
  108. package/package.json +4 -4
  109. package/schematics/ng-add/index.js +1 -1
  110. package/search-field/search-field.component.d.ts +25 -19
  111. package/settings-generator/layouts/base-settings-generator-layout.d.ts +16 -17
  112. package/settings-generator/layouts/settings-generator-sidebar-layout/settings-generator-sidebar-icon/settings-generator-sidebar-icon.component.d.ts +3 -3
  113. package/settings-generator/layouts/settings-generator-sidebar-layout/settings-generator-sidebar-layout.component.d.ts +6 -7
  114. package/settings-generator/settings-generator.component.d.ts +8 -8
  115. package/smart-filter-bar/smart-filter-bar.class.d.ts +5 -5
  116. package/smart-filter-bar/smart-filter-bar.component.d.ts +31 -17
  117. package/table/components/table-cell-header-popover/table-cell-header-popover.component.d.ts +3 -3
  118. package/table/components/table-column-resizer/table-column-resizer.component.d.ts +1 -1
  119. package/table/components/table-row/table-row.component.d.ts +10 -10
  120. package/table-helpers/directives/table-data-source.directive.d.ts +11 -13
  121. package/table-helpers/directives/table-header-resizer.directive.d.ts +3 -3
  122. package/table-helpers/directives/table-scrollable.directive.d.ts +1 -1
  123. package/table-helpers/directives/table-virtual-scroll.directive.d.ts +1 -1
  124. package/thumbnail/thumbnail-details/thumbnail-details.component.d.ts +2 -2
  125. package/thumbnail/thumbnail-image/thumbnail-image.component.d.ts +1 -1
  126. package/upload-collection/upload-collection/upload-collection.component.d.ts +11 -5
  127. package/value-help-dialog/components/define-tab/define-tab.component.d.ts +8 -2
  128. package/value-help-dialog/components/select-tab/select-tab.component.d.ts +6 -3
  129. package/value-help-dialog/value-help-dialog/value-help-dialog.component.d.ts +12 -3
  130. package/variant-management/components/variant-management-wrapper/variant-management-wrapper.component.d.ts +1 -3
  131. package/fundamental-ngx-platform-v0.44.0-rc.2.tgz +0 -0
@@ -1,7 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { InjectionToken, Injectable, EventEmitter, inject, Directive, Input, Output, NgZone, ChangeDetectorRef, forwardRef, HostBinding, Optional, ElementRef, Inject, HostListener, Pipe, NgModule } from '@angular/core';
3
- import * as i2 from '@fundamental-ngx/cdk/utils';
4
- import { DestroyedService, isString, RtlService, KeyUtil, resizeObservable, FDK_FOCUSABLE_ITEM_DIRECTIVE, FocusableItemDirective } from '@fundamental-ngx/cdk/utils';
2
+ import { InjectionToken, Injectable, EventEmitter, inject, Directive, Input, Output, NgZone, ChangeDetectorRef, forwardRef, HostBinding, DestroyRef, Optional, ElementRef, Inject, HostListener, Pipe, NgModule } from '@angular/core';
5
3
  import { isDataSource, DataSourceDirective, FD_DATA_SOURCE_TRANSFORMER } from '@fundamental-ngx/cdk/data-source';
6
4
  import { Subject, BehaviorSubject, isObservable, Subscription, filter as filter$1, fromEvent, Observable } from 'rxjs';
7
5
  import { map, takeUntil, take, skip, startWith, filter, debounceTime, distinctUntilChanged, share, tap } from 'rxjs/operators';
@@ -9,6 +7,9 @@ import { ContentDensityMode } from '@fundamental-ngx/core/content-density';
9
7
  import { isSelectItem, isDataSource as isDataSource$1, isString as isString$1, isFunction } from '@fundamental-ngx/platform/shared';
10
8
  import { get, cloneDeep, set } from 'lodash-es';
11
9
  import equal from 'fast-deep-equal';
10
+ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
11
+ import * as i2 from '@fundamental-ngx/cdk/utils';
12
+ import { isString, RtlService, KeyUtil, resizeObservable, FDK_FOCUSABLE_ITEM_DIRECTIVE, FocusableItemDirective } from '@fundamental-ngx/cdk/utils';
12
13
  import { LEFT_ARROW, RIGHT_ARROW, SPACE } from '@angular/cdk/keycodes';
13
14
  import { DOCUMENT } from '@angular/common';
14
15
  import { TableCellDirective } from '@fundamental-ngx/core/table';
@@ -1182,8 +1183,6 @@ function setCurrentPageToState(state, currentPage) {
1182
1183
  class TableDataSourceDirective extends DataSourceDirective {
1183
1184
  constructor() {
1184
1185
  super(...arguments);
1185
- /** @hidden */
1186
- this._childDsSubscription = new Subscription();
1187
1186
  /** Event emitted when child data source instance being changed. */
1188
1187
  this.childDataSourceChanged = new EventEmitter();
1189
1188
  /** Event emitted when data loading is started. */
@@ -1203,13 +1202,13 @@ class TableDataSourceDirective extends DataSourceDirective {
1203
1202
  /** @hidden */
1204
1203
  this._internalChildrenLoadingState = false;
1205
1204
  /** @hidden */
1205
+ this._childDsSubscription = new Subscription();
1206
+ /** @hidden */
1206
1207
  this.initialState = inject(FDP_TABLE_STATE_DIRECTIVE, {
1207
1208
  optional: true
1208
1209
  });
1209
1210
  /** @hidden */
1210
1211
  this._tableService = inject(TableService);
1211
- /** @hidden */
1212
- this._destroy$ = inject(DestroyedService);
1213
1212
  }
1214
1213
  /**
1215
1214
  * Data source.
@@ -1232,7 +1231,7 @@ class TableDataSourceDirective extends DataSourceDirective {
1232
1231
  }
1233
1232
  /** @hidden */
1234
1233
  initializeDataSource() {
1235
- this.dataSourceChanged.pipe(startWith(true), takeUntil(this._destroy$)).subscribe(() => {
1234
+ this.dataSourceChanged.pipe(startWith(true), takeUntilDestroyed(this._destroyRef)).subscribe(() => {
1236
1235
  this._closeDataSource();
1237
1236
  this._listenToDataSource();
1238
1237
  });
@@ -1268,11 +1267,11 @@ class TableDataSourceDirective extends DataSourceDirective {
1268
1267
  this._tableService.setTableLoading(this._table.loadingState);
1269
1268
  }));
1270
1269
  this._childDsSubscription.add(this.childDataSource.dataLoading
1271
- .pipe(filter((state) => !!state), takeUntil(this._destroyed$))
1270
+ .pipe(filter((state) => !!state), takeUntilDestroyed(this._destroyRef))
1272
1271
  .subscribe((loadingStates) => {
1273
1272
  loadingStates.forEach((state) => state.row?.childItemsLoading$.next(state.loading));
1274
1273
  }));
1275
- this._childDsSubscription.add(this.childDataSource.dataChanges.pipe(takeUntil(this._destroyed$)).subscribe((data) => {
1274
+ this._childDsSubscription.add(this.childDataSource.dataChanges.pipe(takeUntilDestroyed(this._destroyRef)).subscribe((data) => {
1276
1275
  this.childItems$.next(data);
1277
1276
  }));
1278
1277
  }
@@ -1333,7 +1332,6 @@ class TableDataSourceDirective extends DataSourceDirective {
1333
1332
  }
1334
1333
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: TableDataSourceDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
1335
1334
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", type: TableDataSourceDirective, isStandalone: true, selector: "[fdpTableDataSource]", inputs: { childDataSource: "childDataSource" }, outputs: { childDataSourceChanged: "childDataSourceChanged", onDataRequested: "onDataRequested", onDataReceived: "onDataReceived" }, providers: [
1336
- DestroyedService,
1337
1335
  {
1338
1336
  provide: FD_DATA_SOURCE_TRANSFORMER,
1339
1337
  useClass: TableDataSourceParser
@@ -1346,7 +1344,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
1346
1344
  selector: '[fdpTableDataSource]',
1347
1345
  standalone: true,
1348
1346
  providers: [
1349
- DestroyedService,
1350
1347
  {
1351
1348
  provide: FD_DATA_SOURCE_TRANSFORMER,
1352
1349
  useClass: TableDataSourceParser
@@ -2282,7 +2279,7 @@ class TableVirtualScrollDirective extends TableVirtualScroll {
2282
2279
  /** @hidden */
2283
2280
  this._tableScrollDispatcher = inject(TableScrollDispatcherService);
2284
2281
  /** @hidden */
2285
- this._destroy$ = inject(DestroyedService);
2282
+ this._destroyRef = inject(DestroyRef);
2286
2283
  }
2287
2284
  /** @hidden */
2288
2285
  ngOnChanges(changes) {
@@ -2333,7 +2330,7 @@ class TableVirtualScrollDirective extends TableVirtualScroll {
2333
2330
  listenOnVirtualScroll() {
2334
2331
  this._tableScrollDispatcher
2335
2332
  .verticallyScrolled()
2336
- .pipe(filter$1(() => this.virtualScroll && !!this.bodyHeight), takeUntil(this._destroy$))
2333
+ .pipe(filter$1(() => this.virtualScroll && !!this.bodyHeight), takeUntilDestroyed(this._destroyRef))
2337
2334
  .subscribe((scrollable) => {
2338
2335
  this.calculateVirtualScrollRows();
2339
2336
  this._table.setTableState({
@@ -2344,7 +2341,6 @@ class TableVirtualScrollDirective extends TableVirtualScroll {
2344
2341
  }
2345
2342
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: TableVirtualScrollDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
2346
2343
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", type: TableVirtualScrollDirective, isStandalone: true, selector: "fdp-table[virtualScroll]", inputs: { virtualScroll: "virtualScroll", renderAhead: "renderAhead", bodyHeight: "bodyHeight", rowHeight: "rowHeight" }, providers: [
2347
- DestroyedService,
2348
2344
  {
2349
2345
  provide: FDP_TABLE_VIRTUAL_SCROLL_DIRECTIVE,
2350
2346
  useExisting: TableVirtualScrollDirective
@@ -2358,7 +2354,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
2358
2354
  selector: 'fdp-table[virtualScroll]',
2359
2355
  standalone: true,
2360
2356
  providers: [
2361
- DestroyedService,
2362
2357
  {
2363
2358
  provide: FDP_TABLE_VIRTUAL_SCROLL_DIRECTIVE,
2364
2359
  useExisting: TableVirtualScrollDirective
@@ -2864,7 +2859,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
2864
2859
  class TableHeaderResizerDirective {
2865
2860
  constructor() {
2866
2861
  /** @hidden */
2867
- this._destroy$ = inject(DestroyedService);
2862
+ this._destroyRef = inject(DestroyRef);
2868
2863
  /** @hidden */
2869
2864
  this._rtl = inject(RtlService, {
2870
2865
  optional: true
@@ -2888,7 +2883,7 @@ class TableHeaderResizerDirective {
2888
2883
  ngOnInit() {
2889
2884
  this._zone.runOutsideAngular(() => {
2890
2885
  fromEvent(this._elmRef.nativeElement, 'keydown')
2891
- .pipe(takeUntil(this._destroy$))
2886
+ .pipe(takeUntilDestroyed(this._destroyRef))
2892
2887
  .subscribe((event) => {
2893
2888
  if ((KeyUtil.isKeyCode(event, LEFT_ARROW) ||
2894
2889
  (this._rtl?.rtl.value && KeyUtil.isKeyCode(event, RIGHT_ARROW))) &&
@@ -2908,7 +2903,7 @@ class TableHeaderResizerDirective {
2908
2903
  }
2909
2904
  });
2910
2905
  fromEvent(this._elmRef.nativeElement, 'focusin')
2911
- .pipe(takeUntil(this._destroy$))
2906
+ .pipe(takeUntilDestroyed(this._destroyRef))
2912
2907
  .subscribe(() => {
2913
2908
  if (!this._focusinTimerId) {
2914
2909
  return;
@@ -2917,7 +2912,7 @@ class TableHeaderResizerDirective {
2917
2912
  this._focusinTimerId = null;
2918
2913
  });
2919
2914
  fromEvent(this._elmRef.nativeElement, 'focusout')
2920
- .pipe(takeUntil(this._destroy$))
2915
+ .pipe(takeUntilDestroyed(this._destroyRef))
2921
2916
  .subscribe(() => {
2922
2917
  this._focusinTimerId = setTimeout(() => {
2923
2918
  this.focusedCellPosition = null;
@@ -2933,14 +2928,13 @@ class TableHeaderResizerDirective {
2933
2928
  this.focusedCellPosition = { rowIndex: position.rowIndex, colIndex: position.colIndex };
2934
2929
  }
2935
2930
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: TableHeaderResizerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
2936
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", type: TableHeaderResizerDirective, isStandalone: true, selector: "[fdpTableHeaderResizer]", providers: [DestroyedService], ngImport: i0 }); }
2931
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", type: TableHeaderResizerDirective, isStandalone: true, selector: "[fdpTableHeaderResizer]", ngImport: i0 }); }
2937
2932
  }
2938
2933
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: TableHeaderResizerDirective, decorators: [{
2939
2934
  type: Directive,
2940
2935
  args: [{
2941
2936
  selector: '[fdpTableHeaderResizer]',
2942
- standalone: true,
2943
- providers: [DestroyedService]
2937
+ standalone: true
2944
2938
  }]
2945
2939
  }] });
2946
2940
 
@@ -3140,12 +3134,12 @@ class PlatformTableCellResizableDirective extends TableCellDirective {
3140
3134
  ngOnInit() {
3141
3135
  this._zone.runOutsideAngular(() => {
3142
3136
  fromEvent(this.elementRef.nativeElement, 'mousemove')
3143
- .pipe(filter(() => this._tableColumnResizeService?.resizeInProgress !== true), map((event) => this._getResizer(event) || { resizerPosition: 0, resizedColumn: this.columnName }), distinctUntilChanged((prev, curr) => equal(prev, curr)), takeUntil(this._destroy$))
3137
+ .pipe(filter(() => this._tableColumnResizeService?.resizeInProgress !== true), map((event) => this._getResizer(event) || { resizerPosition: 0, resizedColumn: this.columnName }), distinctUntilChanged((prev, curr) => equal(prev, curr)), takeUntilDestroyed(this._destroyRef))
3144
3138
  .subscribe((data) => {
3145
3139
  this._tableColumnResizeService.setInitialResizerPosition(data.resizerPosition, data.resizedColumn);
3146
3140
  });
3147
3141
  fromEvent(this.elementRef.nativeElement, 'focus')
3148
- .pipe(takeUntil(this._destroy$))
3142
+ .pipe(takeUntilDestroyed(this._destroyRef))
3149
3143
  .subscribe(() => {
3150
3144
  this._tableColumnResizeService.setInitialResizerPosition(0, this.columnName);
3151
3145
  });
@@ -3387,7 +3381,7 @@ class TableScrollableDirective {
3387
3381
  /** @hidden */
3388
3382
  this._prevScrollLeft = 0;
3389
3383
  /** @hidden */
3390
- this._destroyed$ = inject(DestroyedService);
3384
+ this._destroyRef = inject(DestroyRef);
3391
3385
  /** @hidden */
3392
3386
  this._document = inject(DOCUMENT);
3393
3387
  /** Scroll events stream */
@@ -3400,7 +3394,7 @@ class TableScrollableDirective {
3400
3394
  return false;
3401
3395
  }
3402
3396
  return true;
3403
- }), takeUntil(this._destroyed$), share());
3397
+ }), takeUntilDestroyed(this._destroyRef), share());
3404
3398
  /** Vertical scroll stream */
3405
3399
  this._elementVerticalScrollStream = this._elementScrollStream.pipe(filter(() => this._prevScrollTop !== this.getScrollTop()), tap(() => (this._prevScrollTop = this.getScrollTop())));
3406
3400
  /** Horizontal scroll stream */
@@ -3505,10 +3499,7 @@ class TableScrollableDirective {
3505
3499
  });
3506
3500
  }
3507
3501
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: TableScrollableDirective, deps: [{ token: i0.ElementRef }, { token: TableScrollDispatcherService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
3508
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", type: TableScrollableDirective, isStandalone: true, selector: "[fdpTableScrollable]", providers: [
3509
- { provide: TABLE_SCROLLABLE, useExisting: forwardRef(() => TableScrollableDirective) },
3510
- DestroyedService
3511
- ], exportAs: ["tableScrollable"], ngImport: i0 }); }
3502
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.0", type: TableScrollableDirective, isStandalone: true, selector: "[fdpTableScrollable]", providers: [{ provide: TABLE_SCROLLABLE, useExisting: forwardRef(() => TableScrollableDirective) }], exportAs: ["tableScrollable"], ngImport: i0 }); }
3512
3503
  }
3513
3504
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImport: i0, type: TableScrollableDirective, decorators: [{
3514
3505
  type: Directive,
@@ -3516,10 +3507,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.0", ngImpor
3516
3507
  selector: '[fdpTableScrollable]',
3517
3508
  exportAs: 'tableScrollable',
3518
3509
  standalone: true,
3519
- providers: [
3520
- { provide: TABLE_SCROLLABLE, useExisting: forwardRef(() => TableScrollableDirective) },
3521
- DestroyedService
3522
- ]
3510
+ providers: [{ provide: TABLE_SCROLLABLE, useExisting: forwardRef(() => TableScrollableDirective) }]
3523
3511
  }]
3524
3512
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: TableScrollDispatcherService }, { type: i0.NgZone }]; } });
3525
3513