vxe-pc-ui 4.17.20 → 4.17.22

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 (63) hide show
  1. package/dist/all.esm.js +202 -87
  2. package/dist/style.css +1 -1
  3. package/dist/style.min.css +1 -1
  4. package/es/icon/style.css +1 -1
  5. package/es/slider/src/slider.js +167 -72
  6. package/es/slider/style.css +8 -15
  7. package/es/slider/style.min.css +1 -1
  8. package/es/space/src/space.js +31 -11
  9. package/es/space/style.css +1 -0
  10. package/es/space/style.min.css +1 -1
  11. package/es/style.css +1 -1
  12. package/es/style.min.css +1 -1
  13. package/es/ui/index.js +1 -1
  14. package/es/ui/src/log.js +1 -1
  15. package/es/vxe-slider/style.css +8 -15
  16. package/es/vxe-slider/style.min.css +1 -1
  17. package/es/vxe-space/style.css +1 -0
  18. package/es/vxe-space/style.min.css +1 -1
  19. package/lib/icon/style/style.css +1 -1
  20. package/lib/icon/style/style.min.css +1 -1
  21. package/lib/index.umd.js +212 -94
  22. package/lib/index.umd.min.js +1 -1
  23. package/lib/slider/src/slider.js +170 -78
  24. package/lib/slider/src/slider.min.js +1 -1
  25. package/lib/slider/style/style.css +8 -15
  26. package/lib/slider/style/style.min.css +1 -1
  27. package/lib/space/src/space.js +36 -11
  28. package/lib/space/src/space.min.js +1 -1
  29. package/lib/space/style/style.css +1 -0
  30. package/lib/space/style/style.min.css +1 -1
  31. package/lib/style.css +1 -1
  32. package/lib/style.min.css +1 -1
  33. package/lib/ui/index.js +1 -1
  34. package/lib/ui/index.min.js +1 -1
  35. package/lib/ui/src/log.js +1 -1
  36. package/lib/ui/src/log.min.js +1 -1
  37. package/lib/vxe-slider/style/style.css +8 -15
  38. package/lib/vxe-slider/style/style.min.css +1 -1
  39. package/lib/vxe-space/style/style.css +1 -0
  40. package/lib/vxe-space/style/style.min.css +1 -1
  41. package/package.json +4 -3
  42. package/packages/slider/src/slider.ts +165 -72
  43. package/packages/space/src/space.ts +37 -12
  44. package/styles/components/slider.scss +8 -13
  45. package/styles/components/space.scss +1 -0
  46. package/styles/theme/base.scss +6 -6
  47. package/types/components/slider.d.ts +9 -2
  48. package/types/components/space.d.ts +2 -0
  49. package/types/components/table-module/filter.d.ts +4 -0
  50. package/types/components/table-module/menu.d.ts +18 -0
  51. package/types/components/table.d.ts +16 -0
  52. /package/es/icon/{iconfont.1787911536008.ttf → iconfont.1788170314536.ttf} +0 -0
  53. /package/es/icon/{iconfont.1787911536008.woff → iconfont.1788170314536.woff} +0 -0
  54. /package/es/icon/{iconfont.1787911536008.woff2 → iconfont.1788170314536.woff2} +0 -0
  55. /package/es/{iconfont.1787911536008.ttf → iconfont.1788170314536.ttf} +0 -0
  56. /package/es/{iconfont.1787911536008.woff → iconfont.1788170314536.woff} +0 -0
  57. /package/es/{iconfont.1787911536008.woff2 → iconfont.1788170314536.woff2} +0 -0
  58. /package/lib/icon/style/{iconfont.1787911536008.ttf → iconfont.1788170314536.ttf} +0 -0
  59. /package/lib/icon/style/{iconfont.1787911536008.woff → iconfont.1788170314536.woff} +0 -0
  60. /package/lib/icon/style/{iconfont.1787911536008.woff2 → iconfont.1788170314536.woff2} +0 -0
  61. /package/lib/{iconfont.1787911536008.ttf → iconfont.1788170314536.ttf} +0 -0
  62. /package/lib/{iconfont.1787911536008.woff → iconfont.1788170314536.woff} +0 -0
  63. /package/lib/{iconfont.1787911536008.woff2 → iconfont.1788170314536.woff2} +0 -0
