vxe-pc-ui 4.4.0 → 4.4.2
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.
- package/es/color-picker/src/color-picker.js +5 -4
- package/es/date-picker/src/date-picker.js +1 -1
- package/es/form/src/form.js +1 -1
- package/es/icon/style.css +1 -1
- package/es/icon-picker/src/icon-picker.js +1 -1
- package/es/input/src/input.js +4 -4
- package/es/number-input/src/number-input.js +3 -3
- package/es/pulldown/src/pulldown.js +1 -1
- package/es/select/src/select.js +57 -16
- package/es/select/style.css +17 -0
- package/es/select/style.min.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table-select/src/table-select.js +1 -1
- package/es/tree-select/src/tree-select.js +1 -1
- package/es/ui/index.js +2 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-select/style.css +17 -0
- package/es/vxe-select/style.min.css +1 -1
- package/lib/color-picker/src/color-picker.js +5 -4
- package/lib/color-picker/src/color-picker.min.js +1 -1
- package/lib/date-picker/src/date-picker.js +1 -1
- package/lib/date-picker/src/date-picker.min.js +1 -1
- package/lib/form/src/form.js +1 -1
- package/lib/form/src/form.min.js +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/icon-picker/src/icon-picker.js +1 -1
- package/lib/icon-picker/src/icon-picker.min.js +1 -1
- package/lib/index.umd.js +72 -30
- package/lib/index.umd.min.js +1 -1
- package/lib/input/src/input.js +4 -4
- package/lib/input/src/input.min.js +1 -1
- package/lib/number-input/src/number-input.js +3 -3
- package/lib/number-input/src/number-input.min.js +1 -1
- package/lib/pulldown/src/pulldown.js +1 -1
- package/lib/pulldown/src/pulldown.min.js +1 -1
- package/lib/select/src/select.js +51 -11
- package/lib/select/src/select.min.js +1 -1
- package/lib/select/style/style.css +17 -0
- package/lib/select/style/style.min.css +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table-select/src/table-select.js +1 -1
- package/lib/table-select/src/table-select.min.js +1 -1
- package/lib/tree-select/src/tree-select.js +1 -1
- package/lib/tree-select/src/tree-select.min.js +1 -1
- package/lib/ui/index.js +2 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/lib/vxe-select/style/style.css +17 -0
- package/lib/vxe-select/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/color-picker/src/color-picker.ts +6 -5
- package/packages/date-picker/src/date-picker.ts +1 -1
- package/packages/form/src/form.ts +1 -1
- package/packages/icon-picker/src/icon-picker.ts +1 -1
- package/packages/input/src/input.ts +4 -4
- package/packages/number-input/src/number-input.ts +3 -3
- package/packages/pulldown/src/pulldown.ts +1 -1
- package/packages/select/src/select.ts +57 -16
- package/packages/table-select/src/table-select.ts +1 -1
- package/packages/tree-select/src/tree-select.ts +1 -1
- package/packages/ui/index.ts +1 -0
- package/styles/components/select.scss +19 -0
- package/types/components/select.d.ts +3 -0
- package/types/components/table.d.ts +10 -2
- package/types/ui/global-icon.d.ts +1 -0
- /package/es/icon/{iconfont.1741051735074.ttf → iconfont.1741176270611.ttf} +0 -0
- /package/es/icon/{iconfont.1741051735074.woff → iconfont.1741176270611.woff} +0 -0
- /package/es/icon/{iconfont.1741051735074.woff2 → iconfont.1741176270611.woff2} +0 -0
- /package/es/{iconfont.1741051735074.ttf → iconfont.1741176270611.ttf} +0 -0
- /package/es/{iconfont.1741051735074.woff → iconfont.1741176270611.woff} +0 -0
- /package/es/{iconfont.1741051735074.woff2 → iconfont.1741176270611.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1741051735074.ttf → iconfont.1741176270611.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1741051735074.woff → iconfont.1741176270611.woff} +0 -0
- /package/lib/icon/style/{iconfont.1741051735074.woff2 → iconfont.1741176270611.woff2} +0 -0
- /package/lib/{iconfont.1741051735074.ttf → iconfont.1741176270611.ttf} +0 -0
- /package/lib/{iconfont.1741051735074.woff → iconfont.1741176270611.woff} +0 -0
- /package/lib/{iconfont.1741051735074.woff2 → iconfont.1741176270611.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.
|
|
4152
|
+
const log_version = `ui v${"4.4.2"}`;
|
|
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.
|
|
4159
|
+
const ui_version = "4.4.2";
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
13249
|
+
internalData.hpTimeout = setTimeout(() => {
|
|
13249
13250
|
reactData.isAniVisible = false;
|
|
13250
13251
|
}, 350);
|
|
13251
13252
|
};
|
|
@@ -13448,13 +13449,14 @@ const WinEyeDropper = window.EyeDropper;
|
|
|
13448
13449
|
colorActiveEl.style.left = toCssUnit(offsetLeft);
|
|
13449
13450
|
}
|
|
13450
13451
|
};
|
|
13451
|
-
const handleEyeDropperEvent =
|
|
13452
|
+
const handleEyeDropperEvent = () => {
|
|
13452
13453
|
if (WinEyeDropper) {
|
|
13453
13454
|
try {
|
|
13454
13455
|
const eyeDropper = new WinEyeDropper();
|
|
13455
13456
|
eyeDropper.open().then(rest => {
|
|
13456
13457
|
if (rest && rest.sRGBHex) {
|
|
13457
|
-
|
|
13458
|
+
reactData.selectColor = rest.sRGBHex;
|
|
13459
|
+
updateModelColor();
|
|
13458
13460
|
}
|
|
13459
13461
|
}).catch(() => {});
|
|
13460
13462
|
} catch (e) {}
|
|
@@ -14980,7 +14982,7 @@ const Countdown = VxeCountdown;
|
|
|
14980
14982
|
const hidePanel = () => {
|
|
14981
14983
|
return new Promise(resolve => {
|
|
14982
14984
|
reactData.visiblePanel = false;
|
|
14983
|
-
internalData.hpTimeout =
|
|
14985
|
+
internalData.hpTimeout = setTimeout(() => {
|
|
14984
14986
|
reactData.isAniVisible = false;
|
|
14985
14987
|
resolve();
|
|
14986
14988
|
}, 350);
|
|
@@ -18657,7 +18659,7 @@ const validErrorRuleValue = (rule, val) => {
|
|
|
18657
18659
|
}
|
|
18658
18660
|
}).catch(() => {
|
|
18659
18661
|
return new Promise(resolve => {
|
|
18660
|
-
internalData.meTimeout =
|
|
18662
|
+
internalData.meTimeout = setTimeout(() => {
|
|
18661
18663
|
itemList.forEach(item => {
|
|
18662
18664
|
if (item.errRule) {
|
|
18663
18665
|
item.showError = true;
|
|
@@ -24100,6 +24102,10 @@ function getOptUniqueId() {
|
|
|
24100
24102
|
default: () => getConfig().select.multiCharOverflow
|
|
24101
24103
|
},
|
|
24102
24104
|
prefixIcon: String,
|
|
24105
|
+
allowCreate: {
|
|
24106
|
+
type: Boolean,
|
|
24107
|
+
default: () => getConfig().select.allowCreate
|
|
24108
|
+
},
|
|
24103
24109
|
placement: String,
|
|
24104
24110
|
options: Array,
|
|
24105
24111
|
optionProps: Object,
|
|
@@ -24178,6 +24184,7 @@ function getOptUniqueId() {
|
|
|
24178
24184
|
const internalData = {
|
|
24179
24185
|
synchData: [],
|
|
24180
24186
|
fullData: [],
|
|
24187
|
+
optAddMaps: {},
|
|
24181
24188
|
optGroupKeyMaps: {},
|
|
24182
24189
|
optFullValMaps: {},
|
|
24183
24190
|
remoteValMaps: {},
|
|
@@ -24567,7 +24574,7 @@ function getOptUniqueId() {
|
|
|
24567
24574
|
reactData.searchValue = '';
|
|
24568
24575
|
reactData.searchLoading = false;
|
|
24569
24576
|
reactData.visiblePanel = false;
|
|
24570
|
-
internalData.hpTimeout =
|
|
24577
|
+
internalData.hpTimeout = setTimeout(() => {
|
|
24571
24578
|
reactData.isAniVisible = false;
|
|
24572
24579
|
}, 350);
|
|
24573
24580
|
};
|
|
@@ -24778,7 +24785,7 @@ function getOptUniqueId() {
|
|
|
24778
24785
|
showOptionPanel();
|
|
24779
24786
|
setTimeout(() => {
|
|
24780
24787
|
reactData.triggerFocusPanel = false;
|
|
24781
|
-
},
|
|
24788
|
+
}, 500);
|
|
24782
24789
|
}
|
|
24783
24790
|
}
|
|
24784
24791
|
dispatchEvent('focus', {}, evnt);
|
|
@@ -24862,14 +24869,34 @@ function getOptUniqueId() {
|
|
|
24862
24869
|
reactData.topSpaceHeight = scrollYLoad ? Math.max(scrollYStore.startIndex * scrollYStore.rowHeight, 0) : 0;
|
|
24863
24870
|
};
|
|
24864
24871
|
const handleData = () => {
|
|
24872
|
+
const {
|
|
24873
|
+
filterable,
|
|
24874
|
+
allowCreate
|
|
24875
|
+
} = props;
|
|
24865
24876
|
const {
|
|
24866
24877
|
scrollYLoad,
|
|
24867
|
-
afterVisibleList
|
|
24878
|
+
afterVisibleList,
|
|
24879
|
+
searchValue
|
|
24868
24880
|
} = reactData;
|
|
24869
24881
|
const {
|
|
24882
|
+
optAddMaps,
|
|
24870
24883
|
scrollYStore
|
|
24871
24884
|
} = internalData;
|
|
24872
|
-
|
|
24885
|
+
const labelField = computeLabelField.value;
|
|
24886
|
+
const valueField = computeValueField.value;
|
|
24887
|
+
const restList = scrollYLoad ? afterVisibleList.slice(scrollYStore.startIndex, scrollYStore.endIndex) : afterVisibleList.slice(0);
|
|
24888
|
+
if (filterable && allowCreate && searchValue) {
|
|
24889
|
+
if (!restList.some(option => option[labelField] === searchValue)) {
|
|
24890
|
+
const addItem = optAddMaps[searchValue] || {
|
|
24891
|
+
[getOptKey()]: searchValue,
|
|
24892
|
+
[labelField]: searchValue,
|
|
24893
|
+
[valueField]: searchValue
|
|
24894
|
+
};
|
|
24895
|
+
optAddMaps[searchValue] = addItem;
|
|
24896
|
+
restList.unshift(addItem);
|
|
24897
|
+
}
|
|
24898
|
+
}
|
|
24899
|
+
reactData.optList = restList;
|
|
24873
24900
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)();
|
|
24874
24901
|
};
|
|
24875
24902
|
const updateYData = () => {
|
|
@@ -25174,12 +25201,16 @@ function getOptUniqueId() {
|
|
|
25174
25201
|
Object.assign($xeSelect, selectMethods);
|
|
25175
25202
|
const renderOption = (list, group) => {
|
|
25176
25203
|
const {
|
|
25204
|
+
allowCreate,
|
|
25177
25205
|
optionKey,
|
|
25178
25206
|
modelValue
|
|
25179
25207
|
} = props;
|
|
25180
25208
|
const {
|
|
25181
25209
|
currentOption
|
|
25182
25210
|
} = reactData;
|
|
25211
|
+
const {
|
|
25212
|
+
optAddMaps
|
|
25213
|
+
} = internalData;
|
|
25183
25214
|
const optionOpts = computeOptionOpts.value;
|
|
25184
25215
|
const labelField = computeLabelField.value;
|
|
25185
25216
|
const valueField = computeValueField.value;
|
|
@@ -25196,21 +25227,24 @@ function getOptUniqueId() {
|
|
|
25196
25227
|
const optid = getOptId(option);
|
|
25197
25228
|
const optionValue = option[valueField];
|
|
25198
25229
|
const isOptGroup = hasOptGroupById(optid);
|
|
25199
|
-
const
|
|
25200
|
-
const
|
|
25201
|
-
const
|
|
25230
|
+
const isAdd = !!(allowCreate && optAddMaps[optid]);
|
|
25231
|
+
const isSelected = !isAdd && (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isArray(modelValue) ? modelValue.indexOf(optionValue) > -1 : modelValue === optionValue);
|
|
25232
|
+
const isVisible = isAdd || !isOptGroup || isOptionVisible(option);
|
|
25233
|
+
const isDisabled = !isAdd && checkOptionDisabled(isSelected, option, group);
|
|
25202
25234
|
const defaultSlot = slots ? slots.default : null;
|
|
25203
25235
|
const optParams = {
|
|
25204
25236
|
option,
|
|
25205
25237
|
group: null,
|
|
25206
25238
|
$select: $xeSelect
|
|
25207
25239
|
};
|
|
25240
|
+
const optVNs = optionSlot ? callSlot(optionSlot, optParams) : defaultSlot ? callSlot(defaultSlot, optParams) : getFuncText(option[isOptGroup ? groupLabelField : labelField]);
|
|
25208
25241
|
return isVisible ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
25209
25242
|
key: useKey || optionKey ? optid : cIndex,
|
|
25210
25243
|
class: ['vxe-select-option', className ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(className) ? className(optParams) : className : '', {
|
|
25211
25244
|
'vxe-select-optgroup': isOptGroup,
|
|
25212
25245
|
'is--disabled': isDisabled,
|
|
25213
25246
|
'is--selected': isSelected,
|
|
25247
|
+
'is--add': isAdd,
|
|
25214
25248
|
'is--hover': currentOption && getOptId(currentOption) === optid
|
|
25215
25249
|
}],
|
|
25216
25250
|
// attrs
|
|
@@ -25232,7 +25266,15 @@ function getOptUniqueId() {
|
|
|
25232
25266
|
setCurrentOption(option);
|
|
25233
25267
|
}
|
|
25234
25268
|
}
|
|
25235
|
-
},
|
|
25269
|
+
}, allowCreate ? [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
|
|
25270
|
+
key: 1,
|
|
25271
|
+
class: 'vxe-select-option--label'
|
|
25272
|
+
}, optVNs), isAdd ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
|
|
25273
|
+
key: 2,
|
|
25274
|
+
class: 'vxe-select-option--add-icon'
|
|
25275
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
25276
|
+
class: getIcon().ADD_OPTION
|
|
25277
|
+
})]) : renderEmptyElement($xeSelect)] : optVNs) : renderEmptyElement($xeSelect);
|
|
25236
25278
|
});
|
|
25237
25279
|
};
|
|
25238
25280
|
const renderOpts = () => {
|
|
@@ -25356,9 +25398,9 @@ function getOptUniqueId() {
|
|
|
25356
25398
|
onFocus: focusSearchEvent,
|
|
25357
25399
|
onChange: triggerSearchEvent,
|
|
25358
25400
|
onSearch: triggerSearchEvent
|
|
25359
|
-
})]) : (
|
|
25401
|
+
})]) : renderEmptyElement($xeSelect), headerSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
25360
25402
|
class: 'vxe-select--panel-header'
|
|
25361
|
-
}, headerSlot({})) : (
|
|
25403
|
+
}, headerSlot({})) : renderEmptyElement($xeSelect), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
25362
25404
|
class: 'vxe-select--panel-body'
|
|
25363
25405
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
25364
25406
|
ref: refVirtualWrapper,
|
|
@@ -25377,7 +25419,7 @@ function getOptUniqueId() {
|
|
|
25377
25419
|
}
|
|
25378
25420
|
}, renderOpts())])]), footerSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
25379
25421
|
class: 'vxe-select--panel-footer'
|
|
25380
|
-
}, footerSlot({})) : (
|
|
25422
|
+
}, footerSlot({})) : renderEmptyElement($xeSelect)])] : [])])]);
|
|
25381
25423
|
};
|
|
25382
25424
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.watch)(() => reactData.staticOptions, val => {
|
|
25383
25425
|
loadData(val);
|
|
@@ -30210,7 +30252,7 @@ const WidgetVxeNumberInputFormComponent = (0,external_commonjs_vue_commonjs2_vue
|
|
|
30210
30252
|
}, evnt);
|
|
30211
30253
|
};
|
|
30212
30254
|
const numberDownNextEvent = evnt => {
|
|
30213
|
-
internalData.dnTimeout =
|
|
30255
|
+
internalData.dnTimeout = setTimeout(() => {
|
|
30214
30256
|
numberNextEvent(evnt);
|
|
30215
30257
|
numberDownNextEvent(evnt);
|
|
30216
30258
|
}, 60);
|
|
@@ -30278,7 +30320,7 @@ const WidgetVxeNumberInputFormComponent = (0,external_commonjs_vue_commonjs2_vue
|
|
|
30278
30320
|
}
|
|
30279
30321
|
};
|
|
30280
30322
|
const numberDownPrevEvent = evnt => {
|
|
30281
|
-
internalData.dnTimeout =
|
|
30323
|
+
internalData.dnTimeout = setTimeout(() => {
|
|
30282
30324
|
numberPrevEvent(evnt);
|
|
30283
30325
|
numberDownPrevEvent(evnt);
|
|
30284
30326
|
}, 60);
|
|
@@ -30292,7 +30334,7 @@ const WidgetVxeNumberInputFormComponent = (0,external_commonjs_vue_commonjs2_vue
|
|
|
30292
30334
|
} else {
|
|
30293
30335
|
numberNextEvent(evnt);
|
|
30294
30336
|
}
|
|
30295
|
-
internalData.dnTimeout =
|
|
30337
|
+
internalData.dnTimeout = setTimeout(() => {
|
|
30296
30338
|
if (isPrevNumber) {
|
|
30297
30339
|
numberDownPrevEvent(evnt);
|
|
30298
30340
|
} else {
|
|
@@ -33118,7 +33160,7 @@ function tree_select_getOptUniqueId() {
|
|
|
33118
33160
|
};
|
|
33119
33161
|
const hideOptionPanel = () => {
|
|
33120
33162
|
reactData.visiblePanel = false;
|
|
33121
|
-
internalData.hpTimeout =
|
|
33163
|
+
internalData.hpTimeout = setTimeout(() => {
|
|
33122
33164
|
reactData.isAniVisible = false;
|
|
33123
33165
|
}, 350);
|
|
33124
33166
|
};
|
|
@@ -37338,7 +37380,7 @@ const Icon = VxeIcon;
|
|
|
37338
37380
|
};
|
|
37339
37381
|
const hideOptionPanel = () => {
|
|
37340
37382
|
reactData.visiblePanel = false;
|
|
37341
|
-
internalData.hpTimeout =
|
|
37383
|
+
internalData.hpTimeout = setTimeout(() => {
|
|
37342
37384
|
reactData.isAniVisible = false;
|
|
37343
37385
|
}, 350);
|
|
37344
37386
|
};
|
|
@@ -44372,7 +44414,7 @@ const Print = VxePrint;
|
|
|
44372
44414
|
emit('update:modelValue', false);
|
|
44373
44415
|
return new Promise(resolve => {
|
|
44374
44416
|
if (reactData.isAniVisible) {
|
|
44375
|
-
internalData.hpTimeout =
|
|
44417
|
+
internalData.hpTimeout = setTimeout(() => {
|
|
44376
44418
|
reactData.isAniVisible = false;
|
|
44377
44419
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(() => {
|
|
44378
44420
|
resolve();
|
|
@@ -45308,7 +45350,7 @@ function getRowUniqueId() {
|
|
|
45308
45350
|
if (internalData.hpTimeout) {
|
|
45309
45351
|
clearTimeout(internalData.hpTimeout);
|
|
45310
45352
|
}
|
|
45311
|
-
internalData.hpTimeout =
|
|
45353
|
+
internalData.hpTimeout = setTimeout(() => {
|
|
45312
45354
|
reactData.isAniVisible = false;
|
|
45313
45355
|
internalData.hpTimeout = undefined;
|
|
45314
45356
|
}, 350);
|