element-pe 2.0.6 → 2.0.7

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 (302) hide show
  1. package/dist/index.full.js +1 -1
  2. package/dist/index.full.min.js +1 -1
  3. package/dist/index.full.min.js.map +1 -1
  4. package/dist/index.full.min.mjs +1 -1
  5. package/dist/index.full.min.mjs.map +1 -1
  6. package/dist/index.full.mjs +1 -1
  7. package/es/components/affix/index.mjs +2 -2
  8. package/es/components/affix/src/affix.mjs +114 -23
  9. package/es/components/affix/src/affix.mjs.map +1 -1
  10. package/es/components/affix/src/affix2.mjs +23 -114
  11. package/es/components/affix/src/affix2.mjs.map +1 -1
  12. package/es/components/autocomplete/index.mjs +2 -2
  13. package/es/components/autocomplete/src/autocomplete.mjs +325 -67
  14. package/es/components/autocomplete/src/autocomplete.mjs.map +1 -1
  15. package/es/components/autocomplete/src/autocomplete2.mjs +67 -325
  16. package/es/components/autocomplete/src/autocomplete2.mjs.map +1 -1
  17. package/es/components/backtop/index.mjs +2 -2
  18. package/es/components/backtop/src/backtop.mjs +100 -21
  19. package/es/components/backtop/src/backtop.mjs.map +1 -1
  20. package/es/components/backtop/src/backtop2.mjs +21 -100
  21. package/es/components/backtop/src/backtop2.mjs.map +1 -1
  22. package/es/components/breadcrumb/index.mjs +2 -2
  23. package/es/components/breadcrumb/src/breadcrumb-item.mjs +11 -57
  24. package/es/components/breadcrumb/src/breadcrumb-item.mjs.map +1 -1
  25. package/es/components/breadcrumb/src/breadcrumb-item2.mjs +57 -11
  26. package/es/components/breadcrumb/src/breadcrumb-item2.mjs.map +1 -1
  27. package/es/components/button/index.mjs +3 -3
  28. package/es/components/button/src/button-group.mjs +5 -30
  29. package/es/components/button/src/button-group.mjs.map +1 -1
  30. package/es/components/button/src/button-group2.mjs +30 -5
  31. package/es/components/button/src/button-group2.mjs.map +1 -1
  32. package/es/components/button/src/button.mjs +106 -51
  33. package/es/components/button/src/button.mjs.map +1 -1
  34. package/es/components/button/src/button2.mjs +51 -106
  35. package/es/components/button/src/button2.mjs.map +1 -1
  36. package/es/components/carousel/index.mjs +2 -2
  37. package/es/components/carousel/src/carousel.mjs +48 -319
  38. package/es/components/carousel/src/carousel.mjs.map +1 -1
  39. package/es/components/carousel/src/carousel2.mjs +319 -48
  40. package/es/components/carousel/src/carousel2.mjs.map +1 -1
  41. package/es/components/dialog/index.mjs +2 -2
  42. package/es/components/dialog/src/dialog.mjs +113 -70
  43. package/es/components/dialog/src/dialog.mjs.map +1 -1
  44. package/es/components/dialog/src/dialog2.mjs +70 -113
  45. package/es/components/dialog/src/dialog2.mjs.map +1 -1
  46. package/es/components/drawer/index.mjs +2 -2
  47. package/es/components/drawer/src/drawer.mjs +21 -126
  48. package/es/components/drawer/src/drawer.mjs.map +1 -1
  49. package/es/components/drawer/src/drawer2.mjs +126 -21
  50. package/es/components/drawer/src/drawer2.mjs.map +1 -1
  51. package/es/components/empty/index.mjs +2 -2
  52. package/es/components/empty/src/empty.mjs +11 -56
  53. package/es/components/empty/src/empty.mjs.map +1 -1
  54. package/es/components/empty/src/empty2.mjs +56 -11
  55. package/es/components/empty/src/empty2.mjs.map +1 -1
  56. package/es/components/form/index.mjs +2 -2
  57. package/es/components/form/src/form-item.mjs +43 -272
  58. package/es/components/form/src/form-item.mjs.map +1 -1
  59. package/es/components/form/src/form-item2.mjs +272 -43
  60. package/es/components/form/src/form-item2.mjs.map +1 -1
  61. package/es/components/icon/index.mjs +2 -2
  62. package/es/components/icon/src/icon.mjs +35 -8
  63. package/es/components/icon/src/icon.mjs.map +1 -1
  64. package/es/components/icon/src/icon2.mjs +8 -35
  65. package/es/components/icon/src/icon2.mjs.map +1 -1
  66. package/es/components/index.mjs +26 -26
  67. package/es/components/input/index.mjs +2 -2
  68. package/es/components/input/src/input.mjs +92 -433
  69. package/es/components/input/src/input.mjs.map +1 -1
  70. package/es/components/input/src/input2.mjs +433 -92
  71. package/es/components/input/src/input2.mjs.map +1 -1
  72. package/es/components/input-number/index.mjs +2 -2
  73. package/es/components/input-number/src/input-number.mjs +284 -53
  74. package/es/components/input-number/src/input-number.mjs.map +1 -1
  75. package/es/components/input-number/src/input-number2.mjs +53 -284
  76. package/es/components/input-number/src/input-number2.mjs.map +1 -1
  77. package/es/components/link/index.mjs +2 -2
  78. package/es/components/link/src/link.mjs +49 -22
  79. package/es/components/link/src/link.mjs.map +1 -1
  80. package/es/components/link/src/link2.mjs +22 -49
  81. package/es/components/link/src/link2.mjs.map +1 -1
  82. package/es/components/menu/index.mjs +2 -2
  83. package/es/components/menu/src/menu-item-group.mjs +4 -51
  84. package/es/components/menu/src/menu-item-group.mjs.map +1 -1
  85. package/es/components/menu/src/menu-item-group2.mjs +51 -4
  86. package/es/components/menu/src/menu-item-group2.mjs.map +1 -1
  87. package/es/components/page-header/index.mjs +2 -2
  88. package/es/components/page-header/src/page-header.mjs +60 -17
  89. package/es/components/page-header/src/page-header.mjs.map +1 -1
  90. package/es/components/page-header/src/page-header2.mjs +17 -60
  91. package/es/components/page-header/src/page-header2.mjs.map +1 -1
  92. package/es/components/popconfirm/index.mjs +2 -2
  93. package/es/components/popconfirm/src/popconfirm.mjs +52 -119
  94. package/es/components/popconfirm/src/popconfirm.mjs.map +1 -1
  95. package/es/components/popconfirm/src/popconfirm2.mjs +119 -52
  96. package/es/components/popconfirm/src/popconfirm2.mjs.map +1 -1
  97. package/es/components/popper/index.mjs +2 -2
  98. package/es/components/popper/src/arrow.mjs +37 -7
  99. package/es/components/popper/src/arrow.mjs.map +1 -1
  100. package/es/components/popper/src/arrow2.mjs +7 -37
  101. package/es/components/popper/src/arrow2.mjs.map +1 -1
  102. package/es/components/progress/index.mjs +2 -2
  103. package/es/components/progress/src/progress.mjs +230 -57
  104. package/es/components/progress/src/progress.mjs.map +1 -1
  105. package/es/components/progress/src/progress2.mjs +57 -230
  106. package/es/components/progress/src/progress2.mjs.map +1 -1
  107. package/es/components/radio/index.mjs +2 -2
  108. package/es/components/radio/src/radio-group.mjs +20 -84
  109. package/es/components/radio/src/radio-group.mjs.map +1 -1
  110. package/es/components/radio/src/radio-group2.mjs +84 -20
  111. package/es/components/radio/src/radio-group2.mjs.map +1 -1
  112. package/es/components/rate/index.mjs +2 -2
  113. package/es/components/rate/src/rate.mjs +239 -88
  114. package/es/components/rate/src/rate.mjs.map +1 -1
  115. package/es/components/rate/src/rate2.mjs +88 -239
  116. package/es/components/rate/src/rate2.mjs.map +1 -1
  117. package/es/components/skeleton/index.mjs +2 -2
  118. package/es/components/skeleton/src/skeleton-item.mjs +18 -23
  119. package/es/components/skeleton/src/skeleton-item.mjs.map +1 -1
  120. package/es/components/skeleton/src/skeleton-item2.mjs +23 -18
  121. package/es/components/skeleton/src/skeleton-item2.mjs.map +1 -1
  122. package/es/components/skeleton/src/skeleton.mjs +1 -1
  123. package/es/components/switch/index.mjs +2 -2
  124. package/es/components/switch/src/switch.mjs +250 -87
  125. package/es/components/switch/src/switch.mjs.map +1 -1
  126. package/es/components/switch/src/switch2.mjs +87 -250
  127. package/es/components/switch/src/switch2.mjs.map +1 -1
  128. package/es/components/tabs/index.mjs +3 -3
  129. package/es/components/tabs/src/tab-bar.mjs +76 -7
  130. package/es/components/tabs/src/tab-bar.mjs.map +1 -1
  131. package/es/components/tabs/src/tab-bar2.mjs +7 -76
  132. package/es/components/tabs/src/tab-bar2.mjs.map +1 -1
  133. package/es/components/tabs/src/tab-nav.mjs +1 -1
  134. package/es/components/tabs/src/tab-pane.mjs +60 -14
  135. package/es/components/tabs/src/tab-pane.mjs.map +1 -1
  136. package/es/components/tabs/src/tab-pane2.mjs +14 -60
  137. package/es/components/tabs/src/tab-pane2.mjs.map +1 -1
  138. package/es/components/teleport/index.mjs +2 -2
  139. package/es/components/teleport/src/teleport.mjs +18 -43
  140. package/es/components/teleport/src/teleport.mjs.map +1 -1
  141. package/es/components/teleport/src/teleport2.mjs +43 -18
  142. package/es/components/teleport/src/teleport2.mjs.map +1 -1
  143. package/es/components/tooltip/src/tooltip2.mjs +2 -2
  144. package/es/components/tooltip-v2/index.mjs +3 -3
  145. package/es/components/tooltip-v2/src/arrow.mjs +22 -38
  146. package/es/components/tooltip-v2/src/arrow.mjs.map +1 -1
  147. package/es/components/tooltip-v2/src/arrow2.mjs +38 -22
  148. package/es/components/tooltip-v2/src/arrow2.mjs.map +1 -1
  149. package/es/components/tooltip-v2/src/tooltip.mjs +20 -73
  150. package/es/components/tooltip-v2/src/tooltip.mjs.map +1 -1
  151. package/es/components/tooltip-v2/src/tooltip2.mjs +73 -20
  152. package/es/components/tooltip-v2/src/tooltip2.mjs.map +1 -1
  153. package/es/index.mjs +26 -26
  154. package/lib/components/affix/index.js +2 -2
  155. package/lib/components/affix/src/affix.js +114 -24
  156. package/lib/components/affix/src/affix.js.map +1 -1
  157. package/lib/components/affix/src/affix2.js +24 -114
  158. package/lib/components/affix/src/affix2.js.map +1 -1
  159. package/lib/components/autocomplete/index.js +2 -2
  160. package/lib/components/autocomplete/src/autocomplete.js +324 -67
  161. package/lib/components/autocomplete/src/autocomplete.js.map +1 -1
  162. package/lib/components/autocomplete/src/autocomplete2.js +67 -324
  163. package/lib/components/autocomplete/src/autocomplete2.js.map +1 -1
  164. package/lib/components/backtop/index.js +2 -2
  165. package/lib/components/backtop/src/backtop.js +100 -22
  166. package/lib/components/backtop/src/backtop.js.map +1 -1
  167. package/lib/components/backtop/src/backtop2.js +22 -100
  168. package/lib/components/backtop/src/backtop2.js.map +1 -1
  169. package/lib/components/breadcrumb/index.js +2 -2
  170. package/lib/components/breadcrumb/src/breadcrumb-item.js +11 -57
  171. package/lib/components/breadcrumb/src/breadcrumb-item.js.map +1 -1
  172. package/lib/components/breadcrumb/src/breadcrumb-item2.js +57 -11
  173. package/lib/components/breadcrumb/src/breadcrumb-item2.js.map +1 -1
  174. package/lib/components/button/index.js +3 -3
  175. package/lib/components/button/src/button-group.js +5 -30
  176. package/lib/components/button/src/button-group.js.map +1 -1
  177. package/lib/components/button/src/button-group2.js +30 -5
  178. package/lib/components/button/src/button-group2.js.map +1 -1
  179. package/lib/components/button/src/button.js +106 -54
  180. package/lib/components/button/src/button.js.map +1 -1
  181. package/lib/components/button/src/button2.js +54 -106
  182. package/lib/components/button/src/button2.js.map +1 -1
  183. package/lib/components/carousel/index.js +2 -2
  184. package/lib/components/carousel/src/carousel.js +49 -319
  185. package/lib/components/carousel/src/carousel.js.map +1 -1
  186. package/lib/components/carousel/src/carousel2.js +319 -49
  187. package/lib/components/carousel/src/carousel2.js.map +1 -1
  188. package/lib/components/dialog/index.js +2 -2
  189. package/lib/components/dialog/src/dialog.js +113 -71
  190. package/lib/components/dialog/src/dialog.js.map +1 -1
  191. package/lib/components/dialog/src/dialog2.js +71 -113
  192. package/lib/components/dialog/src/dialog2.js.map +1 -1
  193. package/lib/components/drawer/index.js +2 -2
  194. package/lib/components/drawer/src/drawer.js +22 -126
  195. package/lib/components/drawer/src/drawer.js.map +1 -1
  196. package/lib/components/drawer/src/drawer2.js +126 -22
  197. package/lib/components/drawer/src/drawer2.js.map +1 -1
  198. package/lib/components/empty/index.js +2 -2
  199. package/lib/components/empty/src/empty.js +11 -56
  200. package/lib/components/empty/src/empty.js.map +1 -1
  201. package/lib/components/empty/src/empty2.js +56 -11
  202. package/lib/components/empty/src/empty2.js.map +1 -1
  203. package/lib/components/form/index.js +2 -2
  204. package/lib/components/form/src/form-item.js +44 -276
  205. package/lib/components/form/src/form-item.js.map +1 -1
  206. package/lib/components/form/src/form-item2.js +276 -44
  207. package/lib/components/form/src/form-item2.js.map +1 -1
  208. package/lib/components/icon/index.js +2 -2
  209. package/lib/components/icon/src/icon.js +35 -8
  210. package/lib/components/icon/src/icon.js.map +1 -1
  211. package/lib/components/icon/src/icon2.js +8 -35
  212. package/lib/components/icon/src/icon2.js.map +1 -1
  213. package/lib/components/index.js +26 -26
  214. package/lib/components/input/index.js +2 -2
  215. package/lib/components/input/src/input.js +92 -432
  216. package/lib/components/input/src/input.js.map +1 -1
  217. package/lib/components/input/src/input2.js +432 -92
  218. package/lib/components/input/src/input2.js.map +1 -1
  219. package/lib/components/input-number/index.js +2 -2
  220. package/lib/components/input-number/src/input-number.js +284 -54
  221. package/lib/components/input-number/src/input-number.js.map +1 -1
  222. package/lib/components/input-number/src/input-number2.js +54 -284
  223. package/lib/components/input-number/src/input-number2.js.map +1 -1
  224. package/lib/components/link/index.js +2 -2
  225. package/lib/components/link/src/link.js +49 -23
  226. package/lib/components/link/src/link.js.map +1 -1
  227. package/lib/components/link/src/link2.js +23 -49
  228. package/lib/components/link/src/link2.js.map +1 -1
  229. package/lib/components/menu/index.js +2 -2
  230. package/lib/components/menu/src/menu-item-group.js +4 -51
  231. package/lib/components/menu/src/menu-item-group.js.map +1 -1
  232. package/lib/components/menu/src/menu-item-group2.js +51 -4
  233. package/lib/components/menu/src/menu-item-group2.js.map +1 -1
  234. package/lib/components/page-header/index.js +2 -2
  235. package/lib/components/page-header/src/page-header.js +60 -18
  236. package/lib/components/page-header/src/page-header.js.map +1 -1
  237. package/lib/components/page-header/src/page-header2.js +18 -60
  238. package/lib/components/page-header/src/page-header2.js.map +1 -1
  239. package/lib/components/popconfirm/index.js +2 -2
  240. package/lib/components/popconfirm/src/popconfirm.js +52 -119
  241. package/lib/components/popconfirm/src/popconfirm.js.map +1 -1
  242. package/lib/components/popconfirm/src/popconfirm2.js +119 -52
  243. package/lib/components/popconfirm/src/popconfirm2.js.map +1 -1
  244. package/lib/components/popper/index.js +2 -2
  245. package/lib/components/popper/src/arrow.js +37 -7
  246. package/lib/components/popper/src/arrow.js.map +1 -1
  247. package/lib/components/popper/src/arrow2.js +7 -37
  248. package/lib/components/popper/src/arrow2.js.map +1 -1
  249. package/lib/components/progress/index.js +2 -2
  250. package/lib/components/progress/src/progress.js +230 -57
  251. package/lib/components/progress/src/progress.js.map +1 -1
  252. package/lib/components/progress/src/progress2.js +57 -230
  253. package/lib/components/progress/src/progress2.js.map +1 -1
  254. package/lib/components/radio/index.js +2 -2
  255. package/lib/components/radio/src/radio-group.js +21 -84
  256. package/lib/components/radio/src/radio-group.js.map +1 -1
  257. package/lib/components/radio/src/radio-group2.js +84 -21
  258. package/lib/components/radio/src/radio-group2.js.map +1 -1
  259. package/lib/components/rate/index.js +2 -2
  260. package/lib/components/rate/src/rate.js +239 -89
  261. package/lib/components/rate/src/rate.js.map +1 -1
  262. package/lib/components/rate/src/rate2.js +89 -239
  263. package/lib/components/rate/src/rate2.js.map +1 -1
  264. package/lib/components/skeleton/index.js +2 -2
  265. package/lib/components/skeleton/src/skeleton-item.js +18 -23
  266. package/lib/components/skeleton/src/skeleton-item.js.map +1 -1
  267. package/lib/components/skeleton/src/skeleton-item2.js +23 -18
  268. package/lib/components/skeleton/src/skeleton-item2.js.map +1 -1
  269. package/lib/components/skeleton/src/skeleton.js +1 -1
  270. package/lib/components/switch/index.js +2 -2
  271. package/lib/components/switch/src/switch.js +249 -87
  272. package/lib/components/switch/src/switch.js.map +1 -1
  273. package/lib/components/switch/src/switch2.js +87 -249
  274. package/lib/components/switch/src/switch2.js.map +1 -1
  275. package/lib/components/tabs/index.js +3 -3
  276. package/lib/components/tabs/src/tab-bar.js +76 -7
  277. package/lib/components/tabs/src/tab-bar.js.map +1 -1
  278. package/lib/components/tabs/src/tab-bar2.js +7 -76
  279. package/lib/components/tabs/src/tab-bar2.js.map +1 -1
  280. package/lib/components/tabs/src/tab-nav.js +1 -1
  281. package/lib/components/tabs/src/tab-pane.js +60 -14
  282. package/lib/components/tabs/src/tab-pane.js.map +1 -1
  283. package/lib/components/tabs/src/tab-pane2.js +14 -60
  284. package/lib/components/tabs/src/tab-pane2.js.map +1 -1
  285. package/lib/components/teleport/index.js +2 -2
  286. package/lib/components/teleport/src/teleport.js +18 -43
  287. package/lib/components/teleport/src/teleport.js.map +1 -1
  288. package/lib/components/teleport/src/teleport2.js +43 -18
  289. package/lib/components/teleport/src/teleport2.js.map +1 -1
  290. package/lib/components/tooltip/src/tooltip2.js +2 -2
  291. package/lib/components/tooltip-v2/index.js +3 -3
  292. package/lib/components/tooltip-v2/src/arrow.js +23 -38
  293. package/lib/components/tooltip-v2/src/arrow.js.map +1 -1
  294. package/lib/components/tooltip-v2/src/arrow2.js +38 -23
  295. package/lib/components/tooltip-v2/src/arrow2.js.map +1 -1
  296. package/lib/components/tooltip-v2/src/tooltip.js +20 -73
  297. package/lib/components/tooltip-v2/src/tooltip.js.map +1 -1
  298. package/lib/components/tooltip-v2/src/tooltip2.js +73 -20
  299. package/lib/components/tooltip-v2/src/tooltip2.js.map +1 -1
  300. package/lib/index.js +26 -26
  301. package/package.json +1 -1
  302. package/web-types.json +1 -1
