@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
@@ -59,7 +59,7 @@ var __assign = function() {
59
59
  * Current version of Angular Material.
60
60
  * @type {?}
61
61
  */
62
- var VERSION$1 = new core.Version('8.1.1');
62
+ var VERSION$1 = new core.Version('8.1.2');
63
63
 
64
64
  /**
65
65
  * @fileoverview added by tsickle
@@ -99,7 +99,7 @@ var AnimationDurations = /** @class */ (function () {
99
99
  // Can be removed once the Material primary entry-point no longer
100
100
  // re-exports all secondary entry-points
101
101
  /** @type {?} */
102
- var VERSION$2 = new core.Version('8.1.1');
102
+ var VERSION$2 = new core.Version('8.1.2');
103
103
  /**
104
104
  * Injection token that configures whether the Material sanity checks are enabled.
105
105
  * @type {?}
@@ -6202,12 +6202,26 @@ var MatBottomSheetContainer = /** @class */ (function (_super) {
6202
6202
  * @return {?}
6203
6203
  */
6204
6204
  function () {
6205
+ /** @type {?} */
6206
+ var element = this._elementRef.nativeElement;
6205
6207
  if (!this._focusTrap) {
6206
- this._focusTrap = this._focusTrapFactory.create(this._elementRef.nativeElement);
6208
+ this._focusTrap = this._focusTrapFactory.create(element);
6207
6209
  }
6208
6210
  if (this.bottomSheetConfig.autoFocus) {
6209
6211
  this._focusTrap.focusInitialElementWhenReady();
6210
6212
  }
6213
+ else {
6214
+ /** @type {?} */
6215
+ var activeElement = this._document.activeElement;
6216
+ // Otherwise ensure that focus is on the container. It's possible that a different
6217
+ // component tried to move focus while the open animation was running. See:
6218
+ // https://github.com/angular/components/issues/16215. Note that we only want to do this
6219
+ // if the focus isn't inside the bottom sheet already, because it's possible that the
6220
+ // consumer turned off `autoFocus` in order to move focus themselves.
6221
+ if (activeElement !== element && !element.contains(activeElement)) {
6222
+ element.focus();
6223
+ }
6224
+ }
6211
6225
  };
6212
6226
  /** Restores focus to the element that was focused before the bottom sheet was opened. */
6213
6227
  /**
@@ -7158,7 +7172,7 @@ var MatButtonToggleGroup = /** @class */ (function () {
7158
7172
  */
7159
7173
  function () {
7160
7174
  /** @type {?} */
7161
- var selected = this._selectionModel.selected;
7175
+ var selected = this._selectionModel ? this._selectionModel.selected : [];
7162
7176
  return this.multiple ? selected : (selected[0] || null);
7163
7177
  },
7164
7178
  enumerable: true,
@@ -7341,11 +7355,16 @@ var MatButtonToggleGroup = /** @class */ (function () {
7341
7355
  if (!this.multiple && this.selected && !toggle.checked) {
7342
7356
  ((/** @type {?} */ (this.selected))).checked = false;
7343
7357
  }
7344
- if (select) {
7345
- this._selectionModel.select(toggle);
7358
+ if (this._selectionModel) {
7359
+ if (select) {
7360
+ this._selectionModel.select(toggle);
7361
+ }
7362
+ else {
7363
+ this._selectionModel.deselect(toggle);
7364
+ }
7346
7365
  }
7347
7366
  else {
7348
- this._selectionModel.deselect(toggle);
7367
+ deferEvents = true;
7349
7368
  }
7350
7369
  // We need to defer in some cases in order to avoid "changed after checked errors", however
7351
7370
  // the side-effect is that we may end up updating the model value out of sequence in others
@@ -7368,7 +7387,7 @@ var MatButtonToggleGroup = /** @class */ (function () {
7368
7387
  * @return {?}
7369
7388
  */
7370
7389
  function (toggle) {
7371
- return this._selectionModel.isSelected(toggle);
7390
+ return this._selectionModel && this._selectionModel.isSelected(toggle);
7372
7391
  };
7373
7392
  /** Determines whether a button toggle should be checked on init. */
7374
7393
  /**
@@ -8767,7 +8786,6 @@ var MatCheckboxRequiredValidator = /** @class */ (function (_super) {
8767
8786
  { type: core.Directive, args: [{
8768
8787
  selector: "mat-checkbox[required][formControlName],\n mat-checkbox[required][formControl], mat-checkbox[required][ngModel]",
8769
8788
  providers: [MAT_CHECKBOX_REQUIRED_VALIDATOR],
8770
- host: { '[attr.required]': 'required ? "" : null' }
8771
8789
  },] },
8772
8790
  ];
8773
8791
  return MatCheckboxRequiredValidator;
@@ -13489,7 +13507,7 @@ var MatCalendarBody = /** @class */ (function () {
13489
13507
  };
13490
13508
  MatCalendarBody.decorators = [
13491
13509
  { type: core.Component, args: [{selector: '[mat-calendar-body]',
13492
- template: "<tr *ngIf=\"_firstRowOffset < labelMinRequiredCells\" aria-hidden=\"true\"><td class=\"mat-calendar-body-label\" [attr.colspan]=\"numCols\" [style.paddingTop]=\"_cellPadding\" [style.paddingBottom]=\"_cellPadding\">{{label}}</td></tr><tr *ngFor=\"let row of rows; let rowIndex = index\" role=\"row\"><td *ngIf=\"rowIndex === 0 && _firstRowOffset\" aria-hidden=\"true\" class=\"mat-calendar-body-label\" [attr.colspan]=\"_firstRowOffset\" [style.paddingTop]=\"_cellPadding\" [style.paddingBottom]=\"_cellPadding\">{{_firstRowOffset >= labelMinRequiredCells ? label : ''}}</td><td *ngFor=\"let item of row; let colIndex = index\" role=\"gridcell\" class=\"mat-calendar-body-cell\" [ngClass]=\"item.cssClasses\" [tabindex]=\"_isActiveCell(rowIndex, colIndex) ? 0 : -1\" [class.mat-calendar-body-disabled]=\"!item.enabled\" [class.mat-calendar-body-active]=\"_isActiveCell(rowIndex, colIndex)\" [attr.aria-label]=\"item.ariaLabel\" [attr.aria-disabled]=\"!item.enabled || null\" [attr.aria-selected]=\"selectedValue === item.value\" (click)=\"_cellClicked(item)\" [style.width]=\"_cellWidth\" [style.paddingTop]=\"_cellPadding\" [style.paddingBottom]=\"_cellPadding\"><div class=\"mat-calendar-body-cell-content\" [class.mat-calendar-body-selected]=\"selectedValue === item.value\" [class.mat-calendar-body-today]=\"todayValue === item.value\">{{item.displayValue}}</div></td></tr>",
13510
+ template: "<tr *ngIf=\"_firstRowOffset < labelMinRequiredCells\" aria-hidden=\"true\"><td class=\"mat-calendar-body-label\" [attr.colspan]=\"numCols\" [style.paddingTop]=\"_cellPadding\" [style.paddingBottom]=\"_cellPadding\">{{label}}</td></tr><tr *ngFor=\"let row of rows; let rowIndex = index\" role=\"row\"><td *ngIf=\"rowIndex === 0 && _firstRowOffset\" aria-hidden=\"true\" class=\"mat-calendar-body-label\" [attr.colspan]=\"_firstRowOffset\" [style.paddingTop]=\"_cellPadding\" [style.paddingBottom]=\"_cellPadding\">{{_firstRowOffset >= labelMinRequiredCells ? label : ''}}</td><td *ngFor=\"let item of row; let colIndex = index\" role=\"gridcell\" class=\"mat-calendar-body-cell\" [ngClass]=\"item.cssClasses\" [tabindex]=\"_isActiveCell(rowIndex, colIndex) ? 0 : -1\" [class.mat-calendar-body-disabled]=\"!item.enabled\" [class.mat-calendar-body-active]=\"_isActiveCell(rowIndex, colIndex)\" [attr.aria-label]=\"item.ariaLabel\" [attr.aria-disabled]=\"!item.enabled || null\" [attr.aria-selected]=\"selectedValue === item.value\" (click)=\"_cellClicked(item)\" [style.width]=\"_cellWidth\" [style.paddingTop]=\"_cellPadding\" role=\"button\" [style.paddingBottom]=\"_cellPadding\"><div class=\"mat-calendar-body-cell-content\" [class.mat-calendar-body-selected]=\"selectedValue === item.value\" [class.mat-calendar-body-today]=\"todayValue === item.value\">{{item.displayValue}}</div></td></tr>",
13493
13511
  styles: [".mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.71429%;padding-right:4.71429%}.mat-calendar-body-cell{position:relative;height:0;line-height:0;text-align:center;outline:0;cursor:pointer}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-cell-content{position:absolute;top:5%;left:5%;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}@media (-ms-high-contrast:active){.mat-calendar-body-cell-content{border:none}}@media (-ms-high-contrast:active){.mat-calendar-body-selected,.mat-datepicker-popup:not(:empty){outline:solid 1px}.mat-calendar-body-today{outline:dotted 1px}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}}[dir=rtl] .mat-calendar-body-label{text-align:right}"],
13494
13512
  host: {
13495
13513
  'class': 'mat-calendar-body',
@@ -17233,9 +17251,9 @@ var MatExpansionPanel = /** @class */ (function (_super) {
17233
17251
  configurable: true
17234
17252
  });
17235
17253
  Object.defineProperty(MatExpansionPanel.prototype, "togglePosition", {
17236
- /** Whether the toggle indicator should be hidden. */
17254
+ /** The position of the expansion indicator. */
17237
17255
  get: /**
17238
- * Whether the toggle indicator should be hidden.
17256
+ * The position of the expansion indicator.
17239
17257
  * @return {?}
17240
17258
  */
17241
17259
  function () {
@@ -31387,13 +31405,71 @@ var MatSlideToggle = /** @class */ (function (_super) {
31387
31405
  * @fileoverview added by tsickle
31388
31406
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
31389
31407
  */
31408
+ /** @type {?} */
31409
+ var MAT_SLIDE_TOGGLE_REQUIRED_VALIDATOR = {
31410
+ provide: forms.NG_VALIDATORS,
31411
+ useExisting: core.forwardRef((/**
31412
+ * @return {?}
31413
+ */
31414
+ function () { return MatSlideToggleRequiredValidator; })),
31415
+ multi: true
31416
+ };
31417
+ /**
31418
+ * Validator for Material slide-toggle components with the required attribute in a
31419
+ * template-driven form. The default validator for required form controls asserts
31420
+ * that the control value is not undefined but that is not appropriate for a slide-toggle
31421
+ * where the value is always defined.
31422
+ *
31423
+ * Required slide-toggle form controls are valid when checked.
31424
+ */
31425
+ var MatSlideToggleRequiredValidator = /** @class */ (function (_super) {
31426
+ __extends(MatSlideToggleRequiredValidator, _super);
31427
+ function MatSlideToggleRequiredValidator() {
31428
+ return _super !== null && _super.apply(this, arguments) || this;
31429
+ }
31430
+ MatSlideToggleRequiredValidator.decorators = [
31431
+ { type: core.Directive, args: [{
31432
+ selector: "mat-slide-toggle[required][formControlName],\n mat-slide-toggle[required][formControl], mat-slide-toggle[required][ngModel]",
31433
+ providers: [MAT_SLIDE_TOGGLE_REQUIRED_VALIDATOR],
31434
+ },] },
31435
+ ];
31436
+ return MatSlideToggleRequiredValidator;
31437
+ }(forms.CheckboxRequiredValidator));
31438
+
31439
+ /**
31440
+ * @fileoverview added by tsickle
31441
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
31442
+ */
31443
+ /**
31444
+ * This module is used by both original and MDC-based slide-toggle implementations.
31445
+ */
31446
+ var _MatSlideToggleRequiredValidatorModule = /** @class */ (function () {
31447
+ function _MatSlideToggleRequiredValidatorModule() {
31448
+ }
31449
+ _MatSlideToggleRequiredValidatorModule.decorators = [
31450
+ { type: core.NgModule, args: [{
31451
+ exports: [MatSlideToggleRequiredValidator],
31452
+ declarations: [MatSlideToggleRequiredValidator],
31453
+ },] },
31454
+ ];
31455
+ return _MatSlideToggleRequiredValidatorModule;
31456
+ }());
31390
31457
  var MatSlideToggleModule = /** @class */ (function () {
31391
31458
  function MatSlideToggleModule() {
31392
31459
  }
31393
31460
  MatSlideToggleModule.decorators = [
31394
31461
  { type: core.NgModule, args: [{
31395
- imports: [MatRippleModule, MatCommonModule, observers.ObserversModule],
31396
- exports: [MatSlideToggle, MatCommonModule],
31462
+ imports: [
31463
+ _MatSlideToggleRequiredValidatorModule,
31464
+ MatRippleModule,
31465
+ MatCommonModule,
31466
+ observers.ObserversModule,
31467
+ ],
31468
+ exports: [
31469
+ _MatSlideToggleRequiredValidatorModule,
31470
+ MatSlideToggle,
31471
+ MatCommonModule
31472
+ ],
31397
31473
  declarations: [MatSlideToggle],
31398
31474
  providers: [
31399
31475
  { provide: platformBrowser.HAMMER_GESTURE_CONFIG, useClass: GestureConfig }
@@ -35829,17 +35905,17 @@ MatTableDataSource = /** @class */ (function (_super) {
35829
35905
  return this.sortData(data.slice(), this.sort);
35830
35906
  };
35831
35907
  /**
35832
- * Returns a paged splice of the provided data array according to the provided MatPaginator's page
35908
+ * Returns a paged slice of the provided data array according to the provided MatPaginator's page
35833
35909
  * index and length. If there is no paginator provided, returns the data array as provided.
35834
35910
  */
35835
35911
  /**
35836
- * Returns a paged splice of the provided data array according to the provided MatPaginator's page
35912
+ * Returns a paged slice of the provided data array according to the provided MatPaginator's page
35837
35913
  * index and length. If there is no paginator provided, returns the data array as provided.
35838
35914
  * @param {?} data
35839
35915
  * @return {?}
35840
35916
  */
35841
35917
  MatTableDataSource.prototype._pageData = /**
35842
- * Returns a paged splice of the provided data array according to the provided MatPaginator's page
35918
+ * Returns a paged slice of the provided data array according to the provided MatPaginator's page
35843
35919
  * index and length. If there is no paginator provided, returns the data array as provided.
35844
35920
  * @param {?} data
35845
35921
  * @return {?}
@@ -35850,7 +35926,7 @@ MatTableDataSource = /** @class */ (function (_super) {
35850
35926
  }
35851
35927
  /** @type {?} */
35852
35928
  var startIndex = this.paginator.pageIndex * this.paginator.pageSize;
35853
- return data.slice().splice(startIndex, this.paginator.pageSize);
35929
+ return data.slice(startIndex, startIndex + this.paginator.pageSize);
35854
35930
  };
35855
35931
  /**
35856
35932
  * Updates the paginator to reflect the length of the filtered data, and makes sure that the page
@@ -38336,7 +38412,7 @@ var MatTabLink = /** @class */ (function (_super) {
38336
38412
  inputs: ['disabled', 'disableRipple', 'tabIndex'],
38337
38413
  host: {
38338
38414
  'class': 'mat-tab-link',
38339
- '[attr.aria-current]': 'active',
38415
+ '[attr.aria-current]': 'active ? "page" : null',
38340
38416
  '[attr.aria-disabled]': 'disabled',
38341
38417
  '[attr.tabIndex]': 'tabIndex',
38342
38418
  '[class.mat-tab-disabled]': 'disabled',
@@ -38560,40 +38636,12 @@ var MatToolbarModule = /** @class */ (function () {
38560
38636
  return MatToolbarModule;
38561
38637
  }());
38562
38638
 
38563
- /**
38564
- * @fileoverview added by tsickle
38565
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
38566
- */
38567
- /**
38568
- * Outlet for nested CdkNode. Put `[matTreeNodeOutlet]` on a tag to place children dataNodes
38569
- * inside the outlet.
38570
- */
38571
- var MatTreeNodeOutlet = /** @class */ (function () {
38572
- function MatTreeNodeOutlet(viewContainer, _node) {
38573
- this.viewContainer = viewContainer;
38574
- this._node = _node;
38575
- }
38576
- MatTreeNodeOutlet.decorators = [
38577
- { type: core.Directive, args: [{
38578
- selector: '[matTreeNodeOutlet]'
38579
- },] },
38580
- ];
38581
- /** @nocollapse */
38582
- MatTreeNodeOutlet.ctorParameters = function () { return [
38583
- { type: core.ViewContainerRef },
38584
- { type: undefined, decorators: [{ type: core.Inject, args: [tree.CDK_TREE_NODE_OUTLET_NODE,] }, { type: core.Optional }] }
38585
- ]; };
38586
- return MatTreeNodeOutlet;
38587
- }());
38588
-
38589
38639
  /**
38590
38640
  * @fileoverview added by tsickle
38591
38641
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
38592
38642
  */
38593
38643
  /** @type {?} */
38594
38644
  var _MatTreeNodeMixinBase = mixinTabIndex(mixinDisabled(tree.CdkTreeNode));
38595
- /** @type {?} */
38596
- var _MatNestedTreeNodeMixinBase = mixinTabIndex(mixinDisabled(tree.CdkNestedTreeNode));
38597
38645
  /**
38598
38646
  * Wrapper for the CdkTree node with Material design styles.
38599
38647
  * @template T
@@ -38667,9 +38715,43 @@ var MatNestedTreeNode = /** @class */ (function (_super) {
38667
38715
  _this._elementRef = _elementRef;
38668
38716
  _this._tree = _tree;
38669
38717
  _this._differs = _differs;
38718
+ _this._disabled = false;
38670
38719
  _this.tabIndex = Number(tabIndex) || 0;
38671
38720
  return _this;
38672
38721
  }
38722
+ Object.defineProperty(MatNestedTreeNode.prototype, "disabled", {
38723
+ /** Whether the node is disabled. */
38724
+ get: /**
38725
+ * Whether the node is disabled.
38726
+ * @return {?}
38727
+ */
38728
+ function () { return this._disabled; },
38729
+ set: /**
38730
+ * @param {?} value
38731
+ * @return {?}
38732
+ */
38733
+ function (value) { this._disabled = coercion.coerceBooleanProperty(value); },
38734
+ enumerable: true,
38735
+ configurable: true
38736
+ });
38737
+ Object.defineProperty(MatNestedTreeNode.prototype, "tabIndex", {
38738
+ /** Tabindex for the node. */
38739
+ get: /**
38740
+ * Tabindex for the node.
38741
+ * @return {?}
38742
+ */
38743
+ function () { return this.disabled ? -1 : this._tabIndex; },
38744
+ set: /**
38745
+ * @param {?} value
38746
+ * @return {?}
38747
+ */
38748
+ function (value) {
38749
+ // If the specified tabIndex value is null or undefined, fall back to the default value.
38750
+ this._tabIndex = value != null ? value : 0;
38751
+ },
38752
+ enumerable: true,
38753
+ configurable: true
38754
+ });
38673
38755
  // This is a workaround for https://github.com/angular/angular/issues/23091
38674
38756
  // In aot mode, the lifecycle hooks from parent class are not called.
38675
38757
  // TODO(tinayuangao): Remove when the angular issue #23091 is fixed
@@ -38707,7 +38789,6 @@ var MatNestedTreeNode = /** @class */ (function (_super) {
38707
38789
  '[attr.role]': 'role',
38708
38790
  'class': 'mat-nested-tree-node',
38709
38791
  },
38710
- inputs: ['disabled', 'tabIndex'],
38711
38792
  providers: [
38712
38793
  { provide: tree.CdkNestedTreeNode, useExisting: MatNestedTreeNode },
38713
38794
  { provide: tree.CdkTreeNode, useExisting: MatNestedTreeNode },
@@ -38724,14 +38805,11 @@ var MatNestedTreeNode = /** @class */ (function (_super) {
38724
38805
  ]; };
38725
38806
  MatNestedTreeNode.propDecorators = {
38726
38807
  node: [{ type: core.Input, args: ['matNestedTreeNode',] }],
38727
- nodeOutlet: [{ type: core.ContentChildren, args: [MatTreeNodeOutlet, {
38728
- // We need to use `descendants: true`, because Ivy will no longer match
38729
- // indirect descendants if it's left as false.
38730
- descendants: true
38731
- },] }]
38808
+ disabled: [{ type: core.Input }],
38809
+ tabIndex: [{ type: core.Input }]
38732
38810
  };
38733
38811
  return MatNestedTreeNode;
38734
- }(_MatNestedTreeNodeMixinBase));
38812
+ }(tree.CdkNestedTreeNode));
38735
38813
 
38736
38814
  /**
38737
38815
  * @fileoverview added by tsickle
@@ -38759,6 +38837,36 @@ var MatTreeNodePadding = /** @class */ (function (_super) {
38759
38837
  return MatTreeNodePadding;
38760
38838
  }(tree.CdkTreeNodePadding));
38761
38839
 
38840
+ /**
38841
+ * @fileoverview added by tsickle
38842
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
38843
+ */
38844
+ /**
38845
+ * Outlet for nested CdkNode. Put `[matTreeNodeOutlet]` on a tag to place children dataNodes
38846
+ * inside the outlet.
38847
+ */
38848
+ var MatTreeNodeOutlet = /** @class */ (function () {
38849
+ function MatTreeNodeOutlet(viewContainer, _node) {
38850
+ this.viewContainer = viewContainer;
38851
+ this._node = _node;
38852
+ }
38853
+ MatTreeNodeOutlet.decorators = [
38854
+ { type: core.Directive, args: [{
38855
+ selector: '[matTreeNodeOutlet]',
38856
+ providers: [{
38857
+ provide: tree.CdkTreeNodeOutlet,
38858
+ useExisting: MatTreeNodeOutlet
38859
+ }]
38860
+ },] },
38861
+ ];
38862
+ /** @nocollapse */
38863
+ MatTreeNodeOutlet.ctorParameters = function () { return [
38864
+ { type: core.ViewContainerRef },
38865
+ { type: undefined, decorators: [{ type: core.Inject, args: [tree.CDK_TREE_NODE_OUTLET_NODE,] }, { type: core.Optional }] }
38866
+ ]; };
38867
+ return MatTreeNodeOutlet;
38868
+ }());
38869
+
38762
38870
  /**
38763
38871
  * @fileoverview added by tsickle
38764
38872
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
@@ -39428,7 +39536,7 @@ exports.MatPrefix = MatPrefix;
39428
39536
  exports.MatSuffix = MatSuffix;
39429
39537
  exports.MatLabel = MatLabel;
39430
39538
  exports.matFormFieldAnimations = matFormFieldAnimations;
39431
- exports.ɵa4 = MAT_GRID_LIST;
39539
+ exports.ɵa3 = MAT_GRID_LIST;
39432
39540
  exports.MatGridListModule = MatGridListModule;
39433
39541
  exports.MatGridList = MatGridList;
39434
39542
  exports.MatGridTile = MatGridTile;
@@ -39528,11 +39636,14 @@ exports.MatSidenavContent = MatSidenavContent;
39528
39636
  exports.MatSidenav = MatSidenav;
39529
39637
  exports.MatSidenavContainer = MatSidenavContainer;
39530
39638
  exports.matDrawerAnimations = matDrawerAnimations;
39639
+ exports._MatSlideToggleRequiredValidatorModule = _MatSlideToggleRequiredValidatorModule;
39531
39640
  exports.MatSlideToggleModule = MatSlideToggleModule;
39532
39641
  exports.MAT_SLIDE_TOGGLE_VALUE_ACCESSOR = MAT_SLIDE_TOGGLE_VALUE_ACCESSOR;
39533
39642
  exports.MatSlideToggleChange = MatSlideToggleChange;
39534
39643
  exports.MatSlideToggle = MatSlideToggle;
39535
39644
  exports.MAT_SLIDE_TOGGLE_DEFAULT_OPTIONS = MAT_SLIDE_TOGGLE_DEFAULT_OPTIONS;
39645
+ exports.MAT_SLIDE_TOGGLE_REQUIRED_VALIDATOR = MAT_SLIDE_TOGGLE_REQUIRED_VALIDATOR;
39646
+ exports.MatSlideToggleRequiredValidator = MatSlideToggleRequiredValidator;
39536
39647
  exports.MatSliderModule = MatSliderModule;
39537
39648
  exports.MAT_SLIDER_VALUE_ACCESSOR = MAT_SLIDER_VALUE_ACCESSOR;
39538
39649
  exports.MatSliderChange = MatSliderChange;