source: trip-planner-front/node_modules/@angular/material/badge/badge.d.ts.map@ 76712b2

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

adding new components

  • Property mode set to 100644
File size: 4.3 KB
Line 
1{"version":3,"file":"badge.d.ts","sources":["badge.d.ts"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA;AACA","sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport { AriaDescriber } from '@angular/cdk/a11y';\nimport { BooleanInput } from '@angular/cdk/coercion';\nimport { ElementRef, NgZone, OnChanges, OnDestroy, Renderer2, SimpleChanges } from '@angular/core';\nimport { CanDisable, ThemePalette } from '@angular/material/core';\n/** @docs-private */\ndeclare const _MatBadgeBase: import(\"@angular/material/core/common-behaviors/constructor\").Constructor<CanDisable> & import(\"@angular/material/core/common-behaviors/constructor\").AbstractConstructor<CanDisable> & {\n new (): {};\n};\n/** Allowed position options for matBadgePosition */\nexport declare type MatBadgePosition = 'above after' | 'above before' | 'below before' | 'below after' | 'before' | 'after' | 'above' | 'below';\n/** Allowed size options for matBadgeSize */\nexport declare type MatBadgeSize = 'small' | 'medium' | 'large';\n/** Directive to display a text badge. */\nexport declare class MatBadge extends _MatBadgeBase implements OnDestroy, OnChanges, CanDisable {\n private _ngZone;\n private _elementRef;\n private _ariaDescriber;\n private _renderer;\n private _animationMode?;\n /** Whether the badge has any content. */\n _hasContent: boolean;\n /** The color of the badge. Can be `primary`, `accent`, or `warn`. */\n get color(): ThemePalette;\n set color(value: ThemePalette);\n private _color;\n /** Whether the badge should overlap its contents or not */\n get overlap(): boolean;\n set overlap(val: boolean);\n private _overlap;\n /**\n * Position the badge should reside.\n * Accepts any combination of 'above'|'below' and 'before'|'after'\n */\n position: MatBadgePosition;\n /** The content for the badge */\n content: string | number | undefined | null;\n /** Message used to describe the decorated element via aria-describedby */\n get description(): string;\n set description(newDescription: string);\n private _description;\n /** Size of the badge. Can be 'small', 'medium', or 'large'. */\n size: MatBadgeSize;\n /** Whether the badge is hidden. */\n get hidden(): boolean;\n set hidden(val: boolean);\n private _hidden;\n /** Unique id for the badge */\n _id: number;\n private _badgeElement;\n constructor(_ngZone: NgZone, _elementRef: ElementRef<HTMLElement>, _ariaDescriber: AriaDescriber, _renderer: Renderer2, _animationMode?: string | undefined);\n /** Whether the badge is above the host or not */\n isAbove(): boolean;\n /** Whether the badge is after the host or not */\n isAfter(): boolean;\n ngOnChanges(changes: SimpleChanges): void;\n ngOnDestroy(): void;\n /**\n * Gets the element into which the badge's content is being rendered.\n * Undefined if the element hasn't been created (e.g. if the badge doesn't have content).\n */\n getBadgeElement(): HTMLElement | undefined;\n /** Injects a span element into the DOM with the content. */\n private _updateTextContent;\n /** Creates the badge element */\n private _createBadgeElement;\n /** Sets the aria-label property on the element */\n private _updateHostAriaDescription;\n /** Adds css theme class given the color to the component host */\n private _setColor;\n /** Clears any existing badges that might be left over from server-side rendering. */\n private _clearExistingBadges;\n /** Gets the string representation of the badge content. */\n private _stringifyContent;\n static ngAcceptInputType_disabled: BooleanInput;\n static ngAcceptInputType_hidden: BooleanInput;\n static ngAcceptInputType_overlap: BooleanInput;\n}\nexport {};\n"]}
Note: See TracBrowser for help on using the repository browser.