@dimailn/vuetify 2.7.2-alpha22 → 2.7.2-alpha24

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 (58) hide show
  1. package/dist/vuetify.js +92 -59
  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/VBadge/VBadge.js +17 -14
  6. package/es5/components/VBadge/VBadge.js.map +1 -1
  7. package/es5/components/VForm/VForm.js +44 -30
  8. package/es5/components/VForm/VForm.js.map +1 -1
  9. package/es5/components/VInput/VInput.js +4 -0
  10. package/es5/components/VInput/VInput.js.map +1 -1
  11. package/es5/components/VSelect/VSelectList.js +1 -1
  12. package/es5/components/VSelect/VSelectList.js.map +1 -1
  13. package/es5/framework.js +1 -1
  14. package/es5/mixins/activatable/index.js +2 -1
  15. package/es5/mixins/activatable/index.js.map +1 -1
  16. package/es5/mixins/bootable/index.js +1 -2
  17. package/es5/mixins/bootable/index.js.map +1 -1
  18. package/es5/mixins/mouse/index.js +10 -5
  19. package/es5/mixins/mouse/index.js.map +1 -1
  20. package/es5/mixins/selectable/index.js +3 -0
  21. package/es5/mixins/selectable/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/VBadge/VBadge.js +14 -13
  25. package/lib/components/VBadge/VBadge.js.map +1 -1
  26. package/lib/components/VForm/VForm.js +40 -26
  27. package/lib/components/VForm/VForm.js.map +1 -1
  28. package/lib/components/VInput/VInput.js +4 -0
  29. package/lib/components/VInput/VInput.js.map +1 -1
  30. package/lib/components/VSelect/VSelectList.js +2 -1
  31. package/lib/components/VSelect/VSelectList.js.map +1 -1
  32. package/lib/framework.js +1 -1
  33. package/lib/mixins/activatable/index.js +2 -1
  34. package/lib/mixins/activatable/index.js.map +1 -1
  35. package/lib/mixins/bootable/index.js +2 -4
  36. package/lib/mixins/bootable/index.js.map +1 -1
  37. package/lib/mixins/mouse/index.js +9 -5
  38. package/lib/mixins/mouse/index.js.map +1 -1
  39. package/lib/mixins/selectable/index.js +4 -0
  40. package/lib/mixins/selectable/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/VBadge/VBadge.ts +24 -25
  45. package/src/components/VBadge/__tests__/VBadge.spec.ts +47 -30
  46. package/src/components/VBadge/__tests__/__snapshots__/VBadge.spec.ts.snap +5 -5
  47. package/src/components/VForm/VForm.ts +61 -35
  48. package/src/components/VForm/__tests__/VForm.spec.ts +100 -80
  49. package/src/components/VInput/VInput.ts +4 -0
  50. package/src/components/VSelect/VSelectList.ts +1 -0
  51. package/src/mixins/activatable/index.ts +2 -1
  52. package/src/mixins/bootable/__tests__/bootable.spec.ts +17 -11
  53. package/src/mixins/bootable/index.ts +4 -3
  54. package/src/mixins/mouse/__tests__/mouse.spec.ts +54 -40
  55. package/src/mixins/mouse/index.ts +10 -6
  56. package/src/mixins/selectable/index.ts +4 -0
  57. package/src/mixins/validatable/__tests__/validatable.spec.ts +194 -158
  58. package/src/mixins/validatable/index.ts +16 -18
package/dist/vuetify.js CHANGED
@@ -1456,8 +1456,7 @@ __webpack_require__.r(__webpack_exports__);
1456
1456
  /* harmony import */ var _mixins_transitionable__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../mixins/transitionable */ "./src/mixins/transitionable/index.ts");
1457
1457
  /* harmony import */ var _mixins_positionable__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../mixins/positionable */ "./src/mixins/positionable/index.ts");
1458
1458
  /* harmony import */ var _util_mergeData__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../util/mergeData */ "./src/util/mergeData.ts");
