@dimailn/vuetify 2.7.2-alpha12 → 2.7.2-alpha14
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 +27 -25
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +1 -1
- package/dist/vuetify.min.js +2 -2
- package/es5/components/VAutocomplete/VAutocomplete.js +9 -6
- package/es5/components/VAutocomplete/VAutocomplete.js.map +1 -1
- package/es5/components/VRadioGroup/VRadioGroup.js +3 -3
- package/es5/components/VRadioGroup/VRadioGroup.js.map +1 -1
- package/es5/components/VSelect/VSelect.js +3 -5
- package/es5/components/VSelect/VSelect.js.map +1 -1
- package/es5/components/VSelect/VSelectList.js +5 -3
- package/es5/components/VSelect/VSelectList.js.map +1 -1
- package/es5/framework.js +1 -1
- package/lib/components/VAutocomplete/VAutocomplete.js +10 -7
- package/lib/components/VAutocomplete/VAutocomplete.js.map +1 -1
- package/lib/components/VRadioGroup/VRadioGroup.js +3 -5
- package/lib/components/VRadioGroup/VRadioGroup.js.map +1 -1
- package/lib/components/VSelect/VSelect.js +1 -3
- package/lib/components/VSelect/VSelect.js.map +1 -1
- package/lib/components/VSelect/VSelectList.js +5 -3
- package/lib/components/VSelect/VSelectList.js.map +1 -1
- package/lib/framework.js +1 -1
- package/package.json +1 -1
- package/src/components/VAutocomplete/VAutocomplete.ts +12 -5
- package/src/components/VRadioGroup/VRadioGroup.ts +6 -7
- package/src/components/VSelect/VSelect.ts +6 -5
- package/src/components/VSelect/VSelectList.ts +3 -3
|
@@ -494,15 +494,16 @@ export default baseMixins.extend({
|
|
|
494
494
|
}
|
|
495
495
|
},
|
|
496
496
|
genListWithSlot (): VNode {
|
|
497
|
-
const slots = ['prepend-item', 'no-data', 'append-item']
|
|
497
|
+
const slots = Object.fromEntries(['prepend-item', 'no-data', 'append-item']
|
|
498
498
|
.filter(slotName => this.$slots[slotName])
|
|
499
|
-
.map(slotName =>
|
|
500
|
-
|
|
501
|
-
|
|
499
|
+
.map(slotName => [
|
|
500
|
+
slotName,
|
|
501
|
+
this.$slots[slotName]
|
|
502
|
+
]
|
|
503
|
+
))
|
|
502
504
|
// Requires destructuring due to Vue
|
|
503
505
|
// modifying the `on` property when passed
|
|
504
506
|
// as a referenced object
|
|
505
|
-
|
|
506
507
|
return h(VSelectList, {
|
|
507
508
|
...this.listData,
|
|
508
509
|
}, {...slots,item: this.$slots.item})
|
|
@@ -226,11 +226,11 @@ export default mixins(Colorable, Themeable).extend({
|
|
|
226
226
|
else children.push(this.genTile({ item, index }))
|
|
227
227
|
}
|
|
228
228
|
|
|
229
|
-
children.length || children.push(this.$slots['no-data'] || this.staticNoDataTile)
|
|
229
|
+
children.length || children.push(this.$slots['no-data']?.() || this.staticNoDataTile)
|
|
230
230
|
|
|
231
|
-
this.$slots['prepend-item'] && children.unshift(this.$slots['prepend-item'])
|
|
231
|
+
this.$slots['prepend-item'] && children.unshift(this.$slots['prepend-item']())
|
|
232
232
|
|
|
233
|
-
this.$slots['append-item'] && children.push(this.$slots['append-item'])
|
|
233
|
+
this.$slots['append-item'] && children.push(this.$slots['append-item']())
|
|
234
234
|
|
|
235
235
|
return h(VList, {
|
|
236
236
|
class: ['v-select-list', this.themeClasses],
|