vxe-table 3.7.8-beta.1 → 3.7.9-beta.0

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 (64) hide show
  1. package/helper/vetur/attributes.json +8 -0
  2. package/helper/vetur/tags.json +3 -1
  3. package/lib/filter/src/panel.js +5 -3
  4. package/lib/filter/src/panel.min.js +1 -1
  5. package/lib/grid/src/grid.js +151 -70
  6. package/lib/grid/src/grid.min.js +1 -1
  7. package/lib/icon/style/style.css +9 -1
  8. package/lib/icon/style/style.min.css +9 -1
  9. package/lib/index.css +1 -1
  10. package/lib/index.umd.js +247 -87
  11. package/lib/index.umd.min.js +1 -1
  12. package/lib/locale/lang/en-US.js +9 -1
  13. package/lib/locale/lang/en-US.min.js +1 -1
  14. package/lib/locale/lang/en-US.umd.js +9 -1
  15. package/lib/locale/lang/ja-JP.js +9 -1
  16. package/lib/locale/lang/ja-JP.min.js +1 -1
  17. package/lib/locale/lang/ja-JP.umd.js +9 -1
  18. package/lib/locale/lang/zh-CN.js +9 -1
  19. package/lib/locale/lang/zh-CN.min.js +1 -1
  20. package/lib/locale/lang/zh-CN.umd.js +9 -1
  21. package/lib/locale/lang/zh-HK.min.js +1 -1
  22. package/lib/locale/lang/zh-HK.umd.js +9 -1
  23. package/lib/locale/lang/zh-MO.min.js +1 -1
  24. package/lib/locale/lang/zh-MO.umd.js +9 -1
  25. package/lib/locale/lang/zh-TC.js +9 -1
  26. package/lib/locale/lang/zh-TC.min.js +1 -1
  27. package/lib/locale/lang/zh-TC.umd.js +9 -1
  28. package/lib/locale/lang/zh-TW.min.js +1 -1
  29. package/lib/locale/lang/zh-TW.umd.js +9 -1
  30. package/lib/pager/src/pager.js +62 -6
  31. package/lib/pager/src/pager.min.js +1 -1
  32. package/lib/style.css +1 -1
  33. package/lib/style.min.css +1 -1
  34. package/lib/table/src/cell.js +2 -2
  35. package/lib/table/src/cell.min.js +1 -1
  36. package/lib/table/src/methods.js +24 -9
  37. package/lib/table/src/methods.min.js +1 -1
  38. package/lib/tools/log.js +1 -1
  39. package/lib/tools/log.min.js +1 -1
  40. package/lib/v-x-e-table/index.js +1 -1
  41. package/lib/v-x-e-table/index.min.js +1 -1
  42. package/lib/v-x-e-table/src/conf.js +2 -0
  43. package/lib/v-x-e-table/src/conf.min.js +1 -1
  44. package/lib/v-x-e-table/style/style.css +9 -1
  45. package/lib/v-x-e-table/style/style.min.css +1 -1
  46. package/package.json +2 -2
  47. package/packages/filter/src/panel.js +4 -3
  48. package/packages/grid/src/grid.js +147 -73
  49. package/packages/locale/lang/en-US.js +9 -1
  50. package/packages/locale/lang/ja-JP.js +9 -1
  51. package/packages/locale/lang/zh-CN.js +9 -1
  52. package/packages/locale/lang/zh-TC.js +9 -1
  53. package/packages/pager/src/pager.js +65 -6
  54. package/packages/table/src/cell.js +2 -2
  55. package/packages/table/src/methods.js +20 -8
  56. package/packages/v-x-e-table/src/conf.js +2 -0
  57. package/styles/icon.scss +10 -1
  58. package/types/pager.d.ts +1 -1
  59. /package/lib/icon/style/{iconfont.1705230733472.ttf → iconfont.1705883476685.ttf} +0 -0
  60. /package/lib/icon/style/{iconfont.1705230733472.woff → iconfont.1705883476685.woff} +0 -0
  61. /package/lib/icon/style/{iconfont.1705230733472.woff2 → iconfont.1705883476685.woff2} +0 -0
  62. /package/lib/{iconfont.1705230733472.ttf → iconfont.1705883476685.ttf} +0 -0
  63. /package/lib/{iconfont.1705230733472.woff → iconfont.1705883476685.woff} +0 -0
  64. /package/lib/{iconfont.1705230733472.woff2 → iconfont.1705883476685.woff2} +0 -0
