Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(dialog): mobile-react dialog组件属性对齐vue #462

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified db/TDesign.db
Binary file not shown.
137 changes: 130 additions & 7 deletions packages/scripts/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -38250,7 +38250,8 @@
{
"id": 1712717514,
"platform_framework": [
"8"
"8",
"16"
],
"component": "Dialog",
"field_category": 1,
Expand Down Expand Up @@ -38278,7 +38279,8 @@
"support_default_value": 0,
"field_category_text": "Props",
"platform_framework_text": [
"Vue(Mobile)"
"Vue(Mobile)",
"React(Mobile)"
],
"field_type_text": [
"Boolean"
Expand Down Expand Up @@ -39007,6 +39009,45 @@
"TNode"
]
},
{
"id": 1731399010,
"platform_framework": [
"16"
],
"component": "Dialog",
"field_category": 1,
"field_name": "middle",
"field_type": [
"1",
"64"
],
"field_default_value": "",
"field_enum": "",
"field_desc_zh": "中间自定义内容",
"field_desc_en": null,
"field_required": 0,
"event_input": "",
"create_time": "2024-11-12 08:10:10",
"update_time": "2024-11-12 08:10:10",
"event_output": null,
"custom_field_type": null,
"syntactic_sugar": null,
"readonly": 1,
"html_attribute": 0,
"trigger_elements": "MouseEvent<HTMLElement>",
"deprecated": 0,
"version": "",
"test_description": null,
"support_default_value": 0,
"field_category_text": "Props",
"platform_framework_text": [
"React(Mobile)"
],
"field_type_text": [
"String",
"TNode"
]
},
{
"id": 46,
"platform_framework": [
Expand Down Expand Up @@ -39437,6 +39478,45 @@
"Number"
]
},
{
"id": 1731399069,
"platform_framework": [
"16"
],
"component": "Dialog",
"field_category": 1,
"field_name": "top",
"field_type": [
"1",
"64"
],
"field_default_value": "",
"field_enum": "",
"field_desc_zh": "顶部自定义内容",
"field_desc_en": null,
"field_required": 0,
"event_input": "",
"create_time": "2024-11-12 08:11:09",
"update_time": "2024-11-12 08:11:09",
"event_output": null,
"custom_field_type": null,
"syntactic_sugar": null,
"readonly": 1,
"html_attribute": 0,
"trigger_elements": "MouseEvent<HTMLElement>",
"deprecated": 0,
"version": "",
"test_description": null,
"support_default_value": 0,
"field_category_text": "Props",
"platform_framework_text": [
"React(Mobile)"
],
"field_type_text": [
"String",
"TNode"
]
},
{
"id": 1719908441,
"platform_framework": [
Expand Down Expand Up @@ -39529,7 +39609,8 @@
"1",
"2",
"4",
"8"
"8",
"16"
],
"component": "Dialog",
"field_category": 1,
Expand Down Expand Up @@ -39561,7 +39642,8 @@
"Vue(PC)",
"React(PC)",
"Angular(PC)",
"Vue(Mobile)"
"Vue(Mobile)",
"React(Mobile)"
],
"field_type_text": [
"String",
Expand Down Expand Up @@ -39781,7 +39863,7 @@
"field_desc_zh": "关闭事件,点击 取消按钮 或 点击蒙层 时触发",
"field_desc_en": null,
"field_required": 0,
"event_input": "(context: DialogCloseContext)【type DialogEventSource = 'cancel' | 'overlay'】【interface DialogCloseContext { trigger: DialogEventSource; e: MouseEvent }】",
"event_input": "(context: DialogCloseContext)【type DialogEventSource = 'cancel' | 'overlay' | 'close-btn'】【interface DialogCloseContext { trigger: DialogEventSource; e: MouseEvent }】",
"create_time": "2021-07-10 03:28:08",
"update_time": "2022-04-06 08:54:27",
"event_output": null,
Expand Down Expand Up @@ -103564,6 +103646,45 @@
"TNode"
]
},
{
"id": 1727168992,
"platform_framework": [
"16"
],
"component": "StepItem",
"field_category": 1,
"field_name": "extra",
"field_type": [
"1",
"64"
],
"field_default_value": "''",
"field_enum": "",
"field_desc_zh": "步骤条自定义内容 仅支持 layout = 'vertical' 时",
"field_desc_en": null,
"field_required": 0,
"event_input": "",
"create_time": "2024-09-24 09:09:52",
"update_time": "2024-09-24 09:09:52",
"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": [
"React(Mobile)"
],
"field_type_text": [
"String",
"TNode"
]
},
{
"id": 617,
"platform_framework": [
Expand Down Expand Up @@ -103796,7 +103917,8 @@
{
"id": 1712570381,
"platform_framework": [
"8"
"8",
"16"
],
"component": "StepItem",
"field_category": 1,
Expand Down Expand Up @@ -103825,7 +103947,8 @@
"support_default_value": 0,
"field_category_text": "Props",
"platform_framework_text": [
"Vue(Mobile)"
"Vue(Mobile)",
"React(Mobile)"
],
"field_type_text": [
"String",
Expand Down