quasar 2.3.1 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/AppFullscreen.json +15 -8
- package/dist/api/BottomSheet.json +6 -0
- package/dist/api/Cookies.json +4 -3
- package/dist/api/Dialog.json +24 -10
- package/dist/api/Loading.json +0 -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 +35 -12
- package/dist/api/QBtn.json +36 -17
- package/dist/api/QBtnDropdown.json +41 -20
- package/dist/api/QBtnToggle.json +7 -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 +0 -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 +36 -13
- package/dist/api/QFab.json +41 -6
- package/dist/api/QFabAction.json +12 -2
- package/dist/api/QField.json +3 -1
- package/dist/api/QFile.json +8 -2
- package/dist/api/QFooter.json +2 -1
- package/dist/api/QForm.json +1 -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 +3 -1
- package/dist/api/QIntersection.json +4 -2
- package/dist/api/QItem.json +33 -11
- 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 +76 -5
- 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 +7 -4
- package/dist/api/QRange.json +600 -111
- package/dist/api/QRating.json +5 -2
- package/dist/api/QResizeObserver.json +4 -1
- package/dist/api/QRouteTab.json +35 -13
- package/dist/api/QScrollArea.json +29 -6
- package/dist/api/QScrollObserver.json +13 -1
- package/dist/api/QSelect.json +76 -47
- 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 +512 -43
- 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 +34 -19
- package/dist/api/QUploader.json +28 -6
- package/dist/api/QVirtualScroll.json +26 -11
- 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 +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 +268 -184
- package/dist/quasar.esm.prod.js +2 -2
- package/dist/quasar.prod.css +1 -1
- package/dist/quasar.rtl.css +340 -263
- package/dist/quasar.rtl.prod.css +1 -1
- package/dist/quasar.sass +272 -212
- package/dist/quasar.umd.js +16532 -16216
- package/dist/quasar.umd.prod.js +2 -2
- package/dist/ssr-directives/Morph.js +1 -1
- package/dist/transforms/loader-asset-urls.json +20 -0
- package/dist/types/api/cookies.d.ts +1 -1
- package/dist/types/api/slider.d.ts +46 -0
- package/dist/types/api/validation.d.ts +4 -0
- package/dist/types/api.d.ts +2 -0
- package/dist/types/composables.d.ts +7 -3
- package/dist/types/extras/icon-set.d.ts +1 -0
- package/dist/types/index.d.ts +759 -177
- package/dist/vetur/quasar-attributes.json +251 -83
- package/dist/vetur/quasar-tags.json +59 -17
- package/dist/web-types/web-types.json +587 -155
- package/icon-set/svg-ionicons-v6.js +225 -0
- package/package.json +2 -2
- package/src/api.extends.json +0 -1
- package/src/components/breadcrumbs/QBreadcrumbs.js +7 -2
- package/src/components/breadcrumbs/QBreadcrumbs.sass +0 -3
- package/src/components/breadcrumbs/QBreadcrumbsEl.js +14 -8
- package/src/components/btn/QBtn.js +6 -5
- package/src/components/btn/use-btn.js +21 -21
- package/src/components/btn/use-btn.json +22 -13
- package/src/components/btn-dropdown/QBtnDropdown.json +1 -0
- package/src/components/btn-toggle/QBtnToggle.json +3 -0
- package/src/components/checkbox/use-checkbox.js +1 -1
- package/src/components/chip/QChip.json +1 -2
- package/src/components/color/QColor.js +32 -26
- package/src/components/color/QColor.sass +10 -23
- package/src/components/date/QDate.json +25 -1
- package/src/components/date/QDate.sass +2 -0
- package/src/components/drawer/QDrawer.js +18 -15
- package/src/components/editor/QEditor.js +3 -3
- package/src/components/editor/QEditor.sass +10 -1
- package/src/components/expansion-item/QExpansionItem.js +4 -1
- package/src/components/expansion-item/QExpansionItem.json +2 -1
- package/src/components/fab/QFab.js +18 -12
- package/src/components/fab/QFab.json +36 -1
- package/src/components/fab/QFab.sass +1 -1
- package/src/components/fab/QFabAction.js +14 -7
- package/src/components/fab/QFabAction.json +10 -0
- package/src/components/field/QField.json +3 -3
- package/src/components/file/QFile.js +12 -5
- package/src/components/file/QFile.json +9 -6
- package/src/components/file/QFile.sass +4 -2
- package/src/components/footer/QFooter.js +1 -1
- package/src/components/form/QForm.json +2 -3
- package/src/components/header/QHeader.js +1 -1
- package/src/components/icon/QIcon.js +2 -2
- package/src/components/infinite-scroll/QInfiniteScroll.js +4 -5
- package/src/components/item/QItem.js +2 -3
- package/src/components/layout/QLayout.json +8 -1
- package/src/components/linear-progress/QLinearProgress.js +3 -2
- package/src/components/linear-progress/QLinearProgress.sass +1 -1
- package/src/components/option-group/QOptionGroup.js +3 -0
- package/src/components/option-group/QOptionGroup.json +48 -2
- package/src/components/pagination/QPagination.json +0 -1
- package/src/components/parallax/QParallax.js +4 -2
- package/src/components/popup-edit/QPopupEdit.js +2 -5
- package/src/components/popup-edit/QPopupEdit.json +1 -0
- package/src/components/popup-proxy/QPopupProxy.json +2 -1
- package/src/components/radio/QRadio.js +2 -7
- package/src/components/range/QRange.js +103 -222
- package/src/components/range/QRange.json +11 -121
- package/src/components/rating/QRating.json +1 -1
- package/src/components/resize-observer/QResizeObserver.json +2 -0
- package/src/components/scroll-area/QScrollArea.js +11 -14
- package/src/components/scroll-area/QScrollArea.json +29 -9
- package/src/components/scroll-observer/QScrollObserver.json +11 -0
- package/src/components/select/QSelect.js +1 -1
- package/src/components/select/QSelect.json +41 -15
- package/src/components/slide-item/QSlideItem.json +9 -0
- package/src/components/slider/QSlider.js +46 -132
- package/src/components/slider/QSlider.json +1 -121
- package/src/components/slider/QSlider.sass +198 -132
- package/src/components/slider/use-slider.js +453 -109
- package/src/components/slider/use-slider.json +546 -0
- package/src/components/stepper/QStepper.js +3 -3
- package/src/components/stepper/QStepper.sass +24 -26
- package/src/components/table/QTable.js +27 -47
- package/src/components/table/QTable.json +104 -55
- package/src/components/table/table-pagination.js +4 -0
- package/src/components/tabs/QRouteTab.js +1 -2
- package/src/components/tabs/QRouteTab.json +0 -7
- package/src/components/tabs/QTabs.js +71 -20
- package/src/components/tabs/use-tab.js +26 -13
- package/src/components/time/QTime.json +8 -0
- package/src/components/tree/QTree.js +14 -12
- package/src/components/tree/QTree.json +26 -21
- package/src/components/tree/QTree.sass +45 -41
- package/src/components/uploader/QUploader.json +14 -2
- package/src/components/uploader/uploader-core.js +16 -9
- package/src/components/uploader/xhr-uploader-plugin.json +8 -3
- package/src/components/virtual-scroll/QVirtualScroll.json +15 -0
- package/src/components/virtual-scroll/QVirtualScroll.sass +1 -0
- package/src/components/virtual-scroll/use-virtual-scroll.js +30 -17
- package/src/components/virtual-scroll/use-virtual-scroll.json +7 -5
- package/src/composables/private/use-field.js +7 -7
- package/src/composables/private/use-file.js +20 -5
- package/src/composables/private/use-form.js +2 -3
- package/src/composables/private/use-fullscreen.js +15 -4
- package/src/composables/private/use-router-link.js +44 -23
- package/src/composables/private/use-router-link.json +26 -10
- package/src/composables/private/use-split-attrs.js +12 -9
- package/src/composables/private/use-validate.js +21 -15
- package/src/composables/private/use-validate.json +1 -0
- package/src/composables/use-dialog-plugin-component.js +1 -0
- package/src/css/core/helpers.sass +3 -0
- package/src/css/core/positioning.sass +5 -0
- package/src/directives/Mutation.json +2 -3
- package/src/directives/ScrollFire.js +1 -0
- package/src/directives/ScrollFire.json +2 -3
- package/src/icon-set.js +2 -4
- package/src/plugins/AppFullscreen.js +70 -53
- package/src/plugins/AppFullscreen.json +8 -8
- package/src/plugins/AppVisibility.js +2 -3
- package/src/plugins/BottomSheet.js +3 -5
- package/src/plugins/Cookies.json +2 -2
- package/src/plugins/Dialog.js +3 -5
- package/src/plugins/Dialog.json +6 -5
- package/src/plugins/LoadingBar.js +17 -18
- package/src/plugins/LoadingBar.json +4 -3
- package/src/plugins/Notify.js +296 -295
- package/src/plugins/Notify.json +13 -19
- package/src/plugins/Platform.js +14 -14
- package/src/utils/date.js +4 -4
- package/src/utils/dom.js +2 -2
- package/src/utils/open-url.js +2 -2
- package/src/utils/patterns.js +1 -0
- package/src/utils/private/define-reactive-plugin.js +10 -8
- package/src/utils/private/global-dialog.js +6 -8
- package/src/utils/private/global-dialog.json +6 -0
- package/src/utils/private/inject-obj-prop.js +13 -0
- package/src/utils/private/is.js +2 -2
|
@@ -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,6 +127,7 @@
|
|
|
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": {
|
|
@@ -160,6 +161,7 @@
|
|
|
160
161
|
},
|
|
161
162
|
"onCancel": {
|
|
162
163
|
"type": "Function",
|
|
164
|
+
"required": true,
|
|
163
165
|
"desc": "Receives a Function as param to tell what to do when Cancel is pressed / dialog is dismissed",
|
|
164
166
|
"params": {
|
|
165
167
|
"callbackFn": {
|
|
@@ -178,6 +180,7 @@
|
|
|
178
180
|
},
|
|
179
181
|
"onDismiss": {
|
|
180
182
|
"type": "Function",
|
|
183
|
+
"required": true,
|
|
181
184
|
"desc": "Receives a Function param to tell what to do when the dialog is closed",
|
|
182
185
|
"params": {
|
|
183
186
|
"callbackFn": {
|
|
@@ -196,6 +199,7 @@
|
|
|
196
199
|
},
|
|
197
200
|
"hide": {
|
|
198
201
|
"type": "Function",
|
|
202
|
+
"required": true,
|
|
199
203
|
"desc": "Hides the dialog when called",
|
|
200
204
|
"params": null,
|
|
201
205
|
"returns": {
|
|
@@ -206,10 +210,12 @@
|
|
|
206
210
|
},
|
|
207
211
|
"update": {
|
|
208
212
|
"type": "Function",
|
|
213
|
+
"required": true,
|
|
209
214
|
"desc": "Updates the initial properties (given as create() param) except for 'component'",
|
|
210
215
|
"params": {
|
|
211
216
|
"opts": {
|
|
212
217
|
"type": "Object",
|
|
218
|
+
"required": true,
|
|
213
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"
|
|
214
220
|
}
|
|
215
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,10 +371,11 @@
|
|
|
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
|
-
"type": "
|
|
378
|
+
"type": "Component",
|
|
371
379
|
"desc": "Use custom dialog component; use along with 'componentProps' prop where possible"
|
|
372
380
|
},
|
|
373
381
|
"componentProps": {
|
|
@@ -386,6 +394,7 @@
|
|
|
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": {
|
|
@@ -419,6 +428,7 @@
|
|
|
419
428
|
},
|
|
420
429
|
"onCancel": {
|
|
421
430
|
"type": "Function",
|
|
431
|
+
"required": true,
|
|
422
432
|
"desc": "Receives a Function as param to tell what to do when Cancel is pressed / dialog is dismissed",
|
|
423
433
|
"params": {
|
|
424
434
|
"callbackFn": {
|
|
@@ -437,6 +447,7 @@
|
|
|
437
447
|
},
|
|
438
448
|
"onDismiss": {
|
|
439
449
|
"type": "Function",
|
|
450
|
+
"required": true,
|
|
440
451
|
"desc": "Receives a Function param to tell what to do when the dialog is closed",
|
|
441
452
|
"params": {
|
|
442
453
|
"callbackFn": {
|
|
@@ -455,6 +466,7 @@
|
|
|
455
466
|
},
|
|
456
467
|
"hide": {
|
|
457
468
|
"type": "Function",
|
|
469
|
+
"required": true,
|
|
458
470
|
"desc": "Hides the dialog when called",
|
|
459
471
|
"params": null,
|
|
460
472
|
"returns": {
|
|
@@ -465,10 +477,12 @@
|
|
|
465
477
|
},
|
|
466
478
|
"update": {
|
|
467
479
|
"type": "Function",
|
|
480
|
+
"required": true,
|
|
468
481
|
"desc": "Updates the initial properties (given as create() param) except for 'component'",
|
|
469
482
|
"params": {
|
|
470
483
|
"opts": {
|
|
471
484
|
"type": "Object",
|
|
485
|
+
"required": true,
|
|
472
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"
|
|
473
487
|
}
|
|
474
488
|
},
|
package/dist/api/Loading.json
CHANGED
|
@@ -23,7 +23,6 @@
|
|
|
23
23
|
},
|
|
24
24
|
"html": {
|
|
25
25
|
"type": "Boolean",
|
|
26
|
-
"default": "false",
|
|
27
26
|
"desc": "Force render the message as HTML; This can lead to XSS attacks so make sure that you sanitize the content",
|
|
28
27
|
"category": "behavior"
|
|
29
28
|
},
|
|
@@ -116,7 +115,6 @@
|
|
|
116
115
|
},
|
|
117
116
|
"html": {
|
|
118
117
|
"type": "Boolean",
|
|
119
|
-
"default": "false",
|
|
120
118
|
"desc": "Render the message as HTML; This can lead to XSS attacks so make sure that you sanitize the message first",
|
|
121
119
|
"category": "behavior"
|
|
122
120
|
},
|
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
|
}
|
package/dist/api/QAjaxBar.json
CHANGED
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
"examples": [
|
|
18
18
|
"bottom"
|
|
19
19
|
],
|
|
20
|
-
"category": "style"
|
|
20
|
+
"category": "style",
|
|
21
|
+
"required": false
|
|
21
22
|
},
|
|
22
23
|
"size": {
|
|
23
24
|
"type": "String",
|
|
@@ -27,7 +28,8 @@
|
|
|
27
28
|
"2rem"
|
|
28
29
|
],
|
|
29
30
|
"category": "style",
|
|
30
|
-
"default": "2px"
|
|
31
|
+
"default": "2px",
|
|
32
|
+
"required": false
|
|
31
33
|
},
|
|
32
34
|
"color": {
|
|
33
35
|
"type": "String",
|
|
@@ -68,7 +70,8 @@
|
|
|
68
70
|
"examples": [
|
|
69
71
|
400,
|
|
70
72
|
0
|
|
71
|
-
]
|
|
73
|
+
],
|
|
74
|
+
"required": false
|
|
72
75
|
}
|
|
73
76
|
}
|
|
74
77
|
},
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
"|",
|
|
14
14
|
">"
|
|
15
15
|
],
|
|
16
|
-
"category": "content"
|
|
16
|
+
"category": "content",
|
|
17
|
+
"required": false
|
|
17
18
|
},
|
|
18
19
|
"active-color": {
|
|
19
20
|
"type": "String",
|
|
@@ -23,7 +24,8 @@
|
|
|
23
24
|
"teal-10"
|
|
24
25
|
],
|
|
25
26
|
"category": "style",
|
|
26
|
-
"default": "primary"
|
|
27
|
+
"default": "primary",
|
|
28
|
+
"required": false
|
|
27
29
|
},
|
|
28
30
|
"gutter": {
|
|
29
31
|
"type": "String",
|
|
@@ -41,7 +43,8 @@
|
|
|
41
43
|
"md",
|
|
42
44
|
"lg"
|
|
43
45
|
],
|
|
44
|
-
"category": "content"
|
|
46
|
+
"category": "content",
|
|
47
|
+
"required": false
|
|
45
48
|
},
|
|
46
49
|
"separator-color": {
|
|
47
50
|
"type": "String",
|
|
@@ -68,7 +71,8 @@
|
|
|
68
71
|
"left",
|
|
69
72
|
"center"
|
|
70
73
|
],
|
|
71
|
-
"category": "content"
|
|
74
|
+
"category": "content",
|
|
75
|
+
"required": false
|
|
72
76
|
}
|
|
73
77
|
},
|
|
74
78
|
"slots": {
|