vxe-table 4.7.47 → 4.7.49
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/components.js +7 -3
- package/es/grid/src/grid.js +3 -3
- package/es/locale/lang/en-US.js +7 -1
- package/es/locale/lang/es-ES.js +7 -1
- package/es/locale/lang/ja-JP.js +7 -1
- package/es/locale/lang/pt-BR.js +7 -1
- package/es/locale/lang/zh-CN.js +9 -3
- package/es/locale/lang/zh-TC.js +9 -3
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table/render/index.js +40 -2
- package/es/table/src/cell.js +12 -7
- package/es/table/src/columnInfo.js +1 -0
- package/es/table/src/table.js +63 -13
- package/es/table/style.css +10 -7
- package/es/table/style.min.css +1 -1
- package/es/ui/index.js +2 -2
- package/es/ui/src/log.js +1 -1
- package/es/vxe-table/style.css +10 -7
- package/es/vxe-table/style.min.css +1 -1
- package/lib/components.js +7 -3
- package/lib/components.min.js +1 -1
- package/lib/grid/src/grid.js +3 -3
- package/lib/grid/src/grid.min.js +1 -1
- package/lib/index.umd.js +168 -34
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/en-US.js +7 -1
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +7 -1
- package/lib/locale/lang/es-ES.js +7 -1
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/es-ES.umd.js +7 -1
- package/lib/locale/lang/ja-JP.js +7 -1
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +7 -1
- package/lib/locale/lang/pt-BR.js +7 -1
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/pt-BR.umd.js +7 -1
- package/lib/locale/lang/zh-CN.js +9 -3
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +9 -3
- package/lib/locale/lang/zh-HK.min.js +1 -1
- package/lib/locale/lang/zh-HK.umd.js +9 -3
- package/lib/locale/lang/zh-MO.min.js +1 -1
- package/lib/locale/lang/zh-MO.umd.js +9 -3
- package/lib/locale/lang/zh-TC.js +9 -3
- package/lib/locale/lang/zh-TC.min.js +1 -1
- package/lib/locale/lang/zh-TC.umd.js +9 -3
- package/lib/locale/lang/zh-TW.min.js +1 -1
- package/lib/locale/lang/zh-TW.umd.js +9 -3
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/render/index.js +58 -2
- package/lib/table/render/index.min.js +1 -1
- package/lib/table/src/cell.js +15 -7
- package/lib/table/src/cell.min.js +1 -1
- package/lib/table/src/columnInfo.js +1 -0
- package/lib/table/src/columnInfo.min.js +1 -1
- package/lib/table/src/table.js +69 -13
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/style/style.css +10 -7
- package/lib/table/style/style.min.css +1 -1
- package/lib/ui/index.js +2 -2
- 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/lib/vxe-table/style/style.css +10 -7
- package/lib/vxe-table/style/style.min.css +1 -1
- package/package.json +2 -2
- package/packages/components.ts +7 -3
- package/packages/grid/src/grid.ts +3 -3
- package/packages/locale/lang/en-US.ts +7 -1
- package/packages/locale/lang/es-ES.ts +7 -1
- package/packages/locale/lang/ja-JP.ts +7 -1
- package/packages/locale/lang/pt-BR.ts +7 -1
- package/packages/locale/lang/zh-CN.ts +9 -3
- package/packages/locale/lang/zh-TC.ts +9 -3
- package/packages/table/render/index.ts +47 -2
- package/packages/table/src/cell.ts +12 -7
- package/packages/table/src/columnInfo.ts +1 -0
- package/packages/table/src/table.ts +72 -19
- package/styles/components/table-module/export.scss +1 -1
- package/styles/components/table.scss +15 -6
- /package/es/{iconfont.1720578571395.ttf → iconfont.1720780228287.ttf} +0 -0
- /package/es/{iconfont.1720578571395.woff → iconfont.1720780228287.woff} +0 -0
- /package/es/{iconfont.1720578571395.woff2 → iconfont.1720780228287.woff2} +0 -0
- /package/lib/{iconfont.1720578571395.ttf → iconfont.1720780228287.ttf} +0 -0
- /package/lib/{iconfont.1720578571395.woff → iconfont.1720780228287.woff} +0 -0
- /package/lib/{iconfont.1720578571395.woff2 → iconfont.1720780228287.woff2} +0 -0
package/es/components.js
CHANGED
|
@@ -18,10 +18,14 @@ export function install(app, options) {
|
|
|
18
18
|
components.forEach(component => component.install(app));
|
|
19
19
|
}
|
|
20
20
|
// 保留兼容老版本
|
|
21
|
-
const defaultLanguage = 'zh-CN';
|
|
22
|
-
VxeUI.setI18n(defaultLanguage, zhCN);
|
|
23
|
-
VxeUI.setLanguage(defaultLanguage);
|
|
24
21
|
VxeUI.setTheme('light');
|
|
22
|
+
setTimeout(() => {
|
|
23
|
+
if (!VxeUI.hasLanguage('zh-CN')) {
|
|
24
|
+
const defaultLanguage = 'zh-CN';
|
|
25
|
+
VxeUI.setI18n(defaultLanguage, zhCN);
|
|
26
|
+
VxeUI.setLanguage(defaultLanguage);
|
|
27
|
+
}
|
|
28
|
+
});
|
|
25
29
|
export * from './ui';
|
|
26
30
|
// Components
|
|
27
31
|
export * from './table';
|
package/es/grid/src/grid.js
CHANGED
|
@@ -146,10 +146,10 @@ export default defineComponent({
|
|
|
146
146
|
const tableProps = Object.assign({}, tableExtendProps);
|
|
147
147
|
if (isZMax) {
|
|
148
148
|
if (tableExtendProps.maxHeight) {
|
|
149
|
-
tableProps.maxHeight = '
|
|
149
|
+
tableProps.maxHeight = 'fill';
|
|
150
150
|
}
|
|
151
151
|
else {
|
|
152
|
-
tableProps.height = '
|
|
152
|
+
tableProps.height = 'fill';
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
155
|
if (proxyConfig && isEnableConf(proxyOpts)) {
|
|
@@ -1049,7 +1049,7 @@ export default defineComponent({
|
|
|
1049
1049
|
const topWrapper = refTopWrapper.value;
|
|
1050
1050
|
const bottomWrapper = refBottomWrapper.value;
|
|
1051
1051
|
const pagerWrapper = refPagerWrapper.value;
|
|
1052
|
-
const parentPaddingSize = isZMax || height
|
|
1052
|
+
const parentPaddingSize = isZMax || !(height === 'auto' || height === 'fill') ? 0 : getPaddingTopBottomSize(el.parentNode);
|
|
1053
1053
|
return parentPaddingSize + getPaddingTopBottomSize(el) + getOffsetHeight(formWrapper) + getOffsetHeight(toolbarWrapper) + getOffsetHeight(topWrapper) + getOffsetHeight(bottomWrapper) + getOffsetHeight(pagerWrapper);
|
|
1054
1054
|
},
|
|
1055
1055
|
getParentHeight() {
|
package/es/locale/lang/en-US.js
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 已废弃
|
|
3
|
+
* @deprecated
|
|
4
|
+
*/
|
|
1
5
|
export default {
|
|
2
6
|
vxe: {
|
|
3
7
|
base: {
|
|
@@ -19,7 +23,7 @@ export default {
|
|
|
19
23
|
useErr: 'Error installing "{0}" module, possibly in the wrong order, dependent modules need to be installed before Table.',
|
|
20
24
|
barUnableLink: 'Toolbar cannot associate table.',
|
|
21
25
|
expandContent: 'Expand row slot should be "content", please check if it is correct.',
|
|
22
|
-
reqComp: 'Require "{0}" component, check whether the install is correct
|
|
26
|
+
reqComp: 'Require "{0}" component, check whether the install is correct',
|
|
23
27
|
reqModule: 'require "{0}" module.',
|
|
24
28
|
reqProp: 'Missing the necessary "{0}" parameter, which can cause error.',
|
|
25
29
|
emptyProp: 'The property "{0}" is not allowed to be empty.',
|
|
@@ -351,6 +355,7 @@ export default {
|
|
|
351
355
|
VxeDatePicker: 'Date',
|
|
352
356
|
VxeTextarea: 'Textarea',
|
|
353
357
|
VxeSelect: 'Select',
|
|
358
|
+
VxeTreeSelect: 'Tree select',
|
|
354
359
|
VxeRadioGroup: 'Radio',
|
|
355
360
|
VxeCheckboxGroup: 'Checkbox',
|
|
356
361
|
VxeUploadFile: 'File',
|
|
@@ -361,6 +366,7 @@ export default {
|
|
|
361
366
|
name: 'Field name',
|
|
362
367
|
placeholder: 'Field placeholder',
|
|
363
368
|
required: 'Required',
|
|
369
|
+
multiple: 'Allow to select multiple',
|
|
364
370
|
displaySetting: {
|
|
365
371
|
name: 'Display setting',
|
|
366
372
|
pc: 'PC',
|
package/es/locale/lang/es-ES.js
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 已废弃
|
|
3
|
+
* @deprecated
|
|
4
|
+
*/
|
|
1
5
|
export default {
|
|
2
6
|
vxe: {
|
|
3
7
|
base: {
|
|
@@ -19,7 +23,7 @@ export default {
|
|
|
19
23
|
useErr: 'Error al instalar el módulo "{0}", posiblemente en el orden equivocado, los módulos dependientes deben ser instalados antes de la tabla.',
|
|
20
24
|
barUnableLink: 'La barra de herramientas no puede asociarse con la tabla.',
|
|
21
25
|
expandContent: 'La ranura de fila expandible debería ser "contenido", por favor revise si está correcta.',
|
|
22
|
-
reqComp: 'Require "{0}" component, check whether the install is correct
|
|
26
|
+
reqComp: 'Require "{0}" component, check whether the install is correct',
|
|
23
27
|
reqModule: 'Requerir el módulo "{0}".',
|
|
24
28
|
reqProp: 'Falta el parámetro necesario "{0}", lo que puede causar errores.',
|
|
25
29
|
emptyProp: 'La propiedad "{0}" no se permite estar vacía.',
|
|
@@ -351,6 +355,7 @@ export default {
|
|
|
351
355
|
VxeDatePicker: 'Date',
|
|
352
356
|
VxeTextarea: 'Textarea',
|
|
353
357
|
VxeSelect: 'Select',
|
|
358
|
+
VxeTreeSelect: 'Tree select',
|
|
354
359
|
VxeRadioGroup: 'Radio',
|
|
355
360
|
VxeCheckboxGroup: 'Checkbox',
|
|
356
361
|
VxeUploadFile: 'File',
|
|
@@ -361,6 +366,7 @@ export default {
|
|
|
361
366
|
name: 'Field name',
|
|
362
367
|
placeholder: 'Field placeholder',
|
|
363
368
|
required: 'Required',
|
|
369
|
+
multiple: 'Allow to select multiple',
|
|
364
370
|
displaySetting: {
|
|
365
371
|
name: 'Display setting',
|
|
366
372
|
pc: 'PC',
|
package/es/locale/lang/ja-JP.js
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 已废弃
|
|
3
|
+
* @deprecated
|
|
4
|
+
*/
|
|
1
5
|
export default {
|
|
2
6
|
vxe: {
|
|
3
7
|
base: {
|
|
@@ -19,7 +23,7 @@ export default {
|
|
|
19
23
|
useErr: '"{0}" モジュールをインストールする際にエラーが発生し、順序が正しくない可能性がある。依存するモジュールはTableの前にインストールする必要がある',
|
|
20
24
|
barUnableLink: 'ツールバーはフォームを関連付けることができない',
|
|
21
25
|
expandContent: '拡張行スロットは "content" である必要があります。確認してください',
|
|
22
|
-
reqComp: 'Require "{0}" component, check whether the install is correct
|
|
26
|
+
reqComp: 'Require "{0}" component, check whether the install is correct',
|
|
23
27
|
reqModule: '"{0}" モジュールが必要です',
|
|
24
28
|
reqProp: '必要な "{0}" パラメーターが欠落しているため、エラーが発生する可能性があります',
|
|
25
29
|
emptyProp: '"{0}" プロパティは空白が許可されていません',
|
|
@@ -351,6 +355,7 @@ export default {
|
|
|
351
355
|
VxeDatePicker: 'Date',
|
|
352
356
|
VxeTextarea: 'Textarea',
|
|
353
357
|
VxeSelect: 'Select',
|
|
358
|
+
VxeTreeSelect: 'Tree select',
|
|
354
359
|
VxeRadioGroup: 'Radio',
|
|
355
360
|
VxeCheckboxGroup: 'Checkbox',
|
|
356
361
|
VxeUploadFile: 'File',
|
|
@@ -361,6 +366,7 @@ export default {
|
|
|
361
366
|
name: 'Field name',
|
|
362
367
|
placeholder: 'Field placeholder',
|
|
363
368
|
required: 'Required',
|
|
369
|
+
multiple: 'Allow to select multiple',
|
|
364
370
|
displaySetting: {
|
|
365
371
|
name: 'Display setting',
|
|
366
372
|
pc: 'PC',
|
package/es/locale/lang/pt-BR.js
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 已废弃
|
|
3
|
+
* @deprecated
|
|
4
|
+
*/
|
|
1
5
|
export default {
|
|
2
6
|
vxe: {
|
|
3
7
|
base: {
|
|
@@ -19,7 +23,7 @@ export default {
|
|
|
19
23
|
useErr: 'Erro ao instalar o módulo "{0}", possivelmente na ordem errada, os módulos dependentes precisam ser instalados antes da Tabela.',
|
|
20
24
|
barUnableLink: 'A barra de ferramentas não pode ser associada à tabela.',
|
|
21
25
|
expandContent: 'O slot de linha expandida deve ser "content", verifique se está correto.',
|
|
22
|
-
reqComp: 'Require "{0}" component, check whether the install is correct
|
|
26
|
+
reqComp: 'Require "{0}" component, check whether the install is correct',
|
|
23
27
|
reqModule: 'requerir o módulo "{0}".',
|
|
24
28
|
reqProp: 'Faltando o parâmetro necessário "{0}", o que pode causar um erro.',
|
|
25
29
|
emptyProp: 'A propriedade "{0}" não pode estar vazia.',
|
|
@@ -351,6 +355,7 @@ export default {
|
|
|
351
355
|
VxeDatePicker: 'Date',
|
|
352
356
|
VxeTextarea: 'Textarea',
|
|
353
357
|
VxeSelect: 'Select',
|
|
358
|
+
VxeTreeSelect: 'Tree select',
|
|
354
359
|
VxeRadioGroup: 'Radio',
|
|
355
360
|
VxeCheckboxGroup: 'Checkbox',
|
|
356
361
|
VxeUploadFile: 'File',
|
|
@@ -361,6 +366,7 @@ export default {
|
|
|
361
366
|
name: 'Field name',
|
|
362
367
|
placeholder: 'Field placeholder',
|
|
363
368
|
required: 'Required',
|
|
369
|
+
multiple: 'Allow to select multiple',
|
|
364
370
|
displaySetting: {
|
|
365
371
|
name: 'Display setting',
|
|
366
372
|
pc: 'PC',
|
package/es/locale/lang/zh-CN.js
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 已废弃
|
|
3
|
+
* @deprecated
|
|
4
|
+
*/
|
|
1
5
|
export default {
|
|
2
6
|
vxe: {
|
|
3
7
|
base: {
|
|
@@ -19,7 +23,7 @@ export default {
|
|
|
19
23
|
useErr: '安装 "{0}" 模块时发生错误,可能顺序不正确,依赖的模块需要在 Table 之前安装',
|
|
20
24
|
barUnableLink: '工具栏无法关联表格',
|
|
21
25
|
expandContent: '展开行的插槽应该是 "content",请检查是否正确',
|
|
22
|
-
reqComp: '缺少 "{0}" 组件,请检查是否正确安装
|
|
26
|
+
reqComp: '缺少 "{0}" 组件,请检查是否正确安装',
|
|
23
27
|
reqModule: '缺少 "{0}" 模块',
|
|
24
28
|
reqProp: '缺少必要的 "{0}" 参数,这可能会导致出现错误',
|
|
25
29
|
emptyProp: '参数 "{0}" 不允许为空',
|
|
@@ -341,7 +345,7 @@ export default {
|
|
|
341
345
|
component: {
|
|
342
346
|
input: '输入框',
|
|
343
347
|
textarea: '文本域',
|
|
344
|
-
select: '
|
|
348
|
+
select: '下拉选择',
|
|
345
349
|
row: '一行多列',
|
|
346
350
|
title: '文本',
|
|
347
351
|
subtable: '子表',
|
|
@@ -350,7 +354,8 @@ export default {
|
|
|
350
354
|
VxeNumberInput: '数字',
|
|
351
355
|
VxeDatePicker: '日期',
|
|
352
356
|
VxeTextarea: '文本域',
|
|
353
|
-
VxeSelect: '
|
|
357
|
+
VxeSelect: '下拉选择',
|
|
358
|
+
VxeTreeSelect: '树形选择',
|
|
354
359
|
VxeRadioGroup: '单选框',
|
|
355
360
|
VxeCheckboxGroup: '复选框',
|
|
356
361
|
VxeUploadFile: '文件',
|
|
@@ -361,6 +366,7 @@ export default {
|
|
|
361
366
|
name: '控件名称',
|
|
362
367
|
placeholder: '提示语',
|
|
363
368
|
required: '必填校验',
|
|
369
|
+
multiple: '允许多选',
|
|
364
370
|
displaySetting: {
|
|
365
371
|
name: '显示设置',
|
|
366
372
|
pc: '电脑端',
|
package/es/locale/lang/zh-TC.js
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 已废弃
|
|
3
|
+
* @deprecated
|
|
4
|
+
*/
|
|
1
5
|
export default {
|
|
2
6
|
vxe: {
|
|
3
7
|
base: {
|
|
@@ -19,7 +23,7 @@ export default {
|
|
|
19
23
|
useErr: '安裝 "{0}" 模組時發生錯誤,可能順序不正確,依賴的模組需要在Table之前安裝',
|
|
20
24
|
barUnableLink: '工具欄無法關聯表格',
|
|
21
25
|
expandContent: '展開行的插槽應該是 “content”,請檢查是否正確',
|
|
22
|
-
reqComp: '缺少 "{0}" 組件,请检查是否正确安装
|
|
26
|
+
reqComp: '缺少 "{0}" 組件,请检查是否正确安装',
|
|
23
27
|
reqModule: '缺少 "{0}" 模組',
|
|
24
28
|
reqProp: '缺少必要的 "{0}" 參數,可能會導致出現錯誤',
|
|
25
29
|
emptyProp: '參數 "{0}" 不允許為空',
|
|
@@ -339,7 +343,7 @@ export default {
|
|
|
339
343
|
component: {
|
|
340
344
|
input: '输入框',
|
|
341
345
|
textarea: '文本域',
|
|
342
|
-
select: '
|
|
346
|
+
select: '下拉选择',
|
|
343
347
|
row: '一行多列',
|
|
344
348
|
title: '文本',
|
|
345
349
|
subtable: '子表',
|
|
@@ -348,7 +352,8 @@ export default {
|
|
|
348
352
|
VxeNumberInput: '数字',
|
|
349
353
|
VxeDatePicker: '日期',
|
|
350
354
|
VxeTextarea: '文本域',
|
|
351
|
-
VxeSelect: '
|
|
355
|
+
VxeSelect: '下拉选择',
|
|
356
|
+
VxeTreeSelect: '树形选择',
|
|
352
357
|
VxeRadioGroup: '单选框',
|
|
353
358
|
VxeCheckboxGroup: '复选框',
|
|
354
359
|
VxeUploadFile: '文件',
|
|
@@ -359,6 +364,7 @@ export default {
|
|
|
359
364
|
name: '控件名称',
|
|
360
365
|
placeholder: '控件提示',
|
|
361
366
|
required: '必填校验',
|
|
367
|
+
multiple: '允许多选',
|
|
362
368
|
displaySetting: {
|
|
363
369
|
name: '显示设置',
|
|
364
370
|
pc: '电脑端',
|