import formPlugin, { CascaderOption, ChangeRecord, CodeSelectColConfig, CodeSelectConfig, CondOpSelectConfig, ContainerChangeEventData, DataSourceFieldSelectConfig, DataSourceFieldsConfig, DataSourceInputConfig, DataSourceMethodSelectConfig, DataSourceMethodsConfig, DataSourceMocksConfig, DataSourceSelect, DisplayCondsConfig, EventSelectConfig, FieldProps, FormConfig, FormInstallOptions, FormState, FormValue, KeyValueConfig, PageFragmentSelectConfig, TabPaneConfig, TableColumnConfig, TypeFunction } from "@tmagic/form"; import tablePlugin from "@tmagic/table"; import * as _$_tmagic_stage0 from "@tmagic/stage"; import StageCore, { ContainerHighlightType, CustomizeMoveableOptions, GuidesOptions, RenderType, UpdateDragEl, default as StageCore$1 } from "@tmagic/stage"; import designPlugin, { ButtonProps, DesignPluginOptions } from "@tmagic/design"; import * as _$gesto from "gesto"; import Gesto, { OnDrag, OnDrag as OnDrag$1 } from "gesto"; import * as _$_tmagic_core0 from "@tmagic/core"; import { CodeBlockContent, CodeBlockDSL, DataSchema, DataSourceFieldType, DataSourceSchema, DepData, DepExtendedData, DepTargetType, DepTargetType as DepTargetType$1, DisplayCond, EventOption, Id, MApp, MContainer, MNode, MPage, MPageFragment, NodeType, Target, TargetOptions } from "@tmagic/core"; import * as _$monaco_editor0 from "monaco-editor"; import { App, Component, ComputedRef, Ref, ShallowRef } from "vue"; import EventEmitter, { EventEmitter as EventEmitter$1 } from "events"; import Sortable, { Options, SortableEvent } from "sortablejs"; import { PascalCasedProperties, Writable } from "type-fest"; import * as _$_tmagic_schema0 from "@tmagic/schema"; import { StyleSchema } from "@tmagic/schema"; import * as _$_vue_reactivity0 from "@vue/reactivity"; import * as _$_tmagic_form_schema0 from "@tmagic/form-schema"; import * as _$_vue_runtime_core0 from "@vue/runtime-core"; export * from "@tmagic/form"; export * from "@tmagic/table"; export * from "@tmagic/stage"; export * from "@tmagic/design"; export * from "@tmagic/utils"; //#region temp/packages/editor/src/services/BaseService.d.ts /** * 提供两种方式对Class进行扩展 * 方法1: * 给Class中的每个方法都添加before after两个钩子 * 给Class添加一个usePlugin方法,use方法可以传入一个包含before或者after方法的对象 * * 例如: * Class EditorService extends BaseService { * constructor() { * super([ { name: 'add', isAsync: true },]); * } * add(value) { return result; } * }; * * const editorService = new EditorService(); * * editorService.usePlugin({ * beforeAdd(value) { return [value] }, * afterAdd(result, value) { return result }, * }); * * editorService.add(); 最终会变成 () => { * editorService.beforeAdd(); * editorService.add(); * editorService.afterAdd(); * } * * 调用时的参数会透传到before方法的参数中, 然后before的return 会作为原方法的参数和after的参数,after第一个参数则是原方法的return值; * 如需终止后续方法调用可以return new Error(); * * 方法2: * 给Class中的每个方法都添加中间件 * 给Class添加一个use方法,use方法可以传入一个包含源对象方法名作为key值的对象 * * 例如: * Class EditorService extends BaseService { * constructor() { * super([ { name: 'add', isAsync: true },]); * } * add(value) { return result; } * }; * * const editorService = new EditorService(); * editorService.use({ * add(value, next) { console.log(value); next() }, * }); */ declare class export_default extends EventEmitter$1 { private pluginOptionsList; private middleware; private taskList; private doingTask; constructor(methods?: { name: string; isAsync: boolean; }[], serialMethods?: string[]); /** * @deprecated 请使用usePlugin代替 */ use(options: Record): void; usePlugin(options: Record): void; removePlugin(options: Record): void; removeAllPlugins(): void; private doTask; } //#endregion //#region temp/packages/editor/src/services/codeBlock.d.ts declare const canUsePluginMethods$7: { async: readonly ["setCodeDslById", "setEditStatus", "setCombineIds", "setUndeleteableList", "deleteCodeDslByIds"]; sync: string[]; }; type AsyncMethodName$4 = Writable<(typeof canUsePluginMethods$7)['async']>; declare class CodeBlock extends export_default { private state; constructor(); /** * 设置活动的代码块dsl数据源 * @param {CodeBlockDSL} codeDsl 代码DSL * @returns {void} */ setCodeDsl(codeDsl: CodeBlockDSL): Promise; /** * 获取活动的代码块dsl数据源(默认从dsl中的codeBlocks字段读取) * 方法要支持钩子添加扩展,会被重写为异步方法,因此这里显示写为异步以提醒调用者需以异步形式调用 * @param {boolean} forceRefresh 是否强制从活动dsl拉取刷新 * @returns {CodeBlockDSL | null} */ getCodeDsl(): CodeBlockDSL | null; /** * 根据代码块id获取代码块内容 * @param {Id} id 代码块id * @returns {CodeBlockContent | null} */ getCodeContentById(id: Id): CodeBlockContent | null; /** * 设置代码块ID和代码内容到源dsl * @param {Id} id 代码块id * @param {CodeBlockContent} codeConfig 代码块内容配置信息 * @returns {void} */ setCodeDslById(id: Id, codeConfig: Partial): Promise; /** * 为了兼容历史原因 * 设置代码块ID和代码内容到源dsl * @param {Id} id 代码块id * @param {CodeBlockContent} codeConfig 代码块内容配置信息 * @param {boolean} force 是否强制写入,默认true * @returns {void} */ setCodeDslByIdSync(id: Id, codeConfig: Partial, force?: boolean): void; /** * 根据代码块id数组获取代码dsl * @param {string[]} ids 代码块id数组 * @returns {CodeBlockDSL} */ getCodeDslByIds(ids: string[]): CodeBlockDSL; /** * 获取编辑状态 * @returns {boolean} 是否可编辑 */ getEditStatus(): boolean; /** * 设置编辑状态 * @param {boolean} status 是否可编辑 * @returns {void} */ setEditStatus(status: boolean): Promise; /** * 设置当前选中组件已关联绑定的代码块id数组 * @param {string[]} ids 代码块id数组 * @returns {void} */ setCombineIds(ids: string[]): Promise; /** * 获取当前选中组件已关联绑定的代码块id数组 * @returns {string[]} */ getCombineIds(): string[]; /** * 获取不可删除列表 * @returns {Id[]} */ getUndeletableList(): Id[]; /** * 设置不可删除列表:为业务逻辑预留的不可删除的代码块列表,由业务逻辑维护(如代码块上线后不可删除) * @param {Id[]} codeIds 代码块id数组 * @returns {void} */ setUndeleteableList(codeIds: Id[]): Promise; /** * 设置代码草稿 */ setCodeDraft(codeId: Id, content: string): void; /** * 获取代码草稿 */ getCodeDraft(codeId: Id): string | null; /** * 删除代码草稿 */ removeCodeDraft(codeId: Id): void; /** * 在dsl数据源中删除指定id的代码块 * @param {Id[]} codeIds 需要删除的代码块id数组 */ deleteCodeDslByIds(codeIds: Id[]): Promise; setParamsColConfig(config: TableColumnConfig): void; getParamsColConfig(): TableColumnConfig | undefined; /** * 生成代码块唯一id * @returns {Id} 代码块唯一id */ getUniqueId(): Promise; /** * 复制时会带上组件关联的代码块 * @param config 组件节点配置 * @returns */ copyWithRelated(config: MNode | MNode[], collectorOptions?: TargetOptions): void; /** * 粘贴代码块 * @returns */ paste(): void; resetState(): void; destroy(): void; usePlugin(options: AsyncHookPlugin): void; } type CodeBlockService = CodeBlock; declare const _default$34: CodeBlock; //#endregion //#region temp/packages/editor/src/services/componentList.d.ts declare class ComponentList extends export_default { private state; constructor(); /** * @param componentGroupList 组件列表配置 */ setList(componentGroupList: ComponentGroup[]): void; getList(): ComponentGroup[]; resetState(): void; destroy(): void; } type ComponentListService = ComponentList; //#endregion //#region temp/packages/editor/src/services/dataSource.d.ts interface State$2 { datasourceTypeList: DatasourceTypeOption[]; dataSources: DataSourceSchema[]; editable: boolean; configs: Record; values: Record>; events: Record; methods: Record; } type StateKey$1 = keyof State$2; declare const canUsePluginMethods$6: { async: never[]; sync: readonly ["getFormConfig", "setFormConfig", "getFormValue", "setFormValue", "getFormEvent", "setFormEvent", "getFormMethod", "setFormMethod", "add", "update", "remove", "createId"]; }; type SyncMethodName$4 = Writable<(typeof canUsePluginMethods$6)['sync']>; declare class DataSource extends export_default { private state; constructor(); set(name: K, value: T): void; get(name: K): State$2[K]; getFormConfig(type?: string): FormConfig; setFormConfig(type: string, config: FormConfig): void; getFormValue(type?: string): Partial; setFormValue(type: string, value: Partial): void; getFormEvent(type?: string): EventOption[]; setFormEvent(type: string, value?: EventOption[]): void; getFormMethod(type?: string): EventOption[]; setFormMethod(type: string, value?: EventOption[]): void; add(config: DataSourceSchema): { id: string; type: string; title?: string; description?: string; fields: _$_tmagic_schema0.DataSchema[]; methods: _$_tmagic_schema0.CodeBlockContent[]; mocks?: _$_tmagic_schema0.MockSchema[]; events: _$_tmagic_schema0.EventConfig[]; disabledInitInJsEngine?: (_$_tmagic_schema0.JsEngine | string)[]; }; update(config: DataSourceSchema, { changeRecords }?: { changeRecords?: ChangeRecord[]; }): DataSourceSchema; remove(id: string): void; createId(): string; getDataSourceById(id: string): DataSourceSchema | undefined; resetState(): void; destroy(): void; usePlugin(options: SyncHookPlugin): void; /** * 复制时会带上组件关联的数据源 * @param config 组件节点配置 * @returns */ copyWithRelated(config: MNode | MNode[], collectorOptions?: TargetOptions): void; /** * 粘贴数据源 * @returns */ paste(): void; } type DataSourceService = DataSource; declare const _default$35: DataSource; //#endregion //#region temp/packages/editor/src/services/dep.d.ts interface DepEvents { 'add-target': [target: Target]; 'remove-target': [id: string | number, type: string | DepTargetType$1]; collected: [nodes: MNode[], deep: boolean]; 'ds-collected': [nodes: MNode[], deep: boolean]; } interface State$1 { collecting: boolean; taskLength: number; } type StateKey = keyof State$1; declare class Dep extends export_default { private state; private idleTask; private watcher; private waitingWorker?; constructor(); set(name: K, value: T): void; get(name: K): State$1[K]; removeTargets(type?: string): void; getTargets(type?: string): { [targetId: string]: Target; [targetId: number]: Target; }; getTarget(id: Id, type?: string): Target; addTarget(target: Target): void; removeTarget(id: Id, type?: string): void; clearTargets(): void; collect(nodes: MNode[], depExtendedData?: DepExtendedData, deep?: boolean, type?: DepTargetType$1): void; collectIdle(nodes: MNode[], depExtendedData?: DepExtendedData, deep?: boolean, type?: DepTargetType$1): Promise; collectByWorker(dsl: MApp): Promise>>; collectNode(node: MNode, target: Target, depExtendedData?: DepExtendedData, deep?: boolean): void; clear(nodes?: MNode[]): void; clearByType(type: DepTargetType$1, nodes?: MNode[]): void; hasTarget(id: Id, type?: string): boolean; hasSpecifiedTypeTarget(type?: string): boolean; clearIdleTasks(): void; on(eventName: Name, listener: (...args: Param) => void | Promise): this; once(eventName: Name, listener: (...args: Param) => void | Promise): this; reset(): void; destroy(): void; emit(eventName: Name, ...args: Param): boolean; private enqueueTask; } type DepService = Dep; declare const _default$37: Dep; //#endregion //#region temp/packages/editor/src/services/editor.d.ts declare class Editor extends export_default { state: StoreState; private isHistoryStateChange; private selectionBeforeOp; constructor(); /** * 设置当前指点节点配置 * @param name 'root' | 'page' | 'parent' | 'node' | 'highlightNode' | 'nodes' | 'stage' | 'modifiedNodeIds' | 'pageLength' | 'pageFragmentLength * @param value MNode */ set(name: K, value: T): void; /** * 获取当前指点节点配置 * @param name 'root' | 'page' | 'parent' | 'node' | 'highlightNode' | 'nodes' | 'stage' | 'modifiedNodeIds' | 'pageLength' | 'pageFragmentLength' * @returns MNode */ get(name: K): StoreState[K]; /** * 根据id获取组件、组件的父组件以及组件所属的页面节点 * @param {number | string} id 组件id * @param {boolean} raw 是否使用toRaw * @returns {EditorNodeInfo} */ getNodeInfo(id: Id, raw?: boolean): EditorNodeInfo; /** * 根据ID获取指点节点配置 * @param id 组件ID * @param {boolean} raw 是否使用toRaw * @returns 组件节点配置 */ getNodeById(id: Id, raw?: boolean): MNode | null; /** * 根据ID获取指点节点的父节点配置 * @param id 组件ID * @param {boolean} raw 是否使用toRaw * @returns 指点组件的父节点配置 */ getParentById(id: Id, raw?: boolean): MContainer | null; /** * 只有容器拥有布局 */ getLayout(parent: MNode, node?: MNode | null): Promise; /** * 选中指定节点(将指定节点设置成当前选中状态) * @param config 指定节点配置或者ID * @returns 当前选中的节点配置 */ select(config: MNode | Id): Promise | never; selectNextNode(): Promise | never; selectNextPage(): Promise | never; /** * 高亮指定节点 * @param config 指定节点配置或者ID * @returns 当前高亮的节点配置 */ highlight(config: MNode | Id): void; /** * 多选 * @param ids 指定节点ID * @returns 加入多选的节点配置 */ multiSelect(ids: Id[]): void; selectRoot(): void; doAdd(node: MNode, parent: MContainer): Promise; /** * 向指点容器添加组件节点 * @param addConfig 将要添加的组件节点配置 * @param parent 要添加到的容器组件节点配置,如果不设置,默认为当前选中的组件的父节点 * @returns 添加后的节点 */ add(addNode: AddMNode | MNode[], parent?: MContainer | null): Promise; doRemove(node: MNode): Promise; /** * 删除组件 * @param {Object} node */ remove(nodeOrNodeList: MNode | MNode[]): Promise; doUpdate(config: MNode, { changeRecords, selectedAfterUpdate }?: { changeRecords?: ChangeRecord[]; selectedAfterUpdate?: boolean; }): Promise<{ newNode: MNode; oldNode: MNode; changeRecords?: ChangeRecord[]; }>; /** * 更新节点 * update后会触发依赖收集,收集完后会掉stage.update方法 * @param config 新的节点配置,配置中需要有id信息 * @returns 更新后的节点配置 */ update(config: MNode | MNode[], data?: { changeRecords?: ChangeRecord[]; selectedAfterUpdate?: boolean; }): Promise; /** * 将id为id1的组件移动到id为id2的组件位置上,例如:[1,2,3,4] -> sort(1,3) -> [2,1,3,4] * @param id1 组件ID * @param id2 组件ID * @returns void */ sort(id1: Id, id2: Id): Promise; /** * 将组件节点配置存储到localStorage中 * @param config 组件节点配置 * @returns */ copy(config: MNode | MNode[]): void; /** * 复制时会带上组件关联的依赖 * @param config 组件节点配置 * @returns */ copyWithRelated(config: MNode | MNode[], collectorOptions?: TargetOptions): void; /** * 从localStorage中获取节点,然后添加到当前容器中 * @param position 粘贴的坐标 * @returns 添加后的组件节点配置 */ paste(position?: PastePosition, collectorOptions?: TargetOptions): Promise; doPaste(config: MNode[], position?: PastePosition): Promise; doAlignCenter(config: MNode): Promise; /** * 将指点节点设置居中 * @param config 组件节点配置 * @returns 当前组件节点配置 */ alignCenter(config: MNode | MNode[]): Promise; /** * 移动当前选中节点位置 * @param offset 偏移量 */ moveLayer(offset: number | LayerOffset): Promise; /** * 移动到指定容器中 * @param config 需要移动的节点 * @param targetId 容器ID */ moveToContainer(config: MNode, targetId: Id): Promise; dragTo(config: MNode | MNode[], targetParent: MContainer, targetIndex: number): Promise; /** * 撤销当前操作 * @returns 被撤销的操作 */ undo(): Promise; /** * 恢复到下一步 * @returns 被恢复的操作 */ redo(): Promise; move(left: number, top: number): Promise; resetState(): void; destroy(): void; resetModifiedNodeId(): void; usePlugin(options: AsyncHookPlugin): void; on(eventName: Name, listener: (...args: Param) => void | Promise): this; once(eventName: Name, listener: (...args: Param) => void | Promise): this; emit(eventName: Name, ...args: Param): boolean; private addModifiedNodeId; private captureSelectionBeforeOp; private pushOpHistory; /** * 应用历史操作(撤销 / 重做) * @param step 操作记录 * @param reverse true = 撤销,false = 重做 */ private applyHistoryOp; private selectedConfigExceptionHandler; } type EditorService = Editor; declare const _default$38: Editor; //#endregion //#region temp/packages/editor/src/services/events.d.ts declare const canUsePluginMethods$5: { async: readonly []; sync: readonly ["setEvent", "getEvent", "setMethod", "getMethod"]; }; type AsyncMethodName$3 = Writable<(typeof canUsePluginMethods$5)['async']>; type SyncMethodName$3 = Writable<(typeof canUsePluginMethods$5)['sync']>; declare class Events extends export_default { constructor(); setEvents(events: Record): void; setEvent(type: string, events: EventOption[]): void; getEvent(type: string): EventOption[]; setMethods(methods: Record): void; setMethod(type: string, method: EventOption[]): void; getMethod(type: string, _targetId: Id): EventOption[]; resetState(): void; destroy(): void; usePlugin(options: AsyncHookPlugin & SyncHookPlugin): void; } type EventsService = Events; declare const _default$39: Events; //#endregion //#region temp/packages/editor/src/utils/undo-redo.d.ts declare class UndoRedo { private elementList; private listCursor; private listMaxSize; constructor(listMaxSize?: number); pushElement(element: T): void; canUndo(): boolean; /** 返回被撤销的操作 */ undo(): T | null; canRedo(): boolean; /** 返回被重做的操作 */ redo(): T | null; getCurrentElement(): T | null; } //#endregion //#region temp/packages/editor/src/services/history.d.ts declare class History extends export_default { state: { pageId?: _$_tmagic_schema0.Id | undefined; pageSteps: Record<_$_tmagic_schema0.Id, UndoRedo>; canRedo: boolean; canUndo: boolean; }; constructor(); reset(): void; resetPage(): void; changePage(page: MPage | MPageFragment): void; resetState(): void; push(state: StepValue): StepValue | null; undo(): StepValue | null; redo(): StepValue | null; destroy(): void; private getUndoRedo; private setCanUndoRedo; } type HistoryService = History; declare const _default$40: History; //#endregion //#region temp/packages/editor/src/services/keybinding.d.ts declare class Keybinding extends export_default { ctrlKey: string; private controllers; private bindingList; private commands; registerCommand(command: string, handler: (e: KeyboardEvent) => void | Promise): void; /** * @deprecated */ registeCommand(command: string, handler: (e: KeyboardEvent) => void | Promise): void; unregisterCommand(command: string): void; /** * @deprecated */ unregisteCommand(command: string): void; registerEl(name: string, el?: HTMLElement): void; /** * @deprecated */ registeEl(name: string, el?: HTMLElement): void; unregisterEl(name: string): void; /** * @deprecated */ unregisteEl(name: string): void; register(maps: KeyBindingItem[]): void; /** * @deprecated */ registe(map: KeyBindingItem[]): void; reset(): void; destroy(): void; private bind; private getKeyconKeys; } type KeybindingService = Keybinding; //#endregion //#region temp/packages/editor/src/services/props.d.ts declare const canUsePluginMethods$4: { async: readonly ["setPropsConfig", "getPropsConfig", "setPropsValue", "getPropsValue", "fillConfig", "getDefaultPropsValue"]; sync: readonly ["createId", "setNewItemId"]; }; type AsyncMethodName$2 = Writable<(typeof canUsePluginMethods$4)['async']>; type SyncMethodName$2 = Writable<(typeof canUsePluginMethods$4)['sync']>; declare class Props extends export_default { private state; constructor(); setDisabledDataSource(disabled: boolean): void; setDisabledCodeBlock(disabled: boolean): void; getDisabledDataSource(): boolean; getDisabledCodeBlock(): boolean; setPropsConfigs(configs: Record): void; fillConfig(config: FormConfig, labelWidth?: string): Promise; setPropsConfig(type: string, config: FormConfig | PropsFormConfigFunction): Promise; /** * 获取指点类型的组件属性表单配置 * @param type 组件类型 * @returns 组件属性表单配置 */ getPropsConfig(type: string): Promise; setPropsValues(values: Record | PropsFormValueFunction>): void; /** * 为指点类型组件设置组件初始值 * @param type 组件类型 * @param value 组件初始值 */ setPropsValue(type: string, value: Partial | PropsFormValueFunction): Promise; /** * 获取指定类型的组件初始值 * @param type 组件类型 * @returns 组件初始值 */ getPropsValue(componentType: string, { inputEvent, ...defaultValue }?: Record): Promise; createId(type: string | number): string; /** * 将组件与组件的子元素配置中的id都设置成一个新的ID * 如果没有相同ID并且force为false则保持不变 * @param {Object} config 组件配置 * @param {Boolean} force 是否强制设置新的ID */ setNewItemId(config: MNode, force?: boolean): MNode; /** * 获取默认属性配置 * @param type 组件类型 * @returns Object */ getDefaultPropsValue(type: string): { type: string; layout: string; style: {}; name: string; items: never[]; } | { type: string; style: {}; name: string; layout?: undefined; items?: undefined; }; resetState(): void; /** * 替换关联ID * @param originConfigs 原组件配置 * @param targetConfigs 待替换的组件配置 */ replaceRelateId(originConfigs: MNode[], targetConfigs: MNode[], collectorOptions: TargetOptions): void; /** * 清除setNewItemId前后映射关系 */ clearRelateId(): void; destroy(): void; usePlugin(options: AsyncHookPlugin & SyncHookPlugin): void; /** * 获取setNewItemId前后映射关系 * @param oldId 原组件ID * @returns 新旧ID映射 */ private getRelateIdMap; /** * 记录setNewItemId前后映射关系 * @param oldId 原组件ID * @param newId 分配的新ID */ private setRelateId; } type PropsService = Props; declare const _default$42: Props; //#endregion //#region temp/packages/editor/src/services/stageOverlay.d.ts declare const canUsePluginMethods$3: { async: never[]; sync: readonly ["openOverlay", "closeOverlay", "updateOverlay", "createStage"]; }; type SyncMethodName$1 = Writable<(typeof canUsePluginMethods$3)['sync']>; declare class StageOverlay extends export_default { private state; constructor(); get(name: K): StageOverlayState[K]; set(name: K, value: T): void; openOverlay(el: HTMLElement | null): void; closeOverlay(): void; updateOverlay(): void; createStage(stageOptions?: StageOptions): StageCore$1; usePlugin(options: SyncHookPlugin): void; private createContentEl; private copyDocumentElement; private render; private updateHandler; private addHandler; private removeHandler; private updateSelectStatus; } type StageOverlayService = StageOverlay; declare const _default$43: StageOverlay; //#endregion //#region temp/packages/editor/src/services/storage.d.ts interface Options$1 { namespace?: string; protocol?: Protocol; } declare enum Protocol { OBJECT = "object", JSON = "json", STRING = "string", NUMBER = "number", BOOLEAN = "boolean" } declare const canUsePluginMethods$2: { async: never[]; sync: readonly ["getStorage", "getNamespace", "clear", "getItem", "removeItem", "setItem"]; }; type SyncMethodName = Writable<(typeof canUsePluginMethods$2)['sync']>; /** * 数据存储服务 */ declare class WebStorage extends export_default { private storage; private namespace; constructor(); /** * 获取数据存储对象,可以通过 * const storageService = new StorageService(); * storageService.usePlugin({ * // 替换存储对象为 sessionStorage * async afterGetStorage(): Promise { * return window.sessionStorage; * }, * }); */ getStorage(): Storage; getNamespace(): string; /** * 清理,支持storageService.usePlugin */ clear(): void; /** * 获取存储项,支持storageService.usePlugin */ getItem(key: string, options?: Options$1): any; /** * 获取指定索引位置的key */ key(index: number): string | null; /** * 移除存储项,支持storageService.usePlugin */ removeItem(key: string, options?: Options$1): void; /** * 设置存储项,支持storageService.usePlugin */ setItem(key: string, value: any, options?: Options$1): void; destroy(): void; usePlugin(options: SyncHookPlugin): void; private getValueAndProtocol; } type StorageService = WebStorage; declare const _default$44: WebStorage; //#endregion //#region temp/packages/editor/src/services/ui.d.ts declare const canUsePluginMethods$1: { async: readonly ["zoom", "calcZoom"]; sync: readonly []; }; type AsyncMethodName$1 = Writable<(typeof canUsePluginMethods$1)['async']>; declare class Ui extends export_default { constructor(); set(name: K, value: T): void; get(name: K): _$_vue_reactivity0.ShallowReactive[K]; zoom(zoom: number): Promise; calcZoom(): Promise; resetState(): void; destroy(): void; usePlugin(options: AsyncHookPlugin): void; private setStageRect; } type UiService = Ui; declare const _default$45: Ui; //#endregion //#region temp/packages/editor/src/type.d.ts type EditorSlots = FrameworkSlots & WorkspaceSlots & SidebarSlots & PropsPanelSlots & { workspace(props: { editorService: EditorService; }): any; 'workspace-content'(props: { editorService: EditorService; }): any; }; interface FrameworkSlots { header(props: {}): any; nav(props: {}): any; 'content-before'(props: {}): any; 'content-after'(props: {}): any; 'src-code'(props: {}): any; sidebar(props: {}): any; empty(props: {}): any; workspace(props: {}): any; 'props-panel'(props: {}): any; 'footer'(props: {}): any; 'page-bar'(props: {}): any; 'page-bar-add-button'(props: {}): any; 'page-bar-title'(props: { page: MPage | MPageFragment; }): any; 'page-bar-popover'(props: { page: MPage | MPageFragment; }): any; 'page-list-popover'(props: { list: (MPage | MPageFragment)[]; }): any; } interface WorkspaceSlots { stage(props: {}): any; 'workspace-content'(props: {}): any; } interface ComponentListPanelSlots { 'component-list-panel-header'(props: {}): any; 'component-list'(props: { componentGroupList: ComponentGroup[]; }): any; 'component-list-item'(props: { component: ComponentItem; }): any; } interface CodeBlockListPanelSlots extends CodeBlockListSlots { 'code-block-panel-search'(props: {}): any; 'code-block-panel-header'(props: {}): any; } interface CodeBlockListSlots { 'code-block-panel-tool'(props: { id: Id; data: any; }): any; } interface DataSourceListSlots { 'data-source-panel-tool'(props: { data: any; }): any; 'data-source-panel-search'(props: {}): any; } interface LayerNodeSlots { 'layer-node-content'(props: { data: MNode; }): any; 'layer-node-tool'(props: { data: MNode; }): any; 'layer-node-label'(props: { data: MNode; }): any; } interface LayerPanelSlots extends LayerNodeSlots { 'layer-panel-header'(props: {}): any; } interface PropsPanelSlots { 'props-panel-header'(props: {}): any; } type SidebarSlots = LayerPanelSlots & CodeBlockListPanelSlots & ComponentListPanelSlots & DataSourceListSlots; type BeforeAdd = (config: MNode, parent: MContainer) => Promise | MNode; type GetConfig = (config: FormConfig) => Promise | FormConfig; interface EditorInstallOptions { parseDSL: (dsl: string) => T; customCreateMonacoEditor: (monaco: typeof _$monaco_editor0, codeEditorEl: HTMLElement, options: _$monaco_editor0.editor.IStandaloneEditorConstructionOptions & { editorCustomType?: string; }) => Promise<_$monaco_editor0.editor.IStandaloneCodeEditor> | _$monaco_editor0.editor.IStandaloneCodeEditor; customCreateMonacoDiffEditor: (monaco: typeof _$monaco_editor0, codeEditorEl: HTMLElement, options: _$monaco_editor0.editor.IStandaloneEditorConstructionOptions & { editorCustomType?: string; }) => Promise<_$monaco_editor0.editor.IStandaloneDiffEditor> | _$monaco_editor0.editor.IStandaloneDiffEditor; [key: string]: any; } interface Services { editorService: EditorService; historyService: HistoryService; storageService: StorageService; eventsService: EventsService; propsService: PropsService; componentListService: ComponentListService; uiService: UiService; codeBlockService: CodeBlockService; depService: DepService; dataSourceService: DataSourceService; keybindingService: KeybindingService; stageOverlayService: StageOverlayService; } interface StageOptions { runtimeUrl?: string; autoScrollIntoView?: boolean; containerHighlightClassName?: string; containerHighlightDuration?: number; containerHighlightType?: ContainerHighlightType; disabledDragStart?: boolean; render?: (stage: StageCore$1) => HTMLDivElement | void | Promise; moveableOptions?: CustomizeMoveableOptions; canSelect?: (el: HTMLElement) => boolean | Promise; isContainer?: (el: HTMLElement) => boolean | Promise; updateDragEl?: UpdateDragEl; renderType?: RenderType; guidesOptions?: Partial; disabledMultiSelect?: boolean; disabledRule?: boolean; zoom?: number; /** 画布双击前的钩子函数,返回 false 则阻止默认的双击行为 */ beforeDblclick?: (event: MouseEvent) => Promise | boolean | void; } interface StoreState { root: MApp | null; page: MPage | MPageFragment | null; parent: MContainer | null; node: MNode | null; highlightNode: MNode | null; nodes: MNode[]; stage: StageCore$1 | null; stageLoading: boolean; modifiedNodeIds: Map; pageLength: number; pageFragmentLength: number; disabledMultiSelect: boolean; } type StoreStateKey = keyof StoreState; interface PropsState { propsConfigMap: Record; propsValueMap: Record>; relateIdMap: Record; /** 禁用数据源 */ disabledDataSource: boolean; /** 禁用代码块 */ disabledCodeBlock: boolean; } interface StageOverlayState { wrapDiv: HTMLDivElement; sourceEl: HTMLElement | null; contentEl: HTMLElement | null; stage: StageCore$1 | null; stageOptions: StageOptions | null; wrapWidth: number; wrapHeight: number; stageOverlayVisible: boolean; } interface ComponentGroupState { list: ComponentGroup[]; } declare enum ColumnLayout { LEFT = "left", CENTER = "center", RIGHT = "right" } interface SetColumnWidth { [ColumnLayout.LEFT]?: number; [ColumnLayout.CENTER]?: number | 'auto'; [ColumnLayout.RIGHT]?: number; } interface GetColumnWidth { [ColumnLayout.LEFT]: number; [ColumnLayout.CENTER]: number; [ColumnLayout.RIGHT]: number; } interface StageRect { width: number | string; height: number | string; } interface UiState { /** 当前点击画布是否触发选中,true: 不触发,false: 触发,默认为false */ uiSelectMode: boolean; /** 是否显示整个配置源码, true: 显示, false: 不显示,默认为false */ showSrc: boolean; /** 是否将样式配置单独一列显示, true: 显示, false: 不显示,默认为true */ showStylePanel: boolean; /** 画布显示放大倍数,默认为 1 */ zoom: number; /** 画布容器的宽高 */ stageContainerRect: { width: number; height: number; }; /** 画布顶层div的宽高,可用于改变画布的大小 */ stageRect: StageRect; /** 编辑器列布局每一列的宽度,分为左中右三列 */ columnWidth: GetColumnWidth; /** 是否显示画布参考线,true: 显示,false: 不显示,默认为true */ showGuides: boolean; /** 画布上是否存在参考线 */ hasGuides: boolean; /** 是否显示标尺,true: 显示,false: 不显示,默认为true */ showRule: boolean; /** 用于控制该属性配置表单内组件的尺寸 */ propsPanelSize: 'large' | 'default' | 'small'; /** 是否显示新增页面按钮 */ showAddPageButton: boolean; /** 是否在页面工具栏显示呼起页面列表按钮 */ showPageListButton: boolean; /** 是否隐藏侧边栏 */ hideSlideBar: boolean; /** 侧边栏面板配置 */ sideBarItems: SideComponent[]; navMenuRect: { left: number; top: number; width: number; height: number; }; frameworkRect: { left: number; top: number; width: number; height: number; }; } interface EditorNodeInfo { node: MNode | null; parent: MContainer | null; page: MPage | MPageFragment | null; } interface AddMNode { type: string; name?: string; inputEvent?: DragEvent; [key: string]: any; } interface PastePosition { left?: number; top?: number; /** * 粘贴位置X方向偏移量 */ offsetX?: number; /** * 粘贴位置Y方向偏移量 */ offsetY?: number; } /** * 菜单按钮 */ interface MenuButton { /** * 按钮类型 * button: 只有文字不带边框的按钮 * text: 纯文本 * divider: 分割线 * dropdown: 下拉菜单 */ type: 'button' | 'text' | 'divider' | 'dropdown'; /** 当type为divider时有效,分割线方向, 默认vertical */ direction?: 'horizontal' | 'vertical'; /** 展示的文案 */ text?: string; /** 鼠标悬浮是显示的气泡中的文案 */ tooltip?: string; /** Vue组件或url */ icon?: string | Component<{}, {}, any>; /** 是否置灰,默认为false */ disabled?: boolean | ((data: Services) => boolean); /** 是否显示,默认为true */ display?: boolean | ((data: Services) => boolean); /** type为button/dropdown时点击运行的方法 */ handler?: (data: Services, event: MouseEvent) => Promise | any; className?: string; /** type为dropdown时,下拉的菜单列表, 或者有子菜单时 */ items?: MenuButton[]; /** 唯一标识,用于高亮 */ id?: string | number; } interface MenuComponent { type: 'component'; /** Vue3组件 */ component: any; /** 传入组件的props对象 */ props?: Record; /** 组件监听的事件对象,如:{ click: () => { console.log('click'); } } */ listeners?: Record; slots?: Record; /** 是否显示,默认为true */ className?: string; display?: boolean | ((data: Services) => Promise | boolean); [key: string]: any; } /** * '/': 分隔符 * 'delete': 删除按钮 * 'undo': 撤销按钮 * 'redo': 恢复按钮 * 'zoom': 'zoom-in', 'zoom-out', 'scale-to-original', 'scale-to-fit' 的集合 * 'zoom-in': 放大按钮 * 'zoom-out': 缩小按钮 * 'guides': 显示隐藏参考线 * 'rule': 显示隐藏标尺 * 'scale-to-original': 缩放到实际大小 * 'scale-to-fit': 缩放以适应 */ type MenuItem = '/' | 'delete' | 'undo' | 'redo' | 'zoom' | 'zoom-in' | 'zoom-out' | 'guides' | 'rule' | 'scale-to-original' | 'scale-to-fit' | MenuButton | MenuComponent | string; /** 工具栏 */ interface MenuBarData { /** 顶部工具栏左边项 */ [ColumnLayout.LEFT]?: MenuItem[]; /** 顶部工具栏中间项 */ [ColumnLayout.CENTER]?: MenuItem[]; /** 顶部工具栏右边项 */ [ColumnLayout.RIGHT]?: MenuItem[]; } interface SideComponent extends MenuComponent { /** 显示文案 */ text: string; /** tab样式 */ tabStyle?: string | Record; /** vue组件或url */ icon?: any; /** slide 唯一标识 key */ $key: string; /** 是否可以将面板拖出,默认为true */ draggable?: boolean; /** 点击切换tab前调用,返回false阻止切换 */ beforeClick?: (config: SideComponent) => boolean | Promise; /** 组件扩展参数 */ boxComponentConfig?: { /** Vue3组件 */component?: any; /** 传入组件的props对象 */ props?: Record; }; } declare enum SideItemKey { COMPONENT_LIST = "component-list", LAYER = "layer", CODE_BLOCK = "code-block", DATA_SOURCE = "data-source" } /** * component-list: 组件列表 * layer: 已选组件树 * code-block: 代码块 */ type SideItem = `${SideItemKey}` | SideComponent; /** 工具栏 */ interface SideBarData { /** 容器类型 */ type: 'tabs'; /** 默认激活的内容 */ status: string; /** panel列表 */ items: SideItem[]; } interface ComponentItem { /** 显示文案 */ text: string; /** 详情,用于tooltip */ desc?: string; /** 组件类型 */ type: string; /** Vue组件或url */ icon?: string | Component<{}, {}, any>; /** 新增组件时需要透传到组价节点上的数据 */ data?: { [key: string]: any; }; } interface ComponentGroup { /** 显示文案 */ title: string; /** 组内列表 */ items: ComponentItem[]; } declare enum LayerOffset { TOP = "top", BOTTOM = "bottom" } /** 容器布局 */ declare enum Layout { FLEX = "flex", FIXED = "fixed", RELATIVE = "relative", ABSOLUTE = "absolute" } declare enum Keys { ESCAPE = "Space" } interface ScrollViewerEvent { scrollLeft: number; scrollTop: number; scrollHeight: number; scrollWidth: number; } type CodeState = { /** 代码块DSL数据源 */codeDsl: CodeBlockDSL | null; /** 代码块是否可编辑 */ editable: boolean; /** list模式下左侧展示的代码列表 */ combineIds: string[]; /** 为业务逻辑预留的不可删除的代码块列表,由业务逻辑维护(如代码块上线后不可删除) */ undeletableList: Id[]; paramsColConfig?: TableColumnConfig; }; type CodeRelation = { /** 组件id:[代码id1,代码id2] */[compId: Id]: Id[]; }; interface CodeDslItem { /** 代码块id */ id: Id; /** 代码块名称 */ name: string; /** 代码块函数内容 */ codeBlockContent?: CodeBlockContent; /** 是否展示代码绑定关系 */ showRelation?: boolean; /** 代码块对应绑定的组件信息 */ combineInfo?: CombineInfo[]; } interface CombineInfo { /** 组件id */ compId: Id; /** 组件名称 */ compName: string; } interface ListState { /** 代码块列表 */ codeList: CodeDslItem[]; } declare enum CodeDeleteErrorType { /** 代码块存在于不可删除列表中 */ UNDELETEABLE = "undeleteable", /** 代码块存在绑定关系 */ BIND = "bind" } declare const CODE_DRAFT_STORAGE_KEY = "magicCodeDraft"; interface CodeParamStatement { /** 参数名称 */ name: string; /** 参数类型 */ type?: string | TypeFunction; [key: string]: any; } type HistoryOpType = 'add' | 'remove' | 'update'; interface StepValue { /** 页面信息 */ data: { name: string; id: Id; }; opType: HistoryOpType; /** 操作前选中的节点 ID,用于撤销后恢复选择状态 */ selectedBefore: Id[]; /** 操作后选中的节点 ID,用于重做后恢复选择状态 */ selectedAfter: Id[]; modifiedNodeIds: Map; /** opType 'add': 新增的节点 */ nodes?: MNode[]; /** opType 'add': 父节点 ID */ parentId?: Id; /** opType 'add': 每个新增节点在父节点 items 中的索引 */ indexMap?: Record; /** opType 'remove': 被删除的节点及其位置信息 */ removedItems?: { node: MNode; parentId: Id; index: number; }[]; /** opType 'update': 变更前后的节点快照 */ updatedItems?: { oldNode: MNode; newNode: MNode; }[]; } interface HistoryState { pageId?: Id; pageSteps: Record>; canRedo: boolean; canUndo: boolean; } declare enum KeyBindingCommand { /** 复制 */ COPY_NODE = "tmagic-system-copy-node", /** 粘贴 */ PASTE_NODE = "tmagic-system-paste-node", /** 删除 */ DELETE_NODE = "tmagic-system-delete-node", /** 剪切 */ CUT_NODE = "tmagic-system-cut-node", /** 撤销 */ UNDO = "tmagic-system-undo", /** 重做 */ REDO = "tmagic-system-redo", /** 放大 */ ZOOM_IN = "tmagic-system-zoom-in", /** 缩小 */ ZOOM_OUT = "tmagic-system-zoom-out", /** 缩放到实际大小 */ ZOOM_RESET = "tmagic-system-zoom-reset", /** 缩放以适应 */ ZOOM_FIT = "tmagic-system-zoom-fit", /** 向上移动1px */ MOVE_UP_1 = "tmagic-system-move-up-1", /** 向下移动1px */ MOVE_DOWN_1 = "tmagic-system-move-down-1", /** 向左移动1px */ MOVE_LEFT_1 = "tmagic-system-move-left-1", /** 向右移动1px */ MOVE_RIGHT_1 = "tmagic-system-move-right-1", /** 向上移动10px */ MOVE_UP_10 = "tmagic-system-move-up-10", /** 向下移动10px */ MOVE_DOWN_10 = "tmagic-system-move-down-10", /** 向左移动10px */ MOVE_LEFT_10 = "tmagic-system-move-left-10", /** 向右移动10px */ MOVE_RIGHT_10 = "tmagic-system-move-right-10", /** 切换组件 */ SWITCH_NODE = "tmagic-system-switch-node" } interface KeyBindingItem { command: KeyBindingCommand | string; keybinding?: string | string[]; when: [string, 'keyup' | 'keydown'][]; } interface KeyBindingCacheItem { type: string; command: KeyBindingCommand | string; keybinding?: string | string[]; eventType: 'keyup' | 'keydown'; bound: boolean; } /** 可新增的数据源类型选项 */ interface DatasourceTypeOption { /** 数据源类型 */ type: string; /** 数据源名称 */ text: string; } /** 组件树节点状态 */ interface LayerNodeStatus { /** 显隐 */ visible: boolean; /** 展开子节点 */ expand: boolean; /** 选中 */ selected: boolean; /** 是否可拖拽 */ draggable: boolean; } /** 拖拽类型 */ declare enum DragType { /** 从组件列表拖到画布 */ COMPONENT_LIST = "component-list", /** 拖动组件树节点 */ LAYER_TREE = "layer-tree" } interface TreeNodeData { id: Id; name?: string; items?: TreeNodeData[]; [key: string]: any; } type AsyncBeforeHook, C extends Record any>> = { [K in Value[number]]?: (...args: Parameters) => Promise> | Parameters }; type AsyncAfterHook, C extends Record any>> = { [K in Value[number]]?: (result: Awaited>, ...args: Parameters) => ReturnType | Awaited> }; type SyncBeforeHook, C extends Record any>> = { [K in Value[number]]?: (...args: Parameters) => Parameters }; type SyncAfterHook, C extends Record any>> = { [K in Value[number]]?: (result: ReturnType, ...args: Parameters) => ReturnType }; type AddPrefixToObject = { [K in keyof T as K extends string ? `${P}${K}` : never]: T[K] }; type AsyncHookPlugin, C extends Record any>> = AddPrefixToObject>, 'before'> & AddPrefixToObject>, 'after'>; type SyncHookPlugin, C extends Record any>> = AddPrefixToObject>, 'before'> & AddPrefixToObject>, 'after'>; interface EventBusEvent { 'edit-data-source': [id: string]; 'remove-data-source': [id: string]; 'edit-code': [id: string]; } interface EventBus extends EventEmitter { on(eventName: Name, listener: (...args: Param) => void): this; emit(eventName: Name, ...args: Param): boolean; } type PropsFormConfigFunction = (data: { editorService: EditorService; }) => FormConfig; type PropsFormValueFunction = (data: { editorService: EditorService; }) => Partial; type PartSortableOptions = Omit; interface PageBarSortOptions extends PartSortableOptions { /** 在onUpdate之后调用 */ afterUpdate?: (event: SortableEvent, sortable: Sortable) => void | Promise; /** 在onStart之前调用 */ beforeStart?: (event: SortableEvent, sortable: Sortable) => void | Promise; } type CustomContentMenuFunction = (menus: (MenuButton | MenuComponent)[], type: 'layer' | 'data-source' | 'viewer' | 'code-block') => (MenuButton | MenuComponent)[]; interface EditorEvents { 'root-change': [value: StoreState['root'], preValue?: StoreState['root']]; select: [node: MNode | null]; add: [nodes: MNode[]]; remove: [nodes: MNode[]]; update: [nodes: { newNode: MNode; oldNode: MNode; changeRecords?: ChangeRecord[]; }[]]; 'move-layer': [offset: number | LayerOffset]; 'drag-to': [data: { targetIndex: number; configs: MNode | MNode[]; targetParent: MContainer; }]; 'history-change': [data: MPage | MPageFragment]; } declare const canUsePluginMethods: { async: readonly ["getLayout", "highlight", "select", "multiSelect", "doAdd", "add", "doRemove", "remove", "doUpdate", "update", "sort", "copy", "paste", "doPaste", "doAlignCenter", "alignCenter", "moveLayer", "moveToContainer", "dragTo", "undo", "redo", "move"]; sync: never[]; }; type AsyncMethodName = Writable<(typeof canUsePluginMethods)['async']>; //#endregion //#region temp/packages/form/src/schema.d.ts interface ChangeRecord$1 { propPath?: string; value: any; } interface ContainerChangeEventData$1 { modifyKey?: string; changeRecords?: ChangeRecord$1[]; } //#endregion //#region temp/packages/editor/src/hooks/use-code-block-edit.d.ts declare const useCodeBlockEdit: (codeBlockService: Services["codeBlockService"]) => { codeId: _$_vue_reactivity0.Ref; codeConfig: _$_vue_reactivity0.Ref<(Omit & { content: string; }) | undefined, (Omit & { content: string; }) | undefined>; codeBlockEditor: Readonly<_$_vue_reactivity0.ShallowRef<_$_vue_runtime_core0.CreateComponentPublicInstanceWithMixins & { content: string; }; disabled?: boolean; isDataSource?: boolean; dataSourceType?: string; } & { width?: number; visible?: boolean; }> & Readonly<{ onClose?: (() => any) | undefined; onSubmit?: ((values: CodeBlockContent, eventData: ContainerChangeEventData$1) => any) | undefined; onOpen?: (() => any) | undefined; "onUpdate:width"?: ((value: number) => any) | undefined; "onUpdate:visible"?: ((value: boolean) => any) | undefined; }>, { show(): Promise; hide(): Promise; }, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { close: () => any; submit: (values: CodeBlockContent, eventData: ContainerChangeEventData$1) => any; open: () => any; "update:width": (value: number) => any; "update:visible": (value: boolean) => any; }, _$_vue_runtime_core0.PublicProps, {}, false, {}, {}, _$_vue_runtime_core0.GlobalComponents, _$_vue_runtime_core0.GlobalDirectives, string, {}, any, _$_vue_runtime_core0.ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly<{ content: Omit & { content: string; }; disabled?: boolean; isDataSource?: boolean; dataSourceType?: string; } & { width?: number; visible?: boolean; }> & Readonly<{ onClose?: (() => any) | undefined; onSubmit?: ((values: CodeBlockContent, eventData: ContainerChangeEventData$1) => any) | undefined; onOpen?: (() => any) | undefined; "onUpdate:width"?: ((value: number) => any) | undefined; "onUpdate:visible"?: ((value: boolean) => any) | undefined; }>, { show(): Promise; hide(): Promise; }, {}, {}, {}, {}> | null>>; createCodeBlock: () => Promise; editCode: (id: string) => Promise; deleteCode: (key: string) => Promise; submitCodeBlockHandler: (values: CodeBlockContent) => Promise; }; //#endregion //#region temp/packages/editor/src/hooks/use-stage.d.ts declare const useStage: (stageOptions: StageOptions) => StageCore$1; //#endregion //#region temp/packages/editor/src/hooks/use-float-box.d.ts interface State { status: boolean; top: number; left: number; } declare const useFloatBox: (slideKeys: ComputedRef) => { dragstartHandler: (e: DragEvent) => void; dragendHandler: (key: string, e: DragEvent) => void; floatBoxStates: _$_vue_reactivity0.Ref<{ [x: string]: State; }, { [x: string]: State; }>; showingBoxKeys: ComputedRef; }; //#endregion //#region temp/packages/editor/src/hooks/use-window-rect.d.ts declare const useWindowRect: () => { rect: { width: number; height: number; }; }; //#endregion //#region temp/packages/editor/src/hooks/use-editor-content-height.d.ts declare const useEditorContentHeight: () => { height: _$_vue_reactivity0.Ref; }; //#endregion //#region temp/packages/editor/src/hooks/use-filter.d.ts declare const useFilter: (nodeData: Ref, nodeStatusMap: Ref | undefined>, filterNodeMethod: (value: string, data: MNode) => boolean) => { filterText: Ref; filterTextChangeHandler(text: string | string[]): void; }; //#endregion //#region temp/packages/editor/src/hooks/use-getso.d.ts declare const useGetSo: (target: ShallowRef, emit: (evt: "change", e: OnDrag$1) => void) => { isDragging: _$_vue_reactivity0.Ref; }; //#endregion //#region temp/packages/editor/src/hooks/use-next-float-box-position.d.ts declare const useNextFloatBoxPosition: (uiService: Services["uiService"], parent?: Ref) => { boxPosition: Ref<{ left: number; top: number; }, { left: number; top: number; } | { left: number; top: number; }>; calcBoxPosition: () => void; }; //#endregion //#region temp/packages/editor/src/hooks/use-node-status.d.ts declare const useNodeStatus: (nodeData: ComputedRef) => { nodeStatusMap: _$_vue_reactivity0.Ref & Omit, keyof Map>, Map | (Map & Omit, keyof Map>)>; }; //#endregion //#region temp/packages/editor/src/hooks/use-services.d.ts declare const useServices: () => Services; //#endregion //#region temp/packages/editor/src/utils/config.d.ts declare const setEditorConfig: (option: EditorInstallOptions) => void; declare const getEditorConfig: (key: K) => EditorInstallOptions[K]; //#endregion //#region temp/packages/editor/src/utils/props.d.ts declare const arrayOptions: { text: string; value: string; }[]; declare const eqOptions: { text: string; value: string; }[]; declare const numberOptions: { text: string; value: string; }[]; declare const styleTabConfig: TabPaneConfig; declare const eventTabConfig: TabPaneConfig; declare const advancedTabConfig: TabPaneConfig; declare const displayTabConfig: TabPaneConfig; /** * 统一为组件属性表单加上事件、高级、样式配置 * @param config 组件属性配置 * @returns Object */ declare const fillConfig: (config?: FormConfig, { labelWidth, disabledDataSource, disabledCodeBlock }?: { labelWidth?: string; disabledDataSource?: boolean; disabledCodeBlock?: boolean; }) => FormConfig; //#endregion //#region temp/packages/editor/src/utils/logger.d.ts declare const log: (...args: any[]) => void; declare const info: (...args: any[]) => void; declare const warn: (...args: any[]) => void; declare const debug: (...args: any[]) => void; declare const error: (...args: any[]) => void; //#endregion //#region temp/packages/editor/src/utils/editor.d.ts declare const COPY_STORAGE_KEY = "$MagicEditorCopyData"; declare const COPY_CODE_STORAGE_KEY = "$MagicEditorCopyCode"; declare const COPY_DS_STORAGE_KEY = "$MagicEditorCopyDataSource"; /** * 获取所有页面配置 * @param root DSL跟节点 * @returns 所有页面配置 */ declare const getPageList: (root?: MApp | null) => MPage[]; declare const getPageFragmentList: (root?: MApp | null) => MPageFragment[]; /** * 获取所有页面名称 * @param pages 所有页面配置 * @returns 所有页面名称 */ declare const getPageNameList: (pages: (MPage | MPageFragment)[]) => string[]; /** * 新增页面时,生成页面名称 * @param {Object} pageNameList 所有页面名称 * @returns {string} */ declare const generatePageName: (pageNameList: string[], type: NodeType.PAGE | NodeType.PAGE_FRAGMENT) => string; /** * 新增页面时,生成页面名称 * @param {Object} app 所有页面配置 * @returns {string} */ declare const generatePageNameByApp: (app: MApp, type: NodeType.PAGE | NodeType.PAGE_FRAGMENT) => string; declare const getNodeIndex: (id: Id, parent: MContainer | MApp) => number; declare const getRelativeStyle: (style?: Record) => Record; declare const getInitPositionStyle: (style: Record | undefined, layout: Layout) => Record; declare const setChildrenLayout: (node: MContainer, layout: Layout) => MContainer; declare const setLayout: (node: MNode, layout: Layout) => _$_tmagic_schema0.MComponent | undefined; declare const change2Fixed: (node: MNode, root: MApp) => { [key: string]: any; }; declare const Fixed2Other: (node: MNode, root: MApp, getLayout: (parent: MNode, node?: MNode) => Promise) => Promise>; declare const getGuideLineFromCache: (key: string) => number[]; declare const fixNodeLeft: (config: MNode, parent: MContainer, doc?: Document) => any; declare const fixNodePosition: (config: MNode, parent: MContainer, stage: StageCore$1 | null) => _$_tmagic_schema0.StyleSchema | undefined; declare const serializeConfig: (config: any) => string; declare const moveItemsInContainer: (sourceIndices: number[], parent: MContainer, targetIndex: number) => void; declare const isIncludeDataSource: (node: MNode, oldNode: MNode) => boolean; declare const buildChangeRecords: (value: any, basePath: string) => { propPath: string; value: any; }[]; /** * 根据节点配置或ID解析出选中节点信息,并进行合法性校验 * @param config 节点配置或节点ID * @param getNodeInfoFn 获取节点信息的回调函数 * @param rootId 根节点ID,用于排除根节点被选中 * @returns 选中节点的完整信息(node、parent、page) */ declare const resolveSelectedNode: (config: MNode | Id, getNodeInfoFn: (id: Id) => EditorNodeInfo, rootId?: Id) => EditorNodeInfo; /** * 处理节点在 fixed 定位与其他定位之间的切换 * 当节点从非 fixed 变为 fixed 时,根据节点路径累加偏移量;反之则还原偏移量 * @param dist 更新后的节点配置(目标状态) * @param src 更新前的节点配置(原始状态) * @param root 根节点配置,用于计算节点路径上的偏移量 * @param getLayoutFn 获取父节点布局方式的回调函数 * @returns 处理后的节点配置(深拷贝) */ declare const toggleFixedPosition: (dist: MNode, src: MNode, root: MApp, getLayoutFn: (parent: MNode, node?: MNode | null) => Promise) => Promise; /** * 根据键盘移动的偏移量计算节点的新样式 * 仅对 absolute 或 fixed 定位的节点生效;优先修改 top/left,若未设置则修改 bottom/right * @param style 节点当前样式 * @param left 水平方向偏移量(正值向右,负值向左) * @param top 垂直方向偏移量(正值向下,负值向上) * @returns 计算后的新样式对象,若节点不支持移动则返回 null */ declare const calcMoveStyle: (style: Record, left: number, top: number) => Record | null; /** * 计算节点水平居中对齐后的样式 * 流式布局(relative)下不做处理;优先通过 DOM 元素实际宽度计算,回退到配置中的 width 值 * @param node 需要居中的节点配置 * @param parent 父容器节点配置 * @param layout 当前布局方式 * @param doc 画布 document 对象,用于获取 DOM 元素实际宽度 * @returns 计算后的新样式对象,若不支持居中则返回 null */ declare const calcAlignCenterStyle: (node: MNode, parent: MContainer, layout: Layout, doc?: Document) => Record | null; /** * 计算图层移动后的目标索引 * 流式布局与绝对定位布局的移动方向相反:流式布局中"上移"对应索引减小,绝对定位中"上移"对应索引增大 * @param currentIndex 节点当前在兄弟列表中的索引 * @param offset 移动偏移量,支持数值或 LayerOffset.TOP / LayerOffset.BOTTOM * @param brothersLength 兄弟节点总数 * @param isRelative 是否为流式布局 * @returns 目标索引位置 */ declare const calcLayerTargetIndex: (currentIndex: number, offset: number | LayerOffset, brothersLength: number, isRelative: boolean) => number; /** * 节点配置合并策略:用于 mergeWith 的自定义回调 * - undefined 且 source 拥有该 key 时返回空字符串 * - 原来是数组而新值是对象时,使用新值 * - 新值是数组时,直接替换而非逐元素合并 */ declare const editorNodeMergeCustomizer: (objValue: any, srcValue: any, key: string, _object: any, source: any) => object | "" | undefined; /** * 收集复制节点关联的依赖节点,将关联节点追加到 copyNodes 数组中 * @param copyNodes 待复制的节点列表(会被就地修改) * @param collectorOptions 依赖收集器配置 * @param getNodeById 根据 ID 获取节点的回调函数 */ declare const collectRelatedNodes: (copyNodes: MNode[], collectorOptions: TargetOptions, getNodeById: (id: Id) => MNode | null) => void; interface DragClassification { sameParentIndices: number[]; crossParentConfigs: { config: MNode; parent: MContainer; }[]; /** 当同父容器节点索引异常时置为 true,调用方应中止拖拽操作 */ aborted: boolean; } /** * 对拖拽的节点进行分类:同父容器内移动 vs 跨容器移动 * @param configs 被拖拽的节点列表 * @param targetParent 目标父容器 * @param getNodeInfo 获取节点信息的回调 * @returns 分类结果,包含同容器索引列表和跨容器节点列表 */ declare const classifyDragSources: (configs: MNode[], targetParent: MContainer, getNodeInfo: (id: Id, raw?: boolean) => EditorNodeInfo) => DragClassification; //#endregion //#region temp/packages/editor/src/utils/operator.d.ts /** * 粘贴前置操作:返回分配了新id以及校准了坐标的配置 * @param position 粘贴的坐标 * @param config 待粘贴的元素配置(复制时保存的那份配置) * @returns */ declare const beforePaste: (position: PastePosition, config: MNode[], doc?: Document) => MNode[]; /** * 将元素粘贴到容器内时,将相对于画布坐标转换为相对于容器的坐标 * @param position PastePosition 粘贴时相对于画布的坐标 * @param id 元素id * @returns PastePosition 转换后的坐标 */ declare const getPositionInContainer: (position: PastePosition | undefined, id: Id, doc?: Document) => { left: number; top: number; }; declare const getAddParent: (node: MNode) => MContainer | null | undefined; declare const getDefaultConfig: (addNode: AddMNode, parentNode: MContainer) => Promise; //#endregion //#region temp/packages/editor/src/utils/data-source/index.d.ts declare const getFormConfig: (type: string, configs: Record) => FormConfig; declare const getFormValue: (type: string, values: Partial) => Partial; declare const getDisplayField: (dataSources: DataSourceSchema[], key: string) => { value: string; type: "var" | "text"; }[]; declare const getCascaderOptionsFromFields: (fields?: DataSchema[], dataSourceFieldType?: DataSourceFieldType[]) => CascaderOption[]; declare const getFieldType: (ds: DataSourceSchema | undefined, fieldNames: string[]) => string; //#endregion //#region temp/packages/editor/src/utils/dep/idle-task.d.ts interface IdleTaskEvents { finish: []; 'hight-level-finish': []; 'update-task-length': [{ length: number; hightLevelLength: number; }]; } declare class IdleTask extends EventEmitter$1 { private taskList; private hightLevelTaskList; private taskHandle; constructor(); enqueueTask(taskHandler: (data: T) => void, taskData: T, isHightLevel?: boolean): void; clearTasks(): void; on(eventName: Name, listener: (...args: Param) => void | Promise): this; once(eventName: Name, listener: (...args: Param) => void | Promise): this; emit(eventName: Name, ...args: Param): boolean; private runTaskQueue; } //#endregion //#region temp/packages/editor/src/utils/scroll-viewer.d.ts interface ScrollViewerOptions { container: HTMLDivElement; target: HTMLDivElement; zoom: number; correctionScrollSize?: { width: number; height: number; }; } declare class ScrollViewer extends EventEmitter$1 { private container; private target; private zoom; private scrollLeft; private scrollTop; private scrollHeight; private scrollWidth; private width; private height; private translateXCorrectionValue; private translateYCorrectionValue; private correctionScrollSize; private resizeObserver; constructor(options: ScrollViewerOptions); destroy(): void; setZoom(zoom: number): void; scrollTo({ left, top }: { left?: number; top?: number; }): void; private wheelHandler; private getPos; private setScrollSize; private setSize; } //#endregion //#region temp/packages/editor/src/utils/tree.d.ts declare const updateStatus: (nodeStatusMap: Map, id: Id, status: Partial) => void; //#endregion //#region temp/packages/editor/src/utils/const.d.ts /** 当uiService.get('uiSelectMode')为true,点击组件(包括任何形式,组件树/画布)时触发的事件名 */ declare const UI_SELECT_MODE_EVENT_NAME = "ui-select"; declare const LEFT_COLUMN_WIDTH_STORAGE_KEY = "$MagicEditorLeftColumnWidthData"; declare const RIGHT_COLUMN_WIDTH_STORAGE_KEY = "$MagicEditorRightColumnWidthData"; declare const PROPS_PANEL_WIDTH_STORAGE_KEY = "$MagicEditorPropsPanelWidthData"; declare const DEFAULT_LEFT_COLUMN_WIDTH = 310; declare const DEFAULT_RIGHT_COLUMN_WIDTH = 480; declare const MIN_LEFT_COLUMN_WIDTH = 200; declare const MIN_CENTER_COLUMN_WIDTH = 400; declare const MIN_RIGHT_COLUMN_WIDTH = 300; declare const H_GUIDE_LINE_STORAGE_KEY = "$MagicStageHorizontalGuidelinesData"; declare const V_GUIDE_LINE_STORAGE_KEY = "$MagicStageVerticalGuidelinesData"; //#endregion //#region temp/packages/editor/src/utils/monaco-editor.d.ts declare const _default$41: () => Promise; //#endregion //#region temp/packages/editor/src/editorProps.d.ts interface EditorProps { /** 页面初始值 */ modelValue?: MApp; /** 左侧面板中的组件类型列表 */ componentGroupList?: ComponentGroup[]; /** 左侧面板中的数据源类型列表 */ datasourceList?: DatasourceTypeOption[]; /** 左侧面板配置 */ sidebar?: SideBarData; /** 顶部工具栏配置 */ menu?: MenuBarData; /** 组件树右键菜单 */ layerContentMenu?: (MenuButton | MenuComponent)[]; /** 画布右键菜单 */ stageContentMenu?: (MenuButton | MenuComponent)[]; /** 中间工作区域中画布通过iframe渲染时的页面url */ runtimeUrl?: string; /** 是用iframe渲染还是直接渲染 */ renderType?: RenderType; /** 选中时是否自动滚动到可视区域 */ autoScrollIntoView?: boolean; /** 组件的属性配置表单的dsl */ propsConfigs?: Record; /** 添加组件时的默认值 */ propsValues?: Record>; /** 组件联动事件选项列表 */ eventMethodList?: Record; /** 添加数据源时的默认值 */ datasourceValues?: Record>; /** 数据源的属性配置表单的dsl */ datasourceConfigs?: Record; datasourceEventMethodList?: Record; /** 画布中组件选中框的移动范围 */ moveableOptions?: CustomizeMoveableOptions; /** 编辑器初始化时默认选中的组件ID */ defaultSelected?: Id; /** 拖入画布中容器时,识别到容器后给容器根dom加上的class */ containerHighlightClassName?: string; /** 拖入画布中容器时,悬停识别容器的时间 */ containerHighlightDuration?: number; /** 拖入画布中容器时,识别容器的操作类型 */ containerHighlightType?: ContainerHighlightType; /** 画布大小 */ stageRect?: StageRect; /** monaco editor 的配置 */ codeOptions?: { [key: string]: any; }; /** 禁用鼠标左键按下时就开始拖拽,需要先选中再可以拖拽 */ disabledDragStart?: boolean; /** 标尺配置 */ guidesOptions?: Partial; /** 禁止多选 */ disabledMultiSelect?: boolean; /** 禁用页面片 */ disabledPageFragment?: boolean; /** 禁用双击在浮层中单独编辑选中组件 */ disabledStageOverlay?: boolean; /** 禁用属性配置面板右下角显示源码的按钮 */ disabledShowSrc?: boolean; /** 禁用数据源 */ disabledDataSource?: boolean; /** 禁用代码块 */ disabledCodeBlock?: boolean; /** 已选组件、代码编辑、数据源缩进配置 */ treeIndent?: number; /** 已选组件、代码编辑、数据源子节点缩进增量配置 */ treeNextLevelIndentIncrement?: number; /** 中间工作区域中画布渲染的内容 */ render?: (stage: StageCore$1) => HTMLDivElement | void | Promise; /** 选中时会在画布上复制出一个大小相同的dom,实际拖拽的是这个dom,此方法用于干预这个dom的生成方式 */ updateDragEl?: UpdateDragEl; /** 用于设置画布上的dom是否可以被选中 */ canSelect?: (el: HTMLElement) => boolean | Promise; /** 用于设置画布上的dom是否可以被拖入其中 */ isContainer?: (el: HTMLElement) => boolean | Promise; /** 用于自定义组件树与画布的右键菜单 */ customContentMenu?: CustomContentMenuFunction; /** 画布双击前的钩子函数,返回 false 则阻止默认的双击行为 */ beforeDblclick?: (event: MouseEvent) => Promise | boolean | void; extendFormState?: (state: FormState) => Record | Promise>; /** 页面顺序拖拽配置参数 */ pageBarSortOptions?: PageBarSortOptions; /** 页面搜索函数 */ pageFilterFunction?: (page: MPage | MPageFragment, keyword: string) => boolean; } //#endregion //#region temp/packages/editor/src/Editor.vue.d.ts type __VLS_Slots$12 = EditorSlots; declare const __VLS_base$12: _$_vue_runtime_core0.DefineComponent any; "props-panel-mounted": (instance: { $: _$_vue_runtime_core0.ComponentInternalInstance; $data: {}; $props: { readonly config: _$_tmagic_form_schema0.FormConfig; readonly values: _$_tmagic_form_schema0.FormValue; readonly disabledShowSrc?: boolean | undefined; readonly labelWidth?: string | undefined; readonly codeValueKey?: string | undefined; readonly labelPosition?: string | undefined; readonly extendState?: ((_state: _$_tmagic_form_schema0.FormState) => Record | Promise>) | undefined; readonly onMounted?: ((internalInstance: any) => any) | undefined; readonly onUnmounted?: (() => any) | undefined; readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined; readonly "onSubmit-error"?: ((e: any) => any) | undefined; readonly "onForm-error"?: ((e: any) => any) | undefined; } & _$_vue_runtime_core0.VNodeProps & _$_vue_runtime_core0.AllowedComponentProps & _$_vue_runtime_core0.ComponentCustomProps; $attrs: _$_vue_runtime_core0.Attrs; $refs: { [x: string]: unknown; }; $slots: Readonly<{ [name: string]: _$_vue_runtime_core0.Slot | undefined; }>; $root: _$_vue_runtime_core0.ComponentPublicInstance | null; $parent: _$_vue_runtime_core0.ComponentPublicInstance | null; $host: Element | null; $emit: ((event: "mounted", internalInstance: any) => void) & ((event: "unmounted") => void) & ((event: "submit", values: any, eventData?: ContainerChangeEventData$1 | undefined) => void) & ((event: "submit-error", e: any) => void) & ((event: "form-error", e: any) => void); $el: any; $options: _$_vue_runtime_core0.ComponentOptionsBase Record | Promise>; }> & Readonly<{ onMounted?: ((internalInstance: any) => any) | undefined; onUnmounted?: (() => any) | undefined; onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined; "onSubmit-error"?: ((e: any) => any) | undefined; "onForm-error"?: ((e: any) => any) | undefined; }>, { configForm: Readonly<_$_vue_reactivity0.ShallowRef<_$_vue_runtime_core0.CreateComponentPublicInstanceWithMixins; lastValues?: Record; isCompare?: boolean; parentValues?: Record; labelWidth?: string; disabled?: boolean; height?: string; stepActive?: string | number; size?: "small" | "default" | "large"; inline?: boolean; labelPosition?: string; keyProp?: string; popperClass?: string; preventSubmitDefault?: boolean; extendState?: (_state: _$_tmagic_form_schema0.FormState) => Record | Promise>; }> & Readonly<{ onError?: ((...args: any[]) => any) | undefined; onChange?: ((...args: any[]) => any) | undefined; "onField-input"?: ((...args: any[]) => any) | undefined; "onField-change"?: ((...args: any[]) => any) | undefined; "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined; }>, { values: _$_vue_reactivity0.Ref<_$_tmagic_form_schema0.FormValue, _$_tmagic_form_schema0.FormValue>; lastValuesProcessed: _$_vue_reactivity0.Ref<_$_tmagic_form_schema0.FormValue, _$_tmagic_form_schema0.FormValue>; formState: _$_tmagic_form_schema0.FormState; initialized: _$_vue_reactivity0.Ref; changeRecords: _$_vue_reactivity0.ShallowRef; changeHandler: (v: _$_tmagic_form_schema0.FormValue, eventData: ContainerChangeEventData$1) => void; resetForm: () => void; submitForm: (native?: boolean) => Promise; getTextByName: (name: string, config?: _$_tmagic_form_schema0.FormConfig) => string | undefined; }, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { error: (...args: any[]) => void; change: (...args: any[]) => void; "field-input": (...args: any[]) => void; "field-change": (...args: any[]) => void; "update:stepActive": (...args: any[]) => void; }, _$_vue_runtime_core0.PublicProps, { disabled: boolean; labelWidth: string; inline: boolean; labelPosition: string; config: _$_tmagic_form_schema0.FormConfig; height: string; initValues: Record; lastValues: Record; isCompare: boolean; keyProp: string; parentValues: Record; stepActive: string | number; }, false, {}, {}, _$_vue_runtime_core0.GlobalComponents, _$_vue_runtime_core0.GlobalDirectives, string, {}, any, _$_vue_runtime_core0.ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly<{ config: _$_tmagic_form_schema0.FormConfig; initValues: Record; lastValues?: Record; isCompare?: boolean; parentValues?: Record; labelWidth?: string; disabled?: boolean; height?: string; stepActive?: string | number; size?: "small" | "default" | "large"; inline?: boolean; labelPosition?: string; keyProp?: string; popperClass?: string; preventSubmitDefault?: boolean; extendState?: (_state: _$_tmagic_form_schema0.FormState) => Record | Promise>; }> & Readonly<{ onError?: ((...args: any[]) => any) | undefined; onChange?: ((...args: any[]) => any) | undefined; "onField-input"?: ((...args: any[]) => any) | undefined; "onField-change"?: ((...args: any[]) => any) | undefined; "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined; }>, { values: _$_vue_reactivity0.Ref<_$_tmagic_form_schema0.FormValue, _$_tmagic_form_schema0.FormValue>; lastValuesProcessed: _$_vue_reactivity0.Ref<_$_tmagic_form_schema0.FormValue, _$_tmagic_form_schema0.FormValue>; formState: _$_tmagic_form_schema0.FormState; initialized: _$_vue_reactivity0.Ref; changeRecords: _$_vue_reactivity0.ShallowRef; changeHandler: (v: _$_tmagic_form_schema0.FormValue, eventData: ContainerChangeEventData$1) => void; resetForm: () => void; submitForm: (native?: boolean) => Promise; getTextByName: (name: string, config?: _$_tmagic_form_schema0.FormConfig) => string | undefined; }, {}, {}, {}, { disabled: boolean; labelWidth: string; inline: boolean; labelPosition: string; config: _$_tmagic_form_schema0.FormConfig; height: string; initValues: Record; lastValues: Record; isCompare: boolean; keyProp: string; parentValues: Record; stepActive: string | number; }> | null>>; submit: (v: _$_tmagic_form_schema0.FormValue, eventData: ContainerChangeEventData$1) => Promise; }, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { mounted: (internalInstance: any) => any; unmounted: () => any; submit: (values: any, eventData?: ContainerChangeEventData$1 | undefined) => any; "submit-error": (e: any) => any; "form-error": (e: any) => any; }, string, {}, {}, string, {}, _$_vue_runtime_core0.GlobalComponents, _$_vue_runtime_core0.GlobalDirectives, string, _$_vue_runtime_core0.ComponentProvideOptions> & { beforeCreate?: (() => void) | (() => void)[]; created?: (() => void) | (() => void)[]; beforeMount?: (() => void) | (() => void)[]; mounted?: (() => void) | (() => void)[]; beforeUpdate?: (() => void) | (() => void)[]; updated?: (() => void) | (() => void)[]; activated?: (() => void) | (() => void)[]; deactivated?: (() => void) | (() => void)[]; beforeDestroy?: (() => void) | (() => void)[]; beforeUnmount?: (() => void) | (() => void)[]; destroyed?: (() => void) | (() => void)[]; unmounted?: (() => void) | (() => void)[]; renderTracked?: ((e: _$_vue_reactivity0.DebuggerEvent) => void) | ((e: _$_vue_reactivity0.DebuggerEvent) => void)[]; renderTriggered?: ((e: _$_vue_reactivity0.DebuggerEvent) => void) | ((e: _$_vue_reactivity0.DebuggerEvent) => void)[]; errorCaptured?: ((err: unknown, instance: _$_vue_runtime_core0.ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: _$_vue_runtime_core0.ComponentPublicInstance | null, info: string) => boolean | void)[]; }; $forceUpdate: () => void; $nextTick: typeof _$_vue_runtime_core0.nextTick; $watch any)>(source: T, cb: T extends ((...args: any) => infer R) ? (...args: [R, R, _$_vue_reactivity0.OnCleanup]) => any : (...args: [any, any, _$_vue_reactivity0.OnCleanup]) => any, options?: _$_vue_runtime_core0.WatchOptions): _$_vue_reactivity0.WatchStopHandle; } & Readonly<{}> & Omit Record | Promise>; }> & Readonly<{ onMounted?: ((internalInstance: any) => any) | undefined; onUnmounted?: (() => any) | undefined; onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined; "onSubmit-error"?: ((e: any) => any) | undefined; "onForm-error"?: ((e: any) => any) | undefined; }>, "submit" | "configForm"> & { configForm: _$_vue_runtime_core0.CreateComponentPublicInstanceWithMixins; lastValues?: Record; isCompare?: boolean; parentValues?: Record; labelWidth?: string; disabled?: boolean; height?: string; stepActive?: string | number; size?: "small" | "default" | "large"; inline?: boolean; labelPosition?: string; keyProp?: string; popperClass?: string; preventSubmitDefault?: boolean; extendState?: (_state: _$_tmagic_form_schema0.FormState) => Record | Promise>; }> & Readonly<{ onError?: ((...args: any[]) => any) | undefined; onChange?: ((...args: any[]) => any) | undefined; "onField-input"?: ((...args: any[]) => any) | undefined; "onField-change"?: ((...args: any[]) => any) | undefined; "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined; }>, { values: _$_vue_reactivity0.Ref<_$_tmagic_form_schema0.FormValue, _$_tmagic_form_schema0.FormValue>; lastValuesProcessed: _$_vue_reactivity0.Ref<_$_tmagic_form_schema0.FormValue, _$_tmagic_form_schema0.FormValue>; formState: _$_tmagic_form_schema0.FormState; initialized: _$_vue_reactivity0.Ref; changeRecords: _$_vue_reactivity0.ShallowRef; changeHandler: (v: _$_tmagic_form_schema0.FormValue, eventData: ContainerChangeEventData$1) => void; resetForm: () => void; submitForm: (native?: boolean) => Promise; getTextByName: (name: string, config?: _$_tmagic_form_schema0.FormConfig) => string | undefined; }, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { error: (...args: any[]) => void; change: (...args: any[]) => void; "field-input": (...args: any[]) => void; "field-change": (...args: any[]) => void; "update:stepActive": (...args: any[]) => void; }, _$_vue_runtime_core0.PublicProps, { disabled: boolean; labelWidth: string; inline: boolean; labelPosition: string; config: _$_tmagic_form_schema0.FormConfig; height: string; initValues: Record; lastValues: Record; isCompare: boolean; keyProp: string; parentValues: Record; stepActive: string | number; }, false, {}, {}, _$_vue_runtime_core0.GlobalComponents, _$_vue_runtime_core0.GlobalDirectives, string, {}, any, _$_vue_runtime_core0.ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly<{ config: _$_tmagic_form_schema0.FormConfig; initValues: Record; lastValues?: Record; isCompare?: boolean; parentValues?: Record; labelWidth?: string; disabled?: boolean; height?: string; stepActive?: string | number; size?: "small" | "default" | "large"; inline?: boolean; labelPosition?: string; keyProp?: string; popperClass?: string; preventSubmitDefault?: boolean; extendState?: (_state: _$_tmagic_form_schema0.FormState) => Record | Promise>; }> & Readonly<{ onError?: ((...args: any[]) => any) | undefined; onChange?: ((...args: any[]) => any) | undefined; "onField-input"?: ((...args: any[]) => any) | undefined; "onField-change"?: ((...args: any[]) => any) | undefined; "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined; }>, { values: _$_vue_reactivity0.Ref<_$_tmagic_form_schema0.FormValue, _$_tmagic_form_schema0.FormValue>; lastValuesProcessed: _$_vue_reactivity0.Ref<_$_tmagic_form_schema0.FormValue, _$_tmagic_form_schema0.FormValue>; formState: _$_tmagic_form_schema0.FormState; initialized: _$_vue_reactivity0.Ref; changeRecords: _$_vue_reactivity0.ShallowRef; changeHandler: (v: _$_tmagic_form_schema0.FormValue, eventData: ContainerChangeEventData$1) => void; resetForm: () => void; submitForm: (native?: boolean) => Promise; getTextByName: (name: string, config?: _$_tmagic_form_schema0.FormConfig) => string | undefined; }, {}, {}, {}, { disabled: boolean; labelWidth: string; inline: boolean; labelPosition: string; config: _$_tmagic_form_schema0.FormConfig; height: string; initValues: Record; lastValues: Record; isCompare: boolean; keyProp: string; parentValues: Record; stepActive: string | number; }> | null; submit: (v: _$_tmagic_form_schema0.FormValue, eventData: ContainerChangeEventData$1) => Promise; } & {} & _$_vue_runtime_core0.ComponentCustomProperties & {} & { $slots: { 'props-form-panel-header'(_props: {}): any; }; }) => any; "props-panel-unmounted": () => any; "props-form-error": (e: any) => any; "props-submit-error": (e: any) => any; }, string, _$_vue_runtime_core0.PublicProps, Readonly & Readonly<{ "onUpdate:modelValue"?: ((value: MApp | null) => any) | undefined; "onProps-panel-mounted"?: ((instance: { $: _$_vue_runtime_core0.ComponentInternalInstance; $data: {}; $props: { readonly config: _$_tmagic_form_schema0.FormConfig; readonly values: _$_tmagic_form_schema0.FormValue; readonly disabledShowSrc?: boolean | undefined; readonly labelWidth?: string | undefined; readonly codeValueKey?: string | undefined; readonly labelPosition?: string | undefined; readonly extendState?: ((_state: _$_tmagic_form_schema0.FormState) => Record | Promise>) | undefined; readonly onMounted?: ((internalInstance: any) => any) | undefined; readonly onUnmounted?: (() => any) | undefined; readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined; readonly "onSubmit-error"?: ((e: any) => any) | undefined; readonly "onForm-error"?: ((e: any) => any) | undefined; } & _$_vue_runtime_core0.VNodeProps & _$_vue_runtime_core0.AllowedComponentProps & _$_vue_runtime_core0.ComponentCustomProps; $attrs: _$_vue_runtime_core0.Attrs; $refs: { [x: string]: unknown; }; $slots: Readonly<{ [name: string]: _$_vue_runtime_core0.Slot | undefined; }>; $root: _$_vue_runtime_core0.ComponentPublicInstance | null; $parent: _$_vue_runtime_core0.ComponentPublicInstance | null; $host: Element | null; $emit: ((event: "mounted", internalInstance: any) => void) & ((event: "unmounted") => void) & ((event: "submit", values: any, eventData?: ContainerChangeEventData$1 | undefined) => void) & ((event: "submit-error", e: any) => void) & ((event: "form-error", e: any) => void); $el: any; $options: _$_vue_runtime_core0.ComponentOptionsBase Record | Promise>; }> & Readonly<{ onMounted?: ((internalInstance: any) => any) | undefined; onUnmounted?: (() => any) | undefined; onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined; "onSubmit-error"?: ((e: any) => any) | undefined; "onForm-error"?: ((e: any) => any) | undefined; }>, { configForm: Readonly<_$_vue_reactivity0.ShallowRef<_$_vue_runtime_core0.CreateComponentPublicInstanceWithMixins; lastValues?: Record; isCompare?: boolean; parentValues?: Record; labelWidth?: string; disabled?: boolean; height?: string; stepActive?: string | number; size?: "small" | "default" | "large"; inline?: boolean; labelPosition?: string; keyProp?: string; popperClass?: string; preventSubmitDefault?: boolean; extendState?: (_state: _$_tmagic_form_schema0.FormState) => Record | Promise>; }> & Readonly<{ onError?: ((...args: any[]) => any) | undefined; onChange?: ((...args: any[]) => any) | undefined; "onField-input"?: ((...args: any[]) => any) | undefined; "onField-change"?: ((...args: any[]) => any) | undefined; "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined; }>, { values: _$_vue_reactivity0.Ref<_$_tmagic_form_schema0.FormValue, _$_tmagic_form_schema0.FormValue>; lastValuesProcessed: _$_vue_reactivity0.Ref<_$_tmagic_form_schema0.FormValue, _$_tmagic_form_schema0.FormValue>; formState: _$_tmagic_form_schema0.FormState; initialized: _$_vue_reactivity0.Ref; changeRecords: _$_vue_reactivity0.ShallowRef; changeHandler: (v: _$_tmagic_form_schema0.FormValue, eventData: ContainerChangeEventData$1) => void; resetForm: () => void; submitForm: (native?: boolean) => Promise; getTextByName: (name: string, config?: _$_tmagic_form_schema0.FormConfig) => string | undefined; }, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { error: (...args: any[]) => void; change: (...args: any[]) => void; "field-input": (...args: any[]) => void; "field-change": (...args: any[]) => void; "update:stepActive": (...args: any[]) => void; }, _$_vue_runtime_core0.PublicProps, { disabled: boolean; labelWidth: string; inline: boolean; labelPosition: string; config: _$_tmagic_form_schema0.FormConfig; height: string; initValues: Record; lastValues: Record; isCompare: boolean; keyProp: string; parentValues: Record; stepActive: string | number; }, false, {}, {}, _$_vue_runtime_core0.GlobalComponents, _$_vue_runtime_core0.GlobalDirectives, string, {}, any, _$_vue_runtime_core0.ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly<{ config: _$_tmagic_form_schema0.FormConfig; initValues: Record; lastValues?: Record; isCompare?: boolean; parentValues?: Record; labelWidth?: string; disabled?: boolean; height?: string; stepActive?: string | number; size?: "small" | "default" | "large"; inline?: boolean; labelPosition?: string; keyProp?: string; popperClass?: string; preventSubmitDefault?: boolean; extendState?: (_state: _$_tmagic_form_schema0.FormState) => Record | Promise>; }> & Readonly<{ onError?: ((...args: any[]) => any) | undefined; onChange?: ((...args: any[]) => any) | undefined; "onField-input"?: ((...args: any[]) => any) | undefined; "onField-change"?: ((...args: any[]) => any) | undefined; "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined; }>, { values: _$_vue_reactivity0.Ref<_$_tmagic_form_schema0.FormValue, _$_tmagic_form_schema0.FormValue>; lastValuesProcessed: _$_vue_reactivity0.Ref<_$_tmagic_form_schema0.FormValue, _$_tmagic_form_schema0.FormValue>; formState: _$_tmagic_form_schema0.FormState; initialized: _$_vue_reactivity0.Ref; changeRecords: _$_vue_reactivity0.ShallowRef; changeHandler: (v: _$_tmagic_form_schema0.FormValue, eventData: ContainerChangeEventData$1) => void; resetForm: () => void; submitForm: (native?: boolean) => Promise; getTextByName: (name: string, config?: _$_tmagic_form_schema0.FormConfig) => string | undefined; }, {}, {}, {}, { disabled: boolean; labelWidth: string; inline: boolean; labelPosition: string; config: _$_tmagic_form_schema0.FormConfig; height: string; initValues: Record; lastValues: Record; isCompare: boolean; keyProp: string; parentValues: Record; stepActive: string | number; }> | null>>; submit: (v: _$_tmagic_form_schema0.FormValue, eventData: ContainerChangeEventData$1) => Promise; }, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { mounted: (internalInstance: any) => any; unmounted: () => any; submit: (values: any, eventData?: ContainerChangeEventData$1 | undefined) => any; "submit-error": (e: any) => any; "form-error": (e: any) => any; }, string, {}, {}, string, {}, _$_vue_runtime_core0.GlobalComponents, _$_vue_runtime_core0.GlobalDirectives, string, _$_vue_runtime_core0.ComponentProvideOptions> & { beforeCreate?: (() => void) | (() => void)[]; created?: (() => void) | (() => void)[]; beforeMount?: (() => void) | (() => void)[]; mounted?: (() => void) | (() => void)[]; beforeUpdate?: (() => void) | (() => void)[]; updated?: (() => void) | (() => void)[]; activated?: (() => void) | (() => void)[]; deactivated?: (() => void) | (() => void)[]; beforeDestroy?: (() => void) | (() => void)[]; beforeUnmount?: (() => void) | (() => void)[]; destroyed?: (() => void) | (() => void)[]; unmounted?: (() => void) | (() => void)[]; renderTracked?: ((e: _$_vue_reactivity0.DebuggerEvent) => void) | ((e: _$_vue_reactivity0.DebuggerEvent) => void)[]; renderTriggered?: ((e: _$_vue_reactivity0.DebuggerEvent) => void) | ((e: _$_vue_reactivity0.DebuggerEvent) => void)[]; errorCaptured?: ((err: unknown, instance: _$_vue_runtime_core0.ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: _$_vue_runtime_core0.ComponentPublicInstance | null, info: string) => boolean | void)[]; }; $forceUpdate: () => void; $nextTick: typeof _$_vue_runtime_core0.nextTick; $watch any)>(source: T, cb: T extends ((...args: any) => infer R) ? (...args: [R, R, _$_vue_reactivity0.OnCleanup]) => any : (...args: [any, any, _$_vue_reactivity0.OnCleanup]) => any, options?: _$_vue_runtime_core0.WatchOptions): _$_vue_reactivity0.WatchStopHandle; } & Readonly<{}> & Omit Record | Promise>; }> & Readonly<{ onMounted?: ((internalInstance: any) => any) | undefined; onUnmounted?: (() => any) | undefined; onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined; "onSubmit-error"?: ((e: any) => any) | undefined; "onForm-error"?: ((e: any) => any) | undefined; }>, "submit" | "configForm"> & { configForm: _$_vue_runtime_core0.CreateComponentPublicInstanceWithMixins; lastValues?: Record; isCompare?: boolean; parentValues?: Record; labelWidth?: string; disabled?: boolean; height?: string; stepActive?: string | number; size?: "small" | "default" | "large"; inline?: boolean; labelPosition?: string; keyProp?: string; popperClass?: string; preventSubmitDefault?: boolean; extendState?: (_state: _$_tmagic_form_schema0.FormState) => Record | Promise>; }> & Readonly<{ onError?: ((...args: any[]) => any) | undefined; onChange?: ((...args: any[]) => any) | undefined; "onField-input"?: ((...args: any[]) => any) | undefined; "onField-change"?: ((...args: any[]) => any) | undefined; "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined; }>, { values: _$_vue_reactivity0.Ref<_$_tmagic_form_schema0.FormValue, _$_tmagic_form_schema0.FormValue>; lastValuesProcessed: _$_vue_reactivity0.Ref<_$_tmagic_form_schema0.FormValue, _$_tmagic_form_schema0.FormValue>; formState: _$_tmagic_form_schema0.FormState; initialized: _$_vue_reactivity0.Ref; changeRecords: _$_vue_reactivity0.ShallowRef; changeHandler: (v: _$_tmagic_form_schema0.FormValue, eventData: ContainerChangeEventData$1) => void; resetForm: () => void; submitForm: (native?: boolean) => Promise; getTextByName: (name: string, config?: _$_tmagic_form_schema0.FormConfig) => string | undefined; }, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { error: (...args: any[]) => void; change: (...args: any[]) => void; "field-input": (...args: any[]) => void; "field-change": (...args: any[]) => void; "update:stepActive": (...args: any[]) => void; }, _$_vue_runtime_core0.PublicProps, { disabled: boolean; labelWidth: string; inline: boolean; labelPosition: string; config: _$_tmagic_form_schema0.FormConfig; height: string; initValues: Record; lastValues: Record; isCompare: boolean; keyProp: string; parentValues: Record; stepActive: string | number; }, false, {}, {}, _$_vue_runtime_core0.GlobalComponents, _$_vue_runtime_core0.GlobalDirectives, string, {}, any, _$_vue_runtime_core0.ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly<{ config: _$_tmagic_form_schema0.FormConfig; initValues: Record; lastValues?: Record; isCompare?: boolean; parentValues?: Record; labelWidth?: string; disabled?: boolean; height?: string; stepActive?: string | number; size?: "small" | "default" | "large"; inline?: boolean; labelPosition?: string; keyProp?: string; popperClass?: string; preventSubmitDefault?: boolean; extendState?: (_state: _$_tmagic_form_schema0.FormState) => Record | Promise>; }> & Readonly<{ onError?: ((...args: any[]) => any) | undefined; onChange?: ((...args: any[]) => any) | undefined; "onField-input"?: ((...args: any[]) => any) | undefined; "onField-change"?: ((...args: any[]) => any) | undefined; "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined; }>, { values: _$_vue_reactivity0.Ref<_$_tmagic_form_schema0.FormValue, _$_tmagic_form_schema0.FormValue>; lastValuesProcessed: _$_vue_reactivity0.Ref<_$_tmagic_form_schema0.FormValue, _$_tmagic_form_schema0.FormValue>; formState: _$_tmagic_form_schema0.FormState; initialized: _$_vue_reactivity0.Ref; changeRecords: _$_vue_reactivity0.ShallowRef; changeHandler: (v: _$_tmagic_form_schema0.FormValue, eventData: ContainerChangeEventData$1) => void; resetForm: () => void; submitForm: (native?: boolean) => Promise; getTextByName: (name: string, config?: _$_tmagic_form_schema0.FormConfig) => string | undefined; }, {}, {}, {}, { disabled: boolean; labelWidth: string; inline: boolean; labelPosition: string; config: _$_tmagic_form_schema0.FormConfig; height: string; initValues: Record; lastValues: Record; isCompare: boolean; keyProp: string; parentValues: Record; stepActive: string | number; }> | null; submit: (v: _$_tmagic_form_schema0.FormValue, eventData: ContainerChangeEventData$1) => Promise; } & {} & _$_vue_runtime_core0.ComponentCustomProperties & {} & { $slots: { 'props-form-panel-header'(_props: {}): any; }; }) => any) | undefined; "onProps-panel-unmounted"?: (() => any) | undefined; "onProps-form-error"?: ((e: any) => any) | undefined; "onProps-submit-error"?: ((e: any) => any) | undefined; }>, { menu: MenuBarData; codeOptions: { [key: string]: any; }; renderType: _$_tmagic_stage0.RenderType; disabledDataSource: boolean; disabledCodeBlock: boolean; disabledMultiSelect: boolean; disabledPageFragment: boolean; disabledShowSrc: boolean; customContentMenu: CustomContentMenuFunction; layerContentMenu: (MenuButton | MenuComponent)[]; isContainer: (el: HTMLElement) => boolean | Promise; containerHighlightClassName: string; componentGroupList: ComponentGroup[]; stageContentMenu: (MenuButton | MenuComponent)[]; disabledStageOverlay: boolean; datasourceList: DatasourceTypeOption[]; propsConfigs: Record; propsValues: Record>; eventMethodList: Record; datasourceValues: Record>; datasourceConfigs: Record; containerHighlightDuration: number; containerHighlightType: _$_tmagic_stage0.ContainerHighlightType; canSelect: (el: HTMLElement) => boolean | Promise; }, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, false, {}, any>; declare const __VLS_export$33: __VLS_WithSlots$12; declare const _default$30: typeof __VLS_export$33; type __VLS_WithSlots$12 = T & { new (): { $slots: S; }; }; //#endregion //#region temp/packages/editor/src/layouts/CodeEditor.vue.d.ts type __VLS_Props$30 = { initValues?: any; modifiedValues?: any; type?: 'diff'; language?: string; options?: _$monaco_editor0.editor.IStandaloneEditorConstructionOptions; height?: string; autoSave?: boolean; parse?: boolean; disabledFullScreen?: boolean; autosize?: { minRows?: number; maxRows?: number; }; editorCustomType?: string; }; declare const __VLS_export$32: _$_vue_runtime_core0.DefineComponent<__VLS_Props$30, { values: _$_vue_reactivity0.Ref; getEditor(): _$monaco_editor0.editor.IStandaloneCodeEditor | _$monaco_editor0.editor.IStandaloneDiffEditor | null; getVsEditor(): _$monaco_editor0.editor.IStandaloneCodeEditor | null; getVsDiffEditor(): _$monaco_editor0.editor.IStandaloneDiffEditor | null; setEditorValue: (v: string | any, m: string | any) => void; getEditorValue: () => string; focus(): void; }, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { save: (...args: any[]) => void; initd: (...args: any[]) => void; }, string, _$_vue_runtime_core0.PublicProps, Readonly<__VLS_Props$30> & Readonly<{ onSave?: ((...args: any[]) => any) | undefined; onInitd?: ((...args: any[]) => any) | undefined; }>, { options: _$monaco_editor0.editor.IStandaloneEditorConstructionOptions; language: string; parse: boolean; initValues: any; autoSave: boolean; disabledFullScreen: boolean; }, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, false, {}, any>; declare const _default$29: typeof __VLS_export$32; //#endregion //#region temp/packages/editor/src/layouts/sidebar/ComponentListPanel.vue.d.ts type __VLS_Slots$11 = ComponentListPanelSlots; declare const __VLS_base$11: _$_vue_runtime_core0.DefineComponent<{}, {}, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, {}, string, _$_vue_runtime_core0.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, true, {}, any>; declare const __VLS_export$31: __VLS_WithSlots$11; declare const _default$5: typeof __VLS_export$31; type __VLS_WithSlots$11 = T & { new (): { $slots: S; }; }; //#endregion //#region temp/packages/editor/src/layouts/sidebar/layer/LayerPanel.vue.d.ts type __VLS_Slots$10 = LayerPanelSlots; type __VLS_Props$29 = { layerContentMenu: (MenuButton | MenuComponent)[]; indent?: number; nextLevelIndentIncrement?: number; customContentMenu: CustomContentMenuFunction; }; declare const __VLS_base$10: _$_vue_runtime_core0.DefineComponent<__VLS_Props$29, {}, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, {}, string, _$_vue_runtime_core0.PublicProps, Readonly<__VLS_Props$29> & Readonly<{}>, {}, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, false, {}, any>; declare const __VLS_export$30: __VLS_WithSlots$10; declare const _default$22: typeof __VLS_export$30; type __VLS_WithSlots$10 = T & { new (): { $slots: S; }; }; //#endregion //#region temp/packages/editor/src/fields/CodeSelect.vue.d.ts type __VLS_Props$28 = FieldProps; declare const __VLS_export$29: _$_vue_runtime_core0.DefineComponent<__VLS_Props$28, {}, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { change: (v: any, eventData: ContainerChangeEventData) => any; }, string, _$_vue_runtime_core0.PublicProps, Readonly<__VLS_Props$28> & Readonly<{ onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined; }>, {}, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, false, {}, any>; declare const _default$3: typeof __VLS_export$29; //#endregion //#region temp/packages/editor/src/fields/CodeSelectCol.vue.d.ts type __VLS_Props$27 = FieldProps; declare const __VLS_export$28: _$_vue_runtime_core0.DefineComponent<__VLS_Props$27, {}, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { change: (v: any, eventData: ContainerChangeEventData) => any; }, string, _$_vue_runtime_core0.PublicProps, Readonly<__VLS_Props$27> & Readonly<{ onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined; }>, { disabled: boolean; }, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, false, {}, any>; declare const _default$4: typeof __VLS_export$28; //#endregion //#region temp/packages/editor/src/fields/DataSourceFields.vue.d.ts type __VLS_Props$26 = FieldProps; type __VLS_ModelProps$4 = { 'width'?: number; 'visible'?: boolean; 'visible1'?: boolean; }; type __VLS_PublicProps$4 = __VLS_Props$26 & __VLS_ModelProps$4; declare const __VLS_export$27: _$_vue_runtime_core0.DefineComponent<__VLS_PublicProps$4, {}, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { change: (v: any, eventData?: ContainerChangeEventData | undefined) => any; "update:width": (value: number) => any; "update:visible": (value: boolean) => any; "update:visible1": (value: boolean) => any; }, string, _$_vue_runtime_core0.PublicProps, Readonly<__VLS_PublicProps$4> & Readonly<{ onChange?: ((v: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined; "onUpdate:width"?: ((value: number) => any) | undefined; "onUpdate:visible"?: ((value: boolean) => any) | undefined; "onUpdate:visible1"?: ((value: boolean) => any) | undefined; }>, { disabled: boolean; }, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, false, {}, any>; declare const _default$11: typeof __VLS_export$27; //#endregion //#region temp/packages/editor/src/fields/DataSourceMocks.vue.d.ts type __VLS_Props$25 = FieldProps; type __VLS_ModelProps$3 = { 'width'?: number; 'visible'?: boolean; }; type __VLS_PublicProps$3 = __VLS_Props$25 & __VLS_ModelProps$3; declare const __VLS_export$26: _$_vue_runtime_core0.DefineComponent<__VLS_PublicProps$3, {}, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { change: (...args: any[]) => void; "update:width": (value: number) => void; "update:visible": (value: boolean) => void; }, string, _$_vue_runtime_core0.PublicProps, Readonly<__VLS_PublicProps$3> & Readonly<{ onChange?: ((...args: any[]) => any) | undefined; "onUpdate:width"?: ((value: number) => any) | undefined; "onUpdate:visible"?: ((value: boolean) => any) | undefined; }>, { disabled: boolean; }, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, false, {}, any>; declare const _default$15: typeof __VLS_export$26; //#endregion //#region temp/packages/editor/src/fields/DataSourceMethods.vue.d.ts type __VLS_Props$24 = FieldProps; declare const __VLS_export$25: _$_vue_runtime_core0.DefineComponent<__VLS_Props$24, {}, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { change: (...args: any[]) => void; }, string, _$_vue_runtime_core0.PublicProps, Readonly<__VLS_Props$24> & Readonly<{ onChange?: ((...args: any[]) => any) | undefined; }>, { disabled: boolean; }, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, false, {}, any>; declare const _default$14: typeof __VLS_export$25; //#endregion //#region temp/packages/editor/src/fields/DataSourceInput.vue.d.ts type __VLS_Props$23 = FieldProps; declare const __VLS_export$24: _$_vue_runtime_core0.DefineComponent<__VLS_Props$23, {}, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { change: (value: string) => any; }, string, _$_vue_runtime_core0.PublicProps, Readonly<__VLS_Props$23> & Readonly<{ onChange?: ((value: string) => any) | undefined; }>, { disabled: boolean; }, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, false, {}, any>; declare const _default$12: typeof __VLS_export$24; //#endregion //#region temp/packages/editor/src/fields/DataSourceSelect.vue.d.ts type __VLS_Props$22 = FieldProps; declare const __VLS_export$23: _$_vue_runtime_core0.DefineComponent<__VLS_Props$22, {}, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { change: (...args: any[]) => void; }, string, _$_vue_runtime_core0.PublicProps, Readonly<__VLS_Props$22> & Readonly<{ onChange?: ((...args: any[]) => any) | undefined; }>, { disabled: boolean; }, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, false, {}, any>; declare const _default$16: typeof __VLS_export$23; //#endregion //#region temp/packages/editor/src/fields/DataSourceMethodSelect.vue.d.ts type __VLS_Props$21 = FieldProps; declare const __VLS_export$22: _$_vue_runtime_core0.DefineComponent<__VLS_Props$21, {}, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { change: (...args: any[]) => void; }, string, _$_vue_runtime_core0.PublicProps, Readonly<__VLS_Props$21> & Readonly<{ onChange?: ((...args: any[]) => any) | undefined; }>, { disabled: boolean; }, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, false, {}, any>; declare const _default$13: typeof __VLS_export$22; //#endregion //#region temp/packages/editor/src/fields/DataSourceFieldSelect/Index.vue.d.ts type __VLS_Props$20 = FieldProps; declare const __VLS_export$21: _$_vue_runtime_core0.DefineComponent<__VLS_Props$20, {}, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { change: (...args: any[]) => void; }, string, _$_vue_runtime_core0.PublicProps, Readonly<__VLS_Props$20> & Readonly<{ onChange?: ((...args: any[]) => any) | undefined; }>, { disabled: boolean; }, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, false, {}, any>; declare const _default$10: typeof __VLS_export$21; //#endregion //#region temp/packages/editor/src/fields/EventSelect.vue.d.ts type __VLS_Props$19 = FieldProps; declare const __VLS_export$20: _$_vue_runtime_core0.DefineComponent<__VLS_Props$19, {}, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { change: (v: any, eventData?: ContainerChangeEventData | undefined) => any; }, string, _$_vue_runtime_core0.PublicProps, Readonly<__VLS_Props$19> & Readonly<{ onChange?: ((v: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined; }>, {}, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, false, {}, any>; declare const _default$18: typeof __VLS_export$20; //#endregion //#region temp/packages/editor/src/fields/KeyValue.vue.d.ts type __VLS_Props$18 = FieldProps; declare const __VLS_export$19: _$_vue_runtime_core0.DefineComponent<__VLS_Props$18, {}, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { change: (value: Record) => any; }, string, _$_vue_runtime_core0.PublicProps, Readonly<__VLS_Props$18> & Readonly<{ onChange?: ((value: Record) => any) | undefined; }>, { disabled: boolean; }, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, false, {}, any>; declare const _default$21: typeof __VLS_export$19; //#endregion //#region temp/packages/editor/src/layouts/sidebar/code-block/CodeBlockList.vue.d.ts type __VLS_Slots$9 = CodeBlockListSlots; type __VLS_Props$17 = { indent?: number; nextLevelIndentIncrement?: number; customError?: (_id: Id, _errorType: CodeDeleteErrorType) => any; }; declare const __VLS_base$9: _$_vue_runtime_core0.DefineComponent<__VLS_Props$17, { nodeStatusMap: _$_vue_reactivity0.Ref & Omit, keyof Map>, Map | (Map & Omit, keyof Map>)>; filter: (text: string | string[]) => void; deleteCode: (id: string) => Promise; }, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { remove: (id: string) => any; edit: (id: string) => any; "node-contextmenu": (event: MouseEvent, data: TreeNodeData) => any; }, string, _$_vue_runtime_core0.PublicProps, Readonly<__VLS_Props$17> & Readonly<{ onRemove?: ((id: string) => any) | undefined; onEdit?: ((id: string) => any) | undefined; "onNode-contextmenu"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined; }>, {}, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, false, {}, any>; declare const __VLS_export$18: __VLS_WithSlots$9; declare const _default$1: typeof __VLS_export$18; type __VLS_WithSlots$9 = T & { new (): { $slots: S; }; }; //#endregion //#region temp/packages/editor/src/layouts/sidebar/code-block/CodeBlockListPanel.vue.d.ts type __VLS_Slots$8 = CodeBlockListPanelSlots; type __VLS_Props$16 = { indent?: number; nextLevelIndentIncrement?: number; customError?: (_id: Id, _errorType: CodeDeleteErrorType) => any; customContentMenu: CustomContentMenuFunction; }; declare const __VLS_base$8: _$_vue_runtime_core0.DefineComponent<__VLS_Props$16, {}, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, {}, string, _$_vue_runtime_core0.PublicProps, Readonly<__VLS_Props$16> & Readonly<{}>, {}, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, false, {}, any>; declare const __VLS_export$17: __VLS_WithSlots$8; declare const _default$2: typeof __VLS_export$17; type __VLS_WithSlots$8 = T & { new (): { $slots: S; }; }; //#endregion //#region temp/packages/editor/src/layouts/sidebar/data-source/DataSourceConfigPanel.vue.d.ts type __VLS_Props$15 = { title?: string; values: any; disabled: boolean; }; type __VLS_ModelProps$2 = { 'visible'?: boolean; 'width'?: number; }; type __VLS_PublicProps$2 = __VLS_Props$15 & __VLS_ModelProps$2; declare const __VLS_export$16: _$_vue_runtime_core0.DefineComponent<__VLS_PublicProps$2, { show(): void; hide(): void; }, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { close: () => any; submit: (v: any, eventData: ContainerChangeEventData) => any; open: (id: string) => any; "update:width": (value: number) => any; "update:visible": (value: boolean) => any; }, string, _$_vue_runtime_core0.PublicProps, Readonly<__VLS_PublicProps$2> & Readonly<{ onClose?: (() => any) | undefined; onSubmit?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined; onOpen?: ((id: string) => any) | undefined; "onUpdate:width"?: ((value: number) => any) | undefined; "onUpdate:visible"?: ((value: boolean) => any) | undefined; }>, {}, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, false, {}, any>; declare const _default$9: typeof __VLS_export$16; //#endregion //#region temp/packages/editor/src/layouts/sidebar/data-source/DataSourceAddButton.vue.d.ts type __VLS_Props$14 = { datasourceTypeList: { text: string; type: string; }[]; addButtonConfig?: ButtonProps; addButtonText?: string; }; declare const __VLS_export$15: _$_vue_runtime_core0.DefineComponent<__VLS_Props$14, {}, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { add: (type: string) => any; }, string, _$_vue_runtime_core0.PublicProps, Readonly<__VLS_Props$14> & Readonly<{ onAdd?: ((type: string) => any) | undefined; }>, {}, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, false, {}, any>; declare const _default$8: typeof __VLS_export$15; //#endregion //#region temp/packages/editor/src/layouts/props-panel/PropsPanel.vue.d.ts type __VLS_Slots$7 = PropsPanelSlots; type __VLS_Props$13 = { disabledShowSrc?: boolean; extendState?: (_state: FormState) => Record | Promise>; }; declare const __VLS_base$7: _$_vue_runtime_core0.DefineComponent<__VLS_Props$13, { getFormState(): FormState | undefined; submit: (v: MNode, eventData?: ContainerChangeEventData) => Promise; }, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { mounted: (internalInstance: { $: _$_vue_runtime_core0.ComponentInternalInstance; $data: {}; $props: { readonly config: _$_tmagic_form_schema0.FormConfig; readonly values: FormValue; readonly disabledShowSrc?: boolean | undefined; readonly labelWidth?: string | undefined; readonly codeValueKey?: string | undefined; readonly labelPosition?: string | undefined; readonly extendState?: ((_state: FormState) => Record | Promise>) | undefined; readonly onMounted?: ((internalInstance: any) => any) | undefined; readonly onUnmounted?: (() => any) | undefined; readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined; readonly "onSubmit-error"?: ((e: any) => any) | undefined; readonly "onForm-error"?: ((e: any) => any) | undefined; } & _$_vue_runtime_core0.VNodeProps & _$_vue_runtime_core0.AllowedComponentProps & _$_vue_runtime_core0.ComponentCustomProps; $attrs: _$_vue_runtime_core0.Attrs; $refs: { [x: string]: unknown; }; $slots: Readonly<{ [name: string]: _$_vue_runtime_core0.Slot | undefined; }>; $root: _$_vue_runtime_core0.ComponentPublicInstance | null; $parent: _$_vue_runtime_core0.ComponentPublicInstance | null; $host: Element | null; $emit: ((event: "mounted", internalInstance: any) => void) & ((event: "unmounted") => void) & ((event: "submit", values: any, eventData?: ContainerChangeEventData | undefined) => void) & ((event: "submit-error", e: any) => void) & ((event: "form-error", e: any) => void); $el: any; $options: _$_vue_runtime_core0.ComponentOptionsBase Record | Promise>; }> & Readonly<{ onMounted?: ((internalInstance: any) => any) | undefined; onUnmounted?: (() => any) | undefined; onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined; "onSubmit-error"?: ((e: any) => any) | undefined; "onForm-error"?: ((e: any) => any) | undefined; }>, { configForm: Readonly<_$_vue_reactivity0.ShallowRef<_$_vue_runtime_core0.CreateComponentPublicInstanceWithMixins; lastValues?: Record; isCompare?: boolean; parentValues?: Record; labelWidth?: string; disabled?: boolean; height?: string; stepActive?: string | number; size?: "small" | "default" | "large"; inline?: boolean; labelPosition?: string; keyProp?: string; popperClass?: string; preventSubmitDefault?: boolean; extendState?: (_state: FormState) => Record | Promise>; }> & Readonly<{ onError?: ((...args: any[]) => any) | undefined; onChange?: ((...args: any[]) => any) | undefined; "onField-input"?: ((...args: any[]) => any) | undefined; "onField-change"?: ((...args: any[]) => any) | undefined; "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined; }>, { values: _$_vue_reactivity0.Ref; lastValuesProcessed: _$_vue_reactivity0.Ref; formState: FormState; initialized: _$_vue_reactivity0.Ref; changeRecords: _$_vue_reactivity0.ShallowRef; changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void; resetForm: () => void; submitForm: (native?: boolean) => Promise; getTextByName: (name: string, config?: _$_tmagic_form_schema0.FormConfig) => string | undefined; }, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { error: (...args: any[]) => void; change: (...args: any[]) => void; "field-input": (...args: any[]) => void; "field-change": (...args: any[]) => void; "update:stepActive": (...args: any[]) => void; }, _$_vue_runtime_core0.PublicProps, { disabled: boolean; labelWidth: string; inline: boolean; labelPosition: string; config: _$_tmagic_form_schema0.FormConfig; height: string; initValues: Record; lastValues: Record; isCompare: boolean; keyProp: string; parentValues: Record; stepActive: string | number; }, false, {}, {}, _$_vue_runtime_core0.GlobalComponents, _$_vue_runtime_core0.GlobalDirectives, string, {}, any, _$_vue_runtime_core0.ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly<{ config: _$_tmagic_form_schema0.FormConfig; initValues: Record; lastValues?: Record; isCompare?: boolean; parentValues?: Record; labelWidth?: string; disabled?: boolean; height?: string; stepActive?: string | number; size?: "small" | "default" | "large"; inline?: boolean; labelPosition?: string; keyProp?: string; popperClass?: string; preventSubmitDefault?: boolean; extendState?: (_state: FormState) => Record | Promise>; }> & Readonly<{ onError?: ((...args: any[]) => any) | undefined; onChange?: ((...args: any[]) => any) | undefined; "onField-input"?: ((...args: any[]) => any) | undefined; "onField-change"?: ((...args: any[]) => any) | undefined; "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined; }>, { values: _$_vue_reactivity0.Ref; lastValuesProcessed: _$_vue_reactivity0.Ref; formState: FormState; initialized: _$_vue_reactivity0.Ref; changeRecords: _$_vue_reactivity0.ShallowRef; changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void; resetForm: () => void; submitForm: (native?: boolean) => Promise; getTextByName: (name: string, config?: _$_tmagic_form_schema0.FormConfig) => string | undefined; }, {}, {}, {}, { disabled: boolean; labelWidth: string; inline: boolean; labelPosition: string; config: _$_tmagic_form_schema0.FormConfig; height: string; initValues: Record; lastValues: Record; isCompare: boolean; keyProp: string; parentValues: Record; stepActive: string | number; }> | null>>; submit: (v: FormValue, eventData: ContainerChangeEventData) => Promise; }, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { mounted: (internalInstance: any) => any; unmounted: () => any; submit: (values: any, eventData?: ContainerChangeEventData | undefined) => any; "submit-error": (e: any) => any; "form-error": (e: any) => any; }, string, {}, {}, string, {}, _$_vue_runtime_core0.GlobalComponents, _$_vue_runtime_core0.GlobalDirectives, string, _$_vue_runtime_core0.ComponentProvideOptions> & { beforeCreate?: (() => void) | (() => void)[]; created?: (() => void) | (() => void)[]; beforeMount?: (() => void) | (() => void)[]; mounted?: (() => void) | (() => void)[]; beforeUpdate?: (() => void) | (() => void)[]; updated?: (() => void) | (() => void)[]; activated?: (() => void) | (() => void)[]; deactivated?: (() => void) | (() => void)[]; beforeDestroy?: (() => void) | (() => void)[]; beforeUnmount?: (() => void) | (() => void)[]; destroyed?: (() => void) | (() => void)[]; unmounted?: (() => void) | (() => void)[]; renderTracked?: ((e: _$_vue_reactivity0.DebuggerEvent) => void) | ((e: _$_vue_reactivity0.DebuggerEvent) => void)[]; renderTriggered?: ((e: _$_vue_reactivity0.DebuggerEvent) => void) | ((e: _$_vue_reactivity0.DebuggerEvent) => void)[]; errorCaptured?: ((err: unknown, instance: _$_vue_runtime_core0.ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: _$_vue_runtime_core0.ComponentPublicInstance | null, info: string) => boolean | void)[]; }; $forceUpdate: () => void; $nextTick: typeof _$_vue_runtime_core0.nextTick; $watch any)>(source: T, cb: T extends ((...args: any) => infer R) ? (...args: [R, R, _$_vue_reactivity0.OnCleanup]) => any : (...args: [any, any, _$_vue_reactivity0.OnCleanup]) => any, options?: _$_vue_runtime_core0.WatchOptions): _$_vue_reactivity0.WatchStopHandle; } & Readonly<{}> & Omit Record | Promise>; }> & Readonly<{ onMounted?: ((internalInstance: any) => any) | undefined; onUnmounted?: (() => any) | undefined; onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined; "onSubmit-error"?: ((e: any) => any) | undefined; "onForm-error"?: ((e: any) => any) | undefined; }>, "submit" | "configForm"> & { configForm: _$_vue_runtime_core0.CreateComponentPublicInstanceWithMixins; lastValues?: Record; isCompare?: boolean; parentValues?: Record; labelWidth?: string; disabled?: boolean; height?: string; stepActive?: string | number; size?: "small" | "default" | "large"; inline?: boolean; labelPosition?: string; keyProp?: string; popperClass?: string; preventSubmitDefault?: boolean; extendState?: (_state: FormState) => Record | Promise>; }> & Readonly<{ onError?: ((...args: any[]) => any) | undefined; onChange?: ((...args: any[]) => any) | undefined; "onField-input"?: ((...args: any[]) => any) | undefined; "onField-change"?: ((...args: any[]) => any) | undefined; "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined; }>, { values: _$_vue_reactivity0.Ref; lastValuesProcessed: _$_vue_reactivity0.Ref; formState: FormState; initialized: _$_vue_reactivity0.Ref; changeRecords: _$_vue_reactivity0.ShallowRef; changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void; resetForm: () => void; submitForm: (native?: boolean) => Promise; getTextByName: (name: string, config?: _$_tmagic_form_schema0.FormConfig) => string | undefined; }, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { error: (...args: any[]) => void; change: (...args: any[]) => void; "field-input": (...args: any[]) => void; "field-change": (...args: any[]) => void; "update:stepActive": (...args: any[]) => void; }, _$_vue_runtime_core0.PublicProps, { disabled: boolean; labelWidth: string; inline: boolean; labelPosition: string; config: _$_tmagic_form_schema0.FormConfig; height: string; initValues: Record; lastValues: Record; isCompare: boolean; keyProp: string; parentValues: Record; stepActive: string | number; }, false, {}, {}, _$_vue_runtime_core0.GlobalComponents, _$_vue_runtime_core0.GlobalDirectives, string, {}, any, _$_vue_runtime_core0.ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly<{ config: _$_tmagic_form_schema0.FormConfig; initValues: Record; lastValues?: Record; isCompare?: boolean; parentValues?: Record; labelWidth?: string; disabled?: boolean; height?: string; stepActive?: string | number; size?: "small" | "default" | "large"; inline?: boolean; labelPosition?: string; keyProp?: string; popperClass?: string; preventSubmitDefault?: boolean; extendState?: (_state: FormState) => Record | Promise>; }> & Readonly<{ onError?: ((...args: any[]) => any) | undefined; onChange?: ((...args: any[]) => any) | undefined; "onField-input"?: ((...args: any[]) => any) | undefined; "onField-change"?: ((...args: any[]) => any) | undefined; "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined; }>, { values: _$_vue_reactivity0.Ref; lastValuesProcessed: _$_vue_reactivity0.Ref; formState: FormState; initialized: _$_vue_reactivity0.Ref; changeRecords: _$_vue_reactivity0.ShallowRef; changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void; resetForm: () => void; submitForm: (native?: boolean) => Promise; getTextByName: (name: string, config?: _$_tmagic_form_schema0.FormConfig) => string | undefined; }, {}, {}, {}, { disabled: boolean; labelWidth: string; inline: boolean; labelPosition: string; config: _$_tmagic_form_schema0.FormConfig; height: string; initValues: Record; lastValues: Record; isCompare: boolean; keyProp: string; parentValues: Record; stepActive: string | number; }> | null; submit: (v: FormValue, eventData: ContainerChangeEventData) => Promise; } & {} & _$_vue_runtime_core0.ComponentCustomProperties & {} & { $slots: { 'props-form-panel-header'(_props: {}): any; }; }) => any; unmounted: () => any; "submit-error": (e: any) => any; "form-error": (e: any) => any; }, string, _$_vue_runtime_core0.PublicProps, Readonly<__VLS_Props$13> & Readonly<{ onMounted?: ((internalInstance: { $: _$_vue_runtime_core0.ComponentInternalInstance; $data: {}; $props: { readonly config: _$_tmagic_form_schema0.FormConfig; readonly values: FormValue; readonly disabledShowSrc?: boolean | undefined; readonly labelWidth?: string | undefined; readonly codeValueKey?: string | undefined; readonly labelPosition?: string | undefined; readonly extendState?: ((_state: FormState) => Record | Promise>) | undefined; readonly onMounted?: ((internalInstance: any) => any) | undefined; readonly onUnmounted?: (() => any) | undefined; readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined; readonly "onSubmit-error"?: ((e: any) => any) | undefined; readonly "onForm-error"?: ((e: any) => any) | undefined; } & _$_vue_runtime_core0.VNodeProps & _$_vue_runtime_core0.AllowedComponentProps & _$_vue_runtime_core0.ComponentCustomProps; $attrs: _$_vue_runtime_core0.Attrs; $refs: { [x: string]: unknown; }; $slots: Readonly<{ [name: string]: _$_vue_runtime_core0.Slot | undefined; }>; $root: _$_vue_runtime_core0.ComponentPublicInstance | null; $parent: _$_vue_runtime_core0.ComponentPublicInstance | null; $host: Element | null; $emit: ((event: "mounted", internalInstance: any) => void) & ((event: "unmounted") => void) & ((event: "submit", values: any, eventData?: ContainerChangeEventData | undefined) => void) & ((event: "submit-error", e: any) => void) & ((event: "form-error", e: any) => void); $el: any; $options: _$_vue_runtime_core0.ComponentOptionsBase Record | Promise>; }> & Readonly<{ onMounted?: ((internalInstance: any) => any) | undefined; onUnmounted?: (() => any) | undefined; onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined; "onSubmit-error"?: ((e: any) => any) | undefined; "onForm-error"?: ((e: any) => any) | undefined; }>, { configForm: Readonly<_$_vue_reactivity0.ShallowRef<_$_vue_runtime_core0.CreateComponentPublicInstanceWithMixins; lastValues?: Record; isCompare?: boolean; parentValues?: Record; labelWidth?: string; disabled?: boolean; height?: string; stepActive?: string | number; size?: "small" | "default" | "large"; inline?: boolean; labelPosition?: string; keyProp?: string; popperClass?: string; preventSubmitDefault?: boolean; extendState?: (_state: FormState) => Record | Promise>; }> & Readonly<{ onError?: ((...args: any[]) => any) | undefined; onChange?: ((...args: any[]) => any) | undefined; "onField-input"?: ((...args: any[]) => any) | undefined; "onField-change"?: ((...args: any[]) => any) | undefined; "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined; }>, { values: _$_vue_reactivity0.Ref; lastValuesProcessed: _$_vue_reactivity0.Ref; formState: FormState; initialized: _$_vue_reactivity0.Ref; changeRecords: _$_vue_reactivity0.ShallowRef; changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void; resetForm: () => void; submitForm: (native?: boolean) => Promise; getTextByName: (name: string, config?: _$_tmagic_form_schema0.FormConfig) => string | undefined; }, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { error: (...args: any[]) => void; change: (...args: any[]) => void; "field-input": (...args: any[]) => void; "field-change": (...args: any[]) => void; "update:stepActive": (...args: any[]) => void; }, _$_vue_runtime_core0.PublicProps, { disabled: boolean; labelWidth: string; inline: boolean; labelPosition: string; config: _$_tmagic_form_schema0.FormConfig; height: string; initValues: Record; lastValues: Record; isCompare: boolean; keyProp: string; parentValues: Record; stepActive: string | number; }, false, {}, {}, _$_vue_runtime_core0.GlobalComponents, _$_vue_runtime_core0.GlobalDirectives, string, {}, any, _$_vue_runtime_core0.ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly<{ config: _$_tmagic_form_schema0.FormConfig; initValues: Record; lastValues?: Record; isCompare?: boolean; parentValues?: Record; labelWidth?: string; disabled?: boolean; height?: string; stepActive?: string | number; size?: "small" | "default" | "large"; inline?: boolean; labelPosition?: string; keyProp?: string; popperClass?: string; preventSubmitDefault?: boolean; extendState?: (_state: FormState) => Record | Promise>; }> & Readonly<{ onError?: ((...args: any[]) => any) | undefined; onChange?: ((...args: any[]) => any) | undefined; "onField-input"?: ((...args: any[]) => any) | undefined; "onField-change"?: ((...args: any[]) => any) | undefined; "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined; }>, { values: _$_vue_reactivity0.Ref; lastValuesProcessed: _$_vue_reactivity0.Ref; formState: FormState; initialized: _$_vue_reactivity0.Ref; changeRecords: _$_vue_reactivity0.ShallowRef; changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void; resetForm: () => void; submitForm: (native?: boolean) => Promise; getTextByName: (name: string, config?: _$_tmagic_form_schema0.FormConfig) => string | undefined; }, {}, {}, {}, { disabled: boolean; labelWidth: string; inline: boolean; labelPosition: string; config: _$_tmagic_form_schema0.FormConfig; height: string; initValues: Record; lastValues: Record; isCompare: boolean; keyProp: string; parentValues: Record; stepActive: string | number; }> | null>>; submit: (v: FormValue, eventData: ContainerChangeEventData) => Promise; }, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { mounted: (internalInstance: any) => any; unmounted: () => any; submit: (values: any, eventData?: ContainerChangeEventData | undefined) => any; "submit-error": (e: any) => any; "form-error": (e: any) => any; }, string, {}, {}, string, {}, _$_vue_runtime_core0.GlobalComponents, _$_vue_runtime_core0.GlobalDirectives, string, _$_vue_runtime_core0.ComponentProvideOptions> & { beforeCreate?: (() => void) | (() => void)[]; created?: (() => void) | (() => void)[]; beforeMount?: (() => void) | (() => void)[]; mounted?: (() => void) | (() => void)[]; beforeUpdate?: (() => void) | (() => void)[]; updated?: (() => void) | (() => void)[]; activated?: (() => void) | (() => void)[]; deactivated?: (() => void) | (() => void)[]; beforeDestroy?: (() => void) | (() => void)[]; beforeUnmount?: (() => void) | (() => void)[]; destroyed?: (() => void) | (() => void)[]; unmounted?: (() => void) | (() => void)[]; renderTracked?: ((e: _$_vue_reactivity0.DebuggerEvent) => void) | ((e: _$_vue_reactivity0.DebuggerEvent) => void)[]; renderTriggered?: ((e: _$_vue_reactivity0.DebuggerEvent) => void) | ((e: _$_vue_reactivity0.DebuggerEvent) => void)[]; errorCaptured?: ((err: unknown, instance: _$_vue_runtime_core0.ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: _$_vue_runtime_core0.ComponentPublicInstance | null, info: string) => boolean | void)[]; }; $forceUpdate: () => void; $nextTick: typeof _$_vue_runtime_core0.nextTick; $watch any)>(source: T, cb: T extends ((...args: any) => infer R) ? (...args: [R, R, _$_vue_reactivity0.OnCleanup]) => any : (...args: [any, any, _$_vue_reactivity0.OnCleanup]) => any, options?: _$_vue_runtime_core0.WatchOptions): _$_vue_reactivity0.WatchStopHandle; } & Readonly<{}> & Omit Record | Promise>; }> & Readonly<{ onMounted?: ((internalInstance: any) => any) | undefined; onUnmounted?: (() => any) | undefined; onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined; "onSubmit-error"?: ((e: any) => any) | undefined; "onForm-error"?: ((e: any) => any) | undefined; }>, "submit" | "configForm"> & { configForm: _$_vue_runtime_core0.CreateComponentPublicInstanceWithMixins; lastValues?: Record; isCompare?: boolean; parentValues?: Record; labelWidth?: string; disabled?: boolean; height?: string; stepActive?: string | number; size?: "small" | "default" | "large"; inline?: boolean; labelPosition?: string; keyProp?: string; popperClass?: string; preventSubmitDefault?: boolean; extendState?: (_state: FormState) => Record | Promise>; }> & Readonly<{ onError?: ((...args: any[]) => any) | undefined; onChange?: ((...args: any[]) => any) | undefined; "onField-input"?: ((...args: any[]) => any) | undefined; "onField-change"?: ((...args: any[]) => any) | undefined; "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined; }>, { values: _$_vue_reactivity0.Ref; lastValuesProcessed: _$_vue_reactivity0.Ref; formState: FormState; initialized: _$_vue_reactivity0.Ref; changeRecords: _$_vue_reactivity0.ShallowRef; changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void; resetForm: () => void; submitForm: (native?: boolean) => Promise; getTextByName: (name: string, config?: _$_tmagic_form_schema0.FormConfig) => string | undefined; }, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { error: (...args: any[]) => void; change: (...args: any[]) => void; "field-input": (...args: any[]) => void; "field-change": (...args: any[]) => void; "update:stepActive": (...args: any[]) => void; }, _$_vue_runtime_core0.PublicProps, { disabled: boolean; labelWidth: string; inline: boolean; labelPosition: string; config: _$_tmagic_form_schema0.FormConfig; height: string; initValues: Record; lastValues: Record; isCompare: boolean; keyProp: string; parentValues: Record; stepActive: string | number; }, false, {}, {}, _$_vue_runtime_core0.GlobalComponents, _$_vue_runtime_core0.GlobalDirectives, string, {}, any, _$_vue_runtime_core0.ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly<{ config: _$_tmagic_form_schema0.FormConfig; initValues: Record; lastValues?: Record; isCompare?: boolean; parentValues?: Record; labelWidth?: string; disabled?: boolean; height?: string; stepActive?: string | number; size?: "small" | "default" | "large"; inline?: boolean; labelPosition?: string; keyProp?: string; popperClass?: string; preventSubmitDefault?: boolean; extendState?: (_state: FormState) => Record | Promise>; }> & Readonly<{ onError?: ((...args: any[]) => any) | undefined; onChange?: ((...args: any[]) => any) | undefined; "onField-input"?: ((...args: any[]) => any) | undefined; "onField-change"?: ((...args: any[]) => any) | undefined; "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined; }>, { values: _$_vue_reactivity0.Ref; lastValuesProcessed: _$_vue_reactivity0.Ref; formState: FormState; initialized: _$_vue_reactivity0.Ref; changeRecords: _$_vue_reactivity0.ShallowRef; changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void; resetForm: () => void; submitForm: (native?: boolean) => Promise; getTextByName: (name: string, config?: _$_tmagic_form_schema0.FormConfig) => string | undefined; }, {}, {}, {}, { disabled: boolean; labelWidth: string; inline: boolean; labelPosition: string; config: _$_tmagic_form_schema0.FormConfig; height: string; initValues: Record; lastValues: Record; isCompare: boolean; keyProp: string; parentValues: Record; stepActive: string | number; }> | null; submit: (v: FormValue, eventData: ContainerChangeEventData) => Promise; } & {} & _$_vue_runtime_core0.ComponentCustomProperties & {} & { $slots: { 'props-form-panel-header'(_props: {}): any; }; }) => any) | undefined; onUnmounted?: (() => any) | undefined; "onSubmit-error"?: ((e: any) => any) | undefined; "onForm-error"?: ((e: any) => any) | undefined; }>, {}, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, false, {}, any>; declare const __VLS_export$14: __VLS_WithSlots$7; declare const _default$26: typeof __VLS_export$14; type __VLS_WithSlots$7 = T & { new (): { $slots: S; }; }; //#endregion //#region temp/packages/editor/src/layouts/props-panel/FormPanel.vue.d.ts type __VLS_Slots$6 = { 'props-form-panel-header'(_props: {}): any; }; type __VLS_Props$12 = { config: FormConfig; values: FormValue; disabledShowSrc?: boolean; labelWidth?: string; codeValueKey?: string; labelPosition?: string; extendState?: (_state: FormState) => Record | Promise>; }; declare const __VLS_base$6: _$_vue_runtime_core0.DefineComponent<__VLS_Props$12, { configForm: Readonly<_$_vue_reactivity0.ShallowRef<_$_vue_runtime_core0.CreateComponentPublicInstanceWithMixins; lastValues?: Record; isCompare?: boolean; parentValues?: Record; labelWidth?: string; disabled?: boolean; height?: string; stepActive?: string | number; size?: "small" | "default" | "large"; inline?: boolean; labelPosition?: string; keyProp?: string; popperClass?: string; preventSubmitDefault?: boolean; extendState?: (_state: FormState) => Record | Promise>; }> & Readonly<{ onError?: ((...args: any[]) => any) | undefined; onChange?: ((...args: any[]) => any) | undefined; "onField-input"?: ((...args: any[]) => any) | undefined; "onField-change"?: ((...args: any[]) => any) | undefined; "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined; }>, { values: _$_vue_reactivity0.Ref; lastValuesProcessed: _$_vue_reactivity0.Ref; formState: FormState; initialized: _$_vue_reactivity0.Ref; changeRecords: _$_vue_reactivity0.ShallowRef; changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void; resetForm: () => void; submitForm: (native?: boolean) => Promise; getTextByName: (name: string, config?: FormConfig) => string | undefined; }, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { error: (...args: any[]) => void; change: (...args: any[]) => void; "field-input": (...args: any[]) => void; "field-change": (...args: any[]) => void; "update:stepActive": (...args: any[]) => void; }, _$_vue_runtime_core0.PublicProps, { disabled: boolean; labelWidth: string; inline: boolean; labelPosition: string; config: FormConfig; height: string; initValues: Record; lastValues: Record; isCompare: boolean; keyProp: string; parentValues: Record; stepActive: string | number; }, false, {}, {}, _$_vue_runtime_core0.GlobalComponents, _$_vue_runtime_core0.GlobalDirectives, string, {}, any, _$_vue_runtime_core0.ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly<{ config: FormConfig; initValues: Record; lastValues?: Record; isCompare?: boolean; parentValues?: Record; labelWidth?: string; disabled?: boolean; height?: string; stepActive?: string | number; size?: "small" | "default" | "large"; inline?: boolean; labelPosition?: string; keyProp?: string; popperClass?: string; preventSubmitDefault?: boolean; extendState?: (_state: FormState) => Record | Promise>; }> & Readonly<{ onError?: ((...args: any[]) => any) | undefined; onChange?: ((...args: any[]) => any) | undefined; "onField-input"?: ((...args: any[]) => any) | undefined; "onField-change"?: ((...args: any[]) => any) | undefined; "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined; }>, { values: _$_vue_reactivity0.Ref; lastValuesProcessed: _$_vue_reactivity0.Ref; formState: FormState; initialized: _$_vue_reactivity0.Ref; changeRecords: _$_vue_reactivity0.ShallowRef; changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void; resetForm: () => void; submitForm: (native?: boolean) => Promise; getTextByName: (name: string, config?: FormConfig) => string | undefined; }, {}, {}, {}, { disabled: boolean; labelWidth: string; inline: boolean; labelPosition: string; config: FormConfig; height: string; initValues: Record; lastValues: Record; isCompare: boolean; keyProp: string; parentValues: Record; stepActive: string | number; }> | null>>; submit: (v: FormValue, eventData: ContainerChangeEventData) => Promise; }, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { mounted: (internalInstance: any) => any; unmounted: () => any; submit: (values: any, eventData?: ContainerChangeEventData | undefined) => any; "submit-error": (e: any) => any; "form-error": (e: any) => any; }, string, _$_vue_runtime_core0.PublicProps, Readonly<__VLS_Props$12> & Readonly<{ onMounted?: ((internalInstance: any) => any) | undefined; onUnmounted?: (() => any) | undefined; onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined; "onSubmit-error"?: ((e: any) => any) | undefined; "onForm-error"?: ((e: any) => any) | undefined; }>, {}, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, false, {}, any>; declare const __VLS_export$13: __VLS_WithSlots$6; declare const _default$25: typeof __VLS_export$13; type __VLS_WithSlots$6 = T & { new (): { $slots: S; }; }; //#endregion //#region temp/packages/editor/src/components/ToolButton.vue.d.ts type __VLS_Props$11 = { data?: MenuButton | MenuComponent; eventType?: 'mousedown' | 'mouseup' | 'click'; }; declare const __VLS_export$12: _$_vue_runtime_core0.DefineComponent<__VLS_Props$11, {}, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, {}, string, _$_vue_runtime_core0.PublicProps, Readonly<__VLS_Props$11> & Readonly<{}>, { data: MenuButton | MenuComponent; eventType: "mousedown" | "mouseup" | "click"; }, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, false, {}, any>; declare const _default$31: typeof __VLS_export$12; //#endregion //#region temp/packages/editor/src/components/ContentMenu.vue.d.ts type __VLS_Props$10 = { menuData?: (MenuButton | MenuComponent)[]; isSubMenu?: boolean; active?: string | number; autoHide?: boolean; }; declare var __VLS_7$1: {}; type __VLS_Slots$5 = {} & { title?: (props: typeof __VLS_7$1) => any; }; declare const __VLS_base$5: _$_vue_runtime_core0.DefineComponent<__VLS_Props$10, { menu: Readonly<_$_vue_reactivity0.ShallowRef>; menuPosition: Ref<{ left: number; top: number; }, { left: number; top: number; } | { left: number; top: number; }>; hide: () => void; show: (e?: { clientY: number; clientX: number; }) => void; contains: (el: HTMLElement) => any; setPosition: (e: { clientY: number; clientX: number; }) => void; }, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { mouseenter: () => any; show: () => any; hide: () => any; }, string, _$_vue_runtime_core0.PublicProps, Readonly<__VLS_Props$10> & Readonly<{ onMouseenter?: (() => any) | undefined; onShow?: (() => any) | undefined; onHide?: (() => any) | undefined; }>, { menuData: (MenuButton | MenuComponent)[]; isSubMenu: boolean; autoHide: boolean; }, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, false, {}, any>; declare const __VLS_export$11: __VLS_WithSlots$5; declare const _default$7: typeof __VLS_export$11; type __VLS_WithSlots$5 = T & { new (): { $slots: S; }; }; //#endregion //#region temp/packages/editor/src/components/Icon.vue.d.ts type __VLS_Props$9 = { icon?: any; }; declare const __VLS_export$10: _$_vue_runtime_core0.DefineComponent<__VLS_Props$9, {}, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, {}, string, _$_vue_runtime_core0.PublicProps, Readonly<__VLS_Props$9> & Readonly<{}>, {}, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, false, {}, any>; declare const _default$20: typeof __VLS_export$10; //#endregion //#region temp/packages/editor/src/components/SplitView.vue.d.ts type __VLS_Props$8 = { width?: number; left?: number; right?: number; minLeft?: number; minRight?: number; minCenter?: number; leftClass?: string; rightClass?: string; centerClass?: string; }; declare var __VLS_1$1: {}, __VLS_10: {}, __VLS_19: {}; type __VLS_Slots$4 = {} & { left?: (props: typeof __VLS_1$1) => any; } & { center?: (props: typeof __VLS_10) => any; } & { right?: (props: typeof __VLS_19) => any; }; declare const __VLS_base$4: _$_vue_runtime_core0.DefineComponent<__VLS_Props$8, { updateWidth(): void; }, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { change: (...args: any[]) => void; "update:left": (...args: any[]) => void; "update:right": (...args: any[]) => void; }, string, _$_vue_runtime_core0.PublicProps, Readonly<__VLS_Props$8> & Readonly<{ onChange?: ((...args: any[]) => any) | undefined; "onUpdate:left"?: ((...args: any[]) => any) | undefined; "onUpdate:right"?: ((...args: any[]) => any) | undefined; }>, { minLeft: number; minRight: number; minCenter: number; }, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, false, {}, any>; declare const __VLS_export$9: __VLS_WithSlots$4; declare const _default$23: typeof __VLS_export$9; type __VLS_WithSlots$4 = T & { new (): { $slots: S; }; }; //#endregion //#region temp/packages/editor/src/components/Resizer.vue.d.ts declare var __VLS_1: {}; type __VLS_Slots$3 = {} & { default?: (props: typeof __VLS_1) => any; }; declare const __VLS_base$3: _$_vue_runtime_core0.DefineComponent<{}, {}, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { change: (e: OnDrag$1<_$gesto.default>) => any; }, string, _$_vue_runtime_core0.PublicProps, Readonly<{}> & Readonly<{ onChange?: ((e: OnDrag$1<_$gesto.default>) => any) | undefined; }>, {}, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, true, {}, any>; declare const __VLS_export$8: __VLS_WithSlots$3; declare const _default$27: typeof __VLS_export$8; type __VLS_WithSlots$3 = T & { new (): { $slots: S; }; }; //#endregion //#region temp/packages/editor/src/components/CodeBlockEditor.vue.d.ts type __VLS_Props$7 = { content: Omit & { content: string; }; disabled?: boolean; isDataSource?: boolean; dataSourceType?: string; }; type __VLS_ModelProps$1 = { 'width'?: number; 'visible'?: boolean; }; type __VLS_PublicProps$1 = __VLS_Props$7 & __VLS_ModelProps$1; declare const __VLS_export$7: _$_vue_runtime_core0.DefineComponent<__VLS_PublicProps$1, { show(): Promise; hide(): Promise; }, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { close: () => any; submit: (values: CodeBlockContent, eventData: ContainerChangeEventData) => any; open: () => any; "update:width": (value: number) => any; "update:visible": (value: boolean) => any; }, string, _$_vue_runtime_core0.PublicProps, Readonly<__VLS_PublicProps$1> & Readonly<{ onClose?: (() => any) | undefined; onSubmit?: ((values: CodeBlockContent, eventData: ContainerChangeEventData) => any) | undefined; onOpen?: (() => any) | undefined; "onUpdate:width"?: ((value: number) => any) | undefined; "onUpdate:visible"?: ((value: boolean) => any) | undefined; }>, {}, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, false, {}, any>; declare const _default: typeof __VLS_export$7; //#endregion //#region temp/packages/editor/src/components/FloatingBox.vue.d.ts interface Position { left: number; top: number; } type __VLS_Props$6 = { position?: Position; title?: string; beforeClose?: (_done: (_cancel?: boolean) => void) => void; }; type __VLS_ModelProps = { 'width'?: number; 'height'?: number; 'visible'?: boolean; }; type __VLS_PublicProps = __VLS_Props$6 & __VLS_ModelProps; declare var __VLS_7: {}, __VLS_22: {}; type __VLS_Slots$2 = {} & { title?: (props: typeof __VLS_7) => any; } & { body?: (props: typeof __VLS_22) => any; }; declare const __VLS_base$2: _$_vue_runtime_core0.DefineComponent<__VLS_PublicProps, { bodyHeight: _$_vue_reactivity0.ComputedRef; target: Readonly<_$_vue_reactivity0.ShallowRef>; titleEl: Readonly<_$_vue_reactivity0.ShallowRef>; }, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { "update:width": (value: number) => any; "update:height": (value: number) => any; "update:visible": (value: boolean) => any; }, string, _$_vue_runtime_core0.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{ "onUpdate:width"?: ((value: number) => any) | undefined; "onUpdate:height"?: ((value: number) => any) | undefined; "onUpdate:visible"?: ((value: boolean) => any) | undefined; }>, { title: string; position: Position; }, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, false, {}, any>; declare const __VLS_export$6: __VLS_WithSlots$2; declare const _default$19: typeof __VLS_export$6; type __VLS_WithSlots$2 = T & { new (): { $slots: S; }; }; //#endregion //#region temp/packages/editor/src/components/Tree.vue.d.ts type __VLS_Slots$1 = { 'tree-node-content'(_props: { data: TreeNodeData; }): any; 'tree-node-label'(_props: { data: TreeNodeData; }): any; 'tree-node-tool'(_props: { data: TreeNodeData; }): any; }; type __VLS_Props$5 = { data: TreeNodeData[]; nodeStatusMap: Map; indent?: number; nextLevelIndentIncrement?: number; emptyText?: string; }; declare const __VLS_base$1: _$_vue_runtime_core0.DefineComponent<__VLS_Props$5, {}, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { "node-dragstart": (event: DragEvent, data: TreeNodeData) => any; "node-dragleave": (event: DragEvent, data: TreeNodeData) => any; "node-dragend": (event: DragEvent, data: TreeNodeData) => any; "node-contextmenu": (event: MouseEvent, data: TreeNodeData) => any; "node-mouseenter": (event: MouseEvent, data: TreeNodeData) => any; "node-click": (event: MouseEvent, data: TreeNodeData) => any; "node-dragover": (event: DragEvent) => any; }, string, _$_vue_runtime_core0.PublicProps, Readonly<__VLS_Props$5> & Readonly<{ "onNode-dragstart"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined; "onNode-dragleave"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined; "onNode-dragend"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined; "onNode-contextmenu"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined; "onNode-mouseenter"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined; "onNode-click"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined; "onNode-dragover"?: ((event: DragEvent) => any) | undefined; }>, { emptyText: string; indent: number; }, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, false, {}, any>; declare const __VLS_export$5: __VLS_WithSlots$1; declare const _default$32: typeof __VLS_export$5; type __VLS_WithSlots$1 = T & { new (): { $slots: S; }; }; //#endregion //#region temp/packages/editor/src/components/TreeNode.vue.d.ts type __VLS_Slots = { 'tree-node-label'(_props: { data: TreeNodeData; }): any; 'tree-node-tool'(_props: { data: TreeNodeData; }): any; 'tree-node-content'(_props: { data: TreeNodeData; }): any; }; type __VLS_Props$4 = { data: TreeNodeData; parent?: TreeNodeData; parentsId?: Id[]; nodeStatusMap: Map; indent?: number; nextLevelIndentIncrement?: number; }; declare const __VLS_base: _$_vue_runtime_core0.DefineComponent<__VLS_Props$4, {}, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { "node-dragstart": (event: DragEvent, data: TreeNodeData) => any; "node-dragleave": (event: DragEvent, data: TreeNodeData) => any; "node-dragend": (event: DragEvent, data: TreeNodeData) => any; "node-contextmenu": (event: MouseEvent, data: TreeNodeData) => any; "node-mouseenter": (event: MouseEvent, data: TreeNodeData) => any; "node-click": (event: MouseEvent, data: TreeNodeData) => any; }, string, _$_vue_runtime_core0.PublicProps, Readonly<__VLS_Props$4> & Readonly<{ "onNode-dragstart"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined; "onNode-dragleave"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined; "onNode-dragend"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined; "onNode-contextmenu"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined; "onNode-mouseenter"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined; "onNode-click"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined; }>, { indent: number; parentsId: Id[]; nextLevelIndentIncrement: number; }, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, false, {}, any>; declare const __VLS_export$4: __VLS_WithSlots; declare const _default$33: typeof __VLS_export$4; type __VLS_WithSlots = T & { new (): { $slots: S; }; }; //#endregion //#region temp/packages/editor/src/fields/PageFragmentSelect.vue.d.ts type __VLS_Props$3 = FieldProps; declare const __VLS_export$3: _$_vue_runtime_core0.DefineComponent<__VLS_Props$3, {}, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { change: (...args: any[]) => void; }, string, _$_vue_runtime_core0.PublicProps, Readonly<__VLS_Props$3> & Readonly<{ onChange?: ((...args: any[]) => any) | undefined; }>, { disabled: boolean; }, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, false, {}, any>; declare const _default$24: typeof __VLS_export$3; //#endregion //#region temp/packages/editor/src/fields/DisplayConds.vue.d.ts type __VLS_Props$2 = FieldProps; declare const __VLS_export$2: _$_vue_runtime_core0.DefineComponent<__VLS_Props$2, {}, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { change: (value: DisplayCond[], eventData?: ContainerChangeEventData | undefined) => any; }, string, _$_vue_runtime_core0.PublicProps, Readonly<__VLS_Props$2> & Readonly<{ onChange?: ((value: DisplayCond[], eventData?: ContainerChangeEventData | undefined) => any) | undefined; }>, { disabled: boolean; }, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, false, {}, any>; declare const _default$17: typeof __VLS_export$2; //#endregion //#region temp/packages/editor/src/fields/CondOpSelect.vue.d.ts type __VLS_Props$1 = FieldProps; declare const __VLS_export$1: _$_vue_runtime_core0.DefineComponent<__VLS_Props$1, {}, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { change: (value: string) => any; }, string, _$_vue_runtime_core0.PublicProps, Readonly<__VLS_Props$1> & Readonly<{ onChange?: ((value: string) => any) | undefined; }>, {}, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, false, {}, any>; declare const _default$6: typeof __VLS_export$1; //#endregion //#region temp/packages/editor/src/fields/StyleSetter/Index.vue.d.ts type __VLS_Props = FieldProps; declare const __VLS_export: _$_vue_runtime_core0.DefineComponent<__VLS_Props, {}, {}, {}, {}, _$_vue_runtime_core0.ComponentOptionsMixin, _$_vue_runtime_core0.ComponentOptionsMixin, { change: (v: any, eventData: ContainerChangeEventData) => any; }, string, _$_vue_runtime_core0.PublicProps, Readonly<__VLS_Props> & Readonly<{ onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined; }>, {}, {}, {}, {}, string, _$_vue_runtime_core0.ComponentProvideOptions, false, {}, any>; declare const _default$28: typeof __VLS_export; //#endregion //#region temp/packages/editor/src/plugin.d.ts declare const _default$36: { install: (app: App, opt?: Partial) => void; }; //#endregion export { AddMNode, AddPrefixToObject, AsyncAfterHook, AsyncBeforeHook, AsyncHookPlugin, AsyncMethodName, BeforeAdd, CODE_DRAFT_STORAGE_KEY, COPY_CODE_STORAGE_KEY, COPY_DS_STORAGE_KEY, COPY_STORAGE_KEY, _default as CodeBlockEditor, _default$1 as CodeBlockList, _default$2 as CodeBlockListPanel, CodeBlockListPanelSlots, CodeBlockListSlots, CodeDeleteErrorType, CodeDslItem, CodeParamStatement, CodeRelation, _default$3 as CodeSelect, _default$4 as CodeSelectCol, CodeState, ColumnLayout, CombineInfo, ComponentGroup, ComponentGroupState, ComponentItem, _default$5 as ComponentListPanel, ComponentListPanelSlots, _default$6 as CondOpSelect, _default$7 as ContentMenu, CustomContentMenuFunction, DEFAULT_LEFT_COLUMN_WIDTH, DEFAULT_RIGHT_COLUMN_WIDTH, _default$8 as DataSourceAddButton, _default$9 as DataSourceConfigPanel, _default$10 as DataSourceFieldSelect, _default$11 as DataSourceFields, _default$12 as DataSourceInput, DataSourceListSlots, _default$13 as DataSourceMethodSelect, _default$14 as DataSourceMethods, _default$15 as DataSourceMocks, _default$16 as DataSourceSelect, DatasourceTypeOption, DepTargetType, _default$17 as DisplayConds, DragClassification, DragType, EditorEvents, EditorInstallOptions, EditorNodeInfo, EditorSlots, EventBus, EventBusEvent, _default$18 as EventSelect, Fixed2Other, _default$19 as FloatingBox, FrameworkSlots, GetColumnWidth, GetConfig, H_GUIDE_LINE_STORAGE_KEY, HistoryOpType, HistoryState, _default$20 as Icon, IdleTask, IdleTaskEvents, KeyBindingCacheItem, KeyBindingCommand, KeyBindingItem, _default$21 as KeyValue, Keys, LEFT_COLUMN_WIDTH_STORAGE_KEY, LayerNodeSlots, LayerNodeStatus, LayerOffset, _default$22 as LayerPanel, LayerPanelSlots, Layout, _default$23 as LayoutContainer, _default$23 as SplitView, ListState, MIN_CENTER_COLUMN_WIDTH, MIN_LEFT_COLUMN_WIDTH, MIN_RIGHT_COLUMN_WIDTH, MenuBarData, MenuButton, MenuComponent, MenuItem, type OnDrag, PROPS_PANEL_WIDTH_STORAGE_KEY, PageBarSortOptions, _default$24 as PageFragmentSelect, PartSortableOptions, PastePosition, PropsFormConfigFunction, _default$25 as PropsFormPanel, PropsFormValueFunction, _default$26 as PropsPanel, PropsPanelSlots, PropsState, RIGHT_COLUMN_WIDTH_STORAGE_KEY, _default$27 as Resizer, ScrollViewer, ScrollViewerEvent, Services, SetColumnWidth, SideBarData, SideComponent, SideItem, SideItemKey, SidebarSlots, StageCore, StageOptions, StageOverlayState, StageRect, StepValue, StoreState, StoreStateKey, _default$28 as StyleSetter, SyncAfterHook, SyncBeforeHook, SyncHookPlugin, _default$29 as TMagicCodeEditor, _default$30 as TMagicEditor, _default$31 as ToolButton, _default$32 as Tree, _default$33 as TreeNode, TreeNodeData, UI_SELECT_MODE_EVENT_NAME, UiState, UndoRedo, V_GUIDE_LINE_STORAGE_KEY, WorkspaceSlots, advancedTabConfig, arrayOptions, beforePaste, buildChangeRecords, calcAlignCenterStyle, calcLayerTargetIndex, calcMoveStyle, canUsePluginMethods, change2Fixed, classifyDragSources, _default$34 as codeBlockService, collectRelatedNodes, _default$35 as dataSourceService, debug, _default$36 as default, _default$37 as depService, designPlugin, displayTabConfig, editorNodeMergeCustomizer, _default$38 as editorService, eqOptions, error, eventTabConfig, _default$39 as eventsService, fillConfig, fixNodeLeft, fixNodePosition, formPlugin, generatePageName, generatePageNameByApp, getAddParent, getCascaderOptionsFromFields, getDefaultConfig, getDisplayField, getEditorConfig, getFieldType, getFormConfig, getFormValue, getGuideLineFromCache, getInitPositionStyle, getNodeIndex, getPageFragmentList, getPageList, getPageNameList, getPositionInContainer, getRelativeStyle, _default$40 as historyService, info, isIncludeDataSource, _default$41 as loadMonaco, log, moveItemsInContainer, numberOptions, _default$42 as propsService, resolveSelectedNode, serializeConfig, setChildrenLayout, setEditorConfig, setLayout, _default$43 as stageOverlayService, _default$44 as storageService, styleTabConfig, tablePlugin, toggleFixedPosition, _default$45 as uiService, updateStatus, useCodeBlockEdit, useEditorContentHeight, useFilter, useFloatBox, useGetSo, useNextFloatBoxPosition, useNodeStatus, useServices, useStage, useWindowRect, warn };