From bbf93cb2b599dca09002afe17da5931947c55872 Mon Sep 17 00:00:00 2001 From: roymondchen Date: Fri, 20 Jun 2025 15:22:44 +0800 Subject: [PATCH] =?UTF-8?q?style(vue-runtime-help):=20=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E7=BB=84=E4=BB=B6props=E7=9A=84=E7=BB=9F=E4=B8=80=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- runtime/vue-runtime-help/package.json | 2 +- runtime/vue-runtime-help/src/index.ts | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) 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; +}