@dimailn/vuetify 2.7.2-alpha47 → 2.7.2-alpha49

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.
package/dist/vuetify.js CHANGED
@@ -19330,7 +19330,8 @@ var BaseItemGroup = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_5__["default"])
19330
19330
  };
19331
19331
  },
19332
19332
  getValue: function getValue(item, i) {
19333
- return item.value === undefined ? i : item.value;
19333
+ var identity = item.value !== undefined ? item.value : item.modelValue;
19334
+ return identity === undefined ? i : identity;
19334
19335
  },
19335
19336
  onClick: function onClick(item) {
19336
19337
  this.updateInternalValue(this.getValue(item, this.items.indexOf(item)));
@@ -37113,7 +37114,7 @@ function () {
37113
37114
 
37114
37115
  Vuetify.install = _install__WEBPACK_IMPORTED_MODULE_0__["install"];
37115
37116
  Vuetify.installed = false;
37116
- Vuetify.version = "2.7.2-alpha47";
37117
+ Vuetify.version = "2.7.2-alpha49";
37117
37118
  Vuetify.config = {
37118
37119
  silent: false
37119
37120
  };
@@ -43257,9 +43258,24 @@ var __assign = undefined && undefined.__assign || function () {
43257
43258
  genOverlay: function genOverlay() {
43258
43259
  var _this = this;
43259
43260
 
43261
+ var _a, _b, _c, _d;
43262
+
43260
43263
  this.hideScroll();
43261
43264
  if (this.hideOverlay) return;
43262
- if (!this.overlay) this.createOverlay();
43265
+
43266
+ if (!((_b = (_a = this.overlay) === null || _a === void 0 ? void 0 : _a.$el) === null || _b === void 0 ? void 0 : _b.isConnected)) {
43267
+ if (this.overlay) {
43268
+ cancelAnimationFrame(this.animationFrame);
43269
+ var container = (_c = this.overlay.$el) === null || _c === void 0 ? void 0 : _c.parentNode;
43270
+ (_d = this.overlayApp) === null || _d === void 0 ? void 0 : _d.unmount();
43271
+ this.overlayApp = null;
43272
+ if (container === null || container === void 0 ? void 0 : container.parentNode) container.parentNode.removeChild(container);
43273
+ this.overlay = null;
43274
+ }
43275
+
43276
+ this.createOverlay();
43277
+ }
43278
+
43263
43279
  this.animationFrame = requestAnimationFrame(function () {
43264
43280
  if (!_this.overlay) return;
43265
43281
 
@@ -43278,11 +43294,22 @@ var __assign = undefined && undefined.__assign || function () {
43278
43294
  removeOverlay: function removeOverlay(showScroll) {
43279
43295
  var _this = this;
43280
43296
 
43297
+ var _a, _b;
43298
+
43281
43299
  if (showScroll === void 0) {
43282
43300
  showScroll = true;
43283
43301
  }
43284
43302
 
43285
43303
  if (this.overlay) {
43304
+ if (!((_a = this.overlay.$el) === null || _a === void 0 ? void 0 : _a.isConnected)) {
43305
+ cancelAnimationFrame(this.animationFrame);
43306
+ (_b = this.overlayApp) === null || _b === void 0 ? void 0 : _b.unmount();
43307
+ this.overlayApp = null;
43308
+ this.overlay = null;
43309
+ showScroll && this.showScroll();
43310
+ return;
43311
+ }
43312
+
43286
43313
  Object(_util_helpers__WEBPACK_IMPORTED_MODULE_1__["addOnceEventListener"])(this.overlay.$el, 'transitionend', function () {
43287
43314
  var _a;
43288
43315