index.d.ts 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. import { getMatInputUnsupportedTypeError as getMatLegacyInputUnsupportedTypeError } from '@angular/material/input';
  2. import * as i0 from '@angular/core';
  3. import * as i2 from '@angular/cdk/text-field';
  4. import * as i3 from '@angular/material/legacy-form-field';
  5. import * as i4 from '@angular/material/core';
  6. import { MAT_INPUT_VALUE_ACCESSOR as MAT_LEGACY_INPUT_VALUE_ACCESSOR } from '@angular/material/input';
  7. import { MatInput } from '@angular/material/input';
  8. export { getMatLegacyInputUnsupportedTypeError }
  9. declare namespace i1 {
  10. export {
  11. MatLegacyInput
  12. }
  13. }
  14. export { MAT_LEGACY_INPUT_VALUE_ACCESSOR }
  15. /**
  16. * Directive that allows a native input to work inside a `MatFormField`.
  17. * @deprecated Use `MatInput` from `@angular/material/input` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
  18. * @breaking-change 17.0.0
  19. */
  20. export declare class MatLegacyInput extends MatInput {
  21. private _legacyFormField;
  22. protected _getPlaceholder(): string | null;
  23. static ɵfac: i0.ɵɵFactoryDeclaration<MatLegacyInput, never>;
  24. static ɵdir: i0.ɵɵDirectiveDeclaration<MatLegacyInput, "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", ["matInput"], {}, {}, never, never, false, never>;
  25. }
  26. /**
  27. * @deprecated Use `MatInputModule` from `@angular/material/input` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
  28. * @breaking-change 17.0.0
  29. */
  30. export declare class MatLegacyInputModule {
  31. static ɵfac: i0.ɵɵFactoryDeclaration<MatLegacyInputModule, never>;
  32. static ɵmod: i0.ɵɵNgModuleDeclaration<MatLegacyInputModule, [typeof i1.MatLegacyInput], [typeof i2.TextFieldModule, typeof i3.MatLegacyFormFieldModule, typeof i4.MatCommonModule], [typeof i2.TextFieldModule, typeof i3.MatLegacyFormFieldModule, typeof i1.MatLegacyInput]>;
  33. static ɵinj: i0.ɵɵInjectorDeclaration<MatLegacyInputModule>;
  34. }
  35. export { }