From f62ea4212d2b05c0573414a407b4f9d7c8b9544b Mon Sep 17 00:00:00 2001 From: nickyhey Date: Fri, 21 Feb 2025 09:05:33 +0800 Subject: [PATCH] DC support Signed-off-by: nickyhey --- compiler/components/dynamic_component.json | 6 ++++++ compiler/tsconfig.esm.json | 6 ++++++ compiler/tsconfig.json | 6 ++++++ 3 files changed, 18 insertions(+) create mode 100644 compiler/components/dynamic_component.json diff --git a/compiler/components/dynamic_component.json b/compiler/components/dynamic_component.json new file mode 100644 index 000000000..78565f1ed --- /dev/null +++ b/compiler/components/dynamic_component.json @@ -0,0 +1,6 @@ +{ + "name": "DynamicComponent", + "attrs": [ + "onError" + ] +} \ No newline at end of file diff --git a/compiler/tsconfig.esm.json b/compiler/tsconfig.esm.json index 16b0871ae..720e024f4 100755 --- a/compiler/tsconfig.esm.json +++ b/compiler/tsconfig.esm.json @@ -277,6 +277,7 @@ "SaveButton", "UIExtensionComponent", "IsolatedComponent", + "DynamicComponent", "RichEditor", "Component3D", "ContainerSpan", @@ -884,6 +885,11 @@ "type": "IsolatedComponentAttribute", "instance": "IsolatedComponentInstance" }, + { + "name": "DynamicComponent", + "type": "DynamicComponentAttribute", + "instance": "DynamicComponentInstance" + }, { "name": "RichEditor", "type": "RichEditorAttribute", diff --git a/compiler/tsconfig.json b/compiler/tsconfig.json index 787f0572b..caadc5c4c 100644 --- a/compiler/tsconfig.json +++ b/compiler/tsconfig.json @@ -285,6 +285,7 @@ "SaveButton", "UIExtensionComponent", "IsolatedComponent", + "DynamicComponent", "RichEditor", "Component3D", "ContainerSpan", @@ -927,6 +928,11 @@ "type": "IsolatedComponentAttribute", "instance": "IsolatedComponentInstance" }, + { + "name": "DynamicComponent", + "type": "DynamicComponentAttribute", + "instance": "DynamicComponentInstance" + }, { "name": "RichEditor", "type": "RichEditorAttribute", -- Gitee