vxe-pc-ui 4.4.1 → 4.4.3

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 (80) hide show
  1. package/es/color-picker/src/color-picker.js +2 -2
  2. package/es/date-picker/src/date-picker.js +1 -1
  3. package/es/form/src/form.js +1 -1
  4. package/es/icon/style.css +1 -1
  5. package/es/icon-picker/src/icon-picker.js +1 -1
  6. package/es/input/src/input.js +4 -4
  7. package/es/number-input/src/number-input.js +3 -3
  8. package/es/pulldown/src/pulldown.js +1 -1
  9. package/es/select/src/select.js +67 -19
  10. package/es/select/style.css +17 -0
  11. package/es/select/style.min.css +1 -1
  12. package/es/style.css +1 -1
  13. package/es/style.min.css +1 -1
  14. package/es/table-select/src/table-select.js +1 -1
  15. package/es/tree-select/src/tree-select.js +1 -1
  16. package/es/ui/index.js +2 -1
  17. package/es/ui/src/log.js +1 -1
  18. package/es/vxe-select/style.css +17 -0
  19. package/es/vxe-select/style.min.css +1 -1
  20. package/lib/color-picker/src/color-picker.js +2 -2
  21. package/lib/color-picker/src/color-picker.min.js +1 -1
  22. package/lib/date-picker/src/date-picker.js +1 -1
  23. package/lib/date-picker/src/date-picker.min.js +1 -1
  24. package/lib/form/src/form.js +1 -1
  25. package/lib/form/src/form.min.js +1 -1
  26. package/lib/icon/style/style.css +1 -1
  27. package/lib/icon/style/style.min.css +1 -1
  28. package/lib/icon-picker/src/icon-picker.js +1 -1
  29. package/lib/icon-picker/src/icon-picker.min.js +1 -1
  30. package/lib/index.umd.js +88 -31
  31. package/lib/index.umd.min.js +1 -1
  32. package/lib/input/src/input.js +4 -4
  33. package/lib/input/src/input.min.js +1 -1
  34. package/lib/number-input/src/number-input.js +3 -3
  35. package/lib/number-input/src/number-input.min.js +1 -1
  36. package/lib/pulldown/src/pulldown.js +1 -1
  37. package/lib/pulldown/src/pulldown.min.js +1 -1
  38. package/lib/select/src/select.js +70 -14
  39. package/lib/select/src/select.min.js +1 -1
  40. package/lib/select/style/style.css +17 -0
  41. package/lib/select/style/style.min.css +1 -1
  42. package/lib/style.css +1 -1
  43. package/lib/style.min.css +1 -1
  44. package/lib/table-select/src/table-select.js +1 -1
  45. package/lib/table-select/src/table-select.min.js +1 -1
  46. package/lib/tree-select/src/tree-select.js +1 -1
  47. package/lib/tree-select/src/tree-select.min.js +1 -1
  48. package/lib/ui/index.js +2 -1
  49. package/lib/ui/index.min.js +1 -1
  50. package/lib/ui/src/log.js +1 -1
  51. package/lib/ui/src/log.min.js +1 -1
  52. package/lib/vxe-select/style/style.css +17 -0
  53. package/lib/vxe-select/style/style.min.css +1 -1
  54. package/package.json +1 -1
  55. package/packages/color-picker/src/color-picker.ts +3 -3
  56. package/packages/date-picker/src/date-picker.ts +1 -1
  57. package/packages/form/src/form.ts +1 -1
  58. package/packages/icon-picker/src/icon-picker.ts +1 -1
  59. package/packages/input/src/input.ts +4 -4
  60. package/packages/number-input/src/number-input.ts +3 -3
  61. package/packages/pulldown/src/pulldown.ts +1 -1
  62. package/packages/select/src/select.ts +68 -19
  63. package/packages/table-select/src/table-select.ts +1 -1
  64. package/packages/tree-select/src/tree-select.ts +1 -1
  65. package/packages/ui/index.ts +1 -0
  66. package/styles/components/select.scss +19 -0
  67. package/types/components/select.d.ts +15 -2
  68. package/types/ui/global-icon.d.ts +1 -0
  69. /package/es/icon/{iconfont.1741079794679.ttf → iconfont.1741230076540.ttf} +0 -0
  70. /package/es/icon/{iconfont.1741079794679.woff → iconfont.1741230076540.woff} +0 -0
  71. /package/es/icon/{iconfont.1741079794679.woff2 → iconfont.1741230076540.woff2} +0 -0
  72. /package/es/{iconfont.1741079794679.ttf → iconfont.1741230076540.ttf} +0 -0
  73. /package/es/{iconfont.1741079794679.woff → iconfont.1741230076540.woff} +0 -0
  74. /package/es/{iconfont.1741079794679.woff2 → iconfont.1741230076540.woff2} +0 -0
  75. /package/lib/icon/style/{iconfont.1741079794679.ttf → iconfont.1741230076540.ttf} +0 -0
  76. /package/lib/icon/style/{iconfont.1741079794679.woff → iconfont.1741230076540.woff} +0 -0
  77. /package/lib/icon/style/{iconfont.1741079794679.woff2 → iconfont.1741230076540.woff2} +0 -0
  78. /package/lib/{iconfont.1741079794679.ttf → iconfont.1741230076540.ttf} +0 -0
  79. /package/lib/{iconfont.1741079794679.woff → iconfont.1741230076540.woff} +0 -0
  80. /package/lib/{iconfont.1741079794679.woff2 → iconfont.1741230076540.woff2} +0 -0
