quasar 2.10.0 → 2.10.2
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/Dialog.json +28 -69
- package/dist/api/Intersection.json +25 -100
- package/dist/api/Loading.json +5 -20
- package/dist/api/LoadingBar.json +1 -7
- package/dist/api/LocalStorage.json +4 -16
- package/dist/api/Morph.json +2 -14
- package/dist/api/Notify.json +0 -3
- package/dist/api/Platform.json +1 -4
- package/dist/api/QAjaxBar.json +1 -11
- package/dist/api/QBreadcrumbs.json +0 -8
- package/dist/api/QBtn.json +0 -3
- package/dist/api/QBtnDropdown.json +0 -12
- package/dist/api/QCarousel.json +0 -10
- package/dist/api/QCarouselControl.json +0 -3
- package/dist/api/QCircularProgress.json +0 -23
- package/dist/api/QColor.json +0 -3
- package/dist/api/QDialog.json +18 -9
- package/dist/api/QDrawer.json +0 -6
- package/dist/api/QExpansionItem.json +0 -3
- package/dist/api/QFab.json +1 -6
- package/dist/api/QFabAction.json +1 -3
- package/dist/api/QField.json +1 -6
- package/dist/api/QFile.json +12 -29
- package/dist/api/QFooter.json +0 -3
- package/dist/api/QHeader.json +0 -6
- package/dist/api/QInfiniteScroll.json +9 -16
- package/dist/api/QInnerLoading.json +0 -4
- package/dist/api/QInput.json +8 -15
- package/dist/api/QIntersection.json +0 -4
- package/dist/api/QItemLabel.json +0 -5
- package/dist/api/QKnob.json +3 -36
- package/dist/api/QLayout.json +6 -24
- package/dist/api/QLinearProgress.json +0 -6
- package/dist/api/QList.json +15 -0
- package/dist/api/QMenu.json +7 -12
- package/dist/api/QOptionGroup.json +0 -3
- package/dist/api/QPage.json +2 -8
- package/dist/api/QPageScroller.json +0 -9
- package/dist/api/QPageSticky.json +0 -3
- package/dist/api/QPagination.json +4 -25
- package/dist/api/QParallax.json +2 -14
- package/dist/api/QPopupEdit.json +0 -8
- package/dist/api/QPopupProxy.json +21 -4
- package/dist/api/QRange.json +5 -32
- package/dist/api/QRating.json +0 -4
- package/dist/api/QResizeObserver.json +2 -8
- package/dist/api/QScrollArea.json +8 -36
- package/dist/api/QScrollObserver.json +6 -24
- package/dist/api/QSelect.json +18 -108
- package/dist/api/QSlideItem.json +1 -6
- package/dist/api/QSlideTransition.json +0 -4
- package/dist/api/QSlider.json +3 -24
- package/dist/api/QSpinner.json +0 -4
- package/dist/api/QSplitter.json +1 -4
- package/dist/api/QStepper.json +0 -7
- package/dist/api/QTabPanels.json +0 -7
- package/dist/api/QTable.json +43 -191
- package/dist/api/QTabs.json +0 -6
- package/dist/api/QTime.json +3 -12
- package/dist/api/QTooltip.json +7 -18
- package/dist/api/QTree.json +0 -3
- package/dist/api/QUploader.json +5 -16
- package/dist/api/QVirtualScroll.json +11 -56
- package/dist/api/Screen.json +9 -36
- package/dist/api/Scroll.json +2 -8
- package/dist/api/SessionStorage.json +4 -16
- package/dist/api/TouchHold.json +3 -12
- package/dist/api/TouchPan.json +7 -28
- package/dist/api/TouchRepeat.json +6 -24
- package/dist/api/TouchSwipe.json +3 -12
- 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/fontawesome-v6-pro.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v6.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/material-symbols-outlined.umd.prod.js +1 -1
- package/dist/icon-set/material-symbols-rounded.umd.prod.js +1 -1
- package/dist/icon-set/material-symbols-sharp.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/mdi-v7.umd.prod.js +6 -0
- 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-fontawesome-v6.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 +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-material-symbols-outlined.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-symbols-rounded.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-symbols-sharp.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v7.umd.prod.js +6 -0
- 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-TN.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/eu.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/kz.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/mm.umd.prod.js +1 -1
- package/dist/lang/ms.umd.prod.js +1 -1
- package/dist/lang/my.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/sm.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/uz-Cyrl.umd.prod.js +1 -1
- package/dist/lang/uz-Latn.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 +3 -3
- package/dist/quasar.esm.js +223 -192
- package/dist/quasar.esm.prod.js +2 -2
- package/dist/quasar.prod.css +1 -1
- package/dist/quasar.rtl.css +10 -3
- package/dist/quasar.rtl.prod.css +1 -1
- package/dist/quasar.sass +5 -4
- package/dist/quasar.umd.js +222 -191
- package/dist/quasar.umd.prod.js +2 -2
- package/dist/types/api/dialog.d.ts +101 -0
- package/dist/types/api/qpopupproxy.d.ts +3 -0
- package/dist/types/api.d.ts +2 -0
- package/dist/types/index.d.ts +56 -97
- package/dist/vetur/quasar-attributes.json +4 -0
- package/dist/vetur/quasar-tags.json +2 -1
- package/dist/web-types/web-types.json +142 -132
- package/icon-set/mdi-v7.js +146 -0
- package/icon-set/mdi-v7.mjs +141 -0
- package/icon-set/svg-mdi-v7.js +224 -0
- package/icon-set/svg-mdi-v7.mjs +224 -0
- package/package.json +4 -4
- package/src/api.extends.json +1 -2
- package/src/components/ajax-bar/QAjaxBar.json +5 -11
- package/src/components/breadcrumbs/QBreadcrumbs.json +0 -2
- package/src/components/breadcrumbs/QBreadcrumbsEl.json +1 -2
- package/src/components/btn/QBtn.json +1 -3
- package/src/components/btn/__tests__/QBtn.spec.js +87 -14
- package/src/components/btn/__tests__/use-btn.spec.js +385 -58
- package/src/components/btn-dropdown/QBtnDropdown.js +4 -12
- package/src/components/btn-dropdown/QBtnDropdown.json +0 -2
- package/src/components/btn-toggle/QBtnToggle.json +2 -4
- package/src/components/carousel/QCarousel.json +4 -9
- package/src/components/carousel/QCarouselControl.json +0 -1
- package/src/components/checkbox/use-checkbox.json +1 -2
- package/src/components/circular-progress/QCircularProgress.json +0 -5
- package/src/components/color/QColor.json +0 -1
- package/src/components/date/QDate.js +6 -4
- package/src/components/date/QDate.json +28 -56
- package/src/components/dialog/QDialog.js +34 -41
- package/src/components/dialog/QDialog.json +9 -2
- package/src/components/dialog-bottom-sheet/BottomSheet.js +1 -2
- package/src/components/dialog-plugin/DialogPlugin.js +4 -4
- package/src/components/drawer/QDrawer.js +5 -5
- package/src/components/drawer/QDrawer.json +0 -4
- package/src/components/editor/QEditor.json +3 -6
- package/src/components/expansion-item/QExpansionItem.js +3 -4
- package/src/components/expansion-item/QExpansionItem.json +3 -8
- package/src/components/fab/QFab.js +3 -6
- package/src/components/fab/QFab.json +0 -1
- package/src/components/fab/QFab.sass +2 -1
- package/src/components/fab/use-fab.json +0 -1
- package/src/components/field/QField.json +0 -1
- package/src/components/file/QFile.js +4 -1
- package/src/components/file/QFile.json +19 -20
- package/src/components/footer/QFooter.json +0 -1
- package/src/components/form/QForm.js +5 -3
- package/src/components/form/QForm.json +2 -4
- package/src/components/header/QHeader.json +0 -4
- package/src/components/img/QImg.js +20 -19
- package/src/components/infinite-scroll/QInfiniteScroll.json +9 -6
- package/src/components/inner-loading/QInnerLoading.js +2 -5
- package/src/components/input/QInput.js +12 -3
- package/src/components/input/QInput.json +11 -7
- package/src/components/input/use-mask.js +3 -1
- package/src/components/intersection/QIntersection.json +0 -1
- package/src/components/item/QItem.json +1 -2
- package/src/components/item/QItemLabel.json +0 -1
- package/src/components/item/QList.js +7 -2
- package/src/components/item/QList.json +7 -0
- package/src/components/knob/QKnob.js +3 -3
- package/src/components/knob/QKnob.json +3 -12
- package/src/components/layout/QLayout.js +1 -1
- package/src/components/layout/QLayout.json +6 -12
- package/src/components/linear-progress/QLinearProgress.json +0 -2
- package/src/components/menu/QMenu.js +12 -6
- package/src/components/menu/QMenu.json +0 -2
- package/src/components/option-group/QOptionGroup.json +2 -5
- package/src/components/page/QPage.json +3 -6
- package/src/components/page-scroller/QPageScroller.json +0 -2
- package/src/components/page-sticky/QPageSticky.json +0 -1
- package/src/components/pagination/QPagination.json +5 -13
- package/src/components/parallax/QParallax.json +2 -6
- package/src/components/popup-edit/QPopupEdit.js +3 -3
- package/src/components/popup-edit/QPopupEdit.json +4 -10
- package/src/components/popup-proxy/QPopupProxy.js +6 -0
- package/src/components/popup-proxy/QPopupProxy.json +19 -1
- package/src/components/radio/QRadio.json +1 -2
- package/src/components/range/QRange.json +2 -4
- package/src/components/rating/QRating.json +0 -1
- package/src/components/resize-observer/QResizeObserver.json +2 -4
- package/src/components/scroll-area/QScrollArea.js +15 -4
- package/src/components/scroll-area/QScrollArea.json +24 -50
- package/src/components/scroll-observer/QScrollObserver.js +2 -0
- package/src/components/scroll-observer/QScrollObserver.json +6 -12
- package/src/components/select/QSelect.js +28 -27
- package/src/components/select/QSelect.json +30 -65
- package/src/components/select/QSelect.sass +2 -2
- package/src/components/slide-item/QSlideItem.json +1 -2
- package/src/components/slide-transition/QSlideTransition.json +0 -1
- package/src/components/slider/use-slider.json +33 -70
- package/src/components/spinner/QSpinner.json +0 -1
- package/src/components/splitter/QSplitter.json +1 -2
- package/src/components/table/QTable.js +3 -3
- package/src/components/table/QTable.json +118 -239
- package/src/components/tabs/QRouteTab.json +0 -1
- package/src/components/tabs/QTabs.json +0 -2
- package/src/components/time/QTime.json +10 -20
- package/src/components/tooltip/QTooltip.js +2 -5
- package/src/components/tooltip/QTooltip.json +0 -4
- package/src/components/tree/QTree.js +6 -6
- package/src/components/tree/QTree.json +15 -31
- package/src/components/uploader/QUploader.json +13 -22
- package/src/components/uploader/xhr-uploader-plugin.js +1 -1
- package/src/components/uploader/xhr-uploader-plugin.json +25 -50
- package/src/components/virtual-scroll/QVirtualScroll.json +5 -10
- package/src/components/virtual-scroll/use-virtual-scroll.js +1 -1
- package/src/components/virtual-scroll/use-virtual-scroll.json +8 -19
- package/src/composables/private/use-field.js +1 -1
- package/src/composables/private/use-field.json +2 -3
- package/src/composables/private/use-file.json +4 -13
- package/src/composables/private/use-model-toggle.js +3 -3
- package/src/composables/private/use-panel.js +2 -2
- package/src/composables/private/use-panel.json +0 -2
- package/src/composables/private/use-portal.js +5 -1
- package/src/composables/private/use-portal.json +7 -1
- package/src/composables/private/use-transition.js +17 -11
- package/src/composables/private/use-transition.json +0 -1
- package/src/composables/private/use-validate.json +1 -3
- package/src/directives/Intersection.json +26 -53
- package/src/directives/Morph.json +4 -8
- package/src/directives/Mutation.json +6 -12
- package/src/directives/Scroll.json +2 -4
- package/src/directives/TouchHold.json +3 -6
- package/src/directives/TouchPan.json +7 -14
- package/src/directives/TouchRepeat.json +6 -12
- package/src/directives/TouchSwipe.json +3 -6
- package/src/plugins/BottomSheet.json +1 -2
- package/src/plugins/Cookies.json +2 -4
- package/src/plugins/Dialog.json +35 -73
- package/src/plugins/Loading.json +6 -11
- package/src/plugins/LoadingBar.json +3 -6
- package/src/plugins/Notify.json +4 -5
- package/src/plugins/Platform.json +3 -6
- package/src/plugins/Screen.json +9 -18
- package/src/utils/private/global-dialog.json +6 -12
- package/src/utils/private/portal.js +4 -4
- package/src/utils/private/web-storage.json +6 -10
|
@@ -29,13 +29,11 @@
|
|
|
29
29
|
"definition": {
|
|
30
30
|
"top": {
|
|
31
31
|
"type": "Number",
|
|
32
|
-
"desc": "Vertical offset from top of window"
|
|
33
|
-
"examples": [ 235 ]
|
|
32
|
+
"desc": "Vertical offset from top of window"
|
|
34
33
|
},
|
|
35
34
|
"left": {
|
|
36
35
|
"type": "Number",
|
|
37
|
-
"desc": "Horizontal offset from left of window"
|
|
38
|
-
"examples": [ 235 ]
|
|
36
|
+
"desc": "Horizontal offset from left of window"
|
|
39
37
|
}
|
|
40
38
|
}
|
|
41
39
|
},
|
|
@@ -54,8 +52,7 @@
|
|
|
54
52
|
},
|
|
55
53
|
"duration": {
|
|
56
54
|
"type": "Number",
|
|
57
|
-
"desc": "How long it took to trigger the event (in milliseconds)"
|
|
58
|
-
"examples": [ 612 ]
|
|
55
|
+
"desc": "How long it took to trigger the event (in milliseconds)"
|
|
59
56
|
},
|
|
60
57
|
"distance": {
|
|
61
58
|
"type": "Object",
|
|
@@ -63,13 +60,11 @@
|
|
|
63
60
|
"definition": {
|
|
64
61
|
"x": {
|
|
65
62
|
"type": "Number",
|
|
66
|
-
"desc": "Absolute distance horizontally"
|
|
67
|
-
"examples": [ 231 ]
|
|
63
|
+
"desc": "Absolute distance horizontally"
|
|
68
64
|
},
|
|
69
65
|
"y": {
|
|
70
66
|
"type": "Number",
|
|
71
|
-
"desc": "Absolute distance vertically"
|
|
72
|
-
"examples": [ 231 ]
|
|
67
|
+
"desc": "Absolute distance vertically"
|
|
73
68
|
}
|
|
74
69
|
}
|
|
75
70
|
},
|
|
@@ -95,13 +90,11 @@
|
|
|
95
90
|
"definition": {
|
|
96
91
|
"x": {
|
|
97
92
|
"type": "Number",
|
|
98
|
-
"desc": "Distance horizontally"
|
|
99
|
-
"examples": [ 2 ]
|
|
93
|
+
"desc": "Distance horizontally"
|
|
100
94
|
},
|
|
101
95
|
"y": {
|
|
102
96
|
"type": "Number",
|
|
103
|
-
"desc": "Distance vertically"
|
|
104
|
-
"examples": [ 1 ]
|
|
97
|
+
"desc": "Distance vertically"
|
|
105
98
|
}
|
|
106
99
|
}
|
|
107
100
|
}
|
|
@@ -33,35 +33,29 @@
|
|
|
33
33
|
"definition": {
|
|
34
34
|
"top": {
|
|
35
35
|
"type": "Number",
|
|
36
|
-
"desc": "Vertical offset from top of window"
|
|
37
|
-
"examples": [ 235 ]
|
|
36
|
+
"desc": "Vertical offset from top of window"
|
|
38
37
|
},
|
|
39
38
|
"left": {
|
|
40
39
|
"type": "Number",
|
|
41
|
-
"desc": "Horizontal offset from left of window"
|
|
42
|
-
"examples": [ 235 ]
|
|
40
|
+
"desc": "Horizontal offset from left of window"
|
|
43
41
|
}
|
|
44
42
|
}
|
|
45
43
|
},
|
|
46
44
|
"keyCode": {
|
|
47
45
|
"type": "Number",
|
|
48
|
-
"desc": "Keycode; Supplied ONLY if it's a keyboard event"
|
|
49
|
-
"examples": [ 65 ]
|
|
46
|
+
"desc": "Keycode; Supplied ONLY if it's a keyboard event"
|
|
50
47
|
},
|
|
51
48
|
"duration": {
|
|
52
49
|
"type": "Number",
|
|
53
|
-
"desc": "How long it took to trigger the event (in milliseconds)"
|
|
54
|
-
"examples": [ 612 ]
|
|
50
|
+
"desc": "How long it took to trigger the event (in milliseconds)"
|
|
55
51
|
},
|
|
56
52
|
"repeatCount": {
|
|
57
53
|
"type": "Number",
|
|
58
|
-
"desc": "Handler called for nth time"
|
|
59
|
-
"examples": [ 2 ]
|
|
54
|
+
"desc": "Handler called for nth time"
|
|
60
55
|
},
|
|
61
56
|
"startTime": {
|
|
62
57
|
"type": "Number",
|
|
63
|
-
"desc": "Unix timestamp of the moment when event started; Equivalent to Date.now()"
|
|
64
|
-
"examples": [ 1558603256472 ]
|
|
58
|
+
"desc": "Unix timestamp of the moment when event started; Equivalent to Date.now()"
|
|
65
59
|
}
|
|
66
60
|
}
|
|
67
61
|
}
|
|
@@ -30,8 +30,7 @@
|
|
|
30
30
|
},
|
|
31
31
|
"duration": {
|
|
32
32
|
"type": "Number",
|
|
33
|
-
"desc": "How long it took to trigger the event (in milliseconds)"
|
|
34
|
-
"examples": [ 612 ]
|
|
33
|
+
"desc": "How long it took to trigger the event (in milliseconds)"
|
|
35
34
|
},
|
|
36
35
|
"distance": {
|
|
37
36
|
"type": "Object",
|
|
@@ -39,13 +38,11 @@
|
|
|
39
38
|
"definition": {
|
|
40
39
|
"x": {
|
|
41
40
|
"type": "Number",
|
|
42
|
-
"desc": "Absolute distance horizontally"
|
|
43
|
-
"examples": [ 231 ]
|
|
41
|
+
"desc": "Absolute distance horizontally"
|
|
44
42
|
},
|
|
45
43
|
"y": {
|
|
46
44
|
"type": "Number",
|
|
47
|
-
"desc": "Absolute distance vertically"
|
|
48
|
-
"examples": [ 231 ]
|
|
45
|
+
"desc": "Absolute distance vertically"
|
|
49
46
|
}
|
|
50
47
|
}
|
|
51
48
|
}
|
package/src/plugins/Cookies.json
CHANGED
|
@@ -145,15 +145,13 @@
|
|
|
145
145
|
"ssrContext": {
|
|
146
146
|
"type": "Object",
|
|
147
147
|
"desc": "SSR Context Object",
|
|
148
|
-
"required": true
|
|
149
|
-
"__exemption": [ "examples" ]
|
|
148
|
+
"required": true
|
|
150
149
|
}
|
|
151
150
|
},
|
|
152
151
|
"returns": {
|
|
153
152
|
"type": "Object",
|
|
154
153
|
"tsType": "Cookies",
|
|
155
|
-
"desc": "Cookie object (like $q.cookies) for SSR usage purposes"
|
|
156
|
-
"__exemption": [ "examples" ]
|
|
154
|
+
"desc": "Cookie object (like $q.cookies) for SSR usage purposes"
|
|
157
155
|
}
|
|
158
156
|
}
|
|
159
157
|
}
|
package/src/plugins/Dialog.json
CHANGED
|
@@ -42,14 +42,14 @@
|
|
|
42
42
|
|
|
43
43
|
"prompt": {
|
|
44
44
|
"type": "Object",
|
|
45
|
+
"tsType": "QDialogInputPrompt",
|
|
45
46
|
"desc": "An object definition of the input field for the prompting question.",
|
|
46
47
|
"examples": [ "prompt: { model: this.promptVal, type: 'number' }" ],
|
|
47
48
|
"definition": {
|
|
48
49
|
"model": {
|
|
49
50
|
"type": "String",
|
|
50
51
|
"required": true,
|
|
51
|
-
"desc": "The initial value of the input"
|
|
52
|
-
"__exemption": [ "examples" ]
|
|
52
|
+
"desc": "The initial value of the input"
|
|
53
53
|
},
|
|
54
54
|
|
|
55
55
|
"type": {
|
|
@@ -66,8 +66,7 @@
|
|
|
66
66
|
"val": {
|
|
67
67
|
"type": "String",
|
|
68
68
|
"required": true,
|
|
69
|
-
"desc": "The value of the input"
|
|
70
|
-
"__exemption": [ "examples" ]
|
|
69
|
+
"desc": "The value of the input"
|
|
71
70
|
}
|
|
72
71
|
},
|
|
73
72
|
"returns": {
|
|
@@ -76,78 +75,28 @@
|
|
|
76
75
|
}
|
|
77
76
|
},
|
|
78
77
|
|
|
79
|
-
"
|
|
80
|
-
"type": "
|
|
81
|
-
"desc": "
|
|
82
|
-
"examples": [ "{ autocomplete: 'off' }" ]
|
|
83
|
-
},
|
|
84
|
-
|
|
85
|
-
"label": {
|
|
86
|
-
"type": "String",
|
|
87
|
-
"desc": "A text label that will “float” up above the input field, once the field gets focus",
|
|
88
|
-
"examples": [ "Username" ]
|
|
89
|
-
},
|
|
90
|
-
|
|
91
|
-
"stackLabel": {
|
|
92
|
-
"type": "Boolean",
|
|
93
|
-
"desc": "Label will be always shown above the field regardless of field content (if any)"
|
|
94
|
-
},
|
|
95
|
-
|
|
96
|
-
"filled": {
|
|
97
|
-
"type": "Boolean",
|
|
98
|
-
"desc": "Use 'filled' design for the field"
|
|
99
|
-
},
|
|
100
|
-
|
|
101
|
-
"outlined": {
|
|
102
|
-
"type": "Boolean",
|
|
103
|
-
"desc": "Use 'outlined' design for the field"
|
|
104
|
-
},
|
|
105
|
-
|
|
106
|
-
"standout": {
|
|
107
|
-
"type": [ "Boolean", "String" ],
|
|
108
|
-
"desc": "Use 'standout' design for the field; Specifies classes to be applied when focused (overriding default ones)",
|
|
78
|
+
"...QInputProps": {
|
|
79
|
+
"type": "Any",
|
|
80
|
+
"desc": "Any QInput props, like color, label, stackLabel, filled, outlined, rounded, prefix etc",
|
|
109
81
|
"examples": [
|
|
110
|
-
"
|
|
111
|
-
"standout
|
|
82
|
+
"label: 'My Label'",
|
|
83
|
+
"standout: true",
|
|
84
|
+
"counter: true",
|
|
85
|
+
"maxlength: 12"
|
|
112
86
|
]
|
|
113
87
|
},
|
|
114
88
|
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
"square": {
|
|
120
|
-
"type": "Boolean",
|
|
121
|
-
"desc": "Remove border-radius so borders are squared; Overrides 'rounded' prop"
|
|
122
|
-
},
|
|
123
|
-
|
|
124
|
-
"counter": {
|
|
125
|
-
"type": "Boolean",
|
|
126
|
-
"desc": "Show an automatic counter on bottom right"
|
|
127
|
-
},
|
|
128
|
-
|
|
129
|
-
"maxlength": {
|
|
130
|
-
"type": [ "String", "Number" ],
|
|
131
|
-
"desc": "Specify a max length of model",
|
|
132
|
-
"examples": [ "12" ]
|
|
133
|
-
},
|
|
134
|
-
|
|
135
|
-
"prefix": {
|
|
136
|
-
"type": "String",
|
|
137
|
-
"desc": "Prefix",
|
|
138
|
-
"examples": [ "$" ]
|
|
139
|
-
},
|
|
140
|
-
|
|
141
|
-
"suffix": {
|
|
142
|
-
"type": "String",
|
|
143
|
-
"desc": "Suffix",
|
|
144
|
-
"examples": [ "@gmail.com" ]
|
|
89
|
+
"...nativeAttributes": {
|
|
90
|
+
"type": "Object",
|
|
91
|
+
"desc": "Any native attributes to pass to the prompt control",
|
|
92
|
+
"examples": [ "autocomplete: 'off'" ]
|
|
145
93
|
}
|
|
146
94
|
}
|
|
147
95
|
},
|
|
148
96
|
|
|
149
97
|
"options": {
|
|
150
98
|
"type": "Object",
|
|
99
|
+
"tsType": "QDialogSelectionPrompt",
|
|
151
100
|
"desc": "An object definition for creating the selection form content",
|
|
152
101
|
"examples": [ "{ model: this.dialogSelection, type: 'radio', items: [...listOfItems] }" ],
|
|
153
102
|
"definition": {
|
|
@@ -167,7 +116,7 @@
|
|
|
167
116
|
|
|
168
117
|
"items": {
|
|
169
118
|
"type": "Array",
|
|
170
|
-
"desc": "The list of options to interact with; Equivalent to options prop of the
|
|
119
|
+
"desc": "The list of options to interact with; Equivalent to options prop of the QOptionGroup component",
|
|
171
120
|
"examples": [
|
|
172
121
|
"[ { label: 'Option 1', value: 'op1' }, { label: 'Option 2', value: 'op2' }, { label: 'Option 3', value: 'op3' } ]"
|
|
173
122
|
]
|
|
@@ -193,6 +142,22 @@
|
|
|
193
142
|
"type": "Boolean",
|
|
194
143
|
"desc": "The selection passed validation or not"
|
|
195
144
|
}
|
|
145
|
+
},
|
|
146
|
+
|
|
147
|
+
"...QOptionGroupProps": {
|
|
148
|
+
"type": "Any",
|
|
149
|
+
"desc": "Any QOptionGroup props",
|
|
150
|
+
"examples": [
|
|
151
|
+
"color: 'deep-purple-4'",
|
|
152
|
+
"inline: true",
|
|
153
|
+
"dense: true",
|
|
154
|
+
"leftLabel: true"
|
|
155
|
+
]
|
|
156
|
+
},
|
|
157
|
+
|
|
158
|
+
"...nativeAttributes": {
|
|
159
|
+
"type": "Object",
|
|
160
|
+
"desc": "Any native attributes to pass to the inner QOptionGroup"
|
|
196
161
|
}
|
|
197
162
|
}
|
|
198
163
|
},
|
|
@@ -217,8 +182,7 @@
|
|
|
217
182
|
"definition": {
|
|
218
183
|
"...props": {
|
|
219
184
|
"type": "Any",
|
|
220
|
-
"desc": "See QBtn for available props"
|
|
221
|
-
"__exemption": [ "examples" ]
|
|
185
|
+
"desc": "See QBtn for available props"
|
|
222
186
|
}
|
|
223
187
|
}
|
|
224
188
|
},
|
|
@@ -229,8 +193,7 @@
|
|
|
229
193
|
"definition": {
|
|
230
194
|
"...props": {
|
|
231
195
|
"type": "Any",
|
|
232
|
-
"desc": "See QBtn for available props"
|
|
233
|
-
"__exemption": [ "examples" ]
|
|
196
|
+
"desc": "See QBtn for available props"
|
|
234
197
|
}
|
|
235
198
|
}
|
|
236
199
|
},
|
|
@@ -314,8 +277,7 @@
|
|
|
314
277
|
|
|
315
278
|
"componentProps": {
|
|
316
279
|
"type": "Object",
|
|
317
|
-
"desc": "User defined props which will be forwarded to underlying custom component if 'component' prop is used"
|
|
318
|
-
"__exemption": [ "examples" ]
|
|
280
|
+
"desc": "User defined props which will be forwarded to underlying custom component if 'component' prop is used"
|
|
319
281
|
}
|
|
320
282
|
}
|
|
321
283
|
}
|
package/src/plugins/Loading.json
CHANGED
|
@@ -36,8 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"spinnerSize": {
|
|
38
38
|
"type": "Number",
|
|
39
|
-
"desc": "Spinner size (in pixels)"
|
|
40
|
-
"examples": [ 60 ]
|
|
39
|
+
"desc": "Spinner size (in pixels)"
|
|
41
40
|
},
|
|
42
41
|
"spinnerColor": {
|
|
43
42
|
"extends": "color",
|
|
@@ -84,8 +83,7 @@
|
|
|
84
83
|
"definition": {
|
|
85
84
|
"delay": {
|
|
86
85
|
"type": "Number",
|
|
87
|
-
"desc": "Wait a number of millisecond before showing; Not worth showing for 100ms for example then hiding it, so wait until you're sure it's a process that will take some considerable amount of time"
|
|
88
|
-
"examples": [ 400 ]
|
|
86
|
+
"desc": "Wait a number of millisecond before showing; Not worth showing for 100ms for example then hiding it, so wait until you're sure it's a process that will take some considerable amount of time"
|
|
89
87
|
},
|
|
90
88
|
"message": {
|
|
91
89
|
"type": "String",
|
|
@@ -109,8 +107,7 @@
|
|
|
109
107
|
},
|
|
110
108
|
"spinnerSize": {
|
|
111
109
|
"type": "Number",
|
|
112
|
-
"desc": "Spinner size (in pixels)"
|
|
113
|
-
"examples": [ 60 ]
|
|
110
|
+
"desc": "Spinner size (in pixels)"
|
|
114
111
|
},
|
|
115
112
|
"spinnerColor": {
|
|
116
113
|
"extends": "color",
|
|
@@ -149,7 +146,7 @@
|
|
|
149
146
|
"tsType": "QLoadingUpdateOptions",
|
|
150
147
|
"required": false,
|
|
151
148
|
"desc": "Loading properties that will be shallow merged to the group ones; (See 'opts' param of 'show()' for object properties, except 'group')",
|
|
152
|
-
"__exemption": [ "definition"
|
|
149
|
+
"__exemption": [ "definition" ]
|
|
153
150
|
}
|
|
154
151
|
},
|
|
155
152
|
"returns": null,
|
|
@@ -180,8 +177,7 @@
|
|
|
180
177
|
"definition": {
|
|
181
178
|
"delay": {
|
|
182
179
|
"type": "Number",
|
|
183
|
-
"desc": "Wait a number of millisecond before showing; Not worth showing for 100ms for example then hiding it, so wait until you're sure it's a process that will take some considerable amount of time"
|
|
184
|
-
"examples": [ 400 ]
|
|
180
|
+
"desc": "Wait a number of millisecond before showing; Not worth showing for 100ms for example then hiding it, so wait until you're sure it's a process that will take some considerable amount of time"
|
|
185
181
|
},
|
|
186
182
|
"message": {
|
|
187
183
|
"type": "String",
|
|
@@ -197,8 +193,7 @@
|
|
|
197
193
|
},
|
|
198
194
|
"spinnerSize": {
|
|
199
195
|
"type": "Number",
|
|
200
|
-
"desc": "Spinner size (in pixels)"
|
|
201
|
-
"examples": [ 60 ]
|
|
196
|
+
"desc": "Spinner size (in pixels)"
|
|
202
197
|
},
|
|
203
198
|
"spinnerColor": {
|
|
204
199
|
"extends": "color",
|
|
@@ -10,8 +10,7 @@
|
|
|
10
10
|
"definition": {
|
|
11
11
|
"...props": {
|
|
12
12
|
"type": "Object",
|
|
13
|
-
"desc": "QAjaxBar component props, EXCEPT for 'hijack-filter'"
|
|
14
|
-
"__exemption": [ "examples" ]
|
|
13
|
+
"desc": "QAjaxBar component props, EXCEPT for 'hijack-filter'"
|
|
15
14
|
}
|
|
16
15
|
}
|
|
17
16
|
},
|
|
@@ -31,8 +30,7 @@
|
|
|
31
30
|
"speed": {
|
|
32
31
|
"type": "Number",
|
|
33
32
|
"desc": "Delay (in milliseconds) between bar progress increments",
|
|
34
|
-
"default": 300
|
|
35
|
-
"examples": [ 150 ]
|
|
33
|
+
"default": 300
|
|
36
34
|
}
|
|
37
35
|
}
|
|
38
36
|
},
|
|
@@ -46,8 +44,7 @@
|
|
|
46
44
|
"params": {
|
|
47
45
|
"amount": {
|
|
48
46
|
"type": "Number",
|
|
49
|
-
"desc": "Amount (0.0 < x < 1.0) to increment with"
|
|
50
|
-
"examples": [ 0.22 ]
|
|
47
|
+
"desc": "Amount (0.0 < x < 1.0) to increment with"
|
|
51
48
|
}
|
|
52
49
|
}
|
|
53
50
|
},
|
package/src/plugins/Notify.json
CHANGED
|
@@ -165,8 +165,7 @@
|
|
|
165
165
|
"timeout": {
|
|
166
166
|
"type": "Number",
|
|
167
167
|
"desc": "Amount of time to display (in milliseconds)",
|
|
168
|
-
"default": 5000
|
|
169
|
-
"examples": [ 2500 ]
|
|
168
|
+
"default": 5000
|
|
170
169
|
},
|
|
171
170
|
|
|
172
171
|
"closeBtn": {
|
|
@@ -421,7 +420,7 @@
|
|
|
421
420
|
"tsType": "QNotifyUpdateOptions",
|
|
422
421
|
"required": false,
|
|
423
422
|
"desc": "Notification properties that will be shallow merged to previous ones in order to update the non-grouped notification; (See 'opts' param of 'create()' for object properties, except 'group' and 'position')",
|
|
424
|
-
"__exemption": [ "definition"
|
|
423
|
+
"__exemption": [ "definition" ]
|
|
425
424
|
}
|
|
426
425
|
},
|
|
427
426
|
"returns": null
|
|
@@ -436,7 +435,7 @@
|
|
|
436
435
|
"tsType": "QNotifyOptions",
|
|
437
436
|
"required": true,
|
|
438
437
|
"desc": "Notification options (See 'opts' param of 'create()' for object properties)",
|
|
439
|
-
"__exemption": [ "definition"
|
|
438
|
+
"__exemption": [ "definition" ]
|
|
440
439
|
}
|
|
441
440
|
}
|
|
442
441
|
},
|
|
@@ -456,7 +455,7 @@
|
|
|
456
455
|
"tsType": "QNotifyOptions",
|
|
457
456
|
"required": true,
|
|
458
457
|
"desc": "Notification options (See 'opts' param of 'create()' for object properties)",
|
|
459
|
-
"__exemption": [ "definition"
|
|
458
|
+
"__exemption": [ "definition" ]
|
|
460
459
|
}
|
|
461
460
|
}
|
|
462
461
|
}
|
|
@@ -37,8 +37,7 @@
|
|
|
37
37
|
"versionNumber": {
|
|
38
38
|
"type": "Number",
|
|
39
39
|
"required": false,
|
|
40
|
-
"desc": "Major browser version as a number"
|
|
41
|
-
"examples": [ 71 ]
|
|
40
|
+
"desc": "Major browser version as a number"
|
|
42
41
|
},
|
|
43
42
|
|
|
44
43
|
"desktop": {
|
|
@@ -224,15 +223,13 @@
|
|
|
224
223
|
"ssrContext": {
|
|
225
224
|
"type": "Object",
|
|
226
225
|
"desc": "SSR Context Object",
|
|
227
|
-
"required": true
|
|
228
|
-
"__exemption": [ "examples" ]
|
|
226
|
+
"required": true
|
|
229
227
|
}
|
|
230
228
|
},
|
|
231
229
|
"returns": {
|
|
232
230
|
"type": "Object",
|
|
233
231
|
"tsType": "Platform",
|
|
234
|
-
"desc": "Platform object (like $q.platform) for SSR usage purposes"
|
|
235
|
-
"__exemption": [ "examples" ]
|
|
232
|
+
"desc": "Platform object (like $q.platform) for SSR usage purposes"
|
|
236
233
|
}
|
|
237
234
|
}
|
|
238
235
|
}
|
package/src/plugins/Screen.json
CHANGED
|
@@ -33,23 +33,19 @@
|
|
|
33
33
|
"definition": {
|
|
34
34
|
"sm": {
|
|
35
35
|
"type": "Number",
|
|
36
|
-
"desc": "Breakpoint width size (minimum size)"
|
|
37
|
-
"examples": [ 600 ]
|
|
36
|
+
"desc": "Breakpoint width size (minimum size)"
|
|
38
37
|
},
|
|
39
38
|
"md": {
|
|
40
39
|
"type": "Number",
|
|
41
|
-
"desc": "Breakpoint width size (minimum size)"
|
|
42
|
-
"examples": [ 1024 ]
|
|
40
|
+
"desc": "Breakpoint width size (minimum size)"
|
|
43
41
|
},
|
|
44
42
|
"lg": {
|
|
45
43
|
"type": "Number",
|
|
46
|
-
"desc": "Breakpoint width size (minimum size)"
|
|
47
|
-
"examples": [ 1440 ]
|
|
44
|
+
"desc": "Breakpoint width size (minimum size)"
|
|
48
45
|
},
|
|
49
46
|
"xl": {
|
|
50
47
|
"type": "Number",
|
|
51
|
-
"desc": "Breakpoint width size (minimum size)"
|
|
52
|
-
"examples": [ 1920 ]
|
|
48
|
+
"desc": "Breakpoint width size (minimum size)"
|
|
53
49
|
}
|
|
54
50
|
},
|
|
55
51
|
"reactive": true,
|
|
@@ -153,23 +149,19 @@
|
|
|
153
149
|
"definition": {
|
|
154
150
|
"sm": {
|
|
155
151
|
"type": "Number",
|
|
156
|
-
"desc": "Breakpoint width size (minimum size)"
|
|
157
|
-
"examples": [ 600 ]
|
|
152
|
+
"desc": "Breakpoint width size (minimum size)"
|
|
158
153
|
},
|
|
159
154
|
"md": {
|
|
160
155
|
"type": "Number",
|
|
161
|
-
"desc": "Breakpoint width size (minimum size)"
|
|
162
|
-
"examples": [ 1024 ]
|
|
156
|
+
"desc": "Breakpoint width size (minimum size)"
|
|
163
157
|
},
|
|
164
158
|
"lg": {
|
|
165
159
|
"type": "Number",
|
|
166
|
-
"desc": "Breakpoint width size (minimum size)"
|
|
167
|
-
"examples": [ 1440 ]
|
|
160
|
+
"desc": "Breakpoint width size (minimum size)"
|
|
168
161
|
},
|
|
169
162
|
"xl": {
|
|
170
163
|
"type": "Number",
|
|
171
|
-
"desc": "Breakpoint width size (minimum size)"
|
|
172
|
-
"examples": [ 1920 ]
|
|
164
|
+
"desc": "Breakpoint width size (minimum size)"
|
|
173
165
|
}
|
|
174
166
|
},
|
|
175
167
|
"required": true
|
|
@@ -183,8 +175,7 @@
|
|
|
183
175
|
"amount": {
|
|
184
176
|
"type": "Number",
|
|
185
177
|
"desc": "Amount in milliseconds",
|
|
186
|
-
"required": true
|
|
187
|
-
"examples": [ 300 ]
|
|
178
|
+
"required": true
|
|
188
179
|
}
|
|
189
180
|
}
|
|
190
181
|
}
|
|
@@ -54,8 +54,7 @@
|
|
|
54
54
|
"returns": {
|
|
55
55
|
"type": "Object",
|
|
56
56
|
"desc": "Chained Object",
|
|
57
|
-
"tsType": "DialogChainObject"
|
|
58
|
-
"__exemption": [ "examples" ]
|
|
57
|
+
"tsType": "DialogChainObject"
|
|
59
58
|
}
|
|
60
59
|
},
|
|
61
60
|
|
|
@@ -75,8 +74,7 @@
|
|
|
75
74
|
"returns": {
|
|
76
75
|
"type": "Object",
|
|
77
76
|
"desc": "Chained Object",
|
|
78
|
-
"tsType": "DialogChainObject"
|
|
79
|
-
"__exemption": [ "examples" ]
|
|
77
|
+
"tsType": "DialogChainObject"
|
|
80
78
|
}
|
|
81
79
|
},
|
|
82
80
|
|
|
@@ -96,8 +94,7 @@
|
|
|
96
94
|
"returns": {
|
|
97
95
|
"type": "Object",
|
|
98
96
|
"desc": "Chained Object",
|
|
99
|
-
"tsType": "DialogChainObject"
|
|
100
|
-
"__exemption": [ "examples" ]
|
|
97
|
+
"tsType": "DialogChainObject"
|
|
101
98
|
}
|
|
102
99
|
},
|
|
103
100
|
|
|
@@ -109,8 +106,7 @@
|
|
|
109
106
|
"returns": {
|
|
110
107
|
"type": "Object",
|
|
111
108
|
"desc": "Chained Object",
|
|
112
|
-
"tsType": "DialogChainObject"
|
|
113
|
-
"__exemption": [ "examples" ]
|
|
109
|
+
"tsType": "DialogChainObject"
|
|
114
110
|
}
|
|
115
111
|
},
|
|
116
112
|
|
|
@@ -122,15 +118,13 @@
|
|
|
122
118
|
"opts": {
|
|
123
119
|
"type": "Object",
|
|
124
120
|
"required": true,
|
|
125
|
-
"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"
|
|
126
|
-
"__exemption": [ "examples" ]
|
|
121
|
+
"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"
|
|
127
122
|
}
|
|
128
123
|
},
|
|
129
124
|
"returns": {
|
|
130
125
|
"type": "Object",
|
|
131
126
|
"desc": "Chained Object",
|
|
132
|
-
"tsType": "DialogChainObject"
|
|
133
|
-
"__exemption": [ "examples" ]
|
|
127
|
+
"tsType": "DialogChainObject"
|
|
134
128
|
}
|
|
135
129
|
}
|
|
136
130
|
}
|
|
@@ -4,8 +4,8 @@ export const portalProxyList = []
|
|
|
4
4
|
|
|
5
5
|
export function getPortalProxy (el) {
|
|
6
6
|
return portalProxyList.find(proxy =>
|
|
7
|
-
proxy.
|
|
8
|
-
&& proxy.
|
|
7
|
+
proxy.contentEl !== null
|
|
8
|
+
&& proxy.contentEl.contains(el)
|
|
9
9
|
)
|
|
10
10
|
}
|
|
11
11
|
|
|
@@ -19,7 +19,7 @@ export function closePortalMenus (proxy, evt) {
|
|
|
19
19
|
return getParentProxy(proxy)
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
else if (proxy.
|
|
22
|
+
else if (proxy.__qPortal === true) {
|
|
23
23
|
// treat it as point of separation if parent is QPopupProxy
|
|
24
24
|
// (so mobile matches desktop behavior)
|
|
25
25
|
// and hide it too
|
|
@@ -40,7 +40,7 @@ export function closePortalMenus (proxy, evt) {
|
|
|
40
40
|
|
|
41
41
|
export function closePortals (proxy, evt, depth) {
|
|
42
42
|
while (depth !== 0 && proxy !== void 0 && proxy !== null) {
|
|
43
|
-
if (proxy.
|
|
43
|
+
if (proxy.__qPortal === true) {
|
|
44
44
|
depth--
|
|
45
45
|
|
|
46
46
|
if (proxy.$options.name === 'QMenu') {
|