diff --git a/api/config/css/css-json-schema.json b/api/config/css/css-json-schema.json old mode 100755 new mode 100644 diff --git a/api/config/css/cssConfig.json b/api/config/css/cssConfig.json old mode 100755 new mode 100644 index 07f7ae600a13b933d2a5fe3187f08c66895cbb31..ccd2d2b6cc87d4eb98c720e7c191866cfa8659d9 --- a/api/config/css/cssConfig.json +++ b/api/config/css/cssConfig.json @@ -32,368 +32,224 @@ ] }, { - "name": "width", + "name": "fill", + "supportedDevices": [ + "tv", + "phone", + "tablet", + "wearable" + ], "syntax": [ { - "name": " || " + "name": "" } ], "version": [ { - "name": "v3.0" + "name": "v7.0" } ], "description": [ { - "name": "Component width. If this attribute is not set, the width required for the element content is used", - "supportedDevices": [ - "tv", - "phone", - "tablet", - "wearable" - ] - }, - { - "name": "Component width. If this attribute is not set, default value 0 is used", - "supportedDevices": [ - "liteWearable", - "smartVision" - ] + "name": "Use the shorthand property to set the fill color of the element." } ], "restrictions": [ { "name": [ - "length", - "percentage" + "color" ] } ] }, { - "name": "height", + "name": "fill-opacity", + "supportedDevices": [ + "tv", + "phone", + "tablet", + "wearable" + ], "syntax": [ { - "name": " || " + "name": "" } ], "version": [ { - "name": "v3.0" + "name": "v7.0" } ], "description": [ { - "name": "Component height. If this attribute is not set, the height required for the element content is used", - "supportedDevices": [ - "tv", - "phone", - "tablet", - "wearable" - ] - }, - { - "name": "Component height. If this attribute is not set, default value 0 is used", - "supportedDevices": [ - "liteWearable", - "smartVision" - ] + "name": "The transparency of the fill color ranges from 0 to 1. 1 is opaque and 0 is completely transparent." } ], "restrictions": [ { "name": [ - "length", - "percentage" + "number" ] } ] }, { - "name": "padding", + "name": "fill-rule", + "supportedDevices": [ + "tv", + "phone", + "tablet", + "wearable" + ], "syntax": [ { - "name": "{1,4} || {1,4}", - "supportedDevices": [ - "tv", - "phone", - "tablet", - "wearable" - ] - }, - { - "name": "", - "supportedDevices": [ - "liteWearable", - "smartVision" - ] + "name": "nonzero | evenodd" } ], "version": [ { - "name": "v3.0" + "name": "v7.0" } ], "description": [ { - "name": "The attribute can have one to four values: 1. If you set a value, it specifies the padding for four sides; 2. If you set two values, the first value specifies the top and bottom padding, and the second value specifies the left and right padding; 3. If you set three values, the first value specifies the top padding, the second value specifies the left and right padding, and the third value specifies the bottom padding; 4. If you set four values, they respectively specify the padding for top, right, bottom, and left sides (in clockwise order)", - "supportedDevices": [ - "tv", - "phone", - "tablet", - "wearable" - ] - }, - { - "name": "Shorthand attribute to set all padding attributes", - "supportedDevices": [ - "liteWearable", - "smartVision" - ] + "name": "Nonzero: non-zero rule; Evenodd: parity rule" } ], "restrictions": [ { "name": [ - "length", - "percentage" - ], - "supportedDevices": [ - "tv", - "phone", - "tablet", - "wearable" - ] - }, - { - "name": [ - "length" - ], - "supportedDevices": [ - "liteWearable", - "smartVision" + "nonzero | evenodd" ] } ] }, { - "name": "padding-left", + "name": "opacity", + "supportedDevices": [ + "tv", + "phone", + "tablet", + "wearable" + ], "syntax": [ { - "name": " || ", - "supportedDevices": [ - "tv", - "phone", - "tablet", - "wearable" - ] - }, - { - "name": "", - "supportedDevices": [ - "liteWearable", - "smartVision" - ] + "name": "number" } ], "version": [ { - "name": "v3.0" + "name": "v7.0" } ], "description": [ { - "name": "Left padding (in px)" + "name": "The transparency of an element ranges from 0 to 1, where 1 is opaque and 0 is completely transparent." } ], "restrictions": [ { "name": [ - "length", - "percentage" - ], - "supportedDevices": [ - "tv", - "phone", - "tablet", - "wearable" - ] - }, - { - "name": [ - "length" - ], - "supportedDevices": [ - "liteWearable", - "smartVision" + "number" ] } ] }, { - "name": "padding-top", + "name": "stroke-dasharray", + "supportedDevices": [ + "tv", + "phone", + "tablet", + "wearable" + ], "syntax": [ { - "name": " || ", - "supportedDevices": [ - "tv", - "phone", - "tablet", - "wearable" - ] - }, - { - "name": "", - "supportedDevices": [ - "liteWearable", - "smartVision" - ] + "name": "" } ], "version": [ { - "name": "v3.0" + "name": "v7.0" } ], "description": [ { - "name": "Top padding (in px)" + "name": "Specifies the length of the dash and notch. The format is [length length length], the length of dash and notch is separated by the space between them." } ], "restrictions": [ { "name": [ - "length", - "percentage" - ], - "supportedDevices": [ - "tv", - "phone", - "tablet", - "wearable" - ] - }, - { - "name": [ - "length" - ], - "supportedDevices": [ - "liteWearable", - "smartVision" + "string" ] } ] }, { - "name": "padding-right", + "name": "stroke-dashoffset", + "supportedDevices": [ + "tv", + "phone", + "tablet", + "wearable" + ], "syntax": [ { - "name": " || ", - "supportedDevices": [ - "tv", - "phone", - "tablet", - "wearable" - ] - }, - { - "name": "", - "supportedDevices": [ - "liteWearable", - "smartVision" - ] + "name": "" } ], "version": [ { - "name": "v3.0" + "name": "v7.0" } ], "description": [ { - "name": "Right padding (in px)" + "name": "Sets the offset of the associative dashed array when rendering." } ], "restrictions": [ - { - "name": [ - "length", - "percentage" - ], - "supportedDevices": [ - "tv", - "phone", - "tablet", - "wearable" - ] - }, { "name": [ "length" - ], - "supportedDevices": [ - "liteWearable", - "smartVision" ] } ] }, { - "name": "padding-bottom", + "name": "stroke-linejoin", + "supportedDevices": [ + "tv", + "phone", + "tablet", + "wearable" + ], "syntax": [ { - "name": " || ", - "supportedDevices": [ - "tv", - "phone", - "tablet", - "wearable" - ] - }, - { - "name": "", - "supportedDevices": [ - "liteWearable", - "smartVision" - ] + "name": "[bevel | miter | round]" } ], "version": [ { - "name": "v3.0" + "name": "v7.0" } ], "description": [ { - "name": "Bottom padding (in px)" + "name": "The shape used at the corner of the path when you stroke." } ], "restrictions": [ { "name": [ - "length", - "percentage" - ], - "supportedDevices": [ - "tv", - "phone", - "tablet", - "wearable" - ] - }, - { - "name": [ - "length" - ], - "supportedDevices": [ - "liteWearable", - "smartVision" + "bevel | miter | round" ] } ] }, { - "name": "padding-start", + "name": "stroke-linecap", "supportedDevices": [ "tv", "phone", @@ -402,58 +258,29 @@ ], "syntax": [ { - "name": " || ", - "supportedDevices": [ - "tv", - "phone", - "tablet", - "wearable" - ] - }, - { - "name": "", - "supportedDevices": [ - "liteWearable", - "smartVision" - ] + "name": "[butt | round | square]" } ], "version": [ { - "name": "v3.0" + "name": "v7.0" } ], "description": [ { - "name": "Start padding" + "name": "Shapes used at the end of paths when they are traced" } ], "restrictions": [ { "name": [ - "length", - "percentage" - ], - "supportedDevices": [ - "tv", - "phone", - "tablet", - "wearable" - ] - }, - { - "name": [ - "length" - ], - "supportedDevices": [ - "liteWearable", - "smartVision" + "butt | round | square" ] } ] }, { - "name": "padding-end", + "name": "stroke-miterlimit", "supportedDevices": [ "tv", "phone", @@ -462,123 +289,110 @@ ], "syntax": [ { - "name": " || ", - "supportedDevices": [ - "tv", - "phone", - "tablet", - "wearable" - ] - }, - { - "name": "", - "supportedDevices": [ - "liteWearable", - "smartVision" - ] + "name": "number" } ], "version": [ { - "name": "v3.0" + "name": "v7.0" } ], "description": [ { - "name": "End padding" + "name": "Sets the limit value for drawing acute angles as bevels." } ], "restrictions": [ { "name": [ - "length", - "percentage" - ], - "supportedDevices": [ - "tv", - "phone", - "tablet", - "wearable" - ] - }, - { - "name": [ - "length" - ], - "supportedDevices": [ - "liteWearable", - "smartVision" + "number" ] } ] }, { - "name": "margin", + "name": "stroke-opacity", + "supportedDevices": [ + "tv", + "phone", + "tablet", + "wearable" + ], "syntax": [ { - "name": "{1,4} || {1,4}" + "name": "number" } ], "version": [ { - "name": "v3.0" + "name": "v7.0" } ], "description": [ { - "name": "Shorthand attribute to set margins for all sides in a declaration. You can set one to four values: 1. One value: specifies the margin for all the four sides; 2. Two values: The first value is for the top and bottom sides, and the second value is for the left and right sides; 3. Three values: The first value is for the top, the second value for the left and right, and the third value for the bottom; 4. They are margins for top, right, bottom, and left sides, respectively" + "name": "The transparency of contour lines ranges from 0 to 1, where 1 is opaque and 0 is completely transparent." } ], "restrictions": [ { "name": [ - "length", - "percentage" + "number" ] } ] }, { - "name": "margin-left", + "name": "transform", + "supportedDevices": [ + "tv", + "phone", + "tablet", + "wearable" + ], "syntax": [ { - "name": " || " + "name": "" } ], "version": [ { - "name": "v3.0" + "name": "v7.0" } ], "description": [ { - "name": "Left margin" + "name": "Set the coordinate transformation parameters of components and subcomponents" } ], "restrictions": [ { "name": [ - "length", - "percentage" + "string" ] } ] }, { - "name": "margin-top", + "name": "x", + "supportedDevices": [ + "tv", + "phone", + "tablet", + "wearable" + ], "syntax": [ { - "name": " || " + "name": "|" } ], "version": [ { - "name": "v3.0" + "name": "v7.0" } ], "description": [ { - "name": "Top margin" + "name": "Set the x-axis coordinate of the current SVG, and the root SVG node is invalid" } ], "restrictions": [ @@ -591,20 +405,26 @@ ] }, { - "name": "margin-right", + "name": "y", + "supportedDevices": [ + "tv", + "phone", + "tablet", + "wearable" + ], "syntax": [ { - "name": " || " + "name": "|" } ], "version": [ { - "name": "v3.0" + "name": "v7.0" } ], "description": [ { - "name": "Right margin" + "name": "Set the y-axis coordinate of the current SVG, and the root SVG node is invalid" } ], "restrictions": [ @@ -617,33 +437,38 @@ ] }, { - "name": "margin-bottom", + "name": "viewBox", + "supportedDevices": [ + "tv", + "phone", + "tablet", + "wearable" + ], "syntax": [ { - "name": " || " + "name": "string" } ], "version": [ { - "name": "v3.0" + "name": "v7.0" } ], "description": [ { - "name": "Bottom margin" + "name": "Sets the current SVG's viewport. The supported format is < number >. The four parameters represent min-x, min-y, width and height respectively. If the width and height of viewbox and SVG are inconsistent, they will be scaled by center alignment." } ], "restrictions": [ { "name": [ - "length", - "percentage" + "string" ] } ] }, { - "name": "margin-start", + "name": "rx", "supportedDevices": [ "tv", "phone", @@ -652,17 +477,17 @@ ], "syntax": [ { - "name": " || " + "name": "|" } ], "version": [ { - "name": "v3.0" + "name": "v7.0" } ], "description": [ { - "name": "Start margin" + "name": "Set the radius of rectangle fillet in X direction. Support attribute animation" } ], "restrictions": [ @@ -675,7 +500,7 @@ ] }, { - "name": "margin-end", + "name": "ry", "supportedDevices": [ "tv", "phone", @@ -684,17 +509,17 @@ ], "syntax": [ { - "name": " || " + "name": "|" } ], "version": [ { - "name": "v3.0" + "name": "v7.0" } ], "description": [ { - "name": "End margin" + "name": "Set the radius of rectangle fillet in Y direction." } ], "restrictions": [ @@ -707,7 +532,7 @@ ] }, { - "name": "border", + "name": "cx", "supportedDevices": [ "tv", "phone", @@ -716,826 +541,795 @@ ], "syntax": [ { - "name": " || || " + "name": "|" } ], "version": [ { - "name": "v3.0" + "name": "v7.0" } ], "description": [ { - "name": "Shorthand attribute to set all boarders. You can set border-width, border-style, and border-color in sequence. Default values are used for attributes that are not set" + "name": "Sets the x-axis coordinate of the center of the circle." } ], "restrictions": [ { "name": [ "length", - "line-style", - "color" + "percentage" ] } ] }, { - "name": "border-style", + "name": "cy", "supportedDevices": [ "tv", "phone", "tablet", "wearable" ], - "version": [ + "syntax": [ { - "name": "v3.0" + "name": "|" } ], - "description": [ + "version": [ { - "name": "Shorthand attribute to set the style of all borders. The available values are as follows: 1. dotted: Dotted border. The radius of a dot is half of border-width;2. dashed: Dashed border;3. solid: Solid border;" + "name": "v7.0" } ], - "values": [ - { - "name": "dotted" - }, - { - "name": "dashed" - }, + "description": [ { - "name": "solid" + "name": "Sets the y-axis coordinate of the center of the circle." } ], "restrictions": [ { "name": [ - "enum" + "length", + "percentage" ] } ] }, { - "name": "border-left-style", + "name": "r", "supportedDevices": [ "tv", "phone", "tablet", "wearable" ], - "version": [ + "syntax": [ { - "name": "v3.0" + "name": "|" } ], - "description": [ + "version": [ { - "name": "Styles of the left borders. The available values are dotted, dashed, and solid" + "name": "v7.0" } ], - "values": [ - { - "name": "dotted" - }, - { - "name": "dashed" - }, + "description": [ { - "name": "solid" + "name": "Sets the radius of the circle." } ], "restrictions": [ { "name": [ - "enum" + "length", + "percentage" ] } ] }, { - "name": "border-top-style", + "name": "d", "supportedDevices": [ "tv", "phone", "tablet", "wearable" ], - "version": [ + "syntax": [ { - "name": "v3.0" + "name": "string" } ], - "description": [ + "version": [ { - "name": "Styles of the top borders. The available values are dotted, dashed, and solid" + "name": "v7.0" } ], - "values": [ - { - "name": "dotted" - }, - { - "name": "dashed" - }, + "description": [ { - "name": "solid" + "name": "Sets the shape of the path. Contains a set of character instructions, uppercase letters for absolute path, lowercase characters for relative path" } ], "restrictions": [ { "name": [ - "enum" + "string" ] } ] }, { - "name": "border-right-style", + "name": "x1", "supportedDevices": [ "tv", "phone", "tablet", "wearable" ], - "version": [ + "syntax": [ { - "name": "v3.0" + "name": "|" } ], - "description": [ + "version": [ { - "name": "Styles of the right borders. The available values are dotted, dashed, and solid" + "name": "v7.0" } ], - "values": [ - { - "name": "dotted" - }, - { - "name": "dashed" - }, + "description": [ { - "name": "solid" + "name": "Sets the x-axis coordinate of the line start point." } ], "restrictions": [ { "name": [ - "enum" + "length", + "percentage" ] } ] }, { - "name": "border-bottom-style", + "name": "y1", "supportedDevices": [ "tv", "phone", "tablet", "wearable" ], - "version": [ + "syntax": [ { - "name": "v3.0" + "name": "|" } ], - "description": [ + "version": [ { - "name": "Styles of the bottom borders. The available values are dotted, dashed, and solid" + "name": "v7.0" } ], - "values": [ - { - "name": "dotted" - }, - { - "name": "dashed" - }, + "description": [ { - "name": "solid" + "name": "Sets the y-axis coordinate of the line start point." } ], "restrictions": [ { "name": [ - "enum" + "length", + "percentage" ] } ] }, { - "name": "border-left", + "name": "x2", "supportedDevices": [ "tv", "phone", "tablet", "wearable" ], - "version": [ + "syntax": [ { - "name": "v3.0" + "name": "|" } ], - "description": [ + "version": [ { - "name": "Shorthand attribute to set the boarders for every sides respectively. You can set border-width, border-style and border-color in sequence. Default values are used for attributes that are not set" + "name": "v7.0" } ], - "syntax": [ + "description": [ { - "name": " || || " + "name": "Sets the x-axis coordinate of the end of the line." } ], "restrictions": [ { "name": [ "length", - "line-style", - "color" + "percentage" ] } ] }, { - "name": "border-top", + "name": "y2", "supportedDevices": [ "tv", "phone", "tablet", "wearable" ], - "version": [ + "syntax": [ { - "name": "v3.0" + "name": "|" } ], - "description": [ + "version": [ { - "name": "Shorthand attribute to set the boarders for every sides respectively. You can set border-width, border-style and border-color in sequence. Default values are used for attributes that are not set" + "name": "v7.0" } ], - "syntax": [ + "description": [ { - "name": " || || " + "name": "Sets the y-axis coordinate of the end of the line." } ], "restrictions": [ { "name": [ "length", - "line-style", - "color" + "percentage" ] } ] }, { - "name": "border-right", + "name": "points", "supportedDevices": [ "tv", "phone", "tablet", "wearable" ], - "version": [ + "syntax": [ { - "name": "v3.0" + "name": "string" } ], - "description": [ + "version": [ { - "name": "Shorthand attribute to set the boarders for every sides respectively. You can set border-width, border-style and border-color in sequence. Default values are used for attributes that are not set" + "name": "v7.0" } ], - "syntax": [ + "description": [ { - "name": " || || " + "name": "Set multiple coordinate points of the polyline" } ], "restrictions": [ { "name": [ - "length", - "line-style", - "color" + "string" ] } ] }, { - "name": "border-bottom", + "name": "dx", "supportedDevices": [ "tv", "phone", "tablet", "wearable" ], - "version": [ + "syntax": [ { - "name": "v3.0" + "name": "|" } ], - "description": [ + "version": [ { - "name": "Shorthand attribute to set the boarders for every sides respectively. You can set border-width, border-style and border-color in sequence. Default values are used for attributes that are not set" + "name": "v7.0" } ], - "syntax": [ + "description": [ { - "name": " || || " + "name": "Set text X axis offset" } ], "restrictions": [ { "name": [ "length", - "line-style", - "color" + "percentage" ] } ] }, { - "name": "border-width", - "version": [ + "name": "dy", + "supportedDevices": [ + "tv", + "phone", + "tablet", + "wearable" + ], + "syntax": [ { - "name": "v3.0" + "name": "|" } ], - "description": [ + "version": [ { - "name": "Shorthand attribute to set the width of all borders, or separately set the width of each border" + "name": "v7.0" } ], - "syntax": [ - { - "name": "", - "supportedDevices": [ - "tv", - "phone", - "tablet", - "wearable" - ] - }, + "description": [ { - "name": "{1,4}", - "supportedDevices": [ - "liteWearable", - "smartVision" - ] + "name": "Set text Y axis offset" } ], "restrictions": [ { "name": [ - "length" + "length", + "percentage" ] } ] }, { - "name": "border-left-width", + "name": "stroke", "supportedDevices": [ "tv", "phone", "tablet", "wearable" ], - "version": [ + "syntax": [ { - "name": "v3.0" + "name": "" } ], - "description": [ + "version": [ { - "name": "Attribute to set widths of left borders" + "name": "v7.0" } ], - "syntax": [ + "description": [ { - "name": "" + "name": "Draws the font border and specifies the color" } ], "restrictions": [ { "name": [ - "length" + "color" ] } ] }, { - "name": "border-top-width", + "name": "startOffset", "supportedDevices": [ "tv", "phone", "tablet", "wearable" ], - "version": [ + "syntax": [ { - "name": "v3.0" + "name": "|" } ], - "description": [ + "version": [ { - "name": "Attribute to set widths of top borders" + "name": "v7.0" } ], - "syntax": [ + "description": [ { - "name": "" + "name": "Sets the starting offset of the text along the path" } ], "restrictions": [ { "name": [ - "length" + "length", + "percentage" ] } ] }, { - "name": "border-right-width", + "name": "attributeName", "supportedDevices": [ "tv", "phone", "tablet", "wearable" ], - "version": [ + "syntax": [ { - "name": "v3.0" + "name": "string" } ], - "description": [ + "version": [ { - "name": "Attribute to set widths of right borders" + "name": "v7.0" } ], - "syntax": [ + "description": [ { - "name": "" + "name": "Set the name of the property to be active" } ], "restrictions": [ { "name": [ - "length" + "string" ] } ] }, { - "name": "border-bottom-width", + "name": "begin", "supportedDevices": [ "tv", "phone", "tablet", "wearable" ], - "version": [ + "syntax": [ { - "name": "v3.0" + "name": "