@ux-aspects/ux-aspects
Version:
Open source user interface framework for building modern, responsive, mobile big data applications
45 lines (44 loc) • 2.34 kB
TypeScript
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
import { Subject } from 'rxjs';
import { SidePanelAnimationState } from './side-panel-animations';
import { SidePanelService } from './side-panel.service';
import * as i0 from "@angular/core";
export declare class SidePanelComponent implements OnInit, OnDestroy {
protected readonly service: SidePanelService;
private readonly _elementRef;
private readonly _focusOrigin;
get open(): boolean;
set open(value: boolean);
inline: boolean;
attachTo: 'window' | 'container';
width: string | number;
minWidth: string | number;
maxWidth: string | number;
top: string | number;
modal: boolean;
animate: boolean;
closeOnExternalClick: boolean;
focusOnShow: boolean;
openChange: EventEmitter<boolean>;
closeOnEscape: boolean;
get position(): string;
get cssWidth(): string;
get cssTop(): string;
get cssMinWidth(): string;
get cssMaxWidth(): string;
get componentWidth(): string;
get hostWidth(): string;
get hostMinWidth(): string;
get hostMaxWidth(): string;
animationPanelState: SidePanelAnimationState;
protected _onDestroy: Subject<void>;
ngOnInit(): void;
ngOnDestroy(): void;
openPanel(): void;
closePanel(): void;
_onDocumentEscape(): void;
_onDocumentClick(target: HTMLElement): void;
private getCssValue;
static ɵfac: i0.ɵɵFactoryDeclaration<SidePanelComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<SidePanelComponent, "ux-side-panel", ["ux-side-panel"], { "open": { "alias": "open"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; "attachTo": { "alias": "attachTo"; "required": false; }; "width": { "alias": "width"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "top": { "alias": "top"; "required": false; }; "modal": { "alias": "modal"; "required": false; }; "animate": { "alias": "animate"; "required": false; }; "closeOnExternalClick": { "alias": "closeOnExternalClick"; "required": false; }; "focusOnShow": { "alias": "focusOnShow"; "required": false; }; "closeOnEscape": { "alias": "closeOnEscape"; "required": false; }; }, { "openChange": "openChange"; }, never, ["*"], false, never>;
}