vxe-table 3.10.0-beta.2 → 3.10.0-beta.3

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 (98) hide show
  1. package/es/locale/lang/en-US.js +1 -0
  2. package/es/locale/lang/es-ES.js +1 -0
  3. package/es/locale/lang/hu-HU.js +1 -0
  4. package/es/locale/lang/ja-JP.js +1 -0
  5. package/es/locale/lang/ko-KR.js +1 -0
  6. package/es/locale/lang/pt-BR.js +1 -0
  7. package/es/locale/lang/ru-RU.js +1 -0
  8. package/es/locale/lang/uk-UA.js +1 -0
  9. package/es/locale/lang/vi-VN.js +1 -0
  10. package/es/locale/lang/zh-CHT.js +1 -0
  11. package/es/locale/lang/zh-CN.js +1 -0
  12. package/es/style.css +1 -1
  13. package/es/style.min.css +1 -1
  14. package/es/table/module/export/export-panel.js +325 -258
  15. package/es/table/module/export/import-panel.js +138 -81
  16. package/es/table/module/export/mixin.js +14 -0
  17. package/es/table/src/methods.js +1 -1
  18. package/es/table/style.css +48 -47
  19. package/es/table/style.min.css +1 -1
  20. package/es/ui/index.js +1 -1
  21. package/es/ui/src/log.js +1 -1
  22. package/es/vxe-table/style.css +48 -47
  23. package/es/vxe-table/style.min.css +1 -1
  24. package/lib/index.umd.js +356 -240
  25. package/lib/index.umd.min.js +1 -1
  26. package/lib/locale/lang/en-US.js +1 -0
  27. package/lib/locale/lang/en-US.min.js +1 -1
  28. package/lib/locale/lang/en-US.umd.js +1 -0
  29. package/lib/locale/lang/es-ES.js +1 -0
  30. package/lib/locale/lang/es-ES.min.js +1 -1
  31. package/lib/locale/lang/es-ES.umd.js +1 -0
  32. package/lib/locale/lang/hu-HU.js +1 -0
  33. package/lib/locale/lang/hu-HU.min.js +1 -1
  34. package/lib/locale/lang/hu-HU.umd.js +1 -0
  35. package/lib/locale/lang/ja-JP.js +1 -0
  36. package/lib/locale/lang/ja-JP.min.js +1 -1
  37. package/lib/locale/lang/ja-JP.umd.js +1 -0
  38. package/lib/locale/lang/ko-KR.js +1 -0
  39. package/lib/locale/lang/ko-KR.min.js +1 -1
  40. package/lib/locale/lang/ko-KR.umd.js +1 -0
  41. package/lib/locale/lang/pt-BR.js +1 -0
  42. package/lib/locale/lang/pt-BR.min.js +1 -1
  43. package/lib/locale/lang/pt-BR.umd.js +1 -0
  44. package/lib/locale/lang/ru-RU.js +1 -0
  45. package/lib/locale/lang/ru-RU.min.js +1 -1
  46. package/lib/locale/lang/ru-RU.umd.js +1 -0
  47. package/lib/locale/lang/uk-UA.js +1 -0
  48. package/lib/locale/lang/uk-UA.min.js +1 -1
  49. package/lib/locale/lang/uk-UA.umd.js +1 -0
  50. package/lib/locale/lang/vi-VN.js +1 -0
  51. package/lib/locale/lang/vi-VN.min.js +1 -1
  52. package/lib/locale/lang/zh-CHT.js +1 -0
  53. package/lib/locale/lang/zh-CHT.min.js +1 -1
  54. package/lib/locale/lang/zh-CHT.umd.js +1 -0
  55. package/lib/locale/lang/zh-CN.js +1 -0
  56. package/lib/locale/lang/zh-CN.min.js +1 -1
  57. package/lib/locale/lang/zh-CN.umd.js +1 -0
  58. package/lib/style.css +1 -1
  59. package/lib/style.min.css +1 -1
  60. package/lib/table/module/export/export-panel.js +239 -185
  61. package/lib/table/module/export/export-panel.min.js +1 -1
  62. package/lib/table/module/export/import-panel.js +99 -52
  63. package/lib/table/module/export/import-panel.min.js +1 -1
  64. package/lib/table/module/export/mixin.js +14 -0
  65. package/lib/table/module/export/mixin.min.js +1 -1
  66. package/lib/table/src/methods.js +1 -1
  67. package/lib/table/src/methods.min.js +1 -1
  68. package/lib/table/style/style.css +48 -47
  69. package/lib/table/style/style.min.css +1 -1
  70. package/lib/ui/index.js +1 -1
  71. package/lib/ui/index.min.js +1 -1
  72. package/lib/ui/src/log.js +1 -1
  73. package/lib/ui/src/log.min.js +1 -1
  74. package/lib/vxe-table/style/style.css +48 -47
  75. package/lib/vxe-table/style/style.min.css +1 -1
  76. package/package.json +2 -2
  77. package/packages/locale/lang/en-US.ts +1 -0
  78. package/packages/locale/lang/es-ES.ts +1 -0
  79. package/packages/locale/lang/hu-HU.ts +1 -0
  80. package/packages/locale/lang/ja-JP.ts +1 -0
  81. package/packages/locale/lang/ko-KR.ts +1 -0
  82. package/packages/locale/lang/pt-BR.ts +1 -0
  83. package/packages/locale/lang/ru-RU.ts +1 -0
  84. package/packages/locale/lang/uk-UA.ts +1 -0
  85. package/packages/locale/lang/vi-VN.ts +1 -0
  86. package/packages/locale/lang/zh-CHT.ts +1 -0
  87. package/packages/locale/lang/zh-CN.ts +1 -0
  88. package/packages/table/module/export/export-panel.ts +323 -253
  89. package/packages/table/module/export/import-panel.ts +141 -79
  90. package/packages/table/module/export/mixin.ts +15 -0
  91. package/packages/table/src/methods.ts +1 -1
  92. package/styles/components/table-module/export.scss +17 -14
  93. /package/es/{iconfont.1730365807487.ttf → iconfont.1730447026880.ttf} +0 -0
  94. /package/es/{iconfont.1730365807487.woff → iconfont.1730447026880.woff} +0 -0
  95. /package/es/{iconfont.1730365807487.woff2 → iconfont.1730447026880.woff2} +0 -0
  96. /package/lib/{iconfont.1730365807487.ttf → iconfont.1730447026880.ttf} +0 -0
  97. /package/lib/{iconfont.1730365807487.woff → iconfont.1730447026880.woff} +0 -0
  98. /package/lib/{iconfont.1730365807487.woff2 → iconfont.1730447026880.woff2} +0 -0
