@angular/cdk-experimental 20.0.0-next.0 → 20.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.
- package/column-resize/index.d.ts +276 -289
- package/combobox/index.d.ts +15 -39
- package/deferred-content/index.d.ts +37 -0
- package/fesm2022/cdk-experimental.mjs +1 -1
- package/fesm2022/cdk-experimental.mjs.map +1 -1
- package/fesm2022/column-resize.mjs +139 -70
- package/fesm2022/column-resize.mjs.map +1 -1
- package/fesm2022/combobox.mjs +19 -26
- package/fesm2022/combobox.mjs.map +1 -1
- package/fesm2022/deferred-content.mjs +60 -0
- package/fesm2022/deferred-content.mjs.map +1 -0
- package/fesm2022/list-focus-Di7m_z_6.mjs +382 -0
- package/fesm2022/list-focus-Di7m_z_6.mjs.map +1 -0
- package/fesm2022/listbox.mjs +42 -21
- package/fesm2022/listbox.mjs.map +1 -1
- package/fesm2022/option-f_gNslw8.mjs +367 -0
- package/fesm2022/option-f_gNslw8.mjs.map +1 -0
- package/fesm2022/polyfill-CXksG4af.mjs +14 -0
- package/fesm2022/polyfill-CXksG4af.mjs.map +1 -0
- package/fesm2022/popover-edit.mjs +92 -81
- package/fesm2022/popover-edit.mjs.map +1 -1
- package/fesm2022/scrolling.mjs +7 -11
- package/fesm2022/scrolling.mjs.map +1 -1
- package/fesm2022/selection.mjs +19 -27
- package/fesm2022/selection.mjs.map +1 -1
- package/fesm2022/table-scroll-container.mjs +8 -13
- package/fesm2022/table-scroll-container.mjs.map +1 -1
- package/fesm2022/tabs-BunANY1M.mjs +176 -0
- package/fesm2022/tabs-BunANY1M.mjs.map +1 -0
- package/fesm2022/tabs.mjs +225 -0
- package/fesm2022/tabs.mjs.map +1 -0
- package/fesm2022/ui-patterns.mjs +12 -603
- package/fesm2022/ui-patterns.mjs.map +1 -1
- package/index.d.ts +2 -2
- package/list-navigation.d-DfOSxsSp.d.ts +247 -0
- package/listbox/index.d.ts +46 -39
- package/listbox.d-QWPLmxRe.d.ts +193 -0
- package/package.json +13 -2
- package/popover-edit/index.d.ts +269 -315
- package/scrolling/index.d.ts +34 -47
- package/selection/index.d.ts +119 -161
- package/table-scroll-container/index.d.ts +6 -14
- package/tabs/index.d.ts +128 -0
- package/tabs.d-BAo141mw.d.ts +110 -0
- package/ui-patterns/index.d.ts +4 -391
package/combobox/index.d.ts
CHANGED
|
@@ -1,20 +1,15 @@
|
|
|
1
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
|
-
import { EventEmitter } from '@angular/core';
|
|
3
1
|
import * as i0 from '@angular/core';
|
|
2
|
+
import { InjectionToken, OnDestroy, ViewContainerRef, TemplateRef, EventEmitter, OnInit } from '@angular/core';
|
|
4
3
|
import * as i1 from '@angular/cdk/overlay';
|
|
5
|
-
import {
|
|
6
|
-
import { OnDestroy } from '@angular/core';
|
|
7
|
-
import { OnInit } from '@angular/core';
|
|
8
|
-
import { TemplateRef } from '@angular/core';
|
|
9
|
-
import { ViewContainerRef } from '@angular/core';
|
|
10
|
-
|
|
11
|
-
export declare type AriaHasPopupValue = 'false' | 'true' | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog';
|
|
12
|
-
|
|
13
|
-
export declare const CDK_COMBOBOX: InjectionToken<CdkCombobox<unknown>>;
|
|
4
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
14
5
|
|
|
15
|
-
|
|
6
|
+
type AriaHasPopupValue = 'false' | 'true' | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog';
|
|
7
|
+
type OpenAction = 'focus' | 'click' | 'downKey' | 'toggle';
|
|
8
|
+
type OpenActionInput = OpenAction | OpenAction[] | string | null | undefined;
|
|
9
|
+
declare const CDK_COMBOBOX: InjectionToken<CdkCombobox<unknown>>;
|
|
10
|
+
declare class CdkCombobox<T = unknown> implements OnDestroy {
|
|
11
|
+
private readonly _tagName;
|
|
16
12
|
private readonly _elementRef;
|
|
17
|
-
private readonly _overlay;
|
|
18
13
|
protected readonly _viewContainerRef: ViewContainerRef;
|
|
19
14
|
private readonly _injector;
|
|
20
15
|
private readonly _doc;
|
|
@@ -72,13 +67,7 @@ export declare class CdkCombobox<T = unknown> implements OnDestroy {
|
|
|
72
67
|
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>;
|
|
73
68
|
}
|
|
74
69
|
|
|
75
|
-
|
|
76
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkComboboxModule, never>;
|
|
77
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CdkComboboxModule, never, [typeof i1.OverlayModule, typeof i2.CdkCombobox, typeof i3.CdkComboboxPopup], [typeof i2.CdkCombobox, typeof i3.CdkComboboxPopup]>;
|
|
78
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<CdkComboboxModule>;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
export declare class CdkComboboxPopup<T = unknown> implements OnInit {
|
|
70
|
+
declare class CdkComboboxPopup<T = unknown> implements OnInit {
|
|
82
71
|
private readonly _elementRef;
|
|
83
72
|
private readonly _combobox;
|
|
84
73
|
get role(): AriaHasPopupValue;
|
|
@@ -95,24 +84,11 @@ export declare class CdkComboboxPopup<T = unknown> implements OnInit {
|
|
|
95
84
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkComboboxPopup<any>, "[cdkComboboxPopup]", ["cdkComboboxPopup"], { "role": { "alias": "role"; "required": false; }; "firstFocus": { "alias": "firstFocus"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, {}, never, never, true, never>;
|
|
96
85
|
}
|
|
97
86
|
|
|
98
|
-
declare
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
OpenActionInput,
|
|
103
|
-
CDK_COMBOBOX,
|
|
104
|
-
CdkCombobox
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
declare namespace i3 {
|
|
109
|
-
export {
|
|
110
|
-
CdkComboboxPopup
|
|
111
|
-
}
|
|
87
|
+
declare class CdkComboboxModule {
|
|
88
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CdkComboboxModule, never>;
|
|
89
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CdkComboboxModule, never, [typeof i1.OverlayModule, typeof CdkCombobox, typeof CdkComboboxPopup], [typeof CdkCombobox, typeof CdkComboboxPopup]>;
|
|
90
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CdkComboboxModule>;
|
|
112
91
|
}
|
|
113
92
|
|
|
114
|
-
export
|
|
115
|
-
|
|
116
|
-
export declare type OpenActionInput = OpenAction | OpenAction[] | string | null | undefined;
|
|
117
|
-
|
|
118
|
-
export { }
|
|
93
|
+
export { CDK_COMBOBOX, CdkCombobox, CdkComboboxModule, CdkComboboxPopup };
|
|
94
|
+
export type { AriaHasPopupValue, OpenAction, OpenActionInput };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* A container directive controls the visibility of its content.
|
|
5
|
+
*/
|
|
6
|
+
declare class DeferredContentAware {
|
|
7
|
+
contentVisible: i0.WritableSignal<boolean>;
|
|
8
|
+
readonly preserveContent: i0.InputSignal<boolean>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DeferredContentAware, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DeferredContentAware, never, never, { "preserveContent": { "alias": "preserveContent"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* DeferredContent loads/unloads the content based on the visibility.
|
|
14
|
+
* The visibilty signal is sent from a parent directive implements
|
|
15
|
+
* DeferredContentAware.
|
|
16
|
+
*
|
|
17
|
+
* Use this directive as a host directive. For example:
|
|
18
|
+
*
|
|
19
|
+
* ```ts
|
|
20
|
+
* @Directive({
|
|
21
|
+
* selector: 'ng-template[cdkAccordionContent]',
|
|
22
|
+
* hostDirectives: [DeferredContent],
|
|
23
|
+
* })
|
|
24
|
+
* class CdkAccordionContent {}
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
declare class DeferredContent {
|
|
28
|
+
private readonly _deferredContentAware;
|
|
29
|
+
private readonly _templateRef;
|
|
30
|
+
private readonly _viewContainerRef;
|
|
31
|
+
private _isRendered;
|
|
32
|
+
constructor();
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DeferredContent, never>;
|
|
34
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DeferredContent, never, never, {}, {}, never, never, true, never>;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { DeferredContent, DeferredContentAware };
|
|
@@ -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('20.0.0-next.
|
|
4
|
+
const VERSION = new Version('20.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":["
|
|
1
|
+
{"version":3,"file":"cdk-experimental.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-46c76129e412/bin/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('20.0.0-next.10');\n"],"names":[],"mappings":";;AAUA;MACa,OAAO,GAAG,IAAI,OAAO,CAAC,mBAAmB;;;;"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, inject, Renderer2, Directive, Input, Injectable, NgZone, CSP_NONCE, ElementRef, NgModule, Injector } from '@angular/core';
|
|
2
|
+
import { InjectionToken, inject, Renderer2, Directive, Input, Injectable, NgZone, CSP_NONCE, DOCUMENT, ElementRef, NgModule, Injector, runInInjectionContext, afterNextRender } from '@angular/core';
|
|
3
3
|
import { _IdGenerator } from '@angular/cdk/a11y';
|
|
4
4
|
import { Subject, merge, combineLatest, Observable } from 'rxjs';
|
|
5
5
|
import { mapTo, take, takeUntil, startWith, pairwise, distinctUntilChanged, share, map, skip, filter } from 'rxjs/operators';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { DOCUMENT } from '@angular/common';
|
|
6
|
+
import { c as closest } from './polyfill-CXksG4af.mjs';
|
|
7
|
+
import { CdkTable } from '@angular/cdk/table';
|
|
9
8
|
import { coerceCssPixelValue } from '@angular/cdk/coercion';
|
|
10
9
|
import { ComponentPortal } from '@angular/cdk/portal';
|
|
10
|
+
import { createFlexibleConnectedPositionStrategy, createOverlayRef, createRepositionScrollStrategy } from '@angular/cdk/overlay';
|
|
11
11
|
import { ESCAPE } from '@angular/cdk/keycodes';
|
|
12
12
|
|
|
13
13
|
// TODO: Figure out how to remove `mat-` classes from the CDK part of the
|
|
@@ -66,7 +66,7 @@ class ColumnResize {
|
|
|
66
66
|
const element = this.elementRef.nativeElement;
|
|
67
67
|
this._eventCleanups = [
|
|
68
68
|
this._renderer.listen(element, 'mouseover', (event) => {
|
|
69
|
-
this.eventDispatcher.headerCellHovered.next(
|
|
69
|
+
this.eventDispatcher.headerCellHovered.next(closest(event.target, HEADER_CELL_SELECTOR));
|
|
70
70
|
}),
|
|
71
71
|
this._renderer.listen(element, 'mouseleave', (event) => {
|
|
72
72
|
if (event.relatedTarget &&
|
|
@@ -96,10 +96,10 @@ class ColumnResize {
|
|
|
96
96
|
}
|
|
97
97
|
});
|
|
98
98
|
}
|
|
99
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
100
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
99
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: ColumnResize, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
100
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-next.5", type: ColumnResize, isStandalone: true, inputs: { liveResizeUpdates: "liveResizeUpdates" }, ngImport: i0 });
|
|
101
101
|
}
|
|
102
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
102
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: ColumnResize, decorators: [{
|
|
103
103
|
type: Directive
|
|
104
104
|
}], propDecorators: { liveResizeUpdates: [{
|
|
105
105
|
type: Input
|
|
@@ -116,10 +116,10 @@ class ColumnResizeNotifierSource {
|
|
|
116
116
|
resizeCompleted = new Subject();
|
|
117
117
|
/** Triggers a resize action. */
|
|
118
118
|
triggerResize = new Subject();
|
|
119
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
120
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
119
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: ColumnResizeNotifierSource, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
120
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: ColumnResizeNotifierSource });
|
|
121
121
|
}
|
|
122
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
122
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: ColumnResizeNotifierSource, decorators: [{
|
|
123
123
|
type: Injectable
|
|
124
124
|
}] });
|
|
125
125
|
/** Service for triggering column resizes imperatively or being notified of them. */
|
|
@@ -136,10 +136,10 @@ class ColumnResizeNotifier {
|
|
|
136
136
|
isStickyColumn: true,
|
|
137
137
|
});
|
|
138
138
|
}
|
|
139
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
140
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
139
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: ColumnResizeNotifier, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
140
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: ColumnResizeNotifier });
|
|
141
141
|
}
|
|
142
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
142
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: ColumnResizeNotifier, decorators: [{
|
|
143
143
|
type: Injectable
|
|
144
144
|
}] });
|
|
145
145
|
|
|
@@ -164,8 +164,8 @@ class HeaderRowEventDispatcher {
|
|
|
164
164
|
* taking precedence).
|
|
165
165
|
*/
|
|
166
166
|
headerRowHoveredOrActiveDistinct = combineLatest([
|
|
167
|
-
this.headerCellHoveredDistinct.pipe(map(cell =>
|
|
168
|
-
this.overlayHandleActiveForCell.pipe(map(cell =>
|
|
167
|
+
this.headerCellHoveredDistinct.pipe(map(cell => closest(cell, HEADER_ROW_SELECTOR)), startWith(null), distinctUntilChanged()),
|
|
168
|
+
this.overlayHandleActiveForCell.pipe(map(cell => closest(cell, HEADER_ROW_SELECTOR)), startWith(null), distinctUntilChanged()),
|
|
169
169
|
]).pipe(skip(1), // Ignore initial [null, null] emission.
|
|
170
170
|
map(([hovered, active]) => active || hovered), distinctUntilChanged(), share());
|
|
171
171
|
_headerRowHoveredOrActiveDistinctReenterZone = this.headerRowHoveredOrActiveDistinct.pipe(this._enterZone(), share());
|
|
@@ -191,13 +191,80 @@ class HeaderRowEventDispatcher {
|
|
|
191
191
|
complete: () => observer.complete(),
|
|
192
192
|
}));
|
|
193
193
|
}
|
|
194
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
195
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
194
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: HeaderRowEventDispatcher, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
195
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: HeaderRowEventDispatcher });
|
|
196
196
|
}
|
|
197
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
197
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: HeaderRowEventDispatcher, decorators: [{
|
|
198
198
|
type: Injectable
|
|
199
199
|
}] });
|
|
200
200
|
|
|
201
|
+
/**
|
|
202
|
+
* @docs-private
|
|
203
|
+
*/
|
|
204
|
+
class _Schedule {
|
|
205
|
+
tasks = [];
|
|
206
|
+
endTasks = [];
|
|
207
|
+
}
|
|
208
|
+
/** Injection token used to provide a coalesced style scheduler. */
|
|
209
|
+
const _COALESCED_STYLE_SCHEDULER = new InjectionToken('_COALESCED_STYLE_SCHEDULER');
|
|
210
|
+
/**
|
|
211
|
+
* Allows grouping up CSSDom mutations after the current execution context.
|
|
212
|
+
* This can significantly improve performance when separate consecutive functions are
|
|
213
|
+
* reading from the CSSDom and then mutating it.
|
|
214
|
+
*
|
|
215
|
+
* @docs-private
|
|
216
|
+
*/
|
|
217
|
+
class _CoalescedStyleScheduler {
|
|
218
|
+
_currentSchedule = null;
|
|
219
|
+
_ngZone = inject(NgZone);
|
|
220
|
+
constructor() { }
|
|
221
|
+
/**
|
|
222
|
+
* Schedules the specified task to run at the end of the current VM turn.
|
|
223
|
+
*/
|
|
224
|
+
schedule(task) {
|
|
225
|
+
this._createScheduleIfNeeded();
|
|
226
|
+
this._currentSchedule.tasks.push(task);
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* Schedules the specified task to run after other scheduled tasks at the end of the current
|
|
230
|
+
* VM turn.
|
|
231
|
+
*/
|
|
232
|
+
scheduleEnd(task) {
|
|
233
|
+
this._createScheduleIfNeeded();
|
|
234
|
+
this._currentSchedule.endTasks.push(task);
|
|
235
|
+
}
|
|
236
|
+
_createScheduleIfNeeded() {
|
|
237
|
+
if (this._currentSchedule) {
|
|
238
|
+
return;
|
|
239
|
+
}
|
|
240
|
+
this._currentSchedule = new _Schedule();
|
|
241
|
+
this._ngZone.runOutsideAngular(() =>
|
|
242
|
+
// TODO(mmalerba): Scheduling this using something that runs less frequently
|
|
243
|
+
// (e.g. requestAnimationFrame, setTimeout, etc.) causes noticeable jank with the column
|
|
244
|
+
// resizer. We should audit the usages of schedule / scheduleEnd in that component and see
|
|
245
|
+
// if we can refactor it so that we don't need to flush the tasks quite so frequently.
|
|
246
|
+
queueMicrotask(() => {
|
|
247
|
+
while (this._currentSchedule.tasks.length || this._currentSchedule.endTasks.length) {
|
|
248
|
+
const schedule = this._currentSchedule;
|
|
249
|
+
// Capture new tasks scheduled by the current set of tasks.
|
|
250
|
+
this._currentSchedule = new _Schedule();
|
|
251
|
+
for (const task of schedule.tasks) {
|
|
252
|
+
task();
|
|
253
|
+
}
|
|
254
|
+
for (const task of schedule.endTasks) {
|
|
255
|
+
task();
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
this._currentSchedule = null;
|
|
259
|
+
}));
|
|
260
|
+
}
|
|
261
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: _CoalescedStyleScheduler, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
262
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: _CoalescedStyleScheduler });
|
|
263
|
+
}
|
|
264
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: _CoalescedStyleScheduler, decorators: [{
|
|
265
|
+
type: Injectable
|
|
266
|
+
}], ctorParameters: () => [] });
|
|
267
|
+
|
|
201
268
|
/**
|
|
202
269
|
* Provides an implementation for resizing a column.
|
|
203
270
|
* The details of how resizing works for tables for flex mat-tables are quite different.
|
|
@@ -254,10 +321,10 @@ class ResizeStrategy {
|
|
|
254
321
|
this._elemSizeCache.set(entry.target, newEntry);
|
|
255
322
|
}
|
|
256
323
|
}
|
|
257
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
258
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
324
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: ResizeStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
325
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: ResizeStrategy });
|
|
259
326
|
}
|
|
260
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
327
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: ResizeStrategy, decorators: [{
|
|
261
328
|
type: Injectable
|
|
262
329
|
}] });
|
|
263
330
|
/**
|
|
@@ -291,10 +358,10 @@ class TableLayoutFixedResizeStrategy extends ResizeStrategy {
|
|
|
291
358
|
const newWidth = Math.min(currentWidth, sizeInPx);
|
|
292
359
|
this.applyColumnSize(_, columnHeader, newWidth, currentWidth);
|
|
293
360
|
}
|
|
294
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
295
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
361
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: TableLayoutFixedResizeStrategy, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
362
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: TableLayoutFixedResizeStrategy });
|
|
296
363
|
}
|
|
297
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
364
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: TableLayoutFixedResizeStrategy, decorators: [{
|
|
298
365
|
type: Injectable
|
|
299
366
|
}] });
|
|
300
367
|
/**
|
|
@@ -405,10 +472,10 @@ class CdkFlexTableResizeStrategy extends ResizeStrategy {
|
|
|
405
472
|
const body = propertyKeys.map(key => `${key}:${properties.get(key)}`).join(';');
|
|
406
473
|
this._getStyleSheet().insertRule(`${selector} {${body}}`, index);
|
|
407
474
|
}
|
|
408
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
409
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
475
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkFlexTableResizeStrategy, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
476
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkFlexTableResizeStrategy });
|
|
410
477
|
}
|
|
411
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
478
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkFlexTableResizeStrategy, decorators: [{
|
|
412
479
|
type: Injectable
|
|
413
480
|
}] });
|
|
414
481
|
/** Converts CSS pixel values to numbers, eg "123px" to 123. Returns NaN for non pixel values. */
|
|
@@ -435,6 +502,7 @@ const PROVIDERS = [
|
|
|
435
502
|
ColumnResizeNotifier,
|
|
436
503
|
HeaderRowEventDispatcher,
|
|
437
504
|
ColumnResizeNotifierSource,
|
|
505
|
+
{ provide: _COALESCED_STYLE_SCHEDULER, useClass: _CoalescedStyleScheduler },
|
|
438
506
|
];
|
|
439
507
|
const TABLE_PROVIDERS = [
|
|
440
508
|
...PROVIDERS,
|
|
@@ -453,10 +521,10 @@ class CdkColumnResize extends ColumnResize {
|
|
|
453
521
|
ngZone = inject(NgZone);
|
|
454
522
|
notifier = inject(ColumnResizeNotifierSource);
|
|
455
523
|
table = inject(CdkTable);
|
|
456
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
457
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
524
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkColumnResize, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
525
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-next.5", type: CdkColumnResize, isStandalone: true, selector: "table[cdk-table][columnResize]", providers: [...TABLE_PROVIDERS, { provide: ColumnResize, useExisting: CdkColumnResize }], usesInheritance: true, ngImport: i0 });
|
|
458
526
|
}
|
|
459
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
527
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkColumnResize, decorators: [{
|
|
460
528
|
type: Directive,
|
|
461
529
|
args: [{
|
|
462
530
|
selector: 'table[cdk-table][columnResize]',
|
|
@@ -475,10 +543,10 @@ class CdkColumnResizeFlex extends ColumnResize {
|
|
|
475
543
|
ngZone = inject(NgZone);
|
|
476
544
|
notifier = inject(ColumnResizeNotifierSource);
|
|
477
545
|
table = inject(CdkTable);
|
|
478
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
479
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
546
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkColumnResizeFlex, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
547
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-next.5", type: CdkColumnResizeFlex, isStandalone: true, selector: "cdk-table[columnResize]", providers: [...FLEX_PROVIDERS, { provide: ColumnResize, useExisting: CdkColumnResizeFlex }], usesInheritance: true, ngImport: i0 });
|
|
480
548
|
}
|
|
481
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
549
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkColumnResizeFlex, decorators: [{
|
|
482
550
|
type: Directive,
|
|
483
551
|
args: [{
|
|
484
552
|
selector: 'cdk-table[columnResize]',
|
|
@@ -497,13 +565,13 @@ class CdkDefaultEnabledColumnResize extends ColumnResize {
|
|
|
497
565
|
ngZone = inject(NgZone);
|
|
498
566
|
notifier = inject(ColumnResizeNotifierSource);
|
|
499
567
|
table = inject(CdkTable);
|
|
500
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
501
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
568
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkDefaultEnabledColumnResize, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
569
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-next.5", type: CdkDefaultEnabledColumnResize, isStandalone: true, selector: "table[cdk-table]", providers: [
|
|
502
570
|
...TABLE_PROVIDERS,
|
|
503
571
|
{ provide: ColumnResize, useExisting: CdkDefaultEnabledColumnResize },
|
|
504
572
|
], usesInheritance: true, ngImport: i0 });
|
|
505
573
|
}
|
|
506
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
574
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkDefaultEnabledColumnResize, decorators: [{
|
|
507
575
|
type: Directive,
|
|
508
576
|
args: [{
|
|
509
577
|
selector: 'table[cdk-table]',
|
|
@@ -525,13 +593,13 @@ class CdkDefaultEnabledColumnResizeFlex extends ColumnResize {
|
|
|
525
593
|
ngZone = inject(NgZone);
|
|
526
594
|
notifier = inject(ColumnResizeNotifierSource);
|
|
527
595
|
table = inject(CdkTable);
|
|
528
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
529
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
596
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkDefaultEnabledColumnResizeFlex, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
597
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-next.5", type: CdkDefaultEnabledColumnResizeFlex, isStandalone: true, selector: "cdk-table", providers: [
|
|
530
598
|
...FLEX_PROVIDERS,
|
|
531
599
|
{ provide: ColumnResize, useExisting: CdkDefaultEnabledColumnResizeFlex },
|
|
532
600
|
], usesInheritance: true, ngImport: i0 });
|
|
533
601
|
}
|
|
534
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
602
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkDefaultEnabledColumnResizeFlex, decorators: [{
|
|
535
603
|
type: Directive,
|
|
536
604
|
args: [{
|
|
537
605
|
selector: 'cdk-table',
|
|
@@ -547,11 +615,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
|
|
|
547
615
|
* When using this module, columns are resizable by default.
|
|
548
616
|
*/
|
|
549
617
|
class CdkColumnResizeDefaultEnabledModule {
|
|
550
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
551
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
552
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
618
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkColumnResizeDefaultEnabledModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
619
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkColumnResizeDefaultEnabledModule, imports: [CdkDefaultEnabledColumnResize, CdkDefaultEnabledColumnResizeFlex], exports: [CdkDefaultEnabledColumnResize, CdkDefaultEnabledColumnResizeFlex] });
|
|
620
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkColumnResizeDefaultEnabledModule });
|
|
553
621
|
}
|
|
554
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
622
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkColumnResizeDefaultEnabledModule, decorators: [{
|
|
555
623
|
type: NgModule,
|
|
556
624
|
args: [{
|
|
557
625
|
imports: [CdkDefaultEnabledColumnResize, CdkDefaultEnabledColumnResizeFlex],
|
|
@@ -563,11 +631,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
|
|
|
563
631
|
* When using this module, columns are not resizable by default.
|
|
564
632
|
*/
|
|
565
633
|
class CdkColumnResizeModule {
|
|
566
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
567
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
568
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
634
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkColumnResizeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
635
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkColumnResizeModule, imports: [CdkColumnResize, CdkColumnResizeFlex], exports: [CdkColumnResize, CdkColumnResizeFlex] });
|
|
636
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkColumnResizeModule });
|
|
569
637
|
}
|
|
570
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
638
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: CdkColumnResizeModule, decorators: [{
|
|
571
639
|
type: NgModule,
|
|
572
640
|
args: [{
|
|
573
641
|
imports: [CdkColumnResize, CdkColumnResizeFlex],
|
|
@@ -579,10 +647,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
|
|
|
579
647
|
* Can be provided by the host application to enable persistence of column resize state.
|
|
580
648
|
*/
|
|
581
649
|
class ColumnSizeStore {
|
|
582
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
583
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
650
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: ColumnSizeStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
651
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: ColumnSizeStore });
|
|
584
652
|
}
|
|
585
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
653
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: ColumnSizeStore, decorators: [{
|
|
586
654
|
type: Injectable
|
|
587
655
|
}] });
|
|
588
656
|
|
|
@@ -614,6 +682,7 @@ class Resizable {
|
|
|
614
682
|
overlayRef;
|
|
615
683
|
destroyed = new Subject();
|
|
616
684
|
columnSizeStore = inject(ColumnSizeStore, { optional: true });
|
|
685
|
+
_injector = inject(Injector);
|
|
617
686
|
_viewInitialized = false;
|
|
618
687
|
_isDestroyed = false;
|
|
619
688
|
/** The minimum width to allow the column to be sized to. */
|
|
@@ -674,9 +743,7 @@ class Resizable {
|
|
|
674
743
|
// of two table cells and is also useful for displaying a resize thumb
|
|
675
744
|
// over both cells and extending it down the table as needed.
|
|
676
745
|
const isRtl = this.directionality.value === 'rtl';
|
|
677
|
-
const positionStrategy = this.
|
|
678
|
-
.position()
|
|
679
|
-
.flexibleConnectedTo(this.elementRef.nativeElement)
|
|
746
|
+
const positionStrategy = createFlexibleConnectedPositionStrategy(this._injector, this.elementRef.nativeElement)
|
|
680
747
|
.withFlexibleDimensions(false)
|
|
681
748
|
.withGrowAfterOpen(false)
|
|
682
749
|
.withPush(false)
|
|
@@ -689,12 +756,12 @@ class Resizable {
|
|
|
689
756
|
overlayY: 'top',
|
|
690
757
|
},
|
|
691
758
|
]);
|
|
692
|
-
return this.
|
|
759
|
+
return createOverlayRef(this._injector, {
|
|
693
760
|
// Always position the overlay based on left-indexed coordinates.
|
|
694
761
|
direction: 'ltr',
|
|
695
762
|
disposeOnNavigation: true,
|
|
696
763
|
positionStrategy,
|
|
697
|
-
scrollStrategy: this.
|
|
764
|
+
scrollStrategy: createRepositionScrollStrategy(this._injector),
|
|
698
765
|
width: '16px',
|
|
699
766
|
});
|
|
700
767
|
}
|
|
@@ -702,7 +769,7 @@ class Resizable {
|
|
|
702
769
|
const element = this.elementRef.nativeElement;
|
|
703
770
|
const takeUntilDestroyed = takeUntil(this.destroyed);
|
|
704
771
|
this.eventDispatcher
|
|
705
|
-
.resizeOverlayVisibleForHeaderRow(
|
|
772
|
+
.resizeOverlayVisibleForHeaderRow(closest(element, HEADER_ROW_SELECTOR))
|
|
706
773
|
.pipe(takeUntilDestroyed)
|
|
707
774
|
.subscribe(hoveringRow => {
|
|
708
775
|
if (hoveringRow) {
|
|
@@ -776,7 +843,13 @@ class Resizable {
|
|
|
776
843
|
this.changeDetectorRef.markForCheck();
|
|
777
844
|
}
|
|
778
845
|
_updateOverlayHandleHeight() {
|
|
779
|
-
this.
|
|
846
|
+
runInInjectionContext(this.injector, () => {
|
|
847
|
+
afterNextRender({
|
|
848
|
+
write: () => {
|
|
849
|
+
this.overlayRef.updateSize({ height: this.elementRef.nativeElement.offsetHeight });
|
|
850
|
+
},
|
|
851
|
+
});
|
|
852
|
+
});
|
|
780
853
|
}
|
|
781
854
|
_applySize(sizeInPixels, previousSize) {
|
|
782
855
|
const sizeToApply = Math.min(Math.max(sizeInPixels, this.minWidthPx, 0), this.maxWidthPx);
|
|
@@ -796,10 +869,10 @@ class Resizable {
|
|
|
796
869
|
// TODO: Apply correct aria role (probably slider) after a11y spec questions resolved.
|
|
797
870
|
this.elementRef.nativeElement.appendChild(this.inlineHandle);
|
|
798
871
|
}
|
|
799
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
800
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
872
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: Resizable, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
873
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-next.5", type: Resizable, isStandalone: true, ngImport: i0 });
|
|
801
874
|
}
|
|
802
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
875
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: Resizable, decorators: [{
|
|
803
876
|
type: Directive
|
|
804
877
|
}] });
|
|
805
878
|
|
|
@@ -826,7 +899,7 @@ class ResizeOverlayHandle {
|
|
|
826
899
|
.pipe(mapTo(this.resizeRef.origin.nativeElement), takeUntil(this.destroyed))
|
|
827
900
|
.subscribe(cell => this.eventDispatcher.headerCellHovered.next(cell));
|
|
828
901
|
this._observableFromEvent(this.elementRef.nativeElement, 'mouseleave')
|
|
829
|
-
.pipe(map(event => event.relatedTarget &&
|
|
902
|
+
.pipe(map(event => event.relatedTarget && closest(event.relatedTarget, HEADER_CELL_SELECTOR)), takeUntil(this.destroyed))
|
|
830
903
|
.subscribe(cell => this.eventDispatcher.headerCellHovered.next(cell));
|
|
831
904
|
this._observableFromEvent(this.elementRef.nativeElement, 'mousedown')
|
|
832
905
|
.pipe(takeUntil(this.destroyed))
|
|
@@ -956,16 +1029,12 @@ class ResizeOverlayHandle {
|
|
|
956
1029
|
};
|
|
957
1030
|
});
|
|
958
1031
|
}
|
|
959
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
960
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1032
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: ResizeOverlayHandle, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1033
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0-next.5", type: ResizeOverlayHandle, isStandalone: true, ngImport: i0 });
|
|
961
1034
|
}
|
|
962
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1035
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.5", ngImport: i0, type: ResizeOverlayHandle, decorators: [{
|
|
963
1036
|
type: Directive
|
|
964
1037
|
}] });
|
|
965
1038
|
|
|
966
|
-
|
|
967
|
-
* Generated bundle index. Do not edit.
|
|
968
|
-
*/
|
|
969
|
-
|
|
970
|
-
export { COLUMN_RESIZE_OPTIONS, CdkColumnResize, CdkColumnResizeDefaultEnabledModule, CdkColumnResizeFlex, CdkColumnResizeModule, CdkDefaultEnabledColumnResize, CdkDefaultEnabledColumnResizeFlex, CdkFlexTableResizeStrategy, ColumnResize, ColumnResizeNotifier, ColumnResizeNotifierSource, ColumnSizeStore, FLEX_RESIZE_STRATEGY_PROVIDER, HeaderRowEventDispatcher, Resizable, ResizeOverlayHandle, ResizeRef, ResizeStrategy, TABLE_LAYOUT_FIXED_RESIZE_STRATEGY_PROVIDER, TableLayoutFixedResizeStrategy };
|
|
1039
|
+
export { COLUMN_RESIZE_OPTIONS, CdkColumnResize, CdkColumnResizeDefaultEnabledModule, CdkColumnResizeFlex, CdkColumnResizeModule, CdkDefaultEnabledColumnResize, CdkDefaultEnabledColumnResizeFlex, CdkFlexTableResizeStrategy, ColumnResize, ColumnResizeNotifier, ColumnResizeNotifierSource, ColumnSizeStore, FLEX_RESIZE_STRATEGY_PROVIDER, HeaderRowEventDispatcher, Resizable, ResizeOverlayHandle, ResizeRef, ResizeStrategy, TABLE_LAYOUT_FIXED_RESIZE_STRATEGY_PROVIDER, TableLayoutFixedResizeStrategy, _COALESCED_STYLE_SCHEDULER, _CoalescedStyleScheduler, _Schedule };
|
|
971
1040
|
//# sourceMappingURL=column-resize.mjs.map
|