From fe01975eaf99bfb3321980c5faf356cbe4a4a085 Mon Sep 17 00:00:00 2001 From: hw_ljz Date: Wed, 27 Aug 2025 16:56:39 +0800 Subject: [PATCH 1/5] test Signed-off-by: hw_ljz --- compiler/components/anylayout.json | 4 ++++ compiler/tsconfig.json | 6 ++++++ 2 files changed, 10 insertions(+) create mode 100644 compiler/components/anylayout.json diff --git a/compiler/components/anylayout.json b/compiler/components/anylayout.json new file mode 100644 index 000000000..e1914991e --- /dev/null +++ b/compiler/components/anylayout.json @@ -0,0 +1,4 @@ +{ +"name": "MyCircle", +"attrs": ["circleRadius", "circleEdgeWidth", "circleEdgeColor", "onCircleClick"] +} \ No newline at end of file diff --git a/compiler/tsconfig.json b/compiler/tsconfig.json index e7ee165ec..6bfb26d8d 100644 --- a/compiler/tsconfig.json +++ b/compiler/tsconfig.json @@ -159,6 +159,7 @@ "decorator": ["LocalBuilder", "Builder"] }, "components": [ + "MyCircle", "AbilityComponent", "AlphabetIndexer", "AnalogClock", @@ -294,6 +295,11 @@ "extend": { "decorator": ["Extend", "AnimatableExtend"], "components": [ + { + "name": "MyCircle", + "type": "MyCircleAttribute", + "instance": "MyCircleInstance" + }, { "name": "AbilityComponent", "type": "AbilityComponentAttribute", -- Gitee From 541a18518d5848fd0636dfc4d86fe68dae7cf92d Mon Sep 17 00:00:00 2001 From: hw_ljz Date: Thu, 28 Aug 2025 08:49:33 +0000 Subject: [PATCH 2/5] update compiler/components/anylayout.json. Signed-off-by: hw_ljz --- compiler/components/anylayout.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/components/anylayout.json b/compiler/components/anylayout.json index e1914991e..c7e93cb2d 100644 --- a/compiler/components/anylayout.json +++ b/compiler/components/anylayout.json @@ -1,4 +1,4 @@ { -"name": "MyCircle", +"name": "AbcCircle", "attrs": ["circleRadius", "circleEdgeWidth", "circleEdgeColor", "onCircleClick"] } \ No newline at end of file -- Gitee From 0f5198103bc58a5d5143581bcff094fe12b32c5c Mon Sep 17 00:00:00 2001 From: hw_ljz Date: Thu, 28 Aug 2025 08:50:23 +0000 Subject: [PATCH 3/5] update compiler/tsconfig.json. Signed-off-by: hw_ljz --- compiler/tsconfig.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/compiler/tsconfig.json b/compiler/tsconfig.json index 6bfb26d8d..453cc3b33 100644 --- a/compiler/tsconfig.json +++ b/compiler/tsconfig.json @@ -159,7 +159,7 @@ "decorator": ["LocalBuilder", "Builder"] }, "components": [ - "MyCircle", + "AbcCircle", "AbilityComponent", "AlphabetIndexer", "AnalogClock", @@ -296,9 +296,9 @@ "decorator": ["Extend", "AnimatableExtend"], "components": [ { - "name": "MyCircle", - "type": "MyCircleAttribute", - "instance": "MyCircleInstance" + "name": "AbcCircle", + "type": "AbcCircleAttribute", + "instance": "AbcCircleInstance" }, { "name": "AbilityComponent", -- Gitee From c4d84c691d1793cd36b123fef381240643a9c26f Mon Sep 17 00:00:00 2001 From: hw_ljz Date: Thu, 28 Aug 2025 10:43:17 +0000 Subject: [PATCH 4/5] update compiler/components/anylayout.json. Signed-off-by: hw_ljz --- compiler/components/anylayout.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/components/anylayout.json b/compiler/components/anylayout.json index c7e93cb2d..484f54ca5 100644 --- a/compiler/components/anylayout.json +++ b/compiler/components/anylayout.json @@ -1,4 +1,4 @@ { -"name": "AbcCircle", +"name": "AnyLayout", "attrs": ["circleRadius", "circleEdgeWidth", "circleEdgeColor", "onCircleClick"] } \ No newline at end of file -- Gitee From 186cab75e30778489bb68066b22cbc50a8bd6e09 Mon Sep 17 00:00:00 2001 From: hw_ljz Date: Thu, 28 Aug 2025 10:43:47 +0000 Subject: [PATCH 5/5] update compiler/tsconfig.json. Signed-off-by: hw_ljz --- compiler/tsconfig.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/compiler/tsconfig.json b/compiler/tsconfig.json index 453cc3b33..639ae2baf 100644 --- a/compiler/tsconfig.json +++ b/compiler/tsconfig.json @@ -159,7 +159,7 @@ "decorator": ["LocalBuilder", "Builder"] }, "components": [ - "AbcCircle", + "AnyLayout", "AbilityComponent", "AlphabetIndexer", "AnalogClock", @@ -296,9 +296,9 @@ "decorator": ["Extend", "AnimatableExtend"], "components": [ { - "name": "AbcCircle", - "type": "AbcCircleAttribute", - "instance": "AbcCircleInstance" + "name": "AnyLayout", + "type": "AnyLayoutAttribute", + "instance": "AnyLayoutInstance" }, { "name": "AbilityComponent", -- Gitee