quasar 2.2.4 → 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 +23 -2
- package/dist/api/Cookies.json +4 -3
- package/dist/api/Dialog.json +40 -11
- package/dist/api/Loading.json +4 -2
- package/dist/api/LoadingBar.json +8 -3
- package/dist/api/LocalStorage.json +8 -0
- 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 +27 -6
- package/dist/api/QColor.json +6 -3
- package/dist/api/QDate.json +79 -5
- package/dist/api/QDialog.json +8 -4
- package/dist/api/QDrawer.json +10 -5
- package/dist/api/QEditor.json +17 -7
- 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 +3 -2
- package/dist/api/QHeader.json +5 -3
- 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 +17 -1
- 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 +17 -1
- 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 +5 -26
- package/dist/api/QScrollArea.json +29 -4
- package/dist/api/QScrollObserver.json +13 -1
- package/dist/api/QSelect.json +135 -37
- package/dist/api/QSeparator.json +2 -1
- package/dist/api/QSkeleton.json +9 -5
- 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 +216 -93
- 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 +93 -5
- package/dist/api/QVirtualScroll.json +23 -9
- package/dist/api/ScrollFire.json +1 -1
- package/dist/api/SessionStorage.json +8 -0
- 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 +6 -0
- 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 +7 -2
- package/dist/quasar.esm.prod.js +2 -2
- package/dist/quasar.prod.css +1 -1
- package/dist/quasar.rtl.css +7 -2
- package/dist/quasar.rtl.prod.css +1 -1
- package/dist/quasar.sass +6 -3
- package/dist/quasar.umd.js +185 -105
- 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/composables.d.ts +5 -1
- package/dist/types/extras/icon-set.d.ts +1 -0
- package/dist/types/index.d.ts +516 -176
- package/dist/vetur/quasar-attributes.json +14 -2
- package/dist/vetur/quasar-tags.json +5 -2
- package/dist/web-types/web-types.json +43 -8
- package/icon-set/svg-ionicons-v6.js +225 -0
- package/package.json +5 -2
- package/src/api.extends.json +7 -0
- package/src/body.js +14 -4
- package/src/components/btn/QBtn.js +1 -0
- package/src/components/circular-progress/QCircularProgress.js +6 -1
- package/src/components/circular-progress/QCircularProgress.json +6 -0
- package/src/components/date/QDate.json +59 -1
- package/src/components/editor/QEditor.js +2 -2
- package/src/components/editor/QEditor.json +6 -2
- package/src/components/field/QField.json +3 -3
- package/src/components/file/QFile.json +3 -0
- package/src/components/footer/QFooter.json +1 -1
- package/src/components/header/QHeader.json +1 -1
- package/src/components/icon/QIcon.js +1 -1
- package/src/components/infinite-scroll/QInfiniteScroll.js +48 -31
- package/src/components/intersection/QIntersection.js +9 -1
- package/src/components/intersection/QIntersection.json +9 -0
- package/src/components/layout/QLayout.json +8 -1
- package/src/components/linear-progress/QLinearProgress.js +10 -1
- package/src/components/linear-progress/QLinearProgress.json +6 -0
- package/src/components/linear-progress/QLinearProgress.sass +3 -2
- package/src/components/pagination/QPagination.json +0 -1
- package/src/components/popup-edit/QPopupEdit.json +1 -0
- package/src/components/popup-proxy/QPopupProxy.js +6 -15
- package/src/components/resize-observer/QResizeObserver.json +2 -0
- package/src/components/scroll-area/QScrollArea.js +8 -13
- package/src/components/scroll-area/QScrollArea.json +28 -4
- package/src/components/scroll-observer/QScrollObserver.json +11 -0
- package/src/components/select/QSelect.js +7 -3
- package/src/components/select/QSelect.json +71 -11
- package/src/components/skeleton/QSkeleton.json +1 -4
- package/src/components/slide-item/QSlideItem.json +9 -0
- package/src/components/slider/use-slider.js +3 -3
- package/src/components/table/QTable.json +155 -60
- package/src/components/table/table-pagination.js +6 -2
- package/src/components/tabs/QRouteTab.json +1 -23
- package/src/components/time/QTime.json +8 -0
- package/src/components/tree/QTree.json +14 -9
- package/src/components/uploader/xhr-uploader-plugin.json +105 -4
- package/src/components/virtual-scroll/use-virtual-scroll.js +17 -1
- package/src/components/virtual-scroll/use-virtual-scroll.json +5 -0
- package/src/composables/private/use-field.js +4 -4
- package/src/composables/private/use-refocus-target.js +12 -3
- package/src/composables/private/use-split-attrs.js +10 -7
- package/src/composables/use-dialog-plugin-component.js +7 -1
- package/src/css/core/transitions.sass +3 -1
- package/src/directives/Mutation.json +2 -3
- package/src/directives/ScrollFire.json +2 -3
- package/src/install-quasar.js +1 -0
- 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/create-uploader-component.js +6 -4
- package/src/utils/private/get-emits-object.js +11 -0
- package/src/utils/private/global-dialog.json +16 -2
- package/src/utils/private/vm.js +3 -3
- package/src/utils/private/web-storage.json +10 -0
- package/wrappers/index.js +4 -0
package/dist/api/QTabs.json
CHANGED
|
@@ -46,7 +46,8 @@
|
|
|
46
46
|
"examples": [
|
|
47
47
|
"right"
|
|
48
48
|
],
|
|
49
|
-
"category": "content"
|
|
49
|
+
"category": "content",
|
|
50
|
+
"required": false
|
|
50
51
|
},
|
|
51
52
|
"breakpoint": {
|
|
52
53
|
"type": [
|
|
@@ -58,7 +59,8 @@
|
|
|
58
59
|
"examples": [
|
|
59
60
|
":breakpoint=\"500\""
|
|
60
61
|
],
|
|
61
|
-
"category": "content|behavior"
|
|
62
|
+
"category": "content|behavior",
|
|
63
|
+
"required": false
|
|
62
64
|
},
|
|
63
65
|
"active-color": {
|
|
64
66
|
"type": "String",
|
package/dist/api/QTime.json
CHANGED
|
@@ -26,7 +26,8 @@
|
|
|
26
26
|
"HH:mm:ss",
|
|
27
27
|
"YYYY-MM-DD HH:mm:ss",
|
|
28
28
|
"HH:mm MMMM Do, YYYY"
|
|
29
|
-
]
|
|
29
|
+
],
|
|
30
|
+
"required": false
|
|
30
31
|
},
|
|
31
32
|
"locale": {
|
|
32
33
|
"type": "Object",
|
|
@@ -74,7 +75,8 @@
|
|
|
74
75
|
"gregorian",
|
|
75
76
|
"persian"
|
|
76
77
|
],
|
|
77
|
-
"category": "model"
|
|
78
|
+
"category": "model",
|
|
79
|
+
"required": false
|
|
78
80
|
},
|
|
79
81
|
"color": {
|
|
80
82
|
"type": "String",
|
|
@@ -141,7 +143,8 @@
|
|
|
141
143
|
"type": "Boolean",
|
|
142
144
|
"desc": "Forces 24 hour time display instead of AM/PM system",
|
|
143
145
|
"default": "(based on Quasar lang language being used)",
|
|
144
|
-
"category": "behavior"
|
|
146
|
+
"category": "behavior",
|
|
147
|
+
"required": false
|
|
145
148
|
},
|
|
146
149
|
"default-date": {
|
|
147
150
|
"type": "String",
|
|
@@ -150,7 +153,8 @@
|
|
|
150
153
|
"examples": [
|
|
151
154
|
"1995/02/23"
|
|
152
155
|
],
|
|
153
|
-
"category": "model"
|
|
156
|
+
"category": "model",
|
|
157
|
+
"required": false
|
|
154
158
|
},
|
|
155
159
|
"options": {
|
|
156
160
|
"type": "Function",
|
|
@@ -242,34 +246,42 @@
|
|
|
242
246
|
"definition": {
|
|
243
247
|
"year": {
|
|
244
248
|
"type": "Number",
|
|
249
|
+
"required": true,
|
|
245
250
|
"desc": "The year"
|
|
246
251
|
},
|
|
247
252
|
"month": {
|
|
248
253
|
"type": "Number",
|
|
254
|
+
"required": true,
|
|
249
255
|
"desc": "The month"
|
|
250
256
|
},
|
|
251
257
|
"day": {
|
|
252
258
|
"type": "Number",
|
|
259
|
+
"required": true,
|
|
253
260
|
"desc": "The day of the month"
|
|
254
261
|
},
|
|
255
262
|
"hour": {
|
|
256
263
|
"type": "Number",
|
|
264
|
+
"required": true,
|
|
257
265
|
"desc": "The hour"
|
|
258
266
|
},
|
|
259
267
|
"minute": {
|
|
260
268
|
"type": "Number",
|
|
269
|
+
"required": true,
|
|
261
270
|
"desc": "The minute"
|
|
262
271
|
},
|
|
263
272
|
"second": {
|
|
264
273
|
"type": "Number",
|
|
274
|
+
"required": true,
|
|
265
275
|
"desc": "The second"
|
|
266
276
|
},
|
|
267
277
|
"millisecond": {
|
|
268
278
|
"type": "Number",
|
|
279
|
+
"required": true,
|
|
269
280
|
"desc": "The millisecond"
|
|
270
281
|
},
|
|
271
282
|
"changed": {
|
|
272
283
|
"type": "Boolean",
|
|
284
|
+
"required": true,
|
|
273
285
|
"desc": "Did the model change?"
|
|
274
286
|
}
|
|
275
287
|
}
|
package/dist/api/QTimeline.json
CHANGED
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
"left",
|
|
22
22
|
"right"
|
|
23
23
|
],
|
|
24
|
-
"category": "behavior"
|
|
24
|
+
"category": "behavior",
|
|
25
|
+
"required": false
|
|
25
26
|
},
|
|
26
27
|
"layout": {
|
|
27
28
|
"type": "String",
|
|
@@ -32,7 +33,8 @@
|
|
|
32
33
|
"comfortable",
|
|
33
34
|
"loose"
|
|
34
35
|
],
|
|
35
|
-
"category": "behavior"
|
|
36
|
+
"category": "behavior",
|
|
37
|
+
"required": false
|
|
36
38
|
},
|
|
37
39
|
"dark": {
|
|
38
40
|
"type": "Boolean",
|
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
"h1"
|
|
19
19
|
],
|
|
20
20
|
"category": "content",
|
|
21
|
-
"default": "h3"
|
|
21
|
+
"default": "h3",
|
|
22
|
+
"required": false
|
|
22
23
|
},
|
|
23
24
|
"side": {
|
|
24
25
|
"type": "String",
|
|
@@ -28,7 +29,8 @@
|
|
|
28
29
|
"left",
|
|
29
30
|
"right"
|
|
30
31
|
],
|
|
31
|
-
"category": "behavior"
|
|
32
|
+
"category": "behavior",
|
|
33
|
+
"required": false
|
|
32
34
|
},
|
|
33
35
|
"icon": {
|
|
34
36
|
"type": "String",
|
package/dist/api/QToggle.json
CHANGED
|
@@ -51,7 +51,8 @@
|
|
|
51
51
|
"examples": [
|
|
52
52
|
"Agreed"
|
|
53
53
|
],
|
|
54
|
-
"category": "model"
|
|
54
|
+
"category": "model",
|
|
55
|
+
"required": false
|
|
55
56
|
},
|
|
56
57
|
"false-value": {
|
|
57
58
|
"type": "Any",
|
|
@@ -60,7 +61,8 @@
|
|
|
60
61
|
"examples": [
|
|
61
62
|
"Disagree"
|
|
62
63
|
],
|
|
63
|
-
"category": "model"
|
|
64
|
+
"category": "model",
|
|
65
|
+
"required": false
|
|
64
66
|
},
|
|
65
67
|
"indeterminate-value": {
|
|
66
68
|
"type": "Any",
|
|
@@ -70,7 +72,8 @@
|
|
|
70
72
|
0,
|
|
71
73
|
"not_answered"
|
|
72
74
|
],
|
|
73
|
-
"category": "behavior"
|
|
75
|
+
"category": "behavior",
|
|
76
|
+
"required": false
|
|
74
77
|
},
|
|
75
78
|
"toggle-order": {
|
|
76
79
|
"type": "String",
|
|
@@ -80,7 +83,8 @@
|
|
|
80
83
|
"tf",
|
|
81
84
|
"ft"
|
|
82
85
|
],
|
|
83
|
-
"category": "behavior"
|
|
86
|
+
"category": "behavior",
|
|
87
|
+
"required": false
|
|
84
88
|
},
|
|
85
89
|
"toggle-indeterminate": {
|
|
86
90
|
"type": "Boolean",
|
package/dist/api/QTooltip.json
CHANGED
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"slide-down"
|
|
13
13
|
],
|
|
14
14
|
"category": "transition",
|
|
15
|
-
"default": "jump-down"
|
|
15
|
+
"default": "jump-down",
|
|
16
|
+
"required": false
|
|
16
17
|
},
|
|
17
18
|
"transition-hide": {
|
|
18
19
|
"type": "String",
|
|
@@ -22,7 +23,8 @@
|
|
|
22
23
|
"slide-down"
|
|
23
24
|
],
|
|
24
25
|
"category": "transition",
|
|
25
|
-
"default": "jump-up"
|
|
26
|
+
"default": "jump-up",
|
|
27
|
+
"required": false
|
|
26
28
|
},
|
|
27
29
|
"transition-duration": {
|
|
28
30
|
"type": [
|
|
@@ -35,7 +37,8 @@
|
|
|
35
37
|
500,
|
|
36
38
|
"1200"
|
|
37
39
|
],
|
|
38
|
-
"category": "transition"
|
|
40
|
+
"category": "transition",
|
|
41
|
+
"required": false
|
|
39
42
|
},
|
|
40
43
|
"model-value": {
|
|
41
44
|
"type": "Boolean",
|
|
@@ -85,7 +88,8 @@
|
|
|
85
88
|
"top left",
|
|
86
89
|
"bottom right"
|
|
87
90
|
],
|
|
88
|
-
"category": "position"
|
|
91
|
+
"category": "position",
|
|
92
|
+
"required": false
|
|
89
93
|
},
|
|
90
94
|
"self": {
|
|
91
95
|
"type": "String",
|
|
@@ -112,7 +116,8 @@
|
|
|
112
116
|
"top left",
|
|
113
117
|
"bottom right"
|
|
114
118
|
],
|
|
115
|
-
"category": "position"
|
|
119
|
+
"category": "position",
|
|
120
|
+
"required": false
|
|
116
121
|
},
|
|
117
122
|
"offset": {
|
|
118
123
|
"type": "Array",
|
|
@@ -122,7 +127,8 @@
|
|
|
122
127
|
"[8, 8]",
|
|
123
128
|
"[5, 10]"
|
|
124
129
|
],
|
|
125
|
-
"category": "position"
|
|
130
|
+
"category": "position",
|
|
131
|
+
"required": false
|
|
126
132
|
},
|
|
127
133
|
"scroll-target": {
|
|
128
134
|
"type": [
|
|
@@ -154,7 +160,8 @@
|
|
|
154
160
|
":target=\"false\"",
|
|
155
161
|
"target=\".my-parent\""
|
|
156
162
|
],
|
|
157
|
-
"category": "behavior"
|
|
163
|
+
"category": "behavior",
|
|
164
|
+
"required": false
|
|
158
165
|
},
|
|
159
166
|
"no-parent-event": {
|
|
160
167
|
"type": "Boolean",
|
|
@@ -168,7 +175,8 @@
|
|
|
168
175
|
"examples": [
|
|
169
176
|
":delay=\"550\""
|
|
170
177
|
],
|
|
171
|
-
"category": "behavior"
|
|
178
|
+
"category": "behavior",
|
|
179
|
+
"required": false
|
|
172
180
|
},
|
|
173
181
|
"hide-delay": {
|
|
174
182
|
"type": "Number",
|
|
@@ -177,7 +185,8 @@
|
|
|
177
185
|
"examples": [
|
|
178
186
|
":hide-delay=\"650\""
|
|
179
187
|
],
|
|
180
|
-
"category": "behavior"
|
|
188
|
+
"category": "behavior",
|
|
189
|
+
"required": false
|
|
181
190
|
}
|
|
182
191
|
},
|
|
183
192
|
"slots": {
|
package/dist/api/QTree.json
CHANGED
|
@@ -31,7 +31,8 @@
|
|
|
31
31
|
"name",
|
|
32
32
|
"description"
|
|
33
33
|
],
|
|
34
|
-
"category": "content"
|
|
34
|
+
"category": "content",
|
|
35
|
+
"required": false
|
|
35
36
|
},
|
|
36
37
|
"children-key": {
|
|
37
38
|
"type": "String",
|
|
@@ -41,7 +42,8 @@
|
|
|
41
42
|
"roles",
|
|
42
43
|
"relatives"
|
|
43
44
|
],
|
|
44
|
-
"category": "content"
|
|
45
|
+
"category": "content",
|
|
46
|
+
"required": false
|
|
45
47
|
},
|
|
46
48
|
"no-connectors": {
|
|
47
49
|
"type": "Boolean",
|
|
@@ -116,7 +118,8 @@
|
|
|
116
118
|
"leaf",
|
|
117
119
|
"leaf-filtered"
|
|
118
120
|
],
|
|
119
|
-
"category": "behavior"
|
|
121
|
+
"category": "behavior",
|
|
122
|
+
"required": false
|
|
120
123
|
},
|
|
121
124
|
"ticked": {
|
|
122
125
|
"type": "Array",
|
|
@@ -181,7 +184,8 @@
|
|
|
181
184
|
"type": "Boolean",
|
|
182
185
|
"desc": "Matches or not"
|
|
183
186
|
},
|
|
184
|
-
"category": "filter"
|
|
187
|
+
"category": "filter",
|
|
188
|
+
"required": false
|
|
185
189
|
},
|
|
186
190
|
"duration": {
|
|
187
191
|
"type": "Number",
|
|
@@ -190,7 +194,8 @@
|
|
|
190
194
|
"examples": [
|
|
191
195
|
":duration=\"500\""
|
|
192
196
|
],
|
|
193
|
-
"category": "style"
|
|
197
|
+
"category": "style",
|
|
198
|
+
"required": false
|
|
194
199
|
},
|
|
195
200
|
"no-nodes-label": {
|
|
196
201
|
"type": "String",
|
|
@@ -385,10 +390,12 @@
|
|
|
385
390
|
"definition": {
|
|
386
391
|
"node": {
|
|
387
392
|
"type": "Object",
|
|
393
|
+
"required": true,
|
|
388
394
|
"desc": "The node to which the new nodes (the children) will be appended"
|
|
389
395
|
},
|
|
390
396
|
"key": {
|
|
391
397
|
"type": "String",
|
|
398
|
+
"required": true,
|
|
392
399
|
"desc": "The key of the node getting the newly loaded child nodes",
|
|
393
400
|
"examples": [
|
|
394
401
|
"New Node"
|
|
@@ -396,17 +403,21 @@
|
|
|
396
403
|
},
|
|
397
404
|
"done": {
|
|
398
405
|
"type": "Function",
|
|
406
|
+
"required": true,
|
|
399
407
|
"desc": "The callback to be carried out when the loading is successful",
|
|
400
408
|
"params": {
|
|
401
409
|
"children": {
|
|
402
410
|
"type": "Array",
|
|
403
|
-
"desc": "Array of nodes"
|
|
411
|
+
"desc": "Array of nodes",
|
|
412
|
+
"default": "[]",
|
|
413
|
+
"required": false
|
|
404
414
|
}
|
|
405
415
|
},
|
|
406
416
|
"returns": null
|
|
407
417
|
},
|
|
408
418
|
"fail": {
|
|
409
419
|
"type": "Function",
|
|
420
|
+
"required": true,
|
|
410
421
|
"desc": "The callback to be carried out should the loading fails",
|
|
411
422
|
"params": null,
|
|
412
423
|
"returns": null
|
|
@@ -452,8 +463,8 @@
|
|
|
452
463
|
"params": {
|
|
453
464
|
"key": {
|
|
454
465
|
"type": "Any",
|
|
455
|
-
"desc": "The key of a node",
|
|
456
466
|
"required": true,
|
|
467
|
+
"desc": "The key of a node",
|
|
457
468
|
"examples": [
|
|
458
469
|
"Node 1"
|
|
459
470
|
]
|
|
@@ -483,8 +494,8 @@
|
|
|
483
494
|
"params": {
|
|
484
495
|
"key": {
|
|
485
496
|
"type": "Any",
|
|
486
|
-
"desc": "The key of a node",
|
|
487
497
|
"required": true,
|
|
498
|
+
"desc": "The key of a node",
|
|
488
499
|
"examples": [
|
|
489
500
|
"Node 1"
|
|
490
501
|
]
|
|
@@ -506,16 +517,16 @@
|
|
|
506
517
|
"params": {
|
|
507
518
|
"key": {
|
|
508
519
|
"type": "Any",
|
|
509
|
-
"desc": "The key of a node",
|
|
510
520
|
"required": true,
|
|
521
|
+
"desc": "The key of a node",
|
|
511
522
|
"examples": [
|
|
512
523
|
"Node 1"
|
|
513
524
|
]
|
|
514
525
|
},
|
|
515
526
|
"state": {
|
|
516
527
|
"type": "Boolean",
|
|
517
|
-
"
|
|
518
|
-
"
|
|
528
|
+
"required": true,
|
|
529
|
+
"desc": "Set to 'true' to expand the branch of the tree, otherwise 'false' collapses it"
|
|
519
530
|
}
|
|
520
531
|
}
|
|
521
532
|
},
|
|
@@ -524,8 +535,8 @@
|
|
|
524
535
|
"params": {
|
|
525
536
|
"key": {
|
|
526
537
|
"type": "Any",
|
|
527
|
-
"desc": "The key of a node",
|
|
528
538
|
"required": true,
|
|
539
|
+
"desc": "The key of a node",
|
|
529
540
|
"examples": [
|
|
530
541
|
"Node 1"
|
|
531
542
|
]
|
|
@@ -541,16 +552,16 @@
|
|
|
541
552
|
"params": {
|
|
542
553
|
"keys": {
|
|
543
554
|
"type": "Array",
|
|
544
|
-
"desc": "The keys of nodes to tick/untick",
|
|
545
555
|
"required": true,
|
|
556
|
+
"desc": "The keys of nodes to tick/untick",
|
|
546
557
|
"examples": [
|
|
547
558
|
"[ 'Node 1', 'Node 2' ]"
|
|
548
559
|
]
|
|
549
560
|
},
|
|
550
561
|
"state": {
|
|
551
562
|
"type": "Boolean",
|
|
552
|
-
"
|
|
553
|
-
"
|
|
563
|
+
"required": true,
|
|
564
|
+
"desc": "Set to 'true' to tick the checkbox of nodes, otherwise 'false' unticks them"
|
|
554
565
|
}
|
|
555
566
|
}
|
|
556
567
|
}
|
package/dist/api/QUploader.json
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"returns": {
|
|
17
17
|
"type": [
|
|
18
18
|
"Object",
|
|
19
|
-
"Promise"
|
|
19
|
+
"Promise<any>"
|
|
20
20
|
],
|
|
21
21
|
"desc": "Optional configuration for the upload process; You can override QUploader props in this Object (url, method, headers, formFields, fieldName, withCredentials, sendRaw); Props of these Object can also be Functions with the form of (file[s]) => value"
|
|
22
22
|
},
|
|
@@ -32,6 +32,16 @@
|
|
|
32
32
|
"https://example.com/path",
|
|
33
33
|
"files => `https://example.com?count=${files.length}`"
|
|
34
34
|
],
|
|
35
|
+
"params": {
|
|
36
|
+
"files": {
|
|
37
|
+
"type": "Array",
|
|
38
|
+
"desc": "Uploaded files"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"returns": {
|
|
42
|
+
"type": "String",
|
|
43
|
+
"desc": "URL or path to the server which handles the upload"
|
|
44
|
+
},
|
|
35
45
|
"category": "upload"
|
|
36
46
|
},
|
|
37
47
|
"method": {
|
|
@@ -49,7 +59,18 @@
|
|
|
49
59
|
"POST",
|
|
50
60
|
":method=\"files => files.length > 10 ? 'POST' : 'PUT'\""
|
|
51
61
|
],
|
|
52
|
-
"
|
|
62
|
+
"params": {
|
|
63
|
+
"files": {
|
|
64
|
+
"type": "Array",
|
|
65
|
+
"desc": "Uploaded files"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"returns": {
|
|
69
|
+
"type": "String",
|
|
70
|
+
"desc": "HTTP method to use for upload"
|
|
71
|
+
},
|
|
72
|
+
"category": "upload",
|
|
73
|
+
"required": false
|
|
53
74
|
},
|
|
54
75
|
"field-name": {
|
|
55
76
|
"type": [
|
|
@@ -62,7 +83,18 @@
|
|
|
62
83
|
"backgroundFile",
|
|
63
84
|
":field-name=\"(file) => 'background' + file.name\""
|
|
64
85
|
],
|
|
65
|
-
"
|
|
86
|
+
"params": {
|
|
87
|
+
"files": {
|
|
88
|
+
"type": "File",
|
|
89
|
+
"desc": "The current file being processed"
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"returns": {
|
|
93
|
+
"type": "String",
|
|
94
|
+
"desc": "Field name for the current file upload"
|
|
95
|
+
},
|
|
96
|
+
"category": "upload",
|
|
97
|
+
"required": false
|
|
66
98
|
},
|
|
67
99
|
"headers": {
|
|
68
100
|
"type": [
|
|
@@ -96,6 +128,16 @@
|
|
|
96
128
|
"() => [{name: 'X-Custom-Timestamp', value: Date.now()}]",
|
|
97
129
|
"files => [{name: 'X-Custom-Count', value: files.length}]"
|
|
98
130
|
],
|
|
131
|
+
"params": {
|
|
132
|
+
"files": {
|
|
133
|
+
"type": "Array",
|
|
134
|
+
"desc": "Uploaded files"
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"returns": {
|
|
138
|
+
"type": "String",
|
|
139
|
+
"desc": "An array consists of objects with header definitions"
|
|
140
|
+
},
|
|
99
141
|
"category": "upload"
|
|
100
142
|
},
|
|
101
143
|
"form-fields": {
|
|
@@ -127,6 +169,16 @@
|
|
|
127
169
|
"() => [{name: 'my-field', value: 'my-value'}]",
|
|
128
170
|
"files => [{name: 'my-field', value: 'my-value' + files.length}]"
|
|
129
171
|
],
|
|
172
|
+
"params": {
|
|
173
|
+
"files": {
|
|
174
|
+
"type": "Array",
|
|
175
|
+
"desc": "Uploaded files"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"returns": {
|
|
179
|
+
"type": "String",
|
|
180
|
+
"desc": "An array consists of objects with additional fields definitions (used by Form to be uploaded)"
|
|
181
|
+
},
|
|
130
182
|
"category": "upload"
|
|
131
183
|
},
|
|
132
184
|
"with-credentials": {
|
|
@@ -139,6 +191,16 @@
|
|
|
139
191
|
"with-credentials",
|
|
140
192
|
":with-credentials=\"files => ...\""
|
|
141
193
|
],
|
|
194
|
+
"params": {
|
|
195
|
+
"files": {
|
|
196
|
+
"type": "Array",
|
|
197
|
+
"desc": "Uploaded files"
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
"returns": {
|
|
201
|
+
"type": "Boolean",
|
|
202
|
+
"desc": "If true, withCredentials will be set to true on the XHR that manages the upload"
|
|
203
|
+
},
|
|
142
204
|
"category": "upload"
|
|
143
205
|
},
|
|
144
206
|
"send-raw": {
|
|
@@ -151,6 +213,16 @@
|
|
|
151
213
|
"send-raw",
|
|
152
214
|
":send-raw=\"files => ...\""
|
|
153
215
|
],
|
|
216
|
+
"params": {
|
|
217
|
+
"files": {
|
|
218
|
+
"type": "Array",
|
|
219
|
+
"desc": "Uploaded files"
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
"returns": {
|
|
223
|
+
"type": "Boolean",
|
|
224
|
+
"desc": "If true, raw files will get sent without wrapping into a Form()"
|
|
225
|
+
},
|
|
154
226
|
"category": "upload"
|
|
155
227
|
},
|
|
156
228
|
"batch": {
|
|
@@ -162,6 +234,16 @@
|
|
|
162
234
|
"examples": [
|
|
163
235
|
"files => files.length > 10"
|
|
164
236
|
],
|
|
237
|
+
"params": {
|
|
238
|
+
"files": {
|
|
239
|
+
"type": "Array",
|
|
240
|
+
"desc": "Uploaded files"
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
"returns": {
|
|
244
|
+
"type": "Boolean",
|
|
245
|
+
"desc": "If true, files will be uploaded in a batch (in one XHR request)"
|
|
246
|
+
},
|
|
165
247
|
"category": "upload"
|
|
166
248
|
},
|
|
167
249
|
"multiple": {
|
|
@@ -334,10 +416,12 @@
|
|
|
334
416
|
"definition": {
|
|
335
417
|
"files": {
|
|
336
418
|
"type": "Array",
|
|
419
|
+
"required": true,
|
|
337
420
|
"desc": "Uploaded files"
|
|
338
421
|
},
|
|
339
422
|
"xhr": {
|
|
340
423
|
"type": "Object",
|
|
424
|
+
"required": true,
|
|
341
425
|
"desc": "XMLHttpRequest that has been used to upload this batch of files"
|
|
342
426
|
}
|
|
343
427
|
}
|
|
@@ -353,10 +437,12 @@
|
|
|
353
437
|
"definition": {
|
|
354
438
|
"files": {
|
|
355
439
|
"type": "Array",
|
|
440
|
+
"required": true,
|
|
356
441
|
"desc": "Files which encountered error"
|
|
357
442
|
},
|
|
358
443
|
"xhr": {
|
|
359
444
|
"type": "Object",
|
|
445
|
+
"required": true,
|
|
360
446
|
"desc": "XMLHttpRequest that has been used to upload this batch of files"
|
|
361
447
|
}
|
|
362
448
|
}
|
|
@@ -372,10 +458,12 @@
|
|
|
372
458
|
"definition": {
|
|
373
459
|
"files": {
|
|
374
460
|
"type": "Array",
|
|
461
|
+
"required": true,
|
|
375
462
|
"desc": "Files which are now uploading"
|
|
376
463
|
},
|
|
377
464
|
"xhr": {
|
|
378
465
|
"type": "Object",
|
|
466
|
+
"required": true,
|
|
379
467
|
"desc": "XMLHttpRequest used for uploading"
|
|
380
468
|
}
|
|
381
469
|
}
|
|
@@ -386,8 +474,8 @@
|
|
|
386
474
|
"desc": "Emitted when factory function is supplied with a Promise which is rejected",
|
|
387
475
|
"params": {
|
|
388
476
|
"err": {
|
|
389
|
-
"type": "
|
|
390
|
-
"desc": "Error
|
|
477
|
+
"type": "Error",
|
|
478
|
+
"desc": "Error object which is the Promise rejection reason"
|
|
391
479
|
},
|
|
392
480
|
"files": {
|
|
393
481
|
"type": "Array",
|