You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
4.9 KiB
1 lines
4.9 KiB
{"version":3,"file":"expansion-panel.d.ts","sources":["expansion-panel.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","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 { AnimationEvent } from '@angular/animations';\nimport { CdkAccordionItem } from '@angular/cdk/accordion';\nimport { BooleanInput } from '@angular/cdk/coercion';\nimport { UniqueSelectionDispatcher } from '@angular/cdk/collections';\nimport { TemplatePortal } from '@angular/cdk/portal';\nimport { AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter, InjectionToken, OnChanges, OnDestroy, SimpleChanges, ViewContainerRef } from '@angular/core';\nimport { Subject } from 'rxjs';\nimport { MatAccordionBase, MatAccordionTogglePosition } from './accordion-base';\nimport { MatExpansionPanelContent } from './expansion-panel-content';\n/** MatExpansionPanel's states. */\nexport declare type MatExpansionPanelState = 'expanded' | 'collapsed';\n/**\n * Object that can be used to override the default options\n * for all of the expansion panels in a module.\n */\nexport interface MatExpansionPanelDefaultOptions {\n /** Height of the header while the panel is expanded. */\n expandedHeight: string;\n /** Height of the header while the panel is collapsed. */\n collapsedHeight: string;\n /** Whether the toggle indicator should be hidden. */\n hideToggle: boolean;\n}\n/**\n * Injection token that can be used to configure the default\n * options for the expansion panel component.\n */\nexport declare const MAT_EXPANSION_PANEL_DEFAULT_OPTIONS: InjectionToken<MatExpansionPanelDefaultOptions>;\n/**\n * This component can be used as a single element to show expandable content, or as one of\n * multiple children of an element with the MatAccordion directive attached.\n */\nexport declare class MatExpansionPanel extends CdkAccordionItem implements AfterContentInit, OnChanges, OnDestroy {\n private _viewContainerRef;\n _animationMode: string;\n private _document;\n private _hideToggle;\n private _togglePosition;\n /** Whether the toggle indicator should be hidden. */\n get hideToggle(): boolean;\n set hideToggle(value: boolean);\n /** The position of the expansion indicator. */\n get togglePosition(): MatAccordionTogglePosition;\n set togglePosition(value: MatAccordionTogglePosition);\n /** An event emitted after the body's expansion animation happens. */\n readonly afterExpand: EventEmitter<void>;\n /** An event emitted after the body's collapse animation happens. */\n readonly afterCollapse: EventEmitter<void>;\n /** Stream that emits for changes in `@Input` properties. */\n readonly _inputChanges: Subject<SimpleChanges>;\n /** Optionally defined accordion the expansion panel belongs to. */\n accordion: MatAccordionBase;\n /** Content that will be rendered lazily. */\n _lazyContent: MatExpansionPanelContent;\n /** Element containing the panel's user-provided content. */\n _body: ElementRef<HTMLElement>;\n /** Portal holding the user's content. */\n _portal: TemplatePortal;\n /** ID for the associated header element. Used for a11y labelling. */\n _headerId: string;\n /** Stream of body animation done events. */\n readonly _bodyAnimationDone: Subject<AnimationEvent>;\n constructor(accordion: MatAccordionBase, _changeDetectorRef: ChangeDetectorRef, _uniqueSelectionDispatcher: UniqueSelectionDispatcher, _viewContainerRef: ViewContainerRef, _document: any, _animationMode: string, defaultOptions?: MatExpansionPanelDefaultOptions);\n /** Determines whether the expansion panel should have spacing between it and its siblings. */\n _hasSpacing(): boolean;\n /** Gets the expanded state string. */\n _getExpandedState(): MatExpansionPanelState;\n /** Toggles the expanded state of the expansion panel. */\n toggle(): void;\n /** Sets the expanded state of the expansion panel to false. */\n close(): void;\n /** Sets the expanded state of the expansion panel to true. */\n open(): void;\n ngAfterContentInit(): void;\n ngOnChanges(changes: SimpleChanges): void;\n ngOnDestroy(): void;\n /** Checks whether the expansion panel's content contains the currently-focused element. */\n _containsFocus(): boolean;\n static ngAcceptInputType_hideToggle: BooleanInput;\n}\n/**\n * Actions of a `<mat-expansion-panel>`.\n */\nexport declare class MatExpansionPanelActionRow {\n}\n"]}
|