vxe-table 4.20.10 → 4.20.12
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/dist/all.esm.js +42 -8
- package/dist/style.css +1 -1
- package/es/grid/src/grid.js +2 -2
- package/es/locale/lang/ar-EG.js +20 -0
- package/es/locale/lang/de-DE.js +20 -0
- package/es/locale/lang/en-US.js +20 -0
- package/es/locale/lang/es-ES.js +20 -0
- package/es/locale/lang/fr-FR.js +20 -0
- package/es/locale/lang/hu-HU.js +20 -0
- package/es/locale/lang/hy-AM.js +20 -0
- package/es/locale/lang/id-ID.js +20 -0
- package/es/locale/lang/it-IT.js +20 -0
- package/es/locale/lang/ja-JP.js +20 -0
- package/es/locale/lang/ko-KR.js +20 -0
- package/es/locale/lang/ms-MY.js +20 -0
- package/es/locale/lang/nb-NO.js +20 -0
- package/es/locale/lang/pt-BR.js +20 -0
- package/es/locale/lang/ru-RU.js +20 -0
- package/es/locale/lang/th-TH.js +20 -0
- package/es/locale/lang/ug-CN.js +20 -0
- package/es/locale/lang/uk-UA.js +20 -0
- package/es/locale/lang/uz-UZ.js +20 -0
- package/es/locale/lang/vi-VN.js +20 -0
- package/es/locale/lang/zh-CHT.js +20 -0
- package/es/locale/lang/zh-CN.js +22 -2
- package/es/style.css +1 -1
- package/es/table/src/table.js +16 -2
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/grid/src/grid.js +2 -2
- package/lib/grid/src/grid.min.js +1 -1
- package/lib/index.umd.js +104 -101
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/ar-EG.js +20 -0
- package/lib/locale/lang/ar-EG.min.js +1 -1
- package/lib/locale/lang/ar-EG.umd.js +20 -0
- package/lib/locale/lang/de-DE.js +20 -0
- package/lib/locale/lang/de-DE.min.js +1 -1
- package/lib/locale/lang/de-DE.umd.js +20 -0
- package/lib/locale/lang/en-US.js +20 -0
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +20 -0
- package/lib/locale/lang/es-ES.js +20 -0
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/es-ES.umd.js +20 -0
- package/lib/locale/lang/fr-FR.js +20 -0
- package/lib/locale/lang/fr-FR.min.js +1 -1
- package/lib/locale/lang/fr-FR.umd.js +20 -0
- package/lib/locale/lang/hu-HU.js +20 -0
- package/lib/locale/lang/hu-HU.min.js +1 -1
- package/lib/locale/lang/hu-HU.umd.js +20 -0
- package/lib/locale/lang/hy-AM.js +20 -0
- package/lib/locale/lang/hy-AM.min.js +1 -1
- package/lib/locale/lang/hy-AM.umd.js +20 -0
- package/lib/locale/lang/id-ID.js +20 -0
- package/lib/locale/lang/id-ID.min.js +1 -1
- package/lib/locale/lang/id-ID.umd.js +20 -0
- package/lib/locale/lang/it-IT.js +20 -0
- package/lib/locale/lang/it-IT.min.js +1 -1
- package/lib/locale/lang/it-IT.umd.js +20 -0
- package/lib/locale/lang/ja-JP.js +20 -0
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +20 -0
- package/lib/locale/lang/ko-KR.js +20 -0
- package/lib/locale/lang/ko-KR.min.js +1 -1
- package/lib/locale/lang/ko-KR.umd.js +20 -0
- package/lib/locale/lang/ms-MY.js +20 -0
- package/lib/locale/lang/ms-MY.min.js +1 -1
- package/lib/locale/lang/ms-MY.umd.js +20 -0
- package/lib/locale/lang/nb-NO.js +20 -0
- package/lib/locale/lang/nb-NO.min.js +1 -1
- package/lib/locale/lang/nb-NO.umd.js +20 -0
- package/lib/locale/lang/pt-BR.js +20 -0
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/pt-BR.umd.js +20 -0
- package/lib/locale/lang/ru-RU.js +20 -0
- package/lib/locale/lang/ru-RU.min.js +1 -1
- package/lib/locale/lang/ru-RU.umd.js +20 -0
- package/lib/locale/lang/th-TH.js +20 -0
- package/lib/locale/lang/th-TH.min.js +1 -1
- package/lib/locale/lang/th-TH.umd.js +20 -0
- package/lib/locale/lang/ug-CN.js +20 -0
- package/lib/locale/lang/ug-CN.min.js +1 -1
- package/lib/locale/lang/ug-CN.umd.js +20 -0
- package/lib/locale/lang/uk-UA.js +20 -0
- package/lib/locale/lang/uk-UA.min.js +1 -1
- package/lib/locale/lang/uk-UA.umd.js +20 -0
- package/lib/locale/lang/uz-UZ.js +20 -0
- package/lib/locale/lang/uz-UZ.min.js +1 -1
- package/lib/locale/lang/uz-UZ.umd.js +20 -0
- package/lib/locale/lang/vi-VN.js +20 -0
- package/lib/locale/lang/vi-VN.min.js +1 -1
- package/lib/locale/lang/vi-VN.umd.js +20 -0
- package/lib/locale/lang/zh-CHT.js +20 -0
- package/lib/locale/lang/zh-CHT.min.js +1 -1
- package/lib/locale/lang/zh-CHT.umd.js +20 -0
- package/lib/locale/lang/zh-CN.js +22 -2
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +22 -2
- package/lib/style.css +1 -1
- package/lib/table/src/table.js +2 -2
- package/lib/table/src/table.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/grid/src/grid.ts +2 -2
- package/packages/locale/lang/ar-EG.ts +20 -0
- package/packages/locale/lang/de-DE.ts +20 -0
- package/packages/locale/lang/en-US.ts +20 -0
- package/packages/locale/lang/es-ES.ts +20 -0
- package/packages/locale/lang/fr-FR.ts +20 -0
- package/packages/locale/lang/hu-HU.ts +20 -0
- package/packages/locale/lang/hy-AM.ts +20 -0
- package/packages/locale/lang/id-ID.ts +20 -0
- package/packages/locale/lang/it-IT.ts +20 -0
- package/packages/locale/lang/ja-JP.ts +20 -0
- package/packages/locale/lang/ko-KR.ts +20 -0
- package/packages/locale/lang/ms-MY.ts +20 -0
- package/packages/locale/lang/nb-NO.ts +20 -0
- package/packages/locale/lang/pt-BR.ts +20 -0
- package/packages/locale/lang/ru-RU.ts +20 -0
- package/packages/locale/lang/th-TH.ts +20 -0
- package/packages/locale/lang/ug-CN.ts +20 -0
- package/packages/locale/lang/uk-UA.ts +20 -0
- package/packages/locale/lang/uz-UZ.ts +20 -0
- package/packages/locale/lang/vi-VN.ts +20 -0
- package/packages/locale/lang/zh-CHT.ts +20 -0
- package/packages/locale/lang/zh-CN.ts +22 -2
- package/packages/table/src/table.ts +16 -2
- /package/es/{iconfont.1785940490728.ttf → iconfont.1786589186405.ttf} +0 -0
- /package/es/{iconfont.1785940490728.woff → iconfont.1786589186405.woff} +0 -0
- /package/es/{iconfont.1785940490728.woff2 → iconfont.1786589186405.woff2} +0 -0
- /package/lib/{iconfont.1785940490728.ttf → iconfont.1786589186405.ttf} +0 -0
- /package/lib/{iconfont.1785940490728.woff → iconfont.1786589186405.woff} +0 -0
- /package/lib/{iconfont.1785940490728.woff2 → iconfont.1786589186405.woff2} +0 -0
|
@@ -620,6 +620,17 @@ export default {
|
|
|
620
620
|
minute: '{mm}',
|
|
621
621
|
second: '{ss}'
|
|
622
622
|
},
|
|
623
|
+
stepFormat: {
|
|
624
|
+
year: '{start.yyyy}~{end.yyyy}年',
|
|
625
|
+
quarter: '{start.q}~{end.q}季度',
|
|
626
|
+
month: '{start.M}~{end.M}月',
|
|
627
|
+
week: '{start.W}~{end.W}周',
|
|
628
|
+
day: '{sE}~{eE}',
|
|
629
|
+
date: '{start.d}~{end.d}',
|
|
630
|
+
hour: '{start.HH}~{end.HH}',
|
|
631
|
+
minute: '{start.mm}~{end.mm}',
|
|
632
|
+
second: '{start.ss}~{end.ss}'
|
|
633
|
+
},
|
|
623
634
|
dayss: {
|
|
624
635
|
w0: '日',
|
|
625
636
|
w1: '一',
|
|
@@ -628,6 +639,15 @@ export default {
|
|
|
628
639
|
w4: '四',
|
|
629
640
|
w5: '五',
|
|
630
641
|
w6: '六'
|
|
642
|
+
},
|
|
643
|
+
days: {
|
|
644
|
+
w0: '日',
|
|
645
|
+
w1: '一',
|
|
646
|
+
w2: '二',
|
|
647
|
+
w3: '三',
|
|
648
|
+
w4: '四',
|
|
649
|
+
w5: '五',
|
|
650
|
+
w6: '六'
|
|
631
651
|
}
|
|
632
652
|
},
|
|
633
653
|
plugins: {
|
|
@@ -620,6 +620,17 @@ export default {
|
|
|
620
620
|
minute: '{mm}',
|
|
621
621
|
second: '{ss}'
|
|
622
622
|
},
|
|
623
|
+
stepFormat: {
|
|
624
|
+
year: '{start.yyyy}~{end.yyyy}年',
|
|
625
|
+
quarter: '{start.q}~{end.q}季度',
|
|
626
|
+
month: '{start.M}~{end.M}月',
|
|
627
|
+
week: '{start.W}~{end.W}周',
|
|
628
|
+
day: '{sE}~{eE}',
|
|
629
|
+
date: '{start.d}~{end.d}',
|
|
630
|
+
hour: '{start.HH}~{end.HH}',
|
|
631
|
+
minute: '{start.mm}~{end.mm}',
|
|
632
|
+
second: '{start.ss}~{end.ss}'
|
|
633
|
+
},
|
|
623
634
|
dayss: {
|
|
624
635
|
w0: '日',
|
|
625
636
|
w1: '一',
|
|
@@ -628,6 +639,15 @@ export default {
|
|
|
628
639
|
w4: '四',
|
|
629
640
|
w5: '五',
|
|
630
641
|
w6: '六'
|
|
642
|
+
},
|
|
643
|
+
days: {
|
|
644
|
+
w0: '日',
|
|
645
|
+
w1: '一',
|
|
646
|
+
w2: '二',
|
|
647
|
+
w3: '三',
|
|
648
|
+
w4: '四',
|
|
649
|
+
w5: '五',
|
|
650
|
+
w6: '六'
|
|
631
651
|
}
|
|
632
652
|
},
|
|
633
653
|
plugins: {
|
|
@@ -620,6 +620,17 @@ export default {
|
|
|
620
620
|
minute: '{mm}',
|
|
621
621
|
second: '{ss}'
|
|
622
622
|
},
|
|
623
|
+
stepFormat: {
|
|
624
|
+
year: '{start.yyyy}~{end.yyyy}年',
|
|
625
|
+
quarter: '{start.q}~{end.q}季度',
|
|
626
|
+
month: '{start.M}~{end.M}月',
|
|
627
|
+
week: '{start.W}~{end.W}周',
|
|
628
|
+
day: '{sE}~{eE}',
|
|
629
|
+
date: '{start.d}~{end.d}',
|
|
630
|
+
hour: '{start.HH}~{end.HH}',
|
|
631
|
+
minute: '{start.mm}~{end.mm}',
|
|
632
|
+
second: '{start.ss}~{end.ss}'
|
|
633
|
+
},
|
|
623
634
|
dayss: {
|
|
624
635
|
w0: '日',
|
|
625
636
|
w1: '一',
|
|
@@ -628,6 +639,15 @@ export default {
|
|
|
628
639
|
w4: '四',
|
|
629
640
|
w5: '五',
|
|
630
641
|
w6: '六'
|
|
642
|
+
},
|
|
643
|
+
days: {
|
|
644
|
+
w0: '日',
|
|
645
|
+
w1: '一',
|
|
646
|
+
w2: '二',
|
|
647
|
+
w3: '三',
|
|
648
|
+
w4: '四',
|
|
649
|
+
w5: '五',
|
|
650
|
+
w6: '六'
|
|
631
651
|
}
|
|
632
652
|
},
|
|
633
653
|
plugins: {
|
|
@@ -620,6 +620,17 @@ export default {
|
|
|
620
620
|
minute: '{mm}',
|
|
621
621
|
second: '{ss}'
|
|
622
622
|
},
|
|
623
|
+
stepFormat: {
|
|
624
|
+
year: '{start.yyyy}~{end.yyyy}年',
|
|
625
|
+
quarter: '{start.q}~{end.q}季度',
|
|
626
|
+
month: '{start.M}~{end.M}月',
|
|
627
|
+
week: '{start.W}~{end.W}周',
|
|
628
|
+
day: '{sE}~{eE}',
|
|
629
|
+
date: '{start.d}~{end.d}',
|
|
630
|
+
hour: '{start.HH}~{end.HH}',
|
|
631
|
+
minute: '{start.mm}~{end.mm}',
|
|
632
|
+
second: '{start.ss}~{end.ss}'
|
|
633
|
+
},
|
|
623
634
|
dayss: {
|
|
624
635
|
w0: '日',
|
|
625
636
|
w1: '一',
|
|
@@ -628,6 +639,15 @@ export default {
|
|
|
628
639
|
w4: '四',
|
|
629
640
|
w5: '五',
|
|
630
641
|
w6: '六'
|
|
642
|
+
},
|
|
643
|
+
days: {
|
|
644
|
+
w0: '日',
|
|
645
|
+
w1: '一',
|
|
646
|
+
w2: '二',
|
|
647
|
+
w3: '三',
|
|
648
|
+
w4: '四',
|
|
649
|
+
w5: '五',
|
|
650
|
+
w6: '六'
|
|
631
651
|
}
|
|
632
652
|
},
|
|
633
653
|
plugins: {
|
|
@@ -620,6 +620,17 @@ export default {
|
|
|
620
620
|
minute: '{mm}',
|
|
621
621
|
second: '{ss}'
|
|
622
622
|
},
|
|
623
|
+
stepFormat: {
|
|
624
|
+
year: '{start.yyyy}~{end.yyyy}年',
|
|
625
|
+
quarter: '{start.q}~{end.q}季度',
|
|
626
|
+
month: '{start.M}~{end.M}月',
|
|
627
|
+
week: '{start.W}~{end.W}周',
|
|
628
|
+
day: '{sE}~{eE}',
|
|
629
|
+
date: '{start.d}~{end.d}',
|
|
630
|
+
hour: '{start.HH}~{end.HH}',
|
|
631
|
+
minute: '{start.mm}~{end.mm}',
|
|
632
|
+
second: '{start.ss}~{end.ss}'
|
|
633
|
+
},
|
|
623
634
|
dayss: {
|
|
624
635
|
w0: '日',
|
|
625
636
|
w1: '一',
|
|
@@ -628,6 +639,15 @@ export default {
|
|
|
628
639
|
w4: '四',
|
|
629
640
|
w5: '五',
|
|
630
641
|
w6: '六'
|
|
642
|
+
},
|
|
643
|
+
days: {
|
|
644
|
+
w0: '日',
|
|
645
|
+
w1: '一',
|
|
646
|
+
w2: '二',
|
|
647
|
+
w3: '三',
|
|
648
|
+
w4: '四',
|
|
649
|
+
w5: '五',
|
|
650
|
+
w6: '六'
|
|
631
651
|
}
|
|
632
652
|
},
|
|
633
653
|
plugins: {
|
|
@@ -603,7 +603,7 @@ export default {
|
|
|
603
603
|
quarter: '{yyyy}年第{q}季度',
|
|
604
604
|
month: '{yyyy}年{MM}月',
|
|
605
605
|
week: '{yyyy}年第{W}周',
|
|
606
|
-
day: '{yyyy}年{MM}月 {
|
|
606
|
+
day: '{yyyy}年{MM}月 {eLabel}',
|
|
607
607
|
date: '{yyyy}年{MM}月{dd}日',
|
|
608
608
|
hour: '{yyyy}年{MM}月{dd}日{HH}时',
|
|
609
609
|
minute: '{yyyy}年{MM}月{dd}日{HH}时{mm}分',
|
|
@@ -614,12 +614,23 @@ export default {
|
|
|
614
614
|
quarter: '{q}季度',
|
|
615
615
|
month: '{M}月',
|
|
616
616
|
week: '{W}周',
|
|
617
|
-
day: '{
|
|
617
|
+
day: '{eLabel}',
|
|
618
618
|
date: '{d}',
|
|
619
619
|
hour: '{HH}',
|
|
620
620
|
minute: '{mm}',
|
|
621
621
|
second: '{ss}'
|
|
622
622
|
},
|
|
623
|
+
stepFormat: {
|
|
624
|
+
year: '{start.yyyy}~{end.yyyy}年',
|
|
625
|
+
quarter: '{start.q}~{end.q}季度',
|
|
626
|
+
month: '{start.M}~{end.M}月',
|
|
627
|
+
week: '{start.W}~{end.W}周',
|
|
628
|
+
day: '{eStartLabel}~{eEndLabel}',
|
|
629
|
+
date: '{start.d}~{end.d}',
|
|
630
|
+
hour: '{start.HH}~{end.HH}',
|
|
631
|
+
minute: '{start.mm}~{end.mm}',
|
|
632
|
+
second: '{start.ss}~{end.ss}'
|
|
633
|
+
},
|
|
623
634
|
dayss: {
|
|
624
635
|
w0: '日',
|
|
625
636
|
w1: '一',
|
|
@@ -628,6 +639,15 @@ export default {
|
|
|
628
639
|
w4: '四',
|
|
629
640
|
w5: '五',
|
|
630
641
|
w6: '六'
|
|
642
|
+
},
|
|
643
|
+
days: {
|
|
644
|
+
w0: '日',
|
|
645
|
+
w1: '一',
|
|
646
|
+
w2: '二',
|
|
647
|
+
w3: '三',
|
|
648
|
+
w4: '四',
|
|
649
|
+
w5: '五',
|
|
650
|
+
w6: '六'
|
|
631
651
|
}
|
|
632
652
|
},
|
|
633
653
|
plugins: {
|
|
@@ -5579,6 +5579,18 @@ export default defineVxeComponent({
|
|
|
5579
5579
|
}
|
|
5580
5580
|
const { editConfig } = props
|
|
5581
5581
|
const { formatter, editRender, cellRender } = column
|
|
5582
|
+
let etOpSize = null
|
|
5583
|
+
let etOgSize = null
|
|
5584
|
+
let clOpSize = null
|
|
5585
|
+
let clOgSize = null
|
|
5586
|
+
if (editRender) {
|
|
5587
|
+
etOpSize = editRender.options ? editRender.options.length : 0
|
|
5588
|
+
etOgSize = editRender.optionGroups ? editRender.optionGroups.length : 0
|
|
5589
|
+
}
|
|
5590
|
+
if (cellRender) {
|
|
5591
|
+
clOpSize = cellRender.options ? cellRender.options.length : 0
|
|
5592
|
+
clOgSize = cellRender.optionGroups ? cellRender.optionGroups.length : 0
|
|
5593
|
+
}
|
|
5582
5594
|
// formatter > tableCellFormatter
|
|
5583
5595
|
const renderOpts = formatter ? null : (editConfig && isEnableConf(editRender) ? editRender : (isEnableConf(cellRender) ? cellRender : null))
|
|
5584
5596
|
const compConf = renderOpts ? renderer.get(renderOpts.name) : null
|
|
@@ -5597,7 +5609,8 @@ export default defineVxeComponent({
|
|
|
5597
5609
|
formatData = fullAllDataRowIdData[rowid].formatData = {}
|
|
5598
5610
|
}
|
|
5599
5611
|
if (rowRest && formatData[colid]) {
|
|
5600
|
-
|
|
5612
|
+
const ftValue = formatData[colid].value
|
|
5613
|
+
if (ftValue && ftValue[0] === cellValue && ftValue[1] === etOpSize && ftValue[2] === etOgSize && ftValue[3] === clOpSize && ftValue[4] === clOgSize) {
|
|
5601
5614
|
return formatData[colid].label
|
|
5602
5615
|
}
|
|
5603
5616
|
}
|
|
@@ -5626,7 +5639,8 @@ export default defineVxeComponent({
|
|
|
5626
5639
|
cellLabel = tcFormatter(renderOpts, formatParams)
|
|
5627
5640
|
}
|
|
5628
5641
|
if (formatData) {
|
|
5629
|
-
|
|
5642
|
+
const ftValue = [cellValue, etOpSize, etOgSize, clOpSize, clOgSize]
|
|
5643
|
+
formatData[colid] = { value: ftValue, label: cellLabel }
|
|
5630
5644
|
}
|
|
5631
5645
|
}
|
|
5632
5646
|
return cellLabel
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|