@angular/cdk-experimental 19.0.0-next.0 → 19.0.0-next.10

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 (81) hide show
  1. package/column-resize/index.d.ts +5 -13
  2. package/combobox/index.d.ts +5 -11
  3. package/fesm2022/cdk-experimental.mjs +1 -1
  4. package/fesm2022/cdk-experimental.mjs.map +1 -1
  5. package/fesm2022/column-resize.mjs +112 -131
  6. package/fesm2022/column-resize.mjs.map +1 -1
  7. package/fesm2022/combobox.mjs +38 -49
  8. package/fesm2022/combobox.mjs.map +1 -1
  9. package/fesm2022/popover-edit.mjs +121 -133
  10. package/fesm2022/popover-edit.mjs.map +1 -1
  11. package/fesm2022/scrolling.mjs +7 -8
  12. package/fesm2022/scrolling.mjs.map +1 -1
  13. package/fesm2022/selection.mjs +43 -81
  14. package/fesm2022/selection.mjs.map +1 -1
  15. package/fesm2022/table-scroll-container.mjs +17 -31
  16. package/fesm2022/table-scroll-container.mjs.map +1 -1
  17. package/package.json +2 -16
  18. package/popover-edit/index.d.ts +11 -19
  19. package/selection/index.d.ts +6 -10
  20. package/table-scroll-container/index.d.ts +3 -6
  21. package/esm2022/column-resize/column-resize-directives/column-resize-flex.mjs +0 -43
  22. package/esm2022/column-resize/column-resize-directives/column-resize.mjs +0 -43
  23. package/esm2022/column-resize/column-resize-directives/constants.mjs +0 -21
  24. package/esm2022/column-resize/column-resize-directives/default-enabled-column-resize-flex.mjs +0 -49
  25. package/esm2022/column-resize/column-resize-directives/default-enabled-column-resize.mjs +0 -49
  26. package/esm2022/column-resize/column-resize-module.mjs +0 -46
  27. package/esm2022/column-resize/column-resize-notifier.mjs +0 -52
  28. package/esm2022/column-resize/column-resize.mjs +0 -82
  29. package/esm2022/column-resize/column-resize_public_index.mjs +0 -5
  30. package/esm2022/column-resize/column-size-store.mjs +0 -20
  31. package/esm2022/column-resize/event-dispatcher.mjs +0 -70
  32. package/esm2022/column-resize/index.mjs +0 -9
  33. package/esm2022/column-resize/overlay-handle.mjs +0 -146
  34. package/esm2022/column-resize/public-api.mjs +0 -21
  35. package/esm2022/column-resize/resizable.mjs +0 -199
  36. package/esm2022/column-resize/resize-ref.mjs +0 -17
  37. package/esm2022/column-resize/resize-strategy.mjs +0 -239
  38. package/esm2022/column-resize/selectors.mjs +0 -13
  39. package/esm2022/combobox/combobox-module.mjs +0 -26
  40. package/esm2022/combobox/combobox-popup.mjs +0 -73
  41. package/esm2022/combobox/combobox.mjs +0 -281
  42. package/esm2022/combobox/combobox_public_index.mjs +0 -5
  43. package/esm2022/combobox/index.mjs +0 -9
  44. package/esm2022/combobox/public-api.mjs +0 -11
  45. package/esm2022/index.mjs +0 -9
  46. package/esm2022/popover-edit/constants.mjs +0 -20
  47. package/esm2022/popover-edit/edit-event-dispatcher.mjs +0 -227
  48. package/esm2022/popover-edit/edit-ref.mjs +0 -83
  49. package/esm2022/popover-edit/edit-services.mjs +0 -45
  50. package/esm2022/popover-edit/focus-dispatcher.mjs +0 -82
  51. package/esm2022/popover-edit/focus-escape-notifier.mjs +0 -69
  52. package/esm2022/popover-edit/form-value-container.mjs +0 -33
  53. package/esm2022/popover-edit/index.mjs +0 -9
  54. package/esm2022/popover-edit/lens-directives.mjs +0 -185
  55. package/esm2022/popover-edit/polyfill.mjs +0 -19
  56. package/esm2022/popover-edit/popover-edit-module.mjs +0 -49
  57. package/esm2022/popover-edit/popover-edit_public_index.mjs +0 -5
  58. package/esm2022/popover-edit/public-api.mjs +0 -18
  59. package/esm2022/popover-edit/table-directives.mjs +0 -441
  60. package/esm2022/public-api.mjs +0 -9
  61. package/esm2022/scrolling/auto-size-virtual-scroll.mjs +0 -422
  62. package/esm2022/scrolling/index.mjs +0 -9
  63. package/esm2022/scrolling/public-api.mjs +0 -10
  64. package/esm2022/scrolling/scrolling-module.mjs +0 -23
  65. package/esm2022/scrolling/scrolling_public_index.mjs +0 -5
  66. package/esm2022/selection/index.mjs +0 -9
  67. package/esm2022/selection/public-api.mjs +0 -15
  68. package/esm2022/selection/row-selection.mjs +0 -52
  69. package/esm2022/selection/select-all.mjs +0 -101
  70. package/esm2022/selection/selection-column.mjs +0 -147
  71. package/esm2022/selection/selection-module.mjs +0 -44
  72. package/esm2022/selection/selection-set.mjs +0 -80
  73. package/esm2022/selection/selection-toggle.mjs +0 -101
  74. package/esm2022/selection/selection.mjs +0 -187
  75. package/esm2022/selection/selection_public_index.mjs +0 -5
  76. package/esm2022/table-scroll-container/index.mjs +0 -9
  77. package/esm2022/table-scroll-container/public-api.mjs +0 -10
  78. package/esm2022/table-scroll-container/table-scroll-container-module.mjs +0 -23
  79. package/esm2022/table-scroll-container/table-scroll-container.mjs +0 -141
  80. package/esm2022/table-scroll-container/table-scroll-container_public_index.mjs +0 -5
  81. package/esm2022/version.mjs +0 -11
