@angular/material 7.2.1 → 7.2.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 (238) hide show
  1. package/_theming.scss +5 -3
  2. package/autocomplete/typings/index.d.ts +0 -1
  3. package/autocomplete/typings/index.metadata.json +1 -1
  4. package/autocomplete/typings/public-api.d.ts +1 -0
  5. package/bottom-sheet/typings/bottom-sheet-ref.d.ts +2 -0
  6. package/bottom-sheet/typings/index.metadata.json +1 -1
  7. package/bundles/material-autocomplete.umd.js +16 -10
  8. package/bundles/material-autocomplete.umd.js.map +1 -1
  9. package/bundles/material-autocomplete.umd.min.js +1 -1
  10. package/bundles/material-autocomplete.umd.min.js.map +1 -1
  11. package/bundles/material-bottom-sheet.umd.js +7 -4
  12. package/bundles/material-bottom-sheet.umd.js.map +1 -1
  13. package/bundles/material-bottom-sheet.umd.min.js +1 -1
  14. package/bundles/material-bottom-sheet.umd.min.js.map +1 -1
  15. package/bundles/material-button-toggle.umd.js +9 -1
  16. package/bundles/material-button-toggle.umd.js.map +1 -1
  17. package/bundles/material-button-toggle.umd.min.js +1 -1
  18. package/bundles/material-button-toggle.umd.min.js.map +1 -1
  19. package/bundles/material-chips.umd.js +7 -4
  20. package/bundles/material-chips.umd.js.map +1 -1
  21. package/bundles/material-chips.umd.min.js +1 -1
  22. package/bundles/material-chips.umd.min.js.map +1 -1
  23. package/bundles/material-core.umd.js +3 -3
  24. package/bundles/material-core.umd.js.map +1 -1
  25. package/bundles/material-core.umd.min.js.map +1 -1
  26. package/bundles/material-datepicker.umd.js +4 -4
  27. package/bundles/material-datepicker.umd.js.map +1 -1
  28. package/bundles/material-datepicker.umd.min.js.map +1 -1
  29. package/bundles/material-form-field.umd.js +2 -2
  30. package/bundles/material-form-field.umd.js.map +1 -1
  31. package/bundles/material-form-field.umd.min.js +1 -1
  32. package/bundles/material-form-field.umd.min.js.map +1 -1
  33. package/bundles/material-grid-list.umd.js +2 -2
  34. package/bundles/material-grid-list.umd.min.js +1 -1
  35. package/bundles/material-grid-list.umd.min.js.map +1 -1
  36. package/bundles/material-icon.umd.js +11 -0
  37. package/bundles/material-icon.umd.js.map +1 -1
  38. package/bundles/material-icon.umd.min.js +1 -1
  39. package/bundles/material-icon.umd.min.js.map +1 -1
  40. package/bundles/material-list.umd.js +98 -11
  41. package/bundles/material-list.umd.js.map +1 -1
  42. package/bundles/material-list.umd.min.js +2 -2
  43. package/bundles/material-list.umd.min.js.map +1 -1
  44. package/bundles/material-menu.umd.js +11 -10
  45. package/bundles/material-menu.umd.js.map +1 -1
  46. package/bundles/material-menu.umd.min.js +1 -1
  47. package/bundles/material-menu.umd.min.js.map +1 -1
  48. package/bundles/material-progress-bar.umd.js +1 -1
  49. package/bundles/material-progress-bar.umd.min.js +1 -1
  50. package/bundles/material-progress-bar.umd.min.js.map +1 -1
  51. package/bundles/material-progress-spinner.umd.js +1 -1
  52. package/bundles/material-progress-spinner.umd.min.js +1 -1
  53. package/bundles/material-progress-spinner.umd.min.js.map +1 -1
  54. package/bundles/material-slide-toggle.umd.js +1 -1
  55. package/bundles/material-slide-toggle.umd.min.js +1 -1
  56. package/bundles/material-slide-toggle.umd.min.js.map +1 -1
  57. package/bundles/material-snack-bar.umd.js +1 -1
  58. package/bundles/material-snack-bar.umd.min.js +1 -1
  59. package/bundles/material-snack-bar.umd.min.js.map +1 -1
  60. package/bundles/material-sort.umd.js +1 -1
  61. package/bundles/material-sort.umd.js.map +1 -1
  62. package/bundles/material-sort.umd.min.js +1 -1
  63. package/bundles/material-sort.umd.min.js.map +1 -1
  64. package/bundles/material-stepper.umd.js +4 -4
  65. package/bundles/material-stepper.umd.js.map +1 -1
  66. package/bundles/material-stepper.umd.min.js +1 -1
  67. package/bundles/material-stepper.umd.min.js.map +1 -1
  68. package/bundles/material-table.umd.js +19 -6
  69. package/bundles/material-table.umd.js.map +1 -1
  70. package/bundles/material-table.umd.min.js +1 -1
  71. package/bundles/material-table.umd.min.js.map +1 -1
  72. package/bundles/material-tabs.umd.js +44 -15
  73. package/bundles/material-tabs.umd.js.map +1 -1
  74. package/bundles/material-tabs.umd.min.js +2 -2
  75. package/bundles/material-tabs.umd.min.js.map +1 -1
  76. package/bundles/material-tooltip.umd.js +9 -0
  77. package/bundles/material-tooltip.umd.js.map +1 -1
  78. package/bundles/material-tooltip.umd.min.js +1 -1
  79. package/bundles/material-tooltip.umd.min.js.map +1 -1
  80. package/bundles/material.umd.js +240 -70
  81. package/bundles/material.umd.js.map +1 -1
  82. package/bundles/material.umd.min.js +18 -18
  83. package/bundles/material.umd.min.js.map +1 -1
  84. package/chips/typings/chip-list.d.ts +1 -1
  85. package/core/typings/ripple/ripple.d.ts +1 -1
  86. package/datepicker/typings/calendar.d.ts +2 -2
  87. package/esm2015/autocomplete.js +16 -10
  88. package/esm2015/autocomplete.js.map +1 -1
  89. package/esm2015/bottom-sheet.js +6 -3
  90. package/esm2015/bottom-sheet.js.map +1 -1
  91. package/esm2015/button-toggle.js +7 -0
  92. package/esm2015/button-toggle.js.map +1 -1
  93. package/esm2015/chips.js +5 -2
  94. package/esm2015/chips.js.map +1 -1
  95. package/esm2015/core.js +1 -1
  96. package/esm2015/core.js.map +1 -1
  97. package/esm2015/datepicker.js +2 -2
  98. package/esm2015/datepicker.js.map +1 -1
  99. package/esm2015/form-field.js +1 -1
  100. package/esm2015/form-field.js.map +1 -1
  101. package/esm2015/grid-list.js +1 -1
  102. package/esm2015/icon.js +8 -0
  103. package/esm2015/icon.js.map +1 -1
  104. package/esm2015/list.js +79 -8
  105. package/esm2015/list.js.map +1 -1
  106. package/esm2015/material.js +5 -5
  107. package/esm2015/material.js.map +1 -1
  108. package/esm2015/menu.js +6 -5
  109. package/esm2015/menu.js.map +1 -1
  110. package/esm2015/sort.js +1 -1
  111. package/esm2015/sort.js.map +1 -1
  112. package/esm2015/stepper.js +4 -4
  113. package/esm2015/stepper.js.map +1 -1
  114. package/esm2015/table.js +20 -7
  115. package/esm2015/table.js.map +1 -1
  116. package/esm2015/tabs.js +31 -6
  117. package/esm2015/tabs.js.map +1 -1
  118. package/esm2015/tooltip.js +6 -0
  119. package/esm2015/tooltip.js.map +1 -1
  120. package/esm5/autocomplete.es5.js +16 -10
  121. package/esm5/autocomplete.es5.js.map +1 -1
  122. package/esm5/bottom-sheet.es5.js +6 -3
  123. package/esm5/bottom-sheet.es5.js.map +1 -1
  124. package/esm5/button-toggle.es5.js +8 -0
  125. package/esm5/button-toggle.es5.js.map +1 -1
  126. package/esm5/chips.es5.js +7 -4
  127. package/esm5/chips.es5.js.map +1 -1
  128. package/esm5/core.es5.js +3 -3
  129. package/esm5/core.es5.js.map +1 -1
  130. package/esm5/datepicker.es5.js +4 -4
  131. package/esm5/datepicker.es5.js.map +1 -1
  132. package/esm5/form-field.es5.js +1 -1
  133. package/esm5/form-field.es5.js.map +1 -1
  134. package/esm5/grid-list.es5.js +1 -1
  135. package/esm5/icon.es5.js +11 -0
  136. package/esm5/icon.es5.js.map +1 -1
  137. package/esm5/list.es5.js +97 -9
  138. package/esm5/list.es5.js.map +1 -1
  139. package/esm5/material.es5.js +5 -5
  140. package/esm5/material.es5.js.map +1 -1
  141. package/esm5/menu.es5.js +6 -5
  142. package/esm5/menu.es5.js.map +1 -1
  143. package/esm5/sort.es5.js +1 -1
  144. package/esm5/sort.es5.js.map +1 -1
  145. package/esm5/stepper.es5.js +4 -4
  146. package/esm5/stepper.es5.js.map +1 -1
  147. package/esm5/table.es5.js +20 -7
  148. package/esm5/table.es5.js.map +1 -1
  149. package/esm5/tabs.es5.js +35 -6
  150. package/esm5/tabs.es5.js.map +1 -1
  151. package/esm5/tooltip.es5.js +9 -0
  152. package/esm5/tooltip.es5.js.map +1 -1
  153. package/form-field/typings/prefix.d.ts +1 -1
  154. package/grid-list/typings/index.d.ts +1 -1
  155. package/grid-list/typings/index.metadata.json +1 -1
  156. package/icon/typings/icon-registry.d.ts +3 -2
  157. package/icon/typings/index.metadata.json +1 -1
  158. package/list/typings/index.metadata.json +1 -1
  159. package/list/typings/list.d.ts +16 -5
  160. package/list/typings/selection-list.d.ts +1 -0
  161. package/material.d.ts +1 -1
  162. package/material.metadata.json +3 -3
  163. package/menu/typings/index.d.ts +4 -4
  164. package/menu/typings/index.metadata.json +1 -1
  165. package/menu/typings/menu-trigger.d.ts +1 -1
  166. package/package.json +4 -4
  167. package/prebuilt-themes/pink-bluegrey.css +1 -1
  168. package/prebuilt-themes/purple-green.css +1 -1
  169. package/sort/typings/index.metadata.json +1 -1
  170. package/stepper/typings/index.metadata.json +1 -1
  171. package/table/typings/index.metadata.json +1 -1
  172. package/table/typings/table-data-source.d.ts +2 -0
  173. package/tabs/typings/index.d.ts +5 -5
  174. package/tabs/typings/index.metadata.json +1 -1
  175. package/tabs/typings/tab-group.d.ts +2 -1
  176. package/tabs/typings/tab-header.d.ts +5 -3
  177. package/tooltip/typings/index.metadata.json +1 -1
  178. package/tooltip/typings/tooltip.d.ts +2 -1
  179. package/typings/autocomplete/index.d.ts +0 -1
  180. package/typings/autocomplete/index.metadata.json +1 -1
  181. package/typings/autocomplete/public-api.d.ts +1 -0
  182. package/typings/bottom-sheet/bottom-sheet-ref.d.ts +2 -0
  183. package/typings/bottom-sheet/index.metadata.json +1 -1
  184. package/typings/chips/chip-list.d.ts +1 -1
  185. package/typings/core/ripple/ripple.d.ts +1 -1
  186. package/typings/datepicker/calendar.d.ts +2 -2
  187. package/typings/esm5/autocomplete/index.d.ts +0 -1
  188. package/typings/esm5/autocomplete/index.metadata.json +1 -1
  189. package/typings/esm5/autocomplete/public-api.d.ts +1 -0
  190. package/typings/esm5/bottom-sheet/bottom-sheet-ref.d.ts +2 -0
  191. package/typings/esm5/bottom-sheet/index.metadata.json +1 -1
  192. package/typings/esm5/chips/chip-list.d.ts +1 -1
  193. package/typings/esm5/core/ripple/ripple.d.ts +1 -1
  194. package/typings/esm5/datepicker/calendar.d.ts +2 -2
  195. package/typings/esm5/form-field/prefix.d.ts +1 -1
  196. package/typings/esm5/grid-list/index.d.ts +1 -1
  197. package/typings/esm5/grid-list/index.metadata.json +1 -1
  198. package/typings/esm5/icon/icon-registry.d.ts +3 -2
  199. package/typings/esm5/icon/index.metadata.json +1 -1
  200. package/typings/esm5/index.metadata.json +1 -1
  201. package/typings/esm5/list/index.metadata.json +1 -1
  202. package/typings/esm5/list/list.d.ts +16 -5
  203. package/typings/esm5/list/selection-list.d.ts +1 -0
  204. package/typings/esm5/menu/index.d.ts +4 -4
  205. package/typings/esm5/menu/index.metadata.json +1 -1
  206. package/typings/esm5/menu/menu-trigger.d.ts +1 -1
  207. package/typings/esm5/sort/index.metadata.json +1 -1
  208. package/typings/esm5/stepper/index.metadata.json +1 -1
  209. package/typings/esm5/table/index.metadata.json +1 -1
  210. package/typings/esm5/table/table-data-source.d.ts +2 -0
  211. package/typings/esm5/tabs/index.d.ts +5 -5
  212. package/typings/esm5/tabs/index.metadata.json +1 -1
  213. package/typings/esm5/tabs/tab-group.d.ts +2 -1
  214. package/typings/esm5/tabs/tab-header.d.ts +5 -3
  215. package/typings/esm5/tooltip/index.metadata.json +1 -1
  216. package/typings/esm5/tooltip/tooltip.d.ts +2 -1
  217. package/typings/form-field/prefix.d.ts +1 -1
  218. package/typings/grid-list/index.d.ts +1 -1
  219. package/typings/grid-list/index.metadata.json +1 -1
  220. package/typings/icon/icon-registry.d.ts +3 -2
  221. package/typings/icon/index.metadata.json +1 -1
  222. package/typings/index.metadata.json +1 -1
  223. package/typings/list/index.metadata.json +1 -1
  224. package/typings/list/list.d.ts +16 -5
  225. package/typings/list/selection-list.d.ts +1 -0
  226. package/typings/menu/index.d.ts +4 -4
  227. package/typings/menu/index.metadata.json +1 -1
  228. package/typings/menu/menu-trigger.d.ts +1 -1
  229. package/typings/sort/index.metadata.json +1 -1
  230. package/typings/stepper/index.metadata.json +1 -1
  231. package/typings/table/index.metadata.json +1 -1
  232. package/typings/table/table-data-source.d.ts +2 -0
  233. package/typings/tabs/index.d.ts +5 -5
  234. package/typings/tabs/index.metadata.json +1 -1
  235. package/typings/tabs/tab-group.d.ts +2 -1
  236. package/typings/tabs/tab-header.d.ts +5 -3
  237. package/typings/tooltip/index.metadata.json +1 -1
  238. package/typings/tooltip/tooltip.d.ts +2 -1
