quasar 2.4.11 → 2.5.1

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 (216) hide show
  1. package/dist/api/BottomSheet.json +4 -0
  2. package/dist/api/Dialog.json +5 -1
  3. package/dist/api/Notify.json +20 -10
  4. package/dist/api/QBtnDropdown.json +4 -2
  5. package/dist/api/QCheckbox.json +27 -0
  6. package/dist/api/QEditor.json +4 -2
  7. package/dist/api/QExpansionItem.json +6 -3
  8. package/dist/api/QFab.json +4 -2
  9. package/dist/api/QFabAction.json +4 -2
  10. package/dist/api/QFile.json +4 -2
  11. package/dist/api/QImg.json +1 -2
  12. package/dist/api/QInnerLoading.json +2 -1
  13. package/dist/api/QInput.json +4 -2
  14. package/dist/api/QPagination.json +4 -2
  15. package/dist/api/QRadio.json +18 -0
  16. package/dist/api/QRange.json +9 -0
  17. package/dist/api/QScrollArea.json +13 -5
  18. package/dist/api/QSelect.json +6 -3
  19. package/dist/api/QSlider.json +9 -0
  20. package/dist/api/QSplitter.json +8 -4
  21. package/dist/api/QTable.json +9 -0
  22. package/dist/api/QTime.json +8 -2
  23. package/dist/api/QToggle.json +24 -24
  24. package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
  25. package/dist/icon-set/eva-icons.umd.prod.js +1 -1
  26. package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
  27. package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
  28. package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
  29. package/dist/icon-set/line-awesome.umd.prod.js +1 -1
  30. package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
  31. package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
  32. package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
  33. package/dist/icon-set/material-icons.umd.prod.js +1 -1
  34. package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
  35. package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
  36. package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
  37. package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
  38. package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
  39. package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
  40. package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
  41. package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
  42. package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
  43. package/dist/icon-set/svg-ionicons-v6.umd.prod.js +1 -1
  44. package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
  45. package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
  46. package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
  47. package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
  48. package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
  49. package/dist/icon-set/svg-mdi-v4.umd.prod.js +1 -1
  50. package/dist/icon-set/svg-mdi-v5.umd.prod.js +1 -1
  51. package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
  52. package/dist/icon-set/svg-themify.umd.prod.js +1 -1
  53. package/dist/icon-set/themify.umd.prod.js +1 -1
  54. package/dist/lang/ar.umd.prod.js +1 -1
  55. package/dist/lang/az-Latn.umd.prod.js +1 -1
  56. package/dist/lang/bg.umd.prod.js +1 -1
  57. package/dist/lang/bn.umd.prod.js +1 -1
  58. package/dist/lang/ca.umd.prod.js +1 -1
  59. package/dist/lang/cs.umd.prod.js +1 -1
  60. package/dist/lang/da.umd.prod.js +1 -1
  61. package/dist/lang/de.umd.prod.js +1 -1
  62. package/dist/lang/el.umd.prod.js +1 -1
  63. package/dist/lang/en-GB.umd.prod.js +1 -1
  64. package/dist/lang/en-US.umd.prod.js +1 -1
  65. package/dist/lang/eo.umd.prod.js +1 -1
  66. package/dist/lang/es.umd.prod.js +1 -1
  67. package/dist/lang/et.umd.prod.js +1 -1
  68. package/dist/lang/fa-IR.umd.prod.js +1 -1
  69. package/dist/lang/fa.umd.prod.js +1 -1
  70. package/dist/lang/fi.umd.prod.js +1 -1
  71. package/dist/lang/fr.umd.prod.js +1 -1
  72. package/dist/lang/gn.umd.prod.js +1 -1
  73. package/dist/lang/he.umd.prod.js +1 -1
  74. package/dist/lang/hr.umd.prod.js +1 -1
  75. package/dist/lang/hu.umd.prod.js +1 -1
  76. package/dist/lang/id.umd.prod.js +1 -1
  77. package/dist/lang/is.umd.prod.js +1 -1
  78. package/dist/lang/it.umd.prod.js +1 -1
  79. package/dist/lang/ja.umd.prod.js +1 -1
  80. package/dist/lang/km.umd.prod.js +1 -1
  81. package/dist/lang/ko-KR.umd.prod.js +1 -1
  82. package/dist/lang/kur-CKB.umd.prod.js +1 -1
  83. package/dist/lang/lt.umd.prod.js +1 -1
  84. package/dist/lang/lu.umd.prod.js +1 -1
  85. package/dist/lang/lv.umd.prod.js +1 -1
  86. package/dist/lang/ml.umd.prod.js +1 -1
  87. package/dist/lang/ms.umd.prod.js +1 -1
  88. package/dist/lang/my.umd.prod.js +1 -1
  89. package/dist/lang/nb-NO.umd.prod.js +1 -1
  90. package/dist/lang/nl.umd.prod.js +1 -1
  91. package/dist/lang/pl.umd.prod.js +1 -1
  92. package/dist/lang/pt-BR.umd.prod.js +1 -1
  93. package/dist/lang/pt.umd.prod.js +1 -1
  94. package/dist/lang/ro.umd.prod.js +1 -1
  95. package/dist/lang/ru.umd.prod.js +1 -1
  96. package/dist/lang/sk.umd.prod.js +1 -1
  97. package/dist/lang/sl.umd.prod.js +1 -1
  98. package/dist/lang/sr-CYR.umd.prod.js +1 -1
  99. package/dist/lang/sr.umd.prod.js +1 -1
  100. package/dist/lang/sv.umd.prod.js +1 -1
  101. package/dist/lang/ta.umd.prod.js +1 -1
  102. package/dist/lang/th.umd.prod.js +1 -1
  103. package/dist/lang/tr.umd.prod.js +1 -1
  104. package/dist/lang/ug.umd.prod.js +1 -1
  105. package/dist/lang/uk.umd.prod.js +1 -1
  106. package/dist/lang/vi.umd.prod.js +1 -1
  107. package/dist/lang/zh-CN.umd.prod.js +1 -1
  108. package/dist/lang/zh-TW.umd.prod.js +1 -1
  109. package/dist/quasar.cjs.prod.js +2 -2
  110. package/dist/quasar.css +43 -10
  111. package/dist/quasar.esm.prod.js +2 -2
  112. package/dist/quasar.prod.css +1 -1
  113. package/dist/quasar.rtl.css +60 -23
  114. package/dist/quasar.rtl.prod.css +1 -1
  115. package/dist/quasar.sass +34 -11
  116. package/dist/quasar.umd.js +314 -157
  117. package/dist/quasar.umd.prod.js +2 -2
  118. package/dist/ssr-directives/Morph.js +1 -1
  119. package/dist/transforms/auto-import.json +39 -3
  120. package/dist/transforms/import-map.json +18 -0
  121. package/dist/types/api/slider.d.ts +6 -7
  122. package/dist/types/api/vue-prop-types.ts +15 -0
  123. package/dist/types/api.d.ts +1 -0
  124. package/dist/types/index.d.ts +110 -184
  125. package/dist/types/utils/date.d.ts +25 -13
  126. package/dist/types/utils/dom.d.ts +4 -2
  127. package/dist/types/utils.d.ts +3 -1
  128. package/dist/vetur/quasar-attributes.json +62 -42
  129. package/dist/vetur/quasar-tags.json +8 -3
  130. package/dist/web-types/web-types.json +103 -58
  131. package/package.json +13 -3
  132. package/src/components/avatar/__tests__/QAvatar.spec.js +121 -0
  133. package/src/components/badge/__tests__/QBadge.spec.js +74 -0
  134. package/src/components/breadcrumbs/QBreadcrumbs.js +1 -1
  135. package/src/components/btn/__tests__/QBtn.spec.js +55 -0
  136. package/src/components/btn/__tests__/use-btn.spec.js +189 -0
  137. package/src/components/btn-dropdown/QBtnDropdown.json +4 -2
  138. package/src/components/checkbox/QCheckbox.js +34 -3
  139. package/src/components/checkbox/QCheckbox.json +17 -0
  140. package/src/components/checkbox/QCheckbox.sass +17 -5
  141. package/src/components/checkbox/use-checkbox.js +4 -0
  142. package/src/components/checkbox/use-checkbox.json +18 -0
  143. package/src/components/chip/__tests__/QChip.spec.js +155 -0
  144. package/src/components/date/__tests__/QDate.spec.js +189 -0
  145. package/src/components/date/__tests__/use-datetime.spec.js +83 -0
  146. package/src/components/dialog/QDialog.js +1 -1
  147. package/src/components/dialog/__tests__/QDialog.spec.js +129 -0
  148. package/src/components/editor/QEditor.js +1 -1
  149. package/src/components/editor/QEditor.json +3 -1
  150. package/src/components/editor/__tests__/QEditor.spec.js +195 -0
  151. package/src/components/expansion-item/QExpansionItem.json +6 -3
  152. package/src/components/fab/use-fab.json +4 -2
  153. package/src/components/field/QField.sass +2 -0
  154. package/src/components/file/QFile.json +4 -2
  155. package/src/components/form/QForm.js +27 -25
  156. package/src/components/img/QImg.json +2 -3
  157. package/src/components/inner-loading/QInnerLoading.json +2 -1
  158. package/src/components/input/QInput.js +10 -1
  159. package/src/components/input/QInput.json +4 -2
  160. package/src/components/input/__tests__/QInput.spec.js +105 -0
  161. package/src/components/input/__tests__/use-mask.spec.js +29 -0
  162. package/src/components/menu/QMenu.js +2 -1
  163. package/src/components/menu/__tests__/QMenu.spec.js +610 -0
  164. package/src/components/menu/__tests__/WrapperOne.vue +51 -0
  165. package/src/components/menu/__tests__/WrapperTwo.vue +38 -0
  166. package/src/components/pagination/QPagination.json +4 -2
  167. package/src/components/radio/QRadio.js +26 -1
  168. package/src/components/radio/QRadio.json +16 -0
  169. package/src/components/radio/QRadio.sass +17 -6
  170. package/src/components/scroll-area/QScrollArea.json +13 -5
  171. package/src/components/select/QSelect.js +13 -9
  172. package/src/components/select/QSelect.json +6 -3
  173. package/src/components/select/QSelect.sass +1 -0
  174. package/src/components/select/__tests__/QSelect.spec.js +2003 -0
  175. package/src/components/select/__tests__/WrapperOne.vue +28 -0
  176. package/src/components/slider/use-slider.json +9 -0
  177. package/src/components/splitter/QSplitter.json +8 -4
  178. package/src/components/stepper/QStep.js +19 -14
  179. package/src/components/stepper/QStepper.sass +3 -0
  180. package/src/components/table/QTable.json +9 -0
  181. package/src/components/table/__tests__/QTable.spec.js +635 -0
  182. package/src/components/table/__tests__/QTd.spec.js +35 -0
  183. package/src/components/table/__tests__/QTh.spec.js +27 -0
  184. package/src/components/table/__tests__/QTr.spec.js +27 -0
  185. package/src/components/tabs/__tests__/QRouteTab.spec.js +9 -0
  186. package/src/components/tabs/__tests__/QTab.spec.js +79 -0
  187. package/src/components/tabs/__tests__/QTabs.spec.js +147 -0
  188. package/src/components/time/QTime.json +2 -2
  189. package/src/components/toggle/QToggle.js +5 -13
  190. package/src/components/toggle/QToggle.json +3 -12
  191. package/src/components/uploader/__tests__/QUploader.spec.js +161 -0
  192. package/src/components/virtual-scroll/use-virtual-scroll.js +9 -6
  193. package/src/composables/private/__tests__/FieldWrapper.vue +39 -0
  194. package/src/composables/private/__tests__/use-anchor.spec.js +99 -0
  195. package/src/composables/private/__tests__/use-field.spec.js +351 -0
  196. package/src/composables/private/__tests__/use-file.spec.js +69 -0
  197. package/src/composables/private/__tests__/use-form.spec.js +11 -0
  198. package/src/composables/private/__tests__/use-fullscreen.spec.js +37 -0
  199. package/src/composables/private/__tests__/use-model-toggle.spec.js +306 -0
  200. package/src/composables/private/__tests__/use-portal.spec.js +4 -0
  201. package/src/composables/private/__tests__/use-router-link.spec.js +55 -0
  202. package/src/composables/private/__tests__/use-size.spec.js +37 -0
  203. package/src/composables/private/__tests__/use-transition.spec.js +108 -0
  204. package/src/composables/private/__tests__/use-validate.spec.js +111 -0
  205. package/src/composables/private/use-field.js +5 -8
  206. package/src/composables/private/use-fullscreen.js +1 -1
  207. package/src/composables/private/use-model-toggle.js +1 -1
  208. package/src/composables/private/use-validate.js +22 -22
  209. package/src/plugins/BottomSheet.json +1 -0
  210. package/src/plugins/Dialog.json +1 -0
  211. package/src/plugins/Meta.js +1 -1
  212. package/src/plugins/Notify.json +20 -10
  213. package/src/plugins/Screen.js +11 -8
  214. package/src/utils/date.js +111 -32
  215. package/src/utils/private/global-dialog.json +3 -0
  216. 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",
