@airpower/web 1.9.7 → 1.9.9
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/dist/main.js +2 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -13488,6 +13488,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
13488
13488
|
emits("focus");
|
|
13489
13489
|
}
|
|
13490
13490
|
function emitClear() {
|
|
13491
|
+
emitValue();
|
|
13491
13492
|
emits("clear");
|
|
13492
13493
|
}
|
|
13493
13494
|
const isClearButtonShow = ref(props.showClear);
|
|
@@ -13578,6 +13579,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
13578
13579
|
}
|
|
13579
13580
|
}
|
|
13580
13581
|
function emitValue() {
|
|
13582
|
+
checkNumberValue();
|
|
13581
13583
|
if (formConfig.value && value.value) {
|
|
13582
13584
|
switch (formConfig.value.trim) {
|
|
13583
13585
|
case FormTrim.ALL:
|
|
@@ -13595,7 +13597,6 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
13595
13597
|
emitChange();
|
|
13596
13598
|
}
|
|
13597
13599
|
function onKeyDown(event) {
|
|
13598
|
-
checkNumberValue();
|
|
13599
13600
|
switch (event.code) {
|
|
13600
13601
|
case "KeyE":
|
|
13601
13602
|
if (formConfig.value?.number) {
|