@dimailn/vuetify 2.7.2-alpha21 → 2.7.2-alpha23

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 (79) hide show
  1. package/dist/vuetify.js +141 -72
  2. package/dist/vuetify.js.map +1 -1
  3. package/dist/vuetify.min.css +1 -1
  4. package/dist/vuetify.min.js +2 -2
  5. package/es5/components/VForm/VForm.js +44 -30
  6. package/es5/components/VForm/VForm.js.map +1 -1
  7. package/es5/components/VOverlay/VOverlay.js +2 -3
  8. package/es5/components/VOverlay/VOverlay.js.map +1 -1
  9. package/es5/components/VProgressCircular/VProgressCircular.js +5 -3
  10. package/es5/components/VProgressCircular/VProgressCircular.js.map +1 -1
  11. package/es5/components/VProgressLinear/VProgressLinear.js +41 -19
  12. package/es5/components/VProgressLinear/VProgressLinear.js.map +1 -1
  13. package/es5/components/VTabs/VTabsBar.js.map +1 -1
  14. package/es5/components/VVirtualScroll/VVirtualScroll.js +15 -16
  15. package/es5/components/VVirtualScroll/VVirtualScroll.js.map +1 -1
  16. package/es5/components/VWindow/VWindow.js +13 -5
  17. package/es5/components/VWindow/VWindow.js.map +1 -1
  18. package/es5/components/VWindow/VWindowItem.js +9 -5
  19. package/es5/components/VWindow/VWindowItem.js.map +1 -1
  20. package/es5/framework.js +1 -1
  21. package/es5/mixins/overlayable/index.js.map +1 -1
  22. package/es5/mixins/validatable/index.js +8 -5
  23. package/es5/mixins/validatable/index.js.map +1 -1
  24. package/lib/components/VForm/VForm.js +40 -26
  25. package/lib/components/VForm/VForm.js.map +1 -1
  26. package/lib/components/VOverlay/VOverlay.js +1 -2
  27. package/lib/components/VOverlay/VOverlay.js.map +1 -1
  28. package/lib/components/VProgressCircular/VProgressCircular.js +5 -3
  29. package/lib/components/VProgressCircular/VProgressCircular.js.map +1 -1
  30. package/lib/components/VProgressLinear/VProgressLinear.js +35 -17
  31. package/lib/components/VProgressLinear/VProgressLinear.js.map +1 -1
  32. package/lib/components/VTabs/VTabsBar.js.map +1 -1
  33. package/lib/components/VVirtualScroll/VVirtualScroll.js +8 -11
  34. package/lib/components/VVirtualScroll/VVirtualScroll.js.map +1 -1
  35. package/lib/components/VWindow/VWindow.js +7 -3
  36. package/lib/components/VWindow/VWindow.js.map +1 -1
  37. package/lib/components/VWindow/VWindowItem.js +3 -1
  38. package/lib/components/VWindow/VWindowItem.js.map +1 -1
  39. package/lib/framework.js +1 -1
  40. package/lib/mixins/overlayable/index.js.map +1 -1
  41. package/lib/mixins/validatable/index.js +8 -4
  42. package/lib/mixins/validatable/index.js.map +1 -1
  43. package/package.json +1 -1
  44. package/src/components/VAvatar/__tests__/VAvatar.spec.ts +72 -10
  45. package/src/components/VForm/VForm.ts +61 -35
  46. package/src/components/VForm/__tests__/VForm.spec.ts +100 -80
  47. package/src/components/VOverlay/VOverlay.ts +1 -1
  48. package/src/components/VOverlay/__tests__/VOverlay.spec.ts +6 -6
  49. package/src/components/VProgressCircular/VProgressCircular.ts +6 -5
  50. package/src/components/VProgressCircular/__tests__/VProgressCircular.spec.ts +28 -21
  51. package/src/components/VProgressCircular/__tests__/__snapshots__/VProgressCircular.spec.ts.snap +62 -62
  52. package/src/components/VProgressLinear/VProgressLinear.ts +42 -22
  53. package/src/components/VProgressLinear/__tests__/VProgressLinear.spec.ts +378 -71
  54. package/src/components/VProgressLinear/__tests__/__snapshots__/VProgressLinear.spec.ts.snap +53 -79
  55. package/src/components/VSheet/__tests__/VSheet.spec.ts +5 -5
  56. package/src/components/VTabs/VTabsBar.ts +7 -5
  57. package/src/components/VVirtualScroll/VVirtualScroll.ts +14 -13
  58. package/src/components/VVirtualScroll/__tests__/VVirtualScroll.spec.ts +26 -19
  59. package/src/components/VWindow/VWindow.ts +9 -5
  60. package/src/components/VWindow/VWindowItem.ts +3 -1
  61. package/src/components/VWindow/__tests__/VWindow.spec.ts +226 -185
  62. package/src/components/VWindow/__tests__/VWindowItem.spec.ts +162 -132
  63. package/src/mixins/applicationable/__tests__/applicationable.spec.ts +31 -27
  64. package/src/mixins/colorable/__tests__/colorable.spec.ts +9 -6
  65. package/src/mixins/elevatable/__tests__/elevatable.spec.ts +14 -13
  66. package/src/mixins/intersectable/__tests__/intersectable.spec.ts +35 -29
  67. package/src/mixins/menuable/__tests__/menuable.spec.ts +76 -33
  68. package/src/mixins/mobile/__tests__/mobile.spec.ts +9 -6
  69. package/src/mixins/overlayable/__tests__/overlayable.spec.ts +32 -24
  70. package/src/mixins/overlayable/index.ts +1 -1
  71. package/src/mixins/proxyable/__tests__/proxyable.spec.ts +18 -17
  72. package/src/mixins/registrable/__tests__/registrable.spec.ts +31 -0
  73. package/src/mixins/rippleable/__tests__/rippleable.spec.ts +10 -9
  74. package/src/mixins/roundable/__tests__/roundable.spec.ts +7 -5
  75. package/src/mixins/routable/__tests__/routable.spec.ts +60 -52
  76. package/src/mixins/scrollable/__tests__/scrollable.spec.ts +56 -27
  77. package/src/mixins/selectable/__tests__/selectable.spec.ts +22 -9
  78. package/src/mixins/validatable/__tests__/validatable.spec.ts +194 -158
  79. package/src/mixins/validatable/index.ts +16 -18