@@ -2,66 +2,296 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ var vue = require('vue');
6
+ var index$1 = require('../../icon/index.js');
7
+ require('../../../directives/index.js');
8
+ require('../../../hooks/index.js');
9
+ var index = require('../../input/index.js');
5
10
  require('../../../utils/index.js');
6
- require('../../../constants/index.js');
7
- var props = require('../../../utils/vue/props.js');
8
- var size = require('../../../constants/size.js');
11
+ var iconsVue = require('@element-plus/icons-vue');
12
+ var inputNumber = require('./input-number2.js');
13
+ var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
14
+ var index$2 = require('../../../directives/repeat-click/index.js');
15
+ var index$3 = require('../../../hooks/use-form-item/index.js');
16
+ var index$4 = require('../../../hooks/use-namespace/index.js');
17
+ var types = require('../../../utils/types.js');
18
+ var error = require('../../../utils/error.js');
19
+ var index$5 = require('../../../hooks/use-common-props/index.js');
9
20
  var core = require('@vueuse/core');
10
21
 
11
- const inputNumberProps = props.buildProps({
12
- step: {
13
- type: Number,
14
- default: 1
22
+ const _sfc_main = vue.defineComponent({
23
+ name: "ElInputNumber",
24
+ components: {
25
+ ElInput: index.ElInput,
26
+ ElIcon: index$1.ElIcon,
27
+ ArrowUp: iconsVue.ArrowUp,
28
+ ArrowDown: iconsVue.ArrowDown,
29
+ Plus: iconsVue.Plus,
30
+ Minus: iconsVue.Minus
15
31
  },
16
- stepStrictly: {
17
- type: Boolean,
18
- default: false
32
+ directives: {
33
+ RepeatClick: index$2["default"]
19
34
  },
20
- max: {
21
- type: Number,
22
- default: Number.POSITIVE_INFINITY
23
- },
24
- min: {
25
- type: Number,
26
- default: Number.NEGATIVE_INFINITY
27
- },
28
- modelValue: {
29
- type: Number,
30
- required: true
31
- },
32
- disabled: {
33
- type: Boolean,
34
- default: false
35
- },
36
- size: {
37
- type: String,
38
- values: size.componentSizes
39
- },
40
- controls: {
41
- type: Boolean,
42
- default: true
43
- },
44
- controlsPosition: {
45
- type: String,
46
- default: "",
47
- values: ["", "right"]
48
- },
49
- name: String,
50
- label: String,
51
- placeholder: String,
52
- precision: {
53
- type: Number,
54
- validator: (val) => val >= 0 && val === Number.parseInt(`${val}`, 10)
35
+ props: inputNumber.inputNumberProps,
36
+ emits: inputNumber.inputNumberEmits,
37
+ setup(props, { emit }) {
38
+ const input = vue.ref();
39
+ const data = vue.reactive({
40
+ currentValue: props.modelValue,
41
+ userInput: null
42
+ });
43
+ const { formItem } = index$3.useFormItem();
44
+ const ns = index$4.useNamespace("input-number");
45
+ const minDisabled = vue.computed(() => ensurePrecision(props.modelValue, -1) < props.min);
46
+ const maxDisabled = vue.computed(() => ensurePrecision(props.modelValue) > props.max);
47
+ const numPrecision = vue.computed(() => {
48
+ const stepPrecision = getPrecision(props.step);
49
+ if (!types.isUndefined(props.precision)) {
50
+ if (stepPrecision > props.precision) {
51
+ error.debugWarn("InputNumber", "precision should not be less than the decimal places of step");
52
+ }
53
+ return props.precision;
54
+ } else {
55
+ return Math.max(getPrecision(props.modelValue), stepPrecision);
56
+ }
57
+ });
58
+ const controlsAtRight = vue.computed(() => {
59
+ return props.controls && props.controlsPosition === "right";
60
+ });
61
+ const inputNumberSize = index$5.useSize();
62
+ const inputNumberDisabled = index$5.useDisabled();
63
+ const displayValue = vue.computed(() => {
64
+ if (data.userInput !== null) {
65
+ return data.userInput;
66
+ }
67
+ let currentValue = data.currentValue;
68
+ if (core.isNumber(currentValue)) {
69
+ if (Number.isNaN(currentValue))
70
+ return "";
71
+ if (!types.isUndefined(props.precision)) {
72
+ currentValue = currentValue.toFixed(props.precision);
73
+ }
74
+ }
75
+ return currentValue;
76
+ });
77
+ const toPrecision = (num, pre) => {
78
+ if (types.isUndefined(pre))
79
+ pre = numPrecision.value;
80
+ return Number.parseFloat(`${Math.round(num * 10 ** pre) / 10 ** pre}`);
81
+ };
82
+ const getPrecision = (value) => {
83
+ if (types.isUndefined(value))
84
+ return 0;
85
+ const valueString = value.toString();
86
+ const dotPosition = valueString.indexOf(".");
87
+ let precision = 0;
88
+ if (dotPosition !== -1) {
89
+ precision = valueString.length - dotPosition - 1;
90
+ }
91
+ return precision;
92
+ };
93
+ const ensurePrecision = (val, coefficient = 1) => {
94
+ if (!core.isNumber(val))
95
+ return data.currentValue;
96
+ val = core.isNumber(val) ? val : Number.NaN;
97
+ return toPrecision(val + props.step * coefficient);
98
+ };
99
+ const increase = () => {
100
+ if (inputNumberDisabled.value || maxDisabled.value)
101
+ return;
102
+ const value = props.modelValue || 0;
103
+ const newVal = ensurePrecision(value);
104
+ setCurrentValue(newVal);
105
+ };
106
+ const decrease = () => {
107
+ if (inputNumberDisabled.value || minDisabled.value)
108
+ return;
109
+ const value = props.modelValue || 0;
110
+ const newVal = ensurePrecision(value, -1);
111
+ setCurrentValue(newVal);
112
+ };
113
+ const verifyValue = (value, update) => {
114
+ const { max, min, step, precision, stepStrictly } = props;
115
+ let newVal = Number(value);
116
+ if (value === null || value === "") {
117
+ newVal = Number.NaN;
118
+ }
119
+ if (!Number.isNaN(newVal)) {
120
+ if (stepStrictly) {
121
+ newVal = Math.round(newVal / step) * step;
122
+ }
123
+ if (!types.isUndefined(precision)) {
124
+ newVal = toPrecision(newVal, precision);
125
+ }
126
+ if (newVal > max || newVal < min) {
127
+ newVal = newVal > max ? max : min;
128
+ update && emit("update:modelValue", newVal);
129
+ }
130
+ }
131
+ return newVal;
132
+ };
133
+ const setCurrentValue = (value) => {
134
+ var _a;
135
+ const oldVal = data.currentValue;
136
+ let newVal = verifyValue(value);
137
+ if (oldVal === newVal)
138
+ return;
139
+ if (Number.isNaN(newVal)) {
140
+ newVal = void 0;
141
+ }
142
+ data.userInput = null;
143
+ emit("update:modelValue", newVal);
144
+ emit("change", newVal, oldVal);
145
+ (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "change").catch((err) => error.debugWarn(err));
146
+ data.currentValue = newVal;
147
+ };
148
+ const handleInput = (value) => {
149
+ emit("input", value);
150
+ return data.userInput = value;
151
+ };
152
+ const handleInputChange = (value) => {
153
+ const newVal = value !== "" ? Number(value) : "";
154
+ if (core.isNumber(newVal) && !Number.isNaN(newVal) || value === "") {
155
+ setCurrentValue(newVal);
156
+ }
157
+ data.userInput = null;
158
+ };
159
+ const focus = () => {
160
+ var _a, _b;
161
+ (_b = (_a = input.value) == null ? void 0 : _a.focus) == null ? void 0 : _b.call(_a);
162
+ };
163
+ const blur = () => {
164
+ var _a, _b;
165
+ (_b = (_a = input.value) == null ? void 0 : _a.blur) == null ? void 0 : _b.call(_a);
166
+ };
167
+ const handleFocus = (event) => {
168
+ emit("focus", event);
169
+ };
170
+ const handleBlur = (event) => {
171
+ var _a;
172
+ emit("blur", event);
173
+ (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "blur").catch((err) => error.debugWarn(err));
174
+ };
175
+ vue.watch(() => props.modelValue, (value) => {
176
+ const newVal = verifyValue(value, true);
177
+ data.currentValue = newVal;
178
+ data.userInput = null;
179
+ }, { immediate: true });
180
+ vue.onMounted(() => {
181
+ var _a;
182
+ const innerInput = (_a = input.value) == null ? void 0 : _a.input;
183
+ innerInput.setAttribute("role", "spinbutton");
184
+ innerInput.setAttribute("aria-valuemax", String(props.max));
185
+ innerInput.setAttribute("aria-valuemin", String(props.min));
186
+ innerInput.setAttribute("aria-valuenow", String(data.currentValue));
187
+ innerInput.setAttribute("aria-disabled", String(inputNumberDisabled.value));
188
+ if (!core.isNumber(props.modelValue)) {
189
+ let val = Number(props.modelValue);
190
+ if (Number.isNaN(val)) {
191
+ val = void 0;
192
+ }
193
+ emit("update:modelValue", val);
194
+ }
195
+ });
196
+ vue.onUpdated(() => {
197
+ var _a;
198
+ const innerInput = (_a = input.value) == null ? void 0 : _a.input;
199
+ innerInput == null ? void 0 : innerInput.setAttribute("aria-valuenow", data.currentValue);
200
+ });
201
+ return {
202
+ input,
203
+ displayValue,
204
+ handleInput,
205
+ handleInputChange,
206
+ controlsAtRight,
207
+ decrease,
208
+ increase,
209
+ inputNumberSize,
210
+ inputNumberDisabled,
211
+ maxDisabled,
212
+ minDisabled,
213
+ focus,
214
+ blur,
215
+ handleFocus,
216
+ handleBlur,
217
+ ns
218
+ };
55
219
  }
56
220
  });
57
- const inputNumberEmits = {
58
- change: (prev, cur) => prev !== cur,
59
- blur: (e) => e instanceof FocusEvent,
60
- focus: (e) => e instanceof FocusEvent,
61
- input: (val) => core.isNumber(val),
62
- "update:modelValue": (val) => core.isNumber(val) || val === void 0
63
- };
221
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
222
+ const _component_arrow_down = vue.resolveComponent("arrow-down");
223
+ const _component_minus = vue.resolveComponent("minus");
224
+ const _component_el_icon = vue.resolveComponent("el-icon");
225
+ const _component_arrow_up = vue.resolveComponent("arrow-up");
226
+ const _component_plus = vue.resolveComponent("plus");
227
+ const _component_el_input = vue.resolveComponent("el-input");
228
+ const _directive_repeat_click = vue.resolveDirective("repeat-click");
229
+ return vue.openBlock(), vue.createElementBlock("div", {
230
+ class: vue.normalizeClass([
231
+ _ctx.ns.b(),
232
+ _ctx.ns.m(_ctx.inputNumberSize),
233
+ _ctx.ns.is("disabled", _ctx.inputNumberDisabled),
234
+ _ctx.ns.is("without-controls", !_ctx.controls),
235
+ _ctx.ns.is("controls-right", _ctx.controlsAtRight)
236
+ ]),
237
+ onDragstart: _cache[2] || (_cache[2] = vue.withModifiers(() => {
238
+ }, ["prevent"]))
239
+ }, [
240
+ _ctx.controls ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", {
241
+ key: 0,
242
+ role: "button",
243
+ class: vue.normalizeClass([_ctx.ns.e("decrease"), _ctx.ns.is("disabled", _ctx.minDisabled)]),
244
+ onKeydown: _cache[0] || (_cache[0] = vue.withKeys((...args) => _ctx.decrease && _ctx.decrease(...args), ["enter"]))
245
+ }, [
246
+ vue.createVNode(_component_el_icon, null, {
247
+ default: vue.withCtx(() => [
248
+ _ctx.controlsAtRight ? (vue.openBlock(), vue.createBlock(_component_arrow_down, { key: 0 })) : (vue.openBlock(), vue.createBlock(_component_minus, { key: 1 }))
249
+ ]),
250
+ _: 1
251
+ })
252
+ ], 34)), [
253
+ [_directive_repeat_click, _ctx.decrease]
254
+ ]) : vue.createCommentVNode("v-if", true),
255
+ _ctx.controls ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", {
256
+ key: 1,
257
+ role: "button",
258
+ class: vue.normalizeClass([_ctx.ns.e("increase"), _ctx.ns.is("disabled", _ctx.maxDisabled)]),
259
+ onKeydown: _cache[1] || (_cache[1] = vue.withKeys((...args) => _ctx.increase && _ctx.increase(...args), ["enter"]))
260
+ }, [
261
+ vue.createVNode(_component_el_icon, null, {
262
+ default: vue.withCtx(() => [
263
+ _ctx.controlsAtRight ? (vue.openBlock(), vue.createBlock(_component_arrow_up, { key: 0 })) : (vue.openBlock(), vue.createBlock(_component_plus, { key: 1 }))
264
+ ]),
265
+ _: 1
266
+ })
267
+ ], 34)), [
268
+ [_directive_repeat_click, _ctx.increase]
269
+ ]) : vue.createCommentVNode("v-if", true),
270
+ vue.createVNode(_component_el_input, {
271
+ ref: "input",
272
+ type: "number",
273
+ step: _ctx.step,
274
+ "model-value": _ctx.displayValue,
275
+ placeholder: _ctx.placeholder,
276
+ disabled: _ctx.inputNumberDisabled,
277
+ size: _ctx.inputNumberSize,
278
+ max: _ctx.max,
279
+ min: _ctx.min,
280
+ name: _ctx.name,
281
+ label: _ctx.label,
282
+ "validate-event": false,
283
+ onKeydown: [
284
+ vue.withKeys(vue.withModifiers(_ctx.increase, ["prevent"]), ["up"]),
285
+ vue.withKeys(vue.withModifiers(_ctx.decrease, ["prevent"]), ["down"])
286
+ ],
287
+ onBlur: _ctx.handleBlur,
288
+ onFocus: _ctx.handleFocus,
289
+ onInput: _ctx.handleInput,
290
+ onChange: _ctx.handleInputChange
291
+ }, null, 8, ["step", "model-value", "placeholder", "disabled", "size", "max", "min", "name", "label", "onKeydown", "onBlur", "onFocus", "onInput", "onChange"])
292
+ ], 34);
293
+ }
294
+ var InputNumber = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["render", _sfc_render], ["__file", "/Users/meng/workspace/element-pe/packages/components/input-number/src/input-number.vue"]]);
64
295
 
