vxe-table 4.7.64 → 4.7.66

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.
Files changed (109) hide show
  1. package/es/grid/src/grid.js +21 -11
  2. package/es/locale/lang/en-US.js +17 -8
  3. package/es/locale/lang/es-ES.js +17 -8
  4. package/es/locale/lang/hu-HU.js +624 -0
  5. package/es/locale/lang/ja-JP.js +17 -8
  6. package/es/locale/lang/ko-KR.js +634 -0
  7. package/es/locale/lang/pt-BR.js +17 -8
  8. package/es/locale/lang/ru-RU.js +634 -0
  9. package/es/locale/lang/vi-VN.js +634 -0
  10. package/es/locale/lang/zh-CN.js +17 -8
  11. package/es/locale/lang/zh-TC.js +75 -66
  12. package/es/style.css +1 -1
  13. package/es/style.min.css +1 -1
  14. package/es/table/module/custom/panel.js +12 -11
  15. package/es/table/module/edit/hook.js +11 -10
  16. package/es/table/module/export/hook.js +10 -6
  17. package/es/table/render/index.js +95 -84
  18. package/es/table/src/table.js +22 -2
  19. package/es/table/style.css +8 -4
  20. package/es/table/style.min.css +1 -1
  21. package/es/toolbar/src/toolbar.js +7 -7
  22. package/es/ui/index.js +6 -4
  23. package/es/ui/src/log.js +1 -1
  24. package/es/vxe-table/style.css +8 -4
  25. package/es/vxe-table/style.min.css +1 -1
  26. package/lib/grid/src/grid.js +25 -14
  27. package/lib/grid/src/grid.min.js +1 -1
  28. package/lib/index.umd.js +227 -150
  29. package/lib/index.umd.min.js +1 -1
  30. package/lib/locale/lang/en-US.js +17 -8
  31. package/lib/locale/lang/en-US.min.js +1 -1
  32. package/lib/locale/lang/en-US.umd.js +17 -8
  33. package/lib/locale/lang/es-ES.js +17 -8
  34. package/lib/locale/lang/es-ES.min.js +1 -1
  35. package/lib/locale/lang/es-ES.umd.js +17 -8
  36. package/lib/locale/lang/hu-HU.js +630 -0
  37. package/lib/locale/lang/hu-HU.min.js +1 -0
  38. package/lib/locale/lang/ja-JP.js +17 -8
  39. package/lib/locale/lang/ja-JP.min.js +1 -1
  40. package/lib/locale/lang/ja-JP.umd.js +17 -8
  41. package/lib/locale/lang/ko-KR.js +640 -0
  42. package/lib/locale/lang/ko-KR.min.js +1 -0
  43. package/lib/locale/lang/pt-BR.js +17 -8
  44. package/lib/locale/lang/pt-BR.min.js +1 -1
  45. package/lib/locale/lang/pt-BR.umd.js +17 -8
  46. package/lib/locale/lang/ru-RU.js +640 -0
  47. package/lib/locale/lang/ru-RU.min.js +1 -0
  48. package/lib/locale/lang/vi-VN.js +640 -0
  49. package/lib/locale/lang/vi-VN.min.js +1 -0
  50. package/lib/locale/lang/zh-CN.js +17 -8
  51. package/lib/locale/lang/zh-CN.min.js +1 -1
  52. package/lib/locale/lang/zh-CN.umd.js +17 -8
  53. package/lib/locale/lang/zh-HK.min.js +1 -1
  54. package/lib/locale/lang/zh-HK.umd.js +75 -66
  55. package/lib/locale/lang/zh-MO.min.js +1 -1
  56. package/lib/locale/lang/zh-MO.umd.js +75 -66
  57. package/lib/locale/lang/zh-TC.js +75 -66
  58. package/lib/locale/lang/zh-TC.min.js +1 -1
  59. package/lib/locale/lang/zh-TC.umd.js +75 -66
  60. package/lib/locale/lang/zh-TW.min.js +1 -1
  61. package/lib/locale/lang/zh-TW.umd.js +75 -66
  62. package/lib/style.css +1 -1
  63. package/lib/style.min.css +1 -1
  64. package/lib/table/module/custom/panel.js +18 -11
  65. package/lib/table/module/custom/panel.min.js +1 -1
  66. package/lib/table/module/edit/hook.js +11 -13
  67. package/lib/table/module/edit/hook.min.js +1 -1
  68. package/lib/table/module/export/hook.js +12 -6
  69. package/lib/table/module/export/hook.min.js +1 -1
  70. package/lib/table/render/index.js +98 -84
  71. package/lib/table/render/index.min.js +1 -1
  72. package/lib/table/src/table.js +22 -2
  73. package/lib/table/src/table.min.js +1 -1
  74. package/lib/table/style/style.css +8 -4
  75. package/lib/table/style/style.min.css +1 -1
  76. package/lib/toolbar/src/toolbar.js +17 -7
  77. package/lib/toolbar/src/toolbar.min.js +1 -1
  78. package/lib/ui/index.js +10 -8
  79. package/lib/ui/index.min.js +1 -1
  80. package/lib/ui/src/log.js +1 -1
  81. package/lib/ui/src/log.min.js +1 -1
  82. package/lib/vxe-table/style/style.css +8 -4
  83. package/lib/vxe-table/style/style.min.css +1 -1
  84. package/package.json +2 -2
  85. package/packages/grid/src/grid.ts +22 -11
  86. package/packages/locale/lang/en-US.ts +17 -8
  87. package/packages/locale/lang/es-ES.ts +17 -8
  88. package/packages/locale/lang/hu-HU.ts +626 -0
  89. package/packages/locale/lang/ja-JP.ts +17 -8
  90. package/packages/locale/lang/ko-KR.ts +636 -0
  91. package/packages/locale/lang/pt-BR.ts +17 -8
  92. package/packages/locale/lang/ru-RU.ts +636 -0
  93. package/packages/locale/lang/vi-VN.ts +636 -0
  94. package/packages/locale/lang/zh-CN.ts +17 -8
  95. package/packages/locale/lang/zh-TC.ts +75 -66
  96. package/packages/table/module/custom/panel.ts +13 -12
  97. package/packages/table/module/edit/hook.ts +11 -10
  98. package/packages/table/module/export/hook.ts +10 -6
  99. package/packages/table/render/index.ts +95 -84
  100. package/packages/table/src/table.ts +25 -3
  101. package/packages/toolbar/src/toolbar.ts +8 -8
  102. package/packages/ui/index.ts +4 -3
  103. package/styles/components/table.scss +6 -3
  104. /package/es/{iconfont.1723218795604.ttf → iconfont.1724145396059.ttf} +0 -0
  105. /package/es/{iconfont.1723218795604.woff → iconfont.1724145396059.woff} +0 -0
  106. /package/es/{iconfont.1723218795604.woff2 → iconfont.1724145396059.woff2} +0 -0
  107. /package/lib/{iconfont.1723218795604.ttf → iconfont.1724145396059.ttf} +0 -0
  108. /package/lib/{iconfont.1723218795604.woff → iconfont.1724145396059.woff} +0 -0
  109. /package/lib/{iconfont.1723218795604.woff2 → iconfont.1724145396059.woff2} +0 -0