@@ -28,7 +28,6 @@ export declare class CdkColumnResize extends ColumnResize {
28
28
  protected readonly ngZone: NgZone;
29
29
  protected readonly notifier: ColumnResizeNotifierSource;
30
30
  protected readonly table: CdkTable<unknown>;
31
- constructor(columnResizeNotifier: ColumnResizeNotifier, elementRef: ElementRef<HTMLElement>, eventDispatcher: HeaderRowEventDispatcher, ngZone: NgZone, notifier: ColumnResizeNotifierSource, table: CdkTable<unknown>);
32
31
  static ɵfac: i0.ɵɵFactoryDeclaration<CdkColumnResize, never>;
33
32
  static ɵdir: i0.ɵɵDirectiveDeclaration<CdkColumnResize, "table[cdk-table][columnResize]", never, {}, {}, never, never, true, never>;
34
33
  }
@@ -54,7 +53,6 @@ export declare class CdkColumnResizeFlex extends ColumnResize {
54
53
  protected readonly ngZone: NgZone;
55
54
  protected readonly notifier: ColumnResizeNotifierSource;
56
55
  protected readonly table: CdkTable<unknown>;
57
- constructor(columnResizeNotifier: ColumnResizeNotifier, elementRef: ElementRef<HTMLElement>, eventDispatcher: HeaderRowEventDispatcher, ngZone: NgZone, notifier: ColumnResizeNotifierSource, table: CdkTable<unknown>);
58
56
  static ɵfac: i0.ɵɵFactoryDeclaration<CdkColumnResizeFlex, never>;
59
57
  static ɵdir: i0.ɵɵDirectiveDeclaration<CdkColumnResizeFlex, "cdk-table[columnResize]", never, {}, {}, never, never, true, never>;
60
58
  }
@@ -80,7 +78,6 @@ export declare class CdkDefaultEnabledColumnResize extends ColumnResize {
80
78
  protected readonly ngZone: NgZone;
81
79
  protected readonly notifier: ColumnResizeNotifierSource;
82
80
  protected readonly table: CdkTable<unknown>;
83
- constructor(columnResizeNotifier: ColumnResizeNotifier, elementRef: ElementRef<HTMLElement>, eventDispatcher: HeaderRowEventDispatcher, ngZone: NgZone, notifier: ColumnResizeNotifierSource, table: CdkTable<unknown>);
84
81
  static ɵfac: i0.ɵɵFactoryDeclaration<CdkDefaultEnabledColumnResize, never>;
85
82
  static ɵdir: i0.ɵɵDirectiveDeclaration<CdkDefaultEnabledColumnResize, "table[cdk-table]", never, {}, {}, never, never, true, never>;
86
83
  }
@@ -96,7 +93,6 @@ export declare class CdkDefaultEnabledColumnResizeFlex extends ColumnResize {
96
93
  protected readonly ngZone: NgZone;
97
94
  protected readonly notifier: ColumnResizeNotifierSource;
98
95
  protected readonly table: CdkTable<unknown>;
99
- constructor(columnResizeNotifier: ColumnResizeNotifier, elementRef: ElementRef<HTMLElement>, eventDispatcher: HeaderRowEventDispatcher, ngZone: NgZone, notifier: ColumnResizeNotifierSource, table: CdkTable<unknown>);
100
96
  static ɵfac: i0.ɵɵFactoryDeclaration<CdkDefaultEnabledColumnResizeFlex, never>;
101
97
  static ɵdir: i0.ɵɵDirectiveDeclaration<CdkDefaultEnabledColumnResizeFlex, "cdk-table", never, {}, {}, never, never, true, never>;
102
98
  }
@@ -111,7 +107,7 @@ export declare class CdkFlexTableResizeStrategy extends ResizeStrategy implement
111
107
  protected readonly columnResize: ColumnResize;
112
108
  protected readonly styleScheduler: _CoalescedStyleScheduler;
113
109
  protected readonly table: CdkTable<unknown>;
114
- private readonly _nonce?;
110
+ private readonly _nonce;
115
111
  private readonly _document;
116
112
  private readonly _columnIndexes;
117
113
  private readonly _columnProperties;
@@ -119,7 +115,6 @@ export declare class CdkFlexTableResizeStrategy extends ResizeStrategy implement
119
115
  private _indexSequence;
120
116
  protected readonly defaultMinSize = 0;
121
117
  protected readonly defaultMaxSize: number;
122
- constructor(columnResize: ColumnResize, styleScheduler: _CoalescedStyleScheduler, table: CdkTable<unknown>, document: any, _nonce?: (string | null) | undefined);
123
118
  applyColumnSize(cssFriendlyColumnName: string, columnHeader: HTMLElement, sizeInPx: number, previousSizeInPx?: number): void;
124
119
  applyMinColumnSize(cssFriendlyColumnName: string, _: HTMLElement, sizeInPx: number): void;
125
120
  applyMaxColumnSize(cssFriendlyColumnName: string, _: HTMLElement, sizeInPx: number): void;
@@ -131,7 +126,7 @@ export declare class CdkFlexTableResizeStrategy extends ResizeStrategy implement
131
126
  private _getStyleSheet;
132
127
  private _getColumnPropertiesMap;
133
128
  private _applySizeCss;
134
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkFlexTableResizeStrategy, [null, null, null, null, { optional: true; }]>;
129
+ static ɵfac: i0.ɵɵFactoryDeclaration<CdkFlexTableResizeStrategy, never>;
135
130
  static ɵprov: i0.ɵɵInjectableDeclaration<CdkFlexTableResizeStrategy>;