package/dist/vuetify.js CHANGED
@@ -16141,6 +16141,7 @@ var __assign = undefined && undefined.__assign || function () {
16141
16141
 
16142
16142
 
16143
16143
 
16144
+ // Helpers
16144
16145
 
16145
16146
 
16146
16147
  /* @vue/component */
@@ -16173,39 +16174,50 @@ var __assign = undefined && undefined.__assign || function () {
16173
16174
  handler: function handler(val) {
16174
16175
  var errors = Object.values(val).includes(true);
16175
16176
  this.$emit('input', !errors);
16177
+ this.$emit('update:modelValue', !errors);
16176
16178
  },
16177
16179
  deep: true,
16178
16180
  immediate: true
16179
16181
  }
16180
16182
  },
16181
16183
  methods: {
16184
+ getInputUid: function getInputUid(input) {
16185
+ return input.$.uid;
16186
+ },
16182
16187
  watchInput: function watchInput(input) {
16183
16188
  var _this = this;
16184
16189
 
16185
- var watcher = function watcher(input) {
16186
- return input.$watch('hasError', function (val) {
16187
- _this.errorBag[input.$.uid] = val;
16188
- }, {
16189
- immediate: true
16190
- });
16190
+ var inputId = this.getInputUid(input);
16191
+
16192
+ var createErrorWatcher = function createErrorWatcher(inputComponent) {
16193
+ if (typeof inputComponent.$watch === 'function') {
16194
+ return inputComponent.$watch('hasError', function (hasError) {
16195
+ _this.errorBag[inputId] = hasError;
16196
+ }, {
16197
+ immediate: true
16198
+ });
16199
+ } else {
16200
+ // Fallback для Vue 3
16201
+ return function () {};
16202
+ }
16191
16203
  };
16192
16204
 
16193
16205
  var watchers = {
16194
- _uid: input.$.uid,
16206
+ _uid: inputId,
16195
16207
  valid: function valid() {},
16196
16208
  shouldValidate: function shouldValidate() {}
16197
16209
  };
16198
16210
 
16199
16211
  if (this.lazyValidation) {
16200
- // Only start watching inputs if we need to
16201
- watchers.shouldValidate = input.$watch('shouldValidate', function (val) {
16202
- if (!val) return; // Only watch if we're not already doing it
16203
-
16204
- if (_this.errorBag.hasOwnProperty(input.$.uid)) return;
16205
- watchers.valid = watcher(input);
16206
- });
16212
+ if (typeof input.$watch === 'function') {
16213
+ watchers.shouldValidate = input.$watch('shouldValidate', function (shouldValidate) {
16214
+ if (!shouldValidate) return;
16215
+ if (_this.errorBag.hasOwnProperty(inputId)) return;
16216
+ watchers.valid = createErrorWatcher(input);
16217
+ });
16218
+ }
16207
16219
  } else {
16208
- watchers.valid = watcher(input);
16220
+ watchers.valid = createErrorWatcher(input);
16209
16221
  }
16210
16222
 
16211
16223
  return watchers;
@@ -16248,26 +16260,29 @@ var __assign = undefined && undefined.__assign || function () {
16248
16260
  this.watchers.push(this.watchInput(input));
16249
16261
  },
16250
16262
  unregister: function unregister(input) {
16251
- var found = this.inputs.find(function (i) {
16252
- return i.$.uid === input.$.uid;
16263
+ var _this = this;
16264
+
16265
+ var inputId = this.getInputUid(input);
16266
+ var foundInput = this.inputs.find(function (inputComponent) {
16267
+ return _this.getInputUid(inputComponent) === inputId;
16253
16268
  });
16254
- if (!found) return;
16255
- var unwatch = this.watchers.find(function (i) {
16256
- return i._uid === found.$.uid;
16269
+ if (!foundInput) return;
16270
+ var inputWatcher = this.watchers.find(function (watcher) {
16271
+ return watcher._uid === inputId;
16257
16272
  });
16258
16273
 
16259
- if (unwatch) {
16260
- unwatch.valid();
16261
- unwatch.shouldValidate();
16274
+ if (inputWatcher) {
16275
+ inputWatcher.valid();
16276
+ inputWatcher.shouldValidate();
16262
16277
  }
16263
16278
 
16264
- this.watchers = this.watchers.filter(function (i) {
16265
- return i._uid !== found.$.uid;
16279
+ this.watchers = this.watchers.filter(function (watcher) {
16280
+ return watcher._uid !== inputId;
16266
16281
  });
16267
- this.inputs = this.inputs.filter(function (i) {
16268
- return i.$.uid !== found.$.uid;
16282
+ this.inputs = this.inputs.filter(function (inputComponent) {
16283
+ return _this.getInputUid(inputComponent) !== inputId;
16269
16284
  });
16270
- delete this.errorBag[found.$.uid];
16285
+ delete this.errorBag[inputId];
16271
16286
  }
16272
16287
  },
16273
16288
  render: function render() {
@@ -21448,11 +21463,10 @@ var __assign = undefined && undefined.__assign || function () {
21448
21463
  render: function render() {
21449
21464
  var children = [this.__scrim];
21450
21465
  if (this.isActive) children.push(this.genContent());
21451
- return Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])('div', {
21452
- on: this.$listeners,
21466
+ return Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])('div', __assign(__assign({}, this.$attrs), {
21453
21467
  class: ['v-overlay', this.classes],
21454
21468
  style: this.styles
21455
- }, children);
21469
+ }), children);
21456
21470
  }
21457
21471
  }));
21458
21472
 
@@ -22200,15 +22214,17 @@ var __assign = undefined && undefined.__assign || function () {
22200
22214
  };
22201
22215
  },
22202
22216
  normalizedValue: function normalizedValue() {
22203
- if (this.value < 0) {
22217
+ var numValue = parseFloat(this.value);
22218
+
22219
+ if (numValue < 0) {
22204
22220
  return 0;
22205
22221
  }
22206
22222
 
22207
- if (this.value > 100) {
22223
+ if (numValue > 100) {
22208
22224
  return 100;
22209
22225
  }
22210
22226
 
22211
- return parseFloat(this.value);
22227
+ return numValue;
22212
22228
  },
22213
22229
  strokeDashArray: function strokeDashArray() {
22214
22230
  return Math.round(this.circumference * 1000) / 1000;
@@ -22358,7 +22374,7 @@ var __assign = undefined && undefined.__assign || function () {
22358
22374
 
22359
22375
 
22360
22376
 
22361
- var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_9__["default"])(_mixins_colorable__WEBPACK_IMPORTED_MODULE_4__["default"], Object(_mixins_positionable__WEBPACK_IMPORTED_MODULE_5__["factory"])(['absolute', 'fixed', 'top', 'bottom']), _mixins_proxyable__WEBPACK_IMPORTED_MODULE_6__["default"], _mixins_themeable__WEBPACK_IMPORTED_MODULE_7__["default"]);
22377
+ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_9__["default"])(_mixins_colorable__WEBPACK_IMPORTED_MODULE_4__["default"], Object(_mixins_positionable__WEBPACK_IMPORTED_MODULE_5__["factory"])(['absolute', 'fixed', 'top', 'bottom']), Object(_mixins_proxyable__WEBPACK_IMPORTED_MODULE_6__["factory"])('modelValue', 'update:modelValue'), _mixins_themeable__WEBPACK_IMPORTED_MODULE_7__["default"]);
22362
22378
  /* @vue/component */
22363
22379
 
22364
22380
  /* harmony default export */ __webpack_exports__["default"] = (baseMixins.extend({
@@ -22392,11 +22408,16 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_9__["default"])(_m
22392
22408
  default: 4
22393
22409
  },
22394
22410
  indeterminate: Boolean,
22411
+ modelValue: {
22412
+ type: [Number, String],
22413
+ default: 0
22414
+ },
22395
22415
  query: Boolean,
22396
22416
  reverse: Boolean,
22397
22417
  rounded: Boolean,
22398
22418
  stream: Boolean,
22399
22419
  striped: Boolean,
22420
+ // Оставляем value для обратной совместимости
22400
22421
  value: {
22401
22422
  type: [Number, String],
22402
22423
  default: 0
@@ -22404,7 +22425,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_9__["default"])(_m
22404
22425
  },
22405
22426
  data: function data() {
22406
22427
  return {
22407
- internalLazyValue: this.value || 0,
22428
+ internalLazyValue: this.modelValue || this.value || 0,
22408
22429
  isVisible: true
22409
22430
  };
22410
22431
  },
@@ -22416,7 +22437,13 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_9__["default"])(_m
22416
22437
  }));
22417
22438
  },
22418
22439
  __cachedBar: function __cachedBar() {
22419
- return Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])(this.computedTransition, [this.__cachedBarType]);
22440
+ var _this = this;
22441
+
22442
+ return Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])(this.computedTransition, {}, {
22443
+ default: function _default() {
22444
+ return [_this.__cachedBarType];
22445
+ }
22446
+ });
22420
22447
  },
22421
22448
  __cachedBarType: function __cachedBarType() {
22422
22449
  return this.indeterminate ? this.__cachedIndeterminate : this.__cachedDeterminate;
@@ -22484,7 +22511,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_9__["default"])(_m
22484
22511
  return this.normalize(this.internalLazyValue);
22485
22512
  },
22486
22513
  reactive: function reactive() {
22487
- return Boolean(this.$listeners.change);
22514
+ return Boolean(this.$listeners.onChange) || Boolean(this.$listeners['onUpdate:modelValue']);
22488
22515
  },
22489
22516
  styles: function styles() {
22490
22517
  var styles = {};
@@ -22500,15 +22527,27 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_9__["default"])(_m
22500
22527
  return styles;
22501
22528
  }
22502
22529
  },
