quasar 2.1.8 → 2.2.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/QCarousel.json +19 -5
- package/dist/api/QColor.json +6 -0
- package/dist/api/QInnerLoading.json +32 -0
- package/dist/api/QOptionGroup.json +58 -1
- package/dist/api/QRange.json +10 -3
- package/dist/api/QSeparator.json +1 -1
- package/dist/api/QSkeleton.json +14 -0
- package/dist/api/QSlider.json +10 -3
- package/dist/api/QStepper.json +16 -2
- package/dist/api/QTabPanels.json +16 -2
- package/dist/api/QTable.json +5 -0
- package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
- package/dist/icon-set/eva-icons.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
- package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
- package/dist/icon-set/line-awesome.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
- package/dist/icon-set/material-icons.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
- package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v4.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v5.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-themify.umd.prod.js +1 -1
- package/dist/icon-set/themify.umd.prod.js +1 -1
- package/dist/lang/ar.umd.prod.js +1 -1
- package/dist/lang/az-Latn.umd.prod.js +1 -1
- package/dist/lang/bg.umd.prod.js +1 -1
- package/dist/lang/bn.umd.prod.js +1 -1
- package/dist/lang/ca.umd.prod.js +1 -1
- package/dist/lang/cs.umd.prod.js +1 -1
- package/dist/lang/da.umd.prod.js +1 -1
- package/dist/lang/de.umd.prod.js +1 -1
- package/dist/lang/el.umd.prod.js +1 -1
- package/dist/lang/en-GB.umd.prod.js +1 -1
- package/dist/lang/en-US.umd.prod.js +1 -1
- package/dist/lang/eo.umd.prod.js +1 -1
- package/dist/lang/es.umd.prod.js +1 -1
- package/dist/lang/et.umd.prod.js +1 -1
- package/dist/lang/fa-IR.umd.prod.js +1 -1
- package/dist/lang/fa.umd.prod.js +1 -1
- package/dist/lang/fi.umd.prod.js +1 -1
- package/dist/lang/fr.umd.prod.js +1 -1
- package/dist/lang/gn.umd.prod.js +1 -1
- package/dist/lang/he.umd.prod.js +1 -1
- package/dist/lang/hr.umd.prod.js +1 -1
- package/dist/lang/hu.umd.prod.js +1 -1
- package/dist/lang/id.umd.prod.js +1 -1
- package/dist/lang/is.umd.prod.js +1 -1
- package/dist/lang/it.umd.prod.js +1 -1
- package/dist/lang/ja.umd.prod.js +1 -1
- package/dist/lang/km.umd.prod.js +1 -1
- package/dist/lang/ko-KR.umd.prod.js +1 -1
- package/dist/lang/kur-CKB.umd.prod.js +1 -1
- package/dist/lang/lt.umd.prod.js +6 -0
- 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 +2 -2
- 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 +24 -17
- package/dist/quasar.esm.prod.js +2 -2
- package/dist/quasar.prod.css +1 -1
- package/dist/quasar.rtl.css +29 -22
- package/dist/quasar.rtl.prod.css +1 -1
- package/dist/quasar.sass +24 -16
- package/dist/quasar.umd.js +374 -242
- package/dist/quasar.umd.prod.js +2 -2
- package/dist/ssr-directives/Morph.js +1 -1
- package/dist/types/index.d.ts +81 -12
- package/dist/vetur/quasar-attributes.json +39 -7
- package/dist/vetur/quasar-tags.json +9 -1
- package/dist/web-types/web-types.json +101 -15
- package/lang/index.json +4 -0
- package/lang/lt.js +103 -0
- package/lang/ug.js +42 -42
- package/package.json +1 -1
- package/src/components/btn/QBtn.js +17 -20
- package/src/components/carousel/QCarousel.js +8 -1
- package/src/components/carousel/QCarousel.json +9 -1
- package/src/components/color/QColor.js +73 -61
- package/src/components/color/QColor.json +7 -0
- package/src/components/color/QColor.sass +5 -1
- package/src/components/dialog/QDialog.js +6 -0
- package/src/components/drawer/QDrawer.js +3 -0
- package/src/components/inner-loading/QInnerLoading.js +31 -7
- package/src/components/inner-loading/QInnerLoading.json +29 -0
- package/src/components/inner-loading/QInnerLoading.sass +4 -0
- package/src/components/option-group/QOptionGroup.js +29 -19
- package/src/components/option-group/QOptionGroup.json +50 -1
- package/src/components/range/QRange.js +1 -1
- package/src/components/range/QRange.json +7 -3
- package/src/components/rating/QRating.js +59 -39
- package/src/components/rating/QRating.sass +8 -6
- package/src/components/select/QSelect.js +1 -1
- package/src/components/separator/QSeparator.json +1 -1
- package/src/components/skeleton/QSkeleton.js +15 -5
- package/src/components/skeleton/QSkeleton.json +9 -0
- package/src/components/skeleton/QSkeleton.sass +7 -6
- package/src/components/slider/QSlider.js +1 -1
- package/src/components/slider/QSlider.json +7 -3
- package/src/components/slider/use-slider.js +7 -2
- package/src/components/stepper/StepHeader.js +10 -10
- package/src/components/table/QTable.json +1 -0
- package/src/components/tabs/use-tab.js +11 -9
- package/src/components/time/QTime.js +0 -2
- package/src/composables/private/use-panel.js +13 -8
- package/src/composables/private/use-panel.json +11 -2
- package/src/css/core/transitions.sass +4 -4
- package/src/utils/date.js +93 -60
package/dist/api/QCarousel.json
CHANGED
|
@@ -94,8 +94,8 @@
|
|
|
94
94
|
"fade",
|
|
95
95
|
"slide-down"
|
|
96
96
|
],
|
|
97
|
-
"category": "
|
|
98
|
-
"default": "
|
|
97
|
+
"category": "transition",
|
|
98
|
+
"default": "fade"
|
|
99
99
|
},
|
|
100
100
|
"transition-next": {
|
|
101
101
|
"type": "String",
|
|
@@ -104,8 +104,22 @@
|
|
|
104
104
|
"fade",
|
|
105
105
|
"slide-down"
|
|
106
106
|
],
|
|
107
|
-
"category": "
|
|
108
|
-
"default": "
|
|
107
|
+
"category": "transition",
|
|
108
|
+
"default": "fade"
|
|
109
|
+
},
|
|
110
|
+
"transition-duration": {
|
|
111
|
+
"type": [
|
|
112
|
+
"String",
|
|
113
|
+
"Number"
|
|
114
|
+
],
|
|
115
|
+
"desc": "Transition duration (in milliseconds, without unit)",
|
|
116
|
+
"default": 300,
|
|
117
|
+
"examples": [
|
|
118
|
+
500,
|
|
119
|
+
"1200"
|
|
120
|
+
],
|
|
121
|
+
"category": "transition",
|
|
122
|
+
"addedIn": "v2.2"
|
|
109
123
|
},
|
|
110
124
|
"dark": {
|
|
111
125
|
"type": "Boolean",
|
|
@@ -161,7 +175,7 @@
|
|
|
161
175
|
"Number",
|
|
162
176
|
"Boolean"
|
|
163
177
|
],
|
|
164
|
-
"desc": "Jump to next slide at fixed time intervals (in milliseconds); 'false' disables autoplay, 'true' enables it for 5000ms intervals",
|
|
178
|
+
"desc": "Jump to next slide (if 'true' or val > 0) or previous slide (if val < 0) at fixed time intervals (in milliseconds); 'false' disables autoplay, 'true' enables it for 5000ms intervals",
|
|
165
179
|
"default": false,
|
|
166
180
|
"examples": [
|
|
167
181
|
":autoplay=\"2500\"",
|
package/dist/api/QColor.json
CHANGED
|
@@ -89,6 +89,12 @@
|
|
|
89
89
|
"desc": "Do not render header",
|
|
90
90
|
"category": "content"
|
|
91
91
|
},
|
|
92
|
+
"no-header-tabs": {
|
|
93
|
+
"type": "Boolean",
|
|
94
|
+
"desc": "Do not render header tabs (only the input)",
|
|
95
|
+
"category": "content",
|
|
96
|
+
"addedIn": "v2.2"
|
|
97
|
+
},
|
|
92
98
|
"no-footer": {
|
|
93
99
|
"type": "Boolean",
|
|
94
100
|
"desc": "Do not render footer; Useful when you want a specific view ('default-view' prop) and don't want the user to be able to switch it",
|
|
@@ -63,6 +63,38 @@
|
|
|
63
63
|
],
|
|
64
64
|
"category": "style"
|
|
65
65
|
},
|
|
66
|
+
"label": {
|
|
67
|
+
"type": "String",
|
|
68
|
+
"desc": "Add a label; Gets overriden when using the default slot",
|
|
69
|
+
"examples": [
|
|
70
|
+
"Please wait..."
|
|
71
|
+
],
|
|
72
|
+
"category": "label",
|
|
73
|
+
"addedIn": "v2.2"
|
|
74
|
+
},
|
|
75
|
+
"label-class": {
|
|
76
|
+
"type": "String",
|
|
77
|
+
"desc": "Add CSS class(es) to the label; Works along the 'label' prop only",
|
|
78
|
+
"examples": [
|
|
79
|
+
"text-red q-mt-xl"
|
|
80
|
+
],
|
|
81
|
+
"category": "label",
|
|
82
|
+
"addedIn": "v2.2"
|
|
83
|
+
},
|
|
84
|
+
"label-style": {
|
|
85
|
+
"type": [
|
|
86
|
+
"Array",
|
|
87
|
+
"String",
|
|
88
|
+
"Object"
|
|
89
|
+
],
|
|
90
|
+
"desc": "Apply custom style to the label; Works along the 'label' prop only",
|
|
91
|
+
"examples": [
|
|
92
|
+
"font-size: 28px",
|
|
93
|
+
":label-style=\"{ color: '#ff0000' }\""
|
|
94
|
+
],
|
|
95
|
+
"category": "label",
|
|
96
|
+
"addedIn": "v2.2"
|
|
97
|
+
},
|
|
66
98
|
"dark": {
|
|
67
99
|
"type": "Boolean",
|
|
68
100
|
"desc": "Notify the component that the background is a dark color",
|
|
@@ -26,7 +26,42 @@
|
|
|
26
26
|
},
|
|
27
27
|
"options": {
|
|
28
28
|
"type": "Array",
|
|
29
|
-
"desc": "Array of objects with value and
|
|
29
|
+
"desc": "Array of objects with value, label, and disable (optional) props. The binary components will be created according to this array; Props from QToggle, QCheckbox or QRadio can also be added as key/value pairs to control the components singularly",
|
|
30
|
+
"definition": {
|
|
31
|
+
"label": {
|
|
32
|
+
"type": "String",
|
|
33
|
+
"desc": "Label to display along the component",
|
|
34
|
+
"required": true,
|
|
35
|
+
"examples": [
|
|
36
|
+
"Option 1",
|
|
37
|
+
"Option 2",
|
|
38
|
+
"Option 3"
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
"value": {
|
|
42
|
+
"type": "Any",
|
|
43
|
+
"desc": "Value of the option that will be used by the component model",
|
|
44
|
+
"required": true,
|
|
45
|
+
"examples": [
|
|
46
|
+
"op1",
|
|
47
|
+
"op2",
|
|
48
|
+
"op3"
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
"disable": {
|
|
52
|
+
"type": "Boolean",
|
|
53
|
+
"desc": "If true, the option will be disabled"
|
|
54
|
+
},
|
|
55
|
+
"...props": {
|
|
56
|
+
"type": "Any",
|
|
57
|
+
"desc": "Any other props from QToggle, QCheckbox, or QRadio",
|
|
58
|
+
"examples": [
|
|
59
|
+
"val=\"car\"",
|
|
60
|
+
":true-value=\"trueValue\"",
|
|
61
|
+
"checked-icon=\"visibility\""
|
|
62
|
+
]
|
|
63
|
+
}
|
|
64
|
+
},
|
|
30
65
|
"examples": [
|
|
31
66
|
":options=\"[ { label: 'Option 1', value: 'op1' }, { label: 'Option 2', value: 'op2' }, { label: 'Option 3', value: 'op3', disable: true } ]\""
|
|
32
67
|
],
|
|
@@ -94,6 +129,28 @@
|
|
|
94
129
|
"category": "state"
|
|
95
130
|
}
|
|
96
131
|
},
|
|
132
|
+
"slots": {
|
|
133
|
+
"label": {
|
|
134
|
+
"desc": "Generic slot for all labels",
|
|
135
|
+
"scope": {
|
|
136
|
+
"opt": {
|
|
137
|
+
"type": "Object",
|
|
138
|
+
"desc": "The corresponding option entry from the 'options' prop"
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"addedIn": "v2.2"
|
|
142
|
+
},
|
|
143
|
+
"label-[name]": {
|
|
144
|
+
"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
|
+
"scope": {
|
|
146
|
+
"...opt": {
|
|
147
|
+
"type": "Object",
|
|
148
|
+
"desc": "The corresponding option entry from the 'options' prop"
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
"addedIn": "v2.2"
|
|
152
|
+
}
|
|
153
|
+
},
|
|
97
154
|
"events": {
|
|
98
155
|
"update:model-value": {
|
|
99
156
|
"desc": "Emitted when the component needs to change the model; Is also used by v-model",
|
package/dist/api/QRange.json
CHANGED
|
@@ -190,9 +190,16 @@
|
|
|
190
190
|
"category": "labels"
|
|
191
191
|
},
|
|
192
192
|
"markers": {
|
|
193
|
-
"type":
|
|
194
|
-
|
|
195
|
-
|
|
193
|
+
"type": [
|
|
194
|
+
"Boolean",
|
|
195
|
+
"Number"
|
|
196
|
+
],
|
|
197
|
+
"desc": "Display markers on the track, one for each possible value for the model or using a custom step (when specifying a Number)",
|
|
198
|
+
"category": "content",
|
|
199
|
+
"examples": [
|
|
200
|
+
"markers",
|
|
201
|
+
":markers=\"5\""
|
|
202
|
+
]
|
|
196
203
|
},
|
|
197
204
|
"snap": {
|
|
198
205
|
"type": "Boolean",
|
package/dist/api/QSeparator.json
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"Boolean",
|
|
29
29
|
"String"
|
|
30
30
|
],
|
|
31
|
-
"desc": "
|
|
31
|
+
"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",
|
|
32
32
|
"examples": [
|
|
33
33
|
"item",
|
|
34
34
|
"item-thumbnail"
|
package/dist/api/QSkeleton.json
CHANGED
|
@@ -46,6 +46,20 @@
|
|
|
46
46
|
"default": "wave",
|
|
47
47
|
"category": "style"
|
|
48
48
|
},
|
|
49
|
+
"animation-speed": {
|
|
50
|
+
"type": [
|
|
51
|
+
"String",
|
|
52
|
+
"Number"
|
|
53
|
+
],
|
|
54
|
+
"desc": "Animation speed (in milliseconds, without unit)",
|
|
55
|
+
"default": 300,
|
|
56
|
+
"examples": [
|
|
57
|
+
500,
|
|
58
|
+
"1200"
|
|
59
|
+
],
|
|
60
|
+
"category": "style",
|
|
61
|
+
"addedIn": "v2.2"
|
|
62
|
+
},
|
|
49
63
|
"square": {
|
|
50
64
|
"type": "Boolean",
|
|
51
65
|
"desc": "Removes border-radius so borders are squared",
|
package/dist/api/QSlider.json
CHANGED
|
@@ -111,9 +111,16 @@
|
|
|
111
111
|
"category": "behavior|content"
|
|
112
112
|
},
|
|
113
113
|
"markers": {
|
|
114
|
-
"type":
|
|
115
|
-
|
|
116
|
-
|
|
114
|
+
"type": [
|
|
115
|
+
"Boolean",
|
|
116
|
+
"Number"
|
|
117
|
+
],
|
|
118
|
+
"desc": "Display markers on the track, one for each possible value for the model or using a custom step (when specifying a Number)",
|
|
119
|
+
"category": "content",
|
|
120
|
+
"examples": [
|
|
121
|
+
"markers",
|
|
122
|
+
":markers=\"5\""
|
|
123
|
+
]
|
|
117
124
|
},
|
|
118
125
|
"snap": {
|
|
119
126
|
"type": "Boolean",
|
package/dist/api/QStepper.json
CHANGED
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"fade",
|
|
81
81
|
"slide-down"
|
|
82
82
|
],
|
|
83
|
-
"category": "
|
|
83
|
+
"category": "transition",
|
|
84
84
|
"default": "slide-right/slide-down"
|
|
85
85
|
},
|
|
86
86
|
"transition-next": {
|
|
@@ -90,9 +90,23 @@
|
|
|
90
90
|
"fade",
|
|
91
91
|
"slide-down"
|
|
92
92
|
],
|
|
93
|
-
"category": "
|
|
93
|
+
"category": "transition",
|
|
94
94
|
"default": "slide-left/slide-up"
|
|
95
95
|
},
|
|
96
|
+
"transition-duration": {
|
|
97
|
+
"type": [
|
|
98
|
+
"String",
|
|
99
|
+
"Number"
|
|
100
|
+
],
|
|
101
|
+
"desc": "Transition duration (in milliseconds, without unit)",
|
|
102
|
+
"default": 300,
|
|
103
|
+
"examples": [
|
|
104
|
+
500,
|
|
105
|
+
"1200"
|
|
106
|
+
],
|
|
107
|
+
"category": "transition",
|
|
108
|
+
"addedIn": "v2.2"
|
|
109
|
+
},
|
|
96
110
|
"dark": {
|
|
97
111
|
"type": "Boolean",
|
|
98
112
|
"desc": "Notify the component that the background is a dark color",
|
package/dist/api/QTabPanels.json
CHANGED
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"fade",
|
|
81
81
|
"slide-down"
|
|
82
82
|
],
|
|
83
|
-
"category": "
|
|
83
|
+
"category": "transition",
|
|
84
84
|
"default": "slide-right/slide-down"
|
|
85
85
|
},
|
|
86
86
|
"transition-next": {
|
|
@@ -90,8 +90,22 @@
|
|
|
90
90
|
"fade",
|
|
91
91
|
"slide-down"
|
|
92
92
|
],
|
|
93
|
-
"category": "
|
|
93
|
+
"category": "transition",
|
|
94
94
|
"default": "slide-left/slide-up"
|
|
95
|
+
},
|
|
96
|
+
"transition-duration": {
|
|
97
|
+
"type": [
|
|
98
|
+
"String",
|
|
99
|
+
"Number"
|
|
100
|
+
],
|
|
101
|
+
"desc": "Transition duration (in milliseconds, without unit)",
|
|
102
|
+
"default": 300,
|
|
103
|
+
"examples": [
|
|
104
|
+
500,
|
|
105
|
+
"1200"
|
|
106
|
+
],
|
|
107
|
+
"category": "transition",
|
|
108
|
+
"addedIn": "v2.2"
|
|
95
109
|
}
|
|
96
110
|
},
|
|
97
111
|
"slots": {
|
package/dist/api/QTable.json
CHANGED
package/dist/lang/ar.umd.prod.js
CHANGED
package/dist/lang/bg.umd.prod.js
CHANGED
package/dist/lang/bn.umd.prod.js
CHANGED
package/dist/lang/ca.umd.prod.js
CHANGED
package/dist/lang/cs.umd.prod.js
CHANGED
package/dist/lang/da.umd.prod.js
CHANGED
package/dist/lang/de.umd.prod.js
CHANGED
package/dist/lang/el.umd.prod.js
CHANGED