vxe-pc-ui 4.4.11 → 4.4.13

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 (50) hide show
  1. package/es/icon/style.css +1 -1
  2. package/es/input/src/input.js +11 -4
  3. package/es/list/src/list.js +2 -1
  4. package/es/number-input/src/number-input.js +33 -18
  5. package/es/select/src/select.js +28 -12
  6. package/es/style.css +1 -1
  7. package/es/style.min.css +1 -1
  8. package/es/ui/index.js +9 -6
  9. package/es/ui/src/log.js +1 -1
  10. package/lib/icon/style/style.css +1 -1
  11. package/lib/icon/style/style.min.css +1 -1
  12. package/lib/index.umd.js +97 -44
  13. package/lib/index.umd.min.js +1 -1
  14. package/lib/input/src/input.js +12 -4
  15. package/lib/input/src/input.min.js +1 -1
  16. package/lib/list/src/list.js +2 -1
  17. package/lib/list/src/list.min.js +1 -1
  18. package/lib/number-input/src/number-input.js +35 -20
  19. package/lib/number-input/src/number-input.min.js +1 -1
  20. package/lib/select/src/select.js +35 -10
  21. package/lib/select/src/select.min.js +1 -1
  22. package/lib/style.css +1 -1
  23. package/lib/style.min.css +1 -1
  24. package/lib/ui/index.js +9 -6
  25. package/lib/ui/index.min.js +1 -1
  26. package/lib/ui/src/log.js +1 -1
  27. package/lib/ui/src/log.min.js +1 -1
  28. package/package.json +2 -2
  29. package/packages/input/src/input.ts +11 -4
  30. package/packages/list/src/list.ts +2 -1
  31. package/packages/number-input/src/number-input.ts +33 -18
  32. package/packages/select/src/select.ts +29 -13
  33. package/packages/ui/index.ts +8 -5
  34. package/types/components/input.d.ts +2 -0
  35. package/types/components/list.d.ts +30 -0
  36. package/types/components/number-input.d.ts +3 -0
  37. package/types/components/select.d.ts +68 -3
  38. package/types/components/table.d.ts +12 -0
  39. /package/es/icon/{iconfont.1741830156438.ttf → iconfont.1741919143115.ttf} +0 -0
  40. /package/es/icon/{iconfont.1741830156438.woff → iconfont.1741919143115.woff} +0 -0
  41. /package/es/icon/{iconfont.1741830156438.woff2 → iconfont.1741919143115.woff2} +0 -0
  42. /package/es/{iconfont.1741830156438.ttf → iconfont.1741919143115.ttf} +0 -0
  43. /package/es/{iconfont.1741830156438.woff → iconfont.1741919143115.woff} +0 -0
  44. /package/es/{iconfont.1741830156438.woff2 → iconfont.1741919143115.woff2} +0 -0
  45. /package/lib/icon/style/{iconfont.1741830156438.ttf → iconfont.1741919143115.ttf} +0 -0
  46. /package/lib/icon/style/{iconfont.1741830156438.woff → iconfont.1741919143115.woff} +0 -0
  47. /package/lib/icon/style/{iconfont.1741830156438.woff2 → iconfont.1741919143115.woff2} +0 -0
  48. /package/lib/{iconfont.1741830156438.ttf → iconfont.1741919143115.ttf} +0 -0
  49. /package/lib/{iconfont.1741830156438.woff → iconfont.1741919143115.woff} +0 -0
  50. /package/lib/{iconfont.1741830156438.woff2 → iconfont.1741919143115.woff2} +0 -0
