【工具链】select 与 picker 私有属性补齐

Signed-off-by: yyuanche <yuancheng25@huawei.com>
This commit is contained in:
yyuanche 2024-07-24 11:43:42 +08:00
parent 8ae529bc74
commit d6c3399e35
8 changed files with 29 additions and 10 deletions

View File

@ -2,7 +2,7 @@
"name": "Button",
"single": true,
"attrs": [
"type","stateEffect","fontColor","fontSize","fontWeight","fontStyle","fontFamily","controlSize",
"role","contentModifier","labelStyle"
"type", "stateEffect", "fontColor", "fontSize", "fontWeight", "fontStyle", "fontFamily", "controlSize",
"role", "contentModifier", "labelStyle"
]
}

View File

@ -1,4 +1,4 @@
{
"name": "Checkbox",
"attrs": ["select","selectedColor","onChange","shape","unselectedColor","mark","contentModifier"]
"attrs": ["select", "selectedColor", "onChange", "shape", "unselectedColor", "mark", "contentModifier"]
}

View File

@ -1,4 +1,4 @@
{
"name": "CheckboxGroup",
"attrs": ["selectAll","selectedColor","onChange","unselectedColor","mark","checkboxShape"]
"attrs": ["selectAll", "selectedColor", "onChange", "unselectedColor", "mark", "checkboxShape"]
}

View File

@ -1,4 +1,12 @@
{
"name": "DatePicker",
"attrs": ["lunar", "onChange", "useMilitaryTime"]
"attrs": [
"lunar",
"onChange",
"useMilitaryTime",
"disappearTextStyle",
"textStyle",
"selectedTextStyle",
"onDateChange"
]
}

View File

@ -1,5 +1,5 @@
{
"name": "Radio",
"atomic": true,
"attrs": ["checked", "onChange", "radioStyle","contentModifier"]
"attrs": ["checked", "onChange", "radioStyle", "contentModifier"]
}

View File

@ -2,7 +2,7 @@
"name":"Select",
"attrs":["selected", "value", "font", "fontColor", "selectedOptionBgColor", "selectedOptionFont",
"selectedOptionFontColor", "optionBgColor", "optionFont", "optionFontColor", "onSelect", "menuAlign",
"optionWidth", "optionHeight", "controlSize", "menuItemContentModifier", "divider","menuBackgroundColor",
"menuBackgroundBlurStyle"
"optionWidth", "optionHeight", "controlSize", "menuItemContentModifier", "divider", "menuBackgroundColor",
"menuBackgroundBlurStyle", "arrowPosition", "space"
]
}

View File

@ -1,4 +1,6 @@
{
"name": "TextPicker",
"attrs": ["defaultPickerItemHeight", "onAccept", "onCancel", "onChange", "selectedIndex", "divider", "gradientHeight"]
"attrs": ["defaultPickerItemHeight", "onAccept", "onCancel", "onChange", "selectedIndex", "divider", "gradientHeight",
"selectedTextStyle", "textStyle", "disappearTextStyle", "canLoop"
]
}

View File

@ -1,4 +1,13 @@
{
"name": "TimePicker",
"attrs": ["onChange", "useMilitaryTime"]
"attrs": [
"onChange",
"useMilitaryTime",
"loop",
"disappearTextStyle",
"textStyle",
"selectedTextStyle",
"dateTimeOptions",
"enableHapticFeedback"
]
}