@schema-element-editor/host-sdk 2.2.0 → 2.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/react.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { b as SchemaElementEditorConfig, S as SchemaValue, d as SchemaElementEditorRecording } from './types-BSn4QaId.cjs';
1
+ import { b as SchemaElementEditorConfig, d as SchemaElementEditorRecording } from './types-BSn4QaId.cjs';
2
2
 
3
3
  /**
4
4
  * Schema Element Editor Host SDK - React
@@ -6,16 +6,7 @@ import { b as SchemaElementEditorConfig, S as SchemaValue, d as SchemaElementEdi
6
6
  */
7
7
 
8
8
  /** React 版本的 Schema Element Editor 配置 */
9
- interface ReactSchemaElementEditorConfig extends Omit<SchemaElementEditorConfig, 'renderPreview'> {
10
- /**
11
- * 渲染预览(可选)
12
- *
13
- * 特殊值说明:
14
- * - undefined(默认):不关心预览功能,不参与优先级竞争
15
- * - null:明确阻止预览功能,参与优先级竞争但告诉插件不支持预览(触发内置预览器)
16
- * - function:提供预览功能,参与优先级竞争并正常渲染
17
- */
18
- renderPreview?: ((schema: SchemaValue, containerId: string) => (() => void) | void) | null;
9
+ interface ReactSchemaElementEditorConfig extends SchemaElementEditorConfig {
19
10
  /**
20
11
  * 是否启用桥接(默认 true)
21
12
  * 设为 false 时不创建桥接器,不监听消息
package/dist/react.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { b as SchemaElementEditorConfig, S as SchemaValue, d as SchemaElementEditorRecording } from './types-BSn4QaId.js';
1
+ import { b as SchemaElementEditorConfig, d as SchemaElementEditorRecording } from './types-BSn4QaId.js';
2
2
 
3
3
  /**
4
4
  * Schema Element Editor Host SDK - React
@@ -6,16 +6,7 @@ import { b as SchemaElementEditorConfig, S as SchemaValue, d as SchemaElementEdi
6
6
  */
7
7
 
8
8
  /** React 版本的 Schema Element Editor 配置 */
9
- interface ReactSchemaElementEditorConfig extends Omit<SchemaElementEditorConfig, 'renderPreview'> {
10
- /**
11
- * 渲染预览(可选)
12
- *
13
- * 特殊值说明:
14
- * - undefined(默认):不关心预览功能,不参与优先级竞争
15
- * - null:明确阻止预览功能,参与优先级竞争但告诉插件不支持预览(触发内置预览器)
16
- * - function:提供预览功能,参与优先级竞争并正常渲染
17
- */
18
- renderPreview?: ((schema: SchemaValue, containerId: string) => (() => void) | void) | null;
9
+ interface ReactSchemaElementEditorConfig extends SchemaElementEditorConfig {
19
10
  /**
20
11
  * 是否启用桥接(默认 true)
21
12
  * 设为 false 时不创建桥接器,不监听消息
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@schema-element-editor/host-sdk",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "Schema Element Editor (SEE) 插件宿主接入 SDK,支持 React/Vue/纯 JS",
5
5
  "type": "module",
6
6
  "packageManager": "bun@1.3.5",