input-number.js 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740
  1. module.exports =
  2. /******/ (function(modules) { // webpackBootstrap
  3. /******/ // The module cache
  4. /******/ var installedModules = {};
  5. /******/
  6. /******/ // The require function
  7. /******/ function __webpack_require__(moduleId) {
  8. /******/
  9. /******/ // Check if module is in cache
  10. /******/ if(installedModules[moduleId]) {
  11. /******/ return installedModules[moduleId].exports;
  12. /******/ }
  13. /******/ // Create a new module (and put it into the cache)
  14. /******/ var module = installedModules[moduleId] = {
  15. /******/ i: moduleId,
  16. /******/ l: false,
  17. /******/ exports: {}
  18. /******/ };
  19. /******/
  20. /******/ // Execute the module function
  21. /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
  22. /******/
  23. /******/ // Flag the module as loaded
  24. /******/ module.l = true;
  25. /******/
  26. /******/ // Return the exports of the module
  27. /******/ return module.exports;
  28. /******/ }
  29. /******/
  30. /******/
  31. /******/ // expose the modules object (__webpack_modules__)
  32. /******/ __webpack_require__.m = modules;
  33. /******/
  34. /******/ // expose the module cache
  35. /******/ __webpack_require__.c = installedModules;
  36. /******/
  37. /******/ // define getter function for harmony exports
  38. /******/ __webpack_require__.d = function(exports, name, getter) {
  39. /******/ if(!__webpack_require__.o(exports, name)) {
  40. /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
  41. /******/ }
  42. /******/ };
  43. /******/
  44. /******/ // define __esModule on exports
  45. /******/ __webpack_require__.r = function(exports) {
  46. /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
  47. /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
  48. /******/ }
  49. /******/ Object.defineProperty(exports, '__esModule', { value: true });
  50. /******/ };
  51. /******/
  52. /******/ // create a fake namespace object
  53. /******/ // mode & 1: value is a module id, require it
  54. /******/ // mode & 2: merge all properties of value into the ns
  55. /******/ // mode & 4: return value when already ns object
  56. /******/ // mode & 8|1: behave like require
  57. /******/ __webpack_require__.t = function(value, mode) {
  58. /******/ if(mode & 1) value = __webpack_require__(value);
  59. /******/ if(mode & 8) return value;
  60. /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
  61. /******/ var ns = Object.create(null);
  62. /******/ __webpack_require__.r(ns);
  63. /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
  64. /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
  65. /******/ return ns;
  66. /******/ };
  67. /******/
  68. /******/ // getDefaultExport function for compatibility with non-harmony modules
  69. /******/ __webpack_require__.n = function(module) {
  70. /******/ var getter = module && module.__esModule ?
  71. /******/ function getDefault() { return module['default']; } :
  72. /******/ function getModuleExports() { return module; };
  73. /******/ __webpack_require__.d(getter, 'a', getter);
  74. /******/ return getter;
  75. /******/ };
  76. /******/
  77. /******/ // Object.prototype.hasOwnProperty.call
  78. /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
  79. /******/
  80. /******/ // __webpack_public_path__
  81. /******/ __webpack_require__.p = "/dist/";
  82. /******/
  83. /******/
  84. /******/ // Load entry module and return exports
  85. /******/ return __webpack_require__(__webpack_require__.s = 86);
  86. /******/ })
  87. /************************************************************************/
  88. /******/ ({
  89. /***/ 0:
  90. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  91. "use strict";
  92. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
  93. /* globals __VUE_SSR_CONTEXT__ */
  94. // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
  95. // This module is a runtime utility for cleaner component module output and will
  96. // be included in the final webpack user bundle.
  97. function normalizeComponent (
  98. scriptExports,
  99. render,
  100. staticRenderFns,
  101. functionalTemplate,
  102. injectStyles,
  103. scopeId,
  104. moduleIdentifier, /* server only */
  105. shadowMode /* vue-cli only */
  106. ) {
  107. // Vue.extend constructor export interop
  108. var options = typeof scriptExports === 'function'
  109. ? scriptExports.options
  110. : scriptExports
  111. // render functions
  112. if (render) {
  113. options.render = render
  114. options.staticRenderFns = staticRenderFns
  115. options._compiled = true
  116. }
  117. // functional template
  118. if (functionalTemplate) {
  119. options.functional = true
  120. }
  121. // scopedId
  122. if (scopeId) {
  123. options._scopeId = 'data-v-' + scopeId
  124. }
  125. var hook
  126. if (moduleIdentifier) { // server build
  127. hook = function (context) {
  128. // 2.3 injection
  129. context =
  130. context || // cached call
  131. (this.$vnode && this.$vnode.ssrContext) || // stateful
  132. (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
  133. // 2.2 with runInNewContext: true
  134. if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
  135. context = __VUE_SSR_CONTEXT__
  136. }
  137. // inject component styles
  138. if (injectStyles) {
  139. injectStyles.call(this, context)
  140. }
  141. // register component module identifier for async chunk inferrence
  142. if (context && context._registeredComponents) {
  143. context._registeredComponents.add(moduleIdentifier)
  144. }
  145. }
  146. // used by ssr in case component is cached and beforeCreate
  147. // never gets called
  148. options._ssrRegister = hook
  149. } else if (injectStyles) {
  150. hook = shadowMode
  151. ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
  152. : injectStyles
  153. }
  154. if (hook) {
  155. if (options.functional) {
  156. // for template-only hot-reload because in that case the render fn doesn't
  157. // go through the normalizer
  158. options._injectStyles = hook
  159. // register for functioal component in vue file
  160. var originalRender = options.render
  161. options.render = function renderWithStyleInjection (h, context) {
  162. hook.call(context)
  163. return originalRender(h, context)
  164. }
  165. } else {
  166. // inject component registration as beforeCreate hook
  167. var existing = options.beforeCreate
  168. options.beforeCreate = existing
  169. ? [].concat(existing, hook)
  170. : [hook]
  171. }
  172. }
  173. return {
  174. exports: scriptExports,
  175. options: options
  176. }
  177. }
  178. /***/ }),
  179. /***/ 10:
  180. /***/ (function(module, exports) {
  181. module.exports = require("element-ui/lib/input");
  182. /***/ }),
  183. /***/ 2:
  184. /***/ (function(module, exports) {
  185. module.exports = require("element-ui/lib/utils/dom");
  186. /***/ }),
  187. /***/ 22:
  188. /***/ (function(module, exports) {
  189. module.exports = require("element-ui/lib/mixins/focus");
  190. /***/ }),
  191. /***/ 30:
  192. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  193. "use strict";
  194. /* harmony import */ var element_ui_src_utils_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
  195. /* harmony import */ var element_ui_src_utils_dom__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(element_ui_src_utils_dom__WEBPACK_IMPORTED_MODULE_0__);
  196. /* harmony default export */ __webpack_exports__["a"] = ({
  197. bind: function bind(el, binding, vnode) {
  198. var interval = null;
  199. var startTime = void 0;
  200. var handler = function handler() {
  201. return vnode.context[binding.expression].apply();
  202. };
  203. var clear = function clear() {
  204. if (Date.now() - startTime < 100) {
  205. handler();
  206. }
  207. clearInterval(interval);
  208. interval = null;
  209. };
  210. Object(element_ui_src_utils_dom__WEBPACK_IMPORTED_MODULE_0__["on"])(el, 'mousedown', function (e) {
  211. if (e.button !== 0) return;
  212. startTime = Date.now();
  213. Object(element_ui_src_utils_dom__WEBPACK_IMPORTED_MODULE_0__["once"])(document, 'mouseup', clear);
  214. clearInterval(interval);
  215. interval = setInterval(handler, 100);
  216. });
  217. }
  218. });
  219. /***/ }),
  220. /***/ 86:
  221. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  222. "use strict";
  223. __webpack_require__.r(__webpack_exports__);
  224. // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/input-number/src/input-number.vue?vue&type=template&id=42f8cf66&
  225. var render = function() {
  226. var _vm = this
  227. var _h = _vm.$createElement
  228. var _c = _vm._self._c || _h
  229. return _c(
  230. "div",
  231. {
  232. class: [
  233. "el-input-number",
  234. _vm.inputNumberSize ? "el-input-number--" + _vm.inputNumberSize : "",
  235. { "is-disabled": _vm.inputNumberDisabled },
  236. { "is-without-controls": !_vm.controls },
  237. { "is-controls-right": _vm.controlsAtRight }
  238. ],
  239. on: {
  240. dragstart: function($event) {
  241. $event.preventDefault()
  242. }
  243. }
  244. },
  245. [
  246. _vm.controls
  247. ? _c(
  248. "span",
  249. {
  250. directives: [
  251. {
  252. name: "repeat-click",
  253. rawName: "v-repeat-click",
  254. value: _vm.decrease,
  255. expression: "decrease"
  256. }
  257. ],
  258. staticClass: "el-input-number__decrease",
  259. class: { "is-disabled": _vm.minDisabled },
  260. attrs: { role: "button" },
  261. on: {
  262. keydown: function($event) {
  263. if (
  264. !("button" in $event) &&
  265. _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")
  266. ) {
  267. return null
  268. }
  269. return _vm.decrease($event)
  270. }
  271. }
  272. },
  273. [
  274. _c("i", {
  275. class:
  276. "el-icon-" + (_vm.controlsAtRight ? "arrow-down" : "minus")
  277. })
  278. ]
  279. )
  280. : _vm._e(),
  281. _vm.controls
  282. ? _c(
  283. "span",
  284. {
  285. directives: [
  286. {
  287. name: "repeat-click",
  288. rawName: "v-repeat-click",
  289. value: _vm.increase,
  290. expression: "increase"
  291. }
  292. ],
  293. staticClass: "el-input-number__increase",
  294. class: { "is-disabled": _vm.maxDisabled },
  295. attrs: { role: "button" },
  296. on: {
  297. keydown: function($event) {
  298. if (
  299. !("button" in $event) &&
  300. _vm._k($event.keyCode, "enter", 13, $event.key, "Enter")
  301. ) {
  302. return null
  303. }
  304. return _vm.increase($event)
  305. }
  306. }
  307. },
  308. [
  309. _c("i", {
  310. class: "el-icon-" + (_vm.controlsAtRight ? "arrow-up" : "plus")
  311. })
  312. ]
  313. )
  314. : _vm._e(),
  315. _c("el-input", {
  316. ref: "input",
  317. attrs: {
  318. value: _vm.displayValue,
  319. placeholder: _vm.placeholder,
  320. disabled: _vm.inputNumberDisabled,
  321. size: _vm.inputNumberSize,
  322. max: _vm.max,
  323. min: _vm.min,
  324. name: _vm.name,
  325. label: _vm.label
  326. },
  327. on: {
  328. blur: _vm.handleBlur,
  329. focus: _vm.handleFocus,
  330. input: _vm.handleInput,
  331. change: _vm.handleInputChange
  332. },
  333. nativeOn: {
  334. keydown: [
  335. function($event) {
  336. if (
  337. !("button" in $event) &&
  338. _vm._k($event.keyCode, "up", 38, $event.key, ["Up", "ArrowUp"])
  339. ) {
  340. return null
  341. }
  342. $event.preventDefault()
  343. return _vm.increase($event)
  344. },
  345. function($event) {
  346. if (
  347. !("button" in $event) &&
  348. _vm._k($event.keyCode, "down", 40, $event.key, [
  349. "Down",
  350. "ArrowDown"
  351. ])
  352. ) {
  353. return null
  354. }
  355. $event.preventDefault()
  356. return _vm.decrease($event)
  357. }
  358. ]
  359. }
  360. })
  361. ],
  362. 1
  363. )
  364. }
  365. var staticRenderFns = []
  366. render._withStripped = true
  367. // CONCATENATED MODULE: ./packages/input-number/src/input-number.vue?vue&type=template&id=42f8cf66&
  368. // EXTERNAL MODULE: external "element-ui/lib/input"
  369. var input_ = __webpack_require__(10);
  370. var input_default = /*#__PURE__*/__webpack_require__.n(input_);
  371. // EXTERNAL MODULE: external "element-ui/lib/mixins/focus"
  372. var focus_ = __webpack_require__(22);
  373. var focus_default = /*#__PURE__*/__webpack_require__.n(focus_);
  374. // EXTERNAL MODULE: ./src/directives/repeat-click.js
  375. var repeat_click = __webpack_require__(30);
  376. // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/input-number/src/input-number.vue?vue&type=script&lang=js&
  377. //
  378. //
  379. //
  380. //
  381. //
  382. //
  383. //
  384. //
  385. //
  386. //
  387. //
  388. //
  389. //
  390. //
  391. //
  392. //
  393. //
  394. //
  395. //
  396. //
  397. //
  398. //
  399. //
  400. //
  401. //
  402. //
  403. //
  404. //
  405. //
  406. //
  407. //
  408. //
  409. //
  410. //
  411. //
  412. //
  413. //
  414. //
  415. //
  416. //
  417. //
  418. //
  419. //
  420. //
  421. //
  422. //
  423. //
  424. /* harmony default export */ var input_numbervue_type_script_lang_js_ = ({
  425. name: 'ElInputNumber',
  426. mixins: [focus_default()('input')],
  427. inject: {
  428. elForm: {
  429. default: ''
  430. },
  431. elFormItem: {
  432. default: ''
  433. }
  434. },
  435. directives: {
  436. repeatClick: repeat_click["a" /* default */]
  437. },
  438. components: {
  439. ElInput: input_default.a
  440. },
  441. props: {
  442. step: {
  443. type: Number,
  444. default: 1
  445. },
  446. stepStrictly: {
  447. type: Boolean,
  448. default: false
  449. },
  450. max: {
  451. type: Number,
  452. default: Infinity
  453. },
  454. min: {
  455. type: Number,
  456. default: -Infinity
  457. },
  458. value: {},
  459. disabled: Boolean,
  460. size: String,
  461. controls: {
  462. type: Boolean,
  463. default: true
  464. },
  465. controlsPosition: {
  466. type: String,
  467. default: ''
  468. },
  469. name: String,
  470. label: String,
  471. placeholder: String,
  472. precision: {
  473. type: Number,
  474. validator: function validator(val) {
  475. return val >= 0 && val === parseInt(val, 10);
  476. }
  477. }
  478. },
  479. data: function data() {
  480. return {
  481. currentValue: 0,
  482. userInput: null
  483. };
  484. },
  485. watch: {
  486. value: {
  487. immediate: true,
  488. handler: function handler(value) {
  489. var newVal = value === undefined ? value : Number(value);
  490. if (newVal !== undefined) {
  491. if (isNaN(newVal)) {
  492. return;
  493. }
  494. if (this.stepStrictly) {
  495. var stepPrecision = this.getPrecision(this.step);
  496. var precisionFactor = Math.pow(10, stepPrecision);
  497. newVal = Math.round(newVal / this.step) * precisionFactor * this.step / precisionFactor;
  498. }
  499. if (this.precision !== undefined) {
  500. newVal = this.toPrecision(newVal, this.precision);
  501. }
  502. }
  503. if (newVal >= this.max) newVal = this.max;
  504. if (newVal <= this.min) newVal = this.min;
  505. this.currentValue = newVal;
  506. this.userInput = null;
  507. this.$emit('input', newVal);
  508. }
  509. }
  510. },
  511. computed: {
  512. minDisabled: function minDisabled() {
  513. return this._decrease(this.value, this.step) < this.min;
  514. },
  515. maxDisabled: function maxDisabled() {
  516. return this._increase(this.value, this.step) > this.max;
  517. },
  518. numPrecision: function numPrecision() {
  519. var value = this.value,
  520. step = this.step,
  521. getPrecision = this.getPrecision,
  522. precision = this.precision;
  523. var stepPrecision = getPrecision(step);
  524. if (precision !== undefined) {
  525. if (stepPrecision > precision) {
  526. console.warn('[Element Warn][InputNumber]precision should not be less than the decimal places of step');
  527. }
  528. return precision;
  529. } else {
  530. return Math.max(getPrecision(value), stepPrecision);
  531. }
  532. },
  533. controlsAtRight: function controlsAtRight() {
  534. return this.controls && this.controlsPosition === 'right';
  535. },
  536. _elFormItemSize: function _elFormItemSize() {
  537. return (this.elFormItem || {}).elFormItemSize;
  538. },
  539. inputNumberSize: function inputNumberSize() {
  540. return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;
  541. },
  542. inputNumberDisabled: function inputNumberDisabled() {
  543. return this.disabled || !!(this.elForm || {}).disabled;
  544. },
  545. displayValue: function displayValue() {
  546. if (this.userInput !== null) {
  547. return this.userInput;
  548. }
  549. var currentValue = this.currentValue;
  550. if (typeof currentValue === 'number') {
  551. if (this.stepStrictly) {
  552. var stepPrecision = this.getPrecision(this.step);
  553. var precisionFactor = Math.pow(10, stepPrecision);
  554. currentValue = Math.round(currentValue / this.step) * precisionFactor * this.step / precisionFactor;
  555. }
  556. if (this.precision !== undefined) {
  557. currentValue = currentValue.toFixed(this.precision);
  558. }
  559. }
  560. return currentValue;
  561. }
  562. },
  563. methods: {
  564. toPrecision: function toPrecision(num, precision) {
  565. if (precision === undefined) precision = this.numPrecision;
  566. return parseFloat(Math.round(num * Math.pow(10, precision)) / Math.pow(10, precision));
  567. },
  568. getPrecision: function getPrecision(value) {
  569. if (value === undefined) return 0;
  570. var valueString = value.toString();
  571. var dotPosition = valueString.indexOf('.');
  572. var precision = 0;
  573. if (dotPosition !== -1) {
  574. precision = valueString.length - dotPosition - 1;
  575. }
  576. return precision;
  577. },
  578. _increase: function _increase(val, step) {
  579. if (typeof val !== 'number' && val !== undefined) return this.currentValue;
  580. var precisionFactor = Math.pow(10, this.numPrecision);
  581. // Solve the accuracy problem of JS decimal calculation by converting the value to integer.
  582. return this.toPrecision((precisionFactor * val + precisionFactor * step) / precisionFactor);
  583. },
  584. _decrease: function _decrease(val, step) {
  585. if (typeof val !== 'number' && val !== undefined) return this.currentValue;
  586. var precisionFactor = Math.pow(10, this.numPrecision);
  587. return this.toPrecision((precisionFactor * val - precisionFactor * step) / precisionFactor);
  588. },
  589. increase: function increase() {
  590. if (this.inputNumberDisabled || this.maxDisabled) return;
  591. var value = this.value || 0;
  592. var newVal = this._increase(value, this.step);
  593. this.setCurrentValue(newVal);
  594. },
  595. decrease: function decrease() {
  596. if (this.inputNumberDisabled || this.minDisabled) return;
  597. var value = this.value || 0;
  598. var newVal = this._decrease(value, this.step);
  599. this.setCurrentValue(newVal);
  600. },
  601. handleBlur: function handleBlur(event) {
  602. this.$emit('blur', event);
  603. },
  604. handleFocus: function handleFocus(event) {
  605. this.$emit('focus', event);
  606. },
  607. setCurrentValue: function setCurrentValue(newVal) {
  608. var oldVal = this.currentValue;
  609. if (typeof newVal === 'number' && this.precision !== undefined) {
  610. newVal = this.toPrecision(newVal, this.precision);
  611. }
  612. if (newVal >= this.max) newVal = this.max;
  613. if (newVal <= this.min) newVal = this.min;
  614. if (oldVal === newVal) return;
  615. this.userInput = null;
  616. this.$emit('input', newVal);
  617. this.$emit('change', newVal, oldVal);
  618. this.currentValue = newVal;
  619. },
  620. handleInput: function handleInput(value) {
  621. this.userInput = value;
  622. },
  623. handleInputChange: function handleInputChange(value) {
  624. var newVal = value === '' ? undefined : Number(value);
  625. if (!isNaN(newVal) || value === '') {
  626. this.setCurrentValue(newVal);
  627. }
  628. this.userInput = null;
  629. },
  630. select: function select() {
  631. this.$refs.input.select();
  632. }
  633. },
  634. mounted: function mounted() {
  635. var innerInput = this.$refs.input.$refs.input;
  636. innerInput.setAttribute('role', 'spinbutton');
  637. innerInput.setAttribute('aria-valuemax', this.max);
  638. innerInput.setAttribute('aria-valuemin', this.min);
  639. innerInput.setAttribute('aria-valuenow', this.currentValue);
  640. innerInput.setAttribute('aria-disabled', this.inputNumberDisabled);
  641. },
  642. updated: function updated() {
  643. if (!this.$refs || !this.$refs.input) return;
  644. var innerInput = this.$refs.input.$refs.input;
  645. innerInput.setAttribute('aria-valuenow', this.currentValue);
  646. }
  647. });
  648. // CONCATENATED MODULE: ./packages/input-number/src/input-number.vue?vue&type=script&lang=js&
  649. /* harmony default export */ var src_input_numbervue_type_script_lang_js_ = (input_numbervue_type_script_lang_js_);
  650. // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
  651. var componentNormalizer = __webpack_require__(0);
  652. // CONCATENATED MODULE: ./packages/input-number/src/input-number.vue
  653. /* normalize component */
  654. var component = Object(componentNormalizer["a" /* default */])(
  655. src_input_numbervue_type_script_lang_js_,
  656. render,
  657. staticRenderFns,
  658. false,
  659. null,
  660. null,
  661. null
  662. )
  663. /* hot reload */
  664. if (false) { var api; }
  665. component.options.__file = "packages/input-number/src/input-number.vue"
  666. /* harmony default export */ var input_number = (component.exports);
  667. // CONCATENATED MODULE: ./packages/input-number/index.js
  668. /* istanbul ignore next */
  669. input_number.install = function (Vue) {
  670. Vue.component(input_number.name, input_number);
  671. };
  672. /* harmony default export */ var packages_input_number = __webpack_exports__["default"] = (input_number);
  673. /***/ })
  674. /******/ });