@angular/material-experimental 21.0.0-next.0 → 21.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/fesm2022/column-resize.mjs +37 -38
- package/fesm2022/column-resize.mjs.map +1 -1
- package/fesm2022/material-experimental.mjs +1 -1
- package/fesm2022/material-experimental.mjs.map +1 -1
- package/fesm2022/menubar.mjs +10 -10
- package/fesm2022/menubar.mjs.map +1 -1
- package/fesm2022/popover-edit.mjs +25 -29
- package/fesm2022/popover-edit.mjs.map +1 -1
- package/fesm2022/selection.mjs +19 -19
- package/fesm2022/selection.mjs.map +1 -1
- package/package.json +11 -10
- package/{column-resize/index.d.ts → types/column-resize.d.ts} +3 -4
- package/{popover-edit/index.d.ts → types/popover-edit.d.ts} +1 -2
- /package/{index.d.ts → types/material-experimental.d.ts} +0 -0
- /package/{menubar/index.d.ts → types/menubar.d.ts} +0 -0
- /package/{selection/index.d.ts → types/selection.d.ts} +0 -0
|
@@ -2,7 +2,6 @@ import { CdkFlexTableResizeStrategy, ResizeStrategy, TABLE_LAYOUT_FIXED_RESIZE_S
|
|
|
2
2
|
export { COLUMN_RESIZE_OPTIONS, ColumnSizeStore, TABLE_LAYOUT_FIXED_RESIZE_STRATEGY_PROVIDER } from '@angular/cdk-experimental/column-resize';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
4
|
import { Injectable, inject, ElementRef, NgZone, Directive, DOCUMENT, Component, ChangeDetectionStrategy, ViewEncapsulation, ViewChild, Injector, ViewContainerRef, ChangeDetectorRef, NgModule } from '@angular/core';
|
|
5
|
-
import { MatCommonModule } from '@angular/material/core';
|
|
6
5
|
import { OverlayModule } from '@angular/cdk/overlay';
|
|
7
6
|
import { Directionality } from '@angular/cdk/bidi';
|
|
8
7
|
import { CdkColumnDef } from '@angular/cdk/table';
|
|
@@ -14,10 +13,10 @@ class MatFlexTableResizeStrategy extends CdkFlexTableResizeStrategy {
|
|
|
14
13
|
getColumnCssClass(cssFriendlyColumnName) {
|
|
15
14
|
return `mat-column-${cssFriendlyColumnName}`;
|
|
16
15
|
}
|
|
17
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
18
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0-
|
|
16
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatFlexTableResizeStrategy, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
17
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatFlexTableResizeStrategy });
|
|
19
18
|
}
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatFlexTableResizeStrategy, decorators: [{
|
|
21
20
|
type: Injectable
|
|
22
21
|
}] });
|
|
23
22
|
const FLEX_RESIZE_STRATEGY_PROVIDER = {
|
|
@@ -58,10 +57,10 @@ class MatColumnResize extends AbstractMatColumnResize {
|
|
|
58
57
|
eventDispatcher = inject(HeaderRowEventDispatcher);
|
|
59
58
|
ngZone = inject(NgZone);
|
|
60
59
|
notifier = inject(ColumnResizeNotifierSource);
|
|
61
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
62
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-
|
|
60
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatColumnResize, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
61
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-next.2", type: MatColumnResize, isStandalone: true, selector: "table[mat-table][columnResize]", host: { classAttribute: "mat-column-resize-table" }, providers: [...TABLE_PROVIDERS, { provide: ColumnResize, useExisting: MatColumnResize }], usesInheritance: true, ngImport: i0 });
|
|
63
62
|
}
|
|
64
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
63
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatColumnResize, decorators: [{
|
|
65
64
|
type: Directive,
|
|
66
65
|
args: [{
|
|
67
66
|
selector: 'table[mat-table][columnResize]',
|
|
@@ -80,10 +79,10 @@ class MatColumnResizeFlex extends AbstractMatColumnResize {
|
|
|
80
79
|
eventDispatcher = inject(HeaderRowEventDispatcher);
|
|
81
80
|
ngZone = inject(NgZone);
|
|
82
81
|
notifier = inject(ColumnResizeNotifierSource);
|
|
83
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
84
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-
|
|
82
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatColumnResizeFlex, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
83
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-next.2", type: MatColumnResizeFlex, isStandalone: true, selector: "mat-table[columnResize]", host: { classAttribute: "mat-column-resize-flex" }, providers: [...FLEX_PROVIDERS, { provide: ColumnResize, useExisting: MatColumnResizeFlex }], usesInheritance: true, ngImport: i0 });
|
|
85
84
|
}
|
|
86
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
85
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatColumnResizeFlex, decorators: [{
|
|
87
86
|
type: Directive,
|
|
88
87
|
args: [{
|
|
89
88
|
selector: 'mat-table[columnResize]',
|
|
@@ -102,13 +101,13 @@ class MatDefaultEnabledColumnResize extends AbstractMatColumnResize {
|
|
|
102
101
|
eventDispatcher = inject(HeaderRowEventDispatcher);
|
|
103
102
|
ngZone = inject(NgZone);
|
|
104
103
|
notifier = inject(ColumnResizeNotifierSource);
|
|
105
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
106
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-
|
|
104
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatDefaultEnabledColumnResize, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
105
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-next.2", type: MatDefaultEnabledColumnResize, isStandalone: true, selector: "table[mat-table]", host: { classAttribute: "mat-column-resize-table" }, providers: [
|
|
107
106
|
...TABLE_PROVIDERS,
|
|
108
107
|
{ provide: ColumnResize, useExisting: MatDefaultEnabledColumnResize },
|
|
109
108
|
], usesInheritance: true, ngImport: i0 });
|
|
110
109
|
}
|
|
111
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
110
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatDefaultEnabledColumnResize, decorators: [{
|
|
112
111
|
type: Directive,
|
|
113
112
|
args: [{
|
|
114
113
|
selector: 'table[mat-table]',
|
|
@@ -130,13 +129,13 @@ class MatDefaultEnabledColumnResizeFlex extends AbstractMatColumnResize {
|
|
|
130
129
|
eventDispatcher = inject(HeaderRowEventDispatcher);
|
|
131
130
|
ngZone = inject(NgZone);
|
|
132
131
|
notifier = inject(ColumnResizeNotifierSource);
|
|
133
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
134
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-
|
|
132
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatDefaultEnabledColumnResizeFlex, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
133
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-next.2", type: MatDefaultEnabledColumnResizeFlex, isStandalone: true, selector: "mat-table", host: { classAttribute: "mat-column-resize-flex" }, providers: [
|
|
135
134
|
...FLEX_PROVIDERS,
|
|
136
135
|
{ provide: ColumnResize, useExisting: MatDefaultEnabledColumnResizeFlex },
|
|
137
136
|
], usesInheritance: true, ngImport: i0 });
|
|
138
137
|
}
|
|
139
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
138
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatDefaultEnabledColumnResizeFlex, decorators: [{
|
|
140
139
|
type: Directive,
|
|
141
140
|
args: [{
|
|
142
141
|
selector: 'mat-table',
|
|
@@ -174,10 +173,10 @@ class MatColumnResizeOverlayHandle extends ResizeOverlayHandle {
|
|
|
174
173
|
: originHeight,
|
|
175
174
|
});
|
|
176
175
|
}
|
|
177
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
178
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.0-
|
|
176
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatColumnResizeOverlayHandle, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
177
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.0-next.2", type: MatColumnResizeOverlayHandle, isStandalone: true, selector: "ng-component", host: { classAttribute: "mat-column-resize-overlay-thumb" }, viewQueries: [{ propertyName: "topElement", first: true, predicate: ["top"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: '<div #top class="mat-column-resize-overlay-thumb-top"></div>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
179
178
|
}
|
|
180
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
179
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatColumnResizeOverlayHandle, decorators: [{
|
|
181
180
|
type: Component,
|
|
182
181
|
args: [{
|
|
183
182
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -225,10 +224,10 @@ class MatDefaultResizable extends AbstractMatResizable {
|
|
|
225
224
|
viewContainerRef = inject(ViewContainerRef);
|
|
226
225
|
changeDetectorRef = inject(ChangeDetectorRef);
|
|
227
226
|
document = inject(DOCUMENT);
|
|
228
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
229
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-
|
|
227
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatDefaultResizable, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
228
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-next.2", type: MatDefaultResizable, isStandalone: true, selector: "mat-header-cell:not([disableResize]), th[mat-header-cell]:not([disableResize])", inputs: { minWidthPx: ["matResizableMinWidthPx", "minWidthPx"], maxWidthPx: ["matResizableMaxWidthPx", "maxWidthPx"] }, host: { classAttribute: "mat-resizable" }, usesInheritance: true, ngImport: i0 });
|
|
230
229
|
}
|
|
231
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
230
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatDefaultResizable, decorators: [{
|
|
232
231
|
type: Directive,
|
|
233
232
|
args: [{
|
|
234
233
|
selector: 'mat-header-cell:not([disableResize]), th[mat-header-cell]:not([disableResize])',
|
|
@@ -254,10 +253,10 @@ class MatResizable extends AbstractMatResizable {
|
|
|
254
253
|
viewContainerRef = inject(ViewContainerRef);
|
|
255
254
|
changeDetectorRef = inject(ChangeDetectorRef);
|
|
256
255
|
document = inject(DOCUMENT);
|
|
257
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
258
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-
|
|
256
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatResizable, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
257
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-next.2", type: MatResizable, isStandalone: true, selector: "mat-header-cell[resizable], th[mat-header-cell][resizable]", inputs: { minWidthPx: ["matResizableMinWidthPx", "minWidthPx"], maxWidthPx: ["matResizableMaxWidthPx", "maxWidthPx"] }, host: { classAttribute: "mat-resizable" }, usesInheritance: true, ngImport: i0 });
|
|
259
258
|
}
|
|
260
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
259
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatResizable, decorators: [{
|
|
261
260
|
type: Directive,
|
|
262
261
|
args: [{
|
|
263
262
|
selector: 'mat-header-cell[resizable], th[mat-header-cell][resizable]',
|
|
@@ -268,26 +267,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-rc.1", ng
|
|
|
268
267
|
|
|
269
268
|
const ENTRY_COMMON_COMPONENTS = [MatColumnResizeOverlayHandle];
|
|
270
269
|
class MatColumnResizeCommonModule {
|
|
271
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
272
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.0-
|
|
273
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.0-
|
|
270
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatColumnResizeCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
271
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatColumnResizeCommonModule, imports: [MatColumnResizeOverlayHandle], exports: [MatColumnResizeOverlayHandle] });
|
|
272
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatColumnResizeCommonModule });
|
|
274
273
|
}
|
|
275
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
274
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatColumnResizeCommonModule, decorators: [{
|
|
276
275
|
type: NgModule,
|
|
277
276
|
args: [{
|
|
278
277
|
imports: [...ENTRY_COMMON_COMPONENTS],
|
|
279
278
|
exports: ENTRY_COMMON_COMPONENTS,
|
|
280
279
|
}]
|
|
281
280
|
}] });
|
|
282
|
-
const IMPORTS = [
|
|
281
|
+
const IMPORTS = [OverlayModule, MatColumnResizeCommonModule];
|
|
283
282
|
class MatDefaultEnabledColumnResizeModule {
|
|
284
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
285
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.0-
|
|
283
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatDefaultEnabledColumnResizeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
284
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatDefaultEnabledColumnResizeModule, imports: [OverlayModule, MatColumnResizeCommonModule, MatDefaultEnabledColumnResize,
|
|
286
285
|
MatDefaultEnabledColumnResizeFlex,
|
|
287
286
|
MatDefaultResizable], exports: [MatDefaultEnabledColumnResize, MatDefaultEnabledColumnResizeFlex, MatDefaultResizable] });
|
|
288
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.0-
|
|
287
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatDefaultEnabledColumnResizeModule, imports: [IMPORTS] });
|
|
289
288
|
}
|
|
290
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
289
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatDefaultEnabledColumnResizeModule, decorators: [{
|
|
291
290
|
type: NgModule,
|
|
292
291
|
args: [{
|
|
293
292
|
imports: [
|
|
@@ -300,11 +299,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-rc.1", ng
|
|
|
300
299
|
}]
|
|
301
300
|
}] });
|
|
302
301
|
class MatColumnResizeModule {
|
|
303
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
304
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.0-
|
|
305
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.0-
|
|
302
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatColumnResizeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
303
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatColumnResizeModule, imports: [OverlayModule, MatColumnResizeCommonModule, MatColumnResize, MatColumnResizeFlex, MatResizable], exports: [MatColumnResize, MatColumnResizeFlex, MatResizable] });
|
|
304
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatColumnResizeModule, imports: [IMPORTS] });
|
|
306
305
|
}
|
|
307
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
306
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatColumnResizeModule, decorators: [{
|
|
308
307
|
type: NgModule,
|
|
309
308
|
args: [{
|
|
310
309
|
imports: [...IMPORTS, MatColumnResize, MatColumnResizeFlex, MatResizable],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"column-resize.mjs","sources":["../../../../../k8-fastbuild-ST-c646aa77115d/bin/src/material-experimental/column-resize/resize-strategy.ts","../../../../../k8-fastbuild-ST-c646aa77115d/bin/src/material-experimental/column-resize/column-resize-directives/common.ts","../../../../../k8-fastbuild-ST-c646aa77115d/bin/src/material-experimental/column-resize/column-resize-directives/column-resize.ts","../../../../../k8-fastbuild-ST-c646aa77115d/bin/src/material-experimental/column-resize/column-resize-directives/column-resize-flex.ts","../../../../../k8-fastbuild-ST-c646aa77115d/bin/src/material-experimental/column-resize/column-resize-directives/default-enabled-column-resize.ts","../../../../../k8-fastbuild-ST-c646aa77115d/bin/src/material-experimental/column-resize/column-resize-directives/default-enabled-column-resize-flex.ts","../../../../../k8-fastbuild-ST-c646aa77115d/bin/src/material-experimental/column-resize/overlay-handle.ts","../../../../../k8-fastbuild-ST-c646aa77115d/bin/src/material-experimental/column-resize/resizable-directives/common.ts","../../../../../k8-fastbuild-ST-c646aa77115d/bin/src/material-experimental/column-resize/resizable-directives/default-enabled-resizable.ts","../../../../../k8-fastbuild-ST-c646aa77115d/bin/src/material-experimental/column-resize/resizable-directives/resizable.ts","../../../../../k8-fastbuild-ST-c646aa77115d/bin/src/material-experimental/column-resize/column-resize-module.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 {Injectable, Provider} from '@angular/core';\n\nimport {\n ResizeStrategy,\n CdkFlexTableResizeStrategy,\n TABLE_LAYOUT_FIXED_RESIZE_STRATEGY_PROVIDER,\n} from '@angular/cdk-experimental/column-resize';\n\nexport {TABLE_LAYOUT_FIXED_RESIZE_STRATEGY_PROVIDER};\n\n/**\n * Overrides CdkFlexTableResizeStrategy to match mat-column elements.\n */\n@Injectable()\nexport class MatFlexTableResizeStrategy extends CdkFlexTableResizeStrategy {\n protected override getColumnCssClass(cssFriendlyColumnName: string): string {\n return `mat-column-${cssFriendlyColumnName}`;\n }\n}\n\nexport const FLEX_RESIZE_STRATEGY_PROVIDER: Provider = {\n provide: ResizeStrategy,\n useClass: MatFlexTableResizeStrategy,\n};\n","/**\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 {Provider} from '@angular/core';\n\nimport {\n _COALESCED_STYLE_SCHEDULER,\n _CoalescedStyleScheduler,\n ColumnResize,\n ColumnResizeNotifier,\n ColumnResizeNotifierSource,\n HeaderRowEventDispatcher,\n} from '@angular/cdk-experimental/column-resize';\n\nimport {\n TABLE_LAYOUT_FIXED_RESIZE_STRATEGY_PROVIDER,\n FLEX_RESIZE_STRATEGY_PROVIDER,\n} from '../resize-strategy';\n\nconst PROVIDERS: Provider[] = [\n ColumnResizeNotifier,\n HeaderRowEventDispatcher,\n ColumnResizeNotifierSource,\n {provide: _COALESCED_STYLE_SCHEDULER, useClass: _CoalescedStyleScheduler},\n];\nexport const TABLE_PROVIDERS: Provider[] = [\n ...PROVIDERS,\n TABLE_LAYOUT_FIXED_RESIZE_STRATEGY_PROVIDER,\n];\nexport const FLEX_PROVIDERS: Provider[] = [...PROVIDERS, FLEX_RESIZE_STRATEGY_PROVIDER];\n\nexport const TABLE_HOST_BINDINGS = {\n 'class': 'mat-column-resize-table',\n};\nexport const FLEX_HOST_BINDINGS = {\n 'class': 'mat-column-resize-flex',\n};\n\nexport abstract class AbstractMatColumnResize extends ColumnResize {\n getTableHeight() {\n return this.elementRef.nativeElement!.offsetHeight;\n }\n}\n","/**\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 {Directive, ElementRef, NgZone, inject} from '@angular/core';\nimport {\n ColumnResize,\n ColumnResizeNotifier,\n ColumnResizeNotifierSource,\n HeaderRowEventDispatcher,\n} from '@angular/cdk-experimental/column-resize';\n\nimport {AbstractMatColumnResize, TABLE_HOST_BINDINGS, TABLE_PROVIDERS} from './common';\n\n/**\n * Explicitly enables column resizing for a table-based mat-table.\n * Individual columns must be annotated specifically.\n */\n@Directive({\n selector: 'table[mat-table][columnResize]',\n host: TABLE_HOST_BINDINGS,\n providers: [...TABLE_PROVIDERS, {provide: ColumnResize, useExisting: MatColumnResize}],\n})\nexport class MatColumnResize extends AbstractMatColumnResize {\n readonly columnResizeNotifier = inject(ColumnResizeNotifier);\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n protected readonly eventDispatcher = inject(HeaderRowEventDispatcher);\n protected readonly ngZone = inject(NgZone);\n protected readonly notifier = inject(ColumnResizeNotifierSource);\n}\n","/**\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 {Directive, ElementRef, NgZone, inject} from '@angular/core';\nimport {\n ColumnResize,\n ColumnResizeNotifier,\n ColumnResizeNotifierSource,\n HeaderRowEventDispatcher,\n} from '@angular/cdk-experimental/column-resize';\n\nimport {AbstractMatColumnResize, FLEX_HOST_BINDINGS, FLEX_PROVIDERS} from './common';\n\n/**\n * Explicitly enables column resizing for a flexbox-based mat-table.\n * Individual columns must be annotated specifically.\n */\n@Directive({\n selector: 'mat-table[columnResize]',\n host: FLEX_HOST_BINDINGS,\n providers: [...FLEX_PROVIDERS, {provide: ColumnResize, useExisting: MatColumnResizeFlex}],\n})\nexport class MatColumnResizeFlex extends AbstractMatColumnResize {\n readonly columnResizeNotifier = inject(ColumnResizeNotifier);\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n protected readonly eventDispatcher = inject(HeaderRowEventDispatcher);\n protected readonly ngZone = inject(NgZone);\n protected readonly notifier = inject(ColumnResizeNotifierSource);\n}\n","/**\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 {Directive, ElementRef, NgZone, inject} from '@angular/core';\nimport {\n ColumnResize,\n ColumnResizeNotifier,\n ColumnResizeNotifierSource,\n HeaderRowEventDispatcher,\n} from '@angular/cdk-experimental/column-resize';\n\nimport {AbstractMatColumnResize, TABLE_HOST_BINDINGS, TABLE_PROVIDERS} from './common';\n\n/**\n * Implicitly enables column resizing for a table-based mat-table.\n * Individual columns will be resizable unless opted out.\n */\n@Directive({\n selector: 'table[mat-table]',\n host: TABLE_HOST_BINDINGS,\n providers: [\n ...TABLE_PROVIDERS,\n {provide: ColumnResize, useExisting: MatDefaultEnabledColumnResize},\n ],\n})\nexport class MatDefaultEnabledColumnResize extends AbstractMatColumnResize {\n readonly columnResizeNotifier = inject(ColumnResizeNotifier);\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n protected readonly eventDispatcher = inject(HeaderRowEventDispatcher);\n protected readonly ngZone = inject(NgZone);\n protected readonly notifier = inject(ColumnResizeNotifierSource);\n}\n","/**\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 {Directive, ElementRef, NgZone, inject} from '@angular/core';\nimport {\n ColumnResize,\n ColumnResizeNotifier,\n ColumnResizeNotifierSource,\n HeaderRowEventDispatcher,\n} from '@angular/cdk-experimental/column-resize';\n\nimport {AbstractMatColumnResize, FLEX_HOST_BINDINGS, FLEX_PROVIDERS} from './common';\n\n/**\n * Implicitly enables column resizing for a flexbox-based mat-table.\n * Individual columns will be resizable unless opted out.\n */\n@Directive({\n selector: 'mat-table',\n host: FLEX_HOST_BINDINGS,\n providers: [\n ...FLEX_PROVIDERS,\n {provide: ColumnResize, useExisting: MatDefaultEnabledColumnResizeFlex},\n ],\n})\nexport class MatDefaultEnabledColumnResizeFlex extends AbstractMatColumnResize {\n readonly columnResizeNotifier = inject(ColumnResizeNotifier);\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n protected readonly eventDispatcher = inject(HeaderRowEventDispatcher);\n protected readonly ngZone = inject(NgZone);\n protected readonly notifier = inject(ColumnResizeNotifierSource);\n}\n","/**\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 {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n NgZone,\n ViewChild,\n ViewEncapsulation,\n inject,\n DOCUMENT,\n} from '@angular/core';\n\nimport {CdkColumnDef} from '@angular/cdk/table';\nimport {Directionality} from '@angular/cdk/bidi';\nimport {\n _COALESCED_STYLE_SCHEDULER,\n _CoalescedStyleScheduler,\n ColumnResize,\n ColumnResizeNotifierSource,\n HeaderRowEventDispatcher,\n ResizeOverlayHandle,\n ResizeRef,\n} from '@angular/cdk-experimental/column-resize';\n\nimport {AbstractMatColumnResize} from './column-resize-directives/common';\n\n/**\n * Component shown over the edge of a resizable column that is responsible\n * for handling column resize mouse events and displaying a vertical line along the column edge.\n */\n@Component({\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {'class': 'mat-column-resize-overlay-thumb'},\n template: '<div #top class=\"mat-column-resize-overlay-thumb-top\"></div>',\n})\nexport class MatColumnResizeOverlayHandle extends ResizeOverlayHandle {\n protected readonly columnDef = inject(CdkColumnDef);\n protected readonly columnResize = inject(ColumnResize);\n protected readonly directionality = inject(Directionality);\n protected readonly elementRef = inject(ElementRef);\n protected readonly eventDispatcher = inject(HeaderRowEventDispatcher);\n protected readonly ngZone = inject(NgZone);\n protected readonly resizeNotifier = inject(ColumnResizeNotifierSource);\n protected readonly resizeRef = inject(ResizeRef);\n protected readonly styleScheduler = inject<_CoalescedStyleScheduler>(_COALESCED_STYLE_SCHEDULER);\n protected readonly document = inject(DOCUMENT);\n\n @ViewChild('top', {static: true}) topElement: ElementRef<HTMLElement>;\n\n protected override updateResizeActive(active: boolean): void {\n super.updateResizeActive(active);\n\n const originHeight = this.resizeRef.origin.nativeElement.offsetHeight;\n this.topElement.nativeElement.style.height = `${originHeight}px`;\n this.resizeRef.overlayRef.updateSize({\n height: active\n ? (this.columnResize as AbstractMatColumnResize).getTableHeight()\n : originHeight,\n });\n }\n}\n","/**\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 {Type} from '@angular/core';\nimport {Resizable} from '@angular/cdk-experimental/column-resize';\nimport {MatColumnResizeOverlayHandle} from '../overlay-handle';\n\nexport abstract class AbstractMatResizable extends Resizable<MatColumnResizeOverlayHandle> {\n override minWidthPxInternal = 32;\n\n protected override getInlineHandleCssClassName(): string {\n return 'mat-resizable-handle';\n }\n\n protected override getOverlayHandleComponentType(): Type<MatColumnResizeOverlayHandle> {\n return MatColumnResizeOverlayHandle;\n }\n}\n\nexport const RESIZABLE_HOST_BINDINGS = {\n 'class': 'mat-resizable',\n};\n\nexport const RESIZABLE_INPUTS = [\n {name: 'minWidthPx', alias: 'matResizableMinWidthPx'},\n {name: 'maxWidthPx', alias: 'matResizableMaxWidthPx'},\n];\n","/**\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 {\n Directive,\n ElementRef,\n Injector,\n NgZone,\n ViewContainerRef,\n ChangeDetectorRef,\n inject,\n DOCUMENT,\n} from '@angular/core';\n\nimport {Directionality} from '@angular/cdk/bidi';\nimport {CdkColumnDef} from '@angular/cdk/table';\nimport {\n _COALESCED_STYLE_SCHEDULER,\n _CoalescedStyleScheduler,\n ColumnResize,\n ColumnResizeNotifierSource,\n HeaderRowEventDispatcher,\n ResizeStrategy,\n} from '@angular/cdk-experimental/column-resize';\n\nimport {AbstractMatResizable, RESIZABLE_HOST_BINDINGS, RESIZABLE_INPUTS} from './common';\n\n/**\n * Implicitly enables column resizing for a mat-header-cell unless the disableResize attribute\n * is present.\n */\n@Directive({\n selector: 'mat-header-cell:not([disableResize]), th[mat-header-cell]:not([disableResize])',\n host: RESIZABLE_HOST_BINDINGS,\n inputs: RESIZABLE_INPUTS,\n})\nexport class MatDefaultResizable extends AbstractMatResizable {\n protected readonly columnDef = inject(CdkColumnDef);\n protected readonly columnResize = inject(ColumnResize);\n protected readonly directionality = inject(Directionality);\n protected readonly elementRef = inject(ElementRef);\n protected readonly eventDispatcher = inject(HeaderRowEventDispatcher);\n protected readonly injector = inject(Injector);\n protected readonly ngZone = inject(NgZone);\n protected readonly resizeNotifier = inject(ColumnResizeNotifierSource);\n protected readonly resizeStrategy = inject(ResizeStrategy);\n protected readonly styleScheduler = inject<_CoalescedStyleScheduler>(_COALESCED_STYLE_SCHEDULER);\n protected readonly viewContainerRef = inject(ViewContainerRef);\n protected readonly changeDetectorRef = inject(ChangeDetectorRef);\n protected readonly document = inject(DOCUMENT);\n}\n","/**\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 {\n Directive,\n ElementRef,\n Injector,\n NgZone,\n ViewContainerRef,\n ChangeDetectorRef,\n inject,\n DOCUMENT,\n} from '@angular/core';\n\nimport {Directionality} from '@angular/cdk/bidi';\nimport {CdkColumnDef} from '@angular/cdk/table';\nimport {\n _COALESCED_STYLE_SCHEDULER,\n _CoalescedStyleScheduler,\n ColumnResize,\n ColumnResizeNotifierSource,\n HeaderRowEventDispatcher,\n ResizeStrategy,\n} from '@angular/cdk-experimental/column-resize';\n\nimport {AbstractMatResizable, RESIZABLE_HOST_BINDINGS, RESIZABLE_INPUTS} from './common';\n\n/**\n * Explicitly enables column resizing for a mat-header-cell.\n */\n@Directive({\n selector: 'mat-header-cell[resizable], th[mat-header-cell][resizable]',\n host: RESIZABLE_HOST_BINDINGS,\n inputs: RESIZABLE_INPUTS,\n})\nexport class MatResizable extends AbstractMatResizable {\n protected readonly columnDef = inject(CdkColumnDef);\n protected readonly columnResize = inject(ColumnResize);\n protected readonly directionality = inject(Directionality);\n protected readonly elementRef = inject(ElementRef);\n protected readonly eventDispatcher = inject(HeaderRowEventDispatcher);\n protected readonly injector = inject(Injector);\n protected readonly ngZone = inject(NgZone);\n protected readonly resizeNotifier = inject(ColumnResizeNotifierSource);\n protected readonly resizeStrategy = inject(ResizeStrategy);\n protected readonly styleScheduler = inject<_CoalescedStyleScheduler>(_COALESCED_STYLE_SCHEDULER);\n protected readonly viewContainerRef = inject(ViewContainerRef);\n protected readonly changeDetectorRef = inject(ChangeDetectorRef);\n protected readonly document = inject(DOCUMENT);\n}\n","/**\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 {NgModule} from '@angular/core';\nimport {MatCommonModule} from '@angular/material/core';\nimport {OverlayModule} from '@angular/cdk/overlay';\n\nimport {MatColumnResize} from './column-resize-directives/column-resize';\nimport {MatColumnResizeFlex} from './column-resize-directives/column-resize-flex';\nimport {MatDefaultEnabledColumnResize} from './column-resize-directives/default-enabled-column-resize';\nimport {MatDefaultEnabledColumnResizeFlex} from './column-resize-directives/default-enabled-column-resize-flex';\nimport {MatDefaultResizable} from './resizable-directives/default-enabled-resizable';\nimport {MatResizable} from './resizable-directives/resizable';\nimport {MatColumnResizeOverlayHandle} from './overlay-handle';\n\nconst ENTRY_COMMON_COMPONENTS = [MatColumnResizeOverlayHandle];\n\n@NgModule({\n imports: [...ENTRY_COMMON_COMPONENTS],\n exports: ENTRY_COMMON_COMPONENTS,\n})\nexport class MatColumnResizeCommonModule {}\n\nconst IMPORTS = [MatCommonModule, OverlayModule, MatColumnResizeCommonModule];\n\n@NgModule({\n imports: [\n ...IMPORTS,\n MatDefaultEnabledColumnResize,\n MatDefaultEnabledColumnResizeFlex,\n MatDefaultResizable,\n ],\n exports: [MatDefaultEnabledColumnResize, MatDefaultEnabledColumnResizeFlex, MatDefaultResizable],\n})\nexport class MatDefaultEnabledColumnResizeModule {}\n\n@NgModule({\n imports: [...IMPORTS, MatColumnResize, MatColumnResizeFlex, MatResizable],\n exports: [MatColumnResize, MatColumnResizeFlex, MatResizable],\n})\nexport class MatColumnResizeModule {}\n"],"names":[],"mappings":";;;;;;;;;AAkBA;;AAEG;AAEG,MAAO,0BAA2B,SAAQ,0BAA0B,CAAA;AACrD,IAAA,iBAAiB,CAAC,qBAA6B,EAAA;QAChE,OAAO,CAAA,WAAA,EAAc,qBAAqB,CAAA,CAAE;;4GAFnC,0BAA0B,EAAA,IAAA,EAAA,IAAA,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CAAC;AAC9D,iBAAA;;;;;"}
|
|
1
|
+
{"version":3,"file":"column-resize.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/material-experimental/column-resize/resize-strategy.ts","../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/material-experimental/column-resize/column-resize-directives/common.ts","../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/material-experimental/column-resize/column-resize-directives/column-resize.ts","../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/material-experimental/column-resize/column-resize-directives/column-resize-flex.ts","../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/material-experimental/column-resize/column-resize-directives/default-enabled-column-resize.ts","../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/material-experimental/column-resize/column-resize-directives/default-enabled-column-resize-flex.ts","../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/material-experimental/column-resize/overlay-handle.ts","../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/material-experimental/column-resize/resizable-directives/common.ts","../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/material-experimental/column-resize/resizable-directives/default-enabled-resizable.ts","../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/material-experimental/column-resize/resizable-directives/resizable.ts","../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/material-experimental/column-resize/column-resize-module.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 {Injectable, Provider} from '@angular/core';\n\nimport {\n ResizeStrategy,\n CdkFlexTableResizeStrategy,\n TABLE_LAYOUT_FIXED_RESIZE_STRATEGY_PROVIDER,\n} from '@angular/cdk-experimental/column-resize';\n\nexport {TABLE_LAYOUT_FIXED_RESIZE_STRATEGY_PROVIDER};\n\n/**\n * Overrides CdkFlexTableResizeStrategy to match mat-column elements.\n */\n@Injectable()\nexport class MatFlexTableResizeStrategy extends CdkFlexTableResizeStrategy {\n protected override getColumnCssClass(cssFriendlyColumnName: string): string {\n return `mat-column-${cssFriendlyColumnName}`;\n }\n}\n\nexport const FLEX_RESIZE_STRATEGY_PROVIDER: Provider = {\n provide: ResizeStrategy,\n useClass: MatFlexTableResizeStrategy,\n};\n","/**\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 {Provider} from '@angular/core';\n\nimport {\n _COALESCED_STYLE_SCHEDULER,\n _CoalescedStyleScheduler,\n ColumnResize,\n ColumnResizeNotifier,\n ColumnResizeNotifierSource,\n HeaderRowEventDispatcher,\n} from '@angular/cdk-experimental/column-resize';\n\nimport {\n TABLE_LAYOUT_FIXED_RESIZE_STRATEGY_PROVIDER,\n FLEX_RESIZE_STRATEGY_PROVIDER,\n} from '../resize-strategy';\n\nconst PROVIDERS: Provider[] = [\n ColumnResizeNotifier,\n HeaderRowEventDispatcher,\n ColumnResizeNotifierSource,\n {provide: _COALESCED_STYLE_SCHEDULER, useClass: _CoalescedStyleScheduler},\n];\nexport const TABLE_PROVIDERS: Provider[] = [\n ...PROVIDERS,\n TABLE_LAYOUT_FIXED_RESIZE_STRATEGY_PROVIDER,\n];\nexport const FLEX_PROVIDERS: Provider[] = [...PROVIDERS, FLEX_RESIZE_STRATEGY_PROVIDER];\n\nexport const TABLE_HOST_BINDINGS = {\n 'class': 'mat-column-resize-table',\n};\nexport const FLEX_HOST_BINDINGS = {\n 'class': 'mat-column-resize-flex',\n};\n\nexport abstract class AbstractMatColumnResize extends ColumnResize {\n getTableHeight() {\n return this.elementRef.nativeElement!.offsetHeight;\n }\n}\n","/**\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 {Directive, ElementRef, NgZone, inject} from '@angular/core';\nimport {\n ColumnResize,\n ColumnResizeNotifier,\n ColumnResizeNotifierSource,\n HeaderRowEventDispatcher,\n} from '@angular/cdk-experimental/column-resize';\n\nimport {AbstractMatColumnResize, TABLE_HOST_BINDINGS, TABLE_PROVIDERS} from './common';\n\n/**\n * Explicitly enables column resizing for a table-based mat-table.\n * Individual columns must be annotated specifically.\n */\n@Directive({\n selector: 'table[mat-table][columnResize]',\n host: TABLE_HOST_BINDINGS,\n providers: [...TABLE_PROVIDERS, {provide: ColumnResize, useExisting: MatColumnResize}],\n})\nexport class MatColumnResize extends AbstractMatColumnResize {\n readonly columnResizeNotifier = inject(ColumnResizeNotifier);\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n protected readonly eventDispatcher = inject(HeaderRowEventDispatcher);\n protected readonly ngZone = inject(NgZone);\n protected readonly notifier = inject(ColumnResizeNotifierSource);\n}\n","/**\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 {Directive, ElementRef, NgZone, inject} from '@angular/core';\nimport {\n ColumnResize,\n ColumnResizeNotifier,\n ColumnResizeNotifierSource,\n HeaderRowEventDispatcher,\n} from '@angular/cdk-experimental/column-resize';\n\nimport {AbstractMatColumnResize, FLEX_HOST_BINDINGS, FLEX_PROVIDERS} from './common';\n\n/**\n * Explicitly enables column resizing for a flexbox-based mat-table.\n * Individual columns must be annotated specifically.\n */\n@Directive({\n selector: 'mat-table[columnResize]',\n host: FLEX_HOST_BINDINGS,\n providers: [...FLEX_PROVIDERS, {provide: ColumnResize, useExisting: MatColumnResizeFlex}],\n})\nexport class MatColumnResizeFlex extends AbstractMatColumnResize {\n readonly columnResizeNotifier = inject(ColumnResizeNotifier);\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n protected readonly eventDispatcher = inject(HeaderRowEventDispatcher);\n protected readonly ngZone = inject(NgZone);\n protected readonly notifier = inject(ColumnResizeNotifierSource);\n}\n","/**\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 {Directive, ElementRef, NgZone, inject} from '@angular/core';\nimport {\n ColumnResize,\n ColumnResizeNotifier,\n ColumnResizeNotifierSource,\n HeaderRowEventDispatcher,\n} from '@angular/cdk-experimental/column-resize';\n\nimport {AbstractMatColumnResize, TABLE_HOST_BINDINGS, TABLE_PROVIDERS} from './common';\n\n/**\n * Implicitly enables column resizing for a table-based mat-table.\n * Individual columns will be resizable unless opted out.\n */\n@Directive({\n selector: 'table[mat-table]',\n host: TABLE_HOST_BINDINGS,\n providers: [\n ...TABLE_PROVIDERS,\n {provide: ColumnResize, useExisting: MatDefaultEnabledColumnResize},\n ],\n})\nexport class MatDefaultEnabledColumnResize extends AbstractMatColumnResize {\n readonly columnResizeNotifier = inject(ColumnResizeNotifier);\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n protected readonly eventDispatcher = inject(HeaderRowEventDispatcher);\n protected readonly ngZone = inject(NgZone);\n protected readonly notifier = inject(ColumnResizeNotifierSource);\n}\n","/**\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 {Directive, ElementRef, NgZone, inject} from '@angular/core';\nimport {\n ColumnResize,\n ColumnResizeNotifier,\n ColumnResizeNotifierSource,\n HeaderRowEventDispatcher,\n} from '@angular/cdk-experimental/column-resize';\n\nimport {AbstractMatColumnResize, FLEX_HOST_BINDINGS, FLEX_PROVIDERS} from './common';\n\n/**\n * Implicitly enables column resizing for a flexbox-based mat-table.\n * Individual columns will be resizable unless opted out.\n */\n@Directive({\n selector: 'mat-table',\n host: FLEX_HOST_BINDINGS,\n providers: [\n ...FLEX_PROVIDERS,\n {provide: ColumnResize, useExisting: MatDefaultEnabledColumnResizeFlex},\n ],\n})\nexport class MatDefaultEnabledColumnResizeFlex extends AbstractMatColumnResize {\n readonly columnResizeNotifier = inject(ColumnResizeNotifier);\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n protected readonly eventDispatcher = inject(HeaderRowEventDispatcher);\n protected readonly ngZone = inject(NgZone);\n protected readonly notifier = inject(ColumnResizeNotifierSource);\n}\n","/**\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 {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n NgZone,\n ViewChild,\n ViewEncapsulation,\n inject,\n DOCUMENT,\n} from '@angular/core';\n\nimport {CdkColumnDef} from '@angular/cdk/table';\nimport {Directionality} from '@angular/cdk/bidi';\nimport {\n _COALESCED_STYLE_SCHEDULER,\n _CoalescedStyleScheduler,\n ColumnResize,\n ColumnResizeNotifierSource,\n HeaderRowEventDispatcher,\n ResizeOverlayHandle,\n ResizeRef,\n} from '@angular/cdk-experimental/column-resize';\n\nimport {AbstractMatColumnResize} from './column-resize-directives/common';\n\n/**\n * Component shown over the edge of a resizable column that is responsible\n * for handling column resize mouse events and displaying a vertical line along the column edge.\n */\n@Component({\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {'class': 'mat-column-resize-overlay-thumb'},\n template: '<div #top class=\"mat-column-resize-overlay-thumb-top\"></div>',\n})\nexport class MatColumnResizeOverlayHandle extends ResizeOverlayHandle {\n protected readonly columnDef = inject(CdkColumnDef);\n protected readonly columnResize = inject(ColumnResize);\n protected readonly directionality = inject(Directionality);\n protected readonly elementRef = inject(ElementRef);\n protected readonly eventDispatcher = inject(HeaderRowEventDispatcher);\n protected readonly ngZone = inject(NgZone);\n protected readonly resizeNotifier = inject(ColumnResizeNotifierSource);\n protected readonly resizeRef = inject(ResizeRef);\n protected readonly styleScheduler = inject<_CoalescedStyleScheduler>(_COALESCED_STYLE_SCHEDULER);\n protected readonly document = inject(DOCUMENT);\n\n @ViewChild('top', {static: true}) topElement: ElementRef<HTMLElement>;\n\n protected override updateResizeActive(active: boolean): void {\n super.updateResizeActive(active);\n\n const originHeight = this.resizeRef.origin.nativeElement.offsetHeight;\n this.topElement.nativeElement.style.height = `${originHeight}px`;\n this.resizeRef.overlayRef.updateSize({\n height: active\n ? (this.columnResize as AbstractMatColumnResize).getTableHeight()\n : originHeight,\n });\n }\n}\n","/**\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 {Type} from '@angular/core';\nimport {Resizable} from '@angular/cdk-experimental/column-resize';\nimport {MatColumnResizeOverlayHandle} from '../overlay-handle';\n\nexport abstract class AbstractMatResizable extends Resizable<MatColumnResizeOverlayHandle> {\n override minWidthPxInternal = 32;\n\n protected override getInlineHandleCssClassName(): string {\n return 'mat-resizable-handle';\n }\n\n protected override getOverlayHandleComponentType(): Type<MatColumnResizeOverlayHandle> {\n return MatColumnResizeOverlayHandle;\n }\n}\n\nexport const RESIZABLE_HOST_BINDINGS = {\n 'class': 'mat-resizable',\n};\n\nexport const RESIZABLE_INPUTS = [\n {name: 'minWidthPx', alias: 'matResizableMinWidthPx'},\n {name: 'maxWidthPx', alias: 'matResizableMaxWidthPx'},\n];\n","/**\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 {\n Directive,\n ElementRef,\n Injector,\n NgZone,\n ViewContainerRef,\n ChangeDetectorRef,\n inject,\n DOCUMENT,\n} from '@angular/core';\n\nimport {Directionality} from '@angular/cdk/bidi';\nimport {CdkColumnDef} from '@angular/cdk/table';\nimport {\n _COALESCED_STYLE_SCHEDULER,\n _CoalescedStyleScheduler,\n ColumnResize,\n ColumnResizeNotifierSource,\n HeaderRowEventDispatcher,\n ResizeStrategy,\n} from '@angular/cdk-experimental/column-resize';\n\nimport {AbstractMatResizable, RESIZABLE_HOST_BINDINGS, RESIZABLE_INPUTS} from './common';\n\n/**\n * Implicitly enables column resizing for a mat-header-cell unless the disableResize attribute\n * is present.\n */\n@Directive({\n selector: 'mat-header-cell:not([disableResize]), th[mat-header-cell]:not([disableResize])',\n host: RESIZABLE_HOST_BINDINGS,\n inputs: RESIZABLE_INPUTS,\n})\nexport class MatDefaultResizable extends AbstractMatResizable {\n protected readonly columnDef = inject(CdkColumnDef);\n protected readonly columnResize = inject(ColumnResize);\n protected readonly directionality = inject(Directionality);\n protected readonly elementRef = inject(ElementRef);\n protected readonly eventDispatcher = inject(HeaderRowEventDispatcher);\n protected readonly injector = inject(Injector);\n protected readonly ngZone = inject(NgZone);\n protected readonly resizeNotifier = inject(ColumnResizeNotifierSource);\n protected readonly resizeStrategy = inject(ResizeStrategy);\n protected readonly styleScheduler = inject<_CoalescedStyleScheduler>(_COALESCED_STYLE_SCHEDULER);\n protected readonly viewContainerRef = inject(ViewContainerRef);\n protected readonly changeDetectorRef = inject(ChangeDetectorRef);\n protected readonly document = inject(DOCUMENT);\n}\n","/**\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 {\n Directive,\n ElementRef,\n Injector,\n NgZone,\n ViewContainerRef,\n ChangeDetectorRef,\n inject,\n DOCUMENT,\n} from '@angular/core';\n\nimport {Directionality} from '@angular/cdk/bidi';\nimport {CdkColumnDef} from '@angular/cdk/table';\nimport {\n _COALESCED_STYLE_SCHEDULER,\n _CoalescedStyleScheduler,\n ColumnResize,\n ColumnResizeNotifierSource,\n HeaderRowEventDispatcher,\n ResizeStrategy,\n} from '@angular/cdk-experimental/column-resize';\n\nimport {AbstractMatResizable, RESIZABLE_HOST_BINDINGS, RESIZABLE_INPUTS} from './common';\n\n/**\n * Explicitly enables column resizing for a mat-header-cell.\n */\n@Directive({\n selector: 'mat-header-cell[resizable], th[mat-header-cell][resizable]',\n host: RESIZABLE_HOST_BINDINGS,\n inputs: RESIZABLE_INPUTS,\n})\nexport class MatResizable extends AbstractMatResizable {\n protected readonly columnDef = inject(CdkColumnDef);\n protected readonly columnResize = inject(ColumnResize);\n protected readonly directionality = inject(Directionality);\n protected readonly elementRef = inject(ElementRef);\n protected readonly eventDispatcher = inject(HeaderRowEventDispatcher);\n protected readonly injector = inject(Injector);\n protected readonly ngZone = inject(NgZone);\n protected readonly resizeNotifier = inject(ColumnResizeNotifierSource);\n protected readonly resizeStrategy = inject(ResizeStrategy);\n protected readonly styleScheduler = inject<_CoalescedStyleScheduler>(_COALESCED_STYLE_SCHEDULER);\n protected readonly viewContainerRef = inject(ViewContainerRef);\n protected readonly changeDetectorRef = inject(ChangeDetectorRef);\n protected readonly document = inject(DOCUMENT);\n}\n","/**\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 {NgModule} from '@angular/core';\nimport {OverlayModule} from '@angular/cdk/overlay';\n\nimport {MatColumnResize} from './column-resize-directives/column-resize';\nimport {MatColumnResizeFlex} from './column-resize-directives/column-resize-flex';\nimport {MatDefaultEnabledColumnResize} from './column-resize-directives/default-enabled-column-resize';\nimport {MatDefaultEnabledColumnResizeFlex} from './column-resize-directives/default-enabled-column-resize-flex';\nimport {MatDefaultResizable} from './resizable-directives/default-enabled-resizable';\nimport {MatResizable} from './resizable-directives/resizable';\nimport {MatColumnResizeOverlayHandle} from './overlay-handle';\n\nconst ENTRY_COMMON_COMPONENTS = [MatColumnResizeOverlayHandle];\n\n@NgModule({\n imports: [...ENTRY_COMMON_COMPONENTS],\n exports: ENTRY_COMMON_COMPONENTS,\n})\nexport class MatColumnResizeCommonModule {}\n\nconst IMPORTS = [OverlayModule, MatColumnResizeCommonModule];\n\n@NgModule({\n imports: [\n ...IMPORTS,\n MatDefaultEnabledColumnResize,\n MatDefaultEnabledColumnResizeFlex,\n MatDefaultResizable,\n ],\n exports: [MatDefaultEnabledColumnResize, MatDefaultEnabledColumnResizeFlex, MatDefaultResizable],\n})\nexport class MatDefaultEnabledColumnResizeModule {}\n\n@NgModule({\n imports: [...IMPORTS, MatColumnResize, MatColumnResizeFlex, MatResizable],\n exports: [MatColumnResize, MatColumnResizeFlex, MatResizable],\n})\nexport class MatColumnResizeModule {}\n"],"names":[],"mappings":";;;;;;;;AAkBA;;AAEG;AAEG,MAAO,0BAA2B,SAAQ,0BAA0B,CAAA;AACrD,IAAA,iBAAiB,CAAC,qBAA6B,EAAA;QAChE,OAAO,CAAA,WAAA,EAAc,qBAAqB,CAAA,CAAE;;8GAFnC,0BAA0B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;kHAA1B,0BAA0B,EAAA,CAAA;;kGAA1B,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBADtC;;AAOY,MAAA,6BAA6B,GAAa;AACrD,IAAA,OAAO,EAAE,cAAc;AACvB,IAAA,QAAQ,EAAE,0BAA0B;;;ACNtC,MAAM,SAAS,GAAe;IAC5B,oBAAoB;IACpB,wBAAwB;IACxB,0BAA0B;AAC1B,IAAA,EAAC,OAAO,EAAE,0BAA0B,EAAE,QAAQ,EAAE,wBAAwB,EAAC;CAC1E;AACM,MAAM,eAAe,GAAe;AACzC,IAAA,GAAG,SAAS;IACZ,2CAA2C;CAC5C;AACM,MAAM,cAAc,GAAe,CAAC,GAAG,SAAS,EAAE,6BAA6B,CAAC;AAEhF,MAAM,mBAAmB,GAAG;AACjC,IAAA,OAAO,EAAE,yBAAyB;CACnC;AACM,MAAM,kBAAkB,GAAG;AAChC,IAAA,OAAO,EAAE,wBAAwB;CAClC;AAEK,MAAgB,uBAAwB,SAAQ,YAAY,CAAA;IAChE,cAAc,GAAA;AACZ,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAc,CAAC,YAAY;;AAErD;;AC7BD;;;AAG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,EAAE,YAAY,CAAA,EAAA,CAAA;AAEjD,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,eAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,qBAAqB,YAHnB,OAAO,CAAA,EAAA,CAAA;;kGAGT,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAJjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,GAAG,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,YAAY,CAAC;AACzE,oBAAA,OAAO,EAAE,CAAC,eAAe,EAAE,mBAAmB,EAAE,YAAY,CAAC;AAC9D,iBAAA;;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Version } from '@angular/core';
|
|
2
2
|
|
|
3
3
|
/** Current version of the Material experimental package. */
|
|
4
|
-
const VERSION = new Version('21.0.0-next.
|
|
4
|
+
const VERSION = new Version('21.0.0-next.10');
|
|
5
5
|
|
|
6
6
|
export { VERSION };
|
|
7
7
|
//# sourceMappingURL=material-experimental.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"material-experimental.mjs","sources":["../../../../../
|
|
1
|
+
{"version":3,"file":"material-experimental.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/material-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 Material experimental package. */\nexport const VERSION = new Version('21.0.0-next.10');\n"],"names":[],"mappings":";;AAUA;MACa,OAAO,GAAG,IAAI,OAAO,CAAC,mBAAmB;;;;"}
|
package/fesm2022/menubar.mjs
CHANGED
|
@@ -7,15 +7,15 @@ import { CdkMenuBar, CdkMenuGroup, CDK_MENU, MENU_STACK, MenuStack, CdkMenuItem,
|
|
|
7
7
|
* should contain MatMenubarItems which trigger their own sub-menus.
|
|
8
8
|
*/
|
|
9
9
|
class MatMenuBar extends CdkMenuBar {
|
|
10
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
11
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.0-
|
|
10
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatMenuBar, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.0-next.2", type: MatMenuBar, isStandalone: true, selector: "mat-menubar", host: { properties: { "class.mat-menubar": "true" } }, providers: [
|
|
12
12
|
{ provide: CdkMenuGroup, useExisting: MatMenuBar },
|
|
13
13
|
{ provide: CdkMenuBar, useExisting: MatMenuBar },
|
|
14
14
|
{ provide: CDK_MENU, useExisting: MatMenuBar },
|
|
15
15
|
{ provide: MENU_STACK, useClass: MenuStack },
|
|
16
16
|
], exportAs: ["matMenubar"], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n", styles: ["\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
17
17
|
}
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatMenuBar, decorators: [{
|
|
19
19
|
type: Component,
|
|
20
20
|
args: [{ selector: 'mat-menubar', exportAs: 'matMenubar', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
21
21
|
'[class.mat-menubar]': 'true',
|
|
@@ -47,10 +47,10 @@ class MatMenuBarItem extends CdkMenuItem {
|
|
|
47
47
|
removeIcons(clone);
|
|
48
48
|
return clone.textContent?.trim() || '';
|
|
49
49
|
}
|
|
50
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
51
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.0-
|
|
50
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatMenuBarItem, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
51
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.0-next.2", type: MatMenuBarItem, isStandalone: true, selector: "mat-menubar-item", host: { attributes: { "type": "button", "role": "menuitem" }, properties: { "tabindex": "_tabindex", "attr.aria-disabled": "disabled || null" }, classAttribute: "cdk-menu-item mat-menubar-item" }, providers: [{ provide: CdkMenuItem, useExisting: MatMenuBarItem }], exportAs: ["matMenubarItem"], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n", styles: ["\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
52
52
|
}
|
|
53
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatMenuBarItem, decorators: [{
|
|
54
54
|
type: Component,
|
|
55
55
|
args: [{ selector: 'mat-menubar-item', exportAs: 'matMenubarItem', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
56
56
|
'[tabindex]': '_tabindex',
|
|
@@ -62,11 +62,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-rc.1", ng
|
|
|
62
62
|
}] });
|
|
63
63
|
|
|
64
64
|
class MatMenuBarModule {
|
|
65
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
66
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.0-
|
|
67
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.0-
|
|
65
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatMenuBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
66
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatMenuBarModule, imports: [CdkMenuModule, MatMenuBar, MatMenuBarItem], exports: [MatMenuBar, MatMenuBarItem] });
|
|
67
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatMenuBarModule, imports: [CdkMenuModule] });
|
|
68
68
|
}
|
|
69
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
69
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatMenuBarModule, decorators: [{
|
|
70
70
|
type: NgModule,
|
|
71
71
|
args: [{
|
|
72
72
|
imports: [CdkMenuModule, MatMenuBar, MatMenuBarItem],
|
package/fesm2022/menubar.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menubar.mjs","sources":["../../../../../
|
|
1
|
+
{"version":3,"file":"menubar.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/material-experimental/menubar/menubar.ts","../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/material-experimental/menubar/menubar.html","../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/material-experimental/menubar/menubar-item.ts","../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/material-experimental/menubar/menubar-item.html","../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/material-experimental/menubar/menubar-module.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 {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';\nimport {CDK_MENU, CdkMenuBar, CdkMenuGroup, MENU_STACK, MenuStack} from '@angular/cdk/menu';\n\n/**\n * A material design Menubar adhering to the functionality of CdkMenuBar. MatMenubar\n * should contain MatMenubarItems which trigger their own sub-menus.\n */\n@Component({\n selector: 'mat-menubar',\n exportAs: 'matMenubar',\n templateUrl: 'menubar.html',\n styleUrl: 'menubar.css',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[class.mat-menubar]': 'true',\n },\n providers: [\n {provide: CdkMenuGroup, useExisting: MatMenuBar},\n {provide: CdkMenuBar, useExisting: MatMenuBar},\n {provide: CDK_MENU, useExisting: MatMenuBar},\n {provide: MENU_STACK, useClass: MenuStack},\n ],\n})\nexport class MatMenuBar extends CdkMenuBar {}\n","<ng-content></ng-content>\n","/**\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 {Component, ViewEncapsulation, ChangeDetectionStrategy} from '@angular/core';\nimport {CdkMenuItem} from '@angular/cdk/menu';\n\n/** Removes all icons from within the given element. */\nfunction removeIcons(element: Element) {\n for (const icon of Array.from(element.querySelectorAll('mat-icon, .material-icons'))) {\n icon.remove();\n }\n}\n\n/**\n * A material design MenubarItem adhering to the functionality of CdkMenuItem and\n * CdkMenuItemTrigger. Its main purpose is to trigger menus and it lives inside of\n * MatMenubar.\n */\n@Component({\n selector: 'mat-menubar-item',\n exportAs: 'matMenubarItem',\n templateUrl: 'menubar-item.html',\n styleUrl: 'menubar-item.css',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[tabindex]': '_tabindex',\n 'type': 'button',\n 'role': 'menuitem',\n 'class': 'cdk-menu-item mat-menubar-item',\n '[attr.aria-disabled]': 'disabled || null',\n },\n providers: [{provide: CdkMenuItem, useExisting: MatMenuBarItem}],\n})\nexport class MatMenuBarItem extends CdkMenuItem {\n override getLabel(): string {\n if (this.typeaheadLabel !== undefined) {\n return this.typeaheadLabel || '';\n }\n const clone = this._elementRef.nativeElement.cloneNode(true) as Element;\n removeIcons(clone);\n return clone.textContent?.trim() || '';\n }\n}\n","<ng-content></ng-content>\n","/**\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 {NgModule} from '@angular/core';\nimport {CdkMenuModule} from '@angular/cdk/menu';\nimport {MatMenuBar} from './menubar';\nimport {MatMenuBarItem} from './menubar-item';\n\n@NgModule({\n imports: [CdkMenuModule, MatMenuBar, MatMenuBarItem],\n exports: [MatMenuBar, MatMenuBarItem],\n})\nexport class MatMenuBarModule {}\n"],"names":[],"mappings":";;;;AAWA;;;AAGG;AAkBG,MAAO,UAAW,SAAQ,UAAU,CAAA;8GAA7B,UAAU,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAV,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,eAAA,EAAA,IAAA,EAAA,UAAU,EAPV,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,aAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,mBAAA,EAAA,MAAA,EAAA,EAAA,EAAA,SAAA,EAAA;AACT,YAAA,EAAC,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,UAAU,EAAC;AAChD,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IAAA,EAAA;AACJ,wBAAA,YAAY,EAAE,WAAW;AACzB,wBAAA,MAAM,EAAE,QAAQ;AAChB,wBAAA,MAAM,EAAE,UAAU;AAClB,wBAAA,OAAO,EAAE,gCAAgC;AACzC,wBAAA,sBAAsB,EAAE,kBAAkB;qBAC3C,EACU,SAAA,EAAA,CAAC,EAAC,OAAO,EAAE,WAAW,EAAE,WAAW,EAAgB,cAAA,EAAC,CAAC,EAAA,QAAA,EAAA,6BAAA,EAAA;;;MEpBrD,gBAAgB,CAAA;8GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;+GAAhB,gBAAgB,EAAA,OAAA,EAAA,CAHjB,aAAa,EAAE,UAAU,EAAE,cAAc,CAAA,EAAA,OAAA,EAAA,CACzC,UAAU,EAAE,cAAc,CAAA,EAAA,CAAA;AAEzB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,eAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YAHjB,aAAa,CAAA,EAAA,CAAA;;kGAGZ,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAJ5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,aAAa,EAAE,UAAU,EAAE,cAAc,CAAC;AACpD,oBAAA,OAAO,EAAE,CAAC,UAAU,EAAE,cAAc,CAAC;AACtC,iBAAA;;;;;"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Directive, NgModule } from '@angular/core';
|
|
3
3
|
import { CdkEditControl, EditRef, CdkEditRevert, CdkEditClose, CdkPopoverEdit, CdkPopoverEditTabOut, CdkRowHoverContent, _closest, _CELL_SELECTOR, CdkEditOpen, CdkPopoverEditModule, CdkEditable } from '@angular/cdk-experimental/popover-edit';
|
|
4
|
-
import { MatCommonModule } from '@angular/material/core';
|
|
5
4
|
|
|
6
5
|
/**
|
|
7
6
|
* A component that attaches to a form within the edit.
|
|
@@ -10,10 +9,10 @@ import { MatCommonModule } from '@angular/material/core';
|
|
|
10
9
|
* out.
|
|
11
10
|
*/
|
|
12
11
|
class MatEditLens extends CdkEditControl {
|
|
13
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
14
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-
|
|
12
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatEditLens, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
13
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-next.2", type: MatEditLens, isStandalone: true, selector: "form[matEditLens]", inputs: { clickOutBehavior: ["matEditLensClickOutBehavior", "clickOutBehavior"], preservedFormValue: ["matEditLensPreservedFormValue", "preservedFormValue"], ignoreSubmitUnlessValid: ["matEditLensIgnoreSubmitUnlessValid", "ignoreSubmitUnlessValid"] }, outputs: { preservedFormValueChange: "matEditLensPreservedFormValueChange" }, host: { classAttribute: "mat-edit-lens" }, providers: [EditRef], usesInheritance: true, ngImport: i0 });
|
|
15
14
|
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatEditLens, decorators: [{
|
|
17
16
|
type: Directive,
|
|
18
17
|
args: [{
|
|
19
18
|
selector: 'form[matEditLens]',
|
|
@@ -31,10 +30,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-rc.1", ng
|
|
|
31
30
|
}] });
|
|
32
31
|
/** Reverts the form to its initial or previously submitted state on click. */
|
|
33
32
|
class MatEditRevert extends CdkEditRevert {
|
|
34
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
35
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-
|
|
33
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatEditRevert, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
34
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-next.2", type: MatEditRevert, isStandalone: true, selector: "button[matEditRevert]", host: { attributes: { "type": "button" } }, usesInheritance: true, ngImport: i0 });
|
|
36
35
|
}
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatEditRevert, decorators: [{
|
|
38
37
|
type: Directive,
|
|
39
38
|
args: [{
|
|
40
39
|
selector: 'button[matEditRevert]',
|
|
@@ -45,10 +44,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-rc.1", ng
|
|
|
45
44
|
}] });
|
|
46
45
|
/** Closes the lens on click. */
|
|
47
46
|
class MatEditClose extends CdkEditClose {
|
|
48
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
49
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-
|
|
47
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatEditClose, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
48
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-next.2", type: MatEditClose, isStandalone: true, selector: "[matEditClose]", usesInheritance: true, ngImport: i0 });
|
|
50
49
|
}
|
|
51
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatEditClose, decorators: [{
|
|
52
51
|
type: Directive,
|
|
53
52
|
args: [{
|
|
54
53
|
selector: '[matEditClose]',
|
|
@@ -81,10 +80,10 @@ class MatPopoverEdit extends CdkPopoverEdit {
|
|
|
81
80
|
panelClass() {
|
|
82
81
|
return EDIT_PANE_CLASS;
|
|
83
82
|
}
|
|
84
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
85
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-
|
|
83
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatPopoverEdit, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
84
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-next.2", type: MatPopoverEdit, isStandalone: true, selector: "[matPopoverEdit]:not([matPopoverEditTabOut])", inputs: { template: ["matPopoverEdit", "template"], context: ["matPopoverEditContext", "context"], colspan: ["matPopoverEditColspan", "colspan"], disabled: ["matPopoverEditDisabled", "disabled"], ariaLabel: ["matPopoverEditAriaLabel", "ariaLabel"] }, host: { properties: { "attr.tabindex": "disabled ? null : 0", "attr.aria-haspopup": "!disabled" }, classAttribute: "mat-popover-edit-cell" }, usesInheritance: true, ngImport: i0 });
|
|
86
85
|
}
|
|
87
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
86
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatPopoverEdit, decorators: [{
|
|
88
87
|
type: Directive,
|
|
89
88
|
args: [{
|
|
90
89
|
selector: '[matPopoverEdit]:not([matPopoverEditTabOut])',
|
|
@@ -101,10 +100,10 @@ class MatPopoverEditTabOut extends CdkPopoverEditTabOut {
|
|
|
101
100
|
panelClass() {
|
|
102
101
|
return EDIT_PANE_CLASS;
|
|
103
102
|
}
|
|
104
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
105
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-
|
|
103
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatPopoverEditTabOut, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
104
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-next.2", type: MatPopoverEditTabOut, isStandalone: true, selector: "[matPopoverEdit][matPopoverEditTabOut]", inputs: { template: ["matPopoverEdit", "template"], context: ["matPopoverEditContext", "context"], colspan: ["matPopoverEditColspan", "colspan"], disabled: ["matPopoverEditDisabled", "disabled"], ariaLabel: ["matPopoverEditAriaLabel", "ariaLabel"] }, host: { properties: { "attr.tabindex": "disabled ? null : 0", "attr.aria-haspopup": "!disabled" }, classAttribute: "mat-popover-edit-cell" }, usesInheritance: true, ngImport: i0 });
|
|
106
105
|
}
|
|
107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
106
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatPopoverEditTabOut, decorators: [{
|
|
108
107
|
type: Directive,
|
|
109
108
|
args: [{
|
|
110
109
|
selector: '[matPopoverEdit][matPopoverEditTabOut]',
|
|
@@ -139,10 +138,10 @@ class MatRowHoverContent extends CdkRowHoverContent {
|
|
|
139
138
|
});
|
|
140
139
|
});
|
|
141
140
|
}
|
|
142
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
143
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-
|
|
141
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatRowHoverContent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
142
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-next.2", type: MatRowHoverContent, isStandalone: true, selector: "[matRowHoverContent]", usesInheritance: true, ngImport: i0 });
|
|
144
143
|
}
|
|
145
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
144
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatRowHoverContent, decorators: [{
|
|
146
145
|
type: Directive,
|
|
147
146
|
args: [{
|
|
148
147
|
selector: '[matRowHoverContent]',
|
|
@@ -153,10 +152,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-rc.1", ng
|
|
|
153
152
|
* element or an ancestor element.
|
|
154
153
|
*/
|
|
155
154
|
class MatEditOpen extends CdkEditOpen {
|
|
156
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
157
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-
|
|
155
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatEditOpen, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
156
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-next.2", type: MatEditOpen, isStandalone: true, selector: "[matEditOpen]", usesInheritance: true, ngImport: i0 });
|
|
158
157
|
}
|
|
159
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
158
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatEditOpen, decorators: [{
|
|
160
159
|
type: Directive,
|
|
161
160
|
args: [{
|
|
162
161
|
selector: '[matEditOpen]',
|
|
@@ -164,9 +163,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-rc.1", ng
|
|
|
164
163
|
}] });
|
|
165
164
|
|
|
166
165
|
class MatPopoverEditModule {
|
|
167
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
168
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.0-
|
|
169
|
-
MatCommonModule,
|
|
166
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatPopoverEditModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
167
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatPopoverEditModule, imports: [CdkPopoverEditModule,
|
|
170
168
|
MatPopoverEdit,
|
|
171
169
|
MatPopoverEditTabOut,
|
|
172
170
|
MatRowHoverContent,
|
|
@@ -181,15 +179,13 @@ class MatPopoverEditModule {
|
|
|
181
179
|
MatEditClose,
|
|
182
180
|
MatEditOpen,
|
|
183
181
|
CdkEditable] });
|
|
184
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.0-
|
|
185
|
-
MatCommonModule] });
|
|
182
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatPopoverEditModule, imports: [CdkPopoverEditModule] });
|
|
186
183
|
}
|
|
187
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
184
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatPopoverEditModule, decorators: [{
|
|
188
185
|
type: NgModule,
|
|
189
186
|
args: [{
|
|
190
187
|
imports: [
|
|
191
188
|
CdkPopoverEditModule,
|
|
192
|
-
MatCommonModule,
|
|
193
189
|
MatPopoverEdit,
|
|
194
190
|
MatPopoverEditTabOut,
|
|
195
191
|
MatRowHoverContent,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popover-edit.mjs","sources":["../../../../../k8-fastbuild-ST-c646aa77115d/bin/src/material-experimental/popover-edit/lens-directives.ts","../../../../../k8-fastbuild-ST-c646aa77115d/bin/src/material-experimental/popover-edit/table-directives.ts","../../../../../k8-fastbuild-ST-c646aa77115d/bin/src/material-experimental/popover-edit/popover-edit-module.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 {Directive} from '@angular/core';\n\nimport {\n CdkEditControl,\n CdkEditRevert,\n CdkEditClose,\n EditRef,\n} from '@angular/cdk-experimental/popover-edit';\n\n/**\n * A component that attaches to a form within the edit.\n * It coordinates the form state with the table-wide edit system and handles\n * closing the edit when the form is submitted or the user clicks\n * out.\n */\n@Directive({\n selector: 'form[matEditLens]',\n host: {\n 'class': 'mat-edit-lens',\n },\n inputs: [\n {name: 'clickOutBehavior', alias: 'matEditLensClickOutBehavior'},\n {name: 'preservedFormValue', alias: 'matEditLensPreservedFormValue'},\n {name: 'ignoreSubmitUnlessValid', alias: 'matEditLensIgnoreSubmitUnlessValid'},\n ],\n outputs: ['preservedFormValueChange: matEditLensPreservedFormValueChange'],\n providers: [EditRef],\n})\nexport class MatEditLens<FormValue> extends CdkEditControl<FormValue> {}\n\n/** Reverts the form to its initial or previously submitted state on click. */\n@Directive({\n selector: 'button[matEditRevert]',\n host: {\n 'type': 'button', // Prevents accidental form submits.\n },\n})\nexport class MatEditRevert<FormValue> extends CdkEditRevert<FormValue> {}\n\n/** Closes the lens on click. */\n@Directive({\n selector: '[matEditClose]',\n})\nexport class MatEditClose<FormValue> extends CdkEditClose<FormValue> {}\n","/**\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 */\nimport {Directive} from '@angular/core';\nimport {\n _CELL_SELECTOR,\n _closest,\n CdkPopoverEdit,\n CdkPopoverEditTabOut,\n CdkRowHoverContent,\n CdkEditOpen,\n} from '@angular/cdk-experimental/popover-edit';\n\nconst POPOVER_EDIT_HOST_BINDINGS = {\n '[attr.tabindex]': 'disabled ? null : 0',\n 'class': 'mat-popover-edit-cell',\n '[attr.aria-haspopup]': '!disabled',\n};\n\nconst POPOVER_EDIT_INPUTS = [\n {name: 'template', alias: 'matPopoverEdit'},\n {name: 'context', alias: 'matPopoverEditContext'},\n {name: 'colspan', alias: 'matPopoverEditColspan'},\n {name: 'disabled', alias: 'matPopoverEditDisabled'},\n {name: 'ariaLabel', alias: 'matPopoverEditAriaLabel'},\n];\n\nconst EDIT_PANE_CLASS = 'mat-edit-pane';\n\nconst MAT_ROW_HOVER_CLASS = 'mat-row-hover-content';\nconst MAT_ROW_HOVER_RTL_CLASS = MAT_ROW_HOVER_CLASS + '-rtl';\nconst MAT_ROW_HOVER_ANIMATE_CLASS = MAT_ROW_HOVER_CLASS + '-visible';\nconst MAT_ROW_HOVER_CELL_CLASS = MAT_ROW_HOVER_CLASS + '-host-cell';\n\n/**\n * Attaches an ng-template to a cell and shows it when instructed to by the\n * EditEventDispatcher service.\n * Makes the cell focusable.\n */\n@Directive({\n selector: '[matPopoverEdit]:not([matPopoverEditTabOut])',\n host: POPOVER_EDIT_HOST_BINDINGS,\n inputs: POPOVER_EDIT_INPUTS,\n})\nexport class MatPopoverEdit<C> extends CdkPopoverEdit<C> {\n protected override panelClass(): string {\n return EDIT_PANE_CLASS;\n }\n}\n\n/**\n * Attaches an ng-template to a cell and shows it when instructed to by the\n * EditEventDispatcher service.\n * Makes the cell focusable.\n */\n@Directive({\n selector: '[matPopoverEdit][matPopoverEditTabOut]',\n host: POPOVER_EDIT_HOST_BINDINGS,\n inputs: POPOVER_EDIT_INPUTS,\n})\nexport class MatPopoverEditTabOut<C> extends CdkPopoverEditTabOut<C> {\n protected override panelClass(): string {\n return EDIT_PANE_CLASS;\n }\n}\n\n/**\n * A structural directive that shows its contents when the table row containing\n * it is hovered or when an element in the row has focus.\n */\n@Directive({\n selector: '[matRowHoverContent]',\n})\nexport class MatRowHoverContent extends CdkRowHoverContent {\n protected override initElement(element: HTMLElement) {\n super.initElement(element);\n element.classList.add(MAT_ROW_HOVER_CLASS);\n }\n\n protected override makeElementHiddenButFocusable(element: HTMLElement): void {\n element.classList.remove(MAT_ROW_HOVER_ANIMATE_CLASS);\n }\n\n protected override makeElementVisible(element: HTMLElement): void {\n _closest(this.elementRef.nativeElement!, _CELL_SELECTOR)!.classList.add(\n MAT_ROW_HOVER_CELL_CLASS,\n );\n\n if (this.services.directionality.value === 'rtl') {\n element.classList.add(MAT_ROW_HOVER_RTL_CLASS);\n } else {\n element.classList.remove(MAT_ROW_HOVER_RTL_CLASS);\n }\n\n element.classList.remove(MAT_ROW_HOVER_ANIMATE_CLASS);\n this.services.ngZone.runOutsideAngular(() => {\n setTimeout(() => {\n element.classList.add(MAT_ROW_HOVER_ANIMATE_CLASS);\n });\n });\n }\n}\n\n/**\n * Opens the closest edit popover to this element, whether it's associated with this exact\n * element or an ancestor element.\n */\n@Directive({\n selector: '[matEditOpen]',\n})\nexport class MatEditOpen extends CdkEditOpen {}\n","/**\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 {NgModule} from '@angular/core';\nimport {MatCommonModule} from '@angular/material/core';\nimport {CdkEditable, CdkPopoverEditModule} from '@angular/cdk-experimental/popover-edit';\nimport {\n MatPopoverEdit,\n MatPopoverEditTabOut,\n MatRowHoverContent,\n MatEditOpen,\n} from './table-directives';\nimport {MatEditLens, MatEditRevert, MatEditClose} from './lens-directives';\n\n@NgModule({\n imports: [\n CdkPopoverEditModule,\n MatCommonModule,\n MatPopoverEdit,\n MatPopoverEditTabOut,\n MatRowHoverContent,\n MatEditLens,\n MatEditRevert,\n MatEditClose,\n MatEditOpen,\n ],\n exports: [\n MatPopoverEdit,\n MatPopoverEditTabOut,\n MatRowHoverContent,\n MatEditLens,\n MatEditRevert,\n MatEditClose,\n MatEditOpen,\n CdkEditable,\n ],\n})\nexport class MatPopoverEditModule {}\n"],"names":[],"mappings":";;;;;AAiBA;;;;;AAKG;AAcG,MAAO,WAAuB,SAAQ,cAAyB,CAAA;4GAAxD,WAAW,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;gGAAX,WAAW,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,MAAA,EAAA,EAAA,gBAAA,EAAA,CAAA,6BAAA,EAAA,kBAAA,CAAA,EAAA,kBAAA,EAAA,CAAA,+BAAA,EAAA,oBAAA,CAAA,EAAA,uBAAA,EAAA,CAAA,oCAAA,EAAA,yBAAA,CAAA,EAAA,EAAA,OAAA,EAAA,EAAA,wBAAA,EAAA,qCAAA,EAAA,EAAA,IAAA,EAAA,EAAA,cAAA,EAAA,eAAA,EAAA,EAAA,SAAA,EAFX,CAAC,OAAO,CAAC,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;gGAET,WAAW,EAAA,UAAA,EAAA,CAAA;kBAbvB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,mBAAmB;AAC7B,oBAAA,IAAI,EAAE;AACJ,wBAAA,OAAO,E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,aAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,YArB7B,oBAAoB;YACpB,eAAe,CAAA,EAAA,CAAA;;gGAoBN,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAvBhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,oBAAoB;wBACpB,eAAe;wBACf,cAAc;wBACd,oBAAoB;wBACpB,kBAAkB;wBAClB,WAAW;wBACX,aAAa;wBACb,YAAY;wBACZ,WAAW;AACZ,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,cAAc;wBACd,oBAAoB;wBACpB,kBAAkB;wBAClB,WAAW;wBACX,aAAa;wBACb,YAAY;wBACZ,WAAW;wBACX,WAAW;AACZ,qBAAA;AACF,iBAAA;;;;;"}
|
|
1
|
+
{"version":3,"file":"popover-edit.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/material-experimental/popover-edit/lens-directives.ts","../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/material-experimental/popover-edit/table-directives.ts","../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/material-experimental/popover-edit/popover-edit-module.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 {Directive} from '@angular/core';\n\nimport {\n CdkEditControl,\n CdkEditRevert,\n CdkEditClose,\n EditRef,\n} from '@angular/cdk-experimental/popover-edit';\n\n/**\n * A component that attaches to a form within the edit.\n * It coordinates the form state with the table-wide edit system and handles\n * closing the edit when the form is submitted or the user clicks\n * out.\n */\n@Directive({\n selector: 'form[matEditLens]',\n host: {\n 'class': 'mat-edit-lens',\n },\n inputs: [\n {name: 'clickOutBehavior', alias: 'matEditLensClickOutBehavior'},\n {name: 'preservedFormValue', alias: 'matEditLensPreservedFormValue'},\n {name: 'ignoreSubmitUnlessValid', alias: 'matEditLensIgnoreSubmitUnlessValid'},\n ],\n outputs: ['preservedFormValueChange: matEditLensPreservedFormValueChange'],\n providers: [EditRef],\n})\nexport class MatEditLens<FormValue> extends CdkEditControl<FormValue> {}\n\n/** Reverts the form to its initial or previously submitted state on click. */\n@Directive({\n selector: 'button[matEditRevert]',\n host: {\n 'type': 'button', // Prevents accidental form submits.\n },\n})\nexport class MatEditRevert<FormValue> extends CdkEditRevert<FormValue> {}\n\n/** Closes the lens on click. */\n@Directive({\n selector: '[matEditClose]',\n})\nexport class MatEditClose<FormValue> extends CdkEditClose<FormValue> {}\n","/**\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 */\nimport {Directive} from '@angular/core';\nimport {\n _CELL_SELECTOR,\n _closest,\n CdkPopoverEdit,\n CdkPopoverEditTabOut,\n CdkRowHoverContent,\n CdkEditOpen,\n} from '@angular/cdk-experimental/popover-edit';\n\nconst POPOVER_EDIT_HOST_BINDINGS = {\n '[attr.tabindex]': 'disabled ? null : 0',\n 'class': 'mat-popover-edit-cell',\n '[attr.aria-haspopup]': '!disabled',\n};\n\nconst POPOVER_EDIT_INPUTS = [\n {name: 'template', alias: 'matPopoverEdit'},\n {name: 'context', alias: 'matPopoverEditContext'},\n {name: 'colspan', alias: 'matPopoverEditColspan'},\n {name: 'disabled', alias: 'matPopoverEditDisabled'},\n {name: 'ariaLabel', alias: 'matPopoverEditAriaLabel'},\n];\n\nconst EDIT_PANE_CLASS = 'mat-edit-pane';\n\nconst MAT_ROW_HOVER_CLASS = 'mat-row-hover-content';\nconst MAT_ROW_HOVER_RTL_CLASS = MAT_ROW_HOVER_CLASS + '-rtl';\nconst MAT_ROW_HOVER_ANIMATE_CLASS = MAT_ROW_HOVER_CLASS + '-visible';\nconst MAT_ROW_HOVER_CELL_CLASS = MAT_ROW_HOVER_CLASS + '-host-cell';\n\n/**\n * Attaches an ng-template to a cell and shows it when instructed to by the\n * EditEventDispatcher service.\n * Makes the cell focusable.\n */\n@Directive({\n selector: '[matPopoverEdit]:not([matPopoverEditTabOut])',\n host: POPOVER_EDIT_HOST_BINDINGS,\n inputs: POPOVER_EDIT_INPUTS,\n})\nexport class MatPopoverEdit<C> extends CdkPopoverEdit<C> {\n protected override panelClass(): string {\n return EDIT_PANE_CLASS;\n }\n}\n\n/**\n * Attaches an ng-template to a cell and shows it when instructed to by the\n * EditEventDispatcher service.\n * Makes the cell focusable.\n */\n@Directive({\n selector: '[matPopoverEdit][matPopoverEditTabOut]',\n host: POPOVER_EDIT_HOST_BINDINGS,\n inputs: POPOVER_EDIT_INPUTS,\n})\nexport class MatPopoverEditTabOut<C> extends CdkPopoverEditTabOut<C> {\n protected override panelClass(): string {\n return EDIT_PANE_CLASS;\n }\n}\n\n/**\n * A structural directive that shows its contents when the table row containing\n * it is hovered or when an element in the row has focus.\n */\n@Directive({\n selector: '[matRowHoverContent]',\n})\nexport class MatRowHoverContent extends CdkRowHoverContent {\n protected override initElement(element: HTMLElement) {\n super.initElement(element);\n element.classList.add(MAT_ROW_HOVER_CLASS);\n }\n\n protected override makeElementHiddenButFocusable(element: HTMLElement): void {\n element.classList.remove(MAT_ROW_HOVER_ANIMATE_CLASS);\n }\n\n protected override makeElementVisible(element: HTMLElement): void {\n _closest(this.elementRef.nativeElement!, _CELL_SELECTOR)!.classList.add(\n MAT_ROW_HOVER_CELL_CLASS,\n );\n\n if (this.services.directionality.value === 'rtl') {\n element.classList.add(MAT_ROW_HOVER_RTL_CLASS);\n } else {\n element.classList.remove(MAT_ROW_HOVER_RTL_CLASS);\n }\n\n element.classList.remove(MAT_ROW_HOVER_ANIMATE_CLASS);\n this.services.ngZone.runOutsideAngular(() => {\n setTimeout(() => {\n element.classList.add(MAT_ROW_HOVER_ANIMATE_CLASS);\n });\n });\n }\n}\n\n/**\n * Opens the closest edit popover to this element, whether it's associated with this exact\n * element or an ancestor element.\n */\n@Directive({\n selector: '[matEditOpen]',\n})\nexport class MatEditOpen extends CdkEditOpen {}\n","/**\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 {NgModule} from '@angular/core';\nimport {CdkEditable, CdkPopoverEditModule} from '@angular/cdk-experimental/popover-edit';\nimport {\n MatPopoverEdit,\n MatPopoverEditTabOut,\n MatRowHoverContent,\n MatEditOpen,\n} from './table-directives';\nimport {MatEditLens, MatEditRevert, MatEditClose} from './lens-directives';\n\n@NgModule({\n imports: [\n CdkPopoverEditModule,\n MatPopoverEdit,\n MatPopoverEditTabOut,\n MatRowHoverContent,\n MatEditLens,\n MatEditRevert,\n MatEditClose,\n MatEditOpen,\n ],\n exports: [\n MatPopoverEdit,\n MatPopoverEditTabOut,\n MatRowHoverContent,\n MatEditLens,\n MatEditRevert,\n MatEditClose,\n MatEditOpen,\n CdkEditable,\n ],\n})\nexport class MatPopoverEditModule {}\n"],"names":[],"mappings":";;;;AAiBA;;;;;AAKG;AAcG,MAAO,WAAuB,SAAQ,cAAyB,CAAA;8GAAxD,WAAW,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;kGAAX,WAAW,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,MAAA,EAAA,EAAA,gBAAA,EAAA,CAAA,6BAAA,EAAA,kBAAA,CAAA,EAAA,kBAAA,EAAA,CAAA,+BAAA,EAAA,oBAAA,CAAA,EAAA,uBAAA,EAAA,CAAA,oCAAA,EAAA,yBAAA,CAAA,EAAA,EAAA,OAAA,EAAA,EAAA,wBAAA,EAAA,qCAAA,EAAA,EAAA,IAAA,EAAA,EAAA,cAAA,EAAA,eAAA,EAAA,EAAA,SAAA,EAFX,CAAC,OAAO,CAAC,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;kGAET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b,YAAY;YACZ,WAAW;YACX,WAAW,CAAA,EAAA,CAAA;AAGF,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,eAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,YApB7B,oBAAoB,CAAA,EAAA,CAAA;;kGAoBX,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAtBhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,oBAAoB;wBACpB,cAAc;wBACd,oBAAoB;wBACpB,kBAAkB;wBAClB,WAAW;wBACX,aAAa;wBACb,YAAY;wBACZ,WAAW;AACZ,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,cAAc;wBACd,oBAAoB;wBACpB,kBAAkB;wBAClB,WAAW;wBACX,aAAa;wBACb,YAAY;wBACZ,WAAW;wBACX,WAAW;AACZ,qBAAA;AACF,iBAAA;;;;;"}
|
package/fesm2022/selection.mjs
CHANGED
|
@@ -23,10 +23,10 @@ class MatSelection extends CdkSelection {
|
|
|
23
23
|
}
|
|
24
24
|
/** Emits when selection changes. */
|
|
25
25
|
change = new EventEmitter();
|
|
26
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
27
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-
|
|
26
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatSelection, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
27
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-next.2", type: MatSelection, isStandalone: true, selector: "[matSelection]", inputs: { multiple: ["matSelectionMultiple", "multiple"] }, outputs: { change: "matSelectionChange" }, providers: [{ provide: CdkSelection, useExisting: MatSelection }], exportAs: ["matSelection"], usesInheritance: true, ngImport: i0 });
|
|
28
28
|
}
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatSelection, decorators: [{
|
|
30
30
|
type: Directive,
|
|
31
31
|
args: [{
|
|
32
32
|
selector: '[matSelection]',
|
|
@@ -52,10 +52,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-rc.1", ng
|
|
|
52
52
|
* and `toggle()` to change the selection state.
|
|
53
53
|
*/
|
|
54
54
|
class MatSelectAll extends CdkSelectAll {
|
|
55
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
56
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-
|
|
55
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatSelectAll, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
56
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-next.2", type: MatSelectAll, isStandalone: true, selector: "[matSelectAll]", providers: [{ provide: CdkSelectAll, useExisting: MatSelectAll }], exportAs: ["matSelectAll"], usesInheritance: true, ngImport: i0 });
|
|
57
57
|
}
|
|
58
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
58
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatSelectAll, decorators: [{
|
|
59
59
|
type: Directive,
|
|
60
60
|
args: [{
|
|
61
61
|
selector: '[matSelectAll]',
|
|
@@ -77,10 +77,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-rc.1", ng
|
|
|
77
77
|
class MatSelectionToggle extends CdkSelectionToggle {
|
|
78
78
|
/** The value that is associated with the toggle */
|
|
79
79
|
value = undefined;
|
|
80
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
81
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-
|
|
80
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatSelectionToggle, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
81
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-next.2", type: MatSelectionToggle, isStandalone: true, selector: "[matSelectionToggle]", inputs: { index: ["matSelectionToggleIndex", "index"], value: ["matSelectionToggleValue", "value"] }, providers: [{ provide: CdkSelectionToggle, useExisting: MatSelectionToggle }], exportAs: ["matSelectionToggle"], usesInheritance: true, ngImport: i0 });
|
|
82
82
|
}
|
|
83
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
83
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatSelectionToggle, decorators: [{
|
|
84
84
|
type: Directive,
|
|
85
85
|
args: [{
|
|
86
86
|
selector: '[matSelectionToggle]',
|
|
@@ -138,8 +138,8 @@ class MatSelectionColumn {
|
|
|
138
138
|
this._columnDef.name = this._name;
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
142
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.2.0-
|
|
141
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatSelectionColumn, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
142
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.2.0-next.2", type: MatSelectionColumn, isStandalone: true, selector: "mat-selection-column", inputs: { name: "name" }, viewQueries: [{ propertyName: "_columnDef", first: true, predicate: MatColumnDef, descendants: true, static: true }, { propertyName: "_cell", first: true, predicate: MatCellDef, descendants: true, static: true }, { propertyName: "_headerCell", first: true, predicate: MatHeaderCellDef, descendants: true, static: true }], ngImport: i0, template: `
|
|
143
143
|
<ng-container matColumnDef>
|
|
144
144
|
<th mat-header-cell *matHeaderCellDef class="mat-selection-column-header">
|
|
145
145
|
@if (selection && selection.multiple) {
|
|
@@ -158,7 +158,7 @@ class MatSelectionColumn {
|
|
|
158
158
|
</ng-container>
|
|
159
159
|
`, isInline: true, styles: ["th.mat-selection-column-header,td.mat-selection-column-cell{text-align:center;width:48px}\n"], dependencies: [{ kind: "directive", type: MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "component", type: MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "directive", type: MatSelectAll, selector: "[matSelectAll]", exportAs: ["matSelectAll"] }, { kind: "directive", type: MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "directive", type: MatSelectionToggle, selector: "[matSelectionToggle]", inputs: ["matSelectionToggleIndex", "matSelectionToggleValue"], exportAs: ["matSelectionToggle"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
160
160
|
}
|
|
161
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
161
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatSelectionColumn, decorators: [{
|
|
162
162
|
type: Component,
|
|
163
163
|
args: [{ selector: 'mat-selection-column', template: `
|
|
164
164
|
<ng-container matColumnDef>
|
|
@@ -211,10 +211,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-rc.1", ng
|
|
|
211
211
|
class MatRowSelection extends CdkRowSelection {
|
|
212
212
|
/** The value that is associated with the row */
|
|
213
213
|
value = undefined;
|
|
214
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
215
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-
|
|
214
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatRowSelection, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
215
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-next.2", type: MatRowSelection, isStandalone: true, selector: "[matRowSelection]", inputs: { index: ["matRowSelectionIndex", "index"], value: ["matRowSelectionValue", "value"] }, host: { properties: { "class.mat-selected": "_selection.isSelected(this.value, this.index)", "attr.aria-selected": "_selection.isSelected(this.value, this.index)" } }, providers: [{ provide: CdkRowSelection, useExisting: MatRowSelection }], usesInheritance: true, ngImport: i0 });
|
|
216
216
|
}
|
|
217
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
217
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatRowSelection, decorators: [{
|
|
218
218
|
type: Directive,
|
|
219
219
|
args: [{
|
|
220
220
|
selector: '[matRowSelection]',
|
|
@@ -233,19 +233,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-rc.1", ng
|
|
|
233
233
|
// TODO(yifange): Move the table-specific code to a separate module from the other selection
|
|
234
234
|
// behaviors once we move it out of experimental.
|
|
235
235
|
class MatSelectionModule {
|
|
236
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-
|
|
237
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.0-
|
|
236
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatSelectionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
237
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatSelectionModule, imports: [MatTableModule,
|
|
238
238
|
MatCheckboxModule,
|
|
239
239
|
MatSelectAll,
|
|
240
240
|
MatSelection,
|
|
241
241
|
MatSelectionToggle,
|
|
242
242
|
MatSelectionColumn,
|
|
243
243
|
MatRowSelection], exports: [MatSelectAll, MatSelection, MatSelectionToggle, MatSelectionColumn, MatRowSelection] });
|
|
244
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.0-
|
|
244
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatSelectionModule, imports: [MatTableModule,
|
|
245
245
|
MatCheckboxModule,
|
|
246
246
|
MatSelectionColumn] });
|
|
247
247
|
}
|
|
248
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-
|
|
248
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatSelectionModule, decorators: [{
|
|
249
249
|
type: NgModule,
|
|
250
250
|
args: [{
|
|
251
251
|
imports: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selection.mjs","sources":["../../../../../k8-fastbuild-ST-c646aa77115d/bin/src/material-experimental/selection/selection.ts","../../../../../k8-fastbuild-ST-c646aa77115d/bin/src/material-experimental/selection/select-all.ts","../../../../../k8-fastbuild-ST-c646aa77115d/bin/src/material-experimental/selection/selection-toggle.ts","../../../../../k8-fastbuild-ST-c646aa77115d/bin/src/material-experimental/selection/selection-column.ts","../../../../../k8-fastbuild-ST-c646aa77115d/bin/src/material-experimental/selection/row-selection.ts","../../../../../k8-fastbuild-ST-c646aa77115d/bin/src/material-experimental/selection/selection-module.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 {coerceBooleanProperty} from '@angular/cdk/coercion';\nimport {CdkSelection, SelectionChange} from '@angular/cdk-experimental/selection';\nimport {Directive, Input, Output, EventEmitter} from '@angular/core';\n\n/**\n * Manages the selection states of the items and provides methods to check and update the selection\n * states.\n * It must be applied to the parent element if `matSelectionToggle`, `matSelectAll`,\n * `matRowSelection` and `matSelectionColumn` are applied.\n */\n@Directive({\n selector: '[matSelection]',\n exportAs: 'matSelection',\n providers: [{provide: CdkSelection, useExisting: MatSelection}],\n})\n// tslint:disable-next-line: coercion-types\nexport class MatSelection<T> extends CdkSelection<T> {\n /** Whether to support multiple selection */\n @Input('matSelectionMultiple')\n override get multiple(): boolean {\n return this._multiple;\n }\n override set multiple(multiple: boolean) {\n this._multiple = coerceBooleanProperty(multiple);\n }\n\n /** Emits when selection changes. */\n @Output('matSelectionChange') override readonly change = new EventEmitter<SelectionChange<T>>();\n}\n\n/**\n * Represents the change in the selection set.\n */\nexport {SelectionChange} from '@angular/cdk-experimental/selection';\n","/**\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 {CdkSelectAll} from '@angular/cdk-experimental/selection';\nimport {Directive} from '@angular/core';\n\n/**\n * Makes the element a select-all toggle.\n *\n * Must be used within a parent `MatSelection` directive. It toggles the selection states\n * of all the selection toggles connected with the `MatSelection` directive.\n * If the element implements `ControlValueAccessor`, e.g. `MatCheckbox`, the directive\n * automatically connects it with the select-all state provided by the `MatSelection` directive. If\n * not, use `checked` to get the checked state, `indeterminate` to get the indeterminate state,\n * and `toggle()` to change the selection state.\n */\n@Directive({\n selector: '[matSelectAll]',\n exportAs: 'matSelectAll',\n providers: [{provide: CdkSelectAll, useExisting: MatSelectAll}],\n})\nexport class MatSelectAll<T> extends CdkSelectAll<T> {}\n","/**\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 {CdkSelectionToggle} from '@angular/cdk-experimental/selection';\nimport {Directive, Input} from '@angular/core';\n\n/**\n * Makes the element a selection toggle.\n *\n * Must be used within a parent `MatSelection` directive.\n * Must be provided with the value. If `trackBy` is used on `MatSelection`, the index of the value\n * is required. If the element implements `ControlValueAccessor`, e.g. `MatCheckbox`, the directive\n * automatically connects it with the selection state provided by the `MatSelection` directive. If\n * not, use `checked$` to get the checked state of the value, and `toggle()` to change the selection\n * state.\n */\n@Directive({\n selector: '[matSelectionToggle]',\n exportAs: 'matSelectionToggle',\n inputs: [{name: 'index', alias: 'matSelectionToggleIndex'}],\n providers: [{provide: CdkSelectionToggle, useExisting: MatSelectionToggle}],\n})\nexport class MatSelectionToggle<T> extends CdkSelectionToggle<T> {\n /** The value that is associated with the toggle */\n @Input('matSelectionToggleValue') override value: T = undefined!;\n}\n","/**\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 {\n MatCell,\n MatCellDef,\n MatColumnDef,\n MatHeaderCell,\n MatHeaderCellDef,\n MatTable,\n} from '@angular/material/table';\nimport {\n Component,\n Input,\n OnDestroy,\n OnInit,\n ViewChild,\n ChangeDetectionStrategy,\n ViewEncapsulation,\n inject,\n} from '@angular/core';\nimport {AsyncPipe} from '@angular/common';\n\nimport {MatSelection} from './selection';\nimport {MatCheckbox} from '@angular/material/checkbox';\nimport {MatSelectionToggle} from './selection-toggle';\nimport {MatSelectAll} from './select-all';\n\n/**\n * Column that adds row selecting checkboxes and a select-all checkbox if `matSelectionMultiple` is\n * `true`.\n *\n * Must be used within a parent `MatSelection` directive.\n */\n@Component({\n selector: 'mat-selection-column',\n template: `\n <ng-container matColumnDef>\n <th mat-header-cell *matHeaderCellDef class=\"mat-selection-column-header\">\n @if (selection && selection.multiple) {\n <mat-checkbox\n matSelectAll\n #allToggler=\"matSelectAll\"\n [indeterminate]=\"allToggler.indeterminate | async\"></mat-checkbox>\n }\n </th>\n <td mat-cell *matCellDef=\"let row; let i = $index\" class=\"mat-selection-column-cell\">\n <mat-checkbox\n matSelectionToggle\n [matSelectionToggleValue]=\"row\"\n [matSelectionToggleIndex]=\"i\"></mat-checkbox>\n </td>\n </ng-container>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n styleUrl: 'selection-column.css',\n encapsulation: ViewEncapsulation.None,\n imports: [\n MatColumnDef,\n MatHeaderCellDef,\n MatHeaderCell,\n MatCheckbox,\n MatSelectAll,\n MatCellDef,\n MatCell,\n MatSelectionToggle,\n AsyncPipe,\n ],\n})\nexport class MatSelectionColumn<T> implements OnInit, OnDestroy {\n private _table = inject<MatTable<T>>(MatTable, {optional: true});\n readonly selection = inject<MatSelection<T>>(MatSelection, {optional: true});\n\n /** Column name that should be used to reference this column. */\n @Input()\n get name(): string {\n return this._name;\n }\n set name(name: string) {\n this._name = name;\n\n this._syncColumnDefName();\n }\n private _name: string;\n\n @ViewChild(MatColumnDef, {static: true}) private readonly _columnDef: MatColumnDef;\n @ViewChild(MatCellDef, {static: true}) private readonly _cell: MatCellDef;\n @ViewChild(MatHeaderCellDef, {static: true})\n private readonly _headerCell: MatHeaderCellDef;\n\n ngOnInit() {\n if (!this.selection && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('MatSelectionColumn: missing MatSelection in the parent');\n }\n\n this._syncColumnDefName();\n\n if (this._table) {\n this._columnDef.cell = this._cell;\n this._columnDef.headerCell = this._headerCell;\n this._table.addColumnDef(this._columnDef);\n } else if (typeof ngDevMode === 'undefined' || ngDevMode) {\n throw Error('MatSelectionColumn: missing parent table');\n }\n }\n\n ngOnDestroy() {\n if (this._table) {\n this._table.removeColumnDef(this._columnDef);\n }\n }\n\n private _syncColumnDefName() {\n if (this._columnDef) {\n this._columnDef.name = this._name;\n }\n }\n}\n","/**\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 {CdkRowSelection} from '@angular/cdk-experimental/selection';\nimport {Input, Directive} from '@angular/core';\n\n/**\n * Applies `mat-selected` class and `aria-selected` to an element.\n *\n * Must be used within a parent `MatSelection` directive.\n * Must be provided with the value. The index is required if `trackBy` is used on the `CdkSelection`\n * directive.\n */\n@Directive({\n selector: '[matRowSelection]',\n host: {\n '[class.mat-selected]': '_selection.isSelected(this.value, this.index)',\n '[attr.aria-selected]': '_selection.isSelected(this.value, this.index)',\n },\n providers: [{provide: CdkRowSelection, useExisting: MatRowSelection}],\n inputs: [{name: 'index', alias: 'matRowSelectionIndex'}],\n})\nexport class MatRowSelection<T> extends CdkRowSelection<T> {\n /** The value that is associated with the row */\n @Input('matRowSelectionValue') override value: T = undefined!;\n}\n","/**\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\n// TODO(yifange): Move the table-specific code to a separate module from the other selection\n// behaviors once we move it out of experimental.\nimport {NgModule} from '@angular/core';\nimport {MatTableModule} from '@angular/material/table';\nimport {MatCheckboxModule} from '@angular/material/checkbox';\nimport {MatSelectAll} from './select-all';\nimport {MatSelection} from './selection';\nimport {MatSelectionToggle} from './selection-toggle';\nimport {MatSelectionColumn} from './selection-column';\nimport {MatRowSelection} from './row-selection';\n\n@NgModule({\n imports: [\n MatTableModule,\n MatCheckboxModule,\n MatSelectAll,\n MatSelection,\n MatSelectionToggle,\n MatSelectionColumn,\n MatRowSelection,\n ],\n exports: [MatSelectAll, MatSelection, MatSelectionToggle, MatSelectionColumn, MatRowSelection],\n})\nexport class MatSelectionModule {}\n"],"names":[],"mappings":";;;;;;;;AAYA;;;;;AAKG;AAMH;AACM,MAAO,YAAgB,SAAQ,YAAe,CAAA;;AAElD,IAAA,IACa,QAAQ,GAAA;QACnB,OAAO,IAAI,CAAC,SAAS;;IAEvB,IAAa,QAAQ,CAAC,QAAiB,EAAA;AACrC,QAAA,IAAI,CAAC,SAAS,GAAG,qBAAqB,CAAC,QAAQ,CAAC;;;AAIF,IAAA,MAAM,GAAG,IAAI,YAAY,EAAsB;4GAXpF,YAAY,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;gGAAZ,YAAY,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,EAAA,QAAA,EAAA,CAAA,sBAAA,EAAA,UAAA,CAAA,EAAA,EAAA,OAAA,EAAA,EAAA,MAAA,EAAA,oBAAA,EAAA,EAAA,SAAA,EAHZ,CAAC,EAAC,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,YAAY,EAAC,CAAC,EAAA,QAAA,EAAA,CAAA,cAAA,CAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;gGAGpD,YAAY,EAAA,UAAA,EAAA,CAAA;kBANxB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,gBAAgB;AAC1B,oBAAA,QAAQ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AAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,aAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,YAV3B,cAAc;YACd,iBAAiB;YAIjB,kBAAkB,CAAA,EAAA,CAAA;;gGAKT,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAZ9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,cAAc;wBACd,iBAAiB;wBACjB,YAAY;wBACZ,YAAY;wBACZ,kBAAkB;wBAClB,kBAAkB;wBAClB,eAAe;AAChB,qBAAA;oBACD,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,eAAe,CAAC;AAC/F,iBAAA;;;;;"}
|
|
1
|
+
{"version":3,"file":"selection.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/material-experimental/selection/selection.ts","../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/material-experimental/selection/select-all.ts","../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/material-experimental/selection/selection-toggle.ts","../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/material-experimental/selection/selection-column.ts","../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/material-experimental/selection/row-selection.ts","../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/material-experimental/selection/selection-module.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 {coerceBooleanProperty} from '@angular/cdk/coercion';\nimport {CdkSelection, SelectionChange} from '@angular/cdk-experimental/selection';\nimport {Directive, Input, Output, EventEmitter} from '@angular/core';\n\n/**\n * Manages the selection states of the items and provides methods to check and update the selection\n * states.\n * It must be applied to the parent element if `matSelectionToggle`, `matSelectAll`,\n * `matRowSelection` and `matSelectionColumn` are applied.\n */\n@Directive({\n selector: '[matSelection]',\n exportAs: 'matSelection',\n providers: [{provide: CdkSelection, useExisting: MatSelection}],\n})\n// tslint:disable-next-line: coercion-types\nexport class MatSelection<T> extends CdkSelection<T> {\n /** Whether to support multiple selection */\n @Input('matSelectionMultiple')\n override get multiple(): boolean {\n return this._multiple;\n }\n override set multiple(multiple: boolean) {\n this._multiple = coerceBooleanProperty(multiple);\n }\n\n /** Emits when selection changes. */\n @Output('matSelectionChange') override readonly change = new EventEmitter<SelectionChange<T>>();\n}\n\n/**\n * Represents the change in the selection set.\n */\nexport {SelectionChange} from '@angular/cdk-experimental/selection';\n","/**\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 {CdkSelectAll} from '@angular/cdk-experimental/selection';\nimport {Directive} from '@angular/core';\n\n/**\n * Makes the element a select-all toggle.\n *\n * Must be used within a parent `MatSelection` directive. It toggles the selection states\n * of all the selection toggles connected with the `MatSelection` directive.\n * If the element implements `ControlValueAccessor`, e.g. `MatCheckbox`, the directive\n * automatically connects it with the select-all state provided by the `MatSelection` directive. If\n * not, use `checked` to get the checked state, `indeterminate` to get the indeterminate state,\n * and `toggle()` to change the selection state.\n */\n@Directive({\n selector: '[matSelectAll]',\n exportAs: 'matSelectAll',\n providers: [{provide: CdkSelectAll, useExisting: MatSelectAll}],\n})\nexport class MatSelectAll<T> extends CdkSelectAll<T> {}\n","/**\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 {CdkSelectionToggle} from '@angular/cdk-experimental/selection';\nimport {Directive, Input} from '@angular/core';\n\n/**\n * Makes the element a selection toggle.\n *\n * Must be used within a parent `MatSelection` directive.\n * Must be provided with the value. If `trackBy` is used on `MatSelection`, the index of the value\n * is required. If the element implements `ControlValueAccessor`, e.g. `MatCheckbox`, the directive\n * automatically connects it with the selection state provided by the `MatSelection` directive. If\n * not, use `checked$` to get the checked state of the value, and `toggle()` to change the selection\n * state.\n */\n@Directive({\n selector: '[matSelectionToggle]',\n exportAs: 'matSelectionToggle',\n inputs: [{name: 'index', alias: 'matSelectionToggleIndex'}],\n providers: [{provide: CdkSelectionToggle, useExisting: MatSelectionToggle}],\n})\nexport class MatSelectionToggle<T> extends CdkSelectionToggle<T> {\n /** The value that is associated with the toggle */\n @Input('matSelectionToggleValue') override value: T = undefined!;\n}\n","/**\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 {\n MatCell,\n MatCellDef,\n MatColumnDef,\n MatHeaderCell,\n MatHeaderCellDef,\n MatTable,\n} from '@angular/material/table';\nimport {\n Component,\n Input,\n OnDestroy,\n OnInit,\n ViewChild,\n ChangeDetectionStrategy,\n ViewEncapsulation,\n inject,\n} from '@angular/core';\nimport {AsyncPipe} from '@angular/common';\n\nimport {MatSelection} from './selection';\nimport {MatCheckbox} from '@angular/material/checkbox';\nimport {MatSelectionToggle} from './selection-toggle';\nimport {MatSelectAll} from './select-all';\n\n/**\n * Column that adds row selecting checkboxes and a select-all checkbox if `matSelectionMultiple` is\n * `true`.\n *\n * Must be used within a parent `MatSelection` directive.\n */\n@Component({\n selector: 'mat-selection-column',\n template: `\n <ng-container matColumnDef>\n <th mat-header-cell *matHeaderCellDef class=\"mat-selection-column-header\">\n @if (selection && selection.multiple) {\n <mat-checkbox\n matSelectAll\n #allToggler=\"matSelectAll\"\n [indeterminate]=\"allToggler.indeterminate | async\"></mat-checkbox>\n }\n </th>\n <td mat-cell *matCellDef=\"let row; let i = $index\" class=\"mat-selection-column-cell\">\n <mat-checkbox\n matSelectionToggle\n [matSelectionToggleValue]=\"row\"\n [matSelectionToggleIndex]=\"i\"></mat-checkbox>\n </td>\n </ng-container>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n styleUrl: 'selection-column.css',\n encapsulation: ViewEncapsulation.None,\n imports: [\n MatColumnDef,\n MatHeaderCellDef,\n MatHeaderCell,\n MatCheckbox,\n MatSelectAll,\n MatCellDef,\n MatCell,\n MatSelectionToggle,\n AsyncPipe,\n ],\n})\nexport class MatSelectionColumn<T> implements OnInit, OnDestroy {\n private _table = inject<MatTable<T>>(MatTable, {optional: true});\n readonly selection = inject<MatSelection<T>>(MatSelection, {optional: true});\n\n /** Column name that should be used to reference this column. */\n @Input()\n get name(): string {\n return this._name;\n }\n set name(name: string) {\n this._name = name;\n\n this._syncColumnDefName();\n }\n private _name: string;\n\n @ViewChild(MatColumnDef, {static: true}) private readonly _columnDef: MatColumnDef;\n @ViewChild(MatCellDef, {static: true}) private readonly _cell: MatCellDef;\n @ViewChild(MatHeaderCellDef, {static: true})\n private readonly _headerCell: MatHeaderCellDef;\n\n ngOnInit() {\n if (!this.selection && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error('MatSelectionColumn: missing MatSelection in the parent');\n }\n\n this._syncColumnDefName();\n\n if (this._table) {\n this._columnDef.cell = this._cell;\n this._columnDef.headerCell = this._headerCell;\n this._table.addColumnDef(this._columnDef);\n } else if (typeof ngDevMode === 'undefined' || ngDevMode) {\n throw Error('MatSelectionColumn: missing parent table');\n }\n }\n\n ngOnDestroy() {\n if (this._table) {\n this._table.removeColumnDef(this._columnDef);\n }\n }\n\n private _syncColumnDefName() {\n if (this._columnDef) {\n this._columnDef.name = this._name;\n }\n }\n}\n","/**\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 {CdkRowSelection} from '@angular/cdk-experimental/selection';\nimport {Input, Directive} from '@angular/core';\n\n/**\n * Applies `mat-selected` class and `aria-selected` to an element.\n *\n * Must be used within a parent `MatSelection` directive.\n * Must be provided with the value. The index is required if `trackBy` is used on the `CdkSelection`\n * directive.\n */\n@Directive({\n selector: '[matRowSelection]',\n host: {\n '[class.mat-selected]': '_selection.isSelected(this.value, this.index)',\n '[attr.aria-selected]': '_selection.isSelected(this.value, this.index)',\n },\n providers: [{provide: CdkRowSelection, useExisting: MatRowSelection}],\n inputs: [{name: 'index', alias: 'matRowSelectionIndex'}],\n})\nexport class MatRowSelection<T> extends CdkRowSelection<T> {\n /** The value that is associated with the row */\n @Input('matRowSelectionValue') override value: T = undefined!;\n}\n","/**\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\n// TODO(yifange): Move the table-specific code to a separate module from the other selection\n// behaviors once we move it out of experimental.\nimport {NgModule} from '@angular/core';\nimport {MatTableModule} from '@angular/material/table';\nimport {MatCheckboxModule} from '@angular/material/checkbox';\nimport {MatSelectAll} from './select-all';\nimport {MatSelection} from './selection';\nimport {MatSelectionToggle} from './selection-toggle';\nimport {MatSelectionColumn} from './selection-column';\nimport {MatRowSelection} from './row-selection';\n\n@NgModule({\n imports: [\n MatTableModule,\n MatCheckboxModule,\n MatSelectAll,\n MatSelection,\n MatSelectionToggle,\n MatSelectionColumn,\n MatRowSelection,\n ],\n exports: [MatSelectAll, MatSelection, MatSelectionToggle, MatSelectionColumn, MatRowSelection],\n})\nexport class MatSelectionModule {}\n"],"names":[],"mappings":";;;;;;;;AAYA;;;;;AAKG;AAMH;AACM,MAAO,YAAgB,SAAQ,YAAe,CAAA;;AAElD,IAAA,IACa,QAAQ,GAAA;QACnB,OAAO,IAAI,CAAC,SAAS;;IAEvB,IAAa,QAAQ,CAAC,QAAiB,EAAA;AACrC,QAAA,IAAI,CAAC,SAAS,GAAG,qBAAqB,CAAC,QAAQ,CAAC;;;AAIF,IAAA,MAAM,GAAG,IAAI,YAAY,EAAsB;8GAXpF,YAAY,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CA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B;;;ACrB/B;AACA;MAsBa,kBAAkB,CAAA;8GAAlB,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;AAAlB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,eAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,YAV3B,cAAc;YACd,iBAAiB;YACjB,YAAY;YACZ,YAAY;YACZ,kBAAkB;YAClB,kBAAkB;YAClB,eAAe,CAAA,EAAA,OAAA,EAAA,CAEP,YAAY,EAAE,YAAY,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,eAAe,CAAA,EAAA,CAAA;AAElF,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,eAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,YAV3B,cAAc;YACd,iBAAiB;YAIjB,kBAAkB,CAAA,EAAA,CAAA;;kGAKT,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAZ9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,cAAc;wBACd,iBAAiB;wBACjB,YAAY;wBACZ,YAAY;wBACZ,kBAAkB;wBAClB,kBAAkB;wBAClB,eAAe;AAChB,qBAAA;oBACD,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,eAAe,CAAC;AAC/F,iBAAA;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/material-experimental",
|
|
3
|
-
"version": "21.0.0-next.
|
|
3
|
+
"version": "21.0.0-next.10",
|
|
4
4
|
"description": "Experimental components for Angular Material",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,37 +14,37 @@
|
|
|
14
14
|
"exports": {
|
|
15
15
|
".": {
|
|
16
16
|
"sass": "./_index.scss",
|
|
17
|
-
"types": "./
|
|
17
|
+
"types": "./types/material-experimental.d.ts",
|
|
18
18
|
"default": "./fesm2022/material-experimental.mjs"
|
|
19
19
|
},
|
|
20
20
|
"./package.json": {
|
|
21
21
|
"default": "./package.json"
|
|
22
22
|
},
|
|
23
23
|
"./column-resize": {
|
|
24
|
-
"types": "./column-resize
|
|
24
|
+
"types": "./types/column-resize.d.ts",
|
|
25
25
|
"default": "./fesm2022/column-resize.mjs"
|
|
26
26
|
},
|
|
27
27
|
"./menubar": {
|
|
28
|
-
"types": "./menubar
|
|
28
|
+
"types": "./types/menubar.d.ts",
|
|
29
29
|
"default": "./fesm2022/menubar.mjs"
|
|
30
30
|
},
|
|
31
31
|
"./popover-edit": {
|
|
32
|
-
"types": "./popover-edit
|
|
32
|
+
"types": "./types/popover-edit.d.ts",
|
|
33
33
|
"default": "./fesm2022/popover-edit.mjs"
|
|
34
34
|
},
|
|
35
35
|
"./selection": {
|
|
36
|
-
"types": "./selection
|
|
36
|
+
"types": "./types/selection.d.ts",
|
|
37
37
|
"default": "./fesm2022/selection.mjs"
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@angular/cdk": "21.0.0-next.
|
|
41
|
+
"@angular/cdk": "21.0.0-next.10",
|
|
42
42
|
"@angular/core": "^21.0.0-0 || ^21.1.0-0 || ^21.2.0-0 || ^21.3.0-0 || ^22.0.0-0",
|
|
43
43
|
"@angular/common": "^21.0.0-0 || ^21.1.0-0 || ^21.2.0-0 || ^21.3.0-0 || ^22.0.0-0",
|
|
44
44
|
"@angular/forms": "^21.0.0-0 || ^21.1.0-0 || ^21.2.0-0 || ^21.3.0-0 || ^22.0.0-0",
|
|
45
45
|
"@angular/platform-browser": "^21.0.0-0 || ^21.1.0-0 || ^21.2.0-0 || ^21.3.0-0 || ^22.0.0-0",
|
|
46
|
-
"@angular/material": "21.0.0-next.
|
|
47
|
-
"@angular/cdk-experimental": "21.0.0-next.
|
|
46
|
+
"@angular/material": "21.0.0-next.10",
|
|
47
|
+
"@angular/cdk-experimental": "21.0.0-next.10"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@angular/material": "workspace:*",
|
|
@@ -57,6 +57,7 @@
|
|
|
57
57
|
"ng-update": {
|
|
58
58
|
"packageGroup": [
|
|
59
59
|
"@angular/material",
|
|
60
|
+
"@angular/aria",
|
|
60
61
|
"@angular/cdk",
|
|
61
62
|
"@angular/cdk-experimental",
|
|
62
63
|
"@angular/material-experimental",
|
|
@@ -67,6 +68,6 @@
|
|
|
67
68
|
},
|
|
68
69
|
"sideEffects": false,
|
|
69
70
|
"module": "./fesm2022/material-experimental.mjs",
|
|
70
|
-
"typings": "./
|
|
71
|
+
"typings": "./types/material-experimental.d.ts",
|
|
71
72
|
"type": "module"
|
|
72
73
|
}
|
|
@@ -4,8 +4,7 @@ import { ColumnResize, ColumnResizeNotifier, HeaderRowEventDispatcher, ColumnRes
|
|
|
4
4
|
export { COLUMN_RESIZE_OPTIONS, ColumnResizeOptions, ColumnSizeStore, TABLE_LAYOUT_FIXED_RESIZE_STRATEGY_PROVIDER } from '@angular/cdk-experimental/column-resize';
|
|
5
5
|
import { CdkColumnDef } from '@angular/cdk/table';
|
|
6
6
|
import { Directionality } from '@angular/cdk/bidi';
|
|
7
|
-
import * as i2 from '@angular/
|
|
8
|
-
import * as i3 from '@angular/cdk/overlay';
|
|
7
|
+
import * as i2 from '@angular/cdk/overlay';
|
|
9
8
|
|
|
10
9
|
declare abstract class AbstractMatColumnResize extends ColumnResize {
|
|
11
10
|
getTableHeight(): number;
|
|
@@ -144,12 +143,12 @@ declare class MatColumnResizeCommonModule {
|
|
|
144
143
|
}
|
|
145
144
|
declare class MatDefaultEnabledColumnResizeModule {
|
|
146
145
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatDefaultEnabledColumnResizeModule, never>;
|
|
147
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatDefaultEnabledColumnResizeModule, never, [typeof i2.
|
|
146
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatDefaultEnabledColumnResizeModule, never, [typeof i2.OverlayModule, typeof MatColumnResizeCommonModule, typeof MatDefaultEnabledColumnResize, typeof MatDefaultEnabledColumnResizeFlex, typeof MatDefaultResizable], [typeof MatDefaultEnabledColumnResize, typeof MatDefaultEnabledColumnResizeFlex, typeof MatDefaultResizable]>;
|
|
148
147
|
static ɵinj: i0.ɵɵInjectorDeclaration<MatDefaultEnabledColumnResizeModule>;
|
|
149
148
|
}
|
|
150
149
|
declare class MatColumnResizeModule {
|
|
151
150
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatColumnResizeModule, never>;
|
|
152
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatColumnResizeModule, never, [typeof i2.
|
|
151
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatColumnResizeModule, never, [typeof i2.OverlayModule, typeof MatColumnResizeCommonModule, typeof MatColumnResize, typeof MatColumnResizeFlex, typeof MatResizable], [typeof MatColumnResize, typeof MatColumnResizeFlex, typeof MatResizable]>;
|
|
153
152
|
static ɵinj: i0.ɵɵInjectorDeclaration<MatColumnResizeModule>;
|
|
154
153
|
}
|
|
155
154
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as i1 from '@angular/cdk-experimental/popover-edit';
|
|
2
2
|
import { CdkEditControl, CdkEditRevert, CdkEditClose, CdkPopoverEdit, CdkPopoverEditTabOut, CdkRowHoverContent, CdkEditOpen } from '@angular/cdk-experimental/popover-edit';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import * as i2 from '@angular/material/core';
|
|
5
4
|
|
|
6
5
|
/**
|
|
7
6
|
* A component that attaches to a form within the edit.
|
|
@@ -66,7 +65,7 @@ declare class MatEditOpen extends CdkEditOpen {
|
|
|
66
65
|
|
|
67
66
|
declare class MatPopoverEditModule {
|
|
68
67
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatPopoverEditModule, never>;
|
|
69
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatPopoverEditModule, never, [typeof i1.CdkPopoverEditModule, typeof
|
|
68
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatPopoverEditModule, never, [typeof i1.CdkPopoverEditModule, typeof MatPopoverEdit, typeof MatPopoverEditTabOut, typeof MatRowHoverContent, typeof MatEditLens, typeof MatEditRevert, typeof MatEditClose, typeof MatEditOpen], [typeof MatPopoverEdit, typeof MatPopoverEditTabOut, typeof MatRowHoverContent, typeof MatEditLens, typeof MatEditRevert, typeof MatEditClose, typeof MatEditOpen, typeof i1.CdkEditable]>;
|
|
70
69
|
static ɵinj: i0.ɵɵInjectorDeclaration<MatPopoverEditModule>;
|
|
71
70
|
}
|
|
72
71
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|