/** Angular2 */ import * as ng from "@angular/core"; import { Router } from "@angular/router"; /** Core */ import { CoreComponent } from "cmf.core/src/core"; import { PageBag } from "cmf.core.controls/src/components/page/pageBag"; import Cmf from "cmf.lbos"; import { EditMode } from "../createEditEntity/createEditEntity"; export declare class CreationPageBag extends PageBag { entity: Cmf.Foundation.BusinessObjects.Entity; } /** * The create entity wizard * * ## Example * * Assume this HTML Template * * ```html * * * * ``` * * @class WizardCreate */ export declare class WizardCreate extends CoreComponent implements ng.AfterContentInit { private _router; protected _creationPageBag: CreationPageBag; _entity: Cmf.Foundation.BusinessObjects.Entity; private _entityType; /** * List of TemplateRefs that consumer components may project as a QueryList */ private _customTemplates; _customSteps: Array>; customStepTitles: Array; /** * Properties to be shown */ propertiesToShow: { [key: string]: boolean; }; /** * Create Edit Entity Entity Mode. By default its a create */ _editMode: EditMode; /** * Main title */ mainTitle: string; /** * Action name */ actionName: string; /** * Navigate on service finish */ _navigateOnFinish: boolean; /** * When the entity is ready to be used (when it has instantiated empty) */ onEntityReady: ng.EventEmitter; /** * @method constructor */ constructor(element: ng.ElementRef, _pageBag: PageBag, _router: Router, _creationPageBag: CreationPageBag); ngAfterContentInit(): void; onEntityUpdated(entity: Cmf.Foundation.BusinessObjects.Entity): void; } export declare class WizardCreateModule { }