22530
+ watch: {
22531
+ modelValue: function modelValue(val) {
22532
+ this.internalLazyValue = val;
22533
+ },
22534
+ value: function value(val) {
22535
+ this.internalLazyValue = val;
22536
+ }
22537
+ },
22503
22538
  methods: {
22504
22539
  genContent: function genContent() {
22505
22540
  var slot = Object(_util_helpers__WEBPACK_IMPORTED_MODULE_8__["getSlot"])(this, 'default', {
22506
22541
  value: this.internalLazyValue
22507
22542
  });
22508
22543
  if (!slot) return null;
22509
- return Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])('div', {
22510
- class: 'v-progress-linear__content'
22511
- }, slot);
22544
+ return Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])("div", {
22545
+ class: "v-progress-linear__content"
22546
+ }, {
22547
+ default: function _default() {
22548
+ return slot;
22549
+ }
22550
+ });
22512
22551
  },
22513
22552
  genListeners: function genListeners() {
22514
22553
  var listeners = this.$listeners;
@@ -22535,20 +22574,19 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_9__["default"])(_m
22535
22574
  this.isVisible = isIntersecting;
22536
22575
  },
22537
22576
  normalize: function normalize(value) {
22538
- if (value < 0) return 0;
22539
- if (value > 100) return 100;
22540
- return parseFloat(value);
22577
+ var numValue = typeof value === 'string' ? parseFloat(value) : value;
22578
+ if (numValue < 0) return 0;
22579
+ if (numValue > 100) return 100;
22580
+ return numValue;
22541
22581
  }
