quasar 2.4.10 → 2.5.0

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 (228) 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/QCheckbox.json +27 -0
  9. package/dist/api/QEditor.json +4 -2
  10. package/dist/api/QExpansionItem.json +6 -3
  11. package/dist/api/QFab.json +4 -2
  12. package/dist/api/QFabAction.json +4 -2
  13. package/dist/api/QFile.json +4 -2
  14. package/dist/api/QImg.json +1 -2
  15. package/dist/api/QInnerLoading.json +2 -1
  16. package/dist/api/QInput.json +4 -2
  17. package/dist/api/QPagination.json +4 -2
  18. package/dist/api/QRadio.json +18 -0
  19. package/dist/api/QRange.json +9 -0
  20. package/dist/api/QScrollArea.json +13 -5
  21. package/dist/api/QSelect.json +6 -3
  22. package/dist/api/QSlider.json +9 -0
  23. package/dist/api/QSplitter.json +8 -4
  24. package/dist/api/QTable.json +9 -0
  25. package/dist/api/QTime.json +8 -2
  26. package/dist/api/QToggle.json +24 -24
  27. package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
  28. package/dist/icon-set/eva-icons.umd.prod.js +1 -1
  29. package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
  30. package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
  31. package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
  32. package/dist/icon-set/line-awesome.umd.prod.js +1 -1
  33. package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
  34. package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
  35. package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
  36. package/dist/icon-set/material-icons.umd.prod.js +1 -1
  37. package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
  38. package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
  39. package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
  40. package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
  41. package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
  42. package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
  43. package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
  44. package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
  45. package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
  46. package/dist/icon-set/svg-ionicons-v6.umd.prod.js +1 -1
  47. package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
  48. package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
  49. package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
  50. package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
  51. package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
  52. package/dist/icon-set/svg-mdi-v4.umd.prod.js +1 -1
  53. package/dist/icon-set/svg-mdi-v5.umd.prod.js +1 -1
  54. package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
  55. package/dist/icon-set/svg-themify.umd.prod.js +1 -1
  56. package/dist/icon-set/themify.umd.prod.js +1 -1
  57. package/dist/lang/ar.umd.prod.js +1 -1
  58. package/dist/lang/az-Latn.umd.prod.js +1 -1
  59. package/dist/lang/bg.umd.prod.js +1 -1
  60. package/dist/lang/bn.umd.prod.js +1 -1
  61. package/dist/lang/ca.umd.prod.js +1 -1
  62. package/dist/lang/cs.umd.prod.js +1 -1
  63. package/dist/lang/da.umd.prod.js +1 -1
  64. package/dist/lang/de.umd.prod.js +1 -1
  65. package/dist/lang/el.umd.prod.js +1 -1
  66. package/dist/lang/en-GB.umd.prod.js +1 -1
  67. package/dist/lang/en-US.umd.prod.js +1 -1
  68. package/dist/lang/eo.umd.prod.js +1 -1
  69. package/dist/lang/es.umd.prod.js +1 -1
  70. package/dist/lang/et.umd.prod.js +1 -1
  71. package/dist/lang/fa-IR.umd.prod.js +1 -1
  72. package/dist/lang/fa.umd.prod.js +1 -1
  73. package/dist/lang/fi.umd.prod.js +1 -1
  74. package/dist/lang/fr.umd.prod.js +1 -1
  75. package/dist/lang/gn.umd.prod.js +1 -1
  76. package/dist/lang/he.umd.prod.js +1 -1
  77. package/dist/lang/hr.umd.prod.js +1 -1
  78. package/dist/lang/hu.umd.prod.js +1 -1
  79. package/dist/lang/id.umd.prod.js +1 -1
  80. package/dist/lang/is.umd.prod.js +1 -1
  81. package/dist/lang/it.umd.prod.js +1 -1
  82. package/dist/lang/ja.umd.prod.js +1 -1
  83. package/dist/lang/km.umd.prod.js +1 -1
  84. package/dist/lang/ko-KR.umd.prod.js +1 -1
  85. package/dist/lang/kur-CKB.umd.prod.js +1 -1
  86. package/dist/lang/lt.umd.prod.js +1 -1
  87. package/dist/lang/lu.umd.prod.js +1 -1
  88. package/dist/lang/lv.umd.prod.js +1 -1
  89. package/dist/lang/ml.umd.prod.js +1 -1
  90. package/dist/lang/ms.umd.prod.js +1 -1
  91. package/dist/lang/my.umd.prod.js +1 -1
  92. package/dist/lang/nb-NO.umd.prod.js +1 -1
  93. package/dist/lang/nl.umd.prod.js +1 -1
  94. package/dist/lang/pl.umd.prod.js +1 -1
  95. package/dist/lang/pt-BR.umd.prod.js +1 -1
  96. package/dist/lang/pt.umd.prod.js +1 -1
  97. package/dist/lang/ro.umd.prod.js +1 -1
  98. package/dist/lang/ru.umd.prod.js +1 -1
  99. package/dist/lang/sk.umd.prod.js +1 -1
  100. package/dist/lang/sl.umd.prod.js +1 -1
  101. package/dist/lang/sr-CYR.umd.prod.js +1 -1
  102. package/dist/lang/sr.umd.prod.js +1 -1
  103. package/dist/lang/sv.umd.prod.js +1 -1
  104. package/dist/lang/ta.umd.prod.js +1 -1
  105. package/dist/lang/th.umd.prod.js +1 -1
  106. package/dist/lang/tr.umd.prod.js +1 -1
  107. package/dist/lang/ug.umd.prod.js +1 -1
  108. package/dist/lang/uk.umd.prod.js +1 -1
  109. package/dist/lang/vi.umd.prod.js +1 -1
  110. package/dist/lang/zh-CN.umd.prod.js +1 -1
  111. package/dist/lang/zh-TW.umd.prod.js +1 -1
  112. package/dist/quasar.cjs.prod.js +2 -2
  113. package/dist/quasar.css +39 -10
  114. package/dist/quasar.esm.prod.js +2 -2
  115. package/dist/quasar.prod.css +1 -1
  116. package/dist/quasar.rtl.css +56 -23
  117. package/dist/quasar.rtl.prod.css +1 -1
  118. package/dist/quasar.sass +32 -11
  119. package/dist/quasar.umd.js +276 -118
  120. package/dist/quasar.umd.prod.js +2 -2
  121. package/dist/ssr-directives/Morph.js +1 -1
  122. package/dist/transforms/auto-import.json +39 -3
  123. package/dist/transforms/import-map.json +18 -0
  124. package/dist/types/api/slider.d.ts +6 -7
  125. package/dist/types/api/validation.d.ts +1 -1
  126. package/dist/types/api/vue-prop-types.ts +15 -0
  127. package/dist/types/api.d.ts +1 -0
  128. package/dist/types/index.d.ts +246 -188
  129. package/dist/types/utils/dom.d.ts +4 -2
  130. package/dist/types/utils.d.ts +3 -1
  131. package/dist/vetur/quasar-attributes.json +62 -42
  132. package/dist/vetur/quasar-tags.json +8 -3
  133. package/dist/web-types/web-types.json +103 -58
  134. package/package.json +13 -3
  135. package/src/components/ajax-bar/QAjaxBar.js +22 -12
  136. package/src/components/ajax-bar/QAjaxBar.json +16 -1
  137. package/src/components/avatar/__tests__/QAvatar.spec.js +121 -0
  138. package/src/components/badge/__tests__/QBadge.spec.js +74 -0
  139. package/src/components/breadcrumbs/QBreadcrumbs.js +1 -1
  140. package/src/components/btn/__tests__/QBtn.spec.js +55 -0
  141. package/src/components/btn/__tests__/use-btn.spec.js +189 -0
  142. package/src/components/btn-dropdown/QBtnDropdown.json +4 -2
  143. package/src/components/checkbox/QCheckbox.js +34 -3
  144. package/src/components/checkbox/QCheckbox.json +17 -0
  145. package/src/components/checkbox/QCheckbox.sass +17 -5
  146. package/src/components/checkbox/use-checkbox.js +4 -0
  147. package/src/components/checkbox/use-checkbox.json +18 -0
  148. package/src/components/chip/__tests__/QChip.spec.js +155 -0
  149. package/src/components/date/__tests__/QDate.spec.js +189 -0
  150. package/src/components/date/__tests__/use-datetime.spec.js +83 -0
  151. package/src/components/dialog/QDialog.js +1 -1
  152. package/src/components/dialog/__tests__/QDialog.spec.js +129 -0
  153. package/src/components/editor/QEditor.js +1 -1
  154. package/src/components/editor/QEditor.json +3 -1
  155. package/src/components/editor/__tests__/QEditor.spec.js +195 -0
  156. package/src/components/expansion-item/QExpansionItem.json +6 -3
  157. package/src/components/fab/use-fab.json +4 -2
  158. package/src/components/file/QFile.json +4 -2
  159. package/src/components/form/QForm.js +12 -2
  160. package/src/components/img/QImg.json +2 -3
  161. package/src/components/infinite-scroll/QInfiniteScroll.js +3 -2
  162. package/src/components/inner-loading/QInnerLoading.json +2 -1
  163. package/src/components/input/QInput.js +10 -1
  164. package/src/components/input/QInput.json +4 -2
  165. package/src/components/input/__tests__/QInput.spec.js +105 -0
  166. package/src/components/input/__tests__/use-mask.spec.js +29 -0
  167. package/src/components/menu/QMenu.js +2 -1
  168. package/src/components/menu/__tests__/QMenu.spec.js +610 -0
  169. package/src/components/menu/__tests__/WrapperOne.vue +51 -0
  170. package/src/components/menu/__tests__/WrapperTwo.vue +38 -0
  171. package/src/components/pagination/QPagination.json +4 -2
  172. package/src/components/radio/QRadio.js +26 -1
  173. package/src/components/radio/QRadio.json +16 -0
  174. package/src/components/radio/QRadio.sass +17 -6
  175. package/src/components/scroll-area/QScrollArea.js +21 -1
  176. package/src/components/scroll-area/QScrollArea.json +13 -5
  177. package/src/components/select/QSelect.js +13 -9
  178. package/src/components/select/QSelect.json +6 -3
  179. package/src/components/select/QSelect.sass +1 -0
  180. package/src/components/select/__tests__/QSelect.spec.js +2003 -0
  181. package/src/components/select/__tests__/WrapperOne.vue +28 -0
  182. package/src/components/slider/use-slider.json +9 -0
  183. package/src/components/splitter/QSplitter.json +8 -4
  184. package/src/components/stepper/QStep.js +19 -14
  185. package/src/components/stepper/QStepper.sass +3 -0
  186. package/src/components/table/QTable.json +9 -0
  187. package/src/components/table/__tests__/QTable.spec.js +635 -0
  188. package/src/components/table/__tests__/QTd.spec.js +35 -0
  189. package/src/components/table/__tests__/QTh.spec.js +27 -0
  190. package/src/components/table/__tests__/QTr.spec.js +27 -0
  191. package/src/components/tabs/QTabs.js +10 -2
  192. package/src/components/tabs/__tests__/QRouteTab.spec.js +9 -0
  193. package/src/components/tabs/__tests__/QTab.spec.js +79 -0
  194. package/src/components/tabs/__tests__/QTabs.spec.js +147 -0
  195. package/src/components/time/QTime.json +2 -2
  196. package/src/components/toggle/QToggle.js +5 -13
  197. package/src/components/toggle/QToggle.json +3 -12
  198. package/src/components/tree/QTree.js +5 -3
  199. package/src/components/uploader/__tests__/QUploader.spec.js +161 -0
  200. package/src/components/virtual-scroll/use-virtual-scroll.js +20 -9
  201. package/src/composables/private/__tests__/FieldWrapper.vue +39 -0
  202. package/src/composables/private/__tests__/use-anchor.spec.js +99 -0
  203. package/src/composables/private/__tests__/use-field.spec.js +351 -0
  204. package/src/composables/private/__tests__/use-file.spec.js +69 -0
  205. package/src/composables/private/__tests__/use-form.spec.js +11 -0
  206. package/src/composables/private/__tests__/use-fullscreen.spec.js +37 -0
  207. package/src/composables/private/__tests__/use-model-toggle.spec.js +306 -0
  208. package/src/composables/private/__tests__/use-portal.spec.js +4 -0
  209. package/src/composables/private/__tests__/use-router-link.spec.js +55 -0
  210. package/src/composables/private/__tests__/use-size.spec.js +37 -0
  211. package/src/composables/private/__tests__/use-transition.spec.js +108 -0
  212. package/src/composables/private/__tests__/use-validate.spec.js +111 -0
  213. package/src/composables/private/use-field.js +16 -9
  214. package/src/composables/private/use-fullscreen.js +1 -1
  215. package/src/composables/private/use-model-toggle.js +1 -1
  216. package/src/composables/private/use-validate.js +9 -5
  217. package/src/plugins/BottomSheet.json +1 -0
  218. package/src/plugins/Dialog.json +1 -0
  219. package/src/plugins/LoadingBar.js +3 -3
  220. package/src/plugins/LoadingBar.json +8 -0
  221. package/src/plugins/Meta.js +1 -1
  222. package/src/plugins/Notify.json +20 -10
  223. package/src/plugins/Platform.js +15 -8
  224. package/src/plugins/Platform.json +166 -0
  225. package/src/plugins/Screen.js +11 -8
  226. package/src/utils/date.js +5 -5
  227. package/src/utils/private/global-dialog.json +3 -0
  228. package/src/utils/private/vm.js +14 -8
