@dimailn/vuetify 2.7.2-alpha24 → 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 +583 -388
- 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 +19 -15
- 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/VColorPicker/VColorPicker.js +18 -31
- package/es5/components/VColorPicker/VColorPicker.js.map +1 -1
- package/es5/components/VColorPicker/VColorPickerCanvas.js +45 -46
- package/es5/components/VColorPicker/VColorPickerCanvas.js.map +1 -1
- package/es5/components/VColorPicker/VColorPickerEdit.js +27 -26
- package/es5/components/VColorPicker/VColorPickerEdit.js.map +1 -1
- package/es5/components/VColorPicker/VColorPickerPreview.js +41 -30
- package/es5/components/VColorPicker/VColorPickerPreview.js.map +1 -1
- package/es5/components/VColorPicker/VColorPickerSwatches.js +13 -10
- package/es5/components/VColorPicker/VColorPickerSwatches.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 +28 -18
- 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 +28 -8
- 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 +36 -27
- 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 +6 -8
- 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 +20 -19
- 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/VColorPicker/VColorPicker.js +29 -37
- package/lib/components/VColorPicker/VColorPicker.js.map +1 -1
- package/lib/components/VColorPicker/VColorPickerCanvas.js +41 -43
- package/lib/components/VColorPicker/VColorPickerCanvas.js.map +1 -1
- package/lib/components/VColorPicker/VColorPickerEdit.js +25 -31
- package/lib/components/VColorPicker/VColorPickerEdit.js.map +1 -1
- package/lib/components/VColorPicker/VColorPickerPreview.js +45 -32
- package/lib/components/VColorPicker/VColorPickerPreview.js.map +1 -1
- package/lib/components/VColorPicker/VColorPickerSwatches.js +15 -9
- package/lib/components/VColorPicker/VColorPickerSwatches.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 +8 -9
- 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 +14 -6
- 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 +26 -21
- 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 +7 -10
- 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 +24 -16
- package/src/components/VBtn/__tests__/VBtn.spec.ts +257 -242
- package/src/components/VBtn/__tests__/__snapshots__/VBtn.spec.ts.snap +13 -73
- 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/VColorPicker/VColorPicker.ts +32 -35
- package/src/components/VColorPicker/VColorPickerCanvas.ts +44 -37
- package/src/components/VColorPicker/VColorPickerEdit.ts +37 -35
- package/src/components/VColorPicker/VColorPickerPreview.ts +48 -28
- package/src/components/VColorPicker/VColorPickerSwatches.ts +23 -12
- package/src/components/VColorPicker/__tests__/VColorPicker.spec.ts +47 -47
- package/src/components/VColorPicker/__tests__/VColorPickerCanvas.spec.ts +15 -13
- package/src/components/VColorPicker/__tests__/VColorPickerEdit.spec.ts +52 -50
- package/src/components/VColorPicker/__tests__/VColorPickerPreview.spec.ts +101 -30
- package/src/components/VColorPicker/__tests__/__snapshots__/VColorPicker.spec.ts.snap +200 -157
- package/src/components/VColorPicker/__tests__/__snapshots__/VColorPickerEdit.spec.ts.snap +28 -11
- package/src/components/VDataIterator/VDataFooter.ts +1 -1
- package/src/components/VDataTable/VDataTable.ts +8 -8
- 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 +10 -4
- package/src/components/VInput/__tests__/VInput.spec.ts +170 -234
- package/src/components/VInput/__tests__/__snapshots__/VInput.spec.ts.snap +50 -101
- 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/VSkeletonLoader/__tests__/VSkeletonLoader.spec.ts +22 -15
- package/src/components/VSkeletonLoader/__tests__/__snapshots__/VSkeletonLoader.spec.ts.snap +60 -60
- package/src/components/VSlideGroup/VSlideGroup.ts +3 -3
- package/src/components/VSlider/VSlider.ts +44 -28
- package/src/components/VSlider/__tests__/VSlider.spec.ts +188 -286
- package/src/components/VSlider/__tests__/__snapshots__/VSlider.spec.ts.snap +157 -246
- 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/VTabs/__tests__/VTab.spec.ts +3 -3
- package/src/components/VTabs/__tests__/VTabsBar.spec.ts +2 -2
- package/src/components/VTextField/VTextField.ts +1 -1
- package/src/components/VTooltip/VTooltip.ts +21 -21
- package/src/components/VTooltip/__tests__/VTooltip.spec.ts +60 -75
- package/src/components/VTreeview/VTreeviewNode.ts +3 -3
- package/src/components/transitions/createTransition.ts +2 -2
- package/src/mixins/picker/index.ts +4 -4
|
@@ -7,6 +7,7 @@ exports[`VColorPickerEdit.ts should change mode 1`] = `
|
|
|
7
7
|
min="0"
|
|
8
8
|
max="255"
|
|
9
9
|
step="1"
|
|
10
|
+
value="0"
|
|
10
11
|
>
|
|
11
12
|
<span>
|
|
12
13
|
R
|
|
@@ -17,6 +18,7 @@ exports[`VColorPickerEdit.ts should change mode 1`] = `
|
|
|
17
18
|
min="0"
|
|
18
19
|
max="255"
|
|
19
20
|
step="1"
|
|
21
|
+
value="0"
|
|
20
22
|
>
|
|
21
23
|
<span>
|
|
22
24
|
G
|
|
@@ -27,6 +29,7 @@ exports[`VColorPickerEdit.ts should change mode 1`] = `
|
|
|
27
29
|
min="0"
|
|
28
30
|
max="255"
|
|
29
31
|
step="1"
|
|
32
|
+
value="0"
|
|
30
33
|
>
|
|
31
34
|
<span>
|
|
32
35
|
B
|
|
@@ -37,6 +40,7 @@ exports[`VColorPickerEdit.ts should change mode 1`] = `
|
|
|
37
40
|
min="0"
|
|
38
41
|
max="1"
|
|
39
42
|
step="0.01"
|
|
43
|
+
value="0"
|
|
40
44
|
>
|
|
41
45
|
<span>
|
|
42
46
|
A
|
|
@@ -49,7 +53,6 @@ exports[`VColorPickerEdit.ts should change mode 1`] = `
|
|
|
49
53
|
<i aria-hidden="true"
|
|
50
54
|
class="v-icon notranslate material-icons theme--light"
|
|
51
55
|
>
|
|
52
|
-
$unfold
|
|
53
56
|
</i>
|
|
54
57
|
</span>
|
|
55
58
|
</button>
|
|
@@ -63,6 +66,7 @@ exports[`VColorPickerEdit.ts should change mode 2`] = `
|
|
|
63
66
|
min="0"
|
|
64
67
|
max="360"
|
|
65
68
|
step="1"
|
|
69
|
+
value="0"
|
|
66
70
|
>
|
|
67
71
|
<span>
|
|
68
72
|
H
|
|
@@ -73,6 +77,7 @@ exports[`VColorPickerEdit.ts should change mode 2`] = `
|
|
|
73
77
|
min="0"
|
|
74
78
|
max="1"
|
|
75
79
|
step="0.01"
|
|
80
|
+
value="0"
|
|
76
81
|
>
|
|
77
82
|
<span>
|
|
78
83
|
S
|
|
@@ -83,6 +88,7 @@ exports[`VColorPickerEdit.ts should change mode 2`] = `
|
|
|
83
88
|
min="0"
|
|
84
89
|
max="1"
|
|
85
90
|
step="0.01"
|
|
91
|
+
value="0"
|
|
86
92
|
>
|
|
87
93
|
<span>
|
|
88
94
|
L
|
|
@@ -93,6 +99,7 @@ exports[`VColorPickerEdit.ts should change mode 2`] = `
|
|
|
93
99
|
min="0"
|
|
94
100
|
max="1"
|
|
95
101
|
step="0.01"
|
|
102
|
+
value="0"
|
|
96
103
|
>
|
|
97
104
|
<span>
|
|
98
105
|
A
|
|
@@ -105,7 +112,6 @@ exports[`VColorPickerEdit.ts should change mode 2`] = `
|
|
|
105
112
|
<i aria-hidden="true"
|
|
106
113
|
class="v-icon notranslate material-icons theme--light"
|
|
107
114
|
>
|
|
108
|
-
$unfold
|
|
109
115
|
</i>
|
|
110
116
|
</span>
|
|
111
117
|
</button>
|
|
@@ -115,7 +121,9 @@ exports[`VColorPickerEdit.ts should change mode 2`] = `
|
|
|
115
121
|
exports[`VColorPickerEdit.ts should change mode 3`] = `
|
|
116
122
|
<div class="v-color-picker__edit">
|
|
117
123
|
<div class="v-color-picker__input">
|
|
118
|
-
<input maxlength="9"
|
|
124
|
+
<input maxlength="9"
|
|
125
|
+
value="#00000000"
|
|
126
|
+
>
|
|
119
127
|
<span>
|
|
120
128
|
HEX
|
|
121
129
|
</span>
|
|
@@ -127,7 +135,6 @@ exports[`VColorPickerEdit.ts should change mode 3`] = `
|
|
|
127
135
|
<i aria-hidden="true"
|
|
128
136
|
class="v-icon notranslate material-icons theme--light"
|
|
129
137
|
>
|
|
130
|
-
$unfold
|
|
131
138
|
</i>
|
|
132
139
|
</span>
|
|
133
140
|
</button>
|
|
@@ -141,6 +148,7 @@ exports[`VColorPickerEdit.ts should change mode 4`] = `
|
|
|
141
148
|
min="0"
|
|
142
149
|
max="360"
|
|
143
150
|
step="1"
|
|
151
|
+
value="0"
|
|
144
152
|
>
|
|
145
153
|
<span>
|
|
146
154
|
H
|
|
@@ -151,6 +159,7 @@ exports[`VColorPickerEdit.ts should change mode 4`] = `
|
|
|
151
159
|
min="0"
|
|
152
160
|
max="1"
|
|
153
161
|
step="0.01"
|
|
162
|
+
value="0"
|
|
154
163
|
>
|
|
155
164
|
<span>
|
|
156
165
|
S
|
|
@@ -161,6 +170,7 @@ exports[`VColorPickerEdit.ts should change mode 4`] = `
|
|
|
161
170
|
min="0"
|
|
162
171
|
max="1"
|
|
163
172
|
step="0.01"
|
|
173
|
+
value="0"
|
|
164
174
|
>
|
|
165
175
|
<span>
|
|
166
176
|
L
|
|
@@ -171,6 +181,7 @@ exports[`VColorPickerEdit.ts should change mode 4`] = `
|
|
|
171
181
|
min="0"
|
|
172
182
|
max="1"
|
|
173
183
|
step="0.01"
|
|
184
|
+
value="0"
|
|
174
185
|
>
|
|
175
186
|
<span>
|
|
176
187
|
A
|
|
@@ -183,7 +194,6 @@ exports[`VColorPickerEdit.ts should change mode 4`] = `
|
|
|
183
194
|
<i aria-hidden="true"
|
|
184
195
|
class="v-icon notranslate material-icons theme--light"
|
|
185
196
|
>
|
|
186
|
-
$unfold
|
|
187
197
|
</i>
|
|
188
198
|
</span>
|
|
189
199
|
</button>
|
|
@@ -197,6 +207,7 @@ exports[`VColorPickerEdit.ts should hide mode switch button 1`] = `
|
|
|
197
207
|
min="0"
|
|
198
208
|
max="255"
|
|
199
209
|
step="1"
|
|
210
|
+
value="0"
|
|
200
211
|
>
|
|
201
212
|
<span>
|
|
202
213
|
R
|
|
@@ -207,6 +218,7 @@ exports[`VColorPickerEdit.ts should hide mode switch button 1`] = `
|
|
|
207
218
|
min="0"
|
|
208
219
|
max="255"
|
|
209
220
|
step="1"
|
|
221
|
+
value="0"
|
|
210
222
|
>
|
|
211
223
|
<span>
|
|
212
224
|
G
|
|
@@ -217,6 +229,7 @@ exports[`VColorPickerEdit.ts should hide mode switch button 1`] = `
|
|
|
217
229
|
min="0"
|
|
218
230
|
max="255"
|
|
219
231
|
step="1"
|
|
232
|
+
value="0"
|
|
220
233
|
>
|
|
221
234
|
<span>
|
|
222
235
|
B
|
|
@@ -227,6 +240,7 @@ exports[`VColorPickerEdit.ts should hide mode switch button 1`] = `
|
|
|
227
240
|
min="0"
|
|
228
241
|
max="1"
|
|
229
242
|
step="0.01"
|
|
243
|
+
value="0"
|
|
230
244
|
>
|
|
231
245
|
<span>
|
|
232
246
|
A
|
|
@@ -242,7 +256,8 @@ exports[`VColorPickerEdit.ts should render with disabled 1`] = `
|
|
|
242
256
|
min="0"
|
|
243
257
|
max="255"
|
|
244
258
|
step="1"
|
|
245
|
-
disabled
|
|
259
|
+
disabled
|
|
260
|
+
value="0"
|
|
246
261
|
>
|
|
247
262
|
<span>
|
|
248
263
|
R
|
|
@@ -253,7 +268,8 @@ exports[`VColorPickerEdit.ts should render with disabled 1`] = `
|
|
|
253
268
|
min="0"
|
|
254
269
|
max="255"
|
|
255
270
|
step="1"
|
|
256
|
-
disabled
|
|
271
|
+
disabled
|
|
272
|
+
value="0"
|
|
257
273
|
>
|
|
258
274
|
<span>
|
|
259
275
|
G
|
|
@@ -264,7 +280,8 @@ exports[`VColorPickerEdit.ts should render with disabled 1`] = `
|
|
|
264
280
|
min="0"
|
|
265
281
|
max="255"
|
|
266
282
|
step="1"
|
|
267
|
-
disabled
|
|
283
|
+
disabled
|
|
284
|
+
value="0"
|
|
268
285
|
>
|
|
269
286
|
<span>
|
|
270
287
|
B
|
|
@@ -275,21 +292,21 @@ exports[`VColorPickerEdit.ts should render with disabled 1`] = `
|
|
|
275
292
|
min="0"
|
|
276
293
|
max="1"
|
|
277
294
|
step="0.01"
|
|
278
|
-
disabled
|
|
295
|
+
disabled
|
|
296
|
+
value="0"
|
|
279
297
|
>
|
|
280
298
|
<span>
|
|
281
299
|
A
|
|
282
300
|
</span>
|
|
283
301
|
</div>
|
|
284
302
|
<button type="button"
|
|
285
|
-
disabled
|
|
303
|
+
disabled
|
|
286
304
|
class="v-btn v-btn--disabled v-btn--icon v-btn--round theme--light v-size--small"
|
|
287
305
|
>
|
|
288
306
|
<span class="v-btn__content">
|
|
289
307
|
<i aria-hidden="true"
|
|
290
308
|
class="v-icon notranslate material-icons theme--light"
|
|
291
309
|
>
|
|
292
|
-
$unfold
|
|
293
310
|
</i>
|
|
294
311
|
</span>
|
|
295
312
|
</button>
|
|
@@ -156,7 +156,7 @@ export default defineComponent({
|
|
|
156
156
|
// light: this.light // TODO: add mixin
|
|
157
157
|
onClick: click,
|
|
158
158
|
'aria-label': label, // TODO: Localization
|
|
159
|
-
}, [h(VIcon, icon)])
|
|
159
|
+
}, () => [h(VIcon, {}, () => icon)])
|
|
160
160
|
},
|
|
161
161
|
genIcons () {
|
|
162
162
|
const before: VNodeChildrenArrayContents = []
|
|
@@ -298,7 +298,7 @@ export default mixins(
|
|
|
298
298
|
genLoading () {
|
|
299
299
|
const th = h('th', {
|
|
300
300
|
class: 'column',
|
|
301
|
-
|
|
301
|
+
...this.colspanAttrs,
|
|
302
302
|
}, [this.genProgress()])
|
|
303
303
|
|
|
304
304
|
const tr = h('tr', {
|
|
@@ -348,7 +348,7 @@ export default mixins(
|
|
|
348
348
|
class: 'v-data-table__empty-wrapper',
|
|
349
349
|
}, [
|
|
350
350
|
h('td', {
|
|
351
|
-
|
|
351
|
+
...this.colspanAttrs,
|
|
352
352
|
}, content),
|
|
353
353
|
])
|
|
354
354
|
},
|
|
@@ -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,11 +415,11 @@ 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',
|
|
422
|
-
|
|
422
|
+
...this.colspanAttrs,
|
|
423
423
|
}, [toggle, `${this.groupByText}: ${group}`, remove])
|
|
424
424
|
|
|
425
425
|
children.unshift(h('template', { slot: 'column.header' }, [column]))
|
|
@@ -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
|
},
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
convertToUnit,
|
|
16
16
|
getSlot,
|
|
17
17
|
kebabCase,
|
|
18
|
+
normalizeClasses,
|
|
18
19
|
} from '../../util/helpers'
|
|
19
20
|
import mergeData from '../../util/mergeData'
|
|
20
21
|
|
|
@@ -227,7 +228,7 @@ export default baseMixins.extend({
|
|
|
227
228
|
h(
|
|
228
229
|
VIcon,
|
|
229
230
|
data,
|
|
230
|
-
icon
|
|
231
|
+
() => icon
|
|
231
232
|
),
|
|
232
233
|
])
|
|
233
234
|
},
|
|
@@ -251,7 +252,7 @@ export default baseMixins.extend({
|
|
|
251
252
|
focused: this.hasState,
|
|
252
253
|
for: this.computedId,
|
|
253
254
|
light: this.light,
|
|
254
|
-
}, getSlot(this, 'label') || this.label)
|
|
255
|
+
}, () => getSlot(this, 'label') || this.label)
|
|
255
256
|
},
|
|
256
257
|
genMessages () {
|
|
257
258
|
if (!this.showDetails) return null
|
|
@@ -320,8 +321,13 @@ export default baseMixins.extend({
|
|
|
320
321
|
},
|
|
321
322
|
|
|
322
323
|
render (): VNode {
|
|
324
|
+
const { class: additionalClasses, ...restAttrs } = this.$attrs as Record<string, any>
|
|
325
|
+
|
|
323
326
|
return h('div', this.setTextColor(this.validationState, {
|
|
324
|
-
class: {'v-input': true, ...this.classes},
|
|
325
|
-
|
|
327
|
+
class: { 'v-input': true, ...this.classes, ...normalizeClasses(additionalClasses) },
|
|
328
|
+
...restAttrs,
|
|
329
|
+
}), {
|
|
330
|
+
default: () => this.genContent(),
|
|
331
|
+
})
|
|
326
332
|
},
|
|
327
333
|
})
|