vxe-pc-ui 3.3.22 → 3.3.24

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 (130) hide show
  1. package/es/icon/{iconfont.1733469460100.ttf → iconfont.1733649304143.ttf} +0 -0
  2. package/es/icon/iconfont.1733649304143.woff +0 -0
  3. package/es/icon/iconfont.1733649304143.woff2 +0 -0
  4. package/es/icon/style.css +5 -1
  5. package/es/icon/style.min.css +1 -1
  6. package/{lib/icon/style/iconfont.1733469460100.ttf → es/iconfont.1733649304143.ttf} +0 -0
  7. package/es/iconfont.1733649304143.woff +0 -0
  8. package/es/iconfont.1733649304143.woff2 +0 -0
  9. package/es/language/ar-EG.js +2 -0
  10. package/es/language/de-DE.js +2 -0
  11. package/es/language/en-US.js +3 -1
  12. package/es/language/es-ES.js +2 -0
  13. package/es/language/fr-FR.js +2 -0
  14. package/es/language/hu-HU.js +2 -0
  15. package/es/language/hy-AM.js +2 -0
  16. package/es/language/ja-JP.js +2 -0
  17. package/es/language/ko-KR.js +2 -0
  18. package/es/language/nb-NO.js +2 -0
  19. package/es/language/pt-BR.js +2 -0
  20. package/es/language/ru-RU.js +2 -0
  21. package/es/language/ug-CN.js +2 -0
  22. package/es/language/uk-UA.js +2 -0
  23. package/es/language/vi-VN.js +2 -0
  24. package/es/language/zh-CHT.js +2 -0
  25. package/es/language/zh-CN.js +2 -0
  26. package/es/number-input/src/number-input.js +5 -5
  27. package/es/style.css +1 -1
  28. package/es/style.min.css +1 -1
  29. package/es/ui/index.js +1 -1
  30. package/es/ui/src/log.js +1 -1
  31. package/es/vxe-icon/style.css +5 -1
  32. package/es/vxe-icon/style.min.css +1 -1
  33. package/lib/{iconfont.1733469460100.ttf → icon/style/iconfont.1733649304143.ttf} +0 -0
  34. package/lib/icon/style/iconfont.1733649304143.woff +0 -0
  35. package/lib/icon/style/iconfont.1733649304143.woff2 +0 -0
  36. package/lib/icon/style/style.css +5 -1
  37. package/lib/icon/style/style.min.css +5 -1
  38. package/{es/iconfont.1733469460100.ttf → lib/iconfont.1733649304143.ttf} +0 -0
  39. package/lib/iconfont.1733649304143.woff +0 -0
  40. package/lib/iconfont.1733649304143.woff2 +0 -0
  41. package/lib/index.umd.js +8 -6
  42. package/lib/index.umd.min.js +1 -1
  43. package/lib/language/ar-EG.js +2 -0
  44. package/lib/language/ar-EG.min.js +1 -1
  45. package/lib/language/de-DE.js +2 -0
  46. package/lib/language/de-DE.min.js +1 -1
  47. package/lib/language/en-US.js +3 -1
  48. package/lib/language/en-US.min.js +1 -1
  49. package/lib/language/en-US.umd.js +3 -1
  50. package/lib/language/es-ES.js +2 -0
  51. package/lib/language/es-ES.min.js +1 -1
  52. package/lib/language/es-ES.umd.js +2 -0
  53. package/lib/language/fr-FR.js +2 -0
  54. package/lib/language/fr-FR.min.js +1 -1
  55. package/lib/language/hu-HU.js +2 -0
  56. package/lib/language/hu-HU.min.js +1 -1
  57. package/lib/language/hu-HU.umd.js +2 -0
  58. package/lib/language/hy-AM.js +2 -0
  59. package/lib/language/hy-AM.min.js +1 -1
  60. package/lib/language/ja-JP.js +2 -0
  61. package/lib/language/ja-JP.min.js +1 -1
  62. package/lib/language/ja-JP.umd.js +2 -0
  63. package/lib/language/ko-KR.js +2 -0
  64. package/lib/language/ko-KR.min.js +1 -1
  65. package/lib/language/ko-KR.umd.js +2 -0
  66. package/lib/language/nb-NO.js +2 -0
  67. package/lib/language/nb-NO.min.js +1 -1
  68. package/lib/language/pt-BR.js +2 -0
  69. package/lib/language/pt-BR.min.js +1 -1
  70. package/lib/language/pt-BR.umd.js +2 -0
  71. package/lib/language/ru-RU.js +2 -0
  72. package/lib/language/ru-RU.min.js +1 -1
  73. package/lib/language/ru-RU.umd.js +2 -0
  74. package/lib/language/ug-CN.js +2 -0
  75. package/lib/language/ug-CN.min.js +1 -1
  76. package/lib/language/uk-UA.js +2 -0
  77. package/lib/language/uk-UA.min.js +1 -1
  78. package/lib/language/uk-UA.umd.js +2 -0
  79. package/lib/language/vi-VN.js +2 -0
  80. package/lib/language/vi-VN.min.js +1 -1
  81. package/lib/language/zh-CHT.js +2 -0
  82. package/lib/language/zh-CHT.min.js +1 -1
  83. package/lib/language/zh-CHT.umd.js +2 -0
  84. package/lib/language/zh-CN.js +2 -0
  85. package/lib/language/zh-CN.min.js +1 -1
  86. package/lib/language/zh-CN.umd.js +2 -0
  87. package/lib/number-input/src/number-input.js +4 -4
  88. package/lib/number-input/src/number-input.min.js +1 -1
  89. package/lib/style.css +1 -1
  90. package/lib/style.min.css +1 -1
  91. package/lib/ui/index.js +1 -1
  92. package/lib/ui/index.min.js +1 -1
  93. package/lib/ui/src/log.js +1 -1
  94. package/lib/ui/src/log.min.js +1 -1
  95. package/lib/vxe-icon/style/style.css +5 -1
  96. package/lib/vxe-icon/style/style.min.css +1 -1
  97. package/package.json +1 -1
  98. package/packages/language/ar-EG.ts +2 -0
  99. package/packages/language/de-DE.ts +2 -0
  100. package/packages/language/en-US.ts +3 -1
  101. package/packages/language/es-ES.ts +2 -0
  102. package/packages/language/fr-FR.ts +2 -0
  103. package/packages/language/hu-HU.ts +2 -0
  104. package/packages/language/hy-AM.ts +2 -0
  105. package/packages/language/ja-JP.ts +2 -0
  106. package/packages/language/ko-KR.ts +2 -0
  107. package/packages/language/nb-NO.ts +2 -0
  108. package/packages/language/pt-BR.ts +2 -0
  109. package/packages/language/ru-RU.ts +2 -0
  110. package/packages/language/ug-CN.ts +2 -0
  111. package/packages/language/uk-UA.ts +2 -0
  112. package/packages/language/vi-VN.ts +2 -0
  113. package/packages/language/zh-CHT.ts +2 -0
  114. package/packages/language/zh-CN.ts +2 -0
  115. package/packages/number-input/src/number-input.ts +5 -5
  116. package/styles/components/icon.scss +5 -1
  117. package/styles/icon/iconfont.ttf +0 -0
  118. package/styles/icon/iconfont.woff +0 -0
  119. package/styles/icon/iconfont.woff2 +0 -0
  120. package/types/components/icon.d.ts +1 -1
  121. package/types/components/table.d.ts +16 -0
  122. package/types/ui/global-icon.d.ts +3 -0
  123. package/es/icon/iconfont.1733469460100.woff +0 -0
  124. package/es/icon/iconfont.1733469460100.woff2 +0 -0
  125. package/es/iconfont.1733469460100.woff +0 -0
  126. package/es/iconfont.1733469460100.woff2 +0 -0
  127. package/lib/icon/style/iconfont.1733469460100.woff +0 -0
  128. package/lib/icon/style/iconfont.1733469460100.woff2 +0 -0
  129. package/lib/iconfont.1733469460100.woff +0 -0
  130. package/lib/iconfont.1733469460100.woff2 +0 -0