@@ -18,6 +18,7 @@
18
18
  "Array",
19
19
  "Object"
20
20
  ],
21
+ "tsType": "VueClassProp",
21
22
  "desc": "CSS Class name to apply to the Dialog's QCard",
22
23
  "examples": [
23
24
  "my-class"
@@ -29,6 +30,7 @@
29
30
  "Array",
30
31
  "Object"
31
32
  ],
33
+ "tsType": "VueStyleProp",
32
34
  "desc": "CSS style to apply to the Dialog's QCard",
33
35
  "examples": [
34
36
  "border: 2px solid black"
@@ -58,6 +60,7 @@
58
60
  "Array",
59
61
  "Object"
60
62
  ],
63
+ "tsType": "VueClassProp",
61
64
  "desc": "CSS classes for this action",
62
65
  "examples": [
63
66
  "my-class"
@@ -128,6 +131,7 @@
128
131
  "type": "Object",
129
132
  "desc": "Chainable Object",
130
133
  "tsType": "DialogChainObject",
134
+ "autoDefineTsType": true,
131
135
  "definition": {
132
136
  "onOk": {
133
137
  "type": "Function",
@@ -18,6 +18,7 @@
18
18
  "Array",
19
19
  "Object"
20
20
  ],
21
+ "tsType": "VueClassProp",
21
22
  "desc": "CSS Class name to apply to the Dialog's QCard",
22
23
  "examples": [
23
24
  "my-class"
@@ -29,6 +30,7 @@
29
30
  "Array",
30
31
  "Object"
31
32
  ],
33
+ "tsType": "VueStyleProp",
32
34
  "desc": "CSS style to apply to the Dialog's QCard",
33
35
  "examples": [
34
36
  "border: 2px solid black"
@@ -384,13 +386,15 @@
384
386
  }
385
387
  },
386
388
  "desc": "Dialog options",
387
- "tsType": "QDialogOptions"
389
+ "tsType": "QDialogOptions",
390
+ "autoDefineTsType": true
388
391
  }
