Skip to content

Commit

Permalink
feat(Picker): add footer slot
Browse files Browse the repository at this point in the history
  • Loading branch information
anlyyao committed Mar 19, 2024
1 parent 3e11340 commit 74f0f74
Show file tree
Hide file tree
Showing 2 changed files with 187 additions and 6 deletions.
Binary file modified db/TDesign.db
Binary file not shown.
193 changes: 187 additions & 6 deletions packages/scripts/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -32269,6 +32269,43 @@
"String"
]
},
{
"id": 1710844467,
"platform_framework": [
"64"
],
"component": "DateTimePicker",
"field_category": 1,
"field_name": "customLocale",
"field_type": [
"1"
],
"field_default_value": "zh",
"field_enum": "",
"field_desc_zh": " 组件国际化语言,目前支持: 简体中文(zh)、(tc)、英文(en)、日语(ja)、韩语(ko)、俄语(ru)等六种语言",
"field_desc_en": null,
"field_required": 0,
"event_input": "",
"create_time": "2024-03-19 10:34:27",
"update_time": "2024-03-19 10:34:27",
"event_output": null,
"custom_field_type": null,
"syntactic_sugar": null,
"readonly": 1,
"html_attribute": 0,
"trigger_elements": "",
"deprecated": 0,
"version": "",
"test_description": null,
"support_default_value": 0,
"field_category_text": "Props",
"platform_framework_text": [
"Miniprogram"
],
"field_type_text": [
"String"
]
},
{
"id": 2678,
"platform_framework": [
Expand Down Expand Up @@ -32355,14 +32392,12 @@
"id": 2510,
"platform_framework": [
"8",
"16",
"64"
"16"
],
"component": "DateTimePicker",
"field_category": 1,
"field_name": "footer",
"field_type": [
"4",
"64"
],
"field_default_value": "true",
Expand All @@ -32379,18 +32414,53 @@
"readonly": 1,
"html_attribute": 0,
"trigger_elements": "",
"deprecated": 1,
"deprecated": 0,
"version": "",
"test_description": null,
"support_default_value": 0,
"field_category_text": "Props",
"platform_framework_text": [
"Vue(Mobile)",
"React(Mobile)",
"React(Mobile)"
],
"field_type_text": [
"TNode"
]
},
{
"id": 1710844322,
"platform_framework": [
"64"
],
"component": "DateTimePicker",
"field_category": 1,
"field_name": "footer",
"field_type": [
"64"
],
"field_default_value": "",
"field_enum": "",
"field_desc_zh": "底部内容",
"field_desc_en": null,
"field_required": 0,
"event_input": "",
"create_time": "2024-03-19 10:32:02",
"update_time": "2024-03-19 10:32:02",
"event_output": null,
"custom_field_type": null,
"syntactic_sugar": null,
"readonly": 1,
"html_attribute": 0,
"trigger_elements": "",
"deprecated": 0,
"version": "",
"test_description": null,
"support_default_value": 0,
"field_category_text": "Props",
"platform_framework_text": [
"Miniprogram"
],
"field_type_text": [
"Boolean",
"TNode"
]
},
Expand Down Expand Up @@ -32525,6 +32595,43 @@
"Array"
]
},
{
"id": 1710844420,
"platform_framework": [
"64"
],
"component": "DateTimePicker",
"field_category": 1,
"field_name": "popupProps",
"field_type": [
"8"
],
"field_default_value": "{}",
"field_enum": "",
"field_desc_zh": "透传 `Popup` 组件全部属性",
"field_desc_en": "popup properties",
"field_required": 0,
"event_input": "",
"create_time": "2024-03-19 10:33:40",
"update_time": "2024-03-19 10:33:40",
"event_output": null,
"custom_field_type": "PopupProps【import { PopupProps } from '@Popup'】",
"syntactic_sugar": null,
"readonly": 1,
"html_attribute": 0,
"trigger_elements": "",
"deprecated": 0,
"version": "",
"test_description": null,
"support_default_value": 0,
"field_category_text": "Props",
"platform_framework_text": [
"Miniprogram"
],
"field_type_text": [
"Object"
]
},
{
"id": 2795,
"platform_framework": [
Expand Down Expand Up @@ -69659,6 +69766,43 @@
"Object"
]
},
{
"id": 1710843235,
"platform_framework": [
"64"
],
"component": "Picker",
"field_category": 1,
"field_name": "footer",
"field_type": [
"64"
],
"field_default_value": "",
"field_enum": "",
"field_desc_zh": "底部内容",
"field_desc_en": null,
"field_required": 0,
"event_input": "",
"create_time": "2024-03-19 10:13:55",
"update_time": "2024-03-19 10:13:55",
"event_output": null,
"custom_field_type": null,
"syntactic_sugar": null,
"readonly": 1,
"html_attribute": 0,
"trigger_elements": "",
"deprecated": 0,
"version": "",
"test_description": null,
"support_default_value": 0,
"field_category_text": "Props",
"platform_framework_text": [
"Miniprogram"
],
"field_type_text": [
"TNode"
]
},
{
"id": 2507,
"platform_framework": [
Expand Down Expand Up @@ -69784,6 +69928,43 @@
"Object"
]
},
{
"id": 1710843688,
"platform_framework": [
"64"
],
"component": "Picker",
"field_category": 1,
"field_name": "popupProps",
"field_type": [
"8"
],
"field_default_value": "{}",
"field_enum": "",
"field_desc_zh": "透传 `Popup` 组件全部属性",
"field_desc_en": "popup properties",
"field_required": 0,
"event_input": "",
"create_time": "2024-03-19 10:21:28",
"update_time": "2024-03-19 10:21:28",
"event_output": null,
"custom_field_type": "PopupProps【import { PopupProps } from '@Popup'】",
"syntactic_sugar": null,
"readonly": 1,
"html_attribute": 0,
"trigger_elements": "",
"deprecated": 0,
"version": "",
"test_description": null,
"support_default_value": 0,
"field_category_text": "Props",
"platform_framework_text": [
"Miniprogram"
],
"field_type_text": [
"Object"
]
},
{
"id": 2779,
"platform_framework": [
Expand Down

0 comments on commit 74f0f74

Please sign in to comment.