@dimailn/vuetify 2.7.2-alpha18 → 2.7.2-alpha19

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 (44) hide show
  1. package/dist/vuetify.js +32 -36
  2. package/dist/vuetify.js.map +1 -1
  3. package/dist/vuetify.min.js +1 -1
  4. package/es5/components/VForm/VForm.js +8 -8
  5. package/es5/components/VForm/VForm.js.map +1 -1
  6. package/es5/components/VList/VList.js +1 -1
  7. package/es5/components/VList/VList.js.map +1 -1
  8. package/es5/components/VList/VListGroup.js +11 -14
  9. package/es5/components/VList/VListGroup.js.map +1 -1
  10. package/es5/components/VRangeSlider/VRangeSlider.js +1 -1
  11. package/es5/components/VRangeSlider/VRangeSlider.js.map +1 -1
  12. package/es5/components/VSelect/VSelectList.js +1 -1
  13. package/es5/components/VSelect/VSelectList.js.map +1 -1
  14. package/es5/components/VSparkline/VSparkline.js +6 -6
  15. package/es5/components/VSparkline/VSparkline.js.map +1 -1
  16. package/es5/components/transitions/expand-transition.js +1 -0
  17. package/es5/components/transitions/expand-transition.js.map +1 -1
  18. package/es5/mixins/applicationable/index.js +3 -3
  19. package/es5/mixins/applicationable/index.js.map +1 -1
  20. package/lib/components/VForm/VForm.js +8 -8
  21. package/lib/components/VForm/VForm.js.map +1 -1
  22. package/lib/components/VList/VList.js +1 -1
  23. package/lib/components/VList/VList.js.map +1 -1
  24. package/lib/components/VList/VListGroup.js +10 -14
  25. package/lib/components/VList/VListGroup.js.map +1 -1
  26. package/lib/components/VRangeSlider/VRangeSlider.js +1 -1
  27. package/lib/components/VRangeSlider/VRangeSlider.js.map +1 -1
  28. package/lib/components/VSelect/VSelectList.js +1 -1
  29. package/lib/components/VSelect/VSelectList.js.map +1 -1
  30. package/lib/components/VSparkline/VSparkline.js +6 -6
  31. package/lib/components/VSparkline/VSparkline.js.map +1 -1
  32. package/lib/components/transitions/expand-transition.js +1 -0
  33. package/lib/components/transitions/expand-transition.js.map +1 -1
  34. package/lib/mixins/applicationable/index.js +3 -3
  35. package/lib/mixins/applicationable/index.js.map +1 -1
  36. package/package.json +1 -1
  37. package/src/components/VForm/VForm.ts +8 -8
  38. package/src/components/VList/VList.ts +1 -1
  39. package/src/components/VList/VListGroup.ts +13 -13
  40. package/src/components/VRangeSlider/VRangeSlider.ts +1 -1
  41. package/src/components/VSelect/VSelectList.ts +1 -1
  42. package/src/components/VSparkline/VSparkline.ts +6 -6
  43. package/src/components/transitions/expand-transition.ts +2 -0
  44. package/src/mixins/applicationable/index.ts +3 -3