136
131
  }
137
132
 
@@ -160,7 +155,7 @@ export declare abstract class ColumnResize implements AfterViewInit, OnDestroy {
160
155
  private _listenForResizeActivity;
161
156
  private _listenForHoverActivity;
162
157
  static ɵfac: i0.ɵɵFactoryDeclaration<ColumnResize, never>;
163
- static ɵdir: i0.ɵɵDirectiveDeclaration<ColumnResize, never, never, {}, {}, never, never, false, never>;
158
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ColumnResize, never, never, {}, {}, never, never, true, never>;
164
159
  }
165
160
 
166
161
  /** Service for triggering column resizes imperatively or being notified of them. */
@@ -168,7 +163,6 @@ export declare class ColumnResizeNotifier {
168
163
  private readonly _source;
169
164
  /** Emits whenever a column is resized. */
170
165
  readonly resizeCompleted: Observable<ColumnSize>;
171
- constructor(_source: ColumnResizeNotifierSource);
172
166
  /** Instantly resizes the specified column. */
173
167
  resize(columnId: string, size: number): void;
174
168
  static ɵfac: i0.ɵɵFactoryDeclaration<ColumnResizeNotifier, never>;
@@ -242,7 +236,6 @@ export declare class HeaderRowEventDispatcher {
242
236
  * when no resize is in progress.
243
237
  */
244
238
  readonly overlayHandleActiveForCell: Subject<Element | null>;
245
- constructor(_ngZone: NgZone);
246
239
  /** Distinct and shared version of headerCellHovered. */
247
240
  readonly headerCellHoveredDistinct: Observable<Element | null>;
248
241
  /**
@@ -336,7 +329,7 @@ export declare abstract class Resizable<HandleComponent extends ResizeOverlayHan
336
329
  private _applyMaxWidthPx;
337
330
  private _appendInlineHandle;
338
331
  static ɵfac: i0.ɵɵFactoryDeclaration<Resizable<any>, never>;
339
- static ɵdir: i0.ɵɵDirectiveDeclaration<Resizable<any>, never, never, {}, {}, never, never, false, never>;
332
+ static ɵdir: i0.ɵɵDirectiveDeclaration<Resizable<any>, never, never, {}, {}, never, never, true, never>;
340
333
  }
341
334
 
342
335
  /**
@@ -365,7 +358,7 @@ export declare abstract class ResizeOverlayHandle implements AfterViewInit, OnDe
365
358
  private _isLtr;
366
359
  private _notifyResizeEnded;
367
360
  static ɵfac: i0.ɵɵFactoryDeclaration<ResizeOverlayHandle, never>;
368
- static ɵdir: i0.ɵɵDirectiveDeclaration<ResizeOverlayHandle, never, never, {}, {}, never, never, false, never>;
361
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ResizeOverlayHandle, never, never, {}, {}, never, never, true, never>;
369
362
  }
370
363
 
371
364
  /** Tracks state of resize events in progress. */
@@ -411,7 +404,6 @@ export declare class TableLayoutFixedResizeStrategy extends ResizeStrategy {
411
404
  protected readonly columnResize: ColumnResize;
412
405
  protected readonly styleScheduler: _CoalescedStyleScheduler;
413
406
  protected readonly table: CdkTable<unknown>;
414
- constructor(columnResize: ColumnResize, styleScheduler: _CoalescedStyleScheduler, table: CdkTable<unknown>);
415
407
  applyColumnSize(_: string, columnHeader: HTMLElement, sizeInPx: number, previousSizeInPx?: number): void;
416
408
  applyMinColumnSize(_: string, columnHeader: HTMLElement, sizeInPx: number): void;
417
409
  applyMaxColumnSize(_: string, columnHeader: HTMLElement, sizeInPx: number): void;
@@ -1,14 +1,10 @@
1
1
  import { BooleanInput } from '@angular/cdk/coercion';
2
- import { Directionality } from '@angular/cdk/bidi';
3
- import { ElementRef } from '@angular/core';
4
2
  import { EventEmitter } from '@angular/core';
5
3
  import * as i0 from '@angular/core';
6
4
  import * as i1 from '@angular/cdk/overlay';
7
5
  import { InjectionToken } from '@angular/core';
8
- import { Injector } from '@angular/core';
9
6
  import { OnDestroy } from '@angular/core';
10
7
  import { OnInit } from '@angular/core';
11
- import { Overlay } from '@angular/cdk/overlay';
12
8
  import { TemplateRef } from '@angular/core';
13
9
  import { ViewContainerRef } from '@angular/core';
14
10
 
@@ -22,7 +18,10 @@ export declare class CdkCombobox<T = unknown> implements OnDestroy {
22
18
  protected readonly _viewContainerRef: ViewContainerRef;
23
19
  private readonly _injector;
24
20
  private readonly _doc;
25
- private readonly _directionality?;
21
+ private readonly _directionality;
22
+ private _changeDetectorRef;
23
+ private _overlayRef;
24
+ private _panelPortal;
26
25
  _panelTemplateRef: TemplateRef<unknown>;
27
26
  value: T | T[];
28
27
  get disabled(): boolean;
@@ -38,12 +37,8 @@ export declare class CdkCombobox<T = unknown> implements OnDestroy {
38
37
  readonly opened: EventEmitter<void>;
39
38
  readonly closed: EventEmitter<void>;
40
39
  readonly panelValueChanged: EventEmitter<T[]>;
41
- private _overlayRef;
42
- private _panelPortal;
43
40
  contentId: string;
44
41
  contentType: AriaHasPopupValue;
45
- private _changeDetectorRef;
46
- constructor(_elementRef: ElementRef<HTMLElement>, _overlay: Overlay, _viewContainerRef: ViewContainerRef, _injector: Injector, _doc: any, _directionality?: Directionality | undefined);
47
42
  ngOnDestroy(): void;
48
43
  _keydown(event: KeyboardEvent): void;
49
44
  /** Handles click or focus interactions. */
@@ -73,7 +68,7 @@ export declare class CdkCombobox<T = unknown> implements OnDestroy {
73
68
  private _coerceOpenActionProperty;
74
69
  /** Registers the content's id and the content type with the panel. */
75
70
  _registerContent(contentId: string, contentType: AriaHasPopupValue): void;
76
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkCombobox<any>, [null, null, null, null, null, { optional: true; }]>;
71
+ static ɵfac: i0.ɵɵFactoryDeclaration<CdkCombobox<any>, never>;
77
72
  static ɵdir: i0.ɵɵDirectiveDeclaration<CdkCombobox<any>, "[cdkCombobox]", ["cdkCombobox"], { "_panelTemplateRef": { "alias": "cdkComboboxTriggerFor"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "openActions": { "alias": "openActions"; "required": false; }; "autoSetText": { "alias": "autoSetText"; "required": false; }; }, { "opened": "comboboxPanelOpened"; "closed": "comboboxPanelClosed"; "panelValueChanged": "panelValueChanged"; }, never, never, true, never>;
78
73
  }
79
74
 
@@ -93,7 +88,6 @@ export declare class CdkComboboxPopup<T = unknown> implements OnInit {
93
88
  set firstFocus(id: HTMLElement);
94
89
  private _firstFocusElement;
95
90
  id: string;
96
- constructor(_elementRef: ElementRef<HTMLElement>, _combobox: CdkCombobox);
97
91
  ngOnInit(): void;
98
92
  registerWithPanel(): void;
99
93
  focusFirstElement(): void;
@@ -1,7 +1,7 @@
1
1
  import { Version } from '@angular/core';
2
2
 
3
3
  /** Current version of the CDK Experimental package. */
4
- const VERSION = new Version('19.0.0-next.0');
4
+ const VERSION = new Version('19.0.0-next.10');
5
5
 
6
6
  export { VERSION };
7
7
  //# sourceMappingURL=cdk-experimental.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"cdk-experimental.mjs","sources":["../../../../../../src/cdk-experimental/version.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {Version} from '@angular/core';\n\n/** Current version of the CDK Experimental package. */\nexport const VERSION = new Version('19.0.0-next.0');\n"],"names":[],"mappings":";;AAUA;MACa,OAAO,GAAG,IAAI,OAAO,CAAC,mBAAmB;;;;"}
1
+ {"version":3,"file":"cdk-experimental.mjs","sources":["../../../../../../src/cdk-experimental/version.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {Version} from '@angular/core';\n\n/** Current version of the CDK Experimental package. */\nexport const VERSION = new Version('19.0.0-next.10');\n"],"names":[],"mappings":";;AAUA;MACa,OAAO,GAAG,IAAI,OAAO,CAAC,mBAAmB;;;;"}
@@ -1,10 +1,9 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Directive, Injectable, Inject, CSP_NONCE, Optional, NgModule, Injector } from '@angular/core';
2
+ import { Directive, Injectable, inject, NgZone, CSP_NONCE, ElementRef, NgModule, Injector } from '@angular/core';
3
3
  import { Subject, fromEvent, merge, combineLatest, Observable } from 'rxjs';
4
4
  import { map, takeUntil, filter, mapTo, take, startWith, pairwise, distinctUntilChanged, share, skip } from 'rxjs/operators';
5
5
  import { _closest } from '@angular/cdk-experimental/popover-edit';
6
- import * as i3 from '@angular/cdk/table';
7
- import { _COALESCED_STYLE_SCHEDULER } from '@angular/cdk/table';
6
+ import { _COALESCED_STYLE_SCHEDULER, CdkTable } from '@angular/cdk/table';
8
7
  import { DOCUMENT } from '@angular/common';
9
8
  import { coerceCssPixelValue } from '@angular/cdk/coercion';
10
9
  import { ComponentPortal } from '@angular/cdk/portal';
@@ -78,10 +77,10 @@ class ColumnResize {
78
77
  }
79
78
  });
80
79
  }
81
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: ColumnResize, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
82
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0-next.2", type: ColumnResize, ngImport: i0 }); }
80
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: ColumnResize, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
81
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.10", type: ColumnResize, isStandalone: true, ngImport: i0 }); }
83
82
  }
84
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: ColumnResize, decorators: [{
83
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: ColumnResize, decorators: [{
85
84
  type: Directive
86
85
  }] });
87
86
 
@@ -98,16 +97,16 @@ class ColumnResizeNotifierSource {
98
97
  /** Triggers a resize action. */
99
98
  this.triggerResize = new Subject();
100
99
  }
101
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: ColumnResizeNotifierSource, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
102
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: ColumnResizeNotifierSource }); }
100
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: ColumnResizeNotifierSource, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
101
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: ColumnResizeNotifierSource }); }
103
102
  }
