@angular/material 8.2.2 → 8.2.3

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 (109) hide show
  1. package/bundles/material-core.umd.js +2 -2
  2. package/bundles/material-core.umd.js.map +1 -1
  3. package/bundles/material-core.umd.min.js +1 -1
  4. package/bundles/material-core.umd.min.js.map +1 -1
  5. package/bundles/material-datepicker.umd.js +21 -1
  6. package/bundles/material-datepicker.umd.js.map +1 -1
  7. package/bundles/material-datepicker.umd.min.js +2 -2
  8. package/bundles/material-datepicker.umd.min.js.map +1 -1
  9. package/bundles/material-dialog.umd.js +3 -3
  10. package/bundles/material-dialog.umd.js.map +1 -1
  11. package/bundles/material-dialog.umd.min.js.map +1 -1
  12. package/bundles/material-grid-list.umd.js +1 -1
  13. package/bundles/material-grid-list.umd.min.js +1 -1
  14. package/bundles/material-menu.umd.js +3 -3
  15. package/bundles/material-menu.umd.min.js +1 -1
  16. package/bundles/material-select.umd.js +5 -0
  17. package/bundles/material-select.umd.js.map +1 -1
  18. package/bundles/material-select.umd.min.js +1 -1
  19. package/bundles/material-select.umd.min.js.map +1 -1
  20. package/bundles/material-table.umd.js +3 -3
  21. package/bundles/material-table.umd.js.map +1 -1
  22. package/bundles/material-table.umd.min.js +1 -1
  23. package/bundles/material-table.umd.min.js.map +1 -1
  24. package/bundles/material-tabs.umd.js +53 -9
  25. package/bundles/material-tabs.umd.js.map +1 -1
  26. package/bundles/material-tabs.umd.min.js +2 -2
  27. package/bundles/material-tabs.umd.min.js.map +1 -1
  28. package/bundles/material.umd.js +91 -22
  29. package/bundles/material.umd.js.map +1 -1
  30. package/bundles/material.umd.min.js +18 -18
  31. package/bundles/material.umd.min.js.map +1 -1
  32. package/datepicker/typings/datepicker-intl.d.ts +2 -0
  33. package/datepicker/typings/index.metadata.json +1 -1
  34. package/dialog/typings/dialog-config.d.ts +6 -6
  35. package/esm2015/core.js +2 -2
  36. package/esm2015/core.js.map +1 -1
  37. package/esm2015/datepicker.js +14 -1
  38. package/esm2015/datepicker.js.map +1 -1
  39. package/esm2015/dialog.js +3 -3
  40. package/esm2015/dialog.js.map +1 -1
  41. package/esm2015/grid-list.js +1 -1
  42. package/esm2015/material.js +3 -3
  43. package/esm2015/menu.js +1 -1
  44. package/esm2015/select.js +5 -0
  45. package/esm2015/select.js.map +1 -1
  46. package/esm2015/table.js +3 -3
  47. package/esm2015/table.js.map +1 -1
  48. package/esm2015/tabs.js +51 -2
  49. package/esm2015/tabs.js.map +1 -1
  50. package/esm5/core.es5.js +2 -2
  51. package/esm5/core.es5.js.map +1 -1
  52. package/esm5/datepicker.es5.js +21 -1
  53. package/esm5/datepicker.es5.js.map +1 -1
  54. package/esm5/dialog.es5.js +3 -3
  55. package/esm5/dialog.es5.js.map +1 -1
  56. package/esm5/grid-list.es5.js +1 -1
  57. package/esm5/material.es5.js +3 -3
  58. package/esm5/menu.es5.js +1 -1
  59. package/esm5/select.es5.js +5 -0
  60. package/esm5/select.es5.js.map +1 -1
  61. package/esm5/table.es5.js +3 -3
  62. package/esm5/table.es5.js.map +1 -1
  63. package/esm5/tabs.es5.js +51 -7
  64. package/esm5/tabs.es5.js.map +1 -1
  65. package/grid-list/typings/index.d.ts +1 -1
  66. package/grid-list/typings/index.metadata.json +1 -1
  67. package/menu/typings/index.d.ts +2 -2
  68. package/menu/typings/index.metadata.json +1 -1
  69. package/package.json +4 -4
  70. package/tabs/typings/index.d.ts +2 -2
  71. package/tabs/typings/index.metadata.json +1 -1
  72. package/tabs/typings/paginated-tab-header.d.ts +1 -0
  73. package/tabs/typings/public-api.d.ts +1 -1
  74. package/tabs/typings/tab-body.d.ts +4 -1
  75. package/tabs/typings/tab-group.d.ts +4 -1
  76. package/tabs/typings/tab-header.d.ts +4 -1
  77. package/tabs/typings/tab-nav-bar/tab-nav-bar.d.ts +4 -1
  78. package/typings/core/index.metadata.json +1 -1
  79. package/typings/datepicker/datepicker-intl.d.ts +2 -0
  80. package/typings/datepicker/index.metadata.json +1 -1
  81. package/typings/dialog/dialog-config.d.ts +6 -6
  82. package/typings/esm5/core/index.metadata.json +1 -1
  83. package/typings/esm5/datepicker/datepicker-intl.d.ts +2 -0
  84. package/typings/esm5/datepicker/index.metadata.json +1 -1
  85. package/typings/esm5/dialog/dialog-config.d.ts +6 -6
  86. package/typings/esm5/grid-list/index.d.ts +1 -1
  87. package/typings/esm5/grid-list/index.metadata.json +1 -1
  88. package/typings/esm5/menu/index.d.ts +2 -2
  89. package/typings/esm5/menu/index.metadata.json +1 -1
  90. package/typings/esm5/tabs/index.d.ts +2 -2
  91. package/typings/esm5/tabs/index.metadata.json +1 -1
  92. package/typings/esm5/tabs/paginated-tab-header.d.ts +1 -0
  93. package/typings/esm5/tabs/public-api.d.ts +1 -1
  94. package/typings/esm5/tabs/tab-body.d.ts +4 -1
  95. package/typings/esm5/tabs/tab-group.d.ts +4 -1
  96. package/typings/esm5/tabs/tab-header.d.ts +4 -1
  97. package/typings/esm5/tabs/tab-nav-bar/tab-nav-bar.d.ts +4 -1
  98. package/typings/grid-list/index.d.ts +1 -1
  99. package/typings/grid-list/index.metadata.json +1 -1
  100. package/typings/menu/index.d.ts +2 -2
  101. package/typings/menu/index.metadata.json +1 -1
  102. package/typings/tabs/index.d.ts +2 -2
  103. package/typings/tabs/index.metadata.json +1 -1
  104. package/typings/tabs/paginated-tab-header.d.ts +1 -0
  105. package/typings/tabs/public-api.d.ts +1 -1
  106. package/typings/tabs/tab-body.d.ts +4 -1
  107. package/typings/tabs/tab-group.d.ts +4 -1
  108. package/typings/tabs/tab-header.d.ts +4 -1
  109. package/typings/tabs/tab-nav-bar/tab-nav-bar.d.ts +4 -1
