From 79cdba591bcdbcf0a0b2dc9f9a6243563ace4a89 Mon Sep 17 00:00:00 2001 From: zhanglecong <07akioni2@gmail.com> Date: Mon, 2 Oct 2023 22:38:17 +0800 Subject: [PATCH] 2.35.0 --- CHANGELOG.en-US.md | 2 +- CHANGELOG.zh-CN.md | 2 +- demo/pages/docs/i18n/enUS/index.md | 54 +++++++++---------- demo/pages/docs/i18n/zhCN/index.md | 54 +++++++++---------- package.json | 2 +- src/data-table/demos/enUS/index.demo-entry.md | 2 +- src/data-table/demos/zhCN/index.demo-entry.md | 2 +- src/drawer/demos/enUS/index.demo-entry.md | 8 +-- src/drawer/demos/zhCN/index.demo-entry.md | 8 +-- src/ellipsis/demos/enUS/index.demo-entry.md | 2 +- src/ellipsis/demos/zhCN/index.demo-entry.md | 2 +- src/select/demos/enUS/index.demo-entry.md | 12 ++--- src/select/demos/zhCN/index.demo-entry.md | 12 ++--- src/transfer/demos/enUS/index.demo-entry.md | 4 +- src/transfer/demos/zhCN/index.demo-entry.md | 4 +- .../demos/enUS/index.demo-entry.md | 4 +- .../demos/zhCN/index.demo-entry.md | 4 +- src/tree/demos/enUS/index.demo-entry.md | 2 +- src/tree/demos/zhCN/index.demo-entry.md | 2 +- src/version.ts | 2 +- 20 files changed, 92 insertions(+), 92 deletions(-) diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index 4bebe739f54..417e8f863e2 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -1,6 +1,6 @@ # CHANGELOG -## NEXT_VERSION +## 2.35.0 ### Breaking Changes diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index a095a0db4f2..b7055cbd7d4 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -1,6 +1,6 @@ # CHANGELOG -## NEXT_VERSION +## 2.35.0 ### Breaking Changes diff --git a/demo/pages/docs/i18n/enUS/index.md b/demo/pages/docs/i18n/enUS/index.md index d3ac1dd30ba..d78e14edec0 100644 --- a/demo/pages/docs/i18n/enUS/index.md +++ b/demo/pages/docs/i18n/enUS/index.md @@ -44,33 +44,33 @@ PRs are welcomed for locales that are not supported yet! The following list is sorted by 'Config' column. -| Language | Config | Date config | Version | -| ------------------------- | ------ | ----------- | ------------ | -| Arabic (العربية) | arDZ | dateArDZ | 2.34.0 | -| German (Germany) | deDE | dateDeDE | | -| English (British) | enGB | dateEnGB | 2.25.1 | -| English | enUS | dateEnUS | | -| Esperanto | eo | dateEo | 2.25.2 | -| Spanish (Argentina) | esAR | dateEsAR | 2.24.2 | -| Persian | faIR | dateFaIR | 2.34.4 | -| French | frFR | dateFrFR | | -| Bahasa Indonesia | idID | dateIdID | | -| Italiano | itIT | dateItIT | 2.24.2 | -| Japanese | jaJP | dateJaJP | | -| Korean (South Korea) | koKR | dateKoKR | 2.28.1 | -| Norwegian Bokmål (Norway) | nbNO | dateNbNO | | -| Dutch (Netherlands) | nlNL | dateNlNL | 2.29.0 | -| Polish (Poland) | plPL | datePlPL | 2.25.2 | -| Portuguese (Brazil) | ptBR | datePtBR | 2.28.1 | -| Russian | ruRU | dateRuRU | | -| Slovak | skSK | dateSkSK | 2.25.3 | -| Swedish | svSE | dateSvSE | NEXT_VERSION | -| Thai (Thailand) | thTH | dateThTH | 2.27.0 | -| Turkish | trTR | dateTrTR | 2.34.0 | -| Ukrainian | ukUA | dateUkUA | | -| Vietnamese (Vietnam) | viVN | dateViVN | 2.30.7 | -| Chinese (Simplified) | zhCN | dateZhCN | | -| Chinese (Traditional) | zhTW | dateZhTW | | +| Language | Config | Date config | Version | +| ------------------------- | ------ | ----------- | ------- | +| Arabic (العربية) | arDZ | dateArDZ | 2.34.0 | +| German (Germany) | deDE | dateDeDE | | +| English (British) | enGB | dateEnGB | 2.25.1 | +| English | enUS | dateEnUS | | +| Esperanto | eo | dateEo | 2.25.2 | +| Spanish (Argentina) | esAR | dateEsAR | 2.24.2 | +| Persian | faIR | dateFaIR | 2.34.4 | +| French | frFR | dateFrFR | | +| Bahasa Indonesia | idID | dateIdID | | +| Italiano | itIT | dateItIT | 2.24.2 | +| Japanese | jaJP | dateJaJP | | +| Korean (South Korea) | koKR | dateKoKR | 2.28.1 | +| Norwegian Bokmål (Norway) | nbNO | dateNbNO | | +| Dutch (Netherlands) | nlNL | dateNlNL | 2.29.0 | +| Polish (Poland) | plPL | datePlPL | 2.25.2 | +| Portuguese (Brazil) | ptBR | datePtBR | 2.28.1 | +| Russian | ruRU | dateRuRU | | +| Slovak | skSK | dateSkSK | 2.25.3 | +| Swedish | svSE | dateSvSE | 2.35.0 | +| Thai (Thailand) | thTH | dateThTH | 2.27.0 | +| Turkish | trTR | dateTrTR | 2.34.0 | +| Ukrainian | ukUA | dateUkUA | | +| Vietnamese (Vietnam) | viVN | dateViVN | 2.30.7 | +| Chinese (Simplified) | zhCN | dateZhCN | | +| Chinese (Traditional) | zhTW | dateZhTW | | ## Customize the existing locale diff --git a/demo/pages/docs/i18n/zhCN/index.md b/demo/pages/docs/i18n/zhCN/index.md index 3036e13dbc5..d80b4a46ed3 100644 --- a/demo/pages/docs/i18n/zhCN/index.md +++ b/demo/pages/docs/i18n/zhCN/index.md @@ -44,33 +44,33 @@ Naive-ui 通过使用 `n-config-provider` 调整语言,默认情况下所有 以下列表依据“配置”列排序。 -| 语言 | 配置 | 日期配置 | 版本 | -| ------------------ | ---- | -------- | ------------ | -| 阿拉伯语 | arDZ | dateArDZ | 2.34.0 | -| 德语 | deDE | dateDeDE | | -| 英国英语 | enGB | dateEnGB | 2.25.1 | -| 英语 | enUS | dateEnUS | | -| 世界语 | eo | dateEo | 2.25.2 | -| 西班牙语(阿根廷) | esAR | dateEsAR | 2.24.2 | -| 波斯语 | faIR | dateFaIR | 2.34.4 | -| 法语 | frFR | dateFrFR | | -| 印度尼西亚语 | idID | dateIdID | | -| 意大利语 | itIT | dateItIT | 2.24.2 | -| 日语 | jaJP | dateJaJP | | -| 韩语 | koKR | dateKoKR | 2.28.1 | -| 书面挪威语 | nbNO | dateNbNO | | -| 荷兰语(荷兰) | nlNL | dateNlNL | 2.29.0 | -| 波兰语(波兰) | plPL | datePlPL | 2.25.2 | -| 葡萄牙语 (巴西) | ptBR | datePtBR | 2.28.1 | -| 俄罗斯语 | ruRU | dateRuRU | | -| 斯洛伐克语 | skSK | dateSkSK | 2.25.3 | -| 瑞典語 | svSE | dateSvSE | NEXT_VERSION | -| 泰语(泰国) | thTH | dateThTH | 2.27.0 | -| 土耳其语 | trTR | dateTrTR | 2.34.0 | -| 乌克兰语 | ukUA | dateUkUA | | -| 越南语(越南) | viVN | dateViVN | 2.30.7 | -| 简体中文 | zhCN | dateZhCN | | -| 繁体中文 | zhTW | dateZhTW | | +| 语言 | 配置 | 日期配置 | 版本 | +| ------------------ | ---- | -------- | ------ | +| 阿拉伯语 | arDZ | dateArDZ | 2.34.0 | +| 德语 | deDE | dateDeDE | | +| 英国英语 | enGB | dateEnGB | 2.25.1 | +| 英语 | enUS | dateEnUS | | +| 世界语 | eo | dateEo | 2.25.2 | +| 西班牙语(阿根廷) | esAR | dateEsAR | 2.24.2 | +| 波斯语 | faIR | dateFaIR | 2.34.4 | +| 法语 | frFR | dateFrFR | | +| 印度尼西亚语 | idID | dateIdID | | +| 意大利语 | itIT | dateItIT | 2.24.2 | +| 日语 | jaJP | dateJaJP | | +| 韩语 | koKR | dateKoKR | 2.28.1 | +| 书面挪威语 | nbNO | dateNbNO | | +| 荷兰语(荷兰) | nlNL | dateNlNL | 2.29.0 | +| 波兰语(波兰) | plPL | datePlPL | 2.25.2 | +| 葡萄牙语 (巴西) | ptBR | datePtBR | 2.28.1 | +| 俄罗斯语 | ruRU | dateRuRU | | +| 斯洛伐克语 | skSK | dateSkSK | 2.25.3 | +| 瑞典語 | svSE | dateSvSE | 2.35.0 | +| 泰语(泰国) | thTH | dateThTH | 2.27.0 | +| 土耳其语 | trTR | dateTrTR | 2.34.0 | +| 乌克兰语 | ukUA | dateUkUA | | +| 越南语(越南) | viVN | dateViVN | 2.30.7 | +| 简体中文 | zhCN | dateZhCN | | +| 繁体中文 | zhTW | dateZhTW | | ## 在现有国际化基础上调整 diff --git a/package.json b/package.json index a0fc903a9fb..887f3cee806 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "naive-ui", - "version": "2.34.4", + "version": "2.35.0", "description": "A Vue 3 Component Library. Fairly Complete, Theme Customizable, Uses TypeScript, Fast", "main": "lib/index.js", "module": "es/index.js", diff --git a/src/data-table/demos/enUS/index.demo-entry.md b/src/data-table/demos/enUS/index.demo-entry.md index 3f1616372d2..ee21937ffe6 100644 --- a/src/data-table/demos/enUS/index.demo-entry.md +++ b/src/data-table/demos/enUS/index.demo-entry.md @@ -128,7 +128,7 @@ render-cell.vue | defaultSortOrder | `'descend' \| 'ascend' \| false` | `false` | The default sort order of the table in uncontrolled manner. | | | disabled | `(rowData: object, rowIndex: number) => boolean` | `() => false` | Whether the row is checkable. | | | ellipsis | `boolean \| EllipsisProps` | `false` | Ellipsis options when content overflows. | | -| ellipsis-component | `'ellipsis' \| 'performant-ellipsis'` | `'ellipsis'` | Component for rendering text ellipsis. It works when `ellipsis` is `EllipsisProps`. If it's `'ellipsis'`, table will use regular `n-ellipsis` component to render text ellipsis. If it's `'performant-ellipsis'`, table will use `n-performant-ellipsis` to render text ellipsis. In the later situation, rendering speed will be much faster but component inside table cell would be unmounted & remounted. | NEXT_VERSION | +| ellipsis-component | `'ellipsis' \| 'performant-ellipsis'` | `'ellipsis'` | Component for rendering text ellipsis. It works when `ellipsis` is `EllipsisProps`. If it's `'ellipsis'`, table will use regular `n-ellipsis` component to render text ellipsis. If it's `'performant-ellipsis'`, table will use `n-performant-ellipsis` to render text ellipsis. In the later situation, rendering speed will be much faster but component inside table cell would be unmounted & remounted. | 2.35.0 | | expandable | `(rowData: object) => boolean` | `undefined` | Whethe the row is expandable. Only works when `type` is `'expand'`. | | | filter | `boolean \| (optionValue: string \| number, rowData: object) => boolean \| 'default'` | `false` | The filter of the column. If set to `true`, it will only display filter button on the column, which can be used in async status. | | | filterMode | `'and' \| 'or'` | `'or'` | The filter mode. | | diff --git a/src/data-table/demos/zhCN/index.demo-entry.md b/src/data-table/demos/zhCN/index.demo-entry.md index bf294c24847..a4090d3c6d5 100644 --- a/src/data-table/demos/zhCN/index.demo-entry.md +++ b/src/data-table/demos/zhCN/index.demo-entry.md @@ -138,7 +138,7 @@ expandable-debug.vue | defaultSortOrder | `'descend' \| 'ascend' \| false` | `false` | 非受控状态下表格默认的排序方式 | | | disabled | `(rowData: object, rowIndex: number) => boolean` | `undefined` | 是否禁用 | | | ellipsis | `boolean \| EllipsisProps` | `false` | 文本溢出的设置 | | -| ellipsis-component | `'ellipsis' \| 'performant-ellipsis'` | `'ellipsis'` | 渲染文本溢出时使用的组件,在 `ellipsis` 属性为 `EllipsisProps` 时生效。若为 `'ellipsis'` 则使用常规的 `n-ellipsis` 组件渲染,若为 `'performant-ellipsis'` 则使用 `n-performant-ellipsis` 渲染,这种情况下会有更高的渲染性能,但是每个折叠的单元格中的组件有可能被重新卸载和挂载 | NEXT_VERSION | +| ellipsis-component | `'ellipsis' \| 'performant-ellipsis'` | `'ellipsis'` | 渲染文本溢出时使用的组件,在 `ellipsis` 属性为 `EllipsisProps` 时生效。若为 `'ellipsis'` 则使用常规的 `n-ellipsis` 组件渲染,若为 `'performant-ellipsis'` 则使用 `n-performant-ellipsis` 渲染,这种情况下会有更高的渲染性能,但是每个折叠的单元格中的组件有可能被重新卸载和挂载 | 2.35.0 | | expandable | `(rowData: object) => boolean` | `undefined` | 行是否可展开,仅在 `type` 为 `'expand'` 时生效 | | | filter | `boolean \| (optionValue: string \| number, rowData: object) => boolean \| 'default'` | `undefined` | 这一列的过滤方法。如果设为 `true`,表格将只会在这列展示一个排序图标,在异步的时候可能有用。 | | | filterMode | `'and' \| 'or'` | `'or'` | 同一列筛选方式为与还是或 | | diff --git a/src/drawer/demos/enUS/index.demo-entry.md b/src/drawer/demos/enUS/index.demo-entry.md index 6181707f8d4..14683666582 100644 --- a/src/drawer/demos/enUS/index.demo-entry.md +++ b/src/drawer/demos/enUS/index.demo-entry.md @@ -34,10 +34,10 @@ resizable.vue | height | `number \| string` | `undefined` | Works when placement is `top` and `bottom`. | | | native-scrollbar | `boolean` | `true` | Whether to use native scrollbar on drawer. | | | mask-closable | `boolean` | `true` | Whether to emit `hide` event when click mask. | | -| max-width | `number` | `undefined` | Max width of draggable drawer. | NEXT_VERSION | -| max-height | `number` | `undefined` | Max height of draggable drawer. | NEXT_VERSION | -| min-width | `number` | `undefined` | Min width of draggable drawer. | NEXT_VERSION | -| min-height | `number` | `undefined` | Max height of draggable drawer. | NEXT_VERSION | +| max-width | `number` | `undefined` | Max width of draggable drawer. | 2.35.0 | +| max-height | `number` | `undefined` | Max height of draggable drawer. | 2.35.0 | +| min-width | `number` | `undefined` | Min width of draggable drawer. | 2.35.0 | +| min-height | `number` | `undefined` | Max height of draggable drawer. | 2.35.0 | | placement | `'top' \| 'right' \| 'bottom' \| 'left'` | `'right'` | Drawer placement. | | | resizable | `boolean` | `false` | Whether to resize the width / height of drawer. | 2.31.0 | | scrollbar-props | `object` | `undefined` | 属性参考 [Scrollbar props](scrollbar#Scrollbar-Props) | | diff --git a/src/drawer/demos/zhCN/index.demo-entry.md b/src/drawer/demos/zhCN/index.demo-entry.md index 32f3a36df61..0d8b3d8321c 100644 --- a/src/drawer/demos/zhCN/index.demo-entry.md +++ b/src/drawer/demos/zhCN/index.demo-entry.md @@ -40,10 +40,10 @@ rtl-debug.vue | display-directive | `'if' \| 'show'` | `'if'` | `n-drawer` 在控制内容是否渲染时使用的指令,`'if'` 对应 `v-if`,`'show'` 对应 `v-show` | | | height | `number \| string` | `undefined` | 抽屉的高度,在位置是 `top` 和 `bottom` 时生效 | | | mask-closable | `boolean` | `true` | 点击遮罩时是否发出 `update:show` 事件 | | -| max-width | `number` | `undefined` | 拖动时的最大宽度 | NEXT_VERSION | -| max-height | `number` | `undefined` | 拖动时的最大高度 | NEXT_VERSION | -| min-width | `number` | `undefined` | 拖动时的最小宽度 | NEXT_VERSION | -| min-height | `number` | `undefined` | 拖动时的最小高度 | NEXT_VERSION | +| max-width | `number` | `undefined` | 拖动时的最大宽度 | 2.35.0 | +| max-height | `number` | `undefined` | 拖动时的最大高度 | 2.35.0 | +| min-width | `number` | `undefined` | 拖动时的最小宽度 | 2.35.0 | +| min-height | `number` | `undefined` | 拖动时的最小高度 | 2.35.0 | | native-scrollbar | `boolean` | `true` | 是否使用原生滚动 | | | placement | `'top' \| 'right' \| 'bottom' \| 'left'` | `'right'` | 抽屉展示的位置 | | | resizable | `boolean` | `false` | 抽屉是否可以调整宽度、高度 | 2.31.0 | diff --git a/src/ellipsis/demos/enUS/index.demo-entry.md b/src/ellipsis/demos/enUS/index.demo-entry.md index 074caa6f9ed..82d7b6fde3b 100644 --- a/src/ellipsis/demos/enUS/index.demo-entry.md +++ b/src/ellipsis/demos/enUS/index.demo-entry.md @@ -18,7 +18,7 @@ performant-ellipsis.vue ### Ellipsis, PerformantEllipsis Props -`n-performant-ellipsis` since NEXT_VERSION. +`n-performant-ellipsis` since 2.35.0. | Name | Type | Default | Description | Version | | --- | --- | --- | --- | --- | diff --git a/src/ellipsis/demos/zhCN/index.demo-entry.md b/src/ellipsis/demos/zhCN/index.demo-entry.md index b47a81c4c80..c656cf8ebef 100644 --- a/src/ellipsis/demos/zhCN/index.demo-entry.md +++ b/src/ellipsis/demos/zhCN/index.demo-entry.md @@ -20,7 +20,7 @@ width-debug.vue ### Ellipsis, PerformantEllipsis Props -`n-performant-ellipsis` 从 NEXT_VERSION 开始提供。 +`n-performant-ellipsis` 从 2.35.0 开始提供。 | 名称 | 类型 | 默认值 | 说明 | 版本 | | --- | --- | --- | --- | --- | diff --git a/src/select/demos/enUS/index.demo-entry.md b/src/select/demos/enUS/index.demo-entry.md index 6324f2e0c55..1de440e2b0d 100644 --- a/src/select/demos/enUS/index.demo-entry.md +++ b/src/select/demos/enUS/index.demo-entry.md @@ -114,9 +114,9 @@ custom-field.vue ### Select Methods -| Name | Type | Description | Version | -| ---------- | ------------ | ------------ | ------------ | -| focus | `() => void` | Focus. | 2.24.2 | -| focusInput | `() => void` | Input focus. | NEXT_VERSION | -| blur | `() => void` | Blur. | 2.24.2 | -| blurInput | `() => void` | Input blur. | NEXT_VERSION | +| Name | Type | Description | Version | +| ---------- | ------------ | ------------ | ------- | +| focus | `() => void` | Focus. | 2.24.2 | +| focusInput | `() => void` | Input focus. | 2.35.0 | +| blur | `() => void` | Blur. | 2.24.2 | +| blurInput | `() => void` | Input blur. | 2.35.0 | diff --git a/src/select/demos/zhCN/index.demo-entry.md b/src/select/demos/zhCN/index.demo-entry.md index d00e161c8e7..bd2e51d87f2 100644 --- a/src/select/demos/zhCN/index.demo-entry.md +++ b/src/select/demos/zhCN/index.demo-entry.md @@ -124,9 +124,9 @@ create-debug.vue ### Select Methods -| 名称 | 类型 | 说明 | 版本 | -| ---------- | ------------ | -------- | ------------ | -| focus | `() => void` | 聚焦 | 2.24.2 | -| focusInput | `() => void` | 输入聚焦 | NEXT_VERSION | -| blur | `() => void` | 失焦 | 2.24.2 | -| blurInput | `() => void` | 输入失焦 | NEXT_VERSION | +| 名称 | 类型 | 说明 | 版本 | +| ---------- | ------------ | -------- | ------ | +| focus | `() => void` | 聚焦 | 2.24.2 | +| focusInput | `() => void` | 输入聚焦 | 2.35.0 | +| blur | `() => void` | 失焦 | 2.24.2 | +| blurInput | `() => void` | 输入失焦 | 2.35.0 | diff --git a/src/transfer/demos/enUS/index.demo-entry.md b/src/transfer/demos/enUS/index.demo-entry.md index b13225a3ce6..a01e593db01 100644 --- a/src/transfer/demos/enUS/index.demo-entry.md +++ b/src/transfer/demos/enUS/index.demo-entry.md @@ -20,7 +20,7 @@ render-source-list.vue | Name | Type | Default | Description | Version | | --- | --- | --- | --- | --- | -| clear-text | `string` | `undefined` | Text of clear button. | NEXT_VERSION | +| clear-text | `string` | `undefined` | Text of clear button. | 2.35.0 | | default-value | `Array \| null` | `null` | Default value. | 2.32.0 | | disabled | `boolean` | `true` | Disabled state. | 2.32.0 | | filter | `(pattern: string, option: TransferOption, from: 'source' \| 'target') => boolean` | A basic label string match function. | 2.32.0, `from` 2.32.2 | @@ -29,7 +29,7 @@ render-source-list.vue | render-target-label | `(props: { option: TransferOption }) => VNodeChild` | `undefined` | Customize target label rendering. | 2.32.0 | | render-source-list | `(props: { onCheck: (checkedValueList: Array) => void, checkedOptions: TransferOption[], pattern: string }) => VNodeChild` | `undefined` | Customize source list rendering. | 2.32.0 | | render-target-list | `(props: { onCheck: (checkedValueList: Array) => void, checkedOptions: TransferOption[], pattern: string }) => VNodeChild` | `undefined` | Customize target list rendering. | 2.33.4 | -| select-all-text | `string` | `undefined` | Text of select all button. | NEXT_VERSION | +| select-all-text | `string` | `undefined` | Text of select all button. | 2.35.0 | | show-selected | `boolean` | `true` | Whether to show selected options in the source list. | 2.34.0 | | size | `'small' \| 'medium' \| 'large'` | `'medium'` | Size. | 2.32.0 | | source-filterable | `boolean` | `false` | The source filterable state. | 2.32.2 | diff --git a/src/transfer/demos/zhCN/index.demo-entry.md b/src/transfer/demos/zhCN/index.demo-entry.md index f0977f45193..b75deef27b5 100644 --- a/src/transfer/demos/zhCN/index.demo-entry.md +++ b/src/transfer/demos/zhCN/index.demo-entry.md @@ -22,7 +22,7 @@ value-debug.vue | 名称 | 类型 | 默认值 | 说明 | 版本 | | --- | --- | --- | --- | --- | -| clear-text | `string` | `undefined` | 清楚按钮的文本 | NEXT_VERSION | +| clear-text | `string` | `undefined` | 清楚按钮的文本 | 2.35.0 | | default-value | `Array \| null` | `null` | 非受控模式下的默认值 | 2.32.0 | | disabled | `boolean` | `true` | 是否禁用 | 2.32.0 | | filter | `(pattern: string, option: TransferOption, from: 'source' \| 'target') => boolean` | 一个简单的标签字符串匹配函数 | 搜索时使用的过滤函数 | 2.32.0,`from` 2.32.2 | @@ -31,7 +31,7 @@ value-debug.vue | render-target-label | `(props: { option: TransferOption }) => VNodeChild` | `undefined` | 自定义目标标签 | 2.32.0 | | render-source-list | `(props: { onCheck: (checkedValueList: Array) => void, checkedOptions: TransferOption[], pattern: string }) => VNodeChild` | `undefined` | 自定义源列表 | 2.32.0 | | render-target-list | `(props: { onCheck: (checkedValueList: Array) => void, checkedOptions: TransferOption[], pattern: string }) => VNodeChild` | `undefined` | 自定义目标列表 | 2.33.4 | -| select-all-text | `string` | `undefined` | 全选按钮的文本 | NEXT_VERSION | +| select-all-text | `string` | `undefined` | 全选按钮的文本 | 2.35.0 | | show-selected | `boolean` | `true` | 是否显示源列表中选中的项 | 2.34.0 | | size | `'small' \| 'medium' \| 'large'` | `'medium'` | 尺寸 | 2.32.0 | | source-filterable | `boolean` | `false` | 源项是否可过滤 | 2.32.2 | diff --git a/src/tree-select/demos/enUS/index.demo-entry.md b/src/tree-select/demos/enUS/index.demo-entry.md index 2614ed788a4..62f9bf34bac 100644 --- a/src/tree-select/demos/enUS/index.demo-entry.md +++ b/src/tree-select/demos/enUS/index.demo-entry.md @@ -92,8 +92,8 @@ debug.vue | Name | Type | Description | Version | | --- | --- | --- | --- | | blur | `() => void` | Blur. | 2.34.0 | -| blurInput | `() => void` | Input blur. | NEXT_VERSION | +| blurInput | `() => void` | Input blur. | 2.35.0 | | focus | `() => void` | Focus. | 2.34.0s | -| focusInput | `() => void` | Input focus. | NEXT_VERSION | +| focusInput | `() => void` | Input focus. | 2.35.0 | | getCheckedData | `() => { keys: Array, options: Array }` | Get checked data. | 2.34.0 | | getIndeterminateData | `() => { keys: Array, options: Array }` | Get indeterminate data. | 2.34.0 | diff --git a/src/tree-select/demos/zhCN/index.demo-entry.md b/src/tree-select/demos/zhCN/index.demo-entry.md index af90ebd50e0..0388c4279f0 100644 --- a/src/tree-select/demos/zhCN/index.demo-entry.md +++ b/src/tree-select/demos/zhCN/index.demo-entry.md @@ -95,8 +95,8 @@ render-debug.vue | 名称 | 类型 | 说明 | 版本 | | --- | --- | --- | --- | | blur | `() => void` | 失焦 | 2.34.0 | -| blurInput | `() => void` | 输入失焦 | NEXT_VERSION | +| blurInput | `() => void` | 输入失焦 | 2.35.0 | | focus | `() => void` | 聚焦 | 2.34.0 | -| focusInput | `() => void` | 输入聚焦 | NEXT_VERSION | +| focusInput | `() => void` | 输入聚焦 | 2.35.0 | | getCheckedData | `() => { keys: Array, options: Array }` | 获取选中的数据 | 2.34.0 | | getIndeterminateData | `() => { keys: Array, options: Array }` | 获取半选的数据 | 2.34.0 | diff --git a/src/tree/demos/enUS/index.demo-entry.md b/src/tree/demos/enUS/index.demo-entry.md index 2bbbfe57584..72f108a7635 100644 --- a/src/tree/demos/enUS/index.demo-entry.md +++ b/src/tree/demos/enUS/index.demo-entry.md @@ -73,7 +73,7 @@ checkbox-placement.vue | selectable | `boolean` | `true` | Whether the node can be selected. | | | selected-keys | `Array` | `undefined` | If set, selected status will work in controlled manner. | | | show-irrelevant-nodes | `boolean` | `true` | Whether to filter unmached nodes when tree is in filter mode. | 2.28.1 | -| show-line | `boolean` | `false` | Whether to display the connection line. | NEXT_VERSION | +| show-line | `boolean` | `false` | Whether to display the connection line. | 2.35.0 | | virtual-scroll | `boolean` | `false` | Whether to enable virtual scroll. You need to set proper style height of the tree in advance. | | | watch-props | `Array<'defaultCheckedKeys' \| 'defaultSelectedKeys' \|'defaultExpandedKeys'>` | `undefined` | Default prop names that needed to be watched. Components will be updated after the prop is changed. Note: the `watch-props` itself is not reactive. | | | on-dragend | `(data: { node: TreeOption, event: DragEvent }) => void` | `undefined` | The callback function after the node completes the dragging action. | | diff --git a/src/tree/demos/zhCN/index.demo-entry.md b/src/tree/demos/zhCN/index.demo-entry.md index 801ecce4974..825a43e6e2a 100644 --- a/src/tree/demos/zhCN/index.demo-entry.md +++ b/src/tree/demos/zhCN/index.demo-entry.md @@ -79,7 +79,7 @@ expand-debug.vue | selectable | `boolean` | `true` | 节点是否可以被选中 | | | selected-keys | `Array` | `undefined` | 如果设定则 `selected` 状态受控 | | | show-irrelevant-nodes | `boolean` | `true` | 是否在搜索状态显示和搜索无关的节点 | 2.28.1 | -| show-line | `boolean` | `false` | 是否显示连接线 | NEXT_VERSION | +| show-line | `boolean` | `false` | 是否显示连接线 | 2.35.0 | | virtual-scroll | `boolean` | `false` | 是否启用虚拟滚动,启用前你需要设定好树的高度样式 | | | watch-props | `Array<'defaultCheckedKeys' \| 'defaultSelectedKeys' \|'defaultExpandedKeys'>` | `undefined` | 需要检测变更的默认属性,检测后组件状态会更新。注意:`watch-props` 本身不是响应式的 | | | on-dragend | `(data: { node: TreeOption, event: DragEvent }) => void` | `undefined` | 节点完成拖拽动作后的回调函数 | | diff --git a/src/version.ts b/src/version.ts index 35002c57dd9..c0ea37d91f7 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export default '2.34.4' +export default '2.35.0'