package/lib/index.umd.js CHANGED
@@ -2338,7 +2338,7 @@ if (typeof window !== 'undefined') {
2338
2338
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
2339
2339
  var es_array_push = __webpack_require__(4114);
2340
2340
  ;// CONCATENATED MODULE: ./node_modules/@vxe-ui/core/es/src/core.js
2341
- const coreVersion = "4.0.35";
2341
+ const coreVersion = "4.0.36";
2342
2342
  const VxeCore = {
2343
2343
  coreVersion,
2344
2344
  uiVersion: '',
@@ -2596,6 +2596,7 @@ const GLOBAL_EVENT_KEYS = {
2596
2596
  ARROW_RIGHT: 'ArrowRight',
2597
2597
  PAGE_UP: 'PageUp',
2598
2598
  PAGE_DOWN: 'PageDown',
2599
+ Control: 'Control',
2599
2600
  R: 'R',
2600
2601
  P: 'P',
2601
2602
  Z: 'Z',
@@ -2876,7 +2877,7 @@ function createLog(type, name) {
2876
2877
  return msg;
2877
2878
  };
2878
2879
  }
2879
- const version = "4.0.35";
2880
+ const version = "4.0.36";
2880
2881
  const log = {
2881
2882
  create: createLog,
2882
2883
  warn: createLog('warn', `v${version}`),
@@ -4152,14 +4153,14 @@ function checkDynamic() {
4152
4153
  }
4153
4154
  ;// CONCATENATED MODULE: ./packages/ui/src/log.ts
4154
4155
 
4155
- const log_version = `ui v${"4.4.11"}`;
4156
+ const log_version = `ui v${"4.4.12"}`;
4156
4157
  const warnLog = log.create('warn', log_version);
4157
4158
  const errLog = log.create('error', log_version);
4158
4159
  ;// CONCATENATED MODULE: ./packages/ui/index.ts
4159
4160
 
4160
4161
 
4161
4162
 
4162
- const ui_version = "4.4.11";
4163
+ const ui_version = "4.4.12";
4163
4164
  index_esm_VxeUI.uiVersion = ui_version;
4164
4165
  index_esm_VxeUI.dynamicApp = dynamicApp;
4165
4166
  function config(options) {
@@ -4330,7 +4331,7 @@ setConfig({
4330
4331
  listView: {},
4331
4332
  list: {
4332
4333
  // size: null,
4333
- scrollY: {
4334
+ virtualYConfig: {
4334
4335
  enabled: true,
4335
4336
  gt: 100
4336
4337
  // oSize: 0
@@ -4416,7 +4417,11 @@ setConfig({
4416
4417
  row: {},
4417
4418
  select: {
4418
4419
  multiCharOverflow: 8,
4419
- scrollY: {
4420
+ remoteConfig: {
4421
+ enabled: true,
4422
+ autoLoad: true
4423
+ },
4424
+ virtualYConfig: {
4420
4425
  enabled: true,
4421
4426
  gt: 100,
4422
4427
  oSize: 2
@@ -4437,12 +4442,11 @@ setConfig({
4437
4442
  rowConfig: {
4438
4443
  isHover: true
4439
4444
  },
4440
- scrollX: {
4445
+ virtualXConfig: {
4441
4446
  enabled: true,
4442
4447
  gt: 0
4443
4448
  },
4444
- scrollY: {
4445
- mode: 'wheel',
4449
+ virtualYConfig: {
4446
4450
  enabled: true,
4447
4451
  gt: 0
4448
4452
  }
@@ -10242,6 +10246,10 @@ function toFloatValueFixed(inputValue, digitsValue) {
10242
10246
  type: String,
10243
10247
  default: 'off'
10244
10248
  },
10249
+ autoFocus: {
10250
+ type: Boolean,
10251
+ default: null
10252
+ },
10245
10253
  align: String,
10246
10254
  form: String,
10247
10255
  className: String,
@@ -11107,15 +11115,18 @@ function toFloatValueFixed(inputValue, digitsValue) {
11107
11115
  };
11108
11116
  const clearValueEvent = (evnt, value) => {
11109
11117
  const {
11110
- type
11118
+ type,
11119
+ autoFocus
11111
11120
  } = props;
11112
11121
  const isNumType = computeIsNumType.value;
11113
11122
  const isDatePickerType = computeIsDatePickerType.value;
11114
11123
  if (isDatePickerType) {
11115
11124
  hidePanel();
11116
11125
  }
11117
- if (isNumType || ['text', 'search', 'password'].indexOf(type) > -1) {
11118
- focus();
11126
+ if (autoFocus || autoFocus === null) {
11127
+ if (isNumType || ['text', 'search', 'password'].indexOf(type) > -1) {
11128
+ focus();
11129
+ }
11119
11130
  }
11120
11131
  handleChange('', evnt);
11121
11132
  inputMethods.dispatchEvent('clear', {
@@ -11469,11 +11480,12 @@ function toFloatValueFixed(inputValue, digitsValue) {
11469
11480
  const isCtrlKey = evnt.ctrlKey;
11470
11481
  const isShiftKey = evnt.shiftKey;
11471
11482
  const isAltKey = evnt.altKey;
11483
+ const isMetaKey = evnt.metaKey;
11472
11484
  const keyCode = evnt.keyCode;
11473
11485
  const isEsc = globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.ESCAPE);
11474
11486
  const isUpArrow = globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.ARROW_UP);
11475
11487
  const isDwArrow = globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.ARROW_DOWN);
11476
- if (!isCtrlKey && !isShiftKey && !isAltKey && (globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.SPACEBAR) || (!exponential || keyCode !== 69) && keyCode >= 65 && keyCode <= 90 || keyCode >= 186 && keyCode <= 188 || keyCode >= 191)) {
11488
+ if (!isCtrlKey && !isShiftKey && !isAltKey && !isMetaKey && (globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.SPACEBAR) || (!exponential || keyCode !== 69) && keyCode >= 65 && keyCode <= 90 || keyCode >= 186 && keyCode <= 188 || keyCode >= 191)) {
11477
11489
  evnt.preventDefault();
11478
11490
  }
11479
11491
  if (isEsc) {
@@ -24172,12 +24184,15 @@ function getOptUniqueId() {
24172
24184
  filterable: Boolean,
24173
24185
  filterMethod: Function,
24174
24186
  remote: Boolean,
24187
+ // 已废弃,被 remote-config.queryMethod 替换
24175
24188
  remoteMethod: Function,
24189
+ remoteConfig: Object,
24176
24190
  emptyText: String,
24177
24191
  transfer: {
24178
24192
  type: Boolean,
24179
24193
  default: null
24180
24194
  },
24195
+ virtualYConfig: Object,
24181
24196
  scrollY: Object,
24182
24197
  // 已废弃,被 option-config.keyField 替换
24183
24198
  optionId: {
@@ -24347,7 +24362,10 @@ function getOptUniqueId() {
24347
24362
  return false;
24348
24363
  });
24349
24364
  const computeSYOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
24350
- return Object.assign({}, getConfig().select.scrollY, props.scrollY);
24365
+ return Object.assign({}, getConfig().select.virtualYConfig || getConfig().select.scrollY, props.virtualYConfig || props.scrollY);
24366
+ });
24367
+ const computeRemoteOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
24368
+ return Object.assign({}, getConfig().select.remoteConfig, props.remoteConfig);
24351
24369
  });
24352
24370
  const computeOptionOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
24353
24371
  return Object.assign({}, getConfig().select.optionConfig, props.optionConfig);
@@ -24459,6 +24477,7 @@ function getOptUniqueId() {
24459
24477
  */
24460
24478
  const handleOption = () => {
24461
24479
  const {
24480
+ modelValue,
24462
24481
  filterable,
24463
24482
  filterMethod
24464
24483
  } = props;
@@ -24475,9 +24494,11 @@ function getOptUniqueId() {
24475
24494
  let avList = [];
24476
24495
  if (filterable && filterMethod) {
24477
24496
  avList = fullData.filter(option => isOptionVisible(option) && filterMethod({
24497
+ $select: $xeSelect,
24478
24498
  group: null,
24479
24499
  option,
24480
- searchValue: searchStr
24500
+ searchValue,
24501
+ value: modelValue
24481
24502
  }));
24482
24503
  } else if (filterable) {
24483
24504
  avList = fullData.filter(option => isOptionVisible(option) && (!searchStr || `${option[labelField]}`.toLowerCase().indexOf(searchStr) > -1));
@@ -24585,12 +24606,15 @@ function getOptUniqueId() {
24585
24606
  const showOptionPanel = () => {
24586
24607
  const {
24587
24608
  loading,
24588
- filterable
24609
+ filterable,
24610
+ remote
24589
24611
  } = props;
24590
24612
  const {
24613
+ fullData,
24591
24614
  hpTimeout
24592
24615
  } = internalData;
24593
24616
  const isDisabled = computeIsDisabled.value;
24617
+ const remoteOpts = computeRemoteOpts.value;
24594
24618
  if (!loading && !isDisabled) {
24595
24619
  if (hpTimeout) {
24596
24620
  clearTimeout(hpTimeout);
@@ -24602,8 +24626,12 @@ function getOptUniqueId() {
24602
24626
  reactData.isActivated = true;
24603
24627
  reactData.isAniVisible = true;
24604
24628
  if (filterable) {
24605
- handleOption();
24606
- updateYData();
24629
+ if (remote && remoteOpts.enabled && remoteOpts.autoLoad && !fullData.length) {
24630
+ triggerSearchEvent();
24631
+ } else {
24632
+ handleOption();
24633
+ updateYData();
24634
+ }
24607
24635
  }
24608
24636
  setTimeout(() => {
24609
24637
  reactData.visiblePanel = true;
@@ -24650,8 +24678,11 @@ function getOptUniqueId() {
24650
24678
  value: selectValue
24651
24679
  }, evnt);
24652
24680
  };
24653
- const clearEvent = (params, evnt) => {
24654
- clearValueEvent(evnt, null);
24681
+ const clearEvent = params => {
24682
+ const {
24683
+ $event
24684
+ } = params;
24685
+ clearValueEvent($event, null);
24655
24686
  hideOptionPanel();
24656
24687
  };
24657
24688
  const changeOptionEvent = (evnt, option) => {
@@ -24898,16 +24929,21 @@ function getOptUniqueId() {
24898
24929
  };
24899
24930
  const handleSearchEvent = () => {
24900
24931
  const {
24932
+ modelValue,
24901
24933
  remote,
24902
24934
  remoteMethod
24903
24935
  } = props;
24904
24936
  const {
24905
24937
  searchValue
24906
24938
  } = reactData;
24907
- if (remote && remoteMethod) {
24939
+ const remoteOpts = computeRemoteOpts.value;
24940
+ const queryMethod = remoteOpts.queryMethod || remoteMethod;
24941
+ if (remote && queryMethod && remoteOpts.enabled) {
24908
24942
  reactData.searchLoading = true;
24909
- Promise.resolve(remoteMethod({
24910
- searchValue
24943
+ Promise.resolve(queryMethod({
24944
+ $select: $xeSelect,
24945
+ searchValue,
24946
+ value: modelValue
24911
24947
  })).then(() => (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)()).catch(() => (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)()).finally(() => {
24912
24948
  reactData.searchLoading = false;
24913
24949
  handleOption();
@@ -25454,6 +25490,7 @@ function getOptUniqueId() {
25454
25490
  type: 'text',
25455
25491
  prefixIcon: props.prefixIcon,
25456
25492
  suffixIcon: loading ? getIcon().SELECT_LOADED : visiblePanel ? getIcon().SELECT_OPEN : getIcon().SELECT_CLOSE,
25493
+ autoFocus: false,
25457
25494
  modelValue: selectLabel,
25458
25495
  onClear: clearEvent,
25459
25496
  onClick: clickEvent,
@@ -29817,7 +29854,6 @@ const WidgetVxeNumberInputFormComponent = (0,external_commonjs_vue_commonjs2_vue
29817
29854
  type: String,
29818
29855
  default: () => getConfig().numberInput.size || getConfig().size
29819
29856
  },
29820
- multiple: Boolean,
29821
29857
  // number、integer、float
29822
29858
  min: {
29823
29859
  type: [String, Number],
@@ -29854,6 +29890,10 @@ const WidgetVxeNumberInputFormComponent = (0,external_commonjs_vue_commonjs2_vue
29854
29890
  type: Boolean,
29855
29891
  default: () => getConfig().numberInput.autoFill
29856
29892
  },
29893
+ editable: {
29894
+ type: Boolean,
29895
+ default: true
29896
+ },
29857
29897
  prefixIcon: String,
29858
29898
  suffixIcon: String,
29859
29899
  // 已废弃
@@ -29963,10 +30003,10 @@ const WidgetVxeNumberInputFormComponent = (0,external_commonjs_vue_commonjs2_vue
29963
30003
  });
29964
30004
  const computeInputReadonly = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
29965
30005
  const {
29966
- multiple
30006
+ editable
29967
30007
  } = props;
29968
30008
  const formReadonly = computeFormReadonly.value;
29969
- return formReadonly || multiple;
30009
+ return formReadonly || !editable;
29970
30010
  });
29971
30011
  const computeInpPlaceholder = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
29972
30012
  const {
@@ -30147,13 +30187,16 @@ const WidgetVxeNumberInputFormComponent = (0,external_commonjs_vue_commonjs2_vue
30147
30187
  }
30148
30188
  };
30149
30189
  const focusEvent = evnt => {
30150
- const {
30151
- inputValue
30152
- } = reactData;
30153
- reactData.inputValue = eqEmptyValue(inputValue) ? '' : `${external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(inputValue)}`;
30154
- reactData.isFocus = true;
30155
- reactData.isActivated = true;
30156
- triggerEvent(evnt);
30190
+ const inputReadonly = computeInputReadonly.value;
30191
+ if (!inputReadonly) {
30192
+ const {
30193
+ inputValue
30194
+ } = reactData;
30195
+ reactData.inputValue = eqEmptyValue(inputValue) ? '' : `${external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(inputValue)}`;
30196
+ reactData.isFocus = true;
30197
+ reactData.isActivated = true;
30198
+ triggerEvent(evnt);
30199
+ }
30157
30200
  };
30158
30201
  const clickPrefixEvent = evnt => {
30159
30202
  const isDisabled = computeIsDisabled.value;
@@ -30383,20 +30426,22 @@ const WidgetVxeNumberInputFormComponent = (0,external_commonjs_vue_commonjs2_vue
30383
30426
  exponential,
30384
30427
  controls
30385
30428
  } = props;
30429
+ const inputReadonly = computeInputReadonly.value;
30386
30430
  const isCtrlKey = evnt.ctrlKey;
30387
30431
  const isShiftKey = evnt.shiftKey;
30388
30432
  const isAltKey = evnt.altKey;
30433
+ const isMetaKey = evnt.metaKey;
30389
30434
  const keyCode = evnt.keyCode;
30390
30435
  const isEsc = globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.ESCAPE);
30391
30436
  const isUpArrow = globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.ARROW_UP);
30392
30437
  const isDwArrow = globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.ARROW_DOWN);
30393
- if (!isCtrlKey && !isShiftKey && !isAltKey && (globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.SPACEBAR) || (!exponential || keyCode !== 69) && keyCode >= 65 && keyCode <= 90 || keyCode >= 186 && keyCode <= 188 || keyCode >= 191)) {
30438
+ if (!isCtrlKey && !isShiftKey && !isAltKey && !isMetaKey && (globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.SPACEBAR) || (!exponential || keyCode !== 69) && keyCode >= 65 && keyCode <= 90 || keyCode >= 186 && keyCode <= 188 || keyCode >= 191)) {
30394
30439
  evnt.preventDefault();
30395
30440
  }
30396
30441
  if (isEsc) {
30397
30442
  afterCheckValue();
30398
30443
  } else if (isUpArrow || isDwArrow) {
30399
- if (controls) {
30444
+ if (controls && !inputReadonly) {
30400
30445
  numberKeydownEvent(evnt);
30401
30446
  }
30402
30447
  }
@@ -30440,7 +30485,8 @@ const WidgetVxeNumberInputFormComponent = (0,external_commonjs_vue_commonjs2_vue
30440
30485
  }
30441
30486
  };
30442
30487
  const wheelEvent = evnt => {
30443
- if (props.controls) {
30488
+ const inputReadonly = computeInputReadonly.value;
30489
+ if (props.controls && !inputReadonly) {
30444
30490
  if (reactData.isActivated) {
30445
30491
  evnt.stopPropagation();
30446
30492
  evnt.preventDefault();
@@ -30465,8 +30511,9 @@ const WidgetVxeNumberInputFormComponent = (0,external_commonjs_vue_commonjs2_vue
30465
30511
  const el = refElem.value;
30466
30512
  const panelElem = refInputPanel.value;
30467
30513
  const isDisabled = computeIsDisabled.value;
30514
+ const inputReadonly = computeInputReadonly.value;
30468
30515
  const inpImmediate = computeInpImmediate.value;
30469
- if (!isDisabled && isActivated) {
30516
+ if (!isDisabled && !inputReadonly && isActivated) {
30470
30517
  reactData.isActivated = getEventTargetNode(evnt, el).flag || getEventTargetNode(evnt, panelElem).flag;
30471
30518
  if (!reactData.isActivated) {
30472
30519
  if (!inpImmediate) {
@@ -30485,7 +30532,8 @@ const WidgetVxeNumberInputFormComponent = (0,external_commonjs_vue_commonjs2_vue
30485
30532
  clearable
30486
30533
  } = props;
30487
30534
  const isDisabled = computeIsDisabled.value;
30488
- if (!isDisabled) {
30535
+ const inputReadonly = computeInputReadonly.value;
30536
+ if (!isDisabled && !inputReadonly) {
30489
30537
  const isTab = globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.TAB);
30490
30538
  const isDel = globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.DELETE);
30491
30539
  let isActivated = reactData.isActivated;
@@ -30582,7 +30630,8 @@ const WidgetVxeNumberInputFormComponent = (0,external_commonjs_vue_commonjs2_vue
30582
30630
  const {
30583
30631
  controls
30584
30632
  } = props;
30585
- if (controls) {
30633
+ const inputReadonly = computeInputReadonly.value;
30634
+ if (controls && !inputReadonly) {
30586
30635
  return renderNumberIcon();
30587
30636
  }
30588
30637
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)();
@@ -30595,9 +30644,12 @@ const WidgetVxeNumberInputFormComponent = (0,external_commonjs_vue_commonjs2_vue
30595
30644
  numberInputMethods = {
30596
30645
  dispatchEvent,
30597
30646
  focus() {
30598
- const inputElem = refInputTarget.value;
30599
- reactData.isActivated = true;
30600
- inputElem.focus();
30647
+ const inputReadonly = computeInputReadonly.value;
30648
+ if (!inputReadonly) {
30649
+ const inputElem = refInputTarget.value;
30650
+ reactData.isActivated = true;
30651
+ inputElem.focus();
30652
+ }
30601
30653
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
30602
30654
  },
30603
30655
  blur() {
@@ -30650,7 +30702,7 @@ const WidgetVxeNumberInputFormComponent = (0,external_commonjs_vue_commonjs2_vue
30650
30702
  class: ['vxe-number-input', `type--${type}`, className, {
30651
30703
  [`size--${vSize}`]: vSize,
30652
30704
  [`is--${align}`]: align,
30653
- 'is--controls': controls,
30705
+ 'is--controls': controls && !inputReadonly,
30654
30706
  'is--prefix': !!prefix,
30655
30707
  'is--suffix': !!suffix,
30656
30708
  'is--disabled': isDisabled,
@@ -41337,6 +41389,7 @@ const ListView = VxeListView;
41337
41389
  default: () => getConfig().list.autoResize
41338
41390
  },
41339
41391
  syncResize: [Boolean, String, Number],
41392
+ virtualYConfig: Object,
41340
41393
  scrollY: Object
41341
41394
  },
41342
41395
  emits: ['scroll'],
@@ -41386,7 +41439,7 @@ const ListView = VxeListView;
41386
41439
  getRefMaps: () => refMaps
41387
41440
  };
41388
41441
  const computeSYOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
41389
- return Object.assign({}, getConfig().list.scrollY, props.scrollY);
41442
+ return Object.assign({}, getConfig().list.virtualYConfig || getConfig().list.scrollY, props.virtualYConfig || props.scrollY);
41390
41443
  });
41391
41444
  const computeStyles = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
41392
41445
  const {