@angular/material 8.1.1 → 8.1.2

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 (141) hide show
  1. package/_theming.scss +4 -2
  2. package/bundles/material-bottom-sheet.umd.js +15 -1
  3. package/bundles/material-bottom-sheet.umd.js.map +1 -1
  4. package/bundles/material-bottom-sheet.umd.min.js +1 -1
  5. package/bundles/material-bottom-sheet.umd.min.js.map +1 -1
  6. package/bundles/material-button-toggle.umd.js +10 -5
  7. package/bundles/material-button-toggle.umd.js.map +1 -1
  8. package/bundles/material-button-toggle.umd.min.js +1 -1
  9. package/bundles/material-button-toggle.umd.min.js.map +1 -1
  10. package/bundles/material-checkbox.umd.js +0 -1
  11. package/bundles/material-checkbox.umd.js.map +1 -1
  12. package/bundles/material-checkbox.umd.min.js +1 -1
  13. package/bundles/material-checkbox.umd.min.js.map +1 -1
  14. package/bundles/material-core.umd.js +2 -2
  15. package/bundles/material-core.umd.js.map +1 -1
  16. package/bundles/material-core.umd.min.js +1 -1
  17. package/bundles/material-core.umd.min.js.map +1 -1
  18. package/bundles/material-datepicker.umd.js +1 -1
  19. package/bundles/material-datepicker.umd.js.map +1 -1
  20. package/bundles/material-datepicker.umd.min.js +2 -2
  21. package/bundles/material-datepicker.umd.min.js.map +1 -1
  22. package/bundles/material-expansion.umd.js +2 -2
  23. package/bundles/material-expansion.umd.js.map +1 -1
  24. package/bundles/material-expansion.umd.min.js.map +1 -1
  25. package/bundles/material-grid-list.umd.js +1 -1
  26. package/bundles/material-grid-list.umd.min.js +1 -1
  27. package/bundles/material-slide-toggle.umd.js +63 -2
  28. package/bundles/material-slide-toggle.umd.js.map +1 -1
  29. package/bundles/material-slide-toggle.umd.min.js +1 -1
  30. package/bundles/material-slide-toggle.umd.min.js.map +1 -1
  31. package/bundles/material-table.umd.js +4 -4
  32. package/bundles/material-table.umd.js.map +1 -1
  33. package/bundles/material-table.umd.min.js +1 -1
  34. package/bundles/material-table.umd.min.js.map +1 -1
  35. package/bundles/material-tabs.umd.js +1 -1
  36. package/bundles/material-tabs.umd.js.map +1 -1
  37. package/bundles/material-tabs.umd.min.js +1 -1
  38. package/bundles/material-tabs.umd.min.js.map +1 -1
  39. package/bundles/material-tree.umd.js +71 -39
  40. package/bundles/material-tree.umd.js.map +1 -1
  41. package/bundles/material-tree.umd.min.js +1 -1
  42. package/bundles/material-tree.umd.min.js.map +1 -1
  43. package/bundles/material.umd.js +166 -55
  44. package/bundles/material.umd.js.map +1 -1
  45. package/bundles/material.umd.min.js +18 -18
  46. package/bundles/material.umd.min.js.map +1 -1
  47. package/button-toggle/typings/index.metadata.json +1 -1
  48. package/checkbox/typings/index.metadata.json +1 -1
  49. package/datepicker/typings/index.metadata.json +1 -1
  50. package/esm2015/bottom-sheet.js +15 -1
  51. package/esm2015/bottom-sheet.js.map +1 -1
  52. package/esm2015/button-toggle.js +10 -5
  53. package/esm2015/button-toggle.js.map +1 -1
  54. package/esm2015/checkbox.js +0 -1
  55. package/esm2015/checkbox.js.map +1 -1
  56. package/esm2015/core.js +2 -2
  57. package/esm2015/core.js.map +1 -1
  58. package/esm2015/datepicker.js +1 -1
  59. package/esm2015/datepicker.js.map +1 -1
  60. package/esm2015/expansion.js +1 -1
  61. package/esm2015/expansion.js.map +1 -1
  62. package/esm2015/grid-list.js +1 -1
  63. package/esm2015/material.js +2 -2
  64. package/esm2015/slide-toggle.js +57 -5
  65. package/esm2015/slide-toggle.js.map +1 -1
  66. package/esm2015/table.js +2 -2
  67. package/esm2015/table.js.map +1 -1
  68. package/esm2015/tabs.js +1 -1
  69. package/esm2015/tabs.js.map +1 -1
  70. package/esm2015/tree.js +63 -40
  71. package/esm2015/tree.js.map +1 -1
  72. package/esm5/bottom-sheet.es5.js +15 -1
  73. package/esm5/bottom-sheet.es5.js.map +1 -1
  74. package/esm5/button-toggle.es5.js +10 -5
  75. package/esm5/button-toggle.es5.js.map +1 -1
  76. package/esm5/checkbox.es5.js +0 -1
  77. package/esm5/checkbox.es5.js.map +1 -1
  78. package/esm5/core.es5.js +2 -2
  79. package/esm5/core.es5.js.map +1 -1
  80. package/esm5/datepicker.es5.js +1 -1
  81. package/esm5/datepicker.es5.js.map +1 -1
  82. package/esm5/expansion.es5.js +2 -2
  83. package/esm5/expansion.es5.js.map +1 -1
  84. package/esm5/grid-list.es5.js +1 -1
  85. package/esm5/material.es5.js +2 -2
  86. package/esm5/slide-toggle.es5.js +63 -5
  87. package/esm5/slide-toggle.es5.js.map +1 -1
  88. package/esm5/table.es5.js +4 -4
  89. package/esm5/table.es5.js.map +1 -1
  90. package/esm5/tabs.es5.js +1 -1
  91. package/esm5/tabs.es5.js.map +1 -1
  92. package/esm5/tree.es5.js +70 -37
  93. package/esm5/tree.es5.js.map +1 -1
  94. package/expansion/typings/expansion-panel.d.ts +1 -1
  95. package/grid-list/typings/index.d.ts +1 -1
  96. package/grid-list/typings/index.metadata.json +1 -1
  97. package/material.d.ts +1 -1
  98. package/material.metadata.json +3 -3
  99. package/package.json +4 -4
  100. package/prebuilt-themes/deeppurple-amber.css +1 -1
  101. package/prebuilt-themes/indigo-pink.css +1 -1
  102. package/prebuilt-themes/pink-bluegrey.css +1 -1
  103. package/prebuilt-themes/purple-green.css +1 -1
  104. package/slide-toggle/typings/index.metadata.json +1 -1
  105. package/slide-toggle/typings/public-api.d.ts +1 -0
  106. package/slide-toggle/typings/slide-toggle-module.d.ts +3 -0
  107. package/slide-toggle/typings/slide-toggle-required-validator.d.ts +20 -0
  108. package/table/typings/table-data-source.d.ts +1 -1
  109. package/tabs/typings/index.metadata.json +1 -1
  110. package/tree/typings/index.metadata.json +1 -1
  111. package/tree/typings/node.d.ts +8 -6
  112. package/typings/button-toggle/index.metadata.json +1 -1
  113. package/typings/checkbox/index.metadata.json +1 -1
  114. package/typings/core/index.metadata.json +1 -1
  115. package/typings/datepicker/index.metadata.json +1 -1
  116. package/typings/esm5/button-toggle/index.metadata.json +1 -1
  117. package/typings/esm5/checkbox/index.metadata.json +1 -1
  118. package/typings/esm5/core/index.metadata.json +1 -1
  119. package/typings/esm5/datepicker/index.metadata.json +1 -1
  120. package/typings/esm5/expansion/expansion-panel.d.ts +1 -1
  121. package/typings/esm5/grid-list/index.d.ts +1 -1
  122. package/typings/esm5/grid-list/index.metadata.json +1 -1
  123. package/typings/esm5/slide-toggle/index.metadata.json +1 -1
  124. package/typings/esm5/slide-toggle/public-api.d.ts +1 -0
  125. package/typings/esm5/slide-toggle/slide-toggle-module.d.ts +3 -0
  126. package/typings/esm5/slide-toggle/slide-toggle-required-validator.d.ts +20 -0
  127. package/typings/esm5/table/table-data-source.d.ts +1 -1
  128. package/typings/esm5/tabs/index.metadata.json +1 -1
  129. package/typings/esm5/tree/index.metadata.json +1 -1
  130. package/typings/esm5/tree/node.d.ts +8 -6
  131. package/typings/expansion/expansion-panel.d.ts +1 -1
  132. package/typings/grid-list/index.d.ts +1 -1
  133. package/typings/grid-list/index.metadata.json +1 -1
  134. package/typings/slide-toggle/index.metadata.json +1 -1
  135. package/typings/slide-toggle/public-api.d.ts +1 -0
  136. package/typings/slide-toggle/slide-toggle-module.d.ts +3 -0
  137. package/typings/slide-toggle/slide-toggle-required-validator.d.ts +20 -0
  138. package/typings/table/table-data-source.d.ts +1 -1
  139. package/typings/tabs/index.metadata.json +1 -1
  140. package/typings/tree/index.metadata.json +1 -1
  141. package/typings/tree/node.d.ts +8 -6
