vxe-pc-ui 4.11.44 → 4.11.45

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 (68) hide show
  1. package/es/button/src/button.js +18 -6
  2. package/es/date-picker/src/date-picker.js +17 -5
  3. package/es/date-range-picker/src/date-range-picker.js +17 -5
  4. package/es/icon/style.css +1 -1
  5. package/es/icon-picker/src/icon-picker.js +36 -74
  6. package/es/pulldown/src/pulldown.js +26 -6
  7. package/es/select/src/select.js +21 -7
  8. package/es/style.css +1 -1
  9. package/es/style.min.css +1 -1
  10. package/es/table-select/src/table-select.js +17 -7
  11. package/es/tree-select/src/tree-select.js +21 -7
  12. package/es/ui/index.js +1 -1
  13. package/es/ui/src/log.js +1 -1
  14. package/lib/button/src/button.js +18 -9
  15. package/lib/button/src/button.min.js +1 -1
  16. package/lib/date-picker/src/date-picker.js +19 -7
  17. package/lib/date-picker/src/date-picker.min.js +1 -1
  18. package/lib/date-range-picker/src/date-range-picker.js +19 -7
  19. package/lib/date-range-picker/src/date-range-picker.min.js +1 -1
  20. package/lib/icon/style/style.css +1 -1
  21. package/lib/icon/style/style.min.css +1 -1
  22. package/lib/icon-picker/src/icon-picker.js +39 -80
  23. package/lib/icon-picker/src/icon-picker.min.js +1 -1
  24. package/lib/index.umd.js +185 -146
  25. package/lib/index.umd.min.js +1 -1
  26. package/lib/pulldown/src/pulldown.js +26 -9
  27. package/lib/pulldown/src/pulldown.min.js +1 -1
  28. package/lib/select/src/select.js +22 -10
  29. package/lib/select/src/select.min.js +1 -1
  30. package/lib/style.css +1 -1
  31. package/lib/style.min.css +1 -1
  32. package/lib/table-select/src/table-select.js +18 -12
  33. package/lib/table-select/src/table-select.min.js +1 -1
  34. package/lib/tree-select/src/tree-select.js +22 -10
  35. package/lib/tree-select/src/tree-select.min.js +1 -1
  36. package/lib/ui/index.js +1 -1
  37. package/lib/ui/index.min.js +1 -1
  38. package/lib/ui/src/log.js +1 -1
  39. package/lib/ui/src/log.min.js +1 -1
  40. package/package.json +1 -1
  41. package/packages/button/src/button.ts +19 -6
  42. package/packages/date-picker/src/date-picker.ts +18 -5
  43. package/packages/date-range-picker/src/date-range-picker.ts +18 -5
  44. package/packages/icon-picker/src/icon-picker.ts +37 -71
  45. package/packages/pulldown/src/pulldown.ts +27 -6
  46. package/packages/select/src/select.ts +21 -7
  47. package/packages/table-select/src/table-select.ts +17 -7
  48. package/packages/tree-select/src/tree-select.ts +21 -7
  49. package/types/components/button.d.ts +18 -0
  50. package/types/components/date-picker.d.ts +8 -0
  51. package/types/components/date-range-picker.d.ts +8 -0
  52. package/types/components/icon-picker.d.ts +24 -0
  53. package/types/components/pulldown.d.ts +28 -0
  54. package/types/components/select.d.ts +26 -0
  55. package/types/components/table-select.d.ts +16 -1
  56. package/types/components/tree-select.d.ts +20 -2
  57. /package/es/icon/{iconfont.1768284745337.ttf → iconfont.1768381374840.ttf} +0 -0
  58. /package/es/icon/{iconfont.1768284745337.woff → iconfont.1768381374840.woff} +0 -0
  59. /package/es/icon/{iconfont.1768284745337.woff2 → iconfont.1768381374840.woff2} +0 -0
  60. /package/es/{iconfont.1768284745337.ttf → iconfont.1768381374840.ttf} +0 -0
  61. /package/es/{iconfont.1768284745337.woff → iconfont.1768381374840.woff} +0 -0
  62. /package/es/{iconfont.1768284745337.woff2 → iconfont.1768381374840.woff2} +0 -0
  63. /package/lib/icon/style/{iconfont.1768284745337.ttf → iconfont.1768381374840.ttf} +0 -0
  64. /package/lib/icon/style/{iconfont.1768284745337.woff → iconfont.1768381374840.woff} +0 -0
  65. /package/lib/icon/style/{iconfont.1768284745337.woff2 → iconfont.1768381374840.woff2} +0 -0
  66. /package/lib/{iconfont.1768284745337.ttf → iconfont.1768381374840.ttf} +0 -0
  67. /package/lib/{iconfont.1768284745337.woff → iconfont.1768381374840.woff} +0 -0
  68. /package/lib/{iconfont.1768284745337.woff2 → iconfont.1768381374840.woff2} +0 -0
package/lib/index.umd.js CHANGED
@@ -3661,14 +3661,14 @@ function checkDynamic() {
3661
3661
  }
3662
3662
  ;// CONCATENATED MODULE: ./packages/ui/src/log.ts
3663
3663
 
3664
- const log_version = `ui v${"4.11.44"}`;
3664
+ const log_version = `ui v${"4.11.45"}`;
3665
3665
  const warnLog = log.create('warn', log_version);
3666
3666
  const errLog = log.create('error', log_version);
3667
3667
  ;// CONCATENATED MODULE: ./packages/ui/index.ts
3668
3668
 
3669
3669
 
3670
3670
 
3671
- const ui_version = "4.11.44";
3671
+ const ui_version = "4.11.45";
3672
3672
  index_esm_VxeUI.uiVersion = ui_version;
