@angular/material-experimental 16.0.0-next.4 → 16.0.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/column-resize/index.d.ts +2 -2
- package/{esm2020 → esm2022}/column-resize/column-resize-directives/column-resize-flex.mjs +4 -4
- package/{esm2020 → esm2022}/column-resize/column-resize-directives/column-resize.mjs +4 -4
- package/{esm2020 → esm2022}/column-resize/column-resize-directives/default-enabled-column-resize-flex.mjs +7 -7
- package/{esm2020 → esm2022}/column-resize/column-resize-directives/default-enabled-column-resize.mjs +7 -7
- package/{esm2020 → esm2022}/column-resize/column-resize-module.mjs +15 -15
- package/{esm2020 → esm2022}/column-resize/overlay-handle.mjs +4 -4
- package/{esm2020 → esm2022}/column-resize/resizable-directives/default-enabled-resizable.mjs +4 -4
- package/{esm2020 → esm2022}/column-resize/resizable-directives/resizable.mjs +4 -4
- package/{esm2020 → esm2022}/column-resize/resize-strategy.mjs +4 -4
- package/{esm2020 → esm2022}/menubar/menubar-item.mjs +4 -4
- package/{esm2020 → esm2022}/menubar/menubar-module.mjs +5 -5
- package/{esm2020 → esm2022}/menubar/menubar.mjs +9 -9
- package/{esm2020 → esm2022}/popover-edit/lens-directives.mjs +10 -10
- package/{esm2020 → esm2022}/popover-edit/popover-edit-module.mjs +18 -18
- package/{esm2020 → esm2022}/popover-edit/table-directives.mjs +13 -13
- package/{esm2020 → esm2022}/selection/row-selection.mjs +4 -4
- package/{esm2020 → esm2022}/selection/select-all.mjs +4 -4
- package/{esm2020 → esm2022}/selection/selection-column.mjs +6 -6
- package/{esm2020 → esm2022}/selection/selection-module.mjs +9 -9
- package/esm2022/selection/selection-toggle.mjs +43 -0
- package/{esm2020 → esm2022}/selection/selection.mjs +4 -4
- package/{esm2020 → esm2022}/version.mjs +1 -1
- package/{fesm2020 → fesm2022}/column-resize.mjs +44 -137
- package/fesm2022/column-resize.mjs.map +1 -0
- package/fesm2022/material-experimental.mjs +7 -0
- package/fesm2022/material-experimental.mjs.map +1 -0
- package/fesm2022/menubar.mjs +83 -0
- package/fesm2022/menubar.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/popover-edit.mjs +38 -75
- package/fesm2022/popover-edit.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/selection.mjs +31 -83
- package/fesm2022/selection.mjs.map +1 -0
- package/package.json +19 -33
- package/popover-edit/index.d.ts +3 -3
- package/selection/index.d.ts +4 -4
- package/esm2020/selection/selection-toggle.mjs +0 -38
- package/fesm2015/column-resize.mjs +0 -477
- package/fesm2015/column-resize.mjs.map +0 -1
- package/fesm2015/material-experimental.mjs +0 -30
- package/fesm2015/material-experimental.mjs.map +0 -1
- package/fesm2015/menubar.mjs +0 -121
- package/fesm2015/menubar.mjs.map +0 -1
- package/fesm2015/popover-edit.mjs +0 -249
- package/fesm2015/popover-edit.mjs.map +0 -1
- package/fesm2015/selection.mjs +0 -317
- package/fesm2015/selection.mjs.map +0 -1
- package/fesm2020/column-resize.mjs.map +0 -1
- package/fesm2020/material-experimental.mjs +0 -30
- package/fesm2020/material-experimental.mjs.map +0 -1
- package/fesm2020/menubar.mjs +0 -120
- package/fesm2020/menubar.mjs.map +0 -1
- package/fesm2020/popover-edit.mjs.map +0 -1
- package/fesm2020/selection.mjs.map +0 -1
- /package/{esm2020 → esm2022}/column-resize/column-resize-directives/common.mjs +0 -0
- /package/{esm2020 → esm2022}/column-resize/column-resize_public_index.mjs +0 -0
- /package/{esm2020 → esm2022}/column-resize/index.mjs +0 -0
- /package/{esm2020 → esm2022}/column-resize/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/column-resize/resizable-directives/common.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/menubar/index.mjs +0 -0
- /package/{esm2020 → esm2022}/menubar/menubar_public_index.mjs +0 -0
- /package/{esm2020 → esm2022}/menubar/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/popover-edit/index.mjs +0 -0
- /package/{esm2020 → esm2022}/popover-edit/popover-edit_public_index.mjs +0 -0
- /package/{esm2020 → esm2022}/popover-edit/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/selection/index.mjs +0 -0
- /package/{esm2020 → esm2022}/selection/public-api.mjs +0 -0
- /package/{esm2020 → esm2022}/selection/selection_public_index.mjs +0 -0
|
@@ -3,13 +3,6 @@ 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
4
|
import { MatCommonModule } from '@angular/material/core';
|
|
5
5
|
|
|
6
|
-
/**
|
|
7
|
-
* @license
|
|
8
|
-
* Copyright Google LLC All Rights Reserved.
|
|
9
|
-
*
|
|
10
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
11
|
-
* found in the LICENSE file at https://angular.io/license
|
|
12
|
-
*/
|
|
13
6
|
/**
|
|
14
7
|
* A component that attaches to a form within the edit.
|
|
15
8
|
* It coordinates the form state with the table-wide edit system and handles
|
|
@@ -17,10 +10,10 @@ import { MatCommonModule } from '@angular/material/core';
|
|
|
17
10
|
* out.
|
|
18
11
|
*/
|
|
19
12
|
class MatEditLens extends CdkEditControl {
|
|
13
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatEditLens, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
14
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: MatEditLens, 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 }); }
|
|
20
15
|
}
|
|
21
|
-
|
|
22
|
-
MatEditLens.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.2", type: MatEditLens, 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 });
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatEditLens, decorators: [{
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatEditLens, decorators: [{
|
|
24
17
|
type: Directive,
|
|
25
18
|
args: [{
|
|
26
19
|
selector: 'form[matEditLens]',
|
|
@@ -38,10 +31,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
38
31
|
}] });
|
|
39
32
|
/** Reverts the form to its initial or previously submitted state on click. */
|
|
40
33
|
class MatEditRevert extends CdkEditRevert {
|
|
34
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatEditRevert, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
35
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: MatEditRevert, selector: "button[matEditRevert]", host: { attributes: { "type": "button" } }, usesInheritance: true, ngImport: i0 }); }
|
|
41
36
|
}
|
|
42
|
-
|
|
43
|
-
MatEditRevert.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.2", type: MatEditRevert, selector: "button[matEditRevert]", host: { attributes: { "type": "button" } }, usesInheritance: true, ngImport: i0 });
|
|
44
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatEditRevert, decorators: [{
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatEditRevert, decorators: [{
|
|
45
38
|
type: Directive,
|
|
46
39
|
args: [{
|
|
47
40
|
selector: 'button[matEditRevert]',
|
|
@@ -52,21 +45,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
52
45
|
}] });
|
|
53
46
|
/** Closes the lens on click. */
|
|
54
47
|
class MatEditClose extends CdkEditClose {
|
|
48
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatEditClose, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
49
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: MatEditClose, selector: "[matEditClose]", usesInheritance: true, ngImport: i0 }); }
|
|
55
50
|
}
|
|
56
|
-
|
|
57
|
-
MatEditClose.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.2", type: MatEditClose, selector: "[matEditClose]", usesInheritance: true, ngImport: i0 });
|
|
58
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatEditClose, decorators: [{
|
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatEditClose, decorators: [{
|
|
59
52
|
type: Directive,
|
|
60
53
|
args: [{ selector: '[matEditClose]' }]
|
|
61
54
|
}] });
|
|
62
55
|
|
|
63
|
-
/**
|
|
64
|
-
* @license
|
|
65
|
-
* Copyright Google LLC All Rights Reserved.
|
|
66
|
-
*
|
|
67
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
68
|
-
* found in the LICENSE file at https://angular.io/license
|
|
69
|
-
*/
|
|
70
56
|
const POPOVER_EDIT_HOST_BINDINGS = {
|
|
71
57
|
'[attr.tabindex]': 'disabled ? null : 0',
|
|
72
58
|
'class': 'mat-popover-edit-cell',
|
|
@@ -92,10 +78,10 @@ class MatPopoverEdit extends CdkPopoverEdit {
|
|
|
92
78
|
panelClass() {
|
|
93
79
|
return EDIT_PANE_CLASS;
|
|
94
80
|
}
|
|
81
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatPopoverEdit, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
82
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: MatPopoverEdit, selector: "[matPopoverEdit]:not([matPopoverEditTabOut])", inputs: { template: ["matPopoverEdit", "template"], context: ["matPopoverEditContext", "context"], colspan: ["matPopoverEditColspan", "colspan"], disabled: ["matPopoverEditDisabled", "disabled"] }, host: { properties: { "attr.tabindex": "disabled ? null : 0", "attr.aria-haspopup": "!disabled" }, classAttribute: "mat-popover-edit-cell" }, usesInheritance: true, ngImport: i0 }); }
|
|
95
83
|
}
|
|
96
|
-
|
|
97
|
-
MatPopoverEdit.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.2", type: MatPopoverEdit, selector: "[matPopoverEdit]:not([matPopoverEditTabOut])", inputs: { template: ["matPopoverEdit", "template"], context: ["matPopoverEditContext", "context"], colspan: ["matPopoverEditColspan", "colspan"], disabled: ["matPopoverEditDisabled", "disabled"] }, host: { properties: { "attr.tabindex": "disabled ? null : 0", "attr.aria-haspopup": "!disabled" }, classAttribute: "mat-popover-edit-cell" }, usesInheritance: true, ngImport: i0 });
|
|
98
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatPopoverEdit, decorators: [{
|
|
84
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatPopoverEdit, decorators: [{
|
|
99
85
|
type: Directive,
|
|
100
86
|
args: [{
|
|
101
87
|
selector: '[matPopoverEdit]:not([matPopoverEditTabOut])',
|
|
@@ -112,10 +98,10 @@ class MatPopoverEditTabOut extends CdkPopoverEditTabOut {
|
|
|
112
98
|
panelClass() {
|
|
113
99
|
return EDIT_PANE_CLASS;
|
|
114
100
|
}
|
|
101
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatPopoverEditTabOut, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
102
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: MatPopoverEditTabOut, selector: "[matPopoverEdit][matPopoverEditTabOut]", inputs: { template: ["matPopoverEdit", "template"], context: ["matPopoverEditContext", "context"], colspan: ["matPopoverEditColspan", "colspan"], disabled: ["matPopoverEditDisabled", "disabled"] }, host: { properties: { "attr.tabindex": "disabled ? null : 0", "attr.aria-haspopup": "!disabled" }, classAttribute: "mat-popover-edit-cell" }, usesInheritance: true, ngImport: i0 }); }
|
|
115
103
|
}
|
|
116
|
-
|
|
117
|
-
MatPopoverEditTabOut.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.2", type: MatPopoverEditTabOut, selector: "[matPopoverEdit][matPopoverEditTabOut]", inputs: { template: ["matPopoverEdit", "template"], context: ["matPopoverEditContext", "context"], colspan: ["matPopoverEditColspan", "colspan"], disabled: ["matPopoverEditDisabled", "disabled"] }, host: { properties: { "attr.tabindex": "disabled ? null : 0", "attr.aria-haspopup": "!disabled" }, classAttribute: "mat-popover-edit-cell" }, usesInheritance: true, ngImport: i0 });
|
|
118
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatPopoverEditTabOut, decorators: [{
|
|
104
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatPopoverEditTabOut, decorators: [{
|
|
119
105
|
type: Directive,
|
|
120
106
|
args: [{
|
|
121
107
|
selector: '[matPopoverEdit][matPopoverEditTabOut]',
|
|
@@ -150,10 +136,10 @@ class MatRowHoverContent extends CdkRowHoverContent {
|
|
|
150
136
|
});
|
|
151
137
|
});
|
|
152
138
|
}
|
|
139
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatRowHoverContent, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
140
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: MatRowHoverContent, selector: "[matRowHoverContent]", usesInheritance: true, ngImport: i0 }); }
|
|
153
141
|
}
|
|
154
|
-
|
|
155
|
-
MatRowHoverContent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.2", type: MatRowHoverContent, selector: "[matRowHoverContent]", usesInheritance: true, ngImport: i0 });
|
|
156
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatRowHoverContent, decorators: [{
|
|
142
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatRowHoverContent, decorators: [{
|
|
157
143
|
type: Directive,
|
|
158
144
|
args: [{
|
|
159
145
|
selector: '[matRowHoverContent]',
|
|
@@ -164,42 +150,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
164
150
|
* element or an ancestor element.
|
|
165
151
|
*/
|
|
166
152
|
class MatEditOpen extends CdkEditOpen {
|
|
153
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatEditOpen, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
154
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: MatEditOpen, selector: "[matEditOpen]", usesInheritance: true, ngImport: i0 }); }
|
|
167
155
|
}
|
|
168
|
-
|
|
169
|
-
MatEditOpen.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.2", type: MatEditOpen, selector: "[matEditOpen]", usesInheritance: true, ngImport: i0 });
|
|
170
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatEditOpen, decorators: [{
|
|
156
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatEditOpen, decorators: [{
|
|
171
157
|
type: Directive,
|
|
172
158
|
args: [{
|
|
173
159
|
selector: '[matEditOpen]',
|
|
174
160
|
}]
|
|
175
161
|
}] });
|
|
176
162
|
|
|
177
|
-
/**
|
|
178
|
-
* @license
|
|
179
|
-
* Copyright Google LLC All Rights Reserved.
|
|
180
|
-
*
|
|
181
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
182
|
-
* found in the LICENSE file at https://angular.io/license
|
|
183
|
-
*/
|
|
184
163
|
class MatPopoverEditModule {
|
|
164
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatPopoverEditModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
165
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatPopoverEditModule, declarations: [MatPopoverEdit,
|
|
166
|
+
MatPopoverEditTabOut,
|
|
167
|
+
MatRowHoverContent,
|
|
168
|
+
MatEditLens,
|
|
169
|
+
MatEditRevert,
|
|
170
|
+
MatEditClose,
|
|
171
|
+
MatEditOpen], imports: [CdkPopoverEditModule, MatCommonModule], exports: [MatPopoverEdit,
|
|
172
|
+
MatPopoverEditTabOut,
|
|
173
|
+
MatRowHoverContent,
|
|
174
|
+
MatEditLens,
|
|
175
|
+
MatEditRevert,
|
|
176
|
+
MatEditClose,
|
|
177
|
+
MatEditOpen,
|
|
178
|
+
CdkEditable] }); }
|
|
179
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatPopoverEditModule, imports: [CdkPopoverEditModule, MatCommonModule] }); }
|
|
185
180
|
}
|
|
186
|
-
|
|
187
|
-
MatPopoverEditModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatPopoverEditModule, declarations: [MatPopoverEdit,
|
|
188
|
-
MatPopoverEditTabOut,
|
|
189
|
-
MatRowHoverContent,
|
|
190
|
-
MatEditLens,
|
|
191
|
-
MatEditRevert,
|
|
192
|
-
MatEditClose,
|
|
193
|
-
MatEditOpen], imports: [CdkPopoverEditModule, MatCommonModule], exports: [MatPopoverEdit,
|
|
194
|
-
MatPopoverEditTabOut,
|
|
195
|
-
MatRowHoverContent,
|
|
196
|
-
MatEditLens,
|
|
197
|
-
MatEditRevert,
|
|
198
|
-
MatEditClose,
|
|
199
|
-
MatEditOpen,
|
|
200
|
-
CdkEditable] });
|
|
201
|
-
MatPopoverEditModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatPopoverEditModule, imports: [CdkPopoverEditModule, MatCommonModule] });
|
|
202
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatPopoverEditModule, decorators: [{
|
|
181
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatPopoverEditModule, decorators: [{
|
|
203
182
|
type: NgModule,
|
|
204
183
|
args: [{
|
|
205
184
|
imports: [CdkPopoverEditModule, MatCommonModule],
|
|
@@ -225,22 +204,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
225
204
|
}]
|
|
226
205
|
}] });
|
|
227
206
|
|
|
228
|
-
/**
|
|
229
|
-
* @license
|
|
230
|
-
* Copyright Google LLC All Rights Reserved.
|
|
231
|
-
*
|
|
232
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
233
|
-
* found in the LICENSE file at https://angular.io/license
|
|
234
|
-
*/
|
|
235
|
-
|
|
236
|
-
/**
|
|
237
|
-
* @license
|
|
238
|
-
* Copyright Google LLC All Rights Reserved.
|
|
239
|
-
*
|
|
240
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
241
|
-
* found in the LICENSE file at https://angular.io/license
|
|
242
|
-
*/
|
|
243
|
-
|
|
244
207
|
/**
|
|
245
208
|
* Generated bundle index. Do not edit.
|
|
246
209
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popover-edit.mjs","sources":["../../../../../../src/material-experimental/popover-edit/lens-directives.ts","../../../../../../src/material-experimental/popover-edit/table-directives.ts","../../../../../../src/material-experimental/popover-edit/popover-edit-module.ts","../../../../../../src/material-experimental/popover-edit/popover-edit_public_index.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {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 'clickOutBehavior: matEditLensClickOutBehavior',\n 'preservedFormValue: matEditLensPreservedFormValue',\n 'ignoreSubmitUnlessValid: 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({selector: '[matEditClose]'})\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.io/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 'template: matPopoverEdit',\n 'context: matPopoverEditContext',\n 'colspan: matPopoverEditColspan',\n 'disabled: matPopoverEditDisabled',\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.io/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: [CdkPopoverEditModule, MatCommonModule],\n exports: [\n MatPopoverEdit,\n MatPopoverEditTabOut,\n MatRowHoverContent,\n MatEditLens,\n MatEditRevert,\n MatEditClose,\n MatEditOpen,\n CdkEditable,\n ],\n declarations: [\n MatPopoverEdit,\n MatPopoverEditTabOut,\n MatRowHoverContent,\n MatEditLens,\n MatEditRevert,\n MatEditClose,\n MatEditOpen,\n ],\n})\nexport class MatPopoverEditModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAiBA;;;;;AAKG;AACH,MAaa,WAAuB,SAAQ,cAAyB,CAAA;qHAAxD,WAAW,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;yGAAX,WAAW,EAAA,QAAA,EAAA,mBAAA,EAAA,MAAA,EAAA,EAAA,gBAAA,EAAA,CAAA,6BAAA,EAAA,kBAAA,CAAA,EAAA,kB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AY;YACZ,WAAW;YACX,WAAW,CAAA,EAAA,CAAA,CAAA,EAAA;sHAYF,oBAAoB,EAAA,OAAA,EAAA,CArBrB,oBAAoB,EAAE,eAAe,CAAA,EAAA,CAAA,CAAA,EAAA;;kGAqBpC,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAtBhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,oBAAoB,EAAE,eAAe,CAAC;AAChD,oBAAA,OAAO,EAAE;wBACP,cAAc;wBACd,oBAAoB;wBACpB,kBAAkB;wBAClB,WAAW;wBACX,aAAa;wBACb,YAAY;wBACZ,WAAW;wBACX,WAAW;AACZ,qBAAA;AACD,oBAAA,YAAY,EAAE;wBACZ,cAAc;wBACd,oBAAoB;wBACpB,kBAAkB;wBAClB,WAAW;wBACX,aAAa;wBACb,YAAY;wBACZ,WAAW;AACZ,qBAAA;AACF,iBAAA,CAAA;;;ACxCD;;AAEG;;;;"}
|
|
@@ -9,13 +9,6 @@ import { CommonModule } from '@angular/common';
|
|
|
9
9
|
import * as i3 from '@angular/material/checkbox';
|
|
10
10
|
import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
11
11
|
|
|
12
|
-
/**
|
|
13
|
-
* @license
|
|
14
|
-
* Copyright Google LLC All Rights Reserved.
|
|
15
|
-
*
|
|
16
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
17
|
-
* found in the LICENSE file at https://angular.io/license
|
|
18
|
-
*/
|
|
19
12
|
/**
|
|
20
13
|
* Manages the selection states of the items and provides methods to check and update the selection
|
|
21
14
|
* states.
|
|
@@ -35,10 +28,10 @@ class MatSelection extends CdkSelection {
|
|
|
35
28
|
set multiple(multiple) {
|
|
36
29
|
this._multiple = coerceBooleanProperty(multiple);
|
|
37
30
|
}
|
|
31
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatSelection, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
32
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: MatSelection, selector: "[matSelection]", inputs: { multiple: ["matSelectionMultiple", "multiple"] }, outputs: { change: "matSelectionChange" }, providers: [{ provide: CdkSelection, useExisting: MatSelection }], exportAs: ["matSelection"], usesInheritance: true, ngImport: i0 }); }
|
|
38
33
|
}
|
|
39
|
-
|
|
40
|
-
MatSelection.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.2", type: MatSelection, selector: "[matSelection]", inputs: { multiple: ["matSelectionMultiple", "multiple"] }, outputs: { change: "matSelectionChange" }, providers: [{ provide: CdkSelection, useExisting: MatSelection }], exportAs: ["matSelection"], usesInheritance: true, ngImport: i0 });
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatSelection, decorators: [{
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatSelection, decorators: [{
|
|
42
35
|
type: Directive,
|
|
43
36
|
args: [{
|
|
44
37
|
selector: '[matSelection]',
|
|
@@ -53,13 +46,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
53
46
|
args: ['matSelectionChange']
|
|
54
47
|
}] } });
|
|
55
48
|
|
|
56
|
-
/**
|
|
57
|
-
* @license
|
|
58
|
-
* Copyright Google LLC All Rights Reserved.
|
|
59
|
-
*
|
|
60
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
61
|
-
* found in the LICENSE file at https://angular.io/license
|
|
62
|
-
*/
|
|
63
49
|
/**
|
|
64
50
|
* Makes the element a select-all toggle.
|
|
65
51
|
*
|
|
@@ -71,10 +57,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
71
57
|
* and `toggle()` to change the selection state.
|
|
72
58
|
*/
|
|
73
59
|
class MatSelectAll extends CdkSelectAll {
|
|
60
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatSelectAll, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
61
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: MatSelectAll, selector: "[matSelectAll]", providers: [{ provide: CdkSelectAll, useExisting: MatSelectAll }], exportAs: ["matSelectAll"], usesInheritance: true, ngImport: i0 }); }
|
|
74
62
|
}
|
|
75
|
-
|
|
76
|
-
MatSelectAll.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.2", type: MatSelectAll, selector: "[matSelectAll]", providers: [{ provide: CdkSelectAll, useExisting: MatSelectAll }], exportAs: ["matSelectAll"], usesInheritance: true, ngImport: i0 });
|
|
77
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatSelectAll, decorators: [{
|
|
63
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatSelectAll, decorators: [{
|
|
78
64
|
type: Directive,
|
|
79
65
|
args: [{
|
|
80
66
|
selector: '[matSelectAll]',
|
|
@@ -83,13 +69,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
83
69
|
}]
|
|
84
70
|
}] });
|
|
85
71
|
|
|
86
|
-
/**
|
|
87
|
-
* @license
|
|
88
|
-
* Copyright Google LLC All Rights Reserved.
|
|
89
|
-
*
|
|
90
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
91
|
-
* found in the LICENSE file at https://angular.io/license
|
|
92
|
-
*/
|
|
93
72
|
/**
|
|
94
73
|
* Makes the element a selection toggle.
|
|
95
74
|
*
|
|
@@ -101,10 +80,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
101
80
|
* state.
|
|
102
81
|
*/
|
|
103
82
|
class MatSelectionToggle extends CdkSelectionToggle {
|
|
83
|
+
constructor() {
|
|
84
|
+
super(...arguments);
|
|
85
|
+
/** The value that is associated with the toggle */
|
|
86
|
+
this.value = undefined;
|
|
87
|
+
}
|
|
88
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatSelectionToggle, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
89
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: MatSelectionToggle, selector: "[matSelectionToggle]", inputs: { index: ["matSelectionToggleIndex", "index"], value: ["matSelectionToggleValue", "value"] }, providers: [{ provide: CdkSelectionToggle, useExisting: MatSelectionToggle }], exportAs: ["matSelectionToggle"], usesInheritance: true, ngImport: i0 }); }
|
|
104
90
|
}
|
|
105
|
-
|
|
106
|
-
MatSelectionToggle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.2", type: MatSelectionToggle, selector: "[matSelectionToggle]", inputs: { index: ["matSelectionToggleIndex", "index"], value: ["matSelectionToggleValue", "value"] }, providers: [{ provide: CdkSelectionToggle, useExisting: MatSelectionToggle }], exportAs: ["matSelectionToggle"], usesInheritance: true, ngImport: i0 });
|
|
107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatSelectionToggle, decorators: [{
|
|
91
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatSelectionToggle, decorators: [{
|
|
108
92
|
type: Directive,
|
|
109
93
|
args: [{
|
|
110
94
|
selector: '[matSelectionToggle]',
|
|
@@ -117,13 +101,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
117
101
|
args: ['matSelectionToggleValue']
|
|
118
102
|
}] } });
|
|
119
103
|
|
|
120
|
-
/**
|
|
121
|
-
* @license
|
|
122
|
-
* Copyright Google LLC All Rights Reserved.
|
|
123
|
-
*
|
|
124
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
125
|
-
* found in the LICENSE file at https://angular.io/license
|
|
126
|
-
*/
|
|
127
104
|
/**
|
|
128
105
|
* Column that adds row selecting checkboxes and a select-all checkbox if `matSelectionMultiple` is
|
|
129
106
|
* `true`.
|
|
@@ -167,9 +144,8 @@ class MatSelectionColumn {
|
|
|
167
144
|
this._columnDef.name = this._name;
|
|
168
145
|
}
|
|
169
146
|
}
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
MatSelectionColumn.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0-next.2", type: MatSelectionColumn, selector: "mat-selection-column", inputs: { name: "name" }, viewQueries: [{ propertyName: "_columnDef", first: true, predicate: MatLegacyColumnDef, descendants: true, static: true }, { propertyName: "_cell", first: true, predicate: MatLegacyCellDef, descendants: true, static: true }, { propertyName: "_headerCell", first: true, predicate: MatLegacyHeaderCellDef, descendants: true, static: true }], ngImport: i0, template: `
|
|
147
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatSelectionColumn, deps: [{ token: MatLegacyTable, optional: true }, { token: MatSelection, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
148
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0-next.7", type: MatSelectionColumn, selector: "mat-selection-column", inputs: { name: "name" }, viewQueries: [{ propertyName: "_columnDef", first: true, predicate: MatLegacyColumnDef, descendants: true, static: true }, { propertyName: "_cell", first: true, predicate: MatLegacyCellDef, descendants: true, static: true }, { propertyName: "_headerCell", first: true, predicate: MatLegacyHeaderCellDef, descendants: true, static: true }], ngImport: i0, template: `
|
|
173
149
|
<ng-container matColumnDef>
|
|
174
150
|
<th mat-header-cell *matHeaderCellDef class="mat-selection-column-header">
|
|
175
151
|
<mat-checkbox *ngIf="selection.multiple"
|
|
@@ -184,8 +160,9 @@ MatSelectionColumn.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
|
184
160
|
[matSelectionToggleIndex]="i"></mat-checkbox>
|
|
185
161
|
</td>
|
|
186
162
|
</ng-container>
|
|
187
|
-
`, isInline: true, styles: ["th.mat-selection-column-header,td.mat-selection-column-cell{text-align:center;width:48px}"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.MatLegacyHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i2.MatLegacyColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { kind: "directive", type: i2.MatLegacyCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i2.MatLegacyHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i2.MatLegacyCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i3.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }, { kind: "directive", type: MatSelectAll, selector: "[matSelectAll]", exportAs: ["matSelectAll"] }, { kind: "directive", type: MatSelectionToggle, selector: "[matSelectionToggle]", inputs: ["matSelectionToggleIndex", "matSelectionToggleValue"], exportAs: ["matSelectionToggle"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
188
|
-
|
|
163
|
+
`, isInline: true, styles: ["th.mat-selection-column-header,td.mat-selection-column-cell{text-align:center;width:48px}"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.MatLegacyHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i2.MatLegacyColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { kind: "directive", type: i2.MatLegacyCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i2.MatLegacyHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i2.MatLegacyCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i3.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }, { kind: "directive", type: MatSelectAll, selector: "[matSelectAll]", exportAs: ["matSelectAll"] }, { kind: "directive", type: MatSelectionToggle, selector: "[matSelectionToggle]", inputs: ["matSelectionToggleIndex", "matSelectionToggleValue"], exportAs: ["matSelectionToggle"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
164
|
+
}
|
|
165
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatSelectionColumn, decorators: [{
|
|
189
166
|
type: Component,
|
|
190
167
|
args: [{ selector: 'mat-selection-column', template: `
|
|
191
168
|
<ng-container matColumnDef>
|
|
@@ -226,13 +203,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
226
203
|
args: [MatLegacyHeaderCellDef, { static: true }]
|
|
227
204
|
}] } });
|
|
228
205
|
|
|
229
|
-
/**
|
|
230
|
-
* @license
|
|
231
|
-
* Copyright Google LLC All Rights Reserved.
|
|
232
|
-
*
|
|
233
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
234
|
-
* found in the LICENSE file at https://angular.io/license
|
|
235
|
-
*/
|
|
236
206
|
/**
|
|
237
207
|
* Applies `mat-selected` class and `aria-selected` to an element.
|
|
238
208
|
*
|
|
@@ -241,10 +211,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
241
211
|
* directive.
|
|
242
212
|
*/
|
|
243
213
|
class MatRowSelection extends CdkRowSelection {
|
|
214
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatRowSelection, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
215
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: MatRowSelection, 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 }); }
|
|
244
216
|
}
|
|
245
|
-
|
|
246
|
-
MatRowSelection.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.2", type: MatRowSelection, 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 });
|
|
247
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatRowSelection, decorators: [{
|
|
217
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatRowSelection, decorators: [{
|
|
248
218
|
type: Directive,
|
|
249
219
|
args: [{
|
|
250
220
|
selector: '[matRowSelection]',
|
|
@@ -260,23 +230,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
260
230
|
args: ['matRowSelectionValue']
|
|
261
231
|
}] } });
|
|
262
232
|
|
|
263
|
-
|
|
264
|
-
* @license
|
|
265
|
-
* Copyright Google LLC All Rights Reserved.
|
|
266
|
-
*
|
|
267
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
268
|
-
* found in the LICENSE file at https://angular.io/license
|
|
269
|
-
*/
|
|
233
|
+
// TODO(yifange): Move the table-specific code to a separate module from the other selection
|
|
270
234
|
class MatSelectionModule {
|
|
235
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatSelectionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
236
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatSelectionModule, declarations: [MatSelectAll,
|
|
237
|
+
MatSelection,
|
|
238
|
+
MatSelectionToggle,
|
|
239
|
+
MatSelectionColumn,
|
|
240
|
+
MatRowSelection], imports: [CommonModule, MatLegacyTableModule, MatCheckboxModule], exports: [MatSelectAll, MatSelection, MatSelectionToggle, MatSelectionColumn, MatRowSelection] }); }
|
|
241
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatSelectionModule, imports: [CommonModule, MatLegacyTableModule, MatCheckboxModule] }); }
|
|
271
242
|
}
|
|
272
|
-
|
|
273
|
-
MatSelectionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatSelectionModule, declarations: [MatSelectAll,
|
|
274
|
-
MatSelection,
|
|
275
|
-
MatSelectionToggle,
|
|
276
|
-
MatSelectionColumn,
|
|
277
|
-
MatRowSelection], imports: [CommonModule, MatLegacyTableModule, MatCheckboxModule], exports: [MatSelectAll, MatSelection, MatSelectionToggle, MatSelectionColumn, MatRowSelection] });
|
|
278
|
-
MatSelectionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatSelectionModule, imports: [CommonModule, MatLegacyTableModule, MatCheckboxModule] });
|
|
279
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2", ngImport: i0, type: MatSelectionModule, decorators: [{
|
|
243
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatSelectionModule, decorators: [{
|
|
280
244
|
type: NgModule,
|
|
281
245
|
args: [{
|
|
282
246
|
imports: [CommonModule, MatLegacyTableModule, MatCheckboxModule],
|
|
@@ -291,22 +255,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
291
255
|
}]
|
|
292
256
|
}] });
|
|
293
257
|
|
|
294
|
-
/**
|
|
295
|
-
* @license
|
|
296
|
-
* Copyright Google LLC All Rights Reserved.
|
|
297
|
-
*
|
|
298
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
299
|
-
* found in the LICENSE file at https://angular.io/license
|
|
300
|
-
*/
|
|
301
|
-
|
|
302
|
-
/**
|
|
303
|
-
* @license
|
|
304
|
-
* Copyright Google LLC All Rights Reserved.
|
|
305
|
-
*
|
|
306
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
307
|
-
* found in the LICENSE file at https://angular.io/license
|
|
308
|
-
*/
|
|
309
|
-
|
|
310
258
|
/**
|
|
311
259
|
* Generated bundle index. Do not edit.
|
|
312
260
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selection.mjs","sources":["../../../../../../src/material-experimental/selection/selection.ts","../../../../../../src/material-experimental/selection/select-all.ts","../../../../../../src/material-experimental/selection/selection-toggle.ts","../../../../../../src/material-experimental/selection/selection-column.ts","../../../../../../src/material-experimental/selection/row-selection.ts","../../../../../../src/material-experimental/selection/selection-module.ts","../../../../../../src/material-experimental/selection/selection_public_index.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {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.io/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.io/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: ['index: 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.io/license\n */\n\nimport {\n MatLegacyCellDef,\n MatLegacyColumnDef,\n MatLegacyHeaderCellDef,\n MatLegacyTable,\n} from '@angular/material/legacy-table';\nimport {\n Component,\n Input,\n OnDestroy,\n OnInit,\n Optional,\n ViewChild,\n ChangeDetectionStrategy,\n ViewEncapsulation,\n Inject,\n} from '@angular/core';\n\nimport {MatSelection} from './selection';\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 <mat-checkbox *ngIf=\"selection.multiple\"\n matSelectAll\n #allToggler=\"matSelectAll\"\n [indeterminate]=\"allToggler.indeterminate | async\"></mat-checkbox>\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 styleUrls: ['selection-column.css'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class MatSelectionColumn<T> implements OnInit, OnDestroy {\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(MatLegacyColumnDef, {static: true}) private readonly _columnDef: MatLegacyColumnDef;\n @ViewChild(MatLegacyCellDef, {static: true}) private readonly _cell: MatLegacyCellDef;\n @ViewChild(MatLegacyHeaderCellDef, {static: true})\n private readonly _headerCell: MatLegacyHeaderCellDef;\n\n constructor(\n @Optional() @Inject(MatLegacyTable) private _table: MatLegacyTable<T>,\n @Optional() @Inject(MatSelection) readonly selection: MatSelection<T>,\n ) {}\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.io/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: ['index: matRowSelectionIndex'],\n})\nexport class MatRowSelection<T> extends CdkRowSelection<T> {\n /** The value that is associated with the row */\n @Input('matRowSelectionValue') override value: T;\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.io/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 {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {MatLegacyTableModule} from '@angular/material/legacy-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: [CommonModule, MatLegacyTableModule, MatCheckboxModule],\n exports: [MatSelectAll, MatSelection, MatSelectionToggle, MatSelectionColumn, MatRowSelection],\n declarations: [\n MatSelectAll,\n MatSelection,\n MatSelectionToggle,\n MatSelectionColumn,\n MatRowSelection,\n ],\n})\nexport class MatSelectionModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i4.MatSelectAll","i5.MatSelectionToggle"],"mappings":";;;;;;;;;;;AAYA;;;;;AAKG;AACH,MAMa,YAAgB,SAAQ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AAE,oBAAoB,EAAE,iBAAiB,CAAA,EAAA,OAAA,EAAA,CACrD,YAAY,EAAE,YAAY,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,eAAe,CAAA,EAAA,CAAA,CAAA,EAAA;AASlF,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,eAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,EAVnB,OAAA,EAAA,CAAA,YAAY,EAAE,oBAAoB,EAAE,iBAAiB,CAAA,EAAA,CAAA,CAAA,EAAA;;kGAUpD,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAX9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,oBAAoB,EAAE,iBAAiB,CAAC;oBAChE,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,eAAe,CAAC;AAC9F,oBAAA,YAAY,EAAE;wBACZ,YAAY;wBACZ,YAAY;wBACZ,kBAAkB;wBAClB,kBAAkB;wBAClB,eAAe;AAChB,qBAAA;AACF,iBAAA,CAAA;;;AC9BD;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/material-experimental",
|
|
3
|
-
"version": "16.0.0-
|
|
3
|
+
"version": "16.0.0-rc.0",
|
|
4
4
|
"description": "Experimental components for Angular Material",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,56 +15,46 @@
|
|
|
15
15
|
".": {
|
|
16
16
|
"sass": "./_index.scss",
|
|
17
17
|
"types": "./index.d.ts",
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"node": "./fesm2015/material-experimental.mjs",
|
|
22
|
-
"default": "./fesm2020/material-experimental.mjs"
|
|
18
|
+
"esm2022": "./esm2022/index.mjs",
|
|
19
|
+
"esm": "./esm2022/index.mjs",
|
|
20
|
+
"default": "./fesm2022/material-experimental.mjs"
|
|
23
21
|
},
|
|
24
22
|
"./package.json": {
|
|
25
23
|
"default": "./package.json"
|
|
26
24
|
},
|
|
27
25
|
"./column-resize": {
|
|
28
26
|
"types": "./column-resize/index.d.ts",
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"node": "./fesm2015/column-resize.mjs",
|
|
33
|
-
"default": "./fesm2020/column-resize.mjs"
|
|
27
|
+
"esm2022": "./esm2022/column-resize/column-resize_public_index.mjs",
|
|
28
|
+
"esm": "./esm2022/column-resize/column-resize_public_index.mjs",
|
|
29
|
+
"default": "./fesm2022/column-resize.mjs"
|
|
34
30
|
},
|
|
35
31
|
"./menubar": {
|
|
36
32
|
"types": "./menubar/index.d.ts",
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"node": "./fesm2015/menubar.mjs",
|
|
41
|
-
"default": "./fesm2020/menubar.mjs"
|
|
33
|
+
"esm2022": "./esm2022/menubar/menubar_public_index.mjs",
|
|
34
|
+
"esm": "./esm2022/menubar/menubar_public_index.mjs",
|
|
35
|
+
"default": "./fesm2022/menubar.mjs"
|
|
42
36
|
},
|
|
43
37
|
"./popover-edit": {
|
|
44
38
|
"types": "./popover-edit/index.d.ts",
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"node": "./fesm2015/popover-edit.mjs",
|
|
49
|
-
"default": "./fesm2020/popover-edit.mjs"
|
|
39
|
+
"esm2022": "./esm2022/popover-edit/popover-edit_public_index.mjs",
|
|
40
|
+
"esm": "./esm2022/popover-edit/popover-edit_public_index.mjs",
|
|
41
|
+
"default": "./fesm2022/popover-edit.mjs"
|
|
50
42
|
},
|
|
51
43
|
"./selection": {
|
|
52
44
|
"types": "./selection/index.d.ts",
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"node": "./fesm2015/selection.mjs",
|
|
57
|
-
"default": "./fesm2020/selection.mjs"
|
|
45
|
+
"esm2022": "./esm2022/selection/selection_public_index.mjs",
|
|
46
|
+
"esm": "./esm2022/selection/selection_public_index.mjs",
|
|
47
|
+
"default": "./fesm2022/selection.mjs"
|
|
58
48
|
}
|
|
59
49
|
},
|
|
60
50
|
"peerDependencies": {
|
|
61
51
|
"@angular/animations": "^16.0.0-0 || ^16.1.0-0 || ^16.2.0-0 || ^16.3.0-0 || ^17.0.0-0",
|
|
62
|
-
"@angular/cdk": "16.0.0-
|
|
52
|
+
"@angular/cdk": "16.0.0-rc.0",
|
|
63
53
|
"@angular/core": "^16.0.0-0 || ^16.1.0-0 || ^16.2.0-0 || ^16.3.0-0 || ^17.0.0-0",
|
|
64
54
|
"@angular/common": "^16.0.0-0 || ^16.1.0-0 || ^16.2.0-0 || ^16.3.0-0 || ^17.0.0-0",
|
|
65
55
|
"@angular/forms": "^16.0.0-0 || ^16.1.0-0 || ^16.2.0-0 || ^16.3.0-0 || ^17.0.0-0",
|
|
66
56
|
"@angular/platform-browser": "^16.0.0-0 || ^16.1.0-0 || ^16.2.0-0 || ^16.3.0-0 || ^17.0.0-0",
|
|
67
|
-
"@angular/material": "16.0.0-
|
|
57
|
+
"@angular/material": "16.0.0-rc.0"
|
|
68
58
|
},
|
|
69
59
|
"dependencies": {
|
|
70
60
|
"tslib": "^2.3.0",
|
|
@@ -117,11 +107,7 @@
|
|
|
117
107
|
"@material/typography": "15.0.0-canary.684e33d25.0"
|
|
118
108
|
},
|
|
119
109
|
"sideEffects": false,
|
|
120
|
-
"
|
|
121
|
-
"fesm2015": "./fesm2015/material-experimental.mjs",
|
|
122
|
-
"esm2020": "./esm2020/index.mjs",
|
|
110
|
+
"module": "./fesm2022/material-experimental.mjs",
|
|
123
111
|
"typings": "./index.d.ts",
|
|
124
|
-
"module": "./fesm2015/material-experimental.mjs",
|
|
125
|
-
"es2020": "./fesm2020/material-experimental.mjs",
|
|
126
112
|
"type": "module"
|
|
127
113
|
}
|