package/dist/all.esm.js CHANGED
@@ -81,7 +81,7 @@ function checkDynamic() {
81
81
  }
82
82
 
83
83
  const { log } = VxeUI;
84
- const uiVersion = `ui v${"4.17.20"}`;
84
+ const uiVersion = `ui v${"4.17.22"}`;
85
85
  function createComponentLog(name) {
86
86
  const tableVersion = VxeUI.tableVersion ? `table v${VxeUI.tableVersion}` : '';
87
87
  const ganttVersion = VxeUI.ganttVersion ? `gantt v${VxeUI.ganttVersion}` : '';
@@ -95,7 +95,7 @@ function createComponentLog(name) {
95
95
  const warnLog$i = log.create('warn', uiVersion);
96
96
  log.create('error', uiVersion);
97
97
 
98
- const version = "4.17.20";
98
+ const version = "4.17.22";
99
99
  VxeUI.uiVersion = version;
100
100
  VxeUI.dynamicApp = dynamicApp;
101
101
  function config(options) {
@@ -37697,19 +37697,21 @@ const SplitPane = VxeSplitPane;
37697
37697
 
37698
37698
  function createInternalData$6() {
37699
37699
  return {
37700
- // _isUp: false
37701
- };
37702
- }
37703
- function createReactData$6() {
37704
- return {
37700
+ // _isUp: false,
37701
+ currValue: 0,
37705
37702
  startValue: 0,
37706
37703
  endValue: 0
37707
37704
  };
37708
37705
  }
37706
+ function createReactData$6() {
37707
+ return {};
37708
+ }
37709
37709
  var VxeSliderComponent = defineVxeComponent({
37710
37710
  name: 'VxeSlider',
37711
37711
  props: {
37712
37712
  modelValue: [String, Number, Array],
37713
+ startValue: [String, Number],
37714
+ endValue: [String, Number],
37713
37715
  vertical: Boolean,
37714
37716
  max: {
37715
37717
  type: [String, Number],
@@ -37746,6 +37748,8 @@ var VxeSliderComponent = defineVxeComponent({
37746
37748
  },
37747
37749
  emits: [
37748
37750
  'update:modelValue',
37751
+ 'update:startValue',
37752
+ 'update:endValue',
37749
37753
  'change',
37750
37754
  'track-dragstart',
37751
37755
  'track-dragover',
@@ -37793,6 +37797,10 @@ var VxeSliderComponent = defineVxeComponent({
37793
37797
  const computeMinNum = computed(() => {
37794
37798
  return XEUtils.toNumber(props.min || 0);
37795
37799
  });
37800
+ const computeMVal = computed(() => {
37801
+ const { range, startValue, endValue } = props;
37802
+ return range ? `${startValue || ''}${endValue || ''}` : '';
37803
+ });
37796
37804
  const computeMaps = {};
37797
37805
  const $xeSlider = {
37798
37806
  xID,
@@ -37812,73 +37820,144 @@ var VxeSliderComponent = defineVxeComponent({
37812
37820
  const collapsePaneMethods = {
37813
37821
  dispatchEvent
37814
37822
  };
37815
- const getStartPercent = (startValue) => {
37816
- const { range } = props;
37823
+ const getBarPercent = (currValue) => {
37817
37824
  const maxNum = computeMaxNum.value;
37818
37825
  const minNum = computeMinNum.value;
37819
- return range ? XEUtils.floor((startValue - minNum) / XEUtils.toNumber(maxNum - minNum) * 100) : 0;
37820
- };
37821
- const getEndPercent = (startValue, endValue) => {
37822
- const { range } = props;
37823
- const maxNum = computeMaxNum.value;
37824
- const minNum = computeMinNum.value;
37825
- return XEUtils.floor((endValue - (range ? startValue : 0) - minNum) / XEUtils.toNumber(maxNum - minNum) * 100);
37826
- };
37827
- const updateModel = () => {
37828
- const { modelValue } = props;
37829
- if (XEUtils.isArray(modelValue)) {
37830
- const [sVal, eVal] = XEUtils.clone(modelValue, true).sort();
37831
- reactData.startValue = XEUtils.floor(XEUtils.toNumber(sVal || 0));
37832
- reactData.endValue = XEUtils.floor(XEUtils.toNumber(eVal || 0));
37826
+ if (maxNum === minNum) {
37827
+ return 0;
37828
+ }
37829
+ if (currValue < minNum) {
37830
+ currValue = minNum;
37831
+ }
37832
+ if (currValue > maxNum) {
37833
+ currValue = maxNum;
37834
+ }
37835
+ return ((currValue - minNum) / (maxNum - minNum)) * 100;
37836
+ };
37837
+ const parseFields = (startValue, endValue) => {
37838
+ const [sVal, eVal] = XEUtils.orderBy([XEUtils.toNumber(startValue), XEUtils.toNumber(endValue)]);
37839
+ const currValue = XEUtils.floor(XEUtils.toNumber(sVal || 0));
37840
+ internalData.currValue = currValue;
37841
+ internalData.startValue = currValue;
37842
+ internalData.endValue = XEUtils.floor(XEUtils.toNumber(eVal || 0));
37843
+ };
37844
+ const parseArrs = (arrVals) => {
37845
+ const [sVal, eVal] = XEUtils.orderBy(arrVals);
37846
+ const currValue = XEUtils.floor(XEUtils.toNumber(sVal || 0));
37847
+ internalData.currValue = currValue;
37848
+ internalData.startValue = currValue;
37849
+ internalData.endValue = XEUtils.floor(XEUtils.toNumber(eVal || 0));
37850
+ };
37851
+ const parseNum = (val) => {
37852
+ const currValue = XEUtils.floor(XEUtils.toNumber(val || 0));
37853
+ internalData.currValue = currValue;
37854
+ internalData.startValue = 0;
37855
+ internalData.endValue = currValue;
37856
+ };
37857
+ const updateModelValue = (umType) => {
37858
+ const { range, modelValue, startValue, endValue } = props;
37859
+ if (!umType) {
37860
+ if (range) {
37861
+ if (XEUtils.eqNull(modelValue)) {
37862
+ if (startValue || endValue) {
37863
+ parseFields(startValue, endValue);
37864
+ }
37865
+ }
37866
+ else {
37867
+ if (XEUtils.isArray(modelValue)) {
37868
+ parseArrs(modelValue.map(num => XEUtils.toNumber(num)));
37869
+ }
37870
+ else {
37871
+ parseNum(modelValue);
37872
+ }
37873
+ }
37874
+ }
37875
+ else {
37876
+ parseNum(modelValue);
37877
+ }
37878
+ }
37879
+ else if (range && umType === 2) {
37880
+ parseFields(startValue, endValue);
37833
37881
  }
37834
37882
  else {
37835
- reactData.startValue = 0;
37836
- reactData.endValue = XEUtils.floor(XEUtils.toNumber(modelValue || 0));
37883
+ if (XEUtils.isArray(modelValue)) {
37884
+ parseArrs(modelValue.map(num => XEUtils.toNumber(num)));
37885
+ }
37886
+ else {
37887
+ parseNum(modelValue);
37888
+ }
37837
37889
  }
37890
+ updateBarStyle();
37891
+ updateTrackStyle();
37838
37892
  };
37839
37893
  const updateBarStyle = () => {
37840
- const { startValue, endValue } = reactData;
37841
- const trackElem = refTrackElem.value;
37894
+ const { range } = props;
37895
+ const { currValue, startValue, endValue } = internalData;
37842
37896
  const startBtnElem = refStartBtnElem.value;
37843
37897
  const endBtnElem = refEndBtnElem.value;
37844
- let startPercent = 0;
37845
- let endPercent = 0;
37846
- if (startValue > endValue) {
37847
- startPercent = getStartPercent(endValue);
37848
- endPercent = getEndPercent(endValue, startValue);
37898
+ if (range) {
37899
+ const [sVal, eVal] = XEUtils.orderBy([startValue, endValue]);
37900
+ if (startBtnElem) {
37901
+ startBtnElem.style.left = getBarPercent(sVal) + '%';
37902
+ }
37903
+ if (endBtnElem) {
37904
+ endBtnElem.style.left = getBarPercent(eVal) + '%';
37905
+ }
37849
37906
  }
37850
37907
  else {
37851
- startPercent = getStartPercent(startValue);
37852
- endPercent = getEndPercent(startValue, endValue);
37908
+ if (endBtnElem) {
37909
+ endBtnElem.style.left = getBarPercent(currValue) + '%';
37910
+ }
37853
37911
  }
37912
+ };
37913
+ const updateTrackStyle = () => {
37914
+ const { range } = props;
37915
+ const { currValue, startValue, endValue } = internalData;
37916
+ const trackElem = refTrackElem.value;
37854
37917
  if (trackElem) {
37855
- trackElem.style.left = `${startPercent}%`;
37856
- trackElem.style.width = `${endPercent}%`;
37857
- }
37858
- if (startBtnElem) {
37859
- startBtnElem.style.left = `${startPercent}%`;
37860
- }
37861
- if (endBtnElem) {
37862
- endBtnElem.style.left = `${XEUtils.floor(startPercent + endPercent)}%`;
37918
+ if (range) {
37919
+ const [sVal, eVal] = XEUtils.orderBy([startValue, endValue]);
37920
+ trackElem.style.left = getBarPercent(sVal) + '%';
37921
+ trackElem.style.width = getBarPercent(eVal - sVal) + '%';
37922
+ }
37923
+ else {
37924
+ trackElem.style.left = '0';
37925
+ trackElem.style.width = getBarPercent(currValue) + '%';
37926
+ }
37863
37927
  }
37864
37928
  };
37865
37929
  const changeEvent = (evnt) => {
37866
37930
  const { range } = props;
37867
- const { startValue, endValue } = reactData;
37868
- const value = range ? [startValue, endValue].sort() : endValue;
37931
+ const { currValue, startValue, endValue } = internalData;
37932
+ const vals = range ? XEUtils.orderBy([startValue, endValue]) : [];
37933
+ const value = range ? vals : currValue;
37869
37934
  emitModel(value);
37935
+ if (range) {
37936
+ emit('update:startValue', vals[0] || 0);
37937
+ emit('update:endValue', vals[1] || 0);
37938
+ }
37870
37939
  dispatchEvent('change', { value }, evnt);
37871
37940
  // 自动更新校验状态
37872
37941
  if ($xeForm && formItemInfo) {
37873
37942
  $xeForm.triggerItemEvent(evnt, formItemInfo.itemConfig.field, value);
37874
37943
  }
37875
37944
  };
37876
- const handleMousedownEvent = (evnt, isEnd) => {
37877
- const { immediate } = props;
37878
- const formReadonly = computeFormReadonly.value;
37879
- const isDisabled = computeIsDisabled.value;
37945
+ const getValueByLeft = (offsetLeft, barWidth) => {
37880
37946
  const maxNum = computeMaxNum.value;
37881
37947
  const minNum = computeMinNum.value;
37948
+ if (barWidth === 0) {
37949
+ return minNum;
37950
+ }
37951
+ const clamped = Math.max(0, Math.min(barWidth, offsetLeft));
37952
+ const ratio = clamped / barWidth;
37953
+ const raw = minNum + ratio * (maxNum - minNum);
37954
+ return Math.floor(raw);
37955
+ };
37956
+ const handleBtnMousedownEvent = (evnt) => {
37957
+ const { range, immediate } = props;
37958
+ const btnElem = evnt.currentTarget;
37959
+ const formReadonly = computeFormReadonly.value;
37960
+ const isDisabled = computeIsDisabled.value;
37882
37961
  if (!(formReadonly || isDisabled)) {
37883
37962
  evnt.preventDefault();
37884
37963
  document.onmousemove = evnt => {
@@ -37886,41 +37965,50 @@ var VxeSliderComponent = defineVxeComponent({
37886
37965
  const el = refElem.value;
37887
37966
  const barElem = refBarElem.value;
37888
37967
  if (el && barElem) {
37968
+ const btnType = btnElem.getAttribute('data-type');
37889
37969
  const barRect = barElem.getBoundingClientRect();
37890
- const trackWidth = (evnt.clientX - barRect.left) / barRect.width;
37891
- if (isEnd) {
37892
- reactData.endValue = XEUtils.floor(Math.max(minNum, Math.min(maxNum, trackWidth * (maxNum - minNum) + minNum)));
37893
- }
37894
- else {
37895
- reactData.startValue = XEUtils.floor(Math.max(minNum, Math.min(maxNum, trackWidth * (maxNum - minNum))));
37970
+ const barWidth = barRect.width;
37971
+ const offsetLeft = Math.min(barWidth, Math.max(0, evnt.clientX - barRect.left));
37972
+ const currValue = getValueByLeft(offsetLeft, barWidth);
37973
+ if (range) {
37974
+ if (btnType === '1') {
37975
+ internalData.startValue = currValue;
37976
+ }
37977
+ else {
37978
+ internalData.endValue = currValue;
37979
+ }
37896
37980
  }
37897
- dispatchEvent('track-dragover', { startValue: reactData.startValue, endValue: reactData.endValue }, evnt);
37981
+ internalData.currValue = currValue;
37982
+ btnElem.style.left = getBarPercent(currValue) + '%';
37983
+ dispatchEvent('track-dragover', {
37984
+ currentValue: internalData.currValue,
37985
+ startValue: internalData.startValue,
37986
+ endValue: internalData.endValue
37987
+ }, evnt);
37898
37988
  }
37899
37989
  if (immediate) {
37900
37990
  changeEvent(evnt);
37901
37991
  }
37902
- updateBarStyle();
37992
+ updateTrackStyle();
37903
37993
  };
37904
37994
  document.onmouseup = (evnt) => {
37905
37995
  document.onmousemove = null;
37906
37996
  document.onmouseup = null;
37907
- dispatchEvent('track-dragend', { startValue: reactData.startValue, endValue: reactData.endValue }, evnt);
37997
+ dispatchEvent('track-dragend', {
37998
+ currentValue: internalData.currValue,
37999
+ startValue: internalData.startValue,
38000
+ endValue: internalData.endValue
38001
+ }, evnt);
37908
38002
  changeEvent(evnt);
37909
- updateBarStyle();
38003
+ updateTrackStyle();
37910
38004
  };
37911
- dispatchEvent('track-dragstart', { startValue: reactData.startValue, endValue: reactData.endValue }, evnt);
38005
+ dispatchEvent('track-dragstart', {
38006
+ currentValue: internalData.currValue,
38007
+ startValue: internalData.startValue,
38008
+ endValue: internalData.endValue
38009
+ }, evnt);
37912
38010
  }
37913
38011
  };
37914
- const handleStartMousedownEvent = (evnt) => {
37915
- const endBtnElem = refEndBtnElem.value;
37916
- const startBtnElem = evnt.currentTarget;
37917
- handleMousedownEvent(evnt, endBtnElem ? endBtnElem.offsetLeft < startBtnElem.offsetLeft : false);
37918
- };
37919
- const handleEndMousedownEvent = (evnt) => {
37920
- const startBtnElem = refStartBtnElem.value;
37921
- const endBtnElem = evnt.currentTarget;
37922
- handleMousedownEvent(evnt, startBtnElem ? endBtnElem.offsetLeft > startBtnElem.offsetLeft : true);
37923
- };
37924
38012
  const collapsePanePrivateMethods = {};
37925
38013
  Object.assign($xeSlider, collapsePaneMethods, collapsePanePrivateMethods);
37926
38014
  const renderVN = () => {
@@ -37952,33 +38040,40 @@ var VxeSliderComponent = defineVxeComponent({
37952
38040
  ? renderEmptyElement($xeSlider)
37953
38041
  : h('div', {
37954
38042
  ref: refStartBtnElem,
37955
- class: 'vxe-slider--bar-btn vxe-slider--start-btn',
37956
- onMousedown: handleStartMousedownEvent
38043
+ class: 'vxe-slider--bar-btn',
38044
+ 'data-type': '1',
38045
+ onMousedown: handleBtnMousedownEvent
37957
38046
  }),
37958
38047
  formReadonly
37959
38048
  ? renderEmptyElement($xeSlider)
37960
38049
  : h('div', {
37961
38050
  ref: refEndBtnElem,
37962
- class: 'vxe-slider--bar-btn vxe-slider--end-btn',
37963
- onMousedown: handleEndMousedownEvent
38051
+ class: 'vxe-slider--bar-btn',
38052
+ 'data-type': '2',
38053
+ onMousedown: handleBtnMousedownEvent
37964
38054
  })
37965
38055
  ])
37966
38056
  ]);
37967
38057
  };
37968
38058
  watch(() => props.modelValue, () => {
37969
38059
  if (!internalData._isUp) {
37970
- updateModel();
38060
+ updateModelValue(1);
38061
+ }
38062
+ internalData._isUp = false;
38063
+ });
38064
+ watch(computeMVal, () => {
38065
+ if (!internalData._isUp) {
38066
+ updateModelValue(2);
37971
38067
  }
37972
38068
  internalData._isUp = false;
37973
38069
  });
37974
38070
  onMounted(() => {
37975
- updateBarStyle();
38071
+ updateModelValue();
37976
38072
  });
37977
38073
  onBeforeUnmount(() => {
37978
38074
  XEUtils.assign(reactData, createReactData$6());
37979
38075
  XEUtils.assign(internalData, createInternalData$6());
37980
38076
  });
37981
- updateModel();
37982
38077
  $xeSlider.renderVN = renderVN;
37983
38078
  return $xeSlider;
37984
38079
  },
@@ -38026,6 +38121,10 @@ var VxeSpaceComponent = defineVxeComponent({
38026
38121
  separator: {
38027
38122
  type: String,
38028
38123
  default: () => getConfig$3().space.separator
38124
+ },
38125
+ align: {
38126
+ type: String,
38127
+ default: () => getConfig$3().space.align
38029
38128
  }
38030
38129
  },
38031
38130
  emits: [],
@@ -38041,7 +38140,7 @@ var VxeSpaceComponent = defineVxeComponent({
38041
38140
  refElem
38042
38141
  };
38043
38142
  const computeWrapperStyle = computed(() => {
38044
- const { gap } = props;
38143
+ const { align, gap } = props;
38045
38144
  const stys = {};
38046
38145
  let rowGap = '';
38047
38146
  let columGap = '';
@@ -38059,6 +38158,9 @@ var VxeSpaceComponent = defineVxeComponent({
38059
38158
  columGap = gap.columGap || '';
38060
38159
  }
38061
38160
  }
38161
+ if (align) {
38162
+ stys['align-items'] = align;
38163
+ }
38062
38164
  if (!eqEmptyValue(rowGap)) {
38063
38165
  stys['--vxe-ui-space-current-row-gap'] = toCssUnit(rowGap);
38064
38166
  }
@@ -38084,11 +38186,31 @@ var VxeSpaceComponent = defineVxeComponent({
38084
38186
  };
38085
38187
  const spacePrivateMethods = {};
38086
38188
  Object.assign($xeSpace, spaceMethods, spacePrivateMethods);
38189
+ const renderItems = () => {
38190
+ const { separator, itemClassName } = props;
38191
+ const itemVNs = [];
38192
+ const defaultSlot = slots.default;
38193
+ const separatorSlot = slots.separator;
38194
+ if (defaultSlot) {
38195
+ XEUtils.each(defaultSlot({}), (itemVN, index, items) => {
38196
+ itemVNs.push(h('div', {
38197
+ key: 'i' + index,
38198
+ class: ['vxe-space--item', getPropClass(itemClassName, { index })]
38199
+ }, [itemVN]));
38200
+ if ((separator || separatorSlot) && index < items.length - 1) {
38201
+ itemVNs.push(h('div', {
38202
+ key: 's' + index,
38203
+ class: 'vxe-space--separator'
38204
+ }, separatorSlot ? separatorSlot({}) : ('' + separator)));
38205
+ }
38206
+ });
38207
+ }
38208
+ return itemVNs;
38209
+ };
38087
38210
  const renderVN = () => {
38088
- const { vertical, wrap, className, itemClassName } = props;
38211
+ const { vertical, wrap, className } = props;
38089
38212
  const wrapperStyle = computeWrapperStyle.value;
38090
38213
  const vSize = computeSize.value;
38091
- const defaultSlot = slots.default;
38092
38214
  return h('div', {
38093
38215
  ref: refElem,
38094
38216
  class: ['vxe-space', getPropClass(className, {}), {
@@ -38097,14 +38219,7 @@ var VxeSpaceComponent = defineVxeComponent({
38097
38219
  'is--vertical': vertical
38098
38220
  }],
38099
38221
  style: wrapperStyle
38100
- }, defaultSlot
38101
- ? (defaultSlot({}) || []).map((itemVN, index) => {
38102
- return h('div', {
38103
- key: index,
38104
- class: ['vxe-space--item', getPropClass(itemClassName, { index })]
38105
- }, [itemVN]);
38106
- })
38107
- : []);
38222
+ }, renderItems());
38108
38223
  };
38109
38224
  $xeSpace.renderVN = renderVN;
38110
38225
  return $xeSpace;