@angular/material 10.0.0-rc.3 → 10.1.0
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.
- package/_theming.scss +17 -17
- package/autocomplete/index.metadata.json +1 -1
- package/autocomplete/testing/autocomplete-harness.d.ts +2 -0
- package/bundles/material-autocomplete-testing.umd.js +11 -0
- package/bundles/material-autocomplete-testing.umd.js.map +1 -1
- package/bundles/material-autocomplete-testing.umd.min.js +2 -2
- package/bundles/material-autocomplete-testing.umd.min.js.map +1 -1
- package/bundles/material-autocomplete.umd.js +3 -1
- package/bundles/material-autocomplete.umd.js.map +1 -1
- package/bundles/material-autocomplete.umd.min.js +5 -5
- package/bundles/material-autocomplete.umd.min.js.map +1 -1
- package/bundles/material-badge-testing.umd.min.js +1 -1
- package/bundles/material-badge-testing.umd.min.js.map +1 -1
- package/bundles/material-bottom-sheet-testing.umd.min.js +1 -1
- package/bundles/material-bottom-sheet-testing.umd.min.js.map +1 -1
- package/bundles/material-button-testing.umd.js +11 -0
- package/bundles/material-button-testing.umd.js.map +1 -1
- package/bundles/material-button-testing.umd.min.js +2 -2
- package/bundles/material-button-testing.umd.min.js.map +1 -1
- package/bundles/material-button-toggle-testing.umd.js +11 -0
- package/bundles/material-button-toggle-testing.umd.js.map +1 -1
- package/bundles/material-button-toggle-testing.umd.min.js +3 -3
- package/bundles/material-button-toggle-testing.umd.min.js.map +1 -1
- package/bundles/material-button-toggle.umd.js +12 -3
- package/bundles/material-button-toggle.umd.js.map +1 -1
- package/bundles/material-button-toggle.umd.min.js +2 -2
- package/bundles/material-button-toggle.umd.min.js.map +1 -1
- package/bundles/material-button.umd.js +7 -2
- package/bundles/material-button.umd.js.map +1 -1
- package/bundles/material-button.umd.min.js +4 -4
- package/bundles/material-button.umd.min.js.map +1 -1
- package/bundles/material-card-testing.umd.js +335 -0
- package/bundles/material-card-testing.umd.js.map +1 -0
- package/bundles/material-card-testing.umd.min.js +44 -0
- package/bundles/material-card-testing.umd.min.js.map +1 -0
- package/bundles/material-checkbox-testing.umd.js +11 -0
- package/bundles/material-checkbox-testing.umd.js.map +1 -1
- package/bundles/material-checkbox-testing.umd.min.js +3 -3
- package/bundles/material-checkbox-testing.umd.min.js.map +1 -1
- package/bundles/material-checkbox.umd.js.map +1 -1
- package/bundles/material-chips.umd.js +36 -12
- package/bundles/material-chips.umd.js.map +1 -1
- package/bundles/material-chips.umd.min.js +4 -4
- package/bundles/material-chips.umd.min.js.map +1 -1
- package/bundles/material-core-testing.umd.min.js +1 -1
- package/bundles/material-core-testing.umd.min.js.map +1 -1
- package/bundles/material-core.umd.js +11 -3
- package/bundles/material-core.umd.js.map +1 -1
- package/bundles/material-core.umd.min.js +11 -11
- package/bundles/material-core.umd.min.js.map +1 -1
- package/bundles/material-datepicker.umd.js +20 -11
- package/bundles/material-datepicker.umd.js.map +1 -1
- package/bundles/material-datepicker.umd.min.js +5 -5
- package/bundles/material-datepicker.umd.min.js.map +1 -1
- package/bundles/material-dialog-testing.umd.min.js +1 -1
- package/bundles/material-dialog-testing.umd.min.js.map +1 -1
- package/bundles/material-dialog.umd.js +45 -8
- package/bundles/material-dialog.umd.js.map +1 -1
- package/bundles/material-dialog.umd.min.js +14 -7
- package/bundles/material-dialog.umd.min.js.map +1 -1
- package/bundles/material-divider-testing.umd.min.js +1 -1
- package/bundles/material-divider-testing.umd.min.js.map +1 -1
- package/bundles/material-expansion-testing.umd.js +11 -0
- package/bundles/material-expansion-testing.umd.js.map +1 -1
- package/bundles/material-expansion-testing.umd.min.js +3 -3
- package/bundles/material-expansion-testing.umd.min.js.map +1 -1
- package/bundles/material-form-field-testing.umd.js +32 -0
- package/bundles/material-form-field-testing.umd.js.map +1 -1
- package/bundles/material-form-field-testing.umd.min.js +4 -4
- package/bundles/material-form-field-testing.umd.min.js.map +1 -1
- package/bundles/material-form-field.umd.js +47 -21
- package/bundles/material-form-field.umd.js.map +1 -1
- package/bundles/material-form-field.umd.min.js +5 -5
- package/bundles/material-form-field.umd.min.js.map +1 -1
- package/bundles/material-grid-list-testing.umd.min.js +1 -1
- package/bundles/material-grid-list-testing.umd.min.js.map +1 -1
- package/bundles/material-grid-list.umd.js +2 -2
- package/bundles/material-grid-list.umd.js.map +1 -1
- package/bundles/material-grid-list.umd.min.js +2 -2
- package/bundles/material-grid-list.umd.min.js.map +1 -1
- package/bundles/material-input-testing.umd.js +23 -6
- package/bundles/material-input-testing.umd.js.map +1 -1
- package/bundles/material-input-testing.umd.min.js +3 -3
- package/bundles/material-input-testing.umd.min.js.map +1 -1
- package/bundles/material-input.umd.js +28 -3
- package/bundles/material-input.umd.js.map +1 -1
- package/bundles/material-input.umd.min.js +3 -3
- package/bundles/material-input.umd.min.js.map +1 -1
- package/bundles/material-list-testing.umd.js +33 -0
- package/bundles/material-list-testing.umd.js.map +1 -1
- package/bundles/material-list-testing.umd.min.js +2 -2
- package/bundles/material-list-testing.umd.min.js.map +1 -1
- package/bundles/material-list.umd.js +3 -3
- package/bundles/material-list.umd.min.js +1 -1
- package/bundles/material-list.umd.min.js.map +1 -1
- package/bundles/material-menu-testing.umd.js +22 -0
- package/bundles/material-menu-testing.umd.js.map +1 -1
- package/bundles/material-menu-testing.umd.min.js +2 -2
- package/bundles/material-menu-testing.umd.min.js.map +1 -1
- package/bundles/material-menu.umd.js +13 -2
- package/bundles/material-menu.umd.js.map +1 -1
- package/bundles/material-menu.umd.min.js +4 -4
- package/bundles/material-menu.umd.min.js.map +1 -1
- package/bundles/material-paginator-testing.umd.min.js +1 -1
- package/bundles/material-paginator-testing.umd.min.js.map +1 -1
- package/bundles/material-progress-bar-testing.umd.min.js +1 -1
- package/bundles/material-progress-bar-testing.umd.min.js.map +1 -1
- package/bundles/material-progress-spinner-testing.umd.js +1 -1
- package/bundles/material-progress-spinner-testing.umd.js.map +1 -1
- package/bundles/material-progress-spinner-testing.umd.min.js +2 -2
- package/bundles/material-progress-spinner-testing.umd.min.js.map +1 -1
- package/bundles/material-progress-spinner.umd.js +2 -2
- package/bundles/material-progress-spinner.umd.min.js +3 -3
- package/bundles/material-progress-spinner.umd.min.js.map +1 -1
- package/bundles/material-radio-testing.umd.js +11 -0
- package/bundles/material-radio-testing.umd.js.map +1 -1
- package/bundles/material-radio-testing.umd.min.js +3 -3
- package/bundles/material-radio-testing.umd.min.js.map +1 -1
- package/bundles/material-radio.umd.js +15 -5
- package/bundles/material-radio.umd.js.map +1 -1
- package/bundles/material-radio.umd.min.js +2 -2
- package/bundles/material-radio.umd.min.js.map +1 -1
- package/bundles/material-select-testing.umd.js +11 -0
- package/bundles/material-select-testing.umd.js.map +1 -1
- package/bundles/material-select-testing.umd.min.js +2 -2
- package/bundles/material-select-testing.umd.min.js.map +1 -1
- package/bundles/material-select.umd.js +11 -3
- package/bundles/material-select.umd.js.map +1 -1
- package/bundles/material-select.umd.min.js +4 -4
- package/bundles/material-select.umd.min.js.map +1 -1
- package/bundles/material-sidenav-testing.umd.min.js +1 -1
- package/bundles/material-sidenav-testing.umd.min.js.map +1 -1
- package/bundles/material-sidenav.umd.js +41 -17
- package/bundles/material-sidenav.umd.js.map +1 -1
- package/bundles/material-sidenav.umd.min.js +2 -2
- package/bundles/material-sidenav.umd.min.js.map +1 -1
- package/bundles/material-slide-toggle-testing.umd.js +11 -0
- package/bundles/material-slide-toggle-testing.umd.js.map +1 -1
- package/bundles/material-slide-toggle-testing.umd.min.js +2 -2
- package/bundles/material-slide-toggle-testing.umd.min.js.map +1 -1
- package/bundles/material-slide-toggle.umd.js.map +1 -1
- package/bundles/material-slider-testing.umd.js +11 -0
- package/bundles/material-slider-testing.umd.js.map +1 -1
- package/bundles/material-slider-testing.umd.min.js +2 -2
- package/bundles/material-slider-testing.umd.min.js.map +1 -1
- package/bundles/material-snack-bar-testing.umd.min.js +1 -1
- package/bundles/material-snack-bar-testing.umd.min.js.map +1 -1
- package/bundles/material-snack-bar.umd.js +47 -39
- package/bundles/material-snack-bar.umd.js.map +1 -1
- package/bundles/material-snack-bar.umd.min.js +2 -2
- package/bundles/material-snack-bar.umd.min.js.map +1 -1
- package/bundles/material-sort-testing.umd.js +10 -10
- package/bundles/material-sort-testing.umd.js.map +1 -1
- package/bundles/material-sort-testing.umd.min.js +3 -3
- package/bundles/material-sort-testing.umd.min.js.map +1 -1
- package/bundles/material-sort.umd.js +25 -12
- package/bundles/material-sort.umd.js.map +1 -1
- package/bundles/material-sort.umd.min.js +5 -5
- package/bundles/material-sort.umd.min.js.map +1 -1
- package/bundles/material-table-testing.umd.min.js +1 -1
- package/bundles/material-table-testing.umd.min.js.map +1 -1
- package/bundles/material-table.umd.min.js +2 -2
- package/bundles/material-table.umd.min.js.map +1 -1
- package/bundles/material-tabs-testing.umd.min.js +1 -1
- package/bundles/material-tabs-testing.umd.min.js.map +1 -1
- package/bundles/material-tabs.umd.js +23 -4
- package/bundles/material-tabs.umd.js.map +1 -1
- package/bundles/material-tabs.umd.min.js +5 -12
- package/bundles/material-tabs.umd.min.js.map +1 -1
- package/bundles/material-toolbar-testing.umd.js +330 -0
- package/bundles/material-toolbar-testing.umd.js.map +1 -0
- package/bundles/material-toolbar-testing.umd.min.js +44 -0
- package/bundles/material-toolbar-testing.umd.min.js.map +1 -0
- package/bundles/material-tooltip-testing.umd.min.js +1 -1
- package/bundles/material-tooltip-testing.umd.min.js.map +1 -1
- package/bundles/material-tooltip.umd.js +14 -1
- package/bundles/material-tooltip.umd.js.map +1 -1
- package/bundles/material-tooltip.umd.min.js +3 -3
- package/bundles/material-tooltip.umd.min.js.map +1 -1
- package/bundles/material-tree.umd.js.map +1 -1
- package/button/_button-base.scss +1 -1
- package/button/_button-theme.scss +8 -8
- package/button/index.metadata.json +1 -1
- package/button/testing/button-harness.d.ts +2 -0
- package/button-toggle/button-toggle.d.ts +10 -3
- package/button-toggle/index.metadata.json +1 -1
- package/button-toggle/testing/button-toggle-harness.d.ts +2 -0
- package/card/testing/card-harness-filters.d.ts +17 -0
- package/card/testing/card-harness.d.ts +36 -0
- package/card/testing/index.d.ts +8 -0
- package/card/testing/package.json +9 -0
- package/card/testing/public-api.d.ts +9 -0
- package/checkbox/index.metadata.json +1 -1
- package/checkbox/testing/checkbox-harness.d.ts +2 -0
- package/chips/chip.d.ts +19 -1
- package/chips/index.metadata.json +1 -1
- package/core/focus-indicators/_focus-indicators.scss +6 -6
- package/core/index.metadata.json +1 -1
- package/core/option/optgroup.d.ts +7 -0
- package/core/ripple/ripple-ref.d.ts +21 -2
- package/core/ripple/ripple-renderer.d.ts +1 -19
- package/core/ripple/ripple.d.ts +2 -2
- package/core/style/_list-common.scss +1 -1
- package/datepicker/date-range-input-parts.d.ts +2 -4
- package/datepicker/date-range-input.d.ts +4 -4
- package/datepicker/date-range-picker.d.ts +10 -3
- package/datepicker/datepicker.d.ts +2 -3
- package/datepicker/index.metadata.json +1 -1
- package/datepicker/public-api.d.ts +1 -1
- package/dialog/dialog-container.d.ts +9 -2
- package/dialog/dialog-content-directives.d.ts +1 -0
- package/dialog/dialog-ref.d.ts +7 -0
- package/dialog/index.metadata.json +1 -1
- package/esm2015/autocomplete/autocomplete-module.js +18 -22
- package/esm2015/autocomplete/autocomplete-origin.js +16 -20
- package/esm2015/autocomplete/autocomplete-trigger.js +519 -521
- package/esm2015/autocomplete/autocomplete.js +126 -130
- package/esm2015/autocomplete/testing/autocomplete-harness.js +99 -97
- package/esm2015/badge/badge-module.js +13 -17
- package/esm2015/badge/badge.js +184 -188
- package/esm2015/badge/testing/badge-harness.js +74 -78
- package/esm2015/bottom-sheet/bottom-sheet-container.js +161 -165
- package/esm2015/bottom-sheet/bottom-sheet-module.js +15 -19
- package/esm2015/bottom-sheet/bottom-sheet.js +124 -128
- package/esm2015/bottom-sheet/testing/bottom-sheet-harness.js +29 -33
- package/esm2015/button/button-module.js +20 -24
- package/esm2015/button/button.js +111 -114
- package/esm2015/button/testing/button-harness.js +60 -58
- package/esm2015/button-toggle/button-toggle-module.js +10 -14
- package/esm2015/button-toggle/button-toggle.js +368 -368
- package/esm2015/button-toggle/testing/button-toggle-group-harness.js +42 -46
- package/esm2015/button-toggle/testing/button-toggle-harness.js +113 -111
- package/esm2015/card/card-module.js +30 -34
- package/esm2015/card/card.js +147 -203
- package/esm2015/card/testing/card-harness-filters.js +8 -0
- package/esm2015/card/testing/card-harness.js +52 -0
- package/esm2015/card/testing/index.js +9 -0
- package/esm2015/card/testing/public-api.js +10 -0
- package/esm2015/card/testing/testing.externs.js +0 -0
- package/esm2015/checkbox/checkbox-module.js +21 -29
- package/esm2015/checkbox/checkbox-required-validator.js +9 -13
- package/esm2015/checkbox/checkbox.js +315 -319
- package/esm2015/checkbox/testing/checkbox-harness.js +150 -148
- package/esm2015/chips/chip-input.js +119 -123
- package/esm2015/chips/chip-list.js +572 -576
- package/esm2015/chips/chip.js +333 -328
- package/esm2015/chips/chips-module.js +16 -20
- package/esm2015/core/animation/animation.js +12 -20
- package/esm2015/core/common-behaviors/common-module.js +91 -95
- package/esm2015/core/datetime/index.js +19 -27
- package/esm2015/core/datetime/native-date-adapter.js +202 -206
- package/esm2015/core/error/error-options.js +16 -24
- package/esm2015/core/line/line.js +18 -26
- package/esm2015/core/option/index.js +10 -14
- package/esm2015/core/option/optgroup.js +36 -33
- package/esm2015/core/option/option.js +181 -185
- package/esm2015/core/ripple/index.js +10 -14
- package/esm2015/core/ripple/ripple-ref.js +1 -1
- package/esm2015/core/ripple/ripple-renderer.js +1 -1
- package/esm2015/core/ripple/ripple.js +102 -106
- package/esm2015/core/selection/index.js +9 -13
- package/esm2015/core/selection/pseudo-checkbox/pseudo-checkbox.js +32 -36
- package/esm2015/core/testing/optgroup-harness.js +39 -43
- package/esm2015/core/testing/option-harness.js +51 -55
- package/esm2015/core/version.js +1 -1
- package/esm2015/datepicker/calendar-body.js +214 -218
- package/esm2015/datepicker/calendar.js +295 -303
- package/esm2015/datepicker/date-range-input-parts.js +214 -229
- package/esm2015/datepicker/date-range-input.js +244 -242
- package/esm2015/datepicker/date-range-picker.js +19 -23
- package/esm2015/datepicker/date-range-selection-strategy.js +31 -35
- package/esm2015/datepicker/date-selection-model.js +110 -122
- package/esm2015/datepicker/datepicker-base.js +418 -426
- package/esm2015/datepicker/datepicker-input-base.js +227 -224
- package/esm2015/datepicker/datepicker-input.js +111 -115
- package/esm2015/datepicker/datepicker-intl.js +37 -41
- package/esm2015/datepicker/datepicker-module.js +62 -66
- package/esm2015/datepicker/datepicker-toggle.js +81 -89
- package/esm2015/datepicker/datepicker.js +13 -17
- package/esm2015/datepicker/month-view.js +283 -287
- package/esm2015/datepicker/multi-year-view.js +198 -202
- package/esm2015/datepicker/public-api.js +2 -2
- package/esm2015/datepicker/year-view.js +220 -224
- package/esm2015/dialog/dialog-container.js +175 -164
- package/esm2015/dialog/dialog-content-directives.js +105 -114
- package/esm2015/dialog/dialog-module.js +32 -36
- package/esm2015/dialog/dialog-ref.js +17 -3
- package/esm2015/dialog/dialog.js +236 -240
- package/esm2015/dialog/testing/dialog-harness.js +58 -62
- package/esm2015/divider/divider-module.js +10 -14
- package/esm2015/divider/divider.js +33 -37
- package/esm2015/divider/testing/divider-harness.js +16 -20
- package/esm2015/expansion/accordion.js +73 -77
- package/esm2015/expansion/expansion-module.js +26 -30
- package/esm2015/expansion/expansion-panel-content.js +13 -17
- package/esm2015/expansion/expansion-panel-header.js +168 -180
- package/esm2015/expansion/expansion-panel.js +144 -152
- package/esm2015/expansion/testing/accordion-harness.js +24 -28
- package/esm2015/expansion/testing/expansion-harness.js +136 -134
- package/esm2015/form-field/error.js +26 -23
- package/esm2015/form-field/form-field-control.js +6 -10
- package/esm2015/form-field/form-field-module.js +31 -35
- package/esm2015/form-field/form-field.js +407 -409
- package/esm2015/form-field/hint.js +35 -29
- package/esm2015/form-field/label.js +8 -12
- package/esm2015/form-field/placeholder.js +8 -12
- package/esm2015/form-field/prefix.js +16 -13
- package/esm2015/form-field/suffix.js +16 -13
- package/esm2015/form-field/testing/form-field-harness.js +220 -206
- package/esm2015/grid-list/grid-list-module.js +26 -30
- package/esm2015/grid-list/grid-list.js +108 -112
- package/esm2015/grid-list/grid-tile.js +91 -111
- package/esm2015/grid-list/testing/grid-list-harness.js +62 -66
- package/esm2015/grid-list/testing/grid-tile-harness.js +69 -73
- package/esm2015/grid-list/tile-styler.js +1 -1
- package/esm2015/icon/icon-module.js +10 -14
- package/esm2015/icon/icon-registry.js +406 -410
- package/esm2015/icon/icon.js +228 -232
- package/esm2015/icon/testing/fake-icon-registry.js +66 -74
- package/esm2015/input/autosize.js +30 -34
- package/esm2015/input/input-module.js +21 -25
- package/esm2015/input/input.js +305 -284
- package/esm2015/input/testing/input-harness.js +129 -123
- package/esm2015/list/list-module.js +32 -36
- package/esm2015/list/list.js +165 -189
- package/esm2015/list/selection-list.js +503 -511
- package/esm2015/list/testing/action-list-harness.js +55 -57
- package/esm2015/list/testing/list-harness.js +31 -39
- package/esm2015/list/testing/list-item-harness-base.js +13 -17
- package/esm2015/list/testing/nav-list-harness.js +62 -64
- package/esm2015/list/testing/selection-list-harness.js +136 -138
- package/esm2015/menu/menu-content.js +74 -71
- package/esm2015/menu/menu-item.js +119 -123
- package/esm2015/menu/menu-module.js +29 -37
- package/esm2015/menu/menu-panel.js +1 -1
- package/esm2015/menu/menu-trigger.js +402 -405
- package/esm2015/menu/menu.js +329 -339
- package/esm2015/menu/testing/menu-harness.js +193 -189
- package/esm2015/paginator/paginator-intl.js +36 -40
- package/esm2015/paginator/paginator-module.js +16 -20
- package/esm2015/paginator/paginator.js +205 -209
- package/esm2015/paginator/testing/paginator-harness.js +91 -95
- package/esm2015/progress-bar/progress-bar-module.js +10 -14
- package/esm2015/progress-bar/progress-bar.js +114 -118
- package/esm2015/progress-bar/testing/progress-bar-harness.js +27 -31
- package/esm2015/progress-spinner/progress-spinner-module.js +17 -21
- package/esm2015/progress-spinner/progress-spinner.js +181 -189
- package/esm2015/progress-spinner/testing/progress-spinner-harness.js +28 -32
- package/esm2015/radio/radio-module.js +10 -14
- package/esm2015/radio/radio.js +437 -444
- package/esm2015/radio/testing/radio-harness.js +241 -243
- package/esm2015/select/select-module.js +23 -27
- package/esm2015/select/select.js +917 -918
- package/esm2015/select/testing/select-harness.js +138 -136
- package/esm2015/sidenav/drawer.js +632 -620
- package/esm2015/sidenav/sidenav-module.js +31 -35
- package/esm2015/sidenav/sidenav.js +104 -116
- package/esm2015/sidenav/testing/drawer-harness.js +40 -44
- package/esm2015/sidenav/testing/sidenav-harness.js +20 -24
- package/esm2015/slide-toggle/slide-toggle-module.js +27 -35
- package/esm2015/slide-toggle/slide-toggle-required-validator.js +9 -13
- package/esm2015/slide-toggle/slide-toggle.js +184 -188
- package/esm2015/slide-toggle/testing/slide-toggle-harness.js +123 -121
- package/esm2015/slider/slider-module.js +10 -14
- package/esm2015/slider/slider.js +640 -644
- package/esm2015/slider/testing/slider-harness.js +129 -127
- package/esm2015/snack-bar/simple-snack-bar.js +32 -36
- package/esm2015/snack-bar/snack-bar-container.js +144 -148
- package/esm2015/snack-bar/snack-bar-module.js +17 -21
- package/esm2015/snack-bar/snack-bar-ref.js +1 -1
- package/esm2015/snack-bar/snack-bar.js +208 -205
- package/esm2015/snack-bar/testing/snack-bar-harness.js +112 -116
- package/esm2015/sort/sort-header-intl.js +21 -21
- package/esm2015/sort/sort-header.js +200 -194
- package/esm2015/sort/sort-module.js +11 -15
- package/esm2015/sort/sort.js +92 -96
- package/esm2015/sort/testing/sort-harness.js +28 -32
- package/esm2015/sort/testing/sort-header-harness.js +66 -67
- package/esm2015/stepper/step-header.js +78 -82
- package/esm2015/stepper/step-label.js +8 -12
- package/esm2015/stepper/stepper-button.js +23 -31
- package/esm2015/stepper/stepper-icon.js +16 -20
- package/esm2015/stepper/stepper-intl.js +15 -19
- package/esm2015/stepper/stepper-module.js +40 -44
- package/esm2015/stepper/stepper.js +139 -155
- package/esm2015/table/cell.js +94 -122
- package/esm2015/table/row.js +90 -118
- package/esm2015/table/table-module.js +13 -17
- package/esm2015/table/table.js +26 -30
- package/esm2015/table/testing/cell-harness.js +56 -68
- package/esm2015/table/testing/row-harness.js +90 -102
- package/esm2015/table/testing/table-harness.js +65 -69
- package/esm2015/table/text-column.js +17 -21
- package/esm2015/tabs/index.js +4 -2
- package/esm2015/tabs/ink-bar.js +55 -59
- package/esm2015/tabs/paginated-tab-header.js +415 -419
- package/esm2015/tabs/tab-body.js +179 -191
- package/esm2015/tabs/tab-content.js +21 -16
- package/esm2015/tabs/tab-group.js +263 -271
- package/esm2015/tabs/tab-header.js +69 -77
- package/esm2015/tabs/tab-label-wrapper.js +29 -33
- package/esm2015/tabs/tab-label.js +16 -13
- package/esm2015/tabs/tab-nav-bar/tab-nav-bar.js +199 -215
- package/esm2015/tabs/tab.js +80 -83
- package/esm2015/tabs/tabs-module.js +38 -42
- package/esm2015/tabs/testing/tab-group-harness.js +52 -56
- package/esm2015/tabs/testing/tab-harness.js +78 -82
- package/esm2015/toolbar/testing/index.js +9 -0
- package/esm2015/toolbar/testing/public-api.js +10 -0
- package/esm2015/toolbar/testing/testing.externs.js +0 -0
- package/esm2015/toolbar/testing/toolbar-harness-filters.js +8 -0
- package/esm2015/toolbar/testing/toolbar-harness.js +47 -0
- package/esm2015/toolbar/toolbar-module.js +10 -14
- package/esm2015/toolbar/toolbar.js +61 -69
- package/esm2015/tooltip/testing/tooltip-harness.js +43 -47
- package/esm2015/tooltip/tooltip-module.js +17 -21
- package/esm2015/tooltip/tooltip.js +502 -497
- package/esm2015/tree/data-source/flat-data-source.js +1 -1
- package/esm2015/tree/node.js +99 -111
- package/esm2015/tree/outlet.js +19 -23
- package/esm2015/tree/padding.js +13 -17
- package/esm2015/tree/toggle.js +15 -19
- package/esm2015/tree/tree-module.js +10 -14
- package/esm2015/tree/tree.js +23 -27
- package/expansion/testing/expansion-harness.d.ts +2 -0
- package/fesm2015/autocomplete/testing.js +98 -95
- package/fesm2015/autocomplete/testing.js.map +1 -1
- package/fesm2015/autocomplete.js +677 -687
- package/fesm2015/autocomplete.js.map +1 -1
- package/fesm2015/badge/testing.js +73 -76
- package/fesm2015/badge/testing.js.map +1 -1
- package/fesm2015/badge.js +195 -201
- package/fesm2015/badge.js.map +1 -1
- package/fesm2015/bottom-sheet/testing.js +28 -31
- package/fesm2015/bottom-sheet/testing.js.map +1 -1
- package/fesm2015/bottom-sheet.js +297 -306
- package/fesm2015/bottom-sheet.js.map +1 -1
- package/fesm2015/button/testing.js +59 -56
- package/fesm2015/button/testing.js.map +1 -1
- package/fesm2015/button-toggle/testing.js +155 -155
- package/fesm2015/button-toggle/testing.js.map +1 -1
- package/fesm2015/button-toggle.js +377 -378
- package/fesm2015/button-toggle.js.map +1 -1
- package/fesm2015/button.js +129 -133
- package/fesm2015/button.js.map +1 -1
- package/fesm2015/card/testing.js +79 -0
- package/fesm2015/card/testing.js.map +1 -0
- package/fesm2015/card.js +175 -220
- package/fesm2015/card.js.map +1 -1
- package/fesm2015/checkbox/testing.js +149 -146
- package/fesm2015/checkbox/testing.js.map +1 -1
- package/fesm2015/checkbox.js +342 -354
- package/fesm2015/checkbox.js.map +1 -1
- package/fesm2015/chips.js +1039 -1039
- package/fesm2015/chips.js.map +1 -1
- package/fesm2015/core/testing.js +88 -94
- package/fesm2015/core/testing.js.map +1 -1
- package/fesm2015/core.js +729 -773
- package/fesm2015/core.js.map +1 -1
- package/fesm2015/datepicker.js +2821 -2884
- package/fesm2015/datepicker.js.map +1 -1
- package/fesm2015/dialog/testing.js +57 -60
- package/fesm2015/dialog/testing.js.map +1 -1
- package/fesm2015/dialog.js +564 -549
- package/fesm2015/dialog.js.map +1 -1
- package/fesm2015/divider/testing.js +15 -18
- package/fesm2015/divider/testing.js.map +1 -1
- package/fesm2015/divider.js +41 -47
- package/fesm2015/divider.js.map +1 -1
- package/fesm2015/expansion/testing.js +159 -159
- package/fesm2015/expansion/testing.js.map +1 -1
- package/fesm2015/expansion.js +422 -446
- package/fesm2015/expansion.js.map +1 -1
- package/fesm2015/form-field/testing.js +219 -204
- package/fesm2015/form-field/testing.js.map +1 -1
- package/fesm2015/form-field.js +538 -532
- package/fesm2015/form-field.js.map +1 -1
- package/fesm2015/grid-list/testing.js +129 -135
- package/fesm2015/grid-list/testing.js.map +1 -1
- package/fesm2015/grid-list.js +221 -242
- package/fesm2015/grid-list.js.map +1 -1
- package/fesm2015/icon/testing.js +65 -71
- package/fesm2015/icon/testing.js.map +1 -1
- package/fesm2015/icon.js +660 -669
- package/fesm2015/icon.js.map +1 -1
- package/fesm2015/input/testing.js +128 -121
- package/fesm2015/input/testing.js.map +1 -1
- package/fesm2015/input.js +353 -337
- package/fesm2015/input.js.map +1 -1
- package/fesm2015/list/testing.js +298 -307
- package/fesm2015/list/testing.js.map +1 -1
- package/fesm2015/list.js +698 -725
- package/fesm2015/list.js.map +1 -1
- package/fesm2015/menu/testing.js +192 -186
- package/fesm2015/menu/testing.js.map +1 -1
- package/fesm2015/menu.js +948 -962
- package/fesm2015/menu.js.map +1 -1
- package/fesm2015/paginator/testing.js +90 -93
- package/fesm2015/paginator/testing.js.map +1 -1
- package/fesm2015/paginator.js +247 -256
- package/fesm2015/paginator.js.map +1 -1
- package/fesm2015/progress-bar/testing.js +26 -29
- package/fesm2015/progress-bar/testing.js.map +1 -1
- package/fesm2015/progress-bar.js +122 -128
- package/fesm2015/progress-bar.js.map +1 -1
- package/fesm2015/progress-spinner/testing.js +27 -30
- package/fesm2015/progress-spinner/testing.js.map +1 -1
- package/fesm2015/progress-spinner.js +196 -205
- package/fesm2015/progress-spinner.js.map +1 -1
- package/fesm2015/radio/testing.js +240 -240
- package/fesm2015/radio/testing.js.map +1 -1
- package/fesm2015/radio.js +447 -453
- package/fesm2015/radio.js.map +1 -1
- package/fesm2015/select/testing.js +137 -134
- package/fesm2015/select/testing.js.map +1 -1
- package/fesm2015/select.js +939 -941
- package/fesm2015/select.js.map +1 -1
- package/fesm2015/sidenav/testing.js +58 -64
- package/fesm2015/sidenav/testing.js.map +1 -1
- package/fesm2015/sidenav.js +765 -762
- package/fesm2015/sidenav.js.map +1 -1
- package/fesm2015/slide-toggle/testing.js +122 -119
- package/fesm2015/slide-toggle/testing.js.map +1 -1
- package/fesm2015/slide-toggle.js +217 -229
- package/fesm2015/slide-toggle.js.map +1 -1
- package/fesm2015/slider/testing.js +128 -125
- package/fesm2015/slider/testing.js.map +1 -1
- package/fesm2015/slider.js +648 -654
- package/fesm2015/slider.js.map +1 -1
- package/fesm2015/snack-bar/testing.js +111 -114
- package/fesm2015/snack-bar/testing.js.map +1 -1
- package/fesm2015/snack-bar.js +426 -431
- package/fesm2015/snack-bar.js.map +1 -1
- package/fesm2015/sort/testing.js +92 -95
- package/fesm2015/sort/testing.js.map +1 -1
- package/fesm2015/sort.js +320 -318
- package/fesm2015/sort.js.map +1 -1
- package/fesm2015/stepper.js +312 -345
- package/fesm2015/stepper.js.map +1 -1
- package/fesm2015/table/testing.js +208 -229
- package/fesm2015/table/testing.js.map +1 -1
- package/fesm2015/table.js +235 -286
- package/fesm2015/table.js.map +1 -1
- package/fesm2015/tabs/testing.js +128 -134
- package/fesm2015/tabs/testing.js.map +1 -1
- package/fesm2015/tabs.js +1362 -1399
- package/fesm2015/tabs.js.map +1 -1
- package/fesm2015/toolbar/testing.js +74 -0
- package/fesm2015/toolbar/testing.js.map +1 -0
- package/fesm2015/toolbar.js +69 -78
- package/fesm2015/toolbar.js.map +1 -1
- package/fesm2015/tooltip/testing.js +42 -45
- package/fesm2015/tooltip/testing.js.map +1 -1
- package/fesm2015/tooltip.js +517 -513
- package/fesm2015/tooltip.js.map +1 -1
- package/fesm2015/tree.js +173 -197
- package/fesm2015/tree.js.map +1 -1
- package/form-field/error.d.ts +7 -0
- package/form-field/hint.d.ts +10 -0
- package/form-field/index.metadata.json +1 -1
- package/form-field/prefix.d.ts +7 -0
- package/form-field/suffix.d.ts +7 -0
- package/form-field/testing/form-field-harness.d.ts +8 -0
- package/grid-list/grid-list.d.ts +2 -1
- package/grid-list/index.metadata.json +1 -1
- package/grid-list/tile-styler.d.ts +10 -5
- package/input/_input-theme.scss +2 -2
- package/input/index.metadata.json +1 -1
- package/input/input.d.ts +6 -2
- package/input/testing/input-harness.d.ts +2 -0
- package/list/index.metadata.json +1 -1
- package/list/testing/action-list-harness.d.ts +2 -0
- package/list/testing/nav-list-harness.d.ts +2 -0
- package/list/testing/selection-list-harness.d.ts +2 -0
- package/menu/index.metadata.json +1 -1
- package/menu/menu-content.d.ts +7 -1
- package/menu/menu-panel.d.ts +1 -0
- package/menu/menu.d.ts +4 -0
- package/menu/testing/menu-harness.d.ts +4 -0
- package/package.json +6 -6
- package/prebuilt-themes/deeppurple-amber.css +1 -1
- package/prebuilt-themes/indigo-pink.css +1 -1
- package/prebuilt-themes/pink-bluegrey.css +1 -1
- package/prebuilt-themes/purple-green.css +1 -1
- package/progress-spinner/index.metadata.json +1 -1
- package/radio/index.metadata.json +1 -1
- package/radio/radio.d.ts +6 -0
- package/radio/testing/radio-harness.d.ts +2 -0
- package/schematics/migration.json +5 -0
- package/schematics/ng-add/index.js +2 -2
- package/schematics/ng-generate/navigation/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +3 -3
- package/schematics/ng-generate/navigation/schema.json +5 -0
- package/schematics/ng-update/data/index.js +1 -1
- package/schematics/ng-update/index.d.ts +2 -0
- package/schematics/ng-update/index.js +7 -2
- package/schematics/ng-update/migrations/hammer-gestures-v9/hammer-gestures-migration.js +639 -639
- package/schematics/ng-update/migrations/misc-ripples-v7/ripple-speed-factor-migration.js +1 -1
- package/select/index.metadata.json +1 -1
- package/select/select.d.ts +6 -0
- package/select/testing/select-harness.d.ts +2 -0
- package/sidenav/drawer.d.ts +15 -3
- package/sidenav/index.metadata.json +1 -1
- package/slide-toggle/index.metadata.json +1 -1
- package/slide-toggle/testing/slide-toggle-harness.d.ts +2 -0
- package/slider/testing/slider-harness.d.ts +2 -0
- package/snack-bar/index.metadata.json +1 -1
- package/snack-bar/simple-snack-bar.d.ts +13 -1
- package/snack-bar/snack-bar-container.d.ts +16 -3
- package/snack-bar/snack-bar-ref.d.ts +3 -3
- package/snack-bar/snack-bar.d.ts +10 -3
- package/sort/index.metadata.json +1 -1
- package/sort/sort-header-intl.d.ts +5 -1
- package/sort/sort-header.d.ts +3 -1
- package/sort/testing/sort-header-harness.d.ts +6 -2
- package/tabs/index.d.ts +3 -1
- package/tabs/index.metadata.json +1 -1
- package/tabs/tab-content.d.ts +7 -1
- package/tabs/tab-label.d.ts +7 -0
- package/toolbar/testing/index.d.ts +8 -0
- package/toolbar/testing/package.json +9 -0
- package/toolbar/testing/public-api.d.ts +9 -0
- package/toolbar/testing/toolbar-harness-filters.d.ts +13 -0
- package/toolbar/testing/toolbar-harness.d.ts +31 -0
- package/tooltip/index.metadata.json +1 -1
- package/tooltip/tooltip.d.ts +1 -0
- package/tree/data-source/flat-data-source.d.ts +4 -4
- package/tree/index.metadata.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/cdk/a11y"),require("@angular/cdk/observers"),require("@angular/cdk/portal"),require("@angular/common"),require("@angular/core"),require("@angular/material/core"),require("@angular/platform-browser/animations"),require("rxjs"),require("@angular/cdk/bidi"),require("@angular/animations"),require("rxjs/operators"),require("@angular/cdk/coercion"),require("@angular/cdk/scrolling"),require("@angular/cdk/platform"),require("@angular/cdk/keycodes")):"function"==typeof define&&define.amd?define("@angular/material/tabs",["exports","@angular/cdk/a11y","@angular/cdk/observers","@angular/cdk/portal","@angular/common","@angular/core","@angular/material/core","@angular/platform-browser/animations","rxjs","@angular/cdk/bidi","@angular/animations","rxjs/operators","@angular/cdk/coercion","@angular/cdk/scrolling","@angular/cdk/platform","@angular/cdk/keycodes"],e):e(((t=t||self).ng=t.ng||{},t.ng.material=t.ng.material||{},t.ng.material.tabs={}),t.ng.cdk.a11y,t.ng.cdk.observers,t.ng.cdk.portal,t.ng.common,t.ng.core,t.ng.material.core,t.ng.platformBrowser.animations,t.rxjs,t.ng.cdk.bidi,t.ng.animations,t.rxjs.operators,t.ng.cdk.coercion,t.ng.cdk.scrolling,t.ng.cdk.platform,t.ng.cdk.keycodes)}(this,(function(t,e,n,
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/cdk/a11y"),require("@angular/cdk/observers"),require("@angular/cdk/portal"),require("@angular/common"),require("@angular/core"),require("@angular/material/core"),require("@angular/platform-browser/animations"),require("rxjs"),require("@angular/cdk/bidi"),require("@angular/animations"),require("rxjs/operators"),require("@angular/cdk/coercion"),require("@angular/cdk/scrolling"),require("@angular/cdk/platform"),require("@angular/cdk/keycodes")):"function"==typeof define&&define.amd?define("@angular/material/tabs",["exports","@angular/cdk/a11y","@angular/cdk/observers","@angular/cdk/portal","@angular/common","@angular/core","@angular/material/core","@angular/platform-browser/animations","rxjs","@angular/cdk/bidi","@angular/animations","rxjs/operators","@angular/cdk/coercion","@angular/cdk/scrolling","@angular/cdk/platform","@angular/cdk/keycodes"],e):e(((t=t||self).ng=t.ng||{},t.ng.material=t.ng.material||{},t.ng.material.tabs={}),t.ng.cdk.a11y,t.ng.cdk.observers,t.ng.cdk.portal,t.ng.common,t.ng.core,t.ng.material.core,t.ng.platformBrowser.animations,t.rxjs,t.ng.cdk.bidi,t.ng.animations,t.rxjs.operators,t.ng.cdk.coercion,t.ng.cdk.scrolling,t.ng.cdk.platform,t.ng.cdk.keycodes)}(this,(function(t,e,a,n,i,o,r,s,l,c,p,d,b,h,u,m){"use strict";
|
|
2
2
|
/**
|
|
3
3
|
* @license
|
|
4
4
|
* Copyright Google LLC All Rights Reserved.
|
|
5
5
|
*
|
|
6
6
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7
7
|
* found in the LICENSE file at https://angular.io/license
|
|
8
|
-
*/var g=new o.InjectionToken("MatInkBarPositioner",{providedIn:"root",factory:f});function f(){return function(t){return{left:t?(t.offsetLeft||0)+"px":"0",width:t?(t.offsetWidth||0)+"px":"0"}}}var y=function(){function t(t,e,n
|
|
8
|
+
*/var g=new o.InjectionToken("MatInkBarPositioner",{providedIn:"root",factory:f});function f(){return function(t){return{left:t?(t.offsetLeft||0)+"px":"0",width:t?(t.offsetWidth||0)+"px":"0"}}}var y=function(){function t(t,e,a,n){this._elementRef=t,this._ngZone=e,this._inkBarPositioner=a,this._animationMode=n}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:o.Directive,args:[{selector:"mat-ink-bar",host:{class:"mat-ink-bar","[class._mat-animation-noopable]":"_animationMode === 'NoopAnimations'"}}]}],t.ctorParameters=function(){return[{type:o.ElementRef},{type:o.NgZone},{type:void 0,decorators:[{type:o.Inject,args:[g]}]},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},t}(),_=function(t,e){return(_=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)};
|
|
9
9
|
/*! *****************************************************************************
|
|
10
10
|
Copyright (c) Microsoft Corporation.
|
|
11
11
|
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
20
20
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
21
21
|
PERFORMANCE OF THIS SOFTWARE.
|
|
22
|
-
***************************************************************************** */function v(t,e){function
|
|
22
|
+
***************************************************************************** */function v(t,e){function a(){this.constructor=t}_(t,e),t.prototype=null===e?Object.create(e):(a.prototype=e.prototype,new a)}function x(t,e){var a="function"==typeof Symbol&&t[Symbol.iterator];if(!a)return t;var n,i,o=a.call(t),r=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)r.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(a=o.return)&&a.call(o)}finally{if(i)throw i.error}}return r}
|
|
23
23
|
/**
|
|
24
24
|
* @license
|
|
25
25
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
* Use of this source code is governed by an MIT-style license that can be
|
|
28
28
|
* found in the LICENSE file at https://angular.io/license
|
|
29
29
|
*/
|
|
30
|
-
var C=function(){function t(t){this.template=t}return t.decorators=[{type:o.Directive,args:[{selector:"[matTabContent]"}]}],t.ctorParameters=function(){return[{type:o.TemplateRef}]},t}(),k=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return v(e,t),e.decorators=[{type:o.Directive,args:[{selector:"[mat-tab-label], [matTabLabel]"}]}],e}(a.CdkPortal),I=r.mixinDisabled((function P(){})),T=new o.InjectionToken("MAT_TAB_GROUP"),D=function(t){function e(e,n){var a=t.call(this)||this;return a._viewContainerRef=e,a._closestTabGroup=n,a.textLabel="",a._contentPortal=null,a._stateChanges=new l.Subject,a.position=null,a.origin=null,a.isActive=!1,a}return v(e,t),Object.defineProperty(e.prototype,"templateLabel",{get:function(){return this._templateLabel},set:function(t){t&&(this._templateLabel=t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"content",{get:function(){return this._contentPortal},enumerable:!1,configurable:!0}),e.prototype.ngOnChanges=function(t){(t.hasOwnProperty("textLabel")||t.hasOwnProperty("disabled"))&&this._stateChanges.next()},e.prototype.ngOnDestroy=function(){this._stateChanges.complete()},e.prototype.ngOnInit=function(){this._contentPortal=new a.TemplatePortal(this._explicitContent||this._implicitContent,this._viewContainerRef)},e.decorators=[{type:o.Component,args:[{selector:"mat-tab",template:"\x3c!-- Create a template for the content of the <mat-tab> so that we can grab a reference to this\n TemplateRef and use it in a Portal to render the tab content in the appropriate place in the\n tab-group. --\x3e\n<ng-template><ng-content></ng-content></ng-template>\n",inputs:["disabled"],changeDetection:o.ChangeDetectionStrategy.Default,encapsulation:o.ViewEncapsulation.None,exportAs:"matTab"}]}],e.ctorParameters=function(){return[{type:o.ViewContainerRef},{type:void 0,decorators:[{type:o.Optional},{type:o.Inject,args:[T]}]}]},e.propDecorators={templateLabel:[{type:o.ContentChild,args:[k]}],_explicitContent:[{type:o.ContentChild,args:[C,{read:o.TemplateRef,static:!0}]}],_implicitContent:[{type:o.ViewChild,args:[o.TemplateRef,{static:!0}]}],textLabel:[{type:o.Input,args:["label"]}],ariaLabel:[{type:o.Input,args:["aria-label"]}],ariaLabelledby:[{type:o.Input,args:["aria-labelledby"]}]},e}(I),w={translateTab:p.trigger("translateTab",[p.state("center, void, left-origin-center, right-origin-center",p.style({transform:"none"})),p.state("left",p.style({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),p.state("right",p.style({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),p.transition("* => left, * => right, left => center, right => center",p.animate("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),p.transition("void => left-origin-center",[p.style({transform:"translate3d(-100%, 0, 0)"}),p.animate("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),p.transition("void => right-origin-center",[p.style({transform:"translate3d(100%, 0, 0)"}),p.animate("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},E=function(t){function e(e,n,a,i){var o=t.call(this,e,n,i)||this;return o._host=a,o._centeringSub=l.Subscription.EMPTY,o._leavingSub=l.Subscription.EMPTY,o}return v(e,t),e.prototype.ngOnInit=function(){var e=this;t.prototype.ngOnInit.call(this),this._centeringSub=this._host._beforeCentering.pipe(d.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()}))},e.prototype.ngOnDestroy=function(){t.prototype.ngOnDestroy.call(this),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()},e.decorators=[{type:o.Directive,args:[{selector:"[matTabBodyHost]"}]}],e.ctorParameters=function(){return[{type:o.ComponentFactoryResolver},{type:o.ViewContainerRef},{type:R,decorators:[{type:o.Inject,args:[o.forwardRef((function(){return R}))]}]},{type:void 0,decorators:[{type:o.Inject,args:[i.DOCUMENT]}]}]},e}(a.CdkPortalOutlet),O=function(){function t(t,e,n){var a=this;this._elementRef=t,this._dir=e,this._dirChangeSubscription=l.Subscription.EMPTY,this._translateTabComplete=new l.Subject,this._onCentering=new o.EventEmitter,this._beforeCentering=new o.EventEmitter,this._afterLeavingCenter=new o.EventEmitter,this._onCentered=new o.EventEmitter(!0),this.animationDuration="500ms",e&&(this._dirChangeSubscription=e.change.subscribe((function(t){a._computePositionAnimationState(t),n.markForCheck()}))),this._translateTabComplete.pipe(d.distinctUntilChanged((function(t,e){return t.fromState===e.fromState&&t.toState===e.toState}))).subscribe((function(t){a._isCenterPosition(t.toState)&&a._isCenterPosition(a._position)&&a._onCentered.emit(),a._isCenterPosition(t.fromState)&&!a._isCenterPosition(a._position)&&a._afterLeavingCenter.emit()}))}return Object.defineProperty(t.prototype,"position",{set:function(t){this._positionIndex=t,this._computePositionAnimationState()},enumerable:!1,configurable:!0}),t.prototype.ngOnInit=function(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))},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._position=this._positionIndex<0?"ltr"==t?"left":"right":this._positionIndex>0?"ltr"==t?"right":"left":"center"},t.prototype._computePositionFromOrigin=function(t){var e=this._getLayoutDirection();return"ltr"==e&&t<=0||"rtl"==e&&t>0?"left-origin-center":"right-origin-center"},t.decorators=[{type:o.Directive}],t.ctorParameters=function(){return[{type:o.ElementRef},{type:c.Directionality,decorators:[{type:o.Optional}]},{type:o.ChangeDetectorRef}]},t.propDecorators={_onCentering:[{type:o.Output}],_beforeCentering:[{type:o.Output}],_afterLeavingCenter:[{type:o.Output}],_onCentered:[{type:o.Output}],_content:[{type:o.Input,args:["content"]}],origin:[{type:o.Input}],animationDuration:[{type:o.Input}],position:[{type:o.Input}]},t}(),R=function(t){function e(e,n,a){return t.call(this,e,n,a)||this}return v(e,t),e.decorators=[{type:o.Component,args:[{selector:"mat-tab-body",template:'<div class="mat-tab-body-content" #content\n [@translateTab]="{\n value: _position,\n params: {animationDuration: animationDuration}\n }"\n (@translateTab.start)="_onTranslateTabStarted($event)"\n (@translateTab.done)="_translateTabComplete.next($event)">\n <ng-template matTabBodyHost></ng-template>\n</div>\n',encapsulation:o.ViewEncapsulation.None,changeDetection:o.ChangeDetectionStrategy.Default,animations:[w.translateTab],host:{class:"mat-tab-body"},styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"]}]}],e.ctorParameters=function(){return[{type:o.ElementRef},{type:c.Directionality,decorators:[{type:o.Optional}]},{type:o.ChangeDetectorRef}]},e.propDecorators={_portalHost:[{type:o.ViewChild,args:[a.PortalHostDirective]}]},e}(O),L=new o.InjectionToken("MAT_TABS_CONFIG"),S=0,M=function M(){},A=function(t){function e(e,n,a,i){var r=t.call(this,e)||this;return r._changeDetectorRef=n,r._animationMode=i,r._tabs=new o.QueryList,r._indexToSelect=0,r._tabBodyWrapperHeight=0,r._tabsSubscription=l.Subscription.EMPTY,r._tabLabelSubscription=l.Subscription.EMPTY,r._dynamicHeight=!1,r._selectedIndex=null,r.headerPosition="above",r.selectedIndexChange=new o.EventEmitter,r.focusChange=new o.EventEmitter,r.animationDone=new o.EventEmitter,r.selectedTabChange=new o.EventEmitter(!0),r._groupId=S++,r.animationDuration=a&&a.animationDuration?a.animationDuration:"500ms",r.disablePagination=!(!a||null==a.disablePagination)&&a.disablePagination,r}return v(e,t),Object.defineProperty(e.prototype,"dynamicHeight",{get:function(){return this._dynamicHeight},set:function(t){this._dynamicHeight=b.coerceBooleanProperty(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(t){this._indexToSelect=b.coerceNumberProperty(t,null)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"animationDuration",{get:function(){return this._animationDuration},set:function(t){this._animationDuration=/^\d+$/.test(t)?t+"ms":t},enumerable:!1,configurable:!0}),Object.defineProperty(e.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:!1,configurable:!0}),e.prototype.ngAfterContentChecked=function(){var t=this,e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){var n=null==this._selectedIndex;n||this.selectedTabChange.emit(this._createChangeEvent(e)),Promise.resolve().then((function(){t._tabs.forEach((function(t,n){return t.isActive=n===e})),n||t.selectedIndexChange.emit(e)}))}this._tabs.forEach((function(n,a){n.position=a-e,null==t._selectedIndex||0!=n.position||n.origin||(n.origin=e-t._selectedIndex)})),this._selectedIndex!==e&&(this._selectedIndex=e,this._changeDetectorRef.markForCheck())},e.prototype.ngAfterContentInit=function(){var t=this;this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe((function(){if(t._clampTabIndex(t._indexToSelect)===t._selectedIndex)for(var e=t._tabs.toArray(),n=0;n<e.length;n++)if(e[n].isActive){t._indexToSelect=t._selectedIndex=n;break}t._changeDetectorRef.markForCheck()}))},e.prototype._subscribeToAllTabChanges=function(){var t=this;this._allTabs.changes.pipe(d.startWith(this._allTabs)).subscribe((function(e){t._tabs.reset(e.filter((function(e){return!e._closestTabGroup||e._closestTabGroup===t}))),t._tabs.notifyOnChanges()}))},e.prototype.ngOnDestroy=function(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()},e.prototype.realignInkBar=function(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()},e.prototype._focusChanged=function(t){this.focusChange.emit(this._createChangeEvent(t))},e.prototype._createChangeEvent=function(t){var e=new M;return e.index=t,this._tabs&&this._tabs.length&&(e.tab=this._tabs.toArray()[t]),e},e.prototype._subscribeToTabLabels=function(){var t=this;this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=l.merge.apply(void 0,function e(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(x(arguments[e]));return t}(this._tabs.map((function(t){return t._stateChanges})))).subscribe((function(){return t._changeDetectorRef.markForCheck()}))},e.prototype._clampTabIndex=function(t){return Math.min(this._tabs.length-1,Math.max(t||0,0))},e.prototype._getTabLabelId=function(t){return"mat-tab-label-"+this._groupId+"-"+t},e.prototype._getTabContentId=function(t){return"mat-tab-content-"+this._groupId+"-"+t},e.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")}},e.prototype._removeTabBodyWrapperHeight=function(){var t=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=t.clientHeight,t.style.height="",this.animationDone.emit()},e.prototype._handleClick=function(t,e,n){t.disabled||(this.selectedIndex=e.focusIndex=n)},e.prototype._getTabIndex=function(t,e){return t.disabled?null:this.selectedIndex===e?0:-1},e.decorators=[{type:o.Directive}],e.ctorParameters=function(){return[{type:o.ElementRef},{type:o.ChangeDetectorRef},{type:void 0,decorators:[{type:o.Inject,args:[L]},{type:o.Optional}]},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},e.propDecorators={dynamicHeight:[{type:o.Input}],selectedIndex:[{type:o.Input}],headerPosition:[{type:o.Input}],animationDuration:[{type:o.Input}],disablePagination:[{type:o.Input}],backgroundColor:[{type:o.Input}],selectedIndexChange:[{type:o.Output}],focusChange:[{type:o.Output}],animationDone:[{type:o.Output}],selectedTabChange:[{type:o.Output}]},e}(r.mixinColor(r.mixinDisableRipple((function j(t){this._elementRef=t})),"primary")),B=function(t){function e(e,n,a,i){return t.call(this,e,n,a,i)||this}return v(e,t),e.decorators=[{type:o.Component,args:[{selector:"mat-tab-group",exportAs:"matTabGroup",template:'<mat-tab-header #tabHeader\n [selectedIndex]="selectedIndex || 0"\n [disableRipple]="disableRipple"\n [disablePagination]="disablePagination"\n (indexFocused)="_focusChanged($event)"\n (selectFocusedIndex)="selectedIndex = $event">\n <div class="mat-tab-label mat-focus-indicator" role="tab" matTabLabelWrapper mat-ripple cdkMonitorElementFocus\n *ngFor="let tab of _tabs; let i = index"\n [id]="_getTabLabelId(i)"\n [attr.tabIndex]="_getTabIndex(tab, i)"\n [attr.aria-posinset]="i + 1"\n [attr.aria-setsize]="_tabs.length"\n [attr.aria-controls]="_getTabContentId(i)"\n [attr.aria-selected]="selectedIndex == i"\n [attr.aria-label]="tab.ariaLabel || null"\n [attr.aria-labelledby]="(!tab.ariaLabel && tab.ariaLabelledby) ? tab.ariaLabelledby : null"\n [class.mat-tab-label-active]="selectedIndex == i"\n [disabled]="tab.disabled"\n [matRippleDisabled]="tab.disabled || disableRipple"\n (click)="_handleClick(tab, tabHeader, i)">\n\n\n <div class="mat-tab-label-content">\n \x3c!-- If there is a label template, use it. --\x3e\n <ng-template [ngIf]="tab.templateLabel">\n <ng-template [cdkPortalOutlet]="tab.templateLabel"></ng-template>\n </ng-template>\n\n \x3c!-- If there is not a label template, fall back to the text label. --\x3e\n <ng-template [ngIf]="!tab.templateLabel">{{tab.textLabel}}</ng-template>\n </div>\n </div>\n</mat-tab-header>\n\n<div\n class="mat-tab-body-wrapper"\n [class._mat-animation-noopable]="_animationMode === \'NoopAnimations\'"\n #tabBodyWrapper>\n <mat-tab-body role="tabpanel"\n *ngFor="let tab of _tabs; let i = index"\n [id]="_getTabContentId(i)"\n [attr.aria-labelledby]="_getTabLabelId(i)"\n [class.mat-tab-body-active]="selectedIndex == i"\n [content]="tab.content!"\n [position]="tab.position!"\n [origin]="tab.origin"\n [animationDuration]="animationDuration"\n (_onCentered)="_removeTabBodyWrapperHeight()"\n (_onCentering)="_setTabBodyWrapperHeight($event)">\n </mat-tab-body>\n</div>\n',encapsulation:o.ViewEncapsulation.None,changeDetection:o.ChangeDetectionStrategy.Default,inputs:["color","disableRipple"],providers:[{provide:T,useExisting:e}],host:{class:"mat-tab-group","[class.mat-tab-group-dynamic-height]":"dynamicHeight","[class.mat-tab-group-inverted-header]":'headerPosition === "below"'},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:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-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}.cdk-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 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.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}\n"]}]}],e.ctorParameters=function(){return[{type:o.ElementRef},{type:o.ChangeDetectorRef},{type:void 0,decorators:[{type:o.Inject,args:[L]},{type:o.Optional}]},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},e.propDecorators={_allTabs:[{type:o.ContentChildren,args:[D,{descendants:!0}]}],_tabBodyWrapper:[{type:o.ViewChild,args:["tabBodyWrapper"]}],_tabHeader:[{type:o.ViewChild,args:["tabHeader"]}]},e}(A),N=function(t){function e(e){var n=t.call(this)||this;return n.elementRef=e,n}return v(e,t),e.prototype.focus=function(){this.elementRef.nativeElement.focus()},e.prototype.getOffsetLeft=function(){return this.elementRef.nativeElement.offsetLeft},e.prototype.getOffsetWidth=function(){return this.elementRef.nativeElement.offsetWidth},e.decorators=[{type:o.Directive,args:[{selector:"[matTabLabelWrapper]",inputs:["disabled"],host:{"[class.mat-tab-disabled]":"disabled","[attr.aria-disabled]":"!!disabled"}}]}],e.ctorParameters=function(){return[{type:o.ElementRef}]},e}(r.mixinDisabled((function H(){}))),F=u.normalizePassiveListenerOptions({passive:!0}),W=function(){function t(t,e,n,a,i,r,s){var c=this;this._elementRef=t,this._changeDetectorRef=e,this._viewportRuler=n,this._dir=a,this._ngZone=i,this._platform=r,this._animationMode=s,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new l.Subject,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new l.Subject,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new o.EventEmitter,this.indexFocused=new o.EventEmitter,i.runOutsideAngular((function(){l.fromEvent(t.nativeElement,"mouseleave").pipe(d.takeUntil(c._destroyed)).subscribe((function(){c._stopInterval()}))}))}return Object.defineProperty(t.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(t){t=b.coerceNumberProperty(t),this._selectedIndex!=t&&(this._selectedIndexChanged=!0,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItem(t))},enumerable:!1,configurable:!0}),t.prototype.ngAfterViewInit=function(){var t=this;l.fromEvent(this._previousPaginator.nativeElement,"touchstart",F).pipe(d.takeUntil(this._destroyed)).subscribe((function(){t._handlePaginatorPress("before")})),l.fromEvent(this._nextPaginator.nativeElement,"touchstart",F).pipe(d.takeUntil(this._destroyed)).subscribe((function(){t._handlePaginatorPress("after")}))},t.prototype.ngAfterContentInit=function(){var t=this,n=this._dir?this._dir.change:l.of(null),a=this._viewportRuler.change(150),i=function(){t.updatePagination(),t._alignInkBarToSelectedTab()};this._keyManager=new e.FocusKeyManager(this._items).withHorizontalOrientation(this._getLayoutDirection()).withWrap(),this._keyManager.updateActiveItem(0),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(i):i(),l.merge(n,a,this._items.changes).pipe(d.takeUntil(this._destroyed)).subscribe((function(){Promise.resolve().then(i),t._keyManager.withHorizontalOrientation(t._getLayoutDirection())})),this._keyManager.change.pipe(d.takeUntil(this._destroyed)).subscribe((function(e){t.indexFocused.emit(e),t._setTabFocus(e)}))},t.prototype.ngAfterContentChecked=function(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.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())},t.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()},t.prototype._handleKeydown=function(t){if(!m.hasModifierKey(t))switch(t.keyCode){case m.HOME:this._keyManager.setFirstItemActive(),t.preventDefault();break;case m.END:this._keyManager.setLastItemActive(),t.preventDefault();break;case m.ENTER:case m.SPACE:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(t));break;default:this._keyManager.onKeydown(t)}},t.prototype._onContentChanges=function(){var t=this,e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run((function(){t.updatePagination(),t._alignInkBarToSelectedTab(),t._changeDetectorRef.markForCheck()})))},t.prototype.updatePagination=function(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()},Object.defineProperty(t.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:!1,configurable:!0}),t.prototype._isValidIndex=function(t){if(!this._items)return!0;var e=this._items?this._items.toArray()[t]:null;return!!e&&!e.disabled},t.prototype._setTabFocus=function(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._items&&this._items.length){this._items.toArray()[t].focus();var e=this._tabListContainer.nativeElement,n=this._getLayoutDirection();e.scrollLeft="ltr"==n?0:e.scrollWidth-e.offsetWidth}},t.prototype._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},t.prototype._updateTabScrollPosition=function(){if(!this.disablePagination){var t=this.scrollDistance,e=this._platform,n="ltr"===this._getLayoutDirection()?-t:t;this._tabList.nativeElement.style.transform="translateX("+Math.round(n)+"px)",e&&(e.TRIDENT||e.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}},Object.defineProperty(t.prototype,"scrollDistance",{get:function(){return this._scrollDistance},set:function(t){this._scrollTo(t)},enumerable:!1,configurable:!0}),t.prototype._scrollHeader=function(t){return this._scrollTo(this._scrollDistance+("before"==t?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)},t.prototype._handlePaginatorClick=function(t){this._stopInterval(),this._scrollHeader(t)},t.prototype._scrollToLabel=function(t){if(!this.disablePagination){var e=this._items?this._items.toArray()[t]:null;if(e){var n,a,i=this._tabListContainer.nativeElement.offsetWidth,o=e.elementRef.nativeElement,r=o.offsetLeft,s=o.offsetWidth;"ltr"==this._getLayoutDirection()?a=(n=r)+s:n=(a=this._tabList.nativeElement.offsetWidth-r)-s;var l=this.scrollDistance,c=this.scrollDistance+i;n<l?this.scrollDistance-=l-n+60:a>c&&(this.scrollDistance+=a-c+60)}}},t.prototype._checkPaginationEnabled=function(){if(this.disablePagination)this._showPaginationControls=!1;else{var t=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;t||(this.scrollDistance=0),t!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=t}},t.prototype._checkScrollingControls=function(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())},t.prototype._getMaxScrollDistance=function(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0},t.prototype._alignInkBarToSelectedTab=function(){var t=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,e=t?t.elementRef.nativeElement:null;e?this._inkBar.alignToElement(e):this._inkBar.hide()},t.prototype._stopInterval=function(){this._stopScrolling.next()},t.prototype._handlePaginatorPress=function(t,e){var n=this;e&&null!=e.button&&0!==e.button||(this._stopInterval(),l.timer(650,100).pipe(d.takeUntil(l.merge(this._stopScrolling,this._destroyed))).subscribe((function(){var e=n._scrollHeader(t),a=e.distance;(0===a||a>=e.maxScrollDistance)&&n._stopInterval()})))},t.prototype._scrollTo=function(t){if(this.disablePagination)return{maxScrollDistance:0,distance:0};var e=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(e,t)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:e,distance:this._scrollDistance}},t.decorators=[{type:o.Directive}],t.ctorParameters=function(){return[{type:o.ElementRef},{type:o.ChangeDetectorRef},{type:h.ViewportRuler},{type:c.Directionality,decorators:[{type:o.Optional}]},{type:o.NgZone},{type:u.Platform},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},t.propDecorators={disablePagination:[{type:o.Input}]},t}(),V=function(t){function e(e,n,a,i,o,r,s){var l=t.call(this,e,n,a,i,o,r,s)||this;return l._disableRipple=!1,l}return v(e,t),Object.defineProperty(e.prototype,"disableRipple",{get:function(){return this._disableRipple},set:function(t){this._disableRipple=b.coerceBooleanProperty(t)},enumerable:!1,configurable:!0}),e.prototype._itemSelected=function(t){t.preventDefault()},e.decorators=[{type:o.Directive}],e.ctorParameters=function(){return[{type:o.ElementRef},{type:o.ChangeDetectorRef},{type:h.ViewportRuler},{type:c.Directionality,decorators:[{type:o.Optional}]},{type:o.NgZone},{type:u.Platform},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},e.propDecorators={disableRipple:[{type:o.Input}]},e}(W),z=function(t){function e(e,n,a,i,o,r,s){return t.call(this,e,n,a,i,o,r,s)||this}return v(e,t),e.decorators=[{type:o.Component,args:[{selector:"mat-tab-header",template:'<div class="mat-tab-header-pagination mat-tab-header-pagination-before mat-elevation-z4"\n #previousPaginator\n aria-hidden="true"\n mat-ripple [matRippleDisabled]="_disableScrollBefore || disableRipple"\n [class.mat-tab-header-pagination-disabled]="_disableScrollBefore"\n (click)="_handlePaginatorClick(\'before\')"\n (mousedown)="_handlePaginatorPress(\'before\', $event)"\n (touchend)="_stopInterval()">\n <div class="mat-tab-header-pagination-chevron"></div>\n</div>\n\n<div class="mat-tab-label-container" #tabListContainer (keydown)="_handleKeydown($event)">\n <div\n #tabList\n class="mat-tab-list"\n [class._mat-animation-noopable]="_animationMode === \'NoopAnimations\'"\n role="tablist"\n (cdkObserveContent)="_onContentChanges()">\n <div class="mat-tab-labels">\n <ng-content></ng-content>\n </div>\n <mat-ink-bar></mat-ink-bar>\n </div>\n</div>\n\n<div class="mat-tab-header-pagination mat-tab-header-pagination-after mat-elevation-z4"\n #nextPaginator\n aria-hidden="true"\n mat-ripple [matRippleDisabled]="_disableScrollAfter || disableRipple"\n [class.mat-tab-header-pagination-disabled]="_disableScrollAfter"\n (mousedown)="_handlePaginatorPress(\'after\', $event)"\n (click)="_handlePaginatorClick(\'after\')"\n (touchend)="_stopInterval()">\n <div class="mat-tab-header-pagination-chevron"></div>\n</div>\n',inputs:["selectedIndex"],outputs:["selectFocusedIndex","indexFocused"],encapsulation:o.ViewEncapsulation.None,changeDetection:o.ChangeDetectionStrategy.Default,host:{class:"mat-tab-header","[class.mat-tab-header-pagination-controls-enabled]":"_showPaginationControls","[class.mat-tab-header-rtl]":"_getLayoutDirection() == 'rtl'"},styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.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-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .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-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.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:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-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}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n']}]}],e.ctorParameters=function(){return[{type:o.ElementRef},{type:o.ChangeDetectorRef},{type:h.ViewportRuler},{type:c.Directionality,decorators:[{type:o.Optional}]},{type:o.NgZone},{type:u.Platform},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},e.propDecorators={_items:[{type:o.ContentChildren,args:[N,{descendants:!1}]}],_inkBar:[{type:o.ViewChild,args:[y,{static:!0}]}],_tabListContainer:[{type:o.ViewChild,args:["tabListContainer",{static:!0}]}],_tabList:[{type:o.ViewChild,args:["tabList",{static:!0}]}],_nextPaginator:[{type:o.ViewChild,args:["nextPaginator"]}],_previousPaginator:[{type:o.ViewChild,args:["previousPaginator"]}]},e}(V),U=function(t){function e(e,n,a,i,o,r,s){var l=t.call(this,e,i,o,n,a,r,s)||this;return l._disableRipple=!1,l.color="primary",l}return v(e,t),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this._backgroundColor},set:function(t){var e=this._elementRef.nativeElement.classList;e.remove("mat-background-"+this.backgroundColor),t&&e.add("mat-background-"+t),this._backgroundColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"disableRipple",{get:function(){return this._disableRipple},set:function(t){this._disableRipple=b.coerceBooleanProperty(t)},enumerable:!1,configurable:!0}),e.prototype._itemSelected=function(){},e.prototype.ngAfterContentInit=function(){var e=this;this._items.changes.pipe(d.startWith(null),d.takeUntil(this._destroyed)).subscribe((function(){e.updateActiveLink()})),t.prototype.ngAfterContentInit.call(this)},e.prototype.updateActiveLink=function(t){if(this._items){for(var e=this._items.toArray(),n=0;n<e.length;n++)if(e[n].active)return this.selectedIndex=n,void this._changeDetectorRef.markForCheck();this.selectedIndex=-1,this._inkBar.hide()}},e.decorators=[{type:o.Directive}],e.ctorParameters=function(){return[{type:o.ElementRef},{type:c.Directionality,decorators:[{type:o.Optional}]},{type:o.NgZone},{type:o.ChangeDetectorRef},{type:h.ViewportRuler},{type:u.Platform,decorators:[{type:o.Optional}]},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},e.propDecorators={backgroundColor:[{type:o.Input}],disableRipple:[{type:o.Input}],color:[{type:o.Input}]},e}(W),q=function(t){function e(e,n,a,i,o,r,s){return t.call(this,e,n,a,i,o,r,s)||this}return v(e,t),e.decorators=[{type:o.Component,args:[{selector:"[mat-tab-nav-bar]",exportAs:"matTabNavBar, matTabNav",inputs:["color"],template:'<div class="mat-tab-header-pagination mat-tab-header-pagination-before mat-elevation-z4"\n #previousPaginator\n aria-hidden="true"\n mat-ripple [matRippleDisabled]="_disableScrollBefore || disableRipple"\n [class.mat-tab-header-pagination-disabled]="_disableScrollBefore"\n (click)="_handlePaginatorClick(\'before\')"\n (mousedown)="_handlePaginatorPress(\'before\', $event)"\n (touchend)="_stopInterval()">\n <div class="mat-tab-header-pagination-chevron"></div>\n</div>\n\n<div class="mat-tab-link-container" #tabListContainer (keydown)="_handleKeydown($event)">\n <div\n class="mat-tab-list"\n [class._mat-animation-noopable]="_animationMode === \'NoopAnimations\'"\n #tabList\n (cdkObserveContent)="_onContentChanges()">\n <div class="mat-tab-links">\n <ng-content></ng-content>\n </div>\n <mat-ink-bar></mat-ink-bar>\n </div>\n</div>\n\n<div class="mat-tab-header-pagination mat-tab-header-pagination-after mat-elevation-z4"\n #nextPaginator\n aria-hidden="true"\n mat-ripple [matRippleDisabled]="_disableScrollAfter || disableRipple"\n [class.mat-tab-header-pagination-disabled]="_disableScrollAfter"\n (mousedown)="_handlePaginatorPress(\'after\', $event)"\n (click)="_handlePaginatorClick(\'after\')"\n (touchend)="_stopInterval()">\n <div class="mat-tab-header-pagination-chevron"></div>\n</div>\n',host:{class:"mat-tab-nav-bar mat-tab-header","[class.mat-tab-header-pagination-controls-enabled]":"_showPaginationControls","[class.mat-tab-header-rtl]":"_getLayoutDirection() == 'rtl'","[class.mat-primary]":'color !== "warn" && color !== "accent"',"[class.mat-accent]":'color === "accent"',"[class.mat-warn]":'color === "warn"'},encapsulation:o.ViewEncapsulation.None,changeDetection:o.ChangeDetectionStrategy.Default,styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.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-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .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-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-links{display:flex}[mat-align-tabs=center]>.mat-tab-link-container .mat-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-tab-link-container .mat-tab-links{justify-content:flex-end}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.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:none}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-link:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-link.mat-tab-disabled{cursor:default}.cdk-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}.cdk-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}}\n']}]}],e.ctorParameters=function(){return[{type:o.ElementRef},{type:c.Directionality,decorators:[{type:o.Optional}]},{type:o.NgZone},{type:o.ChangeDetectorRef},{type:h.ViewportRuler},{type:u.Platform,decorators:[{type:o.Optional}]},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},e.propDecorators={_items:[{type:o.ContentChildren,args:[o.forwardRef((function(){return $})),{descendants:!0}]}],_inkBar:[{type:o.ViewChild,args:[y,{static:!0}]}],_tabListContainer:[{type:o.ViewChild,args:["tabListContainer",{static:!0}]}],_tabList:[{type:o.ViewChild,args:["tabList",{static:!0}]}],_nextPaginator:[{type:o.ViewChild,args:["nextPaginator"]}],_previousPaginator:[{type:o.ViewChild,args:["previousPaginator"]}]},e}(U),Y=function(t){function n(e,n,a,i,o,r){var s=t.call(this)||this;return s._tabNavBar=e,s.elementRef=n,s._focusMonitor=o,s._isActive=!1,s.rippleConfig=a||{},s.tabIndex=parseInt(i)||0,"NoopAnimations"===r&&(s.rippleConfig.animation={enterDuration:0,exitDuration:0}),s}return v(n,t),Object.defineProperty(n.prototype,"active",{get:function(){return this._isActive},set:function(t){t!==this._isActive&&(this._isActive=t,this._tabNavBar.updateActiveLink(this.elementRef))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rippleDisabled",{get:function(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled},enumerable:!1,configurable:!0}),n.prototype.focus=function(){this.elementRef.nativeElement.focus()},n.prototype.ngAfterViewInit=function(){this._focusMonitor.monitor(this.elementRef)},n.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this.elementRef)},n.decorators=[{type:o.Directive}],n.ctorParameters=function(){return[{type:U},{type:o.ElementRef},{type:void 0,decorators:[{type:o.Optional},{type:o.Inject,args:[r.MAT_RIPPLE_GLOBAL_OPTIONS]}]},{type:String,decorators:[{type:o.Attribute,args:["tabindex"]}]},{type:e.FocusMonitor},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},n.propDecorators={active:[{type:o.Input}]},n}(r.mixinTabIndex(r.mixinDisableRipple(r.mixinDisabled((function G(){}))))),$=function(t){function n(e,n,a,i,o,s,l,c){var p=t.call(this,e,n,o,s,l,c)||this;return p._tabLinkRipple=new r.RippleRenderer(p,a,n,i),p._tabLinkRipple.setupTriggerEvents(n.nativeElement),p}return v(n,t),n.prototype.ngOnDestroy=function(){t.prototype.ngOnDestroy.call(this),this._tabLinkRipple._removeTriggerEvents()},n.decorators=[{type:o.Directive,args:[{selector:"[mat-tab-link], [matTabLink]",exportAs:"matTabLink",inputs:["disabled","disableRipple","tabIndex"],host:{class:"mat-tab-link mat-focus-indicator","[attr.aria-current]":'active ? "page" : null',"[attr.aria-disabled]":"disabled","[attr.tabIndex]":"tabIndex","[class.mat-tab-disabled]":"disabled","[class.mat-tab-label-active]":"active"}}]}],n.ctorParameters=function(){return[{type:q},{type:o.ElementRef},{type:o.NgZone},{type:u.Platform},{type:void 0,decorators:[{type:o.Optional},{type:o.Inject,args:[r.MAT_RIPPLE_GLOBAL_OPTIONS]}]},{type:String,decorators:[{type:o.Attribute,args:["tabindex"]}]},{type:e.FocusMonitor},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},n}(Y),Z=function(){function t(){}return t.decorators=[{type:o.NgModule,args:[{imports:[i.CommonModule,r.MatCommonModule,a.PortalModule,r.MatRippleModule,n.ObserversModule,e.A11yModule],exports:[r.MatCommonModule,B,k,D,q,$,C],declarations:[B,k,D,y,N,q,$,R,E,z,C]}]}],t}();
|
|
30
|
+
var C=new o.InjectionToken("MatTabContent"),k=function(){function t(t){this.template=t}return t.decorators=[{type:o.Directive,args:[{selector:"[matTabContent]",providers:[{provide:C,useExisting:t}]}]}],t.ctorParameters=function(){return[{type:o.TemplateRef}]},t}(),I=new o.InjectionToken("MatTabLabel"),P=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return v(e,t),e.decorators=[{type:o.Directive,args:[{selector:"[mat-tab-label], [matTabLabel]",providers:[{provide:I,useExisting:e}]}]}],e}(n.CdkPortal),T=r.mixinDisabled((function D(){})),w=new o.InjectionToken("MAT_TAB_GROUP"),E=function(t){function e(e,a){var n=t.call(this)||this;return n._viewContainerRef=e,n._closestTabGroup=a,n.textLabel="",n._contentPortal=null,n._stateChanges=new l.Subject,n.position=null,n.origin=null,n.isActive=!1,n}return v(e,t),Object.defineProperty(e.prototype,"templateLabel",{get:function(){return this._templateLabel},set:function(t){t&&(this._templateLabel=t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"content",{get:function(){return this._contentPortal},enumerable:!1,configurable:!0}),e.prototype.ngOnChanges=function(t){(t.hasOwnProperty("textLabel")||t.hasOwnProperty("disabled"))&&this._stateChanges.next()},e.prototype.ngOnDestroy=function(){this._stateChanges.complete()},e.prototype.ngOnInit=function(){this._contentPortal=new n.TemplatePortal(this._explicitContent||this._implicitContent,this._viewContainerRef)},e.decorators=[{type:o.Component,args:[{selector:"mat-tab",template:"\x3c!-- Create a template for the content of the <mat-tab> so that we can grab a reference to this\n TemplateRef and use it in a Portal to render the tab content in the appropriate place in the\n tab-group. --\x3e\n<ng-template><ng-content></ng-content></ng-template>\n",inputs:["disabled"],changeDetection:o.ChangeDetectionStrategy.Default,encapsulation:o.ViewEncapsulation.None,exportAs:"matTab"}]}],e.ctorParameters=function(){return[{type:o.ViewContainerRef},{type:void 0,decorators:[{type:o.Optional},{type:o.Inject,args:[w]}]}]},e.propDecorators={templateLabel:[{type:o.ContentChild,args:[I]}],_explicitContent:[{type:o.ContentChild,args:[C,{read:o.TemplateRef,static:!0}]}],_implicitContent:[{type:o.ViewChild,args:[o.TemplateRef,{static:!0}]}],textLabel:[{type:o.Input,args:["label"]}],ariaLabel:[{type:o.Input,args:["aria-label"]}],ariaLabelledby:[{type:o.Input,args:["aria-labelledby"]}]},e}(T),O={translateTab:p.trigger("translateTab",[p.state("center, void, left-origin-center, right-origin-center",p.style({transform:"none"})),p.state("left",p.style({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),p.state("right",p.style({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),p.transition("* => left, * => right, left => center, right => center",p.animate("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),p.transition("void => left-origin-center",[p.style({transform:"translate3d(-100%, 0, 0)"}),p.animate("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),p.transition("void => right-origin-center",[p.style({transform:"translate3d(100%, 0, 0)"}),p.animate("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},R=function(t){function e(e,a,n,i){var o=t.call(this,e,a,i)||this;return o._host=n,o._centeringSub=l.Subscription.EMPTY,o._leavingSub=l.Subscription.EMPTY,o}return v(e,t),e.prototype.ngOnInit=function(){var e=this;t.prototype.ngOnInit.call(this),this._centeringSub=this._host._beforeCentering.pipe(d.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()}))},e.prototype.ngOnDestroy=function(){t.prototype.ngOnDestroy.call(this),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()},e.decorators=[{type:o.Directive,args:[{selector:"[matTabBodyHost]"}]}],e.ctorParameters=function(){return[{type:o.ComponentFactoryResolver},{type:o.ViewContainerRef},{type:S,decorators:[{type:o.Inject,args:[o.forwardRef((function(){return S}))]}]},{type:void 0,decorators:[{type:o.Inject,args:[i.DOCUMENT]}]}]},e}(n.CdkPortalOutlet),L=function(){function t(t,e,a){var n=this;this._elementRef=t,this._dir=e,this._dirChangeSubscription=l.Subscription.EMPTY,this._translateTabComplete=new l.Subject,this._onCentering=new o.EventEmitter,this._beforeCentering=new o.EventEmitter,this._afterLeavingCenter=new o.EventEmitter,this._onCentered=new o.EventEmitter(!0),this.animationDuration="500ms",e&&(this._dirChangeSubscription=e.change.subscribe((function(t){n._computePositionAnimationState(t),a.markForCheck()}))),this._translateTabComplete.pipe(d.distinctUntilChanged((function(t,e){return t.fromState===e.fromState&&t.toState===e.toState}))).subscribe((function(t){n._isCenterPosition(t.toState)&&n._isCenterPosition(n._position)&&n._onCentered.emit(),n._isCenterPosition(t.fromState)&&!n._isCenterPosition(n._position)&&n._afterLeavingCenter.emit()}))}return Object.defineProperty(t.prototype,"position",{set:function(t){this._positionIndex=t,this._computePositionAnimationState()},enumerable:!1,configurable:!0}),t.prototype.ngOnInit=function(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))},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._position=this._positionIndex<0?"ltr"==t?"left":"right":this._positionIndex>0?"ltr"==t?"right":"left":"center"},t.prototype._computePositionFromOrigin=function(t){var e=this._getLayoutDirection();return"ltr"==e&&t<=0||"rtl"==e&&t>0?"left-origin-center":"right-origin-center"},t.decorators=[{type:o.Directive}],t.ctorParameters=function(){return[{type:o.ElementRef},{type:c.Directionality,decorators:[{type:o.Optional}]},{type:o.ChangeDetectorRef}]},t.propDecorators={_onCentering:[{type:o.Output}],_beforeCentering:[{type:o.Output}],_afterLeavingCenter:[{type:o.Output}],_onCentered:[{type:o.Output}],_content:[{type:o.Input,args:["content"]}],origin:[{type:o.Input}],animationDuration:[{type:o.Input}],position:[{type:o.Input}]},t}(),S=function(t){function e(e,a,n){return t.call(this,e,a,n)||this}return v(e,t),e.decorators=[{type:o.Component,args:[{selector:"mat-tab-body",template:'<div class="mat-tab-body-content" #content\n [@translateTab]="{\n value: _position,\n params: {animationDuration: animationDuration}\n }"\n (@translateTab.start)="_onTranslateTabStarted($event)"\n (@translateTab.done)="_translateTabComplete.next($event)">\n <ng-template matTabBodyHost></ng-template>\n</div>\n',encapsulation:o.ViewEncapsulation.None,changeDetection:o.ChangeDetectionStrategy.Default,animations:[O.translateTab],host:{class:"mat-tab-body"},styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"]}]}],e.ctorParameters=function(){return[{type:o.ElementRef},{type:c.Directionality,decorators:[{type:o.Optional}]},{type:o.ChangeDetectorRef}]},e.propDecorators={_portalHost:[{type:o.ViewChild,args:[n.PortalHostDirective]}]},e}(L),M=new o.InjectionToken("MAT_TABS_CONFIG"),A=0,j=function j(){},B=function(t){function e(e,a,n,i){var r=t.call(this,e)||this;return r._changeDetectorRef=a,r._animationMode=i,r._tabs=new o.QueryList,r._indexToSelect=0,r._tabBodyWrapperHeight=0,r._tabsSubscription=l.Subscription.EMPTY,r._tabLabelSubscription=l.Subscription.EMPTY,r._dynamicHeight=!1,r._selectedIndex=null,r.headerPosition="above",r.selectedIndexChange=new o.EventEmitter,r.focusChange=new o.EventEmitter,r.animationDone=new o.EventEmitter,r.selectedTabChange=new o.EventEmitter(!0),r._groupId=A++,r.animationDuration=n&&n.animationDuration?n.animationDuration:"500ms",r.disablePagination=!(!n||null==n.disablePagination)&&n.disablePagination,r}return v(e,t),Object.defineProperty(e.prototype,"dynamicHeight",{get:function(){return this._dynamicHeight},set:function(t){this._dynamicHeight=b.coerceBooleanProperty(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(t){this._indexToSelect=b.coerceNumberProperty(t,null)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"animationDuration",{get:function(){return this._animationDuration},set:function(t){this._animationDuration=/^\d+$/.test(t)?t+"ms":t},enumerable:!1,configurable:!0}),Object.defineProperty(e.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:!1,configurable:!0}),e.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())},e.prototype.ngAfterContentInit=function(){var t=this;this._subscribeToAllTabChanges(),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._changeDetectorRef.markForCheck()}))},e.prototype._subscribeToAllTabChanges=function(){var t=this;this._allTabs.changes.pipe(d.startWith(this._allTabs)).subscribe((function(e){t._tabs.reset(e.filter((function(e){return!e._closestTabGroup||e._closestTabGroup===t}))),t._tabs.notifyOnChanges()}))},e.prototype.ngOnDestroy=function(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()},e.prototype.realignInkBar=function(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()},e.prototype._focusChanged=function(t){this.focusChange.emit(this._createChangeEvent(t))},e.prototype._createChangeEvent=function(t){var e=new j;return e.index=t,this._tabs&&this._tabs.length&&(e.tab=this._tabs.toArray()[t]),e},e.prototype._subscribeToTabLabels=function(){var t=this;this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=l.merge.apply(void 0,function e(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(x(arguments[e]));return t}(this._tabs.map((function(t){return t._stateChanges})))).subscribe((function(){return t._changeDetectorRef.markForCheck()}))},e.prototype._clampTabIndex=function(t){return Math.min(this._tabs.length-1,Math.max(t||0,0))},e.prototype._getTabLabelId=function(t){return"mat-tab-label-"+this._groupId+"-"+t},e.prototype._getTabContentId=function(t){return"mat-tab-content-"+this._groupId+"-"+t},e.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")}},e.prototype._removeTabBodyWrapperHeight=function(){var t=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=t.clientHeight,t.style.height="",this.animationDone.emit()},e.prototype._handleClick=function(t,e,a){t.disabled||(this.selectedIndex=e.focusIndex=a)},e.prototype._getTabIndex=function(t,e){return t.disabled?null:this.selectedIndex===e?0:-1},e.decorators=[{type:o.Directive}],e.ctorParameters=function(){return[{type:o.ElementRef},{type:o.ChangeDetectorRef},{type:void 0,decorators:[{type:o.Inject,args:[M]},{type:o.Optional}]},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},e.propDecorators={dynamicHeight:[{type:o.Input}],selectedIndex:[{type:o.Input}],headerPosition:[{type:o.Input}],animationDuration:[{type:o.Input}],disablePagination:[{type:o.Input}],backgroundColor:[{type:o.Input}],selectedIndexChange:[{type:o.Output}],focusChange:[{type:o.Output}],animationDone:[{type:o.Output}],selectedTabChange:[{type:o.Output}]},e}(r.mixinColor(r.mixinDisableRipple((function N(t){this._elementRef=t})),"primary")),H=function(t){function e(e,a,n,i){return t.call(this,e,a,n,i)||this}return v(e,t),e.decorators=[{type:o.Component,args:[{selector:"mat-tab-group",exportAs:"matTabGroup",template:'<mat-tab-header #tabHeader\n [selectedIndex]="selectedIndex || 0"\n [disableRipple]="disableRipple"\n [disablePagination]="disablePagination"\n (indexFocused)="_focusChanged($event)"\n (selectFocusedIndex)="selectedIndex = $event">\n <div class="mat-tab-label mat-focus-indicator" role="tab" matTabLabelWrapper mat-ripple cdkMonitorElementFocus\n *ngFor="let tab of _tabs; let i = index"\n [id]="_getTabLabelId(i)"\n [attr.tabIndex]="_getTabIndex(tab, i)"\n [attr.aria-posinset]="i + 1"\n [attr.aria-setsize]="_tabs.length"\n [attr.aria-controls]="_getTabContentId(i)"\n [attr.aria-selected]="selectedIndex == i"\n [attr.aria-label]="tab.ariaLabel || null"\n [attr.aria-labelledby]="(!tab.ariaLabel && tab.ariaLabelledby) ? tab.ariaLabelledby : null"\n [class.mat-tab-label-active]="selectedIndex == i"\n [disabled]="tab.disabled"\n [matRippleDisabled]="tab.disabled || disableRipple"\n (click)="_handleClick(tab, tabHeader, i)">\n\n\n <div class="mat-tab-label-content">\n \x3c!-- If there is a label template, use it. --\x3e\n <ng-template [ngIf]="tab.templateLabel">\n <ng-template [cdkPortalOutlet]="tab.templateLabel"></ng-template>\n </ng-template>\n\n \x3c!-- If there is not a label template, fall back to the text label. --\x3e\n <ng-template [ngIf]="!tab.templateLabel">{{tab.textLabel}}</ng-template>\n </div>\n </div>\n</mat-tab-header>\n\n<div\n class="mat-tab-body-wrapper"\n [class._mat-animation-noopable]="_animationMode === \'NoopAnimations\'"\n #tabBodyWrapper>\n <mat-tab-body role="tabpanel"\n *ngFor="let tab of _tabs; let i = index"\n [id]="_getTabContentId(i)"\n [attr.aria-labelledby]="_getTabLabelId(i)"\n [class.mat-tab-body-active]="selectedIndex == i"\n [content]="tab.content!"\n [position]="tab.position!"\n [origin]="tab.origin"\n [animationDuration]="animationDuration"\n (_onCentered)="_removeTabBodyWrapperHeight()"\n (_onCentering)="_setTabBodyWrapperHeight($event)">\n </mat-tab-body>\n</div>\n',encapsulation:o.ViewEncapsulation.None,changeDetection:o.ChangeDetectionStrategy.Default,inputs:["color","disableRipple"],providers:[{provide:w,useExisting:e}],host:{class:"mat-tab-group","[class.mat-tab-group-dynamic-height]":"dynamicHeight","[class.mat-tab-group-inverted-header]":'headerPosition === "below"'},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:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-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}.cdk-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 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.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}\n"]}]}],e.ctorParameters=function(){return[{type:o.ElementRef},{type:o.ChangeDetectorRef},{type:void 0,decorators:[{type:o.Inject,args:[M]},{type:o.Optional}]},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},e.propDecorators={_allTabs:[{type:o.ContentChildren,args:[E,{descendants:!0}]}],_tabBodyWrapper:[{type:o.ViewChild,args:["tabBodyWrapper"]}],_tabHeader:[{type:o.ViewChild,args:["tabHeader"]}]},e}(B),F=function(t){function e(e){var a=t.call(this)||this;return a.elementRef=e,a}return v(e,t),e.prototype.focus=function(){this.elementRef.nativeElement.focus()},e.prototype.getOffsetLeft=function(){return this.elementRef.nativeElement.offsetLeft},e.prototype.getOffsetWidth=function(){return this.elementRef.nativeElement.offsetWidth},e.decorators=[{type:o.Directive,args:[{selector:"[matTabLabelWrapper]",inputs:["disabled"],host:{"[class.mat-tab-disabled]":"disabled","[attr.aria-disabled]":"!!disabled"}}]}],e.ctorParameters=function(){return[{type:o.ElementRef}]},e}(r.mixinDisabled((function W(){}))),V=u.normalizePassiveListenerOptions({passive:!0}),z=function(){function t(t,e,a,n,i,r,s){var c=this;this._elementRef=t,this._changeDetectorRef=e,this._viewportRuler=a,this._dir=n,this._ngZone=i,this._platform=r,this._animationMode=s,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new l.Subject,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new l.Subject,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new o.EventEmitter,this.indexFocused=new o.EventEmitter,i.runOutsideAngular((function(){l.fromEvent(t.nativeElement,"mouseleave").pipe(d.takeUntil(c._destroyed)).subscribe((function(){c._stopInterval()}))}))}return Object.defineProperty(t.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(t){t=b.coerceNumberProperty(t),this._selectedIndex!=t&&(this._selectedIndexChanged=!0,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItem(t))},enumerable:!1,configurable:!0}),t.prototype.ngAfterViewInit=function(){var t=this;l.fromEvent(this._previousPaginator.nativeElement,"touchstart",V).pipe(d.takeUntil(this._destroyed)).subscribe((function(){t._handlePaginatorPress("before")})),l.fromEvent(this._nextPaginator.nativeElement,"touchstart",V).pipe(d.takeUntil(this._destroyed)).subscribe((function(){t._handlePaginatorPress("after")}))},t.prototype.ngAfterContentInit=function(){var t=this,a=this._dir?this._dir.change:l.of(null),n=this._viewportRuler.change(150),i=function(){t.updatePagination(),t._alignInkBarToSelectedTab()};this._keyManager=new e.FocusKeyManager(this._items).withHorizontalOrientation(this._getLayoutDirection()).withWrap(),this._keyManager.updateActiveItem(0),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(i):i(),l.merge(a,n,this._items.changes).pipe(d.takeUntil(this._destroyed)).subscribe((function(){Promise.resolve().then(i),t._keyManager.withHorizontalOrientation(t._getLayoutDirection())})),this._keyManager.change.pipe(d.takeUntil(this._destroyed)).subscribe((function(e){t.indexFocused.emit(e),t._setTabFocus(e)}))},t.prototype.ngAfterContentChecked=function(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.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())},t.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()},t.prototype._handleKeydown=function(t){if(!m.hasModifierKey(t))switch(t.keyCode){case m.HOME:this._keyManager.setFirstItemActive(),t.preventDefault();break;case m.END:this._keyManager.setLastItemActive(),t.preventDefault();break;case m.ENTER:case m.SPACE:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(t));break;default:this._keyManager.onKeydown(t)}},t.prototype._onContentChanges=function(){var t=this,e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run((function(){t.updatePagination(),t._alignInkBarToSelectedTab(),t._changeDetectorRef.markForCheck()})))},t.prototype.updatePagination=function(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()},Object.defineProperty(t.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:!1,configurable:!0}),t.prototype._isValidIndex=function(t){if(!this._items)return!0;var e=this._items?this._items.toArray()[t]:null;return!!e&&!e.disabled},t.prototype._setTabFocus=function(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._items&&this._items.length){this._items.toArray()[t].focus();var e=this._tabListContainer.nativeElement,a=this._getLayoutDirection();e.scrollLeft="ltr"==a?0:e.scrollWidth-e.offsetWidth}},t.prototype._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},t.prototype._updateTabScrollPosition=function(){if(!this.disablePagination){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(t.prototype,"scrollDistance",{get:function(){return this._scrollDistance},set:function(t){this._scrollTo(t)},enumerable:!1,configurable:!0}),t.prototype._scrollHeader=function(t){return this._scrollTo(this._scrollDistance+("before"==t?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)},t.prototype._handlePaginatorClick=function(t){this._stopInterval(),this._scrollHeader(t)},t.prototype._scrollToLabel=function(t){if(!this.disablePagination){var e=this._items?this._items.toArray()[t]:null;if(e){var a,n,i=this._tabListContainer.nativeElement.offsetWidth,o=e.elementRef.nativeElement,r=o.offsetLeft,s=o.offsetWidth;"ltr"==this._getLayoutDirection()?n=(a=r)+s:a=(n=this._tabList.nativeElement.offsetWidth-r)-s;var l=this.scrollDistance,c=this.scrollDistance+i;a<l?this.scrollDistance-=l-a+60:n>c&&(this.scrollDistance+=n-c+60)}}},t.prototype._checkPaginationEnabled=function(){if(this.disablePagination)this._showPaginationControls=!1;else{var t=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;t||(this.scrollDistance=0),t!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=t}},t.prototype._checkScrollingControls=function(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())},t.prototype._getMaxScrollDistance=function(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0},t.prototype._alignInkBarToSelectedTab=function(){var t=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,e=t?t.elementRef.nativeElement:null;e?this._inkBar.alignToElement(e):this._inkBar.hide()},t.prototype._stopInterval=function(){this._stopScrolling.next()},t.prototype._handlePaginatorPress=function(t,e){var a=this;e&&null!=e.button&&0!==e.button||(this._stopInterval(),l.timer(650,100).pipe(d.takeUntil(l.merge(this._stopScrolling,this._destroyed))).subscribe((function(){var e=a._scrollHeader(t),n=e.distance;(0===n||n>=e.maxScrollDistance)&&a._stopInterval()})))},t.prototype._scrollTo=function(t){if(this.disablePagination)return{maxScrollDistance:0,distance:0};var e=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(e,t)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:e,distance:this._scrollDistance}},t.decorators=[{type:o.Directive}],t.ctorParameters=function(){return[{type:o.ElementRef},{type:o.ChangeDetectorRef},{type:h.ViewportRuler},{type:c.Directionality,decorators:[{type:o.Optional}]},{type:o.NgZone},{type:u.Platform},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},t.propDecorators={disablePagination:[{type:o.Input}]},t}(),U=function(t){function e(e,a,n,i,o,r,s){var l=t.call(this,e,a,n,i,o,r,s)||this;return l._disableRipple=!1,l}return v(e,t),Object.defineProperty(e.prototype,"disableRipple",{get:function(){return this._disableRipple},set:function(t){this._disableRipple=b.coerceBooleanProperty(t)},enumerable:!1,configurable:!0}),e.prototype._itemSelected=function(t){t.preventDefault()},e.decorators=[{type:o.Directive}],e.ctorParameters=function(){return[{type:o.ElementRef},{type:o.ChangeDetectorRef},{type:h.ViewportRuler},{type:c.Directionality,decorators:[{type:o.Optional}]},{type:o.NgZone},{type:u.Platform},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},e.propDecorators={disableRipple:[{type:o.Input}]},e}(z),q=function(t){function e(e,a,n,i,o,r,s){return t.call(this,e,a,n,i,o,r,s)||this}return v(e,t),e.decorators=[{type:o.Component,args:[{selector:"mat-tab-header",template:'<div class="mat-tab-header-pagination mat-tab-header-pagination-before mat-elevation-z4"\n #previousPaginator\n aria-hidden="true"\n mat-ripple [matRippleDisabled]="_disableScrollBefore || disableRipple"\n [class.mat-tab-header-pagination-disabled]="_disableScrollBefore"\n (click)="_handlePaginatorClick(\'before\')"\n (mousedown)="_handlePaginatorPress(\'before\', $event)"\n (touchend)="_stopInterval()">\n <div class="mat-tab-header-pagination-chevron"></div>\n</div>\n\n<div class="mat-tab-label-container" #tabListContainer (keydown)="_handleKeydown($event)">\n <div\n #tabList\n class="mat-tab-list"\n [class._mat-animation-noopable]="_animationMode === \'NoopAnimations\'"\n role="tablist"\n (cdkObserveContent)="_onContentChanges()">\n <div class="mat-tab-labels">\n <ng-content></ng-content>\n </div>\n <mat-ink-bar></mat-ink-bar>\n </div>\n</div>\n\n<div class="mat-tab-header-pagination mat-tab-header-pagination-after mat-elevation-z4"\n #nextPaginator\n aria-hidden="true"\n mat-ripple [matRippleDisabled]="_disableScrollAfter || disableRipple"\n [class.mat-tab-header-pagination-disabled]="_disableScrollAfter"\n (mousedown)="_handlePaginatorPress(\'after\', $event)"\n (click)="_handlePaginatorClick(\'after\')"\n (touchend)="_stopInterval()">\n <div class="mat-tab-header-pagination-chevron"></div>\n</div>\n',inputs:["selectedIndex"],outputs:["selectFocusedIndex","indexFocused"],encapsulation:o.ViewEncapsulation.None,changeDetection:o.ChangeDetectionStrategy.Default,host:{class:"mat-tab-header","[class.mat-tab-header-pagination-controls-enabled]":"_showPaginationControls","[class.mat-tab-header-rtl]":"_getLayoutDirection() == 'rtl'"},styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.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-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .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-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.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:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-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}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n']}]}],e.ctorParameters=function(){return[{type:o.ElementRef},{type:o.ChangeDetectorRef},{type:h.ViewportRuler},{type:c.Directionality,decorators:[{type:o.Optional}]},{type:o.NgZone},{type:u.Platform},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},e.propDecorators={_items:[{type:o.ContentChildren,args:[F,{descendants:!1}]}],_inkBar:[{type:o.ViewChild,args:[y,{static:!0}]}],_tabListContainer:[{type:o.ViewChild,args:["tabListContainer",{static:!0}]}],_tabList:[{type:o.ViewChild,args:["tabList",{static:!0}]}],_nextPaginator:[{type:o.ViewChild,args:["nextPaginator"]}],_previousPaginator:[{type:o.ViewChild,args:["previousPaginator"]}]},e}(U),Y=function(t){function e(e,a,n,i,o,r,s){var l=t.call(this,e,i,o,a,n,r,s)||this;return l._disableRipple=!1,l.color="primary",l}return v(e,t),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this._backgroundColor},set:function(t){var e=this._elementRef.nativeElement.classList;e.remove("mat-background-"+this.backgroundColor),t&&e.add("mat-background-"+t),this._backgroundColor=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"disableRipple",{get:function(){return this._disableRipple},set:function(t){this._disableRipple=b.coerceBooleanProperty(t)},enumerable:!1,configurable:!0}),e.prototype._itemSelected=function(){},e.prototype.ngAfterContentInit=function(){var e=this;this._items.changes.pipe(d.startWith(null),d.takeUntil(this._destroyed)).subscribe((function(){e.updateActiveLink()})),t.prototype.ngAfterContentInit.call(this)},e.prototype.updateActiveLink=function(t){if(this._items){for(var e=this._items.toArray(),a=0;a<e.length;a++)if(e[a].active)return this.selectedIndex=a,void this._changeDetectorRef.markForCheck();this.selectedIndex=-1,this._inkBar.hide()}},e.decorators=[{type:o.Directive}],e.ctorParameters=function(){return[{type:o.ElementRef},{type:c.Directionality,decorators:[{type:o.Optional}]},{type:o.NgZone},{type:o.ChangeDetectorRef},{type:h.ViewportRuler},{type:u.Platform,decorators:[{type:o.Optional}]},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},e.propDecorators={backgroundColor:[{type:o.Input}],disableRipple:[{type:o.Input}],color:[{type:o.Input}]},e}(z),G=function(t){function e(e,a,n,i,o,r,s){return t.call(this,e,a,n,i,o,r,s)||this}return v(e,t),e.decorators=[{type:o.Component,args:[{selector:"[mat-tab-nav-bar]",exportAs:"matTabNavBar, matTabNav",inputs:["color"],template:'<div class="mat-tab-header-pagination mat-tab-header-pagination-before mat-elevation-z4"\n #previousPaginator\n aria-hidden="true"\n mat-ripple [matRippleDisabled]="_disableScrollBefore || disableRipple"\n [class.mat-tab-header-pagination-disabled]="_disableScrollBefore"\n (click)="_handlePaginatorClick(\'before\')"\n (mousedown)="_handlePaginatorPress(\'before\', $event)"\n (touchend)="_stopInterval()">\n <div class="mat-tab-header-pagination-chevron"></div>\n</div>\n\n<div class="mat-tab-link-container" #tabListContainer (keydown)="_handleKeydown($event)">\n <div\n class="mat-tab-list"\n [class._mat-animation-noopable]="_animationMode === \'NoopAnimations\'"\n #tabList\n (cdkObserveContent)="_onContentChanges()">\n <div class="mat-tab-links">\n <ng-content></ng-content>\n </div>\n <mat-ink-bar></mat-ink-bar>\n </div>\n</div>\n\n<div class="mat-tab-header-pagination mat-tab-header-pagination-after mat-elevation-z4"\n #nextPaginator\n aria-hidden="true"\n mat-ripple [matRippleDisabled]="_disableScrollAfter || disableRipple"\n [class.mat-tab-header-pagination-disabled]="_disableScrollAfter"\n (mousedown)="_handlePaginatorPress(\'after\', $event)"\n (click)="_handlePaginatorClick(\'after\')"\n (touchend)="_stopInterval()">\n <div class="mat-tab-header-pagination-chevron"></div>\n</div>\n',host:{class:"mat-tab-nav-bar mat-tab-header","[class.mat-tab-header-pagination-controls-enabled]":"_showPaginationControls","[class.mat-tab-header-rtl]":"_getLayoutDirection() == 'rtl'","[class.mat-primary]":'color !== "warn" && color !== "accent"',"[class.mat-accent]":'color === "accent"',"[class.mat-warn]":'color === "warn"'},encapsulation:o.ViewEncapsulation.None,changeDetection:o.ChangeDetectionStrategy.Default,styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.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-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .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-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-links{display:flex}[mat-align-tabs=center]>.mat-tab-link-container .mat-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-tab-link-container .mat-tab-links{justify-content:flex-end}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.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:none}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-link:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-link.mat-tab-disabled{cursor:default}.cdk-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}.cdk-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}}\n']}]}],e.ctorParameters=function(){return[{type:o.ElementRef},{type:c.Directionality,decorators:[{type:o.Optional}]},{type:o.NgZone},{type:o.ChangeDetectorRef},{type:h.ViewportRuler},{type:u.Platform,decorators:[{type:o.Optional}]},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},e.propDecorators={_items:[{type:o.ContentChildren,args:[o.forwardRef((function(){return K})),{descendants:!0}]}],_inkBar:[{type:o.ViewChild,args:[y,{static:!0}]}],_tabListContainer:[{type:o.ViewChild,args:["tabListContainer",{static:!0}]}],_tabList:[{type:o.ViewChild,args:["tabList",{static:!0}]}],_nextPaginator:[{type:o.ViewChild,args:["nextPaginator"]}],_previousPaginator:[{type:o.ViewChild,args:["previousPaginator"]}]},e}(Y),$=function(t){function a(e,a,n,i,o,r){var s=t.call(this)||this;return s._tabNavBar=e,s.elementRef=a,s._focusMonitor=o,s._isActive=!1,s.rippleConfig=n||{},s.tabIndex=parseInt(i)||0,"NoopAnimations"===r&&(s.rippleConfig.animation={enterDuration:0,exitDuration:0}),s}return v(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:!1,configurable:!0}),Object.defineProperty(a.prototype,"rippleDisabled",{get:function(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled},enumerable:!1,configurable:!0}),a.prototype.focus=function(){this.elementRef.nativeElement.focus()},a.prototype.ngAfterViewInit=function(){this._focusMonitor.monitor(this.elementRef)},a.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this.elementRef)},a.decorators=[{type:o.Directive}],a.ctorParameters=function(){return[{type:Y},{type:o.ElementRef},{type:void 0,decorators:[{type:o.Optional},{type:o.Inject,args:[r.MAT_RIPPLE_GLOBAL_OPTIONS]}]},{type:String,decorators:[{type:o.Attribute,args:["tabindex"]}]},{type:e.FocusMonitor},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},a.propDecorators={active:[{type:o.Input}]},a}(r.mixinTabIndex(r.mixinDisableRipple(r.mixinDisabled((function Z(){}))))),K=function(t){function a(e,a,n,i,o,s,l,c){var p=t.call(this,e,a,o,s,l,c)||this;return p._tabLinkRipple=new r.RippleRenderer(p,n,a,i),p._tabLinkRipple.setupTriggerEvents(a.nativeElement),p}return v(a,t),a.prototype.ngOnDestroy=function(){t.prototype.ngOnDestroy.call(this),this._tabLinkRipple._removeTriggerEvents()},a.decorators=[{type:o.Directive,args:[{selector:"[mat-tab-link], [matTabLink]",exportAs:"matTabLink",inputs:["disabled","disableRipple","tabIndex"],host:{class:"mat-tab-link mat-focus-indicator","[attr.aria-current]":'active ? "page" : null',"[attr.aria-disabled]":"disabled","[attr.tabIndex]":"tabIndex","[class.mat-tab-disabled]":"disabled","[class.mat-tab-label-active]":"active"}}]}],a.ctorParameters=function(){return[{type:G},{type:o.ElementRef},{type:o.NgZone},{type:u.Platform},{type:void 0,decorators:[{type:o.Optional},{type:o.Inject,args:[r.MAT_RIPPLE_GLOBAL_OPTIONS]}]},{type:String,decorators:[{type:o.Attribute,args:["tabindex"]}]},{type:e.FocusMonitor},{type:String,decorators:[{type:o.Optional},{type:o.Inject,args:[s.ANIMATION_MODULE_TYPE]}]}]},a}($),Q=function(){function t(){}return t.decorators=[{type:o.NgModule,args:[{imports:[i.CommonModule,r.MatCommonModule,n.PortalModule,r.MatRippleModule,a.ObserversModule,e.A11yModule],exports:[r.MatCommonModule,H,P,E,G,K,k],declarations:[H,P,E,y,F,G,K,S,R,q,k]}]}],t}();
|
|
31
31
|
/**
|
|
32
32
|
* @license
|
|
33
33
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -42,11 +42,4 @@ var C=function(){function t(t){this.template=t}return t.decorators=[{type:o.Dire
|
|
|
42
42
|
* Use of this source code is governed by an MIT-style license that can be
|
|
43
43
|
* found in the LICENSE file at https://angular.io/license
|
|
44
44
|
*/
|
|
45
|
-
|
|
46
|
-
* @license
|
|
47
|
-
* Copyright Google LLC All Rights Reserved.
|
|
48
|
-
*
|
|
49
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
50
|
-
* found in the LICENSE file at https://angular.io/license
|
|
51
|
-
*/
|
|
52
|
-
t.MAT_TABS_CONFIG=L,t.MAT_TAB_GROUP=T,t.MatInkBar=y,t.MatTab=D,t.MatTabBody=R,t.MatTabBodyPortal=E,t.MatTabChangeEvent=M,t.MatTabContent=C,t.MatTabGroup=B,t.MatTabHeader=z,t.MatTabLabel=k,t.MatTabLabelWrapper=N,t.MatTabLink=$,t.MatTabNav=q,t.MatTabsModule=Z,t._MAT_INK_BAR_POSITIONER=g,t._MatTabBodyBase=O,t._MatTabGroupBase=A,t._MatTabHeaderBase=V,t._MatTabLinkBase=Y,t._MatTabNavBase=U,t.matTabsAnimations=w,t.ɵangular_material_src_material_tabs_tabs_a=f,t.ɵangular_material_src_material_tabs_tabs_b=W,Object.defineProperty(t,"__esModule",{value:!0})}));
|
|
45
|
+
t.MAT_TABS_CONFIG=M,t.MAT_TAB_GROUP=w,t.MatInkBar=y,t.MatTab=E,t.MatTabBody=S,t.MatTabBodyPortal=R,t.MatTabChangeEvent=j,t.MatTabContent=k,t.MatTabGroup=H,t.MatTabHeader=q,t.MatTabLabel=P,t.MatTabLabelWrapper=F,t.MatTabLink=K,t.MatTabNav=G,t.MatTabsModule=Q,t._MAT_INK_BAR_POSITIONER=g,t._MatTabBodyBase=L,t._MatTabGroupBase=B,t._MatTabHeaderBase=U,t._MatTabLinkBase=$,t._MatTabNavBase=Y,t.matTabsAnimations=O,t.ɵangular_material_src_material_tabs_tabs_a=f,t.ɵangular_material_src_material_tabs_tabs_b=I,t.ɵangular_material_src_material_tabs_tabs_c=C,t.ɵangular_material_src_material_tabs_tabs_d=z,Object.defineProperty(t,"__esModule",{value:!0})}));
|