quasar 1.16.0 → 1.17.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/BottomSheet.json +2 -2
- package/dist/api/Loading.json +0 -2
- package/dist/api/Notify.json +15 -15
- package/dist/api/QAvatar.json +1 -1
- package/dist/api/QBreadcrumbsEl.json +32 -11
- package/dist/api/QBtn.json +35 -14
- package/dist/api/QBtnDropdown.json +36 -15
- package/dist/api/QBtnToggle.json +1 -1
- package/dist/api/QCarousel.json +7 -7
- package/dist/api/QCarouselSlide.json +2 -2
- package/dist/api/QChatMessage.json +1 -5
- package/dist/api/QChip.json +4 -4
- package/dist/api/QColor.json +6 -0
- package/dist/api/QDialog.json +7 -1
- package/dist/api/QExpansionItem.json +34 -13
- package/dist/api/QFab.json +34 -2
- package/dist/api/QFabAction.json +9 -1
- package/dist/api/QField.json +80 -6
- package/dist/api/QFile.json +80 -6
- package/dist/api/QImg.json +2 -2
- package/dist/api/QInnerLoading.json +32 -0
- package/dist/api/QInput.json +82 -6
- package/dist/api/QItem.json +31 -10
- package/dist/api/QOptionGroup.json +58 -1
- package/dist/api/QPagination.json +4 -4
- package/dist/api/QParallax.json +1 -1
- package/dist/api/QPopupEdit.json +14 -7
- package/dist/api/QPullToRefresh.json +1 -1
- package/dist/api/QRange.json +581 -96
- package/dist/api/QRating.json +3 -3
- package/dist/api/QRouteTab.json +32 -12
- package/dist/api/QScrollArea.json +188 -20
- package/dist/api/QSelect.json +81 -9
- package/dist/api/QSeparator.json +1 -1
- package/dist/api/QSlider.json +499 -34
- package/dist/api/QStep.json +4 -4
- package/dist/api/QStepper.json +4 -4
- package/dist/api/QTab.json +1 -1
- package/dist/api/QTable.json +4 -4
- package/dist/api/QTabs.json +9 -0
- package/dist/api/QTimelineEntry.json +2 -2
- package/dist/api/QToggle.json +1 -1
- package/dist/api/QTree.json +7 -1
- package/dist/api/QVideo.json +10 -0
- package/dist/icon-set/bootstrap-icons.umd.min.js +1 -1
- package/dist/icon-set/eva-icons.umd.min.js +1 -1
- package/dist/icon-set/fontawesome-v5-pro.umd.min.js +1 -1
- package/dist/icon-set/fontawesome-v5.umd.min.js +1 -1
- package/dist/icon-set/ionicons-v4.umd.min.js +1 -1
- package/dist/icon-set/line-awesome.umd.min.js +1 -1
- package/dist/icon-set/material-icons-outlined.umd.min.js +1 -1
- package/dist/icon-set/material-icons-round.umd.min.js +1 -1
- package/dist/icon-set/material-icons-sharp.umd.min.js +1 -1
- package/dist/icon-set/material-icons.umd.min.js +1 -1
- package/dist/icon-set/mdi-v3.umd.min.js +1 -1
- package/dist/icon-set/mdi-v4.umd.min.js +1 -1
- package/dist/icon-set/mdi-v5.umd.min.js +1 -1
- package/dist/icon-set/mdi-v6.umd.min.js +1 -1
- package/dist/icon-set/svg-bootstrap-icons.umd.min.js +1 -1
- package/dist/icon-set/svg-eva-icons.umd.min.js +1 -1
- package/dist/icon-set/svg-fontawesome-v5.umd.min.js +1 -1
- package/dist/icon-set/svg-ionicons-v4.umd.min.js +1 -1
- package/dist/icon-set/svg-ionicons-v5.umd.min.js +1 -1
- package/dist/icon-set/svg-ionicons-v6.umd.min.js +6 -0
- package/dist/icon-set/svg-line-awesome.umd.min.js +1 -1
- package/dist/icon-set/svg-material-icons-outlined.umd.min.js +1 -1
- package/dist/icon-set/svg-material-icons-round.umd.min.js +1 -1
- package/dist/icon-set/svg-material-icons-sharp.umd.min.js +1 -1
- package/dist/icon-set/svg-material-icons.umd.min.js +1 -1
- package/dist/icon-set/svg-mdi-v4.umd.min.js +1 -1
- package/dist/icon-set/svg-mdi-v5.umd.min.js +1 -1
- package/dist/icon-set/svg-mdi-v6.umd.min.js +1 -1
- package/dist/icon-set/svg-themify.umd.min.js +1 -1
- package/dist/icon-set/themify.umd.min.js +1 -1
- package/dist/lang/ar.umd.min.js +2 -2
- package/dist/lang/az-latn.umd.min.js +1 -1
- package/dist/lang/bg.umd.min.js +1 -1
- package/dist/lang/ca.umd.min.js +1 -1
- package/dist/lang/cs.umd.min.js +1 -1
- package/dist/lang/da.umd.min.js +1 -1
- package/dist/lang/de.umd.min.js +2 -2
- package/dist/lang/el.umd.min.js +1 -1
- package/dist/lang/en-gb.umd.min.js +1 -1
- package/dist/lang/en-us.umd.min.js +1 -1
- package/dist/lang/eo.umd.min.js +1 -1
- package/dist/lang/es.umd.min.js +1 -1
- package/dist/lang/et.umd.min.js +1 -1
- package/dist/lang/fa-ir.umd.min.js +1 -1
- package/dist/lang/fa.umd.min.js +1 -1
- package/dist/lang/fi.umd.min.js +1 -1
- package/dist/lang/fr.umd.min.js +2 -2
- package/dist/lang/gn.umd.min.js +1 -1
- package/dist/lang/he.umd.min.js +1 -1
- package/dist/lang/hr.umd.min.js +1 -1
- package/dist/lang/hu.umd.min.js +1 -1
- package/dist/lang/id.umd.min.js +1 -1
- package/dist/lang/is.umd.min.js +1 -1
- package/dist/lang/it.umd.min.js +1 -1
- package/dist/lang/ja.umd.min.js +1 -1
- package/dist/lang/km.umd.min.js +1 -1
- package/dist/lang/ko-kr.umd.min.js +1 -1
- package/dist/lang/kur-ckb.umd.min.js +1 -1
- package/dist/lang/lu.umd.min.js +1 -1
- package/dist/lang/lv.umd.min.js +1 -1
- package/dist/lang/ml.umd.min.js +1 -1
- package/dist/lang/ms.umd.min.js +1 -1
- package/dist/lang/nb-no.umd.min.js +1 -1
- package/dist/lang/nl.umd.min.js +1 -1
- package/dist/lang/pl.umd.min.js +1 -1
- package/dist/lang/pt-br.umd.min.js +1 -1
- package/dist/lang/pt.umd.min.js +1 -1
- package/dist/lang/ro.umd.min.js +1 -1
- package/dist/lang/ru.umd.min.js +1 -1
- package/dist/lang/sk.umd.min.js +1 -1
- package/dist/lang/sl.umd.min.js +1 -1
- package/dist/lang/sr.umd.min.js +2 -2
- package/dist/lang/sv.umd.min.js +1 -1
- package/dist/lang/ta.umd.min.js +1 -1
- package/dist/lang/th.umd.min.js +1 -1
- package/dist/lang/tr.umd.min.js +1 -1
- package/dist/lang/ug.umd.min.js +2 -2
- package/dist/lang/uk.umd.min.js +1 -1
- package/dist/lang/vi.umd.min.js +1 -1
- package/dist/lang/zh-hans.umd.min.js +2 -2
- package/dist/lang/zh-hant.umd.min.js +2 -2
- package/dist/quasar.addon.css +1 -1
- package/dist/quasar.addon.rtl.css +1 -1
- package/dist/quasar.common.js +2 -2
- package/dist/quasar.css +376 -228
- package/dist/quasar.esm.js +2 -2
- package/dist/quasar.ie.polyfills.js +1 -1
- package/dist/quasar.ie.polyfills.umd.min.js +1 -1
- package/dist/quasar.min.css +1 -1
- package/dist/quasar.rtl.css +508 -304
- package/dist/quasar.rtl.min.css +1 -1
- package/dist/quasar.sass +324 -210
- package/dist/quasar.styl +324 -210
- package/dist/quasar.umd.js +3098 -1836
- package/dist/quasar.umd.min.js +2 -2
- package/dist/quasar.umd.modern.js +3057 -1817
- package/dist/quasar.umd.modern.min.js +2 -2
- package/dist/transform-asset-urls.json +20 -0
- package/dist/types/index.d.ts +421 -103
- package/dist/types/utils/scroll.d.ts +1 -0
- package/dist/vetur/quasar-attributes.json +313 -89
- package/dist/vetur/quasar-tags.json +74 -18
- package/dist/web-types/web-types.json +1289 -259
- package/icon-set/svg-ionicons-v6.js +225 -0
- package/lang/ar.js +1 -1
- package/lang/de.js +1 -1
- package/lang/fa-ir.js +3 -1
- package/lang/fa.js +3 -1
- package/lang/fr.js +1 -1
- package/lang/index.json +1 -1
- package/lang/kur-ckb.js +2 -2
- package/lang/sr.js +4 -4
- package/lang/ug.js +48 -46
- package/lang/zh-hans.js +1 -1
- package/lang/zh-hant.js +18 -18
- package/package.json +1 -1
- package/src/api.extends.json +1 -2
- package/src/components/breadcrumbs/QBreadcrumbs.js +15 -11
- package/src/components/breadcrumbs/QBreadcrumbs.sass +0 -3
- package/src/components/breadcrumbs/QBreadcrumbs.styl +0 -3
- package/src/components/breadcrumbs/QBreadcrumbsEl.js +25 -9
- package/src/components/btn/QBtn.js +3 -3
- package/src/components/btn-dropdown/QBtnDropdown.sass +2 -0
- package/src/components/btn-dropdown/QBtnDropdown.styl +2 -0
- package/src/components/carousel/QCarousel.js +6 -2
- package/src/components/carousel/QCarousel.json +9 -1
- package/src/components/carousel/QCarouselSlide.json +2 -2
- package/src/components/chat/QChatMessage.json +1 -1
- package/src/components/color/QColor.js +100 -85
- package/src/components/color/QColor.json +7 -0
- package/src/components/color/QColor.sass +14 -24
- package/src/components/color/QColor.styl +14 -24
- package/src/components/date/QDate.js +7 -1
- package/src/components/date/QDate.sass +2 -0
- package/src/components/date/QDate.styl +2 -0
- package/src/components/dialog/QDialog.js +8 -4
- package/src/components/dialog/QDialog.json +8 -1
- package/src/components/drawer/QDrawer.js +16 -15
- package/src/components/editor/QEditor.js +2 -2
- package/src/components/editor/QEditor.sass +13 -1
- package/src/components/editor/QEditor.styl +13 -1
- package/src/components/expansion-item/QExpansionItem.js +13 -11
- package/src/components/fab/QFab.js +20 -11
- package/src/components/fab/QFab.json +35 -0
- package/src/components/fab/QFabAction.js +16 -9
- package/src/components/fab/QFabAction.json +10 -0
- package/src/components/field/QField.js +28 -23
- package/src/components/field/__QField.json +72 -8
- package/src/components/file/QFile.js +12 -4
- package/src/components/file/QFile.sass +4 -3
- package/src/components/file/QFile.styl +4 -3
- package/src/components/footer/QFooter.js +1 -1
- package/src/components/form/QForm.js +1 -1
- package/src/components/header/QHeader.js +1 -1
- package/src/components/icon/QIcon.js +54 -49
- package/src/components/img/QImg.json +2 -2
- package/src/components/infinite-scroll/QInfiniteScroll.js +49 -36
- package/src/components/inner-loading/QInnerLoading.js +54 -22
- package/src/components/inner-loading/QInnerLoading.json +29 -0
- package/src/components/inner-loading/QInnerLoading.sass +3 -0
- package/src/components/inner-loading/QInnerLoading.styl +3 -0
- package/src/components/item/QItem.js +9 -15
- package/src/components/linear-progress/QLinearProgress.js +6 -2
- package/src/components/menu/QMenu.js +5 -1
- package/src/components/option-group/QOptionGroup.js +32 -22
- package/src/components/option-group/QOptionGroup.json +50 -1
- package/src/components/parallax/QParallax.js +3 -0
- package/src/components/parallax/QParallax.json +1 -1
- package/src/components/popup-edit/QPopupEdit.js +41 -16
- package/src/components/popup-edit/QPopupEdit.json +15 -8
- package/src/components/range/QRange.js +223 -278
- package/src/components/range/QRange.json +11 -122
- package/src/components/rating/QRating.js +56 -38
- package/src/components/rating/QRating.json +3 -3
- package/src/components/rating/QRating.sass +8 -6
- package/src/components/rating/QRating.styl +8 -6
- package/src/components/resize-observer/QResizeObserver.js +15 -10
- package/src/components/scroll-area/QScrollArea.js +342 -126
- package/src/components/scroll-area/QScrollArea.json +164 -20
- package/src/components/scroll-area/QScrollArea.sass +4 -0
- package/src/components/scroll-area/QScrollArea.styl +4 -0
- package/src/components/scroll-observer/QScrollObserver.js +9 -2
- package/src/components/select/QSelect.js +8 -2
- package/src/components/separator/QSeparator.js +0 -1
- package/src/components/separator/QSeparator.json +1 -1
- package/src/components/slider/QSlider.js +97 -140
- package/src/components/slider/QSlider.json +1 -122
- package/src/components/slider/QSlider.sass +205 -139
- package/src/components/slider/QSlider.styl +205 -139
- package/src/components/slider/slider-utils.js +468 -123
- package/src/components/slider/slider-utils.json +546 -0
- package/src/components/stepper/QStepper.js +1 -1
- package/src/components/stepper/QStepper.sass +25 -26
- package/src/components/stepper/QStepper.styl +25 -26
- package/src/components/table/QTable.sass +3 -0
- package/src/components/table/QTable.styl +3 -0
- package/src/components/tabs/QRouteTab.js +13 -13
- package/src/components/tabs/QRouteTab.json +0 -7
- package/src/components/tabs/QTab.js +71 -20
- package/src/components/tabs/QTabs.js +237 -52
- package/src/components/tabs/QTabs.json +8 -0
- package/src/components/tabs/QTabs.sass +6 -6
- package/src/components/tabs/QTabs.styl +6 -6
- package/src/components/time/QTime.js +6 -2
- package/src/components/timeline/QTimelineEntry.json +1 -1
- package/src/components/tree/QTree.js +10 -6
- package/src/components/tree/QTree.json +5 -0
- package/src/components/tree/QTree.sass +58 -4
- package/src/components/tree/QTree.styl +58 -4
- package/src/components/uploader/QUploaderBase.js +15 -19
- package/src/components/video/QVideo.js +4 -1
- package/src/components/video/QVideo.json +11 -0
- package/src/components/virtual-scroll/QVirtualScroll.sass +1 -0
- package/src/components/virtual-scroll/QVirtualScroll.styl +1 -0
- package/src/css/core/helpers.sass +3 -0
- package/src/css/core/helpers.styl +3 -0
- package/src/css/core/positioning.sass +5 -0
- package/src/css/core/positioning.styl +5 -0
- package/src/css/normalize.sass +0 -7
- package/src/css/normalize.styl +0 -7
- package/src/css/variables.sass +4 -6
- package/src/css/variables.styl +4 -6
- package/src/directives/Scroll.js +2 -2
- package/src/directives/ScrollFire.js +1 -0
- package/src/ie-compat/ie.js +13 -13
- package/src/install.js +1 -1
- package/src/lang.js +7 -4
- package/src/mixins/anchor.js +3 -13
- package/src/mixins/btn.js +30 -38
- package/src/mixins/btn.json +26 -11
- package/src/mixins/file.js +27 -5
- package/src/mixins/fullscreen.js +16 -4
- package/src/mixins/portal.js +10 -10
- package/src/mixins/router-link.js +88 -14
- package/src/mixins/router-link.json +26 -10
- package/src/mixins/validate.js +33 -15
- package/src/mixins/virtual-scroll.js +40 -42
- package/src/plugins/AppFullscreen.js +41 -16
- package/src/plugins/BottomSheet.json +1 -1
- package/src/plugins/Cookies.js +1 -1
- package/src/plugins/Loading.js +8 -0
- package/src/plugins/LoadingBar.js +9 -0
- package/src/plugins/Notify.js +351 -333
- package/src/plugins/Notify.json +10 -10
- package/src/plugins/Notify.sass +9 -3
- package/src/plugins/Notify.styl +9 -3
- package/src/utils/clone.js +53 -4
- package/src/utils/date.js +134 -69
- package/src/utils/dom.js +28 -9
- package/src/utils/extend.js +2 -2
- package/src/utils/focus-manager.js +8 -10
- package/src/utils/global-dialog.js +18 -1
- package/src/utils/is.js +2 -2
- package/src/utils/morph.js +2 -12
- package/src/utils/scroll.js +71 -35
- package/src/.DS_Store +0 -0
- package/src/components/.DS_Store +0 -0
- package/src/components/layout/.DS_Store +0 -0
- package/src/css/.DS_Store +0 -0
- package/src/utils/.DS_Store +0 -0
package/dist/api/QRating.json
CHANGED
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"map",
|
|
61
61
|
"ion-add",
|
|
62
62
|
"img:https://cdn.quasar.dev/logo/svg/quasar-logo.svg",
|
|
63
|
-
"img:
|
|
63
|
+
"img:path/to/some_image.png"
|
|
64
64
|
],
|
|
65
65
|
"category": "content"
|
|
66
66
|
},
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"map",
|
|
75
75
|
"ion-add",
|
|
76
76
|
"img:https://cdn.quasar.dev/logo/svg/quasar-logo.svg",
|
|
77
|
-
"img:
|
|
77
|
+
"img:path/to/some_image.png"
|
|
78
78
|
],
|
|
79
79
|
"category": "content",
|
|
80
80
|
"addedIn": "v1.1.0"
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"map",
|
|
90
90
|
"ion-add",
|
|
91
91
|
"img:https://cdn.quasar.dev/logo/svg/quasar-logo.svg",
|
|
92
|
-
"img:
|
|
92
|
+
"img:path/to/some_image.png"
|
|
93
93
|
],
|
|
94
94
|
"category": "content",
|
|
95
95
|
"addedIn": "v1.7.4"
|
package/dist/api/QRouteTab.json
CHANGED
|
@@ -14,28 +14,27 @@
|
|
|
14
14
|
"String",
|
|
15
15
|
"Object"
|
|
16
16
|
],
|
|
17
|
-
"desc": "Equivalent to Vue Router <router-link> 'to' property",
|
|
17
|
+
"desc": "Equivalent to Vue Router <router-link> 'to' property; Superseeded by 'href' prop if used",
|
|
18
18
|
"examples": [
|
|
19
19
|
"/home/dashboard",
|
|
20
20
|
":to=\"{ name: 'my-route-name' }\""
|
|
21
21
|
],
|
|
22
|
-
"category": "
|
|
23
|
-
"required": true
|
|
22
|
+
"category": "navigation"
|
|
24
23
|
},
|
|
25
24
|
"exact": {
|
|
26
25
|
"type": "Boolean",
|
|
27
|
-
"desc": "Equivalent to Vue Router <router-link> 'exact' property",
|
|
28
|
-
"category": "
|
|
26
|
+
"desc": "Equivalent to Vue Router <router-link> 'exact' property; Superseeded by 'href' prop if used",
|
|
27
|
+
"category": "navigation"
|
|
29
28
|
},
|
|
30
29
|
"append": {
|
|
31
30
|
"type": "Boolean",
|
|
32
|
-
"desc": "Equivalent to Vue Router <router-link> 'append' property",
|
|
33
|
-
"category": "
|
|
31
|
+
"desc": "Equivalent to Vue Router <router-link> 'append' property; Superseeded by 'href' prop if used",
|
|
32
|
+
"category": "navigation"
|
|
34
33
|
},
|
|
35
34
|
"replace": {
|
|
36
35
|
"type": "Boolean",
|
|
37
|
-
"desc": "Equivalent to Vue Router <router-link> 'replace' property",
|
|
38
|
-
"category": "
|
|
36
|
+
"desc": "Equivalent to Vue Router <router-link> 'replace' property; Superseeded by 'href' prop if used",
|
|
37
|
+
"category": "navigation"
|
|
39
38
|
},
|
|
40
39
|
"active-class": {
|
|
41
40
|
"type": "String",
|
|
@@ -43,7 +42,7 @@
|
|
|
43
42
|
"examples": [
|
|
44
43
|
"my-active-class"
|
|
45
44
|
],
|
|
46
|
-
"category": "
|
|
45
|
+
"category": "navigation"
|
|
47
46
|
},
|
|
48
47
|
"exact-active-class": {
|
|
49
48
|
"type": "String",
|
|
@@ -51,7 +50,28 @@
|
|
|
51
50
|
"examples": [
|
|
52
51
|
"my-exact-active-class"
|
|
53
52
|
],
|
|
54
|
-
"category": "
|
|
53
|
+
"category": "navigation"
|
|
54
|
+
},
|
|
55
|
+
"href": {
|
|
56
|
+
"type": "String",
|
|
57
|
+
"desc": "Native <a> link href attribute; Has priority over the 'to'/'exact'/'replace' props",
|
|
58
|
+
"examples": [
|
|
59
|
+
"http://quasar.dev"
|
|
60
|
+
],
|
|
61
|
+
"category": "navigation",
|
|
62
|
+
"addedIn": "v1.17"
|
|
63
|
+
},
|
|
64
|
+
"target": {
|
|
65
|
+
"type": "String",
|
|
66
|
+
"desc": "Native <a> link target attribute; Use it only along with 'href' prop; Has priority over the 'to'/'exact'/'replace' props",
|
|
67
|
+
"examples": [
|
|
68
|
+
"_blank",
|
|
69
|
+
"_self",
|
|
70
|
+
"_parent",
|
|
71
|
+
"_top"
|
|
72
|
+
],
|
|
73
|
+
"category": "navigation",
|
|
74
|
+
"addedIn": "v1.17"
|
|
55
75
|
},
|
|
56
76
|
"disable": {
|
|
57
77
|
"type": "Boolean",
|
|
@@ -78,7 +98,7 @@
|
|
|
78
98
|
"map",
|
|
79
99
|
"ion-add",
|
|
80
100
|
"img:https://cdn.quasar.dev/logo/svg/quasar-logo.svg",
|
|
81
|
-
"img:
|
|
101
|
+
"img:path/to/some_image.png"
|
|
82
102
|
],
|
|
83
103
|
"category": "content"
|
|
84
104
|
},
|
|
@@ -16,21 +16,65 @@
|
|
|
16
16
|
"String",
|
|
17
17
|
"Object"
|
|
18
18
|
],
|
|
19
|
-
"desc": "Object with CSS properties and values for styling the
|
|
19
|
+
"desc": "Object with CSS properties and values for custom styling the scrollbars (both vertical and horizontal)",
|
|
20
20
|
"examples": [
|
|
21
|
-
":bar-style=\"{
|
|
21
|
+
":bar-style=\"{ borderRadius: '5px', background: 'red', opacity: 1 }\""
|
|
22
22
|
],
|
|
23
23
|
"category": "style",
|
|
24
24
|
"addedIn": "v1.5.0"
|
|
25
25
|
},
|
|
26
|
+
"vertical-bar-style": {
|
|
27
|
+
"type": [
|
|
28
|
+
"Array",
|
|
29
|
+
"String",
|
|
30
|
+
"Object"
|
|
31
|
+
],
|
|
32
|
+
"desc": "Object with CSS properties and values for custom styling the vertical scrollbar; Is applied on top of 'bar-style' prop",
|
|
33
|
+
"examples": [
|
|
34
|
+
":bar-style=\"{ right: '4px', borderRadius: '5px', background: 'red', width: '10px', opacity: 1 }\""
|
|
35
|
+
],
|
|
36
|
+
"category": "style",
|
|
37
|
+
"addedIn": "v1.17"
|
|
38
|
+
},
|
|
39
|
+
"horizontal-bar-style": {
|
|
40
|
+
"type": [
|
|
41
|
+
"Array",
|
|
42
|
+
"String",
|
|
43
|
+
"Object"
|
|
44
|
+
],
|
|
45
|
+
"desc": "Object with CSS properties and values for custom styling the horizontal scrollbar; Is applied on top of 'bar-style' prop",
|
|
46
|
+
"examples": [
|
|
47
|
+
":bar-style=\"{ bottom: '4px', borderRadius: '5px', background: 'red', height: '10px', opacity: 1 }\""
|
|
48
|
+
],
|
|
49
|
+
"category": "style",
|
|
50
|
+
"addedIn": "v1.17"
|
|
51
|
+
},
|
|
26
52
|
"thumb-style": {
|
|
27
53
|
"type": "Object",
|
|
28
|
-
"desc": "Object with CSS properties and values for styling the thumb of
|
|
54
|
+
"desc": "Object with CSS properties and values for custom styling the thumb of scrollbars (both vertical and horizontal)",
|
|
29
55
|
"examples": [
|
|
30
|
-
":thumb-style=\"{
|
|
56
|
+
":thumb-style=\"{ borderRadius: '5px', background: 'red', opacity: 1 }\""
|
|
31
57
|
],
|
|
32
58
|
"category": "style"
|
|
33
59
|
},
|
|
60
|
+
"vertical-thumb-style": {
|
|
61
|
+
"type": "Object",
|
|
62
|
+
"desc": "Object with CSS properties and values for custom styling the thumb of the vertical scrollbar; Is applied on top of 'thumb-style' prop",
|
|
63
|
+
"examples": [
|
|
64
|
+
":thumb-style=\"{ right: '4px', borderRadius: '5px', background: 'red', width: '10px', opacity: 1 }\""
|
|
65
|
+
],
|
|
66
|
+
"category": "style",
|
|
67
|
+
"addedIn": "v1.17"
|
|
68
|
+
},
|
|
69
|
+
"horizontal-thumb-style": {
|
|
70
|
+
"type": "Object",
|
|
71
|
+
"desc": "Object with CSS properties and values for custom styling the thumb of the horizontal scrollbar; Is applied on top of 'thumb-style' prop",
|
|
72
|
+
"examples": [
|
|
73
|
+
":thumb-style=\"{ bottom: '4px', borderRadius: '5px', background: 'red', height: '10px', opacity: 1 }\""
|
|
74
|
+
],
|
|
75
|
+
"category": "style",
|
|
76
|
+
"addedIn": "v1.17"
|
|
77
|
+
},
|
|
34
78
|
"content-style": {
|
|
35
79
|
"type": [
|
|
36
80
|
"Array",
|
|
@@ -76,7 +120,7 @@
|
|
|
76
120
|
},
|
|
77
121
|
"horizontal": {
|
|
78
122
|
"type": "Boolean",
|
|
79
|
-
"desc": "
|
|
123
|
+
"desc": "Changes the default axis to horizontal instead of vertical (which is default) for getScrollPosition, getScrollPercentage, setScrollPosition, and setScrollPercentage",
|
|
80
124
|
"category": "behavior"
|
|
81
125
|
},
|
|
82
126
|
"tabindex": {
|
|
@@ -111,35 +155,35 @@
|
|
|
111
155
|
},
|
|
112
156
|
"verticalPosition": {
|
|
113
157
|
"type": "Number",
|
|
114
|
-
"desc": "Vertical scroll position (in px)
|
|
158
|
+
"desc": "Vertical scroll position (in px)"
|
|
115
159
|
},
|
|
116
160
|
"verticalPercentage": {
|
|
117
161
|
"type": "Number",
|
|
118
|
-
"desc": "Vertical scroll percentage (0.0
|
|
162
|
+
"desc": "Vertical scroll percentage (0.0 <= x <= 1.0)"
|
|
119
163
|
},
|
|
120
164
|
"verticalSize": {
|
|
121
165
|
"type": "Number",
|
|
122
|
-
"desc": "Vertical scroll size (in px)
|
|
166
|
+
"desc": "Vertical scroll size (in px)"
|
|
123
167
|
},
|
|
124
168
|
"verticalContainerSize": {
|
|
125
169
|
"type": "Number",
|
|
126
|
-
"desc": "Height of the container (in px)
|
|
170
|
+
"desc": "Height of the container (in px)"
|
|
127
171
|
},
|
|
128
172
|
"horizontalPosition": {
|
|
129
173
|
"type": "Number",
|
|
130
|
-
"desc": "Horizontal scroll position (in px)
|
|
174
|
+
"desc": "Horizontal scroll position (in px)"
|
|
131
175
|
},
|
|
132
176
|
"horizontalPercentage": {
|
|
133
177
|
"type": "Number",
|
|
134
|
-
"desc": "Horizontal scroll percentage (0.0
|
|
178
|
+
"desc": "Horizontal scroll percentage (0.0 <= x <= 1.0)"
|
|
135
179
|
},
|
|
136
180
|
"horizontalSize": {
|
|
137
181
|
"type": "Number",
|
|
138
|
-
"desc": "Horizontal scroll size (in px)
|
|
182
|
+
"desc": "Horizontal scroll size (in px)"
|
|
139
183
|
},
|
|
140
184
|
"horizontalContainerSize": {
|
|
141
185
|
"type": "Number",
|
|
142
|
-
"desc": "Width of the container (in px)
|
|
186
|
+
"desc": "Width of the container (in px)"
|
|
143
187
|
}
|
|
144
188
|
}
|
|
145
189
|
}
|
|
@@ -155,19 +199,134 @@
|
|
|
155
199
|
"desc": "DOM element upon which scrolling takes place"
|
|
156
200
|
}
|
|
157
201
|
},
|
|
202
|
+
"getScroll": {
|
|
203
|
+
"desc": "Get the current scroll information",
|
|
204
|
+
"returns": {
|
|
205
|
+
"type": "Object",
|
|
206
|
+
"desc": "Scroll information",
|
|
207
|
+
"definition": {
|
|
208
|
+
"verticalPosition": {
|
|
209
|
+
"type": "Number",
|
|
210
|
+
"desc": "Vertical scroll position (in px)"
|
|
211
|
+
},
|
|
212
|
+
"verticalPercentage": {
|
|
213
|
+
"type": "Number",
|
|
214
|
+
"desc": "Vertical scroll percentage (0.0 <= x <= 1.0)"
|
|
215
|
+
},
|
|
216
|
+
"verticalSize": {
|
|
217
|
+
"type": "Number",
|
|
218
|
+
"desc": "Vertical scroll size (in px)"
|
|
219
|
+
},
|
|
220
|
+
"verticalContainerSize": {
|
|
221
|
+
"type": "Number",
|
|
222
|
+
"desc": "Height of the container (in px)"
|
|
223
|
+
},
|
|
224
|
+
"horizontalPosition": {
|
|
225
|
+
"type": "Number",
|
|
226
|
+
"desc": "Horizontal scroll position (in px)"
|
|
227
|
+
},
|
|
228
|
+
"horizontalPercentage": {
|
|
229
|
+
"type": "Number",
|
|
230
|
+
"desc": "Horizontal scroll percentage (0.0 <= x <= 1.0)"
|
|
231
|
+
},
|
|
232
|
+
"horizontalSize": {
|
|
233
|
+
"type": "Number",
|
|
234
|
+
"desc": "Horizontal scroll size (in px)"
|
|
235
|
+
},
|
|
236
|
+
"horizontalContainerSize": {
|
|
237
|
+
"type": "Number",
|
|
238
|
+
"desc": "Width of the container (in px)"
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
"addedIn": "v1.17"
|
|
243
|
+
},
|
|
158
244
|
"getScrollPosition": {
|
|
159
245
|
"desc": "Get current scroll position",
|
|
246
|
+
"params": {
|
|
247
|
+
"axis": {
|
|
248
|
+
"type": "String",
|
|
249
|
+
"desc": "Scroll axis - defaults to 'vertical' (or to 'horizontal' if horizontal prop is set)",
|
|
250
|
+
"values": [
|
|
251
|
+
"vertical",
|
|
252
|
+
"horizontal",
|
|
253
|
+
"both"
|
|
254
|
+
]
|
|
255
|
+
}
|
|
256
|
+
},
|
|
160
257
|
"returns": {
|
|
161
|
-
"type": "
|
|
162
|
-
"
|
|
258
|
+
"type": "Object",
|
|
259
|
+
"definition": {
|
|
260
|
+
"top": {
|
|
261
|
+
"type": "Number",
|
|
262
|
+
"desc": "Scroll offset from top (vertical)",
|
|
263
|
+
"examples": [
|
|
264
|
+
120
|
|
265
|
+
]
|
|
266
|
+
},
|
|
267
|
+
"left": {
|
|
268
|
+
"type": "Number",
|
|
269
|
+
"desc": "Scroll offset from left (horizontal)",
|
|
270
|
+
"examples": [
|
|
271
|
+
10
|
|
272
|
+
]
|
|
273
|
+
}
|
|
274
|
+
},
|
|
163
275
|
"examples": [
|
|
164
|
-
|
|
276
|
+
"{ top: 10, left: 0 }"
|
|
165
277
|
]
|
|
166
|
-
}
|
|
278
|
+
},
|
|
279
|
+
"addedIn": "v1.17"
|
|
280
|
+
},
|
|
281
|
+
"getScrollPercentage": {
|
|
282
|
+
"desc": "Get current scroll position in percentage (0.0 <= x <= 1.0)",
|
|
283
|
+
"params": {
|
|
284
|
+
"axis": {
|
|
285
|
+
"type": "String",
|
|
286
|
+
"desc": "Scroll axis - defaults to 'vertical' (or to 'horizontal' if horizontal prop is set)",
|
|
287
|
+
"values": [
|
|
288
|
+
"vertical",
|
|
289
|
+
"horizontal",
|
|
290
|
+
"both"
|
|
291
|
+
]
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
"returns": {
|
|
295
|
+
"type": "Object",
|
|
296
|
+
"definition": {
|
|
297
|
+
"top": {
|
|
298
|
+
"type": "Number",
|
|
299
|
+
"desc": "Scroll percentage (0.0 <= x <= 1.0) offset from top (vertical)",
|
|
300
|
+
"examples": [
|
|
301
|
+
0.12
|
|
302
|
+
]
|
|
303
|
+
},
|
|
304
|
+
"left": {
|
|
305
|
+
"type": "Number",
|
|
306
|
+
"desc": "Scroll percentage (0.0 <= x <= 1.0) offset from left (horizontal)",
|
|
307
|
+
"examples": [
|
|
308
|
+
0.92
|
|
309
|
+
]
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
"examples": [
|
|
313
|
+
"{ top: 0.212, left: 0 }"
|
|
314
|
+
]
|
|
315
|
+
},
|
|
316
|
+
"addedIn": "v1.17"
|
|
167
317
|
},
|
|
168
318
|
"setScrollPosition": {
|
|
169
319
|
"desc": "Set scroll position to an offset; If a duration (in milliseconds) is specified then the scroll is animated",
|
|
170
320
|
"params": {
|
|
321
|
+
"axis": {
|
|
322
|
+
"type": "String",
|
|
323
|
+
"desc": "Scroll axis",
|
|
324
|
+
"values": [
|
|
325
|
+
"vertical",
|
|
326
|
+
"horizontal"
|
|
327
|
+
],
|
|
328
|
+
"required": true
|
|
329
|
+
},
|
|
171
330
|
"offset": {
|
|
172
331
|
"type": "Number",
|
|
173
332
|
"desc": "Scroll position offset from top (in pixels)",
|
|
@@ -186,11 +345,20 @@
|
|
|
186
345
|
}
|
|
187
346
|
},
|
|
188
347
|
"setScrollPercentage": {
|
|
189
|
-
"desc": "Set scroll position to a percentage (0.0
|
|
348
|
+
"desc": "Set scroll position to a percentage (0.0 <= x <= 1.0) of the total scrolling size; If a duration (in milliseconds) is specified then the scroll is animated",
|
|
190
349
|
"params": {
|
|
350
|
+
"axis": {
|
|
351
|
+
"type": "String",
|
|
352
|
+
"desc": "Scroll axis",
|
|
353
|
+
"values": [
|
|
354
|
+
"vertical",
|
|
355
|
+
"horizontal"
|
|
356
|
+
],
|
|
357
|
+
"required": true
|
|
358
|
+
},
|
|
191
359
|
"offset": {
|
|
192
360
|
"type": "Number",
|
|
193
|
-
"desc": "Scroll percentage (0.0
|
|
361
|
+
"desc": "Scroll percentage (0.0 <= x <= 1.0) of the total scrolling size",
|
|
194
362
|
"required": true,
|
|
195
363
|
"examples": [
|
|
196
364
|
220
|
|
@@ -204,7 +372,7 @@
|
|
|
204
372
|
]
|
|
205
373
|
}
|
|
206
374
|
},
|
|
207
|
-
"addedIn": "v1.
|
|
375
|
+
"addedIn": "v1.17"
|
|
208
376
|
}
|
|
209
377
|
}
|
|
210
378
|
}
|
package/dist/api/QSelect.json
CHANGED
|
@@ -367,7 +367,6 @@
|
|
|
367
367
|
},
|
|
368
368
|
"display-value-sanitize": {
|
|
369
369
|
"type": "Boolean",
|
|
370
|
-
"default": "false",
|
|
371
370
|
"desc": "Force use of textContent instead of innerHTML to render selected option(s); Use it when the selected option(s) might be unsafe (from user input); Does NOT apply when using 'selected' or 'selected-item' slots!",
|
|
372
371
|
"category": "selection"
|
|
373
372
|
},
|
|
@@ -437,7 +436,7 @@
|
|
|
437
436
|
"map",
|
|
438
437
|
"ion-add",
|
|
439
438
|
"img:https://cdn.quasar.dev/logo/svg/quasar-logo.svg",
|
|
440
|
-
"img:
|
|
439
|
+
"img:path/to/some_image.png"
|
|
441
440
|
],
|
|
442
441
|
"category": "content"
|
|
443
442
|
},
|
|
@@ -472,7 +471,6 @@
|
|
|
472
471
|
},
|
|
473
472
|
"options-sanitize": {
|
|
474
473
|
"type": "Boolean",
|
|
475
|
-
"default": "false",
|
|
476
474
|
"desc": "Force use of textContent instead of innerHTML to render options; Use it when the options might be unsafe (from user input); Does NOT apply when using 'option' slot!",
|
|
477
475
|
"category": "options"
|
|
478
476
|
},
|
|
@@ -721,12 +719,6 @@
|
|
|
721
719
|
"desc": "Slot for label; Used only if 'label-slot' prop is set or the 'label' prop is set; When it is used the text in the 'label' prop is ignored",
|
|
722
720
|
"addedIn": "v1.12.9"
|
|
723
721
|
},
|
|
724
|
-
"error": {
|
|
725
|
-
"desc": "Slot for errors; Enabled only if 'bottom-slots' prop is used; Suggestion: <div>"
|
|
726
|
-
},
|
|
727
|
-
"hint": {
|
|
728
|
-
"desc": "Slot for hint text; Enabled only if 'bottom-slots' prop is used; Suggestion: <div>"
|
|
729
|
-
},
|
|
730
722
|
"counter": {
|
|
731
723
|
"desc": "Slot for counter text; Enabled only if 'bottom-slots' prop is used; Suggestion: <div>"
|
|
732
724
|
},
|
|
@@ -746,6 +738,86 @@
|
|
|
746
738
|
}
|
|
747
739
|
},
|
|
748
740
|
"scopedSlots": {
|
|
741
|
+
"error": {
|
|
742
|
+
"desc": "Slot for errors; Enabled only if 'bottom-slots' prop is used; Suggestion: <div>",
|
|
743
|
+
"scope": {
|
|
744
|
+
"id": {
|
|
745
|
+
"type": "String",
|
|
746
|
+
"desc": "Element id used in the `for` attribute of the field label. Can be used to link the control to the label",
|
|
747
|
+
"examples": [
|
|
748
|
+
"qf_363270c0-7a83-62b1-8dcf-6dfd64ee38fa"
|
|
749
|
+
]
|
|
750
|
+
},
|
|
751
|
+
"field": {
|
|
752
|
+
"type": "Object",
|
|
753
|
+
"desc": "DOM element of the field"
|
|
754
|
+
},
|
|
755
|
+
"editable": {
|
|
756
|
+
"type": "Boolean",
|
|
757
|
+
"desc": "Field is editable"
|
|
758
|
+
},
|
|
759
|
+
"focused": {
|
|
760
|
+
"type": "Boolean",
|
|
761
|
+
"desc": "Field has focus"
|
|
762
|
+
},
|
|
763
|
+
"value": {
|
|
764
|
+
"type": "Any",
|
|
765
|
+
"desc": "Field's value",
|
|
766
|
+
"examples": [
|
|
767
|
+
0.241,
|
|
768
|
+
"Text"
|
|
769
|
+
]
|
|
770
|
+
},
|
|
771
|
+
"errorMessage": {
|
|
772
|
+
"type": "String",
|
|
773
|
+
"desc": "Error message (from errorMessage prop or generated by rules)",
|
|
774
|
+
"examples": [
|
|
775
|
+
"The field is required"
|
|
776
|
+
]
|
|
777
|
+
}
|
|
778
|
+
},
|
|
779
|
+
"addedIn": "v1.17"
|
|
780
|
+
},
|
|
781
|
+
"hint": {
|
|
782
|
+
"desc": "Slot for hint text; Enabled only if 'bottom-slots' prop is used; Suggestion: <div>",
|
|
783
|
+
"scope": {
|
|
784
|
+
"id": {
|
|
785
|
+
"type": "String",
|
|
786
|
+
"desc": "Element id used in the `for` attribute of the field label. Can be used to link the control to the label",
|
|
787
|
+
"examples": [
|
|
788
|
+
"qf_363270c0-7a83-62b1-8dcf-6dfd64ee38fa"
|
|
789
|
+
]
|
|
790
|
+
},
|
|
791
|
+
"field": {
|
|
792
|
+
"type": "Object",
|
|
793
|
+
"desc": "DOM element of the field"
|
|
794
|
+
},
|
|
795
|
+
"editable": {
|
|
796
|
+
"type": "Boolean",
|
|
797
|
+
"desc": "Field is editable"
|
|
798
|
+
},
|
|
799
|
+
"focused": {
|
|
800
|
+
"type": "Boolean",
|
|
801
|
+
"desc": "Field has focus"
|
|
802
|
+
},
|
|
803
|
+
"value": {
|
|
804
|
+
"type": "Any",
|
|
805
|
+
"desc": "Field's value",
|
|
806
|
+
"examples": [
|
|
807
|
+
0.241,
|
|
808
|
+
"Text"
|
|
809
|
+
]
|
|
810
|
+
},
|
|
811
|
+
"errorMessage": {
|
|
812
|
+
"type": "String",
|
|
813
|
+
"desc": "Error message (from errorMessage prop or generated by rules)",
|
|
814
|
+
"examples": [
|
|
815
|
+
"The field is required"
|
|
816
|
+
]
|
|
817
|
+
}
|
|
818
|
+
},
|
|
819
|
+
"addedIn": "v1.17"
|
|
820
|
+
},
|
|
749
821
|
"no-option": {
|
|
750
822
|
"desc": "What should the menu display after filtering options and none are left to be displayed; Suggestion: <div>",
|
|
751
823
|
"scope": {
|
package/dist/api/QSeparator.json
CHANGED
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"Boolean",
|
|
34
34
|
"String"
|
|
35
35
|
],
|
|
36
|
-
"desc": "
|
|
36
|
+
"desc": "If set to Boolean true, the left and right margins will be set to 16px. If set to 'item' then it will match a QItem's design. If set to 'item-thumbnail' then it will match the design of a QItem with a thumbnail on the left side",
|
|
37
37
|
"examples": [
|
|
38
38
|
"item",
|
|
39
39
|
"item-thumbnail"
|