3673
3673
  index_esm_VxeUI.dynamicApp = dynamicApp;
3674
3674
  function config(options) {
@@ -6806,6 +6806,7 @@ const VxeButtonComponent = defineVxeComponent({
6806
6806
  type: Boolean,
6807
6807
  default: () => getConfig().button.destroyOnClose
6808
6808
  },
6809
+ popupConfig: Object,
6809
6810
  /**
6810
6811
  * 是否将弹框容器插入于 body 内
6811
6812
  */
@@ -6865,6 +6866,10 @@ const VxeButtonComponent = defineVxeComponent({
6865
6866
  const {
6866
6867
  transfer
6867
6868
  } = props;
6869
+ const popupOpts = computePopupOpts.value;
6870
+ if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isBoolean(popupOpts.transfer)) {
6871
+ return popupOpts.transfer;
6872
+ }
6868
6873
  if (transfer === null) {
6869
6874
  const globalTransfer = getConfig().button.transfer;
6870
6875
  if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isBoolean(globalTransfer)) {
@@ -6964,6 +6969,9 @@ const VxeButtonComponent = defineVxeComponent({
6964
6969
  }
6965
6970
  return [];
6966
6971
  });
6972
+ const computePopupOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
6973
+ return Object.assign({}, getConfig().button.popupConfig, props.popupConfig);
6974
+ });
6967
6975
  const computePrefixTipOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
6968
6976
  return Object.assign({}, getConfig().button.prefixTooltip, props.prefixTooltip);
6969
6977
  });
@@ -6971,11 +6979,10 @@ const VxeButtonComponent = defineVxeComponent({
6971
6979
  return Object.assign({}, getConfig().button.suffixTooltip, props.suffixTooltip);
6972
6980
  });
