vuetify 2.6.2 → 2.6.5
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/json/web-types.json +9 -9
- package/dist/vuetify.css +18 -3
- package/dist/vuetify.css.map +1 -1
- package/dist/vuetify.js +96 -95
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +2 -2
- package/es5/components/VData/VData.js +2 -8
- package/es5/components/VData/VData.js.map +1 -1
- package/es5/components/VDialog/VDialog.js +4 -9
- package/es5/components/VDialog/VDialog.js.map +1 -1
- package/es5/components/VImg/VImg.js +6 -2
- package/es5/components/VImg/VImg.js.map +1 -1
- package/es5/components/VMenu/VMenu.js +4 -4
- package/es5/components/VMenu/VMenu.js.map +1 -1
- package/es5/components/VNavigationDrawer/VNavigationDrawer.js +1 -1
- package/es5/components/VNavigationDrawer/VNavigationDrawer.js.map +1 -1
- package/es5/components/VPagination/VPagination.js +2 -1
- package/es5/components/VPagination/VPagination.js.map +1 -1
- package/es5/components/VResponsive/VResponsive.js +3 -1
- package/es5/components/VResponsive/VResponsive.js.map +1 -1
- package/es5/components/VSelect/VSelect.js +53 -49
- package/es5/components/VSelect/VSelect.js.map +1 -1
- package/es5/components/VTabs/VTab.js +1 -1
- package/es5/components/VTabs/VTab.js.map +1 -1
- package/es5/components/VTooltip/VTooltip.js +1 -3
- package/es5/components/VTooltip/VTooltip.js.map +1 -1
- package/es5/components/VTreeview/VTreeview.js +1 -1
- package/es5/components/VTreeview/VTreeview.js.map +1 -1
- package/es5/framework.js +1 -1
- package/es5/locale/es.js +3 -3
- package/es5/locale/es.js.map +1 -1
- package/es5/locale/fi.js +5 -5
- package/es5/locale/fi.js.map +1 -1
- package/es5/mixins/menuable/index.js +2 -1
- package/es5/mixins/menuable/index.js.map +1 -1
- package/es5/mixins/selectable/index.js +6 -4
- package/es5/mixins/selectable/index.js.map +1 -1
- package/lib/components/VData/VData.js +2 -4
- package/lib/components/VData/VData.js.map +1 -1
- package/lib/components/VDialog/VDialog.js +4 -8
- package/lib/components/VDialog/VDialog.js.map +1 -1
- package/lib/components/VImg/VImg.js +5 -2
- package/lib/components/VImg/VImg.js.map +1 -1
- package/lib/components/VMenu/VMenu.js +4 -3
- package/lib/components/VMenu/VMenu.js.map +1 -1
- package/lib/components/VNavigationDrawer/VNavigationDrawer.js +1 -1
- package/lib/components/VNavigationDrawer/VNavigationDrawer.js.map +1 -1
- package/lib/components/VPagination/VPagination.js +2 -1
- package/lib/components/VPagination/VPagination.js.map +1 -1
- package/lib/components/VResponsive/VResponsive.js +2 -1
- package/lib/components/VResponsive/VResponsive.js.map +1 -1
- package/lib/components/VSelect/VSelect.js +9 -7
- package/lib/components/VSelect/VSelect.js.map +1 -1
- package/lib/components/VTabs/VTab.js +1 -1
- package/lib/components/VTabs/VTab.js.map +1 -1
- package/lib/components/VTooltip/VTooltip.js +2 -3
- package/lib/components/VTooltip/VTooltip.js.map +1 -1
- package/lib/components/VTreeview/VTreeview.js +1 -1
- package/lib/components/VTreeview/VTreeview.js.map +1 -1
- package/lib/framework.js +1 -1
- package/lib/locale/es.js +3 -3
- package/lib/locale/es.js.map +1 -1
- package/lib/locale/fi.js +5 -5
- package/lib/locale/fi.js.map +1 -1
- package/lib/mixins/menuable/index.js +2 -1
- package/lib/mixins/menuable/index.js.map +1 -1
- package/lib/mixins/selectable/index.js +7 -5
- package/lib/mixins/selectable/index.js.map +1 -1
- package/package.json +4 -3
- package/src/components/VCalendar/VCalendarCategory.sass +9 -3
- package/src/components/VData/VData.ts +2 -4
- package/src/components/VDataTable/__tests__/__snapshots__/VDataTable.spec.ts.snap +4 -4
- package/src/components/VDialog/VDialog.ts +3 -6
- package/src/components/VDialog/__tests__/__snapshots__/VDialog.spec.ts.snap +14 -32
- package/src/components/VImg/VImg.ts +4 -2
- package/src/components/VMenu/VMenu.ts +3 -5
- package/src/components/VNavigationDrawer/VNavigationDrawer.ts +1 -1
- package/src/components/VNavigationDrawer/__tests__/VNavigationDrawer.spec.ts +1 -1
- package/src/components/VPagination/VPagination.ts +2 -1
- package/src/components/VPagination/__tests__/VPagination.spec.ts +3 -1
- package/src/components/VPagination/__tests__/__snapshots__/VPagination.spec.ts.snap +3 -3
- package/src/components/VResponsive/VResponsive.ts +2 -1
- package/src/components/VSelect/VSelect.ts +6 -8
- package/src/components/VTabs/VTab.ts +1 -1
- package/src/components/VTooltip/VTooltip.ts +1 -2
- package/src/components/VTreeview/VTreeview.ts +6 -1
- package/src/locale/es.ts +3 -3
- package/src/locale/fi.ts +5 -5
- package/src/mixins/menuable/index.ts +2 -1
- package/src/mixins/selectable/index.ts +6 -4
|
@@ -6,7 +6,6 @@ import Colorable from '../../mixins/colorable'
|
|
|
6
6
|
import Delayable from '../../mixins/delayable'
|
|
7
7
|
import Dependent from '../../mixins/dependent'
|
|
8
8
|
import Menuable from '../../mixins/menuable'
|
|
9
|
-
import Toggleable from '../../mixins/toggleable'
|
|
10
9
|
|
|
11
10
|
// Helpers
|
|
12
11
|
import { convertToUnit, keyCodes, getSlotType } from '../../util/helpers'
|
|
@@ -17,7 +16,7 @@ import { VNode } from 'vue'
|
|
|
17
16
|
import mixins from '../../util/mixins'
|
|
18
17
|
|
|
19
18
|
/* @vue/component */
|
|
20
|
-
export default mixins(Colorable, Delayable, Dependent, Menuable
|
|
19
|
+
export default mixins(Colorable, Delayable, Dependent, Menuable).extend({
|
|
21
20
|
name: 'v-tooltip',
|
|
22
21
|
|
|
23
22
|
props: {
|
|
@@ -217,7 +217,12 @@ export default mixins(
|
|
|
217
217
|
this.buildTree(children, key)
|
|
218
218
|
|
|
219
219
|
// This fixed bug with dynamic children resetting selected parent state
|
|
220
|
-
if (
|
|
220
|
+
if (
|
|
221
|
+
this.selectionType !== 'independent' &&
|
|
222
|
+
parent !== null &&
|
|
223
|
+
!this.nodes.hasOwnProperty(key) &&
|
|
224
|
+
this.nodes.hasOwnProperty(parent)
|
|
225
|
+
) {
|
|
221
226
|
node.isSelected = this.nodes[parent].isSelected
|
|
222
227
|
} else {
|
|
223
228
|
node.isSelected = oldNode.isSelected
|
package/src/locale/es.ts
CHANGED
|
@@ -12,8 +12,8 @@ export default {
|
|
|
12
12
|
sortAscending: 'Orden ascendente.',
|
|
13
13
|
sortNone: 'Sin ordenar.',
|
|
14
14
|
activateNone: 'Pulse para quitar orden.',
|
|
15
|
-
activateDescending: 'Pulse para ordenar descendente.',
|
|
16
|
-
activateAscending: 'Pulse para ordenar ascendente.',
|
|
15
|
+
activateDescending: 'Pulse para ordenar de forma descendente.',
|
|
16
|
+
activateAscending: 'Pulse para ordenar de forma ascendente.',
|
|
17
17
|
},
|
|
18
18
|
sortBy: 'Ordenado por',
|
|
19
19
|
},
|
|
@@ -22,7 +22,7 @@ export default {
|
|
|
22
22
|
itemsPerPageAll: 'Todos',
|
|
23
23
|
nextPage: 'Página siguiente',
|
|
24
24
|
prevPage: 'Página anterior',
|
|
25
|
-
firstPage: '
|
|
25
|
+
firstPage: 'Primera página',
|
|
26
26
|
lastPage: 'Última página',
|
|
27
27
|
pageText: '{0}-{1} de {2}',
|
|
28
28
|
},
|
package/src/locale/fi.ts
CHANGED
|
@@ -55,15 +55,15 @@ export default {
|
|
|
55
55
|
pagination: {
|
|
56
56
|
ariaLabel: {
|
|
57
57
|
wrapper: 'Pagination Navigation',
|
|
58
|
-
next: '
|
|
59
|
-
previous: '
|
|
60
|
-
page: '
|
|
61
|
-
currentPage: '
|
|
58
|
+
next: 'Seuraava sivu',
|
|
59
|
+
previous: 'Edellinen sivu',
|
|
60
|
+
page: 'Mene sivulle {0}',
|
|
61
|
+
currentPage: 'Nykyinen sivu, Sivu {0}',
|
|
62
62
|
},
|
|
63
63
|
},
|
|
64
64
|
rating: {
|
|
65
65
|
ariaLabel: {
|
|
66
|
-
icon: '
|
|
66
|
+
icon: 'Luokitus {0}/{1}',
|
|
67
67
|
},
|
|
68
68
|
},
|
|
69
69
|
}
|
|
@@ -139,7 +139,8 @@ export default baseMixins.extend<options>().extend({
|
|
|
139
139
|
const activatorLeft = (this.attach !== false ? a.offsetLeft : a.left) || 0
|
|
140
140
|
const minWidth = Math.max(a.width, c.width)
|
|
141
141
|
let left = 0
|
|
142
|
-
left +=
|
|
142
|
+
left += activatorLeft
|
|
143
|
+
if (this.left || (this.$vuetify.rtl && !this.right)) left -= (minWidth - a.width)
|
|
143
144
|
if (this.offsetX) {
|
|
144
145
|
const maxWidth = isNaN(Number(this.maxWidth))
|
|
145
146
|
? a.width
|
|
@@ -125,9 +125,6 @@ export default mixins(
|
|
|
125
125
|
ref: 'input',
|
|
126
126
|
})
|
|
127
127
|
},
|
|
128
|
-
onBlur () {
|
|
129
|
-
this.isFocused = false
|
|
130
|
-
},
|
|
131
128
|
onClick (e: Event) {
|
|
132
129
|
this.onChange()
|
|
133
130
|
this.$emit('click', e)
|
|
@@ -162,8 +159,13 @@ export default mixins(
|
|
|
162
159
|
this.internalValue = input
|
|
163
160
|
this.hasColor = input
|
|
164
161
|
},
|
|
165
|
-
onFocus () {
|
|
162
|
+
onFocus (e: FocusEvent) {
|
|
166
163
|
this.isFocused = true
|
|
164
|
+
this.$emit('focus', e)
|
|
165
|
+
},
|
|
166
|
+
onBlur (e: FocusEvent) {
|
|
167
|
+
this.isFocused = false
|
|
168
|
+
this.$emit('blur', e)
|
|
167
169
|
},
|
|
168
170
|
/** @abstract */
|
|
169
171
|
onKeydown (e: Event) {},
|