@angular/material-experimental 16.0.0-next.5 → 16.0.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/column-resize/index.d.ts +2 -2
  2. package/{esm2020 → esm2022}/column-resize/column-resize-directives/column-resize-flex.mjs +3 -3
  3. package/{esm2020 → esm2022}/column-resize/column-resize-directives/column-resize.mjs +3 -3
  4. package/{esm2020 → esm2022}/column-resize/column-resize-directives/default-enabled-column-resize-flex.mjs +6 -6
  5. package/{esm2020 → esm2022}/column-resize/column-resize-directives/default-enabled-column-resize.mjs +6 -6
  6. package/{esm2020 → esm2022}/column-resize/column-resize-module.mjs +12 -12
  7. package/{esm2020 → esm2022}/column-resize/overlay-handle.mjs +3 -3
  8. package/{esm2020 → esm2022}/column-resize/resizable-directives/default-enabled-resizable.mjs +3 -3
  9. package/{esm2020 → esm2022}/column-resize/resizable-directives/resizable.mjs +3 -3
  10. package/esm2022/column-resize/resize-strategy.mjs +48 -0
  11. package/{esm2020 → esm2022}/menubar/menubar-item.mjs +3 -3
  12. package/{esm2020 → esm2022}/menubar/menubar-module.mjs +4 -4
  13. package/{esm2020 → esm2022}/menubar/menubar.mjs +8 -8
  14. package/{esm2020 → esm2022}/popover-edit/lens-directives.mjs +7 -7
  15. package/{esm2020 → esm2022}/popover-edit/popover-edit-module.mjs +17 -17
  16. package/{esm2020 → esm2022}/popover-edit/table-directives.mjs +9 -9
  17. package/{esm2020 → esm2022}/selection/row-selection.mjs +3 -3
  18. package/{esm2020 → esm2022}/selection/select-all.mjs +3 -3
  19. package/{esm2020 → esm2022}/selection/selection-column.mjs +5 -5
  20. package/{esm2020 → esm2022}/selection/selection-module.mjs +8 -8
  21. package/esm2022/selection/selection-toggle.mjs +43 -0
  22. package/{esm2020 → esm2022}/selection/selection.mjs +3 -3
  23. package/{esm2020 → esm2022}/version.mjs +1 -1
  24. package/{fesm2020 → fesm2022}/column-resize.mjs +41 -36
  25. package/fesm2022/column-resize.mjs.map +1 -0
  26. package/{fesm2015 → fesm2022}/material-experimental.mjs +1 -1
  27. package/{fesm2015 → fesm2022}/material-experimental.mjs.map +1 -1
  28. package/{fesm2020 → fesm2022}/menubar.mjs +12 -12
  29. package/{fesm2020 → fesm2022}/menubar.mjs.map +1 -1
  30. package/{fesm2020 → fesm2022}/popover-edit.mjs +30 -30
  31. package/{fesm2020 → fesm2022}/popover-edit.mjs.map +1 -1
  32. package/{fesm2020 → fesm2022}/selection.mjs +24 -19
  33. package/fesm2022/selection.mjs.map +1 -0
  34. package/package.json +19 -33
  35. package/esm2020/column-resize/resize-strategy.mjs +0 -43
  36. package/esm2020/selection/selection-toggle.mjs +0 -38
  37. package/fesm2015/column-resize.mjs +0 -384
  38. package/fesm2015/column-resize.mjs.map +0 -1
  39. package/fesm2015/menubar.mjs +0 -84
  40. package/fesm2015/menubar.mjs.map +0 -1
  41. package/fesm2015/popover-edit.mjs +0 -212
  42. package/fesm2015/popover-edit.mjs.map +0 -1
  43. package/fesm2015/selection.mjs +0 -260
  44. package/fesm2015/selection.mjs.map +0 -1
  45. package/fesm2020/column-resize.mjs.map +0 -1
  46. package/fesm2020/material-experimental.mjs +0 -7
  47. package/fesm2020/material-experimental.mjs.map +0 -1
  48. package/fesm2020/selection.mjs.map +0 -1
  49. /package/{esm2020 → esm2022}/column-resize/column-resize-directives/common.mjs +0 -0
  50. /package/{esm2020 → esm2022}/column-resize/column-resize_public_index.mjs +0 -0
  51. /package/{esm2020 → esm2022}/column-resize/index.mjs +0 -0
  52. /package/{esm2020 → esm2022}/column-resize/public-api.mjs +0 -0
  53. /package/{esm2020 → esm2022}/column-resize/resizable-directives/common.mjs +0 -0
  54. /package/{esm2020 → esm2022}/index.mjs +0 -0
  55. /package/{esm2020 → esm2022}/menubar/index.mjs +0 -0
  56. /package/{esm2020 → esm2022}/menubar/menubar_public_index.mjs +0 -0
  57. /package/{esm2020 → esm2022}/menubar/public-api.mjs +0 -0
  58. /package/{esm2020 → esm2022}/popover-edit/index.mjs +0 -0
  59. /package/{esm2020 → esm2022}/popover-edit/popover-edit_public_index.mjs +0 -0
  60. /package/{esm2020 → esm2022}/popover-edit/public-api.mjs +0 -0
  61. /package/{esm2020 → esm2022}/public-api.mjs +0 -0
  62. /package/{esm2020 → esm2022}/selection/index.mjs +0 -0
  63. /package/{esm2020 → esm2022}/selection/public-api.mjs +0 -0
  64. /package/{esm2020 → esm2022}/selection/selection_public_index.mjs +0 -0
