diff --git a/db/TDesign.db b/db/TDesign.db index 4894d0295..432830c9f 100644 Binary files a/db/TDesign.db and b/db/TDesign.db differ diff --git a/packages/products/tdesign-mobile-vue/global.d.ts b/packages/products/tdesign-mobile-vue/global.d.ts index d9db28e50..89345d52c 100644 --- a/packages/products/tdesign-mobile-vue/global.d.ts +++ b/packages/products/tdesign-mobile-vue/global.d.ts @@ -17,16 +17,13 @@ declare module 'vue' { TCell: typeof import('tdesign-mobile-vue')['Cell']; TCellGroup: typeof import('tdesign-mobile-vue')['CellGroup']; TCheckTag: typeof import('tdesign-mobile-vue')['CheckTag']; - TCheckTagGroup: typeof import('tdesign-mobile-vue')['CheckTagGroup']; TCheckbox: typeof import('tdesign-mobile-vue')['Checkbox']; TCheckboxGroup: typeof import('tdesign-mobile-vue')['CheckboxGroup']; TCol: typeof import('tdesign-mobile-vue')['Col']; TCollapse: typeof import('tdesign-mobile-vue')['Collapse']; TCollapsePanel: typeof import('tdesign-mobile-vue')['CollapsePanel']; TColorPicker: typeof import('tdesign-mobile-vue')['ColorPicker']; - TComment: typeof import('tdesign-mobile-vue')['Comment']; TCountDown: typeof import('tdesign-mobile-vue')['CountDown']; - TDateRangePicker: typeof import('tdesign-mobile-vue')['DateRangePicker']; TDateTimePicker: typeof import('tdesign-mobile-vue')['DateTimePicker']; TDialog: typeof import('tdesign-mobile-vue')['Dialog']; TDivider: typeof import('tdesign-mobile-vue')['Divider']; @@ -56,13 +53,11 @@ declare module 'vue' { TNavbar: typeof import('tdesign-mobile-vue')['Navbar']; TNoticeBar: typeof import('tdesign-mobile-vue')['NoticeBar']; TOverlay: typeof import('tdesign-mobile-vue')['Overlay']; - TPagination: typeof import('tdesign-mobile-vue')['Pagination']; TPicker: typeof import('tdesign-mobile-vue')['Picker']; TPickerItem: typeof import('tdesign-mobile-vue')['PickerItem']; TPopconfirm: typeof import('tdesign-mobile-vue')['Popconfirm']; TPopover: typeof import('tdesign-mobile-vue')['Popover']; TPopup: typeof import('tdesign-mobile-vue')['Popup']; - TPrimaryTable: typeof import('tdesign-mobile-vue')['PrimaryTable']; TProgress: typeof import('tdesign-mobile-vue')['Progress']; TPullDownRefresh: typeof import('tdesign-mobile-vue')['PullDownRefresh']; TRadio: typeof import('tdesign-mobile-vue')['Radio']; @@ -73,7 +68,6 @@ declare module 'vue' { TResult: typeof import('tdesign-mobile-vue')['Result']; TRow: typeof import('tdesign-mobile-vue')['Row']; TSearch: typeof import('tdesign-mobile-vue')['Search']; - TSegmentedControl: typeof import('tdesign-mobile-vue')['SegmentedControl']; TSelect: typeof import('tdesign-mobile-vue')['Select']; TSideBar: typeof import('tdesign-mobile-vue')['SideBar']; TSideBarItem: typeof import('tdesign-mobile-vue')['SideBarItem']; @@ -85,7 +79,6 @@ declare module 'vue' { TStepper: typeof import('tdesign-mobile-vue')['Stepper']; TSteps: typeof import('tdesign-mobile-vue')['Steps']; TSticky: typeof import('tdesign-mobile-vue')['Sticky']; - TStickyTool: typeof import('tdesign-mobile-vue')['StickyTool']; TSwipeCell: typeof import('tdesign-mobile-vue')['SwipeCell']; TSwiper: typeof import('tdesign-mobile-vue')['Swiper']; TSwiperNav: typeof import('tdesign-mobile-vue')['SwiperNav']; @@ -96,14 +89,9 @@ declare module 'vue' { TTabs: typeof import('tdesign-mobile-vue')['Tabs']; TTag: typeof import('tdesign-mobile-vue')['Tag']; TTextarea: typeof import('tdesign-mobile-vue')['Textarea']; - TTimeRangePicker: typeof import('tdesign-mobile-vue')['TimeRangePicker']; - TTimeline: typeof import('tdesign-mobile-vue')['Timeline']; - TTimelineItem: typeof import('tdesign-mobile-vue')['TimelineItem']; TToast: typeof import('tdesign-mobile-vue')['Toast']; - TTooltip: typeof import('tdesign-mobile-vue')['Tooltip']; TTreeSelect: typeof import('tdesign-mobile-vue')['TreeSelect']; TUpload: typeof import('tdesign-mobile-vue')['Upload']; - TWatermark: typeof import('tdesign-mobile-vue')['Watermark']; } } diff --git a/packages/products/tdesign-mobile-vue/helper/attributes.json b/packages/products/tdesign-mobile-vue/helper/attributes.json index cfcd8613e..789eee296 100644 --- a/packages/products/tdesign-mobile-vue/helper/attributes.json +++ b/packages/products/tdesign-mobile-vue/helper/attributes.json @@ -81,11 +81,11 @@ "circle", "round" ], - "description": "shape\n\n形状\n\ndefault: circle\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/avatar?tab=api#avatar-props)" + "description": "shape\n\n形状。优先级高于 AvatarGroup.shape 。Avatar 单独存在时,默认值为 circle。如果父组件 AvatarGroup 存在,默认值便由 AvatarGroup.shape 决定\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/avatar?tab=api#avatar-props)" }, "t-avatar/size": { "type": "String", - "description": "size\n\n尺寸,示例值:small/medium/large/24px/38px 等。优先级高于 AvatarGroup.size 。Avatar 单独存在时,默认值为 medium。如果父组件存在 AvatarGroup,默认值便由 AvatarGroup.size 决定\n\ndefault: medium\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/avatar?tab=api#avatar-props)" + "description": "size\n\n尺寸,示例值:small/medium/large/24px/38px 等。优先级高于 AvatarGroup.size 。Avatar 单独存在时,默认值为 medium。如果父组件 AvatarGroup 存在,默认值便由 AvatarGroup.size 决定\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/avatar?tab=api#avatar-props)" }, "t-avatar/error": { "type": "event", @@ -107,17 +107,33 @@ "type": "Number", "description": "能够同时显示的最多头像数量\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/avatar-group?tab=api#avatargroup-props)" }, + "t-avatar-group/shape": { + "type": "String", + "options": [ + "circle", + "round" + ], + "description": "shape\n\n形状。优先级低于 Avatar.shape\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/avatar-group?tab=api#avatargroup-props)" + }, "t-avatar-group/size": { "type": "String", - "description": "size\n\n尺寸,示例值:small/medium/large/24px/38px 等。优先级低于 Avatar.size\n\ndefault: medium\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/avatar-group?tab=api#avatargroup-props)" + "description": "size\n\n尺寸,示例值:small/medium/large/24px/38px 等。优先级低于 Avatar.size\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/avatar-group?tab=api#avatargroup-props)" + }, + "t-avatar-group/collapsed-item-click": { + "type": "event", + "description": "点击头像折叠元素触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/avatar-group?tab=api#avatargroup-events)" + }, + "t-back-top/container": { + "type": "Function", + "description": "滚动的容器\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/back-top?tab=api#backtop-props)" }, "t-back-top/fixed": { "type": "Boolean", "description": "是否绝对定位固定到屏幕右下方\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/back-top?tab=api#backtop-props)" }, "t-back-top/icon": { - "type": "TNode", - "description": "图标\n\ndefault: 'backtop'\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/back-top?tab=api#backtop-props)" + "type": "Boolean|TNode", + "description": "图标\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/back-top?tab=api#backtop-props)" }, "t-back-top/target": { "type": "Function", @@ -137,6 +153,10 @@ ], "description": "预设的样式类型\n\ndefault: round\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/back-top?tab=api#backtop-props)" }, + "t-back-top/visibility-height": { + "type": "Number", + "description": "滚动高度达到此参数值才出现\n\ndefault: 200\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/back-top?tab=api#backtop-props)" + }, "t-back-top/to-top": { "type": "event", "description": "点击触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/back-top?tab=api#backtop-events)" @@ -229,11 +249,11 @@ }, "t-base-table/fixed-rows": { "type": "Array", - "description": "固定行(冻结行),示例:[M, N],表示冻结表头 M 行和表尾 N 行。M 和 N 值为 0 时,表示不冻结行\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/base-table?tab=api#basetable-props)" + "description": "【开发中】固定行(冻结行),示例:[M, N],表示冻结表头 M 行和表尾 N 行。M 和 N 值为 0 时,表示不冻结行\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/base-table?tab=api#basetable-props)" }, "t-table/fixed-rows": { "type": "Array", - "description": "固定行(冻结行),示例:[M, N],表示冻结表头 M 行和表尾 N 行。M 和 N 值为 0 时,表示不冻结行\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/base-table?tab=api#basetable-props)" + "description": "【开发中】固定行(冻结行),示例:[M, N],表示冻结表头 M 行和表尾 N 行。M 和 N 值为 0 时,表示不冻结行\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/base-table?tab=api#basetable-props)" }, "t-base-table/height": { "type": "String|Number", @@ -251,6 +271,14 @@ "type": "Boolean|TNode", "description": "loading state table\n\n加载中状态。值为 `true` 会显示默认加载中样式,可以通过 Function 和 插槽 自定义加载状态呈现内容和样式。值为 `false` 则会取消加载状态\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/base-table?tab=api#basetable-props)" }, + "t-base-table/loading-props": { + "type": "Object", + "description": "透传加载组件全部属性\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/base-table?tab=api#basetable-props)" + }, + "t-table/loading-props": { + "type": "Object", + "description": "透传加载组件全部属性\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/base-table?tab=api#basetable-props)" + }, "t-base-table/max-height": { "type": "String|Number", "description": "table max height\n\n表格最大高度,超出后会出现滚动条。示例:100, '30%', '300'。值为数字类型,会自动加上单位 px\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/base-table?tab=api#basetable-props)" @@ -297,7 +325,7 @@ "auto", "fixed" ], - "description": "table-layout css properties, [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout). set value to be `fixed` on `resizable=true` please\n\n表格布局方式,`` 元素原生属性。[MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout)。注意,在列宽调整下场景只能使用 `fixed` 模式\n\ndefault: fixed\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/base-table?tab=api#basetable-props)" + "description": "table-layout css properties, [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout). set value to be `fixed` on `resizable=true` please\n\n表格布局方式\n\ndefault: fixed\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/base-table?tab=api#basetable-props)" }, "t-table/table-layout": { "type": "String", @@ -305,7 +333,7 @@ "auto", "fixed" ], - "description": "table-layout css properties, [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout). set value to be `fixed` on `resizable=true` please\n\n表格布局方式,`
` 元素原生属性。[MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout)。注意,在列宽调整下场景只能使用 `fixed` 模式\n\ndefault: fixed\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/base-table?tab=api#basetable-props)" + "description": "table-layout css properties, [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout). set value to be `fixed` on `resizable=true` please\n\n表格布局方式\n\ndefault: fixed\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/base-table?tab=api#basetable-props)" }, "t-base-table/vertical-align": { "type": "String", @@ -359,7 +387,7 @@ }, "t-button/disabled": { "type": "Boolean", - "description": "disable the button, make it can not be clicked\n\n禁用状态\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/button?tab=api#button-props)" + "description": "disable the button, make it can not be clicked\n\n禁用状态。优先级:Button.disabled > Form.disabled\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/button?tab=api#button-props)" }, "t-button/ghost": { "type": "Boolean", @@ -375,7 +403,7 @@ }, "t-button/loading-props": { "type": "Object", - "description": "透传加载组件全部属性\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/button?tab=api#button-props)" + "description": "透传 Loading 组件全部属性\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/button?tab=api#button-props)" }, "t-button/shape": { "type": "String", @@ -425,21 +453,22 @@ "options": [ "base", "outline", + "dashed", "text" ], - "description": "button variant\n\n按钮形式,基础、线框、文字\n\ndefault: base\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/button?tab=api#button-props)" + "description": "variant of button\n\n按钮形式,基础、线框、虚线、文字\n\ndefault: base\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/button?tab=api#button-props)" }, "t-button/click": { "type": "event", "description": "trigger on click\n\n点击时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/button?tab=api#button-events)" }, - "t-calendar/auto-close": { - "type": "Boolean", - "description": "自动关闭;在点击关闭按钮、确认按钮、遮罩层时自动关闭,不需要手动设置 visible\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/calendar?tab=api#calendar-props)" - }, "t-calendar/confirm-btn": { "type": "String|Object|TNode", - "description": "确认按钮。值为 null 则不显示确认按钮。值类型为字符串,则表示自定义按钮文本,值类型为 Object 则表示透传 Button 组件属性。\n\ndefault: ''\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/calendar?tab=api#calendar-props)" + "description": "确认按钮。值为 null 则不显示确认按钮。值类型为字符串,则表示自定义按钮文本,值类型为 Object 则表示透传 Button 组件属性\n\ndefault: ''\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/calendar?tab=api#calendar-props)" + }, + "t-calendar/default-visible": { + "type": "Boolean", + "description": "是否显示日历;`usePopup` 为 true 时有效。非受控属性\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/calendar?tab=api#calendar-props)" }, "t-calendar/first-day-of-week": { "type": "Number", @@ -457,6 +486,15 @@ "type": "Number|Date", "description": "最小可选的日期,不传则默认今天\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/calendar?tab=api#calendar-props)" }, + "t-calendar/switch-mode": { + "type": "String", + "options": [ + "none", + "month", + "year-month" + ], + "description": "【开发中】切换模式。 `none` 表示水平方向平铺展示所有月份; `month` 表示支持按月切换, `year-month` 表示既按年切换,也支持按月切换\n\ndefault: none\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/calendar?tab=api#calendar-props)" + }, "t-calendar/title": { "type": "String|TNode", "description": "标题,不传默认为“请选择日期”\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/calendar?tab=api#calendar-props)" @@ -480,7 +518,7 @@ }, "t-calendar/visible": { "type": "Boolean", - "description": "是否显示日历;`usePopup` 为 true 时有效\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/calendar?tab=api#calendar-props)" + "description": "是否显示日历;`usePopup` 为 true 时有效。支持语法糖 `v-model:visible`\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/calendar?tab=api#calendar-props)" }, "t-calendar/change": { "type": "event", @@ -498,6 +536,10 @@ "type": "event", "description": "点击日期时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/calendar?tab=api#calendar-events)" }, + "t-cascader/check-strictly": { + "type": "Boolean", + "description": "父子节点选中状态不再关联,可各自选中或取消\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/cascader?tab=api#cascader-props)" + }, "t-cascader/close-btn": { "type": "Boolean|TNode", "description": "关闭按钮\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/cascader?tab=api#cascader-props)" @@ -506,18 +548,14 @@ "type": "Object", "description": "用来定义 value / label 在 `options` 中对应的字段别名\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/cascader?tab=api#cascader-props)" }, - "t-cascader/lazy": { - "type": "Boolean", - "description": "是否异步加载\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/cascader?tab=api#cascader-props)" - }, - "t-cascader/load-completed": { - "type": "Boolean", - "description": "是否完成异步加载\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/cascader?tab=api#cascader-props)" - }, "t-cascader/options": { "type": "Array", "description": "可选项数据源\n\ndefault: []\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/cascader?tab=api#cascader-props)" }, + "t-cascader/placeholder": { + "type": "String|TNode", + "description": "未选中时的提示文案\n\ndefault: '选择选项'\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/cascader?tab=api#cascader-props)" + }, "t-cascader/sub-titles": { "type": "Array", "description": "每级展示的次标题\n\ndefault: []\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/cascader?tab=api#cascader-props)" @@ -609,7 +647,7 @@ }, "t-cell-group/bordered": { "type": "Boolean", - "description": "是否显示组边框\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/cell-group?tab=api#cellgroup-props)" + "description": "是否显示组边框\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/cell-group?tab=api#cellgroup-props)" }, "t-cell-group/theme": { "type": "String", @@ -627,10 +665,6 @@ "type": "Boolean", "description": "标签选中的状态,默认风格(theme=default)才有选中态\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/check-tag?tab=api#checktag-props)" }, - "t-check-tag/checked-props": { - "type": "Object", - "description": "used to set checked tag props\n\n透传标签选中态属性\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/check-tag?tab=api#checktag-props)" - }, "t-check-tag/closable": { "type": "Boolean", "description": "标签是否可关闭\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/check-tag?tab=api#checktag-props)" @@ -669,10 +703,6 @@ ], "description": "标签尺寸\n\ndefault: medium\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/check-tag?tab=api#checktag-props)" }, - "t-check-tag/unchecked-props": { - "type": "Object", - "description": "used to set unchecked tag props\n\n透传标签未选态属性\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/check-tag?tab=api#checktag-props)" - }, "t-check-tag/variant": { "type": "String", "options": [ @@ -691,22 +721,14 @@ "type": "event", "description": "点击标签时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/check-tag?tab=api#checktag-events)" }, - "t-check-tag-group/checked-props": { - "type": "Object", - "description": "used to set checked tag props\n\n透传标签选中态属性\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/check-tag-group?tab=api#checktaggroup-props)" - }, - "t-check-tag-group/unchecked-props": { - "type": "Object", - "description": "used to set unchecked tag props\n\n透传标签未选态属性\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/check-tag-group?tab=api#checktaggroup-props)" + "t-check-tag/close": { + "type": "event", + "description": "如果关闭按钮存在,点击关闭按钮时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/check-tag?tab=api#checktag-events)" }, "t-checkbox/block": { "type": "Boolean", "description": "是否为块级元素\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/checkbox?tab=api#checkbox-props)" }, - "t-checkbox/borderless": { - "type": "Boolean", - "description": "是否开启无边框模式\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/checkbox?tab=api#checkbox-props)" - }, "t-checkbox/check-all": { "type": "Boolean", "description": "用于标识是否为「全选选项」。单独使用无效,需在 CheckboxGroup 中使用\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/checkbox?tab=api#checkbox-props)" @@ -733,7 +755,7 @@ }, "t-checkbox/icon": { "type": "String|Boolean|Array", - "description": "自定义选中图标和非选中图标。使用 Array 时表示:[选中态图标,非选中态图标]。使用 String 时,值为 circle 表示填充圆形图标、值为 line 表示描边型图标、值为 rectangle 表示填充矩形图标。\n\ndefault: 'circle'\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/checkbox?tab=api#checkbox-props)" + "description": "自定义选中图标和非选中图标。使用 Array 时表示:[选中态图标,非选中态图标]。使用 String 时,值为 circle 表示填充圆形图标、值为 line 表示描边型图标、值为 rectangle 表示填充矩形图标\n\ndefault: 'circle'\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/checkbox?tab=api#checkbox-props)" }, "t-checkbox/indeterminate": { "type": "Boolean", @@ -765,11 +787,7 @@ }, "t-checkbox/readonly": { "type": "Boolean", - "description": "只读状态\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/checkbox?tab=api#checkbox-props)" - }, - "t-checkbox/title": { - "type": "String", - "description": "html attribute\n\nHTML 原生属性\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/checkbox?tab=api#checkbox-props)" + "description": "只读状态\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/checkbox?tab=api#checkbox-props)" }, "t-checkbox/value": { "type": "String|Number|Boolean", @@ -779,13 +797,13 @@ "type": "event", "description": "值变化时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/checkbox?tab=api#checkbox-events)" }, - "t-checkbox-group/borderless": { - "type": "Boolean", - "description": "是否开启无边框模式\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/checkbox-group?tab=api#checkboxgroup-props)" - }, "t-checkbox-group/disabled": { "type": "Boolean", - "description": "是否禁用组件,默认为 false。优先级:CheckboxGroup.disabled < Checkbox.disabled\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/checkbox-group?tab=api#checkboxgroup-props)" + "description": "是否禁用组件。优先级:Form.disabled < CheckboxGroup.disabled < Checkbox.disabled\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/checkbox-group?tab=api#checkboxgroup-props)" + }, + "t-checkbox-group/keys": { + "type": "Object", + "description": "用来定义 value / label 在 `options` 中对应的字段别名\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/checkbox-group?tab=api#checkboxgroup-props)" }, "t-checkbox-group/max": { "type": "Number", @@ -799,6 +817,10 @@ "type": "Array", "description": "以配置形式设置子元素。示例1:`['北京', '上海']` ,示例2: `[{ label: '全选', checkAll: true }, { label: '上海', value: 'shanghai' }]`。checkAll 值为 true 表示当前选项为「全选选项」\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/checkbox-group?tab=api#checkboxgroup-props)" }, + "t-checkbox-group/readonly": { + "type": "Boolean", + "description": "只读状态\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/checkbox-group?tab=api#checkboxgroup-props)" + }, "t-checkbox-group/value": { "type": "Array", "description": "选中值\n\ndefault: []\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/checkbox-group?tab=api#checkboxgroup-props)" @@ -872,7 +894,7 @@ "description": "面板头内容\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/collapse-panel?tab=api#collapsepanel-props)" }, "t-collapse-panel/header-left-icon": { - "type": "String|TNode", + "type": "TNode", "description": "面板头左侧图标\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/collapse-panel?tab=api#collapsepanel-props)" }, "t-collapse-panel/header-right-content": { @@ -891,37 +913,37 @@ "type": "String|Number", "description": "当前面板唯一标识,如果值为空则取当前面下标兜底作为唯一标识\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/collapse-panel?tab=api#collapsepanel-props)" }, + "t-color-picker/auto-close": { + "type": "Boolean", + "description": "自动关闭。在点击遮罩层时自动关闭,不需要手动设置 visible\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/color-picker?tab=api#colorpicker-props)" + }, "t-color-picker/clearable": { "type": "Boolean", "description": "是否可清空\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/color-picker?tab=api#colorpicker-props)" }, - "t-comment/actions": { - "type": "Array", - "description": "操作\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/comment?tab=api#comment-props)" - }, - "t-comment/author": { - "type": "String|TNode", - "description": "作者\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/comment?tab=api#comment-props)" + "t-color-picker/footer": { + "type": "TNode", + "description": "底部插槽,仅在 `usePopup` 为 `true` 时有效\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/color-picker?tab=api#colorpicker-props)" }, - "t-comment/avatar": { - "type": "String|Object|TNode", - "description": "头像\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/comment?tab=api#comment-props)" + "t-color-picker/header": { + "type": "TNode", + "description": "顶部插槽,仅在 `usePopup` 为 `true` 时有效\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/color-picker?tab=api#colorpicker-props)" }, - "t-comment/content": { - "type": "String|TNode", - "description": "内容\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/comment?tab=api#comment-props)" + "t-color-picker/popup-props": { + "type": "Object", + "description": "popupProps透传\n\ndefault: {}\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/color-picker?tab=api#colorpicker-props)" }, - "t-comment/datetime": { - "type": "String|TNode", - "description": "时间\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/comment?tab=api#comment-props)" + "t-color-picker/use-popup": { + "type": "Boolean", + "description": "是否使用弹出层包裹颜色选择器\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/color-picker?tab=api#colorpicker-props)" }, - "t-comment/quote": { - "type": "String|TNode", - "description": "引用\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/comment?tab=api#comment-props)" + "t-color-picker/visible": { + "type": "Boolean", + "description": "是否显示颜色选择器。`usePopup` 为 true 时有效\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/color-picker?tab=api#colorpicker-props)" }, - "t-comment/reply": { - "type": "String|TNode", - "description": "回复\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/comment?tab=api#comment-props)" + "t-color-picker/close": { + "type": "event", + "description": "关闭按钮时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/color-picker?tab=api#colorpicker-events)" }, "t-count-down/auto-start": { "type": "Boolean", @@ -946,7 +968,7 @@ "medium", "large" ], - "description": "倒计时尺寸\n\ndefault: 'small'\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/count-down?tab=api#countdown-props)" + "description": "倒计时尺寸\n\ndefault: 'medium'\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/count-down?tab=api#countdown-props)" }, "t-count-down/split-with-unit": { "type": "Boolean", @@ -963,7 +985,7 @@ }, "t-count-down/time": { "type": "Number", - "description": "倒计时时长,单位毫秒\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/count-down?tab=api#countdown-props)" + "description": "倒计时时长,单位毫秒\n\ndefault: 0\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/count-down?tab=api#countdown-props)" }, "t-count-down/change": { "type": "event", @@ -973,19 +995,9 @@ "type": "event", "description": "倒计时结束时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/count-down?tab=api#countdown-events)" }, - "t-date-range-picker/presets-placement": { - "type": "String", - "options": [ - "left", - "top", - "right", - "bottom" - ], - "description": "预设面板展示区域(包含确定按钮)\n\ndefault: bottom\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/date-range-picker?tab=api#daterangepicker-props)" - }, - "t-date-range-picker/time-picker-props": { - "type": "Object", - "description": "透传 TimePicker 组件属性\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/date-range-picker?tab=api#daterangepicker-props)" + "t-date-time-picker/auto-close": { + "type": "Boolean", + "description": "自动关闭;在确认、取消、点击遮罩层自动关闭,不需要手动设置 visible\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/date-time-picker?tab=api#datetimepicker-props)" }, "t-date-time-picker/cancel-btn": { "type": "String", @@ -999,17 +1011,13 @@ "type": "String|Number", "description": "选择器的最大可选时间,默认为当前时间+10年\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/date-time-picker?tab=api#datetimepicker-props)" }, - "t-date-time-picker/footer": { - "type": "Boolean|TNode", - "description": "底部内容\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/date-time-picker?tab=api#datetimepicker-props)" + "t-date-time-picker/filter": { + "type": "Function", + "description": "列选项过滤函数,支持自定义列内容。(type 值可为: year, month, date, hour, minute, second)\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/date-time-picker?tab=api#datetimepicker-props)" }, "t-date-time-picker/format": { "type": "String", - "description": "用于格式化 pick、change、confirm 事件返回的值,[详细文档](https://day.js.org/docs/en/display/format)\n\ndefault: 'YYYY-MM-DD HH:mm:ss'\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/date-time-picker?tab=api#datetimepicker-props)" - }, - "t-date-time-picker/header": { - "type": "Boolean|TNode", - "description": "头部内容。值为 true 显示空白头部,值为 false 不显示任何内容\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/date-time-picker?tab=api#datetimepicker-props)" + "description": "用于pick、change、confirm事件参数格式化[详细文档](https://day.js.org/docs/en/display/format)\n\ndefault: 'YYYY-MM-DD HH:mm:ss'\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/date-time-picker?tab=api#datetimepicker-props)" }, "t-date-time-picker/mode": { "type": "String|Array", @@ -1027,13 +1035,13 @@ "type": "String|Number", "description": "选择器的最小可选时间,默认为当前时间-10年\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/date-time-picker?tab=api#datetimepicker-props)" }, - "t-date-time-picker/steps": { - "type": "Object", - "description": "时间间隔步数,示例:`{ minute: 5 }`\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/date-time-picker?tab=api#datetimepicker-props)" - }, "t-date-time-picker/title": { "type": "String", - "description": "title of picker\n\n标题\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/date-time-picker?tab=api#datetimepicker-props)" + "description": "title of picker\n\n标题\n\ndefault: '选择时间'\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/date-time-picker?tab=api#datetimepicker-props)" + }, + "t-date-time-picker/use-popup": { + "type": "Boolean", + "description": "是否使用弹出层包裹\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/date-time-picker?tab=api#datetimepicker-props)" }, "t-date-time-picker/value": { "type": "String|Number", @@ -1047,10 +1055,6 @@ "type": "event", "description": "value改变时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/date-time-picker?tab=api#datetimepicker-events)" }, - "t-date-time-picker/close": { - "type": "event", - "description": "关闭时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/date-time-picker?tab=api#datetimepicker-events)" - }, "t-date-time-picker/confirm": { "type": "event", "description": "确认按钮点击时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/date-time-picker?tab=api#datetimepicker-events)" @@ -1075,18 +1079,18 @@ "type": "String|Object|TNode", "description": "取消按钮,可自定义。值为 null 则不显示取消按钮。值类型为字符串,则表示自定义按钮文本,值类型为 Object 则表示透传 Button 组件属性。使用 TNode 自定义按钮时,需自行控制取消事件\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/dialog?tab=api#dialog-props)" }, + "t-dialog/close-btn": { + "type": "Boolean", + "description": "多按钮排列方式。可选项:true/false\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/dialog?tab=api#dialog-props)" + }, "t-dialog/close-on-overlay-click": { "type": "Boolean", - "description": "点击蒙层时是否触发关闭事件\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/dialog?tab=api#dialog-props)" + "description": "点击蒙层时是否触发关闭事件\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/dialog?tab=api#dialog-props)" }, "t-dialog/confirm-btn": { "type": "String|Object|TNode", "description": "确认按钮。值为 null 则不显示确认按钮。值类型为字符串,则表示自定义按钮文本,值类型为 Object 则表示透传 Button 组件属性。使用 TNode 自定义按钮时,需自行控制确认事件\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/dialog?tab=api#dialog-props)" }, - "t-dialog/confirm-loading": { - "type": "Boolean", - "description": "confirm button loading status\n\n确认按钮加载状态\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/dialog?tab=api#dialog-props)" - }, "t-dialog/content": { "type": "String|TNode", "description": "内容\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/dialog?tab=api#dialog-props)" @@ -1131,6 +1135,10 @@ "type": "event", "description": "关闭事件,点击 取消按钮 或 点击蒙层 时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/dialog?tab=api#dialog-events)" }, + "t-dialog/closed": { + "type": "event", + "description": "对话框消失动画效果结束后触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/dialog?tab=api#dialog-events)" + }, "t-dialog/confirm": { "type": "event", "description": "如果“确认”按钮存在,则点击“确认”按钮时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/dialog?tab=api#dialog-events)" @@ -1174,7 +1182,7 @@ }, "t-drawer/close-on-overlay-click": { "type": "Boolean", - "description": "点击蒙层时是否触发抽屉关闭事件\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/drawer?tab=api#drawer-props)" + "description": "点击蒙层时是否触发抽屉关闭事件\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/drawer?tab=api#drawer-props)" }, "t-drawer/destroy-on-close": { "type": "Boolean", @@ -1214,7 +1222,7 @@ }, "t-drawer/close": { "type": "event", - "description": "关闭时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/drawer?tab=api#drawer-events)" + "description": "关闭时触发。\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/drawer?tab=api#drawer-events)" }, "t-drawer/item-click": { "type": "event", @@ -1226,7 +1234,11 @@ }, "t-dropdown-item/disabled": { "type": "Boolean", - "description": "是否禁用\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/dropdown-item?tab=api#dropdownitem-props)" + "description": "是否禁用操作项\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/dropdown-item?tab=api#dropdownitem-props)" + }, + "t-dropdown-item/footer": { + "type": "TNode", + "description": "底部\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/dropdown-item?tab=api#dropdownitem-props)" }, "t-dropdown-item/keys": { "type": "Object", @@ -1248,18 +1260,18 @@ "type": "String|Number", "description": "选项分栏(1-3)\n\ndefault: 1\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/dropdown-item?tab=api#dropdownitem-props)" }, - "t-dropdown-item/options-layout": { + "t-dropdown-item/placement": { "type": "String", - "description": "选项排列;不再支持 tree 布局,可与 treeSelect 配合使用\n\ndefault: columns\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/dropdown-item?tab=api#dropdownitem-props)" + "options": [ + "left", + "right" + ], + "description": "复选框和内容相对位置,仅单选菜单栏有效\n\ndefault: left\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/dropdown-item?tab=api#dropdownitem-props)" }, "t-dropdown-item/value": { "type": "String|Number|Array", "description": "选中值\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/dropdown-item?tab=api#dropdownitem-props)" }, - "t-dropdown-item/visible": { - "type": "Boolean", - "description": "是否展示\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/dropdown-item?tab=api#dropdownitem-props)" - }, "t-dropdown-item/change": { "type": "event", "description": "值改变时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/dropdown-item?tab=api#dropdownitem-events)" @@ -1276,6 +1288,14 @@ "type": "Boolean", "description": "是否在点击遮罩层后关闭菜单\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/dropdown-menu?tab=api#dropdownmenu-props)" }, + "t-dropdown-menu/direction": { + "type": "String", + "options": [ + "down", + "up" + ], + "description": "菜单展开方向\n\ndefault: down\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/dropdown-menu?tab=api#dropdownmenu-props)" + }, "t-dropdown-menu/duration": { "type": "String|Number", "description": "动画时长\n\ndefault: 200\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/dropdown-menu?tab=api#dropdownmenu-props)" @@ -1290,15 +1310,19 @@ }, "t-empty/action": { "type": "TNode", - "description": "action block\n\n操作区域\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/empty?tab=api#empty-props)" + "description": "action block\n\n操作按钮\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/empty?tab=api#empty-props)" }, "t-empty/description": { "type": "String|TNode", "description": "empty component description\n\n描述文字\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/empty?tab=api#empty-props)" }, + "t-empty/icon": { + "type": "String|TNode", + "description": "图标\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/empty?tab=api#empty-props)" + }, "t-empty/image": { "type": "String|TNode", - "description": "image url, or Image component props, or custom any node you need.\n\n组件图片,可以完全自定义内容。值类型为字符串时,表示图片地址;值类型为对象时,则表示透传全部属性到图片组件,示例:``\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/empty?tab=api#empty-props)" + "description": "image url, or Image component props, or custom any node you need\n\n图片地址\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/empty?tab=api#empty-props)" }, "t-fab/button-props": { "type": "Object", @@ -1336,6 +1360,14 @@ "type": "Boolean", "description": "是否在表单标签字段右侧显示冒号\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/form?tab=api#form-props)" }, + "t-form/content-align": { + "type": "String", + "options": [ + "left", + "right" + ], + "description": "表单内容对齐方式:左对齐、右对齐\n\ndefault: left\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/form?tab=api#form-props)" + }, "t-form/data": { "type": "Object", "description": "表单数据\n\ndefault: {}\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/form?tab=api#form-props)" @@ -1348,10 +1380,6 @@ "type": "Object", "description": "表单错误信息配置,示例:`{ idcard: '请输入正确的身份证号码', max: '字符长度不能超过 ${max}' }`\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/form?tab=api#form-props)" }, - "t-form/form-controlled-components": { - "type": "Array", - "description": "允许表单统一控制禁用状态的自定义组件名称列表。默认会有组件库的全部输入类组件:TInput、TInputNumber、TCascader、TSelect、TOption、TSwitch、TCheckbox、TCheckboxGroup、TRadio、TRadioGroup、TTreeSelect、TDatePicker、TTimePicker、TUpload、TTransfer、TSlider。对于自定义组件,组件内部需要包含可以控制表单禁用状态的变量 `formDisabled`。示例:`['CustomUpload', 'CustomInput']`\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/form?tab=api#form-props)" - }, "t-form/label-align": { "type": "String", "options": [ @@ -1363,15 +1391,7 @@ }, "t-form/label-width": { "type": "String|Number", - "description": "可以整体设置label标签宽度,默认为100px\n\ndefault: '100px'\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/form?tab=api#form-props)" - }, - "t-form/layout": { - "type": "String", - "options": [ - "vertical", - "inline" - ], - "description": "表单布局,有两种方式:纵向布局 和 行内布局\n\ndefault: vertical\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/form?tab=api#form-props)" + "description": "可以整体设置label标签宽度,默认为81px\n\ndefault: '81px'\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/form?tab=api#form-props)" }, "t-form/prevent-submit-default": { "type": "Boolean", @@ -1406,10 +1426,6 @@ "type": "Boolean", "description": "校验不通过时,是否显示错误提示信息,统一控制全部表单项。如果希望控制单个表单项,请给 FormItem 设置该属性\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/form?tab=api#form-props)" }, - "t-form/status-icon": { - "type": "Boolean|TNode", - "description": "校验状态图标,值为 `true` 显示默认图标,默认图标有 成功、失败、警告 等,不同的状态图标不同。`statusIcon` 值为 `false`,不显示图标。`statusIcon` 值类型为渲染函数,则可以自定义右侧状态图标\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/form?tab=api#form-props)" - }, "t-form/submit-with-warning-message": { "type": "Boolean", "description": "【讨论中】当校验结果只有告警信息时,是否触发 `submit` 提交事件\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/form?tab=api#form-props)" @@ -1426,6 +1442,18 @@ "type": "event", "description": "校验结束后触发,result 值为 true 表示校验通过;如果校验不通过,result 值为校验结果列表\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/form?tab=api#form-events)" }, + "t-form-item/arrow": { + "type": "Boolean", + "description": "是否显示右侧箭头\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/form-item?tab=api#formitem-props)" + }, + "t-form-item/content-align": { + "type": "String", + "options": [ + "left", + "right" + ], + "description": "表单内容对齐方式:左对齐、右对齐\n\ndefault: left\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/form-item?tab=api#formitem-props)" + }, "t-form-item/for": { "type": "String", "description": "label 原生属性\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/form-item?tab=api#formitem-props)" @@ -1452,7 +1480,7 @@ "description": "可以整体设置标签宽度,优先级高于 Form.labelWidth\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/form-item?tab=api#formitem-props)" }, "t-form-item/name": { - "type": "String", + "type": "String|Number", "description": "表单字段名称\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/form-item?tab=api#formitem-props)" }, "t-form-item/required-mark": { @@ -1467,22 +1495,6 @@ "type": "Boolean", "description": "校验不通过时,是否显示错误提示信息,优先级高于 `Form.showErrorMessage`\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/form-item?tab=api#formitem-props)" }, - "t-form-item/status": { - "type": "String", - "description": "校验状态,可在需要完全自主控制校验状态时使用\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/form-item?tab=api#formitem-props)" - }, - "t-form-item/status-icon": { - "type": "Boolean|TNode", - "description": "校验状态图标,值为 `true` 显示默认图标,默认图标有 成功、失败、警告 等,不同的状态图标不同。`statusIcon` 值为 `false`,不显示图标。`statusIcon` 值类型为渲染函数,则可以自定义右侧状态图标。优先级高级 Form 的 statusIcon\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/form-item?tab=api#formitem-props)" - }, - "t-form-item/success-border": { - "type": "Boolean", - "description": "是否显示校验成功的边框,默认不显示\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/form-item?tab=api#formitem-props)" - }, - "t-form-item/tips": { - "type": "String|TNode", - "description": "自定义提示内容,样式跟随 `status` 变动,可在需要完全自主控制校验规则时使用\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/form-item?tab=api#formitem-props)" - }, "t-grid/align": { "type": "String", "options": [ @@ -1585,7 +1597,7 @@ }, "t-guide/steps": { "type": "Array", - "description": "用于定义每个步骤的内容,包括高亮的节点、相对位置和具体的文案内容等。\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/guide?tab=api#guide-props)" + "description": "用于定义每个步骤的内容,包括高亮的节点、相对位置和具体的文案内容等\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/guide?tab=api#guide-props)" }, "t-guide/z-index": { "type": "Number", @@ -1722,8 +1734,8 @@ "description": "图片圆角类型\n\ndefault: square\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/image?tab=api#image-props)" }, "t-image/src": { - "type": "String|Object", - "description": "src attribute of ``. image File can also be loaded\n\n用于显示图片的链接或原始图片文件对象\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/image?tab=api#image-props)" + "type": "String", + "description": "图片链接\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/image?tab=api#image-props)" }, "t-image/srcset": { "type": "Object", @@ -1747,7 +1759,7 @@ }, "t-image-viewer/index": { "type": "Number", - "description": "当前预览图片所在的下标\n\ndefault: 0\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/image-viewer?tab=api#imageviewer-props)" + "description": "当前预览图片所在的下标\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/image-viewer?tab=api#imageviewer-props)" }, "t-image-viewer/max-zoom": { "type": "Number", @@ -1777,10 +1789,6 @@ "type": "Array", "description": "索引字符列表。不传默认 `A-Z`\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/indexes?tab=api#indexes-props)" }, - "t-indexes/list": { - "type": "Array", - "description": "索引列表的列表数据。每个元素包含三个子元素,index(string):索引值,例如1,2,3,...或A,B,C等;title(string): 索引标题,可不填将默认设为索引值;children(Array<{title: string}>): 子元素列表,title为子元素的展示文案。\n\ndefault: []\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/indexes?tab=api#indexes-props)" - }, "t-indexes/sticky": { "type": "Boolean", "description": "索引是否吸顶,默认为true\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/indexes?tab=api#indexes-props)" @@ -1824,7 +1832,15 @@ }, "t-input/borderless": { "type": "Boolean", - "description": "input without border\n\n【开发中】无边框模式\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/input?tab=api#input-props)" + "description": "input without border\n\n是否开启无边框模式\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/input?tab=api#input-props)" + }, + "t-input/clear-trigger": { + "type": "String", + "options": [ + "always ", + " focus" + ], + "description": "show clear icon, clicked to clear input value\n\n清空图标触发方式,仅在输入框有值时有效\n\ndefault: always\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/input?tab=api#input-props)" }, "t-input/clearable": { "type": "Boolean", @@ -1832,27 +1848,44 @@ }, "t-input/disabled": { "type": "Boolean", - "description": "make input to be disabled\n\n是否禁用输入框\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/input?tab=api#input-props)" + "description": "make input to be disabled\n\n是否禁用输入框\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/input?tab=api#input-props)" }, - "t-input/error-message": { + "t-input/enterkeyhint": { "type": "String", - "description": "错误提示文本,值为空不显示(废弃属性,如果需要,请更为使用 status 和 tips)\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/input?tab=api#input-props)" + "options": [ + "enter", + "done", + "go", + "next", + "previous", + "search", + "send" + ], + "description": "attribute of input element, [see here](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/enterkeyhint)\n\n用于控制回车键样式,此 API 仅在部分浏览器支持,HTML5 原生属性,[点击查看详情](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/enterkeyhint)\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/input?tab=api#input-props)" }, "t-input/format": { "type": "Function", - "description": "input value formatter, `type=number` does not work. if you need to format number, `InputNumber` Component might be better\n\n指定输入框展示值的格式。注意 `type=number` 时请勿使用,此功能建议更为使用 `InputNumber` 组件\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/input?tab=api#input-props)" + "description": "input value formatter, `type=number` does not work. if you need to format number, `InputNumber` Component might be better\n\n指定输入框展示值的格式\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/input?tab=api#input-props)" }, "t-input/label": { "type": "String|TNode", "description": "text on the left of input\n\n左侧文本\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/input?tab=api#input-props)" }, + "t-input/layout": { + "type": "String", + "options": [ + "vertical", + "horizontal" + ], + "description": "标题输入框布局方式\n\ndefault: horizontal\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/input?tab=api#input-props)" + }, "t-input/maxcharacter": { "type": "Number", "description": "用户最多可以输入的字符个数,一个中文汉字表示两个字符长度。`maxcharacter` 和 `maxlength` 二选一使用\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/input?tab=api#input-props)" }, "t-input/maxlength": { "type": "String|Number", - "description": "用户最多可以输入的文本长度,一个中文等于一个计数长度。值为空,则表示不限制输入长度。`maxcharacter` 和 `maxlength` 二选一使用\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/input?tab=api#input-props)" + "description": "用户最多可以输入的文本长度,一个中文等于一个计数长度。默认为空,不限制输入长度。`maxcharacter` 和 `maxlength` 二选一使用\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/input?tab=api#input-props)" }, "t-input/name": { "type": "String", @@ -1868,7 +1901,7 @@ }, "t-input/readonly": { "type": "Boolean", - "description": "只读状态\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/input?tab=api#input-props)" + "description": "只读状态\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/input?tab=api#input-props)" }, "t-input/size": { "type": "String", @@ -1876,7 +1909,11 @@ "small", "medium" ], - "description": "已废弃。输入框尺寸\n\ndefault: small\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/input?tab=api#input-props)" + "description": "输入框尺寸\n\ndefault: small\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/input?tab=api#input-props)" + }, + "t-input/spell-check": { + "type": "Boolean", + "description": "attribute of input element, [see here](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/spellcheck)\n\n是否开启拼写检查,HTML5 原生属性,[点击查看详情](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/spellcheck)\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/input?tab=api#input-props)" }, "t-input/status": { "type": "String", @@ -1886,7 +1923,7 @@ "warning", "error" ], - "description": "输入框状态。默认情况会由组件内部根据实际情况呈现,如果文本过长引起的状态变化\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/input?tab=api#input-props)" + "description": "输入框状态\n\ndefault: default\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/input?tab=api#input-props)" }, "t-input/suffix": { "type": "String|TNode", @@ -1912,7 +1949,7 @@ "submit", "hidden" ], - "description": "type attribute of input element. if you are using `type=number`, `InputNumber` Component might be better\n\n输入框类型。`type=number` 仅支持最基础的数字输入功能,更多功能建议使用 `InputNumber` 组件\n\ndefault: text\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/input?tab=api#input-props)" + "description": "type attribute of input element. if you are using `type=number`, `InputNumber` Component might be better\n\n输入框类型\n\ndefault: text\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/input?tab=api#input-props)" }, "t-input/value": { "type": "String|Number", @@ -1924,7 +1961,7 @@ }, "t-input/change": { "type": "event", - "description": "trigger on input value changed\n\n输入框值发生变化时触发。参数 `trigger=initial` 表示传入的数据不符合预期,组件自动处理后触发 change 告知父组件。如:初始值长度超过 `maxlength` 限制\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/input?tab=api#input-events)" + "description": "trigger on input value changed\n\n输入框值发生变化时触发。`trigger=initial` 表示传入的数据不符合预期,组件自动处理后触发 change 告知父组件。如:初始值长度超过 `maxlength` 限制\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/input?tab=api#input-events)" }, "t-input/clear": { "type": "event", @@ -1936,7 +1973,7 @@ }, "t-input/validate": { "type": "event", - "description": "trigger on text length being over max length or max character\n\n字数超出限制时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/input?tab=api#input-events)" + "description": "trigger on text length being over max length or max character\n\n【暂不支持】字数超出限制时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/input?tab=api#input-events)" }, "t-input-adornment/append": { "type": "String|TNode", @@ -1956,7 +1993,7 @@ }, "t-link/disabled": { "type": "Boolean", - "description": "make link to be disabled\n\n禁用链接\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/link?tab=api#link-props)" + "description": "make link to be disabled\n\n禁用链接。优先级:Link.disabled > Form.disabled\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/link?tab=api#link-props)" }, "t-link/hover": { "type": "Boolean", @@ -2024,7 +2061,11 @@ }, "t-list/scroll": { "type": "event", - "description": "列表滚动时触发,scrollTop 表示顶部滚动距离\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/list?tab=api#list-events)" + "description": "列表滚动时触发,bottomDistance 表示底部距离;scrollTop 表示顶部滚动距离\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/list?tab=api#list-events)" + }, + "t-loading/attach": { + "type": "String|Function", + "description": "挂载元素,默认挂载到组件本身所在的位置。数据类型为 String 时,会被当作选择器处理,进行节点查询。示例:'body' 或 () => document.body\n\ndefault: ''\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/loading?tab=api#loading-props)" }, "t-loading/content": { "type": "String|TNode", @@ -2042,6 +2083,10 @@ "type": "Number", "description": "加载动画执行完成一次的时间,单位:毫秒\n\ndefault: 800\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/loading?tab=api#loading-props)" }, + "t-loading/fullscreen": { + "type": "Boolean", + "description": "是否显示为全屏加载\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/loading?tab=api#loading-props)" + }, "t-loading/indicator": { "type": "Boolean|TNode", "description": "加载指示符,值为 true 显示默认指示符,值为 false 则不显示,也可以自定义指示符\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/loading?tab=api#loading-props)" @@ -2105,7 +2150,7 @@ }, "t-message/duration": { "type": "Number", - "description": "消息内置计时器,计时到达时会触发 duration-end 事件。单位:毫秒。值为 0 则表示没有计时器。\n\ndefault: 3000\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/message?tab=api#message-props)" + "description": "消息内置计时器,计时到达时会触发 duration-end 事件。单位:毫秒。值为 0 则表示没有计时器\n\ndefault: 3000\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/message?tab=api#message-props)" }, "t-message/icon": { "type": "Boolean|TNode", @@ -2113,7 +2158,7 @@ }, "t-message/link": { "type": "String|Object|TNode", - "description": "链接名称。值为字符串表示链接名称,值为 Object 类型,表示透传至 Link\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/message?tab=api#message-props)" + "description": "链接名称。值为字符串表示链接名称,值为 `Object` 类型,表示透传至 `Link`\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/message?tab=api#message-props)" }, "t-message/marquee": { "type": "Boolean|Object", @@ -2141,46 +2186,22 @@ "type": "Number", "description": "元素层级,样式默认为 5000\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/message?tab=api#message-props)" }, - "t-message/change": { - "type": "event", - "description": "可见性变化时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/message?tab=api#message-events)" - }, - "t-message/close": { - "type": "event", - "description": "close message event\n\n关闭消息时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/message?tab=api#message-events)" - }, "t-message/close-btn-click": { "type": "event", "description": "当关闭按钮存在时,用户点击关闭按钮触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/message?tab=api#message-events)" }, - "t-message/closed": { - "type": "event", - "description": "关闭消息并且动画结束后触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/message?tab=api#message-events)" - }, "t-message/duration-end": { "type": "event", "description": "计时结束后触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/message?tab=api#message-events)" }, "t-message/link-click": { "type": "event", - "description": "当link链接存在时,点击链接文本时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/message?tab=api#message-events)" - }, - "t-message/open": { - "type": "event", - "description": "展示Message时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/message?tab=api#message-events)" - }, - "t-message/opened": { - "type": "event", - "description": "展示Message时并且动画结束后触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/message?tab=api#message-events)" + "description": "当`link`链接存在时,点击链接文本时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/message?tab=api#message-events)" }, "t-navbar/animation": { "type": "Boolean", "description": "是否添加动画效果\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/navbar?tab=api#navbar-props)" }, - "t-navbar/background": { - "type": "String", - "description": "background\n\n已废弃。背景\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/navbar?tab=api#navbar-props)" - }, "t-navbar/capsule": { "type": "TNode", "description": "左侧胶囊区域\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/navbar?tab=api#navbar-props)" @@ -2190,16 +2211,16 @@ "description": "是否固定在顶部\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/navbar?tab=api#navbar-props)" }, "t-navbar/left": { - "type": "String|TNode", - "description": "左侧区域。值为 `string` 表示文本,为其他表示自定义内容\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/navbar?tab=api#navbar-props)" + "type": "TNode", + "description": "左侧区域\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/navbar?tab=api#navbar-props)" }, "t-navbar/left-arrow": { "type": "Boolean", "description": "是否展示左侧箭头\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/navbar?tab=api#navbar-props)" }, "t-navbar/right": { - "type": "String|TNode", - "description": "右侧区域。值为 `string` 表示文本,为其他表示自定义内容\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/navbar?tab=api#navbar-props)" + "type": "TNode", + "description": "右侧区域\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/navbar?tab=api#navbar-props)" }, "t-navbar/title": { "type": "String|TNode", @@ -2215,11 +2236,11 @@ }, "t-navbar/left-click": { "type": "event", - "description": "点击左侧区域时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/navbar?tab=api#navbar-events)" + "description": "点击左侧按钮时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/navbar?tab=api#navbar-events)" }, "t-navbar/right-click": { "type": "event", - "description": "点击右侧区域时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/navbar?tab=api#navbar-events)" + "description": "点击右侧图标时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/navbar?tab=api#navbar-events)" }, "t-notice-bar/content": { "type": "String|Array|TNode", @@ -2233,10 +2254,6 @@ ], "description": "滚动方向\n\ndefault: horizontal\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/notice-bar?tab=api#noticebar-props)" }, - "t-notice-bar/extra": { - "type": "String|TNode", - "description": "已废弃。右侧额外信息\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/notice-bar?tab=api#noticebar-props)" - }, "t-notice-bar/marquee": { "type": "Boolean|Object", "description": "跑马灯效果。speed 指速度控制;loop 指循环播放次数,值为 -1 表示循环播放,值为 0 表示不循环播放;delay 表示延迟多久开始播放\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/notice-bar?tab=api#noticebar-props)" @@ -2246,8 +2263,8 @@ "description": "右侧额外信息\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/notice-bar?tab=api#noticebar-props)" }, "t-notice-bar/prefix-icon": { - "type": "TNode", - "description": "前缀图标\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/notice-bar?tab=api#noticebar-props)" + "type": "Boolean|TNode", + "description": "用于自定义公告栏前面的图标,优先级大于 theme 设定的图标。值为 false 则不显示图标,值为 true 显示 theme 设定图标\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/notice-bar?tab=api#noticebar-props)" }, "t-notice-bar/suffix-icon": { "type": "TNode", @@ -2267,29 +2284,29 @@ "type": "Boolean", "description": "显示/隐藏\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/notice-bar?tab=api#noticebar-props)" }, - "t-notice-bar/change": { - "type": "event", - "description": "展示或关闭公告栏时触发。参数为true时,代表展示公告栏。参数为false时,代表关闭公告栏\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/notice-bar?tab=api#noticebar-events)" - }, "t-notice-bar/click": { "type": "event", "description": "点击事件\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/notice-bar?tab=api#noticebar-events)" }, + "t-overlay/background-color": { + "type": "String", + "description": "遮罩层的背景色\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/overlay?tab=api#overlay-props)" + }, + "t-overlay/custom-style": { + "type": "String", + "description": "遮罩层自定义样式。优先级低于其他属性\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/overlay?tab=api#overlay-props)" + }, "t-overlay/duration": { "type": "Number", "description": "背景色过渡时间,单位毫秒\n\ndefault: 300\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/overlay?tab=api#overlay-props)" }, "t-overlay/prevent-scroll-through": { "type": "Boolean", - "description": "防止滚动穿透,即不允许点击和滚动\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/overlay?tab=api#overlay-props)" - }, - "t-overlay/transparent": { - "type": "Boolean", - "description": "遮罩层是否透明\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/overlay?tab=api#overlay-props)" + "description": "是否阻止背景滚动,阻止时蒙层里的内容也将无法滚动\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/overlay?tab=api#overlay-props)" }, "t-overlay/visible": { "type": "Boolean", - "description": "是否展示\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/overlay?tab=api#overlay-props)" + "description": "是否展示\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/overlay?tab=api#overlay-props)" }, "t-overlay/z-index": { "type": "Number", @@ -2299,24 +2316,8 @@ "type": "event", "description": "遮罩层的点击事件\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/overlay?tab=api#overlay-events)" }, - "t-pagination/show-first-and-last-page-btn": { - "type": "Boolean", - "description": "是否显示跳转首页尾页页码控制器\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/pagination?tab=api#pagination-props)" - }, - "t-pagination/show-page-number": { - "type": "Boolean", - "description": "是否显示页码控制器\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/pagination?tab=api#pagination-props)" - }, - "t-pagination/show-page-size": { - "type": "Boolean", - "description": "是否显示分页数量控制器\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/pagination?tab=api#pagination-props)" - }, - "t-pagination/show-previous-and-next-btn": { - "type": "Boolean", - "description": "是否显示跳转前后页页码控制器\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/pagination?tab=api#pagination-props)" - }, "t-picker/cancel-btn": { - "type": "String|Boolean|Object", + "type": "String|Boolean", "description": "取消按钮文字\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/picker?tab=api#picker-props)" }, "t-picker/columns": { @@ -2324,16 +2325,16 @@ "description": "配置每一列的选项\n\ndefault: []\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/picker?tab=api#picker-props)" }, "t-picker/confirm-btn": { - "type": "String|Boolean|Object", + "type": "String|Boolean", "description": "确定按钮文字\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/picker?tab=api#picker-props)" }, "t-picker/header": { - "type": "Boolean|TNode", - "description": "头部内容。值为 true 显示空白头部,值为 false 不显示任何内容,值类型为 TNode 表示自定义头部内容\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/picker?tab=api#picker-props)" + "type": "TNode", + "description": "自定义头部内容\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/picker?tab=api#picker-props)" }, - "t-picker/keys": { - "type": "Object", - "description": "用来定义 value / label 在 `options` 中对应的字段别名\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/picker?tab=api#picker-props)" + "t-picker/option": { + "type": "TNode", + "description": "自定义选项内容。参数为 `option: PickerColumnItem, index: number`\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/picker?tab=api#picker-props)" }, "t-picker/render-label": { "type": "Function", @@ -2347,10 +2348,6 @@ "type": "Array", "description": "选中值\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/picker?tab=api#picker-props)" }, - "t-picker/visible": { - "type": "Boolean", - "description": "是否显示\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/picker?tab=api#picker-props)" - }, "t-picker/cancel": { "type": "event", "description": "点击取消按钮时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/picker?tab=api#picker-events)" @@ -2379,14 +2376,6 @@ "type": "String|TNode", "description": "触发元素,同 triggerElement\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/popconfirm?tab=api#popconfirm-props)" }, - "t-popconfirm/destroy-on-close": { - "type": "Boolean", - "description": "是否在关闭浮层时销毁浮层\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/popconfirm?tab=api#popconfirm-props)" - }, - "t-popconfirm/trigger-element": { - "type": "String|TNode", - "description": "触发元素\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/popconfirm?tab=api#popconfirm-props)" - }, "t-popover/close-on-click-outside": { "type": "Boolean", "description": "是否在点击外部元素后关闭菜单 \n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/popover?tab=api#popover-props)" @@ -2431,7 +2420,7 @@ "warning", "error" ], - "description": "弹出气泡主题。\n\ndefault: dark\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/popover?tab=api#popover-props)" + "description": "弹出气泡主题\n\ndefault: dark\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/popover?tab=api#popover-props)" }, "t-popover/trigger-element": { "type": "String|TNode", @@ -2447,7 +2436,7 @@ }, "t-popup/attach": { "type": "String|Function", - "description": "制定挂载节点。数据类型为 String 时,会被当作选择器处理,进行节点查询。示例:'body' 或 () => document.body\n\ndefault: 'body'\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/popup?tab=api#popup-props)" + "description": "指定挂载节点。数据类型为 String 时,会被当作选择器处理,进行节点查询。示例:'body' 或 () => document.body\n\ndefault: 'body'\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/popup?tab=api#popup-props)" }, "t-popup/close-btn": { "type": "Boolean|TNode", @@ -2457,6 +2446,10 @@ "type": "Boolean", "description": "点击遮罩层是否关闭\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/popup?tab=api#popup-props)" }, + "t-popup/destroy-on-close": { + "type": "Boolean", + "description": "是否在关闭浮层时销毁浮层\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/popup?tab=api#popup-props)" + }, "t-popup/overlay-props": { "type": "Object", "description": "遮罩层的属性,透传至 overlay\n\ndefault: {}\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/popup?tab=api#popup-props)" @@ -2474,7 +2467,7 @@ }, "t-popup/prevent-scroll-through": { "type": "Boolean", - "description": "防止滚动穿透\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/popup?tab=api#popup-props)" + "description": "是否阻止背景滚动\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/popup?tab=api#popup-props)" }, "t-popup/show-overlay": { "type": "Boolean", @@ -2494,7 +2487,7 @@ }, "t-popup/close": { "type": "event", - "description": "组件开始关闭时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/popup?tab=api#popup-events)" + "description": "组件准备关闭时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/popup?tab=api#popup-events)" }, "t-popup/closed": { "type": "event", @@ -2512,30 +2505,6 @@ "type": "event", "description": "当浮层隐藏或显示时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/popup?tab=api#popup-events)" }, - "t-primary-table/row-selection-allow-uncheck": { - "type": "Boolean", - "description": "allow to uncheck selection in table with single row selection\n\n行选中单选场景,是否允许取消选中\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/primary-table?tab=api#primarytable-props)" - }, - "t-table/row-selection-allow-uncheck": { - "type": "Boolean", - "description": "allow to uncheck selection in table with single row selection\n\n行选中单选场景,是否允许取消选中\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/primary-table?tab=api#primarytable-props)" - }, - "t-primary-table/row-selection-type": { - "type": "String", - "options": [ - "single", - "multiple" - ], - "description": "single row selection, or multiple row selection\n\n行选中类型,单选或多选。效果和 `columns` 中配置的 `{ colKey: 'row-select', type: 'single' }` 一样\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/primary-table?tab=api#primarytable-props)" - }, - "t-table/row-selection-type": { - "type": "String", - "options": [ - "single", - "multiple" - ], - "description": "single row selection, or multiple row selection\n\n行选中类型,单选或多选。效果和 `columns` 中配置的 `{ colKey: 'row-select', type: 'single' }` 一样\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/primary-table?tab=api#primarytable-props)" - }, "t-progress/color": { "type": "String|Object|Array", "description": "进度条颜色。示例:'#ED7B2F' 或 'orange' 或 `['#f00', '#0ff', '#f0f']` 或 `{ '0%': '#f00', '100%': '#0ff' }` 或 `{ from: '#000', to: '#000' }` 等\n\ndefault: ''\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/progress?tab=api#progress-props)" @@ -2615,22 +2584,6 @@ "type": "event", "description": "刷新超时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/pull-down-refresh?tab=api#pulldownrefresh-events)" }, - "t-radio/align": { - "type": "String", - "options": [ - "left", - "right" - ], - "description": "已废弃。复选框和内容相对位置\n\ndefault: left\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/radio?tab=api#radio-props)" - }, - "t-radio-button/align": { - "type": "String", - "options": [ - "left", - "right" - ], - "description": "已废弃。复选框和内容相对位置\n\ndefault: left\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/radio?tab=api#radio-props)" - }, "t-radio/allow-uncheck": { "type": "Boolean", "description": "是否允许取消选中\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/radio?tab=api#radio-props)" @@ -2641,11 +2594,11 @@ }, "t-radio/block": { "type": "Boolean", - "description": "是否为块级元素\t\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/radio?tab=api#radio-props)" + "description": "是否为块级元素\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/radio?tab=api#radio-props)" }, "t-radio-button/block": { "type": "Boolean", - "description": "是否为块级元素\t\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/radio?tab=api#radio-props)" + "description": "是否为块级元素\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/radio?tab=api#radio-props)" }, "t-radio/borderless": { "type": "Boolean", @@ -2689,19 +2642,19 @@ }, "t-radio/disabled": { "type": "Boolean", - "description": "是否为禁用态。如果存在父组件 RadioGroup,默认值由 RadioGroup.disabled 控制。Radio.disabled 优先级高于 RadioGroup.disabled\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/radio?tab=api#radio-props)" + "description": "是否为禁用态。如果存在父组件 RadioGroup,默认值由 RadioGroup.disabled 控制。优先级:Radio.disabled > RadioGroup.disabled > Form.disabled\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/radio?tab=api#radio-props)" }, "t-radio-button/disabled": { "type": "Boolean", - "description": "是否为禁用态。如果存在父组件 RadioGroup,默认值由 RadioGroup.disabled 控制。Radio.disabled 优先级高于 RadioGroup.disabled\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/radio?tab=api#radio-props)" + "description": "是否为禁用态。如果存在父组件 RadioGroup,默认值由 RadioGroup.disabled 控制。优先级:Radio.disabled > RadioGroup.disabled > Form.disabled\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/radio?tab=api#radio-props)" }, "t-radio/icon": { "type": "String|Array", - "description": "自定义选中图标和非选中图标。示例:[选中态图标地址,非选中态图标地址]。使用 String 时,值为 circle 表示填充型图标、值为 line 表示描边型图标、值为 dot 表示圆点图标\n\ndefault: 'circle'\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/radio?tab=api#radio-props)" + "description": "自定义选中图标和非选中图标。示例:[选中态图标地址,非选中态图标地址]。使用 String 时,值为 circle 表示填充型图标、值为 line 表示描边型图标、值为 dot 表示圆点图标、值为 'none' 则表示没有图标\n\ndefault: 'circle'\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/radio?tab=api#radio-props)" }, "t-radio-button/icon": { "type": "String|Array", - "description": "自定义选中图标和非选中图标。示例:[选中态图标地址,非选中态图标地址]。使用 String 时,值为 circle 表示填充型图标、值为 line 表示描边型图标、值为 dot 表示圆点图标\n\ndefault: 'circle'\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/radio?tab=api#radio-props)" + "description": "自定义选中图标和非选中图标。示例:[选中态图标地址,非选中态图标地址]。使用 String 时,值为 circle 表示填充型图标、值为 line 表示描边型图标、值为 dot 表示圆点图标、值为 'none' 则表示没有图标\n\ndefault: 'circle'\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/radio?tab=api#radio-props)" }, "t-radio/label": { "type": "String|TNode", @@ -2741,7 +2694,7 @@ "left", "right" ], - "description": "复选框和内容相对位置\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/radio?tab=api#radio-props)" + "description": "复选框和内容相对位置。优先级高于 RadioGroup.placement。Radio 单独存在时,默认值为 left。如果父组件存在 RadioGroup,默认值便由 RadioGroup.placement 决定\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/radio?tab=api#radio-props)" }, "t-radio-button/placement": { "type": "String", @@ -2749,7 +2702,15 @@ "left", "right" ], - "description": "复选框和内容相对位置\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/radio?tab=api#radio-props)" + "description": "复选框和内容相对位置。优先级高于 RadioGroup.placement。Radio 单独存在时,默认值为 left。如果父组件存在 RadioGroup,默认值便由 RadioGroup.placement 决定\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/radio?tab=api#radio-props)" + }, + "t-radio/readonly": { + "type": "Boolean", + "description": "只读状态\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/radio?tab=api#radio-props)" + }, + "t-radio-button/readonly": { + "type": "Boolean", + "description": "只读状态\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/radio?tab=api#radio-props)" }, "t-radio/value": { "type": "String|Number|Boolean", @@ -2777,7 +2738,7 @@ }, "t-radio-group/disabled": { "type": "Boolean", - "description": "是否禁用全部子单选框。默认为 false。RadioGroup.disabled 优先级低于 Radio.disabled\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/radio-group?tab=api#radiogroup-props)" + "description": "是否禁用全部子单选框。优先级:Radio.disabled > RadioGroup.disabled > Form.disabled\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/radio-group?tab=api#radiogroup-props)" }, "t-radio-group/icon": { "type": "String|Array", @@ -2801,7 +2762,11 @@ "left", "right" ], - "description": "复选框和内容相对位置\n\ndefault: left\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/radio-group?tab=api#radiogroup-props)" + "description": "复选框和内容相对位置。优先级低于 Radio.placement\n\ndefault: left\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/radio-group?tab=api#radiogroup-props)" + }, + "t-radio-group/readonly": { + "type": "Boolean", + "description": "只读状态\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/radio-group?tab=api#radiogroup-props)" }, "t-radio-group/value": { "type": "String|Number|Boolean", @@ -2809,7 +2774,7 @@ }, "t-radio-group/change": { "type": "event", - "description": "选中值发生变化时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/radio-group?tab=api#radiogroup-events)" + "description": "选中值发生变化时触发, `context.name` 指 RadioGroup 的 name 属性\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/radio-group?tab=api#radiogroup-events)" }, "t-range-input/active-index": { "type": "Number", @@ -2821,7 +2786,7 @@ }, "t-range-input/disabled": { "type": "Boolean", - "description": "是否禁用范围输入框\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/range-input?tab=api#rangeinput-props)" + "description": "是否禁用范围输入框\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/range-input?tab=api#rangeinput-props)" }, "t-range-input/format": { "type": "Array|Function", @@ -2845,7 +2810,7 @@ }, "t-range-input/readonly": { "type": "Boolean", - "description": "只读状态\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/range-input?tab=api#rangeinput-props)" + "description": "只读状态\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/range-input?tab=api#rangeinput-props)" }, "t-range-input/separator": { "type": "String|TNode", @@ -2919,13 +2884,9 @@ "type": "Boolean", "description": "是否允许半选\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/rate?tab=api#rate-props)" }, - "t-rate/clearable": { - "type": "Boolean", - "description": "是否允许取消选择\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/rate?tab=api#rate-props)" - }, "t-rate/color": { "type": "String|Array", - "description": "评分图标的颜色,样式中默认为 #ED7B2F。一个值表示设置选中高亮的五角星颜色,示例:[选中颜色]。数组则表示分别设置 选中高亮的五角星颜色 和 未选中暗灰的五角星颜色,[选中颜色,未选中颜色]。示例:['#ED7B2F', '#E3E6EB']。\n\ndefault: '#ED7B2F'\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/rate?tab=api#rate-props)" + "description": "评分图标的颜色,样式中默认为 #ED7B2F。一个值表示设置选中高亮的五角星颜色,示例:[选中颜色]。数组则表示分别设置 选中高亮的五角星颜色 和 未选中暗灰的五角星颜色,[选中颜色,未选中颜色]。示例:['#ED7B2F', '#E3E6EB']\n\ndefault: '#ED7B2F'\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/rate?tab=api#rate-props)" }, "t-rate/count": { "type": "Number", @@ -2933,16 +2894,25 @@ }, "t-rate/disabled": { "type": "Boolean", - "description": "是否禁用评分\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/rate?tab=api#rate-props)" + "description": "是否禁用评分\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/rate?tab=api#rate-props)" }, "t-rate/gap": { - "type": "Number", - "description": "评分图标的间距\n\ndefault: 4\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/rate?tab=api#rate-props)" + "type": "String|Number", + "description": "评分图标的间距\n\ndefault: 8\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/rate?tab=api#rate-props)" }, "t-rate/icon": { "type": "Array|TNode", "description": "自定义评分图标,[选中图标,未选中图标]\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/rate?tab=api#rate-props)" }, + "t-rate/placement": { + "type": "String", + "options": [ + "top ", + " bottom ", + " ''" + ], + "description": "选择评分弹框的位置,值为空字符表示不显示评分弹框\n\ndefault: top\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/rate?tab=api#rate-props)" + }, "t-rate/show-text": { "type": "Boolean", "description": "是否显示对应的辅助文字\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/rate?tab=api#rate-props)" @@ -2959,14 +2929,6 @@ "type": "Number", "description": "选择评分的值\n\ndefault: 0\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/rate?tab=api#rate-props)" }, - "t-rate/variant": { - "type": "String", - "options": [ - "outline", - "filled" - ], - "description": "已废弃。形状类型,有描边类型和填充类型两种\n\ndefault: outline\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/rate?tab=api#rate-props)" - }, "t-rate/change": { "type": "event", "description": "评分数改变时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/rate?tab=api#rate-events)" @@ -2991,7 +2953,7 @@ "warning", "error" ], - "description": "内置主题。\n\ndefault: default\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/result?tab=api#result-props)" + "description": "内置主题\n\ndefault: default\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/result?tab=api#result-props)" }, "t-result/title": { "type": "String|TNode", @@ -3035,7 +2997,7 @@ }, "t-search/readonly": { "type": "Boolean", - "description": "只读状态\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/search?tab=api#search-props)" + "description": "只读状态\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/search?tab=api#search-props)" }, "t-search/shape": { "type": "String", @@ -3073,18 +3035,6 @@ "type": "event", "description": "提交时触发,如:手机键盘提交按钮点击\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/search?tab=api#search-events)" }, - "t-segmented-control/items": { - "type": "Array", - "description": "分段器选项\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/segmented-control?tab=api#segmentedcontrol-props)" - }, - "t-segmented-control/value": { - "type": "String|Number|Array", - "description": "选中值\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/segmented-control?tab=api#segmentedcontrol-props)" - }, - "t-segmented-control/change": { - "type": "event", - "description": "选中值变化时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/segmented-control?tab=api#segmentedcontrol-events)" - }, "t-select/select-input-props": { "type": "Object", "description": "透传 SelectInput 筛选器输入框组件的全部属性\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/select?tab=api#select-props)" @@ -3146,6 +3096,10 @@ "type": "Boolean", "description": "是否为加载状态,如果是则显示骨架图,如果不是则显示加载完成的内容\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/skeleton?tab=api#skeleton-props)" }, + "t-skeleton/row-col": { + "type": "Array", + "description": "高级设置,用于自定义行列数量、宽度高度、间距等。【示例一】,`[1, 1, 2]` 表示输出三行骨架图,第一行一列,第二行一列,第三行两列。【示例二】,`[1, 1, { width: '100px' }]` 表示自定义第三行的宽度为 `100px`。【示例三】,`[1, 2, [{ width, height }, { width, height, marginLeft }]]` 表示第三行有两列,且自定义宽度、高度、尺寸(圆形或方形使用)、间距、内容等\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/skeleton?tab=api#skeleton-props)" + }, "t-skeleton/theme": { "type": "String", "options": [ @@ -3158,7 +3112,7 @@ }, "t-slider/disabled": { "type": "Boolean", - "description": "是否禁用组件\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/slider?tab=api#slider-props)" + "description": "是否禁用组件\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/slider?tab=api#slider-props)" }, "t-slider/label": { "type": "String|Boolean|TNode", @@ -3260,26 +3214,30 @@ ], "description": "当前步骤的状态:默认状态(未开始)、进行中状态、完成状态、错误状态\n\ndefault: default\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/step-item?tab=api#stepitem-props)" }, - "t-step-item/sub-step-items": { - "type": "Array", - "description": "子步骤条,仅支持 layout = 'vertical' 时\n\ndefault: []\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/step-item?tab=api#stepitem-props)" - }, "t-step-item/title": { "type": "String|TNode", "description": "标题\n\ndefault: ''\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/step-item?tab=api#stepitem-props)" }, + "t-step-item/title-right": { + "type": "String|TNode", + "description": "标题右侧数据 仅支持 layout = 'vertical' 时\n\ndefault: ''\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/step-item?tab=api#stepitem-props)" + }, "t-stepper/disable-input": { "type": "Boolean", "description": "禁用输入框\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/stepper?tab=api#stepper-props)" }, "t-stepper/disabled": { "type": "Boolean", - "description": "禁用全部操作\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/stepper?tab=api#stepper-props)" + "description": "禁用全部操作\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/stepper?tab=api#stepper-props)" }, "t-stepper/input-width": { "type": "Number", "description": "输入框宽度\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/stepper?tab=api#stepper-props)" }, + "t-stepper/integer": { + "type": "Boolean", + "description": "是否整型\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/stepper?tab=api#stepper-props)" + }, "t-stepper/max": { "type": "Number", "description": "最大值\n\ndefault: 100\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/stepper?tab=api#stepper-props)" @@ -3322,6 +3280,10 @@ "type": "event", "description": "数值发生变更时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/stepper?tab=api#stepper-events)" }, + "t-stepper/focus": { + "type": "event", + "description": "输入框聚焦时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/stepper?tab=api#stepper-events)" + }, "t-stepper/overlimit": { "type": "event", "description": "数值超出限制时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/stepper?tab=api#stepper-events)" @@ -3348,13 +3310,9 @@ ], "description": "步骤条方向,有两种:横向和纵向\n\ndefault: horizontal\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/steps?tab=api#steps-props)" }, - "t-steps/options": { - "type": "Array", - "description": "步骤条数据列表(作用和 StepItem 效果一样)\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/steps?tab=api#steps-props)" - }, "t-steps/readonly": { "type": "Boolean", - "description": "只读状态\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/steps?tab=api#steps-props)" + "description": "只读状态\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/steps?tab=api#steps-props)" }, "t-steps/separator": { "type": "String", @@ -3386,8 +3344,8 @@ "description": "当前步骤发生变化时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/steps?tab=api#steps-events)" }, "t-sticky/container": { - "type": "String|Function", - "description": "指定滚动的容器。数据类型为 String 时,会被当作选择器处理,进行节点查询。示例:'body' 或 () => document.body\n\ndefault: body\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/sticky?tab=api#sticky-props)" + "type": "Object", + "description": "指定容器对应的NodesRef节点为组件的外部容器,滚动时组件会始终保持在容器范围内,当组件即将超出容器底部时,会返回原位置\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/sticky?tab=api#sticky-props)" }, "t-sticky/disabled": { "type": "Boolean", @@ -3405,22 +3363,6 @@ "type": "event", "description": "滚动时触发,scrollTop: 距离顶部位置,isFixed: 是否吸顶\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/sticky?tab=api#sticky-events)" }, - "t-sticky-tool/shape": { - "type": "String", - "options": [ - "square", - "round" - ], - "description": "stickytool shape\n\n侧边栏菜单形状,有 2 种:方形、圆形\n\ndefault: square\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/sticky-tool?tab=api#stickytool-props)" - }, - "t-sticky-tool/type": { - "type": "String", - "options": [ - "normal", - "compact" - ], - "description": "stickytool type\n\n侧边栏菜单类型,有 2 种:常规型和紧凑型\n\ndefault: normal\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/sticky-tool?tab=api#stickytool-props)" - }, "t-swipe-cell/content": { "type": "String|TNode", "description": "操作项以外的内容\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/swipe-cell?tab=api#swipecell-props)" @@ -3447,7 +3389,7 @@ }, "t-swipe-cell/change": { "type": "event", - "description": "菜单展开或者收回后将菜单的状态传递给父组件,值为数组时表示分别控制左右滑动的展开和收起状态。\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/swipe-cell?tab=api#swipecell-events)" + "description": "菜单展开或者收回后将菜单的状态传递给父组件,值为数组时表示分别控制左右滑动的展开和收起状态\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/swipe-cell?tab=api#swipecell-events)" }, "t-swipe-cell/click": { "type": "event", @@ -3481,8 +3423,8 @@ "description": "滑动动画时长\n\ndefault: 300\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/swiper?tab=api#swiper-props)" }, "t-swiper/height": { - "type": "Number", - "description": "当使用垂直方向滚动时的高度\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/swiper?tab=api#swiper-props)" + "type": "String|Number", + "description": "轮播的高度\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/swiper?tab=api#swiper-props)" }, "t-swiper/interval": { "type": "Number", @@ -3498,19 +3440,11 @@ }, "t-swiper/next-margin": { "type": "String|Number", - "description": "后边距,可用于露出后一项的一小部分。默认单位 `px`\n\ndefault: 0\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/swiper?tab=api#swiper-props)" + "description": "【开发中】后边距,可用于露出后一项的一小部分。默认单位 `px`\n\ndefault: 0\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/swiper?tab=api#swiper-props)" }, "t-swiper/previous-margin": { "type": "String|Number", - "description": "前边距,可用于露出前一项的一小部分。默认单位 `px`\n\ndefault: 0\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/swiper?tab=api#swiper-props)" - }, - "t-swiper/type": { - "type": "String", - "options": [ - "default", - "card" - ], - "description": "样式类型:默认样式、卡片样式\n\ndefault: default\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/swiper?tab=api#swiper-props)" + "description": "【开发中】前边距,可用于露出前一项的一小部分。默认单位 `px`\n\ndefault: 0\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/swiper?tab=api#swiper-props)" }, "t-swiper/change": { "type": "event", @@ -3536,6 +3470,18 @@ "type": "Number", "description": "小于这个数字不会显示导航器\n\ndefault: 2\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/swiper-nav?tab=api#swipernav-props)" }, + "t-swiper-nav/pagination-position": { + "type": "String", + "options": [ + "top-left", + "top", + "top-right", + "bottom-left", + "bottom", + "bottom-right" + ], + "description": "页码信息展示位置\n\ndefault: bottom\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/swiper-nav?tab=api#swipernav-props)" + }, "t-swiper-nav/placement": { "type": "String", "options": [ @@ -3556,25 +3502,21 @@ "type": "String", "description": "导航器类型,点状(dots)、点条状(dots-bar)、分式(fraction)等\n\ndefault: dots\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/swiper-nav?tab=api#swipernav-props)" }, - "t-switch/colors": { - "type": "Array", - "description": "已废弃。自定义颜色,[打开时的颜色,关闭时的颜色]。组件默认颜色为 ['#0052d9', 'rgba(0, 0, 0, .26']。示例:[blue, gray]\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/switch?tab=api#switch-props)" - }, "t-switch/custom-value": { "type": "Array", "description": "用于自定义开关的值,[打开时的值,关闭时的值]。默认为 [true, false]。示例:[1, 0]、['open', 'close']\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/switch?tab=api#switch-props)" }, "t-switch/disabled": { "type": "Boolean", - "description": "是否禁用组件,默认为 false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/switch?tab=api#switch-props)" + "description": "是否禁用组件。优先级:Switch.disabled > Form.disabled\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/switch?tab=api#switch-props)" }, "t-switch/icon": { "type": "Array", "description": "开关的图标;[打开时的图标,关闭时的图标]\n\ndefault: []\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/switch?tab=api#switch-props)" }, "t-switch/label": { - "type": "Array", - "description": "开关的标签;[打开时的标签,关闭时的标签]\n\ndefault: []\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/switch?tab=api#switch-props)" + "type": "Array|TNode", + "description": "开关内容,[开启时内容,关闭时内容]。示例:['开', '关'] 或 (value) => value ? '开' : '关'\n\ndefault: []\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/switch?tab=api#switch-props)" }, "t-switch/loading": { "type": "Boolean", @@ -3615,7 +3557,7 @@ "normal", "round" ], - "description": "标签栏的形状\n\ndefault: 'normal'\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/tab-bar?tab=api#tabbar-props)" + "description": "标签栏的形状\n\ndefault: normal\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/tab-bar?tab=api#tabbar-props)" }, "t-tab-bar/split": { "type": "Boolean", @@ -3627,11 +3569,11 @@ "normal", "tag" ], - "description": "选项风格\n\ndefault: 'normal'\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/tab-bar?tab=api#tabbar-props)" + "description": "选项风格\n\ndefault: normal\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/tab-bar?tab=api#tabbar-props)" }, "t-tab-bar/value": { "type": "String|Number|Array", - "description": "当前选中标签的索引\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/tab-bar?tab=api#tabbar-props)" + "description": "当前选中标签的索引\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/tab-bar?tab=api#tabbar-props)" }, "t-tab-bar/change": { "type": "event", @@ -3655,7 +3597,7 @@ }, "t-tab-panel/badge-props": { "type": "Object", - "description": "透传至 Badge 组件\n\ndefault: null\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/tab-panel?tab=api#tabpanel-props)" + "description": "透传至 Badge 组件\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/tab-panel?tab=api#tabpanel-props)" }, "t-tab-panel/destroy-on-hide": { "type": "Boolean", @@ -3669,6 +3611,10 @@ "type": "String|TNode", "description": "选项卡名称,可自定义选项卡导航内容\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/tab-panel?tab=api#tabpanel-props)" }, + "t-tab-panel/lazy": { + "type": "Boolean", + "description": "Enable tab lazy loading\n\n是否启用选项卡懒加载\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/tab-panel?tab=api#tabpanel-props)" + }, "t-tab-panel/panel": { "type": "String|TNode", "description": "用于自定义选项卡面板内容\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/tab-panel?tab=api#tabpanel-props)" @@ -3679,7 +3625,16 @@ }, "t-tabs/animation": { "type": "Object", - "description": "动画效果设置。其中 duration 表示动画时长。(单位:秒)\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/tabs?tab=api#tabs-props)" + "description": "动画效果设置。其中 duration 表示动画时长\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/tabs?tab=api#tabs-props)" + }, + "t-tabs/bottom-line-mode": { + "type": "String", + "options": [ + "fixed", + "auto", + "full" + ], + "description": "激活下划线的模式\n\ndefault: fixed\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/tabs?tab=api#tabs-props)" }, "t-tabs/list": { "type": "Array", @@ -3697,6 +3652,10 @@ ], "description": "组件尺寸\n\ndefault: medium\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/tabs?tab=api#tabs-props)" }, + "t-tabs/space-evenly": { + "type": "Boolean", + "description": "选项卡头部空间是否均分\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/tabs?tab=api#tabs-props)" + }, "t-tabs/sticky": { "type": "Boolean", "description": "是否开启粘性布局\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/tabs?tab=api#tabs-props)" @@ -3815,8 +3774,8 @@ "description": "自动聚焦,拉起键盘\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/textarea?tab=api#textarea-props)" }, "t-textarea/autosize": { - "type": "Boolean", - "description": "是否自动增高,值为 autosize 时,style.height 不生效\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/textarea?tab=api#textarea-props)" + "type": "Boolean|Object", + "description": "高度自动撑开。 autosize = true 表示组件高度自动撑开,同时,依旧允许手动拖高度。如果设置了 autosize.maxRows 或者 autosize.minRows 则不允许手动调整高度\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/textarea?tab=api#textarea-props)" }, "t-textarea/bordered": { "type": "Boolean", @@ -3824,16 +3783,24 @@ }, "t-textarea/disabled": { "type": "Boolean", - "description": "是否禁用文本框\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/textarea?tab=api#textarea-props)" + "description": "是否禁用文本框\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/textarea?tab=api#textarea-props)" }, "t-textarea/indicator": { "type": "Boolean", - "description": "显示文本计数器,如 0/140。当 maxlength < 0 && maxcharacter < 0 成立时, indicator无效\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/textarea?tab=api#textarea-props)" + "description": "显示文本计数器,如 0/140。当 `maxlength < 0 && maxcharacter < 0` 成立时, indicator无效\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/textarea?tab=api#textarea-props)" }, "t-textarea/label": { "type": "String|TNode", "description": "左侧文本\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/textarea?tab=api#textarea-props)" }, + "t-textarea/layout": { + "type": "String", + "options": [ + "vertical", + "horizontal" + ], + "description": "标题输入框布局方式\n\ndefault: horizontal\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/textarea?tab=api#textarea-props)" + }, "t-textarea/maxcharacter": { "type": "Number", "description": "用户最多可以输入的字符个数,一个中文汉字表示两个字符长度\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/textarea?tab=api#textarea-props)" @@ -3850,6 +3817,10 @@ "type": "String", "description": "占位符\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/textarea?tab=api#textarea-props)" }, + "t-textarea/readonly": { + "type": "Boolean", + "description": "只读状态\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/textarea?tab=api#textarea-props)" + }, "t-textarea/value": { "type": "String|Number", "description": "文本框值\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/textarea?tab=api#textarea-props)" @@ -3866,79 +3837,6 @@ "type": "event", "description": "获得焦点时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/textarea?tab=api#textarea-events)" }, - "t-time-range-picker/focus": { - "type": "event", - "description": "范围输入框获得焦点时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/time-range-picker?tab=api#timerangepicker-events)" - }, - "t-timeline/label-align": { - "type": "String", - "options": [ - "left", - "right", - "alternate", - "top", - "bottom" - ], - "description": "label info placement\n\n标签信息放在时间轴的位置,`mode='alternate'` 时生效。纵向时间轴信息位置:左侧、右侧或两侧,默认信息在时间轴右侧。横向时间轴信息位置:上方、下方、两侧\n\ndefault: left\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/timeline?tab=api#timeline-props)" - }, - "t-timeline/layout": { - "type": "String", - "options": [ - "horizontal", - "vertical" - ], - "description": "time line layout\n\n时间轴方向:水平方向、垂直方向\n\ndefault: vertical\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/timeline?tab=api#timeline-props)" - }, - "t-timeline/mode": { - "type": "String", - "options": [ - "alternate", - "same" - ], - "description": "The position relationship between the label and the content text, 'alternate' is displayed on both sides of the axis, and 'same' is displayed on the same side\n\n标签与内容文本的位置关系,`alternate` 为展示在轴两侧,`same` 为展示在同一侧\n\ndefault: alternate\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/timeline?tab=api#timeline-props)" - }, - "t-timeline/reverse": { - "type": "Boolean", - "description": "时间轴是否表现为倒序\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/timeline?tab=api#timeline-props)" - }, - "t-timeline/theme": { - "type": "String", - "options": [ - "default", - "dot" - ], - "description": "步骤条风格\n\ndefault: default\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/timeline?tab=api#timeline-props)" - }, - "t-timeline-item/content": { - "type": "String|TNode", - "description": "描述内容\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/timeline-item?tab=api#timelineitem-props)" - }, - "t-timeline-item/dot": { - "type": "TNode", - "description": "用于自定义时间轴节点元素\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/timeline-item?tab=api#timelineitem-props)" - }, - "t-timeline-item/dot-color": { - "type": "String", - "description": "时间轴颜色,内置 `primary/warning/error/default` 四种色值,可传入 16 进制颜色码或 RGB 颜色值.\n\ndefault: primary\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/timeline-item?tab=api#timelineitem-props)" - }, - "t-timeline-item/label": { - "type": "String|TNode", - "description": "标签文本内容,可完全自定义\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/timeline-item?tab=api#timelineitem-props)" - }, - "t-timeline-item/label-align": { - "type": "String", - "options": [ - "left", - "right", - "top", - "bottom" - ], - "description": "标签信息相对于时间轴的位置,在 `mode='alternate'` 时生效,优先级高于 `Timeline.labelAlign`\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/timeline-item?tab=api#timelineitem-props)" - }, - "t-timeline-item/click": { - "type": "event", - "description": "trigger on click\n\n点击时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/timeline-item?tab=api#timelineitem-events)" - }, "t-toast/direction": { "type": "String", "options": [ @@ -3952,7 +3850,7 @@ "description": "弹窗显示毫秒数\n\ndefault: 2000\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/toast?tab=api#toast-props)" }, "t-toast/icon": { - "type": "String|TNode", + "type": "TNode", "description": "自定义图标\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/toast?tab=api#toast-props)" }, "t-toast/message": { @@ -3961,7 +3859,7 @@ }, "t-toast/overlay-props": { "type": "Object", - "description": "遮罩层属性,透传至 Overlay\n\ndefault: {}\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/toast?tab=api#toast-props)" + "description": "遮罩层属性,透传至 Overlay\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/toast?tab=api#toast-props)" }, "t-toast/placement": { "type": "String", @@ -3997,18 +3895,6 @@ "type": "event", "description": "轻提示销毁的时候触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/toast?tab=api#toast-events)" }, - "t-tree-select/clearable": { - "type": "Boolean", - "description": "是否允许清空\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/tree-select?tab=api#treeselect-props)" - }, - "t-tree-select/custom-style": { - "type": "String", - "description": "自定义组件样式\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/tree-select?tab=api#treeselect-props)" - }, - "t-tree-select/filterable": { - "type": "Boolean", - "description": "是否可搜索\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/tree-select?tab=api#treeselect-props)" - }, "t-tree-select/height": { "type": "String|Number", "description": "高度,默认单位为 px\n\ndefault: 336\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/tree-select?tab=api#treeselect-props)" @@ -4019,40 +3905,19 @@ }, "t-tree-select/multiple": { "type": "Boolean", - "description": "是否多选\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/tree-select?tab=api#treeselect-props)" + "description": "是否允许多选\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/tree-select?tab=api#treeselect-props)" }, "t-tree-select/options": { "type": "Array", "description": "选项\n\ndefault: []\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/tree-select?tab=api#treeselect-props)" }, - "t-tree-select/placeholder": { - "type": "String", - "description": "占位符\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/tree-select?tab=api#treeselect-props)" - }, - "t-tree-select/select-input-props": { - "type": "Object", - "description": "【开发中】透传 SelectInput 筛选器输入框组件的全部属性\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/tree-select?tab=api#treeselect-props)" - }, - "t-tree-select/size": { - "type": "String", - "options": [ - "small", - "medium", - "large" - ], - "description": "尺寸\n\ndefault: medium\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/tree-select?tab=api#treeselect-props)" - }, - "t-tree-select/tag-props": { - "type": "Object", - "description": "透传 Tag 标签组件全部属性\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/tree-select?tab=api#treeselect-props)" - }, "t-tree-select/value": { - "type": "String|Number|Object|Array", - "description": "选中值,泛型 `TreeValueType` 继承自 `TreeSelectValue`\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/tree-select?tab=api#treeselect-props)" + "type": "String|Number|Array", + "description": "选中值\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/tree-select?tab=api#treeselect-props)" }, "t-tree-select/change": { "type": "event", - "description": "节点选中状态变化时触发,`context.node` 表示当前变化的选项,`context. trigger` 表示触发变化的来源。泛型 `TreeValueType` 继承自 `TreeSelectValue` \n\n[docs](https://tdesign.tencent.com/mobile-vue/components/tree-select?tab=api#treeselect-events)" + "description": "点击任何节点均会触发;level 代表当前点击的层级,0 代表最左侧,依次递进\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/tree-select?tab=api#treeselect-events)" }, "t-upload/accept": { "type": "String", @@ -4064,7 +3929,7 @@ }, "t-upload/add-content": { "type": "String|TNode", - "description": "添加按钮内容。值为空,使用默认图标渲染;值为 slot 则表示使用插槽渲染;其他值无效。\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/upload?tab=api#upload-props)" + "description": "添加按钮内容。值为空,使用默认图标渲染;值为 slot 则表示使用插槽渲染;其他值无效\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/upload?tab=api#upload-props)" }, "t-upload/allow-upload-duplicate-file": { "type": "Boolean", @@ -4078,17 +3943,17 @@ "type": "Function", "description": "stop one of files to upload\n\n如果是自动上传模式 `autoUpload=true`,表示单个文件上传之前的钩子函数,若函数返回值为 `false` 则表示不上传当前文件。
如果是非自动上传模式 `autoUpload=false`,函数返回值为 `false` 时表示从上传文件中剔除当前文件\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/upload?tab=api#upload-props)" }, + "t-upload/capture": { + "type": "String", + "description": "图片选取模式,可选值为 camera (直接调起摄像头)\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/upload?tab=api#upload-props)" + }, "t-upload/data": { "type": "Object", "description": "extra request data of uploading. `formatRequest` can redefine all request data\n\n上传请求所需的额外字段,默认字段有 `file`,表示文件信息。可以添加额外的文件名字段,如:`{file_name: \"custom-file-name.txt\"}`。`autoUpload=true` 时有效。也可以使用 `formatRequest` 完全自定义上传请求的字段\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/upload?tab=api#upload-props)" }, "t-upload/disabled": { "type": "Boolean", - "description": "make upload to be disabled\n\n是否禁用\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/upload?tab=api#upload-props)" - }, - "t-upload/file-list-display": { - "type": "TNode", - "description": "used to render file list UI\n\n用于完全自定义文件列表界面内容(UI),单文件和多文件均有效\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/upload?tab=api#upload-props)" + "description": "make upload to be disabled\n\n是否禁用组件\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/upload?tab=api#upload-props)" }, "t-upload/files": { "type": "Array", @@ -4104,7 +3969,7 @@ }, "t-upload/format-response": { "type": "Function", - "description": "redefine response data structure\n\n用于格式化文件上传后的接口响应数据,`response` 便是接口响应的原始数据。`action` 存在时有效。
示例返回值:`{ error, url, status, files }`
此函数的返回值 `error` 会作为错误文本提醒,表示上传失败的原因,如果存在会判定为本次上传失败。
此函数的返回值 `url` 会作为单个文件上传成功后的链接。
`files` 表示一个请求同时上传多个文件后的文件列表\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/upload?tab=api#upload-props)" + "description": "redefine response data structure\n\n用于格式化文件上传后的接口响应数据,`response` 便是接口响应的原始数据。`action` 存在时有效。
此函数的返回值 `error` 或 `response.error` 会作为错误文本提醒,如果存在会判定为本次上传失败。
此函数的返回值 `url` 或 `response.url` 会作为上传成功后的链接\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/upload?tab=api#upload-props)" }, "t-upload/headers": { "type": "Object", @@ -4116,7 +3981,7 @@ }, "t-upload/max": { "type": "Number", - "description": "max count of files limit\n\n用于控制文件上传数量,值为 0 则不限制。注意,单文件上传场景,请勿设置 `max` 属性\n\ndefault: 0\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/upload?tab=api#upload-props)" + "description": "max count of files limit\n\n用于控制文件上传数量,值为 0 则不限制\n\ndefault: 0\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/upload?tab=api#upload-props)" }, "t-upload/method": { "type": "String", @@ -4124,12 +3989,12 @@ "POST", "GET", "PUT", - "OPTION", + "OPTIONS", "PATCH", "post", "get", "put", - "option", + "options", "patch" ], "description": "HTTP request method\n\nHTTP 请求类型\n\ndefault: POST\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/upload?tab=api#upload-props)" @@ -4138,6 +4003,10 @@ "type": "Boolean", "description": "multiple files uploading\n\n支持多文件上传\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/upload?tab=api#upload-props)" }, + "t-upload/preview": { + "type": "event", + "description": "trigger on preview elements click\n\n点击图片预览时触发,文件没有预览\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/upload?tab=api#upload-events)" + }, "t-upload/request-method": { "type": "Function", "description": "custom upload request method\n\n自定义上传方法。返回值 `status` 表示上传成功或失败;`error` 或 `response.error` 表示上传失败的原因;
`response` 表示请求上传成功后的返回数据,`response.url` 表示上传成功后的图片/文件地址,`response.files` 表示一个请求上传多个文件/图片后的返回值。
示例一:`{ status: 'fail', error: '上传失败', response }`。
示例二:`{ status: 'success', response: { url: 'https://tdesign.gtimg.com/site/avatar.jpg' } }`。
示例三:`{ status: 'success', files: [{ url: 'https://xxx.png', name: 'xxx.png' }]}`\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/upload?tab=api#upload-props)" @@ -4148,7 +4017,7 @@ }, "t-upload/use-mock-progress": { "type": "Boolean", - "description": "use mock progress, instead of real progress\n\n是否在请求时间超过 300ms 后显示模拟进度。上传进度有模拟进度和真实进度两种。一般大小的文件上传,真实的上传进度只有 0 和 100,不利于交互呈现,因此组件内置模拟上传进度。真实上传进度一般用于大文件上传。\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/upload?tab=api#upload-props)" + "description": "use mock progress, instead of real progress\n\n是否在请求时间超过 300ms 后显示模拟进度。上传进度有模拟进度和真实进度两种。一般大小的文件上传,真实的上传进度只有 0 和 100,不利于交互呈现,因此组件内置模拟上传进度。真实上传进度一般用于大文件上传\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/upload?tab=api#upload-props)" }, "t-upload/value": { "type": "Array", @@ -4162,13 +4031,13 @@ "type": "event", "description": "trigger on uploaded files change\n\n已上传文件列表发生变化时触发,`trigger` 表示触发本次的来源\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/upload?tab=api#upload-events)" }, - "t-upload/fail": { + "t-upload/click-upload": { "type": "event", - "description": "`response.error` used for error tips, `formatResponse` can format `response`\n\n上传失败后触发。`response` 指接口响应结果,`response.error` 会作为错误文本提醒。如果希望判定为上传失败,但接口响应数据不包含 `error` 字段,可以使用 `formatResponse` 格式化 `response` 数据结构。如果是多文件多请求上传场景,请到事件 `onOneFileFail` 中查看 `response`\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/upload?tab=api#upload-events)" + "description": "点击上传区域时触发\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/upload?tab=api#upload-events)" }, - "t-upload/preview": { + "t-upload/fail": { "type": "event", - "description": "trigger on preview elements click\n\n点击图片预览时触发,文件没有预览\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/upload?tab=api#upload-events)" + "description": "`response.error` used for error tips, `formatResponse` can format `response`\n\n上传失败后触发。`response` 指接口响应结果,`response.error` 会作为错误文本提醒。如果希望判定为上传失败,但接口响应数据不包含 `error` 字段,可以使用 `formatResponse` 格式化 `response` 数据结构。如果是多文件多请求上传场景,请到事件 `onOneFileFail` 中查看 `response`\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/upload?tab=api#upload-events)" }, "t-upload/progress": { "type": "event", @@ -4189,69 +4058,5 @@ "t-upload/validate": { "type": "event", "description": "trigger on length over limit, or trigger on file size over limit\n\n文件上传校验结束事件,文件数量超出、文件大小超出限制、文件同名、`beforeAllFilesUpload` 返回值为假、`beforeUpload` 返回值为假等场景会触发。
注意:如果设置允许上传同名文件,即 `allowUploadDuplicateFile=true`,则不会因为文件重名触发该事件。
结合 `status` 和 `tips` 可以在组件中呈现不同类型的错误(或告警)提示\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/upload?tab=api#upload-events)" - }, - "t-watermark/alpha": { - "type": "Number", - "description": "水印整体透明度,取值范围 [0-1]\n\ndefault: 1\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/watermark?tab=api#watermark-props)" - }, - "t-watermark/content": { - "type": "String|TNode", - "description": "水印所覆盖的内容节点\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/watermark?tab=api#watermark-props)" - }, - "t-watermark/default": { - "type": "String|TNode", - "description": "水印所覆盖的内容节点,同 `content`\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/watermark?tab=api#watermark-props)" - }, - "t-watermark/height": { - "type": "Number", - "description": "水印高度\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/watermark?tab=api#watermark-props)" - }, - "t-watermark/is-repeat": { - "type": "Boolean", - "description": "水印是否重复出现\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/watermark?tab=api#watermark-props)" - }, - "t-watermark/line-space": { - "type": "Number", - "description": "行间距,只作用在多行(`content` 配置为数组)情况下\n\ndefault: 16\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/watermark?tab=api#watermark-props)" - }, - "t-watermark/movable": { - "type": "Boolean", - "description": "水印是否可移动\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/watermark?tab=api#watermark-props)" - }, - "t-watermark/move-interval": { - "type": "Number", - "description": "水印发生运动位移的间隙,单位:毫秒\n\ndefault: 3000\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/watermark?tab=api#watermark-props)" - }, - "t-watermark/offset": { - "type": "Array", - "description": "水印在画布上绘制的水平和垂直偏移量,正常情况下水印绘制在中间位置,即 `offset = [gapX / 2, gapY / 2]`\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/watermark?tab=api#watermark-props)" - }, - "t-watermark/removable": { - "type": "Boolean", - "description": "水印是否可被删除,默认会开启水印节点防删\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/watermark?tab=api#watermark-props)" - }, - "t-watermark/rotate": { - "type": "Number", - "description": "水印旋转的角度,单位 °\n\ndefault: -22\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/watermark?tab=api#watermark-props)" - }, - "t-watermark/watermark-content": { - "type": "Object|Array", - "description": "水印内容,需要显示多行情况下可配置为数组\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/watermark?tab=api#watermark-props)" - }, - "t-watermark/width": { - "type": "Number", - "description": "水印宽度\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/watermark?tab=api#watermark-props)" - }, - "t-watermark/x": { - "type": "Number", - "description": "水印之间的水平间距\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/watermark?tab=api#watermark-props)" - }, - "t-watermark/y": { - "type": "Number", - "description": "水印之间的垂直间距\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/watermark?tab=api#watermark-props)" - }, - "t-watermark/z-index": { - "type": "Number", - "description": "水印元素的 `z-index`,默认值写在 CSS 中\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/watermark?tab=api#watermark-props)" } } \ No newline at end of file diff --git a/packages/products/tdesign-mobile-vue/helper/tags.json b/packages/products/tdesign-mobile-vue/helper/tags.json index 16a50396c..dff7259f3 100644 --- a/packages/products/tdesign-mobile-vue/helper/tags.json +++ b/packages/products/tdesign-mobile-vue/helper/tags.json @@ -11,8 +11,6 @@ "visible", "cancel", "close", - "close", - "selected", "selected" ], "description": "ActionSheet\n\n动作面板\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/action-sheet)" @@ -36,17 +34,21 @@ "cascading", "collapse-avatar", "max", - "size" + "shape", + "size", + "collapsed-item-click" ], "description": "AvatarGroup\n\n头像组\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/avatar-group)" }, "t-back-top": { "attributes": [ + "container", "fixed", "icon", "target", "text", "theme", + "visibility-height", "to-top" ], "description": "BackTop\n\n回到顶部\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/back-top)" @@ -75,6 +77,7 @@ "fixed-rows", "height", "loading", + "loading-props", "max-height", "row-key", "show-header", @@ -90,10 +93,27 @@ }, "t-table": { "attributes": [ - "row-selection-allow-uncheck", - "row-selection-type" + "bordered", + "cell-empty-content", + "columns", + "data", + "empty", + "fixed-rows", + "height", + "loading", + "loading-props", + "max-height", + "row-key", + "show-header", + "stripe", + "table-content-width", + "table-layout", + "vertical-align", + "cell-click", + "row-click", + "scroll" ], - "description": "PrimaryTable\n\n主表格\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/primary-table)" + "description": "BaseTable\n\n基础表格\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/base-table)" }, "t-button": { "attributes": [ @@ -116,12 +136,13 @@ }, "t-calendar": { "attributes": [ - "auto-close", "confirm-btn", + "default-visible", "first-day-of-week", "format", "max-date", "min-date", + "switch-mode", "title", "type", "use-popup", @@ -136,11 +157,11 @@ }, "t-cascader": { "attributes": [ + "check-strictly", "close-btn", "keys", - "lazy", - "load-completed", "options", + "placeholder", "sub-titles", "theme", "title", @@ -180,7 +201,6 @@ "t-check-tag": { "attributes": [ "checked", - "checked-props", "closable", "content", "default", @@ -188,24 +208,16 @@ "icon", "shape", "size", - "unchecked-props", "variant", "change", - "click" + "click", + "close" ], "description": "CheckTag\n\n可选标签\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/check-tag)" }, - "t-check-tag-group": { - "attributes": [ - "checked-props", - "unchecked-props" - ], - "description": "CheckTagGroup\n\n可选标签组\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/check-tag-group)" - }, "t-checkbox": { "attributes": [ "block", - "borderless", "check-all", "checked", "content", @@ -220,7 +232,6 @@ "name", "placement", "readonly", - "title", "value", "change" ], @@ -228,11 +239,12 @@ }, "t-checkbox-group": { "attributes": [ - "borderless", "disabled", + "keys", "max", "name", "options", + "readonly", "value", "change" ], @@ -274,22 +286,17 @@ }, "t-color-picker": { "attributes": [ - "clearable" + "auto-close", + "clearable", + "footer", + "header", + "popup-props", + "use-popup", + "visible", + "close" ], "description": "ColorPicker\n\n颜色选择器\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/color-picker)" }, - "t-comment": { - "attributes": [ - "actions", - "author", - "avatar", - "content", - "datetime", - "quote", - "reply" - ], - "description": "Comment\n\n评论\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/comment)" - }, "t-count-down": { "attributes": [ "auto-start", @@ -305,31 +312,23 @@ ], "description": "CountDown\n\n倒计时\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/count-down)" }, - "t-date-range-picker": { - "attributes": [ - "presets-placement", - "time-picker-props" - ], - "description": "DateRangePicker\n\n日期范围选择器\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/date-range-picker)" - }, "t-date-time-picker": { "attributes": [ + "auto-close", "cancel-btn", "confirm-btn", "end", - "footer", + "filter", "format", - "header", "mode", "render-label", "show-week", "start", - "steps", "title", + "use-popup", "value", "cancel", "change", - "close", "confirm", "pick" ], @@ -340,9 +339,9 @@ "actions", "button-layout", "cancel-btn", + "close-btn", "close-on-overlay-click", "confirm-btn", - "confirm-loading", "content", "destroy-on-close", "overlay-props", @@ -354,6 +353,7 @@ "z-index", "cancel", "close", + "closed", "confirm", "overlay-click" ], @@ -390,14 +390,14 @@ "t-dropdown-item": { "attributes": [ "disabled", + "footer", "keys", "label", "multiple", "options", "options-columns", - "options-layout", + "placement", "value", - "visible", "change", "confirm", "reset" @@ -407,6 +407,7 @@ "t-dropdown-menu": { "attributes": [ "close-on-click-overlay", + "direction", "duration", "show-overlay", "z-index" @@ -417,6 +418,7 @@ "attributes": [ "action", "description", + "icon", "image" ], "description": "Empty\n\n空状态\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/empty)" @@ -442,20 +444,18 @@ "t-form": { "attributes": [ "colon", + "content-align", "data", "disabled", "error-message", - "form-controlled-components", "label-align", "label-width", - "layout", "prevent-submit-default", "required-mark", "reset-type", "rules", "scroll-to-first-error", "show-error-message", - "status-icon", "submit-with-warning-message", "reset", "submit", @@ -465,6 +465,8 @@ }, "t-form-item": { "attributes": [ + "arrow", + "content-align", "for", "help", "label", @@ -473,11 +475,7 @@ "name", "required-mark", "rules", - "show-error-message", - "status", - "status-icon", - "success-border", - "tips" + "show-error-message" ], "description": "FormItem\n\n表单元素\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/form-item)" }, @@ -583,7 +581,6 @@ "t-indexes": { "attributes": [ "index-list", - "list", "sticky", "sticky-offset", "change", @@ -604,11 +601,13 @@ "autocomplete", "autofocus", "borderless", + "clear-trigger", "clearable", "disabled", - "error-message", + "enterkeyhint", "format", "label", + "layout", "maxcharacter", "maxlength", "name", @@ -616,6 +615,7 @@ "prefix-icon", "readonly", "size", + "spell-check", "status", "suffix", "suffix-icon", @@ -666,10 +666,12 @@ }, "t-loading": { "attributes": [ + "attach", "content", "default", "delay", "duration", + "fullscreen", "indicator", "inherit-color", "layout", @@ -695,21 +697,15 @@ "theme", "visible", "z-index", - "change", - "close", "close-btn-click", - "closed", "duration-end", - "link-click", - "open", - "opened" + "link-click" ], "description": "Message\n\n全局提醒\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/message)" }, "t-navbar": { "attributes": [ "animation", - "background", "capsule", "fixed", "left", @@ -727,49 +723,38 @@ "attributes": [ "content", "direction", - "extra", "marquee", "operation", "prefix-icon", "suffix-icon", "theme", "visible", - "change", "click" ], "description": "NoticeBar\n\n公告栏\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/notice-bar)" }, "t-overlay": { "attributes": [ + "background-color", + "custom-style", "duration", "prevent-scroll-through", - "transparent", "visible", "z-index", "click" ], "description": "Overlay\n\n遮罩层\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/overlay)" }, - "t-pagination": { - "attributes": [ - "show-first-and-last-page-btn", - "show-page-number", - "show-page-size", - "show-previous-and-next-btn" - ], - "description": "Pagination\n\n分页\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/pagination)" - }, "t-picker": { "attributes": [ "cancel-btn", "columns", "confirm-btn", "header", - "keys", + "option", "render-label", "title", "value", - "visible", "cancel", "change", "confirm", @@ -786,9 +771,7 @@ }, "t-popconfirm": { "attributes": [ - "default", - "destroy-on-close", - "trigger-element" + "default" ], "description": "Popconfirm\n\n气泡确认框\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/popconfirm)" }, @@ -811,6 +794,7 @@ "attach", "close-btn", "close-on-overlay-click", + "destroy-on-close", "overlay-props", "placement", "prevent-scroll-through", @@ -826,13 +810,6 @@ ], "description": "Popup\n\n气泡框\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/popup)" }, - "t-primary-table": { - "attributes": [ - "row-selection-allow-uncheck", - "row-selection-type" - ], - "description": "PrimaryTable\n\n主表格\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/primary-table)" - }, "t-progress": { "attributes": [ "color", @@ -862,7 +839,6 @@ }, "t-radio": { "attributes": [ - "align", "allow-uncheck", "block", "borderless", @@ -877,6 +853,7 @@ "max-label-row", "name", "placement", + "readonly", "value", "change" ], @@ -884,7 +861,6 @@ }, "t-radio-button": { "attributes": [ - "align", "allow-uncheck", "block", "borderless", @@ -899,6 +875,7 @@ "max-label-row", "name", "placement", + "readonly", "value", "change" ], @@ -914,6 +891,7 @@ "name", "options", "placement", + "readonly", "value", "change" ], @@ -955,17 +933,16 @@ "t-rate": { "attributes": [ "allow-half", - "clearable", "color", "count", "disabled", "gap", "icon", + "placement", "show-text", "size", "texts", "value", - "variant", "change" ], "description": "Rate\n\n评分\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/rate)" @@ -1009,14 +986,6 @@ ], "description": "Search\n\n搜索\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/search)" }, - "t-segmented-control": { - "attributes": [ - "items", - "value", - "change" - ], - "description": "SegmentedControl\n\n分段器\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/segmented-control)" - }, "t-select": { "attributes": [ "select-input-props", @@ -1048,6 +1017,7 @@ "animation", "delay", "loading", + "row-col", "theme" ], "description": "Skeleton\n\n骨架屏\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/skeleton)" @@ -1089,8 +1059,8 @@ "content", "icon", "status", - "sub-step-items", - "title" + "title", + "title-right" ], "description": "StepItem\n\n步骤\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/step-item)" }, @@ -1099,6 +1069,7 @@ "disable-input", "disabled", "input-width", + "integer", "max", "min", "size", @@ -1107,6 +1078,7 @@ "value", "blur", "change", + "focus", "overlimit" ], "description": "Stepper\n\n步进器\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/stepper)" @@ -1116,7 +1088,6 @@ "current", "current-status", "layout", - "options", "readonly", "separator", "sequence", @@ -1135,13 +1106,6 @@ ], "description": "Sticky\n\n吸顶容器\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/sticky)" }, - "t-sticky-tool": { - "attributes": [ - "shape", - "type" - ], - "description": "StickyTool\n\n侧边固钉\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/sticky-tool)" - }, "t-swipe-cell": { "attributes": [ "content", @@ -1168,7 +1132,6 @@ "navigation", "next-margin", "previous-margin", - "type", "change", "click" ], @@ -1179,6 +1142,7 @@ "current", "direction", "min-show-num", + "pagination-position", "placement", "show-controls", "total", @@ -1188,7 +1152,6 @@ }, "t-switch": { "attributes": [ - "colors", "custom-value", "disabled", "icon", @@ -1228,6 +1191,7 @@ "destroy-on-hide", "disabled", "label", + "lazy", "panel", "value" ], @@ -1236,9 +1200,11 @@ "t-tabs": { "attributes": [ "animation", + "bottom-line-mode", "list", "show-bottom-line", "size", + "space-evenly", "sticky", "sticky-props", "swipeable", @@ -1276,10 +1242,12 @@ "disabled", "indicator", "label", + "layout", "maxcharacter", "maxlength", "name", "placeholder", + "readonly", "value", "blur", "change", @@ -1287,33 +1255,6 @@ ], "description": "Textarea\n\n文本输入框\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/textarea)" }, - "t-time-range-picker": { - "attributes": [ - "focus" - ], - "description": "TimeRangePicker\n\n时间范围选择器\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/time-range-picker)" - }, - "t-timeline": { - "attributes": [ - "label-align", - "layout", - "mode", - "reverse", - "theme" - ], - "description": "Timeline\n\n时间轴\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/timeline)" - }, - "t-timeline-item": { - "attributes": [ - "content", - "dot", - "dot-color", - "label", - "label-align", - "click" - ], - "description": "TimelineItem\n\n时间轴\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/timeline-item)" - }, "t-toast": { "attributes": [ "direction", @@ -1330,24 +1271,12 @@ ], "description": "Toast\n\n轻提示\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/toast)" }, - "t-tooltip": { - "attributes": [], - "description": "Tooltip\n\n文字提示\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/tooltip)" - }, "t-tree-select": { "attributes": [ - "clearable", - "custom-style", - "filterable", "height", "keys", "multiple", - "multiple", "options", - "placeholder", - "select-input-props", - "size", - "tag-props", "value", "change" ], @@ -1361,9 +1290,9 @@ "allow-upload-duplicate-file", "auto-upload", "before-upload", + "capture", "data", "disabled", - "file-list-display", "files", "format", "format-request", @@ -1373,12 +1302,14 @@ "max", "method", "multiple", + "preview", "request-method", "size-limit", "use-mock-progress", "value", "with-credentials", "change", + "click-upload", "fail", "preview", "progress", @@ -1388,26 +1319,5 @@ "validate" ], "description": "Upload\n\n上传\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/upload)" - }, - "t-watermark": { - "attributes": [ - "alpha", - "content", - "default", - "height", - "is-repeat", - "line-space", - "movable", - "move-interval", - "offset", - "removable", - "rotate", - "watermark-content", - "width", - "x", - "y", - "z-index" - ], - "description": "Watermark\n\n水印\n\n[docs](https://tdesign.tencent.com/mobile-vue/components/watermark)" } } \ No newline at end of file diff --git a/packages/products/tdesign-mobile-vue/helper/web-types.json b/packages/products/tdesign-mobile-vue/helper/web-types.json index d6d5cac10..d6f4e8c74 100644 --- a/packages/products/tdesign-mobile-vue/helper/web-types.json +++ b/packages/products/tdesign-mobile-vue/helper/web-types.json @@ -119,16 +119,6 @@ "description": "关闭时触发", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/action-sheet?tab=api#actionsheet-events" }, - { - "name": "close", - "description": "关闭时触发", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/action-sheet?tab=api#actionsheet-events" - }, - { - "name": "selected", - "description": "选择菜单项时触发", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/action-sheet?tab=api#actionsheet-events" - }, { "name": "selected", "description": "选择菜单项时触发", @@ -197,12 +187,11 @@ }, { "name": "shape", - "description": "shape\n\n形状", + "description": "shape\n\n形状。优先级高于 AvatarGroup.shape 。Avatar 单独存在时,默认值为 circle。如果父组件 AvatarGroup 存在,默认值便由 AvatarGroup.shape 决定", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/avatar?tab=api#avatar-props", "type": [ "String" ], - "default": "circle", "attribute-value": { "type": "enum" }, @@ -217,12 +206,11 @@ }, { "name": "size", - "description": "size\n\n尺寸,示例值:small/medium/large/24px/38px 等。优先级高于 AvatarGroup.size 。Avatar 单独存在时,默认值为 medium。如果父组件存在 AvatarGroup,默认值便由 AvatarGroup.size 决定", + "description": "size\n\n尺寸,示例值:small/medium/large/24px/38px 等。优先级高于 AvatarGroup.size 。Avatar 单独存在时,默认值为 medium。如果父组件 AvatarGroup 存在,默认值便由 AvatarGroup.size 决定", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/avatar?tab=api#avatar-props", "type": [ "String" - ], - "default": "medium" + ] } ], "js": { @@ -287,16 +275,43 @@ "Number" ] }, + { + "name": "shape", + "description": "shape\n\n形状。优先级低于 Avatar.shape", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/avatar-group?tab=api#avatargroup-props", + "type": [ + "String" + ], + "attribute-value": { + "type": "enum" + }, + "values": [ + { + "name": "circle" + }, + { + "name": "round" + } + ] + }, { "name": "size", "description": "size\n\n尺寸,示例值:small/medium/large/24px/38px 等。优先级低于 Avatar.size", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/avatar-group?tab=api#avatargroup-props", "type": [ "String" - ], - "default": "medium" + ] } ], + "js": { + "events": [ + { + "name": "collapsed-item-click", + "description": "点击头像折叠元素触发", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/avatar-group?tab=api#avatargroup-events" + } + ] + }, "slots": [ { "name": "collapseAvatar", @@ -318,6 +333,14 @@ "description": "BackTop\n\n回到顶部", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/back-top", "props": [ + { + "name": "container", + "description": "滚动的容器", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/back-top?tab=api#backtop-props", + "type": [ + "Function" + ] + }, { "name": "fixed", "description": "是否绝对定位固定到屏幕右下方", @@ -332,9 +355,10 @@ "description": "图标", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/back-top?tab=api#backtop-props", "type": [ + "Boolean", "TNode" ], - "default": "'backtop'" + "default": "true" }, { "name": "target", @@ -378,6 +402,15 @@ "name": "half-round-dark" } ] + }, + { + "name": "visibility-height", + "description": "滚动高度达到此参数值才出现", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/back-top?tab=api#backtop-props", + "type": [ + "Number" + ], + "default": "200" } ], "js": { @@ -584,7 +617,7 @@ }, { "name": "fixed-rows", - "description": "固定行(冻结行),示例:[M, N],表示冻结表头 M 行和表尾 N 行。M 和 N 值为 0 时,表示不冻结行", + "description": "【开发中】固定行(冻结行),示例:[M, N],表示冻结表头 M 行和表尾 N 行。M 和 N 值为 0 时,表示不冻结行", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/base-table?tab=api#basetable-props", "type": [ "Array" @@ -609,6 +642,14 @@ ], "default": "undefined" }, + { + "name": "loading-props", + "description": "透传加载组件全部属性", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/base-table?tab=api#basetable-props", + "type": [ + "Object" + ] + }, { "name": "max-height", "description": "table max height\n\n表格最大高度,超出后会出现滚动条。示例:100, '30%', '300'。值为数字类型,会自动加上单位 px", @@ -655,7 +696,7 @@ }, { "name": "table-layout", - "description": "table-layout css properties, [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout). set value to be `fixed` on `resizable=true` please\n\n表格布局方式,`
` 元素原生属性。[MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout)。注意,在列宽调整下场景只能使用 `fixed` 模式", + "description": "table-layout css properties, [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout). set value to be `fixed` on `resizable=true` please\n\n表格布局方式", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/base-table?tab=api#basetable-props", "type": [ "String" @@ -795,7 +836,7 @@ }, { "name": "fixed-rows", - "description": "固定行(冻结行),示例:[M, N],表示冻结表头 M 行和表尾 N 行。M 和 N 值为 0 时,表示不冻结行", + "description": "【开发中】固定行(冻结行),示例:[M, N],表示冻结表头 M 行和表尾 N 行。M 和 N 值为 0 时,表示不冻结行", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/base-table?tab=api#basetable-props", "type": [ "Array" @@ -820,6 +861,14 @@ ], "default": "undefined" }, + { + "name": "loading-props", + "description": "透传加载组件全部属性", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/base-table?tab=api#basetable-props", + "type": [ + "Object" + ] + }, { "name": "max-height", "description": "table max height\n\n表格最大高度,超出后会出现滚动条。示例:100, '30%', '300'。值为数字类型,会自动加上单位 px", @@ -866,7 +915,7 @@ }, { "name": "table-layout", - "description": "table-layout css properties, [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout). set value to be `fixed` on `resizable=true` please\n\n表格布局方式,`
` 元素原生属性。[MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout)。注意,在列宽调整下场景只能使用 `fixed` 模式", + "description": "table-layout css properties, [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout). set value to be `fixed` on `resizable=true` please\n\n表格布局方式", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/base-table?tab=api#basetable-props", "type": [ "String" @@ -978,12 +1027,12 @@ }, { "name": "disabled", - "description": "disable the button, make it can not be clicked\n\n禁用状态", + "description": "disable the button, make it can not be clicked\n\n禁用状态。优先级:Button.disabled > Form.disabled", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/button?tab=api#button-props", "type": [ "Boolean" ], - "default": "false" + "default": "undefined" }, { "name": "ghost", @@ -1013,7 +1062,7 @@ }, { "name": "loading-props", - "description": "透传加载组件全部属性", + "description": "透传 Loading 组件全部属性", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/button?tab=api#button-props", "type": [ "Object" @@ -1130,7 +1179,7 @@ }, { "name": "variant", - "description": "button variant\n\n按钮形式,基础、线框、文字", + "description": "variant of button\n\n按钮形式,基础、线框、虚线、文字", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/button?tab=api#button-props", "type": [ "String" @@ -1146,6 +1195,9 @@ { "name": "outline" }, + { + "name": "dashed" + }, { "name": "text" } @@ -1187,18 +1239,9 @@ "description": "Calendar\n\n日历", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/calendar", "props": [ - { - "name": "auto-close", - "description": "自动关闭;在点击关闭按钮、确认按钮、遮罩层时自动关闭,不需要手动设置 visible", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/calendar?tab=api#calendar-props", - "type": [ - "Boolean" - ], - "default": "true" - }, { "name": "confirm-btn", - "description": "确认按钮。值为 null 则不显示确认按钮。值类型为字符串,则表示自定义按钮文本,值类型为 Object 则表示透传 Button 组件属性。", + "description": "确认按钮。值为 null 则不显示确认按钮。值类型为字符串,则表示自定义按钮文本,值类型为 Object 则表示透传 Button 组件属性", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/calendar?tab=api#calendar-props", "type": [ "String", @@ -1207,6 +1250,15 @@ ], "default": "''" }, + { + "name": "default-visible", + "description": "是否显示日历;`usePopup` 为 true 时有效。非受控属性", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/calendar?tab=api#calendar-props", + "type": [ + "Boolean" + ], + "default": "false" + }, { "name": "first-day-of-week", "description": "第一天从星期几开始,默认 0 = 周日", @@ -1242,6 +1294,29 @@ "Date" ] }, + { + "name": "switch-mode", + "description": "【开发中】切换模式。 `none` 表示水平方向平铺展示所有月份; `month` 表示支持按月切换, `year-month` 表示既按年切换,也支持按月切换", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/calendar?tab=api#calendar-props", + "type": [ + "String" + ], + "default": "none", + "attribute-value": { + "type": "enum" + }, + "values": [ + { + "name": "none" + }, + { + "name": "month" + }, + { + "name": "year-month" + } + ] + }, { "name": "title", "description": "标题,不传默认为“请选择日期”", @@ -1295,7 +1370,7 @@ }, { "name": "visible", - "description": "是否显示日历;`usePopup` 为 true 时有效", + "description": "是否显示日历;`usePopup` 为 true 时有效。支持语法糖 `v-model:visible`", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/calendar?tab=api#calendar-props", "type": [ "Boolean" @@ -1330,12 +1405,12 @@ "slots": [ { "name": "confirmBtn", - "description": "确认按钮。值为 null 则不显示确认按钮。值类型为字符串,则表示自定义按钮文本,值类型为 Object 则表示透传 Button 组件属性。类型和参数:string | ButtonProps | TNode | null【import { ButtonProps } from '@Button'】", + "description": "确认按钮。值为 null 则不显示确认按钮。值类型为字符串,则表示自定义按钮文本,值类型为 Object 则表示透传 Button 组件属性类型和参数:string | ButtonProps | TNode | null【import { ButtonProps } from '@Button'】", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/calendar?tab=api#calendar-props" }, { "name": "confirm-btn", - "description": "确认按钮。值为 null 则不显示确认按钮。值类型为字符串,则表示自定义按钮文本,值类型为 Object 则表示透传 Button 组件属性。类型和参数:string | ButtonProps | TNode | null【import { ButtonProps } from '@Button'】", + "description": "确认按钮。值为 null 则不显示确认按钮。值类型为字符串,则表示自定义按钮文本,值类型为 Object 则表示透传 Button 组件属性类型和参数:string | ButtonProps | TNode | null【import { ButtonProps } from '@Button'】", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/calendar?tab=api#calendar-props" }, { @@ -1353,6 +1428,15 @@ "description": "Cascader\n\n级联选择", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/cascader", "props": [ + { + "name": "check-strictly", + "description": "父子节点选中状态不再关联,可各自选中或取消", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/cascader?tab=api#cascader-props", + "type": [ + "Boolean" + ], + "default": "false" + }, { "name": "close-btn", "description": "关闭按钮", @@ -1372,31 +1456,23 @@ ] }, { - "name": "lazy", - "description": "是否异步加载", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/cascader?tab=api#cascader-props", - "type": [ - "Boolean" - ], - "default": "false" - }, - { - "name": "load-completed", - "description": "是否完成异步加载", + "name": "options", + "description": "可选项数据源", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/cascader?tab=api#cascader-props", "type": [ - "Boolean" + "Array" ], - "default": "false" + "default": "[]" }, { - "name": "options", - "description": "可选项数据源", + "name": "placeholder", + "description": "未选中时的提示文案", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/cascader?tab=api#cascader-props", "type": [ - "Array" + "String", + "TNode" ], - "default": "[]" + "default": "'选择选项'" }, { "name": "sub-titles", @@ -1485,6 +1561,11 @@ "description": "关闭按钮", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/cascader?tab=api#cascader-props" }, + { + "name": "placeholder", + "description": "未选中时的提示文案", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/cascader?tab=api#cascader-props" + }, { "name": "title", "description": "标题", @@ -1677,7 +1758,8 @@ "doc-url": "https://tdesign.tencent.com/mobile-vue/components/cell-group?tab=api#cellgroup-props", "type": [ "Boolean" - ] + ], + "default": "false" }, { "name": "theme", @@ -1726,14 +1808,6 @@ "Boolean" ] }, - { - "name": "checked-props", - "description": "used to set checked tag props\n\n透传标签选中态属性", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/check-tag?tab=api#checktag-props", - "type": [ - "Object" - ] - }, { "name": "closable", "description": "标签是否可关闭", @@ -1826,14 +1900,6 @@ } ] }, - { - "name": "unchecked-props", - "description": "used to set unchecked tag props\n\n透传标签未选态属性", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/check-tag?tab=api#checktag-props", - "type": [ - "Object" - ] - }, { "name": "variant", "description": "标签风格变体", @@ -1872,6 +1938,11 @@ "name": "click", "description": "点击标签时触发", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/check-tag?tab=api#checktag-events" + }, + { + "name": "close", + "description": "如果关闭按钮存在,点击关闭按钮时触发", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/check-tag?tab=api#checktag-events" } ] }, @@ -1893,33 +1964,6 @@ } ] }, - { - "name": "t-check-tag-group", - "source": { - "symbol": "CheckTagGroup" - }, - "description": "CheckTagGroup\n\n可选标签组", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/check-tag-group", - "props": [ - { - "name": "checked-props", - "description": "used to set checked tag props\n\n透传标签选中态属性", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/check-tag-group?tab=api#checktaggroup-props", - "type": [ - "Object" - ] - }, - { - "name": "unchecked-props", - "description": "used to set unchecked tag props\n\n透传标签未选态属性", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/check-tag-group?tab=api#checktaggroup-props", - "type": [ - "Object" - ] - } - ], - "slots": [] - }, { "name": "t-checkbox", "source": { @@ -1937,15 +1981,6 @@ ], "default": "true" }, - { - "name": "borderless", - "description": "是否开启无边框模式", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/checkbox?tab=api#checkbox-props", - "type": [ - "Boolean" - ], - "default": "false" - }, { "name": "check-all", "description": "用于标识是否为「全选选项」。单独使用无效,需在 CheckboxGroup 中使用", @@ -2001,7 +2036,7 @@ }, { "name": "icon", - "description": "自定义选中图标和非选中图标。使用 Array 时表示:[选中态图标,非选中态图标]。使用 String 时,值为 circle 表示填充圆形图标、值为 line 表示描边型图标、值为 rectangle 表示填充矩形图标。", + "description": "自定义选中图标和非选中图标。使用 Array 时表示:[选中态图标,非选中态图标]。使用 String 时,值为 circle 表示填充圆形图标、值为 line 表示描边型图标、值为 rectangle 表示填充矩形图标", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/checkbox?tab=api#checkbox-props", "type": [ "String", @@ -2081,15 +2116,7 @@ "type": [ "Boolean" ], - "default": "false" - }, - { - "name": "title", - "description": "html attribute\n\nHTML 原生属性", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/checkbox?tab=api#checkbox-props", - "type": [ - "String" - ] + "default": "undefined" }, { "name": "value", @@ -2138,20 +2165,20 @@ "doc-url": "https://tdesign.tencent.com/mobile-vue/components/checkbox-group", "props": [ { - "name": "borderless", - "description": "是否开启无边框模式", + "name": "disabled", + "description": "是否禁用组件。优先级:Form.disabled < CheckboxGroup.disabled < Checkbox.disabled", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/checkbox-group?tab=api#checkboxgroup-props", "type": [ "Boolean" ], - "default": "false" + "default": "undefined" }, { - "name": "disabled", - "description": "是否禁用组件,默认为 false。优先级:CheckboxGroup.disabled < Checkbox.disabled", + "name": "keys", + "description": "用来定义 value / label 在 `options` 中对应的字段别名", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/checkbox-group?tab=api#checkboxgroup-props", "type": [ - "Boolean" + "Object" ] }, { @@ -2179,6 +2206,15 @@ "Array" ] }, + { + "name": "readonly", + "description": "只读状态", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/checkbox-group?tab=api#checkboxgroup-props", + "type": [ + "Boolean" + ], + "default": "undefined" + }, { "name": "value", "description": "选中值", @@ -2393,7 +2429,6 @@ "description": "面板头左侧图标", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/collapse-panel?tab=api#collapsepanel-props", "type": [ - "String", "TNode" ] }, @@ -2492,6 +2527,15 @@ "description": "ColorPicker\n\n颜色选择器", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/color-picker", "props": [ + { + "name": "auto-close", + "description": "自动关闭。在点击遮罩层时自动关闭,不需要手动设置 visible", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/color-picker?tab=api#colorpicker-props", + "type": [ + "Boolean" + ], + "default": "true" + }, { "name": "clearable", "description": "是否可清空", @@ -2500,112 +2544,70 @@ "Boolean" ], "default": "false" - } - ], - "slots": [] - }, - { - "name": "t-comment", - "source": { - "symbol": "Comment" - }, - "description": "Comment\n\n评论", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/comment", - "props": [ - { - "name": "actions", - "description": "操作", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/comment?tab=api#comment-props", - "type": [ - "Array" - ] }, { - "name": "author", - "description": "作者", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/comment?tab=api#comment-props", + "name": "footer", + "description": "底部插槽,仅在 `usePopup` 为 `true` 时有效", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/color-picker?tab=api#colorpicker-props", "type": [ - "String", "TNode" ] }, { - "name": "avatar", - "description": "头像", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/comment?tab=api#comment-props", + "name": "header", + "description": "顶部插槽,仅在 `usePopup` 为 `true` 时有效", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/color-picker?tab=api#colorpicker-props", "type": [ - "String", - "Object", "TNode" ] }, { - "name": "content", - "description": "内容", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/comment?tab=api#comment-props", + "name": "popup-props", + "description": "popupProps透传", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/color-picker?tab=api#colorpicker-props", "type": [ - "String", - "TNode" - ] + "Object" + ], + "default": "{}" }, { - "name": "datetime", - "description": "时间", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/comment?tab=api#comment-props", - "type": [ - "String", - "TNode" - ] - }, - { - "name": "quote", - "description": "引用", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/comment?tab=api#comment-props", + "name": "use-popup", + "description": "是否使用弹出层包裹颜色选择器", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/color-picker?tab=api#colorpicker-props", "type": [ - "String", - "TNode" - ] + "Boolean" + ], + "default": "false" }, { - "name": "reply", - "description": "回复", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/comment?tab=api#comment-props", + "name": "visible", + "description": "是否显示颜色选择器。`usePopup` 为 true 时有效", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/color-picker?tab=api#colorpicker-props", "type": [ - "String", - "TNode" - ] + "Boolean" + ], + "default": "false" } ], + "js": { + "events": [ + { + "name": "close", + "description": "关闭按钮时触发", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/color-picker?tab=api#colorpicker-events" + } + ] + }, "slots": [ { - "name": "author", - "description": "作者", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/comment?tab=api#comment-props" - }, - { - "name": "avatar", - "description": "头像类型和参数:string | AvatarProps | TNode【import { AvatarProps } from '@Avatar'】", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/comment?tab=api#comment-props" - }, - { - "name": "content", - "description": "内容", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/comment?tab=api#comment-props" - }, - { - "name": "datetime", - "description": "时间", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/comment?tab=api#comment-props" - }, - { - "name": "quote", - "description": "引用", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/comment?tab=api#comment-props" + "name": "footer", + "description": "底部插槽,仅在 `usePopup` 为 `true` 时有效", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/color-picker?tab=api#colorpicker-props" }, { - "name": "reply", - "description": "回复", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/comment?tab=api#comment-props" + "name": "header", + "description": "顶部插槽,仅在 `usePopup` 为 `true` 时有效", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/color-picker?tab=api#colorpicker-props" } ] }, @@ -2661,7 +2663,7 @@ "type": [ "String" ], - "default": "'small'", + "default": "'medium'", "attribute-value": { "type": "enum" }, @@ -2715,7 +2717,8 @@ "doc-url": "https://tdesign.tencent.com/mobile-vue/components/count-down?tab=api#countdown-props", "type": [ "Number" - ] + ], + "default": "0" } ], "js": { @@ -2740,51 +2743,6 @@ } ] }, - { - "name": "t-date-range-picker", - "source": { - "symbol": "DateRangePicker" - }, - "description": "DateRangePicker\n\n日期范围选择器", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/date-range-picker", - "props": [ - { - "name": "presets-placement", - "description": "预设面板展示区域(包含确定按钮)", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/date-range-picker?tab=api#daterangepicker-props", - "type": [ - "String" - ], - "default": "bottom", - "attribute-value": { - "type": "enum" - }, - "values": [ - { - "name": "left" - }, - { - "name": "top" - }, - { - "name": "right" - }, - { - "name": "bottom" - } - ] - }, - { - "name": "time-picker-props", - "description": "透传 TimePicker 组件属性", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/date-range-picker?tab=api#daterangepicker-props", - "type": [ - "Object" - ] - } - ], - "slots": [] - }, { "name": "t-date-time-picker", "source": { @@ -2793,6 +2751,15 @@ "description": "DateTimePicker\n\n日期时间选择器", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/date-time-picker", "props": [ + { + "name": "auto-close", + "description": "自动关闭;在确认、取消、点击遮罩层自动关闭,不需要手动设置 visible", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/date-time-picker?tab=api#datetimepicker-props", + "type": [ + "Boolean" + ], + "default": "false" + }, { "name": "cancel-btn", "description": "取消按钮文字", @@ -2820,34 +2787,22 @@ ] }, { - "name": "footer", - "description": "底部内容", + "name": "filter", + "description": "列选项过滤函数,支持自定义列内容。(type 值可为: year, month, date, hour, minute, second)", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/date-time-picker?tab=api#datetimepicker-props", "type": [ - "Boolean", - "TNode" - ], - "default": "true" + "Function" + ] }, { "name": "format", - "description": "用于格式化 pick、change、confirm 事件返回的值,[详细文档](https://day.js.org/docs/en/display/format)", + "description": "用于pick、change、confirm事件参数格式化[详细文档](https://day.js.org/docs/en/display/format)", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/date-time-picker?tab=api#datetimepicker-props", "type": [ "String" ], "default": "'YYYY-MM-DD HH:mm:ss'" }, - { - "name": "header", - "description": "头部内容。值为 true 显示空白头部,值为 false 不显示任何内容", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/date-time-picker?tab=api#datetimepicker-props", - "type": [ - "Boolean", - "TNode" - ], - "default": "true" - }, { "name": "mode", "description": "year = 年;month = 年月;date = 年月日;hour = 年月日时; minute = 年月日时分;当类型为数组时,第一个值控制年月日,第二个值控制时分秒", @@ -2885,20 +2840,22 @@ ] }, { - "name": "steps", - "description": "时间间隔步数,示例:`{ minute: 5 }`", + "name": "title", + "description": "title of picker\n\n标题", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/date-time-picker?tab=api#datetimepicker-props", "type": [ - "Object" - ] + "String" + ], + "default": "'选择时间'" }, { - "name": "title", - "description": "title of picker\n\n标题", + "name": "use-popup", + "description": "是否使用弹出层包裹", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/date-time-picker?tab=api#datetimepicker-props", "type": [ - "String" - ] + "Boolean" + ], + "default": "true" }, { "name": "value", @@ -2922,11 +2879,6 @@ "description": "value改变时触发", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/date-time-picker?tab=api#datetimepicker-events" }, - { - "name": "close", - "description": "关闭时触发", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/date-time-picker?tab=api#datetimepicker-events" - }, { "name": "confirm", "description": "确认按钮点击时触发", @@ -2939,18 +2891,7 @@ } ] }, - "slots": [ - { - "name": "footer", - "description": "底部内容", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/date-time-picker?tab=api#datetimepicker-props" - }, - { - "name": "header", - "description": "头部内容。值为 true 显示空白头部,值为 false 不显示任何内容", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/date-time-picker?tab=api#datetimepicker-props" - } - ] + "slots": [] }, { "name": "t-dialog", @@ -2999,6 +2940,15 @@ "TNode" ] }, + { + "name": "close-btn", + "description": "多按钮排列方式。可选项:true/false", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/dialog?tab=api#dialog-props", + "type": [ + "Boolean" + ], + "default": "false" + }, { "name": "close-on-overlay-click", "description": "点击蒙层时是否触发关闭事件", @@ -3006,7 +2956,7 @@ "type": [ "Boolean" ], - "default": "undefined" + "default": "false" }, { "name": "confirm-btn", @@ -3018,15 +2968,6 @@ "TNode" ] }, - { - "name": "confirm-loading", - "description": "confirm button loading status\n\n确认按钮加载状态", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/dialog?tab=api#dialog-props", - "type": [ - "Boolean" - ], - "default": "undefined" - }, { "name": "content", "description": "内容", @@ -3119,6 +3060,11 @@ "description": "关闭事件,点击 取消按钮 或 点击蒙层 时触发", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/dialog?tab=api#dialog-events" }, + { + "name": "closed", + "description": "对话框消失动画效果结束后触发", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/dialog?tab=api#dialog-events" + }, { "name": "confirm", "description": "如果“确认”按钮存在,则点击“确认”按钮时触发", @@ -3285,7 +3231,7 @@ "type": [ "Boolean" ], - "default": "undefined" + "default": "true" }, { "name": "destroy-on-close", @@ -3372,7 +3318,7 @@ "events": [ { "name": "close", - "description": "关闭时触发", + "description": "关闭时触发。", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/drawer?tab=api#drawer-events" }, { @@ -3410,13 +3356,21 @@ "props": [ { "name": "disabled", - "description": "是否禁用", + "description": "是否禁用操作项", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/dropdown-item?tab=api#dropdownitem-props", "type": [ "Boolean" ], "default": "false" }, + { + "name": "footer", + "description": "底部", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/dropdown-item?tab=api#dropdownitem-props", + "type": [ + "TNode" + ] + }, { "name": "keys", "description": "用来定义 value / label 在 `options` 中对应的字段别名", @@ -3462,13 +3416,24 @@ "default": "1" }, { - "name": "options-layout", - "description": "选项排列;不再支持 tree 布局,可与 treeSelect 配合使用", + "name": "placement", + "description": "复选框和内容相对位置,仅单选菜单栏有效", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/dropdown-item?tab=api#dropdownitem-props", "type": [ "String" ], - "default": "columns" + "default": "left", + "attribute-value": { + "type": "enum" + }, + "values": [ + { + "name": "left" + }, + { + "name": "right" + } + ] }, { "name": "value", @@ -3480,15 +3445,6 @@ "Array" ], "default": "undefined" - }, - { - "name": "visible", - "description": "是否展示", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/dropdown-item?tab=api#dropdownitem-props", - "type": [ - "Boolean" - ], - "default": "false" } ], "js": { @@ -3510,7 +3466,13 @@ } ] }, - "slots": [] + "slots": [ + { + "name": "footer", + "description": "底部", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/dropdown-item?tab=api#dropdownitem-props" + } + ] }, { "name": "t-dropdown-menu", @@ -3529,6 +3491,26 @@ ], "default": "true" }, + { + "name": "direction", + "description": "菜单展开方向", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/dropdown-menu?tab=api#dropdownmenu-props", + "type": [ + "String" + ], + "default": "down", + "attribute-value": { + "type": "enum" + }, + "values": [ + { + "name": "down" + }, + { + "name": "up" + } + ] + }, { "name": "duration", "description": "动画时长", @@ -3570,7 +3552,7 @@ "props": [ { "name": "action", - "description": "action block\n\n操作区域", + "description": "action block\n\n操作按钮", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/empty?tab=api#empty-props", "type": [ "TNode" @@ -3585,9 +3567,18 @@ "TNode" ] }, + { + "name": "icon", + "description": "图标", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/empty?tab=api#empty-props", + "type": [ + "String", + "TNode" + ] + }, { "name": "image", - "description": "image url, or Image component props, or custom any node you need.\n\n组件图片,可以完全自定义内容。值类型为字符串时,表示图片地址;值类型为对象时,则表示透传全部属性到图片组件,示例:``", + "description": "image url, or Image component props, or custom any node you need\n\n图片地址", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/empty?tab=api#empty-props", "type": [ "String", @@ -3598,7 +3589,7 @@ "slots": [ { "name": "action", - "description": "action block\n\n操作区域", + "description": "action block\n\n操作按钮", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/empty?tab=api#empty-props" }, { @@ -3606,9 +3597,14 @@ "description": "empty component description\n\n描述文字", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/empty?tab=api#empty-props" }, + { + "name": "icon", + "description": "图标", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/empty?tab=api#empty-props" + }, { "name": "image", - "description": "image url, or Image component props, or custom any node you need.\n\n组件图片,可以完全自定义内容。值类型为字符串时,表示图片地址;值类型为对象时,则表示透传全部属性到图片组件,示例:``类型和参数:string | ImageProps | TNode 【import { ImageProps } from '@Image'】", + "description": "image url, or Image component props, or custom any node you need\n\n图片地址", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/empty?tab=api#empty-props" } ] @@ -3726,6 +3722,26 @@ ], "default": "false" }, + { + "name": "content-align", + "description": "表单内容对齐方式:左对齐、右对齐", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/form?tab=api#form-props", + "type": [ + "String" + ], + "default": "left", + "attribute-value": { + "type": "enum" + }, + "values": [ + { + "name": "left" + }, + { + "name": "right" + } + ] + }, { "name": "data", "description": "表单数据", @@ -3752,14 +3768,6 @@ "Object" ] }, - { - "name": "form-controlled-components", - "description": "允许表单统一控制禁用状态的自定义组件名称列表。默认会有组件库的全部输入类组件:TInput、TInputNumber、TCascader、TSelect、TOption、TSwitch、TCheckbox、TCheckboxGroup、TRadio、TRadioGroup、TTreeSelect、TDatePicker、TTimePicker、TUpload、TTransfer、TSlider。对于自定义组件,组件内部需要包含可以控制表单禁用状态的变量 `formDisabled`。示例:`['CustomUpload', 'CustomInput']`", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/form?tab=api#form-props", - "type": [ - "Array" - ] - }, { "name": "label-align", "description": "表单字段标签对齐方式:左对齐、右对齐、顶部对齐", @@ -3785,40 +3793,20 @@ }, { "name": "label-width", - "description": "可以整体设置label标签宽度,默认为100px", + "description": "可以整体设置label标签宽度,默认为81px", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/form?tab=api#form-props", "type": [ "String", "Number" ], - "default": "'100px'" + "default": "'81px'" }, { - "name": "layout", - "description": "表单布局,有两种方式:纵向布局 和 行内布局", + "name": "prevent-submit-default", + "description": "是否阻止表单提交默认事件(表单提交默认事件会刷新页面),设置为 `true` 可以避免刷新", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/form?tab=api#form-props", "type": [ - "String" - ], - "default": "vertical", - "attribute-value": { - "type": "enum" - }, - "values": [ - { - "name": "vertical" - }, - { - "name": "inline" - } - ] - }, - { - "name": "prevent-submit-default", - "description": "是否阻止表单提交默认事件(表单提交默认事件会刷新页面),设置为 `true` 可以避免刷新", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/form?tab=api#form-props", - "type": [ - "Boolean" + "Boolean" ], "default": "true" }, @@ -3890,16 +3878,6 @@ ], "default": "true" }, - { - "name": "status-icon", - "description": "校验状态图标,值为 `true` 显示默认图标,默认图标有 成功、失败、警告 等,不同的状态图标不同。`statusIcon` 值为 `false`,不显示图标。`statusIcon` 值类型为渲染函数,则可以自定义右侧状态图标", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/form?tab=api#form-props", - "type": [ - "Boolean", - "TNode" - ], - "default": "undefined" - }, { "name": "submit-with-warning-message", "description": "【讨论中】当校验结果只有告警信息时,是否触发 `submit` 提交事件", @@ -3929,18 +3907,7 @@ } ] }, - "slots": [ - { - "name": "statusIcon", - "description": "校验状态图标,值为 `true` 显示默认图标,默认图标有 成功、失败、警告 等,不同的状态图标不同。`statusIcon` 值为 `false`,不显示图标。`statusIcon` 值类型为渲染函数,则可以自定义右侧状态图标类型和参数:boolean | TNode", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/form?tab=api#form-props" - }, - { - "name": "status-icon", - "description": "校验状态图标,值为 `true` 显示默认图标,默认图标有 成功、失败、警告 等,不同的状态图标不同。`statusIcon` 值为 `false`,不显示图标。`statusIcon` 值类型为渲染函数,则可以自定义右侧状态图标类型和参数:boolean | TNode", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/form?tab=api#form-props" - } - ] + "slots": [] }, { "name": "t-form-item", @@ -3950,6 +3917,35 @@ "description": "FormItem\n\n表单元素", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/form-item", "props": [ + { + "name": "arrow", + "description": "是否显示右侧箭头", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/form-item?tab=api#formitem-props", + "type": [ + "Boolean" + ], + "default": "false" + }, + { + "name": "content-align", + "description": "表单内容对齐方式:左对齐、右对齐", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/form-item?tab=api#formitem-props", + "type": [ + "String" + ], + "default": "left", + "attribute-value": { + "type": "enum" + }, + "values": [ + { + "name": "left" + }, + { + "name": "right" + } + ] + }, { "name": "for", "description": "label 原生属性", @@ -4013,7 +4009,8 @@ "description": "表单字段名称", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/form-item?tab=api#formitem-props", "type": [ - "String" + "String", + "Number" ] }, { @@ -4041,42 +4038,6 @@ "Boolean" ], "default": "undefined" - }, - { - "name": "status", - "description": "校验状态,可在需要完全自主控制校验状态时使用", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/form-item?tab=api#formitem-props", - "type": [ - "String" - ] - }, - { - "name": "status-icon", - "description": "校验状态图标,值为 `true` 显示默认图标,默认图标有 成功、失败、警告 等,不同的状态图标不同。`statusIcon` 值为 `false`,不显示图标。`statusIcon` 值类型为渲染函数,则可以自定义右侧状态图标。优先级高级 Form 的 statusIcon", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/form-item?tab=api#formitem-props", - "type": [ - "Boolean", - "TNode" - ], - "default": "undefined" - }, - { - "name": "success-border", - "description": "是否显示校验成功的边框,默认不显示", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/form-item?tab=api#formitem-props", - "type": [ - "Boolean" - ], - "default": "false" - }, - { - "name": "tips", - "description": "自定义提示内容,样式跟随 `status` 变动,可在需要完全自主控制校验规则时使用", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/form-item?tab=api#formitem-props", - "type": [ - "String", - "TNode" - ] } ], "slots": [ @@ -4089,21 +4050,6 @@ "name": "label", "description": "字段标签名称", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/form-item?tab=api#formitem-props" - }, - { - "name": "statusIcon", - "description": "校验状态图标,值为 `true` 显示默认图标,默认图标有 成功、失败、警告 等,不同的状态图标不同。`statusIcon` 值为 `false`,不显示图标。`statusIcon` 值类型为渲染函数,则可以自定义右侧状态图标。优先级高级 Form 的 statusIcon", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/form-item?tab=api#formitem-props" - }, - { - "name": "status-icon", - "description": "校验状态图标,值为 `true` 显示默认图标,默认图标有 成功、失败、警告 等,不同的状态图标不同。`statusIcon` 值为 `false`,不显示图标。`statusIcon` 值类型为渲染函数,则可以自定义右侧状态图标。优先级高级 Form 的 statusIcon", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/form-item?tab=api#formitem-props" - }, - { - "name": "tips", - "description": "自定义提示内容,样式跟随 `status` 变动,可在需要完全自主控制校验规则时使用", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/form-item?tab=api#formitem-props" } ] }, @@ -4382,7 +4328,7 @@ }, { "name": "steps", - "description": "用于定义每个步骤的内容,包括高亮的节点、相对位置和具体的文案内容等。", + "description": "用于定义每个步骤的内容,包括高亮的节点、相对位置和具体的文案内容等", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/guide?tab=api#guide-props", "type": [ "Array" @@ -4721,11 +4667,10 @@ }, { "name": "src", - "description": "src attribute of ``. image File can also be loaded\n\n用于显示图片的链接或原始图片文件对象", + "description": "图片链接", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/image?tab=api#image-props", "type": [ - "String", - "Object" + "String" ] }, { @@ -4807,8 +4752,7 @@ "doc-url": "https://tdesign.tencent.com/mobile-vue/components/image-viewer?tab=api#imageviewer-props", "type": [ "Number" - ], - "default": "0" + ] }, { "name": "max-zoom", @@ -4896,15 +4840,6 @@ "Array" ] }, - { - "name": "list", - "description": "索引列表的列表数据。每个元素包含三个子元素,index(string):索引值,例如1,2,3,...或A,B,C等;title(string): 索引标题,可不填将默认设为索引值;children(Array<{title: string}>): 子元素列表,title为子元素的展示文案。", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/indexes?tab=api#indexes-props", - "type": [ - "Array" - ], - "default": "[]" - }, { "name": "sticky", "description": "索引是否吸顶,默认为true", @@ -5020,13 +4955,33 @@ }, { "name": "borderless", - "description": "input without border\n\n【开发中】无边框模式", + "description": "input without border\n\n是否开启无边框模式", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/input?tab=api#input-props", "type": [ "Boolean" ], "default": "false" }, + { + "name": "clear-trigger", + "description": "show clear icon, clicked to clear input value\n\n清空图标触发方式,仅在输入框有值时有效", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/input?tab=api#input-props", + "type": [ + "String" + ], + "default": "always", + "attribute-value": { + "type": "enum" + }, + "values": [ + { + "name": "always " + }, + { + "name": " focus" + } + ] + }, { "name": "clearable", "description": "show clear icon, clicked to clear input value\n\n是否可清空", @@ -5042,19 +4997,46 @@ "doc-url": "https://tdesign.tencent.com/mobile-vue/components/input?tab=api#input-props", "type": [ "Boolean" - ] + ], + "default": "undefined" }, { - "name": "error-message", - "description": "错误提示文本,值为空不显示(废弃属性,如果需要,请更为使用 status 和 tips)", + "name": "enterkeyhint", + "description": "attribute of input element, [see here](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/enterkeyhint)\n\n用于控制回车键样式,此 API 仅在部分浏览器支持,HTML5 原生属性,[点击查看详情](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/enterkeyhint)", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/input?tab=api#input-props", "type": [ "String" + ], + "attribute-value": { + "type": "enum" + }, + "values": [ + { + "name": "enter" + }, + { + "name": "done" + }, + { + "name": "go" + }, + { + "name": "next" + }, + { + "name": "previous" + }, + { + "name": "search" + }, + { + "name": "send" + } ] }, { "name": "format", - "description": "input value formatter, `type=number` does not work. if you need to format number, `InputNumber` Component might be better\n\n指定输入框展示值的格式。注意 `type=number` 时请勿使用,此功能建议更为使用 `InputNumber` 组件", + "description": "input value formatter, `type=number` does not work. if you need to format number, `InputNumber` Component might be better\n\n指定输入框展示值的格式", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/input?tab=api#input-props", "type": [ "Function" @@ -5069,6 +5051,26 @@ "TNode" ] }, + { + "name": "layout", + "description": "标题输入框布局方式", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/input?tab=api#input-props", + "type": [ + "String" + ], + "default": "horizontal", + "attribute-value": { + "type": "enum" + }, + "values": [ + { + "name": "vertical" + }, + { + "name": "horizontal" + } + ] + }, { "name": "maxcharacter", "description": "用户最多可以输入的字符个数,一个中文汉字表示两个字符长度。`maxcharacter` 和 `maxlength` 二选一使用", @@ -5079,7 +5081,7 @@ }, { "name": "maxlength", - "description": "用户最多可以输入的文本长度,一个中文等于一个计数长度。值为空,则表示不限制输入长度。`maxcharacter` 和 `maxlength` 二选一使用", + "description": "用户最多可以输入的文本长度,一个中文等于一个计数长度。默认为空,不限制输入长度。`maxcharacter` 和 `maxlength` 二选一使用", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/input?tab=api#input-props", "type": [ "String", @@ -5118,11 +5120,11 @@ "type": [ "Boolean" ], - "default": "false" + "default": "undefined" }, { "name": "size", - "description": "已废弃。输入框尺寸", + "description": "输入框尺寸", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/input?tab=api#input-props", "type": [ "String" @@ -5140,14 +5142,23 @@ } ] }, + { + "name": "spell-check", + "description": "attribute of input element, [see here](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/spellcheck)\n\n是否开启拼写检查,HTML5 原生属性,[点击查看详情](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/spellcheck)", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/input?tab=api#input-props", + "type": [ + "Boolean" + ], + "default": "false" + }, { "name": "status", - "description": "输入框状态。默认情况会由组件内部根据实际情况呈现,如果文本过长引起的状态变化", + "description": "输入框状态", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/input?tab=api#input-props", "type": [ "String" ], - "default": "undefined", + "default": "default", "attribute-value": { "type": "enum" }, @@ -5194,7 +5205,7 @@ }, { "name": "type", - "description": "type attribute of input element. if you are using `type=number`, `InputNumber` Component might be better\n\n输入框类型。`type=number` 仅支持最基础的数字输入功能,更多功能建议使用 `InputNumber` 组件", + "description": "type attribute of input element. if you are using `type=number`, `InputNumber` Component might be better\n\n输入框类型", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/input?tab=api#input-props", "type": [ "String" @@ -5249,7 +5260,7 @@ }, { "name": "change", - "description": "trigger on input value changed\n\n输入框值发生变化时触发。参数 `trigger=initial` 表示传入的数据不符合预期,组件自动处理后触发 change 告知父组件。如:初始值长度超过 `maxlength` 限制", + "description": "trigger on input value changed\n\n输入框值发生变化时触发。`trigger=initial` 表示传入的数据不符合预期,组件自动处理后触发 change 告知父组件。如:初始值长度超过 `maxlength` 限制", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/input?tab=api#input-events" }, { @@ -5264,7 +5275,7 @@ }, { "name": "validate", - "description": "trigger on text length being over max length or max character\n\n字数超出限制时触发", + "description": "trigger on text length being over max length or max character\n\n【暂不支持】字数超出限制时触发", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/input?tab=api#input-events" } ] @@ -5375,11 +5386,12 @@ }, { "name": "disabled", - "description": "make link to be disabled\n\n禁用链接", + "description": "make link to be disabled\n\n禁用链接。优先级:Link.disabled > Form.disabled", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/link?tab=api#link-props", "type": [ "Boolean" - ] + ], + "default": "undefined" }, { "name": "hover", @@ -5569,7 +5581,7 @@ }, { "name": "scroll", - "description": "列表滚动时触发,scrollTop 表示顶部滚动距离", + "description": "列表滚动时触发,bottomDistance 表示底部距离;scrollTop 表示顶部滚动距离", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/list?tab=api#list-events" } ] @@ -5605,6 +5617,16 @@ "description": "Loading\n\n加载中", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/loading", "props": [ + { + "name": "attach", + "description": "挂载元素,默认挂载到组件本身所在的位置。数据类型为 String 时,会被当作选择器处理,进行节点查询。示例:'body' 或 () => document.body", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/loading?tab=api#loading-props", + "type": [ + "String", + "Function" + ], + "default": "''" + }, { "name": "content", "description": "子元素", @@ -5641,6 +5663,15 @@ ], "default": "800" }, + { + "name": "fullscreen", + "description": "是否显示为全屏加载", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/loading?tab=api#loading-props", + "type": [ + "Boolean" + ], + "default": "false" + }, { "name": "indicator", "description": "加载指示符,值为 true 显示默认指示符,值为 false 则不显示,也可以自定义指示符", @@ -5821,7 +5852,7 @@ }, { "name": "duration", - "description": "消息内置计时器,计时到达时会触发 duration-end 事件。单位:毫秒。值为 0 则表示没有计时器。", + "description": "消息内置计时器,计时到达时会触发 duration-end 事件。单位:毫秒。值为 0 则表示没有计时器", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/message?tab=api#message-props", "type": [ "Number" @@ -5840,7 +5871,7 @@ }, { "name": "link", - "description": "链接名称。值为字符串表示链接名称,值为 Object 类型,表示透传至 Link", + "description": "链接名称。值为字符串表示链接名称,值为 `Object` 类型,表示透传至 `Link`", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/message?tab=api#message-props", "type": [ "String", @@ -5912,26 +5943,11 @@ ], "js": { "events": [ - { - "name": "change", - "description": "可见性变化时触发", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/message?tab=api#message-events" - }, - { - "name": "close", - "description": "close message event\n\n关闭消息时触发", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/message?tab=api#message-events" - }, { "name": "close-btn-click", "description": "当关闭按钮存在时,用户点击关闭按钮触发", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/message?tab=api#message-events" }, - { - "name": "closed", - "description": "关闭消息并且动画结束后触发", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/message?tab=api#message-events" - }, { "name": "duration-end", "description": "计时结束后触发", @@ -5939,17 +5955,7 @@ }, { "name": "link-click", - "description": "当link链接存在时,点击链接文本时触发", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/message?tab=api#message-events" - }, - { - "name": "open", - "description": "展示Message时触发", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/message?tab=api#message-events" - }, - { - "name": "opened", - "description": "展示Message时并且动画结束后触发", + "description": "当`link`链接存在时,点击链接文本时触发", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/message?tab=api#message-events" } ] @@ -5977,7 +5983,7 @@ }, { "name": "link", - "description": "链接名称。值为字符串表示链接名称,值为 Object 类型,表示透传至 Link", + "description": "链接名称。值为字符串表示链接名称,值为 `Object` 类型,表示透传至 `Link`", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/message?tab=api#message-props" } ] @@ -5999,14 +6005,6 @@ ], "default": "true" }, - { - "name": "background", - "description": "background\n\n已废弃。背景", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/navbar?tab=api#navbar-props", - "type": [ - "String" - ] - }, { "name": "capsule", "description": "左侧胶囊区域", @@ -6026,10 +6024,9 @@ }, { "name": "left", - "description": "左侧区域。值为 `string` 表示文本,为其他表示自定义内容", + "description": "左侧区域", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/navbar?tab=api#navbar-props", "type": [ - "String", "TNode" ] }, @@ -6044,10 +6041,9 @@ }, { "name": "right", - "description": "右侧区域。值为 `string` 表示文本,为其他表示自定义内容", + "description": "右侧区域", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/navbar?tab=api#navbar-props", "type": [ - "String", "TNode" ] }, @@ -6082,12 +6078,12 @@ "events": [ { "name": "left-click", - "description": "点击左侧区域时触发", + "description": "点击左侧按钮时触发", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/navbar?tab=api#navbar-events" }, { "name": "right-click", - "description": "点击右侧区域时触发", + "description": "点击右侧图标时触发", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/navbar?tab=api#navbar-events" } ] @@ -6100,12 +6096,12 @@ }, { "name": "left", - "description": "左侧区域。值为 `string` 表示文本,为其他表示自定义内容", + "description": "左侧区域", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/navbar?tab=api#navbar-props" }, { "name": "right", - "description": "右侧区域。值为 `string` 表示文本,为其他表示自定义内容", + "description": "右侧区域", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/navbar?tab=api#navbar-props" }, { @@ -6153,15 +6149,6 @@ } ] }, - { - "name": "extra", - "description": "已废弃。右侧额外信息", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/notice-bar?tab=api#noticebar-props", - "type": [ - "String", - "TNode" - ] - }, { "name": "marquee", "description": "跑马灯效果。speed 指速度控制;loop 指循环播放次数,值为 -1 表示循环播放,值为 0 表示不循环播放;delay 表示延迟多久开始播放", @@ -6183,11 +6170,13 @@ }, { "name": "prefix-icon", - "description": "前缀图标", + "description": "用于自定义公告栏前面的图标,优先级大于 theme 设定的图标。值为 false 则不显示图标,值为 true 显示 theme 设定图标", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/notice-bar?tab=api#noticebar-props", "type": [ + "Boolean", "TNode" - ] + ], + "default": "true" }, { "name": "suffix-icon", @@ -6235,11 +6224,6 @@ ], "js": { "events": [ - { - "name": "change", - "description": "展示或关闭公告栏时触发。参数为true时,代表展示公告栏。参数为false时,代表关闭公告栏", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/notice-bar?tab=api#noticebar-events" - }, { "name": "click", "description": "点击事件", @@ -6253,11 +6237,6 @@ "description": "文本内容类型和参数:string | string[] | TNode", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/notice-bar?tab=api#noticebar-props" }, - { - "name": "extra", - "description": "已废弃。右侧额外信息", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/notice-bar?tab=api#noticebar-props" - }, { "name": "operation", "description": "右侧额外信息", @@ -6265,12 +6244,12 @@ }, { "name": "prefixIcon", - "description": "前缀图标", + "description": "用于自定义公告栏前面的图标,优先级大于 theme 设定的图标。值为 false 则不显示图标,值为 true 显示 theme 设定图标类型和参数:Boolean | TNode", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/notice-bar?tab=api#noticebar-props" }, { "name": "prefix-icon", - "description": "前缀图标", + "description": "用于自定义公告栏前面的图标,优先级大于 theme 设定的图标。值为 false 则不显示图标,值为 true 显示 theme 设定图标类型和参数:Boolean | TNode", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/notice-bar?tab=api#noticebar-props" }, { @@ -6294,31 +6273,38 @@ "doc-url": "https://tdesign.tencent.com/mobile-vue/components/overlay", "props": [ { - "name": "duration", - "description": "背景色过渡时间,单位毫秒", + "name": "background-color", + "description": "遮罩层的背景色", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/overlay?tab=api#overlay-props", "type": [ - "Number" - ], - "default": "300" + "String" + ] }, { - "name": "prevent-scroll-through", - "description": "防止滚动穿透,即不允许点击和滚动", + "name": "custom-style", + "description": "遮罩层自定义样式。优先级低于其他属性", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/overlay?tab=api#overlay-props", "type": [ - "Boolean" + "String" + ] + }, + { + "name": "duration", + "description": "背景色过渡时间,单位毫秒", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/overlay?tab=api#overlay-props", + "type": [ + "Number" ], - "default": "true" + "default": "300" }, { - "name": "transparent", - "description": "遮罩层是否透明", + "name": "prevent-scroll-through", + "description": "是否阻止背景滚动,阻止时蒙层里的内容也将无法滚动", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/overlay?tab=api#overlay-props", "type": [ "Boolean" ], - "default": "false" + "default": "true" }, { "name": "visible", @@ -6327,7 +6313,7 @@ "type": [ "Boolean" ], - "default": "true" + "default": "false" }, { "name": "z-index", @@ -6350,53 +6336,6 @@ }, "slots": [] }, - { - "name": "t-pagination", - "source": { - "symbol": "Pagination" - }, - "description": "Pagination\n\n分页", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/pagination", - "props": [ - { - "name": "show-first-and-last-page-btn", - "description": "是否显示跳转首页尾页页码控制器", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/pagination?tab=api#pagination-props", - "type": [ - "Boolean" - ], - "default": "false" - }, - { - "name": "show-page-number", - "description": "是否显示页码控制器", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/pagination?tab=api#pagination-props", - "type": [ - "Boolean" - ], - "default": "true" - }, - { - "name": "show-page-size", - "description": "是否显示分页数量控制器", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/pagination?tab=api#pagination-props", - "type": [ - "Boolean" - ], - "default": "true" - }, - { - "name": "show-previous-and-next-btn", - "description": "是否显示跳转前后页页码控制器", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/pagination?tab=api#pagination-props", - "type": [ - "Boolean" - ], - "default": "true" - } - ], - "slots": [] - }, { "name": "t-picker", "source": { @@ -6411,8 +6350,7 @@ "doc-url": "https://tdesign.tencent.com/mobile-vue/components/picker?tab=api#picker-props", "type": [ "String", - "Boolean", - "Object" + "Boolean" ], "default": "true" }, @@ -6432,27 +6370,24 @@ "doc-url": "https://tdesign.tencent.com/mobile-vue/components/picker?tab=api#picker-props", "type": [ "String", - "Boolean", - "Object" + "Boolean" ], "default": "true" }, { "name": "header", - "description": "头部内容。值为 true 显示空白头部,值为 false 不显示任何内容,值类型为 TNode 表示自定义头部内容", + "description": "自定义头部内容", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/picker?tab=api#picker-props", "type": [ - "Boolean", "TNode" - ], - "default": "true" + ] }, { - "name": "keys", - "description": "用来定义 value / label 在 `options` 中对应的字段别名", + "name": "option", + "description": "自定义选项内容。参数为 `option: PickerColumnItem, index: number`", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/picker?tab=api#picker-props", "type": [ - "Object" + "TNode" ] }, { @@ -6479,15 +6414,6 @@ "type": [ "Array" ] - }, - { - "name": "visible", - "description": "是否显示", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/picker?tab=api#picker-props", - "type": [ - "Boolean" - ], - "default": "false" } ], "js": { @@ -6517,7 +6443,12 @@ "slots": [ { "name": "header", - "description": "头部内容。值为 true 显示空白头部,值为 false 不显示任何内容,值类型为 TNode 表示自定义头部内容", + "description": "自定义头部内容", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/picker?tab=api#picker-props" + }, + { + "name": "option", + "description": "自定义选项内容。参数为 `option: PickerColumnItem, index: number`", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/picker?tab=api#picker-props" } ] @@ -6566,24 +6497,6 @@ "String", "TNode" ] - }, - { - "name": "destroy-on-close", - "description": "是否在关闭浮层时销毁浮层", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/popconfirm?tab=api#popconfirm-props", - "type": [ - "Boolean" - ], - "default": "true" - }, - { - "name": "trigger-element", - "description": "触发元素", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/popconfirm?tab=api#popconfirm-props", - "type": [ - "String", - "TNode" - ] } ], "slots": [ @@ -6591,16 +6504,6 @@ "name": "default", "description": "触发元素,同 triggerElement", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/popconfirm?tab=api#popconfirm-props" - }, - { - "name": "triggerElement", - "description": "触发元素", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/popconfirm?tab=api#popconfirm-props" - }, - { - "name": "trigger-element", - "description": "触发元素", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/popconfirm?tab=api#popconfirm-props" } ] }, @@ -6700,7 +6603,7 @@ }, { "name": "theme", - "description": "弹出气泡主题。", + "description": "弹出气泡主题", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/popover?tab=api#popover-props", "type": [ "String" @@ -6790,7 +6693,7 @@ "props": [ { "name": "attach", - "description": "制定挂载节点。数据类型为 String 时,会被当作选择器处理,进行节点查询。示例:'body' 或 () => document.body", + "description": "指定挂载节点。数据类型为 String 时,会被当作选择器处理,进行节点查询。示例:'body' 或 () => document.body", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/popup?tab=api#popup-props", "type": [ "String", @@ -6816,6 +6719,15 @@ ], "default": "true" }, + { + "name": "destroy-on-close", + "description": "是否在关闭浮层时销毁浮层", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/popup?tab=api#popup-props", + "type": [ + "Boolean" + ], + "default": "false" + }, { "name": "overlay-props", "description": "遮罩层的属性,透传至 overlay", @@ -6856,7 +6768,7 @@ }, { "name": "prevent-scroll-through", - "description": "防止滚动穿透", + "description": "是否阻止背景滚动", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/popup?tab=api#popup-props", "type": [ "Boolean" @@ -6901,7 +6813,7 @@ "events": [ { "name": "close", - "description": "组件开始关闭时触发", + "description": "组件准备关闭时触发", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/popup?tab=api#popup-events" }, { @@ -6939,82 +6851,6 @@ } ] }, - { - "name": "t-primary-table", - "source": { - "symbol": "PrimaryTable" - }, - "description": "PrimaryTable\n\n主表格", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/primary-table", - "props": [ - { - "name": "row-selection-allow-uncheck", - "description": "allow to uncheck selection in table with single row selection\n\n行选中单选场景,是否允许取消选中", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/primary-table?tab=api#primarytable-props", - "type": [ - "Boolean" - ] - }, - { - "name": "row-selection-type", - "description": "single row selection, or multiple row selection\n\n行选中类型,单选或多选。效果和 `columns` 中配置的 `{ colKey: 'row-select', type: 'single' }` 一样", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/primary-table?tab=api#primarytable-props", - "type": [ - "String" - ], - "attribute-value": { - "type": "enum" - }, - "values": [ - { - "name": "single" - }, - { - "name": "multiple" - } - ] - } - ], - "slots": [] - }, - { - "name": "t-table", - "source": { - "symbol": "PrimaryTable" - }, - "description": "PrimaryTable\n\n主表格", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/primary-table", - "props": [ - { - "name": "row-selection-allow-uncheck", - "description": "allow to uncheck selection in table with single row selection\n\n行选中单选场景,是否允许取消选中", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/primary-table?tab=api#primarytable-props", - "type": [ - "Boolean" - ] - }, - { - "name": "row-selection-type", - "description": "single row selection, or multiple row selection\n\n行选中类型,单选或多选。效果和 `columns` 中配置的 `{ colKey: 'row-select', type: 'single' }` 一样", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/primary-table?tab=api#primarytable-props", - "type": [ - "String" - ], - "attribute-value": { - "type": "enum" - }, - "values": [ - { - "name": "single" - }, - { - "name": "multiple" - } - ] - } - ], - "slots": [] - }, { "name": "t-progress", "source": { @@ -7227,26 +7063,6 @@ "description": "Radio\n\n单选框", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/radio", "props": [ - { - "name": "align", - "description": "已废弃。复选框和内容相对位置", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/radio?tab=api#radio-props", - "type": [ - "String" - ], - "default": "left", - "attribute-value": { - "type": "enum" - }, - "values": [ - { - "name": "left" - }, - { - "name": "right" - } - ] - }, { "name": "allow-uncheck", "description": "是否允许取消选中", @@ -7258,7 +7074,7 @@ }, { "name": "block", - "description": "是否为块级元素\t", + "description": "是否为块级元素", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/radio?tab=api#radio-props", "type": [ "Boolean" @@ -7311,7 +7127,7 @@ }, { "name": "disabled", - "description": "是否为禁用态。如果存在父组件 RadioGroup,默认值由 RadioGroup.disabled 控制。Radio.disabled 优先级高于 RadioGroup.disabled", + "description": "是否为禁用态。如果存在父组件 RadioGroup,默认值由 RadioGroup.disabled 控制。优先级:Radio.disabled > RadioGroup.disabled > Form.disabled", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/radio?tab=api#radio-props", "type": [ "Boolean" @@ -7320,7 +7136,7 @@ }, { "name": "icon", - "description": "自定义选中图标和非选中图标。示例:[选中态图标地址,非选中态图标地址]。使用 String 时,值为 circle 表示填充型图标、值为 line 表示描边型图标、值为 dot 表示圆点图标", + "description": "自定义选中图标和非选中图标。示例:[选中态图标地址,非选中态图标地址]。使用 String 时,值为 circle 表示填充型图标、值为 line 表示描边型图标、值为 dot 表示圆点图标、值为 'none' 则表示没有图标", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/radio?tab=api#radio-props", "type": [ "String", @@ -7365,12 +7181,11 @@ }, { "name": "placement", - "description": "复选框和内容相对位置", + "description": "复选框和内容相对位置。优先级高于 RadioGroup.placement。Radio 单独存在时,默认值为 left。如果父组件存在 RadioGroup,默认值便由 RadioGroup.placement 决定", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/radio?tab=api#radio-props", "type": [ "String" ], - "default": "undefined", "attribute-value": { "type": "enum" }, @@ -7383,6 +7198,15 @@ } ] }, + { + "name": "readonly", + "description": "只读状态", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/radio?tab=api#radio-props", + "type": [ + "Boolean" + ], + "default": "undefined" + }, { "name": "value", "description": "单选按钮的值", @@ -7430,26 +7254,6 @@ "description": "Radio\n\n单选框", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/radio", "props": [ - { - "name": "align", - "description": "已废弃。复选框和内容相对位置", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/radio?tab=api#radio-props", - "type": [ - "String" - ], - "default": "left", - "attribute-value": { - "type": "enum" - }, - "values": [ - { - "name": "left" - }, - { - "name": "right" - } - ] - }, { "name": "allow-uncheck", "description": "是否允许取消选中", @@ -7461,7 +7265,7 @@ }, { "name": "block", - "description": "是否为块级元素\t", + "description": "是否为块级元素", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/radio?tab=api#radio-props", "type": [ "Boolean" @@ -7514,7 +7318,7 @@ }, { "name": "disabled", - "description": "是否为禁用态。如果存在父组件 RadioGroup,默认值由 RadioGroup.disabled 控制。Radio.disabled 优先级高于 RadioGroup.disabled", + "description": "是否为禁用态。如果存在父组件 RadioGroup,默认值由 RadioGroup.disabled 控制。优先级:Radio.disabled > RadioGroup.disabled > Form.disabled", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/radio?tab=api#radio-props", "type": [ "Boolean" @@ -7523,7 +7327,7 @@ }, { "name": "icon", - "description": "自定义选中图标和非选中图标。示例:[选中态图标地址,非选中态图标地址]。使用 String 时,值为 circle 表示填充型图标、值为 line 表示描边型图标、值为 dot 表示圆点图标", + "description": "自定义选中图标和非选中图标。示例:[选中态图标地址,非选中态图标地址]。使用 String 时,值为 circle 表示填充型图标、值为 line 表示描边型图标、值为 dot 表示圆点图标、值为 'none' 则表示没有图标", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/radio?tab=api#radio-props", "type": [ "String", @@ -7568,12 +7372,11 @@ }, { "name": "placement", - "description": "复选框和内容相对位置", + "description": "复选框和内容相对位置。优先级高于 RadioGroup.placement。Radio 单独存在时,默认值为 left。如果父组件存在 RadioGroup,默认值便由 RadioGroup.placement 决定", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/radio?tab=api#radio-props", "type": [ "String" ], - "default": "undefined", "attribute-value": { "type": "enum" }, @@ -7586,6 +7389,15 @@ } ] }, + { + "name": "readonly", + "description": "只读状态", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/radio?tab=api#radio-props", + "type": [ + "Boolean" + ], + "default": "undefined" + }, { "name": "value", "description": "单选按钮的值", @@ -7653,11 +7465,12 @@ }, { "name": "disabled", - "description": "是否禁用全部子单选框。默认为 false。RadioGroup.disabled 优先级低于 Radio.disabled", + "description": "是否禁用全部子单选框。优先级:Radio.disabled > RadioGroup.disabled > Form.disabled", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/radio-group?tab=api#radiogroup-props", "type": [ "Boolean" - ] + ], + "default": "undefined" }, { "name": "icon", @@ -7695,7 +7508,7 @@ }, { "name": "placement", - "description": "复选框和内容相对位置", + "description": "复选框和内容相对位置。优先级低于 Radio.placement", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/radio-group?tab=api#radiogroup-props", "type": [ "String" @@ -7713,6 +7526,15 @@ } ] }, + { + "name": "readonly", + "description": "只读状态", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/radio-group?tab=api#radiogroup-props", + "type": [ + "Boolean" + ], + "default": "undefined" + }, { "name": "value", "description": "选中的值", @@ -7728,7 +7550,7 @@ "events": [ { "name": "change", - "description": "选中值发生变化时触发", + "description": "选中值发生变化时触发, `context.name` 指 RadioGroup 的 name 属性", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/radio-group?tab=api#radiogroup-events" } ] @@ -7766,7 +7588,8 @@ "doc-url": "https://tdesign.tencent.com/mobile-vue/components/range-input?tab=api#rangeinput-props", "type": [ "Boolean" - ] + ], + "default": "undefined" }, { "name": "format", @@ -7819,7 +7642,7 @@ "type": [ "Boolean" ], - "default": "false" + "default": "undefined" }, { "name": "separator", @@ -8040,21 +7863,12 @@ "default": "false" }, { - "name": "clearable", - "description": "是否允许取消选择", + "name": "color", + "description": "评分图标的颜色,样式中默认为 #ED7B2F。一个值表示设置选中高亮的五角星颜色,示例:[选中颜色]。数组则表示分别设置 选中高亮的五角星颜色 和 未选中暗灰的五角星颜色,[选中颜色,未选中颜色]。示例:['#ED7B2F', '#E3E6EB']", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/rate?tab=api#rate-props", "type": [ - "Boolean" - ], - "default": "false" - }, - { - "name": "color", - "description": "评分图标的颜色,样式中默认为 #ED7B2F。一个值表示设置选中高亮的五角星颜色,示例:[选中颜色]。数组则表示分别设置 选中高亮的五角星颜色 和 未选中暗灰的五角星颜色,[选中颜色,未选中颜色]。示例:['#ED7B2F', '#E3E6EB']。", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/rate?tab=api#rate-props", - "type": [ - "String", - "Array" + "String", + "Array" ], "default": "'#ED7B2F'" }, @@ -8073,16 +7887,18 @@ "doc-url": "https://tdesign.tencent.com/mobile-vue/components/rate?tab=api#rate-props", "type": [ "Boolean" - ] + ], + "default": "undefined" }, { "name": "gap", "description": "评分图标的间距", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/rate?tab=api#rate-props", "type": [ + "String", "Number" ], - "default": "4" + "default": "8" }, { "name": "icon", @@ -8093,6 +7909,29 @@ "TNode" ] }, + { + "name": "placement", + "description": "选择评分弹框的位置,值为空字符表示不显示评分弹框", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/rate?tab=api#rate-props", + "type": [ + "String" + ], + "default": "top", + "attribute-value": { + "type": "enum" + }, + "values": [ + { + "name": "top " + }, + { + "name": " bottom " + }, + { + "name": " ''" + } + ] + }, { "name": "show-text", "description": "是否显示对应的辅助文字", @@ -8128,26 +7967,6 @@ "Number" ], "default": "0" - }, - { - "name": "variant", - "description": "已废弃。形状类型,有描边类型和填充类型两种", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/rate?tab=api#rate-props", - "type": [ - "String" - ], - "default": "outline", - "attribute-value": { - "type": "enum" - }, - "values": [ - { - "name": "outline" - }, - { - "name": "filled" - } - ] } ], "js": { @@ -8162,7 +7981,7 @@ "slots": [ { "name": "icon", - "description": "自定义评分图标,[选中图标,未选中图标]类型和参数:string | string[]", + "description": "自定义评分图标,[选中图标,未选中图标]类型和参数:Array", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/rate?tab=api#rate-props" } ] @@ -8203,7 +8022,7 @@ }, { "name": "theme", - "description": "内置主题。", + "description": "内置主题", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/result?tab=api#result-props", "type": [ "String" @@ -8368,7 +8187,7 @@ "type": [ "Boolean" ], - "default": "false" + "default": "undefined" }, { "name": "shape", @@ -8456,44 +8275,6 @@ } ] }, - { - "name": "t-segmented-control", - "source": { - "symbol": "SegmentedControl" - }, - "description": "SegmentedControl\n\n分段器", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/segmented-control", - "props": [ - { - "name": "items", - "description": "分段器选项", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/segmented-control?tab=api#segmentedcontrol-props", - "type": [ - "Array" - ] - }, - { - "name": "value", - "description": "选中值", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/segmented-control?tab=api#segmentedcontrol-props", - "type": [ - "String", - "Number", - "Array" - ] - } - ], - "js": { - "events": [ - { - "name": "change", - "description": "选中值变化时触发", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/segmented-control?tab=api#segmentedcontrol-events" - } - ] - }, - "slots": [] - }, { "name": "t-select", "source": { @@ -8671,6 +8452,14 @@ ], "default": "true" }, + { + "name": "row-col", + "description": "高级设置,用于自定义行列数量、宽度高度、间距等。【示例一】,`[1, 1, 2]` 表示输出三行骨架图,第一行一列,第二行一列,第三行两列。【示例二】,`[1, 1, { width: '100px' }]` 表示自定义第三行的宽度为 `100px`。【示例三】,`[1, 2, [{ width, height }, { width, height, marginLeft }]]` 表示第三行有两列,且自定义宽度、高度、尺寸(圆形或方形使用)、间距、内容等", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/skeleton?tab=api#skeleton-props", + "type": [ + "Array" + ] + }, { "name": "theme", "description": "骨架图风格,有基础、头像组合等两大类", @@ -8715,7 +8504,7 @@ "type": [ "Boolean" ], - "default": "false" + "default": "undefined" }, { "name": "label", @@ -8996,17 +8785,18 @@ ] }, { - "name": "sub-step-items", - "description": "子步骤条,仅支持 layout = 'vertical' 时", + "name": "title", + "description": "标题", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/step-item?tab=api#stepitem-props", "type": [ - "Array" + "String", + "TNode" ], - "default": "[]" + "default": "''" }, { - "name": "title", - "description": "标题", + "name": "title-right", + "description": "标题右侧数据 仅支持 layout = 'vertical' 时", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/step-item?tab=api#stepitem-props", "type": [ "String", @@ -9030,6 +8820,16 @@ "name": "title", "description": "标题", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/step-item?tab=api#stepitem-props" + }, + { + "name": "titleRight", + "description": "标题右侧数据 仅支持 layout = 'vertical' 时", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/step-item?tab=api#stepitem-props" + }, + { + "name": "title-right", + "description": "标题右侧数据 仅支持 layout = 'vertical' 时", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/step-item?tab=api#stepitem-props" } ] }, @@ -9057,7 +8857,7 @@ "type": [ "Boolean" ], - "default": "false" + "default": "undefined" }, { "name": "input-width", @@ -9067,6 +8867,15 @@ "Number" ] }, + { + "name": "integer", + "description": "是否整型", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/stepper?tab=api#stepper-props", + "type": [ + "Boolean" + ], + "default": "true" + }, { "name": "max", "description": "最大值", @@ -9163,6 +8972,11 @@ "description": "数值发生变更时触发", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/stepper?tab=api#stepper-events" }, + { + "name": "focus", + "description": "输入框聚焦时触发", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/stepper?tab=api#stepper-events" + }, { "name": "overlimit", "description": "数值超出限制时触发", @@ -9235,14 +9049,6 @@ } ] }, - { - "name": "options", - "description": "步骤条数据列表(作用和 StepItem 效果一样)", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/steps?tab=api#steps-props", - "type": [ - "Array" - ] - }, { "name": "readonly", "description": "只读状态", @@ -9250,7 +9056,7 @@ "type": [ "Boolean" ], - "default": "false" + "default": "undefined" }, { "name": "separator", @@ -9337,13 +9143,11 @@ "props": [ { "name": "container", - "description": "指定滚动的容器。数据类型为 String 时,会被当作选择器处理,进行节点查询。示例:'body' 或 () => document.body", + "description": "指定容器对应的NodesRef节点为组件的外部容器,滚动时组件会始终保持在容器范围内,当组件即将超出容器底部时,会返回原位置", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/sticky?tab=api#sticky-props", "type": [ - "String", - "Function" - ], - "default": "body" + "Object" + ] }, { "name": "disabled", @@ -9385,57 +9189,6 @@ }, "slots": [] }, - { - "name": "t-sticky-tool", - "source": { - "symbol": "StickyTool" - }, - "description": "StickyTool\n\n侧边固钉", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/sticky-tool", - "props": [ - { - "name": "shape", - "description": "stickytool shape\n\n侧边栏菜单形状,有 2 种:方形、圆形", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/sticky-tool?tab=api#stickytool-props", - "type": [ - "String" - ], - "default": "square", - "attribute-value": { - "type": "enum" - }, - "values": [ - { - "name": "square" - }, - { - "name": "round" - } - ] - }, - { - "name": "type", - "description": "stickytool type\n\n侧边栏菜单类型,有 2 种:常规型和紧凑型", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/sticky-tool?tab=api#stickytool-props", - "type": [ - "String" - ], - "default": "normal", - "attribute-value": { - "type": "enum" - }, - "values": [ - { - "name": "normal" - }, - { - "name": "compact" - } - ] - } - ], - "slots": [] - }, { "name": "t-swipe-cell", "source": { @@ -9503,7 +9256,7 @@ "events": [ { "name": "change", - "description": "菜单展开或者收回后将菜单的状态传递给父组件,值为数组时表示分别控制左右滑动的展开和收起状态。", + "description": "菜单展开或者收回后将菜单的状态传递给父组件,值为数组时表示分别控制左右滑动的展开和收起状态", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/swipe-cell?tab=api#swipecell-events" }, { @@ -9526,12 +9279,12 @@ }, { "name": "left", - "description": "左侧滑动操作项。所有行为同 `right`类型和参数:Array", + "description": "左侧滑动操作项。所有行为同 `right`类型和参数:Array | TNode", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/swipe-cell?tab=api#swipecell-props" }, { "name": "right", - "description": "右侧滑动操作项。有两种定义方式,一种是使用数组,二种是使用插槽。`right.text` 表示操作文本,`right.className` 表示操作项类名,`right.style` 表示操作项样式,`right.onClick` 表示点击操作项后执行的回调函数。示例:`[{ text: '删除', style: 'background-color: red', onClick: () => {} }]`类型和参数:Array【interface SwipeActionItem {text: string; className?: string; style?: string; onClick?: () => void; [key: string]: any }】", + "description": "右侧滑动操作项。有两种定义方式,一种是使用数组,二种是使用插槽。`right.text` 表示操作文本,`right.className` 表示操作项类名,`right.style` 表示操作项样式,`right.onClick` 表示点击操作项后执行的回调函数。示例:`[{ text: '删除', style: 'background-color: red', onClick: () => {} }]`类型和参数:Array | TNode【interface SwipeActionItem {text: string; className?: string; style?: string; sure?: string | TNode; onClick?: () => void; [key: string]: any }】", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/swipe-cell?tab=api#swipecell-props" } ] @@ -9610,9 +9363,10 @@ }, { "name": "height", - "description": "当使用垂直方向滚动时的高度", + "description": "轮播的高度", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/swiper?tab=api#swiper-props", "type": [ + "String", "Number" ] }, @@ -9645,7 +9399,7 @@ }, { "name": "next-margin", - "description": "后边距,可用于露出后一项的一小部分。默认单位 `px`", + "description": "【开发中】后边距,可用于露出后一项的一小部分。默认单位 `px`", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/swiper?tab=api#swiper-props", "type": [ "String", @@ -9655,33 +9409,13 @@ }, { "name": "previous-margin", - "description": "前边距,可用于露出前一项的一小部分。默认单位 `px`", + "description": "【开发中】前边距,可用于露出前一项的一小部分。默认单位 `px`", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/swiper?tab=api#swiper-props", "type": [ "String", "Number" ], "default": "0" - }, - { - "name": "type", - "description": "样式类型:默认样式、卡片样式", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/swiper?tab=api#swiper-props", - "type": [ - "String" - ], - "default": "default", - "attribute-value": { - "type": "enum" - }, - "values": [ - { - "name": "default" - }, - { - "name": "card" - } - ] } ], "js": { @@ -9752,6 +9486,38 @@ ], "default": "2" }, + { + "name": "pagination-position", + "description": "页码信息展示位置", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/swiper-nav?tab=api#swipernav-props", + "type": [ + "String" + ], + "default": "bottom", + "attribute-value": { + "type": "enum" + }, + "values": [ + { + "name": "top-left" + }, + { + "name": "top" + }, + { + "name": "top-right" + }, + { + "name": "bottom-left" + }, + { + "name": "bottom" + }, + { + "name": "bottom-right" + } + ] + }, { "name": "placement", "description": "导航器位置,位于主体的内侧或是外侧", @@ -9810,14 +9576,6 @@ "description": "Switch\n\n开关", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/switch", "props": [ - { - "name": "colors", - "description": "已废弃。自定义颜色,[打开时的颜色,关闭时的颜色]。组件默认颜色为 ['#0052d9', 'rgba(0, 0, 0, .26']。示例:[blue, gray]", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/switch?tab=api#switch-props", - "type": [ - "Array" - ] - }, { "name": "custom-value", "description": "用于自定义开关的值,[打开时的值,关闭时的值]。默认为 [true, false]。示例:[1, 0]、['open', 'close']", @@ -9828,11 +9586,12 @@ }, { "name": "disabled", - "description": "是否禁用组件,默认为 false", + "description": "是否禁用组件。优先级:Switch.disabled > Form.disabled", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/switch?tab=api#switch-props", "type": [ "Boolean" - ] + ], + "default": "undefined" }, { "name": "icon", @@ -9845,10 +9604,11 @@ }, { "name": "label", - "description": "开关的标签;[打开时的标签,关闭时的标签]", + "description": "开关内容,[开启时内容,关闭时内容]。示例:['开', '关'] 或 (value) => value ? '开' : '关'", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/switch?tab=api#switch-props", "type": [ - "Array" + "Array", + "TNode" ], "default": "[]" }, @@ -9904,7 +9664,13 @@ } ] }, - "slots": [] + "slots": [ + { + "name": "label", + "description": "开关内容,[开启时内容,关闭时内容]。示例:['开', '关'] 或 (value) => value ? '开' : '关'类型和参数:Array | TNode<{ value: SwitchValue }>", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/switch?tab=api#switch-props" + } + ] }, { "name": "t-tab-bar", @@ -9948,7 +9714,7 @@ "type": [ "String" ], - "default": "'normal'", + "default": "normal", "attribute-value": { "type": "enum" }, @@ -9977,7 +9743,7 @@ "type": [ "String" ], - "default": "'normal'", + "default": "normal", "attribute-value": { "type": "enum" }, @@ -9998,8 +9764,7 @@ "String", "Number", "Array" - ], - "default": "undefined" + ] } ], "js": { @@ -10077,8 +9842,7 @@ "doc-url": "https://tdesign.tencent.com/mobile-vue/components/tab-panel?tab=api#tabpanel-props", "type": [ "Object" - ], - "default": "null" + ] }, { "name": "destroy-on-hide", @@ -10108,12 +9872,21 @@ ] }, { - "name": "panel", - "description": "用于自定义选项卡面板内容", + "name": "lazy", + "description": "Enable tab lazy loading\n\n是否启用选项卡懒加载", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/tab-panel?tab=api#tabpanel-props", "type": [ - "String", - "TNode" + "Boolean" + ], + "default": "false" + }, + { + "name": "panel", + "description": "用于自定义选项卡面板内容", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/tab-panel?tab=api#tabpanel-props", + "type": [ + "String", + "TNode" ] }, { @@ -10149,12 +9922,35 @@ "props": [ { "name": "animation", - "description": "动画效果设置。其中 duration 表示动画时长。(单位:秒)", + "description": "动画效果设置。其中 duration 表示动画时长", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/tabs?tab=api#tabs-props", "type": [ "Object" ] }, + { + "name": "bottom-line-mode", + "description": "激活下划线的模式", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/tabs?tab=api#tabs-props", + "type": [ + "String" + ], + "default": "fixed", + "attribute-value": { + "type": "enum" + }, + "values": [ + { + "name": "fixed" + }, + { + "name": "auto" + }, + { + "name": "full" + } + ] + }, { "name": "list", "description": "选项卡列表", @@ -10192,6 +9988,15 @@ } ] }, + { + "name": "space-evenly", + "description": "选项卡头部空间是否均分", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/tabs?tab=api#tabs-props", + "type": [ + "Boolean" + ], + "default": "true" + }, { "name": "sticky", "description": "是否开启粘性布局", @@ -10499,10 +10304,11 @@ }, { "name": "autosize", - "description": "是否自动增高,值为 autosize 时,style.height 不生效", + "description": "高度自动撑开。 autosize = true 表示组件高度自动撑开,同时,依旧允许手动拖高度。如果设置了 autosize.maxRows 或者 autosize.minRows 则不允许手动调整高度", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/textarea?tab=api#textarea-props", "type": [ - "Boolean" + "Boolean", + "Object" ], "default": "false" }, @@ -10522,11 +10328,11 @@ "type": [ "Boolean" ], - "default": "false" + "default": "undefined" }, { "name": "indicator", - "description": "显示文本计数器,如 0/140。当 maxlength < 0 && maxcharacter < 0 成立时, indicator无效", + "description": "显示文本计数器,如 0/140。当 `maxlength < 0 && maxcharacter < 0` 成立时, indicator无效", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/textarea?tab=api#textarea-props", "type": [ "Boolean" @@ -10542,6 +10348,26 @@ "TNode" ] }, + { + "name": "layout", + "description": "标题输入框布局方式", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/textarea?tab=api#textarea-props", + "type": [ + "String" + ], + "default": "horizontal", + "attribute-value": { + "type": "enum" + }, + "values": [ + { + "name": "vertical" + }, + { + "name": "horizontal" + } + ] + }, { "name": "maxcharacter", "description": "用户最多可以输入的字符个数,一个中文汉字表示两个字符长度", @@ -10576,6 +10402,15 @@ ], "default": "undefined" }, + { + "name": "readonly", + "description": "只读状态", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/textarea?tab=api#textarea-props", + "type": [ + "Boolean" + ], + "default": "undefined" + }, { "name": "value", "description": "文本框值", @@ -10613,230 +10448,6 @@ } ] }, - { - "name": "t-time-range-picker", - "source": { - "symbol": "TimeRangePicker" - }, - "description": "TimeRangePicker\n\n时间范围选择器", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/time-range-picker", - "props": [], - "js": { - "events": [ - { - "name": "focus", - "description": "范围输入框获得焦点时触发", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/time-range-picker?tab=api#timerangepicker-events" - } - ] - }, - "slots": [] - }, - { - "name": "t-timeline", - "source": { - "symbol": "Timeline" - }, - "description": "Timeline\n\n时间轴", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/timeline", - "props": [ - { - "name": "label-align", - "description": "label info placement\n\n标签信息放在时间轴的位置,`mode='alternate'` 时生效。纵向时间轴信息位置:左侧、右侧或两侧,默认信息在时间轴右侧。横向时间轴信息位置:上方、下方、两侧", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/timeline?tab=api#timeline-props", - "type": [ - "String" - ], - "default": "left", - "attribute-value": { - "type": "enum" - }, - "values": [ - { - "name": "left" - }, - { - "name": "right" - }, - { - "name": "alternate" - }, - { - "name": "top" - }, - { - "name": "bottom" - } - ] - }, - { - "name": "layout", - "description": "time line layout\n\n时间轴方向:水平方向、垂直方向", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/timeline?tab=api#timeline-props", - "type": [ - "String" - ], - "default": "vertical", - "attribute-value": { - "type": "enum" - }, - "values": [ - { - "name": "horizontal" - }, - { - "name": "vertical" - } - ] - }, - { - "name": "mode", - "description": "The position relationship between the label and the content text, 'alternate' is displayed on both sides of the axis, and 'same' is displayed on the same side\n\n标签与内容文本的位置关系,`alternate` 为展示在轴两侧,`same` 为展示在同一侧", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/timeline?tab=api#timeline-props", - "type": [ - "String" - ], - "default": "alternate", - "attribute-value": { - "type": "enum" - }, - "values": [ - { - "name": "alternate" - }, - { - "name": "same" - } - ] - }, - { - "name": "reverse", - "description": "时间轴是否表现为倒序", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/timeline?tab=api#timeline-props", - "type": [ - "Boolean" - ], - "default": "false" - }, - { - "name": "theme", - "description": "步骤条风格", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/timeline?tab=api#timeline-props", - "type": [ - "String" - ], - "default": "default", - "attribute-value": { - "type": "enum" - }, - "values": [ - { - "name": "default" - }, - { - "name": "dot" - } - ] - } - ], - "slots": [] - }, - { - "name": "t-timeline-item", - "source": { - "symbol": "TimelineItem" - }, - "description": "TimelineItem\n\n时间轴", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/timeline-item", - "props": [ - { - "name": "content", - "description": "描述内容", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/timeline-item?tab=api#timelineitem-props", - "type": [ - "String", - "TNode" - ] - }, - { - "name": "dot", - "description": "用于自定义时间轴节点元素", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/timeline-item?tab=api#timelineitem-props", - "type": [ - "TNode" - ] - }, - { - "name": "dot-color", - "description": "时间轴颜色,内置 `primary/warning/error/default` 四种色值,可传入 16 进制颜色码或 RGB 颜色值.", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/timeline-item?tab=api#timelineitem-props", - "type": [ - "String" - ], - "default": "primary" - }, - { - "name": "label", - "description": "标签文本内容,可完全自定义", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/timeline-item?tab=api#timelineitem-props", - "type": [ - "String", - "TNode" - ] - }, - { - "name": "label-align", - "description": "标签信息相对于时间轴的位置,在 `mode='alternate'` 时生效,优先级高于 `Timeline.labelAlign`", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/timeline-item?tab=api#timelineitem-props", - "type": [ - "String" - ], - "attribute-value": { - "type": "enum" - }, - "values": [ - { - "name": "left" - }, - { - "name": "right" - }, - { - "name": "top" - }, - { - "name": "bottom" - } - ] - } - ], - "js": { - "events": [ - { - "name": "click", - "description": "trigger on click\n\n点击时触发", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/timeline-item?tab=api#timelineitem-events" - } - ] - }, - "slots": [ - { - "name": "content", - "description": "描述内容", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/timeline-item?tab=api#timelineitem-props" - }, - { - "name": "dot", - "description": "用于自定义时间轴节点元素", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/timeline-item?tab=api#timelineitem-props" - }, - { - "name": "label", - "description": "标签文本内容,可完全自定义", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/timeline-item?tab=api#timelineitem-props" - } - ] - }, { "name": "t-toast", "source": { @@ -10879,7 +10490,6 @@ "description": "自定义图标", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/toast?tab=api#toast-props", "type": [ - "String", "TNode" ] }, @@ -10898,8 +10508,7 @@ "doc-url": "https://tdesign.tencent.com/mobile-vue/components/toast?tab=api#toast-props", "type": [ "Object" - ], - "default": "{}" + ] }, { "name": "placement", @@ -10992,16 +10601,6 @@ } ] }, - { - "name": "t-tooltip", - "source": { - "symbol": "Tooltip" - }, - "description": "Tooltip\n\n文字提示", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/tooltip", - "props": [], - "slots": [] - }, { "name": "t-tree-select", "source": { @@ -11010,32 +10609,6 @@ "description": "TreeSelect\n\n树选择", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/tree-select", "props": [ - { - "name": "clearable", - "description": "是否允许清空", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/tree-select?tab=api#treeselect-props", - "type": [ - "Boolean" - ], - "default": "false" - }, - { - "name": "custom-style", - "description": "自定义组件样式", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/tree-select?tab=api#treeselect-props", - "type": [ - "String" - ] - }, - { - "name": "filterable", - "description": "是否可搜索", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/tree-select?tab=api#treeselect-props", - "type": [ - "Boolean" - ], - "default": "false" - }, { "name": "height", "description": "高度,默认单位为 px", @@ -11063,15 +10636,6 @@ ], "default": "false" }, - { - "name": "multiple", - "description": "是否多选", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/tree-select?tab=api#treeselect-props", - "type": [ - "Boolean" - ], - "default": "false" - }, { "name": "options", "description": "选项", @@ -11081,62 +10645,13 @@ ], "default": "[]" }, - { - "name": "placeholder", - "description": "占位符", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/tree-select?tab=api#treeselect-props", - "type": [ - "String" - ], - "default": "undefined" - }, - { - "name": "select-input-props", - "description": "【开发中】透传 SelectInput 筛选器输入框组件的全部属性", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/tree-select?tab=api#treeselect-props", - "type": [ - "Object" - ] - }, - { - "name": "size", - "description": "尺寸", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/tree-select?tab=api#treeselect-props", - "type": [ - "String" - ], - "default": "medium", - "attribute-value": { - "type": "enum" - }, - "values": [ - { - "name": "small" - }, - { - "name": "medium" - }, - { - "name": "large" - } - ] - }, - { - "name": "tag-props", - "description": "透传 Tag 标签组件全部属性", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/tree-select?tab=api#treeselect-props", - "type": [ - "Object" - ] - }, { "name": "value", - "description": "选中值,泛型 `TreeValueType` 继承自 `TreeSelectValue`", + "description": "选中值", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/tree-select?tab=api#treeselect-props", "type": [ "String", "Number", - "Object", "Array" ] } @@ -11145,7 +10660,7 @@ "events": [ { "name": "change", - "description": "节点选中状态变化时触发,`context.node` 表示当前变化的选项,`context. trigger` 表示触发变化的来源。泛型 `TreeValueType` 继承自 `TreeSelectValue` ", + "description": "点击任何节点均会触发;level 代表当前点击的层级,0 代表最左侧,依次递进", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/tree-select?tab=api#treeselect-events" } ] @@ -11178,7 +10693,7 @@ }, { "name": "add-content", - "description": "添加按钮内容。值为空,使用默认图标渲染;值为 slot 则表示使用插槽渲染;其他值无效。", + "description": "添加按钮内容。值为空,使用默认图标渲染;值为 slot 则表示使用插槽渲染;其他值无效", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/upload?tab=api#upload-props", "type": [ "String", @@ -11212,28 +10727,29 @@ ] }, { - "name": "data", - "description": "extra request data of uploading. `formatRequest` can redefine all request data\n\n上传请求所需的额外字段,默认字段有 `file`,表示文件信息。可以添加额外的文件名字段,如:`{file_name: \"custom-file-name.txt\"}`。`autoUpload=true` 时有效。也可以使用 `formatRequest` 完全自定义上传请求的字段", + "name": "capture", + "description": "图片选取模式,可选值为 camera (直接调起摄像头)", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/upload?tab=api#upload-props", "type": [ - "Object" + "String" ] }, { - "name": "disabled", - "description": "make upload to be disabled\n\n是否禁用", + "name": "data", + "description": "extra request data of uploading. `formatRequest` can redefine all request data\n\n上传请求所需的额外字段,默认字段有 `file`,表示文件信息。可以添加额外的文件名字段,如:`{file_name: \"custom-file-name.txt\"}`。`autoUpload=true` 时有效。也可以使用 `formatRequest` 完全自定义上传请求的字段", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/upload?tab=api#upload-props", "type": [ - "Boolean" + "Object" ] }, { - "name": "file-list-display", - "description": "used to render file list UI\n\n用于完全自定义文件列表界面内容(UI),单文件和多文件均有效", + "name": "disabled", + "description": "make upload to be disabled\n\n是否禁用组件", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/upload?tab=api#upload-props", "type": [ - "TNode" - ] + "Boolean" + ], + "default": "undefined" }, { "name": "files", @@ -11262,7 +10778,7 @@ }, { "name": "format-response", - "description": "redefine response data structure\n\n用于格式化文件上传后的接口响应数据,`response` 便是接口响应的原始数据。`action` 存在时有效。
示例返回值:`{ error, url, status, files }`
此函数的返回值 `error` 会作为错误文本提醒,表示上传失败的原因,如果存在会判定为本次上传失败。
此函数的返回值 `url` 会作为单个文件上传成功后的链接。
`files` 表示一个请求同时上传多个文件后的文件列表", + "description": "redefine response data structure\n\n用于格式化文件上传后的接口响应数据,`response` 便是接口响应的原始数据。`action` 存在时有效。
此函数的返回值 `error` 或 `response.error` 会作为错误文本提醒,如果存在会判定为本次上传失败。
此函数的返回值 `url` 或 `response.url` 会作为上传成功后的链接", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/upload?tab=api#upload-props", "type": [ "Function" @@ -11286,7 +10802,7 @@ }, { "name": "max", - "description": "max count of files limit\n\n用于控制文件上传数量,值为 0 则不限制。注意,单文件上传场景,请勿设置 `max` 属性", + "description": "max count of files limit\n\n用于控制文件上传数量,值为 0 则不限制", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/upload?tab=api#upload-props", "type": [ "Number" @@ -11315,7 +10831,7 @@ "name": "PUT" }, { - "name": "OPTION" + "name": "OPTIONS" }, { "name": "PATCH" @@ -11330,7 +10846,7 @@ "name": "put" }, { - "name": "option" + "name": "options" }, { "name": "patch" @@ -11346,6 +10862,15 @@ ], "default": "false" }, + { + "name": "preview", + "description": "是否支持图片预览,文件没有预览", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/upload?tab=api#upload-props", + "type": [ + "Boolean" + ], + "default": "true" + }, { "name": "request-method", "description": "custom upload request method\n\n自定义上传方法。返回值 `status` 表示上传成功或失败;`error` 或 `response.error` 表示上传失败的原因;
`response` 表示请求上传成功后的返回数据,`response.url` 表示上传成功后的图片/文件地址,`response.files` 表示一个请求上传多个文件/图片后的返回值。
示例一:`{ status: 'fail', error: '上传失败', response }`。
示例二:`{ status: 'success', response: { url: 'https://tdesign.gtimg.com/site/avatar.jpg' } }`。
示例三:`{ status: 'success', files: [{ url: 'https://xxx.png', name: 'xxx.png' }]}`", @@ -11365,7 +10890,7 @@ }, { "name": "use-mock-progress", - "description": "use mock progress, instead of real progress\n\n是否在请求时间超过 300ms 后显示模拟进度。上传进度有模拟进度和真实进度两种。一般大小的文件上传,真实的上传进度只有 0 和 100,不利于交互呈现,因此组件内置模拟上传进度。真实上传进度一般用于大文件上传。", + "description": "use mock progress, instead of real progress\n\n是否在请求时间超过 300ms 后显示模拟进度。上传进度有模拟进度和真实进度两种。一般大小的文件上传,真实的上传进度只有 0 和 100,不利于交互呈现,因此组件内置模拟上传进度。真实上传进度一般用于大文件上传", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/upload?tab=api#upload-props", "type": [ "Boolean" @@ -11398,6 +10923,11 @@ "description": "trigger on uploaded files change\n\n已上传文件列表发生变化时触发,`trigger` 表示触发本次的来源", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/upload?tab=api#upload-events" }, + { + "name": "click-upload", + "description": "点击上传区域时触发", + "doc-url": "https://tdesign.tencent.com/mobile-vue/components/upload?tab=api#upload-events" + }, { "name": "fail", "description": "`response.error` used for error tips, `formatResponse` can format `response`\n\n上传失败后触发。`response` 指接口响应结果,`response.error` 会作为错误文本提醒。如果希望判定为上传失败,但接口响应数据不包含 `error` 字段,可以使用 `formatResponse` 格式化 `response` 数据结构。如果是多文件多请求上传场景,请到事件 `onOneFileFail` 中查看 `response`", @@ -11438,183 +10968,13 @@ "slots": [ { "name": "addContent", - "description": "添加按钮内容。值为空,使用默认图标渲染;值为 slot 则表示使用插槽渲染;其他值无效。", + "description": "添加按钮内容。值为空,使用默认图标渲染;值为 slot 则表示使用插槽渲染;其他值无效", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/upload?tab=api#upload-props" }, { "name": "add-content", - "description": "添加按钮内容。值为空,使用默认图标渲染;值为 slot 则表示使用插槽渲染;其他值无效。", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/upload?tab=api#upload-props" - }, - { - "name": "fileListDisplay", - "description": "used to render file list UI\n\n用于完全自定义文件列表界面内容(UI),单文件和多文件均有效类型和参数:TNode<{ files: UploadFile[]; dragEvents?: UploadDisplayDragEvents }>", + "description": "添加按钮内容。值为空,使用默认图标渲染;值为 slot 则表示使用插槽渲染;其他值无效", "doc-url": "https://tdesign.tencent.com/mobile-vue/components/upload?tab=api#upload-props" - }, - { - "name": "file-list-display", - "description": "used to render file list UI\n\n用于完全自定义文件列表界面内容(UI),单文件和多文件均有效类型和参数:TNode<{ files: UploadFile[]; dragEvents?: UploadDisplayDragEvents }>", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/upload?tab=api#upload-props" - } - ] - }, - { - "name": "t-watermark", - "source": { - "symbol": "Watermark" - }, - "description": "Watermark\n\n水印", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/watermark", - "props": [ - { - "name": "alpha", - "description": "水印整体透明度,取值范围 [0-1]", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/watermark?tab=api#watermark-props", - "type": [ - "Number" - ], - "default": "1" - }, - { - "name": "content", - "description": "水印所覆盖的内容节点", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/watermark?tab=api#watermark-props", - "type": [ - "String", - "TNode" - ] - }, - { - "name": "default", - "description": "水印所覆盖的内容节点,同 `content`", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/watermark?tab=api#watermark-props", - "type": [ - "String", - "TNode" - ] - }, - { - "name": "height", - "description": "水印高度", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/watermark?tab=api#watermark-props", - "type": [ - "Number" - ] - }, - { - "name": "is-repeat", - "description": "水印是否重复出现", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/watermark?tab=api#watermark-props", - "type": [ - "Boolean" - ], - "default": "true" - }, - { - "name": "line-space", - "description": "行间距,只作用在多行(`content` 配置为数组)情况下", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/watermark?tab=api#watermark-props", - "type": [ - "Number" - ], - "default": "16" - }, - { - "name": "movable", - "description": "水印是否可移动", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/watermark?tab=api#watermark-props", - "type": [ - "Boolean" - ], - "default": "false" - }, - { - "name": "move-interval", - "description": "水印发生运动位移的间隙,单位:毫秒", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/watermark?tab=api#watermark-props", - "type": [ - "Number" - ], - "default": "3000" - }, - { - "name": "offset", - "description": "水印在画布上绘制的水平和垂直偏移量,正常情况下水印绘制在中间位置,即 `offset = [gapX / 2, gapY / 2]`", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/watermark?tab=api#watermark-props", - "type": [ - "Array" - ] - }, - { - "name": "removable", - "description": "水印是否可被删除,默认会开启水印节点防删", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/watermark?tab=api#watermark-props", - "type": [ - "Boolean" - ], - "default": "true" - }, - { - "name": "rotate", - "description": "水印旋转的角度,单位 °", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/watermark?tab=api#watermark-props", - "type": [ - "Number" - ], - "default": "-22" - }, - { - "name": "watermark-content", - "description": "水印内容,需要显示多行情况下可配置为数组", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/watermark?tab=api#watermark-props", - "type": [ - "Object", - "Array" - ] - }, - { - "name": "width", - "description": "水印宽度", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/watermark?tab=api#watermark-props", - "type": [ - "Number" - ] - }, - { - "name": "x", - "description": "水印之间的水平间距", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/watermark?tab=api#watermark-props", - "type": [ - "Number" - ] - }, - { - "name": "y", - "description": "水印之间的垂直间距", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/watermark?tab=api#watermark-props", - "type": [ - "Number" - ] - }, - { - "name": "z-index", - "description": "水印元素的 `z-index`,默认值写在 CSS 中", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/watermark?tab=api#watermark-props", - "type": [ - "Number" - ] - } - ], - "slots": [ - { - "name": "content", - "description": "水印所覆盖的内容节点", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/watermark?tab=api#watermark-props" - }, - { - "name": "default", - "description": "水印所覆盖的内容节点,同 `content`", - "doc-url": "https://tdesign.tencent.com/mobile-vue/components/watermark?tab=api#watermark-props" } ] } diff --git a/packages/scripts/api.json b/packages/scripts/api.json index 6d9d226ed..c4749e671 100644 --- a/packages/scripts/api.json +++ b/packages/scripts/api.json @@ -30305,11 +30305,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "Comment", "field_category": 1, @@ -30339,11 +30335,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "Array" @@ -30354,11 +30346,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "Comment", "field_category": 1, @@ -30389,11 +30377,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "String", @@ -30405,11 +30389,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "Comment", "field_category": 1, @@ -30441,11 +30421,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "String", @@ -30458,11 +30434,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "Comment", "field_category": 1, @@ -30493,11 +30465,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "String", @@ -30509,11 +30477,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "Comment", "field_category": 1, @@ -30544,11 +30508,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "String", @@ -30560,11 +30520,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "Comment", "field_category": 1, @@ -30595,11 +30551,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "String", @@ -30611,11 +30563,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "Comment", "field_category": 1, @@ -30646,11 +30594,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "String", @@ -34792,10 +34736,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32" + "4" ], "component": "DateRangePicker", "field_category": 1, @@ -34825,10 +34766,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)" + "Angular(PC)" ], "field_type_text": [ "String" @@ -35044,10 +34982,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32" + "4" ], "component": "DateRangePicker", "field_category": 1, @@ -35077,10 +35012,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)" + "Angular(PC)" ], "field_type_text": [ "Object" @@ -78421,10 +78353,7 @@ "platform_framework": [ "1", "2", - "4", - "16", - "32", - "64" + "4" ], "component": "Pagination", "field_category": 1, @@ -78454,10 +78383,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "Boolean" @@ -78468,10 +78394,7 @@ "platform_framework": [ "1", "2", - "4", - "16", - "32", - "64" + "4" ], "component": "Pagination", "field_category": 1, @@ -78501,10 +78424,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "Number" @@ -78515,10 +78435,7 @@ "platform_framework": [ "1", "2", - "4", - "16", - "32", - "64" + "4" ], "component": "Pagination", "field_category": 1, @@ -78548,10 +78465,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "Number" @@ -78601,10 +78515,7 @@ "platform_framework": [ "1", "2", - "4", - "16", - "32", - "64" + "4" ], "component": "Pagination", "field_category": 1, @@ -78634,10 +78545,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "Number" @@ -78648,10 +78556,7 @@ "platform_framework": [ "1", "2", - "4", - "16", - "32", - "64" + "4" ], "component": "Pagination", "field_category": 1, @@ -78681,10 +78586,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "Array" @@ -78736,11 +78638,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "Pagination", "field_category": 1, @@ -78770,11 +78668,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "Boolean" @@ -78785,10 +78679,7 @@ "platform_framework": [ "1", "2", - "4", - "16", - "32", - "64" + "4" ], "component": "Pagination", "field_category": 1, @@ -78818,10 +78709,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "Boolean" @@ -78832,11 +78720,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "Pagination", "field_category": 1, @@ -78866,11 +78750,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "Boolean" @@ -78881,11 +78761,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "Pagination", "field_category": 1, @@ -78915,11 +78791,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "Boolean" @@ -78930,11 +78802,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "Pagination", "field_category": 1, @@ -78964,11 +78832,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "Boolean" @@ -78979,10 +78843,7 @@ "platform_framework": [ "1", "2", - "4", - "16", - "32", - "64" + "4" ], "component": "Pagination", "field_category": 1, @@ -79012,10 +78873,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "String" @@ -79026,10 +78884,7 @@ "platform_framework": [ "1", "2", - "4", - "16", - "32", - "64" + "4" ], "component": "Pagination", "field_category": 1, @@ -79059,10 +78914,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "String" @@ -79073,10 +78925,7 @@ "platform_framework": [ "1", "2", - "4", - "16", - "32", - "64" + "4" ], "component": "Pagination", "field_category": 1, @@ -79106,10 +78955,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "Number" @@ -79120,10 +78966,7 @@ "platform_framework": [ "1", "2", - "4", - "16", - "32", - "64" + "4" ], "component": "Pagination", "field_category": 1, @@ -79154,10 +78997,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "Boolean", @@ -79169,10 +79009,7 @@ "platform_framework": [ "1", "2", - "4", - "16", - "32", - "64" + "4" ], "component": "Pagination", "field_category": 2, @@ -79200,10 +79037,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [] }, @@ -79212,10 +79046,7 @@ "platform_framework": [ "1", "2", - "4", - "16", - "32", - "64" + "4" ], "component": "Pagination", "field_category": 2, @@ -79243,10 +79074,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [] }, @@ -79255,10 +79083,7 @@ "platform_framework": [ "1", "2", - "4", - "16", - "32", - "64" + "4" ], "component": "Pagination", "field_category": 2, @@ -79286,10 +79111,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [] }, @@ -81285,11 +81107,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "Popconfirm", "field_category": 1, @@ -81319,11 +81137,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "Boolean" @@ -81416,10 +81230,7 @@ "platform_framework": [ "1", "2", - "4", - "16", - "32", - "64" + "4" ], "component": "Popconfirm", "field_category": 1, @@ -81449,10 +81260,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "Object" @@ -81504,10 +81312,7 @@ "platform_framework": [ "1", "2", - "4", - "16", - "32", - "64" + "4" ], "component": "Popconfirm", "field_category": 1, @@ -81537,10 +81342,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "String" @@ -81551,11 +81353,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "Popconfirm", "field_category": 1, @@ -81586,11 +81384,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "String", @@ -81645,10 +81439,7 @@ "platform_framework": [ "1", "2", - "4", - "16", - "32", - "64" + "4" ], "component": "Popconfirm", "field_category": 2, @@ -81676,10 +81467,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [] }, @@ -81688,10 +81476,7 @@ "platform_framework": [ "1", "2", - "4", - "16", - "32", - "64" + "4" ], "component": "Popconfirm", "field_category": 2, @@ -81719,10 +81504,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [] }, @@ -97117,129 +96899,6 @@ ], "field_type_text": [] }, - { - "id": 1968, - "platform_framework": [ - "8", - "16", - "32" - ], - "component": "SegmentedControl", - "field_category": 1, - "field_name": "items", - "field_type": [ - "16" - ], - "field_default_value": "", - "field_enum": "", - "field_desc_zh": "分段器选项", - "field_desc_en": null, - "field_required": 0, - "event_input": "", - "create_time": "2021-11-22 11:28:54", - "update_time": "2022-04-29 09:35:07", - "event_output": null, - "custom_field_type": "Array", - "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)" - ], - "field_type_text": [ - "Array" - ] - }, - { - "id": 1967, - "platform_framework": [ - "8", - "16", - "32" - ], - "component": "SegmentedControl", - "field_category": 1, - "field_name": "value", - "field_type": [ - "1", - "2", - "16" - ], - "field_default_value": "", - "field_enum": "", - "field_desc_zh": "选中值", - "field_desc_en": null, - "field_required": 0, - "event_input": "", - "create_time": "2021-11-22 11:27:55", - "update_time": "2022-04-29 09:34:58", - "event_output": null, - "custom_field_type": "SegmentedControlValue【type SegmentedControlValue = string | number | Array】", - "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": [ - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)" - ], - "field_type_text": [ - "String", - "Number", - "Array" - ] - }, - { - "id": 1969, - "platform_framework": [ - "8", - "16", - "32" - ], - "component": "SegmentedControl", - "field_category": 2, - "field_name": "change", - "field_type": [], - "field_default_value": "", - "field_enum": "", - "field_desc_zh": "选中值变化时触发", - "field_desc_en": null, - "field_required": 0, - "event_input": "(value: SegmentedControlValue)", - "create_time": "2021-11-22 11:29:25", - "update_time": "2022-04-29 09:35: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": "Events", - "platform_framework_text": [ - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)" - ], - "field_type_text": [] - }, { "id": 2374, "platform_framework": [ @@ -107278,11 +106937,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "StickyTool", "field_category": 1, @@ -107312,11 +106967,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "String" @@ -107327,11 +106978,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "StickyTool", "field_category": 1, @@ -107361,11 +107008,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "String" @@ -124290,10 +123933,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32" + "4" ], "component": "TimeRangePicker", "field_category": 2, @@ -124321,10 +123961,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)" + "Angular(PC)" ], "field_type_text": [] }, @@ -124407,11 +124044,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "Timeline", "field_category": 1, @@ -124441,11 +124074,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "String" @@ -124456,11 +124085,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "Timeline", "field_category": 1, @@ -124490,11 +124115,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "String" @@ -124505,11 +124126,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "Timeline", "field_category": 1, @@ -124539,11 +124156,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "String" @@ -124554,11 +124167,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "Timeline", "field_category": 1, @@ -124588,11 +124197,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "Boolean" @@ -124603,11 +124208,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "Timeline", "field_category": 1, @@ -124637,11 +124238,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "String" @@ -124650,8 +124247,7 @@ { "id": 2837, "platform_framework": [ - "2", - "16" + "2" ], "component": "TimelineItem", "field_category": 1, @@ -124680,8 +124276,7 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "React(PC)", - "React(Mobile)" + "React(PC)" ], "field_type_text": [ "String", @@ -124693,11 +124288,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "TimelineItem", "field_category": 1, @@ -124728,11 +124319,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "String", @@ -124744,11 +124331,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "TimelineItem", "field_category": 1, @@ -124778,11 +124361,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "TNode" @@ -124793,11 +124372,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "TimelineItem", "field_category": 1, @@ -124827,11 +124402,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "String" @@ -124842,11 +124413,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "TimelineItem", "field_category": 1, @@ -124877,11 +124444,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "String", @@ -124893,11 +124456,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "TimelineItem", "field_category": 1, @@ -124927,11 +124486,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "String" @@ -124983,11 +124538,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "TimelineItem", "field_category": 2, @@ -125015,11 +124566,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [] }, @@ -126256,8 +125803,7 @@ "platform_framework": [ "1", "2", - "4", - "8" + "4" ], "component": "Tooltip", "field_category": 16, @@ -126285,8 +125831,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)" + "Angular(PC)" ], "field_type_text": [] }, @@ -140158,11 +139703,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "Watermark", "field_category": 1, @@ -140192,11 +139733,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "Number" @@ -140205,8 +139742,7 @@ { "id": 2557, "platform_framework": [ - "2", - "16" + "2" ], "component": "Watermark", "field_category": 1, @@ -140235,8 +139771,7 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "React(PC)", - "React(Mobile)" + "React(PC)" ], "field_type_text": [ "String", @@ -140248,11 +139783,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "Watermark", "field_category": 1, @@ -140283,11 +139814,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "String", @@ -140297,8 +139824,7 @@ { "id": 2647, "platform_framework": [ - "1", - "8" + "1" ], "component": "Watermark", "field_category": 1, @@ -140327,8 +139853,7 @@ "support_default_value": 0, "field_category_text": "Props", "platform_framework_text": [ - "Vue(PC)", - "Vue(Mobile)" + "Vue(PC)" ], "field_type_text": [ "String", @@ -140340,11 +139865,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "Watermark", "field_category": 1, @@ -140374,11 +139895,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "Number" @@ -140389,11 +139906,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "Watermark", "field_category": 1, @@ -140423,11 +139936,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "Boolean" @@ -140438,11 +139947,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "Watermark", "field_category": 1, @@ -140472,11 +139977,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "Number" @@ -140487,11 +139988,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "Watermark", "field_category": 1, @@ -140521,11 +140018,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "Boolean" @@ -140536,11 +140029,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "Watermark", "field_category": 1, @@ -140570,11 +140059,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "Number" @@ -140585,11 +140070,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "Watermark", "field_category": 1, @@ -140619,11 +140100,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "Array" @@ -140634,11 +140111,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "Watermark", "field_category": 1, @@ -140668,11 +140141,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "Boolean" @@ -140683,11 +140152,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "Watermark", "field_category": 1, @@ -140717,11 +140182,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "Number" @@ -140732,11 +140193,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "Watermark", "field_category": 1, @@ -140767,11 +140224,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "Object", @@ -140783,11 +140236,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "Watermark", "field_category": 1, @@ -140817,11 +140266,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "Number" @@ -140832,11 +140277,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "Watermark", "field_category": 1, @@ -140866,11 +140307,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "Number" @@ -140881,11 +140318,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "Watermark", "field_category": 1, @@ -140915,11 +140348,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "Number" @@ -140930,11 +140359,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "Watermark", "field_category": 1, @@ -140964,11 +140389,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "Number" @@ -140979,11 +140400,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "WatermarkImage", "field_category": 1, @@ -141013,11 +140430,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "Boolean" @@ -141028,11 +140441,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "WatermarkImage", "field_category": 1, @@ -141062,11 +140471,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "String" @@ -141077,11 +140482,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "WatermarkText", "field_category": 1, @@ -141111,11 +140512,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "String" @@ -141126,11 +140523,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "WatermarkText", "field_category": 1, @@ -141160,11 +140553,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "String" @@ -141175,11 +140564,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "WatermarkText", "field_category": 1, @@ -141209,11 +140594,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "Number" @@ -141224,11 +140605,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "WatermarkText", "field_category": 1, @@ -141258,11 +140635,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "String" @@ -141273,11 +140646,7 @@ "platform_framework": [ "1", "2", - "4", - "8", - "16", - "32", - "64" + "4" ], "component": "WatermarkText", "field_category": 1, @@ -141307,11 +140676,7 @@ "platform_framework_text": [ "Vue(PC)", "React(PC)", - "Angular(PC)", - "Vue(Mobile)", - "React(Mobile)", - "Angular(Mobile)", - "Miniprogram" + "Angular(PC)" ], "field_type_text": [ "String"