@@ -1,7 +1,7 @@
1
1
  import { defineVxeComponent } from '../../ui/src/comp';
2
2
  import XEUtils from 'xe-utils';
3
3
  import { getConfig, getIcon, getI18n, globalEvents, GLOBAL_EVENT_KEYS, createEvent, globalMixins, renderEmptyElement } from '../../ui';
4
- import { getFuncText } from '../../ui/src/utils';
4
+ import { getFuncText, eqEmptyValue } from '../../ui/src/utils';
5
5
  import { hasClass, getEventTargetNode } from '../../ui/src/dom';
6
6
  import { getSlotVNs } from '../..//ui/src/vn';
7
7
  import { handleNumber, toFloatValueFixed } from './util';
@@ -301,7 +301,7 @@ export default defineVxeComponent({
301
301
  const reactData = $xeNumberInput.reactData;
302
302
  const $xeForm = $xeNumberInput.$xeForm;
303
303
  const formItemInfo = $xeNumberInput.formItemInfo;
304
- const value = val === '' || XEUtils.eqNull(val) ? null : Number(val);
304
+ const value = eqEmptyValue(val) ? null : Number(val);
305
305
  const isChange = value !== props.value;
306
306
  reactData.inputValue = inputValue || '';
307
307
  if (isChange) {
@@ -419,14 +419,14 @@ export default defineVxeComponent({
419
419
  const { inputValue } = reactData;
420
420
  const inputReadonly = $xeNumberInput.computeInputReadonly;
421
421
  if (!inputReadonly) {
422
- if (inputValue === '') {
422
+ if (eqEmptyValue(inputValue)) {
423
423
  let inpNumVal = null;
424
424
  let inpValue = inputValue;
425
425
  if (min || min === 0) {
426
426
  inpNumVal = XEUtils.toNumber(min);
427
427
  inpValue = `${inpNumVal}`;
428
428
  }
429
- $xeNumberInput.handleChange(inpNumVal, inpValue, { type: 'check' });
429
+ $xeNumberInput.handleChange(inpNumVal, `${inpValue || ''}`, { type: 'check' });
430
430
  return;
431
431
  }
432
432
  if (inputValue || (min || max)) {
@@ -444,7 +444,7 @@ export default defineVxeComponent({
444
444
  }
445
445
  }
446
446
  const inpValue = $xeNumberInput.getNumberValue(inpNumVal);
447
- $xeNumberInput.handleChange(inpValue === null ? null : Number(inpValue), inpValue, { type: 'check' });
447
+ $xeNumberInput.handleChange(eqEmptyValue(inpValue) ? null : Number(inpValue), inpValue, { type: 'check' });
448
448
  }
449
449
  }
450
450
  },