quasar 2.8.3 → 2.9.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.
- package/dist/api/QBreadcrumbsEl.json +52 -0
- package/dist/api/QBtn.json +41 -6
- package/dist/api/QBtnDropdown.json +9 -0
- package/dist/api/QChip.json +9 -0
- package/dist/api/QCircularProgress.json +6 -0
- package/dist/api/QEditor.json +7 -0
- package/dist/api/QExpansionItem.json +59 -0
- package/dist/api/QItem.json +52 -0
- package/dist/api/QRating.json +13 -0
- package/dist/api/QRouteTab.json +42 -6
- package/dist/api/QTable.json +2 -2
- 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 +2 -2
- package/dist/lang/ar.umd.prod.js +2 -2
- package/dist/lang/az-Latn.umd.prod.js +2 -2
- package/dist/lang/bg.umd.prod.js +2 -2
- package/dist/lang/bn.umd.prod.js +2 -2
- package/dist/lang/ca.umd.prod.js +2 -2
- package/dist/lang/cs.umd.prod.js +2 -2
- package/dist/lang/da.umd.prod.js +2 -2
- package/dist/lang/de.umd.prod.js +2 -2
- package/dist/lang/el.umd.prod.js +2 -2
- package/dist/lang/en-GB.umd.prod.js +2 -2
- package/dist/lang/en-US.umd.prod.js +2 -2
- package/dist/lang/eo.umd.prod.js +2 -2
- package/dist/lang/es.umd.prod.js +2 -2
- package/dist/lang/et.umd.prod.js +2 -2
- package/dist/lang/eu.umd.prod.js +2 -2
- package/dist/lang/fa-IR.umd.prod.js +2 -2
- package/dist/lang/fa.umd.prod.js +2 -2
- package/dist/lang/fi.umd.prod.js +2 -2
- package/dist/lang/fr.umd.prod.js +2 -2
- package/dist/lang/gn.umd.prod.js +2 -2
- package/dist/lang/he.umd.prod.js +2 -2
- package/dist/lang/hr.umd.prod.js +2 -2
- package/dist/lang/hu.umd.prod.js +2 -2
- package/dist/lang/id.umd.prod.js +2 -2
- package/dist/lang/is.umd.prod.js +2 -2
- package/dist/lang/it.umd.prod.js +2 -2
- package/dist/lang/ja.umd.prod.js +2 -2
- package/dist/lang/km.umd.prod.js +2 -2
- package/dist/lang/ko-KR.umd.prod.js +2 -2
- package/dist/lang/kur-CKB.umd.prod.js +2 -2
- package/dist/lang/kz.umd.prod.js +2 -2
- package/dist/lang/lt.umd.prod.js +2 -2
- package/dist/lang/lu.umd.prod.js +2 -2
- package/dist/lang/lv.umd.prod.js +2 -2
- package/dist/lang/ml.umd.prod.js +2 -2
- package/dist/lang/mm.umd.prod.js +2 -2
- package/dist/lang/ms.umd.prod.js +2 -2
- package/dist/lang/my.umd.prod.js +2 -2
- package/dist/lang/nb-NO.umd.prod.js +2 -2
- package/dist/lang/nl.umd.prod.js +2 -2
- package/dist/lang/pl.umd.prod.js +2 -2
- package/dist/lang/pt-BR.umd.prod.js +2 -2
- package/dist/lang/pt.umd.prod.js +2 -2
- package/dist/lang/ro.umd.prod.js +2 -2
- package/dist/lang/ru.umd.prod.js +2 -2
- package/dist/lang/sk.umd.prod.js +2 -2
- package/dist/lang/sl.umd.prod.js +2 -2
- package/dist/lang/sm.umd.prod.js +2 -2
- package/dist/lang/sr-CYR.umd.prod.js +2 -2
- package/dist/lang/sr.umd.prod.js +2 -2
- package/dist/lang/sv.umd.prod.js +2 -2
- package/dist/lang/ta.umd.prod.js +2 -2
- package/dist/lang/th.umd.prod.js +2 -2
- package/dist/lang/tr.umd.prod.js +2 -2
- package/dist/lang/ug.umd.prod.js +2 -2
- package/dist/lang/uk.umd.prod.js +2 -2
- package/dist/lang/uz-Cyrl.umd.prod.js +2 -2
- package/dist/lang/uz-Latn.umd.prod.js +2 -2
- package/dist/lang/vi.umd.prod.js +2 -2
- package/dist/lang/zh-CN.umd.prod.js +2 -2
- package/dist/lang/zh-TW.umd.prod.js +2 -2
- package/dist/quasar.cjs.prod.js +2 -2
- package/dist/quasar.esm.js +16157 -15723
- package/dist/quasar.esm.prod.js +2 -2
- package/dist/quasar.sass +1 -1
- package/dist/quasar.umd.js +16290 -15854
- package/dist/quasar.umd.prod.js +2 -2
- package/dist/transforms/import-map.json +2 -0
- package/dist/types/api/qeditor.d.ts +17 -0
- package/dist/types/api/qloading.d.ts +5 -0
- package/dist/types/api.d.ts +2 -0
- package/dist/types/index.d.ts +133 -9
- package/dist/types/utils/is.d.ts +67 -0
- package/dist/types/utils/run-sequential-promises.d.ts +119 -0
- package/dist/types/utils.d.ts +9 -0
- package/dist/vetur/quasar-attributes.json +25 -1
- package/dist/vetur/quasar-tags.json +7 -1
- package/dist/web-types/web-types.json +108 -10
- package/lang/ar-TN.js +3 -1
- package/lang/ar-TN.mjs +3 -1
- package/lang/ar.js +3 -1
- package/lang/ar.mjs +3 -1
- package/lang/az-Latn.js +3 -1
- package/lang/az-Latn.mjs +3 -1
- package/lang/bg.js +3 -1
- package/lang/bg.mjs +3 -1
- package/lang/bn.js +3 -1
- package/lang/bn.mjs +3 -1
- package/lang/ca.js +3 -1
- package/lang/ca.mjs +3 -1
- package/lang/cs.js +3 -1
- package/lang/cs.mjs +3 -1
- package/lang/da.js +3 -1
- package/lang/da.mjs +3 -1
- package/lang/de.js +3 -1
- package/lang/de.mjs +3 -1
- package/lang/el.js +3 -1
- package/lang/el.mjs +3 -1
- package/lang/en-GB.js +3 -1
- package/lang/en-GB.mjs +3 -1
- package/lang/en-US.js +3 -1
- package/lang/en-US.mjs +3 -1
- package/lang/eo.js +3 -1
- package/lang/eo.mjs +3 -1
- package/lang/es.js +3 -1
- package/lang/es.mjs +3 -1
- package/lang/et.js +3 -1
- package/lang/et.mjs +3 -1
- package/lang/eu.js +3 -1
- package/lang/eu.mjs +3 -1
- package/lang/fa-IR.js +5 -3
- package/lang/fa-IR.mjs +5 -3
- package/lang/fa.js +5 -3
- package/lang/fa.mjs +5 -3
- package/lang/fi.js +3 -1
- package/lang/fi.mjs +3 -1
- package/lang/fr.js +3 -1
- package/lang/fr.mjs +3 -1
- package/lang/gn.js +3 -1
- package/lang/gn.mjs +3 -1
- package/lang/he.js +3 -1
- package/lang/he.mjs +3 -1
- package/lang/hr.js +3 -1
- package/lang/hr.mjs +3 -1
- package/lang/hu.js +3 -1
- package/lang/hu.mjs +3 -1
- package/lang/id.js +3 -1
- package/lang/id.mjs +3 -1
- package/lang/is.js +3 -1
- package/lang/is.mjs +3 -1
- package/lang/it.js +3 -1
- package/lang/it.mjs +3 -1
- package/lang/ja.js +3 -1
- package/lang/ja.mjs +3 -1
- package/lang/km.js +3 -1
- package/lang/km.mjs +3 -1
- package/lang/ko-KR.js +3 -1
- package/lang/ko-KR.mjs +3 -1
- package/lang/kur-CKB.js +3 -1
- package/lang/kur-CKB.mjs +3 -1
- package/lang/kz.js +3 -1
- package/lang/kz.mjs +3 -1
- package/lang/lt.js +3 -1
- package/lang/lt.mjs +3 -1
- package/lang/lu.js +3 -1
- package/lang/lu.mjs +3 -1
- package/lang/lv.js +3 -1
- package/lang/lv.mjs +3 -1
- package/lang/ml.js +3 -1
- package/lang/ml.mjs +3 -1
- package/lang/mm.js +4 -1
- package/lang/mm.mjs +4 -1
- package/lang/ms.js +3 -1
- package/lang/ms.mjs +3 -1
- package/lang/my.js +3 -1
- package/lang/my.mjs +3 -1
- package/lang/nb-NO.js +3 -1
- package/lang/nb-NO.mjs +3 -1
- package/lang/nl.js +3 -1
- package/lang/nl.mjs +3 -1
- package/lang/pl.js +3 -1
- package/lang/pl.mjs +3 -1
- package/lang/pt-BR.js +3 -1
- package/lang/pt-BR.mjs +3 -1
- package/lang/pt.js +3 -1
- package/lang/pt.mjs +3 -1
- package/lang/ro.js +3 -1
- package/lang/ro.mjs +3 -1
- package/lang/ru.js +3 -1
- package/lang/ru.mjs +3 -1
- package/lang/sk.js +3 -1
- package/lang/sk.mjs +3 -1
- package/lang/sl.js +3 -1
- package/lang/sl.mjs +3 -1
- package/lang/sm.js +3 -1
- package/lang/sm.mjs +3 -1
- package/lang/sr-CYR.js +3 -1
- package/lang/sr-CYR.mjs +3 -1
- package/lang/sr.js +3 -1
- package/lang/sr.mjs +3 -1
- package/lang/sv.js +3 -1
- package/lang/sv.mjs +3 -1
- package/lang/ta.js +3 -1
- package/lang/ta.mjs +3 -1
- package/lang/th.js +3 -1
- package/lang/th.mjs +3 -1
- package/lang/tr.js +3 -1
- package/lang/tr.mjs +3 -1
- package/lang/ug.js +5 -3
- package/lang/ug.mjs +5 -3
- package/lang/uk.js +3 -1
- package/lang/uk.mjs +3 -1
- package/lang/uz-Cyrl.js +3 -1
- package/lang/uz-Cyrl.mjs +3 -1
- package/lang/uz-Latn.js +3 -1
- package/lang/uz-Latn.mjs +3 -1
- package/lang/vi.js +3 -1
- package/lang/vi.mjs +3 -1
- package/lang/zh-CN.js +3 -1
- package/lang/zh-CN.mjs +3 -1
- package/lang/zh-TW.js +3 -1
- package/lang/zh-TW.mjs +3 -1
- package/package.json +6 -5
- 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.js +10 -2
- package/src/components/btn-dropdown/QBtnDropdown.json +8 -0
- package/src/components/checkbox/QCheckbox.js +1 -2
- package/src/components/checkbox/use-checkbox.js +2 -1
- package/src/components/chip/QChip.js +9 -2
- package/src/components/chip/QChip.json +8 -0
- package/src/components/chip/__tests__/QChip.spec.js +359 -46
- package/src/components/circular-progress/QCircularProgress.js +4 -2
- package/src/components/circular-progress/QCircularProgress.json +7 -0
- package/src/components/circular-progress/use-circular-progress.js +1 -0
- package/src/components/dialog/QDialog.js +7 -4
- package/src/components/drawer/QDrawer.js +7 -4
- package/src/components/editor/QEditor.json +9 -0
- package/src/components/expansion-item/QExpansionItem.js +37 -8
- package/src/components/expansion-item/QExpansionItem.json +67 -0
- package/src/components/fab/QFab.js +20 -1
- package/src/components/form/QForm.js +35 -40
- package/src/components/form/QFormChildMixin.js +3 -1
- package/src/components/item/QItem.js +4 -5
- package/src/components/item/QItem.json +53 -0
- package/src/components/menu/QMenu.js +5 -5
- package/src/components/menu/__tests__/QMenu.spec.js +7 -0
- package/src/components/page/QPage.js +1 -1
- 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/select/QSelect.js +1 -4
- package/src/components/stepper/QStep.js +5 -3
- package/src/components/table/QTable.js +4 -6
- package/src/components/table/QTable.json +2 -2
- package/src/components/tabs/QRouteTab.js +6 -4
- package/src/components/tabs/QRouteTab.json +42 -6
- package/src/components/tabs/QTabs.js +188 -107
- package/src/components/tabs/use-tab.js +62 -38
- package/src/components/time/QTime.js +2 -2
- package/src/components/tooltip/QTooltip.js +7 -13
- package/src/components/tree/QTree.js +1 -1
- package/src/components/uploader/uploader-core.js +2 -3
- 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-file.js +1 -1
- 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/composables/private/use-validate.js +7 -13
- package/src/composables/use-form-child.js +6 -4
- package/src/directives/TouchPan.js +1 -1
- package/src/directives/TouchRepeat.js +1 -1
- package/src/directives/TouchSwipe.js +1 -1
- package/src/utils/EventBus.js +64 -0
- 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/private/vm.js +4 -0
- package/src/utils/run-sequential-promises.js +115 -0
- package/src/utils.js +4 -0
|
@@ -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
|
}
|
|
@@ -408,6 +408,15 @@
|
|
|
408
408
|
"[5, 10]"
|
|
409
409
|
],
|
|
410
410
|
"category": "position"
|
|
411
|
+
},
|
|
412
|
+
"toggle-aria-label": {
|
|
413
|
+
"type": "String",
|
|
414
|
+
"desc": "aria-label to be used on the dropdown toggle element",
|
|
415
|
+
"examples": [
|
|
416
|
+
"Open menu"
|
|
417
|
+
],
|
|
418
|
+
"category": "accessibility",
|
|
419
|
+
"addedIn": "v2.8.4"
|
|
411
420
|
}
|
|
412
421
|
},
|
|
413
422
|
"slots": {
|
package/dist/api/QChip.json
CHANGED
|
@@ -154,6 +154,15 @@
|
|
|
154
154
|
"category": "style",
|
|
155
155
|
"required": false
|
|
156
156
|
},
|
|
157
|
+
"remove-aria-label": {
|
|
158
|
+
"type": "String",
|
|
159
|
+
"desc": "aria-label to be used on the remove icon",
|
|
160
|
+
"examples": [
|
|
161
|
+
"Remove item"
|
|
162
|
+
],
|
|
163
|
+
"category": "accessibility",
|
|
164
|
+
"addedIn": "v2.8.4"
|
|
165
|
+
},
|
|
157
166
|
"tabindex": {
|
|
158
167
|
"type": [
|
|
159
168
|
"Number",
|
package/dist/api/QEditor.json
CHANGED
|
@@ -121,6 +121,15 @@
|
|
|
121
121
|
],
|
|
122
122
|
"category": "style"
|
|
123
123
|
},
|
|
124
|
+
"toggle-aria-label": {
|
|
125
|
+
"type": "String",
|
|
126
|
+
"desc": "aria-label to be used on the expansion toggle element",
|
|
127
|
+
"examples": [
|
|
128
|
+
"Open details"
|
|
129
|
+
],
|
|
130
|
+
"category": "accessibility",
|
|
131
|
+
"addedIn": "v2.8.4"
|
|
132
|
+
},
|
|
124
133
|
"label": {
|
|
125
134
|
"type": "String",
|
|
126
135
|
"desc": "Header label (unless using 'header' slot)",
|
|
@@ -209,6 +218,12 @@
|
|
|
209
218
|
"desc": "Puts expansion item into open state on initial render; Overridden by v-model if used",
|
|
210
219
|
"category": "behavior"
|
|
211
220
|
},
|
|
221
|
+
"hide-expand-icon": {
|
|
222
|
+
"type": "Boolean",
|
|
223
|
+
"desc": "Do not show the expand icon",
|
|
224
|
+
"category": "content",
|
|
225
|
+
"addedIn": "v2.8.4"
|
|
226
|
+
},
|
|
212
227
|
"expand-icon-toggle": {
|
|
213
228
|
"type": "Boolean",
|
|
214
229
|
"desc": "Applies the expansion events to the expand icon only and not to the whole header",
|
|
@@ -277,6 +292,50 @@
|
|
|
277
292
|
"type": "Boolean",
|
|
278
293
|
"desc": "QExpansionItem expanded status",
|
|
279
294
|
"addedIn": "v2.7.6"
|
|
295
|
+
},
|
|
296
|
+
"detailsId": {
|
|
297
|
+
"type": "String",
|
|
298
|
+
"desc": "QExpansionItem details panel id (for use in aria-controls)",
|
|
299
|
+
"addedIn": "v2.8.4"
|
|
300
|
+
},
|
|
301
|
+
"show": {
|
|
302
|
+
"type": "Function",
|
|
303
|
+
"desc": "Triggers component to show",
|
|
304
|
+
"params": {
|
|
305
|
+
"evt": {
|
|
306
|
+
"type": "Object",
|
|
307
|
+
"required": false,
|
|
308
|
+
"desc": "JS event object"
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
"returns": null,
|
|
312
|
+
"addedIn": "v2.8.4"
|
|
313
|
+
},
|
|
314
|
+
"hide": {
|
|
315
|
+
"type": "Function",
|
|
316
|
+
"desc": "Triggers component to hide",
|
|
317
|
+
"params": {
|
|
318
|
+
"evt": {
|
|
319
|
+
"type": "Object",
|
|
320
|
+
"required": false,
|
|
321
|
+
"desc": "JS event object"
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
"returns": null,
|
|
325
|
+
"addedIn": "v2.8.4"
|
|
326
|
+
},
|
|
327
|
+
"toggle": {
|
|
328
|
+
"type": "Function",
|
|
329
|
+
"desc": "Triggers component to toggle between show/hide",
|
|
330
|
+
"params": {
|
|
331
|
+
"evt": {
|
|
332
|
+
"type": "Object",
|
|
333
|
+
"required": false,
|
|
334
|
+
"desc": "JS event object"
|
|
335
|
+
}
|
|
336
|
+
},
|
|
337
|
+
"returns": null,
|
|
338
|
+
"addedIn": "v2.8.4"
|
|
280
339
|
}
|
|
281
340
|
}
|
|
282
341
|
}
|
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/api/QTable.json
CHANGED
|
@@ -134,12 +134,12 @@
|
|
|
134
134
|
"Number",
|
|
135
135
|
"String"
|
|
136
136
|
],
|
|
137
|
-
"desc": "Size in pixels of the sticky header (if using one); A correct value will improve scroll precision",
|
|
137
|
+
"desc": "Size in pixels of the sticky header (if using one); A correct value will improve scroll precision; Will be also used for non-virtual-scroll tables for fixing top alignment when using scrollTo method",
|
|
138
138
|
"default": "0",
|
|
139
139
|
"examples": [
|
|
140
140
|
"virtual-scroll-sticky-size-start=\"48\""
|
|
141
141
|
],
|
|
142
|
-
"category": "virtual-scroll",
|
|
142
|
+
"category": "virtual-scroll|behavior",
|
|
143
143
|
"required": false
|
|
144
144
|
},
|
|
145
145
|
"virtual-scroll-sticky-size-end": {
|