@dimailn/vuetify 2.7.2-alpha36 → 2.7.2-alpha38
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 +29 -16
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +1 -1
- package/dist/vuetify.min.js +2 -2
- package/es5/components/VDialog/VDialog.js +1 -1
- package/es5/components/VDialog/VDialog.js.map +1 -1
- package/es5/components/VItemGroup/VItemGroup.js +1 -1
- package/es5/components/VItemGroup/VItemGroup.js.map +1 -1
- package/es5/components/VMenu/VMenu.js +1 -1
- package/es5/components/VMenu/VMenu.js.map +1 -1
- package/es5/components/VNavigationDrawer/VNavigationDrawer.js +1 -1
- package/es5/components/VNavigationDrawer/VNavigationDrawer.js.map +1 -1
- package/es5/components/VSelect/VSelect.js +1 -1
- package/es5/components/VSelect/VSelect.js.map +1 -1
- package/es5/components/VSelect/VSelectList.js +12 -7
- package/es5/components/VSelect/VSelectList.js.map +1 -1
- package/es5/components/VSlideGroup/VSlideGroup.js +2 -2
- package/es5/components/VSlideGroup/VSlideGroup.js.map +1 -1
- package/es5/components/VTabs/VTabs.js +1 -1
- package/es5/components/VTabs/VTabs.js.map +1 -1
- package/es5/framework.js +1 -1
- package/es5/mixins/detachable/index.js +1 -1
- package/es5/mixins/detachable/index.js.map +1 -1
- package/es5/mixins/groupable/index.js +5 -1
- package/es5/mixins/groupable/index.js.map +1 -1
- package/es5/mixins/proxyable/index.js +1 -1
- package/es5/mixins/proxyable/index.js.map +1 -1
- package/lib/components/VDialog/VDialog.js +1 -1
- package/lib/components/VDialog/VDialog.js.map +1 -1
- package/lib/components/VItemGroup/VItemGroup.js +1 -1
- package/lib/components/VItemGroup/VItemGroup.js.map +1 -1
- package/lib/components/VMenu/VMenu.js +1 -1
- package/lib/components/VMenu/VMenu.js.map +1 -1
- package/lib/components/VNavigationDrawer/VNavigationDrawer.js +1 -1
- package/lib/components/VNavigationDrawer/VNavigationDrawer.js.map +1 -1
- package/lib/components/VSelect/VSelect.js +1 -1
- package/lib/components/VSelect/VSelect.js.map +1 -1
- package/lib/components/VSelect/VSelectList.js +14 -4
- package/lib/components/VSelect/VSelectList.js.map +1 -1
- package/lib/components/VSlideGroup/VSlideGroup.js +2 -2
- package/lib/components/VSlideGroup/VSlideGroup.js.map +1 -1
- package/lib/components/VTabs/VTabs.js +1 -1
- package/lib/components/VTabs/VTabs.js.map +1 -1
- package/lib/framework.js +1 -1
- package/lib/mixins/detachable/index.js +1 -1
- package/lib/mixins/detachable/index.js.map +1 -1
- package/lib/mixins/groupable/index.js +3 -1
- package/lib/mixins/groupable/index.js.map +1 -1
- package/lib/mixins/proxyable/index.js +1 -1
- package/lib/mixins/proxyable/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/VBtn/__tests__/VBtn.spec.ts +2 -1
- package/src/components/VDialog/VDialog.ts +1 -1
- package/src/components/VItemGroup/VItemGroup.ts +1 -1
- package/src/components/VMenu/VMenu.ts +1 -1
- package/src/components/VNavigationDrawer/VNavigationDrawer.ts +1 -1
- package/src/components/VSelect/VSelect.ts +1 -1
- package/src/components/VSelect/VSelectList.ts +14 -3
- package/src/components/VSlideGroup/VSlideGroup.ts +2 -2
- package/src/components/VTabs/VTabs.ts +1 -1
- package/src/mixins/detachable/index.ts +1 -1
- package/src/mixins/groupable/index.ts +3 -1
- package/src/mixins/proxyable/index.ts +2 -2
package/dist/vuetify.js
CHANGED
|
@@ -15495,7 +15495,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_10__["default"])(_
|
|
|
15495
15495
|
// if it was dragged onto the overlay (#6969),
|
|
15496
15496
|
// or if this isn't the topmost dialog (#9907)
|
|
15497
15497
|
|
|
15498
|
-
return !(this
|
|
15498
|
+
return !(this.$.isUnmounted || !this.isActive || this.$refs.content.contains(target) || this.overlay && target && !this.overlay.$el.contains(target)) && this.activeZIndex >= this.getMaxZIndex();
|
|
15499
15499
|
},
|
|
15500
15500
|
hideScroll: function hideScroll() {
|
|
15501
15501
|
if (this.fullscreen) {
|
|
@@ -19251,7 +19251,7 @@ var BaseItemGroup = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_5__["default"])
|
|
|
19251
19251
|
this.updateItem(item, index);
|
|
19252
19252
|
},
|
|
19253
19253
|
unregister: function unregister(item) {
|
|
19254
|
-
if (this
|
|
19254
|
+
if (this.$.isUnmounted) return;
|
|
19255
19255
|
var index = this.items.indexOf(item);
|
|
19256
19256
|
var value = this.getValue(item, index);
|
|
19257
19257
|
this.items.splice(index, 1);
|
|
@@ -21094,7 +21094,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_12__["default"])(_
|
|
|
21094
21094
|
},
|
|
21095
21095
|
closeConditional: function closeConditional(e) {
|
|
21096
21096
|
var target = e.target;
|
|
21097
|
-
return this.isActive && !this
|
|
21097
|
+
return this.isActive && !this.$.isUnmounted && this.closeOnClick && this.$refs.content && !this.$refs.content.contains(target);
|
|
21098
21098
|
},
|
|
21099
21099
|
genActivatorAttributes: function genActivatorAttributes() {
|
|
21100
21100
|
var attributes = _mixins_activatable__WEBPACK_IMPORTED_MODULE_3__["default"].methods.genActivatorAttributes.call(this);
|
|
@@ -21776,7 +21776,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_14__["default"])(O
|
|
|
21776
21776
|
};
|
|
21777
21777
|
},
|
|
21778
21778
|
closeConditional: function closeConditional() {
|
|
21779
|
-
return this.isActive && !this
|
|
21779
|
+
return this.isActive && !this.$.isUnmounted && this.reactsToClick;
|
|
21780
21780
|
},
|
|
21781
21781
|
genAppend: function genAppend() {
|
|
21782
21782
|
return this.genPosition('append');
|
|
@@ -25567,7 +25567,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_14__["default"])(_
|
|
|
25567
25567
|
},
|
|
25568
25568
|
closeConditional: function closeConditional(e) {
|
|
25569
25569
|
if (!this.isMenuActive) return true;
|
|
25570
|
-
return !this
|
|
25570
|
+
return !this.$.isUnmounted && ( // Click originates from outside the menu content
|
|
25571
25571
|
// Multiple selects don't close when an item is clicked
|
|
25572
25572
|
!this.getContent() || !this.getContent().contains(e.target)) && // Click originates from outside the element
|
|
25573
25573
|
this.$el && !this.$el.contains(e.target) && e.target !== this.$el;
|
|
@@ -26426,12 +26426,21 @@ var __read = undefined && undefined.__read || function (o, n) {
|
|
|
26426
26426
|
hasItem: function hasItem(item) {
|
|
26427
26427
|
return this.parsedItems.indexOf(this.getValue(item)) > -1;
|
|
26428
26428
|
},
|
|
26429
|
+
checkSlotFragment: function checkSlotFragment(type) {
|
|
26430
|
+
return _typeof(type) === 'symbol' && String(type) === 'Symbol(v-fgt)';
|
|
26431
|
+
},
|
|
26429
26432
|
needsTile: function needsTile(slot) {
|
|
26430
|
-
var _a = __read(slot !== null && slot !== void 0 ? slot : [], 1),
|
|
26431
|
-
vnode = _a[0];
|
|
26432
|
-
|
|
26433
26433
|
if (!(slot === null || slot === void 0 ? void 0 : slot.length) || slot.length !== 1) return true;
|
|
26434
|
-
var
|
|
26434
|
+
var vnode = slot[0];
|
|
26435
|
+
if (!vnode) return true;
|
|
26436
|
+
var type = vnode.type;
|
|
26437
|
+
|
|
26438
|
+
if (this.checkSlotFragment(type) && Array.isArray(vnode.children)) {
|
|
26439
|
+
if (vnode.children.length !== 1) return true;
|
|
26440
|
+
vnode = vnode.children[0];
|
|
26441
|
+
type = vnode && vnode.type;
|
|
26442
|
+
}
|
|
26443
|
+
|
|
26435
26444
|
var isComponent = type && _typeof(type) === 'object';
|
|
26436
26445
|
var isVListItem = isComponent && 'name' in type && type.name === 'v-list-item';
|
|
26437
26446
|
return !isVListItem;
|
|
@@ -27290,7 +27299,7 @@ var BaseSlideGroup = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_8__["default"]
|
|
|
27290
27299
|
},
|
|
27291
27300
|
onResize: function onResize() {
|
|
27292
27301
|
/* istanbul ignore next */
|
|
27293
|
-
if (this
|
|
27302
|
+
if (this.$.isUnmounted) return;
|
|
27294
27303
|
this.setWidths();
|
|
27295
27304
|
},
|
|
27296
27305
|
onTouchStart: function onTouchStart(e) {
|
|
@@ -27391,7 +27400,7 @@ var BaseSlideGroup = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_8__["default"]
|
|
|
27391
27400
|
var _this = this;
|
|
27392
27401
|
|
|
27393
27402
|
window.requestAnimationFrame(function () {
|
|
27394
|
-
if (_this
|
|
27403
|
+
if (_this.$.isUnmounted) return;
|
|
27395
27404
|
var content = _this.$refs.content;
|
|
27396
27405
|
var wrapper = _this.$refs.wrapper;
|
|
27397
27406
|
if (!content || !wrapper) return;
|
|
@@ -30450,7 +30459,7 @@ var baseMixins = Object(_util_mixins__WEBPACK_IMPORTED_MODULE_10__["default"])(_
|
|
|
30450
30459
|
}, [slider]);
|
|
30451
30460
|
},
|
|
30452
30461
|
onResize: function onResize() {
|
|
30453
|
-
if (this
|
|
30462
|
+
if (this.$.isUnmounted) return;
|
|
30454
30463
|
clearTimeout(this.resizeTimeout);
|
|
30455
30464
|
this.resizeTimeout = window.setTimeout(this.callSlider, 0);
|
|
30456
30465
|
},
|
|
@@ -36928,7 +36937,7 @@ function () {
|
|
|
36928
36937
|
|
|
36929
36938
|
Vuetify.install = _install__WEBPACK_IMPORTED_MODULE_0__["install"];
|
|
36930
36939
|
Vuetify.installed = false;
|
|
36931
|
-
Vuetify.version = "2.7.2-
|
|
36940
|
+
Vuetify.version = "2.7.2-alpha38";
|
|
36932
36941
|
Vuetify.config = {
|
|
36933
36942
|
silent: false
|
|
36934
36943
|
};
|
|
@@ -41944,7 +41953,7 @@ function removeActivator(activator) {
|
|
|
41944
41953
|
return scopeIdAttrs;
|
|
41945
41954
|
},
|
|
41946
41955
|
initDetach: function initDetach() {
|
|
41947
|
-
if (this
|
|
41956
|
+
if (this.$.isUnmounted || !this.$refs.content || this.hasDetached || // Leave menu in place if attached
|
|
41948
41957
|
// and dev has not changed target
|
|
41949
41958
|
this.attach === '' || // If used as a boolean prop (<v-menu attach>)
|
|
41950
41959
|
this.attach === true || // If bound to a boolean (<v-menu :attach="true">)
|
|
@@ -42081,7 +42090,11 @@ function factory(namespace, child, parent) {
|
|
|
42081
42090
|
this[namespace] && this[namespace].register(this);
|
|
42082
42091
|
},
|
|
42083
42092
|
beforeUnmount: function beforeUnmount() {
|
|
42084
|
-
|
|
42093
|
+
var _this = this;
|
|
42094
|
+
|
|
42095
|
+
this.$nextTick(function () {
|
|
42096
|
+
_this[namespace] && _this[namespace].unregister(_this);
|
|
42097
|
+
});
|
|
42085
42098
|
},
|
|
42086
42099
|
methods: {
|
|
42087
42100
|
toggle: function toggle(e) {
|
|
@@ -43446,7 +43459,7 @@ function factory(prop, event) {
|
|
|
43446
43459
|
if (val === this.internalLazyValue) return;
|
|
43447
43460
|
this.internalLazyValue = val; // Don't emit events if component is being destroyed
|
|
43448
43461
|
|
|
43449
|
-
if (!this
|
|
43462
|
+
if (!this.$.isUnmounted) {
|
|
43450
43463
|
this.$emit(event, val);
|
|
43451
43464
|
}
|
|
43452
43465
|
}
|