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
@@ -0,0 +1,189 @@
1
+ describe('Date API', () => {
2
+ describe('Props', () => {
3
+ describe('Category: behavior', () => {
4
+ describe('(prop): years-in-month-view', () => {
5
+ it.skip(' ', () => {
6
+ //
7
+ })
8
+ })
9
+ })
10
+
11
+ describe('Category: content', () => {
12
+ describe('(prop): title', () => {
13
+ it.skip(' ', () => {
14
+ //
15
+ })
16
+ })
17
+
18
+ describe('(prop): subtitle', () => {
19
+ it.skip(' ', () => {
20
+ //
21
+ })
22
+ })
23
+
24
+ describe('(prop): today-btn', () => {
25
+ it.skip(' ', () => {
26
+ //
27
+ })
28
+ })
29
+
30
+ describe('(prop): minimal', () => {
31
+ it.skip(' ', () => {
32
+ //
33
+ })
34
+ })
35
+ })
36
+
37
+ describe('Category: model', () => {
38
+ describe('(prop): model-value', () => {
39
+ it.skip(' ', () => {
40
+ //
41
+ })
42
+ })
43
+
44
+ describe('(prop): default-year-month', () => {
45
+ it.skip(' ', () => {
46
+ //
47
+ })
48
+ })
49
+
50
+ describe('(prop): default-view', () => {
51
+ it.skip(' ', () => {
52
+ //
53
+ })
54
+ })
55
+
56
+ describe('(prop): events', () => {
57
+ it.skip(' ', () => {
58
+ //
59
+ })
60
+ })
61
+
62
+ describe('(prop): options', () => {
63
+ it.skip(' ', () => {
64
+ //
65
+ })
66
+ })
67
+
68
+ describe('(prop): first-day-of-week', () => {
69
+ it.skip(' ', () => {
70
+ //
71
+ })
72
+ })
73
+
74
+ describe('(prop): emit-immediately', () => {
75
+ it.skip(' ', () => {
76
+ //
77
+ })
78
+ })
79
+ })
80
+
81
+ describe('Category: model|selection', () => {
82
+ describe('(prop): multiple', () => {
83
+ it.skip(' ', () => {
84
+ //
85
+ })
86
+ })
87
+
88
+ describe('(prop): range', () => {
89
+ it.skip(' ', () => {
90
+ //
91
+ })
92
+ })
93
+ })
94
+
95
+ describe('Category: selection', () => {
96
+ describe('(prop): navigation-min-year-month', () => {
97
+ it.skip(' ', () => {
98
+ //
99
+ })
100
+ })
101
+
102
+ describe('(prop): navigation-max-year-month', () => {
103
+ it.skip(' ', () => {
104
+ //
105
+ })
106
+ })
107
+
108
+ describe('(prop): no-unset', () => {
109
+ it.skip(' ', () => {
110
+ //
111
+ })
112
+ })
113
+ })
114
+
115
+ describe('Category: style', () => {
116
+ describe('(prop): event-color', () => {
117
+ it.skip(' ', () => {
118
+ //
119
+ })
120
+ })
121
+ })
122
+ })
123
+
124
+ describe('Slots', () => {
125
+ describe('(slot): default', () => {
126
+ it.skip(' ', () => {
127
+ //
128
+ })
129
+ })
130
+ })
131
+
132
+ describe('Events', () => {
133
+ describe('(event): update:model-value', () => {
134
+ it.skip(' ', () => {
135
+ //
136
+ })
137
+ })
138
+
139
+ describe('(event): navigation', () => {
140
+ it.skip(' ', () => {
141
+ //
142
+ })
143
+ })
144
+
145
+ describe('(event): range-start', () => {
146
+ it.skip(' ', () => {
147
+ //
148
+ })
149
+ })
150
+
151
+ describe('(event): range-end', () => {
152
+ it.skip(' ', () => {
153
+ //
154
+ })
155
+ })
156
+ })
157
+
158
+ describe('Methods', () => {
159
+ describe('(method): setToday', () => {
160
+ it.skip(' ', () => {
161
+ //
162
+ })
163
+ })
164
+
165
+ describe('(method): setView', () => {
166
+ it.skip(' ', () => {
167
+ //
168
+ })
169
+ })
170
+
171
+ describe('(method): offsetCalendar', () => {
172
+ it.skip(' ', () => {
173
+ //
174
+ })
175
+ })
176
+
177
+ describe('(method): setCalendarTo', () => {
178
+ it.skip(' ', () => {
179
+ //
180
+ })
181
+ })
182
+
183
+ describe('(method): setEditingRange', () => {
184
+ it.skip(' ', () => {
185
+ //
186
+ })
187
+ })
188
+ })
189
+ })
@@ -0,0 +1,83 @@
1
+ describe('use-datetime API', () => {
2
+ describe('Props', () => {
3
+ describe('Category: behavior', () => {
4
+ describe('(prop): landscape', () => {
5
+ it.skip(' ', () => {
6
+ //
7
+ })
8
+ })
9
+ })
10
+
11
+ describe('Category: model', () => {
12
+ describe('(prop): mask', () => {
13
+ it.skip(' ', () => {
14
+ //
15
+ })
16
+ })
17
+
18
+ describe('(prop): locale', () => {
19
+ it.skip(' ', () => {
20
+ //
21
+ })
22
+ })
23
+
24
+ describe('(prop): calendar', () => {
25
+ it.skip(' ', () => {
26
+ //
27
+ })
28
+ })
29
+ })
30
+
31
+ describe('Category: state', () => {
32
+ describe('(prop): readonly', () => {
33
+ it.skip(' ', () => {
34
+ //
35
+ })
36
+ })
37
+
38
+ describe('(prop): disable', () => {
39
+ it.skip(' ', () => {
40
+ //
41
+ })
42
+ })
43
+ })
44
+
45
+ describe('Category: style', () => {
46
+ describe('(prop): color', () => {
47
+ it.skip(' ', () => {
48
+ //
49
+ })
50
+ })
51
+
52
+ describe('(prop): text-color', () => {
53
+ it.skip(' ', () => {
54
+ //
55
+ })
56
+ })
57
+
58
+ describe('(prop): dark', () => {
59
+ it.skip(' ', () => {
60
+ //
61
+ })
62
+ })
63
+
64
+ describe('(prop): square', () => {
65
+ it.skip(' ', () => {
66
+ //
67
+ })
68
+ })
69
+
70
+ describe('(prop): flat', () => {
71
+ it.skip(' ', () => {
72
+ //
73
+ })
74
+ })
75
+
76
+ describe('(prop): bordered', () => {
77
+ it.skip(' ', () => {
78
+ //
79
+ })
80
+ })
81
+ })
82
+ })
83
+ })
@@ -257,7 +257,7 @@ export default createComponent({
257
257
  }
258
258
 
259
259
  node = node.querySelector('[autofocus], [data-autofocus]') || node
260
- node.focus()
260
+ node.focus({ preventScroll: true })
261
261
  })
