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.
Files changed (182) hide show
  1. package/dist/api/BottomSheet.json +4 -0
  2. package/dist/api/Dialog.json +5 -1
  3. package/dist/api/LoadingBar.json +7 -0
  4. package/dist/api/Notify.json +20 -10
  5. package/dist/api/Platform.json +171 -0
  6. package/dist/api/QAjaxBar.json +13 -1
  7. package/dist/api/QBtnDropdown.json +4 -2
  8. package/dist/api/QEditor.json +4 -2
  9. package/dist/api/QExpansionItem.json +6 -3
  10. package/dist/api/QFab.json +4 -2
  11. package/dist/api/QFabAction.json +4 -2
  12. package/dist/api/QFile.json +5 -2
  13. package/dist/api/QImg.json +1 -2
  14. package/dist/api/QInnerLoading.json +2 -1
  15. package/dist/api/QInput.json +4 -2
  16. package/dist/api/QPagination.json +4 -2
  17. package/dist/api/QRange.json +9 -0
  18. package/dist/api/QScrollArea.json +13 -5
  19. package/dist/api/QSelect.json +6 -3
  20. package/dist/api/QSlider.json +9 -0
  21. package/dist/api/QSplitter.json +8 -4
  22. package/dist/api/QTable.json +9 -0
  23. package/dist/api/QTree.json +7 -0
  24. package/dist/api/QUploader.json +3 -1
  25. package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
  26. package/dist/icon-set/eva-icons.umd.prod.js +1 -1
  27. package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
  28. package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
  29. package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
  30. package/dist/icon-set/line-awesome.umd.prod.js +1 -1
  31. package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
  32. package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
  33. package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
  34. package/dist/icon-set/material-icons.umd.prod.js +1 -1
  35. package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
  36. package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
  37. package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
  38. package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
  39. package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
  40. package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
  41. package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
  42. package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
  43. package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
  44. package/dist/icon-set/svg-ionicons-v6.umd.prod.js +1 -1
  45. package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
  46. package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
  47. package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
  48. package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
  49. package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
  50. package/dist/icon-set/svg-mdi-v4.umd.prod.js +1 -1
  51. package/dist/icon-set/svg-mdi-v5.umd.prod.js +1 -1
  52. package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
  53. package/dist/icon-set/svg-themify.umd.prod.js +1 -1
  54. package/dist/icon-set/themify.umd.prod.js +1 -1
  55. package/dist/lang/ar.umd.prod.js +1 -1
  56. package/dist/lang/az-Latn.umd.prod.js +1 -1
  57. package/dist/lang/bg.umd.prod.js +1 -1
  58. package/dist/lang/bn.umd.prod.js +1 -1
  59. package/dist/lang/ca.umd.prod.js +1 -1
  60. package/dist/lang/cs.umd.prod.js +1 -1
  61. package/dist/lang/da.umd.prod.js +1 -1
  62. package/dist/lang/de.umd.prod.js +1 -1
  63. package/dist/lang/el.umd.prod.js +1 -1
  64. package/dist/lang/en-GB.umd.prod.js +1 -1
  65. package/dist/lang/en-US.umd.prod.js +1 -1
  66. package/dist/lang/eo.umd.prod.js +1 -1
  67. package/dist/lang/es.umd.prod.js +1 -1
  68. package/dist/lang/et.umd.prod.js +1 -1
  69. package/dist/lang/fa-IR.umd.prod.js +1 -1
  70. package/dist/lang/fa.umd.prod.js +1 -1
  71. package/dist/lang/fi.umd.prod.js +1 -1
  72. package/dist/lang/fr.umd.prod.js +1 -1
  73. package/dist/lang/gn.umd.prod.js +1 -1
  74. package/dist/lang/he.umd.prod.js +1 -1
  75. package/dist/lang/hr.umd.prod.js +1 -1
  76. package/dist/lang/hu.umd.prod.js +1 -1
  77. package/dist/lang/id.umd.prod.js +1 -1
  78. package/dist/lang/is.umd.prod.js +1 -1
  79. package/dist/lang/it.umd.prod.js +1 -1
  80. package/dist/lang/ja.umd.prod.js +1 -1
  81. package/dist/lang/km.umd.prod.js +1 -1
  82. package/dist/lang/ko-KR.umd.prod.js +1 -1
  83. package/dist/lang/kur-CKB.umd.prod.js +1 -1
  84. package/dist/lang/lt.umd.prod.js +1 -1
  85. package/dist/lang/lu.umd.prod.js +1 -1
  86. package/dist/lang/lv.umd.prod.js +1 -1
  87. package/dist/lang/ml.umd.prod.js +1 -1
  88. package/dist/lang/ms.umd.prod.js +1 -1
  89. package/dist/lang/my.umd.prod.js +1 -1
  90. package/dist/lang/nb-NO.umd.prod.js +1 -1
  91. package/dist/lang/nl.umd.prod.js +1 -1
  92. package/dist/lang/pl.umd.prod.js +1 -1
  93. package/dist/lang/pt-BR.umd.prod.js +1 -1
  94. package/dist/lang/pt.umd.prod.js +1 -1
  95. package/dist/lang/ro.umd.prod.js +1 -1
  96. package/dist/lang/ru.umd.prod.js +1 -1
  97. package/dist/lang/sk.umd.prod.js +1 -1
  98. package/dist/lang/sl.umd.prod.js +1 -1
  99. package/dist/lang/sr-CYR.umd.prod.js +1 -1
  100. package/dist/lang/sr.umd.prod.js +1 -1
  101. package/dist/lang/sv.umd.prod.js +1 -1
  102. package/dist/lang/ta.umd.prod.js +1 -1
  103. package/dist/lang/th.umd.prod.js +1 -1
  104. package/dist/lang/tr.umd.prod.js +1 -1
  105. package/dist/lang/ug.umd.prod.js +1 -1
  106. package/dist/lang/uk.umd.prod.js +1 -1
  107. package/dist/lang/vi.umd.prod.js +1 -1
  108. package/dist/lang/zh-CN.umd.prod.js +1 -1
  109. package/dist/lang/zh-TW.umd.prod.js +1 -1
  110. package/dist/quasar.cjs.prod.js +2 -2
  111. package/dist/quasar.css +8 -1
  112. package/dist/quasar.esm.prod.js +2 -2
  113. package/dist/quasar.prod.css +1 -1
  114. package/dist/quasar.rtl.css +8 -1
  115. package/dist/quasar.rtl.prod.css +1 -1
  116. package/dist/quasar.sass +7 -1
  117. package/dist/quasar.umd.js +193 -92
  118. package/dist/quasar.umd.prod.js +2 -2
  119. package/dist/ssr-directives/Morph.js +1 -1
  120. package/dist/types/api/qfile.d.ts +8 -0
  121. package/dist/types/api/qselect.d.ts +4 -0
  122. package/dist/types/api/qtable.d.ts +12 -0
  123. package/dist/types/api/qtree.d.ts +31 -0
  124. package/dist/types/api/quploader.d.ts +28 -0
  125. package/dist/types/api/slider.d.ts +6 -7
  126. package/dist/types/api/touchswipe.d.ts +11 -0
  127. package/dist/types/api/validation.d.ts +1 -1
  128. package/dist/types/api/vue-prop-types.ts +15 -0
  129. package/dist/types/api.d.ts +7 -0
  130. package/dist/types/index.d.ts +426 -415
  131. package/dist/types/ts-helpers.d.ts +6 -2
  132. package/dist/types/utils/dom.d.ts +4 -2
  133. package/dist/types/utils.d.ts +7 -2
  134. package/dist/vetur/quasar-attributes.json +34 -30
  135. package/dist/vetur/quasar-tags.json +1 -0
  136. package/dist/web-types/web-types.json +41 -31
  137. package/package.json +1 -1
  138. package/src/components/ajax-bar/QAjaxBar.js +22 -12
  139. package/src/components/ajax-bar/QAjaxBar.json +16 -1
  140. package/src/components/btn-dropdown/QBtnDropdown.json +4 -2
  141. package/src/components/date/QDate.js +6 -1
  142. package/src/components/dialog/QDialog.js +1 -1
  143. package/src/components/dialog-plugin/DialogPlugin.js +1 -1
  144. package/src/components/editor/QEditor.js +1 -1
  145. package/src/components/editor/QEditor.json +3 -1
  146. package/src/components/expansion-item/QExpansionItem.json +6 -3
  147. package/src/components/fab/use-fab.json +4 -2
  148. package/src/components/file/QFile.json +4 -2
  149. package/src/components/form/QForm.js +12 -2
  150. package/src/components/img/QImg.json +2 -3
  151. package/src/components/infinite-scroll/QInfiniteScroll.js +3 -2
  152. package/src/components/inner-loading/QInnerLoading.json +2 -1
  153. package/src/components/input/QInput.js +1 -1
  154. package/src/components/input/QInput.json +4 -2
  155. package/src/components/menu/QMenu.js +2 -1
  156. package/src/components/pagination/QPagination.json +4 -2
  157. package/src/components/scroll-area/QScrollArea.js +21 -1
  158. package/src/components/scroll-area/QScrollArea.json +13 -5
  159. package/src/components/select/QSelect.js +32 -27
  160. package/src/components/select/QSelect.json +6 -3
  161. package/src/components/select/QSelect.sass +4 -0
  162. package/src/components/slider/use-slider.json +9 -0
  163. package/src/components/splitter/QSplitter.json +8 -4
  164. package/src/components/stepper/QStep.js +19 -14
  165. package/src/components/stepper/QStepper.sass +3 -0
  166. package/src/components/table/QTable.json +9 -0
  167. package/src/components/tabs/QTabs.js +10 -2
  168. package/src/components/tree/QTree.js +8 -1
  169. package/src/components/tree/QTree.json +8 -0
  170. package/src/components/uploader/uploader-core.js +2 -0
  171. package/src/components/uploader/xhr-uploader-plugin.json +2 -1
  172. package/src/components/virtual-scroll/use-virtual-scroll.js +20 -9
  173. package/src/composables/private/use-field.js +16 -9
  174. package/src/composables/private/use-file.json +1 -0
  175. package/src/plugins/BottomSheet.json +1 -0
  176. package/src/plugins/Dialog.json +1 -0
  177. package/src/plugins/LoadingBar.js +3 -3
  178. package/src/plugins/LoadingBar.json +8 -0
  179. package/src/plugins/Notify.json +20 -10
  180. package/src/plugins/Platform.js +15 -8
  181. package/src/plugins/Platform.json +166 -0
  182. package/src/utils/private/global-dialog.json +3 -0
@@ -254,7 +254,8 @@
254
254
  ]
255
255
  },
256
256
  "badgeStyle": {
257
- "type": [ "Array", "String", "Object" ],
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": [ "Array", "String", "Object" ],
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": [ "Array", "String", "Object" ],
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": [ "Array", "String", "Object" ],
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": [ "Array", "String", "Object" ],
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": [ "Array", "String", "Object" ],
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": [ "Array", "String", "Object" ],
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": [ "Array", "String", "Object" ],
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": [ "Array", "String", "Object" ],
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": [ "Array", "String", "Object" ],
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",
@@ -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",