From 537cc63b15e0671265d66c6026cc598c24cd1810 Mon Sep 17 00:00:00 2001 From: cuijiawei2022 Date: Tue, 27 May 2025 17:21:26 +0800 Subject: [PATCH] add previewUEC Signed-off-by: cuijiawei2022 --- .../components/preview_ui_extension_component.json | 11 +++++++++++ compiler/tsconfig.esm.json | 6 ++++++ compiler/tsconfig.json | 6 ++++++ 3 files changed, 23 insertions(+) create mode 100644 compiler/components/preview_ui_extension_component.json diff --git a/compiler/components/preview_ui_extension_component.json b/compiler/components/preview_ui_extension_component.json new file mode 100644 index 000000000..00247aff3 --- /dev/null +++ b/compiler/components/preview_ui_extension_component.json @@ -0,0 +1,11 @@ +{ + "name": "PreviewUIExtensionComponent", + "attrs": [ + "onTerminated", + "onError", + "onReceive", + "onRemoteReady" + ], + "atomic": true, + "systemApi": false +} \ No newline at end of file diff --git a/compiler/tsconfig.esm.json b/compiler/tsconfig.esm.json index 2e20f130e..32530da6a 100755 --- a/compiler/tsconfig.esm.json +++ b/compiler/tsconfig.esm.json @@ -275,6 +275,7 @@ "PasteButton", "SaveButton", "UIExtensionComponent", + "PreviewUIExtensionComponent", "IsolatedComponent", "RichEditor", "Component3D", @@ -861,6 +862,11 @@ "type": "UIExtensionComponentAttribute", "instance": "UIExtensionComponentInstance" }, + { + "name": "PreviewUIExtensionComponent", + "type": "PreviewUIExtensionComponentAttribute", + "instance": "PreviewUIExtensionComponentInstance" + }, { "name": "IsolatedComponent", "type": "IsolatedComponentAttribute", diff --git a/compiler/tsconfig.json b/compiler/tsconfig.json index 96c81984e..852aebd49 100644 --- a/compiler/tsconfig.json +++ b/compiler/tsconfig.json @@ -284,6 +284,7 @@ "PasteButton", "SaveButton", "UIExtensionComponent", + "PreviewUIExtensionComponent", "IsolatedComponent", "RichEditor", "Component3D", @@ -910,6 +911,11 @@ "type": "UIExtensionComponentAttribute", "instance": "UIExtensionComponentInstance" }, + { + "name": "PreviewUIExtensionComponent", + "type": "PreviewUIExtensionComponentAttribute", + "instance": "PreviewUIExtensionComponentInstance" + }, { "name": "IsolatedComponent", "type": "IsolatedComponentAttribute", -- Gitee