common-module.d-C8xzHJDr.d.ts 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. import * as i0 from '@angular/core';
  2. import { InjectionToken } from '@angular/core';
  3. import * as i1 from '@angular/cdk/bidi';
  4. /**
  5. * Injection token that configures whether the Material sanity checks are enabled.
  6. * @deprecated No longer used and will be removed.
  7. * @breaking-change 21.0.0
  8. */
  9. declare const MATERIAL_SANITY_CHECKS: InjectionToken<SanityChecks>;
  10. /**
  11. * Possible sanity checks that can be enabled. If set to
  12. * true/false, all checks will be enabled/disabled.
  13. * @deprecated No longer used and will be removed.
  14. * @breaking-change 21.0.0
  15. */
  16. type SanityChecks = boolean | GranularSanityChecks;
  17. /**
  18. * Object that can be used to configure the sanity checks granularly.
  19. * @deprecated No longer used and will be removed.
  20. * @breaking-change 21.0.0
  21. */
  22. interface GranularSanityChecks {
  23. doctype: boolean;
  24. theme: boolean;
  25. version: boolean;
  26. }
  27. /**
  28. * Module that captures anything that should be loaded and/or run for *all* Angular Material
  29. * components. This includes Bidi, etc.
  30. *
  31. * This module should be imported to each top-level component module (e.g., MatTabsModule).
  32. * @deprecated No longer used and will be removed.
  33. * @breaking-change 21.0.0
  34. */
  35. declare class MatCommonModule {
  36. constructor(...args: any[]);
  37. static ɵfac: i0.ɵɵFactoryDeclaration<MatCommonModule, never>;
  38. static ɵmod: i0.ɵɵNgModuleDeclaration<MatCommonModule, never, [typeof i1.BidiModule], [typeof i1.BidiModule]>;
  39. static ɵinj: i0.ɵɵInjectorDeclaration<MatCommonModule>;
  40. }
  41. export { MatCommonModule as M, MATERIAL_SANITY_CHECKS as a };
  42. export type { GranularSanityChecks as G, SanityChecks as S };