22542
22582
  },
22543
22583
  render: function render() {
22544
22584
  var data = __assign({
22545
22585
  class: ['v-progress-linear', this.classes],
22546
- attrs: {
22547
- role: 'progressbar',
22548
- 'aria-valuemin': 0,
22549
- 'aria-valuemax': this.normalizedBuffer,
22550
- 'aria-valuenow': this.indeterminate ? undefined : this.normalizedValue
22551
- },
22586
+ role: 'progressbar',
22587
+ 'aria-valuemin': 0,
22588
+ 'aria-valuemax': this.normalizedBuffer,
22589
+ 'aria-valuenow': this.indeterminate ? undefined : this.normalizedValue,
22552
22590
  style: {
22553
22591
  bottom: this.bottom ? 0 : undefined,
22554
22592
  height: this.active ? Object(_util_helpers__WEBPACK_IMPORTED_MODULE_8__["convertToUnit"])(this.height) : 0,
@@ -32652,6 +32690,22 @@ __webpack_require__.r(__webpack_exports__);
32652
32690
  /* harmony import */ var _mixins_measurable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../mixins/measurable */ "./src/mixins/measurable/index.ts");
32653
32691
  /* harmony import */ var _directives_scroll__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../directives/scroll */ "./src/directives/scroll/index.ts");
32654
32692
  /* harmony import */ var _util_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util/helpers */ "./src/util/helpers.ts");
32693
+ var __assign = undefined && undefined.__assign || function () {
32694
+ __assign = Object.assign || function (t) {
32695
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
32696
+ s = arguments[i];
32697
+
32698
+ for (var p in s) {
32699
+ if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
32700
+ }
32701
+ }
32702
+
32703
+ return t;
32704
+ };
32705
+
32706
+ return __assign.apply(this, arguments);
32707
+ };
32708
+
32655
32709
  // Styles