package/dist/vuetify.js CHANGED
@@ -16184,14 +16184,14 @@ var __assign = undefined && undefined.__assign || function () {
16184
16184
 
16185
16185
  var watcher = function watcher(input) {
16186
16186
  return input.$watch('hasError', function (val) {
16187
- _this.errorBag[input._uid] = val;
16187
+ _this.errorBag[input.$.uid] = val;
16188
16188
  }, {
16189
16189
  immediate: true
16190
16190
  });
16191
16191
  };
16192
16192
 
16193
16193
  var watchers = {
16194
- _uid: input._uid,
16194
+ _uid: input.$.uid,
16195
16195
  valid: function valid() {},
16196
16196
  shouldValidate: function shouldValidate() {}
16197
16197
  };
@@ -16201,7 +16201,7 @@ var __assign = undefined && undefined.__assign || function () {
16201
16201
  watchers.shouldValidate = input.$watch('shouldValidate', function (val) {
16202
16202
  if (!val) return; // Only watch if we're not already doing it
16203
16203
 
16204
- if (_this.errorBag.hasOwnProperty(input._uid)) return;
16204
+ if (_this.errorBag.hasOwnProperty(input.$.uid)) return;
16205
16205
  watchers.valid = watcher(input);
16206
16206
  });
16207
16207
  } else {
@@ -16249,11 +16249,11 @@ var __assign = undefined && undefined.__assign || function () {
16249
16249
  },
16250
16250
  unregister: function unregister(input) {
16251
16251
  var found = this.inputs.find(function (i) {
16252
- return i._uid === input._uid;
16252
+ return i.$.uid === input.$.uid;
16253
16253
  });
16254
16254
  if (!found) return;
16255
16255
  var unwatch = this.watchers.find(function (i) {
16256
- return i._uid === found._uid;
16256
+ return i.$.uid === found.$.uid;
16257
16257
  });
16258
16258
 
16259
16259
  if (unwatch) {
@@ -16262,12 +16262,12 @@ var __assign = undefined && undefined.__assign || function () {
16262
16262
  }
16263
16263
 
16264
16264
  this.watchers = this.watchers.filter(function (i) {
16265
- return i._uid !== found._uid;
16265
+ return i.$.uid !== found.$.uid;
16266
16266
  });
16267
16267
  this.inputs = this.inputs.filter(function (i) {
16268
- return i._uid !== found._uid;
16268
+ return i.$.uid !== found.$.uid;
16269
16269
  });
16270
- delete this.errorBag[found._uid];
16270
+ delete this.errorBag[found.$.uid];
16271
16271
  }
16272
16272
  },
16273
16273
  render: function render() {
@@ -18832,7 +18832,7 @@ var __values = undefined && undefined.__values || function (o) {
18832
18832
  },
18833
18833
  unregister: function unregister(content) {
18834
18834
  var index = this.groups.findIndex(function (g) {
18835
- return g._uid === content._uid;
18835
+ return g.$.uid === content.$.uid;
18836
18836
  });
18837
18837
  if (index > -1) this.groups.splice(index, 1);
18838
18838
  },
@@ -18908,8 +18908,6 @@ __webpack_require__.r(__webpack_exports__);
18908
18908
  /* harmony import */ var _transitions__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../transitions */ "./src/components/transitions/index.ts");
18909
18909
  /* harmony import */ var _util_mixins__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../util/mixins */ "./src/util/mixins.ts");
18910
18910
  /* harmony import */ var _util_helpers__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../util/helpers */ "./src/util/helpers.ts");
18911
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
18912
-
18913
18911
  var __assign = undefined && undefined.__assign || function () {
18914
18912
  __assign = Object.assign || function (t) {
18915
18913
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -18989,7 +18987,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_12__["default"])(_
18989
18987
  isActive: function isActive(val) {
18990
18988
  /* istanbul ignore else */
18991
18989
  if (!this.subGroup && val) {
18992
- this.list && this.list.listClick(this._uid);
18990
+ this.list && this.list.listClick(this.$.uid);
18993
18991
  }
18994
18992
  },
18995
18993
  $route: 'onRouteChange'
@@ -18997,7 +18995,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_12__["default"])(_
18997
18995
  created: function created() {
18998
18996
  this.list && this.list.register(this);
18999
18997
 
19000
- if (this.group && this.$route && this.value == null) {
18998
+ if (this.group && this.$route && this.modelValue == null) {
19001
18999
  this.isActive = this.matchRoute(this.$route.path);
19002
19000
  }
19003
19001
  },
@@ -19043,14 +19041,11 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_12__["default"])(_
19043
19041
  genItems: function genItems() {
19044
19042
  var _this = this;
19045
19043
 
19044
+ var directives = [[vue__WEBPACK_IMPORTED_MODULE_0__["vShow"], this.isActive]];
19046
19045
  return this.showLazyContent(function () {
19047
- return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])('div', {
19048
- class: 'v-list-group__items',
19049
- directives: [{
19050
- name: 'show',
19051
- value: _this.isActive
19052
- }]
19053
- }, Object(_util_helpers__WEBPACK_IMPORTED_MODULE_13__["getSlot"])(_this))];
19046
+ return [Object(vue__WEBPACK_IMPORTED_MODULE_0__["withDirectives"])(Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])('div', {
19047
+ class: 'v-list-group__items'
19048
+ }, Object(_util_helpers__WEBPACK_IMPORTED_MODULE_13__["getSlot"])(_this)), directives)];
19054
19049
  });
