vxe-table 3.21.21 → 3.21.23

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 (176) hide show
  1. package/es/{iconfont.1782656027274.ttf → iconfont.1783046294821.ttf} +0 -0
  2. package/es/iconfont.1783046294821.woff +0 -0
  3. package/es/iconfont.1783046294821.woff2 +0 -0
  4. package/es/index.css +1 -1
  5. package/es/index.min.css +1 -1
  6. package/es/locale/lang/ar-EG.js +16 -3
  7. package/es/locale/lang/de-DE.js +16 -3
  8. package/es/locale/lang/en-US.js +20 -7
  9. package/es/locale/lang/es-ES.js +16 -3
  10. package/es/locale/lang/fr-FR.js +16 -3
  11. package/es/locale/lang/hu-HU.js +16 -3
  12. package/es/locale/lang/hy-AM.js +16 -3
  13. package/es/locale/lang/id-ID.js +16 -3
  14. package/es/locale/lang/it-IT.js +15 -2
  15. package/es/locale/lang/ja-JP.js +16 -3
  16. package/es/locale/lang/ko-KR.js +16 -3
  17. package/es/locale/lang/ms-MY.js +16 -3
  18. package/es/locale/lang/nb-NO.js +16 -3
  19. package/es/locale/lang/pt-BR.js +16 -3
  20. package/es/locale/lang/ru-RU.js +16 -3
  21. package/es/locale/lang/th-TH.js +16 -3
  22. package/es/locale/lang/ug-CN.js +16 -3
  23. package/es/locale/lang/uk-UA.js +16 -3
  24. package/es/locale/lang/uz-UZ.js +16 -3
  25. package/es/locale/lang/vi-VN.js +15 -2
  26. package/es/locale/lang/zh-CHT.js +18 -5
  27. package/es/locale/lang/zh-CN.js +18 -5
  28. package/es/style.css +1 -1
  29. package/es/style.min.css +1 -1
  30. package/es/table/module/custom/mixin.js +115 -38
  31. package/es/table/module/custom/panel.js +492 -312
  32. package/es/table/module/edit/mixin.js +12 -6
  33. package/es/table/src/columnInfo.js +13 -7
  34. package/es/table/src/methods.js +105 -60
  35. package/es/table/src/util.js +31 -1
  36. package/es/table/style.css +96 -49
  37. package/es/table/style.min.css +1 -1
  38. package/es/ui/index.js +16 -4
  39. package/es/ui/src/log.js +1 -1
  40. package/es/vxe-table/style.css +96 -49
  41. package/es/vxe-table/style.min.css +1 -1
  42. package/lib/{iconfont.1782656027274.ttf → iconfont.1783046294821.ttf} +0 -0
  43. package/lib/iconfont.1783046294821.woff +0 -0
  44. package/lib/iconfont.1783046294821.woff2 +0 -0
  45. package/lib/index.css +1 -1
  46. package/lib/index.min.css +1 -1
  47. package/lib/index.umd.js +612 -226
  48. package/lib/index.umd.min.js +1 -1
  49. package/lib/locale/lang/ar-EG.js +16 -3
  50. package/lib/locale/lang/ar-EG.min.js +1 -1
  51. package/lib/locale/lang/ar-EG.umd.js +16 -3
  52. package/lib/locale/lang/de-DE.js +16 -3
  53. package/lib/locale/lang/de-DE.min.js +1 -1
  54. package/lib/locale/lang/de-DE.umd.js +16 -3
  55. package/lib/locale/lang/en-US.js +20 -7
  56. package/lib/locale/lang/en-US.min.js +1 -1
  57. package/lib/locale/lang/en-US.umd.js +20 -7
  58. package/lib/locale/lang/es-ES.js +16 -3
  59. package/lib/locale/lang/es-ES.min.js +1 -1
  60. package/lib/locale/lang/es-ES.umd.js +16 -3
  61. package/lib/locale/lang/fr-FR.js +16 -3
  62. package/lib/locale/lang/fr-FR.min.js +1 -1
  63. package/lib/locale/lang/fr-FR.umd.js +16 -3
  64. package/lib/locale/lang/hu-HU.js +16 -3
  65. package/lib/locale/lang/hu-HU.min.js +1 -1
  66. package/lib/locale/lang/hu-HU.umd.js +16 -3
  67. package/lib/locale/lang/hy-AM.js +16 -3
  68. package/lib/locale/lang/hy-AM.min.js +1 -1
  69. package/lib/locale/lang/hy-AM.umd.js +16 -3
  70. package/lib/locale/lang/id-ID.js +16 -3
  71. package/lib/locale/lang/id-ID.min.js +1 -1
  72. package/lib/locale/lang/id-ID.umd.js +16 -3
  73. package/lib/locale/lang/it-IT.js +15 -2
  74. package/lib/locale/lang/it-IT.min.js +1 -1
  75. package/lib/locale/lang/it-IT.umd.js +15 -2
  76. package/lib/locale/lang/ja-JP.js +16 -3
  77. package/lib/locale/lang/ja-JP.min.js +1 -1
  78. package/lib/locale/lang/ja-JP.umd.js +16 -3
  79. package/lib/locale/lang/ko-KR.js +16 -3
  80. package/lib/locale/lang/ko-KR.min.js +1 -1
  81. package/lib/locale/lang/ko-KR.umd.js +16 -3
  82. package/lib/locale/lang/ms-MY.js +16 -3
  83. package/lib/locale/lang/ms-MY.min.js +1 -1
  84. package/lib/locale/lang/ms-MY.umd.js +16 -3
  85. package/lib/locale/lang/nb-NO.js +16 -3
  86. package/lib/locale/lang/nb-NO.min.js +1 -1
  87. package/lib/locale/lang/nb-NO.umd.js +16 -3
  88. package/lib/locale/lang/pt-BR.js +16 -3
  89. package/lib/locale/lang/pt-BR.min.js +1 -1
  90. package/lib/locale/lang/pt-BR.umd.js +16 -3
  91. package/lib/locale/lang/ru-RU.js +16 -3
  92. package/lib/locale/lang/ru-RU.min.js +1 -1
  93. package/lib/locale/lang/ru-RU.umd.js +16 -3
  94. package/lib/locale/lang/th-TH.js +16 -3
  95. package/lib/locale/lang/th-TH.min.js +1 -1
  96. package/lib/locale/lang/th-TH.umd.js +16 -3
  97. package/lib/locale/lang/ug-CN.js +16 -3
  98. package/lib/locale/lang/ug-CN.min.js +1 -1
  99. package/lib/locale/lang/ug-CN.umd.js +16 -3
  100. package/lib/locale/lang/uk-UA.js +16 -3
  101. package/lib/locale/lang/uk-UA.min.js +1 -1
  102. package/lib/locale/lang/uk-UA.umd.js +16 -3
  103. package/lib/locale/lang/uz-UZ.js +16 -3
  104. package/lib/locale/lang/uz-UZ.min.js +1 -1
  105. package/lib/locale/lang/uz-UZ.umd.js +16 -3
  106. package/lib/locale/lang/vi-VN.js +15 -2
  107. package/lib/locale/lang/vi-VN.min.js +1 -1
  108. package/lib/locale/lang/vi-VN.umd.js +15 -2
  109. package/lib/locale/lang/zh-CHT.js +18 -5
  110. package/lib/locale/lang/zh-CHT.min.js +1 -1
  111. package/lib/locale/lang/zh-CHT.umd.js +18 -5
  112. package/lib/locale/lang/zh-CN.js +18 -5
  113. package/lib/locale/lang/zh-CN.min.js +1 -1
  114. package/lib/locale/lang/zh-CN.umd.js +18 -5
  115. package/lib/style.css +1 -1
  116. package/lib/style.min.css +1 -1
  117. package/lib/table/module/custom/mixin.js +121 -35
  118. package/lib/table/module/custom/mixin.min.js +1 -1
  119. package/lib/table/module/custom/panel.js +383 -158
  120. package/lib/table/module/custom/panel.min.js +1 -1
  121. package/lib/table/module/edit/mixin.js +12 -6
  122. package/lib/table/src/columnInfo.js +16 -6
  123. package/lib/table/src/columnInfo.min.js +1 -1
  124. package/lib/table/src/methods.js +11 -10
  125. package/lib/table/src/methods.min.js +1 -1
  126. package/lib/table/src/util.js +35 -1
  127. package/lib/table/src/util.min.js +1 -1
  128. package/lib/table/style/style.css +96 -49
  129. package/lib/table/style/style.min.css +1 -1
  130. package/lib/ui/index.js +16 -4
  131. package/lib/ui/index.min.js +1 -1
  132. package/lib/ui/src/log.js +1 -1
  133. package/lib/ui/src/log.min.js +1 -1
  134. package/lib/vxe-table/style/style.css +96 -49
  135. package/lib/vxe-table/style/style.min.css +1 -1
  136. package/package.json +2 -2
  137. package/packages/locale/lang/ar-EG.ts +16 -3
  138. package/packages/locale/lang/de-DE.ts +16 -3
  139. package/packages/locale/lang/en-US.ts +20 -7
  140. package/packages/locale/lang/es-ES.ts +16 -3
  141. package/packages/locale/lang/fr-FR.ts +16 -3
  142. package/packages/locale/lang/hu-HU.ts +16 -3
  143. package/packages/locale/lang/hy-AM.ts +16 -3
  144. package/packages/locale/lang/id-ID.ts +16 -3
  145. package/packages/locale/lang/it-IT.ts +15 -2
  146. package/packages/locale/lang/ja-JP.ts +16 -3
  147. package/packages/locale/lang/ko-KR.ts +16 -3
  148. package/packages/locale/lang/ms-MY.ts +16 -3
  149. package/packages/locale/lang/nb-NO.ts +16 -3
  150. package/packages/locale/lang/pt-BR.ts +16 -3
  151. package/packages/locale/lang/ru-RU.ts +16 -3
  152. package/packages/locale/lang/th-TH.ts +16 -3
  153. package/packages/locale/lang/ug-CN.ts +16 -3
  154. package/packages/locale/lang/uk-UA.ts +16 -3
  155. package/packages/locale/lang/uz-UZ.ts +16 -3
  156. package/packages/locale/lang/vi-VN.ts +15 -2
  157. package/packages/locale/lang/zh-CHT.ts +18 -5
  158. package/packages/locale/lang/zh-CN.ts +18 -5
  159. package/packages/table/module/custom/mixin.ts +115 -38
  160. package/packages/table/module/custom/panel.ts +545 -307
  161. package/packages/table/module/edit/mixin.ts +18 -6
  162. package/packages/table/src/columnInfo.ts +13 -7
  163. package/packages/table/src/methods.ts +120 -61
  164. package/packages/table/src/table.ts +6 -6
  165. package/packages/table/src/util.ts +34 -1
  166. package/packages/ui/index.ts +15 -3
  167. package/styles/components/icon.scss +29 -2
  168. package/styles/components/table-module/custom.scss +88 -67
  169. package/styles/icon/iconfont.ttf +0 -0
  170. package/styles/icon/iconfont.woff +0 -0
  171. package/styles/icon/iconfont.woff2 +0 -0
  172. package/styles/theme/base.scss +13 -1
  173. package/es/iconfont.1782656027274.woff +0 -0
  174. package/es/iconfont.1782656027274.woff2 +0 -0
  175. package/lib/iconfont.1782656027274.woff +0 -0
  176. package/lib/iconfont.1782656027274.woff2 +0 -0