32656
32710
 
32657
32711
  // Mixins
@@ -32751,18 +32805,16 @@ __webpack_require__.r(__webpack_exports__);
32751
32805
  height: Object(_util_helpers__WEBPACK_IMPORTED_MODULE_4__["convertToUnit"])(this.items.length * this.__itemHeight)
32752
32806
  }
32753
32807
  }, this.getChildren());
32754
- return Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])('div', {
32808
+ return Object(vue__WEBPACK_IMPORTED_MODULE_0__["withDirectives"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])('div', __assign({
32755
32809
  class: 'v-virtual-scroll',
32756
- style: this.measurableStyles,
32757
- directives: [{
32758
- name: 'scroll',
32759
- modifiers: {
32760
- self: true
32761
- },
32762
- value: this.onScroll
32763
- }],
32764
- on: this.$listeners
32765
- }, [content]);
32810
+ style: this.measurableStyles
32811
+ }, this.$listeners), {
32812
+ default: function _default() {
32813
+ return [content];
32814
+ }
32815
+ }), [[_directives_scroll__WEBPACK_IMPORTED_MODULE_3__["default"], this.onScroll, '', {
32816
+ self: true
32817
+ }]]);
32766
32818
  }
32767
32819
  }));
32768
32820
 
@@ -32980,9 +33032,17 @@ var __assign = undefined && undefined.__assign || function () {
32980
33032
  attrs: attrs
32981
33033
  })) !== null && _c !== void 0 ? _c : [Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])(_VBtn__WEBPACK_IMPORTED_MODULE_3__["default"], __assign({
32982
33034
  icon: true
32983
- }, attrs), [Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])(_VIcon__WEBPACK_IMPORTED_MODULE_4__["default"], {
32984
- large: true
32985
- }, icon)])];
33035
+ }, attrs), {
33036
+ default: function _default() {
33037
+ return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])(_VIcon__WEBPACK_IMPORTED_MODULE_4__["default"], {
33038
+ large: true
33039
+ }, {
33040
+ default: function _default() {
33041
+ return icon;
33042
+ }
33043
+ })];
33044
+ }
33045
+ })];
32986
33046
  return Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])('div', {
32987
33047
  class: "v-window__" + direction
32988
33048
  }, children);