1459
- /* harmony import */ var _util_mixins__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../util/mixins */ "./src/util/mixins.ts");
1460
- /* harmony import */ var _util_helpers__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../util/helpers */ "./src/util/helpers.ts");
1459
+ /* harmony import */ var _util_helpers__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../util/helpers */ "./src/util/helpers.ts");
1461
1460
  var __assign = undefined && undefined.__assign || function () {
1462
1461
  __assign = Object.assign || function (t) {
1463
1462
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -1501,9 +1500,10 @@ var __rest = undefined && undefined.__rest || function (s, e) {
1501
1500
  // Utilities
1502
1501
 
1503
1502
 
1504
-
1505
- /* harmony default export */ __webpack_exports__["default"] = (Object(_util_mixins__WEBPACK_IMPORTED_MODULE_9__["default"])(_mixins_colorable__WEBPACK_IMPORTED_MODULE_3__["default"], Object(_mixins_positionable__WEBPACK_IMPORTED_MODULE_7__["factory"])(['left', 'bottom']), _mixins_themeable__WEBPACK_IMPORTED_MODULE_4__["default"], _mixins_toggleable__WEBPACK_IMPORTED_MODULE_5__["default"], _mixins_transitionable__WEBPACK_IMPORTED_MODULE_6__["default"]).extend({
1503
+ var Toggleable = Object(_mixins_toggleable__WEBPACK_IMPORTED_MODULE_5__["factory"])('modelValue', 'update:modelValue');
1504
+ /* harmony default export */ __webpack_exports__["default"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__["defineComponent"])({
1506
1505
  name: 'v-badge',
1506
+ mixins: [_mixins_colorable__WEBPACK_IMPORTED_MODULE_3__["default"], Object(_mixins_positionable__WEBPACK_IMPORTED_MODULE_7__["factory"])(['left', 'bottom']), _mixins_themeable__WEBPACK_IMPORTED_MODULE_4__["default"], Toggleable, _mixins_transitionable__WEBPACK_IMPORTED_MODULE_6__["default"]],
1507
1507
  props: {
1508
1508
  avatar: Boolean,
1509
1509
  bordered: Boolean,
@@ -1529,7 +1529,7 @@ var __rest = undefined && undefined.__rest || function (s, e) {
1529
1529
  type: String,
1530
1530
  default: 'scale-rotate-transition'
1531
1531
  },
1532
- value: {
1532
+ modelValue: {
1533
1533
  default: true
1534
1534
  }
1535
1535
  },
@@ -1594,7 +1594,7 @@ var __rest = undefined && undefined.__rest || function (s, e) {
1594
1594
  },
1595
1595
  methods: {
1596
1596
  calcPosition: function calcPosition(offset) {
1597
- return "calc(100% - " + Object(_util_helpers__WEBPACK_IMPORTED_MODULE_10__["convertToUnit"])(offset || this.offset) + ")";
1597
+ return "calc(100% - " + Object(_util_helpers__WEBPACK_IMPORTED_MODULE_9__["convertToUnit"])(offset || this.offset) + ")";
1598
1598
  },
1599
1599
  genBadge: function genBadge() {
1600
1600
  var lang = this.$vuetify.lang;
@@ -1606,27 +1606,29 @@ var __rest = undefined && undefined.__rest || function (s, e) {
1606
1606
  'aria-label': label,
1607
1607
  'aria-live': this.$attrs['aria-live'] || 'polite',
1608
1608
  title: this.$attrs.title,
1609
- role: this.$attrs.role || 'status',
1610
- directives: [{
1611
- name: 'show',
1612
- value: this.isActive
1613
- }]
1609
+ role: this.$attrs.role || 'status'
1614
1610
  });
1615
- var badge = Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])('span', data, [this.genBadgeContent()]);
1611
+ var badge = Object(vue__WEBPACK_IMPORTED_MODULE_0__["withDirectives"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])('span', data, [this.genBadgeContent()]), [[vue__WEBPACK_IMPORTED_MODULE_0__["vShow"], this.isActive]]);
1616
1612
  if (!this.transition) return badge;
1617
1613
  return Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])(vue__WEBPACK_IMPORTED_MODULE_0__["Transition"], {
1618
1614
  name: this.transition,
1619
1615
  origin: this.origin,
1620
1616
  mode: this.mode
1621
- }, [badge]);
1617
+ }, {
1618
+ default: function _default() {
1619
+ return [badge];
1620
+ }
1621
+ });
1622
1622
  },
1623
1623
  genBadgeContent: function genBadgeContent() {
1624
1624
  // Dot prop shows no content
1625
1625
  if (this.dot) return undefined;
1626
- var slot = Object(_util_helpers__WEBPACK_IMPORTED_MODULE_10__["getSlot"])(this, 'badge');
1626
+ var slot = Object(_util_helpers__WEBPACK_IMPORTED_MODULE_9__["getSlot"])(this, 'badge');
1627
1627
  if (slot) return slot;
1628
1628
  if (this.content) return String(this.content);
1629
- if (this.icon) return Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])(_VIcon_VIcon__WEBPACK_IMPORTED_MODULE_2__["default"], this.icon);
1629
+ if (this.icon) return Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])(_VIcon_VIcon__WEBPACK_IMPORTED_MODULE_2__["default"], {
1630
+ icon: this.icon
1631
+ });
1630
1632
  return undefined;
