index.d.ts 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. import { ChangeDetectorRef } from '@angular/core';
  2. import { ElementRef } from '@angular/core';
  3. import { FocusMonitor } from '@angular/cdk/a11y';
  4. import * as i0 from '@angular/core';
  5. import * as i2 from '@angular/material/core';
  6. import { MAT_RADIO_DEFAULT_OPTIONS as MAT_LEGACY_RADIO_DEFAULT_OPTIONS } from '@angular/material/radio';
  7. import { MAT_RADIO_DEFAULT_OPTIONS_FACTORY as MAT_LEGACY_RADIO_DEFAULT_OPTIONS_FACTORY } from '@angular/material/radio';
  8. import { MAT_RADIO_GROUP as MAT_LEGACY_RADIO_GROUP } from '@angular/material/radio';
  9. import { MatRadioChange as MatLegacyRadioChange } from '@angular/material/radio';
  10. import { MatRadioDefaultOptions as MatLegacyRadioDefaultOptions } from '@angular/material/radio';
  11. import { _MatRadioButtonBase } from '@angular/material/radio';
  12. import { _MatRadioGroupBase } from '@angular/material/radio';
  13. import { QueryList } from '@angular/core';
  14. import { UniqueSelectionDispatcher } from '@angular/cdk/collections';
  15. declare namespace i1 {
  16. export {
  17. MAT_LEGACY_RADIO_GROUP_CONTROL_VALUE_ACCESSOR,
  18. MatLegacyRadioGroup,
  19. MatLegacyRadioButton
  20. }
  21. }
  22. export { MAT_LEGACY_RADIO_DEFAULT_OPTIONS }
  23. export { MAT_LEGACY_RADIO_DEFAULT_OPTIONS_FACTORY }
  24. export { MAT_LEGACY_RADIO_GROUP }
  25. /**
  26. * Provider Expression that allows mat-radio-group to register as a ControlValueAccessor. This
  27. * allows it to support [(ngModel)] and ngControl.
  28. * @docs-private
  29. * @deprecated Use `MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR` from `@angular/material/radio` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
  30. * @breaking-change 17.0.0
  31. */
  32. export declare const MAT_LEGACY_RADIO_GROUP_CONTROL_VALUE_ACCESSOR: any;
  33. /**
  34. * A Material design radio-button. Typically placed inside of `<mat-radio-group>` elements.
  35. * @deprecated Use `MatRadioButton` from `@angular/material/radio` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
  36. * @breaking-change 17.0.0
  37. */
  38. export declare class MatLegacyRadioButton extends _MatRadioButtonBase {
  39. constructor(radioGroup: MatLegacyRadioGroup, elementRef: ElementRef, changeDetector: ChangeDetectorRef, focusMonitor: FocusMonitor, radioDispatcher: UniqueSelectionDispatcher, animationMode?: string, providerOverride?: MatLegacyRadioDefaultOptions, tabIndex?: string);
  40. static ɵfac: i0.ɵɵFactoryDeclaration<MatLegacyRadioButton, [{ optional: true; }, null, null, null, null, { optional: true; }, { optional: true; }, { attribute: "tabindex"; }]>;
  41. static ɵcmp: i0.ɵɵComponentDeclaration<MatLegacyRadioButton, "mat-radio-button", ["matRadioButton"], { "disableRipple": { "alias": "disableRipple"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, {}, never, ["*"], false, never>;
  42. }
  43. export { MatLegacyRadioChange }
  44. export { MatLegacyRadioDefaultOptions }
  45. /**
  46. * A group of radio buttons. May contain one or more `<mat-radio-button>` elements.
  47. * @deprecated Use `MatRadioGroup` from `@angular/material/radio` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
  48. * @breaking-change 17.0.0
  49. */
  50. export declare class MatLegacyRadioGroup extends _MatRadioGroupBase<MatLegacyRadioButton> {
  51. _radios: QueryList<MatLegacyRadioButton>;
  52. static ɵfac: i0.ɵɵFactoryDeclaration<MatLegacyRadioGroup, never>;
  53. static ɵdir: i0.ɵɵDirectiveDeclaration<MatLegacyRadioGroup, "mat-radio-group", ["matRadioGroup"], {}, {}, ["_radios"], never, false, never>;
  54. }
  55. /**
  56. * @deprecated Use `MatRadioModule` from `@angular/material/radio` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
  57. * @breaking-change 17.0.0
  58. */
  59. export declare class MatLegacyRadioModule {
  60. static ɵfac: i0.ɵɵFactoryDeclaration<MatLegacyRadioModule, never>;
  61. static ɵmod: i0.ɵɵNgModuleDeclaration<MatLegacyRadioModule, [typeof i1.MatLegacyRadioGroup, typeof i1.MatLegacyRadioButton], [typeof i2.MatRippleModule, typeof i2.MatCommonModule], [typeof i1.MatLegacyRadioGroup, typeof i1.MatLegacyRadioButton, typeof i2.MatCommonModule]>;
  62. static ɵinj: i0.ɵɵInjectorDeclaration<MatLegacyRadioModule>;
  63. }
  64. export { }