quasar 2.6.1 → 2.6.4

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.
Files changed (137) hide show
  1. package/dist/api/Notify.json +68 -734
  2. package/dist/api/QBreadcrumbsEl.json +5 -5
  3. package/dist/api/QBtn.json +2 -2
  4. package/dist/api/QBtnDropdown.json +2 -2
  5. package/dist/api/QExpansionItem.json +5 -5
  6. package/dist/api/QItem.json +5 -5
  7. package/dist/api/QRouteTab.json +5 -5
  8. package/dist/api/QTable.json +14 -0
  9. package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
  10. package/dist/icon-set/eva-icons.umd.prod.js +1 -1
  11. package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
  12. package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
  13. package/dist/icon-set/fontawesome-v6-pro.umd.prod.js +1 -1
  14. package/dist/icon-set/fontawesome-v6.umd.prod.js +1 -1
  15. package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
  16. package/dist/icon-set/line-awesome.umd.prod.js +1 -1
  17. package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
  18. package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
  19. package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
  20. package/dist/icon-set/material-icons.umd.prod.js +1 -1
  21. package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
  22. package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
  23. package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
  24. package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
  25. package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
  26. package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
  27. package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +6 -0
  28. package/dist/icon-set/svg-fontawesome-v6.umd.prod.js +1 -1
  29. package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
  30. package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
  31. package/dist/icon-set/svg-ionicons-v6.umd.prod.js +1 -1
  32. package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
  33. package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
  34. package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
  35. package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
  36. package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
  37. package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
  38. package/dist/icon-set/svg-themify.umd.prod.js +1 -1
  39. package/dist/icon-set/themify.umd.prod.js +1 -1
  40. package/dist/lang/ar-TN.umd.prod.js +6 -0
  41. package/dist/lang/ar.umd.prod.js +1 -1
  42. package/dist/lang/az-Latn.umd.prod.js +1 -1
  43. package/dist/lang/bg.umd.prod.js +1 -1
  44. package/dist/lang/bn.umd.prod.js +1 -1
  45. package/dist/lang/ca.umd.prod.js +1 -1
  46. package/dist/lang/cs.umd.prod.js +1 -1
  47. package/dist/lang/da.umd.prod.js +1 -1
  48. package/dist/lang/de.umd.prod.js +1 -1
  49. package/dist/lang/el.umd.prod.js +1 -1
  50. package/dist/lang/en-GB.umd.prod.js +1 -1
  51. package/dist/lang/en-US.umd.prod.js +1 -1
  52. package/dist/lang/eo.umd.prod.js +1 -1
  53. package/dist/lang/es.umd.prod.js +1 -1
  54. package/dist/lang/et.umd.prod.js +1 -1
  55. package/dist/lang/eu.umd.prod.js +1 -1
  56. package/dist/lang/fa-IR.umd.prod.js +1 -1
  57. package/dist/lang/fa.umd.prod.js +1 -1
  58. package/dist/lang/fi.umd.prod.js +1 -1
  59. package/dist/lang/fr.umd.prod.js +1 -1
  60. package/dist/lang/gn.umd.prod.js +1 -1
  61. package/dist/lang/he.umd.prod.js +1 -1
  62. package/dist/lang/hr.umd.prod.js +1 -1
  63. package/dist/lang/hu.umd.prod.js +1 -1
  64. package/dist/lang/id.umd.prod.js +1 -1
  65. package/dist/lang/is.umd.prod.js +1 -1
  66. package/dist/lang/it.umd.prod.js +1 -1
  67. package/dist/lang/ja.umd.prod.js +1 -1
  68. package/dist/lang/km.umd.prod.js +1 -1
  69. package/dist/lang/ko-KR.umd.prod.js +1 -1
  70. package/dist/lang/kur-CKB.umd.prod.js +1 -1
  71. package/dist/lang/kz.umd.prod.js +1 -1
  72. package/dist/lang/lt.umd.prod.js +1 -1
  73. package/dist/lang/lu.umd.prod.js +1 -1
  74. package/dist/lang/lv.umd.prod.js +1 -1
  75. package/dist/lang/ml.umd.prod.js +1 -1
  76. package/dist/lang/ms.umd.prod.js +1 -1
  77. package/dist/lang/my.umd.prod.js +1 -1
  78. package/dist/lang/nb-NO.umd.prod.js +1 -1
  79. package/dist/lang/nl.umd.prod.js +1 -1
  80. package/dist/lang/pl.umd.prod.js +1 -1
  81. package/dist/lang/pt-BR.umd.prod.js +1 -1
  82. package/dist/lang/pt.umd.prod.js +1 -1
  83. package/dist/lang/ro.umd.prod.js +1 -1
  84. package/dist/lang/ru.umd.prod.js +1 -1
  85. package/dist/lang/sk.umd.prod.js +1 -1
  86. package/dist/lang/sl.umd.prod.js +1 -1
  87. package/dist/lang/sr-CYR.umd.prod.js +1 -1
  88. package/dist/lang/sr.umd.prod.js +1 -1
  89. package/dist/lang/sv.umd.prod.js +1 -1
  90. package/dist/lang/ta.umd.prod.js +1 -1
  91. package/dist/lang/th.umd.prod.js +1 -1
  92. package/dist/lang/tr.umd.prod.js +1 -1
  93. package/dist/lang/ug.umd.prod.js +1 -1
  94. package/dist/lang/uk.umd.prod.js +1 -1
  95. package/dist/lang/vi.umd.prod.js +1 -1
  96. package/dist/lang/zh-CN.umd.prod.js +1 -1
  97. package/dist/lang/zh-TW.umd.prod.js +1 -1
  98. package/dist/quasar.cjs.prod.js +2 -2
  99. package/dist/quasar.css +12 -20
  100. package/dist/quasar.esm.prod.js +2 -2
  101. package/dist/quasar.prod.css +1 -1
  102. package/dist/quasar.rtl.css +27 -39
  103. package/dist/quasar.rtl.prod.css +1 -1
  104. package/dist/quasar.sass +9 -15
  105. package/dist/quasar.umd.js +88 -33
  106. package/dist/quasar.umd.prod.js +2 -2
  107. package/dist/types/api/qnotify.d.ts +9 -0
  108. package/dist/types/api.d.ts +1 -0
  109. package/dist/types/index.d.ts +176 -753
  110. package/dist/vetur/quasar-attributes.json +28 -24
  111. package/dist/vetur/quasar-tags.json +1 -0
  112. package/dist/web-types/web-types.json +34 -25
  113. package/icon-set/svg-fontawesome-v5.js +197 -0
  114. package/icon-set/svg-fontawesome-v5.mjs +197 -0
  115. package/lang/ar-TN.js +101 -0
  116. package/lang/ar-TN.mjs +96 -0
  117. package/lang/index.json +4 -0
  118. package/package.json +7 -5
  119. package/src/components/btn/use-btn.json +2 -2
  120. package/src/components/checkbox/QCheckbox.js +1 -1
  121. package/src/components/checkbox/QCheckbox.sass +5 -9
  122. package/src/components/dialog-plugin/DialogPlugin.js +4 -4
  123. package/src/components/editor/editor-caret.js +1 -1
  124. package/src/components/fab/QFab.js +1 -1
  125. package/src/components/icon/QIcon.js +3 -4
  126. package/src/components/radio/QRadio.js +1 -1
  127. package/src/components/radio/QRadio.sass +5 -9
  128. package/src/components/select/QSelect.js +15 -0
  129. package/src/components/table/QTable.js +4 -0
  130. package/src/components/table/QTable.json +4 -0
  131. package/src/components/table/QTh.js +5 -2
  132. package/src/components/virtual-scroll/QVirtualScroll.js +9 -1
  133. package/src/composables/private/__tests__/use-transition.spec.js +2 -2
  134. package/src/composables/private/use-router-link.json +5 -5
  135. package/src/plugins/Notify.json +55 -533
  136. package/src/utils/date.js +8 -12
  137. 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
