@dimailn/vuetify 2.7.2-alpha25 → 2.7.2-alpha26
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 +348 -164
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +1 -1
- package/dist/vuetify.min.js +2 -2
- package/es5/components/VAppBar/VAppBarNavIcon.js +5 -1
- package/es5/components/VAppBar/VAppBarNavIcon.js.map +1 -1
- package/es5/components/VBanner/VBanner.js +15 -6
- package/es5/components/VBanner/VBanner.js.map +1 -1
- package/es5/components/VBreadcrumbs/VBreadcrumbs.js +18 -6
- package/es5/components/VBreadcrumbs/VBreadcrumbs.js.map +1 -1
- package/es5/components/VBtn/VBtn.js +5 -1
- package/es5/components/VBtn/VBtn.js.map +1 -1
- package/es5/components/VCarousel/VCarousel.js +10 -4
- package/es5/components/VCarousel/VCarousel.js.map +1 -1
- package/es5/components/VCarousel/VCarouselItem.js +7 -3
- package/es5/components/VCarousel/VCarouselItem.js.map +1 -1
- package/es5/components/VCheckbox/VCheckbox.js +5 -1
- package/es5/components/VCheckbox/VCheckbox.js.map +1 -1
- package/es5/components/VDataIterator/VDataFooter.js +5 -1
- package/es5/components/VDataIterator/VDataFooter.js.map +1 -1
- package/es5/components/VDataTable/VDataTable.js +21 -7
- package/es5/components/VDataTable/VDataTable.js.map +1 -1
- package/es5/components/VDataTable/VDataTableHeader.js +2 -6
- package/es5/components/VDataTable/VDataTableHeader.js.map +1 -1
- package/es5/components/VDataTable/VEditDialog.js +6 -2
- package/es5/components/VDataTable/VEditDialog.js.map +1 -1
- package/es5/components/VDataTable/mixins/header.js +5 -1
- package/es5/components/VDataTable/mixins/header.js.map +1 -1
- package/es5/components/VDatePicker/VDatePickerHeader.js +8 -2
- package/es5/components/VDatePicker/VDatePickerHeader.js.map +1 -1
- package/es5/components/VDatePicker/VDatePickerTitle.js +13 -5
- package/es5/components/VDatePicker/VDatePickerTitle.js.map +1 -1
- package/es5/components/VDatePicker/mixins/date-picker-table.js +5 -3
- package/es5/components/VDatePicker/mixins/date-picker-table.js.map +1 -1
- package/es5/components/VDialog/VDialog.js +16 -12
- package/es5/components/VDialog/VDialog.js.map +1 -1
- package/es5/components/VExpansionPanel/VExpansionPanelContent.js +11 -9
- package/es5/components/VExpansionPanel/VExpansionPanelContent.js.map +1 -1
- package/es5/components/VExpansionPanel/VExpansionPanelHeader.js +15 -9
- package/es5/components/VExpansionPanel/VExpansionPanelHeader.js.map +1 -1
- package/es5/components/VImg/VImg.js +6 -2
- package/es5/components/VImg/VImg.js.map +1 -1
- package/es5/components/VInput/VInput.js +10 -4
- package/es5/components/VInput/VInput.js.map +1 -1
- package/es5/components/VList/VListGroup.js +27 -9
- package/es5/components/VList/VListGroup.js.map +1 -1
- package/es5/components/VList/VListItem.js +5 -1
- package/es5/components/VList/VListItem.js.map +1 -1
- package/es5/components/VMessages/VMessages.js +5 -1
- package/es5/components/VMessages/VMessages.js.map +1 -1
- package/es5/components/VOverflowBtn/VOverflowBtn.js +3 -1
- package/es5/components/VOverflowBtn/VOverflowBtn.js.map +1 -1
- package/es5/components/VPagination/VPagination.js +3 -1
- package/es5/components/VPagination/VPagination.js.map +1 -1
- package/es5/components/VPicker/VPicker.js +5 -1
- package/es5/components/VPicker/VPicker.js.map +1 -1
- package/es5/components/VRadioGroup/VRadio.js +10 -2
- package/es5/components/VRadioGroup/VRadio.js.map +1 -1
- package/es5/components/VSelect/VSelect.js +6 -2
- package/es5/components/VSelect/VSelect.js.map +1 -1
- package/es5/components/VSelect/VSelectList.js +17 -9
- package/es5/components/VSelect/VSelectList.js.map +1 -1
- package/es5/components/VSlideGroup/VSlideGroup.js +26 -18
- package/es5/components/VSlideGroup/VSlideGroup.js.map +1 -1
- package/es5/components/VSlider/VSlider.js +16 -12
- package/es5/components/VSlider/VSlider.js.map +1 -1
- package/es5/components/VStepper/VStepperContent.js +3 -1
- package/es5/components/VStepper/VStepperContent.js.map +1 -1
- package/es5/components/VSwitch/VSwitch.js +10 -6
- package/es5/components/VSwitch/VSwitch.js.map +1 -1
- package/es5/components/VTabs/VTabs.js +6 -2
- package/es5/components/VTabs/VTabs.js.map +1 -1
- package/es5/components/VTextField/VTextField.js +7 -3
- package/es5/components/VTextField/VTextField.js.map +1 -1
- package/es5/components/VTooltip/VTooltip.js +3 -1
- package/es5/components/VTooltip/VTooltip.js.map +1 -1
- package/es5/components/VTreeview/VTreeviewNode.js +11 -3
- package/es5/components/VTreeview/VTreeviewNode.js.map +1 -1
- package/es5/components/transitions/createTransition.js +8 -2
- package/es5/components/transitions/createTransition.js.map +1 -1
- package/es5/framework.js +1 -1
- package/es5/mixins/picker/index.js +13 -3
- package/es5/mixins/picker/index.js.map +1 -1
- package/lib/components/VAppBar/VAppBarNavIcon.js +1 -1
- package/lib/components/VAppBar/VAppBarNavIcon.js.map +1 -1
- package/lib/components/VBanner/VBanner.js +3 -3
- package/lib/components/VBanner/VBanner.js.map +1 -1
- package/lib/components/VBreadcrumbs/VBreadcrumbs.js +2 -2
- package/lib/components/VBreadcrumbs/VBreadcrumbs.js.map +1 -1
- package/lib/components/VBtn/VBtn.js +3 -1
- package/lib/components/VBtn/VBtn.js.map +1 -1
- package/lib/components/VCarousel/VCarousel.js +3 -3
- package/lib/components/VCarousel/VCarousel.js.map +1 -1
- package/lib/components/VCarousel/VCarouselItem.js +1 -1
- package/lib/components/VCarousel/VCarouselItem.js.map +1 -1
- package/lib/components/VCheckbox/VCheckbox.js +1 -1
- package/lib/components/VCheckbox/VCheckbox.js.map +1 -1
- package/lib/components/VDataIterator/VDataFooter.js +1 -1
- package/lib/components/VDataIterator/VDataFooter.js.map +1 -1
- package/lib/components/VDataTable/VDataTable.js +5 -5
- package/lib/components/VDataTable/VDataTable.js.map +1 -1
- package/lib/components/VDataTable/VDataTableHeader.js +3 -6
- package/lib/components/VDataTable/VDataTableHeader.js.map +1 -1
- package/lib/components/VDataTable/VEditDialog.js +2 -2
- package/lib/components/VDataTable/VEditDialog.js.map +1 -1
- package/lib/components/VDataTable/mixins/header.js +1 -1
- package/lib/components/VDataTable/mixins/header.js.map +1 -1
- package/lib/components/VDatePicker/VDatePickerHeader.js +2 -2
- package/lib/components/VDatePicker/VDatePickerHeader.js.map +1 -1
- package/lib/components/VDatePicker/VDatePickerTitle.js +2 -2
- package/lib/components/VDatePicker/VDatePickerTitle.js.map +1 -1
- package/lib/components/VDatePicker/mixins/date-picker-table.js +1 -1
- package/lib/components/VDatePicker/mixins/date-picker-table.js.map +1 -1
- package/lib/components/VDialog/VDialog.js +2 -2
- package/lib/components/VDialog/VDialog.js.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelContent.js +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelContent.js.map +1 -1
- package/lib/components/VExpansionPanel/VExpansionPanelHeader.js +2 -2
- package/lib/components/VExpansionPanel/VExpansionPanelHeader.js.map +1 -1
- package/lib/components/VImg/VImg.js +2 -2
- package/lib/components/VImg/VImg.js.map +1 -1
- package/lib/components/VInput/VInput.js +2 -2
- package/lib/components/VInput/VInput.js.map +1 -1
- package/lib/components/VList/VListGroup.js +5 -5
- package/lib/components/VList/VListGroup.js.map +1 -1
- package/lib/components/VList/VListItem.js +3 -1
- package/lib/components/VList/VListItem.js.map +1 -1
- package/lib/components/VMessages/VMessages.js +1 -1
- package/lib/components/VMessages/VMessages.js.map +1 -1
- package/lib/components/VOverflowBtn/VOverflowBtn.js +1 -1
- package/lib/components/VOverflowBtn/VOverflowBtn.js.map +1 -1
- package/lib/components/VPagination/VPagination.js +1 -1
- package/lib/components/VPagination/VPagination.js.map +1 -1
- package/lib/components/VPicker/VPicker.js +1 -1
- package/lib/components/VPicker/VPicker.js.map +1 -1
- package/lib/components/VRadioGroup/VRadio.js +2 -2
- package/lib/components/VRadioGroup/VRadio.js.map +1 -1
- package/lib/components/VSelect/VSelect.js +2 -2
- package/lib/components/VSelect/VSelect.js.map +1 -1
- package/lib/components/VSelect/VSelectList.js +2 -2
- package/lib/components/VSelect/VSelectList.js.map +1 -1
- package/lib/components/VSlideGroup/VSlideGroup.js +3 -3
- package/lib/components/VSlideGroup/VSlideGroup.js.map +1 -1
- package/lib/components/VSlider/VSlider.js +1 -1
- package/lib/components/VSlider/VSlider.js.map +1 -1
- package/lib/components/VStepper/VStepperContent.js +1 -1
- package/lib/components/VStepper/VStepperContent.js.map +1 -1
- package/lib/components/VSwitch/VSwitch.js +1 -1
- package/lib/components/VSwitch/VSwitch.js.map +1 -1
- package/lib/components/VTabs/VTabs.js +2 -2
- package/lib/components/VTabs/VTabs.js.map +1 -1
- package/lib/components/VTextField/VTextField.js +1 -1
- package/lib/components/VTextField/VTextField.js.map +1 -1
- package/lib/components/VTooltip/VTooltip.js +1 -1
- package/lib/components/VTooltip/VTooltip.js.map +1 -1
- package/lib/components/VTreeview/VTreeviewNode.js +3 -3
- package/lib/components/VTreeview/VTreeviewNode.js.map +1 -1
- package/lib/components/transitions/createTransition.js +2 -2
- package/lib/components/transitions/createTransition.js.map +1 -1
- package/lib/framework.js +1 -1
- package/lib/mixins/picker/index.js +5 -3
- package/lib/mixins/picker/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/VAppBar/VAppBarNavIcon.ts +1 -1
- package/src/components/VBanner/VBanner.ts +3 -3
- package/src/components/VBreadcrumbs/VBreadcrumbs.ts +2 -2
- package/src/components/VBtn/VBtn.ts +7 -1
- package/src/components/VCarousel/VCarousel.ts +3 -3
- package/src/components/VCarousel/VCarouselItem.ts +1 -1
- package/src/components/VCheckbox/VCheckbox.ts +1 -1
- package/src/components/VDataIterator/VDataFooter.ts +1 -1
- package/src/components/VDataTable/VDataTable.ts +5 -5
- package/src/components/VDataTable/VDataTableHeader.ts +2 -4
- package/src/components/VDataTable/VEditDialog.ts +2 -2
- package/src/components/VDataTable/mixins/header.ts +1 -1
- package/src/components/VDatePicker/VDatePickerHeader.ts +3 -3
- package/src/components/VDatePicker/VDatePickerTitle.ts +2 -2
- package/src/components/VDatePicker/mixins/date-picker-table.ts +1 -1
- package/src/components/VDialog/VDialog.ts +2 -2
- package/src/components/VExpansionPanel/VExpansionPanelContent.ts +1 -1
- package/src/components/VExpansionPanel/VExpansionPanelHeader.ts +2 -2
- package/src/components/VImg/VImg.ts +2 -2
- package/src/components/VInput/VInput.ts +2 -2
- package/src/components/VList/VListGroup.ts +5 -5
- package/src/components/VList/VListItem.ts +7 -4
- package/src/components/VMessages/VMessages.ts +1 -1
- package/src/components/VOverflowBtn/VOverflowBtn.ts +1 -1
- package/src/components/VPagination/VPagination.ts +1 -1
- package/src/components/VPicker/VPicker.ts +1 -1
- package/src/components/VRadioGroup/VRadio.ts +2 -2
- package/src/components/VSelect/VSelect.ts +2 -2
- package/src/components/VSelect/VSelectList.ts +3 -3
- package/src/components/VSlideGroup/VSlideGroup.ts +3 -3
- package/src/components/VSlider/VSlider.ts +1 -1
- package/src/components/VStepper/VStepperContent.ts +1 -1
- package/src/components/VSwitch/VSwitch.ts +1 -1
- package/src/components/VTabs/VTabs.ts +2 -2
- package/src/components/VTextField/VTextField.ts +1 -1
- package/src/components/VTooltip/VTooltip.ts +1 -1
- package/src/components/VTreeview/VTreeviewNode.ts +3 -3
- package/src/components/transitions/createTransition.ts +2 -2
- package/src/mixins/picker/index.ts +4 -4
|
@@ -404,7 +404,7 @@ export default mixins(
|
|
|
404
404
|
icon: true,
|
|
405
405
|
small: true,
|
|
406
406
|
onClick: toggleFn
|
|
407
|
-
}, [h(VIcon, [isOpen ? '$minus' : '$plus'])])
|
|
407
|
+
}, () => [h(VIcon, {}, () => [isOpen ? '$minus' : '$plus'])])
|
|
408
408
|
|
|
409
409
|
const remove = h(VBtn, {
|
|
410
410
|
class: 'ma-0',
|
|
@@ -415,7 +415,7 @@ export default mixins(
|
|
|
415
415
|
on: {
|
|
416
416
|
click: removeFn,
|
|
417
417
|
},
|
|
418
|
-
}, [h(VIcon, ['$close'])])
|
|
418
|
+
}, () => [h(VIcon, {}, () => ['$close'])])
|
|
419
419
|
|
|
420
420
|
const column = h('td', {
|
|
421
421
|
class: 'text-start',
|
|
@@ -528,7 +528,7 @@ export default mixins(
|
|
|
528
528
|
e.stopPropagation()
|
|
529
529
|
data.expand(!data.isExpanded)
|
|
530
530
|
}
|
|
531
|
-
}, [this.expandIcon])
|
|
531
|
+
}, () => [this.expandIcon])
|
|
532
532
|
}
|
|
533
533
|
|
|
534
534
|
return h(this.isMobile ? MobileRow : Row, {
|
|
@@ -634,11 +634,11 @@ export default mixins(
|
|
|
634
634
|
this.genBody(props),
|
|
635
635
|
this.genFoot(props),
|
|
636
636
|
],
|
|
637
|
-
top: getSlot(this, 'top', {
|
|
637
|
+
top: () => getSlot(this, 'top', {
|
|
638
638
|
...props,
|
|
639
639
|
isMobile: this.isMobile,
|
|
640
640
|
}, true),
|
|
641
|
-
bottom: this.genFooters(props)
|
|
641
|
+
bottom: () => this.genFooters(props)
|
|
642
642
|
})
|
|
643
643
|
}
|
|
644
644
|
},
|
|
@@ -33,12 +33,10 @@ export default defineComponent({
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
// dedupeModelListeners(data)
|
|
36
|
-
const children = rebuildSlots(this.$slots, h)
|
|
37
|
-
|
|
38
36
|
if (props.mobile) {
|
|
39
|
-
return h(VDataTableHeaderMobile, data,
|
|
37
|
+
return h(VDataTableHeaderMobile, data, this.$slots)
|
|
40
38
|
} else {
|
|
41
|
-
return h(VDataTableHeaderDesktop, data,
|
|
39
|
+
return h(VDataTableHeaderDesktop, data, this.$slots)
|
|
42
40
|
}
|
|
43
41
|
},
|
|
44
42
|
})
|
|
@@ -69,7 +69,7 @@ export default mixins(Returnable, Themeable).extend({
|
|
|
69
69
|
color: 'primary',
|
|
70
70
|
light: true,
|
|
71
71
|
onClick: fn,
|
|
72
|
-
}, text)
|
|
72
|
+
}, () => text)
|
|
73
73
|
},
|
|
74
74
|
genActions (): VNode {
|
|
75
75
|
return h('div', {
|
|
@@ -123,7 +123,7 @@ export default mixins(Returnable, Themeable).extend({
|
|
|
123
123
|
])
|
|
124
124
|
},
|
|
125
125
|
},
|
|
126
|
-
}, [
|
|
126
|
+
}, () => [
|
|
127
127
|
this.genContent(),
|
|
128
128
|
this.large ? this.genActions() : null,
|
|
129
129
|
])
|
|
@@ -90,8 +90,8 @@ export default mixins(
|
|
|
90
90
|
e.stopPropagation()
|
|
91
91
|
this.$emit('input', this.calculateChange(change))
|
|
92
92
|
}
|
|
93
|
-
}, [
|
|
94
|
-
h(VIcon, ((change < 0) === !this.$vuetify.rtl) ? this.prevIcon : this.nextIcon),
|
|
93
|
+
}, () => [
|
|
94
|
+
h(VIcon, {}, () => (((change < 0) === !this.$vuetify.rtl) ? this.prevIcon : this.nextIcon)),
|
|
95
95
|
])
|
|
96
96
|
},
|
|
97
97
|
calculateChange (sign: number) {
|
|
@@ -114,7 +114,7 @@ export default mixins(
|
|
|
114
114
|
|
|
115
115
|
const transition = h(Transition, {
|
|
116
116
|
name: (this.isReversing === !this.$vuetify.rtl) ? 'tab-reverse-transition' : 'tab-transition',
|
|
117
|
-
}, [header])
|
|
117
|
+
}, () => [header])
|
|
118
118
|
|
|
119
119
|
return h('div', {
|
|
120
120
|
class: ['v-date-picker-header__value', {
|
|
@@ -59,7 +59,7 @@ export default mixins(
|
|
|
59
59
|
genYearIcon (): VNode {
|
|
60
60
|
return h(VIcon, {
|
|
61
61
|
dark: true,
|
|
62
|
-
}, this.yearIcon)
|
|
62
|
+
}, () => this.yearIcon)
|
|
63
63
|
},
|
|
64
64
|
getYearBtn (): VNode {
|
|
65
65
|
return this.genPickerButton('selectingYear', true, [
|
|
@@ -70,7 +70,7 @@ export default mixins(
|
|
|
70
70
|
genTitleText (): VNode {
|
|
71
71
|
return h(Transition, {
|
|
72
72
|
name: this.computedTransition,
|
|
73
|
-
}, [
|
|
73
|
+
}, () => [
|
|
74
74
|
h('div', {
|
|
75
75
|
innerHTML: this.date || ' ',
|
|
76
76
|
key: this.value
|
|
@@ -213,7 +213,7 @@ export default mixins(
|
|
|
213
213
|
genTable (staticClass: string, children: VNodeChildren, calculateTableDate: CalculateTableDateFunction) {
|
|
214
214
|
const transition = h(Transition, {
|
|
215
215
|
name: this.computedTransition,
|
|
216
|
-
}, [h('table', { key: this.tableDate }, children)])
|
|
216
|
+
}, () => [h('table', { key: this.tableDate }, children)])
|
|
217
217
|
|
|
218
218
|
const touchDirective = [
|
|
219
219
|
Touch,
|
|
@@ -244,7 +244,7 @@ export default baseMixins.extend({
|
|
|
244
244
|
root: true,
|
|
245
245
|
light: this.light,
|
|
246
246
|
dark: this.dark
|
|
247
|
-
}, [
|
|
247
|
+
}, () => [
|
|
248
248
|
h('div', {
|
|
249
249
|
class: this.contentClasses,
|
|
250
250
|
role: 'dialog',
|
|
@@ -266,7 +266,7 @@ export default baseMixins.extend({
|
|
|
266
266
|
name: this.transition,
|
|
267
267
|
origin: this.origin,
|
|
268
268
|
appear: true
|
|
269
|
-
}, [content])
|
|
269
|
+
}, () => [content])
|
|
270
270
|
},
|
|
271
271
|
genInnerContent () {
|
|
272
272
|
const directives = [
|
|
@@ -60,7 +60,7 @@ export default baseMixins.extend({
|
|
|
60
60
|
},
|
|
61
61
|
|
|
62
62
|
render (): VNode {
|
|
63
|
-
return h(VExpandTransition, this.showLazyContent(() => [
|
|
63
|
+
return h(VExpandTransition, {}, () => this.showLazyContent(() => [
|
|
64
64
|
withDirectives(h('div', this.setBackgroundColor(this.color, {
|
|
65
65
|
class: 'v-expansion-panel-content'
|
|
66
66
|
}), [
|
|
@@ -83,9 +83,9 @@ export default baseMixins.extend({
|
|
|
83
83
|
},
|
|
84
84
|
genIcon () {
|
|
85
85
|
const icon = getSlot(this, 'actions', { open: this.isActive }) ||
|
|
86
|
-
[h(VIcon, this.expandIcon)]
|
|
86
|
+
[h(VIcon, {}, () => this.expandIcon)]
|
|
87
87
|
|
|
88
|
-
return h(VFadeTransition, [
|
|
88
|
+
return h(VFadeTransition, {}, () => [
|
|
89
89
|
withDirectives(h('div', {
|
|
90
90
|
class: ['v-expansion-panel-header__icon', {
|
|
91
91
|
'v-expansion-panel-header__icon--disable-rotate': this.disableIconRotate,
|
|
@@ -131,7 +131,7 @@ export default mixins(
|
|
|
131
131
|
return h(Transition, {
|
|
132
132
|
name: this.transition,
|
|
133
133
|
mode: 'in-out',
|
|
134
|
-
}, [image])
|
|
134
|
+
}, () => [image])
|
|
135
135
|
},
|
|
136
136
|
},
|
|
137
137
|
|
|
@@ -265,7 +265,7 @@ export default mixins(
|
|
|
265
265
|
return h(Transition, {
|
|
266
266
|
appear: true,
|
|
267
267
|
name: this.transition,
|
|
268
|
-
}, placeholder)
|
|
268
|
+
}, () => placeholder)
|
|
269
269
|
}
|
|
270
270
|
},
|
|
271
271
|
},
|
|
@@ -228,7 +228,7 @@ export default baseMixins.extend({
|
|
|
228
228
|
h(
|
|
229
229
|
VIcon,
|
|
230
230
|
data,
|
|
231
|
-
icon
|
|
231
|
+
() => icon
|
|
232
232
|
),
|
|
233
233
|
])
|
|
234
234
|
},
|
|
@@ -252,7 +252,7 @@ export default baseMixins.extend({
|
|
|
252
252
|
focused: this.hasState,
|
|
253
253
|
for: this.computedId,
|
|
254
254
|
light: this.light,
|
|
255
|
-
}, getSlot(this, 'label') || this.label)
|
|
255
|
+
}, () => getSlot(this, 'label') || this.label)
|
|
256
256
|
},
|
|
257
257
|
genMessages () {
|
|
258
258
|
if (!this.showDetails) return null
|
|
@@ -122,7 +122,7 @@ export default baseMixins.extend({
|
|
|
122
122
|
this.$nextTick(() => (this.isActive = !this.isActive))
|
|
123
123
|
},
|
|
124
124
|
genIcon (icon: string | false): VNode {
|
|
125
|
-
return h(VIcon, icon)
|
|
125
|
+
return h(VIcon, {}, () => icon)
|
|
126
126
|
},
|
|
127
127
|
genAppendIcon (): VNode | null {
|
|
128
128
|
const icon = !this.subGroup ? this.appendIcon : false
|
|
@@ -132,7 +132,7 @@ export default baseMixins.extend({
|
|
|
132
132
|
|
|
133
133
|
return h(VListItemIcon, {
|
|
134
134
|
class: 'v-list-group__header__append-icon',
|
|
135
|
-
}, [
|
|
135
|
+
}, () => [
|
|
136
136
|
slot || this.genIcon(icon),
|
|
137
137
|
])
|
|
138
138
|
},
|
|
@@ -147,7 +147,7 @@ export default baseMixins.extend({
|
|
|
147
147
|
inputValue: this.isActive,
|
|
148
148
|
...this.listeners$,
|
|
149
149
|
onClick: this.click
|
|
150
|
-
}, [
|
|
150
|
+
}, () => [
|
|
151
151
|
this.genPrependIcon(),
|
|
152
152
|
getSlot(this, 'activator'),
|
|
153
153
|
this.genAppendIcon(),
|
|
@@ -178,7 +178,7 @@ export default baseMixins.extend({
|
|
|
178
178
|
|
|
179
179
|
return h(VListItemIcon, {
|
|
180
180
|
class: 'v-list-group__header__prepend-icon',
|
|
181
|
-
}, [
|
|
181
|
+
}, () => [
|
|
182
182
|
slot || this.genIcon(icon),
|
|
183
183
|
])
|
|
184
184
|
},
|
|
@@ -211,7 +211,7 @@ export default baseMixins.extend({
|
|
|
211
211
|
class: ['v-list-group', this.classes]
|
|
212
212
|
}), [
|
|
213
213
|
this.genHeader(),
|
|
214
|
-
h(VExpandTransition, this.genItems()),
|
|
214
|
+
h(VExpandTransition, {}, () => this.genItems()),
|
|
215
215
|
])
|
|
216
216
|
},
|
|
217
217
|
})
|
|
@@ -192,9 +192,12 @@ export default baseMixins.extend({
|
|
|
192
192
|
toggle: this.toggle,
|
|
193
193
|
})
|
|
194
194
|
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
195
|
+
const nodeData = this.isActive ? this.setTextColor(this.color, data) : data
|
|
196
|
+
|
|
197
|
+
const node = typeof tag === 'string'
|
|
198
|
+
? h(tag, nodeData, children)
|
|
199
|
+
: h(tag, nodeData, () => children)
|
|
200
|
+
|
|
201
|
+
return withDirectives(node, directives)
|
|
199
202
|
},
|
|
200
203
|
})
|
|
@@ -30,7 +30,7 @@ export default mixins(Colorable, Themeable).extend({
|
|
|
30
30
|
class: 'v-messages__wrapper',
|
|
31
31
|
name: 'message-transition',
|
|
32
32
|
tag: 'div',
|
|
33
|
-
}, this.value.map(this.genMessage))
|
|
33
|
+
}, () => this.value.map(this.genMessage))
|
|
34
34
|
},
|
|
35
35
|
genMessage (message: string, key: number) {
|
|
36
36
|
return h('div', {
|
|
@@ -139,7 +139,7 @@ export default baseMixins.extend({
|
|
|
139
139
|
for: this.computedId,
|
|
140
140
|
color: this.validationState,
|
|
141
141
|
focused: this.hasState,
|
|
142
|
-
}, getSlot(this, 'label') || this.label)
|
|
142
|
+
}, () => getSlot(this, 'label') || this.label)
|
|
143
143
|
},
|
|
144
144
|
genRadio () {
|
|
145
145
|
const { title, ...radioAttrs } = this.attrs$
|
|
@@ -149,7 +149,7 @@ export default baseMixins.extend({
|
|
|
149
149
|
}, [
|
|
150
150
|
h(VIcon, this.setTextColor(this.validationState, {
|
|
151
151
|
dense: this.radioGroup && this.radioGroup.dense,
|
|
152
|
-
}), this.computedIcon),
|
|
152
|
+
}), () => this.computedIcon),
|
|
153
153
|
this.genInput({
|
|
154
154
|
name: this.computedName,
|
|
155
155
|
value: this.value,
|
|
@@ -379,7 +379,7 @@ export default baseMixins.extend({
|
|
|
379
379
|
},
|
|
380
380
|
'onClick:close': () => this.onChipInput(item),
|
|
381
381
|
key: JSON.stringify(this.getValue(item)),
|
|
382
|
-
}, this.getText(item))
|
|
382
|
+
}, () => this.getText(item))
|
|
383
383
|
},
|
|
384
384
|
genCommaSelection (item: object, index: number, last: boolean) {
|
|
385
385
|
const color = index === this.selectedIndex && this.computedColor
|
|
@@ -535,7 +535,7 @@ export default baseMixins.extend({
|
|
|
535
535
|
},
|
|
536
536
|
onScroll: this.onScroll,
|
|
537
537
|
ref: 'menu',
|
|
538
|
-
}, [this.genList()])
|
|
538
|
+
}, () => [this.genList()])
|
|
539
539
|
},
|
|
540
540
|
genSelections (): VNode {
|
|
541
541
|
let length = this.selectedItems.length
|
|
@@ -87,7 +87,7 @@ export default mixins(Colorable, Themeable).extend({
|
|
|
87
87
|
|
|
88
88
|
methods: {
|
|
89
89
|
genAction (item: object, inputValue: any): VNode {
|
|
90
|
-
return h(VListItemAction, [
|
|
90
|
+
return h(VListItemAction, {}, () => [
|
|
91
91
|
h(VSimpleCheckbox, {
|
|
92
92
|
color: this.color,
|
|
93
93
|
modelValue: inputValue,
|
|
@@ -186,8 +186,8 @@ export default mixins(Colorable, Themeable).extend({
|
|
|
186
186
|
: scopedSlot
|
|
187
187
|
},
|
|
188
188
|
genTileContent (item: any, index = 0): VNode {
|
|
189
|
-
return h(VListItemContent, [
|
|
190
|
-
h(VListItemTitle, [
|
|
189
|
+
return h(VListItemContent, {}, () => [
|
|
190
|
+
h(VListItemTitle, {}, () => [
|
|
191
191
|
this.genFilteredText(this.getText(item)),
|
|
192
192
|
]),
|
|
193
193
|
])
|
|
@@ -323,9 +323,9 @@ export const BaseSlideGroup = mixins<options &
|
|
|
323
323
|
!hasAffix
|
|
324
324
|
) return null
|
|
325
325
|
|
|
326
|
-
return h(VIcon, {
|
|
326
|
+
return h(VIcon, () => ({
|
|
327
327
|
disabled: !hasAffix,
|
|
328
|
-
}, (this as any)[`${icon}Icon`])
|
|
328
|
+
}, (this as any)[`${icon}Icon`]))
|
|
329
329
|
},
|
|
330
330
|
// Always generate prev for scrollable hint
|
|
331
331
|
genPrev (): VNode | null {
|
|
@@ -342,7 +342,7 @@ export const BaseSlideGroup = mixins<options &
|
|
|
342
342
|
}, [slot])
|
|
343
343
|
},
|
|
344
344
|
genTransition (location: 'prev' | 'next') {
|
|
345
|
-
return h(VFadeTransition, [this.genIcon(location)])
|
|
345
|
+
return h(VFadeTransition, () => [this.genIcon(location)])
|
|
346
346
|
},
|
|
347
347
|
genWrapper (): VNode {
|
|
348
348
|
return withDirectives(h('div', {
|
|
@@ -215,7 +215,7 @@ export default baseMixins.extend({
|
|
|
215
215
|
this.setTextColor(this.computedColor, data)
|
|
216
216
|
this.setBackgroundColor(this.backgroundColor, data)
|
|
217
217
|
|
|
218
|
-
return h(VTabsBar, data, [
|
|
218
|
+
return h(VTabsBar, data, () => [
|
|
219
219
|
this.genSlider(slider),
|
|
220
220
|
items,
|
|
221
221
|
])
|
|
@@ -234,7 +234,7 @@ export default baseMixins.extend({
|
|
|
234
234
|
'onUpdate:modelValue': (val: any) => {
|
|
235
235
|
this.internalValue = val
|
|
236
236
|
}
|
|
237
|
-
}, item)
|
|
237
|
+
}, () => item)
|
|
238
238
|
},
|
|
239
239
|
genSlider (slider: VNode | null) {
|
|
240
240
|
if (this.hideSlider) return null
|
|
@@ -368,7 +368,7 @@ export default baseMixins.extend({
|
|
|
368
368
|
value: this.labelValue
|
|
369
369
|
}
|
|
370
370
|
|
|
371
|
-
return h(VLabel, data, getSlot(this, 'label') || this.label)
|
|
371
|
+
return h(VLabel, data, () => getSlot(this, 'label') || this.label)
|
|
372
372
|
},
|
|
373
373
|
genLegend () {
|
|
374
374
|
const width = !this.singleLine && (this.labelValue || this.isDirty) ? this.labelWidth : 0
|
|
@@ -234,7 +234,7 @@ const VTreeviewNode = baseMixins.extend({
|
|
|
234
234
|
|
|
235
235
|
this.checkChildren().then(() => this.open())
|
|
236
236
|
}
|
|
237
|
-
}, [this.isLoading ? this.loadingIcon : this.expandIcon])
|
|
237
|
+
}, () => [this.isLoading ? this.loadingIcon : this.expandIcon])
|
|
238
238
|
},
|
|
239
239
|
genCheckbox () {
|
|
240
240
|
return h(VIcon, {
|
|
@@ -257,7 +257,7 @@ const VTreeviewNode = baseMixins.extend({
|
|
|
257
257
|
})
|
|
258
258
|
})
|
|
259
259
|
},
|
|
260
|
-
}, [this.computedIcon])
|
|
260
|
+
}, () => [this.computedIcon])
|
|
261
261
|
},
|
|
262
262
|
genLevel (level: number) {
|
|
263
263
|
return createRange(level).map(() => h('div', {
|
|
@@ -331,7 +331,7 @@ const VTreeviewNode = baseMixins.extend({
|
|
|
331
331
|
}, children)
|
|
332
332
|
},
|
|
333
333
|
genTransition () {
|
|
334
|
-
return h(VExpandTransition, [this.genChildrenWrapper()])
|
|
334
|
+
return h(VExpandTransition, {}, () => [this.genChildrenWrapper()])
|
|
335
335
|
},
|
|
336
336
|
},
|
|
337
337
|
|
|
@@ -88,7 +88,7 @@ export function createSimpleTransition (
|
|
|
88
88
|
el.style.setProperty('display', 'none', 'important')
|
|
89
89
|
})
|
|
90
90
|
}
|
|
91
|
-
return h(tag, mergeData(this.$attrs, data), this.$slots.default())
|
|
91
|
+
return h(tag, mergeData(this.$attrs, data), () => this.$slots.default())
|
|
92
92
|
},
|
|
93
93
|
}
|
|
94
94
|
}
|
|
@@ -117,7 +117,7 @@ export function createJavascriptTransition (
|
|
|
117
117
|
name,
|
|
118
118
|
...functions,
|
|
119
119
|
}),
|
|
120
|
-
this.$slots.default()
|
|
120
|
+
() => this.$slots.default()
|
|
121
121
|
)
|
|
122
122
|
},
|
|
123
123
|
}
|
|
@@ -47,17 +47,17 @@ export default mixins(
|
|
|
47
47
|
}) : getSlot(this)
|
|
48
48
|
},
|
|
49
49
|
genPicker (staticClass: string) {
|
|
50
|
-
const children = {}
|
|
50
|
+
const children: Record<string, any> = {}
|
|
51
51
|
|
|
52
52
|
if (!this.noTitle) {
|
|
53
53
|
const title = this.genPickerTitle()
|
|
54
|
-
title && (children.title = title)
|
|
54
|
+
title && (children.title = () => [title])
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
const body = this.genPickerBody()
|
|
58
|
-
body && (children.default = body)
|
|
58
|
+
body && (children.default = () => [body])
|
|
59
59
|
|
|
60
|
-
children.actions = (
|
|
60
|
+
children.actions = () => [this.genPickerActionsSlot()]
|
|
61
61
|
|
|
62
62
|
return h(VPicker, {
|
|
63
63
|
class: staticClass,
|