quasar 2.12.1 → 2.12.3
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/api/LoadingBar.json +2 -2
- package/dist/api/Morph.json +1 -1
- package/dist/api/QEditor.json +5 -0
- package/dist/api/Scroll.json +6 -3
- package/dist/api/ScrollFire.json +6 -3
- package/dist/api/TouchHold.json +6 -3
- package/dist/api/TouchPan.json +6 -3
- package/dist/api/TouchRepeat.json +6 -3
- package/dist/api/TouchSwipe.json +6 -3
- package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
- package/dist/icon-set/eva-icons.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v6-pro.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v6.umd.prod.js +1 -1
- package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
- package/dist/icon-set/line-awesome.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
- package/dist/icon-set/material-icons.umd.prod.js +1 -1
- package/dist/icon-set/material-symbols-outlined.umd.prod.js +1 -1
- package/dist/icon-set/material-symbols-rounded.umd.prod.js +1 -1
- package/dist/icon-set/material-symbols-sharp.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v7.umd.prod.js +1 -1
- package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
- package/dist/icon-set/svg-fontawesome-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-symbols-outlined.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-symbols-rounded.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-symbols-sharp.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v7.umd.prod.js +1 -1
- package/dist/icon-set/svg-themify.umd.prod.js +1 -1
- package/dist/icon-set/themify.umd.prod.js +1 -1
- package/dist/lang/ar-TN.umd.prod.js +1 -1
- package/dist/lang/ar.umd.prod.js +1 -1
- package/dist/lang/az-Latn.umd.prod.js +1 -1
- package/dist/lang/bg.umd.prod.js +1 -1
- package/dist/lang/bn.umd.prod.js +1 -1
- package/dist/lang/ca.umd.prod.js +1 -1
- package/dist/lang/cs.umd.prod.js +1 -1
- package/dist/lang/da.umd.prod.js +1 -1
- package/dist/lang/de.umd.prod.js +1 -1
- package/dist/lang/el.umd.prod.js +1 -1
- package/dist/lang/en-GB.umd.prod.js +1 -1
- package/dist/lang/en-US.umd.prod.js +1 -1
- package/dist/lang/eo.umd.prod.js +1 -1
- package/dist/lang/es.umd.prod.js +1 -1
- package/dist/lang/et.umd.prod.js +1 -1
- package/dist/lang/eu.umd.prod.js +1 -1
- package/dist/lang/fa-IR.umd.prod.js +1 -1
- package/dist/lang/fa.umd.prod.js +1 -1
- package/dist/lang/fi.umd.prod.js +1 -1
- package/dist/lang/fr.umd.prod.js +1 -1
- package/dist/lang/gn.umd.prod.js +1 -1
- package/dist/lang/he.umd.prod.js +1 -1
- package/dist/lang/hr.umd.prod.js +1 -1
- package/dist/lang/hu.umd.prod.js +1 -1
- package/dist/lang/id.umd.prod.js +1 -1
- package/dist/lang/is.umd.prod.js +1 -1
- package/dist/lang/it.umd.prod.js +1 -1
- package/dist/lang/ja.umd.prod.js +1 -1
- package/dist/lang/kk.umd.prod.js +1 -1
- package/dist/lang/km.umd.prod.js +1 -1
- package/dist/lang/ko-KR.umd.prod.js +1 -1
- package/dist/lang/kur-CKB.umd.prod.js +1 -1
- package/dist/lang/lt.umd.prod.js +1 -1
- package/dist/lang/lu.umd.prod.js +1 -1
- package/dist/lang/lv.umd.prod.js +1 -1
- package/dist/lang/mk.umd.prod.js +1 -1
- package/dist/lang/ml.umd.prod.js +1 -1
- package/dist/lang/mm.umd.prod.js +1 -1
- package/dist/lang/ms.umd.prod.js +1 -1
- package/dist/lang/my.umd.prod.js +1 -1
- package/dist/lang/nb-NO.umd.prod.js +1 -1
- package/dist/lang/nl.umd.prod.js +1 -1
- package/dist/lang/pl.umd.prod.js +1 -1
- package/dist/lang/pt-BR.umd.prod.js +1 -1
- package/dist/lang/pt.umd.prod.js +1 -1
- package/dist/lang/ro.umd.prod.js +1 -1
- package/dist/lang/ru.umd.prod.js +1 -1
- package/dist/lang/sk.umd.prod.js +1 -1
- package/dist/lang/sl.umd.prod.js +1 -1
- package/dist/lang/sm.umd.prod.js +1 -1
- package/dist/lang/sr-CYR.umd.prod.js +1 -1
- package/dist/lang/sr.umd.prod.js +1 -1
- package/dist/lang/sv.umd.prod.js +1 -1
- package/dist/lang/ta.umd.prod.js +1 -1
- package/dist/lang/th.umd.prod.js +1 -1
- package/dist/lang/tr.umd.prod.js +1 -1
- package/dist/lang/ug.umd.prod.js +1 -1
- package/dist/lang/uk.umd.prod.js +1 -1
- package/dist/lang/uz-Cyrl.umd.prod.js +1 -1
- package/dist/lang/uz-Latn.umd.prod.js +1 -1
- package/dist/lang/vi.umd.prod.js +1 -1
- package/dist/lang/zh-CN.umd.prod.js +1 -1
- package/dist/lang/zh-TW.umd.prod.js +1 -1
- package/dist/quasar.cjs.prod.js +2 -2
- package/dist/quasar.esm.js +10 -4
- package/dist/quasar.esm.prod.js +2 -2
- package/dist/quasar.sass +1 -1
- package/dist/quasar.umd.js +10 -4
- package/dist/quasar.umd.prod.js +2 -2
- package/dist/types/api/qloadingbar.d.ts +1 -1
- package/dist/types/index.d.ts +1524 -49
- package/dist/web-types/web-types.json +14 -8
- package/package.json +1 -1
- package/src/components/editor/QEditor.json +6 -0
- package/src/directives/Morph.json +1 -1
- package/src/directives/Scroll.json +3 -3
- package/src/directives/ScrollFire.json +3 -3
- package/src/directives/TouchHold.json +3 -3
- package/src/directives/TouchPan.json +3 -3
- package/src/directives/TouchRepeat.json +3 -3
- package/src/directives/TouchSwipe.json +3 -3
- package/src/plugins/LoadingBar.json +2 -2
- package/src/utils/private/click-outside.js +6 -0
- package/src/utils/private/position-engine.js +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "",
|
|
3
3
|
"framework": "vue",
|
|
4
4
|
"name": "quasar",
|
|
5
|
-
"version": "2.12.
|
|
5
|
+
"version": "2.12.3",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"types-syntax": "typescript",
|
|
@@ -4906,7 +4906,13 @@
|
|
|
4906
4906
|
"doc-url": "https://v2.quasar.dev/vue-components/editor"
|
|
4907
4907
|
}
|
|
4908
4908
|
],
|
|
4909
|
-
"slots": [
|
|
4909
|
+
"slots": [
|
|
4910
|
+
{
|
|
4911
|
+
"name": "[command]",
|
|
4912
|
+
"description": "Content for the given command in the toolbar",
|
|
4913
|
+
"doc-url": "https://v2.quasar.dev/vue-components/editor"
|
|
4914
|
+
}
|
|
4915
|
+
],
|
|
4910
4916
|
"description": "QEditor - Quasar component",
|
|
4911
4917
|
"doc-url": "https://v2.quasar.dev/vue-components/editor"
|
|
4912
4918
|
},
|
|
@@ -19357,7 +19363,7 @@
|
|
|
19357
19363
|
"doc-url": "https://v2.quasar.dev/vue-directives/scroll",
|
|
19358
19364
|
"value": {
|
|
19359
19365
|
"kind": "expression",
|
|
19360
|
-
"type": "Function"
|
|
19366
|
+
"type": "Function|undefined"
|
|
19361
19367
|
}
|
|
19362
19368
|
},
|
|
19363
19369
|
{
|
|
@@ -19371,7 +19377,7 @@
|
|
|
19371
19377
|
"doc-url": "https://v2.quasar.dev/vue-directives/scroll-fire",
|
|
19372
19378
|
"value": {
|
|
19373
19379
|
"kind": "expression",
|
|
19374
|
-
"type": "Function"
|
|
19380
|
+
"type": "Function|undefined"
|
|
19375
19381
|
}
|
|
19376
19382
|
},
|
|
19377
19383
|
{
|
|
@@ -19402,7 +19408,7 @@
|
|
|
19402
19408
|
],
|
|
19403
19409
|
"value": {
|
|
19404
19410
|
"kind": "expression",
|
|
19405
|
-
"type": "Function"
|
|
19411
|
+
"type": "Function|undefined"
|
|
19406
19412
|
}
|
|
19407
19413
|
},
|
|
19408
19414
|
{
|
|
@@ -19483,7 +19489,7 @@
|
|
|
19483
19489
|
],
|
|
19484
19490
|
"value": {
|
|
19485
19491
|
"kind": "expression",
|
|
19486
|
-
"type": "Function"
|
|
19492
|
+
"type": "Function|undefined"
|
|
19487
19493
|
}
|
|
19488
19494
|
},
|
|
19489
19495
|
{
|
|
@@ -19569,7 +19575,7 @@
|
|
|
19569
19575
|
],
|
|
19570
19576
|
"value": {
|
|
19571
19577
|
"kind": "expression",
|
|
19572
|
-
"type": "Function"
|
|
19578
|
+
"type": "Function|undefined"
|
|
19573
19579
|
}
|
|
19574
19580
|
},
|
|
19575
19581
|
{
|
|
@@ -19630,7 +19636,7 @@
|
|
|
19630
19636
|
],
|
|
19631
19637
|
"value": {
|
|
19632
19638
|
"kind": "expression",
|
|
19633
|
-
"type": "Function"
|
|
19639
|
+
"type": "Function|undefined"
|
|
19634
19640
|
}
|
|
19635
19641
|
}
|
|
19636
19642
|
]
|
package/package.json
CHANGED
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
},
|
|
102
102
|
|
|
103
103
|
"waitFor": {
|
|
104
|
-
"type": [ "Number", "String", "Promise" ],
|
|
104
|
+
"type": [ "Number", "String", "Promise<void>" ],
|
|
105
105
|
"desc": "Delay animation start for that number of milliseconds, or until a 'transitionend' event is emitted by the destination element, or until the promise is resolved (if the promise is rejected the morphing will abort, but the `toggle function` was already called)",
|
|
106
106
|
"default": "0",
|
|
107
107
|
"examples": [ "300", "transitionend" ]
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
},
|
|
5
5
|
|
|
6
6
|
"value": {
|
|
7
|
-
"type": "Function",
|
|
8
|
-
"desc": "Function to call when scrolling occurs (use
|
|
7
|
+
"type": ["Function", "undefined"],
|
|
8
|
+
"desc": "Function to call when scrolling occurs (use undefined to disable)",
|
|
9
9
|
"params": {
|
|
10
10
|
"verticalScrollPosition": {
|
|
11
11
|
"type": "Number",
|
|
@@ -17,6 +17,6 @@
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"returns": null,
|
|
20
|
-
"examples": [ "v-scroll=\"fnToCall\"", "v-scroll=\"
|
|
20
|
+
"examples": [ "v-scroll=\"fnToCall\"", "v-scroll=\"undefined\"" ]
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
},
|
|
5
5
|
|
|
6
6
|
"value": {
|
|
7
|
-
"type": "Function",
|
|
8
|
-
"desc": "Function to call when scrolling and element comes into the viewport (use
|
|
7
|
+
"type": ["Function", "undefined"],
|
|
8
|
+
"desc": "Function to call when scrolling and element comes into the viewport (use undefined to disable)",
|
|
9
9
|
"params": {
|
|
10
10
|
"el": {
|
|
11
11
|
"type": "Element",
|
|
@@ -13,6 +13,6 @@
|
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"returns": null,
|
|
16
|
-
"examples": [ "v-scroll-fire=\"fnToCall\"", "v-scroll-fire=\"
|
|
16
|
+
"examples": [ "v-scroll-fire=\"fnToCall\"", "v-scroll-fire=\"undefined\"" ]
|
|
17
17
|
}
|
|
18
18
|
}
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
},
|
|
5
5
|
|
|
6
6
|
"value": {
|
|
7
|
-
"type": "Function",
|
|
8
|
-
"desc": "Function to call after user has hold touch/click for the specified amount of time (use
|
|
7
|
+
"type": ["Function", "undefined"],
|
|
8
|
+
"desc": "Function to call after user has hold touch/click for the specified amount of time (use undefined to disable)",
|
|
9
9
|
"params": {
|
|
10
10
|
"details": {
|
|
11
11
|
"type": "Object",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
"returns": null,
|
|
48
|
-
"examples": [ "v-touch-hold=\"fnToCall\"", "v-touch-hold=\"
|
|
48
|
+
"examples": [ "v-touch-hold=\"fnToCall\"", "v-touch-hold=\"undefined\"" ]
|
|
49
49
|
},
|
|
50
50
|
|
|
51
51
|
"arg": {
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
},
|
|
5
5
|
|
|
6
6
|
"value": {
|
|
7
|
-
"type": "Function",
|
|
8
|
-
"desc": "Handler for panning (use
|
|
7
|
+
"type": ["Function", "undefined"],
|
|
8
|
+
"desc": "Handler for panning (use undefined to disable)",
|
|
9
9
|
"params": {
|
|
10
10
|
"details": {
|
|
11
11
|
"type": "Object",
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
}
|
|
103
103
|
},
|
|
104
104
|
"returns": null,
|
|
105
|
-
"examples": [ "v-touch-pan=\"fnToCall\"", "v-touch-pan=\"
|
|
105
|
+
"examples": [ "v-touch-pan=\"fnToCall\"", "v-touch-pan=\"undefined\"" ]
|
|
106
106
|
},
|
|
107
107
|
|
|
108
108
|
"modifiers": {
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
},
|
|
5
5
|
|
|
6
6
|
"value": {
|
|
7
|
-
"type": "Function",
|
|
8
|
-
"desc": "Handler for touch-repeat (use
|
|
7
|
+
"type": ["Function", "undefined"],
|
|
8
|
+
"desc": "Handler for touch-repeat (use undefined to disable)",
|
|
9
9
|
"params": {
|
|
10
10
|
"details": {
|
|
11
11
|
"type": "Object",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
"returns": null,
|
|
64
|
-
"examples": [ "v-touch-repeat=\"fnToCall\"", "v-touch-repeat=\"
|
|
64
|
+
"examples": [ "v-touch-repeat=\"fnToCall\"", "v-touch-repeat=\"undefined\"" ]
|
|
65
65
|
},
|
|
66
66
|
|
|
67
67
|
"arg": {
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
},
|
|
5
5
|
|
|
6
6
|
"value": {
|
|
7
|
-
"type": "Function",
|
|
8
|
-
"desc": "Handler for swipe (use
|
|
7
|
+
"type": ["Function", "undefined"],
|
|
8
|
+
"desc": "Handler for swipe (use undefined to disable)",
|
|
9
9
|
"params": {
|
|
10
10
|
"details": {
|
|
11
11
|
"type": "Object",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
"returns": null,
|
|
53
|
-
"examples": [ "v-touch-swipe=\"fnToCall\"", "v-touch-swipe=\"
|
|
53
|
+
"examples": [ "v-touch-swipe=\"fnToCall\"", "v-touch-swipe=\"undefined\"" ]
|
|
54
54
|
},
|
|
55
55
|
|
|
56
56
|
"arg": {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"propName": "loadingBar",
|
|
10
10
|
"type": "Object",
|
|
11
11
|
"tsType": "QLoadingBarOptions",
|
|
12
|
-
"desc": "QAjaxBar component props, EXCEPT for 'hijack-filter'",
|
|
12
|
+
"desc": "QAjaxBar component props, EXCEPT for 'hijack-filter' in quasar.config file (if using Quasar CLI)",
|
|
13
13
|
"examples": [ "{ position: 'bottom', reverse: true }" ]
|
|
14
14
|
},
|
|
15
15
|
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"type": "Object",
|
|
55
55
|
"tsType": "QLoadingBarOptions",
|
|
56
56
|
"required": true,
|
|
57
|
-
"desc": "QAjaxBar component props
|
|
57
|
+
"desc": "QAjaxBar component props",
|
|
58
58
|
"examples": [ "{ position: 'bottom', reverse: true }" ]
|
|
59
59
|
}
|
|
60
60
|
}
|
|
@@ -30,6 +30,12 @@ function globalHandler (evt) {
|
|
|
30
30
|
while (portalIndex >= 0) {
|
|
31
31
|
const proxy = portalProxyList[ portalIndex ].$
|
|
32
32
|
|
|
33
|
+
// skip QTooltip portals
|
|
34
|
+
if (proxy.type.name === 'QTooltip') {
|
|
35
|
+
portalIndex--
|
|
36
|
+
continue
|
|
37
|
+
}
|
|
38
|
+
|
|
33
39
|
if (proxy.type.name !== 'QDialog') {
|
|
34
40
|
break
|
|
35
41
|
}
|
|
@@ -175,7 +175,7 @@ export function setPosition (cfg, retryNumber = 0) {
|
|
|
175
175
|
visibility: 'visible'
|
|
176
176
|
})
|
|
177
177
|
|
|
178
|
-
const {
|
|
178
|
+
const { offsetWidth: origElWidth, offsetHeight: origElHeight } = targetEl
|
|
179
179
|
const { elWidth, elHeight } = fit === true || cover === true
|
|
180
180
|
? { elWidth: Math.max(anchorProps.width, origElWidth), elHeight: cover === true ? Math.max(anchorProps.height, origElHeight) : origElHeight }
|
|
181
181
|
: { elWidth: origElWidth, elHeight: origElHeight }
|