389
392
  },
390
393
  "returns": {
391
394
  "type": "Object",
392
395
  "desc": "Chainable Object",
393
396
  "tsType": "DialogChainObject",
397
+ "autoDefineTsType": true,
394
398
  "definition": {
395
399
  "onOk": {
396
400
  "type": "Function",
@@ -13,6 +13,13 @@
13
13
  }
14
14
  }
15
15
  },
16
+ "props": {
17
+ "isActive": {
18
+ "type": "Boolean",
19
+ "desc": "Is LoadingBar active?",
20
+ "reactive": true
21
+ }
22
+ },
16
23
  "methods": {
17
24
  "start": {
18
25
  "desc": "Notify bar you've started a background activity",
@@ -355,10 +355,11 @@
355
355
  },
356
356
  "badgeStyle": {
357
357
  "type": [
358
- "Array",
359
358
  "String",
359
+ "Array",
360
360
  "Object"
361
361
  ],
362
+ "tsType": "VueStyleProp",
362
363
  "desc": "Style definitions to be attributed to the badge",
363
364
  "examples": [
364
365
  "background-color: #ff0000",
@@ -367,10 +368,11 @@
367
368
  },
368
369
  "badgeClass": {
369
370
  "type": [
370
- "Array",
371
371
  "String",
372
+ "Array",
372
373
  "Object"
373
374
  ],
375
+ "tsType": "VueClassProp",
374
376
  "desc": "Class definitions to be attributed to the badge",
375
377
  "examples": [
376
378
  "my-special-class",
@@ -383,10 +385,11 @@
383
385
  },
384
386
  "progressClass": {
385
387
  "type": [
386
- "Array",
387
388
  "String",
389
+ "Array",
388
390
  "Object"
389
391
  ],
392
+ "tsType": "VueClassProp",
390
393
  "desc": "Class definitions to be attributed to the progress bar",
391
394
  "examples": [
392
395
  "my-special-class",
@@ -539,10 +542,11 @@
539
542
  },
540
543
  "progressClass": {
541
544
  "type": [
542
- "Array",
543
545
  "String",
546
+ "Array",
544
547
  "Object"
545
548
  ],
549
+ "tsType": "VueClassProp",
546
550
  "desc": "Class definitions to be attributed to the progress bar",
547
551
  "examples": [
548
552
  "my-special-class",
@@ -746,10 +750,11 @@
746
750
  },
747
751
  "badgeStyle": {
748
752
  "type": [
749
- "Array",
750
753
  "String",
754
+ "Array",
751
755
  "Object"
752
756
  ],
757
+ "tsType": "VueStyleProp",
753
758
  "desc": "Style definitions to be attributed to the badge",
754
759
  "examples": [
755
760
  "background-color: #ff0000",
@@ -758,10 +763,11 @@
758
763
  },
759
764
  "badgeClass": {
760
765
  "type": [
761
- "Array",
762
766
  "String",
767
+ "Array",
763
768
  "Object"
764
769
  ],
770
+ "tsType": "VueClassProp",
765
771
  "desc": "Class definitions to be attributed to the badge",
766
772
  "examples": [
767
773
  "my-special-class",
@@ -774,10 +780,11 @@
774
780
  },
775
781
  "progressClass": {
776
782
  "type": [
777
- "Array",
778
783
  "String",
784
+ "Array",
779
785
  "Object"
780
786
  ],
787
+ "tsType": "VueClassProp",
781
788
  "desc": "Class definitions to be attributed to the progress bar",
782
789
  "examples": [
783
790
  "my-special-class",
@@ -983,10 +990,11 @@
983
990
  },
984
991
  "badgeStyle": {
985
992
  "type": [
986
- "Array",
987
993
  "String",
994
+ "Array",
988
995
  "Object"
989
996
  ],
997
+ "tsType": "VueStyleProp",
990
998
  "desc": "Style definitions to be attributed to the badge",
991
999
  "examples": [
992
1000
  "background-color: #ff0000",
@@ -995,10 +1003,11 @@
995
1003
  },
996
1004
  "badgeClass": {
997
1005
  "type": [
998
- "Array",
999
1006
  "String",
1007
+ "Array",
1000
1008
  "Object"
1001
1009
  ],
1010
+ "tsType": "VueClassProp",
1002
1011
  "desc": "Class definitions to be attributed to the badge",
1003
1012
  "examples": [
1004
1013
  "my-special-class",
@@ -1011,10 +1020,11 @@
1011
1020
  },
1012
1021
  "progressClass": {
1013
1022
  "type": [
1014
- "Array",
1015
1023
  "String",
1024
+ "Array",
1016
1025
  "Object"
1017
1026
  ],
1027
+ "tsType": "VueClassProp",
1018
1028
  "desc": "Class definitions to be attributed to the progress bar",
1019
1029
  "examples": [
1020
1030
  "my-special-class",
@@ -15,6 +15,177 @@
15
15
  "is": {
16
16
  "type": "Object",
17
17
  "desc": "Client browser details (property names depend on browser)",
18
+ "definition": {
19
+ "name": {
20
+ "type": "String",
21
+ "desc": "Browser name",
22
+ "examples": [
23
+ "chrome"
24
+ ]
25
+ },
26
+ "platform": {
27
+ "type": "String",
28
+ "desc": "Platform name",
29
+ "examples": [
30
+ "mac"
31
+ ]
32
+ },
33
+ "version": {
34
+ "type": "String",
35
+ "required": false,
36
+ "desc": "Detailed browser version",
37
+ "examples": [
38
+ "71.0.3578.98"
39
+ ]
40
+ },
41
+ "versionNumber": {
42
+ "type": "Number",
43
+ "required": false,
44
+ "desc": "Major browser version as a number",
45
+ "examples": [
46
+ 71
47
+ ]
48
+ },
49
+ "desktop": {
50
+ "type": "Boolean",
51
+ "required": false,
52
+ "desc": "Whether the platform is desktop"
53
+ },
54
+ "mobile": {
55
+ "type": "Boolean",
56
+ "required": false,
57
+ "desc": "Whether the platform is mobile"
58
+ },
59
+ "electron": {
60
+ "type": "Boolean",
61
+ "required": false,
62
+ "desc": "Whether the platform is Electron"
63
+ },
64
+ "bex": {
65
+ "type": "Boolean",
66
+ "required": false,
67
+ "desc": "Whether the platform is BEX(Browser Extension)"
68
+ },
69
+ "capacitor": {
70
+ "type": "Boolean",
71
+ "required": false,
72
+ "desc": "Whether the platform is Capacitor"
73
+ },
74
+ "cordova": {
75
+ "type": "Boolean",
76
+ "required": false,
77
+ "desc": "Whether the platform is Cordova"
78
+ },
79
+ "nativeMobile": {
80
+ "type": "Boolean",
81
+ "required": false,
82
+ "desc": "Whether the platform is a native mobile wrapper"
83
+ },
84
+ "nativeMobileWrapper": {
85
+ "type": "String",
86
+ "required": false,
87
+ "values": [
88
+ "cordova",
89
+ "capacitor"
90
+ ],
91
+ "desc": "Type of the native mobile wrapper"
92
+ },
93
+ "chrome": {
94
+ "type": "Boolean",
95
+ "required": false,
96
+ "desc": "Whether the browser is Google Chrome"
97
+ },
98
+ "firefox": {
99
+ "type": "Boolean",
100
+ "required": false,
101
+ "desc": "Whether the browser is Firefox"
102
+ },
103
+ "safari": {
104
+ "type": "Boolean",
105
+ "required": false,
106
+ "desc": "Whether the browser is Safari"
107
+ },
108
+ "edgeChromium": {
109
+ "type": "Boolean",
110
+ "required": false,
111
+ "desc": "Whether the browser is Microsoft Edge (Chromium)"
112
+ },
113
+ "edge": {
114
+ "type": "Boolean",
115
+ "required": false,
116
+ "desc": "Whether the browser is Microsoft Edge Legacy"
117
+ },
118
+ "opera": {
119
+ "type": "Boolean",
120
+ "required": false,
121
+ "desc": "Whether the browser is Opera"
122
+ },
123
+ "vivaldi": {
124
+ "type": "Boolean",
125
+ "required": false,
126
+ "desc": "Whether the browser is Vivaldi"
127
+ },
128
+ "win": {
129
+ "type": "Boolean",
130
+ "required": false,
131
+ "desc": "Whether the operating system is Windows"
132
+ },
133
+ "linux": {
134
+ "type": "Boolean",
135
+ "required": false,
136
+ "desc": "Whether the operating system is Linux"
137
+ },
138
+ "mac": {
139
+ "type": "Boolean",
140
+ "required": false,
141
+ "desc": "Whether the operating system is Mac OS"
142
+ },
143
+ "cros": {
144
+ "type": "Boolean",
145
+ "required": false,
146
+ "desc": "Whether the operating system is Chrome OS"
147
+ },
148
+ "android": {
149
+ "type": "Boolean",
150
+ "required": false,
151
+ "desc": "Whether the operating system is Android"
152
+ },
153
+ "ios": {
154
+ "type": "Boolean",
155
+ "required": false,
156
+ "desc": "Whether the operating system is iOS"
157
+ },
158
+ "winphone": {
159
+ "type": "Boolean",
160
+ "required": false,
161
+ "desc": "Whether the operating system is Windows Phone"
162
+ },
163
+ "iphone": {
164
+ "type": "Boolean",
165
+ "required": false,
166
+ "desc": "Whether the device is an iPhone"
167
+ },
168
+ "ipad": {
169
+ "type": "Boolean",
170
+ "required": false,
171
+ "desc": "Whether the device is an iPad"
172
+ },
173
+ "ipod": {
174
+ "type": "Boolean",
175
+ "required": false,
176
+ "desc": "Whether the device is an iPod"
177
+ },
178
+ "kindle": {
179
+ "type": "Boolean",
180
+ "required": false,
181
+ "desc": "Whether the device is a Kindle"
182
+ },
183
+ "silk": {
184
+ "type": "Boolean",
185
+ "required": false,
186
+ "desc": "Whether the browser is Amazon Silk"
187
+ }
188
+ },
18
189
  "examples": [
19
190
  "{ chrome: true, version: '71.0.3578.98', versionNumber: 71, mac: true, desktop: true, webkit: true, name: 'chrome', platform: 'mac' }"
20
191
  ]
@@ -92,6 +92,10 @@
92
92
  ],
93
93
  "required": false
94
94
  }
95
+ },
96
+ "returns": {
97
+ "type": "Number",
98
+ "desc": "Number of active simultaneous sessions"
95
99
  }
96
100
  },
97
101
  "increment": {
@@ -104,10 +108,18 @@
104
108
  1
105
109
  ]
106
110
  }
111
+ },
112
+ "returns": {
113
+ "type": "Number",
114
+ "desc": "Number of active simultaneous sessions"
107
115
  }
108
116
  },
109
117
  "stop": {
110
- "desc": "Notify bar that one process you were waiting has finished"
118
+ "desc": "Notify bar that one process you were waiting has finished",
119
+ "returns": {
120
+ "type": "Number",
121
+ "desc": "Number of active simultaneous sessions"
122
+ }
111
123
  }
112
124
  }
113
125
  }
@@ -291,10 +291,11 @@
291
291
  },
292
292
  "content-style": {
293
293
  "type": [
294
- "Array",
295
294
  "String",
295
+ "Array",
296
296
  "Object"
297
297
  ],
298
+ "tsType": "VueStyleProp",
298
299
  "desc": "Style definitions to be attributed to the menu",
299
300
  "examples": [
300
301
  "background-color: #ff0000",
@@ -304,10 +305,11 @@
304
305
  },
305
306
  "content-class": {
306
307
  "type": [
307
- "Array",
308
308
  "String",
309
+ "Array",
309
310
  "Object"
310
311
  ],
312
+ "tsType": "VueClassProp",
311
313
  "desc": "Class definitions to be attributed to the menu",
312
314
  "examples": [
313
315
  "my-special-class",
@@ -104,6 +104,33 @@
104
104
  "desc": "Label (if any specified) should be displayed on the left side of the component",
105
105
  "category": "label"
106
106
  },
107
+ "checked-icon": {
108
+ "type": "String",
109
+ "examples": [
110
+ "visibility"
111
+ ],
112
+ "category": "icons",
113
+ "desc": "The icon to be used when the model is truthy (instead of the default design)",
114
+ "addedIn": "v2.5"
115
+ },
116
+ "unchecked-icon": {
117
+ "type": "String",
118
+ "examples": [
119
+ "visibility_off"
120
+ ],
121
+ "category": "icons",
122
+ "desc": "The icon to be used when the toggle is falsy (instead of the default design)",
123
+ "addedIn": "v2.5"
124
+ },
125
+ "indeterminate-icon": {
126
+ "type": "String",
127
+ "examples": [
128
+ "help"
129
+ ],
130
+ "category": "icons",
131
+ "desc": "The icon to be used when the model is indeterminate (instead of the default design)",
132
+ "addedIn": "v2.5"
133
+ },
107
134
  "color": {
108
135
  "type": "String",
109
136
  "desc": "Color name for component from the Quasar Color Palette",
@@ -300,6 +300,7 @@
300
300
  },
301
301
  "content-style": {
302
302
  "type": "Object",
303
+ "tsType": "VueStyleObjectProp",
303
304
  "desc": "Object with CSS properties and values for styling the container of QEditor",
304
305
  "examples": [
305
306
  ":content-style=\"{ backgroundColor: '#C0C0C0' }\""
@@ -308,10 +309,11 @@
308
309
  },
309
310
  "content-class": {
310
311
  "type": [
311
- "Object",
312
+ "String",
312
313
  "Array",
313
- "String"
314
+ "Object"
314
315
  ],
316
+ "tsType": "VueClassProp",
315
317
  "desc": "CSS classes for the input area",
316
318
  "examples": [
317
319
  "my-special-class",
@@ -109,10 +109,11 @@
109
109
  },
110
110
  "expand-icon-class": {
111
111
  "type": [
112
- "Array",
113
112
  "String",
113
+ "Array",
114
114
  "Object"
115
115
  ],
116
+ "tsType": "VueClassProp",
116
117
  "desc": "Apply custom class(es) to the expand icon item section",
117
118
  "examples": [
118
119
  "text-purple"
@@ -237,10 +238,11 @@
237
238
  },
238
239
  "header-style": {
239
240
  "type": [
240
- "Array",
241
241
  "String",
242
+ "Array",
242
243
  "Object"
243
244
  ],
245
+ "tsType": "VueStyleProp",
244
246
  "desc": "Apply custom style to the header",
245
247
  "examples": [
246
248
  "background: '#ff0000'",
@@ -250,10 +252,11 @@
250
252
  },
251
253
  "header-class": {
252
254
  "type": [
253
- "Array",
254
255
  "String",
256
+ "Array",
255
257
  "Object"
256
258
  ],
259
+ "tsType": "VueClassProp",
257
260
  "desc": "Apply custom class(es) to the header",
258
261
  "examples": [
259
262
  "my-custom-class",
@@ -108,10 +108,11 @@
108
108
  },
109
109
  "label-class": {
110
110
  "type": [
111
- "Array",
112
111
  "String",
112
+ "Array",
113
113
  "Object"
114
114
  ],
115
+ "tsType": "VueClassProp",
115
116
  "desc": "Class definitions to be attributed to the label container",
116
117
  "examples": [
117
118
  "my-special-class",
@@ -121,10 +122,11 @@
121
122
  },
122
123
  "label-style": {
123
124
  "type": [
124
- "Array",
125
125
  "String",
126
+ "Array",
126
127
  "Object"
127
128
  ],
129
+ "tsType": "VueStyleProp",
128
130
  "desc": "Style definitions to be attributed to the label container",
129
131
  "examples": [
130
132
  "background-color: #ff0000",
@@ -108,10 +108,11 @@
108
108
  },
109
109
  "label-class": {
110
110
  "type": [
111
- "Array",
112
111
  "String",
112
+ "Array",
113
113
  "Object"
114
114
  ],
115
+ "tsType": "VueClassProp",
115
116
  "desc": "Class definitions to be attributed to the label container",
116
117
  "examples": [
117
118
  "my-special-class",
@@ -121,10 +122,11 @@
121
122
  },
122
123
  "label-style": {
123
124
  "type": [
124
- "Array",
125
125
  "String",
126
+ "Array",
126
127
  "Object"
127
128
  ],
129
+ "tsType": "VueStyleProp",
128
130
  "desc": "Style definitions to be attributed to the label container",
129
131
  "examples": [
130
132
  "background-color: #ff0000",
@@ -418,10 +418,11 @@
418
418
  },
419
419
  "input-class": {
420
420
  "type": [
421
- "Array",
422
421
  "String",
422
+ "Array",
423
423
  "Object"
424
424
  ],
425
+ "tsType": "VueClassProp",
425
426
  "desc": "Class definitions to be attributed to the underlying selection container",
426
427
  "examples": [
427
428
  "my-special-class",
@@ -431,10 +432,11 @@
431
432
  },
432
433
  "input-style": {
433
434
  "type": [
434
- "Array",
435
435
  "String",
436
+ "Array",
436
437
  "Object"
437
438
  ],
439
+ "tsType": "VueStyleProp",
438
440
  "desc": "Style definitions to be attributed to the underlying selection container",
439
441
  "examples": [
440
442
  "background-color: #ff0000",
@@ -6,8 +6,6 @@
6
6
  "props": {
7
7
  "ratio": {
8
8
  "type": [
9
- "String",
10
- "Number",
11
9
  "String",
12
10
  "Number"
13
11
  ],
@@ -178,6 +176,7 @@
178
176
  },
179
177
  "img-style": {
180
178
  "type": "Object",
179
+ "tsType": "VueStyleObjectProp",
181
180
  "desc": "Apply CSS to the native img element",
182
181
  "examples": [
183
182
  ":img-style=\"{ transform: 'rotate(45deg)' }\" "
@@ -87,10 +87,11 @@
87
87
  },
88
88
  "label-style": {
89
89
  "type": [
90
- "Array",
91
90
  "String",
91
+ "Array",
92
92
  "Object"
93
93
  ],
94
+ "tsType": "VueStyleProp",
94
95
  "desc": "Apply custom style to the label; Works along the 'label' prop only",
95
96
  "examples": [
96
97
  "font-size: 28px",
@@ -353,10 +353,11 @@
353
353
  },
354
354
  "input-class": {
355
355
  "type": [
356
- "Array",
357
356
  "String",
357
+ "Array",
358
358
  "Object"
359
359
  ],
360
+ "tsType": "VueClassProp",
360
361
  "desc": "Class definitions to be attributed to the underlying input tag",
361
362
  "examples": [
362
363
  "my-special-class",
@@ -366,10 +367,11 @@
366
367
  },
367
368
  "input-style": {
368
369
  "type": [
369
- "Array",
370
370
  "String",
371
+ "Array",
371
372
  "Object"
372
373
  ],
374
+ "tsType": "VueStyleProp",
373
375
  "desc": "Style definitions to be attributed to the underlying input tag",
374
376
  "examples": [
375
377
  "background-color: #ff0000",