/** Angular2 */ import * as ng from "@angular/core"; /** Core */ import { CoreComponent } from "cmf.core/src/core"; import Cmf from "cmf.lbos"; import { TransactionExecutionViewInterface, TransactionExecutionViewArgs } from "../../directives/transactionExecutionView/transactionExecutionView"; import { PageBag } from "cmf.core.controls/src/components/page/pageBag"; import { ExecutionViewEventArgs } from "cmf.core.controls/src/components/executionView/executionViewDef"; /** * @whatItDoes * Wizard to edit the attributes of an entity, including Custom Properties. * Both the Definition and Version Attributes and Custom Properties are supported. * The Entity instance must be provided * * @howToUse * * This component is called through an action. And in the context should be provided one of the following properties: * * * `Cmf.Foundation.BusinessObjects.Entity[]` : **entities** - Array of entities (only the first will be considered) * * `Cmf.Foundation.BusinessObjects.Entity` : **instance** - The entity instance * * @description * * ### Dependencies * * #### Components * * TransactionExecutionView : `cmf.core.business.controls` * * BaseWidget : `cmf.core.controls` * * EntityAttributesEdit : `cmf.core.business.controls` * * #### Directives * * ProgressIndicator : `cmf.core.controls` * */ export declare class WizardEditAttributes extends CoreComponent implements TransactionExecutionViewInterface, ng.AfterViewInit { private _elementRef; private _pageBag; /** * Is versioned */ _isVersioned: boolean; /** * Title */ _title: string; /** * Attributes to add or update */ _attributesToAddOrUpdate: Cmf.Foundation.BusinessObjects.AttributeCollection; /** * Attributes to remove */ _attributesToRemove: string[]; /** * Related Attributes to add or update */ _relatedAttributesToAddOrUpdate: Cmf.Foundation.BusinessObjects.AttributeCollection; /** * Related Attributes to remove */ _relatedAttributesToRemove: string[]; /** * Nested wizard component */ private _executionView; /** * Entity */ entity: Cmf.Foundation.BusinessObjects.Entity; /** * Constructor */ constructor(_elementRef: ng.ElementRef, _pageBag: PageBag); /** * Is not empty */ private isEmpty; /** * Attributes to add or update change */ attributesToAddOrUpdateChange(type: string, args: Cmf.Foundation.BusinessObjects.AttributeCollection): void; /** * Attributes to remove change */ attributesToRemoveChange(type: string, args: string[]): void; /** * Prepare data input */ prepareDataInput(): Promise>; /** * Prepare transaction input */ prepareTransactionInput(args: TransactionExecutionViewArgs): Promise; /** * Handle transaction output */ handleTransactionOutput(output: Cmf.Foundation.BusinessOrchestration.BaseOutput, executionViewArgs?: ExecutionViewEventArgs): Promise; ngAfterViewInit(): void; } export declare class WizardEditAttributesModule { }