source: trip-planner-front/node_modules/@angular/material/core/common-behaviors/common-module.d.ts@ 6a3a178

Last change on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 2.2 KB
Line 
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8import { HighContrastModeDetector } from '@angular/cdk/a11y';
9import { InjectionToken } from '@angular/core';
10/** @docs-private */
11import * as ɵngcc0 from '@angular/core';
12import * as ɵngcc1 from '@angular/cdk/bidi';
13export declare function MATERIAL_SANITY_CHECKS_FACTORY(): SanityChecks;
14/** Injection token that configures whether the Material sanity checks are enabled. */
15export declare const MATERIAL_SANITY_CHECKS: InjectionToken<SanityChecks>;
16/**
17 * Possible sanity checks that can be enabled. If set to
18 * true/false, all checks will be enabled/disabled.
19 */
20export declare type SanityChecks = boolean | GranularSanityChecks;
21/** Object that can be used to configure the sanity checks granularly. */
22export 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 */
33export declare class MatCommonModule {
34 /** Whether we've done the global sanity checks (e.g. a theme is loaded, there is a doctype). */
35 private _hasDoneGlobalChecks;
36 /** Configured sanity checks. */
37 private _sanityChecks;
38 /** Used to reference correct document/window */
39 protected _document: Document;
40 constructor(highContrastModeDetector: HighContrastModeDetector, sanityChecks: any, document: any);
41 /** Gets whether a specific sanity check is enabled. */
42 private _checkIsEnabled;
43 private _checkDoctypeIsDefined;
44 private _checkThemeIsPresent;
45 /** Checks whether the material version matches the cdk version */
46 private _checkCdkVersionMatch;
47 static ɵfac: ɵngcc0.ɵɵFactoryDeclaration<MatCommonModule, [null, { optional: true; }, null]>;
48 static ɵmod: ɵngcc0.ɵɵNgModuleDeclaration<MatCommonModule, never, [typeof ɵngcc1.BidiModule], [typeof ɵngcc1.BidiModule]>;
49 static ɵinj: ɵngcc0.ɵɵInjectorDeclaration<MatCommonModule>;
50}
51
52//# sourceMappingURL=common-module.d.ts.map
Note: See TracBrowser for help on using the repository browser.