vxe-table 3.22.10 → 3.22.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/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/methods.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 +101 -98
- 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/methods.js +2 -2
- package/lib/table/src/methods.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/methods.ts +16 -2
- /package/es/{iconfont.1785940479746.ttf → iconfont.1786589170707.ttf} +0 -0
- /package/es/{iconfont.1785940479746.woff → iconfont.1786589170707.woff} +0 -0
- /package/es/{iconfont.1785940479746.woff2 → iconfont.1786589170707.woff2} +0 -0
- /package/lib/{iconfont.1785940479746.ttf → iconfont.1786589170707.ttf} +0 -0
- /package/lib/{iconfont.1785940479746.woff → iconfont.1786589170707.woff} +0 -0
- /package/lib/{iconfont.1785940479746.woff2 → iconfont.1786589170707.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: {
|
|
@@ -5744,6 +5744,18 @@ const tableMethods: any = {
|
|
|
5744
5744
|
}
|
|
5745
5745
|
const { editConfig } = props
|
|
5746
5746
|
const { formatter, editRender, cellRender } = column
|
|
5747
|
+
let etOpSize = null
|
|
5748
|
+
let etOgSize = null
|
|
5749
|
+
let clOpSize = null
|
|
5750
|
+
let clOgSize = null
|
|
5751
|
+
if (editRender) {
|
|
5752
|
+
etOpSize = editRender.options ? editRender.options.length : 0
|
|
5753
|
+
etOgSize = editRender.optionGroups ? editRender.optionGroups.length : 0
|
|
5754
|
+
}
|
|
5755
|
+
if (cellRender) {
|
|
5756
|
+
clOpSize = cellRender.options ? cellRender.options.length : 0
|
|
5757
|
+
clOgSize = cellRender.optionGroups ? cellRender.optionGroups.length : 0
|
|
5758
|
+
}
|
|
5747
5759
|
// formatter > tableCellFormatter
|
|
5748
5760
|
const renderOpts = formatter ? null : (editConfig && isEnableConf(editRender) ? editRender : (isEnableConf(cellRender) ? cellRender : null))
|
|
5749
5761
|
const compConf = renderOpts ? renderer.get(renderOpts.name) : null
|
|
@@ -5762,7 +5774,8 @@ const tableMethods: any = {
|
|
|
5762
5774
|
formatData = fullAllDataRowIdData[rowid].formatData = {}
|
|
5763
5775
|
}
|
|
5764
5776
|
if (rowRest && formatData[colid]) {
|
|
5765
|
-
|
|
5777
|
+
const ftValue = formatData[colid].value
|
|
5778
|
+
if (ftValue && ftValue[0] === cellValue && ftValue[1] === etOpSize && ftValue[2] === etOgSize && ftValue[3] === clOpSize && ftValue[4] === clOgSize) {
|
|
5766
5779
|
return formatData[colid].label
|
|
5767
5780
|
}
|
|
5768
5781
|
}
|
|
@@ -5791,7 +5804,8 @@ const tableMethods: any = {
|
|
|
5791
5804
|
cellLabel = tcFormatter(renderOpts, formatParams)
|
|
5792
5805
|
}
|
|
5793
5806
|
if (formatData) {
|
|
5794
|
-
|
|
5807
|
+
const ftValue = [cellValue, etOpSize, etOgSize, clOpSize, clOgSize]
|
|
5808
|
+
formatData[colid] = { value: ftValue, label: cellLabel }
|
|
5795
5809
|
}
|
|
5796
5810
|
}
|
|
5797
5811
|
return cellLabel
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|