104
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: ColumnResizeNotifierSource, decorators: [{
103
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: ColumnResizeNotifierSource, decorators: [{
105
104
  type: Injectable
106
105
  }] });
107
106
  /** Service for triggering column resizes imperatively or being notified of them. */
108
107
  class ColumnResizeNotifier {
109
- constructor(_source) {
110
- this._source = _source;
108
+ constructor() {
109
+ this._source = inject(ColumnResizeNotifierSource);
111
110
  /** Emits whenever a column is resized. */
112
111
  this.resizeCompleted = this._source.resizeCompleted;
113
112
  }
@@ -120,17 +119,17 @@ class ColumnResizeNotifier {
120
119
  isStickyColumn: true,
121
120
  });
122
121
  }
123
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: ColumnResizeNotifier, deps: [{ token: ColumnResizeNotifierSource }], target: i0.ɵɵFactoryTarget.Injectable }); }
124
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: ColumnResizeNotifier }); }
122
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: ColumnResizeNotifier, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
123
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: ColumnResizeNotifier }); }
125
124
  }
126
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: ColumnResizeNotifier, decorators: [{
125
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: ColumnResizeNotifier, decorators: [{
127
126
  type: Injectable
128
- }], ctorParameters: () => [{ type: ColumnResizeNotifierSource }] });
127
+ }] });
129
128
 
