import { Scope, ObjectData } from '@cyklang/core'; import { Instruction, InstructionType, Tag } from '@cyklang/core'; import { ComponentModel, PushModalDialogFunction, ValidationFunction, PopModalDialogFunction } from './cykLang'; import { ShowMessageFunction } from './cykRun'; import { VariableReact } from './cykReact'; import { WindowTabManager } from './WindowTabManager'; import { Ref } from 'vue'; export declare class WindowManager { scopeRun: Scope; dialogCount: number; variableReact: VariableReact; currentformComponent: ComponentModel | undefined; setFormComponentValue: (formComponent: ComponentModel | undefined) => void; validateForm: ValidationFunction; browserHistoryPush: (url: string) => void; dialogStack: ComponentModel[]; pushModalDialogFunction: PushModalDialogFunction; popModalDialogFunction: PopModalDialogFunction; validateModalDialog: ValidationFunction; appendOutput: (line: string) => void; refreshModalDialog: () => void; resetModalDialogDirty: () => void; sendEventModalDialog: (componentName: string, event: string) => void; debugShowDialog: (scope: Scope, tag: Tag) => Promise; showMessageFunction: ShowMessageFunction; showLoading: (msg: string) => void; hidLoading: () => void; windowTabManager: WindowTabManager; constructor(moduleName: string, setFormComponentValue: (formComponent: ComponentModel | undefined) => void, validateForm: ValidationFunction, browserHistoryPush: (url: string) => void, pushModalDialogFunction: PushModalDialogFunction, popModalDialogFunction: PopModalDialogFunction, validateModalDialog: ValidationFunction, appendOutput: (line: string) => void, refreshModalDialog: () => void, resetModalDialogDirty: () => void, sendEventModalDialog: (componentName: string, event: string) => void, debugShowDialog: (scope: Scope, tag: Tag) => Promise, showMessageFunction: ShowMessageFunction, showLoading: (msg: string) => void, hideLoading: () => void); /** * scanBarcodeFunction * @returns */ scanBarcodeFunction: () => Promise; /** * * @param dialogData */ pushModalDialog(dialogData: ObjectData): Promise; /** * * @param formData * @param toolbarData * @param scope * @returns */ setFormComponent(formData: ObjectData, toolbarData: ObjectData | undefined, scope: Scope): Promise; resetFormComponent(): void; closeForm(): Promise; addDBResultSelectFunction(): void; addDataTypes(): Promise; /** * */ addFormMethods(): Promise; /** * */ addDialogMethods(): Promise; addConfirmFunction(): void; } export declare class CloseFormInstructionType extends InstructionType { windowManager: WindowManager; constructor(windowManager: WindowManager); parseInstruction(tag: Tag): Promise; } /** * * @param componentArg * @param result * @returns */ export declare function buildComponentArray(componentArg: ComponentModel, components: Ref): Promise;