19055
19050
  },
19056
19051
  genPrependIcon: function genPrependIcon() {
@@ -19068,7 +19063,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_12__["default"])(_
19068
19063
  /* istanbul ignore else */
19069
19064
 
19070
19065
  if (isActive && this.isActive !== isActive) {
19071
- this.list && this.list.listClick(this._uid);
19066
+ this.list && this.list.listClick(this.$.uid);
19072
19067
  }
19073
19068
 
19074
19069
  this.isActive = isActive;
@@ -19076,7 +19071,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_12__["default"])(_
19076
19071
  toggle: function toggle(uid) {
19077
19072
  var _this = this;
19078
19073
 
19079
- var isActive = this._uid === uid;
19074
+ var isActive = this.$.uid === uid;
19080
19075
  if (isActive) this.isBooted = true;
19081
19076
  this.$nextTick(function () {
19082
19077
  return _this.isActive = isActive;
@@ -19087,9 +19082,9 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_12__["default"])(_
19087
19082
  }
19088
19083
  },
19089
19084
  render: function render() {
19090
- return Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])('div', this.setTextColor(this.isActive && this.color, _defineProperty({
19091
- class: 'v-list-group'
19092
- }, "class", this.classes)), [this.genHeader(), Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])(_transitions__WEBPACK_IMPORTED_MODULE_11__["VExpandTransition"], this.genItems())]);
19085
+ return Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])('div', this.setTextColor(this.isActive && this.color, {
19086
+ class: ['v-list-group', this.classes]
19087
+ }), [this.genHeader(), Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])(_transitions__WEBPACK_IMPORTED_MODULE_11__["VExpandTransition"], this.genItems())]);
19093
19088
  }
19094
19089
  }));
19095
19090
 
@@ -23141,7 +23136,7 @@ var __spreadArray = undefined && undefined.__spreadArray || function (to, from,
23141
23136
  input.data = input.data || {};
23142
23137
  input.data.attrs = input.data.attrs || {};
23143
23138
  input.data.attrs.value = _this.internalValue[i];
23144
- input.data.attrs.id = "input-" + (i ? 'max' : 'min') + "-" + _this._uid;
23139
+ input.data.attrs.id = "input-" + (i ? 'max' : 'min') + "-" + _this.$.uid;
23145
23140
  return input;
23146
23141
  });
23147
23142
  },