262
262
  }
263
263
 
@@ -0,0 +1,129 @@
1
+ describe('Dialog API', () => {
2
+ describe('Props', () => {
3
+ describe('Category: behavior', () => {
4
+ describe('(prop): persistent', () => {
5
+ it.skip(' ', () => {
6
+ //
7
+ })
8
+ })
9
+
10
+ describe('(prop): no-esc-dismiss', () => {
11
+ it.skip(' ', () => {
12
+ //
13
+ })
14
+ })
15
+
16
+ describe('(prop): no-backdrop-dismiss', () => {
17
+ it.skip(' ', () => {
18
+ //
19
+ })
20
+ })
21
+
22
+ describe('(prop): no-route-dismiss', () => {
23
+ it.skip(' ', () => {
24
+ //
25
+ })
26
+ })
27
+
28
+ describe('(prop): auto-close', () => {
29
+ it.skip(' ', () => {
30
+ //
31
+ })
32
+ })
33
+
34
+ describe('(prop): no-refocus', () => {
35
+ it.skip(' ', () => {
36
+ //
37
+ })
38
+ })
39
+
40
+ describe('(prop): no-focus', () => {
41
+ it.skip(' ', () => {
42
+ //
43
+ })
44
+ })
45
+
46
+ describe('(prop): no-shake', () => {
47
+ it.skip(' ', () => {
48
+ //
49
+ })
50
+ })
51
+ })
52
+
53
+ describe('Category: content', () => {
54
+ describe('(prop): seamless', () => {
55
+ it.skip(' ', () => {
56
+ //
57
+ })
58
+ })
59
+
60
+ describe('(prop): maximized', () => {
61
+ it.skip(' ', () => {
62
+ //
63
+ })
64
+ })
65
+
66
+ describe('(prop): full-width', () => {
67
+ it.skip(' ', () => {
68
+ //
69
+ })
70
+ })
71
+
72
+ describe('(prop): full-height', () => {
73
+ it.skip(' ', () => {
74
+ //
75
+ })
76
+ })
77
+
78
+ describe('(prop): position', () => {
79
+ it.skip(' ', () => {
80
+ //
81
+ })
82
+ })
83
+ })
84
+
85
+ describe('Category: style', () => {
86
+ describe('(prop): square', () => {
87
+ it.skip(' ', () => {
88
+ //
89
+ })
90
+ })
91
+ })
92
+ })
93
+
94
+ describe('Slots', () => {
95
+ describe('(slot): default', () => {
96
+ it.skip(' ', () => {
97
+ //
98
+ })
99
+ })
100
+ })
101
+
102
+ describe('Events', () => {
103
+ describe('(event): shake', () => {
104
+ it.skip(' ', () => {
105
+ //
106
+ })
107
+ })
108
+
109
+ describe('(event): escape-key', () => {
110
+ it.skip(' ', () => {
111
+ //
112
+ })
113
+ })
114
+ })
115
+
116
+ describe('Methods', () => {
117
+ describe('(method): focus', () => {
118
+ it.skip(' ', () => {
119
+ //
120
+ })
121
+ })
122
+
123
+ describe('(method): shake', () => {
124
+ it.skip(' ', () => {
125
+ //
126
+ })
127
+ })
128
+ })
129
+ })
@@ -454,7 +454,7 @@ export default createComponent({
454
454
 
455
455
  function focus () {
456
456
  addFocusFn(() => {
457
- contentRef.value !== null && contentRef.value.focus()
457
+ contentRef.value !== null && contentRef.value.focus({ preventScroll: true })
458
458
  })
459
459
  }
460
460
 
@@ -227,13 +227,15 @@
227
227
 
228
228
  "content-style": {
229
229
  "type": "Object",
230
+ "tsType": "VueStyleObjectProp",
230
231
  "desc": "Object with CSS properties and values for styling the container of QEditor",
231
232
  "examples": [ ":content-style=\"{ backgroundColor: '#C0C0C0' }\"" ],
232
233
  "category": "style"
233
234
  },
234
235
 
235
236
  "content-class": {
236
- "type": [ "Object", "Array", "String" ],
237
+ "type": [ "String", "Array", "Object" ],
238
+ "tsType": "VueClassProp",
237
239
  "desc": "CSS classes for the input area",
238
240
  "examples": [
239
241
  "my-special-class",
@@ -0,0 +1,195 @@
1
+ describe('Editor API', () => {
2
+ describe('Props', () => {
3
+ describe('Category: behavior', () => {
4
+ describe('(prop): paragraph-tag', () => {
5
+ it.skip(' ', () => {
6
+ //
7
+ })
8
+ })
9
+ })
10
+
11
+ describe('Category: content', () => {
12
+ describe('(prop): placeholder', () => {
13
+ it.skip(' ', () => {
14
+ //
15
+ })
16
+ })
17
+ })
18
+
19
+ describe('Category: model', () => {
20
+ describe('(prop): model-value', () => {
21
+ it.skip(' ', () => {
22
+ //
23
+ })
24
+ })
25
+ })
26
+
27
+ describe('Category: state', () => {
28
+ describe('(prop): readonly', () => {
29
+ it.skip(' ', () => {
30
+ //
31
+ })
32
+ })
33
+
34
+ describe('(prop): disable', () => {
35
+ it.skip(' ', () => {
36
+ //
37
+ })
38
+ })
39
+ })
40
+
41
+ describe('Category: style', () => {
42
+ describe('(prop): square', () => {
43
+ it.skip(' ', () => {
44
+ //
45
+ })
46
+ })
47
+
48
+ describe('(prop): flat', () => {
49
+ it.skip(' ', () => {
50
+ //
51
+ })
52
+ })
53
+
54
+ describe('(prop): dense', () => {
55
+ it.skip(' ', () => {
56
+ //
57
+ })
58
+ })
59
+
60
+ describe('(prop): dark', () => {
61
+ it.skip(' ', () => {
62
+ //
63
+ })
64
+ })
65
+
66
+ describe('(prop): min-height', () => {
67
+ it.skip(' ', () => {
68
+ //
69
+ })
70
+ })
71
+
72
+ describe('(prop): max-height', () => {
73
+ it.skip(' ', () => {
74
+ //
75
+ })
76
+ })
77
+
78
+ describe('(prop): height', () => {
79
+ it.skip(' ', () => {
80
+ //
81
+ })
82
+ })
83
+
84
+ describe('(prop): content-style', () => {
85
+ it.skip(' ', () => {
86
+ //
87
+ })
88
+ })
89
+
90
+ describe('(prop): content-class', () => {
91
+ it.skip(' ', () => {
92
+ //
93
+ })
94
+ })
95
+ })
96
+
97
+ describe('Category: toolbar', () => {
98
+ describe('(prop): definitions', () => {
99
+ it.skip(' ', () => {
100
+ //
101
+ })
102
+ })
103
+
104
+ describe('(prop): fonts', () => {
105
+ it.skip(' ', () => {
106
+ //
107
+ })
108
+ })
109
+
110
+ describe('(prop): toolbar', () => {
111
+ it.skip(' ', () => {
112
+ //
113
+ })
114
+ })
115
+
116
+ describe('(prop): toolbar-color', () => {
117
+ it.skip(' ', () => {
118
+ //
119
+ })
120
+ })
121
+
122
+ describe('(prop): toolbar-text-color', () => {
123
+ it.skip(' ', () => {
124
+ //
125
+ })
126
+ })
127
+
128
+ describe('(prop): toolbar-toggle-color', () => {
129
+ it.skip(' ', () => {
130
+ //
131
+ })
132
+ })
133
+
134
+ describe('(prop): toolbar-bg', () => {
135
+ it.skip(' ', () => {
136
+ //
137
+ })
138
+ })
139
+ })
140
+
141
+ describe('Category: toolbar|style', () => {
142
+ describe('(prop): toolbar-outline', () => {
143
+ it.skip(' ', () => {
144
+ //
145
+ })
146
+ })
147
+
148
+ describe('(prop): toolbar-push', () => {
149
+ it.skip(' ', () => {
150
+ //
151
+ })
152
+ })
153
+
154
+ describe('(prop): toolbar-rounded', () => {
155
+ it.skip(' ', () => {
156
+ //
157
+ })
158
+ })
159
+ })
160
+ })
161
+
162
+ describe('Events', () => {
163
+ describe('(event): update:model-value', () => {
164
+ it.skip(' ', () => {
165
+ //
166
+ })
167
+ })
168
+ })
169
+
170
+ describe('Methods', () => {
171
+ describe('(method): runCmd', () => {
172
+ it.skip(' ', () => {
173
+ //
174
+ })
175
+ })
176
+
177
+ describe('(method): refreshToolbar', () => {
178
+ it.skip(' ', () => {
179
+ //
180
+ })
181
+ })
182
+
183
+ describe('(method): focus', () => {
184
+ it.skip(' ', () => {
185
+ //
186
+ })
187
+ })
188
+
189
+ describe('(method): getContentEl', () => {
190
+ it.skip(' ', () => {
191
+ //
192
+ })
193
+ })
194
+ })
195
+ })
@@ -26,7 +26,8 @@
26
26
  },
27
27
 
28
28
  "expand-icon-class": {
29
- "type": [ "Array", "String", "Object" ],
29
+ "type": [ "String", "Array", "Object" ],
30
+ "tsType": "VueClassProp",
30
31
  "desc": "Apply custom class(es) to the expand icon item section",
31
32
  "examples": [ "text-purple" ],
32
33
  "category": "style"
@@ -134,7 +135,8 @@
134
135
  },
135
136
 
136
137
  "header-style": {
137
- "type": [ "Array", "String", "Object" ],
138
+ "type": [ "String", "Array", "Object" ],
139
+ "tsType": "VueStyleProp",
138
140
  "desc": "Apply custom style to the header",
139
141
  "examples": [
140
142
  "background: '#ff0000'",
@@ -144,7 +146,8 @@
144
146
  },
145
147
 
146
148
  "header-class": {
147
- "type": [ "Array", "String", "Object" ],
149
+ "type": [ "String", "Array", "Object" ],
150
+ "tsType": "VueClassProp",
148
151
  "desc": "Apply custom class(es) to the header",
149
152
  "examples": [
150
153
  "my-custom-class",
@@ -87,7 +87,8 @@
87
87
  },
88
88
 
89
89
  "label-class": {
90
- "type": [ "Array", "String", "Object" ],
90
+ "type": [ "String", "Array", "Object" ],
91
+ "tsType": "VueClassProp",
91
92
  "desc": "Class definitions to be attributed to the label container",
92
93
  "examples": [
93
94
  "my-special-class",
@@ -97,7 +98,8 @@
97
98
  },
98
99
 
99
100
  "label-style": {
100
- "type": [ "Array", "String", "Object" ],
101
+ "type": [ "String", "Array", "Object" ],
102
+ "tsType": "VueStyleProp",
101
103
  "desc": "Style definitions to be attributed to the label container",
102
104
  "examples": [
103
105
  "background-color: #ff0000",
@@ -45,6 +45,7 @@ $field-transition-label-right-up: .324s cubic-bezier(.4,0,.2,1)
45
45
  line-height: 1
46
46
  color: rgba(0,0,0,.54)
47
47
  padding: 8px 12px 0
48
+ backface-visibility: hidden
48
49
 
49
50
  &--animated
50
51
  transform: translateY(100%)
@@ -190,6 +191,7 @@ $field-transition-label-right-up: .324s cubic-bezier(.4,0,.2,1)
190
191
  text-transform: inherit
191
192
  transform-origin: left top
192
193
  transition: transform $field-transition, max-width $field-transition-label-right-up
194
+ backface-visibility: hidden
193
195
 
194
196
  &--float .q-field__label
195
197
  max-width: 133%