From 386e3f8ee1454a68d1a3daf4ef231b17e05160ac Mon Sep 17 00:00:00 2001 From: kukixi Date: Mon, 14 Mar 2022 18:27:21 +0800 Subject: [PATCH] format json file Signed-off-by: kukixi --- api/config/hml/basic/animate.json | 51 ++-- api/config/hml/basic/animateMotion.json | 48 +-- api/config/hml/basic/animateTransform.json | 53 ++-- api/config/hml/basic/block.json | 12 +- api/config/hml/basic/circle.json | 23 +- api/config/hml/basic/divider.json | 13 - api/config/hml/basic/label.json | 112 ++++--- api/config/hml/basic/path.json | 22 +- api/config/hml/basic/rect.json | 7 +- api/config/hml/basic/slot.json | 8 +- api/config/hml/basic/text.json | 329 ++++++++++++++------- api/config/hml/basic/textpath.json | 16 +- api/config/hml/basic/toolbar.json | 25 +- api/config/hml/basic/web.json | 4 +- api/config/hml/grid/grid-container.json | 318 +++++++++----------- 15 files changed, 563 insertions(+), 478 deletions(-) diff --git a/api/config/hml/basic/animate.json b/api/config/hml/basic/animate.json index c35ce4d21..6282d0c06 100644 --- a/api/config/hml/basic/animate.json +++ b/api/config/hml/basic/animate.json @@ -5,10 +5,12 @@ "name": "v7.0" } ], - "syscap": ["SystemCapability.ArkUI.ArkUI.Full"], + "syscap": [ + "SystemCapability.ArkUI.ArkUI.Full" + ], "description": [ { - "name": "" + "name": "" } ], "attributes": [ @@ -17,7 +19,7 @@ "required": false, "description": [ { - "name": "" + "name": "" } ], "type": "string" @@ -27,7 +29,7 @@ "required": false, "description": [ { - "name": "" + "name": "" } ], "type": "string" @@ -37,7 +39,7 @@ "required": false, "description": [ { - "name": "" + "name": "" } ], "type": "string" @@ -47,7 +49,7 @@ "required": false, "description": [ { - "name": "" + "name": "" } ], "type": "string" @@ -57,16 +59,16 @@ "required": false, "description": [ { - "name": "" + "name": "" } ], "type": "enum", "options": [ { - "name": "number" + "name": "number" }, { - "name": "indefinite" + "name": "indefinite" } ] }, @@ -75,16 +77,16 @@ "required": false, "description": [ { - "name": "" + "name": "" } ], "type": "enum", "options": [ { - "name": "freeze" + "name": "freeze" }, { - "name": "remove" + "name": "remove" } ] }, @@ -93,22 +95,22 @@ "required": false, "description": [ { - "name": "" + "name": "" } ], "type": "enum", "options": [ { - "name": "discrete" + "name": "discrete" }, { - "name": "linear" + "name": "linear" }, { - "name": "paced" + "name": "paced" }, { - "name": "spline" + "name": "spline" } ] }, @@ -117,7 +119,7 @@ "required": false, "description": [ { - "name": "" + "name": "" } ], "type": "string" @@ -127,7 +129,7 @@ "required": false, "description": [ { - "name": "" + "name": "" } ], "type": "string" @@ -137,7 +139,7 @@ "required": false, "description": [ { - "name": "" + "name": "" } ], "type": "string" @@ -147,7 +149,7 @@ "required": false, "description": [ { - "name": "" + "name": "" } ], "type": "string" @@ -157,7 +159,7 @@ "required": false, "description": [ { - "name": "" + "name": "" } ], "type": "string" @@ -167,7 +169,7 @@ "required": false, "description": [ { - "name": "" + "name": "" } ], "type": "string" @@ -178,5 +180,4 @@ "supportedSubComponentsRestriction": [], "unSupportSubComponentsRestriction": [], "parentComponentsRestriction": [] -} - +} \ No newline at end of file diff --git a/api/config/hml/basic/animateMotion.json b/api/config/hml/basic/animateMotion.json index 8c72b434d..16436a1ed 100644 --- a/api/config/hml/basic/animateMotion.json +++ b/api/config/hml/basic/animateMotion.json @@ -5,10 +5,12 @@ "name": "v7.0" } ], - "syscap": ["SystemCapability.ArkUI.ArkUI.Full"], + "syscap": [ + "SystemCapability.ArkUI.ArkUI.Full" + ], "description": [ { - "name": "" + "name": "" } ], "attributes": [ @@ -17,7 +19,7 @@ "required": false, "description": [ { - "name": "" + "name": "" } ], "type": "string" @@ -27,7 +29,7 @@ "required": true, "description": [ { - "name": "" + "name": "" } ], "type": "string" @@ -37,7 +39,7 @@ "required": false, "description": [ { - "name": "" + "name": "" } ], "type": "enum", @@ -58,7 +60,7 @@ "required": false, "description": [ { - "name": "" + "name": "" } ], "type": "string" @@ -68,7 +70,7 @@ "required": false, "description": [ { - "name": "" + "name": "" } ], "type": "string" @@ -78,7 +80,7 @@ "required": false, "description": [ { - "name": "" + "name": "" } ], "type": "string" @@ -88,7 +90,7 @@ "required": false, "description": [ { - "name": "" + "name": "" } ], "type": "number" @@ -98,16 +100,16 @@ "required": false, "description": [ { - "name": "" + "name": "" } ], "type": "enum", "options": [ { - "name": "freeze" + "name": "freeze" }, { - "name": "remove" + "name": "remove" } ] }, @@ -116,22 +118,22 @@ "required": false, "description": [ { - "name": "" + "name": "" } ], "type": "enum", "options": [ { - "name": "discrete" + "name": "discrete" }, { - "name": "linear" + "name": "linear" }, { - "name": "paced" + "name": "paced" }, { - "name": "spline" + "name": "spline" } ] }, @@ -140,7 +142,7 @@ "required": false, "description": [ { - "name": "" + "name": "" } ], "type": "string" @@ -150,7 +152,7 @@ "required": false, "description": [ { - "name": "" + "name": "" } ], "type": "string" @@ -160,7 +162,7 @@ "required": false, "description": [ { - "name": "" + "name": "" } ], "type": "string" @@ -170,7 +172,7 @@ "required": false, "description": [ { - "name": "" + "name": "" } ], "type": "string" @@ -180,7 +182,7 @@ "required": true, "description": [ { - "name": "" + "name": "" } ], "type": "string" @@ -191,4 +193,4 @@ "supportedSubComponentsRestriction": [], "unSupportSubComponentsRestriction": [], "parentComponentsRestriction": [] -} +} \ No newline at end of file diff --git a/api/config/hml/basic/animateTransform.json b/api/config/hml/basic/animateTransform.json index 8b7744c7e..2d629de37 100644 --- a/api/config/hml/basic/animateTransform.json +++ b/api/config/hml/basic/animateTransform.json @@ -5,10 +5,12 @@ "name": "v7.0" } ], - "syscap": ["SystemCapability.ArkUI.ArkUI.Full"], + "syscap": [ + "SystemCapability.ArkUI.ArkUI.Full" + ], "description": [ { - "name": "" + "name": "" } ], "attributes": [ @@ -17,7 +19,7 @@ "required": false, "description": [ { - "name": "" + "name": "" } ], "type": "enum", @@ -44,7 +46,7 @@ "required": false, "description": [ { - "name": "" + "name": "" } ], "type": "string" @@ -54,7 +56,7 @@ "required": false, "description": [ { - "name": "" + "name": "" } ], "type": "string" @@ -64,7 +66,7 @@ "required": false, "description": [ { - "name": "" + "name": "" } ], "type": "string" @@ -74,7 +76,7 @@ "required": false, "description": [ { - "name": "" + "name": "" } ], "type": "string" @@ -84,7 +86,7 @@ "required": false, "description": [ { - "name": "" + "name": "" } ], "type": "string" @@ -94,7 +96,7 @@ "required": false, "description": [ { - "name": "" + "name": "" } ], "type": "string" @@ -104,7 +106,7 @@ "required": false, "description": [ { - "name": "" + "name": "" } ], "type": "string" @@ -114,7 +116,7 @@ "required": false, "description": [ { - "name": "" + "name": "" } ], "type": "string" @@ -124,7 +126,7 @@ "required": false, "description": [ { - "name": "" + "name": "" } ], "type": "string" @@ -134,7 +136,7 @@ "required": false, "description": [ { - "name": "" + "name": "" } ], "type": "number" @@ -144,16 +146,16 @@ "required": false, "description": [ { - "name": "" + "name": "" } ], "type": "enum", "options": [ { - "name": "freeze" + "name": "freeze" }, { - "name": "remove" + "name": "remove" } ] }, @@ -162,22 +164,22 @@ "required": false, "description": [ { - "name": "" + "name": "" } ], "type": "enum", "options": [ { - "name": "discrete" + "name": "discrete" }, { - "name": "linear" + "name": "linear" }, { - "name": "paced" + "name": "paced" }, { - "name": "spline" + "name": "spline" } ] }, @@ -186,7 +188,7 @@ "required": false, "description": [ { - "name": "" + "name": "" } ], "type": "string" @@ -196,16 +198,15 @@ "required": false, "description": [ { - "name": "" + "name": "" } ], "type": "string" } ], - "events": [ - ], + "events": [], "supportedSubComponents": false, "supportedSubComponentsRestriction": [], "unSupportSubComponentsRestriction": [], "parentComponentsRestriction": [] -} +} \ No newline at end of file diff --git a/api/config/hml/basic/block.json b/api/config/hml/basic/block.json index 34e88cf95..9d7c8578b 100644 --- a/api/config/hml/basic/block.json +++ b/api/config/hml/basic/block.json @@ -5,10 +5,12 @@ "name": "v3.0" } ], - "syscap": ["SystemCapability.ArkUI.ArkUI.Full"], + "syscap": [ + "SystemCapability.ArkUI.ArkUI.Full" + ], "description": [ { - "name": "'Logic control block." + "name": "'Logic control block." } ], "attributes": [ @@ -17,7 +19,7 @@ "required": false, "description": [ { - "name": "Expands the current element based on the configured data list." + "name": "Expands the current element based on the configured data list." } ], "type": "string" @@ -27,7 +29,7 @@ "required": false, "description": [ { - "name": "Whether the element is added or removed." + "name": "Whether the element is added or removed." } ], "type": "enum", @@ -46,4 +48,4 @@ "supportedSubComponentsRestriction": [], "unSupportSubComponentsRestriction": [], "parentComponentsRestriction": [] -} +} \ No newline at end of file diff --git a/api/config/hml/basic/circle.json b/api/config/hml/basic/circle.json index e22d5cc23..3efbbb728 100644 --- a/api/config/hml/basic/circle.json +++ b/api/config/hml/basic/circle.json @@ -5,7 +5,9 @@ "name": "v7.0" } ], - "syscap": ["SystemCapability.ArkUI.ArkUI.Full"], + "syscap": [ + "SystemCapability.ArkUI.ArkUI.Full" + ], "description": [ { "name": "" @@ -14,7 +16,6 @@ "attributes": [ { "name": "fill", - "required": false, "description": [ { @@ -25,7 +26,6 @@ }, { "name": "fill-opacity", - "required": false, "description": [ { @@ -36,7 +36,6 @@ }, { "name": "fill-rule", - "required": false, "description": [ { @@ -55,7 +54,6 @@ }, { "name": "opacity", - "required": false, "description": [ { @@ -66,7 +64,6 @@ }, { "name": "stroke", - "required": false, "description": [ { @@ -77,7 +74,6 @@ }, { "name": "stroke-dasharray", - "required": false, "description": [ { @@ -88,7 +84,6 @@ }, { "name": "stroke-dashoffset", - "required": false, "description": [ { @@ -99,7 +94,6 @@ }, { "name": "stroke-linejoin", - "required": false, "description": [ { @@ -121,7 +115,6 @@ }, { "name": "stroke-linecap", - "required": false, "description": [ { @@ -143,7 +136,6 @@ }, { "name": "stroke-miterlimit", - "required": false, "description": [ { @@ -154,7 +146,6 @@ }, { "name": "stroke-opacity", - "required": false, "description": [ { @@ -165,7 +156,6 @@ }, { "name": "stroke-width", - "required": false, "description": [ { @@ -176,7 +166,6 @@ }, { "name": "transform", - "required": false, "description": [ { @@ -187,7 +176,6 @@ }, { "name": "id", - "required": false, "description": [ { @@ -198,7 +186,6 @@ }, { "name": "cx", - "required": false, "description": [ { @@ -209,7 +196,6 @@ }, { "name": "cy", - "required": false, "description": [ { @@ -220,7 +206,6 @@ }, { "name": "r", - "required": false, "description": [ { @@ -245,4 +230,4 @@ ], "unSupportSubComponentsRestriction": [], "parentComponentsRestriction": [] -} +} \ No newline at end of file diff --git a/api/config/hml/basic/divider.json b/api/config/hml/basic/divider.json index b45e1cc35..e9c56b7d4 100644 --- a/api/config/hml/basic/divider.json +++ b/api/config/hml/basic/divider.json @@ -136,7 +136,6 @@ }, { "name": "disabled", - "required": false, "version": [ { @@ -160,7 +159,6 @@ }, { "name": "focusable", - "required": false, "version": [ { @@ -184,7 +182,6 @@ }, { "name": "data-*", - "required": false, "version": [ { @@ -200,7 +197,6 @@ }, { "name": "click-effect", - "required": false, "version": [ { @@ -227,7 +223,6 @@ }, { "name": "voicelabel", - "required": false, "version": [ { @@ -243,7 +238,6 @@ }, { "name": "subscriptflag", - "required": false, "version": [ { @@ -270,7 +264,6 @@ }, { "name": "subscriptlabel", - "required": false, "version": [ { @@ -286,7 +279,6 @@ }, { "name": "scenelabel", - "required": false, "version": [ { @@ -319,7 +311,6 @@ }, { "name": "accessibilitygroup", - "required": false, "version": [ { @@ -343,7 +334,6 @@ }, { "name": "accessibilitytext", - "required": false, "version": [ { @@ -359,7 +349,6 @@ }, { "name": "accessibilitydescription", - "required": false, "version": [ { @@ -375,7 +364,6 @@ }, { "name": "accessibilityimportance", - "required": false, "version": [ { @@ -468,7 +456,6 @@ }, { "name": "dir", - "version": [ { "name": "v6.0" diff --git a/api/config/hml/basic/label.json b/api/config/hml/basic/label.json index 06598a496..ba1de931f 100644 --- a/api/config/hml/basic/label.json +++ b/api/config/hml/basic/label.json @@ -5,8 +5,9 @@ "name": "v3.0" } ], - "syscap": ["SystemCapability.ArkUI.ArkUI.Full"], - + "syscap": [ + "SystemCapability.ArkUI.ArkUI.Full" + ], "description": [ { "name": "The