quasar 2.10.1 → 2.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/Dialog.json +3 -1
- package/dist/api/QPopupProxy.json +21 -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/fontawesome-v6-pro.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v6.umd.prod.js +1 -1
- package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
- package/dist/icon-set/line-awesome.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
- package/dist/icon-set/material-icons.umd.prod.js +1 -1
- package/dist/icon-set/material-symbols-outlined.umd.prod.js +1 -1
- package/dist/icon-set/material-symbols-rounded.umd.prod.js +1 -1
- package/dist/icon-set/material-symbols-sharp.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v7.umd.prod.js +6 -0
- package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
- package/dist/icon-set/svg-fontawesome-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-symbols-outlined.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-symbols-rounded.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-symbols-sharp.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v7.umd.prod.js +6 -0
- package/dist/icon-set/svg-themify.umd.prod.js +1 -1
- package/dist/icon-set/themify.umd.prod.js +1 -1
- package/dist/lang/ar-TN.umd.prod.js +1 -1
- package/dist/lang/ar.umd.prod.js +1 -1
- package/dist/lang/az-Latn.umd.prod.js +1 -1
- package/dist/lang/bg.umd.prod.js +1 -1
- package/dist/lang/bn.umd.prod.js +1 -1
- package/dist/lang/ca.umd.prod.js +1 -1
- package/dist/lang/cs.umd.prod.js +1 -1
- package/dist/lang/da.umd.prod.js +1 -1
- package/dist/lang/de.umd.prod.js +1 -1
- package/dist/lang/el.umd.prod.js +1 -1
- package/dist/lang/en-GB.umd.prod.js +1 -1
- package/dist/lang/en-US.umd.prod.js +1 -1
- package/dist/lang/eo.umd.prod.js +1 -1
- package/dist/lang/es.umd.prod.js +1 -1
- package/dist/lang/et.umd.prod.js +1 -1
- package/dist/lang/eu.umd.prod.js +1 -1
- package/dist/lang/fa-IR.umd.prod.js +1 -1
- package/dist/lang/fa.umd.prod.js +1 -1
- package/dist/lang/fi.umd.prod.js +1 -1
- package/dist/lang/fr.umd.prod.js +1 -1
- package/dist/lang/gn.umd.prod.js +1 -1
- package/dist/lang/he.umd.prod.js +1 -1
- package/dist/lang/hr.umd.prod.js +1 -1
- package/dist/lang/hu.umd.prod.js +1 -1
- package/dist/lang/id.umd.prod.js +1 -1
- package/dist/lang/is.umd.prod.js +1 -1
- package/dist/lang/it.umd.prod.js +1 -1
- package/dist/lang/ja.umd.prod.js +1 -1
- package/dist/lang/km.umd.prod.js +1 -1
- package/dist/lang/ko-KR.umd.prod.js +1 -1
- package/dist/lang/kur-CKB.umd.prod.js +1 -1
- package/dist/lang/kz.umd.prod.js +1 -1
- package/dist/lang/lt.umd.prod.js +1 -1
- package/dist/lang/lu.umd.prod.js +1 -1
- package/dist/lang/lv.umd.prod.js +1 -1
- package/dist/lang/ml.umd.prod.js +1 -1
- package/dist/lang/mm.umd.prod.js +1 -1
- package/dist/lang/ms.umd.prod.js +1 -1
- package/dist/lang/my.umd.prod.js +1 -1
- package/dist/lang/nb-NO.umd.prod.js +1 -1
- package/dist/lang/nl.umd.prod.js +1 -1
- package/dist/lang/pl.umd.prod.js +1 -1
- package/dist/lang/pt-BR.umd.prod.js +1 -1
- package/dist/lang/pt.umd.prod.js +1 -1
- package/dist/lang/ro.umd.prod.js +1 -1
- package/dist/lang/ru.umd.prod.js +1 -1
- package/dist/lang/sk.umd.prod.js +1 -1
- package/dist/lang/sl.umd.prod.js +1 -1
- package/dist/lang/sm.umd.prod.js +1 -1
- package/dist/lang/sr-CYR.umd.prod.js +1 -1
- package/dist/lang/sr.umd.prod.js +1 -1
- package/dist/lang/sv.umd.prod.js +1 -1
- package/dist/lang/ta.umd.prod.js +1 -1
- package/dist/lang/th.umd.prod.js +1 -1
- package/dist/lang/tr.umd.prod.js +1 -1
- package/dist/lang/ug.umd.prod.js +1 -1
- package/dist/lang/uk.umd.prod.js +1 -1
- package/dist/lang/uz-Cyrl.umd.prod.js +1 -1
- package/dist/lang/uz-Latn.umd.prod.js +1 -1
- package/dist/lang/vi.umd.prod.js +1 -1
- package/dist/lang/zh-CN.umd.prod.js +1 -1
- package/dist/lang/zh-TW.umd.prod.js +1 -1
- package/dist/quasar.cjs.prod.js +2 -2
- package/dist/quasar.css +1 -1
- package/dist/quasar.esm.js +82 -59
- package/dist/quasar.esm.prod.js +2 -2
- package/dist/quasar.prod.css +1 -1
- package/dist/quasar.rtl.css +8 -1
- package/dist/quasar.rtl.prod.css +1 -1
- package/dist/quasar.sass +3 -2
- package/dist/quasar.umd.js +81 -58
- package/dist/quasar.umd.prod.js +2 -2
- package/dist/types/api/dialog.d.ts +101 -0
- package/dist/types/api/qpopupproxy.d.ts +3 -0
- package/dist/types/api.d.ts +2 -0
- package/dist/types/index.d.ts +18 -54
- package/dist/web-types/web-types.json +1 -1
- package/icon-set/mdi-v7.js +146 -0
- package/icon-set/mdi-v7.mjs +141 -0
- package/icon-set/svg-mdi-v7.js +224 -0
- package/icon-set/svg-mdi-v7.mjs +224 -0
- package/package.json +2 -2
- package/src/components/btn-dropdown/QBtnDropdown.js +0 -1
- package/src/components/date/QDate.js +3 -1
- package/src/components/dialog/QDialog.js +7 -4
- package/src/components/expansion-item/QExpansionItem.js +0 -1
- package/src/components/fab/QFab.js +3 -6
- package/src/components/fab/QFab.sass +2 -1
- package/src/components/img/QImg.js +20 -19
- package/src/components/input/QInput.js +8 -2
- package/src/components/input/use-mask.js +2 -0
- package/src/components/item/QList.js +1 -1
- package/src/components/menu/QMenu.js +4 -1
- package/src/components/popup-proxy/QPopupProxy.js +6 -0
- package/src/components/popup-proxy/QPopupProxy.json +19 -0
- package/src/components/select/QSelect.js +26 -21
- package/src/plugins/Dialog.json +3 -1
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
|
|
2
|
+
/*
|
|
3
|
+
* DO NOT EDIT THIS FILE. It is automatically generated
|
|
4
|
+
* from its webfont counterpart (same filename without "svg-" prefix).
|
|
5
|
+
* Edit that file instead (mdi-v7.mjs).
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
const {
|
|
9
|
+
mdiCheckCircle,
|
|
10
|
+
mdiAlert,
|
|
11
|
+
mdiInformation,
|
|
12
|
+
mdiExclamation,
|
|
13
|
+
mdiArrowUp,
|
|
14
|
+
mdiArrowRight,
|
|
15
|
+
mdiArrowDown,
|
|
16
|
+
mdiArrowLeft,
|
|
17
|
+
mdiMenuDown,
|
|
18
|
+
mdiChevronLeft,
|
|
19
|
+
mdiChevronRight,
|
|
20
|
+
mdiGradientVertical,
|
|
21
|
+
mdiTune,
|
|
22
|
+
mdiPaletteSwatch,
|
|
23
|
+
mdiRefresh,
|
|
24
|
+
mdiChevronUp,
|
|
25
|
+
mdiChevronDown,
|
|
26
|
+
mdiCircle,
|
|
27
|
+
mdiCloseCircle,
|
|
28
|
+
mdiCheck,
|
|
29
|
+
mdiClockOutline,
|
|
30
|
+
mdiCalendarToday,
|
|
31
|
+
mdiFormatBold,
|
|
32
|
+
mdiFormatItalic,
|
|
33
|
+
mdiFormatStrikethroughVariant,
|
|
34
|
+
mdiFormatUnderline,
|
|
35
|
+
mdiFormatListBulleted,
|
|
36
|
+
mdiFormatListNumbered,
|
|
37
|
+
mdiFormatSubscript,
|
|
38
|
+
mdiFormatSuperscript,
|
|
39
|
+
mdiLink,
|
|
40
|
+
mdiFullscreen,
|
|
41
|
+
mdiFormatQuoteClose,
|
|
42
|
+
mdiFormatAlignLeft,
|
|
43
|
+
mdiFormatAlignCenter,
|
|
44
|
+
mdiFormatAlignRight,
|
|
45
|
+
mdiFormatAlignJustify,
|
|
46
|
+
mdiPrinter,
|
|
47
|
+
mdiFormatIndentDecrease,
|
|
48
|
+
mdiFormatIndentIncrease,
|
|
49
|
+
mdiFormatClear,
|
|
50
|
+
mdiFormatColorText,
|
|
51
|
+
mdiFormatSize,
|
|
52
|
+
mdiMinus,
|
|
53
|
+
mdiUndo,
|
|
54
|
+
mdiRedo,
|
|
55
|
+
mdiFormatHeader1,
|
|
56
|
+
mdiFormatHeader2,
|
|
57
|
+
mdiFormatHeader3,
|
|
58
|
+
mdiFormatHeader4,
|
|
59
|
+
mdiFormatHeader5,
|
|
60
|
+
mdiFormatHeader6,
|
|
61
|
+
mdiCodeTags,
|
|
62
|
+
mdiNumeric1Box,
|
|
63
|
+
mdiNumeric2Box,
|
|
64
|
+
mdiNumeric3Box,
|
|
65
|
+
mdiNumeric4Box,
|
|
66
|
+
mdiNumeric5Box,
|
|
67
|
+
mdiNumeric6Box,
|
|
68
|
+
mdiNumeric7Box,
|
|
69
|
+
mdiFormatFont,
|
|
70
|
+
mdiPlus,
|
|
71
|
+
mdiClose,
|
|
72
|
+
mdiAlertCircle,
|
|
73
|
+
mdiChevronDoubleLeft,
|
|
74
|
+
mdiChevronDoubleRight,
|
|
75
|
+
mdiStar,
|
|
76
|
+
mdiPencil,
|
|
77
|
+
mdiPlay,
|
|
78
|
+
mdiPlusBox,
|
|
79
|
+
mdiCloudUpload,
|
|
80
|
+
mdiNotificationClearAll,
|
|
81
|
+
mdiCheckAll
|
|
82
|
+
} = require('@quasar/extras/mdi-v7')
|
|
83
|
+
|
|
84
|
+
module.exports = {
|
|
85
|
+
name: 'svg-mdi-v7',
|
|
86
|
+
type: {
|
|
87
|
+
positive: mdiCheckCircle,
|
|
88
|
+
negative: mdiAlert,
|
|
89
|
+
info: mdiInformation,
|
|
90
|
+
warning: mdiExclamation
|
|
91
|
+
},
|
|
92
|
+
arrow: {
|
|
93
|
+
up: mdiArrowUp,
|
|
94
|
+
right: mdiArrowRight,
|
|
95
|
+
down: mdiArrowDown,
|
|
96
|
+
left: mdiArrowLeft,
|
|
97
|
+
dropdown: mdiMenuDown
|
|
98
|
+
},
|
|
99
|
+
chevron: {
|
|
100
|
+
left: mdiChevronLeft,
|
|
101
|
+
right: mdiChevronRight
|
|
102
|
+
},
|
|
103
|
+
colorPicker: {
|
|
104
|
+
spectrum: mdiGradientVertical,
|
|
105
|
+
tune: mdiTune,
|
|
106
|
+
palette: mdiPaletteSwatch
|
|
107
|
+
},
|
|
108
|
+
pullToRefresh: {
|
|
109
|
+
icon: mdiRefresh
|
|
110
|
+
},
|
|
111
|
+
carousel: {
|
|
112
|
+
left: mdiChevronLeft,
|
|
113
|
+
right: mdiChevronRight,
|
|
114
|
+
up: mdiChevronUp,
|
|
115
|
+
down: mdiChevronDown,
|
|
116
|
+
navigationIcon: mdiCircle
|
|
117
|
+
},
|
|
118
|
+
chip: {
|
|
119
|
+
remove: mdiCloseCircle,
|
|
120
|
+
selected: mdiCheck
|
|
121
|
+
},
|
|
122
|
+
datetime: {
|
|
123
|
+
arrowLeft: mdiChevronLeft,
|
|
124
|
+
arrowRight: mdiChevronRight,
|
|
125
|
+
now: mdiClockOutline,
|
|
126
|
+
today: mdiCalendarToday
|
|
127
|
+
},
|
|
128
|
+
editor: {
|
|
129
|
+
bold: mdiFormatBold,
|
|
130
|
+
italic: mdiFormatItalic,
|
|
131
|
+
strikethrough: mdiFormatStrikethroughVariant,
|
|
132
|
+
underline: mdiFormatUnderline,
|
|
133
|
+
unorderedList: mdiFormatListBulleted,
|
|
134
|
+
orderedList: mdiFormatListNumbered,
|
|
135
|
+
subscript: mdiFormatSubscript,
|
|
136
|
+
superscript: mdiFormatSuperscript,
|
|
137
|
+
hyperlink: mdiLink,
|
|
138
|
+
toggleFullscreen: mdiFullscreen,
|
|
139
|
+
quote: mdiFormatQuoteClose,
|
|
140
|
+
left: mdiFormatAlignLeft,
|
|
141
|
+
center: mdiFormatAlignCenter,
|
|
142
|
+
right: mdiFormatAlignRight,
|
|
143
|
+
justify: mdiFormatAlignJustify,
|
|
144
|
+
print: mdiPrinter,
|
|
145
|
+
outdent: mdiFormatIndentDecrease,
|
|
146
|
+
indent: mdiFormatIndentIncrease,
|
|
147
|
+
removeFormat: mdiFormatClear,
|
|
148
|
+
formatting: mdiFormatColorText,
|
|
149
|
+
fontSize: mdiFormatSize,
|
|
150
|
+
align: mdiFormatAlignLeft,
|
|
151
|
+
hr: mdiMinus,
|
|
152
|
+
undo: mdiUndo,
|
|
153
|
+
redo: mdiRedo,
|
|
154
|
+
heading: mdiFormatSize,
|
|
155
|
+
heading1: mdiFormatHeader1,
|
|
156
|
+
heading2: mdiFormatHeader2,
|
|
157
|
+
heading3: mdiFormatHeader3,
|
|
158
|
+
heading4: mdiFormatHeader4,
|
|
159
|
+
heading5: mdiFormatHeader5,
|
|
160
|
+
heading6: mdiFormatHeader6,
|
|
161
|
+
code: mdiCodeTags,
|
|
162
|
+
size: mdiFormatSize,
|
|
163
|
+
size1: mdiNumeric1Box,
|
|
164
|
+
size2: mdiNumeric2Box,
|
|
165
|
+
size3: mdiNumeric3Box,
|
|
166
|
+
size4: mdiNumeric4Box,
|
|
167
|
+
size5: mdiNumeric5Box,
|
|
168
|
+
size6: mdiNumeric6Box,
|
|
169
|
+
size7: mdiNumeric7Box,
|
|
170
|
+
font: mdiFormatFont,
|
|
171
|
+
viewSource: mdiCodeTags
|
|
172
|
+
},
|
|
173
|
+
expansionItem: {
|
|
174
|
+
icon: mdiChevronDown,
|
|
175
|
+
denseIcon: mdiMenuDown
|
|
176
|
+
},
|
|
177
|
+
fab: {
|
|
178
|
+
icon: mdiPlus,
|
|
179
|
+
activeIcon: mdiClose
|
|
180
|
+
},
|
|
181
|
+
field: {
|
|
182
|
+
clear: mdiCloseCircle,
|
|
183
|
+
error: mdiAlertCircle
|
|
184
|
+
},
|
|
185
|
+
pagination: {
|
|
186
|
+
first: mdiChevronDoubleLeft,
|
|
187
|
+
prev: mdiChevronLeft,
|
|
188
|
+
next: mdiChevronRight,
|
|
189
|
+
last: mdiChevronDoubleRight
|
|
190
|
+
},
|
|
191
|
+
rating: {
|
|
192
|
+
icon: mdiStar
|
|
193
|
+
},
|
|
194
|
+
stepper: {
|
|
195
|
+
done: mdiCheck,
|
|
196
|
+
active: mdiPencil,
|
|
197
|
+
error: mdiAlert
|
|
198
|
+
},
|
|
199
|
+
tabs: {
|
|
200
|
+
left: mdiChevronLeft,
|
|
201
|
+
right: mdiChevronRight,
|
|
202
|
+
up: mdiChevronUp,
|
|
203
|
+
down: mdiChevronDown
|
|
204
|
+
},
|
|
205
|
+
table: {
|
|
206
|
+
arrowUp: mdiArrowUp,
|
|
207
|
+
warning: mdiAlert,
|
|
208
|
+
firstPage: mdiChevronDoubleLeft,
|
|
209
|
+
prevPage: mdiChevronLeft,
|
|
210
|
+
nextPage: mdiChevronRight,
|
|
211
|
+
lastPage: mdiChevronDoubleRight
|
|
212
|
+
},
|
|
213
|
+
tree: {
|
|
214
|
+
icon: mdiPlay
|
|
215
|
+
},
|
|
216
|
+
uploader: {
|
|
217
|
+
done: mdiCheck,
|
|
218
|
+
clear: mdiClose,
|
|
219
|
+
add: mdiPlusBox,
|
|
220
|
+
upload: mdiCloudUpload,
|
|
221
|
+
removeQueue: mdiNotificationClearAll,
|
|
222
|
+
removeUploaded: mdiCheckAll
|
|
223
|
+
}
|
|
224
|
+
}
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
|
|
2
|
+
/*
|
|
3
|
+
* DO NOT EDIT THIS FILE. It is automatically generated
|
|
4
|
+
* from its webfont counterpart (same filename without "svg-" prefix).
|
|
5
|
+
* Edit that file instead (mdi-v7.mjs).
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import {
|
|
9
|
+
mdiCheckCircle,
|
|
10
|
+
mdiAlert,
|
|
11
|
+
mdiInformation,
|
|
12
|
+
mdiExclamation,
|
|
13
|
+
mdiArrowUp,
|
|
14
|
+
mdiArrowRight,
|
|
15
|
+
mdiArrowDown,
|
|
16
|
+
mdiArrowLeft,
|
|
17
|
+
mdiMenuDown,
|
|
18
|
+
mdiChevronLeft,
|
|
19
|
+
mdiChevronRight,
|
|
20
|
+
mdiGradientVertical,
|
|
21
|
+
mdiTune,
|
|
22
|
+
mdiPaletteSwatch,
|
|
23
|
+
mdiRefresh,
|
|
24
|
+
mdiChevronUp,
|
|
25
|
+
mdiChevronDown,
|
|
26
|
+
mdiCircle,
|
|
27
|
+
mdiCloseCircle,
|
|
28
|
+
mdiCheck,
|
|
29
|
+
mdiClockOutline,
|
|
30
|
+
mdiCalendarToday,
|
|
31
|
+
mdiFormatBold,
|
|
32
|
+
mdiFormatItalic,
|
|
33
|
+
mdiFormatStrikethroughVariant,
|
|
34
|
+
mdiFormatUnderline,
|
|
35
|
+
mdiFormatListBulleted,
|
|
36
|
+
mdiFormatListNumbered,
|
|
37
|
+
mdiFormatSubscript,
|
|
38
|
+
mdiFormatSuperscript,
|
|
39
|
+
mdiLink,
|
|
40
|
+
mdiFullscreen,
|
|
41
|
+
mdiFormatQuoteClose,
|
|
42
|
+
mdiFormatAlignLeft,
|
|
43
|
+
mdiFormatAlignCenter,
|
|
44
|
+
mdiFormatAlignRight,
|
|
45
|
+
mdiFormatAlignJustify,
|
|
46
|
+
mdiPrinter,
|
|
47
|
+
mdiFormatIndentDecrease,
|
|
48
|
+
mdiFormatIndentIncrease,
|
|
49
|
+
mdiFormatClear,
|
|
50
|
+
mdiFormatColorText,
|
|
51
|
+
mdiFormatSize,
|
|
52
|
+
mdiMinus,
|
|
53
|
+
mdiUndo,
|
|
54
|
+
mdiRedo,
|
|
55
|
+
mdiFormatHeader1,
|
|
56
|
+
mdiFormatHeader2,
|
|
57
|
+
mdiFormatHeader3,
|
|
58
|
+
mdiFormatHeader4,
|
|
59
|
+
mdiFormatHeader5,
|
|
60
|
+
mdiFormatHeader6,
|
|
61
|
+
mdiCodeTags,
|
|
62
|
+
mdiNumeric1Box,
|
|
63
|
+
mdiNumeric2Box,
|
|
64
|
+
mdiNumeric3Box,
|
|
65
|
+
mdiNumeric4Box,
|
|
66
|
+
mdiNumeric5Box,
|
|
67
|
+
mdiNumeric6Box,
|
|
68
|
+
mdiNumeric7Box,
|
|
69
|
+
mdiFormatFont,
|
|
70
|
+
mdiPlus,
|
|
71
|
+
mdiClose,
|
|
72
|
+
mdiAlertCircle,
|
|
73
|
+
mdiChevronDoubleLeft,
|
|
74
|
+
mdiChevronDoubleRight,
|
|
75
|
+
mdiStar,
|
|
76
|
+
mdiPencil,
|
|
77
|
+
mdiPlay,
|
|
78
|
+
mdiPlusBox,
|
|
79
|
+
mdiCloudUpload,
|
|
80
|
+
mdiNotificationClearAll,
|
|
81
|
+
mdiCheckAll
|
|
82
|
+
} from '@quasar/extras/mdi-v7'
|
|
83
|
+
|
|
84
|
+
export default {
|
|
85
|
+
name: 'svg-mdi-v7',
|
|
86
|
+
type: {
|
|
87
|
+
positive: mdiCheckCircle,
|
|
88
|
+
negative: mdiAlert,
|
|
89
|
+
info: mdiInformation,
|
|
90
|
+
warning: mdiExclamation
|
|
91
|
+
},
|
|
92
|
+
arrow: {
|
|
93
|
+
up: mdiArrowUp,
|
|
94
|
+
right: mdiArrowRight,
|
|
95
|
+
down: mdiArrowDown,
|
|
96
|
+
left: mdiArrowLeft,
|
|
97
|
+
dropdown: mdiMenuDown
|
|
98
|
+
},
|
|
99
|
+
chevron: {
|
|
100
|
+
left: mdiChevronLeft,
|
|
101
|
+
right: mdiChevronRight
|
|
102
|
+
},
|
|
103
|
+
colorPicker: {
|
|
104
|
+
spectrum: mdiGradientVertical,
|
|
105
|
+
tune: mdiTune,
|
|
106
|
+
palette: mdiPaletteSwatch
|
|
107
|
+
},
|
|
108
|
+
pullToRefresh: {
|
|
109
|
+
icon: mdiRefresh
|
|
110
|
+
},
|
|
111
|
+
carousel: {
|
|
112
|
+
left: mdiChevronLeft,
|
|
113
|
+
right: mdiChevronRight,
|
|
114
|
+
up: mdiChevronUp,
|
|
115
|
+
down: mdiChevronDown,
|
|
116
|
+
navigationIcon: mdiCircle
|
|
117
|
+
},
|
|
118
|
+
chip: {
|
|
119
|
+
remove: mdiCloseCircle,
|
|
120
|
+
selected: mdiCheck
|
|
121
|
+
},
|
|
122
|
+
datetime: {
|
|
123
|
+
arrowLeft: mdiChevronLeft,
|
|
124
|
+
arrowRight: mdiChevronRight,
|
|
125
|
+
now: mdiClockOutline,
|
|
126
|
+
today: mdiCalendarToday
|
|
127
|
+
},
|
|
128
|
+
editor: {
|
|
129
|
+
bold: mdiFormatBold,
|
|
130
|
+
italic: mdiFormatItalic,
|
|
131
|
+
strikethrough: mdiFormatStrikethroughVariant,
|
|
132
|
+
underline: mdiFormatUnderline,
|
|
133
|
+
unorderedList: mdiFormatListBulleted,
|
|
134
|
+
orderedList: mdiFormatListNumbered,
|
|
135
|
+
subscript: mdiFormatSubscript,
|
|
136
|
+
superscript: mdiFormatSuperscript,
|
|
137
|
+
hyperlink: mdiLink,
|
|
138
|
+
toggleFullscreen: mdiFullscreen,
|
|
139
|
+
quote: mdiFormatQuoteClose,
|
|
140
|
+
left: mdiFormatAlignLeft,
|
|
141
|
+
center: mdiFormatAlignCenter,
|
|
142
|
+
right: mdiFormatAlignRight,
|
|
143
|
+
justify: mdiFormatAlignJustify,
|
|
144
|
+
print: mdiPrinter,
|
|
145
|
+
outdent: mdiFormatIndentDecrease,
|
|
146
|
+
indent: mdiFormatIndentIncrease,
|
|
147
|
+
removeFormat: mdiFormatClear,
|
|
148
|
+
formatting: mdiFormatColorText,
|
|
149
|
+
fontSize: mdiFormatSize,
|
|
150
|
+
align: mdiFormatAlignLeft,
|
|
151
|
+
hr: mdiMinus,
|
|
152
|
+
undo: mdiUndo,
|
|
153
|
+
redo: mdiRedo,
|
|
154
|
+
heading: mdiFormatSize,
|
|
155
|
+
heading1: mdiFormatHeader1,
|
|
156
|
+
heading2: mdiFormatHeader2,
|
|
157
|
+
heading3: mdiFormatHeader3,
|
|
158
|
+
heading4: mdiFormatHeader4,
|
|
159
|
+
heading5: mdiFormatHeader5,
|
|
160
|
+
heading6: mdiFormatHeader6,
|
|
161
|
+
code: mdiCodeTags,
|
|
162
|
+
size: mdiFormatSize,
|
|
163
|
+
size1: mdiNumeric1Box,
|
|
164
|
+
size2: mdiNumeric2Box,
|
|
165
|
+
size3: mdiNumeric3Box,
|
|
166
|
+
size4: mdiNumeric4Box,
|
|
167
|
+
size5: mdiNumeric5Box,
|
|
168
|
+
size6: mdiNumeric6Box,
|
|
169
|
+
size7: mdiNumeric7Box,
|
|
170
|
+
font: mdiFormatFont,
|
|
171
|
+
viewSource: mdiCodeTags
|
|
172
|
+
},
|
|
173
|
+
expansionItem: {
|
|
174
|
+
icon: mdiChevronDown,
|
|
175
|
+
denseIcon: mdiMenuDown
|
|
176
|
+
},
|
|
177
|
+
fab: {
|
|
178
|
+
icon: mdiPlus,
|
|
179
|
+
activeIcon: mdiClose
|
|
180
|
+
},
|
|
181
|
+
field: {
|
|
182
|
+
clear: mdiCloseCircle,
|
|
183
|
+
error: mdiAlertCircle
|
|
184
|
+
},
|
|
185
|
+
pagination: {
|
|
186
|
+
first: mdiChevronDoubleLeft,
|
|
187
|
+
prev: mdiChevronLeft,
|
|
188
|
+
next: mdiChevronRight,
|
|
189
|
+
last: mdiChevronDoubleRight
|
|
190
|
+
},
|
|
191
|
+
rating: {
|
|
192
|
+
icon: mdiStar
|
|
193
|
+
},
|
|
194
|
+
stepper: {
|
|
195
|
+
done: mdiCheck,
|
|
196
|
+
active: mdiPencil,
|
|
197
|
+
error: mdiAlert
|
|
198
|
+
},
|
|
199
|
+
tabs: {
|
|
200
|
+
left: mdiChevronLeft,
|
|
201
|
+
right: mdiChevronRight,
|
|
202
|
+
up: mdiChevronUp,
|
|
203
|
+
down: mdiChevronDown
|
|
204
|
+
},
|
|
205
|
+
table: {
|
|
206
|
+
arrowUp: mdiArrowUp,
|
|
207
|
+
warning: mdiAlert,
|
|
208
|
+
firstPage: mdiChevronDoubleLeft,
|
|
209
|
+
prevPage: mdiChevronLeft,
|
|
210
|
+
nextPage: mdiChevronRight,
|
|
211
|
+
lastPage: mdiChevronDoubleRight
|
|
212
|
+
},
|
|
213
|
+
tree: {
|
|
214
|
+
icon: mdiPlay
|
|
215
|
+
},
|
|
216
|
+
uploader: {
|
|
217
|
+
done: mdiCheck,
|
|
218
|
+
clear: mdiClose,
|
|
219
|
+
add: mdiPlusBox,
|
|
220
|
+
upload: mdiCloudUpload,
|
|
221
|
+
removeQueue: mdiNotificationClearAll,
|
|
222
|
+
removeUploaded: mdiCheckAll
|
|
223
|
+
}
|
|
224
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "quasar",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.2",
|
|
4
4
|
"description": "Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time",
|
|
5
5
|
"main": "dist/quasar.cjs.prod.js",
|
|
6
6
|
"module": "dist/quasar.esm.prod.js",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"homepage": "https://quasar.dev",
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@quasar/app-vite": "^1.1.3",
|
|
71
|
-
"@quasar/extras": "^1.
|
|
71
|
+
"@quasar/extras": "^1.15.5",
|
|
72
72
|
"@quasar/quasar-app-extension-testing-e2e-cypress": "^4.1.2",
|
|
73
73
|
"@rollup/plugin-node-resolve": "^11.2.1",
|
|
74
74
|
"@rollup/plugin-replace": "^2.3.3",
|
|
@@ -77,7 +77,6 @@ export default createComponent({
|
|
|
77
77
|
'aria-expanded': showing.value === true ? 'true' : 'false',
|
|
78
78
|
'aria-haspopup': 'true',
|
|
79
79
|
'aria-controls': targetUid,
|
|
80
|
-
'aria-owns': targetUid,
|
|
81
80
|
'aria-label': props.toggleAriaLabel || proxy.$q.lang.label[ showing.value === true ? 'collapse' : 'expand' ](props.label)
|
|
82
81
|
}
|
|
83
82
|
|
|
@@ -708,7 +708,9 @@ export default createComponent({
|
|
|
708
708
|
})
|
|
709
709
|
|
|
710
710
|
watch(view, () => {
|
|
711
|
-
blurTargetRef.value !== null &&
|
|
711
|
+
if (blurTargetRef.value !== null && proxy.$el.contains(document.activeElement) === true) {
|
|
712
|
+
blurTargetRef.value.focus()
|
|
713
|
+
}
|
|
712
714
|
})
|
|
713
715
|
|
|
714
716
|
watch(() => viewModel.value.year, year => {
|
|
@@ -219,7 +219,10 @@ export default createComponent({
|
|
|
219
219
|
hidePortal()
|
|
220
220
|
|
|
221
221
|
if (refocusTarget !== null) {
|
|
222
|
-
|
|
222
|
+
((evt && evt.type.indexOf('key') === 0
|
|
223
|
+
? refocusTarget.closest('[tabindex]:not([tabindex^="-"])')
|
|
224
|
+
: void 0
|
|
225
|
+
) || refocusTarget).focus()
|
|
223
226
|
refocusTarget = null
|
|
224
227
|
}
|
|
225
228
|
|
|
@@ -248,9 +251,9 @@ export default createComponent({
|
|
|
248
251
|
})
|
|
249
252
|
}
|
|
250
253
|
|
|
251
|
-
function shake (
|
|
252
|
-
if (
|
|
253
|
-
|
|
254
|
+
function shake (focusTarget) {
|
|
255
|
+
if (focusTarget && typeof focusTarget.focus === 'function') {
|
|
256
|
+
focusTarget.focus({ preventScroll: true })
|
|
254
257
|
}
|
|
255
258
|
else {
|
|
256
259
|
focus()
|
|
@@ -77,13 +77,11 @@ export default createComponent({
|
|
|
77
77
|
|
|
78
78
|
const actionAttrs = computed(() => {
|
|
79
79
|
const attrs = {
|
|
80
|
-
id: targetUid
|
|
80
|
+
id: targetUid,
|
|
81
|
+
role: 'menu'
|
|
81
82
|
}
|
|
82
83
|
|
|
83
|
-
if (showing.value
|
|
84
|
-
attrs.role = 'menu'
|
|
85
|
-
}
|
|
86
|
-
else {
|
|
84
|
+
if (showing.value !== true) {
|
|
87
85
|
attrs[ 'aria-hidden' ] = 'true'
|
|
88
86
|
}
|
|
89
87
|
|
|
@@ -152,7 +150,6 @@ export default createComponent({
|
|
|
152
150
|
'aria-expanded': showing.value === true ? 'true' : 'false',
|
|
153
151
|
'aria-haspopup': 'true',
|
|
154
152
|
'aria-controls': targetUid,
|
|
155
|
-
'aria-owns': targetUid,
|
|
156
153
|
onClick: toggle
|
|
157
154
|
}, getTriggerContent),
|
|
158
155
|
|
|
@@ -6,7 +6,6 @@ import useRatio, { useRatioProps } from '../../composables/private/use-ratio.js'
|
|
|
6
6
|
|
|
7
7
|
import { createComponent } from '../../utils/private/create.js'
|
|
8
8
|
import { hSlot } from '../../utils/private/render.js'
|
|
9
|
-
import { isRuntimeSsrPreHydration } from '../../plugins/Platform.js'
|
|
10
9
|
|
|
11
10
|
const defaultRatio = 16 / 9
|
|
12
11
|
|
|
@@ -74,7 +73,7 @@ export default createComponent({
|
|
|
74
73
|
|
|
75
74
|
const images = [
|
|
76
75
|
ref(null),
|
|
77
|
-
ref(
|
|
76
|
+
ref(getPlaceholderSrc())
|
|
78
77
|
]
|
|
79
78
|
|
|
80
79
|
const position = ref(0)
|
|
@@ -114,18 +113,24 @@ export default createComponent({
|
|
|
114
113
|
: null
|
|
115
114
|
}
|
|
116
115
|
|
|
116
|
+
function getPlaceholderSrc () {
|
|
117
|
+
return props.placeholderSrc !== void 0
|
|
118
|
+
? { src: props.placeholderSrc }
|
|
119
|
+
: null
|
|
120
|
+
}
|
|
121
|
+
|
|
117
122
|
function addImage (imgProps) {
|
|
118
123
|
clearTimeout(loadTimer)
|
|
119
124
|
hasError.value = false
|
|
120
125
|
|
|
121
126
|
if (imgProps === null) {
|
|
122
127
|
isLoading.value = false
|
|
123
|
-
images[
|
|
124
|
-
|
|
125
|
-
|
|
128
|
+
images[ position.value ^ 1 ].value = getPlaceholderSrc()
|
|
129
|
+
}
|
|
130
|
+
else {
|
|
131
|
+
isLoading.value = true
|
|
126
132
|
}
|
|
127
133
|
|
|
128
|
-
isLoading.value = true
|
|
129
134
|
images[ position.value ].value = imgProps
|
|
130
135
|
}
|
|
131
136
|
|
|
@@ -160,7 +165,7 @@ export default createComponent({
|
|
|
160
165
|
// if component has been already destroyed
|
|
161
166
|
if (loadTimer === null) { return }
|
|
162
167
|
|
|
163
|
-
position.value = position.value
|
|
168
|
+
position.value = position.value ^ 1
|
|
164
169
|
images[ position.value ].value = null
|
|
165
170
|
isLoading.value = false
|
|
166
171
|
hasError.value = false
|
|
@@ -171,19 +176,11 @@ export default createComponent({
|
|
|
171
176
|
clearTimeout(loadTimer)
|
|
172
177
|
isLoading.value = false
|
|
173
178
|
hasError.value = true
|
|
174
|
-
images[
|
|
175
|
-
images[ 1 ].value =
|
|
179
|
+
images[ position.value ].value = null
|
|
180
|
+
images[ position.value ^ 1 ].value = getPlaceholderSrc()
|
|
176
181
|
emit('error', err)
|
|
177
182
|
}
|
|
178
183
|
|
|
179
|
-
function getContainer (key, child) {
|
|
180
|
-
return h(
|
|
181
|
-
'div',
|
|
182
|
-
{ class: 'q-img__container absolute-full', key },
|
|
183
|
-
child
|
|
184
|
-
)
|
|
185
|
-
}
|
|
186
|
-
|
|
187
184
|
function getImage (index) {
|
|
188
185
|
const img = images[ index ].value
|
|
189
186
|
|
|
@@ -211,7 +208,11 @@ export default createComponent({
|
|
|
211
208
|
data.class += ' q-img__image--loaded'
|
|
212
209
|
}
|
|
213
210
|
|
|
214
|
-
return
|
|
211
|
+
return h(
|
|
212
|
+
'div',
|
|
213
|
+
{ class: 'q-img__container absolute-full', key: 'img' + index },
|
|
214
|
+
h('img', data)
|
|
215
|
+
)
|
|
215
216
|
}
|
|
216
217
|
|
|
217
218
|
function getContent () {
|
|
@@ -242,7 +243,7 @@ export default createComponent({
|
|
|
242
243
|
}
|
|
243
244
|
|
|
244
245
|
if (__QUASAR_SSR_SERVER__ !== true) {
|
|
245
|
-
if (__QUASAR_SSR_CLIENT__
|
|
246
|
+
if (__QUASAR_SSR_CLIENT__) {
|
|
246
247
|
onMounted(() => {
|
|
247
248
|
addImage(getCurrentSrc())
|
|
248
249
|
})
|
|
@@ -40,7 +40,8 @@ export default createComponent({
|
|
|
40
40
|
|
|
41
41
|
emits: [
|
|
42
42
|
...useFieldEmits,
|
|
43
|
-
'paste', 'change'
|
|
43
|
+
'paste', 'change',
|
|
44
|
+
'keydown', 'animationend'
|
|
44
45
|
],
|
|
45
46
|
|
|
46
47
|
setup (props, { emit, attrs }) {
|
|
@@ -98,7 +99,7 @@ export default createComponent({
|
|
|
98
99
|
}
|
|
99
100
|
|
|
100
101
|
if (props.autogrow === true) {
|
|
101
|
-
evt.onAnimationend =
|
|
102
|
+
evt.onAnimationend = onAnimationend
|
|
102
103
|
}
|
|
103
104
|
|
|
104
105
|
return evt
|
|
@@ -253,6 +254,11 @@ export default createComponent({
|
|
|
253
254
|
props.autogrow === true && adjustHeight()
|
|
254
255
|
}
|
|
255
256
|
|
|
257
|
+
function onAnimationend (e) {
|
|
258
|
+
emit('animationend', e)
|
|
259
|
+
adjustHeight()
|
|
260
|
+
}
|
|
261
|
+
|
|
256
262
|
function emitValue (val, stopWatcher) {
|
|
257
263
|
emitValueFn = () => {
|
|
258
264
|
if (
|
|
@@ -34,6 +34,6 @@ export default createComponent({
|
|
|
34
34
|
+ (props.padding === true ? ' q-list--padding' : '')
|
|
35
35
|
)
|
|
36
36
|
|
|
37
|
-
return () => h(props.tag, { class: classes.value
|
|
37
|
+
return () => h(props.tag, { class: classes.value }, hSlot(slots.default))
|
|
38
38
|
}
|
|
39
39
|
})
|