@@ -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",
@@ -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",
@@ -79,10 +79,11 @@
79
79
  },
80
80
  "input-style": {
81
81
  "type": [
82
- "Array",
83
82
  "String",
83
+ "Array",
84
84
  "Object"
85
85
  ],
86
+ "tsType": "VueStyleProp",
86
87
  "desc": "Style definitions to be attributed to the input (if using one)",
87
88
  "examples": [
88
89
  "background-color: #ff0000",
@@ -92,10 +93,11 @@
92
93
  },
93
94
  "input-class": {
94
95
  "type": [
95
- "Array",
96
96
  "String",
97
+ "Array",
97
98
  "Object"
98
99
  ],
100
+ "tsType": "VueClassProp",
99
101
  "desc": "Class definitions to be attributed to the input (if using one)",
100
102
  "examples": [
101
103
  "my-special-class",
@@ -65,6 +65,24 @@
65
65
  "desc": "Label (if any specified) should be displayed on the left side of the checkbox",
66
66
  "category": "label"
67
67
  },
68
+ "checked-icon": {
69
+ "type": "String",
70
+ "desc": "The icon to be used when selected (instead of the default design)",
71
+ "examples": [
72
+ "visibility"
73
+ ],
74
+ "category": "icons",
75
+ "addedIn": "v2.5"
76
+ },
77
+ "unchecked-icon": {
78
+ "type": "String",
79
+ "desc": "The icon to be used when un-selected (instead of the default design)",
80
+ "examples": [
81
+ "visibility_off"
82
+ ],
83
+ "category": "icons",
84
+ "addedIn": "v2.5"
85
+ },
68
86
  "color": {
69
87
  "type": "String",
70
88
  "desc": "Color name for component from the Quasar Color Palette",
@@ -218,6 +218,7 @@
218
218
  "Array",
219
219
  "Object"
220
220
  ],
221
+ "tsType": "VueClassProp",
221
222
  "desc": "CSS classes to be attributed to the marker label",
222
223
  "examples": [
223
224
  "my-class-name"
@@ -225,6 +226,7 @@
225
226
  },
226
227
  "style": {
227
228
  "type": "Object",
229
+ "tsType": "VueStyleObjectProp",
228
230
  "desc": "Style definitions to be attributed to the marker label",
229
231
  "examples": [
230
232
  "{ height: '24px' }"
@@ -265,6 +267,7 @@
265
267
  "Array",
266
268
  "Object"
267
269
  ],
270
+ "tsType": "VueClassProp",
268
271
  "desc": "CSS classes to be attributed to the marker label",
269
272
  "examples": [
270
273
  "my-class-name"
@@ -272,6 +275,7 @@
272
275
  },
273
276
  "style": {
274
277
  "type": "Object",
278
+ "tsType": "VueStyleObjectProp",
275
279
  "desc": "Style definitions to be attributed to the marker label",
276
280
  "examples": [
277
281
  "{ height: '24px' }"
@@ -533,6 +537,7 @@
533
537
  },
534
538
  "style": {
535
539
  "type": "Object",
540
+ "tsType": "VueStyleObjectProp",
536
541
  "desc": "Style definitions to be attributed to the marker label",
537
542
  "examples": [
538
543
  "{ height: '24px' }"
@@ -566,6 +571,7 @@
566
571
  },
567
572
  "style": {
568
573
  "type": "Object",
574
+ "tsType": "VueStyleObjectProp",
569
575
  "desc": "Style definitions to be attributed to the marker label",
570
576
  "examples": [
571
577
  "{ height: '24px' }"
@@ -603,6 +609,7 @@
603
609
  },
604
610
  "style": {
605
611
  "type": "Object",
612
+ "tsType": "VueStyleObjectProp",
606
613
  "desc": "Style definitions to be attributed to the marker label",
607
614
  "examples": [
608
615
  "{ height: '24px' }"
@@ -666,6 +673,7 @@
666
673
  },
667
674
  "style": {
668
675
  "type": "Object",
676
+ "tsType": "VueStyleObjectProp",
669
677
  "desc": "Style definitions to be attributed to the marker label",
670
678
  "examples": [
671
679
  "{ height: '24px' }"
@@ -703,6 +711,7 @@
703
711
  },
704
712
  "style": {
705
713
  "type": "Object",
714
+ "tsType": "VueStyleObjectProp",
706
715
  "desc": "Style definitions to be attributed to the marker label",
707
716
  "examples": [
708
717
  "{ height: '24px' }"
@@ -11,10 +11,11 @@
11
11
  },
12
12
  "bar-style": {
13
13
  "type": [
14
- "Array",
15
14
  "String",
15
+ "Array",
16
16
  "Object"
17
17
  ],
18
+ "tsType": "VueStyleProp",
18
19
  "desc": "Object with CSS properties and values for custom styling the scrollbars (both vertical and horizontal)",
19
20
  "examples": [
20
21
  ":bar-style=\"{ borderRadius: '5px', background: 'red', opacity: 1 }\""
@@ -23,10 +24,11 @@
23
24
  },
24
25
  "vertical-bar-style": {
25
26
  "type": [
26
- "Array",
27
27
  "String",
28
+ "Array",
28
29
  "Object"
29
30
  ],
31
+ "tsType": "VueStyleProp",
30
32
  "desc": "Object with CSS properties and values for custom styling the vertical scrollbar; Is applied on top of 'bar-style' prop",
31
33
  "examples": [
32
34
  ":bar-style=\"{ right: '4px', borderRadius: '5px', background: 'red', width: '10px', opacity: 1 }\""
@@ -35,10 +37,11 @@
35
37
  },
36
38
  "horizontal-bar-style": {
37
39
  "type": [
38
- "Array",
39
40
  "String",
41
+ "Array",
40
42
  "Object"
41
43
  ],
44
+ "tsType": "VueStyleProp",
42
45
  "desc": "Object with CSS properties and values for custom styling the horizontal scrollbar; Is applied on top of 'bar-style' prop",
43
46
  "examples": [
44
47
  ":bar-style=\"{ bottom: '4px', borderRadius: '5px', background: 'red', height: '10px', opacity: 1 }\""
@@ -47,6 +50,7 @@
47
50
  },
48
51
  "thumb-style": {
49
52
  "type": "Object",
53
+ "tsType": "VueStyleObjectProp",
50
54
  "desc": "Object with CSS properties and values for custom styling the thumb of scrollbars (both vertical and horizontal)",
51
55
  "examples": [
52
56
  ":thumb-style=\"{ right: '4px', borderRadius: '5px', background: 'red', width: '10px', opacity: 1 }\""
@@ -55,6 +59,7 @@
55
59
  },
56
60
  "vertical-thumb-style": {
57
61
  "type": "Object",
62
+ "tsType": "VueStyleObjectProp",
58
63
  "desc": "Object with CSS properties and values for custom styling the thumb of the vertical scrollbar; Is applied on top of 'thumb-style' prop",
59
64
  "examples": [
60
65
  ":thumb-style=\"{ right: '4px', borderRadius: '5px', background: 'red', width: '10px', opacity: 1 }\""
@@ -63,6 +68,7 @@
63
68
  },
64
69
  "horizontal-thumb-style": {
65
70
  "type": "Object",
71
+ "tsType": "VueStyleObjectProp",
66
72
  "desc": "Object with CSS properties and values for custom styling the thumb of the horizontal scrollbar; Is applied on top of 'thumb-style' prop",
67
73
  "examples": [
68
74
  ":thumb-style=\"{ bottom: '4px', borderRadius: '5px', background: 'red', height: '10px', opacity: 1 }\""
@@ -71,10 +77,11 @@
71
77
  },
72
78
  "content-style": {
73
79
  "type": [
74
- "Array",
75
80
  "String",
81
+ "Array",
76
82
  "Object"
77
83
  ],
84
+ "tsType": "VueStyleProp",
78
85
  "desc": "Object with CSS properties and values for styling the container of QScrollArea",
79
86
  "examples": [
80
87
  ":content-style=\"{ backgroundColor: '#C0C0C0' }\""
@@ -83,10 +90,11 @@
83
90
  },
84
91
  "content-active-style": {
85
92
  "type": [
86
- "Array",
87
93
  "String",
94
+ "Array",
88
95
  "Object"
89
96
  ],
97
+ "tsType": "VueStyleProp",
90
98
  "desc": "Object with CSS properties and values for styling the container of QScrollArea when scroll area becomes active (is mouse hovered)",
91
99
  "examples": [
92
100
  ":content-active-style=\"{ backgroundColor: 'white' }\""