@@ -137,6 +137,150 @@ function getTableOns (_vm) {
137
137
  return ons
138
138
  }
139
139
 
140
+ /**
141
+ * 渲染表单
142
+ */
143
+ function renderForms (h, _vm) {
144
+ const { _e, $scopedSlots, formConfig } = _vm
145
+ const formSlot = $scopedSlots.form
146
+ const hasForm = !!(formSlot || isEnableConf(formConfig))
147
+
148
+ return hasForm ? h('div', {
149
+ key: 'form',
150
+ ref: 'formWrapper',
151
+ class: 'vxe-grid--form-wrapper'
152
+ }, formSlot ? formSlot.call(_vm, { $grid: _vm }, h) : renderDefaultForm(h, _vm)) : _e()
153
+ }
154
+
155
+ /**
156
+ * 渲染工具栏
157
+ */
158
+ function renderToolbars (h, _vm) {
159
+ const { _e, $scopedSlots, toolbarConfig, toolbar } = _vm
160
+ const toolbarSlot = $scopedSlots.toolbar
161
+ const hasToolbar = !!(toolbarSlot || isEnableConf(toolbarConfig) || toolbar)
162
+
163
+ return hasToolbar ? h('div', {
164
+ key: 'toolbar',
165
+ ref: 'toolbarWrapper',
166
+ class: 'vxe-grid--toolbar-wrapper'
167
+ }, toolbarSlot
168
+ ? toolbarSlot.call(_vm, { $grid: _vm }, h)
169
+ : [
170
+ h('vxe-toolbar', {
171
+ props: _vm.toolbarOpts,
172
+ ref: 'xToolbar',
173
+ scopedSlots: getToolbarSlots(_vm)
174
+ })
175
+ ]
176
+ ) : _e()
177
+ }
178
+
179
+ /**
180
+ * 渲染表格顶部区域
181
+ */
182
+ function renderTops (h, _vm) {
183
+ const { _e, $scopedSlots } = _vm
184
+ const topSlot = $scopedSlots.top
185
+
186
+ return topSlot ? h('div', {
187
+ key: 'top',
188
+ ref: 'topWrapper',
189
+ class: 'vxe-grid--top-wrapper'
190
+ }, topSlot.call(_vm, { $grid: _vm }, h)) : _e()
191
+ }
192
+
193
+ /**
194
+ * 渲染表格
195
+ */
196
+ function renderTables (h, _vm) {
197
+ const { $scopedSlots, tableProps } = _vm
198
+
199
+ return h('vxe-table', {
200
+ key: 'table',
201
+ props: tableProps,
202
+ on: getTableOns(_vm),
203
+ scopedSlots: $scopedSlots,
204
+ ref: 'xTable'
205
+ })
206
+ }
207
+
208
+ /**
209
+ * 渲染表格底部区域
210
+ */
211
+ function renderBottoms (h, _vm) {
212
+ const { _e, $scopedSlots } = _vm
213
+ const bottomSlot = $scopedSlots.bottom
214
+
215
+ return bottomSlot ? h('div', {
216
+ key: 'bottom',
217
+ ref: 'bottomWrapper',
218
+ class: 'vxe-grid--bottom-wrapper'
219
+ }, bottomSlot.call(_vm, { $grid: _vm }, h)) : _e()
220
+ }
221
+
222
+ /**
223
+ * 渲染分页
224
+ */
225
+ function renderPagers (h, _vm) {
226
+ const { _e, $scopedSlots, pagerConfig, proxyConfig, tablePage } = _vm
227
+ const pagerSlot = $scopedSlots.pager
228
+ const hasPager = !!(pagerSlot || isEnableConf(pagerConfig))
229
+
230
+ return hasPager ? h('div', {
231
+ key: 'pager',
232
+ ref: 'pagerWrapper',
233
+ class: 'vxe-grid--pager-wrapper'
234
+ }, pagerSlot
235
+ ? pagerSlot.call(_vm, { $grid: _vm }, h)
236
+ : [
237
+ h('vxe-pager', {
238
+ props: { ..._vm.pagerOpts, ...(proxyConfig ? tablePage : {}) },
239
+ on: {
240
+ 'page-change': _vm.pageChangeEvent
241
+ },
242
+ scopedSlots: getPagerSlots(_vm)
243
+ })
244
+ ]
245
+ ) : _e()
246
+ }
247
+
248
+ const defaultLayouts = ['Form', 'Toolbar', 'Top', 'Table', 'Bottom', 'Pager']
249
+
250
+ function renderLayout (h, _vm) {
251
+ const { layouts } = _vm
252
+ const vns = []
253
+ const currLayouts = (layouts && layouts.length ? layouts : (GlobalConfig.grid.layouts || defaultLayouts))
254
+ currLayouts.forEach(name => {
255
+ switch (name) {
256
+ case 'Form':
257
+ vns.push(renderForms(h, _vm))
258
+ break
259
+ case 'Toolbar':
260
+ vns.push(renderToolbars(h, _vm))
261
+ break
262
+ case 'Top':
263
+ vns.push(renderTops(h, _vm))
264
+ break
265
+ case 'Table':
266
+ vns.push(renderTables(h, _vm))
267
+ break
268
+ case 'Bottom':
269
+ vns.push(renderBottoms(h, _vm))
270
+ break
271
+ case 'Pager':
272
+ vns.push(renderPagers(h, _vm))
273
+ break
274
+ default:
275
+ if (process.env.VUE_APP_VXE_TABLE_ENV === 'development') {
276
+ errLog('vxe.error.notProp', [`layouts -> ${name}`])
277
+ }
278
+ break
279
+ }
280
+ })
281
+ return vns
282
+ }
283
+
140
284
  Object.keys(Table.methods).forEach(name => {
141
285
  methods[name] = function (...args) {
142
286
  return this.$refs.xTable && this.$refs.xTable[name](...args)
@@ -148,6 +292,7 @@ export default {
148
292
  mixins: [vSize],
149
293
  props: {
150
294
  ...Table.props,
295
+ layouts: Array,
151
296
  columns: Array,
152
297
  pagerConfig: [Boolean, Object],
153
298
  proxyConfig: Object,
@@ -279,10 +424,7 @@ export default {
279
424
  GlobalEvent.off(this, 'keydown')
280
425
  },
281
426
  render (h) {
282
- const { $scopedSlots, vSize, isZMax } = this
283
- const hasForm = !!($scopedSlots.form || isEnableConf(this.formConfig))
284
- const hasToolbar = !!($scopedSlots.toolbar || isEnableConf(this.toolbarConfig) || this.toolbar)
285
- const hasPager = !!($scopedSlots.pager || isEnableConf(this.pagerConfig))
427
+ const { vSize, isZMax } = this
286
428
  return h('div', {
287
429
  class: ['vxe-grid', {
288
430
  [`size--${vSize}`]: vSize,
@@ -292,75 +434,7 @@ export default {
292
434
  'is--loading': this.loading || this.tableLoading
293
435
  }],
294
436
  style: this.renderStyle
295
- }, [
296
- /**
297
- * 渲染表单
298
- */
299
- hasForm ? h('div', {
300
- ref: 'formWrapper',
301
- class: 'vxe-grid--form-wrapper'
302
- }, $scopedSlots.form
303
- ? $scopedSlots.form.call(this, { $grid: this }, h)
304
- : renderDefaultForm(h, this)
305
- ) : null,
306
- /**
307
- * 渲染工具栏
308
- */
309
- hasToolbar ? h('div', {
310
- ref: 'toolbarWrapper',
311
- class: 'vxe-grid--toolbar-wrapper'
312
- }, $scopedSlots.toolbar
313
- ? $scopedSlots.toolbar.call(this, { $grid: this }, h)
314
- : [
315
- h('vxe-toolbar', {
316
- props: this.toolbarOpts,
317
- ref: 'xToolbar',
318
- scopedSlots: getToolbarSlots(this)
319
- })
320
- ]
321
- ) : null,
322
- /**
323
- * 渲染表格顶部区域
324
- */
325
- $scopedSlots.top ? h('div', {
326
- ref: 'topWrapper',
327
- class: 'vxe-grid--top-wrapper'
328
- }, $scopedSlots.top.call(this, { $grid: this }, h)) : null,
329
- /**
330
- * 渲染表格
331
- */
332
- h('vxe-table', {
333
- props: this.tableProps,
334
- on: getTableOns(this),
335
- scopedSlots: $scopedSlots,
336
- ref: 'xTable'
337
- }),
338
- /**
339
- * 渲染表格底部区域
340
- */
341
- $scopedSlots.bottom ? h('div', {
342
- ref: 'bottomWrapper',
343
- class: 'vxe-grid--bottom-wrapper'
344
- }, $scopedSlots.bottom.call(this, { $grid: this }, h)) : null,
345
- /**
346
- * 渲染分页
347
- */
348
- hasPager ? h('div', {
349
- ref: 'pagerWrapper',
350
- class: 'vxe-grid--pager-wrapper'
351
- }, $scopedSlots.pager
352
- ? $scopedSlots.pager.call(this, { $grid: this }, h)
353
- : [
354
- h('vxe-pager', {
355
- props: { ...this.pagerOpts, ...(this.proxyConfig ? this.tablePage : {}) },
356
- on: {
357
- 'page-change': this.pageChangeEvent
358
- },
359
- scopedSlots: getPagerSlots(this)
360
- })
361
- ]
362
- ) : null
363
- ])
437
+ }, renderLayout(h, this))
364
438
  },
365
439
  methods: {
366
440
  ...methods,
@@ -168,10 +168,18 @@ export default {
168
168
  pagesize: '{0}/page',
169
169
  total: 'Total {0} record',
170
170
  pageClassifier: '',
171
+ homePage: 'Home',
172
+ homePageTitle: 'Home page',
171
173
  prevPage: 'Previous page',
174
+ prevPageTitle: 'Previous page',
172
175
  nextPage: 'next page',
176
+ nextPageTitle: 'next page',
173
177
  prevJump: 'Jump previous page',
174
- nextJump: 'Jump next page'
178
+ prevJumpTitle: 'Jump previous page',
179
+ nextJump: 'Jump next page',
180
+ nextJumpTitle: 'Jump next page',
181
+ endPage: 'End page',
182
+ endPageTitle: 'End'
175
183
  },
176
184
  alert: {
177
185
  title: 'Message notification'
@@ -168,10 +168,18 @@ export default {
168
168
  pagesize: '{0}件/ページ',
169
169
  total: '全 {0} 件',
170
170
  pageClassifier: '',
171
+ homePage: 'Home',
172
+ homePageTitle: 'Home page',
171
173
  prevPage: '前のページ',
174
+ prevPageTitle: '前のページ',
172
175
  nextPage: '次のページ',
176
+ nextPageTitle: '次のページ',
173
177
  prevJump: '前のページに移動',
174
- nextJump: '次のページに移動'
178
+ prevJumpTitle: '前のページに移動',
179
+ nextJump: '次のページに移動',
180
+ nextJumpTitle: '次のページに移動',
181
+ endPage: 'End',
182
+ endPageTitle: 'End page'
175
183
  },
176
184
  alert: {
177
185
  title: 'メッセージ'
@@ -168,10 +168,18 @@ export default {
168
168
  pagesize: '{0}条/页',
169
169
  total: '共 {0} 条记录',
170
170
  pageClassifier: '页',
171
+ homePage: '首页',
172
+ homePageTitle: '首页',
171
173
  prevPage: '上一页',
174
+ prevPageTitle: '上一页',
172
175
  nextPage: '下一页',
176
+ nextPageTitle: '下一页',
173
177
  prevJump: '向上跳页',
174
- nextJump: '向下跳页'
178
+ prevJumpTitle: '向上跳页',
179
+ nextJump: '向下跳页',
180
+ nextJumpTitle: '向下跳页',
181
+ endPage: '末页',
182
+ endPageTitle: '末页'
175
183
  },
176
184
  alert: {
177
185
  title: '消息提示'
@@ -168,10 +168,18 @@ export default {
168
168
  pagesize: '{0}項/頁',
169
169
  total: '共 {0} 項記錄',
170
170
  pageClassifier: '頁',
171
+ homePage: '首頁',
172
+ homePageTitle: '首頁',
171
173
  prevPage: '上一頁',
174
+ prevPageTitle: '上一頁',
172
175
  nextPage: '下一頁',
176
+ nextPageTitle: '下一頁',
173
177
  prevJump: '向上跳頁',
174
- nextJump: '向下跳頁'
178
+ prevJumpTitle: '向上跳頁',
179
+ nextJump: '向下跳頁',
180
+ nextJumpTitle: '向下跳頁',
181
+ endPage: '末頁',
182
+ endPageTitle: '末頁'
175
183
  },
176
184
  alert: {
177
185
  title: '訊息提示'
@@ -1,6 +1,7 @@
1
1
  import XEUtils from 'xe-utils'
2
2
  import GlobalConfig from '../../v-x-e-table/src/conf'
3
3
  import vSize from '../../mixins/size'
4
+ import { errLog } from '../../tools/log'
4
5
 
5
6
  export default {
6
7
  name: 'VxePager',
@@ -38,7 +39,9 @@ export default {
38
39
  iconJumpPrev: String,
39
40
  iconJumpNext: String,
40
41
  iconNextPage: String,
41
- iconJumpMore: String
42
+ iconJumpMore: String,
43
+ iconHomePage: String,
44
+ iconEndPage: String
42
45
  },
43
46
  inject: {
44
47
  $xegrid: {
@@ -96,7 +99,13 @@ export default {
96
99
  )
97
100
  }
98
101
  this.layouts.forEach(name => {
99
- childNodes.push(this[`render${name}`](h))
102
+ if (this[`render${name}`](h)) {
103
+ childNodes.push(this[`render${name}`](h))
104
+ } else {
105
+ if (process.env.VUE_APP_VXE_TABLE_ENV === 'development') {
106
+ errLog('vxe.error.notProp', [`layouts -> ${name}`])
107
+ }
108
+ }
100
109
  })
101
110
  if ($scopedSlots.right) {
102
111
  childNodes.push(
@@ -122,6 +131,44 @@ export default {
122
131
  ])
123
132
  },
124
133
  methods: {
134
+ // 首页
135
+ renderHome (h) {
136
+ return h('button', {
137
+ class: ['vxe-pager--prev-btn', {
138
+ 'is--disabled': this.currentPage <= 1
139
+ }],
140
+ attrs: {
141
+ type: 'button',
142
+ title: GlobalConfig.i18n('vxe.pager.homePageTitle')
143
+ },
144
+ on: {
145
+ click: this.homePage
146
+ }
147
+ }, [
148
+ h('i', {
149
+ class: ['vxe-pager--btn-icon', this.iconHomePage || GlobalConfig.icon.PAGER_HOME]
150
+ })
151
+ ])
152
+ },
153
+ // 末页
154
+ renderEnd (h) {
155
+ return h('button', {
156
+ class: ['vxe-pager--prev-btn', {
157
+ 'is--disabled': this.currentPage <= 1
158
+ }],
159
+ attrs: {
160
+ type: 'button',
161
+ title: GlobalConfig.i18n('vxe.pager.endPageTitle')
162
+ },
163
+ on: {
164
+ click: this.endPage
165
+ }
166
+ }, [
167
+ h('i', {
168
+ class: ['vxe-pager--btn-icon', this.iconEndPage || GlobalConfig.icon.PAGER_END]
169
+ })
170
+ ])
171
+ },
125
172
  // 上一页
126
173
  renderPrevPage (h) {
127
174
  return h('button', {
@@ -130,7 +177,7 @@ export default {
130
177
  }],
131
178
  attrs: {
132
179
  type: 'button',
133
- title: GlobalConfig.i18n('vxe.pager.prevPage')
180
+ title: GlobalConfig.i18n('vxe.pager.prevPageTitle')
134
181
  },
135
182
  on: {
136
183
  click: this.prevPage
@@ -150,7 +197,7 @@ export default {
150
197
  }],
151
198
  attrs: {
152
199
  type: 'button',
153
- title: GlobalConfig.i18n('vxe.pager.prevJump')
200
+ title: GlobalConfig.i18n('vxe.pager.prevJumpTitle')
154
201
  },
155
202
  on: {
156
203
  click: this.prevJump
@@ -185,7 +232,7 @@ export default {
185
232
  }],
186
233
  attrs: {
187
234
  type: 'button',
188
- title: GlobalConfig.i18n('vxe.pager.nextJump')
235
+ title: GlobalConfig.i18n('vxe.pager.nextJumpTitle')
189
236
  },
190
237
  on: {
191
238
  click: this.nextJump
@@ -207,7 +254,7 @@ export default {
207
254
  }],
208
255
  attrs: {
209
256
  type: 'button',
210
- title: GlobalConfig.i18n('vxe.pager.nextPage')
257
+ title: GlobalConfig.i18n('vxe.pager.nextPageTitle')
211
258
  },
212
259
  on: {
213
260
  click: this.nextPage
@@ -351,6 +398,18 @@ export default {
351
398
  getPageCount (total, size) {
352
399
  return Math.max(Math.ceil(total / size), 1)
353
400
  },
401
+ homePage () {
402
+ const { currentPage } = this
403
+ if (currentPage > 1) {
404
+ this.jumpPage(1)
405
+ }
406
+ },
407
+ endPage () {
408
+ const { currentPage, pageCount } = this
409
+ if (currentPage < pageCount) {
410
+ this.jumpPage(pageCount)
411
+ }
412
+ },
354
413
  prevPage () {
355
414
  const { currentPage, pageCount } = this
356
415
  if (currentPage > 1) {
@@ -6,7 +6,7 @@ import UtilTools, { eqEmptyValue, isEnableConf, getFuncText } from '../../tools/
6
6
  import { getRowid, getColumnConfig } from './util'
7
7
  import { getSlotVNs } from '../../tools/vn'
8
8
 
9
- function renderHelpIcon (h, params) {
9
+ function renderTitlePrefixIcon (h, params) {
10
10
  const { $table, column } = params
11
11
  const titlePrefix = column.titlePrefix || column.titleHelp
12
12
  return titlePrefix ? [
@@ -159,7 +159,7 @@ export const Cell = {
159
159
  return renderTitleContent(h, params, UtilTools.formatText(column.getTitle(), 1))
160
160
  },
161
161
  renderDefaultHeader (h, params) {
162
- return renderHelpIcon(h, params).concat(Cell.renderHeaderTitle(h, params))
162
+ return renderTitlePrefixIcon(h, params).concat(Cell.renderHeaderTitle(h, params))
163
163
  },
164
164
  renderDefaultCell (h, params) {
165
165
  const { $table, row, column } = params
@@ -1410,9 +1410,9 @@ const Methods = {
1410
1410
  * 如果存在排序,继续处理
1411
1411
  */
1412
1412
  getTableData () {
1413
- const { tableFullData, afterFullData, tableData, footerTableData } = this
1413
+ const { treeConfig, tableFullData, afterFullData, tableData, footerTableData, tableFullTreeData } = this
1414
1414
  return {
1415
- fullData: tableFullData.slice(0),
1415
+ fullData: treeConfig ? tableFullTreeData.slice(0) : tableFullData.slice(0),
1416
1416
  visibleData: afterFullData.slice(0),
1417
1417
  tableData: tableData.slice(0),
1418
1418
  footerData: footerTableData.slice(0)
@@ -1457,9 +1457,21 @@ const Methods = {
1457
1457
  * 设置为固定列
1458
1458
  */
1459
1459
  setColumnFixed (fieldOrColumn, fixed) {
1460
+ const { isMaxFixedColumn, columnOpts } = this
1461
+ const { maxFixedSize } = columnOpts
1460
1462
  const column = handleFieldOrColumn(this, fieldOrColumn)
1461
1463
  const targetColumn = getRootColumn(this, column)
1462
1464
  if (targetColumn && targetColumn.fixed !== fixed) {
1465
+ // 是否超过最大固定列数量
1466
+ if (!targetColumn.fixed && isMaxFixedColumn) {
1467
+ if (VXETable.modal) {
1468
+ VXETable.modal.message({
1469
+ status: 'error',
1470
+ content: GlobalConfig.i18n('vxe.table.maxFixedCol', [maxFixedSize])
1471
+ })
1472
+ }
1473
+ return this.$nextTick()
1474
+ }
1463
1475
  XEUtils.eachTree([targetColumn], (column) => {
1464
1476
  column.fixed = fixed
1465
1477
  })
@@ -1834,12 +1846,12 @@ const Methods = {
1834
1846
  Object.assign(columnStore, { leftList, centerList, rightList })
1835
1847
  if (scrollXLoad) {
1836
1848
  if (process.env.VUE_APP_VXE_TABLE_ENV === 'development') {
1837
- if (this.showHeader && !this.showHeaderOverflow) {
1838
- warnLog('vxe.error.reqProp', ['show-header-overflow'])
1839
- }
1840
- if (this.showFooter && !this.showFooterOverflow) {
1841
- warnLog('vxe.error.reqProp', ['show-footer-overflow'])
1842
- }
1849
+ // if (this.showHeader && !this.showHeaderOverflow) {
1850
+ // warnLog('vxe.error.reqProp', ['show-header-overflow'])
1851
+ // }
1852
+ // if (this.showFooter && !this.showFooterOverflow) {
1853
+ // warnLog('vxe.error.reqProp', ['show-footer-overflow'])
1854
+ // }
1843
1855
  if (this.spanMethod) {
1844
1856
  warnLog('vxe.error.scrollErrProp', ['span-method'])
1845
1857
  }
@@ -165,6 +165,8 @@ export default {
165
165
  SELECT_CLOSE: iconPrefix + 'caret-down',
166
166
 
167
167
  // pager
168
+ PAGER_HOME: iconPrefix + 'home-page',
169
+ PAGER_END: iconPrefix + 'end-page',
168
170
  PAGER_JUMP_PREV: iconPrefix + 'arrow-double-left',
169
171
  PAGER_JUMP_NEXT: iconPrefix + 'arrow-double-right',
170
172
  PAGER_PREV_PAGE: iconPrefix + 'arrow-left',