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

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

initial commit

  • Property mode set to 100644
File size: 1.8 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 */
11export declare function MATERIAL_SANITY_CHECKS_FACTORY(): SanityChecks;
12/** Injection token that configures whether the Material sanity checks are enabled. */
13export declare const MATERIAL_SANITY_CHECKS: InjectionToken<SanityChecks>;
14/**
15 * Possible sanity checks that can be enabled. If set to
16 * true/false, all checks will be enabled/disabled.
17 */
18export declare type SanityChecks = boolean | GranularSanityChecks;
19/** Object that can be used to configure the sanity checks granularly. */
20export interface GranularSanityChecks {
21 doctype: boolean;
22 theme: boolean;
23 version: boolean;
24}
25/**
26 * Module that captures anything that should be loaded and/or run for *all* Angular Material
27 * components. This includes Bidi, etc.
28 *
29 * This module should be imported to each top-level component module (e.g., MatTabsModule).
30 */
31export declare class MatCommonModule {
32 /** Whether we've done the global sanity checks (e.g. a theme is loaded, there is a doctype). */
33 private _hasDoneGlobalChecks;
34 /** Configured sanity checks. */
35 private _sanityChecks;
36 /** Used to reference correct document/window */
37 protected _document: Document;
38 constructor(highContrastModeDetector: HighContrastModeDetector, sanityChecks: any, document: any);
39 /** Gets whether a specific sanity check is enabled. */
40 private _checkIsEnabled;
41 private _checkDoctypeIsDefined;
42 private _checkThemeIsPresent;
43 /** Checks whether the material version matches the cdk version */
44 private _checkCdkVersionMatch;
45}
Note: See TracBrowser for help on using the repository browser.