/** Core */ import { CoreComponent } from "cmf.core/src/core"; import { Cmf } from "cmf.lbos"; /** Nested modules */ import { TransactionWizardInterface, TransactionWizardArgs } from "../../directives/transactionWizard/transactionWizard"; import { PageBag } from "cmf.core.controls/src/components/page/pageBag"; import { LayoutAffectationLevel } from "cmf.core.controls/src/directives/layout/layoutService"; /** Angular */ import * as ng from "@angular/core"; /** * @whatItDoes * * Generic wizard to reset personalized layouts * Supported objects: UIPage * * @howToUse * * This component receives the instance via context * * ### Example * To use the component, assume this HTML Template as an example: * * ```HTML * * ``` * * ### _NOTES_ * (optional, Provide additional notes here) * * @description * * ## WizardResetLayout Component * * ### Dependencies * * #### Components * * BaseWidgetModule : `cmf.core.controls` * * SelectExpandedModule : `cmf.core.controls` * * TransactionWizardModule: `cmf.core.business.controls` * */ export declare class WizardResetLayout extends CoreComponent implements TransactionWizardInterface { private _pageBag; /** * Identifier deduced from current instance */ private readonly _identifier; /** * Types personalization levels available */ layoutAffectationLevels: { value: LayoutAffectationLevel; text: string; }[]; /** * Selected personalization level type */ selectedLayoutAffectationLevel: { value: LayoutAffectationLevel; text: string; }; /** * Level of layout personalization to save (deduced from selectedLayoutPersonalizationLevel) */ readonly getLayoutAffectationLevel: LayoutAffectationLevel; /** * Current instance being handled: UIPage, Resource, etc */ instance: Cmf.Foundation.BusinessObjects.Entity; constructor(viewContainerRef: ng.ViewContainerRef, _pageBag: PageBag); /** * Check if there are layouts defined to reset */ prepareDataInput(): Promise; handleDataOutput(outputs: Cmf.Foundation.BusinessOrchestration.BaseOutput[]): Promise; /** * Reset current layout personalization context * @param args TransactionWizardArgs */ prepareTransactionInput(args: TransactionWizardArgs): Promise; handleTransactionOutput(output: Cmf.Foundation.BusinessOrchestration.BaseOutput): Promise; } export declare class WizardResetLayoutModule { }