@@ -24795,7 +24790,7 @@ var __assign = undefined && undefined.__assign || function () {
24795
24790
  // Default behavior in list does not
24796
24791
  // contain aria-selected by default
24797
24792
  'aria-selected': String(value),
24798
- id: "list-item-" + this._uid + "-" + index,
24793
+ id: "list-item-" + this.$.uid + "-" + index,
24799
24794
  role: 'option',
24800
24795
  onMousedown: function onMousedown(e) {
24801
24796
  // Prevent onBlur from being called
@@ -26932,7 +26927,7 @@ var __assign = undefined && undefined.__assign || function () {
26932
26927
  });
26933
26928
  return Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])('defs', [Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])('linearGradient', {
26934
26929
  attrs: {
26935
- id: this._uid,
26930
+ id: this.$.uid,
26936
26931
  gradientUnits: 'userSpaceOnUse',
26937
26932
  x1: gradientDirection === 'left' ? '100%' : '0',
26938
26933
  y1: gradientDirection === 'top' ? '100%' : '0',
@@ -26957,8 +26952,8 @@ var __assign = undefined && undefined.__assign || function () {
26957
26952
  return Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])('path', {
26958
26953
  attrs: {
26959
26954
  d: Object(_helpers_path__WEBPACK_IMPORTED_MODULE_4__["genPath"])(points, this._radius, this.fill, this.parsedHeight),
26960
- fill: this.fill ? "url(#" + this._uid + ")" : 'none',
26961
- stroke: this.fill ? 'none' : "url(#" + this._uid + ")"
26955
+ fill: this.fill ? "url(#" + this.$.uid + ")" : 'none',
26956
+ stroke: this.fill ? 'none' : "url(#" + this.$.uid + ")"
26962
26957
  },
26963
26958
  ref: 'path'
26964
26959
  });
@@ -26994,10 +26989,10 @@ var __assign = undefined && undefined.__assign || function () {
26994
26989
  display: 'block',
26995
26990
  viewBox: "0 0 " + this.totalWidth + " " + this.totalHeight
26996
26991
  }
26997
- }, [this.genGradient(), this.genClipPath(bars, offsetX, this._lineWidth, 'sparkline-bar-' + this._uid), this.hasLabels ? this.genLabels(offsetX) : undefined, Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])('g', {
26992
+ }, [this.genGradient(), this.genClipPath(bars, offsetX, this._lineWidth, 'sparkline-bar-' + this.$.uid), this.hasLabels ? this.genLabels(offsetX) : undefined, Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])('g', {
26998
26993
  attrs: {
26999
- 'clip-path': "url(#sparkline-bar-" + this._uid + "-clip)",
27000
- fill: "url(#" + this._uid + ")"
26994
+ 'clip-path': "url(#sparkline-bar-" + this.$.uid + "-clip)",
26995
+ fill: "url(#" + this.$.uid + ")"
27001
26996
  }
27002
26997
  }, [Object(vue__WEBPACK_IMPORTED_MODULE_0__["h"])('rect', {
27003
26998
  attrs: {
@@ -34014,6 +34009,7 @@ __webpack_require__.r(__webpack_exports__);
34014
34009
  }, _a[sizeProperty] = el.style[sizeProperty], _a);
34015
34010
  },
34016
34011
  onEnter: function onEnter(el) {
34012
+ if (el.style.display === 'none') return;
34017
34013
  var initialStyle = el._initialStyle;
34018
34014
  el.style.setProperty('transition', 'none', 'important'); // Hide overflow to account for collapsed margins in the calculated height
34019
34015
 
@@ -39509,7 +39505,7 @@ function applicationable(value, events) {
39509
39505
  prev ? this.removeApplication(true) : this.callUpdate();
39510
39506
  },
39511
39507
  applicationProperty: function applicationProperty(newVal, oldVal) {
39512
- this.$vuetify.application.unregister(this._uid, oldVal);
39508
+ this.$vuetify.application.unregister(this.$.uid, oldVal);
39513
39509
  }
39514
39510
  },
39515
39511
  activated: function activated() {
@@ -39534,7 +39530,7 @@ function applicationable(value, events) {
39534
39530
  methods: {
39535
39531
  callUpdate: function callUpdate() {
39536
39532
  if (!this.app) return;
39537
- this.$vuetify.application.register(this._uid, this.applicationProperty, this.updateApplication());
39533
+ this.$vuetify.application.register(this.$.uid, this.applicationProperty, this.updateApplication());
39538
39534
  },
39539
39535
  removeApplication: function removeApplication(force) {
39540
39536
  if (force === void 0) {
@@ -39542,7 +39538,7 @@ function applicationable(value, events) {
39542
39538
  }
39543
39539
 
39544
39540
  if (!force && !this.app) return;
39545
- this.$vuetify.application.unregister(this._uid, this.applicationProperty);
39541
+ this.$vuetify.application.unregister(this.$.uid, this.applicationProperty);
39546
39542
  },
39547
39543
  updateApplication: function updateApplication() {
39548
39544
  return 0;