@@ -5,6 +5,6 @@
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
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/cdk/portal"),require("@angular/material/core"),require("rxjs"),require("@angular/animations"),require("@angular/cdk/bidi"),require("rxjs/operators"),require("@angular/cdk/coercion"),require("@angular/cdk/keycodes"),require("@angular/cdk/scrolling"),require("@angular/cdk/a11y"),require("@angular/cdk/platform"),require("@angular/cdk/observers"),require("@angular/common")):"function"==typeof define&&define.amd?define("@angular/material/tabs",["exports","@angular/core","@angular/cdk/portal","@angular/material/core","rxjs","@angular/animations","@angular/cdk/bidi","rxjs/operators","@angular/cdk/coercion","@angular/cdk/keycodes","@angular/cdk/scrolling","@angular/cdk/a11y","@angular/cdk/platform","@angular/cdk/observers","@angular/common"],e):e((t.ng=t.ng||{},t.ng.material=t.ng.material||{},t.ng.material.tabs={}),t.ng.core,t.ng.cdk.portal,t.ng.material.core,t.rxjs,t.ng.animations,t.ng.cdk.bidi,t.rxjs.operators,t.ng.cdk.coercion,t.ng.cdk.keycodes,t.ng.cdk.scrolling,t.ng.cdk.a11y,t.ng.cdk.platform,t.ng.cdk.observers,t.ng.common)}(this,function(t,e,a,n,i,r,o,s,l,c,p,d,b,h,u){"use strict";function m(t,e){function a(){this.constructor=t}f(t,e),t.prototype=null===e?Object.create(e):(a.prototype=e.prototype,new a)}function g(){return function(t){return{left:t?(t.offsetLeft||0)+"px":"0",width:t?(t.offsetWidth||0)+"px":"0"}}}var f=function(t,e){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var a in e)e.hasOwnProperty(a)&&(t[a]=e[a])})(t,e)},_=new e.InjectionToken("MatInkBarPositioner",{providedIn:"root",factory:g}),y=function(){function t(t,e,a){this._elementRef=t,this._ngZone=e,this._inkBarPositioner=a}return t.prototype.alignToElement=function(t){var e=this;this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return e._setStyles(t)})}):this._setStyles(t)},t.prototype.show=function(){this._elementRef.nativeElement.style.visibility="visible"},t.prototype.hide=function(){this._elementRef.nativeElement.style.visibility="hidden"},t.prototype._setStyles=function(t){var e=this._inkBarPositioner(t),a=this._elementRef.nativeElement;a.style.left=e.left,a.style.width=e.width},t.decorators=[{type:e.Directive,args:[{selector:"mat-ink-bar",host:{class:"mat-ink-bar"}}]}],t.ctorParameters=function(){return[{type:e.ElementRef},{type:e.NgZone},{type:void 0,decorators:[{type:e.Inject,args:[_]}]}]},t}(),v=function(){function t(t){this.template=t}return t.decorators=[{type:e.Directive,args:[{selector:"[matTabContent]"}]}],t.ctorParameters=function(){return[{type:e.TemplateRef}]},t}(),x=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return m(a,t),a.decorators=[{type:e.Directive,args:[{selector:"[mat-tab-label], [matTabLabel]"}]}],a}(a.CdkPortal),C=function(){function t(){}return t}(),k=n.mixinDisabled(C),I=function(t){function n(e){var a=t.call(this)||this;return a._viewContainerRef=e,a.textLabel="",a._contentPortal=null,a._stateChanges=new i.Subject,a.position=null,a.origin=null,a.isActive=!1,a}return m(n,t),Object.defineProperty(n.prototype,"content",{get:function(){return this._contentPortal},enumerable:!0,configurable:!0}),n.prototype.ngOnChanges=function(t){(t.hasOwnProperty("textLabel")||t.hasOwnProperty("disabled"))&&this._stateChanges.next()},n.prototype.ngOnDestroy=function(){this._stateChanges.complete()},n.prototype.ngOnInit=function(){this._contentPortal=new a.TemplatePortal(this._explicitContent||this._implicitContent,this._viewContainerRef)},n.decorators=[{type:e.Component,args:[{selector:"mat-tab",template:"<ng-template><ng-content></ng-content></ng-template>",inputs:["disabled"],changeDetection:e.ChangeDetectionStrategy.OnPush,encapsulation:e.ViewEncapsulation.None,exportAs:"matTab"}]}],n.ctorParameters=function(){return[{type:e.ViewContainerRef}]},n.propDecorators={templateLabel:[{type:e.ContentChild,args:[x]}],_explicitContent:[{type:e.ContentChild,args:[v,{read:e.TemplateRef}]}],_implicitContent:[{type:e.ViewChild,args:[e.TemplateRef]}],textLabel:[{type:e.Input,args:["label"]}],ariaLabel:[{type:e.Input,args:["aria-label"]}],ariaLabelledby:[{type:e.Input,args:["aria-labelledby"]}]},n}(k),D={translateTab:r.trigger("translateTab",[r.state("center, void, left-origin-center, right-origin-center",r.style({transform:"none"})),r.state("left",r.style({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),r.state("right",r.style({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),r.transition("* => left, * => right, left => center, right => center",r.animate("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),r.transition("void => left-origin-center",[r.style({transform:"translate3d(-100%, 0, 0)"}),r.animate("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),r.transition("void => right-origin-center",[r.style({transform:"translate3d(100%, 0, 0)"}),r.animate("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},T=function(t){function a(e,a,n){var r=t.call(this,e,a)||this;return r._host=n,r._centeringSub=i.Subscription.EMPTY,r._leavingSub=i.Subscription.EMPTY,r}return m(a,t),a.prototype.ngOnInit=function(){var e=this;t.prototype.ngOnInit.call(this),this._centeringSub=this._host._beforeCentering.pipe(s.startWith(this._host._isCenterPosition(this._host._position))).subscribe(function(t){t&&!e.hasAttached()&&e.attach(e._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(function(){e.detach()})},a.prototype.ngOnDestroy=function(){t.prototype.ngOnDestroy.call(this),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()},a.decorators=[{type:e.Directive,args:[{selector:"[matTabBodyHost]"}]}],a.ctorParameters=function(){return[{type:e.ComponentFactoryResolver},{type:e.ViewContainerRef},{type:w,decorators:[{type:e.Inject,args:[e.forwardRef(function(){return w})]}]}]},a}(a.CdkPortalOutlet),w=function(){function t(t,a,n){var r=this;this._elementRef=t,this._dir=a,this._dirChangeSubscription=i.Subscription.EMPTY,this._translateTabComplete=new i.Subject,this._onCentering=new e.EventEmitter,this._beforeCentering=new e.EventEmitter,this._afterLeavingCenter=new e.EventEmitter,this._onCentered=new e.EventEmitter(!0),this.animationDuration="500ms",this._dir&&n&&(this._dirChangeSubscription=this._dir.change.subscribe(function(t){r._computePositionAnimationState(t),n.markForCheck()})),this._translateTabComplete.pipe(s.distinctUntilChanged(function(t,e){return t.fromState===e.fromState&&t.toState===e.toState})).subscribe(function(t){r._isCenterPosition(t.toState)&&r._isCenterPosition(r._position)&&r._onCentered.emit(),r._isCenterPosition(t.fromState)&&!r._isCenterPosition(r._position)&&r._afterLeavingCenter.emit()})}return Object.defineProperty(t.prototype,"position",{set:function(t){this._positionIndex=t,this._computePositionAnimationState()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin())},t.prototype.ngOnDestroy=function(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()},t.prototype._onTranslateTabStarted=function(t){var e=this._isCenterPosition(t.toState);this._beforeCentering.emit(e),e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)},t.prototype._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},t.prototype._isCenterPosition=function(t){return"center"==t||"left-origin-center"==t||"right-origin-center"==t},t.prototype._computePositionAnimationState=function(t){void 0===t&&(t=this._getLayoutDirection()),this._positionIndex<0?this._position="ltr"==t?"left":"right":this._positionIndex>0?this._position="ltr"==t?"right":"left":this._position="center"},t.prototype._computePositionFromOrigin=function(){var t=this._getLayoutDirection();return"ltr"==t&&this.origin<=0||"rtl"==t&&this.origin>0?"left-origin-center":"right-origin-center"},t.decorators=[{type:e.Component,args:[{selector:"mat-tab-body",template:'<div class="mat-tab-body-content" #content [@translateTab]="{ value: _position, params: {animationDuration: animationDuration} }" (@translateTab.start)="_onTranslateTabStarted($event)" (@translateTab.done)="_translateTabComplete.next($event)"><ng-template matTabBodyHost></ng-template></div>',styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}"],encapsulation:e.ViewEncapsulation.None,changeDetection:e.ChangeDetectionStrategy.OnPush,animations:[D.translateTab],host:{class:"mat-tab-body"}}]}],t.ctorParameters=function(){return[{type:e.ElementRef},{type:o.Directionality,decorators:[{type:e.Optional}]},{type:e.ChangeDetectorRef}]},t.propDecorators={_onCentering:[{type:e.Output}],_beforeCentering:[{type:e.Output}],_afterLeavingCenter:[{type:e.Output}],_onCentered:[{type:e.Output}],_portalHost:[{type:e.ViewChild,args:[a.PortalHostDirective]}],_content:[{type:e.Input,args:["content"]}],origin:[{type:e.Input}],animationDuration:[{type:e.Input}],position:[{type:e.Input}]},t}(),L=function(){function t(){}return t}(),P=n.mixinDisabled(L),R=function(t){function a(e){var a=t.call(this)||this;return a.elementRef=e,a}return m(a,t),a.prototype.focus=function(){this.elementRef.nativeElement.focus()},a.prototype.getOffsetLeft=function(){return this.elementRef.nativeElement.offsetLeft},a.prototype.getOffsetWidth=function(){return this.elementRef.nativeElement.offsetWidth},a.decorators=[{type:e.Directive,args:[{selector:"[matTabLabelWrapper]",inputs:["disabled"],host:{"[class.mat-tab-disabled]":"disabled","[attr.aria-disabled]":"!!disabled"}}]}],a.ctorParameters=function(){return[{type:e.ElementRef}]},a}(P),E=function(){function t(){}return t}(),S=n.mixinDisableRipple(E),O=function(t){function a(a,n,r,o,s){var l=t.call(this)||this;return l._elementRef=a,l._changeDetectorRef=n,l._viewportRuler=r,l._dir=o,l._ngZone=s,l._scrollDistance=0,l._selectedIndexChanged=!1,l._destroyed=new i.Subject,l._showPaginationControls=!1,l._disableScrollAfter=!0,l._disableScrollBefore=!0,l._selectedIndex=0,l.selectFocusedIndex=new e.EventEmitter,l.indexFocused=new e.EventEmitter,l}return m(a,t),Object.defineProperty(a.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(t){t=l.coerceNumberProperty(t),this._selectedIndexChanged=this._selectedIndex!=t,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItemIndex(t)},enumerable:!0,configurable:!0}),a.prototype.ngAfterContentChecked=function(){this._tabLabelCount!=this._labelWrappers.length&&(this.updatePagination(),this._tabLabelCount=this._labelWrappers.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())},a.prototype._handleKeydown=function(t){switch(t.keyCode){case c.HOME:this._keyManager.setFirstItemActive(),t.preventDefault();break;case c.END:this._keyManager.setLastItemActive(),t.preventDefault();break;case c.ENTER:case c.SPACE:this.selectFocusedIndex.emit(this.focusIndex),t.preventDefault();break;default:this._keyManager.onKeydown(t)}},a.prototype.ngAfterContentInit=function(){var t=this,e=this._dir?this._dir.change:i.of(null),a=this._viewportRuler.change(150),n=function(){t.updatePagination(),t._alignInkBarToSelectedTab()};this._keyManager=new d.FocusKeyManager(this._labelWrappers).withHorizontalOrientation(this._getLayoutDirection()).withWrap(),this._keyManager.updateActiveItem(0),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(n):n(),i.merge(e,a).pipe(s.takeUntil(this._destroyed)).subscribe(function(){n(),t._keyManager.withHorizontalOrientation(t._getLayoutDirection())}),this._keyManager.change.pipe(s.takeUntil(this._destroyed)).subscribe(function(e){t.indexFocused.emit(e),t._setTabFocus(e)})},a.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete()},a.prototype._onContentChanges=function(){var t=this,e=this._elementRef.nativeElement.textContent;if(e!==this._currentTextContent){this._currentTextContent=e;var a=function(){t.updatePagination(),t._alignInkBarToSelectedTab(),t._changeDetectorRef.markForCheck()};this._ngZone?this._ngZone.run(a):a()}},a.prototype.updatePagination=function(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()},Object.defineProperty(a.prototype,"focusIndex",{get:function(){return this._keyManager?this._keyManager.activeItemIndex:0},set:function(t){this._isValidIndex(t)&&this.focusIndex!==t&&this._keyManager&&this._keyManager.setActiveItem(t)},enumerable:!0,configurable:!0}),a.prototype._isValidIndex=function(t){if(!this._labelWrappers)return!0;var e=this._labelWrappers?this._labelWrappers.toArray()[t]:null;return!!e&&!e.disabled},a.prototype._setTabFocus=function(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._labelWrappers&&this._labelWrappers.length){this._labelWrappers.toArray()[t].focus();var e=this._tabListContainer.nativeElement,a=this._getLayoutDirection();e.scrollLeft="ltr"==a?0:e.scrollWidth-e.offsetWidth}},a.prototype._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},a.prototype._updateTabScrollPosition=function(){var t=this.scrollDistance,e="ltr"===this._getLayoutDirection()?-t:t;this._tabList.nativeElement.style.transform="translateX("+Math.round(e)+"px)",this._tabListContainer.nativeElement.scrollLeft=0},Object.defineProperty(a.prototype,"scrollDistance",{get:function(){return this._scrollDistance},set:function(t){this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),t)),this._scrollDistanceChanged=!0,this._checkScrollingControls()},enumerable:!0,configurable:!0}),a.prototype._scrollHeader=function(t){var e=this._tabListContainer.nativeElement.offsetWidth;this.scrollDistance+=("before"==t?-1:1)*e/3},a.prototype._scrollToLabel=function(t){var e=this._labelWrappers?this._labelWrappers.toArray()[t]:null;if(e){var a,n,i=this._tabListContainer.nativeElement.offsetWidth;"ltr"==this._getLayoutDirection()?(a=e.getOffsetLeft(),n=a+e.getOffsetWidth()):(n=this._tabList.nativeElement.offsetWidth-e.getOffsetLeft(),a=n-e.getOffsetWidth());var r=this.scrollDistance,o=this.scrollDistance+i;a<r?this.scrollDistance-=r-a+60:n>o&&(this.scrollDistance+=n-o+60)}},a.prototype._checkPaginationEnabled=function(){var t=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;t||(this.scrollDistance=0),t!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=t},a.prototype._checkScrollingControls=function(){this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck()},a.prototype._getMaxScrollDistance=function(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0},a.prototype._alignInkBarToSelectedTab=function(){var t=this._labelWrappers&&this._labelWrappers.length?this._labelWrappers.toArray()[this.selectedIndex].elementRef.nativeElement:null;this._inkBar.alignToElement(t)},a.decorators=[{type:e.Component,args:[{selector:"mat-tab-header",template:'<div class="mat-tab-header-pagination mat-tab-header-pagination-before mat-elevation-z4" aria-hidden="true" mat-ripple [matRippleDisabled]="_disableScrollBefore || disableRipple" [class.mat-tab-header-pagination-disabled]="_disableScrollBefore" (click)="_scrollHeader(\'before\')"><div class="mat-tab-header-pagination-chevron"></div></div><div class="mat-tab-label-container" #tabListContainer (keydown)="_handleKeydown($event)"><div class="mat-tab-list" #tabList role="tablist" (cdkObserveContent)="_onContentChanges()"><div class="mat-tab-labels"><ng-content></ng-content></div><mat-ink-bar></mat-ink-bar></div></div><div class="mat-tab-header-pagination mat-tab-header-pagination-after mat-elevation-z4" aria-hidden="true" mat-ripple [matRippleDisabled]="_disableScrollAfter || disableRipple" [class.mat-tab-header-pagination-disabled]="_disableScrollAfter" (click)="_scrollHeader(\'after\')"><div class="mat-tab-header-pagination-chevron"></div></div>',styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:0}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}@media (-ms-high-contrast:active){.mat-tab-label:focus{outline:dotted 2px}}.mat-tab-label.mat-tab-disabled{cursor:default}@media (-ms-high-contrast:active){.mat-tab-label.mat-tab-disabled{opacity:.5}}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (-ms-high-contrast:active){.mat-tab-label{opacity:1}}@media (max-width:599px){.mat-tab-label{min-width:72px}}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:.5s cubic-bezier(.35,0,.25,1)}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}@media (-ms-high-contrast:active){.mat-ink-bar{outline:solid 2px;height:0}}.mat-tab-header-pagination{position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-pagination-after,.mat-tab-header-rtl .mat-tab-header-pagination-before{padding-right:4px}.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:'';height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-list{flex-grow:1;position:relative;transition:transform .5s cubic-bezier(.35,0,.25,1)}.mat-tab-labels{display:flex}[mat-align-tabs=center] .mat-tab-labels{justify-content:center}[mat-align-tabs=end] .mat-tab-labels{justify-content:flex-end}"],inputs:["disableRipple"],encapsulation:e.ViewEncapsulation.None,changeDetection:e.ChangeDetectionStrategy.OnPush,host:{class:"mat-tab-header","[class.mat-tab-header-pagination-controls-enabled]":"_showPaginationControls","[class.mat-tab-header-rtl]":"_getLayoutDirection() == 'rtl'"}}]}],a.ctorParameters=function(){return[{type:e.ElementRef},{type:e.ChangeDetectorRef},{type:p.ViewportRuler},{type:o.Directionality,decorators:[{type:e.Optional}]},{type:e.NgZone}]},a.propDecorators={_labelWrappers:[{type:e.ContentChildren,args:[R]}],_inkBar:[{type:e.ViewChild,args:[y]}],_tabListContainer:[{type:e.ViewChild,args:["tabListContainer"]}],_tabList:[{type:e.ViewChild,args:["tabList"]}],selectedIndex:[{type:e.Input}],selectFocusedIndex:[{type:e.Output}],indexFocused:[{type:e.Output}]},a}(S),M=0,A=function(){function t(){}return t}(),B=new e.InjectionToken("MAT_TABS_CONFIG"),W=function(){function t(t){this._elementRef=t}return t}(),j=n.mixinColor(n.mixinDisableRipple(W),"primary"),H=function(t){function a(a,n,r){var o=t.call(this,a)||this;return o._changeDetectorRef=n,o._indexToSelect=0,o._tabBodyWrapperHeight=0,o._tabsSubscription=i.Subscription.EMPTY,o._tabLabelSubscription=i.Subscription.EMPTY,o._dynamicHeight=!1,o._selectedIndex=null,o.headerPosition="above",o.selectedIndexChange=new e.EventEmitter,o.focusChange=new e.EventEmitter,o.animationDone=new e.EventEmitter,o.selectedTabChange=new e.EventEmitter(!0),o._groupId=M++,o.animationDuration=r&&r.animationDuration?r.animationDuration:"500ms",o}return m(a,t),Object.defineProperty(a.prototype,"dynamicHeight",{get:function(){return this._dynamicHeight},set:function(t){this._dynamicHeight=l.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(t){this._indexToSelect=l.coerceNumberProperty(t,null)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"backgroundColor",{get:function(){return this._backgroundColor},set:function(t){var e=this._elementRef.nativeElement;e.classList.remove("mat-background-"+this.backgroundColor),t&&e.classList.add("mat-background-"+t),this._backgroundColor=t},enumerable:!0,configurable:!0}),a.prototype.ngAfterContentChecked=function(){var t=this,e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){var a=null==this._selectedIndex;a||this.selectedTabChange.emit(this._createChangeEvent(e)),Promise.resolve().then(function(){t._tabs.forEach(function(t,a){return t.isActive=a===e}),a||t.selectedIndexChange.emit(e)})}this._tabs.forEach(function(a,n){a.position=n-e,null==t._selectedIndex||0!=a.position||a.origin||(a.origin=e-t._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._changeDetectorRef.markForCheck())},a.prototype.ngAfterContentInit=function(){var t=this;this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(function(){if(t._clampTabIndex(t._indexToSelect)===t._selectedIndex)for(var e=t._tabs.toArray(),a=0;a<e.length;a++)if(e[a].isActive){t._indexToSelect=t._selectedIndex=a;break}t._subscribeToTabLabels(),t._changeDetectorRef.markForCheck()})},a.prototype.ngOnDestroy=function(){this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()},a.prototype.realignInkBar=function(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()},a.prototype._focusChanged=function(t){this.focusChange.emit(this._createChangeEvent(t))},a.prototype._createChangeEvent=function(t){var e=new A;return e.index=t,this._tabs&&this._tabs.length&&(e.tab=this._tabs.toArray()[t]),e},a.prototype._subscribeToTabLabels=function(){var t=this;this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=i.merge.apply(void 0,this._tabs.map(function(t){return t._stateChanges})).subscribe(function(){return t._changeDetectorRef.markForCheck()})},a.prototype._clampTabIndex=function(t){return Math.min(this._tabs.length-1,Math.max(t||0,0))},a.prototype._getTabLabelId=function(t){return"mat-tab-label-"+this._groupId+"-"+t},a.prototype._getTabContentId=function(t){return"mat-tab-content-"+this._groupId+"-"+t},a.prototype._setTabBodyWrapperHeight=function(t){if(this._dynamicHeight&&this._tabBodyWrapperHeight){var e=this._tabBodyWrapper.nativeElement;e.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(e.style.height=t+"px")}},a.prototype._removeTabBodyWrapperHeight=function(){var t=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=t.clientHeight,t.style.height="",this.animationDone.emit()},a.prototype._handleClick=function(t,e,a){t.disabled||(this.selectedIndex=e.focusIndex=a)},a.prototype._getTabIndex=function(t,e){return t.disabled?null:this.selectedIndex===e?0:-1},a.decorators=[{type:e.Component,args:[{selector:"mat-tab-group",exportAs:"matTabGroup",template:'<mat-tab-header #tabHeader [selectedIndex]="selectedIndex" [disableRipple]="disableRipple" (indexFocused)="_focusChanged($event)" (selectFocusedIndex)="selectedIndex = $event"><div class="mat-tab-label" role="tab" matTabLabelWrapper mat-ripple cdkMonitorElementFocus *ngFor="let tab of _tabs; let i = index" [id]="_getTabLabelId(i)" [attr.tabIndex]="_getTabIndex(tab, i)" [attr.aria-posinset]="i + 1" [attr.aria-setsize]="_tabs.length" [attr.aria-controls]="_getTabContentId(i)" [attr.aria-selected]="selectedIndex == i" [attr.aria-label]="tab.ariaLabel || null" [attr.aria-labelledby]="(!tab.ariaLabel && tab.ariaLabelledby) ? tab.ariaLabelledby : null" [class.mat-tab-label-active]="selectedIndex == i" [disabled]="tab.disabled" [matRippleDisabled]="tab.disabled || disableRipple" (click)="_handleClick(tab, tabHeader, i)"><div class="mat-tab-label-content"><ng-template [ngIf]="tab.templateLabel"><ng-template [cdkPortalOutlet]="tab.templateLabel"></ng-template></ng-template><ng-template [ngIf]="!tab.templateLabel">{{tab.textLabel}}</ng-template></div></div></mat-tab-header><div class="mat-tab-body-wrapper" #tabBodyWrapper><mat-tab-body role="tabpanel" *ngFor="let tab of _tabs; let i = index" [id]="_getTabContentId(i)" [attr.aria-labelledby]="_getTabLabelId(i)" [class.mat-tab-body-active]="selectedIndex == i" [content]="tab.content" [position]="tab.position" [origin]="tab.origin" [animationDuration]="animationDuration" (_onCentered)="_removeTabBodyWrapperHeight()" (_onCentering)="_setTabBodyWrapperHeight($event)"></mat-tab-body></div>',styles:[".mat-tab-group{display:flex;flex-direction:column}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:0}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}@media (-ms-high-contrast:active){.mat-tab-label:focus{outline:dotted 2px}}.mat-tab-label.mat-tab-disabled{cursor:default}@media (-ms-high-contrast:active){.mat-tab-label.mat-tab-disabled{opacity:.5}}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (-ms-high-contrast:active){.mat-tab-label{opacity:1}}@media (max-width:599px){.mat-tab-label{padding:0 12px}}@media (max-width:959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height .5s cubic-bezier(.35,0,.25,1)}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}"],encapsulation:e.ViewEncapsulation.None,changeDetection:e.ChangeDetectionStrategy.OnPush,inputs:["color","disableRipple"],host:{class:"mat-tab-group","[class.mat-tab-group-dynamic-height]":"dynamicHeight","[class.mat-tab-group-inverted-header]":'headerPosition === "below"'}}]}],a.ctorParameters=function(){return[{type:e.ElementRef},{type:e.ChangeDetectorRef},{type:void 0,decorators:[{type:e.Inject,args:[B]},{type:e.Optional}]}]},a.propDecorators={_tabs:[{type:e.ContentChildren,args:[I]}],_tabBodyWrapper:[{type:e.ViewChild,args:["tabBodyWrapper"]}],_tabHeader:[{type:e.ViewChild,args:["tabHeader"]}],dynamicHeight:[{type:e.Input}],selectedIndex:[{type:e.Input}],headerPosition:[{type:e.Input}],animationDuration:[{type:e.Input}],backgroundColor:[{type:e.Input}],selectedIndexChange:[{type:e.Output}],focusChange:[{type:e.Output}],animationDone:[{type:e.Output}],selectedTabChange:[{type:e.Output}]},a}(j),F=function(){function t(t){this._elementRef=t}return t}(),N=n.mixinDisableRipple(n.mixinColor(F,"primary")),V=function(t){function a(e,a,n,r,o){var s=t.call(this,e)||this;return s._dir=a,s._ngZone=n,s._changeDetectorRef=r,s._viewportRuler=o,s._onDestroy=new i.Subject,s}return m(a,t),Object.defineProperty(a.prototype,"backgroundColor",{get:function(){return this._backgroundColor},set:function(t){var e=this._elementRef.nativeElement;e.classList.remove("mat-background-"+this.backgroundColor),t&&e.classList.add("mat-background-"+t),this._backgroundColor=t},enumerable:!0,configurable:!0}),a.prototype.updateActiveLink=function(t){this._activeLinkChanged=!!t,this._changeDetectorRef.markForCheck()},a.prototype.ngAfterContentInit=function(){var t=this;this._ngZone.runOutsideAngular(function(){var e=t._dir?t._dir.change:i.of(null);return i.merge(e,t._viewportRuler.change(10)).pipe(s.takeUntil(t._onDestroy)).subscribe(function(){return t._alignInkBar()})})},a.prototype.ngAfterContentChecked=function(){if(this._activeLinkChanged){var t=this._tabLinks.find(function(t){return t.active});this._activeLinkElement=t?t._elementRef:null,this._alignInkBar(),this._activeLinkChanged=!1}},a.prototype.ngOnDestroy=function(){this._onDestroy.next(),this._onDestroy.complete()},a.prototype._alignInkBar=function(){this._activeLinkElement?(this._inkBar.show(),this._inkBar.alignToElement(this._activeLinkElement.nativeElement)):this._inkBar.hide()},a.decorators=[{type:e.Component,args:[{selector:"[mat-tab-nav-bar]",exportAs:"matTabNavBar, matTabNav",inputs:["color","disableRipple"],template:'<div class="mat-tab-links" (cdkObserveContent)="_alignInkBar()"><ng-content></ng-content><mat-ink-bar></mat-ink-bar></div>',styles:[".mat-tab-nav-bar{overflow:hidden;position:relative;flex-shrink:0}.mat-tab-links{position:relative;display:flex}[mat-align-tabs=center] .mat-tab-links{justify-content:center}[mat-align-tabs=end] .mat-tab-links{justify-content:flex-end}.mat-tab-link{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:transparent}.mat-tab-link:focus{outline:0}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}@media (-ms-high-contrast:active){.mat-tab-link:focus{outline:dotted 2px}}.mat-tab-link.mat-tab-disabled{cursor:default}@media (-ms-high-contrast:active){.mat-tab-link.mat-tab-disabled{opacity:.5}}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (-ms-high-contrast:active){.mat-tab-link{opacity:1}}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}@media (max-width:599px){.mat-tab-link{min-width:72px}}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:.5s cubic-bezier(.35,0,.25,1)}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}@media (-ms-high-contrast:active){.mat-ink-bar{outline:solid 2px;height:0}}"],host:{class:"mat-tab-nav-bar"},encapsulation:e.ViewEncapsulation.None,changeDetection:e.ChangeDetectionStrategy.OnPush}]}],a.ctorParameters=function(){return[{type:e.ElementRef},{type:o.Directionality,decorators:[{type:e.Optional}]},{type:e.NgZone},{type:e.ChangeDetectorRef},{type:p.ViewportRuler}]},a.propDecorators={_inkBar:[{type:e.ViewChild,args:[y]}],_tabLinks:[{type:e.ContentChildren,args:[e.forwardRef(function(){return Z}),{descendants:!0}]}],backgroundColor:[{type:e.Input}]},a}(N),q=function(){function t(){}return t}(),z=n.mixinTabIndex(n.mixinDisableRipple(n.mixinDisabled(q))),Z=function(t){function a(e,a,i,r,o,s,l){var c=t.call(this)||this;return c._tabNavBar=e,c._elementRef=a,c._focusMonitor=l,c._isActive=!1,c._ripplesGloballyDisabled=!1,c.rippleConfig={},c._tabLinkRipple=new n.RippleRenderer(c,i,a,r),c._tabLinkRipple.setupTriggerEvents(a.nativeElement),c.tabIndex=parseInt(s)||0,o&&(c._ripplesGloballyDisabled=!!o.disabled,c.rippleConfig={terminateOnPointerUp:o.terminateOnPointerUp,animation:o.animation}),l&&l.monitor(a),c}return m(a,t),Object.defineProperty(a.prototype,"active",{get:function(){return this._isActive},set:function(t){
9
- t!==this._isActive&&(this._isActive=t,this._tabNavBar.updateActiveLink(this._elementRef))},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"rippleDisabled",{get:function(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||this._ripplesGloballyDisabled},enumerable:!0,configurable:!0}),a.prototype.ngOnDestroy=function(){this._tabLinkRipple._removeTriggerEvents(),this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef)},a.decorators=[{type:e.Directive,args:[{selector:"[mat-tab-link], [matTabLink]",exportAs:"matTabLink",inputs:["disabled","disableRipple","tabIndex"],host:{class:"mat-tab-link","[attr.aria-current]":"active","[attr.aria-disabled]":"disabled.toString()","[attr.tabIndex]":"tabIndex","[class.mat-tab-disabled]":"disabled","[class.mat-tab-label-active]":"active"}}]}],a.ctorParameters=function(){return[{type:V},{type:e.ElementRef},{type:e.NgZone},{type:b.Platform},{type:void 0,decorators:[{type:e.Optional},{type:e.Inject,args:[n.MAT_RIPPLE_GLOBAL_OPTIONS]}]},{type:String,decorators:[{type:e.Attribute,args:["tabindex"]}]},{type:d.FocusMonitor}]},a.propDecorators={active:[{type:e.Input}]},a}(z),G=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{imports:[u.CommonModule,n.MatCommonModule,a.PortalModule,n.MatRippleModule,h.ObserversModule,d.A11yModule],exports:[n.MatCommonModule,H,x,I,V,Z,v],declarations:[H,x,I,y,R,V,Z,w,T,O,v]}]}],t}();t.MatInkBar=y,t._MAT_INK_BAR_POSITIONER=_,t.MatTabBody=w,t.MatTabBodyPortal=T,t.MatTabHeader=O,t.MatTabLabelWrapper=R,t.MatTab=I,t.MatTabLabel=x,t.MatTabNav=V,t.MatTabLink=Z,t.MatTabContent=v,t.MatTabsModule=G,t.MatTabChangeEvent=A,t.MAT_TABS_CONFIG=B,t.MatTabGroupBase=W,t._MatTabGroupMixinBase=j,t.MatTabGroup=H,t.matTabsAnimations=D,t.ɵa17=g,t.ɵf17=C,t.ɵg17=k,t.ɵb17=E,t.ɵc17=S,t.ɵd17=L,t.ɵe17=P,t.ɵj17=q,t.ɵh17=F,t.ɵk17=z,t.ɵi17=N,Object.defineProperty(t,"__esModule",{value:!0})});
8
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/cdk/portal"),require("@angular/material/core"),require("rxjs"),require("@angular/animations"),require("@angular/cdk/bidi"),require("rxjs/operators"),require("@angular/cdk/coercion"),require("@angular/cdk/keycodes"),require("@angular/cdk/scrolling"),require("@angular/cdk/a11y"),require("@angular/cdk/platform"),require("@angular/cdk/observers"),require("@angular/common")):"function"==typeof define&&define.amd?define("@angular/material/tabs",["exports","@angular/core","@angular/cdk/portal","@angular/material/core","rxjs","@angular/animations","@angular/cdk/bidi","rxjs/operators","@angular/cdk/coercion","@angular/cdk/keycodes","@angular/cdk/scrolling","@angular/cdk/a11y","@angular/cdk/platform","@angular/cdk/observers","@angular/common"],e):e((t.ng=t.ng||{},t.ng.material=t.ng.material||{},t.ng.material.tabs={}),t.ng.core,t.ng.cdk.portal,t.ng.material.core,t.rxjs,t.ng.animations,t.ng.cdk.bidi,t.rxjs.operators,t.ng.cdk.coercion,t.ng.cdk.keycodes,t.ng.cdk.scrolling,t.ng.cdk.a11y,t.ng.cdk.platform,t.ng.cdk.observers,t.ng.common)}(this,function(t,e,a,n,i,r,o,s,l,c,p,d,b,h,u){"use strict";function m(t,e){function a(){this.constructor=t}f(t,e),t.prototype=null===e?Object.create(e):(a.prototype=e.prototype,new a)}function g(){return function(t){return{left:t?(t.offsetLeft||0)+"px":"0",width:t?(t.offsetWidth||0)+"px":"0"}}}var f=function(t,e){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var a in e)e.hasOwnProperty(a)&&(t[a]=e[a])})(t,e)},_=new e.InjectionToken("MatInkBarPositioner",{providedIn:"root",factory:g}),y=function(){function t(t,e,a){this._elementRef=t,this._ngZone=e,this._inkBarPositioner=a}return t.prototype.alignToElement=function(t){var e=this;this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return e._setStyles(t)})}):this._setStyles(t)},t.prototype.show=function(){this._elementRef.nativeElement.style.visibility="visible"},t.prototype.hide=function(){this._elementRef.nativeElement.style.visibility="hidden"},t.prototype._setStyles=function(t){var e=this._inkBarPositioner(t),a=this._elementRef.nativeElement;a.style.left=e.left,a.style.width=e.width},t.decorators=[{type:e.Directive,args:[{selector:"mat-ink-bar",host:{class:"mat-ink-bar"}}]}],t.ctorParameters=function(){return[{type:e.ElementRef},{type:e.NgZone},{type:void 0,decorators:[{type:e.Inject,args:[_]}]}]},t}(),v=function(){function t(t){this.template=t}return t.decorators=[{type:e.Directive,args:[{selector:"[matTabContent]"}]}],t.ctorParameters=function(){return[{type:e.TemplateRef}]},t}(),x=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return m(a,t),a.decorators=[{type:e.Directive,args:[{selector:"[mat-tab-label], [matTabLabel]"}]}],a}(a.CdkPortal),C=function(){function t(){}return t}(),k=n.mixinDisabled(C),I=function(t){function n(e){var a=t.call(this)||this;return a._viewContainerRef=e,a.textLabel="",a._contentPortal=null,a._stateChanges=new i.Subject,a.position=null,a.origin=null,a.isActive=!1,a}return m(n,t),Object.defineProperty(n.prototype,"content",{get:function(){return this._contentPortal},enumerable:!0,configurable:!0}),n.prototype.ngOnChanges=function(t){(t.hasOwnProperty("textLabel")||t.hasOwnProperty("disabled"))&&this._stateChanges.next()},n.prototype.ngOnDestroy=function(){this._stateChanges.complete()},n.prototype.ngOnInit=function(){this._contentPortal=new a.TemplatePortal(this._explicitContent||this._implicitContent,this._viewContainerRef)},n.decorators=[{type:e.Component,args:[{selector:"mat-tab",template:"<ng-template><ng-content></ng-content></ng-template>",inputs:["disabled"],changeDetection:e.ChangeDetectionStrategy.OnPush,encapsulation:e.ViewEncapsulation.None,exportAs:"matTab"}]}],n.ctorParameters=function(){return[{type:e.ViewContainerRef}]},n.propDecorators={templateLabel:[{type:e.ContentChild,args:[x]}],_explicitContent:[{type:e.ContentChild,args:[v,{read:e.TemplateRef}]}],_implicitContent:[{type:e.ViewChild,args:[e.TemplateRef]}],textLabel:[{type:e.Input,args:["label"]}],ariaLabel:[{type:e.Input,args:["aria-label"]}],ariaLabelledby:[{type:e.Input,args:["aria-labelledby"]}]},n}(k),D={translateTab:r.trigger("translateTab",[r.state("center, void, left-origin-center, right-origin-center",r.style({transform:"none"})),r.state("left",r.style({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),r.state("right",r.style({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),r.transition("* => left, * => right, left => center, right => center",r.animate("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),r.transition("void => left-origin-center",[r.style({transform:"translate3d(-100%, 0, 0)"}),r.animate("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),r.transition("void => right-origin-center",[r.style({transform:"translate3d(100%, 0, 0)"}),r.animate("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},T=function(t){function a(e,a,n){var r=t.call(this,e,a)||this;return r._host=n,r._centeringSub=i.Subscription.EMPTY,r._leavingSub=i.Subscription.EMPTY,r}return m(a,t),a.prototype.ngOnInit=function(){var e=this;t.prototype.ngOnInit.call(this),this._centeringSub=this._host._beforeCentering.pipe(s.startWith(this._host._isCenterPosition(this._host._position))).subscribe(function(t){t&&!e.hasAttached()&&e.attach(e._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(function(){e.detach()})},a.prototype.ngOnDestroy=function(){t.prototype.ngOnDestroy.call(this),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()},a.decorators=[{type:e.Directive,args:[{selector:"[matTabBodyHost]"}]}],a.ctorParameters=function(){return[{type:e.ComponentFactoryResolver},{type:e.ViewContainerRef},{type:w,decorators:[{type:e.Inject,args:[e.forwardRef(function(){return w})]}]}]},a}(a.CdkPortalOutlet),w=function(){function t(t,a,n){var r=this;this._elementRef=t,this._dir=a,this._dirChangeSubscription=i.Subscription.EMPTY,this._translateTabComplete=new i.Subject,this._onCentering=new e.EventEmitter,this._beforeCentering=new e.EventEmitter,this._afterLeavingCenter=new e.EventEmitter,this._onCentered=new e.EventEmitter(!0),this.animationDuration="500ms",this._dir&&n&&(this._dirChangeSubscription=this._dir.change.subscribe(function(t){r._computePositionAnimationState(t),n.markForCheck()})),this._translateTabComplete.pipe(s.distinctUntilChanged(function(t,e){return t.fromState===e.fromState&&t.toState===e.toState})).subscribe(function(t){r._isCenterPosition(t.toState)&&r._isCenterPosition(r._position)&&r._onCentered.emit(),r._isCenterPosition(t.fromState)&&!r._isCenterPosition(r._position)&&r._afterLeavingCenter.emit()})}return Object.defineProperty(t.prototype,"position",{set:function(t){this._positionIndex=t,this._computePositionAnimationState()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin())},t.prototype.ngOnDestroy=function(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()},t.prototype._onTranslateTabStarted=function(t){var e=this._isCenterPosition(t.toState);this._beforeCentering.emit(e),e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)},t.prototype._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},t.prototype._isCenterPosition=function(t){return"center"==t||"left-origin-center"==t||"right-origin-center"==t},t.prototype._computePositionAnimationState=function(t){void 0===t&&(t=this._getLayoutDirection()),this._positionIndex<0?this._position="ltr"==t?"left":"right":this._positionIndex>0?this._position="ltr"==t?"right":"left":this._position="center"},t.prototype._computePositionFromOrigin=function(){var t=this._getLayoutDirection();return"ltr"==t&&this.origin<=0||"rtl"==t&&this.origin>0?"left-origin-center":"right-origin-center"},t.decorators=[{type:e.Component,args:[{selector:"mat-tab-body",template:'<div class="mat-tab-body-content" #content [@translateTab]="{ value: _position, params: {animationDuration: animationDuration} }" (@translateTab.start)="_onTranslateTabStarted($event)" (@translateTab.done)="_translateTabComplete.next($event)"><ng-template matTabBodyHost></ng-template></div>',styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}"],encapsulation:e.ViewEncapsulation.None,changeDetection:e.ChangeDetectionStrategy.OnPush,animations:[D.translateTab],host:{class:"mat-tab-body"}}]}],t.ctorParameters=function(){return[{type:e.ElementRef},{type:o.Directionality,decorators:[{type:e.Optional}]},{type:e.ChangeDetectorRef}]},t.propDecorators={_onCentering:[{type:e.Output}],_beforeCentering:[{type:e.Output}],_afterLeavingCenter:[{type:e.Output}],_onCentered:[{type:e.Output}],_portalHost:[{type:e.ViewChild,args:[a.PortalHostDirective]}],_content:[{type:e.Input,args:["content"]}],origin:[{type:e.Input}],animationDuration:[{type:e.Input}],position:[{type:e.Input}]},t}(),L=function(){function t(){}return t}(),P=n.mixinDisabled(L),R=function(t){function a(e){var a=t.call(this)||this;return a.elementRef=e,a}return m(a,t),a.prototype.focus=function(){this.elementRef.nativeElement.focus()},a.prototype.getOffsetLeft=function(){return this.elementRef.nativeElement.offsetLeft},a.prototype.getOffsetWidth=function(){return this.elementRef.nativeElement.offsetWidth},a.decorators=[{type:e.Directive,args:[{selector:"[matTabLabelWrapper]",inputs:["disabled"],host:{"[class.mat-tab-disabled]":"disabled","[attr.aria-disabled]":"!!disabled"}}]}],a.ctorParameters=function(){return[{type:e.ElementRef}]},a}(P),E=function(){function t(){}return t}(),S=n.mixinDisableRipple(E),O=function(t){function a(a,n,r,o,s,l){var c=t.call(this)||this;return c._elementRef=a,c._changeDetectorRef=n,c._viewportRuler=r,c._dir=o,c._ngZone=s,c._platform=l,c._scrollDistance=0,c._selectedIndexChanged=!1,c._destroyed=new i.Subject,c._showPaginationControls=!1,c._disableScrollAfter=!0,c._disableScrollBefore=!0,c._selectedIndex=0,c.selectFocusedIndex=new e.EventEmitter,c.indexFocused=new e.EventEmitter,c}return m(a,t),Object.defineProperty(a.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(t){t=l.coerceNumberProperty(t),this._selectedIndexChanged=this._selectedIndex!=t,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItemIndex(t)},enumerable:!0,configurable:!0}),a.prototype.ngAfterContentChecked=function(){this._tabLabelCount!=this._labelWrappers.length&&(this.updatePagination(),this._tabLabelCount=this._labelWrappers.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())},a.prototype._handleKeydown=function(t){if(!c.hasModifierKey(t))switch(t.keyCode){case c.HOME:this._keyManager.setFirstItemActive(),t.preventDefault();break;case c.END:this._keyManager.setLastItemActive(),t.preventDefault();break;case c.ENTER:case c.SPACE:this.selectFocusedIndex.emit(this.focusIndex),t.preventDefault();break;default:this._keyManager.onKeydown(t)}},a.prototype.ngAfterContentInit=function(){var t=this,e=this._dir?this._dir.change:i.of(null),a=this._viewportRuler.change(150),n=function(){t.updatePagination(),t._alignInkBarToSelectedTab()};this._keyManager=new d.FocusKeyManager(this._labelWrappers).withHorizontalOrientation(this._getLayoutDirection()).withWrap(),this._keyManager.updateActiveItem(0),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(n):n(),i.merge(e,a).pipe(s.takeUntil(this._destroyed)).subscribe(function(){n(),t._keyManager.withHorizontalOrientation(t._getLayoutDirection())}),this._keyManager.change.pipe(s.takeUntil(this._destroyed)).subscribe(function(e){t.indexFocused.emit(e),t._setTabFocus(e)})},a.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete()},a.prototype._onContentChanges=function(){var t=this,e=this._elementRef.nativeElement.textContent;if(e!==this._currentTextContent){this._currentTextContent=e;var a=function(){t.updatePagination(),t._alignInkBarToSelectedTab(),t._changeDetectorRef.markForCheck()};this._ngZone?this._ngZone.run(a):a()}},a.prototype.updatePagination=function(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()},Object.defineProperty(a.prototype,"focusIndex",{get:function(){return this._keyManager?this._keyManager.activeItemIndex:0},set:function(t){this._isValidIndex(t)&&this.focusIndex!==t&&this._keyManager&&this._keyManager.setActiveItem(t)},enumerable:!0,configurable:!0}),a.prototype._isValidIndex=function(t){if(!this._labelWrappers)return!0;var e=this._labelWrappers?this._labelWrappers.toArray()[t]:null;return!!e&&!e.disabled},a.prototype._setTabFocus=function(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._labelWrappers&&this._labelWrappers.length){this._labelWrappers.toArray()[t].focus();var e=this._tabListContainer.nativeElement,a=this._getLayoutDirection();e.scrollLeft="ltr"==a?0:e.scrollWidth-e.offsetWidth}},a.prototype._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},a.prototype._updateTabScrollPosition=function(){var t=this.scrollDistance,e=this._platform,a="ltr"===this._getLayoutDirection()?-t:t;this._tabList.nativeElement.style.transform="translateX("+Math.round(a)+"px)",e&&(e.TRIDENT||e.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)},Object.defineProperty(a.prototype,"scrollDistance",{get:function(){return this._scrollDistance},set:function(t){this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),t)),this._scrollDistanceChanged=!0,this._checkScrollingControls()},enumerable:!0,configurable:!0}),a.prototype._scrollHeader=function(t){var e=this._tabListContainer.nativeElement.offsetWidth;this.scrollDistance+=("before"==t?-1:1)*e/3},a.prototype._scrollToLabel=function(t){var e=this._labelWrappers?this._labelWrappers.toArray()[t]:null;if(e){var a,n,i=this._tabListContainer.nativeElement.offsetWidth;"ltr"==this._getLayoutDirection()?(a=e.getOffsetLeft(),n=a+e.getOffsetWidth()):(n=this._tabList.nativeElement.offsetWidth-e.getOffsetLeft(),a=n-e.getOffsetWidth());var r=this.scrollDistance,o=this.scrollDistance+i;a<r?this.scrollDistance-=r-a+60:n>o&&(this.scrollDistance+=n-o+60)}},a.prototype._checkPaginationEnabled=function(){var t=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;t||(this.scrollDistance=0),t!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=t},a.prototype._checkScrollingControls=function(){this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck()},a.prototype._getMaxScrollDistance=function(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0},a.prototype._alignInkBarToSelectedTab=function(){var t=this._labelWrappers&&this._labelWrappers.length?this._labelWrappers.toArray()[this.selectedIndex].elementRef.nativeElement:null;this._inkBar.alignToElement(t)},a.decorators=[{type:e.Component,args:[{selector:"mat-tab-header",template:'<div class="mat-tab-header-pagination mat-tab-header-pagination-before mat-elevation-z4" aria-hidden="true" mat-ripple [matRippleDisabled]="_disableScrollBefore || disableRipple" [class.mat-tab-header-pagination-disabled]="_disableScrollBefore" (click)="_scrollHeader(\'before\')"><div class="mat-tab-header-pagination-chevron"></div></div><div class="mat-tab-label-container" #tabListContainer (keydown)="_handleKeydown($event)"><div class="mat-tab-list" #tabList role="tablist" (cdkObserveContent)="_onContentChanges()"><div class="mat-tab-labels"><ng-content></ng-content></div><mat-ink-bar></mat-ink-bar></div></div><div class="mat-tab-header-pagination mat-tab-header-pagination-after mat-elevation-z4" aria-hidden="true" mat-ripple [matRippleDisabled]="_disableScrollAfter || disableRipple" [class.mat-tab-header-pagination-disabled]="_disableScrollAfter" (click)="_scrollHeader(\'after\')"><div class="mat-tab-header-pagination-chevron"></div></div>',styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:0}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}@media (-ms-high-contrast:active){.mat-tab-label:focus{outline:dotted 2px}}.mat-tab-label.mat-tab-disabled{cursor:default}@media (-ms-high-contrast:active){.mat-tab-label.mat-tab-disabled{opacity:.5}}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (-ms-high-contrast:active){.mat-tab-label{opacity:1}}@media (max-width:599px){.mat-tab-label{min-width:72px}}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:.5s cubic-bezier(.35,0,.25,1)}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}@media (-ms-high-contrast:active){.mat-ink-bar{outline:solid 2px;height:0}}.mat-tab-header-pagination{position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-pagination-after,.mat-tab-header-rtl .mat-tab-header-pagination-before{padding-right:4px}.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:'';height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-list{flex-grow:1;position:relative;transition:transform .5s cubic-bezier(.35,0,.25,1)}.mat-tab-labels{display:flex}[mat-align-tabs=center] .mat-tab-labels{justify-content:center}[mat-align-tabs=end] .mat-tab-labels{justify-content:flex-end}"],inputs:["disableRipple"],encapsulation:e.ViewEncapsulation.None,changeDetection:e.ChangeDetectionStrategy.OnPush,host:{class:"mat-tab-header","[class.mat-tab-header-pagination-controls-enabled]":"_showPaginationControls","[class.mat-tab-header-rtl]":"_getLayoutDirection() == 'rtl'"}}]}],a.ctorParameters=function(){return[{type:e.ElementRef},{type:e.ChangeDetectorRef},{type:p.ViewportRuler},{type:o.Directionality,decorators:[{type:e.Optional}]},{type:e.NgZone},{type:b.Platform}]},a.propDecorators={_labelWrappers:[{type:e.ContentChildren,args:[R]}],_inkBar:[{type:e.ViewChild,args:[y]}],_tabListContainer:[{type:e.ViewChild,args:["tabListContainer"]}],_tabList:[{type:e.ViewChild,args:["tabList"]}],selectedIndex:[{type:e.Input}],selectFocusedIndex:[{type:e.Output}],indexFocused:[{type:e.Output}]},a}(S),M=0,A=function(){function t(){}return t}(),B=new e.InjectionToken("MAT_TABS_CONFIG"),W=function(){function t(t){this._elementRef=t}return t}(),j=n.mixinColor(n.mixinDisableRipple(W),"primary"),H=function(t){function a(a,n,r){var o=t.call(this,a)||this;return o._changeDetectorRef=n,o._indexToSelect=0,o._tabBodyWrapperHeight=0,o._tabsSubscription=i.Subscription.EMPTY,o._tabLabelSubscription=i.Subscription.EMPTY,o._dynamicHeight=!1,o._selectedIndex=null,o.headerPosition="above",o.selectedIndexChange=new e.EventEmitter,o.focusChange=new e.EventEmitter,o.animationDone=new e.EventEmitter,o.selectedTabChange=new e.EventEmitter(!0),o._groupId=M++,o.animationDuration=r&&r.animationDuration?r.animationDuration:"500ms",o}return m(a,t),Object.defineProperty(a.prototype,"dynamicHeight",{get:function(){return this._dynamicHeight},set:function(t){this._dynamicHeight=l.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(t){this._indexToSelect=l.coerceNumberProperty(t,null)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"animationDuration",{get:function(){return this._animationDuration},set:function(t){this._animationDuration=/^\d+$/.test(t)?t+"ms":t},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"backgroundColor",{get:function(){return this._backgroundColor},set:function(t){var e=this._elementRef.nativeElement;e.classList.remove("mat-background-"+this.backgroundColor),t&&e.classList.add("mat-background-"+t),this._backgroundColor=t},enumerable:!0,configurable:!0}),a.prototype.ngAfterContentChecked=function(){var t=this,e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){var a=null==this._selectedIndex;a||this.selectedTabChange.emit(this._createChangeEvent(e)),Promise.resolve().then(function(){t._tabs.forEach(function(t,a){return t.isActive=a===e}),a||t.selectedIndexChange.emit(e)})}this._tabs.forEach(function(a,n){a.position=n-e,null==t._selectedIndex||0!=a.position||a.origin||(a.origin=e-t._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._changeDetectorRef.markForCheck())},a.prototype.ngAfterContentInit=function(){var t=this;this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(function(){if(t._clampTabIndex(t._indexToSelect)===t._selectedIndex)for(var e=t._tabs.toArray(),a=0;a<e.length;a++)if(e[a].isActive){t._indexToSelect=t._selectedIndex=a;break}t._subscribeToTabLabels(),t._changeDetectorRef.markForCheck()})},a.prototype.ngOnDestroy=function(){this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()},a.prototype.realignInkBar=function(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()},a.prototype._focusChanged=function(t){this.focusChange.emit(this._createChangeEvent(t))},a.prototype._createChangeEvent=function(t){var e=new A;return e.index=t,this._tabs&&this._tabs.length&&(e.tab=this._tabs.toArray()[t]),e},a.prototype._subscribeToTabLabels=function(){var t=this;this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=i.merge.apply(void 0,this._tabs.map(function(t){return t._stateChanges})).subscribe(function(){return t._changeDetectorRef.markForCheck()})},a.prototype._clampTabIndex=function(t){return Math.min(this._tabs.length-1,Math.max(t||0,0))},a.prototype._getTabLabelId=function(t){return"mat-tab-label-"+this._groupId+"-"+t},a.prototype._getTabContentId=function(t){return"mat-tab-content-"+this._groupId+"-"+t},a.prototype._setTabBodyWrapperHeight=function(t){if(this._dynamicHeight&&this._tabBodyWrapperHeight){var e=this._tabBodyWrapper.nativeElement;e.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(e.style.height=t+"px")}},a.prototype._removeTabBodyWrapperHeight=function(){var t=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=t.clientHeight,t.style.height="",this.animationDone.emit()},a.prototype._handleClick=function(t,e,a){t.disabled||(this.selectedIndex=e.focusIndex=a)},a.prototype._getTabIndex=function(t,e){return t.disabled?null:this.selectedIndex===e?0:-1},a.decorators=[{type:e.Component,args:[{selector:"mat-tab-group",exportAs:"matTabGroup",template:'<mat-tab-header #tabHeader [selectedIndex]="selectedIndex" [disableRipple]="disableRipple" (indexFocused)="_focusChanged($event)" (selectFocusedIndex)="selectedIndex = $event"><div class="mat-tab-label" role="tab" matTabLabelWrapper mat-ripple cdkMonitorElementFocus *ngFor="let tab of _tabs; let i = index" [id]="_getTabLabelId(i)" [attr.tabIndex]="_getTabIndex(tab, i)" [attr.aria-posinset]="i + 1" [attr.aria-setsize]="_tabs.length" [attr.aria-controls]="_getTabContentId(i)" [attr.aria-selected]="selectedIndex == i" [attr.aria-label]="tab.ariaLabel || null" [attr.aria-labelledby]="(!tab.ariaLabel && tab.ariaLabelledby) ? tab.ariaLabelledby : null" [class.mat-tab-label-active]="selectedIndex == i" [disabled]="tab.disabled" [matRippleDisabled]="tab.disabled || disableRipple" (click)="_handleClick(tab, tabHeader, i)"><div class="mat-tab-label-content"><ng-template [ngIf]="tab.templateLabel"><ng-template [cdkPortalOutlet]="tab.templateLabel"></ng-template></ng-template><ng-template [ngIf]="!tab.templateLabel">{{tab.textLabel}}</ng-template></div></div></mat-tab-header><div class="mat-tab-body-wrapper" #tabBodyWrapper><mat-tab-body role="tabpanel" *ngFor="let tab of _tabs; let i = index" [id]="_getTabContentId(i)" [attr.aria-labelledby]="_getTabLabelId(i)" [class.mat-tab-body-active]="selectedIndex == i" [content]="tab.content" [position]="tab.position" [origin]="tab.origin" [animationDuration]="animationDuration" (_onCentered)="_removeTabBodyWrapperHeight()" (_onCentering)="_setTabBodyWrapperHeight($event)"></mat-tab-body></div>',styles:[".mat-tab-group{display:flex;flex-direction:column}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:0}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}@media (-ms-high-contrast:active){.mat-tab-label:focus{outline:dotted 2px}}.mat-tab-label.mat-tab-disabled{cursor:default}@media (-ms-high-contrast:active){.mat-tab-label.mat-tab-disabled{opacity:.5}}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (-ms-high-contrast:active){.mat-tab-label{opacity:1}}@media (max-width:599px){.mat-tab-label{padding:0 12px}}@media (max-width:959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height .5s cubic-bezier(.35,0,.25,1)}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}"],encapsulation:e.ViewEncapsulation.None,changeDetection:e.ChangeDetectionStrategy.OnPush,inputs:["color","disableRipple"],host:{class:"mat-tab-group","[class.mat-tab-group-dynamic-height]":"dynamicHeight","[class.mat-tab-group-inverted-header]":'headerPosition === "below"'}}]}],a.ctorParameters=function(){return[{type:e.ElementRef},{type:e.ChangeDetectorRef},{type:void 0,decorators:[{type:e.Inject,args:[B]},{type:e.Optional}]}]},a.propDecorators={_tabs:[{type:e.ContentChildren,args:[I]}],_tabBodyWrapper:[{type:e.ViewChild,args:["tabBodyWrapper"]}],_tabHeader:[{type:e.ViewChild,args:["tabHeader"]}],dynamicHeight:[{type:e.Input}],selectedIndex:[{type:e.Input}],headerPosition:[{type:e.Input}],animationDuration:[{type:e.Input}],backgroundColor:[{type:e.Input}],selectedIndexChange:[{type:e.Output}],focusChange:[{type:e.Output}],animationDone:[{type:e.Output}],selectedTabChange:[{type:e.Output}]},a}(j),F=function(){function t(t){this._elementRef=t}return t}(),N=n.mixinDisableRipple(n.mixinColor(F,"primary")),V=function(t){function a(e,a,n,r,o){var s=t.call(this,e)||this;return s._dir=a,s._ngZone=n,s._changeDetectorRef=r,s._viewportRuler=o,s._onDestroy=new i.Subject,s}return m(a,t),Object.defineProperty(a.prototype,"backgroundColor",{get:function(){return this._backgroundColor},set:function(t){var e=this._elementRef.nativeElement;e.classList.remove("mat-background-"+this.backgroundColor),t&&e.classList.add("mat-background-"+t),this._backgroundColor=t},enumerable:!0,configurable:!0}),a.prototype.updateActiveLink=function(t){this._activeLinkChanged=!!t,this._changeDetectorRef.markForCheck()},a.prototype.ngAfterContentInit=function(){var t=this;this._ngZone.runOutsideAngular(function(){var e=t._dir?t._dir.change:i.of(null);return i.merge(e,t._viewportRuler.change(10)).pipe(s.takeUntil(t._onDestroy)).subscribe(function(){return t._alignInkBar()})})},a.prototype.ngAfterContentChecked=function(){if(this._activeLinkChanged){var t=this._tabLinks.find(function(t){return t.active});this._activeLinkElement=t?t._elementRef:null,this._alignInkBar(),this._activeLinkChanged=!1}},a.prototype.ngOnDestroy=function(){this._onDestroy.next(),this._onDestroy.complete()},a.prototype._alignInkBar=function(){this._activeLinkElement?(this._inkBar.show(),this._inkBar.alignToElement(this._activeLinkElement.nativeElement)):this._inkBar.hide()},a.decorators=[{type:e.Component,args:[{selector:"[mat-tab-nav-bar]",exportAs:"matTabNavBar, matTabNav",inputs:["color","disableRipple"],template:'<div class="mat-tab-links" (cdkObserveContent)="_alignInkBar()"><ng-content></ng-content><mat-ink-bar></mat-ink-bar></div>',styles:[".mat-tab-nav-bar{overflow:hidden;position:relative;flex-shrink:0}.mat-tab-links{position:relative;display:flex}[mat-align-tabs=center] .mat-tab-links{justify-content:center}[mat-align-tabs=end] .mat-tab-links{justify-content:flex-end}.mat-tab-link{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:transparent}.mat-tab-link:focus{outline:0}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}@media (-ms-high-contrast:active){.mat-tab-link:focus{outline:dotted 2px}}.mat-tab-link.mat-tab-disabled{cursor:default}@media (-ms-high-contrast:active){.mat-tab-link.mat-tab-disabled{opacity:.5}}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (-ms-high-contrast:active){.mat-tab-link{opacity:1}}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}@media (max-width:599px){.mat-tab-link{min-width:72px}}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:.5s cubic-bezier(.35,0,.25,1)}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}@media (-ms-high-contrast:active){.mat-ink-bar{outline:solid 2px;height:0}}"],host:{class:"mat-tab-nav-bar"},encapsulation:e.ViewEncapsulation.None,changeDetection:e.ChangeDetectionStrategy.OnPush}]}],a.ctorParameters=function(){return[{type:e.ElementRef},{type:o.Directionality,decorators:[{type:e.Optional}]},{type:e.NgZone},{type:e.ChangeDetectorRef},{type:p.ViewportRuler}]},a.propDecorators={_inkBar:[{type:e.ViewChild,args:[y]}],_tabLinks:[{type:e.ContentChildren,args:[e.forwardRef(function(){return G}),{descendants:!0}]}],backgroundColor:[{type:e.Input}]},a}(N),q=function(){function t(){}return t}(),z=n.mixinTabIndex(n.mixinDisableRipple(n.mixinDisabled(q))),G=function(t){function a(e,a,i,r,o,s,l){var c=t.call(this)||this;return c._tabNavBar=e,c._elementRef=a,c._focusMonitor=l,c._isActive=!1,c._ripplesGloballyDisabled=!1,c.rippleConfig={},c._tabLinkRipple=new n.RippleRenderer(c,i,a,r),c._tabLinkRipple.setupTriggerEvents(a.nativeElement),
9
+ c.tabIndex=parseInt(s)||0,o&&(c._ripplesGloballyDisabled=!!o.disabled,c.rippleConfig={terminateOnPointerUp:o.terminateOnPointerUp,animation:o.animation}),l&&l.monitor(a),c}return m(a,t),Object.defineProperty(a.prototype,"active",{get:function(){return this._isActive},set:function(t){t!==this._isActive&&(this._isActive=t,this._tabNavBar.updateActiveLink(this._elementRef))},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"rippleDisabled",{get:function(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||this._ripplesGloballyDisabled},enumerable:!0,configurable:!0}),a.prototype.ngOnDestroy=function(){this._tabLinkRipple._removeTriggerEvents(),this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef)},a.decorators=[{type:e.Directive,args:[{selector:"[mat-tab-link], [matTabLink]",exportAs:"matTabLink",inputs:["disabled","disableRipple","tabIndex"],host:{class:"mat-tab-link","[attr.aria-current]":"active","[attr.aria-disabled]":"disabled.toString()","[attr.tabIndex]":"tabIndex","[class.mat-tab-disabled]":"disabled","[class.mat-tab-label-active]":"active"}}]}],a.ctorParameters=function(){return[{type:V},{type:e.ElementRef},{type:e.NgZone},{type:b.Platform},{type:void 0,decorators:[{type:e.Optional},{type:e.Inject,args:[n.MAT_RIPPLE_GLOBAL_OPTIONS]}]},{type:String,decorators:[{type:e.Attribute,args:["tabindex"]}]},{type:d.FocusMonitor}]},a.propDecorators={active:[{type:e.Input}]},a}(z),Z=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{imports:[u.CommonModule,n.MatCommonModule,a.PortalModule,n.MatRippleModule,h.ObserversModule,d.A11yModule],exports:[n.MatCommonModule,H,x,I,V,G,v],declarations:[H,x,I,y,R,V,G,w,T,O,v]}]}],t}();t.MatInkBar=y,t._MAT_INK_BAR_POSITIONER=_,t.MatTabBody=w,t.MatTabBodyPortal=T,t.MatTabHeader=O,t.MatTabLabelWrapper=R,t.MatTab=I,t.MatTabLabel=x,t.MatTabNav=V,t.MatTabLink=G,t.MatTabContent=v,t.MatTabsModule=Z,t.MatTabChangeEvent=A,t.MAT_TABS_CONFIG=B,t.MatTabGroupBase=W,t._MatTabGroupMixinBase=j,t.MatTabGroup=H,t.matTabsAnimations=D,t.ɵa24=g,t.ɵf24=C,t.ɵg24=k,t.ɵb24=E,t.ɵc24=S,t.ɵd24=L,t.ɵe24=P,t.ɵj24=q,t.ɵh24=F,t.ɵk24=z,t.ɵi24=N,Object.defineProperty(t,"__esModule",{value:!0})});
10
10
  //# sourceMappingURL=material-tabs.umd.min.js.map