@angular/cdk-experimental 19.0.0-next.2 → 19.0.0-next.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.
- package/column-resize/index.d.ts +2 -9
- package/combobox/index.d.ts +5 -11
- package/fesm2022/cdk-experimental.mjs +1 -1
- package/fesm2022/cdk-experimental.mjs.map +1 -1
- package/fesm2022/column-resize.mjs +109 -124
- package/fesm2022/column-resize.mjs.map +1 -1
- package/fesm2022/combobox.mjs +38 -47
- package/fesm2022/combobox.mjs.map +1 -1
- package/fesm2022/popover-edit.mjs +121 -125
- package/fesm2022/popover-edit.mjs.map +1 -1
- package/fesm2022/scrolling.mjs +7 -7
- package/fesm2022/selection.mjs +43 -76
- package/fesm2022/selection.mjs.map +1 -1
- package/fesm2022/table-scroll-container.mjs +17 -30
- package/fesm2022/table-scroll-container.mjs.map +1 -1
- package/package.json +2 -2
- package/popover-edit/index.d.ts +11 -19
- package/selection/index.d.ts +6 -10
- package/table-scroll-container/index.d.ts +3 -6
package/column-resize/index.d.ts
CHANGED
|
@@ -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,
|
|
129
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CdkFlexTableResizeStrategy, never>;
|
|
135
130
|
static ɵprov: i0.ɵɵInjectableDeclaration<CdkFlexTableResizeStrategy>;
|
|
136
131
|
}
|
|
137
132
|
|
|
@@ -241,7 +236,6 @@ export declare class HeaderRowEventDispatcher {
|
|
|
241
236
|
* when no resize is in progress.
|
|
242
237
|
*/
|
|
243
238
|
readonly overlayHandleActiveForCell: Subject<Element | null>;
|
|
244
|
-
constructor(_ngZone: NgZone);
|
|
245
239
|
/** Distinct and shared version of headerCellHovered. */
|
|
246
240
|
readonly headerCellHoveredDistinct: Observable<Element | null>;
|
|
247
241
|
/**
|
|
@@ -410,7 +404,6 @@ export declare class TableLayoutFixedResizeStrategy extends ResizeStrategy {
|
|
|
410
404
|
protected readonly columnResize: ColumnResize;
|
|
411
405
|
protected readonly styleScheduler: _CoalescedStyleScheduler;
|
|
412
406
|
protected readonly table: CdkTable<unknown>;
|
|
413
|
-
constructor(columnResize: ColumnResize, styleScheduler: _CoalescedStyleScheduler, table: CdkTable<unknown>);
|
|
414
407
|
applyColumnSize(_: string, columnHeader: HTMLElement, sizeInPx: number, previousSizeInPx?: number): void;
|
|
415
408
|
applyMinColumnSize(_: string, columnHeader: HTMLElement, sizeInPx: number): void;
|
|
416
409
|
applyMaxColumnSize(_: string, columnHeader: HTMLElement, sizeInPx: number): void;
|
package/combobox/index.d.ts
CHANGED
|
@@ -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>,
|
|
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.
|
|
4
|
+
const VERSION = new Version('19.0.0-next.4');
|
|
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.
|
|
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.4');\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,
|
|
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
|
|
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: "
|
|
82
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
80
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: ColumnResize, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
81
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: ColumnResize, ngImport: i0 }); }
|
|
83
82
|
}
|
|
84
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
83
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: ColumnResize, decorators: [{
|
|
85
84
|
type: Directive
|
|
86
85
|
}] });
|
|
87
86
|
|
|
@@ -98,10 +97,10 @@ 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: "
|
|
102
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
100
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: ColumnResizeNotifierSource, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
101
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: ColumnResizeNotifierSource }); }
|
|
103
102
|
}
|
|
104
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
103
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: ColumnResizeNotifierSource, decorators: [{
|
|
105
104
|
type: Injectable
|
|
106
105
|
}] });
|
|
107
106
|
/** Service for triggering column resizes imperatively or being notified of them. */
|
|
@@ -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: "
|
|
124
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
122
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: ColumnResizeNotifier, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
123
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: ColumnResizeNotifier }); }
|
|
125
124
|
}
|
|
126
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
125
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: ColumnResizeNotifier, decorators: [{
|
|
127
126
|
type: Injectable
|
|
128
127
|
}] });
|
|
129
128
|
|
|
130
129
|
/** Coordinates events between the column resize directives. */
|
|
131
130
|
class HeaderRowEventDispatcher {
|
|
132
|
-
constructor(
|
|
133
|
-
this._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: "
|
|
181
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
179
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: HeaderRowEventDispatcher, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
180
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: HeaderRowEventDispatcher }); }
|
|
182
181
|
}
|
|
183
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
182
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: HeaderRowEventDispatcher, decorators: [{
|
|
184
183
|
type: Injectable
|
|
185
|
-
}]
|
|
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: "
|
|
211
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
209
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: ResizeStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
210
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: ResizeStrategy }); }
|
|
212
211
|
}
|
|
213
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
212
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", 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(
|
|
225
|
-
super();
|
|
226
|
-
this.columnResize =
|
|
227
|
-
this.styleScheduler =
|
|
228
|
-
this.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: "
|
|
251
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
249
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", 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.3", ngImport: i0, type: TableLayoutFixedResizeStrategy }); }
|
|
252
251
|
}
|
|
253
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
252
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: TableLayoutFixedResizeStrategy, decorators: [{
|
|
254
253
|
type: Injectable
|
|
255
|
-
}]
|
|
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(
|
|
267
|
-
super();
|
|
268
|
-
this.columnResize =
|
|
269
|
-
this.styleScheduler =
|
|
270
|
-
this.table =
|
|
271
|
-
this._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: "
|
|
369
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
364
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", 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.3", ngImport: i0, type: CdkFlexTableResizeStrategy }); }
|
|
370
366
|
}
|
|
371
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
367
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkFlexTableResizeStrategy, decorators: [{
|
|
372
368
|
type: Injectable
|
|
373
|
-
}]
|
|
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,74 @@ 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(
|
|
428
|
-
super();
|
|
429
|
-
this.columnResizeNotifier =
|
|
430
|
-
this.elementRef =
|
|
431
|
-
this.eventDispatcher =
|
|
432
|
-
this.ngZone =
|
|
433
|
-
this.notifier =
|
|
434
|
-
this.table =
|
|
435
|
-
}
|
|
436
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
437
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
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.3", 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.3", 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: "
|
|
424
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", 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
429
|
standalone: true,
|
|
445
430
|
}]
|
|
446
|
-
}]
|
|
431
|
+
}] });
|
|
447
432
|
|
|
448
433
|
/**
|
|
449
434
|
* Explicitly enables column resizing for a flexbox-based cdk-table.
|
|
450
435
|
* Individual columns must be annotated specifically.
|
|
451
436
|
*/
|
|
452
437
|
class CdkColumnResizeFlex extends ColumnResize {
|
|
453
|
-
constructor(
|
|
454
|
-
super();
|
|
455
|
-
this.columnResizeNotifier =
|
|
456
|
-
this.elementRef =
|
|
457
|
-
this.eventDispatcher =
|
|
458
|
-
this.ngZone =
|
|
459
|
-
this.notifier =
|
|
460
|
-
this.table =
|
|
461
|
-
}
|
|
462
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
463
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
438
|
+
constructor() {
|
|
439
|
+
super(...arguments);
|
|
440
|
+
this.columnResizeNotifier = inject(ColumnResizeNotifier);
|
|
441
|
+
this.elementRef = inject(ElementRef);
|
|
442
|
+
this.eventDispatcher = inject(HeaderRowEventDispatcher);
|
|
443
|
+
this.ngZone = inject(NgZone);
|
|
444
|
+
this.notifier = inject(ColumnResizeNotifierSource);
|
|
445
|
+
this.table = inject(CdkTable);
|
|
446
|
+
}
|
|
447
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkColumnResizeFlex, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
448
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: CdkColumnResizeFlex, isStandalone: true, selector: "cdk-table[columnResize]", providers: [...FLEX_PROVIDERS, { provide: ColumnResize, useExisting: CdkColumnResizeFlex }], usesInheritance: true, ngImport: i0 }); }
|
|
464
449
|
}
|
|
465
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
450
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkColumnResizeFlex, decorators: [{
|
|
466
451
|
type: Directive,
|
|
467
452
|
args: [{
|
|
468
453
|
selector: 'cdk-table[columnResize]',
|
|
469
454
|
providers: [...FLEX_PROVIDERS, { provide: ColumnResize, useExisting: CdkColumnResizeFlex }],
|
|
470
455
|
standalone: true,
|
|
471
456
|
}]
|
|
472
|
-
}]
|
|
457
|
+
}] });
|
|
473
458
|
|
|
474
459
|
/**
|
|
475
460
|
* Implicitly enables column resizing for a table-based cdk-table.
|
|
476
461
|
* Individual columns will be resizable unless opted out.
|
|
477
462
|
*/
|
|
478
463
|
class CdkDefaultEnabledColumnResize extends ColumnResize {
|
|
479
|
-
constructor(
|
|
480
|
-
super();
|
|
481
|
-
this.columnResizeNotifier =
|
|
482
|
-
this.elementRef =
|
|
483
|
-
this.eventDispatcher =
|
|
484
|
-
this.ngZone =
|
|
485
|
-
this.notifier =
|
|
486
|
-
this.table =
|
|
487
|
-
}
|
|
488
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
489
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
464
|
+
constructor() {
|
|
465
|
+
super(...arguments);
|
|
466
|
+
this.columnResizeNotifier = inject(ColumnResizeNotifier);
|
|
467
|
+
this.elementRef = inject(ElementRef);
|
|
468
|
+
this.eventDispatcher = inject(HeaderRowEventDispatcher);
|
|
469
|
+
this.ngZone = inject(NgZone);
|
|
470
|
+
this.notifier = inject(ColumnResizeNotifierSource);
|
|
471
|
+
this.table = inject(CdkTable);
|
|
472
|
+
}
|
|
473
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkDefaultEnabledColumnResize, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
474
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: CdkDefaultEnabledColumnResize, isStandalone: true, selector: "table[cdk-table]", providers: [
|
|
490
475
|
...TABLE_PROVIDERS,
|
|
491
476
|
{ provide: ColumnResize, useExisting: CdkDefaultEnabledColumnResize },
|
|
492
477
|
], usesInheritance: true, ngImport: i0 }); }
|
|
493
478
|
}
|
|
494
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
479
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkDefaultEnabledColumnResize, decorators: [{
|
|
495
480
|
type: Directive,
|
|
496
481
|
args: [{
|
|
497
482
|
selector: 'table[cdk-table]',
|
|
@@ -501,29 +486,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2",
|
|
|
501
486
|
],
|
|
502
487
|
standalone: true,
|
|
503
488
|
}]
|
|
504
|
-
}]
|
|
489
|
+
}] });
|
|
505
490
|
|
|
506
491
|
/**
|
|
507
492
|
* Implicitly enables column resizing for a flex cdk-table.
|
|
508
493
|
* Individual columns will be resizable unless opted out.
|
|
509
494
|
*/
|
|
510
495
|
class CdkDefaultEnabledColumnResizeFlex extends ColumnResize {
|
|
511
|
-
constructor(
|
|
512
|
-
super();
|
|
513
|
-
this.columnResizeNotifier =
|
|
514
|
-
this.elementRef =
|
|
515
|
-
this.eventDispatcher =
|
|
516
|
-
this.ngZone =
|
|
517
|
-
this.notifier =
|
|
518
|
-
this.table =
|
|
519
|
-
}
|
|
520
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
521
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
496
|
+
constructor() {
|
|
497
|
+
super(...arguments);
|
|
498
|
+
this.columnResizeNotifier = inject(ColumnResizeNotifier);
|
|
499
|
+
this.elementRef = inject(ElementRef);
|
|
500
|
+
this.eventDispatcher = inject(HeaderRowEventDispatcher);
|
|
501
|
+
this.ngZone = inject(NgZone);
|
|
502
|
+
this.notifier = inject(ColumnResizeNotifierSource);
|
|
503
|
+
this.table = inject(CdkTable);
|
|
504
|
+
}
|
|
505
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkDefaultEnabledColumnResizeFlex, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
506
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: CdkDefaultEnabledColumnResizeFlex, isStandalone: true, selector: "cdk-table", providers: [
|
|
522
507
|
...FLEX_PROVIDERS,
|
|
523
508
|
{ provide: ColumnResize, useExisting: CdkDefaultEnabledColumnResizeFlex },
|
|
524
509
|
], usesInheritance: true, ngImport: i0 }); }
|
|
525
510
|
}
|
|
526
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
511
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkDefaultEnabledColumnResizeFlex, decorators: [{
|
|
527
512
|
type: Directive,
|
|
528
513
|
args: [{
|
|
529
514
|
selector: 'cdk-table',
|
|
@@ -533,18 +518,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2",
|
|
|
533
518
|
],
|
|
534
519
|
standalone: true,
|
|
535
520
|
}]
|
|
536
|
-
}]
|
|
521
|
+
}] });
|
|
537
522
|
|
|
538
523
|
/**
|
|
539
524
|
* One of two NgModules for use with CdkColumnResize.
|
|
540
525
|
* When using this module, columns are resizable by default.
|
|
541
526
|
*/
|
|
542
527
|
class CdkColumnResizeDefaultEnabledModule {
|
|
543
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
544
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
545
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
528
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkColumnResizeDefaultEnabledModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
529
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkColumnResizeDefaultEnabledModule, imports: [CdkDefaultEnabledColumnResize, CdkDefaultEnabledColumnResizeFlex], exports: [CdkDefaultEnabledColumnResize, CdkDefaultEnabledColumnResizeFlex] }); }
|
|
530
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkColumnResizeDefaultEnabledModule }); }
|
|
546
531
|
}
|
|
547
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
532
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkColumnResizeDefaultEnabledModule, decorators: [{
|
|
548
533
|
type: NgModule,
|
|
549
534
|
args: [{
|
|
550
535
|
imports: [CdkDefaultEnabledColumnResize, CdkDefaultEnabledColumnResizeFlex],
|
|
@@ -556,11 +541,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2",
|
|
|
556
541
|
* When using this module, columns are not resizable by default.
|
|
557
542
|
*/
|
|
558
543
|
class CdkColumnResizeModule {
|
|
559
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
560
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
561
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
544
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkColumnResizeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
545
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkColumnResizeModule, imports: [CdkColumnResize, CdkColumnResizeFlex], exports: [CdkColumnResize, CdkColumnResizeFlex] }); }
|
|
546
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkColumnResizeModule }); }
|
|
562
547
|
}
|
|
563
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
548
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkColumnResizeModule, decorators: [{
|
|
564
549
|
type: NgModule,
|
|
565
550
|
args: [{
|
|
566
551
|
imports: [CdkColumnResize, CdkColumnResizeFlex],
|
|
@@ -572,10 +557,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2",
|
|
|
572
557
|
* Can be provided by the host application to enable persistence of column resize state.
|
|
573
558
|
*/
|
|
574
559
|
class ColumnSizeStore {
|
|
575
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
576
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
560
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: ColumnSizeStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
561
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: ColumnSizeStore }); }
|
|
577
562
|
}
|
|
578
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
563
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: ColumnSizeStore, decorators: [{
|
|
579
564
|
type: Injectable
|
|
580
565
|
}] });
|
|
581
566
|
|
|
@@ -766,10 +751,10 @@ class Resizable {
|
|
|
766
751
|
this.elementRef.nativeElement.appendChild(this.inlineHandle);
|
|
767
752
|
});
|
|
768
753
|
}
|
|
769
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
770
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
754
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: Resizable, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
755
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: Resizable, ngImport: i0 }); }
|
|
771
756
|
}
|
|
772
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
757
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: Resizable, decorators: [{
|
|
773
758
|
type: Directive
|
|
774
759
|
}] });
|
|
775
760
|
|
|
@@ -897,10 +882,10 @@ class ResizeOverlayHandle {
|
|
|
897
882
|
}
|
|
898
883
|
});
|
|
899
884
|
}
|
|
900
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
901
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
885
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: ResizeOverlayHandle, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
886
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: ResizeOverlayHandle, ngImport: i0 }); }
|
|
902
887
|
}
|
|
903
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
888
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: ResizeOverlayHandle, decorators: [{
|
|
904
889
|
type: Directive
|
|
905
890
|
}] });
|
|
906
891
|
|