diff --git a/helper/attributes.json b/helper/attributes.json index cd05dd6520..589e00d3ac 100644 --- a/helper/attributes.json +++ b/helper/attributes.json @@ -110,6 +110,10 @@ "type": "event", "description": "锚点被点击时触发\n\n[docs](https://tdesign.tencent.com/vue-next/components/anchor?tab=api#anchor-events)" }, + "t-anchor-item/custom-scroll": { + "type": "Boolean", + "description": "custom scroll effect, when set to true, clicking on an anchor link will not use JavaScript animation to smoothly scroll to the anchor target element.\n\n自定义滚动效果,为true时点击锚点链接后不会使用js动画平滑滚动到锚点目标元素\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/anchor-item?tab=api#anchoritem-props)" + }, "t-anchor-item/href": { "type": "String", "description": "锚点链接, 如果是 hash 模式需要加上当前 path\n\n[docs](https://tdesign.tencent.com/vue-next/components/anchor-item?tab=api#anchoritem-props)" @@ -144,6 +148,10 @@ "type": "Boolean", "description": "自动获取焦点\n\n[docs](https://tdesign.tencent.com/vue-next/components/auto-complete?tab=api#autocomplete-props)" }, + "t-auto-complete/borderless": { + "type": "Boolean", + "description": "无边框模式\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/auto-complete?tab=api#autocomplete-props)" + }, "t-auto-complete/clearable": { "type": "Boolean", "description": "是否允许清空\n\n[docs](https://tdesign.tencent.com/vue-next/components/auto-complete?tab=api#autocomplete-props)" @@ -154,7 +162,7 @@ }, "t-auto-complete/disabled": { "type": "Boolean", - "description": "是否禁用\n\n[docs](https://tdesign.tencent.com/vue-next/components/auto-complete?tab=api#autocomplete-props)" + "description": "是否禁用\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/auto-complete?tab=api#autocomplete-props)" }, "t-auto-complete/filter": { "type": "Function", @@ -194,7 +202,7 @@ }, "t-auto-complete/readonly": { "type": "Boolean", - "description": "是否只读\n\n[docs](https://tdesign.tencent.com/vue-next/components/auto-complete?tab=api#autocomplete-props)" + "description": "是否只读\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/auto-complete?tab=api#autocomplete-props)" }, "t-auto-complete/size": { "type": "String", @@ -297,16 +305,28 @@ "circle", "round" ], - "description": "shape\n\n形状\n\ndefault: circle\n\n[docs](https://tdesign.tencent.com/vue-next/components/avatar?tab=api#avatar-props)" + "description": "shape\n\n形状。优先级高于 AvatarGroup.shape 。Avatar 单独存在时,默认值为 circle。如果父组件 AvatarGroup 存在,默认值便由 AvatarGroup.shape 决定\n\n[docs](https://tdesign.tencent.com/vue-next/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/vue-next/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/vue-next/components/avatar?tab=api#avatar-props)" + }, + "t-avatar/click": { + "type": "event", + "description": "trigger on click\n\n点击时触发\n\n[docs](https://tdesign.tencent.com/vue-next/components/avatar?tab=api#avatar-events)" + }, + "t-avatar/contextmenu": { + "type": "event", + "description": "trigger on context menu\n\n右键点击时触发\n\n[docs](https://tdesign.tencent.com/vue-next/components/avatar?tab=api#avatar-events)" }, "t-avatar/error": { "type": "event", "description": "trigger on image load failed\n\n图片加载失败时触发\n\n[docs](https://tdesign.tencent.com/vue-next/components/avatar?tab=api#avatar-events)" }, + "t-avatar/hover": { + "type": "event", + "description": "trigger on mouse enter\n\n鼠标移入时触发\n\n[docs](https://tdesign.tencent.com/vue-next/components/avatar?tab=api#avatar-events)" + }, "t-avatar-group/cascading": { "type": "String", "options": [ @@ -327,9 +347,21 @@ "type": "Object", "description": "头像右上角提示信息\n\n[docs](https://tdesign.tencent.com/vue-next/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/vue-next/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/vue-next/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/vue-next/components/avatar-group?tab=api#avatargroup-props)" + }, + "t-avatar-group/collapsed-item-click": { + "type": "event", + "description": "点击头像折叠元素触发\n\n[docs](https://tdesign.tencent.com/vue-next/components/avatar-group?tab=api#avatargroup-events)" }, "t-back-top/container": { "type": "String|Function", @@ -558,11 +590,11 @@ }, "t-base-table/footer-affix-props": { "type": "Object", - "description": "affix props\n\n请更为使用 `footerAffixedBottom`。表尾吸底基于 Affix 组件开发,透传全部 Affix 组件属性。\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props)" + "description": "affix props\n\n请更为使用 `footerAffixedBottom`。表尾吸底基于 Affix 组件开发,透传全部 Affix 组件属性\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props)" }, "t-table/footer-affix-props": { "type": "Object", - "description": "affix props\n\n请更为使用 `footerAffixedBottom`。表尾吸底基于 Affix 组件开发,透传全部 Affix 组件属性。\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props)" + "description": "affix props\n\n请更为使用 `footerAffixedBottom`。表尾吸底基于 Affix 组件开发,透传全部 Affix 组件属性\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props)" }, "t-base-table/footer-affixed-bottom": { "type": "Boolean|Object", @@ -590,11 +622,11 @@ }, "t-base-table/header-affixed-top": { "type": "Boolean|Object", - "description": "affix header to viewport top\n\n表头吸顶。使用该功能,需要非常注意表格是相对于哪一个父元素进行滚动。值为 `true`,表示相对于整个窗口吸顶。如果表格滚动的父元素不是整个窗口,请通过 `headerAffixedTop.container` 调整吸顶的位置。基于 Affix 组件开发,透传全部 Affix 组件属性。\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props)" + "description": "affix header to viewport top\n\n表头吸顶。使用该功能,需要非常注意表格是相对于哪一个父元素进行滚动。值为 `true`,表示相对于整个窗口吸顶。如果表格滚动的父元素不是整个窗口,请通过 `headerAffixedTop.container` 调整吸顶的位置。基于 Affix 组件开发,透传全部 Affix 组件属性\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props)" }, "t-table/header-affixed-top": { "type": "Boolean|Object", - "description": "affix header to viewport top\n\n表头吸顶。使用该功能,需要非常注意表格是相对于哪一个父元素进行滚动。值为 `true`,表示相对于整个窗口吸顶。如果表格滚动的父元素不是整个窗口,请通过 `headerAffixedTop.container` 调整吸顶的位置。基于 Affix 组件开发,透传全部 Affix 组件属性。\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props)" + "description": "affix header to viewport top\n\n表头吸顶。使用该功能,需要非常注意表格是相对于哪一个父元素进行滚动。值为 `true`,表示相对于整个窗口吸顶。如果表格滚动的父元素不是整个窗口,请通过 `headerAffixedTop.container` 调整吸顶的位置。基于 Affix 组件开发,透传全部 Affix 组件属性\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props)" }, "t-base-table/height": { "type": "String|Number", @@ -1027,7 +1059,11 @@ }, "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/vue-next/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/vue-next/components/button?tab=api#button-props)" + }, + "t-button/form": { + "type": "String", + "description": " native `form` attribute,which supports triggering events for a form with a specified id through the use of the form attribute\n\n原生的form属性,支持用于通过 form 属性触发对应 id 的 form 的表单事件\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/button?tab=api#button-props)" }, "t-button/ghost": { "type": "Boolean", @@ -1045,6 +1081,10 @@ "type": "Boolean", "description": "set button to be loading state\n\n是否显示为加载状态\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/button?tab=api#button-props)" }, + "t-button/loading-props": { + "type": "Object", + "description": "透传 Loading 组件全部属性\n\n[docs](https://tdesign.tencent.com/vue-next/components/button?tab=api#button-props)" + }, "t-button/shape": { "type": "String", "options": [ @@ -1058,7 +1098,6 @@ "t-button/size": { "type": "String", "options": [ - "extra-small", "small", "medium", "large" @@ -1324,11 +1363,11 @@ }, "t-cascader/collapsed-items": { "type": "TNode", - "description": "多选情况下,用于设置折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 collapsedItems 自定义。`value` 表示当前存在的所有标签,`collapsedTags` 表示折叠的标签,`count` 表示折叠的数量\n\n[docs](https://tdesign.tencent.com/vue-next/components/cascader?tab=api#cascader-props)" + "description": "多选情况下,用于设置折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 collapsedItems 自定义。`value` 表示当前存在的所有标签,`collapsedSelectedItems` 表示折叠的标签,`count` 表示折叠的数量,`onClose` 表示移除标签的事件回调\n\n[docs](https://tdesign.tencent.com/vue-next/components/cascader?tab=api#cascader-props)" }, "t-cascader/disabled": { "type": "Boolean", - "description": "是否禁用组件\n\n[docs](https://tdesign.tencent.com/vue-next/components/cascader?tab=api#cascader-props)" + "description": "是否禁用组件\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/cascader?tab=api#cascader-props)" }, "t-cascader/empty": { "type": "String|TNode", @@ -1390,6 +1429,14 @@ "type": "Array", "description": "可选项数据源\n\ndefault: []\n\n[docs](https://tdesign.tencent.com/vue-next/components/cascader?tab=api#cascader-props)" }, + "t-cascader/panel-bottom-content": { + "type": "String|TNode", + "description": "bottom content of the cascader panel\n\n面板内的底部内容\n\n[docs](https://tdesign.tencent.com/vue-next/components/cascader?tab=api#cascader-props)" + }, + "t-cascader/panel-top-content": { + "type": "String|TNode", + "description": "top content of the cascader panel\n\n面板内的顶部内容\n\n[docs](https://tdesign.tencent.com/vue-next/components/cascader?tab=api#cascader-props)" + }, "t-cascader/placeholder": { "type": "String", "description": "占位符\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/cascader?tab=api#cascader-props)" @@ -1408,7 +1455,7 @@ }, "t-cascader/readonly": { "type": "Boolean", - "description": "只读状态,值为真会隐藏输入框,且无法打开下拉框\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/cascader?tab=api#cascader-props)" + "description": "只读状态,值为真会隐藏输入框,且无法打开下拉框\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/cascader?tab=api#cascader-props)" }, "t-cascader/reserve-keyword": { "type": "Boolean", @@ -1617,7 +1664,7 @@ }, "t-checkbox/readonly": { "type": "Boolean", - "description": "只读状态\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/checkbox?tab=api#checkbox-props)" + "description": "只读状态\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/checkbox?tab=api#checkbox-props)" }, "t-checkbox/title": { "type": "String", @@ -1633,7 +1680,7 @@ }, "t-checkbox-group/disabled": { "type": "Boolean", - "description": "是否禁用组件,默认为 false。优先级:Form.disabled < CheckboxGroup.disabled < Checkbox.disabled\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/checkbox-group?tab=api#checkboxgroup-props)" + "description": "是否禁用组件。优先级:Form.disabled < CheckboxGroup.disabled < Checkbox.disabled\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/checkbox-group?tab=api#checkboxgroup-props)" }, "t-checkbox-group/lazy-load": { "type": "Boolean", @@ -1651,6 +1698,10 @@ "type": "Array", "description": "以配置形式设置子元素。示例1:`['北京', '上海']` ,示例2: `[{ label: '全选', checkAll: true }, { label: '上海', value: 'shanghai' }]`。checkAll 值为 true 表示当前选项为「全选选项」\n\n[docs](https://tdesign.tencent.com/vue-next/components/checkbox-group?tab=api#checkboxgroup-props)" }, + "t-checkbox-group/readonly": { + "type": "Boolean", + "description": "只读状态\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/checkbox-group?tab=api#checkboxgroup-props)" + }, "t-checkbox-group/value": { "type": "Array", "description": "选中值\n\ndefault: []\n\n[docs](https://tdesign.tencent.com/vue-next/components/checkbox-group?tab=api#checkboxgroup-props)" @@ -1783,6 +1834,10 @@ "type": "String|Number", "description": "当前面板唯一标识,如果值为空则取当前面下标兜底作为唯一标识\n\n[docs](https://tdesign.tencent.com/vue-next/components/collapse-panel?tab=api#collapsepanel-props)" }, + "t-color-picker/borderless": { + "type": "Boolean", + "description": "无边框模式\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/color-picker?tab=api#colorpicker-props)" + }, "t-color-picker/clearable": { "type": "Boolean", "description": "是否可清空\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/color-picker?tab=api#colorpicker-props)" @@ -1793,11 +1848,11 @@ }, "t-color-picker/color-modes": { "type": "Array", - "description": "颜色模式选择。同时支持单色和渐变两种模式,可仅使用单色或者渐变其中一种模式,也可以同时使用。`monochrome` 表示单色,`linear-gradient` 表示渐变色\n\ndefault: ()=> ['monochrome', 'linear-gradient']\n\n[docs](https://tdesign.tencent.com/vue-next/components/color-picker?tab=api#colorpicker-props)" + "description": "颜色模式选择。同时支持单色和渐变两种模式,可仅使用单色或者渐变其中一种模式,也可以同时使用。`monochrome` 表示单色,`linear-gradient` 表示渐变色\n\ndefault: [\"monochrome\", \"linear-gradient\"]\n\n[docs](https://tdesign.tencent.com/vue-next/components/color-picker?tab=api#colorpicker-props)" }, "t-color-picker/disabled": { "type": "Boolean", - "description": "是否禁用组件\n\n[docs](https://tdesign.tencent.com/vue-next/components/color-picker?tab=api#colorpicker-props)" + "description": "是否禁用组件\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/color-picker?tab=api#colorpicker-props)" }, "t-color-picker/enable-alpha": { "type": "Boolean", @@ -1847,6 +1902,15 @@ "type": "Boolean", "description": "是否展示颜色选择条右侧的颜色预览区域\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/vue-next/components/color-picker?tab=api#colorpicker-props)" }, + "t-color-picker/size": { + "type": "String", + "options": [ + "small", + "medium", + "large" + ], + "description": "组件尺寸\n\ndefault: medium\n\n[docs](https://tdesign.tencent.com/vue-next/components/color-picker?tab=api#colorpicker-props)" + }, "t-color-picker/swatch-colors": { "type": "Array", "description": "swatch colors\n\n系统预设的颜色样例,值为 `null` 或 `[]` 则不显示系统色,值为 `undefined` 会显示组件内置的系统默认色\n\n[docs](https://tdesign.tencent.com/vue-next/components/color-picker?tab=api#colorpicker-props)" @@ -1899,6 +1963,10 @@ "type": "Boolean", "description": "是否允许输入日期\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/date-picker?tab=api#datepicker-props)" }, + "t-date-picker/borderless": { + "type": "Boolean", + "description": "无边框模式\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/date-picker?tab=api#datepicker-props)" + }, "t-date-picker/clearable": { "type": "Boolean", "description": "是否显示清除按钮\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/date-picker?tab=api#datepicker-props)" @@ -1911,9 +1979,13 @@ "type": "Object|Array|Function", "description": "禁用日期,示例:['A', 'B'] 表示日期 A 和日期 B 会被禁用。`{ from: 'A', to: 'B' }` 表示在 A 到 B 之间的日期会被禁用。`{ before: 'A', after: 'B' }` 表示在 A 之前和在 B 之后的日期都会被禁用。其中 A = '2021-01-01',B = '2021-02-01'。值类型为 Function 则表示返回值为 true 的日期会被禁用\n\n[docs](https://tdesign.tencent.com/vue-next/components/date-picker?tab=api#datepicker-props)" }, + "t-date-picker/disable-time": { + "type": "Function", + "description": "disable time config function\n\n禁用时间项的配置函数,仅在日期时间选择器中可用\n\n[docs](https://tdesign.tencent.com/vue-next/components/date-picker?tab=api#datepicker-props)" + }, "t-date-picker/disabled": { "type": "Boolean", - "description": "make DatePicker to be disabled\n\n是否禁用组件\n\n[docs](https://tdesign.tencent.com/vue-next/components/date-picker?tab=api#datepicker-props)" + "description": "make DatePicker to be disabled\n\n是否禁用组件\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/date-picker?tab=api#datepicker-props)" }, "t-date-picker/enable-time-picker": { "type": "Boolean", @@ -1940,6 +2012,10 @@ "type": "Object", "description": "透传给输入框(Input)组件的参数\n\n[docs](https://tdesign.tencent.com/vue-next/components/date-picker?tab=api#datepicker-props)" }, + "t-date-picker/label": { + "type": "String|TNode", + "description": "左侧文本\n\n[docs](https://tdesign.tencent.com/vue-next/components/date-picker?tab=api#datepicker-props)" + }, "t-date-picker/mode": { "type": "String", "options": [ @@ -1951,6 +2027,14 @@ ], "description": "选择器模式\n\ndefault: date\n\n[docs](https://tdesign.tencent.com/vue-next/components/date-picker?tab=api#datepicker-props)" }, + "t-date-picker/multiple": { + "type": "Boolean", + "description": "support multiple date,but not support being use together with range-picker、enableTimePicker and allowInput\n\n支持多选日期,但不支持在range-picker中,或与enableTimePicker、allowInput 一起使用\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/date-picker?tab=api#datepicker-props)" + }, + "t-date-picker/need-confirm": { + "type": "Boolean", + "description": "whether a confirmation button needs to be clicked to complete the action in the date-time picker scenario, default is true\n\n决定在日期时间选择器的场景下是否需要点击确认按钮才完成选择动作,默认为`true`\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/vue-next/components/date-picker?tab=api#datepicker-props)" + }, "t-date-picker/placeholder": { "type": "String|Array", "description": "占位符\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/date-picker?tab=api#datepicker-props)" @@ -1977,6 +2061,10 @@ ], "description": "预设面板展示区域(包含确定按钮)\n\ndefault: bottom\n\n[docs](https://tdesign.tencent.com/vue-next/components/date-picker?tab=api#datepicker-props)" }, + "t-date-picker/select-input-props": { + "type": "Object", + "description": "透传 SelectInput 筛选器输入框组件的全部属性\n\n[docs](https://tdesign.tencent.com/vue-next/components/date-picker?tab=api#datepicker-props)" + }, "t-date-picker/size": { "type": "String", "options": [ @@ -2012,6 +2100,10 @@ "type": "String|Number|Array|Date", "description": "选中值\n\ndefault: ''\n\n[docs](https://tdesign.tencent.com/vue-next/components/date-picker?tab=api#datepicker-props)" }, + "t-date-picker/value-display": { + "type": "String|TNode", + "description": "`MouseEvent`\n\n自定义选中项呈现的内容\n\n[docs](https://tdesign.tencent.com/vue-next/components/date-picker?tab=api#datepicker-props)" + }, "t-date-picker/value-type": { "type": "String", "description": "用于格式化日期的值,仅支持部分格式,时间戳、日期等。⚠️ `YYYYMMDD` 这种格式不支持,请勿使用,如果希望支持可以给 `dayjs` 提个 PR。注意和 `format` 的区别,`format` 仅用于处理日期在页面中呈现的格式。`ValueTypeEnum` 即将废弃,请更为使用 `DatePickerValueType`\n\n[docs](https://tdesign.tencent.com/vue-next/components/date-picker?tab=api#datepicker-props)" @@ -2080,9 +2172,13 @@ "type": "Boolean", "description": "是否允许输入日期\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/date-range-picker?tab=api#daterangepicker-props)" }, + "t-date-range-picker/borderless": { + "type": "Boolean", + "description": "无边框模式\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/date-range-picker?tab=api#daterangepicker-props)" + }, "t-date-range-picker/cancel-range-select-limit": { "type": "Boolean", - "description": "The default date selection interaction is determined based on the order of dates clicked and will be restricted. For example, if a user first clicks on the start date input box and chooses a date, for instance, 2020-05-15, the interaction will automatically shift focus to the end date input box, waiting for the user to select the end time. At this point, the user can only select a date later than 2020-05-15 (previous dates will be grayed out and disabled, restricting the user's selection). When this value is set to `true`, this restriction is lifted.\n\n默认的日期选择交互是根据点击前后日期的顺序来决定并且会加以限制。比如:用户先点击开始时间输入框,选择了一个日期例如2020-05-15,紧接着交互会自动将焦点跳到结束日期输入框,等待用户选择结束时间。此时用户只能选择大于2020-05-15的日期(之前的日期会被灰态禁止点击,限制用户的点击)。当该值传递`true`时,则取消该限制。\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/date-range-picker?tab=api#daterangepicker-props)" + "description": "The default date selection interaction is determined based on the order of dates clicked and will be restricted. For example, if a user first clicks on the start date input box and chooses a date, for instance, 2020-05-15, the interaction will automatically shift focus to the end date input box, waiting for the user to select the end time. At this point, the user can only select a date later than 2020-05-15 (previous dates will be grayed out and disabled, restricting the user's selection). When this value is set to `true`, this restriction is lifted\n\n默认的日期选择交互是根据点击前后日期的顺序来决定并且会加以限制。比如:用户先点击开始时间输入框,选择了一个日期例如2020-05-15,紧接着交互会自动将焦点跳到结束日期输入框,等待用户选择结束时间。此时用户只能选择大于2020-05-15的日期(之前的日期会被灰态禁止点击,限制用户的点击)。当该值传递`true`时,则取消该限制\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/date-range-picker?tab=api#daterangepicker-props)" }, "t-date-range-picker/clearable": { "type": "Boolean", @@ -2096,9 +2192,13 @@ "type": "Object|Array|Function", "description": "禁用日期,示例:['A', 'B'] 表示日期 A 和日期 B 会被禁用。{ from: 'A', to: 'B' } 表示在 A 到 B 之间的日期会被禁用。{ before: 'A', after: 'B' } 表示在 A 之前和在 B 之后的日期都会被禁用。其中 A = '2021-01-01',B = '2021-02-01'。值类型为 Function 则表示返回值为 true 的日期会被禁用\n\n[docs](https://tdesign.tencent.com/vue-next/components/date-range-picker?tab=api#daterangepicker-props)" }, + "t-date-range-picker/disable-time": { + "type": "Function", + "description": "disable time config function\n\n禁用时间项的配置函数,仅在日期区间选择器中开启时间展示时可用\n\n[docs](https://tdesign.tencent.com/vue-next/components/date-range-picker?tab=api#daterangepicker-props)" + }, "t-date-range-picker/disabled": { "type": "Boolean", - "description": "是否禁用组件\n\n[docs](https://tdesign.tencent.com/vue-next/components/date-range-picker?tab=api#daterangepicker-props)" + "description": "是否禁用组件\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/date-range-picker?tab=api#daterangepicker-props)" }, "t-date-range-picker/enable-time-picker": { "type": "Boolean", @@ -2121,6 +2221,10 @@ "type": "String", "description": "用于格式化日期,[详细文档](https://day.js.org/docs/en/display/format)\n\n[docs](https://tdesign.tencent.com/vue-next/components/date-range-picker?tab=api#daterangepicker-props)" }, + "t-date-range-picker/label": { + "type": "String|TNode", + "description": "左侧文本\n\n[docs](https://tdesign.tencent.com/vue-next/components/date-range-picker?tab=api#daterangepicker-props)" + }, "t-date-range-picker/mode": { "type": "String", "options": [ @@ -2132,6 +2236,10 @@ ], "description": "选择器模式\n\ndefault: date\n\n[docs](https://tdesign.tencent.com/vue-next/components/date-range-picker?tab=api#daterangepicker-props)" }, + "t-date-range-picker/need-confirm": { + "type": "Boolean", + "description": "whether a confirmation button needs to be clicked to complete the action in the date-time range picker scenario, default is true\n\n决定在日期时间区间选择器的场景下是否需要点击确认按钮才完成选择动作,默认为 `true`\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/vue-next/components/date-range-picker?tab=api#daterangepicker-props)" + }, "t-date-range-picker/panel-preselection": { "type": "Boolean", "description": "在开始日期选中之前,面板是否显示预选状态,即是否高亮预选日期\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/vue-next/components/date-range-picker?tab=api#daterangepicker-props)" @@ -2284,30 +2392,30 @@ "type": "event", "description": "年份切换发生变化时触发\n\n[docs](https://tdesign.tencent.com/vue-next/components/date-range-picker-panel?tab=api#daterangepickerpanel-events)" }, - "t-descriptions-item/align": { + "t-description-item/align": { "type": "String", "options": [ "top", "middle", "bottom" ], - "description": "content align type\n\n内容垂直对齐方式,DescriptionsItem.align 优先级高于 Descriptions.align\n\n[docs](https://tdesign.tencent.com/vue-next/components/descriptions-item?tab=api#descriptionsItem-props)" + "description": "content align type\n\n内容垂直对齐方式,DescriptionItem.align 优先级高于 Descriptions.align\n\n[docs](https://tdesign.tencent.com/vue-next/components/description-item?tab=api#descriptionitem-props)" }, - "t-descriptions-item/content": { + "t-description-item/content": { "type": "String|TNode", - "description": "content of description item\n\n描述项内容\n\n[docs](https://tdesign.tencent.com/vue-next/components/descriptions-item?tab=api#descriptionsItem-props)" + "description": "content of description item\n\n描述项内容\n\n[docs](https://tdesign.tencent.com/vue-next/components/description-item?tab=api#descriptionitem-props)" }, - "t-descriptions-item/default": { + "t-description-item/default": { "type": "String|TNode", - "description": "content of description item\n\n描述项内容,同 `content`\n\n[docs](https://tdesign.tencent.com/vue-next/components/descriptions-item?tab=api#descriptionsItem-props)" + "description": "content of description item\n\n描述项内容,同 `content`\n\n[docs](https://tdesign.tencent.com/vue-next/components/description-item?tab=api#descriptionitem-props)" }, - "t-descriptions-item/label": { + "t-description-item/label": { "type": "String|TNode", - "description": "label of description item\n\n描述项标签\n\n[docs](https://tdesign.tencent.com/vue-next/components/descriptions-item?tab=api#descriptionsItem-props)" + "description": "label of description item\n\n描述项标签\n\n[docs](https://tdesign.tencent.com/vue-next/components/description-item?tab=api#descriptionitem-props)" }, - "t-descriptions-item/span": { + "t-description-item/span": { "type": "Number", - "description": "width count\n\n占用的宽度数量\n\ndefault: 1\n\n[docs](https://tdesign.tencent.com/vue-next/components/descriptions-item?tab=api#descriptionsItem-props)" + "description": "width count\n\n占用的宽度数量\n\ndefault: 1\n\n[docs](https://tdesign.tencent.com/vue-next/components/description-item?tab=api#descriptionitem-props)" }, "t-descriptions/align": { "type": "String", @@ -2316,7 +2424,7 @@ "middle", "bottom" ], - "description": "content align type\n\n内容垂直对齐方式,DescriptionsItem.align 优先级高于 Descriptions.align\n\n[docs](https://tdesign.tencent.com/vue-next/components/descriptions?tab=api#descriptions-props)" + "description": "content align type\n\n内容垂直对齐方式,DescriptionItem.align 优先级高于 Descriptions.align\n\n[docs](https://tdesign.tencent.com/vue-next/components/descriptions?tab=api#descriptions-props)" }, "t-descriptions/bordered": { "type": "Boolean", @@ -2328,11 +2436,11 @@ }, "t-descriptions/column": { "type": "Number", - "description": "count of DescriptionsItem in one row\n\n一行 `DescriptionsItem` 的数量\n\ndefault: 2\n\n[docs](https://tdesign.tencent.com/vue-next/components/descriptions?tab=api#descriptions-props)" + "description": "count of DescriptionItem in one row\n\n一行 `DescriptionItem` 的数量\n\ndefault: 2\n\n[docs](https://tdesign.tencent.com/vue-next/components/descriptions?tab=api#descriptions-props)" }, "t-descriptions/content-style": { "type": "Object", - "description": "style of description cotent\n\n自定义描述项内容的样式\n\n[docs](https://tdesign.tencent.com/vue-next/components/descriptions?tab=api#descriptions-props)" + "description": "style of description content\n\n自定义描述项内容的样式\n\n[docs](https://tdesign.tencent.com/vue-next/components/descriptions?tab=api#descriptions-props)" }, "t-descriptions/item-layout": { "type": "String", @@ -2367,6 +2475,14 @@ ], "description": "a descriptions has three size\n\n组件尺寸\n\ndefault: medium\n\n[docs](https://tdesign.tencent.com/vue-next/components/descriptions?tab=api#descriptions-props)" }, + "t-descriptions/table-layout": { + "type": "String", + "options": [ + "fixed", + "auto" + ], + "description": "Sets the algorithm used to layout `table` cells, rows, and columns, exactly the same as the native table-layout css property. `fixed`: uses fixed layout algorithm; `auto`: uses automatic layout algorithm. For more details, see [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout)\n\n用于设置底层 `table` 单元格、行和列的布局算法,与原生 table-layout css 属性完全一致。`fixed`:采用固定布局算法;`auto`:采用自动布局算法。详情可参考 [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout)\n\ndefault: fixed\n\n[docs](https://tdesign.tencent.com/vue-next/components/descriptions?tab=api#descriptions-props)" + }, "t-descriptions/title": { "type": "String|TNode", "description": "title of descriptions\n\n描述列表的标题\n\n[docs](https://tdesign.tencent.com/vue-next/components/descriptions?tab=api#descriptions-props)" @@ -2419,6 +2535,10 @@ "type": "String", "description": "弹框元素类名,示例:'t-class-dialog-first t-class-dialog-second'\n\n[docs](https://tdesign.tencent.com/vue-next/components/dialog?tab=api#dialog-props)" }, + "t-dialog/dialog-style": { + "type": "Object", + "description": "Styles that apply to the dialog box itself\n\n作用于对话框本身的样式\n\n[docs](https://tdesign.tencent.com/vue-next/components/dialog?tab=api#dialog-props)" + }, "t-dialog/draggable": { "type": "Boolean", "description": "对话框是否可以拖拽(仅在非模态对话框时有效)\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/dialog?tab=api#dialog-props)" @@ -2436,9 +2556,10 @@ "options": [ "modal", "modeless", + "normal", "full-screen" ], - "description": "对话框类型,有 3 种:模态对话框、非模态对话框、全屏对话框。弹出「模态对话框」时,只能操作对话框里面的内容,不能操作其他内容。弹出「非模态对话框」时,则可以操作页面内所有内容。「普通对话框」是指没有脱离文档流的对话框,可以在这个基础上开发更多的插件\n\ndefault: modal\n\n[docs](https://tdesign.tencent.com/vue-next/components/dialog?tab=api#dialog-props)" + "description": "对话框类型,有 4 种:模态对话框、非模态对话框、普通对话框、全屏对话框。弹出「模态对话框」时,只能操作对话框里面的内容,不能操作其他内容。弹出「非模态对话框」时,则可以操作页面内所有内容。「普通对话框」是指没有脱离文档流的对话框,可以在这个基础上开发更多的插件\n\ndefault: modal\n\n[docs](https://tdesign.tencent.com/vue-next/components/dialog?tab=api#dialog-props)" }, "t-dialog/placement": { "type": "String", @@ -2487,6 +2608,14 @@ "type": "Number", "description": "对话框层级,Web 侧样式默认为 2500,移动端和小程序样式默认为 1500\n\n[docs](https://tdesign.tencent.com/vue-next/components/dialog?tab=api#dialog-props)" }, + "t-dialog/before-close": { + "type": "event", + "description": "对话框执行消失动画效果前触发\n\n[docs](https://tdesign.tencent.com/vue-next/components/dialog?tab=api#dialog-events)" + }, + "t-dialog/before-open": { + "type": "event", + "description": "对话框执行弹出动画效果前触发\n\n[docs](https://tdesign.tencent.com/vue-next/components/dialog?tab=api#dialog-events)" + }, "t-dialog/cancel": { "type": "event", "description": "如果“取消”按钮存在,则点击“取消”按钮时触发,同时触发关闭事件\n\n[docs](https://tdesign.tencent.com/vue-next/components/dialog?tab=api#dialog-events)" @@ -2646,6 +2775,14 @@ "type": "Number", "description": "抽屉层级,样式默认为 1500\n\n[docs](https://tdesign.tencent.com/vue-next/components/drawer?tab=api#drawer-props)" }, + "t-drawer/before-close": { + "type": "event", + "description": "抽屉执行关闭动画效果前触发\n\n[docs](https://tdesign.tencent.com/vue-next/components/drawer?tab=api#drawer-events)" + }, + "t-drawer/before-open": { + "type": "event", + "description": "抽屉执行打开动画效果前触发\n\n[docs](https://tdesign.tencent.com/vue-next/components/drawer?tab=api#drawer-events)" + }, "t-drawer/cancel": { "type": "event", "description": "如果“取消”按钮存在,点击“取消”按钮时触发,同时触发关闭事件\n\n[docs](https://tdesign.tencent.com/vue-next/components/drawer?tab=api#drawer-events)" @@ -2790,7 +2927,7 @@ }, "t-empty/action": { "type": "TNode", - "description": "action block\n\n操作区域\n\n[docs](https://tdesign.tencent.com/vue-next/components/empty?tab=api#empty-props)" + "description": "action block\n\n操作按钮\n\n[docs](https://tdesign.tencent.com/vue-next/components/empty?tab=api#empty-props)" }, "t-empty/description": { "type": "String|TNode", @@ -2798,12 +2935,21 @@ }, "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/vue-next/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/vue-next/components/empty?tab=api#empty-props)" }, "t-empty/image-style": { "type": "Object", "description": "pass `Cascading Style Sheets` to image element\n\n透传图片样式表\n\n[docs](https://tdesign.tencent.com/vue-next/components/empty?tab=api#empty-props)" }, + "t-empty/size": { + "type": "String", + "options": [ + "small", + "medium", + "large" + ], + "description": "size of Empty, default value is `medium`\n\n空状态的尺寸,默认为 `medium`\n\ndefault: medium\n\n[docs](https://tdesign.tencent.com/vue-next/components/empty?tab=api#empty-props)" + }, "t-empty/title": { "type": "String|TNode", "description": "empty component title\n\n错误标题\n\n[docs](https://tdesign.tencent.com/vue-next/components/empty?tab=api#empty-props)" @@ -2871,6 +3017,10 @@ "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/vue-next/components/form?tab=api#form-props)" }, + "t-form/id": { + "type": "String", + "description": " native id attribute of the form,which supports being used in conjunction with non-form buttons through the form attribute to trigger form events\n\n表单原生的id属性,支持用于配合非表单内的按钮通过form属性来触发表单事件\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/form?tab=api#form-props)" + }, "t-form/label-align": { "type": "String", "options": [ @@ -2896,6 +3046,10 @@ "type": "Boolean", "description": "是否阻止表单提交默认事件(表单提交默认事件会刷新页面),设置为 `true` 可以避免刷新\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/vue-next/components/form?tab=api#form-props)" }, + "t-form/readonly": { + "type": "Boolean", + "description": "是否整个表单只读\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/form?tab=api#form-props)" + }, "t-form/required-mark": { "type": "Boolean", "description": "是否显示必填符号(*),默认显示\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/form?tab=api#form-props)" @@ -3012,7 +3166,7 @@ }, "t-guide/finish-button-props": { "type": "Object", - "description": "透传 完成 的全部属性,示例:`{ content: '完成', theme: 'primary' }`\n\n[docs](https://tdesign.tencent.com/vue-next/components/guide?tab=api#guide-props)" + "description": "透传 完成按钮 的全部属性,示例:`{ content: '完成', theme: 'primary' }`\n\n[docs](https://tdesign.tencent.com/vue-next/components/guide?tab=api#guide-props)" }, "t-guide/hide-counter": { "type": "Boolean", @@ -3056,7 +3210,7 @@ }, "t-guide/steps": { "type": "Array", - "description": "用于定义每个步骤的内容,包括高亮的节点、相对位置和具体的文案内容等。\n\n[docs](https://tdesign.tencent.com/vue-next/components/guide?tab=api#guide-props)" + "description": "用于定义每个步骤的内容,包括高亮的节点、相对位置和具体的文案内容等\n\n[docs](https://tdesign.tencent.com/vue-next/components/guide?tab=api#guide-props)" }, "t-guide/z-index": { "type": "Number", @@ -3268,6 +3422,10 @@ "type": "event", "description": "trigger on image loaded\n\n图片加载完成时触发\n\n[docs](https://tdesign.tencent.com/vue-next/components/image?tab=api#image-events)" }, + "t-image-viewer/attach": { + "type": "String|Function", + "description": "指定挂载节点。数据类型为 String 时,会被当作选择器处理,进行节点查询。示例:'body' 或 () => document.body\n\ndefault: 'body'\n\n[docs](https://tdesign.tencent.com/vue-next/components/image-viewer?tab=api#imageviewer-props)" + }, "t-image-viewer/close-btn": { "type": "Boolean|TNode", "description": "是否展示关闭按钮,值为 `true` 显示默认关闭按钮;值为 `false` 则不显示关闭按钮;也可以完全自定义关闭按钮\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/vue-next/components/image-viewer?tab=api#imageviewer-props)" @@ -3284,6 +3442,20 @@ "type": "Boolean", "description": "是否允许拖拽调整位置。`mode=modal` 时,默认不允许拖拽;`mode=modeless` 时,默认允许拖拽\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/image-viewer?tab=api#imageviewer-props)" }, + "t-image-viewer/image-referrerpolicy": { + "type": "String", + "options": [ + "no-referrer", + "no-referrer-when-downgrade", + "origin", + "origin-when-cross-origin", + "same-origin", + "strict-origin", + "strict-origin-when-cross-origin", + "unsafe-url" + ], + "description": "attribute of ``, [MDN Definition](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy)\n\n图片预览中的 `` 标签的原生属性,[MDN 定义](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy)\n\n[docs](https://tdesign.tencent.com/vue-next/components/image-viewer?tab=api#imageviewer-props)" + }, "t-image-viewer/image-scale": { "type": "Object", "description": " 图片缩放相关配置。`imageScale.max` 缩放的最大比例;`imageScale.min` 缩放的最小比例;`imageScale.step` 缩放的步长速度; `imageScale.defaultScale` 默认的缩放比例\n\n[docs](https://tdesign.tencent.com/vue-next/components/image-viewer?tab=api#imageviewer-props)" @@ -3367,7 +3539,7 @@ }, "t-input/borderless": { "type": "Boolean", - "description": "input without border\n\n【开发中】无边框模式\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)" + "description": "input without border\n\n是否开启无边框模式\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)" }, "t-input/clearable": { "type": "Boolean", @@ -3375,7 +3547,7 @@ }, "t-input/disabled": { "type": "Boolean", - "description": "make input to be disabled\n\n是否禁用输入框\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)" + "description": "make input to be disabled\n\n是否禁用输入框\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)" }, "t-input/format": { "type": "Function", @@ -3395,7 +3567,7 @@ }, "t-input/maxlength": { "type": "String|Number", - "description": "用户最多可以输入的文本长度,一个中文等于一个计数长度。值为空,则表示不限制输入长度。`maxcharacter` 和 `maxlength` 二选一使用\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)" + "description": "用户最多可以输入的文本长度,一个中文等于一个计数长度。默认为空,不限制输入长度。`maxcharacter` 和 `maxlength` 二选一使用\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)" }, "t-input/name": { "type": "String", @@ -3411,7 +3583,7 @@ }, "t-input/readonly": { "type": "Boolean", - "description": "只读状态\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)" + "description": "只读状态\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)" }, "t-input/show-clear-icon-on-empty": { "type": "Boolean", @@ -3430,6 +3602,10 @@ ], "description": "make input to be different size\n\n输入框尺寸\n\ndefault: medium\n\n[docs](https://tdesign.tencent.com/vue-next/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/vue-next/components/input?tab=api#input-props)" + }, "t-input/status": { "type": "String", "options": [ @@ -3438,7 +3614,7 @@ "warning", "error" ], - "description": "输入框状态。默认情况会由组件内部根据实际情况呈现,如果文本过长引起的状态变化\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)" + "description": "输入框状态\n\ndefault: default\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)" }, "t-input/suffix": { "type": "String|TNode", @@ -3564,12 +3740,12 @@ "description": "宽度随内容自适应\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/input-number?tab=api#inputnumber-props)" }, "t-input-number/decimal-places": { - "type": "Number", + "type": "Number|Object", "description": "[小数位数](https://en.wiktionary.org/wiki/decimal_place)\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/input-number?tab=api#inputnumber-props)" }, "t-input-number/disabled": { "type": "Boolean", - "description": "禁用组件\n\n[docs](https://tdesign.tencent.com/vue-next/components/input-number?tab=api#inputnumber-props)" + "description": "禁用组件\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/input-number?tab=api#inputnumber-props)" }, "t-input-number/format": { "type": "Function", @@ -3601,7 +3777,7 @@ }, "t-input-number/readonly": { "type": "Boolean", - "description": "只读状态\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/input-number?tab=api#inputnumber-props)" + "description": "只读状态\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/input-number?tab=api#inputnumber-props)" }, "t-input-number/size": { "type": "String", @@ -3697,7 +3873,7 @@ }, "t-link/disabled": { "type": "Boolean", - "description": "make link to be disabled\n\n禁用链接\n\n[docs](https://tdesign.tencent.com/vue-next/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/vue-next/components/link?tab=api#link-props)" }, "t-link/download": { "type": "String|Boolean", @@ -3749,7 +3925,7 @@ }, "t-link/underline": { "type": "Boolean", - "description": "普通状态是否显示链接下划线\n\n[docs](https://tdesign.tencent.com/vue-next/components/link?tab=api#link-props)" + "description": "是否显示链接下划线\n\n[docs](https://tdesign.tencent.com/vue-next/components/link?tab=api#link-props)" }, "t-link/click": { "type": "event", @@ -3916,7 +4092,7 @@ "global", "system" ], - "description": "Menu can be light mode or dark mode.\n\n菜单风格,有亮色模式和暗色模式两种。当 `theme = global` 时,模式随整个组件库;当 `theme = system` 时,模式跟随系统。⚠️ `global/system` 正在开发中,暂勿使用\n\ndefault: light\n\n[docs](https://tdesign.tencent.com/vue-next/components/menu?tab=api#menu-props)" + "description": "Menu can be light mode or dark mode\n\n菜单风格,有亮色模式和暗色模式两种。当 `theme = global` 时,模式随整个组件库;当 `theme = system` 时,模式跟随系统。⚠️ `global/system` 正在开发中,暂勿使用\n\ndefault: light\n\n[docs](https://tdesign.tencent.com/vue-next/components/menu?tab=api#menu-props)" }, "t-menu/value": { "type": "String|Number", @@ -3964,7 +4140,11 @@ }, "t-menu-item/router": { "type": "Object", - "description": "路由对象。如果项目存在 Router,则默认使用 Router。\n\n[docs](https://tdesign.tencent.com/vue-next/components/menu-item?tab=api#menuitem-props)" + "description": "路由对象。如果项目存在 Router,则默认使用 Router\n\n[docs](https://tdesign.tencent.com/vue-next/components/menu-item?tab=api#menuitem-props)" + }, + "t-menu-item/router-link": { + "type": "Boolean", + "description": "This API is valid if and only if the Router exists. Enable menu item content to be rendered as an `` consistent with router-link behavior\n\n当且仅当 Router 存在时,该 API 有效。开启菜单项内容渲染为与router-link行为一致的``标签\n\n[docs](https://tdesign.tencent.com/vue-next/components/menu-item?tab=api#menuitem-props)" }, "t-menu-item/target": { "type": "String", @@ -3980,6 +4160,10 @@ "type": "String|Object", "description": "路由跳转目标,当且仅当 Router 存在时,该 API 有效\n\n[docs](https://tdesign.tencent.com/vue-next/components/menu-item?tab=api#menuitem-props)" }, + "t-menu-item/tooltip-props": { + "type": "Object", + "description": "Transparent all feature props of the Tooltip\n\n透传 Tooltip 组件的特性,作用于一级菜单收起下聚焦时出现的节点\n\n[docs](https://tdesign.tencent.com/vue-next/components/menu-item?tab=api#menuitem-props)" + }, "t-menu-item/value": { "type": "String|Number", "description": "菜单项唯一标识\n\n[docs](https://tdesign.tencent.com/vue-next/components/menu-item?tab=api#menuitem-props)" @@ -3998,7 +4182,7 @@ }, "t-message/duration": { "type": "Number", - "description": "消息内置计时器,计时到达时会触发 duration-end 事件。单位:毫秒。值为 0 则表示没有计时器。\n\ndefault: 3000\n\n[docs](https://tdesign.tencent.com/vue-next/components/message?tab=api#message-props)" + "description": "消息内置计时器,计时到达时会触发 duration-end 事件。单位:毫秒。值为 0 则表示没有计时器\n\ndefault: 3000\n\n[docs](https://tdesign.tencent.com/vue-next/components/message?tab=api#message-props)" }, "t-message/icon": { "type": "Boolean|TNode", @@ -4328,7 +4512,7 @@ }, "t-popup/attach": { "type": "String|Function", - "description": "制定挂载节点。数据类型为 String 时,会被当作选择器处理,进行节点查询。示例:'body' 或 () => document.body\n\ndefault: 'body'\n\n[docs](https://tdesign.tencent.com/vue-next/components/popup?tab=api#popup-props)" + "description": "指定挂载节点。数据类型为 String 时,会被当作选择器处理,进行节点查询。示例:'body' 或 () => document.body\n\ndefault: 'body'\n\n[docs](https://tdesign.tencent.com/vue-next/components/popup?tab=api#popup-props)" }, "t-popup/content": { "type": "String|TNode", @@ -4826,11 +5010,11 @@ }, "t-radio/disabled": { "type": "Boolean", - "description": "是否为禁用态。如果存在父组件 RadioGroup,默认值由 RadioGroup.disabled 控制。Radio.disabled 优先级高于 RadioGroup.disabled\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/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/vue-next/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/vue-next/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/vue-next/components/radio?tab=api#radio-props)" }, "t-radio/label": { "type": "String|TNode", @@ -4850,11 +5034,11 @@ }, "t-radio/readonly": { "type": "Boolean", - "description": "只读状态\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/radio?tab=api#radio-props)" + "description": "只读状态\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/radio?tab=api#radio-props)" }, "t-radio-button/readonly": { "type": "Boolean", - "description": "只读状态\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/radio?tab=api#radio-props)" + "description": "只读状态\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/radio?tab=api#radio-props)" }, "t-radio/value": { "type": "String|Number|Boolean", @@ -4886,7 +5070,7 @@ }, "t-radio-group/disabled": { "type": "Boolean", - "description": "是否禁用全部子单选框。默认为 false。RadioGroup.disabled 优先级低于 Radio.disabled\n\n[docs](https://tdesign.tencent.com/vue-next/components/radio-group?tab=api#radiogroup-props)" + "description": "是否禁用全部子单选框。优先级:Radio.disabled > RadioGroup.disabled > Form.disabled\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/radio-group?tab=api#radiogroup-props)" }, "t-radio-group/name": { "type": "String", @@ -4896,6 +5080,10 @@ "type": "Array", "description": "单选组件按钮形式。RadioOption 数据类型为 string 或 number 时,表示 label 和 value 值相同\n\n[docs](https://tdesign.tencent.com/vue-next/components/radio-group?tab=api#radiogroup-props)" }, + "t-radio-group/readonly": { + "type": "Boolean", + "description": "只读状态\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/radio-group?tab=api#radiogroup-props)" + }, "t-radio-group/size": { "type": "String", "options": [ @@ -4905,6 +5093,14 @@ ], "description": "组件尺寸【讨论中】\n\ndefault: medium\n\n[docs](https://tdesign.tencent.com/vue-next/components/radio-group?tab=api#radiogroup-props)" }, + "t-radio-group/theme": { + "type": "String", + "options": [ + "radio", + "button" + ], + "description": "component Style\n\n组件风格\n\ndefault: radio\n\n[docs](https://tdesign.tencent.com/vue-next/components/radio-group?tab=api#radiogroup-props)" + }, "t-radio-group/value": { "type": "String|Number|Boolean", "description": "选中的值\n\n[docs](https://tdesign.tencent.com/vue-next/components/radio-group?tab=api#radiogroup-props)" @@ -4920,19 +5116,23 @@ }, "t-radio-group/change": { "type": "event", - "description": "选中值发生变化时触发\n\n[docs](https://tdesign.tencent.com/vue-next/components/radio-group?tab=api#radiogroup-events)" + "description": "选中值发生变化时触发, `context.name` 指 RadioGroup 的 name 属性\n\n[docs](https://tdesign.tencent.com/vue-next/components/radio-group?tab=api#radiogroup-events)" }, "t-range-input/active-index": { "type": "Number", "description": "输入框高亮状态序号\n\n[docs](https://tdesign.tencent.com/vue-next/components/range-input?tab=api#rangeinput-props)" }, + "t-range-input/borderless": { + "type": "Boolean", + "description": "无边框模式\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/range-input?tab=api#rangeinput-props)" + }, "t-range-input/clearable": { "type": "Boolean", "description": "是否可清空\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/range-input?tab=api#rangeinput-props)" }, "t-range-input/disabled": { "type": "Boolean", - "description": "是否禁用范围输入框\n\n[docs](https://tdesign.tencent.com/vue-next/components/range-input?tab=api#rangeinput-props)" + "description": "是否禁用范围输入框\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/range-input?tab=api#rangeinput-props)" }, "t-range-input/format": { "type": "Array|Function", @@ -4956,7 +5156,7 @@ }, "t-range-input/readonly": { "type": "Boolean", - "description": "只读状态\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/range-input?tab=api#rangeinput-props)" + "description": "只读状态\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/range-input?tab=api#rangeinput-props)" }, "t-range-input/separator": { "type": "String|TNode", @@ -5045,6 +5245,10 @@ "type": "Array", "description": "输入框的值\n\n[docs](https://tdesign.tencent.com/vue-next/components/range-input-popup?tab=api#rangeinputpopup-props)" }, + "t-range-input-popup/label": { + "type": "String|TNode", + "description": "左侧文本\n\n[docs](https://tdesign.tencent.com/vue-next/components/range-input-popup?tab=api#rangeinputpopup-props)" + }, "t-range-input-popup/panel": { "type": "String|TNode", "description": "下拉框内容,可完全自定义\n\n[docs](https://tdesign.tencent.com/vue-next/components/range-input-popup?tab=api#rangeinputpopup-props)" @@ -5063,7 +5267,7 @@ }, "t-range-input-popup/readonly": { "type": "Boolean", - "description": "只读状态,值为真会隐藏输入框,且无法打开下拉框\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/range-input-popup?tab=api#rangeinputpopup-props)" + "description": "只读状态,值为真会隐藏输入框,且无法打开下拉框\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/range-input-popup?tab=api#rangeinputpopup-props)" }, "t-range-input-popup/status": { "type": "String", @@ -5091,9 +5295,13 @@ "type": "Boolean", "description": "是否允许半选\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/rate?tab=api#rate-props)" }, + "t-rate/clearable": { + "type": "Boolean", + "description": "是否允许清除评分,如果允许,重新点击当前评分清除\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/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/vue-next/components/rate?tab=api#rate-props)" + "description": "评分图标的颜色,样式中默认为 #ED7B2F。一个值表示设置选中高亮的五角星颜色,示例:[选中颜色]。数组则表示分别设置 选中高亮的五角星颜色 和 未选中暗灰的五角星颜色,[选中颜色,未选中颜色]。示例:['#ED7B2F', '#E3E6EB']\n\ndefault: '#ED7B2F'\n\n[docs](https://tdesign.tencent.com/vue-next/components/rate?tab=api#rate-props)" }, "t-rate/count": { "type": "Number", @@ -5101,7 +5309,7 @@ }, "t-rate/disabled": { "type": "Boolean", - "description": "是否禁用评分\n\n[docs](https://tdesign.tencent.com/vue-next/components/rate?tab=api#rate-props)" + "description": "是否禁用评分\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/rate?tab=api#rate-props)" }, "t-rate/gap": { "type": "Number", @@ -5182,11 +5390,11 @@ }, "t-search/clearable": { "type": "Boolean", - "description": "是否可清空\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/vue-next/components/search?tab=api#search-props)" + "description": "是否启用清除控件\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/vue-next/components/search?tab=api#search-props)" }, "t-search/disabled": { "type": "Boolean", - "description": "禁用状态\n\n[docs](https://tdesign.tencent.com/vue-next/components/search?tab=api#search-props)" + "description": "是否禁用\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/search?tab=api#search-props)" }, "t-search/filter": { "type": "Function", @@ -5218,7 +5426,7 @@ }, "t-search/readonly": { "type": "Boolean", - "description": "只读状态\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/search?tab=api#search-props)" + "description": "只读状态\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/search?tab=api#search-props)" }, "t-search/select-input-props": { "type": "Object", @@ -5238,7 +5446,7 @@ }, "t-search/value": { "type": "String", - "description": "值,搜索关键词\n\n[docs](https://tdesign.tencent.com/vue-next/components/search?tab=api#search-props)" + "description": "值\n\n[docs](https://tdesign.tencent.com/vue-next/components/search?tab=api#search-props)" }, "t-search/blur": { "type": "event", @@ -5282,7 +5490,7 @@ }, "t-select/collapsed-items": { "type": "TNode", - "description": "多选情况下,用于设置折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 collapsedItems 自定义。`value` 表示当前存在的所有标签,`collapsedTags` 表示折叠的标签,泛型 `T` 继承 `SelectOption`,表示选项数据;`count` 表示折叠的数量, `onClose` 表示移除标签\n\n[docs](https://tdesign.tencent.com/vue-next/components/select?tab=api#select-props)" + "description": "多选情况下,用于设置折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 collapsedItems 自定义。`value` 表示当前存在的所有标签,`collapsedSelectedItems` 表示折叠的标签,泛型 `T` 继承 `SelectOption`,表示选项数据;`count` 表示折叠的数量, `onClose` 表示移除标签\n\n[docs](https://tdesign.tencent.com/vue-next/components/select?tab=api#select-props)" }, "t-select/creatable": { "type": "Boolean", @@ -5290,7 +5498,7 @@ }, "t-select/disabled": { "type": "Boolean", - "description": "是否禁用组件\n\n[docs](https://tdesign.tencent.com/vue-next/components/select?tab=api#select-props)" + "description": "是否禁用组件\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/select?tab=api#select-props)" }, "t-select/empty": { "type": "String|TNode", @@ -5374,7 +5582,7 @@ }, "t-select/readonly": { "type": "Boolean", - "description": "只读状态,值为真会隐藏输入框,且无法打开下拉框\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/select?tab=api#select-props)" + "description": "只读状态,值为真会隐藏输入框,且无法打开下拉框\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/select?tab=api#select-props)" }, "t-select/reserve-keyword": { "type": "Boolean", @@ -5445,7 +5653,7 @@ "value", "object" ], - "description": "用于控制选中值的类型。假设数据选项为:`[{ label: '姓名', value: 'name' }]`,value 表示值仅返回数据选项中的 value, object 表示值返回全部数据。\n\ndefault: value\n\n[docs](https://tdesign.tencent.com/vue-next/components/select?tab=api#select-props)" + "description": "用于控制选中值的类型。假设数据选项为:`[{ label: '姓名', value: 'name' }]`,value 表示值仅返回数据选项中的 value, object 表示值返回全部数据\n\ndefault: value\n\n[docs](https://tdesign.tencent.com/vue-next/components/select?tab=api#select-props)" }, "t-select/blur": { "type": "event", @@ -5509,11 +5717,11 @@ }, "t-select-input/collapsed-items": { "type": "TNode", - "description": "标签过多的情况下,折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 `collapsedItems` 自定义。`value` 表示所有标签值,`collapsedTags` 表示折叠标签值,`count` 表示折叠的数量\n\n[docs](https://tdesign.tencent.com/vue-next/components/select-input?tab=api#selectinput-props)" + "description": "标签过多的情况下,折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 `collapsedItems` 自定义。`value` 表示所有标签值,`collapsedSelectedItems` 表示折叠标签值,`count` 表示折叠的数量,`onClose` 表示移除标签的事件回调\n\n[docs](https://tdesign.tencent.com/vue-next/components/select-input?tab=api#selectinput-props)" }, "t-select-input/disabled": { "type": "Boolean", - "description": "是否禁用\n\n[docs](https://tdesign.tencent.com/vue-next/components/select-input?tab=api#selectinput-props)" + "description": "是否禁用\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/select-input?tab=api#selectinput-props)" }, "t-select-input/input-props": { "type": "Object", @@ -5559,14 +5767,27 @@ "type": "Boolean", "description": "是否显示下拉框\n\n[docs](https://tdesign.tencent.com/vue-next/components/select-input?tab=api#selectinput-props)" }, + "t-select-input/prefix-icon": { + "type": "TNode", + "description": "组件前置图标\n\n[docs](https://tdesign.tencent.com/vue-next/components/select-input?tab=api#selectinput-props)" + }, "t-select-input/readonly": { "type": "Boolean", - "description": "只读状态,值为真会隐藏输入框,且无法打开下拉框\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/select-input?tab=api#selectinput-props)" + "description": "只读状态,值为真会隐藏输入框,且无法打开下拉框\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/select-input?tab=api#selectinput-props)" }, "t-select-input/reserve-keyword": { "type": "Boolean", "description": "多选且可搜索时,是否在选中一个选项后保留当前的搜索关键词\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/select-input?tab=api#selectinput-props)" }, + "t-select-input/size": { + "type": "String", + "options": [ + "small", + "medium", + "large" + ], + "description": "组件尺寸\n\ndefault: medium\n\n[docs](https://tdesign.tencent.com/vue-next/components/select-input?tab=api#selectinput-props)" + }, "t-select-input/status": { "type": "String", "options": [ @@ -5692,7 +5913,7 @@ }, "t-slider/disabled": { "type": "Boolean", - "description": "是否禁用组件\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/slider?tab=api#slider-props)" + "description": "是否禁用组件\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/slider?tab=api#slider-props)" }, "t-slider/input-number-props": { "type": "Boolean|Object", @@ -5821,7 +6042,7 @@ }, "t-statistic/separator": { "type": "String", - "description": "The carry separator is displayed by default, and can be customized to other content. When `separator = ''` is set to an empty string/null/undefined, the separator is hidden\n\n默认展示进位分隔符,可以自定义为其他内容,`separator = ''` 设置为空字符串/null/undefined 时隐藏分隔符\n\ndefault: ,\n\n[docs](https://tdesign.tencent.com/vue-next/components/statistic?tab=api#statistic-props)" + "description": "Thousands separator is displayed by default, and can be customized to other content, and the default separator is displayed when `separator = ''` is set to an empty string/null/undefined\n\n默认展示千位分隔符,可以自定义为其他内容,`separator = ''` 设置为空字符串/null/undefined 时展示默认分隔符\n\ndefault: ,\n\n[docs](https://tdesign.tencent.com/vue-next/components/statistic?tab=api#statistic-props)" }, "t-statistic/suffix": { "type": "String|TNode", @@ -5907,7 +6128,7 @@ }, "t-steps/readonly": { "type": "Boolean", - "description": "只读状态\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/steps?tab=api#steps-props)" + "description": "只读状态\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/steps?tab=api#steps-props)" }, "t-steps/separator": { "type": "String", @@ -6118,13 +6339,17 @@ "type": "event", "description": "轮播切换时触发\n\n[docs](https://tdesign.tencent.com/vue-next/components/swiper?tab=api#swiper-events)" }, + "t-switch/before-change": { + "type": "Function", + "description": "Switch 切换状态前的回调方法,常用于需要发起异步请求的场景,回调返回值支持布尔和 Promise 类型,返回`false`或 Promise reject不继续执行change,否则则继续执行\n\n[docs](https://tdesign.tencent.com/vue-next/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/vue-next/components/switch?tab=api#switch-props)" }, "t-switch/disabled": { "type": "Boolean", - "description": "是否禁用组件,默认为 false\n\n[docs](https://tdesign.tencent.com/vue-next/components/switch?tab=api#switch-props)" + "description": "是否禁用组件。优先级:Switch.disabled > Form.disabled\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/switch?tab=api#switch-props)" }, "t-switch/label": { "type": "Array|TNode", @@ -6193,7 +6418,7 @@ }, "t-tabs/action": { "type": "String|TNode", - "description": "【开发中】选项卡右侧的操作区域\n\n[docs](https://tdesign.tencent.com/vue-next/components/tabs?tab=api#tabs-props)" + "description": "选项卡右侧的操作区域\n\n[docs](https://tdesign.tencent.com/vue-next/components/tabs?tab=api#tabs-props)" }, "t-tabs/addable": { "type": "Boolean", @@ -6221,6 +6446,16 @@ ], "description": "选项卡位置\n\ndefault: top\n\n[docs](https://tdesign.tencent.com/vue-next/components/tabs?tab=api#tabs-props)" }, + "t-tabs/scroll-position": { + "type": "String", + "options": [ + "auto", + "start", + "center", + "end" + ], + "description": "The final position where the tab item stops scrolling after being selected\n\nTab较多的时候,选中滑块滚动最终停留的位置\n\ndefault: auto\n\n[docs](https://tdesign.tencent.com/vue-next/components/tabs?tab=api#tabs-props)" + }, "t-tabs/size": { "type": "String", "options": [ @@ -6257,6 +6492,10 @@ "type": "Boolean", "description": "标签是否可关闭\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/tag?tab=api#tag-props)" }, + "t-tag/color": { + "type": "String", + "description": "self-defined tag color \n\n自定义标签颜色\n\n[docs](https://tdesign.tencent.com/vue-next/components/tag?tab=api#tag-props)" + }, "t-tag/content": { "type": "String|TNode", "description": "组件子元素\n\n[docs](https://tdesign.tencent.com/vue-next/components/tag?tab=api#tag-props)" @@ -6306,6 +6545,10 @@ ], "description": "组件风格,用于描述组件不同的应用场景\n\ndefault: default\n\n[docs](https://tdesign.tencent.com/vue-next/components/tag?tab=api#tag-props)" }, + "t-tag/title": { + "type": "String", + "description": "title of tag\n\n标签标题,在标签hover时展示,默认为标签内容\n\n[docs](https://tdesign.tencent.com/vue-next/components/tag?tab=api#tag-props)" + }, "t-tag/variant": { "type": "String", "options": [ @@ -6328,17 +6571,21 @@ "type": "Boolean", "description": "宽度随内容自适应\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/tag-input?tab=api#taginput-props)" }, + "t-tag-input/borderless": { + "type": "Boolean", + "description": "无边框模式\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/tag-input?tab=api#taginput-props)" + }, "t-tag-input/clearable": { "type": "Boolean", "description": "是否可清空\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/tag-input?tab=api#taginput-props)" }, "t-tag-input/collapsed-items": { "type": "TNode", - "description": "标签过多的情况下,折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 collapsedItems 自定义。`value` 表示当前存在的所有标签,`collapsedTags` 表示折叠的标签,`count` 表示折叠的数量\n\n[docs](https://tdesign.tencent.com/vue-next/components/tag-input?tab=api#taginput-props)" + "description": "标签过多的情况下,折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 collapsedItems 自定义。`value` 表示当前存在的所有标签,`collapsedSelectedItems` 表示折叠的标签,`count` 表示折叠的数量,`onClose` 表示移除标签的事件回调\n\n[docs](https://tdesign.tencent.com/vue-next/components/tag-input?tab=api#taginput-props)" }, "t-tag-input/disabled": { "type": "Boolean", - "description": "是否禁用标签输入框\n\n[docs](https://tdesign.tencent.com/vue-next/components/tag-input?tab=api#taginput-props)" + "description": "是否禁用标签输入框\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/tag-input?tab=api#taginput-props)" }, "t-tag-input/drag-sort": { "type": "event", @@ -6382,7 +6629,7 @@ }, "t-tag-input/readonly": { "type": "Boolean", - "description": "只读状态,值为真会隐藏标签移除按钮和输入框\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/tag-input?tab=api#taginput-props)" + "description": "只读状态,值为真会隐藏标签移除按钮和输入框\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/tag-input?tab=api#taginput-props)" }, "t-tag-input/size": { "type": "String", @@ -6391,7 +6638,7 @@ "medium", "large" ], - "description": "尺寸\n\ndefault: medium\n\n[docs](https://tdesign.tencent.com/vue-next/components/tag-input?tab=api#taginput-props)" + "description": "组件尺寸\n\ndefault: medium\n\n[docs](https://tdesign.tencent.com/vue-next/components/tag-input?tab=api#taginput-props)" }, "t-tag-input/status": { "type": "String", @@ -6548,11 +6795,7 @@ }, "t-textarea/disabled": { "type": "Boolean", - "description": "是否禁用文本框\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/textarea?tab=api#textarea-props)" - }, - "t-textarea/label": { - "type": "String|TNode", - "description": "左侧文本\n\n[docs](https://tdesign.tencent.com/vue-next/components/textarea?tab=api#textarea-props)" + "description": "是否禁用文本框\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/textarea?tab=api#textarea-props)" }, "t-textarea/maxcharacter": { "type": "Number", @@ -6572,7 +6815,7 @@ }, "t-textarea/readonly": { "type": "Boolean", - "description": "只读状态\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/textarea?tab=api#textarea-props)" + "description": "只读状态\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/textarea?tab=api#textarea-props)" }, "t-textarea/status": { "type": "String", @@ -6616,10 +6859,18 @@ "type": "event", "description": "释放键盘时触发\n\n[docs](https://tdesign.tencent.com/vue-next/components/textarea?tab=api#textarea-events)" }, + "t-textarea/validate": { + "type": "event", + "description": "字数超出限制时触发\n\n[docs](https://tdesign.tencent.com/vue-next/components/textarea?tab=api#textarea-events)" + }, "t-time-picker/allow-input": { "type": "Boolean", "description": "是否允许直接输入时间\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/time-picker?tab=api#timepicker-props)" }, + "t-time-picker/borderless": { + "type": "Boolean", + "description": "无边框模式\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/time-picker?tab=api#timepicker-props)" + }, "t-time-picker/clearable": { "type": "Boolean", "description": "是否允许清除选中值\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/time-picker?tab=api#timepicker-props)" @@ -6630,7 +6881,7 @@ }, "t-time-picker/disabled": { "type": "Boolean", - "description": "是否禁用组件\n\n[docs](https://tdesign.tencent.com/vue-next/components/time-picker?tab=api#timepicker-props)" + "description": "是否禁用组件\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/time-picker?tab=api#timepicker-props)" }, "t-time-picker/format": { "type": "String", @@ -6644,6 +6895,10 @@ "type": "Object", "description": "透传给输入框(Input)组件的参数\n\n[docs](https://tdesign.tencent.com/vue-next/components/time-picker?tab=api#timepicker-props)" }, + "t-time-picker/label": { + "type": "String|TNode", + "description": "左侧文本\n\n[docs](https://tdesign.tencent.com/vue-next/components/time-picker?tab=api#timepicker-props)" + }, "t-time-picker/placeholder": { "type": "String", "description": "占位符\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/time-picker?tab=api#timepicker-props)" @@ -6656,6 +6911,10 @@ "type": "Object", "description": "预设快捷时间选择,示例:`{ '前一小时': '11:00:00' }`\n\n[docs](https://tdesign.tencent.com/vue-next/components/time-picker?tab=api#timepicker-props)" }, + "t-time-picker/select-input-props": { + "type": "Object", + "description": "透传 SelectInput 筛选器输入框组件的全部属性\n\n[docs](https://tdesign.tencent.com/vue-next/components/time-picker?tab=api#timepicker-props)" + }, "t-time-picker/size": { "type": "String", "options": [ @@ -6687,6 +6946,10 @@ "type": "String", "description": "选中值\n\n[docs](https://tdesign.tencent.com/vue-next/components/time-picker?tab=api#timepicker-props)" }, + "t-time-picker/value-display": { + "type": "String|TNode", + "description": "`MouseEvent`\n\n自定义选中项呈现的内容\n\n[docs](https://tdesign.tencent.com/vue-next/components/time-picker?tab=api#timepicker-props)" + }, "t-time-picker/blur": { "type": "event", "description": "当输入框失去焦点时触发,value 表示组件当前有效值\n\n[docs](https://tdesign.tencent.com/vue-next/components/time-picker?tab=api#timepicker-events)" @@ -6719,6 +6982,14 @@ "type": "Boolean", "description": "是否允许直接输入时间\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/time-range-picker?tab=api#timerangepicker-props)" }, + "t-time-range-picker/auto-swap": { + "type": "Boolean", + "description": "是否自动调换左右区间的顺序,默认为 true;若需要支持跨天的场景,可以设置为 false\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/vue-next/components/time-range-picker?tab=api#timerangepicker-props)" + }, + "t-time-range-picker/borderless": { + "type": "Boolean", + "description": "无边框模式\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/time-range-picker?tab=api#timerangepicker-props)" + }, "t-time-range-picker/clearable": { "type": "Boolean", "description": "是否允许清除选中值\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/time-range-picker?tab=api#timerangepicker-props)" @@ -6729,7 +7000,7 @@ }, "t-time-range-picker/disabled": { "type": "Boolean|Array", - "description": "是否禁用组件,值为数组表示可分别控制开始日期和结束日期是否禁用\n\n[docs](https://tdesign.tencent.com/vue-next/components/time-range-picker?tab=api#timerangepicker-props)" + "description": "是否禁用组件,值为数组表示可分别控制开始日期和结束日期是否禁用\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/time-range-picker?tab=api#timerangepicker-props)" }, "t-time-range-picker/format": { "type": "String", @@ -6739,6 +7010,10 @@ "type": "Boolean", "description": "是否隐藏禁用状态的时间项\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/vue-next/components/time-range-picker?tab=api#timerangepicker-props)" }, + "t-time-range-picker/label": { + "type": "String|TNode", + "description": "左侧文本\n\n[docs](https://tdesign.tencent.com/vue-next/components/time-range-picker?tab=api#timerangepicker-props)" + }, "t-time-range-picker/placeholder": { "type": "String|Array", "description": "占位符,值为数组表示可分别为开始日期和结束日期设置占位符\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/time-range-picker?tab=api#timerangepicker-props)" @@ -6843,7 +7118,7 @@ "default", "dot" ], - "description": "步骤条风格\n\ndefault: default\n\n[docs](https://tdesign.tencent.com/vue-next/components/timeline?tab=api#timeline-props)" + "description": "时间轴风格\n\ndefault: default\n\n[docs](https://tdesign.tencent.com/vue-next/components/timeline?tab=api#timeline-props)" }, "t-timeline-item/content": { "type": "String|TNode", @@ -6855,7 +7130,7 @@ }, "t-timeline-item/dot-color": { "type": "String", - "description": "时间轴颜色,内置 `primary/warning/error/default` 四种色值,可传入 16 进制颜色码或 RGB 颜色值.\n\ndefault: primary\n\n[docs](https://tdesign.tencent.com/vue-next/components/timeline-item?tab=api#timelineitem-props)" + "description": "时间轴颜色,内置 `primary/warning/error/default` 四种色值,可传入 16 进制颜色码或 RGB 颜色值\n\ndefault: primary\n\n[docs](https://tdesign.tencent.com/vue-next/components/timeline-item?tab=api#timelineitem-props)" }, "t-timeline-item/label": { "type": "String|TNode", @@ -7044,7 +7319,7 @@ }, "t-transfer/tree": { "type": "TNode", - "description": "\n\ndefault: 传入 Tree 组件定义树形结构\n\n[docs](https://tdesign.tencent.com/vue-next/components/transfer?tab=api#transfer-props)" + "description": "传入 Tree 组件定义树形结构\n\n[docs](https://tdesign.tencent.com/vue-next/components/transfer?tab=api#transfer-props)" }, "t-transfer/value": { "type": "Array", @@ -7078,6 +7353,10 @@ "type": "Array", "description": "高亮的节点值\n\n[docs](https://tdesign.tencent.com/vue-next/components/tree?tab=api#tree-props)" }, + "t-tree/allow-drop": { + "type": "Function", + "description": "Determine whether the node can execute the drop operation\n\n判断节点是否可以执行 drop 操作,泛型 `T` 表示树节点 TS 类型\n\n[docs](https://tdesign.tencent.com/vue-next/components/tree?tab=api#tree-props)" + }, "t-tree/allow-fold-node-on-filter": { "type": "Boolean", "description": "是否允许在过滤时节点折叠节点\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/tree?tab=api#tree-props)" @@ -7144,7 +7423,7 @@ }, "t-tree/height": { "type": "String|Number", - "description": "The height of tree. Scrollbar will appear after the content is overflow. Examples: 100, '30%', '300'. The value should be a number and will automatically be converted to a pixel value. If the tree height is not fixed, it is recommended to use `maxHeight`.\n\n树的高度,超出后会出现滚动条。示例:100, '30%', '300'。值为数字类型,会自动加上单位 px。如果不是绝对固定树的高度,建议使用 `maxHeight`\n\n[docs](https://tdesign.tencent.com/vue-next/components/tree?tab=api#tree-props)" + "description": "The height of tree. Scrollbar will appear after the content is overflow. Examples: 100, '30%', '300'. The value should be a number and will automatically be converted to a pixel value. If the tree height is not fixed, it is recommended to use `maxHeight`\n\n树的高度,超出后会出现滚动条。示例:100, '30%', '300'。值为数字类型,会自动加上单位 px。如果不是绝对固定树的高度,建议使用 `maxHeight`\n\n[docs](https://tdesign.tencent.com/vue-next/components/tree?tab=api#tree-props)" }, "t-tree/hover": { "type": "Boolean", @@ -7156,7 +7435,7 @@ }, "t-tree/keys": { "type": "Object", - "description": "alias field name in data\n\n用来定义 `value / label / disabled / children` 在 `data` 数据中对应的字段别名,示例:`{ value: 'key', label 'name', children: 'list' }`。其中,disabled 待开发。\n\n[docs](https://tdesign.tencent.com/vue-next/components/tree?tab=api#tree-props)" + "description": "alias field name in data\n\n用来定义 `value / label / disabled / children` 在 `data` 数据中对应的字段别名,示例:`{ value: 'key', label 'name', children: 'list' }`。其中,disabled 待开发\n\n[docs](https://tdesign.tencent.com/vue-next/components/tree?tab=api#tree-props)" }, "t-tree/label": { "type": "String|Boolean|TNode", @@ -7257,7 +7536,7 @@ }, "t-tree-select/collapsed-items": { "type": "TNode", - "description": "多选情况下,用于设置折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 collapsedItems 自定义。`value` 表示当前存在的所有标签,`collapsedTags` 表示折叠的标签,`count` 表示折叠的数量\n\n[docs](https://tdesign.tencent.com/vue-next/components/tree-select?tab=api#treeselect-props)" + "description": "多选情况下,用于设置折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 collapsedItems 自定义。`value` 表示当前存在的所有标签,`collapsedSelectedItems` 表示折叠的标签,`count` 表示折叠的数量,`onClose` 表示移除标签的事件回调\n\n[docs](https://tdesign.tencent.com/vue-next/components/tree-select?tab=api#treeselect-props)" }, "t-tree-select/data": { "type": "Array", @@ -7265,7 +7544,7 @@ }, "t-tree-select/disabled": { "type": "Boolean", - "description": "是否禁用组件\n\n[docs](https://tdesign.tencent.com/vue-next/components/tree-select?tab=api#treeselect-props)" + "description": "是否禁用组件\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/tree-select?tab=api#treeselect-props)" }, "t-tree-select/empty": { "type": "String|TNode", @@ -7341,7 +7620,7 @@ }, "t-tree-select/readonly": { "type": "Boolean", - "description": "只读状态,值为真会隐藏输入框,且无法打开下拉框\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/tree-select?tab=api#treeselect-props)" + "description": "只读状态,值为真会隐藏输入框,且无法打开下拉框\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/tree-select?tab=api#treeselect-props)" }, "t-tree-select/reserve-keyword": { "type": "Boolean", @@ -7484,7 +7763,7 @@ }, "t-upload/disabled": { "type": "Boolean", - "description": "make upload to be disabled\n\n是否禁用\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)" + "description": "make upload to be disabled\n\n是否禁用组件\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)" }, "t-upload/drag-content": { "type": "String|TNode", @@ -7544,12 +7823,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/vue-next/components/upload?tab=api#upload-props)" @@ -7638,7 +7917,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/vue-next/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/vue-next/components/upload?tab=api#upload-props)" }, "t-upload/value": { "type": "Array", @@ -7746,7 +8025,7 @@ }, "t-watermark/removable": { "type": "Boolean", - "description": "水印是否可被删除,默认会开启水印节点防删\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/vue-next/components/watermark?tab=api#watermark-props)" + "description": "水印是否可被删除\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/vue-next/components/watermark?tab=api#watermark-props)" }, "t-watermark/rotate": { "type": "Number", @@ -7772,4 +8051,4 @@ "type": "Number", "description": "水印元素的 `z-index`,默认值写在 CSS 中\n\n[docs](https://tdesign.tencent.com/vue-next/components/watermark?tab=api#watermark-props)" } -} +} \ No newline at end of file diff --git a/helper/tags.json b/helper/tags.json index d6c2b427ec..60ac93a683 100644 --- a/helper/tags.json +++ b/helper/tags.json @@ -42,6 +42,7 @@ }, "t-anchor-item": { "attributes": [ + "custom-scroll", "href", "target", "title" @@ -64,6 +65,7 @@ "t-auto-complete": { "attributes": [ "autofocus", + "borderless", "clearable", "default", "disabled", @@ -105,7 +107,10 @@ "image-props", "shape", "size", - "error" + "click", + "contextmenu", + "error", + "hover" ], "description": "Avatar\n\n头像\n\n[docs](https://tdesign.tencent.com/vue-next/components/avatar)" }, @@ -115,7 +120,9 @@ "collapse-avatar", "max", "popup-props", - "size" + "shape", + "size", + "collapsed-item-click" ], "description": "AvatarGroup\n\n头像组\n\n[docs](https://tdesign.tencent.com/vue-next/components/avatar-group)" }, @@ -295,10 +302,12 @@ "content", "default", "disabled", + "form", "ghost", "href", "icon", "loading", + "loading-props", "shape", "size", "suffix", @@ -385,6 +394,8 @@ "multiple", "option", "options", + "panel-bottom-content", + "panel-top-content", "placeholder", "popup-props", "popup-visible", @@ -463,6 +474,7 @@ "max", "name", "options", + "readonly", "value", "change" ], @@ -515,6 +527,7 @@ }, "t-color-picker": { "attributes": [ + "borderless", "clearable", "close-btn", "color-modes", @@ -528,6 +541,7 @@ "recent-colors", "select-input-props", "show-primary-color-preview", + "size", "swatch-colors", "value", "change", @@ -551,26 +565,33 @@ "t-date-picker": { "attributes": [ "allow-input", + "borderless", "clearable", "default-time", "disable-date", + "disable-time", "disabled", "enable-time-picker", "first-day-of-week", "format", "input-props", + "label", "mode", + "multiple", + "need-confirm", "placeholder", "popup-props", "prefix-icon", "presets", "presets-placement", + "select-input-props", "size", "status", "suffix-icon", "time-picker-props", "tips", "value", + "value-display", "value-type", "blur", "change", @@ -598,15 +619,19 @@ "t-date-range-picker": { "attributes": [ "allow-input", + "borderless", "cancel-range-select-limit", "clearable", "default-time", "disable-date", + "disable-time", "disabled", "enable-time-picker", "first-day-of-week", "format", + "label", "mode", + "need-confirm", "panel-preselection", "placeholder", "popup-props", @@ -646,7 +671,7 @@ ], "description": "DateRangePickerPanel\n\n日期范围选择器面板\n\n[docs](https://tdesign.tencent.com/vue-next/components/date-range-picker-panel)" }, - "t-descriptions-item": { + "t-description-item": { "attributes": [ "align", "content", @@ -654,7 +679,7 @@ "label", "span" ], - "description": "DescriptionsItem\n\n描述项\n\n[docs](https://tdesign.tencent.com/vue-next/components/descriptions-item)" + "description": "DescriptionItem\n\n描述项\n\n[docs](https://tdesign.tencent.com/vue-next/components/description-item)" }, "t-descriptions": { "attributes": [ @@ -668,6 +693,7 @@ "label-style", "layout", "size", + "table-layout", "title" ], "description": "Descriptions\n\n描述列表\n\n[docs](https://tdesign.tencent.com/vue-next/components/descriptions)" @@ -686,6 +712,7 @@ "default", "destroy-on-close", "dialog-class-name", + "dialog-style", "draggable", "footer", "header", @@ -699,6 +726,8 @@ "visible", "width", "z-index", + "before-close", + "before-open", "cancel", "close", "close-btn-click", @@ -747,6 +776,8 @@ "size-draggable", "visible", "z-index", + "before-close", + "before-open", "cancel", "close", "close-btn-click", @@ -794,6 +825,7 @@ "description", "image", "image-style", + "size", "title", "type" ], @@ -824,10 +856,12 @@ "disabled", "error-message", "form-controlled-components", + "id", "label-align", "label-width", "layout", "prevent-submit-default", + "readonly", "required-mark", "reset-type", "rules", @@ -949,10 +983,12 @@ }, "t-image-viewer": { "attributes": [ + "attach", "close-btn", "close-on-esc-keydown", "close-on-overlay", "draggable", + "image-referrerpolicy", "image-scale", "images", "index", @@ -991,6 +1027,7 @@ "show-clear-icon-on-empty", "show-limit-number", "size", + "spell-check", "status", "suffix", "suffix-icon", @@ -1168,8 +1205,10 @@ "icon", "replace", "router", + "router-link", "target", "to", + "tooltip-props", "value", "click" ], @@ -1409,7 +1448,9 @@ "disabled", "name", "options", + "readonly", "size", + "theme", "value", "variant", "change" @@ -1419,6 +1460,7 @@ "t-range-input": { "attributes": [ "active-index", + "borderless", "clearable", "disabled", "format", @@ -1451,6 +1493,7 @@ "auto-width", "disabled", "input-value", + "label", "panel", "popup-props", "popup-visible", @@ -1466,6 +1509,7 @@ "t-rate": { "attributes": [ "allow-half", + "clearable", "color", "count", "disabled", @@ -1595,8 +1639,10 @@ "placeholder", "popup-props", "popup-visible", + "prefix-icon", "readonly", "reserve-keyword", + "size", "status", "suffix", "suffix-icon", @@ -1762,6 +1808,7 @@ }, "t-switch": { "attributes": [ + "before-change", "custom-value", "disabled", "label", @@ -1795,6 +1842,7 @@ "drag-sort", "list", "placement", + "scroll-position", "size", "theme", "value", @@ -1808,6 +1856,7 @@ "t-tag": { "attributes": [ "closable", + "color", "content", "default", "disabled", @@ -1816,6 +1865,7 @@ "shape", "size", "theme", + "title", "variant", "click", "close" @@ -1825,6 +1875,7 @@ "t-tag-input": { "attributes": [ "auto-width", + "borderless", "clearable", "collapsed-items", "disabled", @@ -1886,7 +1937,6 @@ "autofocus", "autosize", "disabled", - "label", "maxcharacter", "maxlength", "name", @@ -1900,27 +1950,32 @@ "focus", "keydown", "keypress", - "keyup" + "keyup", + "validate" ], "description": "Textarea\n\n文本输入框\n\n[docs](https://tdesign.tencent.com/vue-next/components/textarea)" }, "t-time-picker": { "attributes": [ "allow-input", + "borderless", "clearable", "disable-time", "disabled", "format", "hide-disabled-time", "input-props", + "label", "placeholder", "popup-props", "presets", + "select-input-props", "size", "status", "steps", "tips", "value", + "value-display", "blur", "change", "close", @@ -1934,11 +1989,14 @@ "t-time-range-picker": { "attributes": [ "allow-input", + "auto-swap", + "borderless", "clearable", "disable-time", "disabled", "format", "hide-disabled-time", + "label", "placeholder", "popup-props", "presets", @@ -2042,6 +2100,7 @@ "activable", "active-multiple", "actived", + "allow-drop", "allow-fold-node-on-filter", "check-props", "check-strictly", diff --git a/helper/web-types.json b/helper/web-types.json index 03c0c1620d..e1b079c339 100644 --- a/helper/web-types.json +++ b/helper/web-types.json @@ -351,6 +351,15 @@ "description": "AnchorItem\n\n锚点项", "doc-url": "https://tdesign.tencent.com/vue-next/components/anchor-item", "props": [ + { + "name": "custom-scroll", + "description": "custom scroll effect, when set to true, clicking on an anchor link will not use JavaScript animation to smoothly scroll to the anchor target element.\n\n自定义滚动效果,为true时点击锚点链接后不会使用js动画平滑滚动到锚点目标元素", + "doc-url": "https://tdesign.tencent.com/vue-next/components/anchor-item?tab=api#anchoritem-props", + "type": [ + "Boolean" + ], + "default": "false" + }, { "name": "href", "description": "锚点链接, 如果是 hash 模式需要加上当前 path", @@ -467,6 +476,15 @@ "Boolean" ] }, + { + "name": "borderless", + "description": "无边框模式", + "doc-url": "https://tdesign.tencent.com/vue-next/components/auto-complete?tab=api#autocomplete-props", + "type": [ + "Boolean" + ], + "default": "false" + }, { "name": "clearable", "description": "是否允许清空", @@ -490,7 +508,8 @@ "doc-url": "https://tdesign.tencent.com/vue-next/components/auto-complete?tab=api#autocomplete-props", "type": [ "Boolean" - ] + ], + "default": "undefined" }, { "name": "filter", @@ -575,7 +594,8 @@ "doc-url": "https://tdesign.tencent.com/vue-next/components/auto-complete?tab=api#autocomplete-props", "type": [ "Boolean" - ] + ], + "default": "undefined" }, { "name": "size", @@ -817,12 +837,11 @@ }, { "name": "shape", - "description": "shape\n\n形状", + "description": "shape\n\n形状。优先级高于 AvatarGroup.shape 。Avatar 单独存在时,默认值为 circle。如果父组件 AvatarGroup 存在,默认值便由 AvatarGroup.shape 决定", "doc-url": "https://tdesign.tencent.com/vue-next/components/avatar?tab=api#avatar-props", "type": [ "String" ], - "default": "circle", "attribute-value": { "type": "enum" }, @@ -837,20 +856,34 @@ }, { "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/vue-next/components/avatar?tab=api#avatar-props", "type": [ "String" - ], - "default": "medium" + ] } ], "js": { "events": [ + { + "name": "click", + "description": "trigger on click\n\n点击时触发", + "doc-url": "https://tdesign.tencent.com/vue-next/components/avatar?tab=api#avatar-events" + }, + { + "name": "contextmenu", + "description": "trigger on context menu\n\n右键点击时触发", + "doc-url": "https://tdesign.tencent.com/vue-next/components/avatar?tab=api#avatar-events" + }, { "name": "error", "description": "trigger on image load failed\n\n图片加载失败时触发", "doc-url": "https://tdesign.tencent.com/vue-next/components/avatar?tab=api#avatar-events" + }, + { + "name": "hover", + "description": "trigger on mouse enter\n\n鼠标移入时触发", + "doc-url": "https://tdesign.tencent.com/vue-next/components/avatar?tab=api#avatar-events" } ] }, @@ -925,16 +958,43 @@ "Object" ] }, + { + "name": "shape", + "description": "shape\n\n形状。优先级低于 Avatar.shape", + "doc-url": "https://tdesign.tencent.com/vue-next/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/vue-next/components/avatar-group?tab=api#avatargroup-props", "type": [ "String" - ], - "default": "medium" + ] } ], + "js": { + "events": [ + { + "name": "collapsed-item-click", + "description": "点击头像折叠元素触发", + "doc-url": "https://tdesign.tencent.com/vue-next/components/avatar-group?tab=api#avatargroup-events" + } + ] + }, "slots": [ { "name": "collapseAvatar", @@ -1391,7 +1451,7 @@ }, { "name": "footer-affix-props", - "description": "affix props\n\n请更为使用 `footerAffixedBottom`。表尾吸底基于 Affix 组件开发,透传全部 Affix 组件属性。", + "description": "affix props\n\n请更为使用 `footerAffixedBottom`。表尾吸底基于 Affix 组件开发,透传全部 Affix 组件属性", "doc-url": "https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props", "type": [ "Object" @@ -1426,7 +1486,7 @@ }, { "name": "header-affixed-top", - "description": "affix header to viewport top\n\n表头吸顶。使用该功能,需要非常注意表格是相对于哪一个父元素进行滚动。值为 `true`,表示相对于整个窗口吸顶。如果表格滚动的父元素不是整个窗口,请通过 `headerAffixedTop.container` 调整吸顶的位置。基于 Affix 组件开发,透传全部 Affix 组件属性。", + "description": "affix header to viewport top\n\n表头吸顶。使用该功能,需要非常注意表格是相对于哪一个父元素进行滚动。值为 `true`,表示相对于整个窗口吸顶。如果表格滚动的父元素不是整个窗口,请通过 `headerAffixedTop.container` 调整吸顶的位置。基于 Affix 组件开发,透传全部 Affix 组件属性", "doc-url": "https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props", "type": [ "Boolean", @@ -2000,7 +2060,7 @@ }, { "name": "footer-affix-props", - "description": "affix props\n\n请更为使用 `footerAffixedBottom`。表尾吸底基于 Affix 组件开发,透传全部 Affix 组件属性。", + "description": "affix props\n\n请更为使用 `footerAffixedBottom`。表尾吸底基于 Affix 组件开发,透传全部 Affix 组件属性", "doc-url": "https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props", "type": [ "Object" @@ -2035,7 +2095,7 @@ }, { "name": "header-affixed-top", - "description": "affix header to viewport top\n\n表头吸顶。使用该功能,需要非常注意表格是相对于哪一个父元素进行滚动。值为 `true`,表示相对于整个窗口吸顶。如果表格滚动的父元素不是整个窗口,请通过 `headerAffixedTop.container` 调整吸顶的位置。基于 Affix 组件开发,透传全部 Affix 组件属性。", + "description": "affix header to viewport top\n\n表头吸顶。使用该功能,需要非常注意表格是相对于哪一个父元素进行滚动。值为 `true`,表示相对于整个窗口吸顶。如果表格滚动的父元素不是整个窗口,请通过 `headerAffixedTop.container` 调整吸顶的位置。基于 Affix 组件开发,透传全部 Affix 组件属性", "doc-url": "https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props", "type": [ "Boolean", @@ -2701,12 +2761,21 @@ }, { "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/vue-next/components/button?tab=api#button-props", "type": [ "Boolean" ], - "default": "false" + "default": "undefined" + }, + { + "name": "form", + "description": " native `form` attribute,which supports triggering events for a form with a specified id through the use of the form attribute\n\n原生的form属性,支持用于通过 form 属性触发对应 id 的 form 的表单事件", + "doc-url": "https://tdesign.tencent.com/vue-next/components/button?tab=api#button-props", + "type": [ + "String" + ], + "default": "undefined" }, { "name": "ghost", @@ -2742,6 +2811,14 @@ ], "default": "false" }, + { + "name": "loading-props", + "description": "透传 Loading 组件全部属性", + "doc-url": "https://tdesign.tencent.com/vue-next/components/button?tab=api#button-props", + "type": [ + "Object" + ] + }, { "name": "shape", "description": "button shape\n\n按钮形状,有 4 种:长方形、正方形、圆角长方形、圆形", @@ -2780,9 +2857,6 @@ "type": "enum" }, "values": [ - { - "name": "extra-small" - }, { "name": "small" }, @@ -3515,7 +3589,7 @@ }, { "name": "collapsed-items", - "description": "多选情况下,用于设置折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 collapsedItems 自定义。`value` 表示当前存在的所有标签,`collapsedTags` 表示折叠的标签,`count` 表示折叠的数量", + "description": "多选情况下,用于设置折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 collapsedItems 自定义。`value` 表示当前存在的所有标签,`collapsedSelectedItems` 表示折叠的标签,`count` 表示折叠的数量,`onClose` 表示移除标签的事件回调", "doc-url": "https://tdesign.tencent.com/vue-next/components/cascader?tab=api#cascader-props", "type": [ "TNode" @@ -3527,7 +3601,8 @@ "doc-url": "https://tdesign.tencent.com/vue-next/components/cascader?tab=api#cascader-props", "type": [ "Boolean" - ] + ], + "default": "undefined" }, { "name": "empty", @@ -3659,6 +3734,24 @@ ], "default": "[]" }, + { + "name": "panel-bottom-content", + "description": "bottom content of the cascader panel\n\n面板内的底部内容", + "doc-url": "https://tdesign.tencent.com/vue-next/components/cascader?tab=api#cascader-props", + "type": [ + "String", + "TNode" + ] + }, + { + "name": "panel-top-content", + "description": "top content of the cascader panel\n\n面板内的顶部内容", + "doc-url": "https://tdesign.tencent.com/vue-next/components/cascader?tab=api#cascader-props", + "type": [ + "String", + "TNode" + ] + }, { "name": "placeholder", "description": "占位符", @@ -3699,7 +3792,7 @@ "type": [ "Boolean" ], - "default": "false" + "default": "undefined" }, { "name": "reserve-keyword", @@ -3934,12 +4027,12 @@ "slots": [ { "name": "collapsedItems", - "description": "多选情况下,用于设置折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 collapsedItems 自定义。`value` 表示当前存在的所有标签,`collapsedTags` 表示折叠的标签,`count` 表示折叠的数量类型和参数:TNode<{ value: CascaderOption[]; collapsedSelectedItems: CascaderOption[]; count: number }>", + "description": "多选情况下,用于设置折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 collapsedItems 自定义。`value` 表示当前存在的所有标签,`collapsedSelectedItems` 表示折叠的标签,`count` 表示折叠的数量,`onClose` 表示移除标签的事件回调类型和参数:TNode<{ value: CascaderOption[]; collapsedSelectedItems: CascaderOption[]; count: number; onClose: (context: { index: number, e?: MouseEvent }) => void }>", "doc-url": "https://tdesign.tencent.com/vue-next/components/cascader?tab=api#cascader-props" }, { "name": "collapsed-items", - "description": "多选情况下,用于设置折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 collapsedItems 自定义。`value` 表示当前存在的所有标签,`collapsedTags` 表示折叠的标签,`count` 表示折叠的数量类型和参数:TNode<{ value: CascaderOption[]; collapsedSelectedItems: CascaderOption[]; count: number }>", + "description": "多选情况下,用于设置折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 collapsedItems 自定义。`value` 表示当前存在的所有标签,`collapsedSelectedItems` 表示折叠的标签,`count` 表示折叠的数量,`onClose` 表示移除标签的事件回调类型和参数:TNode<{ value: CascaderOption[]; collapsedSelectedItems: CascaderOption[]; count: number; onClose: (context: { index: number, e?: MouseEvent }) => void }>", "doc-url": "https://tdesign.tencent.com/vue-next/components/cascader?tab=api#cascader-props" }, { @@ -3967,6 +4060,26 @@ "description": "customize one option\n\n自定义单个级联选项类型和参数:TNode<{ item: CascaderOption; index: number }>", "doc-url": "https://tdesign.tencent.com/vue-next/components/cascader?tab=api#cascader-props" }, + { + "name": "panelBottomContent", + "description": "bottom content of the cascader panel\n\n面板内的底部内容", + "doc-url": "https://tdesign.tencent.com/vue-next/components/cascader?tab=api#cascader-props" + }, + { + "name": "panel-bottom-content", + "description": "bottom content of the cascader panel\n\n面板内的底部内容", + "doc-url": "https://tdesign.tencent.com/vue-next/components/cascader?tab=api#cascader-props" + }, + { + "name": "panelTopContent", + "description": "top content of the cascader panel\n\n面板内的顶部内容", + "doc-url": "https://tdesign.tencent.com/vue-next/components/cascader?tab=api#cascader-props" + }, + { + "name": "panel-top-content", + "description": "top content of the cascader panel\n\n面板内的顶部内容", + "doc-url": "https://tdesign.tencent.com/vue-next/components/cascader?tab=api#cascader-props" + }, { "name": "prefixIcon", "description": "组件前置图标", @@ -4278,7 +4391,7 @@ "type": [ "Boolean" ], - "default": "false" + "default": "undefined" }, { "name": "title", @@ -4331,7 +4444,7 @@ "props": [ { "name": "disabled", - "description": "是否禁用组件,默认为 false。优先级:Form.disabled < CheckboxGroup.disabled < Checkbox.disabled", + "description": "是否禁用组件。优先级:Form.disabled < CheckboxGroup.disabled < Checkbox.disabled", "doc-url": "https://tdesign.tencent.com/vue-next/components/checkbox-group?tab=api#checkboxgroup-props", "type": [ "Boolean" @@ -4372,6 +4485,15 @@ "Array" ] }, + { + "name": "readonly", + "description": "只读状态", + "doc-url": "https://tdesign.tencent.com/vue-next/components/checkbox-group?tab=api#checkboxgroup-props", + "type": [ + "Boolean" + ], + "default": "undefined" + }, { "name": "value", "description": "选中值", @@ -4762,6 +4884,15 @@ "description": "ColorPicker\n\n颜色选择器", "doc-url": "https://tdesign.tencent.com/vue-next/components/color-picker", "props": [ + { + "name": "borderless", + "description": "无边框模式", + "doc-url": "https://tdesign.tencent.com/vue-next/components/color-picker?tab=api#colorpicker-props", + "type": [ + "Boolean" + ], + "default": "false" + }, { "name": "clearable", "description": "是否可清空", @@ -4789,7 +4920,7 @@ "type": [ "Array" ], - "default": "()=> ['monochrome', 'linear-gradient']" + "default": "[\"monochrome\", \"linear-gradient\"]" }, { "name": "disabled", @@ -4797,7 +4928,8 @@ "doc-url": "https://tdesign.tencent.com/vue-next/components/color-picker?tab=api#colorpicker-props", "type": [ "Boolean" - ] + ], + "default": "undefined" }, { "name": "enable-alpha", @@ -4912,6 +5044,29 @@ ], "default": "true" }, + { + "name": "size", + "description": "组件尺寸", + "doc-url": "https://tdesign.tencent.com/vue-next/components/color-picker?tab=api#colorpicker-props", + "type": [ + "String" + ], + "default": "medium", + "attribute-value": { + "type": "enum" + }, + "values": [ + { + "name": "small" + }, + { + "name": "medium" + }, + { + "name": "large" + } + ] + }, { "name": "swatch-colors", "description": "swatch colors\n\n系统预设的颜色样例,值为 `null` 或 `[]` 则不显示系统色,值为 `undefined` 会显示组件内置的系统默认色", @@ -5083,6 +5238,15 @@ ], "default": "false" }, + { + "name": "borderless", + "description": "无边框模式", + "doc-url": "https://tdesign.tencent.com/vue-next/components/date-picker?tab=api#datepicker-props", + "type": [ + "Boolean" + ], + "default": "false" + }, { "name": "clearable", "description": "是否显示清除按钮", @@ -5111,13 +5275,22 @@ "Function" ] }, + { + "name": "disable-time", + "description": "disable time config function\n\n禁用时间项的配置函数,仅在日期时间选择器中可用", + "doc-url": "https://tdesign.tencent.com/vue-next/components/date-picker?tab=api#datepicker-props", + "type": [ + "Function" + ] + }, { "name": "disabled", "description": "make DatePicker to be disabled\n\n是否禁用组件", "doc-url": "https://tdesign.tencent.com/vue-next/components/date-picker?tab=api#datepicker-props", "type": [ "Boolean" - ] + ], + "default": "undefined" }, { "name": "enable-time-picker", @@ -5179,6 +5352,15 @@ "Object" ] }, + { + "name": "label", + "description": "左侧文本", + "doc-url": "https://tdesign.tencent.com/vue-next/components/date-picker?tab=api#datepicker-props", + "type": [ + "String", + "TNode" + ] + }, { "name": "mode", "description": "选择器模式", @@ -5208,6 +5390,24 @@ } ] }, + { + "name": "multiple", + "description": "support multiple date,but not support being use together with range-picker、enableTimePicker and allowInput\n\n支持多选日期,但不支持在range-picker中,或与enableTimePicker、allowInput 一起使用", + "doc-url": "https://tdesign.tencent.com/vue-next/components/date-picker?tab=api#datepicker-props", + "type": [ + "Boolean" + ], + "default": "false" + }, + { + "name": "need-confirm", + "description": "whether a confirmation button needs to be clicked to complete the action in the date-time picker scenario, default is true\n\n决定在日期时间选择器的场景下是否需要点击确认按钮才完成选择动作,默认为`true`", + "doc-url": "https://tdesign.tencent.com/vue-next/components/date-picker?tab=api#datepicker-props", + "type": [ + "Boolean" + ], + "default": "true" + }, { "name": "placeholder", "description": "占位符", @@ -5268,6 +5468,14 @@ } ] }, + { + "name": "select-input-props", + "description": "透传 SelectInput 筛选器输入框组件的全部属性", + "doc-url": "https://tdesign.tencent.com/vue-next/components/date-picker?tab=api#datepicker-props", + "type": [ + "Object" + ] + }, { "name": "size", "description": "输入框尺寸", @@ -5354,6 +5562,15 @@ ], "default": "''" }, + { + "name": "value-display", + "description": "`MouseEvent`\n\n自定义选中项呈现的内容", + "doc-url": "https://tdesign.tencent.com/vue-next/components/date-picker?tab=api#datepicker-props", + "type": [ + "String", + "TNode" + ] + }, { "name": "value-type", "description": "用于格式化日期的值,仅支持部分格式,时间戳、日期等。⚠️ `YYYYMMDD` 这种格式不支持,请勿使用,如果希望支持可以给 `dayjs` 提个 PR。注意和 `format` 的区别,`format` 仅用于处理日期在页面中呈现的格式。`ValueTypeEnum` 即将废弃,请更为使用 `DatePickerValueType`", @@ -5398,6 +5615,11 @@ ] }, "slots": [ + { + "name": "label", + "description": "左侧文本", + "doc-url": "https://tdesign.tencent.com/vue-next/components/date-picker?tab=api#datepicker-props" + }, { "name": "prefixIcon", "description": "用于自定义组件前置图标", @@ -5422,6 +5644,16 @@ "name": "tips", "description": "输入框下方提示文本,会根据不同的 `status` 呈现不同的样式", "doc-url": "https://tdesign.tencent.com/vue-next/components/date-picker?tab=api#datepicker-props" + }, + { + "name": "valueDisplay", + "description": "`MouseEvent`\n\n自定义选中项呈现的内容类型和参数:string | TNode<{ value: DateValue; displayValue?: DateValue }>", + "doc-url": "https://tdesign.tencent.com/vue-next/components/date-picker?tab=api#datepicker-props" + }, + { + "name": "value-display", + "description": "`MouseEvent`\n\n自定义选中项呈现的内容类型和参数:string | TNode<{ value: DateValue; displayValue?: DateValue }>", + "doc-url": "https://tdesign.tencent.com/vue-next/components/date-picker?tab=api#datepicker-props" } ] }, @@ -5506,9 +5738,18 @@ ], "default": "false" }, + { + "name": "borderless", + "description": "无边框模式", + "doc-url": "https://tdesign.tencent.com/vue-next/components/date-range-picker?tab=api#daterangepicker-props", + "type": [ + "Boolean" + ], + "default": "false" + }, { "name": "cancel-range-select-limit", - "description": "The default date selection interaction is determined based on the order of dates clicked and will be restricted. For example, if a user first clicks on the start date input box and chooses a date, for instance, 2020-05-15, the interaction will automatically shift focus to the end date input box, waiting for the user to select the end time. At this point, the user can only select a date later than 2020-05-15 (previous dates will be grayed out and disabled, restricting the user's selection). When this value is set to `true`, this restriction is lifted.\n\n默认的日期选择交互是根据点击前后日期的顺序来决定并且会加以限制。比如:用户先点击开始时间输入框,选择了一个日期例如2020-05-15,紧接着交互会自动将焦点跳到结束日期输入框,等待用户选择结束时间。此时用户只能选择大于2020-05-15的日期(之前的日期会被灰态禁止点击,限制用户的点击)。当该值传递`true`时,则取消该限制。", + "description": "The default date selection interaction is determined based on the order of dates clicked and will be restricted. For example, if a user first clicks on the start date input box and chooses a date, for instance, 2020-05-15, the interaction will automatically shift focus to the end date input box, waiting for the user to select the end time. At this point, the user can only select a date later than 2020-05-15 (previous dates will be grayed out and disabled, restricting the user's selection). When this value is set to `true`, this restriction is lifted\n\n默认的日期选择交互是根据点击前后日期的顺序来决定并且会加以限制。比如:用户先点击开始时间输入框,选择了一个日期例如2020-05-15,紧接着交互会自动将焦点跳到结束日期输入框,等待用户选择结束时间。此时用户只能选择大于2020-05-15的日期(之前的日期会被灰态禁止点击,限制用户的点击)。当该值传递`true`时,则取消该限制", "doc-url": "https://tdesign.tencent.com/vue-next/components/date-range-picker?tab=api#daterangepicker-props", "type": [ "Boolean" @@ -5543,13 +5784,22 @@ "Function" ] }, + { + "name": "disable-time", + "description": "disable time config function\n\n禁用时间项的配置函数,仅在日期区间选择器中开启时间展示时可用", + "doc-url": "https://tdesign.tencent.com/vue-next/components/date-range-picker?tab=api#daterangepicker-props", + "type": [ + "Function" + ] + }, { "name": "disabled", "description": "是否禁用组件", "doc-url": "https://tdesign.tencent.com/vue-next/components/date-range-picker?tab=api#daterangepicker-props", "type": [ "Boolean" - ] + ], + "default": "undefined" }, { "name": "enable-time-picker", @@ -5602,6 +5852,15 @@ "String" ] }, + { + "name": "label", + "description": "左侧文本", + "doc-url": "https://tdesign.tencent.com/vue-next/components/date-range-picker?tab=api#daterangepicker-props", + "type": [ + "String", + "TNode" + ] + }, { "name": "mode", "description": "选择器模式", @@ -5631,6 +5890,15 @@ } ] }, + { + "name": "need-confirm", + "description": "whether a confirmation button needs to be clicked to complete the action in the date-time range picker scenario, default is true\n\n决定在日期时间区间选择器的场景下是否需要点击确认按钮才完成选择动作,默认为 `true`", + "doc-url": "https://tdesign.tencent.com/vue-next/components/date-range-picker?tab=api#daterangepicker-props", + "type": [ + "Boolean" + ], + "default": "true" + }, { "name": "panel-preselection", "description": "在开始日期选中之前,面板是否显示预选状态,即是否高亮预选日期", @@ -5879,6 +6147,11 @@ ] }, "slots": [ + { + "name": "label", + "description": "左侧文本", + "doc-url": "https://tdesign.tencent.com/vue-next/components/date-range-picker?tab=api#daterangepicker-props" + }, { "name": "prefixIcon", "description": "组件前置图标", @@ -5971,17 +6244,17 @@ "slots": [] }, { - "name": "t-descriptions-item", + "name": "t-description-item", "source": { - "symbol": "DescriptionsItem" + "symbol": "DescriptionItem" }, - "description": "DescriptionsItem\n\n描述项", - "doc-url": "https://tdesign.tencent.com/vue-next/components/descriptions-item", + "description": "DescriptionItem\n\n描述项", + "doc-url": "https://tdesign.tencent.com/vue-next/components/description-item", "props": [ { "name": "align", - "description": "content align type\n\n内容垂直对齐方式,DescriptionsItem.align 优先级高于 Descriptions.align", - "doc-url": "https://tdesign.tencent.com/vue-next/components/descriptions-item?tab=api#descriptionsitem-props", + "description": "content align type\n\n内容垂直对齐方式,DescriptionItem.align 优先级高于 Descriptions.align", + "doc-url": "https://tdesign.tencent.com/vue-next/components/description-item?tab=api#descriptionitem-props", "type": [ "String" ], @@ -6003,7 +6276,7 @@ { "name": "content", "description": "content of description item\n\n描述项内容", - "doc-url": "https://tdesign.tencent.com/vue-next/components/descriptions-item?tab=api#descriptionsitem-props", + "doc-url": "https://tdesign.tencent.com/vue-next/components/description-item?tab=api#descriptionitem-props", "type": [ "String", "TNode" @@ -6012,7 +6285,7 @@ { "name": "default", "description": "content of description item\n\n描述项内容,同 `content`", - "doc-url": "https://tdesign.tencent.com/vue-next/components/descriptions-item?tab=api#descriptionsitem-props", + "doc-url": "https://tdesign.tencent.com/vue-next/components/description-item?tab=api#descriptionitem-props", "type": [ "String", "TNode" @@ -6021,7 +6294,7 @@ { "name": "label", "description": "label of description item\n\n描述项标签", - "doc-url": "https://tdesign.tencent.com/vue-next/components/descriptions-item?tab=api#descriptionsitem-props", + "doc-url": "https://tdesign.tencent.com/vue-next/components/description-item?tab=api#descriptionitem-props", "type": [ "String", "TNode" @@ -6030,7 +6303,7 @@ { "name": "span", "description": "width count\n\n占用的宽度数量", - "doc-url": "https://tdesign.tencent.com/vue-next/components/descriptions-item?tab=api#descriptionsitem-props", + "doc-url": "https://tdesign.tencent.com/vue-next/components/description-item?tab=api#descriptionitem-props", "type": [ "Number" ], @@ -6041,17 +6314,17 @@ { "name": "content", "description": "content of description item\n\n描述项内容", - "doc-url": "https://tdesign.tencent.com/vue-next/components/descriptions-item?tab=api#descriptionsitem-props" + "doc-url": "https://tdesign.tencent.com/vue-next/components/description-item?tab=api#descriptionitem-props" }, { "name": "default", "description": "content of description item\n\n描述项内容,同 `content`", - "doc-url": "https://tdesign.tencent.com/vue-next/components/descriptions-item?tab=api#descriptionsitem-props" + "doc-url": "https://tdesign.tencent.com/vue-next/components/description-item?tab=api#descriptionitem-props" }, { "name": "label", "description": "label of description item\n\n描述项标签", - "doc-url": "https://tdesign.tencent.com/vue-next/components/descriptions-item?tab=api#descriptionsitem-props" + "doc-url": "https://tdesign.tencent.com/vue-next/components/description-item?tab=api#descriptionitem-props" } ] }, @@ -6065,7 +6338,7 @@ "props": [ { "name": "align", - "description": "content align type\n\n内容垂直对齐方式,DescriptionsItem.align 优先级高于 Descriptions.align", + "description": "content align type\n\n内容垂直对齐方式,DescriptionItem.align 优先级高于 Descriptions.align", "doc-url": "https://tdesign.tencent.com/vue-next/components/descriptions?tab=api#descriptions-props", "type": [ "String" @@ -6104,7 +6377,7 @@ }, { "name": "column", - "description": "count of DescriptionsItem in one row\n\n一行 `DescriptionsItem` 的数量", + "description": "count of DescriptionItem in one row\n\n一行 `DescriptionItem` 的数量", "doc-url": "https://tdesign.tencent.com/vue-next/components/descriptions?tab=api#descriptions-props", "type": [ "Number" @@ -6113,7 +6386,7 @@ }, { "name": "content-style", - "description": "style of description cotent\n\n自定义描述项内容的样式", + "description": "style of description content\n\n自定义描述项内容的样式", "doc-url": "https://tdesign.tencent.com/vue-next/components/descriptions?tab=api#descriptions-props", "type": [ "Object" @@ -6198,6 +6471,26 @@ } ] }, + { + "name": "table-layout", + "description": "Sets the algorithm used to layout `table` cells, rows, and columns, exactly the same as the native table-layout css property. `fixed`: uses fixed layout algorithm; `auto`: uses automatic layout algorithm. For more details, see [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout)\n\n用于设置底层 `table` 单元格、行和列的布局算法,与原生 table-layout css 属性完全一致。`fixed`:采用固定布局算法;`auto`:采用自动布局算法。详情可参考 [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout)", + "doc-url": "https://tdesign.tencent.com/vue-next/components/descriptions?tab=api#descriptions-props", + "type": [ + "String" + ], + "default": "fixed", + "attribute-value": { + "type": "enum" + }, + "values": [ + { + "name": "fixed" + }, + { + "name": "auto" + } + ] + }, { "name": "title", "description": "title of descriptions\n\n描述列表的标题", @@ -6334,6 +6627,14 @@ "String" ] }, + { + "name": "dialog-style", + "description": "Styles that apply to the dialog box itself\n\n作用于对话框本身的样式", + "doc-url": "https://tdesign.tencent.com/vue-next/components/dialog?tab=api#dialog-props", + "type": [ + "Object" + ] + }, { "name": "draggable", "description": "对话框是否可以拖拽(仅在非模态对话框时有效)", @@ -6366,7 +6667,7 @@ }, { "name": "mode", - "description": "对话框类型,有 3 种:模态对话框、非模态对话框、全屏对话框。弹出「模态对话框」时,只能操作对话框里面的内容,不能操作其他内容。弹出「非模态对话框」时,则可以操作页面内所有内容。「普通对话框」是指没有脱离文档流的对话框,可以在这个基础上开发更多的插件", + "description": "对话框类型,有 4 种:模态对话框、非模态对话框、普通对话框、全屏对话框。弹出「模态对话框」时,只能操作对话框里面的内容,不能操作其他内容。弹出「非模态对话框」时,则可以操作页面内所有内容。「普通对话框」是指没有脱离文档流的对话框,可以在这个基础上开发更多的插件", "doc-url": "https://tdesign.tencent.com/vue-next/components/dialog?tab=api#dialog-props", "type": [ "String" @@ -6382,6 +6683,9 @@ { "name": "modeless" }, + { + "name": "normal" + }, { "name": "full-screen" } @@ -6500,6 +6804,16 @@ ], "js": { "events": [ + { + "name": "before-close", + "description": "对话框执行消失动画效果前触发", + "doc-url": "https://tdesign.tencent.com/vue-next/components/dialog?tab=api#dialog-events" + }, + { + "name": "before-open", + "description": "对话框执行弹出动画效果前触发", + "doc-url": "https://tdesign.tencent.com/vue-next/components/dialog?tab=api#dialog-events" + }, { "name": "cancel", "description": "如果“取消”按钮存在,则点击“取消”按钮时触发,同时触发关闭事件", @@ -6941,6 +7255,16 @@ ], "js": { "events": [ + { + "name": "before-close", + "description": "抽屉执行关闭动画效果前触发", + "doc-url": "https://tdesign.tencent.com/vue-next/components/drawer?tab=api#drawer-events" + }, + { + "name": "before-open", + "description": "抽屉执行打开动画效果前触发", + "doc-url": "https://tdesign.tencent.com/vue-next/components/drawer?tab=api#drawer-events" + }, { "name": "cancel", "description": "如果“取消”按钮存在,点击“取消”按钮时触发,同时触发关闭事件", @@ -7377,7 +7701,7 @@ "props": [ { "name": "action", - "description": "action block\n\n操作区域", + "description": "action block\n\n操作按钮", "doc-url": "https://tdesign.tencent.com/vue-next/components/empty?tab=api#empty-props", "type": [ "TNode" @@ -7394,7 +7718,7 @@ }, { "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/vue-next/components/empty?tab=api#empty-props", "type": [ "String", @@ -7409,6 +7733,29 @@ "Object" ] }, + { + "name": "size", + "description": "size of Empty, default value is `medium`\n\n空状态的尺寸,默认为 `medium`", + "doc-url": "https://tdesign.tencent.com/vue-next/components/empty?tab=api#empty-props", + "type": [ + "String" + ], + "default": "medium", + "attribute-value": { + "type": "enum" + }, + "values": [ + { + "name": "small" + }, + { + "name": "medium" + }, + { + "name": "large" + } + ] + }, { "name": "title", "description": "empty component title\n\n错误标题", @@ -7451,7 +7798,7 @@ "slots": [ { "name": "action", - "description": "action block\n\n操作区域", + "description": "action block\n\n操作按钮", "doc-url": "https://tdesign.tencent.com/vue-next/components/empty?tab=api#empty-props" }, { @@ -7461,7 +7808,7 @@ }, { "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组件图片,可以完全自定义内容。值类型为字符串时,表示图片地址;值类型为对象时,则表示透传全部属性到图片组件,示例:``类型和参数:string | ImageProps | TNode 【import { ImageProps } from '@Image'】", "doc-url": "https://tdesign.tencent.com/vue-next/components/empty?tab=api#empty-props" }, { @@ -7604,6 +7951,15 @@ "Array" ] }, + { + "name": "id", + "description": " native id attribute of the form,which supports being used in conjunction with non-form buttons through the form attribute to trigger form events\n\n表单原生的id属性,支持用于配合非表单内的按钮通过form属性来触发表单事件", + "doc-url": "https://tdesign.tencent.com/vue-next/components/form?tab=api#form-props", + "type": [ + "String" + ], + "default": "undefined" + }, { "name": "label-align", "description": "表单字段标签对齐方式:左对齐、右对齐、顶部对齐", @@ -7666,6 +8022,15 @@ ], "default": "true" }, + { + "name": "readonly", + "description": "是否整个表单只读", + "doc-url": "https://tdesign.tencent.com/vue-next/components/form?tab=api#form-props", + "type": [ + "Boolean" + ], + "default": "undefined" + }, { "name": "required-mark", "description": "是否显示必填符号(*),默认显示", @@ -7977,7 +8342,7 @@ }, { "name": "finish-button-props", - "description": "透传 完成 的全部属性,示例:`{ content: '完成', theme: 'primary' }`", + "description": "透传 完成按钮 的全部属性,示例:`{ content: '完成', theme: 'primary' }`", "doc-url": "https://tdesign.tencent.com/vue-next/components/guide?tab=api#guide-props", "type": [ "Object" @@ -8074,7 +8439,7 @@ }, { "name": "steps", - "description": "用于定义每个步骤的内容,包括高亮的节点、相对位置和具体的文案内容等。", + "description": "用于定义每个步骤的内容,包括高亮的节点、相对位置和具体的文案内容等", "doc-url": "https://tdesign.tencent.com/vue-next/components/guide?tab=api#guide-props", "type": [ "Array" @@ -8655,6 +9020,16 @@ "description": "ImageViewer\n\n图片预览", "doc-url": "https://tdesign.tencent.com/vue-next/components/image-viewer", "props": [ + { + "name": "attach", + "description": "指定挂载节点。数据类型为 String 时,会被当作选择器处理,进行节点查询。示例:'body' 或 () => document.body", + "doc-url": "https://tdesign.tencent.com/vue-next/components/image-viewer?tab=api#imageviewer-props", + "type": [ + "String", + "Function" + ], + "default": "'body'" + }, { "name": "close-btn", "description": "是否展示关闭按钮,值为 `true` 显示默认关闭按钮;值为 `false` 则不显示关闭按钮;也可以完全自定义关闭按钮", @@ -8691,6 +9066,43 @@ ], "default": "undefined" }, + { + "name": "image-referrerpolicy", + "description": "attribute of ``, [MDN Definition](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy)\n\n图片预览中的 `` 标签的原生属性,[MDN 定义](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy)", + "doc-url": "https://tdesign.tencent.com/vue-next/components/image-viewer?tab=api#imageviewer-props", + "type": [ + "String" + ], + "attribute-value": { + "type": "enum" + }, + "values": [ + { + "name": "no-referrer" + }, + { + "name": "no-referrer-when-downgrade" + }, + { + "name": "origin" + }, + { + "name": "origin-when-cross-origin" + }, + { + "name": "same-origin" + }, + { + "name": "strict-origin" + }, + { + "name": "strict-origin-when-cross-origin" + }, + { + "name": "unsafe-url" + } + ] + }, { "name": "image-scale", "description": " 图片缩放相关配置。`imageScale.max` 缩放的最大比例;`imageScale.min` 缩放的最小比例;`imageScale.step` 缩放的步长速度; `imageScale.defaultScale` 默认的缩放比例", @@ -8916,7 +9328,7 @@ }, { "name": "borderless", - "description": "input without border\n\n【开发中】无边框模式", + "description": "input without border\n\n是否开启无边框模式", "doc-url": "https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props", "type": [ "Boolean" @@ -8938,7 +9350,8 @@ "doc-url": "https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props", "type": [ "Boolean" - ] + ], + "default": "undefined" }, { "name": "format", @@ -8977,7 +9390,7 @@ }, { "name": "maxlength", - "description": "用户最多可以输入的文本长度,一个中文等于一个计数长度。值为空,则表示不限制输入长度。`maxcharacter` 和 `maxlength` 二选一使用", + "description": "用户最多可以输入的文本长度,一个中文等于一个计数长度。默认为空,不限制输入长度。`maxcharacter` 和 `maxlength` 二选一使用", "doc-url": "https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props", "type": [ "String", @@ -9016,7 +9429,7 @@ "type": [ "Boolean" ], - "default": "false" + "default": "undefined" }, { "name": "show-clear-icon-on-empty", @@ -9059,14 +9472,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/vue-next/components/input?tab=api#input-props", + "type": [ + "Boolean" + ], + "default": "false" + }, { "name": "status", - "description": "输入框状态。默认情况会由组件内部根据实际情况呈现,如果文本过长引起的状态变化", + "description": "输入框状态", "doc-url": "https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props", "type": [ "String" ], - "default": "undefined", + "default": "default", "attribute-value": { "type": "enum" }, @@ -9393,7 +9815,8 @@ "description": "[小数位数](https://en.wiktionary.org/wiki/decimal_place)", "doc-url": "https://tdesign.tencent.com/vue-next/components/input-number?tab=api#inputnumber-props", "type": [ - "Number" + "Number", + "Object" ], "default": "undefined" }, @@ -9403,7 +9826,8 @@ "doc-url": "https://tdesign.tencent.com/vue-next/components/input-number?tab=api#inputnumber-props", "type": [ "Boolean" - ] + ], + "default": "undefined" }, { "name": "format", @@ -9475,7 +9899,7 @@ "type": [ "Boolean" ], - "default": "false" + "default": "undefined" }, { "name": "size", @@ -9707,11 +10131,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/vue-next/components/link?tab=api#link-props", "type": [ "Boolean" - ] + ], + "default": "undefined" }, { "name": "download", @@ -9828,7 +10253,7 @@ }, { "name": "underline", - "description": "普通状态是否显示链接下划线", + "description": "是否显示链接下划线", "doc-url": "https://tdesign.tencent.com/vue-next/components/link?tab=api#link-props", "type": [ "Boolean" @@ -10372,7 +10797,7 @@ }, { "name": "theme", - "description": "Menu can be light mode or dark mode.\n\n菜单风格,有亮色模式和暗色模式两种。当 `theme = global` 时,模式随整个组件库;当 `theme = system` 时,模式跟随系统。⚠️ `global/system` 正在开发中,暂勿使用", + "description": "Menu can be light mode or dark mode\n\n菜单风格,有亮色模式和暗色模式两种。当 `theme = global` 时,模式随整个组件库;当 `theme = system` 时,模式跟随系统。⚠️ `global/system` 正在开发中,暂勿使用", "doc-url": "https://tdesign.tencent.com/vue-next/components/menu?tab=api#menu-props", "type": [ "String" @@ -10531,12 +10956,20 @@ }, { "name": "router", - "description": "路由对象。如果项目存在 Router,则默认使用 Router。", + "description": "路由对象。如果项目存在 Router,则默认使用 Router", "doc-url": "https://tdesign.tencent.com/vue-next/components/menu-item?tab=api#menuitem-props", "type": [ "Object" ] }, + { + "name": "router-link", + "description": "This API is valid if and only if the Router exists. Enable menu item content to be rendered as an `` consistent with router-link behavior\n\n当且仅当 Router 存在时,该 API 有效。开启菜单项内容渲染为与router-link行为一致的``标签", + "doc-url": "https://tdesign.tencent.com/vue-next/components/menu-item?tab=api#menuitem-props", + "type": [ + "Boolean" + ] + }, { "name": "target", "description": "链接或路由跳转方式", @@ -10572,6 +11005,14 @@ "Object" ] }, + { + "name": "tooltip-props", + "description": "Transparent all feature props of the Tooltip\n\n透传 Tooltip 组件的特性,作用于一级菜单收起下聚焦时出现的节点", + "doc-url": "https://tdesign.tencent.com/vue-next/components/menu-item?tab=api#menuitem-props", + "type": [ + "Object" + ] + }, { "name": "value", "description": "菜单项唯一标识", @@ -10639,7 +11080,7 @@ }, { "name": "duration", - "description": "消息内置计时器,计时到达时会触发 duration-end 事件。单位:毫秒。值为 0 则表示没有计时器。", + "description": "消息内置计时器,计时到达时会触发 duration-end 事件。单位:毫秒。值为 0 则表示没有计时器", "doc-url": "https://tdesign.tencent.com/vue-next/components/message?tab=api#message-props", "type": [ "Number" @@ -11608,7 +12049,7 @@ "props": [ { "name": "attach", - "description": "制定挂载节点。数据类型为 String 时,会被当作选择器处理,进行节点查询。示例:'body' 或 () => document.body", + "description": "指定挂载节点。数据类型为 String 时,会被当作选择器处理,进行节点查询。示例:'body' 或 () => document.body", "doc-url": "https://tdesign.tencent.com/vue-next/components/popup?tab=api#popup-props", "type": [ "String", @@ -11890,7 +12331,7 @@ }, { "name": "drag-sort", - "description": "dag sort\n\n拖拽排序方式,值为 `row` 表示行拖拽排序,这种方式无法进行文本复制,慎用。值为`row-handler` 表示通过拖拽手柄进行行拖拽排序。值为 `col` 表示列顺序拖拽。值为 `row-handler-col` 表示同时支持行拖拽和列拖拽。⚠️`drag-col` 已废弃,请勿使用。", + "description": "dag sort\n\n拖拽排序方式,值为 `row` 表示行拖拽排序,这种方式无法进行文本复制,慎用。值为`row-handler` 表示通过拖拽手柄进行行拖拽排序。值为 `col` 表示列顺序拖拽。值为 `row-handler-col` 表示同时支持行拖拽和列拖拽。⚠️`drag-col` 已废弃,请勿使用", "doc-url": "https://tdesign.tencent.com/vue-next/components/primary-table?tab=api#primarytable-props", "type": [ "String" @@ -12310,7 +12751,7 @@ }, { "name": "drag-sort", - "description": "dag sort\n\n拖拽排序方式,值为 `row` 表示行拖拽排序,这种方式无法进行文本复制,慎用。值为`row-handler` 表示通过拖拽手柄进行行拖拽排序。值为 `col` 表示列顺序拖拽。值为 `row-handler-col` 表示同时支持行拖拽和列拖拽。⚠️`drag-col` 已废弃,请勿使用。", + "description": "dag sort\n\n拖拽排序方式,值为 `row` 表示行拖拽排序,这种方式无法进行文本复制,慎用。值为`row-handler` 表示通过拖拽手柄进行行拖拽排序。值为 `col` 表示列顺序拖拽。值为 `row-handler-col` 表示同时支持行拖拽和列拖拽。⚠️`drag-col` 已废弃,请勿使用", "doc-url": "https://tdesign.tencent.com/vue-next/components/primary-table?tab=api#primarytable-props", "type": [ "String" @@ -12838,7 +13279,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/vue-next/components/radio?tab=api#radio-props", "type": [ "Boolean" @@ -12869,7 +13310,7 @@ "type": [ "Boolean" ], - "default": "false" + "default": "undefined" }, { "name": "value", @@ -12947,7 +13388,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/vue-next/components/radio?tab=api#radio-props", "type": [ "Boolean" @@ -12978,7 +13419,7 @@ "type": [ "Boolean" ], - "default": "false" + "default": "undefined" }, { "name": "value", @@ -13038,11 +13479,12 @@ }, { "name": "disabled", - "description": "是否禁用全部子单选框。默认为 false。RadioGroup.disabled 优先级低于 Radio.disabled", + "description": "是否禁用全部子单选框。优先级:Radio.disabled > RadioGroup.disabled > Form.disabled", "doc-url": "https://tdesign.tencent.com/vue-next/components/radio-group?tab=api#radiogroup-props", "type": [ "Boolean" - ] + ], + "default": "undefined" }, { "name": "name", @@ -13060,6 +13502,15 @@ "Array" ] }, + { + "name": "readonly", + "description": "只读状态", + "doc-url": "https://tdesign.tencent.com/vue-next/components/radio-group?tab=api#radiogroup-props", + "type": [ + "Boolean" + ], + "default": "undefined" + }, { "name": "size", "description": "组件尺寸【讨论中】", @@ -13083,6 +13534,26 @@ } ] }, + { + "name": "theme", + "description": "component Style\n\n组件风格", + "doc-url": "https://tdesign.tencent.com/vue-next/components/radio-group?tab=api#radiogroup-props", + "type": [ + "String" + ], + "default": "radio", + "attribute-value": { + "type": "enum" + }, + "values": [ + { + "name": "radio" + }, + { + "name": "button" + } + ] + }, { "name": "value", "description": "选中的值", @@ -13121,7 +13592,7 @@ "events": [ { "name": "change", - "description": "选中值发生变化时触发", + "description": "选中值发生变化时触发, `context.name` 指 RadioGroup 的 name 属性", "doc-url": "https://tdesign.tencent.com/vue-next/components/radio-group?tab=api#radiogroup-events" } ] @@ -13144,6 +13615,15 @@ "Number" ] }, + { + "name": "borderless", + "description": "无边框模式", + "doc-url": "https://tdesign.tencent.com/vue-next/components/range-input?tab=api#rangeinput-props", + "type": [ + "Boolean" + ], + "default": "false" + }, { "name": "clearable", "description": "是否可清空", @@ -13159,7 +13639,8 @@ "doc-url": "https://tdesign.tencent.com/vue-next/components/range-input?tab=api#rangeinput-props", "type": [ "Boolean" - ] + ], + "default": "undefined" }, { "name": "format", @@ -13212,7 +13693,7 @@ "type": [ "Boolean" ], - "default": "false" + "default": "undefined" }, { "name": "separator", @@ -13438,6 +13919,15 @@ "Array" ] }, + { + "name": "label", + "description": "左侧文本", + "doc-url": "https://tdesign.tencent.com/vue-next/components/range-input-popup?tab=api#rangeinputpopup-props", + "type": [ + "String", + "TNode" + ] + }, { "name": "panel", "description": "下拉框内容,可完全自定义", @@ -13478,7 +13968,7 @@ "type": [ "Boolean" ], - "default": "false" + "default": "undefined" }, { "name": "status", @@ -13531,6 +14021,11 @@ ] }, "slots": [ + { + "name": "label", + "description": "左侧文本", + "doc-url": "https://tdesign.tencent.com/vue-next/components/range-input-popup?tab=api#rangeinputpopup-props" + }, { "name": "panel", "description": "下拉框内容,可完全自定义", @@ -13552,8 +14047,17 @@ "doc-url": "https://tdesign.tencent.com/vue-next/components/rate", "props": [ { - "name": "allow-half", - "description": "是否允许半选", + "name": "allow-half", + "description": "是否允许半选", + "doc-url": "https://tdesign.tencent.com/vue-next/components/rate?tab=api#rate-props", + "type": [ + "Boolean" + ], + "default": "false" + }, + { + "name": "clearable", + "description": "是否允许清除评分,如果允许,重新点击当前评分清除", "doc-url": "https://tdesign.tencent.com/vue-next/components/rate?tab=api#rate-props", "type": [ "Boolean" @@ -13562,7 +14066,7 @@ }, { "name": "color", - "description": "评分图标的颜色,样式中默认为 #ED7B2F。一个值表示设置选中高亮的五角星颜色,示例:[选中颜色]。数组则表示分别设置 选中高亮的五角星颜色 和 未选中暗灰的五角星颜色,[选中颜色,未选中颜色]。示例:['#ED7B2F', '#E3E6EB']。", + "description": "评分图标的颜色,样式中默认为 #ED7B2F。一个值表示设置选中高亮的五角星颜色,示例:[选中颜色]。数组则表示分别设置 选中高亮的五角星颜色 和 未选中暗灰的五角星颜色,[选中颜色,未选中颜色]。示例:['#ED7B2F', '#E3E6EB']", "doc-url": "https://tdesign.tencent.com/vue-next/components/rate?tab=api#rate-props", "type": [ "String", @@ -13585,7 +14089,8 @@ "doc-url": "https://tdesign.tencent.com/vue-next/components/rate?tab=api#rate-props", "type": [ "Boolean" - ] + ], + "default": "undefined" }, { "name": "gap", @@ -13801,7 +14306,7 @@ }, { "name": "clearable", - "description": "是否可清空", + "description": "是否启用清除控件", "doc-url": "https://tdesign.tencent.com/vue-next/components/search?tab=api#search-props", "type": [ "Boolean" @@ -13810,11 +14315,12 @@ }, { "name": "disabled", - "description": "禁用状态", + "description": "是否禁用", "doc-url": "https://tdesign.tencent.com/vue-next/components/search?tab=api#search-props", "type": [ "Boolean" - ] + ], + "default": "false" }, { "name": "filter", @@ -13883,7 +14389,7 @@ "type": [ "Boolean" ], - "default": "false" + "default": "undefined" }, { "name": "select-input-props", @@ -13921,7 +14427,7 @@ }, { "name": "value", - "description": "值,搜索关键词", + "description": "值", "doc-url": "https://tdesign.tencent.com/vue-next/components/search?tab=api#search-props", "type": [ "String" @@ -14041,7 +14547,7 @@ }, { "name": "collapsed-items", - "description": "多选情况下,用于设置折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 collapsedItems 自定义。`value` 表示当前存在的所有标签,`collapsedTags` 表示折叠的标签,泛型 `T` 继承 `SelectOption`,表示选项数据;`count` 表示折叠的数量, `onClose` 表示移除标签", + "description": "多选情况下,用于设置折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 collapsedItems 自定义。`value` 表示当前存在的所有标签,`collapsedSelectedItems` 表示折叠的标签,泛型 `T` 继承 `SelectOption`,表示选项数据;`count` 表示折叠的数量, `onClose` 表示移除标签", "doc-url": "https://tdesign.tencent.com/vue-next/components/select?tab=api#select-props", "type": [ "TNode" @@ -14062,7 +14568,8 @@ "doc-url": "https://tdesign.tencent.com/vue-next/components/select?tab=api#select-props", "type": [ "Boolean" - ] + ], + "default": "undefined" }, { "name": "empty", @@ -14243,7 +14750,7 @@ "type": [ "Boolean" ], - "default": "false" + "default": "undefined" }, { "name": "reserve-keyword", @@ -14393,7 +14900,7 @@ }, { "name": "value-type", - "description": "用于控制选中值的类型。假设数据选项为:`[{ label: '姓名', value: 'name' }]`,value 表示值仅返回数据选项中的 value, object 表示值返回全部数据。", + "description": "用于控制选中值的类型。假设数据选项为:`[{ label: '姓名', value: 'name' }]`,value 表示值仅返回数据选项中的 value, object 表示值返回全部数据", "doc-url": "https://tdesign.tencent.com/vue-next/components/select?tab=api#select-props", "type": [ "String" @@ -14469,12 +14976,12 @@ "slots": [ { "name": "collapsedItems", - "description": "多选情况下,用于设置折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 collapsedItems 自定义。`value` 表示当前存在的所有标签,`collapsedTags` 表示折叠的标签,泛型 `T` 继承 `SelectOption`,表示选项数据;`count` 表示折叠的数量, `onClose` 表示移除标签类型和参数:TNode<{ value: T[]; collapsedSelectedItems: T[]; count: number, onClose: (index: number) => void }>", + "description": "多选情况下,用于设置折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 collapsedItems 自定义。`value` 表示当前存在的所有标签,`collapsedSelectedItems` 表示折叠的标签,泛型 `T` 继承 `SelectOption`,表示选项数据;`count` 表示折叠的数量, `onClose` 表示移除标签类型和参数:TNode<{ value: T[]; collapsedSelectedItems: T[]; count: number; onClose: (context: { index: number, e?: MouseEvent }) => void }>", "doc-url": "https://tdesign.tencent.com/vue-next/components/select?tab=api#select-props" }, { "name": "collapsed-items", - "description": "多选情况下,用于设置折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 collapsedItems 自定义。`value` 表示当前存在的所有标签,`collapsedTags` 表示折叠的标签,泛型 `T` 继承 `SelectOption`,表示选项数据;`count` 表示折叠的数量, `onClose` 表示移除标签类型和参数:TNode<{ value: T[]; collapsedSelectedItems: T[]; count: number, onClose: (index: number) => void }>", + "description": "多选情况下,用于设置折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 collapsedItems 自定义。`value` 表示当前存在的所有标签,`collapsedSelectedItems` 表示折叠的标签,泛型 `T` 继承 `SelectOption`,表示选项数据;`count` 表示折叠的数量, `onClose` 表示移除标签类型和参数:TNode<{ value: T[]; collapsedSelectedItems: T[]; count: number; onClose: (context: { index: number, e?: MouseEvent }) => void }>", "doc-url": "https://tdesign.tencent.com/vue-next/components/select?tab=api#select-props" }, { @@ -14549,12 +15056,12 @@ }, { "name": "valueDisplay", - "description": "`MouseEvent`\n\n自定义选中项呈现的内容类型和参数:string | TNode<{ value: SelectValue; onClose: (index: number) => void; displayValue?: SelectValue }>", + "description": "`MouseEvent`\n\n自定义选中项呈现的内容类型和参数:string | TNode<{ value: SelectValue; onClose: (index: number) => void; displayValue?: SelectValue; label?: string }>", "doc-url": "https://tdesign.tencent.com/vue-next/components/select?tab=api#select-props" }, { "name": "value-display", - "description": "`MouseEvent`\n\n自定义选中项呈现的内容类型和参数:string | TNode<{ value: SelectValue; onClose: (index: number) => void; displayValue?: SelectValue }>", + "description": "`MouseEvent`\n\n自定义选中项呈现的内容类型和参数:string | TNode<{ value: SelectValue; onClose: (index: number) => void; displayValue?: SelectValue; label?: string }>", "doc-url": "https://tdesign.tencent.com/vue-next/components/select?tab=api#select-props" } ] @@ -14614,7 +15121,7 @@ }, { "name": "collapsed-items", - "description": "标签过多的情况下,折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 `collapsedItems` 自定义。`value` 表示所有标签值,`collapsedTags` 表示折叠标签值,`count` 表示折叠的数量", + "description": "标签过多的情况下,折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 `collapsedItems` 自定义。`value` 表示所有标签值,`collapsedSelectedItems` 表示折叠标签值,`count` 表示折叠的数量,`onClose` 表示移除标签的事件回调", "doc-url": "https://tdesign.tencent.com/vue-next/components/select-input?tab=api#selectinput-props", "type": [ "TNode" @@ -14626,7 +15133,8 @@ "doc-url": "https://tdesign.tencent.com/vue-next/components/select-input?tab=api#selectinput-props", "type": [ "Boolean" - ] + ], + "default": "undefined" }, { "name": "input-props", @@ -14722,6 +15230,14 @@ "Boolean" ] }, + { + "name": "prefix-icon", + "description": "组件前置图标", + "doc-url": "https://tdesign.tencent.com/vue-next/components/select-input?tab=api#selectinput-props", + "type": [ + "TNode" + ] + }, { "name": "readonly", "description": "只读状态,值为真会隐藏输入框,且无法打开下拉框", @@ -14729,7 +15245,7 @@ "type": [ "Boolean" ], - "default": "false" + "default": "undefined" }, { "name": "reserve-keyword", @@ -14740,6 +15256,29 @@ ], "default": "false" }, + { + "name": "size", + "description": "组件尺寸", + "doc-url": "https://tdesign.tencent.com/vue-next/components/select-input?tab=api#selectinput-props", + "type": [ + "String" + ], + "default": "medium", + "attribute-value": { + "type": "enum" + }, + "values": [ + { + "name": "small" + }, + { + "name": "medium" + }, + { + "name": "large" + } + ] + }, { "name": "status", "description": "输入框状态", @@ -14898,12 +15437,12 @@ "slots": [ { "name": "collapsedItems", - "description": "标签过多的情况下,折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 `collapsedItems` 自定义。`value` 表示所有标签值,`collapsedTags` 表示折叠标签值,`count` 表示折叠的数量类型和参数:TNode<{ value: SelectInputValue; collapsedTags: SelectInputValue; count: number }>", + "description": "标签过多的情况下,折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 `collapsedItems` 自定义。`value` 表示所有标签值,`collapsedSelectedItems` 表示折叠标签值,`count` 表示折叠的数量,`onClose` 表示移除标签的事件回调类型和参数:TNode<{ value: SelectInputValue; collapsedSelectedItems: SelectInputValue; count: number; onClose: (context: { index: number, e?: MouseEvent }) => void }>", "doc-url": "https://tdesign.tencent.com/vue-next/components/select-input?tab=api#selectinput-props" }, { "name": "collapsed-items", - "description": "标签过多的情况下,折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 `collapsedItems` 自定义。`value` 表示所有标签值,`collapsedTags` 表示折叠标签值,`count` 表示折叠的数量类型和参数:TNode<{ value: SelectInputValue; collapsedTags: SelectInputValue; count: number }>", + "description": "标签过多的情况下,折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 `collapsedItems` 自定义。`value` 表示所有标签值,`collapsedSelectedItems` 表示折叠标签值,`count` 表示折叠的数量,`onClose` 表示移除标签的事件回调类型和参数:TNode<{ value: SelectInputValue; collapsedSelectedItems: SelectInputValue; count: number; onClose: (context: { index: number, e?: MouseEvent }) => void }>", "doc-url": "https://tdesign.tencent.com/vue-next/components/select-input?tab=api#selectinput-props" }, { @@ -14916,6 +15455,16 @@ "description": "下拉框内容,可完全自定义", "doc-url": "https://tdesign.tencent.com/vue-next/components/select-input?tab=api#selectinput-props" }, + { + "name": "prefixIcon", + "description": "组件前置图标", + "doc-url": "https://tdesign.tencent.com/vue-next/components/select-input?tab=api#selectinput-props" + }, + { + "name": "prefix-icon", + "description": "组件前置图标", + "doc-url": "https://tdesign.tencent.com/vue-next/components/select-input?tab=api#selectinput-props" + }, { "name": "suffix", "description": "后置图标前的后置内容", @@ -15089,7 +15638,7 @@ "type": [ "Boolean" ], - "default": "false" + "default": "undefined" }, { "name": "input-number-props", @@ -15416,7 +15965,7 @@ }, { "name": "separator", - "description": "The carry separator is displayed by default, and can be customized to other content. When `separator = ''` is set to an empty string/null/undefined, the separator is hidden\n\n默认展示进位分隔符,可以自定义为其他内容,`separator = ''` 设置为空字符串/null/undefined 时隐藏分隔符", + "description": "Thousands separator is displayed by default, and can be customized to other content, and the default separator is displayed when `separator = ''` is set to an empty string/null/undefined\n\n默认展示千位分隔符,可以自定义为其他内容,`separator = ''` 设置为空字符串/null/undefined 时展示默认分隔符", "doc-url": "https://tdesign.tencent.com/vue-next/components/statistic?tab=api#statistic-props", "type": [ "String" @@ -15698,7 +16247,7 @@ "type": [ "Boolean" ], - "default": "false" + "default": "undefined" }, { "name": "separator", @@ -16284,6 +16833,14 @@ "description": "Switch\n\n开关", "doc-url": "https://tdesign.tencent.com/vue-next/components/switch", "props": [ + { + "name": "before-change", + "description": "Switch 切换状态前的回调方法,常用于需要发起异步请求的场景,回调返回值支持布尔和 Promise 类型,返回`false`或 Promise reject不继续执行change,否则则继续执行", + "doc-url": "https://tdesign.tencent.com/vue-next/components/switch?tab=api#switch-props", + "type": [ + "Function" + ] + }, { "name": "custom-value", "description": "用于自定义开关的值,[打开时的值,关闭时的值]。默认为 [true, false]。示例:[1, 0]、['open', 'close']", @@ -16294,11 +16851,12 @@ }, { "name": "disabled", - "description": "是否禁用组件,默认为 false", + "description": "是否禁用组件。优先级:Switch.disabled > Form.disabled", "doc-url": "https://tdesign.tencent.com/vue-next/components/switch?tab=api#switch-props", "type": [ "Boolean" - ] + ], + "default": "undefined" }, { "name": "label", @@ -16496,7 +17054,7 @@ "props": [ { "name": "action", - "description": "【开发中】选项卡右侧的操作区域", + "description": "选项卡右侧的操作区域", "doc-url": "https://tdesign.tencent.com/vue-next/components/tabs?tab=api#tabs-props", "type": [ "String", @@ -16564,6 +17122,32 @@ } ] }, + { + "name": "scroll-position", + "description": "The final position where the tab item stops scrolling after being selected\n\nTab较多的时候,选中滑块滚动最终停留的位置", + "doc-url": "https://tdesign.tencent.com/vue-next/components/tabs?tab=api#tabs-props", + "type": [ + "String" + ], + "default": "auto", + "attribute-value": { + "type": "enum" + }, + "values": [ + { + "name": "auto" + }, + { + "name": "start" + }, + { + "name": "center" + }, + { + "name": "end" + } + ] + }, { "name": "size", "description": "组件尺寸", @@ -16641,7 +17225,7 @@ "slots": [ { "name": "action", - "description": "【开发中】选项卡右侧的操作区域", + "description": "选项卡右侧的操作区域", "doc-url": "https://tdesign.tencent.com/vue-next/components/tabs?tab=api#tabs-props" } ] @@ -16663,6 +17247,14 @@ ], "default": "false" }, + { + "name": "color", + "description": "self-defined tag color \n\n自定义标签颜色", + "doc-url": "https://tdesign.tencent.com/vue-next/components/tag?tab=api#tag-props", + "type": [ + "String" + ] + }, { "name": "content", "description": "组件子元素", @@ -16783,6 +17375,14 @@ } ] }, + { + "name": "title", + "description": "title of tag\n\n标签标题,在标签hover时展示,默认为标签内容", + "doc-url": "https://tdesign.tencent.com/vue-next/components/tag?tab=api#tag-props", + "type": [ + "String" + ] + }, { "name": "variant", "description": "标签风格变体", @@ -16859,6 +17459,15 @@ ], "default": "false" }, + { + "name": "borderless", + "description": "无边框模式", + "doc-url": "https://tdesign.tencent.com/vue-next/components/tag-input?tab=api#taginput-props", + "type": [ + "Boolean" + ], + "default": "false" + }, { "name": "clearable", "description": "是否可清空", @@ -16870,7 +17479,7 @@ }, { "name": "collapsed-items", - "description": "标签过多的情况下,折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 collapsedItems 自定义。`value` 表示当前存在的所有标签,`collapsedTags` 表示折叠的标签,`count` 表示折叠的数量", + "description": "标签过多的情况下,折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 collapsedItems 自定义。`value` 表示当前存在的所有标签,`collapsedSelectedItems` 表示折叠的标签,`count` 表示折叠的数量,`onClose` 表示移除标签的事件回调", "doc-url": "https://tdesign.tencent.com/vue-next/components/tag-input?tab=api#taginput-props", "type": [ "TNode" @@ -16882,7 +17491,8 @@ "doc-url": "https://tdesign.tencent.com/vue-next/components/tag-input?tab=api#taginput-props", "type": [ "Boolean" - ] + ], + "default": "undefined" }, { "name": "drag-sort", @@ -16981,11 +17591,11 @@ "type": [ "Boolean" ], - "default": "false" + "default": "undefined" }, { "name": "size", - "description": "尺寸", + "description": "组件尺寸", "doc-url": "https://tdesign.tencent.com/vue-next/components/tag-input?tab=api#taginput-props", "type": [ "String" @@ -17160,12 +17770,12 @@ "slots": [ { "name": "collapsedItems", - "description": "标签过多的情况下,折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 collapsedItems 自定义。`value` 表示当前存在的所有标签,`collapsedTags` 表示折叠的标签,`count` 表示折叠的数量类型和参数:TNode<{ value: TagInputValue; collapsedTags: TagInputValue; count: number }>", + "description": "标签过多的情况下,折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 collapsedItems 自定义。`value` 表示当前存在的所有标签,`collapsedSelectedItems` 表示折叠的标签,`count` 表示折叠的数量,`onClose` 表示移除标签的事件回调类型和参数:TNode<{ value: TagInputValue; collapsedSelectedItems: TagInputValue; count: number; onClose: (context: { index: number, e?: MouseEvent }) => void }>", "doc-url": "https://tdesign.tencent.com/vue-next/components/tag-input?tab=api#taginput-props" }, { "name": "collapsed-items", - "description": "标签过多的情况下,折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 collapsedItems 自定义。`value` 表示当前存在的所有标签,`collapsedTags` 表示折叠的标签,`count` 表示折叠的数量类型和参数:TNode<{ value: TagInputValue; collapsedTags: TagInputValue; count: number }>", + "description": "标签过多的情况下,折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 collapsedItems 自定义。`value` 表示当前存在的所有标签,`collapsedSelectedItems` 表示折叠的标签,`count` 表示折叠的数量,`onClose` 表示移除标签的事件回调类型和参数:TNode<{ value: TagInputValue; collapsedSelectedItems: TagInputValue; count: number; onClose: (context: { index: number, e?: MouseEvent }) => void }>", "doc-url": "https://tdesign.tencent.com/vue-next/components/tag-input?tab=api#taginput-props" }, { @@ -17424,16 +18034,7 @@ "type": [ "Boolean" ], - "default": "false" - }, - { - "name": "label", - "description": "左侧文本", - "doc-url": "https://tdesign.tencent.com/vue-next/components/textarea?tab=api#textarea-props", - "type": [ - "String", - "TNode" - ] + "default": "undefined" }, { "name": "maxcharacter", @@ -17476,7 +18077,7 @@ "type": [ "Boolean" ], - "default": "false" + "default": "undefined" }, { "name": "status", @@ -17554,15 +18155,15 @@ "name": "keyup", "description": "释放键盘时触发", "doc-url": "https://tdesign.tencent.com/vue-next/components/textarea?tab=api#textarea-events" + }, + { + "name": "validate", + "description": "字数超出限制时触发", + "doc-url": "https://tdesign.tencent.com/vue-next/components/textarea?tab=api#textarea-events" } ] }, "slots": [ - { - "name": "label", - "description": "左侧文本", - "doc-url": "https://tdesign.tencent.com/vue-next/components/textarea?tab=api#textarea-props" - }, { "name": "tips", "description": "输入框下方提示文本,会根据不同的 `status` 呈现不同的样式", @@ -17587,6 +18188,15 @@ ], "default": "false" }, + { + "name": "borderless", + "description": "无边框模式", + "doc-url": "https://tdesign.tencent.com/vue-next/components/time-picker?tab=api#timepicker-props", + "type": [ + "Boolean" + ], + "default": "false" + }, { "name": "clearable", "description": "是否允许清除选中值", @@ -17610,7 +18220,8 @@ "doc-url": "https://tdesign.tencent.com/vue-next/components/time-picker?tab=api#timepicker-props", "type": [ "Boolean" - ] + ], + "default": "undefined" }, { "name": "format", @@ -17638,6 +18249,15 @@ "Object" ] }, + { + "name": "label", + "description": "左侧文本", + "doc-url": "https://tdesign.tencent.com/vue-next/components/time-picker?tab=api#timepicker-props", + "type": [ + "String", + "TNode" + ] + }, { "name": "placeholder", "description": "占位符", @@ -17663,6 +18283,14 @@ "Object" ] }, + { + "name": "select-input-props", + "description": "透传 SelectInput 筛选器输入框组件的全部属性", + "doc-url": "https://tdesign.tencent.com/vue-next/components/time-picker?tab=api#timepicker-props", + "type": [ + "Object" + ] + }, { "name": "size", "description": "尺寸", @@ -17737,6 +18365,15 @@ "type": [ "String" ] + }, + { + "name": "value-display", + "description": "`MouseEvent`\n\n自定义选中项呈现的内容", + "doc-url": "https://tdesign.tencent.com/vue-next/components/time-picker?tab=api#timepicker-props", + "type": [ + "String", + "TNode" + ] } ], "js": { @@ -17779,10 +18416,25 @@ ] }, "slots": [ + { + "name": "label", + "description": "左侧文本", + "doc-url": "https://tdesign.tencent.com/vue-next/components/time-picker?tab=api#timepicker-props" + }, { "name": "tips", "description": "输入框下方提示文本,会根据不同的 `status` 呈现不同的样式", "doc-url": "https://tdesign.tencent.com/vue-next/components/time-picker?tab=api#timepicker-props" + }, + { + "name": "valueDisplay", + "description": "`MouseEvent`\n\n自定义选中项呈现的内容类型和参数:string | TNode<{ value: TimePickerValue }>", + "doc-url": "https://tdesign.tencent.com/vue-next/components/time-picker?tab=api#timepicker-props" + }, + { + "name": "value-display", + "description": "`MouseEvent`\n\n自定义选中项呈现的内容类型和参数:string | TNode<{ value: TimePickerValue }>", + "doc-url": "https://tdesign.tencent.com/vue-next/components/time-picker?tab=api#timepicker-props" } ] }, @@ -17803,6 +18455,24 @@ ], "default": "false" }, + { + "name": "auto-swap", + "description": "是否自动调换左右区间的顺序,默认为 true;若需要支持跨天的场景,可以设置为 false", + "doc-url": "https://tdesign.tencent.com/vue-next/components/time-range-picker?tab=api#timerangepicker-props", + "type": [ + "Boolean" + ], + "default": "true" + }, + { + "name": "borderless", + "description": "无边框模式", + "doc-url": "https://tdesign.tencent.com/vue-next/components/time-range-picker?tab=api#timerangepicker-props", + "type": [ + "Boolean" + ], + "default": "false" + }, { "name": "clearable", "description": "是否允许清除选中值", @@ -17827,7 +18497,8 @@ "type": [ "Boolean", "Array" - ] + ], + "default": "undefined" }, { "name": "format", @@ -17847,6 +18518,15 @@ ], "default": "true" }, + { + "name": "label", + "description": "左侧文本", + "doc-url": "https://tdesign.tencent.com/vue-next/components/time-range-picker?tab=api#timerangepicker-props", + "type": [ + "String", + "TNode" + ] + }, { "name": "placeholder", "description": "占位符,值为数组表示可分别为开始日期和结束日期设置占位符", @@ -17987,6 +18667,11 @@ ] }, "slots": [ + { + "name": "label", + "description": "左侧文本", + "doc-url": "https://tdesign.tencent.com/vue-next/components/time-range-picker?tab=api#timerangepicker-props" + }, { "name": "tips", "description": "输入框下方提示文本,会根据不同的 `status` 呈现不同的样式", @@ -18082,7 +18767,7 @@ }, { "name": "theme", - "description": "步骤条风格", + "description": "时间轴风格", "doc-url": "https://tdesign.tencent.com/vue-next/components/timeline?tab=api#timeline-props", "type": [ "String" @@ -18130,7 +18815,7 @@ }, { "name": "dot-color", - "description": "时间轴颜色,内置 `primary/warning/error/default` 四种色值,可传入 16 进制颜色码或 RGB 颜色值.", + "description": "时间轴颜色,内置 `primary/warning/error/default` 四种色值,可传入 16 进制颜色码或 RGB 颜色值", "doc-url": "https://tdesign.tencent.com/vue-next/components/timeline-item?tab=api#timelineitem-props", "type": [ "String" @@ -18667,12 +19352,11 @@ }, { "name": "tree", - "description": "", + "description": "传入 Tree 组件定义树形结构", "doc-url": "https://tdesign.tencent.com/vue-next/components/transfer?tab=api#transfer-props", "type": [ "TNode" - ], - "default": "传入 Tree 组件定义树形结构" + ] }, { "name": "value", @@ -18746,7 +19430,7 @@ }, { "name": "tree", - "description": "类型和参数:(tree: TreeProps) => TNode【import { TreeProps } from '@Tree'】", + "description": "传入 Tree 组件定义树形结构类型和参数:(tree: TreeProps) => TNode【import { TreeProps } from '@Tree'】", "doc-url": "https://tdesign.tencent.com/vue-next/components/transfer?tab=api#transfer-props" } ] @@ -18785,6 +19469,14 @@ "Array" ] }, + { + "name": "allow-drop", + "description": "Determine whether the node can execute the drop operation\n\n判断节点是否可以执行 drop 操作,泛型 `T` 表示树节点 TS 类型", + "doc-url": "https://tdesign.tencent.com/vue-next/components/tree?tab=api#tree-props", + "type": [ + "Function" + ] + }, { "name": "allow-fold-node-on-filter", "description": "是否允许在过滤时节点折叠节点", @@ -18929,7 +19621,7 @@ }, { "name": "height", - "description": "The height of tree. Scrollbar will appear after the content is overflow. Examples: 100, '30%', '300'. The value should be a number and will automatically be converted to a pixel value. If the tree height is not fixed, it is recommended to use `maxHeight`.\n\n树的高度,超出后会出现滚动条。示例:100, '30%', '300'。值为数字类型,会自动加上单位 px。如果不是绝对固定树的高度,建议使用 `maxHeight`", + "description": "The height of tree. Scrollbar will appear after the content is overflow. Examples: 100, '30%', '300'. The value should be a number and will automatically be converted to a pixel value. If the tree height is not fixed, it is recommended to use `maxHeight`\n\n树的高度,超出后会出现滚动条。示例:100, '30%', '300'。值为数字类型,会自动加上单位 px。如果不是绝对固定树的高度,建议使用 `maxHeight`", "doc-url": "https://tdesign.tencent.com/vue-next/components/tree?tab=api#tree-props", "type": [ "String", @@ -18956,7 +19648,7 @@ }, { "name": "keys", - "description": "alias field name in data\n\n用来定义 `value / label / disabled / children` 在 `data` 数据中对应的字段别名,示例:`{ value: 'key', label 'name', children: 'list' }`。其中,disabled 待开发。", + "description": "alias field name in data\n\n用来定义 `value / label / disabled / children` 在 `data` 数据中对应的字段别名,示例:`{ value: 'key', label 'name', children: 'list' }`。其中,disabled 待开发", "doc-url": "https://tdesign.tencent.com/vue-next/components/tree?tab=api#tree-props", "type": [ "Object" @@ -19200,7 +19892,7 @@ }, { "name": "collapsed-items", - "description": "多选情况下,用于设置折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 collapsedItems 自定义。`value` 表示当前存在的所有标签,`collapsedTags` 表示折叠的标签,`count` 表示折叠的数量", + "description": "多选情况下,用于设置折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 collapsedItems 自定义。`value` 表示当前存在的所有标签,`collapsedSelectedItems` 表示折叠的标签,`count` 表示折叠的数量,`onClose` 表示移除标签的事件回调", "doc-url": "https://tdesign.tencent.com/vue-next/components/tree-select?tab=api#treeselect-props", "type": [ "TNode" @@ -19221,7 +19913,8 @@ "doc-url": "https://tdesign.tencent.com/vue-next/components/tree-select?tab=api#treeselect-props", "type": [ "Boolean" - ] + ], + "default": "undefined" }, { "name": "empty", @@ -19387,7 +20080,7 @@ "type": [ "Boolean" ], - "default": "false" + "default": "undefined" }, { "name": "reserve-keyword", @@ -19589,12 +20282,12 @@ "slots": [ { "name": "collapsedItems", - "description": "多选情况下,用于设置折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 collapsedItems 自定义。`value` 表示当前存在的所有标签,`collapsedTags` 表示折叠的标签,`count` 表示折叠的数量类型和参数:TNode<{ value: DataOption[]; collapsedSelectedItems: DataOption[]; count: number }>", + "description": "多选情况下,用于设置折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 collapsedItems 自定义。`value` 表示当前存在的所有标签,`collapsedSelectedItems` 表示折叠的标签,`count` 表示折叠的数量,`onClose` 表示移除标签的事件回调类型和参数:TNode<{ value: DataOption[]; collapsedSelectedItems: DataOption[]; count: number; onClose: (context: { index: number, e?: MouseEvent }) => void }>", "doc-url": "https://tdesign.tencent.com/vue-next/components/tree-select?tab=api#treeselect-props" }, { "name": "collapsed-items", - "description": "多选情况下,用于设置折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 collapsedItems 自定义。`value` 表示当前存在的所有标签,`collapsedTags` 表示折叠的标签,`count` 表示折叠的数量类型和参数:TNode<{ value: DataOption[]; collapsedSelectedItems: DataOption[]; count: number }>", + "description": "多选情况下,用于设置折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 collapsedItems 自定义。`value` 表示当前存在的所有标签,`collapsedSelectedItems` 表示折叠的标签,`count` 表示折叠的数量,`onClose` 表示移除标签的事件回调类型和参数:TNode<{ value: DataOption[]; collapsedSelectedItems: DataOption[]; count: number; onClose: (context: { index: number, e?: MouseEvent }) => void }>", "doc-url": "https://tdesign.tencent.com/vue-next/components/tree-select?tab=api#treeselect-props" }, { @@ -19773,11 +20466,12 @@ }, { "name": "disabled", - "description": "make upload to be disabled\n\n是否禁用", + "description": "make upload to be disabled\n\n是否禁用组件", "doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props", "type": [ "Boolean" - ] + ], + "default": "undefined" }, { "name": "drag-content", @@ -19910,7 +20604,7 @@ "name": "PUT" }, { - "name": "OPTION" + "name": "OPTIONS" }, { "name": "PATCH" @@ -19925,7 +20619,7 @@ "name": "put" }, { - "name": "option" + "name": "options" }, { "name": "patch" @@ -20121,7 +20815,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/vue-next/components/upload?tab=api#upload-props", "type": [ "Boolean" @@ -20373,7 +21067,7 @@ }, { "name": "removable", - "description": "水印是否可被删除,默认会开启水印节点防删", + "description": "水印是否可被删除", "doc-url": "https://tdesign.tencent.com/vue-next/components/watermark?tab=api#watermark-props", "type": [ "Boolean" @@ -20447,4 +21141,4 @@ ] } } -} +} \ No newline at end of file diff --git a/src/descriptions/descriptions.en-US.md b/src/descriptions/descriptions.en-US.md index a851826ab7..00d8e99986 100644 --- a/src/descriptions/descriptions.en-US.md +++ b/src/descriptions/descriptions.en-US.md @@ -9,7 +9,7 @@ name | type | default | description | required bordered | Boolean | false | set description list with grey border | N colon | Boolean | - | set label with ":" on the right | N column | Number | 2 | count of DescriptionItem in one row | N -contentStyle | Object | - | style of description cotent。Typescript:`Styles`。[see more ts definition](https://github.com/Tencent/tdesign-vue-next/blob/develop/src/common.ts) | N +contentStyle | Object | - | style of description content。Typescript:`Styles`。[see more ts definition](https://github.com/Tencent/tdesign-vue-next/blob/develop/src/common.ts) | N itemLayout | String | horizontal | layout direction of description item。options: horizontal/vertical | N items | Array | - | list of descriptions items。Typescript:`Array` | N labelStyle | Object | - | style of description item。Typescript:`Styles`。[see more ts definition](https://github.com/Tencent/tdesign-vue-next/blob/develop/src/common.ts) | N