quasar 2.4.7 → 2.4.11
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/LoadingBar.json +7 -0
- package/dist/api/Platform.json +171 -0
- package/dist/api/QAjaxBar.json +13 -1
- package/dist/api/QFile.json +1 -0
- package/dist/api/QTree.json +7 -0
- package/dist/api/QUploader.json +3 -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 +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 +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/my.umd.prod.js +6 -0
- 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 +7 -4
- package/dist/quasar.esm.prod.js +2 -2
- package/dist/quasar.prod.css +1 -1
- package/dist/quasar.rtl.css +7 -4
- package/dist/quasar.rtl.prod.css +1 -1
- package/dist/quasar.sass +8 -4
- package/dist/quasar.umd.js +176 -81
- package/dist/quasar.umd.prod.js +2 -2
- package/dist/ssr-directives/Morph.js +1 -1
- package/dist/types/api/qfile.d.ts +8 -0
- package/dist/types/api/qselect.d.ts +4 -0
- package/dist/types/api/qtable.d.ts +12 -0
- package/dist/types/api/qtree.d.ts +31 -0
- package/dist/types/api/quploader.d.ts +28 -0
- package/dist/types/api/touchswipe.d.ts +11 -0
- package/dist/types/api/validation.d.ts +1 -1
- package/dist/types/api.d.ts +6 -0
- package/dist/types/index.d.ts +422 -314
- package/dist/types/ts-helpers.d.ts +6 -2
- package/dist/types/utils.d.ts +4 -1
- package/dist/vetur/quasar-attributes.json +4 -0
- package/dist/vetur/quasar-tags.json +1 -0
- package/dist/web-types/web-types.json +11 -1
- package/lang/index.json +4 -0
- package/lang/my.js +90 -0
- package/package.json +1 -1
- package/src/components/ajax-bar/QAjaxBar.js +22 -12
- package/src/components/ajax-bar/QAjaxBar.json +16 -1
- package/src/components/date/QDate.js +6 -1
- package/src/components/dialog-plugin/DialogPlugin.js +1 -1
- package/src/components/form/QForm.js +11 -1
- package/src/components/icon/QIcon.js +4 -9
- package/src/components/icon/QIcon.sass +4 -3
- package/src/components/infinite-scroll/QInfiniteScroll.js +3 -2
- package/src/components/scroll-area/QScrollArea.js +36 -11
- package/src/components/scroll-observer/QScrollObserver.js +12 -10
- package/src/components/select/QSelect.js +20 -19
- package/src/components/select/QSelect.sass +3 -0
- package/src/components/tabs/QTabs.js +10 -2
- package/src/components/tree/QTree.js +8 -1
- package/src/components/tree/QTree.json +8 -0
- package/src/components/uploader/uploader-core.js +2 -0
- package/src/components/uploader/xhr-uploader-plugin.json +2 -1
- package/src/components/virtual-scroll/use-virtual-scroll.js +11 -3
- package/src/composables/private/use-field.js +13 -1
- package/src/composables/private/use-file.json +1 -0
- package/src/plugins/LoadingBar.js +3 -3
- package/src/plugins/LoadingBar.json +8 -0
- package/src/plugins/Platform.js +15 -8
- package/src/plugins/Platform.json +166 -0
package/dist/api/LoadingBar.json
CHANGED
package/dist/api/Platform.json
CHANGED
|
@@ -15,6 +15,177 @@
|
|
|
15
15
|
"is": {
|
|
16
16
|
"type": "Object",
|
|
17
17
|
"desc": "Client browser details (property names depend on browser)",
|
|
18
|
+
"definition": {
|
|
19
|
+
"name": {
|
|
20
|
+
"type": "String",
|
|
21
|
+
"desc": "Browser name",
|
|
22
|
+
"examples": [
|
|
23
|
+
"chrome"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"platform": {
|
|
27
|
+
"type": "String",
|
|
28
|
+
"desc": "Platform name",
|
|
29
|
+
"examples": [
|
|
30
|
+
"mac"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"version": {
|
|
34
|
+
"type": "String",
|
|
35
|
+
"required": false,
|
|
36
|
+
"desc": "Detailed browser version",
|
|
37
|
+
"examples": [
|
|
38
|
+
"71.0.3578.98"
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
"versionNumber": {
|
|
42
|
+
"type": "Number",
|
|
43
|
+
"required": false,
|
|
44
|
+
"desc": "Major browser version as a number",
|
|
45
|
+
"examples": [
|
|
46
|
+
71
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
"desktop": {
|
|
50
|
+
"type": "Boolean",
|
|
51
|
+
"required": false,
|
|
52
|
+
"desc": "Whether the platform is desktop"
|
|
53
|
+
},
|
|
54
|
+
"mobile": {
|
|
55
|
+
"type": "Boolean",
|
|
56
|
+
"required": false,
|
|
57
|
+
"desc": "Whether the platform is mobile"
|
|
58
|
+
},
|
|
59
|
+
"electron": {
|
|
60
|
+
"type": "Boolean",
|
|
61
|
+
"required": false,
|
|
62
|
+
"desc": "Whether the platform is Electron"
|
|
63
|
+
},
|
|
64
|
+
"bex": {
|
|
65
|
+
"type": "Boolean",
|
|
66
|
+
"required": false,
|
|
67
|
+
"desc": "Whether the platform is BEX(Browser Extension)"
|
|
68
|
+
},
|
|
69
|
+
"capacitor": {
|
|
70
|
+
"type": "Boolean",
|
|
71
|
+
"required": false,
|
|
72
|
+
"desc": "Whether the platform is Capacitor"
|
|
73
|
+
},
|
|
74
|
+
"cordova": {
|
|
75
|
+
"type": "Boolean",
|
|
76
|
+
"required": false,
|
|
77
|
+
"desc": "Whether the platform is Cordova"
|
|
78
|
+
},
|
|
79
|
+
"nativeMobile": {
|
|
80
|
+
"type": "Boolean",
|
|
81
|
+
"required": false,
|
|
82
|
+
"desc": "Whether the platform is a native mobile wrapper"
|
|
83
|
+
},
|
|
84
|
+
"nativeMobileWrapper": {
|
|
85
|
+
"type": "String",
|
|
86
|
+
"required": false,
|
|
87
|
+
"values": [
|
|
88
|
+
"cordova",
|
|
89
|
+
"capacitor"
|
|
90
|
+
],
|
|
91
|
+
"desc": "Type of the native mobile wrapper"
|
|
92
|
+
},
|
|
93
|
+
"chrome": {
|
|
94
|
+
"type": "Boolean",
|
|
95
|
+
"required": false,
|
|
96
|
+
"desc": "Whether the browser is Google Chrome"
|
|
97
|
+
},
|
|
98
|
+
"firefox": {
|
|
99
|
+
"type": "Boolean",
|
|
100
|
+
"required": false,
|
|
101
|
+
"desc": "Whether the browser is Firefox"
|
|
102
|
+
},
|
|
103
|
+
"safari": {
|
|
104
|
+
"type": "Boolean",
|
|
105
|
+
"required": false,
|
|
106
|
+
"desc": "Whether the browser is Safari"
|
|
107
|
+
},
|
|
108
|
+
"edgeChromium": {
|
|
109
|
+
"type": "Boolean",
|
|
110
|
+
"required": false,
|
|
111
|
+
"desc": "Whether the browser is Microsoft Edge (Chromium)"
|
|
112
|
+
},
|
|
113
|
+
"edge": {
|
|
114
|
+
"type": "Boolean",
|
|
115
|
+
"required": false,
|
|
116
|
+
"desc": "Whether the browser is Microsoft Edge Legacy"
|
|
117
|
+
},
|
|
118
|
+
"opera": {
|
|
119
|
+
"type": "Boolean",
|
|
120
|
+
"required": false,
|
|
121
|
+
"desc": "Whether the browser is Opera"
|
|
122
|
+
},
|
|
123
|
+
"vivaldi": {
|
|
124
|
+
"type": "Boolean",
|
|
125
|
+
"required": false,
|
|
126
|
+
"desc": "Whether the browser is Vivaldi"
|
|
127
|
+
},
|
|
128
|
+
"win": {
|
|
129
|
+
"type": "Boolean",
|
|
130
|
+
"required": false,
|
|
131
|
+
"desc": "Whether the operating system is Windows"
|
|
132
|
+
},
|
|
133
|
+
"linux": {
|
|
134
|
+
"type": "Boolean",
|
|
135
|
+
"required": false,
|
|
136
|
+
"desc": "Whether the operating system is Linux"
|
|
137
|
+
},
|
|
138
|
+
"mac": {
|
|
139
|
+
"type": "Boolean",
|
|
140
|
+
"required": false,
|
|
141
|
+
"desc": "Whether the operating system is Mac OS"
|
|
142
|
+
},
|
|
143
|
+
"cros": {
|
|
144
|
+
"type": "Boolean",
|
|
145
|
+
"required": false,
|
|
146
|
+
"desc": "Whether the operating system is Chrome OS"
|
|
147
|
+
},
|
|
148
|
+
"android": {
|
|
149
|
+
"type": "Boolean",
|
|
150
|
+
"required": false,
|
|
151
|
+
"desc": "Whether the operating system is Android"
|
|
152
|
+
},
|
|
153
|
+
"ios": {
|
|
154
|
+
"type": "Boolean",
|
|
155
|
+
"required": false,
|
|
156
|
+
"desc": "Whether the operating system is iOS"
|
|
157
|
+
},
|
|
158
|
+
"winphone": {
|
|
159
|
+
"type": "Boolean",
|
|
160
|
+
"required": false,
|
|
161
|
+
"desc": "Whether the operating system is Windows Phone"
|
|
162
|
+
},
|
|
163
|
+
"iphone": {
|
|
164
|
+
"type": "Boolean",
|
|
165
|
+
"required": false,
|
|
166
|
+
"desc": "Whether the device is an iPhone"
|
|
167
|
+
},
|
|
168
|
+
"ipad": {
|
|
169
|
+
"type": "Boolean",
|
|
170
|
+
"required": false,
|
|
171
|
+
"desc": "Whether the device is an iPad"
|
|
172
|
+
},
|
|
173
|
+
"ipod": {
|
|
174
|
+
"type": "Boolean",
|
|
175
|
+
"required": false,
|
|
176
|
+
"desc": "Whether the device is an iPod"
|
|
177
|
+
},
|
|
178
|
+
"kindle": {
|
|
179
|
+
"type": "Boolean",
|
|
180
|
+
"required": false,
|
|
181
|
+
"desc": "Whether the device is a Kindle"
|
|
182
|
+
},
|
|
183
|
+
"silk": {
|
|
184
|
+
"type": "Boolean",
|
|
185
|
+
"required": false,
|
|
186
|
+
"desc": "Whether the browser is Amazon Silk"
|
|
187
|
+
}
|
|
188
|
+
},
|
|
18
189
|
"examples": [
|
|
19
190
|
"{ chrome: true, version: '71.0.3578.98', versionNumber: 71, mac: true, desktop: true, webkit: true, name: 'chrome', platform: 'mac' }"
|
|
20
191
|
]
|
package/dist/api/QAjaxBar.json
CHANGED
|
@@ -92,6 +92,10 @@
|
|
|
92
92
|
],
|
|
93
93
|
"required": false
|
|
94
94
|
}
|
|
95
|
+
},
|
|
96
|
+
"returns": {
|
|
97
|
+
"type": "Number",
|
|
98
|
+
"desc": "Number of active simultaneous sessions"
|
|
95
99
|
}
|
|
96
100
|
},
|
|
97
101
|
"increment": {
|
|
@@ -104,10 +108,18 @@
|
|
|
104
108
|
1
|
|
105
109
|
]
|
|
106
110
|
}
|
|
111
|
+
},
|
|
112
|
+
"returns": {
|
|
113
|
+
"type": "Number",
|
|
114
|
+
"desc": "Number of active simultaneous sessions"
|
|
107
115
|
}
|
|
108
116
|
},
|
|
109
117
|
"stop": {
|
|
110
|
-
"desc": "Notify bar that one process you were waiting has finished"
|
|
118
|
+
"desc": "Notify bar that one process you were waiting has finished",
|
|
119
|
+
"returns": {
|
|
120
|
+
"type": "Number",
|
|
121
|
+
"desc": "Number of active simultaneous sessions"
|
|
122
|
+
}
|
|
111
123
|
}
|
|
112
124
|
}
|
|
113
125
|
}
|
package/dist/api/QFile.json
CHANGED
package/dist/api/QTree.json
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
"props": {
|
|
7
7
|
"nodes": {
|
|
8
8
|
"type": "Array",
|
|
9
|
+
"tsType": "QTreeNode",
|
|
9
10
|
"desc": "The array of nodes that designates the tree structure",
|
|
10
11
|
"required": true,
|
|
11
12
|
"examples": [
|
|
@@ -148,6 +149,12 @@
|
|
|
148
149
|
],
|
|
149
150
|
"category": "state"
|
|
150
151
|
},
|
|
152
|
+
"no-selection-unset": {
|
|
153
|
+
"type": "Boolean",
|
|
154
|
+
"desc": "Do not allow un-selection when clicking currently selected node",
|
|
155
|
+
"category": "behavior",
|
|
156
|
+
"addedIn": "v2.4.10"
|
|
157
|
+
},
|
|
151
158
|
"default-expand-all": {
|
|
152
159
|
"type": "Boolean",
|
|
153
160
|
"desc": "Allow the tree to have all its branches expanded, when first rendered",
|
package/dist/api/QUploader.json
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
"props": {
|
|
7
7
|
"factory": {
|
|
8
8
|
"type": "Function",
|
|
9
|
+
"tsType": "QUploaderFactoryFn",
|
|
9
10
|
"desc": "Function which should return an Object or a Promise resolving with an Object; For best performance, reference it from your scope and do not define it inline",
|
|
10
11
|
"params": {
|
|
11
12
|
"files": {
|
|
@@ -136,7 +137,7 @@
|
|
|
136
137
|
},
|
|
137
138
|
"returns": {
|
|
138
139
|
"type": "String",
|
|
139
|
-
"desc": "An array
|
|
140
|
+
"desc": "An array consisting of objects with header definitions"
|
|
140
141
|
},
|
|
141
142
|
"category": "upload"
|
|
142
143
|
},
|
|
@@ -502,6 +503,7 @@
|
|
|
502
503
|
"params": {
|
|
503
504
|
"rejectedEntries": {
|
|
504
505
|
"type": "Array",
|
|
506
|
+
"tsType": "QRejectedEntry",
|
|
505
507
|
"desc": "Array of { failedPropValidation: string, file: File } Objects for files that do not pass the validation"
|
|
506
508
|
}
|
|
507
509
|
}
|
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
package/dist/lang/eo.umd.prod.js
CHANGED
package/dist/lang/es.umd.prod.js
CHANGED
package/dist/lang/et.umd.prod.js
CHANGED
package/dist/lang/fa.umd.prod.js
CHANGED