package/esm5/tree.es5.js CHANGED
@@ -5,49 +5,22 @@
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
7
7
  */
8
- import { CDK_TREE_NODE_OUTLET_NODE, CdkNestedTreeNode, CdkTree, CdkTreeNode, CdkTreeNodeDef, CdkTreeNodePadding, CdkTreeNodeToggle, CdkTreeModule } from '@angular/cdk/tree';
9
- import { Directive, Inject, Optional, ViewContainerRef, Attribute, ContentChildren, ElementRef, Input, IterableDiffers, ChangeDetectionStrategy, Component, ViewChild, ViewEncapsulation, NgModule } from '@angular/core';
10
8
  import { __extends } from 'tslib';
9
+ import { CDK_TREE_NODE_OUTLET_NODE, CdkNestedTreeNode, CdkTree, CdkTreeNode, CdkTreeNodeDef, CdkTreeNodePadding, CdkTreeNodeOutlet, CdkTreeNodeToggle, CdkTreeModule } from '@angular/cdk/tree';
10
+ import { Attribute, Directive, ElementRef, Input, IterableDiffers, Inject, Optional, ViewContainerRef, ChangeDetectionStrategy, Component, ViewChild, ViewEncapsulation, NgModule } from '@angular/core';
11
11
  import { mixinDisabled, mixinTabIndex, MatCommonModule } from '@angular/material/core';
12
+ import { coerceBooleanProperty } from '@angular/cdk/coercion';
12
13
  import { CommonModule } from '@angular/common';
13
14
  import { DataSource } from '@angular/cdk/collections';
14
15
  import { BehaviorSubject, merge } from 'rxjs';
15
16
  import { map, take } from 'rxjs/operators';
16
17
 
17
- /**
18
- * @fileoverview added by tsickle
19
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
20
- */
21
- /**
22
- * Outlet for nested CdkNode. Put `[matTreeNodeOutlet]` on a tag to place children dataNodes
23
- * inside the outlet.
24
- */
25
- var MatTreeNodeOutlet = /** @class */ (function () {
26
- function MatTreeNodeOutlet(viewContainer, _node) {
27
- this.viewContainer = viewContainer;
28
- this._node = _node;
29
- }
30
- MatTreeNodeOutlet.decorators = [
31
- { type: Directive, args: [{
32
- selector: '[matTreeNodeOutlet]'
33
- },] },
34
- ];
35
- /** @nocollapse */
36
- MatTreeNodeOutlet.ctorParameters = function () { return [
37
- { type: ViewContainerRef },
38
- { type: undefined, decorators: [{ type: Inject, args: [CDK_TREE_NODE_OUTLET_NODE,] }, { type: Optional }] }
39
- ]; };
40
- return MatTreeNodeOutlet;
41
- }());
42
-
43
18
  /**
44
19
  * @fileoverview added by tsickle
45
20
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
46
21
  */
47
22
  /** @type {?} */
48
23
  var _MatTreeNodeMixinBase = mixinTabIndex(mixinDisabled(CdkTreeNode));
49
- /** @type {?} */
50
- var _MatNestedTreeNodeMixinBase = mixinTabIndex(mixinDisabled(CdkNestedTreeNode));
51
24
  /**
52
25
  * Wrapper for the CdkTree node with Material design styles.
53
26
  * @template T
@@ -121,9 +94,43 @@ var MatNestedTreeNode = /** @class */ (function (_super) {
121
94
  _this._elementRef = _elementRef;
122
95
  _this._tree = _tree;
123
96
  _this._differs = _differs;
97
+ _this._disabled = false;
124
98
  _this.tabIndex = Number(tabIndex) || 0;
125
99
  return _this;
126
100
  }
101
+ Object.defineProperty(MatNestedTreeNode.prototype, "disabled", {
102
+ /** Whether the node is disabled. */
103
+ get: /**
104
+ * Whether the node is disabled.
105
+ * @return {?}
106
+ */
107
+ function () { return this._disabled; },
108
+ set: /**
109
+ * @param {?} value
110
+ * @return {?}
111
+ */
112
+ function (value) { this._disabled = coerceBooleanProperty(value); },
113
+ enumerable: true,
114
+ configurable: true
115
+ });
116
+ Object.defineProperty(MatNestedTreeNode.prototype, "tabIndex", {
117
+ /** Tabindex for the node. */
118
+ get: /**
119
+ * Tabindex for the node.
120
+ * @return {?}
121
+ */
122
+ function () { return this.disabled ? -1 : this._tabIndex; },
123
+ set: /**
124
+ * @param {?} value
125
+ * @return {?}
126
+ */
127
+ function (value) {
128
+ // If the specified tabIndex value is null or undefined, fall back to the default value.
129
+ this._tabIndex = value != null ? value : 0;
130
+ },
131
+ enumerable: true,
132
+ configurable: true
133
+ });
127
134
  // This is a workaround for https://github.com/angular/angular/issues/23091
128
135
  // In aot mode, the lifecycle hooks from parent class are not called.
129
136
  // TODO(tinayuangao): Remove when the angular issue #23091 is fixed
@@ -161,7 +168,6 @@ var MatNestedTreeNode = /** @class */ (function (_super) {
161
168
  '[attr.role]': 'role',
162
169
  'class': 'mat-nested-tree-node',
163
170
  },
164
- inputs: ['disabled', 'tabIndex'],
165
171
  providers: [
166
172
  { provide: CdkNestedTreeNode, useExisting: MatNestedTreeNode },
167
173
  { provide: CdkTreeNode, useExisting: MatNestedTreeNode },
@@ -178,14 +184,11 @@ var MatNestedTreeNode = /** @class */ (function (_super) {
178
184
  ]; };
179
185
  MatNestedTreeNode.propDecorators = {
180
186
  node: [{ type: Input, args: ['matNestedTreeNode',] }],
181
- nodeOutlet: [{ type: ContentChildren, args: [MatTreeNodeOutlet, {
182
- // We need to use `descendants: true`, because Ivy will no longer match
183
- // indirect descendants if it's left as false.
184
- descendants: true
185
- },] }]
187
+ disabled: [{ type: Input }],
188
+ tabIndex: [{ type: Input }]
186
189
  };
187
190
  return MatNestedTreeNode;
188
- }(_MatNestedTreeNodeMixinBase));
191
+ }(CdkNestedTreeNode));
189
192
 
190
193
  /**
191
194
  * @fileoverview added by tsickle
@@ -213,6 +216,36 @@ var MatTreeNodePadding = /** @class */ (function (_super) {
213
216
  return MatTreeNodePadding;
214
217
  }(CdkTreeNodePadding));
215
218
 