65
- exports.inputNumberEmits = inputNumberEmits;
66
- exports.inputNumberProps = inputNumberProps;
296
+ exports["default"] = InputNumber;
67
297
  //# sourceMappingURL=input-number.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"input-number.js","sources":["../../../../../../packages/components/input-number/src/input-number.ts"],"sourcesContent":["import { buildProps, isNumber } from '@element-plus/utils'\nimport { componentSizes } from '@element-plus/constants'\n\nexport const inputNumberProps = buildProps({\n step: {\n type: Number,\n default: 1,\n },\n stepStrictly: {\n type: Boolean,\n default: false,\n },\n max: {\n type: Number,\n default: Number.POSITIVE_INFINITY,\n },\n min: {\n type: Number,\n default: Number.NEGATIVE_INFINITY,\n },\n modelValue: {\n type: Number,\n required: true,\n },\n disabled: {\n type: Boolean,\n default: false,\n },\n size: {\n type: String,\n values: componentSizes,\n },\n controls: {\n type: Boolean,\n default: true,\n },\n controlsPosition: {\n type: String,\n default: '',\n values: ['', 'right'],\n },\n name: String,\n label: String,\n placeholder: String,\n precision: {\n type: Number,\n validator: (val: number) =>\n val >= 0 && val === Number.parseInt(`${val}`, 10),\n },\n} as const)\n\nexport const inputNumberEmits = {\n change: (prev: number | undefined, cur: number | undefined) => prev !== cur,\n blur: (e: FocusEvent) => e instanceof FocusEvent,\n focus: (e: FocusEvent) => e instanceof FocusEvent,\n input: (val: number | undefined) => isNumber(val),\n 'update:modelValue': (val: number | undefined) =>\n isNumber(val) || val === undefined,\n}\n"],"names":["buildProps","componentSizes","isNumber"],"mappings":";;;;;;;;;;AAEY,MAAC,gBAAgB,GAAGA,gBAAU,CAAC;AAC3C,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,YAAY,EAAE;AAChB,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,EAAE,GAAG,EAAE;AACP,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,MAAM,CAAC,iBAAiB;AACrC,GAAG;AACH,EAAE,GAAG,EAAE;AACP,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,MAAM,CAAC,iBAAiB;AACrC,GAAG;AACH,EAAE,UAAU,EAAE;AACd,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,QAAQ,EAAE,IAAI;AAClB,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAEC,mBAAc;AAC1B,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,gBAAgB,EAAE;AACpB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,IAAI,MAAM,EAAE,CAAC,EAAE,EAAE,OAAO,CAAC;AACzB,GAAG;AACH,EAAE,IAAI,EAAE,MAAM;AACd,EAAE,KAAK,EAAE,MAAM;AACf,EAAE,WAAW,EAAE,MAAM;AACrB,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,SAAS,EAAE,CAAC,GAAG,KAAK,GAAG,IAAI,CAAC,IAAI,GAAG,KAAK,MAAM,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,EAAE,EAAE,CAAC;AACzE,GAAG;AACH,CAAC,EAAE;AACS,MAAC,gBAAgB,GAAG;AAChC,EAAE,MAAM,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,KAAK,GAAG;AACrC,EAAE,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,YAAY,UAAU;AACtC,EAAE,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,YAAY,UAAU;AACvC,EAAE,KAAK,EAAE,CAAC,GAAG,KAAKC,aAAQ,CAAC,GAAG,CAAC;AAC/B,EAAE,mBAAmB,EAAE,CAAC,GAAG,KAAKA,aAAQ,CAAC,GAAG,CAAC,IAAI,GAAG,KAAK,KAAK,CAAC;AAC/D;;;;;"}
