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
|
@@ -14,8 +14,15 @@
|
|
|
14
14
|
"desc": "Is Fullscreen active?"
|
|
15
15
|
},
|
|
16
16
|
"activeEl": {
|
|
17
|
-
"type":
|
|
18
|
-
|
|
17
|
+
"type": [
|
|
18
|
+
"Element",
|
|
19
|
+
"null"
|
|
20
|
+
],
|
|
21
|
+
"desc": "The DOM element used as root for fullscreen, otherwise 'null'",
|
|
22
|
+
"examples": [
|
|
23
|
+
"document.fullscreenElement",
|
|
24
|
+
"null"
|
|
25
|
+
]
|
|
19
26
|
}
|
|
20
27
|
},
|
|
21
28
|
"methods": {
|
|
@@ -31,8 +38,8 @@
|
|
|
31
38
|
}
|
|
32
39
|
},
|
|
33
40
|
"returns": {
|
|
34
|
-
"type": "Promise<
|
|
35
|
-
"desc": "A Promise with
|
|
41
|
+
"type": "Promise<void>",
|
|
42
|
+
"desc": "A Promise which is resolved when transitioned to fullscreen mode. It gets rejected with 'Not capable' if the browser is not capable, and with an Error object if something else went wrong.",
|
|
36
43
|
"examples": [
|
|
37
44
|
"request().then(response => { ... }).catch(err => { ... })"
|
|
38
45
|
]
|
|
@@ -41,8 +48,8 @@
|
|
|
41
48
|
"exit": {
|
|
42
49
|
"desc": "Request exiting out of Fullscreen mode",
|
|
43
50
|
"returns": {
|
|
44
|
-
"type": "Promise<
|
|
45
|
-
"desc": "A Promise with
|
|
51
|
+
"type": "Promise<void>",
|
|
52
|
+
"desc": "A Promise which is resolved when exited out of fullscreen mode. It gets rejected with 'Not capable' if the browser is not capable, and with an Error object if something else went wrong.",
|
|
46
53
|
"examples": [
|
|
47
54
|
"exit().then(response => { ... }).catch(err => { ... })"
|
|
48
55
|
]
|
|
@@ -60,8 +67,8 @@
|
|
|
60
67
|
}
|
|
61
68
|
},
|
|
62
69
|
"returns": {
|
|
63
|
-
"type": "Promise<
|
|
64
|
-
"desc": "A Promise with
|
|
70
|
+
"type": "Promise<void>",
|
|
71
|
+
"desc": "A Promise which is resolved when transitioned to / exited out of fullscreen mode. It gets rejected with 'Not capable' if the browser is not capable, and with an Error object if something else went wrong.",
|
|
65
72
|
"examples": [
|
|
66
73
|
"toggle().then(response => { ... }).catch(err => { ... })"
|
|
67
74
|
]
|
|
@@ -127,14 +127,30 @@
|
|
|
127
127
|
"definition": {
|
|
128
128
|
"onOk": {
|
|
129
129
|
"type": "Function",
|
|
130
|
+
"required": true,
|
|
130
131
|
"desc": "Receives a Function param to tell what to do when OK is pressed / option is selected",
|
|
131
132
|
"params": {
|
|
132
133
|
"callbackFn": {
|
|
133
134
|
"type": "Function",
|
|
134
135
|
"desc": "Tell what to do",
|
|
135
136
|
"required": true,
|
|
136
|
-
"params":
|
|
137
|
-
|
|
137
|
+
"params": {
|
|
138
|
+
"payload": {
|
|
139
|
+
"type": "Any",
|
|
140
|
+
"desc": "The payload if called onDialogOK with the parameter or emitted one with the 'ok' event",
|
|
141
|
+
"required": false,
|
|
142
|
+
"examples": [
|
|
143
|
+
"'Quasar Framework'",
|
|
144
|
+
"[ 1, 2, 6, 3 ]",
|
|
145
|
+
"{ book: { id: 1, name: 'Lorem Ipsum' }, user: { name: 'Lorem J. Ipsum', role: 'admin' } }"
|
|
146
|
+
]
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"returns": null,
|
|
150
|
+
"examples": [
|
|
151
|
+
"() => console.log('OK!')",
|
|
152
|
+
"(payload) => Notify.create({ type: 'positive', message: `Successfully saved '${payload.book.name}' book!` })"
|
|
153
|
+
]
|
|
138
154
|
}
|
|
139
155
|
},
|
|
140
156
|
"returns": {
|
|
@@ -145,6 +161,7 @@
|
|
|
145
161
|
},
|
|
146
162
|
"onCancel": {
|
|
147
163
|
"type": "Function",
|
|
164
|
+
"required": true,
|
|
148
165
|
"desc": "Receives a Function as param to tell what to do when Cancel is pressed / dialog is dismissed",
|
|
149
166
|
"params": {
|
|
150
167
|
"callbackFn": {
|
|
@@ -163,6 +180,7 @@
|
|
|
163
180
|
},
|
|
164
181
|
"onDismiss": {
|
|
165
182
|
"type": "Function",
|
|
183
|
+
"required": true,
|
|
166
184
|
"desc": "Receives a Function param to tell what to do when the dialog is closed",
|
|
167
185
|
"params": {
|
|
168
186
|
"callbackFn": {
|
|
@@ -181,6 +199,7 @@
|
|
|
181
199
|
},
|
|
182
200
|
"hide": {
|
|
183
201
|
"type": "Function",
|
|
202
|
+
"required": true,
|
|
184
203
|
"desc": "Hides the dialog when called",
|
|
185
204
|
"params": null,
|
|
186
205
|
"returns": {
|
|
@@ -191,10 +210,12 @@
|
|
|
191
210
|
},
|
|
192
211
|
"update": {
|
|
193
212
|
"type": "Function",
|
|
213
|
+
"required": true,
|
|
194
214
|
"desc": "Updates the initial properties (given as create() param) except for 'component'",
|
|
195
215
|
"params": {
|
|
196
216
|
"opts": {
|
|
197
217
|
"type": "Object",
|
|
218
|
+
"required": true,
|
|
198
219
|
"desc": "Props (except 'component') which will overwrite the initial create() params; If create() was invoked with a custom dialog component then this param should contain the new componentProps"
|
|
199
220
|
}
|
|
200
221
|
},
|
package/dist/api/Cookies.json
CHANGED
|
@@ -95,10 +95,11 @@
|
|
|
95
95
|
},
|
|
96
96
|
"sameSite": {
|
|
97
97
|
"type": "String",
|
|
98
|
-
"desc": "SameSite cookie option
|
|
99
|
-
"
|
|
98
|
+
"desc": "SameSite cookie option",
|
|
99
|
+
"values": [
|
|
100
|
+
"Lax",
|
|
100
101
|
"Strict",
|
|
101
|
-
"
|
|
102
|
+
"None"
|
|
102
103
|
]
|
|
103
104
|
},
|
|
104
105
|
"httpOnly": {
|
package/dist/api/Dialog.json
CHANGED
|
@@ -62,7 +62,8 @@
|
|
|
62
62
|
"left",
|
|
63
63
|
"standard"
|
|
64
64
|
],
|
|
65
|
-
"default": "standard"
|
|
65
|
+
"default": "standard",
|
|
66
|
+
"required": false
|
|
66
67
|
},
|
|
67
68
|
"prompt": {
|
|
68
69
|
"type": "Object",
|
|
@@ -73,8 +74,8 @@
|
|
|
73
74
|
"definition": {
|
|
74
75
|
"model": {
|
|
75
76
|
"type": "String",
|
|
76
|
-
"
|
|
77
|
-
"
|
|
77
|
+
"required": true,
|
|
78
|
+
"desc": "The initial value of the input"
|
|
78
79
|
},
|
|
79
80
|
"type": {
|
|
80
81
|
"type": "String",
|
|
@@ -84,7 +85,8 @@
|
|
|
84
85
|
"text",
|
|
85
86
|
"number",
|
|
86
87
|
"textarea"
|
|
87
|
-
]
|
|
88
|
+
],
|
|
89
|
+
"required": false
|
|
88
90
|
},
|
|
89
91
|
"isValid": {
|
|
90
92
|
"type": "Function",
|
|
@@ -92,6 +94,7 @@
|
|
|
92
94
|
"params": {
|
|
93
95
|
"val": {
|
|
94
96
|
"type": "String",
|
|
97
|
+
"required": true,
|
|
95
98
|
"desc": "The value of the input"
|
|
96
99
|
}
|
|
97
100
|
},
|
|
@@ -188,8 +191,8 @@
|
|
|
188
191
|
"String",
|
|
189
192
|
"Array"
|
|
190
193
|
],
|
|
191
|
-
"desc": "The value of the selection (String if it's of type radio or Array otherwise)",
|
|
192
194
|
"required": true,
|
|
195
|
+
"desc": "The value of the selection (String if it's of type radio or Array otherwise)",
|
|
193
196
|
"examples": [
|
|
194
197
|
"[]"
|
|
195
198
|
]
|
|
@@ -202,7 +205,8 @@
|
|
|
202
205
|
"radio",
|
|
203
206
|
"checkbox",
|
|
204
207
|
"toggle"
|
|
205
|
-
]
|
|
208
|
+
],
|
|
209
|
+
"required": false
|
|
206
210
|
},
|
|
207
211
|
"items": {
|
|
208
212
|
"type": "Array",
|
|
@@ -220,6 +224,7 @@
|
|
|
220
224
|
"String",
|
|
221
225
|
"Array"
|
|
222
226
|
],
|
|
227
|
+
"required": true,
|
|
223
228
|
"desc": "The current model (String if it's of type radio or Array otherwise)",
|
|
224
229
|
"examples": [
|
|
225
230
|
"opt2",
|
|
@@ -294,7 +299,8 @@
|
|
|
294
299
|
"cancel",
|
|
295
300
|
"none"
|
|
296
301
|
],
|
|
297
|
-
"default": "ok"
|
|
302
|
+
"default": "ok",
|
|
303
|
+
"required": false
|
|
298
304
|
},
|
|
299
305
|
"stackButtons": {
|
|
300
306
|
"type": "Boolean",
|
|
@@ -354,7 +360,8 @@
|
|
|
354
360
|
"slide-down"
|
|
355
361
|
],
|
|
356
362
|
"category": "transition",
|
|
357
|
-
"default": "scale"
|
|
363
|
+
"default": "scale",
|
|
364
|
+
"required": false
|
|
358
365
|
},
|
|
359
366
|
"transitionHide": {
|
|
360
367
|
"type": "String",
|
|
@@ -364,7 +371,8 @@
|
|
|
364
371
|
"slide-down"
|
|
365
372
|
],
|
|
366
373
|
"category": "transition",
|
|
367
|
-
"default": "scale"
|
|
374
|
+
"default": "scale",
|
|
375
|
+
"required": false
|
|
368
376
|
},
|
|
369
377
|
"component": {
|
|
370
378
|
"type": "Any",
|
|
@@ -386,14 +394,30 @@
|
|
|
386
394
|
"definition": {
|
|
387
395
|
"onOk": {
|
|
388
396
|
"type": "Function",
|
|
397
|
+
"required": true,
|
|
389
398
|
"desc": "Receives a Function param to tell what to do when OK is pressed / option is selected",
|
|
390
399
|
"params": {
|
|
391
400
|
"callbackFn": {
|
|
392
401
|
"type": "Function",
|
|
393
402
|
"desc": "Tell what to do",
|
|
394
403
|
"required": true,
|
|
395
|
-
"params":
|
|
396
|
-
|
|
404
|
+
"params": {
|
|
405
|
+
"payload": {
|
|
406
|
+
"type": "Any",
|
|
407
|
+
"desc": "The payload if called onDialogOK with the parameter or emitted one with the 'ok' event",
|
|
408
|
+
"required": false,
|
|
409
|
+
"examples": [
|
|
410
|
+
"'Quasar Framework'",
|
|
411
|
+
"[ 1, 2, 6, 3 ]",
|
|
412
|
+
"{ book: { id: 1, name: 'Lorem Ipsum' }, user: { name: 'Lorem J. Ipsum', role: 'admin' } }"
|
|
413
|
+
]
|
|
414
|
+
}
|
|
415
|
+
},
|
|
416
|
+
"returns": null,
|
|
417
|
+
"examples": [
|
|
418
|
+
"() => console.log('OK!')",
|
|
419
|
+
"(payload) => Notify.create({ type: 'positive', message: `Successfully saved '${payload.book.name}' book!` })"
|
|
420
|
+
]
|
|
397
421
|
}
|
|
398
422
|
},
|
|
399
423
|
"returns": {
|
|
@@ -404,6 +428,7 @@
|
|
|
404
428
|
},
|
|
405
429
|
"onCancel": {
|
|
406
430
|
"type": "Function",
|
|
431
|
+
"required": true,
|
|
407
432
|
"desc": "Receives a Function as param to tell what to do when Cancel is pressed / dialog is dismissed",
|
|
408
433
|
"params": {
|
|
409
434
|
"callbackFn": {
|
|
@@ -422,6 +447,7 @@
|
|
|
422
447
|
},
|
|
423
448
|
"onDismiss": {
|
|
424
449
|
"type": "Function",
|
|
450
|
+
"required": true,
|
|
425
451
|
"desc": "Receives a Function param to tell what to do when the dialog is closed",
|
|
426
452
|
"params": {
|
|
427
453
|
"callbackFn": {
|
|
@@ -440,6 +466,7 @@
|
|
|
440
466
|
},
|
|
441
467
|
"hide": {
|
|
442
468
|
"type": "Function",
|
|
469
|
+
"required": true,
|
|
443
470
|
"desc": "Hides the dialog when called",
|
|
444
471
|
"params": null,
|
|
445
472
|
"returns": {
|
|
@@ -450,10 +477,12 @@
|
|
|
450
477
|
},
|
|
451
478
|
"update": {
|
|
452
479
|
"type": "Function",
|
|
480
|
+
"required": true,
|
|
453
481
|
"desc": "Updates the initial properties (given as create() param) except for 'component'",
|
|
454
482
|
"params": {
|
|
455
483
|
"opts": {
|
|
456
484
|
"type": "Object",
|
|
485
|
+
"required": true,
|
|
457
486
|
"desc": "Props (except 'component') which will overwrite the initial create() params; If create() was invoked with a custom dialog component then this param should contain the new componentProps"
|
|
458
487
|
}
|
|
459
488
|
},
|
package/dist/api/Loading.json
CHANGED
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
"type": "Boolean",
|
|
26
26
|
"default": "false",
|
|
27
27
|
"desc": "Force render the message as HTML; This can lead to XSS attacks so make sure that you sanitize the content",
|
|
28
|
-
"category": "behavior"
|
|
28
|
+
"category": "behavior",
|
|
29
|
+
"required": false
|
|
29
30
|
},
|
|
30
31
|
"boxClass": {
|
|
31
32
|
"type": "String",
|
|
@@ -118,7 +119,8 @@
|
|
|
118
119
|
"type": "Boolean",
|
|
119
120
|
"default": "false",
|
|
120
121
|
"desc": "Render the message as HTML; This can lead to XSS attacks so make sure that you sanitize the message first",
|
|
121
|
-
"category": "behavior"
|
|
122
|
+
"category": "behavior",
|
|
123
|
+
"required": false
|
|
122
124
|
},
|
|
123
125
|
"boxClass": {
|
|
124
126
|
"type": "String",
|
package/dist/api/LoadingBar.json
CHANGED
|
@@ -20,9 +20,11 @@
|
|
|
20
20
|
"speed": {
|
|
21
21
|
"type": "Number",
|
|
22
22
|
"desc": "Delay (in milliseconds) between bar progress increments",
|
|
23
|
+
"default": 300,
|
|
23
24
|
"examples": [
|
|
24
25
|
150
|
|
25
|
-
]
|
|
26
|
+
],
|
|
27
|
+
"required": false
|
|
26
28
|
}
|
|
27
29
|
}
|
|
28
30
|
},
|
|
@@ -44,10 +46,13 @@
|
|
|
44
46
|
"setDefaults": {
|
|
45
47
|
"desc": "Set the inner QAjaxBar's props",
|
|
46
48
|
"params": {
|
|
47
|
-
"
|
|
49
|
+
"props": {
|
|
48
50
|
"type": "Object",
|
|
51
|
+
"required": true,
|
|
49
52
|
"desc": "QAjaxBar component props",
|
|
50
|
-
"
|
|
53
|
+
"examples": [
|
|
54
|
+
"{ position: 'bottom', reverse: true }"
|
|
55
|
+
]
|
|
51
56
|
}
|
|
52
57
|
}
|
|
53
58
|
}
|
package/dist/api/Morph.json
CHANGED
|
@@ -37,7 +37,8 @@
|
|
|
37
37
|
"default": "300",
|
|
38
38
|
"examples": [
|
|
39
39
|
"500"
|
|
40
|
-
]
|
|
40
|
+
],
|
|
41
|
+
"required": false
|
|
41
42
|
},
|
|
42
43
|
"delay": {
|
|
43
44
|
"type": "Number",
|
|
@@ -45,7 +46,8 @@
|
|
|
45
46
|
"default": "0",
|
|
46
47
|
"examples": [
|
|
47
48
|
"500"
|
|
48
|
-
]
|
|
49
|
+
],
|
|
50
|
+
"required": false
|
|
49
51
|
},
|
|
50
52
|
"easing": {
|
|
51
53
|
"type": "String",
|
|
@@ -53,7 +55,8 @@
|
|
|
53
55
|
"default": "ease-in-out",
|
|
54
56
|
"examples": [
|
|
55
57
|
"ease-out"
|
|
56
|
-
]
|
|
58
|
+
],
|
|
59
|
+
"required": false
|
|
57
60
|
},
|
|
58
61
|
"fill": {
|
|
59
62
|
"type": "String",
|
|
@@ -61,7 +64,8 @@
|
|
|
61
64
|
"default": "none",
|
|
62
65
|
"examples": [
|
|
63
66
|
"forward"
|
|
64
|
-
]
|
|
67
|
+
],
|
|
68
|
+
"required": false
|
|
65
69
|
},
|
|
66
70
|
"classes": {
|
|
67
71
|
"type": "String",
|
|
@@ -106,7 +110,8 @@
|
|
|
106
110
|
"default": "0.6",
|
|
107
111
|
"examples": [
|
|
108
112
|
"1"
|
|
109
|
-
]
|
|
113
|
+
],
|
|
114
|
+
"required": false
|
|
110
115
|
},
|
|
111
116
|
"tweenToOpacity": {
|
|
112
117
|
"type": "Number",
|
|
@@ -114,7 +119,8 @@
|
|
|
114
119
|
"default": "0.5",
|
|
115
120
|
"examples": [
|
|
116
121
|
"0.3"
|
|
117
|
-
]
|
|
122
|
+
],
|
|
123
|
+
"required": false
|
|
118
124
|
},
|
|
119
125
|
"waitFor": {
|
|
120
126
|
"type": [
|
|
@@ -127,7 +133,8 @@
|
|
|
127
133
|
"examples": [
|
|
128
134
|
"300",
|
|
129
135
|
"transitionend"
|
|
130
|
-
]
|
|
136
|
+
],
|
|
137
|
+
"required": false
|
|
131
138
|
},
|
|
132
139
|
"onEnd": {
|
|
133
140
|
"type": "Function",
|
package/dist/api/Mutation.json
CHANGED
package/dist/api/Notify.json
CHANGED
|
@@ -92,7 +92,8 @@
|
|
|
92
92
|
],
|
|
93
93
|
"examples": [
|
|
94
94
|
"top-right"
|
|
95
|
-
]
|
|
95
|
+
],
|
|
96
|
+
"required": false
|
|
96
97
|
},
|
|
97
98
|
"group": {
|
|
98
99
|
"type": [
|
|
@@ -104,7 +105,8 @@
|
|
|
104
105
|
"default": "(message + caption + multiline + actions labels + position)",
|
|
105
106
|
"examples": [
|
|
106
107
|
"my-group"
|
|
107
|
-
]
|
|
108
|
+
],
|
|
109
|
+
"required": false
|
|
108
110
|
},
|
|
109
111
|
"badgeColor": {
|
|
110
112
|
"type": "String",
|
|
@@ -136,7 +138,8 @@
|
|
|
136
138
|
],
|
|
137
139
|
"examples": [
|
|
138
140
|
"bottom-right"
|
|
139
|
-
]
|
|
141
|
+
],
|
|
142
|
+
"required": false
|
|
140
143
|
},
|
|
141
144
|
"badgeStyle": {
|
|
142
145
|
"type": "String",
|
|
@@ -183,7 +186,8 @@
|
|
|
183
186
|
"default": 5000,
|
|
184
187
|
"examples": [
|
|
185
188
|
2500
|
|
186
|
-
]
|
|
189
|
+
],
|
|
190
|
+
"required": false
|
|
187
191
|
},
|
|
188
192
|
"closeBtn": {
|
|
189
193
|
"type": [
|
|
@@ -211,6 +215,7 @@
|
|
|
211
215
|
"Object",
|
|
212
216
|
"String"
|
|
213
217
|
],
|
|
218
|
+
"required": true,
|
|
214
219
|
"desc": "Notification options",
|
|
215
220
|
"definition": {
|
|
216
221
|
"type": {
|
|
@@ -282,7 +287,11 @@
|
|
|
282
287
|
"Boolean",
|
|
283
288
|
"Component"
|
|
284
289
|
],
|
|
285
|
-
"desc": "Useful for notifications that are updated; Displays a Quasar spinner instead of an avatar or icon; If value is Boolean 'true' then the default QSpinner is shown"
|
|
290
|
+
"desc": "Useful for notifications that are updated; Displays a Quasar spinner instead of an avatar or icon; If value is Boolean 'true' then the default QSpinner is shown",
|
|
291
|
+
"examples": [
|
|
292
|
+
true,
|
|
293
|
+
"QSpinnerBars"
|
|
294
|
+
]
|
|
286
295
|
},
|
|
287
296
|
"position": {
|
|
288
297
|
"type": "String",
|
|
@@ -299,9 +308,7 @@
|
|
|
299
308
|
"right",
|
|
300
309
|
"center"
|
|
301
310
|
],
|
|
302
|
-
"
|
|
303
|
-
"top-right"
|
|
304
|
-
]
|
|
311
|
+
"required": false
|
|
305
312
|
},
|
|
306
313
|
"group": {
|
|
307
314
|
"type": [
|
|
@@ -313,7 +320,8 @@
|
|
|
313
320
|
"default": "(message + caption + multiline + actions labels + position)",
|
|
314
321
|
"examples": [
|
|
315
322
|
"my-group"
|
|
316
|
-
]
|
|
323
|
+
],
|
|
324
|
+
"required": false
|
|
317
325
|
},
|
|
318
326
|
"badgeColor": {
|
|
319
327
|
"type": "String",
|
|
@@ -343,9 +351,7 @@
|
|
|
343
351
|
"bottom-left",
|
|
344
352
|
"bottom-right"
|
|
345
353
|
],
|
|
346
|
-
"
|
|
347
|
-
"bottom-right"
|
|
348
|
-
]
|
|
354
|
+
"required": false
|
|
349
355
|
},
|
|
350
356
|
"badgeStyle": {
|
|
351
357
|
"type": [
|
|
@@ -407,7 +413,8 @@
|
|
|
407
413
|
"default": 5000,
|
|
408
414
|
"examples": [
|
|
409
415
|
2500
|
|
410
|
-
]
|
|
416
|
+
],
|
|
417
|
+
"required": false
|
|
411
418
|
},
|
|
412
419
|
"actions": {
|
|
413
420
|
"type": "Array",
|
|
@@ -443,8 +450,7 @@
|
|
|
443
450
|
"type": "Boolean",
|
|
444
451
|
"desc": "Ignore the default configuration (set by setDefaults()) for this instance only"
|
|
445
452
|
}
|
|
446
|
-
}
|
|
447
|
-
"required": true
|
|
453
|
+
}
|
|
448
454
|
}
|
|
449
455
|
},
|
|
450
456
|
"returns": {
|
|
@@ -453,6 +459,7 @@
|
|
|
453
459
|
"params": {
|
|
454
460
|
"props": {
|
|
455
461
|
"type": "Object",
|
|
462
|
+
"required": false,
|
|
456
463
|
"desc": "Notification properties that will be shallow merged to previous ones in order to update the non-grouped notification",
|
|
457
464
|
"definition": {
|
|
458
465
|
"type": {
|
|
@@ -562,7 +569,8 @@
|
|
|
562
569
|
"default": 5000,
|
|
563
570
|
"examples": [
|
|
564
571
|
2500
|
|
565
|
-
]
|
|
572
|
+
],
|
|
573
|
+
"required": false
|
|
566
574
|
},
|
|
567
575
|
"actions": {
|
|
568
576
|
"type": "Array",
|
|
@@ -609,6 +617,7 @@
|
|
|
609
617
|
"params": {
|
|
610
618
|
"opts": {
|
|
611
619
|
"type": "Object",
|
|
620
|
+
"required": true,
|
|
612
621
|
"desc": "Notification options",
|
|
613
622
|
"definition": {
|
|
614
623
|
"type": {
|
|
@@ -699,7 +708,8 @@
|
|
|
699
708
|
],
|
|
700
709
|
"examples": [
|
|
701
710
|
"top-right"
|
|
702
|
-
]
|
|
711
|
+
],
|
|
712
|
+
"required": false
|
|
703
713
|
},
|
|
704
714
|
"badgeColor": {
|
|
705
715
|
"type": "String",
|
|
@@ -731,7 +741,8 @@
|
|
|
731
741
|
],
|
|
732
742
|
"examples": [
|
|
733
743
|
"bottom-right"
|
|
734
|
-
]
|
|
744
|
+
],
|
|
745
|
+
"required": false
|
|
735
746
|
},
|
|
736
747
|
"badgeStyle": {
|
|
737
748
|
"type": [
|
|
@@ -793,7 +804,8 @@
|
|
|
793
804
|
"default": 5000,
|
|
794
805
|
"examples": [
|
|
795
806
|
2500
|
|
796
|
-
]
|
|
807
|
+
],
|
|
808
|
+
"required": false
|
|
797
809
|
},
|
|
798
810
|
"actions": {
|
|
799
811
|
"type": "Array",
|
|
@@ -825,8 +837,7 @@
|
|
|
825
837
|
"type": "Boolean",
|
|
826
838
|
"desc": "Put notification into multi-line mode; If this prop isn't used and more than one 'action' is specified then notification goes into multi-line mode by default"
|
|
827
839
|
}
|
|
828
|
-
}
|
|
829
|
-
"required": true
|
|
840
|
+
}
|
|
830
841
|
}
|
|
831
842
|
}
|
|
832
843
|
},
|
|
@@ -835,14 +846,15 @@
|
|
|
835
846
|
"params": {
|
|
836
847
|
"typeName": {
|
|
837
848
|
"type": "String",
|
|
838
|
-
"desc": "Name of the type (to be used as 'type' prop later on)",
|
|
839
849
|
"required": true,
|
|
850
|
+
"desc": "Name of the type (to be used as 'type' prop later on)",
|
|
840
851
|
"examples": [
|
|
841
852
|
"my-type"
|
|
842
853
|
]
|
|
843
854
|
},
|
|
844
855
|
"typeOpts": {
|
|
845
856
|
"type": "Object",
|
|
857
|
+
"required": true,
|
|
846
858
|
"desc": "Notification options",
|
|
847
859
|
"definition": {
|
|
848
860
|
"type": {
|
|
@@ -933,7 +945,8 @@
|
|
|
933
945
|
],
|
|
934
946
|
"examples": [
|
|
935
947
|
"top-right"
|
|
936
|
-
]
|
|
948
|
+
],
|
|
949
|
+
"required": false
|
|
937
950
|
},
|
|
938
951
|
"badgeColor": {
|
|
939
952
|
"type": "String",
|
|
@@ -965,7 +978,8 @@
|
|
|
965
978
|
],
|
|
966
979
|
"examples": [
|
|
967
980
|
"bottom-right"
|
|
968
|
-
]
|
|
981
|
+
],
|
|
982
|
+
"required": false
|
|
969
983
|
},
|
|
970
984
|
"badgeStyle": {
|
|
971
985
|
"type": [
|
|
@@ -1027,7 +1041,8 @@
|
|
|
1027
1041
|
"default": 5000,
|
|
1028
1042
|
"examples": [
|
|
1029
1043
|
2500
|
|
1030
|
-
]
|
|
1044
|
+
],
|
|
1045
|
+
"required": false
|
|
1031
1046
|
},
|
|
1032
1047
|
"actions": {
|
|
1033
1048
|
"type": "Array",
|
|
@@ -1059,8 +1074,7 @@
|
|
|
1059
1074
|
"type": "Boolean",
|
|
1060
1075
|
"desc": "Put notification into multi-line mode; If this prop isn't used and more than one 'action' is specified then notification goes into multi-line mode by default"
|
|
1061
1076
|
}
|
|
1062
|
-
}
|
|
1063
|
-
"required": true
|
|
1077
|
+
}
|
|
1064
1078
|
}
|
|
1065
1079
|
}
|
|
1066
1080
|
}
|