@angular/material 7.0.4 → 7.2.1
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/LICENSE +1 -1
- package/_theming.scss +61 -44
- package/autocomplete/typings/index.d.ts +1 -1
- package/autocomplete/typings/index.metadata.json +1 -1
- package/badge/typings/index.metadata.json +1 -1
- package/bottom-sheet/typings/bottom-sheet-config.d.ts +5 -0
- package/bottom-sheet/typings/bottom-sheet-container.d.ts +1 -1
- package/bottom-sheet/typings/index.metadata.json +1 -1
- package/bundles/material-autocomplete.umd.js +126 -32
- package/bundles/material-autocomplete.umd.js.map +1 -1
- package/bundles/material-autocomplete.umd.min.js +1 -1
- package/bundles/material-autocomplete.umd.min.js.map +1 -1
- package/bundles/material-badge.umd.js +38 -5
- package/bundles/material-badge.umd.js.map +1 -1
- package/bundles/material-badge.umd.min.js +1 -1
- package/bundles/material-badge.umd.min.js.map +1 -1
- package/bundles/material-bottom-sheet.umd.js +68 -21
- package/bundles/material-bottom-sheet.umd.js.map +1 -1
- package/bundles/material-bottom-sheet.umd.min.js +1 -1
- package/bundles/material-bottom-sheet.umd.min.js.map +1 -1
- package/bundles/material-button-toggle.umd.js +36 -13
- package/bundles/material-button-toggle.umd.js.map +1 -1
- package/bundles/material-button-toggle.umd.min.js +1 -1
- package/bundles/material-button-toggle.umd.min.js.map +1 -1
- package/bundles/material-button.umd.js +21 -14
- package/bundles/material-button.umd.js.map +1 -1
- package/bundles/material-button.umd.min.js +1 -1
- package/bundles/material-button.umd.min.js.map +1 -1
- package/bundles/material-card.umd.js +3 -3
- package/bundles/material-card.umd.js.map +1 -1
- package/bundles/material-card.umd.min.js +1 -1
- package/bundles/material-card.umd.min.js.map +1 -1
- package/bundles/material-checkbox.umd.js +56 -15
- package/bundles/material-checkbox.umd.js.map +1 -1
- package/bundles/material-checkbox.umd.min.js +1 -1
- package/bundles/material-checkbox.umd.min.js.map +1 -1
- package/bundles/material-chips.umd.js +124 -34
- package/bundles/material-chips.umd.js.map +1 -1
- package/bundles/material-chips.umd.min.js +1 -1
- package/bundles/material-chips.umd.min.js.map +1 -1
- package/bundles/material-core.umd.js +189 -126
- package/bundles/material-core.umd.js.map +1 -1
- package/bundles/material-core.umd.min.js +1 -1
- package/bundles/material-core.umd.min.js.map +1 -1
- package/bundles/material-datepicker.umd.js +231 -53
- package/bundles/material-datepicker.umd.js.map +1 -1
- package/bundles/material-datepicker.umd.min.js +2 -2
- package/bundles/material-datepicker.umd.min.js.map +1 -1
- package/bundles/material-dialog.umd.js +138 -40
- package/bundles/material-dialog.umd.js.map +1 -1
- package/bundles/material-dialog.umd.min.js +1 -1
- package/bundles/material-dialog.umd.min.js.map +1 -1
- package/bundles/material-divider.umd.js +2 -2
- package/bundles/material-divider.umd.js.map +1 -1
- package/bundles/material-divider.umd.min.js.map +1 -1
- package/bundles/material-expansion.umd.js +53 -27
- package/bundles/material-expansion.umd.js.map +1 -1
- package/bundles/material-expansion.umd.min.js +1 -1
- package/bundles/material-expansion.umd.min.js.map +1 -1
- package/bundles/material-form-field.umd.js +121 -32
- package/bundles/material-form-field.umd.js.map +1 -1
- package/bundles/material-form-field.umd.min.js +1 -1
- package/bundles/material-form-field.umd.min.js.map +1 -1
- package/bundles/material-grid-list.umd.js +66 -15
- package/bundles/material-grid-list.umd.js.map +1 -1
- package/bundles/material-grid-list.umd.min.js +1 -1
- package/bundles/material-grid-list.umd.min.js.map +1 -1
- package/bundles/material-icon.umd.js +277 -78
- package/bundles/material-icon.umd.js.map +1 -1
- package/bundles/material-icon.umd.min.js +1 -1
- package/bundles/material-icon.umd.min.js.map +1 -1
- package/bundles/material-input.umd.js +50 -22
- package/bundles/material-input.umd.js.map +1 -1
- package/bundles/material-input.umd.min.js +1 -1
- package/bundles/material-input.umd.min.js.map +1 -1
- package/bundles/material-list.umd.js +69 -21
- package/bundles/material-list.umd.js.map +1 -1
- package/bundles/material-list.umd.min.js +2 -6
- package/bundles/material-list.umd.min.js.map +1 -1
- package/bundles/material-menu.umd.js +171 -66
- package/bundles/material-menu.umd.js.map +1 -1
- package/bundles/material-menu.umd.min.js +1 -1
- package/bundles/material-menu.umd.min.js.map +1 -1
- package/bundles/material-paginator.umd.js +52 -10
- package/bundles/material-paginator.umd.js.map +1 -1
- package/bundles/material-paginator.umd.min.js +1 -1
- package/bundles/material-paginator.umd.min.js.map +1 -1
- package/bundles/material-progress-bar.umd.js +31 -12
- package/bundles/material-progress-bar.umd.js.map +1 -1
- package/bundles/material-progress-bar.umd.min.js +1 -1
- package/bundles/material-progress-bar.umd.min.js.map +1 -1
- package/bundles/material-progress-spinner.umd.js +29 -13
- package/bundles/material-progress-spinner.umd.js.map +1 -1
- package/bundles/material-progress-spinner.umd.min.js.map +1 -1
- package/bundles/material-radio.umd.js +38 -40
- package/bundles/material-radio.umd.js.map +1 -1
- package/bundles/material-radio.umd.min.js +1 -1
- package/bundles/material-radio.umd.min.js.map +1 -1
- package/bundles/material-select.umd.js +189 -51
- package/bundles/material-select.umd.js.map +1 -1
- package/bundles/material-select.umd.min.js +1 -1
- package/bundles/material-select.umd.min.js.map +1 -1
- package/bundles/material-sidenav.umd.js +104 -25
- package/bundles/material-sidenav.umd.js.map +1 -1
- package/bundles/material-sidenav.umd.min.js +1 -1
- package/bundles/material-sidenav.umd.min.js.map +1 -1
- package/bundles/material-slide-toggle.umd.js +30 -14
- package/bundles/material-slide-toggle.umd.js.map +1 -1
- package/bundles/material-slide-toggle.umd.min.js +1 -1
- package/bundles/material-slide-toggle.umd.min.js.map +1 -1
- package/bundles/material-slider.umd.js +91 -21
- package/bundles/material-slider.umd.js.map +1 -1
- package/bundles/material-slider.umd.min.js +1 -1
- package/bundles/material-slider.umd.min.js.map +1 -1
- package/bundles/material-snack-bar.umd.js +71 -19
- package/bundles/material-snack-bar.umd.js.map +1 -1
- package/bundles/material-snack-bar.umd.min.js +1 -1
- package/bundles/material-snack-bar.umd.min.js.map +1 -1
- package/bundles/material-sort.umd.js +46 -24
- package/bundles/material-sort.umd.js.map +1 -1
- package/bundles/material-sort.umd.min.js +1 -1
- package/bundles/material-sort.umd.min.js.map +1 -1
- package/bundles/material-stepper.umd.js +37 -35
- package/bundles/material-stepper.umd.js.map +1 -1
- package/bundles/material-stepper.umd.min.js +1 -1
- package/bundles/material-stepper.umd.min.js.map +1 -1
- package/bundles/material-table.umd.js +29 -9
- package/bundles/material-table.umd.js.map +1 -1
- package/bundles/material-table.umd.min.js.map +1 -1
- package/bundles/material-tabs.umd.js +170 -68
- package/bundles/material-tabs.umd.js.map +1 -1
- package/bundles/material-tabs.umd.min.js +2 -2
- package/bundles/material-tabs.umd.min.js.map +1 -1
- package/bundles/material-toolbar.umd.js +14 -4
- package/bundles/material-toolbar.umd.js.map +1 -1
- package/bundles/material-toolbar.umd.min.js +1 -1
- package/bundles/material-toolbar.umd.min.js.map +1 -1
- package/bundles/material-tooltip.umd.js +53 -26
- package/bundles/material-tooltip.umd.js.map +1 -1
- package/bundles/material-tooltip.umd.min.js +1 -1
- package/bundles/material-tooltip.umd.min.js.map +1 -1
- package/bundles/material-tree.umd.js +25 -16
- package/bundles/material-tree.umd.js.map +1 -1
- package/bundles/material-tree.umd.min.js +1 -1
- package/bundles/material-tree.umd.min.js.map +1 -1
- package/bundles/material.umd.js +2853 -1010
- package/bundles/material.umd.js.map +1 -1
- package/bundles/material.umd.min.js +19 -21
- package/bundles/material.umd.min.js.map +1 -1
- package/button/typings/button.d.ts +0 -5
- package/button/typings/index.metadata.json +1 -1
- package/button-toggle/typings/index.metadata.json +1 -1
- package/card/typings/index.metadata.json +1 -1
- package/checkbox/typings/index.metadata.json +1 -1
- package/chips/typings/chip-list.d.ts +1 -1
- package/chips/typings/chip.d.ts +2 -2
- package/chips/typings/index.metadata.json +1 -1
- package/core/typings/index.metadata.json +1 -1
- package/core/typings/{testing/month-constants.d.ts → month-constants.d.ts} +2 -0
- package/core/typings/public-api.d.ts +1 -1
- package/datepicker/typings/calendar-body.d.ts +21 -5
- package/datepicker/typings/calendar.d.ts +4 -1
- package/datepicker/typings/datepicker.d.ts +3 -0
- package/datepicker/typings/index.metadata.json +1 -1
- package/datepicker/typings/month-view.d.ts +4 -2
- package/dialog/typings/index.metadata.json +1 -1
- package/esm2015/autocomplete.js +60 -29
- package/esm2015/autocomplete.js.map +1 -1
- package/esm2015/badge.js +29 -6
- package/esm2015/badge.js.map +1 -1
- package/esm2015/bottom-sheet.js +45 -22
- package/esm2015/bottom-sheet.js.map +1 -1
- package/esm2015/button-toggle.js +20 -11
- package/esm2015/button-toggle.js.map +1 -1
- package/esm2015/button.js +20 -15
- package/esm2015/button.js.map +1 -1
- package/esm2015/card.js +5 -5
- package/esm2015/card.js.map +1 -1
- package/esm2015/checkbox.js +30 -12
- package/esm2015/checkbox.js.map +1 -1
- package/esm2015/chips.js +64 -28
- package/esm2015/chips.js.map +1 -1
- package/esm2015/core.js +148 -129
- package/esm2015/core.js.map +1 -1
- package/esm2015/datepicker.js +124 -41
- package/esm2015/datepicker.js.map +1 -1
- package/esm2015/dialog.js +77 -40
- package/esm2015/dialog.js.map +1 -1
- package/esm2015/divider.js +4 -4
- package/esm2015/divider.js.map +1 -1
- package/esm2015/expansion.js +58 -31
- package/esm2015/expansion.js.map +1 -1
- package/esm2015/form-field.js +94 -34
- package/esm2015/form-field.js.map +1 -1
- package/esm2015/grid-list.js +45 -17
- package/esm2015/grid-list.js.map +1 -1
- package/esm2015/icon.js +136 -67
- package/esm2015/icon.js.map +1 -1
- package/esm2015/input.js +44 -23
- package/esm2015/input.js.map +1 -1
- package/esm2015/list.js +47 -22
- package/esm2015/list.js.map +1 -1
- package/esm2015/material.js +13 -12
- package/esm2015/material.js.map +1 -1
- package/esm2015/menu.js +109 -63
- package/esm2015/menu.js.map +1 -1
- package/esm2015/paginator.js +35 -12
- package/esm2015/paginator.js.map +1 -1
- package/esm2015/progress-bar.js +26 -13
- package/esm2015/progress-bar.js.map +1 -1
- package/esm2015/progress-spinner.js +24 -14
- package/esm2015/progress-spinner.js.map +1 -1
- package/esm2015/radio.js +22 -21
- package/esm2015/radio.js.map +1 -1
- package/esm2015/select.js +116 -53
- package/esm2015/select.js.map +1 -1
- package/esm2015/sidenav.js +75 -28
- package/esm2015/sidenav.js.map +1 -1
- package/esm2015/slide-toggle.js +23 -15
- package/esm2015/slide-toggle.js.map +1 -1
- package/esm2015/slider.js +54 -24
- package/esm2015/slider.js.map +1 -1
- package/esm2015/snack-bar.js +41 -21
- package/esm2015/snack-bar.js.map +1 -1
- package/esm2015/sort.js +47 -24
- package/esm2015/sort.js.map +1 -1
- package/esm2015/stepper.js +35 -32
- package/esm2015/stepper.js.map +1 -1
- package/esm2015/table.js +31 -11
- package/esm2015/table.js.map +1 -1
- package/esm2015/tabs.js +113 -53
- package/esm2015/tabs.js.map +1 -1
- package/esm2015/toolbar.js +9 -5
- package/esm2015/toolbar.js.map +1 -1
- package/esm2015/tooltip.js +43 -28
- package/esm2015/tooltip.js.map +1 -1
- package/esm2015/tree.js +22 -17
- package/esm2015/tree.js.map +1 -1
- package/esm5/autocomplete.es5.js +128 -34
- package/esm5/autocomplete.es5.js.map +1 -1
- package/esm5/badge.es5.js +40 -7
- package/esm5/badge.es5.js.map +1 -1
- package/esm5/bottom-sheet.es5.js +70 -23
- package/esm5/bottom-sheet.es5.js.map +1 -1
- package/esm5/button-toggle.es5.js +38 -15
- package/esm5/button-toggle.es5.js.map +1 -1
- package/esm5/button.es5.js +23 -16
- package/esm5/button.es5.js.map +1 -1
- package/esm5/card.es5.js +5 -5
- package/esm5/card.es5.js.map +1 -1
- package/esm5/checkbox.es5.js +58 -17
- package/esm5/checkbox.es5.js.map +1 -1
- package/esm5/chips.es5.js +127 -37
- package/esm5/chips.es5.js.map +1 -1
- package/esm5/core.es5.js +192 -129
- package/esm5/core.es5.js.map +1 -1
- package/esm5/datepicker.es5.js +233 -55
- package/esm5/datepicker.es5.js.map +1 -1
- package/esm5/dialog.es5.js +140 -42
- package/esm5/dialog.es5.js.map +1 -1
- package/esm5/divider.es5.js +4 -4
- package/esm5/divider.es5.js.map +1 -1
- package/esm5/expansion.es5.js +56 -31
- package/esm5/expansion.es5.js.map +1 -1
- package/esm5/form-field.es5.js +125 -36
- package/esm5/form-field.es5.js.map +1 -1
- package/esm5/grid-list.es5.js +68 -17
- package/esm5/grid-list.es5.js.map +1 -1
- package/esm5/icon.es5.js +279 -80
- package/esm5/icon.es5.js.map +1 -1
- package/esm5/input.es5.js +52 -24
- package/esm5/input.es5.js.map +1 -1
- package/esm5/list.es5.js +72 -24
- package/esm5/list.es5.js.map +1 -1
- package/esm5/material.es5.js +13 -12
- package/esm5/material.es5.js.map +1 -1
- package/esm5/menu.es5.js +170 -65
- package/esm5/menu.es5.js.map +1 -1
- package/esm5/paginator.es5.js +55 -13
- package/esm5/paginator.es5.js.map +1 -1
- package/esm5/progress-bar.es5.js +33 -14
- package/esm5/progress-bar.es5.js.map +1 -1
- package/esm5/progress-spinner.es5.js +31 -15
- package/esm5/progress-spinner.es5.js.map +1 -1
- package/esm5/radio.es5.js +42 -42
- package/esm5/radio.es5.js.map +1 -1
- package/esm5/select.es5.js +193 -55
- package/esm5/select.es5.js.map +1 -1
- package/esm5/sidenav.es5.js +107 -28
- package/esm5/sidenav.es5.js.map +1 -1
- package/esm5/slide-toggle.es5.js +32 -16
- package/esm5/slide-toggle.es5.js.map +1 -1
- package/esm5/slider.es5.js +94 -24
- package/esm5/slider.es5.js.map +1 -1
- package/esm5/snack-bar.es5.js +73 -21
- package/esm5/snack-bar.es5.js.map +1 -1
- package/esm5/sort.es5.js +53 -26
- package/esm5/sort.es5.js.map +1 -1
- package/esm5/stepper.es5.js +40 -38
- package/esm5/stepper.es5.js.map +1 -1
- package/esm5/table.es5.js +31 -11
- package/esm5/table.es5.js.map +1 -1
- package/esm5/tabs.es5.js +162 -61
- package/esm5/tabs.es5.js.map +1 -1
- package/esm5/toolbar.es5.js +16 -6
- package/esm5/toolbar.es5.js.map +1 -1
- package/esm5/tooltip.es5.js +55 -28
- package/esm5/tooltip.es5.js.map +1 -1
- package/esm5/tree.es5.js +27 -18
- package/esm5/tree.es5.js.map +1 -1
- package/expansion/typings/expansion-panel-header.d.ts +2 -2
- package/expansion/typings/expansion-panel.d.ts +19 -2
- package/expansion/typings/index.metadata.json +1 -1
- package/form-field/typings/form-field.d.ts +15 -4
- package/form-field/typings/index.metadata.json +1 -1
- package/grid-list/typings/index.d.ts +1 -1
- package/grid-list/typings/index.metadata.json +1 -1
- package/icon/typings/index.metadata.json +1 -1
- package/list/typings/index.metadata.json +1 -1
- package/material.d.ts +1 -1
- package/material.metadata.json +3 -3
- package/menu/typings/index.d.ts +4 -4
- package/menu/typings/index.metadata.json +1 -1
- package/menu/typings/menu-directive.d.ts +1 -0
- package/menu/typings/menu-item.d.ts +2 -0
- package/package.json +5 -5
- package/paginator/typings/index.metadata.json +1 -1
- package/paginator/typings/paginator.d.ts +7 -3
- 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-bar/typings/index.metadata.json +1 -1
- package/radio/typings/index.metadata.json +1 -1
- package/radio/typings/radio.d.ts +2 -6
- package/schematics/ng-add/theming/{custom-theme.d.ts → create-custom-theme.d.ts} +0 -0
- package/schematics/ng-add/theming/{custom-theme.js → create-custom-theme.js} +1 -1
- package/schematics/ng-add/theming/create-custom-theme.js.map +1 -0
- package/schematics/ng-add/theming/theming.js +35 -19
- package/schematics/ng-add/theming/theming.js.map +1 -1
- package/schematics/ng-generate/address-form/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +2 -2
- package/schematics/ng-generate/dashboard/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +2 -2
- package/schematics/ng-generate/nav/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +2 -2
- package/schematics/ng-generate/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +2 -2
- package/schematics/ng-generate/tree/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +2 -2
- package/select/typings/index.metadata.json +1 -1
- package/select/typings/select.d.ts +12 -2
- package/sidenav/typings/drawer.d.ts +9 -2
- package/sidenav/typings/index.metadata.json +1 -1
- package/slide-toggle/typings/index.metadata.json +1 -1
- package/slider/typings/index.metadata.json +1 -1
- package/snack-bar/typings/index.metadata.json +1 -1
- package/sort/typings/index.metadata.json +1 -1
- package/stepper/typings/index.metadata.json +1 -1
- package/stepper/typings/step-header.d.ts +3 -5
- package/tabs/typings/index.d.ts +5 -5
- package/tabs/typings/index.metadata.json +1 -1
- package/tabs/typings/tab-body.d.ts +2 -0
- package/tabs/typings/tab-group.d.ts +11 -2
- package/tabs/typings/tab-header.d.ts +9 -3
- package/toolbar/typings/index.metadata.json +1 -1
- package/tooltip/typings/index.metadata.json +1 -1
- package/tree/typings/data-source/flat-data-source.d.ts +2 -2
- package/tree/typings/index.metadata.json +1 -1
- package/typings/autocomplete/index.d.ts +1 -1
- package/typings/autocomplete/index.metadata.json +1 -1
- package/typings/badge/index.metadata.json +1 -1
- package/typings/bottom-sheet/bottom-sheet-config.d.ts +5 -0
- package/typings/bottom-sheet/bottom-sheet-container.d.ts +1 -1
- package/typings/bottom-sheet/index.metadata.json +1 -1
- package/typings/button/button.d.ts +0 -5
- package/typings/button/index.metadata.json +1 -1
- package/typings/button-toggle/index.metadata.json +1 -1
- package/typings/card/index.metadata.json +1 -1
- package/typings/checkbox/index.metadata.json +1 -1
- package/typings/chips/chip-list.d.ts +1 -1
- package/typings/chips/chip.d.ts +2 -2
- package/typings/chips/index.metadata.json +1 -1
- package/typings/core/index.metadata.json +1 -1
- package/typings/core/{testing/month-constants.d.ts → month-constants.d.ts} +2 -0
- package/typings/core/public-api.d.ts +1 -1
- package/typings/datepicker/calendar-body.d.ts +21 -5
- package/typings/datepicker/calendar.d.ts +4 -1
- package/typings/datepicker/datepicker.d.ts +3 -0
- package/typings/datepicker/index.metadata.json +1 -1
- package/typings/datepicker/month-view.d.ts +4 -2
- package/typings/dialog/index.metadata.json +1 -1
- package/typings/esm5/autocomplete/index.d.ts +1 -1
- package/typings/esm5/autocomplete/index.metadata.json +1 -1
- package/typings/esm5/badge/index.metadata.json +1 -1
- package/typings/esm5/bottom-sheet/bottom-sheet-config.d.ts +5 -0
- package/typings/esm5/bottom-sheet/bottom-sheet-container.d.ts +1 -1
- package/typings/esm5/bottom-sheet/index.metadata.json +1 -1
- package/typings/esm5/button/button.d.ts +0 -5
- package/typings/esm5/button/index.metadata.json +1 -1
- package/typings/esm5/button-toggle/index.metadata.json +1 -1
- package/typings/esm5/card/index.metadata.json +1 -1
- package/typings/esm5/checkbox/index.metadata.json +1 -1
- package/typings/esm5/chips/chip-list.d.ts +1 -1
- package/typings/esm5/chips/chip.d.ts +2 -2
- package/typings/esm5/chips/index.metadata.json +1 -1
- package/typings/esm5/core/index.metadata.json +1 -1
- package/typings/esm5/core/{testing/month-constants.d.ts → month-constants.d.ts} +2 -0
- package/typings/esm5/core/public-api.d.ts +1 -1
- package/typings/esm5/datepicker/calendar-body.d.ts +21 -5
- package/typings/esm5/datepicker/calendar.d.ts +4 -1
- package/typings/esm5/datepicker/datepicker.d.ts +3 -0
- package/typings/esm5/datepicker/index.metadata.json +1 -1
- package/typings/esm5/datepicker/month-view.d.ts +4 -2
- package/typings/esm5/dialog/index.metadata.json +1 -1
- package/typings/esm5/expansion/expansion-panel-header.d.ts +2 -2
- package/typings/esm5/expansion/expansion-panel.d.ts +19 -2
- package/typings/esm5/expansion/index.metadata.json +1 -1
- package/typings/esm5/form-field/form-field.d.ts +15 -4
- package/typings/esm5/form-field/index.metadata.json +1 -1
- package/typings/esm5/grid-list/index.d.ts +1 -1
- package/typings/esm5/grid-list/index.metadata.json +1 -1
- package/typings/esm5/icon/index.metadata.json +1 -1
- package/typings/esm5/index.metadata.json +1 -1
- package/typings/esm5/list/index.metadata.json +1 -1
- package/typings/esm5/menu/index.d.ts +4 -4
- package/typings/esm5/menu/index.metadata.json +1 -1
- package/typings/esm5/menu/menu-directive.d.ts +1 -0
- package/typings/esm5/menu/menu-item.d.ts +2 -0
- package/typings/esm5/paginator/index.metadata.json +1 -1
- package/typings/esm5/paginator/paginator.d.ts +7 -3
- package/typings/esm5/progress-bar/index.metadata.json +1 -1
- package/typings/esm5/radio/index.metadata.json +1 -1
- package/typings/esm5/radio/radio.d.ts +2 -6
- package/typings/esm5/select/index.metadata.json +1 -1
- package/typings/esm5/select/select.d.ts +12 -2
- package/typings/esm5/sidenav/drawer.d.ts +9 -2
- package/typings/esm5/sidenav/index.metadata.json +1 -1
- package/typings/esm5/slide-toggle/index.metadata.json +1 -1
- package/typings/esm5/slider/index.metadata.json +1 -1
- package/typings/esm5/snack-bar/index.metadata.json +1 -1
- package/typings/esm5/sort/index.metadata.json +1 -1
- package/typings/esm5/stepper/index.metadata.json +1 -1
- package/typings/esm5/stepper/step-header.d.ts +3 -5
- package/typings/esm5/tabs/index.d.ts +5 -5
- package/typings/esm5/tabs/index.metadata.json +1 -1
- package/typings/esm5/tabs/tab-body.d.ts +2 -0
- package/typings/esm5/tabs/tab-group.d.ts +11 -2
- package/typings/esm5/tabs/tab-header.d.ts +9 -3
- package/typings/esm5/toolbar/index.metadata.json +1 -1
- package/typings/esm5/tooltip/index.metadata.json +1 -1
- package/typings/esm5/tree/data-source/flat-data-source.d.ts +2 -2
- package/typings/esm5/tree/index.metadata.json +1 -1
- package/typings/expansion/expansion-panel-header.d.ts +2 -2
- package/typings/expansion/expansion-panel.d.ts +19 -2
- package/typings/expansion/index.metadata.json +1 -1
- package/typings/form-field/form-field.d.ts +15 -4
- package/typings/form-field/index.metadata.json +1 -1
- package/typings/grid-list/index.d.ts +1 -1
- package/typings/grid-list/index.metadata.json +1 -1
- package/typings/icon/index.metadata.json +1 -1
- package/typings/index.metadata.json +1 -1
- package/typings/list/index.metadata.json +1 -1
- package/typings/menu/index.d.ts +4 -4
- package/typings/menu/index.metadata.json +1 -1
- package/typings/menu/menu-directive.d.ts +1 -0
- package/typings/menu/menu-item.d.ts +2 -0
- package/typings/paginator/index.metadata.json +1 -1
- package/typings/paginator/paginator.d.ts +7 -3
- package/typings/progress-bar/index.metadata.json +1 -1
- package/typings/radio/index.metadata.json +1 -1
- package/typings/radio/radio.d.ts +2 -6
- package/typings/schematics/ng-add/theming/{custom-theme.d.ts → create-custom-theme.d.ts} +0 -0
- package/typings/select/index.metadata.json +1 -1
- package/typings/select/select.d.ts +12 -2
- package/typings/sidenav/drawer.d.ts +9 -2
- package/typings/sidenav/index.metadata.json +1 -1
- package/typings/slide-toggle/index.metadata.json +1 -1
- package/typings/slider/index.metadata.json +1 -1
- package/typings/snack-bar/index.metadata.json +1 -1
- package/typings/sort/index.metadata.json +1 -1
- package/typings/stepper/index.metadata.json +1 -1
- package/typings/stepper/step-header.d.ts +3 -5
- package/typings/tabs/index.d.ts +5 -5
- package/typings/tabs/index.metadata.json +1 -1
- package/typings/tabs/tab-body.d.ts +2 -0
- package/typings/tabs/tab-group.d.ts +11 -2
- package/typings/tabs/tab-header.d.ts +9 -3
- package/typings/toolbar/index.metadata.json +1 -1
- package/typings/tooltip/index.metadata.json +1 -1
- package/typings/tree/data-source/flat-data-source.d.ts +2 -2
- package/typings/tree/index.metadata.json +1 -1
- package/schematics/ng-add/theming/custom-theme.js.map +0 -1
|
@@ -53,7 +53,7 @@ var __assign = function() {
|
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
55
|
* @fileoverview added by tsickle
|
|
56
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
56
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
57
57
|
*/
|
|
58
58
|
|
|
59
59
|
/**
|
|
@@ -82,11 +82,12 @@ var AnimationDurations = /** @class */ (function () {
|
|
|
82
82
|
|
|
83
83
|
/**
|
|
84
84
|
* @fileoverview added by tsickle
|
|
85
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
85
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
86
86
|
*/
|
|
87
|
-
/**
|
|
87
|
+
/**
|
|
88
88
|
* Injection token that configures whether the Material sanity checks are enabled.
|
|
89
|
-
|
|
89
|
+
* @type {?}
|
|
90
|
+
*/
|
|
90
91
|
var MATERIAL_SANITY_CHECKS = new core.InjectionToken('mat-sanity-checks', {
|
|
91
92
|
providedIn: 'root',
|
|
92
93
|
factory: MATERIAL_SANITY_CHECKS_FACTORY,
|
|
@@ -130,34 +131,42 @@ var MatCommonModule = /** @class */ (function () {
|
|
|
130
131
|
this._hasDoneGlobalChecks = true;
|
|
131
132
|
}
|
|
132
133
|
}
|
|
134
|
+
/** Whether any sanity checks are enabled */
|
|
133
135
|
/**
|
|
134
136
|
* Whether any sanity checks are enabled
|
|
137
|
+
* @private
|
|
135
138
|
* @return {?}
|
|
136
139
|
*/
|
|
137
140
|
MatCommonModule.prototype._areChecksEnabled = /**
|
|
138
141
|
* Whether any sanity checks are enabled
|
|
142
|
+
* @private
|
|
139
143
|
* @return {?}
|
|
140
144
|
*/
|
|
141
145
|
function () {
|
|
142
146
|
return this._sanityChecksEnabled && core.isDevMode() && !this._isTestEnv();
|
|
143
147
|
};
|
|
148
|
+
/** Whether the code is running in tests. */
|
|
144
149
|
/**
|
|
145
150
|
* Whether the code is running in tests.
|
|
151
|
+
* @private
|
|
146
152
|
* @return {?}
|
|
147
153
|
*/
|
|
148
154
|
MatCommonModule.prototype._isTestEnv = /**
|
|
149
155
|
* Whether the code is running in tests.
|
|
156
|
+
* @private
|
|
150
157
|
* @return {?}
|
|
151
158
|
*/
|
|
152
159
|
function () {
|
|
153
160
|
/** @type {?} */
|
|
154
|
-
var window = /** @type {?} */ (this._window);
|
|
161
|
+
var window = (/** @type {?} */ (this._window));
|
|
155
162
|
return window && (window.__karma__ || window.jasmine);
|
|
156
163
|
};
|
|
157
164
|
/**
|
|
165
|
+
* @private
|
|
158
166
|
* @return {?}
|
|
159
167
|
*/
|
|
160
168
|
MatCommonModule.prototype._checkDoctypeIsDefined = /**
|
|
169
|
+
* @private
|
|
161
170
|
* @return {?}
|
|
162
171
|
*/
|
|
163
172
|
function () {
|
|
@@ -167,9 +176,11 @@ var MatCommonModule = /** @class */ (function () {
|
|
|
167
176
|
}
|
|
168
177
|
};
|
|
169
178
|
/**
|
|
179
|
+
* @private
|
|
170
180
|
* @return {?}
|
|
171
181
|
*/
|
|
172
182
|
MatCommonModule.prototype._checkThemeIsPresent = /**
|
|
183
|
+
* @private
|
|
173
184
|
* @return {?}
|
|
174
185
|
*/
|
|
175
186
|
function () {
|
|
@@ -207,7 +218,7 @@ var MatCommonModule = /** @class */ (function () {
|
|
|
207
218
|
if (this._hasCheckedHammer || !this._window) {
|
|
208
219
|
return;
|
|
209
220
|
}
|
|
210
|
-
if (this._areChecksEnabled() && !(/** @type {?} */ (this._window))['Hammer'] && !this._hammerLoader) {
|
|
221
|
+
if (this._areChecksEnabled() && !((/** @type {?} */ (this._window)))['Hammer'] && !this._hammerLoader) {
|
|
211
222
|
console.warn('Could not find HammerJS. Certain Angular Material components may not work correctly.');
|
|
212
223
|
}
|
|
213
224
|
this._hasCheckedHammer = true;
|
|
@@ -228,7 +239,7 @@ var MatCommonModule = /** @class */ (function () {
|
|
|
228
239
|
|
|
229
240
|
/**
|
|
230
241
|
* @fileoverview added by tsickle
|
|
231
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
242
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
232
243
|
*/
|
|
233
244
|
/**
|
|
234
245
|
* Mixin to augment a directive with a `disabled` property.
|
|
@@ -267,7 +278,7 @@ function mixinDisabled(base) {
|
|
|
267
278
|
|
|
268
279
|
/**
|
|
269
280
|
* @fileoverview added by tsickle
|
|
270
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
281
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
271
282
|
*/
|
|
272
283
|
/**
|
|
273
284
|
* Mixin to augment a directive with a `color` property.
|
|
@@ -320,7 +331,7 @@ function mixinColor(base, defaultColor) {
|
|
|
320
331
|
|
|
321
332
|
/**
|
|
322
333
|
* @fileoverview added by tsickle
|
|
323
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
334
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
324
335
|
*/
|
|
325
336
|
/**
|
|
326
337
|
* Mixin to augment a directive with a `disableRipple` property.
|
|
@@ -361,7 +372,7 @@ function mixinDisableRipple(base) {
|
|
|
361
372
|
|
|
362
373
|
/**
|
|
363
374
|
* @fileoverview added by tsickle
|
|
364
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
375
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
365
376
|
*/
|
|
366
377
|
/**
|
|
367
378
|
* Mixin to augment a directive with a `tabIndex` property.
|
|
@@ -405,7 +416,7 @@ function mixinTabIndex(base, defaultTabIndex) {
|
|
|
405
416
|
|
|
406
417
|
/**
|
|
407
418
|
* @fileoverview added by tsickle
|
|
408
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
419
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
409
420
|
*/
|
|
410
421
|
/**
|
|
411
422
|
* Mixin to augment a directive with updateErrorState method.
|
|
@@ -448,7 +459,7 @@ function mixinErrorState(base) {
|
|
|
448
459
|
/** @type {?} */
|
|
449
460
|
var matcher = this.errorStateMatcher || this._defaultErrorStateMatcher;
|
|
450
461
|
/** @type {?} */
|
|
451
|
-
var control = this.ngControl ? /** @type {?} */ (this.ngControl.control) : null;
|
|
462
|
+
var control = this.ngControl ? (/** @type {?} */ (this.ngControl.control)) : null;
|
|
452
463
|
/** @type {?} */
|
|
453
464
|
var newState = matcher.isErrorState(control, parent);
|
|
454
465
|
if (newState !== oldState) {
|
|
@@ -462,7 +473,7 @@ function mixinErrorState(base) {
|
|
|
462
473
|
|
|
463
474
|
/**
|
|
464
475
|
* @fileoverview added by tsickle
|
|
465
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
476
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
466
477
|
*/
|
|
467
478
|
/**
|
|
468
479
|
* Mixin to augment a directive with an initialized property that will emits when ngOnInit ends.
|
|
@@ -500,7 +511,7 @@ function mixinInitialized(base) {
|
|
|
500
511
|
_this._notifySubscriber(subscriber);
|
|
501
512
|
}
|
|
502
513
|
else {
|
|
503
|
-
/** @type {?} */ (
|
|
514
|
+
(/** @type {?} */ (_this._pendingSubscribers)).push(subscriber);
|
|
504
515
|
}
|
|
505
516
|
});
|
|
506
517
|
return _this;
|
|
@@ -527,8 +538,8 @@ function mixinInitialized(base) {
|
|
|
527
538
|
throw Error('This directive has already been marked as initialized and ' +
|
|
528
539
|
'should not be called twice.');
|
|
529
540
|
}
|
|
530
|
-
this._isInitialized = true;
|
|
531
|
-
((this._pendingSubscribers)).forEach(this._notifySubscriber);
|
|
541
|
+
this._isInitialized = true;
|
|
542
|
+
(/** @type {?} */ (this._pendingSubscribers)).forEach(this._notifySubscriber);
|
|
532
543
|
this._pendingSubscribers = null;
|
|
533
544
|
};
|
|
534
545
|
/** Emits and completes the subscriber stream (should only emit once). */
|
|
@@ -552,16 +563,17 @@ function mixinInitialized(base) {
|
|
|
552
563
|
|
|
553
564
|
/**
|
|
554
565
|
* @fileoverview added by tsickle
|
|
555
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
566
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
556
567
|
*/
|
|
557
568
|
|
|
558
569
|
/**
|
|
559
570
|
* @fileoverview added by tsickle
|
|
560
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
571
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
561
572
|
*/
|
|
562
|
-
/**
|
|
573
|
+
/**
|
|
563
574
|
* InjectionToken for datepicker that can be used to override default locale code.
|
|
564
|
-
|
|
575
|
+
* @type {?}
|
|
576
|
+
*/
|
|
565
577
|
var MAT_DATE_LOCALE = new core.InjectionToken('MAT_DATE_LOCALE', {
|
|
566
578
|
providedIn: 'root',
|
|
567
579
|
factory: MAT_DATE_LOCALE_FACTORY,
|
|
@@ -573,12 +585,13 @@ var MAT_DATE_LOCALE = new core.InjectionToken('MAT_DATE_LOCALE', {
|
|
|
573
585
|
function MAT_DATE_LOCALE_FACTORY() {
|
|
574
586
|
return core.inject(core.LOCALE_ID);
|
|
575
587
|
}
|
|
576
|
-
/**
|
|
588
|
+
/**
|
|
577
589
|
* No longer needed since MAT_DATE_LOCALE has been changed to a scoped injectable.
|
|
578
590
|
* If you are importing and providing this in your code you can simply remove it.
|
|
579
591
|
* @deprecated
|
|
580
592
|
* \@breaking-change 8.0.0
|
|
581
|
-
|
|
593
|
+
* @type {?}
|
|
594
|
+
*/
|
|
582
595
|
var MAT_DATE_LOCALE_PROVIDER = { provide: MAT_DATE_LOCALE, useExisting: core.LOCALE_ID };
|
|
583
596
|
/**
|
|
584
597
|
* Adapts type `D` to be usable as a date by cdk-based components that work with dates.
|
|
@@ -762,22 +775,25 @@ DateAdapter = /** @class */ (function () {
|
|
|
762
775
|
|
|
763
776
|
/**
|
|
764
777
|
* @fileoverview added by tsickle
|
|
765
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
778
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
766
779
|
*/
|
|
767
780
|
/** @type {?} */
|
|
768
781
|
var MAT_DATE_FORMATS = new core.InjectionToken('mat-date-formats');
|
|
769
782
|
|
|
770
783
|
/**
|
|
771
784
|
* @fileoverview added by tsickle
|
|
772
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
785
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
773
786
|
*/
|
|
774
|
-
|
|
787
|
+
// TODO(mmalerba): Remove when we no longer support safari 9.
|
|
788
|
+
/**
|
|
775
789
|
* Whether the browser supports the Intl API.
|
|
776
|
-
|
|
790
|
+
* @type {?}
|
|
791
|
+
*/
|
|
777
792
|
var SUPPORTS_INTL_API = typeof Intl != 'undefined';
|
|
778
|
-
/**
|
|
793
|
+
/**
|
|
779
794
|
* The default month names to use if Intl API is not available.
|
|
780
|
-
|
|
795
|
+
* @type {?}
|
|
796
|
+
*/
|
|
781
797
|
var DEFAULT_MONTH_NAMES = {
|
|
782
798
|
'long': [
|
|
783
799
|
'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September',
|
|
@@ -787,23 +803,26 @@ var DEFAULT_MONTH_NAMES = {
|
|
|
787
803
|
'narrow': ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D']
|
|
788
804
|
};
|
|
789
805
|
var ɵ0 = function (i) { return String(i + 1); };
|
|
790
|
-
/**
|
|
806
|
+
/**
|
|
791
807
|
* The default date names to use if Intl API is not available.
|
|
792
|
-
|
|
808
|
+
* @type {?}
|
|
809
|
+
*/
|
|
793
810
|
var DEFAULT_DATE_NAMES = range(31, ɵ0);
|
|
794
|
-
/**
|
|
811
|
+
/**
|
|
795
812
|
* The default day of the week names to use if Intl API is not available.
|
|
796
|
-
|
|
813
|
+
* @type {?}
|
|
814
|
+
*/
|
|
797
815
|
var DEFAULT_DAY_OF_WEEK_NAMES = {
|
|
798
816
|
'long': ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
|
|
799
817
|
'short': ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
|
|
800
818
|
'narrow': ['S', 'M', 'T', 'W', 'T', 'F', 'S']
|
|
801
819
|
};
|
|
802
|
-
/**
|
|
820
|
+
/**
|
|
803
821
|
* Matches strings that have the form of a valid RFC 3339 string
|
|
804
822
|
* (https://tools.ietf.org/html/rfc3339). Note that the string may not actually be a valid date
|
|
805
823
|
* because the regex will match strings an with out of bounds month, date, etc.
|
|
806
|
-
|
|
824
|
+
* @type {?}
|
|
825
|
+
*/
|
|
807
826
|
var ISO_8601_REGEX = /^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;
|
|
808
827
|
/**
|
|
809
828
|
* Creates an array and fills it with values.
|
|
@@ -986,7 +1005,7 @@ var NativeDateAdapter = /** @class */ (function (_super) {
|
|
|
986
1005
|
* @return {?}
|
|
987
1006
|
*/
|
|
988
1007
|
function (date) {
|
|
989
|
-
return
|
|
1008
|
+
return new Date(date.getTime());
|
|
990
1009
|
};
|
|
991
1010
|
/**
|
|
992
1011
|
* @param {?} year
|
|
@@ -1200,8 +1219,10 @@ var NativeDateAdapter = /** @class */ (function (_super) {
|
|
|
1200
1219
|
function () {
|
|
1201
1220
|
return new Date(NaN);
|
|
1202
1221
|
};
|
|
1222
|
+
/** Creates a date but allows the month and date to overflow. */
|
|
1203
1223
|
/**
|
|
1204
1224
|
* Creates a date but allows the month and date to overflow.
|
|
1225
|
+
* @private
|
|
1205
1226
|
* @param {?} year
|
|
1206
1227
|
* @param {?} month
|
|
1207
1228
|
* @param {?} date
|
|
@@ -1209,6 +1230,7 @@ var NativeDateAdapter = /** @class */ (function (_super) {
|
|
|
1209
1230
|
*/
|
|
1210
1231
|
NativeDateAdapter.prototype._createDateWithOverflow = /**
|
|
1211
1232
|
* Creates a date but allows the month and date to overflow.
|
|
1233
|
+
* @private
|
|
1212
1234
|
* @param {?} year
|
|
1213
1235
|
* @param {?} month
|
|
1214
1236
|
* @param {?} date
|
|
@@ -1226,11 +1248,18 @@ var NativeDateAdapter = /** @class */ (function (_super) {
|
|
|
1226
1248
|
};
|
|
1227
1249
|
/**
|
|
1228
1250
|
* Pads a number to make it two digits.
|
|
1251
|
+
* @param n The number to pad.
|
|
1252
|
+
* @returns The padded number.
|
|
1253
|
+
*/
|
|
1254
|
+
/**
|
|
1255
|
+
* Pads a number to make it two digits.
|
|
1256
|
+
* @private
|
|
1229
1257
|
* @param {?} n The number to pad.
|
|
1230
1258
|
* @return {?} The padded number.
|
|
1231
1259
|
*/
|
|
1232
1260
|
NativeDateAdapter.prototype._2digit = /**
|
|
1233
1261
|
* Pads a number to make it two digits.
|
|
1262
|
+
* @private
|
|
1234
1263
|
* @param {?} n The number to pad.
|
|
1235
1264
|
* @return {?} The padded number.
|
|
1236
1265
|
*/
|
|
@@ -1241,6 +1270,14 @@ var NativeDateAdapter = /** @class */ (function (_super) {
|
|
|
1241
1270
|
* Strip out unicode LTR and RTL characters. Edge and IE insert these into formatted dates while
|
|
1242
1271
|
* other browsers do not. We remove them to make output consistent and because they interfere with
|
|
1243
1272
|
* date parsing.
|
|
1273
|
+
* @param str The string to strip direction characters from.
|
|
1274
|
+
* @returns The stripped string.
|
|
1275
|
+
*/
|
|
1276
|
+
/**
|
|
1277
|
+
* Strip out unicode LTR and RTL characters. Edge and IE insert these into formatted dates while
|
|
1278
|
+
* other browsers do not. We remove them to make output consistent and because they interfere with
|
|
1279
|
+
* date parsing.
|
|
1280
|
+
* @private
|
|
1244
1281
|
* @param {?} str The string to strip direction characters from.
|
|
1245
1282
|
* @return {?} The stripped string.
|
|
1246
1283
|
*/
|
|
@@ -1248,6 +1285,7 @@ var NativeDateAdapter = /** @class */ (function (_super) {
|
|
|
1248
1285
|
* Strip out unicode LTR and RTL characters. Edge and IE insert these into formatted dates while
|
|
1249
1286
|
* other browsers do not. We remove them to make output consistent and because they interfere with
|
|
1250
1287
|
* date parsing.
|
|
1288
|
+
* @private
|
|
1251
1289
|
* @param {?} str The string to strip direction characters from.
|
|
1252
1290
|
* @return {?} The stripped string.
|
|
1253
1291
|
*/
|
|
@@ -1260,6 +1298,18 @@ var NativeDateAdapter = /** @class */ (function (_super) {
|
|
|
1260
1298
|
* very frequently, and the current valid rule is not always valid in previous years though.
|
|
1261
1299
|
* We work around this problem building a new Date object which has its internal UTC
|
|
1262
1300
|
* representation with the local date and time.
|
|
1301
|
+
* @param dtf Intl.DateTimeFormat object, containg the desired string format. It must have
|
|
1302
|
+
* timeZone set to 'utc' to work fine.
|
|
1303
|
+
* @param date Date from which we want to get the string representation according to dtf
|
|
1304
|
+
* @returns A Date object with its UTC representation based on the passed in date info
|
|
1305
|
+
*/
|
|
1306
|
+
/**
|
|
1307
|
+
* When converting Date object to string, javascript built-in functions may return wrong
|
|
1308
|
+
* results because it applies its internal DST rules. The DST rules around the world change
|
|
1309
|
+
* very frequently, and the current valid rule is not always valid in previous years though.
|
|
1310
|
+
* We work around this problem building a new Date object which has its internal UTC
|
|
1311
|
+
* representation with the local date and time.
|
|
1312
|
+
* @private
|
|
1263
1313
|
* @param {?} dtf Intl.DateTimeFormat object, containg the desired string format. It must have
|
|
1264
1314
|
* timeZone set to 'utc' to work fine.
|
|
1265
1315
|
* @param {?} date Date from which we want to get the string representation according to dtf
|
|
@@ -1271,6 +1321,7 @@ var NativeDateAdapter = /** @class */ (function (_super) {
|
|
|
1271
1321
|
* very frequently, and the current valid rule is not always valid in previous years though.
|
|
1272
1322
|
* We work around this problem building a new Date object which has its internal UTC
|
|
1273
1323
|
* representation with the local date and time.
|
|
1324
|
+
* @private
|
|
1274
1325
|
* @param {?} dtf Intl.DateTimeFormat object, containg the desired string format. It must have
|
|
1275
1326
|
* timeZone set to 'utc' to work fine.
|
|
1276
1327
|
* @param {?} date Date from which we want to get the string representation according to dtf
|
|
@@ -1294,7 +1345,7 @@ var NativeDateAdapter = /** @class */ (function (_super) {
|
|
|
1294
1345
|
|
|
1295
1346
|
/**
|
|
1296
1347
|
* @fileoverview added by tsickle
|
|
1297
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
1348
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1298
1349
|
*/
|
|
1299
1350
|
|
|
1300
1351
|
/** @type {?} */
|
|
@@ -1312,7 +1363,7 @@ var MAT_NATIVE_DATE_FORMATS = {
|
|
|
1312
1363
|
|
|
1313
1364
|
/**
|
|
1314
1365
|
* @fileoverview added by tsickle
|
|
1315
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
1366
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1316
1367
|
*/
|
|
1317
1368
|
var NativeDateModule = /** @class */ (function () {
|
|
1318
1369
|
function NativeDateModule() {
|
|
@@ -1342,7 +1393,7 @@ var MatNativeDateModule = /** @class */ (function () {
|
|
|
1342
1393
|
|
|
1343
1394
|
/**
|
|
1344
1395
|
* @fileoverview added by tsickle
|
|
1345
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
1396
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1346
1397
|
*/
|
|
1347
1398
|
/**
|
|
1348
1399
|
* Error state matcher that matches when a control is invalid and dirty.
|
|
@@ -1396,12 +1447,18 @@ var ErrorStateMatcher = /** @class */ (function () {
|
|
|
1396
1447
|
|
|
1397
1448
|
/**
|
|
1398
1449
|
* @fileoverview added by tsickle
|
|
1399
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
1450
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1400
1451
|
*/
|
|
1401
|
-
|
|
1452
|
+
|
|
1453
|
+
/**
|
|
1454
|
+
* @fileoverview added by tsickle
|
|
1455
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1456
|
+
*/
|
|
1457
|
+
/**
|
|
1402
1458
|
* Injection token that can be used to provide options to the Hammerjs instance.
|
|
1403
1459
|
* More info at http://hammerjs.github.io/api/.
|
|
1404
|
-
|
|
1460
|
+
* @type {?}
|
|
1461
|
+
*/
|
|
1405
1462
|
var MAT_HAMMER_OPTIONS = new core.InjectionToken('MAT_HAMMER_OPTIONS');
|
|
1406
1463
|
/** @type {?} */
|
|
1407
1464
|
var ANGULAR_MATERIAL_SUPPORTED_HAMMER_GESTURES = [
|
|
@@ -1413,10 +1470,11 @@ var ANGULAR_MATERIAL_SUPPORTED_HAMMER_GESTURES = [
|
|
|
1413
1470
|
'slideleft'
|
|
1414
1471
|
];
|
|
1415
1472
|
var ɵ0$2 = function () { }, ɵ1 = function () { };
|
|
1416
|
-
/**
|
|
1473
|
+
/**
|
|
1417
1474
|
* Fake HammerInstance that is used when a Hammer instance is requested when HammerJS has not
|
|
1418
1475
|
* been loaded on the page.
|
|
1419
|
-
|
|
1476
|
+
* @type {?}
|
|
1477
|
+
*/
|
|
1420
1478
|
var noopHammerInstance = {
|
|
1421
1479
|
on: ɵ0$2,
|
|
1422
1480
|
off: ɵ1,
|
|
@@ -1479,7 +1537,7 @@ var GestureConfig = /** @class */ (function (_super) {
|
|
|
1479
1537
|
*/
|
|
1480
1538
|
function (element) {
|
|
1481
1539
|
/** @type {?} */
|
|
1482
|
-
var hammer = typeof window !== 'undefined' ? (/** @type {?} */ (window)).Hammer : null;
|
|
1540
|
+
var hammer = typeof window !== 'undefined' ? ((/** @type {?} */ (window))).Hammer : null;
|
|
1483
1541
|
if (!hammer) {
|
|
1484
1542
|
// If HammerJS is not loaded here, return the noop HammerInstance. This is necessary to
|
|
1485
1543
|
// ensure that omitting HammerJS completely will not cause any errors while *also* supporting
|
|
@@ -1493,12 +1551,16 @@ var GestureConfig = /** @class */ (function (_super) {
|
|
|
1493
1551
|
}
|
|
1494
1552
|
/** @type {?} */
|
|
1495
1553
|
var mc = new hammer(element, this._hammerOptions || undefined);
|
|
1554
|
+
// Default Hammer Recognizers.
|
|
1496
1555
|
/** @type {?} */
|
|
1497
1556
|
var pan = new hammer.Pan();
|
|
1498
1557
|
/** @type {?} */
|
|
1499
1558
|
var swipe = new hammer.Swipe();
|
|
1500
1559
|
/** @type {?} */
|
|
1501
1560
|
var press = new hammer.Press();
|
|
1561
|
+
// Notice that a HammerJS recognizer can only depend on one other recognizer once.
|
|
1562
|
+
// Otherwise the previous `recognizeWith` will be dropped.
|
|
1563
|
+
// TODO: Confirm threshold numbers with Material Design UX Team
|
|
1502
1564
|
/** @type {?} */
|
|
1503
1565
|
var slide = this._createRecognizer(pan, { event: 'slide', threshold: 0 }, swipe);
|
|
1504
1566
|
/** @type {?} */
|
|
@@ -1513,10 +1575,12 @@ var GestureConfig = /** @class */ (function (_super) {
|
|
|
1513
1575
|
longpress.recognizeWith(slide);
|
|
1514
1576
|
// Add customized gestures to Hammer manager
|
|
1515
1577
|
mc.add([swipe, press, pan, slide, longpress]);
|
|
1516
|
-
return /** @type {?} */ (mc);
|
|
1578
|
+
return (/** @type {?} */ (mc));
|
|
1517
1579
|
};
|
|
1580
|
+
/** Creates a new recognizer, without affecting the default recognizers of HammerJS */
|
|
1518
1581
|
/**
|
|
1519
1582
|
* Creates a new recognizer, without affecting the default recognizers of HammerJS
|
|
1583
|
+
* @private
|
|
1520
1584
|
* @param {?} base
|
|
1521
1585
|
* @param {?} options
|
|
1522
1586
|
* @param {...?} inheritances
|
|
@@ -1524,6 +1588,7 @@ var GestureConfig = /** @class */ (function (_super) {
|
|
|
1524
1588
|
*/
|
|
1525
1589
|
GestureConfig.prototype._createRecognizer = /**
|
|
1526
1590
|
* Creates a new recognizer, without affecting the default recognizers of HammerJS
|
|
1591
|
+
* @private
|
|
1527
1592
|
* @param {?} base
|
|
1528
1593
|
* @param {?} options
|
|
1529
1594
|
* @param {...?} inheritances
|
|
@@ -1535,7 +1600,7 @@ var GestureConfig = /** @class */ (function (_super) {
|
|
|
1535
1600
|
inheritances[_i - 2] = arguments[_i];
|
|
1536
1601
|
}
|
|
1537
1602
|
/** @type {?} */
|
|
1538
|
-
var recognizer = new (/** @type {?} */ (base.constructor))(options);
|
|
1603
|
+
var recognizer = new ((/** @type {?} */ (base.constructor)))(options);
|
|
1539
1604
|
inheritances.push(base);
|
|
1540
1605
|
inheritances.forEach(function (item) { return recognizer.recognizeWith(item); });
|
|
1541
1606
|
return recognizer;
|
|
@@ -1553,7 +1618,7 @@ var GestureConfig = /** @class */ (function (_super) {
|
|
|
1553
1618
|
|
|
1554
1619
|
/**
|
|
1555
1620
|
* @fileoverview added by tsickle
|
|
1556
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
1621
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1557
1622
|
*/
|
|
1558
1623
|
/**
|
|
1559
1624
|
* Shared directive to count lines inside a text area, such as a list item.
|
|
@@ -1639,7 +1704,7 @@ var MatLineModule = /** @class */ (function () {
|
|
|
1639
1704
|
|
|
1640
1705
|
/**
|
|
1641
1706
|
* @fileoverview added by tsickle
|
|
1642
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
1707
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1643
1708
|
*/
|
|
1644
1709
|
|
|
1645
1710
|
/** @enum {number} */
|
|
@@ -1683,24 +1748,27 @@ RippleRef = /** @class */ (function () {
|
|
|
1683
1748
|
|
|
1684
1749
|
/**
|
|
1685
1750
|
* @fileoverview added by tsickle
|
|
1686
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
1751
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1687
1752
|
*/
|
|
1688
|
-
/**
|
|
1753
|
+
/**
|
|
1689
1754
|
* Default ripple animation configuration for ripples without an explicit
|
|
1690
1755
|
* animation config specified.
|
|
1691
|
-
|
|
1756
|
+
* @type {?}
|
|
1757
|
+
*/
|
|
1692
1758
|
var defaultRippleAnimationConfig = {
|
|
1693
1759
|
enterDuration: 450,
|
|
1694
1760
|
exitDuration: 400
|
|
1695
1761
|
};
|
|
1696
|
-
/**
|
|
1762
|
+
/**
|
|
1697
1763
|
* Timeout for ignoring mouse events. Mouse events will be temporary ignored after touch
|
|
1698
1764
|
* events to avoid synthetic mouse events.
|
|
1699
|
-
|
|
1765
|
+
* @type {?}
|
|
1766
|
+
*/
|
|
1700
1767
|
var ignoreMouseEventsTimeout = 800;
|
|
1701
|
-
/**
|
|
1768
|
+
/**
|
|
1702
1769
|
* Options that apply to all the event listeners that are bound by the ripple renderer.
|
|
1703
|
-
|
|
1770
|
+
* @type {?}
|
|
1771
|
+
*/
|
|
1704
1772
|
var passiveEventOptions = platform.normalizePassiveListenerOptions({ passive: true });
|
|
1705
1773
|
/**
|
|
1706
1774
|
* Helper service that performs DOM manipulations. Not intended to be used outside this module.
|
|
@@ -1737,6 +1805,8 @@ RippleRenderer = /** @class */ (function () {
|
|
|
1737
1805
|
* Function being called whenever the trigger is being pressed using mouse.
|
|
1738
1806
|
*/
|
|
1739
1807
|
this.onMousedown = function (event) {
|
|
1808
|
+
// Screen readers will fire fake mouse events for space/enter. Skip launching a
|
|
1809
|
+
// ripple in this case for consistency with the non-screen-reader experience.
|
|
1740
1810
|
/** @type {?} */
|
|
1741
1811
|
var isFakeMousedown = a11y.isFakeMousedownFromScreenReader(event);
|
|
1742
1812
|
/** @type {?} */
|
|
@@ -1757,6 +1827,8 @@ RippleRenderer = /** @class */ (function () {
|
|
|
1757
1827
|
// time after a touchstart event.
|
|
1758
1828
|
_this._lastTouchStartEvent = Date.now();
|
|
1759
1829
|
_this._isPointerDown = true;
|
|
1830
|
+
// Use `changedTouches` so we skip any touches where the user put
|
|
1831
|
+
// their finger down, but used another finger to tap the element again.
|
|
1760
1832
|
/** @type {?} */
|
|
1761
1833
|
var touches = event.changedTouches;
|
|
1762
1834
|
for (var i = 0; i < touches.length; i++) {
|
|
@@ -1774,6 +1846,8 @@ RippleRenderer = /** @class */ (function () {
|
|
|
1774
1846
|
_this._isPointerDown = false;
|
|
1775
1847
|
// Fade-out all ripples that are visible and not persistent.
|
|
1776
1848
|
_this._activeRipples.forEach(function (ripple) {
|
|
1849
|
+
// By default, only ripples that are completely visible will fade out on pointer release.
|
|
1850
|
+
// If the `terminateOnPointerUp` option is set, ripples that still fade in will also fade out.
|
|
1777
1851
|
/** @type {?} */
|
|
1778
1852
|
var isVisible = ripple.state === RippleState.VISIBLE ||
|
|
1779
1853
|
ripple.config.terminateOnPointerUp && ripple.state === RippleState.FADING_IN;
|
|
@@ -1850,6 +1924,7 @@ RippleRenderer = /** @class */ (function () {
|
|
|
1850
1924
|
// ripple elements. This is critical because then the `scale` would not animate properly.
|
|
1851
1925
|
enforceStyleRecalculation(ripple);
|
|
1852
1926
|
ripple.style.transform = 'scale(1)';
|
|
1927
|
+
// Exposed reference to the ripple that will be returned.
|
|
1853
1928
|
/** @type {?} */
|
|
1854
1929
|
var rippleRef = new RippleRef(this, ripple, config);
|
|
1855
1930
|
rippleRef.state = RippleState.FADING_IN;
|
|
@@ -1895,7 +1970,7 @@ RippleRenderer = /** @class */ (function () {
|
|
|
1895
1970
|
if (!this._activeRipples.size) {
|
|
1896
1971
|
this._containerRect = null;
|
|
1897
1972
|
}
|
|
1898
|
-
// For ripples that are not active anymore, don't re-
|
|
1973
|
+
// For ripples that are not active anymore, don't re-run the fade-out animation.
|
|
1899
1974
|
if (!wasActive) {
|
|
1900
1975
|
return;
|
|
1901
1976
|
}
|
|
@@ -1908,8 +1983,8 @@ RippleRenderer = /** @class */ (function () {
|
|
|
1908
1983
|
rippleRef.state = RippleState.FADING_OUT;
|
|
1909
1984
|
// Once the ripple faded out, the ripple can be safely removed from the DOM.
|
|
1910
1985
|
this.runTimeoutOutsideZone(function () {
|
|
1911
|
-
rippleRef.state = RippleState.HIDDEN;
|
|
1912
|
-
((rippleEl.parentNode)).removeChild(rippleEl);
|
|
1986
|
+
rippleRef.state = RippleState.HIDDEN;
|
|
1987
|
+
(/** @type {?} */ (rippleEl.parentNode)).removeChild(rippleEl);
|
|
1913
1988
|
}, animationConfig.exitDuration);
|
|
1914
1989
|
};
|
|
1915
1990
|
/** Fades out all currently active ripples. */
|
|
@@ -1949,14 +2024,17 @@ RippleRenderer = /** @class */ (function () {
|
|
|
1949
2024
|
});
|
|
1950
2025
|
this._triggerElement = element;
|
|
1951
2026
|
};
|
|
2027
|
+
/** Runs a timeout outside of the Angular zone to avoid triggering the change detection. */
|
|
1952
2028
|
/**
|
|
1953
2029
|
* Runs a timeout outside of the Angular zone to avoid triggering the change detection.
|
|
2030
|
+
* @private
|
|
1954
2031
|
* @param {?} fn
|
|
1955
2032
|
* @param {?=} delay
|
|
1956
2033
|
* @return {?}
|
|
1957
2034
|
*/
|
|
1958
2035
|
RippleRenderer.prototype.runTimeoutOutsideZone = /**
|
|
1959
2036
|
* Runs a timeout outside of the Angular zone to avoid triggering the change detection.
|
|
2037
|
+
* @private
|
|
1960
2038
|
* @param {?} fn
|
|
1961
2039
|
* @param {?=} delay
|
|
1962
2040
|
* @return {?}
|
|
@@ -1978,7 +2056,7 @@ RippleRenderer = /** @class */ (function () {
|
|
|
1978
2056
|
var _this = this;
|
|
1979
2057
|
if (this._triggerElement) {
|
|
1980
2058
|
this._triggerEvents.forEach(function (fn, type) {
|
|
1981
|
-
/** @type {?} */ (
|
|
2059
|
+
(/** @type {?} */ (_this._triggerElement)).removeEventListener(type, fn, passiveEventOptions);
|
|
1982
2060
|
});
|
|
1983
2061
|
}
|
|
1984
2062
|
};
|
|
@@ -2012,11 +2090,12 @@ function distanceToFurthestCorner(x, y, rect) {
|
|
|
2012
2090
|
|
|
2013
2091
|
/**
|
|
2014
2092
|
* @fileoverview added by tsickle
|
|
2015
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
2093
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2016
2094
|
*/
|
|
2017
|
-
/**
|
|
2095
|
+
/**
|
|
2018
2096
|
* Injection token that can be used to specify the global ripple options.
|
|
2019
|
-
|
|
2097
|
+
* @type {?}
|
|
2098
|
+
*/
|
|
2020
2099
|
var MAT_RIPPLE_GLOBAL_OPTIONS = new core.InjectionToken('mat-ripple-global-options');
|
|
2021
2100
|
var MatRipple = /** @class */ (function () {
|
|
2022
2101
|
function MatRipple(_elementRef, ngZone, platform$$1, globalOptions, animationMode) {
|
|
@@ -2151,12 +2230,15 @@ var MatRipple = /** @class */ (function () {
|
|
|
2151
2230
|
enumerable: true,
|
|
2152
2231
|
configurable: true
|
|
2153
2232
|
});
|
|
2233
|
+
/** Sets up the the trigger event listeners if ripples are enabled. */
|
|
2154
2234
|
/**
|
|
2155
2235
|
* Sets up the the trigger event listeners if ripples are enabled.
|
|
2236
|
+
* @private
|
|
2156
2237
|
* @return {?}
|
|
2157
2238
|
*/
|
|
2158
2239
|
MatRipple.prototype._setupTriggerEventsIfEnabled = /**
|
|
2159
2240
|
* Sets up the the trigger event listeners if ripples are enabled.
|
|
2241
|
+
* @private
|
|
2160
2242
|
* @return {?}
|
|
2161
2243
|
*/
|
|
2162
2244
|
function () {
|
|
@@ -2220,7 +2302,7 @@ var MatRipple = /** @class */ (function () {
|
|
|
2220
2302
|
|
|
2221
2303
|
/**
|
|
2222
2304
|
* @fileoverview added by tsickle
|
|
2223
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
2305
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2224
2306
|
*/
|
|
2225
2307
|
var MatRippleModule = /** @class */ (function () {
|
|
2226
2308
|
function MatRippleModule() {
|
|
@@ -2237,7 +2319,7 @@ var MatRippleModule = /** @class */ (function () {
|
|
|
2237
2319
|
|
|
2238
2320
|
/**
|
|
2239
2321
|
* @fileoverview added by tsickle
|
|
2240
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
2322
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2241
2323
|
*/
|
|
2242
2324
|
/**
|
|
2243
2325
|
* Component that shows a simplified checkbox without including any kind of "real" checkbox.
|
|
@@ -2268,7 +2350,7 @@ var MatPseudoCheckbox = /** @class */ (function () {
|
|
|
2268
2350
|
{ type: core.Component, args: [{encapsulation: core.ViewEncapsulation.None,
|
|
2269
2351
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
2270
2352
|
selector: 'mat-pseudo-checkbox',
|
|
2271
|
-
styles: [".mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0,0,.2,.1),background-color 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:'';border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-
|
|
2353
|
+
styles: [".mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0,0,.2,.1),background-color 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:'';border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1}"],
|
|
2272
2354
|
template: '',
|
|
2273
2355
|
host: {
|
|
2274
2356
|
'class': 'mat-pseudo-checkbox',
|
|
@@ -2292,7 +2374,7 @@ var MatPseudoCheckbox = /** @class */ (function () {
|
|
|
2292
2374
|
|
|
2293
2375
|
/**
|
|
2294
2376
|
* @fileoverview added by tsickle
|
|
2295
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
2377
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2296
2378
|
*/
|
|
2297
2379
|
var MatPseudoCheckboxModule = /** @class */ (function () {
|
|
2298
2380
|
function MatPseudoCheckboxModule() {
|
|
@@ -2308,12 +2390,15 @@ var MatPseudoCheckboxModule = /** @class */ (function () {
|
|
|
2308
2390
|
|
|
2309
2391
|
/**
|
|
2310
2392
|
* @fileoverview added by tsickle
|
|
2311
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
2393
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2312
2394
|
*/
|
|
2395
|
+
// Boilerplate for applying mixins to MatOptgroup.
|
|
2313
2396
|
/**
|
|
2314
2397
|
* \@docs-private
|
|
2315
2398
|
*/
|
|
2316
|
-
var
|
|
2399
|
+
var
|
|
2400
|
+
// Boilerplate for applying mixins to MatOptgroup.
|
|
2401
|
+
/**
|
|
2317
2402
|
* \@docs-private
|
|
2318
2403
|
*/
|
|
2319
2404
|
MatOptgroupBase = /** @class */ (function () {
|
|
@@ -2323,6 +2408,7 @@ MatOptgroupBase = /** @class */ (function () {
|
|
|
2323
2408
|
}());
|
|
2324
2409
|
/** @type {?} */
|
|
2325
2410
|
var _MatOptgroupMixinBase = mixinDisabled(MatOptgroupBase);
|
|
2411
|
+
// Counter for unique group ids.
|
|
2326
2412
|
/** @type {?} */
|
|
2327
2413
|
var _uniqueOptgroupIdCounter = 0;
|
|
2328
2414
|
/**
|
|
@@ -2363,12 +2449,13 @@ var MatOptgroup = /** @class */ (function (_super) {
|
|
|
2363
2449
|
|
|
2364
2450
|
/**
|
|
2365
2451
|
* @fileoverview added by tsickle
|
|
2366
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
2452
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2367
2453
|
*/
|
|
2368
|
-
/**
|
|
2454
|
+
/**
|
|
2369
2455
|
* Option IDs need to be unique across components, so this counter exists outside of
|
|
2370
2456
|
* the component definition.
|
|
2371
|
-
|
|
2457
|
+
* @type {?}
|
|
2458
|
+
*/
|
|
2372
2459
|
var _uniqueIdCounter = 0;
|
|
2373
2460
|
/**
|
|
2374
2461
|
* Event object emitted by MatOption when selected or deselected.
|
|
@@ -2384,9 +2471,10 @@ MatOptionSelectionChange = /** @class */ (function () {
|
|
|
2384
2471
|
}
|
|
2385
2472
|
return MatOptionSelectionChange;
|
|
2386
2473
|
}());
|
|
2387
|
-
/**
|
|
2474
|
+
/**
|
|
2388
2475
|
* Injection token used to provide the parent component to options.
|
|
2389
|
-
|
|
2476
|
+
* @type {?}
|
|
2477
|
+
*/
|
|
2390
2478
|
var MAT_OPTION_PARENT_COMPONENT = new core.InjectionToken('MAT_OPTION_PARENT_COMPONENT');
|
|
2391
2479
|
/**
|
|
2392
2480
|
* Single option inside of a `<mat-select>` element.
|
|
@@ -2408,6 +2496,7 @@ var MatOption = /** @class */ (function () {
|
|
|
2408
2496
|
/**
|
|
2409
2497
|
* Event emitted when the option is selected or deselected.
|
|
2410
2498
|
*/
|
|
2499
|
+
// tslint:disable-next-line:no-output-on-prefix
|
|
2411
2500
|
this.onSelectionChange = new core.EventEmitter();
|
|
2412
2501
|
/**
|
|
2413
2502
|
* Emits when the state of the option changes and any parents have to be notified.
|
|
@@ -2614,7 +2703,7 @@ var MatOption = /** @class */ (function () {
|
|
|
2614
2703
|
* @return {?}
|
|
2615
2704
|
*/
|
|
2616
2705
|
function (event) {
|
|
2617
|
-
if (event.keyCode === keycodes.ENTER || event.keyCode === keycodes.SPACE) {
|
|
2706
|
+
if ((event.keyCode === keycodes.ENTER || event.keyCode === keycodes.SPACE) && !keycodes.hasModifierKey(event)) {
|
|
2618
2707
|
this._selectViaInteraction();
|
|
2619
2708
|
// Prevent the page from scrolling down and form submits.
|
|
2620
2709
|
event.preventDefault();
|
|
@@ -2695,13 +2784,16 @@ var MatOption = /** @class */ (function () {
|
|
|
2695
2784
|
function () {
|
|
2696
2785
|
this._stateChanges.complete();
|
|
2697
2786
|
};
|
|
2787
|
+
/** Emits the selection change event. */
|
|
2698
2788
|
/**
|
|
2699
2789
|
* Emits the selection change event.
|
|
2790
|
+
* @private
|
|
2700
2791
|
* @param {?=} isUserInput
|
|
2701
2792
|
* @return {?}
|
|
2702
2793
|
*/
|
|
2703
2794
|
MatOption.prototype._emitSelectionChangeEvent = /**
|
|
2704
2795
|
* Emits the selection change event.
|
|
2796
|
+
* @private
|
|
2705
2797
|
* @param {?=} isUserInput
|
|
2706
2798
|
* @return {?}
|
|
2707
2799
|
*/
|
|
@@ -2726,7 +2818,7 @@ var MatOption = /** @class */ (function () {
|
|
|
2726
2818
|
'(keydown)': '_handleKeydown($event)',
|
|
2727
2819
|
'class': 'mat-option',
|
|
2728
2820
|
},
|
|
2729
|
-
styles: [".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:0;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}@media
|
|
2821
|
+
styles: [".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:0;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}@media (-ms-high-contrast:active){.mat-option{margin:0 1px}.mat-option.mat-active{border:solid 1px currentColor;margin:0}}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}@media (-ms-high-contrast:active){.mat-option .mat-option-ripple{opacity:.5}}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}"],
|
|
2730
2822
|
template: "<mat-pseudo-checkbox *ngIf=\"multiple\" class=\"mat-option-pseudo-checkbox\" [state]=\"selected ? 'checked' : ''\" [disabled]=\"disabled\"></mat-pseudo-checkbox><span class=\"mat-option-text\"><ng-content></ng-content></span><div class=\"mat-option-ripple\" mat-ripple [matRippleTrigger]=\"_getHostElement()\" [matRippleDisabled]=\"disabled || disableRipple\"></div>",
|
|
2731
2823
|
encapsulation: core.ViewEncapsulation.None,
|
|
2732
2824
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
@@ -2795,7 +2887,7 @@ function _getOptionScrollPosition(optionIndex, optionHeight, currentScrollPositi
|
|
|
2795
2887
|
|
|
2796
2888
|
/**
|
|
2797
2889
|
* @fileoverview added by tsickle
|
|
2798
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
2890
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2799
2891
|
*/
|
|
2800
2892
|
var MatOptionModule = /** @class */ (function () {
|
|
2801
2893
|
function MatOptionModule() {
|
|
@@ -2812,77 +2904,48 @@ var MatOptionModule = /** @class */ (function () {
|
|
|
2812
2904
|
|
|
2813
2905
|
/**
|
|
2814
2906
|
* @fileoverview added by tsickle
|
|
2815
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
2907
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2816
2908
|
*/
|
|
2817
|
-
/**
|
|
2909
|
+
/**
|
|
2818
2910
|
* InjectionToken that can be used to specify the global label options.
|
|
2819
|
-
|
|
2911
|
+
* @type {?}
|
|
2912
|
+
*/
|
|
2820
2913
|
var MAT_LABEL_GLOBAL_OPTIONS = new core.InjectionToken('mat-label-global-options');
|
|
2821
2914
|
|
|
2822
2915
|
/**
|
|
2823
2916
|
* @fileoverview added by tsickle
|
|
2824
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
2917
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2825
2918
|
*/
|
|
2826
2919
|
|
|
2827
|
-
/**
|
|
2920
|
+
/**
|
|
2828
2921
|
* When constructing a Date, the month is zero-based. This can be confusing, since people are
|
|
2829
2922
|
* used to seeing them one-based. So we create these aliases to make writing the tests easier.
|
|
2830
|
-
|
|
2923
|
+
* \@docs-private
|
|
2924
|
+
* \@breaking-change 8.0.0 Remove this with V8 since it was only targeted for testing.
|
|
2925
|
+
* @type {?}
|
|
2926
|
+
*/
|
|
2831
2927
|
var JAN = 0;
|
|
2832
|
-
/**
|
|
2833
|
-
* When constructing a Date, the month is zero-based. This can be confusing, since people are
|
|
2834
|
-
* used to seeing them one-based. So we create these aliases to make writing the tests easier.
|
|
2835
|
-
@type {?} */
|
|
2928
|
+
/** @type {?} */
|
|
2836
2929
|
var FEB = 1;
|
|
2837
|
-
/**
|
|
2838
|
-
* When constructing a Date, the month is zero-based. This can be confusing, since people are
|
|
2839
|
-
* used to seeing them one-based. So we create these aliases to make writing the tests easier.
|
|
2840
|
-
@type {?} */
|
|
2930
|
+
/** @type {?} */
|
|
2841
2931
|
var MAR = 2;
|
|
2842
|
-
/**
|
|
2843
|
-
* When constructing a Date, the month is zero-based. This can be confusing, since people are
|
|
2844
|
-
* used to seeing them one-based. So we create these aliases to make writing the tests easier.
|
|
2845
|
-
@type {?} */
|
|
2932
|
+
/** @type {?} */
|
|
2846
2933
|
var APR = 3;
|
|
2847
|
-
/**
|
|
2848
|
-
* When constructing a Date, the month is zero-based. This can be confusing, since people are
|
|
2849
|
-
* used to seeing them one-based. So we create these aliases to make writing the tests easier.
|
|
2850
|
-
@type {?} */
|
|
2934
|
+
/** @type {?} */
|
|
2851
2935
|
var MAY = 4;
|
|
2852
|
-
/**
|
|
2853
|
-
* When constructing a Date, the month is zero-based. This can be confusing, since people are
|
|
2854
|
-
* used to seeing them one-based. So we create these aliases to make writing the tests easier.
|
|
2855
|
-
@type {?} */
|
|
2936
|
+
/** @type {?} */
|
|
2856
2937
|
var JUN = 5;
|
|
2857
|
-
/**
|
|
2858
|
-
* When constructing a Date, the month is zero-based. This can be confusing, since people are
|
|
2859
|
-
* used to seeing them one-based. So we create these aliases to make writing the tests easier.
|
|
2860
|
-
@type {?} */
|
|
2938
|
+
/** @type {?} */
|
|
2861
2939
|
var JUL = 6;
|
|
2862
|
-
/**
|
|
2863
|
-
* When constructing a Date, the month is zero-based. This can be confusing, since people are
|
|
2864
|
-
* used to seeing them one-based. So we create these aliases to make writing the tests easier.
|
|
2865
|
-
@type {?} */
|
|
2940
|
+
/** @type {?} */
|
|
2866
2941
|
var AUG = 7;
|
|
2867
|
-
/**
|
|
2868
|
-
* When constructing a Date, the month is zero-based. This can be confusing, since people are
|
|
2869
|
-
* used to seeing them one-based. So we create these aliases to make writing the tests easier.
|
|
2870
|
-
@type {?} */
|
|
2942
|
+
/** @type {?} */
|
|
2871
2943
|
var SEP = 8;
|
|
2872
|
-
/**
|
|
2873
|
-
* When constructing a Date, the month is zero-based. This can be confusing, since people are
|
|
2874
|
-
* used to seeing them one-based. So we create these aliases to make writing the tests easier.
|
|
2875
|
-
@type {?} */
|
|
2944
|
+
/** @type {?} */
|
|
2876
2945
|
var OCT = 9;
|
|
2877
|
-
/**
|
|
2878
|
-
* When constructing a Date, the month is zero-based. This can be confusing, since people are
|
|
2879
|
-
* used to seeing them one-based. So we create these aliases to make writing the tests easier.
|
|
2880
|
-
@type {?} */
|
|
2946
|
+
/** @type {?} */
|
|
2881
2947
|
var NOV = 10;
|
|
2882
|
-
/**
|
|
2883
|
-
* When constructing a Date, the month is zero-based. This can be confusing, since people are
|
|
2884
|
-
* used to seeing them one-based. So we create these aliases to make writing the tests easier.
|
|
2885
|
-
@type {?} */
|
|
2948
|
+
/** @type {?} */
|
|
2886
2949
|
var DEC = 11;
|
|
2887
2950
|
|
|
2888
2951
|
exports.AnimationCurves = AnimationCurves;
|