+ 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/lang/ar-TN.js ADDED
@@ -0,0 +1,101 @@
1
+ /**
2
+ * DO NOT EDIT THIS FILE. It is automatically generated
3
+ * from its .mjs counterpart (same filename but with .mjs extension).
4
+ * Edit that file instead (ar-TN.mjs).
5
+ */
6
+ module.exports = {
7
+ isoName: 'ar-TN',
8
+ nativeName: 'العربية (تونس)',
9
+ rtl: true,
10
+ label: {
11
+ clear: 'مسح',
12
+ ok: 'حسناً',
13
+ cancel: 'إلغاء',
14
+ close: 'إغلاق',
15
+ set: 'ضبط',
16
+ select: 'تحديد',
17
+ reset: 'إعادة ضبط',
18
+ remove: 'حذف',
19
+ update: 'تحديث',
20
+ create: 'إنشاء',
21
+ search: 'بحث',
22
+ filter: 'ترشيح',
23
+ refresh: 'تحديث'
24
+ },
25
+ date: {
26
+ days: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
27
+ daysShort: 'أحد_إثن_ثلا_أرب_خمي_جمع_سبت'.split('_'),
28
+ months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),
29
+ monthsShort: 'جان_فيف_مار_أفر_ماي_جوا_جوي_أوت_سبت_أكت_نوف_ديس'.split('_'),
30
+ firstDayOfWeek: 1, // 0-6, 0 - Sunday, 1 Monday, ...
31
+ format24h: false,
32
+ pluralDay: 'أيام'
33
+ },
34
+ table: {
35
+ noData: 'لا توجد بيانات',
36
+ noResults: 'لا توجد نتائج',
37
+ loading: 'جارٍ التحميل...',
38
+ selectedRecords: rows => (
39
+ rows === 0
40
+ ? 'لا توجد مُدخَلات محدّدة.'
41
+ : rows === 1
42
+ ? 'مُدخَلة واحدة محدّدة.'
43
+ : rows === 2
44
+ ? 'مُدخَلتان محدّدتان.'
45
+ : 'عدد المُدخَلات المحدّدة ' + rows + '.'
46
+ ),
47
+ recordsPerPage: 'عدد المُدخَلات في كل صفحة:',
48
+ allRows: 'الكل',
49
+ pagination: (start, end, total) => start + '-' + end + ' من ' + total,
50
+ columns: 'أعمدة'
51
+ },
52
+ editor: {
53
+ url: 'رابط',
54
+ bold: 'عريض',
55
+ italic: 'مائل',
56
+ strikethrough: 'مشطوب',
57
+ underline: 'مسطّر',
58
+ unorderedList: 'قائمة غير مرتبة',
59
+ orderedList: 'قائمة مرتبة',
60
+ subscript: 'منخفض',
61
+ superscript: 'مرتفع',
62
+ hyperlink: 'رابط',
63
+ toggleFullscreen: 'تفعيل أو إيقاف العرض في كامل الشاشة',
64
+ quote: 'اقتباس',
65
+ left: 'انتظام لجهة اليسار',
66
+ center: 'توسيط',
67
+ right: 'انتظام لجهة اليمين',
68
+ justify: 'انتظام بالتساوي',
69
+ print: 'طباعة',
70
+ outdent: 'تقليل مسافة البداية',
71
+ indent: 'زيادة مسافة البداية',
72
+ removeFormat: 'إزالة التنسيق',
73
+ formatting: 'تنسيق',
74
+ fontSize: 'حجم الخط',
75
+ align: 'انتظام',
76
+ hr: 'إضافة خط أفقي',
77
+ undo: 'تراجع',
78
+ redo: 'إعادة',
79
+ heading1: 'عنوان 1',
80
+ heading2: 'عنوان 2',
81
+ heading3: 'عنوان 3',
82
+ heading4: 'عنوان 4',
83
+ heading5: 'عنوان 5',
84
+ heading6: 'عنوان 6',
85
+ paragraph: 'فقرة',
86
+ code: 'تعليمات برمجية',
87
+ size1: 'صغير جداً',
88
+ size2: 'صغير',
89
+ size3: 'عادي',
90
+ size4: 'فوق المتوسط',
91
+ size5: 'كبير',
92
+ size6: 'كبير جداً',
93
+ size7: 'الأقصى',
94
+ defaultFont: 'الخط الإفتراضي',
95
+ viewSource: 'عرض المصدر'
96
+ },
97
+ tree: {
98
+ noNodes: 'لا توجد عُقَد',
99
+ noResults: 'لا توجد نتائج'
100
+ }
101
+ }
package/lang/ar-TN.mjs ADDED
@@ -0,0 +1,96 @@
1
+ export default {
2
+ isoName: 'ar-TN',
3
+ nativeName: 'العربية (تونس)',
4
+ rtl: true,
5
+ label: {
6
+ clear: 'مسح',
7
+ ok: 'حسناً',
8
+ cancel: 'إلغاء',
9
+ close: 'إغلاق',
10
+ set: 'ضبط',
11
+ select: 'تحديد',
12
+ reset: 'إعادة ضبط',
13
+ remove: 'حذف',
14
+ update: 'تحديث',
15
+ create: 'إنشاء',
16
+ search: 'بحث',
17
+ filter: 'ترشيح',
18
+ refresh: 'تحديث'
19
+ },
20
+ date: {
21
+ days: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
22
+ daysShort: 'أحد_إثن_ثلا_أرب_خمي_جمع_سبت'.split('_'),
23
+ months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'),
24
+ monthsShort: 'جان_فيف_مار_أفر_ماي_جوا_جوي_أوت_سبت_أكت_نوف_ديس'.split('_'),
25
+ firstDayOfWeek: 1, // 0-6, 0 - Sunday, 1 Monday, ...
26
+ format24h: false,
27
+ pluralDay: 'أيام'
28
+ },
29
+ table: {
30
+ noData: 'لا توجد بيانات',
31
+ noResults: 'لا توجد نتائج',
32
+ loading: 'جارٍ التحميل...',
33
+ selectedRecords: rows => (
34
+ rows === 0
35
+ ? 'لا توجد مُدخَلات محدّدة.'
36
+ : rows === 1
37
+ ? 'مُدخَلة واحدة محدّدة.'
38
+ : rows === 2
39
+ ? 'مُدخَلتان محدّدتان.'
40
+ : 'عدد المُدخَلات المحدّدة ' + rows + '.'
41
+ ),
42
+ recordsPerPage: 'عدد المُدخَلات في كل صفحة:',
43
+ allRows: 'الكل',
44
+ pagination: (start, end, total) => start + '-' + end + ' من ' + total,
45
+ columns: 'أعمدة'
46
+ },
47
+ editor: {
48
+ url: 'رابط',
49
+ bold: 'عريض',
50
+ italic: 'مائل',
51
+ strikethrough: 'مشطوب',
52
+ underline: 'مسطّر',
53
+ unorderedList: 'قائمة غير مرتبة',
54
+ orderedList: 'قائمة مرتبة',
55
+ subscript: 'منخفض',
56
+ superscript: 'مرتفع',
57
+ hyperlink: 'رابط',
58
+ toggleFullscreen: 'تفعيل أو إيقاف العرض في كامل الشاشة',
59
+ quote: 'اقتباس',
60
+ left: 'انتظام لجهة اليسار',
61
+ center: 'توسيط',
62
+ right: 'انتظام لجهة اليمين',
63
+ justify: 'انتظام بالتساوي',
64
+ print: 'طباعة',
65
+ outdent: 'تقليل مسافة البداية',
66
+ indent: 'زيادة مسافة البداية',
67
+ removeFormat: 'إزالة التنسيق',
68
+ formatting: 'تنسيق',
69
+ fontSize: 'حجم الخط',
70
+ align: 'انتظام',
71
+ hr: 'إضافة خط أفقي',
72
+ undo: 'تراجع',
73
+ redo: 'إعادة',
74
+ heading1: 'عنوان 1',
75
+ heading2: 'عنوان 2',
76
+ heading3: 'عنوان 3',
77
+ heading4: 'عنوان 4',
78
+ heading5: 'عنوان 5',
79
+ heading6: 'عنوان 6',
80
+ paragraph: 'فقرة',
81
+ code: 'تعليمات برمجية',
82
+ size1: 'صغير جداً',
83
+ size2: 'صغير',
84
+ size3: 'عادي',
85
+ size4: 'فوق المتوسط',
86
+ size5: 'كبير',
87
+ size6: 'كبير جداً',
88
+ size7: 'الأقصى',
89
+ defaultFont: 'الخط الإفتراضي',
90
+ viewSource: 'عرض المصدر'
91
+ },
92
+ tree: {
93
+ noNodes: 'لا توجد عُقَد',
94
+ noResults: 'لا توجد نتائج'
95
+ }
96
+ }
package/lang/index.json CHANGED
@@ -1,4 +1,8 @@
1
1
  [
2
+ {
3
+ "isoName": "ar-TN",
4
+ "nativeName": "العربية (تونس)"
5
+ },
2
6
  {
3
7
  "isoName": "ar",
4
8
  "nativeName": "العربية"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quasar",
3
- "version": "2.6.1",
3
+ "version": "2.6.4",
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
- "@babel/eslint-parser": "^7.13.14",
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; Superseeded by 'href' prop if used",
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; Superseeded by 'href' prop if used",
29
+ "desc": "Equivalent to Vue Router <router-link> 'replace' property; Superseded by 'href' prop if used",
30
30
  "category": "navigation"
31
31
  },
32
32
 
@@ -50,7 +50,7 @@ export default createComponent({
50
50
  ? [
51
51
  h('div', {
52
52
  key: 'icon',
53
- class: 'q-checkbox__icon-container absolute flex flex-center no-wrap'
53
+ class: 'q-checkbox__icon-container absolute-full flex flex-center no-wrap'
54
54
  }, [
55
55
  h(QIcon, {
56
56
  class: 'q-checkbox__icon',
@@ -9,13 +9,13 @@ $checkbox-transition: .22s cubic-bezier(0,0,.2,1) 0ms
9
9
 
10
10
  &__bg,
11
11
  &__icon-container
12
+ user-select: none
13
+
14
+ &__bg
12
15
  top: 25%
13
16
  left: 25%
14
17
  width: 50%
15
18
  height: 50%
16
- user-select: none
17
-
18
- &__bg
19
19
  border: 2px solid currentColor
20
20
  border-radius: 2px
21
21
  transition: background $checkbox-transition
@@ -23,7 +23,7 @@ $checkbox-transition: .22s cubic-bezier(0,0,.2,1) 0ms
23
23
 
24
24
  &__icon
25
25
  color: currentColor
26
- font-size: .6em
26
+ font-size: .5em
27
27
 
28
28
  &__svg
29
29
  color: #fff
@@ -76,16 +76,12 @@ $checkbox-transition: .22s cubic-bezier(0,0,.2,1) 0ms
76
76
 
77
77
  &--dense
78
78
 
79
- .q-checkbox__icon
80
- font-size: .6em
81
-
82
79
  .q-checkbox__inner
83
80
  width: .5em
84
81
  min-width: .5em
85
82
  height: .5em
86
83
 
87
- .q-checkbox__bg,
88
- .q-checkbox__icon-container
84
+ .q-checkbox__bg
89
85
  left: 5%
90
86
  top: 5%
91
87
  width: 90%
@@ -239,14 +239,14 @@ export default createComponent({
239
239
  function getButtons () {
240
240
  const child = []
241
241
 
242
- props.cancel && child.push(
243
- h(QBtn, cancelProps.value)
244
- )
245
-
246
242
  props.ok && child.push(
247
243
  h(QBtn, okProps.value)
248
244
  )
249
245
 
246
+ props.cancel && child.push(
247
+ h(QBtn, cancelProps.value)
248
+ )
249
+
250
250
  return h(QCardActions, {
251
251
  class: props.stackButtons === true ? 'items-end' : '',
252
252
  vertical: props.stackButtons,
@@ -198,7 +198,7 @@ export default class Caret {
198
198
  return false
199
199
  }
200
200
 
201
- if (el !== null && list.includes(el.nodeName.toLowerCase()) === true) {
201
+ if (list.includes(el.nodeName.toLowerCase()) === true) {
202
202
  return true
203
203
  }
204
204
 
@@ -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[ kebab ] || $q.iconSet.fab[ camel ] })
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
 
@@ -11,13 +11,13 @@ const sameFn = i => i
11
11
  const ionFn = i => `ionicons ${ i }`
12
12
 
13
13
  const libMap = {
14
+ 'mdi-': i => `mdi ${ i }`,
14
15
  'icon-': sameFn, // fontawesome equiv
15
16
  'bt-': i => `bt ${ i }`,
16
17
  'eva-': i => `eva ${ i }`,
17
18
  'ion-md': ionFn,
18
19
  'ion-ios': ionFn,
19
20
  'ion-logo': ionFn,
20
- 'mdi-': i => `mdi ${ i }`,
21
21
  'iconfont ': sameFn,
22
22
  'ti-': i => `themify-icon ${ i }`,
23
23
  'bi-': i => `bootstrap-icons ${ i }`
@@ -35,8 +35,7 @@ const mRE = /^[Mm]\s?[-+]?\.?\d/
35
35
  const imgRE = /^img:/
36
36
  const svgUseRE = /^svguse:/
37
37
  const ionRE = /^ion-/
38
- const faLaRE = /^[lf]a[srlbdk]? /
39
- const fa6RE = /^fa-(brand|regular|solid)/
38
+ const faRE = /^(fa-(solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /
40
39
 
41
40
  export default createComponent({
42
41
  name: 'QIcon',
@@ -130,7 +129,7 @@ export default createComponent({
130
129
  if (matches !== null) {
131
130
  cls = libMap[ matches[ 1 ] ](icon)
132
131
  }
133
- else if (faLaRE.test(icon) === true || fa6RE.test(icon) === true) {
132
+ else if (faRE.test(icon) === true) {
134
133
  cls = icon
135
134
  }
136
135
  else if (ionRE.test(icon) === true) {
@@ -142,7 +142,7 @@ export default createComponent({
142
142
  ? [
143
143
  h('div', {
144
144
  key: 'icon',
145
- class: 'q-radio__icon-container absolute flex flex-center no-wrap'
145
+ class: 'q-radio__icon-container absolute-full flex flex-center no-wrap'
146
146
  }, [
147
147
  h(QIcon, {
148
148
  class: 'q-radio__icon',
@@ -9,20 +9,20 @@ $radio-transition: .22s cubic-bezier(0,0,.2,1) 0ms
9
9
 
10
10
  &__bg,
11
11
  &__icon-container
12
+ user-select: none
13
+
14
+ &__bg
12
15
  top: 25%
13
16
  left: 25%
14
17
  width: 50%
15
18
  height: 50%
16
- user-select: none
17
-
18
- &__bg
19
19
  -webkit-print-color-adjust: exact
20
20
  path
21
21
  fill: currentColor
22
22
 
23
23
  &__icon
24
24
  color: currentColor
25
- font-size: .6em
25
+ font-size: .5em
26
26
 
27
27
  &__check
28
28
  transform-origin: 50% 50%
@@ -56,16 +56,12 @@ $radio-transition: .22s cubic-bezier(0,0,.2,1) 0ms
56
56
 
57
57
  &--dense
58
58
 
59
- .q-checkbox__icon
60
- font-size: .6em
61
-
62
59
  .q-radio__inner
63
60
  width: .5em
64
61
  min-width: .5em
65
62
  height: .5em
66
63
 
67
- .q-radio__bg,
68
- .q-radio__icon-container
64
+ .q-radio__bg
69
65
  left: 0
70
66
  top: 0
71
67
  width: 100%
@@ -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()