@angular/material-experimental 14.2.2 → 15.0.0-next.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/_index.scss +0 -69
- package/column-resize/index.d.ts +7 -7
- package/esm2020/column-resize/column-resize-directives/column-resize-flex.mjs +4 -4
- package/esm2020/column-resize/column-resize-directives/column-resize.mjs +4 -4
- package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize-flex.mjs +4 -4
- package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize.mjs +4 -4
- package/esm2020/column-resize/column-resize-module.mjs +13 -13
- package/esm2020/column-resize/overlay-handle.mjs +4 -4
- package/esm2020/column-resize/resizable-directives/default-enabled-resizable.mjs +4 -4
- package/esm2020/column-resize/resizable-directives/resizable.mjs +4 -4
- package/esm2020/column-resize/resize-strategy.mjs +4 -4
- package/esm2020/menubar/menubar-item.mjs +4 -4
- package/esm2020/menubar/menubar-module.mjs +5 -5
- package/esm2020/menubar/menubar.mjs +4 -4
- package/esm2020/popover-edit/lens-directives.mjs +10 -10
- package/esm2020/popover-edit/popover-edit-module.mjs +5 -5
- package/esm2020/popover-edit/table-directives.mjs +13 -13
- package/esm2020/selection/row-selection.mjs +4 -4
- package/esm2020/selection/select-all.mjs +4 -4
- package/esm2020/selection/selection-column.mjs +12 -12
- package/esm2020/selection/selection-module.mjs +8 -8
- package/esm2020/selection/selection-toggle.mjs +4 -4
- package/esm2020/selection/selection.mjs +4 -4
- package/esm2020/version.mjs +1 -1
- package/fesm2015/column-resize.mjs +36 -36
- package/fesm2015/column-resize.mjs.map +1 -1
- package/fesm2015/material-experimental.mjs +1 -1
- package/fesm2015/material-experimental.mjs.map +1 -1
- package/fesm2015/menubar.mjs +10 -10
- package/fesm2015/menubar.mjs.map +1 -1
- package/fesm2015/popover-edit.mjs +25 -25
- package/fesm2015/popover-edit.mjs.map +1 -1
- package/fesm2015/selection.mjs +29 -29
- package/fesm2015/selection.mjs.map +1 -1
- package/fesm2020/column-resize.mjs +36 -36
- package/fesm2020/column-resize.mjs.map +1 -1
- package/fesm2020/material-experimental.mjs +1 -1
- package/fesm2020/material-experimental.mjs.map +1 -1
- package/fesm2020/menubar.mjs +10 -10
- package/fesm2020/menubar.mjs.map +1 -1
- package/fesm2020/popover-edit.mjs +25 -25
- package/fesm2020/popover-edit.mjs.map +1 -1
- package/fesm2020/selection.mjs +29 -29
- package/fesm2020/selection.mjs.map +1 -1
- package/menubar/index.d.ts +2 -2
- package/package.json +55 -422
- package/popover-edit/index.d.ts +7 -7
- package/selection/index.d.ts +9 -9
- package/esm2020/mdc-autocomplete/animations.mjs +0 -25
- package/esm2020/mdc-autocomplete/autocomplete-origin.mjs +0 -26
- package/esm2020/mdc-autocomplete/autocomplete-trigger.mjs +0 -54
- package/esm2020/mdc-autocomplete/autocomplete.mjs +0 -35
- package/esm2020/mdc-autocomplete/index.mjs +0 -9
- package/esm2020/mdc-autocomplete/mdc-autocomplete_public_index.mjs +0 -5
- package/esm2020/mdc-autocomplete/module.mjs +0 -46
- package/esm2020/mdc-autocomplete/public-api.mjs +0 -14
- package/esm2020/mdc-autocomplete/testing/autocomplete-harness-filters.mjs +0 -9
- package/esm2020/mdc-autocomplete/testing/autocomplete-harness.mjs +0 -31
- package/esm2020/mdc-autocomplete/testing/index.mjs +0 -9
- package/esm2020/mdc-autocomplete/testing/public-api.mjs +0 -10
- package/esm2020/mdc-button/button-base.mjs +0 -152
- package/esm2020/mdc-button/button.mjs +0 -69
- package/esm2020/mdc-button/fab.mjs +0 -175
- package/esm2020/mdc-button/icon-button.mjs +0 -57
- package/esm2020/mdc-button/index.mjs +0 -9
- package/esm2020/mdc-button/mdc-button_public_index.mjs +0 -5
- package/esm2020/mdc-button/module.mjs +0 -61
- package/esm2020/mdc-button/public-api.mjs +0 -12
- package/esm2020/mdc-button/testing/button-harness.mjs +0 -50
- package/esm2020/mdc-button/testing/index.mjs +0 -9
- package/esm2020/mdc-button/testing/public-api.mjs +0 -9
- package/esm2020/mdc-card/card.mjs +0 -261
- package/esm2020/mdc-card/index.mjs +0 -9
- package/esm2020/mdc-card/mdc-card_public_index.mjs +0 -5
- package/esm2020/mdc-card/module.mjs +0 -68
- package/esm2020/mdc-card/public-api.mjs +0 -10
- package/esm2020/mdc-card/testing/card-harness-filters.mjs +0 -9
- package/esm2020/mdc-card/testing/card-harness.mjs +0 -42
- package/esm2020/mdc-card/testing/index.mjs +0 -9
- package/esm2020/mdc-card/testing/public-api.mjs +0 -10
- package/esm2020/mdc-checkbox/checkbox.mjs +0 -93
- package/esm2020/mdc-checkbox/index.mjs +0 -9
- package/esm2020/mdc-checkbox/mdc-checkbox_public_index.mjs +0 -5
- package/esm2020/mdc-checkbox/module.mjs +0 -26
- package/esm2020/mdc-checkbox/public-api.mjs +0 -11
- package/esm2020/mdc-checkbox/testing/checkbox-harness.mjs +0 -41
- package/esm2020/mdc-checkbox/testing/index.mjs +0 -9
- package/esm2020/mdc-checkbox/testing/public-api.mjs +0 -9
- package/esm2020/mdc-chips/chip-action.mjs +0 -90
- package/esm2020/mdc-chips/chip-edit-input.mjs +0 -60
- package/esm2020/mdc-chips/chip-grid.mjs +0 -407
- package/esm2020/mdc-chips/chip-icons.mjs +0 -110
- package/esm2020/mdc-chips/chip-input.mjs +0 -212
- package/esm2020/mdc-chips/chip-listbox.mjs +0 -332
- package/esm2020/mdc-chips/chip-option.mjs +0 -160
- package/esm2020/mdc-chips/chip-row.mjs +0 -176
- package/esm2020/mdc-chips/chip-set.mjs +0 -271
- package/esm2020/mdc-chips/chip-text-control.mjs +0 -9
- package/esm2020/mdc-chips/chip.mjs +0 -287
- package/esm2020/mdc-chips/index.mjs +0 -9
- package/esm2020/mdc-chips/mdc-chips_public_index.mjs +0 -5
- package/esm2020/mdc-chips/module.mjs +0 -87
- package/esm2020/mdc-chips/public-api.mjs +0 -20
- package/esm2020/mdc-chips/testing/chip-avatar-harness.mjs +0 -22
- package/esm2020/mdc-chips/testing/chip-grid-harness.mjs +0 -43
- package/esm2020/mdc-chips/testing/chip-harness-filters.mjs +0 -9
- package/esm2020/mdc-chips/testing/chip-harness.mjs +0 -58
- package/esm2020/mdc-chips/testing/chip-input-harness.mjs +0 -82
- package/esm2020/mdc-chips/testing/chip-listbox-harness.mjs +0 -59
- package/esm2020/mdc-chips/testing/chip-option-harness.mjs +0 -45
- package/esm2020/mdc-chips/testing/chip-remove-harness.mjs +0 -26
- package/esm2020/mdc-chips/testing/chip-row-harness.mjs +0 -22
- package/esm2020/mdc-chips/testing/chip-set-harness.mjs +0 -26
- package/esm2020/mdc-chips/testing/index.mjs +0 -9
- package/esm2020/mdc-chips/testing/public-api.mjs +0 -18
- package/esm2020/mdc-chips/tokens.mjs +0 -33
- package/esm2020/mdc-core/index.mjs +0 -9
- package/esm2020/mdc-core/mdc-core_public_index.mjs +0 -5
- package/esm2020/mdc-core/option/index.mjs +0 -30
- package/esm2020/mdc-core/option/optgroup.mjs +0 -46
- package/esm2020/mdc-core/option/option.mjs +0 -52
- package/esm2020/mdc-core/public-api.mjs +0 -10
- package/esm2020/mdc-core/testing/index.mjs +0 -9
- package/esm2020/mdc-core/testing/optgroup-harness-filters.mjs +0 -9
- package/esm2020/mdc-core/testing/optgroup-harness.mjs +0 -43
- package/esm2020/mdc-core/testing/option-harness-filters.mjs +0 -9
- package/esm2020/mdc-core/testing/option-harness.mjs +0 -53
- package/esm2020/mdc-core/testing/public-api.mjs +0 -12
- package/esm2020/mdc-dialog/dialog-container.mjs +0 -171
- package/esm2020/mdc-dialog/dialog-content-directives.mjs +0 -179
- package/esm2020/mdc-dialog/dialog-ref.mjs +0 -14
- package/esm2020/mdc-dialog/dialog.mjs +0 -82
- package/esm2020/mdc-dialog/index.mjs +0 -9
- package/esm2020/mdc-dialog/mdc-dialog_public_index.mjs +0 -5
- package/esm2020/mdc-dialog/module.mjs +0 -53
- package/esm2020/mdc-dialog/public-api.mjs +0 -14
- package/esm2020/mdc-dialog/testing/dialog-harness.mjs +0 -29
- package/esm2020/mdc-dialog/testing/dialog-opener.mjs +0 -45
- package/esm2020/mdc-dialog/testing/index.mjs +0 -9
- package/esm2020/mdc-dialog/testing/public-api.mjs +0 -10
- package/esm2020/mdc-form-field/directives/error.mjs +0 -47
- package/esm2020/mdc-form-field/directives/floating-label.mjs +0 -73
- package/esm2020/mdc-form-field/directives/hint.mjs +0 -39
- package/esm2020/mdc-form-field/directives/label.mjs +0 -21
- package/esm2020/mdc-form-field/directives/line-ripple.mjs +0 -59
- package/esm2020/mdc-form-field/directives/notched-outline.mjs +0 -68
- package/esm2020/mdc-form-field/directives/prefix.mjs +0 -32
- package/esm2020/mdc-form-field/directives/suffix.mjs +0 -32
- package/esm2020/mdc-form-field/form-field.mjs +0 -608
- package/esm2020/mdc-form-field/index.mjs +0 -9
- package/esm2020/mdc-form-field/mdc-form-field_public_index.mjs +0 -5
- package/esm2020/mdc-form-field/module.mjs +0 -53
- package/esm2020/mdc-form-field/public-api.mjs +0 -16
- package/esm2020/mdc-form-field/testing/form-field-harness.mjs +0 -58
- package/esm2020/mdc-form-field/testing/index.mjs +0 -9
- package/esm2020/mdc-form-field/testing/public-api.mjs +0 -13
- package/esm2020/mdc-input/index.mjs +0 -9
- package/esm2020/mdc-input/input.mjs +0 -55
- package/esm2020/mdc-input/mdc-input_public_index.mjs +0 -5
- package/esm2020/mdc-input/module.mjs +0 -27
- package/esm2020/mdc-input/public-api.mjs +0 -11
- package/esm2020/mdc-input/testing/index.mjs +0 -9
- package/esm2020/mdc-input/testing/public-api.mjs +0 -9
- package/esm2020/mdc-list/action-list.mjs +0 -31
- package/esm2020/mdc-list/index.mjs +0 -9
- package/esm2020/mdc-list/list-base.mjs +0 -272
- package/esm2020/mdc-list/list-item-sections.mjs +0 -138
- package/esm2020/mdc-list/list-option-types.mjs +0 -16
- package/esm2020/mdc-list/list-option.mjs +0 -253
- package/esm2020/mdc-list/list.mjs +0 -82
- package/esm2020/mdc-list/mdc-list_public_index.mjs +0 -5
- package/esm2020/mdc-list/module.mjs +0 -98
- package/esm2020/mdc-list/nav-list.mjs +0 -31
- package/esm2020/mdc-list/public-api.mjs +0 -18
- package/esm2020/mdc-list/selection-list.mjs +0 -338
- package/esm2020/mdc-list/subheader.mjs +0 -27
- package/esm2020/mdc-list/testing/action-list-harness.mjs +0 -59
- package/esm2020/mdc-list/testing/index.mjs +0 -9
- package/esm2020/mdc-list/testing/list-harness-base.mjs +0 -95
- package/esm2020/mdc-list/testing/list-harness-filters.mjs +0 -9
- package/esm2020/mdc-list/testing/list-harness.mjs +0 -41
- package/esm2020/mdc-list/testing/list-item-harness-base.mjs +0 -150
- package/esm2020/mdc-list/testing/nav-list-harness.mjs +0 -69
- package/esm2020/mdc-list/testing/public-api.mjs +0 -14
- package/esm2020/mdc-list/testing/selection-list-harness.mjs +0 -117
- package/esm2020/mdc-menu/directives.mjs +0 -38
- package/esm2020/mdc-menu/index.mjs +0 -9
- package/esm2020/mdc-menu/mdc-menu_public_index.mjs +0 -5
- package/esm2020/mdc-menu/menu-item.mjs +0 -36
- package/esm2020/mdc-menu/menu.mjs +0 -43
- package/esm2020/mdc-menu/module.mjs +0 -44
- package/esm2020/mdc-menu/public-api.mjs +0 -13
- package/esm2020/mdc-menu/testing/index.mjs +0 -9
- package/esm2020/mdc-menu/testing/menu-harness.mjs +0 -46
- package/esm2020/mdc-menu/testing/public-api.mjs +0 -9
- package/esm2020/mdc-paginator/index.mjs +0 -9
- package/esm2020/mdc-paginator/mdc-paginator_public_index.mjs +0 -5
- package/esm2020/mdc-paginator/module.mjs +0 -30
- package/esm2020/mdc-paginator/paginator.mjs +0 -48
- package/esm2020/mdc-paginator/public-api.mjs +0 -11
- package/esm2020/mdc-paginator/testing/index.mjs +0 -9
- package/esm2020/mdc-paginator/testing/paginator-harness.mjs +0 -36
- package/esm2020/mdc-paginator/testing/public-api.mjs +0 -9
- package/esm2020/mdc-progress-bar/index.mjs +0 -9
- package/esm2020/mdc-progress-bar/mdc-progress-bar_public_index.mjs +0 -5
- package/esm2020/mdc-progress-bar/module.mjs +0 -24
- package/esm2020/mdc-progress-bar/progress-bar.mjs +0 -152
- package/esm2020/mdc-progress-bar/public-api.mjs +0 -11
- package/esm2020/mdc-progress-bar/testing/index.mjs +0 -9
- package/esm2020/mdc-progress-bar/testing/progress-bar-harness.mjs +0 -33
- package/esm2020/mdc-progress-bar/testing/public-api.mjs +0 -9
- package/esm2020/mdc-progress-bar/testing/testing_public_index.mjs +0 -5
- package/esm2020/mdc-progress-spinner/index.mjs +0 -9
- package/esm2020/mdc-progress-spinner/mdc-progress-spinner_public_index.mjs +0 -5
- package/esm2020/mdc-progress-spinner/module.mjs +0 -26
- package/esm2020/mdc-progress-spinner/progress-spinner.mjs +0 -151
- package/esm2020/mdc-progress-spinner/public-api.mjs +0 -11
- package/esm2020/mdc-progress-spinner/testing/index.mjs +0 -9
- package/esm2020/mdc-progress-spinner/testing/progress-spinner-harness.mjs +0 -35
- package/esm2020/mdc-progress-spinner/testing/public-api.mjs +0 -9
- package/esm2020/mdc-progress-spinner/testing/testing_public_index.mjs +0 -5
- package/esm2020/mdc-radio/index.mjs +0 -9
- package/esm2020/mdc-radio/mdc-radio_public_index.mjs +0 -5
- package/esm2020/mdc-radio/module.mjs +0 -26
- package/esm2020/mdc-radio/public-api.mjs +0 -11
- package/esm2020/mdc-radio/radio.mjs +0 -111
- package/esm2020/mdc-radio/testing/index.mjs +0 -9
- package/esm2020/mdc-radio/testing/public-api.mjs +0 -9
- package/esm2020/mdc-radio/testing/radio-harness.mjs +0 -50
- package/esm2020/mdc-select/index.mjs +0 -9
- package/esm2020/mdc-select/mdc-select_public_index.mjs +0 -5
- package/esm2020/mdc-select/module.mjs +0 -46
- package/esm2020/mdc-select/public-api.mjs +0 -12
- package/esm2020/mdc-select/select-animations.mjs +0 -38
- package/esm2020/mdc-select/select-errors.mjs +0 -35
- package/esm2020/mdc-select/select.mjs +0 -172
- package/esm2020/mdc-select/testing/index.mjs +0 -9
- package/esm2020/mdc-select/testing/public-api.mjs +0 -10
- package/esm2020/mdc-select/testing/select-harness-filters.mjs +0 -9
- package/esm2020/mdc-select/testing/select-harness.mjs +0 -29
- package/esm2020/mdc-slide-toggle/index.mjs +0 -9
- package/esm2020/mdc-slide-toggle/mdc-slide-toggle_public_index.mjs +0 -5
- package/esm2020/mdc-slide-toggle/module.mjs +0 -27
- package/esm2020/mdc-slide-toggle/public-api.mjs +0 -12
- package/esm2020/mdc-slide-toggle/slide-toggle-config.mjs +0 -14
- package/esm2020/mdc-slide-toggle/slide-toggle.mjs +0 -99
- package/esm2020/mdc-slide-toggle/testing/index.mjs +0 -9
- package/esm2020/mdc-slide-toggle/testing/public-api.mjs +0 -9
- package/esm2020/mdc-slide-toggle/testing/slide-toggle-harness.mjs +0 -47
- package/esm2020/mdc-slider/global-change-and-input-listener.mjs +0 -59
- package/esm2020/mdc-slider/index.mjs +0 -9
- package/esm2020/mdc-slider/mdc-slider_public_index.mjs +0 -5
- package/esm2020/mdc-slider/module.mjs +0 -26
- package/esm2020/mdc-slider/public-api.mjs +0 -10
- package/esm2020/mdc-slider/slider.mjs +0 -1094
- package/esm2020/mdc-slider/testing/index.mjs +0 -9
- package/esm2020/mdc-slider/testing/public-api.mjs +0 -11
- package/esm2020/mdc-slider/testing/slider-harness-filters.mjs +0 -2
- package/esm2020/mdc-slider/testing/slider-harness.mjs +0 -62
- package/esm2020/mdc-slider/testing/slider-thumb-harness.mjs +0 -94
- package/esm2020/mdc-snack-bar/index.mjs +0 -9
- package/esm2020/mdc-snack-bar/mdc-snack-bar_public_index.mjs +0 -5
- package/esm2020/mdc-snack-bar/module.mjs +0 -51
- package/esm2020/mdc-snack-bar/public-api.mjs +0 -14
- package/esm2020/mdc-snack-bar/simple-snack-bar.mjs +0 -40
- package/esm2020/mdc-snack-bar/snack-bar-container.mjs +0 -41
- package/esm2020/mdc-snack-bar/snack-bar-content.mjs +0 -52
- package/esm2020/mdc-snack-bar/snack-bar.mjs +0 -45
- package/esm2020/mdc-snack-bar/testing/index.mjs +0 -9
- package/esm2020/mdc-snack-bar/testing/public-api.mjs +0 -9
- package/esm2020/mdc-snack-bar/testing/snack-bar-harness.mjs +0 -34
- package/esm2020/mdc-table/cell.mjs +0 -141
- package/esm2020/mdc-table/index.mjs +0 -9
- package/esm2020/mdc-table/mdc-table_public_index.mjs +0 -5
- package/esm2020/mdc-table/module.mjs +0 -94
- package/esm2020/mdc-table/public-api.mjs +0 -14
- package/esm2020/mdc-table/row.mjs +0 -143
- package/esm2020/mdc-table/table-data-source.mjs +0 -24
- package/esm2020/mdc-table/table.mjs +0 -74
- package/esm2020/mdc-table/testing/cell-harness.mjs +0 -50
- package/esm2020/mdc-table/testing/index.mjs +0 -9
- package/esm2020/mdc-table/testing/public-api.mjs +0 -11
- package/esm2020/mdc-table/testing/row-harness.mjs +0 -64
- package/esm2020/mdc-table/testing/table-harness.mjs +0 -30
- package/esm2020/mdc-table/text-column.mjs +0 -58
- package/esm2020/mdc-tabs/index.mjs +0 -9
- package/esm2020/mdc-tabs/ink-bar.mjs +0 -130
- package/esm2020/mdc-tabs/mdc-tabs_public_index.mjs +0 -5
- package/esm2020/mdc-tabs/module.mjs +0 -93
- package/esm2020/mdc-tabs/public-api.mjs +0 -19
- package/esm2020/mdc-tabs/tab-body.mjs +0 -60
- package/esm2020/mdc-tabs/tab-content.mjs +0 -20
- package/esm2020/mdc-tabs/tab-group.mjs +0 -98
- package/esm2020/mdc-tabs/tab-header.mjs +0 -73
- package/esm2020/mdc-tabs/tab-label-wrapper.mjs +0 -32
- package/esm2020/mdc-tabs/tab-label.mjs +0 -22
- package/esm2020/mdc-tabs/tab-nav-bar/tab-nav-bar.mjs +0 -202
- package/esm2020/mdc-tabs/tab.mjs +0 -34
- package/esm2020/mdc-tabs/testing/index.mjs +0 -9
- package/esm2020/mdc-tabs/testing/public-api.mjs +0 -13
- package/esm2020/mdc-tabs/testing/tab-group-harness.mjs +0 -56
- package/esm2020/mdc-tabs/testing/tab-harness-filters.mjs +0 -2
- package/esm2020/mdc-tabs/testing/tab-harness.mjs +0 -64
- package/esm2020/mdc-tabs/testing/tab-link-harness.mjs +0 -40
- package/esm2020/mdc-tabs/testing/tab-nav-bar-harness.mjs +0 -66
- package/esm2020/mdc-tabs/testing/tab-nav-panel-harness.mjs +0 -27
- package/esm2020/mdc-tooltip/index.mjs +0 -9
- package/esm2020/mdc-tooltip/mdc-tooltip_public_index.mjs +0 -5
- package/esm2020/mdc-tooltip/module.mjs +0 -31
- package/esm2020/mdc-tooltip/public-api.mjs +0 -12
- package/esm2020/mdc-tooltip/testing/index.mjs +0 -9
- package/esm2020/mdc-tooltip/testing/public-api.mjs +0 -9
- package/esm2020/mdc-tooltip/testing/tooltip-harness.mjs +0 -30
- package/esm2020/mdc-tooltip/tooltip-animations.mjs +0 -24
- package/esm2020/mdc-tooltip/tooltip.mjs +0 -132
- package/fesm2015/mdc-autocomplete/testing.mjs +0 -50
- package/fesm2015/mdc-autocomplete/testing.mjs.map +0 -1
- package/fesm2015/mdc-autocomplete.mjs +0 -196
- package/fesm2015/mdc-autocomplete.mjs.map +0 -1
- package/fesm2015/mdc-button/testing.mjs +0 -75
- package/fesm2015/mdc-button/testing.mjs.map +0 -1
- package/fesm2015/mdc-button.mjs +0 -490
- package/fesm2015/mdc-button.mjs.map +0 -1
- package/fesm2015/mdc-card/testing.mjs +0 -63
- package/fesm2015/mdc-card/testing.mjs.map +0 -1
- package/fesm2015/mdc-card.mjs +0 -351
- package/fesm2015/mdc-card.mjs.map +0 -1
- package/fesm2015/mdc-checkbox/testing.mjs +0 -56
- package/fesm2015/mdc-checkbox/testing.mjs.map +0 -1
- package/fesm2015/mdc-checkbox.mjs +0 -142
- package/fesm2015/mdc-checkbox.mjs.map +0 -1
- package/fesm2015/mdc-chips/testing.mjs +0 -394
- package/fesm2015/mdc-chips/testing.mjs.map +0 -1
- package/fesm2015/mdc-chips.mjs +0 -2169
- package/fesm2015/mdc-chips.mjs.map +0 -1
- package/fesm2015/mdc-core/testing.mjs +0 -118
- package/fesm2015/mdc-core/testing.mjs.map +0 -1
- package/fesm2015/mdc-core.mjs +0 -141
- package/fesm2015/mdc-core.mjs.map +0 -1
- package/fesm2015/mdc-dialog/testing.mjs +0 -90
- package/fesm2015/mdc-dialog/testing.mjs.map +0 -1
- package/fesm2015/mdc-dialog.mjs +0 -500
- package/fesm2015/mdc-dialog.mjs.map +0 -1
- package/fesm2015/mdc-form-field/testing.mjs +0 -78
- package/fesm2015/mdc-form-field/testing.mjs.map +0 -1
- package/fesm2015/mdc-form-field.mjs +0 -1018
- package/fesm2015/mdc-form-field.mjs.map +0 -1
- package/fesm2015/mdc-input/testing.mjs +0 -18
- package/fesm2015/mdc-input/testing.mjs.map +0 -1
- package/fesm2015/mdc-input.mjs +0 -103
- package/fesm2015/mdc-input.mjs.map +0 -1
- package/fesm2015/mdc-list/testing.mjs +0 -574
- package/fesm2015/mdc-list/testing.mjs.map +0 -1
- package/fesm2015/mdc-list.mjs +0 -1264
- package/fesm2015/mdc-list.mjs.map +0 -1
- package/fesm2015/mdc-menu/testing.mjs +0 -59
- package/fesm2015/mdc-menu/testing.mjs.map +0 -1
- package/fesm2015/mdc-menu.mjs +0 -174
- package/fesm2015/mdc-menu.mjs.map +0 -1
- package/fesm2015/mdc-paginator/testing.mjs +0 -55
- package/fesm2015/mdc-paginator/testing.mjs.map +0 -1
- package/fesm2015/mdc-paginator.mjs +0 -100
- package/fesm2015/mdc-paginator.mjs.map +0 -1
- package/fesm2015/mdc-progress-bar/testing.mjs +0 -54
- package/fesm2015/mdc-progress-bar/testing.mjs.map +0 -1
- package/fesm2015/mdc-progress-bar.mjs +0 -198
- package/fesm2015/mdc-progress-bar.mjs.map +0 -1
- package/fesm2015/mdc-progress-spinner/testing.mjs +0 -56
- package/fesm2015/mdc-progress-spinner/testing.mjs.map +0 -1
- package/fesm2015/mdc-progress-spinner.mjs +0 -200
- package/fesm2015/mdc-progress-spinner.mjs.map +0 -1
- package/fesm2015/mdc-radio/testing.mjs +0 -63
- package/fesm2015/mdc-radio/testing.mjs.map +0 -1
- package/fesm2015/mdc-radio.mjs +0 -155
- package/fesm2015/mdc-radio.mjs.map +0 -1
- package/fesm2015/mdc-select/testing.mjs +0 -48
- package/fesm2015/mdc-select/testing.mjs.map +0 -1
- package/fesm2015/mdc-select.mjs +0 -273
- package/fesm2015/mdc-select.mjs.map +0 -1
- package/fesm2015/mdc-slide-toggle/testing.mjs +0 -66
- package/fesm2015/mdc-slide-toggle/testing.mjs.map +0 -1
- package/fesm2015/mdc-slide-toggle.mjs +0 -159
- package/fesm2015/mdc-slide-toggle.mjs.map +0 -1
- package/fesm2015/mdc-slider/testing.mjs +0 -199
- package/fesm2015/mdc-slider/testing.mjs.map +0 -1
- package/fesm2015/mdc-slider.mjs +0 -1212
- package/fesm2015/mdc-slider.mjs.map +0 -1
- package/fesm2015/mdc-snack-bar/testing.mjs +0 -49
- package/fesm2015/mdc-snack-bar/testing.mjs.map +0 -1
- package/fesm2015/mdc-snack-bar.mjs +0 -229
- package/fesm2015/mdc-snack-bar.mjs.map +0 -1
- package/fesm2015/mdc-table/testing.mjs +0 -158
- package/fesm2015/mdc-table/testing.mjs.map +0 -1
- package/fesm2015/mdc-table.mjs +0 -540
- package/fesm2015/mdc-table.mjs.map +0 -1
- package/fesm2015/mdc-tabs/testing.mjs +0 -273
- package/fesm2015/mdc-tabs/testing.mjs.map +0 -1
- package/fesm2015/mdc-tabs.mjs +0 -737
- package/fesm2015/mdc-tabs.mjs.map +0 -1
- package/fesm2015/mdc-tooltip/testing.mjs +0 -49
- package/fesm2015/mdc-tooltip/testing.mjs.map +0 -1
- package/fesm2015/mdc-tooltip.mjs +0 -206
- package/fesm2015/mdc-tooltip.mjs.map +0 -1
- package/fesm2020/mdc-autocomplete/testing.mjs +0 -58
- package/fesm2020/mdc-autocomplete/testing.mjs.map +0 -1
- package/fesm2020/mdc-autocomplete.mjs +0 -196
- package/fesm2020/mdc-autocomplete.mjs.map +0 -1
- package/fesm2020/mdc-button/testing.mjs +0 -69
- package/fesm2020/mdc-button/testing.mjs.map +0 -1
- package/fesm2020/mdc-button.mjs +0 -510
- package/fesm2020/mdc-button.mjs.map +0 -1
- package/fesm2020/mdc-card/testing.mjs +0 -69
- package/fesm2020/mdc-card/testing.mjs.map +0 -1
- package/fesm2020/mdc-card.mjs +0 -349
- package/fesm2020/mdc-card.mjs.map +0 -1
- package/fesm2020/mdc-checkbox/testing.mjs +0 -60
- package/fesm2020/mdc-checkbox/testing.mjs.map +0 -1
- package/fesm2020/mdc-checkbox.mjs +0 -139
- package/fesm2020/mdc-checkbox.mjs.map +0 -1
- package/fesm2020/mdc-chips/testing.mjs +0 -395
- package/fesm2020/mdc-chips/testing.mjs.map +0 -1
- package/fesm2020/mdc-chips.mjs +0 -2161
- package/fesm2020/mdc-chips.mjs.map +0 -1
- package/fesm2020/mdc-core/testing.mjs +0 -129
- package/fesm2020/mdc-core/testing.mjs.map +0 -1
- package/fesm2020/mdc-core.mjs +0 -139
- package/fesm2020/mdc-core.mjs.map +0 -1
- package/fesm2020/mdc-dialog/testing.mjs +0 -90
- package/fesm2020/mdc-dialog/testing.mjs.map +0 -1
- package/fesm2020/mdc-dialog.mjs +0 -499
- package/fesm2020/mdc-dialog.mjs.map +0 -1
- package/fesm2020/mdc-form-field/testing.mjs +0 -78
- package/fesm2020/mdc-form-field/testing.mjs.map +0 -1
- package/fesm2020/mdc-form-field.mjs +0 -1014
- package/fesm2020/mdc-form-field.mjs.map +0 -1
- package/fesm2020/mdc-input/testing.mjs +0 -18
- package/fesm2020/mdc-input/testing.mjs.map +0 -1
- package/fesm2020/mdc-input.mjs +0 -103
- package/fesm2020/mdc-input.mjs.map +0 -1
- package/fesm2020/mdc-list/testing.mjs +0 -544
- package/fesm2020/mdc-list/testing.mjs.map +0 -1
- package/fesm2020/mdc-list.mjs +0 -1260
- package/fesm2020/mdc-list.mjs.map +0 -1
- package/fesm2020/mdc-menu/testing.mjs +0 -65
- package/fesm2020/mdc-menu/testing.mjs.map +0 -1
- package/fesm2020/mdc-menu.mjs +0 -172
- package/fesm2020/mdc-menu.mjs.map +0 -1
- package/fesm2020/mdc-paginator/testing.mjs +0 -55
- package/fesm2020/mdc-paginator/testing.mjs.map +0 -1
- package/fesm2020/mdc-paginator.mjs +0 -98
- package/fesm2020/mdc-paginator.mjs.map +0 -1
- package/fesm2020/mdc-progress-bar/testing.mjs +0 -56
- package/fesm2020/mdc-progress-bar/testing.mjs.map +0 -1
- package/fesm2020/mdc-progress-bar.mjs +0 -196
- package/fesm2020/mdc-progress-bar.mjs.map +0 -1
- package/fesm2020/mdc-progress-spinner/testing.mjs +0 -58
- package/fesm2020/mdc-progress-spinner/testing.mjs.map +0 -1
- package/fesm2020/mdc-progress-spinner.mjs +0 -197
- package/fesm2020/mdc-progress-spinner.mjs.map +0 -1
- package/fesm2020/mdc-radio/testing.mjs +0 -69
- package/fesm2020/mdc-radio/testing.mjs.map +0 -1
- package/fesm2020/mdc-radio.mjs +0 -153
- package/fesm2020/mdc-radio.mjs.map +0 -1
- package/fesm2020/mdc-select/testing.mjs +0 -56
- package/fesm2020/mdc-select/testing.mjs.map +0 -1
- package/fesm2020/mdc-select.mjs +0 -273
- package/fesm2020/mdc-select.mjs.map +0 -1
- package/fesm2020/mdc-slide-toggle/testing.mjs +0 -66
- package/fesm2020/mdc-slide-toggle/testing.mjs.map +0 -1
- package/fesm2020/mdc-slide-toggle.mjs +0 -157
- package/fesm2020/mdc-slide-toggle.mjs.map +0 -1
- package/fesm2020/mdc-slider/testing.mjs +0 -172
- package/fesm2020/mdc-slider/testing.mjs.map +0 -1
- package/fesm2020/mdc-slider.mjs +0 -1191
- package/fesm2020/mdc-slider.mjs.map +0 -1
- package/fesm2020/mdc-snack-bar/testing.mjs +0 -53
- package/fesm2020/mdc-snack-bar/testing.mjs.map +0 -1
- package/fesm2020/mdc-snack-bar.mjs +0 -232
- package/fesm2020/mdc-snack-bar.mjs.map +0 -1
- package/fesm2020/mdc-table/testing.mjs +0 -158
- package/fesm2020/mdc-table/testing.mjs.map +0 -1
- package/fesm2020/mdc-table.mjs +0 -539
- package/fesm2020/mdc-table.mjs.map +0 -1
- package/fesm2020/mdc-tabs/testing.mjs +0 -265
- package/fesm2020/mdc-tabs/testing.mjs.map +0 -1
- package/fesm2020/mdc-tabs.mjs +0 -723
- package/fesm2020/mdc-tabs.mjs.map +0 -1
- package/fesm2020/mdc-tooltip/testing.mjs +0 -49
- package/fesm2020/mdc-tooltip/testing.mjs.map +0 -1
- package/fesm2020/mdc-tooltip.mjs +0 -202
- package/fesm2020/mdc-tooltip.mjs.map +0 -1
- package/mdc-autocomplete/_autocomplete-theme.import.scss +0 -5
- package/mdc-autocomplete/_autocomplete-theme.scss +0 -48
- package/mdc-autocomplete/index.d.ts +0 -97
- package/mdc-autocomplete/testing/index.d.ts +0 -32
- package/mdc-button/_button-base.import.scss +0 -4
- package/mdc-button/_button-base.scss +0 -95
- package/mdc-button/_button-theme-private.scss +0 -62
- package/mdc-button/_button-theme.import.scss +0 -16
- package/mdc-button/_button-theme.scss +0 -224
- package/mdc-button/_fab-theme.scss +0 -90
- package/mdc-button/_icon-button-theme.scss +0 -76
- package/mdc-button/index.d.ts +0 -216
- package/mdc-button/testing/index.d.ts +0 -41
- package/mdc-card/_card-theme.import.scss +0 -7
- package/mdc-card/_card-theme.scss +0 -74
- package/mdc-card/index.d.ts +0 -194
- package/mdc-card/testing/index.d.ts +0 -44
- package/mdc-checkbox/_checkbox-private.scss +0 -53
- package/mdc-checkbox/_checkbox-theme.import.scss +0 -15
- package/mdc-checkbox/_checkbox-theme.scss +0 -122
- package/mdc-checkbox/index.d.ts +0 -87
- package/mdc-checkbox/testing/index.d.ts +0 -28
- package/mdc-chips/_chips-theme.import.scss +0 -8
- package/mdc-chips/_chips-theme.scss +0 -117
- package/mdc-chips/index.d.ts +0 -979
- package/mdc-chips/testing/index.d.ts +0 -232
- package/mdc-core/_core-theme.import.scss +0 -10
- package/mdc-core/_core-theme.scss +0 -78
- package/mdc-core/_elevation.scss +0 -38
- package/mdc-core/color/_all-color.scss +0 -25
- package/mdc-core/density/_all-density.scss +0 -25
- package/mdc-core/index.d.ts +0 -206
- package/mdc-core/mdc-helpers/_focus-indicators-theme.scss +0 -39
- package/mdc-core/mdc-helpers/_focus-indicators.import.scss +0 -10
- package/mdc-core/mdc-helpers/_focus-indicators.scss +0 -15
- package/mdc-core/mdc-helpers/_mdc-helpers.import.scss +0 -8
- package/mdc-core/mdc-helpers/_mdc-helpers.scss +0 -221
- package/mdc-core/option/_optgroup-theme.import.scss +0 -7
- package/mdc-core/option/_optgroup-theme.scss +0 -44
- package/mdc-core/option/_option-theme.import.scss +0 -7
- package/mdc-core/option/_option-theme.scss +0 -87
- package/mdc-core/testing/index.d.ts +0 -64
- package/mdc-core/theming/_all-theme.scss +0 -61
- package/mdc-core/theming/prebuilt/deeppurple-amber.css +0 -1
- package/mdc-core/theming/prebuilt/indigo-pink.css +0 -1
- package/mdc-core/theming/prebuilt/pink-bluegrey.css +0 -1
- package/mdc-core/theming/prebuilt/purple-green.css +0 -1
- package/mdc-core/typography/_all-typography.scss +0 -99
- package/mdc-dialog/_dialog-legacy-padding.import.scss +0 -1
- package/mdc-dialog/_dialog-legacy-padding.scss +0 -31
- package/mdc-dialog/_dialog-theme.import.scss +0 -5
- package/mdc-dialog/_dialog-theme.scss +0 -78
- package/mdc-dialog/_mdc-dialog-structure-overrides.import.scss +0 -1
- package/mdc-dialog/_mdc-dialog-structure-overrides.scss +0 -56
- package/mdc-dialog/index.d.ts +0 -217
- package/mdc-dialog/testing/index.d.ts +0 -47
- package/mdc-form-field/_form-field-density.scss +0 -119
- package/mdc-form-field/_form-field-focus-overlay.scss +0 -34
- package/mdc-form-field/_form-field-high-contrast.scss +0 -39
- package/mdc-form-field/_form-field-native-select.scss +0 -133
- package/mdc-form-field/_form-field-sizing.scss +0 -40
- package/mdc-form-field/_form-field-subscript.scss +0 -83
- package/mdc-form-field/_form-field-theme.scss +0 -148
- package/mdc-form-field/_mdc-text-field-structure-overrides.scss +0 -129
- package/mdc-form-field/_mdc-text-field-textarea-overrides.scss +0 -36
- package/mdc-form-field/_mdc-text-field-theme-variable-refresh.scss +0 -63
- package/mdc-form-field/index.d.ts +0 -431
- package/mdc-form-field/testing/index.d.ts +0 -48
- package/mdc-input/_input-theme.import.scss +0 -5
- package/mdc-input/_input-theme.scss +0 -35
- package/mdc-input/index.d.ts +0 -30
- package/mdc-input/testing/index.d.ts +0 -20
- package/mdc-list/_interactive-list-theme.import.scss +0 -5
- package/mdc-list/_interactive-list-theme.scss +0 -40
- package/mdc-list/_list-option-theme.import.scss +0 -13
- package/mdc-list/_list-option-theme.scss +0 -28
- package/mdc-list/_list-option-trailing-avatar-compat.scss +0 -58
- package/mdc-list/_list-theme.import.scss +0 -17
- package/mdc-list/_list-theme.scss +0 -81
- package/mdc-list/index.d.ts +0 -534
- package/mdc-list/testing/index.d.ts +0 -372
- package/mdc-menu/_menu-theme.import.scss +0 -5
- package/mdc-menu/_menu-theme.scss +0 -88
- package/mdc-menu/index.d.ts +0 -110
- package/mdc-menu/testing/index.d.ts +0 -38
- package/mdc-paginator/_paginator-theme.import.scss +0 -9
- package/mdc-paginator/_paginator-theme.scss +0 -106
- package/mdc-paginator/_paginator-variables.import.scss +0 -1
- package/mdc-paginator/_paginator-variables.scss +0 -13
- package/mdc-paginator/index.d.ts +0 -72
- package/mdc-paginator/testing/index.d.ts +0 -30
- package/mdc-progress-bar/_progress-bar-theme.import.scss +0 -6
- package/mdc-progress-bar/_progress-bar-theme.scss +0 -57
- package/mdc-progress-bar/index.d.ts +0 -98
- package/mdc-progress-bar/testing/index.d.ts +0 -24
- package/mdc-progress-spinner/_progress-spinner-theme.import.scss +0 -6
- package/mdc-progress-spinner/_progress-spinner-theme.scss +0 -48
- package/mdc-progress-spinner/index.d.ts +0 -90
- package/mdc-progress-spinner/testing/index.d.ts +0 -26
- package/mdc-radio/_radio-theme.import.scss +0 -7
- package/mdc-radio/_radio-theme.scss +0 -110
- package/mdc-radio/index.d.ts +0 -72
- package/mdc-radio/testing/index.d.ts +0 -43
- package/mdc-select/_select-theme.import.scss +0 -10
- package/mdc-select/_select-theme.scss +0 -100
- package/mdc-select/index.d.ts +0 -111
- package/mdc-select/testing/index.d.ts +0 -28
- package/mdc-slide-toggle/_slide-toggle-theme.import.scss +0 -11
- package/mdc-slide-toggle/_slide-toggle-theme.scss +0 -140
- package/mdc-slide-toggle/index.d.ts +0 -83
- package/mdc-slide-toggle/testing/index.d.ts +0 -27
- package/mdc-slider/_slider-theme.import.scss +0 -5
- package/mdc-slider/_slider-theme.scss +0 -125
- package/mdc-slider/index.d.ts +0 -435
- package/mdc-slider/testing/index.d.ts +0 -92
- package/mdc-snack-bar/_snack-bar-theme.import.scss +0 -8
- package/mdc-snack-bar/_snack-bar-theme.scss +0 -81
- package/mdc-snack-bar/index.d.ts +0 -136
- package/mdc-snack-bar/testing/index.d.ts +0 -23
- package/mdc-table/_table-theme.import.scss +0 -11
- package/mdc-table/_table-theme.scss +0 -78
- package/mdc-table/index.d.ts +0 -238
- package/mdc-table/testing/index.d.ts +0 -118
- package/mdc-tabs/_tabs-common.import.scss +0 -14
- package/mdc-tabs/_tabs-common.scss +0 -196
- package/mdc-tabs/_tabs-theme.import.scss +0 -8
- package/mdc-tabs/_tabs-theme.scss +0 -146
- package/mdc-tabs/index.d.ts +0 -307
- package/mdc-tabs/testing/index.d.ts +0 -151
- package/mdc-tooltip/_tooltip-theme.import.scss +0 -5
- package/mdc-tooltip/_tooltip-theme.scss +0 -49
- package/mdc-tooltip/index.d.ts +0 -118
- package/mdc-tooltip/testing/index.d.ts +0 -26
|
@@ -1,431 +0,0 @@
|
|
|
1
|
-
import { AbstractControlDirective } from '@angular/forms';
|
|
2
|
-
import { AfterContentChecked } from '@angular/core';
|
|
3
|
-
import { AfterContentInit } from '@angular/core';
|
|
4
|
-
import { AfterViewInit } from '@angular/core';
|
|
5
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
6
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
7
|
-
import { Directionality } from '@angular/cdk/bidi';
|
|
8
|
-
import { ElementRef } from '@angular/core';
|
|
9
|
-
import { getMatFormFieldDuplicatedHintError } from '@angular/material/form-field';
|
|
10
|
-
import { getMatFormFieldMissingControlError } from '@angular/material/form-field';
|
|
11
|
-
import { getMatFormFieldPlaceholderConflictError } from '@angular/material/form-field';
|
|
12
|
-
import * as i0 from '@angular/core';
|
|
13
|
-
import * as i10 from '@angular/material-experimental/mdc-core';
|
|
14
|
-
import * as i11 from '@angular/common';
|
|
15
|
-
import * as i12 from '@angular/cdk/observers';
|
|
16
|
-
import { InjectionToken } from '@angular/core';
|
|
17
|
-
import { MAT_FORM_FIELD } from '@angular/material/form-field';
|
|
18
|
-
import { _MAT_HINT } from '@angular/material/form-field';
|
|
19
|
-
import { matFormFieldAnimations } from '@angular/material/form-field';
|
|
20
|
-
import { MatFormFieldControl } from '@angular/material/form-field';
|
|
21
|
-
import { MatPlaceholder } from '@angular/material/form-field';
|
|
22
|
-
import { NgZone } from '@angular/core';
|
|
23
|
-
import { OnDestroy } from '@angular/core';
|
|
24
|
-
import { Platform } from '@angular/cdk/platform';
|
|
25
|
-
import { QueryList } from '@angular/core';
|
|
26
|
-
import { ThemePalette } from '@angular/material-experimental/mdc-core';
|
|
27
|
-
|
|
28
|
-
/** Type for the available floatLabel values. */
|
|
29
|
-
export declare type FloatLabelType = 'always' | 'auto';
|
|
30
|
-
|
|
31
|
-
export { getMatFormFieldDuplicatedHintError }
|
|
32
|
-
|
|
33
|
-
export { getMatFormFieldMissingControlError }
|
|
34
|
-
|
|
35
|
-
export { getMatFormFieldPlaceholderConflictError }
|
|
36
|
-
|
|
37
|
-
declare namespace i1 {
|
|
38
|
-
export {
|
|
39
|
-
FloatLabelType,
|
|
40
|
-
MatFormFieldAppearance,
|
|
41
|
-
SubscriptSizing,
|
|
42
|
-
MatFormFieldDefaultOptions,
|
|
43
|
-
MAT_FORM_FIELD_DEFAULT_OPTIONS,
|
|
44
|
-
MatFormField
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
declare namespace i2 {
|
|
49
|
-
export {
|
|
50
|
-
MatLabel
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
declare namespace i3 {
|
|
55
|
-
export {
|
|
56
|
-
MAT_ERROR,
|
|
57
|
-
MatError
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
declare namespace i4 {
|
|
62
|
-
export {
|
|
63
|
-
MatHint
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
declare namespace i5 {
|
|
68
|
-
export {
|
|
69
|
-
MAT_PREFIX,
|
|
70
|
-
MatPrefix
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
declare namespace i6 {
|
|
75
|
-
export {
|
|
76
|
-
MAT_SUFFIX,
|
|
77
|
-
MatSuffix
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
declare namespace i7 {
|
|
82
|
-
export {
|
|
83
|
-
MatFormFieldFloatingLabel
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
declare namespace i8 {
|
|
88
|
-
export {
|
|
89
|
-
MatFormFieldNotchedOutline
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
declare namespace i9 {
|
|
94
|
-
export {
|
|
95
|
-
MatFormFieldLineRipple
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* Injection token that can be used to reference instances of `MatError`. It serves as
|
|
101
|
-
* alternative token to the actual `MatError` class which could cause unnecessary
|
|
102
|
-
* retention of the class and its directive metadata.
|
|
103
|
-
*/
|
|
104
|
-
export declare const MAT_ERROR: InjectionToken<MatError>;
|
|
105
|
-
|
|
106
|
-
export { MAT_FORM_FIELD }
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
* Injection token that can be used to configure the
|
|
110
|
-
* default options for all form field within an app.
|
|
111
|
-
*/
|
|
112
|
-
export declare const MAT_FORM_FIELD_DEFAULT_OPTIONS: InjectionToken<MatFormFieldDefaultOptions>;
|
|
113
|
-
|
|
114
|
-
export { _MAT_HINT }
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* Injection token that can be used to reference instances of `MatPrefix`. It serves as
|
|
118
|
-
* alternative token to the actual `MatPrefix` class which could cause unnecessary
|
|
119
|
-
* retention of the class and its directive metadata.
|
|
120
|
-
*/
|
|
121
|
-
export declare const MAT_PREFIX: InjectionToken<MatPrefix>;
|
|
122
|
-
|
|
123
|
-
/**
|
|
124
|
-
* Injection token that can be used to reference instances of `MatSuffix`. It serves as
|
|
125
|
-
* alternative token to the actual `MatSuffix` class which could cause unnecessary
|
|
126
|
-
* retention of the class and its directive metadata.
|
|
127
|
-
*/
|
|
128
|
-
export declare const MAT_SUFFIX: InjectionToken<MatSuffix>;
|
|
129
|
-
|
|
130
|
-
/** Single error message to be shown underneath the form-field. */
|
|
131
|
-
export declare class MatError {
|
|
132
|
-
id: string;
|
|
133
|
-
constructor(ariaLive: string, elementRef: ElementRef);
|
|
134
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatError, [{ attribute: "aria-live"; }, null]>;
|
|
135
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatError, "mat-error", never, { "id": "id"; }, {}, never, never, false>;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
/** Container for form controls that applies Material Design styling and behavior. */
|
|
139
|
-
export declare class MatFormField implements AfterContentInit, AfterContentChecked, AfterViewInit, OnDestroy {
|
|
140
|
-
private _elementRef;
|
|
141
|
-
private _changeDetectorRef;
|
|
142
|
-
private _ngZone;
|
|
143
|
-
private _dir;
|
|
144
|
-
private _platform;
|
|
145
|
-
private _defaults?;
|
|
146
|
-
_animationMode?: string | undefined;
|
|
147
|
-
private _document?;
|
|
148
|
-
_textField: ElementRef<HTMLElement>;
|
|
149
|
-
_iconPrefixContainer: ElementRef<HTMLElement>;
|
|
150
|
-
_textPrefixContainer: ElementRef<HTMLElement>;
|
|
151
|
-
_floatingLabel: MatFormFieldFloatingLabel | undefined;
|
|
152
|
-
_notchedOutline: MatFormFieldNotchedOutline | undefined;
|
|
153
|
-
_lineRipple: MatFormFieldLineRipple | undefined;
|
|
154
|
-
_labelChildNonStatic: MatLabel | undefined;
|
|
155
|
-
_labelChildStatic: MatLabel | undefined;
|
|
156
|
-
_formFieldControl: MatFormFieldControl<any>;
|
|
157
|
-
_prefixChildren: QueryList<MatPrefix>;
|
|
158
|
-
_suffixChildren: QueryList<MatSuffix>;
|
|
159
|
-
_errorChildren: QueryList<MatError>;
|
|
160
|
-
_hintChildren: QueryList<MatHint>;
|
|
161
|
-
/** Whether the required marker should be hidden. */
|
|
162
|
-
get hideRequiredMarker(): boolean;
|
|
163
|
-
set hideRequiredMarker(value: BooleanInput);
|
|
164
|
-
private _hideRequiredMarker;
|
|
165
|
-
/** The color palette for the form field. */
|
|
166
|
-
color: ThemePalette;
|
|
167
|
-
/** Whether the label should always float or float as the user types. */
|
|
168
|
-
get floatLabel(): FloatLabelType;
|
|
169
|
-
set floatLabel(value: FloatLabelType);
|
|
170
|
-
private _floatLabel;
|
|
171
|
-
/** The form field appearance style. */
|
|
172
|
-
get appearance(): MatFormFieldAppearance;
|
|
173
|
-
set appearance(value: MatFormFieldAppearance);
|
|
174
|
-
private _appearance;
|
|
175
|
-
/**
|
|
176
|
-
* Whether the form field should reserve space for one line of hint/error text (default)
|
|
177
|
-
* or to have the spacing grow from 0px as needed based on the size of the hint/error content.
|
|
178
|
-
* Note that when using dynamic sizing, layout shifts will occur when hint/error text changes.
|
|
179
|
-
*/
|
|
180
|
-
get subscriptSizing(): SubscriptSizing;
|
|
181
|
-
set subscriptSizing(value: SubscriptSizing);
|
|
182
|
-
private _subscriptSizing;
|
|
183
|
-
/** Text for the form field hint. */
|
|
184
|
-
get hintLabel(): string;
|
|
185
|
-
set hintLabel(value: string);
|
|
186
|
-
private _hintLabel;
|
|
187
|
-
_hasIconPrefix: boolean;
|
|
188
|
-
_hasTextPrefix: boolean;
|
|
189
|
-
_hasIconSuffix: boolean;
|
|
190
|
-
_hasTextSuffix: boolean;
|
|
191
|
-
readonly _labelId: string;
|
|
192
|
-
readonly _hintLabelId: string;
|
|
193
|
-
/** State of the mat-hint and mat-error animations. */
|
|
194
|
-
_subscriptAnimationState: string;
|
|
195
|
-
/** Width of the label element (at scale=1). */
|
|
196
|
-
_labelWidth: number;
|
|
197
|
-
/** Gets the current form field control */
|
|
198
|
-
get _control(): MatFormFieldControl<any>;
|
|
199
|
-
set _control(value: MatFormFieldControl<any>);
|
|
200
|
-
private _destroyed;
|
|
201
|
-
private _isFocused;
|
|
202
|
-
private _explicitFormFieldControl;
|
|
203
|
-
private _needsOutlineLabelOffsetUpdateOnStable;
|
|
204
|
-
constructor(_elementRef: ElementRef, _changeDetectorRef: ChangeDetectorRef, _ngZone: NgZone, _dir: Directionality, _platform: Platform, _defaults?: MatFormFieldDefaultOptions | undefined, _animationMode?: string | undefined, _document?: any);
|
|
205
|
-
ngAfterViewInit(): void;
|
|
206
|
-
ngAfterContentInit(): void;
|
|
207
|
-
ngAfterContentChecked(): void;
|
|
208
|
-
ngOnDestroy(): void;
|
|
209
|
-
/**
|
|
210
|
-
* Gets the id of the label element. If no label is present, returns `null`.
|
|
211
|
-
*/
|
|
212
|
-
getLabelId(): string | null;
|
|
213
|
-
/**
|
|
214
|
-
* Gets an ElementRef for the element that a overlay attached to the form field
|
|
215
|
-
* should be positioned relative to.
|
|
216
|
-
*/
|
|
217
|
-
getConnectedOverlayOrigin(): ElementRef;
|
|
218
|
-
/** Animates the placeholder up and locks it in position. */
|
|
219
|
-
_animateAndLockLabel(): void;
|
|
220
|
-
/** Initializes the registered form field control. */
|
|
221
|
-
private _initializeControl;
|
|
222
|
-
private _checkPrefixAndSuffixTypes;
|
|
223
|
-
/** Initializes the prefix and suffix containers. */
|
|
224
|
-
private _initializePrefixAndSuffix;
|
|
225
|
-
/**
|
|
226
|
-
* Initializes the subscript by validating hints and synchronizing "aria-describedby" ids
|
|
227
|
-
* with the custom form field control. Also subscribes to hint and error changes in order
|
|
228
|
-
* to be able to validate and synchronize ids on change.
|
|
229
|
-
*/
|
|
230
|
-
private _initializeSubscript;
|
|
231
|
-
/** Throws an error if the form field's control is missing. */
|
|
232
|
-
private _assertFormFieldControl;
|
|
233
|
-
private _updateFocusState;
|
|
234
|
-
/**
|
|
235
|
-
* The floating label in the docked state needs to account for prefixes. The horizontal offset
|
|
236
|
-
* is calculated whenever the appearance changes to `outline`, the prefixes change, or when the
|
|
237
|
-
* form field is added to the DOM. This method sets up all subscriptions which are needed to
|
|
238
|
-
* trigger the label offset update. In general, we want to avoid performing measurements often,
|
|
239
|
-
* so we rely on the `NgZone` as indicator when the offset should be recalculated, instead of
|
|
240
|
-
* checking every change detection cycle.
|
|
241
|
-
*/
|
|
242
|
-
private _initializeOutlineLabelOffsetSubscriptions;
|
|
243
|
-
/** Whether the floating label should always float or not. */
|
|
244
|
-
_shouldAlwaysFloat(): boolean;
|
|
245
|
-
_hasOutline(): boolean;
|
|
246
|
-
/**
|
|
247
|
-
* Whether the label should display in the infix. Labels in the outline appearance are
|
|
248
|
-
* displayed as part of the notched-outline and are horizontally offset to account for
|
|
249
|
-
* form field prefix content. This won't work in server side rendering since we cannot
|
|
250
|
-
* measure the width of the prefix container. To make the docked label appear as if the
|
|
251
|
-
* right offset has been calculated, we forcibly render the label inside the infix. Since
|
|
252
|
-
* the label is part of the infix, the label cannot overflow the prefix content.
|
|
253
|
-
*/
|
|
254
|
-
_forceDisplayInfixLabel(): boolean | 0;
|
|
255
|
-
_hasFloatingLabel(): boolean;
|
|
256
|
-
_shouldLabelFloat(): boolean;
|
|
257
|
-
/**
|
|
258
|
-
* Determines whether a class from the AbstractControlDirective
|
|
259
|
-
* should be forwarded to the host element.
|
|
260
|
-
*/
|
|
261
|
-
_shouldForward(prop: keyof AbstractControlDirective): boolean;
|
|
262
|
-
/** Determines whether to display hints or errors. */
|
|
263
|
-
_getDisplayedMessages(): 'error' | 'hint';
|
|
264
|
-
/** Refreshes the width of the outline-notch, if present. */
|
|
265
|
-
_refreshOutlineNotchWidth(): void;
|
|
266
|
-
/** Does any extra processing that is required when handling the hints. */
|
|
267
|
-
private _processHints;
|
|
268
|
-
/**
|
|
269
|
-
* Ensure that there is a maximum of one of each "mat-hint" alignment specified. The hint
|
|
270
|
-
* label specified set through the input is being considered as "start" aligned.
|
|
271
|
-
*
|
|
272
|
-
* This method is a noop if Angular runs in production mode.
|
|
273
|
-
*/
|
|
274
|
-
private _validateHints;
|
|
275
|
-
/**
|
|
276
|
-
* Sets the list of element IDs that describe the child control. This allows the control to update
|
|
277
|
-
* its `aria-describedby` attribute accordingly.
|
|
278
|
-
*/
|
|
279
|
-
private _syncDescribedByIds;
|
|
280
|
-
/**
|
|
281
|
-
* Updates the horizontal offset of the label in the outline appearance. In the outline
|
|
282
|
-
* appearance, the notched-outline and label are not relative to the infix container because
|
|
283
|
-
* the outline intends to surround prefixes, suffixes and the infix. This means that the
|
|
284
|
-
* floating label by default overlaps prefixes in the docked state. To avoid this, we need to
|
|
285
|
-
* horizontally offset the label by the width of the prefix container. The MDC text-field does
|
|
286
|
-
* not need to do this because they use a fixed width for prefixes. Hence, they can simply
|
|
287
|
-
* incorporate the horizontal offset into their default text-field styles.
|
|
288
|
-
*/
|
|
289
|
-
private _updateOutlineLabelOffset;
|
|
290
|
-
/** Checks whether the form field is attached to the DOM. */
|
|
291
|
-
private _isAttachedToDom;
|
|
292
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatFormField, [null, null, null, null, null, { optional: true; }, { optional: true; }, null]>;
|
|
293
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatFormField, "mat-form-field", ["matFormField"], { "hideRequiredMarker": "hideRequiredMarker"; "color": "color"; "floatLabel": "floatLabel"; "appearance": "appearance"; "subscriptSizing": "subscriptSizing"; "hintLabel": "hintLabel"; }, {}, ["_labelChildNonStatic", "_labelChildStatic", "_formFieldControl", "_prefixChildren", "_suffixChildren", "_errorChildren", "_hintChildren"], ["mat-label", "[matPrefix], [matIconPrefix]", "[matTextPrefix]", "*", "[matTextSuffix]", "[matSuffix], [matIconSuffix]", "mat-error", "mat-hint:not([align='end'])", "mat-hint[align='end']"], false>;
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
export { matFormFieldAnimations }
|
|
297
|
-
|
|
298
|
-
/** Possible appearance styles for the form field. */
|
|
299
|
-
export declare type MatFormFieldAppearance = 'fill' | 'outline';
|
|
300
|
-
|
|
301
|
-
export { MatFormFieldControl }
|
|
302
|
-
|
|
303
|
-
/**
|
|
304
|
-
* Represents the default options for the form field that can be configured
|
|
305
|
-
* using the `MAT_FORM_FIELD_DEFAULT_OPTIONS` injection token.
|
|
306
|
-
*/
|
|
307
|
-
export declare interface MatFormFieldDefaultOptions {
|
|
308
|
-
/** Default form field appearance style. */
|
|
309
|
-
appearance?: MatFormFieldAppearance;
|
|
310
|
-
/** Default color of the form field. */
|
|
311
|
-
color?: ThemePalette;
|
|
312
|
-
/** Whether the required marker should be hidden by default. */
|
|
313
|
-
hideRequiredMarker?: boolean;
|
|
314
|
-
/**
|
|
315
|
-
* Whether the label for form fields should by default float `always`,
|
|
316
|
-
* `never`, or `auto` (only when necessary).
|
|
317
|
-
*/
|
|
318
|
-
floatLabel?: FloatLabelType;
|
|
319
|
-
/** Whether the form field should reserve space for one line by default. */
|
|
320
|
-
subscriptSizing?: SubscriptSizing;
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
/**
|
|
324
|
-
* Internal directive that maintains a MDC floating label. This directive does not
|
|
325
|
-
* use the `MDCFloatingLabelFoundation` class, as it is not worth the size cost of
|
|
326
|
-
* including it just to measure the label width and toggle some classes.
|
|
327
|
-
*
|
|
328
|
-
* The use of a directive allows us to conditionally render a floating label in the
|
|
329
|
-
* template without having to manually manage instantiation and destruction of the
|
|
330
|
-
* floating label component based on.
|
|
331
|
-
*
|
|
332
|
-
* The component is responsible for setting up the floating label styles, measuring label
|
|
333
|
-
* width for the outline notch, and providing inputs that can be used to toggle the
|
|
334
|
-
* label's floating or required state.
|
|
335
|
-
*/
|
|
336
|
-
declare class MatFormFieldFloatingLabel {
|
|
337
|
-
private _elementRef;
|
|
338
|
-
/** Whether the label is floating. */
|
|
339
|
-
floating: boolean;
|
|
340
|
-
constructor(_elementRef: ElementRef<HTMLElement>);
|
|
341
|
-
/** Gets the width of the label. Used for the outline notch. */
|
|
342
|
-
getWidth(): number;
|
|
343
|
-
/** Gets the HTML element for the floating label. */
|
|
344
|
-
get element(): HTMLElement;
|
|
345
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatFormFieldFloatingLabel, never>;
|
|
346
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatFormFieldFloatingLabel, "label[matFormFieldFloatingLabel]", never, { "floating": "floating"; }, {}, never, never, false>;
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
/**
|
|
350
|
-
* Internal directive that creates an instance of the MDC line-ripple component. Using a
|
|
351
|
-
* directive allows us to conditionally render a line-ripple in the template without having
|
|
352
|
-
* to manually create and destroy the `MDCLineRipple` component whenever the condition changes.
|
|
353
|
-
*
|
|
354
|
-
* The directive sets up the styles for the line-ripple and provides an API for activating
|
|
355
|
-
* and deactivating the line-ripple.
|
|
356
|
-
*/
|
|
357
|
-
declare class MatFormFieldLineRipple implements OnDestroy {
|
|
358
|
-
private _elementRef;
|
|
359
|
-
constructor(_elementRef: ElementRef<HTMLElement>, ngZone: NgZone);
|
|
360
|
-
activate(): void;
|
|
361
|
-
deactivate(): void;
|
|
362
|
-
private _handleTransitionEnd;
|
|
363
|
-
ngOnDestroy(): void;
|
|
364
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatFormFieldLineRipple, never>;
|
|
365
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatFormFieldLineRipple, "div[matFormFieldLineRipple]", never, {}, {}, never, never, false>;
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
export declare class MatFormFieldModule {
|
|
369
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatFormFieldModule, never>;
|
|
370
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatFormFieldModule, [typeof i1.MatFormField, typeof i2.MatLabel, typeof i3.MatError, typeof i4.MatHint, typeof i5.MatPrefix, typeof i6.MatSuffix, typeof i7.MatFormFieldFloatingLabel, typeof i8.MatFormFieldNotchedOutline, typeof i9.MatFormFieldLineRipple], [typeof i10.MatCommonModule, typeof i11.CommonModule, typeof i12.ObserversModule], [typeof i1.MatFormField, typeof i2.MatLabel, typeof i4.MatHint, typeof i3.MatError, typeof i5.MatPrefix, typeof i6.MatSuffix, typeof i10.MatCommonModule]>;
|
|
371
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MatFormFieldModule>;
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
/**
|
|
375
|
-
* Internal component that creates an instance of the MDC notched-outline component.
|
|
376
|
-
*
|
|
377
|
-
* The component sets up the HTML structure and styles for the notched-outline. It provides
|
|
378
|
-
* inputs to toggle the notch state and width.
|
|
379
|
-
*/
|
|
380
|
-
declare class MatFormFieldNotchedOutline implements AfterViewInit {
|
|
381
|
-
private _elementRef;
|
|
382
|
-
private _ngZone;
|
|
383
|
-
/** Width of the label (original scale) */
|
|
384
|
-
labelWidth: number;
|
|
385
|
-
/** Whether the notch should be opened. */
|
|
386
|
-
open: boolean;
|
|
387
|
-
constructor(_elementRef: ElementRef<HTMLElement>, _ngZone: NgZone);
|
|
388
|
-
ngAfterViewInit(): void;
|
|
389
|
-
_getNotchWidth(): string | null;
|
|
390
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatFormFieldNotchedOutline, never>;
|
|
391
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatFormFieldNotchedOutline, "div[matFormFieldNotchedOutline]", never, { "labelWidth": "matFormFieldNotchedOutlineLabelWidth"; "open": "matFormFieldNotchedOutlineOpen"; }, {}, never, ["*"], false>;
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
/** Hint text to be shown underneath the form field control. */
|
|
395
|
-
export declare class MatHint {
|
|
396
|
-
/** Whether to align the hint label at the start or end of the line. */
|
|
397
|
-
align: 'start' | 'end';
|
|
398
|
-
/** Unique ID for the hint. Used for the aria-describedby on the form field control. */
|
|
399
|
-
id: string;
|
|
400
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatHint, never>;
|
|
401
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatHint, "mat-hint", never, { "align": "align"; "id": "id"; }, {}, never, never, false>;
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
/** The floating label for a `mat-form-field`. */
|
|
405
|
-
export declare class MatLabel {
|
|
406
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatLabel, never>;
|
|
407
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatLabel, "mat-label", never, {}, {}, never, never, false>;
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
export { MatPlaceholder }
|
|
411
|
-
|
|
412
|
-
/** Prefix to be placed in front of the form field. */
|
|
413
|
-
export declare class MatPrefix {
|
|
414
|
-
_isText: boolean;
|
|
415
|
-
constructor(elementRef: ElementRef);
|
|
416
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatPrefix, never>;
|
|
417
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatPrefix, "[matPrefix], [matIconPrefix], [matTextPrefix]", never, {}, {}, never, never, false>;
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
/** Suffix to be placed at the end of the form field. */
|
|
421
|
-
export declare class MatSuffix {
|
|
422
|
-
_isText: boolean;
|
|
423
|
-
constructor(elementRef: ElementRef);
|
|
424
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatSuffix, never>;
|
|
425
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatSuffix, "[matSuffix], [matIconSuffix], [matTextSuffix]", never, {}, {}, never, never, false>;
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
/** Behaviors for how the subscript height is set. */
|
|
429
|
-
export declare type SubscriptSizing = 'fixed' | 'dynamic';
|
|
430
|
-
|
|
431
|
-
export { }
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { AsyncFactoryFn } from '@angular/cdk/testing';
|
|
2
|
-
import { ComponentHarnessConstructor } from '@angular/cdk/testing';
|
|
3
|
-
import { FormFieldHarnessFilters } from '@angular/material/form-field/testing';
|
|
4
|
-
import { HarnessPredicate } from '@angular/cdk/testing';
|
|
5
|
-
import { MatDatepickerInputHarness } from '@angular/material/datepicker/testing';
|
|
6
|
-
import { MatDateRangeInputHarness } from '@angular/material/datepicker/testing';
|
|
7
|
-
import { MatFormFieldControlHarness } from '@angular/material/form-field/testing/control';
|
|
8
|
-
import { _MatFormFieldHarnessBase } from '@angular/material/form-field/testing';
|
|
9
|
-
import { MatInputHarness } from '@angular/material-experimental/mdc-input/testing';
|
|
10
|
-
import { MatSelectHarness } from '@angular/material-experimental/mdc-select/testing';
|
|
11
|
-
import { TestElement } from '@angular/cdk/testing';
|
|
12
|
-
|
|
13
|
-
/** Possible harnesses of controls which can be bound to a form-field. */
|
|
14
|
-
export declare type FormFieldControlHarness = MatInputHarness | MatSelectHarness | MatDatepickerInputHarness | MatDateRangeInputHarness;
|
|
15
|
-
|
|
16
|
-
export { FormFieldHarnessFilters }
|
|
17
|
-
|
|
18
|
-
export { MatFormFieldControlHarness }
|
|
19
|
-
|
|
20
|
-
/** Harness for interacting with a MDC-based form-field's in tests. */
|
|
21
|
-
export declare class MatFormFieldHarness extends _MatFormFieldHarnessBase<FormFieldControlHarness> {
|
|
22
|
-
static hostSelector: string;
|
|
23
|
-
/**
|
|
24
|
-
* Gets a `HarnessPredicate` that can be used to search for a form field with specific
|
|
25
|
-
* attributes.
|
|
26
|
-
* @param options Options for filtering which form field instances are considered a match.
|
|
27
|
-
* @return a `HarnessPredicate` configured with the given options.
|
|
28
|
-
*/
|
|
29
|
-
static with<T extends MatFormFieldHarness>(this: ComponentHarnessConstructor<T>, options?: FormFieldHarnessFilters): HarnessPredicate<T>;
|
|
30
|
-
protected _prefixContainer: AsyncFactoryFn<TestElement | null>;
|
|
31
|
-
protected _suffixContainer: AsyncFactoryFn<TestElement | null>;
|
|
32
|
-
protected _label: AsyncFactoryFn<TestElement | null>;
|
|
33
|
-
protected _errors: AsyncFactoryFn<TestElement[]>;
|
|
34
|
-
protected _hints: AsyncFactoryFn<TestElement[]>;
|
|
35
|
-
protected _inputControl: AsyncFactoryFn<MatInputHarness | null>;
|
|
36
|
-
protected _selectControl: AsyncFactoryFn<MatSelectHarness | null>;
|
|
37
|
-
protected _datepickerInputControl: AsyncFactoryFn<MatDatepickerInputHarness | null>;
|
|
38
|
-
protected _dateRangeInputControl: AsyncFactoryFn<MatDateRangeInputHarness | null>;
|
|
39
|
-
private _mdcTextField;
|
|
40
|
-
/** Gets the appearance of the form-field. */
|
|
41
|
-
getAppearance(): Promise<'fill' | 'outline'>;
|
|
42
|
-
/** Whether the form-field has a label. */
|
|
43
|
-
hasLabel(): Promise<boolean>;
|
|
44
|
-
/** Whether the label is currently floating. */
|
|
45
|
-
isLabelFloating(): Promise<boolean>;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export { }
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
@use '@angular/material' as mat;
|
|
2
|
-
|
|
3
|
-
@use '../mdc-core/mdc-helpers/mdc-helpers';
|
|
4
|
-
|
|
5
|
-
@mixin color($config-or-theme) {
|
|
6
|
-
$config: mat.get-color-config($config-or-theme);
|
|
7
|
-
@include mdc-helpers.mat-using-mdc-theme($config) {}
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
@mixin typography($config-or-theme) {
|
|
11
|
-
$config: mat.private-typography-to-2018-config(
|
|
12
|
-
mat.get-typography-config($config-or-theme));
|
|
13
|
-
@include mdc-helpers.mat-using-mdc-typography($config) {}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
@mixin density($config-or-theme) {}
|
|
17
|
-
|
|
18
|
-
@mixin theme($theme-or-color-config) {
|
|
19
|
-
$theme: mat.private-legacy-get-theme($theme-or-color-config);
|
|
20
|
-
@include mat.private-check-duplicate-theme-styles($theme, 'mat-mdc-input') {
|
|
21
|
-
$color: mat.get-color-config($theme);
|
|
22
|
-
$density: mat.get-density-config($theme);
|
|
23
|
-
$typography: mat.get-typography-config($theme);
|
|
24
|
-
|
|
25
|
-
@if $color != null {
|
|
26
|
-
@include color($color);
|
|
27
|
-
}
|
|
28
|
-
@if $density != null {
|
|
29
|
-
@include density($density);
|
|
30
|
-
}
|
|
31
|
-
@if $typography != null {
|
|
32
|
-
@include typography($typography);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
package/mdc-input/index.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { getMatInputUnsupportedTypeError } from '@angular/material/input';
|
|
2
|
-
import * as i0 from '@angular/core';
|
|
3
|
-
import * as i2 from '@angular/material-experimental/mdc-core';
|
|
4
|
-
import * as i3 from '@angular/material-experimental/mdc-form-field';
|
|
5
|
-
import * as i4 from '@angular/cdk/text-field';
|
|
6
|
-
import { MAT_INPUT_VALUE_ACCESSOR } from '@angular/material/input';
|
|
7
|
-
import { MatInput as MatInput_2 } from '@angular/material/input';
|
|
8
|
-
|
|
9
|
-
export { getMatInputUnsupportedTypeError }
|
|
10
|
-
|
|
11
|
-
declare namespace i1 {
|
|
12
|
-
export {
|
|
13
|
-
MatInput
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export { MAT_INPUT_VALUE_ACCESSOR }
|
|
18
|
-
|
|
19
|
-
export declare class MatInput extends MatInput_2 {
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatInput, never>;
|
|
21
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatInput, "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", ["matInput"], {}, {}, never, never, false>;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export declare class MatInputModule {
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatInputModule, never>;
|
|
26
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatInputModule, [typeof i1.MatInput], [typeof i2.MatCommonModule, typeof i3.MatFormFieldModule], [typeof i1.MatInput, typeof i3.MatFormFieldModule, typeof i4.TextFieldModule, typeof i2.MatCommonModule]>;
|
|
27
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MatInputModule>;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export { }
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { InputHarnessFilters } from '@angular/material/input/testing';
|
|
2
|
-
import { MatInputHarness } from '@angular/material/input/testing';
|
|
3
|
-
import { MatNativeOptionHarness } from '@angular/material/input/testing';
|
|
4
|
-
import { MatNativeSelectHarness } from '@angular/material/input/testing';
|
|
5
|
-
import { NativeOptionHarnessFilters } from '@angular/material/input/testing';
|
|
6
|
-
import { NativeSelectHarnessFilters } from '@angular/material/input/testing';
|
|
7
|
-
|
|
8
|
-
export { InputHarnessFilters }
|
|
9
|
-
|
|
10
|
-
export { MatInputHarness }
|
|
11
|
-
|
|
12
|
-
export { MatNativeOptionHarness }
|
|
13
|
-
|
|
14
|
-
export { MatNativeSelectHarness }
|
|
15
|
-
|
|
16
|
-
export { NativeOptionHarnessFilters }
|
|
17
|
-
|
|
18
|
-
export { NativeSelectHarnessFilters }
|
|
19
|
-
|
|
20
|
-
export { }
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
@use '@angular/material' as mat;
|
|
2
|
-
@use '@material/ripple' as mdc-ripple;
|
|
3
|
-
@use 'sass:map';
|
|
4
|
-
|
|
5
|
-
// Mixin that provides colors for the various states of an interactive list-item. MDC
|
|
6
|
-
// has integrated styles for these states but relies on their complex ripples for it.
|
|
7
|
-
@mixin private-interactive-list-item-state-colors($config) {
|
|
8
|
-
$is-dark-theme: map.get($config, is-dark);
|
|
9
|
-
$active-base-color: if($is-dark-theme, white, black);
|
|
10
|
-
$selected-color: mat.get-color-from-palette(map.get($config, primary));
|
|
11
|
-
|
|
12
|
-
.mat-mdc-list-item-interactive {
|
|
13
|
-
&::before {
|
|
14
|
-
background: $active-base-color;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
&:not(:focus):not(.mdc-list-item--disabled):hover::before {
|
|
18
|
-
opacity: mdc-ripple.states-opacity($active-base-color, hover);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&.mdc-list-item--selected {
|
|
22
|
-
&::before {
|
|
23
|
-
background: $selected-color;
|
|
24
|
-
opacity: mdc-ripple.states-opacity($selected-color, selected);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&:not(:focus):not(.mdc-list-item--disabled):hover::before {
|
|
28
|
-
// The hover and selected opacities need to be combined to match with what the MDC
|
|
29
|
-
// ripple state would render. More details here:
|
|
30
|
-
// https://github.com/material-components/material-components-web/blob/348665978ce73694ad4518626dd70cdf5b984113/packages/mdc-ripple/_ripple-theme.scss#L450.
|
|
31
|
-
opacity: mdc-ripple.states-opacity($selected-color, hover) +
|
|
32
|
-
mdc-ripple.states-opacity($selected-color, selected);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&:focus::before {
|
|
37
|
-
opacity: mdc-ripple.states-opacity($active-base-color, focus);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
@forward '../mdc-core/mdc-helpers/mdc-helpers.import';
|
|
2
|
-
@forward '../mdc-core/mdc-helpers/mdc-helpers';
|
|
3
|
-
@forward '../mdc-checkbox/checkbox-theme' hide color, density, private-checkbox-styles-with-color,
|
|
4
|
-
theme, typography;
|
|
5
|
-
@forward '../mdc-checkbox/checkbox-theme' as mat-mdc-* hide $mat-mdc-mdc-checkbox-border-color,
|
|
6
|
-
$mat-mdc-mdc-checkbox-disabled-color, mat-mdc-color, mat-mdc-density, mat-mdc-theme,
|
|
7
|
-
mat-mdc-typography;
|
|
8
|
-
@forward '../mdc-checkbox/checkbox-theme' as mat-mdc-checkbox-* hide
|
|
9
|
-
$mat-mdc-checkbox-mdc-checkbox-border-color, $mat-mdc-checkbox-mdc-checkbox-disabled-color,
|
|
10
|
-
mat-mdc-checkbox-private-checkbox-styles-with-color;
|
|
11
|
-
@forward 'list-option-theme' as mat-mdc-*;
|
|
12
|
-
|
|
13
|
-
@import '../mdc-checkbox/checkbox-theme';
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
@use '@material/checkbox' as mdc-checkbox;
|
|
2
|
-
@use '../mdc-checkbox/checkbox-private';
|
|
3
|
-
@use '../mdc-core/mdc-helpers/mdc-helpers';
|
|
4
|
-
@use './list-option-trailing-avatar-compat';
|
|
5
|
-
|
|
6
|
-
// Mixin that overrides the selected item and checkbox colors for list options. By
|
|
7
|
-
// default, the MDC list uses the `primary` color for list items. The MDC checkbox
|
|
8
|
-
// inside list options by default uses the `primary` color too.
|
|
9
|
-
@mixin private-list-option-color-override($color-config, $color, $mdc-color) {
|
|
10
|
-
& .mdc-list-item__start, & .mdc-list-item__end {
|
|
11
|
-
@include checkbox-private.private-checkbox-styles-with-color($color-config, $color, $mdc-color);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
@mixin private-list-option-density-styles($density-scale) {
|
|
16
|
-
@include list-option-trailing-avatar-compat.density-styles($density-scale);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
@mixin private-list-option-typography-styles() {
|
|
20
|
-
@include list-option-trailing-avatar-compat.core-styles(
|
|
21
|
-
$query: mdc-helpers.$mat-typography-styles-query);
|
|
22
|
-
|
|
23
|
-
.mat-mdc-list-option {
|
|
24
|
-
.mdc-list-item__start, .mdc-list-item__end {
|
|
25
|
-
@include mdc-checkbox.without-ripple($query: mdc-helpers.$mat-typography-styles-query);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|