diff --git a/global.d.ts b/global.d.ts
index 1f300659f6..4ff7127d87 100644
--- a/global.d.ts
+++ b/global.d.ts
@@ -1,122 +1,122 @@
+/* eslint-disable */
/**
- * Global Components for Volar
- * https://github.com/johnsoncodehk/volar/issues/418
- * https://github.com/johnsoncodehk/volar/discussions/848
- * put global.d.ts to your project root dir
- */
+ * 该文件为脚本自动生成文件,请勿随意修改。如需修改请联系 PMC
+ * */
declare module '@vue/runtime-core' {
export interface GlobalComponents {
- TButton: typeof import('tdesign-vue-next')['Button'];
- TIcon: typeof import('tdesign-vue-next')['Icon'];
- TLink: typeof import('tdesign-vue-next')['Link'];
- TCol: typeof import('tdesign-vue-next')['Col'];
- TRow: typeof import('tdesign-vue-next')['Row'];
- TLayout: typeof import('tdesign-vue-next')['Layout'];
- TAside: typeof import('tdesign-vue-next')['Aside'];
- THeader: typeof import('tdesign-vue-next')['Header'];
- TFooter: typeof import('tdesign-vue-next')['Footer'];
- TContent: typeof import('tdesign-vue-next')['Content'];
- TDivider: typeof import('tdesign-vue-next')['Divider'];
- TSpace: typeof import('tdesign-vue-next')['Space'];
TAffix: typeof import('tdesign-vue-next')['Affix'];
+ TAlert: typeof import('tdesign-vue-next')['Alert'];
TAnchor: typeof import('tdesign-vue-next')['Anchor'];
TAnchorItem: typeof import('tdesign-vue-next')['AnchorItem'];
TAnchorTarget: typeof import('tdesign-vue-next')['AnchorTarget'];
+ TAside: typeof import('tdesign-vue-next')['Aside'];
+ TAutoComplete: typeof import('tdesign-vue-next')['AutoComplete'];
+ TAvatar: typeof import('tdesign-vue-next')['Avatar'];
+ TAvatarGroup: typeof import('tdesign-vue-next')['AvatarGroup'];
+ TBackTop: typeof import('tdesign-vue-next')['BackTop'];
+ TBadge: typeof import('tdesign-vue-next')['Badge'];
+ TBaseTable: typeof import('tdesign-vue-next')['BaseTable'];
TBreadcrumb: typeof import('tdesign-vue-next')['Breadcrumb'];
TBreadcrumbItem: typeof import('tdesign-vue-next')['BreadcrumbItem'];
- TDropdown: typeof import('tdesign-vue-next')['Dropdown'];
- TDropdownItem: typeof import('tdesign-vue-next')['DropdownItem'];
- TDropdownMenu: typeof import('tdesign-vue-next')['DropdownMenu'];
- TMenu: typeof import('tdesign-vue-next')['Menu'];
- THeadMenu: typeof import('tdesign-vue-next')['HeadMenu'];
- TSubmenu: typeof import('tdesign-vue-next')['Submenu'];
- TMenuItem: typeof import('tdesign-vue-next')['MenuItem'];
- TMenuGroup: typeof import('tdesign-vue-next')['MenuGroup'];
- TPagination: typeof import('tdesign-vue-next')['Pagination'];
- TPaginationMini: typeof import('tdesign-vue-next')['PaginationMini'];
- TSteps: typeof import('tdesign-vue-next')['Steps'];
- TStepItem: typeof import('tdesign-vue-next')['StepItem'];
- TTabs: typeof import('tdesign-vue-next')['Tabs'];
- TTabPanel: typeof import('tdesign-vue-next')['TabPanel'];
- TAutoComplete: typeof import('tdesign-vue-next')['AutoComplete'];
- THighlightOption: typeof import('tdesign-vue-next')['HighlightOption'];
+ TButton: typeof import('tdesign-vue-next')['Button'];
+ TCalendar: typeof import('tdesign-vue-next')['Calendar'];
+ TCard: typeof import('tdesign-vue-next')['Card'];
TCascader: typeof import('tdesign-vue-next')['Cascader'];
- TCascaderPanel: typeof import('tdesign-vue-next')['CascaderPanel'];
+ TCheckTag: typeof import('tdesign-vue-next')['CheckTag'];
+ TCheckTagGroup: typeof import('tdesign-vue-next')['CheckTagGroup'];
TCheckbox: typeof import('tdesign-vue-next')['Checkbox'];
TCheckboxGroup: typeof import('tdesign-vue-next')['CheckboxGroup'];
+ TCol: typeof import('tdesign-vue-next')['Col'];
+ TCollapse: typeof import('tdesign-vue-next')['Collapse'];
+ TCollapsePanel: typeof import('tdesign-vue-next')['CollapsePanel'];
+ TColorPicker: typeof import('tdesign-vue-next')['ColorPicker'];
+ TComment: typeof import('tdesign-vue-next')['Comment'];
TDatePicker: typeof import('tdesign-vue-next')['DatePicker'];
TDatePickerPanel: typeof import('tdesign-vue-next')['DatePickerPanel'];
TDateRangePicker: typeof import('tdesign-vue-next')['DateRangePicker'];
TDateRangePickerPanel: typeof import('tdesign-vue-next')['DateRangePickerPanel'];
+ TDescriptionItem: typeof import('tdesign-vue-next')['DescriptionItem'];
+ TDescriptions: typeof import('tdesign-vue-next')['Descriptions'];
+ TDialog: typeof import('tdesign-vue-next')['Dialog'];
+ TDialogCard: typeof import('tdesign-vue-next')['DialogCard'];
+ TDivider: typeof import('tdesign-vue-next')['Divider'];
+ TDrawer: typeof import('tdesign-vue-next')['Drawer'];
+ TDropdown: typeof import('tdesign-vue-next')['Dropdown'];
+ TDropdownItem: typeof import('tdesign-vue-next')['DropdownItem'];
+ TEmpty: typeof import('tdesign-vue-next')['Empty'];
+ TEnhancedTable: typeof import('tdesign-vue-next')['EnhancedTable'];
+ TFooter: typeof import('tdesign-vue-next')['Footer'];
TForm: typeof import('tdesign-vue-next')['Form'];
TFormItem: typeof import('tdesign-vue-next')['FormItem'];
- TInputAdornment: typeof import('tdesign-vue-next')['InputAdornment'];
+ TGuide: typeof import('tdesign-vue-next')['Guide'];
+ THeadMenu: typeof import('tdesign-vue-next')['HeadMenu'];
+ THeader: typeof import('tdesign-vue-next')['Header'];
+ TIconSVG: typeof import('tdesign-vue-next')['IconSVG'];
+ TIconfont: typeof import('tdesign-vue-next')['Iconfont'];
+ TImage: typeof import('tdesign-vue-next')['Image'];
+ TImageViewer: typeof import('tdesign-vue-next')['ImageViewer'];
TInput: typeof import('tdesign-vue-next')['Input'];
+ TInputAdornment: typeof import('tdesign-vue-next')['InputAdornment'];
TInputGroup: typeof import('tdesign-vue-next')['InputGroup'];
TInputNumber: typeof import('tdesign-vue-next')['InputNumber'];
+ TLayout: typeof import('tdesign-vue-next')['Layout'];
+ TLink: typeof import('tdesign-vue-next')['Link'];
+ TList: typeof import('tdesign-vue-next')['List'];
+ TListItem: typeof import('tdesign-vue-next')['ListItem'];
+ TListItemMeta: typeof import('tdesign-vue-next')['ListItemMeta'];
+ TLoading: typeof import('tdesign-vue-next')['Loading'];
+ TMenu: typeof import('tdesign-vue-next')['Menu'];
+ TMenuGroup: typeof import('tdesign-vue-next')['MenuGroup'];
+ TMenuItem: typeof import('tdesign-vue-next')['MenuItem'];
+ TMessage: typeof import('tdesign-vue-next')['Message'];
+ TNotification: typeof import('tdesign-vue-next')['Notification'];
+ TOption: typeof import('tdesign-vue-next')['Option'];
+ TOptionGroup: typeof import('tdesign-vue-next')['OptionGroup'];
+ TPagination: typeof import('tdesign-vue-next')['Pagination'];
+ TPaginationMini: typeof import('tdesign-vue-next')['PaginationMini'];
+ TParagraph: typeof import('tdesign-vue-next')['Paragraph'];
+ TPopconfirm: typeof import('tdesign-vue-next')['Popconfirm'];
+ TPopup: typeof import('tdesign-vue-next')['Popup'];
+ TPrimaryTable: typeof import('tdesign-vue-next')['PrimaryTable'];
+ TProgress: typeof import('tdesign-vue-next')['Progress'];
TRadio: typeof import('tdesign-vue-next')['Radio'];
TRadioGroup: typeof import('tdesign-vue-next')['RadioGroup'];
- TRadioButton: typeof import('tdesign-vue-next')['RadioButton'];
+ TRangeInput: typeof import('tdesign-vue-next')['RangeInput'];
+ TRangeInputPopup: typeof import('tdesign-vue-next')['RangeInputPopup'];
+ TRate: typeof import('tdesign-vue-next')['Rate'];
+ TRow: typeof import('tdesign-vue-next')['Row'];
+ TSearch: typeof import('tdesign-vue-next')['Search'];
TSelect: typeof import('tdesign-vue-next')['Select'];
- TOption: typeof import('tdesign-vue-next')['Option'];
- TOptionGroup: typeof import('tdesign-vue-next')['OptionGroup'];
+ TSelectInput: typeof import('tdesign-vue-next')['SelectInput'];
+ TSkeleton: typeof import('tdesign-vue-next')['Skeleton'];
TSlider: typeof import('tdesign-vue-next')['Slider'];
- TSliderButton: typeof import('tdesign-vue-next')['SliderButton'];
+ TSpace: typeof import('tdesign-vue-next')['Space'];
+ TStatistic: typeof import('tdesign-vue-next')['Statistic'];
+ TStepItem: typeof import('tdesign-vue-next')['StepItem'];
+ TSteps: typeof import('tdesign-vue-next')['Steps'];
+ TStickyItem: typeof import('tdesign-vue-next')['StickyItem'];
+ TStickyTool: typeof import('tdesign-vue-next')['StickyTool'];
+ TSubmenu: typeof import('tdesign-vue-next')['Submenu'];
+ TSwiper: typeof import('tdesign-vue-next')['Swiper'];
TSwitch: typeof import('tdesign-vue-next')['Switch'];
+ TTabPanel: typeof import('tdesign-vue-next')['TabPanel'];
+ TTabs: typeof import('tdesign-vue-next')['Tabs'];
+ TTag: typeof import('tdesign-vue-next')['Tag'];
TTagInput: typeof import('tdesign-vue-next')['TagInput'];
- TSelectInput: typeof import('tdesign-vue-next')['SelectInput'];
+ TText: typeof import('tdesign-vue-next')['Text'];
TTextarea: typeof import('tdesign-vue-next')['Textarea'];
- TTransfer: typeof import('tdesign-vue-next')['Transfer'];
TTimePicker: typeof import('tdesign-vue-next')['TimePicker'];
TTimeRangePicker: typeof import('tdesign-vue-next')['TimeRangePicker'];
- TTimePickerPanel: typeof import('tdesign-vue-next')['TimePickerPanel'];
- TTreeSelect: typeof import('tdesign-vue-next')['TreeSelect'];
- TColorPicker: typeof import('tdesign-vue-next')['ColorPicker'];
- TColorPickerPanel: typeof import('tdesign-vue-next')['ColorPickerPanel'];
- TRangeInput: typeof import('tdesign-vue-next')['RangeInput'];
- TRangeInputPopup: typeof import('tdesign-vue-next')['RangeInputPopup'];
- TAvatar: typeof import('tdesign-vue-next')['Avatar'];
- TAvatarGroup: typeof import('tdesign-vue-next')['AvatarGroup'];
- TBadge: typeof import('tdesign-vue-next')['Badge'];
- TCalendar: typeof import('tdesign-vue-next')['Calendar'];
- TCard: typeof import('tdesign-vue-next')['Card'];
- TComment: typeof import('tdesign-vue-next')['Comment'];
- TImage: typeof import('tdesign-vue-next')['Image'];
- TImageViewer: typeof import('tdesign-vue-next')['ImageViewer'];
- TList: typeof import('tdesign-vue-next')['List'];
- TListItem: typeof import('tdesign-vue-next')['ListItem'];
- TListItemMeta: typeof import('tdesign-vue-next')['ListItemMeta'];
- TProgress: typeof import('tdesign-vue-next')['Progress'];
- TSkeleton: typeof import('tdesign-vue-next')['Skeleton'];
- TSwiper: typeof import('tdesign-vue-next')['Swiper'];
- TSwiperItem: typeof import('tdesign-vue-next')['SwiperItem'];
- TTable: typeof import('tdesign-vue-next')['Table'];
- TBaseTable: typeof import('tdesign-vue-next')['BaseTable'];
- TPrimaryTable: typeof import('tdesign-vue-next')['PrimaryTable'];
- TEnhancedTable: typeof import('tdesign-vue-next')['EnhancedTable'];
- TTag: typeof import('tdesign-vue-next')['Tag'];
- TCheckTag: typeof import('tdesign-vue-next')['CheckTag'];
TTimeline: typeof import('tdesign-vue-next')['Timeline'];
TTimelineItem: typeof import('tdesign-vue-next')['TimelineItem'];
+ TTitle: typeof import('tdesign-vue-next')['Title'];
TTooltip: typeof import('tdesign-vue-next')['Tooltip'];
+ TTooltipLite: typeof import('tdesign-vue-next')['TooltipLite'];
+ TTransfer: typeof import('tdesign-vue-next')['Transfer'];
TTree: typeof import('tdesign-vue-next')['Tree'];
- TCollapse: typeof import('tdesign-vue-next')['Collapse'];
- TCollapsePanel: typeof import('tdesign-vue-next')['CollapsePanel'];
- TWatermark: typeof import('tdesign-vue-next')['Watermark'];
- TRate: typeof import('tdesign-vue-next')['Rate'];
- TAlert: typeof import('tdesign-vue-next')['Alert'];
- TDialog: typeof import('tdesign-vue-next')['Dialog'];
- TDrawer: typeof import('tdesign-vue-next')['Drawer'];
- TGuide: typeof import('tdesign-vue-next')['Guide'];
- TLoading: typeof import('tdesign-vue-next')['Loading'];
- TMessage: typeof import('tdesign-vue-next')['Message'];
- TNotification: typeof import('tdesign-vue-next')['Notification'];
- TPopconfirm: typeof import('tdesign-vue-next')['Popconfirm'];
- TPopup: typeof import('tdesign-vue-next')['Popup'];
+ TTreeSelect: typeof import('tdesign-vue-next')['TreeSelect'];
TUpload: typeof import('tdesign-vue-next')['Upload'];
- TConfigProvider: typeof import('tdesign-vue-next')['ConfigProvider'];
- TStatistic: typeof import('tdesign-vue-next')['Statistic'];
- TDescriptions: typeof import('tdesign-vue-next')['Descriptions'];
+ TWatermark: typeof import('tdesign-vue-next')['Watermark'];
}
}
diff --git a/helper/attributes.json b/helper/attributes.json
index e51dd5f3e3..d223f72352 100644
--- a/helper/attributes.json
+++ b/helper/attributes.json
@@ -13,11 +13,11 @@
},
"t-affix/offset-bottom": {
"type": "Number",
- "description": " 距离容器顶部达到指定距离后触发固定\n\ndefault: 0\n\n[docs](https://tdesign.tencent.com/vue-next/components/affix?tab=api#affix-props)"
+ "description": "When the distance from the bottom of the container reaches the specified distance, the trigger is fixed\n\n 距离容器底部达到指定距离后触发固定\n\ndefault: 0\n\n[docs](https://tdesign.tencent.com/vue-next/components/affix?tab=api#affix-props)"
},
"t-affix/offset-top": {
"type": "Number",
- "description": " 距离容器底部达到指定距离后触发固定\n\ndefault: 0\n\n[docs](https://tdesign.tencent.com/vue-next/components/affix?tab=api#affix-props)"
+ "description": "When the distance from the top of the container reaches the specified distance, the trigger is fixed\n\n 距离容器顶部达到指定距离后触发固定\n\ndefault: 0\n\n[docs](https://tdesign.tencent.com/vue-next/components/affix?tab=api#affix-props)"
},
"t-affix/z-index": {
"type": "Number",
@@ -85,6 +85,10 @@
"type": "TNode",
"description": "用于自定义选中项左侧游标\n\n[docs](https://tdesign.tencent.com/vue-next/components/anchor?tab=api#anchor-props)"
},
+ "t-anchor/get-current-anchor": {
+ "type": "Function",
+ "description": "Custom Highlighted Anchor Points\n\n自定义高亮的锚点\t\n\n[docs](https://tdesign.tencent.com/vue-next/components/anchor?tab=api#anchor-props)"
+ },
"t-anchor/size": {
"type": "String",
"options": [
@@ -432,6 +436,22 @@
],
"description": "尺寸\n\ndefault: medium\n\n[docs](https://tdesign.tencent.com/vue-next/components/badge?tab=api#badge-props)"
},
+ "t-base-table/active-row-keys": {
+ "type": "Array",
+ "description": "keys of highlight rows, used to mock area selection behavior, just like macOS or windows area selection\n\n高亮行,支持鼠标键盘操作(Shift)连续高亮行,可用于处理行选中等批量操作,模拟操作系统区域选择行为\n\ndefault: []\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props)"
+ },
+ "t-table/active-row-keys": {
+ "type": "Array",
+ "description": "keys of highlight rows, used to mock area selection behavior, just like macOS or windows area selection\n\n高亮行,支持鼠标键盘操作(Shift)连续高亮行,可用于处理行选中等批量操作,模拟操作系统区域选择行为\n\ndefault: []\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props)"
+ },
+ "t-base-table/active-row-type": {
+ "type": "String",
+ "description": "make nodes can be highlight on clicked\n\n默认不会高亮点击行,`activeRowType=single` 表示鼠标点击仅允许同时高亮一行,Shift 键盘操作加鼠标操作依然可以高亮多行,因为这属于明显的区域选择行为。`activeRowType= multiple ` 表示允许鼠标点击同时高亮多行\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props)"
+ },
+ "t-table/active-row-type": {
+ "type": "String",
+ "description": "make nodes can be highlight on clicked\n\n默认不会高亮点击行,`activeRowType=single` 表示鼠标点击仅允许同时高亮一行,Shift 键盘操作加鼠标操作依然可以高亮多行,因为这属于明显的区域选择行为。`activeRowType= multiple ` 表示允许鼠标点击同时高亮多行\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props)"
+ },
"t-base-table/allow-resize-column-width": {
"type": "Boolean",
"description": "allow to resize column width\n\n是否允许调整列宽。请更为使用 `resizable`\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props)"
@@ -496,6 +516,14 @@
"type": "Boolean",
"description": "是否禁用本地数据分页。当 `data` 数据长度超过分页大小时,会自动进行本地数据分页。如果 `disableDataPage` 设置为 true,则无论何时,都不会进行本地数据分页\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props)"
},
+ "t-base-table/disable-space-inactive-row": {
+ "type": "Boolean",
+ "description": "can not set row to be inactive with Space keydown\n\n默认重复按下 Space 键可取消当前行高亮,是否禁用取消\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props)"
+ },
+ "t-table/disable-space-inactive-row": {
+ "type": "Boolean",
+ "description": "can not set row to be inactive with Space keydown\n\n默认重复按下 Space 键可取消当前行高亮,是否禁用取消\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props)"
+ },
"t-base-table/empty": {
"type": "String|TNode",
"description": "empty text or empty element\n\n空表格呈现样式,支持全局配置 `GlobalConfigProvider`\n\ndefault: ''\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props)"
@@ -592,6 +620,14 @@
"type": "Boolean",
"description": "show hover style\n\n是否显示鼠标悬浮状态\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props)"
},
+ "t-base-table/keyboard-row-hover": {
+ "type": "Boolean",
+ "description": "make table row to be hover by keydown ArrowUp/ArrowDown\n\n键盘操作行显示悬浮效果,一般用于键盘操作行选中、行展开、行高亮等功能\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props)"
+ },
+ "t-table/keyboard-row-hover": {
+ "type": "Boolean",
+ "description": "make table row to be hover by keydown ArrowUp/ArrowDown\n\n键盘操作行显示悬浮效果,一般用于键盘操作行选中、行展开、行高亮等功能\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props)"
+ },
"t-base-table/last-full-row": {
"type": "String|TNode",
"description": "尾行内容,横跨所有列\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props)"
@@ -600,6 +636,14 @@
"type": "String|TNode",
"description": "尾行内容,横跨所有列\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props)"
},
+ "t-base-table/lazy-load": {
+ "type": "Boolean",
+ "description": "load table content when it entering the visible area, all elements in table are not rendered before it become visible\n\n是否启用整个表格元素的懒加载,当页面滚动到可视区域后再渲染表格。注意和表格内部行滚动懒加载的区别,内部行滚动无论表格是否在可视区域都会默认渲染第一屏的行元素\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props)"
+ },
+ "t-table/lazy-load": {
+ "type": "Boolean",
+ "description": "load table content when it entering the visible area, all elements in table are not rendered before it become visible\n\n是否启用整个表格元素的懒加载,当页面滚动到可视区域后再渲染表格。注意和表格内部行滚动懒加载的区别,内部行滚动无论表格是否在可视区域都会默认渲染第一屏的行元素\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props)"
+ },
"t-base-table/loading": {
"type": "Boolean|TNode",
"description": "loading state table\n\n加载中状态。值为 `true` 会显示默认加载中样式,可以通过 Function 和 插槽 自定义加载状态呈现内容和样式。值为 `false` 则会取消加载状态\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props)"
@@ -616,6 +660,14 @@
"type": "Object",
"description": "透传加载组件全部属性\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props)"
},
+ "t-base-table/locale": {
+ "type": "Object",
+ "description": "table locale config\n\n语言配置\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props)"
+ },
+ "t-table/locale": {
+ "type": "Object",
+ "description": "table locale config\n\n语言配置\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props)"
+ },
"t-base-table/max-height": {
"type": "String|Number",
"description": "table max height\n\n表格最大高度,超出后会出现滚动条。示例:100, '30%', '300'。值为数字类型,会自动加上单位 px\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props)"
@@ -642,11 +694,11 @@
},
"t-base-table/resizable": {
"type": "Boolean",
- "description": "allow to resize column width\n\n是否允许调整列宽。如果想要配置宽度可调整的最小值和最大值,请使用 `column.resize`,示例:`columns: [{ resize: { minWidth: 120, maxWidth: 300 } }]`。
默认规则:因列宽超出存在横向滚动条时,列宽调整仅影响当前列宽和总列宽;表格列较少没有横向滚动条时,列宽调整表现为自身宽度和相邻宽度变化\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props)"
+ "description": "allow to resize column width, set `tableLayout=fixed` would be better\n\n是否允许调整列宽,设置 `tableLayout=fixed` 效果更友好,此时不允许通过 CSS 设置 `table`元素宽度,也不允许设置 `tableContentWidth`。一般不建议在列宽调整场景使用 `tableLayout: auto`。如果想要配置宽度可调整的最小值和最大值,请使用 `column.resize`,示例:`columns: [{ resize: { minWidth: 120, maxWidth: 300 } }]`。
默认规则:因列宽超出存在横向滚动条时,列宽调整仅影响当前列宽和总列宽;表格列较少没有横向滚动条时,列宽调整表现为自身宽度和相邻宽度变化\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props)"
},
"t-table/resizable": {
"type": "Boolean",
- "description": "allow to resize column width\n\n是否允许调整列宽。如果想要配置宽度可调整的最小值和最大值,请使用 `column.resize`,示例:`columns: [{ resize: { minWidth: 120, maxWidth: 300 } }]`。
默认规则:因列宽超出存在横向滚动条时,列宽调整仅影响当前列宽和总列宽;表格列较少没有横向滚动条时,列宽调整表现为自身宽度和相邻宽度变化\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props)"
+ "description": "allow to resize column width, set `tableLayout=fixed` would be better\n\n是否允许调整列宽,设置 `tableLayout=fixed` 效果更友好,此时不允许通过 CSS 设置 `table`元素宽度,也不允许设置 `tableContentWidth`。一般不建议在列宽调整场景使用 `tableLayout: auto`。如果想要配置宽度可调整的最小值和最大值,请使用 `column.resize`,示例:`columns: [{ resize: { minWidth: 120, maxWidth: 300 } }]`。
默认规则:因列宽超出存在横向滚动条时,列宽调整仅影响当前列宽和总列宽;表格列较少没有横向滚动条时,列宽调整表现为自身宽度和相邻宽度变化\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props)"
},
"t-base-table/row-attributes": {
"type": "Object|Array|Function",
@@ -744,7 +796,7 @@
"auto",
"fixed"
],
- "description": "table-layout css properties\n\n表格布局方式\n\ndefault: fixed\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props)"
+ "description": "table-layout css properties, [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout). set value to be `fixed` on `resizable=true` please\n\n表格布局方式,`
` 元素原生属性。[MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout)。注意,在列宽调整下场景只能使用 `fixed` 模式\n\ndefault: fixed\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props)"
},
"t-table/table-layout": {
"type": "String",
@@ -752,7 +804,7 @@
"auto",
"fixed"
],
- "description": "table-layout css properties\n\n表格布局方式\n\ndefault: fixed\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props)"
+ "description": "table-layout css properties, [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout). set value to be `fixed` on `resizable=true` please\n\n表格布局方式,`` 元素原生属性。[MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout)。注意,在列宽调整下场景只能使用 `fixed` 模式\n\ndefault: fixed\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props)"
},
"t-base-table/top-content": {
"type": "String|TNode",
@@ -780,6 +832,22 @@
],
"description": "vertical align\n\n行内容上下方向对齐\n\ndefault: middle\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props)"
},
+ "t-base-table/active-change": {
+ "type": "event",
+ "description": "trigger on row active change\n\n高亮行发生变化时触发,泛型 T 指表格数据类型。参数 `activeRowList` 表示所有高亮行数据, `currentRowData` 表示当前操作行数据\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-events)"
+ },
+ "t-table/active-change": {
+ "type": "event",
+ "description": "trigger on row active change\n\n高亮行发生变化时触发,泛型 T 指表格数据类型。参数 `activeRowList` 表示所有高亮行数据, `currentRowData` 表示当前操作行数据\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-events)"
+ },
+ "t-base-table/active-row-action": {
+ "type": "event",
+ "description": "keyboard operation event actions. used to mock selection behavior, just like macOS or windows\n\n键盘操作事件。开启行高亮功能后,会自动开启键盘操作功能,如:通过键盘(Shift)或鼠标操作连续选中高亮行时触发,一般用于处理行选中等批量操作,模拟操作系统区域选择行为\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-events)"
+ },
+ "t-table/active-row-action": {
+ "type": "event",
+ "description": "keyboard operation event actions. used to mock selection behavior, just like macOS or windows\n\n键盘操作事件。开启行高亮功能后,会自动开启键盘操作功能,如:通过键盘(Shift)或鼠标操作连续选中高亮行时触发,一般用于处理行选中等批量操作,模拟操作系统区域选择行为\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-events)"
+ },
"t-base-table/cell-click": {
"type": "event",
"description": "trigger on cell clicked\n\n单元格点击时触发\n\n[docs](https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-events)"
@@ -1191,7 +1259,11 @@
},
"t-card/loading": {
"type": "Boolean|TNode",
- "description": "加载状态,值为 true 会根据不同的布局显示不同的加载状态,值为 false 则表示非加载状态。也可以使用 Sketon 组件完全自定义加载态呈现内容\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/card?tab=api#card-props)"
+ "description": "加载状态,值为 true 会根据不同的布局显示不同的加载状态,值为 false 则表示非加载状态。也可以使用 Skeleton 组件完全自定义加载态呈现内容\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/card?tab=api#card-props)"
+ },
+ "t-card/loading-props": {
+ "type": "Object",
+ "description": "Loading Component Props\n\n透传加载组件(Loading)全部属性\n\n[docs](https://tdesign.tencent.com/vue-next/components/card?tab=api#card-props)"
},
"t-card/shadow": {
"type": "Boolean",
@@ -1230,6 +1302,10 @@
"type": "Boolean",
"description": "自动聚焦\n\n[docs](https://tdesign.tencent.com/vue-next/components/cascader?tab=api#cascader-props)"
},
+ "t-cascader/borderless": {
+ "type": "Boolean",
+ "description": "无边框模式\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/cascader?tab=api#cascader-props)"
+ },
"t-cascader/check-props": {
"type": "Object",
"description": "参考 checkbox 组件 API\n\n[docs](https://tdesign.tencent.com/vue-next/components/cascader?tab=api#cascader-props)"
@@ -1268,7 +1344,7 @@
},
"t-cascader/keys": {
"type": "Object",
- "description": "用来定义 value / label / children 在 `options` 中对应的字段别名\n\n[docs](https://tdesign.tencent.com/vue-next/components/cascader?tab=api#cascader-props)"
+ "description": "用来定义 value / label / children / disabled 在 `options` 中对应的字段别名\n\n[docs](https://tdesign.tencent.com/vue-next/components/cascader?tab=api#cascader-props)"
},
"t-cascader/label": {
"type": "String|TNode",
@@ -1322,6 +1398,10 @@
"type": "Boolean",
"description": "是否显示下拉框\n\n[docs](https://tdesign.tencent.com/vue-next/components/cascader?tab=api#cascader-props)"
},
+ "t-cascader/prefix-icon": {
+ "type": "TNode",
+ "description": "组件前置图标\n\n[docs](https://tdesign.tencent.com/vue-next/components/cascader?tab=api#cascader-props)"
+ },
"t-cascader/readonly": {
"type": "Boolean",
"description": "只读状态,值为真会隐藏输入框,且无法打开下拉框\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/cascader?tab=api#cascader-props)"
@@ -1391,7 +1471,7 @@
},
"t-cascader/value-display": {
"type": "String|TNode",
- "description": "`MouseEvent`\n\n【开发中】自定义选中项呈现的内容\n\n[docs](https://tdesign.tencent.com/vue-next/components/cascader?tab=api#cascader-props)"
+ "description": "`MouseEvent`\n\n自定义选中项呈现的内容\n\n[docs](https://tdesign.tencent.com/vue-next/components/cascader?tab=api#cascader-props)"
},
"t-cascader/value-mode": {
"type": "String",
@@ -1434,6 +1514,10 @@
"type": "Boolean",
"description": "标签选中的状态,默认风格(theme=default)才有选中态\n\n[docs](https://tdesign.tencent.com/vue-next/components/check-tag?tab=api#checktag-props)"
},
+ "t-check-tag/checked-props": {
+ "type": "Object",
+ "description": "used to set checked tag props\n\n透传标签选中态属性\n\n[docs](https://tdesign.tencent.com/vue-next/components/check-tag?tab=api#checktag-props)"
+ },
"t-check-tag/content": {
"type": "String|Number|Array|TNode",
"description": "组件子元素;传入数组时:[选中内容,非选中内容]\n\n[docs](https://tdesign.tencent.com/vue-next/components/check-tag?tab=api#checktag-props)"
@@ -1455,6 +1539,14 @@
],
"description": "标签尺寸\n\ndefault: medium\n\n[docs](https://tdesign.tencent.com/vue-next/components/check-tag?tab=api#checktag-props)"
},
+ "t-check-tag/unchecked-props": {
+ "type": "Object",
+ "description": "used to set unchecked tag props\n\n透传标签未选态属性\n\n[docs](https://tdesign.tencent.com/vue-next/components/check-tag?tab=api#checktag-props)"
+ },
+ "t-check-tag/value": {
+ "type": "String|Number",
+ "description": "tag unique key\n\n标签唯一标识,一般用于标签组场景,单个可选择标签无需设置\n\n[docs](https://tdesign.tencent.com/vue-next/components/check-tag?tab=api#checktag-props)"
+ },
"t-check-tag/change": {
"type": "event",
"description": "状态切换时触发\n\n[docs](https://tdesign.tencent.com/vue-next/components/check-tag?tab=api#checktag-events)"
@@ -1463,6 +1555,30 @@
"type": "event",
"description": "点击标签时触发\n\n[docs](https://tdesign.tencent.com/vue-next/components/check-tag?tab=api#checktag-events)"
},
+ "t-check-tag-group/checked-props": {
+ "type": "Object",
+ "description": "used to set checked tag props\n\n透传标签选中态属性\n\n[docs](https://tdesign.tencent.com/vue-next/components/check-tag-group?tab=api#checktaggroup-props)"
+ },
+ "t-check-tag-group/multiple": {
+ "type": "Boolean",
+ "description": "allow to select multiple tags\n\n是否支持选中多个标签\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/check-tag-group?tab=api#checktaggroup-props)"
+ },
+ "t-check-tag-group/options": {
+ "type": "Array",
+ "description": "tag list\n\n标签选项列表\n\n[docs](https://tdesign.tencent.com/vue-next/components/check-tag-group?tab=api#checktaggroup-props)"
+ },
+ "t-check-tag-group/unchecked-props": {
+ "type": "Object",
+ "description": "used to set unchecked tag props\n\n透传标签未选态属性\n\n[docs](https://tdesign.tencent.com/vue-next/components/check-tag-group?tab=api#checktaggroup-props)"
+ },
+ "t-check-tag-group/value": {
+ "type": "Array",
+ "description": "selected tag value list\n\n选中标签值\n\ndefault: []\n\n[docs](https://tdesign.tencent.com/vue-next/components/check-tag-group?tab=api#checktaggroup-props)"
+ },
+ "t-check-tag-group/change": {
+ "type": "event",
+ "description": "\n\n[docs](https://tdesign.tencent.com/vue-next/components/check-tag-group?tab=api#checktaggroup-events)"
+ },
"t-checkbox/check-all": {
"type": "Boolean",
"description": "用于标识是否为「全选选项」。单独使用无效,需在 CheckboxGroup 中使用\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/checkbox?tab=api#checkbox-props)"
@@ -1487,6 +1603,10 @@
"type": "String|TNode",
"description": "主文案\n\n[docs](https://tdesign.tencent.com/vue-next/components/checkbox?tab=api#checkbox-props)"
},
+ "t-checkbox/lazy-load": {
+ "type": "Boolean",
+ "description": "load checkbox content when it entering the visible area\n\n是否启用懒加载。数据量大时建议开启;加载复杂内容或大量图片时建议开启\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/checkbox?tab=api#checkbox-props)"
+ },
"t-checkbox/name": {
"type": "String",
"description": "HTML 元素原生属性\n\n[docs](https://tdesign.tencent.com/vue-next/components/checkbox?tab=api#checkbox-props)"
@@ -1503,9 +1623,13 @@
"type": "event",
"description": "值变化时触发\n\n[docs](https://tdesign.tencent.com/vue-next/components/checkbox?tab=api#checkbox-events)"
},
- "t-checkbox/click": {
- "type": "event",
- "description": "trigger on click\n\n点击时出发,一般用于外层阻止冒泡场景\n\n[docs](https://tdesign.tencent.com/vue-next/components/checkbox?tab=api#checkbox-events)"
+ "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)"
+ },
+ "t-checkbox-group/lazy-load": {
+ "type": "Boolean",
+ "description": "load checkbox content when it entering the visible area\n\n是否启用懒加载。子组件 Checkbox 数据量大时建议开启;加载复杂内容或大量图片时建议开启\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/checkbox-group?tab=api#checkboxgroup-props)"
},
"t-checkbox-group/max": {
"type": "Number",
@@ -1581,7 +1705,7 @@
},
"t-collapse/borderless": {
"type": "Boolean",
- "description": "是否为无边框模式\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/collapse?tab=api#collapse-props)"
+ "description": "无边框模式\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/collapse?tab=api#collapse-props)"
},
"t-collapse/default-expand-all": {
"type": "Boolean",
@@ -1948,6 +2072,10 @@
"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)"
+ },
"t-date-range-picker/clearable": {
"type": "Boolean",
"description": "是否显示清除按钮\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/date-range-picker?tab=api#daterangepicker-props)"
@@ -2148,14 +2276,40 @@
"type": "event",
"description": "年份切换发生变化时触发\n\n[docs](https://tdesign.tencent.com/vue-next/components/date-range-picker-panel?tab=api#daterangepickerpanel-events)"
},
+ "t-description-item/align": {
+ "type": "String",
+ "options": [
+ "top",
+ "middle",
+ "bottom"
+ ],
+ "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-description-item/content": {
+ "type": "String|TNode",
+ "description": "content of description item\n\n描述项内容\n\n[docs](https://tdesign.tencent.com/vue-next/components/description-item?tab=api#descriptionitem-props)"
+ },
+ "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/description-item?tab=api#descriptionitem-props)"
+ },
"t-description-item/label": {
"type": "String|TNode",
- "description": "label of description item\n\n描述项字段名\n\n[docs](https://tdesign.tencent.com/vue-next/components/description-item?tab=api#descriptionitem-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-description-item/span": {
"type": "Number",
"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",
+ "options": [
+ "top",
+ "middle",
+ "bottom"
+ ],
+ "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",
"description": "set description list with grey border\n\n是否带边框\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/descriptions?tab=api#descriptions-props)"
@@ -2164,26 +2318,29 @@
"type": "Boolean",
"description": "set label with \":\" on the right\n\n字段名右侧是否携带冒号“:”\n\n[docs](https://tdesign.tencent.com/vue-next/components/descriptions?tab=api#descriptions-props)"
},
- "t-descriptions/columns": {
+ "t-descriptions/column": {
"type": "Number",
- "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)"
+ "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-align": {
- "type": "String",
- "options": [
- "left",
- "center"
- ],
- "description": "字段值内容的对齐方式:左对齐、居中对齐\n\ndefault: left\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)"
},
- "t-descriptions/label-align": {
+ "t-descriptions/item-layout": {
"type": "String",
"options": [
- "left",
- "right",
- "top"
+ "horizontal",
+ "vertical"
],
- "description": "字段标签对齐方式:左对齐、右对齐、顶部对齐\n\ndefault: right\n\n[docs](https://tdesign.tencent.com/vue-next/components/descriptions?tab=api#descriptions-props)"
+ "description": "layout direction of description item\n\n描述项的排列方向\n\ndefault: horizontal\n\n[docs](https://tdesign.tencent.com/vue-next/components/descriptions?tab=api#descriptions-props)"
+ },
+ "t-descriptions/items": {
+ "type": "Array",
+ "description": "list of descriptions items\n\n描述项的列表\n\n[docs](https://tdesign.tencent.com/vue-next/components/descriptions?tab=api#descriptions-props)"
+ },
+ "t-descriptions/label-style": {
+ "type": "Object",
+ "description": "style of description item\n\n自定义描述项标签的样式\n\n[docs](https://tdesign.tencent.com/vue-next/components/descriptions?tab=api#descriptions-props)"
},
"t-descriptions/layout": {
"type": "String",
@@ -2202,6 +2359,10 @@
],
"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/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)"
+ },
"t-dialog/attach": {
"type": "String|Function",
"description": "对话框挂载的节点。数据类型为 String 时,会被当作选择器处理,进行节点查询。示例:'body' 或 () => document.body\n\n[docs](https://tdesign.tencent.com/vue-next/components/dialog?tab=api#dialog-props)"
@@ -2220,7 +2381,7 @@
},
"t-dialog/close-on-esc-keydown": {
"type": "Boolean",
- "description": "按下 ESC 时是否触发对话框关闭事件\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/dialog?tab=api#dialog-props)"
+ "description": "trigger dialog close event on `ESC` keydown\n\n按下 ESC 时是否触发对话框关闭事件\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/dialog?tab=api#dialog-props)"
},
"t-dialog/close-on-overlay-click": {
"type": "Boolean",
@@ -2230,6 +2391,10 @@
"type": "String|Object|TNode",
"description": "确认按钮。值为 null 则不显示确认按钮。值类型为字符串,则表示自定义按钮文本,值类型为 Object 则表示透传 Button 组件属性。使用 TNode 自定义按钮时,需自行控制确认事件\n\n[docs](https://tdesign.tencent.com/vue-next/components/dialog?tab=api#dialog-props)"
},
+ "t-dialog/confirm-loading": {
+ "type": "Boolean",
+ "description": "confirm button loading status\n\n确认按钮加载状态\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/dialog?tab=api#dialog-props)"
+ },
"t-dialog/confirm-on-enter": {
"type": "Boolean",
"description": "confirm on enter\n\n是否在按下回车键时,触发确认事件\n\n[docs](https://tdesign.tencent.com/vue-next/components/dialog?tab=api#dialog-props)"
@@ -2397,7 +2562,7 @@
},
"t-drawer/close-on-esc-keydown": {
"type": "Boolean",
- "description": "按下 ESC 时是否触发抽屉关闭事件\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/drawer?tab=api#drawer-props)"
+ "description": "trigger drawer close event on `ESC` keydown\n\n按下 ESC 时是否触发抽屉关闭事件\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/drawer?tab=api#drawer-props)"
},
"t-drawer/close-on-overlay-click": {
"type": "Boolean",
@@ -2525,6 +2690,14 @@
"type": "Array",
"description": "下拉操作项\n\ndefault: []\n\n[docs](https://tdesign.tencent.com/vue-next/components/dropdown?tab=api#dropdown-props)"
},
+ "t-dropdown/panel-bottom-content": {
+ "type": "String|TNode",
+ "description": "bottom content of the dropdown panel\n\n面板内的底部内容\n\n[docs](https://tdesign.tencent.com/vue-next/components/dropdown?tab=api#dropdown-props)"
+ },
+ "t-dropdown/panel-top-content": {
+ "type": "String|TNode",
+ "description": "top content of the dropdown panel\n\n面板内的顶部内容\n\n[docs](https://tdesign.tencent.com/vue-next/components/dropdown?tab=api#dropdown-props)"
+ },
"t-dropdown/placement": {
"type": "String",
"options": [
@@ -2599,10 +2772,45 @@
"type": "event",
"description": "点击时触发\n\n[docs](https://tdesign.tencent.com/vue-next/components/dropdown-item?tab=api#dropdownitem-events)"
},
+ "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)"
+ },
+ "t-empty/description": {
+ "type": "String|TNode",
+ "description": "empty component description\n\n描述文字\n\n[docs](https://tdesign.tencent.com/vue-next/components/empty?tab=api#empty-props)"
+ },
+ "t-empty/image": {
+ "type": "String|TNode",
+ "description": "image url, or Image component props, or custom any node you need.\n\n组件图片,可以完全自定义内容。值类型为字符串时,表示图片地址;值类型为对象时,则表示透传全部属性到图片组件,示例:``\n\n[docs](https://tdesign.tencent.com/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/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)"
+ },
+ "t-empty/type": {
+ "type": "String",
+ "options": [
+ "empty",
+ "success",
+ "fail",
+ "network-error",
+ "maintenance"
+ ],
+ "description": "Empty component type\n\n组件类型,如:空数据/成功/失败/网络错误/建设中\n\ndefault: empty\n\n[docs](https://tdesign.tencent.com/vue-next/components/empty?tab=api#empty-props)"
+ },
"t-enhanced-table/before-drag-sort": {
"type": "Function",
"description": "stop to drag sort\n\n树形结构中,拖拽排序前控制,返回值为 `true` 则继续排序;返回值为 `false` 则中止排序还原数据\n\n[docs](https://tdesign.tencent.com/vue-next/components/enhanced-table?tab=api#enhancedtable-props)"
},
+ "t-enhanced-table/expanded-tree-nodes": {
+ "type": "Array",
+ "description": "expanded tree node row keys, row key value is from data[rowKey]\n\n展开的树形节点。非必须。在需要自由控制展开的树形节点时使用。其他场景无需设置,表格组件有内置展开逻辑\n\ndefault: []\n\n[docs](https://tdesign.tencent.com/vue-next/components/enhanced-table?tab=api#enhancedtable-props)"
+ },
"t-enhanced-table/tree": {
"type": "Object",
"description": "tree data configs\n\n树形结构相关配置。具体属性文档查看 `TableTreeConfig` 相关描述\n\n[docs](https://tdesign.tencent.com/vue-next/components/enhanced-table?tab=api#enhancedtable-props)"
@@ -2615,9 +2823,13 @@
"type": "event",
"description": "异常拖拽排序时触发,如:树形结构中,非同层级之间的交换。`context.code` 指交换异常错误码,固定值;`context.reason` 指交换异常的原因\n\n[docs](https://tdesign.tencent.com/vue-next/components/enhanced-table?tab=api#enhancedtable-events)"
},
+ "t-enhanced-table/expanded-tree-nodes-change": {
+ "type": "event",
+ "description": "trigger on tree node expanded or folded\n\n树形结构,展开的树节点发生变化时触发,泛型 T 指表格数据类型\n\n[docs](https://tdesign.tencent.com/vue-next/components/enhanced-table?tab=api#enhancedtable-events)"
+ },
"t-enhanced-table/tree-expand-change": {
"type": "event",
- "description": "树形结构,用户操作引起节点展开或收起时触发,代码操作不会触发\n\n[docs](https://tdesign.tencent.com/vue-next/components/enhanced-table?tab=api#enhancedtable-events)"
+ "description": "trigger on tree node expanded or folded, use `expandedTreeNodesChange` please\n\n树形结构,用户操作引起节点展开或收起时触发。请更为使用 `onExpandedTreeNodesChange`\n\n[docs](https://tdesign.tencent.com/vue-next/components/enhanced-table?tab=api#enhancedtable-events)"
},
"t-footer/height": {
"type": "String",
@@ -2743,7 +2955,7 @@
"description": "可以整体设置标签宽度,优先级高于 Form.labelWidth\n\n[docs](https://tdesign.tencent.com/vue-next/components/form-item?tab=api#formitem-props)"
},
"t-form-item/name": {
- "type": "String|Number",
+ "type": "String",
"description": "表单字段名称\n\n[docs](https://tdesign.tencent.com/vue-next/components/form-item?tab=api#formitem-props)"
},
"t-form-item/required-mark": {
@@ -2958,6 +3170,10 @@
"type": "event",
"description": "trigger on image load failed\n\n图片加载失败时触发\n\n[docs](https://tdesign.tencent.com/vue-next/components/image?tab=api#image-events)"
},
+ "t-image/fallback": {
+ "type": "String",
+ "description": "display `fallback` image on `src` loading failed. you can also use `error` to define more complex error content\n\n图片加载失败时,显示当前链接设置的图片地址。如果要使用组件图标或完全自定义加载失败时显示的内容,请更为使用 `error`\n\n[docs](https://tdesign.tencent.com/vue-next/components/image?tab=api#image-props)"
+ },
"t-image/fit": {
"type": "String",
"options": [
@@ -3001,6 +3217,20 @@
"type": "String",
"description": "等同于原生的 object-position 属性,可选值为 top right bottom left 或 string,可以自定义任何单位,px 或者 百分比\n\ndefault: center\n\n[docs](https://tdesign.tencent.com/vue-next/components/image?tab=api#image-props)"
},
+ "t-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?tab=api#image-props)"
+ },
"t-image/shape": {
"type": "String",
"options": [
@@ -3011,12 +3241,12 @@
"description": "图片圆角类型\n\ndefault: square\n\n[docs](https://tdesign.tencent.com/vue-next/components/image?tab=api#image-props)"
},
"t-image/src": {
- "type": "String",
- "description": "图片链接\n\n[docs](https://tdesign.tencent.com/vue-next/components/image?tab=api#image-props)"
+ "type": "String|File",
+ "description": "src attribute of ``. image File can also be loaded\n\n用于显示图片的链接或原始图片文件对象\n\n[docs](https://tdesign.tencent.com/vue-next/components/image?tab=api#image-props)"
},
"t-image/srcset": {
"type": "Object",
- "description": "for `.avif` and `.webp` image url\n\n图片地址,支持特殊格式的图片,如 `.avif` 和 `.webp`\n\n[docs](https://tdesign.tencent.com/vue-next/components/image?tab=api#image-props)"
+ "description": "for `.avif` and `.webp` image url, load `srcset` before `src`\n\n图片链接集合,用于支持特殊格式的图片,如 `.avif` 和 `.webp`。会优先加载 `srcset` 中的图片格式,浏览器不支持的情况下,加载 `src` 设置的图片地址\n\n[docs](https://tdesign.tencent.com/vue-next/components/image?tab=api#image-props)"
},
"t-image/load": {
"type": "event",
@@ -3026,6 +3256,10 @@
"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)"
},
+ "t-image-viewer/close-on-esc-keydown": {
+ "type": "Boolean",
+ "description": "trigger image viewer close event on `ESC` keydown\n\n按下 ESC 时是否触发图片预览器关闭事件\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/vue-next/components/image-viewer?tab=api#imageviewer-props)"
+ },
"t-image-viewer/close-on-overlay": {
"type": "Boolean",
"description": "是否在点击遮罩层时,触发预览关闭\n\n[docs](https://tdesign.tencent.com/vue-next/components/image-viewer?tab=api#imageviewer-props)"
@@ -3036,7 +3270,7 @@
},
"t-image-viewer/image-scale": {
"type": "Object",
- "description": " 图片缩放相关配置。`imageScale.max` 缩放的最大比例;`imageScale.min` 缩放的最小比例;`imageScale.step` 缩放的步长速度\n\n[docs](https://tdesign.tencent.com/vue-next/components/image-viewer?tab=api#imageviewer-props)"
+ "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)"
},
"t-image-viewer/images": {
"type": "Array",
@@ -3044,7 +3278,7 @@
},
"t-image-viewer/index": {
"type": "Number",
- "description": "当前预览图片所在的下标\n\n[docs](https://tdesign.tencent.com/vue-next/components/image-viewer?tab=api#imageviewer-props)"
+ "description": "当前预览图片所在的下标\n\ndefault: 0\n\n[docs](https://tdesign.tencent.com/vue-next/components/image-viewer?tab=api#imageviewer-props)"
},
"t-image-viewer/mode": {
"type": "String",
@@ -3076,7 +3310,7 @@
},
"t-image-viewer/visible": {
"type": "Boolean",
- "description": "隐藏/显示预览\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/image-viewer?tab=api#imageviewer-props)"
+ "description": "hide or show image viewer\n\n隐藏/显示预览\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/image-viewer?tab=api#imageviewer-props)"
},
"t-image-viewer/z-index": {
"type": "Number",
@@ -3097,50 +3331,54 @@
"center",
"right"
],
- "description": "文本内容位置,居左/居中/居右\n\ndefault: left\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)"
+ "description": "text align type\n\n文本内容位置,居左/居中/居右\n\ndefault: left\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)"
},
"t-input/allow-input-over-max": {
"type": "Boolean",
- "description": "超出 `maxlength` 或 `maxcharacter` 之后是否允许继续输入\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)"
+ "description": "allow to continue input on value length is over `maxlength` or `maxcharacter`\n\n超出 `maxlength` 或 `maxcharacter` 之后是否允许继续输入\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)"
},
"t-input/auto-width": {
"type": "Boolean",
- "description": "宽度随内容自适应\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)"
+ "description": "input width is fit to input content\n\n宽度随内容自适应\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)"
},
"t-input/autocomplete": {
"type": "String",
- "description": "是否开启自动填充功能,HTML5 原生属性,[点击查看详情](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)"
+ "description": "attribute of input element, [see here](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)\n\n是否开启自动填充功能,HTML5 原生属性,[点击查看详情](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)"
},
"t-input/autofocus": {
"type": "Boolean",
- "description": "自动聚焦\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)"
+ "description": "autofocus on first rendered\n\n自动聚焦\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)"
+ },
+ "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)"
},
"t-input/clearable": {
"type": "Boolean",
- "description": "是否可清空\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)"
+ "description": "show clear icon, clicked to clear input value\n\n是否可清空\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)"
},
"t-input/disabled": {
"type": "Boolean",
- "description": "是否禁用输入框\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)"
+ "description": "make input to be disabled\n\n是否禁用输入框\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)"
},
"t-input/format": {
"type": "Function",
- "description": "指定输入框展示值的格式\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)"
+ "description": "input value formatter, `type=number` does not work. if you need to format number, `InputNumber` Component might be better\n\n指定输入框展示值的格式。注意 `type=number` 时请勿使用,此功能建议更为使用 `InputNumber` 组件\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)"
},
"t-input/input-class": {
"type": "String|Object|Array",
- "description": "t-input 同级类名,示例:'name1 name2 name3' 或 `['name1', 'name2']` 或 `[{ 'name1': true }]`\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)"
+ "description": "add className to the element with `t-input` class\n\nt-input 同级类名,示例:'name1 name2 name3' 或 `['name1', 'name2']` 或 `[{ 'name1': true }]`\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)"
},
"t-input/label": {
"type": "String|TNode",
- "description": "左侧文本\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)"
+ "description": "text on the left of input\n\n左侧文本\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)"
},
"t-input/maxcharacter": {
"type": "Number",
"description": "用户最多可以输入的字符个数,一个中文汉字表示两个字符长度。`maxcharacter` 和 `maxlength` 二选一使用\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)"
},
"t-input/maxlength": {
- "type": "Number",
+ "type": "String|Number",
"description": "用户最多可以输入的文本长度,一个中文等于一个计数长度。值为空,则表示不限制输入长度。`maxcharacter` 和 `maxlength` 二选一使用\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)"
},
"t-input/name": {
@@ -3161,7 +3399,7 @@
},
"t-input/show-clear-icon-on-empty": {
"type": "Boolean",
- "description": "输入框内容为空时,悬浮状态是否显示清空按钮,默认不显示\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)"
+ "description": "show clear icon on empty input value\n\n输入框内容为空时,悬浮状态是否显示清空按钮,默认不显示\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)"
},
"t-input/show-limit-number": {
"type": "Boolean",
@@ -3174,7 +3412,7 @@
"medium",
"large"
],
- "description": "输入框尺寸\n\ndefault: medium\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)"
+ "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/status": {
"type": "String",
@@ -3188,15 +3426,15 @@
},
"t-input/suffix": {
"type": "String|TNode",
- "description": "后置图标前的后置内容\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)"
+ "description": "suffix content before suffixIcon\n\n后置图标前的后置内容\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)"
},
"t-input/suffix-icon": {
"type": "TNode",
- "description": "组件后置图标\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)"
+ "description": "suffix icon of input\n\n组件后置图标\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)"
},
"t-input/tips": {
"type": "String|TNode",
- "description": "输入框下方提示文本,会根据不同的 `status` 呈现不同的样式\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)"
+ "description": "tips on the bottom of input, different `status` can make tips to be different color\n\n输入框下方提示文本,会根据不同的 `status` 呈现不同的样式\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)"
},
"t-input/type": {
"type": "String",
@@ -3210,11 +3448,11 @@
"submit",
"hidden"
],
- "description": "输入框类型\n\ndefault: text\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)"
+ "description": "type attribute of input element. if you are using `type=number`, `InputNumber` Component might be better\n\n输入框类型。`type=number` 仅支持最基础的数字输入功能,更多功能建议使用 `InputNumber` 组件\n\ndefault: text\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)"
},
"t-input/value": {
"type": "String|Number",
- "description": "输入框的值\n\ndefault: ''\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)"
+ "description": "input value\n\n输入框的值\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props)"
},
"t-input/blur": {
"type": "event",
@@ -3222,7 +3460,7 @@
},
"t-input/change": {
"type": "event",
- "description": "输入框值发生变化时触发。`trigger=initial` 表示传入的数据不符合预期,组件自动处理后触发 change 告知父组件。如:初始值长度超过 `maxlength` 限制\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-events)"
+ "description": "trigger on input value changed\n\n输入框值发生变化时触发。参数 `trigger=initial` 表示传入的数据不符合预期,组件自动处理后触发 change 告知父组件。如:初始值长度超过 `maxlength` 限制\n\n[docs](https://tdesign.tencent.com/vue-next/components/input?tab=api#input-events)"
},
"t-input/clear": {
"type": "event",
@@ -3445,6 +3683,10 @@
"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)"
},
+ "t-link/download": {
+ "type": "String|Boolean",
+ "description": "Causes the browser to treat the linked URL as a download\n\n使得浏览器将链接的 URL 视为可下载资源\n\n[docs](https://tdesign.tencent.com/vue-next/components/link?tab=api#link-props)"
+ },
"t-link/hover": {
"type": "String",
"options": [
@@ -3716,7 +3958,7 @@
"_parent",
"_top"
],
- "description": "链接或路由跳转方式\n\n[docs](https://tdesign.tencent.com/vue-next/components/menu-item?tab=api#menuitem-props)"
+ "description": "链接或路由跳转方式\n\ndefault: _self\n\n[docs](https://tdesign.tencent.com/vue-next/components/menu-item?tab=api#menuitem-props)"
},
"t-menu-item/to": {
"type": "String|Object",
@@ -3985,6 +4227,18 @@
"type": "event",
"description": "按钮点击事件回调\n\n[docs](https://tdesign.tencent.com/vue-next/components/pagination-mini?tab=api#paginationmini-events)"
},
+ "t-paragraph/content": {
+ "type": "String|TNode",
+ "description": "content of paragraph\n\n段落内容\n\n[docs](https://tdesign.tencent.com/vue-next/components/paragraph?tab=api#paragraph-props)"
+ },
+ "t-paragraph/default": {
+ "type": "String|TNode",
+ "description": "default slot of paragraph\n\n段落内容\n\n[docs](https://tdesign.tencent.com/vue-next/components/paragraph?tab=api#paragraph-props)"
+ },
+ "t-paragraph/ellipsis": {
+ "type": "Boolean|Object",
+ "description": "add ellipsis style\n\n是否省略展示,可通过配置参数自定义省略操作的具体功能和样式\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/paragraph?tab=api#paragraph-props)"
+ },
"t-popconfirm/cancel-btn": {
"type": "String|Object|TNode",
"description": "取消按钮,可自定义。值为 null 则不显示取消按钮。值类型为字符串,则表示自定义按钮文本,值类型为 Object 则表示透传 Button 组件属性。使用 TNode 自定义按钮时,需自行控制取消事件\n\ndefault: ''\n\n[docs](https://tdesign.tencent.com/vue-next/components/popconfirm?tab=api#popconfirm-props)"
@@ -4060,10 +4314,6 @@
"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)"
},
- "t-popup/close-btn": {
- "type": "Boolean|TNode",
- "description": "是否展示关闭按钮,值为 `true` 显示默认关闭按钮;值为 `false` 则不显示关闭按钮;也可以自定义关闭按钮\n\n[docs](https://tdesign.tencent.com/vue-next/components/popup?tab=api#popup-props)"
- },
"t-popup/content": {
"type": "String|TNode",
"description": "浮层里面的内容\n\n[docs](https://tdesign.tencent.com/vue-next/components/popup?tab=api#popup-props)"
@@ -4139,6 +4389,10 @@
"type": "Number",
"description": "组件层级,Web 侧样式默认为 5500,移动端和小程序样式默认为 1500\n\n[docs](https://tdesign.tencent.com/vue-next/components/popup?tab=api#popup-props)"
},
+ "t-popup/overlay-click": {
+ "type": "event",
+ "description": "trigger on popup content click\n\n内容面板点击时触发\n\n[docs](https://tdesign.tencent.com/vue-next/components/popup?tab=api#popup-events)"
+ },
"t-popup/scroll": {
"type": "event",
"description": "下拉选项滚动事件\n\n[docs](https://tdesign.tencent.com/vue-next/components/popup?tab=api#popup-events)"
@@ -4307,6 +4561,30 @@
"type": "Boolean",
"description": "行选中功能,是否在分页时保留上一页选中结果不清空,本地数据分页场景下,会全选所有页数据。值为 `false` 则表示全部选中操作停留在当前页,不跨分页;本地数据分页场景下,全选仅选中当前页\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/vue-next/components/primary-table?tab=api#primarytable-props)"
},
+ "t-primary-table/row-selection-allow-uncheck": {
+ "type": "Boolean",
+ "description": "allow to uncheck selection in table with single row selection\n\n行选中单选场景,是否允许取消选中\n\n[docs](https://tdesign.tencent.com/vue-next/components/primary-table?tab=api#primarytable-props)"
+ },
+ "t-table/row-selection-allow-uncheck": {
+ "type": "Boolean",
+ "description": "allow to uncheck selection in table with single row selection\n\n行选中单选场景,是否允许取消选中\n\n[docs](https://tdesign.tencent.com/vue-next/components/primary-table?tab=api#primarytable-props)"
+ },
+ "t-primary-table/row-selection-type": {
+ "type": "String",
+ "options": [
+ "single",
+ "multiple"
+ ],
+ "description": "single row selection, or multiple row selection\n\n行选中类型,单选或多选。效果和 `columns` 中配置的 `{ colKey: 'row-select', type: 'single' }` 一样\n\n[docs](https://tdesign.tencent.com/vue-next/components/primary-table?tab=api#primarytable-props)"
+ },
+ "t-table/row-selection-type": {
+ "type": "String",
+ "options": [
+ "single",
+ "multiple"
+ ],
+ "description": "single row selection, or multiple row selection\n\n行选中类型,单选或多选。效果和 `columns` 中配置的 `{ colKey: 'row-select', type: 'single' }` 一样\n\n[docs](https://tdesign.tencent.com/vue-next/components/primary-table?tab=api#primarytable-props)"
+ },
"t-primary-table/select-on-row-click": {
"type": "Boolean",
"description": "select row data on row click\n\n是否在点击整行时选中\n\n[docs](https://tdesign.tencent.com/vue-next/components/primary-table?tab=api#primarytable-props)"
@@ -4317,11 +4595,11 @@
},
"t-primary-table/selected-row-keys": {
"type": "Array",
- "description": "selected row keys, row key is from data[rowKey]\n\n选中行,控制属性。半选状态行请更为使用 `indeterminateSelectedRowKeys` 控制\n\ndefault: []\n\n[docs](https://tdesign.tencent.com/vue-next/components/primary-table?tab=api#primarytable-props)"
+ "description": "selected row keys, row key is from data[rowKey]\n\n选中行。半选状态行请更为使用 `indeterminateSelectedRowKeys` 控制\n\ndefault: []\n\n[docs](https://tdesign.tencent.com/vue-next/components/primary-table?tab=api#primarytable-props)"
},
"t-table/selected-row-keys": {
"type": "Array",
- "description": "selected row keys, row key is from data[rowKey]\n\n选中行,控制属性。半选状态行请更为使用 `indeterminateSelectedRowKeys` 控制\n\ndefault: []\n\n[docs](https://tdesign.tencent.com/vue-next/components/primary-table?tab=api#primarytable-props)"
+ "description": "selected row keys, row key is from data[rowKey]\n\n选中行。半选状态行请更为使用 `indeterminateSelectedRowKeys` 控制\n\ndefault: []\n\n[docs](https://tdesign.tencent.com/vue-next/components/primary-table?tab=api#primarytable-props)"
},
"t-primary-table/show-sort-column-bg-color": {
"type": "Boolean",
@@ -4554,6 +4832,14 @@
"type": "String",
"description": "HTML 元素原生属性\n\n[docs](https://tdesign.tencent.com/vue-next/components/radio?tab=api#radio-props)"
},
+ "t-radio/readonly": {
+ "type": "Boolean",
+ "description": "只读状态\n\ndefault: false\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)"
+ },
"t-radio/value": {
"type": "String|Number|Boolean",
"description": "单选按钮的值\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/radio?tab=api#radio-props)"
@@ -4845,7 +5131,7 @@
},
"t-row/gutter": {
"type": "Number|Object|Array",
- "description": "栅格间隔,示例:`{ xs: 8, sm: 16, md: 24}`。当数据类型为 Number 和 Object 时,用于指定横向间隔。当数据类型为数组时,第一个参数为横向间隔,第二个参数为纵向间隔, [水平间隔, 垂直间隔]\n\ndefault: 0\n\n[docs](https://tdesign.tencent.com/vue-next/components/row?tab=api#row-props)"
+ "description": "栅格间隔,示例:`{ xs: 8, sm: 16, md: 24, lg: 32, xl: 32, xxl: 40 }`。当数据类型为 Number 和 Object 时,用于指定横向间隔。当数据类型为数组时,第一个参数为横向间隔,第二个参数为纵向间隔, [水平间隔, 垂直间隔]\n\ndefault: 0\n\n[docs](https://tdesign.tencent.com/vue-next/components/row?tab=api#row-props)"
},
"t-row/justify": {
"type": "String",
@@ -4980,7 +5266,7 @@
},
"t-select/collapsed-items": {
"type": "TNode",
- "description": "多选情况下,用于设置折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 collapsedItems 自定义。`value` 表示当前存在的所有标签,`collapsedTags` 表示折叠的标签,泛型 `T` 继承 `SelectOption`,表示选项数据;`count` 表示折叠的数量\n\n[docs](https://tdesign.tencent.com/vue-next/components/select?tab=api#select-props)"
+ "description": "多选情况下,用于设置折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 collapsedItems 自定义。`value` 表示当前存在的所有标签,`collapsedTags` 表示折叠的标签,泛型 `T` 继承 `SelectOption`,表示选项数据;`count` 表示折叠的数量, `onClose` 表示移除标签\n\n[docs](https://tdesign.tencent.com/vue-next/components/select?tab=api#select-props)"
},
"t-select/creatable": {
"type": "Boolean",
@@ -5012,7 +5298,7 @@
},
"t-select/keys": {
"type": "Object",
- "description": "用来定义 value / label 在 `options` 中对应的字段别名\n\n[docs](https://tdesign.tencent.com/vue-next/components/select?tab=api#select-props)"
+ "description": "alias option field\n\n用来定义 value / label / disabled 在 `options` 中对应的字段别名\n\n[docs](https://tdesign.tencent.com/vue-next/components/select?tab=api#select-props)"
},
"t-select/label": {
"type": "String|TNode",
@@ -5042,6 +5328,10 @@
"type": "Array",
"description": "数据化配置选项内容\n\n[docs](https://tdesign.tencent.com/vue-next/components/select?tab=api#select-props)"
},
+ "t-select/options-layout": {
+ "type": "String",
+ "description": "layout of options in popup\n\n下拉选项布局方式,有纵向排列和横向排列两种,默认纵向排列\n\ndefault: vertical\n\n[docs](https://tdesign.tencent.com/vue-next/components/select?tab=api#select-props)"
+ },
"t-select/panel-bottom-content": {
"type": "String|TNode",
"description": "面板内的底部内容\n\n[docs](https://tdesign.tencent.com/vue-next/components/select?tab=api#select-props)"
@@ -5440,6 +5730,10 @@
"type": "event",
"description": "滑块值变化时触发\n\n[docs](https://tdesign.tencent.com/vue-next/components/slider?tab=api#slider-events)"
},
+ "t-slider/change-end": {
+ "type": "event",
+ "description": "triggered when the mouse button is released after dragging or clicking on the slider bar. It is suitable for scenarios where you do not want the callback to be triggered frequently during the process of dragging the slider\n\n松开拖动`mouseup` 或点击滑块条时触发,适合不希望在拖动滑块过程频繁触发回调的场景实用\n\n[docs](https://tdesign.tencent.com/vue-next/components/slider?tab=api#slider-events)"
+ },
"t-space/align": {
"type": "String",
"options": [
@@ -5861,6 +6155,10 @@
"type": "String|TNode",
"description": "选项卡名称,可自定义选项卡导航内容\n\n[docs](https://tdesign.tencent.com/vue-next/components/tab-panel?tab=api#tabpanel-props)"
},
+ "t-tab-panel/lazy": {
+ "type": "Boolean",
+ "description": "Enable tab lazy loading\n\n是否启用选项卡懒加载\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/tab-panel?tab=api#tabpanel-props)"
+ },
"t-tab-panel/panel": {
"type": "String|TNode",
"description": "用于自定义选项卡面板内容\n\n[docs](https://tdesign.tencent.com/vue-next/components/tab-panel?tab=api#tabpanel-props)"
@@ -6062,6 +6360,10 @@
"type": "String",
"description": "placeholder description\n\n占位符\n\ndefault: undefined\n\n[docs](https://tdesign.tencent.com/vue-next/components/tag-input?tab=api#taginput-props)"
},
+ "t-tag-input/prefix-icon": {
+ "type": "TNode",
+ "description": "组件前置图标\n\n[docs](https://tdesign.tencent.com/vue-next/components/tag-input?tab=api#taginput-props)"
+ },
"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)"
@@ -6157,6 +6459,65 @@
"type": "event",
"description": "移除单个标签时触发\n\n[docs](https://tdesign.tencent.com/vue-next/components/tag-input?tab=api#taginput-events)"
},
+ "t-text/code": {
+ "type": "Boolean",
+ "description": "add code style\n\n是否添加代码样式\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/text?tab=api#text-props)"
+ },
+ "t-text/content": {
+ "type": "String|TNode",
+ "description": "content of text\n\n文本内容\n\n[docs](https://tdesign.tencent.com/vue-next/components/text?tab=api#text-props)"
+ },
+ "t-text/copyable": {
+ "type": "Boolean|Object",
+ "description": "add copyable style\n\n是否可复制,可通过配置参数自定义复制操作的具体功能和样式\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/text?tab=api#text-props)"
+ },
+ "t-text/default": {
+ "type": "String|TNode",
+ "description": "default slot of text\n\n文本内容\n\n[docs](https://tdesign.tencent.com/vue-next/components/text?tab=api#text-props)"
+ },
+ "t-text/delete": {
+ "type": "Boolean",
+ "description": "add delete line style\n\n是否添加删除线样式\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/text?tab=api#text-props)"
+ },
+ "t-text/disabled": {
+ "type": "Boolean",
+ "description": "add disabled style\n\n是否添加不可用样式\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/text?tab=api#text-props)"
+ },
+ "t-text/ellipsis": {
+ "type": "Boolean|Object",
+ "description": "add ellipsis style\n\n是否省略展示,可通过配置参数自定义省略操作的具体功能和样式\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/text?tab=api#text-props)"
+ },
+ "t-text/italic": {
+ "type": "Boolean",
+ "description": "add italic style\n\n文本是否为斜体\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/text?tab=api#text-props)"
+ },
+ "t-text/keyboard": {
+ "type": "Boolean",
+ "description": "add keyboard style\n\n是否添加键盘样式\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/text?tab=api#text-props)"
+ },
+ "t-text/mark": {
+ "type": "String|Boolean",
+ "description": "add mark style\n\n是否添加标记样式,默认为黄色,可通过配置颜色修改标记样式,如#0052D9\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/text?tab=api#text-props)"
+ },
+ "t-text/strong": {
+ "type": "Boolean",
+ "description": "add bold style\n\n文本是否加粗\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/text?tab=api#text-props)"
+ },
+ "t-text/theme": {
+ "type": "String",
+ "options": [
+ "primary",
+ "secondary",
+ "success",
+ "warning",
+ "error"
+ ],
+ "description": "theme of text\n\n主题\n\n[docs](https://tdesign.tencent.com/vue-next/components/text?tab=api#text-props)"
+ },
+ "t-text/underline": {
+ "type": "Boolean",
+ "description": "add underline style\n\n是否添加下划线样式\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/text?tab=api#text-props)"
+ },
"t-textarea/allow-input-over-max": {
"type": "Boolean",
"description": "超出maxlength或maxcharacter之后是否还允许输入\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/textarea?tab=api#textarea-props)"
@@ -6182,7 +6543,7 @@
"description": "用户最多可以输入的字符个数,一个中文汉字表示两个字符长度\n\n[docs](https://tdesign.tencent.com/vue-next/components/textarea?tab=api#textarea-props)"
},
"t-textarea/maxlength": {
- "type": "Number",
+ "type": "String|Number",
"description": "用户最多可以输入的字符个数\n\n[docs](https://tdesign.tencent.com/vue-next/components/textarea?tab=api#textarea-props)"
},
"t-textarea/name": {
@@ -6249,7 +6610,7 @@
},
"t-time-picker/disable-time": {
"type": "Function",
- "description": "禁用时间项\n\n[docs](https://tdesign.tencent.com/vue-next/components/time-picker?tab=api#timepicker-props)"
+ "description": "disable time config function\n\n禁用时间项的配置函数\n\n[docs](https://tdesign.tencent.com/vue-next/components/time-picker?tab=api#timepicker-props)"
},
"t-time-picker/disabled": {
"type": "Boolean",
@@ -6498,6 +6859,34 @@
"type": "Boolean",
"description": "Whether it is in the loading state\n\n是否处在加载状态\n\n[docs](https://tdesign.tencent.com/vue-next/components/timeline-item?tab=api#timelineitem-props)"
},
+ "t-timeline-item/click": {
+ "type": "event",
+ "description": "trigger on click\n\n点击时触发\n\n[docs](https://tdesign.tencent.com/vue-next/components/timeline-item?tab=api#timelineitem-events)"
+ },
+ "t-title/content": {
+ "type": "String|TNode",
+ "description": "content of title\n\n段落内容\n\n[docs](https://tdesign.tencent.com/vue-next/components/title?tab=api#title-props)"
+ },
+ "t-title/default": {
+ "type": "String|TNode",
+ "description": "default slot of title\n\n标题内容\n\n[docs](https://tdesign.tencent.com/vue-next/components/title?tab=api#title-props)"
+ },
+ "t-title/ellipsis": {
+ "type": "Boolean|Object",
+ "description": "add ellipsis style\n\n是否省略展示,可通过配置参数自定义省略操作的具体功能和样式\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/title?tab=api#title-props)"
+ },
+ "t-title/level": {
+ "type": "String",
+ "options": [
+ "h1",
+ "h2",
+ "h3",
+ "h4",
+ "h5",
+ "h6"
+ ],
+ "description": "level of title\n\n标题等级\n\ndefault: h1\n\n[docs](https://tdesign.tencent.com/vue-next/components/title?tab=api#title-props)"
+ },
"t-tooltip/delay": {
"type": "Number|Array",
"description": "delay to show or hide popover\n\n延时显示或隐藏浮层,[延迟显示的时间,延迟隐藏的时间],单位:毫秒。直接透传到 Popup 组件。如果只有一个时间,则表示显示和隐藏的延迟时间相同。示例 `'300'` 或者 `[200, 200]`。默认为:[250, 150]\n\n[docs](https://tdesign.tencent.com/vue-next/components/tooltip?tab=api#tooltip-props)"
@@ -6598,7 +6987,7 @@
},
"t-transfer/keys": {
"type": "Object",
- "description": "用来定义选项文本和选项值字段,示例:`{ label: 'text', value: 'id' }`,表示选项文本取 `text` 字段,选项值取 `id` 字段\n\n[docs](https://tdesign.tencent.com/vue-next/components/transfer?tab=api#transfer-props)"
+ "description": "alias field name in data\n\n用来定义 value / label / disabled 在 `data` 中对应的字段别名,示例:`{ label: 'text', value: 'id' }`,表示选项文本取 `text` 字段,选项值取 `id` 字段\n\n[docs](https://tdesign.tencent.com/vue-next/components/transfer?tab=api#transfer-props)"
},
"t-transfer/operation": {
"type": "Array|TNode",
@@ -6616,6 +7005,10 @@
"type": "Boolean|Array",
"description": "是否显示全选,值类型为数组则表示分别控制源列表和目标列表\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/vue-next/components/transfer?tab=api#transfer-props)"
},
+ "t-transfer/target-draggable": {
+ "type": "Boolean",
+ "description": "allowed to sort the target list by dragging\n\n是否允许通过拖拽对目标列表进行排序\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/transfer?tab=api#transfer-props)"
+ },
"t-transfer/target-sort": {
"type": "String",
"options": [
@@ -6659,7 +7052,7 @@
},
"t-tree/activable": {
"type": "Boolean",
- "description": "节点是否可高亮\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/tree?tab=api#tree-props)"
+ "description": "make nodes can be highlight\n\n节点是否可高亮\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/tree?tab=api#tree-props)"
},
"t-tree/active-multiple": {
"type": "Boolean",
@@ -6699,7 +7092,7 @@
},
"t-tree/draggable": {
"type": "Boolean",
- "description": "[开发中]节点是否可拖拽\n\n[docs](https://tdesign.tencent.com/vue-next/components/tree?tab=api#tree-props)"
+ "description": "节点是否可拖拽\n\n[docs](https://tdesign.tencent.com/vue-next/components/tree?tab=api#tree-props)"
},
"t-tree/empty": {
"type": "String|TNode",
@@ -6735,7 +7128,7 @@
},
"t-tree/height": {
"type": "String|Number",
- "description": "table height\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",
@@ -6747,7 +7140,7 @@
},
"t-tree/keys": {
"type": "Object",
- "description": "用来定义 `value / label / children` 在 `data` 数据中对应的字段别名,示例:`{ value: 'key', label 'name', children: 'list' }`\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",
@@ -6767,7 +7160,7 @@
},
"t-tree/max-height": {
"type": "String|Number",
- "description": "table max height\n\n表格最大高度,超出后会出现滚动条。示例:100, '30%', '300'。值为数字类型,会自动加上单位 px\n\n[docs](https://tdesign.tencent.com/vue-next/components/tree?tab=api#tree-props)"
+ "description": "The max height of tree. Scrollbar will appear after the content is overflow. Examples: 100, '30%', '300'. \n\n树的最大高度,超出后会出现滚动条。示例:100, '30%', '300'。值为数字类型,会自动加上单位 px\n\n[docs](https://tdesign.tencent.com/vue-next/components/tree?tab=api#tree-props)"
},
"t-tree/operations": {
"type": "TNode",
@@ -6783,7 +7176,7 @@
},
"t-tree/value": {
"type": "Array",
- "description": "选中值(组件为可选状态时)\n\ndefault: []\n\n[docs](https://tdesign.tencent.com/vue-next/components/tree?tab=api#tree-props)"
+ "description": "选中值,组件为可选状态时有效\n\ndefault: []\n\n[docs](https://tdesign.tencent.com/vue-next/components/tree?tab=api#tree-props)"
},
"t-tree/value-mode": {
"type": "String",
@@ -6880,7 +7273,7 @@
},
"t-tree-select/keys": {
"type": "Object",
- "description": "用来定义 `value / label / children` 在 `data` 数据中对应的字段别名,示例:`{ value: 'key', label 'name', children: 'list' }`\n\n[docs](https://tdesign.tencent.com/vue-next/components/tree-select?tab=api#treeselect-props)"
+ "description": "alias filed name in data\n\n用来定义 `value / label / disabled / children` 在 `data` 数据中对应的字段别名,示例:`{ value: 'key', label: 'name', children: 'list' }`\n\n[docs](https://tdesign.tencent.com/vue-next/components/tree-select?tab=api#treeselect-props)"
},
"t-tree-select/label": {
"type": "String|TNode",
@@ -7039,31 +7432,35 @@
},
"t-upload/accept": {
"type": "String",
- "description": "接受上传的文件类型,[查看 W3C示例](https://www.w3schools.com/tags/att_input_accept.asp),[查看 MDN 示例](https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element/Input/file)\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
+ "description": "File types that can be accepted. [W3C](https://www.w3schools.com/tags/att_input_accept.asp),[MDN](https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element/Input/file)\n\n接受上传的文件类型,[查看 W3C示例](https://www.w3schools.com/tags/att_input_accept.asp),[查看 MDN 示例](https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element/Input/file)\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
},
"t-upload/action": {
"type": "String",
- "description": "upload action url\n\n上传接口。设接口响应数据为字段 `response`,那么 `response.error` 存在时会判断此次上传失败,并显示错误文本信息;`response.url` 会作为文件上传成功后的地址,并使用该地址显示图片或文件\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
+ "description": "Uploading URL\n\n上传接口。设接口响应数据为字段 `response`,那么 `response.error` 存在时会判断此次上传失败,并显示错误文本信息;`response.url` 会作为文件上传成功后的地址,并使用该地址显示图片或文件\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
},
"t-upload/allow-upload-duplicate-file": {
"type": "Boolean",
- "description": "是否允许重复上传相同文件名的文件\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
+ "description": "allow to upload duplicate name files\n\n是否允许重复上传相同文件名的文件\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
},
"t-upload/auto-upload": {
"type": "Boolean",
- "description": "是否在选择文件后自动发起请求上传文件\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
+ "description": "post upload request automatically after files being selected\n\n是否在选择文件后自动发起请求上传文件\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
},
"t-upload/before-all-files-upload": {
"type": "Function",
- "description": "before all files upload, return false can stop uploading file\n\n如果是自动上传模式 `autoUpload=true`,表示全部文件上传之前的钩子函数,函数参数为上传的文件,函数返回值决定是否继续上传,若返回值为 `false` 则终止上传。
如果是非自动上传模式 `autoUpload=false`,则函数返回值为 `false` 时表示不触发文件变化\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
+ "description": "before all files upload, return false can stop uploading file\n\n如果是自动上传模式 `autoUpload=true`,表示全部文件上传之前的钩子函数,函数参数为上传的文件,函数返回值决定是否继续上传,若返回值为 `false` 则终止上传。
如果是非自动上传模式 `autoUpload=false`,则函数返回值为 `false` 时表示本次选中的文件不会加入到文件列表中,即不触发 `onChange` 事件\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
},
"t-upload/before-upload": {
"type": "Function",
- "description": "如果是自动上传模式 `autoUpload=true`,表示单个文件上传之前的钩子函数,若函数返回值为 `false` 则表示不上传当前文件。
如果是非自动上传模式 `autoUpload=false`,函数返回值为 `false` 时表示从上传文件中剔除当前文件\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
+ "description": "stop one of files to upload\n\n如果是自动上传模式 `autoUpload=true`,表示单个文件上传之前的钩子函数,若函数返回值为 `false` 则表示不上传当前文件。
如果是非自动上传模式 `autoUpload=false`,函数返回值为 `false` 时表示从上传文件中剔除当前文件\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
+ },
+ "t-upload/cancel-upload-button": {
+ "type": "Object|TNode",
+ "description": "cancel upload button props, which showed on `autoUpload=false` and multiple files/images upload\n\n批量文件/图片上传,`autoUpload=false` 场景下,透传“取消上传”按钮属性\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
},
"t-upload/data": {
"type": "Object",
- "description": "上传请求所需的额外字段,默认字段有 `file`,表示文件信息。可以添加额外的文件名字段,如:`{file_name: \"custom-file-name.txt\"}`。`autoUpload=true` 时有效。也可以使用 `formatRequest` 完全自定义上传请求的字段\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
+ "description": "extra request data of uploading. `formatRequest` can redefine all request data\n\n上传请求所需的额外字段,默认字段有 `file`,表示文件信息。可以添加额外的文件名字段,如:`{file_name: \"custom-file-name.txt\"}`。`autoUpload=true` 时有效。也可以使用 `formatRequest` 完全自定义上传请求的字段\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
},
"t-upload/default": {
"type": "String|TNode",
@@ -7071,7 +7468,7 @@
},
"t-upload/disabled": {
"type": "Boolean",
- "description": "是否禁用\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
+ "description": "make upload to be disabled\n\n是否禁用\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
},
"t-upload/drag-content": {
"type": "String|TNode",
@@ -7083,7 +7480,7 @@
},
"t-upload/file-list-display": {
"type": "TNode",
- "description": "用于完全自定义文件列表内容\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
+ "description": "used to render file list UI\n\n用于完全自定义文件列表界面内容(UI),单文件和多文件均有效\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
},
"t-upload/files": {
"type": "Array",
@@ -7091,19 +7488,23 @@
},
"t-upload/format": {
"type": "Function",
- "description": "转换文件 `UploadFile` 的数据结构,可新增或修改 `UploadFile` 的属性,注意不能删除 `UploadFile` 属性。`action` 存在时有效\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
+ "description": "to redefine `UploadFile` data structure\n\n转换文件 `UploadFile` 的数据结构,可新增或修改 `UploadFile` 的属性,注意不能删除 `UploadFile` 属性。`action` 存在时有效\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
},
"t-upload/format-request": {
"type": "Function",
- "description": "用于新增或修改文件上传请求参数。`action` 存在时有效。一个请求上传一个文件时,默认请求字段有 `file`;
一个请求上传多个文件时,默认字段有 `file[0]/file[1]/file[2]/.../length`,其中 `length` 表示本次上传的文件数量。
⚠️非常注意,此处的 `file[0]/file[1]` 仅仅是一个字段名,并非表示 `file` 是一个数组,接口获取字段时注意区分。
可以使用 `name` 定义 `file` 字段的别名,也可以使用 `formatRequest` 自定义任意字段\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
+ "description": "redefine request data\n\n用于新增或修改文件上传请求 参数。`action` 存在时有效。一个请求上传一个文件时,默认请求字段有 `file`。
一个请求上传多个文件时,默认字段有 `file[0]/file[1]/file[2]/.../length`,其中 `length` 表示本次上传的文件数量。
⚠️非常注意,此处的 `file[0]/file[1]` 仅仅是一个字段名,并非表示 `file` 是一个数组,接口获取字段时注意区分。
可以使用 `name` 定义 `file` 字段的别名。
也可以使用 `formatRequest` 自定义任意字段,如添加一个字段 `fileList` ,存储文件数组\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
},
"t-upload/format-response": {
"type": "Function",
- "description": "用于格式化文件上传后的接口响应数据,`response` 便是接口响应的原始数据。`action` 存在时有效。
此函数的返回值 `error` 或 `response.error` 会作为错误文本提醒,如果存在会判定为本次上传失败。
此函数的返回值 `url` 或 `response.url` 会作为上传成功后的链接\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
+ "description": "redefine response data structure\n\n用于格式化文件上传后的接口响应数据,`response` 便是接口响应的原始数据。`action` 存在时有效。
示例返回值:`{ error, url, status, files }`
此函数的返回值 `error` 会作为错误文本提醒,表示上传失败的原因,如果存在会判定为本次上传失败。
此函数的返回值 `url` 会作为单个文件上传成功后的链接。
`files` 表示一个请求同时上传多个文件后的文件列表\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
},
"t-upload/headers": {
"type": "Object",
- "description": "设置上传的请求头部,`action` 存在时有效\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
+ "description": "HTTP Request Header\n\n设置上传的请求头部,`action` 存在时有效\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
+ },
+ "t-upload/image-viewer-props": {
+ "type": "Object",
+ "description": "ImageViewer Component Props\n\n透传图片预览组件全部属性\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
},
"t-upload/input-attributes": {
"type": "Object",
@@ -7111,7 +7512,7 @@
},
"t-upload/is-batch-upload": {
"type": "Boolean",
- "description": "多个文件是否作为一个独立文件包,整体替换,整体删除。不允许追加文件,只允许替换文件。`theme=file-flow` 时有效\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
+ "description": "make all files to be a whole package, files can only be replaced or deleted together, can not add more files\n\n多个文件是否作为一个独立文件包,整体替换,整体删除。不允许追加文件,只允许替换文件。`theme=file-flow` 时有效\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
},
"t-upload/locale": {
"type": "Object",
@@ -7119,7 +7520,7 @@
},
"t-upload/max": {
"type": "Number",
- "description": "用于控制文件上传数量,值为 0 则不限制\n\ndefault: 0\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
+ "description": "max count of files limit\n\n用于控制文件上传数量,值为 0 则不限制。注意,单文件上传场景,请勿设置 `max` 属性\n\ndefault: 0\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
},
"t-upload/method": {
"type": "String",
@@ -7135,35 +7536,43 @@
"option",
"patch"
],
- "description": "HTTP 请求类型\n\ndefault: POST\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
+ "description": "HTTP request method\n\nHTTP 请求类型\n\ndefault: POST\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
},
"t-upload/mock-progress-duration": {
"type": "Number",
- "description": "模拟进度间隔时间,单位:毫秒,默认:300。由于原始的上传请求,小文件上传进度只有 0 和 100,故而新增模拟进度,每间隔 `mockProgressDuration` 毫秒刷新一次模拟进度。小文件设置小一点,大文件设置大一点。注意:当 `useMockProgress` 为真时,当前设置有效\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
+ "description": "mock progress duration time. more large files more duration time\n\n模拟进度间隔时间,单位:毫秒,默认:300。由于原始的上传请求,小文件上传进度只有 0 和 100,故而新增模拟进度,每间隔 `mockProgressDuration` 毫秒刷新一次模拟进度。小文件设置小一点,大文件设置大一点。注意:当 `useMockProgress` 为真时,当前设置有效\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
},
"t-upload/multiple": {
"type": "Boolean",
- "description": "支持多文件上传\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
+ "description": "multiple files uploading\n\n支持多文件上传\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
},
"t-upload/name": {
"type": "String",
- "description": "文件上传时的名称\n\ndefault: file\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
+ "description": "field name of files in upload request data\n\n文件上传时的名称\n\ndefault: file\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
},
"t-upload/placeholder": {
"type": "String",
- "description": "占位符\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
+ "description": "placeholder\n\n占位符\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
},
"t-upload/request-method": {
"type": "Function",
- "description": "自定义上传方法。返回值 `status` 表示上传成功或失败;`error` 或 `response.error` 表示上传失败的原因;
`response` 表示请求上传成功后的返回数据,`response.url` 表示上传成功后的图片/文件地址,`response.files` 表示一个请求上传多个文件/图片后的返回值。
示例一:`{ status: 'fail', error: '上传失败', response }`。
示例二:`{ status: 'success', response: { url: 'https://tdesign.gtimg.com/site/avatar.jpg' } }`。
示例三:`{ status: 'success', files: [{ url: 'https://xxx.png', name: 'xxx.png' }]}`\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
+ "description": "custom upload request method\n\n自定义上传方法。返回值 `status` 表示上传成功或失败;`error` 或 `response.error` 表示上传失败的原因;
`response` 表示请求上传成功后的返回数据,`response.url` 表示上传成功后的图片/文件地址,`response.files` 表示一个请求上传多个文件/图片后的返回值。
示例一:`{ status: 'fail', error: '上传失败', response }`。
示例二:`{ status: 'success', response: { url: 'https://tdesign.gtimg.com/site/avatar.jpg' } }`。
示例三:`{ status: 'success', files: [{ url: 'https://xxx.png', name: 'xxx.png' }]}`\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
+ },
+ "t-upload/show-image-file-name": {
+ "type": "Boolean",
+ "description": "show image's name\n\n是否显示图片的文件名称\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
+ },
+ "t-upload/show-thumbnail": {
+ "type": "Boolean",
+ "description": "show thumbnail before file name, only works on `theme=file-flow` \n\n是否在文件列表中显示缩略图,`theme=file-flow` 时有效\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
},
"t-upload/show-upload-progress": {
"type": "Boolean",
- "description": "是否显示上传进度\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
+ "description": "show upload progress nodes\n\n是否显示上传进度\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
},
"t-upload/size-limit": {
"type": "Number|Object",
- "description": "图片文件大小限制,默认单位 KB。可选单位有:`'B' | 'KB' | 'MB' | 'GB'`。示例一:`1000`。示例二:`{ size: 2, unit: 'MB', message: '图片大小不超过 {sizeLimit} MB' }`\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
+ "description": "files size limit\n\n图片文件大小限制,默认单位 KB。可选单位有:`'B' | 'KB' | 'MB' | 'GB'`。示例一:`1000`。示例二:`{ size: 2, unit: 'MB', message: '图片大小不超过 {sizeLimit} MB' }`\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
},
"t-upload/status": {
"type": "String",
@@ -7185,7 +7594,7 @@
"image",
"image-flow"
],
- "description": "组件风格。custom 表示完全自定义风格;file 表示默认文件上传风格;file-input 表示输入框形式的文件上传;file-flow 表示文件批量上传;image 表示默认图片上传风格;image-flow 表示图片批量上传\n\ndefault: file\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
+ "description": "different upload UI styles\n\n组件风格。custom 表示完全自定义风格;file 表示默认文件上传风格;file-input 表示输入框形式的文件上传;file-flow 表示文件批量上传;image 表示默认图片上传风格;image-flow 表示图片批量上传\n\ndefault: file\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
},
"t-upload/tips": {
"type": "String|TNode",
@@ -7193,51 +7602,55 @@
},
"t-upload/trigger": {
"type": "TNode",
- "description": "触发上传的元素,`files` 指本次显示的全部文件\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
+ "description": "trigger elements UI\n\n触发上传的元素,`files` 指本次显示的全部文件\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
},
"t-upload/trigger-button-props": {
"type": "Object",
- "description": "透传选择按钮全部属性\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
+ "description": "trigger button props, it can be used to change color/size/href/... of the trigger button\n\n透传选择按钮全部属性\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
},
"t-upload/upload-all-files-in-one-request": {
"type": "Boolean",
- "description": "是否在同一个请求中上传全部文件,默认一个请求上传一个文件。多文件上传时有效\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
+ "description": "uploading all files in one request\n\n是否在同一个请求中上传全部文件,默认一个请求上传一个文件。多文件上传时有效\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
+ },
+ "t-upload/upload-button": {
+ "type": "Object|TNode",
+ "description": "upload button props, which showed on `autoUpload=false` and multiple files/images upload\n\n批量文件/图片上传,`autoUpload=false` 场景下,透传“点击上传”按钮属性\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
},
"t-upload/upload-pasted-files": {
"type": "Boolean",
- "description": "allow to upload files in clipboard after pasting\n\n是否允许粘贴上传剪贴板中的文件\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
+ "description": "allow to upload files in clipboard after pasting\n\n是否允许粘贴上传剪贴板中的文件\n\ndefault: true\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
},
"t-upload/use-mock-progress": {
"type": "Boolean",
- "description": "是否在请求时间超过 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",
- "description": "file list, `UploadFile`\n\n已上传文件列表,同 `files`。TS 类型:`UploadFile`\n\ndefault: []\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
+ "description": "file list\n\n已上传文件列表,同 `files`。TS 类型:`UploadFile`\n\ndefault: []\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
},
"t-upload/with-credentials": {
"type": "Boolean",
- "description": "上传请求时是否携带 cookie\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
+ "description": "uploading request with cookie\n\n上传请求时是否携带 cookie\n\ndefault: false\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props)"
},
"t-upload/cancel-upload": {
"type": "event",
- "description": "点击「取消上传」时触发\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-events)"
+ "description": "trigger on cancel button click\n\n点击「取消上传」时触发\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-events)"
},
"t-upload/change": {
"type": "event",
- "description": "已上传文件列表发生变化时触发,`trigger` 表示触发本次的来源\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-events)"
+ "description": "trigger on uploaded files change\n\n已上传文件列表发生变化时触发,`trigger` 表示触发本次的来源\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-events)"
},
"t-upload/dragenter": {
"type": "event",
- "description": "进入拖拽区域时触发\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-events)"
+ "description": "trigger on file dragged into drag elements\n\n进入拖拽区域时触发\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-events)"
},
"t-upload/dragleave": {
"type": "event",
- "description": "离开拖拽区域时触发\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-events)"
+ "description": "trigger on file dragged leave drag elements\n\n离开拖拽区域时触发\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-events)"
},
"t-upload/drop": {
"type": "event",
- "description": "拖拽结束时触发\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-events)"
+ "description": "trigger on file dropped\n\n拖拽结束时触发\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-events)"
},
"t-upload/fail": {
"type": "event",
@@ -7249,19 +7662,19 @@
},
"t-upload/one-file-success": {
"type": "event",
- "description": "单个文件上传成功后触发,在多文件场景下会触发多次。`context.file` 表示当前上传成功的单个文件,`context.response` 表示上传请求的返回数据\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-events)"
+ "description": "trigger on file uploaded successfully\n\n单个文件上传成功后触发,在多文件场景下会触发多次。`context.file` 表示当前上传成功的单个文件,`context.response` 表示上传请求的返回数据\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-events)"
},
"t-upload/preview": {
"type": "event",
- "description": "点击图片预览时触发,文件没有预览\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-events)"
+ "description": "trigger on preview elements click\n\n点击图片预览时触发,文件没有预览\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-events)"
},
"t-upload/progress": {
"type": "event",
- "description": "上传进度变化时触发,真实进度和模拟进度都会触发。
⚠️ 原始上传请求,小文件的上传进度只有 0 和 100,故而不会触发 `progress` 事件;只有大文件才有真实的中间进度。如果你希望很小的文件也显示上传进度,保证 `useMockProgress=true` 的情况下,设置 `mockProgressDuration` 为更小的值。
参数 `options.type=real` 表示真实上传进度,`options.type=mock` 表示模拟上传进度\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-events)"
+ "description": "uploading request progress event\n\n上传进度变化时触发,真实进度和模拟进度都会触发。
⚠️ 原始上传请求,小文件的上传进度只有 0 和 100,故而不会触发 `progress` 事件;只有大文件才有真实的中间进度。如果你希望很小的文件也显示上传进度,保证 `useMockProgress=true` 的情况下,设置 `mockProgressDuration` 为更小的值。
参数 `options.type=real` 表示真实上传进度,`options.type=mock` 表示模拟上传进度\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-events)"
},
"t-upload/remove": {
"type": "event",
- "description": "移除文件时触发\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-events)"
+ "description": "trigger on file removed\n\n移除文件时触发\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-events)"
},
"t-upload/select-change": {
"type": "event",
@@ -7269,7 +7682,7 @@
},
"t-upload/success": {
"type": "event",
- "description": "上传成功后触发。
`context.currentFiles` 表示当次请求上传的文件(无论成功或失败),`context.fileList` 表示上传成功后的文件,`context.response` 表示上传请求的返回数据。
`context.results` 表示单次选择全部文件上传成功后的响应结果,可以在这个字段存在时提醒用户上传成功或失败。
\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-events)"
+ "description": "trigger on all files uploaded successfully\n\n上传成功后触发。
`context.currentFiles` 表示当次请求上传的文件(无论成功或失败),`context.fileList` 表示上传成功后的文件,`context.response` 表示上传请求的返回数据。
`context.results` 表示单次选择全部文件上传成功后的响应结果,可以在这个字段存在时提醒用户上传成功或失败。
\n\n[docs](https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-events)"
},
"t-upload/validate": {
"type": "event",
diff --git a/helper/tags.json b/helper/tags.json
index 6adcadf81d..59d8062a98 100644
--- a/helper/tags.json
+++ b/helper/tags.json
@@ -32,6 +32,7 @@
"bounds",
"container",
"cursor",
+ "get-current-anchor",
"size",
"target-offset",
"change",
@@ -151,6 +152,8 @@
},
"t-base-table": {
"attributes": [
+ "active-row-keys",
+ "active-row-type",
"allow-resize-column-width",
"attach",
"bordered",
@@ -159,6 +162,7 @@
"columns",
"data",
"disable-data-page",
+ "disable-space-inactive-row",
"empty",
"first-full-row",
"fixed-rows",
@@ -171,9 +175,12 @@
"height",
"horizontal-scroll-affixed-bottom",
"hover",
+ "keyboard-row-hover",
"last-full-row",
+ "lazy-load",
"loading",
"loading-props",
+ "locale",
"max-height",
"pagination",
"pagination-affixed-bottom",
@@ -191,6 +198,8 @@
"table-layout",
"top-content",
"vertical-align",
+ "active-change",
+ "active-row-action",
"cell-click",
"column-resize-change",
"page-change",
@@ -229,6 +238,8 @@
"indeterminate-selected-row-keys",
"multiple-sort",
"reserve-selected-row-on-paginate",
+ "row-selection-allow-uncheck",
+ "row-selection-type",
"select-on-row-click",
"selected-row-keys",
"show-sort-column-bg-color",
@@ -339,6 +350,7 @@
"header-bordered",
"hover-shadow",
"loading",
+ "loading-props",
"shadow",
"size",
"status",
@@ -351,6 +363,7 @@
"t-cascader": {
"attributes": [
"autofocus",
+ "borderless",
"check-props",
"check-strictly",
"clearable",
@@ -374,6 +387,7 @@
"placeholder",
"popup-props",
"popup-visible",
+ "prefix-icon",
"readonly",
"reserve-keyword",
"select-input-props",
@@ -401,15 +415,29 @@
"t-check-tag": {
"attributes": [
"checked",
+ "checked-props",
"content",
"default",
"disabled",
"size",
+ "unchecked-props",
+ "value",
"change",
"click"
],
"description": "CheckTag\n\n可选标签\n\n[docs](https://tdesign.tencent.com/vue-next/components/check-tag)"
},
+ "t-check-tag-group": {
+ "attributes": [
+ "checked-props",
+ "multiple",
+ "options",
+ "unchecked-props",
+ "value",
+ "change"
+ ],
+ "description": "CheckTagGroup\n\n可选标签组\n\n[docs](https://tdesign.tencent.com/vue-next/components/check-tag-group)"
+ },
"t-checkbox": {
"attributes": [
"check-all",
@@ -418,16 +446,18 @@
"disabled",
"indeterminate",
"label",
+ "lazy-load",
"name",
"readonly",
"value",
- "change",
- "click"
+ "change"
],
"description": "Checkbox\n\n多选框\n\n[docs](https://tdesign.tencent.com/vue-next/components/checkbox)"
},
"t-checkbox-group": {
"attributes": [
+ "disabled",
+ "lazy-load",
"max",
"name",
"options",
@@ -566,6 +596,7 @@
"t-date-range-picker": {
"attributes": [
"allow-input",
+ "cancel-range-select-limit",
"clearable",
"default-time",
"disable-date",
@@ -615,6 +646,9 @@
},
"t-description-item": {
"attributes": [
+ "align",
+ "content",
+ "default",
"label",
"span"
],
@@ -622,13 +656,17 @@
},
"t-descriptions": {
"attributes": [
+ "align",
"bordered",
"colon",
- "columns",
- "content-align",
- "label-align",
+ "column",
+ "content-style",
+ "item-layout",
+ "items",
+ "label-style",
"layout",
- "size"
+ "size",
+ "title"
],
"description": "Descriptions\n\n描述列表\n\n[docs](https://tdesign.tencent.com/vue-next/components/descriptions)"
},
@@ -641,6 +679,7 @@
"close-on-esc-keydown",
"close-on-overlay-click",
"confirm-btn",
+ "confirm-loading",
"confirm-on-enter",
"default",
"destroy-on-close",
@@ -723,6 +762,8 @@
"max-height",
"min-column-width",
"options",
+ "panel-bottom-content",
+ "panel-top-content",
"placement",
"popup-props",
"trigger",
@@ -743,12 +784,25 @@
],
"description": "DropdownItem\n\n下拉菜单选项\n\n[docs](https://tdesign.tencent.com/vue-next/components/dropdown-item)"
},
+ "t-empty": {
+ "attributes": [
+ "action",
+ "description",
+ "image",
+ "image-style",
+ "title",
+ "type"
+ ],
+ "description": "Empty\n\n空状态\n\n[docs](https://tdesign.tencent.com/vue-next/components/empty)"
+ },
"t-enhanced-table": {
"attributes": [
"before-drag-sort",
+ "expanded-tree-nodes",
"tree",
"tree-expand-and-fold-icon",
"abnormal-drag-sort",
+ "expanded-tree-nodes-change",
"tree-expand-change"
],
"description": "EnhancedTable\n\n增强表格\n\n[docs](https://tdesign.tencent.com/vue-next/components/enhanced-table)"
@@ -871,6 +925,7 @@
"attributes": [
"alt",
"error",
+ "fallback",
"fit",
"gallery",
"lazy",
@@ -879,6 +934,7 @@
"overlay-trigger",
"placeholder",
"position",
+ "referrerpolicy",
"shape",
"src",
"srcset",
@@ -890,6 +946,7 @@
"t-image-viewer": {
"attributes": [
"close-btn",
+ "close-on-esc-keydown",
"close-on-overlay",
"draggable",
"image-scale",
@@ -915,6 +972,7 @@
"auto-width",
"autocomplete",
"autofocus",
+ "borderless",
"clearable",
"disabled",
"format",
@@ -1011,6 +1069,7 @@
"content",
"default",
"disabled",
+ "download",
"hover",
"href",
"prefix-icon",
@@ -1030,6 +1089,7 @@
"header",
"layout",
"scroll",
+ "scroll",
"size",
"split",
"stripe",
@@ -1195,6 +1255,14 @@
],
"description": "PaginationMini\n\n迷你分页\n\n[docs](https://tdesign.tencent.com/vue-next/components/pagination-mini)"
},
+ "t-paragraph": {
+ "attributes": [
+ "content",
+ "default",
+ "ellipsis"
+ ],
+ "description": "Paragraph\n\n段落\n\n[docs](https://tdesign.tencent.com/vue-next/components/paragraph)"
+ },
"t-popconfirm": {
"attributes": [
"cancel-btn",
@@ -1216,7 +1284,6 @@
"t-popup": {
"attributes": [
"attach",
- "close-btn",
"content",
"default",
"delay",
@@ -1234,6 +1301,7 @@
"trigger-element",
"visible",
"z-index",
+ "overlay-click",
"scroll",
"scroll-to-bottom",
"visible-change"
@@ -1262,6 +1330,8 @@
"indeterminate-selected-row-keys",
"multiple-sort",
"reserve-selected-row-on-paginate",
+ "row-selection-allow-uncheck",
+ "row-selection-type",
"select-on-row-click",
"selected-row-keys",
"show-sort-column-bg-color",
@@ -1307,6 +1377,7 @@
"disabled",
"label",
"name",
+ "readonly",
"value",
"change",
"click"
@@ -1321,6 +1392,7 @@
"disabled",
"label",
"name",
+ "readonly",
"value",
"change",
"click"
@@ -1464,6 +1536,7 @@
"min-collapsed-num",
"multiple",
"options",
+ "options-layout",
"panel-bottom-content",
"panel-top-content",
"placeholder",
@@ -1568,7 +1641,8 @@
"step",
"tooltip-props",
"value",
- "change"
+ "change",
+ "change-end"
],
"description": "Slider\n\n滑块\n\n[docs](https://tdesign.tencent.com/vue-next/components/slider)"
},
@@ -1701,6 +1775,7 @@
"disabled",
"draggable",
"label",
+ "lazy",
"panel",
"removable",
"value",
@@ -1757,6 +1832,7 @@
"max",
"min-collapsed-num",
"placeholder",
+ "prefix-icon",
"readonly",
"size",
"status",
@@ -1782,6 +1858,24 @@
],
"description": "TagInput\n\n标签输入框\n\n[docs](https://tdesign.tencent.com/vue-next/components/tag-input)"
},
+ "t-text": {
+ "attributes": [
+ "code",
+ "content",
+ "copyable",
+ "default",
+ "delete",
+ "disabled",
+ "ellipsis",
+ "italic",
+ "keyboard",
+ "mark",
+ "strong",
+ "theme",
+ "underline"
+ ],
+ "description": "Text\n\n文本\n\n[docs](https://tdesign.tencent.com/vue-next/components/text)"
+ },
"t-textarea": {
"attributes": [
"allow-input-over-max",
@@ -1875,10 +1969,20 @@
"dot-color",
"label",
"label-align",
- "loading"
+ "loading",
+ "click"
],
"description": "TimelineItem\n\n时间轴\n\n[docs](https://tdesign.tencent.com/vue-next/components/timeline-item)"
},
+ "t-title": {
+ "attributes": [
+ "content",
+ "default",
+ "ellipsis",
+ "level"
+ ],
+ "description": "Title\n\n标题\n\n[docs](https://tdesign.tencent.com/vue-next/components/title)"
+ },
"t-tooltip": {
"attributes": [
"delay",
@@ -1915,6 +2019,7 @@
"pagination",
"search",
"show-check-all",
+ "target-draggable",
"target-sort",
"title",
"transfer-item",
@@ -2038,6 +2143,7 @@
"auto-upload",
"before-all-files-upload",
"before-upload",
+ "cancel-upload-button",
"data",
"default",
"disabled",
@@ -2049,6 +2155,7 @@
"format-request",
"format-response",
"headers",
+ "image-viewer-props",
"input-attributes",
"is-batch-upload",
"locale",
@@ -2059,6 +2166,8 @@
"name",
"placeholder",
"request-method",
+ "show-image-file-name",
+ "show-thumbnail",
"show-upload-progress",
"size-limit",
"status",
@@ -2067,6 +2176,7 @@
"trigger",
"trigger-button-props",
"upload-all-files-in-one-request",
+ "upload-button",
"upload-pasted-files",
"use-mock-progress",
"value",
diff --git a/helper/web-types.json b/helper/web-types.json
index e67f3b7502..cd69b5d124 100644
--- a/helper/web-types.json
+++ b/helper/web-types.json
@@ -45,7 +45,7 @@
},
{
"name": "offset-bottom",
- "description": " 距离容器顶部达到指定距离后触发固定",
+ "description": "When the distance from the bottom of the container reaches the specified distance, the trigger is fixed\n\n 距离容器底部达到指定距离后触发固定",
"doc-url": "https://tdesign.tencent.com/vue-next/components/affix?tab=api#affix-props",
"type": [
"Number"
@@ -54,7 +54,7 @@
},
{
"name": "offset-top",
- "description": " 距离容器底部达到指定距离后触发固定",
+ "description": "When the distance from the top of the container reaches the specified distance, the trigger is fixed\n\n 距离容器顶部达到指定距离后触发固定",
"doc-url": "https://tdesign.tencent.com/vue-next/components/affix?tab=api#affix-props",
"type": [
"Number"
@@ -280,6 +280,14 @@
"TNode"
]
},
+ {
+ "name": "get-current-anchor",
+ "description": "Custom Highlighted Anchor Points\n\n自定义高亮的锚点\t",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/anchor?tab=api#anchor-props",
+ "type": [
+ "Function"
+ ]
+ },
{
"name": "size",
"description": "组件尺寸,small(120px),medium(200px),large(320px)",
@@ -1247,6 +1255,23 @@
"description": "BaseTable\n\n基础表格",
"doc-url": "https://tdesign.tencent.com/vue-next/components/base-table",
"props": [
+ {
+ "name": "active-row-keys",
+ "description": "keys of highlight rows, used to mock area selection behavior, just like macOS or windows area selection\n\n高亮行,支持鼠标键盘操作(Shift)连续高亮行,可用于处理行选中等批量操作,模拟操作系统区域选择行为",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props",
+ "type": [
+ "Array"
+ ],
+ "default": "[]"
+ },
+ {
+ "name": "active-row-type",
+ "description": "make nodes can be highlight on clicked\n\n默认不会高亮点击行,`activeRowType=single` 表示鼠标点击仅允许同时高亮一行,Shift 键盘操作加鼠标操作依然可以高亮多行,因为这属于明显的区域选择行为。`activeRowType= multiple ` 表示允许鼠标点击同时高亮多行",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props",
+ "type": [
+ "String"
+ ]
+ },
{
"name": "allow-resize-column-width",
"description": "allow to resize column width\n\n是否允许调整列宽。请更为使用 `resizable`",
@@ -1319,6 +1344,15 @@
],
"default": "false"
},
+ {
+ "name": "disable-space-inactive-row",
+ "description": "can not set row to be inactive with Space keydown\n\n默认重复按下 Space 键可取消当前行高亮,是否禁用取消",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props",
+ "type": [
+ "Boolean"
+ ],
+ "default": "undefined"
+ },
{
"name": "empty",
"description": "empty text or empty element\n\n空表格呈现样式,支持全局配置 `GlobalConfigProvider`",
@@ -1427,6 +1461,15 @@
],
"default": "false"
},
+ {
+ "name": "keyboard-row-hover",
+ "description": "make table row to be hover by keydown ArrowUp/ArrowDown\n\n键盘操作行显示悬浮效果,一般用于键盘操作行选中、行展开、行高亮等功能",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props",
+ "type": [
+ "Boolean"
+ ],
+ "default": "true"
+ },
{
"name": "last-full-row",
"description": "尾行内容,横跨所有列",
@@ -1436,6 +1479,15 @@
"TNode"
]
},
+ {
+ "name": "lazy-load",
+ "description": "load table content when it entering the visible area, all elements in table are not rendered before it become visible\n\n是否启用整个表格元素的懒加载,当页面滚动到可视区域后再渲染表格。注意和表格内部行滚动懒加载的区别,内部行滚动无论表格是否在可视区域都会默认渲染第一屏的行元素",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props",
+ "type": [
+ "Boolean"
+ ],
+ "default": "false"
+ },
{
"name": "loading",
"description": "loading state table\n\n加载中状态。值为 `true` 会显示默认加载中样式,可以通过 Function 和 插槽 自定义加载状态呈现内容和样式。值为 `false` 则会取消加载状态",
@@ -1454,6 +1506,14 @@
"Object"
]
},
+ {
+ "name": "locale",
+ "description": "table locale config\n\n语言配置",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props",
+ "type": [
+ "Object"
+ ]
+ },
{
"name": "max-height",
"description": "table max height\n\n表格最大高度,超出后会出现滚动条。示例:100, '30%', '300'。值为数字类型,会自动加上单位 px",
@@ -1482,7 +1542,7 @@
},
{
"name": "resizable",
- "description": "allow to resize column width\n\n是否允许调整列宽。如果想要配置宽度可调整的最小值和最大值,请使用 `column.resize`,示例:`columns: [{ resize: { minWidth: 120, maxWidth: 300 } }]`。
默认规则:因列宽超出存在横向滚动条时,列宽调整仅影响当前列宽和总列宽;表格列较少没有横向滚动条时,列宽调整表现为自身宽度和相邻宽度变化",
+ "description": "allow to resize column width, set `tableLayout=fixed` would be better\n\n是否允许调整列宽,设置 `tableLayout=fixed` 效果更友好,此时不允许通过 CSS 设置 `table`元素宽度,也不允许设置 `tableContentWidth`。一般不建议在列宽调整场景使用 `tableLayout: auto`。如果想要配置宽度可调整的最小值和最大值,请使用 `column.resize`,示例:`columns: [{ resize: { minWidth: 120, maxWidth: 300 } }]`。
默认规则:因列宽超出存在横向滚动条时,列宽调整仅影响当前列宽和总列宽;表格列较少没有横向滚动条时,列宽调整表现为自身宽度和相邻宽度变化",
"doc-url": "https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props",
"type": [
"Boolean"
@@ -1594,7 +1654,7 @@
},
{
"name": "table-layout",
- "description": "table-layout css properties\n\n表格布局方式",
+ "description": "table-layout css properties, [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout). set value to be `fixed` on `resizable=true` please\n\n表格布局方式,`` 元素原生属性。[MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout)。注意,在列宽调整下场景只能使用 `fixed` 模式",
"doc-url": "https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props",
"type": [
"String"
@@ -1647,6 +1707,16 @@
],
"js": {
"events": [
+ {
+ "name": "active-change",
+ "description": "trigger on row active change\n\n高亮行发生变化时触发,泛型 T 指表格数据类型。参数 `activeRowList` 表示所有高亮行数据, `currentRowData` 表示当前操作行数据",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-events"
+ },
+ {
+ "name": "active-row-action",
+ "description": "keyboard operation event actions. used to mock selection behavior, just like macOS or windows\n\n键盘操作事件。开启行高亮功能后,会自动开启键盘操作功能,如:通过键盘(Shift)或鼠标操作连续选中高亮行时触发,一般用于处理行选中等批量操作,模拟操作系统区域选择行为",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-events"
+ },
{
"name": "cell-click",
"description": "trigger on cell clicked\n\n单元格点击时触发",
@@ -1795,6 +1865,23 @@
"description": "BaseTable\n\n基础表格",
"doc-url": "https://tdesign.tencent.com/vue-next/components/base-table",
"props": [
+ {
+ "name": "active-row-keys",
+ "description": "keys of highlight rows, used to mock area selection behavior, just like macOS or windows area selection\n\n高亮行,支持鼠标键盘操作(Shift)连续高亮行,可用于处理行选中等批量操作,模拟操作系统区域选择行为",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props",
+ "type": [
+ "Array"
+ ],
+ "default": "[]"
+ },
+ {
+ "name": "active-row-type",
+ "description": "make nodes can be highlight on clicked\n\n默认不会高亮点击行,`activeRowType=single` 表示鼠标点击仅允许同时高亮一行,Shift 键盘操作加鼠标操作依然可以高亮多行,因为这属于明显的区域选择行为。`activeRowType= multiple ` 表示允许鼠标点击同时高亮多行",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props",
+ "type": [
+ "String"
+ ]
+ },
{
"name": "allow-resize-column-width",
"description": "allow to resize column width\n\n是否允许调整列宽。请更为使用 `resizable`",
@@ -1867,6 +1954,15 @@
],
"default": "false"
},
+ {
+ "name": "disable-space-inactive-row",
+ "description": "can not set row to be inactive with Space keydown\n\n默认重复按下 Space 键可取消当前行高亮,是否禁用取消",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props",
+ "type": [
+ "Boolean"
+ ],
+ "default": "undefined"
+ },
{
"name": "empty",
"description": "empty text or empty element\n\n空表格呈现样式,支持全局配置 `GlobalConfigProvider`",
@@ -1975,6 +2071,15 @@
],
"default": "false"
},
+ {
+ "name": "keyboard-row-hover",
+ "description": "make table row to be hover by keydown ArrowUp/ArrowDown\n\n键盘操作行显示悬浮效果,一般用于键盘操作行选中、行展开、行高亮等功能",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props",
+ "type": [
+ "Boolean"
+ ],
+ "default": "true"
+ },
{
"name": "last-full-row",
"description": "尾行内容,横跨所有列",
@@ -1984,6 +2089,15 @@
"TNode"
]
},
+ {
+ "name": "lazy-load",
+ "description": "load table content when it entering the visible area, all elements in table are not rendered before it become visible\n\n是否启用整个表格元素的懒加载,当页面滚动到可视区域后再渲染表格。注意和表格内部行滚动懒加载的区别,内部行滚动无论表格是否在可视区域都会默认渲染第一屏的行元素",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props",
+ "type": [
+ "Boolean"
+ ],
+ "default": "false"
+ },
{
"name": "loading",
"description": "loading state table\n\n加载中状态。值为 `true` 会显示默认加载中样式,可以通过 Function 和 插槽 自定义加载状态呈现内容和样式。值为 `false` 则会取消加载状态",
@@ -2002,6 +2116,14 @@
"Object"
]
},
+ {
+ "name": "locale",
+ "description": "table locale config\n\n语言配置",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props",
+ "type": [
+ "Object"
+ ]
+ },
{
"name": "max-height",
"description": "table max height\n\n表格最大高度,超出后会出现滚动条。示例:100, '30%', '300'。值为数字类型,会自动加上单位 px",
@@ -2030,7 +2152,7 @@
},
{
"name": "resizable",
- "description": "allow to resize column width\n\n是否允许调整列宽。如果想要配置宽度可调整的最小值和最大值,请使用 `column.resize`,示例:`columns: [{ resize: { minWidth: 120, maxWidth: 300 } }]`。
默认规则:因列宽超出存在横向滚动条时,列宽调整仅影响当前列宽和总列宽;表格列较少没有横向滚动条时,列宽调整表现为自身宽度和相邻宽度变化",
+ "description": "allow to resize column width, set `tableLayout=fixed` would be better\n\n是否允许调整列宽,设置 `tableLayout=fixed` 效果更友好,此时不允许通过 CSS 设置 `table`元素宽度,也不允许设置 `tableContentWidth`。一般不建议在列宽调整场景使用 `tableLayout: auto`。如果想要配置宽度可调整的最小值和最大值,请使用 `column.resize`,示例:`columns: [{ resize: { minWidth: 120, maxWidth: 300 } }]`。
默认规则:因列宽超出存在横向滚动条时,列宽调整仅影响当前列宽和总列宽;表格列较少没有横向滚动条时,列宽调整表现为自身宽度和相邻宽度变化",
"doc-url": "https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props",
"type": [
"Boolean"
@@ -2142,7 +2264,7 @@
},
{
"name": "table-layout",
- "description": "table-layout css properties\n\n表格布局方式",
+ "description": "table-layout css properties, [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout). set value to be `fixed` on `resizable=true` please\n\n表格布局方式,`` 元素原生属性。[MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout)。注意,在列宽调整下场景只能使用 `fixed` 模式",
"doc-url": "https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-props",
"type": [
"String"
@@ -2195,6 +2317,16 @@
],
"js": {
"events": [
+ {
+ "name": "active-change",
+ "description": "trigger on row active change\n\n高亮行发生变化时触发,泛型 T 指表格数据类型。参数 `activeRowList` 表示所有高亮行数据, `currentRowData` 表示当前操作行数据",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-events"
+ },
+ {
+ "name": "active-row-action",
+ "description": "keyboard operation event actions. used to mock selection behavior, just like macOS or windows\n\n键盘操作事件。开启行高亮功能后,会自动开启键盘操作功能,如:通过键盘(Shift)或鼠标操作连续选中高亮行时触发,一般用于处理行选中等批量操作,模拟操作系统区域选择行为",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/base-table?tab=api#basetable-events"
+ },
{
"name": "cell-click",
"description": "trigger on cell clicked\n\n单元格点击时触发",
@@ -3170,7 +3302,7 @@
},
{
"name": "loading",
- "description": "加载状态,值为 true 会根据不同的布局显示不同的加载状态,值为 false 则表示非加载状态。也可以使用 Sketon 组件完全自定义加载态呈现内容",
+ "description": "加载状态,值为 true 会根据不同的布局显示不同的加载状态,值为 false 则表示非加载状态。也可以使用 Skeleton 组件完全自定义加载态呈现内容",
"doc-url": "https://tdesign.tencent.com/vue-next/components/card?tab=api#card-props",
"type": [
"Boolean",
@@ -3178,6 +3310,14 @@
],
"default": "false"
},
+ {
+ "name": "loading-props",
+ "description": "Loading Component Props\n\n透传加载组件(Loading)全部属性",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/card?tab=api#card-props",
+ "type": [
+ "Object"
+ ]
+ },
{
"name": "shadow",
"description": "是否显示卡片阴影,默认不显示",
@@ -3300,7 +3440,7 @@
},
{
"name": "loading",
- "description": "加载状态,值为 true 会根据不同的布局显示不同的加载状态,值为 false 则表示非加载状态。也可以使用 Sketon 组件完全自定义加载态呈现内容类型和参数:boolean | TNode",
+ "description": "加载状态,值为 true 会根据不同的布局显示不同的加载状态,值为 false 则表示非加载状态。也可以使用 Skeleton 组件完全自定义加载态呈现内容类型和参数:boolean | TNode",
"doc-url": "https://tdesign.tencent.com/vue-next/components/card?tab=api#card-props"
},
{
@@ -3331,6 +3471,15 @@
"Boolean"
]
},
+ {
+ "name": "borderless",
+ "description": "无边框模式",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/cascader?tab=api#cascader-props",
+ "type": [
+ "Boolean"
+ ],
+ "default": "false"
+ },
{
"name": "check-props",
"description": "参考 checkbox 组件 API",
@@ -3409,7 +3558,7 @@
},
{
"name": "keys",
- "description": "用来定义 value / label / children 在 `options` 中对应的字段别名",
+ "description": "用来定义 value / label / children / disabled 在 `options` 中对应的字段别名",
"doc-url": "https://tdesign.tencent.com/vue-next/components/cascader?tab=api#cascader-props",
"type": [
"Object"
@@ -3528,6 +3677,14 @@
"Boolean"
]
},
+ {
+ "name": "prefix-icon",
+ "description": "组件前置图标",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/cascader?tab=api#cascader-props",
+ "type": [
+ "TNode"
+ ]
+ },
{
"name": "readonly",
"description": "只读状态,值为真会隐藏输入框,且无法打开下拉框",
@@ -3687,7 +3844,7 @@
},
{
"name": "value-display",
- "description": "`MouseEvent`\n\n【开发中】自定义选中项呈现的内容",
+ "description": "`MouseEvent`\n\n自定义选中项呈现的内容",
"doc-url": "https://tdesign.tencent.com/vue-next/components/cascader?tab=api#cascader-props",
"type": [
"String",
@@ -3803,6 +3960,16 @@
"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": "prefixIcon",
+ "description": "组件前置图标",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/cascader?tab=api#cascader-props"
+ },
+ {
+ "name": "prefix-icon",
+ "description": "组件前置图标",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/cascader?tab=api#cascader-props"
+ },
{
"name": "suffix",
"description": "后置图标前的后置内容",
@@ -3825,12 +3992,12 @@
},
{
"name": "valueDisplay",
- "description": "`MouseEvent`\n\n【开发中】自定义选中项呈现的内容类型和参数:string | TNode<{ value: CascaderValue; onClose: (index: number) => void; displayValue?: CascaderValue }>",
+ "description": "`MouseEvent`\n\n自定义选中项呈现的内容类型和参数:string | TNode<{ value: CascaderValue; onClose: (index: number) => void; displayValue?: CascaderValue; selectedOptions: CascaderOption[] }>",
"doc-url": "https://tdesign.tencent.com/vue-next/components/cascader?tab=api#cascader-props"
},
{
"name": "value-display",
- "description": "`MouseEvent`\n\n【开发中】自定义选中项呈现的内容类型和参数:string | TNode<{ value: CascaderValue; onClose: (index: number) => void; displayValue?: CascaderValue }>",
+ "description": "`MouseEvent`\n\n自定义选中项呈现的内容类型和参数:string | TNode<{ value: CascaderValue; onClose: (index: number) => void; displayValue?: CascaderValue; selectedOptions: CascaderOption[] }>",
"doc-url": "https://tdesign.tencent.com/vue-next/components/cascader?tab=api#cascader-props"
}
]
@@ -3851,6 +4018,14 @@
"Boolean"
]
},
+ {
+ "name": "checked-props",
+ "description": "used to set checked tag props\n\n透传标签选中态属性",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/check-tag?tab=api#checktag-props",
+ "type": [
+ "Object"
+ ]
+ },
{
"name": "content",
"description": "组件子元素;传入数组时:[选中内容,非选中内容]",
@@ -3902,6 +4077,23 @@
"name": "large"
}
]
+ },
+ {
+ "name": "unchecked-props",
+ "description": "used to set unchecked tag props\n\n透传标签未选态属性",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/check-tag?tab=api#checktag-props",
+ "type": [
+ "Object"
+ ]
+ },
+ {
+ "name": "value",
+ "description": "tag unique key\n\n标签唯一标识,一般用于标签组场景,单个可选择标签无需设置",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/check-tag?tab=api#checktag-props",
+ "type": [
+ "String",
+ "Number"
+ ]
}
],
"js": {
@@ -3931,6 +4123,68 @@
}
]
},
+ {
+ "name": "t-check-tag-group",
+ "source": {
+ "symbol": "CheckTagGroup"
+ },
+ "description": "CheckTagGroup\n\n可选标签组",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/check-tag-group",
+ "props": [
+ {
+ "name": "checked-props",
+ "description": "used to set checked tag props\n\n透传标签选中态属性",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/check-tag-group?tab=api#checktaggroup-props",
+ "type": [
+ "Object"
+ ]
+ },
+ {
+ "name": "multiple",
+ "description": "allow to select multiple tags\n\n是否支持选中多个标签",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/check-tag-group?tab=api#checktaggroup-props",
+ "type": [
+ "Boolean"
+ ],
+ "default": "false"
+ },
+ {
+ "name": "options",
+ "description": "tag list\n\n标签选项列表",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/check-tag-group?tab=api#checktaggroup-props",
+ "type": [
+ "Array"
+ ]
+ },
+ {
+ "name": "unchecked-props",
+ "description": "used to set unchecked tag props\n\n透传标签未选态属性",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/check-tag-group?tab=api#checktaggroup-props",
+ "type": [
+ "Object"
+ ]
+ },
+ {
+ "name": "value",
+ "description": "selected tag value list\n\n选中标签值",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/check-tag-group?tab=api#checktaggroup-props",
+ "type": [
+ "Array"
+ ],
+ "default": "[]"
+ }
+ ],
+ "js": {
+ "events": [
+ {
+ "name": "change",
+ "description": "",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/check-tag-group?tab=api#checktaggroup-events"
+ }
+ ]
+ },
+ "slots": []
+ },
{
"name": "t-checkbox",
"source": {
@@ -3993,6 +4247,15 @@
"TNode"
]
},
+ {
+ "name": "lazy-load",
+ "description": "load checkbox content when it entering the visible area\n\n是否启用懒加载。数据量大时建议开启;加载复杂内容或大量图片时建议开启",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/checkbox?tab=api#checkbox-props",
+ "type": [
+ "Boolean"
+ ],
+ "default": "false"
+ },
{
"name": "name",
"description": "HTML 元素原生属性",
@@ -4027,11 +4290,6 @@
"name": "change",
"description": "值变化时触发",
"doc-url": "https://tdesign.tencent.com/vue-next/components/checkbox?tab=api#checkbox-events"
- },
- {
- "name": "click",
- "description": "trigger on click\n\n点击时出发,一般用于外层阻止冒泡场景",
- "doc-url": "https://tdesign.tencent.com/vue-next/components/checkbox?tab=api#checkbox-events"
}
]
},
@@ -4056,6 +4314,24 @@
"description": "CheckboxGroup\n\n多选框组",
"doc-url": "https://tdesign.tencent.com/vue-next/components/checkbox-group",
"props": [
+ {
+ "name": "disabled",
+ "description": "是否禁用组件,默认为 false。优先级:Form.disabled < CheckboxGroup.disabled < Checkbox.disabled",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/checkbox-group?tab=api#checkboxgroup-props",
+ "type": [
+ "Boolean"
+ ],
+ "default": "undefined"
+ },
+ {
+ "name": "lazy-load",
+ "description": "load checkbox content when it entering the visible area\n\n是否启用懒加载。子组件 Checkbox 数据量大时建议开启;加载复杂内容或大量图片时建议开启",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/checkbox-group?tab=api#checkboxgroup-props",
+ "type": [
+ "Boolean"
+ ],
+ "default": "false"
+ },
{
"name": "max",
"description": "支持最多选中的数量",
@@ -4239,7 +4515,7 @@
"props": [
{
"name": "borderless",
- "description": "是否为无边框模式",
+ "description": "无边框模式",
"doc-url": "https://tdesign.tencent.com/vue-next/components/collapse?tab=api#collapse-props",
"type": [
"Boolean"
@@ -5215,6 +5491,15 @@
],
"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`时,则取消该限制。",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/date-range-picker?tab=api#daterangepicker-props",
+ "type": [
+ "Boolean"
+ ],
+ "default": "false"
+ },
{
"name": "clearable",
"description": "是否显示清除按钮",
@@ -5679,17 +5964,57 @@
"doc-url": "https://tdesign.tencent.com/vue-next/components/description-item",
"props": [
{
- "name": "label",
- "description": "label of description item\n\n描述项字段名",
+ "name": "align",
+ "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",
- "TNode"
+ "String"
+ ],
+ "attribute-value": {
+ "type": "enum"
+ },
+ "values": [
+ {
+ "name": "top"
+ },
+ {
+ "name": "middle"
+ },
+ {
+ "name": "bottom"
+ }
]
},
{
- "name": "span",
- "description": "width count\n\n占用的宽度数量",
+ "name": "content",
+ "description": "content of description item\n\n描述项内容",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/description-item?tab=api#descriptionitem-props",
+ "type": [
+ "String",
+ "TNode"
+ ]
+ },
+ {
+ "name": "default",
+ "description": "content of description item\n\n描述项内容,同 `content`",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/description-item?tab=api#descriptionitem-props",
+ "type": [
+ "String",
+ "TNode"
+ ]
+ },
+ {
+ "name": "label",
+ "description": "label of description item\n\n描述项标签",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/description-item?tab=api#descriptionitem-props",
+ "type": [
+ "String",
+ "TNode"
+ ]
+ },
+ {
+ "name": "span",
+ "description": "width count\n\n占用的宽度数量",
"doc-url": "https://tdesign.tencent.com/vue-next/components/description-item?tab=api#descriptionitem-props",
"type": [
"Number"
@@ -5698,9 +6023,19 @@
}
],
"slots": [
+ {
+ "name": "content",
+ "description": "content of description item\n\n描述项内容",
+ "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/description-item?tab=api#descriptionitem-props"
+ },
{
"name": "label",
- "description": "label of description item\n\n描述项字段名",
+ "description": "label of description item\n\n描述项标签",
"doc-url": "https://tdesign.tencent.com/vue-next/components/description-item?tab=api#descriptionitem-props"
}
]
@@ -5713,6 +6048,28 @@
"description": "Descriptions\n\n描述列表",
"doc-url": "https://tdesign.tencent.com/vue-next/components/descriptions",
"props": [
+ {
+ "name": "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"
+ ],
+ "attribute-value": {
+ "type": "enum"
+ },
+ "values": [
+ {
+ "name": "top"
+ },
+ {
+ "name": "middle"
+ },
+ {
+ "name": "bottom"
+ }
+ ]
+ },
{
"name": "bordered",
"description": "set description list with grey border\n\n是否带边框",
@@ -5731,8 +6088,8 @@
]
},
{
- "name": "columns",
- "description": "count of DescriptionItem in one row\n\n一行 DescriptionItem 的数量",
+ "name": "column",
+ "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"
@@ -5740,48 +6097,49 @@
"default": "2"
},
{
- "name": "content-align",
- "description": "字段值内容的对齐方式:左对齐、居中对齐",
+ "name": "content-style",
+ "description": "style of description cotent\n\n自定义描述项内容的样式",
"doc-url": "https://tdesign.tencent.com/vue-next/components/descriptions?tab=api#descriptions-props",
"type": [
- "String"
- ],
- "default": "left",
- "attribute-value": {
- "type": "enum"
- },
- "values": [
- {
- "name": "left"
- },
- {
- "name": "center"
- }
+ "Object"
]
},
{
- "name": "label-align",
- "description": "字段标签对齐方式:左对齐、右对齐、顶部对齐",
+ "name": "item-layout",
+ "description": "layout direction of description item\n\n描述项的排列方向",
"doc-url": "https://tdesign.tencent.com/vue-next/components/descriptions?tab=api#descriptions-props",
"type": [
"String"
],
- "default": "right",
+ "default": "horizontal",
"attribute-value": {
"type": "enum"
},
"values": [
{
- "name": "left"
- },
- {
- "name": "right"
+ "name": "horizontal"
},
{
- "name": "top"
+ "name": "vertical"
}
]
},
+ {
+ "name": "items",
+ "description": "list of descriptions items\n\n描述项的列表",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/descriptions?tab=api#descriptions-props",
+ "type": [
+ "Array"
+ ]
+ },
+ {
+ "name": "label-style",
+ "description": "style of description item\n\n自定义描述项标签的样式",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/descriptions?tab=api#descriptions-props",
+ "type": [
+ "Object"
+ ]
+ },
{
"name": "layout",
"description": "layout direction\n\n排列方向",
@@ -5824,9 +6182,24 @@
"name": "large"
}
]
+ },
+ {
+ "name": "title",
+ "description": "title of descriptions\n\n描述列表的标题",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/descriptions?tab=api#descriptions-props",
+ "type": [
+ "String",
+ "TNode"
+ ]
}
],
- "slots": []
+ "slots": [
+ {
+ "name": "title",
+ "description": "title of descriptions\n\n描述列表的标题",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/descriptions?tab=api#descriptions-props"
+ }
+ ]
},
{
"name": "t-dialog",
@@ -5877,7 +6250,7 @@
},
{
"name": "close-on-esc-keydown",
- "description": "按下 ESC 时是否触发对话框关闭事件",
+ "description": "trigger dialog close event on `ESC` keydown\n\n按下 ESC 时是否触发对话框关闭事件",
"doc-url": "https://tdesign.tencent.com/vue-next/components/dialog?tab=api#dialog-props",
"type": [
"Boolean"
@@ -5903,6 +6276,15 @@
"TNode"
]
},
+ {
+ "name": "confirm-loading",
+ "description": "confirm button loading status\n\n确认按钮加载状态",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/dialog?tab=api#dialog-props",
+ "type": [
+ "Boolean"
+ ],
+ "default": "undefined"
+ },
{
"name": "confirm-on-enter",
"description": "confirm on enter\n\n是否在按下回车键时,触发确认事件",
@@ -6359,7 +6741,7 @@
},
{
"name": "close-on-esc-keydown",
- "description": "按下 ESC 时是否触发抽屉关闭事件",
+ "description": "trigger drawer close event on `ESC` keydown\n\n按下 ESC 时是否触发抽屉关闭事件",
"doc-url": "https://tdesign.tencent.com/vue-next/components/drawer?tab=api#drawer-props",
"type": [
"Boolean"
@@ -6704,6 +7086,24 @@
],
"default": "[]"
},
+ {
+ "name": "panel-bottom-content",
+ "description": "bottom content of the dropdown panel\n\n面板内的底部内容",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/dropdown?tab=api#dropdown-props",
+ "type": [
+ "String",
+ "TNode"
+ ]
+ },
+ {
+ "name": "panel-top-content",
+ "description": "top content of the dropdown panel\n\n面板内的顶部内容",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/dropdown?tab=api#dropdown-props",
+ "type": [
+ "String",
+ "TNode"
+ ]
+ },
{
"name": "placement",
"description": "弹窗定位方式,可选值同 Popup 组件",
@@ -6798,7 +7198,28 @@
}
]
},
- "slots": []
+ "slots": [
+ {
+ "name": "panelBottomContent",
+ "description": "bottom content of the dropdown panel\n\n面板内的底部内容",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/dropdown?tab=api#dropdown-props"
+ },
+ {
+ "name": "panel-bottom-content",
+ "description": "bottom content of the dropdown panel\n\n面板内的底部内容",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/dropdown?tab=api#dropdown-props"
+ },
+ {
+ "name": "panelTopContent",
+ "description": "top content of the dropdown panel\n\n面板内的顶部内容",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/dropdown?tab=api#dropdown-props"
+ },
+ {
+ "name": "panel-top-content",
+ "description": "top content of the dropdown panel\n\n面板内的顶部内容",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/dropdown?tab=api#dropdown-props"
+ }
+ ]
},
{
"name": "t-dropdown-item",
@@ -6917,6 +7338,110 @@
}
]
},
+ {
+ "name": "t-empty",
+ "source": {
+ "symbol": "Empty"
+ },
+ "description": "Empty\n\n空状态",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/empty",
+ "props": [
+ {
+ "name": "action",
+ "description": "action block\n\n操作区域",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/empty?tab=api#empty-props",
+ "type": [
+ "TNode"
+ ]
+ },
+ {
+ "name": "description",
+ "description": "empty component description\n\n描述文字",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/empty?tab=api#empty-props",
+ "type": [
+ "String",
+ "TNode"
+ ]
+ },
+ {
+ "name": "image",
+ "description": "image url, or Image component props, or custom any node you need.\n\n组件图片,可以完全自定义内容。值类型为字符串时,表示图片地址;值类型为对象时,则表示透传全部属性到图片组件,示例:``",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/empty?tab=api#empty-props",
+ "type": [
+ "String",
+ "TNode"
+ ]
+ },
+ {
+ "name": "image-style",
+ "description": "pass `Cascading Style Sheets` to image element\n\n透传图片样式表",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/empty?tab=api#empty-props",
+ "type": [
+ "Object"
+ ]
+ },
+ {
+ "name": "title",
+ "description": "empty component title\n\n错误标题",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/empty?tab=api#empty-props",
+ "type": [
+ "String",
+ "TNode"
+ ]
+ },
+ {
+ "name": "type",
+ "description": "Empty component type\n\n组件类型,如:空数据/成功/失败/网络错误/建设中",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/empty?tab=api#empty-props",
+ "type": [
+ "String"
+ ],
+ "default": "empty",
+ "attribute-value": {
+ "type": "enum"
+ },
+ "values": [
+ {
+ "name": "empty"
+ },
+ {
+ "name": "success"
+ },
+ {
+ "name": "fail"
+ },
+ {
+ "name": "network-error"
+ },
+ {
+ "name": "maintenance"
+ }
+ ]
+ }
+ ],
+ "slots": [
+ {
+ "name": "action",
+ "description": "action block\n\n操作区域",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/empty?tab=api#empty-props"
+ },
+ {
+ "name": "description",
+ "description": "empty component description\n\n描述文字",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/empty?tab=api#empty-props"
+ },
+ {
+ "name": "image",
+ "description": "image url, or Image component props, or custom any node you need.\n\n组件图片,可以完全自定义内容。值类型为字符串时,表示图片地址;值类型为对象时,则表示透传全部属性到图片组件,示例:``类型和参数:string | ImageProps | TNode 【import { ImageProps } from '@Image'】",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/empty?tab=api#empty-props"
+ },
+ {
+ "name": "title",
+ "description": "empty component title\n\n错误标题",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/empty?tab=api#empty-props"
+ }
+ ]
+ },
{
"name": "t-enhanced-table",
"source": {
@@ -6933,6 +7458,15 @@
"Function"
]
},
+ {
+ "name": "expanded-tree-nodes",
+ "description": "expanded tree node row keys, row key value is from data[rowKey]\n\n展开的树形节点。非必须。在需要自由控制展开的树形节点时使用。其他场景无需设置,表格组件有内置展开逻辑",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/enhanced-table?tab=api#enhancedtable-props",
+ "type": [
+ "Array"
+ ],
+ "default": "[]"
+ },
{
"name": "tree",
"description": "tree data configs\n\n树形结构相关配置。具体属性文档查看 `TableTreeConfig` 相关描述",
@@ -6957,9 +7491,14 @@
"description": "异常拖拽排序时触发,如:树形结构中,非同层级之间的交换。`context.code` 指交换异常错误码,固定值;`context.reason` 指交换异常的原因",
"doc-url": "https://tdesign.tencent.com/vue-next/components/enhanced-table?tab=api#enhancedtable-events"
},
+ {
+ "name": "expanded-tree-nodes-change",
+ "description": "trigger on tree node expanded or folded\n\n树形结构,展开的树节点发生变化时触发,泛型 T 指表格数据类型",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/enhanced-table?tab=api#enhancedtable-events"
+ },
{
"name": "tree-expand-change",
- "description": "树形结构,用户操作引起节点展开或收起时触发,代码操作不会触发",
+ "description": "trigger on tree node expanded or folded, use `expandedTreeNodesChange` please\n\n树形结构,用户操作引起节点展开或收起时触发。请更为使用 `onExpandedTreeNodesChange`",
"doc-url": "https://tdesign.tencent.com/vue-next/components/enhanced-table?tab=api#enhancedtable-events"
}
]
@@ -7289,8 +7828,7 @@
"description": "表单字段名称",
"doc-url": "https://tdesign.tencent.com/vue-next/components/form-item?tab=api#formitem-props",
"type": [
- "String",
- "Number"
+ "String"
]
},
{
@@ -7849,6 +8387,14 @@
"TNode"
]
},
+ {
+ "name": "fallback",
+ "description": "display `fallback` image on `src` loading failed. you can also use `error` to define more complex error content\n\n图片加载失败时,显示当前链接设置的图片地址。如果要使用组件图标或完全自定义加载失败时显示的内容,请更为使用 `error`",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/image?tab=api#image-props",
+ "type": [
+ "String"
+ ]
+ },
{
"name": "fit",
"description": "图片填充模式",
@@ -7952,6 +8498,43 @@
],
"default": "center"
},
+ {
+ "name": "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?tab=api#image-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": "shape",
"description": "图片圆角类型",
@@ -7977,15 +8560,16 @@
},
{
"name": "src",
- "description": "图片链接",
+ "description": "src attribute of ``. image File can also be loaded\n\n用于显示图片的链接或原始图片文件对象",
"doc-url": "https://tdesign.tencent.com/vue-next/components/image?tab=api#image-props",
"type": [
- "String"
+ "String",
+ "File"
]
},
{
"name": "srcset",
- "description": "for `.avif` and `.webp` image url\n\n图片地址,支持特殊格式的图片,如 `.avif` 和 `.webp`",
+ "description": "for `.avif` and `.webp` image url, load `srcset` before `src`\n\n图片链接集合,用于支持特殊格式的图片,如 `.avif` 和 `.webp`。会优先加载 `srcset` 中的图片格式,浏览器不支持的情况下,加载 `src` 设置的图片地址",
"doc-url": "https://tdesign.tencent.com/vue-next/components/image?tab=api#image-props",
"type": [
"Object"
@@ -8052,6 +8636,15 @@
],
"default": "true"
},
+ {
+ "name": "close-on-esc-keydown",
+ "description": "trigger image viewer close event on `ESC` keydown\n\n按下 ESC 时是否触发图片预览器关闭事件",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/image-viewer?tab=api#imageviewer-props",
+ "type": [
+ "Boolean"
+ ],
+ "default": "true"
+ },
{
"name": "close-on-overlay",
"description": "是否在点击遮罩层时,触发预览关闭",
@@ -8071,7 +8664,7 @@
},
{
"name": "image-scale",
- "description": " 图片缩放相关配置。`imageScale.max` 缩放的最大比例;`imageScale.min` 缩放的最小比例;`imageScale.step` 缩放的步长速度",
+ "description": " 图片缩放相关配置。`imageScale.max` 缩放的最大比例;`imageScale.min` 缩放的最小比例;`imageScale.step` 缩放的步长速度; `imageScale.defaultScale` 默认的缩放比例",
"doc-url": "https://tdesign.tencent.com/vue-next/components/image-viewer?tab=api#imageviewer-props",
"type": [
"Object"
@@ -8092,7 +8685,8 @@
"doc-url": "https://tdesign.tencent.com/vue-next/components/image-viewer?tab=api#imageviewer-props",
"type": [
"Number"
- ]
+ ],
+ "default": "0"
},
{
"name": "mode",
@@ -8161,7 +8755,7 @@
},
{
"name": "visible",
- "description": "隐藏/显示预览",
+ "description": "hide or show image viewer\n\n隐藏/显示预览",
"doc-url": "https://tdesign.tencent.com/vue-next/components/image-viewer?tab=api#imageviewer-props",
"type": [
"Boolean"
@@ -8219,7 +8813,7 @@
},
{
"name": "trigger",
- "description": "trigger element\n\n触发图片预览的元素,可能是一个预览按钮,可能是一张缩略图,完全自定义类型和参数:string | TNode<{ open: () => void }>",
+ "description": "trigger element\n\n触发图片预览的元素,可能是一个预览按钮,可能是一张缩略图,完全自定义类型和参数:TNode | TNode<{ open: () => void }>",
"doc-url": "https://tdesign.tencent.com/vue-next/components/image-viewer?tab=api#imageviewer-props"
}
]
@@ -8234,7 +8828,7 @@
"props": [
{
"name": "align",
- "description": "文本内容位置,居左/居中/居右",
+ "description": "text align type\n\n文本内容位置,居左/居中/居右",
"doc-url": "https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props",
"type": [
"String"
@@ -8257,7 +8851,7 @@
},
{
"name": "allow-input-over-max",
- "description": "超出 `maxlength` 或 `maxcharacter` 之后是否允许继续输入",
+ "description": "allow to continue input on value length is over `maxlength` or `maxcharacter`\n\n超出 `maxlength` 或 `maxcharacter` 之后是否允许继续输入",
"doc-url": "https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props",
"type": [
"Boolean"
@@ -8266,7 +8860,7 @@
},
{
"name": "auto-width",
- "description": "宽度随内容自适应",
+ "description": "input width is fit to input content\n\n宽度随内容自适应",
"doc-url": "https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props",
"type": [
"Boolean"
@@ -8275,7 +8869,7 @@
},
{
"name": "autocomplete",
- "description": "是否开启自动填充功能,HTML5 原生属性,[点击查看详情](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)",
+ "description": "attribute of input element, [see here](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)\n\n是否开启自动填充功能,HTML5 原生属性,[点击查看详情](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)",
"doc-url": "https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props",
"type": [
"String"
@@ -8284,7 +8878,16 @@
},
{
"name": "autofocus",
- "description": "自动聚焦",
+ "description": "autofocus on first rendered\n\n自动聚焦",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props",
+ "type": [
+ "Boolean"
+ ],
+ "default": "false"
+ },
+ {
+ "name": "borderless",
+ "description": "input without border\n\n【开发中】无边框模式",
"doc-url": "https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props",
"type": [
"Boolean"
@@ -8293,7 +8896,7 @@
},
{
"name": "clearable",
- "description": "是否可清空",
+ "description": "show clear icon, clicked to clear input value\n\n是否可清空",
"doc-url": "https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props",
"type": [
"Boolean"
@@ -8302,7 +8905,7 @@
},
{
"name": "disabled",
- "description": "是否禁用输入框",
+ "description": "make input to be disabled\n\n是否禁用输入框",
"doc-url": "https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props",
"type": [
"Boolean"
@@ -8310,7 +8913,7 @@
},
{
"name": "format",
- "description": "指定输入框展示值的格式",
+ "description": "input value formatter, `type=number` does not work. if you need to format number, `InputNumber` Component might be better\n\n指定输入框展示值的格式。注意 `type=number` 时请勿使用,此功能建议更为使用 `InputNumber` 组件",
"doc-url": "https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props",
"type": [
"Function"
@@ -8318,7 +8921,7 @@
},
{
"name": "input-class",
- "description": "t-input 同级类名,示例:'name1 name2 name3' 或 `['name1', 'name2']` 或 `[{ 'name1': true }]`",
+ "description": "add className to the element with `t-input` class\n\nt-input 同级类名,示例:'name1 name2 name3' 或 `['name1', 'name2']` 或 `[{ 'name1': true }]`",
"doc-url": "https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props",
"type": [
"String",
@@ -8328,7 +8931,7 @@
},
{
"name": "label",
- "description": "左侧文本",
+ "description": "text on the left of input\n\n左侧文本",
"doc-url": "https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props",
"type": [
"String",
@@ -8348,6 +8951,7 @@
"description": "用户最多可以输入的文本长度,一个中文等于一个计数长度。值为空,则表示不限制输入长度。`maxcharacter` 和 `maxlength` 二选一使用",
"doc-url": "https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props",
"type": [
+ "String",
"Number"
]
},
@@ -8387,7 +8991,7 @@
},
{
"name": "show-clear-icon-on-empty",
- "description": "输入框内容为空时,悬浮状态是否显示清空按钮,默认不显示",
+ "description": "show clear icon on empty input value\n\n输入框内容为空时,悬浮状态是否显示清空按钮,默认不显示",
"doc-url": "https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props",
"type": [
"Boolean"
@@ -8405,7 +9009,7 @@
},
{
"name": "size",
- "description": "输入框尺寸",
+ "description": "make input to be different size\n\n输入框尺寸",
"doc-url": "https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props",
"type": [
"String"
@@ -8454,7 +9058,7 @@
},
{
"name": "suffix",
- "description": "后置图标前的后置内容",
+ "description": "suffix content before suffixIcon\n\n后置图标前的后置内容",
"doc-url": "https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props",
"type": [
"String",
@@ -8463,7 +9067,7 @@
},
{
"name": "suffix-icon",
- "description": "组件后置图标",
+ "description": "suffix icon of input\n\n组件后置图标",
"doc-url": "https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props",
"type": [
"TNode"
@@ -8471,7 +9075,7 @@
},
{
"name": "tips",
- "description": "输入框下方提示文本,会根据不同的 `status` 呈现不同的样式",
+ "description": "tips on the bottom of input, different `status` can make tips to be different color\n\n输入框下方提示文本,会根据不同的 `status` 呈现不同的样式",
"doc-url": "https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props",
"type": [
"String",
@@ -8480,7 +9084,7 @@
},
{
"name": "type",
- "description": "输入框类型",
+ "description": "type attribute of input element. if you are using `type=number`, `InputNumber` Component might be better\n\n输入框类型。`type=number` 仅支持最基础的数字输入功能,更多功能建议使用 `InputNumber` 组件",
"doc-url": "https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props",
"type": [
"String"
@@ -8518,13 +9122,12 @@
},
{
"name": "value",
- "description": "输入框的值",
+ "description": "input value\n\n输入框的值",
"doc-url": "https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props",
"type": [
"String",
"Number"
- ],
- "default": "''"
+ ]
}
],
"js": {
@@ -8536,7 +9139,7 @@
},
{
"name": "change",
- "description": "输入框值发生变化时触发。`trigger=initial` 表示传入的数据不符合预期,组件自动处理后触发 change 告知父组件。如:初始值长度超过 `maxlength` 限制",
+ "description": "trigger on input value changed\n\n输入框值发生变化时触发。参数 `trigger=initial` 表示传入的数据不符合预期,组件自动处理后触发 change 告知父组件。如:初始值长度超过 `maxlength` 限制",
"doc-url": "https://tdesign.tencent.com/vue-next/components/input?tab=api#input-events"
},
{
@@ -8614,7 +9217,7 @@
"slots": [
{
"name": "label",
- "description": "左侧文本",
+ "description": "text on the left of input\n\n左侧文本",
"doc-url": "https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props"
},
{
@@ -8629,22 +9232,22 @@
},
{
"name": "suffix",
- "description": "后置图标前的后置内容",
+ "description": "suffix content before suffixIcon\n\n后置图标前的后置内容",
"doc-url": "https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props"
},
{
"name": "suffixIcon",
- "description": "组件后置图标",
+ "description": "suffix icon of input\n\n组件后置图标",
"doc-url": "https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props"
},
{
"name": "suffix-icon",
- "description": "组件后置图标",
+ "description": "suffix icon of input\n\n组件后置图标",
"doc-url": "https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props"
},
{
"name": "tips",
- "description": "输入框下方提示文本,会根据不同的 `status` 呈现不同的样式",
+ "description": "tips on the bottom of input, different `status` can make tips to be different color\n\n输入框下方提示文本,会根据不同的 `status` 呈现不同的样式",
"doc-url": "https://tdesign.tencent.com/vue-next/components/input?tab=api#input-props"
}
]
@@ -9081,6 +9684,15 @@
"Boolean"
]
},
+ {
+ "name": "download",
+ "description": "Causes the browser to treat the linked URL as a download\n\n使得浏览器将链接的 URL 视为可下载资源",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/link?tab=api#link-props",
+ "type": [
+ "String",
+ "Boolean"
+ ]
+ },
{
"name": "hover",
"description": "hover link style\n\n链接悬浮态样式,有 文本颜色变化、添加下划线等 2 种方法",
@@ -9299,6 +9911,14 @@
"Object"
]
},
+ {
+ "name": "scroll",
+ "description": "lazy load and virtual scroll\n\n懒加载和虚拟滚动。为保证组件收益最大化,当数据量小于阈值 `scroll.threshold` 时,无论虚拟滚动的配置是否存在,组件内部都不会开启虚拟滚动,`scroll.threshold` 默认为 `100`",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/list?tab=api#list-props",
+ "type": [
+ "Object"
+ ]
+ },
{
"name": "size",
"description": "尺寸",
@@ -9895,6 +10515,7 @@
"type": [
"String"
],
+ "default": "_self",
"attribute-value": {
"type": "enum"
},
@@ -10680,6 +11301,56 @@
},
"slots": []
},
+ {
+ "name": "t-paragraph",
+ "source": {
+ "symbol": "Paragraph"
+ },
+ "description": "Paragraph\n\n段落",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/paragraph",
+ "props": [
+ {
+ "name": "content",
+ "description": "content of paragraph\n\n段落内容",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/paragraph?tab=api#paragraph-props",
+ "type": [
+ "String",
+ "TNode"
+ ]
+ },
+ {
+ "name": "default",
+ "description": "default slot of paragraph\n\n段落内容",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/paragraph?tab=api#paragraph-props",
+ "type": [
+ "String",
+ "TNode"
+ ]
+ },
+ {
+ "name": "ellipsis",
+ "description": "add ellipsis style\n\n是否省略展示,可通过配置参数自定义省略操作的具体功能和样式",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/paragraph?tab=api#paragraph-props",
+ "type": [
+ "Boolean",
+ "Object"
+ ],
+ "default": "false"
+ }
+ ],
+ "slots": [
+ {
+ "name": "content",
+ "description": "content of paragraph\n\n段落内容",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/paragraph?tab=api#paragraph-props"
+ },
+ {
+ "name": "default",
+ "description": "default slot of paragraph\n\n段落内容",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/paragraph?tab=api#paragraph-props"
+ }
+ ]
+ },
{
"name": "t-popconfirm",
"source": {
@@ -10916,15 +11587,6 @@
],
"default": "'body'"
},
- {
- "name": "close-btn",
- "description": "是否展示关闭按钮,值为 `true` 显示默认关闭按钮;值为 `false` 则不显示关闭按钮;也可以自定义关闭按钮",
- "doc-url": "https://tdesign.tencent.com/vue-next/components/popup?tab=api#popup-props",
- "type": [
- "Boolean",
- "TNode"
- ]
- },
{
"name": "content",
"description": "浮层里面的内容",
@@ -11101,6 +11763,11 @@
],
"js": {
"events": [
+ {
+ "name": "overlay-click",
+ "description": "trigger on popup content click\n\n内容面板点击时触发",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/popup?tab=api#popup-events"
+ },
{
"name": "scroll",
"description": "下拉选项滚动事件",
@@ -11119,16 +11786,6 @@
]
},
"slots": [
- {
- "name": "closeBtn",
- "description": "是否展示关闭按钮,值为 `true` 显示默认关闭按钮;值为 `false` 则不显示关闭按钮;也可以自定义关闭按钮",
- "doc-url": "https://tdesign.tencent.com/vue-next/components/popup?tab=api#popup-props"
- },
- {
- "name": "close-btn",
- "description": "是否展示关闭按钮,值为 `true` 显示默认关闭按钮;值为 `false` 则不显示关闭按钮;也可以自定义关闭按钮",
- "doc-url": "https://tdesign.tencent.com/vue-next/components/popup?tab=api#popup-props"
- },
{
"name": "content",
"description": "浮层里面的内容",
@@ -11349,6 +12006,33 @@
],
"default": "true"
},
+ {
+ "name": "row-selection-allow-uncheck",
+ "description": "allow to uncheck selection in table with single row selection\n\n行选中单选场景,是否允许取消选中",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/primary-table?tab=api#primarytable-props",
+ "type": [
+ "Boolean"
+ ]
+ },
+ {
+ "name": "row-selection-type",
+ "description": "single row selection, or multiple row selection\n\n行选中类型,单选或多选。效果和 `columns` 中配置的 `{ colKey: 'row-select', type: 'single' }` 一样",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/primary-table?tab=api#primarytable-props",
+ "type": [
+ "String"
+ ],
+ "attribute-value": {
+ "type": "enum"
+ },
+ "values": [
+ {
+ "name": "single"
+ },
+ {
+ "name": "multiple"
+ }
+ ]
+ },
{
"name": "select-on-row-click",
"description": "select row data on row click\n\n是否在点击整行时选中",
@@ -11359,7 +12043,7 @@
},
{
"name": "selected-row-keys",
- "description": "selected row keys, row key is from data[rowKey]\n\n选中行,控制属性。半选状态行请更为使用 `indeterminateSelectedRowKeys` 控制",
+ "description": "selected row keys, row key is from data[rowKey]\n\n选中行。半选状态行请更为使用 `indeterminateSelectedRowKeys` 控制",
"doc-url": "https://tdesign.tencent.com/vue-next/components/primary-table?tab=api#primarytable-props",
"type": [
"Array"
@@ -11742,6 +12426,33 @@
],
"default": "true"
},
+ {
+ "name": "row-selection-allow-uncheck",
+ "description": "allow to uncheck selection in table with single row selection\n\n行选中单选场景,是否允许取消选中",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/primary-table?tab=api#primarytable-props",
+ "type": [
+ "Boolean"
+ ]
+ },
+ {
+ "name": "row-selection-type",
+ "description": "single row selection, or multiple row selection\n\n行选中类型,单选或多选。效果和 `columns` 中配置的 `{ colKey: 'row-select', type: 'single' }` 一样",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/primary-table?tab=api#primarytable-props",
+ "type": [
+ "String"
+ ],
+ "attribute-value": {
+ "type": "enum"
+ },
+ "values": [
+ {
+ "name": "single"
+ },
+ {
+ "name": "multiple"
+ }
+ ]
+ },
{
"name": "select-on-row-click",
"description": "select row data on row click\n\n是否在点击整行时选中",
@@ -11752,7 +12463,7 @@
},
{
"name": "selected-row-keys",
- "description": "selected row keys, row key is from data[rowKey]\n\n选中行,控制属性。半选状态行请更为使用 `indeterminateSelectedRowKeys` 控制",
+ "description": "selected row keys, row key is from data[rowKey]\n\n选中行。半选状态行请更为使用 `indeterminateSelectedRowKeys` 控制",
"doc-url": "https://tdesign.tencent.com/vue-next/components/primary-table?tab=api#primarytable-props",
"type": [
"Array"
@@ -12122,6 +12833,15 @@
"String"
]
},
+ {
+ "name": "readonly",
+ "description": "只读状态",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/radio?tab=api#radio-props",
+ "type": [
+ "Boolean"
+ ],
+ "default": "false"
+ },
{
"name": "value",
"description": "单选按钮的值",
@@ -12222,6 +12942,15 @@
"String"
]
},
+ {
+ "name": "readonly",
+ "description": "只读状态",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/radio?tab=api#radio-props",
+ "type": [
+ "Boolean"
+ ],
+ "default": "false"
+ },
{
"name": "value",
"description": "单选按钮的值",
@@ -12948,7 +13677,7 @@
},
{
"name": "gutter",
- "description": "栅格间隔,示例:`{ xs: 8, sm: 16, md: 24}`。当数据类型为 Number 和 Object 时,用于指定横向间隔。当数据类型为数组时,第一个参数为横向间隔,第二个参数为纵向间隔, [水平间隔, 垂直间隔]",
+ "description": "栅格间隔,示例:`{ xs: 8, sm: 16, md: 24, lg: 32, xl: 32, xxl: 40 }`。当数据类型为 Number 和 Object 时,用于指定横向间隔。当数据类型为数组时,第一个参数为横向间隔,第二个参数为纵向间隔, [水平间隔, 垂直间隔]",
"doc-url": "https://tdesign.tencent.com/vue-next/components/row?tab=api#row-props",
"type": [
"Number",
@@ -13283,7 +14012,7 @@
},
{
"name": "collapsed-items",
- "description": "多选情况下,用于设置折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 collapsedItems 自定义。`value` 表示当前存在的所有标签,`collapsedTags` 表示折叠的标签,泛型 `T` 继承 `SelectOption`,表示选项数据;`count` 表示折叠的数量",
+ "description": "多选情况下,用于设置折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 collapsedItems 自定义。`value` 表示当前存在的所有标签,`collapsedTags` 表示折叠的标签,泛型 `T` 继承 `SelectOption`,表示选项数据;`count` 表示折叠的数量, `onClose` 表示移除标签",
"doc-url": "https://tdesign.tencent.com/vue-next/components/select?tab=api#select-props",
"type": [
"TNode"
@@ -13350,7 +14079,7 @@
},
{
"name": "keys",
- "description": "用来定义 value / label 在 `options` 中对应的字段别名",
+ "description": "alias option field\n\n用来定义 value / label / disabled 在 `options` 中对应的字段别名",
"doc-url": "https://tdesign.tencent.com/vue-next/components/select?tab=api#select-props",
"type": [
"Object"
@@ -13418,6 +14147,15 @@
"Array"
]
},
+ {
+ "name": "options-layout",
+ "description": "layout of options in popup\n\n下拉选项布局方式,有纵向排列和横向排列两种,默认纵向排列",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/select?tab=api#select-props",
+ "type": [
+ "String"
+ ],
+ "default": "vertical"
+ },
{
"name": "panel-bottom-content",
"description": "面板内的底部内容",
@@ -13702,12 +14440,12 @@
"slots": [
{
"name": "collapsedItems",
- "description": "多选情况下,用于设置折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 collapsedItems 自定义。`value` 表示当前存在的所有标签,`collapsedTags` 表示折叠的标签,泛型 `T` 继承 `SelectOption`,表示选项数据;`count` 表示折叠的数量类型和参数:TNode<{ value: T[]; collapsedSelectedItems: T[]; count: number }>",
+ "description": "多选情况下,用于设置折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 collapsedItems 自定义。`value` 表示当前存在的所有标签,`collapsedTags` 表示折叠的标签,泛型 `T` 继承 `SelectOption`,表示选项数据;`count` 表示折叠的数量, `onClose` 表示移除标签类型和参数:TNode<{ value: T[]; collapsedSelectedItems: T[]; count: number, onClose: (index: number) => 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` 表示折叠的数量类型和参数:TNode<{ value: T[]; collapsedSelectedItems: T[]; count: number }>",
+ "description": "多选情况下,用于设置折叠项内容,默认为 `+N`。如果需要悬浮就显示其他内容,可以使用 collapsedItems 自定义。`value` 表示当前存在的所有标签,`collapsedTags` 表示折叠的标签,泛型 `T` 继承 `SelectOption`,表示选项数据;`count` 表示折叠的数量, `onClose` 表示移除标签类型和参数:TNode<{ value: T[]; collapsedSelectedItems: T[]; count: number, onClose: (index: number) => void }>",
"doc-url": "https://tdesign.tencent.com/vue-next/components/select?tab=api#select-props"
},
{
@@ -14444,6 +15182,11 @@
"name": "change",
"description": "滑块值变化时触发",
"doc-url": "https://tdesign.tencent.com/vue-next/components/slider?tab=api#slider-events"
+ },
+ {
+ "name": "change-end",
+ "description": "triggered when the mouse button is released after dragging or clicking on the slider bar. It is suitable for scenarios where you do not want the callback to be triggered frequently during the process of dragging the slider\n\n松开拖动`mouseup` 或点击滑块条时触发,适合不希望在拖动滑块过程频繁触发回调的场景实用",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/slider?tab=api#slider-events"
}
]
},
@@ -15650,6 +16393,15 @@
"TNode"
]
},
+ {
+ "name": "lazy",
+ "description": "Enable tab lazy loading\n\n是否启用选项卡懒加载",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/tab-panel?tab=api#tabpanel-props",
+ "type": [
+ "Boolean"
+ ],
+ "default": "false"
+ },
{
"name": "panel",
"description": "用于自定义选项卡面板内容",
@@ -16185,6 +16937,14 @@
],
"default": "undefined"
},
+ {
+ "name": "prefix-icon",
+ "description": "组件前置图标",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/tag-input?tab=api#taginput-props",
+ "type": [
+ "TNode"
+ ]
+ },
{
"name": "readonly",
"description": "只读状态,值为真会隐藏标签移除按钮和输入框",
@@ -16384,6 +17144,16 @@
"description": "左侧文本",
"doc-url": "https://tdesign.tencent.com/vue-next/components/tag-input?tab=api#taginput-props"
},
+ {
+ "name": "prefixIcon",
+ "description": "组件前置图标",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/tag-input?tab=api#taginput-props"
+ },
+ {
+ "name": "prefix-icon",
+ "description": "组件前置图标",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/tag-input?tab=api#taginput-props"
+ },
{
"name": "suffix",
"description": "后置图标前的后置内容",
@@ -16421,6 +17191,167 @@
}
]
},
+ {
+ "name": "t-text",
+ "source": {
+ "symbol": "Text"
+ },
+ "description": "Text\n\n文本",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/text",
+ "props": [
+ {
+ "name": "code",
+ "description": "add code style\n\n是否添加代码样式",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/text?tab=api#text-props",
+ "type": [
+ "Boolean"
+ ],
+ "default": "false"
+ },
+ {
+ "name": "content",
+ "description": "content of text\n\n文本内容",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/text?tab=api#text-props",
+ "type": [
+ "String",
+ "TNode"
+ ]
+ },
+ {
+ "name": "copyable",
+ "description": "add copyable style\n\n是否可复制,可通过配置参数自定义复制操作的具体功能和样式",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/text?tab=api#text-props",
+ "type": [
+ "Boolean",
+ "Object"
+ ],
+ "default": "false"
+ },
+ {
+ "name": "default",
+ "description": "default slot of text\n\n文本内容",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/text?tab=api#text-props",
+ "type": [
+ "String",
+ "TNode"
+ ]
+ },
+ {
+ "name": "delete",
+ "description": "add delete line style\n\n是否添加删除线样式",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/text?tab=api#text-props",
+ "type": [
+ "Boolean"
+ ],
+ "default": "false"
+ },
+ {
+ "name": "disabled",
+ "description": "add disabled style\n\n是否添加不可用样式",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/text?tab=api#text-props",
+ "type": [
+ "Boolean"
+ ],
+ "default": "false"
+ },
+ {
+ "name": "ellipsis",
+ "description": "add ellipsis style\n\n是否省略展示,可通过配置参数自定义省略操作的具体功能和样式",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/text?tab=api#text-props",
+ "type": [
+ "Boolean",
+ "Object"
+ ],
+ "default": "false"
+ },
+ {
+ "name": "italic",
+ "description": "add italic style\n\n文本是否为斜体",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/text?tab=api#text-props",
+ "type": [
+ "Boolean"
+ ],
+ "default": "false"
+ },
+ {
+ "name": "keyboard",
+ "description": "add keyboard style\n\n是否添加键盘样式",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/text?tab=api#text-props",
+ "type": [
+ "Boolean"
+ ],
+ "default": "false"
+ },
+ {
+ "name": "mark",
+ "description": "add mark style\n\n是否添加标记样式,默认为黄色,可通过配置颜色修改标记样式,如#0052D9",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/text?tab=api#text-props",
+ "type": [
+ "String",
+ "Boolean"
+ ],
+ "default": "false"
+ },
+ {
+ "name": "strong",
+ "description": "add bold style\n\n文本是否加粗",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/text?tab=api#text-props",
+ "type": [
+ "Boolean"
+ ],
+ "default": "false"
+ },
+ {
+ "name": "theme",
+ "description": "theme of text\n\n主题",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/text?tab=api#text-props",
+ "type": [
+ "String"
+ ],
+ "attribute-value": {
+ "type": "enum"
+ },
+ "values": [
+ {
+ "name": "primary"
+ },
+ {
+ "name": "secondary"
+ },
+ {
+ "name": "success"
+ },
+ {
+ "name": "warning"
+ },
+ {
+ "name": "error"
+ }
+ ]
+ },
+ {
+ "name": "underline",
+ "description": "add underline style\n\n是否添加下划线样式",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/text?tab=api#text-props",
+ "type": [
+ "Boolean"
+ ],
+ "default": "false"
+ }
+ ],
+ "slots": [
+ {
+ "name": "content",
+ "description": "content of text\n\n文本内容",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/text?tab=api#text-props"
+ },
+ {
+ "name": "default",
+ "description": "default slot of text\n\n文本内容",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/text?tab=api#text-props"
+ }
+ ]
+ },
{
"name": "t-textarea",
"source": {
@@ -16488,6 +17419,7 @@
"description": "用户最多可以输入的字符个数",
"doc-url": "https://tdesign.tencent.com/vue-next/components/textarea?tab=api#textarea-props",
"type": [
+ "String",
"Number"
]
},
@@ -16637,7 +17569,7 @@
},
{
"name": "disable-time",
- "description": "禁用时间项",
+ "description": "disable time config function\n\n禁用时间项的配置函数",
"doc-url": "https://tdesign.tencent.com/vue-next/components/time-picker?tab=api#timepicker-props",
"type": [
"Function"
@@ -17219,6 +18151,15 @@
]
}
],
+ "js": {
+ "events": [
+ {
+ "name": "click",
+ "description": "trigger on click\n\n点击时触发",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/timeline-item?tab=api#timelineitem-events"
+ }
+ ]
+ },
"slots": [
{
"name": "content",
@@ -17237,6 +18178,88 @@
}
]
},
+ {
+ "name": "t-title",
+ "source": {
+ "symbol": "Title"
+ },
+ "description": "Title\n\n标题",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/title",
+ "props": [
+ {
+ "name": "content",
+ "description": "content of title\n\n段落内容",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/title?tab=api#title-props",
+ "type": [
+ "String",
+ "TNode"
+ ]
+ },
+ {
+ "name": "default",
+ "description": "default slot of title\n\n标题内容",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/title?tab=api#title-props",
+ "type": [
+ "String",
+ "TNode"
+ ]
+ },
+ {
+ "name": "ellipsis",
+ "description": "add ellipsis style\n\n是否省略展示,可通过配置参数自定义省略操作的具体功能和样式",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/title?tab=api#title-props",
+ "type": [
+ "Boolean",
+ "Object"
+ ],
+ "default": "false"
+ },
+ {
+ "name": "level",
+ "description": "level of title\n\n标题等级",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/title?tab=api#title-props",
+ "type": [
+ "String"
+ ],
+ "default": "h1",
+ "attribute-value": {
+ "type": "enum"
+ },
+ "values": [
+ {
+ "name": "h1"
+ },
+ {
+ "name": "h2"
+ },
+ {
+ "name": "h3"
+ },
+ {
+ "name": "h4"
+ },
+ {
+ "name": "h5"
+ },
+ {
+ "name": "h6"
+ }
+ ]
+ }
+ ],
+ "slots": [
+ {
+ "name": "content",
+ "description": "content of title\n\n段落内容",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/title?tab=api#title-props"
+ },
+ {
+ "name": "default",
+ "description": "default slot of title\n\n标题内容",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/title?tab=api#title-props"
+ }
+ ]
+ },
{
"name": "t-tooltip",
"source": {
@@ -17518,7 +18541,7 @@
},
{
"name": "keys",
- "description": "用来定义选项文本和选项值字段,示例:`{ label: 'text', value: 'id' }`,表示选项文本取 `text` 字段,选项值取 `id` 字段",
+ "description": "alias field name in data\n\n用来定义 value / label / disabled 在 `data` 中对应的字段别名,示例:`{ label: 'text', value: 'id' }`,表示选项文本取 `text` 字段,选项值取 `id` 字段",
"doc-url": "https://tdesign.tencent.com/vue-next/components/transfer?tab=api#transfer-props",
"type": [
"Object"
@@ -17563,6 +18586,15 @@
],
"default": "true"
},
+ {
+ "name": "target-draggable",
+ "description": "allowed to sort the target list by dragging\n\n是否允许通过拖拽对目标列表进行排序",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/transfer?tab=api#transfer-props",
+ "type": [
+ "Boolean"
+ ],
+ "default": "false"
+ },
{
"name": "target-sort",
"description": "目标数据列表排列顺序",
@@ -17700,7 +18732,7 @@
"props": [
{
"name": "activable",
- "description": "节点是否可高亮",
+ "description": "make nodes can be highlight\n\n节点是否可高亮",
"doc-url": "https://tdesign.tencent.com/vue-next/components/tree?tab=api#tree-props",
"type": [
"Boolean"
@@ -17788,7 +18820,7 @@
},
{
"name": "draggable",
- "description": "[开发中]节点是否可拖拽",
+ "description": "节点是否可拖拽",
"doc-url": "https://tdesign.tencent.com/vue-next/components/tree?tab=api#tree-props",
"type": [
"Boolean"
@@ -17868,7 +18900,7 @@
},
{
"name": "height",
- "description": "table height\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",
@@ -17895,7 +18927,7 @@
},
{
"name": "keys",
- "description": "用来定义 `value / label / children` 在 `data` 数据中对应的字段别名,示例:`{ value: 'key', label 'name', children: 'list' }`",
+ "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"
@@ -17941,7 +18973,7 @@
},
{
"name": "max-height",
- "description": "table max height\n\n表格最大高度,超出后会出现滚动条。示例:100, '30%', '300'。值为数字类型,会自动加上单位 px",
+ "description": "The max height of tree. Scrollbar will appear after the content is overflow. Examples: 100, '30%', '300'. \n\n树的最大高度,超出后会出现滚动条。示例:100, '30%', '300'。值为数字类型,会自动加上单位 px",
"doc-url": "https://tdesign.tencent.com/vue-next/components/tree?tab=api#tree-props",
"type": [
"String",
@@ -17975,7 +19007,7 @@
},
{
"name": "value",
- "description": "选中值(组件为可选状态时)",
+ "description": "选中值,组件为可选状态时有效",
"doc-url": "https://tdesign.tencent.com/vue-next/components/tree?tab=api#tree-props",
"type": [
"Array"
@@ -18207,7 +19239,7 @@
},
{
"name": "keys",
- "description": "用来定义 `value / label / children` 在 `data` 数据中对应的字段别名,示例:`{ value: 'key', label 'name', children: 'list' }`",
+ "description": "alias filed name in data\n\n用来定义 `value / label / disabled / children` 在 `data` 数据中对应的字段别名,示例:`{ value: 'key', label: 'name', children: 'list' }`",
"doc-url": "https://tdesign.tencent.com/vue-next/components/tree-select?tab=api#treeselect-props",
"type": [
"Object"
@@ -18636,7 +19668,7 @@
},
{
"name": "accept",
- "description": "接受上传的文件类型,[查看 W3C示例](https://www.w3schools.com/tags/att_input_accept.asp),[查看 MDN 示例](https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element/Input/file)",
+ "description": "File types that can be accepted. [W3C](https://www.w3schools.com/tags/att_input_accept.asp),[MDN](https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element/Input/file)\n\n接受上传的文件类型,[查看 W3C示例](https://www.w3schools.com/tags/att_input_accept.asp),[查看 MDN 示例](https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element/Input/file)",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props",
"type": [
"String"
@@ -18644,7 +19676,7 @@
},
{
"name": "action",
- "description": "upload action url\n\n上传接口。设接口响应数据为字段 `response`,那么 `response.error` 存在时会判断此次上传失败,并显示错误文本信息;`response.url` 会作为文件上传成功后的地址,并使用该地址显示图片或文件",
+ "description": "Uploading URL\n\n上传接口。设接口响应数据为字段 `response`,那么 `response.error` 存在时会判断此次上传失败,并显示错误文本信息;`response.url` 会作为文件上传成功后的地址,并使用该地址显示图片或文件",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props",
"type": [
"String"
@@ -18652,7 +19684,7 @@
},
{
"name": "allow-upload-duplicate-file",
- "description": "是否允许重复上传相同文件名的文件",
+ "description": "allow to upload duplicate name files\n\n是否允许重复上传相同文件名的文件",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props",
"type": [
"Boolean"
@@ -18661,7 +19693,7 @@
},
{
"name": "auto-upload",
- "description": "是否在选择文件后自动发起请求上传文件",
+ "description": "post upload request automatically after files being selected\n\n是否在选择文件后自动发起请求上传文件",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props",
"type": [
"Boolean"
@@ -18670,7 +19702,7 @@
},
{
"name": "before-all-files-upload",
- "description": "before all files upload, return false can stop uploading file\n\n如果是自动上传模式 `autoUpload=true`,表示全部文件上传之前的钩子函数,函数参数为上传的文件,函数返回值决定是否继续上传,若返回值为 `false` 则终止上传。
如果是非自动上传模式 `autoUpload=false`,则函数返回值为 `false` 时表示不触发文件变化",
+ "description": "before all files upload, return false can stop uploading file\n\n如果是自动上传模式 `autoUpload=true`,表示全部文件上传之前的钩子函数,函数参数为上传的文件,函数返回值决定是否继续上传,若返回值为 `false` 则终止上传。
如果是非自动上传模式 `autoUpload=false`,则函数返回值为 `false` 时表示本次选中的文件不会加入到文件列表中,即不触发 `onChange` 事件",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props",
"type": [
"Function"
@@ -18678,15 +19710,24 @@
},
{
"name": "before-upload",
- "description": "如果是自动上传模式 `autoUpload=true`,表示单个文件上传之前的钩子函数,若函数返回值为 `false` 则表示不上传当前文件。
如果是非自动上传模式 `autoUpload=false`,函数返回值为 `false` 时表示从上传文件中剔除当前文件",
+ "description": "stop one of files to upload\n\n如果是自动上传模式 `autoUpload=true`,表示单个文件上传之前的钩子函数,若函数返回值为 `false` 则表示不上传当前文件。
如果是非自动上传模式 `autoUpload=false`,函数返回值为 `false` 时表示从上传文件中剔除当前文件",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props",
"type": [
"Function"
]
},
+ {
+ "name": "cancel-upload-button",
+ "description": "cancel upload button props, which showed on `autoUpload=false` and multiple files/images upload\n\n批量文件/图片上传,`autoUpload=false` 场景下,透传“取消上传”按钮属性",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props",
+ "type": [
+ "Object",
+ "TNode"
+ ]
+ },
{
"name": "data",
- "description": "上传请求所需的额外字段,默认字段有 `file`,表示文件信息。可以添加额外的文件名字段,如:`{file_name: \"custom-file-name.txt\"}`。`autoUpload=true` 时有效。也可以使用 `formatRequest` 完全自定义上传请求的字段",
+ "description": "extra request data of uploading. `formatRequest` can redefine all request data\n\n上传请求所需的额外字段,默认字段有 `file`,表示文件信息。可以添加额外的文件名字段,如:`{file_name: \"custom-file-name.txt\"}`。`autoUpload=true` 时有效。也可以使用 `formatRequest` 完全自定义上传请求的字段",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props",
"type": [
"Object"
@@ -18703,7 +19744,7 @@
},
{
"name": "disabled",
- "description": "是否禁用",
+ "description": "make upload to be disabled\n\n是否禁用",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props",
"type": [
"Boolean"
@@ -18729,7 +19770,7 @@
},
{
"name": "file-list-display",
- "description": "用于完全自定义文件列表内容",
+ "description": "used to render file list UI\n\n用于完全自定义文件列表界面内容(UI),单文件和多文件均有效",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props",
"type": [
"TNode"
@@ -18746,7 +19787,7 @@
},
{
"name": "format",
- "description": "转换文件 `UploadFile` 的数据结构,可新增或修改 `UploadFile` 的属性,注意不能删除 `UploadFile` 属性。`action` 存在时有效",
+ "description": "to redefine `UploadFile` data structure\n\n转换文件 `UploadFile` 的数据结构,可新增或修改 `UploadFile` 的属性,注意不能删除 `UploadFile` 属性。`action` 存在时有效",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props",
"type": [
"Function"
@@ -18754,7 +19795,7 @@
},
{
"name": "format-request",
- "description": "用于新增或修改文件上传请求参数。`action` 存在时有效。一个请求上传一个文件时,默认请求字段有 `file`;
一个请求上传多个文件时,默认字段有 `file[0]/file[1]/file[2]/.../length`,其中 `length` 表示本次上传的文件数量。
⚠️非常注意,此处的 `file[0]/file[1]` 仅仅是一个字段名,并非表示 `file` 是一个数组,接口获取字段时注意区分。
可以使用 `name` 定义 `file` 字段的别名,也可以使用 `formatRequest` 自定义任意字段",
+ "description": "redefine request data\n\n用于新增或修改文件上传请求 参数。`action` 存在时有效。一个请求上传一个文件时,默认请求字段有 `file`。
一个请求上传多个文件时,默认字段有 `file[0]/file[1]/file[2]/.../length`,其中 `length` 表示本次上传的文件数量。
⚠️非常注意,此处的 `file[0]/file[1]` 仅仅是一个字段名,并非表示 `file` 是一个数组,接口获取字段时注意区分。
可以使用 `name` 定义 `file` 字段的别名。
也可以使用 `formatRequest` 自定义任意字段,如添加一个字段 `fileList` ,存储文件数组",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props",
"type": [
"Function"
@@ -18762,7 +19803,7 @@
},
{
"name": "format-response",
- "description": "用于格式化文件上传后的接口响应数据,`response` 便是接口响应的原始数据。`action` 存在时有效。
此函数的返回值 `error` 或 `response.error` 会作为错误文本提醒,如果存在会判定为本次上传失败。
此函数的返回值 `url` 或 `response.url` 会作为上传成功后的链接",
+ "description": "redefine response data structure\n\n用于格式化文件上传后的接口响应数据,`response` 便是接口响应的原始数据。`action` 存在时有效。
示例返回值:`{ error, url, status, files }`
此函数的返回值 `error` 会作为错误文本提醒,表示上传失败的原因,如果存在会判定为本次上传失败。
此函数的返回值 `url` 会作为单个文件上传成功后的链接。
`files` 表示一个请求同时上传多个文件后的文件列表",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props",
"type": [
"Function"
@@ -18770,7 +19811,15 @@
},
{
"name": "headers",
- "description": "设置上传的请求头部,`action` 存在时有效",
+ "description": "HTTP Request Header\n\n设置上传的请求头部,`action` 存在时有效",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props",
+ "type": [
+ "Object"
+ ]
+ },
+ {
+ "name": "image-viewer-props",
+ "description": "ImageViewer Component Props\n\n透传图片预览组件全部属性",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props",
"type": [
"Object"
@@ -18786,7 +19835,7 @@
},
{
"name": "is-batch-upload",
- "description": "多个文件是否作为一个独立文件包,整体替换,整体删除。不允许追加文件,只允许替换文件。`theme=file-flow` 时有效",
+ "description": "make all files to be a whole package, files can only be replaced or deleted together, can not add more files\n\n多个文件是否作为一个独立文件包,整体替换,整体删除。不允许追加文件,只允许替换文件。`theme=file-flow` 时有效",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props",
"type": [
"Boolean"
@@ -18803,7 +19852,7 @@
},
{
"name": "max",
- "description": "用于控制文件上传数量,值为 0 则不限制",
+ "description": "max count of files limit\n\n用于控制文件上传数量,值为 0 则不限制。注意,单文件上传场景,请勿设置 `max` 属性",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props",
"type": [
"Number"
@@ -18812,7 +19861,7 @@
},
{
"name": "method",
- "description": "HTTP 请求类型",
+ "description": "HTTP request method\n\nHTTP 请求类型",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props",
"type": [
"String"
@@ -18856,7 +19905,7 @@
},
{
"name": "mock-progress-duration",
- "description": "模拟进度间隔时间,单位:毫秒,默认:300。由于原始的上传请求,小文件上传进度只有 0 和 100,故而新增模拟进度,每间隔 `mockProgressDuration` 毫秒刷新一次模拟进度。小文件设置小一点,大文件设置大一点。注意:当 `useMockProgress` 为真时,当前设置有效",
+ "description": "mock progress duration time. more large files more duration time\n\n模拟进度间隔时间,单位:毫秒,默认:300。由于原始的上传请求,小文件上传进度只有 0 和 100,故而新增模拟进度,每间隔 `mockProgressDuration` 毫秒刷新一次模拟进度。小文件设置小一点,大文件设置大一点。注意:当 `useMockProgress` 为真时,当前设置有效",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props",
"type": [
"Number"
@@ -18864,7 +19913,7 @@
},
{
"name": "multiple",
- "description": "支持多文件上传",
+ "description": "multiple files uploading\n\n支持多文件上传",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props",
"type": [
"Boolean"
@@ -18873,7 +19922,7 @@
},
{
"name": "name",
- "description": "文件上传时的名称",
+ "description": "field name of files in upload request data\n\n文件上传时的名称",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props",
"type": [
"String"
@@ -18882,7 +19931,7 @@
},
{
"name": "placeholder",
- "description": "占位符",
+ "description": "placeholder\n\n占位符",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props",
"type": [
"String"
@@ -18890,15 +19939,33 @@
},
{
"name": "request-method",
- "description": "自定义上传方法。返回值 `status` 表示上传成功或失败;`error` 或 `response.error` 表示上传失败的原因;
`response` 表示请求上传成功后的返回数据,`response.url` 表示上传成功后的图片/文件地址,`response.files` 表示一个请求上传多个文件/图片后的返回值。
示例一:`{ status: 'fail', error: '上传失败', response }`。
示例二:`{ status: 'success', response: { url: 'https://tdesign.gtimg.com/site/avatar.jpg' } }`。
示例三:`{ status: 'success', files: [{ url: 'https://xxx.png', name: 'xxx.png' }]}`",
+ "description": "custom upload request method\n\n自定义上传方法。返回值 `status` 表示上传成功或失败;`error` 或 `response.error` 表示上传失败的原因;
`response` 表示请求上传成功后的返回数据,`response.url` 表示上传成功后的图片/文件地址,`response.files` 表示一个请求上传多个文件/图片后的返回值。
示例一:`{ status: 'fail', error: '上传失败', response }`。
示例二:`{ status: 'success', response: { url: 'https://tdesign.gtimg.com/site/avatar.jpg' } }`。
示例三:`{ status: 'success', files: [{ url: 'https://xxx.png', name: 'xxx.png' }]}`",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props",
"type": [
"Function"
]
},
+ {
+ "name": "show-image-file-name",
+ "description": "show image's name\n\n是否显示图片的文件名称",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props",
+ "type": [
+ "Boolean"
+ ],
+ "default": "true"
+ },
+ {
+ "name": "show-thumbnail",
+ "description": "show thumbnail before file name, only works on `theme=file-flow` \n\n是否在文件列表中显示缩略图,`theme=file-flow` 时有效",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props",
+ "type": [
+ "Boolean"
+ ],
+ "default": "false"
+ },
{
"name": "show-upload-progress",
- "description": "是否显示上传进度",
+ "description": "show upload progress nodes\n\n是否显示上传进度",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props",
"type": [
"Boolean"
@@ -18907,7 +19974,7 @@
},
{
"name": "size-limit",
- "description": "图片文件大小限制,默认单位 KB。可选单位有:`'B' | 'KB' | 'MB' | 'GB'`。示例一:`1000`。示例二:`{ size: 2, unit: 'MB', message: '图片大小不超过 {sizeLimit} MB' }`",
+ "description": "files size limit\n\n图片文件大小限制,默认单位 KB。可选单位有:`'B' | 'KB' | 'MB' | 'GB'`。示例一:`1000`。示例二:`{ size: 2, unit: 'MB', message: '图片大小不超过 {sizeLimit} MB' }`",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props",
"type": [
"Number",
@@ -18941,7 +20008,7 @@
},
{
"name": "theme",
- "description": "组件风格。custom 表示完全自定义风格;file 表示默认文件上传风格;file-input 表示输入框形式的文件上传;file-flow 表示文件批量上传;image 表示默认图片上传风格;image-flow 表示图片批量上传",
+ "description": "different upload UI styles\n\n组件风格。custom 表示完全自定义风格;file 表示默认文件上传风格;file-input 表示输入框形式的文件上传;file-flow 表示文件批量上传;image 表示默认图片上传风格;image-flow 表示图片批量上传",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props",
"type": [
"String"
@@ -18982,7 +20049,7 @@
},
{
"name": "trigger",
- "description": "触发上传的元素,`files` 指本次显示的全部文件",
+ "description": "trigger elements UI\n\n触发上传的元素,`files` 指本次显示的全部文件",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props",
"type": [
"TNode"
@@ -18990,7 +20057,7 @@
},
{
"name": "trigger-button-props",
- "description": "透传选择按钮全部属性",
+ "description": "trigger button props, it can be used to change color/size/href/... of the trigger button\n\n透传选择按钮全部属性",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props",
"type": [
"Object"
@@ -18998,13 +20065,22 @@
},
{
"name": "upload-all-files-in-one-request",
- "description": "是否在同一个请求中上传全部文件,默认一个请求上传一个文件。多文件上传时有效",
+ "description": "uploading all files in one request\n\n是否在同一个请求中上传全部文件,默认一个请求上传一个文件。多文件上传时有效",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props",
"type": [
"Boolean"
],
"default": "false"
},
+ {
+ "name": "upload-button",
+ "description": "upload button props, which showed on `autoUpload=false` and multiple files/images upload\n\n批量文件/图片上传,`autoUpload=false` 场景下,透传“点击上传”按钮属性",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props",
+ "type": [
+ "Object",
+ "TNode"
+ ]
+ },
{
"name": "upload-pasted-files",
"description": "allow to upload files in clipboard after pasting\n\n是否允许粘贴上传剪贴板中的文件",
@@ -19012,11 +20088,11 @@
"type": [
"Boolean"
],
- "default": "false"
+ "default": "true"
},
{
"name": "use-mock-progress",
- "description": "是否在请求时间超过 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"
@@ -19025,7 +20101,7 @@
},
{
"name": "value",
- "description": "file list, `UploadFile`\n\n已上传文件列表,同 `files`。TS 类型:`UploadFile`",
+ "description": "file list\n\n已上传文件列表,同 `files`。TS 类型:`UploadFile`",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props",
"type": [
"Array"
@@ -19034,7 +20110,7 @@
},
{
"name": "with-credentials",
- "description": "上传请求时是否携带 cookie",
+ "description": "uploading request with cookie\n\n上传请求时是否携带 cookie",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props",
"type": [
"Boolean"
@@ -19046,27 +20122,27 @@
"events": [
{
"name": "cancel-upload",
- "description": "点击「取消上传」时触发",
+ "description": "trigger on cancel button click\n\n点击「取消上传」时触发",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-events"
},
{
"name": "change",
- "description": "已上传文件列表发生变化时触发,`trigger` 表示触发本次的来源",
+ "description": "trigger on uploaded files change\n\n已上传文件列表发生变化时触发,`trigger` 表示触发本次的来源",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-events"
},
{
"name": "dragenter",
- "description": "进入拖拽区域时触发",
+ "description": "trigger on file dragged into drag elements\n\n进入拖拽区域时触发",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-events"
},
{
"name": "dragleave",
- "description": "离开拖拽区域时触发",
+ "description": "trigger on file dragged leave drag elements\n\n离开拖拽区域时触发",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-events"
},
{
"name": "drop",
- "description": "拖拽结束时触发",
+ "description": "trigger on file dropped\n\n拖拽结束时触发",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-events"
},
{
@@ -19081,22 +20157,22 @@
},
{
"name": "one-file-success",
- "description": "单个文件上传成功后触发,在多文件场景下会触发多次。`context.file` 表示当前上传成功的单个文件,`context.response` 表示上传请求的返回数据",
+ "description": "trigger on file uploaded successfully\n\n单个文件上传成功后触发,在多文件场景下会触发多次。`context.file` 表示当前上传成功的单个文件,`context.response` 表示上传请求的返回数据",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-events"
},
{
"name": "preview",
- "description": "点击图片预览时触发,文件没有预览",
+ "description": "trigger on preview elements click\n\n点击图片预览时触发,文件没有预览",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-events"
},
{
"name": "progress",
- "description": "上传进度变化时触发,真实进度和模拟进度都会触发。
⚠️ 原始上传请求,小文件的上传进度只有 0 和 100,故而不会触发 `progress` 事件;只有大文件才有真实的中间进度。如果你希望很小的文件也显示上传进度,保证 `useMockProgress=true` 的情况下,设置 `mockProgressDuration` 为更小的值。
参数 `options.type=real` 表示真实上传进度,`options.type=mock` 表示模拟上传进度",
+ "description": "uploading request progress event\n\n上传进度变化时触发,真实进度和模拟进度都会触发。
⚠️ 原始上传请求,小文件的上传进度只有 0 和 100,故而不会触发 `progress` 事件;只有大文件才有真实的中间进度。如果你希望很小的文件也显示上传进度,保证 `useMockProgress=true` 的情况下,设置 `mockProgressDuration` 为更小的值。
参数 `options.type=real` 表示真实上传进度,`options.type=mock` 表示模拟上传进度",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-events"
},
{
"name": "remove",
- "description": "移除文件时触发",
+ "description": "trigger on file removed\n\n移除文件时触发",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-events"
},
{
@@ -19106,7 +20182,7 @@
},
{
"name": "success",
- "description": "上传成功后触发。
`context.currentFiles` 表示当次请求上传的文件(无论成功或失败),`context.fileList` 表示上传成功后的文件,`context.response` 表示上传请求的返回数据。
`context.results` 表示单次选择全部文件上传成功后的响应结果,可以在这个字段存在时提醒用户上传成功或失败。
",
+ "description": "trigger on all files uploaded successfully\n\n上传成功后触发。
`context.currentFiles` 表示当次请求上传的文件(无论成功或失败),`context.fileList` 表示上传成功后的文件,`context.response` 表示上传请求的返回数据。
`context.results` 表示单次选择全部文件上传成功后的响应结果,可以在这个字段存在时提醒用户上传成功或失败。
",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-events"
},
{
@@ -19122,6 +20198,16 @@
]
},
"slots": [
+ {
+ "name": "cancelUploadButton",
+ "description": "cancel upload button props, which showed on `autoUpload=false` and multiple files/images upload\n\n批量文件/图片上传,`autoUpload=false` 场景下,透传“取消上传”按钮属性类型和参数:null | ButtonProps | TNode<{ disabled: boolean; cancelUploadText: string; cancelUpload: (ctx: { e: MouseEvent }) => void }>",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props"
+ },
+ {
+ "name": "cancel-upload-button",
+ "description": "cancel upload button props, which showed on `autoUpload=false` and multiple files/images upload\n\n批量文件/图片上传,`autoUpload=false` 场景下,透传“取消上传”按钮属性类型和参数:null | ButtonProps | TNode<{ disabled: boolean; cancelUploadText: string; cancelUpload: (ctx: { e: MouseEvent }) => void }>",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props"
+ },
{
"name": "default",
"description": "非拖拽场景,指触发上传的元素,如:“选择文件”。如果是拖拽场景,则是指拖拽区域",
@@ -19139,12 +20225,12 @@
},
{
"name": "fileListDisplay",
- "description": "用于完全自定义文件列表内容类型和参数:TNode<{ files: UploadFile[]; dragEvents?: UploadDisplayDragEvents }>",
+ "description": "used to render file list UI\n\n用于完全自定义文件列表界面内容(UI),单文件和多文件均有效类型和参数:TNode<{ files: UploadFile[]; dragEvents?: UploadDisplayDragEvents }>",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props"
},
{
"name": "file-list-display",
- "description": "用于完全自定义文件列表内容类型和参数:TNode<{ files: UploadFile[]; dragEvents?: UploadDisplayDragEvents }>",
+ "description": "used to render file list UI\n\n用于完全自定义文件列表界面内容(UI),单文件和多文件均有效类型和参数:TNode<{ files: UploadFile[]; dragEvents?: UploadDisplayDragEvents }>",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props"
},
{
@@ -19154,7 +20240,17 @@
},
{
"name": "trigger",
- "description": "触发上传的元素,`files` 指本次显示的全部文件类型和参数:TNode【interface TriggerContext { dragActive?: boolean; files: UploadFile[] }】",
+ "description": "trigger elements UI\n\n触发上传的元素,`files` 指本次显示的全部文件类型和参数:TNode【interface TriggerContext { dragActive?: boolean; files: UploadFile[] }】",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props"
+ },
+ {
+ "name": "uploadButton",
+ "description": "upload button props, which showed on `autoUpload=false` and multiple files/images upload\n\n批量文件/图片上传,`autoUpload=false` 场景下,透传“点击上传”按钮属性类型和参数:null | ButtonProps | TNode<{ disabled: boolean; uploading: boolean; uploadFiles: () => void; uploadText: string }>",
+ "doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props"
+ },
+ {
+ "name": "upload-button",
+ "description": "upload button props, which showed on `autoUpload=false` and multiple files/images upload\n\n批量文件/图片上传,`autoUpload=false` 场景下,透传“点击上传”按钮属性类型和参数:null | ButtonProps | TNode<{ disabled: boolean; uploading: boolean; uploadFiles: () => void; uploadText: string }>",
"doc-url": "https://tdesign.tencent.com/vue-next/components/upload?tab=api#upload-props"
}
]