|
1 | 1 | /**
|
2 |
| - * vue-autonumeric v1.2.2 (https://github.com/autoNumeric/vue-autoNumeric) |
| 2 | + * vue-autonumeric v1.2.3 (https://github.com/autoNumeric/vue-autoNumeric) |
3 | 3 | * © 2018 Alexandre Bonneau <[email protected]>
|
4 | 4 | * Released under the MIT License.
|
5 | 5 | */
|
6 | 6 | (function webpackUniversalModuleDefinition(root, factory) {
|
7 | 7 | if(typeof exports === 'object' && typeof module === 'object')
|
8 |
| - module.exports = factory(require("AutoNumeric")); |
| 8 | + module.exports = factory(require("autonumeric")); |
9 | 9 | else if(typeof define === 'function' && define.amd)
|
10 |
| - define("VueAutonumeric", ["AutoNumeric"], factory); |
| 10 | + define("VueAutonumeric", ["autonumeric"], factory); |
11 | 11 | else if(typeof exports === 'object')
|
12 |
| - exports["VueAutonumeric"] = factory(require("AutoNumeric")); |
| 12 | + exports["VueAutonumeric"] = factory(require("autonumeric")); |
13 | 13 | else
|
14 |
| - root["VueAutonumeric"] = factory(root["AutoNumeric"]); |
| 14 | + root["VueAutonumeric"] = factory(root["autonumeric"]); |
15 | 15 | })(typeof self !== 'undefined' ? self : this, function(__WEBPACK_EXTERNAL_MODULE_43__) {
|
16 | 16 | return /******/ (function(modules) { // webpackBootstrap
|
17 | 17 | /******/ // The module cache
|
@@ -344,8 +344,10 @@ exports.default = {
|
344 | 344 |
|
345 | 345 | props: {
|
346 | 346 | value: {
|
347 |
| - type: Number, |
348 |
| - required: false |
| 347 | + required: false, |
| 348 | + validator: function validator(val) { |
| 349 | + return typeof val === 'number' || val === '' || val === null; |
| 350 | + } |
349 | 351 | },
|
350 | 352 |
|
351 | 353 | options: {
|
|
0 commit comments