From 4be3350f1a9e5e32fe6f285c8d4673cef27dd960 Mon Sep 17 00:00:00 2001 From: ssmyaojiayouya <2861884324@qq.com> Date: Tue, 2 Apr 2024 20:00:34 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E5=BD=95=E5=85=A5tdesign-miniprogram?= =?UTF-8?q?=E7=BB=84=E4=BB=B6API=E5=88=B0=20tdesign-api=20=E5=B9=B3?= =?UTF-8?q?=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/TDesign.db | Bin 888832 -> 933888 bytes packages/scripts/api.json | 10880 ++++++++++++++++++++++++++++++++---- 2 files changed, 9685 insertions(+), 1195 deletions(-) diff --git a/db/TDesign.db b/db/TDesign.db index d649f0b9e1a284fcf484fe7289b03eafe6b2434f..78d23778f7a752c74093894c46ceecc15e50ce86 100644 GIT binary patch delta 51462 zcmeFacU)9g`Z#>s+_`t|xicsN0wRM-Q|VwqMX(!KTna z_9T{Au03WqZL=w6W6GxNnuGyNVq)^mnq)W0zR$V$(lNW=_xJw(dt*Ms!^6GjIpsM| zKW9o03@9xfTy)|Lk9&mE6LHFZCZM)gz?g2%RiYnF`-)zo@A%-sf*cn|1=UXU^RJ!hpJ_^+p1s08 zIJc%`w~NwZq%aaQ9N2=$(Q=q&WN7G zp+@spwMV1RbLb_xd+ofKkzPsCBhnx#Rtk}j+_iZE ze17N>;qyIQ1fRFD{oIp70%*4T+TOLRhE8BN)Q+rueP|FHSJAcho1qbGMeWRUJ%`<* z+4u@;?RQBl#ZT7`gZF&bM%R`MukqdoF!h1u2TP;n6U!~jOO{KPXD$2A^++zW_`zRZ z6j_e3UyfZPy$!#uF|rJUE}O=jyEJ+Hl>VlFQ=Zfv%KV$TK>jy+6Pc(x(h>=oio^!t zJNBe7-ss}%`9$t(!wnh--9e7pWNW;KbJ%2GhW3SjKJrLP$gS;uWHdj0X?AgX7EXDW z_QF<$_NZNRB>CLi2PU$$0}lV?+>IkC1`E)a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3j0~fv5pP5q0fuf6{YU+tepCNce@}lyzrc{5XBZOO zq;Jq`^d)++K1ZLTXX``szIuw@MGw<`bgRy3_qDIIYuaV)9af5EoYjtL2ee(<7OhrW zsa3#;Sz4d2!_@w2cQsD6seY=e^32HGQEn(#lvd?6<(%?@a!A>&Y*p4P)yg7}a!~; ZnIR4ep?}(<1tB`JQ9H%Nuv+`o_+PkP_-FtC diff --git a/packages/scripts/api.json b/packages/scripts/api.json index 6e9b60054..b3860aa08 100644 --- a/packages/scripts/api.json +++ b/packages/scripts/api.json @@ -2178,7 +2178,7 @@ "create_time": "2021-09-02 12:06:15", "update_time": "2022-04-08 09:06:29", "event_output": null, - "custom_field_type": "Array【interface ActionSheetItem {label: string; color?: string; disabled?: boolean }】", + "custom_field_type": "Array【interface ActionSheetItem {label: string; color?: string; disabled?: boolean;icon?: string;suffixIcon?: string; }】", "syntactic_sugar": null, "readonly": 1, "html_attribute": 0, @@ -2198,6 +2198,49 @@ "Array" ] }, + { + "id": 1712054580, + "platform_framework": [ + "8", + "16", + "32", + "64" + ], + "component": "ActionSheet", + "field_category": 1, + "field_name": "popupProps", + "field_type": [ + "8" + ], + "field_default_value": "{}", + "field_enum": "", + "field_desc_zh": "popupProps透传", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 10:43:00", + "update_time": "2024-04-02 10:43:00", + "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": [ + "Vue(Mobile)", + "React(Mobile)", + "Angular(Mobile)", + "Miniprogram" + ], + "field_type_text": [ + "Object" + ] + }, { "id": 1611, "platform_framework": [ @@ -2241,6 +2284,49 @@ "Boolean" ] }, + { + "id": 1712054606, + "platform_framework": [ + "8", + "16", + "32", + "64" + ], + "component": "ActionSheet", + "field_category": 1, + "field_name": "showOverlay", + "field_type": [ + "4" + ], + "field_default_value": "true", + "field_enum": "", + "field_desc_zh": "是否显示遮罩层", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 10:43:26", + "update_time": "2024-04-02 10:43:26", + "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": [ + "Vue(Mobile)", + "React(Mobile)", + "Angular(Mobile)", + "Miniprogram" + ], + "field_type_text": [ + "Boolean" + ] + }, { "id": 1609, "platform_framework": [ @@ -2549,6 +2635,105 @@ ], "field_type_text": [] }, + { + "id": 1712054648, + "platform_framework": [ + "64" + ], + "component": "ActionSheet", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 10:44:08", + "update_time": "2024-04-02 10:44:08", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712054668, + "platform_framework": [ + "64" + ], + "component": "ActionSheet", + "field_category": 128, + "field_name": "t-class-cancel", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "取消样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 10:44:28", + "update_time": "2024-04-02 10:44:28", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712054662, + "platform_framework": [ + "64" + ], + "component": "ActionSheet", + "field_category": 128, + "field_name": "t-class-content", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "内容样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 10:44:22", + "update_time": "2024-04-02 10:44:22", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 2024, "platform_framework": [ @@ -5996,7 +6181,7 @@ "create_time": "2022-10-17 07:25:04", "update_time": "2022-10-17 07:25:04", "event_output": null, - "custom_field_type": "ImageProps【import { ImageProps } from '@Image'】", + "custom_field_type": "", "syntactic_sugar": null, "readonly": 1, "html_attribute": 0, @@ -6087,7 +6272,7 @@ ], "field_default_value": "medium", "field_enum": "", - "field_desc_zh": "尺寸,示例值:small/medium/large/24px/38px 等。优先级高于 AvatarGroup.size 。Avatar 单独存在时,默认值为 medium。如果父组件存在 AvatarGroup,默认值便由 AvatarGroup.size 决定", + "field_desc_zh": "尺寸,示例值:small/medium/large/24px/38px 等", "field_desc_en": "size", "field_required": 0, "event_input": "", @@ -6162,6 +6347,171 @@ ], "field_type_text": [] }, + { + "id": 1712048196, + "platform_framework": [ + "64" + ], + "component": "Avatar", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 08:56:36", + "update_time": "2024-04-02 08:56:36", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712048228, + "platform_framework": [ + "64" + ], + "component": "Avatar", + "field_category": 128, + "field_name": "t-class-alt", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "替代文本样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 08:57:08", + "update_time": "2024-04-02 08:57:08", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712048233, + "platform_framework": [ + "64" + ], + "component": "Avatar", + "field_category": 128, + "field_name": "t-class-content", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "内容样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 08:57:13", + "update_time": "2024-04-02 08:57:13", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712048223, + "platform_framework": [ + "64" + ], + "component": "Avatar", + "field_category": 128, + "field_name": "t-class-icon", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "图标样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 08:57:03", + "update_time": "2024-04-02 08:57:03", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712048218, + "platform_framework": [ + "64" + ], + "component": "Avatar", + "field_category": 128, + "field_name": "t-class-image", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "图片样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 08:56:58", + "update_time": "2024-04-02 08:56:58", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 1600, "platform_framework": [ @@ -6179,7 +6529,7 @@ "field_type": [ "1" ], - "field_default_value": "'right-up'", + "field_default_value": "'left-up'", "field_enum": "left-up/right-up", "field_desc_zh": "图片之间的层叠关系,可选值:左侧图片在上和右侧图片在上", "field_desc_en": "multiple images cascading", @@ -6475,6 +6825,105 @@ "String" ] }, + { + "id": 1712048317, + "platform_framework": [ + "64" + ], + "component": "AvatarGroup", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 08:58:37", + "update_time": "2024-04-02 08:58:37", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712048342, + "platform_framework": [ + "64" + ], + "component": "AvatarGroup", + "field_category": 128, + "field_name": "t-class-content", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "内容样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 08:59:02", + "update_time": "2024-04-02 08:59: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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712048336, + "platform_framework": [ + "64" + ], + "component": "AvatarGroup", + "field_category": 128, + "field_name": "t-class-image", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "图片样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 08:58:56", + "update_time": "2024-04-02 08:58:56", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 3023, "platform_framework": [ @@ -6686,43 +7135,6 @@ "Number" ] }, - { - "id": 1837, - "platform_framework": [ - "64" - ], - "component": "BackTop", - "field_category": 1, - "field_name": "externalClasses", - "field_type": [ - "16" - ], - "field_default_value": "", - "field_enum": "", - "field_desc_zh": "组件类名,分别用于设置外层元素、图标、文本内容等元素类名", - "field_desc_en": null, - "field_required": 0, - "event_input": "", - "create_time": "2021-11-10 05:46:05", - "update_time": "2021-11-10 05:46:05", - "event_output": null, - "custom_field_type": "['t-class', 't-class-icon', 't-class-text']", - "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": [ - "Array" - ] - }, { "id": 1593, "platform_framework": [ @@ -6776,11 +7188,13 @@ "field_name": "icon", "field_type": [ "1", + "4", + "8", "64" ], - "field_default_value": "'backtop'", + "field_default_value": "true", "field_enum": "", - "field_desc_zh": "图标", + "field_desc_zh": "图标。值为 `false` 表示不显示图标。不传表示使用默认图标 `'backtop'`", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -6802,6 +7216,8 @@ ], "field_type_text": [ "String", + "Boolean", + "Object", "TNode" ] }, @@ -6887,6 +7303,43 @@ "Array" ] }, + { + "id": 1711970525, + "platform_framework": [ + "64" + ], + "component": "BackTop", + "field_category": 1, + "field_name": "scrollTop", + "field_type": [ + "2" + ], + "field_default_value": "0", + "field_enum": "", + "field_desc_zh": "页面滚动距离", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 11:22:05", + "update_time": "2024-04-01 11:22:05", + "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": [ + "Number" + ] + }, { "id": 3027, "platform_framework": [ @@ -7217,6 +7670,43 @@ "String" ] }, + { + "id": 1711970473, + "platform_framework": [ + "64" + ], + "component": "BackTop", + "field_category": 1, + "field_name": "visibilityHeight", + "field_type": [ + "2" + ], + "field_default_value": "200", + "field_enum": "", + "field_desc_zh": "滚动高度达到此参数值才出现", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 11:21:13", + "update_time": "2024-04-01 11:21:13", + "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": [ + "Number" + ] + }, { "id": 3028, "platform_framework": [ @@ -7336,6 +7826,105 @@ ], "field_type_text": [] }, + { + "id": 1711970247, + "platform_framework": [ + "64" + ], + "component": "BackTop", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 11:17:27", + "update_time": "2024-04-01 11:17: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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1711970256, + "platform_framework": [ + "64" + ], + "component": "BackTop", + "field_category": 128, + "field_name": "t-class-icon", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "图标样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 11:17:36", + "update_time": "2024-04-01 11:17:36", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1711970261, + "platform_framework": [ + "64" + ], + "component": "BackTop", + "field_category": 128, + "field_name": "t-class-text", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "文本样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 11:17:41", + "update_time": "2024-04-01 11:17:41", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 1083, "platform_framework": [ @@ -8044,6 +8633,105 @@ "String" ] }, + { + "id": 1712048429, + "platform_framework": [ + "64" + ], + "component": "Badge", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 09:00:29", + "update_time": "2024-04-02 09:00:29", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712048399, + "platform_framework": [ + "64" + ], + "component": "Badge", + "field_category": 128, + "field_name": "t-class-content", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "内容样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 08:59:59", + "update_time": "2024-04-02 08:59:59", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712048415, + "platform_framework": [ + "64" + ], + "component": "Badge", + "field_category": 128, + "field_name": "t-class-count", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "计数样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 09:00:15", + "update_time": "2024-04-02 09:00:15", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 1694262363, "platform_framework": [ @@ -12383,7 +13071,7 @@ ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "原生按钮属性,打开 APP 时,向 APP 传递的参数,`open-type=launchApp` 时有效", + "field_desc_zh": "打开 APP 时,向 APP 传递的参数,open-type=launchApp时有效", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -12561,14 +13249,14 @@ ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "自定义 dataset,可通过 event.currentTarget.dataset.custom 获取", + "field_desc_zh": "自定义 dataset,可通过 event.currentTarget.dataset.custom 获取。", "field_desc_en": null, "field_required": 0, "event_input": "", "create_time": "2022-03-14 07:32:55", "update_time": "2022-03-14 07:40:54", "event_output": null, - "custom_field_type": "any", + "custom_field_type": "`any`", "syntactic_sugar": null, "readonly": 1, "html_attribute": 0, @@ -12735,7 +13423,7 @@ ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "原生按钮属性,指定按钮按下去的样式类。当 `hover-class=\"none\"` 时,没有点击态效果", + "field_desc_zh": "指定按钮按下去的样式类,按钮不为加载或禁用状态时有效。当 `hover-class=\"none\"` 时,没有点击态效果", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -12772,7 +13460,7 @@ ], "field_default_value": "20", "field_enum": "", - "field_desc_zh": "原生按钮属性,按住后多久出现点击态,单位毫秒", + "field_desc_zh": "按住后多久出现点击态,单位毫秒", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -12809,7 +13497,7 @@ ], "field_default_value": "70", "field_enum": "", - "field_desc_zh": "原生按钮属性,手指松开后点击态保留时间,单位毫秒", + "field_desc_zh": "手指松开后点击态保留时间,单位毫秒", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -12846,7 +13534,7 @@ ], "field_default_value": "false", "field_enum": "", - "field_desc_zh": "原生按钮属性,指定是否阻止本节点的祖先节点出现点击态", + "field_desc_zh": "指定是否阻止本节点的祖先节点出现点击态", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -12976,7 +13664,7 @@ ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "图标名称。值为字符串表示图标名称,值为 Object 类型,表示透传至 icon。", + "field_desc_zh": "图标名称。值为字符串表示图标名称,值为 `Object` 类型,表示透传至 `icon`。", "field_desc_en": "icon name", "field_required": 0, "event_input": "", @@ -13051,7 +13739,7 @@ ], "field_default_value": "", "field_enum": "en/zh_CN/zh_TW", - "field_desc_zh": "指定返回用户信息的语言,zh_CN 简体中文,zh_TW 繁体中文,en 英文", + "field_desc_zh": "指定返回用户信息的语言,zh_CN 简体中文,zh_TW 繁体中文,en 英文。。
具体释义:
`en` 英文;
`zh_CN` 简体中文;
`zh_TW` 繁体中文。
[小程序官方文档](https://developers.weixin.qq.com/miniprogram/dev/component/button.html)。", "field_desc_en": "message language", "field_required": 0, "event_input": "", @@ -13140,14 +13828,14 @@ ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "透传加载组件全部属性", + "field_desc_zh": "透传至 Loading 组件。", "field_desc_en": null, "field_required": 0, "event_input": "", "create_time": "2022-10-31 15:23:33", "update_time": "2022-10-31 15:23:33", "event_output": null, - "custom_field_type": "LoadingProps【import { LoadingProps } from '@Loading'】", + "custom_field_type": "`LoadingProps`,[Loading API Documents](./loading?tab=api)。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/button/type.ts)", "syntactic_sugar": null, "readonly": 1, "html_attribute": 0, @@ -13179,8 +13867,8 @@ "1" ], "field_default_value": "", - "field_enum": "contact/liveActivity/share/getPhoneNumber/getRealtimePhoneNumber/getUserInfo/launchApp/openSetting/feedback/chooseAvatar/agreePrivacyAuthorization", - "field_desc_zh": "原生按钮属性,按钮类型,枚举值同[小程序官网按钮](https://developers.weixin.qq.com/miniprogram/dev/component/button.html)", + "field_enum": "contact/share/getPhoneNumber/getUserInfo/launchApp/openSetting/feedback/chooseAvatar/agreePrivacyAuthorization", + "field_desc_zh": "微信开放能力。
具体释义:
`contact` 打开客服会话,如果用户在会话中点击消息卡片后返回小程序,可以从 bindcontact 回调中获得具体信息,具体说明 (*小程序插件中不能使用*);
`share` 触发用户转发,使用前建议先阅读使用指引
`getPhoneNumber` 获取用户手机号,可以从 bindgetphonenumber 回调中获取到用户信息,具体说明 (*小程序插件中不能使用*);
`getUserInfo` 获取用户信息,可以从 bindgetuserinfo 回调中获取到用户信息 (*小程序插件中不能使用*);
`launchApp` 打开APP,可以通过 app-parameter 属性设定向 APP 传的参数具体说明
`openSetting` 打开授权设置页;
`feedback` 打开“意见反馈”页面,用户可提交反馈内容并上传日志,开发者可以登录小程序管理后台后进入左侧菜单“客服反馈”页面获取到反馈内容;
`chooseAvatar` 获取用户头像,可以从 bindchooseavatar 回调中获取到头像信息;
`agreePrivacyAuthorization`用户同意隐私协议按钮。用户点击一次此按钮后,所有隐私接口可以正常调用。可通过`bindagreeprivacyauthorization`监听用户同意隐私协议事件。隐私合规开发指南详情可见《小程序隐私协议开发指南》。
[小程序官方文档](https://developers.weixin.qq.com/miniprogram/dev/component/button.html)。", "field_desc_en": "open type of button, [Miniprogram Button](https://developers.weixin.qq.com/miniprogram/dev/component/button.html)", "field_required": 0, "event_input": "", @@ -13252,9 +13940,9 @@ "field_type": [ "1" ], - "field_default_value": "", + "field_default_value": "截图", "field_enum": "", - "field_desc_zh": "原生按钮属性,会话内消息卡片图片,`open-type=\"contact\"` 时有效,默认为“截图”", + "field_desc_zh": "会话内消息卡片图片,open-type=\"contact\"时有效", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -13289,9 +13977,9 @@ "field_type": [ "1" ], - "field_default_value": "", + "field_default_value": "当前分享路径", "field_enum": "", - "field_desc_zh": "原生按钮属性,会话内消息卡片点击跳转小程序路径,`open-type=\"contact\"` 时有效,默认为“当前分享路径”", + "field_desc_zh": "会话内消息卡片点击跳转小程序路径,open-type=\"contact\"时有效", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -13326,9 +14014,9 @@ "field_type": [ "1" ], - "field_default_value": "", + "field_default_value": "当前标题", "field_enum": "", - "field_desc_zh": "原生按钮属性,会话内消息卡片标题,`open-type=\"contact\"` 时有效,默认为“当前标题”", + "field_desc_zh": "会话内消息卡片标题,open-type=\"contact\"时有效", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -13365,7 +14053,7 @@ ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "原生按钮属性,会话来源,`open-type=\"contact\"` 时有效", + "field_desc_zh": "会话来源,open-type=\"contact\"时有效", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -13451,7 +14139,7 @@ ], "field_default_value": "false", "field_enum": "", - "field_desc_zh": "原生按钮属性,是否显示会话内消息卡片,设置此参数为 true,用户进入客服会话会在右下角显示\"可能要发送的小程序\"提示,用户点击后可以快速发送小程序消息,`open-type=\"contact\"`时有效", + "field_desc_zh": "是否显示会话内消息卡片,设置此参数为 true,用户进入客服会话会在右下角显示\"可能要发送的小程序\"提示,用户点击后可以快速发送小程序消息,open-type=\"contact\"时有效", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -13501,7 +14189,7 @@ "create_time": "2020-10-23 02:58:31", "update_time": "2021-09-01 15:51:46", "event_output": null, - "custom_field_type": "SizeEnum", + "custom_field_type": "`SizeEnum`", "syntactic_sugar": null, "readonly": 1, "html_attribute": 0, @@ -13623,7 +14311,7 @@ ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "按钮标签 `id`", + "field_desc_zh": "按钮标签id", "field_desc_en": "id", "field_required": 0, "event_input": "", @@ -13749,7 +14437,7 @@ ], "field_default_value": "default", "field_enum": "default/primary/danger/light", - "field_desc_zh": "组件风格,依次为品牌色、危险色", + "field_desc_zh": "组件风格,依次为品牌色、危险色。", "field_desc_en": "button theme", "field_required": 0, "event_input": "", @@ -13836,7 +14524,7 @@ ], "field_default_value": "", "field_enum": "submit/reset", - "field_desc_zh": "同小程序的 `formType`,[button](https://developers.weixin.qq.com/miniprogram/dev/component/button.html)", + "field_desc_zh": "同小程序的 formType。", "field_desc_en": "type of button element, same as formType of Miniprogram", "field_required": 0, "event_input": "", @@ -13916,7 +14604,7 @@ "1" ], "field_default_value": "base", - "field_enum": "base/outline/text", + "field_enum": "base/outline/dashed/text", "field_desc_zh": "按钮形式,基础、线框、文字", "field_desc_en": "button variant", "field_required": 0, @@ -14320,7 +15008,40 @@ "field_type_text": [] }, { - "id": 1709437692, + "id": 1711968760, + "platform_framework": [ + "64" + ], + "component": "Button", + "field_category": 2, + "field_name": "tap", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "点击按钮,当按钮不为加载或禁用状态时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "event", + "create_time": "2024-04-01 10:52:40", + "update_time": "2024-04-01 10:52:40", + "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": "Events", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1711974741, "platform_framework": [ "64" ], @@ -14330,12 +15051,12 @@ "field_type": [], "field_default_value": "", "field_enum": "", - "field_desc_zh": "根节点类名", - "field_desc_en": "class name of root node", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, "field_required": 0, "event_input": "", - "create_time": "2024-03-03 03:48:12", - "update_time": "2024-03-03 03:48:12", + "create_time": "2024-04-01 12:32:21", + "update_time": "2024-04-01 12:32:21", "event_output": null, "custom_field_type": null, "syntactic_sugar": null, @@ -14363,7 +15084,7 @@ "field_type": [], "field_default_value": "", "field_enum": "", - "field_desc_zh": "图标类名", + "field_desc_zh": "图标样式类", "field_desc_en": "class name of icon", "field_required": 0, "event_input": "", @@ -15434,7 +16155,7 @@ "field_type": [ "1" ], - "field_default_value": "'single'", + "field_default_value": "single", "field_enum": "single/multiple/range", "field_desc_zh": "日历的选择类型,single = 单选;multiple = 多选; range = 区间选择", "field_desc_en": null, @@ -19260,6 +19981,49 @@ "String" ] }, + { + "id": 1712024363, + "platform_framework": [ + "8", + "16", + "32", + "64" + ], + "component": "Cascader", + "field_category": 1, + "field_name": "placeholder", + "field_type": [ + "1" + ], + "field_default_value": "选择选项", + "field_enum": "", + "field_desc_zh": "未选中时的提示文案", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 02:19:23", + "update_time": "2024-04-02 02:19:23", + "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": [ + "Vue(Mobile)", + "React(Mobile)", + "Angular(Mobile)", + "Miniprogram" + ], + "field_type_text": [ + "String" + ] + }, { "id": 398, "platform_framework": [ @@ -21527,6 +22291,369 @@ "TNode" ] }, + { + "id": 1712048545, + "platform_framework": [ + "64" + ], + "component": "Cell", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 09:02:25", + "update_time": "2024-04-02 09:02:25", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712048589, + "platform_framework": [ + "64" + ], + "component": "Cell", + "field_category": 128, + "field_name": "t-class-center", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "中间(`title`, `description`)内容样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 09:03:09", + "update_time": "2024-04-02 09:03:09", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712048559, + "platform_framework": [ + "64" + ], + "component": "Cell", + "field_category": 128, + "field_name": "t-class-description", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "下方描述内容样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 09:02:39", + "update_time": "2024-04-02 09:02:39", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712048568, + "platform_framework": [ + "64" + ], + "component": "Cell", + "field_category": 128, + "field_name": "t-class-hover", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "悬停样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 09:02:48", + "update_time": "2024-04-02 09:02:48", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712048573, + "platform_framework": [ + "64" + ], + "component": "Cell", + "field_category": 128, + "field_name": "t-class-image", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "图片样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 09:02:53", + "update_time": "2024-04-02 09:02:53", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712048578, + "platform_framework": [ + "64" + ], + "component": "Cell", + "field_category": 128, + "field_name": "t-class-left", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "左侧内容样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 09:02:58", + "update_time": "2024-04-02 09:02:58", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712048583, + "platform_framework": [ + "64" + ], + "component": "Cell", + "field_category": 128, + "field_name": "t-class-left-icon", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "左侧图标样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 09:03:03", + "update_time": "2024-04-02 09:03:03", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712048563, + "platform_framework": [ + "64" + ], + "component": "Cell", + "field_category": 128, + "field_name": "t-class-note", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "右侧说明文字样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 09:02:43", + "update_time": "2024-04-02 09:02:43", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712048594, + "platform_framework": [ + "64" + ], + "component": "Cell", + "field_category": 128, + "field_name": "t-class-right", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "右侧内容样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 09:03:14", + "update_time": "2024-04-02 09:03:14", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712048599, + "platform_framework": [ + "64" + ], + "component": "Cell", + "field_category": 128, + "field_name": "t-class-right-icon", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "右侧图标样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 09:03:19", + "update_time": "2024-04-02 09:03:19", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712048553, + "platform_framework": [ + "64" + ], + "component": "Cell", + "field_category": 128, + "field_name": "t-class-title", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "标题样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 09:02:33", + "update_time": "2024-04-02 09:02:33", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 1079, "platform_framework": [ @@ -21660,7 +22787,7 @@ ], "field_default_value": "default", "field_enum": "default/card", - "field_desc_zh": "单元格组风格", + "field_desc_zh": "单元格风格", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -21730,6 +22857,72 @@ "String" ] }, + { + "id": 1712027724, + "platform_framework": [ + "64" + ], + "component": "CellGroup", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 03:15:24", + "update_time": "2024-04-02 03:15:24", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712027793, + "platform_framework": [ + "64" + ], + "component": "CellGroup", + "field_category": 128, + "field_name": "t-class-title", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "标题样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 03:16:33", + "update_time": "2024-04-02 03:16:33", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 418, "platform_framework": [ @@ -21747,7 +22940,7 @@ "field_type": [ "4" ], - "field_default_value": "", + "field_default_value": "undefined", "field_enum": "", "field_desc_zh": "标签选中的状态,默认风格(theme=default)才有选中态", "field_desc_en": null, @@ -21896,7 +23089,7 @@ "readonly": 1, "html_attribute": 0, "trigger_elements": "", - "deprecated": 1, + "deprecated": 0, "version": null, "test_description": null, "support_default_value": 0, @@ -21939,7 +23132,7 @@ "create_time": "2021-02-20 12:57:07", "update_time": "2021-08-30 02:47:23", "event_output": null, - "custom_field_type": "string | number | string[] | TNode", + "custom_field_type": "string | number | string[]", "syntactic_sugar": "", "readonly": 1, "html_attribute": 0, @@ -22238,7 +23431,7 @@ "readonly": 1, "html_attribute": 0, "trigger_elements": "", - "deprecated": 1, + "deprecated": 0, "version": null, "test_description": null, "support_default_value": 0, @@ -22456,7 +23649,7 @@ "field_desc_zh": "状态切换时触发", "field_desc_en": null, "field_required": 0, - "event_input": "(checked: boolean, context: CheckTagChangeContext)【interface CheckTagChangeContext { e: MouseEvent | KeyboardEvent; value: string | number }】", + "event_input": "(checked: boolean)", "create_time": "2021-02-20 12:58:23", "update_time": "2021-11-27 15:47:10", "event_output": null, @@ -22526,6 +23719,84 @@ ], "field_type_text": [] }, + { + "id": 1712054335, + "platform_framework": [ + "1", + "2", + "4", + "8", + "16", + "32", + "64" + ], + "component": "CheckTag", + "field_category": 2, + "field_name": "close", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "如果关闭按钮存在,点击关闭按钮时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 10:38:55", + "update_time": "2024-04-02 10:38: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": "Events", + "platform_framework_text": [ + "Vue(PC)", + "React(PC)", + "Angular(PC)", + "Vue(Mobile)", + "React(Mobile)", + "Angular(Mobile)", + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712054145, + "platform_framework": [ + "64" + ], + "component": "CheckTag", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 10:35:45", + "update_time": "2024-04-02 10:35:45", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 1695565419, "platform_framework": [ @@ -23863,10 +25134,10 @@ "field_type": [], "field_default_value": "", "field_enum": "", - "field_desc_zh": "值变化时触发", + "field_desc_zh": "值变化时触发。`context` 表示当前点击项内容。", "field_desc_en": null, "field_required": 0, - "event_input": "(checked: boolean)", + "event_input": "(checked: boolean, context: { value: boolean|number|string, label: boolean|number|string })", "create_time": "2021-08-06 05:23:50", "update_time": "2021-08-06 05:23:50", "event_output": null, @@ -23918,6 +25189,171 @@ ], "field_type_text": [] }, + { + "id": 1712024605, + "platform_framework": [ + "64" + ], + "component": "Checkbox", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 02:23:25", + "update_time": "2024-04-02 02:23:25", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712024654, + "platform_framework": [ + "64" + ], + "component": "Checkbox", + "field_category": 128, + "field_name": "t-class-border", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "边框样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 02:24:14", + "update_time": "2024-04-02 02:24:14", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712024646, + "platform_framework": [ + "64" + ], + "component": "Checkbox", + "field_category": 128, + "field_name": "t-class-content", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "内容样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 02:24:06", + "update_time": "2024-04-02 02:24:06", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712024641, + "platform_framework": [ + "64" + ], + "component": "Checkbox", + "field_category": 128, + "field_name": "t-class-icon", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "图标样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 02:24:01", + "update_time": "2024-04-02 02:24:01", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712024636, + "platform_framework": [ + "64" + ], + "component": "Checkbox", + "field_category": 128, + "field_name": "t-class-label", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "标签样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 02:23:56", + "update_time": "2024-04-02 02:23:56", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 3521, "platform_framework": [ @@ -24018,7 +25454,7 @@ ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "是否禁用组件,默认为 false。优先级:CheckboxGroup.disabled < Checkbox.disabled", + "field_desc_zh": "是否禁用组件,默认为 false。 CheckboxGroup.disabled < Checkbox.disabled ,后续新增 Form 组件后,Form.disabled 优先级最低", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -24402,10 +25838,10 @@ "field_type": [], "field_default_value": "", "field_enum": "", - "field_desc_zh": "值变化时触发", + "field_desc_zh": "值变化时触发。`context` 表示当前点击项内容。", "field_desc_en": null, "field_required": 0, - "event_input": "(value: CheckboxGroupValue)", + "event_input": "(value: CheckboxGroupValue, context: { value: boolean|number|string, label: boolean|number|string })", "create_time": "2023-06-30 06:06:43", "update_time": "2023-06-30 06:06:43", "event_output": null, @@ -25912,49 +27348,239 @@ "Miniprogram" ], "field_type_text": [ - "Boolean", + "Boolean", + "TNode" + ] + }, + { + "id": 2725, + "platform_framework": [ + "64" + ], + "component": "CollapsePanel", + "field_category": 1, + "field_name": "externalClasses", + "field_type": [ + "16" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "组件类名,用于组件外层元素、标题、内容", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2022-05-31 03:26:48", + "update_time": "2022-05-31 03:26:48", + "event_output": null, + "custom_field_type": "['t-class', 't-class-header', 't-class-content']", + "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": [ + "Array" + ] + }, + { + "id": 1679, + "platform_framework": [ + "1", + "2", + "4", + "8", + "16", + "32", + "64" + ], + "component": "CollapsePanel", + "field_category": 1, + "field_name": "header", + "field_type": [ + "1", + "64" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "面板头内容", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2021-09-14 15:18:51", + "update_time": "2022-02-18 12:25:55", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": "", + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "Vue(PC)", + "React(PC)", + "Angular(PC)", + "Vue(Mobile)", + "React(Mobile)", + "Angular(Mobile)", + "Miniprogram" + ], + "field_type_text": [ + "String", + "TNode" + ] + }, + { + "id": 1691047409, + "platform_framework": [ + "8", + "16", + "32", + "64" + ], + "component": "CollapsePanel", + "field_category": 1, + "field_name": "headerLeftIcon", + "field_type": [ + "1", + "64" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "面板头左侧图标", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2023-08-03 07:23:29", + "update_time": "2023-08-03 07:23:29", + "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": [ + "Vue(Mobile)", + "React(Mobile)", + "Angular(Mobile)", + "Miniprogram" + ], + "field_type_text": [ + "String", + "TNode" + ] + }, + { + "id": 2317, + "platform_framework": [ + "1", + "2", + "4", + "8", + "16", + "32", + "64" + ], + "component": "CollapsePanel", + "field_category": 1, + "field_name": "headerRightContent", + "field_type": [ + "1", + "64" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "面板头的右侧区域,一般用于呈现面板操作", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2022-02-18 12:25:00", + "update_time": "2022-04-07 07:57:21", + "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": [ + "Vue(PC)", + "React(PC)", + "Angular(PC)", + "Vue(Mobile)", + "React(Mobile)", + "Angular(Mobile)", + "Miniprogram" + ], + "field_type_text": [ + "String", "TNode" ] }, { - "id": 2725, + "id": 3261, "platform_framework": [ + "8", + "16", + "32", "64" ], "component": "CollapsePanel", "field_category": 1, - "field_name": "externalClasses", + "field_name": "placement", "field_type": [ - "16" + "1" ], - "field_default_value": "", - "field_enum": "", - "field_desc_zh": "组件类名,用于组件外层元素、标题、内容", + "field_default_value": "bottom", + "field_enum": "bottom/top", + "field_desc_zh": "选项卡内容的位置", "field_desc_en": null, "field_required": 0, "event_input": "", - "create_time": "2022-05-31 03:26:48", - "update_time": "2022-05-31 03:26:48", + "create_time": "2023-01-08 08:00:34", + "update_time": "2023-01-08 08:00:34", "event_output": null, - "custom_field_type": "['t-class', 't-class-header', 't-class-content']", + "custom_field_type": null, "syntactic_sugar": null, "readonly": 1, "html_attribute": 0, "trigger_elements": "", "deprecated": 0, - "version": "", + "version": "{\"Miniprogram\": \"0.34.0\"}", "test_description": null, "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ + "Vue(Mobile)", + "React(Mobile)", + "Angular(Mobile)", "Miniprogram" ], "field_type_text": [ - "Array" + "String" ] }, { - "id": 1679, + "id": 2460, "platform_framework": [ "1", "2", @@ -25966,22 +27592,22 @@ ], "component": "CollapsePanel", "field_category": 1, - "field_name": "header", + "field_name": "value", "field_type": [ "1", - "64" + "2" ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "面板头内容", + "field_desc_zh": "当前面板唯一标识,如果值为空则取当前面下标兜底作为唯一标识", "field_desc_en": null, "field_required": 0, "event_input": "", - "create_time": "2021-09-14 15:18:51", - "update_time": "2022-02-18 12:25:55", + "create_time": "2022-03-28 02:35:52", + "update_time": "2022-06-06 09:15:36", "event_output": null, "custom_field_type": null, - "syntactic_sugar": "", + "syntactic_sugar": null, "readonly": 1, "html_attribute": 0, "trigger_elements": "", @@ -26001,32 +27627,26 @@ ], "field_type_text": [ "String", - "TNode" + "Number" ] }, { - "id": 1691047409, + "id": 1712049645, "platform_framework": [ - "8", - "16", - "32", "64" ], "component": "CollapsePanel", - "field_category": 1, - "field_name": "headerLeftIcon", - "field_type": [ - "1", - "64" - ], + "field_category": 128, + "field_name": "t-class", + "field_type": [], "field_default_value": "", "field_enum": "", - "field_desc_zh": "面板头左侧图标", + "field_desc_zh": "根节点样式类", "field_desc_en": null, "field_required": 0, "event_input": "", - "create_time": "2023-08-03 07:23:29", - "update_time": "2023-08-03 07:23:29", + "create_time": "2024-04-02 09:20:45", + "update_time": "2024-04-02 09:20:45", "event_output": null, "custom_field_type": null, "syntactic_sugar": null, @@ -26037,44 +27657,29 @@ "version": "", "test_description": null, "support_default_value": 0, - "field_category_text": "Props", + "field_category_text": "External Classes", "platform_framework_text": [ - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", "Miniprogram" ], - "field_type_text": [ - "String", - "TNode" - ] + "field_type_text": [] }, { - "id": 2317, + "id": 1712049657, "platform_framework": [ - "1", - "2", - "4", - "8", - "16", - "32", "64" ], "component": "CollapsePanel", - "field_category": 1, - "field_name": "headerRightContent", - "field_type": [ - "1", - "64" - ], + "field_category": 128, + "field_name": "t-class-content", + "field_type": [], "field_default_value": "", "field_enum": "", - "field_desc_zh": "面板头的右侧区域,一般用于呈现面板操作", + "field_desc_zh": "内容样式类", "field_desc_en": null, "field_required": 0, "event_input": "", - "create_time": "2022-02-18 12:25:00", - "update_time": "2022-04-07 07:57:21", + "create_time": "2024-04-02 09:20:57", + "update_time": "2024-04-02 09:20:57", "event_output": null, "custom_field_type": null, "syntactic_sugar": null, @@ -26085,90 +27690,29 @@ "version": "", "test_description": null, "support_default_value": 0, - "field_category_text": "Props", - "platform_framework_text": [ - "Vue(PC)", - "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" - ], - "field_type_text": [ - "String", - "TNode" - ] - }, - { - "id": 3261, - "platform_framework": [ - "8", - "16", - "32", - "64" - ], - "component": "CollapsePanel", - "field_category": 1, - "field_name": "placement", - "field_type": [ - "1" - ], - "field_default_value": "bottom", - "field_enum": "bottom/top", - "field_desc_zh": "选项卡内容的位置", - "field_desc_en": null, - "field_required": 0, - "event_input": "", - "create_time": "2023-01-08 08:00:34", - "update_time": "2023-01-08 08:00:34", - "event_output": null, - "custom_field_type": null, - "syntactic_sugar": null, - "readonly": 1, - "html_attribute": 0, - "trigger_elements": "", - "deprecated": 0, - "version": "{\"Miniprogram\": \"0.34.0\"}", - "test_description": null, - "support_default_value": 0, - "field_category_text": "Props", + "field_category_text": "External Classes", "platform_framework_text": [ - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", "Miniprogram" ], - "field_type_text": [ - "String" - ] + "field_type_text": [] }, { - "id": 2460, + "id": 1712049668, "platform_framework": [ - "1", - "2", - "4", - "8", - "16", - "32", "64" ], "component": "CollapsePanel", - "field_category": 1, - "field_name": "value", - "field_type": [ - "1", - "2" - ], + "field_category": 128, + "field_name": "t-class-header", + "field_type": [], "field_default_value": "", "field_enum": "", - "field_desc_zh": "当前面板唯一标识,如果值为空则取当前面下标兜底作为唯一标识", + "field_desc_zh": "头部样式类", "field_desc_en": null, "field_required": 0, "event_input": "", - "create_time": "2022-03-28 02:35:52", - "update_time": "2022-06-06 09:15:36", + "create_time": "2024-04-02 09:21:08", + "update_time": "2024-04-02 09:21:08", "event_output": null, "custom_field_type": null, "syntactic_sugar": null, @@ -26179,20 +27723,11 @@ "version": "", "test_description": null, "support_default_value": 0, - "field_category_text": "Props", + "field_category_text": "External Classes", "platform_framework_text": [ - "Vue(PC)", - "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", "Miniprogram" ], - "field_type_text": [ - "String", - "Number" - ] + "field_type_text": [] }, { "id": 3207, @@ -27744,7 +29279,7 @@ "field_type": [ "1" ], - "field_default_value": "'small'", + "field_default_value": "'medium'", "field_enum": "small/medium/large", "field_desc_zh": "倒计时尺寸", "field_desc_en": null, @@ -28017,6 +29552,105 @@ ], "field_type_text": [] }, + { + "id": 1712049731, + "platform_framework": [ + "64" + ], + "component": "CountDown", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 09:22:11", + "update_time": "2024-04-02 09:22:11", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712050076, + "platform_framework": [ + "64" + ], + "component": "CountDown", + "field_category": 128, + "field_name": "t-class-count", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "计数样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 09:27:56", + "update_time": "2024-04-02 09:27:56", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712050087, + "platform_framework": [ + "64" + ], + "component": "CountDown", + "field_category": 128, + "field_name": "t-class-split", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "分隔线样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 09:28:07", + "update_time": "2024-04-02 09:28:07", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 1009, "platform_framework": [ @@ -33309,6 +34943,138 @@ ], "field_type_text": [] }, + { + "id": 1712025091, + "platform_framework": [ + "64" + ], + "component": "DateTimePicker", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 02:31:31", + "update_time": "2024-04-02 02:31:31", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712025120, + "platform_framework": [ + "64" + ], + "component": "DateTimePicker", + "field_category": 128, + "field_name": "t-class-cancel", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "取消样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 02:32:00", + "update_time": "2024-04-02 02:32:00", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712025115, + "platform_framework": [ + "64" + ], + "component": "DateTimePicker", + "field_category": 128, + "field_name": "t-class-confirm", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "确认样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 02:31:55", + "update_time": "2024-04-02 02:31: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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712025124, + "platform_framework": [ + "64" + ], + "component": "DateTimePicker", + "field_category": 128, + "field_name": "t-class-title", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "标题样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 02:32:04", + "update_time": "2024-04-02 02:32:04", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 1526, "platform_framework": [ @@ -34797,7 +36563,7 @@ ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "取消按钮,可自定义。值为 null 则不显示取消按钮。值类型为字符串,则表示自定义按钮文本,值类型为 Object 则表示透传 Button 组件属性。使用 TNode 自定义按钮时,需自行控制取消事件", + "field_desc_zh": "取消按钮,可自定义。值为 null 则不显示取消按钮。值类型为字符串,则表示自定义按钮文本,值类型为 Object 则表示透传 Button 组件属性。使用 Slot 自定义按钮时,需自行控制取消事件", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -34919,12 +36685,12 @@ "field_category": 1, "field_name": "closeBtn", "field_type": [ - "1", + "4", "8" ], - "field_default_value": "", + "field_default_value": "false", "field_enum": "", - "field_desc_zh": "是否展示关闭按钮,值为 true 显示默认关闭按钮;值为 false 则不显示关闭按钮;使用 Object 时透传至图标组件", + "field_desc_zh": "是否展示关闭按钮,值为 `true` 显示默认关闭按钮;值为 `false` 则不显示关闭按钮;使用 Object 时透传至图标组件", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -34945,7 +36711,7 @@ "Miniprogram" ], "field_type_text": [ - "String", + "Boolean", "Object" ] }, @@ -35102,7 +36868,7 @@ ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "确认按钮。值为 null 则不显示确认按钮。值类型为字符串,则表示自定义按钮文本,值类型为 Object 则表示透传 Button 组件属性。使用 TNode 自定义按钮时,需自行控制确认事件", + "field_desc_zh": "确认按钮。值为 null 则不显示确认按钮。值类型为字符串,则表示自定义按钮文本,值类型为 Object 则表示透传 Button 组件属性。使用 Slot 自定义按钮时,需自行控制确认事件", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -36368,7 +38134,7 @@ "field_desc_zh": "关闭事件,点击 取消按钮 或 点击蒙层 时触发", "field_desc_en": null, "field_required": 0, - "event_input": "(trigger: DialogEventSource)【type DialogEventSource = 'cancel' | 'overlay'】", + "event_input": "(trigger: DialogEventSource)【type DialogEventSource = 'cancel' | 'overlay' | 'close-btn'】", "create_time": "2022-04-06 08:54:02", "update_time": "2022-04-06 08:54:02", "event_output": null, @@ -36660,6 +38426,171 @@ ], "field_type_text": [] }, + { + "id": 1712055083, + "platform_framework": [ + "64" + ], + "component": "Dialog", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 10:51:23", + "update_time": "2024-04-02 10:51:23", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712055131, + "platform_framework": [ + "64" + ], + "component": "Dialog", + "field_category": 128, + "field_name": "t-class-action", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "操作样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 10:52:11", + "update_time": "2024-04-02 10:52:11", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712055126, + "platform_framework": [ + "64" + ], + "component": "Dialog", + "field_category": 128, + "field_name": "t-class-cancel", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "取消样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 10:52:06", + "update_time": "2024-04-02 10:52:06", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712055121, + "platform_framework": [ + "64" + ], + "component": "Dialog", + "field_category": 128, + "field_name": "t-class-confirm", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "确认样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 10:52:01", + "update_time": "2024-04-02 10:52:01", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712055104, + "platform_framework": [ + "64" + ], + "component": "Dialog", + "field_category": 128, + "field_name": "t-class-content", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "内容样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 10:51:44", + "update_time": "2024-04-02 10:51:44", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 3325, "platform_framework": [ @@ -37571,43 +39502,6 @@ "TNode" ] }, - { - "id": 1384, - "platform_framework": [ - "64" - ], - "component": "Divider", - "field_category": 1, - "field_name": "externalClasses", - "field_type": [ - "16" - ], - "field_default_value": "", - "field_enum": "", - "field_desc_zh": "组件类名,分别用于设置 组件外层类名、分隔线类名 等", - "field_desc_en": null, - "field_required": 0, - "event_input": "", - "create_time": "2021-08-01 11:55:05", - "update_time": "2021-08-03 08:53:36", - "event_output": null, - "custom_field_type": "['t-class', 't-class-line', 't-class-content']", - "syntactic_sugar": null, - "readonly": 1, - "html_attribute": 0, - "trigger_elements": "", - "deprecated": 0, - "version": null, - "test_description": null, - "support_default_value": 0, - "field_category_text": "Props", - "platform_framework_text": [ - "Miniprogram" - ], - "field_type_text": [ - "Array" - ] - }, { "id": 232, "platform_framework": [ @@ -37694,6 +39588,72 @@ "String" ] }, + { + "id": 1711969012, + "platform_framework": [ + "64" + ], + "component": "Divider", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 10:56:52", + "update_time": "2024-04-01 10:56: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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1711969030, + "platform_framework": [ + "64" + ], + "component": "Divider", + "field_category": 128, + "field_name": "t-class-content", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "内容样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 10:57:10", + "update_time": "2024-04-01 10:57:10", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 692, "platform_framework": [ @@ -37973,7 +39933,7 @@ "field_type": [ "4" ], - "field_default_value": "undefined", + "field_default_value": "true", "field_enum": "", "field_desc_zh": "点击蒙层时是否触发抽屉关闭事件", "field_desc_en": null, @@ -38367,7 +40327,7 @@ "create_time": "2023-02-28 12:04:36", "update_time": "2023-02-28 12:04:36", "event_output": null, - "custom_field_type": "DrawerItem[] 【interface DrawerItem { title: string; icon: string; }】", + "custom_field_type": "DrawerItem[] 【interface DrawerItem { title: string; icon: string; }】。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/drawer/type.ts)", "syntactic_sugar": null, "readonly": 1, "html_attribute": 0, @@ -38990,10 +40950,10 @@ "field_type": [], "field_default_value": "", "field_enum": "", - "field_desc_zh": "关闭时触发", + "field_desc_zh": "关闭时触发。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/drawer/type.ts)。
`type TriggerSource = 'overlay'`
", "field_desc_en": null, "field_required": 0, - "event_input": "(trigger: TriggerSource)【type TriggerSource = 'overlay'】", + "event_input": "(trigger: TriggerSource)", "create_time": "2022-04-06 08:50:33", "update_time": "2022-04-06 08:50:33", "event_output": null, @@ -41321,6 +43281,45 @@ ], "field_type_text": [] }, + { + "id": 1712056353, + "platform_framework": [ + "8", + "16", + "32", + "64" + ], + "component": "DropdownItem", + "field_category": 2, + "field_name": "close", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "关闭时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 11:12:33", + "update_time": "2024-04-02 11:12:33", + "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": "Events", + "platform_framework_text": [ + "Vue(Mobile)", + "React(Mobile)", + "Angular(Mobile)", + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 2816, "platform_framework": [ @@ -41397,6 +43396,243 @@ ], "field_type_text": [] }, + { + "id": 1712056340, + "platform_framework": [ + "8", + "16", + "32", + "64" + ], + "component": "DropdownItem", + "field_category": 2, + "field_name": "reset", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "点击重置时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 11:12:20", + "update_time": "2024-04-02 11:12:20", + "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": "Events", + "platform_framework_text": [ + "Vue(Mobile)", + "React(Mobile)", + "Angular(Mobile)", + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712056427, + "platform_framework": [ + "64" + ], + "component": "DropdownItem", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 11:13:47", + "update_time": "2024-04-02 11:13:47", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712056460, + "platform_framework": [ + "64" + ], + "component": "DropdownItem", + "field_category": 128, + "field_name": "t-class-column", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "菜单列样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 11:14:20", + "update_time": "2024-04-02 11:14:20", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712056465, + "platform_framework": [ + "64" + ], + "component": "DropdownItem", + "field_category": 128, + "field_name": "t-class-column-item", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "菜单列选项样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 11:14:25", + "update_time": "2024-04-02 11:14:25", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712056470, + "platform_framework": [ + "64" + ], + "component": "DropdownItem", + "field_category": 128, + "field_name": "t-class-column-item-label", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "菜单列选项标签样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 11:14:30", + "update_time": "2024-04-02 11:14:30", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712056454, + "platform_framework": [ + "64" + ], + "component": "DropdownItem", + "field_category": 128, + "field_name": "t-class-content", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "内容样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 11:14:14", + "update_time": "2024-04-02 11:14:14", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712056476, + "platform_framework": [ + "64" + ], + "component": "DropdownItem", + "field_category": 128, + "field_name": "t-class-footer ", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "底部样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 11:14:36", + "update_time": "2024-04-02 11:14:36", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 1690896981, "platform_framework": [ @@ -41480,7 +43716,132 @@ ] }, { - "id": 1696, + "id": 1696, + "platform_framework": [ + "8", + "16", + "32", + "64" + ], + "component": "DropdownMenu", + "field_category": 1, + "field_name": "duration", + "field_type": [ + "1", + "2" + ], + "field_default_value": "200", + "field_enum": "", + "field_desc_zh": "动画时长", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2021-09-21 07:12:17", + "update_time": "2022-04-11 09:30:58", + "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": [ + "Vue(Mobile)", + "React(Mobile)", + "Angular(Mobile)", + "Miniprogram" + ], + "field_type_text": [ + "String", + "Number" + ] + }, + { + "id": 3178, + "platform_framework": [ + "64" + ], + "component": "DropdownMenu", + "field_category": 1, + "field_name": "externalClasses", + "field_type": [ + "16" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "组件类名,分别用于设置 组件外层类名、菜单标签、菜单图标类名 等", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2022-11-07 14:50:29", + "update_time": "2022-11-07 14:50:29", + "event_output": null, + "custom_field_type": "['t-class', 't-class-item', 't-class-label', 't-class-icon']", + "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": [ + "Array" + ] + }, + { + "id": 1697, + "platform_framework": [ + "8", + "16", + "32", + "64" + ], + "component": "DropdownMenu", + "field_category": 1, + "field_name": "showOverlay", + "field_type": [ + "4" + ], + "field_default_value": "true", + "field_enum": "", + "field_desc_zh": "是否显示遮罩层", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2021-09-21 07:13:07", + "update_time": "2022-04-27 09:48:20", + "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": [ + "Vue(Mobile)", + "React(Mobile)", + "Angular(Mobile)", + "Miniprogram" + ], + "field_type_text": [ + "Boolean" + ] + }, + { + "id": 2570, "platform_framework": [ "8", "16", @@ -41489,19 +43850,18 @@ ], "component": "DropdownMenu", "field_category": 1, - "field_name": "duration", + "field_name": "zIndex", "field_type": [ - "1", "2" ], - "field_default_value": "200", + "field_default_value": "11600", "field_enum": "", - "field_desc_zh": "动画时长", + "field_desc_zh": "菜单栏 z-index 层级", "field_desc_en": null, "field_required": 0, "event_input": "", - "create_time": "2021-09-21 07:12:17", - "update_time": "2022-04-11 09:30:58", + "create_time": "2022-04-14 02:56:41", + "update_time": "2022-04-14 02:56:41", "event_output": null, "custom_field_type": null, "syntactic_sugar": null, @@ -41520,31 +43880,61 @@ "Miniprogram" ], "field_type_text": [ - "String", "Number" ] }, { - "id": 3178, + "id": 1712055913, "platform_framework": [ "64" ], "component": "DropdownMenu", - "field_category": 1, - "field_name": "externalClasses", - "field_type": [ - "16" + "field_category": 2, + "field_name": "close", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "菜单关闭时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 11:05:13", + "update_time": "2024-04-02 11:05:13", + "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": "Events", + "platform_framework_text": [ + "Miniprogram" ], + "field_type_text": [] + }, + { + "id": 1712055867, + "platform_framework": [ + "64" + ], + "component": "DropdownMenu", + "field_category": 2, + "field_name": "open", + "field_type": [], "field_default_value": "", "field_enum": "", - "field_desc_zh": "组件类名,分别用于设置 组件外层类名、菜单标签、菜单图标类名 等", + "field_desc_zh": "菜单展开时触发", "field_desc_en": null, "field_required": 0, "event_input": "", - "create_time": "2022-11-07 14:50:29", - "update_time": "2022-11-07 14:50:29", + "create_time": "2024-04-02 11:04:27", + "update_time": "2024-04-02 11:04:27", "event_output": null, - "custom_field_type": "['t-class', 't-class-item', 't-class-label', 't-class-icon']", + "custom_field_type": null, "syntactic_sugar": null, "readonly": 1, "html_attribute": 0, @@ -41553,36 +43943,62 @@ "version": "", "test_description": null, "support_default_value": 0, - "field_category_text": "Props", + "field_category_text": "Events", "platform_framework_text": [ "Miniprogram" ], - "field_type_text": [ - "Array" - ] + "field_type_text": [] }, { - "id": 1697, + "id": 1712055236, "platform_framework": [ - "8", - "16", - "32", "64" ], "component": "DropdownMenu", - "field_category": 1, - "field_name": "showOverlay", - "field_type": [ - "4" + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 10:53:56", + "update_time": "2024-04-02 10:53:56", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" ], - "field_default_value": "true", + "field_type_text": [] + }, + { + "id": 1712055221, + "platform_framework": [ + "64" + ], + "component": "DropdownMenu", + "field_category": 128, + "field_name": "t-class-icon", + "field_type": [], + "field_default_value": "", "field_enum": "", - "field_desc_zh": "是否显示遮罩层", + "field_desc_zh": "图标样式类", "field_desc_en": null, "field_required": 0, "event_input": "", - "create_time": "2021-09-21 07:13:07", - "update_time": "2022-04-27 09:48:20", + "create_time": "2024-04-02 10:53:41", + "update_time": "2024-04-02 10:53:41", "event_output": null, "custom_field_type": null, "syntactic_sugar": null, @@ -41593,39 +44009,62 @@ "version": "", "test_description": null, "support_default_value": 0, - "field_category_text": "Props", + "field_category_text": "External Classes", "platform_framework_text": [ - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", "Miniprogram" ], - "field_type_text": [ - "Boolean" - ] + "field_type_text": [] }, { - "id": 2570, + "id": 1712055230, "platform_framework": [ - "8", - "16", - "32", "64" ], "component": "DropdownMenu", - "field_category": 1, - "field_name": "zIndex", - "field_type": [ - "2" + "field_category": 128, + "field_name": "t-class-item", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "选项样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 10:53:50", + "update_time": "2024-04-02 10:53:50", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" ], - "field_default_value": "11600", + "field_type_text": [] + }, + { + "id": 1712055225, + "platform_framework": [ + "64" + ], + "component": "DropdownMenu", + "field_category": 128, + "field_name": "t-class-label", + "field_type": [], + "field_default_value": "", "field_enum": "", - "field_desc_zh": "菜单栏 z-index 层级", + "field_desc_zh": "标签样式类", "field_desc_en": null, "field_required": 0, "event_input": "", - "create_time": "2022-04-14 02:56:41", - "update_time": "2022-04-14 02:56:41", + "create_time": "2024-04-02 10:53:45", + "update_time": "2024-04-02 10:53:45", "event_output": null, "custom_field_type": null, "syntactic_sugar": null, @@ -41636,16 +44075,11 @@ "version": "", "test_description": null, "support_default_value": 0, - "field_category_text": "Props", + "field_category_text": "External Classes", "platform_framework_text": [ - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", "Miniprogram" ], - "field_type_text": [ - "Number" - ] + "field_type_text": [] }, { "id": 1387, @@ -41666,7 +44100,7 @@ ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "操作区域", + "field_desc_zh": "操作按钮", "field_desc_en": "action block", "field_required": 0, "event_input": "", @@ -41798,7 +44232,7 @@ ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "图标名称。值为字符串表示图标名称,值为 Object 类型,表示透传至 icon", + "field_desc_zh": "图标名称。值为字符串表示图标名称,值为 `Object` 类型,表示透传至 `icon`。", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -41843,7 +44277,7 @@ ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "组件图片,可以完全自定义内容。值类型为字符串时,表示图片地址;值类型为对象时,则表示透传全部属性到图片组件,示例:``", + "field_desc_zh": "图片地址", "field_desc_en": "image url, or Image component props, or custom any node you need.", "field_required": 0, "event_input": "", @@ -42036,6 +44470,105 @@ "String" ] }, + { + "id": 1712050270, + "platform_framework": [ + "64" + ], + "component": "Empty", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 09:31:10", + "update_time": "2024-04-02 09:31:10", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712050244, + "platform_framework": [ + "64" + ], + "component": "Empty", + "field_category": 128, + "field_name": "t-class-description", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "描述样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 09:30:44", + "update_time": "2024-04-02 09:30:44", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712050210, + "platform_framework": [ + "64" + ], + "component": "Empty", + "field_category": 128, + "field_name": "t-class-image", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "图片样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 09:30:10", + "update_time": "2024-04-02 09:30:10", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 2690, "platform_framework": [ @@ -42944,6 +45477,45 @@ "Object" ] }, + { + "id": 1711969167, + "platform_framework": [ + "64" + ], + "component": "Fab", + "field_category": 1, + "field_name": "draggable", + "field_type": [ + "1", + "4" + ], + "field_default_value": "false", + "field_enum": "", + "field_desc_zh": "`true` / `'all'`可拖动
`'vertical'`可垂直拖动
`'horizontal'`可水平拖动
`false`禁止拖动", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 10:59:27", + "update_time": "2024-04-01 10:59: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", + "Boolean" + ] + }, { "id": 2500, "platform_framework": [ @@ -43037,7 +45609,7 @@ ], "field_default_value": "right: 16px; bottom: 32px;", "field_enum": "", - "field_desc_zh": "悬浮按钮的样式,常用于调整位置", + "field_desc_zh": "悬浮按钮的样式,常用于调整位置(即将废弃,建议使用 `style`)", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -43123,7 +45695,7 @@ "field_desc_zh": "悬浮按钮点击事件", "field_desc_en": null, "field_required": 0, - "event_input": "(context: {e: MouseEvent})", + "event_input": "({e: Event})", "create_time": "2022-03-31 10:47:02", "update_time": "2022-07-06 02:09:20", "event_output": null, @@ -43315,14 +45887,14 @@ ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "图标配置。`logo.icon` 表示图标链接地址,`logo.title` 表示标题文本,`logo.url` 表示链接跳转地址,`logo.target` 表示跳转方式", + "field_desc_zh": "图标配置。`logo.icon` 表示图标链接地址,`logo.title` 表示标题文本,`logo.url` 表示链接跳转地址", "field_desc_en": null, "field_required": 0, "event_input": "", "create_time": "2021-09-03 03:21:26", "update_time": "2021-09-03 03:23:15", "event_output": null, - "custom_field_type": "FooterLogo【interface FooterLogo { icon: string; title?: string; url?: string; target: string }】", + "custom_field_type": "FooterLogo【interface FooterLogo { icon: string; title?: string; titleUrl?: string }】", "syntactic_sugar": null, "readonly": 1, "html_attribute": 0, @@ -48902,18 +51474,19 @@ "field_category": 1, "field_name": "border", "field_type": [ - "4" + "4", + "8" ], "field_default_value": "false", "field_enum": "", - "field_desc_zh": "是否显示边框", + "field_desc_zh": "边框,默认不显示。值为 true 则显示默认边框,值类型为 object 则表示自定义边框样式", "field_desc_en": null, "field_required": 0, "event_input": "", "create_time": "2021-09-24 06:38:54", "update_time": "2021-10-01 01:43:11", "event_output": null, - "custom_field_type": "", + "custom_field_type": "boolean | { color?: string; width?: string; style?: 'solid' | 'dashed' | 'dotted' | 'double' | 'groove' | 'inset' | 'outset' }", "syntactic_sugar": null, "readonly": 1, "html_attribute": 0, @@ -48930,7 +51503,8 @@ "Miniprogram" ], "field_type_text": [ - "Boolean" + "Boolean", + "Object" ] }, { @@ -49173,6 +51747,39 @@ "String" ] }, + { + "id": 1712050838, + "platform_framework": [ + "64" + ], + "component": "Grid", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 09:40:38", + "update_time": "2024-04-02 09:40:38", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 2309, "platform_framework": [ @@ -49183,7 +51790,7 @@ ], "component": "GridItem", "field_category": 1, - "field_name": "badge", + "field_name": "badge-props", "field_type": [ "8" ], @@ -49387,12 +51994,11 @@ "field_name": "image", "field_type": [ "1", - "8", "64" ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "图片,可以是图片地址,也可以自定义图片节点,如果传入对象则透传至 image 组件", + "field_desc_zh": "图片,可以是图片地址,也可以自定义图片节点,值为 slot 的时候才能使用插槽", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -49417,7 +52023,6 @@ ], "field_type_text": [ "String", - "Object", "TNode" ] }, @@ -49620,6 +52225,210 @@ "String" ] }, + { + "id": 1712051111, + "platform_framework": [ + "64" + ], + "component": "GridItem", + "field_category": 2, + "field_name": "click", + "field_type": [ + "1", + "64" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "点击子项后触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 09:45:11", + "update_time": "2024-04-02 09:45:11", + "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": "Events", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [ + "String", + "TNode" + ] + }, + { + "id": 1712050904, + "platform_framework": [ + "64" + ], + "component": "GridItem", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 09:41:44", + "update_time": "2024-04-02 09:41:44", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712050926, + "platform_framework": [ + "64" + ], + "component": "GridItem", + "field_category": 128, + "field_name": "t-class-content", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "内容样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 09:42:06", + "update_time": "2024-04-02 09:42:06", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712050942, + "platform_framework": [ + "64" + ], + "component": "GridItem", + "field_category": 128, + "field_name": "t-class-description", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "描述样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 09:42:22", + "update_time": "2024-04-02 09:42:22", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712050932, + "platform_framework": [ + "64" + ], + "component": "GridItem", + "field_category": 128, + "field_name": "t-class-image", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "图片样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 09:42:12", + "update_time": "2024-04-02 09:42:12", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712050937, + "platform_framework": [ + "64" + ], + "component": "GridItem", + "field_category": 128, + "field_name": "t-class-text", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "文本样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 09:42:17", + "update_time": "2024-04-02 09:42:17", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 1708481239, "platform_framework": [ @@ -51980,43 +54789,6 @@ "String" ] }, - { - "id": 3365, - "platform_framework": [ - "64" - ], - "component": "Icon", - "field_category": 1, - "field_name": "externalClasses", - "field_type": [ - "16" - ], - "field_default_value": "", - "field_enum": "", - "field_desc_zh": "组件类名,分别用于设置 组件外层元素、图片图标、基础图标等元素类名。", - "field_desc_en": null, - "field_required": 0, - "event_input": "", - "create_time": "2023-03-09 03:10:00", - "update_time": "2023-03-09 03:10:00", - "event_output": null, - "custom_field_type": "['t-class']", - "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": [ - "Array" - ] - }, { "id": 1688, "platform_framework": [ @@ -52105,7 +54877,7 @@ ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "图标大小, 如 20, 20px, 48rpx, 默认单位是 px", + "field_desc_zh": "图标大小, 如 `20`, `20px`, `48rpx`, 默认单位是 `px`", "field_desc_en": "", "field_required": 0, "event_input": "", @@ -52184,7 +54956,7 @@ "field_desc_zh": "点击图标时触发", "field_desc_en": null, "field_required": 0, - "event_input": "(e: MouseEvent)", + "event_input": "", "create_time": "2023-03-09 03:10:46", "update_time": "2023-03-09 03:10:46", "event_output": null, @@ -52206,6 +54978,45 @@ "TNode" ] }, + { + "id": 1711969401, + "platform_framework": [ + "64" + ], + "component": "Icon", + "field_category": 128, + "field_name": "t-class", + "field_type": [ + "1", + "2" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 11:03:21", + "update_time": "2024-04-01 11:03:21", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [ + "String", + "Number" + ] + }, { "id": 246, "platform_framework": [ @@ -53243,7 +56054,7 @@ ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "高度,默认单位为 px", + "field_desc_zh": "高度,默认单位为`px`", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -53380,7 +56191,7 @@ ], "field_default_value": "'default'", "field_enum": "", - "field_desc_zh": "加载态内容。值为 `default` 则表示使用默认加载中风格;值为空或者 `slot` 表示使用插槽渲染,插槽名称为 `loading`;值为其他则表示普通文本内容,如“加载中”", + "field_desc_zh": "加载态内容。值为 `default` 则表示使用默认加载中风格;值为其他则表示普通文本内容,如“加载中”", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -53405,6 +56216,53 @@ "TNode" ] }, + { + "id": 1712052337, + "platform_framework": [ + "2", + "4", + "8", + "16", + "32", + "64" + ], + "component": "Image", + "field_category": 1, + "field_name": "mode", + "field_type": [ + "1" + ], + "field_default_value": "scaleToFill", + "field_enum": "scaleToFill/aspectFit/aspectFill/widthFix/heightFix/top/bottom/center/left/right/top left/top right/bottom left/bottom right", + "field_desc_zh": "图片裁剪、缩放的模式;[小程序官方文档](https://developers.weixin.qq.com/miniprogram/dev/component/image.html)", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 10:05:37", + "update_time": "2024-04-02 10:05:37", + "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(PC)", + "Angular(PC)", + "Vue(Mobile)", + "React(Mobile)", + "Angular(Mobile)", + "Miniprogram" + ], + "field_type_text": [ + "String" + ] + }, { "id": 2872, "platform_framework": [ @@ -53728,19 +56586,18 @@ "field_category": 1, "field_name": "src", "field_type": [ - "1", - "8" + "1" ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "用于显示图片的链接或原始图片文件对象", + "field_desc_zh": "图片链接", "field_desc_en": "src attribute of ``. image File can also be loaded", "field_required": 0, "event_input": "", "create_time": "2022-01-23 07:56:38", "update_time": "2022-07-21 10:18:47", "event_output": null, - "custom_field_type": "string | File", + "custom_field_type": "", "syntactic_sugar": null, "readonly": 1, "html_attribute": 0, @@ -53759,8 +56616,7 @@ "Miniprogram" ], "field_type_text": [ - "String", - "Object" + "String" ] }, { @@ -53937,7 +56793,7 @@ ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "width,默认单位为 px", + "field_desc_zh": "宽度,默认单位为`px`", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -54052,6 +56908,72 @@ ], "field_type_text": [] }, + { + "id": 1712052382, + "platform_framework": [ + "64" + ], + "component": "Image", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 10:06:22", + "update_time": "2024-04-02 10:06:22", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712052395, + "platform_framework": [ + "64" + ], + "component": "Image", + "field_category": 128, + "field_name": "t-class-load", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "加载样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 10:06:35", + "update_time": "2024-04-02 10:06:35", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 3289, "platform_framework": [ @@ -54208,12 +57130,11 @@ "field_category": 1, "field_name": "backgroundColor", "field_type": [ - "1", - "2" + "1" ], - "field_default_value": "rgba(0, 0, 0, .6)", + "field_default_value": "'rgba(0, 0, 0, 1)'", "field_enum": "", - "field_desc_zh": "即将废弃。遮罩的背景颜色", + "field_desc_zh": "遮罩的背景颜色", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -54234,8 +57155,7 @@ "Miniprogram" ], "field_type_text": [ - "String", - "Number" + "String" ] }, { @@ -54644,7 +57564,7 @@ "create_time": "2022-04-18 13:55:45", "update_time": "2022-05-30 13:26:12", "event_output": null, - "custom_field_type": "Array", + "custom_field_type": "Array", "syntactic_sugar": null, "readonly": 1, "html_attribute": 0, @@ -55110,7 +58030,7 @@ "html_attribute": 0, "trigger_elements": "", "deprecated": 0, - "version": "", + "version": "{\"Miniprogram\": \"v1.1.4\"}", "test_description": null, "support_default_value": 0, "field_category_text": "Props", @@ -55333,10 +58253,10 @@ "field_type": [], "field_default_value": "", "field_enum": "", - "field_desc_zh": "关闭时触发", + "field_desc_zh": "点击操作按钮button或者overlay时触发", "field_desc_en": null, "field_required": 0, - "event_input": "(trigger: 'overlay' | 'close-btn', visible: Boolean, index: Number)", + "event_input": "(trigger: 'overlay' | 'button', visible: Boolean, index: Number)", "create_time": "2023-05-04 02:46:15", "update_time": "2023-05-04 02:46:15", "event_output": null, @@ -55733,7 +58653,7 @@ ], "field_default_value": "[]", "field_enum": "", - "field_desc_zh": "索引列表的列表数据。每个元素包含三个子元素,index(string):索引值,例如1,2,3,...或A,B,C等;title(string): 索引标题,可不填将默认设为索引值;children(Array<{title: string}>): 子元素列表,title为子元素的展示文案。", + "field_desc_zh": "索引列表的列表数据。每个元素包含三个子元素,index(string):索引值,例如1,2,3,...或A,B,C等;title(string): 索引标题,可不填将默认设为索引值;children(Array<{title: string}>): 子元素列表,title为子元素的展示文案", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -55927,6 +58847,105 @@ "Number" ] }, + { + "id": 1711972926, + "platform_framework": [ + "64" + ], + "component": "Indexes", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": "class name of root node", + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 12:02:06", + "update_time": "2024-04-01 12:02:06", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1711972955, + "platform_framework": [ + "64" + ], + "component": "Indexes", + "field_category": 128, + "field_name": "t-class-sidebar", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "侧边栏样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 12:02:35", + "update_time": "2024-04-01 12:02:35", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1711972960, + "platform_framework": [ + "64" + ], + "component": "Indexes", + "field_category": 128, + "field_name": "t-class-sidebar-item", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "侧边栏选项样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 12:02:40", + "update_time": "2024-04-01 12:02:40", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 3235, "platform_framework": [ @@ -56120,6 +59139,43 @@ "String" ] }, + { + "id": 1712027041, + "platform_framework": [ + "64" + ], + "component": "Input", + "field_category": 1, + "field_name": "adjust-position", + "field_type": [ + "4" + ], + "field_default_value": "true", + "field_enum": "", + "field_desc_zh": "键盘弹起时,是否自动上推页面", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 03:04:01", + "update_time": "2024-04-02 03:04:01", + "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" + ] + }, { "id": 1738, "platform_framework": [ @@ -56216,6 +59272,80 @@ "Boolean" ] }, + { + "id": 1712026816, + "platform_framework": [ + "64" + ], + "component": "Input", + "field_category": 1, + "field_name": "always-embed", + "field_type": [ + "4" + ], + "field_default_value": "false", + "field_enum": "", + "field_desc_zh": "强制 input 处于同层状态,默认 focus 时 input 会切到非同层状态 (仅在 iOS 下生效)", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 03:00:16", + "update_time": "2024-04-02 03:00:16", + "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" + ] + }, + { + "id": 1712026485, + "platform_framework": [ + "64" + ], + "component": "Input", + "field_category": 1, + "field_name": "auto-focus", + "field_type": [ + "4" + ], + "field_default_value": "false", + "field_enum": "", + "field_desc_zh": "(即将废弃,请直接使用 focus )自动聚焦,拉起键盘", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 02:54:45", + "update_time": "2024-04-02 02:54:45", + "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" + ] + }, { "id": 2320, "platform_framework": [ @@ -56407,7 +59537,7 @@ ], "field_default_value": "false", "field_enum": "", - "field_desc_zh": "无边框模式", + "field_desc_zh": "是否开启无边框模式", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -56431,6 +59561,43 @@ "Boolean" ] }, + { + "id": 1712025475, + "platform_framework": [ + "64" + ], + "component": "Input", + "field_category": 1, + "field_name": "clear-trigger", + "field_type": [ + "1" + ], + "field_default_value": "always", + "field_enum": "always / focus", + "field_desc_zh": "清空图标触发方式,仅在输入框有值时有效", + "field_desc_en": "show clear icon, clicked to clear input value", + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 02:37:55", + "update_time": "2024-04-02 02:37: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": [ + "String" + ] + }, { "id": 742, "platform_framework": [ @@ -56446,11 +59613,12 @@ "field_category": 1, "field_name": "clearable", "field_type": [ - "4" + "4", + "8" ], "field_default_value": "false", "field_enum": "", - "field_desc_zh": "是否可清空", + "field_desc_zh": "是否可清空,默认不启动。值为 `true` 表示使用默认清除空按钮,值为 `Object` 表示透传至 `icon`", "field_desc_en": "show clear icon, clicked to clear input value", "field_required": 0, "event_input": "", @@ -56476,10 +59644,159 @@ "Angular(Mobile)", "Miniprogram" ], + "field_type_text": [ + "Boolean", + "Object" + ] + }, + { + "id": 1712026829, + "platform_framework": [ + "64" + ], + "component": "Input", + "field_category": 1, + "field_name": "confirm-hold", + "field_type": [ + "4" + ], + "field_default_value": "false", + "field_enum": "", + "field_desc_zh": "点击键盘右下角按钮时是否保持键盘不收起", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 03:00:29", + "update_time": "2024-04-02 03:00:29", + "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" ] }, + { + "id": 1712026588, + "platform_framework": [ + "64" + ], + "component": "Input", + "field_category": 1, + "field_name": "confirm-type", + "field_type": [ + "1" + ], + "field_default_value": "done", + "field_enum": "send/search/next/go/done", + "field_desc_zh": "设置键盘右下角按钮的文字,仅在type='text'时生效。
具体释义:
`send` 右下角按钮为“发送”;
`search` 右下角按钮为“搜索”;
`next` 右下角按钮为“下一个”;
`go` 右下角按钮为“前往”;
`done` 右下角按钮为“完成”。
[小程序官方文档](https://developers.weixin.qq.com/miniprogram/dev/component/input.html)", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 02:56:28", + "update_time": "2024-04-02 02:56:28", + "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": 1712026897, + "platform_framework": [ + "64" + ], + "component": "Input", + "field_category": 1, + "field_name": "cursor", + "field_type": [ + "2" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "指定 focus 时的光标位置", + "field_desc_en": null, + "field_required": 1, + "event_input": "", + "create_time": "2024-04-02 03:01:37", + "update_time": "2024-04-02 03:01:37", + "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": [ + "Number" + ] + }, + { + "id": 1712026462, + "platform_framework": [ + "64" + ], + "component": "Input", + "field_category": 1, + "field_name": "cursor-spacing", + "field_type": [ + "2" + ], + "field_default_value": "0", + "field_enum": "", + "field_desc_zh": "指定光标与键盘的距离,取 input 距离底部的距离和 cursor-spacing 指定的距离的最小值作为光标与键盘的距离", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 02:54:22", + "update_time": "2024-04-02 02:54:22", + "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": [ + "Number" + ] + }, { "id": 745, "platform_framework": [ @@ -56497,7 +59814,7 @@ "field_type": [ "4" ], - "field_default_value": "", + "field_default_value": "false", "field_enum": "", "field_desc_zh": "是否禁用输入框", "field_desc_en": "make input to be disabled", @@ -56609,6 +59926,43 @@ "Array" ] }, + { + "id": 1712026549, + "platform_framework": [ + "64" + ], + "component": "Input", + "field_category": 1, + "field_name": "focus", + "field_type": [ + "4" + ], + "field_default_value": "false", + "field_enum": "", + "field_desc_zh": "获取焦点", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 02:55:49", + "update_time": "2024-04-02 02:55:49", + "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" + ] + }, { "id": 2198, "platform_framework": [ @@ -56628,14 +59982,14 @@ ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "指定输入框展示值的格式。注意 `type=number` 时请勿使用,此功能建议更为使用 `InputNumber` 组件", + "field_desc_zh": "【开发中】指定输入框展示值的格式", "field_desc_en": "input value formatter, `type=number` does not work. if you need to format number, `InputNumber` Component might be better", "field_required": 0, "event_input": "", "create_time": "2022-01-21 08:42:58", "update_time": "2022-03-24 05:33:11", "event_output": null, - "custom_field_type": "InputFormatType【type InputFormatType = (value: string) => string】", + "custom_field_type": "InputFormatType【type InputFormatType = (value: InputValue) => number | string】", "syntactic_sugar": null, "readonly": 1, "html_attribute": 0, @@ -56658,6 +60012,43 @@ "Function" ] }, + { + "id": 1712027060, + "platform_framework": [ + "64" + ], + "component": "Input", + "field_category": 1, + "field_name": "hold-keyboard", + "field_type": [ + "4" + ], + "field_default_value": "false", + "field_enum": "", + "field_desc_zh": "focus时,点击页面的时候不收起键盘", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 03:04:20", + "update_time": "2024-04-02 03:04:20", + "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" + ] + }, { "id": 2429, "platform_framework": [ @@ -56855,12 +60246,11 @@ "field_category": 1, "field_name": "maxlength", "field_type": [ - "1", "2" ], - "field_default_value": "", + "field_default_value": "-1", "field_enum": "", - "field_desc_zh": "用户最多可以输入的文本长度,一个中文等于一个计数长度。值为空,则表示不限制输入长度。`maxcharacter` 和 `maxlength` 二选一使用", + "field_desc_zh": "用户最多可以输入的文本长度,一个中文等于一个计数长度。默认为 -1,不限制输入长度。`maxcharacter` 和 `maxlength` 二选一使用", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -56887,7 +60277,6 @@ "Miniprogram" ], "field_type_text": [ - "String", "Number" ] }, @@ -56938,6 +60327,43 @@ "String" ] }, + { + "id": 1712026279, + "platform_framework": [ + "64" + ], + "component": "Input", + "field_category": 1, + "field_name": "password", + "field_type": [ + "4" + ], + "field_default_value": "false", + "field_enum": "", + "field_desc_zh": "是否是密码类型(已废弃,请更为使用 type 指定输入框类型)", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 02:51:19", + "update_time": "2024-04-02 02:51:19", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 1, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [ + "Boolean" + ] + }, { "id": 748, "platform_framework": [ @@ -56987,6 +60413,80 @@ "String" ] }, + { + "id": 1712026378, + "platform_framework": [ + "64" + ], + "component": "Input", + "field_category": 1, + "field_name": "placeholder-class\t", + "field_type": [ + "1" + ], + "field_default_value": "input-placeholder", + "field_enum": "", + "field_desc_zh": "指定 placeholder 的样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 02:52:58", + "update_time": "2024-04-02 02:52:58", + "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": 1712026359, + "platform_framework": [ + "64" + ], + "component": "Input", + "field_category": 1, + "field_name": "placeholder-style", + "field_type": [ + "1" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "指定 placeholder 的样式", + "field_desc_en": null, + "field_required": 1, + "event_input": "", + "create_time": "2024-04-02 02:52:39", + "update_time": "2024-04-02 02:52:39", + "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": 743, "platform_framework": [ @@ -57049,7 +60549,7 @@ ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "组件前置图标。值为字符串表示图标名称,值为 Object 类型,表示透传至 icon", + "field_desc_zh": "组件前置图标。值为字符串表示图标名称,值为 `Object` 类型,表示透传至 `icon`", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -57094,7 +60594,7 @@ ], "field_default_value": "false", "field_enum": "", - "field_desc_zh": "只读状态", + "field_desc_zh": "【开发中】只读状态", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -57124,6 +60624,302 @@ "Boolean" ] }, + { + "id": 1712027133, + "platform_framework": [ + "64" + ], + "component": "Input", + "field_category": 1, + "field_name": "safe-password-cert-path", + "field_type": [ + "1" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "安全键盘加密公钥的路径,只支持包内路径", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 03:05:33", + "update_time": "2024-04-02 03:05:33", + "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": 1712027232, + "platform_framework": [ + "64" + ], + "component": "Input", + "field_category": 1, + "field_name": "safe-password-custom-hash", + "field_type": [ + "1" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "安全键盘计算 hash 的算法表达式,如 `md5(sha1('foo' + sha256(sm3(password + 'bar'))))`", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 03:07:12", + "update_time": "2024-04-02 03:07:12", + "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": 1712027153, + "platform_framework": [ + "64" + ], + "component": "Input", + "field_category": 1, + "field_name": "safe-password-length", + "field_type": [ + "2" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "安全键盘输入密码长度", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 03:05:53", + "update_time": "2024-04-02 03:05:53", + "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": [ + "Number" + ] + }, + { + "id": 1712027186, + "platform_framework": [ + "64" + ], + "component": "Input", + "field_category": 1, + "field_name": "safe-password-nonce", + "field_type": [ + "1" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "安全键盘加密盐值", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 03:06:26", + "update_time": "2024-04-02 03:06:26", + "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": 1712027200, + "platform_framework": [ + "64" + ], + "component": "Input", + "field_category": 1, + "field_name": "safe-password-salt", + "field_type": [ + "1" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "安全键盘计算 hash 盐值,若指定custom-hash 则无效", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 03:06:40", + "update_time": "2024-04-02 03:06:40", + "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": 1712027168, + "platform_framework": [ + "64" + ], + "component": "Input", + "field_category": 1, + "field_name": "safe-password-time-stamp", + "field_type": [ + "2" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "安全键盘加密时间戳", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 03:06:08", + "update_time": "2024-04-02 03:06:08", + "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": [ + "Number" + ] + }, + { + "id": 1712026971, + "platform_framework": [ + "64" + ], + "component": "Input", + "field_category": 1, + "field_name": "selection-end", + "field_type": [ + "2" + ], + "field_default_value": "-1", + "field_enum": "", + "field_desc_zh": "光标结束位置,自动聚集时有效,需与 selection-start 搭配使用", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 03:02:51", + "update_time": "2024-04-02 03:02:51", + "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": [ + "Number" + ] + }, + { + "id": 1712026955, + "platform_framework": [ + "64" + ], + "component": "Input", + "field_category": 1, + "field_name": "selection-start", + "field_type": [ + "2" + ], + "field_default_value": "-1", + "field_enum": "", + "field_desc_zh": "光标起始位置,自动聚集时有效,需与 selection-end 搭配使用", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 03:02:35", + "update_time": "2024-04-02 03:02:35", + "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": [ + "Number" + ] + }, { "id": 2358, "platform_framework": [ @@ -57261,9 +61057,9 @@ "field_type": [ "1" ], - "field_default_value": "small", + "field_default_value": "medium", "field_enum": "small/medium", - "field_desc_zh": "已废弃。输入框尺寸", + "field_desc_zh": "输入框尺寸", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -57275,7 +61071,7 @@ "readonly": 1, "html_attribute": 0, "trigger_elements": "", - "deprecated": 0, + "deprecated": 1, "version": "", "test_description": null, "support_default_value": 0, @@ -57307,9 +61103,9 @@ "field_type": [ "1" ], - "field_default_value": "undefined", - "field_enum": "default/success/warning/error", - "field_desc_zh": "输入框状态。默认情况会由组件内部根据实际情况呈现,如果文本过长引起的状态变化", + "field_default_value": "", + "field_enum": "success/warning/error", + "field_desc_zh": "输入框状态", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -57489,7 +61285,7 @@ ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "后置文本内容,值为字符串则表示图标名称", + "field_desc_zh": "后置文本内容。值为字符串则表示图标名称,值为 `Object` 类型,表示透传至 `icon`。", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -57613,6 +61409,43 @@ "String" ] }, + { + "id": 1712026101, + "platform_framework": [ + "64" + ], + "component": "Input", + "field_category": 1, + "field_name": "type", + "field_type": [ + "1" + ], + "field_default_value": "text", + "field_enum": "text/number/idcard/digit/safe-password/password/nickname", + "field_desc_zh": "输入框类型", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 02:48:21", + "update_time": "2024-04-02 02:48:21", + "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": 740, "platform_framework": [ @@ -57640,7 +61473,7 @@ "create_time": "2021-01-31 08:08:18", "update_time": "2022-01-21 04:14:32", "event_output": null, - "custom_field_type": "T【type InputValue = string | number】", + "custom_field_type": "InputValue【type InputValue = string | number】", "syntactic_sugar": "v-model", "readonly": 1, "html_attribute": 0, @@ -57794,7 +61627,7 @@ "field_type": [], "field_default_value": "", "field_enum": "", - "field_desc_zh": "输入框值发生变化时触发", + "field_desc_zh": "输入框值发生变化时触发;cursor 为光标位置;", "field_desc_en": null, "field_required": 0, "event_input": "(value: InputValue, cursor: number, keyCode: number)", @@ -57929,6 +61762,39 @@ ], "field_type_text": [] }, + { + "id": 1712027432, + "platform_framework": [ + "64" + ], + "component": "Input", + "field_category": 2, + "field_name": "click", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "点击事件。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/input/type.ts)。
`type InputTrigger = 'suffix' | 'suffix-icon';`
", + "field_desc_en": null, + "field_required": 0, + "event_input": "(trigger: InputTrigger)", + "create_time": "2024-04-02 03:10:32", + "update_time": "2024-04-02 03:10:32", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "{\"Miniprogram\": \"0.32.0\"}", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 2281, "platform_framework": [ @@ -58371,6 +62237,39 @@ ], "field_type_text": [] }, + { + "id": 1712027364, + "platform_framework": [ + "64" + ], + "component": "Input", + "field_category": 2, + "field_name": "nicknamereview", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "用户昵称审核完毕后触发,仅在 type 为 \"nickname\" 时有效", + "field_desc_en": null, + "field_required": 0, + "event_input": "(pass: boolean, timeout: boolean)", + "create_time": "2024-04-02 03:09:24", + "update_time": "2024-04-02 03:09:24", + "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": "Events", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 2116, "platform_framework": [ @@ -60061,7 +63960,8 @@ "field_category": 1, "field_name": "content", "field_type": [ - "1" + "1", + "64" ], "field_default_value": "", "field_enum": "", @@ -60086,7 +63986,8 @@ "Miniprogram" ], "field_type_text": [ - "String" + "String", + "TNode" ] }, { @@ -60147,7 +64048,7 @@ "field_type": [ "4" ], - "field_default_value": "", + "field_default_value": "false", "field_enum": "", "field_desc_zh": "禁用链接", "field_desc_en": "make link to be disabled", @@ -60222,43 +64123,6 @@ "Boolean" ] }, - { - "id": 3368, - "platform_framework": [ - "64" - ], - "component": "Link", - "field_category": 1, - "field_name": "externalClasses", - "field_type": [ - "16" - ], - "field_default_value": "", - "field_enum": "", - "field_desc_zh": "样式类名。", - "field_desc_en": null, - "field_required": 0, - "event_input": "", - "create_time": "2023-03-13 02:16:33", - "update_time": "2023-03-13 02:16:33", - "event_output": null, - "custom_field_type": "['t-class', 't-class-hover', 't-class-prefix-icon', 't-class-content', 't-class-suffix-icon']", - "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": [ - "Array" - ] - }, { "id": 2900, "platform_framework": [ @@ -60403,7 +64267,7 @@ ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "与 navigator 原生组件属性保持一致,具体使用参考:https://developers.weixin.qq.com/miniprogram/dev/component/navigator.html。", + "field_desc_zh": "与 navigator 原生组件属性保持一致,具体使用参考:[微信开放文档](https://developers.weixin.qq.com/miniprogram/dev/component/navigator.html)。使用时请将形如 `open-type` 风格的属性名改为 `openType` 风格", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -60484,7 +64348,8 @@ "field_name": "prefixIcon", "field_type": [ "1", - "8" + "8", + "64" ], "field_default_value": "", "field_enum": "", @@ -60510,7 +64375,8 @@ ], "field_type_text": [ "String", - "Object" + "Object", + "TNode" ] }, { @@ -60562,6 +64428,43 @@ "String" ] }, + { + "id": 1711969735, + "platform_framework": [ + "64" + ], + "component": "Link", + "field_category": 1, + "field_name": "status", + "field_type": [ + "1" + ], + "field_default_value": "normal", + "field_enum": "normal/active/disabled", + "field_desc_zh": "组件状态", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 11:08:55", + "update_time": "2024-04-01 11:08:55", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 1, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [ + "String" + ] + }, { "id": 2898, "platform_framework": [ @@ -60577,6 +64480,8 @@ "field_category": 1, "field_name": "suffixIcon", "field_type": [ + "1", + "8", "64" ], "field_default_value": "", @@ -60608,6 +64513,8 @@ "Miniprogram" ], "field_type_text": [ + "String", + "Object", "TNode" ] }, @@ -60726,7 +64633,7 @@ ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "普通状态是否显示链接下划线", + "field_desc_zh": "是否显示链接下划线", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -60906,6 +64813,171 @@ ], "field_type_text": [] }, + { + "id": 1711969962, + "platform_framework": [ + "64" + ], + "component": "Link", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": "class name of root node", + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 11:12:42", + "update_time": "2024-04-01 11:12:42", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1711970091, + "platform_framework": [ + "64" + ], + "component": "Link", + "field_category": 128, + "field_name": "t-class-content", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "内容样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 11:14:51", + "update_time": "2024-04-01 11:14:51", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1711970044, + "platform_framework": [ + "64" + ], + "component": "Link", + "field_category": 128, + "field_name": "t-class-hover", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "悬停样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 11:14:04", + "update_time": "2024-04-01 11:14:04", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1711970084, + "platform_framework": [ + "64" + ], + "component": "Link", + "field_category": 128, + "field_name": "t-class-prefix-icon", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "前置图标样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 11:14:44", + "update_time": "2024-04-01 11:14:44", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1711970097, + "platform_framework": [ + "64" + ], + "component": "Link", + "field_category": 128, + "field_name": "t-class-suffix-icon", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "后置图标样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 11:14:57", + "update_time": "2024-04-01 11:14:57", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 904, "platform_framework": [ @@ -62507,6 +66579,43 @@ "Boolean" ] }, + { + "id": 1712056744, + "platform_framework": [ + "64" + ], + "component": "Loading", + "field_category": 1, + "field_name": "progress", + "field_type": [ + "2" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "加载进度", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 11:19:04", + "update_time": "2024-04-02 11:19:04", + "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": [ + "Number" + ] + }, { "id": 1282, "platform_framework": [ @@ -62605,9 +66714,9 @@ "field_type": [ "1" ], - "field_default_value": "'20px'", + "field_default_value": "'40rpx'", "field_enum": "", - "field_desc_zh": "尺寸,示例:20px", + "field_desc_zh": "尺寸,示例:40rpx/20px", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -62810,6 +66919,105 @@ "Number" ] }, + { + "id": 1712056666, + "platform_framework": [ + "64" + ], + "component": "Loading", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 11:17:46", + "update_time": "2024-04-02 11:17:46", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712056689, + "platform_framework": [ + "64" + ], + "component": "Loading", + "field_category": 128, + "field_name": "t-class-indicator", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "指示符样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 11:18:09", + "update_time": "2024-04-02 11:18:09", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712056683, + "platform_framework": [ + "64" + ], + "component": "Loading", + "field_category": 128, + "field_name": "t-class-text", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "文本样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 11:18:03", + "update_time": "2024-04-02 11:18:03", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 843, "platform_framework": [ @@ -63923,9 +68131,9 @@ "8", "64" ], - "field_default_value": "", + "field_default_value": "false", "field_enum": "", - "field_desc_zh": "关闭按钮,可以自定义。值为 true 显示默认关闭按钮,值为 false 不显示关闭按钮。值类型为 string 则直接显示值,如:“关闭”。也可以完全自定义按钮", + "field_desc_zh": "关闭按钮,可以自定义。值为 true 显示默认关闭按钮,值为 false 不显示关闭按钮。值类型为 string ,如:'user',则显示组件内置图标。值类型为 object ,则会透传至 icon 组件", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -64154,14 +68362,14 @@ ], "field_default_value": "true", "field_enum": "", - "field_desc_zh": "消息提醒前面的图标。值为 true 则根据 theme 显示对应的图标,值为 false 则不显示图标。值为 'info' 或 'bell' 则显示组件内置图标。也可以完全自定义图标节点", + "field_desc_zh": "消息提醒前面的图标,可以自定义。值为 true 则根据 theme 显示对应的图标,值为 false 则不显示图标。值为 true 显示默认关闭按钮,值为 false 不显示关闭按钮。值类型为 string ,如:'info',则显示组件内置图标。值类型为 object ,则会透传至 icon 组件", "field_desc_en": null, "field_required": 0, "event_input": "", "create_time": "2021-08-04 02:57:00", "update_time": "2021-12-07 11:30:14", "event_output": null, - "custom_field_type": "boolean | 'info' | 'bell'", + "custom_field_type": "", "syntactic_sugar": null, "readonly": 1, "html_attribute": 0, @@ -64199,7 +68407,7 @@ ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "链接名称。值为字符串表示链接名称,值为 Object 类型,表示透传至 Link", + "field_desc_zh": "链接名称。。值为字符串表示链接名称,值为 `Object` 类型,表示透传至 `Link`", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -64212,7 +68420,7 @@ "html_attribute": 0, "trigger_elements": "", "deprecated": 0, - "version": "{\"Miniprogram\":\"1.0.0\"}", + "version": "", "test_description": null, "support_default_value": 0, "field_category_text": "Props", @@ -64289,7 +68497,7 @@ ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "相对于 placement 的偏移量,示例:[-10, 20] 或 ['10rpx', '8rpx']", + "field_desc_zh": "相对于 placement 的偏移量,默认单位 rpx。示例:[-10, 20] 或 ['10rpx', '8rpx']", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -64633,24 +68841,194 @@ ] }, { - "id": 3016, + "id": 3016, + "platform_framework": [ + "1", + "2", + "4" + ], + "component": "Message", + "field_category": 2, + "field_name": "close", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "关闭消息时触发", + "field_desc_en": "close message event", + "field_required": 0, + "event_input": "(context: { trigger: 'close-click' | 'duration-end', e?: MouseEvent })", + "create_time": "2022-09-29 04:57:05", + "update_time": "2022-09-29 04:57:05", + "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": "Events", + "platform_framework_text": [ + "Vue(PC)", + "React(PC)", + "Angular(PC)" + ], + "field_type_text": [] + }, + { + "id": 3437, + "platform_framework": [ + "8", + "16", + "32" + ], + "component": "Message", + "field_category": 2, + "field_name": "close", + "field_type": [ + "1", + "64" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "关闭消息时触发", + "field_desc_en": "close message event", + "field_required": 0, + "event_input": "(context: { trigger: 'close-click' | 'duration-end', e?: MouseEvent })", + "create_time": "2023-03-28 07:15:58", + "update_time": "2023-03-28 07:15:58", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 1, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "Vue(Mobile)", + "React(Mobile)", + "Angular(Mobile)" + ], + "field_type_text": [ + "String", + "TNode" + ] + }, + { + "id": 103, + "platform_framework": [ + "1", + "2", + "4", + "8", + "16", + "32", + "64" + ], + "component": "Message", + "field_category": 2, + "field_name": "closeBtnClick", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "当关闭按钮存在时,用户点击关闭按钮触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(context: { e: MouseEvent })", + "create_time": "2020-11-20 04:17:09", + "update_time": "2021-11-28 10:37:22", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "MouseEvent", + "deprecated": 0, + "version": null, + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "Vue(PC)", + "React(PC)", + "Angular(PC)", + "Vue(Mobile)", + "React(Mobile)", + "Angular(Mobile)", + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1984, + "platform_framework": [ + "8", + "16", + "32" + ], + "component": "Message", + "field_category": 2, + "field_name": "closed", + "field_type": [ + "32" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "关闭消息并且动画结束后触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2021-11-28 10:51:22", + "update_time": "2021-11-28 10:51:44", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 1, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "Vue(Mobile)", + "React(Mobile)", + "Angular(Mobile)" + ], + "field_type_text": [ + "Function" + ] + }, + { + "id": 104, "platform_framework": [ "1", "2", - "4" + "4", + "8", + "16", + "32", + "64" ], "component": "Message", "field_category": 2, - "field_name": "close", + "field_name": "durationEnd", "field_type": [], "field_default_value": "", "field_enum": "", - "field_desc_zh": "关闭消息时触发", - "field_desc_en": "close message event", + "field_desc_zh": "计时结束后触发", + "field_desc_en": null, "field_required": 0, - "event_input": "(context: { trigger: 'close-click' | 'duration-end', e?: MouseEvent })", - "create_time": "2022-09-29 04:57:05", - "update_time": "2022-09-29 04:57:05", + "event_input": "", + "create_time": "2020-11-20 04:19:15", + "update_time": "2021-11-28 10:37:27", "event_output": null, "custom_field_type": null, "syntactic_sugar": null, @@ -64658,46 +69036,48 @@ "html_attribute": 0, "trigger_elements": "", "deprecated": 0, - "version": "", + "version": null, "test_description": null, "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)" + "Angular(PC)", + "Vue(Mobile)", + "React(Mobile)", + "Angular(Mobile)", + "Miniprogram" ], "field_type_text": [] }, { - "id": 3437, + "id": 3411, "platform_framework": [ "8", "16", - "32" + "32", + "64" ], "component": "Message", "field_category": 2, - "field_name": "close", - "field_type": [ - "1", - "64" - ], + "field_name": "link-click", + "field_type": [], "field_default_value": "", "field_enum": "", - "field_desc_zh": "关闭消息时触发", - "field_desc_en": "close message event", + "field_desc_zh": "当`link`链接存在时,点击链接文本时触发", + "field_desc_en": null, "field_required": 0, - "event_input": "(context: { trigger: 'close-click' | 'duration-end', e?: MouseEvent })", - "create_time": "2023-03-28 07:15:58", - "update_time": "2023-03-28 07:15:58", + "event_input": "(context: { e: MouseEvent })", + "create_time": "2023-03-13 02:16:49", + "update_time": "2023-03-13 02:16:49", "event_output": null, "custom_field_type": null, "syntactic_sugar": null, "readonly": 1, "html_attribute": 0, "trigger_elements": "", - "deprecated": 1, + "deprecated": 0, "version": "", "test_description": null, "support_default_value": 0, @@ -64705,60 +69085,54 @@ "platform_framework_text": [ "Vue(Mobile)", "React(Mobile)", - "Angular(Mobile)" + "Angular(Mobile)", + "Miniprogram" ], - "field_type_text": [ - "String", - "TNode" - ] + "field_type_text": [] }, { - "id": 103, + "id": 1982, "platform_framework": [ - "1", - "2", - "4", "8", "16", - "32", - "64" + "32" ], "component": "Message", "field_category": 2, - "field_name": "closeBtnClick", - "field_type": [], + "field_name": "open", + "field_type": [ + "32" + ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "当关闭按钮存在时,用户点击关闭按钮触发", + "field_desc_zh": "展示Message时触发", "field_desc_en": null, "field_required": 0, - "event_input": "(context: { e: MouseEvent })", - "create_time": "2020-11-20 04:17:09", - "update_time": "2021-11-28 10:37:22", + "event_input": "", + "create_time": "2021-11-28 10:49:12", + "update_time": "2021-11-28 10:50:15", "event_output": null, "custom_field_type": null, "syntactic_sugar": null, "readonly": 1, "html_attribute": 0, - "trigger_elements": "MouseEvent", - "deprecated": 0, - "version": null, + "trigger_elements": "", + "deprecated": 1, + "version": "", "test_description": null, "support_default_value": 0, "field_category_text": "Events", "platform_framework_text": [ - "Vue(PC)", - "React(PC)", - "Angular(PC)", "Vue(Mobile)", "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(Mobile)" ], - "field_type_text": [] + "field_type_text": [ + "Function" + ] }, { - "id": 1984, + "id": 1983, "platform_framework": [ "8", "16", @@ -64766,18 +69140,18 @@ ], "component": "Message", "field_category": 2, - "field_name": "closed", + "field_name": "opened", "field_type": [ "32" ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "关闭消息并且动画结束后触发", + "field_desc_zh": "展示Message时并且动画结束后触发", "field_desc_en": null, "field_required": 0, "event_input": "", - "create_time": "2021-11-28 10:51:22", - "update_time": "2021-11-28 10:51:44", + "create_time": "2021-11-28 10:50:50", + "update_time": "2021-11-28 10:51:51", "event_output": null, "custom_field_type": null, "syntactic_sugar": null, @@ -64799,28 +69173,22 @@ ] }, { - "id": 104, + "id": 1712057171, "platform_framework": [ - "1", - "2", - "4", - "8", - "16", - "32", "64" ], "component": "Message", - "field_category": 2, - "field_name": "durationEnd", + "field_category": 128, + "field_name": "t-class", "field_type": [], "field_default_value": "", "field_enum": "", - "field_desc_zh": "计时结束后触发", + "field_desc_zh": "根节点样式类", "field_desc_en": null, "field_required": 0, "event_input": "", - "create_time": "2020-11-20 04:19:15", - "update_time": "2021-11-28 10:37:27", + "create_time": "2024-04-02 11:26:11", + "update_time": "2024-04-02 11:26:11", "event_output": null, "custom_field_type": null, "syntactic_sugar": null, @@ -64828,41 +69196,32 @@ "html_attribute": 0, "trigger_elements": "", "deprecated": 0, - "version": null, + "version": "", "test_description": null, "support_default_value": 0, - "field_category_text": "Events", + "field_category_text": "External Classes", "platform_framework_text": [ - "Vue(PC)", - "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", "Miniprogram" ], "field_type_text": [] }, { - "id": 3411, + "id": 1712057208, "platform_framework": [ - "8", - "16", - "32", "64" ], "component": "Message", - "field_category": 2, - "field_name": "link-click", + "field_category": 128, + "field_name": "t-class-close-btn", "field_type": [], "field_default_value": "", "field_enum": "", - "field_desc_zh": "当link链接存在时,点击链接文本时触发", + "field_desc_zh": "关闭按钮样式类", "field_desc_en": null, "field_required": 0, - "event_input": "(context: { e: MouseEvent })", - "create_time": "2023-03-13 02:16:49", - "update_time": "2023-03-13 02:16:49", + "event_input": "", + "create_time": "2024-04-02 11:26:48", + "update_time": "2024-04-02 11:26:48", "event_output": null, "custom_field_type": null, "syntactic_sugar": null, @@ -64873,96 +69232,110 @@ "version": "", "test_description": null, "support_default_value": 0, - "field_category_text": "Events", + "field_category_text": "External Classes", "platform_framework_text": [ - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", "Miniprogram" ], "field_type_text": [] }, { - "id": 1982, + "id": 1712057193, "platform_framework": [ - "8", - "16", - "32" + "64" ], "component": "Message", - "field_category": 2, - "field_name": "open", - "field_type": [ - "32" - ], + "field_category": 128, + "field_name": "t-class-content", + "field_type": [], "field_default_value": "", "field_enum": "", - "field_desc_zh": "展示Message时触发", + "field_desc_zh": "内容样式类", "field_desc_en": null, "field_required": 0, "event_input": "", - "create_time": "2021-11-28 10:49:12", - "update_time": "2021-11-28 10:50:15", + "create_time": "2024-04-02 11:26:33", + "update_time": "2024-04-02 11:26:33", "event_output": null, "custom_field_type": null, "syntactic_sugar": null, "readonly": 1, "html_attribute": 0, "trigger_elements": "", - "deprecated": 1, + "deprecated": 0, "version": "", "test_description": null, "support_default_value": 0, - "field_category_text": "Events", + "field_category_text": "External Classes", "platform_framework_text": [ - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)" + "Miniprogram" ], - "field_type_text": [ - "Function" - ] + "field_type_text": [] }, { - "id": 1983, + "id": 1712057198, "platform_framework": [ - "8", - "16", - "32" + "64" ], "component": "Message", - "field_category": 2, - "field_name": "opened", - "field_type": [ - "32" + "field_category": 128, + "field_name": "t-class-icon", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "图标样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 11:26:38", + "update_time": "2024-04-02 11:26:38", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" ], + "field_type_text": [] + }, + { + "id": 1712057203, + "platform_framework": [ + "64" + ], + "component": "Message", + "field_category": 128, + "field_name": "t-class-link", + "field_type": [], "field_default_value": "", "field_enum": "", - "field_desc_zh": "展示Message时并且动画结束后触发", + "field_desc_zh": "链接样式类", "field_desc_en": null, "field_required": 0, "event_input": "", - "create_time": "2021-11-28 10:50:50", - "update_time": "2021-11-28 10:51:51", + "create_time": "2024-04-02 11:26:43", + "update_time": "2024-04-02 11:26:43", "event_output": null, "custom_field_type": null, "syntactic_sugar": null, "readonly": 1, "html_attribute": 0, "trigger_elements": "", - "deprecated": 1, + "deprecated": 0, "version": "", "test_description": null, "support_default_value": 0, - "field_category_text": "Events", + "field_category_text": "External Classes", "platform_framework_text": [ - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)" + "Miniprogram" ], - "field_type_text": [ - "Function" - ] + "field_type_text": [] }, { "id": 3218, @@ -65428,7 +69801,7 @@ ], "field_default_value": "1", "field_enum": "", - "field_desc_zh": "后退按钮后退层数,含义参考 [wx.navigateBack](https://developers.weixin.qq.com/miniprogram/dev/api/route/wx.navigateBack.html),特殊的,传入 0 不会发生执行 wx.navigateBack,只会触发一个 goback 事件供自行处理。", + "field_desc_zh": "后退按钮后退层数,含义参考 [wx.navigateBack](https://developers.weixin.qq.com/miniprogram/dev/api/route/wx.navigateBack.html),特殊的,传入 0 不会发生执行 wx.navigateBack", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -65452,43 +69825,6 @@ "Number" ] }, - { - "id": 1623, - "platform_framework": [ - "64" - ], - "component": "Navbar", - "field_category": 1, - "field_name": "externalClasses", - "field_type": [ - "16" - ], - "field_default_value": "", - "field_enum": "", - "field_desc_zh": "组件类名,分别用于设置组件外层元素、标题、左侧图标、首页图标、胶囊等元素类名", - "field_desc_en": null, - "field_required": 0, - "event_input": "", - "create_time": "2021-09-03 04:32:32", - "update_time": "2021-09-07 03:48:49", - "event_output": null, - "custom_field_type": "['t-class', 't-class-title', 't-class-left', 't-class-center', 't-class-capsule']", - "syntactic_sugar": null, - "readonly": 1, - "html_attribute": 0, - "trigger_elements": "", - "deprecated": 0, - "version": null, - "test_description": null, - "support_default_value": 0, - "field_category_text": "Props", - "platform_framework_text": [ - "Miniprogram" - ], - "field_type_text": [ - "Array" - ] - }, { "id": 1621, "platform_framework": [ @@ -66017,7 +70353,7 @@ "field_type": [], "field_default_value": "", "field_enum": "", - "field_desc_zh": "delta 值为 0 时,点击返回,触发该事件", + "field_desc_zh": "点击左侧箭头时触发", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -66179,6 +70515,270 @@ ], "field_type_text": [] }, + { + "id": 1711973180, + "platform_framework": [ + "64" + ], + "component": "Navbar", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 12:06:20", + "update_time": "2024-04-01 12:06:20", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1711973213, + "platform_framework": [ + "64" + ], + "component": "Navbar", + "field_category": 128, + "field_name": "t-class-capsule", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "左侧胶囊区域样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 12:06:53", + "update_time": "2024-04-01 12:06:53", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1711973196, + "platform_framework": [ + "64" + ], + "component": "Navbar", + "field_category": 128, + "field_name": "t-class-center", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "中间内容样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 12:06:36", + "update_time": "2024-04-01 12:06:36", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1711973208, + "platform_framework": [ + "64" + ], + "component": "Navbar", + "field_category": 128, + "field_name": "t-class-home-icon", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "首页图标样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 12:06:48", + "update_time": "2024-04-01 12:06:48", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1711973190, + "platform_framework": [ + "64" + ], + "component": "Navbar", + "field_category": 128, + "field_name": "t-class-left", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "左侧内容样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 12:06:30", + "update_time": "2024-04-01 12:06:30", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1711973200, + "platform_framework": [ + "64" + ], + "component": "Navbar", + "field_category": 128, + "field_name": "t-class-left-icon", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "左侧图标样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 12:06:40", + "update_time": "2024-04-01 12:06:40", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1711973218, + "platform_framework": [ + "64" + ], + "component": "Navbar", + "field_category": 128, + "field_name": "t-class-nav-btn", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "导航按钮样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 12:06:58", + "update_time": "2024-04-01 12:06:58", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1711973186, + "platform_framework": [ + "64" + ], + "component": "Navbar", + "field_category": 128, + "field_name": "t-class-title", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "标题样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 12:06:26", + "update_time": "2024-04-01 12:06:26", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 1095, "platform_framework": [ @@ -66307,7 +70907,7 @@ ] }, { - "id": 1104, + "id": 1712057349, "platform_framework": [ "8", "16", @@ -66316,19 +70916,18 @@ ], "component": "NoticeBar", "field_category": 1, - "field_name": "extra", + "field_name": "interval", "field_type": [ - "1", - "64" + "2" ], - "field_default_value": "", + "field_default_value": "2000", "field_enum": "", - "field_desc_zh": "已废弃。右侧额外信息", + "field_desc_zh": "间隔时间【仅在 direction='vertical' 有效】", "field_desc_en": null, "field_required": 0, "event_input": "", - "create_time": "2021-04-10 02:18:16", - "update_time": "2022-04-19 07:07:01", + "create_time": "2024-04-02 11:29:09", + "update_time": "2024-04-02 11:29:09", "event_output": null, "custom_field_type": null, "syntactic_sugar": null, @@ -66336,7 +70935,7 @@ "html_attribute": 0, "trigger_elements": "", "deprecated": 0, - "version": null, + "version": "", "test_description": null, "support_default_value": 0, "field_category_text": "Props", @@ -66347,8 +70946,7 @@ "Miniprogram" ], "field_type_text": [ - "String", - "TNode" + "Number" ] }, { @@ -66368,7 +70966,7 @@ ], "field_default_value": "false", "field_enum": "", - "field_desc_zh": "跑马灯效果。speed 指速度控制;loop 指循环播放次数,值为 -1 表示循环播放,值为 0 表示不循环播放;delay 表示延迟多久开始播放", + "field_desc_zh": "跑马灯效果。speed 指速度控制;loop 指循环播放次数,值为 -1 表示循环播放,值为 0 表示不循环播放;delay 表示延迟多久开始播放【仅在 direction='horizontal' 有效】", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -66397,7 +70995,7 @@ ] }, { - "id": 3414, + "id": 1104, "platform_framework": [ "8", "16", @@ -66417,8 +71015,8 @@ "field_desc_en": null, "field_required": 0, "event_input": "", - "create_time": "2023-03-13 02:16:49", - "update_time": "2023-03-13 02:16:49", + "create_time": "2021-04-10 02:18:16", + "update_time": "2022-04-19 07:07:01", "event_output": null, "custom_field_type": null, "syntactic_sugar": null, @@ -66426,7 +71024,7 @@ "html_attribute": 0, "trigger_elements": "", "deprecated": 0, - "version": "", + "version": null, "test_description": null, "support_default_value": 0, "field_category_text": "Props", @@ -66491,11 +71089,14 @@ "field_category": 1, "field_name": "prefixIcon", "field_type": [ - "1" + "1", + "4", + "8", + "64" ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "前缀图标", + "field_desc_zh": "前缀图标。值为字符串表示图标名称,值为 `false` 表示不显示前缀图标,值为 `Object` 类型,表示透传至 `icon`,不传表示使用主题图标", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -66516,7 +71117,10 @@ "Miniprogram" ], "field_type_text": [ - "String" + "String", + "Boolean", + "Object", + "TNode" ] }, { @@ -66606,11 +71210,13 @@ "field_category": 1, "field_name": "suffixIcon", "field_type": [ - "1" + "1", + "8", + "64" ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "后缀图标", + "field_desc_zh": "后缀图标。值为字符串表示图标名称。值为 `Object` 类型,表示透传至 `icon`,不传表示不显示后缀图标", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -66631,7 +71237,9 @@ "Miniprogram" ], "field_type_text": [ - "String" + "String", + "Object", + "TNode" ] }, { @@ -66757,6 +71365,45 @@ ], "field_type_text": [] }, + { + "id": 1712057632, + "platform_framework": [ + "8", + "16", + "32", + "64" + ], + "component": "NoticeBar", + "field_category": 2, + "field_name": "change", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "当 `direction=\"vertical\"` 时轮播切换时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(current: number, source: '' | 'autoplay' | 'touch')", + "create_time": "2024-04-02 11:33:52", + "update_time": "2024-04-02 11:33: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": "Events", + "platform_framework_text": [ + "Vue(Mobile)", + "React(Mobile)", + "Angular(Mobile)", + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 1108, "platform_framework": [ @@ -66796,6 +71443,171 @@ ], "field_type_text": [] }, + { + "id": 1712057672, + "platform_framework": [ + "64" + ], + "component": "NoticeBar", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 11:34:32", + "update_time": "2024-04-02 11:34:32", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712057692, + "platform_framework": [ + "64" + ], + "component": "NoticeBar", + "field_category": 128, + "field_name": "t-class-content", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "内容样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 11:34:52", + "update_time": "2024-04-02 11:34: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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712057703, + "platform_framework": [ + "64" + ], + "component": "NoticeBar", + "field_category": 128, + "field_name": "t-class-operation", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "右侧额外信息样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 11:35:03", + "update_time": "2024-04-02 11:35:03", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712057698, + "platform_framework": [ + "64" + ], + "component": "NoticeBar", + "field_category": 128, + "field_name": "t-class-prefix-icon", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "前置图标样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 11:34:58", + "update_time": "2024-04-02 11:34:58", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712057708, + "platform_framework": [ + "64" + ], + "component": "NoticeBar", + "field_category": 128, + "field_name": "t-class-suffix-icon", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "后置图标样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 11:35:08", + "update_time": "2024-04-02 11:35:08", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 1165, "platform_framework": [ @@ -67864,6 +72676,43 @@ "String" ] }, + { + "id": 1712057861, + "platform_framework": [ + "64" + ], + "component": "Overlay", + "field_category": 1, + "field_name": "backgroundColor", + "field_type": [ + "1" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "遮罩层的背景色", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 11:37:41", + "update_time": "2024-04-02 11:37:41", + "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": 3103, "platform_framework": [], @@ -68139,6 +72988,43 @@ "Boolean" ] }, + { + "id": 1712057795, + "platform_framework": [ + "64" + ], + "component": "Overlay", + "field_category": 1, + "field_name": "visible", + "field_type": [ + "4" + ], + "field_default_value": "false", + "field_enum": "", + "field_desc_zh": "是否展示", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 11:36:35", + "update_time": "2024-04-02 11:36:35", + "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" + ] + }, { "id": 2810, "platform_framework": [ @@ -68193,7 +73079,7 @@ ], "field_default_value": "11000", "field_enum": "", - "field_desc_zh": "遮罩层级。移动端样式默认为 1000,小程序样式默认为11000", + "field_desc_zh": "遮罩层级", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -68231,10 +73117,10 @@ "field_type": [], "field_default_value": "", "field_enum": "", - "field_desc_zh": "遮罩层的点击事件", + "field_desc_zh": "点击遮罩时触发", "field_desc_en": null, "field_required": 0, - "event_input": "(context: { e: MouseEvent })", + "event_input": "({ visible: boolean })", "create_time": "2022-07-06 07:26:17", "update_time": "2022-07-06 07:26:17", "event_output": null, @@ -72113,6 +76999,43 @@ "TNode" ] }, + { + "id": 1712058071, + "platform_framework": [ + "64" + ], + "component": "Popup", + "field_category": 1, + "field_name": "defaultVisible", + "field_type": [ + "4" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "是否显示浮层。非受控属性", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 11:41:11", + "update_time": "2024-04-02 11:41:11", + "event_output": null, + "custom_field_type": "boolean", + "syntactic_sugar": "v-model", + "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" + ] + }, { "id": 2939, "platform_framework": [ @@ -73682,6 +78605,72 @@ ], "field_type_text": [] }, + { + "id": 1712058201, + "platform_framework": [ + "64" + ], + "component": "Popup", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 11:43:21", + "update_time": "2024-04-02 11:43:21", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712058212, + "platform_framework": [ + "64" + ], + "component": "Popup", + "field_category": 128, + "field_name": "t-class-content", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "内容样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 11:43:32", + "update_time": "2024-04-02 11:43:32", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 333, "platform_framework": [ @@ -76529,7 +81518,7 @@ ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "进度条线宽。宽度数值不能超过 size 的一半,否则不能输出环形进度", + "field_desc_zh": "进度条线宽,默认单位 `px`", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -76695,6 +81684,123 @@ "String" ] }, + { + "id": 1712052944, + "platform_framework": [ + "64" + ], + "component": "Progress", + "field_category": 128, + "field_name": "t-class", + "field_type": [ + "1", + "2" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 10:15:44", + "update_time": "2024-04-02 10:15:44", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [ + "String", + "Number" + ] + }, + { + "id": 1712052948, + "platform_framework": [ + "64" + ], + "component": "Progress", + "field_category": 128, + "field_name": "t-class-bar", + "field_type": [ + "1", + "2" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "进度文字样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 10:15:48", + "update_time": "2024-04-02 10:15:48", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [ + "String", + "Number" + ] + }, + { + "id": 1712052956, + "platform_framework": [ + "64" + ], + "component": "Progress", + "field_category": 128, + "field_name": "t-class-label", + "field_type": [ + "1", + "2" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "标签样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 10:15:56", + "update_time": "2024-04-02 10:15:56", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [ + "String", + "Number" + ] + }, { "id": 3480, "platform_framework": [ @@ -76806,6 +81912,43 @@ "Array" ] }, + { + "id": 1712058324, + "platform_framework": [ + "64" + ], + "component": "PullDownRefresh", + "field_category": 1, + "field_name": "header", + "field_type": [ + "64" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": null, + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 11:45:24", + "update_time": "2024-04-02 11:45:24", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "{\"Miniprogram\": \"1.2.10\"}", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [ + "TNode" + ] + }, { "id": 1757, "platform_framework": [ @@ -77259,6 +82402,105 @@ ], "field_type_text": [] }, + { + "id": 1712058447, + "platform_framework": [ + "64" + ], + "component": "PullDownRefresh", + "field_category": 2, + "field_name": "dragend", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "滑动结束事件", + "field_desc_en": null, + "field_required": 0, + "event_input": "(scrollTop: number, scrollLeft: number)", + "create_time": "2024-04-02 11:47:27", + "update_time": "2024-04-02 11:47:27", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "{\"Miniprogram\": \"1.2.10\"}", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712058436, + "platform_framework": [ + "64" + ], + "component": "PullDownRefresh", + "field_category": 2, + "field_name": "dragging", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "滑动事件", + "field_desc_en": null, + "field_required": 0, + "event_input": "(scrollTop: number, scrollLeft: number)", + "create_time": "2024-04-02 11:47:16", + "update_time": "2024-04-02 11:47:16", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "{\"Miniprogram\": \"1.2.10\"}", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712058420, + "platform_framework": [ + "64" + ], + "component": "PullDownRefresh", + "field_category": 2, + "field_name": "dragstart", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "滑动开始事件", + "field_desc_en": null, + "field_required": 0, + "event_input": "(scrollTop: number, scrollLeft: number)", + "create_time": "2024-04-02 11:47:00", + "update_time": "2024-04-02 11:47:00", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "{\"Miniprogram\": \"1.2.10\"}", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 1764, "platform_framework": [ @@ -77376,6 +82618,138 @@ ], "field_type_text": [] }, + { + "id": 1712058496, + "platform_framework": [ + "64" + ], + "component": "PullDownRefresh", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 11:48:16", + "update_time": "2024-04-02 11:48:16", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712058523, + "platform_framework": [ + "64" + ], + "component": "PullDownRefresh", + "field_category": 128, + "field_name": "t-class-indicator", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "指示样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 11:48:43", + "update_time": "2024-04-02 11:48:43", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712058513, + "platform_framework": [ + "64" + ], + "component": "PullDownRefresh", + "field_category": 128, + "field_name": "t-class-loading", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "加载样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 11:48:33", + "update_time": "2024-04-02 11:48:33", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712058518, + "platform_framework": [ + "64" + ], + "component": "PullDownRefresh", + "field_category": 128, + "field_name": "t-class-text", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "文本样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 11:48:38", + "update_time": "2024-04-02 11:48:38", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 1419, "platform_framework": [ @@ -77484,7 +82858,7 @@ ], "field_default_value": "true", "field_enum": "", - "field_desc_zh": "是否为块级元素\t", + "field_desc_zh": "是否为块级元素", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -77738,7 +83112,7 @@ "field_type": [ "4" ], - "field_default_value": "", + "field_default_value": "false", "field_enum": "", "field_desc_zh": "是否禁用组件内容(content)触发选中", "field_desc_en": null, @@ -77827,7 +83201,7 @@ ], "field_default_value": "undefined", "field_enum": "", - "field_desc_zh": "是否为禁用态。如果存在父组件 RadioGroup,默认值由 RadioGroup.disabled 控制。Radio.disabled 优先级高于 RadioGroup.disabled", + "field_desc_zh": "是否为禁用态", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -77950,16 +83324,16 @@ "16", "64" ], - "field_default_value": "'fill-circle'", + "field_default_value": "'circle'", "field_enum": "", - "field_desc_zh": "自定义选中图标和非选中图标。示例:[选中态图标,非选中态图标]。值为 fill-circle 表示图标为填充型图标,值为 stroke-line 表示图标为描边型图标", + "field_desc_zh": "自定义选中图标和非选中图标。使用 Array 时表示:`[选中态图标,非选中态图标]`。使用 String 时,值为 circle 表示填充型图标、值为 line 表示描边型图标、值为 dot 表示圆点图标,值为 slot 时使用插槽", "field_desc_en": null, "field_required": 0, "event_input": "", "create_time": "2021-08-10 05:23:41", "update_time": "2021-12-25 15:53:46", "event_output": null, - "custom_field_type": "'fill-circle' | 'stroke-line' | Array", + "custom_field_type": "'circle' | 'line' | 'dot' | Array", "syntactic_sugar": null, "readonly": 1, "html_attribute": 0, @@ -78178,7 +83552,7 @@ "field_type": [ "1" ], - "field_default_value": "undefined", + "field_default_value": "left", "field_enum": "left/right", "field_desc_zh": "复选框和内容相对位置", "field_desc_en": null, @@ -78248,6 +83622,43 @@ "Boolean" ] }, + { + "id": 1712028468, + "platform_framework": [ + "64" + ], + "component": "Radio", + "field_category": 1, + "field_name": "readonly", + "field_type": [ + "4" + ], + "field_default_value": "false", + "field_enum": "", + "field_desc_zh": "只读状态", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 03:27:48", + "update_time": "2024-04-02 03:27:48", + "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" + ] + }, { "id": 3069, "platform_framework": [ @@ -78304,7 +83715,7 @@ "2", "4" ], - "field_default_value": "undefined", + "field_default_value": "false", "field_enum": "", "field_desc_zh": "单选按钮的值", "field_desc_en": null, @@ -78313,7 +83724,7 @@ "create_time": "2020-12-28 03:19:55", "update_time": "2022-02-15 17:07:07", "event_output": null, - "custom_field_type": "string | number | boolean", + "custom_field_type": "RadioValue【type RadioValue = string | number | boolean】", "syntactic_sugar": "", "readonly": 1, "html_attribute": 0, @@ -78482,6 +83893,171 @@ ], "field_type_text": [] }, + { + "id": 1712028706, + "platform_framework": [ + "64" + ], + "component": "Radio", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 03:31:46", + "update_time": "2024-04-02 03:31:46", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712028748, + "platform_framework": [ + "64" + ], + "component": "Radio", + "field_category": 128, + "field_name": "t-class-border", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "边框样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 03:32:28", + "update_time": "2024-04-02 03:32:28", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712028742, + "platform_framework": [ + "64" + ], + "component": "Radio", + "field_category": 128, + "field_name": "t-class-content", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "内容样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 03:32:22", + "update_time": "2024-04-02 03:32:22", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712028737, + "platform_framework": [ + "64" + ], + "component": "Radio", + "field_category": 128, + "field_name": "t-class-icon", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "图标样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 03:32:17", + "update_time": "2024-04-02 03:32:17", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712028732, + "platform_framework": [ + "64" + ], + "component": "Radio", + "field_category": 128, + "field_name": "t-class-label", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "标签样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 03:32:12", + "update_time": "2024-04-02 03:32:12", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 3118, "platform_framework": [ @@ -78609,6 +84185,43 @@ "Boolean" ] }, + { + "id": 1712028976, + "platform_framework": [ + "64" + ], + "component": "RadioGroup", + "field_category": 1, + "field_name": "borderless", + "field_type": [ + "4" + ], + "field_default_value": "false", + "field_enum": "", + "field_desc_zh": "是否开启无边框模式", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 03:36:16", + "update_time": "2024-04-02 03:36:16", + "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" + ] + }, { "id": 498, "platform_framework": [ @@ -78626,9 +84239,9 @@ "field_type": [ "4" ], - "field_default_value": "", + "field_default_value": "undefined", "field_enum": "", - "field_desc_zh": "是否禁用全部子单选框。默认为 false。RadioGroup.disabled 优先级低于 Radio.disabled", + "field_desc_zh": "是否禁用全部子单选框", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -78670,9 +84283,9 @@ "1", "16" ], - "field_default_value": "'fill-circle'", + "field_default_value": "'circle'", "field_enum": "", - "field_desc_zh": "自定义选中图标和非选中图标。示例:[选中态图标,非选中态图标]。值为 fill-circle 表示图标为填充型图标,值为 stroke-line 表示图标为描边型图标;仅在使用 options 时生效", + "field_desc_zh": "自定义选中图标和非选中图标。示例:[选中态图标,非选中态图标]。使用 String 时,值为 circle 表示填充型图标、值为 line 表示描边型图标、值为 dot 表示圆点图标;仅在使用 options 时生效。TS 类型:`'circle' | 'line' | 'dot' | Array`", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -78930,9 +84543,9 @@ "field_type": [ "1" ], - "field_default_value": "left", + "field_default_value": "'left'", "field_enum": "left/right", - "field_desc_zh": "复选框和内容相对位置", + "field_desc_zh": "复选框和内容相对位置;仅在使用 options 时生效。", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -79056,7 +84669,7 @@ "2", "4" ], - "field_default_value": "", + "field_default_value": "false", "field_enum": "", "field_desc_zh": "选中的值", "field_desc_en": null, @@ -79065,7 +84678,7 @@ "create_time": "2020-12-28 02:48:06", "update_time": "2022-02-16 10:56:42", "event_output": null, - "custom_field_type": "T【type RadioValue = string | number | boolean】", + "custom_field_type": "RadioValue", "syntactic_sugar": "v-model", "readonly": 1, "html_attribute": 0, @@ -79149,7 +84762,7 @@ "field_desc_zh": "选中值发生变化时触发", "field_desc_en": null, "field_required": 0, - "event_input": "(value: T, context: { e: Event })", + "event_input": "(value: RadioValue, context: { e: Event })", "create_time": "2020-12-28 03:06:26", "update_time": "2021-11-27 15:49:43", "event_output": null, @@ -81154,7 +86767,7 @@ ], "field_default_value": "'#ED7B2F'", "field_enum": "", - "field_desc_zh": "评分图标的颜色,样式中默认为 #ED7B2F。一个值表示设置选中高亮的五角星颜色,示例:[选中颜色]。数组则表示分别设置 选中高亮的五角星颜色 和 未选中暗灰的五角星颜色,[选中颜色,未选中颜色]。示例:['#ED7B2F', '#E3E6EB']。", + "field_desc_zh": "评分图标的颜色,样式中默认为 #ED7B2F。一个值表示设置选中高亮的五角星颜色,示例:[选中颜色]。数组则表示分别设置 选中高亮的五角星颜色 和 未选中暗灰的五角星颜色,[选中颜色,未选中颜色]。示例:['#ED7B2F', '#E3E6EB']", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -81283,43 +86896,6 @@ "Boolean" ] }, - { - "id": 3385, - "platform_framework": [ - "64" - ], - "component": "Rate", - "field_category": 1, - "field_name": "externalClasses", - "field_type": [ - "16" - ], - "field_default_value": "", - "field_enum": "", - "field_desc_zh": "组件类名,分别用于设置 组件外层类名、评分图标类名、辅助文字类名", - "field_desc_en": null, - "field_required": 0, - "event_input": "", - "create_time": "2023-03-13 02:16:39", - "update_time": "2023-03-13 02:16:39", - "event_output": null, - "custom_field_type": "['t-class', 't-class-icon', 't-class-text']", - "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": [ - "Array" - ] - }, { "id": 1354, "platform_framework": [ @@ -81337,7 +86913,7 @@ "field_type": [ "2" ], - "field_default_value": "4", + "field_default_value": "8", "field_enum": "", "field_desc_zh": "评分图标的间距", "field_desc_en": null, @@ -81488,6 +87064,80 @@ "TNode" ] }, + { + "id": 1712029577, + "platform_framework": [ + "64" + ], + "component": "Rate", + "field_category": 1, + "field_name": "iconPrefix", + "field_type": [ + "1" + ], + "field_default_value": "undefined", + "field_enum": "", + "field_desc_zh": "定义图标前缀", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 03:46:17", + "update_time": "2024-04-02 03:46:17", + "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": 1712029537, + "platform_framework": [ + "64" + ], + "component": "Rate", + "field_category": 1, + "field_name": "placement", + "field_type": [ + "1" + ], + "field_default_value": "top", + "field_enum": "top / bottom", + "field_desc_zh": "选择评分弹框的位置", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 03:45:37", + "update_time": "2024-04-02 03:45:37", + "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": 1838, "platform_framework": [ @@ -81813,6 +87463,105 @@ "Function" ] }, + { + "id": 1712029768, + "platform_framework": [ + "64" + ], + "component": "Rate", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 03:49:28", + "update_time": "2024-04-02 03:49:28", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712029783, + "platform_framework": [ + "64" + ], + "component": "Rate", + "field_category": 128, + "field_name": "t-class-icon", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "图标样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 03:49:43", + "update_time": "2024-04-02 03:49:43", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712029794, + "platform_framework": [ + "64" + ], + "component": "Rate", + "field_category": 128, + "field_name": "t-class-text", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "文本样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 03:49:54", + "update_time": "2024-04-02 03:49:54", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 3126, "platform_framework": [ @@ -81908,9 +87657,9 @@ "4", "8" ], - "field_default_value": "", + "field_default_value": "true", "field_enum": "", - "field_desc_zh": "图标名称", + "field_desc_zh": "图标名称。值为字符串表示图标名称,值为 `false` 表示不显示图标,值为 `Object` 类型,表示透传至 `icon`,不传表示使用主题图标。", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -82071,7 +87820,7 @@ ], "field_default_value": "default", "field_enum": "default/success/warning/error", - "field_desc_zh": "内置主题。", + "field_desc_zh": "内置主题", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -82143,6 +87892,138 @@ "TNode" ] }, + { + "id": 1712053329, + "platform_framework": [ + "64" + ], + "component": "Result", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 10:22:09", + "update_time": "2024-04-02 10:22:09", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712053373, + "platform_framework": [ + "64" + ], + "component": "Result", + "field_category": 128, + "field_name": "t-class-description", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "描述样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 10:22:53", + "update_time": "2024-04-02 10:22:53", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712053362, + "platform_framework": [ + "64" + ], + "component": "Result", + "field_category": 128, + "field_name": "t-class-image", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "图片样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 10:22:42", + "update_time": "2024-04-02 10:22:42", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712053367, + "platform_framework": [ + "64" + ], + "component": "Result", + "field_category": 128, + "field_name": "t-class-title", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "标题样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 10:22:47", + "update_time": "2024-04-02 10:22:47", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 1326, "platform_framework": [ @@ -82185,7 +88066,138 @@ ] }, { - "id": 186, + "id": 186, + "platform_framework": [ + "1", + "2", + "4" + ], + "component": "Row", + "field_category": 1, + "field_name": "gutter", + "field_type": [ + "2", + "8", + "16" + ], + "field_default_value": "0", + "field_enum": "", + "field_desc_zh": "栅格间隔,示例:`{ xs: 8, sm: 16, md: 24, lg: 32, xl: 32, xxl: 40 }`。当数据类型为 Number 和 Object 时,用于指定横向间隔。当数据类型为数组时,第一个参数为横向间隔,第二个参数为纵向间隔, [水平间隔, 垂直间隔]", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2020-12-14 10:15:27", + "update_time": "2021-11-02 03:05:51", + "event_output": null, + "custom_field_type": "number | GutterObject | Array【interface GutterObject { xs?: number; sm?: number; md?: number; lg?: number, xl?: number; xxl?: number; } 】", + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": null, + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "Vue(PC)", + "React(PC)", + "Angular(PC)" + ], + "field_type_text": [ + "Number", + "Object", + "Array" + ] + }, + { + "id": 3428, + "platform_framework": [ + "8", + "16", + "32", + "64" + ], + "component": "Row", + "field_category": 1, + "field_name": "gutter", + "field_type": [ + "1", + "2" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "列之间的间距(默认单位px)", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2023-03-22 11:18:01", + "update_time": "2023-03-22 11:18:01", + "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": [ + "Vue(Mobile)", + "React(Mobile)", + "Angular(Mobile)", + "Miniprogram" + ], + "field_type_text": [ + "String", + "Number" + ] + }, + { + "id": 187, + "platform_framework": [ + "1", + "2", + "4" + ], + "component": "Row", + "field_category": 1, + "field_name": "justify", + "field_type": [ + "1" + ], + "field_default_value": "start", + "field_enum": "start/end/center/space-around/space-between", + "field_desc_zh": "flex 布局下的水平排列方式", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2020-12-14 11:24:09", + "update_time": "2020-12-14 12:42:28", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": null, + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "Vue(PC)", + "React(PC)", + "Angular(PC)" + ], + "field_type_text": [ + "String" + ] + }, + { + "id": 188, "platform_framework": [ "1", "2", @@ -82193,22 +88205,20 @@ ], "component": "Row", "field_category": 1, - "field_name": "gutter", + "field_name": "tag", "field_type": [ - "2", - "8", - "16" + "1" ], - "field_default_value": "0", + "field_default_value": "div", "field_enum": "", - "field_desc_zh": "栅格间隔,示例:`{ xs: 8, sm: 16, md: 24, lg: 32, xl: 32, xxl: 40 }`。当数据类型为 Number 和 Object 时,用于指定横向间隔。当数据类型为数组时,第一个参数为横向间隔,第二个参数为纵向间隔, [水平间隔, 垂直间隔]", + "field_desc_zh": "自定义元素标签", "field_desc_en": null, "field_required": 0, "event_input": "", - "create_time": "2020-12-14 10:15:27", - "update_time": "2021-11-02 03:05:51", + "create_time": "2020-12-14 11:24:32", + "update_time": "2020-12-14 12:42:34", "event_output": null, - "custom_field_type": "number | GutterObject | Array【interface GutterObject { xs?: number; sm?: number; md?: number; lg?: number, xl?: number; xxl?: number; } 】", + "custom_field_type": null, "syntactic_sugar": null, "readonly": 1, "html_attribute": 0, @@ -82224,34 +88234,32 @@ "Angular(PC)" ], "field_type_text": [ - "Number", - "Object", - "Array" + "String" ] }, { - "id": 3428, + "id": 1542, "platform_framework": [ "8", "16", "32", "64" ], - "component": "Row", + "component": "Search", "field_category": 1, - "field_name": "gutter", + "field_name": "action", "field_type": [ "1", - "2" + "64" ], - "field_default_value": "", + "field_default_value": "''", "field_enum": "", - "field_desc_zh": "列之间的间距(默认单位px)", + "field_desc_zh": "自定义右侧操作按钮文字", "field_desc_en": null, "field_required": 0, "event_input": "", - "create_time": "2023-03-22 11:18:01", - "update_time": "2023-03-22 11:18:01", + "create_time": "2021-09-01 08:14:34", + "update_time": "2022-07-20 15:28:32", "event_output": null, "custom_field_type": null, "syntactic_sugar": null, @@ -82259,7 +88267,7 @@ "html_attribute": 0, "trigger_elements": "", "deprecated": 0, - "version": "", + "version": null, "test_description": null, "support_default_value": 0, "field_category_text": "Props", @@ -82271,71 +88279,28 @@ ], "field_type_text": [ "String", - "Number" + "TNode" ] }, { - "id": 187, + "id": 1712031065, "platform_framework": [ - "1", - "2", - "4" + "64" ], - "component": "Row", + "component": "Search", "field_category": 1, - "field_name": "justify", + "field_name": "adjust-position", "field_type": [ - "1" - ], - "field_default_value": "start", - "field_enum": "start/end/center/space-around/space-between", - "field_desc_zh": "flex 布局下的水平排列方式", - "field_desc_en": null, - "field_required": 0, - "event_input": "", - "create_time": "2020-12-14 11:24:09", - "update_time": "2020-12-14 12:42:28", - "event_output": null, - "custom_field_type": null, - "syntactic_sugar": null, - "readonly": 1, - "html_attribute": 0, - "trigger_elements": "", - "deprecated": 0, - "version": null, - "test_description": null, - "support_default_value": 0, - "field_category_text": "Props", - "platform_framework_text": [ - "Vue(PC)", - "React(PC)", - "Angular(PC)" - ], - "field_type_text": [ - "String" - ] - }, - { - "id": 188, - "platform_framework": [ - "1", - "2", "4" ], - "component": "Row", - "field_category": 1, - "field_name": "tag", - "field_type": [ - "1" - ], - "field_default_value": "div", + "field_default_value": "true", "field_enum": "", - "field_desc_zh": "自定义元素标签", + "field_desc_zh": "键盘弹起时,是否自动上推页面", "field_desc_en": null, "field_required": 0, "event_input": "", - "create_time": "2020-12-14 11:24:32", - "update_time": "2020-12-14 12:42:34", + "create_time": "2024-04-02 04:11:05", + "update_time": "2024-04-02 04:11:05", "event_output": null, "custom_field_type": null, "syntactic_sugar": null, @@ -82343,42 +88308,36 @@ "html_attribute": 0, "trigger_elements": "", "deprecated": 0, - "version": null, + "version": "", "test_description": null, "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Vue(PC)", - "React(PC)", - "Angular(PC)" + "Miniprogram" ], "field_type_text": [ - "String" + "Boolean" ] }, { - "id": 1542, + "id": 1712030264, "platform_framework": [ - "8", - "16", - "32", "64" ], "component": "Search", "field_category": 1, - "field_name": "action", + "field_name": "always-embed", "field_type": [ - "1", - "64" + "4" ], - "field_default_value": "''", + "field_default_value": "false", "field_enum": "", - "field_desc_zh": "自定义右侧操作按钮文字,如:“取消”", + "field_desc_zh": "强制 input 处于同层状态,默认 focus 时 input 会切到非同层状态 (仅在 iOS 下生效)", "field_desc_en": null, "field_required": 0, "event_input": "", - "create_time": "2021-09-01 08:14:34", - "update_time": "2022-07-20 15:28:32", + "create_time": "2024-04-02 03:57:44", + "update_time": "2024-04-02 03:57:44", "event_output": null, "custom_field_type": null, "syntactic_sugar": null, @@ -82386,19 +88345,15 @@ "html_attribute": 0, "trigger_elements": "", "deprecated": 0, - "version": null, + "version": "", "test_description": null, "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", "Miniprogram" ], "field_type_text": [ - "String", - "TNode" + "Boolean" ] }, { @@ -82744,7 +88699,7 @@ ], "field_default_value": "true", "field_enum": "", - "field_desc_zh": "是否可清空", + "field_desc_zh": "是否启用清除控件", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -82774,6 +88729,154 @@ "Boolean" ] }, + { + "id": 1712030357, + "platform_framework": [ + "64" + ], + "component": "Search", + "field_category": 1, + "field_name": "confirm-hold", + "field_type": [ + "4" + ], + "field_default_value": "false", + "field_enum": "", + "field_desc_zh": "点击键盘右下角按钮时是否保持键盘不收起", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 03:59:17", + "update_time": "2024-04-02 03:59:17", + "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" + ] + }, + { + "id": 1712030225, + "platform_framework": [ + "64" + ], + "component": "Search", + "field_category": 1, + "field_name": "confirm-type", + "field_type": [ + "1" + ], + "field_default_value": "search", + "field_enum": "send/search/next/go/done", + "field_desc_zh": "设置键盘右下角按钮的文字,仅在type='text'时生效。
具体释义:
`send` 右下角按钮为“发送”;
`search` 右下角按钮为“搜索”;
`next` 右下角按钮为“下一个”;
`go` 右下角按钮为“前往”;
`done` 右下角按钮为“完成”。
[小程序官方文档](https://developers.weixin.qq.com/miniprogram/dev/component/input.html)", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 03:57:05", + "update_time": "2024-04-02 03:57:05", + "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": 1712030723, + "platform_framework": [ + "64" + ], + "component": "Search", + "field_category": 1, + "field_name": "cursor", + "field_type": [ + "2" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "指定 focus 时的光标位置", + "field_desc_en": null, + "field_required": 1, + "event_input": "", + "create_time": "2024-04-02 04:05:23", + "update_time": "2024-04-02 04:05:23", + "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": [ + "Number" + ] + }, + { + "id": 1712030114, + "platform_framework": [ + "64" + ], + "component": "Search", + "field_category": 1, + "field_name": "cursor-spacing", + "field_type": [ + "2" + ], + "field_default_value": "0", + "field_enum": "", + "field_desc_zh": "搜索框聚焦时底部与键盘的距离", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 03:55:14", + "update_time": "2024-04-02 03:55:14", + "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": [ + "Number" + ] + }, { "id": 1541, "platform_framework": [ @@ -82791,9 +88894,9 @@ "field_type": [ "4" ], - "field_default_value": "", + "field_default_value": "false", "field_enum": "", - "field_desc_zh": "禁用状态", + "field_desc_zh": "是否禁用", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -82944,6 +89047,43 @@ "Boolean" ] }, + { + "id": 1712031083, + "platform_framework": [ + "64" + ], + "component": "Search", + "field_category": 1, + "field_name": "hold-keyboard", + "field_type": [ + "4" + ], + "field_default_value": "false", + "field_enum": "", + "field_desc_zh": "focus时,点击页面的时候不收起键盘", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 04:11:23", + "update_time": "2024-04-02 04:11:23", + "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" + ] + }, { "id": 2845, "platform_framework": [ @@ -83037,12 +89177,11 @@ "field_category": 1, "field_name": "label", "field_type": [ - "1", - "64" + "1" ], "field_default_value": "''", "field_enum": "", - "field_desc_zh": "已废弃。搜索框内部左侧内容,位于 `prefixIcon` 左侧", + "field_desc_zh": "左侧文本", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -83054,7 +89193,7 @@ "readonly": 1, "html_attribute": 0, "trigger_elements": "", - "deprecated": 0, + "deprecated": 1, "version": "", "test_description": null, "support_default_value": 0, @@ -83063,8 +89202,7 @@ "Miniprogram" ], "field_type_text": [ - "String", - "TNode" + "String" ] }, { @@ -83112,6 +89250,80 @@ "TNode" ] }, + { + "id": 1712030157, + "platform_framework": [ + "64" + ], + "component": "Search", + "field_category": 1, + "field_name": "maxcharacter", + "field_type": [ + "2" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "用户最多可以输入的字符个数,一个中文汉字表示两个字符长度。`maxcharacter` 和 `maxlength` 二选一使用", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 03:55:57", + "update_time": "2024-04-02 03:55:57", + "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": [ + "Number" + ] + }, + { + "id": 1712030181, + "platform_framework": [ + "64" + ], + "component": "Search", + "field_category": 1, + "field_name": "maxlength", + "field_type": [ + "2" + ], + "field_default_value": "-1", + "field_enum": "", + "field_desc_zh": "用户最多可以输入的文本长度,一个中文等于一个计数长度。默认为 -1,不限制输入长度。`maxcharacter` 和 `maxlength` 二选一使用", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 03:56:21", + "update_time": "2024-04-02 03:56:21", + "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": [ + "Number" + ] + }, { "id": 2841, "platform_framework": [ @@ -83202,6 +89414,80 @@ "String" ] }, + { + "id": 1712031137, + "platform_framework": [ + "64" + ], + "component": "Search", + "field_category": 1, + "field_name": "placeholder-class", + "field_type": [ + "1" + ], + "field_default_value": "input-placeholder", + "field_enum": "", + "field_desc_zh": "指定 placeholder 的样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 04:12:17", + "update_time": "2024-04-02 04:12:17", + "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": 1712031112, + "platform_framework": [ + "64" + ], + "component": "Search", + "field_category": 1, + "field_name": "placeholder-style", + "field_type": [ + "1" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "指定 placeholder 的样式", + "field_desc_en": null, + "field_required": 1, + "event_input": "", + "create_time": "2024-04-02 04:11:52", + "update_time": "2024-04-02 04:11: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": [ + "Miniprogram" + ], + "field_type_text": [ + "String" + ] + }, { "id": 2847, "platform_framework": [ @@ -83411,6 +89697,45 @@ "Boolean" ] }, + { + "id": 1712031376, + "platform_framework": [ + "64" + ], + "component": "Search", + "field_category": 1, + "field_name": "right-icon", + "field_type": [ + "1", + "64" + ], + "field_default_value": "'close-circle-filled'", + "field_enum": "", + "field_desc_zh": "右侧图标", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 04:16:16", + "update_time": "2024-04-02 04:16:16", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 1, + "version": "", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [ + "String", + "TNode" + ] + }, { "id": 2844, "platform_framework": [ @@ -83452,6 +89777,80 @@ "Object" ] }, + { + "id": 1712031040, + "platform_framework": [ + "64" + ], + "component": "Search", + "field_category": 1, + "field_name": "selection-end", + "field_type": [ + "2" + ], + "field_default_value": "-1", + "field_enum": "", + "field_desc_zh": "光标结束位置,自动聚集时有效,需与 selection-start 搭配使用", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 04:10:40", + "update_time": "2024-04-02 04:10:40", + "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": [ + "Number" + ] + }, + { + "id": 1712031024, + "platform_framework": [ + "64" + ], + "component": "Search", + "field_category": 1, + "field_name": "selection-start", + "field_type": [ + "2" + ], + "field_default_value": "-1", + "field_enum": "", + "field_desc_zh": "光标起始位置,自动聚集时有效,需与 selection-end 搭配使用", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 04:10:24", + "update_time": "2024-04-02 04:10:24", + "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": [ + "Number" + ] + }, { "id": 1545, "platform_framework": [ @@ -83735,6 +90134,43 @@ "Object" ] }, + { + "id": 1712031485, + "platform_framework": [ + "64" + ], + "component": "Search", + "field_category": 1, + "field_name": "type", + "field_type": [ + "1" + ], + "field_default_value": "'text'", + "field_enum": "text/number/idcard/digit/nickname", + "field_desc_zh": "拉起键盘的类型", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 04:18:05", + "update_time": "2024-04-02 04:18:05", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": "v-model", + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 1, + "field_category_text": "Props", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [ + "String" + ] + }, { "id": 1539, "platform_framework": [ @@ -83752,9 +90188,9 @@ "field_type": [ "1" ], - "field_default_value": "", + "field_default_value": "''", "field_enum": "", - "field_desc_zh": "值,搜索关键词", + "field_desc_zh": "值", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -83800,10 +90236,10 @@ ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "点击搜索框右侧操作内容时触发", + "field_desc_zh": "点击右侧操作按钮文字时触发", "field_desc_en": null, "field_required": 0, - "event_input": "(context: { e: MouseEvent })", + "event_input": "({})", "create_time": "2022-04-20 03:50:04", "update_time": "2022-07-20 15:28:46", "event_output": null, @@ -83890,7 +90326,7 @@ "field_desc_zh": "失去焦点时触发", "field_desc_en": null, "field_required": 0, - "event_input": "(context: { value: string })", + "event_input": "({ value: string })", "create_time": "2022-07-19 10:24:24", "update_time": "2022-07-19 10:24:24", "event_output": null, @@ -83924,10 +90360,10 @@ ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "搜索关键词发生变化时触发,可能场景有:搜索框内容发生变化、点击联想词", + "field_desc_zh": "值发生变化时触发", "field_desc_en": null, "field_required": 0, - "event_input": "({ value: string; trigger: 'input-change' | 'option-click' })", + "event_input": "({ value: string })", "create_time": "2021-09-01 08:19:14", "update_time": "2022-07-20 14:55:19", "event_output": null, @@ -84017,7 +90453,7 @@ "field_desc_zh": "点击清除时触发", "field_desc_en": null, "field_required": 0, - "event_input": "(context: { e: MouseEvent })", + "event_input": "({ value: string })", "create_time": "2022-04-20 03:48:19", "update_time": "2022-07-18 12:11:28", "event_output": null, @@ -84141,10 +90577,10 @@ ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "获得焦点时触发", + "field_desc_zh": "聚焦时触发", "field_desc_en": null, "field_required": 0, - "event_input": "(context: { value: string })", + "event_input": "({ value: string })", "create_time": "2022-07-19 10:22:29", "update_time": "2022-07-20 14:51:37", "event_output": null, @@ -84325,6 +90761,241 @@ "String" ] }, + { + "id": 1712031757, + "platform_framework": [ + "64" + ], + "component": "Search", + "field_category": 2, + "field_name": "submit", + "field_type": [ + "1" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "提交时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "({ value: string })", + "create_time": "2024-04-02 04:22:37", + "update_time": "2024-04-02 04:22:37", + "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": "Events", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [ + "String" + ] + }, + { + "id": 1712043309, + "platform_framework": [ + "64" + ], + "component": "Search", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 07:35:09", + "update_time": "2024-04-02 07:35:09", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712043350, + "platform_framework": [ + "64" + ], + "component": "Search", + "field_category": 128, + "field_name": "t-class-action", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "操作按钮样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 07:35:50", + "update_time": "2024-04-02 07:35:50", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712043361, + "platform_framework": [ + "64" + ], + "component": "Search", + "field_category": 128, + "field_name": "t-class-clear", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "右侧图标样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 07:36:01", + "update_time": "2024-04-02 07:36:01", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712043345, + "platform_framework": [ + "64" + ], + "component": "Search", + "field_category": 128, + "field_name": "t-class-input", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "输入框样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 07:35:45", + "update_time": "2024-04-02 07:35:45", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712043323, + "platform_framework": [ + "64" + ], + "component": "Search", + "field_category": 128, + "field_name": "t-class-input-container", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "输入框容器样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 07:35:23", + "update_time": "2024-04-02 07:35:23", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712043356, + "platform_framework": [ + "64" + ], + "component": "Search", + "field_category": 128, + "field_name": "t-class-left", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "左侧图标样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 07:35:56", + "update_time": "2024-04-02 07:35:56", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 1968, "platform_framework": [ @@ -88417,6 +95088,45 @@ ], "field_type_text": [] }, + { + "id": 1711973521, + "platform_framework": [ + "64" + ], + "component": "SideBar", + "field_category": 1, + "field_name": "defaultValue", + "field_type": [ + "1", + "2" + ], + "field_default_value": "undefined", + "field_enum": "", + "field_desc_zh": "选项值。非受控属性", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 12:12:01", + "update_time": "2024-04-01 12:12:01", + "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", + "Number" + ] + }, { "id": 3379, "platform_framework": [ @@ -88512,7 +95222,7 @@ "field_desc_zh": "选项值发生变化时触发", "field_desc_en": null, "field_required": 0, - "event_input": "(value: number | string)", + "event_input": "(value: number | string, label: string)", "create_time": "2023-03-13 02:16:36", "update_time": "2023-03-13 02:16:36", "event_output": null, @@ -88661,11 +95371,12 @@ "field_category": 1, "field_name": "icon", "field_type": [ - "64" + "1", + "8" ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "图标", + "field_desc_zh": "`1.0.0-rc.1`。图标,传对象则透传至 Icon", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -88687,7 +95398,8 @@ "Miniprogram" ], "field_type_text": [ - "TNode" + "String", + "Object" ] }, { @@ -89280,6 +95992,105 @@ "String" ] }, + { + "id": 1712053438, + "platform_framework": [ + "64" + ], + "component": "Skeleton", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 10:23:58", + "update_time": "2024-04-02 10:23:58", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712053448, + "platform_framework": [ + "64" + ], + "component": "Skeleton", + "field_category": 128, + "field_name": "t-class-col", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "行样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 10:24:08", + "update_time": "2024-04-02 10:24:08", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712053453, + "platform_framework": [ + "64" + ], + "component": "Skeleton", + "field_category": 128, + "field_name": "t-class-row", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "列样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 10:24:13", + "update_time": "2024-04-02 10:24:13", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 1470, "platform_framework": [ @@ -89291,9 +96102,9 @@ "field_type": [ "16" ], - "field_default_value": "['#0052D9', 'rgba(220, 220, 220, 1)']", + "field_default_value": "[]", "field_enum": "", - "field_desc_zh": "已废弃。颜色,[已选择, 未选择]", + "field_desc_zh": "颜色,[已选择, 未选择]", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -89305,7 +96116,7 @@ "readonly": 1, "html_attribute": 0, "trigger_elements": "", - "deprecated": 0, + "deprecated": 1, "version": null, "test_description": null, "support_default_value": 0, @@ -89377,9 +96188,9 @@ "field_type": [ "16" ], - "field_default_value": "['#bbd3fb', '#dcdcdc']", + "field_default_value": "[]", "field_enum": "", - "field_desc_zh": "已废弃。禁用状态滑动条的颜色,[已选, 未选]", + "field_desc_zh": "禁用状态滑动条的颜色,[已选, 未选]", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -89391,7 +96202,7 @@ "readonly": 1, "html_attribute": 0, "trigger_elements": "", - "deprecated": 0, + "deprecated": 1, "version": "", "test_description": null, "support_default_value": 0, @@ -89541,8 +96352,7 @@ "field_name": "label", "field_type": [ "1", - "4", - "64" + "4" ], "field_default_value": "false", "field_enum": "", @@ -89553,7 +96363,7 @@ "create_time": "2022-10-31 17:26:55", "update_time": "2022-10-31 17:26:55", "event_output": null, - "custom_field_type": "string | boolean | TNode<{ value: SliderValue; position?: 'start' | 'end' }>", + "custom_field_type": "string | boolean", "syntactic_sugar": null, "readonly": 1, "html_attribute": 0, @@ -89571,8 +96381,7 @@ ], "field_type_text": [ "String", - "Boolean", - "TNode" + "Boolean" ] }, { @@ -90156,6 +96965,49 @@ "Array" ] }, + { + "id": 1712043696, + "platform_framework": [ + "8", + "16", + "32", + "64" + ], + "component": "Slider", + "field_category": 1, + "field_name": "vertical", + "field_type": [ + "4" + ], + "field_default_value": "false", + "field_enum": "", + "field_desc_zh": "是否是垂直的滑块(渲染垂直滑块时,默认高度为400rpx,可通过修改`--td-slider-bar-height`来自定义高度)", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 07:41:36", + "update_time": "2024-04-02 07:41:36", + "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": [ + "Vue(Mobile)", + "React(Mobile)", + "Angular(Mobile)", + "Miniprogram" + ], + "field_type_text": [ + "Boolean" + ] + }, { "id": 1203, "platform_framework": [ @@ -90316,6 +97168,171 @@ ], "field_type_text": [] }, + { + "id": 1712043752, + "platform_framework": [ + "64" + ], + "component": "Slider", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 07:42:32", + "update_time": "2024-04-02 07:42:32", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712043777, + "platform_framework": [ + "64" + ], + "component": "Slider", + "field_category": 128, + "field_name": "t-class-bar", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "滑道底部样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 07:42:58", + "update_time": "2024-04-02 07:42:58", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712043782, + "platform_framework": [ + "64" + ], + "component": "Slider", + "field_category": 128, + "field_name": "t-class-bar-active", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "滑道激活态样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 07:43:02", + "update_time": "2024-04-02 07:43: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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712043788, + "platform_framework": [ + "64" + ], + "component": "Slider", + "field_category": 128, + "field_name": "t-class-bar-disabled", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "滑道禁用态样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 07:43:08", + "update_time": "2024-04-02 07:43:08", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712043793, + "platform_framework": [ + "64" + ], + "component": "Slider", + "field_category": 128, + "field_name": "t-class-cursor", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "游标样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 07:43:13", + "update_time": "2024-04-02 07:43:13", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 2772, "platform_framework": [ @@ -91640,7 +98657,7 @@ "readonly": 1, "html_attribute": 0, "trigger_elements": "", - "deprecated": 0, + "deprecated": 1, "version": "", "test_description": null, "support_default_value": 0, @@ -91749,6 +98766,171 @@ "Number" ] }, + { + "id": 1709437692, + "platform_framework": [ + "64" + ], + "component": "StepItem", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": "class name of root node", + "field_required": 0, + "event_input": "", + "create_time": "2024-03-03 03:48:12", + "update_time": "2024-03-03 03:48:12", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1711974217, + "platform_framework": [ + "64" + ], + "component": "StepItem", + "field_category": 128, + "field_name": "t-class-content", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "内容样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 12:23:37", + "update_time": "2024-04-01 12:23:37", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1711974226, + "platform_framework": [ + "64" + ], + "component": "StepItem", + "field_category": 128, + "field_name": "t-class-description", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "描述样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 12:23:46", + "update_time": "2024-04-01 12:23:46", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1711974232, + "platform_framework": [ + "64" + ], + "component": "StepItem", + "field_category": 128, + "field_name": "t-class-extra", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "额外样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 12:23:52", + "update_time": "2024-04-01 12:23: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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1711974222, + "platform_framework": [ + "64" + ], + "component": "StepItem", + "field_category": 128, + "field_name": "t-class-title", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "标题样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 12:23:42", + "update_time": "2024-04-01 12:23:42", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 1502, "platform_framework": [ @@ -91884,7 +99066,7 @@ ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "输入框宽度", + "field_desc_zh": "输入框宽度,默认单位 `px`", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -92026,7 +99208,7 @@ "html_attribute": 0, "trigger_elements": "", "deprecated": 0, - "version": "{\"Miniprogram\": \"0.30.0\"}", + "version": "", "test_description": null, "support_default_value": 0, "field_category_text": "Props", @@ -92454,6 +99636,138 @@ "Number" ] }, + { + "id": 1712043997, + "platform_framework": [ + "64" + ], + "component": "Stepper", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 07:46:37", + "update_time": "2024-04-02 07:46:37", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712044016, + "platform_framework": [ + "64" + ], + "component": "Stepper", + "field_category": 128, + "field_name": "t-class-input", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "输入框样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 07:46:56", + "update_time": "2024-04-02 07:46:56", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712044021, + "platform_framework": [ + "64" + ], + "component": "Stepper", + "field_category": 128, + "field_name": "t-class-minus", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "左侧递减号样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 07:47:01", + "update_time": "2024-04-02 07:47:01", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712044027, + "platform_framework": [ + "64" + ], + "component": "Stepper", + "field_category": 128, + "field_name": "t-class-plus", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "右侧递增号样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 07:47:07", + "update_time": "2024-04-02 07:47:07", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 612, "platform_framework": [ @@ -92730,55 +100044,6 @@ "Boolean" ] }, - { - "id": 2666, - "platform_framework": [ - "1", - "2", - "4", - "8", - "16", - "32", - "64" - ], - "component": "Steps", - "field_category": 1, - "field_name": "separator", - "field_type": [ - "1" - ], - "field_default_value": "line", - "field_enum": "line/dashed/arrow", - "field_desc_zh": "步骤条分割符", - "field_desc_en": null, - "field_required": 0, - "event_input": "", - "create_time": "2022-05-06 05:49:01", - "update_time": "2022-05-11 06:18:19", - "event_output": null, - "custom_field_type": "", - "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": [ - "Vue(PC)", - "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" - ], - "field_type_text": [ - "String" - ] - }, { "id": 622, "platform_framework": [ @@ -93359,6 +100624,72 @@ "TNode" ] }, + { + "id": 1712053525, + "platform_framework": [ + "64" + ], + "component": "Sticky", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 10:25:25", + "update_time": "2024-04-02 10:25:25", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712053529, + "platform_framework": [ + "64" + ], + "component": "Sticky", + "field_category": 128, + "field_name": "t-class-content", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "内容样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 10:25:29", + "update_time": "2024-04-02 10:25:29", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 1853, "platform_framework": [ @@ -94509,14 +101840,14 @@ ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "右侧滑动操作项。有两种定义方式,一种是使用数组,二种是使用插槽。`right.text` 表示操作文本,`right.className` 表示操作项类名,`right.style` 表示操作项样式,`right.onClick` 表示点击操作项后执行的回调函数。示例:`[{ text: '删除', style: 'background-color: red', onClick: () => {} }]`", + "field_desc_zh": "右侧滑动操作项。有两种定义方式,一种是使用数组,二种是使用插槽。`right.text` 表示操作文本,`right.className` 表示操作项类名,`right.style` 表示操作项样式,`right.onClick` 表示点击操作项后执行的回调函数。示例:`[{ text: '删除', icon: 'delete', style: 'background-color: red', onClick: () => {} }]`", "field_desc_en": null, "field_required": 0, "event_input": "", "create_time": "2021-09-23 02:59:40", "update_time": "2022-03-04 00:57:38", "event_output": null, - "custom_field_type": "Array【interface SwipeActionItem {text: string; className?: string; style?: string; onClick?: () => void; [key: string]: any }】", + "custom_field_type": "Array【interface SwipeActionItem {text?: string; icon?: string | object, className?: string; style?: string; onClick?: () => void; [key: string]: any }】", "syntactic_sugar": null, "readonly": 1, "html_attribute": 0, @@ -95052,11 +102383,12 @@ "field_category": 1, "field_name": "height", "field_type": [ + "1", "2" ], - "field_default_value": "", + "field_default_value": "192", "field_enum": "", - "field_desc_zh": "当使用垂直方向滚动时的高度", + "field_desc_zh": "轮播的高度;默认单位 `px`", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -95083,6 +102415,7 @@ "Miniprogram" ], "field_type_text": [ + "String", "Number" ] }, @@ -95828,6 +103161,210 @@ ], "field_type_text": [] }, + { + "id": 1712053721, + "platform_framework": [ + "8", + "16", + "32", + "64" + ], + "component": "Swiper", + "field_category": 2, + "field_name": "imageLoad", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "图片加载时触发", + "field_desc_en": null, + "field_required": 0, + "event_input": "(index: number)", + "create_time": "2024-04-02 10:28:41", + "update_time": "2024-04-02 10:28:41", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "{\"Miniprogram\": \"1.1.4\"}", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Events", + "platform_framework_text": [ + "Vue(Mobile)", + "React(Mobile)", + "Angular(Mobile)", + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712053610, + "platform_framework": [ + "64" + ], + "component": "Swiper", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 10:26:50", + "update_time": "2024-04-02 10:26:50", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712053620, + "platform_framework": [ + "64" + ], + "component": "Swiper", + "field_category": 128, + "field_name": "t-class-image", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "当前图片样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 10:27:00", + "update_time": "2024-04-02 10:27:00", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712053615, + "platform_framework": [ + "64" + ], + "component": "Swiper", + "field_category": 128, + "field_name": "t-class-nav", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "导航样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 10:26:55", + "update_time": "2024-04-02 10:26: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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712053629, + "platform_framework": [ + "64" + ], + "component": "Swiper", + "field_category": 128, + "field_name": "t-class-next-image", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "下一图片样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 10:27:09", + "update_time": "2024-04-02 10:27:09", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712053624, + "platform_framework": [ + "64" + ], + "component": "Swiper", + "field_category": 128, + "field_name": "t-class-prev-image", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "上一图片样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 10:27:04", + "update_time": "2024-04-02 10:27:04", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 3271, "platform_framework": [ @@ -95872,7 +103409,265 @@ ] }, { - "id": 3273, + "id": 3273, + "platform_framework": [ + "8", + "16", + "32", + "64" + ], + "component": "SwiperNav", + "field_category": 1, + "field_name": "direction", + "field_type": [ + "1" + ], + "field_default_value": "horizontal", + "field_enum": "horizontal/vertical", + "field_desc_zh": "轮播滑动方向,包括横向滑动和纵向滑动两个方向", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2023-01-09 07:42:49", + "update_time": "2023-01-09 07:42:49", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "{\"Miniprogram\": \"0.34.0\"}", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "Vue(Mobile)", + "React(Mobile)", + "Angular(Mobile)", + "Miniprogram" + ], + "field_type_text": [ + "String" + ] + }, + { + "id": 3274, + "platform_framework": [ + "8", + "16", + "32", + "64" + ], + "component": "SwiperNav", + "field_category": 1, + "field_name": "minShowNum", + "field_type": [ + "2" + ], + "field_default_value": "2", + "field_enum": "", + "field_desc_zh": "小于这个数字不会显示导航器", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2023-01-09 07:43:31", + "update_time": "2023-01-09 07:43:31", + "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": [ + "Vue(Mobile)", + "React(Mobile)", + "Angular(Mobile)", + "Miniprogram" + ], + "field_type_text": [ + "Number" + ] + }, + { + "id": 1712053820, + "platform_framework": [ + "8", + "16", + "32", + "64" + ], + "component": "SwiperNav", + "field_category": 1, + "field_name": "paginationPosition", + "field_type": [ + "1" + ], + "field_default_value": "bottom", + "field_enum": "top-left/top/top-right/bottom-left/bottom/bottom-right", + "field_desc_zh": "页码信息展示位置", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 10:30:20", + "update_time": "2024-04-02 10:30:20", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "{\"Miniprogram\": \"0.34.0\"}", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "Vue(Mobile)", + "React(Mobile)", + "Angular(Mobile)", + "Miniprogram" + ], + "field_type_text": [ + "String" + ] + }, + { + "id": 3499, + "platform_framework": [ + "8", + "16", + "32", + "64" + ], + "component": "SwiperNav", + "field_category": 1, + "field_name": "placement", + "field_type": [ + "1" + ], + "field_default_value": "inside", + "field_enum": "inside/outside", + "field_desc_zh": "导航器位置,位于主体的内侧或是外侧", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2023-06-06 03:57:15", + "update_time": "2023-06-06 03:57:15", + "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": [ + "Vue(Mobile)", + "React(Mobile)", + "Angular(Mobile)", + "Miniprogram" + ], + "field_type_text": [ + "String" + ] + }, + { + "id": 3276, + "platform_framework": [ + "8", + "16", + "32", + "64" + ], + "component": "SwiperNav", + "field_category": 1, + "field_name": "showControls", + "field_type": [ + "4" + ], + "field_default_value": "false", + "field_enum": "", + "field_desc_zh": "是否显示两侧的控制按钮", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2023-01-09 07:44:30", + "update_time": "2023-01-09 07:44:30", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "{\"Miniprogram\": \"0.32.0\"}", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "Vue(Mobile)", + "React(Mobile)", + "Angular(Mobile)", + "Miniprogram" + ], + "field_type_text": [ + "Boolean" + ] + }, + { + "id": 3277, + "platform_framework": [ + "8", + "16", + "32", + "64" + ], + "component": "SwiperNav", + "field_category": 1, + "field_name": "total", + "field_type": [ + "2" + ], + "field_default_value": "0", + "field_enum": "", + "field_desc_zh": "总共的项数", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2023-01-09 07:44:53", + "update_time": "2023-01-09 07:44:53", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": null, + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "{\"Miniprogram\": \"0.34.0\"}", + "test_description": null, + "support_default_value": 0, + "field_category_text": "Props", + "platform_framework_text": [ + "Vue(Mobile)", + "React(Mobile)", + "Angular(Mobile)", + "Miniprogram" + ], + "field_type_text": [ + "Number" + ] + }, + { + "id": 3278, "platform_framework": [ "8", "16", @@ -95881,106 +103676,20 @@ ], "component": "SwiperNav", "field_category": 1, - "field_name": "direction", + "field_name": "type", "field_type": [ "1" ], - "field_default_value": "horizontal", - "field_enum": "horizontal/vertical", - "field_desc_zh": "轮播滑动方向,包括横向滑动和纵向滑动两个方向", - "field_desc_en": null, - "field_required": 0, - "event_input": "", - "create_time": "2023-01-09 07:42:49", - "update_time": "2023-01-09 07:42:49", - "event_output": null, - "custom_field_type": null, - "syntactic_sugar": null, - "readonly": 1, - "html_attribute": 0, - "trigger_elements": "", - "deprecated": 0, - "version": "{\"Miniprogram\": \"0.34.0\"}", - "test_description": null, - "support_default_value": 0, - "field_category_text": "Props", - "platform_framework_text": [ - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" - ], - "field_type_text": [ - "String" - ] - }, - { - "id": 3274, - "platform_framework": [ - "8", - "16", - "32", - "64" - ], - "component": "SwiperNav", - "field_category": 1, - "field_name": "minShowNum", - "field_type": [ - "2" - ], - "field_default_value": "2", + "field_default_value": "dots", "field_enum": "", - "field_desc_zh": "小于这个数字不会显示导航器", - "field_desc_en": null, - "field_required": 0, - "event_input": "", - "create_time": "2023-01-09 07:43:31", - "update_time": "2023-01-09 07:43:31", - "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": [ - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" - ], - "field_type_text": [ - "Number" - ] - }, - { - "id": 3499, - "platform_framework": [ - "8", - "16", - "32", - "64" - ], - "component": "SwiperNav", - "field_category": 1, - "field_name": "placement", - "field_type": [ - "1" - ], - "field_default_value": "inside", - "field_enum": "inside/outside", - "field_desc_zh": "导航器位置,位于主体的内侧或是外侧", + "field_desc_zh": "导航器类型,点状(dots)、点条状(dots-bar)、分式(fraction)等", "field_desc_en": null, "field_required": 0, "event_input": "", - "create_time": "2023-06-06 03:57:15", - "update_time": "2023-06-06 03:57:15", + "create_time": "2023-01-09 07:45:57", + "update_time": "2023-01-09 07:45:57", "event_output": null, - "custom_field_type": null, + "custom_field_type": "SwiperNavigationType【type SwiperNavigationType = 'dots' | 'dots-bar' | 'fraction'】", "syntactic_sugar": null, "readonly": 1, "html_attribute": 0, @@ -96001,70 +103710,22 @@ ] }, { - "id": 3276, - "platform_framework": [ - "8", - "16", - "32", - "64" - ], - "component": "SwiperNav", - "field_category": 1, - "field_name": "showControls", - "field_type": [ - "4" - ], - "field_default_value": "false", - "field_enum": "", - "field_desc_zh": "是否显示两侧的控制按钮", - "field_desc_en": null, - "field_required": 0, - "event_input": "", - "create_time": "2023-01-09 07:44:30", - "update_time": "2023-01-09 07:44:30", - "event_output": null, - "custom_field_type": null, - "syntactic_sugar": null, - "readonly": 1, - "html_attribute": 0, - "trigger_elements": "", - "deprecated": 0, - "version": "{\"Miniprogram\": \"0.32.0\"}", - "test_description": null, - "support_default_value": 0, - "field_category_text": "Props", - "platform_framework_text": [ - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" - ], - "field_type_text": [ - "Boolean" - ] - }, - { - "id": 3277, + "id": 1712053965, "platform_framework": [ - "8", - "16", - "32", "64" ], "component": "SwiperNav", - "field_category": 1, - "field_name": "total", - "field_type": [ - "2" - ], - "field_default_value": "0", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", "field_enum": "", - "field_desc_zh": "总共的项数", + "field_desc_zh": "根节点样式类", "field_desc_en": null, "field_required": 0, "event_input": "", - "create_time": "2023-01-09 07:44:53", - "update_time": "2023-01-09 07:44:53", + "create_time": "2024-04-02 10:32:45", + "update_time": "2024-04-02 10:32:45", "event_output": null, "custom_field_type": null, "syntactic_sugar": null, @@ -96072,62 +103733,14 @@ "html_attribute": 0, "trigger_elements": "", "deprecated": 0, - "version": "{\"Miniprogram\": \"0.34.0\"}", - "test_description": null, - "support_default_value": 0, - "field_category_text": "Props", - "platform_framework_text": [ - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" - ], - "field_type_text": [ - "Number" - ] - }, - { - "id": 3278, - "platform_framework": [ - "8", - "16", - "32", - "64" - ], - "component": "SwiperNav", - "field_category": 1, - "field_name": "type", - "field_type": [ - "1" - ], - "field_default_value": "dots", - "field_enum": "", - "field_desc_zh": "导航器类型,点状(dots)、点条状(dots-bar)、分式(fraction)等", - "field_desc_en": null, - "field_required": 0, - "event_input": "", - "create_time": "2023-01-09 07:45:57", - "update_time": "2023-01-09 07:45:57", - "event_output": null, - "custom_field_type": "SwiperNavigationType【type SwiperNavigationType = 'dots' | 'dots-bar' | 'fraction'】", - "syntactic_sugar": null, - "readonly": 1, - "html_attribute": 0, - "trigger_elements": "", - "deprecated": 0, "version": "", "test_description": null, "support_default_value": 0, - "field_category_text": "Props", + "field_category_text": "External Classes", "platform_framework_text": [ - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", "Miniprogram" ], - "field_type_text": [ - "String" - ] + "field_type_text": [] }, { "id": 3249, @@ -96629,7 +104242,7 @@ ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "已废弃。自定义颜色,[打开时的颜色,关闭时的颜色]。组件默认颜色为 ['#0052d9', 'rgba(0, 0, 0, .26']。示例:[blue, gray]", + "field_desc_zh": "自定义颜色,[打开时的颜色,关闭时的颜色]。组件默认颜色为 ['#0052d9', 'rgba(0, 0, 0, .26']。示例:[blue, gray]", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -96673,7 +104286,7 @@ "field_type": [ "16" ], - "field_default_value": "", + "field_default_value": "[true, false]", "field_enum": "", "field_desc_zh": "用于自定义开关的值,[打开时的值,关闭时的值]。默认为 [true, false]。示例:[1, 0]、['open', 'close']", "field_desc_en": null, @@ -96722,9 +104335,9 @@ "field_type": [ "4" ], - "field_default_value": "", + "field_default_value": "false", "field_enum": "", - "field_desc_zh": "是否禁用组件,默认为 false", + "field_desc_zh": "是否禁用组件", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -97130,7 +104743,7 @@ "create_time": "2022-10-31 17:29:41", "update_time": "2022-10-31 17:29:41", "event_output": null, - "custom_field_type": "T【type SwitchValue = string | number | boolean】", + "custom_field_type": "SwitchValue【type SwitchValue = string | number | boolean】", "syntactic_sugar": "v-model", "readonly": 1, "html_attribute": 0, @@ -97171,7 +104784,7 @@ "field_desc_zh": "数据发生变化时触发", "field_desc_en": null, "field_required": 0, - "event_input": "(value: T, context: { e: MouseEvent })", + "event_input": "(value: SwitchValue, context: { e: MouseEvent })", "create_time": "2020-11-30 08:23:04", "update_time": "2021-11-27 15:49:21", "event_output": null, @@ -98029,6 +105642,39 @@ ], "field_type_text": [] }, + { + "id": 1711974384, + "platform_framework": [ + "64" + ], + "component": "TabBar", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 12:26:24", + "update_time": "2024-04-01 12:26:24", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 1439, "platform_framework": [ @@ -98121,11 +105767,12 @@ "field_name": "icon", "field_type": [ "1", + "8", "64" ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "图标名称", + "field_desc_zh": "图标名称。传入对象时透传至 Icon 组件", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -98149,6 +105796,7 @@ ], "field_type_text": [ "String", + "Object", "TNode" ] }, @@ -98376,7 +106024,7 @@ ], "field_default_value": "true", "field_enum": "", - "field_desc_zh": "选项卡内容隐藏时是否销毁", + "field_desc_zh": "【实现有误,暂不支持】选项卡内容隐藏时是否销毁", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -98496,6 +106144,45 @@ "Boolean" ] }, + { + "id": 1711974931, + "platform_framework": [ + "64" + ], + "component": "TabPanel", + "field_category": 1, + "field_name": "icon", + "field_type": [ + "1", + "8" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "`1.0.0-rc.1`。图标,传对象则透传至 Icon", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 12:35:31", + "update_time": "2024-04-01 12:35:31", + "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", + "Object" + ] + }, { "id": 162, "platform_framework": [ @@ -102028,6 +109715,43 @@ "Array" ] }, + { + "id": 1711974538, + "platform_framework": [ + "64" + ], + "component": "Tabs", + "field_category": 1, + "field_name": "middle", + "field_type": [ + "64" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "中间内容,介于头部和内容之间", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 12:28:58", + "update_time": "2024-04-01 12:28:58", + "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": 158, "platform_framework": [ @@ -102159,6 +109883,80 @@ "String" ] }, + { + "id": 1711974625, + "platform_framework": [ + "64" + ], + "component": "Tabs", + "field_category": 1, + "field_name": "spaceEvenly", + "field_type": [ + "4" + ], + "field_default_value": "true", + "field_enum": "", + "field_desc_zh": "选项卡头部空间是否均分", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 12:30:25", + "update_time": "2024-04-01 12:30:25", + "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" + ] + }, + { + "id": 1711974651, + "platform_framework": [ + "64" + ], + "component": "Tabs", + "field_category": 1, + "field_name": "split", + "field_type": [ + "4" + ], + "field_default_value": "true", + "field_enum": "", + "field_desc_zh": "`1.1.10`。是否展示分割线", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 12:30:51", + "update_time": "2024-04-01 12:30:51", + "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" + ] + }, { "id": 3113, "platform_framework": [ @@ -102688,6 +110486,171 @@ ], "field_type_text": [] }, + { + "id": 1711974785, + "platform_framework": [ + "64" + ], + "component": "Tabs", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 12:33:05", + "update_time": "2024-04-01 12:33:05", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1711974814, + "platform_framework": [ + "64" + ], + "component": "Tabs", + "field_category": 128, + "field_name": "t-class-active", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "激活态样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 12:33:34", + "update_time": "2024-04-01 12:33:34", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1711974825, + "platform_framework": [ + "64" + ], + "component": "Tabs", + "field_category": 128, + "field_name": "t-class-content", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "内容样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 12:33:45", + "update_time": "2024-04-01 12:33:45", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1711974809, + "platform_framework": [ + "64" + ], + "component": "Tabs", + "field_category": 128, + "field_name": "t-class-item", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "选项样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 12:33:29", + "update_time": "2024-04-01 12:33:29", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1711974818, + "platform_framework": [ + "64" + ], + "component": "Tabs", + "field_category": 128, + "field_name": "t-class-track", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "滚动条样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-01 12:33:38", + "update_time": "2024-04-01 12:33:38", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 3310, "platform_framework": [ @@ -102744,7 +110707,9 @@ "field_category": 1, "field_name": "closable", "field_type": [ - "4" + "4", + "8", + "64" ], "field_default_value": "false", "field_enum": "", @@ -102775,7 +110740,9 @@ "Miniprogram" ], "field_type_text": [ - "Boolean" + "Boolean", + "Object", + "TNode" ] }, { @@ -103492,6 +111459,39 @@ ], "field_type_text": [] }, + { + "id": 1712054110, + "platform_framework": [ + "64" + ], + "component": "Tag", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 10:35:10", + "update_time": "2024-04-02 10:35:10", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 1953, "platform_framework": [ @@ -105694,11 +113694,12 @@ "field_category": 1, "field_name": "autosize", "field_type": [ - "4" + "4", + "8" ], "field_default_value": "false", "field_enum": "", - "field_desc_zh": "是否自动增高,值为 autosize 时,style.height 不生效", + "field_desc_zh": "是否自动增高,值为 true 时,style.height 不生效。支持传入对象,如 { maxHeight: 120, minHeight: 20 }", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -105722,7 +113723,8 @@ "Miniprogram" ], "field_type_text": [ - "Boolean" + "Boolean", + "Object" ] }, { @@ -105816,8 +113818,8 @@ "field_type": [ "1" ], - "field_default_value": "done", - "field_enum": "send/search/next/go/done", + "field_default_value": "return", + "field_enum": "return/send/search/next/go/done", "field_desc_zh": "设置键盘右下角按钮的文字,仅在 type='text'时生效", "field_desc_en": null, "field_required": 0, @@ -105825,7 +113827,7 @@ "create_time": "2021-09-22 03:28:54", "update_time": "2021-09-22 03:28:54", "event_output": null, - "custom_field_type": "'send' | 'search' | 'next' | 'go' | 'done'", + "custom_field_type": "'return' | 'send' | 'search' | 'next' | 'go' | 'done'", "syntactic_sugar": null, "readonly": 1, "html_attribute": 0, @@ -106039,6 +114041,43 @@ "Array" ] }, + { + "id": 1712045054, + "platform_framework": [ + "64" + ], + "component": "Textarea", + "field_category": 1, + "field_name": "fixed", + "field_type": [ + "4" + ], + "field_default_value": "false", + "field_enum": "", + "field_desc_zh": "如果 textarea 是在一个 `position:fixed` 的区域,需要显示指定属性 fixed 为 true", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 08:04:14", + "update_time": "2024-04-02 08:04:14", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": "v-model", + "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" + ] + }, { "id": 1801, "platform_framework": [ @@ -106129,7 +114168,7 @@ ], "field_default_value": "false", "field_enum": "", - "field_desc_zh": "显示文本计数器,如 0/140。当 maxlength < 0 && maxcharacter < 0 成立时, indicator无效", + "field_desc_zh": "显示文本计数器,如 0/140。当 `maxlength < 0 && maxcharacter < 0` 成立时, indicator无效", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -106271,12 +114310,11 @@ "field_category": 1, "field_name": "maxlength", "field_type": [ - "1", "2" ], - "field_default_value": "", + "field_default_value": "-1", "field_enum": "", - "field_desc_zh": "用户最多可以输入的字符个数", + "field_desc_zh": "用户最多可以输入的字符个数。默认为 -1,不限制输入长度", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -106303,7 +114341,6 @@ "Miniprogram" ], "field_type_text": [ - "String", "Number" ] }, @@ -106403,6 +114440,43 @@ "String" ] }, + { + "id": 1712044962, + "platform_framework": [ + "64" + ], + "component": "Textarea", + "field_category": 1, + "field_name": "placeholderStyle", + "field_type": [ + "1" + ], + "field_default_value": "''", + "field_enum": "", + "field_desc_zh": "指定 placeholder 的样式,目前仅支持 color ,font-size和font-weight", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 08:02:42", + "update_time": "2024-04-02 08:02:42", + "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": 964, "platform_framework": [ @@ -106736,7 +114810,7 @@ "field_type": [ "1" ], - "field_default_value": "", + "field_default_value": "null", "field_enum": "", "field_desc_zh": "文本框值", "field_desc_en": null, @@ -107200,6 +115274,138 @@ ], "field_type_text": [] }, + { + "id": 1712045223, + "platform_framework": [ + "64" + ], + "component": "Textarea", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 08:07:03", + "update_time": "2024-04-02 08:07:03", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712045259, + "platform_framework": [ + "64" + ], + "component": "Textarea", + "field_category": 128, + "field_name": "t-class-indicator", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "计数器样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 08:07:39", + "update_time": "2024-04-02 08:07:39", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712045254, + "platform_framework": [ + "64" + ], + "component": "Textarea", + "field_category": 128, + "field_name": "t-class-label", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "左侧文本样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 08:07:34", + "update_time": "2024-04-02 08:07:34", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, + { + "id": 1712045249, + "platform_framework": [ + "64" + ], + "component": "Textarea", + "field_category": 128, + "field_name": "t-class-textarea", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "占位符样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 08:07:29", + "update_time": "2024-04-02 08:07:29", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 630, "platform_framework": [ @@ -110089,43 +118295,6 @@ "Number" ] }, - { - "id": 1793, - "platform_framework": [ - "64" - ], - "component": "Toast", - "field_category": 1, - "field_name": "externalClasses", - "field_type": [ - "16" - ], - "field_default_value": "", - "field_enum": "", - "field_desc_zh": "组件类名", - "field_desc_en": null, - "field_required": 0, - "event_input": "", - "create_time": "2021-09-26 13:31:52", - "update_time": "2021-09-26 13:31:52", - "event_output": null, - "custom_field_type": "['t-class']", - "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": [ - "Array" - ] - }, { "id": 1347, "platform_framework": [ @@ -110141,7 +118310,7 @@ ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "自定义图标", + "field_desc_zh": "自定义图标。传入对象则透传至 Icon 组件", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -110278,7 +118447,7 @@ "create_time": "2022-04-28 02:50:39", "update_time": "2022-04-28 02:51:01", "event_output": null, - "custom_field_type": "OverlayProps 【import { OverlayProps } from '@Overlay'】", + "custom_field_type": "", "syntactic_sugar": null, "readonly": 1, "html_attribute": 0, @@ -110560,7 +118729,7 @@ ], "component": "Toast", "field_category": 2, - "field_name": "destroy", + "field_name": "destory", "field_type": [ "32" ], @@ -110593,6 +118762,39 @@ "Function" ] }, + { + "id": 1712058581, + "platform_framework": [ + "64" + ], + "component": "Toast", + "field_category": 128, + "field_name": "t-class", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "根节点样式类", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 11:49:41", + "update_time": "2024-04-02 11:49:41", + "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": "External Classes", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 3210, "platform_framework": [ @@ -117531,14 +125733,14 @@ ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "用来定义 `value / label / disabled / children` 在 `data` 数据中对应的字段别名,示例:`{ value: 'key', label: 'name', children: 'list' }`", + "field_desc_zh": "用来定义 value / label 在 `options` 中对应的字段别名", "field_desc_en": "alias filed name in data", "field_required": 0, "event_input": "", "create_time": "2022-12-21 08:16:47", "update_time": "2022-12-21 08:16:47", "event_output": null, - "custom_field_type": "TreeKeysType", + "custom_field_type": "KeysType", "syntactic_sugar": null, "readonly": 1, "html_attribute": 0, @@ -118608,19 +126810,18 @@ "field_type": [ "1", "2", - "8", "16" ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "选中值,泛型 `TreeValueType` 继承自 `TreeSelectValue`", + "field_desc_zh": "选中值", "field_desc_en": null, "field_required": 0, "event_input": "", "create_time": "2021-04-14 03:06:08", "update_time": "2022-01-21 04:23:43", "event_output": null, - "custom_field_type": "TreeValueType【type TreeSelectValue = string | number | TreeOptionData | Array】", + "custom_field_type": "TreeSelectValue【type TreeSelectValue = string | number | Array】", "syntactic_sugar": "v-model", "readonly": 1, "html_attribute": 0, @@ -118642,7 +126843,6 @@ "field_type_text": [ "String", "Number", - "Object", "Array" ] }, @@ -119821,7 +128021,7 @@ ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "添加按钮内容。值为空,使用默认图标渲染;值为 slot 则表示使用插槽渲染;其他值无效。", + "field_desc_zh": "添加按钮内容", "field_desc_en": null, "field_required": 0, "event_input": "", @@ -119904,7 +128104,7 @@ ], "field_default_value": "false", "field_enum": "", - "field_desc_zh": "是否允许重复上传相同文件名的文件", + "field_desc_zh": "【开发中】是否允许重复上传相同文件名的文件", "field_desc_en": "allow to upload duplicate name files", "field_required": 0, "event_input": "", @@ -120323,6 +128523,43 @@ "Boolean" ] }, + { + "id": 1712045608, + "platform_framework": [ + "64" + ], + "component": "Upload", + "field_category": 1, + "field_name": "disabled", + "field_type": [ + "4" + ], + "field_default_value": "false", + "field_enum": "", + "field_desc_zh": "是否禁用组件", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 08:13:28", + "update_time": "2024-04-02 08:13:28", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": "v-model", + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 1, + "field_category_text": "Props", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [ + "Boolean" + ] + }, { "id": 2991, "platform_framework": [ @@ -120407,6 +128644,45 @@ "Boolean" ] }, + { + "id": 1712046036, + "platform_framework": [ + "64" + ], + "component": "Upload", + "field_category": 1, + "field_name": "draggable", + "field_type": [ + "4", + "8" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "是否支持拖拽排序。长按时是否振动,碰撞时是否振动。示例一:`true`。示例二:`{ vibrate: true, collisionVibrate: true }`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/upload/type.ts)", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 08:20:36", + "update_time": "2024-04-02 08:20:36", + "event_output": null, + "custom_field_type": "", + "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", + "Object" + ] + }, { "id": 2383, "platform_framework": [ @@ -120454,6 +128730,43 @@ "TNode" ] }, + { + "id": 1712045680, + "platform_framework": [ + "64" + ], + "component": "Upload", + "field_category": 1, + "field_name": "fileListDisplay", + "field_type": [ + "64" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "【开发中】用于完全自定义文件列表内容。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/upload/type.ts)", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 08:14:40", + "update_time": "2024-04-02 08:14:40", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": "v-model", + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 1, + "field_category_text": "Props", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [ + "TNode" + ] + }, { "id": 887, "platform_framework": [ @@ -120521,7 +128834,7 @@ "create_time": "2021-09-14 13:48:56", "update_time": "2022-03-07 02:45:46", "event_output": null, - "custom_field_type": "Array【interface UploadFile { url: string; name?: string; size?: number; type?: 'image' | 'video'; percent?: number }】", + "custom_field_type": "Array【interface UploadFile { url: string; name?: string; size?: number; type?: 'image' | 'video'; percent?: number; status: 'loading' | 'reload' | 'failed' | 'done' }】", "syntactic_sugar": "v-model", "readonly": 1, "html_attribute": 0, @@ -120679,6 +128992,80 @@ "Function" ] }, + { + "id": 1712045777, + "platform_framework": [ + "64" + ], + "component": "Upload", + "field_category": 1, + "field_name": "gridConfig", + "field_type": [ + "8" + ], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "upload组件每行上传图片列数以及图片的宽度和高度", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 08:16:17", + "update_time": "2024-04-02 08:16:17", + "event_output": null, + "custom_field_type": "{column?: number; width?: number; height?: number;}", + "syntactic_sugar": "v-model", + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 1, + "field_category_text": "Props", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [ + "Object" + ] + }, + { + "id": 1712045812, + "platform_framework": [ + "64" + ], + "component": "Upload", + "field_category": 1, + "field_name": "gutter", + "field_type": [ + "2" + ], + "field_default_value": "16", + "field_enum": "", + "field_desc_zh": "预览窗格的 `gutter` 大小,单位 rpx", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 08:16:52", + "update_time": "2024-04-02 08:16:52", + "event_output": null, + "custom_field_type": null, + "syntactic_sugar": "v-model", + "readonly": 1, + "html_attribute": 0, + "trigger_elements": "", + "deprecated": 0, + "version": "", + "test_description": null, + "support_default_value": 1, + "field_category_text": "Props", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [ + "Number" + ] + }, { "id": 878, "platform_framework": [ @@ -120952,7 +129339,7 @@ ], "field_default_value": "0", "field_enum": "", - "field_desc_zh": "用于控制文件上传数量,值为 0 则不限制。注意,单文件上传场景,请勿设置 `max` 属性", + "field_desc_zh": "用于控制文件上传数量,值为 0 则不限制", "field_desc_en": "max count of files limit", "field_required": 0, "event_input": "", @@ -121463,7 +129850,7 @@ ], "field_default_value": "", "field_enum": "", - "field_desc_zh": "图片文件大小限制,默认单位 KB。可选单位有:`'B' | 'KB' | 'MB' | 'GB'`。示例一:`1000`。示例二:`{ size: 2, unit: 'MB', message: '图片大小不超过 {sizeLimit} MB' }`", + "field_desc_zh": "图片文件大小限制,单位 KB。可选单位有:`'B' | 'KB' | 'MB' | 'GB'`。示例一:`1000`。示例二:`{ size: 2, unit: 'MB', message: '图片大小不超过 {sizeLimit} MB' }`", "field_desc_en": "files size limit", "field_required": 0, "event_input": "", @@ -121506,7 +129893,7 @@ "1" ], "field_default_value": "media", - "field_enum": "", + "field_enum": "media/messageFile", "field_desc_zh": "来源", "field_desc_en": null, "field_required": 0, @@ -121693,6 +130080,43 @@ "TNode" ] }, + { + "id": 1712046417, + "platform_framework": [ + "64" + ], + "component": "Upload", + "field_category": 1, + "field_name": "transition", + "field_type": [ + "8" + ], + "field_default_value": "`{ backTransition: true, duration: 300, timingFunction: 'ease' }`", + "field_enum": "", + "field_desc_zh": "拖拽位置移动时的过渡参数", + "field_desc_en": null, + "field_required": 0, + "event_input": "", + "create_time": "2024-04-02 08:26:57", + "update_time": "2024-04-02 08:26:57", + "event_output": null, + "custom_field_type": "{ backTransition: boolean, duration: number, timingFunction: string },`duration`单位为ms。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/upload/type.ts)", + "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": 889, "platform_framework": [ @@ -122044,7 +130468,7 @@ "field_type": [], "field_default_value": "", "field_enum": "", - "field_desc_zh": "上传成功后触发,仅包含本次选择的照片;`url` 表示选定视频的临时文件路径 (本地路径)。`duration` 表示选定视频的时间长度。`size`选定视频的数据量大小。更多描述参考 wx.chooseMedia 小程序官网描述", + "field_desc_zh": "选择后触发,仅包含本次选择的照片;`url` 表示选定视频的临时文件路径 (本地路径)。`duration` 表示选定视频的时间长度。`size`选定视频的数据量大小。更多描述参考 wx.chooseMedia 小程序官网描述", "field_desc_en": null, "field_required": 0, "event_input": "(files: MediaContext)【type MediaContext = VideoContext[] | ImageContext[]】【interface VideoContext { name?: string; type?: string; url?: string; duration?: number; size?: number; width?: number; height?: number; thumb: string; progress: number }】【interface ImageContext { name: string; type: string; url: string; size: number; width: number; height: number; progress: number }】", @@ -122146,6 +130570,39 @@ ], "field_type_text": [] }, + { + "id": 1712047604, + "platform_framework": [ + "64" + ], + "component": "Upload", + "field_category": 2, + "field_name": "click", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "点击已选文件时触发;常用于重新上传", + "field_desc_en": null, + "field_required": 0, + "event_input": "(file: VideoContext | ImageContext)", + "create_time": "2024-04-02 08:46:44", + "update_time": "2024-04-02 08:46:44", + "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": "Events", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 1674, "platform_framework": [ @@ -122290,6 +130747,39 @@ ], "field_type_text": [] }, + { + "id": 1712047637, + "platform_framework": [ + "64" + ], + "component": "Upload", + "field_category": 2, + "field_name": "drop", + "field_type": [], + "field_default_value": "", + "field_enum": "", + "field_desc_zh": "拖拽结束后触发,包含所有上传的文件(拖拽后的文件顺序);`url` 表示选定视频的临时文件路径 (本地路径)。`duration` 表示选定视频的时间长度。`size`选定视频的数据量大小。更多描述参考 wx.chooseMedia 小程序官网描述。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/upload/type.ts)。
`type MediaContext = VideoContext[] | ImageContext[]`

`interface VideoContext { name?: string; type?: string; url?: string; duration?: number; size?: number; width?: number; height?: number; thumb: string; progress: number }`

`interface ImageContext { name: string; type: string; url: string; size: number; width: number; height: number; progress: number }`
", + "field_desc_en": null, + "field_required": 0, + "event_input": "(files: MediaContext)", + "create_time": "2024-04-02 08:47:17", + "update_time": "2024-04-02 08:47:17", + "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": "Events", + "platform_framework_text": [ + "Miniprogram" + ], + "field_type_text": [] + }, { "id": 892, "platform_framework": [ @@ -122656,10 +131146,10 @@ "field_type": [], "field_default_value": "", "field_enum": "", - "field_desc_zh": "选择文件或图片之后,上传之前,触发该事件。
`currentSelectedFiles` 表示本次上传选中的文件列表", + "field_desc_zh": "选择文件或图片之后,上传之前,触发该事件。
`files` 表示之前已经上传完成的文件列表。
`currentSelectedFiles` 表示本次上传选中的文件列表", "field_desc_en": null, "field_required": 0, - "event_input": "(currentSelectedFiles: MediaContext[])", + "event_input": "(files: MediaContext[]; currentSelectedFiles: MediaContext[])", "create_time": "2022-02-23 08:10:28", "update_time": "2022-04-06 14:32:05", "event_output": null, From 9a41565d3b87cd2a7ba7397827132b39bd7fb353 Mon Sep 17 00:00:00 2001 From: ssmyaojiayouya <2861884324@qq.com> Date: Sun, 7 Apr 2024 16:15:51 +0800 Subject: [PATCH 2/4] =?UTF-8?q?miniprogram=E6=96=87=E6=A1=A3=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E7=94=9F=E6=88=90=E6=94=B9=E5=8F=98+=E5=BD=95?= =?UTF-8?q?=E5=85=A5=E9=81=97=E7=95=99=E9=97=AE=E9=A2=98=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/TDesign.db | Bin 933888 -> 933888 bytes .../src/action-sheet/README.en-US.md | 21 +- .../src/action-sheet/README.md | 21 +- .../src/alert/README.en-US.md | 23 ++ .../tdesign-miniprogram/src/alert/README.md | 23 ++ .../src/avatar/README.en-US.md | 30 +- .../tdesign-miniprogram/src/avatar/README.md | 36 +- .../src/back-top/README.en-US.md | 18 +- .../src/back-top/README.md | 18 +- .../src/badge/README.en-US.md | 15 +- .../tdesign-miniprogram/src/badge/README.md | 13 +- .../src/button/README.en-US.md | 69 +++- .../tdesign-miniprogram/src/button/README.md | 69 +++- .../src/calendar/README.en-US.md | 29 +- .../src/calendar/README.md | 31 +- .../src/cascader/README.en-US.md | 24 +- .../src/cascader/README.md | 26 +- .../src/cell-group/README.en-US.md | 12 +- .../src/cell-group/README.md | 14 +- .../src/cell/README.en-US.md | 38 +- .../tdesign-miniprogram/src/cell/README.md | 36 +- .../src/checkbox/README.en-US.md | 56 ++- .../src/checkbox/README.md | 58 ++- .../src/collapse/README.en-US.md | 29 +- .../src/collapse/README.md | 33 +- .../src/color-picker/README.en-US.md | 3 + .../src/color-picker/README.md | 5 +- .../src/comment/README.en-US.md | 17 + .../tdesign-miniprogram/src/comment/README.md | 17 + .../src/config-provider/README.en-US.md | 29 ++ .../src/config-provider/README.md | 29 ++ .../src/count-down/README.en-US.md | 19 +- .../src/count-down/README.md | 21 +- .../src/date-time-picker/README.en-US.md | 25 +- .../src/date-time-picker/README.md | 29 +- .../date-time-range-picker/README.en-US.md | 28 ++ .../src/date-time-range-picker/README.md | 28 ++ .../src/dialog/README.en-US.md | 29 +- .../tdesign-miniprogram/src/dialog/README.md | 29 +- .../src/divider/README.en-US.md | 19 +- .../tdesign-miniprogram/src/divider/README.md | 17 +- .../src/drawer/README.en-US.md | 14 +- .../tdesign-miniprogram/src/drawer/README.md | 14 +- .../src/dropdown-item/README.en-US.md | 38 ++ .../src/dropdown-item/README.md | 38 ++ .../src/dropdown-menu/README.en-US.md | 37 +- .../src/dropdown-menu/README.md | 39 +- .../src/empty/README.en-US.md | 18 +- .../tdesign-miniprogram/src/empty/README.md | 22 +- .../src/fab/README.en-US.md | 7 +- .../tdesign-miniprogram/src/fab/README.md | 9 +- .../src/footer/README.en-US.md | 8 +- .../tdesign-miniprogram/src/footer/README.md | 16 +- .../src/form/README.en-US.md | 104 +++++ .../tdesign-miniprogram/src/form/README.md | 104 +++++ .../src/grid/README.en-US.md | 66 ++- .../tdesign-miniprogram/src/grid/README.md | 66 ++- .../src/icon/README.en-US.md | 25 ++ .../tdesign-miniprogram/src/icon/README.md | 25 ++ .../src/image-viewer/README.en-US.md | 21 +- .../src/image-viewer/README.md | 19 +- .../src/image/README.en-US.md | 31 +- .../tdesign-miniprogram/src/image/README.md | 29 +- .../src/indexes-anchor/README.en-US.md | 11 + .../src/indexes-anchor/README.md | 11 + .../src/indexes/README.en-US.md | 19 +- .../tdesign-miniprogram/src/indexes/README.md | 21 +- .../src/input/README.en-US.md | 92 +++-- .../tdesign-miniprogram/src/input/README.md | 94 +++-- .../src/link/README.en-US.md | 37 ++ .../tdesign-miniprogram/src/link/README.md | 37 ++ .../src/list/README.en-US.md | 30 ++ .../tdesign-miniprogram/src/list/README.md | 30 ++ .../src/loading/README.en-US.md | 20 +- .../tdesign-miniprogram/src/loading/README.md | 20 +- .../src/message/README.en-US.md | 29 +- .../tdesign-miniprogram/src/message/README.md | 31 +- .../src/navbar/README.en-US.md | 22 +- .../tdesign-miniprogram/src/navbar/README.md | 36 +- .../src/notice-bar/README.en-US.md | 29 +- .../src/notice-bar/README.md | 31 +- .../src/overlay/README.en-US.md | 14 +- .../tdesign-miniprogram/src/overlay/README.md | 20 +- .../src/pagination/README.en-US.md | 33 ++ .../src/pagination/README.md | 33 ++ .../src/picker/README.en-US.md | 29 +- .../tdesign-miniprogram/src/picker/README.md | 31 +- .../src/popconfirm/README.en-US.md | 23 ++ .../src/popconfirm/README.md | 23 ++ .../src/popup/README.en-US.md | 22 +- .../tdesign-miniprogram/src/popup/README.md | 22 +- .../src/progress/README.en-US.md | 17 +- .../src/progress/README.md | 17 +- .../src/pull-down-refresh/README.en-US.md | 24 +- .../src/pull-down-refresh/README.md | 26 +- .../src/radio/README.en-US.md | 45 +- .../tdesign-miniprogram/src/radio/README.md | 51 ++- .../src/range-input/README.en-US.md | 39 ++ .../src/range-input/README.md | 39 ++ .../src/rate/README.en-US.md | 21 +- .../tdesign-miniprogram/src/rate/README.md | 25 +- .../src/result/README.en-US.md | 23 +- .../tdesign-miniprogram/src/result/README.md | 23 +- .../src/search/README.en-US.md | 58 ++- .../tdesign-miniprogram/src/search/README.md | 62 ++- .../src/side-bar/README.en-US.md | 32 ++ .../src/side-bar/README.md | 32 ++ .../src/skeleton/README.en-US.md | 16 +- .../src/skeleton/README.md | 18 +- .../src/slider/README.en-US.md | 22 +- .../tdesign-miniprogram/src/slider/README.md | 24 +- .../src/statistic/README.en-US.md | 8 + .../src/statistic/README.md | 8 + .../src/stepper/README.en-US.md | 16 +- .../tdesign-miniprogram/src/stepper/README.md | 20 +- .../src/steps/README.en-US.md | 37 +- .../tdesign-miniprogram/src/steps/README.md | 35 +- .../src/sticky-tool/README.en-US.md | 12 + .../src/sticky-tool/README.md | 12 + .../src/sticky/README.en-US.md | 13 +- .../tdesign-miniprogram/src/sticky/README.md | 15 +- .../src/swipe-cell/README.en-US.md | 8 +- .../src/swipe-cell/README.md | 10 +- .../src/swiper-nav/README.en-US.md | 11 +- .../src/swiper-nav/README.md | 9 +- .../src/swiper-navigation/README.en-US.md | 16 + .../src/swiper-navigation/README.md | 16 + .../src/swiper/README.en-US.md | 31 +- .../tdesign-miniprogram/src/swiper/README.md | 25 +- .../src/switch/README.en-US.md | 12 +- .../tdesign-miniprogram/src/switch/README.md | 14 +- .../src/tab-bar/README.en-US.md | 24 +- .../tdesign-miniprogram/src/tab-bar/README.md | 28 +- .../src/table/README.en-US.md | 33 ++ .../tdesign-miniprogram/src/table/README.md | 33 ++ .../src/tabs/README.en-US.md | 33 +- .../tdesign-miniprogram/src/tabs/README.md | 41 +- .../src/tag/README.en-US.md | 54 ++- .../tdesign-miniprogram/src/tag/README.md | 52 ++- .../src/textarea/README.en-US.md | 40 +- .../src/textarea/README.md | 42 +- .../src/timeline/README.en-US.md | 34 ++ .../src/timeline/README.md | 34 ++ .../src/toast/README.en-US.md | 22 +- .../tdesign-miniprogram/src/toast/README.md | 18 +- .../src/transfer/README.en-US.md | 36 ++ .../src/transfer/README.md | 36 ++ .../src/transition/README.en-US.md | 4 +- .../src/transition/README.md | 6 +- .../src/tree-select/README.en-US.md | 22 + .../src/tree-select/README.md | 22 + .../src/tree/README.en-US.md | 84 ++++ .../tdesign-miniprogram/src/tree/README.md | 84 ++++ .../src/upload-file/README.en-US.md | 20 + .../src/upload-file/README.md | 20 + .../src/upload/README.en-US.md | 33 +- .../tdesign-miniprogram/src/upload/README.md | 33 +- .../src/watermark/README.en-US.md | 46 +++ .../src/watermark/README.md | 46 +++ packages/scripts/api.json | 384 ++++++++++++++---- 160 files changed, 4028 insertions(+), 964 deletions(-) create mode 100644 packages/products/tdesign-miniprogram/src/alert/README.en-US.md create mode 100644 packages/products/tdesign-miniprogram/src/alert/README.md create mode 100644 packages/products/tdesign-miniprogram/src/comment/README.en-US.md create mode 100644 packages/products/tdesign-miniprogram/src/comment/README.md create mode 100644 packages/products/tdesign-miniprogram/src/config-provider/README.en-US.md create mode 100644 packages/products/tdesign-miniprogram/src/config-provider/README.md create mode 100644 packages/products/tdesign-miniprogram/src/date-time-range-picker/README.en-US.md create mode 100644 packages/products/tdesign-miniprogram/src/date-time-range-picker/README.md create mode 100644 packages/products/tdesign-miniprogram/src/dropdown-item/README.en-US.md create mode 100644 packages/products/tdesign-miniprogram/src/dropdown-item/README.md create mode 100644 packages/products/tdesign-miniprogram/src/form/README.en-US.md create mode 100644 packages/products/tdesign-miniprogram/src/form/README.md create mode 100644 packages/products/tdesign-miniprogram/src/icon/README.en-US.md create mode 100644 packages/products/tdesign-miniprogram/src/icon/README.md create mode 100644 packages/products/tdesign-miniprogram/src/indexes-anchor/README.en-US.md create mode 100644 packages/products/tdesign-miniprogram/src/indexes-anchor/README.md create mode 100644 packages/products/tdesign-miniprogram/src/link/README.en-US.md create mode 100644 packages/products/tdesign-miniprogram/src/link/README.md create mode 100644 packages/products/tdesign-miniprogram/src/list/README.en-US.md create mode 100644 packages/products/tdesign-miniprogram/src/list/README.md create mode 100644 packages/products/tdesign-miniprogram/src/pagination/README.en-US.md create mode 100644 packages/products/tdesign-miniprogram/src/pagination/README.md create mode 100644 packages/products/tdesign-miniprogram/src/popconfirm/README.en-US.md create mode 100644 packages/products/tdesign-miniprogram/src/popconfirm/README.md create mode 100644 packages/products/tdesign-miniprogram/src/range-input/README.en-US.md create mode 100644 packages/products/tdesign-miniprogram/src/range-input/README.md create mode 100644 packages/products/tdesign-miniprogram/src/side-bar/README.en-US.md create mode 100644 packages/products/tdesign-miniprogram/src/side-bar/README.md create mode 100644 packages/products/tdesign-miniprogram/src/sticky-tool/README.en-US.md create mode 100644 packages/products/tdesign-miniprogram/src/sticky-tool/README.md create mode 100644 packages/products/tdesign-miniprogram/src/swiper-navigation/README.en-US.md create mode 100644 packages/products/tdesign-miniprogram/src/swiper-navigation/README.md create mode 100644 packages/products/tdesign-miniprogram/src/table/README.en-US.md create mode 100644 packages/products/tdesign-miniprogram/src/table/README.md create mode 100644 packages/products/tdesign-miniprogram/src/timeline/README.en-US.md create mode 100644 packages/products/tdesign-miniprogram/src/timeline/README.md create mode 100644 packages/products/tdesign-miniprogram/src/transfer/README.en-US.md create mode 100644 packages/products/tdesign-miniprogram/src/transfer/README.md create mode 100644 packages/products/tdesign-miniprogram/src/tree-select/README.en-US.md create mode 100644 packages/products/tdesign-miniprogram/src/tree-select/README.md create mode 100644 packages/products/tdesign-miniprogram/src/tree/README.en-US.md create mode 100644 packages/products/tdesign-miniprogram/src/tree/README.md create mode 100644 packages/products/tdesign-miniprogram/src/upload-file/README.en-US.md create mode 100644 packages/products/tdesign-miniprogram/src/upload-file/README.md create mode 100644 packages/products/tdesign-miniprogram/src/watermark/README.en-US.md create mode 100644 packages/products/tdesign-miniprogram/src/watermark/README.md diff --git a/db/TDesign.db b/db/TDesign.db index f5bf52fe1196afb231f20fb0860cc1b54da329df..5f177d30cc2b3e0eddf7c08e8eb78411f8f9fcdc 100644 GIT binary patch delta 1175 zcmZXRe`r%z6vy9v_a*P%+;>9l+NMcsn{@stBx#fP($-W)+}e#5Don-Be^wi7tz8@U zqa6%kU9vJV8DdLxcRa#xtt>qx{Z*O86ZY z_H&mT|08a?amx{e1ewL1p62ioUHehqEOC+D$9&TE&e zR`DOSPS%w9JYA|IBNWwVnCJq9(&77K`p(y?(k!S%)a{?tzDJ+<1(r zLD^Z)G#xn+(C@q7p6itPxEJa5Vl&deRf8>asfN`8Ed=msXltp}-0o7Z(u0}&=%OAF zpy_vzc;wR4xW@QGfd&=%k)Hy5QajfzdA^tG0e+b3kMq+WT}*q(ncXT|5G_Nbk!f&J z8RoBylfA)QO<}8?M~M1pE#%m99T{zWDMLQQV}&SRxb3OqRf9wm0~6#`qh-=Qtyo4m2j(o=nz^ytX@Ja+=V6rUB1I6^7$^ODgQ zkY8=Zc>P7mZGU2%k=qAPjG7VjhHwo*L9Jpp*x&3=c8M*qpV&EeTAbSlR|sn5hsU9{ z|3G!`J77|*sZxzW+)=|2bJQTTJ8A&h9JK?Yj_QYqqk14L?u|p;Z@3v@uE)IXRhkPQ z!yDD2x*h$CCJ-*fv%la2w#mQpdjnJ&Z|ghs?gvwRiT!q% ehq_D8(&Lz3xd$88uMH~RQBi5ULrf&R$JtXoSS%X= delta 728 zcmZ8dOGs2v7{2G8J9E#y_nh&S+8vFVNd&=}nwJAJB3-nH5>W`6iymX8AiV#`F-eBKm;b94kn&CWT;k>k3UgSTO zLYm{k_5N)yF7BnRl+H8As|Gz$kh;yqg2Z8Aiv?@)8klj~Tv>5<|Ty?c>XU_EeD@*embn=O8XIPRq z0Nb?4Q7DhqWFwqIV~T9&*;gLQjr5TsuVH*sz(p}GN6e%uv!sgVdPH)E?T(^)O|k`r zKeT-qov!rwyqU`yAJ-1X z>AOpc!5Tkl` `interface ActionSheetItem {label: string; color?: string; disabled?: boolean }`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/action-sheet/type.ts) | Y +description | String | - | `0.29.0` | N +items | Array | - | required。Typescript:`Array` `interface ActionSheetItem {label: string; color?: string; disabled?: boolean;icon?: string;suffixIcon?: string; }`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/action-sheet/type.ts) | Y +popup-props | Object | {} | \- | N show-cancel | Boolean | true | \- | N -style | String | - | \- | N -theme | String | list | options:list/grid | N +show-overlay | Boolean | true | \- | N +theme | String | list | options: list/grid | N visible | Boolean | false | required | Y default-visible | Boolean | undefined | required。uncontrolled property | Y @@ -19,5 +25,12 @@ default-visible | Boolean | undefined | required。uncontrolled property | Y name | params | description -- | -- | -- cancel | \- | \- -close | \- | \- +close | `(trigger: TriggerSource)` | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/action-sheet/type.ts)。
`type TriggerSource = 'overlay' \| 'command' \| 'select' `
selected | `(selected: ActionSheetItem \| string, index: number)` | \- +### ActionSheet External Classes + +className | Description +-- | -- +t-class | \- +t-class-cancel | \- +t-class-content | \- diff --git a/packages/products/tdesign-miniprogram/src/action-sheet/README.md b/packages/products/tdesign-miniprogram/src/action-sheet/README.md index 5a5564514..4f856f23d 100644 --- a/packages/products/tdesign-miniprogram/src/action-sheet/README.md +++ b/packages/products/tdesign-miniprogram/src/action-sheet/README.md @@ -1,15 +1,21 @@ :: BASE_DOC :: ## API + ### ActionSheet Props -名称 | 类型 | 默认值 | 说明 | 必传 +名称 | 类型 | 默认值 | 描述 | 必传 -- | -- | -- | -- | -- +style | Object | - | 样式 | N +custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N +align | String | center | `0.29.0`。水平对齐方式。可选项:center/left | N cancel-text | String | - | 设置取消按钮的文本 | N count | Number | 8 | 设置每页展示菜单的数量,仅当 type=grid 时有效 | N -items | Array | - | 必需。菜单项。TS 类型:`Array` `interface ActionSheetItem {label: string; color?: string; disabled?: boolean }`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/action-sheet/type.ts) | Y +description | String | - | `0.29.0`。动作面板描述文字 | N +items | Array | - | 必需。菜单项。TS 类型:`Array` `interface ActionSheetItem {label: string; color?: string; disabled?: boolean;icon?: string;suffixIcon?: string; }`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/action-sheet/type.ts) | Y +popup-props | Object | {} | popupProps透传 | N show-cancel | Boolean | true | 是否显示取消按钮 | N -style | String | - | 自定义组件样式 | N +show-overlay | Boolean | true | 是否显示遮罩层 | N theme | String | list | 展示类型,列表和表格形式展示。可选项:list/grid | N visible | Boolean | false | 必需。显示与隐藏 | Y default-visible | Boolean | undefined | 必需。显示与隐藏。非受控属性 | Y @@ -19,5 +25,12 @@ default-visible | Boolean | undefined | 必需。显示与隐藏。非受控属 名称 | 参数 | 描述 -- | -- | -- cancel | \- | 点击取消按钮时触发 -close | \- | 关闭时触发 +close | `(trigger: TriggerSource)` | 关闭时触发。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/action-sheet/type.ts)。
`type TriggerSource = 'overlay' \| 'command' \| 'select' `
selected | `(selected: ActionSheetItem \| string, index: number)` | 选择菜单项时触发 +### ActionSheet External Classes + +类名 | 描述 +-- | -- +t-class | 根节点样式类 +t-class-cancel | 取消样式类 +t-class-content | 内容样式类 diff --git a/packages/products/tdesign-miniprogram/src/alert/README.en-US.md b/packages/products/tdesign-miniprogram/src/alert/README.en-US.md new file mode 100644 index 000000000..ee84cd639 --- /dev/null +++ b/packages/products/tdesign-miniprogram/src/alert/README.en-US.md @@ -0,0 +1,23 @@ +:: BASE_DOC :: + +## API + +### Alert Props + +name | type | default | description | required +-- | -- | -- | -- | -- +style | Object | - | CSS(Cascading Style Sheets) | N +custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N +close | String / Boolean / Slot | false | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +max-line | Number | 0 | \- | N +message | String / Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +operation | Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +theme | String | info | options: success/info/warning/error | N +title | String / Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N + +### Alert Events + +name | params | description +-- | -- | -- +close | - | \- +closed | `(detail: { e: TransitionEvent })` | \- diff --git a/packages/products/tdesign-miniprogram/src/alert/README.md b/packages/products/tdesign-miniprogram/src/alert/README.md new file mode 100644 index 000000000..0bd4cb715 --- /dev/null +++ b/packages/products/tdesign-miniprogram/src/alert/README.md @@ -0,0 +1,23 @@ +:: BASE_DOC :: + +## API + +### Alert Props + +名称 | 类型 | 默认值 | 描述 | 必传 +-- | -- | -- | -- | -- +style | Object | - | 样式 | N +custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N +close | String / Boolean / Slot | false | 关闭按钮。值为 true 则显示默认关闭按钮;值为 false 则不显示按钮;值类型为 string 则直接显示;值类型为 Function 则可以自定关闭按钮。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +max-line | Number | 0 | 内容显示最大行数,超出的内容会折叠收起,用户点击后再展开。值为 0 表示不折叠 | N +message | String / Slot | - | 内容(子元素)。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +operation | Slot | - | 跟在告警内容后面的操作区。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +theme | String | info | 组件风格。可选项:success/info/warning/error | N +title | String / Slot | - | 标题。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N + +### Alert Events + +名称 | 参数 | 描述 +-- | -- | -- +close | - | 关闭按钮点击时触发 +closed | `(detail: { e: TransitionEvent })` | 告警提示框关闭动画结束后触发 diff --git a/packages/products/tdesign-miniprogram/src/avatar/README.en-US.md b/packages/products/tdesign-miniprogram/src/avatar/README.en-US.md index 409316639..b5e4bc769 100644 --- a/packages/products/tdesign-miniprogram/src/avatar/README.en-US.md +++ b/packages/products/tdesign-miniprogram/src/avatar/README.en-US.md @@ -1,19 +1,20 @@ :: BASE_DOC :: ## API + ### Avatar Props name | type | default | description | required -- | -- | -- | -- | -- +style | Object | - | CSS(Cascading Style Sheets) | N +custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N alt | String | - | show it when url is not valid | N badge-props | Object | - | Typescript:`BadgeProps`,[Badge API Documents](./badge?tab=api)。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/avatar/type.ts) | N bordered | Boolean | false | \- | N -custom-style | String | - | `0.25.0` | N -external-classes | Array | - | `['t-class', 't-class-image', 't-class-icon', 't-class-alt', 't-class-content']` | N hide-on-load-failed | Boolean | false | hide image when loading image failed | N icon | String / Object | - | \- | N image | String | - | images url | N -image-props | Object | - | Typescript:`ImageProps`,[Image API Documents](./image?tab=api)。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/avatar/type.ts) | N +image-props | Object | - | \- | N shape | String | circle | shape。options: circle/round。Typescript:`ShapeEnum ` `type ShapeEnum = 'circle' \| 'round'`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/avatar/type.ts) | N size | String | medium | size | N @@ -22,14 +23,31 @@ size | String | medium | size | N name | params | description -- | -- | -- error | - | trigger on image load failed +### Avatar External Classes + +className | Description +-- | -- +t-class | \- +t-class-alt | \- +t-class-content | \- +t-class-icon | \- +t-class-image | \- + ### AvatarGroup Props name | type | default | description | required -- | -- | -- | -- | -- -cascading | String | 'right-up' | multiple images cascading。options: left-up/right-up。Typescript:`CascadingValue` `type CascadingValue = 'left-up' \| 'right-up'`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/avatar-group/type.ts) | N +style | Object | - | CSS(Cascading Style Sheets) | N +custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N +cascading | String | 'left-up' | multiple images cascading。options: left-up/right-up。Typescript:`CascadingValue` `type CascadingValue = 'left-up' \| 'right-up'`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/avatar-group/type.ts) | N collapse-avatar | String / Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N -custom-style | String | - | `0.25.0` | N -external-classes | Array | - | `['t-class', 't-class-image', 't-class-content']` | N max | Number | - | \- | N size | String | medium | size | N +### AvatarGroup External Classes + +className | Description +-- | -- +t-class | \- +t-class-content | \- +t-class-image | \- diff --git a/packages/products/tdesign-miniprogram/src/avatar/README.md b/packages/products/tdesign-miniprogram/src/avatar/README.md index dd92f20c5..d94e66cc6 100644 --- a/packages/products/tdesign-miniprogram/src/avatar/README.md +++ b/packages/products/tdesign-miniprogram/src/avatar/README.md @@ -1,35 +1,53 @@ :: BASE_DOC :: ## API + ### Avatar Props -名称 | 类型 | 默认值 | 说明 | 必传 +名称 | 类型 | 默认值 | 描述 | 必传 -- | -- | -- | -- | -- +style | Object | - | 样式 | N +custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N alt | String | - | 头像替换文本,仅当图片加载失败时有效 | N badge-props | Object | - | 头像右上角提示信息,继承 Badge 组件的全部特性。如:小红点,或者数字。TS 类型:`BadgeProps`,[Badge API Documents](./badge?tab=api)。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/avatar/type.ts) | N bordered | Boolean | false | 已废弃。是否显示外边框 | N -custom-style | String | - | `0.25.0`。自定义组件样式 | N -external-classes | Array | - | 组件类名,用于设置组件外层元素类名。`['t-class', 't-class-image', 't-class-icon', 't-class-alt', 't-class-content']` | N hide-on-load-failed | Boolean | false | 加载失败时隐藏图片 | N icon | String / Object | - | 图标。值为字符串表示图标名称,值为 `Object` 类型,表示透传至 `icon`。 | N image | String | - | 图片地址 | N -image-props | Object | - | 透传至 Image 组件。TS 类型:`ImageProps`,[Image API Documents](./image?tab=api)。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/avatar/type.ts) | N +image-props | Object | - | 透传至 Image 组件 | N shape | String | circle | 形状。可选项:circle/round。TS 类型:`ShapeEnum ` `type ShapeEnum = 'circle' \| 'round'`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/avatar/type.ts) | N -size | String | medium | 尺寸,示例值:small/medium/large/24px/38px 等。优先级高于 AvatarGroup.size 。Avatar 单独存在时,默认值为 medium。如果父组件存在 AvatarGroup,默认值便由 AvatarGroup.size 决定 | N +size | String | medium | 尺寸,示例值:small/medium/large/24px/38px 等 | N ### Avatar Events 名称 | 参数 | 描述 -- | -- | -- error | - | 图片加载失败时触发 +### Avatar External Classes + +类名 | 描述 +-- | -- +t-class | 根节点样式类 +t-class-alt | 替代文本样式类 +t-class-content | 内容样式类 +t-class-icon | 图标样式类 +t-class-image | 图片样式类 + ### AvatarGroup Props -名称 | 类型 | 默认值 | 说明 | 必传 +名称 | 类型 | 默认值 | 描述 | 必传 -- | -- | -- | -- | -- -cascading | String | 'right-up' | 图片之间的层叠关系,可选值:左侧图片在上和右侧图片在上。可选项:left-up/right-up。TS 类型:`CascadingValue` `type CascadingValue = 'left-up' \| 'right-up'`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/avatar-group/type.ts) | N +style | Object | - | 样式 | N +custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N +cascading | String | 'left-up' | 图片之间的层叠关系,可选值:左侧图片在上和右侧图片在上。可选项:left-up/right-up。TS 类型:`CascadingValue` `type CascadingValue = 'left-up' \| 'right-up'`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/avatar-group/type.ts) | N collapse-avatar | String / Slot | - | 头像数量超出时,会出现一个头像折叠元素。该元素内容可自定义。默认为 `+N`。示例:`+5`,`...`, `更多`。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N -custom-style | String | - | `0.25.0`。自定义组件样式 | N -external-classes | Array | - | 组件类名,用于设置组件外层元素类名。`['t-class', 't-class-image', 't-class-content']` | N max | Number | - | 能够同时显示的最多头像数量 | N size | String | medium | 尺寸,示例值:small/medium/large/24px/38px 等。优先级低于 Avatar.size | N +### AvatarGroup External Classes + +类名 | 描述 +-- | -- +t-class | 根节点样式类 +t-class-content | 内容样式类 +t-class-image | 图片样式类 diff --git a/packages/products/tdesign-miniprogram/src/back-top/README.en-US.md b/packages/products/tdesign-miniprogram/src/back-top/README.en-US.md index 4df6f7a15..14f120daa 100644 --- a/packages/products/tdesign-miniprogram/src/back-top/README.en-US.md +++ b/packages/products/tdesign-miniprogram/src/back-top/README.en-US.md @@ -1,19 +1,29 @@ :: BASE_DOC :: ## API + ### BackTop Props name | type | default | description | required -- | -- | -- | -- | -- -external-classes | Array | - | `['t-class', 't-class-icon', 't-class-text']` | N +style | Object | - | CSS(Cascading Style Sheets) | N +custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N fixed | Boolean | true | \- | N -icon | String / Slot | 'backtop' | \- | N -style | String | - | \- | N +icon | String / Boolean / Object / Slot | true | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +scroll-top | Number | 0 | \- | N text | String | '' | \- | N -theme | String | round | options:round/half-round/round-dark/half-round-dark | N +theme | String | round | options: round/half-round/round-dark/half-round-dark | N +visibility-height | Number | 200 | \- | N ### BackTop Events name | params | description -- | -- | -- to-top | \- | \- +### BackTop External Classes + +className | Description +-- | -- +t-class | \- +t-class-icon | \- +t-class-text | \- diff --git a/packages/products/tdesign-miniprogram/src/back-top/README.md b/packages/products/tdesign-miniprogram/src/back-top/README.md index c67a746e9..f3835e58c 100644 --- a/packages/products/tdesign-miniprogram/src/back-top/README.md +++ b/packages/products/tdesign-miniprogram/src/back-top/README.md @@ -1,19 +1,29 @@ :: BASE_DOC :: ## API + ### BackTop Props -名称 | 类型 | 默认值 | 说明 | 必传 +名称 | 类型 | 默认值 | 描述 | 必传 -- | -- | -- | -- | -- -external-classes | Array | - | 组件类名,分别用于设置外层元素、图标、文本内容等元素类名。`['t-class', 't-class-icon', 't-class-text']` | N +style | Object | - | 样式 | N +custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N fixed | Boolean | true | 是否绝对定位固定到屏幕右下方 | N -icon | String / Slot | 'backtop' | 图标 | N -style | String | - | 自定义组件样式 | N +icon | String / Boolean / Object / Slot | true | 图标。值为 `false` 表示不显示图标。不传表示使用默认图标 `'backtop'`。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +scroll-top | Number | 0 | 页面滚动距离 | N text | String | '' | 文案 | N theme | String | round | 预设的样式类型。可选项:round/half-round/round-dark/half-round-dark | N +visibility-height | Number | 200 | 滚动高度达到此参数值才出现 | N ### BackTop Events 名称 | 参数 | 描述 -- | -- | -- to-top | \- | 点击触发 +### BackTop External Classes + +类名 | 描述 +-- | -- +t-class | 根节点样式类 +t-class-icon | 图标样式类 +t-class-text | 文本样式类 diff --git a/packages/products/tdesign-miniprogram/src/badge/README.en-US.md b/packages/products/tdesign-miniprogram/src/badge/README.en-US.md index f8cf6069b..8d005b6de 100644 --- a/packages/products/tdesign-miniprogram/src/badge/README.en-US.md +++ b/packages/products/tdesign-miniprogram/src/badge/README.en-US.md @@ -1,17 +1,26 @@ :: BASE_DOC :: ## API + ### Badge Props name | type | default | description | required -- | -- | -- | -- | -- +style | Object | - | CSS(Cascading Style Sheets) | N +custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N color | String | - | \- | N content | String | - | \- | N count | String / Number / Slot | 0 | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N dot | Boolean | false | \- | N -external-classes | Array | - | `['t-class', 't-class-content', 't-class-count']` | N max-count | Number | 99 | \- | N offset | Array | - | Typescript:`Array` | N -shape | String | circle | options:circle/square/bubble/ribbon | N +shape | String | circle | options: circle/square/bubble/ribbon | N show-zero | Boolean | false | \- | N -size | String | medium | options:medium/large | N +size | String | medium | options: medium/large | N +### Badge External Classes + +className | Description +-- | -- +t-class | \- +t-class-content | \- +t-class-count | \- diff --git a/packages/products/tdesign-miniprogram/src/badge/README.md b/packages/products/tdesign-miniprogram/src/badge/README.md index fb772ec00..7a97e2577 100644 --- a/packages/products/tdesign-miniprogram/src/badge/README.md +++ b/packages/products/tdesign-miniprogram/src/badge/README.md @@ -1,17 +1,26 @@ :: BASE_DOC :: ## API + ### Badge Props -名称 | 类型 | 默认值 | 说明 | 必传 +名称 | 类型 | 默认值 | 描述 | 必传 -- | -- | -- | -- | -- +style | Object | - | 样式 | N +custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N color | String | - | 颜色 | N content | String | - | 徽标内容,示例:`content='自定义内容'`。也可以使用默认插槽定义 | N count | String / Number / Slot | 0 | 徽标右上角内容。可以是数字,也可以是文字。如:'new'/3/99+。特殊:值为空表示使用插槽渲染。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N dot | Boolean | false | 是否为红点 | N -external-classes | Array | - | 组件类名,分别用于设置外层元素、默认内容、右上角内容等元素类名。`['t-class', 't-class-content', 't-class-count']` | N max-count | Number | 99 | 封顶的数字值 | N offset | Array | - | 设置状态点的位置偏移,示例:[-10, 20] 或 ['10em', '8rem']。TS 类型:`Array` | N shape | String | circle | 形状。可选项:circle/square/bubble/ribbon | N show-zero | Boolean | false | 当数值为 0 时,是否展示徽标 | N size | String | medium | 尺寸。可选项:medium/large | N +### Badge External Classes + +类名 | 描述 +-- | -- +t-class | 根节点样式类 +t-class-content | 内容样式类 +t-class-count | 计数样式类 diff --git a/packages/products/tdesign-miniprogram/src/button/README.en-US.md b/packages/products/tdesign-miniprogram/src/button/README.en-US.md index d0411a781..699ddfcb3 100644 --- a/packages/products/tdesign-miniprogram/src/button/README.en-US.md +++ b/packages/products/tdesign-miniprogram/src/button/README.en-US.md @@ -1,34 +1,63 @@ :: BASE_DOC :: ## API + ### Button Props name | type | default | description | required -- | -- | -- | -- | -- style | Object | - | CSS(Cascading Style Sheets) | N custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N +app-parameter | String | - | \- | N block | Boolean | false | make button to be a block-level element | N content | String / Slot | - | button's children elements。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N -custom-dataset | Object | - | Typescript:`any` | N -disabled | Boolean | false | disable the button, make it can not be clicked | N -external-classes | Array | - | `['t-class', 't-class-icon', 't-class-loading']` | N -ghost | Boolean | false | make background-color to be transparent | N -icon | String / Object | - | icon name | N -icon-props | Object | {} | icon properties | N -loading | Boolean | false | set button to be loading state | N -loading-props | Object | - | Typescript:`LoadingProps`,[Loading API Documents](./loading?tab=api)。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/button/type.ts) | N -shape | String | rectangle | button shape。options: rectangle/square/round/circle | N -size | String | medium | a button has four size。options: extra-small/small/medium/large。Typescript:`SizeEnum`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N -style | String | - | \- | N -t-id | String | - | id | N -theme | String | default | button theme。options: default/primary/danger/light | N -type | String | - | type of button element, same as formType of Miniprogram。options: submit/reset | N -variant | String | base | button variant。options: base/outline/text | N +custom-dataset | Object | - | Typescript:``any`` \| N +disabled \| Boolean \| false \| disable the button, make it can not be clicked \| N +ghost \| Boolean \| false \| make background-color to be transparent \| N +hover-class \| String \| - \| \- \| N +hover-start-time \| Number \| 20 \| \- \| N +hover-stay-time \| Number \| 70 \| \- \| N +hover-stop-propagation \| Boolean \| false \| \- \| N +icon \| String / Object \| - \| icon name \| N +lang \| String \| - \| message language。options: en/zh_CN/zh_TW \| N +loading \| Boolean \| false \| set button to be loading state \| N +loading-props \| Object \| - \| Typescript:``LoadingProps`,[Loading API Documents](./loading?tab=api)。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/button/type.ts)` \| N +open-type \| String \| - \| open type of button, [Miniprogram Button](https://developers.weixin.qq.com/miniprogram/dev/component/button.html)。options: contact/share/getPhoneNumber/getUserInfo/launchApp/openSetting/feedback/chooseAvatar/agreePrivacyAuthorization \| N +phone-number-no-quota-toast \| Boolean \| true \| \- \| N +send-message-img \| String \| 截图 \| \- \| N +send-message-path \| String \| 当前分享路径 \| \- \| N +send-message-title \| String \| 当前标题 \| \- \| N +session-from \| String \| - \| \- \| N +shape \| String \| rectangle \| button shape。options: rectangle/square/round/circle \| N +show-message-card \| Boolean \| false \| \- \| N +size \| String \| medium \| a button has four size。options: extra-small/small/medium/large。Typescript:``SizeEnum``。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) \| N +suffix \| Slot \| - \| [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) \| N +t-id \| String \| - \| id \| N +theme \| String \| default \| button theme。options: default/primary/danger/light \| N +type \| String \| - \| type of button element, same as formType of Miniprogram。options: submit/reset \| N +variant \| String \| base \| button variant。options: base/outline/dashed/text \| N ### Button Events -name | params | description --- | -- | -- -style | Object | - | CSS(Cascading Style Sheets) | N -custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N -click | `(e: MouseEvent)` | trigger on click +name \| params \| description +-- \| -- \| -- +agreeprivacyauthorization \| \- \| \- +chooseavatar \| \- \| \- +click \| `(e: MouseEvent)` \| trigger on click +contact \| \- \| \- +createliveactivity \| \- \| \- +error \| \- \| \- +getphonenumber \| \- \| \- +getrealtimephonenumber \| \- \| \- +getuserinfo \| \- \| \- +launchapp \| \- \| \- +opensetting \| \- \| \- +tap \| `event` | \- + +### Button External Classes + +className | Description +-- | -- +t-class | \- +t-class-icon | class name of icon +t-class-loading | class name of loading diff --git a/packages/products/tdesign-miniprogram/src/button/README.md b/packages/products/tdesign-miniprogram/src/button/README.md index b296feb60..ee0dbe526 100644 --- a/packages/products/tdesign-miniprogram/src/button/README.md +++ b/packages/products/tdesign-miniprogram/src/button/README.md @@ -1,34 +1,63 @@ :: BASE_DOC :: ## API + ### Button Props 名称 | 类型 | 默认值 | 描述 | 必传 -- | -- | -- | -- | -- style | Object | - | 样式 | N custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N +app-parameter | String | - | 打开 APP 时,向 APP 传递的参数,open-type=launchApp时有效 | N block | Boolean | false | 是否为块级元素 | N content | String / Slot | - | 按钮内容。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N -custom-dataset | Object | - | 自定义 dataset,可通过 event.currentTarget.dataset.custom 获取。TS 类型:`any` | N -disabled | Boolean | false | 禁用状态 | N -external-classes | Array | - | 组件类名。`['t-class', 't-class-icon', 't-class-loading']` | N -ghost | Boolean | false | 是否为幽灵按钮(镂空按钮) | N -icon | String / Object | - | 图标名称。值为字符串表示图标名称,值为 Object 类型,表示透传至 icon。 | N -icon-props | Object | {} | 图标属性,透传至 icon | N -loading | Boolean | false | 是否显示为加载状态 | N -loading-props | Object | - | 透传加载组件全部属性。TS 类型:`LoadingProps`,[Loading API Documents](./loading?tab=api)。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/button/type.ts) | N -shape | String | rectangle | 按钮形状,有 4 种:长方形、正方形、圆角长方形、圆形。可选项:rectangle/square/round/circle | N -size | String | medium | 组件尺寸。可选项:extra-small/small/medium/large。TS 类型:`SizeEnum`。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N -style | String | - | 自定义组件样式 | N -t-id | String | - | 按钮标签 `id` | N -theme | String | default | 组件风格,依次为品牌色、危险色。可选项:default/primary/danger/light | N -type | String | - | 同小程序的 `formType`,[button](https://developers.weixin.qq.com/miniprogram/dev/component/button.html)。可选项:submit/reset | N -variant | String | base | 按钮形式,基础、线框、文字。可选项:base/outline/text | N +custom-dataset | Object | - | 自定义 dataset,可通过 event.currentTarget.dataset.custom 获取。。TS 类型:``any`` \| N +disabled \| Boolean \| false \| 禁用状态 \| N +ghost \| Boolean \| false \| 是否为幽灵按钮(镂空按钮) \| N +hover-class \| String \| - \| 指定按钮按下去的样式类,按钮不为加载或禁用状态时有效。当 `hover-class="none"` 时,没有点击态效果 \| N +hover-start-time \| Number \| 20 \| 按住后多久出现点击态,单位毫秒 \| N +hover-stay-time \| Number \| 70 \| 手指松开后点击态保留时间,单位毫秒 \| N +hover-stop-propagation \| Boolean \| false \| 指定是否阻止本节点的祖先节点出现点击态 \| N +icon \| String / Object \| - \| 图标名称。值为字符串表示图标名称,值为 `Object` 类型,表示透传至 `icon`。 \| N +lang \| String \| - \| 指定返回用户信息的语言,zh_CN 简体中文,zh_TW 繁体中文,en 英文。。
具体释义:
`en` 英文;
`zh_CN` 简体中文;
`zh_TW` 繁体中文。
[小程序官方文档](https://developers.weixin.qq.com/miniprogram/dev/component/button.html)。。可选项:en/zh_CN/zh_TW \| N +loading \| Boolean \| false \| 是否显示为加载状态 \| N +loading-props \| Object \| - \| 透传至 Loading 组件。。TS 类型:``LoadingProps`,[Loading API Documents](./loading?tab=api)。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/button/type.ts)` \| N +open-type \| String \| - \| 微信开放能力。
具体释义:
`contact` 打开客服会话,如果用户在会话中点击消息卡片后返回小程序,可以从 bindcontact 回调中获得具体信息,具体说明 (*小程序插件中不能使用*);
`share` 触发用户转发,使用前建议先阅读使用指引
`getPhoneNumber` 获取用户手机号,可以从 bindgetphonenumber 回调中获取到用户信息,具体说明 (*小程序插件中不能使用*);
`getUserInfo` 获取用户信息,可以从 bindgetuserinfo 回调中获取到用户信息 (*小程序插件中不能使用*);
`launchApp` 打开APP,可以通过 app-parameter 属性设定向 APP 传的参数具体说明
`openSetting` 打开授权设置页;
`feedback` 打开“意见反馈”页面,用户可提交反馈内容并上传日志,开发者可以登录小程序管理后台后进入左侧菜单“客服反馈”页面获取到反馈内容;
`chooseAvatar` 获取用户头像,可以从 bindchooseavatar 回调中获取到头像信息;
`agreePrivacyAuthorization`用户同意隐私协议按钮。用户点击一次此按钮后,所有隐私接口可以正常调用。可通过`bindagreeprivacyauthorization`监听用户同意隐私协议事件。隐私合规开发指南详情可见《小程序隐私协议开发指南》。
[小程序官方文档](https://developers.weixin.qq.com/miniprogram/dev/component/button.html)。。可选项:contact/share/getPhoneNumber/getUserInfo/launchApp/openSetting/feedback/chooseAvatar/agreePrivacyAuthorization \| N +phone-number-no-quota-toast \| Boolean \| true \| 原生按钮属性,当手机号快速验证或手机号实时验证额度用尽时,是否对用户展示“申请获取你的手机号,但该功能使用次数已达当前小程序上限,暂时无法使用”的提示,默认展示,open-type="getPhoneNumber" 或 open-type="getRealtimePhoneNumber" 时有效 \| N +send-message-img \| String \| 截图 \| 会话内消息卡片图片,open-type="contact"时有效 \| N +send-message-path \| String \| 当前分享路径 \| 会话内消息卡片点击跳转小程序路径,open-type="contact"时有效 \| N +send-message-title \| String \| 当前标题 \| 会话内消息卡片标题,open-type="contact"时有效 \| N +session-from \| String \| - \| 会话来源,open-type="contact"时有效 \| N +shape \| String \| rectangle \| 按钮形状,有 4 种:长方形、正方形、圆角长方形、圆形。可选项:rectangle/square/round/circle \| N +show-message-card \| Boolean \| false \| 是否显示会话内消息卡片,设置此参数为 true,用户进入客服会话会在右下角显示"可能要发送的小程序"提示,用户点击后可以快速发送小程序消息,open-type="contact"时有效 \| N +size \| String \| medium \| 组件尺寸。可选项:extra-small/small/medium/large。TS 类型:``SizeEnum``。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) \| N +suffix \| Slot \| - \| 右侧内容,可用于定义右侧图标。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) \| N +t-id \| String \| - \| 按钮标签id \| N +theme \| String \| default \| 组件风格,依次为品牌色、危险色。。可选项:default/primary/danger/light \| N +type \| String \| - \| 同小程序的 formType。。可选项:submit/reset \| N +variant \| String \| base \| 按钮形式,基础、线框、文字。可选项:base/outline/dashed/text \| N ### Button Events -名称 | 参数 | 描述 --- | -- | -- -style | Object | - | 样式 | N -custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N -click | `(e: MouseEvent)` | 点击时触发 +名称 \| 参数 \| 描述 +-- \| -- \| -- +agreeprivacyauthorization \| \- \| 原生按钮属性,用户同意隐私协议事件回调,open-type=agreePrivacyAuthorization时有效 (Tips: 如果使用 onNeedPrivacyAuthorization 接口,需要在 bindagreeprivacyauthorization 触发后再调用 resolve({ event: "agree", buttonId })) +chooseavatar \| \- \| 原生按钮属性,获取用户头像回调,`open-type=chooseAvatar` 时有效。返回 `e.detail.avatarUrl` 为头像临时文件链接 +click \| `(e: MouseEvent)` \| 点击时触发 +contact \| \- \| 原生按钮属性,客服消息回调,`open-type="contact"` 时有效 +createliveactivity \| \- \| 新的一次性订阅消息下发机制回调,`open-type=liveActivity` 时有效 +error \| \- \| 原生按钮属性,当使用开放能力时,发生错误的回调,`open-type=launchApp` 时有效 +getphonenumber \| \- \| 原生按钮属性,手机号快速验证回调,open-type=getPhoneNumber时有效。Tips:在触发 bindgetphonenumber 回调后应立即隐藏手机号按钮组件,或置为 disabled 状态,避免用户重复授权手机号产生额外费用 +getrealtimephonenumber \| \- \| 原生按钮属性,手机号实时验证回调,open-type=getRealtimePhoneNumber 时有效。Tips:在触发 bindgetrealtimephonenumber 回调后应立即隐藏手机号按钮组件,或置为 disabled 状态,避免用户重复授权手机号产生额外费用 +getuserinfo \| \- \| 原生按钮属性,用户点击该按钮时,会返回获取到的用户信息,回调的detail数据与wx.getUserInfo返回的一致,open-type="getUserInfo"时有效 +launchapp \| \- \| 打开 APP 成功的回调,`open-type=launchApp` 时有效 +opensetting \| \- \| 原生按钮属性,在打开授权设置页后回调,open-type=openSetting时有效 +tap \| `event` | 点击按钮,当按钮不为加载或禁用状态时触发 + +### Button External Classes + +类名 | 描述 +-- | -- +t-class | 根节点样式类 +t-class-icon | 图标样式类 +t-class-loading | 加载样式类 diff --git a/packages/products/tdesign-miniprogram/src/calendar/README.en-US.md b/packages/products/tdesign-miniprogram/src/calendar/README.en-US.md index cae5fedf0..ab4e7a909 100644 --- a/packages/products/tdesign-miniprogram/src/calendar/README.en-US.md +++ b/packages/products/tdesign-miniprogram/src/calendar/README.en-US.md @@ -1,18 +1,31 @@ :: BASE_DOC :: ## API + ### Calendar Props name | type | default | description | required -- | -- | -- | -- | -- -confirm-btn | String / Object / Slot | '' | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/calendar/type.ts) | N +style | Object | - | CSS(Cascading Style Sheets) | N +custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N +auto-close | Boolean | true | `0.34.0` | N +confirm-btn | String / Object / Slot | '' | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts)。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/calendar/type.ts) | N first-day-of-week | Number | 0 | \- | N format | Function | - | Typescript:`CalendarFormatType ` `type CalendarFormatType = (day: TDate) => TDate` `type TDateType = 'selected' \| 'disabled' \| 'start' \| 'centre' \| 'end' \| ''` `interface TDate { date: Date; day: number; type: TDateType; className?: string; prefix?: string; suffix?: string;}`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/calendar/type.ts) | N -max-date | Number / Date | - | \- | N -min-date | Number / Date | - | \- | N -style | String | - | \- | N -title | String | - | \- | N -type | String | single | options:single/multiple/range | N -value | Number / Array / Date | - | Typescript:`CalendarValue \| CalendarValue[]` `type CalendarValue = number \| Date`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/calendar/type.ts) | N -default-value | Number / Array / Date | undefined | uncontrolled property。Typescript:`CalendarValue \| CalendarValue[]` `type CalendarValue = number \| Date`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/calendar/type.ts) | N +max-date | Number | - | \- | N +min-date | Number | - | \- | N +title | String / Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +type | String | single | options: single/multiple/range | N +use-popup | Boolean | true | `0.32.0` | N +value | Number / Array | - | Typescript:`number \| number[]` | N +default-value | Number / Array | undefined | uncontrolled property。Typescript:`number \| number[]` | N visible | Boolean | false | \- | N + +### Calendar Events + +name | params | description +-- | -- | -- +change | `(value: timestamp)` | `0.28.0` +close | `(trigger: CalendarTrigger)` | `0.34.0`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/calendar/type.ts)。
`type CalendarTrigger = 'close-btn' \| 'confirm-btn' \| 'overlay'`
+confirm | `(value: timestamp)` | \- +select | `(value: timestamp)` | `0.28.0` diff --git a/packages/products/tdesign-miniprogram/src/calendar/README.md b/packages/products/tdesign-miniprogram/src/calendar/README.md index 4820c07b4..47b719ba6 100644 --- a/packages/products/tdesign-miniprogram/src/calendar/README.md +++ b/packages/products/tdesign-miniprogram/src/calendar/README.md @@ -1,18 +1,31 @@ :: BASE_DOC :: ## API + ### Calendar Props -名称 | 类型 | 默认值 | 说明 | 必传 +名称 | 类型 | 默认值 | 描述 | 必传 -- | -- | -- | -- | -- -confirm-btn | String / Object / Slot | '' | 确认按钮。值为 null 则不显示确认按钮。值类型为字符串,则表示自定义按钮文本,值类型为 Object 则表示透传 Button 组件属性。。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/calendar/type.ts) | N +style | Object | - | 样式 | N +custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N +auto-close | Boolean | true | `0.34.0`。自动关闭;在点击关闭按钮、确认按钮、遮罩层时自动关闭,不需要手动设置 visible | N +confirm-btn | String / Object / Slot | '' | 确认按钮。值为 null 则不显示确认按钮。值类型为字符串,则表示自定义按钮文本,值类型为 Object 则表示透传 Button 组件属性。。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts)。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/calendar/type.ts) | N first-day-of-week | Number | 0 | 第一天从星期几开始,默认 0 = 周日 | N format | Function | - | 用于格式化日期的函数。TS 类型:`CalendarFormatType ` `type CalendarFormatType = (day: TDate) => TDate` `type TDateType = 'selected' \| 'disabled' \| 'start' \| 'centre' \| 'end' \| ''` `interface TDate { date: Date; day: number; type: TDateType; className?: string; prefix?: string; suffix?: string;}`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/calendar/type.ts) | N -max-date | Number / Date | - | 最大可选的日期,不传则默认半年后 | N -min-date | Number / Date | - | 最小可选的日期,不传则默认今天 | N -style | String | - | 自定义组件样式 | N -title | String | - | 标题,不传默认为“请选择日期” | N +max-date | Number | - | 最大可选的日期,不传则默认半年后 | N +min-date | Number | - | 最小可选的日期,不传则默认今天 | N +title | String / Slot | - | 标题,不传默认为“请选择日期”。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N type | String | single | 日历的选择类型,single = 单选;multiple = 多选; range = 区间选择。可选项:single/multiple/range | N -value | Number / Array / Date | - | 当前选择的日期,不传则默认今天,当 type = multiple 或 range 时传入数组。TS 类型:`CalendarValue \| CalendarValue[]` `type CalendarValue = number \| Date`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/calendar/type.ts) | N -default-value | Number / Array / Date | undefined | 当前选择的日期,不传则默认今天,当 type = multiple 或 range 时传入数组。非受控属性。TS 类型:`CalendarValue \| CalendarValue[]` `type CalendarValue = number \| Date`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/calendar/type.ts) | N -visible | Boolean | false | 是否显示日历 | N +use-popup | Boolean | true | `0.32.0`。是否使用弹出层包裹日历 | N +value | Number / Array | - | 当前选择的日期,不传则默认今天,当 type = multiple 或 range 时传入数组。TS 类型:`number \| number[]` | N +default-value | Number / Array | undefined | 当前选择的日期,不传则默认今天,当 type = multiple 或 range 时传入数组。非受控属性。TS 类型:`number \| number[]` | N +visible | Boolean | false | 是否显示日历;`usePopup` 为 true 时有效 | N + +### Calendar Events + +名称 | 参数 | 描述 +-- | -- | -- +change | `(value: timestamp)` | `0.28.0`。不显示 confirm-btn 时,完成选择时触发(暂不支持 type = multiple) +close | `(trigger: CalendarTrigger)` | `0.34.0`。关闭按钮时触发。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/calendar/type.ts)。
`type CalendarTrigger = 'close-btn' \| 'confirm-btn' \| 'overlay'`
+confirm | `(value: timestamp)` | 点击确认按钮时触发 +select | `(value: timestamp)` | `0.28.0`。点击日期时触发 diff --git a/packages/products/tdesign-miniprogram/src/cascader/README.en-US.md b/packages/products/tdesign-miniprogram/src/cascader/README.en-US.md index 573985cf4..74b722de7 100644 --- a/packages/products/tdesign-miniprogram/src/cascader/README.en-US.md +++ b/packages/products/tdesign-miniprogram/src/cascader/README.en-US.md @@ -1,14 +1,28 @@ :: BASE_DOC :: ## API + ### Cascader Props name | type | default | description | required -- | -- | -- | -- | -- -close-btn | Boolean / Slot | true | \- | N +style | Object | - | CSS(Cascading Style Sheets) | N +custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N +close-btn | Boolean / Slot | true | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +keys | Object | - | Typescript:`KeysType`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N options | Array | [] | Typescript:`Array` | N -style | String | - | \- | N -title | String / Slot | - | \- | N -value | String / Number | null | Typescript:`null` | N -default-value | String / Number | undefined | uncontrolled property。Typescript:`null` | N +placeholder | String | 选择选项 | \- | N +sub-titles | Array | [] | Typescript:`Array` | N +theme | String | step | options: step/tab | N +title | String / Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +value | String / Number | null | \- | N +default-value | String / Number | undefined | uncontrolled property | N visible | Boolean | false | \- | N + +### Cascader Events + +name | params | description +-- | -- | -- +change | `(value: string \| number, selectedOptions: string[])` | `1.0.1` +close | `(trigger: TriggerSource)` | `1.0.1`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/cascader/type.ts)。
`type TriggerSource = 'overlay' \| 'close-btn' \| 'finish'`
+pick | `(value: string \| number, index: number)` | `1.0.1` diff --git a/packages/products/tdesign-miniprogram/src/cascader/README.md b/packages/products/tdesign-miniprogram/src/cascader/README.md index 4e992cc05..4cbbbf9b7 100644 --- a/packages/products/tdesign-miniprogram/src/cascader/README.md +++ b/packages/products/tdesign-miniprogram/src/cascader/README.md @@ -1,14 +1,28 @@ :: BASE_DOC :: ## API + ### Cascader Props -名称 | 类型 | 默认值 | 说明 | 必传 +名称 | 类型 | 默认值 | 描述 | 必传 -- | -- | -- | -- | -- -close-btn | Boolean / Slot | true | 关闭按钮 | N +style | Object | - | 样式 | N +custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N +close-btn | Boolean / Slot | true | 关闭按钮。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +keys | Object | - | 用来定义 value / label 在 `options` 中对应的字段别名。TS 类型:`KeysType`。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N options | Array | [] | 可选项数据源。TS 类型:`Array` | N -style | String | - | 自定义组件样式 | N -title | String / Slot | - | 标题 | N -value | String / Number | null | 选项值。TS 类型:`null` | N -default-value | String / Number | undefined | 选项值。非受控属性。TS 类型:`null` | N +placeholder | String | 选择选项 | 未选中时的提示文案 | N +sub-titles | Array | [] | 每级展示的次标题。TS 类型:`Array` | N +theme | String | step | 展示风格。可选项:step/tab | N +title | String / Slot | - | 标题。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +value | String / Number | null | 选项值 | N +default-value | String / Number | undefined | 选项值。非受控属性 | N visible | Boolean | false | 是否展示 | N + +### Cascader Events + +名称 | 参数 | 描述 +-- | -- | -- +change | `(value: string \| number, selectedOptions: string[])` | `1.0.1`。值发生变更时触发 +close | `(trigger: TriggerSource)` | `1.0.1`。关闭时触发。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/cascader/type.ts)。
`type TriggerSource = 'overlay' \| 'close-btn' \| 'finish'`
+pick | `(value: string \| number, index: number)` | `1.0.1`。选择后触发 diff --git a/packages/products/tdesign-miniprogram/src/cell-group/README.en-US.md b/packages/products/tdesign-miniprogram/src/cell-group/README.en-US.md index aa54f1f78..3a7b191d3 100644 --- a/packages/products/tdesign-miniprogram/src/cell-group/README.en-US.md +++ b/packages/products/tdesign-miniprogram/src/cell-group/README.en-US.md @@ -1,11 +1,19 @@ :: BASE_DOC :: ## API + ### CellGroup Props name | type | default | description | required -- | -- | -- | -- | -- +style | Object | - | CSS(Cascading Style Sheets) | N +custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N bordered | Boolean | - | \- | N -external-classes | Array | - | `['t-class']` | N -style | String | - | \- | N +theme | String | default | options: default/card | N title | String | - | \- | N +### CellGroup External Classes + +className | Description +-- | -- +t-class | \- +t-class-title | \- diff --git a/packages/products/tdesign-miniprogram/src/cell-group/README.md b/packages/products/tdesign-miniprogram/src/cell-group/README.md index 502925616..d20741e07 100644 --- a/packages/products/tdesign-miniprogram/src/cell-group/README.md +++ b/packages/products/tdesign-miniprogram/src/cell-group/README.md @@ -1,11 +1,19 @@ :: BASE_DOC :: ## API + ### CellGroup Props -名称 | 类型 | 默认值 | 说明 | 必传 +名称 | 类型 | 默认值 | 描述 | 必传 -- | -- | -- | -- | -- +style | Object | - | 样式 | N +custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N bordered | Boolean | - | 是否显示组边框 | N -external-classes | Array | - | 组件类名。`['t-class']` | N -style | String | - | 自定义组件样式 | N +theme | String | default | 单元格风格。可选项:default/card | N title | String | - | 单元格组标题 | N +### CellGroup External Classes + +类名 | 描述 +-- | -- +t-class | 根节点样式类 +t-class-title | 标题样式类 diff --git a/packages/products/tdesign-miniprogram/src/cell/README.en-US.md b/packages/products/tdesign-miniprogram/src/cell/README.en-US.md index c1ed22440..50a296447 100644 --- a/packages/products/tdesign-miniprogram/src/cell/README.en-US.md +++ b/packages/products/tdesign-miniprogram/src/cell/README.en-US.md @@ -1,28 +1,44 @@ :: BASE_DOC :: ## API + ### Cell Props name | type | default | description | required -- | -- | -- | -- | -- -align | String | middle | options:top/middle/bottom | N +style | Object | - | CSS(Cascading Style Sheets) | N +custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N +align | String | middle | options: top/middle/bottom | N arrow | Boolean | false | \- | N bordered | Boolean | true | \- | N -description | String / Slot | - | \- | N -external-classes | Array | - | `['t-class', 't-class-title', 't-class-note', 't-class-description', 't-class-thumb', 't-class-hover', 't-class-left', 't-class-right']` | N +description | String / Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N hover | Boolean | - | \- | N -image | String / Slot | - | \- | N -jump-type | String | navigateTo | options:switchTab/reLaunch/redirectTo/navigateTo | N -left-icon | String / Slot | - | \- | N -note | String / Slot | - | \- | N +image | String / Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +jump-type | String | navigateTo | options: switchTab/reLaunch/redirectTo/navigateTo | N +left-icon | String / Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +note | String / Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N required | Boolean | false | \- | N -right-icon | String / Slot | - | \- | N -style | String | - | \- | N -title | String / Slot | - | \- | N +right-icon | String / Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +title | String / Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N url | String | - | \- | N ### Cell Events name | params | description -- | -- | -- -click | - | \- +click | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) +### Cell External Classes + +className | Description +-- | -- +t-class | \- +t-class-center | \- +t-class-description | \- +t-class-hover | \- +t-class-image | \- +t-class-left | \- +t-class-left-icon | \- +t-class-note | \- +t-class-right | \- +t-class-right-icon | \- +t-class-title | \- diff --git a/packages/products/tdesign-miniprogram/src/cell/README.md b/packages/products/tdesign-miniprogram/src/cell/README.md index ce01c19ee..452b9d125 100644 --- a/packages/products/tdesign-miniprogram/src/cell/README.md +++ b/packages/products/tdesign-miniprogram/src/cell/README.md @@ -1,28 +1,44 @@ :: BASE_DOC :: ## API + ### Cell Props -名称 | 类型 | 默认值 | 说明 | 必传 +名称 | 类型 | 默认值 | 描述 | 必传 -- | -- | -- | -- | -- +style | Object | - | 样式 | N +custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N align | String | middle | 内容的对齐方式,默认居中对齐。可选项:top/middle/bottom | N arrow | Boolean | false | 是否显示右侧箭头 | N bordered | Boolean | true | 是否显示下边框 | N -description | String / Slot | - | 下方内容描述 | N -external-classes | Array | - | 组件类名,分别用于设置 组件外层类名、标题类名、右侧说明文字类名、下方描述内容类名、图片类名、激活态类名、左侧图标类名、右侧图标类名 等。`['t-class', 't-class-title', 't-class-note', 't-class-description', 't-class-thumb', 't-class-hover', 't-class-left', 't-class-right']` | N +description | String / Slot | - | 下方内容描述。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N hover | Boolean | - | 是否开启点击反馈 | N -image | String / Slot | - | 主图 | N +image | String / Slot | - | 主图。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N jump-type | String | navigateTo | 链接跳转类型。可选项:switchTab/reLaunch/redirectTo/navigateTo | N -left-icon | String / Slot | - | 左侧图标,出现在单元格标题的左侧 | N -note | String / Slot | - | 和标题同行的说明文字 | N +left-icon | String / Slot | - | 左侧图标,出现在单元格标题的左侧。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +note | String / Slot | - | 和标题同行的说明文字。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N required | Boolean | false | 是否显示表单必填星号 | N -right-icon | String / Slot | - | 最右侧图标 | N -style | String | - | 自定义组件样式 | N -title | String / Slot | - | 标题 | N +right-icon | String / Slot | - | 最右侧图标。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +title | String / Slot | - | 标题。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N url | String | - | 点击后跳转链接地址。如果值为空,则表示不需要跳转 | N ### Cell Events 名称 | 参数 | 描述 -- | -- | -- -click | - | 右侧内容 +click | - | 右侧内容。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) +### Cell External Classes + +类名 | 描述 +-- | -- +t-class | 根节点样式类 +t-class-center | 中间(`title`, `description`)内容样式类 +t-class-description | 下方描述内容样式类 +t-class-hover | 悬停样式类 +t-class-image | 图片样式类 +t-class-left | 左侧内容样式类 +t-class-left-icon | 左侧图标样式类 +t-class-note | 右侧说明文字样式类 +t-class-right | 右侧内容样式类 +t-class-right-icon | 右侧图标样式类 +t-class-title | 标题样式类 diff --git a/packages/products/tdesign-miniprogram/src/checkbox/README.en-US.md b/packages/products/tdesign-miniprogram/src/checkbox/README.en-US.md index 894913249..c0e96968c 100644 --- a/packages/products/tdesign-miniprogram/src/checkbox/README.en-US.md +++ b/packages/products/tdesign-miniprogram/src/checkbox/README.en-US.md @@ -1,20 +1,64 @@ :: BASE_DOC :: ## API + +### Checkbox Props + +name | type | default | description | required +-- | -- | -- | -- | -- +style | Object | - | CSS(Cascading Style Sheets) | N +custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N +block | Boolean | true | \- | N +borderless | Boolean | false | \- | N +check-all | Boolean | false | \- | N +checked | Boolean | false | \- | N +default-checked | Boolean | undefined | uncontrolled property | N +content | String / Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +content-disabled | Boolean | - | \- | N +disabled | Boolean | undefined | \- | N +icon | String / Array | 'circle' | Typescript:`'circle' \| 'line' \| 'rectangle' \| string[]` | N +indeterminate | Boolean | false | \- | N +label | String / Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +max-content-row | Number | 5 | \- | N +max-label-row | Number | 3 | \- | N +name | String | - | \- | N +placement | String | left | options: left/right | N +readonly | Boolean | false | \- | N +title | String | - | html attribute | N +value | String / Number / Boolean | - | value of checkbox。Typescript:`string \| number \| boolean` | N + +### Checkbox Events + +name | params | description +-- | -- | -- +change | `(checked: boolean, context: { value: boolean\|number\|string, label: boolean\|number\|string })` | \- +### Checkbox External Classes + +className | Description +-- | -- +t-class | \- +t-class-border | \- +t-class-content | \- +t-class-icon | \- +t-class-label | \- + + ### CheckboxGroup Props name | type | default | description | required -- | -- | -- | -- | -- -disabled | Boolean | false | \- | N +style | Object | - | CSS(Cascading Style Sheets) | N +custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N +borderless | Boolean | false | \- | N +disabled | Boolean | - | \- | N max | Number | undefined | \- | N name | String | - | \- | N -options | Array | [] | Typescript:`Array` `type CheckboxOption = string \| number \| CheckboxOptionObj` `interface CheckboxOptionObj { label?: string; value?: string \| number; disabled?: boolean; checkAll?: true }`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/checkbox/type.ts) | N -style | String | - | \- | N -value | Array | [] | Typescript:`CheckboxGroupValue` `type CheckboxGroupValue = Array`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/checkbox/type.ts) | N -default-value | Array | undefined | uncontrolled property。Typescript:`CheckboxGroupValue` `type CheckboxGroupValue = Array`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/checkbox/type.ts) | N +options | Array | [] | Typescript:`Array` `type CheckboxOption = string \| number \| CheckboxOptionObj` `interface CheckboxOptionObj { label?: string; value?: string \| number; disabled?: boolean; checkAll?: true }`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/checkbox-group/type.ts) | N +value | Array | [] | Typescript:`T` `type CheckboxGroupValue = Array`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/checkbox-group/type.ts) | N +default-value | Array | undefined | uncontrolled property。Typescript:`T` `type CheckboxGroupValue = Array`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/checkbox-group/type.ts) | N ### CheckboxGroup Events name | params | description -- | -- | -- -change | `(value: CheckboxGroupValue, context: CheckboxGroupChangeContext)` | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/checkbox/type.ts)。
`interface CheckboxGroupChangeContext { e: Event; current: string \| number; option: CheckboxOption \| TdCheckboxProps; type: 'check' \| 'uncheck' }`
+change | `(value: CheckboxGroupValue, context: { value: boolean\|number\|string, label: boolean\|number\|string })` | \- diff --git a/packages/products/tdesign-miniprogram/src/checkbox/README.md b/packages/products/tdesign-miniprogram/src/checkbox/README.md index 0b05fa85c..75c32fbe3 100644 --- a/packages/products/tdesign-miniprogram/src/checkbox/README.md +++ b/packages/products/tdesign-miniprogram/src/checkbox/README.md @@ -1,20 +1,64 @@ :: BASE_DOC :: ## API + +### Checkbox Props + +名称 | 类型 | 默认值 | 描述 | 必传 +-- | -- | -- | -- | -- +style | Object | - | 样式 | N +custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N +block | Boolean | true | 是否为块级元素 | N +borderless | Boolean | false | 是否开启无边框模式 | N +check-all | Boolean | false | 用于标识是否为「全选选项」。单独使用无效,需在 CheckboxGroup 中使用 | N +checked | Boolean | false | 是否选中 | N +default-checked | Boolean | undefined | 是否选中。非受控属性 | N +content | String / Slot | - | 多选框内容。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +content-disabled | Boolean | - | 是否禁用组件内容(content)触发选中 | N +disabled | Boolean | undefined | 是否禁用组件。如果父组件存在 CheckboxGroup,默认值由 CheckboxGroup.disabled 控制。优先级:Checkbox.disabled > CheckboxGroup.disabled > Form.disabled | N +icon | String / Array | 'circle' | 自定义选中图标和非选中图标。使用 Array 时表示:`[选中态图标,非选中态图标,半选中态图标]`。使用 String 时,值为 circle 表示填充圆形图标、值为 line 表示描边型图标、值为 rectangle 表示填充矩形图标。TS 类型:`'circle' \| 'line' \| 'rectangle' \| string[]` | N +indeterminate | Boolean | false | 是否为半选 | N +label | String / Slot | - | 主文案。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +max-content-row | Number | 5 | 内容最大行数限制 | N +max-label-row | Number | 3 | 主文案最大行数限制 | N +name | String | - | HTML 元素原生属性 | N +placement | String | left | 多选框和内容相对位置。可选项:left/right | N +readonly | Boolean | false | 只读状态 | N +title | String | - | HTML 原生属性 | N +value | String / Number / Boolean | - | 多选框的值。TS 类型:`string \| number \| boolean` | N + +### Checkbox Events + +名称 | 参数 | 描述 +-- | -- | -- +change | `(checked: boolean, context: { value: boolean\|number\|string, label: boolean\|number\|string })` | 值变化时触发。`context` 表示当前点击项内容。 +### Checkbox External Classes + +类名 | 描述 +-- | -- +t-class | 根节点样式类 +t-class-border | 边框样式类 +t-class-content | 内容样式类 +t-class-icon | 图标样式类 +t-class-label | 标签样式类 + + ### CheckboxGroup Props -名称 | 类型 | 默认值 | 说明 | 必传 +名称 | 类型 | 默认值 | 描述 | 必传 -- | -- | -- | -- | -- -disabled | Boolean | false | 是否禁用组件 | N +style | Object | - | 样式 | N +custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N +borderless | Boolean | false | 是否开启无边框模式 | N +disabled | Boolean | - | 是否禁用组件,默认为 false。 CheckboxGroup.disabled < Checkbox.disabled ,后续新增 Form 组件后,Form.disabled 优先级最低 | N max | Number | undefined | 支持最多选中的数量 | N name | String | - | 统一设置内部复选框 HTML 属性 | N -options | Array | [] | 以配置形式设置子元素。示例1:`['北京', '上海']` ,示例2: `[{ label: '全选', checkAll: true }, { label: '上海', value: 'shanghai' }]`。checkAll 值为 true 表示当前选项为「全选选项」。TS 类型:`Array` `type CheckboxOption = string \| number \| CheckboxOptionObj` `interface CheckboxOptionObj { label?: string; value?: string \| number; disabled?: boolean; checkAll?: true }`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/checkbox/type.ts) | N -style | String | - | 自定义组件样式 | N -value | Array | [] | 选中值。TS 类型:`CheckboxGroupValue` `type CheckboxGroupValue = Array`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/checkbox/type.ts) | N -default-value | Array | undefined | 选中值。非受控属性。TS 类型:`CheckboxGroupValue` `type CheckboxGroupValue = Array`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/checkbox/type.ts) | N +options | Array | [] | 以配置形式设置子元素。示例1:`['北京', '上海']` ,示例2: `[{ label: '全选', checkAll: true }, { label: '上海', value: 'shanghai' }]`。checkAll 值为 true 表示当前选项为「全选选项」。TS 类型:`Array` `type CheckboxOption = string \| number \| CheckboxOptionObj` `interface CheckboxOptionObj { label?: string; value?: string \| number; disabled?: boolean; checkAll?: true }`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/checkbox-group/type.ts) | N +value | Array | [] | 选中值。TS 类型:`T` `type CheckboxGroupValue = Array`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/checkbox-group/type.ts) | N +default-value | Array | undefined | 选中值。非受控属性。TS 类型:`T` `type CheckboxGroupValue = Array`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/checkbox-group/type.ts) | N ### CheckboxGroup Events 名称 | 参数 | 描述 -- | -- | -- -change | `(value: CheckboxGroupValue, context: CheckboxGroupChangeContext)` | 值变化时触发。`context.current` 表示当前变化的数据项,如果是全选则为空;`context.type` 表示引起选中数据变化的是选中或是取消选中,`context.option` 表示当前变化的数据项。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/checkbox/type.ts)。
`interface CheckboxGroupChangeContext { e: Event; current: string \| number; option: CheckboxOption \| TdCheckboxProps; type: 'check' \| 'uncheck' }`
+change | `(value: CheckboxGroupValue, context: { value: boolean\|number\|string, label: boolean\|number\|string })` | 值变化时触发。`context` 表示当前点击项内容。 diff --git a/packages/products/tdesign-miniprogram/src/collapse/README.en-US.md b/packages/products/tdesign-miniprogram/src/collapse/README.en-US.md index 37ddaaaa4..e8f37ab60 100644 --- a/packages/products/tdesign-miniprogram/src/collapse/README.en-US.md +++ b/packages/products/tdesign-miniprogram/src/collapse/README.en-US.md @@ -1,15 +1,18 @@ :: BASE_DOC :: ## API + ### Collapse Props name | type | default | description | required -- | -- | -- | -- | -- +style | Object | - | CSS(Cascading Style Sheets) | N +custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N default-expand-all | Boolean | false | \- | N disabled | Boolean | - | \- | N -expand-icon | Boolean / Slot | true | \- | N +expand-icon | Boolean | true | \- | N expand-mutex | Boolean | false | \- | N -style | String | - | \- | N +theme | String | default | options: default/card | N value | Array | [] | Typescript:`CollapseValue` `type CollapseValue = Array`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/collapse/type.ts) | N default-value | Array | undefined | uncontrolled property。Typescript:`CollapseValue` `type CollapseValue = Array`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/collapse/type.ts) | N @@ -19,15 +22,25 @@ name | params | description -- | -- | -- change | `(value: CollapseValue)` | \- + ### CollapsePanel Props name | type | default | description | required -- | -- | -- | -- | -- -content | String / Slot | - | \- | N +style | Object | - | CSS(Cascading Style Sheets) | N +custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N +content | String / Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N disabled | Boolean | undefined | \- | N -expand-icon | Boolean / Slot | undefined | \- | N -external-classes | Array | - | `['t-class', 't-class-header', 't-class-content']` | N -header | String / Slot | - | \- | N -header-right-content | String / Slot | - | \- | N -style | String | - | \- | N +expand-icon | Boolean / Slot | undefined | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +header | String / Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +header-left-icon | String / Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +header-right-content | String / Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +placement | String | bottom | `0.34.0`。options: bottom/top | N value | String / Number | - | \- | N +### CollapsePanel External Classes + +className | Description +-- | -- +t-class | \- +t-class-content | \- +t-class-header | \- diff --git a/packages/products/tdesign-miniprogram/src/collapse/README.md b/packages/products/tdesign-miniprogram/src/collapse/README.md index 6f321d94e..242dc3290 100644 --- a/packages/products/tdesign-miniprogram/src/collapse/README.md +++ b/packages/products/tdesign-miniprogram/src/collapse/README.md @@ -1,15 +1,18 @@ :: BASE_DOC :: ## API + ### Collapse Props -名称 | 类型 | 默认值 | 说明 | 必传 +名称 | 类型 | 默认值 | 描述 | 必传 -- | -- | -- | -- | -- +style | Object | - | 样式 | N +custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N default-expand-all | Boolean | false | 默认是否展开全部 | N disabled | Boolean | - | 是否禁用面板展开/收起操作 | N -expand-icon | Boolean / Slot | true | 展开图标。值为 undefined 或 false 则不显示展开图标;值为 true 显示默认图标;值类型为函数,则表示完全自定义展开图标 | N +expand-icon | Boolean | true | 展开图标 | N expand-mutex | Boolean | false | 每个面板互斥展开,每次只展开一个面板 | N -style | String | - | 自定义组件样式 | N +theme | String | default | 折叠面板风格。可选项:default/card | N value | Array | [] | 展开的面板集合。TS 类型:`CollapseValue` `type CollapseValue = Array`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/collapse/type.ts) | N default-value | Array | undefined | 展开的面板集合。非受控属性。TS 类型:`CollapseValue` `type CollapseValue = Array`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/collapse/type.ts) | N @@ -19,15 +22,25 @@ default-value | Array | undefined | 展开的面板集合。非受控属性。TS -- | -- | -- change | `(value: CollapseValue)` | 切换面板时触发,返回变化的值 + ### CollapsePanel Props -名称 | 类型 | 默认值 | 说明 | 必传 +名称 | 类型 | 默认值 | 描述 | 必传 -- | -- | -- | -- | -- -content | String / Slot | - | 折叠面板内容 | N +style | Object | - | 样式 | N +custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N +content | String / Slot | - | 折叠面板内容。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N disabled | Boolean | undefined | 禁止当前面板展开,优先级大于 Collapse 的同名属性 | N -expand-icon | Boolean / Slot | undefined | 当前折叠面板展开图标,优先级大于 Collapse 的同名属性 | N -external-classes | Array | - | 组件类名,用于组件外层元素、标题、内容。`['t-class', 't-class-header', 't-class-content']` | N -header | String / Slot | - | 面板头内容 | N -header-right-content | String / Slot | - | 面板头的右侧区域,一般用于呈现面板操作 | N -style | String | - | 自定义组件样式 | N +expand-icon | Boolean / Slot | undefined | 当前折叠面板展开图标,优先级大于 Collapse 的同名属性。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +header | String / Slot | - | 面板头内容。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +header-left-icon | String / Slot | - | 面板头左侧图标。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +header-right-content | String / Slot | - | 面板头的右侧区域,一般用于呈现面板操作。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +placement | String | bottom | `0.34.0`。选项卡内容的位置。可选项:bottom/top | N value | String / Number | - | 当前面板唯一标识,如果值为空则取当前面下标兜底作为唯一标识 | N +### CollapsePanel External Classes + +类名 | 描述 +-- | -- +t-class | 根节点样式类 +t-class-content | 内容样式类 +t-class-header | 头部样式类 diff --git a/packages/products/tdesign-miniprogram/src/color-picker/README.en-US.md b/packages/products/tdesign-miniprogram/src/color-picker/README.en-US.md index c1da8194e..d12b3f417 100644 --- a/packages/products/tdesign-miniprogram/src/color-picker/README.en-US.md +++ b/packages/products/tdesign-miniprogram/src/color-picker/README.en-US.md @@ -1,10 +1,13 @@ :: BASE_DOC :: ## API + ### ColorPicker Props name | type | default | description | required -- | -- | -- | -- | -- +style | Object | - | CSS(Cascading Style Sheets) | N +custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N enable-alpha | Boolean | false | \- | N format | String | RGB | options: RGB/RGBA/HSL/HSLA/HSB/HSV/HSVA/HEX/CMYK/CSS | N swatch-colors | Array | - | swatch colors。Typescript:`Array \| null` | N diff --git a/packages/products/tdesign-miniprogram/src/color-picker/README.md b/packages/products/tdesign-miniprogram/src/color-picker/README.md index 63f75ee01..4ac4e06db 100644 --- a/packages/products/tdesign-miniprogram/src/color-picker/README.md +++ b/packages/products/tdesign-miniprogram/src/color-picker/README.md @@ -1,10 +1,13 @@ :: BASE_DOC :: ## API + ### ColorPicker Props -名称 | 类型 | 默认值 | 说明 | 必传 +名称 | 类型 | 默认值 | 描述 | 必传 -- | -- | -- | -- | -- +style | Object | - | 样式 | N +custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N enable-alpha | Boolean | false | 是否开启透明通道 | N format | String | RGB | 格式化色值。`enableAlpha` 为真时,`RGBA/HSLA/HSVA` 等值有效。可选项:RGB/RGBA/HSL/HSLA/HSB/HSV/HSVA/HEX/CMYK/CSS | N swatch-colors | Array | - | 系统预设的颜色样例,值为 `null` 或 `[]` 则不显示系统色,值为 `undefined` 会显示组件内置的系统默认色。TS 类型:`Array \| null` | N diff --git a/packages/products/tdesign-miniprogram/src/comment/README.en-US.md b/packages/products/tdesign-miniprogram/src/comment/README.en-US.md new file mode 100644 index 000000000..9509d540f --- /dev/null +++ b/packages/products/tdesign-miniprogram/src/comment/README.en-US.md @@ -0,0 +1,17 @@ +:: BASE_DOC :: + +## API + +### Comment Props + +name | type | default | description | required +-- | -- | -- | -- | -- +style | Object | - | CSS(Cascading Style Sheets) | N +custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N +actions | Array | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +author | String / Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +avatar | String / Object / Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts)。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/comment/type.ts) | N +content | String / Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +datetime | String / Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +quote | String / Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +reply | String / Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N diff --git a/packages/products/tdesign-miniprogram/src/comment/README.md b/packages/products/tdesign-miniprogram/src/comment/README.md new file mode 100644 index 000000000..894090c74 --- /dev/null +++ b/packages/products/tdesign-miniprogram/src/comment/README.md @@ -0,0 +1,17 @@ +:: BASE_DOC :: + +## API + +### Comment Props + +名称 | 类型 | 默认值 | 描述 | 必传 +-- | -- | -- | -- | -- +style | Object | - | 样式 | N +custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N +actions | Array | - | 操作。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +author | String / Slot | - | 作者。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +avatar | String / Object / Slot | - | 头像。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts)。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/comment/type.ts) | N +content | String / Slot | - | 内容。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +datetime | String / Slot | - | 时间。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +quote | String / Slot | - | 引用。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +reply | String / Slot | - | 回复。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N diff --git a/packages/products/tdesign-miniprogram/src/config-provider/README.en-US.md b/packages/products/tdesign-miniprogram/src/config-provider/README.en-US.md new file mode 100644 index 000000000..8b0daa19f --- /dev/null +++ b/packages/products/tdesign-miniprogram/src/config-provider/README.en-US.md @@ -0,0 +1,29 @@ +:: BASE_DOC :: + +## API +### GlobalConfigProvider + +name | type | default | description | required +-- | -- | -- | -- | -- +style | Object | - | CSS(Cascading Style Sheets) | N +custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N +animation | Object | - | Typescript:`Partial>>` `type AnimationType = 'ripple' \| 'expand' \| 'fade'`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/config-provider/type.ts) | N +class-prefix | String | t | \- | N + +### InputConfig + +name | type | default | description | required +-- | -- | -- | -- | -- +style | Object | - | CSS(Cascading Style Sheets) | N +custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N +placeholder | String | - | \- | N + +### ImageConfig + +name | type | default | description | required +-- | -- | -- | -- | -- +style | Object | - | CSS(Cascading Style Sheets) | N +custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N +error-text | String | - | loading text, default value is "Error" | N +loading-text | String | - | loading text, default value is "loading" | N +replace-image-src | Function | - | replace all `src` attribute of images。Typescript:`(params: ImageProps) => string`,[Image API Documents](./image?tab=api)。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/config-provider/type.ts) | N diff --git a/packages/products/tdesign-miniprogram/src/config-provider/README.md b/packages/products/tdesign-miniprogram/src/config-provider/README.md new file mode 100644 index 000000000..4d227d88a --- /dev/null +++ b/packages/products/tdesign-miniprogram/src/config-provider/README.md @@ -0,0 +1,29 @@ +:: BASE_DOC :: + +## API +### GlobalConfigProvider + +名称 | 类型 | 默认值 | 描述 | 必传 +-- | -- | -- | -- | -- +style | Object | - | 样式 | N +custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N +animation | Object | - | 动画效果控制,`ripple` 指波纹动画, `expand` 指展开动画,`fade` 指渐变动画。默认为 `{ include: ['ripple','expand','fade'], exclude: [] }`。TS 类型:`Partial>>` `type AnimationType = 'ripple' \| 'expand' \| 'fade'`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/config-provider/type.ts) | N +class-prefix | String | t | CSS 类名前缀 | N + +### InputConfig + +名称 | 类型 | 默认值 | 描述 | 必传 +-- | -- | -- | -- | -- +style | Object | - | 样式 | N +custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N +placeholder | String | - | 语言配置,“请输入”占位符描述文本 | N + +### ImageConfig + +名称 | 类型 | 默认值 | 描述 | 必传 +-- | -- | -- | -- | -- +style | Object | - | 样式 | N +custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N +error-text | String | - | 图片加载失败显示的文本,中文默认为“图片无法显示” | N +loading-text | String | - | 图片加载中显示的文本,中文默认为“图片加载中” | N +replace-image-src | Function | - | 统一替换图片 `src` 地址,参数为组件的全部属性,返回值为新的图片地址。TS 类型:`(params: ImageProps) => string`,[Image API Documents](./image?tab=api)。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/config-provider/type.ts) | N diff --git a/packages/products/tdesign-miniprogram/src/count-down/README.en-US.md b/packages/products/tdesign-miniprogram/src/count-down/README.en-US.md index 2d97f75c4..aec400113 100644 --- a/packages/products/tdesign-miniprogram/src/count-down/README.en-US.md +++ b/packages/products/tdesign-miniprogram/src/count-down/README.en-US.md @@ -1,18 +1,20 @@ :: BASE_DOC :: ## API + ### CountDown Props name | type | default | description | required -- | -- | -- | -- | -- +style | Object | - | CSS(Cascading Style Sheets) | N +custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N auto-start | Boolean | true | \- | N -content | String / Slot | 'default' | \- | N +content | String / Slot | 'default' | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N format | String | HH:mm:ss | \- | N millisecond | Boolean | false | \- | N -size | String | 'small' | options:small/medium/large | N -split-with-unit | Boolean | false | \- | N -style | String | - | \- | N -theme | String | 'default' | options:default/round/square | N +size | String | 'medium' | `0.5.1`。options: small/medium/large | N +split-with-unit | Boolean | false | `0.5.1` | N +theme | String | 'default' | `0.5.1`。options: default/round/square | N time | Number | - | required | Y ### CountDown Events @@ -21,3 +23,10 @@ name | params | description -- | -- | -- change | `(time: TimeData)` | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/count-down/type.ts)。
`interface TimeData { days: number; hours: number; minutes: number; seconds: number; milliseconds: number }`
finish | \- | \- +### CountDown External Classes + +className | Description +-- | -- +t-class | \- +t-class-count | \- +t-class-split | \- diff --git a/packages/products/tdesign-miniprogram/src/count-down/README.md b/packages/products/tdesign-miniprogram/src/count-down/README.md index d7304d5db..504f6d2da 100644 --- a/packages/products/tdesign-miniprogram/src/count-down/README.md +++ b/packages/products/tdesign-miniprogram/src/count-down/README.md @@ -1,18 +1,20 @@ :: BASE_DOC :: ## API + ### CountDown Props -名称 | 类型 | 默认值 | 说明 | 必传 +名称 | 类型 | 默认值 | 描述 | 必传 -- | -- | -- | -- | -- +style | Object | - | 样式 | N +custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N auto-start | Boolean | true | 是否自动开始倒计时 | N -content | String / Slot | 'default' | 最终倒计时的展示内容,值为'default'时使用默认的格式,否则使用自定义样式插槽 | N +content | String / Slot | 'default' | 最终倒计时的展示内容,值为'default'时使用默认的格式,否则使用自定义样式插槽。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N format | String | HH:mm:ss | 时间格式,DD-日,HH-时,mm-分,ss-秒,SSS-毫秒 | N millisecond | Boolean | false | 是否开启毫秒级渲染 | N -size | String | 'small' | 倒计时尺寸。可选项:small/medium/large | N -split-with-unit | Boolean | false | 使用时间单位分割 | N -style | String | - | 自定义组件样式 | N -theme | String | 'default' | 倒计时风格。可选项:default/round/square | N +size | String | 'medium' | `0.5.1`。倒计时尺寸。可选项:small/medium/large | N +split-with-unit | Boolean | false | `0.5.1`。使用时间单位分割 | N +theme | String | 'default' | `0.5.1`。倒计时风格。可选项:default/round/square | N time | Number | - | 必需。倒计时时长,单位毫秒 | Y ### CountDown Events @@ -21,3 +23,10 @@ time | Number | - | 必需。倒计时时长,单位毫秒 | Y -- | -- | -- change | `(time: TimeData)` | 时间变化时触发。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/count-down/type.ts)。
`interface TimeData { days: number; hours: number; minutes: number; seconds: number; milliseconds: number }`
finish | \- | 倒计时结束时触发 +### CountDown External Classes + +类名 | 描述 +-- | -- +t-class | 根节点样式类 +t-class-count | 计数样式类 +t-class-split | 分隔线样式类 diff --git a/packages/products/tdesign-miniprogram/src/date-time-picker/README.en-US.md b/packages/products/tdesign-miniprogram/src/date-time-picker/README.en-US.md index 6ed37dc89..991c98908 100644 --- a/packages/products/tdesign-miniprogram/src/date-time-picker/README.en-US.md +++ b/packages/products/tdesign-miniprogram/src/date-time-picker/README.en-US.md @@ -1,22 +1,26 @@ :: BASE_DOC :: ## API + ### DateTimePicker Props name | type | default | description | required -- | -- | -- | -- | -- +style | Object | - | CSS(Cascading Style Sheets) | N +custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N cancel-btn | String | 取消 | \- | N confirm-btn | String | - | \- | N +custom-locale | String | zh | \- | N end | String / Number | - | \- | N -external-classes | Array | - | `['t-class', 't-class-confirm', 't-class-cancel', 't-class-title']` | N -footer | Boolean / Slot | true | \- | N +footer | Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N format | String | 'YYYY-MM-DD HH:mm:ss' | \- | N -header | Boolean / Slot | true | \- | N +header | Boolean / Slot | true | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N mode | String / Array | 'date' | Typescript:`DateTimePickerMode` `type DateTimePickerMode = TimeModeValues \| Array ` `type TimeModeValues = 'year' \| 'month' \| 'date' \| 'hour' \| 'minute' \| 'second'`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/date-time-picker/type.ts) | N +popup-props | Object | {} | popup properties。Typescript:`PopupProps`,[Popup API Documents](./popup?tab=api)。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/date-time-picker/type.ts) | N show-week | Boolean | false | \- | N start | String / Number | - | \- | N -style | String | - | \- | N -title | String | '选择时间' | title of picker | N +steps | Object | - | \- | N +title | String | - | title of picker | N value | String / Number | - | Typescript:`DateValue` `type DateValue = string \| number`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/date-time-picker/type.ts) | N default-value | String / Number | undefined | uncontrolled property。Typescript:`DateValue` `type DateValue = string \| number`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/date-time-picker/type.ts) | N visible | Boolean | false | \- | N @@ -27,5 +31,14 @@ name | params | description -- | -- | -- cancel | \- | \- change | `(value: DateValue)` | \- -confirm | `(value: DateValue)` | \- +close | `(trigger: TriggerSource)` | `1.0.1`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/date-time-picker/type.ts)。
`type TriggerSource = 'overlay' \| 'cancel-btn' \| 'confrim-btn'`
+confirm | `(value: DateValue)` | `1.0.1` pick | `(value: DateValue)` | \- +### DateTimePicker External Classes + +className | Description +-- | -- +t-class | \- +t-class-cancel | \- +t-class-confirm | \- +t-class-title | \- diff --git a/packages/products/tdesign-miniprogram/src/date-time-picker/README.md b/packages/products/tdesign-miniprogram/src/date-time-picker/README.md index 93db9f5ba..f38447610 100644 --- a/packages/products/tdesign-miniprogram/src/date-time-picker/README.md +++ b/packages/products/tdesign-miniprogram/src/date-time-picker/README.md @@ -1,22 +1,26 @@ :: BASE_DOC :: ## API + ### DateTimePicker Props -名称 | 类型 | 默认值 | 说明 | 必传 +名称 | 类型 | 默认值 | 描述 | 必传 -- | -- | -- | -- | -- +style | Object | - | 样式 | N +custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N cancel-btn | String | 取消 | 取消按钮文字 | N confirm-btn | String | - | 确定按钮文字 | N +custom-locale | String | zh | 组件国际化语言,目前支持: 简体中文(zh)、(tc)、英文(en)、日语(ja)、韩语(ko)、俄语(ru)等六种语言 | N end | String / Number | - | 选择器的最大可选时间,默认为当前时间+10年 | N -external-classes | Array | - | 组件类名,分别用于设置组件外层元素、确认按钮、取消按钮、标题等元素类名。`['t-class', 't-class-confirm', 't-class-cancel', 't-class-title']` | N -footer | Boolean / Slot | true | 底部内容 | N -format | String | 'YYYY-MM-DD HH:mm:ss' | 用于pick、change、confirm事件参数格式化[详细文档](https://day.js.org/docs/en/display/format) | N -header | Boolean / Slot | true | 头部内容。值为 true 显示空白头部,值为 false 不显示任何内容,值类型为 TNode 表示自定义头部内容 | N +footer | Slot | - | 底部内容。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +format | String | 'YYYY-MM-DD HH:mm:ss' | 用于格式化 pick、change、confirm 事件返回的值,[详细文档](https://day.js.org/docs/en/display/format) | N +header | Boolean / Slot | true | 头部内容。值为 true 显示空白头部,值为 false 不显示任何内容。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N mode | String / Array | 'date' | year = 年;month = 年月;date = 年月日;hour = 年月日时; minute = 年月日时分;当类型为数组时,第一个值控制年月日,第二个值控制时分秒。TS 类型:`DateTimePickerMode` `type DateTimePickerMode = TimeModeValues \| Array ` `type TimeModeValues = 'year' \| 'month' \| 'date' \| 'hour' \| 'minute' \| 'second'`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/date-time-picker/type.ts) | N +popup-props | Object | {} | 透传 `Popup` 组件全部属性。TS 类型:`PopupProps`,[Popup API Documents](./popup?tab=api)。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/date-time-picker/type.ts) | N show-week | Boolean | false | 【开发中】是否在日期旁边显示周几(如周一,周二,周日等) | N start | String / Number | - | 选择器的最小可选时间,默认为当前时间-10年 | N -style | String | - | 自定义组件样式 | N -title | String | '选择时间' | 标题 | N +steps | Object | - | 时间间隔步数,示例:`{ minute: 5 }` | N +title | String | - | 标题 | N value | String / Number | - | 选中值。TS 类型:`DateValue` `type DateValue = string \| number`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/date-time-picker/type.ts) | N default-value | String / Number | undefined | 选中值。非受控属性。TS 类型:`DateValue` `type DateValue = string \| number`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/date-time-picker/type.ts) | N visible | Boolean | false | 是否显示 | N @@ -27,5 +31,14 @@ visible | Boolean | false | 是否显示 | N -- | -- | -- cancel | \- | 取消按钮点击时触发 change | `(value: DateValue)` | 确认按钮点击时触发 -confirm | `(value: DateValue)` | 确认按钮点击时触发 +close | `(trigger: TriggerSource)` | `1.0.1`。关闭时触发。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/date-time-picker/type.ts)。
`type TriggerSource = 'overlay' \| 'cancel-btn' \| 'confrim-btn'`
+confirm | `(value: DateValue)` | `1.0.1`。确认按钮点击时触发 pick | `(value: DateValue)` | 选中值发生变化时触发 +### DateTimePicker External Classes + +类名 | 描述 +-- | -- +t-class | 根节点样式类 +t-class-cancel | 取消样式类 +t-class-confirm | 确认样式类 +t-class-title | 标题样式类 diff --git a/packages/products/tdesign-miniprogram/src/date-time-range-picker/README.en-US.md b/packages/products/tdesign-miniprogram/src/date-time-range-picker/README.en-US.md new file mode 100644 index 000000000..21369b483 --- /dev/null +++ b/packages/products/tdesign-miniprogram/src/date-time-range-picker/README.en-US.md @@ -0,0 +1,28 @@ +:: BASE_DOC :: + +## API + +### DateTimeRangePicker Props + +name | type | default | description | required +-- | -- | -- | -- | -- +style | Object | - | CSS(Cascading Style Sheets) | N +custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N +cancel-btn | String | 取消 | \- | N +confirm-btn | String | - | \- | N +disable-date | Object / Array / Function | - | Typescript:`DisableRangeDate` `type DisableRangeDate = Array \| DisableDateObj \| ((context: { date: DateRangeValue; partial: DateRangePickerPartial }) => boolean)` `interface DisableDateObj { from?: string; to?: string; before?: string; after?: string }` `type DateRangePickerPartial = 'start' \| 'end'`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/date-time-range-picker/type.ts) | N +format | String | 'YYYY-MM-DD' | \- | N +mode | String | date | options: year/month/date/hour/minutes/second | N +show-week | Boolean | false | \- | N +title | String | - | title of picker | N +value | Array | - | Typescript:`DateRangeValue` `type DateRangeValue = Array`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/date-time-range-picker/type.ts) | N +visible | Boolean | false | \- | N + +### DateTimeRangePicker Events + +name | params | description +-- | -- | -- +cancel | - | \- +change | `(value: DateRangeValue)` | \- +column-change | `(context: DateRangePickerColumnChangeContext)` | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/date-time-range-picker/type.ts)。
`interface DateRangePickerColumnChangeContext { value: DateValue; index: number; partial: DateRangePickerPartial }`
+confirm | `(detail: { value: DateValue;})` | \- diff --git a/packages/products/tdesign-miniprogram/src/date-time-range-picker/README.md b/packages/products/tdesign-miniprogram/src/date-time-range-picker/README.md new file mode 100644 index 000000000..c88de216f --- /dev/null +++ b/packages/products/tdesign-miniprogram/src/date-time-range-picker/README.md @@ -0,0 +1,28 @@ +:: BASE_DOC :: + +## API + +### DateTimeRangePicker Props + +名称 | 类型 | 默认值 | 描述 | 必传 +-- | -- | -- | -- | -- +style | Object | - | 样式 | N +custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N +cancel-btn | String | 取消 | 取消按钮文字 | N +confirm-btn | String | - | 确定按钮文字 | N +disable-date | Object / Array / Function | - | 禁用日期,示例:['A', 'B'] 表示日期 A 和日期 B 会被禁用。{ from: 'A', to: 'B' } 表示在 A 到 B 之间的日期会被禁用。{ before: 'A', after: 'B' } 表示在 A 之前和在 B 之后的日期都会被禁用。其中 A = '2021-01-01',B = '2021-02-01'。值类型为 Function 则表示返回值为 true 的日期会被禁用。TS 类型:`DisableRangeDate` `type DisableRangeDate = Array \| DisableDateObj \| ((context: { date: DateRangeValue; partial: DateRangePickerPartial }) => boolean)` `interface DisableDateObj { from?: string; to?: string; before?: string; after?: string }` `type DateRangePickerPartial = 'start' \| 'end'`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/date-time-range-picker/type.ts) | N +format | String | 'YYYY-MM-DD' | 用于格式化日期,[详细文档](https://day.js.org/docs/en/display/format) | N +mode | String | date | 选择器模式,用于表示可以选择到哪一个层级。可选项:year/month/date/hour/minutes/second | N +show-week | Boolean | false | 是否在日期旁边显示周几(如周一,周二,周日等) | N +title | String | - | 标题 | N +value | Array | - | 选中值。TS 类型:`DateRangeValue` `type DateRangeValue = Array`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/date-time-range-picker/type.ts) | N +visible | Boolean | false | 是否显示 | N + +### DateTimeRangePicker Events + +名称 | 参数 | 描述 +-- | -- | -- +cancel | - | 取消按钮点击时触发 +change | `(value: DateRangeValue)` | 选中值发生变化时触发 +column-change | `(context: DateRangePickerColumnChangeContext)` | 每一列选中数据变化时触发。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/date-time-range-picker/type.ts)。
`interface DateRangePickerColumnChangeContext { value: DateValue; index: number; partial: DateRangePickerPartial }`
+confirm | `(detail: { value: DateValue;})` | 确认按钮点击时触发 diff --git a/packages/products/tdesign-miniprogram/src/dialog/README.en-US.md b/packages/products/tdesign-miniprogram/src/dialog/README.en-US.md index a0a1df899..d4007c277 100644 --- a/packages/products/tdesign-miniprogram/src/dialog/README.en-US.md +++ b/packages/products/tdesign-miniprogram/src/dialog/README.en-US.md @@ -1,23 +1,25 @@ :: BASE_DOC :: ## API + ### Dialog Props name | type | default | description | required -- | -- | -- | -- | -- +style | Object | - | CSS(Cascading Style Sheets) | N +custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N actions | Array / Slot | - | Typescript:`Array`,[Button API Documents](./button?tab=api)。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/dialog/type.ts) | N -button-layout | String | horizontal | options:horizontal/vertical | N -cancel-btn | String / Object / Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/dialog/type.ts) | N +button-layout | String | horizontal | options: horizontal/vertical | N +cancel-btn | String / Object / Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts)。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/dialog/type.ts) | N +close-btn | Boolean / Object | false | `0.31.0`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts)。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/dialog/type.ts) | N close-on-overlay-click | Boolean | undefined | \- | N -confirm-btn | String / Object / Slot | - | \- | N -content | String / Slot | - | \- | N -external-classes | Array | - | `['t-class', 't-class-content', 't-class-confirm', 't-class-cancel']` | N +confirm-btn | String / Object / Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +content | String / Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N overlay-props | Object | {} | \- | N prevent-scroll-through | Boolean | true | \- | N show-overlay | Boolean | true | \- | N -style | String | - | \- | N -title | String / Slot | - | \- | N -visible | Boolean | false | \- | N +title | String / Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +visible | Boolean | - | \- | N z-index | Number | 11500 | \- | N ### Dialog Events @@ -25,6 +27,15 @@ z-index | Number | 11500 | \- | N name | params | description -- | -- | -- cancel | - | \- -close | `(trigger: DialogEventSource)` | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/dialog/type.ts)。
`type DialogEventSource = 'cancel' \| 'overlay'`
+close | `(trigger: DialogEventSource)` | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/dialog/type.ts)。
`type DialogEventSource = 'cancel' \| 'overlay' \| 'close-btn'`
confirm | - | \- overlay-click | - | \- +### Dialog External Classes + +className | Description +-- | -- +t-class | \- +t-class-action | \- +t-class-cancel | \- +t-class-confirm | \- +t-class-content | \- diff --git a/packages/products/tdesign-miniprogram/src/dialog/README.md b/packages/products/tdesign-miniprogram/src/dialog/README.md index e70fde2f2..d8194cf6f 100644 --- a/packages/products/tdesign-miniprogram/src/dialog/README.md +++ b/packages/products/tdesign-miniprogram/src/dialog/README.md @@ -1,23 +1,25 @@ :: BASE_DOC :: ## API + ### Dialog Props -名称 | 类型 | 默认值 | 说明 | 必传 +名称 | 类型 | 默认值 | 描述 | 必传 -- | -- | -- | -- | -- +style | Object | - | 样式 | N +custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N actions | Array / Slot | - | 操作栏。TS 类型:`Array`,[Button API Documents](./button?tab=api)。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/dialog/type.ts) | N button-layout | String | horizontal | 多按钮排列方式。可选项:horizontal/vertical | N -cancel-btn | String / Object / Slot | - | 取消按钮,可自定义。值为 null 则不显示取消按钮。值类型为字符串,则表示自定义按钮文本,值类型为 Object 则表示透传 Button 组件属性。使用 TNode 自定义按钮时,需自行控制取消事件。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/dialog/type.ts) | N +cancel-btn | String / Object / Slot | - | 取消按钮,可自定义。值为 null 则不显示取消按钮。值类型为字符串,则表示自定义按钮文本,值类型为 Object 则表示透传 Button 组件属性。使用 Slot 自定义按钮时,需自行控制取消事件。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts)。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/dialog/type.ts) | N +close-btn | Boolean / Object | false | `0.31.0`。是否展示关闭按钮,值为 `true` 显示默认关闭按钮;值为 `false` 则不显示关闭按钮;使用 Object 时透传至图标组件。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts)。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/dialog/type.ts) | N close-on-overlay-click | Boolean | undefined | 点击蒙层时是否触发关闭事件 | N -confirm-btn | String / Object / Slot | - | 确认按钮。值为 null 则不显示确认按钮。值类型为字符串,则表示自定义按钮文本,值类型为 Object 则表示透传 Button 组件属性。使用 TNode 自定义按钮时,需自行控制确认事件 | N -content | String / Slot | - | 内容 | N -external-classes | Array | - | 组件类名,分别用于设置 组件外层元素、组件内容部分、确认按钮、取消按钮 等元素类名。`['t-class', 't-class-content', 't-class-confirm', 't-class-cancel']` | N +confirm-btn | String / Object / Slot | - | 确认按钮。值为 null 则不显示确认按钮。值类型为字符串,则表示自定义按钮文本,值类型为 Object 则表示透传 Button 组件属性。使用 Slot 自定义按钮时,需自行控制确认事件。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +content | String / Slot | - | 内容。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N overlay-props | Object | {} | 透传至 Overlay 组件 | N prevent-scroll-through | Boolean | true | 防止滚动穿透 | N show-overlay | Boolean | true | 是否显示遮罩层 | N -style | String | - | 自定义组件样式 | N -title | String / Slot | - | 标题 | N -visible | Boolean | false | 控制对话框是否显示 | N +title | String / Slot | - | 标题。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +visible | Boolean | - | 控制对话框是否显示 | N z-index | Number | 11500 | 对话框层级,Web 侧样式默认为 2500,移动端样式默认 2500,小程序样式默认为 11500 | N ### Dialog Events @@ -25,6 +27,15 @@ z-index | Number | 11500 | 对话框层级,Web 侧样式默认为 2500,移 名称 | 参数 | 描述 -- | -- | -- cancel | - | 如果“取消”按钮存在,则点击“取消”按钮时触发,同时触发关闭事件 -close | `(trigger: DialogEventSource)` | 关闭事件,点击 取消按钮 或 点击蒙层 时触发。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/dialog/type.ts)。
`type DialogEventSource = 'cancel' \| 'overlay'`
+close | `(trigger: DialogEventSource)` | 关闭事件,点击 取消按钮 或 点击蒙层 时触发。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/dialog/type.ts)。
`type DialogEventSource = 'cancel' \| 'overlay' \| 'close-btn'`
confirm | - | 如果“确认”按钮存在,则点击“确认”按钮时触发 overlay-click | - | 如果蒙层存在,点击蒙层时触发 +### Dialog External Classes + +类名 | 描述 +-- | -- +t-class | 根节点样式类 +t-class-action | 操作样式类 +t-class-cancel | 取消样式类 +t-class-confirm | 确认样式类 +t-class-content | 内容样式类 diff --git a/packages/products/tdesign-miniprogram/src/divider/README.en-US.md b/packages/products/tdesign-miniprogram/src/divider/README.en-US.md index e9fdeddd6..357e8c140 100644 --- a/packages/products/tdesign-miniprogram/src/divider/README.en-US.md +++ b/packages/products/tdesign-miniprogram/src/divider/README.en-US.md @@ -1,15 +1,20 @@ :: BASE_DOC :: ## API + ### Divider Props name | type | default | description | required -- | -- | -- | -- | -- -align | String | center | options:left/right/center | N -content | String / Slot | - | \- | N -custom-style | String | - | `v0.25.0` | N +style | Object | - | CSS(Cascading Style Sheets) | N +custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N +align | String | center | options: left/right/center | N +content | String / Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N dashed | Boolean | false | \- | N -external-classes | Array | - | `['t-class', 't-class-line', 't-class-content']` | N -layout | String | horizontal | options:horizontal/vertical | N -line-color | String | - | \- | N -style | String | - | \- | N +layout | String | horizontal | options: horizontal/vertical | N +### Divider External Classes + +className | Description +-- | -- +t-class | \- +t-class-content | \- diff --git a/packages/products/tdesign-miniprogram/src/divider/README.md b/packages/products/tdesign-miniprogram/src/divider/README.md index 72e7e9c7b..f5ab2ce20 100644 --- a/packages/products/tdesign-miniprogram/src/divider/README.md +++ b/packages/products/tdesign-miniprogram/src/divider/README.md @@ -1,15 +1,20 @@ :: BASE_DOC :: ## API + ### Divider Props -名称 | 类型 | 默认值 | 说明 | 必传 +名称 | 类型 | 默认值 | 描述 | 必传 -- | -- | -- | -- | -- +style | Object | - | 样式 | N +custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N align | String | center | 文本位置(仅在水平分割线有效)。可选项:left/right/center | N -content | String / Slot | - | 子元素 | N -custom-style | String | - | `v0.25.0`。自定义组件样式 | N +content | String / Slot | - | 子元素。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N dashed | Boolean | false | 是否虚线(仅在水平分割线有效) | N -external-classes | Array | - | 组件类名,分别用于设置 组件外层类名、分隔线类名 等。`['t-class', 't-class-line', 't-class-content']` | N layout | String | horizontal | 分隔线类型有两种:水平和垂直。可选项:horizontal/vertical | N -line-color | String | - | 分隔线颜色 | N -style | String | - | 自定义组件样式 | N +### Divider External Classes + +类名 | 描述 +-- | -- +t-class | 根节点样式类 +t-class-content | 内容样式类 diff --git a/packages/products/tdesign-miniprogram/src/drawer/README.en-US.md b/packages/products/tdesign-miniprogram/src/drawer/README.en-US.md index a943f53f4..6f45d4577 100644 --- a/packages/products/tdesign-miniprogram/src/drawer/README.en-US.md +++ b/packages/products/tdesign-miniprogram/src/drawer/README.en-US.md @@ -1,23 +1,27 @@ :: BASE_DOC :: ## API + ### Drawer Props name | type | default | description | required -- | -- | -- | -- | -- +style | Object | - | CSS(Cascading Style Sheets) | N +custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N close-on-overlay-click | Boolean | true | \- | N destroy-on-close | Boolean | false | \- | N -items | Array | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/drawer/type.ts) | N -placement | String | right | options:left/right | N +footer | Slot | - | `0.29.0`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +items | Array | - | Typescript:`DrawerItem[] ` `interface DrawerItem { title: string; icon: string; }。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/drawer/type.ts)`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/drawer/type.ts) | N +placement | String | right | options: left/right | N show-overlay | Boolean | true | \- | N -style | String | - | \- | N +title | String / Slot | - | `0.29.0`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N visible | Boolean | false | \- | N -z-index | Number | - | \- | N +z-index | Number | 11500 | \- | N ### Drawer Events name | params | description -- | -- | -- -close | `(trigger: DrawerEventSource)` | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/drawer/type.ts)。
`type DrawerEventSource = 'esc' \| 'close-btn' \| 'cancel' \| 'overlay'`
+close | `(trigger: TriggerSource)` | \- item-click | `(index: number; item: DrawerItem)` | \- overlay-click | \- | \- diff --git a/packages/products/tdesign-miniprogram/src/drawer/README.md b/packages/products/tdesign-miniprogram/src/drawer/README.md index 60ab2ce5f..31c191652 100644 --- a/packages/products/tdesign-miniprogram/src/drawer/README.md +++ b/packages/products/tdesign-miniprogram/src/drawer/README.md @@ -1,23 +1,27 @@ :: BASE_DOC :: ## API + ### Drawer Props -名称 | 类型 | 默认值 | 说明 | 必传 +名称 | 类型 | 默认值 | 描述 | 必传 -- | -- | -- | -- | -- +style | Object | - | 样式 | N +custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N close-on-overlay-click | Boolean | true | 点击蒙层时是否触发抽屉关闭事件 | N destroy-on-close | Boolean | false | 抽屉关闭时是否销毁节点 | N -items | Array | - | 抽屉里的列表项。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/drawer/type.ts) | N +footer | Slot | - | `0.29.0`。抽屉的底部。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +items | Array | - | 抽屉里的列表项。TS 类型:`DrawerItem[] ` `interface DrawerItem { title: string; icon: string; }。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/drawer/type.ts)`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/drawer/type.ts) | N placement | String | right | 抽屉方向。可选项:left/right | N show-overlay | Boolean | true | 是否显示遮罩层 | N -style | String | - | 自定义组件样式 | N +title | String / Slot | - | `0.29.0`。抽屉的标题。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N visible | Boolean | false | 组件是否可见 | N -z-index | Number | - | 抽屉层级,样式默认为 11500 | N +z-index | Number | 11500 | 抽屉层级,样式默认为 11500 | N ### Drawer Events 名称 | 参数 | 描述 -- | -- | -- -close | `(trigger: DrawerEventSource)` | 关闭事件,取消按钮点击时、关闭按钮点击时、点击蒙层时均会触发。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/drawer/type.ts)。
`type DrawerEventSource = 'esc' \| 'close-btn' \| 'cancel' \| 'overlay'`
+close | `(trigger: TriggerSource)` | 关闭时触发。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/drawer/type.ts)。
`type TriggerSource = 'overlay'`
item-click | `(index: number; item: DrawerItem)` | 点击抽屉里的列表项 overlay-click | \- | 如果蒙层存在,点击蒙层时触发 diff --git a/packages/products/tdesign-miniprogram/src/dropdown-item/README.en-US.md b/packages/products/tdesign-miniprogram/src/dropdown-item/README.en-US.md new file mode 100644 index 000000000..74d88f809 --- /dev/null +++ b/packages/products/tdesign-miniprogram/src/dropdown-item/README.en-US.md @@ -0,0 +1,38 @@ +:: BASE_DOC :: + +## API + +### DropdownItem Props + +name | type | default | description | required +-- | -- | -- | -- | -- +style | Object | - | CSS(Cascading Style Sheets) | N +custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N +disabled | Boolean | false | \- | N +keys | Object | - | Typescript:`KeysType`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +label | String | - | \- | N +multiple | Boolean | false | \- | N +options | Array | [] | Typescript:`Array` `interface DropdownOption { label: string; disabled: boolean; value: DropdownValue; }`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/dropdown-item/type.ts) | N +options-columns | String / Number | 1 | \- | N +options-layout | String | columns | `deprecated` | N +value | String / Number / Array | undefined | Typescript:`DropdownValue ` `type DropdownValue = string \| number \| Array;`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/dropdown-item/type.ts) | N +default-value | String / Number / Array | undefined | uncontrolled property。Typescript:`DropdownValue ` `type DropdownValue = string \| number \| Array;`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/dropdown-item/type.ts) | N + +### DropdownItem Events + +name | params | description +-- | -- | -- +change | `(value: DropdownValue)` | \- +close | \- | \- +confirm | `(value: DropdownValue)` | \- +reset | \- | \- +### DropdownItem External Classes + +className | Description +-- | -- +t-class | \- +t-class-column | \- +t-class-column-item | \- +t-class-column-item-label | \- +t-class-content | \- +t-class-footer | \- diff --git a/packages/products/tdesign-miniprogram/src/dropdown-item/README.md b/packages/products/tdesign-miniprogram/src/dropdown-item/README.md new file mode 100644 index 000000000..73bd5d904 --- /dev/null +++ b/packages/products/tdesign-miniprogram/src/dropdown-item/README.md @@ -0,0 +1,38 @@ +:: BASE_DOC :: + +## API + +### DropdownItem Props + +名称 | 类型 | 默认值 | 描述 | 必传 +-- | -- | -- | -- | -- +style | Object | - | 样式 | N +custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N +disabled | Boolean | false | 是否禁用 | N +keys | Object | - | 用来定义 value / label 在 `options` 中对应的字段别名。TS 类型:`KeysType`。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +label | String | - | 标题 | N +multiple | Boolean | false | 是否多选 | N +options | Array | [] | 选项数据。TS 类型:`Array` `interface DropdownOption { label: string; disabled: boolean; value: DropdownValue; }`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/dropdown-item/type.ts) | N +options-columns | String / Number | 1 | 选项分栏(1-3) | N +options-layout | String | columns | 已废弃。选项排列;不再支持 tree 布局,可与 treeSelect 配合使用 | N +value | String / Number / Array | undefined | 选中值。TS 类型:`DropdownValue ` `type DropdownValue = string \| number \| Array;`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/dropdown-item/type.ts) | N +default-value | String / Number / Array | undefined | 选中值。非受控属性。TS 类型:`DropdownValue ` `type DropdownValue = string \| number \| Array;`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/dropdown-item/type.ts) | N + +### DropdownItem Events + +名称 | 参数 | 描述 +-- | -- | -- +change | `(value: DropdownValue)` | 值改变时触发 +close | \- | 关闭时触发 +confirm | `(value: DropdownValue)` | 点击确认时触发 +reset | \- | 点击重置时触发 +### DropdownItem External Classes + +类名 | 描述 +-- | -- +t-class | 根节点样式类 +t-class-column | 菜单列样式类 +t-class-column-item | 菜单列选项样式类 +t-class-column-item-label | 菜单列选项标签样式类 +t-class-content | 内容样式类 +t-class-footer | 底部样式类 diff --git a/packages/products/tdesign-miniprogram/src/dropdown-menu/README.en-US.md b/packages/products/tdesign-miniprogram/src/dropdown-menu/README.en-US.md index 043257a90..825f3c00b 100644 --- a/packages/products/tdesign-miniprogram/src/dropdown-menu/README.en-US.md +++ b/packages/products/tdesign-miniprogram/src/dropdown-menu/README.en-US.md @@ -1,37 +1,30 @@ :: BASE_DOC :: ## API + ### DropdownMenu Props name | type | default | description | required -- | -- | -- | -- | -- -active-color | String | - | \- | N +style | Object | - | CSS(Cascading Style Sheets) | N +custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N +arrow-icon | String / Object | 'caret-down-small' | \- | N close-on-click-overlay | Boolean | true | \- | N -custom-style | String | - | \- | N duration | String / Number | 200 | \- | N -external-classes | Array | - | `['t-class', 't-class-menu', 't-class-menu-item', 't-class-menu-label', 't-class-menu-icon']` | N show-overlay | Boolean | true | \- | N z-index | Number | 11600 | \- | N -### DropdownItem Props - -name | type | default | description | required --- | -- | -- | -- | -- -custom-style | String | - | \- | N -disabled | Boolean | false | \- | N -external-classes | Array | - | `['t-class','t-class-content', 't-class-column', 't-class-column-item', 't-class-column-item-label', 't-class-tree', 't-class-tree-item', 't-class-tree-columns', 't-class-tree-columns-item', 't-class-tree-columns-item-label', 't-class-footer']` | N -keys | Object | - | Typescript:`KeysType` | N -label | String | - | \- | N -multiple | Boolean | false | \- | N -options | Array | [] | Typescript:`Array` `interface TdDropdownItemOption { label: string;disabled: boolean;value: TdDropdownItemOptionValueType; [key: string]: any }`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/dropdown-menu/type.ts) | N -options-columns | String / Number | 1 | \- | N -options-layout | String | columns | options:columns/tree | N -value | String / Number / Array | undefined | Typescript:`TdDropdownItemOptionValueType \| Array ` `type TdDropdownItemOptionValueType = string \| number;`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/dropdown-menu/type.ts) | N -default-value | String / Number / Array | undefined | uncontrolled property。Typescript:`TdDropdownItemOptionValueType \| Array ` `type TdDropdownItemOptionValueType = string \| number;`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/dropdown-menu/type.ts) | N - -### DropdownItem Events +### DropdownMenu Events name | params | description -- | -- | -- -change | `(value: TdDropdownItemOptionValueType \| Array)` | \- -confirm | `(value: TdDropdownItemOptionValueType \| Array)` | \- +close | \- | \- +open | \- | \- +### DropdownMenu External Classes + +className | Description +-- | -- +t-class | \- +t-class-icon | \- +t-class-item | \- +t-class-label | \- diff --git a/packages/products/tdesign-miniprogram/src/dropdown-menu/README.md b/packages/products/tdesign-miniprogram/src/dropdown-menu/README.md index 0bd235215..c29dd3fde 100644 --- a/packages/products/tdesign-miniprogram/src/dropdown-menu/README.md +++ b/packages/products/tdesign-miniprogram/src/dropdown-menu/README.md @@ -1,37 +1,30 @@ :: BASE_DOC :: ## API + ### DropdownMenu Props -名称 | 类型 | 默认值 | 说明 | 必传 +名称 | 类型 | 默认值 | 描述 | 必传 -- | -- | -- | -- | -- -active-color | String | - | 【讨论中】菜单标题和选项的选中态颜色 | N +style | Object | - | 样式 | N +custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N +arrow-icon | String / Object | 'caret-down-small' | 自定义箭头图标 | N close-on-click-overlay | Boolean | true | 是否在点击遮罩层后关闭菜单 | N -custom-style | String | - | 自定义组件样式 | N duration | String / Number | 200 | 动画时长 | N -external-classes | Array | - | 组件类名,分别用于设置 组件外层类名、菜单标签、菜单图标类名 等。`['t-class', 't-class-menu', 't-class-menu-item', 't-class-menu-label', 't-class-menu-icon']` | N show-overlay | Boolean | true | 是否显示遮罩层 | N z-index | Number | 11600 | 菜单栏 z-index 层级 | N -### DropdownItem Props - -名称 | 类型 | 默认值 | 说明 | 必传 --- | -- | -- | -- | -- -custom-style | String | - | 自定义组件样式 | N -disabled | Boolean | false | 是否禁用 | N -external-classes | Array | - | 组件类名,分别用于设置 组件外层类名、菜单列、菜单列选项、菜单列选项标签、树形菜单、树形菜单列等类名。`['t-class','t-class-content', 't-class-column', 't-class-column-item', 't-class-column-item-label', 't-class-tree', 't-class-tree-item', 't-class-tree-columns', 't-class-tree-columns-item', 't-class-tree-columns-item-label', 't-class-footer']` | N -keys | Object | - | 用来定义 value / label 在 `options` 中对应的字段别名。TS 类型:`KeysType` | N -label | String | - | 标题 | N -multiple | Boolean | false | 是否多选 | N -options | Array | [] | 选项数据。TS 类型:`Array` `interface TdDropdownItemOption { label: string;disabled: boolean;value: TdDropdownItemOptionValueType; [key: string]: any }`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/dropdown-menu/type.ts) | N -options-columns | String / Number | 1 | 选项分栏(1-3) | N -options-layout | String | columns | 选项排列。可选项:columns/tree | N -value | String / Number / Array | undefined | 选中值。TS 类型:`TdDropdownItemOptionValueType \| Array ` `type TdDropdownItemOptionValueType = string \| number;`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/dropdown-menu/type.ts) | N -default-value | String / Number / Array | undefined | 选中值。非受控属性。TS 类型:`TdDropdownItemOptionValueType \| Array ` `type TdDropdownItemOptionValueType = string \| number;`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/dropdown-menu/type.ts) | N - -### DropdownItem Events +### DropdownMenu Events 名称 | 参数 | 描述 -- | -- | -- -change | `(value: TdDropdownItemOptionValueType \| Array)` | 值改变时触发 -confirm | `(value: TdDropdownItemOptionValueType \| Array)` | 点击确认时触发 +close | \- | 菜单关闭时触发 +open | \- | 菜单展开时触发 +### DropdownMenu External Classes + +类名 | 描述 +-- | -- +t-class | 根节点样式类 +t-class-icon | 图标样式类 +t-class-item | 选项样式类 +t-class-label | 标签样式类 diff --git a/packages/products/tdesign-miniprogram/src/empty/README.en-US.md b/packages/products/tdesign-miniprogram/src/empty/README.en-US.md index 393298303..af0cd1fd8 100644 --- a/packages/products/tdesign-miniprogram/src/empty/README.en-US.md +++ b/packages/products/tdesign-miniprogram/src/empty/README.en-US.md @@ -1,13 +1,21 @@ :: BASE_DOC :: ## API + ### Empty Props name | type | default | description | required -- | -- | -- | -- | -- -action | Slot | - | \- | N -description | String / Slot | - | \- | N -external-classes | Array | - | `['t-class', 't-class-description', 't-class-image', 't-class-actions']` | N +style | Object | - | CSS(Cascading Style Sheets) | N +custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N +action | Slot | - | action block。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +description | String / Slot | - | empty component description。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N icon | String / Object | - | \- | N -image | String / Slot | - | \- | N -style | String | - | \- | N +image | String / Slot | - | image url, or Image component props, or custom any node you need.。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts)。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/empty/type.ts) | N +### Empty External Classes + +className | Description +-- | -- +t-class | \- +t-class-description | \- +t-class-image | \- diff --git a/packages/products/tdesign-miniprogram/src/empty/README.md b/packages/products/tdesign-miniprogram/src/empty/README.md index b0c185665..69da656b4 100644 --- a/packages/products/tdesign-miniprogram/src/empty/README.md +++ b/packages/products/tdesign-miniprogram/src/empty/README.md @@ -1,13 +1,21 @@ :: BASE_DOC :: ## API + ### Empty Props -名称 | 类型 | 默认值 | 说明 | 必传 +名称 | 类型 | 默认值 | 描述 | 必传 -- | -- | -- | -- | -- -action | Slot | - | 操作按钮 | N -description | String / Slot | - | 描述文字 | N -external-classes | Array | - | 组件类名,分别用于设置 组件外层类名、文本描述类名、图片类名、操作按钮类名。`['t-class', 't-class-description', 't-class-image', 't-class-actions']` | N -icon | String / Object | - | 图标名称。值为字符串表示图标名称,值为 Object 类型,表示透传至 icon | N -image | String / Slot | - | 图片地址 | N -style | String | - | 自定义组件样式 | N +style | Object | - | 样式 | N +custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N +action | Slot | - | 操作按钮。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +description | String / Slot | - | 描述文字。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +icon | String / Object | - | 图标名称。值为字符串表示图标名称,值为 `Object` 类型,表示透传至 `icon`。 | N +image | String / Slot | - | 图片地址。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts)。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/empty/type.ts) | N +### Empty External Classes + +类名 | 描述 +-- | -- +t-class | 根节点样式类 +t-class-description | 描述样式类 +t-class-image | 图片样式类 diff --git a/packages/products/tdesign-miniprogram/src/fab/README.en-US.md b/packages/products/tdesign-miniprogram/src/fab/README.en-US.md index d2b3aa716..db28e4e2a 100644 --- a/packages/products/tdesign-miniprogram/src/fab/README.en-US.md +++ b/packages/products/tdesign-miniprogram/src/fab/README.en-US.md @@ -1,17 +1,20 @@ :: BASE_DOC :: ## API + ### Fab Props name | type | default | description | required -- | -- | -- | -- | -- +style | Object | - | CSS(Cascading Style Sheets) | N +custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N button-props | Object | - | \- | N +draggable | String / Boolean | false | \- | N icon | String | - | \- | N -style | String | right: 16px; bottom: 32px; | \- | N text | String | - | \- | N ### Fab Events name | params | description -- | -- | -- -click | `(detail: {e: MouseEvent})` | \- +click | `({e: Event})` | \- diff --git a/packages/products/tdesign-miniprogram/src/fab/README.md b/packages/products/tdesign-miniprogram/src/fab/README.md index 745e26697..64ce3d58e 100644 --- a/packages/products/tdesign-miniprogram/src/fab/README.md +++ b/packages/products/tdesign-miniprogram/src/fab/README.md @@ -1,17 +1,20 @@ :: BASE_DOC :: ## API + ### Fab Props -名称 | 类型 | 默认值 | 说明 | 必传 +名称 | 类型 | 默认值 | 描述 | 必传 -- | -- | -- | -- | -- +style | Object | - | 样式 | N +custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N button-props | Object | - | 透传至 Button 组件 | N +draggable | String / Boolean | false | `true` / `'all'`可拖动
`'vertical'`可垂直拖动
`'horizontal'`可水平拖动
`false`禁止拖动 | N icon | String | - | 图标 | N -style | String | right: 16px; bottom: 32px; | 悬浮按钮的样式,常用于调整位置 | N text | String | - | 文本内容 | N ### Fab Events 名称 | 参数 | 描述 -- | -- | -- -click | `(detail: {e: MouseEvent})` | 悬浮按钮点击事件 +click | `({e: Event})` | 悬浮按钮点击事件 diff --git a/packages/products/tdesign-miniprogram/src/footer/README.en-US.md b/packages/products/tdesign-miniprogram/src/footer/README.en-US.md index fa32fc3cd..73122c008 100644 --- a/packages/products/tdesign-miniprogram/src/footer/README.en-US.md +++ b/packages/products/tdesign-miniprogram/src/footer/README.en-US.md @@ -1,12 +1,16 @@ :: BASE_DOC :: ## API + ### Footer Props name | type | default | description | required -- | -- | -- | -- | -- +style | Object | - | CSS(Cascading Style Sheets) | N +custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N copyright | String | '' | \- | N +links | Array | [] | `1.0.0`。Typescript:`Array` `interface LinkObj { name: string; url?: string; openType?: 'navigate' \| 'redirect' \| 'relaunch' \| 'switchTab' \| 'navigateBack' }`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/footer/type.ts) | N logo | Object | - | Typescript:`FooterLogo` `interface FooterLogo { icon: string; title?: string; titleUrl?: string }`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/footer/type.ts) | N -style | String | - | \- | N +text | String | '' | `1.0.0` | N text-link-list | Array | [] | Typescript:`Array` `interface LinkObj { name: string; url?: string; openType?: 'navigate' \| 'redirect' \| 'relaunch' \| 'switchTab' \| 'navigateBack' }`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/footer/type.ts) | N -theme | String | 'text' | options:text/logo | N +theme | String | 'text' | options: text/logo | N diff --git a/packages/products/tdesign-miniprogram/src/footer/README.md b/packages/products/tdesign-miniprogram/src/footer/README.md index f6596ae60..4caa53980 100644 --- a/packages/products/tdesign-miniprogram/src/footer/README.md +++ b/packages/products/tdesign-miniprogram/src/footer/README.md @@ -1,12 +1,16 @@ :: BASE_DOC :: ## API + ### Footer Props -名称 | 类型 | 默认值 | 说明 | 必传 +名称 | 类型 | 默认值 | 描述 | 必传 -- | -- | -- | -- | -- -copyright | String | '' | 版权信息,type 为`text`生效 | N -logo | Object | - | 图标配置,type 为`logo`生效。`logo.icon` 表示图标链接地址,`logo.title` 表示标题文本,`logo.url` 表示链接跳转地址。TS 类型:`FooterLogo` `interface FooterLogo { icon: string; title?: string; titleUrl?: string }`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/footer/type.ts) | N -style | String | - | 自定义组件样式 | N -text-link-list | Array | [] | 链接列表,type 为`text`生效。name 表示链接名称, url 表示链接 page 路径,目前只支持小程序内部跳转,openType 表示跳转方式。TS 类型:`Array` `interface LinkObj { name: string; url?: string; openType?: 'navigate' \| 'redirect' \| 'relaunch' \| 'switchTab' \| 'navigateBack' }`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/footer/type.ts) | N -theme | String | 'text' | 页脚展示类型。可选项:text/logo | N +style | Object | - | 样式 | N +custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N +copyright | String | '' | 已废弃。版权信息,type 为`text`生效 | N +links | Array | [] | `1.0.0`。链接列表。name 表示链接名称, url 表示链接 page 路径,目前只支持小程序内部跳转,openType 表示跳转方式。TS 类型:`Array` `interface LinkObj { name: string; url?: string; openType?: 'navigate' \| 'redirect' \| 'relaunch' \| 'switchTab' \| 'navigateBack' }`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/footer/type.ts) | N +logo | Object | - | 图标配置。`logo.icon` 表示图标链接地址,`logo.title` 表示标题文本,`logo.url` 表示链接跳转地址。TS 类型:`FooterLogo` `interface FooterLogo { icon: string; title?: string; titleUrl?: string }`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/footer/type.ts) | N +text | String | '' | `1.0.0`。版权信息 | N +text-link-list | Array | [] | 已废弃。链接列表,type 为`text`生效。name 表示链接名称, url 表示链接 page 路径,目前只支持小程序内部跳转,openType 表示跳转方式。TS 类型:`Array` `interface LinkObj { name: string; url?: string; openType?: 'navigate' \| 'redirect' \| 'relaunch' \| 'switchTab' \| 'navigateBack' }`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/footer/type.ts) | N +theme | String | 'text' | 已废弃。页脚展示类型。可选项:text/logo | N diff --git a/packages/products/tdesign-miniprogram/src/form/README.en-US.md b/packages/products/tdesign-miniprogram/src/form/README.en-US.md new file mode 100644 index 000000000..3e09da0bb --- /dev/null +++ b/packages/products/tdesign-miniprogram/src/form/README.en-US.md @@ -0,0 +1,104 @@ +:: BASE_DOC :: + +## API + +### Form Props + +name | type | default | description | required +-- | -- | -- | -- | -- +style | Object | - | CSS(Cascading Style Sheets) | N +custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N +colon | Boolean | false | \- | N +disabled | Boolean | undefined | \- | N +error-message | Object | - | Typescript:`FormErrorMessage` | N +form-controlled-components | Array | - | Typescript:`Array` | N +label-align | String | right | options: left/right/top | N +label-width | String / Number | '100px' | \- | N +layout | String | vertical | options: vertical/inline | N +prevent-submit-default | Boolean | true | \- | N +required-mark | Boolean | undefined | \- | N +reset-type | String | empty | options: empty/initial | N +rules | Object | - | Typescript:`FormRules` `type FormRules = { [field in keyof T]?: Array }`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/form/type.ts) | N +scroll-to-first-error | String | - | options: ''/smooth/auto | N +show-error-message | Boolean | true | \- | N +status-icon | Boolean / Slot | undefined | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +submit-with-warning-message | Boolean | false | \- | N + +### Form Events + +name | params | description +-- | -- | -- +reset | `(detail: { e?: FormResetEvent })` | \- +submit | `(context: SubmitContext)` | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/form/type.ts)。
`interface SubmitContext { e?: FormSubmitEvent; validateResult: FormValidateResult; firstError?: string; fields?: any }`

`type FormValidateResult = boolean \| ValidateResultObj`

`type ValidateResultObj = { [key in keyof T]: boolean \| ValidateResultList }`

`type ValidateResultList = Array`

`type AllValidateResult = CustomValidateObj \| ValidateResultType`

`interface ValidateResultType extends FormRule { result: boolean }`

`type ValidateResult = { [key in keyof T]: boolean \| ErrorList }`

`type ErrorList = Array`
+ +### FormInstanceFunctions 组件实例方法 + +name | params | return | description +-- | -- | -- | -- +clear-validate | `(fields?: Array)` | \- | required +reset | `(params?: FormResetParams)` | \- | required。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/form/type.ts)。
`interface FormResetParams { type?: 'initial' \| 'empty'; fields?: Array }`
+ + +### FormItem Props + +name | type | default | description | required +-- | -- | -- | -- | -- +style | Object | - | CSS(Cascading Style Sheets) | N +custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N +for | String | - | \- | N +help | String / Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +label-align | String | - | options: left/right/top | N +label-width | String / Number | - | \- | N +name | String | - | \- | N +required-mark | Boolean | undefined | \- | N +rules | Array | - | Typescript:`Array` | N +show-error-message | Boolean | undefined | \- | N +status | String | - | Typescript:`'error' \| 'warning' \| 'success' \| 'validating'` | N +status-icon | Boolean / Slot | undefined | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +success-border | Boolean | false | \- | N +tips | String / Slot | - | [see more ts definition](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N + +### FormRule + +name | type | default | description | required +-- | -- | -- | -- | -- +style | Object | - | CSS(Cascading Style Sheets) | N +custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N +boolean | Boolean | - | \- | N +date | Boolean / Object | - | Typescript:`boolean \| IsDateOptions` `interface IsDateOptions { format: string; strictMode: boolean; delimiters: string[] }`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/form/type.ts) | N +email | Boolean / Object | - | Typescript:`boolean \| IsEmailOptions` `import { IsEmailOptions } from 'validator/es/lib/isEmail'`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/form/type.ts) | N +enum | Array | - | Typescript:`Array` | N +idcard | Boolean | - | \- | N +len | Number / Boolean | - | \- | N +max | Number / Boolean | - | \- | N +message | String | - | \- | N +min | Number / Boolean | - | \- | N +number | Boolean | - | \- | N +pattern | Object | - | Typescript:`RegExp` | N +required | Boolean | - | \- | N +telnumber | Boolean | - | \- | N +trigger | String | change | Typescript:`ValidateTriggerType` | N +type | String | error | options: error/warning | N +url | Boolean / Object | - | Typescript:`boolean \| IsURLOptions` `import { IsURLOptions } from 'validator/es/lib/isURL'`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/form/type.ts) | N +validator | Function | - | Typescript:`CustomValidator` `type CustomValidator = (val: ValueType) => CustomValidateResolveType \| Promise` `type CustomValidateResolveType = boolean \| CustomValidateObj` `interface CustomValidateObj { result: boolean; message: string; type?: 'error' \| 'warning' \| 'success' }` `type ValueType = any`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/form/type.ts) | N +whitespace | Boolean | - | \- | N + +### FormErrorMessage + +name | type | default | description | required +-- | -- | -- | -- | -- +style | Object | - | CSS(Cascading Style Sheets) | N +custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N +boolean | String | - | \- | N +date | String | - | \- | N +enum | String | - | \- | N +idcard | String | - | \- | N +len | String | - | \- | N +max | String | - | \- | N +min | String | - | \- | N +number | String | - | \- | N +pattern | String | - | \- | N +required | String | - | \- | N +telnumber | String | - | \- | N +url | String | - | \- | N +validator | String | - | \- | N diff --git a/packages/products/tdesign-miniprogram/src/form/README.md b/packages/products/tdesign-miniprogram/src/form/README.md new file mode 100644 index 000000000..39fc6d4c5 --- /dev/null +++ b/packages/products/tdesign-miniprogram/src/form/README.md @@ -0,0 +1,104 @@ +:: BASE_DOC :: + +## API + +### Form Props + +名称 | 类型 | 默认值 | 描述 | 必传 +-- | -- | -- | -- | -- +style | Object | - | 样式 | N +custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N +colon | Boolean | false | 是否在表单标签字段右侧显示冒号 | N +disabled | Boolean | undefined | 是否禁用整个表单 | N +error-message | Object | - | 表单错误信息配置,示例:`{ idcard: '请输入正确的身份证号码', max: '字符长度不能超过 ${max}' }`。TS 类型:`FormErrorMessage` | N +form-controlled-components | Array | - | 允许表单统一控制禁用状态的自定义组件名称列表。默认会有组件库的全部输入类组件:TInput、TInputNumber、TCascader、TSelect、TOption、TSwitch、TCheckbox、TCheckboxGroup、TRadio、TRadioGroup、TTreeSelect、TDatePicker、TTimePicker、TUpload、TTransfer、TSlider。对于自定义组件,组件内部需要包含可以控制表单禁用状态的变量 `formDisabled`。示例:`['CustomUpload', 'CustomInput']`。TS 类型:`Array` | N +label-align | String | right | 表单字段标签对齐方式:左对齐、右对齐、顶部对齐。可选项:left/right/top | N +label-width | String / Number | '100px' | 可以整体设置label标签宽度,默认为100px | N +layout | String | vertical | 表单布局,有两种方式:纵向布局 和 行内布局。可选项:vertical/inline | N +prevent-submit-default | Boolean | true | 是否阻止表单提交默认事件(表单提交默认事件会刷新页面),设置为 `true` 可以避免刷新 | N +required-mark | Boolean | undefined | 是否显示必填符号(*),默认显示 | N +reset-type | String | empty | 重置表单的方式,值为 empty 表示重置表单为空,值为 initial 表示重置表单数据为初始值。可选项:empty/initial | N +rules | Object | - | 表单字段校验规则。TS 类型:`FormRules` `type FormRules = { [field in keyof T]?: Array }`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/form/type.ts) | N +scroll-to-first-error | String | - | 表单校验不通过时,是否自动滚动到第一个校验不通过的字段,平滑滚动或是瞬间直达。值为空则表示不滚动。可选项:''/smooth/auto | N +show-error-message | Boolean | true | 校验不通过时,是否显示错误提示信息,统一控制全部表单项。如果希望控制单个表单项,请给 FormItem 设置该属性 | N +status-icon | Boolean / Slot | undefined | 校验状态图标,值为 `true` 显示默认图标,默认图标有 成功、失败、警告 等,不同的状态图标不同。`statusIcon` 值为 `false`,不显示图标。`statusIcon` 值类型为渲染函数,则可以自定义右侧状态图标。[通用类型定义](https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts) | N +submit-with-warning-message | Boolean | false | 【讨论中】当校验结果只有告警信息时,是否触发 `submit` 提交事件 | N + +### Form Events + +名称 | 参数 | 描述 +-- | -- | -- +reset | `(detail: { e?: FormResetEvent })` | 表单重置时触发 +submit | `(context: SubmitContext)` | 表单提交时触发。其中 `context.validateResult` 表示校验结果,`context.firstError` 表示校验不通过的第一个规则提醒。`context.validateResult` 值为 `true` 表示校验通过;如果校验不通过,`context.validateResult` 值为校验结果列表。
【注意】⚠️ 默认情况,输入框按下 Enter 键会自动触发提交事件,如果希望禁用这个默认行为,可以给输入框添加 enter 事件,并在事件中设置 `e.preventDefault()`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/form/type.ts)。
`interface SubmitContext { e?: FormSubmitEvent; validateResult: FormValidateResult; firstError?: string; fields?: any }`

`type FormValidateResult = boolean \| ValidateResultObj`

`type ValidateResultObj = { [key in keyof T]: boolean \| ValidateResultList }`

`type ValidateResultList = Array`

`type AllValidateResult = CustomValidateObj \| ValidateResultType`

`interface ValidateResultType extends FormRule { result: boolean }`

`type ValidateResult = { [key in keyof T]: boolean \| ErrorList }`

`type ErrorList = Array`
+ +### FormInstanceFunctions 组件实例方法 + +名称 | 参数 | 返回值 | 描述 +-- | -- | -- | -- +clear-validate | `(fields?: Array)` | \- | 必需。清空校验结果。可使用 fields 指定清除部分字段的校验结果,fields 值为空则表示清除所有字段校验结果。清除邮箱校验结果示例:`clearValidate(['email'])` +reset | `(params?: FormResetParams)` | \- | 必需。重置表单,表单里面没有重置按钮`