@@ -1,7 +1,3 @@
1
- /**
2
- * 已废弃
3
- * @deprecated
4
- */
5
1
  export default {
6
2
  vxe: {
7
3
  base: {
@@ -23,7 +19,7 @@ export default {
23
19
  useErr: '安裝 "{0}" 模組時發生錯誤,可能順序不正確,依賴的模組需要在Table之前安裝',
24
20
  barUnableLink: '工具欄無法關聯表格',
25
21
  expandContent: '展開行的插槽應該是 “content”,請檢查是否正確',
26
- reqComp: '缺少 "{0}" 組件,请检查是否正确安装',
22
+ reqComp: '缺少 "{0}" 組件,请检查是否正确安装。 https://vxeui.com/#/start/useGlobal',
27
23
  reqModule: '缺少 "{0}" 模組',
28
24
  reqProp: '缺少必要的 "{0}" 參數,可能會導致出現錯誤',
29
25
  emptyProp: '參數 "{0}" 不允許為空',
@@ -53,6 +49,7 @@ export default {
53
49
  emptyText: '暫無資料',
54
50
  allTitle: '全選/取消',
55
51
  seqTitle: '序号',
52
+ actionTitle: '操作',
56
53
  confirmFilter: '篩選',
57
54
  resetFilter: '重置',
58
55
  allFilter: '全部',
@@ -307,28 +304,30 @@ export default {
307
304
  reUpload: '重新上传',
308
305
  uploadProgress: '上传中 {0}%',
309
306
  uploadErr: '上传失败',
310
- uploadSuccess: '上传成功'
307
+ uploadSuccess: '上传成功',
308
+ moreBtnText: '更多({0})',
309
+ viewItemTitle: '點擊查看'
311
310
  },
312
311
  formDesign: {
313
- formName: '表单名称',
314
- defFormTitle: '未命名的表单',
315
- widgetPropTab: '控件属性',
316
- widgetFormTab: '表单属性',
312
+ formName: '表單名稱',
313
+ defFormTitle: '未命名的表單',
314
+ widgetPropTab: '控件屬性',
315
+ widgetFormTab: '表單屬性',
317
316
  styleSetting: {
318
- btn: '样式设置',
319
- title: '表单的样式设置',
320
- layoutTitle: '控件布局',
321
- verticalLayout: '上下布局',
322
- horizontalLayout: '横向布局',
323
- styleTitle: '标题样式',
324
- boldTitle: '标题加粗',
317
+ btn: '樣式設置',
318
+ title: '表單的樣式設置',
319
+ layoutTitle: '控件佈局',
320
+ verticalLayout: '上下佈局',
321
+ horizontalLayout: '橫向佈局',
322
+ styleTitle: '標題樣式',
323
+ boldTitle: '標題加粗',
325
324
  fontBold: '加粗',
326
- fontNormal: '常规',
327
- colonTitle: '显示冒号',
328
- colonVisible: '显示',
329
- colonHidden: '隐藏',
330
- alignTitle: '对齐方式',
331
- widthTitle: '标题宽度',
325
+ fontNormal: '常規',
326
+ colonTitle: '顯示冒號',
327
+ colonVisible: '顯示',
328
+ colonHidden: '隱藏',
329
+ alignTitle: '對齊方式',
330
+ widthTitle: '標題寬度',
332
331
  alignLeft: '居左',
333
332
  alignRight: '居右',
334
333
  unitPx: '像素',
@@ -338,91 +337,101 @@ export default {
338
337
  group: {
339
338
  base: '基础控件',
340
339
  layout: '布局控件',
340
+ system: '系統控件',
341
341
  advanced: '高级控件'
342
342
  },
343
343
  copyTitle: '副本_{0}',
344
344
  component: {
345
- input: '输入框',
345
+ input: '輸入框',
346
346
  textarea: '文本域',
347
- select: '下拉选择',
347
+ select: '下拉選擇',
348
348
  row: '一行多列',
349
- title: '文本',
349
+ title: '標題',
350
+ text: '文本',
350
351
  subtable: '子表',
351
352
  VxeSwitch: '是/否',
352
- VxeInput: '输入框',
353
- VxeNumberInput: '数字',
353
+ VxeInput: '輸入框',
354
+ VxeNumberInput: '數字',
354
355
  VxeDatePicker: '日期',
355
356
  VxeTextarea: '文本域',
356
- VxeSelect: '下拉选择',
357
- VxeTreeSelect: '树形选择',
358
- VxeRadioGroup: '单选框',
359
- VxeCheckboxGroup: '复选框',
357
+ VxeSelect: '下拉選擇',
358
+ VxeTreeSelect: '樹形選擇',
359
+ VxeRadioGroup: '單選框',
360
+ VxeCheckboxGroup: '複選框',
360
361
  VxeUploadFile: '文件',
361
- VxeUploadImage: '图片'
362
+ VxeUploadImage: '圖片'
362
363
  }
363
364
  },
364
365
  widgetProp: {
365
- name: '控件名称',
366
+ name: '控件名稱',
366
367
  placeholder: '控件提示',
367
- required: '必填校验',
368
- multiple: '允许多选',
368
+ required: '必填校驗',
369
+ multiple: '允許多選',
369
370
  displaySetting: {
370
- name: '显示设置',
371
- pc: '电脑端',
372
- mobile: '手机端',
373
- visible: '显示',
374
- hidden: '隐藏'
371
+ name: '顯示設置',
372
+ pc: '電腦端',
373
+ mobile: '手機端',
374
+ visible: '顯示',
375
+ hidden: '隱藏'
375
376
  },
376
377
  dataSource: {
377
- name: '数据源',
378
- defValue: '选项{0}',
379
- addOption: '添加选项',
380
- batchEditOption: '批量编辑',
381
- batchEditTip: '每行对应一个选项,支持从表格、Excel、WPS 中直接复制粘贴。',
382
- batchEditSubTip: '每行对应一个选项,如果是分组,子项可以是空格或制表键开头,支持从表格、Excel、WPS 中直接复制粘贴。',
383
- buildOption: '生成选项'
378
+ name: '數據源',
379
+ defValue: '選項{0}',
380
+ addOption: '添加選項',
381
+ batchEditOption: '批量編輯',
382
+ batchEditTip: '每行對應一個選項,支持從表格、Excel、WPS 中直接複製粘貼。',
383
+ batchEditSubTip: '每行對應一個選項,如果是分組,子項可以是空格或製表鍵開頭,支持從表格、Excel、WPS 中直接複製粘貼。',
384
+ buildOption: '生成選項'
384
385
  },
385
386
  rowProp: {
386
- colSize: '列数',
387
+ colSize: '列數',
387
388
  col2: '两列',
388
389
  col3: '三列',
389
390
  col4: '四列',
390
391
  col6: '六列',
391
- layout: '布局'
392
+ layout: '佈局'
392
393
  },
393
394
  textProp: {
394
395
  name: '内容',
395
- alignTitle: '对齐方式',
396
+ alignTitle: '對齊方式',
396
397
  alignLeft: '居左',
397
398
  alignCenter: '居中',
398
399
  alignRight: '居右',
399
- colorTitle: '字体颜色',
400
- sizeTitle: '字体大小',
401
- boldTitle: '字体加粗',
402
- fontNormal: '常规',
400
+ colorTitle: '字體顏色',
401
+ sizeTitle: '字體大小',
402
+ boldTitle: '字體加粗',
403
+ fontNormal: '常規',
403
404
  fontBold: '加粗'
404
405
  },
405
406
  subtableProp: {
406
- seqTitle: '序号',
407
- showSeq: '显示序号',
408
- showCheckbox: '允许多选',
409
- errSubDrag: '子表不支持该控件,请使用其他控件'
407
+ seqTitle: '序號',
408
+ showSeq: '顯示序號',
409
+ showCheckbox: '允許多選',
410
+ errSubDrag: '子表不支持該控件,請使用其他控件'
410
411
  },
411
412
  uploadProp: {
412
413
  uploadProp: {
413
- limitFileCount: '文件数量限制',
414
+ limitFileCount: '文件數量限制',
414
415
  limitFileSize: '文件大小限制',
415
- multiFile: '允许上传多个文件',
416
- limitImgCount: '图片数量限制',
417
- limitImgSize: '图片大小限制',
418
- multiImg: '允许上传多张图片'
416
+ multiFile: '允許上傳多個文件',
417
+ limitImgCount: '圖片數量限制',
418
+ limitImgSize: '圖片大小限制',
419
+ multiImg: '允許上傳多張圖片'
419
420
  }
420
421
  }
421
422
  }
422
423
  },
423
424
  listDesign: {
424
- fieldSettingTab: '字段设置',
425
- listSettingTab: '列表设置'
425
+ fieldSettingTab: '字段設置',
426
+ listSettingTab: '列表設置',
427
+ activeBtn: {
428
+ ActionButtonUpdate: '編輯',
429
+ ActionButtonDelete: '刪除'
430
+ }
431
+ },
432
+ text: {
433
+ copySuccess: '已複製到剪貼板',
434
+ copyError: '當前環境不支持該操作'
426
435
  },
427
436
 
428
437
  /**
@@ -5,7 +5,7 @@ import { addClass, removeClass } from '../../../ui/src/dom'
5
5
  import { errLog } from '../../../ui/src/log'
6
6
  import XEUtils from 'xe-utils'
7
7
 
8
- import type { VxeModalComponent, VxeDrawerComponent, VxeButtonComponent, VxeRadioGroupComponent, VxeTooltipComponent, VxeInputComponent } from 'vxe-pc-ui'
8
+ import type { VxeModalComponent, VxeDrawerComponent, VxeButtonComponent, VxeRadioGroupComponent, VxeTooltipComponent, VxeInputComponent, VxeButtonEvents } from 'vxe-pc-ui'
9
9
  import type { VxeTableDefines, VxeTablePrivateMethods, VxeTableConstructor, VxeTableMethods, VxeColumnPropTypes } from '../../../../types'
10
10
 
11
11
  const { getI18n, getIcon } = VxeUI
@@ -55,7 +55,7 @@ export default defineComponent({
55
55
  }, 300)
56
56
  }
57
57
 
58
- const confirmCustomEvent = (evnt: Event) => {
58
+ const confirmCustomEvent: VxeButtonEvents.Click = ({ $event }) => {
59
59
  const { customColumnList } = reactData
60
60
  const customOpts = computeCustomOpts.value
61
61
  const { allowVisible, allowSort, allowFixed, allowResizable } = customOpts
@@ -82,11 +82,11 @@ export default defineComponent({
82
82
  }
83
83
  })
84
84
  $xeTable.closeCustom()
85
- $xeTable.emitCustomEvent('confirm', evnt)
85
+ $xeTable.emitCustomEvent('confirm', $event)
86
86
  $xeTable.saveCustomStore('confirm')
87
87
  }
88
88
 
89
- const cancelCustomEvent = (evnt: Event) => {
89
+ const cancelCustomEvent: VxeButtonEvents.Click = ({ $event }) => {
90
90
  const { customStore } = props
91
91
  const { customColumnList } = reactData
92
92
  const { oldSortMaps, oldFixedMaps, oldVisibleMaps } = customStore
@@ -112,7 +112,7 @@ export default defineComponent({
112
112
  }
113
113
  }, { children: 'children' })
114
114
  $xeTable.closeCustom()
115
- $xeTable.emitCustomEvent('cancel', evnt)
115
+ $xeTable.emitCustomEvent('cancel', $event)
116
116
  }
117
117
 
118
118
  const handleResetCustomEvent = (evnt: Event) => {
@@ -121,7 +121,7 @@ export default defineComponent({
121
121
  $xeTable.emitCustomEvent('reset', evnt)
122
122
  }
123
123
 
124
- const resetCustomEvent = (evnt: Event) => {
124
+ const resetCustomEvent: VxeButtonEvents.Click = ({ $event }) => {
125
125
  if (VxeUI.modal) {
126
126
  VxeUI.modal.confirm({
127
127
  content: getI18n('vxe.custom.cstmConfirmRestore'),
@@ -129,11 +129,11 @@ export default defineComponent({
129
129
  escClosable: true
130
130
  }).then(type => {
131
131
  if (type === 'confirm') {
132
- handleResetCustomEvent(evnt)
132
+ handleResetCustomEvent($event)
133
133
  }
134
134
  })
135
135
  } else {
136
- handleResetCustomEvent(evnt)
136
+ handleResetCustomEvent($event)
137
137
  }
138
138
  }
139
139
 
@@ -185,7 +185,7 @@ export default defineComponent({
185
185
  // }
186
186
  // }
187
187
 
188
- const allCustomEvent = () => {
188
+ const allOptionEvent = () => {
189
189
  const { customStore } = props
190
190
  const { customColumnList } = reactData
191
191
  const customOpts = computeCustomOpts.value
@@ -435,7 +435,7 @@ export default defineComponent({
435
435
  'is--indeterminate': isAllIndeterminate
436
436
  }],
437
437
  title: getI18n('vxe.table.allTitle'),
438
- onClick: allCustomEvent
438
+ onClick: allOptionEvent
439
439
  }, [
440
440
  h('span', {
441
441
  class: ['vxe-checkbox--icon', isAllIndeterminate ? getIcon().TABLE_CHECKBOX_INDETERMINATE : (isAllChecked ? getIcon().TABLE_CHECKBOX_CHECKED : getIcon().TABLE_CHECKBOX_UNCHECKED)]
@@ -678,7 +678,7 @@ export default defineComponent({
678
678
  'is--indeterminate': isAllIndeterminate
679
679
  }],
680
680
  title: getI18n('vxe.table.allTitle'),
681
- onClick: allCustomEvent
681
+ onClick: allOptionEvent
682
682
  }, [
683
683
  h('span', {
684
684
  class: ['vxe-checkbox--icon', isAllIndeterminate ? getIcon().TABLE_CHECKBOX_INDETERMINATE : (isAllChecked ? getIcon().TABLE_CHECKBOX_CHECKED : getIcon().TABLE_CHECKBOX_UNCHECKED)]
@@ -697,7 +697,8 @@ export default defineComponent({
697
697
  VxeUITooltipComponent
698
698
  ? h(VxeUITooltipComponent, {
699
699
  enterable: true,
700
- content: getI18n('vxe.custom.setting.sortHelpTip')
700
+ content: getI18n('vxe.custom.setting.sortHelpTip'),
701
+ popupClassName: 'vxe-table--ignore-clear'
701
702
  }, {
702
703
  default: () => {
703
704
  return h('i', {
@@ -764,25 +764,26 @@ hooks.add('tableEditModule', {
764
764
  const { editRender } = column
765
765
  if (isEnableConf(editRender)) {
766
766
  const compRender = renderer.get(editRender.name)
767
- let { autofocus, autoselect } = editRender
767
+ let autoFocus = editRender.autofocus || editRender.autoFocus
768
+ let autoSelect = editRender.autoSelect || editRender.autoselect
768
769
  let inputElem
769
- if (!autofocus && compRender) {
770
- autofocus = compRender.tableAutoFocus || compRender.tableAutofocus || compRender.autofocus
770
+ if (!autoFocus && compRender) {
771
+ autoFocus = compRender.tableAutoFocus || compRender.tableAutofocus || compRender.autofocus
771
772
  }
772
- if (!autoselect && compRender) {
773
- autoselect = compRender.tableAutoSelect || compRender.autoselect
773
+ if (!autoSelect && compRender) {
774
+ autoSelect = compRender.tableAutoSelect || compRender.autoselect
774
775
  }
775
776
  // 如果指定了聚焦 class
776
- if (XEUtils.isFunction(autofocus)) {
777
- inputElem = autofocus(params)
778
- } else if (autofocus) {
779
- inputElem = cell.querySelector(autofocus)
777
+ if (XEUtils.isFunction(autoFocus)) {
778
+ inputElem = autoFocus(params)
779
+ } else if (autoFocus) {
780
+ inputElem = cell.querySelector(autoFocus)
780
781
  if (inputElem) {
781
782
  inputElem.focus()
782
783
  }
783
784
  }
784
785
  if (inputElem) {
785
- if (autoselect) {
786
+ if (autoSelect) {
786
787
  inputElem.select()
787
788
  } else {
788
789
  // 保持一致行为,光标移到末端
@@ -294,7 +294,7 @@ hooks.add('tableExportModule', {
294
294
  return row[childrenField] && row[childrenField].length
295
295
  }
296
296
 
297
- const getSeq = (row: any, $rowIndex: any, column: any, $columnIndex: any) => {
297
+ const getSeq = (cellValue: any, row: any, $rowIndex: any, column: any, $columnIndex: any) => {
298
298
  const seqOpts = computeSeqOpts.value
299
299
  const seqMethod = seqOpts.seqMethod || column.seqMethod
300
300
  if (seqMethod) {
@@ -307,7 +307,7 @@ hooks.add('tableExportModule', {
307
307
  $columnIndex
308
308
  })
309
309
  }
310
- return $xeTable.getRowSeq(row)
310
+ return cellValue
311
311
  }
312
312
 
313
313
  function getHeaderTitle (opts: any, column: any) {
@@ -363,9 +363,11 @@ hooks.add('tableExportModule', {
363
363
  cellValue = bodyExportMethod({ $table: $xeTable, row, column, options: opts })
364
364
  } else {
365
365
  switch (column.type) {
366
- case 'seq':
367
- cellValue = mode === 'all' ? path.map((num, i) => i % 2 === 0 ? (Number(num) + 1) : '.').join('') : getSeq(row, $rowIndex, column, $columnIndex)
366
+ case 'seq': {
367
+ const seqVal = path.map((num, i) => i % 2 === 0 ? (Number(num) + 1) : '.').join('')
368
+ cellValue = mode === 'all' ? seqVal : getSeq(seqVal, row, $rowIndex, column, $columnIndex)
368
369
  break
370
+ }
369
371
  case 'checkbox':
370
372
  cellValue = toBooleanValue($xeTable.isCheckedByCheckboxRow(row))
371
373
  item._checkboxLabel = checkboxOpts.labelField ? XEUtils.get(row, checkboxOpts.labelField) : ''
@@ -419,9 +421,11 @@ hooks.add('tableExportModule', {
419
421
  cellValue = exportLabelMethod({ $table: $xeTable, row, column, options: opts })
420
422
  } else {
421
423
  switch (column.type) {
422
- case 'seq':
423
- cellValue = mode === 'all' ? $rowIndex + 1 : getSeq(row, $rowIndex, column, $columnIndex)
424
+ case 'seq': {
425
+ const seqValue = $rowIndex + 1
426
+ cellValue = mode === 'all' ? seqValue : getSeq(seqValue, row, $rowIndex, column, $columnIndex)
424
427
  break
428
+ }
425
429
  case 'checkbox':
426
430
  cellValue = toBooleanValue($xeTable.isCheckedByCheckboxRow(row))
427
431
  item._checkboxLabel = checkboxOpts.labelField ? XEUtils.get(row, checkboxOpts.labelField) : ''