quasar 2.14.5 → 2.14.7
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/AddressbarColor.json +1 -22
- package/dist/api/AppFullscreen.json +1 -78
- package/dist/api/AppVisibility.json +1 -15
- package/dist/api/BottomSheet.json +1 -264
- package/dist/api/Brand.json +1 -49
- package/dist/api/ClosePopup.json +1 -21
- package/dist/api/Cookies.json +1 -190
- package/dist/api/Dark.json +1 -63
- package/dist/api/Dialog.json +1 -479
- package/dist/api/Intersection.json +1 -204
- package/dist/api/Lang.json +1 -18
- package/dist/api/Loading.json +1 -317
- package/dist/api/LoadingBar.json +1 -62
- package/dist/api/LocalStorage.json +1 -187
- package/dist/api/Meta.json +1 -6
- package/dist/api/Morph.json +1 -188
- package/dist/api/Mutation.json +1 -122
- package/dist/api/Notify.json +1 -697
- package/dist/api/Platform.json +1 -238
- package/dist/api/QAjaxBar.json +1 -117
- package/dist/api/QAvatar.json +1 -76
- package/dist/api/QBadge.json +1 -82
- package/dist/api/QBanner.json +1 -44
- package/dist/api/QBar.json +1 -28
- package/dist/api/QBreadcrumbs.json +1 -82
- package/dist/api/QBreadcrumbsEl.json +1 -162
- package/dist/api/QBtn.json +1 -354
- package/dist/api/QBtnDropdown.json +1 -560
- package/dist/api/QBtnGroup.json +1 -59
- package/dist/api/QBtnToggle.json +1 -263
- package/dist/api/QCard.json +1 -51
- package/dist/api/QCardActions.json +1 -34
- package/dist/api/QCardSection.json +1 -31
- package/dist/api/QCarousel.json +1 -421
- package/dist/api/QCarouselControl.json +1 -41
- package/dist/api/QCarouselSlide.json +1 -44
- package/dist/api/QChatMessage.json +1 -128
- package/dist/api/QCheckbox.json +1 -211
- package/dist/api/QChip.json +1 -232
- package/dist/api/QCircularProgress.json +1 -145
- package/dist/api/QColor.json +1 -150
- package/dist/api/QDate.json +1 -637
- package/dist/api/QDialog.json +1 -259
- package/dist/api/QDrawer.json +1 -272
- package/dist/api/QEditor.json +1 -485
- package/dist/api/QExpansionItem.json +1 -434
- package/dist/api/QFab.json +1 -352
- package/dist/api/QFabAction.json +1 -241
- package/dist/api/QField.json +1 -448
- package/dist/api/QFile.json +1 -643
- package/dist/api/QFooter.json +1 -60
- package/dist/api/QForm.json +1 -112
- package/dist/api/QFormChildMixin.json +1 -24
- package/dist/api/QHeader.json +1 -67
- package/dist/api/QIcon.json +1 -69
- package/dist/api/QImg.json +1 -279
- package/dist/api/QInfiniteScroll.json +1 -116
- package/dist/api/QInnerLoading.json +1 -117
- package/dist/api/QInput.json +1 -521
- package/dist/api/QIntersection.json +1 -112
- package/dist/api/QItem.json +1 -203
- package/dist/api/QItemLabel.json +1 -36
- package/dist/api/QItemSection.json +1 -38
- package/dist/api/QKnob.json +1 -197
- package/dist/api/QLayout.json +1 -100
- package/dist/api/QLinearProgress.json +1 -113
- package/dist/api/QList.json +1 -58
- package/dist/api/QMarkupTable.json +1 -64
- package/dist/api/QMenu.json +1 -337
- package/dist/api/QNoSsr.json +1 -38
- package/dist/api/QOptionGroup.json +1 -242
- package/dist/api/QPage.json +1 -42
- package/dist/api/QPageContainer.json +1 -11
- package/dist/api/QPageScroller.json +1 -68
- package/dist/api/QPageSticky.json +1 -44
- package/dist/api/QPagination.json +1 -376
- package/dist/api/QParallax.json +1 -74
- package/dist/api/QPopupEdit.json +1 -335
- package/dist/api/QPopupProxy.json +1 -168
- package/dist/api/QPullToRefresh.json +1 -91
- package/dist/api/QRadio.json +1 -163
- package/dist/api/QRange.json +1 -789
- package/dist/api/QRating.json +1 -186
- package/dist/api/QResizeObserver.json +1 -56
- package/dist/api/QResponsive.json +1 -26
- package/dist/api/QRouteTab.json +1 -225
- package/dist/api/QScrollArea.json +1 -354
- package/dist/api/QScrollObserver.json +1 -140
- package/dist/api/QSelect.json +1 -1387
- package/dist/api/QSeparator.json +1 -72
- package/dist/api/QSkeleton.json +1 -127
- package/dist/api/QSlideItem.json +1 -219
- package/dist/api/QSlideTransition.json +1 -33
- package/dist/api/QSlider.json +1 -687
- package/dist/api/QSpace.json +1 -6
- package/dist/api/QSpinner.json +1 -37
- package/dist/api/QSpinnerAudio.json +1 -30
- package/dist/api/QSpinnerBall.json +1 -30
- package/dist/api/QSpinnerBars.json +1 -30
- package/dist/api/QSpinnerBox.json +1 -30
- package/dist/api/QSpinnerClock.json +1 -30
- package/dist/api/QSpinnerComment.json +1 -30
- package/dist/api/QSpinnerCube.json +1 -30
- package/dist/api/QSpinnerDots.json +1 -30
- package/dist/api/QSpinnerFacebook.json +1 -30
- package/dist/api/QSpinnerGears.json +1 -30
- package/dist/api/QSpinnerGrid.json +1 -30
- package/dist/api/QSpinnerHearts.json +1 -30
- package/dist/api/QSpinnerHourglass.json +1 -30
- package/dist/api/QSpinnerInfinity.json +1 -30
- package/dist/api/QSpinnerIos.json +1 -30
- package/dist/api/QSpinnerOrbit.json +1 -30
- package/dist/api/QSpinnerOval.json +1 -30
- package/dist/api/QSpinnerPie.json +1 -30
- package/dist/api/QSpinnerPuff.json +1 -30
- package/dist/api/QSpinnerRadio.json +1 -30
- package/dist/api/QSpinnerRings.json +1 -30
- package/dist/api/QSpinnerTail.json +1 -30
- package/dist/api/QSplitter.json +1 -146
- package/dist/api/QStep.json +1 -167
- package/dist/api/QStepper.json +1 -340
- package/dist/api/QStepperNavigation.json +1 -11
- package/dist/api/QTab.json +1 -113
- package/dist/api/QTabPanel.json +1 -39
- package/dist/api/QTabPanels.json +1 -203
- package/dist/api/QTable.json +1 -2799
- package/dist/api/QTabs.json +1 -179
- package/dist/api/QTd.json +1 -31
- package/dist/api/QTh.json +1 -26
- package/dist/api/QTime.json +1 -317
- package/dist/api/QTimeline.json +1 -57
- package/dist/api/QTimelineEntry.json +1 -105
- package/dist/api/QToggle.json +1 -230
- package/dist/api/QToolbar.json +1 -18
- package/dist/api/QToolbarTitle.json +1 -18
- package/dist/api/QTooltip.json +1 -282
- package/dist/api/QTr.json +1 -26
- package/dist/api/QTree.json +1 -599
- package/dist/api/QUploader.json +1 -665
- package/dist/api/QUploaderAddTrigger.json +1 -6
- package/dist/api/QVideo.json +1 -83
- package/dist/api/QVirtualScroll.json +1 -260
- package/dist/api/Ripple.json +1 -115
- package/dist/api/Screen.json +1 -190
- package/dist/api/Scroll.json +1 -28
- package/dist/api/ScrollFire.json +1 -24
- package/dist/api/SessionStorage.json +1 -187
- package/dist/api/TouchHold.json +1 -81
- package/dist/api/TouchPan.json +1 -178
- package/dist/api/TouchRepeat.json +1 -142
- package/dist/api/TouchSwipe.json +1 -113
- package/dist/icon-set/bootstrap-icons.umd.prod.js +3 -2
- package/dist/icon-set/eva-icons.umd.prod.js +3 -2
- package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +3 -2
- package/dist/icon-set/fontawesome-v5.umd.prod.js +3 -2
- package/dist/icon-set/fontawesome-v6-pro.umd.prod.js +3 -2
- package/dist/icon-set/fontawesome-v6.umd.prod.js +3 -2
- package/dist/icon-set/ionicons-v4.umd.prod.js +3 -2
- package/dist/icon-set/line-awesome.umd.prod.js +3 -2
- package/dist/icon-set/material-icons-outlined.umd.prod.js +3 -2
- package/dist/icon-set/material-icons-round.umd.prod.js +3 -2
- package/dist/icon-set/material-icons-sharp.umd.prod.js +3 -2
- package/dist/icon-set/material-icons.umd.prod.js +3 -2
- package/dist/icon-set/material-symbols-outlined.umd.prod.js +3 -2
- package/dist/icon-set/material-symbols-rounded.umd.prod.js +3 -2
- package/dist/icon-set/material-symbols-sharp.umd.prod.js +3 -2
- package/dist/icon-set/mdi-v3.umd.prod.js +3 -2
- package/dist/icon-set/mdi-v4.umd.prod.js +3 -2
- package/dist/icon-set/mdi-v5.umd.prod.js +3 -2
- package/dist/icon-set/mdi-v6.umd.prod.js +3 -2
- package/dist/icon-set/mdi-v7.umd.prod.js +3 -2
- package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +3 -2
- package/dist/icon-set/svg-eva-icons.umd.prod.js +3 -2
- package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +3 -2
- package/dist/icon-set/svg-fontawesome-v6.umd.prod.js +3 -2
- package/dist/icon-set/svg-ionicons-v4.umd.prod.js +3 -2
- package/dist/icon-set/svg-ionicons-v5.umd.prod.js +3 -2
- package/dist/icon-set/svg-ionicons-v6.umd.prod.js +3 -2
- package/dist/icon-set/svg-line-awesome.umd.prod.js +3 -2
- package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +3 -2
- package/dist/icon-set/svg-material-icons-round.umd.prod.js +3 -2
- package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +3 -2
- package/dist/icon-set/svg-material-icons.umd.prod.js +3 -2
- package/dist/icon-set/svg-material-symbols-outlined.umd.prod.js +3 -2
- package/dist/icon-set/svg-material-symbols-rounded.umd.prod.js +3 -2
- package/dist/icon-set/svg-material-symbols-sharp.umd.prod.js +3 -2
- package/dist/icon-set/svg-mdi-v6.umd.prod.js +3 -2
- package/dist/icon-set/svg-mdi-v7.umd.prod.js +3 -2
- package/dist/icon-set/svg-themify.umd.prod.js +3 -2
- package/dist/icon-set/themify.umd.prod.js +3 -2
- package/dist/lang/ar-TN.umd.prod.js +3 -2
- package/dist/lang/ar.umd.prod.js +3 -2
- package/dist/lang/az-Latn.umd.prod.js +3 -2
- package/dist/lang/bg.umd.prod.js +3 -2
- package/dist/lang/bn.umd.prod.js +3 -2
- package/dist/lang/ca.umd.prod.js +3 -2
- package/dist/lang/cs.umd.prod.js +3 -2
- package/dist/lang/da.umd.prod.js +3 -2
- package/dist/lang/de-CH.umd.prod.js +3 -2
- package/dist/lang/de-DE.umd.prod.js +3 -2
- package/dist/lang/de.umd.prod.js +3 -2
- package/dist/lang/el.umd.prod.js +3 -2
- package/dist/lang/en-GB.umd.prod.js +3 -2
- package/dist/lang/en-US.umd.prod.js +3 -2
- package/dist/lang/eo.umd.prod.js +3 -2
- package/dist/lang/es.umd.prod.js +3 -2
- package/dist/lang/et.umd.prod.js +3 -2
- package/dist/lang/eu.umd.prod.js +3 -2
- package/dist/lang/fa-IR.umd.prod.js +3 -2
- package/dist/lang/fa.umd.prod.js +3 -2
- package/dist/lang/fi.umd.prod.js +3 -2
- package/dist/lang/fr.umd.prod.js +3 -2
- package/dist/lang/gn.umd.prod.js +3 -2
- package/dist/lang/he.umd.prod.js +3 -2
- package/dist/lang/hi.umd.prod.js +3 -2
- package/dist/lang/hr.umd.prod.js +3 -2
- package/dist/lang/hu.umd.prod.js +3 -2
- package/dist/lang/id.umd.prod.js +3 -2
- package/dist/lang/is.umd.prod.js +3 -2
- package/dist/lang/it.umd.prod.js +3 -2
- package/dist/lang/ja.umd.prod.js +3 -2
- package/dist/lang/kk.umd.prod.js +3 -2
- package/dist/lang/km.umd.prod.js +3 -2
- package/dist/lang/ko-KR.umd.prod.js +3 -2
- package/dist/lang/kur-CKB.umd.prod.js +3 -2
- package/dist/lang/lt.umd.prod.js +3 -2
- package/dist/lang/lu.umd.prod.js +3 -2
- package/dist/lang/lv.umd.prod.js +3 -2
- package/dist/lang/mk.umd.prod.js +3 -2
- package/dist/lang/ml.umd.prod.js +3 -2
- package/dist/lang/mm.umd.prod.js +3 -2
- package/dist/lang/ms-MY.umd.prod.js +7 -0
- package/dist/lang/ms.umd.prod.js +3 -2
- package/dist/lang/my.umd.prod.js +3 -2
- package/dist/lang/nb-NO.umd.prod.js +3 -2
- package/dist/lang/nl.umd.prod.js +3 -2
- package/dist/lang/pl.umd.prod.js +3 -2
- package/dist/lang/pt-BR.umd.prod.js +3 -2
- package/dist/lang/pt.umd.prod.js +3 -2
- package/dist/lang/ro.umd.prod.js +3 -2
- package/dist/lang/ru.umd.prod.js +3 -2
- package/dist/lang/sk.umd.prod.js +3 -2
- package/dist/lang/sl.umd.prod.js +3 -2
- package/dist/lang/sm.umd.prod.js +3 -2
- package/dist/lang/sr-CYR.umd.prod.js +3 -2
- package/dist/lang/sr.umd.prod.js +3 -2
- package/dist/lang/sv.umd.prod.js +3 -2
- package/dist/lang/ta.umd.prod.js +3 -2
- package/dist/lang/th.umd.prod.js +3 -2
- package/dist/lang/tl.umd.prod.js +7 -0
- package/dist/lang/tr.umd.prod.js +3 -2
- package/dist/lang/ug.umd.prod.js +3 -2
- package/dist/lang/uk.umd.prod.js +3 -2
- package/dist/lang/uz-Cyrl.umd.prod.js +3 -2
- package/dist/lang/uz-Latn.umd.prod.js +3 -2
- package/dist/lang/vi.umd.prod.js +3 -2
- package/dist/lang/zh-CN.umd.prod.js +3 -2
- package/dist/lang/zh-TW.umd.prod.js +3 -2
- package/dist/quasar.addon.prod.css +1 -1
- package/dist/quasar.addon.rtl.prod.css +1 -1
- package/dist/quasar.cjs.prod.js +123 -2
- package/dist/quasar.css +5 -2
- package/dist/quasar.esm.js +16928 -26277
- package/dist/quasar.esm.prod.js +123 -2
- package/dist/quasar.prod.css +1 -1
- package/dist/quasar.rtl.css +5 -2
- package/dist/quasar.rtl.prod.css +1 -1
- package/dist/quasar.sass +9 -7
- package/dist/quasar.umd.js +16732 -26521
- package/dist/quasar.umd.prod.js +123 -2
- package/dist/transforms/api-list.json +1 -153
- package/dist/transforms/auto-import.json +1 -267
- package/dist/transforms/import-map.json +1 -181
- package/dist/transforms/loader-asset-urls.json +1 -60
- package/dist/types/api/dialog.d.ts +1 -1
- package/dist/types/api/qinput.d.ts +1 -1
- package/dist/types/api/qtable.d.ts +1 -1
- package/dist/types/api/qtree.d.ts +1 -1
- package/dist/types/api/quploader.d.ts +1 -1
- package/dist/types/api/validation.d.ts +1 -1
- package/dist/types/api/web-storage.d.ts +6 -6
- package/dist/types/feature-flag.d.ts +1 -1
- package/dist/types/globals.d.ts +22 -15
- package/dist/types/index.d.ts +48 -166
- package/dist/types/lang.d.ts +3 -3
- package/dist/types/plugin.d.ts +3 -1
- package/dist/types/ts-helpers.d.ts +3 -3
- package/dist/types/utils/colors.d.ts +1 -1
- package/dist/types/utils/date.d.ts +10 -10
- package/dist/types/utils/dom.d.ts +1 -1
- package/dist/types/utils/run-sequential-promises.d.ts +12 -12
- package/dist/types/utils/scroll.d.ts +5 -5
- package/dist/types/utils.d.ts +15 -13
- package/dist/vetur/quasar-attributes.json +1 -5890
- package/dist/vetur/quasar-tags.json +1 -2084
- package/dist/web-types/web-types.json +1 -19595
- package/lang/index.json +1 -266
- package/lang/ms-MY.js +101 -0
- package/lang/ms-MY.mjs +96 -0
- package/lang/tl.js +98 -0
- package/lang/tl.mjs +93 -0
- package/package.json +17 -21
- package/src/body.js +6 -14
- package/src/components/ajax-bar/QAjaxBar.js +1 -1
- package/src/components/breadcrumbs/QBreadcrumbs.js +1 -1
- package/src/components/btn/QBtn.js +6 -6
- package/src/components/btn-dropdown/QBtnDropdown.json +1 -1
- package/src/components/checkbox/use-checkbox.js +1 -1
- package/src/components/chip/QChip.js +1 -1
- package/src/components/color/QColor.js +4 -4
- package/src/components/color/QColor.sass +1 -1
- package/src/components/date/QDate.js +1 -1
- package/src/components/dialog/__tests__/DialogWrapper.vue +33 -0
- package/src/components/dialog/__tests__/QDialog.cy.js +450 -36
- package/src/components/drawer/QDrawer.js +1 -1
- package/src/components/drawer/QDrawer.json +1 -1
- package/src/components/field/QField.sass +2 -1
- package/src/components/file/QFile.js +2 -2
- package/src/components/footer/QFooter.js +2 -2
- package/src/components/form/QForm.js +3 -3
- package/src/components/header/QHeader.js +1 -1
- package/src/components/img/QImg.js +47 -39
- package/src/components/img/QImg.json +9 -0
- package/src/components/input/use-mask.js +3 -3
- package/src/components/menu/QMenu.json +1 -1
- package/src/components/page-sticky/use-page-sticky.js +4 -4
- package/src/components/popup-edit/QPopupEdit.js +1 -1
- package/src/components/scroll-area/QScrollArea.js +1 -1
- package/src/components/select/QSelect.js +9 -9
- package/src/components/table/QTable.sass +2 -2
- package/src/components/table/QTd.js +1 -1
- package/src/components/table/QTh.js +1 -1
- package/src/components/tabs/QTabs.js +3 -3
- package/src/components/time/QTime.js +3 -3
- package/src/components/tooltip/QTooltip.js +4 -2
- package/src/components/tooltip/QTooltip.json +6 -0
- package/src/components/tree/QTree.js +1 -1
- package/src/components/uploader/uploader-core.js +2 -2
- package/src/components/uploader/xhr-uploader-plugin.js +1 -1
- package/src/components/virtual-scroll/use-virtual-scroll.js +3 -3
- package/src/composables/private/__tests__/use-model-toggle.cy.js +43 -3
- package/src/composables/private/use-anchor.js +1 -1
- package/src/composables/private/use-key-composition.js +1 -1
- package/src/composables/private/use-panel.js +1 -1
- package/src/composables/private/use-portal.js +1 -1
- package/src/composables/private/use-router-link.js +1 -1
- package/src/css/core/colors.sass +0 -2
- package/src/css/core/visibility.sass +2 -1
- package/src/css/normalize.sass +1 -1
- package/src/directives/Intersection.json +13 -0
- package/src/directives/TouchPan.js +1 -1
- package/src/history.js +1 -1
- package/src/index.umd.js +5 -1
- package/src/lang.js +1 -1
- package/src/plugins/BottomSheet.json +1 -1
- package/src/plugins/Cookies.js +1 -1
- package/src/plugins/Dark.js +1 -1
- package/src/plugins/Loading.js +1 -1
- package/src/plugins/LoadingBar.js +1 -1
- package/src/plugins/Notify.js +4 -4
- package/src/plugins/Platform.js +111 -93
- package/src/plugins/Screen.js +1 -1
- package/src/utils/event.js +1 -1
- package/src/utils/frame-debounce.js +1 -1
- package/src/utils/morph.js +1 -1
- package/src/utils/private/click-outside.js +1 -1
- package/src/utils/private/escape-key.js +1 -1
- package/src/utils/private/focusout.js +1 -1
package/dist/api/QPopupEdit.json
CHANGED
|
@@ -1,335 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "component",
|
|
3
|
-
"meta": {
|
|
4
|
-
"docsUrl": "https://v2.quasar.dev/vue-components/popup-edit"
|
|
5
|
-
},
|
|
6
|
-
"props": {
|
|
7
|
-
"model-value": {
|
|
8
|
-
"desc": "Model of the component; Either use this property (along with a listener for 'update:model-value' event) OR use v-model directive",
|
|
9
|
-
"required": true,
|
|
10
|
-
"syncable": true,
|
|
11
|
-
"category": "model",
|
|
12
|
-
"type": "Any",
|
|
13
|
-
"examples": [
|
|
14
|
-
"v-model=\"myValue\""
|
|
15
|
-
]
|
|
16
|
-
},
|
|
17
|
-
"title": {
|
|
18
|
-
"type": "String",
|
|
19
|
-
"desc": "Optional title (unless 'title' slot is used)",
|
|
20
|
-
"examples": [
|
|
21
|
-
"Calories"
|
|
22
|
-
],
|
|
23
|
-
"category": "content"
|
|
24
|
-
},
|
|
25
|
-
"buttons": {
|
|
26
|
-
"type": "Boolean",
|
|
27
|
-
"desc": "Show Set and Cancel buttons",
|
|
28
|
-
"category": "content"
|
|
29
|
-
},
|
|
30
|
-
"label-set": {
|
|
31
|
-
"type": "String",
|
|
32
|
-
"desc": "Override Set button label",
|
|
33
|
-
"examples": [
|
|
34
|
-
"OK"
|
|
35
|
-
],
|
|
36
|
-
"category": "content"
|
|
37
|
-
},
|
|
38
|
-
"label-cancel": {
|
|
39
|
-
"type": "String",
|
|
40
|
-
"desc": "Override Cancel button label",
|
|
41
|
-
"examples": [
|
|
42
|
-
"Cancel"
|
|
43
|
-
],
|
|
44
|
-
"category": "content"
|
|
45
|
-
},
|
|
46
|
-
"auto-save": {
|
|
47
|
-
"type": "Boolean",
|
|
48
|
-
"desc": "Automatically save the model (if changed) when user clicks/taps outside of the popup; It does not apply to ESC key",
|
|
49
|
-
"category": "behavior"
|
|
50
|
-
},
|
|
51
|
-
"color": {
|
|
52
|
-
"type": "String",
|
|
53
|
-
"tsType": "NamedColor",
|
|
54
|
-
"desc": "Color name for component from the Quasar Color Palette",
|
|
55
|
-
"examples": [
|
|
56
|
-
"primary",
|
|
57
|
-
"teal",
|
|
58
|
-
"teal-10"
|
|
59
|
-
],
|
|
60
|
-
"category": "style",
|
|
61
|
-
"default": "primary",
|
|
62
|
-
"required": false
|
|
63
|
-
},
|
|
64
|
-
"validate": {
|
|
65
|
-
"type": "Function",
|
|
66
|
-
"desc": "Validates model then triggers 'save' and closes Popup; Returns a Boolean ('true' means valid, 'false' means abort); Syntax: validate(value); For best performance, reference it from your scope and do not define it inline",
|
|
67
|
-
"params": {
|
|
68
|
-
"value": {
|
|
69
|
-
"type": "Any",
|
|
70
|
-
"desc": "Model to validate",
|
|
71
|
-
"examples": [
|
|
72
|
-
"My car"
|
|
73
|
-
]
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
"returns": {
|
|
77
|
-
"type": "Boolean",
|
|
78
|
-
"desc": "Is the model valid or not?"
|
|
79
|
-
},
|
|
80
|
-
"examples": [
|
|
81
|
-
":validate=\"myValidation\""
|
|
82
|
-
],
|
|
83
|
-
"category": "model"
|
|
84
|
-
},
|
|
85
|
-
"disable": {
|
|
86
|
-
"type": "Boolean",
|
|
87
|
-
"desc": "Put component in disabled mode",
|
|
88
|
-
"category": "state"
|
|
89
|
-
},
|
|
90
|
-
"fit": {
|
|
91
|
-
"type": "Boolean",
|
|
92
|
-
"desc": "Allows the menu to match at least the full width of its target",
|
|
93
|
-
"category": "position"
|
|
94
|
-
},
|
|
95
|
-
"cover": {
|
|
96
|
-
"type": "Boolean",
|
|
97
|
-
"default": true,
|
|
98
|
-
"desc": "Allows the menu to cover its target. When used, the 'self' and 'fit' props are no longer effective",
|
|
99
|
-
"category": "position",
|
|
100
|
-
"required": false
|
|
101
|
-
},
|
|
102
|
-
"anchor": {
|
|
103
|
-
"type": "String",
|
|
104
|
-
"desc": "Two values setting the starting position or anchor point of the menu relative to its target",
|
|
105
|
-
"values": [
|
|
106
|
-
"top left",
|
|
107
|
-
"top middle",
|
|
108
|
-
"top right",
|
|
109
|
-
"top start",
|
|
110
|
-
"top end",
|
|
111
|
-
"center left",
|
|
112
|
-
"center middle",
|
|
113
|
-
"center right",
|
|
114
|
-
"center start",
|
|
115
|
-
"center end",
|
|
116
|
-
"bottom left",
|
|
117
|
-
"bottom middle",
|
|
118
|
-
"bottom right",
|
|
119
|
-
"bottom start",
|
|
120
|
-
"bottom end"
|
|
121
|
-
],
|
|
122
|
-
"category": "position"
|
|
123
|
-
},
|
|
124
|
-
"self": {
|
|
125
|
-
"type": "String",
|
|
126
|
-
"desc": "Two values setting the menu's own position relative to its target",
|
|
127
|
-
"values": [
|
|
128
|
-
"top left",
|
|
129
|
-
"top middle",
|
|
130
|
-
"top right",
|
|
131
|
-
"top start",
|
|
132
|
-
"top end",
|
|
133
|
-
"center left",
|
|
134
|
-
"center middle",
|
|
135
|
-
"center right",
|
|
136
|
-
"center start",
|
|
137
|
-
"center end",
|
|
138
|
-
"bottom left",
|
|
139
|
-
"bottom middle",
|
|
140
|
-
"bottom right",
|
|
141
|
-
"bottom start",
|
|
142
|
-
"bottom end"
|
|
143
|
-
],
|
|
144
|
-
"category": "position"
|
|
145
|
-
},
|
|
146
|
-
"offset": {
|
|
147
|
-
"type": "Array",
|
|
148
|
-
"desc": "An array of two numbers to offset the menu horizontally and vertically in pixels",
|
|
149
|
-
"examples": [
|
|
150
|
-
"[8, 8]",
|
|
151
|
-
"[5, 10]"
|
|
152
|
-
],
|
|
153
|
-
"category": "style"
|
|
154
|
-
},
|
|
155
|
-
"touch-position": {
|
|
156
|
-
"type": "Boolean",
|
|
157
|
-
"desc": "Allows for the target position to be set by the mouse position, when the target of the menu is either clicked or touched",
|
|
158
|
-
"category": "behavior"
|
|
159
|
-
},
|
|
160
|
-
"persistent": {
|
|
161
|
-
"type": "Boolean",
|
|
162
|
-
"desc": "Avoid menu closing by hitting ESC key or by clicking/tapping outside of the Popup",
|
|
163
|
-
"category": "behavior"
|
|
164
|
-
},
|
|
165
|
-
"separate-close-popup": {
|
|
166
|
-
"type": "Boolean",
|
|
167
|
-
"desc": "Separate from parent menu, marking it as a separate closing point for v-close-popup (without this, chained menus close all together)",
|
|
168
|
-
"category": "behavior"
|
|
169
|
-
},
|
|
170
|
-
"square": {
|
|
171
|
-
"type": "Boolean",
|
|
172
|
-
"desc": "Forces menu to have squared borders",
|
|
173
|
-
"category": "style"
|
|
174
|
-
},
|
|
175
|
-
"max-height": {
|
|
176
|
-
"type": "String",
|
|
177
|
-
"desc": "The maximum height of the menu; Size in CSS units, including unit name",
|
|
178
|
-
"examples": [
|
|
179
|
-
"16px",
|
|
180
|
-
"2rem"
|
|
181
|
-
],
|
|
182
|
-
"category": "style"
|
|
183
|
-
},
|
|
184
|
-
"max-width": {
|
|
185
|
-
"type": "String",
|
|
186
|
-
"desc": "The maximum width of the menu; Size in CSS units, including unit name",
|
|
187
|
-
"examples": [
|
|
188
|
-
"16px",
|
|
189
|
-
"2rem"
|
|
190
|
-
],
|
|
191
|
-
"category": "style"
|
|
192
|
-
}
|
|
193
|
-
},
|
|
194
|
-
"slots": {
|
|
195
|
-
"default": {
|
|
196
|
-
"desc": "Used for injecting the form component; Do NOT destructure it",
|
|
197
|
-
"scope": {
|
|
198
|
-
"initialValue": {
|
|
199
|
-
"type": "Any",
|
|
200
|
-
"desc": "Initial value",
|
|
201
|
-
"examples": [
|
|
202
|
-
0.241,
|
|
203
|
-
"Text"
|
|
204
|
-
]
|
|
205
|
-
},
|
|
206
|
-
"value": {
|
|
207
|
-
"type": "Any",
|
|
208
|
-
"desc": "Current value",
|
|
209
|
-
"examples": [
|
|
210
|
-
0.241,
|
|
211
|
-
"Text"
|
|
212
|
-
]
|
|
213
|
-
},
|
|
214
|
-
"validate": {
|
|
215
|
-
"type": "Function",
|
|
216
|
-
"desc": "Function that checks if the value is valid",
|
|
217
|
-
"params": {
|
|
218
|
-
"value": {
|
|
219
|
-
"type": "Any",
|
|
220
|
-
"required": true,
|
|
221
|
-
"desc": "Value to be checked",
|
|
222
|
-
"examples": [
|
|
223
|
-
0,
|
|
224
|
-
"Changed text"
|
|
225
|
-
]
|
|
226
|
-
}
|
|
227
|
-
},
|
|
228
|
-
"returns": {
|
|
229
|
-
"type": "Boolean",
|
|
230
|
-
"desc": "Checked value is valid or not"
|
|
231
|
-
}
|
|
232
|
-
},
|
|
233
|
-
"set": {
|
|
234
|
-
"type": "Function",
|
|
235
|
-
"desc": "Function that sets the value and closes the popup",
|
|
236
|
-
"params": null,
|
|
237
|
-
"returns": null
|
|
238
|
-
},
|
|
239
|
-
"cancel": {
|
|
240
|
-
"type": "Function",
|
|
241
|
-
"desc": "Function that cancels the editing and reverts the value to the initialValue",
|
|
242
|
-
"params": null,
|
|
243
|
-
"returns": null
|
|
244
|
-
},
|
|
245
|
-
"updatePosition": {
|
|
246
|
-
"type": "Function",
|
|
247
|
-
"desc": "There are some custom scenarios for which Quasar cannot automatically reposition the component without significant performance drawbacks so the optimal solution is for you to call this method when you need it",
|
|
248
|
-
"params": null,
|
|
249
|
-
"returns": null
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
},
|
|
254
|
-
"events": {
|
|
255
|
-
"update:model-value": {
|
|
256
|
-
"desc": "Emitted when Popup gets cancelled in order to reset model to its initial value; Is also used by v-model",
|
|
257
|
-
"params": {
|
|
258
|
-
"value": {
|
|
259
|
-
"type": "Any",
|
|
260
|
-
"desc": "New model value",
|
|
261
|
-
"required": true
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
},
|
|
265
|
-
"before-show": {
|
|
266
|
-
"desc": "Emitted right before Popup gets shown"
|
|
267
|
-
},
|
|
268
|
-
"show": {
|
|
269
|
-
"desc": "Emitted right after Popup gets shown"
|
|
270
|
-
},
|
|
271
|
-
"before-hide": {
|
|
272
|
-
"desc": "Emitted right before Popup gets dismissed"
|
|
273
|
-
},
|
|
274
|
-
"hide": {
|
|
275
|
-
"desc": "Emitted right after Popup gets dismissed"
|
|
276
|
-
},
|
|
277
|
-
"save": {
|
|
278
|
-
"desc": "Emitted when value has been successfully validated and it should be saved",
|
|
279
|
-
"params": {
|
|
280
|
-
"value": {
|
|
281
|
-
"type": "Any",
|
|
282
|
-
"desc": "Validated value to be saved"
|
|
283
|
-
},
|
|
284
|
-
"initialValue": {
|
|
285
|
-
"type": "Any",
|
|
286
|
-
"desc": "Initial value, before changes"
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
},
|
|
290
|
-
"cancel": {
|
|
291
|
-
"desc": "Emitted when user cancelled the change (hit ESC key or clicking outside of Popup or hit 'Cancel' button)",
|
|
292
|
-
"params": {
|
|
293
|
-
"value": {
|
|
294
|
-
"type": "Any",
|
|
295
|
-
"desc": "Edited value"
|
|
296
|
-
},
|
|
297
|
-
"initialValue": {
|
|
298
|
-
"type": "Any",
|
|
299
|
-
"desc": "Initial value, before changes"
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
},
|
|
304
|
-
"methods": {
|
|
305
|
-
"set": {
|
|
306
|
-
"desc": "Trigger a model update; Validates model (and emits 'save' event if it's the case) then closes Popup"
|
|
307
|
-
},
|
|
308
|
-
"cancel": {
|
|
309
|
-
"desc": "Triggers a model reset to its initial value ('cancel' event is emitted) then closes Popup"
|
|
310
|
-
},
|
|
311
|
-
"show": {
|
|
312
|
-
"desc": "Triggers component to show",
|
|
313
|
-
"params": {
|
|
314
|
-
"evt": {
|
|
315
|
-
"type": "Event",
|
|
316
|
-
"desc": "JS event object",
|
|
317
|
-
"required": false
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
},
|
|
321
|
-
"hide": {
|
|
322
|
-
"desc": "Triggers component to hide",
|
|
323
|
-
"params": {
|
|
324
|
-
"evt": {
|
|
325
|
-
"type": "Event",
|
|
326
|
-
"desc": "JS event object",
|
|
327
|
-
"required": false
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
},
|
|
331
|
-
"updatePosition": {
|
|
332
|
-
"desc": "There are some custom scenarios for which Quasar cannot automatically reposition the component without significant performance drawbacks so the optimal solution is for you to call this method when you need it"
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
}
|
|
1
|
+
{"type":"component","meta":{"docsUrl":"https://v2.quasar.dev/vue-components/popup-edit"},"props":{"model-value":{"desc":"Model of the component; Either use this property (along with a listener for 'update:model-value' event) OR use v-model directive","required":true,"syncable":true,"category":"model","type":"Any","examples":["v-model=\"myValue\""]},"title":{"type":"String","desc":"Optional title (unless 'title' slot is used)","examples":["Calories"],"category":"content"},"buttons":{"type":"Boolean","desc":"Show Set and Cancel buttons","category":"content"},"label-set":{"type":"String","desc":"Override Set button label","examples":["OK"],"category":"content"},"label-cancel":{"type":"String","desc":"Override Cancel button label","examples":["Cancel"],"category":"content"},"auto-save":{"type":"Boolean","desc":"Automatically save the model (if changed) when user clicks/taps outside of the popup; It does not apply to ESC key","category":"behavior"},"color":{"type":"String","tsType":"NamedColor","desc":"Color name for component from the Quasar Color Palette","examples":["primary","teal","teal-10"],"category":"style","default":"primary","required":false},"validate":{"type":"Function","desc":"Validates model then triggers 'save' and closes Popup; Returns a Boolean ('true' means valid, 'false' means abort); Syntax: validate(value); For best performance, reference it from your scope and do not define it inline","params":{"value":{"type":"Any","desc":"Model to validate","examples":["My car"]}},"returns":{"type":"Boolean","desc":"Is the model valid or not?"},"examples":[":validate=\"myValidation\""],"category":"model"},"disable":{"type":"Boolean","desc":"Put component in disabled mode","category":"state"},"fit":{"type":"Boolean","desc":"Allows the menu to match at least the full width of its target","category":"position"},"cover":{"type":"Boolean","default":true,"desc":"Allows the menu to cover its target. When used, the 'self' and 'fit' props are no longer effective","category":"position","required":false},"anchor":{"type":"String","desc":"Two values setting the starting position or anchor point of the menu relative to its target","values":["top left","top middle","top right","top start","top end","center left","center middle","center right","center start","center end","bottom left","bottom middle","bottom right","bottom start","bottom end"],"category":"position"},"self":{"type":"String","desc":"Two values setting the menu's own position relative to its target","values":["top left","top middle","top right","top start","top end","center left","center middle","center right","center start","center end","bottom left","bottom middle","bottom right","bottom start","bottom end"],"category":"position"},"offset":{"type":"Array","desc":"An array of two numbers to offset the menu horizontally and vertically in pixels","examples":["[8, 8]","[5, 10]"],"category":"style"},"touch-position":{"type":"Boolean","desc":"Allows for the target position to be set by the mouse position, when the target of the menu is either clicked or touched","category":"behavior"},"persistent":{"type":"Boolean","desc":"Avoid menu closing by hitting ESC key or by clicking/tapping outside of the Popup","category":"behavior"},"separate-close-popup":{"type":"Boolean","desc":"Separate from parent menu, marking it as a separate closing point for v-close-popup (without this, chained menus close all together)","category":"behavior"},"square":{"type":"Boolean","desc":"Forces menu to have squared borders","category":"style"},"max-height":{"type":"String","desc":"The maximum height of the menu; Size in CSS units, including unit name","examples":["16px","2rem"],"category":"style"},"max-width":{"type":"String","desc":"The maximum width of the menu; Size in CSS units, including unit name","examples":["16px","2rem"],"category":"style"}},"slots":{"default":{"desc":"Used for injecting the form component; Do NOT destructure it","scope":{"initialValue":{"type":"Any","desc":"Initial value","examples":[0.241,"Text"]},"value":{"type":"Any","desc":"Current value","examples":[0.241,"Text"]},"validate":{"type":"Function","desc":"Function that checks if the value is valid","params":{"value":{"type":"Any","required":true,"desc":"Value to be checked","examples":[0,"Changed text"]}},"returns":{"type":"Boolean","desc":"Checked value is valid or not"}},"set":{"type":"Function","desc":"Function that sets the value and closes the popup","params":null,"returns":null},"cancel":{"type":"Function","desc":"Function that cancels the editing and reverts the value to the initialValue","params":null,"returns":null},"updatePosition":{"type":"Function","desc":"There are some custom scenarios for which Quasar cannot automatically reposition the component without significant performance drawbacks so the optimal solution is for you to call this method when you need it","params":null,"returns":null}}}},"events":{"update:model-value":{"desc":"Emitted when Popup gets cancelled in order to reset model to its initial value; Is also used by v-model","params":{"value":{"type":"Any","desc":"New model value","required":true}}},"before-show":{"desc":"Emitted right before Popup gets shown"},"show":{"desc":"Emitted right after Popup gets shown"},"before-hide":{"desc":"Emitted right before Popup gets dismissed"},"hide":{"desc":"Emitted right after Popup gets dismissed"},"save":{"desc":"Emitted when value has been successfully validated and it should be saved","params":{"value":{"type":"Any","desc":"Validated value to be saved"},"initialValue":{"type":"Any","desc":"Initial value, before changes"}}},"cancel":{"desc":"Emitted when user cancelled the change (hit ESC key or clicking outside of Popup or hit 'Cancel' button)","params":{"value":{"type":"Any","desc":"Edited value"},"initialValue":{"type":"Any","desc":"Initial value, before changes"}}}},"methods":{"set":{"desc":"Trigger a model update; Validates model (and emits 'save' event if it's the case) then closes Popup"},"cancel":{"desc":"Triggers a model reset to its initial value ('cancel' event is emitted) then closes Popup"},"show":{"desc":"Triggers component to show","params":{"evt":{"type":"Event","desc":"JS event object","required":false}}},"hide":{"desc":"Triggers component to hide","params":{"evt":{"type":"Event","desc":"JS event object","required":false}}},"updatePosition":{"desc":"There are some custom scenarios for which Quasar cannot automatically reposition the component without significant performance drawbacks so the optimal solution is for you to call this method when you need it"}}}
|
|
@@ -1,168 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "component",
|
|
3
|
-
"meta": {
|
|
4
|
-
"docsUrl": "https://v2.quasar.dev/vue-components/popup-proxy"
|
|
5
|
-
},
|
|
6
|
-
"props": {
|
|
7
|
-
"target": {
|
|
8
|
-
"type": [
|
|
9
|
-
"Boolean",
|
|
10
|
-
"String",
|
|
11
|
-
"Element"
|
|
12
|
-
],
|
|
13
|
-
"desc": "Configure a target element to trigger component toggle; 'true' means it enables the parent DOM element, 'false' means it disables attaching events to any DOM elements; By using a String (CSS selector) or a DOM element it attaches the events to the specified DOM element (if it exists)",
|
|
14
|
-
"default": true,
|
|
15
|
-
"values": [
|
|
16
|
-
"(Boolean) true",
|
|
17
|
-
"(Boolean) false",
|
|
18
|
-
"(CSS selector)",
|
|
19
|
-
"(DOM Element)"
|
|
20
|
-
],
|
|
21
|
-
"examples": [
|
|
22
|
-
":target=\"false\"",
|
|
23
|
-
":target=\"$refs.target\"",
|
|
24
|
-
"target=\".my-parent\"",
|
|
25
|
-
"target=\"#target-id\""
|
|
26
|
-
],
|
|
27
|
-
"category": "behavior",
|
|
28
|
-
"required": false
|
|
29
|
-
},
|
|
30
|
-
"no-parent-event": {
|
|
31
|
-
"type": "Boolean",
|
|
32
|
-
"desc": "Skips attaching events to the target DOM element (that trigger the element to get shown)",
|
|
33
|
-
"category": "behavior"
|
|
34
|
-
},
|
|
35
|
-
"context-menu": {
|
|
36
|
-
"type": "Boolean",
|
|
37
|
-
"desc": "Allows the component to behave like a context menu, which opens with a right mouse click (or long tap on mobile)",
|
|
38
|
-
"category": "behavior"
|
|
39
|
-
},
|
|
40
|
-
"model-value": {
|
|
41
|
-
"desc": "Defines the state of the component (shown/hidden); Either use this property (along with a listener for 'update:modelValue' event) OR use v-model directive",
|
|
42
|
-
"required": false,
|
|
43
|
-
"syncable": true,
|
|
44
|
-
"category": "model",
|
|
45
|
-
"type": "Boolean"
|
|
46
|
-
},
|
|
47
|
-
"breakpoint": {
|
|
48
|
-
"type": [
|
|
49
|
-
"Number",
|
|
50
|
-
"String"
|
|
51
|
-
],
|
|
52
|
-
"desc": "Breakpoint (in pixels) of window width/height (whichever is smaller) from where a Menu will get to be used instead of a Dialog",
|
|
53
|
-
"default": 450,
|
|
54
|
-
"category": "behavior",
|
|
55
|
-
"required": false
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
"slots": {
|
|
59
|
-
"default": {
|
|
60
|
-
"desc": "Default slot in the devland unslotted content of the component"
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
"events": {
|
|
64
|
-
"update:model-value": {
|
|
65
|
-
"desc": "Emitted when the component needs to change the model; Is also used by v-model",
|
|
66
|
-
"params": {
|
|
67
|
-
"value": {
|
|
68
|
-
"type": "Any",
|
|
69
|
-
"desc": "New model value",
|
|
70
|
-
"required": true
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
"before-show": {
|
|
75
|
-
"desc": "Emitted when component triggers show() but before it finishes doing it",
|
|
76
|
-
"params": {
|
|
77
|
-
"evt": {
|
|
78
|
-
"type": "Event",
|
|
79
|
-
"desc": "JS event object",
|
|
80
|
-
"required": true
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
"show": {
|
|
85
|
-
"desc": "Emitted after component has triggered show()",
|
|
86
|
-
"params": {
|
|
87
|
-
"evt": {
|
|
88
|
-
"type": "Event",
|
|
89
|
-
"desc": "JS event object",
|
|
90
|
-
"required": true
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
},
|
|
94
|
-
"before-hide": {
|
|
95
|
-
"desc": "Emitted when component triggers hide() but before it finishes doing it",
|
|
96
|
-
"params": {
|
|
97
|
-
"evt": {
|
|
98
|
-
"type": "Event",
|
|
99
|
-
"desc": "JS event object",
|
|
100
|
-
"required": true
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
},
|
|
104
|
-
"hide": {
|
|
105
|
-
"desc": "Emitted after component has triggered hide()",
|
|
106
|
-
"params": {
|
|
107
|
-
"evt": {
|
|
108
|
-
"type": "Event",
|
|
109
|
-
"desc": "JS event object",
|
|
110
|
-
"required": true
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
|
-
"methods": {
|
|
116
|
-
"show": {
|
|
117
|
-
"desc": "Triggers component to show",
|
|
118
|
-
"params": {
|
|
119
|
-
"evt": {
|
|
120
|
-
"type": "Event",
|
|
121
|
-
"desc": "JS event object",
|
|
122
|
-
"required": false
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
},
|
|
126
|
-
"hide": {
|
|
127
|
-
"desc": "Triggers component to hide",
|
|
128
|
-
"params": {
|
|
129
|
-
"evt": {
|
|
130
|
-
"type": "Event",
|
|
131
|
-
"desc": "JS event object",
|
|
132
|
-
"required": false
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
},
|
|
136
|
-
"toggle": {
|
|
137
|
-
"params": {
|
|
138
|
-
"evt": {
|
|
139
|
-
"type": "Event",
|
|
140
|
-
"desc": "JS event object",
|
|
141
|
-
"required": false
|
|
142
|
-
}
|
|
143
|
-
},
|
|
144
|
-
"desc": "Triggers component to toggle between show/hide"
|
|
145
|
-
}
|
|
146
|
-
},
|
|
147
|
-
"computedProps": {
|
|
148
|
-
"currentComponent": {
|
|
149
|
-
"type": "Object",
|
|
150
|
-
"desc": "Access current underlying component (QMenu or QDialog)",
|
|
151
|
-
"definition": {
|
|
152
|
-
"type": {
|
|
153
|
-
"type": "String",
|
|
154
|
-
"desc": "Component type",
|
|
155
|
-
"values": [
|
|
156
|
-
"dialog",
|
|
157
|
-
"menu"
|
|
158
|
-
]
|
|
159
|
-
},
|
|
160
|
-
"ref": {
|
|
161
|
-
"type": "Component",
|
|
162
|
-
"tsType": "QPopupProxyInnerComponent",
|
|
163
|
-
"desc": "The actual component (QMenu or QDialog); Access it directly, without '.value'"
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
}
|
|
1
|
+
{"type":"component","meta":{"docsUrl":"https://v2.quasar.dev/vue-components/popup-proxy"},"props":{"target":{"type":["Boolean","String","Element"],"desc":"Configure a target element to trigger component toggle; 'true' means it enables the parent DOM element, 'false' means it disables attaching events to any DOM elements; By using a String (CSS selector) or a DOM element it attaches the events to the specified DOM element (if it exists)","default":true,"values":["(Boolean) true","(Boolean) false","(CSS selector)","(DOM Element)"],"examples":[":target=\"false\"",":target=\"$refs.target\"","target=\".my-parent\"","target=\"#target-id\""],"category":"behavior","required":false},"no-parent-event":{"type":"Boolean","desc":"Skips attaching events to the target DOM element (that trigger the element to get shown)","category":"behavior"},"context-menu":{"type":"Boolean","desc":"Allows the component to behave like a context menu, which opens with a right mouse click (or long tap on mobile)","category":"behavior"},"model-value":{"desc":"Defines the state of the component (shown/hidden); Either use this property (along with a listener for 'update:modelValue' event) OR use v-model directive","required":false,"syncable":true,"category":"model","type":"Boolean"},"breakpoint":{"type":["Number","String"],"desc":"Breakpoint (in pixels) of window width/height (whichever is smaller) from where a Menu will get to be used instead of a Dialog","default":450,"category":"behavior","required":false}},"slots":{"default":{"desc":"Default slot in the devland unslotted content of the component"}},"events":{"update:model-value":{"desc":"Emitted when the component needs to change the model; Is also used by v-model","params":{"value":{"type":"Any","desc":"New model value","required":true}}},"before-show":{"desc":"Emitted when component triggers show() but before it finishes doing it","params":{"evt":{"type":"Event","desc":"JS event object","required":true}}},"show":{"desc":"Emitted after component has triggered show()","params":{"evt":{"type":"Event","desc":"JS event object","required":true}}},"before-hide":{"desc":"Emitted when component triggers hide() but before it finishes doing it","params":{"evt":{"type":"Event","desc":"JS event object","required":true}}},"hide":{"desc":"Emitted after component has triggered hide()","params":{"evt":{"type":"Event","desc":"JS event object","required":true}}}},"methods":{"show":{"desc":"Triggers component to show","params":{"evt":{"type":"Event","desc":"JS event object","required":false}}},"hide":{"desc":"Triggers component to hide","params":{"evt":{"type":"Event","desc":"JS event object","required":false}}},"toggle":{"params":{"evt":{"type":"Event","desc":"JS event object","required":false}},"desc":"Triggers component to toggle between show/hide"}},"computedProps":{"currentComponent":{"type":"Object","desc":"Access current underlying component (QMenu or QDialog)","definition":{"type":{"type":"String","desc":"Component type","values":["dialog","menu"]},"ref":{"type":"Component","tsType":"QPopupProxyInnerComponent","desc":"The actual component (QMenu or QDialog); Access it directly, without '.value'"}}}}}
|
|
@@ -1,91 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "component",
|
|
3
|
-
"meta": {
|
|
4
|
-
"docsUrl": "https://v2.quasar.dev/vue-components/pull-to-refresh"
|
|
5
|
-
},
|
|
6
|
-
"props": {
|
|
7
|
-
"color": {
|
|
8
|
-
"type": "String",
|
|
9
|
-
"tsType": "NamedColor",
|
|
10
|
-
"desc": "Color name for the icon from the Quasar Color Palette",
|
|
11
|
-
"examples": [
|
|
12
|
-
"primary",
|
|
13
|
-
"teal",
|
|
14
|
-
"teal-10"
|
|
15
|
-
],
|
|
16
|
-
"category": "style"
|
|
17
|
-
},
|
|
18
|
-
"bg-color": {
|
|
19
|
-
"type": "String",
|
|
20
|
-
"tsType": "NamedColor",
|
|
21
|
-
"desc": "Color name for background of the icon container from the Quasar Color Palette",
|
|
22
|
-
"examples": [
|
|
23
|
-
"primary",
|
|
24
|
-
"teal",
|
|
25
|
-
"teal-10"
|
|
26
|
-
],
|
|
27
|
-
"category": "style"
|
|
28
|
-
},
|
|
29
|
-
"icon": {
|
|
30
|
-
"type": "String",
|
|
31
|
-
"desc": "Icon to display when refreshing the content",
|
|
32
|
-
"examples": [
|
|
33
|
-
"map",
|
|
34
|
-
"ion-add",
|
|
35
|
-
"img:https://cdn.quasar.dev/logo-v2/svg/logo.svg",
|
|
36
|
-
"img:path/to/some_image.png"
|
|
37
|
-
],
|
|
38
|
-
"category": "content"
|
|
39
|
-
},
|
|
40
|
-
"no-mouse": {
|
|
41
|
-
"type": "Boolean",
|
|
42
|
-
"desc": "Don't listen for mouse events",
|
|
43
|
-
"category": "behavior"
|
|
44
|
-
},
|
|
45
|
-
"disable": {
|
|
46
|
-
"type": "Boolean",
|
|
47
|
-
"desc": "Put component in disabled mode",
|
|
48
|
-
"category": "state"
|
|
49
|
-
},
|
|
50
|
-
"scroll-target": {
|
|
51
|
-
"type": [
|
|
52
|
-
"Element",
|
|
53
|
-
"String"
|
|
54
|
-
],
|
|
55
|
-
"desc": "CSS selector or DOM element to be used as a custom scroll container instead of the auto detected one",
|
|
56
|
-
"examples": [
|
|
57
|
-
":scroll-target=\"$refs.scrollTarget\"",
|
|
58
|
-
"scroll-target=\".scroll-target-class\"",
|
|
59
|
-
"scroll-target=\"#scroll-target-id\"",
|
|
60
|
-
"scroll-target=\"body\""
|
|
61
|
-
],
|
|
62
|
-
"category": "behavior"
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
"slots": {
|
|
66
|
-
"default": {
|
|
67
|
-
"desc": "Content (area controlled by the component) goes here"
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
"events": {
|
|
71
|
-
"refresh": {
|
|
72
|
-
"desc": "Called whenever a refresh is triggered; at this time, your function should load more data",
|
|
73
|
-
"params": {
|
|
74
|
-
"done": {
|
|
75
|
-
"type": "Function",
|
|
76
|
-
"desc": "Call the done() function when your data has been refreshed",
|
|
77
|
-
"params": null,
|
|
78
|
-
"returns": null
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
"methods": {
|
|
84
|
-
"trigger": {
|
|
85
|
-
"desc": "Triggers a refresh"
|
|
86
|
-
},
|
|
87
|
-
"updateScrollTarget": {
|
|
88
|
-
"desc": "Updates the scroll target; Useful when the parent elements change so that the scrolling target also changes"
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
1
|
+
{"type":"component","meta":{"docsUrl":"https://v2.quasar.dev/vue-components/pull-to-refresh"},"props":{"color":{"type":"String","tsType":"NamedColor","desc":"Color name for the icon from the Quasar Color Palette","examples":["primary","teal","teal-10"],"category":"style"},"bg-color":{"type":"String","tsType":"NamedColor","desc":"Color name for background of the icon container from the Quasar Color Palette","examples":["primary","teal","teal-10"],"category":"style"},"icon":{"type":"String","desc":"Icon to display when refreshing the content","examples":["map","ion-add","img:https://cdn.quasar.dev/logo-v2/svg/logo.svg","img:path/to/some_image.png"],"category":"content"},"no-mouse":{"type":"Boolean","desc":"Don't listen for mouse events","category":"behavior"},"disable":{"type":"Boolean","desc":"Put component in disabled mode","category":"state"},"scroll-target":{"type":["Element","String"],"desc":"CSS selector or DOM element to be used as a custom scroll container instead of the auto detected one","examples":[":scroll-target=\"$refs.scrollTarget\"","scroll-target=\".scroll-target-class\"","scroll-target=\"#scroll-target-id\"","scroll-target=\"body\""],"category":"behavior"}},"slots":{"default":{"desc":"Content (area controlled by the component) goes here"}},"events":{"refresh":{"desc":"Called whenever a refresh is triggered; at this time, your function should load more data","params":{"done":{"type":"Function","desc":"Call the done() function when your data has been refreshed","params":null,"returns":null}}}},"methods":{"trigger":{"desc":"Triggers a refresh"},"updateScrollTarget":{"desc":"Updates the scroll target; Useful when the parent elements change so that the scrolling target also changes"}}}
|