quasar 2.3.1 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/AppFullscreen.json +15 -8
- package/dist/api/BottomSheet.json +6 -0
- package/dist/api/Cookies.json +4 -3
- package/dist/api/Dialog.json +24 -10
- package/dist/api/Loading.json +0 -2
- package/dist/api/LoadingBar.json +8 -3
- package/dist/api/Morph.json +14 -7
- package/dist/api/Mutation.json +1 -1
- package/dist/api/Notify.json +41 -27
- package/dist/api/QAjaxBar.json +6 -3
- package/dist/api/QBreadcrumbs.json +8 -4
- package/dist/api/QBreadcrumbsEl.json +35 -12
- package/dist/api/QBtn.json +36 -17
- package/dist/api/QBtnDropdown.json +41 -20
- package/dist/api/QBtnToggle.json +7 -2
- package/dist/api/QCard.json +2 -1
- package/dist/api/QCardActions.json +2 -1
- package/dist/api/QCardSection.json +2 -1
- package/dist/api/QCarousel.json +10 -5
- package/dist/api/QCarouselControl.json +4 -2
- package/dist/api/QChatMessage.json +0 -4
- package/dist/api/QCheckbox.json +8 -4
- package/dist/api/QChip.json +2 -1
- package/dist/api/QCircularProgress.json +14 -7
- package/dist/api/QColor.json +6 -3
- package/dist/api/QDate.json +33 -5
- package/dist/api/QDialog.json +8 -4
- package/dist/api/QDrawer.json +10 -5
- package/dist/api/QEditor.json +10 -5
- package/dist/api/QExpansionItem.json +36 -13
- package/dist/api/QFab.json +41 -6
- package/dist/api/QFabAction.json +12 -2
- package/dist/api/QField.json +3 -1
- package/dist/api/QFile.json +8 -2
- package/dist/api/QFooter.json +2 -1
- package/dist/api/QForm.json +1 -1
- package/dist/api/QHeader.json +4 -2
- package/dist/api/QIcon.json +2 -1
- package/dist/api/QImg.json +8 -4
- package/dist/api/QInfiniteScroll.json +6 -3
- package/dist/api/QInnerLoading.json +8 -4
- package/dist/api/QInput.json +3 -1
- package/dist/api/QIntersection.json +4 -2
- package/dist/api/QItem.json +33 -11
- package/dist/api/QKnob.json +8 -4
- package/dist/api/QLayout.json +9 -1
- package/dist/api/QLinearProgress.json +4 -2
- package/dist/api/QMarkupTable.json +2 -1
- package/dist/api/QMenu.json +8 -4
- package/dist/api/QNoSsr.json +2 -1
- package/dist/api/QOptionGroup.json +76 -5
- package/dist/api/QPage.json +2 -1
- package/dist/api/QPageScroller.json +8 -4
- package/dist/api/QPageSticky.json +2 -1
- package/dist/api/QPagination.json +10 -6
- package/dist/api/QParallax.json +2 -1
- package/dist/api/QPopupEdit.json +5 -2
- package/dist/api/QPopupProxy.json +7 -4
- package/dist/api/QRange.json +600 -111
- package/dist/api/QRating.json +5 -2
- package/dist/api/QResizeObserver.json +4 -1
- package/dist/api/QRouteTab.json +35 -13
- package/dist/api/QScrollArea.json +29 -6
- package/dist/api/QScrollObserver.json +13 -1
- package/dist/api/QSelect.json +76 -47
- package/dist/api/QSeparator.json +2 -1
- package/dist/api/QSkeleton.json +8 -4
- package/dist/api/QSlideItem.json +9 -0
- package/dist/api/QSlideTransition.json +2 -1
- package/dist/api/QSlider.json +512 -43
- package/dist/api/QSpinner.json +2 -1
- package/dist/api/QSplitter.json +4 -2
- package/dist/api/QStep.json +2 -1
- package/dist/api/QStepper.json +6 -3
- package/dist/api/QTab.json +4 -2
- package/dist/api/QTabPanels.json +6 -3
- package/dist/api/QTable.json +154 -88
- package/dist/api/QTabs.json +4 -2
- package/dist/api/QTime.json +16 -4
- package/dist/api/QTimeline.json +4 -2
- package/dist/api/QTimelineEntry.json +4 -2
- package/dist/api/QToggle.json +8 -4
- package/dist/api/QTooltip.json +18 -9
- package/dist/api/QTree.json +34 -19
- package/dist/api/QUploader.json +28 -6
- package/dist/api/QVirtualScroll.json +26 -11
- package/dist/api/ScrollFire.json +1 -1
- package/dist/api/TouchHold.json +2 -1
- package/dist/api/TouchRepeat.json +2 -1
- package/dist/api/TouchSwipe.json +2 -1
- package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
- package/dist/icon-set/eva-icons.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
- package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
- package/dist/icon-set/line-awesome.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
- package/dist/icon-set/material-icons.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v6.umd.prod.js +6 -0
- package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v4.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v5.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-themify.umd.prod.js +1 -1
- package/dist/icon-set/themify.umd.prod.js +1 -1
- package/dist/lang/ar.umd.prod.js +1 -1
- package/dist/lang/az-Latn.umd.prod.js +1 -1
- package/dist/lang/bg.umd.prod.js +1 -1
- package/dist/lang/bn.umd.prod.js +1 -1
- package/dist/lang/ca.umd.prod.js +1 -1
- package/dist/lang/cs.umd.prod.js +1 -1
- package/dist/lang/da.umd.prod.js +1 -1
- package/dist/lang/de.umd.prod.js +1 -1
- package/dist/lang/el.umd.prod.js +1 -1
- package/dist/lang/en-GB.umd.prod.js +1 -1
- package/dist/lang/en-US.umd.prod.js +1 -1
- package/dist/lang/eo.umd.prod.js +1 -1
- package/dist/lang/es.umd.prod.js +1 -1
- package/dist/lang/et.umd.prod.js +1 -1
- package/dist/lang/fa-IR.umd.prod.js +1 -1
- package/dist/lang/fa.umd.prod.js +1 -1
- package/dist/lang/fi.umd.prod.js +1 -1
- package/dist/lang/fr.umd.prod.js +1 -1
- package/dist/lang/gn.umd.prod.js +1 -1
- package/dist/lang/he.umd.prod.js +1 -1
- package/dist/lang/hr.umd.prod.js +1 -1
- package/dist/lang/hu.umd.prod.js +1 -1
- package/dist/lang/id.umd.prod.js +1 -1
- package/dist/lang/is.umd.prod.js +1 -1
- package/dist/lang/it.umd.prod.js +1 -1
- package/dist/lang/ja.umd.prod.js +1 -1
- package/dist/lang/km.umd.prod.js +1 -1
- package/dist/lang/ko-KR.umd.prod.js +1 -1
- package/dist/lang/kur-CKB.umd.prod.js +1 -1
- package/dist/lang/lt.umd.prod.js +1 -1
- package/dist/lang/lu.umd.prod.js +1 -1
- package/dist/lang/lv.umd.prod.js +1 -1
- package/dist/lang/ml.umd.prod.js +1 -1
- package/dist/lang/ms.umd.prod.js +1 -1
- package/dist/lang/nb-NO.umd.prod.js +1 -1
- package/dist/lang/nl.umd.prod.js +1 -1
- package/dist/lang/pl.umd.prod.js +1 -1
- package/dist/lang/pt-BR.umd.prod.js +1 -1
- package/dist/lang/pt.umd.prod.js +1 -1
- package/dist/lang/ro.umd.prod.js +1 -1
- package/dist/lang/ru.umd.prod.js +1 -1
- package/dist/lang/sk.umd.prod.js +1 -1
- package/dist/lang/sl.umd.prod.js +1 -1
- package/dist/lang/sr-CYR.umd.prod.js +1 -1
- package/dist/lang/sr.umd.prod.js +1 -1
- package/dist/lang/sv.umd.prod.js +1 -1
- package/dist/lang/ta.umd.prod.js +1 -1
- package/dist/lang/th.umd.prod.js +1 -1
- package/dist/lang/tr.umd.prod.js +1 -1
- package/dist/lang/ug.umd.prod.js +1 -1
- package/dist/lang/uk.umd.prod.js +1 -1
- package/dist/lang/vi.umd.prod.js +1 -1
- package/dist/lang/zh-CN.umd.prod.js +1 -1
- package/dist/lang/zh-TW.umd.prod.js +1 -1
- package/dist/quasar.cjs.prod.js +2 -2
- package/dist/quasar.css +268 -184
- package/dist/quasar.esm.prod.js +2 -2
- package/dist/quasar.prod.css +1 -1
- package/dist/quasar.rtl.css +340 -263
- package/dist/quasar.rtl.prod.css +1 -1
- package/dist/quasar.sass +272 -212
- package/dist/quasar.umd.js +16532 -16216
- package/dist/quasar.umd.prod.js +2 -2
- package/dist/ssr-directives/Morph.js +1 -1
- package/dist/transforms/loader-asset-urls.json +20 -0
- package/dist/types/api/cookies.d.ts +1 -1
- package/dist/types/api/slider.d.ts +46 -0
- package/dist/types/api/validation.d.ts +4 -0
- package/dist/types/api.d.ts +2 -0
- package/dist/types/composables.d.ts +7 -3
- package/dist/types/extras/icon-set.d.ts +1 -0
- package/dist/types/index.d.ts +759 -177
- package/dist/vetur/quasar-attributes.json +251 -83
- package/dist/vetur/quasar-tags.json +59 -17
- package/dist/web-types/web-types.json +587 -155
- package/icon-set/svg-ionicons-v6.js +225 -0
- package/package.json +2 -2
- package/src/api.extends.json +0 -1
- package/src/components/breadcrumbs/QBreadcrumbs.js +7 -2
- package/src/components/breadcrumbs/QBreadcrumbs.sass +0 -3
- package/src/components/breadcrumbs/QBreadcrumbsEl.js +14 -8
- package/src/components/btn/QBtn.js +6 -5
- package/src/components/btn/use-btn.js +21 -21
- package/src/components/btn/use-btn.json +22 -13
- package/src/components/btn-dropdown/QBtnDropdown.json +1 -0
- package/src/components/btn-toggle/QBtnToggle.json +3 -0
- package/src/components/checkbox/use-checkbox.js +1 -1
- package/src/components/chip/QChip.json +1 -2
- package/src/components/color/QColor.js +32 -26
- package/src/components/color/QColor.sass +10 -23
- package/src/components/date/QDate.json +25 -1
- package/src/components/date/QDate.sass +2 -0
- package/src/components/drawer/QDrawer.js +18 -15
- package/src/components/editor/QEditor.js +3 -3
- package/src/components/editor/QEditor.sass +10 -1
- package/src/components/expansion-item/QExpansionItem.js +4 -1
- package/src/components/expansion-item/QExpansionItem.json +2 -1
- package/src/components/fab/QFab.js +18 -12
- package/src/components/fab/QFab.json +36 -1
- package/src/components/fab/QFab.sass +1 -1
- package/src/components/fab/QFabAction.js +14 -7
- package/src/components/fab/QFabAction.json +10 -0
- package/src/components/field/QField.json +3 -3
- package/src/components/file/QFile.js +12 -5
- package/src/components/file/QFile.json +9 -6
- package/src/components/file/QFile.sass +4 -2
- package/src/components/footer/QFooter.js +1 -1
- package/src/components/form/QForm.json +2 -3
- package/src/components/header/QHeader.js +1 -1
- package/src/components/icon/QIcon.js +2 -2
- package/src/components/infinite-scroll/QInfiniteScroll.js +4 -5
- package/src/components/item/QItem.js +2 -3
- package/src/components/layout/QLayout.json +8 -1
- package/src/components/linear-progress/QLinearProgress.js +3 -2
- package/src/components/linear-progress/QLinearProgress.sass +1 -1
- package/src/components/option-group/QOptionGroup.js +3 -0
- package/src/components/option-group/QOptionGroup.json +48 -2
- package/src/components/pagination/QPagination.json +0 -1
- package/src/components/parallax/QParallax.js +4 -2
- package/src/components/popup-edit/QPopupEdit.js +2 -5
- package/src/components/popup-edit/QPopupEdit.json +1 -0
- package/src/components/popup-proxy/QPopupProxy.json +2 -1
- package/src/components/radio/QRadio.js +2 -7
- package/src/components/range/QRange.js +103 -222
- package/src/components/range/QRange.json +11 -121
- package/src/components/rating/QRating.json +1 -1
- package/src/components/resize-observer/QResizeObserver.json +2 -0
- package/src/components/scroll-area/QScrollArea.js +11 -14
- package/src/components/scroll-area/QScrollArea.json +29 -9
- package/src/components/scroll-observer/QScrollObserver.json +11 -0
- package/src/components/select/QSelect.js +1 -1
- package/src/components/select/QSelect.json +41 -15
- package/src/components/slide-item/QSlideItem.json +9 -0
- package/src/components/slider/QSlider.js +46 -132
- package/src/components/slider/QSlider.json +1 -121
- package/src/components/slider/QSlider.sass +198 -132
- package/src/components/slider/use-slider.js +453 -109
- package/src/components/slider/use-slider.json +546 -0
- package/src/components/stepper/QStepper.js +3 -3
- package/src/components/stepper/QStepper.sass +24 -26
- package/src/components/table/QTable.js +27 -47
- package/src/components/table/QTable.json +104 -55
- package/src/components/table/table-pagination.js +4 -0
- package/src/components/tabs/QRouteTab.js +1 -2
- package/src/components/tabs/QRouteTab.json +0 -7
- package/src/components/tabs/QTabs.js +71 -20
- package/src/components/tabs/use-tab.js +26 -13
- package/src/components/time/QTime.json +8 -0
- package/src/components/tree/QTree.js +14 -12
- package/src/components/tree/QTree.json +26 -21
- package/src/components/tree/QTree.sass +45 -41
- package/src/components/uploader/QUploader.json +14 -2
- package/src/components/uploader/uploader-core.js +16 -9
- package/src/components/uploader/xhr-uploader-plugin.json +8 -3
- package/src/components/virtual-scroll/QVirtualScroll.json +15 -0
- package/src/components/virtual-scroll/QVirtualScroll.sass +1 -0
- package/src/components/virtual-scroll/use-virtual-scroll.js +30 -17
- package/src/components/virtual-scroll/use-virtual-scroll.json +7 -5
- package/src/composables/private/use-field.js +7 -7
- package/src/composables/private/use-file.js +20 -5
- package/src/composables/private/use-form.js +2 -3
- package/src/composables/private/use-fullscreen.js +15 -4
- package/src/composables/private/use-router-link.js +44 -23
- package/src/composables/private/use-router-link.json +26 -10
- package/src/composables/private/use-split-attrs.js +12 -9
- package/src/composables/private/use-validate.js +21 -15
- package/src/composables/private/use-validate.json +1 -0
- package/src/composables/use-dialog-plugin-component.js +1 -0
- package/src/css/core/helpers.sass +3 -0
- package/src/css/core/positioning.sass +5 -0
- package/src/directives/Mutation.json +2 -3
- package/src/directives/ScrollFire.js +1 -0
- package/src/directives/ScrollFire.json +2 -3
- package/src/icon-set.js +2 -4
- package/src/plugins/AppFullscreen.js +70 -53
- package/src/plugins/AppFullscreen.json +8 -8
- package/src/plugins/AppVisibility.js +2 -3
- package/src/plugins/BottomSheet.js +3 -5
- package/src/plugins/Cookies.json +2 -2
- package/src/plugins/Dialog.js +3 -5
- package/src/plugins/Dialog.json +6 -5
- package/src/plugins/LoadingBar.js +17 -18
- package/src/plugins/LoadingBar.json +4 -3
- package/src/plugins/Notify.js +296 -295
- package/src/plugins/Notify.json +13 -19
- package/src/plugins/Platform.js +14 -14
- package/src/utils/date.js +4 -4
- package/src/utils/dom.js +2 -2
- package/src/utils/open-url.js +2 -2
- package/src/utils/patterns.js +1 -0
- package/src/utils/private/define-reactive-plugin.js +10 -8
- package/src/utils/private/global-dialog.js +6 -8
- package/src/utils/private/global-dialog.json +6 -0
- package/src/utils/private/inject-obj-prop.js +13 -0
- package/src/utils/private/is.js +2 -2
package/dist/api/QImg.json
CHANGED
|
@@ -74,7 +74,8 @@
|
|
|
74
74
|
"(Number format) :initial-ratio=\"16/9\"",
|
|
75
75
|
"(String format) initial-ratio=\"1\""
|
|
76
76
|
],
|
|
77
|
-
"category": "style"
|
|
77
|
+
"category": "style",
|
|
78
|
+
"required": false
|
|
78
79
|
},
|
|
79
80
|
"width": {
|
|
80
81
|
"type": "String",
|
|
@@ -102,7 +103,8 @@
|
|
|
102
103
|
"lazy",
|
|
103
104
|
"eager"
|
|
104
105
|
],
|
|
105
|
-
"category": "behavior"
|
|
106
|
+
"category": "behavior",
|
|
107
|
+
"required": false
|
|
106
108
|
},
|
|
107
109
|
"crossorigin": {
|
|
108
110
|
"type": "String",
|
|
@@ -139,7 +141,8 @@
|
|
|
139
141
|
"none",
|
|
140
142
|
"scale-down"
|
|
141
143
|
],
|
|
142
|
-
"category": "style"
|
|
144
|
+
"category": "style",
|
|
145
|
+
"required": false
|
|
143
146
|
},
|
|
144
147
|
"position": {
|
|
145
148
|
"type": "String",
|
|
@@ -149,7 +152,8 @@
|
|
|
149
152
|
"0 0",
|
|
150
153
|
"20px 50px"
|
|
151
154
|
],
|
|
152
|
-
"category": "style"
|
|
155
|
+
"category": "style",
|
|
156
|
+
"required": false
|
|
153
157
|
},
|
|
154
158
|
"alt": {
|
|
155
159
|
"type": "String",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"examples": [
|
|
12
12
|
":offset=\"250\""
|
|
13
13
|
],
|
|
14
|
-
"category": "behavior"
|
|
14
|
+
"category": "behavior",
|
|
15
|
+
"required": false
|
|
15
16
|
},
|
|
16
17
|
"debounce": {
|
|
17
18
|
"type": [
|
|
@@ -24,7 +25,8 @@
|
|
|
24
25
|
"0",
|
|
25
26
|
"530"
|
|
26
27
|
],
|
|
27
|
-
"category": "behavior"
|
|
28
|
+
"category": "behavior",
|
|
29
|
+
"required": false
|
|
28
30
|
},
|
|
29
31
|
"initial-index": {
|
|
30
32
|
"type": "Number",
|
|
@@ -34,7 +36,8 @@
|
|
|
34
36
|
2,
|
|
35
37
|
3
|
|
36
38
|
],
|
|
37
|
-
"category": "behavior"
|
|
39
|
+
"category": "behavior",
|
|
40
|
+
"required": false
|
|
38
41
|
},
|
|
39
42
|
"scroll-target": {
|
|
40
43
|
"type": [
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"slide-down"
|
|
13
13
|
],
|
|
14
14
|
"category": "transition",
|
|
15
|
-
"default": "fade"
|
|
15
|
+
"default": "fade",
|
|
16
|
+
"required": false
|
|
16
17
|
},
|
|
17
18
|
"transition-hide": {
|
|
18
19
|
"type": "String",
|
|
@@ -22,7 +23,8 @@
|
|
|
22
23
|
"slide-down"
|
|
23
24
|
],
|
|
24
25
|
"category": "transition",
|
|
25
|
-
"default": "fade"
|
|
26
|
+
"default": "fade",
|
|
27
|
+
"required": false
|
|
26
28
|
},
|
|
27
29
|
"transition-duration": {
|
|
28
30
|
"type": [
|
|
@@ -35,7 +37,8 @@
|
|
|
35
37
|
500,
|
|
36
38
|
"1200"
|
|
37
39
|
],
|
|
38
|
-
"category": "transition"
|
|
40
|
+
"category": "transition",
|
|
41
|
+
"required": false
|
|
39
42
|
},
|
|
40
43
|
"size": {
|
|
41
44
|
"type": "String",
|
|
@@ -47,7 +50,8 @@
|
|
|
47
50
|
"md"
|
|
48
51
|
],
|
|
49
52
|
"category": "style",
|
|
50
|
-
"default": "42px"
|
|
53
|
+
"default": "42px",
|
|
54
|
+
"required": false
|
|
51
55
|
},
|
|
52
56
|
"showing": {
|
|
53
57
|
"type": "Boolean",
|
package/dist/api/QInput.json
CHANGED
|
@@ -84,6 +84,7 @@
|
|
|
84
84
|
},
|
|
85
85
|
"rules": {
|
|
86
86
|
"type": "Array",
|
|
87
|
+
"tsType": "ValidationRule",
|
|
87
88
|
"desc": "Array of Functions/Strings; If String, then it must be a name of one of the embedded validation rules",
|
|
88
89
|
"examples": [
|
|
89
90
|
":rules=\"[ val => val.length <= 3 || 'Please use maximum 3 characters' ]\"",
|
|
@@ -319,7 +320,8 @@
|
|
|
319
320
|
"examples": [
|
|
320
321
|
"password"
|
|
321
322
|
],
|
|
322
|
-
"category": "general"
|
|
323
|
+
"category": "general",
|
|
324
|
+
"required": false
|
|
323
325
|
},
|
|
324
326
|
"debounce": {
|
|
325
327
|
"type": [
|
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
"blockquote"
|
|
16
16
|
],
|
|
17
17
|
"category": "content",
|
|
18
|
-
"default": "div"
|
|
18
|
+
"default": "div",
|
|
19
|
+
"required": false
|
|
19
20
|
},
|
|
20
21
|
"once": {
|
|
21
22
|
"type": "Boolean",
|
|
@@ -78,7 +79,8 @@
|
|
|
78
79
|
"1200"
|
|
79
80
|
],
|
|
80
81
|
"category": "behavior",
|
|
81
|
-
"addedIn": "v2.3.1"
|
|
82
|
+
"addedIn": "v2.3.1",
|
|
83
|
+
"required": false
|
|
82
84
|
},
|
|
83
85
|
"disable": {
|
|
84
86
|
"type": "Boolean",
|
package/dist/api/QItem.json
CHANGED
|
@@ -9,38 +9,59 @@
|
|
|
9
9
|
"String",
|
|
10
10
|
"Object"
|
|
11
11
|
],
|
|
12
|
-
"desc": "Equivalent to Vue Router <router-link> 'to' property",
|
|
12
|
+
"desc": "Equivalent to Vue Router <router-link> 'to' property; Superseeded by 'href' prop if used",
|
|
13
13
|
"examples": [
|
|
14
14
|
"/home/dashboard",
|
|
15
15
|
":to=\"{ name: 'my-route-name' }\""
|
|
16
16
|
],
|
|
17
|
-
"category": "
|
|
17
|
+
"category": "navigation"
|
|
18
18
|
},
|
|
19
19
|
"exact": {
|
|
20
20
|
"type": "Boolean",
|
|
21
|
-
"desc": "Equivalent to Vue Router <router-link> 'exact' property",
|
|
22
|
-
"category": "
|
|
21
|
+
"desc": "Equivalent to Vue Router <router-link> 'exact' property; Superseeded by 'href' prop if used",
|
|
22
|
+
"category": "navigation"
|
|
23
23
|
},
|
|
24
24
|
"replace": {
|
|
25
25
|
"type": "Boolean",
|
|
26
|
-
"desc": "Equivalent to Vue Router <router-link> 'replace' property",
|
|
27
|
-
"category": "
|
|
26
|
+
"desc": "Equivalent to Vue Router <router-link> 'replace' property; Superseeded by 'href' prop if used",
|
|
27
|
+
"category": "navigation"
|
|
28
28
|
},
|
|
29
29
|
"active-class": {
|
|
30
30
|
"type": "String",
|
|
31
|
-
"desc": "Equivalent to Vue Router <router-link> 'active-class' property",
|
|
31
|
+
"desc": "Equivalent to Vue Router <router-link> 'active-class' property; Superseeded by 'href' prop if used",
|
|
32
32
|
"examples": [
|
|
33
33
|
"my-active-class"
|
|
34
34
|
],
|
|
35
|
-
"category": "
|
|
35
|
+
"category": "navigation"
|
|
36
36
|
},
|
|
37
37
|
"exact-active-class": {
|
|
38
38
|
"type": "String",
|
|
39
|
-
"desc": "Equivalent to Vue Router <router-link> 'active-class' property",
|
|
39
|
+
"desc": "Equivalent to Vue Router <router-link> 'active-class' property; Superseeded by 'href' prop if used",
|
|
40
40
|
"examples": [
|
|
41
41
|
"my-exact-active-class"
|
|
42
42
|
],
|
|
43
|
-
"category": "
|
|
43
|
+
"category": "navigation"
|
|
44
|
+
},
|
|
45
|
+
"href": {
|
|
46
|
+
"type": "String",
|
|
47
|
+
"desc": "Native <a> link href attribute; Has priority over the 'to'/'exact'/'replace'/'active-class'/'exact-active-class' props",
|
|
48
|
+
"examples": [
|
|
49
|
+
"http://quasar.dev"
|
|
50
|
+
],
|
|
51
|
+
"category": "navigation",
|
|
52
|
+
"addedIn": "v2.4"
|
|
53
|
+
},
|
|
54
|
+
"target": {
|
|
55
|
+
"type": "String",
|
|
56
|
+
"desc": "Native <a> link target attribute; Use it only along with 'href' prop; Has priority over the 'to'/'exact'/'replace'/'active-class'/'exact-active-class' props",
|
|
57
|
+
"examples": [
|
|
58
|
+
"_blank",
|
|
59
|
+
"_self",
|
|
60
|
+
"_parent",
|
|
61
|
+
"_top"
|
|
62
|
+
],
|
|
63
|
+
"category": "navigation",
|
|
64
|
+
"addedIn": "v2.4"
|
|
44
65
|
},
|
|
45
66
|
"disable": {
|
|
46
67
|
"type": "Boolean",
|
|
@@ -98,7 +119,8 @@
|
|
|
98
119
|
"div"
|
|
99
120
|
],
|
|
100
121
|
"category": "content",
|
|
101
|
-
"default": "div"
|
|
122
|
+
"default": "div",
|
|
123
|
+
"required": false
|
|
102
124
|
},
|
|
103
125
|
"manual-focus": {
|
|
104
126
|
"type": "Boolean",
|
package/dist/api/QKnob.json
CHANGED
|
@@ -58,7 +58,8 @@
|
|
|
58
58
|
"1",
|
|
59
59
|
"5"
|
|
60
60
|
],
|
|
61
|
-
"category": "model"
|
|
61
|
+
"category": "model",
|
|
62
|
+
"required": false
|
|
62
63
|
},
|
|
63
64
|
"instant-feedback": {
|
|
64
65
|
"type": "Boolean",
|
|
@@ -101,7 +102,8 @@
|
|
|
101
102
|
"16px",
|
|
102
103
|
"2rem"
|
|
103
104
|
],
|
|
104
|
-
"category": "style"
|
|
105
|
+
"category": "style",
|
|
106
|
+
"required": false
|
|
105
107
|
},
|
|
106
108
|
"thickness": {
|
|
107
109
|
"type": "Number",
|
|
@@ -111,7 +113,8 @@
|
|
|
111
113
|
1,
|
|
112
114
|
0.3
|
|
113
115
|
],
|
|
114
|
-
"category": "style"
|
|
116
|
+
"category": "style",
|
|
117
|
+
"required": false
|
|
115
118
|
},
|
|
116
119
|
"angle": {
|
|
117
120
|
"type": "Number",
|
|
@@ -122,7 +125,8 @@
|
|
|
122
125
|
40,
|
|
123
126
|
90
|
|
124
127
|
],
|
|
125
|
-
"category": "content"
|
|
128
|
+
"category": "content",
|
|
129
|
+
"required": false
|
|
126
130
|
},
|
|
127
131
|
"show-value": {
|
|
128
132
|
"type": "Boolean",
|
package/dist/api/QLayout.json
CHANGED
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"examples": [
|
|
12
12
|
"hHh lpR fFf"
|
|
13
13
|
],
|
|
14
|
-
"category": "content"
|
|
14
|
+
"category": "content",
|
|
15
|
+
"required": false
|
|
15
16
|
},
|
|
16
17
|
"container": {
|
|
17
18
|
"type": "Boolean",
|
|
@@ -34,6 +35,7 @@
|
|
|
34
35
|
"definition": {
|
|
35
36
|
"height": {
|
|
36
37
|
"type": "Number",
|
|
38
|
+
"required": true,
|
|
37
39
|
"desc": "Layout height",
|
|
38
40
|
"examples": [
|
|
39
41
|
575
|
|
@@ -41,6 +43,7 @@
|
|
|
41
43
|
},
|
|
42
44
|
"width": {
|
|
43
45
|
"type": "Number",
|
|
46
|
+
"required": true,
|
|
44
47
|
"desc": "Layout height",
|
|
45
48
|
"examples": [
|
|
46
49
|
575
|
|
@@ -59,6 +62,7 @@
|
|
|
59
62
|
"definition": {
|
|
60
63
|
"position": {
|
|
61
64
|
"type": "Number",
|
|
65
|
+
"required": true,
|
|
62
66
|
"desc": "Scroll offset from top (vertical)",
|
|
63
67
|
"examples": [
|
|
64
68
|
120
|
|
@@ -66,6 +70,7 @@
|
|
|
66
70
|
},
|
|
67
71
|
"direction": {
|
|
68
72
|
"type": "String",
|
|
73
|
+
"required": true,
|
|
69
74
|
"desc": "Direction of scroll",
|
|
70
75
|
"values": [
|
|
71
76
|
"up",
|
|
@@ -74,10 +79,12 @@
|
|
|
74
79
|
},
|
|
75
80
|
"directionChanged": {
|
|
76
81
|
"type": "Boolean",
|
|
82
|
+
"required": true,
|
|
77
83
|
"desc": "Has scroll direction changed since event was last emitted?"
|
|
78
84
|
},
|
|
79
85
|
"delta": {
|
|
80
86
|
"type": "Number",
|
|
87
|
+
"required": true,
|
|
81
88
|
"desc": "Vertical delta distance since event was last emitted",
|
|
82
89
|
"examples": [
|
|
83
90
|
120
|
|
@@ -85,6 +92,7 @@
|
|
|
85
92
|
},
|
|
86
93
|
"inflectionPoint": {
|
|
87
94
|
"type": "Number",
|
|
95
|
+
"required": true,
|
|
88
96
|
"desc": "Scroll offset from top (vertical)",
|
|
89
97
|
"examples": [
|
|
90
98
|
120
|
|
@@ -22,7 +22,8 @@
|
|
|
22
22
|
"examples": [
|
|
23
23
|
":value=\"0.28\""
|
|
24
24
|
],
|
|
25
|
-
"category": "model"
|
|
25
|
+
"category": "model",
|
|
26
|
+
"required": false
|
|
26
27
|
},
|
|
27
28
|
"buffer": {
|
|
28
29
|
"type": "Number",
|
|
@@ -97,7 +98,8 @@
|
|
|
97
98
|
],
|
|
98
99
|
"category": "style",
|
|
99
100
|
"default": 300,
|
|
100
|
-
"addedIn": "v2.3"
|
|
101
|
+
"addedIn": "v2.3",
|
|
102
|
+
"required": false
|
|
101
103
|
}
|
|
102
104
|
},
|
|
103
105
|
"slots": {
|
package/dist/api/QMenu.json
CHANGED
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"slide-down"
|
|
13
13
|
],
|
|
14
14
|
"category": "transition",
|
|
15
|
-
"default": "fade"
|
|
15
|
+
"default": "fade",
|
|
16
|
+
"required": false
|
|
16
17
|
},
|
|
17
18
|
"transition-hide": {
|
|
18
19
|
"type": "String",
|
|
@@ -22,7 +23,8 @@
|
|
|
22
23
|
"slide-down"
|
|
23
24
|
],
|
|
24
25
|
"category": "transition",
|
|
25
|
-
"default": "fade"
|
|
26
|
+
"default": "fade",
|
|
27
|
+
"required": false
|
|
26
28
|
},
|
|
27
29
|
"transition-duration": {
|
|
28
30
|
"type": [
|
|
@@ -35,7 +37,8 @@
|
|
|
35
37
|
500,
|
|
36
38
|
"1200"
|
|
37
39
|
],
|
|
38
|
-
"category": "transition"
|
|
40
|
+
"category": "transition",
|
|
41
|
+
"required": false
|
|
39
42
|
},
|
|
40
43
|
"target": {
|
|
41
44
|
"type": [
|
|
@@ -57,7 +60,8 @@
|
|
|
57
60
|
"target=\".my-parent\"",
|
|
58
61
|
"target=\"#target-id\""
|
|
59
62
|
],
|
|
60
|
-
"category": "behavior"
|
|
63
|
+
"category": "behavior",
|
|
64
|
+
"required": false
|
|
61
65
|
},
|
|
62
66
|
"no-parent-event": {
|
|
63
67
|
"type": "Boolean",
|
package/dist/api/QNoSsr.json
CHANGED
|
@@ -87,7 +87,8 @@
|
|
|
87
87
|
"examples": [
|
|
88
88
|
"checkbox"
|
|
89
89
|
],
|
|
90
|
-
"category": "content"
|
|
90
|
+
"category": "content",
|
|
91
|
+
"required": false
|
|
91
92
|
},
|
|
92
93
|
"color": {
|
|
93
94
|
"type": "String",
|
|
@@ -133,9 +134,44 @@
|
|
|
133
134
|
"label": {
|
|
134
135
|
"desc": "Generic slot for all labels",
|
|
135
136
|
"scope": {
|
|
136
|
-
"
|
|
137
|
+
"...self": {
|
|
137
138
|
"type": "Object",
|
|
138
|
-
"desc": "The corresponding option entry from the 'options' prop"
|
|
139
|
+
"desc": "The corresponding option entry from the 'options' prop",
|
|
140
|
+
"definition": {
|
|
141
|
+
"label": {
|
|
142
|
+
"type": "String",
|
|
143
|
+
"desc": "Label to display along the component",
|
|
144
|
+
"required": true,
|
|
145
|
+
"examples": [
|
|
146
|
+
"Option 1",
|
|
147
|
+
"Option 2",
|
|
148
|
+
"Option 3"
|
|
149
|
+
]
|
|
150
|
+
},
|
|
151
|
+
"value": {
|
|
152
|
+
"type": "Any",
|
|
153
|
+
"desc": "Value of the option that will be used by the component model",
|
|
154
|
+
"required": true,
|
|
155
|
+
"examples": [
|
|
156
|
+
"op1",
|
|
157
|
+
"op2",
|
|
158
|
+
"op3"
|
|
159
|
+
]
|
|
160
|
+
},
|
|
161
|
+
"disable": {
|
|
162
|
+
"type": "Boolean",
|
|
163
|
+
"desc": "If true, the option will be disabled"
|
|
164
|
+
},
|
|
165
|
+
"...props": {
|
|
166
|
+
"type": "Any",
|
|
167
|
+
"desc": "Any other props from QToggle, QCheckbox, or QRadio",
|
|
168
|
+
"examples": [
|
|
169
|
+
"val=\"car\"",
|
|
170
|
+
":true-value=\"trueValue\"",
|
|
171
|
+
"checked-icon=\"visibility\""
|
|
172
|
+
]
|
|
173
|
+
}
|
|
174
|
+
}
|
|
139
175
|
}
|
|
140
176
|
},
|
|
141
177
|
"addedIn": "v2.2"
|
|
@@ -143,9 +179,44 @@
|
|
|
143
179
|
"label-[name]": {
|
|
144
180
|
"desc": "Slot to define the specific label for the option at '[name]' where name is a 0-based index; Overrides the generic 'label' slot if used",
|
|
145
181
|
"scope": {
|
|
146
|
-
"...
|
|
182
|
+
"...self": {
|
|
147
183
|
"type": "Object",
|
|
148
|
-
"desc": "The corresponding option entry from the 'options' prop"
|
|
184
|
+
"desc": "The corresponding option entry from the 'options' prop",
|
|
185
|
+
"definition": {
|
|
186
|
+
"label": {
|
|
187
|
+
"type": "String",
|
|
188
|
+
"desc": "Label to display along the component",
|
|
189
|
+
"required": true,
|
|
190
|
+
"examples": [
|
|
191
|
+
"Option 1",
|
|
192
|
+
"Option 2",
|
|
193
|
+
"Option 3"
|
|
194
|
+
]
|
|
195
|
+
},
|
|
196
|
+
"value": {
|
|
197
|
+
"type": "Any",
|
|
198
|
+
"desc": "Value of the option that will be used by the component model",
|
|
199
|
+
"required": true,
|
|
200
|
+
"examples": [
|
|
201
|
+
"op1",
|
|
202
|
+
"op2",
|
|
203
|
+
"op3"
|
|
204
|
+
]
|
|
205
|
+
},
|
|
206
|
+
"disable": {
|
|
207
|
+
"type": "Boolean",
|
|
208
|
+
"desc": "If true, the option will be disabled"
|
|
209
|
+
},
|
|
210
|
+
"...props": {
|
|
211
|
+
"type": "Any",
|
|
212
|
+
"desc": "Any other props from QToggle, QCheckbox, or QRadio",
|
|
213
|
+
"examples": [
|
|
214
|
+
"val=\"car\"",
|
|
215
|
+
":true-value=\"trueValue\"",
|
|
216
|
+
"checked-icon=\"visibility\""
|
|
217
|
+
]
|
|
218
|
+
}
|
|
219
|
+
}
|
|
149
220
|
}
|
|
150
221
|
},
|
|
151
222
|
"addedIn": "v2.2"
|
package/dist/api/QPage.json
CHANGED
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
"examples": [
|
|
22
22
|
"top-right"
|
|
23
23
|
],
|
|
24
|
-
"category": "position"
|
|
24
|
+
"category": "position",
|
|
25
|
+
"required": false
|
|
25
26
|
},
|
|
26
27
|
"offset": {
|
|
27
28
|
"type": "Array",
|
|
@@ -34,7 +35,8 @@
|
|
|
34
35
|
"default": [
|
|
35
36
|
18,
|
|
36
37
|
18
|
|
37
|
-
]
|
|
38
|
+
],
|
|
39
|
+
"required": false
|
|
38
40
|
},
|
|
39
41
|
"expand": {
|
|
40
42
|
"type": "Boolean",
|
|
@@ -48,7 +50,8 @@
|
|
|
48
50
|
"examples": [
|
|
49
51
|
550
|
|
50
52
|
],
|
|
51
|
-
"category": "behavior"
|
|
53
|
+
"category": "behavior",
|
|
54
|
+
"required": false
|
|
52
55
|
},
|
|
53
56
|
"reverse": {
|
|
54
57
|
"type": "Boolean",
|
|
@@ -62,7 +65,8 @@
|
|
|
62
65
|
"examples": [
|
|
63
66
|
500
|
|
64
67
|
],
|
|
65
|
-
"category": "behavior"
|
|
68
|
+
"category": "behavior",
|
|
69
|
+
"required": false
|
|
66
70
|
}
|
|
67
71
|
},
|
|
68
72
|
"slots": {
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
"examples": [
|
|
21
21
|
3
|
|
22
22
|
],
|
|
23
|
-
"category": "model"
|
|
23
|
+
"category": "model",
|
|
24
|
+
"required": false
|
|
24
25
|
},
|
|
25
26
|
"max": {
|
|
26
27
|
"type": "Number",
|
|
27
28
|
"desc": "Number of last page (must be higher than 'min')",
|
|
28
|
-
"default": 100,
|
|
29
29
|
"required": true,
|
|
30
30
|
"examples": [
|
|
31
31
|
10
|
|
@@ -40,7 +40,8 @@
|
|
|
40
40
|
"teal-10"
|
|
41
41
|
],
|
|
42
42
|
"category": "style",
|
|
43
|
-
"default": "primary"
|
|
43
|
+
"default": "primary",
|
|
44
|
+
"required": false
|
|
44
45
|
},
|
|
45
46
|
"text-color": {
|
|
46
47
|
"type": "String",
|
|
@@ -59,7 +60,8 @@
|
|
|
59
60
|
"teal-10"
|
|
60
61
|
],
|
|
61
62
|
"category": "style",
|
|
62
|
-
"default": "primary"
|
|
63
|
+
"default": "primary",
|
|
64
|
+
"required": false
|
|
63
65
|
},
|
|
64
66
|
"active-text-color": {
|
|
65
67
|
"type": "String",
|
|
@@ -214,7 +216,8 @@
|
|
|
214
216
|
"examples": [
|
|
215
217
|
5
|
|
216
218
|
],
|
|
217
|
-
"category": "model"
|
|
219
|
+
"category": "model",
|
|
220
|
+
"required": false
|
|
218
221
|
},
|
|
219
222
|
"ripple": {
|
|
220
223
|
"type": [
|
|
@@ -227,7 +230,8 @@
|
|
|
227
230
|
false,
|
|
228
231
|
"{ early: true, center: true, color: 'teal', keyCodes: [] }"
|
|
229
232
|
],
|
|
230
|
-
"category": "style"
|
|
233
|
+
"category": "style",
|
|
234
|
+
"required": false
|
|
231
235
|
},
|
|
232
236
|
"round": {
|
|
233
237
|
"type": "Boolean",
|
package/dist/api/QParallax.json
CHANGED
package/dist/api/QPopupEdit.json
CHANGED
|
@@ -55,7 +55,8 @@
|
|
|
55
55
|
"teal-10"
|
|
56
56
|
],
|
|
57
57
|
"category": "style",
|
|
58
|
-
"default": "primary"
|
|
58
|
+
"default": "primary",
|
|
59
|
+
"required": false
|
|
59
60
|
},
|
|
60
61
|
"validate": {
|
|
61
62
|
"type": "Function",
|
|
@@ -92,7 +93,8 @@
|
|
|
92
93
|
"type": "Boolean",
|
|
93
94
|
"default": true,
|
|
94
95
|
"desc": "Allows the menu to cover its target. When used, the 'self' and 'fit' props are no longer effective",
|
|
95
|
-
"category": "position"
|
|
96
|
+
"category": "position",
|
|
97
|
+
"required": false
|
|
96
98
|
},
|
|
97
99
|
"anchor": {
|
|
98
100
|
"type": "String",
|
|
@@ -220,6 +222,7 @@
|
|
|
220
222
|
"params": {
|
|
221
223
|
"value": {
|
|
222
224
|
"type": "Any",
|
|
225
|
+
"required": true,
|
|
223
226
|
"desc": "Value to be checked",
|
|
224
227
|
"examples": [
|
|
225
228
|
0,
|