diff --git a/runtime/vue-runtime-help/package.json b/runtime/vue-runtime-help/package.json index c028d0f7..1d8854fa 100644 --- a/runtime/vue-runtime-help/package.json +++ b/runtime/vue-runtime-help/package.json @@ -1,5 +1,5 @@ { - "version": "1.1.3", + "version": "1.1.4", "name": "@tmagic/vue-runtime-help", "type": "module", "sideEffects": false, diff --git a/runtime/vue-runtime-help/src/index.ts b/runtime/vue-runtime-help/src/index.ts index 833a25f9..13835279 100644 --- a/runtime/vue-runtime-help/src/index.ts +++ b/runtime/vue-runtime-help/src/index.ts @@ -1,6 +1,6 @@ import { h } from 'vue-demi'; -import type { MComponent, StyleSchema } from '@tmagic/core'; +import type { Id, MComponent, StyleSchema } from '@tmagic/core'; export * from './hooks/use-editor-dsl'; export * from './hooks/use-dsl'; @@ -27,3 +27,12 @@ export interface UserRenderFunctionOptions { } export type UserRenderFunction = (options: UserRenderFunctionOptions) => any; + +export interface ComponentProps = MComponent> { + config: T; + iteratorIndex?: number[]; + iteratorContainerId?: Id[]; + containerIndex?: number; + model?: any; + disabled?: boolean; +}