source: trip-planner-front/node_modules/@angular/material/chips/chip.d.ts.map@ 571e0df

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

initial commit

  • Property mode set to 100644
File size: 10.1 KB
RevLine 
[6a3a178]1{"version":3,"file":"chip.d.ts","sources":["chip.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;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;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 { FocusableOption } from '@angular/cdk/a11y';\nimport { BooleanInput, NumberInput } from '@angular/cdk/coercion';\nimport { Platform } from '@angular/cdk/platform';\nimport { ChangeDetectorRef, ElementRef, EventEmitter, InjectionToken, NgZone, OnDestroy } from '@angular/core';\nimport { CanColor, CanDisable, CanDisableRipple, HasTabIndex, RippleConfig, RippleGlobalOptions, RippleTarget } from '@angular/material/core';\nimport { Subject } from 'rxjs';\n/** Represents an event fired on an individual `mat-chip`. */\nexport interface MatChipEvent {\n /** The chip the event was fired on. */\n chip: MatChip;\n}\n/** Event object emitted by MatChip when selected or deselected. */\nexport declare class MatChipSelectionChange {\n /** Reference to the chip that emitted the event. */\n source: MatChip;\n /** Whether the chip that emitted the event is selected. */\n selected: boolean;\n /** Whether the selection change was a result of a user interaction. */\n isUserInput: boolean;\n constructor(\n /** Reference to the chip that emitted the event. */\n source: MatChip, \n /** Whether the chip that emitted the event is selected. */\n selected: boolean, \n /** Whether the selection change was a result of a user interaction. */\n isUserInput?: boolean);\n}\n/**\n * Injection token that can be used to reference instances of `MatChipRemove`. It serves as\n * alternative token to the actual `MatChipRemove` class which could cause unnecessary\n * retention of the class and its directive metadata.\n */\nexport declare const MAT_CHIP_REMOVE: InjectionToken<MatChipRemove>;\n/**\n * Injection token that can be used to reference instances of `MatChipAvatar`. It serves as\n * alternative token to the actual `MatChipAvatar` class which could cause unnecessary\n * retention of the class and its directive metadata.\n */\nexport declare const MAT_CHIP_AVATAR: InjectionToken<MatChipAvatar>;\n/**\n * Injection token that can be used to reference instances of `MatChipTrailingIcon`. It serves as\n * alternative token to the actual `MatChipTrailingIcon` class which could cause unnecessary\n * retention of the class and its directive metadata.\n */\nexport declare const MAT_CHIP_TRAILING_ICON: InjectionToken<MatChipTrailingIcon>;\n/** @docs-private */\ndeclare abstract class MatChipBase {\n _elementRef: ElementRef;\n abstract disabled: boolean;\n constructor(_elementRef: ElementRef);\n}\ndeclare const _MatChipMixinBase: import(\"@angular/material/core/common-behaviors/constructor\").Constructor<HasTabIndex> & import(\"@angular/material/core/common-behaviors/constructor\").AbstractConstructor<HasTabIndex> & import(\"@angular/material/core/common-behaviors/constructor\").Constructor<CanColor> & import(\"@angular/material/core/common-behaviors/constructor\").AbstractConstructor<CanColor> & import(\"@angular/material/core/common-behaviors/constructor\").Constructor<CanDisableRipple> & import(\"@angular/material/core/common-behaviors/constructor\").AbstractConstructor<CanDisableRipple> & typeof MatChipBase;\n/**\n * Dummy directive to add CSS class to chip avatar.\n * @docs-private\n */\nexport declare class MatChipAvatar {\n}\n/**\n * Dummy directive to add CSS class to chip trailing icon.\n * @docs-private\n */\nexport declare class MatChipTrailingIcon {\n}\n/**\n * Material design styled Chip component. Used inside the MatChipList component.\n */\nexport declare class MatChip extends _MatChipMixinBase implements FocusableOption, OnDestroy, CanColor, CanDisableRipple, RippleTarget, HasTabIndex, CanDisable {\n private _ngZone;\n private _changeDetectorRef;\n /** Reference to the RippleRenderer for the chip. */\n private _chipRipple;\n /**\n * Reference to the element that acts as the chip's ripple target. This element is\n * dynamically added as a child node of the chip. The chip itself cannot be used as the\n * ripple target because it must be the host of the focus indicator.\n */\n private _chipRippleTarget;\n /**\n * Ripple configuration for ripples that are launched on pointer down. The ripple config\n * is set to the global ripple options since we don't have any configurable options for\n * the chip ripples.\n * @docs-private\n */\n rippleConfig: RippleConfig & RippleGlobalOptions;\n /**\n * Whether ripples are disabled on interaction\n * @docs-private\n */\n get rippleDisabled(): boolean;\n /** Whether the chip has focus. */\n _hasFocus: boolean;\n /** Whether animations for the chip are enabled. */\n _animationsDisabled: boolean;\n /** Whether the chip list is selectable */\n chipListSelectable: boolean;\n /** Whether the chip list is in multi-selection mode. */\n _chipListMultiple: boolean;\n /** Whether the chip list as a whole is disabled. */\n _chipListDisabled: boolean;\n /** The chip avatar */\n avatar: MatChipAvatar;\n /** The chip's trailing icon. */\n trailingIcon: MatChipTrailingIcon;\n /** The chip's remove toggler. */\n removeIcon: MatChipRemove;\n /** Whether the chip is selected. */\n get selected(): boolean;\n set selected(value: boolean);\n protected _selected: boolean;\n /** The value of the chip. Defaults to the content inside `<mat-chip>` tags. */\n get value(): any;\n set value(value: any);\n protected _value: any;\n /**\n * Whether or not the chip is selectable. When a chip is not selectable,\n * changes to its selected state are always ignored. By default a chip is\n * selectable, and it becomes non-selectable if its parent chip list is\n * not selectable.\n */\n get selectable(): boolean;\n set selectable(value: boolean);\n protected _selectable: boolean;\n /** Whether the chip is disabled. */\n get disabled(): boolean;\n set disabled(value: boolean);\n protected _disabled: boolean;\n /**\n * Determines whether or not the chip displays the remove styling and emits (removed) events.\n */\n get removable(): boolean;\n set removable(value: boolean);\n protected _removable: boolean;\n /** Emits when the chip is focused. */\n readonly _onFocus: Subject<MatChipEvent>;\n /** Emits when the chip is blured. */\n readonly _onBlur: Subject<MatChipEvent>;\n /** Emitted when the chip is selected or deselected. */\n readonly selectionChange: EventEmitter<MatChipSelectionChange>;\n /** Emitted when the chip is destroyed. */\n readonly destroyed: EventEmitter<MatChipEvent>;\n /** Emitted when a chip is to be removed. */\n readonly removed: EventEmitter<MatChipEvent>;\n /** The ARIA selected applied to the chip. */\n get ariaSelected(): string | null;\n constructor(elementRef: ElementRef<HTMLElement>, _ngZone: NgZone, platform: Platform, globalRippleOptions: RippleGlobalOptions | null, _changeDetectorRef: ChangeDetectorRef, _document: any, animationMode?: string, tabIndex?: string);\n _addHostClassName(): void;\n ngOnDestroy(): void;\n /** Selects the chip. */\n select(): void;\n /** Deselects the chip. */\n deselect(): void;\n /** Select this chip and emit selected event */\n selectViaInteraction(): void;\n /** Toggles the current selected state of this chip. */\n toggleSelected(isUserInput?: boolean): boolean;\n /** Allows for programmatic focusing of the chip. */\n focus(): void;\n /**\n * Allows for programmatic removal of the chip. Called by the MatChipList when the DELETE or\n * BACKSPACE keys are pressed.\n *\n * Informs any listeners of the removal request. Does not remove the chip from the DOM.\n */\n remove(): void;\n /** Handles click events on the chip. */\n _handleClick(event: Event): void;\n /** Handle custom key presses. */\n _handleKeydown(event: KeyboardEvent): void;\n _blur(): void;\n private _dispatchSelectionChange;\n static ngAcceptInputType_selected: BooleanInput;\n static ngAcceptInputType_selectable: BooleanInput;\n static ngAcceptInputType_removable: BooleanInput;\n static ngAcceptInputType_disabled: BooleanInput;\n static ngAcceptInputType_disableRipple: BooleanInput;\n static ngAcceptInputType_tabIndex: NumberInput;\n}\n/**\n * Applies proper (click) support and adds styling for use with the Material Design \"cancel\" icon\n * available at https://material.io/icons/#ic_cancel.\n *\n * Example:\n *\n * `<mat-chip>\n * <mat-icon matChipRemove>cancel</mat-icon>\n * </mat-chip>`\n *\n * You *may* use a custom icon, but you may need to override the `mat-chip-remove` positioning\n * styles to properly center the icon within the chip.\n */\nexport declare class MatChipRemove {\n protected _parentChip: MatChip;\n constructor(_parentChip: MatChip, elementRef: ElementRef<HTMLElement>);\n /** Calls the parent chip's public `remove()` method if applicable. */\n _handleClick(event: Event): void;\n}\nexport {};\n"]}
Note: See TracBrowser for help on using the repository browser.