quasar 2.4.9 → 2.4.13
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/BottomSheet.json +4 -0
- package/dist/api/Dialog.json +5 -1
- package/dist/api/LoadingBar.json +7 -0
- package/dist/api/Notify.json +20 -10
- package/dist/api/Platform.json +171 -0
- package/dist/api/QAjaxBar.json +13 -1
- package/dist/api/QBtnDropdown.json +4 -2
- package/dist/api/QEditor.json +4 -2
- package/dist/api/QExpansionItem.json +6 -3
- package/dist/api/QFab.json +4 -2
- package/dist/api/QFabAction.json +4 -2
- package/dist/api/QFile.json +5 -2
- package/dist/api/QImg.json +1 -2
- package/dist/api/QInnerLoading.json +2 -1
- package/dist/api/QInput.json +4 -2
- package/dist/api/QPagination.json +4 -2
- package/dist/api/QRange.json +9 -0
- package/dist/api/QScrollArea.json +13 -5
- package/dist/api/QSelect.json +6 -3
- package/dist/api/QSlider.json +9 -0
- package/dist/api/QSplitter.json +8 -4
- package/dist/api/QTable.json +9 -0
- package/dist/api/QTree.json +7 -0
- package/dist/api/QUploader.json +3 -1
- 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/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/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/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-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-mdi-v4.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v5.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v6.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.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/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/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/ml.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/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/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.css +8 -1
- package/dist/quasar.esm.prod.js +2 -2
- package/dist/quasar.prod.css +1 -1
- package/dist/quasar.rtl.css +8 -1
- package/dist/quasar.rtl.prod.css +1 -1
- package/dist/quasar.sass +7 -1
- package/dist/quasar.umd.js +193 -92
- package/dist/quasar.umd.prod.js +2 -2
- package/dist/ssr-directives/Morph.js +1 -1
- package/dist/types/api/qfile.d.ts +8 -0
- package/dist/types/api/qselect.d.ts +4 -0
- package/dist/types/api/qtable.d.ts +12 -0
- package/dist/types/api/qtree.d.ts +31 -0
- package/dist/types/api/quploader.d.ts +28 -0
- package/dist/types/api/slider.d.ts +6 -7
- package/dist/types/api/touchswipe.d.ts +11 -0
- package/dist/types/api/validation.d.ts +1 -1
- package/dist/types/api/vue-prop-types.ts +15 -0
- package/dist/types/api.d.ts +7 -0
- package/dist/types/index.d.ts +426 -415
- package/dist/types/ts-helpers.d.ts +6 -2
- package/dist/types/utils/dom.d.ts +4 -2
- package/dist/types/utils.d.ts +7 -2
- package/dist/vetur/quasar-attributes.json +34 -30
- package/dist/vetur/quasar-tags.json +1 -0
- package/dist/web-types/web-types.json +41 -31
- package/package.json +1 -1
- package/src/components/ajax-bar/QAjaxBar.js +22 -12
- package/src/components/ajax-bar/QAjaxBar.json +16 -1
- package/src/components/btn-dropdown/QBtnDropdown.json +4 -2
- package/src/components/date/QDate.js +6 -1
- package/src/components/dialog/QDialog.js +1 -1
- package/src/components/dialog-plugin/DialogPlugin.js +1 -1
- package/src/components/editor/QEditor.js +1 -1
- package/src/components/editor/QEditor.json +3 -1
- package/src/components/expansion-item/QExpansionItem.json +6 -3
- package/src/components/fab/use-fab.json +4 -2
- package/src/components/file/QFile.json +4 -2
- package/src/components/form/QForm.js +12 -2
- package/src/components/img/QImg.json +2 -3
- package/src/components/infinite-scroll/QInfiniteScroll.js +3 -2
- package/src/components/inner-loading/QInnerLoading.json +2 -1
- package/src/components/input/QInput.js +1 -1
- package/src/components/input/QInput.json +4 -2
- package/src/components/menu/QMenu.js +2 -1
- package/src/components/pagination/QPagination.json +4 -2
- package/src/components/scroll-area/QScrollArea.js +21 -1
- package/src/components/scroll-area/QScrollArea.json +13 -5
- package/src/components/select/QSelect.js +32 -27
- package/src/components/select/QSelect.json +6 -3
- package/src/components/select/QSelect.sass +4 -0
- package/src/components/slider/use-slider.json +9 -0
- package/src/components/splitter/QSplitter.json +8 -4
- package/src/components/stepper/QStep.js +19 -14
- package/src/components/stepper/QStepper.sass +3 -0
- package/src/components/table/QTable.json +9 -0
- package/src/components/tabs/QTabs.js +10 -2
- package/src/components/tree/QTree.js +8 -1
- package/src/components/tree/QTree.json +8 -0
- package/src/components/uploader/uploader-core.js +2 -0
- package/src/components/uploader/xhr-uploader-plugin.json +2 -1
- package/src/components/virtual-scroll/use-virtual-scroll.js +20 -9
- package/src/composables/private/use-field.js +16 -9
- package/src/composables/private/use-file.json +1 -0
- package/src/plugins/BottomSheet.json +1 -0
- package/src/plugins/Dialog.json +1 -0
- package/src/plugins/LoadingBar.js +3 -3
- package/src/plugins/LoadingBar.json +8 -0
- package/src/plugins/Notify.json +20 -10
- package/src/plugins/Platform.js +15 -8
- package/src/plugins/Platform.json +166 -0
- package/src/utils/private/global-dialog.json +3 -0
package/src/plugins/Notify.json
CHANGED
|
@@ -254,7 +254,8 @@
|
|
|
254
254
|
]
|
|
255
255
|
},
|
|
256
256
|
"badgeStyle": {
|
|
257
|
-
"type": [ "
|
|
257
|
+
"type": [ "String", "Array", "Object" ],
|
|
258
|
+
"tsType": "VueStyleProp",
|
|
258
259
|
"desc": "Style definitions to be attributed to the badge",
|
|
259
260
|
"examples": [
|
|
260
261
|
"background-color: #ff0000",
|
|
@@ -262,7 +263,8 @@
|
|
|
262
263
|
]
|
|
263
264
|
},
|
|
264
265
|
"badgeClass": {
|
|
265
|
-
"type": [ "
|
|
266
|
+
"type": [ "String", "Array", "Object" ],
|
|
267
|
+
"tsType": "VueClassProp",
|
|
266
268
|
"desc": "Class definitions to be attributed to the badge",
|
|
267
269
|
"examples": [
|
|
268
270
|
"my-special-class",
|
|
@@ -275,7 +277,8 @@
|
|
|
275
277
|
"desc": "Show progress bar to detail when notification will disappear automatically (unless timeout is 0)"
|
|
276
278
|
},
|
|
277
279
|
"progressClass": {
|
|
278
|
-
"type": [ "
|
|
280
|
+
"type": [ "String", "Array", "Object" ],
|
|
281
|
+
"tsType": "VueClassProp",
|
|
279
282
|
"desc": "Class definitions to be attributed to the progress bar",
|
|
280
283
|
"examples": [
|
|
281
284
|
"my-special-class",
|
|
@@ -406,7 +409,8 @@
|
|
|
406
409
|
"desc": "Show progress bar to detail when notification will disappear automatically (unless timeout is 0)"
|
|
407
410
|
},
|
|
408
411
|
"progressClass": {
|
|
409
|
-
"type": [ "
|
|
412
|
+
"type": [ "String", "Array", "Object" ],
|
|
413
|
+
"tsType": "VueClassProp",
|
|
410
414
|
"desc": "Class definitions to be attributed to the progress bar",
|
|
411
415
|
"examples": [
|
|
412
416
|
"my-special-class",
|
|
@@ -566,7 +570,8 @@
|
|
|
566
570
|
"examples": [ "bottom-right" ]
|
|
567
571
|
},
|
|
568
572
|
"badgeStyle": {
|
|
569
|
-
"type": [ "
|
|
573
|
+
"type": [ "String", "Array", "Object" ],
|
|
574
|
+
"tsType": "VueStyleProp",
|
|
570
575
|
"desc": "Style definitions to be attributed to the badge",
|
|
571
576
|
"examples": [
|
|
572
577
|
"background-color: #ff0000",
|
|
@@ -574,7 +579,8 @@
|
|
|
574
579
|
]
|
|
575
580
|
},
|
|
576
581
|
"badgeClass": {
|
|
577
|
-
"type": [ "
|
|
582
|
+
"type": [ "String", "Array", "Object" ],
|
|
583
|
+
"tsType": "VueClassProp",
|
|
578
584
|
"desc": "Class definitions to be attributed to the badge",
|
|
579
585
|
"examples": [
|
|
580
586
|
"my-special-class",
|
|
@@ -587,7 +593,8 @@
|
|
|
587
593
|
"desc": "Show progress bar to detail when notification will disappear automatically (unless timeout is 0)"
|
|
588
594
|
},
|
|
589
595
|
"progressClass": {
|
|
590
|
-
"type": [ "
|
|
596
|
+
"type": [ "String", "Array", "Object" ],
|
|
597
|
+
"tsType": "VueClassProp",
|
|
591
598
|
"desc": "Class definitions to be attributed to the progress bar",
|
|
592
599
|
"examples": [
|
|
593
600
|
"my-special-class",
|
|
@@ -746,7 +753,8 @@
|
|
|
746
753
|
"examples": [ "bottom-right" ]
|
|
747
754
|
},
|
|
748
755
|
"badgeStyle": {
|
|
749
|
-
"type": [ "
|
|
756
|
+
"type": [ "String", "Array", "Object" ],
|
|
757
|
+
"tsType": "VueStyleProp",
|
|
750
758
|
"desc": "Style definitions to be attributed to the badge",
|
|
751
759
|
"examples": [
|
|
752
760
|
"background-color: #ff0000",
|
|
@@ -754,7 +762,8 @@
|
|
|
754
762
|
]
|
|
755
763
|
},
|
|
756
764
|
"badgeClass": {
|
|
757
|
-
"type": [ "
|
|
765
|
+
"type": [ "String", "Array", "Object" ],
|
|
766
|
+
"tsType": "VueClassProp",
|
|
758
767
|
"desc": "Class definitions to be attributed to the badge",
|
|
759
768
|
"examples": [
|
|
760
769
|
"my-special-class",
|
|
@@ -767,7 +776,8 @@
|
|
|
767
776
|
"desc": "Show progress bar to detail when notification will disappear automatically (unless timeout is 0)"
|
|
768
777
|
},
|
|
769
778
|
"progressClass": {
|
|
770
|
-
"type": [ "
|
|
779
|
+
"type": [ "String", "Array", "Object" ],
|
|
780
|
+
"tsType": "VueClassProp",
|
|
771
781
|
"desc": "Class definitions to be attributed to the progress bar",
|
|
772
782
|
"examples": [
|
|
773
783
|
"my-special-class",
|
package/src/plugins/Platform.js
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
/* eslint-disable no-useless-escape */
|
|
2
|
-
/* eslint-disable no-unused-expressions */
|
|
3
|
-
/* eslint-disable no-mixed-operators */
|
|
4
2
|
|
|
5
3
|
import { ref, reactive } from 'vue'
|
|
6
4
|
import { injectProp } from '../utils/private/inject-obj-prop'
|
|
@@ -25,19 +23,15 @@ export let iosEmulated = false
|
|
|
25
23
|
export let iosCorrection
|
|
26
24
|
|
|
27
25
|
function getMatch (userAgent, platformMatch) {
|
|
28
|
-
const match = /(edge|edga|edgios)\/([\w.]+)/.exec(userAgent)
|
|
26
|
+
const match = /(edg|edge|edga|edgios)\/([\w.]+)/.exec(userAgent)
|
|
29
27
|
|| /(opr)[\/]([\w.]+)/.exec(userAgent)
|
|
30
28
|
|| /(vivaldi)[\/]([\w.]+)/.exec(userAgent)
|
|
31
29
|
|| /(chrome|crios)[\/]([\w.]+)/.exec(userAgent)
|
|
32
|
-
|| /(iemobile)[\/]([\w.]+)/.exec(userAgent)
|
|
33
30
|
|| /(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(userAgent)
|
|
34
31
|
|| /(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(userAgent)
|
|
35
32
|
|| /(firefox|fxios)[\/]([\w.]+)/.exec(userAgent)
|
|
36
33
|
|| /(webkit)[\/]([\w.]+)/.exec(userAgent)
|
|
37
34
|
|| /(opera)(?:.*version|)[\/]([\w.]+)/.exec(userAgent)
|
|
38
|
-
|| /(msie) ([\w.]+)/.exec(userAgent)
|
|
39
|
-
|| (userAgent.indexOf('trident') >= 0 && /(rv)(?::| )([\w.]+)/.exec(userAgent))
|
|
40
|
-
|| (userAgent.indexOf('compatible') < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(userAgent))
|
|
41
35
|
|| []
|
|
42
36
|
|
|
43
37
|
return {
|
|
@@ -60,6 +54,8 @@ function getPlatformMatch (userAgent) {
|
|
|
60
54
|
|| /(mac)/.exec(userAgent)
|
|
61
55
|
|| /(linux)/.exec(userAgent)
|
|
62
56
|
|| /(cros)/.exec(userAgent)
|
|
57
|
+
// TODO: Remove BlackBerry detection. BlackBerry OS, BlackBerry 10, and BlackBerry PlayBook OS
|
|
58
|
+
// is officially dead as of January 4, 2022 (https://www.blackberry.com/us/en/support/devices/end-of-life)
|
|
63
59
|
|| /(playbook)/.exec(userAgent)
|
|
64
60
|
|| /(bb)/.exec(userAgent)
|
|
65
61
|
|| /(blackberry)/.exec(userAgent)
|
|
@@ -151,6 +147,10 @@ function getPlatform (UA) {
|
|
|
151
147
|
delete browser[ 'windows phone' ]
|
|
152
148
|
}
|
|
153
149
|
|
|
150
|
+
// TODO: The assumption about WebKit based browsers below is not completely accurate.
|
|
151
|
+
// Google released Blink(a fork of WebKit) engine on April 3, 2013, which is really different than WebKit today.
|
|
152
|
+
// Today, one might want to check for WebKit to deal with its bugs, which is used on all browsers on iOS, and Safari browser on all platforms.
|
|
153
|
+
|
|
154
154
|
// Chrome, Opera 15+, Vivaldi and Safari are webkit based browsers
|
|
155
155
|
if (
|
|
156
156
|
browser.chrome
|
|
@@ -167,8 +167,15 @@ function getPlatform (UA) {
|
|
|
167
167
|
browser.webkit = true
|
|
168
168
|
}
|
|
169
169
|
|
|
170
|
+
// TODO: (Qv3) rename the terms 'edge' to 'edge legacy'(or remove it) then 'edge chromium' to 'edge' to match with the known up-to-date terms
|
|
171
|
+
// Microsoft Edge is the new Chromium-based browser. Microsoft Edge Legacy is the old EdgeHTML-based browser (EOL: March 9, 2021).
|
|
172
|
+
if (browser.edg) {
|
|
173
|
+
matched.browser = 'edgechromium'
|
|
174
|
+
browser.edgeChromium = true
|
|
175
|
+
}
|
|
176
|
+
|
|
170
177
|
// Blackberry browsers are marked as Safari on BlackBerry
|
|
171
|
-
if (browser.safari && browser.blackberry || browser.bb) {
|
|
178
|
+
if ((browser.safari && browser.blackberry) || browser.bb) {
|
|
172
179
|
matched.browser = 'blackberry'
|
|
173
180
|
browser.blackberry = true
|
|
174
181
|
}
|
|
@@ -17,6 +17,172 @@
|
|
|
17
17
|
"is": {
|
|
18
18
|
"type": "Object",
|
|
19
19
|
"desc": "Client browser details (property names depend on browser)",
|
|
20
|
+
"definition": {
|
|
21
|
+
"name": {
|
|
22
|
+
"type": "String",
|
|
23
|
+
"desc": "Browser name",
|
|
24
|
+
"examples": [ "chrome" ]
|
|
25
|
+
},
|
|
26
|
+
"platform": {
|
|
27
|
+
"type": "String",
|
|
28
|
+
"desc": "Platform name",
|
|
29
|
+
"examples": [ "mac" ]
|
|
30
|
+
},
|
|
31
|
+
"version": {
|
|
32
|
+
"type": "String",
|
|
33
|
+
"required": false,
|
|
34
|
+
"desc": "Detailed browser version",
|
|
35
|
+
"examples": [ "71.0.3578.98" ]
|
|
36
|
+
},
|
|
37
|
+
"versionNumber": {
|
|
38
|
+
"type": "Number",
|
|
39
|
+
"required": false,
|
|
40
|
+
"desc": "Major browser version as a number",
|
|
41
|
+
"examples": [ 71 ]
|
|
42
|
+
},
|
|
43
|
+
|
|
44
|
+
"desktop": {
|
|
45
|
+
"type": "Boolean",
|
|
46
|
+
"required": false,
|
|
47
|
+
"desc": "Whether the platform is desktop"
|
|
48
|
+
},
|
|
49
|
+
"mobile": {
|
|
50
|
+
"type": "Boolean",
|
|
51
|
+
"required": false,
|
|
52
|
+
"desc": "Whether the platform is mobile"
|
|
53
|
+
},
|
|
54
|
+
"electron": {
|
|
55
|
+
"type": "Boolean",
|
|
56
|
+
"required": false,
|
|
57
|
+
"desc": "Whether the platform is Electron"
|
|
58
|
+
},
|
|
59
|
+
"bex": {
|
|
60
|
+
"type": "Boolean",
|
|
61
|
+
"required": false,
|
|
62
|
+
"desc": "Whether the platform is BEX(Browser Extension)"
|
|
63
|
+
},
|
|
64
|
+
"capacitor": {
|
|
65
|
+
"type": "Boolean",
|
|
66
|
+
"required": false,
|
|
67
|
+
"desc": "Whether the platform is Capacitor"
|
|
68
|
+
},
|
|
69
|
+
"cordova": {
|
|
70
|
+
"type": "Boolean",
|
|
71
|
+
"required": false,
|
|
72
|
+
"desc": "Whether the platform is Cordova"
|
|
73
|
+
},
|
|
74
|
+
"nativeMobile": {
|
|
75
|
+
"type": "Boolean",
|
|
76
|
+
"required": false,
|
|
77
|
+
"desc": "Whether the platform is a native mobile wrapper"
|
|
78
|
+
},
|
|
79
|
+
"nativeMobileWrapper": {
|
|
80
|
+
"type": "String",
|
|
81
|
+
"required": false,
|
|
82
|
+
"values": ["cordova", "capacitor"],
|
|
83
|
+
"desc": "Type of the native mobile wrapper"
|
|
84
|
+
},
|
|
85
|
+
|
|
86
|
+
"chrome": {
|
|
87
|
+
"type": "Boolean",
|
|
88
|
+
"required": false,
|
|
89
|
+
"desc": "Whether the browser is Google Chrome"
|
|
90
|
+
},
|
|
91
|
+
"firefox": {
|
|
92
|
+
"type": "Boolean",
|
|
93
|
+
"required": false,
|
|
94
|
+
"desc": "Whether the browser is Firefox"
|
|
95
|
+
},
|
|
96
|
+
"safari": {
|
|
97
|
+
"type": "Boolean",
|
|
98
|
+
"required": false,
|
|
99
|
+
"desc": "Whether the browser is Safari"
|
|
100
|
+
},
|
|
101
|
+
"edgeChromium": {
|
|
102
|
+
"type": "Boolean",
|
|
103
|
+
"required": false,
|
|
104
|
+
"desc": "Whether the browser is Microsoft Edge (Chromium)"
|
|
105
|
+
},
|
|
106
|
+
"edge": {
|
|
107
|
+
"type": "Boolean",
|
|
108
|
+
"required": false,
|
|
109
|
+
"desc": "Whether the browser is Microsoft Edge Legacy"
|
|
110
|
+
},
|
|
111
|
+
"opera": {
|
|
112
|
+
"type": "Boolean",
|
|
113
|
+
"required": false,
|
|
114
|
+
"desc": "Whether the browser is Opera"
|
|
115
|
+
},
|
|
116
|
+
"vivaldi": {
|
|
117
|
+
"type": "Boolean",
|
|
118
|
+
"required": false,
|
|
119
|
+
"desc": "Whether the browser is Vivaldi"
|
|
120
|
+
},
|
|
121
|
+
|
|
122
|
+
"win": {
|
|
123
|
+
"type": "Boolean",
|
|
124
|
+
"required": false,
|
|
125
|
+
"desc": "Whether the operating system is Windows"
|
|
126
|
+
},
|
|
127
|
+
"linux": {
|
|
128
|
+
"type": "Boolean",
|
|
129
|
+
"required": false,
|
|
130
|
+
"desc": "Whether the operating system is Linux"
|
|
131
|
+
},
|
|
132
|
+
"mac": {
|
|
133
|
+
"type": "Boolean",
|
|
134
|
+
"required": false,
|
|
135
|
+
"desc": "Whether the operating system is Mac OS"
|
|
136
|
+
},
|
|
137
|
+
"cros": {
|
|
138
|
+
"type": "Boolean",
|
|
139
|
+
"required": false,
|
|
140
|
+
"desc": "Whether the operating system is Chrome OS"
|
|
141
|
+
},
|
|
142
|
+
|
|
143
|
+
"android": {
|
|
144
|
+
"type": "Boolean",
|
|
145
|
+
"required": false,
|
|
146
|
+
"desc": "Whether the operating system is Android"
|
|
147
|
+
},
|
|
148
|
+
"ios": {
|
|
149
|
+
"type": "Boolean",
|
|
150
|
+
"required": false,
|
|
151
|
+
"desc": "Whether the operating system is iOS"
|
|
152
|
+
},
|
|
153
|
+
"winphone": {
|
|
154
|
+
"type": "Boolean",
|
|
155
|
+
"required": false,
|
|
156
|
+
"desc": "Whether the operating system is Windows Phone"
|
|
157
|
+
},
|
|
158
|
+
|
|
159
|
+
"iphone": {
|
|
160
|
+
"type": "Boolean",
|
|
161
|
+
"required": false,
|
|
162
|
+
"desc": "Whether the device is an iPhone"
|
|
163
|
+
},
|
|
164
|
+
"ipad": {
|
|
165
|
+
"type": "Boolean",
|
|
166
|
+
"required": false,
|
|
167
|
+
"desc": "Whether the device is an iPad"
|
|
168
|
+
},
|
|
169
|
+
"ipod": {
|
|
170
|
+
"type": "Boolean",
|
|
171
|
+
"required": false,
|
|
172
|
+
"desc": "Whether the device is an iPod"
|
|
173
|
+
},
|
|
174
|
+
|
|
175
|
+
"kindle": {
|
|
176
|
+
"type": "Boolean",
|
|
177
|
+
"required": false,
|
|
178
|
+
"desc": "Whether the device is a Kindle"
|
|
179
|
+
},
|
|
180
|
+
"silk": {
|
|
181
|
+
"type": "Boolean",
|
|
182
|
+
"required": false,
|
|
183
|
+
"desc": "Whether the browser is Amazon Silk"
|
|
184
|
+
}
|
|
185
|
+
},
|
|
20
186
|
"examples": [
|
|
21
187
|
"{ chrome: true, version: '71.0.3578.98', versionNumber: 71, mac: true, desktop: true, webkit: true, name: 'chrome', platform: 'mac' }"
|
|
22
188
|
]
|
|
@@ -9,12 +9,14 @@
|
|
|
9
9
|
"definition": {
|
|
10
10
|
"class": {
|
|
11
11
|
"type": [ "String", "Array", "Object" ],
|
|
12
|
+
"tsType": "VueClassProp",
|
|
12
13
|
"desc": "CSS Class name to apply to the Dialog's QCard",
|
|
13
14
|
"examples": [ "my-class" ]
|
|
14
15
|
},
|
|
15
16
|
|
|
16
17
|
"style": {
|
|
17
18
|
"type": [ "String", "Array", "Object" ],
|
|
19
|
+
"tsType": "VueStyleProp",
|
|
18
20
|
"desc": "CSS style to apply to the Dialog's QCard",
|
|
19
21
|
"examples": [ "border: 2px solid black" ]
|
|
20
22
|
}
|
|
@@ -26,6 +28,7 @@
|
|
|
26
28
|
"type": "Object",
|
|
27
29
|
"desc": "Chainable Object",
|
|
28
30
|
"tsType": "DialogChainObject",
|
|
31
|
+
"autoDefineTsType": true,
|
|
29
32
|
"definition": {
|
|
30
33
|
"onOk": {
|
|
31
34
|
"type": "Function",
|