package/lib/index.umd.js CHANGED
@@ -4149,14 +4149,14 @@ function checkDynamic() {
4149
4149
  }
4150
4150
  ;// CONCATENATED MODULE: ./packages/ui/src/log.ts
4151
4151
 
4152
- const log_version = `ui v${"4.4.1"}`;
4152
+ const log_version = `ui v${"4.4.3"}`;
4153
4153
  const warnLog = log.create('warn', log_version);
4154
4154
  const errLog = log.create('error', log_version);
4155
4155
  ;// CONCATENATED MODULE: ./packages/ui/index.ts
4156
4156
 
4157
4157
 
4158
4158
 
4159
- const ui_version = "4.4.1";
4159
+ const ui_version = "4.4.3";
4160
4160
  index_esm_VxeUI.uiVersion = ui_version;
4161
4161
  index_esm_VxeUI.dynamicApp = dynamicApp;
4162
4162
  function config(options) {
@@ -4514,6 +4514,7 @@ setIcon({
4514
4514
  SELECT_LOADED: iconPrefix + 'spinner roll',
4515
4515
  SELECT_OPEN: iconPrefix + 'caret-down rotate180',
4516
4516
  SELECT_CLOSE: iconPrefix + 'caret-down',
4517
+ ADD_OPTION: iconPrefix + 'add',
4517
4518
  // icon-picker
4518
4519
  ICON_PICKER_OPEN: iconPrefix + 'caret-down rotate180',
4519
4520
  ICON_PICKER_CLOSE: iconPrefix + 'caret-down',
@@ -11072,7 +11073,7 @@ function toFloatValueFixed(inputValue, digitsValue) {
11072
11073
  const hidePanel = () => {
11073
11074
  return new Promise(resolve => {
11074
11075
  reactData.visiblePanel = false;
11075
- internalData.hpTimeout = window.setTimeout(() => {
11076
+ internalData.hpTimeout = setTimeout(() => {
11076
11077
  reactData.isAniVisible = false;
11077
11078
  resolve();
11078
11079
  }, 350);
@@ -11403,7 +11404,7 @@ function toFloatValueFixed(inputValue, digitsValue) {
11403
11404
  }, evnt);
11404
11405
  };
11405
11406
  const numberDownNextEvent = evnt => {
11406
- internalData.dnTimeout = window.setTimeout(() => {
11407
+ internalData.dnTimeout = setTimeout(() => {
11407
11408
  numberNextEvent(evnt);
11408
11409
  numberDownNextEvent(evnt);
11409
11410
  }, 60);
@@ -11473,7 +11474,7 @@ function toFloatValueFixed(inputValue, digitsValue) {
11473
11474
  }
11474
11475
  };
11475
11476
  const numberDownPrevEvent = evnt => {
11476
- internalData.dnTimeout = window.setTimeout(() => {
11477
+ internalData.dnTimeout = setTimeout(() => {
11477
11478
  numberPrevEvent(evnt);
11478
11479
  numberDownPrevEvent(evnt);
11479
11480
  }, 60);
@@ -11487,7 +11488,7 @@ function toFloatValueFixed(inputValue, digitsValue) {
11487
11488
  } else {
11488
11489
  numberNextEvent(evnt);
11489
11490
  }
11490
- internalData.dnTimeout = window.setTimeout(() => {
11491
+ internalData.dnTimeout = setTimeout(() => {
11491
11492
  if (isPrevNumber) {
11492
11493
  numberDownPrevEvent(evnt);
11493
11494
  } else {
@@ -12893,7 +12894,6 @@ function toFloatValueFixed(inputValue, digitsValue) {
12893
12894
 
12894
12895
 
12895
12896
 
12896
- const WinEyeDropper = window.EyeDropper;
12897
12897
  /* harmony default export */ var color_picker = ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
12898
12898
  name: 'VxeColorPicker',
12899
12899
  props: {
@@ -12961,6 +12961,7 @@ const WinEyeDropper = window.EyeDropper;
12961
12961
  const $xeTable = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('$xeTable', null);
12962
12962
  const $xeForm = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('$xeForm', null);
12963
12963
  const formItemInfo = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.inject)('xeFormItemInfo', null);
12964
+ const WinEyeDropper = typeof window !== 'undefined' ? window.EyeDropper : null;
12964
12965
  const xID = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().uniqueId();
12965
12966
  const {
12966
12967
  computeSize
@@ -13245,7 +13246,7 @@ const WinEyeDropper = window.EyeDropper;
13245
13246
  };
13246
13247
  const hideOptionPanel = () => {
13247
13248
  reactData.visiblePanel = false;
13248
- internalData.hpTimeout = window.setTimeout(() => {
13249
+ internalData.hpTimeout = setTimeout(() => {
13249
13250
  reactData.isAniVisible = false;
13250
13251
  }, 350);
13251
13252
  };
@@ -14981,7 +14982,7 @@ const Countdown = VxeCountdown;
14981
14982
  const hidePanel = () => {
14982
14983
  return new Promise(resolve => {
14983
14984
  reactData.visiblePanel = false;
14984
- internalData.hpTimeout = window.setTimeout(() => {
14985
+ internalData.hpTimeout = setTimeout(() => {
14985
14986
  reactData.isAniVisible = false;
14986
14987
  resolve();
14987
14988
  }, 350);
@@ -18658,7 +18659,7 @@ const validErrorRuleValue = (rule, val) => {
18658
18659
  }
18659
18660
  }).catch(() => {
18660
18661
  return new Promise(resolve => {
18661
- internalData.meTimeout = window.setTimeout(() => {
18662
+ internalData.meTimeout = setTimeout(() => {
18662
18663
  itemList.forEach(item => {
18663
18664
  if (item.errRule) {
18664
18665
  item.showError = true;
@@ -24101,6 +24102,10 @@ function getOptUniqueId() {
24101
24102
  default: () => getConfig().select.multiCharOverflow
24102
24103
  },
24103
24104
  prefixIcon: String,
24105
+ allowCreate: {
24106
+ type: Boolean,
24107
+ default: () => getConfig().select.allowCreate
24108
+ },
24104
24109
  placement: String,
24105
24110
  options: Array,
24106
24111
  optionProps: Object,
@@ -24135,7 +24140,7 @@ function getOptUniqueId() {
24135
24140
  // 已废弃,被 option-config.useKey 替换
24136
24141
  optionKey: Boolean
24137
24142
  },
24138
- emits: ['update:modelValue', 'change', 'clear', 'blur', 'focus', 'click', 'scroll'],
24143
+ emits: ['update:modelValue', 'change', 'clear', 'blur', 'focus', 'click', 'scroll', 'visible-change'],
24139
24144
  setup(props, context) {
24140
24145
  const {
24141
24146
  slots,
@@ -24179,6 +24184,7 @@ function getOptUniqueId() {
24179
24184
  const internalData = {
24180
24185
  synchData: [],
24181
24186
  fullData: [],
24187
+ optAddMaps: {},
24182
24188
  optGroupKeyMaps: {},
24183
24189
  optFullValMaps: {},
24184
24190
  remoteValMaps: {},
@@ -24562,15 +24568,21 @@ function getOptUniqueId() {
24562
24568
  }, 100);
24563
24569
  updateZIndex();
24564
24570
  updatePlacement();
24571
+ dispatchEvent('visible-change', {
24572
+ visible: true
24573
+ }, null);
24565
24574
  }
24566
24575
  };
24567
24576
  const hideOptionPanel = () => {
24568
24577
  reactData.searchValue = '';
24569
24578
  reactData.searchLoading = false;
24570
24579
  reactData.visiblePanel = false;
24571
- internalData.hpTimeout = window.setTimeout(() => {
24580
+ internalData.hpTimeout = setTimeout(() => {
24572
24581
  reactData.isAniVisible = false;
24573
24582
  }, 350);
24583
+ dispatchEvent('visible-change', {
24584
+ visible: false
24585
+ }, null);
24574
24586
  };
24575
24587
  const changeEvent = (evnt, selectValue) => {
24576
24588
  emitModel(selectValue);
@@ -24779,19 +24791,29 @@ function getOptUniqueId() {
24779
24791
  showOptionPanel();
24780
24792
  setTimeout(() => {
24781
24793
  reactData.triggerFocusPanel = false;
24782
- }, 150);
24794
+ }, 500);
24783
24795
  }
24784
24796
  }
24785
24797
  dispatchEvent('focus', {}, evnt);
24786
24798
  };
24787
24799
  const clickEvent = evnt => {
24788
24800
  togglePanelEvent(evnt);
24789
- dispatchEvent('click', {}, evnt);
24801
+ dispatchEvent('click', {
24802
+ triggerButton: false,
24803
+ visible: reactData.visiblePanel
24804
+ }, evnt);
24790
24805
  };
24791
24806
  const blurEvent = evnt => {
24792
24807
  reactData.isActivated = false;
24793
24808
  dispatchEvent('blur', {}, evnt);
24794
24809
  };
24810
+ const suffixClickEvent = evnt => {
24811
+ togglePanelEvent(evnt);
24812
+ dispatchEvent('click', {
24813
+ triggerButton: true,
24814
+ visible: reactData.visiblePanel
24815
+ }, evnt);
24816
+ };
24795
24817
  const modelSearchEvent = value => {
24796
24818
  reactData.searchValue = value;
24797
24819
  };
@@ -24863,14 +24885,34 @@ function getOptUniqueId() {
24863
24885
  reactData.topSpaceHeight = scrollYLoad ? Math.max(scrollYStore.startIndex * scrollYStore.rowHeight, 0) : 0;
24864
24886
  };
24865
24887
  const handleData = () => {
24888
+ const {
24889
+ filterable,
24890
+ allowCreate
24891
+ } = props;
24866
24892
  const {
24867
24893
  scrollYLoad,
24868
- afterVisibleList
24894
+ afterVisibleList,
24895
+ searchValue
24869
24896
  } = reactData;
24870
24897
  const {
24898
+ optAddMaps,
24871
24899
  scrollYStore
24872
24900
  } = internalData;
24873
- reactData.optList = scrollYLoad ? afterVisibleList.slice(scrollYStore.startIndex, scrollYStore.endIndex) : afterVisibleList.slice(0);
24901
+ const labelField = computeLabelField.value;
24902
+ const valueField = computeValueField.value;
24903
+ const restList = scrollYLoad ? afterVisibleList.slice(scrollYStore.startIndex, scrollYStore.endIndex) : afterVisibleList.slice(0);
24904
+ if (filterable && allowCreate && searchValue) {
24905
+ if (!restList.some(option => option[labelField] === searchValue)) {
24906
+ const addItem = optAddMaps[searchValue] || {
24907
+ [getOptKey()]: searchValue,
24908
+ [labelField]: searchValue,
24909
+ [valueField]: searchValue
24910
+ };
24911
+ optAddMaps[searchValue] = addItem;
24912
+ restList.unshift(addItem);
24913
+ }
24914
+ }
24915
+ reactData.optList = restList;
24874
24916
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
24875
24917
  };
24876
24918
  const updateYData = () => {
@@ -25175,12 +25217,16 @@ function getOptUniqueId() {
25175
25217
  Object.assign($xeSelect, selectMethods);
25176
25218
  const renderOption = (list, group) => {
25177
25219
  const {
25220
+ allowCreate,
25178
25221
  optionKey,
25179
25222
  modelValue
25180
25223
  } = props;
25181
25224
  const {
25182
25225
  currentOption
25183
25226
  } = reactData;
25227
+ const {
25228
+ optAddMaps
25229
+ } = internalData;
25184
25230
  const optionOpts = computeOptionOpts.value;
25185
25231
  const labelField = computeLabelField.value;
25186
25232
  const valueField = computeValueField.value;
@@ -25197,21 +25243,24 @@ function getOptUniqueId() {
25197
25243
  const optid = getOptId(option);
25198
25244
  const optionValue = option[valueField];
25199
25245
  const isOptGroup = hasOptGroupById(optid);
25200
- const isSelected = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isArray(modelValue) ? modelValue.indexOf(optionValue) > -1 : modelValue === optionValue;
25201
- const isVisible = !isOptGroup || isOptionVisible(option);
25202
- const isDisabled = checkOptionDisabled(isSelected, option, group);
25246
+ const isAdd = !!(allowCreate && optAddMaps[optid]);
25247
+ const isSelected = !isAdd && (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isArray(modelValue) ? modelValue.indexOf(optionValue) > -1 : modelValue === optionValue);
25248
+ const isVisible = isAdd || !isOptGroup || isOptionVisible(option);
25249
+ const isDisabled = !isAdd && checkOptionDisabled(isSelected, option, group);
25203
25250
  const defaultSlot = slots ? slots.default : null;
25204
25251
  const optParams = {
25205
25252
  option,
25206
25253
  group: null,
25207
25254
  $select: $xeSelect
25208
25255
  };
25256
+ const optVNs = optionSlot ? callSlot(optionSlot, optParams) : defaultSlot ? callSlot(defaultSlot, optParams) : getFuncText(option[isOptGroup ? groupLabelField : labelField]);
25209
25257
  return isVisible ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
25210
25258
  key: useKey || optionKey ? optid : cIndex,
25211
25259
  class: ['vxe-select-option', className ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(className) ? className(optParams) : className : '', {
25212
25260
  'vxe-select-optgroup': isOptGroup,
25213
25261
  'is--disabled': isDisabled,
25214
25262
  'is--selected': isSelected,
25263
+ 'is--add': isAdd,
25215
25264
  'is--hover': currentOption && getOptId(currentOption) === optid
25216
25265
  }],
25217
25266
  // attrs
@@ -25233,7 +25282,15 @@ function getOptUniqueId() {
25233
25282
  setCurrentOption(option);
25234
25283
  }
25235
25284
  }
25236
- }, optionSlot ? callSlot(optionSlot, optParams) : defaultSlot ? callSlot(defaultSlot, optParams) : getFuncText(option[isOptGroup ? groupLabelField : labelField])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)();
25285
+ }, allowCreate ? [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
25286
+ key: 1,
25287
+ class: 'vxe-select-option--label'
25288
+ }, optVNs), isAdd ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
25289
+ key: 2,
25290
+ class: 'vxe-select-option--add-icon'
25291
+ }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
25292
+ class: getIcon().ADD_OPTION
25293
+ })]) : renderEmptyElement($xeSelect)] : optVNs) : renderEmptyElement($xeSelect);
25237
25294
  });
25238
25295
  };
25239
25296
  const renderOpts = () => {
@@ -25322,7 +25379,7 @@ function getOptUniqueId() {
25322
25379
  onClick: clickEvent,
25323
25380
  onFocus: focusEvent,
25324
25381
  onBlur: blurEvent,
25325
- onSuffixClick: togglePanelEvent
25382
+ onSuffixClick: suffixClickEvent
25326
25383
  }, prefixSlot ? {
25327
25384
  prefix: () => prefixSlot({})
25328
25385
  } : {}), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(external_commonjs_vue_commonjs2_vue_root_Vue_.Teleport, {
@@ -25357,9 +25414,9 @@ function getOptUniqueId() {
25357
25414
  onFocus: focusSearchEvent,
25358
25415
  onChange: triggerSearchEvent,
25359
25416
  onSearch: triggerSearchEvent
25360
- })]) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(), headerSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
25417
+ })]) : renderEmptyElement($xeSelect), headerSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
25361
25418
  class: 'vxe-select--panel-header'
25362
- }, headerSlot({})) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
25419
+ }, headerSlot({})) : renderEmptyElement($xeSelect), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
25363
25420
  class: 'vxe-select--panel-body'
25364
25421
  }, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
25365
25422
  ref: refVirtualWrapper,
@@ -25378,7 +25435,7 @@ function getOptUniqueId() {
25378
25435
  }
25379
25436
  }, renderOpts())])]), footerSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
25380
25437
  class: 'vxe-select--panel-footer'
25381
- }, footerSlot({})) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()])] : [])])]);
25438
+ }, footerSlot({})) : renderEmptyElement($xeSelect)])] : [])])]);
25382
25439
  };