219
+ /**
220
+ * @fileoverview added by tsickle
221
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
222
+ */
223
+ /**
224
+ * Outlet for nested CdkNode. Put `[matTreeNodeOutlet]` on a tag to place children dataNodes
225
+ * inside the outlet.
226
+ */
227
+ var MatTreeNodeOutlet = /** @class */ (function () {
228
+ function MatTreeNodeOutlet(viewContainer, _node) {
229
+ this.viewContainer = viewContainer;
230
+ this._node = _node;
231
+ }
232
+ MatTreeNodeOutlet.decorators = [
233
+ { type: Directive, args: [{
234
+ selector: '[matTreeNodeOutlet]',
235
+ providers: [{
236
+ provide: CdkTreeNodeOutlet,
237
+ useExisting: MatTreeNodeOutlet
238
+ }]
239
+ },] },
240
+ ];
241
+ /** @nocollapse */
242
+ MatTreeNodeOutlet.ctorParameters = function () { return [
243
+ { type: ViewContainerRef },
244
+ { type: undefined, decorators: [{ type: Inject, args: [CDK_TREE_NODE_OUTLET_NODE,] }, { type: Optional }] }
245
+ ]; };
246
+ return MatTreeNodeOutlet;
247
+ }());
248
+
216
249
  /**
217
250
  * @fileoverview added by tsickle
218
251
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
@@ -1 +1 @@
1
- {"version":3,"file":"tree.es5.js","sources":["../../../src/material/tree/data-source/nested-data-source.ts","../../../src/material/tree/data-source/flat-data-source.ts","../../../src/material/tree/tree-module.ts","../../../src/material/tree/toggle.ts","../../../src/material/tree/tree.ts","../../../src/material/tree/padding.ts","../../../src/material/tree/node.ts","../../../src/material/tree/outlet.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 {CollectionViewer, DataSource} from '@angular/cdk/collections';\nimport {BehaviorSubject, merge, Observable} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\n\n/**\n * Data source for nested tree.\n *\n * The data source for nested tree doesn't have to consider node flattener, or the way to expand\n * or collapse. The expansion/collapsion will be handled by TreeControl and each non-leaf node.\n */\nexport class MatTreeNestedDataSource<T> extends DataSource<T> {\n _data = new BehaviorSubject<T[]>([]);\n\n /**\n * Data for the nested tree\n */\n get data() { return this._data.value; }\n set data(value: T[]) { this._data.next(value); }\n\n connect(collectionViewer: CollectionViewer): Observable<T[]> {\n return merge(...[collectionViewer.viewChange, this._data])\n .pipe(map(() => {\n return this.data;\n }));\n }\n\n disconnect() {\n // no op\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 {CollectionViewer, DataSource} from '@angular/cdk/collections';\nimport {FlatTreeControl, TreeControl} from '@angular/cdk/tree';\nimport {BehaviorSubject, merge, Observable} from 'rxjs';\nimport {map, take} from 'rxjs/operators';\n\n/**\n * Tree flattener to convert a normal type of node to node with children & level information.\n * Transform nested nodes of type `T` to flattened nodes of type `F`.\n *\n * For example, the input data of type `T` is nested, and contains its children data:\n * SomeNode: {\n * key: 'Fruits',\n * children: [\n * NodeOne: {\n * key: 'Apple',\n * },\n * NodeTwo: {\n * key: 'Pear',\n * }\n * ]\n * }\n * After flattener flatten the tree, the structure will become\n * SomeNode: {\n * key: 'Fruits',\n * expandable: true,\n * level: 1\n * },\n * NodeOne: {\n * key: 'Apple',\n * expandable: false,\n * level: 2\n * },\n * NodeTwo: {\n * key: 'Pear',\n * expandable: false,\n * level: 2\n * }\n * and the output flattened type is `F` with additional information.\n */\nexport class MatTreeFlattener<T, F> {\n\n constructor(public transformFunction: (node: T, level: number) => F,\n public getLevel: (node: F) => number,\n public isExpandable: (node: F) => boolean,\n public getChildren: (node: T) =>\n Observable<T[]> | T[] | undefined | null) {}\n\n _flattenNode(node: T, level: number,\n resultNodes: F[], parentMap: boolean[]): F[] {\n const flatNode = this.transformFunction(node, level);\n resultNodes.push(flatNode);\n\n if (this.isExpandable(flatNode)) {\n const childrenNodes = this.getChildren(node);\n if (childrenNodes) {\n if (Array.isArray(childrenNodes)) {\n this._flattenChildren(childrenNodes, level, resultNodes, parentMap);\n } else {\n childrenNodes.pipe(take(1)).subscribe(children => {\n this._flattenChildren(children, level, resultNodes, parentMap);\n });\n }\n }\n }\n return resultNodes;\n }\n\n _flattenChildren(children: T[], level: number,\n resultNodes: F[], parentMap: boolean[]): void {\n children.forEach((child, index) => {\n let childParentMap: boolean[] = parentMap.slice();\n childParentMap.push(index != children.length - 1);\n this._flattenNode(child, level + 1, resultNodes, childParentMap);\n });\n }\n\n /**\n * Flatten a list of node type T to flattened version of node F.\n * Please note that type T may be nested, and the length of `structuredData` may be different\n * from that of returned list `F[]`.\n */\n flattenNodes(structuredData: T[]): F[] {\n let resultNodes: F[] = [];\n structuredData.forEach(node => this._flattenNode(node, 0, resultNodes, []));\n return resultNodes;\n }\n\n /**\n * Expand flattened node with current expansion status.\n * The returned list may have different length.\n */\n expandFlattenedNodes(nodes: F[], treeControl: TreeControl<F>): F[] {\n let results: F[] = [];\n let currentExpand: boolean[] = [];\n currentExpand[0] = true;\n\n nodes.forEach(node => {\n let expand = true;\n for (let i = 0; i <= this.getLevel(node); i++) {\n expand = expand && currentExpand[i];\n }\n if (expand) {\n results.push(node);\n }\n if (this.isExpandable(node)) {\n currentExpand[this.getLevel(node) + 1] = treeControl.isExpanded(node);\n }\n });\n return results;\n }\n}\n\n\n/**\n * Data source for flat tree.\n * The data source need to handle expansion/collapsion of the tree node and change the data feed\n * to `MatTree`.\n * The nested tree nodes of type `T` are flattened through `MatTreeFlattener`, and converted\n * to type `F` for `MatTree` to consume.\n */\nexport class MatTreeFlatDataSource<T, F> extends DataSource<F> {\n _flattenedData = new BehaviorSubject<F[]>([]);\n\n _expandedData = new BehaviorSubject<F[]>([]);\n\n _data: BehaviorSubject<T[]>;\n get data() { return this._data.value; }\n set data(value: T[]) {\n this._data.next(value);\n this._flattenedData.next(this._treeFlattener.flattenNodes(this.data));\n this._treeControl.dataNodes = this._flattenedData.value;\n }\n\n constructor(private _treeControl: FlatTreeControl<F>,\n private _treeFlattener: MatTreeFlattener<T, F>,\n initialData: T[] = []) {\n super();\n this._data = new BehaviorSubject<T[]>(initialData);\n }\n\n connect(collectionViewer: CollectionViewer): Observable<F[]> {\n const changes = [\n collectionViewer.viewChange,\n this._treeControl.expansionModel.onChange,\n this._flattenedData\n ];\n return merge(...changes).pipe(map(() => {\n this._expandedData.next(\n this._treeFlattener.expandFlattenedNodes(this._flattenedData.value, this._treeControl));\n return this._expandedData.value;\n }));\n }\n\n disconnect() {\n // no op\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';\n\nimport {CdkTreeModule} from '@angular/cdk/tree';\nimport {CommonModule} from '@angular/common';\nimport {MatCommonModule} from '@angular/material/core';\nimport {MatNestedTreeNode, MatTreeNodeDef, MatTreeNode} from './node';\nimport {MatTree} from './tree';\nimport {MatTreeNodeToggle} from './toggle';\nimport {MatTreeNodeOutlet} from './outlet';\nimport {MatTreeNodePadding} from './padding';\n\nconst MAT_TREE_DIRECTIVES = [\n MatNestedTreeNode,\n MatTreeNodeDef,\n MatTreeNodePadding,\n MatTreeNodeToggle,\n MatTree,\n MatTreeNode,\n MatTreeNodeOutlet\n];\n\n@NgModule({\n imports: [CdkTreeModule, CommonModule, MatCommonModule],\n exports: MAT_TREE_DIRECTIVES,\n declarations: MAT_TREE_DIRECTIVES,\n})\nexport class MatTreeModule {}\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 {CdkTreeNodeToggle} from '@angular/cdk/tree';\nimport {Directive, Input} from '@angular/core';\n\n/**\n * Wrapper for the CdkTree's toggle with Material design styles.\n */\n@Directive({\n selector: '[matTreeNodeToggle]',\n providers: [{provide: CdkTreeNodeToggle, useExisting: MatTreeNodeToggle}]\n})\nexport class MatTreeNodeToggle<T> extends CdkTreeNodeToggle<T> {\n @Input('matTreeNodeToggleRecursive') recursive: boolean = false;\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 {CdkTree} from '@angular/cdk/tree';\nimport {ChangeDetectionStrategy, Component, ViewChild, ViewEncapsulation} from '@angular/core';\nimport {MatTreeNodeOutlet} from './outlet';\n\n/**\n * Wrapper for the CdkTable with Material design styles.\n */\n@Component({\n moduleId: module.id,\n selector: 'mat-tree',\n exportAs: 'matTree',\n template: `<ng-container matTreeNodeOutlet></ng-container>`,\n host: {\n 'class': 'mat-tree',\n 'role': 'tree',\n },\n styleUrls: ['tree.css'],\n encapsulation: ViewEncapsulation.None,\n // See note on CdkTree for explanation on why this uses the default change detection strategy.\n // tslint:disable-next-line:validate-decorators\n changeDetection: ChangeDetectionStrategy.Default,\n providers: [{provide: CdkTree, useExisting: MatTree}]\n})\nexport class MatTree<T> extends CdkTree<T> {\n // Outlets within the tree's template where the dataNodes will be inserted.\n @ViewChild(MatTreeNodeOutlet, {static: true}) _nodeOutlet: MatTreeNodeOutlet;\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 */\nimport {CdkTreeNodePadding} from '@angular/cdk/tree';\nimport {Directive, Input} from '@angular/core';\n\n/**\n * Wrapper for the CdkTree padding with Material design styles.\n */\n@Directive({\n selector: '[matTreeNodePadding]',\n providers: [{provide: CdkTreeNodePadding, useExisting: MatTreeNodePadding}]\n})\nexport class MatTreeNodePadding<T> extends CdkTreeNodePadding<T> {\n\n /** The level of depth of the tree node. The padding will be `level * indent` pixels. */\n @Input('matTreeNodePadding') level: number;\n\n /** The indent for each level. Default number 40px from material design menu sub-menu spec. */\n @Input('matTreeNodePaddingIndent') indent: number;\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 CDK_TREE_NODE_OUTLET_NODE,\n CdkNestedTreeNode,\n CdkTree,\n CdkTreeNode,\n CdkTreeNodeDef,\n} from '@angular/cdk/tree';\nimport {\n AfterContentInit,\n Attribute,\n ContentChildren,\n Directive,\n ElementRef,\n Input,\n IterableDiffers,\n OnDestroy,\n QueryList,\n} from '@angular/core';\nimport {\n CanDisable,\n CanDisableCtor,\n HasTabIndex,\n HasTabIndexCtor,\n mixinDisabled,\n mixinTabIndex,\n} from '@angular/material/core';\n\nimport {MatTreeNodeOutlet} from './outlet';\n\nconst _MatTreeNodeMixinBase: HasTabIndexCtor & CanDisableCtor & typeof CdkTreeNode =\n mixinTabIndex(mixinDisabled(CdkTreeNode));\n\nconst _MatNestedTreeNodeMixinBase:\n HasTabIndexCtor & CanDisableCtor & typeof CdkNestedTreeNode =\n mixinTabIndex(mixinDisabled(CdkNestedTreeNode));\n\n/**\n * Wrapper for the CdkTree node with Material design styles.\n */\n@Directive({\n selector: 'mat-tree-node',\n exportAs: 'matTreeNode',\n inputs: ['disabled', 'tabIndex'],\n host: {\n '[attr.aria-expanded]': 'isExpanded',\n '[attr.aria-level]': 'role === \"treeitem\" ? level : null',\n '[attr.role]': 'role',\n 'class': 'mat-tree-node'\n },\n providers: [{provide: CdkTreeNode, useExisting: MatTreeNode}]\n})\nexport class MatTreeNode<T> extends _MatTreeNodeMixinBase<T>\n implements CanDisable, HasTabIndex {\n @Input() role: 'treeitem' | 'group' = 'treeitem';\n\n constructor(protected _elementRef: ElementRef<HTMLElement>,\n protected _tree: CdkTree<T>,\n @Attribute('tabindex') tabIndex: string) {\n super(_elementRef, _tree);\n\n this.tabIndex = Number(tabIndex) || 0;\n }\n}\n\n/**\n * Wrapper for the CdkTree node definition with Material design styles.\n */\n@Directive({\n selector: '[matTreeNodeDef]',\n inputs: [\n 'when: matTreeNodeDefWhen'\n ],\n providers: [{provide: CdkTreeNodeDef, useExisting: MatTreeNodeDef}]\n})\nexport class MatTreeNodeDef<T> extends CdkTreeNodeDef<T> {\n @Input('matTreeNode') data: T;\n}\n\n/**\n * Wrapper for the CdkTree nested node with Material design styles.\n */\n@Directive({\n selector: 'mat-nested-tree-node',\n exportAs: 'matNestedTreeNode',\n host: {\n '[attr.aria-expanded]': 'isExpanded',\n '[attr.role]': 'role',\n 'class': 'mat-nested-tree-node',\n },\n inputs: ['disabled', 'tabIndex'],\n providers: [\n {provide: CdkNestedTreeNode, useExisting: MatNestedTreeNode},\n {provide: CdkTreeNode, useExisting: MatNestedTreeNode},\n {provide: CDK_TREE_NODE_OUTLET_NODE, useExisting: MatNestedTreeNode}\n ]\n})\nexport class MatNestedTreeNode<T> extends _MatNestedTreeNodeMixinBase<T> implements\n AfterContentInit, CanDisable, HasTabIndex, OnDestroy {\n @Input('matNestedTreeNode') node: T;\n\n /** The children node placeholder. */\n @ContentChildren(MatTreeNodeOutlet, {\n // We need to use `descendants: true`, because Ivy will no longer match\n // indirect descendants if it's left as false.\n descendants: true\n })\n nodeOutlet: QueryList<MatTreeNodeOutlet>;\n\n constructor(protected _elementRef: ElementRef<HTMLElement>,\n protected _tree: CdkTree<T>,\n protected _differs: IterableDiffers,\n @Attribute('tabindex') tabIndex: string) {\n super(_elementRef, _tree, _differs);\n\n this.tabIndex = Number(tabIndex) || 0;\n }\n\n // This is a workaround for https://github.com/angular/angular/issues/23091\n // In aot mode, the lifecycle hooks from parent class are not called.\n // TODO(tinayuangao): Remove when the angular issue #23091 is fixed\n ngAfterContentInit() {\n super.ngAfterContentInit();\n }\n\n ngOnDestroy() {\n super.ngOnDestroy();\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 */\nimport {CDK_TREE_NODE_OUTLET_NODE, CdkTreeNodeOutlet} from '@angular/cdk/tree';\nimport {\n Directive,\n Inject,\n Optional,\n ViewContainerRef,\n} from '@angular/core';\n\n/**\n * Outlet for nested CdkNode. Put `[matTreeNodeOutlet]` on a tag to place children dataNodes\n * inside the outlet.\n */\n@Directive({\n selector: '[matTreeNodeOutlet]'\n})\nexport class MatTreeNodeOutlet implements CdkTreeNodeOutlet {\n constructor(\n public viewContainer: ViewContainerRef,\n @Inject(CDK_TREE_NODE_OUTLET_NODE) @Optional() public _node?: any) {}\n}\n"],"names":["tslib_1.__extends"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AOmBA,AAAA,IAAA,iBAAA,kBAAA,YAAA;IAIE,SAAF,iBAAA,CACa,aAA+B,EACgB,KAAW,EAFvE;QACa,IAAb,CAAA,aAA0B,GAAb,aAAa,CAAkB;QACgB,IAA5D,CAAA,KAAiE,GAAL,KAAK,CAAM;KAAI;;QAN3E,EAAA,IAAA,EAAC,SAAS,EAAV,IAAA,EAAA,CAAW;oBACT,QAAQ,EAAE,qBAAqB;iBAChC,EAAD,EAA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CAAD;CAAC,CApCgD,UAAU,CAoC3D,CAAA;;;;;;;;;;;;;ADjJA,AAAA,IAAA;;;;;;;;IAAgDA,SAAhD,CAAA,uBAAA,EAAA,MAAA,CAAA,CAA6D;IAA7D,SAAA,uBAAA,GAAA;QAAA,IAAA,KAAA,GAAA,MAAA,KAAA,IAAA,IAAA,MAAA,CAAA,KAAA,CAAA,IAAA,EAAA,SAAA,CAAA,IAAA,IAAA,CAmBC;QAlBC,KAAF,CAAA,KAAO,GAAG,IAAI,eAAe,CAAM,EAAE,CAAC,CAAC;;KAkBtC;IAbC,MAAF,CAAA,cAAA,CAAM,uBAAN,CAAA,SAAA,EAAA,MAAU,EAAV;;;;;;;;QAAE,YAAF,EAAe,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE;;;;;QACvC,UAAS,KAAU,EAArB,EAAyB,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE;;;KADlD,CAAA,CAAyC;;;;;IAGvC,uBAAF,CAAA,SAAA,CAAA,OAAS;;;;IAAP,UAAQ,gBAAkC,EAA5C;QAAE,IAAF,KAAA,GAAA,IAAA,CAKG;QAJC,OAAO,KAAK,CAAhB,KAAA,CAAA,KAAA,CAAA,EAAoB,CAAC,gBAAgB,CAAC,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,CAA7D,CACO,IAAI,CAAC,GAAG;;;QAAC,YAAhB;YACQ,OAAO,KAAI,CAAC,IAAI,CAAC;SAClB,EAAC,CAAC,CAAC;KACP,CAAH;;;;IAEE,uBAAF,CAAA,SAAA,CAAA,UAAY;;;IAAV,YAAF;;KAEG,CAAH;IACA,OAAA,uBAAC,CAAD;CAAC,CAnB+C,UAAU,CAmB1D,CAAA;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"tree.es5.js","sources":["../../../src/material/tree/data-source/nested-data-source.ts","../../../src/material/tree/data-source/flat-data-source.ts","../../../src/material/tree/tree-module.ts","../../../src/material/tree/toggle.ts","../../../src/material/tree/tree.ts","../../../src/material/tree/outlet.ts","../../../src/material/tree/padding.ts","../../../src/material/tree/node.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 {CollectionViewer, DataSource} from '@angular/cdk/collections';\nimport {BehaviorSubject, merge, Observable} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\n\n/**\n * Data source for nested tree.\n *\n * The data source for nested tree doesn't have to consider node flattener, or the way to expand\n * or collapse. The expansion/collapsion will be handled by TreeControl and each non-leaf node.\n */\nexport class MatTreeNestedDataSource<T> extends DataSource<T> {\n _data = new BehaviorSubject<T[]>([]);\n\n /**\n * Data for the nested tree\n */\n get data() { return this._data.value; }\n set data(value: T[]) { this._data.next(value); }\n\n connect(collectionViewer: CollectionViewer): Observable<T[]> {\n return merge(...[collectionViewer.viewChange, this._data])\n .pipe(map(() => {\n return this.data;\n }));\n }\n\n disconnect() {\n // no op\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 {CollectionViewer, DataSource} from '@angular/cdk/collections';\nimport {FlatTreeControl, TreeControl} from '@angular/cdk/tree';\nimport {BehaviorSubject, merge, Observable} from 'rxjs';\nimport {map, take} from 'rxjs/operators';\n\n/**\n * Tree flattener to convert a normal type of node to node with children & level information.\n * Transform nested nodes of type `T` to flattened nodes of type `F`.\n *\n * For example, the input data of type `T` is nested, and contains its children data:\n * SomeNode: {\n * key: 'Fruits',\n * children: [\n * NodeOne: {\n * key: 'Apple',\n * },\n * NodeTwo: {\n * key: 'Pear',\n * }\n * ]\n * }\n * After flattener flatten the tree, the structure will become\n * SomeNode: {\n * key: 'Fruits',\n * expandable: true,\n * level: 1\n * },\n * NodeOne: {\n * key: 'Apple',\n * expandable: false,\n * level: 2\n * },\n * NodeTwo: {\n * key: 'Pear',\n * expandable: false,\n * level: 2\n * }\n * and the output flattened type is `F` with additional information.\n */\nexport class MatTreeFlattener<T, F> {\n\n constructor(public transformFunction: (node: T, level: number) => F,\n public getLevel: (node: F) => number,\n public isExpandable: (node: F) => boolean,\n public getChildren: (node: T) =>\n Observable<T[]> | T[] | undefined | null) {}\n\n _flattenNode(node: T, level: number,\n resultNodes: F[], parentMap: boolean[]): F[] {\n const flatNode = this.transformFunction(node, level);\n resultNodes.push(flatNode);\n\n if (this.isExpandable(flatNode)) {\n const childrenNodes = this.getChildren(node);\n if (childrenNodes) {\n if (Array.isArray(childrenNodes)) {\n this._flattenChildren(childrenNodes, level, resultNodes, parentMap);\n } else {\n childrenNodes.pipe(take(1)).subscribe(children => {\n this._flattenChildren(children, level, resultNodes, parentMap);\n });\n }\n }\n }\n return resultNodes;\n }\n\n _flattenChildren(children: T[], level: number,\n resultNodes: F[], parentMap: boolean[]): void {\n children.forEach((child, index) => {\n let childParentMap: boolean[] = parentMap.slice();\n childParentMap.push(index != children.length - 1);\n this._flattenNode(child, level + 1, resultNodes, childParentMap);\n });\n }\n\n /**\n * Flatten a list of node type T to flattened version of node F.\n * Please note that type T may be nested, and the length of `structuredData` may be different\n * from that of returned list `F[]`.\n */\n flattenNodes(structuredData: T[]): F[] {\n let resultNodes: F[] = [];\n structuredData.forEach(node => this._flattenNode(node, 0, resultNodes, []));\n return resultNodes;\n }\n\n /**\n * Expand flattened node with current expansion status.\n * The returned list may have different length.\n */\n expandFlattenedNodes(nodes: F[], treeControl: TreeControl<F>): F[] {\n let results: F[] = [];\n let currentExpand: boolean[] = [];\n currentExpand[0] = true;\n\n nodes.forEach(node => {\n let expand = true;\n for (let i = 0; i <= this.getLevel(node); i++) {\n expand = expand && currentExpand[i];\n }\n if (expand) {\n results.push(node);\n }\n if (this.isExpandable(node)) {\n currentExpand[this.getLevel(node) + 1] = treeControl.isExpanded(node);\n }\n });\n return results;\n }\n}\n\n\n/**\n * Data source for flat tree.\n * The data source need to handle expansion/collapsion of the tree node and change the data feed\n * to `MatTree`.\n * The nested tree nodes of type `T` are flattened through `MatTreeFlattener`, and converted\n * to type `F` for `MatTree` to consume.\n */\nexport class MatTreeFlatDataSource<T, F> extends DataSource<F> {\n _flattenedData = new BehaviorSubject<F[]>([]);\n\n _expandedData = new BehaviorSubject<F[]>([]);\n\n _data: BehaviorSubject<T[]>;\n get data() { return this._data.value; }\n set data(value: T[]) {\n this._data.next(value);\n this._flattenedData.next(this._treeFlattener.flattenNodes(this.data));\n this._treeControl.dataNodes = this._flattenedData.value;\n }\n\n constructor(private _treeControl: FlatTreeControl<F>,\n private _treeFlattener: MatTreeFlattener<T, F>,\n initialData: T[] = []) {\n super();\n this._data = new BehaviorSubject<T[]>(initialData);\n }\n\n connect(collectionViewer: CollectionViewer): Observable<F[]> {\n const changes = [\n collectionViewer.viewChange,\n this._treeControl.expansionModel.onChange,\n this._flattenedData\n ];\n return merge(...changes).pipe(map(() => {\n this._expandedData.next(\n this._treeFlattener.expandFlattenedNodes(this._flattenedData.value, this._treeControl));\n return this._expandedData.value;\n }));\n }\n\n disconnect() {\n // no op\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';\n\nimport {CdkTreeModule} from '@angular/cdk/tree';\nimport {CommonModule} from '@angular/common';\nimport {MatCommonModule} from '@angular/material/core';\nimport {MatNestedTreeNode, MatTreeNodeDef, MatTreeNode} from './node';\nimport {MatTree} from './tree';\nimport {MatTreeNodeToggle} from './toggle';\nimport {MatTreeNodeOutlet} from './outlet';\nimport {MatTreeNodePadding} from './padding';\n\nconst MAT_TREE_DIRECTIVES = [\n MatNestedTreeNode,\n MatTreeNodeDef,\n MatTreeNodePadding,\n MatTreeNodeToggle,\n MatTree,\n MatTreeNode,\n MatTreeNodeOutlet\n];\n\n@NgModule({\n imports: [CdkTreeModule, CommonModule, MatCommonModule],\n exports: MAT_TREE_DIRECTIVES,\n declarations: MAT_TREE_DIRECTIVES,\n})\nexport class MatTreeModule {}\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 {CdkTreeNodeToggle} from '@angular/cdk/tree';\nimport {Directive, Input} from '@angular/core';\n\n/**\n * Wrapper for the CdkTree's toggle with Material design styles.\n */\n@Directive({\n selector: '[matTreeNodeToggle]',\n providers: [{provide: CdkTreeNodeToggle, useExisting: MatTreeNodeToggle}]\n})\nexport class MatTreeNodeToggle<T> extends CdkTreeNodeToggle<T> {\n @Input('matTreeNodeToggleRecursive') recursive: boolean = false;\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 {CdkTree} from '@angular/cdk/tree';\nimport {ChangeDetectionStrategy, Component, ViewChild, ViewEncapsulation} from '@angular/core';\nimport {MatTreeNodeOutlet} from './outlet';\n\n/**\n * Wrapper for the CdkTable with Material design styles.\n */\n@Component({\n moduleId: module.id,\n selector: 'mat-tree',\n exportAs: 'matTree',\n template: `<ng-container matTreeNodeOutlet></ng-container>`,\n host: {\n 'class': 'mat-tree',\n 'role': 'tree',\n },\n styleUrls: ['tree.css'],\n encapsulation: ViewEncapsulation.None,\n // See note on CdkTree for explanation on why this uses the default change detection strategy.\n // tslint:disable-next-line:validate-decorators\n changeDetection: ChangeDetectionStrategy.Default,\n providers: [{provide: CdkTree, useExisting: MatTree}]\n})\nexport class MatTree<T> extends CdkTree<T> {\n // Outlets within the tree's template where the dataNodes will be inserted.\n @ViewChild(MatTreeNodeOutlet, {static: true}) _nodeOutlet: MatTreeNodeOutlet;\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 */\nimport {CDK_TREE_NODE_OUTLET_NODE, CdkTreeNodeOutlet} from '@angular/cdk/tree';\nimport {\n Directive,\n Inject,\n Optional,\n ViewContainerRef,\n} from '@angular/core';\n\n/**\n * Outlet for nested CdkNode. Put `[matTreeNodeOutlet]` on a tag to place children dataNodes\n * inside the outlet.\n */\n@Directive({\n selector: '[matTreeNodeOutlet]',\n providers: [{\n provide: CdkTreeNodeOutlet,\n useExisting: MatTreeNodeOutlet\n }]\n})\nexport class MatTreeNodeOutlet implements CdkTreeNodeOutlet {\n constructor(\n public viewContainer: ViewContainerRef,\n @Inject(CDK_TREE_NODE_OUTLET_NODE) @Optional() public _node?: any) {}\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 */\nimport {CdkTreeNodePadding} from '@angular/cdk/tree';\nimport {Directive, Input} from '@angular/core';\n\n/**\n * Wrapper for the CdkTree padding with Material design styles.\n */\n@Directive({\n selector: '[matTreeNodePadding]',\n providers: [{provide: CdkTreeNodePadding, useExisting: MatTreeNodePadding}]\n})\nexport class MatTreeNodePadding<T> extends CdkTreeNodePadding<T> {\n\n /** The level of depth of the tree node. The padding will be `level * indent` pixels. */\n @Input('matTreeNodePadding') level: number;\n\n /** The indent for each level. Default number 40px from material design menu sub-menu spec. */\n @Input('matTreeNodePaddingIndent') indent: number;\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 CDK_TREE_NODE_OUTLET_NODE,\n CdkNestedTreeNode,\n CdkTree,\n CdkTreeNode,\n CdkTreeNodeDef,\n} from '@angular/cdk/tree';\nimport {\n AfterContentInit,\n Attribute,\n Directive,\n ElementRef,\n Input,\n IterableDiffers,\n OnDestroy,\n} from '@angular/core';\nimport {\n CanDisable,\n CanDisableCtor,\n HasTabIndex,\n HasTabIndexCtor,\n mixinDisabled,\n mixinTabIndex,\n} from '@angular/material/core';\nimport {coerceBooleanProperty} from '@angular/cdk/coercion';\n\nconst _MatTreeNodeMixinBase: HasTabIndexCtor & CanDisableCtor & typeof CdkTreeNode =\n mixinTabIndex(mixinDisabled(CdkTreeNode));\n\n/**\n * Wrapper for the CdkTree node with Material design styles.\n */\n@Directive({\n selector: 'mat-tree-node',\n exportAs: 'matTreeNode',\n inputs: ['disabled', 'tabIndex'],\n host: {\n '[attr.aria-expanded]': 'isExpanded',\n '[attr.aria-level]': 'role === \"treeitem\" ? level : null',\n '[attr.role]': 'role',\n 'class': 'mat-tree-node'\n },\n providers: [{provide: CdkTreeNode, useExisting: MatTreeNode}]\n})\nexport class MatTreeNode<T> extends _MatTreeNodeMixinBase<T>\n implements CanDisable, HasTabIndex {\n @Input() role: 'treeitem' | 'group' = 'treeitem';\n\n constructor(protected _elementRef: ElementRef<HTMLElement>,\n protected _tree: CdkTree<T>,\n @Attribute('tabindex') tabIndex: string) {\n super(_elementRef, _tree);\n\n this.tabIndex = Number(tabIndex) || 0;\n }\n}\n\n/**\n * Wrapper for the CdkTree node definition with Material design styles.\n */\n@Directive({\n selector: '[matTreeNodeDef]',\n inputs: [\n 'when: matTreeNodeDefWhen'\n ],\n providers: [{provide: CdkTreeNodeDef, useExisting: MatTreeNodeDef}]\n})\nexport class MatTreeNodeDef<T> extends CdkTreeNodeDef<T> {\n @Input('matTreeNode') data: T;\n}\n\n/**\n * Wrapper for the CdkTree nested node with Material design styles.\n */\n@Directive({\n selector: 'mat-nested-tree-node',\n exportAs: 'matNestedTreeNode',\n host: {\n '[attr.aria-expanded]': 'isExpanded',\n '[attr.role]': 'role',\n 'class': 'mat-nested-tree-node',\n },\n providers: [\n {provide: CdkNestedTreeNode, useExisting: MatNestedTreeNode},\n {provide: CdkTreeNode, useExisting: MatNestedTreeNode},\n {provide: CDK_TREE_NODE_OUTLET_NODE, useExisting: MatNestedTreeNode}\n ]\n})\nexport class MatNestedTreeNode<T> extends CdkNestedTreeNode<T> implements AfterContentInit,\n OnDestroy {\n @Input('matNestedTreeNode') node: T;\n\n /** Whether the node is disabled. */\n @Input()\n get disabled() { return this._disabled; }\n set disabled(value: any) { this._disabled = coerceBooleanProperty(value); }\n private _disabled = false;\n\n /** Tabindex for the node. */\n @Input()\n get tabIndex(): number { return this.disabled ? -1 : this._tabIndex; }\n set tabIndex(value: number) {\n // If the specified tabIndex value is null or undefined, fall back to the default value.\n this._tabIndex = value != null ? value : 0;\n }\n private _tabIndex: number;\n\n constructor(protected _elementRef: ElementRef<HTMLElement>,\n protected _tree: CdkTree<T>,\n protected _differs: IterableDiffers,\n @Attribute('tabindex') tabIndex: string) {\n super(_elementRef, _tree, _differs);\n this.tabIndex = Number(tabIndex) || 0;\n }\n\n // This is a workaround for https://github.com/angular/angular/issues/23091\n // In aot mode, the lifecycle hooks from parent class are not called.\n // TODO(tinayuangao): Remove when the angular issue #23091 is fixed\n ngAfterContentInit() {\n super.ngAfterContentInit();\n }\n\n ngOnDestroy() {\n super.ngOnDestroy();\n }\n}\n"],"names":["tslib_1.__extends"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AOkCA,IAAM,qBAAqB,GACvB,aAAa,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC,CAD7C;;;;;AAMA,AAAA,IAAA,WAAA,kBAAA,UAAA,MAAA,EAAA;IAYoCA,SAApC,CAAA,WAAA,EAAA,MAAA,CAAA,CAA4D;IAI1D,SAAF,WAAA,CAAwB,WAAoC,EACpC,KAAiB,EACJ,QAAgB,EAFrD;QAAE,IAAF,KAAA,GAGI,MAHJ,CAAA,IAAA,CAAA,IAAA,EAGU,WAAW,EAAE,KAAK,CAAC,IAH7B,IAAA,CAMG;QANqB,KAAxB,CAAA,WAAmC,GAAX,WAAW,CAAyB;QACpC,KAAxB,CAAA,KAA6B,GAAL,KAAK,CAAY;QAH9B,KAAX,CAAA,IAAe,GAAyB,UAAU,CAAC;QAO/C,KAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,QAA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C,CAAC;KACP,CAAH;;;;IAEE,uBAAF,CAAA,SAAA,CAAA,UAAY;;;IAAV,YAAF;;KAEG,CAAH;IACA,OAAA,uBAAC,CAAD;CAAC,CAnB+C,UAAU,CAmB1D,CAAA;;;;;;;;;;;;;;"}
@@ -46,7 +46,7 @@ export declare class MatExpansionPanel extends CdkAccordionItem implements After
46
46
  private _togglePosition;
47
47
  /** Whether the toggle indicator should be hidden. */
48
48
  hideToggle: boolean;
49
- /** Whether the toggle indicator should be hidden. */
49
+ /** The position of the expansion indicator. */
50
50
  togglePosition: MatAccordionTogglePosition;
51
51
  /** An event emitted after the body's expansion animation happens. */
52
52
  afterExpand: EventEmitter<void>;
@@ -2,4 +2,4 @@
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
4
  export * from './public-api';
5
- export { MAT_GRID_LIST as ɵa4, MatGridListBase as ɵb4 } from './grid-list-base';
5
+ export { MAT_GRID_LIST as ɵa3, MatGridListBase as ɵb3 } from './grid-list-base';
@@ -1 +1 @@
1
- {"__symbolic":"module","version":4,"metadata":{"MatGridListModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":17,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/material/core","name":"MatLineModule","line":18,"character":12},{"__symbolic":"reference","module":"@angular/material/core","name":"MatCommonModule","line":18,"character":27}],"exports":[{"__symbolic":"reference","name":"MatGridList"},{"__symbolic":"reference","name":"MatGridTile"},{"__symbolic":"reference","name":"MatGridTileText"},{"__symbolic":"reference","module":"@angular/material/core","name":"MatLineModule","line":23,"character":4},{"__symbolic":"reference","module":"@angular/material/core","name":"MatCommonModule","line":24,"character":4},{"__symbolic":"reference","name":"MatGridTileHeaderCssMatStyler"},{"__symbolic":"reference","name":"MatGridTileFooterCssMatStyler"},{"__symbolic":"reference","name":"MatGridAvatarCssMatStyler"}],"declarations":[{"__symbolic":"reference","name":"MatGridList"},{"__symbolic":"reference","name":"MatGridTile"},{"__symbolic":"reference","name":"MatGridTileText"},{"__symbolic":"reference","name":"MatGridTileHeaderCssMatStyler"},{"__symbolic":"reference","name":"MatGridTileFooterCssMatStyler"},{"__symbolic":"reference","name":"MatGridAvatarCssMatStyler"}]}]}],"members":{}},"MatGridList":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":34,"character":1},"arguments":[{"moduleId":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"module"},"member":"id"},"selector":"mat-grid-list","exportAs":"matGridList","host":{"class":"mat-grid-list","$quoted$":["class"]},"providers":[{"provide":{"__symbolic":"reference","name":"ɵa4"},"useExisting":{"__symbolic":"reference","name":"MatGridList"}}],"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":47,"character":19},"member":"OnPush"},"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":48,"character":17},"member":"None"},"template":"<div><ng-content></ng-content></div>","styles":[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-figure{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}.mat-grid-tile .mat-grid-tile-footer,.mat-grid-tile .mat-grid-tile-header{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-footer>*,.mat-grid-tile .mat-grid-tile-header>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-grid-tile .mat-grid-tile-footer.mat-2-line,.mat-grid-tile .mat-grid-tile-header.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}"]}]}],"members":{"_tiles":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":72,"character":3},"arguments":[{"__symbolic":"reference","name":"MatGridTile"},{"descendants":true}]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":75,"character":15}}]],"parameters":[{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":74,"character":43,"context":{"typeName":"HTMLElement"},"module":"./grid-list"}]},{"__symbolic":"reference","module":"@angular/cdk/bidi","name":"Directionality","line":75,"character":40}]}],"cols":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":78,"character":3}}]}],"gutterSize":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":85,"character":3}}]}],"rowHeight":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":90,"character":3}}]}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterContentChecked":[{"__symbolic":"method"}],"_checkCols":[{"__symbolic":"method"}],"_checkRowHeight":[{"__symbolic":"method"}],"_setTileStyler":[{"__symbolic":"method"}],"_layoutTiles":[{"__symbolic":"method"}],"_setListStyle":[{"__symbolic":"method"}]}},"MatGridTile":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":25,"character":1},"arguments":[{"moduleId":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"module"},"member":"id"},"selector":"mat-grid-tile","exportAs":"matGridTile","host":{"class":"mat-grid-tile","$quoted$":["class"]},"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":34,"character":17},"member":"None"},"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":35,"character":19},"member":"OnPush"},"template":"<figure class=\"mat-figure\"><ng-content></ng-content></figure>","styles":[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-figure{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}.mat-grid-tile .mat-grid-tile-footer,.mat-grid-tile .mat-grid-tile-header{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-footer>*,.mat-grid-tile .mat-grid-tile-header>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-grid-tile .mat-grid-tile-footer.mat-2-line,.mat-grid-tile .mat-grid-tile-header.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":43,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":43,"character":17},"arguments":[{"__symbolic":"reference","name":"ɵa4"}]}]],"parameters":[{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":74,"character":43,"context":{"typeName":"HTMLElement"},"module":"./grid-tile"}]},{"__symbolic":"reference","name":"ɵb4"}]}],"rowspan":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":46,"character":3}}]}],"colspan":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":51,"character":3}}]}],"_setStyle":[{"__symbolic":"method"}]}},"MatGridTileText":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":64,"character":1},"arguments":[{"moduleId":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"module"},"member":"id"},"selector":"mat-grid-tile-header, mat-grid-tile-footer","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":68,"character":19},"member":"OnPush"},"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":69,"character":17},"member":"None"},"template":"<ng-content select=\"[mat-grid-avatar], [matGridAvatar]\"></ng-content><div class=\"mat-grid-list-text\"><ng-content select=\"[mat-line], [matLine]\"></ng-content></div><ng-content></ng-content>"}]}],"members":{"_lines":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":72,"character":3},"arguments":[{"__symbolic":"reference","module":"@angular/material/core","name":"MatLine","line":72,"character":19}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":74,"character":43,"context":{"typeName":"HTMLElement"},"module":"./grid-tile"}]}]}],"ngAfterContentInit":[{"__symbolic":"method"}]}},"MatGridAvatarCssMatStyler":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":85,"character":1},"arguments":[{"selector":"[mat-grid-avatar], [matGridAvatar]","host":{"class":"mat-grid-avatar","$quoted$":["class"]}}]}],"members":{}},"MatGridTileHeaderCssMatStyler":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":95,"character":1},"arguments":[{"selector":"mat-grid-tile-header","host":{"class":"mat-grid-tile-header","$quoted$":["class"]}}]}],"members":{}},"MatGridTileFooterCssMatStyler":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":105,"character":1},"arguments":[{"selector":"mat-grid-tile-footer","host":{"class":"mat-grid-tile-footer","$quoted$":["class"]}}]}],"members":{}},"ɵa4":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":14,"character":33},"arguments":["MAT_GRID_LIST"]},"ɵb4":{"__symbolic":"interface"}},"origins":{"MatGridListModule":"./grid-list-module","MatGridList":"./grid-list","MatGridTile":"./grid-tile","MatGridTileText":"./grid-tile","MatGridAvatarCssMatStyler":"./grid-tile","MatGridTileHeaderCssMatStyler":"./grid-tile","MatGridTileFooterCssMatStyler":"./grid-tile","ɵa4":"./grid-list-base","ɵb4":"./grid-list-base"},"importAs":"@angular/material/grid-list"}
1
+ {"__symbolic":"module","version":4,"metadata":{"MatGridListModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":17,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/material/core","name":"MatLineModule","line":18,"character":12},{"__symbolic":"reference","module":"@angular/material/core","name":"MatCommonModule","line":18,"character":27}],"exports":[{"__symbolic":"reference","name":"MatGridList"},{"__symbolic":"reference","name":"MatGridTile"},{"__symbolic":"reference","name":"MatGridTileText"},{"__symbolic":"reference","module":"@angular/material/core","name":"MatLineModule","line":23,"character":4},{"__symbolic":"reference","module":"@angular/material/core","name":"MatCommonModule","line":24,"character":4},{"__symbolic":"reference","name":"MatGridTileHeaderCssMatStyler"},{"__symbolic":"reference","name":"MatGridTileFooterCssMatStyler"},{"__symbolic":"reference","name":"MatGridAvatarCssMatStyler"}],"declarations":[{"__symbolic":"reference","name":"MatGridList"},{"__symbolic":"reference","name":"MatGridTile"},{"__symbolic":"reference","name":"MatGridTileText"},{"__symbolic":"reference","name":"MatGridTileHeaderCssMatStyler"},{"__symbolic":"reference","name":"MatGridTileFooterCssMatStyler"},{"__symbolic":"reference","name":"MatGridAvatarCssMatStyler"}]}]}],"members":{}},"MatGridList":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":34,"character":1},"arguments":[{"moduleId":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"module"},"member":"id"},"selector":"mat-grid-list","exportAs":"matGridList","host":{"class":"mat-grid-list","$quoted$":["class"]},"providers":[{"provide":{"__symbolic":"reference","name":"ɵa3"},"useExisting":{"__symbolic":"reference","name":"MatGridList"}}],"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":47,"character":19},"member":"OnPush"},"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":48,"character":17},"member":"None"},"template":"<div><ng-content></ng-content></div>","styles":[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-figure{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}.mat-grid-tile .mat-grid-tile-footer,.mat-grid-tile .mat-grid-tile-header{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-footer>*,.mat-grid-tile .mat-grid-tile-header>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-grid-tile .mat-grid-tile-footer.mat-2-line,.mat-grid-tile .mat-grid-tile-header.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}"]}]}],"members":{"_tiles":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":72,"character":3},"arguments":[{"__symbolic":"reference","name":"MatGridTile"},{"descendants":true}]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":75,"character":15}}]],"parameters":[{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":74,"character":43,"context":{"typeName":"HTMLElement"},"module":"./grid-list"}]},{"__symbolic":"reference","module":"@angular/cdk/bidi","name":"Directionality","line":75,"character":40}]}],"cols":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":78,"character":3}}]}],"gutterSize":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":85,"character":3}}]}],"rowHeight":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":90,"character":3}}]}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterContentChecked":[{"__symbolic":"method"}],"_checkCols":[{"__symbolic":"method"}],"_checkRowHeight":[{"__symbolic":"method"}],"_setTileStyler":[{"__symbolic":"method"}],"_layoutTiles":[{"__symbolic":"method"}],"_setListStyle":[{"__symbolic":"method"}]}},"MatGridTile":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":25,"character":1},"arguments":[{"moduleId":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"module"},"member":"id"},"selector":"mat-grid-tile","exportAs":"matGridTile","host":{"class":"mat-grid-tile","$quoted$":["class"]},"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":34,"character":17},"member":"None"},"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":35,"character":19},"member":"OnPush"},"template":"<figure class=\"mat-figure\"><ng-content></ng-content></figure>","styles":[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-figure{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}.mat-grid-tile .mat-grid-tile-footer,.mat-grid-tile .mat-grid-tile-header{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-footer>*,.mat-grid-tile .mat-grid-tile-header>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-grid-tile .mat-grid-tile-footer.mat-2-line,.mat-grid-tile .mat-grid-tile-header.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}"]}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":43,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":43,"character":17},"arguments":[{"__symbolic":"reference","name":"ɵa3"}]}]],"parameters":[{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":74,"character":43,"context":{"typeName":"HTMLElement"},"module":"./grid-tile"}]},{"__symbolic":"reference","name":"ɵb3"}]}],"rowspan":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":46,"character":3}}]}],"colspan":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":51,"character":3}}]}],"_setStyle":[{"__symbolic":"method"}]}},"MatGridTileText":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":64,"character":1},"arguments":[{"moduleId":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"module"},"member":"id"},"selector":"mat-grid-tile-header, mat-grid-tile-footer","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":68,"character":19},"member":"OnPush"},"encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":69,"character":17},"member":"None"},"template":"<ng-content select=\"[mat-grid-avatar], [matGridAvatar]\"></ng-content><div class=\"mat-grid-list-text\"><ng-content select=\"[mat-line], [matLine]\"></ng-content></div><ng-content></ng-content>"}]}],"members":{"_lines":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":72,"character":3},"arguments":[{"__symbolic":"reference","module":"@angular/material/core","name":"MatLine","line":72,"character":19}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":74,"character":43,"context":{"typeName":"HTMLElement"},"module":"./grid-tile"}]}]}],"ngAfterContentInit":[{"__symbolic":"method"}]}},"MatGridAvatarCssMatStyler":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":85,"character":1},"arguments":[{"selector":"[mat-grid-avatar], [matGridAvatar]","host":{"class":"mat-grid-avatar","$quoted$":["class"]}}]}],"members":{}},"MatGridTileHeaderCssMatStyler":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":95,"character":1},"arguments":[{"selector":"mat-grid-tile-header","host":{"class":"mat-grid-tile-header","$quoted$":["class"]}}]}],"members":{}},"MatGridTileFooterCssMatStyler":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":105,"character":1},"arguments":[{"selector":"mat-grid-tile-footer","host":{"class":"mat-grid-tile-footer","$quoted$":["class"]}}]}],"members":{}},"ɵa3":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":14,"character":33},"arguments":["MAT_GRID_LIST"]},"ɵb3":{"__symbolic":"interface"}},"origins":{"MatGridListModule":"./grid-list-module","MatGridList":"./grid-list","MatGridTile":"./grid-tile","MatGridTileText":"./grid-tile","MatGridAvatarCssMatStyler":"./grid-tile","MatGridTileHeaderCssMatStyler":"./grid-tile","MatGridTileFooterCssMatStyler":"./grid-tile","ɵa3":"./grid-list-base","ɵb3":"./grid-list-base"},"importAs":"@angular/material/grid-list"}
package/material.d.ts CHANGED
@@ -16,11 +16,11 @@ export * from './button-toggle';
16
16
  export * from './card';
