quasar
Advanced tools
Comparing version 1.22.0 to 1.22.1
@@ -261,5 +261,15 @@ { | ||
"shake": { | ||
"desc": "Shakes dialog" | ||
"desc": "Shakes dialog", | ||
"params": { | ||
"focusTarget": { | ||
"type": "Element", | ||
"desc": "Optional DOM Element to be focused after shake", | ||
"examples": [ | ||
"document.getElementById('example')" | ||
], | ||
"addedIn": "v1.22.1" | ||
} | ||
} | ||
} | ||
} | ||
} |
@@ -12,2 +12,14 @@ { | ||
"props": { | ||
"tag": { | ||
"type": "String", | ||
"desc": "HTML tag to render", | ||
"default": "div", | ||
"category": "content", | ||
"examples": [ | ||
"div", | ||
"ul", | ||
"ol" | ||
], | ||
"addedIn": "v1.22.1" | ||
}, | ||
"bordered": { | ||
@@ -14,0 +26,0 @@ "type": "Boolean", |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* Quasar Framework v1.22.0 | ||
* Quasar Framework v1.22.1 | ||
* (c) 2015-present Razvan Stoenescu | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
@@ -909,2 +909,3 @@ { | ||
"attributes": [ | ||
"tag", | ||
"bordered", | ||
@@ -911,0 +912,0 @@ "dense", |
{ | ||
"name": "quasar", | ||
"version": "1.22.0", | ||
"version": "1.22.1", | ||
"description": "Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time", | ||
@@ -5,0 +5,0 @@ "module": "src/index.esm.js", |
@@ -81,3 +81,5 @@ import Vue from 'vue' | ||
on: { | ||
click: () => this.onOk(action), | ||
click: () => { | ||
this.onOk(action) | ||
}, | ||
keyup: e => { | ||
@@ -121,5 +123,4 @@ e.keyCode === 13 && this.onOk(action) | ||
on: { | ||
click: () => this.onOk(action), | ||
keyup: e => { | ||
e.keyCode === 13 && this.onOk(action) | ||
click: () => { | ||
this.onOk(action) | ||
} | ||
@@ -126,0 +127,0 @@ } |
@@ -9,2 +9,3 @@ import Vue from 'vue' | ||
import AttrsMixin, { ariaHidden } from '../../mixins/attrs.js' | ||
import TransitionMixin from '../../mixins/transition.js' | ||
@@ -29,3 +30,3 @@ import { childHasFocus } from '../../utils/dom.js' | ||
const transitions = { | ||
const defaultTransitions = { | ||
standard: ['scale', 'scale'], | ||
@@ -38,2 +39,7 @@ top: ['slide-down', 'slide-up'], | ||
const backdropAttrs = { | ||
...ariaHidden, | ||
tabindex: -1 | ||
} | ||
export default Vue.extend({ | ||
@@ -44,2 +50,3 @@ name: 'QDialog', | ||
AttrsMixin, | ||
TransitionMixin, | ||
HistoryMixin, | ||
@@ -85,3 +92,2 @@ TimeoutMixin, | ||
return { | ||
transitionState: this.showing, | ||
animating: false | ||
@@ -92,10 +98,2 @@ } | ||
watch: { | ||
showing (val) { | ||
if (this.transitionShowComputed !== this.transitionHideComputed) { | ||
this.$nextTick(() => { | ||
this.transitionState = val | ||
}) | ||
} | ||
}, | ||
maximized (state) { | ||
@@ -121,16 +119,10 @@ this.showing === true && this.__updateMaximized(state) | ||
transitionShowComputed () { | ||
return 'q-transition--' + (this.transitionShow === void 0 ? transitions[this.position][0] : this.transitionShow) | ||
defaultTransitionShow () { | ||
return defaultTransitions[this.position][0] | ||
}, | ||
transitionHideComputed () { | ||
return 'q-transition--' + (this.transitionHide === void 0 ? transitions[this.position][1] : this.transitionHide) | ||
defaultTransitionHide () { | ||
return defaultTransitions[this.position][1] | ||
}, | ||
transition () { | ||
return this.transitionState === true | ||
? this.transitionHideComputed | ||
: this.transitionShowComputed | ||
}, | ||
useBackdrop () { | ||
@@ -180,3 +172,7 @@ return this.showing === true && this.seamless !== true | ||
node = node.querySelector(selector || '[autofocus], [data-autofocus]') || node | ||
node = (selector !== '' ? node.querySelector(selector) : null) || | ||
node.querySelector('[autofocus][tabindex], [data-autofocus][tabindex]') || | ||
node.querySelector('[autofocus] [tabindex], [data-autofocus] [tabindex]') || | ||
node.querySelector('[autofocus], [data-autofocus]') || | ||
node | ||
node.focus({ preventScroll: true }) | ||
@@ -186,4 +182,10 @@ }) | ||
shake () { | ||
this.focus() | ||
shake (refocusTarget) { | ||
if (refocusTarget && typeof refocusTarget.focus === 'function') { | ||
refocusTarget.focus({ preventScroll: true }) | ||
} | ||
else { | ||
this.focus() | ||
} | ||
this.$emit('shake') | ||
@@ -350,3 +352,3 @@ | ||
else if (this.noShake !== true) { | ||
this.shake() | ||
this.shake(e.relatedTarget) | ||
} | ||
@@ -378,5 +380,5 @@ }, | ||
staticClass: 'q-dialog__backdrop fixed-full', | ||
attrs: ariaHidden, | ||
attrs: backdropAttrs, | ||
on: cache(this, 'bkdrop', { | ||
click: this.__onBackdropClick | ||
focusin: this.__onBackdropClick | ||
}) | ||
@@ -387,3 +389,3 @@ }) | ||
h('transition', { | ||
props: { name: this.transition } | ||
props: { ...this.transitionProps } | ||
}, [ | ||
@@ -390,0 +392,0 @@ this.showing === true ? h('div', { |
@@ -146,3 +146,11 @@ { | ||
"shake": { | ||
"desc": "Shakes dialog" | ||
"desc": "Shakes dialog", | ||
"params": { | ||
"focusTarget": { | ||
"type": "Element", | ||
"desc": "Optional DOM Element to be focused after shake", | ||
"examples": [ "document.getElementById('example')" ], | ||
"addedIn": "v1.22.1" | ||
} | ||
} | ||
} | ||
@@ -149,0 +157,0 @@ }, |
@@ -159,3 +159,5 @@ import Vue from 'vue' | ||
const target = this.$el.querySelector('[autofocus], [data-autofocus]') || | ||
const target = this.$el.querySelector('[autofocus][tabindex], [data-autofocus][tabindex]') || | ||
this.$el.querySelector('[autofocus] [tabindex], [data-autofocus] [tabindex]') || | ||
this.$el.querySelector('[autofocus], [data-autofocus]') || | ||
Array.prototype.find.call(this.$el.querySelectorAll('[tabindex]'), el => el.tabIndex > -1) | ||
@@ -162,0 +164,0 @@ |
@@ -81,9 +81,4 @@ import Vue from 'vue' | ||
render (h) { | ||
return h('transition', { | ||
props: { | ||
name: this.transition, | ||
appear: true | ||
} | ||
}, this.__getContent(h)) | ||
return h('transition', { props: { ...this.transitionProps } }, this.__getContent(h)) | ||
} | ||
}) |
@@ -19,3 +19,8 @@ import Vue from 'vue' | ||
separator: Boolean, | ||
padding: Boolean | ||
padding: Boolean, | ||
tag: { | ||
type: String, | ||
default: 'div' | ||
} | ||
}, | ||
@@ -35,3 +40,3 @@ | ||
render (h) { | ||
return h('div', { | ||
return h(this.tag, { | ||
class: this.classes, | ||
@@ -38,0 +43,0 @@ attrs, |
{ | ||
"mixins": [ "mixins/tag" ], | ||
"meta": { | ||
@@ -33,2 +35,8 @@ "docsUrl": "https://v1.quasar.dev/vue-components/list-and-list-items" | ||
"category": "content" | ||
}, | ||
"tag": { | ||
"default": "div", | ||
"examples": [ "div", "ul", "ol" ], | ||
"addedIn": "v1.22.1" | ||
} | ||
@@ -35,0 +43,0 @@ }, |
@@ -143,3 +143,6 @@ import Vue from 'vue' | ||
if (node !== void 0 && node.contains(document.activeElement) !== true) { | ||
node = node.querySelector('[autofocus], [data-autofocus]') || node | ||
node = node.querySelector('[autofocus][tabindex], [data-autofocus][tabindex]') || | ||
node.querySelector('[autofocus] [tabindex], [data-autofocus] [tabindex]') || | ||
node.querySelector('[autofocus], [data-autofocus]') || | ||
node | ||
node.focus({ preventScroll: true }) | ||
@@ -325,3 +328,3 @@ } | ||
return h('transition', { | ||
props: { name: this.transition } | ||
props: { ...this.transitionProps } | ||
}, [ | ||
@@ -328,0 +331,0 @@ this.showing === true ? h('div', { |
@@ -104,3 +104,3 @@ import Vue from 'vue' | ||
if (diff <= 0) { return 0 } | ||
const p = between(this.scroll.horizontal.position / diff, 0, 1) | ||
const p = between(Math.abs(this.scroll.horizontal.position) / diff, 0, 1) | ||
return Math.round(p * 10000) / 10000 | ||
@@ -166,3 +166,3 @@ }, | ||
...this.horizontalThumbStyle, | ||
left: `${this.horizontalThumbStart}px`, | ||
[ this.$q.lang.rtl === true ? 'right' : 'left' ]: `${this.horizontalThumbStart}px`, | ||
width: `${this.horizontalThumbSize}px` | ||
@@ -256,2 +256,8 @@ } | ||
watch: { | ||
'$q.lang.rtl' (rtl) { | ||
this.setScrollPosition('horizontal', Math.abs(this.scroll.horizontal.position) * (rtl === true ? -1 : 1)) | ||
} | ||
}, | ||
methods: { | ||
@@ -336,3 +342,3 @@ getScrollTarget () { | ||
axis, | ||
percentage * (this.scroll[axis].size - this.container[axis]), | ||
percentage * (this.scroll[axis].size - this.container[axis]) * (axis === 'horizontal' && this.$q.lang.rtl === true ? -1 : 1), | ||
duration | ||
@@ -339,0 +345,0 @@ ) |
@@ -35,2 +35,6 @@ import Vue from 'vue' | ||
this.__configureScrollTarget() | ||
}, | ||
'$q.lang.rtl' () { | ||
this.__emit() | ||
} | ||
@@ -37,0 +41,0 @@ }, |
@@ -225,3 +225,3 @@ import Vue from 'vue' | ||
return h('transition', { | ||
props: { name: this.transition } | ||
props: { ...this.transitionProps } | ||
}, [ | ||
@@ -228,0 +228,0 @@ this.showing === true ? h('div', { |
@@ -193,3 +193,3 @@ import { shouldIgnoreKey } from '../utils/private/key-composition.js' | ||
this.computedUnmask = val => { | ||
const unmaskMatch = unmaskMatcher.exec(val) | ||
const unmaskMatch = unmaskMatcher.exec(this.reverseFillMask === true ? val : val.slice(0, mask.length)) | ||
if (unmaskMatch !== null) { | ||
@@ -196,0 +196,0 @@ val = unmaskMatch.slice(1).join('') |
@@ -14,21 +14,20 @@ export default { | ||
data () { | ||
return { | ||
transitionState: this.showing | ||
} | ||
}, | ||
computed: { | ||
transitionProps () { | ||
const show = `q-transition--${this.transitionShow || this.defaultTransitionShow}` | ||
const hide = `q-transition--${this.transitionHide || this.defaultTransitionHide}` | ||
watch: { | ||
showing (val) { | ||
this.transitionShow !== this.transitionHide && this.$nextTick(() => { | ||
this.transitionState = val | ||
}) | ||
} | ||
}, | ||
return { | ||
appear: true, | ||
computed: { | ||
transition () { | ||
return 'q-transition--' + (this.transitionState === true ? this.transitionHide : this.transitionShow) | ||
enterClass: `${show}-enter`, | ||
enterActiveClass: `${show}-enter-active`, | ||
enterToClass: `${show}-enter-to`, | ||
leaveClass: `${hide}-leave`, | ||
leaveActiveClass: `${hide}-leave-active`, | ||
leaveToClass: `${hide}-leave-to` | ||
} | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
11864596
243905