@@ -182,7 +182,9 @@ var _default = exports.default = /* define-vxe-component start */(0, _comp.defin
182
182
  $xeTable.saveCustom();
183
183
  $xeTable.closeCustom();
184
184
  $xeTable.emitCustomEvent('confirm', $event);
185
+ $xeTable.dispatchEvent('custom-confirm', {}, $event);
185
186
  $xeTable.emitCustomEvent('close', $event);
187
+ $xeTable.dispatchEvent('custom-close', {}, $event);
186
188
  },
187
189
  cancelCloseEvent({
188
190
  $event
@@ -191,6 +193,7 @@ var _default = exports.default = /* define-vxe-component start */(0, _comp.defin
191
193
  const $xeTable = $xeTableCustomPanel.$xeTable;
192
194
  $xeTable.closeCustom();
193
195
  $xeTable.emitCustomEvent('close', $event);
196
+ $xeTable.dispatchEvent('custom-close', {}, $event);
194
197
  },
195
198
  cancelCustomEvent({
196
199
  $event
@@ -200,7 +203,9 @@ var _default = exports.default = /* define-vxe-component start */(0, _comp.defin
200
203
  $xeTable.cancelCustom();
201
204
  $xeTable.closeCustom();
202
205
  $xeTable.emitCustomEvent('cancel', $event);
206
+ $xeTable.dispatchEvent('custom-cancel', {}, $event);
203
207
  $xeTable.emitCustomEvent('close', $event);
208
+ $xeTable.dispatchEvent('custom-close', {}, $event);
204
209
  },
205
210
  handleResetCustomEvent(evnt) {
206
211
  const $xeTableCustomPanel = this;
@@ -208,7 +213,9 @@ var _default = exports.default = /* define-vxe-component start */(0, _comp.defin
208
213
  $xeTable.resetCustom(true);
209
214
  $xeTable.closeCustom();
210
215
  $xeTable.emitCustomEvent('reset', evnt);
216
+ $xeTable.dispatchEvent('custom-reset', {}, evnt);
211
217
  $xeTable.emitCustomEvent('close', evnt);
218
+ $xeTable.dispatchEvent('custom-close', {}, evnt);
212
219
  },
213
220
  resetCustomEvent(evnt) {
214
221
  if (_ui.VxeUI.modal) {
@@ -335,6 +342,25 @@ var _default = exports.default = /* define-vxe-component start */(0, _comp.defin
335
342
  }, evnt);
336
343
  }
337
344
  },
345
+ changeAlignOption(column, targetAlign, colProperty, renderProperty, eName, evnt) {
346
+ const $xeTableCustomPanel = this;
347
+ const $xeTable = $xeTableCustomPanel.$xeTable;
348
+ const tableReactData = $xeTable;
349
+ const customOpts = $xeTable.computeCustomOpts;
350
+ if (customOpts.immediate) {
351
+ column[colProperty] = targetAlign;
352
+ column[renderProperty] = targetAlign;
353
+ tableReactData.isCustomStatus = true;
354
+ $xeTable.handleCustom();
355
+ $xeTable.saveCustomStore(`update:${colProperty}`);
356
+ } else {
357
+ column[renderProperty] = targetAlign;
358
+ }
359
+ $xeTable.dispatchEvent(eName, {
360
+ column,
361
+ [colProperty]: targetAlign
362
+ }, evnt);
363
+ },
338
364
  allOptionEvent(evnt) {
339
365
  const $xeTableCustomPanel = this;
340
366
  const $xeTable = $xeTableCustomPanel.$xeTable;
@@ -849,7 +875,7 @@ var _default = exports.default = /* define-vxe-component start */(0, _comp.defin
849
875
  const customOpts = $xeTable.computeCustomOpts;
850
876
  const columnDragOpts = $xeTable.computeColumnDragOpts;
851
877
  const {
852
- popupStyle
878
+ defPopupStyle
853
879
  } = customStore;
854
880
  const {
855
881
  immediate,
@@ -1025,7 +1051,7 @@ var _default = exports.default = /* define-vxe-component start */(0, _comp.defin
1025
1051
  }
1026
1052
  }) : renderEmptyElement($xeTable)] : []) : renderEmptyElement($xeTable), !parentItem && allowFixed ? h('div', {
1027
1053
  class: 'vxe-table-custom--fixed-option'
1028
- }, [h(VxeUIButtonComponent, {
1054
+ }, VxeUIButtonComponent ? [h(VxeUIButtonComponent, {
1029
1055
  props: {
1030
1056
  mode: 'text',
1031
1057
  icon: column.renderFixed === 'left' ? getIcon().TOOLBAR_TOOLS_FIXED_LEFT_ACTIVE : getIcon().TOOLBAR_TOOLS_FIXED_LEFT,
@@ -1055,7 +1081,7 @@ var _default = exports.default = /* define-vxe-component start */(0, _comp.defin
1055
1081
  $xeTableCustomPanel.changeFixedOption(column, 'right', $event);
1056
1082
  }
1057
1083
  }
1058
- })]) : renderEmptyElement($xeTable)]));
1084
+ })] : []) : renderEmptyElement($xeTable)]));
1059
1085
  }
