/** Core */ import { CoreComponent } from "cmf.core/src/core"; /** Angular2 */ import * as ng from "@angular/core"; /**Details Step */ import { DetailsStep } from "./steps/detailsStep"; /**Wizard Event Args*/ import { WizardEventArgs } from "cmf.core.controls/src/components/wizard/wizardDef"; import { Wizard } from "cmf.core.controls/src/components/wizard/wizardBase"; /** * @whatItDoes * * This wizard will enable the user to import objects within the system. * The user will upload an XML or Zip file that contains the objects to be imported. * Optionaly the user can pass an ChangeSet that it will be used when objects requires an ChangeSet on Import. * * @howToUse * * It will be used within the Generic Search Pages and it will open the Import wizard. * * ### Inputs: * * _This component has no inputs_ * * ### Outputs: * _This component has no inputs_ * * * ### Example * To use the wizard one can invoke via action * * ```javascript * this.framework.sandbox.navigation.navigateByAction(this._router, "System.Import", { * * }, this._elementRef); * ``` * * * @description * * ## WizardImport Component * * ### Dependencies * * #### Components * * TransactionWizard : `cmf.core.business.controls` * * DetailsStep : `cmf.core.business.controls` * * #### Services * * _This component does not depend on any service_ * * #### Directives * * TransactionWizard : `cmf.core.business.controls` */ export declare class WizardImport extends CoreComponent { private element; private compiler; /** * Details step */ detailsStep: DetailsStep; /** * Wizard */ wizard: Wizard; /** * Uploads a file to the host and returns the temporary path were it was stored * @param file File to upload * @returns promise to a string with the path */ private importObjects; /** * Constructor. */ constructor(element: ng.ElementRef, compiler: ng.Compiler); /** * On Wizard finish event * * @param args */ onWizardFinish(args: WizardEventArgs): void; } export declare class WizardImportModule { }