25383
25440
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => reactData.staticOptions, val => {
25384
25441
  loadData(val);
@@ -30211,7 +30268,7 @@ const WidgetVxeNumberInputFormComponent = (0,external_commonjs_vue_commonjs2_vue
30211
30268
  }, evnt);
30212
30269
  };
30213
30270
  const numberDownNextEvent = evnt => {
30214
- internalData.dnTimeout = window.setTimeout(() => {
30271
+ internalData.dnTimeout = setTimeout(() => {
30215
30272
  numberNextEvent(evnt);
30216
30273
  numberDownNextEvent(evnt);
30217
30274
  }, 60);
@@ -30279,7 +30336,7 @@ const WidgetVxeNumberInputFormComponent = (0,external_commonjs_vue_commonjs2_vue
30279
30336
  }
30280
30337
  };
30281
30338
  const numberDownPrevEvent = evnt => {
30282
- internalData.dnTimeout = window.setTimeout(() => {
30339
+ internalData.dnTimeout = setTimeout(() => {
30283
30340
  numberPrevEvent(evnt);
30284
30341
  numberDownPrevEvent(evnt);
30285
30342
  }, 60);
@@ -30293,7 +30350,7 @@ const WidgetVxeNumberInputFormComponent = (0,external_commonjs_vue_commonjs2_vue
30293
30350
  } else {
30294
30351
  numberNextEvent(evnt);
30295
30352
  }
30296
- internalData.dnTimeout = window.setTimeout(() => {
30353
+ internalData.dnTimeout = setTimeout(() => {
30297
30354
  if (isPrevNumber) {
30298
30355
  numberDownPrevEvent(evnt);
30299
30356
  } else {
@@ -33119,7 +33176,7 @@ function tree_select_getOptUniqueId() {
33119
33176
  };
33120
33177
  const hideOptionPanel = () => {
33121
33178
  reactData.visiblePanel = false;
33122
- internalData.hpTimeout = window.setTimeout(() => {
33179
+ internalData.hpTimeout = setTimeout(() => {
33123
33180
  reactData.isAniVisible = false;
33124
33181
  }, 350);
33125
33182
  };
@@ -37339,7 +37396,7 @@ const Icon = VxeIcon;
37339
37396
  };
37340
37397
  const hideOptionPanel = () => {
37341
37398
  reactData.visiblePanel = false;
37342
- internalData.hpTimeout = window.setTimeout(() => {
37399
+ internalData.hpTimeout = setTimeout(() => {
37343
37400
  reactData.isAniVisible = false;
37344
37401
  }, 350);
37345
37402
  };
@@ -44373,7 +44430,7 @@ const Print = VxePrint;
44373
44430
  emit('update:modelValue', false);
44374
44431
  return new Promise(resolve => {
44375
44432
  if (reactData.isAniVisible) {
44376
- internalData.hpTimeout = window.setTimeout(() => {
44433
+ internalData.hpTimeout = setTimeout(() => {
44377
44434
  reactData.isAniVisible = false;
44378
44435
  (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(() => {
44379
44436
  resolve();
@@ -45309,7 +45366,7 @@ function getRowUniqueId() {
45309
45366
  if (internalData.hpTimeout) {
45310
45367
  clearTimeout(internalData.hpTimeout);
45311
45368
  }
45312
- internalData.hpTimeout = window.setTimeout(() => {
45369
+ internalData.hpTimeout = setTimeout(() => {
45313
45370
  reactData.isAniVisible = false;
45314
45371
  internalData.hpTimeout = undefined;
45315
45372
  }, 350);