1060
1086
  });
1061
1087
  return h('div', {
@@ -1065,7 +1091,7 @@ var _default = exports.default = /* define-vxe-component start */(0, _comp.defin
1065
1091
  [`size--${vSize}`]: vSize,
1066
1092
  'is--active': customStore.visible
1067
1093
  }],
1068
- style: popupStyle
1094
+ style: defPopupStyle
1069
1095
  }, customStore.visible ? [h('div', {
1070
1096
  ref: 'refBodyWrapperElem',
1071
1097
  class: 'vxe-table-custom-simple--body-wrapper'
@@ -1154,48 +1180,33 @@ var _default = exports.default = /* define-vxe-component start */(0, _comp.defin
1154
1180
  }
1155
1181
  })])]) : null]), $xeTableCustomPanel.renderDragTip(h)])] : []);
1156
1182
  },
1157
- renderPopupPanel(h) {
1158
- const VxeUIModalComponent = _ui.VxeUI.getComponent('VxeModal');
1159
- const VxeUIDrawerComponent = _ui.VxeUI.getComponent('VxeDrawer');
1183
+ renderPopupBodys(h) {
1160
1184
  const VxeUIButtonComponent = _ui.VxeUI.getComponent('VxeButton');
1161
1185
  const VxeUINumberInputComponent = _ui.VxeUI.getComponent('VxeNumberInput');
1186
+ const VxeUIRadioGroupComponent = _ui.VxeUI.getComponent('VxeRadioGroup');
1162
1187
  const $xeTableCustomPanel = this;
1163
- const props = $xeTableCustomPanel;
1164
1188
  const $xeTable = $xeTableCustomPanel.$xeTable;
1165
1189
  const tableProps = $xeTable;
1166
1190
  const tableReactData = $xeTable;
1167
- const $xeGrid = $xeTable.$xeGrid;
1168
- const $xeGantt = $xeTable.$xeGantt;
1169
1191
  const {
1170
- customStore
1171
- } = props;
1172
- const {
1173
- treeConfig,
1174
- rowGroupConfig,
1175
- aggregateConfig,
1176
1192
  resizable: allResizable
1177
1193
  } = tableProps;
1178
1194
  const {
1179
- isCustomStatus,
1180
1195
  customColumnList
1181
1196
  } = tableReactData;
1182
1197
  const customOpts = $xeTable.computeCustomOpts;
1183
1198
  const columnDragOpts = $xeTable.computeColumnDragOpts;
1184
- const aggregateOpts = $xeTable.computeAggregateOpts;
1185
- const {
1186
- placement: aggPlacement
1187
- } = aggregateOpts;
1188
1199
  const {
1189
- mode,
1190
1200
  immediate,
1191
1201
  showSortDragButton,
1192
1202
  showSortMoveButton,
1193
1203
  showSortPutButton,
1194
- modalOptions,
1195
- drawerOptions,
1196
1204
  allowVisible,
1197
1205
  allowSort,
1198
1206
  allowFixed,
1207
+ allowAlign,
1208
+ allowHeaderAlign,
1209
+ allowFooterAlign,
1199
1210
  allowResizable,
1200
1211
  allowGroup,
1201
1212
  allowValues,
@@ -1203,40 +1214,17 @@ var _default = exports.default = /* define-vxe-component start */(0, _comp.defin
1203
1214
  visibleMethod
1204
1215
  } = customOpts;
1205
1216
  const columnOpts = $xeTable.computeColumnOpts;
1206
- const {
1207
- maxFixedSize
1208
- } = columnOpts;
1209
1217
  const resizableOpts = $xeTable.computeResizableOpts;
1210
1218
  const {
1211
1219
  minWidth: reMinWidth,
1212
1220
  maxWidth: reMaxWidth
1213
1221
  } = resizableOpts;
1214
- const modalOpts = Object.assign({}, modalOptions);
1215
- const drawerOpts = Object.assign({}, drawerOptions);
1216
1222
  const isMaxFixedColumn = $xeTable.computeIsMaxFixedColumn;
1217
1223
  const {
1218
1224
  isCrossDrag,
1219
1225
  isPeerDrag
1220
1226
  } = columnDragOpts;
1221
- const slots = customOpts.slots || {};
1222
- const headerSlot = slots.header;
1223
- const topSlot = slots.top;
1224
- const bottomSlot = slots.bottom;
1225
- const defaultSlot = slots.default;
1226
- const footerSlot = slots.footer;
1227
1227
  const trVNs = [];
1228
- const isAllChecked = customStore.isAll;
1229
- const isAllIndeterminate = customStore.isIndeterminate;
1230
- const isAggRtBmLayout = aggPlacement === 'right' || aggPlacement === 'bottom';
1231
- const params = {
1232
- $table: $xeTable,
1233
- $grid: $xeGrid,
1234
- $gantt: $xeGantt,
1235
- columns: customColumnList,
1236
- isAllChecked,
1237
- isAllIndeterminate,
1238
- isCustomStatus
1239
- };
1240
1228
  _xeUtils.default.eachTree(customColumnList, (column, index, items, path, parentItem) => {
1241
1229
  const isVisible = visibleMethod ? visibleMethod({
1242
1230
  $table: $xeTable,
@@ -1274,41 +1262,50 @@ var _default = exports.default = /* define-vxe-component start */(0, _comp.defin
1274
1262
  }) : false;
1275
1263
  const isHidden = !isChecked;
1276
1264
  const showSortBtn = (isCrossDrag || isPeerDrag ? immediate : false) || column.level === 1;
1277
- trVNs.push(h('tr', {
1278
- key: column.id,
1279
- attrs: {
1280
- colid: column.id
1281
- },
1282
- class: [`vxe-table-custom-popup--row level--${column.level}`, {
1283
- 'is--group': isColGroup
1284
- }],
1285
- on: {
1286
- dragstart: $xeTableCustomPanel.sortDragstartEvent,
1287
- dragend: $xeTableCustomPanel.sortDragendEvent,
1288
- dragover: $xeTableCustomPanel.sortDragoverEvent
1289
- }
1290
- }, [allowVisible ? h('td', {
1291
- class: 'vxe-table-custom-popup--column-item col--visible'
1292
- }, [h('div', {
1293
- class: ['vxe-table-custom--checkbox-option', {
1294
- 'is--checked': isChecked,
1295
- 'is--indeterminate': isIndeterminate,
1296
- 'is--disabled': isDisabled
1297
- }],
1298
- attrs: {
1299
- title: getI18n('vxe.custom.setting.colVisible')
1300
- },
1301
- on: {
1302
- click: evnt => {
1303
- if (!isDisabled) {
1304
- $xeTableCustomPanel.changeCheckboxOption(column, evnt);
1265
+ const alignList = [{
1266
+ icon: getIcon().TABLE_CUSTOM_ALIGN_LEFT,
1267
+ value: 'left',
1268
+ title: getI18n('vxe.custom.setting.anLeftTitle'),
1269
+ disabled: isHidden
1270
+ }, {
1271
+ icon: getIcon().TABLE_CUSTOM_ALIGN_CENTER,
1272
+ value: 'center',
1273
+ title: getI18n('vxe.custom.setting.anCenterTitle'),
1274
+ disabled: isHidden
1275
+ }, {
1276
+ icon: getIcon().TABLE_CUSTOM_ALIGN_RIGHT,
1277
+ value: 'right',
1278
+ title: getI18n('vxe.custom.setting.anRightTitle'),
1279
+ disabled: isHidden
1280
+ }];
1281
+ const tdVNs = [];
1282
+ if (allowVisible) {
1283
+ tdVNs.push(h('td', {
1284
+ key: 'av',
1285
+ class: 'vxe-table-custom-popup--column-td col--visible'
1286
+ }, [h('div', {
1287
+ class: ['vxe-table-custom--checkbox-option', {
1288
+ 'is--checked': isChecked,
1289
+ 'is--indeterminate': isIndeterminate,
1290
+ 'is--disabled': isDisabled
1291
+ }],
1292
+ attrs: {
1293
+ title: getI18n('vxe.custom.setting.colVisible')
1294
+ },
1295
+ on: {
1296
+ click: evnt => {
1297
+ if (!isDisabled) {
1298
+ $xeTableCustomPanel.changeCheckboxOption(column, evnt);
1299
+ }
1305
1300
  }
1306
1301
  }
1307
- }
1308
- }, [h('span', {
1309
- class: ['vxe-checkbox--icon', isIndeterminate ? getIcon().TABLE_CHECKBOX_INDETERMINATE : isChecked ? getIcon().TABLE_CHECKBOX_CHECKED : getIcon().TABLE_CHECKBOX_UNCHECKED]
1310
- })])]) : renderEmptyElement($xeTable), h('td', {
1311
- class: 'vxe-table-custom-popup--column-item col--name'
1302
+ }, [h('span', {
1303
+ class: ['vxe-checkbox--icon', isIndeterminate ? getIcon().TABLE_CHECKBOX_INDETERMINATE : isChecked ? getIcon().TABLE_CHECKBOX_CHECKED : getIcon().TABLE_CHECKBOX_UNCHECKED]
1304
+ })])]));
1305
+ }
1306
+ tdVNs.push(h('td', {
1307
+ key: 'at',
1308
+ class: 'vxe-table-custom-popup--column-td col--name'
1312
1309
  }, [h('div', {
1313
1310
  class: 'vxe-table-custom-popup--name'
1314
1311
  }, [allowSort && showSortDragButton || allowGroup || allowValues ? showSortBtn || (allowGroup || allowValues) && !isColGroup ? h('div', {
@@ -1343,7 +1340,7 @@ var _default = exports.default = /* define-vxe-component start */(0, _comp.defin
1343
1340
  }, VxeUIButtonComponent ? [showSortMoveButton ? h(VxeUIButtonComponent, {
1344
1341
  props: {
1345
1342
  mode: 'text',
1346
- content: getI18n('vxe.custom.setting.moveUp'),
1343
+ icon: 'vxe-icon-arrows-up',
1347
1344
  title: getI18n('vxe.custom.setting.moveUpTitle'),
1348
1345
  disabled: index <= 0
1349
1346
  },
@@ -1355,7 +1352,7 @@ var _default = exports.default = /* define-vxe-component start */(0, _comp.defin
1355
1352
  }) : renderEmptyElement($xeTable), showSortMoveButton ? h(VxeUIButtonComponent, {
1356
1353
  props: {
1357
1354
  mode: 'text',
1358
- content: getI18n('vxe.custom.setting.moveDn'),
1355
+ icon: 'vxe-icon-arrows-down',
1359
1356
  title: getI18n('vxe.custom.setting.moveDnTitle'),
1360
1357
  disabled: index >= items.length - 1
1361
1358
  },
@@ -1367,7 +1364,7 @@ var _default = exports.default = /* define-vxe-component start */(0, _comp.defin
1367
1364
  }) : renderEmptyElement($xeTable), showSortPutButton && !parentItem ? h(VxeUIButtonComponent, {
1368
1365
  props: {
1369
1366
  mode: 'text',
1370
- content: getI18n('vxe.custom.setting.putTop'),
1367
+ icon: 'vxe-icon-top',
1371
1368
  title: getI18n('vxe.custom.setting.putTopTitle'),
1372
1369
  disabled: index <= 0
1373
1370
  },
@@ -1379,7 +1376,7 @@ var _default = exports.default = /* define-vxe-component start */(0, _comp.defin
1379
1376
  }) : renderEmptyElement($xeTable), showSortPutButton && !parentItem ? h(VxeUIButtonComponent, {
1380
1377
  props: {
1381
1378
  mode: 'text',
1382
- content: getI18n('vxe.custom.setting.putBottom'),
1379
+ icon: 'vxe-icon-bottom',
1383
1380
  title: getI18n('vxe.custom.setting.putBottomTitle'),
1384
1381
  disabled: index >= items.length - 1
1385
1382
  },
@@ -1388,63 +1385,312 @@ var _default = exports.default = /* define-vxe-component start */(0, _comp.defin
1388
1385
  $xeTableCustomPanel.sortMoveBottomEvent(evntParame, column);
1389
1386
  }
1390
1387
  }
1391
- }) : renderEmptyElement($xeTable)] : []) : renderEmptyElement($xeTable)])]), allowResizable ? h('td', {
1392
- class: 'vxe-table-custom-popup--column-item col--resizable'
1393
- }, [column.children && column.children.length || !(_xeUtils.default.isBoolean(column.resizable) ? column.resizable : columnOpts.resizable || allResizable) ? h('span', '-') : VxeUINumberInputComponent ? h(VxeUINumberInputComponent, {
1394
- props: {
1395
- type: 'integer',
1396
- immediate: false,
1397
- disabled: isHidden,
1398
- value: column.renderResizeWidth,
1399
- min: customMinWidth || undefined,
1400
- max: customMaxWidth || undefined
1401
- },
1402
- on: {
1403
- modelValue(value) {
1404
- column.renderResizeWidth = Math.max(0, Number(value));
1388
+ }) : renderEmptyElement($xeTable)] : []) : renderEmptyElement($xeTable)])]));
1389
+ if (allowResizable) {
1390
+ tdVNs.push(h('td', {
1391
+ key: 'aw',
1392
+ class: 'vxe-table-custom-popup--column-td col--resizable'
1393
+ }, [column.children && column.children.length || !(_xeUtils.default.isBoolean(column.resizable) ? column.resizable : columnOpts.resizable || allResizable) ? h('span', '-') : VxeUINumberInputComponent ? h(VxeUINumberInputComponent, {
1394
+ props: {
1395
+ type: 'integer',
1396
+ immediate: false,
1397
+ disabled: isHidden,
1398
+ value: column.renderResizeWidth,
1399
+ min: customMinWidth || undefined,
1400
+ max: customMaxWidth || undefined
1405
1401
  },
1406
- change() {
1407
- $xeTableCustomPanel.changeColumnWidth(column);
1402
+ on: {
1403
+ modelValue(value) {
1404
+ const width = Math.max(0, Number(value));
1405
+ column.renderResizeWidth = width;
1406
+ },
1407
+ change() {
1408
+ $xeTableCustomPanel.changeColumnWidth(column);
1409
+ }
1408
1410
  }
1409
- }
1410
- }) : renderEmptyElement($xeTableCustomPanel)]) : renderEmptyElement($xeTable), allowFixed ? h('td', {
1411
- class: 'vxe-table-custom-popup--column-item col--fixed'
1412
- }, [parentItem ? h('span', '-') : h('vxe-radio-group', {
1413
- props: {
1414
- value: column.renderFixed || '',
1415
- type: 'button',
1416
- size: 'mini',
1417
- disabled: isHidden,
1418
- options: [{
1419
- label: getI18n('vxe.custom.setting.fixedLeft'),
1420
- value: 'left',
1421
- disabled: isHidden || isMaxFixedColumn
1422
- }, {
1423
- label: getI18n('vxe.custom.setting.fixedUnset'),
1424
- value: '',
1425
- disabled: isHidden
1426
- }, {
1427
- label: getI18n('vxe.custom.setting.fixedRight'),
1428
- value: 'right',
1429
- disabled: isHidden || isMaxFixedColumn
1430
- }]
1411
+ }) : renderEmptyElement($xeTable)]));
1412
+ }
1413
+ if (allowFixed) {
1414
+ tdVNs.push(h('td', {
1415
+ key: 'af',
1416
+ class: 'vxe-table-custom-popup--column-td col--fixed'
1417
+ }, parentItem ? [h('span', '-')] : VxeUIRadioGroupComponent ? [h(VxeUIButtonComponent, {
1418
+ props: {
1419
+ icon: column.renderFixed === 'left' ? getIcon().TOOLBAR_TOOLS_FIXED_LEFT_ACTIVE : getIcon().TOOLBAR_TOOLS_FIXED_LEFT,
1420
+ status: column.renderFixed === 'left' ? 'primary' : '',
1421
+ disabled: isHidden || isMaxFixedColumn && !column.renderFixed,
1422
+ title: getI18n(column.renderFixed === 'left' ? 'vxe.toolbar.cancelFixed' : 'vxe.toolbar.fixedLeft')
1423
+ },
1424
+ on: {
1425
+ click: ({
1426
+ $event
1427
+ }) => {
1428
+ $xeTableCustomPanel.changeFixedOption(column, 'left', $event);
1429
+ }
1430
+ }
1431
+ }), h(VxeUIButtonComponent, {
1432
+ props: {
1433
+ icon: column.renderFixed === 'right' ? getIcon().TOOLBAR_TOOLS_FIXED_RIGHT_ACTIVE : getIcon().TOOLBAR_TOOLS_FIXED_RIGHT,
1434
+ status: column.renderFixed === 'right' ? 'primary' : '',
1435
+ disabled: isHidden || isMaxFixedColumn && !column.renderFixed,
1436
+ title: getI18n(column.renderFixed === 'right' ? 'vxe.toolbar.cancelFixed' : 'vxe.toolbar.fixedRight')
1437
+ },
1438
+ on: {
1439
+ click: ({
1440
+ $event
1441
+ }) => {
1442
+ $xeTableCustomPanel.changeFixedOption(column, 'right', $event);
1443
+ }
1444
+ }
1445
+ })] : []));
1446
+ }
1447
+ if (allowAlign) {
1448
+ tdVNs.push(h('td', {
1449
+ key: 'aa',
1450
+ class: 'vxe-table-custom-popup--column-td col--align'
1451
+ }, VxeUIRadioGroupComponent ? [h(VxeUIRadioGroupComponent, {
1452
+ props: {
1453
+ value: column.renderAlign || '',
1454
+ type: 'button',
1455
+ strict: false,
1456
+ disabled: isHidden,
1457
+ options: alignList
1458
+ },
1459
+ on: {
1460
+ change({
1461
+ value,
1462
+ $event
1463
+ }) {
1464
+ $xeTableCustomPanel.changeAlignOption(column, value, 'align', 'renderAlign', 'custom-align-change', $event);
1465
+ }
1466
+ }
1467
+ })] : []));
1468
+ }
1469
+ if (allowHeaderAlign) {
1470
+ tdVNs.push(h('td', {
1471
+ key: 'aha',
1472
+ class: 'vxe-table-custom-popup--column-td col--header-align'
1473
+ }, isColGroup ? [h('span', '-')] : VxeUIRadioGroupComponent ? [h(VxeUIRadioGroupComponent, {
1474
+ props: {
1475
+ value: column.renderHeaderAlign || '',
1476
+ type: 'button',
1477
+ strict: false,
1478
+ disabled: isHidden,
1479
+ options: alignList
1480
+ },
1481
+ on: {
1482
+ change({
1483
+ value,
1484
+ $event
1485
+ }) {
1486
+ $xeTableCustomPanel.changeAlignOption(column, value, 'headerAlign', 'renderHeaderAlign', 'custom-header-align-change', $event);
1487
+ }
1488
+ }
1489
+ })] : []));
1490
+ }
1491
+ if (allowFooterAlign) {
1492
+ tdVNs.push(h('td', {
1493
+ key: 'afa',
1494
+ class: 'vxe-table-custom-popup--column-td col--footer-align'
1495
+ }, isColGroup ? [h('span', '-')] : VxeUIRadioGroupComponent ? [h(VxeUIRadioGroupComponent, {
1496
+ props: {
1497
+ value: column.renderFooterAlign || '',
1498
+ type: 'button',
1499
+ strict: false,
1500
+ disabled: isHidden,
1501
+ options: alignList
1502
+ },
1503
+ on: {
1504
+ change({
1505
+ value,
1506
+ $event
1507
+ }) {
1508
+ $xeTableCustomPanel.changeAlignOption(column, value, 'footerAlign', 'renderFooterAlign', 'custom-footer-align-change', $event);
1509
+ }
1510
+ }
1511
+ })] : []));
1512
+ }
1513
+ trVNs.push(h('tr', {
1514
+ key: column.id,
1515
+ attrs: {
1516
+ colid: column.id
1431
1517
  },
1518
+ class: [`vxe-table-custom-popup--row level--${column.level}`, {
1519
+ 'is--group': isColGroup
1520
+ }],
1432
1521
  on: {
1433
- change({
1434
- label,
1435
- $event
1436
- }) {
1437
- $xeTableCustomPanel.changeFixedOption(column, label, $event);
1438
- }
1522
+ dragstart: $xeTableCustomPanel.sortDragstartEvent,
1523
+ dragend: $xeTableCustomPanel.sortDragendEvent,
1524
+ dragover: $xeTableCustomPanel.sortDragoverEvent
1439
1525
  }
1440
- })]) : renderEmptyElement($xeTable)]));
1526
+ }, tdVNs));
1441
1527
  }
1442
1528
  });
1529
+ return trVNs;
1530
+ },
1531
+ renderPopupPanel(h) {
1532
+ const VxeUIModalComponent = _ui.VxeUI.getComponent('VxeModal');
1533
+ const VxeUIDrawerComponent = _ui.VxeUI.getComponent('VxeDrawer');
1534
+ const VxeUIButtonComponent = _ui.VxeUI.getComponent('VxeButton');
1535
+ const $xeTableCustomPanel = this;
1536
+ const props = $xeTableCustomPanel;
1537
+ const $xeTable = $xeTableCustomPanel.$xeTable;
1538
+ const tableProps = $xeTable;
1539
+ const tableReactData = $xeTable;
1540
+ const $xeGrid = $xeTable.$xeGrid;
1541
+ const $xeGantt = $xeTable.$xeGantt;
1542
+ const {
1543
+ customStore
1544
+ } = props;
1545
+ const {
1546
+ treeConfig,
1547
+ rowGroupConfig,
1548
+ aggregateConfig
1549
+ } = tableProps;
1550
+ const {
1551
+ isCustomStatus,
1552
+ customColumnList
1553
+ } = tableReactData;
1554
+ const vSize = $xeTable.computeSize;
1555
+ const customOpts = $xeTable.computeCustomOpts;
1556
+ const aggregateOpts = $xeTable.computeAggregateOpts;
1557
+ const {
1558
+ panePopupStyle
1559
+ } = customStore;
1560
+ const {
1561
+ placement: aggPlacement
1562
+ } = aggregateOpts;
1563
+ const {
1564
+ mode,
1565
+ immediate,
1566
+ modalOptions,
1567
+ drawerOptions,
1568
+ allowVisible,
1569
+ allowFixed,
1570
+ allowAlign,
1571
+ allowHeaderAlign,
1572
+ allowFooterAlign,
1573
+ allowResizable
1574
+ } = customOpts;
1575
+ const columnOpts = $xeTable.computeColumnOpts;
1576
+ const {
1577
+ maxFixedSize
1578
+ } = columnOpts;
1579
+ const modalOpts = Object.assign({}, modalOptions);
1580
+ const drawerOpts = Object.assign({}, drawerOptions);
1581
+ const slots = customOpts.slots || {};
1582
+ const headerSlot = slots.header;
1583
+ const topSlot = slots.top;
1584
+ const bottomSlot = slots.bottom;
1585
+ const defaultSlot = slots.default;
1586
+ const footerSlot = slots.footer;
1587
+ const isAllChecked = customStore.isAll;
1588
+ const isAllIndeterminate = customStore.isIndeterminate;
1589
+ const isAggRtBmLayout = aggPlacement === 'right' || aggPlacement === 'bottom';
1590
+ const params = {
1591
+ $table: $xeTable,
1592
+ $grid: $xeGrid,
1593
+ $gantt: $xeGantt,
1594
+ columns: customColumnList,
1595
+ isAllChecked,
1596
+ isAllIndeterminate,
1597
+ isCustomStatus
1598
+ };
1599
+ const colVNs = [];
1600
+ const headVNs = [];
1601
+ if (allowVisible) {
1602
+ colVNs.push(h('col', {
1603
+ key: 'av',
1604
+ class: 'vxe-table-custom-popup--column-col col--checkbox'
1605
+ }));
1606
+ headVNs.push(h('th', {
1607
+ key: 'av',
1608
+ class: 'vxe-table-custom-popup--column-th col--checkbox'
1609
+ }, [h('div', {
1610
+ class: ['vxe-table-custom--checkbox-option', {
1611
+ 'is--checked': isAllChecked,
1612
+ 'is--indeterminate': isAllIndeterminate
1613
+ }],
1614
+ attrs: {
1615
+ title: getI18n('vxe.table.allTitle')
1616
+ },
1617
+ on: {
1618
+ click: $xeTableCustomPanel.allOptionEvent
1619
+ }
1620
+ }, [h('span', {
1621
+ class: ['vxe-checkbox--icon', isAllIndeterminate ? getIcon().TABLE_CHECKBOX_INDETERMINATE : isAllChecked ? getIcon().TABLE_CHECKBOX_CHECKED : getIcon().TABLE_CHECKBOX_UNCHECKED]
1622
+ })
1623
+ // h('span', {
1624
+ // class: 'vxe-checkbox--label'
1625
+ // }, getI18n('vxe.toolbar.customAll'))
1626
+ ])]));
1627
+ }
1628
+ colVNs.push(h('col', {
1629
+ key: 'at',
1630
+ class: 'vxe-table-custom-popup--column-col col--title'
1631
+ }));
1632
+ headVNs.push(h('th', {
1633
+ key: 'at',
1634
+ class: 'vxe-table-custom-popup--column-th col--title'
1635
+ }, getI18n('vxe.custom.setting.colTitle')));
1636
+ if (allowResizable) {
1637
+ colVNs.push(h('col', {
1638
+ key: 'aw',
1639
+ class: 'vxe-table-custom-popup--column-col col--width'
1640
+ }));
1641
+ headVNs.push(h('th', {
1642
+ key: 'aw',
1643
+ class: 'vxe-table-custom-popup--column-th col--width'
1644
+ }, getI18n('vxe.custom.setting.colResizable')));
1645
+ }
1646
+ if (allowFixed) {
1647
+ colVNs.push(h('col', {
1648
+ key: 'af',
1649
+ class: 'vxe-table-custom-popup--column-col col--fixed'
1650
+ }));
1651
+ headVNs.push(h('th', {
1652
+ key: 'af',
1653
+ class: 'vxe-table-custom-popup--column-th col--fixed'
1654
+ }, getI18n(`vxe.custom.setting.${maxFixedSize ? 'colFixedMax' : 'colFixed'}`, [maxFixedSize])));
1655
+ }
1656
+ if (allowAlign) {
1657
+ colVNs.push(h('col', {
1658
+ key: 'aa',
1659
+ class: 'vxe-table-custom-popup--column-col col--align'
1660
+ }));
1661
+ headVNs.push(h('th', {
1662
+ key: 'aa',
1663
+ class: 'vxe-table-custom-popup--column-th col--align'
1664
+ }, getI18n('vxe.custom.setting.colAlign')));
1665
+ }
1666
+ if (allowHeaderAlign) {
1667
+ colVNs.push(h('col', {
1668
+ key: 'aha',
1669
+ class: 'vxe-table-custom-popup--column-col col--header-align'
1670
+ }));
1671
+ headVNs.push(h('th', {
1672
+ key: 'aha',
1673
+ class: 'vxe-table-custom-popup--column-th col--header-align'
1674
+ }, getI18n('vxe.custom.setting.colHeadAlign')));
1675
+ }
1676
+ if (allowFooterAlign) {
1677
+ colVNs.push(h('col', {
1678
+ key: 'afa',
1679
+ class: 'vxe-table-custom-popup--column-col col--footer-align'
1680
+ }));
1681
+ headVNs.push(h('th', {
1682
+ key: 'afa',
1683
+ class: 'vxe-table-custom-popup--column-th col--footer-align'
1684
+ }, getI18n('vxe.custom.setting.colFootAlign')));
1685
+ }
1443
1686
  const scopedSlots = {
1444
1687
  default: () => {
1445
1688
  return h('div', {
1446
1689
  ref: 'refBodyWrapperElem',
1447
- class: ['vxe-table-custom-popup--body-wrapper', `agg-layout--${aggPlacement}`]
1690
+ class: ['vxe-table-custom-popup--body-wrapper', `agg-layout--${aggPlacement}`, {
1691
+ [`size--${vSize}`]: vSize
1692
+ }],
1693
+ style: panePopupStyle
1448
1694
  }, defaultSlot ? $xeTable.callSlot(defaultSlot, params, h) : [!isAggRtBmLayout && !treeConfig && (aggregateConfig || rowGroupConfig) && $xeTable.getPivotTableAggregatePopupPanel ? h($xeTable.getPivotTableAggregatePopupPanel(), {
1449
1695
  props: {
1450
1696
  customStore
@@ -1456,36 +1702,13 @@ var _default = exports.default = /* define-vxe-component start */(0, _comp.defin
1456
1702
  class: 'vxe-table-custom-popup--table-top'
1457
1703
  }, $xeTable.callSlot(topSlot, params, h)) : renderEmptyElement($xeTable), h('div', {
1458
1704
  class: 'vxe-table-custom-popup--table-wrapper'
1459
- }, [h('table', {}, [h('colgroup', {}, [allowVisible ? h('col', {
1460
- class: 'vxe-table-custom-popup--table-col-seq'
1461
- }) : renderEmptyElement($xeTable), h('col', {
1462
- class: 'vxe-table-custom-popup--table-col-title'
1463
- }), allowResizable ? h('col', {
1464
- class: 'vxe-table-custom-popup--table-col-width'
1465
- }) : renderEmptyElement($xeTable), allowFixed ? h('col', {
1466
- class: 'vxe-table-custom-popup--table-col-fixed'
1467
- }) : renderEmptyElement($xeTable)]), h('thead', {}, [h('tr', {}, [allowVisible ? h('th', {}, [h('div', {
1468
- class: ['vxe-table-custom--checkbox-option', {
1469
- 'is--checked': isAllChecked,
1470
- 'is--indeterminate': isAllIndeterminate
1471
- }],
1472
- attrs: {
1473
- title: getI18n('vxe.table.allTitle')
1474
- },
1475
- on: {
1476
- click: $xeTableCustomPanel.allOptionEvent
1477
- }
1478
- }, [h('span', {
1479
- class: ['vxe-checkbox--icon', isAllIndeterminate ? getIcon().TABLE_CHECKBOX_INDETERMINATE : isAllChecked ? getIcon().TABLE_CHECKBOX_CHECKED : getIcon().TABLE_CHECKBOX_UNCHECKED]
1480
- }), h('span', {
1481
- class: 'vxe-checkbox--label'
1482
- }, getI18n('vxe.toolbar.customAll'))])]) : renderEmptyElement($xeTable), h('th', {}, getI18n('vxe.custom.setting.colTitle')), allowResizable ? h('th', {}, getI18n('vxe.custom.setting.colResizable')) : renderEmptyElement($xeTable), allowFixed ? h('th', {}, getI18n(`vxe.custom.setting.${maxFixedSize ? 'colFixedMax' : 'colFixed'}`, [maxFixedSize])) : renderEmptyElement($xeTable)])]), h('transition-group', {
1705
+ }, [h('table', {}, [h('colgroup', {}, colVNs), h('thead', {}, [h('tr', {}, headVNs)]), h('transition-group', {
1483
1706
  class: 'vxe-table-custom--panel-list',
1484
1707
  props: {
1485
1708
  tag: 'tbody',
1486
1709
  name: 'vxe-table-custom--list'
1487
1710
  }
1488
- }, trVNs)])]), bottomSlot ? h('div', {
1711
+ }, $xeTableCustomPanel.renderPopupBodys(h))])]), bottomSlot ? h('div', {
1489
1712
  class: 'vxe-table-custom-popup--table-bottom'
1490
1713
  }, $xeTable.callSlot(bottomSlot, params, h)) : renderEmptyElement($xeTable), $xeTableCustomPanel.renderDragTip(h)]), isAggRtBmLayout && !treeConfig && (aggregateConfig || rowGroupConfig) && $xeTable.getPivotTableAggregatePopupPanel ? h($xeTable.getPivotTableAggregatePopupPanel(), {
1491
1714
  props: {
@@ -1509,6 +1732,7 @@ var _default = exports.default = /* define-vxe-component start */(0, _comp.defin
1509
1732
  }
1510
1733
  }), immediate ? h(VxeUIButtonComponent, {
1511
1734
  props: {
1735
+ status: 'primary',
1512
1736
  content: customOpts.resetButtonText || getI18n('vxe.table.customClose')
1513
1737
  },
1514
1738
  on: {
@@ -1561,11 +1785,11 @@ var _default = exports.default = /* define-vxe-component start */(0, _comp.defin
1561
1785
  return VxeUIModalComponent ? h(VxeUIModalComponent, {
1562
1786
  key: 'modal',
1563
1787
  props: {
1564
- className: ['vxe-table-custom-popup-wrapper', 'vxe-table--ignore-clear', modalOpts.className || ''].join(' '),
1788
+ className: ['vxe-table-custom-modal-wrapper', 'vxe-table--ignore-clear', modalOpts.className || ''].join(' '),
1565
1789
  value: customStore.visible,
1566
1790
  title: modalOpts.title || getI18n('vxe.custom.cstmTitle'),
1567
- width: modalOpts.width || Math.min(880, document.documentElement.clientWidth),
1568
- minWidth: modalOpts.minWidth || 700,
1791
+ width: modalOpts.width || Math.min(1000, document.documentElement.clientWidth),
1792
+ minWidth: modalOpts.minWidth || 800,
1569
1793
  height: modalOpts.height || Math.min(680, document.documentElement.clientHeight),
1570
1794
  minHeight: modalOpts.minHeight || 400,
1571
1795
  showZoom: modalOpts.showZoom,
@@ -1574,6 +1798,7 @@ var _default = exports.default = /* define-vxe-component start */(0, _comp.defin
1574
1798
  mask: modalOpts.mask,
1575
1799
  lockView: modalOpts.lockView,
1576
1800
  resize: modalOpts.resize,
1801
+ transfer: modalOpts.transfer,
1577
1802
  escClosable: !!modalOpts.escClosable,
1578
1803
  maskClosable: !!modalOpts.maskClosable,
1579
1804
  destroyOnClose: true,