@@ -1,212 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Directive, NgModule } from '@angular/core';
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
-
6
- /**
7
- * A component that attaches to a form within the edit.
8
- * It coordinates the form state with the table-wide edit system and handles
9
- * closing the edit when the form is submitted or the user clicks
10
- * out.
11
- */
12
- class MatEditLens extends CdkEditControl {
13
- }
14
- MatEditLens.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatEditLens, deps: null, target: i0.ɵɵFactoryTarget.Directive });
15
- MatEditLens.ɵ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 });
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatEditLens, decorators: [{
17
- type: Directive,
18
- args: [{
19
- selector: 'form[matEditLens]',
20
- host: {
21
- 'class': 'mat-edit-lens',
22
- },
23
- inputs: [
24
- 'clickOutBehavior: matEditLensClickOutBehavior',
25
- 'preservedFormValue: matEditLensPreservedFormValue',
26
- 'ignoreSubmitUnlessValid: matEditLensIgnoreSubmitUnlessValid',
27
- ],
28
- outputs: ['preservedFormValueChange: matEditLensPreservedFormValueChange'],
29
- providers: [EditRef],
30
- }]
31
- }] });
32
- /** Reverts the form to its initial or previously submitted state on click. */
33
- class MatEditRevert extends CdkEditRevert {
34
- }
35
- MatEditRevert.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatEditRevert, deps: null, target: i0.ɵɵFactoryTarget.Directive });
36
- MatEditRevert.ɵ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 });
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatEditRevert, decorators: [{
38
- type: Directive,
39
- args: [{
40
- selector: 'button[matEditRevert]',
41
- host: {
42
- 'type': 'button', // Prevents accidental form submits.
43
- },
44
- }]
45
- }] });
46
- /** Closes the lens on click. */
47
- class MatEditClose extends CdkEditClose {
48
- }
49
- MatEditClose.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatEditClose, deps: null, target: i0.ɵɵFactoryTarget.Directive });
50
- MatEditClose.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: MatEditClose, selector: "[matEditClose]", usesInheritance: true, ngImport: i0 });
51
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatEditClose, decorators: [{
52
- type: Directive,
53
- args: [{ selector: '[matEditClose]' }]
54
- }] });
55
-
56
- const POPOVER_EDIT_HOST_BINDINGS = {
57
- '[attr.tabindex]': 'disabled ? null : 0',
58
- 'class': 'mat-popover-edit-cell',
59
- '[attr.aria-haspopup]': '!disabled',
60
- };
61
- const POPOVER_EDIT_INPUTS = [
62
- 'template: matPopoverEdit',
63
- 'context: matPopoverEditContext',
64
- 'colspan: matPopoverEditColspan',
65
- 'disabled: matPopoverEditDisabled',
66
- ];
67
- const EDIT_PANE_CLASS = 'mat-edit-pane';
68
- const MAT_ROW_HOVER_CLASS = 'mat-row-hover-content';
69
- const MAT_ROW_HOVER_RTL_CLASS = MAT_ROW_HOVER_CLASS + '-rtl';
70
- const MAT_ROW_HOVER_ANIMATE_CLASS = MAT_ROW_HOVER_CLASS + '-visible';
71
- const MAT_ROW_HOVER_CELL_CLASS = MAT_ROW_HOVER_CLASS + '-host-cell';
72
- /**
73
- * Attaches an ng-template to a cell and shows it when instructed to by the
74
- * EditEventDispatcher service.
75
- * Makes the cell focusable.
76
- */
77
- class MatPopoverEdit extends CdkPopoverEdit {
78
- panelClass() {
79
- return EDIT_PANE_CLASS;
80
- }
81
- }
82
- MatPopoverEdit.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatPopoverEdit, deps: null, target: i0.ɵɵFactoryTarget.Directive });
83
- MatPopoverEdit.ɵ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 });
84
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatPopoverEdit, decorators: [{
85
- type: Directive,
86
- args: [{
87
- selector: '[matPopoverEdit]:not([matPopoverEditTabOut])',
88
- host: POPOVER_EDIT_HOST_BINDINGS,
89
- inputs: POPOVER_EDIT_INPUTS,
90
- }]
91
- }] });
92
- /**
93
- * Attaches an ng-template to a cell and shows it when instructed to by the
94
- * EditEventDispatcher service.
95
- * Makes the cell focusable.
96
- */
97
- class MatPopoverEditTabOut extends CdkPopoverEditTabOut {
98
- panelClass() {
99
- return EDIT_PANE_CLASS;
100
- }
101
- }
102
- MatPopoverEditTabOut.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatPopoverEditTabOut, deps: null, target: i0.ɵɵFactoryTarget.Directive });
103
- MatPopoverEditTabOut.ɵ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 });
104
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatPopoverEditTabOut, decorators: [{
105
- type: Directive,
106
- args: [{
107
- selector: '[matPopoverEdit][matPopoverEditTabOut]',
108
- host: POPOVER_EDIT_HOST_BINDINGS,
109
- inputs: POPOVER_EDIT_INPUTS,
110
- }]
111
- }] });
112
- /**
113
- * A structural directive that shows its contents when the table row containing
114
- * it is hovered or when an element in the row has focus.
115
- */
116
- class MatRowHoverContent extends CdkRowHoverContent {
117
- initElement(element) {
118
- super.initElement(element);
119
- element.classList.add(MAT_ROW_HOVER_CLASS);
120
- }
121
- makeElementHiddenButFocusable(element) {
122
- element.classList.remove(MAT_ROW_HOVER_ANIMATE_CLASS);
123
- }
124
- makeElementVisible(element) {
125
- _closest(this.elementRef.nativeElement, _CELL_SELECTOR).classList.add(MAT_ROW_HOVER_CELL_CLASS);
126
- if (this.services.directionality.value === 'rtl') {
127
- element.classList.add(MAT_ROW_HOVER_RTL_CLASS);
128
- }
129
- else {
130
- element.classList.remove(MAT_ROW_HOVER_RTL_CLASS);
131
- }
132
- element.classList.remove(MAT_ROW_HOVER_ANIMATE_CLASS);
133
- this.services.ngZone.runOutsideAngular(() => {
134
- setTimeout(() => {
135
- element.classList.add(MAT_ROW_HOVER_ANIMATE_CLASS);
136
- });
137
- });
138
- }
139
- }
140
- MatRowHoverContent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatRowHoverContent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
141
- MatRowHoverContent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: MatRowHoverContent, selector: "[matRowHoverContent]", usesInheritance: true, ngImport: i0 });
142
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatRowHoverContent, decorators: [{
143
- type: Directive,
144
- args: [{
145
- selector: '[matRowHoverContent]',
146
- }]
147
- }] });
148
- /**
149
- * Opens the closest edit popover to this element, whether it's associated with this exact
150
- * element or an ancestor element.
151
- */
152
- class MatEditOpen extends CdkEditOpen {
153
- }
154
- MatEditOpen.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatEditOpen, deps: null, target: i0.ɵɵFactoryTarget.Directive });
155
- MatEditOpen.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: MatEditOpen, selector: "[matEditOpen]", usesInheritance: true, ngImport: i0 });
156
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatEditOpen, decorators: [{
157
- type: Directive,
158
- args: [{
159
- selector: '[matEditOpen]',
160
- }]
161
- }] });
162
-
163
- class MatPopoverEditModule {
164
- }
165
- MatPopoverEditModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatPopoverEditModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
166
- MatPopoverEditModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatPopoverEditModule, declarations: [MatPopoverEdit,
167
- MatPopoverEditTabOut,
168
- MatRowHoverContent,
169
- MatEditLens,
170
- MatEditRevert,
171
- MatEditClose,
172
- MatEditOpen], imports: [CdkPopoverEditModule, MatCommonModule], exports: [MatPopoverEdit,
173
- MatPopoverEditTabOut,
174
- MatRowHoverContent,
175
- MatEditLens,
176
- MatEditRevert,
177
- MatEditClose,
178
- MatEditOpen,
179
- CdkEditable] });
180
- MatPopoverEditModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatPopoverEditModule, imports: [CdkPopoverEditModule, MatCommonModule] });
181
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatPopoverEditModule, decorators: [{
182
- type: NgModule,
183
- args: [{
184
- imports: [CdkPopoverEditModule, MatCommonModule],
185
- exports: [
186
- MatPopoverEdit,
187
- MatPopoverEditTabOut,
188
- MatRowHoverContent,
189
- MatEditLens,
190
- MatEditRevert,
191
- MatEditClose,
192
- MatEditOpen,
193
- CdkEditable,
194
- ],
195
- declarations: [
196
- MatPopoverEdit,
197
- MatPopoverEditTabOut,
198
- MatRowHoverContent,
199
- MatEditLens,
200
- MatEditRevert,
201
- MatEditClose,
202
- MatEditOpen,
203
- ],
204
- }]
205
- }] });
206
-
207
- /**
208
- * Generated bundle index. Do not edit.
209
- */
210
-
211
- export { MatEditClose, MatEditLens, MatEditOpen, MatEditRevert, MatPopoverEdit, MatPopoverEditModule, MatPopoverEditTabOut, MatRowHoverContent };
212
- //# sourceMappingURL=popover-edit.mjs.map
@@ -1 +0,0 @@
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,oBAA+B,cAAyB,CAAA;;+GAAxD,WAAW,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAAX,WAAW,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,CAAA;kGAET,WAAW,EAAA,UAAA,EAAA,CAAA;kBAbvB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,mBAAmB;AAC7B,oBAAA,IAAI,EAAE;AACJ,wBAAA,OAAO,EAAE,eAAe;AACzB,qBAAA;AACD,oBAAA,MAAM,EAAE;wBACN,+CAA+C;wBAC/C,mDAAmD;wBACnD,6DAA6D;AAC9D,qBAAA;oBACD,OAAO,EAAE,CAAC,+DAA+D,CAAC;oBAC1E,SAAS,EAAE,CAAC,OAAO,CAAC;iBACrB,CAAA;;AAGD;AACA,MAMa,sBAAiC,aAAwB,CAAA;;iHAAzD,aAAa,EA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A,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,eAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,iBAT7B,cAAc;QACd,oBAAoB;QACpB,kBAAkB;QAClB,WAAW;QACX,aAAa;QACb,YAAY;AACZ,QAAA,WAAW,CAlBH,EAAA,OAAA,EAAA,CAAA,oBAAoB,EAAE,eAAe,aAE7C,cAAc;QACd,oBAAoB;QACpB,kBAAkB;QAClB,WAAW;QACX,aAAa;QACb,YAAY;QACZ,WAAW;QACX,WAAW,CAAA,EAAA,CAAA,CAAA;yHAYF,oBAAoB,EAAA,OAAA,EAAA,CArBrB,oBAAoB,EAAE,eAAe,CAAA,EAAA,CAAA,CAAA;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;iBACF,CAAA;;;ACxCD;;AAEG;;;;"}
@@ -1,260 +0,0 @@
1
- import { coerceBooleanProperty } from '@angular/cdk/coercion';
2
- import { CdkSelection, CdkSelectAll, CdkSelectionToggle, CdkRowSelection } from '@angular/cdk-experimental/selection';
3
- import * as i0 from '@angular/core';
4
- import { EventEmitter, Directive, Input, Output, Component, ChangeDetectionStrategy, ViewEncapsulation, Optional, Inject, ViewChild, NgModule } from '@angular/core';
5
- import * as i2 from '@angular/material/legacy-table';
6
- import { MatLegacyTable, MatLegacyColumnDef, MatLegacyCellDef, MatLegacyHeaderCellDef, MatLegacyTableModule } from '@angular/material/legacy-table';
7
- import * as i1 from '@angular/common';
8
- import { CommonModule } from '@angular/common';
9
- import * as i3 from '@angular/material/checkbox';
10
- import { MatCheckboxModule } from '@angular/material/checkbox';
11
-
12
- /**
13
- * Manages the selection states of the items and provides methods to check and update the selection
14
- * states.
15
- * It must be applied to the parent element if `matSelectionToggle`, `matSelectAll`,
16
- * `matRowSelection` and `matSelectionColumn` are applied.
17
- */
18
- class MatSelection extends CdkSelection {
19
- constructor() {
20
- super(...arguments);
21
- /** Emits when selection changes. */
22
- this.change = new EventEmitter();
23
- }
24
- /** Whether to support multiple selection */
25
- get multiple() {
26
- return this._multiple;
27
- }
28
- set multiple(multiple) {
29
- this._multiple = coerceBooleanProperty(multiple);
30
- }
31
- }
32
- MatSelection.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatSelection, deps: null, target: i0.ɵɵFactoryTarget.Directive });
33
- MatSelection.ɵ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 });
34
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatSelection, decorators: [{
35
- type: Directive,
36
- args: [{
37
- selector: '[matSelection]',
38
- exportAs: 'matSelection',
39
- providers: [{ provide: CdkSelection, useExisting: MatSelection }],
40
- }]
41
- }], propDecorators: { multiple: [{
42
- type: Input,
43
- args: ['matSelectionMultiple']
44
- }], change: [{
45
- type: Output,
46
- args: ['matSelectionChange']
47
- }] } });
48
-
49
- /**
50
- * Makes the element a select-all toggle.
51
- *
52
- * Must be used within a parent `MatSelection` directive. It toggles the selection states
53
- * of all the selection toggles connected with the `MatSelection` directive.
54
- * If the element implements `ControlValueAccessor`, e.g. `MatCheckbox`, the directive
55
- * automatically connects it with the select-all state provided by the `MatSelection` directive. If
56
- * not, use `checked` to get the checked state, `indeterminate` to get the indeterminate state,
57
- * and `toggle()` to change the selection state.
58
- */
59
- class MatSelectAll extends CdkSelectAll {
60
- }
61
- MatSelectAll.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatSelectAll, deps: null, target: i0.ɵɵFactoryTarget.Directive });
62
- MatSelectAll.ɵ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 });
63
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatSelectAll, decorators: [{
64
- type: Directive,
65
- args: [{
66
- selector: '[matSelectAll]',
67
- exportAs: 'matSelectAll',
68
- providers: [{ provide: CdkSelectAll, useExisting: MatSelectAll }],
69
- }]
70
- }] });
71
-
72
- /**
73
- * Makes the element a selection toggle.
74
- *
75
- * Must be used within a parent `MatSelection` directive.
76
- * Must be provided with the value. If `trackBy` is used on `MatSelection`, the index of the value
77
- * is required. If the element implements `ControlValueAccessor`, e.g. `MatCheckbox`, the directive
78
- * automatically connects it with the selection state provided by the `MatSelection` directive. If
79
- * not, use `checked$` to get the checked state of the value, and `toggle()` to change the selection
80
- * state.
81
- */
82
- class MatSelectionToggle extends CdkSelectionToggle {
83
- }
84
- MatSelectionToggle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatSelectionToggle, deps: null, target: i0.ɵɵFactoryTarget.Directive });
85
- MatSelectionToggle.ɵ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 });
86
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatSelectionToggle, decorators: [{
87
- type: Directive,
88
- args: [{
89
- selector: '[matSelectionToggle]',
90
- exportAs: 'matSelectionToggle',
91
- inputs: ['index: matSelectionToggleIndex'],
92
- providers: [{ provide: CdkSelectionToggle, useExisting: MatSelectionToggle }],
93
- }]
94
- }], propDecorators: { value: [{
95
- type: Input,
96
- args: ['matSelectionToggleValue']
97
- }] } });
98
-
99
- /**
100
- * Column that adds row selecting checkboxes and a select-all checkbox if `matSelectionMultiple` is
101
- * `true`.
102
- *
103
- * Must be used within a parent `MatSelection` directive.
104
- */
105
- class MatSelectionColumn {
106
- /** Column name that should be used to reference this column. */
107
- get name() {
108
- return this._name;
109
- }
110
- set name(name) {
111
- this._name = name;
112
- this._syncColumnDefName();
113
- }
114
- constructor(_table, selection) {
115
- this._table = _table;
116
- this.selection = selection;
117
- }
118
- ngOnInit() {
119
- if (!this.selection && (typeof ngDevMode === 'undefined' || ngDevMode)) {
120
- throw Error('MatSelectionColumn: missing MatSelection in the parent');
121
- }
122
- this._syncColumnDefName();
123
- if (this._table) {
124
- this._columnDef.cell = this._cell;
125
- this._columnDef.headerCell = this._headerCell;
126
- this._table.addColumnDef(this._columnDef);
127
- }
128
- else if (typeof ngDevMode === 'undefined' || ngDevMode) {
129
- throw Error('MatSelectionColumn: missing parent table');
130
- }
131
- }
132
- ngOnDestroy() {
133
- if (this._table) {
134
- this._table.removeColumnDef(this._columnDef);
135
- }
136
- }
137
- _syncColumnDefName() {
138
- if (this._columnDef) {
139
- this._columnDef.name = this._name;
140
- }
141
- }
142
- }
143
- MatSelectionColumn.ɵ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 });
144
- MatSelectionColumn.ɵ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: `
145
- <ng-container matColumnDef>
146
- <th mat-header-cell *matHeaderCellDef class="mat-selection-column-header">
147
- <mat-checkbox *ngIf="selection.multiple"
148
- matSelectAll
149
- #allToggler="matSelectAll"
150
- [indeterminate]="allToggler.indeterminate | async"></mat-checkbox>
151
- </th>
152
- <td mat-cell *matCellDef="let row; let i = $index" class="mat-selection-column-cell">
153
- <mat-checkbox
154
- matSelectionToggle
155
- [matSelectionToggleValue]="row"
156
- [matSelectionToggleIndex]="i"></mat-checkbox>
157
- </td>
158
- </ng-container>
159
- `, 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 });
160
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatSelectionColumn, decorators: [{
161
- type: Component,
162
- args: [{ selector: 'mat-selection-column', template: `
163
- <ng-container matColumnDef>
164
- <th mat-header-cell *matHeaderCellDef class="mat-selection-column-header">
165
- <mat-checkbox *ngIf="selection.multiple"
166
- matSelectAll
167
- #allToggler="matSelectAll"
168
- [indeterminate]="allToggler.indeterminate | async"></mat-checkbox>
169
- </th>
170
- <td mat-cell *matCellDef="let row; let i = $index" class="mat-selection-column-cell">
171
- <mat-checkbox
172
- matSelectionToggle
173
- [matSelectionToggleValue]="row"
174
- [matSelectionToggleIndex]="i"></mat-checkbox>
175
- </td>
176
- </ng-container>
177
- `, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, styles: ["th.mat-selection-column-header,td.mat-selection-column-cell{text-align:center;width:48px}"] }]
178
- }], ctorParameters: function () {
179
- return [{ type: i2.MatLegacyTable, decorators: [{
180
- type: Optional
181
- }, {
182
- type: Inject,
183
- args: [MatLegacyTable]
184
- }] }, { type: MatSelection, decorators: [{
185
- type: Optional
186
- }, {
187
- type: Inject,
188
- args: [MatSelection]
189
- }] }];
190
- }, propDecorators: { name: [{
191
- type: Input
192
- }], _columnDef: [{
193
- type: ViewChild,
194
- args: [MatLegacyColumnDef, { static: true }]
195
- }], _cell: [{
196
- type: ViewChild,
197
- args: [MatLegacyCellDef, { static: true }]
198
- }], _headerCell: [{
199
- type: ViewChild,
200
- args: [MatLegacyHeaderCellDef, { static: true }]
201
- }] } });
202
-
203
- /**
204
- * Applies `mat-selected` class and `aria-selected` to an element.
205
- *
206
- * Must be used within a parent `MatSelection` directive.
207
- * Must be provided with the value. The index is required if `trackBy` is used on the `CdkSelection`
208
- * directive.
209
- */
210
- class MatRowSelection extends CdkRowSelection {
211
- }
212
- MatRowSelection.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatRowSelection, deps: null, target: i0.ɵɵFactoryTarget.Directive });
213
- MatRowSelection.ɵ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 });
214
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatRowSelection, decorators: [{
215
- type: Directive,
216
- args: [{
217
- selector: '[matRowSelection]',
218
- host: {
219
- '[class.mat-selected]': '_selection.isSelected(this.value, this.index)',
220
- '[attr.aria-selected]': '_selection.isSelected(this.value, this.index)',
221
- },
222
- providers: [{ provide: CdkRowSelection, useExisting: MatRowSelection }],
223
- inputs: ['index: matRowSelectionIndex'],
224
- }]
225
- }], propDecorators: { value: [{
226
- type: Input,
227
- args: ['matRowSelectionValue']
228
- }] } });
229
-
230
- // TODO(yifange): Move the table-specific code to a separate module from the other selection
231
- class MatSelectionModule {
232
- }
233
- MatSelectionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatSelectionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
234
- MatSelectionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatSelectionModule, declarations: [MatSelectAll,
235
- MatSelection,
236
- MatSelectionToggle,
237
- MatSelectionColumn,
238
- MatRowSelection], imports: [CommonModule, MatLegacyTableModule, MatCheckboxModule], exports: [MatSelectAll, MatSelection, MatSelectionToggle, MatSelectionColumn, MatRowSelection] });
239
- MatSelectionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatSelectionModule, imports: [CommonModule, MatLegacyTableModule, MatCheckboxModule] });
240
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MatSelectionModule, decorators: [{
241
- type: NgModule,
242
- args: [{
243
- imports: [CommonModule, MatLegacyTableModule, MatCheckboxModule],
244
- exports: [MatSelectAll, MatSelection, MatSelectionToggle, MatSelectionColumn, MatRowSelection],
245
- declarations: [
246
- MatSelectAll,
247
- MatSelection,
248
- MatSelectionToggle,
249
- MatSelectionColumn,
250
- MatRowSelection,
251
- ],
252
- }]
253
- }] });
254
-
255
- /**
256
- * Generated bundle index. Do not edit.
257
- */
258
-
259
- export { MatRowSelection, MatSelectAll, MatSelection, MatSelectionColumn, MatSelectionModule, MatSelectionToggle };
260
- //# sourceMappingURL=selection.mjs.map
@@ -1 +0,0 @@
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;\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,qBAAwB,YAAe,CAAA;AANpD,IAAA,WAAA,GAAA;;;AAiBkD,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,YAAY,EAAsB,CAAC;KACjG;;AAVC,IAAA,IACa,QAAQ,GAAA;QACnB,OAAO,IAAI,CAAC,SAAS,CAAC;KACvB;IACD,IAAa,QAAQ,CAAC,QAAi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AA,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;iBACF,CAAA;;;AC9BD;;AAEG;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"column-resize.mjs","sources":["../../../../../../src/material-experimental/column-resize/resize-strategy.ts","../../../../../../src/material-experimental/column-resize/column-resize-directives/common.ts","../../../../../../src/material-experimental/column-resize/column-resize-directives/column-resize.ts","../../../../../../src/material-experimental/column-resize/column-resize-directives/column-resize-flex.ts","../../../../../../src/material-experimental/column-resize/column-resize-directives/default-enabled-column-resize.ts","../../../../../../src/material-experimental/column-resize/column-resize-directives/default-enabled-column-resize-flex.ts","../../../../../../src/material-experimental/column-resize/overlay-handle.ts","../../../../../../src/material-experimental/column-resize/resizable-directives/common.ts","../../../../../../src/material-experimental/column-resize/resizable-directives/default-enabled-resizable.ts","../../../../../../src/material-experimental/column-resize/resizable-directives/resizable.ts","../../../../../../src/material-experimental/column-resize/column-resize-module.ts","../../../../../../src/material-experimental/column-resize/column-resize_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 {Inject, Injectable, Provider} from '@angular/core';\nimport {DOCUMENT} from '@angular/common';\nimport {CdkTable, _CoalescedStyleScheduler, _COALESCED_STYLE_SCHEDULER} from '@angular/cdk/table';\n\nimport {\n ColumnResize,\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 constructor(\n columnResize: ColumnResize,\n @Inject(_COALESCED_STYLE_SCHEDULER) styleScheduler: _CoalescedStyleScheduler,\n table: CdkTable<unknown>,\n @Inject(DOCUMENT) document: any,\n ) {\n super(columnResize, styleScheduler, table, document);\n }\n\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.io/license\n */\n\nimport {Provider} from '@angular/core';\n\nimport {\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];\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.io/license\n */\n\nimport {Directive, ElementRef, NgZone} 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 constructor(\n readonly columnResizeNotifier: ColumnResizeNotifier,\n readonly elementRef: ElementRef<HTMLElement>,\n protected readonly eventDispatcher: HeaderRowEventDispatcher,\n protected readonly ngZone: NgZone,\n protected readonly notifier: ColumnResizeNotifierSource,\n ) {\n super();\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 {Directive, ElementRef, NgZone} 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 constructor(\n readonly columnResizeNotifier: ColumnResizeNotifier,\n readonly elementRef: ElementRef<HTMLElement>,\n protected readonly eventDispatcher: HeaderRowEventDispatcher,\n protected readonly ngZone: NgZone,\n protected readonly notifier: ColumnResizeNotifierSource,\n ) {\n super();\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 {Directive, ElementRef, NgZone} 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 constructor(\n readonly columnResizeNotifier: ColumnResizeNotifier,\n readonly elementRef: ElementRef<HTMLElement>,\n protected readonly eventDispatcher: HeaderRowEventDispatcher,\n protected readonly ngZone: NgZone,\n protected readonly notifier: ColumnResizeNotifierSource,\n ) {\n super();\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 {Directive, ElementRef, NgZone} 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 constructor(\n readonly columnResizeNotifier: ColumnResizeNotifier,\n readonly elementRef: ElementRef<HTMLElement>,\n protected readonly eventDispatcher: HeaderRowEventDispatcher,\n protected readonly ngZone: NgZone,\n protected readonly notifier: ColumnResizeNotifierSource,\n ) {\n super();\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 {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n Inject,\n NgZone,\n ViewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport {DOCUMENT} from '@angular/common';\nimport {\n CdkColumnDef,\n _CoalescedStyleScheduler,\n _COALESCED_STYLE_SCHEDULER,\n} from '@angular/cdk/table';\nimport {Directionality} from '@angular/cdk/bidi';\nimport {\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 document: Document;\n\n @ViewChild('top', {static: true}) topElement: ElementRef<HTMLElement>;\n\n constructor(\n protected readonly columnDef: CdkColumnDef,\n protected readonly columnResize: ColumnResize,\n protected readonly directionality: Directionality,\n protected readonly elementRef: ElementRef,\n protected readonly eventDispatcher: HeaderRowEventDispatcher,\n protected readonly ngZone: NgZone,\n protected readonly resizeNotifier: ColumnResizeNotifierSource,\n protected readonly resizeRef: ResizeRef,\n @Inject(_COALESCED_STYLE_SCHEDULER)\n protected readonly styleScheduler: _CoalescedStyleScheduler,\n @Inject(DOCUMENT) document: any,\n ) {\n super();\n this.document = document;\n }\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.io/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 'minWidthPx: matResizableMinWidthPx',\n 'maxWidthPx: 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.io/license\n */\n\nimport {\n Directive,\n ElementRef,\n Inject,\n Injector,\n NgZone,\n ViewContainerRef,\n ChangeDetectorRef,\n} from '@angular/core';\nimport {DOCUMENT} from '@angular/common';\nimport {Directionality} from '@angular/cdk/bidi';\nimport {Overlay} from '@angular/cdk/overlay';\nimport {\n CdkColumnDef,\n _CoalescedStyleScheduler,\n _COALESCED_STYLE_SCHEDULER,\n} from '@angular/cdk/table';\nimport {\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 document: Document;\n\n constructor(\n protected readonly columnDef: CdkColumnDef,\n protected readonly columnResize: ColumnResize,\n protected readonly directionality: Directionality,\n @Inject(DOCUMENT) document: any,\n protected readonly elementRef: ElementRef,\n protected readonly eventDispatcher: HeaderRowEventDispatcher,\n protected readonly injector: Injector,\n protected readonly ngZone: NgZone,\n protected readonly overlay: Overlay,\n protected readonly resizeNotifier: ColumnResizeNotifierSource,\n protected readonly resizeStrategy: ResizeStrategy,\n @Inject(_COALESCED_STYLE_SCHEDULER)\n protected readonly styleScheduler: _CoalescedStyleScheduler,\n protected readonly viewContainerRef: ViewContainerRef,\n protected readonly changeDetectorRef: ChangeDetectorRef,\n ) {\n super();\n this.document = document;\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 {\n Directive,\n ElementRef,\n Inject,\n Injector,\n NgZone,\n ViewContainerRef,\n ChangeDetectorRef,\n} from '@angular/core';\nimport {DOCUMENT} from '@angular/common';\nimport {Directionality} from '@angular/cdk/bidi';\nimport {Overlay} from '@angular/cdk/overlay';\nimport {\n CdkColumnDef,\n _CoalescedStyleScheduler,\n _COALESCED_STYLE_SCHEDULER,\n} from '@angular/cdk/table';\nimport {\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 document: Document;\n\n constructor(\n protected readonly columnDef: CdkColumnDef,\n protected readonly columnResize: ColumnResize,\n protected readonly directionality: Directionality,\n @Inject(DOCUMENT) document: any,\n protected readonly elementRef: ElementRef,\n protected readonly eventDispatcher: HeaderRowEventDispatcher,\n protected readonly injector: Injector,\n protected readonly ngZone: NgZone,\n protected readonly overlay: Overlay,\n protected readonly resizeNotifier: ColumnResizeNotifierSource,\n protected readonly resizeStrategy: ResizeStrategy,\n @Inject(_COALESCED_STYLE_SCHEDULER)\n protected readonly styleScheduler: _CoalescedStyleScheduler,\n protected readonly viewContainerRef: ViewContainerRef,\n protected readonly changeDetectorRef: ChangeDetectorRef,\n ) {\n super();\n this.document = document;\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 {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 declarations: ENTRY_COMMON_COMPONENTS,\n exports: ENTRY_COMMON_COMPONENTS,\n})\nexport class MatColumnResizeCommonModule {}\n\nconst IMPORTS = [MatCommonModule, OverlayModule, MatColumnResizeCommonModule];\n\n@NgModule({\n imports: IMPORTS,\n declarations: [\n MatDefaultEnabledColumnResize,\n MatDefaultEnabledColumnResizeFlex,\n MatDefaultResizable,\n ],\n exports: [MatDefaultEnabledColumnResize, MatDefaultEnabledColumnResizeFlex, MatDefaultResizable],\n})\nexport class MatDefaultEnabledColumnResizeModule {}\n\n@NgModule({\n imports: IMPORTS,\n declarations: [MatColumnResize, MatColumnResizeFlex, MatResizable],\n exports: [MatColumnResize, MatColumnResizeFlex, MatResizable],\n})\nexport class MatColumnResizeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i2","i1"],"mappings":";;;;;;;;;;;;;AAqBA;;AAEG;AACH,MACa,0BAA2B,SAAQ,0BAA0B,CAAA;AACxE,IAAA,WAAA,CACE,YAA0B,EACU,cAAwC,EAC5E,KAAwB,EACN,QAAa,EAAA;QAE/B,KAAK,CAAC,YAAY,EAAE,cAAc,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;KACtD;AAEkB,IAAA,iBAAiB,CAAC,qBAA6B,EAAA;QAChE,OAAO,CAAA,WAAA,EAAc,qBAAqB,CAAA,CAAE,CAAC;KAC9C;;8HAZU,0BAA0B,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,YAAA,EAAA,EAAA,EAAA,KAAA,EAG3B,0BAA0B,EAAA,EAAA,EAAA,KAAA,EAAAA,IAAA,CAAA,QAAA,EAAA,EAAA,EAAA,KAAA,EAE1B,QAAQ,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;kIALP,0BAA0B,EAAA,CAAA,CAA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