quasar 2.8.4 → 2.9.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.
- package/dist/api/QBreadcrumbsEl.json +52 -0
- package/dist/api/QBtn.json +41 -6
- package/dist/api/QBtnDropdown.json +1 -1
- package/dist/api/QChip.json +1 -1
- package/dist/api/QEditor.json +7 -0
- package/dist/api/QExpansionItem.json +1 -1
- package/dist/api/QItem.json +52 -0
- package/dist/api/QRating.json +13 -0
- package/dist/api/QRouteTab.json +42 -6
- package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
- package/dist/icon-set/eva-icons.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v6-pro.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v6.umd.prod.js +1 -1
- package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
- package/dist/icon-set/line-awesome.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
- package/dist/icon-set/material-icons.umd.prod.js +1 -1
- package/dist/icon-set/material-symbols-outlined.umd.prod.js +1 -1
- package/dist/icon-set/material-symbols-rounded.umd.prod.js +1 -1
- package/dist/icon-set/material-symbols-sharp.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
- package/dist/icon-set/svg-fontawesome-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-symbols-outlined.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-symbols-rounded.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-symbols-sharp.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-themify.umd.prod.js +1 -1
- package/dist/icon-set/themify.umd.prod.js +1 -1
- package/dist/lang/ar-TN.umd.prod.js +1 -1
- package/dist/lang/ar.umd.prod.js +1 -1
- package/dist/lang/az-Latn.umd.prod.js +1 -1
- package/dist/lang/bg.umd.prod.js +1 -1
- package/dist/lang/bn.umd.prod.js +1 -1
- package/dist/lang/ca.umd.prod.js +1 -1
- package/dist/lang/cs.umd.prod.js +1 -1
- package/dist/lang/da.umd.prod.js +1 -1
- package/dist/lang/de.umd.prod.js +1 -1
- package/dist/lang/el.umd.prod.js +1 -1
- package/dist/lang/en-GB.umd.prod.js +1 -1
- package/dist/lang/en-US.umd.prod.js +1 -1
- package/dist/lang/eo.umd.prod.js +1 -1
- package/dist/lang/es.umd.prod.js +1 -1
- package/dist/lang/et.umd.prod.js +1 -1
- package/dist/lang/eu.umd.prod.js +1 -1
- package/dist/lang/fa-IR.umd.prod.js +1 -1
- package/dist/lang/fa.umd.prod.js +1 -1
- package/dist/lang/fi.umd.prod.js +1 -1
- package/dist/lang/fr.umd.prod.js +1 -1
- package/dist/lang/gn.umd.prod.js +1 -1
- package/dist/lang/he.umd.prod.js +1 -1
- package/dist/lang/hr.umd.prod.js +1 -1
- package/dist/lang/hu.umd.prod.js +1 -1
- package/dist/lang/id.umd.prod.js +1 -1
- package/dist/lang/is.umd.prod.js +1 -1
- package/dist/lang/it.umd.prod.js +1 -1
- package/dist/lang/ja.umd.prod.js +1 -1
- package/dist/lang/km.umd.prod.js +1 -1
- package/dist/lang/ko-KR.umd.prod.js +1 -1
- package/dist/lang/kur-CKB.umd.prod.js +1 -1
- package/dist/lang/kz.umd.prod.js +1 -1
- package/dist/lang/lt.umd.prod.js +1 -1
- package/dist/lang/lu.umd.prod.js +1 -1
- package/dist/lang/lv.umd.prod.js +1 -1
- package/dist/lang/ml.umd.prod.js +1 -1
- package/dist/lang/mm.umd.prod.js +1 -1
- package/dist/lang/ms.umd.prod.js +1 -1
- package/dist/lang/my.umd.prod.js +1 -1
- package/dist/lang/nb-NO.umd.prod.js +1 -1
- package/dist/lang/nl.umd.prod.js +2 -2
- package/dist/lang/pl.umd.prod.js +1 -1
- package/dist/lang/pt-BR.umd.prod.js +1 -1
- package/dist/lang/pt.umd.prod.js +1 -1
- package/dist/lang/ro.umd.prod.js +1 -1
- package/dist/lang/ru.umd.prod.js +1 -1
- package/dist/lang/sk.umd.prod.js +1 -1
- package/dist/lang/sl.umd.prod.js +1 -1
- package/dist/lang/sm.umd.prod.js +1 -1
- package/dist/lang/sr-CYR.umd.prod.js +1 -1
- package/dist/lang/sr.umd.prod.js +1 -1
- package/dist/lang/sv.umd.prod.js +1 -1
- package/dist/lang/ta.umd.prod.js +1 -1
- package/dist/lang/th.umd.prod.js +1 -1
- package/dist/lang/tr.umd.prod.js +1 -1
- package/dist/lang/ug.umd.prod.js +1 -1
- package/dist/lang/uk.umd.prod.js +1 -1
- package/dist/lang/uz-Cyrl.umd.prod.js +1 -1
- package/dist/lang/uz-Latn.umd.prod.js +1 -1
- package/dist/lang/vi.umd.prod.js +1 -1
- package/dist/lang/zh-CN.umd.prod.js +1 -1
- package/dist/lang/zh-TW.umd.prod.js +1 -1
- package/dist/quasar.cjs.prod.js +2 -2
- package/dist/quasar.esm.js +533 -337
- package/dist/quasar.esm.prod.js +2 -2
- package/dist/quasar.sass +1 -1
- package/dist/quasar.umd.js +532 -336
- package/dist/quasar.umd.prod.js +2 -2
- package/dist/transforms/auto-import.json +7 -3
- package/dist/transforms/import-map.json +2 -0
- package/dist/types/api/qeditor.d.ts +17 -0
- package/dist/types/api.d.ts +1 -0
- package/dist/types/index.d.ts +93 -8
- package/dist/types/utils/run-sequential-promises.d.ts +1 -1
- package/dist/vetur/quasar-attributes.json +4 -0
- package/dist/vetur/quasar-tags.json +1 -0
- package/dist/web-types/web-types.json +60 -9
- package/lang/nl.js +2 -2
- package/lang/nl.mjs +2 -2
- package/package.json +5 -3
- package/src/components/banner/__tests__/QBanner.spec.js +107 -0
- package/src/components/bar/__tests__/QBar.spec.js +46 -0
- package/src/components/breadcrumbs/QBreadcrumbsEl.js +6 -7
- package/src/components/breadcrumbs/QBreadcrumbsEl.json +53 -0
- package/src/components/btn/QBtn.js +19 -19
- package/src/components/btn/QBtn.json +41 -6
- package/src/components/btn/use-btn.js +6 -4
- package/src/components/btn-dropdown/QBtnDropdown.json +1 -1
- package/src/components/checkbox/QCheckbox.js +1 -2
- package/src/components/checkbox/use-checkbox.js +2 -1
- package/src/components/chip/QChip.json +1 -1
- package/src/components/dialog/QDialog.js +6 -4
- package/src/components/drawer/QDrawer.js +7 -4
- package/src/components/editor/QEditor.json +9 -0
- package/src/components/expansion-item/QExpansionItem.json +1 -1
- package/src/components/item/QItem.js +4 -5
- package/src/components/item/QItem.json +53 -0
- package/src/components/menu/QMenu.js +4 -5
- package/src/components/menu/__tests__/QMenu.spec.js +7 -0
- package/src/components/popup-edit/QPopupEdit.js +2 -5
- package/src/components/radio/QRadio.js +3 -3
- package/src/components/rating/QRating.js +48 -10
- package/src/components/rating/QRating.json +11 -0
- package/src/components/stepper/QStep.js +5 -3
- package/src/components/table/QTable.js +3 -5
- package/src/components/tabs/QRouteTab.js +6 -4
- package/src/components/tabs/QRouteTab.json +42 -6
- package/src/components/tabs/QTabs.js +188 -108
- package/src/components/tabs/use-tab.js +62 -38
- package/src/components/tooltip/QTooltip.js +7 -13
- package/src/components/tree/QTree.js +1 -1
- package/src/composables/private/__tests__/use-model-toggle.spec.js +2 -0
- package/src/composables/private/__tests__/use-transition.spec.js +4 -0
- package/src/composables/private/use-router-link.js +80 -43
- package/src/composables/private/use-tick.js +15 -9
- package/src/composables/private/use-timeout.js +20 -7
- package/src/directives/TouchPan.js +1 -1
- package/src/directives/TouchRepeat.js +1 -1
- package/src/directives/TouchSwipe.js +1 -1
- package/src/utils/extend.js +19 -19
- package/src/utils/private/inject-obj-prop.js +2 -0
- package/src/utils/private/rtl.js +10 -7
- package/src/utils/run-sequential-promises.js +1 -1
|
@@ -120,5 +120,57 @@
|
|
|
120
120
|
"default": {
|
|
121
121
|
"desc": "This is where custom content goes, unless 'icon' and 'label' props are not enough"
|
|
122
122
|
}
|
|
123
|
+
},
|
|
124
|
+
"events": {
|
|
125
|
+
"click": {
|
|
126
|
+
"desc": "Emitted when the component is clicked",
|
|
127
|
+
"params": {
|
|
128
|
+
"evt": {
|
|
129
|
+
"type": "Event",
|
|
130
|
+
"desc": "JS event object; If you are using route navigation ('to'/'replace' props) and you want to cancel navigation then call evt.preventDefault() synchronously in your event handler"
|
|
131
|
+
},
|
|
132
|
+
"go": {
|
|
133
|
+
"type": "Function",
|
|
134
|
+
"desc": "Available ONLY if you are using route navigation ('to'/'replace' props); When you need to control the time at which the component should trigger the route navigation then call evt.preventDefault() synchronously and then call this function at your convenience; Useful if you have async work to be done before the actual route navigation or if you want to redirect somewhere else",
|
|
135
|
+
"required": false,
|
|
136
|
+
"addedIn": "v2.9",
|
|
137
|
+
"params": {
|
|
138
|
+
"opts": {
|
|
139
|
+
"type": "Object",
|
|
140
|
+
"desc": "Optional options",
|
|
141
|
+
"required": false,
|
|
142
|
+
"definition": {
|
|
143
|
+
"to": {
|
|
144
|
+
"type": [
|
|
145
|
+
"String",
|
|
146
|
+
"Object"
|
|
147
|
+
],
|
|
148
|
+
"desc": "Equivalent to Vue Router <router-link> 'to' property; Specify it explicitly otherwise it will be set with same value as component's 'to' prop",
|
|
149
|
+
"required": false,
|
|
150
|
+
"examples": [
|
|
151
|
+
"/home/dashboard",
|
|
152
|
+
"{ name: 'my-route-name' }"
|
|
153
|
+
]
|
|
154
|
+
},
|
|
155
|
+
"replace": {
|
|
156
|
+
"type": "Boolean",
|
|
157
|
+
"desc": "Equivalent to Vue Router <router-link> 'replace' property; Specify it explicitly otherwise it will be set with same value as component's 'replace' prop",
|
|
158
|
+
"required": false
|
|
159
|
+
},
|
|
160
|
+
"returnRouterError": {
|
|
161
|
+
"type": "Boolean",
|
|
162
|
+
"desc": "Return the router error, if any; Otherwise the returned Promise will always fulfill",
|
|
163
|
+
"required": false
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
"returns": {
|
|
169
|
+
"type": "Promise<any>",
|
|
170
|
+
"desc": "Returns the router's navigation promise"
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
123
175
|
}
|
|
124
176
|
}
|
package/dist/api/QBtn.json
CHANGED
|
@@ -284,17 +284,52 @@
|
|
|
284
284
|
},
|
|
285
285
|
"events": {
|
|
286
286
|
"click": {
|
|
287
|
-
"desc": "Emitted when component is clicked
|
|
287
|
+
"desc": "Emitted when the component is clicked",
|
|
288
288
|
"params": {
|
|
289
289
|
"evt": {
|
|
290
290
|
"type": "Event",
|
|
291
|
-
"desc": "JS event object; If you want to cancel navigation
|
|
291
|
+
"desc": "JS event object; If you are using route navigation ('to'/'replace' props) and you want to cancel navigation then call evt.preventDefault() synchronously in your event handler"
|
|
292
292
|
},
|
|
293
|
-
"
|
|
293
|
+
"go": {
|
|
294
294
|
"type": "Function",
|
|
295
|
-
"desc": "When you need to control the time at which the
|
|
296
|
-
"
|
|
297
|
-
"
|
|
295
|
+
"desc": "Available ONLY if you are using route navigation ('to'/'replace' props); When you need to control the time at which the component should trigger the route navigation then call evt.preventDefault() synchronously and then call this function at your convenience; Useful if you have async work to be done before the actual route navigation or if you want to redirect somewhere else",
|
|
296
|
+
"required": false,
|
|
297
|
+
"addedIn": "v2.9",
|
|
298
|
+
"params": {
|
|
299
|
+
"opts": {
|
|
300
|
+
"type": "Object",
|
|
301
|
+
"desc": "Optional options",
|
|
302
|
+
"required": false,
|
|
303
|
+
"definition": {
|
|
304
|
+
"to": {
|
|
305
|
+
"type": [
|
|
306
|
+
"String",
|
|
307
|
+
"Object"
|
|
308
|
+
],
|
|
309
|
+
"desc": "Equivalent to Vue Router <router-link> 'to' property; Specify it explicitly otherwise it will be set with same value as component's 'to' prop",
|
|
310
|
+
"required": false,
|
|
311
|
+
"examples": [
|
|
312
|
+
"/home/dashboard",
|
|
313
|
+
"{ name: 'my-route-name' }"
|
|
314
|
+
]
|
|
315
|
+
},
|
|
316
|
+
"replace": {
|
|
317
|
+
"type": "Boolean",
|
|
318
|
+
"desc": "Equivalent to Vue Router <router-link> 'replace' property; Specify it explicitly otherwise it will be set with same value as component's 'replace' prop",
|
|
319
|
+
"required": false
|
|
320
|
+
},
|
|
321
|
+
"returnRouterError": {
|
|
322
|
+
"type": "Boolean",
|
|
323
|
+
"desc": "Return the router error, if any; Otherwise the returned Promise will always fulfill",
|
|
324
|
+
"required": false
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
},
|
|
329
|
+
"returns": {
|
|
330
|
+
"type": "Promise<any>",
|
|
331
|
+
"desc": "Returns the router's navigation promise"
|
|
332
|
+
}
|
|
298
333
|
}
|
|
299
334
|
}
|
|
300
335
|
}
|
package/dist/api/QChip.json
CHANGED
package/dist/api/QEditor.json
CHANGED
package/dist/api/QItem.json
CHANGED
|
@@ -139,5 +139,57 @@
|
|
|
139
139
|
"default": {
|
|
140
140
|
"desc": "This is where QItem's content goes"
|
|
141
141
|
}
|
|
142
|
+
},
|
|
143
|
+
"events": {
|
|
144
|
+
"click": {
|
|
145
|
+
"desc": "Emitted when the component is clicked",
|
|
146
|
+
"params": {
|
|
147
|
+
"evt": {
|
|
148
|
+
"type": "Event",
|
|
149
|
+
"desc": "JS event object; If you are using route navigation ('to'/'replace' props) and you want to cancel navigation then call evt.preventDefault() synchronously in your event handler"
|
|
150
|
+
},
|
|
151
|
+
"go": {
|
|
152
|
+
"type": "Function",
|
|
153
|
+
"desc": "Available ONLY if you are using route navigation ('to'/'replace' props); When you need to control the time at which the component should trigger the route navigation then call evt.preventDefault() synchronously and then call this function at your convenience; Useful if you have async work to be done before the actual route navigation or if you want to redirect somewhere else",
|
|
154
|
+
"required": false,
|
|
155
|
+
"addedIn": "v2.9",
|
|
156
|
+
"params": {
|
|
157
|
+
"opts": {
|
|
158
|
+
"type": "Object",
|
|
159
|
+
"desc": "Optional options",
|
|
160
|
+
"required": false,
|
|
161
|
+
"definition": {
|
|
162
|
+
"to": {
|
|
163
|
+
"type": [
|
|
164
|
+
"String",
|
|
165
|
+
"Object"
|
|
166
|
+
],
|
|
167
|
+
"desc": "Equivalent to Vue Router <router-link> 'to' property; Specify it explicitly otherwise it will be set with same value as component's 'to' prop",
|
|
168
|
+
"required": false,
|
|
169
|
+
"examples": [
|
|
170
|
+
"/home/dashboard",
|
|
171
|
+
"{ name: 'my-route-name' }"
|
|
172
|
+
]
|
|
173
|
+
},
|
|
174
|
+
"replace": {
|
|
175
|
+
"type": "Boolean",
|
|
176
|
+
"desc": "Equivalent to Vue Router <router-link> 'replace' property; Specify it explicitly otherwise it will be set with same value as component's 'replace' prop",
|
|
177
|
+
"required": false
|
|
178
|
+
},
|
|
179
|
+
"returnRouterError": {
|
|
180
|
+
"type": "Boolean",
|
|
181
|
+
"desc": "Return the router error, if any; Otherwise the returned Promise will always fulfill",
|
|
182
|
+
"required": false
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
"returns": {
|
|
188
|
+
"type": "Promise<any>",
|
|
189
|
+
"desc": "Returns the router's navigation promise"
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
142
194
|
}
|
|
143
195
|
}
|
package/dist/api/QRating.json
CHANGED
|
@@ -91,6 +91,19 @@
|
|
|
91
91
|
],
|
|
92
92
|
"category": "content"
|
|
93
93
|
},
|
|
94
|
+
"icon-aria-label": {
|
|
95
|
+
"type": [
|
|
96
|
+
"String",
|
|
97
|
+
"Array"
|
|
98
|
+
],
|
|
99
|
+
"desc": "Label to be set on aria-label for Icon; If an array is provided each rating value will use the corresponding aria-label in the array (0 based); If string value is provided the rating value will be appended; If not provided the name of the icon will be used",
|
|
100
|
+
"examples": [
|
|
101
|
+
"Rating",
|
|
102
|
+
"[\"Bad\", \"Normal\", \"Good\"]"
|
|
103
|
+
],
|
|
104
|
+
"category": "accessibility",
|
|
105
|
+
"addedIn": "v1.20.3"
|
|
106
|
+
},
|
|
94
107
|
"color": {
|
|
95
108
|
"type": [
|
|
96
109
|
"String",
|
package/dist/api/QRouteTab.json
CHANGED
|
@@ -171,17 +171,53 @@
|
|
|
171
171
|
},
|
|
172
172
|
"events": {
|
|
173
173
|
"click": {
|
|
174
|
-
"desc": "Emitted when component is clicked
|
|
174
|
+
"desc": "Emitted when the component is clicked",
|
|
175
175
|
"params": {
|
|
176
176
|
"evt": {
|
|
177
177
|
"type": "Event",
|
|
178
|
-
"desc": "JS event object; If you want to cancel navigation
|
|
178
|
+
"desc": "JS event object; If you want to cancel navigation then call evt.preventDefault() synchronously in your event handler"
|
|
179
179
|
},
|
|
180
|
-
"
|
|
180
|
+
"go": {
|
|
181
181
|
"type": "Function",
|
|
182
|
-
"desc": "When you need to control the time at which the
|
|
183
|
-
"
|
|
184
|
-
"
|
|
182
|
+
"desc": "When you need to control the time at which the component should trigger the route navigation then call evt.preventDefault() synchronously and then call this function at your convenience; Useful if you have async work to be done before the actual route navigation or if you want to redirect somewhere else",
|
|
183
|
+
"required": false,
|
|
184
|
+
"params": {
|
|
185
|
+
"opts": {
|
|
186
|
+
"type": "Object",
|
|
187
|
+
"desc": "Optional options",
|
|
188
|
+
"required": false,
|
|
189
|
+
"definition": {
|
|
190
|
+
"to": {
|
|
191
|
+
"type": [
|
|
192
|
+
"String",
|
|
193
|
+
"Object"
|
|
194
|
+
],
|
|
195
|
+
"desc": "Equivalent to Vue Router <router-link> 'to' property; Specify it explicitly otherwise it will be set with same value as component's 'to' prop",
|
|
196
|
+
"required": false,
|
|
197
|
+
"examples": [
|
|
198
|
+
"/home/dashboard",
|
|
199
|
+
"{ name: 'my-route-name' }"
|
|
200
|
+
]
|
|
201
|
+
},
|
|
202
|
+
"replace": {
|
|
203
|
+
"type": "Boolean",
|
|
204
|
+
"desc": "Equivalent to Vue Router <router-link> 'replace' property; Specify it explicitly otherwise it will be set with same value as component's 'replace' prop",
|
|
205
|
+
"required": false
|
|
206
|
+
},
|
|
207
|
+
"returnRouterError": {
|
|
208
|
+
"type": "Boolean",
|
|
209
|
+
"desc": "Return the router error, if any; Otherwise the returned Promise will always fulfill",
|
|
210
|
+
"required": false
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"addedIn": "v2.9"
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
"returns": {
|
|
217
|
+
"type": "Promise<any>",
|
|
218
|
+
"desc": "Returns the router's navigation promise",
|
|
219
|
+
"addedIn": "v2.9"
|
|
220
|
+
}
|
|
185
221
|
}
|
|
186
222
|
}
|
|
187
223
|
}
|
package/dist/lang/ar.umd.prod.js
CHANGED
package/dist/lang/bg.umd.prod.js
CHANGED