6973
6981
  const updateZindex = () => {
6974
- const {
6975
- zIndex
6976
- } = props;
6977
- if (zIndex) {
6978
- reactData.panelIndex = zIndex;
6982
+ const popupOpts = computePopupOpts.value;
6983
+ const customZIndex = popupOpts.zIndex || props.zIndex;
6984
+ if (customZIndex) {
6985
+ reactData.panelIndex = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(customZIndex);
6979
6986
  } else if (reactData.panelIndex < getLastZIndex()) {
6980
6987
  reactData.panelIndex = nextZIndex();
6981
6988
  }
@@ -6990,9 +6997,10 @@ const VxeButtonComponent = defineVxeComponent({
6990
6997
  const targetElem = refButton.value;
6991
6998
  const panelElem = refBtnPanel.value;
6992
6999
  const btnTransfer = computeBtnTransfer.value;
7000
+ const popupOpts = computePopupOpts.value;
6993
7001
  const handleStyle = () => {
6994
7002
  const ppObj = updatePanelPlacement(targetElem, panelElem, {
6995
- placement,
7003
+ placement: popupOpts.placement || placement,
6996
7004
  teleportTo: btnTransfer
6997
7005
  });
6998
7006
  const panelStyle = Object.assign(ppObj.style, {
@@ -7300,7 +7308,6 @@ const VxeButtonComponent = defineVxeComponent({
7300
7308
  const renderVN = () => {
7301
7309
  const {
7302
7310
  className,
7303
- popupClassName,
7304
7311
  trigger,
7305
7312
  title,
7306
7313
  routerLink,
@@ -7326,8 +7333,10 @@ const VxeButtonComponent = defineVxeComponent({
7326
7333
  const btnDisabled = computeBtnDisabled.value;
7327
7334
  const permissionInfo = computePermissionInfo.value;
7328
7335
  const downBtnList = computeDownBtnList.value;
7336
+ const popupOpts = computePopupOpts.value;
7329
7337
  const vSize = computeSize.value;
7330
7338
  const dropdownsSlot = slots.dropdowns;
7339
+ const ppClassName = popupOpts.className || props.popupClassName;
7331
7340
  if (!permissionInfo.visible) {
7332
7341
  return renderEmptyElement($xeButton);
7333
7342
  }
@@ -7403,9 +7412,9 @@ const VxeButtonComponent = defineVxeComponent({
7403
7412
  disabled: btnTransfer ? !initialized : true
7404
7413
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
7405
7414
  ref: refBtnPanel,
7406
- class: ['vxe-button--dropdown-panel', popupClassName ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(popupClassName) ? popupClassName({
7415
+ class: ['vxe-button--dropdown-panel', ppClassName ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(ppClassName) ? ppClassName({
7407
7416
  $button: $xeButton
7408
- }) : popupClassName : '', {
7417
+ }) : ppClassName : '', {
7409
7418
  [`size--${vSize}`]: vSize,
7410
7419
  'is--transfer': btnTransfer,
7411
7420
  'ani--leave': isAniVisible,
@@ -20554,6 +20563,7 @@ const DatePanel = VxeDatePanel;
20554
20563
  type: Boolean,
20555
20564
  default: null
20556
20565
  },
20566
+ popupConfig: Object,
20557
20567
  shortcutConfig: Object,
20558
20568
  // 已废弃 startWeek,被 startDay 替换
20559
20569
  startWeek: Number
@@ -20608,6 +20618,10 @@ const DatePanel = VxeDatePanel;
20608
20618
  const {
20609
20619
  transfer
20610
20620
  } = props;
20621
+ const popupOpts = computePopupOpts.value;
20622
+ if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isBoolean(popupOpts.transfer)) {
20623
+ return popupOpts.transfer;
20624
+ }
20611
20625
  if (transfer === null) {
20612
20626
  const globalTransfer = getConfig().datePicker.transfer;
20613
20627
  if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isBoolean(globalTransfer)) {
@@ -20684,6 +20698,9 @@ const DatePanel = VxeDatePanel;
20684
20698
  } = props;
20685
20699
  return immediate;
20686
20700
  });
20701
+ const computePopupOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
20702
+ return Object.assign({}, getConfig().datePicker.popupConfig, props.popupConfig);
20703
+ });
20687
20704
  const computeShortcutOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
20688
20705
  return Object.assign({}, getConfig().datePicker.shortcutConfig, props.shortcutConfig);
20689
20706
  });
@@ -21022,11 +21039,10 @@ const DatePanel = VxeDatePanel;
21022
21039
  };
21023
21040
  // 弹出面板
21024
21041
  const updateZindex = () => {
21025
- const {
21026
- zIndex
21027
- } = props;
21028
- if (zIndex) {
21029
- reactData.panelIndex = zIndex;
21042
+ const popupOpts = computePopupOpts.value;
21043
+ const customZIndex = popupOpts.zIndex || props.zIndex;
21044
+ if (customZIndex) {
21045
+ reactData.panelIndex = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(customZIndex);
21030
21046
  } else if (reactData.panelIndex < getLastZIndex()) {
21031
21047
  reactData.panelIndex = nextZIndex();
21032
21048
  }
@@ -21041,9 +21057,10 @@ const DatePanel = VxeDatePanel;
21041
21057
  const targetElem = refInputTarget.value;
21042
21058
  const panelElem = refInputPanel.value;
21043
21059
  const btnTransfer = computeBtnTransfer.value;
21060
+ const popupOpts = computePopupOpts.value;
21044
21061
  const handleStyle = () => {
21045
21062
  const ppObj = updatePanelPlacement(targetElem, panelElem, {
21046
- placement,
21063
+ placement: popupOpts.placement || placement,
21047
21064
  teleportTo: btnTransfer
21048
21065
  });
21049
21066
  const panelStyle = Object.assign(ppObj.style, {
@@ -21232,6 +21249,7 @@ const DatePanel = VxeDatePanel;
21232
21249
  const isClearable = computeIsClearable.value;
21233
21250
  const isDateTimeType = computeIsDateTimeType.value;
21234
21251
  const shortcutList = computeShortcutList.value;
21252
+ const popupOpts = computePopupOpts.value;
21235
21253
  const {
21236
21254
  position
21237
21255
  } = shortcutOpts;
@@ -21241,6 +21259,7 @@ const DatePanel = VxeDatePanel;
21241
21259
  const bottomSlot = slots.bottom;
21242
21260
  const leftSlot = slots.left;
21243
21261
  const rightSlot = slots.right;
21262
+ const ppClassName = popupOpts.className;
21244
21263
  const hasShortcutBtn = shortcutList.length > 0;
21245
21264
  const showConfirmBtn = showConfirmButton === null ? isDateTimeType || multiple : showConfirmButton;
21246
21265
  const showClearBtn = showClearButton === null ? isClearable && showConfirmBtn && type !== 'time' : showClearButton;
@@ -21249,7 +21268,9 @@ const DatePanel = VxeDatePanel;
21249
21268
  disabled: btnTransfer ? !initialized : true
21250
21269
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
21251
21270
  ref: refInputPanel,
21252
- class: ['vxe-table--ignore-clear vxe-date-picker--panel', `type--${type}`, {
21271
+ class: ['vxe-table--ignore-clear vxe-date-picker--panel', `type--${type}`, ppClassName ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(ppClassName) ? ppClassName({
21272
+ $datePicker: $xeDatePicker
21273
+ }) : ppClassName : '', {
21253
21274
  [`size--${vSize}`]: vSize,
21254
21275
  'is--transfer': btnTransfer,
21255
21276
  'ani--leave': isAniVisible,
@@ -21586,6 +21607,7 @@ const DatePicker = VxeDatePicker;
21586
21607
  type: Boolean,
21587
21608
  default: null
21588
21609
  },
21610
+ popupConfig: Object,
21589
21611
  shortcutConfig: Object
21590
21612
  },
21591
21613
  emits: ['update:modelValue', 'update:startValue', 'update:endValue', 'input', 'change', 'keydown', 'keyup', 'click', 'focus', 'blur', 'clear', 'confirm', 'prefix-click', 'suffix-click', 'date-prev', 'date-today', 'date-next', 'shortcut-click'],
@@ -21641,6 +21663,10 @@ const DatePicker = VxeDatePicker;
21641
21663
  const {
21642
21664
  transfer
21643
21665
  } = props;
21666
+ const popupOpts = computePopupOpts.value;
21667
+ if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isBoolean(popupOpts.transfer)) {
21668
+ return popupOpts.transfer;
21669
+ }
21644
21670
  if (transfer === null) {
21645
21671
  const globalTransfer = getConfig().dateRangePicker.transfer;
21646
21672
  if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isBoolean(globalTransfer)) {
@@ -21744,6 +21770,9 @@ const DatePicker = VxeDatePicker;
21744
21770
  } = props;
21745
21771
  return immediate;
21746
21772
  });
21773
+ const computePopupOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
21774
+ return Object.assign({}, getConfig().dateRangePicker.popupConfig, props.popupConfig);
21775
+ });
21747
21776
  const computeShortcutOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
21748
21777
  return Object.assign({}, getConfig().dateRangePicker.shortcutConfig, props.shortcutConfig);
21749
21778
  });
@@ -22241,11 +22270,10 @@ const DatePicker = VxeDatePicker;
22241
22270
  };
22242
22271
  // 弹出面板
22243
22272
  const updateZindex = () => {
22244
- const {
22245
- zIndex
22246
- } = props;
22247
- if (zIndex) {
22248
- reactData.panelIndex = zIndex;
22273
+ const popupOpts = computePopupOpts.value;
22274
+ const customZIndex = popupOpts.zIndex || props.zIndex;
22275
+ if (customZIndex) {
22276
+ reactData.panelIndex = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(customZIndex);
22249
22277
  } else if (reactData.panelIndex < getLastZIndex()) {
22250
22278
  reactData.panelIndex = nextZIndex();
22251
22279
  }
@@ -22260,9 +22288,10 @@ const DatePicker = VxeDatePicker;
22260
22288
  const targetElem = refInputTarget.value;
22261
22289
  const panelElem = refInputPanel.value;
22262
22290
  const btnTransfer = computeBtnTransfer.value;
22291
+ const popupOpts = computePopupOpts.value;
22263
22292
  const handleStyle = () => {
22264
22293
  const ppObj = updatePanelPlacement(targetElem, panelElem, {
22265
- placement,
22294
+ placement: popupOpts.placement || placement,
22266
22295
  teleportTo: btnTransfer
22267
22296
  });
22268
22297
  const panelStyle = Object.assign(ppObj.style, {
@@ -22466,6 +22495,7 @@ const DatePicker = VxeDatePicker;
22466
22495
  const isDateTimeType = computeIsDateTimeType.value;
22467
22496
  const defaultDates = computeDefaultDates.value;
22468
22497
  const defaultTimes = computeDefaultTimes.value;
22498
+ const popupOpts = computePopupOpts.value;
22469
22499
  const {
22470
22500
  startLabel,
22471
22501
  endLabel
@@ -22479,6 +22509,7 @@ const DatePicker = VxeDatePicker;
22479
22509
  const bottomSlot = slots.bottom;
22480
22510
  const leftSlot = slots.left;
22481
22511
  const rightSlot = slots.right;
22512
+ const ppClassName = popupOpts.className;
22482
22513
  const [sdDate, edDate] = defaultDates;
22483
22514
  const [sdTime, edTime] = defaultTimes;
22484
22515
  const hasShortcutBtn = shortcutList.length > 0;
@@ -22489,7 +22520,9 @@ const DatePicker = VxeDatePicker;
22489
22520
  disabled: btnTransfer ? !initialized : true
22490
22521
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
22491
22522
  ref: refInputPanel,
22492
- class: ['vxe-table--ignore-clear vxe-date-range-picker--panel', `type--${type}`, {
22523
+ class: ['vxe-table--ignore-clear vxe-date-range-picker--panel', `type--${type}`, ppClassName ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(ppClassName) ? ppClassName({
22524
+ $dateRangePicker: $xeDateRangePicker
22525
+ }) : ppClassName : '', {
22493
22526
  [`size--${vSize}`]: vSize,
22494
22527
  'is--transfer': btnTransfer,
22495
22528
  'ani--leave': isAniVisible,
@@ -26401,6 +26434,10 @@ const Icon = VxeIcon;
26401
26434
  default: () => getConfig().iconPicker.size || getConfig().size
26402
26435
  },
26403
26436
  className: [String, Function],
26437
+ /**
26438
+ * 已废弃,请使用 popupConfig.className
26439
+ * @deprecated
26440
+ */
26404
26441
  popupClassName: [String, Function],
26405
26442
  showIconTitle: {
26406
26443
  type: Boolean,
@@ -26416,6 +26453,7 @@ const Icon = VxeIcon;
26416
26453
  },
26417
26454
  icons: Array,
26418
26455
  placement: String,
26456
+ popupConfig: Object,
26419
26457
  transfer: {
26420
26458
  type: Boolean,
26421
26459
  default: null
@@ -26490,6 +26528,10 @@ const Icon = VxeIcon;
26490
26528
  const {
26491
26529
  transfer
26492
26530
  } = props;
26531
+ const popupOpts = computePopupOpts.value;
26532
+ if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isBoolean(popupOpts.transfer)) {
26533
+ return popupOpts.transfer;
26534
+ }
26493
26535
  if (transfer === null) {
26494
26536
  const globalTransfer = getConfig().iconPicker.transfer;
26495
26537
  if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isBoolean(globalTransfer)) {
@@ -26535,6 +26577,9 @@ const Icon = VxeIcon;
26535
26577
  };
26536
26578
  });
26537
26579
  });
26580
+ const computePopupOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
26581
+ return Object.assign({}, getConfig().iconPicker.popupConfig, props.popupConfig);
26582
+ });
26538
26583
  const computeIconGroupList = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
26539
26584
  const iconList = computeIconList.value;
26540
26585
  return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().chunk(iconList, 4);
@@ -26552,83 +26597,29 @@ const Icon = VxeIcon;
26552
26597
  }
26553
26598
  };
26554
26599
  const updatePlacement = () => {
26555
- return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)().then(() => {
26556
- const {
26557
- placement
26558
- } = props;
26559
- const {
26560
- panelIndex
26561
- } = reactData;
26562
- const el = refElem.value;
26563
- const panelElem = refOptionPanel.value;
26564
- const btnTransfer = computeBtnTransfer.value;
26565
- if (panelElem && el) {
26566
- const targetHeight = el.offsetHeight;
26567
- const targetWidth = el.offsetWidth;
26568
- const panelHeight = panelElem.offsetHeight;
26569
- const panelWidth = panelElem.offsetWidth;
26570
- const marginSize = 5;
26571
- const panelStyle = {
26572
- zIndex: panelIndex
26573
- };
26574
- const {
26575
- boundingTop,
26576
- boundingLeft,
26577
- visibleHeight,
26578
- visibleWidth
26579
- } = getAbsolutePos(el);
26580
- let panelPlacement = 'bottom';
26581
- if (btnTransfer) {
26582
- let left = boundingLeft;
26583
- let top = boundingTop + targetHeight;
26584
- if (placement === 'top') {
26585
- panelPlacement = 'top';
26586
- top = boundingTop - panelHeight;
26587
- } else if (!placement) {
26588
- // 如果下面不够放,则向上
26589
- if (top + panelHeight + marginSize > visibleHeight) {
26590
- panelPlacement = 'top';
26591
- top = boundingTop - panelHeight;
26592
- }
26593
- // 如果上面不够放,则向下(优先)
26594
- if (top < marginSize) {
26595
- panelPlacement = 'bottom';
26596
- top = boundingTop + targetHeight;
26597
- }
26598
- }
26599
- // 如果溢出右边
26600
- if (left + panelWidth + marginSize > visibleWidth) {
26601
- left -= left + panelWidth + marginSize - visibleWidth;
26602
- }
26603
- // 如果溢出左边
26604
- if (left < marginSize) {
26605
- left = marginSize;
26606
- }
26607
- Object.assign(panelStyle, {
26608
- left: `${left}px`,
26609
- top: `${top}px`,
26610
- minWidth: `${targetWidth}px`
26611
- });
26612
- } else {
26613
- if (placement === 'top') {
26614
- panelPlacement = 'top';
26615
- panelStyle.bottom = `${targetHeight}px`;
26616
- } else if (!placement) {
26617
- // 如果下面不够放,则向上
26618
- if (boundingTop + targetHeight + panelHeight > visibleHeight) {
26619
- // 如果上面不够放,则向下(优先)
26620
- if (boundingTop - targetHeight - panelHeight > marginSize) {
26621
- panelPlacement = 'top';
26622
- panelStyle.bottom = `${targetHeight}px`;
26623
- }
26624
- }
26625
- }
26626
- }
26627
- reactData.panelStyle = panelStyle;
26628
- reactData.panelPlacement = panelPlacement;
26629
- return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
26630
- }
26631
- });
26600
+ const {
26601
+ placement
26602
+ } = props;
26603
+ const {
26604
+ panelIndex
26605
+ } = reactData;
26606
+ const targetElem = refElem.value;
26607
+ const panelElem = refOptionPanel.value;
26608
+ const btnTransfer = computeBtnTransfer.value;
26609
+ const popupOpts = computePopupOpts.value;
26610
+ const handleStyle = () => {
26611
+ const ppObj = updatePanelPlacement(targetElem, panelElem, {
26612
+ placement: popupOpts.placement || placement,
26613
+ teleportTo: btnTransfer
26614
+ });
26615
+ const panelStyle = Object.assign(ppObj.style, {
26616
+ zIndex: panelIndex
26617
+ });
26618
+ reactData.panelStyle = panelStyle;
26619
+ reactData.panelPlacement = ppObj.placement;
26620
+ };
26621
+ handleStyle();
26622
+ return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)().then(handleStyle);
26632
26623
  };
26633
26624
  const showOptionPanel = () => {
26634
26625
  const {
@@ -26921,7 +26912,6 @@ const Icon = VxeIcon;
26921
26912
  const renderVN = () => {
26922
26913
  const {
26923
26914
  className,
26924
- popupClassName,
26925
26915
  clearable
26926
26916
  } = props;
26927
26917
  const {
@@ -26936,6 +26926,8 @@ const Icon = VxeIcon;
26936
26926
  const btnTransfer = computeBtnTransfer.value;
26937
26927
  const formReadonly = computeFormReadonly.value;
26938
26928
  const inpPlaceholder = computeInpPlaceholder.value;
26929
+ const popupOpts = computePopupOpts.value;
26930
+ const ppClassName = popupOpts.className || props.popupClassName;
26939
26931
  if (formReadonly) {
26940
26932
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
26941
26933
  ref: refElem,
@@ -26981,9 +26973,9 @@ const Icon = VxeIcon;
26981
26973
  disabled: btnTransfer ? !initialized : true
26982
26974
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
26983
26975
  ref: refOptionPanel,
26984
- class: ['vxe-table--ignore-clear vxe-ico-picker--panel', popupClassName ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(popupClassName) ? popupClassName({
26976
+ class: ['vxe-table--ignore-clear vxe-ico-picker--panel', ppClassName ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(ppClassName) ? ppClassName({
26985
26977
  $iconPicker: $xeIconPicker
26986
- }) : popupClassName : '', {
26978
+ }) : ppClassName : '', {
26987
26979
  [`size--${vSize}`]: vSize,
26988
26980
  'is--transfer': btnTransfer,
26989
26981
  'ani--leave': isAniVisible,
@@ -31813,11 +31805,19 @@ function select_createInternalData() {
31813
31805
  optionGroupProps: Object,
31814
31806
  optionConfig: Object,
31815
31807
  className: [String, Function],
31808
+ /**
31809
+ * 已废弃,请使用 popupConfig.className
31810
+ * @deprecated
31811
+ */
31816
31812
  popupClassName: [String, Function],
31817
31813
  max: {
31818
31814
  type: [String, Number],
31819
31815
  default: null
31820
31816
  },
31817
+ /**
31818
+ * 已废弃,请使用 popupConfig.zIndex
31819
+ * @deprecated
31820
+ */
31821
31821
  zIndex: Number,
31822
31822
  size: {
31823
31823
  type: String,
@@ -31951,6 +31951,10 @@ function select_createInternalData() {
31951
31951
  const {
31952
31952
  transfer
31953
31953
  } = props;
31954
+ const popupOpts = computePopupOpts.value;
31955
+ if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isBoolean(popupOpts.transfer)) {
31956
+ return popupOpts.transfer;
31957
+ }
31954
31958
  if (transfer === null) {
31955
31959
  const globalTransfer = getConfig().select.transfer;
31956
31960
  if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isBoolean(globalTransfer)) {
@@ -32005,7 +32009,7 @@ function select_createInternalData() {
32005
32009
  return checkMaxLimit(selectVals);
32006
32010
  });
32007
32011
  const computePopupOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
32008
- return Object.assign({}, getConfig().treeSelect.popupConfig, props.popupConfig);
32012
+ return Object.assign({}, getConfig().select.popupConfig, props.popupConfig);
32009
32013
  });
32010
32014
  const computeVirtualYOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
32011
32015
  return Object.assign({}, getConfig().select.virtualYConfig || getConfig().select.scrollY, props.virtualYConfig || props.scrollY);
@@ -32263,11 +32267,10 @@ function select_createInternalData() {
32263
32267
  }
32264
32268
  };
32265
32269
  const updateZIndex = () => {
32266
- const {
32267
- zIndex
32268
- } = props;
32269
- if (zIndex) {
32270
- reactData.panelIndex = zIndex;
32270
+ const popupOpts = computePopupOpts.value;
32271
+ const customZIndex = popupOpts.zIndex || props.zIndex;
32272
+ if (customZIndex) {
32273
+ reactData.panelIndex = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(customZIndex);
32271
32274
  } else if (reactData.panelIndex < getLastZIndex()) {
32272
32275
  reactData.panelIndex = nextZIndex();
32273
32276
  }
@@ -32282,9 +32285,10 @@ function select_createInternalData() {
32282
32285
  const targetElem = refElem.value;
32283
32286
  const panelElem = refOptionPanel.value;
32284
32287
  const btnTransfer = computeBtnTransfer.value;
32288
+ const popupOpts = computePopupOpts.value;
32285
32289
  const handleStyle = () => {
32286
32290
  const ppObj = updatePanelPlacement(targetElem, panelElem, {
32287
- placement,
32291
+ placement: popupOpts.placement || placement,
32288
32292
  teleportTo: btnTransfer
32289
32293
  });
32290
32294
  const panelStyle = Object.assign(ppObj.style, {
@@ -33281,11 +33285,11 @@ function select_createInternalData() {
33281
33285
  const inpPlaceholder = computeInpPlaceholder.value;
33282
33286
  const popupWrapperStyle = computePopupWrapperStyle.value;
33283
33287
  const popupOpts = computePopupOpts.value;
33284
- const popupClassName = popupOpts.className || props.popupClassName;
33285
33288
  const defaultSlot = slots.default;
33286
33289
  const headerSlot = slots.header;
33287
33290
  const footerSlot = slots.footer;
33288
33291
  const prefixSlot = slots.prefix;
33292
+ const ppClassName = popupOpts.className || props.popupClassName;
33289
33293
  if (formReadonly) {
33290
33294
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
33291
33295
  ref: refElem,
@@ -33338,9 +33342,9 @@ function select_createInternalData() {
33338
33342
  disabled: btnTransfer ? !initialized : true
33339
33343
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
33340
33344
  ref: refOptionPanel,
33341
- class: ['vxe-table--ignore-clear vxe-select--panel', popupClassName ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(popupClassName) ? popupClassName({
33345
+ class: ['vxe-table--ignore-clear vxe-select--panel', ppClassName ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(ppClassName) ? ppClassName({
33342
33346
  $select: $xeSelect
33343
- }) : popupClassName : '', {
33347
+ }) : ppClassName : '', {
33344
33348
  [`size--${vSize}`]: vSize,
33345
33349
  'is--transfer': btnTransfer,
33346
33350
  'ani--leave': !loading && isAniVisible,
@@ -35265,6 +35269,10 @@ const Print = VxePrint;
35265
35269
  type: String,
35266
35270
  default: getConfig().pulldown.trigger
35267
35271
  },
35272
+ /**
35273
+ * 已废弃,请使用 popupConfig.zIndex
35274
+ * @deprecated
35275
+ */
35268
35276
  zIndex: Number,
35269
35277
  size: {
35270
35278
  type: String,
@@ -35275,8 +35283,13 @@ const Print = VxePrint;
35275
35283
  type: [String, Function],
35276
35284
  default: getConfig().pulldown.className
35277
35285
  },
35286
+ /**
35287
+ * 已废弃,请使用 popupConfig.className
35288
+ * @deprecated
35289
+ */
35278
35290
  popupClassName: [String, Function],
35279
35291
  showPopupShadow: Boolean,
35292
+ popupConfig: Object,
35280
35293
  destroyOnClose: {
35281
35294
  type: Boolean,
35282
35295
  default: getConfig().pulldown.destroyOnClose
@@ -35319,6 +35332,10 @@ const Print = VxePrint;
35319
35332
  const {
35320
35333
  transfer
35321
35334
  } = props;
35335
+ const popupOpts = computePopupOpts.value;
35336
+ if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isBoolean(popupOpts.transfer)) {
35337
+ return popupOpts.transfer;
35338
+ }
35322
35339
  if (transfer === null) {
35323
35340
  const globalTransfer = getConfig().pulldown.transfer;
35324
35341
  if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isBoolean(globalTransfer)) {
@@ -35330,6 +35347,9 @@ const Print = VxePrint;
35330
35347
  }
35331
35348
  return transfer;
35332
35349
  });
35350
+ const computePopupOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
35351
+ return Object.assign({}, getConfig().pulldown.popupConfig, props.popupConfig);
35352
+ });
35333
35353
  const refMaps = {
35334
35354
  refElem
35335
35355
  };
@@ -35343,11 +35363,10 @@ const Print = VxePrint;
35343
35363
  };
35344
35364
  let pulldownMethods = {};
35345
35365
  const updateZindex = () => {
35346
- const {
35347
- zIndex
35348
- } = props;
35349
- if (zIndex) {
35350
- reactData.panelIndex = zIndex;
35366
+ const popupOpts = computePopupOpts.value;
35367
+ const customZIndex = popupOpts.zIndex || props.zIndex;
35368
+ if (customZIndex) {
35369
+ reactData.panelIndex = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(customZIndex);
35351
35370
  } else if (reactData.panelIndex < getLastZIndex()) {
35352
35371
  reactData.panelIndex = nextZIndex();
35353
35372
  }
@@ -35368,9 +35387,10 @@ const Print = VxePrint;
35368
35387
  const targetElem = refPulldownContent.value;
35369
35388
  const panelElem = refPulldownPanel.value;
35370
35389
  const btnTransfer = computeBtnTransfer.value;
35390
+ const popupOpts = computePopupOpts.value;
35371
35391
  const handleStyle = () => {
35372
35392
  const ppObj = updatePanelPlacement(targetElem, panelElem, {
35373
- placement,
35393
+ placement: popupOpts.placement || placement,
35374
35394
  teleportTo: btnTransfer
35375
35395
  });
35376
35396
  const panelStyle = Object.assign(ppObj.style, {
@@ -35589,7 +35609,6 @@ const Print = VxePrint;
35589
35609
  const {
35590
35610
  className,
35591
35611
  options,
35592
- popupClassName,
35593
35612
  showPopupShadow,
35594
35613
  destroyOnClose,
35595
35614
  disabled
@@ -35604,10 +35623,12 @@ const Print = VxePrint;
35604
35623
  } = reactData;
35605
35624
  const btnTransfer = computeBtnTransfer.value;
35606
35625
  const vSize = computeSize.value;
35626
+ const popupOpts = computePopupOpts.value;
35607
35627
  const defaultSlot = slots.default;
35608
35628
  const headerSlot = slots.header;
35609
35629
  const footerSlot = slots.footer;
35610
35630
  const dropdownSlot = slots.dropdown;
35631
+ const ppClassName = popupOpts.className || props.popupClassName;
35611
35632
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
35612
35633
  ref: refElem,
35613
35634
  class: ['vxe-pulldown', className ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(className) ? className({
@@ -35629,9 +35650,9 @@ const Print = VxePrint;
35629
35650
  disabled: btnTransfer ? !initialized : true
35630
35651
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
35631
35652
  ref: refPulldownPanel,
35632
- class: ['vxe-table--ignore-clear vxe-pulldown--panel', popupClassName ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(popupClassName) ? popupClassName({
35653
+ class: ['vxe-table--ignore-clear vxe-pulldown--panel', ppClassName ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(ppClassName) ? ppClassName({
35633
35654
  $pulldown: $xePulldown
35634
- }) : popupClassName : '', {
35655
+ }) : ppClassName : '', {
35635
35656
  [`size--${vSize}`]: vSize,
35636
35657
  'is--transfer': btnTransfer,
35637
35658
  'ani--leave': isAniVisible,
@@ -38934,6 +38955,10 @@ function table_select_createInternalData() {
38934
38955
  options: Array,
38935
38956
  optionProps: Object,
38936
38957
  lazyOptions: Array,
38958
+ /**
38959
+ * 已废弃,请使用 popupConfig.zIndex
38960
+ * @deprecated
38961
+ */
38937
38962
  zIndex: Number,
38938
38963
  size: {
38939
38964
  type: String,
@@ -39011,8 +39036,12 @@ function table_select_createInternalData() {
39011
39036
  const {
39012
39037
  transfer
39013
39038
  } = props;
39039
+ const popupOpts = computePopupOpts.value;
39040
+ if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isBoolean(popupOpts.transfer)) {
39041
+ return popupOpts.transfer;
39042
+ }
39014
39043
  if (transfer === null) {
39015
- const globalTransfer = getConfig().select.transfer;
39044
+ const globalTransfer = getConfig().tableSelect.transfer;
39016
39045
  if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isBoolean(globalTransfer)) {
39017
39046
  return globalTransfer;
39018
39047
  }
@@ -39286,11 +39315,10 @@ function table_select_createInternalData() {
39286
39315
  updateModel(props.modelValue);
39287
39316
  };
39288
39317
  const updateZindex = () => {
39289
- const {
39290
- zIndex
39291
- } = props;
39292
- if (zIndex) {
39293
- reactData.panelIndex = zIndex;
39318
+ const popupOpts = computePopupOpts.value;
39319
+ const customZIndex = popupOpts.zIndex || props.zIndex;
39320
+ if (customZIndex) {
39321
+ reactData.panelIndex = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(customZIndex);
39294
39322
  } else if (reactData.panelIndex < getLastZIndex()) {
39295
39323
  reactData.panelIndex = nextZIndex();
39296
39324
  }
@@ -39305,9 +39333,10 @@ function table_select_createInternalData() {
39305
39333
  const targetElem = refElem.value;
39306
39334
  const panelElem = refOptionPanel.value;
39307
39335
  const btnTransfer = computeBtnTransfer.value;
39336
+ const popupOpts = computePopupOpts.value;
39308
39337
  const handleStyle = () => {
39309
39338
  const ppObj = updatePanelPlacement(targetElem, panelElem, {
39310
- placement,
39339
+ placement: popupOpts.placement || placement,
39311
39340
  teleportTo: btnTransfer
39312
39341
  });
39313
39342
  const panelStyle = Object.assign(ppObj.style, {
@@ -39522,15 +39551,13 @@ function table_select_createInternalData() {
39522
39551
  const btnTransfer = computeBtnTransfer.value;
39523
39552
  const formReadonly = computeFormReadonly.value;
39524
39553
  const popupOpts = computePopupOpts.value;
39525
- const {
39526
- className: popupClassName
39527
- } = popupOpts;
39528
39554
  const selectGridOpts = computeSelectGridOpts.value;
39529
39555
  const rowOpts = computeRowOpts.value;
39530
39556
  const popupWrapperStyle = computePopupWrapperStyle.value;
39531
39557
  const headerSlot = slots.header;
39532
39558
  const footerSlot = slots.footer;
39533
39559
  const prefixSlot = slots.prefix;
39560
+ const ppClassName = popupOpts.className;
39534
39561
  if (formReadonly) {
39535
39562
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
39536
39563
  ref: refElem,
@@ -39572,9 +39599,9 @@ function table_select_createInternalData() {
39572
39599
  disabled: btnTransfer ? !initialized : true
39573
39600
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
39574
39601
  ref: refOptionPanel,
39575
- class: ['vxe-table--ignore-clear vxe-table-select--panel', popupClassName ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(popupClassName) ? popupClassName({
39602
+ class: ['vxe-table--ignore-clear vxe-table-select--panel', ppClassName ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(ppClassName) ? ppClassName({
39576
39603
  $tableSelect: $xeTableSelect
39577
- }) : popupClassName : '', {
39604
+ }) : ppClassName : '', {
39578
39605
  [`size--${vSize}`]: vSize,
39579
39606
  'is--transfer': btnTransfer,
39580
39607
  'ani--leave': !loading && isAniVisible,
@@ -44972,12 +44999,20 @@ function tree_select_createInternalData() {
44972
44999
  filterConfig: Object,
44973
45000
  multiple: Boolean,
44974
45001
  className: [String, Function],
45002
+ /**
45003
+ * 已废弃,请使用 popupConfig.className
45004
+ * @deprecated
45005
+ */
44975
45006
  popupClassName: [String, Function],
44976
45007
  prefixIcon: String,
44977
45008
  placement: String,
44978
45009
  lazyOptions: Array,
44979
45010
  options: Array,
44980
45011
  optionProps: Object,
45012
+ /**
45013
+ * 已废弃,请使用 popupConfig.zIndex
45014
+ * @deprecated
45015
+ */
44981
45016
  zIndex: Number,
44982
45017
  size: {
44983
45018
  type: String,
@@ -45084,8 +45119,12 @@ function tree_select_createInternalData() {
45084
45119
  const {
45085
45120
  transfer
45086
45121
  } = props;
45122
+ const popupOpts = computePopupOpts.value;
45123
+ if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isBoolean(popupOpts.transfer)) {
45124
+ return popupOpts.transfer;
45125
+ }
45087
45126
  if (transfer === null) {
45088
- const globalTransfer = getConfig().select.transfer;
45127
+ const globalTransfer = getConfig().treeSelect.transfer;
45089
45128
  if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isBoolean(globalTransfer)) {
45090
45129
  return globalTransfer;
45091
45130
  }
@@ -45292,11 +45331,10 @@ function tree_select_createInternalData() {
45292
45331
  internalData.fullNodeMaps = nodeMaps;
45293
45332
  };
45294
45333
  const updateZindex = () => {
45295
- const {
45296
- zIndex
45297
- } = props;
45298
- if (zIndex) {
45299
- reactData.panelIndex = zIndex;
45334
+ const popupOpts = computePopupOpts.value;
45335
+ const customZIndex = popupOpts.zIndex || props.zIndex;
45336
+ if (customZIndex) {
45337
+ reactData.panelIndex = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(customZIndex);
45300
45338
  } else if (reactData.panelIndex < getLastZIndex()) {
45301
45339
  reactData.panelIndex = nextZIndex();
45302
45340
  }
@@ -45311,9 +45349,10 @@ function tree_select_createInternalData() {
45311
45349
  const targetElem = refElem.value;
45312
45350
  const panelElem = refOptionPanel.value;
45313
45351
  const btnTransfer = computeBtnTransfer.value;
45352
+ const popupOpts = computePopupOpts.value;
45314
45353
  const handleStyle = () => {
45315
45354
  const ppObj = updatePanelPlacement(targetElem, panelElem, {
45316
- placement,
45355
+ placement: popupOpts.placement || placement,
45317
45356
  teleportTo: btnTransfer
45318
45357
  });
45319
45358
  const panelStyle = Object.assign(ppObj.style, {
@@ -45636,7 +45675,7 @@ function tree_select_createInternalData() {
45636
45675
  const footerSlot = slots.footer;
45637
45676
  const prefixSlot = slots.prefix;
45638
45677
  const popupOpts = computePopupOpts.value;
45639
- const popupClassName = popupOpts.className || props.popupClassName;
45678
+ const ppClassName = popupOpts.className || props.popupClassName;
45640
45679
  if (formReadonly) {
45641
45680
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
45642
45681
  ref: refElem,
@@ -45714,9 +45753,9 @@ function tree_select_createInternalData() {
45714
45753
  disabled: btnTransfer ? !initialized : true
45715
45754
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
45716
45755
  ref: refOptionPanel,
45717
- class: ['vxe-table--ignore-clear vxe-tree-select--panel', popupClassName ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(popupClassName) ? popupClassName({
45756
+ class: ['vxe-table--ignore-clear vxe-tree-select--panel', ppClassName ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(ppClassName) ? ppClassName({
45718
45757
  $treeSelect: $xeTreeSelect
45719
- }) : popupClassName : '', {
45758
+ }) : ppClassName : '', {
45720
45759
  [`size--${vSize}`]: vSize,
45721
45760
  'is--transfer': btnTransfer,
45722
45761
  'ani--leave': !loading && isAniVisible,