@@ -2,7 +2,7 @@ import { VxeUI } from '../../../ui';
2
2
  import XEUtils from 'xe-utils';
3
3
  import { parseFile } from '../../../ui/src/utils';
4
4
  import { errLog } from '../../../ui/src/log';
5
- const { getI18n, getIcon, globalMixins } = VxeUI;
5
+ const { getI18n, getIcon, globalMixins, renderEmptyElement } = VxeUI;
6
6
  export default {
7
7
  name: 'VxeTableImportPanel',
8
8
  mixins: [
@@ -16,6 +16,11 @@ export default {
16
16
  // VxeModal,
17
17
  // VxeRadio
18
18
  },
19
+ inject: {
20
+ $xeTable: {
21
+ default: null
22
+ }
23
+ },
19
24
  data() {
20
25
  return {
21
26
  loading: false
@@ -58,18 +63,30 @@ export default {
58
63
  }
59
64
  },
60
65
  render(h) {
66
+ const $xeTable = this.$xeTable;
67
+ const importOpts = $xeTable.importOpts;
61
68
  const { hasFile, parseTypeLabel, defaultOptions, storeData, selectName } = this;
69
+ const slots = importOpts.slots || {};
70
+ const topSlot = slots.top;
71
+ const bottomSlot = slots.bottom;
72
+ const defaultSlot = slots.default;
73
+ const footerSlot = slots.footer;
62
74
  return h('vxe-modal', {
63
75
  ref: 'modal',
64
76
  props: {
77
+ id: 'VXE_IMPORT_MODAL',
65
78
  value: storeData.visible,
66
79
  title: getI18n('vxe.import.impTitle'),
67
80
  width: 540,
81
+ minWidth: 360,
82
+ minHeight: 240,
68
83
  mask: true,
69
84
  lockView: true,
70
- showFooter: false,
85
+ showFooter: true,
71
86
  escClosable: true,
72
87
  maskClosable: true,
88
+ showMaximize: true,
89
+ resize: true,
73
90
  loading: this.loading
74
91
  },
75
92
  on: {
@@ -77,91 +94,131 @@ export default {
77
94
  storeData.visible = value;
78
95
  },
79
96
  show: this.showEvent
80
- }
81
- }, [
82
- h('div', {
83
- class: 'vxe-export--panel'
84
- }, [
85
- h('table', {
86
- attrs: {
87
- cellspacing: 0,
88
- cellpadding: 0,
89
- border: 0
90
- }
91
- }, [
92
- h('tbody', [
93
- h('tr', [
94
- h('td', getI18n('vxe.import.impFile')),
95
- h('td', [
96
- hasFile
97
- ? h('div', {
98
- class: 'vxe-import-selected--file',
99
- attrs: {
100
- title: selectName
101
- }
102
- }, [
103
- h('span', selectName),
104
- h('i', {
105
- class: getIcon().INPUT_CLEAR,
106
- on: {
107
- click: this.clearFileEvent
108
- }
109
- })
97
+ },
98
+ scopedSlots: {
99
+ default: () => {
100
+ const params = {
101
+ $table: $xeTable,
102
+ $grid: $xeTable.xegrid,
103
+ options: importOpts,
104
+ params: importOpts.params
105
+ };
106
+ return h('div', {
107
+ class: 'vxe-table-export--panel'
108
+ }, [
109
+ topSlot
110
+ ? h('div', {
111
+ class: 'vxe-table-export--panel-top'
112
+ }, $xeTable.callSlot(topSlot, params, h))
113
+ : renderEmptyElement(this),
114
+ h('div', {
115
+ class: 'vxe-table-export--panel-body'
116
+ }, defaultSlot
117
+ ? $xeTable.callSlot(defaultSlot, params, h)
118
+ : [
119
+ h('table', {
120
+ class: 'vxe-table-export--panel-table',
121
+ attrs: {
122
+ cellspacing: 0,
123
+ cellpadding: 0,
124
+ border: 0
125
+ }
126
+ }, [
127
+ h('tbody', [
128
+ h('tr', [
129
+ h('td', getI18n('vxe.import.impFile')),
130
+ h('td', [
131
+ hasFile
132
+ ? h('div', {
133
+ class: 'vxe-table-export--selected--file',
134
+ attrs: {
135
+ title: selectName
136
+ }
137
+ }, [
138
+ h('span', selectName),
139
+ h('i', {
140
+ class: getIcon().INPUT_CLEAR,
141
+ on: {
142
+ click: this.clearFileEvent
143
+ }
144
+ })
145
+ ])
146
+ : h('button', {
147
+ ref: 'fileBtn',
148
+ class: 'vxe-table-export--select--file',
149
+ attrs: {
150
+ type: 'button'
151
+ },
152
+ on: {
153
+ click: this.selectFileEvent
154
+ }
155
+ }, getI18n('vxe.import.impSelect'))
156
+ ])
157
+ ]),
158
+ h('tr', [
159
+ h('td', getI18n('vxe.import.impType')),
160
+ h('td', parseTypeLabel)
161
+ ]),
162
+ h('tr', [
163
+ h('td', getI18n('vxe.import.impMode')),
164
+ h('td', [
165
+ h('vxe-select', {
166
+ props: {
167
+ value: defaultOptions.mode,
168
+ options: storeData.modeList
169
+ },
170
+ on: {
171
+ input(value) {
172
+ defaultOptions.mode = value;
173
+ }
174
+ }
175
+ })
176
+ ])
177
+ ])
110
178
  ])
111
- : h('button', {
112
- ref: 'fileBtn',
113
- class: 'vxe-import-select--file',
114
- attrs: {
115
- type: 'button'
116
- },
117
- on: {
118
- click: this.selectFileEvent
119
- }
120
- }, getI18n('vxe.import.impSelect'))
121
- ])
122
- ]),
123
- h('tr', [
124
- h('td', getI18n('vxe.import.impType')),
125
- h('td', parseTypeLabel)
126
- ]),
127
- h('tr', [
128
- h('td', getI18n('vxe.import.impMode')),
129
- h('td', [
130
- h('vxe-select', {
179
+ ])
180
+ ]),
181
+ bottomSlot
182
+ ? h('div', {
183
+ class: 'vxe-table-export--panel-bottom'
184
+ }, $xeTable.callSlot(bottomSlot, params, h))
185
+ : renderEmptyElement(this)
186
+ ]);
187
+ },
188
+ footer: () => {
189
+ const params = {
190
+ $table: $xeTable,
191
+ $grid: $xeTable.xegrid,
192
+ options: importOpts,
193
+ params: importOpts.params
194
+ };
195
+ return h('div', {
196
+ class: 'vxe-table-export--panel-footer'
197
+ }, footerSlot
198
+ ? $xeTable.callSlot(footerSlot, params, h)
199
+ : [
200
+ h('div', {
201
+ class: 'vxe-table-export--panel-btns'
202
+ }, [
203
+ h('vxe-button', {
204
+ on: {
205
+ click: this.cancelEvent
206
+ }
207
+ }, getI18n('vxe.import.impCancel')),
208
+ h('vxe-button', {
131
209
  props: {
132
- value: defaultOptions.mode,
133
- options: storeData.modeList
210
+ status: 'primary',
211
+ disabled: !hasFile
134
212
  },
135
213
  on: {
136
- input(value) {
137
- defaultOptions.mode = value;
138
- }
214
+ click: this.importEvent
139
215
  }
140
- })
216
+ }, getI18n('vxe.import.impConfirm'))
141
217
  ])
142
- ])
143
- ])
144
- ]),
145
- h('div', {
146
- class: 'vxe-export--panel-btns'
147
- }, [
148
- h('vxe-button', {
149
- on: {
150
- click: this.cancelEvent
151
- }
152
- }, getI18n('vxe.import.impCancel')),
153
- h('vxe-button', {
154
- props: {
155
- status: 'primary',
156
- disabled: !hasFile
157
- },
158
- on: {
159
- click: this.importEvent
160
- }
161
- }, getI18n('vxe.import.impConfirm'))
162
- ])
163
- ])
164
- ]);
218
+ ]);
219
+ }
220
+ }
221
+ });
165
222
  },
166
223
  methods: {
167
224
  clearFileEvent() {
@@ -882,6 +882,12 @@ function handleFileImport($xetable, file, opts) {
882
882
  return Promise.reject(e);
883
883
  });
884
884
  }
885
+ function handleCloseExport() {
886
+ if (VxeUI.modal) {
887
+ return VxeUI.modal.close('VXE_EXPORT_MODAL');
888
+ }
889
+ return Promise.resolve();
890
+ }
885
891
  /**
886
892
  * 读取本地文件
887
893
  * @param {*} options 参数
@@ -1388,6 +1394,12 @@ export default {
1388
1394
  };
1389
1395
  });
1390
1396
  },
1397
+ _closeImport() {
1398
+ if (VxeUI.modal) {
1399
+ return VxeUI.modal.close('VXE_IMPORT_MODAL');
1400
+ }
1401
+ return Promise.resolve();
1402
+ },
1391
1403
  _openImport(options) {
1392
1404
  const { importOpts } = this;
1393
1405
  const defOpts = Object.assign({
@@ -1441,6 +1453,7 @@ export default {
1441
1453
  }
1442
1454
  this.initStore.import = true;
1443
1455
  },
1456
+ _closeExport: handleCloseExport,
1444
1457
  _openExport(options) {
1445
1458
  const { exportOpts } = this;
1446
1459
  if (process.env.NODE_ENV === 'development') {
@@ -1450,6 +1463,7 @@ export default {
1450
1463
  }
1451
1464
  return handleExportAndPrint(this, Object.assign({}, exportOpts, options));
1452
1465
  },
1466
+ _closePrint: handleCloseExport,
1453
1467
  _openPrint(options) {
1454
1468
  const { printOpts } = this;
1455
1469
  if (process.env.NODE_ENV === 'development') {
@@ -6018,7 +6018,7 @@ const Methods = {
6018
6018
  }
6019
6019
  };
6020
6020
  // Module methods
6021
- const funcs = 'setFilter,openFilter,clearFilter,getCheckedFilters,updateFilterOptionStatus,closeMenu,setActiveCellArea,getActiveCellArea,getCellAreas,clearCellAreas,copyCellArea,cutCellArea,pasteCellArea,getCopyCellArea,getCopyCellAreas,clearCopyCellArea,setCellAreas,openFNR,openFind,openReplace,closeFNR,getSelectedCell,clearSelected,insert,insertAt,insertNextAt,remove,removeCheckboxRow,removeRadioRow,removeCurrentRow,getRecordset,getInsertRecords,getRemoveRecords,getUpdateRecords,clearEdit,clearActived,getEditRecord,getActiveRecord,isEditByRow,isActiveByRow,setEditRow,setActiveRow,setEditCell,setActiveCell,setSelectCell,clearValidate,fullValidate,validate,openExport,openPrint,getPrintHtml,exportData,openImport,importData,saveFile,readFile,importByFile,print,openCustom,closeCustom'.split(',');
6021
+ const funcs = 'setFilter,openFilter,clearFilter,getCheckedFilters,updateFilterOptionStatus,closeMenu,setActiveCellArea,getActiveCellArea,getCellAreas,clearCellAreas,copyCellArea,cutCellArea,pasteCellArea,getCopyCellArea,getCopyCellAreas,clearCopyCellArea,setCellAreas,openFNR,openFind,openReplace,closeFNR,getSelectedCell,clearSelected,insert,insertAt,insertNextAt,remove,removeCheckboxRow,removeRadioRow,removeCurrentRow,getRecordset,getInsertRecords,getRemoveRecords,getUpdateRecords,clearEdit,clearActived,getEditRecord,getActiveRecord,isEditByRow,isActiveByRow,setEditRow,setActiveRow,setEditCell,setActiveCell,setSelectCell,clearValidate,fullValidate,validate,openExport,closeExport,openPrint,closePrint,getPrintHtml,exportData,openImport,closeImport,importData,saveFile,readFile,importByFile,print,openCustom,closeCustom'.split(',');
6022
6022
  funcs.forEach(name => {
6023
6023
  Methods[name] = function (...args) {
6024
6024
  if (process.env.NODE_ENV === 'development') {
@@ -1148,7 +1148,7 @@
1148
1148
  cursor: help;
1149
1149
  }
1150
1150
 
1151
- .vxe-export--panel-column > ul {
1151
+ .vxe-table-export--panel-column > ul {
1152
1152
  list-style-type: none;
1153
1153
  overflow: auto;
1154
1154
  margin: 0;
@@ -1158,37 +1158,37 @@
1158
1158
  -moz-user-select: none;
1159
1159
  user-select: none;
1160
1160
  }
1161
- .vxe-export--panel-column > ul > li {
1161
+ .vxe-table-export--panel-column > ul > li {
1162
1162
  overflow: hidden;
1163
1163
  text-overflow: ellipsis;
1164
1164
  white-space: nowrap;
1165
1165
  cursor: pointer;
1166
1166
  }
1167
1167
 
1168
- .vxe-export--panel > table {
1168
+ .vxe-table-export--panel .vxe-table-export--panel-table {
1169
1169
  width: 100%;
1170
1170
  border: 0;
1171
1171
  table-layout: fixed;
1172
1172
  }
1173
- .vxe-export--panel > table tr td {
1173
+ .vxe-table-export--panel .vxe-table-export--panel-table tr td {
1174
1174
  padding: 0 10px;
1175
1175
  }
1176
- .vxe-export--panel > table tr td:nth-child(1) {
1176
+ .vxe-table-export--panel .vxe-table-export--panel-table tr td:nth-child(1) {
1177
1177
  text-align: right;
1178
1178
  width: 30%;
1179
1179
  font-weight: 700;
1180
1180
  padding: 8px 10px;
1181
1181
  }
1182
- .vxe-export--panel > table tr td:nth-child(2) {
1182
+ .vxe-table-export--panel .vxe-table-export--panel-table tr td:nth-child(2) {
1183
1183
  width: 70%;
1184
1184
  }
1185
- .vxe-export--panel > table tr td > .vxe-input, .vxe-export--panel > table tr td > .vxe-select {
1185
+ .vxe-table-export--panel .vxe-table-export--panel-table tr td > .vxe-input, .vxe-table-export--panel .vxe-table-export--panel-table tr td > .vxe-select {
1186
1186
  width: 80%;
1187
1187
  }
1188
- .vxe-export--panel > table tr td > .vxe-export--panel-option-row {
1188
+ .vxe-table-export--panel .vxe-table-export--panel-table tr td > .vxe-table-export--panel-option-row {
1189
1189
  padding: 0.25em 0;
1190
1190
  }
1191
- .vxe-export--panel .vxe-export--panel-column {
1191
+ .vxe-table-export--panel .vxe-table-export--panel-column {
1192
1192
  width: 80%;
1193
1193
  border: 1px solid var(--vxe-ui-input-border-color);
1194
1194
  margin: 3px 0;
@@ -1197,63 +1197,68 @@
1197
1197
  -moz-user-select: none;
1198
1198
  user-select: none;
1199
1199
  }
1200
- .vxe-export--panel .vxe-export--panel-column > ul > li {
1200
+ .vxe-table-export--panel .vxe-table-export--panel-column > ul > li {
1201
1201
  padding: 0.2em 1em 0.2em 1em;
1202
1202
  }
1203
- .vxe-export--panel .vxe-export--panel-column > ul > li.level--2 {
1203
+ .vxe-table-export--panel .vxe-table-export--panel-column > ul > li.level--2 {
1204
1204
  padding-left: 3.5em;
1205
1205
  }
1206
- .vxe-export--panel .vxe-export--panel-column > ul > li.level--2 .vxe-checkbox--icon {
1206
+ .vxe-table-export--panel .vxe-table-export--panel-column > ul > li.level--2 .vxe-checkbox--icon {
1207
1207
  left: 1.8em;
1208
1208
  }
1209
- .vxe-export--panel .vxe-export--panel-column > ul > li.level--3 {
1209
+ .vxe-table-export--panel .vxe-table-export--panel-column > ul > li.level--3 {
1210
1210
  padding-left: 4.5em;
1211
1211
  }
1212
- .vxe-export--panel .vxe-export--panel-column > ul > li.level--3 .vxe-checkbox--icon {
1212
+ .vxe-table-export--panel .vxe-table-export--panel-column > ul > li.level--3 .vxe-checkbox--icon {
1213
1213
  left: 2.8em;
1214
1214
  }
1215
- .vxe-export--panel .vxe-export--panel-column > ul > li.level--4 {
1215
+ .vxe-table-export--panel .vxe-table-export--panel-column > ul > li.level--4 {
1216
1216
  padding-left: 5.5em;
1217
1217
  }
1218
- .vxe-export--panel .vxe-export--panel-column > ul > li.level--4 .vxe-checkbox--icon {
1218
+ .vxe-table-export--panel .vxe-table-export--panel-column > ul > li.level--4 .vxe-checkbox--icon {
1219
1219
  left: 3.8em;
1220
1220
  }
1221
- .vxe-export--panel .vxe-export--panel-column > ul > li.level--5 {
1221
+ .vxe-table-export--panel .vxe-table-export--panel-column > ul > li.level--5 {
1222
1222
  padding-left: 6.5em;
1223
1223
  }
1224
- .vxe-export--panel .vxe-export--panel-column > ul > li.level--5 .vxe-checkbox--icon {
1224
+ .vxe-table-export--panel .vxe-table-export--panel-column > ul > li.level--5 .vxe-checkbox--icon {
1225
1225
  left: 4.8em;
1226
1226
  }
1227
- .vxe-export--panel .vxe-export--panel-column > ul > li.level--6 {
1227
+ .vxe-table-export--panel .vxe-table-export--panel-column > ul > li.level--6 {
1228
1228
  padding-left: 7.5em;
1229
1229
  }
1230
- .vxe-export--panel .vxe-export--panel-column > ul > li.level--6 .vxe-checkbox--icon {
1230
+ .vxe-table-export--panel .vxe-table-export--panel-column > ul > li.level--6 .vxe-checkbox--icon {
1231
1231
  left: 5.8em;
1232
1232
  }
1233
- .vxe-export--panel .vxe-export--panel-column > ul > li.level--7 {
1233
+ .vxe-table-export--panel .vxe-table-export--panel-column > ul > li.level--7 {
1234
1234
  padding-left: 8.5em;
1235
1235
  }
1236
- .vxe-export--panel .vxe-export--panel-column > ul > li.level--7 .vxe-checkbox--icon {
1236
+ .vxe-table-export--panel .vxe-table-export--panel-column > ul > li.level--7 .vxe-checkbox--icon {
1237
1237
  left: 6.8em;
1238
1238
  }
1239
- .vxe-export--panel .vxe-export--panel-column > ul > li.level--8 {
1239
+ .vxe-table-export--panel .vxe-table-export--panel-column > ul > li.level--8 {
1240
1240
  padding-left: 9.5em;
1241
1241
  }
1242
- .vxe-export--panel .vxe-export--panel-column > ul > li.level--8 .vxe-checkbox--icon {
1242
+ .vxe-table-export--panel .vxe-table-export--panel-column > ul > li.level--8 .vxe-checkbox--icon {
1243
1243
  left: 7.8em;
1244
1244
  }
1245
- .vxe-export--panel .vxe-export--panel-column .vxe-export--panel-column-header {
1245
+ .vxe-table-export--panel .vxe-table-export--panel-column .vxe-table-export--panel-column-header {
1246
1246
  padding: 0.1em 0;
1247
1247
  background-color: var(--vxe-ui-table-header-background-color);
1248
1248
  font-weight: 700;
1249
1249
  border-bottom: 1px solid var(--vxe-ui-table-border-color);
1250
1250
  }
1251
- .vxe-export--panel .vxe-export--panel-column .vxe-export--panel-column-body {
1251
+ .vxe-table-export--panel .vxe-table-export--panel-column .vxe-table-export--panel-column-body {
1252
1252
  padding: 0.2em 0;
1253
1253
  min-height: 10em;
1254
1254
  max-height: 17.6em;
1255
1255
  }
1256
- .vxe-export--panel .vxe-import-selected--file {
1256
+ .vxe-table-export--panel .vxe-table-export--panel-btns {
1257
+ text-align: right;
1258
+ padding: 0.8em 0.25em 0.25em 0.25em;
1259
+ }
1260
+
1261
+ .vxe-table-export--panel .vxe-table-export--selected--file {
1257
1262
  padding-right: 40px;
1258
1263
  position: relative;
1259
1264
  overflow: hidden;
@@ -1263,7 +1268,7 @@
1263
1268
  -moz-user-select: none;
1264
1269
  user-select: none;
1265
1270
  }
1266
- .vxe-export--panel .vxe-import-selected--file > i {
1271
+ .vxe-table-export--panel .vxe-table-export--selected--file > i {
1267
1272
  display: none;
1268
1273
  position: absolute;
1269
1274
  top: 50%;
@@ -1272,13 +1277,13 @@
1272
1277
  font-size: 16px;
1273
1278
  cursor: pointer;
1274
1279
  }
1275
- .vxe-export--panel .vxe-import-selected--file:hover {
1280
+ .vxe-table-export--panel .vxe-table-export--selected--file:hover {
1276
1281
  color: var(--vxe-ui-font-primary-color);
1277
1282
  }
1278
- .vxe-export--panel .vxe-import-selected--file:hover > i {
1283
+ .vxe-table-export--panel .vxe-table-export--selected--file:hover > i {
1279
1284
  display: block;
1280
1285
  }
1281
- .vxe-export--panel .vxe-import-select--file {
1286
+ .vxe-table-export--panel .vxe-table-export--select--file {
1282
1287
  width: 80%;
1283
1288
  border: 1px dashed var(--vxe-ui-input-border-color);
1284
1289
  padding: 6px 34px;
@@ -1291,23 +1296,19 @@
1291
1296
  user-select: none;
1292
1297
  cursor: pointer;
1293
1298
  }
1294
- .vxe-export--panel .vxe-import-select--file:focus {
1299
+ .vxe-table-export--panel .vxe-table-export--select--file:focus {
1295
1300
  border-color: var(--vxe-ui-font-primary-color);
1296
1301
  box-shadow: 0 0 0.25em 0 var(--vxe-ui-font-primary-color);
1297
1302
  }
1298
- .vxe-export--panel .vxe-import-select--file:hover {
1303
+ .vxe-table-export--panel .vxe-table-export--select--file:hover {
1299
1304
  color: var(--vxe-ui-font-primary-color);
1300
1305
  border-color: var(--vxe-ui-font-primary-color);
1301
1306
  }
1302
- .vxe-export--panel .vxe-export--panel-btns {
1303
- text-align: right;
1304
- padding: 0.8em 0.25em 0.25em 0.25em;
1305
- }
1306
1307
 
1307
- .vxe-export--panel-column-option .vxe-checkbox--icon {
1308
+ .vxe-table-export--panel-column-option .vxe-checkbox--icon {
1308
1309
  font-size: 1.34em;
1309
1310
  }
1310
- .vxe-export--panel-column-option .vxe-checkbox--icon {
1311
+ .vxe-table-export--panel-column-option .vxe-checkbox--icon {
1311
1312
  color: var(--vxe-ui-input-border-color);
1312
1313
  vertical-align: middle;
1313
1314
  font-weight: 700;
@@ -1315,29 +1316,29 @@
1315
1316
  -moz-user-select: none;
1316
1317
  user-select: none;
1317
1318
  }
1318
- .vxe-export--panel-column-option.is--checked, .vxe-export--panel-column-option.is--indeterminate {
1319
+ .vxe-table-export--panel-column-option.is--checked, .vxe-table-export--panel-column-option.is--indeterminate {
1319
1320
  color: var(--vxe-ui-font-primary-color);
1320
1321
  }
1321
- .vxe-export--panel-column-option.is--checked .vxe-checkbox--icon, .vxe-export--panel-column-option.is--indeterminate .vxe-checkbox--icon {
1322
+ .vxe-table-export--panel-column-option.is--checked .vxe-checkbox--icon, .vxe-table-export--panel-column-option.is--indeterminate .vxe-checkbox--icon {
1322
1323
  color: var(--vxe-ui-font-primary-color);
1323
1324
  }
1324
- .vxe-export--panel-column-option:not(.is--disabled) {
1325
+ .vxe-table-export--panel-column-option:not(.is--disabled) {
1325
1326
  cursor: pointer;
1326
1327
  }
1327
- .vxe-export--panel-column-option:not(.is--disabled):hover .vxe-checkbox--icon {
1328
+ .vxe-table-export--panel-column-option:not(.is--disabled):hover .vxe-checkbox--icon {
1328
1329
  color: var(--vxe-ui-font-primary-color);
1329
1330
  }
1330
- .vxe-export--panel-column-option.is--hidden {
1331
+ .vxe-table-export--panel-column-option.is--hidden {
1331
1332
  cursor: default;
1332
1333
  }
1333
- .vxe-export--panel-column-option.is--disabled {
1334
+ .vxe-table-export--panel-column-option.is--disabled {
1334
1335
  color: var(--vxe-ui-font-disabled-color);
1335
1336
  cursor: not-allowed;
1336
1337
  }
1337
- .vxe-export--panel-column-option.is--disabled .vxe-checkbox--icon {
1338
+ .vxe-table-export--panel-column-option.is--disabled .vxe-checkbox--icon {
1338
1339
  color: var(--vxe-ui-input-disabled-color);
1339
1340
  }
1340
- .vxe-export--panel-column-option .vxe-checkbox--label {
1341
+ .vxe-table-export--panel-column-option .vxe-checkbox--label {
1341
1342
  padding-left: 0.5em;
1342
1343
  vertical-align: middle;
1343
1344
  }