quasar 2.3.2 → 2.3.3
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/AppFullscreen.json +15 -8
- package/dist/api/BottomSheet.json +6 -0
- package/dist/api/Cookies.json +4 -3
- package/dist/api/Dialog.json +23 -9
- package/dist/api/Loading.json +4 -2
- package/dist/api/LoadingBar.json +8 -3
- package/dist/api/Morph.json +14 -7
- package/dist/api/Mutation.json +1 -1
- package/dist/api/Notify.json +41 -27
- package/dist/api/QAjaxBar.json +6 -3
- package/dist/api/QBreadcrumbs.json +8 -4
- package/dist/api/QBreadcrumbsEl.json +4 -2
- package/dist/api/QBtn.json +6 -3
- package/dist/api/QBtnDropdown.json +10 -5
- package/dist/api/QBtnToggle.json +4 -2
- package/dist/api/QCard.json +2 -1
- package/dist/api/QCardActions.json +2 -1
- package/dist/api/QCardSection.json +2 -1
- package/dist/api/QCarousel.json +10 -5
- package/dist/api/QCarouselControl.json +4 -2
- package/dist/api/QChatMessage.json +8 -4
- package/dist/api/QCheckbox.json +8 -4
- package/dist/api/QChip.json +2 -1
- package/dist/api/QCircularProgress.json +14 -7
- package/dist/api/QColor.json +6 -3
- package/dist/api/QDate.json +33 -5
- package/dist/api/QDialog.json +8 -4
- package/dist/api/QDrawer.json +10 -5
- package/dist/api/QEditor.json +10 -5
- package/dist/api/QExpansionItem.json +2 -1
- package/dist/api/QFab.json +8 -4
- package/dist/api/QFabAction.json +4 -2
- package/dist/api/QField.json +2 -1
- package/dist/api/QFile.json +3 -0
- package/dist/api/QFooter.json +2 -1
- package/dist/api/QHeader.json +4 -2
- package/dist/api/QIcon.json +2 -1
- package/dist/api/QImg.json +8 -4
- package/dist/api/QInfiniteScroll.json +6 -3
- package/dist/api/QInnerLoading.json +8 -4
- package/dist/api/QInput.json +2 -1
- package/dist/api/QIntersection.json +4 -2
- package/dist/api/QItem.json +2 -1
- package/dist/api/QKnob.json +8 -4
- package/dist/api/QLayout.json +9 -1
- package/dist/api/QLinearProgress.json +4 -2
- package/dist/api/QMarkupTable.json +2 -1
- package/dist/api/QMenu.json +8 -4
- package/dist/api/QNoSsr.json +2 -1
- package/dist/api/QOptionGroup.json +2 -1
- package/dist/api/QPage.json +2 -1
- package/dist/api/QPageScroller.json +8 -4
- package/dist/api/QPageSticky.json +2 -1
- package/dist/api/QPagination.json +10 -6
- package/dist/api/QParallax.json +2 -1
- package/dist/api/QPopupEdit.json +5 -2
- package/dist/api/QPopupProxy.json +4 -2
- package/dist/api/QRange.json +8 -4
- package/dist/api/QRating.json +2 -1
- package/dist/api/QResizeObserver.json +4 -1
- package/dist/api/QRouteTab.json +4 -2
- package/dist/api/QScrollArea.json +26 -4
- package/dist/api/QScrollObserver.json +13 -1
- package/dist/api/QSelect.json +73 -37
- package/dist/api/QSeparator.json +2 -1
- package/dist/api/QSkeleton.json +8 -4
- package/dist/api/QSlideItem.json +9 -0
- package/dist/api/QSlideTransition.json +2 -1
- package/dist/api/QSlider.json +8 -4
- package/dist/api/QSpinner.json +2 -1
- package/dist/api/QSplitter.json +4 -2
- package/dist/api/QStep.json +2 -1
- package/dist/api/QStepper.json +6 -3
- package/dist/api/QTab.json +4 -2
- package/dist/api/QTabPanels.json +6 -3
- package/dist/api/QTable.json +154 -88
- package/dist/api/QTabs.json +4 -2
- package/dist/api/QTime.json +16 -4
- package/dist/api/QTimeline.json +4 -2
- package/dist/api/QTimelineEntry.json +4 -2
- package/dist/api/QToggle.json +8 -4
- package/dist/api/QTooltip.json +18 -9
- package/dist/api/QTree.json +26 -15
- package/dist/api/QUploader.json +12 -4
- package/dist/api/QVirtualScroll.json +23 -9
- package/dist/api/ScrollFire.json +1 -1
- package/dist/api/TouchHold.json +2 -1
- package/dist/api/TouchRepeat.json +2 -1
- package/dist/api/TouchSwipe.json +2 -1
- 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/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/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-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-mdi-v4.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v5.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.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/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/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/ms.umd.prod.js +1 -1
- package/dist/lang/nb-NO.umd.prod.js +1 -1
- package/dist/lang/nl.umd.prod.js +1 -1
- 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/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/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.css +1 -1
- package/dist/quasar.esm.prod.js +2 -2
- package/dist/quasar.prod.css +1 -1
- package/dist/quasar.rtl.css +1 -1
- package/dist/quasar.rtl.prod.css +1 -1
- package/dist/quasar.sass +2 -2
- package/dist/quasar.umd.js +18 -21
- package/dist/quasar.umd.prod.js +2 -2
- package/dist/ssr-directives/Morph.js +1 -1
- package/dist/types/api/cookies.d.ts +1 -1
- package/dist/types/index.d.ts +149 -38
- package/dist/web-types/web-types.json +10 -6
- package/package.json +1 -1
- package/src/components/btn/QBtn.js +1 -0
- package/src/components/date/QDate.json +25 -1
- package/src/components/field/QField.json +3 -3
- package/src/components/file/QFile.json +3 -0
- package/src/components/layout/QLayout.json +8 -1
- package/src/components/linear-progress/QLinearProgress.sass +1 -1
- package/src/components/pagination/QPagination.json +0 -1
- package/src/components/popup-edit/QPopupEdit.json +1 -0
- package/src/components/resize-observer/QResizeObserver.json +2 -0
- package/src/components/scroll-area/QScrollArea.js +7 -12
- package/src/components/scroll-area/QScrollArea.json +24 -3
- package/src/components/scroll-observer/QScrollObserver.json +11 -0
- package/src/components/select/QSelect.json +24 -11
- package/src/components/slide-item/QSlideItem.json +9 -0
- package/src/components/table/QTable.json +104 -55
- package/src/components/table/table-pagination.js +4 -0
- package/src/components/time/QTime.json +8 -0
- package/src/components/tree/QTree.json +14 -9
- package/src/components/uploader/xhr-uploader-plugin.json +8 -3
- package/src/components/virtual-scroll/use-virtual-scroll.json +5 -0
- package/src/composables/private/use-split-attrs.js +3 -6
- package/src/directives/Mutation.json +2 -3
- package/src/directives/ScrollFire.json +2 -3
- package/src/plugins/AppFullscreen.json +8 -8
- package/src/plugins/Cookies.json +2 -2
- package/src/plugins/Dialog.json +4 -2
- package/src/plugins/LoadingBar.json +4 -3
- package/src/plugins/Notify.json +13 -19
- package/src/utils/private/global-dialog.json +6 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "",
|
|
3
3
|
"framework": "vue",
|
|
4
4
|
"name": "quasar",
|
|
5
|
-
"version": "2.3.
|
|
5
|
+
"version": "2.3.3",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"types-syntax": "typescript",
|
|
@@ -6841,6 +6841,7 @@
|
|
|
6841
6841
|
"module": "quasar",
|
|
6842
6842
|
"symbol": "QFormChildMixin"
|
|
6843
6843
|
},
|
|
6844
|
+
"attributes": [],
|
|
6844
6845
|
"slots": [],
|
|
6845
6846
|
"description": "QFormChildMixin - Quasar component",
|
|
6846
6847
|
"doc-url": "https://v2.quasar.dev/vue-components/form"
|
|
@@ -9775,6 +9776,7 @@
|
|
|
9775
9776
|
"module": "quasar",
|
|
9776
9777
|
"symbol": "QPageContainer"
|
|
9777
9778
|
},
|
|
9779
|
+
"attributes": [],
|
|
9778
9780
|
"slots": [
|
|
9779
9781
|
{
|
|
9780
9782
|
"name": "default",
|
|
@@ -9820,8 +9822,7 @@
|
|
|
9820
9822
|
},
|
|
9821
9823
|
"description": "Number of last page (must be higher than 'min')\n\nExamples:\n10",
|
|
9822
9824
|
"doc-url": "https://v2.quasar.dev/vue-components/pagination",
|
|
9823
|
-
"required": true
|
|
9824
|
-
"default": "100"
|
|
9825
|
+
"required": true
|
|
9825
9826
|
},
|
|
9826
9827
|
{
|
|
9827
9828
|
"name": "color",
|
|
@@ -13320,6 +13321,7 @@
|
|
|
13320
13321
|
"module": "quasar",
|
|
13321
13322
|
"symbol": "QSpace"
|
|
13322
13323
|
},
|
|
13324
|
+
"attributes": [],
|
|
13323
13325
|
"slots": [],
|
|
13324
13326
|
"description": "QSpace - Quasar component",
|
|
13325
13327
|
"doc-url": "https://v2.quasar.dev/vue-components/space"
|
|
@@ -14701,6 +14703,7 @@
|
|
|
14701
14703
|
"module": "quasar",
|
|
14702
14704
|
"symbol": "QStepperNavigation"
|
|
14703
14705
|
},
|
|
14706
|
+
"attributes": [],
|
|
14704
14707
|
"slots": [
|
|
14705
14708
|
{
|
|
14706
14709
|
"name": "default",
|
|
@@ -15280,7 +15283,7 @@
|
|
|
15280
15283
|
"kind": "expression",
|
|
15281
15284
|
"type": "'horizontal'|'vertical'|'cell'|'none'"
|
|
15282
15285
|
},
|
|
15283
|
-
"description": "Use a separator/border between rows, columns or all cells
|
|
15286
|
+
"description": "Use a separator/border between rows, columns or all cells",
|
|
15284
15287
|
"doc-url": "https://v2.quasar.dev/vue-components/table",
|
|
15285
15288
|
"default": "\"horizontal\""
|
|
15286
15289
|
},
|
|
@@ -17998,8 +18001,8 @@
|
|
|
17998
18001
|
"arguments": [
|
|
17999
18002
|
{
|
|
18000
18003
|
"name": "err",
|
|
18001
|
-
"type": "
|
|
18002
|
-
"description": "Error
|
|
18004
|
+
"type": "Error",
|
|
18005
|
+
"description": "Error object which is the Promise rejection reason",
|
|
18003
18006
|
"doc-url": "https://v2.quasar.dev/vue-components/uploader"
|
|
18004
18007
|
},
|
|
18005
18008
|
{
|
|
@@ -18083,6 +18086,7 @@
|
|
|
18083
18086
|
"module": "quasar",
|
|
18084
18087
|
"symbol": "QUploaderAddTrigger"
|
|
18085
18088
|
},
|
|
18089
|
+
"attributes": [],
|
|
18086
18090
|
"slots": [],
|
|
18087
18091
|
"description": "QUploaderAddTrigger - Quasar component",
|
|
18088
18092
|
"doc-url": "https://v2.quasar.dev/vue-components/uploader"
|
package/package.json
CHANGED
|
@@ -209,35 +209,42 @@
|
|
|
209
209
|
"definition": {
|
|
210
210
|
"year": {
|
|
211
211
|
"type": "Number",
|
|
212
|
+
"required": true,
|
|
212
213
|
"desc": "The year of the date that the user has clicked/tapped on",
|
|
213
214
|
"__exemption": [ "examples" ]
|
|
214
215
|
},
|
|
215
216
|
"month": {
|
|
216
217
|
"type": "Number",
|
|
218
|
+
"required": true,
|
|
217
219
|
"desc": "The month of the date that the user has clicked/tapped on",
|
|
218
220
|
"__exemption": [ "examples" ]
|
|
219
221
|
},
|
|
220
222
|
"day": {
|
|
221
223
|
"type": "Number",
|
|
224
|
+
"required": true,
|
|
222
225
|
"desc": "The day of the month that the user has clicked/tapped on",
|
|
223
226
|
"__exemption": [ "examples" ]
|
|
224
227
|
},
|
|
225
228
|
"from": {
|
|
226
229
|
"type": "Object",
|
|
230
|
+
"required": false,
|
|
227
231
|
"desc": "Object of properties of the range starting point (only if range)",
|
|
228
232
|
"definition": {
|
|
229
233
|
"year": {
|
|
230
234
|
"type": "Number",
|
|
235
|
+
"required": true,
|
|
231
236
|
"desc": "The year",
|
|
232
237
|
"__exemption": [ "examples" ]
|
|
233
238
|
},
|
|
234
239
|
"month": {
|
|
235
240
|
"type": "Number",
|
|
241
|
+
"required": true,
|
|
236
242
|
"desc": "The month",
|
|
237
243
|
"__exemption": [ "examples" ]
|
|
238
244
|
},
|
|
239
245
|
"day": {
|
|
240
246
|
"type": "Number",
|
|
247
|
+
"required": true,
|
|
241
248
|
"desc": "The day of month",
|
|
242
249
|
"__exemption": [ "examples" ]
|
|
243
250
|
}
|
|
@@ -245,20 +252,24 @@
|
|
|
245
252
|
},
|
|
246
253
|
"to": {
|
|
247
254
|
"type": "Object",
|
|
255
|
+
"required": false,
|
|
248
256
|
"desc": "Object of properties of the range ending point (only if range)",
|
|
249
257
|
"definition": {
|
|
250
258
|
"year": {
|
|
251
259
|
"type": "Number",
|
|
260
|
+
"required": true,
|
|
252
261
|
"desc": "The year",
|
|
253
262
|
"__exemption": [ "examples" ]
|
|
254
263
|
},
|
|
255
264
|
"month": {
|
|
256
265
|
"type": "Number",
|
|
266
|
+
"required": true,
|
|
257
267
|
"desc": "The month",
|
|
258
268
|
"__exemption": [ "examples" ]
|
|
259
269
|
},
|
|
260
270
|
"day": {
|
|
261
271
|
"type": "Number",
|
|
272
|
+
"required": true,
|
|
262
273
|
"desc": "The day of month",
|
|
263
274
|
"__exemption": [ "examples" ]
|
|
264
275
|
}
|
|
@@ -278,11 +289,13 @@
|
|
|
278
289
|
"definition": {
|
|
279
290
|
"year": {
|
|
280
291
|
"type": "Number",
|
|
292
|
+
"required": true,
|
|
281
293
|
"desc": "The year",
|
|
282
294
|
"__exemption": [ "examples" ]
|
|
283
295
|
},
|
|
284
296
|
"month": {
|
|
285
297
|
"type": "Number",
|
|
298
|
+
"required": true,
|
|
286
299
|
"desc": "The month",
|
|
287
300
|
"__exemption": [ "examples" ]
|
|
288
301
|
}
|
|
@@ -300,16 +313,19 @@
|
|
|
300
313
|
"definition": {
|
|
301
314
|
"year": {
|
|
302
315
|
"type": "Number",
|
|
316
|
+
"required": true,
|
|
303
317
|
"desc": "The year",
|
|
304
318
|
"__exemption": [ "examples" ]
|
|
305
319
|
},
|
|
306
320
|
"month": {
|
|
307
321
|
"type": "Number",
|
|
322
|
+
"required": true,
|
|
308
323
|
"desc": "The month",
|
|
309
324
|
"__exemption": [ "examples" ]
|
|
310
325
|
},
|
|
311
326
|
"day": {
|
|
312
327
|
"type": "Number",
|
|
328
|
+
"required": true,
|
|
313
329
|
"desc": "The day of month",
|
|
314
330
|
"__exemption": [ "examples" ]
|
|
315
331
|
}
|
|
@@ -327,20 +343,24 @@
|
|
|
327
343
|
"definition": {
|
|
328
344
|
"from": {
|
|
329
345
|
"type": "Object",
|
|
346
|
+
"required": true,
|
|
330
347
|
"desc": "Definition of date from where the range begins",
|
|
331
348
|
"definition": {
|
|
332
349
|
"year": {
|
|
333
350
|
"type": "Number",
|
|
351
|
+
"required": true,
|
|
334
352
|
"desc": "The year",
|
|
335
353
|
"__exemption": [ "examples" ]
|
|
336
354
|
},
|
|
337
355
|
"month": {
|
|
338
356
|
"type": "Number",
|
|
357
|
+
"required": true,
|
|
339
358
|
"desc": "The month",
|
|
340
359
|
"__exemption": [ "examples" ]
|
|
341
360
|
},
|
|
342
361
|
"day": {
|
|
343
362
|
"type": "Number",
|
|
363
|
+
"required": true,
|
|
344
364
|
"desc": "The day of month",
|
|
345
365
|
"__exemption": [ "examples" ]
|
|
346
366
|
}
|
|
@@ -348,20 +368,24 @@
|
|
|
348
368
|
},
|
|
349
369
|
"to": {
|
|
350
370
|
"type": "Object",
|
|
371
|
+
"required": true,
|
|
351
372
|
"desc": "Definition of date to where the range ends",
|
|
352
373
|
"definition": {
|
|
353
374
|
"year": {
|
|
354
375
|
"type": "Number",
|
|
376
|
+
"required": true,
|
|
355
377
|
"desc": "The year",
|
|
356
378
|
"__exemption": [ "examples" ]
|
|
357
379
|
},
|
|
358
380
|
"month": {
|
|
359
381
|
"type": "Number",
|
|
382
|
+
"required": true,
|
|
360
383
|
"desc": "The month",
|
|
361
384
|
"__exemption": [ "examples" ]
|
|
362
385
|
},
|
|
363
386
|
"day": {
|
|
364
387
|
"type": "Number",
|
|
388
|
+
"required": true,
|
|
365
389
|
"desc": "The day of month",
|
|
366
390
|
"__exemption": [ "examples" ]
|
|
367
391
|
}
|
|
@@ -383,8 +407,8 @@
|
|
|
383
407
|
"params": {
|
|
384
408
|
"view": {
|
|
385
409
|
"type": "String",
|
|
386
|
-
"desc": "QDate view name",
|
|
387
410
|
"required": true,
|
|
411
|
+
"desc": "QDate view name",
|
|
388
412
|
"values": [ "Calendar", "Months", "Years" ]
|
|
389
413
|
}
|
|
390
414
|
}
|
|
@@ -30,9 +30,8 @@
|
|
|
30
30
|
"examples": [ "qf_363270c0-7a83-62b1-8dcf-6dfd64ee38fa" ]
|
|
31
31
|
},
|
|
32
32
|
"field": {
|
|
33
|
-
"type": "
|
|
34
|
-
"desc": "DOM element of the field"
|
|
35
|
-
"__exemption": [ "examples" ]
|
|
33
|
+
"type": "Element",
|
|
34
|
+
"desc": "DOM element of the field"
|
|
36
35
|
},
|
|
37
36
|
"editable": {
|
|
38
37
|
"type": "Boolean",
|
|
@@ -57,6 +56,7 @@
|
|
|
57
56
|
"params": {
|
|
58
57
|
"value": {
|
|
59
58
|
"type": "Any",
|
|
59
|
+
"required": true,
|
|
60
60
|
"desc": "Value to be emitted",
|
|
61
61
|
"examples": [ 0, "Changed text" ]
|
|
62
62
|
}
|
|
@@ -42,16 +42,19 @@
|
|
|
42
42
|
"definition": {
|
|
43
43
|
"totalSize": {
|
|
44
44
|
"type": "String",
|
|
45
|
+
"required": true,
|
|
45
46
|
"desc": "The total size of files in human readable format",
|
|
46
47
|
"examples": [ "1.42MB" ]
|
|
47
48
|
},
|
|
48
49
|
"filesNumber": {
|
|
49
50
|
"type": "Number",
|
|
51
|
+
"required": true,
|
|
50
52
|
"desc": "Number of picked files",
|
|
51
53
|
"examples": [ 5 ]
|
|
52
54
|
},
|
|
53
55
|
"maxFiles": {
|
|
54
56
|
"type": [ "Number", "String" ],
|
|
57
|
+
"required": true,
|
|
55
58
|
"desc": "Maximum number of files (same as 'max-files' prop, if specified); When 'max-files' is not specified, this has 'void 0' as value",
|
|
56
59
|
"examples": [ 5 ]
|
|
57
60
|
}
|
|
@@ -37,11 +37,13 @@
|
|
|
37
37
|
"definition": {
|
|
38
38
|
"height": {
|
|
39
39
|
"type": "Number",
|
|
40
|
+
"required": true,
|
|
40
41
|
"desc": "Layout height",
|
|
41
42
|
"examples": [ 575 ]
|
|
42
43
|
},
|
|
43
44
|
"width": {
|
|
44
45
|
"type": "Number",
|
|
46
|
+
"required": true,
|
|
45
47
|
"desc": "Layout height",
|
|
46
48
|
"examples": [ 575 ]
|
|
47
49
|
}
|
|
@@ -59,27 +61,32 @@
|
|
|
59
61
|
"definition": {
|
|
60
62
|
"position": {
|
|
61
63
|
"type": "Number",
|
|
64
|
+
"required": true,
|
|
62
65
|
"desc": "Scroll offset from top (vertical)",
|
|
63
66
|
"examples": [ 120 ]
|
|
64
67
|
},
|
|
65
68
|
|
|
66
69
|
"direction": {
|
|
67
70
|
"type": "String",
|
|
71
|
+
"required": true,
|
|
68
72
|
"desc": "Direction of scroll",
|
|
69
73
|
"values": [ "up", "down" ]
|
|
70
74
|
},
|
|
71
75
|
"directionChanged": {
|
|
72
76
|
"type": "Boolean",
|
|
77
|
+
"required": true,
|
|
73
78
|
"desc": "Has scroll direction changed since event was last emitted?"
|
|
74
79
|
},
|
|
75
80
|
"delta": {
|
|
76
81
|
"type": "Number",
|
|
82
|
+
"required": true,
|
|
77
83
|
"desc": "Vertical delta distance since event was last emitted",
|
|
78
84
|
"examples": [ 120 ]
|
|
79
85
|
},
|
|
80
86
|
|
|
81
87
|
"inflectionPoint": {
|
|
82
88
|
"type": "Number",
|
|
89
|
+
"required": true,
|
|
83
90
|
"desc": "Scroll offset from top (vertical)",
|
|
84
91
|
"examples": [ 120 ]
|
|
85
92
|
}
|
|
@@ -94,7 +101,7 @@
|
|
|
94
101
|
"height": {
|
|
95
102
|
"type": "Number",
|
|
96
103
|
"desc": "New scroll height of layout",
|
|
97
|
-
"examples": [1442]
|
|
104
|
+
"examples": [ 1442 ]
|
|
98
105
|
}
|
|
99
106
|
}
|
|
100
107
|
}
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
background: rgba(255,255,255,.6)
|
|
52
52
|
|
|
53
53
|
&__stripe
|
|
54
|
-
transition: width
|
|
54
|
+
transition: width var(--q-linear-progress-speed)
|
|
55
55
|
background-image: linear-gradient(45deg, rgba(255,255,255,.15) 25%, rgba(255,255,255,0) 25%, rgba(255,255,255,0) 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%, rgba(255,255,255,0) 75%, rgba(255,255,255,0)) !important
|
|
56
56
|
background-size: 40px 40px !important
|
|
57
57
|
|
|
@@ -23,11 +23,13 @@
|
|
|
23
23
|
"definition": {
|
|
24
24
|
"height": {
|
|
25
25
|
"type": "Number",
|
|
26
|
+
"required": true,
|
|
26
27
|
"desc": "Layout height",
|
|
27
28
|
"examples": [ 822 ]
|
|
28
29
|
},
|
|
29
30
|
"width": {
|
|
30
31
|
"type": "Number",
|
|
32
|
+
"required": true,
|
|
31
33
|
"desc": "Layout width",
|
|
32
34
|
"examples": [ 822 ]
|
|
33
35
|
}
|
|
@@ -18,6 +18,11 @@ const dirProps = {
|
|
|
18
18
|
vertical: { offset: 'offsetY', scroll: 'scrollTop', dir: 'down', dist: 'y' },
|
|
19
19
|
horizontal: { offset: 'offsetX', scroll: 'scrollLeft', dir: 'right', dist: 'x' }
|
|
20
20
|
}
|
|
21
|
+
const panOpts = {
|
|
22
|
+
prevent: true,
|
|
23
|
+
mouse: true,
|
|
24
|
+
mouseAllDir: true
|
|
25
|
+
}
|
|
21
26
|
|
|
22
27
|
export default createComponent({
|
|
23
28
|
name: 'QScrollArea',
|
|
@@ -182,24 +187,14 @@ export default createComponent({
|
|
|
182
187
|
TouchPan,
|
|
183
188
|
e => { onPanThumb(e, 'vertical') },
|
|
184
189
|
void 0,
|
|
185
|
-
{
|
|
186
|
-
vertical: true,
|
|
187
|
-
prevent: true,
|
|
188
|
-
mouse: true,
|
|
189
|
-
mouseAllDir: true
|
|
190
|
-
}
|
|
190
|
+
{ vertical: true, ...panOpts }
|
|
191
191
|
] ]
|
|
192
192
|
|
|
193
193
|
const thumbHorizDir = [ [
|
|
194
194
|
TouchPan,
|
|
195
195
|
e => { onPanThumb(e, 'horizontal') },
|
|
196
196
|
void 0,
|
|
197
|
-
{
|
|
198
|
-
horizontal: true,
|
|
199
|
-
prevent: true,
|
|
200
|
-
mouse: true,
|
|
201
|
-
mouseAllDir: true
|
|
202
|
-
}
|
|
197
|
+
{ horizontal: true, ...panOpts }
|
|
203
198
|
] ]
|
|
204
199
|
|
|
205
200
|
function getScroll () {
|
|
@@ -99,48 +99,57 @@
|
|
|
99
99
|
"definition": {
|
|
100
100
|
"ref": {
|
|
101
101
|
"type": "Object",
|
|
102
|
+
"required": true,
|
|
102
103
|
"desc": "Vue reference to the QScrollArea which triggered the event",
|
|
103
104
|
"__exemption": [ "examples" ]
|
|
104
105
|
},
|
|
105
106
|
|
|
106
107
|
"verticalPosition": {
|
|
107
108
|
"type": "Number",
|
|
109
|
+
"required": true,
|
|
108
110
|
"desc": "Vertical scroll position (in px)",
|
|
109
111
|
"__exemption": [ "examples" ]
|
|
110
112
|
},
|
|
111
113
|
"verticalPercentage": {
|
|
112
114
|
"type": "Number",
|
|
115
|
+
"required": true,
|
|
113
116
|
"desc": "Vertical scroll percentage (0.0 <= x <= 1.0)",
|
|
114
117
|
"__exemption": [ "examples" ]
|
|
115
118
|
},
|
|
116
119
|
"verticalSize": {
|
|
117
120
|
"type": "Number",
|
|
121
|
+
"required": true,
|
|
118
122
|
"desc": "Vertical scroll size (in px)",
|
|
119
123
|
"__exemption": [ "examples" ]
|
|
120
124
|
},
|
|
121
125
|
"verticalContainerSize": {
|
|
122
126
|
"type": "Number",
|
|
127
|
+
"required": true,
|
|
123
128
|
"desc": "Height of the container (in px)",
|
|
124
129
|
"__exemption": [ "examples" ]
|
|
125
130
|
},
|
|
126
131
|
|
|
127
132
|
"horizontalPosition": {
|
|
128
133
|
"type": "Number",
|
|
134
|
+
"required": true,
|
|
129
135
|
"desc": "Horizontal scroll position (in px)",
|
|
130
136
|
"__exemption": [ "examples" ]
|
|
131
137
|
},
|
|
132
138
|
"horizontalPercentage": {
|
|
133
139
|
"type": "Number",
|
|
140
|
+
"required": true,
|
|
134
141
|
"desc": "Horizontal scroll percentage (0.0 <= x <= 1.0)",
|
|
135
142
|
"__exemption": [ "examples" ]
|
|
136
143
|
},
|
|
137
144
|
"horizontalSize": {
|
|
138
145
|
"type": "Number",
|
|
146
|
+
"required": true,
|
|
139
147
|
"desc": "Horizontal scroll size (in px)",
|
|
140
148
|
"__exemption": [ "examples" ]
|
|
141
149
|
},
|
|
142
150
|
"horizontalContainerSize": {
|
|
143
151
|
"type": "Number",
|
|
152
|
+
"required": true,
|
|
144
153
|
"desc": "Width of the container (in px)",
|
|
145
154
|
"__exemption": [ "examples" ]
|
|
146
155
|
}
|
|
@@ -169,42 +178,50 @@
|
|
|
169
178
|
"definition": {
|
|
170
179
|
"verticalPosition": {
|
|
171
180
|
"type": "Number",
|
|
181
|
+
"required": true,
|
|
172
182
|
"desc": "Vertical scroll position (in px)",
|
|
173
183
|
"__exemption": [ "examples" ]
|
|
174
184
|
},
|
|
175
185
|
"verticalPercentage": {
|
|
176
186
|
"type": "Number",
|
|
187
|
+
"required": true,
|
|
177
188
|
"desc": "Vertical scroll percentage (0.0 <= x <= 1.0)",
|
|
178
189
|
"__exemption": [ "examples" ]
|
|
179
190
|
},
|
|
180
191
|
"verticalSize": {
|
|
181
192
|
"type": "Number",
|
|
193
|
+
"required": true,
|
|
182
194
|
"desc": "Vertical scroll size (in px)",
|
|
183
195
|
"__exemption": [ "examples" ]
|
|
184
196
|
},
|
|
185
197
|
"verticalContainerSize": {
|
|
186
198
|
"type": "Number",
|
|
199
|
+
"required": true,
|
|
187
200
|
"desc": "Height of the container (in px)",
|
|
188
201
|
"__exemption": [ "examples" ]
|
|
189
202
|
},
|
|
190
203
|
|
|
191
204
|
"horizontalPosition": {
|
|
192
205
|
"type": "Number",
|
|
206
|
+
"required": true,
|
|
193
207
|
"desc": "Horizontal scroll position (in px)",
|
|
194
208
|
"__exemption": [ "examples" ]
|
|
195
209
|
},
|
|
196
210
|
"horizontalPercentage": {
|
|
197
211
|
"type": "Number",
|
|
212
|
+
"required": true,
|
|
198
213
|
"desc": "Horizontal scroll percentage (0.0 <= x <= 1.0)",
|
|
199
214
|
"__exemption": [ "examples" ]
|
|
200
215
|
},
|
|
201
216
|
"horizontalSize": {
|
|
202
217
|
"type": "Number",
|
|
218
|
+
"required": true,
|
|
203
219
|
"desc": "Horizontal scroll size (in px)",
|
|
204
220
|
"__exemption": [ "examples" ]
|
|
205
221
|
},
|
|
206
222
|
"horizontalContainerSize": {
|
|
207
223
|
"type": "Number",
|
|
224
|
+
"required": true,
|
|
208
225
|
"desc": "Width of the container (in px)",
|
|
209
226
|
"__exemption": [ "examples" ]
|
|
210
227
|
}
|
|
@@ -220,11 +237,13 @@
|
|
|
220
237
|
"definition": {
|
|
221
238
|
"top": {
|
|
222
239
|
"type": "Number",
|
|
240
|
+
"required": true,
|
|
223
241
|
"desc": "Scroll offset from top (vertical)",
|
|
224
242
|
"examples": [ 120 ]
|
|
225
243
|
},
|
|
226
244
|
"left": {
|
|
227
245
|
"type": "Number",
|
|
246
|
+
"required": true,
|
|
228
247
|
"desc": "Scroll offset from left (horizontal)",
|
|
229
248
|
"examples": [ 10 ]
|
|
230
249
|
}
|
|
@@ -241,11 +260,13 @@
|
|
|
241
260
|
"definition": {
|
|
242
261
|
"top": {
|
|
243
262
|
"type": "Number",
|
|
263
|
+
"required": true,
|
|
244
264
|
"desc": "Scroll percentage (0.0 <= x <= 1.0) offset from top (vertical)",
|
|
245
265
|
"examples": [ 0.12 ]
|
|
246
266
|
},
|
|
247
267
|
"left": {
|
|
248
268
|
"type": "Number",
|
|
269
|
+
"required": true,
|
|
249
270
|
"desc": "Scroll percentage (0.0 <= x <= 1.0) offset from left (horizontal)",
|
|
250
271
|
"examples": [ 0.92 ]
|
|
251
272
|
}
|
|
@@ -259,14 +280,14 @@
|
|
|
259
280
|
"params": {
|
|
260
281
|
"axis": {
|
|
261
282
|
"type": "String",
|
|
283
|
+
"required": true,
|
|
262
284
|
"desc": "Scroll axis",
|
|
263
|
-
"values": [ "vertical", "horizontal" ]
|
|
264
|
-
"required": true
|
|
285
|
+
"values": [ "vertical", "horizontal" ]
|
|
265
286
|
},
|
|
266
287
|
"offset": {
|
|
267
288
|
"type": "Number",
|
|
268
|
-
"desc": "Scroll position offset from top (in pixels)",
|
|
269
289
|
"required": true,
|
|
290
|
+
"desc": "Scroll position offset from top (in pixels)",
|
|
270
291
|
"examples": [ 220 ]
|
|
271
292
|
},
|
|
272
293
|
"duration": {
|
|
@@ -34,15 +34,18 @@
|
|
|
34
34
|
"definition": {
|
|
35
35
|
"position": {
|
|
36
36
|
"type": "Object",
|
|
37
|
+
"required": true,
|
|
37
38
|
"desc": "Scroll offset (from top and left)",
|
|
38
39
|
"definition": {
|
|
39
40
|
"top": {
|
|
40
41
|
"type": "Number",
|
|
42
|
+
"required": true,
|
|
41
43
|
"desc": "Scroll offset from top (vertical)",
|
|
42
44
|
"examples": [ 120 ]
|
|
43
45
|
},
|
|
44
46
|
"left": {
|
|
45
47
|
"type": "Number",
|
|
48
|
+
"required": true,
|
|
46
49
|
"desc": "Scroll offset from left (horizontal)",
|
|
47
50
|
"examples": [ 10 ]
|
|
48
51
|
}
|
|
@@ -51,24 +54,29 @@
|
|
|
51
54
|
|
|
52
55
|
"direction": {
|
|
53
56
|
"type": "String",
|
|
57
|
+
"required": true,
|
|
54
58
|
"desc": "Direction of scroll",
|
|
55
59
|
"values": [ "up", "down", "left", "right" ]
|
|
56
60
|
},
|
|
57
61
|
"directionChanged": {
|
|
58
62
|
"type": "Boolean",
|
|
63
|
+
"required": true,
|
|
59
64
|
"desc": "Has scroll direction changed since event was last emitted?"
|
|
60
65
|
},
|
|
61
66
|
"delta": {
|
|
62
67
|
"type": "Object",
|
|
68
|
+
"required": true,
|
|
63
69
|
"desc": "Delta of distance (in pixels) since event was last emitted",
|
|
64
70
|
"definition": {
|
|
65
71
|
"top": {
|
|
66
72
|
"type": "Number",
|
|
73
|
+
"required": true,
|
|
67
74
|
"desc": "Vertical delta distance since event was last emitted",
|
|
68
75
|
"examples": [ 120 ]
|
|
69
76
|
},
|
|
70
77
|
"left": {
|
|
71
78
|
"type": "Number",
|
|
79
|
+
"required": true,
|
|
72
80
|
"desc": "Horizontal delta distance since event was last emitted",
|
|
73
81
|
"examples": [ 10 ]
|
|
74
82
|
}
|
|
@@ -77,15 +85,18 @@
|
|
|
77
85
|
|
|
78
86
|
"inflectionPoint": {
|
|
79
87
|
"type": "Object",
|
|
88
|
+
"required": true,
|
|
80
89
|
"desc": "Last scroll offset where scroll direction has changed",
|
|
81
90
|
"definition": {
|
|
82
91
|
"top": {
|
|
83
92
|
"type": "Number",
|
|
93
|
+
"required": true,
|
|
84
94
|
"desc": "Scroll offset from top (vertical)",
|
|
85
95
|
"examples": [ 120 ]
|
|
86
96
|
},
|
|
87
97
|
"left": {
|
|
88
98
|
"type": "Number",
|
|
99
|
+
"required": true,
|
|
89
100
|
"desc": "Scroll offset from left (horizontal)",
|
|
90
101
|
"examples": [ 10 ]
|
|
91
102
|
}
|