quasar 2.2.2 → 2.3.1
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/BottomSheet.json +17 -2
- package/dist/api/Dialog.json +17 -2
- package/dist/api/LocalStorage.json +8 -0
- package/dist/api/QCircularProgress.json +14 -0
- package/dist/api/QDate.json +46 -0
- package/dist/api/QEditor.json +7 -2
- package/dist/api/QFooter.json +1 -1
- package/dist/api/QHeader.json +1 -1
- package/dist/api/QIntersection.json +14 -0
- package/dist/api/QLinearProgress.json +14 -0
- package/dist/api/QRouteTab.json +1 -24
- package/dist/api/QScrollArea.json +3 -0
- package/dist/api/QSelect.json +62 -0
- package/dist/api/QSkeleton.json +1 -1
- package/dist/api/QTable.json +62 -5
- package/dist/api/QTree.json +6 -0
- package/dist/api/QUploader.json +81 -1
- package/dist/api/SessionStorage.json +8 -0
- 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-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 +57 -9
- package/dist/quasar.esm.prod.js +2 -2
- package/dist/quasar.prod.css +1 -1
- package/dist/quasar.rtl.css +124 -9
- package/dist/quasar.rtl.prod.css +1 -1
- package/dist/quasar.sass +47 -7
- package/dist/quasar.umd.js +356 -267
- package/dist/quasar.umd.prod.js +2 -2
- package/dist/ssr-directives/Morph.js +1 -1
- package/dist/types/index.d.ts +374 -141
- package/dist/vetur/quasar-attributes.json +18 -2
- package/dist/vetur/quasar-tags.json +6 -2
- package/dist/web-types/web-types.json +44 -3
- package/package.json +4 -1
- package/src/api.extends.json +7 -0
- package/src/body.js +14 -4
- package/src/components/ajax-bar/QAjaxBar.js +3 -2
- package/src/components/avatar/QAvatar.js +3 -2
- package/src/components/badge/QBadge.js +3 -2
- package/src/components/banner/QBanner.js +3 -2
- package/src/components/bar/QBar.js +3 -2
- package/src/components/breadcrumbs/QBreadcrumbs.js +3 -2
- package/src/components/breadcrumbs/QBreadcrumbsEl.js +3 -2
- package/src/components/btn/QBtn.js +3 -2
- package/src/components/btn-dropdown/QBtnDropdown.js +3 -2
- package/src/components/btn-group/QBtnGroup.js +3 -2
- package/src/components/btn-toggle/QBtnToggle.js +3 -2
- package/src/components/card/QCard.js +3 -2
- package/src/components/card/QCardActions.js +3 -2
- package/src/components/card/QCardSection.js +3 -2
- package/src/components/carousel/QCarousel.js +3 -2
- package/src/components/carousel/QCarouselControl.js +3 -2
- package/src/components/carousel/QCarouselSlide.js +3 -2
- package/src/components/chat/QChatMessage.js +3 -2
- package/src/components/checkbox/QCheckbox.js +3 -2
- package/src/components/chip/QChip.js +3 -2
- package/src/components/circular-progress/QCircularProgress.js +9 -3
- package/src/components/circular-progress/QCircularProgress.json +6 -0
- package/src/components/color/QColor.js +3 -2
- package/src/components/date/QDate.js +5 -3
- package/src/components/date/QDate.json +34 -0
- package/src/components/dialog/QDialog.js +3 -2
- package/src/components/dialog-bottom-sheet/BottomSheet.js +3 -2
- package/src/components/dialog-plugin/DialogPlugin.js +3 -2
- package/src/components/drawer/QDrawer.js +3 -2
- package/src/components/editor/QEditor.js +3 -2
- package/src/components/editor/QEditor.json +6 -2
- package/src/components/expansion-item/QExpansionItem.js +3 -2
- package/src/components/fab/QFab.js +3 -2
- package/src/components/fab/QFabAction.js +3 -2
- package/src/components/field/QField.js +3 -3
- package/src/components/file/QFile.js +3 -2
- package/src/components/footer/QFooter.js +3 -2
- package/src/components/footer/QFooter.json +1 -1
- package/src/components/form/QForm.js +3 -2
- package/src/components/header/QHeader.js +3 -2
- package/src/components/header/QHeader.json +1 -1
- package/src/components/icon/QIcon.js +4 -2
- package/src/components/img/QImg.js +5 -2
- package/src/components/infinite-scroll/QInfiniteScroll.js +50 -32
- package/src/components/inner-loading/QInnerLoading.js +3 -2
- package/src/components/input/QInput.js +3 -2
- package/src/components/intersection/QIntersection.js +12 -3
- package/src/components/intersection/QIntersection.json +9 -0
- package/src/components/item/QItem.js +3 -2
- package/src/components/item/QItemLabel.js +3 -2
- package/src/components/item/QItemSection.js +3 -2
- package/src/components/item/QList.js +3 -3
- package/src/components/knob/QKnob.js +3 -2
- package/src/components/layout/QLayout.js +3 -2
- package/src/components/linear-progress/QLinearProgress.js +13 -3
- package/src/components/linear-progress/QLinearProgress.json +6 -0
- package/src/components/linear-progress/QLinearProgress.sass +2 -1
- package/src/components/markup-table/QMarkupTable.js +3 -2
- package/src/components/menu/QMenu.js +4 -3
- package/src/components/no-ssr/QNoSsr.js +3 -2
- package/src/components/option-group/QOptionGroup.js +4 -2
- package/src/components/page/QPage.js +3 -2
- package/src/components/page/QPageContainer.js +3 -2
- package/src/components/page-scroller/QPageScroller.js +4 -2
- package/src/components/page-sticky/QPageSticky.js +2 -3
- package/src/components/pagination/QPagination.js +3 -2
- package/src/components/parallax/QParallax.js +3 -2
- package/src/components/popup-edit/QPopupEdit.js +3 -2
- package/src/components/popup-proxy/QPopupProxy.js +10 -17
- package/src/components/pull-to-refresh/QPullToRefresh.js +3 -2
- package/src/components/radio/QRadio.js +3 -2
- package/src/components/range/QRange.js +3 -2
- package/src/components/rating/QRating.js +6 -5
- package/src/components/resize-observer/QResizeObserver.js +3 -2
- package/src/components/responsive/QResponsive.js +3 -2
- package/src/components/scroll-area/QScrollArea.js +3 -2
- package/src/components/scroll-area/QScrollArea.json +4 -1
- package/src/components/scroll-observer/QScrollObserver.js +3 -2
- package/src/components/select/QSelect.js +17 -22
- package/src/components/select/QSelect.json +47 -0
- package/src/components/separator/QSeparator.js +4 -2
- package/src/components/skeleton/QSkeleton.js +3 -2
- package/src/components/skeleton/QSkeleton.json +1 -4
- package/src/components/slide-item/QSlideItem.js +3 -2
- package/src/components/slide-transition/QSlideTransition.js +4 -2
- package/src/components/slider/QSlider.js +3 -2
- package/src/components/slider/use-slider.js +3 -3
- package/src/components/space/QSpace.js +4 -2
- package/src/components/spinner/QSpinner.js +4 -2
- package/src/components/spinner/QSpinnerAudio.js +4 -2
- package/src/components/spinner/QSpinnerBall.js +4 -2
- package/src/components/spinner/QSpinnerBars.js +4 -2
- package/src/components/spinner/QSpinnerBox.js +4 -2
- package/src/components/spinner/QSpinnerClock.js +4 -2
- package/src/components/spinner/QSpinnerComment.js +4 -2
- package/src/components/spinner/QSpinnerCube.js +4 -2
- package/src/components/spinner/QSpinnerDots.js +4 -2
- package/src/components/spinner/QSpinnerFacebook.js +4 -2
- package/src/components/spinner/QSpinnerGears.js +4 -2
- package/src/components/spinner/QSpinnerGrid.js +4 -2
- package/src/components/spinner/QSpinnerHearts.js +4 -2
- package/src/components/spinner/QSpinnerHourglass.js +4 -2
- package/src/components/spinner/QSpinnerInfinity.js +4 -2
- package/src/components/spinner/QSpinnerIos.js +4 -2
- package/src/components/spinner/QSpinnerOrbit.js +4 -2
- package/src/components/spinner/QSpinnerOval.js +4 -2
- package/src/components/spinner/QSpinnerPie.js +4 -2
- package/src/components/spinner/QSpinnerPuff.js +4 -2
- package/src/components/spinner/QSpinnerRadio.js +4 -2
- package/src/components/spinner/QSpinnerRings.js +4 -2
- package/src/components/spinner/QSpinnerTail.js +4 -2
- package/src/components/splitter/QSplitter.js +3 -2
- package/src/components/stepper/QStep.js +3 -2
- package/src/components/stepper/QStepper.js +3 -2
- package/src/components/stepper/QStepperNavigation.js +3 -2
- package/src/components/stepper/StepHeader.js +4 -2
- package/src/components/tab-panels/QTabPanel.js +4 -2
- package/src/components/tab-panels/QTabPanels.js +3 -2
- package/src/components/table/QTable.js +4 -2
- package/src/components/table/QTable.json +51 -5
- package/src/components/table/QTd.js +3 -2
- package/src/components/table/QTh.js +3 -2
- package/src/components/table/QTr.js +3 -2
- package/src/components/table/table-pagination.js +2 -2
- package/src/components/tabs/QRouteTab.js +4 -2
- package/src/components/tabs/QRouteTab.json +1 -23
- package/src/components/tabs/QTab.js +3 -3
- package/src/components/tabs/QTabs.js +4 -3
- package/src/components/time/QTime.js +9 -7
- package/src/components/timeline/QTimeline.js +3 -2
- package/src/components/timeline/QTimelineEntry.js +3 -2
- package/src/components/toggle/QToggle.js +5 -2
- package/src/components/toolbar/QToolbar.js +3 -2
- package/src/components/toolbar/QToolbarTitle.js +3 -2
- package/src/components/tooltip/QTooltip.js +3 -2
- package/src/components/tree/QTree.js +12 -7
- package/src/components/tree/QTree.json +5 -0
- package/src/components/tree/QTree.sass +52 -4
- package/src/components/uploader/QUploaderAddTrigger.js +3 -2
- package/src/components/uploader/uploader-core.js +2 -7
- package/src/components/uploader/xhr-uploader-plugin.json +97 -1
- package/src/components/video/QVideo.js +4 -2
- package/src/components/virtual-scroll/QVirtualScroll.js +3 -2
- package/src/components/virtual-scroll/use-virtual-scroll.js +17 -1
- package/src/composables/private/use-field.js +2 -2
- package/src/composables/private/use-file.js +8 -0
- package/src/composables/private/use-model-toggle.js +1 -1
- package/src/composables/private/use-refocus-target.js +12 -3
- package/src/composables/use-dialog-plugin-component.js +6 -1
- package/src/css/core/transitions.sass +3 -1
- package/src/css/normalize.sass +0 -7
- package/src/directives/ClosePopup.js +3 -1
- package/src/directives/Intersection.js +3 -1
- package/src/directives/Morph.js +4 -1
- package/src/directives/Mutation.js +3 -1
- package/src/directives/Ripple.js +3 -1
- package/src/directives/Scroll.js +3 -1
- package/src/directives/ScrollFire.js +3 -1
- package/src/directives/TouchHold.js +4 -1
- package/src/directives/TouchPan.js +4 -1
- package/src/directives/TouchRepeat.js +4 -1
- package/src/directives/TouchSwipe.js +4 -1
- package/src/install-quasar.js +1 -0
- package/src/plugins/Notify.js +4 -3
- package/src/utils/create-uploader-component.js +9 -7
- package/src/utils/date.js +1 -1
- package/src/utils/private/create.js +4 -0
- package/src/utils/private/get-emits-object.js +11 -0
- package/src/utils/private/global-dialog.json +10 -2
- package/src/utils/private/vm.js +3 -3
- package/src/utils/private/web-storage.json +10 -0
- package/wrappers/index.js +4 -0
|
@@ -133,8 +133,23 @@
|
|
|
133
133
|
"type": "Function",
|
|
134
134
|
"desc": "Tell what to do",
|
|
135
135
|
"required": true,
|
|
136
|
-
"params":
|
|
137
|
-
|
|
136
|
+
"params": {
|
|
137
|
+
"payload": {
|
|
138
|
+
"type": "Any",
|
|
139
|
+
"desc": "The payload if called onDialogOK with the parameter or emitted one with the 'ok' event",
|
|
140
|
+
"required": false,
|
|
141
|
+
"examples": [
|
|
142
|
+
"'Quasar Framework'",
|
|
143
|
+
"[ 1, 2, 6, 3 ]",
|
|
144
|
+
"{ book: { id: 1, name: 'Lorem Ipsum' }, user: { name: 'Lorem J. Ipsum', role: 'admin' } }"
|
|
145
|
+
]
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"returns": null,
|
|
149
|
+
"examples": [
|
|
150
|
+
"() => console.log('OK!')",
|
|
151
|
+
"(payload) => Notify.create({ type: 'positive', message: `Successfully saved '${payload.book.name}' book!` })"
|
|
152
|
+
]
|
|
138
153
|
}
|
|
139
154
|
},
|
|
140
155
|
"returns": {
|
package/dist/api/Dialog.json
CHANGED
|
@@ -392,8 +392,23 @@
|
|
|
392
392
|
"type": "Function",
|
|
393
393
|
"desc": "Tell what to do",
|
|
394
394
|
"required": true,
|
|
395
|
-
"params":
|
|
396
|
-
|
|
395
|
+
"params": {
|
|
396
|
+
"payload": {
|
|
397
|
+
"type": "Any",
|
|
398
|
+
"desc": "The payload if called onDialogOK with the parameter or emitted one with the 'ok' event",
|
|
399
|
+
"required": false,
|
|
400
|
+
"examples": [
|
|
401
|
+
"'Quasar Framework'",
|
|
402
|
+
"[ 1, 2, 6, 3 ]",
|
|
403
|
+
"{ book: { id: 1, name: 'Lorem Ipsum' }, user: { name: 'Lorem J. Ipsum', role: 'admin' } }"
|
|
404
|
+
]
|
|
405
|
+
}
|
|
406
|
+
},
|
|
407
|
+
"returns": null,
|
|
408
|
+
"examples": [
|
|
409
|
+
"() => console.log('OK!')",
|
|
410
|
+
"(payload) => Notify.create({ type: 'positive', message: `Successfully saved '${payload.book.name}' book!` })"
|
|
411
|
+
]
|
|
397
412
|
}
|
|
398
413
|
},
|
|
399
414
|
"returns": {
|
|
@@ -125,6 +125,20 @@
|
|
|
125
125
|
"type": "Boolean",
|
|
126
126
|
"desc": "No animation when model changes",
|
|
127
127
|
"category": "behavior"
|
|
128
|
+
},
|
|
129
|
+
"animation-speed": {
|
|
130
|
+
"type": [
|
|
131
|
+
"String",
|
|
132
|
+
"Number"
|
|
133
|
+
],
|
|
134
|
+
"desc": "Animation speed (in milliseconds, without unit)",
|
|
135
|
+
"examples": [
|
|
136
|
+
500,
|
|
137
|
+
"1200"
|
|
138
|
+
],
|
|
139
|
+
"category": "style",
|
|
140
|
+
"default": 600,
|
|
141
|
+
"addedIn": "v2.3"
|
|
128
142
|
}
|
|
129
143
|
},
|
|
130
144
|
"slots": {
|
package/dist/api/QDate.json
CHANGED
|
@@ -188,6 +188,20 @@
|
|
|
188
188
|
"Function"
|
|
189
189
|
],
|
|
190
190
|
"desc": "A list of events to highlight on the calendar; If using a function, it receives the date as a String and must return a Boolean (matches or not); If using a function then for best performance, reference it from your scope and do not define it inline",
|
|
191
|
+
"params": {
|
|
192
|
+
"date": {
|
|
193
|
+
"type": "String",
|
|
194
|
+
"desc": "The current date being processed.",
|
|
195
|
+
"examples": [
|
|
196
|
+
"2018/11/05",
|
|
197
|
+
"2021/10/25"
|
|
198
|
+
]
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
"returns": {
|
|
202
|
+
"type": "Boolean",
|
|
203
|
+
"desc": "If true, the current date will be highlighted"
|
|
204
|
+
},
|
|
191
205
|
"examples": [
|
|
192
206
|
":events=\"['2018/11/05', '2018/11/06', '2018/11/09', '2018/11/23']\"",
|
|
193
207
|
":events=\"date => date[9] % 3 === 0\""
|
|
@@ -200,6 +214,24 @@
|
|
|
200
214
|
"Function"
|
|
201
215
|
],
|
|
202
216
|
"desc": "Color name (from the Quasar Color Palette); If using a function, it receives the date as a String and must return a String (color for the received date); If using a function then for best performance, reference it from your scope and do not define it inline",
|
|
217
|
+
"params": {
|
|
218
|
+
"date": {
|
|
219
|
+
"type": "String",
|
|
220
|
+
"desc": "The current date being processed.",
|
|
221
|
+
"examples": [
|
|
222
|
+
"2018/11/05",
|
|
223
|
+
"2021/10/25"
|
|
224
|
+
]
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
"returns": {
|
|
228
|
+
"type": "String",
|
|
229
|
+
"desc": "Color for the current date.",
|
|
230
|
+
"examples": [
|
|
231
|
+
"teal",
|
|
232
|
+
"orange"
|
|
233
|
+
]
|
|
234
|
+
},
|
|
203
235
|
"examples": [
|
|
204
236
|
"teal-10",
|
|
205
237
|
":event-color=\"(date) => date[9] % 2 === 0 ? 'teal' : 'orange'\""
|
|
@@ -212,6 +244,20 @@
|
|
|
212
244
|
"Function"
|
|
213
245
|
],
|
|
214
246
|
"desc": "Optionally configure the days that are selectable; If using a function, it receives the date as a String and must return a Boolean (is date acceptable or not); If using a function then for best performance, reference it from your scope and do not define it inline; Incompatible with 'range' prop",
|
|
247
|
+
"params": {
|
|
248
|
+
"date": {
|
|
249
|
+
"type": "String",
|
|
250
|
+
"desc": "The current date being processed.",
|
|
251
|
+
"examples": [
|
|
252
|
+
"2018/11/05",
|
|
253
|
+
"2021/10/25"
|
|
254
|
+
]
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
"returns": {
|
|
258
|
+
"type": "Boolean",
|
|
259
|
+
"desc": "If true, the current date will be made available for selection"
|
|
260
|
+
},
|
|
215
261
|
"examples": [
|
|
216
262
|
":options=\"['2018/11/05', '2018/11/12', '2018/11/19', '2018/11/26' ]\"",
|
|
217
263
|
":options=\"date => date[9] % 3 === 0\"",
|
package/dist/api/QEditor.json
CHANGED
|
@@ -157,9 +157,14 @@
|
|
|
157
157
|
"Boolean",
|
|
158
158
|
"Function"
|
|
159
159
|
],
|
|
160
|
-
"desc": "Is button disabled?
|
|
160
|
+
"desc": "Is button disabled?",
|
|
161
|
+
"returns": {
|
|
162
|
+
"type": "Boolean",
|
|
163
|
+
"desc": "If true, the button will be disabled"
|
|
164
|
+
},
|
|
161
165
|
"examples": [
|
|
162
|
-
"
|
|
166
|
+
"!user.active",
|
|
167
|
+
"() => !checkIfUserIsActive()"
|
|
163
168
|
]
|
|
164
169
|
},
|
|
165
170
|
"type": {
|
package/dist/api/QFooter.json
CHANGED
package/dist/api/QHeader.json
CHANGED
|
@@ -66,6 +66,20 @@
|
|
|
66
66
|
],
|
|
67
67
|
"category": "behavior"
|
|
68
68
|
},
|
|
69
|
+
"transition-duration": {
|
|
70
|
+
"type": [
|
|
71
|
+
"String",
|
|
72
|
+
"Number"
|
|
73
|
+
],
|
|
74
|
+
"desc": "Transition duration (in milliseconds, without unit)",
|
|
75
|
+
"default": 300,
|
|
76
|
+
"examples": [
|
|
77
|
+
500,
|
|
78
|
+
"1200"
|
|
79
|
+
],
|
|
80
|
+
"category": "behavior",
|
|
81
|
+
"addedIn": "v2.3.1"
|
|
82
|
+
},
|
|
69
83
|
"disable": {
|
|
70
84
|
"type": "Boolean",
|
|
71
85
|
"desc": "Disable visibility observable (content will remain as it was, visible or hidden)",
|
|
@@ -84,6 +84,20 @@
|
|
|
84
84
|
"type": "Boolean",
|
|
85
85
|
"desc": "No transition when model changes",
|
|
86
86
|
"category": "behavior"
|
|
87
|
+
},
|
|
88
|
+
"animation-speed": {
|
|
89
|
+
"type": [
|
|
90
|
+
"String",
|
|
91
|
+
"Number"
|
|
92
|
+
],
|
|
93
|
+
"desc": "Animation speed (in milliseconds, without unit)",
|
|
94
|
+
"examples": [
|
|
95
|
+
500,
|
|
96
|
+
"1200"
|
|
97
|
+
],
|
|
98
|
+
"category": "style",
|
|
99
|
+
"default": 300,
|
|
100
|
+
"addedIn": "v2.3"
|
|
87
101
|
}
|
|
88
102
|
},
|
|
89
103
|
"slots": {
|
package/dist/api/QRouteTab.json
CHANGED
|
@@ -158,30 +158,7 @@
|
|
|
158
158
|
"navigateFn": {
|
|
159
159
|
"type": "Function",
|
|
160
160
|
"desc": "When you need to control the time at which the tab should trigger the route navigation then set 'evt.navigate' to false and call this function; Useful if you have async work to be done before the actual route navigation",
|
|
161
|
-
"params":
|
|
162
|
-
"to": {
|
|
163
|
-
"type": [
|
|
164
|
-
"String",
|
|
165
|
-
"Object"
|
|
166
|
-
],
|
|
167
|
-
"desc": "Equivalent to Vue Router <router-link> 'to' property",
|
|
168
|
-
"examples": [
|
|
169
|
-
"/home/dashboard",
|
|
170
|
-
"{ name: 'my-route-name' }"
|
|
171
|
-
],
|
|
172
|
-
"default": "Tab's 'to' property"
|
|
173
|
-
},
|
|
174
|
-
"append": {
|
|
175
|
-
"type": "Boolean",
|
|
176
|
-
"desc": "Equivalent to Vue Router <router-link> 'append' property",
|
|
177
|
-
"default": "Tab's 'append' property"
|
|
178
|
-
},
|
|
179
|
-
"replace": {
|
|
180
|
-
"type": "Boolean",
|
|
181
|
-
"desc": "Equivalent to Vue Router <router-link> 'replace' property",
|
|
182
|
-
"default": "Tab's 'replace' property"
|
|
183
|
-
}
|
|
184
|
-
},
|
|
161
|
+
"params": null,
|
|
185
162
|
"returns": null
|
|
186
163
|
}
|
|
187
164
|
}
|
|
@@ -135,6 +135,7 @@
|
|
|
135
135
|
"params": {
|
|
136
136
|
"info": {
|
|
137
137
|
"type": "Object",
|
|
138
|
+
"desc": "An object containing scroll information",
|
|
138
139
|
"definition": {
|
|
139
140
|
"ref": {
|
|
140
141
|
"type": "Object",
|
|
@@ -230,6 +231,7 @@
|
|
|
230
231
|
"desc": "Get current scroll position",
|
|
231
232
|
"returns": {
|
|
232
233
|
"type": "Object",
|
|
234
|
+
"desc": "An object containing scroll position information",
|
|
233
235
|
"definition": {
|
|
234
236
|
"top": {
|
|
235
237
|
"type": "Number",
|
|
@@ -255,6 +257,7 @@
|
|
|
255
257
|
"desc": "Get current scroll position in percentage (0.0 <= x <= 1.0)",
|
|
256
258
|
"returns": {
|
|
257
259
|
"type": "Object",
|
|
260
|
+
"desc": "An object containing scroll position information in percentage",
|
|
258
261
|
"definition": {
|
|
259
262
|
"top": {
|
|
260
263
|
"type": "Number",
|
package/dist/api/QSelect.json
CHANGED
|
@@ -382,6 +382,28 @@
|
|
|
382
382
|
],
|
|
383
383
|
"desc": "Property of option which holds the 'value'; If using a function then for best performance, reference it from your scope and do not define it inline",
|
|
384
384
|
"default": "value",
|
|
385
|
+
"params": {
|
|
386
|
+
"option": {
|
|
387
|
+
"type": [
|
|
388
|
+
"String",
|
|
389
|
+
"Object"
|
|
390
|
+
],
|
|
391
|
+
"desc": "The current option being processed",
|
|
392
|
+
"examples": [
|
|
393
|
+
"'BMW'",
|
|
394
|
+
"'Samsung Phone'",
|
|
395
|
+
"{ label: 'BMW', value: 'car', cannotSelect: true }"
|
|
396
|
+
]
|
|
397
|
+
}
|
|
398
|
+
},
|
|
399
|
+
"returns": {
|
|
400
|
+
"type": "Any",
|
|
401
|
+
"desc": "Value of the current option",
|
|
402
|
+
"examples": [
|
|
403
|
+
"'car'",
|
|
404
|
+
"34"
|
|
405
|
+
]
|
|
406
|
+
},
|
|
385
407
|
"examples": [
|
|
386
408
|
"option-value=\"modelNumber\"",
|
|
387
409
|
":option-value=\"(item) => item === null ? null : item.modelNumber\""
|
|
@@ -395,6 +417,28 @@
|
|
|
395
417
|
],
|
|
396
418
|
"desc": "Property of option which holds the 'label'; If using a function then for best performance, reference it from your scope and do not define it inline",
|
|
397
419
|
"default": "label",
|
|
420
|
+
"params": {
|
|
421
|
+
"option": {
|
|
422
|
+
"type": [
|
|
423
|
+
"String",
|
|
424
|
+
"Object"
|
|
425
|
+
],
|
|
426
|
+
"desc": "The current option being processed",
|
|
427
|
+
"examples": [
|
|
428
|
+
"'BMW'",
|
|
429
|
+
"'Samsung Phone'",
|
|
430
|
+
"{ label: 'BMW', value: 'car', cannotSelect: true }"
|
|
431
|
+
]
|
|
432
|
+
}
|
|
433
|
+
},
|
|
434
|
+
"returns": {
|
|
435
|
+
"type": "String",
|
|
436
|
+
"desc": "Label of the current option",
|
|
437
|
+
"examples": [
|
|
438
|
+
"'BMW'",
|
|
439
|
+
"'Samsung Phone'"
|
|
440
|
+
]
|
|
441
|
+
},
|
|
398
442
|
"examples": [
|
|
399
443
|
"option-label=\"itemName\"",
|
|
400
444
|
":option-label=\"(item) => item === null ? 'Null value' : item.itemName\""
|
|
@@ -408,6 +452,24 @@
|
|
|
408
452
|
],
|
|
409
453
|
"desc": "Property of option which tells it's disabled; The value of the property must be a Boolean; If using a function then for best performance, reference it from your scope and do not define it inline",
|
|
410
454
|
"default": "disable",
|
|
455
|
+
"params": {
|
|
456
|
+
"option": {
|
|
457
|
+
"type": [
|
|
458
|
+
"String",
|
|
459
|
+
"Object"
|
|
460
|
+
],
|
|
461
|
+
"desc": "The current option being processed",
|
|
462
|
+
"examples": [
|
|
463
|
+
"'BMW'",
|
|
464
|
+
"'Samsung Phone'",
|
|
465
|
+
"{ label: 'BMW', value: 'car', cannotSelect: true }"
|
|
466
|
+
]
|
|
467
|
+
}
|
|
468
|
+
},
|
|
469
|
+
"returns": {
|
|
470
|
+
"type": "Boolean",
|
|
471
|
+
"desc": "If true, the current option will be disabled"
|
|
472
|
+
},
|
|
411
473
|
"examples": [
|
|
412
474
|
"option-disable=\"cannotSelect\"",
|
|
413
475
|
":option-disable=\"(item) => item === null ? true : item.cannotSelect\""
|
package/dist/api/QSkeleton.json
CHANGED
package/dist/api/QTable.json
CHANGED
|
@@ -33,6 +33,23 @@
|
|
|
33
33
|
],
|
|
34
34
|
"desc": "Property of each row that defines the unique key of each row (the result must be a primitive, not Object, Array, etc); The value of property must be string or a function taking a row and returning the desired (nested) key in the row; If supplying a function then for best performance, reference it from your scope and do not define it inline",
|
|
35
35
|
"default": "id",
|
|
36
|
+
"params": {
|
|
37
|
+
"row": {
|
|
38
|
+
"type": "Object",
|
|
39
|
+
"desc": "The current row being processed",
|
|
40
|
+
"examples": [
|
|
41
|
+
"{ name: 'Lorem Ipsum', price: 19 }"
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"returns": {
|
|
46
|
+
"type": "Any",
|
|
47
|
+
"desc": "Current row's key",
|
|
48
|
+
"examples": [
|
|
49
|
+
"'34f39dda-6206-4071-a9df-4393aabe49ac'",
|
|
50
|
+
"34"
|
|
51
|
+
]
|
|
52
|
+
},
|
|
36
53
|
"examples": [
|
|
37
54
|
"row-key=\"name\"",
|
|
38
55
|
":row-key=\"row => row.name\""
|
|
@@ -227,9 +244,25 @@
|
|
|
227
244
|
],
|
|
228
245
|
"desc": "Row Object property to determine value for this column or function which maps to the required property",
|
|
229
246
|
"required": true,
|
|
247
|
+
"params": {
|
|
248
|
+
"row": {
|
|
249
|
+
"type": "Object",
|
|
250
|
+
"desc": "The current row being processed",
|
|
251
|
+
"examples": [
|
|
252
|
+
"{ name: 'Lorem Ipsum', prices: { active: 19, old: 25, list: 29 } }"
|
|
253
|
+
]
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
"returns": {
|
|
257
|
+
"type": "Any",
|
|
258
|
+
"desc": "Value for this column",
|
|
259
|
+
"examples": [
|
|
260
|
+
"19"
|
|
261
|
+
]
|
|
262
|
+
},
|
|
230
263
|
"examples": [
|
|
231
264
|
"name",
|
|
232
|
-
"row => row.
|
|
265
|
+
"row => row.prices.active"
|
|
233
266
|
]
|
|
234
267
|
},
|
|
235
268
|
"required": {
|
|
@@ -352,9 +385,21 @@
|
|
|
352
385
|
"Function"
|
|
353
386
|
],
|
|
354
387
|
"desc": "Style to apply on normal cells of the column",
|
|
388
|
+
"params": {
|
|
389
|
+
"row": {
|
|
390
|
+
"type": "Object",
|
|
391
|
+
"desc": "The current row being processed",
|
|
392
|
+
"examples": [
|
|
393
|
+
"{ name: 'Frozen Yogurt', calories: 159 }"
|
|
394
|
+
]
|
|
395
|
+
}
|
|
396
|
+
},
|
|
397
|
+
"returns": {
|
|
398
|
+
"type": "String"
|
|
399
|
+
},
|
|
355
400
|
"examples": [
|
|
356
|
-
"width: 500px",
|
|
357
|
-
"row => (row.calories % 2 === 0 ? 'width:10px' : 'font-size:2em')"
|
|
401
|
+
"'width: 500px'",
|
|
402
|
+
"row => (row.calories % 2 === 0 ? 'width: 10px' : 'font-size: 2em; font-weight: bold')"
|
|
358
403
|
]
|
|
359
404
|
},
|
|
360
405
|
"classes": {
|
|
@@ -363,9 +408,21 @@
|
|
|
363
408
|
"Function"
|
|
364
409
|
],
|
|
365
410
|
"desc": "Classes to add on normal cells of the column",
|
|
411
|
+
"params": {
|
|
412
|
+
"row": {
|
|
413
|
+
"type": "Object",
|
|
414
|
+
"desc": "The current row being processed",
|
|
415
|
+
"examples": [
|
|
416
|
+
"{ name: 'Frozen Yogurt', calories: 159 }"
|
|
417
|
+
]
|
|
418
|
+
}
|
|
419
|
+
},
|
|
420
|
+
"returns": {
|
|
421
|
+
"type": "String"
|
|
422
|
+
},
|
|
366
423
|
"examples": [
|
|
367
|
-
"my-special-class",
|
|
368
|
-
"row => (row.calories % 2 === 0 ? 'bg-green' : 'bg-yellow')"
|
|
424
|
+
"'my-special-class bg-primary'",
|
|
425
|
+
"row => (row.calories % 2 === 0 ? 'bg-green text-white' : 'bg-yellow')"
|
|
369
426
|
]
|
|
370
427
|
},
|
|
371
428
|
"headerStyle": {
|
package/dist/api/QTree.json
CHANGED
|
@@ -84,6 +84,12 @@
|
|
|
84
84
|
],
|
|
85
85
|
"category": "style"
|
|
86
86
|
},
|
|
87
|
+
"dense": {
|
|
88
|
+
"type": "Boolean",
|
|
89
|
+
"desc": "Dense mode; occupies less space",
|
|
90
|
+
"category": "style",
|
|
91
|
+
"addedIn": "v2.2.4"
|
|
92
|
+
},
|
|
87
93
|
"dark": {
|
|
88
94
|
"type": "Boolean",
|
|
89
95
|
"desc": "Notify the component that the background is a dark color",
|
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,6 +59,16 @@
|
|
|
49
59
|
"POST",
|
|
50
60
|
":method=\"files => files.length > 10 ? 'POST' : 'PUT'\""
|
|
51
61
|
],
|
|
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
|
+
},
|
|
52
72
|
"category": "upload"
|
|
53
73
|
},
|
|
54
74
|
"field-name": {
|
|
@@ -62,6 +82,16 @@
|
|
|
62
82
|
"backgroundFile",
|
|
63
83
|
":field-name=\"(file) => 'background' + file.name\""
|
|
64
84
|
],
|
|
85
|
+
"params": {
|
|
86
|
+
"files": {
|
|
87
|
+
"type": "File",
|
|
88
|
+
"desc": "The current file being processed"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"returns": {
|
|
92
|
+
"type": "String",
|
|
93
|
+
"desc": "Field name for the current file upload"
|
|
94
|
+
},
|
|
65
95
|
"category": "upload"
|
|
66
96
|
},
|
|
67
97
|
"headers": {
|
|
@@ -96,6 +126,16 @@
|
|
|
96
126
|
"() => [{name: 'X-Custom-Timestamp', value: Date.now()}]",
|
|
97
127
|
"files => [{name: 'X-Custom-Count', value: files.length}]"
|
|
98
128
|
],
|
|
129
|
+
"params": {
|
|
130
|
+
"files": {
|
|
131
|
+
"type": "Array",
|
|
132
|
+
"desc": "Uploaded files"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"returns": {
|
|
136
|
+
"type": "String",
|
|
137
|
+
"desc": "An array consists of objects with header definitions"
|
|
138
|
+
},
|
|
99
139
|
"category": "upload"
|
|
100
140
|
},
|
|
101
141
|
"form-fields": {
|
|
@@ -127,6 +167,16 @@
|
|
|
127
167
|
"() => [{name: 'my-field', value: 'my-value'}]",
|
|
128
168
|
"files => [{name: 'my-field', value: 'my-value' + files.length}]"
|
|
129
169
|
],
|
|
170
|
+
"params": {
|
|
171
|
+
"files": {
|
|
172
|
+
"type": "Array",
|
|
173
|
+
"desc": "Uploaded files"
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
"returns": {
|
|
177
|
+
"type": "String",
|
|
178
|
+
"desc": "An array consists of objects with additional fields definitions (used by Form to be uploaded)"
|
|
179
|
+
},
|
|
130
180
|
"category": "upload"
|
|
131
181
|
},
|
|
132
182
|
"with-credentials": {
|
|
@@ -139,6 +189,16 @@
|
|
|
139
189
|
"with-credentials",
|
|
140
190
|
":with-credentials=\"files => ...\""
|
|
141
191
|
],
|
|
192
|
+
"params": {
|
|
193
|
+
"files": {
|
|
194
|
+
"type": "Array",
|
|
195
|
+
"desc": "Uploaded files"
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
"returns": {
|
|
199
|
+
"type": "Boolean",
|
|
200
|
+
"desc": "If true, withCredentials will be set to true on the XHR that manages the upload"
|
|
201
|
+
},
|
|
142
202
|
"category": "upload"
|
|
143
203
|
},
|
|
144
204
|
"send-raw": {
|
|
@@ -151,6 +211,16 @@
|
|
|
151
211
|
"send-raw",
|
|
152
212
|
":send-raw=\"files => ...\""
|
|
153
213
|
],
|
|
214
|
+
"params": {
|
|
215
|
+
"files": {
|
|
216
|
+
"type": "Array",
|
|
217
|
+
"desc": "Uploaded files"
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
"returns": {
|
|
221
|
+
"type": "Boolean",
|
|
222
|
+
"desc": "If true, raw files will get sent without wrapping into a Form()"
|
|
223
|
+
},
|
|
154
224
|
"category": "upload"
|
|
155
225
|
},
|
|
156
226
|
"batch": {
|
|
@@ -162,6 +232,16 @@
|
|
|
162
232
|
"examples": [
|
|
163
233
|
"files => files.length > 10"
|
|
164
234
|
],
|
|
235
|
+
"params": {
|
|
236
|
+
"files": {
|
|
237
|
+
"type": "Array",
|
|
238
|
+
"desc": "Uploaded files"
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
"returns": {
|
|
242
|
+
"type": "Boolean",
|
|
243
|
+
"desc": "If true, files will be uploaded in a batch (in one XHR request)"
|
|
244
|
+
},
|
|
165
245
|
"category": "upload"
|
|
166
246
|
},
|
|
167
247
|
"multiple": {
|