@microsoft/windows-admin-center-sdk
Version:
Microsoft - Windows Admin Center Shell
52 lines (51 loc) • 1.91 kB
TypeScript
import { AfterContentInit, ElementRef, Injector, QueryList } from '@angular/core';
import { CoreBaseComponent } from '../common/base.component';
import { GuidedPaneComponent } from './guided-pane/guided-pane.component';
import * as i0 from "@angular/core";
export declare class GuidedPanelComponent extends CoreBaseComponent implements AfterContentInit {
private elementRef;
/**
* The source name to use for logging
*/
protected get logSourceName(): string;
panes: QueryList<GuidedPaneComponent>;
firstPaneId: string;
paneHistory: string[];
activePane: GuidedPaneComponent;
/**
* Constructs a new instance of @see GuidedPanelComponent
* @param injector the injector service for the base class of this component
*/
constructor(injector: Injector, elementRef: ElementRef);
ngAfterContentInit(): void;
/**
* Resets the panel to the first pane
*/
reset(): void;
/**
* deactivates the currently active pane
* @param modifyHistory If true, adds the active pane to history before deactivating it
*/
private deactivate;
/**
* Find a pane by its id
* @param id The id of the pane
*/
private find;
/**
* Activate a pane by its id
* @param id The id of the pane
*/
activate(id: string): void;
/**
* navigates back in the pane history
*/
back(): void;
/**
* If pane activation made us lose focus, refocus on first thing in the pane
* @param previousElement the element that was active before activating the new pane
*/
private focusOnPaneElement;
static ɵfac: i0.ɵɵFactoryDeclaration<GuidedPanelComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<GuidedPanelComponent, "sme-guided-panel", never, { "firstPaneId": "firstPaneId"; }, {}, ["panes"], ["*"], false, never>;
}