130
129
  /** Coordinates events between the column resize directives. */
131
130
  class HeaderRowEventDispatcher {
132
- constructor(_ngZone) {
133
- this._ngZone = _ngZone;
131
+ constructor() {
132
+ this._ngZone = inject(NgZone);
134
133
  /**
135
134
  * Emits the currently hovered header cell or null when no header cells are hovered.
136
135
  * Exposed publicly for events to feed in, but subscribers should use headerCellHoveredDistinct,
@@ -177,12 +176,12 @@ class HeaderRowEventDispatcher {
177
176
  complete: () => observer.complete(),
178
177
  }));
179
178
  }
180
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: HeaderRowEventDispatcher, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }
181
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: HeaderRowEventDispatcher }); }
179
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: HeaderRowEventDispatcher, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
180
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: HeaderRowEventDispatcher }); }
182
181
  }
183
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: HeaderRowEventDispatcher, decorators: [{
182
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: HeaderRowEventDispatcher, decorators: [{
184
183
  type: Injectable
185
- }], ctorParameters: () => [{ type: i0.NgZone }] });
184
+ }] });
186
185
 
187
186
  /**
188
187
  * Provides an implementation for resizing a column.
@@ -207,10 +206,10 @@ class ResizeStrategy {
207
206
  }
208
207
  this._pendingResizeDelta = (this._pendingResizeDelta ?? 0) + delta;
209
208
  }
210
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: ResizeStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
211
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: ResizeStrategy }); }
209
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: ResizeStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
210
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: ResizeStrategy }); }
212
211
  }
213
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: ResizeStrategy, decorators: [{
212
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: ResizeStrategy, decorators: [{
214
213
  type: Injectable
215
214
  }] });
216
215
  /**
@@ -221,11 +220,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2",
221
220
  * Updating all cell nodes
222
221
  */
223
222
  class TableLayoutFixedResizeStrategy extends ResizeStrategy {
224
- constructor(columnResize, styleScheduler, table) {
225
- super();
226
- this.columnResize = columnResize;
227
- this.styleScheduler = styleScheduler;
228
- this.table = table;
223
+ constructor() {
224
+ super(...arguments);
225
+ this.columnResize = inject(ColumnResize);
226
+ this.styleScheduler = inject(_COALESCED_STYLE_SCHEDULER);
227
+ this.table = inject(CdkTable);
229
228
  }
230
229
  applyColumnSize(_, columnHeader, sizeInPx, previousSizeInPx) {
231
230
  const delta = sizeInPx - (previousSizeInPx ?? getElementWidth(columnHeader));
@@ -247,15 +246,12 @@ class TableLayoutFixedResizeStrategy extends ResizeStrategy {
247
246
  const newWidth = Math.min(currentWidth, sizeInPx);
248
247
  this.applyColumnSize(_, columnHeader, newWidth, currentWidth);
249
248
  }
250
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: TableLayoutFixedResizeStrategy, deps: [{ token: ColumnResize }, { token: _COALESCED_STYLE_SCHEDULER }, { token: i3.CdkTable }], target: i0.ɵɵFactoryTarget.Injectable }); }
251
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: TableLayoutFixedResizeStrategy }); }
249
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: TableLayoutFixedResizeStrategy, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
250
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: TableLayoutFixedResizeStrategy }); }
252
251
  }
253
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: TableLayoutFixedResizeStrategy, decorators: [{
252
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: TableLayoutFixedResizeStrategy, decorators: [{
254
253
  type: Injectable
255
- }], ctorParameters: () => [{ type: ColumnResize }, { type: i3._CoalescedStyleScheduler, decorators: [{
256
- type: Inject,
257
- args: [_COALESCED_STYLE_SCHEDULER]
258
- }] }, { type: i3.CdkTable }] });
254
+ }] });
259
255
  /**
260
256
  * The optimally performing resize strategy for flex mat-tables.
261
257
  * Tested against and outperformed:
@@ -263,18 +259,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2",
263
259
  * Updating all mat-cell nodes
264
260
  */
265
261
  class CdkFlexTableResizeStrategy extends ResizeStrategy {
266
- constructor(columnResize, styleScheduler, table, document, _nonce) {
267
- super();
268
- this.columnResize = columnResize;
269
- this.styleScheduler = styleScheduler;
270
- this.table = table;
271
- this._nonce = _nonce;
262
+ constructor() {
263
+ super(...arguments);
264
+ this.columnResize = inject(ColumnResize);
265
+ this.styleScheduler = inject(_COALESCED_STYLE_SCHEDULER);
266
+ this.table = inject(CdkTable);
267
+ this._nonce = inject(CSP_NONCE, { optional: true });
268
+ this._document = inject(DOCUMENT);
272
269
  this._columnIndexes = new Map();
273
270
  this._columnProperties = new Map();
274
271
  this._indexSequence = 0;
275
272
  this.defaultMinSize = 0;
276
273
  this.defaultMaxSize = Number.MAX_SAFE_INTEGER;
277
- this._document = document;
278
274
  }
279
275
  applyColumnSize(cssFriendlyColumnName, columnHeader, sizeInPx, previousSizeInPx) {
280
276
  // Optimization: Check applied width first as we probably set it already before reading
@@ -365,23 +361,12 @@ class CdkFlexTableResizeStrategy extends ResizeStrategy {
365
361
  const body = propertyKeys.map(key => `${key}:${properties.get(key)}`).join(';');
366
362
  this._getStyleSheet().insertRule(`${selector} {${body}}`, index);
367
363
  }
368
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: CdkFlexTableResizeStrategy, deps: [{ token: ColumnResize }, { token: _COALESCED_STYLE_SCHEDULER }, { token: i3.CdkTable }, { token: DOCUMENT }, { token: CSP_NONCE, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
369
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: CdkFlexTableResizeStrategy }); }
364
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkFlexTableResizeStrategy, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
365
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkFlexTableResizeStrategy }); }
370
366
  }
