@dimailn/vuetify 2.7.2-alpha4 → 2.7.2-alpha6
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 +31 -15
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +1 -1
- package/dist/vuetify.min.js +2 -2
- package/es5/components/VData/VData.js +14 -2
- package/es5/components/VData/VData.js.map +1 -1
- package/es5/components/VDataTable/Row.js +5 -5
- package/es5/components/VDataTable/Row.js.map +1 -1
- package/es5/components/VDataTable/VDataTable.js.map +1 -1
- package/es5/components/VImg/VImg.js +1 -1
- package/es5/components/VImg/VImg.js.map +1 -1
- package/es5/components/VMenu/VMenu.js +1 -2
- package/es5/components/VMenu/VMenu.js.map +1 -1
- package/es5/framework.js +1 -1
- package/es5/mixins/activatable/index.js +8 -3
- package/es5/mixins/activatable/index.js.map +1 -1
- package/lib/components/VData/VData.js +15 -2
- package/lib/components/VData/VData.js.map +1 -1
- package/lib/components/VDataTable/Row.js +5 -5
- package/lib/components/VDataTable/Row.js.map +1 -1
- package/lib/components/VDataTable/VDataTable.js.map +1 -1
- package/lib/components/VImg/VImg.js +1 -1
- package/lib/components/VImg/VImg.js.map +1 -1
- package/lib/components/VMenu/VMenu.js +1 -2
- package/lib/components/VMenu/VMenu.js.map +1 -1
- package/lib/framework.js +1 -1
- package/lib/mixins/activatable/index.js +9 -4
- package/lib/mixins/activatable/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/VData/VData.ts +12 -1
- package/src/components/VImg/VImg.ts +1 -1
- package/src/mixins/activatable/index.ts +7 -3
|
@@ -88,14 +88,18 @@ export default baseMixins.extend({
|
|
|
88
88
|
}
|
|
89
89
|
},
|
|
90
90
|
genActivator () {
|
|
91
|
-
|
|
91
|
+
let node = getSlot(this, 'activator', Object.assign(this.getValueProxy(), {
|
|
92
92
|
attrs: {
|
|
93
93
|
...this.genActivatorListeners(),
|
|
94
94
|
...this.genActivatorAttributes(),
|
|
95
95
|
}
|
|
96
96
|
})) || []
|
|
97
97
|
|
|
98
|
-
|
|
98
|
+
node = Array.isArray(node) ? node : [node]
|
|
99
|
+
|
|
100
|
+
this.activatorNode = node.flatMap(node => {
|
|
101
|
+
return node.type === Symbol.for('v-fgt') ? node.children : node
|
|
102
|
+
})
|
|
99
103
|
|
|
100
104
|
return node
|
|
101
105
|
},
|
|
@@ -167,7 +171,7 @@ export default baseMixins.extend({
|
|
|
167
171
|
// Use the contents of the activator slot
|
|
168
172
|
// There's either only one element in it or we
|
|
169
173
|
// don't have a click event to use as a last resort
|
|
170
|
-
const vm = this.activatorNode[0].component
|
|
174
|
+
const vm = this.activatorNode[0].component?.ctx
|
|
171
175
|
if (
|
|
172
176
|
vm &&
|
|
173
177
|
(vm.isActivatable !== undefined || vm.isMenuable !== undefined)
|