quasar 2.6.1 → 2.6.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/QBreadcrumbsEl.json +5 -5
- package/dist/api/QBtn.json +2 -2
- package/dist/api/QBtnDropdown.json +2 -2
- package/dist/api/QExpansionItem.json +5 -5
- package/dist/api/QItem.json +5 -5
- package/dist/api/QRouteTab.json +5 -5
- 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/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 +6 -0
- 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-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/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/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/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.esm.prod.js +2 -2
- package/dist/quasar.sass +1 -1
- package/dist/quasar.umd.js +63 -22
- package/dist/quasar.umd.prod.js +2 -2
- package/dist/types/index.d.ts +24 -24
- package/dist/vetur/quasar-attributes.json +24 -24
- package/dist/web-types/web-types.json +25 -25
- package/icon-set/svg-fontawesome-v5.js +197 -0
- package/icon-set/svg-fontawesome-v5.mjs +197 -0
- package/package.json +7 -5
- package/src/components/btn/use-btn.json +2 -2
- package/src/components/editor/editor-caret.js +1 -1
- package/src/components/fab/QFab.js +1 -1
- package/src/components/icon/QIcon.js +1 -1
- package/src/components/select/QSelect.js +15 -0
- package/src/composables/private/__tests__/use-transition.spec.js +2 -2
- package/src/composables/private/use-router-link.json +5 -5
- package/src/utils/date.js +8 -12
- package/src/utils/extend.js +33 -5
|
@@ -0,0 +1,197 @@
|
|
|
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 (fontawesome-v5.mjs).
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
const {
|
|
9
|
+
fasCheck,
|
|
10
|
+
fasExclamationTriangle,
|
|
11
|
+
fasInfoCircle,
|
|
12
|
+
fasExclamation,
|
|
13
|
+
fasArrowUp,
|
|
14
|
+
fasArrowRight,
|
|
15
|
+
fasArrowDown,
|
|
16
|
+
fasArrowLeft,
|
|
17
|
+
fasCaretDown,
|
|
18
|
+
fasChevronLeft,
|
|
19
|
+
fasChevronRight,
|
|
20
|
+
fasEyeDropper,
|
|
21
|
+
fasSlidersH,
|
|
22
|
+
fasSwatchbook,
|
|
23
|
+
fasSyncAlt,
|
|
24
|
+
fasChevronUp,
|
|
25
|
+
fasChevronDown,
|
|
26
|
+
fasCircle,
|
|
27
|
+
fasTimesCircle,
|
|
28
|
+
farClock,
|
|
29
|
+
farCalendarCheck,
|
|
30
|
+
fasBold,
|
|
31
|
+
fasItalic,
|
|
32
|
+
fasStrikethrough,
|
|
33
|
+
fasUnderline,
|
|
34
|
+
fasListUl,
|
|
35
|
+
fasListOl,
|
|
36
|
+
fasSubscript,
|
|
37
|
+
fasSuperscript,
|
|
38
|
+
fasLink,
|
|
39
|
+
fasExpandArrowsAlt,
|
|
40
|
+
fasQuoteRight,
|
|
41
|
+
fasAlignLeft,
|
|
42
|
+
fasAlignCenter,
|
|
43
|
+
fasAlignRight,
|
|
44
|
+
fasAlignJustify,
|
|
45
|
+
fasPrint,
|
|
46
|
+
fasOutdent,
|
|
47
|
+
fasIndent,
|
|
48
|
+
fasEraser,
|
|
49
|
+
fasHeading,
|
|
50
|
+
fasTextHeight,
|
|
51
|
+
farMinusSquare,
|
|
52
|
+
fasUndo,
|
|
53
|
+
fasRedo,
|
|
54
|
+
fasCode,
|
|
55
|
+
fasFont,
|
|
56
|
+
fasPlus,
|
|
57
|
+
fasTimes,
|
|
58
|
+
fasExclamationCircle,
|
|
59
|
+
fasStepBackward,
|
|
60
|
+
fasStepForward,
|
|
61
|
+
fasStar,
|
|
62
|
+
fasPencilAlt,
|
|
63
|
+
fasPlay,
|
|
64
|
+
fasPlusSquare,
|
|
65
|
+
fasUpload,
|
|
66
|
+
fasStream,
|
|
67
|
+
fasClipboardCheck
|
|
68
|
+
} = require('@quasar/extras/fontawesome-v5')
|
|
69
|
+
|
|
70
|
+
module.exports = {
|
|
71
|
+
name: 'svg-fontawesome-v5',
|
|
72
|
+
type: {
|
|
73
|
+
positive: fasCheck,
|
|
74
|
+
negative: fasExclamationTriangle,
|
|
75
|
+
info: fasInfoCircle,
|
|
76
|
+
warning: fasExclamation
|
|
77
|
+
},
|
|
78
|
+
arrow: {
|
|
79
|
+
up: fasArrowUp,
|
|
80
|
+
right: fasArrowRight,
|
|
81
|
+
down: fasArrowDown,
|
|
82
|
+
left: fasArrowLeft,
|
|
83
|
+
dropdown: fasCaretDown
|
|
84
|
+
},
|
|
85
|
+
chevron: {
|
|
86
|
+
left: fasChevronLeft,
|
|
87
|
+
right: fasChevronRight
|
|
88
|
+
},
|
|
89
|
+
colorPicker: {
|
|
90
|
+
spectrum: fasEyeDropper,
|
|
91
|
+
tune: fasSlidersH,
|
|
92
|
+
palette: fasSwatchbook
|
|
93
|
+
},
|
|
94
|
+
pullToRefresh: {
|
|
95
|
+
icon: fasSyncAlt
|
|
96
|
+
},
|
|
97
|
+
carousel: {
|
|
98
|
+
left: fasChevronLeft,
|
|
99
|
+
right: fasChevronRight,
|
|
100
|
+
up: fasChevronUp,
|
|
101
|
+
down: fasChevronDown,
|
|
102
|
+
navigationIcon: fasCircle
|
|
103
|
+
},
|
|
104
|
+
chip: {
|
|
105
|
+
remove: fasTimesCircle,
|
|
106
|
+
selected: fasCheck
|
|
107
|
+
},
|
|
108
|
+
datetime: {
|
|
109
|
+
arrowLeft: fasChevronLeft,
|
|
110
|
+
arrowRight: fasChevronRight,
|
|
111
|
+
now: farClock,
|
|
112
|
+
today: farCalendarCheck
|
|
113
|
+
},
|
|
114
|
+
editor: {
|
|
115
|
+
bold: fasBold,
|
|
116
|
+
italic: fasItalic,
|
|
117
|
+
strikethrough: fasStrikethrough,
|
|
118
|
+
underline: fasUnderline,
|
|
119
|
+
unorderedList: fasListUl,
|
|
120
|
+
orderedList: fasListOl,
|
|
121
|
+
subscript: fasSubscript,
|
|
122
|
+
superscript: fasSuperscript,
|
|
123
|
+
hyperlink: fasLink,
|
|
124
|
+
toggleFullscreen: fasExpandArrowsAlt,
|
|
125
|
+
quote: fasQuoteRight,
|
|
126
|
+
left: fasAlignLeft,
|
|
127
|
+
center: fasAlignCenter,
|
|
128
|
+
right: fasAlignRight,
|
|
129
|
+
justify: fasAlignJustify,
|
|
130
|
+
print: fasPrint,
|
|
131
|
+
outdent: fasOutdent,
|
|
132
|
+
indent: fasIndent,
|
|
133
|
+
removeFormat: fasEraser,
|
|
134
|
+
formatting: fasHeading,
|
|
135
|
+
fontSize: fasTextHeight,
|
|
136
|
+
align: fasAlignLeft,
|
|
137
|
+
hr: farMinusSquare,
|
|
138
|
+
undo: fasUndo,
|
|
139
|
+
redo: fasRedo,
|
|
140
|
+
heading: fasHeading,
|
|
141
|
+
code: fasCode,
|
|
142
|
+
size: fasTextHeight,
|
|
143
|
+
font: fasFont,
|
|
144
|
+
viewSource: fasCode
|
|
145
|
+
},
|
|
146
|
+
expansionItem: {
|
|
147
|
+
icon: fasChevronDown,
|
|
148
|
+
denseIcon: fasCaretDown
|
|
149
|
+
},
|
|
150
|
+
fab: {
|
|
151
|
+
icon: fasPlus,
|
|
152
|
+
activeIcon: fasTimes
|
|
153
|
+
},
|
|
154
|
+
field: {
|
|
155
|
+
clear: fasTimesCircle,
|
|
156
|
+
error: fasExclamationCircle
|
|
157
|
+
},
|
|
158
|
+
pagination: {
|
|
159
|
+
first: fasStepBackward,
|
|
160
|
+
prev: fasChevronLeft,
|
|
161
|
+
next: fasChevronRight,
|
|
162
|
+
last: fasStepForward
|
|
163
|
+
},
|
|
164
|
+
rating: {
|
|
165
|
+
icon: fasStar
|
|
166
|
+
},
|
|
167
|
+
stepper: {
|
|
168
|
+
done: fasCheck,
|
|
169
|
+
active: fasPencilAlt,
|
|
170
|
+
error: fasExclamationTriangle
|
|
171
|
+
},
|
|
172
|
+
tabs: {
|
|
173
|
+
left: fasChevronLeft,
|
|
174
|
+
right: fasChevronRight,
|
|
175
|
+
up: fasChevronUp,
|
|
176
|
+
down: fasChevronDown
|
|
177
|
+
},
|
|
178
|
+
table: {
|
|
179
|
+
arrowUp: fasArrowUp,
|
|
180
|
+
warning: fasExclamationTriangle,
|
|
181
|
+
firstPage: fasStepBackward,
|
|
182
|
+
prevPage: fasChevronLeft,
|
|
183
|
+
nextPage: fasChevronRight,
|
|
184
|
+
lastPage: fasStepForward
|
|
185
|
+
},
|
|
186
|
+
tree: {
|
|
187
|
+
icon: fasPlay
|
|
188
|
+
},
|
|
189
|
+
uploader: {
|
|
190
|
+
done: fasCheck,
|
|
191
|
+
clear: fasTimes,
|
|
192
|
+
add: fasPlusSquare,
|
|
193
|
+
upload: fasUpload,
|
|
194
|
+
removeQueue: fasStream,
|
|
195
|
+
removeUploaded: fasClipboardCheck
|
|
196
|
+
}
|
|
197
|
+
}
|
|
@@ -0,0 +1,197 @@
|
|
|
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 (fontawesome-v5.mjs).
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import {
|
|
9
|
+
fasCheck,
|
|
10
|
+
fasExclamationTriangle,
|
|
11
|
+
fasInfoCircle,
|
|
12
|
+
fasExclamation,
|
|
13
|
+
fasArrowUp,
|
|
14
|
+
fasArrowRight,
|
|
15
|
+
fasArrowDown,
|
|
16
|
+
fasArrowLeft,
|
|
17
|
+
fasCaretDown,
|
|
18
|
+
fasChevronLeft,
|
|
19
|
+
fasChevronRight,
|
|
20
|
+
fasEyeDropper,
|
|
21
|
+
fasSlidersH,
|
|
22
|
+
fasSwatchbook,
|
|
23
|
+
fasSyncAlt,
|
|
24
|
+
fasChevronUp,
|
|
25
|
+
fasChevronDown,
|
|
26
|
+
fasCircle,
|
|
27
|
+
fasTimesCircle,
|
|
28
|
+
farClock,
|
|
29
|
+
farCalendarCheck,
|
|
30
|
+
fasBold,
|
|
31
|
+
fasItalic,
|
|
32
|
+
fasStrikethrough,
|
|
33
|
+
fasUnderline,
|
|
34
|
+
fasListUl,
|
|
35
|
+
fasListOl,
|
|
36
|
+
fasSubscript,
|
|
37
|
+
fasSuperscript,
|
|
38
|
+
fasLink,
|
|
39
|
+
fasExpandArrowsAlt,
|
|
40
|
+
fasQuoteRight,
|
|
41
|
+
fasAlignLeft,
|
|
42
|
+
fasAlignCenter,
|
|
43
|
+
fasAlignRight,
|
|
44
|
+
fasAlignJustify,
|
|
45
|
+
fasPrint,
|
|
46
|
+
fasOutdent,
|
|
47
|
+
fasIndent,
|
|
48
|
+
fasEraser,
|
|
49
|
+
fasHeading,
|
|
50
|
+
fasTextHeight,
|
|
51
|
+
farMinusSquare,
|
|
52
|
+
fasUndo,
|
|
53
|
+
fasRedo,
|
|
54
|
+
fasCode,
|
|
55
|
+
fasFont,
|
|
56
|
+
fasPlus,
|
|
57
|
+
fasTimes,
|
|
58
|
+
fasExclamationCircle,
|
|
59
|
+
fasStepBackward,
|
|
60
|
+
fasStepForward,
|
|
61
|
+
fasStar,
|
|
62
|
+
fasPencilAlt,
|
|
63
|
+
fasPlay,
|
|
64
|
+
fasPlusSquare,
|
|
65
|
+
fasUpload,
|
|
66
|
+
fasStream,
|
|
67
|
+
fasClipboardCheck
|
|
68
|
+
} from '@quasar/extras/fontawesome-v5'
|
|
69
|
+
|
|
70
|
+
export default {
|
|
71
|
+
name: 'svg-fontawesome-v5',
|
|
72
|
+
type: {
|
|
73
|
+
positive: fasCheck,
|
|
74
|
+
negative: fasExclamationTriangle,
|
|
75
|
+
info: fasInfoCircle,
|
|
76
|
+
warning: fasExclamation
|
|
77
|
+
},
|
|
78
|
+
arrow: {
|
|
79
|
+
up: fasArrowUp,
|
|
80
|
+
right: fasArrowRight,
|
|
81
|
+
down: fasArrowDown,
|
|
82
|
+
left: fasArrowLeft,
|
|
83
|
+
dropdown: fasCaretDown
|
|
84
|
+
},
|
|
85
|
+
chevron: {
|
|
86
|
+
left: fasChevronLeft,
|
|
87
|
+
right: fasChevronRight
|
|
88
|
+
},
|
|
89
|
+
colorPicker: {
|
|
90
|
+
spectrum: fasEyeDropper,
|
|
91
|
+
tune: fasSlidersH,
|
|
92
|
+
palette: fasSwatchbook
|
|
93
|
+
},
|
|
94
|
+
pullToRefresh: {
|
|
95
|
+
icon: fasSyncAlt
|
|
96
|
+
},
|
|
97
|
+
carousel: {
|
|
98
|
+
left: fasChevronLeft,
|
|
99
|
+
right: fasChevronRight,
|
|
100
|
+
up: fasChevronUp,
|
|
101
|
+
down: fasChevronDown,
|
|
102
|
+
navigationIcon: fasCircle
|
|
103
|
+
},
|
|
104
|
+
chip: {
|
|
105
|
+
remove: fasTimesCircle,
|
|
106
|
+
selected: fasCheck
|
|
107
|
+
},
|
|
108
|
+
datetime: {
|
|
109
|
+
arrowLeft: fasChevronLeft,
|
|
110
|
+
arrowRight: fasChevronRight,
|
|
111
|
+
now: farClock,
|
|
112
|
+
today: farCalendarCheck
|
|
113
|
+
},
|
|
114
|
+
editor: {
|
|
115
|
+
bold: fasBold,
|
|
116
|
+
italic: fasItalic,
|
|
117
|
+
strikethrough: fasStrikethrough,
|
|
118
|
+
underline: fasUnderline,
|
|
119
|
+
unorderedList: fasListUl,
|
|
120
|
+
orderedList: fasListOl,
|
|
121
|
+
subscript: fasSubscript,
|
|
122
|
+
superscript: fasSuperscript,
|
|
123
|
+
hyperlink: fasLink,
|
|
124
|
+
toggleFullscreen: fasExpandArrowsAlt,
|
|
125
|
+
quote: fasQuoteRight,
|
|
126
|
+
left: fasAlignLeft,
|
|
127
|
+
center: fasAlignCenter,
|
|
128
|
+
right: fasAlignRight,
|
|
129
|
+
justify: fasAlignJustify,
|
|
130
|
+
print: fasPrint,
|
|
131
|
+
outdent: fasOutdent,
|
|
132
|
+
indent: fasIndent,
|
|
133
|
+
removeFormat: fasEraser,
|
|
134
|
+
formatting: fasHeading,
|
|
135
|
+
fontSize: fasTextHeight,
|
|
136
|
+
align: fasAlignLeft,
|
|
137
|
+
hr: farMinusSquare,
|
|
138
|
+
undo: fasUndo,
|
|
139
|
+
redo: fasRedo,
|
|
140
|
+
heading: fasHeading,
|
|
141
|
+
code: fasCode,
|
|
142
|
+
size: fasTextHeight,
|
|
143
|
+
font: fasFont,
|
|
144
|
+
viewSource: fasCode
|
|
145
|
+
},
|
|
146
|
+
expansionItem: {
|
|
147
|
+
icon: fasChevronDown,
|
|
148
|
+
denseIcon: fasCaretDown
|
|
149
|
+
},
|
|
150
|
+
fab: {
|
|
151
|
+
icon: fasPlus,
|
|
152
|
+
activeIcon: fasTimes
|
|
153
|
+
},
|
|
154
|
+
field: {
|
|
155
|
+
clear: fasTimesCircle,
|
|
156
|
+
error: fasExclamationCircle
|
|
157
|
+
},
|
|
158
|
+
pagination: {
|
|
159
|
+
first: fasStepBackward,
|
|
160
|
+
prev: fasChevronLeft,
|
|
161
|
+
next: fasChevronRight,
|
|
162
|
+
last: fasStepForward
|
|
163
|
+
},
|
|
164
|
+
rating: {
|
|
165
|
+
icon: fasStar
|
|
166
|
+
},
|
|
167
|
+
stepper: {
|
|
168
|
+
done: fasCheck,
|
|
169
|
+
active: fasPencilAlt,
|
|
170
|
+
error: fasExclamationTriangle
|
|
171
|
+
},
|
|
172
|
+
tabs: {
|
|
173
|
+
left: fasChevronLeft,
|
|
174
|
+
right: fasChevronRight,
|
|
175
|
+
up: fasChevronUp,
|
|
176
|
+
down: fasChevronDown
|
|
177
|
+
},
|
|
178
|
+
table: {
|
|
179
|
+
arrowUp: fasArrowUp,
|
|
180
|
+
warning: fasExclamationTriangle,
|
|
181
|
+
firstPage: fasStepBackward,
|
|
182
|
+
prevPage: fasChevronLeft,
|
|
183
|
+
nextPage: fasChevronRight,
|
|
184
|
+
lastPage: fasStepForward
|
|
185
|
+
},
|
|
186
|
+
tree: {
|
|
187
|
+
icon: fasPlay
|
|
188
|
+
},
|
|
189
|
+
uploader: {
|
|
190
|
+
done: fasCheck,
|
|
191
|
+
clear: fasTimes,
|
|
192
|
+
add: fasPlusSquare,
|
|
193
|
+
upload: fasUpload,
|
|
194
|
+
removeQueue: fasStream,
|
|
195
|
+
removeUploaded: fasClipboardCheck
|
|
196
|
+
}
|
|
197
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "quasar",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.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",
|
|
@@ -17,7 +17,9 @@
|
|
|
17
17
|
"scripts": {
|
|
18
18
|
"clean": "node build/script.clean.js",
|
|
19
19
|
"dev": "cd ./dev && node ./script.dev.js dev && cd ..",
|
|
20
|
+
"dev:build": "cd ./dev && node ./script.build.js dev && cd ..",
|
|
20
21
|
"dev:ssr": "cd ./dev && node ./script.dev.js dev -m ssr && cd ..",
|
|
22
|
+
"dev:build:ssr": "cd ./dev && node ./script.build.js dev -m ssr && cd ..",
|
|
21
23
|
"dev:cordova:ios": "cd ./dev && node ./script.dev.js dev -m cordova -T ios && cd ..",
|
|
22
24
|
"dev:cordova:android": "cd ./dev && node ./script.dev.js dev -m cordova -T android && cd ..",
|
|
23
25
|
"dev:capacitor:ios": "cd ./dev && node ./script.dev.js dev -m capacitor -T ios && cd ..",
|
|
@@ -64,14 +66,15 @@
|
|
|
64
66
|
},
|
|
65
67
|
"homepage": "https://quasar.dev",
|
|
66
68
|
"devDependencies": {
|
|
67
|
-
"@
|
|
68
|
-
"@quasar/app": "^3.0.0",
|
|
69
|
+
"@quasar/app-vite": "^1.0.0-beta.5",
|
|
69
70
|
"@quasar/extras": "^1.12.0",
|
|
70
71
|
"@quasar/quasar-app-extension-testing-e2e-cypress": "^4.0.1",
|
|
71
72
|
"@rollup/plugin-node-resolve": "^11.2.1",
|
|
72
73
|
"@rollup/plugin-replace": "^2.3.3",
|
|
74
|
+
"autoprefixer": "^10.4.4",
|
|
73
75
|
"babel-preset-es2015-rollup": "^3.0.0",
|
|
74
76
|
"cli-highlight": "^2.1.11",
|
|
77
|
+
"cssnano": "^5.1.4",
|
|
75
78
|
"diff": "^5.0.0",
|
|
76
79
|
"eslint": "^7.4.0",
|
|
77
80
|
"eslint-config-standard": "^16.0.2",
|
|
@@ -82,16 +85,15 @@
|
|
|
82
85
|
"eslint-plugin-node": "^11.1.0",
|
|
83
86
|
"eslint-plugin-promise": "^4.2.1",
|
|
84
87
|
"eslint-plugin-vue": "^7.0.0",
|
|
85
|
-
"eslint-webpack-plugin": "^2.4.1",
|
|
86
88
|
"fast-glob": "^3.2.7",
|
|
87
89
|
"json-beautify": "^1.1.1",
|
|
88
90
|
"module-alias": "^2.2.2",
|
|
91
|
+
"postcss-rtlcss": "^3.5.3",
|
|
89
92
|
"prettier": "^2.4.1",
|
|
90
93
|
"quasar": "^2.1.9",
|
|
91
94
|
"recast": "^0.18.5",
|
|
92
95
|
"rimraf": "^3.0.1",
|
|
93
96
|
"rollup": "^2.34.0",
|
|
94
|
-
"rollup-plugin-typescript2": "^0.29.0",
|
|
95
97
|
"table": "^6.0.4",
|
|
96
98
|
"tslib": "^2.0.3",
|
|
97
99
|
"uglify-es": "^3.3.9",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
"to": {
|
|
18
18
|
"type": [ "String", "Object" ],
|
|
19
|
-
"desc": "Equivalent to Vue Router <router-link> 'to' property;
|
|
19
|
+
"desc": "Equivalent to Vue Router <router-link> 'to' property; Superseded by 'href' prop if used",
|
|
20
20
|
"examples": [
|
|
21
21
|
"/home/dashboard",
|
|
22
22
|
":to=\"{ name: 'my-route-name' }\""
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
"replace": {
|
|
28
28
|
"type": "Boolean",
|
|
29
|
-
"desc": "Equivalent to Vue Router <router-link> 'replace' property;
|
|
29
|
+
"desc": "Equivalent to Vue Router <router-link> 'replace' property; Superseded by 'href' prop if used",
|
|
30
30
|
"category": "navigation"
|
|
31
31
|
},
|
|
32
32
|
|
|
@@ -83,7 +83,7 @@ export default createComponent({
|
|
|
83
83
|
const classes = `q-fab__${ kebab } absolute-full`
|
|
84
84
|
|
|
85
85
|
return slotFn === void 0
|
|
86
|
-
? h(QIcon, { class: classes, name: props[
|
|
86
|
+
? h(QIcon, { class: classes, name: props[ camel ] || $q.iconSet.fab[ camel ] })
|
|
87
87
|
: h('div', { class: classes }, slotFn(slotScope.value))
|
|
88
88
|
}
|
|
89
89
|
|
|
@@ -36,7 +36,7 @@ const imgRE = /^img:/
|
|
|
36
36
|
const svgUseRE = /^svguse:/
|
|
37
37
|
const ionRE = /^ion-/
|
|
38
38
|
const faLaRE = /^[lf]a[srlbdk]? /
|
|
39
|
-
const fa6RE = /^fa-(
|
|
39
|
+
const fa6RE = /^fa-(solid|regular|light|brands|duotone|thin)/
|
|
40
40
|
|
|
41
41
|
export default createComponent({
|
|
42
42
|
name: 'QIcon',
|
|
@@ -175,6 +175,7 @@ export default createComponent({
|
|
|
175
175
|
localResetVirtualScroll,
|
|
176
176
|
padVirtualScroll,
|
|
177
177
|
onVirtualScrollEvt,
|
|
178
|
+
reset,
|
|
178
179
|
scrollTo,
|
|
179
180
|
setVirtualScrollSize
|
|
180
181
|
} = useVirtualScroll({
|
|
@@ -432,6 +433,8 @@ export default createComponent({
|
|
|
432
433
|
|
|
433
434
|
watch(menu, updateMenu)
|
|
434
435
|
|
|
436
|
+
watch(virtualScrollLength, rerenderMenu)
|
|
437
|
+
|
|
435
438
|
function getEmittingOptionValue (opt) {
|
|
436
439
|
return props.emitValue === true
|
|
437
440
|
? getOptionValue.value(opt)
|
|
@@ -1339,6 +1342,18 @@ export default createComponent({
|
|
|
1339
1342
|
setOptionIndex(optionIndex)
|
|
1340
1343
|
}
|
|
1341
1344
|
|
|
1345
|
+
function rerenderMenu () {
|
|
1346
|
+
if (menu.value === true && state.innerLoading.value === false) {
|
|
1347
|
+
reset()
|
|
1348
|
+
|
|
1349
|
+
nextTick(() => {
|
|
1350
|
+
if (menu.value === true && state.innerLoading.value === false) {
|
|
1351
|
+
updateMenu(true)
|
|
1352
|
+
}
|
|
1353
|
+
})
|
|
1354
|
+
}
|
|
1355
|
+
}
|
|
1356
|
+
|
|
1342
1357
|
function updateMenuPosition () {
|
|
1343
1358
|
if (dialog.value === false && menuRef.value !== null) {
|
|
1344
1359
|
menuRef.value.updatePosition()
|
|
@@ -13,7 +13,7 @@ describe('use-transition API', () => {
|
|
|
13
13
|
.should('have.class', 'q-transition--fade-enter-active')
|
|
14
14
|
})
|
|
15
15
|
|
|
16
|
-
it('should use a different show
|
|
16
|
+
it('should use a different show transition if defined', () => {
|
|
17
17
|
const transition = 'scale'
|
|
18
18
|
mount(WrapperOne, {
|
|
19
19
|
attrs: {
|
|
@@ -40,7 +40,7 @@ describe('use-transition API', () => {
|
|
|
40
40
|
.should('have.class', 'q-transition--fade-leave-active')
|
|
41
41
|
})
|
|
42
42
|
|
|
43
|
-
it('should use a different hide
|
|
43
|
+
it('should use a different hide transition if defined', () => {
|
|
44
44
|
const transition = 'scale'
|
|
45
45
|
mount(WrapperOne, {
|
|
46
46
|
attrs: {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"props": {
|
|
3
3
|
"to": {
|
|
4
4
|
"type": [ "String", "Object" ],
|
|
5
|
-
"desc": "Equivalent to Vue Router <router-link> 'to' property;
|
|
5
|
+
"desc": "Equivalent to Vue Router <router-link> 'to' property; Superseded by 'href' prop if used",
|
|
6
6
|
"examples": [
|
|
7
7
|
"/home/dashboard",
|
|
8
8
|
":to=\"{ name: 'my-route-name' }\""
|
|
@@ -12,26 +12,26 @@
|
|
|
12
12
|
|
|
13
13
|
"exact": {
|
|
14
14
|
"type": "Boolean",
|
|
15
|
-
"desc": "Equivalent to Vue Router <router-link> 'exact' property;
|
|
15
|
+
"desc": "Equivalent to Vue Router <router-link> 'exact' property; Superseded by 'href' prop if used",
|
|
16
16
|
"category": "navigation"
|
|
17
17
|
},
|
|
18
18
|
|
|
19
19
|
"replace": {
|
|
20
20
|
"type": "Boolean",
|
|
21
|
-
"desc": "Equivalent to Vue Router <router-link> 'replace' property;
|
|
21
|
+
"desc": "Equivalent to Vue Router <router-link> 'replace' property; Superseded by 'href' prop if used",
|
|
22
22
|
"category": "navigation"
|
|
23
23
|
},
|
|
24
24
|
|
|
25
25
|
"active-class": {
|
|
26
26
|
"type": "String",
|
|
27
|
-
"desc": "Equivalent to Vue Router <router-link> 'active-class' property;
|
|
27
|
+
"desc": "Equivalent to Vue Router <router-link> 'active-class' property; Superseded by 'href' prop if used",
|
|
28
28
|
"examples": [ "my-active-class" ],
|
|
29
29
|
"category": "navigation"
|
|
30
30
|
},
|
|
31
31
|
|
|
32
32
|
"exact-active-class": {
|
|
33
33
|
"type": "String",
|
|
34
|
-
"desc": "Equivalent to Vue Router <router-link> 'active-class' property;
|
|
34
|
+
"desc": "Equivalent to Vue Router <router-link> 'active-class' property; Superseded by 'href' prop if used",
|
|
35
35
|
"examples": [ "my-exact-active-class" ],
|
|
36
36
|
"category": "navigation"
|
|
37
37
|
},
|
package/src/utils/date.js
CHANGED
|
@@ -734,16 +734,16 @@ function getOrdinal (n) {
|
|
|
734
734
|
|
|
735
735
|
const formatter = {
|
|
736
736
|
// Year: 00, 01, ..., 99
|
|
737
|
-
YY (date,
|
|
737
|
+
YY (date, dateLocale, forcedYear) {
|
|
738
738
|
// workaround for < 1900 with new Date()
|
|
739
|
-
const y = this.YYYY(date,
|
|
739
|
+
const y = this.YYYY(date, dateLocale, forcedYear) % 100
|
|
740
740
|
return y > 0
|
|
741
741
|
? pad(y)
|
|
742
742
|
: '-' + pad(Math.abs(y))
|
|
743
743
|
},
|
|
744
744
|
|
|
745
745
|
// Year: 1900, 1901, ..., 2099
|
|
746
|
-
YYYY (date,
|
|
746
|
+
YYYY (date, _dateLocale, forcedYear) {
|
|
747
747
|
// workaround for < 1900 with new Date()
|
|
748
748
|
return forcedYear !== void 0 && forcedYear !== null
|
|
749
749
|
? forcedYear
|
|
@@ -853,13 +853,9 @@ const formatter = {
|
|
|
853
853
|
// Hour: 1, 2, ..., 12
|
|
854
854
|
h (date) {
|
|
855
855
|
const hours = date.getHours()
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
if (hours > 12) {
|
|
860
|
-
return hours % 12
|
|
861
|
-
}
|
|
862
|
-
return hours
|
|
856
|
+
return hours === 0
|
|
857
|
+
? 12
|
|
858
|
+
: (hours > 12 ? hours % 12 : hours)
|
|
863
859
|
},
|
|
864
860
|
|
|
865
861
|
// Hour: 01, 02, ..., 12
|
|
@@ -918,7 +914,7 @@ const formatter = {
|
|
|
918
914
|
},
|
|
919
915
|
|
|
920
916
|
// Timezone: -01:00, +00:00, ... +12:00
|
|
921
|
-
Z (date,
|
|
917
|
+
Z (date, _dateLocale, _forcedYear, forcedTimezoneOffset) {
|
|
922
918
|
const tzOffset = forcedTimezoneOffset === void 0 || forcedTimezoneOffset === null
|
|
923
919
|
? date.getTimezoneOffset()
|
|
924
920
|
: forcedTimezoneOffset
|
|
@@ -927,7 +923,7 @@ const formatter = {
|
|
|
927
923
|
},
|
|
928
924
|
|
|
929
925
|
// Timezone: -0100, +0000, ... +1200
|
|
930
|
-
ZZ (date,
|
|
926
|
+
ZZ (date, _dateLocale, _forcedYear, forcedTimezoneOffset) {
|
|
931
927
|
const tzOffset = forcedTimezoneOffset === void 0 || forcedTimezoneOffset === null
|
|
932
928
|
? date.getTimezoneOffset()
|
|
933
929
|
: forcedTimezoneOffset
|