vxe-table 3.17.12 → 3.17.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/locale/lang/ar-EG.js +30 -0
- package/es/locale/lang/de-DE.js +30 -0
- package/es/locale/lang/en-US.js +42 -12
- package/es/locale/lang/es-ES.js +30 -0
- package/es/locale/lang/fr-FR.js +30 -0
- package/es/locale/lang/hu-HU.js +30 -0
- package/es/locale/lang/hy-AM.js +30 -0
- package/es/locale/lang/id-ID.js +30 -0
- package/es/locale/lang/it-IT.js +30 -0
- package/es/locale/lang/ja-JP.js +30 -0
- package/es/locale/lang/ko-KR.js +30 -0
- package/es/locale/lang/ms-MY.js +30 -0
- package/es/locale/lang/nb-NO.js +30 -0
- package/es/locale/lang/pt-BR.js +30 -0
- package/es/locale/lang/ru-RU.js +30 -0
- package/es/locale/lang/th-TH.js +30 -0
- package/es/locale/lang/ug-CN.js +30 -0
- package/es/locale/lang/uk-UA.js +30 -0
- package/es/locale/lang/uz-UZ.js +30 -0
- package/es/locale/lang/vi-VN.js +30 -0
- package/es/locale/lang/zh-CHT.js +30 -0
- package/es/locale/lang/zh-CN.js +32 -0
- package/es/style.css +1 -1
- package/es/table/module/keyboard/mixin.js +1 -1
- package/es/table/src/cell.js +29 -6
- package/es/table/src/table.js +15 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +87 -7
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/ar-EG.js +30 -0
- package/lib/locale/lang/ar-EG.min.js +1 -1
- package/lib/locale/lang/ar-EG.umd.js +30 -0
- package/lib/locale/lang/de-DE.js +30 -0
- package/lib/locale/lang/de-DE.min.js +1 -1
- package/lib/locale/lang/de-DE.umd.js +30 -0
- package/lib/locale/lang/en-US.js +42 -12
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +42 -12
- package/lib/locale/lang/es-ES.js +30 -0
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/es-ES.umd.js +30 -0
- package/lib/locale/lang/fr-FR.js +30 -0
- package/lib/locale/lang/fr-FR.min.js +1 -1
- package/lib/locale/lang/fr-FR.umd.js +30 -0
- package/lib/locale/lang/hu-HU.js +30 -0
- package/lib/locale/lang/hu-HU.min.js +1 -1
- package/lib/locale/lang/hu-HU.umd.js +30 -0
- package/lib/locale/lang/hy-AM.js +30 -0
- package/lib/locale/lang/hy-AM.min.js +1 -1
- package/lib/locale/lang/hy-AM.umd.js +30 -0
- package/lib/locale/lang/id-ID.js +30 -0
- package/lib/locale/lang/id-ID.min.js +1 -1
- package/lib/locale/lang/id-ID.umd.js +30 -0
- package/lib/locale/lang/it-IT.js +30 -0
- package/lib/locale/lang/it-IT.min.js +1 -1
- package/lib/locale/lang/it-IT.umd.js +30 -0
- package/lib/locale/lang/ja-JP.js +30 -0
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +30 -0
- package/lib/locale/lang/ko-KR.js +30 -0
- package/lib/locale/lang/ko-KR.min.js +1 -1
- package/lib/locale/lang/ko-KR.umd.js +30 -0
- package/lib/locale/lang/ms-MY.js +30 -0
- package/lib/locale/lang/ms-MY.min.js +1 -1
- package/lib/locale/lang/ms-MY.umd.js +30 -0
- package/lib/locale/lang/nb-NO.js +30 -0
- package/lib/locale/lang/nb-NO.min.js +1 -1
- package/lib/locale/lang/nb-NO.umd.js +30 -0
- package/lib/locale/lang/pt-BR.js +30 -0
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/pt-BR.umd.js +30 -0
- package/lib/locale/lang/ru-RU.js +30 -0
- package/lib/locale/lang/ru-RU.min.js +1 -1
- package/lib/locale/lang/ru-RU.umd.js +30 -0
- package/lib/locale/lang/th-TH.js +30 -0
- package/lib/locale/lang/th-TH.min.js +1 -1
- package/lib/locale/lang/th-TH.umd.js +30 -0
- package/lib/locale/lang/ug-CN.js +30 -0
- package/lib/locale/lang/ug-CN.min.js +1 -1
- package/lib/locale/lang/ug-CN.umd.js +30 -0
- package/lib/locale/lang/uk-UA.js +30 -0
- package/lib/locale/lang/uk-UA.min.js +1 -1
- package/lib/locale/lang/uk-UA.umd.js +30 -0
- package/lib/locale/lang/uz-UZ.js +30 -0
- package/lib/locale/lang/uz-UZ.min.js +1 -1
- package/lib/locale/lang/uz-UZ.umd.js +30 -0
- package/lib/locale/lang/vi-VN.js +30 -0
- package/lib/locale/lang/vi-VN.min.js +1 -1
- package/lib/locale/lang/vi-VN.umd.js +30 -0
- package/lib/locale/lang/zh-CHT.js +30 -0
- package/lib/locale/lang/zh-CHT.min.js +1 -1
- package/lib/locale/lang/zh-CHT.umd.js +30 -0
- package/lib/locale/lang/zh-CN.js +32 -0
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +32 -0
- package/lib/style.css +1 -1
- package/lib/table/module/keyboard/mixin.js +1 -1
- package/lib/table/module/keyboard/mixin.min.js +1 -1
- package/lib/table/src/cell.js +37 -3
- package/lib/table/src/cell.min.js +1 -1
- package/lib/table/src/table.js +15 -1
- 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/locale/lang/ar-EG.ts +30 -0
- package/packages/locale/lang/de-DE.ts +30 -0
- package/packages/locale/lang/en-US.ts +42 -12
- package/packages/locale/lang/es-ES.ts +30 -0
- package/packages/locale/lang/fr-FR.ts +30 -0
- package/packages/locale/lang/hu-HU.ts +30 -0
- package/packages/locale/lang/hy-AM.ts +30 -0
- package/packages/locale/lang/id-ID.ts +30 -0
- package/packages/locale/lang/it-IT.ts +30 -0
- package/packages/locale/lang/ja-JP.ts +30 -0
- package/packages/locale/lang/ko-KR.ts +30 -0
- package/packages/locale/lang/ms-MY.ts +30 -0
- package/packages/locale/lang/nb-NO.ts +30 -0
- package/packages/locale/lang/pt-BR.ts +30 -0
- package/packages/locale/lang/ru-RU.ts +30 -0
- package/packages/locale/lang/th-TH.ts +30 -0
- package/packages/locale/lang/ug-CN.ts +30 -0
- package/packages/locale/lang/uk-UA.ts +30 -0
- package/packages/locale/lang/uz-UZ.ts +30 -0
- package/packages/locale/lang/vi-VN.ts +30 -0
- package/packages/locale/lang/zh-CHT.ts +30 -0
- package/packages/locale/lang/zh-CN.ts +32 -0
- package/packages/table/module/keyboard/mixin.ts +1 -1
- package/packages/table/src/cell.ts +30 -6
- package/packages/table/src/table.ts +16 -1
- /package/es/{iconfont.1755588694607.ttf → iconfont.1756083404568.ttf} +0 -0
- /package/es/{iconfont.1755588694607.woff → iconfont.1756083404568.woff} +0 -0
- /package/es/{iconfont.1755588694607.woff2 → iconfont.1756083404568.woff2} +0 -0
- /package/lib/{iconfont.1755588694607.ttf → iconfont.1756083404568.ttf} +0 -0
- /package/lib/{iconfont.1755588694607.woff → iconfont.1756083404568.woff} +0 -0
- /package/lib/{iconfont.1755588694607.woff2 → iconfont.1756083404568.woff2} +0 -0
|
@@ -44,6 +44,7 @@ export default {
|
|
|
44
44
|
coverProp: 'พารามิเตอร์ "{1}" ของ "{0}" ถูกกำหนดซ้ำ ๆ ซึ่งอาจทำให้เกิดข้อผิดพลาด',
|
|
45
45
|
uniField: 'ชื่อฟิลด์ "{0}" ถูกกำหนดซ้ำ ๆ ซึ่งอาจทำให้เกิดข้อผิดพลาด',
|
|
46
46
|
repeatKey: 'ทำซ้ำคีย์หลัก {0} = "{1}" ซึ่งอาจทำให้เกิดข้อผิดพลาด',
|
|
47
|
+
repeatProp: '参数重复 {0}="{1}",这可能会出现错误',
|
|
47
48
|
delFunc: 'วิธีการ "{0}" เลิกใช้โปรดใช้ "{1}"',
|
|
48
49
|
delProp: 'พารามิเตอร์ "{0}" เลิกใช้โปรดใช้ "{1}"',
|
|
49
50
|
delEvent: 'เหตุการณ์ "{0}" เลิกใช้โปรดใช้ "{1}"',
|
|
@@ -536,6 +537,35 @@ export default {
|
|
|
536
537
|
ss: 'ที่สอง'
|
|
537
538
|
}
|
|
538
539
|
},
|
|
540
|
+
gantt: {
|
|
541
|
+
tFullFormat: {
|
|
542
|
+
year: '{yy}年',
|
|
543
|
+
quarter: '{yy}年第{q}季度',
|
|
544
|
+
month: '{yy}年{M}月',
|
|
545
|
+
week: '{yy}年第{W}周',
|
|
546
|
+
day: '{yy}年{M}月{d}日',
|
|
547
|
+
hour: '{yy}年 {M}月{d}日{H}时',
|
|
548
|
+
minute: '{yy}年{M}月{d}日{H}时{m}分'
|
|
549
|
+
},
|
|
550
|
+
tSimpleFormat: {
|
|
551
|
+
year: '{yy}年',
|
|
552
|
+
quarter: '{q}季度',
|
|
553
|
+
month: '{M}月',
|
|
554
|
+
week: '{W}周',
|
|
555
|
+
day: '{d}',
|
|
556
|
+
hour: '{H}时',
|
|
557
|
+
minute: '{m}分'
|
|
558
|
+
},
|
|
559
|
+
dayss: {
|
|
560
|
+
w0: '日',
|
|
561
|
+
w1: '一',
|
|
562
|
+
w2: '二',
|
|
563
|
+
w3: '三',
|
|
564
|
+
w4: '四',
|
|
565
|
+
w5: '五',
|
|
566
|
+
w6: '六'
|
|
567
|
+
}
|
|
568
|
+
},
|
|
539
569
|
plugins: {
|
|
540
570
|
extendCellArea: {
|
|
541
571
|
area: {
|
|
@@ -44,6 +44,7 @@ export default {
|
|
|
44
44
|
coverProp: '"{0}" نىڭ پارامېتىرى "{1}" قايتىلانما قىممەت بىرىلدى، بەلكىم خاتالىق كەلتۈرۈپ چىقىرىشى مومكىن',
|
|
45
45
|
uniField: 'سۆز بولىكى "{0}" قايتىلانما قىممەت بىرىلدى، بۇ بەلكىم خاتالىق كەلتۈرۈپ چىقىرىشى مومكىن',
|
|
46
46
|
repeatKey: 'ئاچقۇچلىق پارامېتىر قايتىلانما {0}="{1}" بۇ بەلكىم خاتالىق كەلتۈرۈپ چىقىرىشى مومكىن',
|
|
47
|
+
repeatProp: '参数重复 {0}="{1}",这可能会出现错误',
|
|
47
48
|
delFunc: 'ئۇسۇل "{0}" تاشلىۋىتىلدى،تەۋسىيەلىك تولۇقلانما ئۇسۇل "{1}"',
|
|
48
49
|
delProp: 'پارامېتىر "{0}" تاشلىۋىتىلدى،تەۋسىيەلىك پارامېتىر "{1}"',
|
|
49
50
|
delEvent: 'ھەرىكەت "{0}" تاشلىۋىتىلدى،تەۋسىيەلىك ھەرىكەت "{1}"',
|
|
@@ -536,6 +537,35 @@ export default {
|
|
|
536
537
|
ss: 'سېكۇنت'
|
|
537
538
|
}
|
|
538
539
|
},
|
|
540
|
+
gantt: {
|
|
541
|
+
tFullFormat: {
|
|
542
|
+
year: '{yy}年',
|
|
543
|
+
quarter: '{yy}年第{q}季度',
|
|
544
|
+
month: '{yy}年{M}月',
|
|
545
|
+
week: '{yy}年第{W}周',
|
|
546
|
+
day: '{yy}年{M}月{d}日',
|
|
547
|
+
hour: '{yy}年 {M}月{d}日{H}时',
|
|
548
|
+
minute: '{yy}年{M}月{d}日{H}时{m}分'
|
|
549
|
+
},
|
|
550
|
+
tSimpleFormat: {
|
|
551
|
+
year: '{yy}年',
|
|
552
|
+
quarter: '{q}季度',
|
|
553
|
+
month: '{M}月',
|
|
554
|
+
week: '{W}周',
|
|
555
|
+
day: '{d}',
|
|
556
|
+
hour: '{H}时',
|
|
557
|
+
minute: '{m}分'
|
|
558
|
+
},
|
|
559
|
+
dayss: {
|
|
560
|
+
w0: '日',
|
|
561
|
+
w1: '一',
|
|
562
|
+
w2: '二',
|
|
563
|
+
w3: '三',
|
|
564
|
+
w4: '四',
|
|
565
|
+
w5: '五',
|
|
566
|
+
w6: '六'
|
|
567
|
+
}
|
|
568
|
+
},
|
|
539
569
|
plugins: {
|
|
540
570
|
extendCellArea: {
|
|
541
571
|
area: {
|
|
@@ -44,6 +44,7 @@ export default {
|
|
|
44
44
|
coverProp: 'Параметр "{1}" "{0}" неодноразово визначається, що може спричинити помилку',
|
|
45
45
|
uniField: 'Назва поля "{0}" неодноразово визначається, що може спричинити помилку',
|
|
46
46
|
repeatKey: 'Повторіть первинний ключ {0} = "{1}", що може спричинити помилку',
|
|
47
|
+
repeatProp: '参数重复 {0}="{1}",这可能会出现错误',
|
|
47
48
|
delFunc: 'Метод "{0}" застарілий, будь ласка, використовуйте "{1}"',
|
|
48
49
|
delProp: 'Параметр "{0}" застарілий, будь ласка, використовуйте "{1}"',
|
|
49
50
|
delEvent: 'Подія "{0}" застаріла, будь ласка, використовуйте "{1}"',
|
|
@@ -536,6 +537,35 @@ export default {
|
|
|
536
537
|
ss: 'Другий'
|
|
537
538
|
}
|
|
538
539
|
},
|
|
540
|
+
gantt: {
|
|
541
|
+
tFullFormat: {
|
|
542
|
+
year: '{yy}年',
|
|
543
|
+
quarter: '{yy}年第{q}季度',
|
|
544
|
+
month: '{yy}年{M}月',
|
|
545
|
+
week: '{yy}年第{W}周',
|
|
546
|
+
day: '{yy}年{M}月{d}日',
|
|
547
|
+
hour: '{yy}年 {M}月{d}日{H}时',
|
|
548
|
+
minute: '{yy}年{M}月{d}日{H}时{m}分'
|
|
549
|
+
},
|
|
550
|
+
tSimpleFormat: {
|
|
551
|
+
year: '{yy}年',
|
|
552
|
+
quarter: '{q}季度',
|
|
553
|
+
month: '{M}月',
|
|
554
|
+
week: '{W}周',
|
|
555
|
+
day: '{d}',
|
|
556
|
+
hour: '{H}时',
|
|
557
|
+
minute: '{m}分'
|
|
558
|
+
},
|
|
559
|
+
dayss: {
|
|
560
|
+
w0: '日',
|
|
561
|
+
w1: '一',
|
|
562
|
+
w2: '二',
|
|
563
|
+
w3: '三',
|
|
564
|
+
w4: '四',
|
|
565
|
+
w5: '五',
|
|
566
|
+
w6: '六'
|
|
567
|
+
}
|
|
568
|
+
},
|
|
539
569
|
plugins: {
|
|
540
570
|
extendCellArea: {
|
|
541
571
|
area: {
|
|
@@ -44,6 +44,7 @@ export default {
|
|
|
44
44
|
coverProp: '"{1}" parametr "{0}" parametr bir necha bor aniqlanadi, bu xatoga olib kelishi mumkin',
|
|
45
45
|
uniField: '"{0}" dagi "{0}" da bir necha bor aniqlanadi, bu xatoga olib kelishi mumkin',
|
|
46
46
|
repeatKey: 'Birlamchi kalit {0} = "{1}" ni takrorlash mumkin, bu xatoga olib kelishi mumkin',
|
|
47
|
+
repeatProp: '参数重复 {0}="{1}",这可能会出现错误',
|
|
47
48
|
delFunc: '"{0}" himoyalangan, iltimos "{1}" dan foydalaning',
|
|
48
49
|
delProp: '"{0}" parametri bekor qilinadi, "{1}" dan foydalaning',
|
|
49
50
|
delEvent: '"{0}" bekor qilinadi, iltimos "{1}" dan foydalaning',
|
|
@@ -536,6 +537,35 @@ export default {
|
|
|
536
537
|
ss: 'Ikkinchi'
|
|
537
538
|
}
|
|
538
539
|
},
|
|
540
|
+
gantt: {
|
|
541
|
+
tFullFormat: {
|
|
542
|
+
year: '{yy}年',
|
|
543
|
+
quarter: '{yy}年第{q}季度',
|
|
544
|
+
month: '{yy}年{M}月',
|
|
545
|
+
week: '{yy}年第{W}周',
|
|
546
|
+
day: '{yy}年{M}月{d}日',
|
|
547
|
+
hour: '{yy}年 {M}月{d}日{H}时',
|
|
548
|
+
minute: '{yy}年{M}月{d}日{H}时{m}分'
|
|
549
|
+
},
|
|
550
|
+
tSimpleFormat: {
|
|
551
|
+
year: '{yy}年',
|
|
552
|
+
quarter: '{q}季度',
|
|
553
|
+
month: '{M}月',
|
|
554
|
+
week: '{W}周',
|
|
555
|
+
day: '{d}',
|
|
556
|
+
hour: '{H}时',
|
|
557
|
+
minute: '{m}分'
|
|
558
|
+
},
|
|
559
|
+
dayss: {
|
|
560
|
+
w0: '日',
|
|
561
|
+
w1: '一',
|
|
562
|
+
w2: '二',
|
|
563
|
+
w3: '三',
|
|
564
|
+
w4: '四',
|
|
565
|
+
w5: '五',
|
|
566
|
+
w6: '六'
|
|
567
|
+
}
|
|
568
|
+
},
|
|
539
569
|
plugins: {
|
|
540
570
|
extendCellArea: {
|
|
541
571
|
area: {
|
|
@@ -44,6 +44,7 @@ export default {
|
|
|
44
44
|
coverProp: 'Tham số "{1}" của "{0}" được xác định nhiều lần, có thể gây ra lỗi',
|
|
45
45
|
uniField: 'Tên trường "{0}" được xác định nhiều lần, có thể gây ra lỗi',
|
|
46
46
|
repeatKey: 'Lặp lại khóa chính {0} = "{1}", có thể gây ra lỗi',
|
|
47
|
+
repeatProp: '参数重复 {0}="{1}",这可能会出现错误',
|
|
47
48
|
delFunc: 'Phương thức "{0}" không được dùng nữa, vui lòng sử dụng "{1}"',
|
|
48
49
|
delProp: 'Tham số "{0}" không được dùng, vui lòng sử dụng "{1}"',
|
|
49
50
|
delEvent: 'Sự kiện "{0}" được không dùng nữa, vui lòng sử dụng "{1}"',
|
|
@@ -536,6 +537,35 @@ export default {
|
|
|
536
537
|
ss: 'Thứ hai'
|
|
537
538
|
}
|
|
538
539
|
},
|
|
540
|
+
gantt: {
|
|
541
|
+
tFullFormat: {
|
|
542
|
+
year: '{yy}年',
|
|
543
|
+
quarter: '{yy}年第{q}季度',
|
|
544
|
+
month: '{yy}年{M}月',
|
|
545
|
+
week: '{yy}年第{W}周',
|
|
546
|
+
day: '{yy}年{M}月{d}日',
|
|
547
|
+
hour: '{yy}年 {M}月{d}日{H}时',
|
|
548
|
+
minute: '{yy}年{M}月{d}日{H}时{m}分'
|
|
549
|
+
},
|
|
550
|
+
tSimpleFormat: {
|
|
551
|
+
year: '{yy}年',
|
|
552
|
+
quarter: '{q}季度',
|
|
553
|
+
month: '{M}月',
|
|
554
|
+
week: '{W}周',
|
|
555
|
+
day: '{d}',
|
|
556
|
+
hour: '{H}时',
|
|
557
|
+
minute: '{m}分'
|
|
558
|
+
},
|
|
559
|
+
dayss: {
|
|
560
|
+
w0: '日',
|
|
561
|
+
w1: '一',
|
|
562
|
+
w2: '二',
|
|
563
|
+
w3: '三',
|
|
564
|
+
w4: '四',
|
|
565
|
+
w5: '五',
|
|
566
|
+
w6: '六'
|
|
567
|
+
}
|
|
568
|
+
},
|
|
539
569
|
plugins: {
|
|
540
570
|
extendCellArea: {
|
|
541
571
|
area: {
|
|
@@ -44,6 +44,7 @@ export default {
|
|
|
44
44
|
coverProp: '"{0}" 的參數 "{1}" 重複定義,這可能會出現錯誤',
|
|
45
45
|
uniField: '字段名 "{0}" 重複定義,這可能會出現錯誤',
|
|
46
46
|
repeatKey: '主鍵重複 {0}="{1}",這可能會出現錯誤',
|
|
47
|
+
repeatProp: '参数重复 {0}="{1}",这可能会出现错误',
|
|
47
48
|
delFunc: '方法 "{0}" 已廢棄,請使用 "{1}"',
|
|
48
49
|
delProp: '參數 "{0}" 已廢棄,請使用 "{1}"',
|
|
49
50
|
delEvent: '事件 "{0}" 已廢棄,請使用 "{1}"',
|
|
@@ -536,6 +537,35 @@ export default {
|
|
|
536
537
|
ss: '秒'
|
|
537
538
|
}
|
|
538
539
|
},
|
|
540
|
+
gantt: {
|
|
541
|
+
tFullFormat: {
|
|
542
|
+
year: '{yy}年',
|
|
543
|
+
quarter: '{yy}年第{q}季度',
|
|
544
|
+
month: '{yy}年{M}月',
|
|
545
|
+
week: '{yy}年第{W}周',
|
|
546
|
+
day: '{yy}年{M}月{d}日',
|
|
547
|
+
hour: '{yy}年 {M}月{d}日{H}时',
|
|
548
|
+
minute: '{yy}年{M}月{d}日{H}时{m}分'
|
|
549
|
+
},
|
|
550
|
+
tSimpleFormat: {
|
|
551
|
+
year: '{yy}年',
|
|
552
|
+
quarter: '{q}季度',
|
|
553
|
+
month: '{M}月',
|
|
554
|
+
week: '{W}周',
|
|
555
|
+
day: '{d}',
|
|
556
|
+
hour: '{H}时',
|
|
557
|
+
minute: '{m}分'
|
|
558
|
+
},
|
|
559
|
+
dayss: {
|
|
560
|
+
w0: '日',
|
|
561
|
+
w1: '一',
|
|
562
|
+
w2: '二',
|
|
563
|
+
w3: '三',
|
|
564
|
+
w4: '四',
|
|
565
|
+
w5: '五',
|
|
566
|
+
w6: '六'
|
|
567
|
+
}
|
|
568
|
+
},
|
|
539
569
|
plugins: {
|
|
540
570
|
extendCellArea: {
|
|
541
571
|
area: {
|
|
@@ -44,6 +44,7 @@ export default {
|
|
|
44
44
|
coverProp: '"{0}" 的参数 "{1}" 重复定义,这可能会出现错误',
|
|
45
45
|
uniField: '字段名 "{0}" 重复定义,这可能会出现错误',
|
|
46
46
|
repeatKey: '主键重复 {0}="{1}",这可能会出现错误',
|
|
47
|
+
repeatProp: '参数重复 {0}="{1}",这可能会出现错误',
|
|
47
48
|
delFunc: '方法 "{0}" 已废弃,请使用 "{1}"',
|
|
48
49
|
delProp: '参数 "{0}" 已废弃,请使用 "{1}"',
|
|
49
50
|
delEvent: '事件 "{0}" 已废弃,请使用 "{1}"',
|
|
@@ -536,6 +537,37 @@ export default {
|
|
|
536
537
|
ss: '秒'
|
|
537
538
|
}
|
|
538
539
|
},
|
|
540
|
+
gantt: {
|
|
541
|
+
tFullFormat: {
|
|
542
|
+
year: '{yy}年',
|
|
543
|
+
quarter: '{yy}年第{q}季度',
|
|
544
|
+
month: '{yy}年{M}月',
|
|
545
|
+
week: '{yy}年第{W}周',
|
|
546
|
+
day: '{yy}年{M}月{E}日',
|
|
547
|
+
date: '{yy}年{M}月{d}日',
|
|
548
|
+
hour: '{yy}年 {M}月{d}日{H}时',
|
|
549
|
+
minute: '{yy}年{M}月{d}日{H}时{m}分'
|
|
550
|
+
},
|
|
551
|
+
tSimpleFormat: {
|
|
552
|
+
year: '{yy}年',
|
|
553
|
+
quarter: '{q}季度',
|
|
554
|
+
month: '{M}月',
|
|
555
|
+
week: '{W}周',
|
|
556
|
+
day: '{d}',
|
|
557
|
+
date: '{d}',
|
|
558
|
+
hour: '{H}时',
|
|
559
|
+
minute: '{m}分'
|
|
560
|
+
},
|
|
561
|
+
dayss: {
|
|
562
|
+
w0: '日',
|
|
563
|
+
w1: '一',
|
|
564
|
+
w2: '二',
|
|
565
|
+
w3: '三',
|
|
566
|
+
w4: '四',
|
|
567
|
+
w5: '五',
|
|
568
|
+
w6: '六'
|
|
569
|
+
}
|
|
570
|
+
},
|
|
539
571
|
plugins: {
|
|
540
572
|
extendCellArea: {
|
|
541
573
|
area: {
|
|
@@ -397,7 +397,7 @@ export default {
|
|
|
397
397
|
let isMouseScrollDown: any = false
|
|
398
398
|
let mouseScrollSpaceSize = 1
|
|
399
399
|
const triggerEvent = (type: any, evnt: any) => {
|
|
400
|
-
this.
|
|
400
|
+
this.dispatchEvent(`checkbox-range-${type}`, {
|
|
401
401
|
records: () => this.getCheckboxRecords(),
|
|
402
402
|
reserves: () => this.getCheckboxReserveRecords()
|
|
403
403
|
}, evnt)
|
|
@@ -408,10 +408,15 @@ export const Cell = {
|
|
|
408
408
|
groupColumn: (colRest ? colRest.column : null) as VxeTableDefines.ColumnInfo,
|
|
409
409
|
column,
|
|
410
410
|
groupValue: groupContent,
|
|
411
|
-
|
|
411
|
+
childList,
|
|
412
412
|
childCount,
|
|
413
413
|
aggValue: null as any,
|
|
414
414
|
|
|
415
|
+
/**
|
|
416
|
+
* 已废弃
|
|
417
|
+
* @deprecated
|
|
418
|
+
*/
|
|
419
|
+
children: childList,
|
|
415
420
|
/**
|
|
416
421
|
* 已废弃
|
|
417
422
|
* @deprecated
|
|
@@ -419,7 +424,7 @@ export const Cell = {
|
|
|
419
424
|
totalValue: childCount
|
|
420
425
|
}
|
|
421
426
|
if (gcSlot) {
|
|
422
|
-
return renderCellBaseVNs(h, params, $table.callSlot(gcSlot, Object.assign({ groupField, groupContent, childCount }, params), h))
|
|
427
|
+
return renderCellBaseVNs(h, params, $table.callSlot(gcSlot, Object.assign({ groupField, groupContent, childList, childCount }, params), h))
|
|
423
428
|
}
|
|
424
429
|
if (mode === 'column' ? field === aggRow.groupField : rowGroupNode) {
|
|
425
430
|
cellValue = groupContent
|
|
@@ -1174,10 +1179,14 @@ export const Cell = {
|
|
|
1174
1179
|
return Cell.renderDeepNodeBtn(h, params, Cell.renderCellEdit(h, params))
|
|
1175
1180
|
},
|
|
1176
1181
|
runRenderer (h: CreateElement, params: VxeTableDefines.CellRenderBodyParams & { $table: VxeTableConstructor & VxeTablePrivateMethods }, _vm: any, isEdit: boolean) {
|
|
1177
|
-
const { $table, column } = params
|
|
1178
|
-
const
|
|
1182
|
+
const { $table, row, column } = params
|
|
1183
|
+
const tableReactData = $table as unknown as TableReactData
|
|
1184
|
+
const { isRowGroupStatus } = tableReactData
|
|
1185
|
+
const { slots, field, editRender, formatter } = column
|
|
1179
1186
|
const compConf = renderer.get(editRender.name)
|
|
1180
1187
|
const rtEdit = compConf ? (compConf.renderTableEdit || compConf.renderEdit) : null
|
|
1188
|
+
const defaultSlot = slots ? slots.default : null
|
|
1189
|
+
const gcSlot = slots ? (slots.groupContent || slots['group-content']) : null
|
|
1181
1190
|
const cellParams = Object.assign({ $type: '', isEdit }, params)
|
|
1182
1191
|
if (isEdit) {
|
|
1183
1192
|
if (slots && slots.edit) {
|
|
@@ -1188,9 +1197,24 @@ export const Cell = {
|
|
|
1188
1197
|
}
|
|
1189
1198
|
return []
|
|
1190
1199
|
}
|
|
1191
|
-
|
|
1192
|
-
|
|
1200
|
+
|
|
1201
|
+
if (isRowGroupStatus && field && row.isAggregate) {
|
|
1202
|
+
const aggRow: VxeTableDefines.AggregateRowInfo = row
|
|
1203
|
+
const aggregateOpts = $table.computeAggregateOpts
|
|
1204
|
+
const { mapChildrenField } = aggregateOpts
|
|
1205
|
+
const groupField = aggRow.groupField
|
|
1206
|
+
const groupContent = aggRow.groupContent
|
|
1207
|
+
const childList = mapChildrenField ? (aggRow[mapChildrenField] || []) : []
|
|
1208
|
+
const childCount = aggRow.childCount
|
|
1209
|
+
if (gcSlot) {
|
|
1210
|
+
return renderCellBaseVNs(h, params, $table.callSlot(gcSlot, Object.assign({ groupField, groupContent, childList, childCount }, params), h))
|
|
1211
|
+
}
|
|
1212
|
+
} else {
|
|
1213
|
+
if (defaultSlot) {
|
|
1214
|
+
return renderCellBaseVNs(h, params, $table.callSlot(defaultSlot, cellParams, h))
|
|
1215
|
+
}
|
|
1193
1216
|
}
|
|
1217
|
+
|
|
1194
1218
|
if (formatter) {
|
|
1195
1219
|
return renderCellBaseVNs(h, params, [
|
|
1196
1220
|
h('span', {
|
|
@@ -1575,6 +1575,12 @@ export default {
|
|
|
1575
1575
|
if (props.resizable) {
|
|
1576
1576
|
warnLog('vxe.error.delProp', ['resizable', 'column-config.resizable'])
|
|
1577
1577
|
}
|
|
1578
|
+
if (props.virtualXConfig && props.scrollX) {
|
|
1579
|
+
warnLog('vxe.error.notSupportProp', ['virtual-x-config', 'scroll-x', 'scroll-x=null'])
|
|
1580
|
+
}
|
|
1581
|
+
if (props.virtualYConfig && props.scrollY) {
|
|
1582
|
+
warnLog('vxe.error.notSupportProp', ['virtual-y-config', 'scroll-y', 'scroll-y=null'])
|
|
1583
|
+
}
|
|
1578
1584
|
// if (props.scrollY) {
|
|
1579
1585
|
// warnLog('vxe.error.delProp', ['scroll-y', 'virtual-y-config'])
|
|
1580
1586
|
// }
|
|
@@ -1662,7 +1668,16 @@ export default {
|
|
|
1662
1668
|
errLog('vxe.error.errConflicts', ['tree-config', 'checkbox-config.isShiftKey'])
|
|
1663
1669
|
}
|
|
1664
1670
|
if (checkboxOpts.halfField) {
|
|
1665
|
-
|
|
1671
|
+
errLog('vxe.error.delProp', ['checkbox-config.halfField', 'checkbox-config.indeterminateField'])
|
|
1672
|
+
}
|
|
1673
|
+
|
|
1674
|
+
if (treeConfig) {
|
|
1675
|
+
XEUtils.arrayEach(['rowField', 'parentField', 'childrenField', 'hasChildField', 'mapChildrenField'], key => {
|
|
1676
|
+
const val = treeOpts[key as 'rowField']
|
|
1677
|
+
if (val && val.indexOf('.') > -1) {
|
|
1678
|
+
errLog('vxe.error.errProp', [`${key}=${val}`, `${key}=${val.split('.')[0]}`])
|
|
1679
|
+
}
|
|
1680
|
+
})
|
|
1666
1681
|
}
|
|
1667
1682
|
|
|
1668
1683
|
// 在 v3.0 中废弃 context-menu
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|