@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.
@@ -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 => h('template', {
500
- slot: slotName,
501
- }, this.$slots[slotName]))
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],