17
17
  export * from './checkbox';
18
18
  export * from './toolbar';
19
+ export * from './dialog';
19
20
  export * from './icon';
20
21
  export * from './sort';
21
22
  export * from './tabs';
22
23
  export * from './slider';
23
- export * from './dialog';
24
24
  export * from './slide-toggle';
25
25
  export * from './divider';
26
26
  export * from './form-field';
@@ -33,6 +33,9 @@
33
33
  {
34
34
  "from": "./toolbar"
35
35
  },
36
+ {
37
+ "from": "./dialog"
38
+ },
36
39
  {
37
40
  "from": "./icon"
38
41
  },
@@ -45,9 +48,6 @@
45
48
  {
46
49
  "from": "./slider"
47
50
  },
48
- {
49
- "from": "./dialog"
50
- },
51
51
  {
52
52
  "from": "./slide-toggle"
53
53
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/material",
3
- "version": "8.1.1",
3
+ "version": "8.1.2",
4
4
  "description": "Angular Material",
5
5
  "main": "./bundles/material.umd.js",
6
6
  "module": "./esm5/material.es5.js",
@@ -23,7 +23,7 @@
23
23
  "homepage": "https://github.com/angular/components#readme",
24
24
  "peerDependencies": {
25
25
  "@angular/animations": "^8.0.0 || ^9.0.0-0",
26
- "@angular/cdk": "8.1.1",
26
+ "@angular/cdk": "8.1.2",
27
27
  "@angular/core": "^8.0.0 || ^9.0.0-0",
28
28
  "@angular/common": "^8.0.0 || ^9.0.0-0",
29
29
  "@angular/forms": "^8.0.0 || ^9.0.0-0"
@@ -41,7 +41,7 @@
41
41
  ]
42
42
  },
43
43
  "sideEffects": false,
44
- "releaseGitCommitSha": "b4eb254afd20a085b13a4890eb985492251407c2",
44
+ "releaseGitCommitSha": "8e6ff7ee07531b368abb16eee5dfb4ef50aa5371",
45
45
  "releaseGitBranch": "8.1.x",
46
- "releaseGitUser": "Jeremy Elbourn <jelbourn@google.com>"
46
+ "releaseGitUser": "Andrew Seguin <andrewjs@google.com>"
47
47
  }