1
+ {"version":3,"file":"input-number.js","sources":["../../../../../../packages/components/input-number/src/input-number.vue"],"sourcesContent":["<template>\n <div\n :class=\"[\n ns.b(),\n ns.m(inputNumberSize),\n ns.is('disabled', inputNumberDisabled),\n ns.is('without-controls', !controls),\n ns.is('controls-right', controlsAtRight),\n ]\"\n @dragstart.prevent\n >\n <span\n v-if=\"controls\"\n v-repeat-click=\"decrease\"\n role=\"button\"\n :class=\"[ns.e('decrease'), ns.is('disabled', minDisabled)]\"\n @keydown.enter=\"decrease\"\n >\n <el-icon>\n <arrow-down v-if=\"controlsAtRight\" />\n <minus v-else />\n </el-icon>\n </span>\n <span\n v-if=\"controls\"\n v-repeat-click=\"increase\"\n role=\"button\"\n :class=\"[ns.e('increase'), ns.is('disabled', maxDisabled)]\"\n @keydown.enter=\"increase\"\n >\n <el-icon>\n <arrow-up v-if=\"controlsAtRight\" />\n <plus v-else />\n </el-icon>\n </span>\n <el-input\n ref=\"input\"\n type=\"number\"\n :step=\"step\"\n :model-value=\"displayValue\"\n :placeholder=\"placeholder\"\n :disabled=\"inputNumberDisabled\"\n :size=\"inputNumberSize\"\n :max=\"max\"\n :min=\"min\"\n :name=\"name\"\n :label=\"label\"\n :validate-event=\"false\"\n @keydown.up.prevent=\"increase\"\n @keydown.down.prevent=\"decrease\"\n @blur=\"handleBlur\"\n @focus=\"handleFocus\"\n @input=\"handleInput\"\n @change=\"handleInputChange\"\n />\n </div>\n</template>\n<script lang=\"ts\">\nimport {\n computed,\n defineComponent,\n onMounted,\n onUpdated,\n reactive,\n ref,\n watch,\n} from 'vue'\n\nimport { ElIcon } from '@element-plus/components/icon'\nimport { RepeatClick } from '@element-plus/directives'\nimport {\n useDisabled,\n useFormItem,\n useNamespace,\n useSize,\n} from '@element-plus/hooks'\nimport ElInput from '@element-plus/components/input'\nimport { debugWarn, isNumber, isUndefined } from '@element-plus/utils'\nimport { ArrowDown, ArrowUp, Minus, Plus } from '@element-plus/icons-vue'\nimport { inputNumberEmits, inputNumberProps } from './input-number'\n\nimport type { ComponentPublicInstance } from 'vue'\n\ninterface IData {\n currentValue: number | undefined\n userInput: null | number | string\n}\n\nexport default defineComponent({\n name: 'ElInputNumber',\n components: {\n ElInput,\n ElIcon,\n ArrowUp,\n ArrowDown,\n Plus,\n Minus,\n },\n directives: {\n RepeatClick,\n },\n props: inputNumberProps,\n emits: inputNumberEmits,\n setup(props, { emit }) {\n const input = ref<ComponentPublicInstance<typeof ElInput>>()\n const data = reactive<IData>({\n currentValue: props.modelValue,\n userInput: null,\n })\n const { formItem } = useFormItem()\n const ns = useNamespace('input-number')\n\n const minDisabled = computed(\n () => ensurePrecision(props.modelValue, -1) < props.min\n )\n const maxDisabled = computed(\n () => ensurePrecision(props.modelValue) > props.max\n )\n\n const numPrecision = computed(() => {\n const stepPrecision = getPrecision(props.step)\n if (!isUndefined(props.precision)) {\n if (stepPrecision > props.precision) {\n debugWarn(\n 'InputNumber',\n 'precision should not be less than the decimal places of step'\n )\n }\n return props.precision\n } else {\n return Math.max(getPrecision(props.modelValue), stepPrecision)\n }\n })\n const controlsAtRight = computed(() => {\n return props.controls && props.controlsPosition === 'right'\n })\n\n const inputNumberSize = useSize()\n const inputNumberDisabled = useDisabled()\n\n const displayValue = computed(() => {\n if (data.userInput !== null) {\n return data.userInput\n }\n let currentValue: number | string | undefined = data.currentValue\n if (isNumber(currentValue)) {\n if (Number.isNaN(currentValue)) return ''\n if (!isUndefined(props.precision)) {\n currentValue = currentValue.toFixed(props.precision)\n }\n }\n return currentValue\n })\n const toPrecision = (num: number, pre?: number) => {\n if (isUndefined(pre)) pre = numPrecision.value\n return Number.parseFloat(`${Math.round(num * 10 ** pre) / 10 ** pre}`)\n }\n const getPrecision = (value: number | undefined) => {\n if (isUndefined(value)) return 0\n const valueString = value.toString()\n const dotPosition = valueString.indexOf('.')\n let precision = 0\n if (dotPosition !== -1) {\n precision = valueString.length - dotPosition - 1\n }\n return precision\n }\n const ensurePrecision = (val: number, coefficient: 1 | -1 = 1) => {\n if (!isNumber(val)) return data.currentValue\n // Solve the accuracy problem of JS decimal calculation by converting the value to integer.\n val = isNumber(val) ? val : Number.NaN\n return toPrecision(val + props.step * coefficient)\n }\n const increase = () => {\n if (inputNumberDisabled.value || maxDisabled.value) return\n const value = props.modelValue || 0\n const newVal = ensurePrecision(value)\n setCurrentValue(newVal)\n }\n const decrease = () => {\n if (inputNumberDisabled.value || minDisabled.value) return\n const value = props.modelValue || 0\n const newVal = ensurePrecision(value, -1)\n setCurrentValue(newVal)\n }\n const verifyValue = (\n value: number | string | undefined,\n update?: boolean\n ): number | undefined => {\n const { max, min, step, precision, stepStrictly } = props\n let newVal = Number(value)\n if (value === null || value === '') {\n newVal = Number.NaN\n }\n if (!Number.isNaN(newVal)) {\n if (stepStrictly) {\n newVal = Math.round(newVal / step) * step\n }\n if (!isUndefined(precision)) {\n newVal = toPrecision(newVal, precision)\n }\n if (newVal > max || newVal < min) {\n newVal = newVal > max ? max : min\n update && emit('update:modelValue', newVal)\n }\n }\n return newVal\n }\n const setCurrentValue = (value: number | string | undefined) => {\n const oldVal = data.currentValue\n let newVal = verifyValue(value)\n if (oldVal === newVal) return\n if (Number.isNaN(newVal)) {\n newVal = undefined\n }\n data.userInput = null\n emit('update:modelValue', newVal)\n emit('change', newVal, oldVal)\n formItem?.validate?.('change').catch((err) => debugWarn(err))\n data.currentValue = newVal\n }\n const handleInput = (value: string) => {\n emit('input', value as any)\n return (data.userInput = value)\n }\n const handleInputChange = (value: string) => {\n const newVal = value !== '' ? Number(value) : ''\n if ((isNumber(newVal) && !Number.isNaN(newVal)) || value === '') {\n setCurrentValue(newVal)\n }\n data.userInput = null\n }\n\n const focus = () => {\n input.value?.focus?.()\n }\n\n const blur = () => {\n input.value?.blur?.()\n }\n\n const handleFocus = (event: MouseEvent | FocusEvent) => {\n emit('focus', event)\n }\n\n const handleBlur = (event: MouseEvent | FocusEvent) => {\n emit('blur', event)\n formItem?.validate?.('blur').catch((err) => debugWarn(err))\n }\n\n watch(\n () => props.modelValue,\n (value) => {\n const newVal = verifyValue(value, true)\n data.currentValue = newVal\n data.userInput = null\n },\n { immediate: true }\n )\n onMounted(() => {\n const innerInput = input.value?.input as HTMLInputElement\n innerInput.setAttribute('role', 'spinbutton')\n innerInput.setAttribute('aria-valuemax', String(props.max))\n innerInput.setAttribute('aria-valuemin', String(props.min))\n innerInput.setAttribute('aria-valuenow', String(data.currentValue))\n innerInput.setAttribute(\n 'aria-disabled',\n String(inputNumberDisabled.value)\n )\n if (!isNumber(props.modelValue)) {\n let val: number | undefined = Number(props.modelValue)\n if (Number.isNaN(val)) {\n val = undefined\n }\n emit('update:modelValue', val)\n }\n })\n onUpdated(() => {\n const innerInput = input.value?.input\n innerInput?.setAttribute('aria-valuenow', data.currentValue)\n })\n return {\n input,\n displayValue,\n handleInput,\n handleInputChange,\n controlsAtRight,\n decrease,\n increase,\n inputNumberSize,\n inputNumberDisabled,\n maxDisabled,\n minDisabled,\n focus,\n blur,\n handleFocus,\n handleBlur,\n ns,\n }\n },\n})\n</script>\n"],"names":["defineComponent","ElInput","ElIcon","ArrowUp","ArrowDown","Plus","Minus","RepeatClick","inputNumberProps","inputNumberEmits","ref","reactive","useFormItem","useNamespace","computed","isUndefined","debugWarn","useSize","useDisabled","isNumber","watch","onMounted","onUpdated","_resolveComponent","_resolveDirective","_openBlock","_createElementBlock","_normalizeClass","_withDirectives","_createBlock","_createCommentVNode","_createVNode","_withKeys","_withModifiers"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAwFA,MAAK,YAAaA,mBAAa,CAAA;AAAA,EAC7B,IAAM,EAAA,eAAA;AAAA,EACN,UAAY,EAAA;AAAA,aACVC,aAAA;AAAA,YACAC,cAAA;AAAA,aACAC,gBAAA;AAAA,eACAC,kBAAA;AAAA,UACAC,aAAA;AAAA,WACAC,cAAA;AAAA,GACF;AAAA,EACA,UAAY,EAAA;AAAA,iBACVC,kBAAA;AAAA,GACF;AAAA,EACA,KAAO,EAAAC,4BAAA;AAAA,EACP,KAAO,EAAAC,4BAAA;AAAA,EACP,KAAA,CAAM,KAAO,EAAA,EAAE,IAAQ,EAAA,EAAA;AACrB,IAAA,MAAM,QAAQC,OAA6C,EAAA,CAAA;AAC3D,IAAA,MAAM,OAAOC,YAAgB,CAAA;AAAA,MAC3B,cAAc,KAAM,CAAA,UAAA;AAAA,MACpB,SAAW,EAAA,IAAA;AAAA,KACZ,CAAA,CAAA;AACD,IAAM,MAAA,EAAE,aAAaC,mBAAY,EAAA,CAAA;AACjC,IAAM,MAAA,EAAA,GAAKC,qBAAa,cAAc,CAAA,CAAA;AAEtC,IAAM,MAAA,WAAA,GAAcC,aAClB,MAAM,eAAA,CAAgB,MAAM,UAAY,EAAA,CAAA,CAAE,CAAI,GAAA,KAAA,CAAM,GACtD,CAAA,CAAA;AACA,IAAM,MAAA,WAAA,GAAcA,aAClB,MAAM,eAAA,CAAgB,MAAM,UAAU,CAAA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