vxe-table 4.18.13 → 4.18.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/index.css +1 -1
- package/es/index.min.css +1 -1
- package/es/locale/lang/ar-EG.js +27 -9
- package/es/locale/lang/de-DE.js +25 -7
- package/es/locale/lang/en-US.js +26 -8
- package/es/locale/lang/es-ES.js +25 -7
- package/es/locale/lang/fr-FR.js +27 -9
- package/es/locale/lang/hu-HU.js +26 -8
- package/es/locale/lang/hy-AM.js +26 -8
- package/es/locale/lang/id-ID.js +27 -9
- package/es/locale/lang/it-IT.js +26 -8
- package/es/locale/lang/ja-JP.js +25 -7
- package/es/locale/lang/ko-KR.js +26 -8
- package/es/locale/lang/ms-MY.js +27 -9
- package/es/locale/lang/nb-NO.js +27 -9
- package/es/locale/lang/pt-BR.js +27 -9
- package/es/locale/lang/ru-RU.js +25 -7
- package/es/locale/lang/th-TH.js +26 -8
- package/es/locale/lang/ug-CN.js +26 -8
- package/es/locale/lang/uk-UA.js +26 -8
- package/es/locale/lang/uz-UZ.js +26 -8
- package/es/locale/lang/vi-VN.js +25 -7
- package/es/locale/lang/zh-CHT.js +25 -7
- package/es/locale/lang/zh-CN.js +25 -7
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table/src/cell.js +4 -3
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.css +1 -1
- package/lib/index.min.css +1 -1
- package/lib/index.umd.js +31 -13
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/ar-EG.js +27 -9
- package/lib/locale/lang/ar-EG.min.js +1 -1
- package/lib/locale/lang/ar-EG.umd.js +27 -9
- package/lib/locale/lang/de-DE.js +25 -7
- package/lib/locale/lang/de-DE.min.js +1 -1
- package/lib/locale/lang/de-DE.umd.js +25 -7
- package/lib/locale/lang/en-US.js +26 -8
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +26 -8
- package/lib/locale/lang/es-ES.js +25 -7
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/es-ES.umd.js +25 -7
- package/lib/locale/lang/fr-FR.js +27 -9
- package/lib/locale/lang/fr-FR.min.js +1 -1
- package/lib/locale/lang/fr-FR.umd.js +27 -9
- package/lib/locale/lang/hu-HU.js +26 -8
- package/lib/locale/lang/hu-HU.min.js +1 -1
- package/lib/locale/lang/hu-HU.umd.js +26 -8
- package/lib/locale/lang/hy-AM.js +26 -8
- package/lib/locale/lang/hy-AM.min.js +1 -1
- package/lib/locale/lang/hy-AM.umd.js +26 -8
- package/lib/locale/lang/id-ID.js +27 -9
- package/lib/locale/lang/id-ID.min.js +1 -1
- package/lib/locale/lang/id-ID.umd.js +27 -9
- package/lib/locale/lang/it-IT.js +26 -8
- package/lib/locale/lang/it-IT.min.js +1 -1
- package/lib/locale/lang/it-IT.umd.js +26 -8
- package/lib/locale/lang/ja-JP.js +25 -7
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +25 -7
- package/lib/locale/lang/ko-KR.js +26 -8
- package/lib/locale/lang/ko-KR.min.js +1 -1
- package/lib/locale/lang/ko-KR.umd.js +26 -8
- package/lib/locale/lang/ms-MY.js +27 -9
- package/lib/locale/lang/ms-MY.min.js +1 -1
- package/lib/locale/lang/ms-MY.umd.js +27 -9
- package/lib/locale/lang/nb-NO.js +27 -9
- package/lib/locale/lang/nb-NO.min.js +1 -1
- package/lib/locale/lang/nb-NO.umd.js +27 -9
- package/lib/locale/lang/pt-BR.js +27 -9
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/pt-BR.umd.js +27 -9
- package/lib/locale/lang/ru-RU.js +25 -7
- package/lib/locale/lang/ru-RU.min.js +1 -1
- package/lib/locale/lang/ru-RU.umd.js +25 -7
- package/lib/locale/lang/th-TH.js +26 -8
- package/lib/locale/lang/th-TH.min.js +1 -1
- package/lib/locale/lang/th-TH.umd.js +26 -8
- package/lib/locale/lang/ug-CN.js +26 -8
- package/lib/locale/lang/ug-CN.min.js +1 -1
- package/lib/locale/lang/ug-CN.umd.js +26 -8
- package/lib/locale/lang/uk-UA.js +26 -8
- package/lib/locale/lang/uk-UA.min.js +1 -1
- package/lib/locale/lang/uk-UA.umd.js +26 -8
- package/lib/locale/lang/uz-UZ.js +26 -8
- package/lib/locale/lang/uz-UZ.min.js +1 -1
- package/lib/locale/lang/uz-UZ.umd.js +26 -8
- package/lib/locale/lang/vi-VN.js +25 -7
- package/lib/locale/lang/vi-VN.min.js +1 -1
- package/lib/locale/lang/vi-VN.umd.js +25 -7
- package/lib/locale/lang/zh-CHT.js +25 -7
- package/lib/locale/lang/zh-CHT.min.js +1 -1
- package/lib/locale/lang/zh-CHT.umd.js +25 -7
- package/lib/locale/lang/zh-CN.js +25 -7
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +25 -7
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/src/cell.js +4 -4
- package/lib/table/src/cell.min.js +1 -1
- package/lib/ui/index.js +1 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/package.json +1 -1
- package/packages/locale/lang/ar-EG.ts +850 -832
- package/packages/locale/lang/de-DE.ts +850 -832
- package/packages/locale/lang/en-US.ts +850 -832
- package/packages/locale/lang/es-ES.ts +850 -832
- package/packages/locale/lang/fr-FR.ts +850 -832
- package/packages/locale/lang/hu-HU.ts +850 -832
- package/packages/locale/lang/hy-AM.ts +850 -832
- package/packages/locale/lang/id-ID.ts +850 -832
- package/packages/locale/lang/it-IT.ts +850 -832
- package/packages/locale/lang/ja-JP.ts +850 -832
- package/packages/locale/lang/ko-KR.ts +850 -832
- package/packages/locale/lang/ms-MY.ts +850 -832
- package/packages/locale/lang/nb-NO.ts +850 -832
- package/packages/locale/lang/pt-BR.ts +850 -832
- package/packages/locale/lang/ru-RU.ts +850 -832
- package/packages/locale/lang/th-TH.ts +850 -832
- package/packages/locale/lang/ug-CN.ts +850 -832
- package/packages/locale/lang/uk-UA.ts +850 -832
- package/packages/locale/lang/uz-UZ.ts +850 -832
- package/packages/locale/lang/vi-VN.ts +850 -832
- package/packages/locale/lang/zh-CHT.ts +850 -832
- package/packages/locale/lang/zh-CN.ts +25 -7
- package/packages/table/src/cell.ts +4 -3
- /package/es/{iconfont.1776926463538.ttf → iconfont.1780199644357.ttf} +0 -0
- /package/es/{iconfont.1776926463538.woff → iconfont.1780199644357.woff} +0 -0
- /package/es/{iconfont.1776926463538.woff2 → iconfont.1780199644357.woff2} +0 -0
- /package/lib/{iconfont.1776926463538.ttf → iconfont.1780199644357.ttf} +0 -0
- /package/lib/{iconfont.1776926463538.woff → iconfont.1780199644357.woff} +0 -0
- /package/lib/{iconfont.1776926463538.woff2 → iconfont.1780199644357.woff2} +0 -0
|
@@ -25,7 +25,7 @@ export default {
|
|
|
25
25
|
useErr: '安装 "{0}" 模块时发生错误,可能顺序不正确,依赖的模块需要在 Table 之前安装',
|
|
26
26
|
barUnableLink: '工具栏无法关联表格',
|
|
27
27
|
expandContent: '展开行的插槽应该是 "content",请检查是否正确',
|
|
28
|
-
reqComp: '缺少 "{0}" 组件,请检查是否正确安装。 https://vxeui.com/#/start/useGlobal',
|
|
28
|
+
reqComp: '缺少 "{0}" 组件,请检查是否正确安装。 https://vxeui.com/#/start/useUI/useGlobal',
|
|
29
29
|
reqModule: '缺少 "{0}" 模块',
|
|
30
30
|
reqProp: '缺少必要的 "{0}" 参数,这可能会导致出现错误',
|
|
31
31
|
emptyProp: '参数 "{0}" 不允许为空',
|
|
@@ -56,7 +56,7 @@ export default {
|
|
|
56
56
|
treeNotImp: '树表格不支持导入',
|
|
57
57
|
treeCrossDrag: '只能拖拽第一层级',
|
|
58
58
|
treeDragChild: '父级不能拖拽到自己的子级中',
|
|
59
|
-
reqPlugin: '扩展插件未安装 "{1}" https://vxeui.com/other{0}/#/{1}/
|
|
59
|
+
reqPlugin: '扩展插件未安装 "{1}" https://vxeui.com/other{0}/#/{1}/start/npmInstall',
|
|
60
60
|
errMaxRow: '超过支持的最大数据量 {0} 行,这可能会导致出现错误',
|
|
61
61
|
useNew: '不建议使用 {0},请使用 {1}',
|
|
62
62
|
errorVersion: '版本不匹配,当前版本 {0},最低支持版本为 {1}'
|
|
@@ -104,7 +104,8 @@ export default {
|
|
|
104
104
|
select: {
|
|
105
105
|
clear: '清除',
|
|
106
106
|
allChecked: '全选',
|
|
107
|
-
total: '{0}
|
|
107
|
+
total: '已选 {0} 项',
|
|
108
|
+
close: '关闭',
|
|
108
109
|
search: '搜索',
|
|
109
110
|
loadingText: '加载中...',
|
|
110
111
|
emptyText: '暂无数据',
|
|
@@ -121,7 +122,8 @@ export default {
|
|
|
121
122
|
allChecked: '全选',
|
|
122
123
|
allExpand: '全部展开',
|
|
123
124
|
clearExpand: '全部收起',
|
|
124
|
-
total: '已选 {0}',
|
|
125
|
+
total: '已选 {0} 项',
|
|
126
|
+
close: '关闭',
|
|
125
127
|
search: '搜索',
|
|
126
128
|
emptyText: '暂无数据'
|
|
127
129
|
},
|
|
@@ -164,7 +166,7 @@ export default {
|
|
|
164
166
|
cstmDragTarget: '移动:{0}',
|
|
165
167
|
setting: {
|
|
166
168
|
colSort: '排序',
|
|
167
|
-
sortHelpTip: '
|
|
169
|
+
sortHelpTip: '点击图标开始拖动',
|
|
168
170
|
colTitle: '列标题',
|
|
169
171
|
colResizable: '列宽(像素)',
|
|
170
172
|
colVisible: '是否显示',
|
|
@@ -172,7 +174,15 @@ export default {
|
|
|
172
174
|
colFixedMax: '冻结列(最多 {0} 列)',
|
|
173
175
|
fixedLeft: '左侧',
|
|
174
176
|
fixedUnset: '不设置',
|
|
175
|
-
fixedRight: '右侧'
|
|
177
|
+
fixedRight: '右侧',
|
|
178
|
+
moveUp: '上移',
|
|
179
|
+
moveDn: '下移',
|
|
180
|
+
putTop: '置顶',
|
|
181
|
+
putBottom: '置尾',
|
|
182
|
+
moveUpTitle: '点击向上移动',
|
|
183
|
+
moveDnTitle: '点击向下移动',
|
|
184
|
+
putTopTitle: '点击置顶',
|
|
185
|
+
putBottomTitle: '点击置尾'
|
|
176
186
|
}
|
|
177
187
|
},
|
|
178
188
|
import: {
|
|
@@ -230,6 +240,10 @@ export default {
|
|
|
230
240
|
expMergeTitle: '如果存在,则支持带有合并结构的单元格',
|
|
231
241
|
expOptAllExpand: '展开树',
|
|
232
242
|
expAllExpandTitle: '如果存在,则支持将带有层级结构的数据全部展开',
|
|
243
|
+
expOptTreeAllExpand: '展开树',
|
|
244
|
+
expTreeAllExpandTitle: '如果存在,则自动展开所有树层级',
|
|
245
|
+
expOptRowGroupAllExpand: '展开分组',
|
|
246
|
+
expRowGroupAllExpandTitle: '如果存在,则自动展开所有分组层级',
|
|
233
247
|
expOptUseStyle: '样式',
|
|
234
248
|
expUseStyleTitle: '如果存在,则支持带样式的单元格',
|
|
235
249
|
expOptOriginal: '源数据',
|
|
@@ -548,6 +562,10 @@ export default {
|
|
|
548
562
|
contextMenu: {
|
|
549
563
|
loadingText: '加载中...'
|
|
550
564
|
},
|
|
565
|
+
switch: {
|
|
566
|
+
onText: '打开',
|
|
567
|
+
offText: '关闭'
|
|
568
|
+
},
|
|
551
569
|
gantt: {
|
|
552
570
|
tFullFormat: {
|
|
553
571
|
year: '{yyyy}年',
|
|
@@ -638,7 +656,7 @@ export default {
|
|
|
638
656
|
groupPlaceholder: '拖至此处进行分组',
|
|
639
657
|
valuesPlaceholder: '拖至此处进行聚合',
|
|
640
658
|
dragExistCol: '该列已存在',
|
|
641
|
-
sortHelpTip: '
|
|
659
|
+
sortHelpTip: '点击图标开始拖动'
|
|
642
660
|
},
|
|
643
661
|
aggFuncs: {
|
|
644
662
|
sum: '求和',
|
|
@@ -399,7 +399,7 @@ export const Cell = {
|
|
|
399
399
|
const tableInternalData = $table.internalData
|
|
400
400
|
const { isRowGroupStatus } = tableReactData
|
|
401
401
|
const { editConfig } = tableProps
|
|
402
|
-
const { field, slots, editRender, cellRender, rowGroupNode, aggFunc
|
|
402
|
+
const { field, slots, editRender, cellRender, rowGroupNode, aggFunc } = column
|
|
403
403
|
const isEnableEdit = editConfig && isEnableConf(editConfig)
|
|
404
404
|
const editRenderOpts = isEnableEdit && isEnableConf(editRender) ? editRender : null
|
|
405
405
|
const cellRenderOpts = isEnableConf(cellRender) ? cellRender : null
|
|
@@ -473,8 +473,9 @@ export const Cell = {
|
|
|
473
473
|
return renderCellBaseVNs(params, $table.callSlot(defaultSlot, params))
|
|
474
474
|
}
|
|
475
475
|
const renderOpts = editRenderOpts || cellRenderOpts
|
|
476
|
-
//
|
|
477
|
-
|
|
476
|
+
// 如果是编辑表格:renderTableCell > formatter
|
|
477
|
+
// 如果是查看表格:renderTableDefault > formatter
|
|
478
|
+
if (renderOpts) {
|
|
478
479
|
const compConf = renderer.get(renderOpts.name)
|
|
479
480
|
if (compConf) {
|
|
480
481
|
const renderFn = editRenderOpts ? (compConf.renderTableCell || compConf.renderCell) : (compConf.renderTableDefault || compConf.renderDefault)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|