1631
1633
  },
1632
1634
  genBadgeWrapper: function genBadgeWrapper() {
@@ -1637,7 +1639,7 @@ var __rest = undefined && undefined.__rest || function (s, e) {
1637
1639
  },
1638
1640
  render: function render() {
1639
1641
  var badge = [this.genBadgeWrapper()];
1640
- var children = [Object(_util_helpers__WEBPACK_IMPORTED_MODULE_10__["getSlot"])(this)];
1642
+ var children = [Object(_util_helpers__WEBPACK_IMPORTED_MODULE_9__["getSlot"])(this)];
1641
1643
 
1642
1644
  var _a = this.$attrs,
1643
1645
  _x = _a["aria-atomic"],
@@ -16141,6 +16143,7 @@ var __assign = undefined && undefined.__assign || function () {
16141
16143
 
16142
16144
 
16143
16145
 
16146
+ // Helpers
16144
16147
 
16145
16148
 
16146
16149
  /* @vue/component */
@@ -16173,39 +16176,50 @@ var __assign = undefined && undefined.__assign || function () {
16173
16176
  handler: function handler(val) {
16174
16177
  var errors = Object.values(val).includes(true);
16175
16178
  this.$emit('input', !errors);
16179
+ this.$emit('update:modelValue', !errors);
16176
16180
  },
16177
16181
  deep: true,
16178
16182
  immediate: true
16179
16183
  }
16180
16184
  },
16181
16185
  methods: {
16186
+ getInputUid: function getInputUid(input) {
16187
+ return input.$.uid;
16188
+ },
16182
16189
  watchInput: function watchInput(input) {
16183
16190
  var _this = this;
16184
16191
 
16185
- var watcher = function watcher(input) {
16186
- return input.$watch('hasError', function (val) {
16187
- _this.errorBag[input.$.uid] = val;
16188
- }, {
16189
- immediate: true
16190
- });
16192
+ var inputId = this.getInputUid(input);
16193
+
16194
+ var createErrorWatcher = function createErrorWatcher(inputComponent) {
16195
+ if (typeof inputComponent.$watch === 'function') {
16196
+ return inputComponent.$watch('hasError', function (hasError) {
16197
+ _this.errorBag[inputId] = hasError;
16198
+ }, {
16199
+ immediate: true
16200
+ });
16201
+ } else {
16202
+ // Fallback для Vue 3
16203
+ return function () {};
16204
+ }
16191
16205
  };
16192
16206
 
16193
16207
  var watchers = {
16194
- _uid: input.$.uid,
16208
+ _uid: inputId,
16195
16209
  valid: function valid() {},
16196
16210
  shouldValidate: function shouldValidate() {}
16197
16211
  };
16198
16212
 
16199
16213
  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
- });
16214
+ if (typeof input.$watch === 'function') {
16215
+ watchers.shouldValidate = input.$watch('shouldValidate', function (shouldValidate) {
16216
+ if (!shouldValidate) return;
16217
+ if (_this.errorBag.hasOwnProperty(inputId)) return;
16218
+ watchers.valid = createErrorWatcher(input);
16219
+ });
16220
+ }
16207
16221
  } else {
16208
- watchers.valid = watcher(input);
16222
+ watchers.valid = createErrorWatcher(input);
16209
16223
  }
16210
16224
 
16211
16225
  return watchers;
@@ -16248,26 +16262,29 @@ var __assign = undefined && undefined.__assign || function () {
16248
16262
  this.watchers.push(this.watchInput(input));
16249
16263
  },
16250
16264
  unregister: function unregister(input) {
16251
- var found = this.inputs.find(function (i) {
16252
- return i.$.uid === input.$.uid;
16265
+ var _this = this;
16266
+
16267
+ var inputId = this.getInputUid(input);
16268
+ var foundInput = this.inputs.find(function (inputComponent) {
16269
+ return _this.getInputUid(inputComponent) === inputId;
16253
16270
  });
16254
- if (!found) return;
16255
- var unwatch = this.watchers.find(function (i) {
16256
- return i._uid === found.$.uid;
16271
+ if (!foundInput) return;
16272
+ var inputWatcher = this.watchers.find(function (watcher) {
16273
+ return watcher._uid === inputId;
16257
16274
  });
16258
16275
 
16259
- if (unwatch) {
16260
- unwatch.valid();
16261
- unwatch.shouldValidate();
16276
+ if (inputWatcher) {
16277
+ inputWatcher.valid();
16278
+ inputWatcher.shouldValidate();
16262
16279
  }
16263
16280
 
16264
- this.watchers = this.watchers.filter(function (i) {
16265
- return i._uid !== found.$.uid;
16281
+ this.watchers = this.watchers.filter(function (watcher) {
16282
+ return watcher._uid !== inputId;
16266
16283
  });
16267
- this.inputs = this.inputs.filter(function (i) {
16268
- return i.$.uid !== found.$.uid;
16284
+ this.inputs = this.inputs.filter(function (inputComponent) {
16285
+ return _this.getInputUid(inputComponent) !== inputId;
16269
16286
  });
16270
- delete this.errorBag[found.$.uid];
16287
+ delete this.errorBag[inputId];
16271
16288
  }
16272
16289
  },
16273
16290
  render: function render() {
@@ -17843,6 +17860,10 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_9__["default"])(_m
17843
17860
  set: function set(val) {
17844
17861
  this.lazyValue = val;
17845
17862
  this.$emit(this.$_modelEvent, val);
17863
+
17864
+ if ('$_emitChangeEvent' in this) {
17865
+ this.$emit('change', val);
17866
+ }
17846
17867
  }
17847
17868
  },
17848
17869
  isDirty: function isDirty() {
@@ -24836,7 +24857,7 @@ var __assign = undefined && undefined.__assign || function () {
24836
24857
  var scopedSlot = this.$slots.item({
24837
24858
  parent: parent,
24838
24859
  item: item,
24839
- attrs: __assign(__assign({}, tile.attrs), tile.props),
24860
+ attrs: __assign(__assign(__assign({}, tile.attrs), tile.props), tile.on),
24840
24861
  on: tile.on
24841
24862
  });
24842
24863
  return this.needsTile(scopedSlot) ? Object(vue__WEBPACK_IMPORTED_MODULE_9__["h"])(_VList__WEBPACK_IMPORTED_MODULE_3__["VListItem"], tile, scopedSlot) : scopedSlot;
@@ -35224,7 +35245,7 @@ function () {
35224
35245
 
35225
35246
  Vuetify.install = _install__WEBPACK_IMPORTED_MODULE_0__["install"];
35226
35247
  Vuetify.installed = false;
35227
- Vuetify.version = "2.7.2-alpha21";
35248
+ Vuetify.version = "2.7.2-alpha24";
35228
35249
  Vuetify.config = {
35229
35250
  silent: false
35230
35251
  };
@@ -39355,7 +39376,8 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_2__["default"])(_d
39355
39376
  },
39356
39377
  genActivator: function genActivator() {
39357
39378
  var node = Object(_util_helpers__WEBPACK_IMPORTED_MODULE_3__["getSlot"])(this, 'activator', Object.assign(this.getValueProxy(), {
39358
- attrs: __assign(__assign({}, this.genActivatorListeners()), this.genActivatorAttributes())
39379
+ attrs: __assign(__assign({}, this.genActivatorListeners()), this.genActivatorAttributes()),
39380
+ on: this.genActivatorListeners()
39359
39381
  })) || [];
39360
39382
  node = Array.isArray(node) ? node : [node];
39361
39383
  this.activatorNode = node.flatMap(function (node) {
@@ -39651,8 +39673,6 @@ __webpack_require__.r(__webpack_exports__);
39651
39673
  /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_1__);
39652
39674
  // Utilities
39653
39675
 
39654
- // Types
39655
-
39656
39676
 
39657
39677
  /**
39658
39678
  * Bootable
@@ -39693,7 +39713,7 @@ __webpack_require__.r(__webpack_exports__);
39693
39713
  },
39694
39714
  methods: {
39695
39715
  showLazyContent: function showLazyContent(content) {
39696
- return this.hasContent && content ? content() : [Object(vue__WEBPACK_IMPORTED_MODULE_1__["h"])()];
39716
+ return this.hasContent && content ? content() : [Object(vue__WEBPACK_IMPORTED_MODULE_1__["h"])(vue__WEBPACK_IMPORTED_MODULE_1__["Comment"])];
39697
39717
  }
39698
39718
  }
39699
39719
  }));
@@ -41073,6 +41093,7 @@ __webpack_require__.r(__webpack_exports__);
41073
41093
  __webpack_require__.r(__webpack_exports__);
41074
41094
  /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ "vue");
41075
41095
  /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);
41096
+ /* harmony import */ var _util_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../util/helpers */ "./src/util/helpers.ts");
41076
41097
  var __assign = undefined && undefined.__assign || function () {
41077
41098
  __assign = Object.assign || function (t) {
41078
41099
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -41091,9 +41112,9 @@ var __assign = undefined && undefined.__assign || function () {
41091
41112
 
41092
41113
 
41093
41114
 
41115
+
41094
41116
  function mapEventName(str) {
41095
- var newStr = "on" + str;
41096
- return newStr.charAt(0).toUpperCase() + newStr.slice(1);
41117
+ return "on" + Object(_util_helpers__WEBPACK_IMPORTED_MODULE_1__["upperFirst"])(str);
41097
41118
  }
41098
41119
 
41099
41120
  /* harmony default export */ __webpack_exports__["default"] = (Object(vue__WEBPACK_IMPORTED_MODULE_0__["defineComponent"])({
@@ -41109,8 +41130,11 @@ function mapEventName(str) {
41109
41130
  var listeners = Object.keys(this.$attrs).filter(function (key) {
41110
41131
  return key.endsWith(suffix);
41111
41132
  }).reduce(function (acc, key) {
41112
- acc[key] = {
41113
- event: key.slice(0, -suffix.length)
41133
+ var eventName = suffix ? key.slice(0, -suffix.length) : key;
41134
+ var cleanEventName = eventName.startsWith('on') ? eventName.slice(2).toLowerCase() : eventName.toLowerCase();
41135
+ acc[cleanEventName] = {
41136
+ event: cleanEventName,
41137
+ originalKey: key
41114
41138
  };
41115
41139
  return acc;
41116
41140
  }, {});
@@ -41131,7 +41155,8 @@ function mapEventName(str) {
41131
41155
 
41132
41156
  var _loop_1 = function _loop_1(event) {
41133
41157
  var eventOptions = events[event];
41134
- if (!this_1.$attrs[mapEventName(event)]) return "continue"; // TODO somehow pull in modifiers
41158
+ var attrName = eventOptions.originalKey || (event.includes(':') ? event : mapEventName(event));
41159
+ if (!this_1.$attrs[attrName]) return "continue"; // TODO somehow pull in modifiers
41135
41160
 
41136
41161
  var prefix = eventOptions.passive ? '&' : (eventOptions.once ? '~' : '') + (eventOptions.capture ? '!' : '');
41137
41162
  var key = prefix + eventOptions.event;
@@ -42361,6 +42386,9 @@ function prevent(e) {
42361
42386
  lazyValue: this.modelValue
42362
42387
  };
42363
42388
  },
42389
+ created: function created() {
42390
+ this.$_emitChangeEvent = true;
42391
+ },
42364
42392
  computed: {
42365
42393
  computedColor: function computedColor() {
42366
42394
  if (!this.isActive) return undefined;
@@ -42928,7 +42956,8 @@ __webpack_require__.r(__webpack_exports__);
42928
42956
  /* harmony import */ var _registrable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../registrable */ "./src/mixins/registrable/index.ts");
42929
42957
  /* harmony import */ var _util_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../util/helpers */ "./src/util/helpers.ts");
42930
42958
  /* harmony import */ var _util_console__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../util/console */ "./src/util/console.ts");
42931
- /* harmony import */ var _util_mixins__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../util/mixins */ "./src/util/mixins.ts");
42959
+ /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ "vue");
42960
+ /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_5__);
42932
42961
  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); }
42933
42962
 
42934
42963
  // Mixins
@@ -42939,11 +42968,12 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
42939
42968
 
42940
42969
 
42941
42970
 
42942
- 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"]);
42943
42971
  /* @vue/component */
42944
42972
 
42945
- /* harmony default export */ __webpack_exports__["default"] = (baseMixins.extend({
42973
+ /* harmony default export */ __webpack_exports__["default"] = (Object(vue__WEBPACK_IMPORTED_MODULE_5__["defineComponent"])({
42946
42974
  name: 'validatable',
42975
+ extends: Object(_registrable__WEBPACK_IMPORTED_MODULE_2__["inject"])('form'),
42976
+ mixins: [_colorable__WEBPACK_IMPORTED_MODULE_0__["default"], _themeable__WEBPACK_IMPORTED_MODULE_1__["default"]],
42947
42977
  props: {
42948
42978
  disabled: {
42949
42979
  type: Boolean,
@@ -42989,6 +43019,8 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_5__["default"])(_c
42989
43019
  }
42990
43020
  },
42991
43021
  data: function data() {
43022
+ var _a;
43023
+
42992
43024
  return {
42993
43025
  errorBucket: [],
42994
43026
  hasColor: false,
@@ -42996,7 +43028,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_5__["default"])(_c
42996
43028
  hasInput: false,
42997
43029
  isFocused: false,
42998
43030
  isResetting: false,
42999
- lazyValue: this.value,
43031
+ lazyValue: (_a = this.modelValue) !== null && _a !== void 0 ? _a : null,
43000
43032
  valid: false
43001
43033
  };
43002
43034
  },
@@ -43045,6 +43077,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_5__["default"])(_c
43045
43077
  set: function set(val) {
43046
43078
  this.lazyValue = val;
43047
43079
  this.$emit('input', val);
43080
+ this.$emit('update:modelValue', val);
43048
43081
  }
43049
43082
  },
43050
43083
  isDisabled: function isDisabled() {