@@ -33236,9 +33296,13 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_5__["default"])(_m
33236
33296
  onLeaveCancelled: this.onTransitionCancelled,
33237
33297
  // Enter handler for height transition.
33238
33298
  onEnter: this.onEnter
33239
- }, this.showLazyContent(function () {
33240
- return [_this.genWindowItem()];
33241
- }));
33299
+ }, {
33300
+ default: function _default() {
33301
+ return _this.showLazyContent(function () {
33302
+ return [_this.genWindowItem()];
33303
+ });
33304
+ }
33305
+ });
33242
33306
  }
33243
33307
  }));
33244
33308
 
@@ -35175,7 +35239,7 @@ function () {
35175
35239
 
35176
35240
  Vuetify.install = _install__WEBPACK_IMPORTED_MODULE_0__["install"];
35177
35241
  Vuetify.installed = false;
35178
- Vuetify.version = "2.7.2-alpha20";
35242
+ Vuetify.version = "2.7.2-alpha22";
35179
35243
  Vuetify.config = {
35180
35244
  silent: false
35181
35245
  };
@@ -42879,7 +42943,8 @@ __webpack_require__.r(__webpack_exports__);
42879
42943
  /* harmony import */ var _registrable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../registrable */ "./src/mixins/registrable/index.ts");
42880
42944
  /* harmony import */ var _util_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/helpers */ "./src/util/helpers.ts");
42881
42945
  /* harmony import */ var _util_console__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util/console */ "./src/util/console.ts");
42882
- /* harmony import */ var _util_mixins__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../util/mixins */ "./src/util/mixins.ts");
42946
+ /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ "vue");
42947
+ /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_5__);
42883
42948
  function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
42884
42949
 
42885
42950
  // Mixins
@@ -42890,11 +42955,12 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
42890
42955
 
42891
42956
 
42892
42957
 
42893
- var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_5__["default"])(_colorable__WEBPACK_IMPORTED_MODULE_0__["default"], Object(_registrable__WEBPACK_IMPORTED_MODULE_2__["inject"])('form'), _themeable__WEBPACK_IMPORTED_MODULE_1__["default"]);
42894
42958
  /* @vue/component */
42895
42959
 
42896
- /* harmony default export */ __webpack_exports__["default"] = (baseMixins.extend({
42960
+ /* harmony default export */ __webpack_exports__["default"] = (Object(vue__WEBPACK_IMPORTED_MODULE_5__["defineComponent"])({
42897
42961
  name: 'validatable',
42962
+ extends: Object(_registrable__WEBPACK_IMPORTED_MODULE_2__["inject"])('form'),
42963
+ mixins: [_colorable__WEBPACK_IMPORTED_MODULE_0__["default"], _themeable__WEBPACK_IMPORTED_MODULE_1__["default"]],
42898
42964
  props: {
42899
42965
  disabled: {
42900
42966
  type: Boolean,
@@ -42940,6 +43006,8 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_5__["default"])(_c
42940
43006
  }
42941
43007
  },
42942
43008
  data: function data() {
43009
+ var _a;
43010
+
42943
43011
  return {
42944
43012
  errorBucket: [],
42945
43013
  hasColor: false,
@@ -42947,7 +43015,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_5__["default"])(_c
42947
43015
  hasInput: false,
42948
43016
  isFocused: false,
42949
43017
  isResetting: false,
42950
- lazyValue: this.value,
43018
+ lazyValue: (_a = this.modelValue) !== null && _a !== void 0 ? _a : null,
42951
43019
  valid: false
42952
43020
  };
42953
43021
  },
@@ -42996,6 +43064,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_5__["default"])(_c
42996
43064
  set: function set(val) {
42997
43065
  this.lazyValue = val;
42998
43066
  this.$emit('input', val);
43067
+ this.$emit('update:modelValue', val);
42999
43068
  }
43000
43069
  },
43001
43070
  isDisabled: function isDisabled() {