371
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: CdkFlexTableResizeStrategy, decorators: [{
367
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkFlexTableResizeStrategy, decorators: [{
372
368
  type: Injectable
373
- }], ctorParameters: () => [{ type: ColumnResize }, { type: i3._CoalescedStyleScheduler, decorators: [{
374
- type: Inject,
375
- args: [_COALESCED_STYLE_SCHEDULER]
376
- }] }, { type: i3.CdkTable }, { type: undefined, decorators: [{
377
- type: Inject,
378
- args: [DOCUMENT]
379
- }] }, { type: undefined, decorators: [{
380
- type: Inject,
381
- args: [CSP_NONCE]
382
- }, {
383
- type: Optional
384
- }] }] });
369
+ }] });
385
370
  /** Converts CSS pixel values to numbers, eg "123px" to 123. Returns NaN for non pixel values. */
386
371
  function coercePixelsFromCssValue(cssValue) {
387
372
  return Number(cssValue.match(/(\d+)px/)?.[1]);
@@ -424,74 +409,72 @@ const FLEX_PROVIDERS = [...PROVIDERS, FLEX_RESIZE_STRATEGY_PROVIDER];
424
409
  * Individual columns must be annotated specifically.
425
410
  */
426
411
  class CdkColumnResize extends ColumnResize {
427
- constructor(columnResizeNotifier, elementRef, eventDispatcher, ngZone, notifier, table) {
428
- super();
429
- this.columnResizeNotifier = columnResizeNotifier;
430
- this.elementRef = elementRef;
431
- this.eventDispatcher = eventDispatcher;
432
- this.ngZone = ngZone;
433
- this.notifier = notifier;
434
- this.table = table;
435
- }
436
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: CdkColumnResize, deps: [{ token: ColumnResizeNotifier }, { token: i0.ElementRef }, { token: HeaderRowEventDispatcher }, { token: i0.NgZone }, { token: ColumnResizeNotifierSource }, { token: i3.CdkTable }], target: i0.ɵɵFactoryTarget.Directive }); }
437
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0-next.2", type: CdkColumnResize, isStandalone: true, selector: "table[cdk-table][columnResize]", providers: [...TABLE_PROVIDERS, { provide: ColumnResize, useExisting: CdkColumnResize }], usesInheritance: true, ngImport: i0 }); }
412
+ constructor() {
413
+ super(...arguments);
414
+ this.columnResizeNotifier = inject(ColumnResizeNotifier);
415
+ this.elementRef = inject(ElementRef);
416
+ this.eventDispatcher = inject(HeaderRowEventDispatcher);
417
+ this.ngZone = inject(NgZone);
418
+ this.notifier = inject(ColumnResizeNotifierSource);
419
+ this.table = inject(CdkTable);
420
+ }
421
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkColumnResize, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
422
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.10", type: CdkColumnResize, isStandalone: true, selector: "table[cdk-table][columnResize]", providers: [...TABLE_PROVIDERS, { provide: ColumnResize, useExisting: CdkColumnResize }], usesInheritance: true, ngImport: i0 }); }
438
423
  }
439
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: CdkColumnResize, decorators: [{
424
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkColumnResize, decorators: [{
440
425
  type: Directive,
441
426
  args: [{
442
427
  selector: 'table[cdk-table][columnResize]',
443
428
  providers: [...TABLE_PROVIDERS, { provide: ColumnResize, useExisting: CdkColumnResize }],
444
- standalone: true,
445
429
  }]
446
- }], ctorParameters: () => [{ type: ColumnResizeNotifier }, { type: i0.ElementRef }, { type: HeaderRowEventDispatcher }, { type: i0.NgZone }, { type: ColumnResizeNotifierSource }, { type: i3.CdkTable }] });
430
+ }] });
447
431
 
448
432
  /**
449
433
  * Explicitly enables column resizing for a flexbox-based cdk-table.
450
434
  * Individual columns must be annotated specifically.
451
435
  */
