vxe-table 3.13.24 → 3.13.26
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/locale/lang/ar-EG.js +5 -0
- package/es/locale/lang/de-DE.js +5 -0
- package/es/locale/lang/en-US.js +5 -0
- package/es/locale/lang/es-ES.js +5 -0
- package/es/locale/lang/fr-FR.js +5 -0
- package/es/locale/lang/hu-HU.js +5 -0
- package/es/locale/lang/hy-AM.js +5 -0
- package/es/locale/lang/id-ID.js +5 -0
- package/es/locale/lang/it-IT.js +5 -0
- package/es/locale/lang/ja-JP.js +5 -0
- package/es/locale/lang/ko-KR.js +5 -0
- package/es/locale/lang/nb-NO.js +5 -0
- package/es/locale/lang/pt-BR.js +5 -0
- package/es/locale/lang/ru-RU.js +5 -0
- package/es/locale/lang/th-TH.js +5 -0
- package/es/locale/lang/ug-CN.js +5 -0
- package/es/locale/lang/uk-UA.js +5 -0
- package/es/locale/lang/vi-VN.js +5 -0
- package/es/locale/lang/zh-CHT.js +5 -0
- package/es/locale/lang/zh-CN.js +5 -0
- package/es/style.css +1 -1
- package/es/table/src/cell.js +10 -9
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +22 -10
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/ar-EG.js +5 -0
- package/lib/locale/lang/ar-EG.min.js +1 -1
- package/lib/locale/lang/de-DE.js +5 -0
- package/lib/locale/lang/de-DE.min.js +1 -1
- package/lib/locale/lang/en-US.js +5 -0
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +5 -0
- package/lib/locale/lang/es-ES.js +5 -0
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/es-ES.umd.js +5 -0
- package/lib/locale/lang/fr-FR.js +5 -0
- package/lib/locale/lang/fr-FR.min.js +1 -1
- package/lib/locale/lang/hu-HU.js +5 -0
- package/lib/locale/lang/hu-HU.min.js +1 -1
- package/lib/locale/lang/hu-HU.umd.js +5 -0
- package/lib/locale/lang/hy-AM.js +5 -0
- package/lib/locale/lang/hy-AM.min.js +1 -1
- package/lib/locale/lang/id-ID.js +5 -0
- package/lib/locale/lang/id-ID.min.js +1 -1
- package/lib/locale/lang/it-IT.js +5 -0
- package/lib/locale/lang/it-IT.min.js +1 -1
- package/lib/locale/lang/ja-JP.js +5 -0
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +5 -0
- package/lib/locale/lang/ko-KR.js +5 -0
- package/lib/locale/lang/ko-KR.min.js +1 -1
- package/lib/locale/lang/ko-KR.umd.js +5 -0
- package/lib/locale/lang/nb-NO.js +5 -0
- package/lib/locale/lang/nb-NO.min.js +1 -1
- package/lib/locale/lang/pt-BR.js +5 -0
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/pt-BR.umd.js +5 -0
- package/lib/locale/lang/ru-RU.js +5 -0
- package/lib/locale/lang/ru-RU.min.js +1 -1
- package/lib/locale/lang/ru-RU.umd.js +5 -0
- package/lib/locale/lang/th-TH.js +5 -0
- package/lib/locale/lang/th-TH.min.js +1 -1
- package/lib/locale/lang/ug-CN.js +5 -0
- package/lib/locale/lang/ug-CN.min.js +1 -1
- package/lib/locale/lang/uk-UA.js +5 -0
- package/lib/locale/lang/uk-UA.min.js +1 -1
- package/lib/locale/lang/uk-UA.umd.js +5 -0
- package/lib/locale/lang/vi-VN.js +5 -0
- package/lib/locale/lang/vi-VN.min.js +1 -1
- package/lib/locale/lang/zh-CHT.js +5 -0
- package/lib/locale/lang/zh-CHT.min.js +1 -1
- package/lib/locale/lang/zh-CHT.umd.js +5 -0
- package/lib/locale/lang/zh-CN.js +5 -0
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +5 -0
- package/lib/style.css +1 -1
- package/lib/table/src/cell.js +15 -8
- 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 +2 -2
- package/packages/locale/lang/ar-EG.ts +5 -0
- package/packages/locale/lang/de-DE.ts +5 -0
- package/packages/locale/lang/en-US.ts +5 -0
- package/packages/locale/lang/es-ES.ts +5 -0
- package/packages/locale/lang/fr-FR.ts +5 -0
- package/packages/locale/lang/hu-HU.ts +5 -0
- package/packages/locale/lang/hy-AM.ts +5 -0
- package/packages/locale/lang/id-ID.ts +5 -0
- package/packages/locale/lang/it-IT.ts +5 -0
- package/packages/locale/lang/ja-JP.ts +5 -0
- package/packages/locale/lang/ko-KR.ts +5 -0
- package/packages/locale/lang/nb-NO.ts +5 -0
- package/packages/locale/lang/pt-BR.ts +5 -0
- package/packages/locale/lang/ru-RU.ts +5 -0
- package/packages/locale/lang/th-TH.ts +5 -0
- package/packages/locale/lang/ug-CN.ts +5 -0
- package/packages/locale/lang/uk-UA.ts +5 -0
- package/packages/locale/lang/vi-VN.ts +5 -0
- package/packages/locale/lang/zh-CHT.ts +5 -0
- package/packages/locale/lang/zh-CN.ts +5 -0
- package/packages/table/src/cell.ts +10 -9
- /package/es/{iconfont.1741854422584.ttf → iconfont.1741945155585.ttf} +0 -0
- /package/es/{iconfont.1741854422584.woff → iconfont.1741945155585.woff} +0 -0
- /package/es/{iconfont.1741854422584.woff2 → iconfont.1741945155585.woff2} +0 -0
- /package/lib/{iconfont.1741854422584.ttf → iconfont.1741945155585.ttf} +0 -0
- /package/lib/{iconfont.1741854422584.woff → iconfont.1741945155585.woff} +0 -0
- /package/lib/{iconfont.1741854422584.woff2 → iconfont.1741945155585.woff2} +0 -0
|
@@ -237,6 +237,9 @@ export default {
|
|
|
237
237
|
fixedRight: 'ئوڭ ياندا توڭلىتىش',
|
|
238
238
|
cancelFixed: 'قۇر توڭلىتىشنى ئەمەلدىن قالدۇرۇش'
|
|
239
239
|
},
|
|
240
|
+
datePicker: {
|
|
241
|
+
yearTitle: '{0} يىل'
|
|
242
|
+
},
|
|
240
243
|
input: {
|
|
241
244
|
date: {
|
|
242
245
|
m1: '01 ئاي',
|
|
@@ -567,6 +570,7 @@ export default {
|
|
|
567
570
|
},
|
|
568
571
|
filterCombination: {
|
|
569
572
|
menus: {
|
|
573
|
+
sort: '排序',
|
|
570
574
|
clearSort: 'تەرتىپنى تازىلاش',
|
|
571
575
|
sortAsc: 'ئېشىش',
|
|
572
576
|
sortDesc: 'كېمىيىش',
|
|
@@ -671,6 +675,7 @@ export default {
|
|
|
671
675
|
},
|
|
672
676
|
combination: {
|
|
673
677
|
menus: {
|
|
678
|
+
sort: '排序',
|
|
674
679
|
clearSort: 'تەرتىپنى تازىلاش',
|
|
675
680
|
sortAsc: 'ئېشىش',
|
|
676
681
|
sortDesc: 'كېمىيىش',
|
|
@@ -237,6 +237,9 @@ export default {
|
|
|
237
237
|
fixedRight: 'Зафіксувати праворуч',
|
|
238
238
|
cancelFixed: 'Скасувати фіксацію стовпця'
|
|
239
239
|
},
|
|
240
|
+
datePicker: {
|
|
241
|
+
yearTitle: '{0} 年'
|
|
242
|
+
},
|
|
240
243
|
input: {
|
|
241
244
|
date: {
|
|
242
245
|
m1: '01 місяць',
|
|
@@ -567,6 +570,7 @@ export default {
|
|
|
567
570
|
},
|
|
568
571
|
filterCombination: {
|
|
569
572
|
menus: {
|
|
573
|
+
sort: '排序',
|
|
570
574
|
clearSort: 'Очистити сортування',
|
|
571
575
|
sortAsc: 'По зростанню',
|
|
572
576
|
sortDesc: 'По спаданню',
|
|
@@ -671,6 +675,7 @@ export default {
|
|
|
671
675
|
},
|
|
672
676
|
combination: {
|
|
673
677
|
menus: {
|
|
678
|
+
sort: '排序',
|
|
674
679
|
clearSort: 'Очистити сортування',
|
|
675
680
|
sortAsc: 'По зростанню',
|
|
676
681
|
sortDesc: 'По спаданню',
|
|
@@ -237,6 +237,9 @@ export default {
|
|
|
237
237
|
fixedRight: '冻结在右侧',
|
|
238
238
|
cancelFixed: '取消冻结列'
|
|
239
239
|
},
|
|
240
|
+
datePicker: {
|
|
241
|
+
yearTitle: '{0} 年'
|
|
242
|
+
},
|
|
240
243
|
input: {
|
|
241
244
|
date: {
|
|
242
245
|
m1: '01 月',
|
|
@@ -567,6 +570,7 @@ export default {
|
|
|
567
570
|
},
|
|
568
571
|
filterCombination: {
|
|
569
572
|
menus: {
|
|
573
|
+
sort: '排序',
|
|
570
574
|
clearSort: '清除排序',
|
|
571
575
|
sortAsc: '升序',
|
|
572
576
|
sortDesc: '降序',
|
|
@@ -671,6 +675,7 @@ export default {
|
|
|
671
675
|
},
|
|
672
676
|
combination: {
|
|
673
677
|
menus: {
|
|
678
|
+
sort: '排序',
|
|
674
679
|
clearSort: '清除排序',
|
|
675
680
|
sortAsc: '升序',
|
|
676
681
|
sortDesc: '降序',
|
|
@@ -237,6 +237,9 @@ export default {
|
|
|
237
237
|
fixedRight: '凍結在右側',
|
|
238
238
|
cancelFixed: '取消凍結列'
|
|
239
239
|
},
|
|
240
|
+
datePicker: {
|
|
241
|
+
yearTitle: '{0} 年'
|
|
242
|
+
},
|
|
240
243
|
input: {
|
|
241
244
|
date: {
|
|
242
245
|
m1: '01 月',
|
|
@@ -567,6 +570,7 @@ export default {
|
|
|
567
570
|
},
|
|
568
571
|
filterCombination: {
|
|
569
572
|
menus: {
|
|
573
|
+
sort: '排序',
|
|
570
574
|
clearSort: '清除排序',
|
|
571
575
|
sortAsc: '升序',
|
|
572
576
|
sortDesc: '降序',
|
|
@@ -671,6 +675,7 @@ export default {
|
|
|
671
675
|
},
|
|
672
676
|
combination: {
|
|
673
677
|
menus: {
|
|
678
|
+
sort: '排序',
|
|
674
679
|
clearSort: '清除排序',
|
|
675
680
|
sortAsc: '升序',
|
|
676
681
|
sortDesc: '降序',
|
|
@@ -237,6 +237,9 @@ export default {
|
|
|
237
237
|
fixedRight: '冻结在右侧',
|
|
238
238
|
cancelFixed: '取消冻结列'
|
|
239
239
|
},
|
|
240
|
+
datePicker: {
|
|
241
|
+
yearTitle: '{0} 年'
|
|
242
|
+
},
|
|
240
243
|
input: {
|
|
241
244
|
date: {
|
|
242
245
|
m1: '01 月',
|
|
@@ -567,6 +570,7 @@ export default {
|
|
|
567
570
|
},
|
|
568
571
|
filterCombination: {
|
|
569
572
|
menus: {
|
|
573
|
+
sort: '排序',
|
|
570
574
|
clearSort: '清除排序',
|
|
571
575
|
sortAsc: '升序',
|
|
572
576
|
sortDesc: '降序',
|
|
@@ -671,6 +675,7 @@ export default {
|
|
|
671
675
|
},
|
|
672
676
|
combination: {
|
|
673
677
|
menus: {
|
|
678
|
+
sort: '排序',
|
|
674
679
|
clearSort: '清除排序',
|
|
675
680
|
sortAsc: '升序',
|
|
676
681
|
sortDesc: '降序',
|
|
@@ -580,7 +580,8 @@ export const Cell = {
|
|
|
580
580
|
const headerSlot = slots ? slots.header : null
|
|
581
581
|
const titleSlot = slots ? slots.title : null
|
|
582
582
|
const checkboxOpts = $table.computeCheckboxOpts
|
|
583
|
-
const headerTitle =
|
|
583
|
+
const { checkStrictly, showHeader, headerTitle } = checkboxOpts
|
|
584
|
+
const colTitle = column.getTitle()
|
|
584
585
|
const ons: Record<string, any> = {}
|
|
585
586
|
if (!isHidden) {
|
|
586
587
|
ons.click = (evnt: any) => {
|
|
@@ -593,11 +594,11 @@ export const Cell = {
|
|
|
593
594
|
if (headerSlot) {
|
|
594
595
|
return renderHeaderCellBaseVNs(h, params, renderTitleContent(h, checkboxParams, $table.callSlot(headerSlot, checkboxParams, h)))
|
|
595
596
|
}
|
|
596
|
-
if (
|
|
597
|
+
if (checkStrictly ? !showHeader : showHeader === false) {
|
|
597
598
|
return renderHeaderCellBaseVNs(h, params, renderTitleContent(h, checkboxParams, [
|
|
598
599
|
h('span', {
|
|
599
600
|
class: 'vxe-checkbox--label'
|
|
600
|
-
}, titleSlot ? $table.callSlot(titleSlot, checkboxParams, h) :
|
|
601
|
+
}, titleSlot ? $table.callSlot(titleSlot, checkboxParams, h) : colTitle)
|
|
601
602
|
]))
|
|
602
603
|
}
|
|
603
604
|
return renderHeaderCellBaseVNs(h, params,
|
|
@@ -609,18 +610,18 @@ export const Cell = {
|
|
|
609
610
|
'is--indeterminate': isAllCheckboxIndeterminate
|
|
610
611
|
}],
|
|
611
612
|
attrs: {
|
|
612
|
-
title: getI18n('vxe.table.allTitle')
|
|
613
|
+
title: XEUtils.eqNull(headerTitle) ? getI18n('vxe.table.allTitle') : `${headerTitle || ''}`
|
|
613
614
|
},
|
|
614
615
|
on: ons
|
|
615
616
|
}, [
|
|
616
617
|
h('span', {
|
|
617
618
|
class: ['vxe-checkbox--icon', isAllCheckboxIndeterminate ? getIcon().TABLE_CHECKBOX_INDETERMINATE : (isAllCheckboxSelected ? getIcon().TABLE_CHECKBOX_CHECKED : getIcon().TABLE_CHECKBOX_UNCHECKED)]
|
|
618
619
|
})
|
|
619
|
-
].concat(titleSlot ||
|
|
620
|
+
].concat(titleSlot || colTitle
|
|
620
621
|
? [
|
|
621
622
|
h('span', {
|
|
622
623
|
class: 'vxe-checkbox--label'
|
|
623
|
-
}, titleSlot ? $table.callSlot(titleSlot, checkboxParams, h) :
|
|
624
|
+
}, titleSlot ? $table.callSlot(titleSlot, checkboxParams, h) : colTitle)
|
|
624
625
|
]
|
|
625
626
|
: []))
|
|
626
627
|
])
|
|
@@ -871,7 +872,7 @@ export const Cell = {
|
|
|
871
872
|
renderSortIcon (h: CreateElement, params: (VxeTableDefines.CellRenderHeaderParams | VxeTableDefines.CellRenderHeaderParams) & { $table: VxeTableConstructor & VxeTablePrivateMethods }) {
|
|
872
873
|
const { $table, column } = params
|
|
873
874
|
const sortOpts = $table.computeSortOpts
|
|
874
|
-
const { showIcon, allowBtn, iconLayout, iconAsc, iconDesc, iconVisibleMethod } = sortOpts
|
|
875
|
+
const { showIcon, allowBtn, ascTitle, descTitle, iconLayout, iconAsc, iconDesc, iconVisibleMethod } = sortOpts
|
|
875
876
|
if (showIcon && (!iconVisibleMethod || iconVisibleMethod(params))) {
|
|
876
877
|
return [
|
|
877
878
|
h('span', {
|
|
@@ -882,7 +883,7 @@ export const Cell = {
|
|
|
882
883
|
'sort--active': column.order === 'asc'
|
|
883
884
|
}],
|
|
884
885
|
attrs: {
|
|
885
|
-
title: getI18n('vxe.table.sortAsc')
|
|
886
|
+
title: XEUtils.eqNull(ascTitle) ? getI18n('vxe.table.sortAsc') : `${ascTitle || ''}`
|
|
886
887
|
},
|
|
887
888
|
on: allowBtn
|
|
888
889
|
? {
|
|
@@ -898,7 +899,7 @@ export const Cell = {
|
|
|
898
899
|
'sort--active': column.order === 'desc'
|
|
899
900
|
}],
|
|
900
901
|
attrs: {
|
|
901
|
-
title: getI18n('vxe.table.sortDesc')
|
|
902
|
+
title: XEUtils.eqNull(descTitle) ? getI18n('vxe.table.sortDesc') : `${descTitle || ''}`
|
|
902
903
|
},
|
|
903
904
|
on: allowBtn
|
|
904
905
|
? {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|