mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-02-17 13:20:52 +08:00
2.33.4
This commit is contained in:
parent
cef4c62ad8
commit
2089ee09da
CHANGELOG.en-US.mdCHANGELOG.zh-CN.mdpackage.json
src
avatar/demos
data-table/demos
date-picker/demos
loading-bar/demos
pagination/demos
select/demos
transfer/demos
tree/demos
version.ts@ -1,6 +1,6 @@
|
||||
# CHANGELOG
|
||||
|
||||
## NEXT_VERSION
|
||||
## 2.33.4
|
||||
|
||||
### Fixes
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# CHANGELOG
|
||||
|
||||
## NEXT_VERSION
|
||||
## 2.33.4
|
||||
|
||||
### Fixes
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "naive-ui",
|
||||
"version": "2.33.3",
|
||||
"version": "2.33.4",
|
||||
"description": "A Vue 3 Component Library. Fairly Complete, Theme Customizable, Uses TypeScript, Fast",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
|
@ -29,8 +29,8 @@ v-show-debug.vue
|
||||
| intersection-observer-options | `{ root?: Element \| Document \| string \| null, rootMargin?: string, threshold?: number \| number[]; }` | `undefined` | Intersection observer's config to be applied when `lazy=true`. | 2.31.0 |
|
||||
| lazy | `boolean` | `false` | Whether to show after it enters viewport configured by `intersection-observer-options` | 2.31.0 |
|
||||
| object-fit | `'fill' \| 'contain' \| 'cover' \| 'none' \| 'scale-down'` | `'fill'` | Object-fit type of the image in the container. | |
|
||||
| render-fallback | `() => VNodeChild` | `undefined` | Render function of fallback content. | NEXT_VERSION |
|
||||
| render-placeholder | `() => VNodeChild` | `undefined` | Render function of placeholder. | NEXT_VERSION |
|
||||
| render-fallback | `() => VNodeChild` | `undefined` | Render function of fallback content. | 2.33.4 |
|
||||
| render-placeholder | `() => VNodeChild` | `undefined` | Render function of placeholder. | 2.33.4 |
|
||||
| round | `boolean` | `false` | Whether to display a rounded avatar. | |
|
||||
| size | `'small' \| 'medium' \| 'large' \| number` | `'medium'` | Avatar's size. |
|
||||
| src | `string` | `undefined` | Avatar's image source. | |
|
||||
@ -52,7 +52,7 @@ see [Avatar Props](avatar#Props)
|
||||
| Name | Parameters | Description | Version |
|
||||
| --- | --- | --- | --- |
|
||||
| default | `()` | The content of the avatar. | |
|
||||
| fallback | `()` | Content if avatar load fails. | NEXT_VERSION |
|
||||
| fallback | `()` | Content if avatar load fails. | 2.33.4 |
|
||||
| placeholder | `()` | Placeholder shown when image is not loaded. | 2.31.0 |
|
||||
|
||||
### AvatarGroup Slots
|
||||
|
@ -31,8 +31,8 @@ rtl-debug.vue
|
||||
| intersection-observer-options | `{ root?: Element \| Document \| string \| null, rootMargin?: string, threshold?: number \| number[]; }` | `undefined` | `lazy=true` 时 intersection observer 观测的配置 | 2.31.0 |
|
||||
| lazy | `boolean` | `false` | 是否在进入 `intersection-observer-options` 配置的视口之后再开始加载 | 2.31.0 |
|
||||
| object-fit | `'fill' \| 'contain' \| 'cover' \| 'none' \| 'scale-down'` | `'fill'` | 头像的图片在容器内的的适应类型 | |
|
||||
| render-fallback | `() => VNodeChild` | `undefined` | 加载失败的渲染函数 | NEXT_VERSION |
|
||||
| render-placeholder | `() => VNodeChild` | `undefined` | 占位的渲染函数 | NEXT_VERSION |
|
||||
| render-fallback | `() => VNodeChild` | `undefined` | 加载失败的渲染函数 | 2.33.4 |
|
||||
| render-placeholder | `() => VNodeChild` | `undefined` | 占位的渲染函数 | 2.33.4 |
|
||||
| round | `boolean` | `false` | 头像是否圆形 | |
|
||||
| size | `'small' \| 'medium' \| 'large' \| number` | `'medium'` | 头像的尺寸 |
|
||||
| src | `string` | `undefined` | 头像的地址 | |
|
||||
@ -51,11 +51,11 @@ rtl-debug.vue
|
||||
|
||||
### Avatar Slots
|
||||
|
||||
| 名称 | 参数 | 说明 | 版本 |
|
||||
| ----------- | ---- | -------------------------- | ------------ |
|
||||
| default | `()` | 头像内填充的内容 | |
|
||||
| fallback | `()` | 加载失败的内容 | NEXT_VERSION |
|
||||
| placeholder | `()` | 图像没有完成加载时候的占位 | 2.31.0 |
|
||||
| 名称 | 参数 | 说明 | 版本 |
|
||||
| ----------- | ---- | -------------------------- | ------ |
|
||||
| default | `()` | 头像内填充的内容 | |
|
||||
| fallback | `()` | 加载失败的内容 | 2.33.4 |
|
||||
| placeholder | `()` | 图像没有完成加载时候的占位 | 2.31.0 |
|
||||
|
||||
### AvatarGroup Slots
|
||||
|
||||
|
@ -104,7 +104,7 @@ render-cell.vue
|
||||
| virtual-scroll | `boolean` | `false` | Whether to use virtual scroll to deal with large data. Make sure `max-height` is set before using it. When `virtual-scroll` is `true`, `rowSpan` will not take effect. | |
|
||||
| on-load | `(rowData: object) => Promise<void>` | `undefined` | Callback of async tree data expanding. | 2.27.0 |
|
||||
| on-scroll | `(e: Event) => void` | `undefined` | Callback of table body scrolling. | 2.29.1 |
|
||||
| on-update:checked-row-keys | `(keys: Array<string \| number>, rows: object[], meta: { row: object \| undefined, action: 'check' \| 'uncheck' \| 'checkAll' \| 'uncheckAll' }) => void` | `undefined` | The callback function triggered when the checked-row-keys value changes. | `rows` 2.30.5, `meta` NEXT_VERSION |
|
||||
| on-update:checked-row-keys | `(keys: Array<string \| number>, rows: object[], meta: { row: object \| undefined, action: 'check' \| 'uncheck' \| 'checkAll' \| 'uncheckAll' }) => void` | `undefined` | The callback function triggered when the checked-row-keys value changes. | `rows` 2.30.5, `meta` 2.33.4 |
|
||||
| on-update:expanded-row-keys | `(keys: Array<string \| number>) => void` | `undefined` | The callback function triggered when the expanded-row-keys value changes. | |
|
||||
| on-update:filters | `(filters: DataTableFilterState, initiatorColumn: DataTableBaseColumn)` | `undefined` | The callback function triggered when the filters data changes. | |
|
||||
| on-update:page | `(page: number)` | `undefined` | Callback function triggered when the page changes. | |
|
||||
@ -132,11 +132,11 @@ render-cell.vue
|
||||
| filterOptionValue | `string \| number \| null` | `undefined` | The active filter option value in controlled manner. If not set, the filter of the column works in an uncontrolled manner. (works when not using multiple filters). | |
|
||||
| filterOptionValues | `Array<string \| number> \| null` | `undefined` | The active filter option values in controlled manner. If not set, the filter of the column works in an uncontrolled manner. (works when there are multiple filters). | |
|
||||
| filterOptions | `Array<{ label: string, value: string \| number}>` | `undefined` | Filter options. | |
|
||||
| resizable | `boolean` | `undefined` | Whethe the column width can be dragged. | NEXT_VERSION |
|
||||
| resizable | `boolean` | `undefined` | Whethe the column width can be dragged. | 2.33.4 |
|
||||
| fixed | `'left \| 'right' \| false` | `false` | Whether the column needs to be fixed. | |
|
||||
| key | `string \| number` | `undefined` | Unique key of this column, this is not repeatable. | |
|
||||
| minWidth | `number \| string` | `undefined` | Min width of the column. | 2.28.3 |
|
||||
| maxWidth | `number \| string` | `undefined` | Max width of the column. Only works when `resizable` is `true`. | NEXT_VERSION |
|
||||
| maxWidth | `number \| string` | `undefined` | Max width of the column. Only works when `resizable` is `true`. | 2.33.4 |
|
||||
| multiple | `boolean` | `true` | Whether to enable multiple selection mode. Only works when `type` is `'selection'`. | 2.31.0 |
|
||||
| options | `Array<'all' \| 'none' \| { label: string, key: string \| number, onSelect: (pageData: RowData[]) => void }>` | `undefined` | Options of custom selection. Only work with `type='selection'`. | |
|
||||
| render | `(rowData: object, rowIndex: number) => VNodeChild` | `undefined` | Render function of column row cell. | |
|
||||
|
@ -112,7 +112,7 @@ expandable-debug.vue
|
||||
| virtual-scroll | `boolean` | `false` | 是否开启虚拟滚动,应对大规模数据,开启前请设定好 `max-height`。当 `virtual-scroll` 为 `true` 时,`rowSpan` 将不生效 | |
|
||||
| on-load | `(rowData: object) => Promise<void>` | `undefined` | 异步展开树形数据的回调 | 2.27.0 |
|
||||
| on-scroll | `(e: Event) => void` | `undefined` | 表格主体滚动的回调 | 2.29.1 |
|
||||
| on-update:checked-row-keys | `(keys: Array<string \| number>, rows: object[], meta: { row: object \| undefined, action: 'check' \| 'uncheck' \| 'checkAll' \| 'uncheckAll' }) => void` | `undefined` | checked-row-keys 值改变时触发的回调函数 | `rows` 2.30.5, `meta` NEXT_VERSION |
|
||||
| on-update:checked-row-keys | `(keys: Array<string \| number>, rows: object[], meta: { row: object \| undefined, action: 'check' \| 'uncheck' \| 'checkAll' \| 'uncheckAll' }) => void` | `undefined` | checked-row-keys 值改变时触发的回调函数 | `rows` 2.30.5, `meta` 2.33.4 |
|
||||
| on-update:expanded-row-keys | `(keys: Array<string \| number>) => void` | `undefined` | expanded-row-keys 值改变时触发的回调函数 | |
|
||||
| on-update:filters | `(filters: DataTableFilterState, initiatorColumn: DataTableBaseColumn)` | `undefined` | filters 数据改变时触发的回调函数 |
|
||||
| on-update:page | `(page: number)` | `undefined` | page 改变时触发的回调函数 | |
|
||||
@ -140,11 +140,11 @@ expandable-debug.vue
|
||||
| filterOptionValue | `string \| number \| null` | `undefined` | 受控状态下,当前激活的过滤器选项值。如果不做设定,这一列的过滤行为将是非受控的(过滤器单选时生效) | |
|
||||
| filterOptionValues | `Array<string \| number> \| null` | `undefined` | 受控状态下,当前激活的过滤器选项值数组。如果不做设定,这一列的过滤行为将是非受控的(过滤器多选时生效) | |
|
||||
| filterOptions | `Array<{ label: string, value: string \| number}>` | `undefined` | filter 的 options 数据 | |
|
||||
| resizable | `boolean` | `undefined` | 列宽是否可以拖动 | NEXT_VERSION |
|
||||
| resizable | `boolean` | `undefined` | 列宽是否可以拖动 | 2.33.4 |
|
||||
| fixed | `'left \| 'right' \| false` | `false` | 该列是否需要 fixed | |
|
||||
| key | `string \| number` | `undefined` | 这一列的 key,不可重复。 | |
|
||||
| minWidth | `number \| string` | `undefined` | 列的最小宽度 | 2.28.3 |
|
||||
| maxWidth | `number \| string` | `undefined` | 列的最大宽度,仅在 `resizable` 为 `true` 的时候生效 | NEXT_VERSION |
|
||||
| maxWidth | `number \| string` | `undefined` | 列的最大宽度,仅在 `resizable` 为 `true` 的时候生效 | 2.33.4 |
|
||||
| multiple | `boolean` | `true` | 是否开启多选,仅在 `type` 为 `'selection'` 的时候生效 | 2.31.0 |
|
||||
| options | `Array<'all' \| 'none' \| { label: string, key: string \| number, onSelect: (pageData: RowData[]) => void }>` | `undefined` | 自定义选择项的选项,只对 `type='selection'` 生效 | |
|
||||
| render | `(rowData: object, rowIndex: number) => VNodeChild` | `undefined` | 渲染函数,渲染这一列的每一行的单元格 | |
|
||||
|
@ -163,15 +163,15 @@ panel.vue
|
||||
|
||||
### DatePicker Slots
|
||||
|
||||
| Name | Parameters | Description | Version |
|
||||
| ---------- | ---------- | --------------------------------- | ------------ |
|
||||
| date-icon | `()` | Date icon of the input box. | 2.29.0 |
|
||||
| footer | `()` | Extra Footer. | |
|
||||
| next-month | `()` | Next icon of the date panel. | NEXT_VERSION |
|
||||
| next-year | `()` | Fast next icon of the date panel. | NEXT_VERSION |
|
||||
| prev-month | `()` | Prev icon of the date panel. | NEXT_VERSION |
|
||||
| prev-year | `()` | Fast prev icon of the date panel. | NEXT_VERSION |
|
||||
| separator | `()` | Separator of range picker. | 2.29.0 |
|
||||
| Name | Parameters | Description | Version |
|
||||
| ---------- | ---------- | --------------------------------- | ------- |
|
||||
| date-icon | `()` | Date icon of the input box. | 2.29.0 |
|
||||
| footer | `()` | Extra Footer. | |
|
||||
| next-month | `()` | Next icon of the date panel. | 2.33.4 |
|
||||
| next-year | `()` | Fast next icon of the date panel. | 2.33.4 |
|
||||
| prev-month | `()` | Prev icon of the date panel. | 2.33.4 |
|
||||
| prev-year | `()` | Fast prev icon of the date panel. | 2.33.4 |
|
||||
| separator | `()` | Separator of range picker. | 2.29.0 |
|
||||
|
||||
### DatePicker Methods
|
||||
|
||||
|
@ -163,15 +163,15 @@ form-debug.vue
|
||||
|
||||
### DatePicker Slots
|
||||
|
||||
| 名称 | 参数 | 说明 | 版本 |
|
||||
| ---------- | ---- | ---------------------------- | ------------ |
|
||||
| date-icon | `()` | 日期输入框的图标 | 2.29.0 |
|
||||
| footer | `()` | 添加额外的页脚 | |
|
||||
| next-month | `()` | 日期面板的 `下一个` 图标 | NEXT_VERSION |
|
||||
| next-year | `()` | 日期面板的 `快速下一个` 图标 | NEXT_VERSION |
|
||||
| prev-month | `()` | 日期面板的 `上一个` 图标 | NEXT_VERSION |
|
||||
| prev-year | `()` | 日期面板的 `快速上一个` 图标 | NEXT_VERSION |
|
||||
| separator | `()` | 日期范围分隔符号 | 2.29.0 |
|
||||
| 名称 | 参数 | 说明 | 版本 |
|
||||
| ---------- | ---- | ---------------------------- | ------ |
|
||||
| date-icon | `()` | 日期输入框的图标 | 2.29.0 |
|
||||
| footer | `()` | 添加额外的页脚 | |
|
||||
| next-month | `()` | 日期面板的 `下一个` 图标 | 2.33.4 |
|
||||
| next-year | `()` | 日期面板的 `快速下一个` 图标 | 2.33.4 |
|
||||
| prev-month | `()` | 日期面板的 `上一个` 图标 | 2.33.4 |
|
||||
| prev-year | `()` | 日期面板的 `快速上一个` 图标 | 2.33.4 |
|
||||
| separator | `()` | 日期范围分隔符号 | 2.29.0 |
|
||||
|
||||
### DatePicker Methods
|
||||
|
||||
|
@ -47,9 +47,9 @@ container.vue
|
||||
|
||||
| Name | Type | Default | Description | Version |
|
||||
| --- | --- | --- | --- | --- |
|
||||
| container-style | `string \| object` | `undefined` | Style of the loading bar container. | NEXT_VERSION |
|
||||
| container-style | `string \| object` | `undefined` | Style of the loading bar container. | 2.33.4 |
|
||||
| loading-bar-style | `{ loading?: string \| object, error?: string \| object }` | `undefined` | Style of the loading bar. | |
|
||||
| to | `string \| HTMLElement \| false` | `undefined` | Mount target of loading bar. | NEXT_VERSION |
|
||||
| to | `string \| HTMLElement \| false` | `undefined` | Mount target of loading bar. | 2.33.4 |
|
||||
|
||||
### loadingBar Injection Methods
|
||||
|
||||
|
@ -47,9 +47,9 @@ container.vue
|
||||
|
||||
| 名称 | 类型 | 默认值 | 说明 | 版本 |
|
||||
| --- | --- | --- | --- | --- |
|
||||
| container-style | `string \| object` | `undefined` | 加载条容器的样式 | NEXT_VERSION |
|
||||
| container-style | `string \| object` | `undefined` | 加载条容器的样式 | 2.33.4 |
|
||||
| loading-bar-style | `{ loading?: string \| object, error?: string \| object }` | `undefined` | 加载条样式 | |
|
||||
| to | `string \| HTMLElement \| false` | `undefined` | 加载条的挂载位置 | NEXT_VERSION |
|
||||
| to | `string \| HTMLElement \| false` | `undefined` | 加载条的挂载位置 | 2.33.4 |
|
||||
|
||||
### loadingBar Injection Methods
|
||||
|
||||
|
@ -45,7 +45,7 @@ page-size-option.vue
|
||||
| simple | `boolean` | `false` | Whether to use simple mode. | 2.32.2 |
|
||||
| suffix | `(info: PaginationInfo) => VNodeChild` | `undefined` | Page suffix. | |
|
||||
| show-size-picker | `boolean` | `false` | Whether to show the selector of the number of items per page. | |
|
||||
| to | `string \| HTMLElement \| false` | `body` | Container node of the pop menu. `false` will keep it not detached. | NEXT_VERSION |
|
||||
| to | `string \| HTMLElement \| false` | `body` | Container node of the pop menu. `false` will keep it not detached. | 2.33.4 |
|
||||
| on-update:page | `(page: number) => void` | `undefined` | Callback function when the current page changes. | |
|
||||
| on-update:page-size | `(pageSize: number) => void` | `undefined` | Callback function when the current page size changes. | |
|
||||
|
||||
|
@ -47,7 +47,7 @@ rtl-debug.vue
|
||||
| simple | `boolean` | `false` | 是否显示为简单分页 | 2.32.2 |
|
||||
| suffix | `(info: PaginationInfo) => VNodeChild` | `undefined` | 分页后缀 | |
|
||||
| show-size-picker | `boolean` | `false` | 是否显示每页条数的选择器 | |
|
||||
| to | `string \| HTMLElement \| false` | `body` | 弹出菜单的容器节点,`false` 会待在原地 | NEXT_VERSION |
|
||||
| to | `string \| HTMLElement \| false` | `body` | 弹出菜单的容器节点,`false` 会待在原地 | 2.33.4 |
|
||||
| on-update:page | `(page: number) => void` | `undefined` | 当前页发生改变时的回调函数 | |
|
||||
| on-update:page-size | `(pageSize: number) => void` | `undefined` | 当前分页大小发生改变时的回调函数 | |
|
||||
|
||||
|
@ -46,7 +46,7 @@ custom-field.vue
|
||||
| fallback-option | `false \| (value: string \| number) => SelectOption` | `value => ({ label: '' + value, value })` | The option to be created using the value which has no corresponding option value. If set to `false`, the fallback option won't be created and displayed. | |
|
||||
| filterable | `boolean` | `false` | Whether options can be filtered. | |
|
||||
| filter | `(pattern: string, option: Object) => boolean` | String search method. | Filter function. | |
|
||||
| ignore-composition | `boolean` | `true` | Ingore IME's composition status. By default `filter` won't be triggered by input event under compositions. | NEXT_VERSION |
|
||||
| ignore-composition | `boolean` | `true` | Ingore IME's composition status. By default `filter` won't be triggered by input event under compositions. | 2.33.4 |
|
||||
| input-props | `HTMLInputAttributes` | `undefined` | The attributes of input element in the trigger. It only works when the select is filterable. | |
|
||||
| label-field | `string` | `'label'` | Field name of option label. | 2.29.1 |
|
||||
| loading | `boolean` | `false` | Whether to show a loading state. | |
|
||||
@ -64,7 +64,7 @@ custom-field.vue
|
||||
| reset-menu-on-options-change | `boolean` | `true` | Whether to reset menu staus on options change, for example, scroll status. | 2.24.2 |
|
||||
| show | `boolean` | `undefined` | Whether to show/open the option menu. | |
|
||||
| show-arrow | `boolean` | `true` | Whether to show the dropdown arrow. | |
|
||||
| show-checkmark | `boolean` | `true` | Whether to show checkmark in multiple select mode. | NEXT_VERSION |
|
||||
| show-checkmark | `boolean` | `true` | Whether to show checkmark in multiple select mode. | 2.33.4 |
|
||||
| size | `'tiny' \| 'small' \| 'medium' \| 'large'` | `'medium'` | Size of the select input. | |
|
||||
| status | `'success' \| 'warning' \| 'error'` | `undefined` | Validaiton status. | 2.27.0 |
|
||||
| tag | `boolean` | `false` | Whether users can create new options. This should be used with `filterable`. | |
|
||||
|
@ -56,7 +56,7 @@ create-debug.vue
|
||||
| fallback-option | `false \| (value: string \| number) => SelectOption` | `value => ({ label: '' + value, value })` | 在传入的选项中没有对应当前值的选项时,这个值应该对应的选项。如果设为 `false`,不会为找不到对应选项的值生成回退选项也不会显示它,未在选项中的值会被视为不合法,操作过程中会被组件清除掉 | |
|
||||
| filterable | `boolean` | `false` | 是否可以过滤 | |
|
||||
| filter | `(pattern: string, option: object) => boolean` | 一个简单的字符串搜索算法 | 过滤器函数 | |
|
||||
| ignore-composition | `boolean` | `true` | 忽略输入法 Composition 状态,默认情况下 `filter` 在输入法输入的过程中不会触发 | NEXT_VERSION |
|
||||
| ignore-composition | `boolean` | `true` | 忽略输入法 Composition 状态,默认情况下 `filter` 在输入法输入的过程中不会触发 | 2.33.4 |
|
||||
| input-props | `HTMLInputAttributes` | `undefined` | 触发器中 input 元素的属性,只在可过滤时有意义 | |
|
||||
| label-field | `string` | `'label'` | 选项 label 的字段名 | 2.29.1 |
|
||||
| loading | `boolean` | `false` | 是否为加载状态 | |
|
||||
@ -74,7 +74,7 @@ create-debug.vue
|
||||
| reset-menu-on-options-change | `boolean` | `true` | 是否在选项变化时重置菜单状态,例如滚动状态 | 2.24.2 |
|
||||
| show | `boolean` | `undefined` | 是否展示菜单 | |
|
||||
| show-arrow | `boolean` | `true` | 是否展示箭头 | |
|
||||
| show-checkmark | `boolean` | `true` | 多选情况下是否展示对勾 | NEXT_VERSION |
|
||||
| show-checkmark | `boolean` | `true` | 多选情况下是否展示对勾 | 2.33.4 |
|
||||
| size | `'tiny' \| 'small' \| 'medium' \| 'large'` | `'medium'` | 组件尺寸 | |
|
||||
| status | `'success' \| 'warning' \| 'error'` | `undefined` | 验证状态 | 2.27.0 |
|
||||
| tag | `boolean` | `false` | 是否可以创建新的选项,需要和 `filterable` 一起使用 | |
|
||||
|
@ -27,7 +27,7 @@ render-source-list.vue
|
||||
| render-source-label | `(props: { option: TransferOption }) => VNodeChild` | `undefined` | Customize source label rendering. | 2.32.0 |
|
||||
| render-target-label | `(props: { option: TransferOption }) => VNodeChild` | `undefined` | Customize target label rendering. | 2.32.0 |
|
||||
| render-source-list | `(props: { onCheck: (checkedValueList: Array<string \| number>) => void, checkedOptions: TransferOption[], pattern: string }) => VNodeChild` | `undefined` | Customize source list rendering. | 2.32.0 |
|
||||
| render-target-list | `(props: { onCheck: (checkedValueList: Array<string \| number>) => void, checkedOptions: TransferOption[], pattern: string }) => VNodeChild` | `undefined` | Customize target list rendering. | NEXT_VERSION |
|
||||
| render-target-list | `(props: { onCheck: (checkedValueList: Array<string \| number>) => void, checkedOptions: TransferOption[], pattern: string }) => VNodeChild` | `undefined` | Customize target list rendering. | 2.33.4 |
|
||||
| size | `'small' \| 'medium' \| 'large'` | `'medium'` | Size. | 2.32.0 |
|
||||
| source-filterable | `boolean` | `false` | The source filterable state. | 2.32.2 |
|
||||
| source-filter-placeholder | `string` | `undefined` | Placeholder for the source items search box. | 2.32.0 |
|
||||
|
@ -29,7 +29,7 @@ value-debug.vue
|
||||
| render-source-label | `(props: { option: TransferOption }) => VNodeChild` | `undefined` | 自定义源标签 | 2.32.0 |
|
||||
| render-target-label | `(props: { option: TransferOption }) => VNodeChild` | `undefined` | 自定义目标标签 | 2.32.0 |
|
||||
| render-source-list | `(props: { onCheck: (checkedValueList: Array<string \| number>) => void, checkedOptions: TransferOption[], pattern: string }) => VNodeChild` | `undefined` | 自定义源列表 | 2.32.0 |
|
||||
| render-target-list | `(props: { onCheck: (checkedValueList: Array<string \| number>) => void, checkedOptions: TransferOption[], pattern: string }) => VNodeChild` | `undefined` | 自定义目标列表 | NEXT_VERSION |
|
||||
| render-target-list | `(props: { onCheck: (checkedValueList: Array<string \| number>) => void, checkedOptions: TransferOption[], pattern: string }) => VNodeChild` | `undefined` | 自定义目标列表 | 2.33.4 |
|
||||
| size | `'small' \| 'medium' \| 'large'` | `'medium'` | 尺寸 | 2.32.0 |
|
||||
| source-filterable | `boolean` | `false` | 源项是否可过滤 | 2.32.2 |
|
||||
| source-filter-placeholder | `string` | `undefined` | 源项搜索框中的占位符 | 2.32.0 |
|
||||
|
@ -32,7 +32,7 @@ checkbox-placement.vue
|
||||
| accordion | `boolean` | `false` | Whether to use accrodion expand mode. | 2.31.0 |
|
||||
| allow-checking-not-loaded | `boolean` | `false` | Whether to allow cascade checking on not loaded nodes. If you want to use this, you should know the `check-keys` may be incomplete. Also, you should aware about the consistency bewteen naive's checking logic and your backend's checking logic, especially when there are disabled nodes. | 2.28.1 |
|
||||
| allow-drop | `(info: { dropPosition: DropPosition, node: TreeOption, phase: 'drag' \| 'drop' }) => boolean` | A function that prohibit dropping inside leaf node. | Whether to allow dropping. | |
|
||||
| animated | `boolean` | `true` | Whether to show expand animation. | NEXT_VERSION |
|
||||
| animated | `boolean` | `true` | Whether to show expand animation. | 2.33.4 |
|
||||
| block-line | `boolean` | `false` | Nodes spread out the whole row. | |
|
||||
| block-node | `boolean` | `false` | The node name is spread out in the whole row. | |
|
||||
| cancelable | `boolean` | `true` | Whether node's select status can be cancelled. | |
|
||||
|
@ -38,7 +38,7 @@ expand-debug.vue
|
||||
| accordion | `boolean` | `false` | 是否使用手风琴展开模式 | 2.31.0 |
|
||||
| allow-checking-not-loaded | `boolean` | `false` | 是否允许级联勾选还没有完全加载的节点。如果你要用这个属性,请记住 `checked-keys` 可能是不完整的,并且请注意勾选行为和后端计算逻辑的一致性,尤其是有禁用节点的情况下 | 2.28.1 |
|
||||
| allow-drop | `(info: { dropPosition: DropPosition, node: TreeOption, phase: 'drag' \| 'drop' }) => boolean` | 一个不允许 drop 在叶节点内部的函数 | 是否允许 drop | |
|
||||
| animated | `boolean` | `true` | 是否有展开动画 | NEXT_VERSION |
|
||||
| animated | `boolean` | `true` | 是否有展开动画 | 2.33.4 |
|
||||
| block-line | `boolean` | `false` | 节点整行撑开 | |
|
||||
| block-node | `boolean` | `false` | 节点名称整行撑开 | |
|
||||
| cancelable | `boolean` | `true` | 选中之后是否允许取消 | |
|
||||
|
@ -1 +1 @@
|
||||
export default '2.33.3'
|
||||
export default '2.33.4'
|
||||
|
Loading…
Reference in New Issue
Block a user