452
436
  class CdkColumnResizeFlex extends ColumnResize {
453
- constructor(columnResizeNotifier, elementRef, eventDispatcher, ngZone, notifier, table) {
454
- super();
455
- this.columnResizeNotifier = columnResizeNotifier;
456
- this.elementRef = elementRef;
457
- this.eventDispatcher = eventDispatcher;
458
- this.ngZone = ngZone;
459
- this.notifier = notifier;
460
- this.table = table;
461
- }
462
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: CdkColumnResizeFlex, deps: [{ token: ColumnResizeNotifier }, { token: i0.ElementRef }, { token: HeaderRowEventDispatcher }, { token: i0.NgZone }, { token: ColumnResizeNotifierSource }, { token: i3.CdkTable }], target: i0.ɵɵFactoryTarget.Directive }); }
463
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0-next.2", type: CdkColumnResizeFlex, isStandalone: true, selector: "cdk-table[columnResize]", providers: [...FLEX_PROVIDERS, { provide: ColumnResize, useExisting: CdkColumnResizeFlex }], usesInheritance: true, ngImport: i0 }); }
437
+ constructor() {
438
+ super(...arguments);
439
+ this.columnResizeNotifier = inject(ColumnResizeNotifier);
440
+ this.elementRef = inject(ElementRef);
441
+ this.eventDispatcher = inject(HeaderRowEventDispatcher);
442
+ this.ngZone = inject(NgZone);
443
+ this.notifier = inject(ColumnResizeNotifierSource);
444
+ this.table = inject(CdkTable);
445
+ }
446
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkColumnResizeFlex, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
447
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.10", type: CdkColumnResizeFlex, isStandalone: true, selector: "cdk-table[columnResize]", providers: [...FLEX_PROVIDERS, { provide: ColumnResize, useExisting: CdkColumnResizeFlex }], usesInheritance: true, ngImport: i0 }); }
464
448
  }
465
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: CdkColumnResizeFlex, decorators: [{
449
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkColumnResizeFlex, decorators: [{
466
450
  type: Directive,
467
451
  args: [{
468
452
  selector: 'cdk-table[columnResize]',
469
453
  providers: [...FLEX_PROVIDERS, { provide: ColumnResize, useExisting: CdkColumnResizeFlex }],
470
- standalone: true,
471
454
  }]
472
- }], ctorParameters: () => [{ type: ColumnResizeNotifier }, { type: i0.ElementRef }, { type: HeaderRowEventDispatcher }, { type: i0.NgZone }, { type: ColumnResizeNotifierSource }, { type: i3.CdkTable }] });
455
+ }] });
473
456
 
474
457
  /**
475
458
  * Implicitly enables column resizing for a table-based cdk-table.
476
459
  * Individual columns will be resizable unless opted out.
477
460
  */
478
461
  class CdkDefaultEnabledColumnResize extends ColumnResize {
479
- constructor(columnResizeNotifier, elementRef, eventDispatcher, ngZone, notifier, table) {
480
- super();
481
- this.columnResizeNotifier = columnResizeNotifier;
482
- this.elementRef = elementRef;
483
- this.eventDispatcher = eventDispatcher;
484
- this.ngZone = ngZone;
485
- this.notifier = notifier;
486
- this.table = table;
487
- }
488
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: CdkDefaultEnabledColumnResize, deps: [{ token: ColumnResizeNotifier }, { token: i0.ElementRef }, { token: HeaderRowEventDispatcher }, { token: i0.NgZone }, { token: ColumnResizeNotifierSource }, { token: i3.CdkTable }], target: i0.ɵɵFactoryTarget.Directive }); }
489
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0-next.2", type: CdkDefaultEnabledColumnResize, isStandalone: true, selector: "table[cdk-table]", providers: [
462
+ constructor() {
463
+ super(...arguments);
464
+ this.columnResizeNotifier = inject(ColumnResizeNotifier);
465
+ this.elementRef = inject(ElementRef);
466
+ this.eventDispatcher = inject(HeaderRowEventDispatcher);
467
+ this.ngZone = inject(NgZone);
468
+ this.notifier = inject(ColumnResizeNotifierSource);
469
+ this.table = inject(CdkTable);
470
+ }
471
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkDefaultEnabledColumnResize, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
472
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.10", type: CdkDefaultEnabledColumnResize, isStandalone: true, selector: "table[cdk-table]", providers: [
490
473
  ...TABLE_PROVIDERS,
491
474
  { provide: ColumnResize, useExisting: CdkDefaultEnabledColumnResize },
492
475
  ], usesInheritance: true, ngImport: i0 }); }
493
476
  }
494
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: CdkDefaultEnabledColumnResize, decorators: [{
477
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkDefaultEnabledColumnResize, decorators: [{
495
478
  type: Directive,
496
479
  args: [{
497
480
  selector: 'table[cdk-table]',
@@ -499,31 +482,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2",
499
482
  ...TABLE_PROVIDERS,
500
483
  { provide: ColumnResize, useExisting: CdkDefaultEnabledColumnResize },
501
484
  ],
502
- standalone: true,
503
485
  }]
504
- }], ctorParameters: () => [{ type: ColumnResizeNotifier }, { type: i0.ElementRef }, { type: HeaderRowEventDispatcher }, { type: i0.NgZone }, { type: ColumnResizeNotifierSource }, { type: i3.CdkTable }] });
486
+ }] });
505
487
 
506
488
  /**
507
489
  * Implicitly enables column resizing for a flex cdk-table.
508
490
  * Individual columns will be resizable unless opted out.
509
491
  */
510
492
  class CdkDefaultEnabledColumnResizeFlex extends ColumnResize {
511
- constructor(columnResizeNotifier, elementRef, eventDispatcher, ngZone, notifier, table) {
512
- super();
513
- this.columnResizeNotifier = columnResizeNotifier;
514
- this.elementRef = elementRef;
515
- this.eventDispatcher = eventDispatcher;
516
- this.ngZone = ngZone;
517
- this.notifier = notifier;
518
- this.table = table;
519
- }
520
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: CdkDefaultEnabledColumnResizeFlex, deps: [{ token: ColumnResizeNotifier }, { token: i0.ElementRef }, { token: HeaderRowEventDispatcher }, { token: i0.NgZone }, { token: ColumnResizeNotifierSource }, { token: i3.CdkTable }], target: i0.ɵɵFactoryTarget.Directive }); }
521
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0-next.2", type: CdkDefaultEnabledColumnResizeFlex, isStandalone: true, selector: "cdk-table", providers: [
493
+ constructor() {
494
+ super(...arguments);
495
+ this.columnResizeNotifier = inject(ColumnResizeNotifier);
496
+ this.elementRef = inject(ElementRef);
497
+ this.eventDispatcher = inject(HeaderRowEventDispatcher);
498
+ this.ngZone = inject(NgZone);
499
+ this.notifier = inject(ColumnResizeNotifierSource);
500
+ this.table = inject(CdkTable);
501
+ }
502
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkDefaultEnabledColumnResizeFlex, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
503
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.10", type: CdkDefaultEnabledColumnResizeFlex, isStandalone: true, selector: "cdk-table", providers: [
522
504
  ...FLEX_PROVIDERS,
