From 544495058dd060db8b3bfa0ab0597b2c0be6edd4 Mon Sep 17 00:00:00 2001 From: zhangdezhou Date: Tue, 1 Apr 2025 15:22:08 +0800 Subject: [PATCH 1/7] add form's overflow animation feature support Signed-off-by: zhangdezhou --- modulecheck/forms.json | 57 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 56 insertions(+), 1 deletion(-) diff --git a/modulecheck/forms.json b/modulecheck/forms.json index 1963c753..0fead530 100644 --- a/modulecheck/forms.json +++ b/modulecheck/forms.json @@ -45,7 +45,9 @@ "supportShapes", "previewImages", "renderingMode", - "enableBlurBackground" + "enableBlurBackground", + "funInteractionParams", + "sceneAnimationParams" ] }, "required": [ @@ -308,6 +310,59 @@ "description": "This label indicates whether the form uses blur background.", "type": "boolean", "default": false + }, + "funInteractionParams": { + "description": "This label indicates fun interaction form params.", + "type": "object", + "propertyNames": { + "enum": [ + "abilityName", + "targetBundleName", + "keepStateDuration" + ] + }, + "properties": { + "abilityName": { + "description": "The ability name of the fun interaction form.", + "type": "string", + "maxLength": 255 + }, + "targetBundleName": { + "description": "The bundle name used by game engine.", + "type": "string", + "maxLength": 255 + }, + "keepStateDuration": { + "description": "The duration of the fun interaction form will be paused if not operate, default is 10s.", + "type": "integer" + } + } + }, + "sceneAnimationParams": { + "description": "This label indicates scene animation form params.", + "type": "object", + "propertyNames": { + "enum": [ + "abilityName", + "isAlwaysActive", + "disabledDesktopBehaviors" + ] + }, + "properties": { + "abilityName": { + "description": "The ability name of the scene animation form.", + "type": "string", + "maxLength": 255 + }, + "isAlwaysActive": { + "description": "Indicates can be always active, default is false and only takes effect for system app.", + "type": "boolean" + }, + "disabledDesktopBehaviors": { + "description": "Indicates disabled desktop behaviors, only takes effect for system app.", + "type": "string" + } + } } } } -- Gitee From c6091b1bc03b72ab44b425ef3ba7f35132c983ea Mon Sep 17 00:00:00 2001 From: zhangdezhou Date: Tue, 1 Apr 2025 16:48:36 +0800 Subject: [PATCH 2/7] add form's overflow animation feature support Signed-off-by: zhangdezhou --- modulecheck/forms.json | 58 ++---------------------------------------- 1 file changed, 2 insertions(+), 56 deletions(-) diff --git a/modulecheck/forms.json b/modulecheck/forms.json index 0fead530..d9b0dc17 100644 --- a/modulecheck/forms.json +++ b/modulecheck/forms.json @@ -45,9 +45,7 @@ "supportShapes", "previewImages", "renderingMode", - "enableBlurBackground", - "funInteractionParams", - "sceneAnimationParams" + "enableBlurBackground" ] }, "required": [ @@ -310,60 +308,8 @@ "description": "This label indicates whether the form uses blur background.", "type": "boolean", "default": false - }, - "funInteractionParams": { - "description": "This label indicates fun interaction form params.", - "type": "object", - "propertyNames": { - "enum": [ - "abilityName", - "targetBundleName", - "keepStateDuration" - ] - }, - "properties": { - "abilityName": { - "description": "The ability name of the fun interaction form.", - "type": "string", - "maxLength": 255 - }, - "targetBundleName": { - "description": "The bundle name used by game engine.", - "type": "string", - "maxLength": 255 - }, - "keepStateDuration": { - "description": "The duration of the fun interaction form will be paused if not operate, default is 10s.", - "type": "integer" - } - } - }, - "sceneAnimationParams": { - "description": "This label indicates scene animation form params.", - "type": "object", - "propertyNames": { - "enum": [ - "abilityName", - "isAlwaysActive", - "disabledDesktopBehaviors" - ] - }, - "properties": { - "abilityName": { - "description": "The ability name of the scene animation form.", - "type": "string", - "maxLength": 255 - }, - "isAlwaysActive": { - "description": "Indicates can be always active, default is false and only takes effect for system app.", - "type": "boolean" - }, - "disabledDesktopBehaviors": { - "description": "Indicates disabled desktop behaviors, only takes effect for system app.", - "type": "string" - } - } } + } } } -- Gitee From e1adc898b6be4048de90fa43775c2fdc2c9d9090 Mon Sep 17 00:00:00 2001 From: zhangdezhou Date: Tue, 1 Apr 2025 20:03:06 +0800 Subject: [PATCH 3/7] add form's overflow animation feature support Signed-off-by: zhangdezhou --- modulecheck/forms.json | 58 ++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 56 insertions(+), 2 deletions(-) diff --git a/modulecheck/forms.json b/modulecheck/forms.json index d9b0dc17..0fead530 100644 --- a/modulecheck/forms.json +++ b/modulecheck/forms.json @@ -45,7 +45,9 @@ "supportShapes", "previewImages", "renderingMode", - "enableBlurBackground" + "enableBlurBackground", + "funInteractionParams", + "sceneAnimationParams" ] }, "required": [ @@ -308,8 +310,60 @@ "description": "This label indicates whether the form uses blur background.", "type": "boolean", "default": false + }, + "funInteractionParams": { + "description": "This label indicates fun interaction form params.", + "type": "object", + "propertyNames": { + "enum": [ + "abilityName", + "targetBundleName", + "keepStateDuration" + ] + }, + "properties": { + "abilityName": { + "description": "The ability name of the fun interaction form.", + "type": "string", + "maxLength": 255 + }, + "targetBundleName": { + "description": "The bundle name used by game engine.", + "type": "string", + "maxLength": 255 + }, + "keepStateDuration": { + "description": "The duration of the fun interaction form will be paused if not operate, default is 10s.", + "type": "integer" + } + } + }, + "sceneAnimationParams": { + "description": "This label indicates scene animation form params.", + "type": "object", + "propertyNames": { + "enum": [ + "abilityName", + "isAlwaysActive", + "disabledDesktopBehaviors" + ] + }, + "properties": { + "abilityName": { + "description": "The ability name of the scene animation form.", + "type": "string", + "maxLength": 255 + }, + "isAlwaysActive": { + "description": "Indicates can be always active, default is false and only takes effect for system app.", + "type": "boolean" + }, + "disabledDesktopBehaviors": { + "description": "Indicates disabled desktop behaviors, only takes effect for system app.", + "type": "string" + } + } } - } } } -- Gitee From 46f873d82247307941659c8ba9df6e2925acb33d Mon Sep 17 00:00:00 2001 From: zhangdezhou Date: Thu, 8 May 2025 15:18:54 +0800 Subject: [PATCH 4/7] add form's overflow animation feature support Signed-off-by: zhangdezhou --- modulecheck/forms.json | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/modulecheck/forms.json b/modulecheck/forms.json index 0fead530..1a44dfb5 100644 --- a/modulecheck/forms.json +++ b/modulecheck/forms.json @@ -318,6 +318,7 @@ "enum": [ "abilityName", "targetBundleName", + "subBundleName", "keepStateDuration" ] }, @@ -332,6 +333,11 @@ "type": "string", "maxLength": 255 }, + "subBundleName": { + "description": "The sub bundle name used by game engine.", + "type": "string", + "maxLength": 255 + }, "keepStateDuration": { "description": "The duration of the fun interaction form will be paused if not operate, default is 10s.", "type": "integer" @@ -344,7 +350,6 @@ "propertyNames": { "enum": [ "abilityName", - "isAlwaysActive", "disabledDesktopBehaviors" ] }, @@ -354,10 +359,6 @@ "type": "string", "maxLength": 255 }, - "isAlwaysActive": { - "description": "Indicates can be always active, default is false and only takes effect for system app.", - "type": "boolean" - }, "disabledDesktopBehaviors": { "description": "Indicates disabled desktop behaviors, only takes effect for system app.", "type": "string" -- Gitee From 1533eb0dce6b15314fd266b1a7d17c957e4db8d8 Mon Sep 17 00:00:00 2001 From: zhangdezhou Date: Mon, 26 May 2025 14:11:45 +0800 Subject: [PATCH 5/7] add form's overflow animation feature support Signed-off-by: zhangdezhou --- modulecheck/forms.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modulecheck/forms.json b/modulecheck/forms.json index 1a44dfb5..bd5b9641 100644 --- a/modulecheck/forms.json +++ b/modulecheck/forms.json @@ -326,16 +326,19 @@ "abilityName": { "description": "The ability name of the fun interaction form.", "type": "string", + "pattern": "^[a-zA-Z][0-9a-zA-Z_.]*$", "maxLength": 255 }, "targetBundleName": { "description": "The bundle name used by game engine.", "type": "string", + "pattern": "^[a-zA-Z][0-9a-zA-Z_.]*$", "maxLength": 255 }, "subBundleName": { "description": "The sub bundle name used by game engine.", "type": "string", + "pattern": "^[a-zA-Z][0-9a-zA-Z_.]*$", "maxLength": 255 }, "keepStateDuration": { @@ -357,11 +360,14 @@ "abilityName": { "description": "The ability name of the scene animation form.", "type": "string", + "pattern": "^[a-zA-Z][0-9a-zA-Z_.]*$", "maxLength": 255 }, "disabledDesktopBehaviors": { "description": "Indicates disabled desktop behaviors, only takes effect for system app.", - "type": "string" + "type": "string", + "pattern": "^[A-Z_|]+$", + "maxLength": 255 } } } -- Gitee From 8d56af7b26e6da03e8c9a703278aacca2bfb1691 Mon Sep 17 00:00:00 2001 From: zhangdezhou Date: Mon, 26 May 2025 14:21:36 +0800 Subject: [PATCH 6/7] add form's overflow animation feature support Signed-off-by: zhangdezhou --- modulecheck/forms.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modulecheck/forms.json b/modulecheck/forms.json index bd5b9641..91940292 100644 --- a/modulecheck/forms.json +++ b/modulecheck/forms.json @@ -327,19 +327,19 @@ "description": "The ability name of the fun interaction form.", "type": "string", "pattern": "^[a-zA-Z][0-9a-zA-Z_.]*$", - "maxLength": 255 + "maxLength": 127 }, "targetBundleName": { "description": "The bundle name used by game engine.", "type": "string", "pattern": "^[a-zA-Z][0-9a-zA-Z_.]*$", - "maxLength": 255 + "maxLength": 127 }, "subBundleName": { "description": "The sub bundle name used by game engine.", "type": "string", "pattern": "^[a-zA-Z][0-9a-zA-Z_.]*$", - "maxLength": 255 + "maxLength": 127 }, "keepStateDuration": { "description": "The duration of the fun interaction form will be paused if not operate, default is 10s.", @@ -361,7 +361,7 @@ "description": "The ability name of the scene animation form.", "type": "string", "pattern": "^[a-zA-Z][0-9a-zA-Z_.]*$", - "maxLength": 255 + "maxLength": 127 }, "disabledDesktopBehaviors": { "description": "Indicates disabled desktop behaviors, only takes effect for system app.", -- Gitee From 44ba4935abae81a7847d125d795f18268536029b Mon Sep 17 00:00:00 2001 From: zhangdezhou Date: Mon, 26 May 2025 19:48:59 +0800 Subject: [PATCH 7/7] add form's overflow animation feature support Signed-off-by: zhangdezhou --- modulecheck/forms.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modulecheck/forms.json b/modulecheck/forms.json index 91940292..eae7abbc 100644 --- a/modulecheck/forms.json +++ b/modulecheck/forms.json @@ -336,7 +336,7 @@ "maxLength": 127 }, "subBundleName": { - "description": "The sub bundle name used by game engine.", + "description": "The sub bundle name used by game engine. This value is optional", "type": "string", "pattern": "^[a-zA-Z][0-9a-zA-Z_.]*$", "maxLength": 127 -- Gitee