@@ -462,9 +462,9 @@ var MatTabBodyPortal = /** @class */ (function (_super) {
462
462
  }(portal.CdkPortalOutlet));
463
463
  /**
464
464
  * Base class with all of the `MatTabBody` functionality.
465
+ * \@docs-private
465
466
  * @abstract
466
467
  */
467
- // tslint:disable-next-line:class-name
468
468
  var _MatTabBodyBase = /** @class */ (function () {
469
469
  function _MatTabBodyBase(_elementRef, _dir, changeDetectorRef) {
470
470
  var _this = this;
@@ -669,6 +669,12 @@ var _MatTabBodyBase = /** @class */ (function () {
669
669
  }
670
670
  return 'right-origin-center';
671
671
  };
672
+ _MatTabBodyBase.decorators = [
673
+ { type: core.Directive, args: [{
674
+ // TODO(crisbeto): this selector can be removed when we update to Angular 9.0.
675
+ selector: 'do-not-use-abstract-mat-tab-body-base'
676
+ },] },
677
+ ];
672
678
  /** @nocollapse */
673
679
  _MatTabBodyBase.ctorParameters = function () { return [
674
680
  { type: core.ElementRef },
@@ -764,9 +770,9 @@ MatTabGroupMixinBase = /** @class */ (function () {
764
770
  var _MatTabGroupMixinBase = core$1.mixinColor(core$1.mixinDisableRipple(MatTabGroupMixinBase), 'primary');
765
771
  /**
766
772
  * Base class with all of the `MatTabGroupBase` functionality.
773
+ * \@docs-private
767
774
  * @abstract
768
775
  */
769
- // tslint:disable-next-line:class-name
770
776
  var _MatTabGroupBase = /** @class */ (function (_super) {
771
777
  __extends(_MatTabGroupBase, _super);
772
778
  function _MatTabGroupBase(elementRef, _changeDetectorRef, defaultConfig, _animationMode) {
@@ -1215,6 +1221,12 @@ var _MatTabGroupBase = /** @class */ (function (_super) {
1215
1221
  }
1216
1222
  return this.selectedIndex === idx ? 0 : -1;
1217
1223
  };
1224
+ _MatTabGroupBase.decorators = [
1225
+ { type: core.Directive, args: [{
1226
+ // TODO(crisbeto): this selector can be removed when we update to Angular 9.0.
1227
+ selector: 'do-not-use-abstract-mat-tab-group-base'
1228
+ },] },
1229
+ ];
1218
1230
  /** @nocollapse */
1219
1231
  _MatTabGroupBase.ctorParameters = function () { return [
1220
1232
  { type: core.ElementRef },
@@ -1382,6 +1394,7 @@ var HEADER_SCROLL_DELAY = 650;
1382
1394
  var HEADER_SCROLL_INTERVAL = 100;
1383
1395
  /**
1384
1396
  * Base class for a tab header that supported pagination.
1397
+ * \@docs-private
1385
1398
  * @abstract
1386
1399
  */
1387
1400
  var MatPaginatedTabHeader = /** @class */ (function () {
@@ -2132,6 +2145,12 @@ var MatPaginatedTabHeader = /** @class */ (function () {
2132
2145
  this._checkScrollingControls();
2133
2146
  return { maxScrollDistance: maxScrollDistance, distance: this._scrollDistance };
2134
2147
  };
2148
+ MatPaginatedTabHeader.decorators = [
2149
+ { type: core.Directive, args: [{
2150
+ // TODO(crisbeto): this selector can be removed when we update to Angular 9.0.
2151
+ selector: 'do-not-use-abstract-mat-paginated-tab-header'
2152
+ },] },
2153
+ ];
2135
2154
  /** @nocollapse */
2136
2155
  MatPaginatedTabHeader.ctorParameters = function () { return [
2137
2156
  { type: core.ElementRef },
@@ -2140,7 +2159,7 @@ var MatPaginatedTabHeader = /** @class */ (function () {
2140
2159
  { type: bidi.Directionality, decorators: [{ type: core.Optional }] },
2141
2160
  { type: core.NgZone },
2142
2161
  { type: platform.Platform },
2143
- { type: String }
2162
+ { type: String, decorators: [{ type: core.Optional }, { type: core.Inject, args: [animations.ANIMATION_MODULE_TYPE,] }] }
2144
2163
  ]; };
2145
2164
  return MatPaginatedTabHeader;
2146
2165
  }());
@@ -2151,9 +2170,9 @@ var MatPaginatedTabHeader = /** @class */ (function () {
2151
2170
  */
2152
2171
  /**
2153
2172
  * Base class with all of the `MatTabHeader` functionality.
2173
+ * \@docs-private
2154
2174
  * @abstract
2155
2175
  */
2156
- // tslint:disable-next-line:class-name
2157
2176
  var _MatTabHeaderBase = /** @class */ (function (_super) {
2158
2177
  __extends(_MatTabHeaderBase, _super);
2159
2178
  function _MatTabHeaderBase(elementRef, changeDetectorRef, viewportRuler, dir, ngZone, platform$$1,
@@ -2191,6 +2210,12 @@ var _MatTabHeaderBase = /** @class */ (function (_super) {
2191
2210
  function (event) {
2192
2211
  event.preventDefault();
2193
2212
  };
2213
+ _MatTabHeaderBase.decorators = [
2214
+ { type: core.Directive, args: [{
2215
+ // TODO(crisbeto): this selector can be removed when we update to Angular 9.0.
2216
+ selector: 'do-not-use-abstract-mat-tab-header-base'
2217
+ },] },
2218
+ ];
2194
2219
  /** @nocollapse */
2195
2220
  _MatTabHeaderBase.ctorParameters = function () { return [
2196
2221
  { type: core.ElementRef },
@@ -2262,9 +2287,9 @@ var MatTabHeader = /** @class */ (function (_super) {
2262
2287
  */
2263
2288
  /**
2264
2289
  * Base class with all of the `MatTabNav` functionality.
2290
+ * \@docs-private
2265
2291
  * @abstract
2266
2292
  */
2267
- // tslint:disable-next-line:class-name
2268
2293
  var _MatTabNavBase = /** @class */ (function (_super) {
2269
2294
  __extends(_MatTabNavBase, _super);
2270
2295
  function _MatTabNavBase(elementRef, dir, ngZone, changeDetectorRef, viewportRuler,
@@ -2380,6 +2405,12 @@ var _MatTabNavBase = /** @class */ (function (_super) {
2380
2405
  this.selectedIndex = -1;
2381
2406
  this._inkBar.hide();
2382
2407
  };
2408
+ _MatTabNavBase.decorators = [
2409
+ { type: core.Directive, args: [{
2410
+ // TODO(crisbeto): this selector can be removed when we update to Angular 9.0.
2411
+ selector: 'do-not-use-abstract-mat-tab-nav-base'
2412
+ },] },
2413
+ ];
2383
2414
  /** @nocollapse */
2384
2415
  _MatTabNavBase.ctorParameters = function () { return [
2385
2416
  { type: core.ElementRef },
@@ -2464,7 +2495,6 @@ var _MatTabLinkMixinBase = core$1.mixinTabIndex(core$1.mixinDisableRipple(core$1
2464
2495
  /**
2465
2496
  * Base class with all of the `MatTabLink` functionality.
2466
2497
  */
2467
- // tslint:disable-next-line:class-name
2468
2498
  var _MatTabLinkBase = /** @class */ (function (_super) {
2469
2499
  __extends(_MatTabLinkBase, _super);
2470
2500
  function _MatTabLinkBase(_tabNavBar, elementRef, globalRippleOptions, tabIndex, _focusMonitor, animationMode) {
@@ -2539,6 +2569,12 @@ var _MatTabLinkBase = /** @class */ (function (_super) {
2539
2569
  function () {
2540
2570
  this._focusMonitor.stopMonitoring(this.elementRef);
2541
2571
  };
2572
+ _MatTabLinkBase.decorators = [
2573
+ { type: core.Directive, args: [{
2574
+ // TODO(crisbeto): this selector can be removed when we update to Angular 9.0.
2575
+ selector: 'do-not-use-abstract-mat-tab-link-base'
2576
+ },] },
2577
+ ];
2542
2578
  /** @nocollapse */
2543
2579
  _MatTabLinkBase.ctorParameters = function () { return [
2544
2580
  { type: _MatTabNavBase },
@@ -2642,12 +2678,21 @@ var MatTabsModule = /** @class */ (function () {
2642
2678
  MatTabBodyPortal,
2643
2679
  MatTabHeader,
2644
2680
  MatTabContent,
2681
+ (/** @type {?} */ (
2682
+ // TODO(crisbeto): these can be removed once they're turned into selector-less directives.
2683
+ MatPaginatedTabHeader)),
2684
+ (/** @type {?} */ (_MatTabGroupBase)),
2685
+ (/** @type {?} */ (_MatTabNavBase)),
2686
+ (/** @type {?} */ (_MatTabBodyBase)),
2687
+ (/** @type {?} */ (_MatTabHeaderBase)),
2688
+ (/** @type {?} */ (_MatTabLinkBase)),
2645
2689
  ],
2646
2690
  },] },
2647
2691
  ];
2648
2692
  return MatTabsModule;
2649
2693
  }());
2650
2694
 
2695
+ exports.MatTabsModule = MatTabsModule;
2651
2696
  exports.MatInkBar = MatInkBar;
2652
2697
  exports._MAT_INK_BAR_POSITIONER = _MAT_INK_BAR_POSITIONER;
2653
2698
  exports.MatTabBody = MatTabBody;
@@ -2663,14 +2708,13 @@ exports.MatTabLink = MatTabLink;
2663
2708
  exports._MatTabNavBase = _MatTabNavBase;
2664
2709
  exports._MatTabLinkBase = _MatTabLinkBase;
2665
2710
  exports.MatTabContent = MatTabContent;
2666
- exports.MatTabsModule = MatTabsModule;
2667
2711
  exports.MatTabChangeEvent = MatTabChangeEvent;
2668
2712
  exports.MAT_TABS_CONFIG = MAT_TABS_CONFIG;
2669
2713
  exports._MatTabGroupBase = _MatTabGroupBase;
2670
2714
  exports.MatTabGroup = MatTabGroup;
2671
2715
  exports.matTabsAnimations = matTabsAnimations;
2672
- exports.ɵa18 = _MAT_INK_BAR_POSITIONER_FACTORY;
2673
- exports.ɵb18 = MatPaginatedTabHeader;
2716
+ exports.ɵa24 = _MAT_INK_BAR_POSITIONER_FACTORY;
2717
+ exports.ɵb24 = MatPaginatedTabHeader;
2674
2718
 
2675
2719
  Object.defineProperty(exports, '__esModule', { value: true });
2676
2720