523
505
  { provide: ColumnResize, useExisting: CdkDefaultEnabledColumnResizeFlex },
524
506
  ], usesInheritance: true, ngImport: i0 }); }
525
507
  }
526
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: CdkDefaultEnabledColumnResizeFlex, decorators: [{
508
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkDefaultEnabledColumnResizeFlex, decorators: [{
527
509
  type: Directive,
528
510
  args: [{
529
511
  selector: 'cdk-table',
@@ -531,20 +513,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2",
531
513
  ...FLEX_PROVIDERS,
532
514
  { provide: ColumnResize, useExisting: CdkDefaultEnabledColumnResizeFlex },
533
515
  ],
534
- standalone: true,
535
516
  }]
536
- }], ctorParameters: () => [{ type: ColumnResizeNotifier }, { type: i0.ElementRef }, { type: HeaderRowEventDispatcher }, { type: i0.NgZone }, { type: ColumnResizeNotifierSource }, { type: i3.CdkTable }] });
517
+ }] });
537
518
 
538
519
  /**
539
520
  * One of two NgModules for use with CdkColumnResize.
540
521
  * When using this module, columns are resizable by default.
541
522
  */
542
523
  class CdkColumnResizeDefaultEnabledModule {
543
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: CdkColumnResizeDefaultEnabledModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
544
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0-next.2", ngImport: i0, type: CdkColumnResizeDefaultEnabledModule, imports: [CdkDefaultEnabledColumnResize, CdkDefaultEnabledColumnResizeFlex], exports: [CdkDefaultEnabledColumnResize, CdkDefaultEnabledColumnResizeFlex] }); }
545
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: CdkColumnResizeDefaultEnabledModule }); }
524
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkColumnResizeDefaultEnabledModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
525
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkColumnResizeDefaultEnabledModule, imports: [CdkDefaultEnabledColumnResize, CdkDefaultEnabledColumnResizeFlex], exports: [CdkDefaultEnabledColumnResize, CdkDefaultEnabledColumnResizeFlex] }); }
526
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkColumnResizeDefaultEnabledModule }); }
546
527
  }
547
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: CdkColumnResizeDefaultEnabledModule, decorators: [{
528
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkColumnResizeDefaultEnabledModule, decorators: [{
548
529
  type: NgModule,
549
530
  args: [{
550
531
  imports: [CdkDefaultEnabledColumnResize, CdkDefaultEnabledColumnResizeFlex],
@@ -556,11 +537,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2",
556
537
  * When using this module, columns are not resizable by default.
557
538
  */
558
539
  class CdkColumnResizeModule {
559
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: CdkColumnResizeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
560
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0-next.2", ngImport: i0, type: CdkColumnResizeModule, imports: [CdkColumnResize, CdkColumnResizeFlex], exports: [CdkColumnResize, CdkColumnResizeFlex] }); }
561
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: CdkColumnResizeModule }); }
540
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkColumnResizeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
541
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkColumnResizeModule, imports: [CdkColumnResize, CdkColumnResizeFlex], exports: [CdkColumnResize, CdkColumnResizeFlex] }); }
542
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkColumnResizeModule }); }
562
543
  }
563
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: CdkColumnResizeModule, decorators: [{
544
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkColumnResizeModule, decorators: [{
564
545
  type: NgModule,
565
546
  args: [{
566
547
  imports: [CdkColumnResize, CdkColumnResizeFlex],
@@ -572,10 +553,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2",
572
553
  * Can be provided by the host application to enable persistence of column resize state.
573
554
  */
574
555
  class ColumnSizeStore {
575
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: ColumnSizeStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
576
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: ColumnSizeStore }); }
556
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: ColumnSizeStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
557
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: ColumnSizeStore }); }
577
558
  }
578
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: ColumnSizeStore, decorators: [{
559
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: ColumnSizeStore, decorators: [{
579
560
  type: Injectable
580
561
  }] });
581
562
 
@@ -766,10 +747,10 @@ class Resizable {
766
747
  this.elementRef.nativeElement.appendChild(this.inlineHandle);
767
748
  });
768
749
  }
769
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: Resizable, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
770
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0-next.2", type: Resizable, ngImport: i0 }); }
750
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: Resizable, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
751
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.10", type: Resizable, isStandalone: true, ngImport: i0 }); }
771
752
  }
772
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: Resizable, decorators: [{
753
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: Resizable, decorators: [{
773
754
  type: Directive
774
755
  }] });
775
756
 
@@ -897,10 +878,10 @@ class ResizeOverlayHandle {
897
878
  }
898
879
  });
899
880
  }
900
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: ResizeOverlayHandle, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
901
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0-next.2", type: ResizeOverlayHandle, ngImport: i0 }); }
881
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: ResizeOverlayHandle, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
882
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.10", type: ResizeOverlayHandle, isStandalone: true, ngImport: i0 }); }
902
883
  }
903
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: ResizeOverlayHandle, decorators: [{
884
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: ResizeOverlayHandle, decorators: [{
904
885
  type: Directive
905
886
  }] });
906
887