quasar 2.1.9 → 2.2.3

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 (270) hide show
  1. package/dist/api/QCarousel.json +19 -5
  2. package/dist/api/QColor.json +6 -0
  3. package/dist/api/QInnerLoading.json +32 -0
  4. package/dist/api/QOptionGroup.json +58 -1
  5. package/dist/api/QRange.json +10 -3
  6. package/dist/api/QSeparator.json +1 -1
  7. package/dist/api/QSkeleton.json +14 -0
  8. package/dist/api/QSlider.json +10 -3
  9. package/dist/api/QStepper.json +16 -2
  10. package/dist/api/QTabPanels.json +16 -2
  11. package/dist/api/QTable.json +5 -0
  12. package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
  13. package/dist/icon-set/eva-icons.umd.prod.js +1 -1
  14. package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
  15. package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
  16. package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
  17. package/dist/icon-set/line-awesome.umd.prod.js +1 -1
  18. package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
  19. package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
  20. package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
  21. package/dist/icon-set/material-icons.umd.prod.js +1 -1
  22. package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
  23. package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
  24. package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
  25. package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
  26. package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
  27. package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
  28. package/dist/icon-set/svg-fontawesome-v5.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-line-awesome.umd.prod.js +1 -1
  32. package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
  33. package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
  34. package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
  35. package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
  36. package/dist/icon-set/svg-mdi-v4.umd.prod.js +1 -1
  37. package/dist/icon-set/svg-mdi-v5.umd.prod.js +1 -1
  38. package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
  39. package/dist/icon-set/svg-themify.umd.prod.js +1 -1
  40. package/dist/icon-set/themify.umd.prod.js +1 -1
  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/fa-IR.umd.prod.js +1 -1
  56. package/dist/lang/fa.umd.prod.js +1 -1
  57. package/dist/lang/fi.umd.prod.js +1 -1
  58. package/dist/lang/fr.umd.prod.js +1 -1
  59. package/dist/lang/gn.umd.prod.js +1 -1
  60. package/dist/lang/he.umd.prod.js +1 -1
  61. package/dist/lang/hr.umd.prod.js +1 -1
  62. package/dist/lang/hu.umd.prod.js +1 -1
  63. package/dist/lang/id.umd.prod.js +1 -1
  64. package/dist/lang/is.umd.prod.js +1 -1
  65. package/dist/lang/it.umd.prod.js +1 -1
  66. package/dist/lang/ja.umd.prod.js +1 -1
  67. package/dist/lang/km.umd.prod.js +1 -1
  68. package/dist/lang/ko-KR.umd.prod.js +1 -1
  69. package/dist/lang/kur-CKB.umd.prod.js +1 -1
  70. package/dist/lang/lt.umd.prod.js +6 -0
  71. package/dist/lang/lu.umd.prod.js +1 -1
  72. package/dist/lang/lv.umd.prod.js +1 -1
  73. package/dist/lang/ml.umd.prod.js +1 -1
  74. package/dist/lang/ms.umd.prod.js +1 -1
  75. package/dist/lang/nb-NO.umd.prod.js +1 -1
  76. package/dist/lang/nl.umd.prod.js +1 -1
  77. package/dist/lang/pl.umd.prod.js +1 -1
  78. package/dist/lang/pt-BR.umd.prod.js +1 -1
  79. package/dist/lang/pt.umd.prod.js +1 -1
  80. package/dist/lang/ro.umd.prod.js +1 -1
  81. package/dist/lang/ru.umd.prod.js +1 -1
  82. package/dist/lang/sk.umd.prod.js +1 -1
  83. package/dist/lang/sl.umd.prod.js +1 -1
  84. package/dist/lang/sr-CYR.umd.prod.js +1 -1
  85. package/dist/lang/sr.umd.prod.js +1 -1
  86. package/dist/lang/sv.umd.prod.js +1 -1
  87. package/dist/lang/ta.umd.prod.js +1 -1
  88. package/dist/lang/th.umd.prod.js +1 -1
  89. package/dist/lang/tr.umd.prod.js +1 -1
  90. package/dist/lang/ug.umd.prod.js +2 -2
  91. package/dist/lang/uk.umd.prod.js +1 -1
  92. package/dist/lang/vi.umd.prod.js +1 -1
  93. package/dist/lang/zh-CN.umd.prod.js +1 -1
  94. package/dist/lang/zh-TW.umd.prod.js +1 -1
  95. package/dist/quasar.cjs.prod.js +2 -2
  96. package/dist/quasar.css +24 -23
  97. package/dist/quasar.esm.prod.js +2 -2
  98. package/dist/quasar.prod.css +1 -1
  99. package/dist/quasar.rtl.css +29 -28
  100. package/dist/quasar.rtl.prod.css +1 -1
  101. package/dist/quasar.sass +24 -18
  102. package/dist/quasar.umd.js +538 -391
  103. package/dist/quasar.umd.prod.js +2 -2
  104. package/dist/ssr-directives/Morph.js +1 -1
  105. package/dist/types/index.d.ts +81 -12
  106. package/dist/vetur/quasar-attributes.json +39 -7
  107. package/dist/vetur/quasar-tags.json +9 -1
  108. package/dist/web-types/web-types.json +101 -15
  109. package/lang/index.json +4 -0
  110. package/lang/lt.js +103 -0
  111. package/lang/ug.js +42 -42
  112. package/package.json +1 -1
  113. package/src/components/ajax-bar/QAjaxBar.js +3 -2
  114. package/src/components/avatar/QAvatar.js +3 -2
  115. package/src/components/badge/QBadge.js +3 -2
  116. package/src/components/banner/QBanner.js +3 -2
  117. package/src/components/bar/QBar.js +3 -2
  118. package/src/components/breadcrumbs/QBreadcrumbs.js +3 -2
  119. package/src/components/breadcrumbs/QBreadcrumbsEl.js +3 -2
  120. package/src/components/btn/QBtn.js +19 -21
  121. package/src/components/btn-dropdown/QBtnDropdown.js +3 -2
  122. package/src/components/btn-group/QBtnGroup.js +3 -2
  123. package/src/components/btn-toggle/QBtnToggle.js +3 -2
  124. package/src/components/card/QCard.js +3 -2
  125. package/src/components/card/QCardActions.js +3 -2
  126. package/src/components/card/QCardSection.js +3 -2
  127. package/src/components/carousel/QCarousel.js +11 -3
  128. package/src/components/carousel/QCarousel.json +9 -1
  129. package/src/components/carousel/QCarouselControl.js +3 -2
  130. package/src/components/carousel/QCarouselSlide.js +3 -2
  131. package/src/components/chat/QChatMessage.js +3 -2
  132. package/src/components/checkbox/QCheckbox.js +3 -2
  133. package/src/components/chip/QChip.js +3 -2
  134. package/src/components/circular-progress/QCircularProgress.js +3 -2
  135. package/src/components/color/QColor.js +76 -63
  136. package/src/components/color/QColor.json +7 -0
  137. package/src/components/color/QColor.sass +5 -1
  138. package/src/components/date/QDate.js +5 -3
  139. package/src/components/dialog/QDialog.js +9 -2
  140. package/src/components/dialog-bottom-sheet/BottomSheet.js +3 -2
  141. package/src/components/dialog-plugin/DialogPlugin.js +3 -2
  142. package/src/components/drawer/QDrawer.js +6 -2
  143. package/src/components/editor/QEditor.js +3 -2
  144. package/src/components/expansion-item/QExpansionItem.js +3 -2
  145. package/src/components/fab/QFab.js +3 -2
  146. package/src/components/fab/QFabAction.js +3 -2
  147. package/src/components/field/QField.js +3 -3
  148. package/src/components/file/QFile.js +3 -2
  149. package/src/components/footer/QFooter.js +3 -2
  150. package/src/components/form/QForm.js +3 -2
  151. package/src/components/header/QHeader.js +3 -2
  152. package/src/components/icon/QIcon.js +4 -2
  153. package/src/components/img/QImg.js +5 -2
  154. package/src/components/infinite-scroll/QInfiniteScroll.js +3 -2
  155. package/src/components/inner-loading/QInnerLoading.js +34 -9
  156. package/src/components/inner-loading/QInnerLoading.json +29 -0
  157. package/src/components/inner-loading/QInnerLoading.sass +4 -0
  158. package/src/components/input/QInput.js +3 -2
  159. package/src/components/intersection/QIntersection.js +3 -2
  160. package/src/components/item/QItem.js +3 -2
  161. package/src/components/item/QItemLabel.js +3 -2
  162. package/src/components/item/QItemSection.js +3 -2
  163. package/src/components/item/QList.js +3 -3
  164. package/src/components/knob/QKnob.js +3 -2
  165. package/src/components/layout/QLayout.js +3 -2
  166. package/src/components/linear-progress/QLinearProgress.js +3 -2
  167. package/src/components/markup-table/QMarkupTable.js +3 -2
  168. package/src/components/menu/QMenu.js +4 -3
  169. package/src/components/no-ssr/QNoSsr.js +3 -2
  170. package/src/components/option-group/QOptionGroup.js +33 -21
  171. package/src/components/option-group/QOptionGroup.json +50 -1
  172. package/src/components/page/QPage.js +3 -2
  173. package/src/components/page/QPageContainer.js +3 -2
  174. package/src/components/page-scroller/QPageScroller.js +4 -2
  175. package/src/components/page-sticky/QPageSticky.js +2 -3
  176. package/src/components/pagination/QPagination.js +3 -2
  177. package/src/components/parallax/QParallax.js +3 -2
  178. package/src/components/popup-edit/QPopupEdit.js +3 -2
  179. package/src/components/popup-proxy/QPopupProxy.js +4 -2
  180. package/src/components/pull-to-refresh/QPullToRefresh.js +3 -2
  181. package/src/components/radio/QRadio.js +3 -2
  182. package/src/components/range/QRange.js +4 -3
  183. package/src/components/range/QRange.json +7 -3
  184. package/src/components/rating/QRating.js +65 -44
  185. package/src/components/rating/QRating.sass +8 -6
  186. package/src/components/resize-observer/QResizeObserver.js +3 -2
  187. package/src/components/responsive/QResponsive.js +3 -2
  188. package/src/components/scroll-area/QScrollArea.js +3 -2
  189. package/src/components/scroll-observer/QScrollObserver.js +3 -2
  190. package/src/components/select/QSelect.js +3 -2
  191. package/src/components/separator/QSeparator.js +4 -2
  192. package/src/components/separator/QSeparator.json +1 -1
  193. package/src/components/skeleton/QSkeleton.js +18 -7
  194. package/src/components/skeleton/QSkeleton.json +9 -0
  195. package/src/components/skeleton/QSkeleton.sass +7 -6
  196. package/src/components/slide-item/QSlideItem.js +3 -2
  197. package/src/components/slide-transition/QSlideTransition.js +4 -2
  198. package/src/components/slider/QSlider.js +4 -3
  199. package/src/components/slider/QSlider.json +7 -3
  200. package/src/components/slider/use-slider.js +7 -2
  201. package/src/components/space/QSpace.js +4 -2
  202. package/src/components/spinner/QSpinner.js +4 -2
  203. package/src/components/spinner/QSpinnerAudio.js +4 -2
  204. package/src/components/spinner/QSpinnerBall.js +4 -2
  205. package/src/components/spinner/QSpinnerBars.js +4 -2
  206. package/src/components/spinner/QSpinnerBox.js +4 -2
  207. package/src/components/spinner/QSpinnerClock.js +4 -2
  208. package/src/components/spinner/QSpinnerComment.js +4 -2
  209. package/src/components/spinner/QSpinnerCube.js +4 -2
  210. package/src/components/spinner/QSpinnerDots.js +4 -2
  211. package/src/components/spinner/QSpinnerFacebook.js +4 -2
  212. package/src/components/spinner/QSpinnerGears.js +4 -2
  213. package/src/components/spinner/QSpinnerGrid.js +4 -2
  214. package/src/components/spinner/QSpinnerHearts.js +4 -2
  215. package/src/components/spinner/QSpinnerHourglass.js +4 -2
  216. package/src/components/spinner/QSpinnerInfinity.js +4 -2
  217. package/src/components/spinner/QSpinnerIos.js +4 -2
  218. package/src/components/spinner/QSpinnerOrbit.js +4 -2
  219. package/src/components/spinner/QSpinnerOval.js +4 -2
  220. package/src/components/spinner/QSpinnerPie.js +4 -2
  221. package/src/components/spinner/QSpinnerPuff.js +4 -2
  222. package/src/components/spinner/QSpinnerRadio.js +4 -2
  223. package/src/components/spinner/QSpinnerRings.js +4 -2
  224. package/src/components/spinner/QSpinnerTail.js +4 -2
  225. package/src/components/splitter/QSplitter.js +3 -2
  226. package/src/components/stepper/QStep.js +3 -2
  227. package/src/components/stepper/QStepper.js +3 -2
  228. package/src/components/stepper/QStepperNavigation.js +3 -2
  229. package/src/components/stepper/StepHeader.js +12 -10
  230. package/src/components/tab-panels/QTabPanel.js +4 -2
  231. package/src/components/tab-panels/QTabPanels.js +3 -2
  232. package/src/components/table/QTable.js +4 -2
  233. package/src/components/table/QTable.json +1 -0
  234. package/src/components/table/QTd.js +3 -2
  235. package/src/components/table/QTh.js +3 -2
  236. package/src/components/table/QTr.js +3 -2
  237. package/src/components/tabs/QRouteTab.js +4 -2
  238. package/src/components/tabs/QTab.js +3 -3
  239. package/src/components/tabs/QTabs.js +3 -2
  240. package/src/components/tabs/use-tab.js +11 -9
  241. package/src/components/time/QTime.js +3 -4
  242. package/src/components/timeline/QTimeline.js +3 -2
  243. package/src/components/timeline/QTimelineEntry.js +3 -2
  244. package/src/components/toggle/QToggle.js +5 -2
  245. package/src/components/toolbar/QToolbar.js +3 -2
  246. package/src/components/toolbar/QToolbarTitle.js +3 -2
  247. package/src/components/tooltip/QTooltip.js +3 -2
  248. package/src/components/tree/QTree.js +3 -2
  249. package/src/components/uploader/QUploaderAddTrigger.js +3 -2
  250. package/src/components/video/QVideo.js +4 -2
  251. package/src/components/virtual-scroll/QVirtualScroll.js +3 -2
  252. package/src/composables/private/use-panel.js +13 -8
  253. package/src/composables/private/use-panel.json +11 -2
  254. package/src/css/core/transitions.sass +4 -4
  255. package/src/css/normalize.sass +0 -7
  256. package/src/directives/ClosePopup.js +3 -1
  257. package/src/directives/Intersection.js +3 -1
  258. package/src/directives/Morph.js +4 -1
  259. package/src/directives/Mutation.js +3 -1
  260. package/src/directives/Ripple.js +3 -1
  261. package/src/directives/Scroll.js +3 -1
  262. package/src/directives/ScrollFire.js +3 -1
  263. package/src/directives/TouchHold.js +4 -1
  264. package/src/directives/TouchPan.js +4 -1
  265. package/src/directives/TouchRepeat.js +4 -1
  266. package/src/directives/TouchSwipe.js +4 -1
  267. package/src/plugins/Notify.js +4 -3
  268. package/src/utils/create-uploader-component.js +3 -3
  269. package/src/utils/date.js +93 -60
  270. package/src/utils/private/create.js +4 -0
package/lang/lt.js ADDED
@@ -0,0 +1,103 @@
1
+ function plurals (n, opts) {
2
+ const index = n % 10 === 1 && n % 100 !== 11
3
+ ? 0
4
+ : (
5
+ n % 10 >= 2 && n % 10 <= 9 && (n % 100 < 10 || n % 100 >= 20)
6
+ ? 1
7
+ : 2
8
+ )
9
+
10
+ return opts[ index ].replace(/{}/g, n)
11
+ }
12
+
13
+ export default {
14
+ isoName: 'lt',
15
+ nativeName: 'Lithuanian',
16
+ label: {
17
+ clear: 'Išvalyti',
18
+ ok: 'Gerai',
19
+ cancel: 'Atšaukti',
20
+ close: 'Uždaryti',
21
+ set: 'Nustatyti',
22
+ select: 'Pasirinkti',
23
+ reset: 'Atkurti',
24
+ remove: 'Pašalinti',
25
+ update: 'Atnaujinti',
26
+ create: 'Sukurti',
27
+ search: 'Ieškoti',
28
+ filter: 'Filtruoti',
29
+ refresh: 'Atnaujinti'
30
+ },
31
+ date: {
32
+ days: 'Sekmadienis_Pirmadienis_Antradienis_Trečiadienis_Ketvirtadienis_Penktadienis_Šeštadienis'.split('_'),
33
+ daysShort: 'S_P_A_T_K_Pn_Š'.split('_'),
34
+ months: 'Sausis_Vasaris_Kovas_Balandis_Gegužė_Birželis_Liepa_Rugpjūtis_Rugsėjis_Spalis_Lapkritis_Gruodis'.split('_'),
35
+ monthsShort: 'Sau_Vas_Kov_Bal_Geg_Bir_Lie_Rgp_Rgs_Spa_Lap_Gru'.split('_'),
36
+ firstDayOfWeek: 1, // 0-6, 0 - Sunday, 1 Monday, ...
37
+ format24h: true,
38
+ pluralDay: 'dienos'
39
+ },
40
+ table: {
41
+ noData: 'Nėra duomenų',
42
+ noResults: 'Įrašų nerasta',
43
+ loading: 'Įkeliama...',
44
+ selectedRecords: rows => (
45
+ rows > 0
46
+ ? plurals(rows, [ 'Pasirinktas {} įrašas', 'Pasirinkti {} įrašai', 'Pasirinkta {} įrašų' ]) + '.'
47
+ : 'Nepasirinktas joks įrašas.'
48
+ ),
49
+ recordsPerPage: 'Puslapyje:',
50
+ allRows: 'Visi',
51
+ pagination: (start, end, total) => start + '-' + end + ' iš ' + total,
52
+ columns: 'Stulpeliai'
53
+ },
54
+ editor: {
55
+ url: 'URL',
56
+ bold: 'Paryškintasis',
57
+ italic: 'Kursyvas',
58
+ strikethrough: 'Perbraukimas',
59
+ underline: 'Pabrauktasis',
60
+ unorderedList: 'Ženkleliai',
61
+ orderedList: 'Numeravimas',
62
+ subscript: 'Apatinis indeksas',
63
+ superscript: 'Viršutinis indeksas',
64
+ hyperlink: 'Įterpti Hipersaitą',
65
+ toggleFullscreen: 'Įjungti pilno ekrano režimą',
66
+ quote: 'Cituoti',
67
+ left: 'Lygiuoti kairėje',
68
+ center: 'Centrinė lygiuotė',
69
+ right: 'Lygiuoti dešinėje',
70
+ justify: 'Abipusė lygiuotė',
71
+ print: 'Spausdinti',
72
+ outdent: 'Mažinti įtrauką',
73
+ indent: 'Didinti įtrauką',
74
+ removeFormat: 'Valyti formatavimą',
75
+ formatting: 'Formatavimas',
76
+ fontSize: 'Šrifto dydis',
77
+ align: 'Lygiuoti',
78
+ hr: 'Įterpti horizontalią liniją',
79
+ undo: 'Anuliuoti veiksmą',
80
+ redo: 'Perdaryti veiksmą',
81
+ heading1: 'Antraštė 1',
82
+ heading2: 'Antraštė 2',
83
+ heading3: 'Antraštė 3',
84
+ heading4: 'Antraštė 4',
85
+ heading5: 'Antraštė 5',
86
+ heading6: 'Antraštė 6',
87
+ paragraph: 'Pastraipa',
88
+ code: 'Kodas',
89
+ size1: 'Mažiausias',
90
+ size2: 'Mažas',
91
+ size3: 'Normalus',
92
+ size4: 'Vidutinis',
93
+ size5: 'Didelis',
94
+ size6: 'Labai didelis',
95
+ size7: 'Didžiausias',
96
+ defaultFont: 'Numatytasis šriftas',
97
+ viewSource: 'Peržiūrėti kodo režimu'
98
+ },
99
+ tree: {
100
+ noNodes: 'Nėra elementų',
101
+ noResults: 'Elementų nerasta'
102
+ }
103
+ }
package/lang/ug.js CHANGED
@@ -42,48 +42,48 @@ export default {
42
42
  },
43
43
  editor: {
44
44
  url: 'URL',
45
- bold: '粗体',
46
- italic: '斜体',
47
- strikethrough: '删除线',
48
- underline: '下划线',
49
- unorderedList: '无序列表',
50
- orderedList: '有序列表',
51
- subscript: '下标',
52
- superscript: '上标',
53
- hyperlink: '超链接',
54
- toggleFullscreen: '全屏切换',
55
- quote: '引号',
56
- left: '左对齐',
57
- center: '居中对齐',
58
- right: '右对齐',
59
- justify: '两端对齐',
60
- print: '打印',
61
- outdent: '减少缩进',
62
- indent: '增加缩进',
63
- removeFormat: '清除样式',
64
- formatting: '格式化',
65
- fontSize: '字体大小',
66
- align: '对齐',
67
- hr: '插入水平线',
68
- undo: '撤消',
69
- redo: '重做',
70
- heading1: '标题一',
71
- heading2: '标题二',
72
- heading3: '标题三',
73
- heading4: '标题四',
74
- heading5: '标题五',
75
- heading6: '标题六',
76
- paragraph: '段落',
77
- code: '代码',
78
- size1: '非常小',
79
- size2: '比较小',
80
- size3: '正常',
81
- size4: '中等偏大',
82
- size5: '',
83
- size6: '非常大',
84
- size7: '超级大',
85
- defaultFont: '默认字体',
86
- viewSource: '查看资料'
45
+ bold: 'Bold',
46
+ italic: 'ئىتالىيان',
47
+ strikethrough: 'Strikethrough',
48
+ underline: 'ئاستى سىزىق',
49
+ unorderedList: 'تەرتىپسىز تىزىملىك',
50
+ orderedList: 'زاكاز تىزىملىكى',
51
+ subscript: 'مۇشتەرى',
52
+ superscript: 'Superscript',
53
+ hyperlink: 'Hyperlink',
54
+ toggleFullscreen: 'تولۇق ئېكراننى ئالماشتۇرۇڭ',
55
+ quote: 'نەقىل',
56
+ left: 'سول تەڭگە',
57
+ center: 'Center align',
58
+ right: 'ئوڭ توغرىلاش',
59
+ justify: 'توغرىلاشنى توغرىلاڭ',
60
+ print: 'بېسىش',
61
+ outdent: 'تەۋەككۈلچىلىكنى ئازايتىش',
62
+ indent: 'تەۋەككۈلچىلىكنى ئاشۇرۇش',
63
+ removeFormat: 'فورماتنى ئۆچۈرۈڭ',
64
+ formatting: 'فورماتلاش',
65
+ fontSize: 'خەت چوڭلۇقى',
66
+ align: 'توغرىلاش',
67
+ hr: 'توغرىسىغا قائىدە قىستۇرۇش',
68
+ undo: 'ئەمەلدىن قالدۇرۇش',
69
+ redo: 'Redo',
70
+ heading1: 'Heading 1',
71
+ heading2: 'Heading 2',
72
+ heading3: 'Heading 3',
73
+ heading4: 'Heading 4',
74
+ heading5: 'Heading 5',
75
+ heading6: 'Heading 6',
76
+ paragraph: 'ئابزاس',
77
+ code: 'كود',
78
+ size1: 'بەك كىچىك',
79
+ size2: 'ئازراق كىچىك',
80
+ size3: 'نورمال',
81
+ size4: 'ئوتتۇراھال چوڭ',
82
+ size5: 'چوڭ',
83
+ size6: 'بەك چوڭ',
84
+ size7: 'ئەڭ چوڭ',
85
+ defaultFont: 'كۆڭۈلدىكى خەت نۇسخىسى',
86
+ viewSource: 'مەنبەنى كۆرۈش',
87
87
  },
88
88
  tree: {
89
89
  noNodes: 'ئۇچۇر يوق',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quasar",
3
- "version": "2.1.9",
3
+ "version": "2.2.3",
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",
@@ -1,5 +1,6 @@
1
- import { h, defineComponent, ref, computed, onMounted, onBeforeUnmount, getCurrentInstance } from 'vue'
1
+ import { h, ref, computed, onMounted, onBeforeUnmount, getCurrentInstance } from 'vue'
2
2
 
3
+ import { createComponent } from '../../utils/private/create.js'
3
4
  import { between } from '../../utils/format.js'
4
5
 
5
6
  const
@@ -74,7 +75,7 @@ function restoreAjax (start, stop) {
74
75
  }
75
76
  }
76
77
 
77
- export default defineComponent({
78
+ export default createComponent({
78
79
  name: 'QAjaxBar',
79
80
 
80
81
  props: {
@@ -1,12 +1,13 @@
1
- import { h, defineComponent, computed } from 'vue'
1
+ import { h, computed } from 'vue'
2
2
 
3
3
  import QIcon from '../icon/QIcon.js'
4
4
 
5
5
  import useSize, { useSizeProps } from '../../composables/private/use-size.js'
6
6
 
7
+ import { createComponent } from '../../utils/private/create.js'
7
8
  import { hMergeSlotSafely } from '../../utils/private/render.js'
8
9
 
9
- export default defineComponent({
10
+ export default createComponent({
10
11
  name: 'QAvatar',
11
12
 
12
13
  props: {
@@ -1,10 +1,11 @@
1
- import { h, defineComponent, computed } from 'vue'
1
+ import { h, computed } from 'vue'
2
2
 
3
+ import { createComponent } from '../../utils/private/create.js'
3
4
  import { hSlot } from '../../utils/private/render.js'
4
5
 
5
6
  const alignValues = [ 'top', 'middle', 'bottom' ]
6
7
 
7
- export default defineComponent({
8
+ export default createComponent({
8
9
  name: 'QBadge',
9
10
 
10
11
  props: {
@@ -1,10 +1,11 @@
1
- import { h, defineComponent, computed, getCurrentInstance } from 'vue'
1
+ import { h, computed, getCurrentInstance } from 'vue'
2
2
 
3
+ import { createComponent } from '../../utils/private/create.js'
3
4
  import useDark, { useDarkProps } from '../../composables/private/use-dark.js'
4
5
 
5
6
  import { hSlot } from '../../utils/private/render.js'
6
7
 
7
- export default defineComponent({
8
+ export default createComponent({
8
9
  name: 'QBanner',
9
10
 
10
11
  props: {
@@ -1,10 +1,11 @@
1
- import { h, defineComponent, computed, getCurrentInstance } from 'vue'
1
+ import { h, computed, getCurrentInstance } from 'vue'
2
2
 
3
3
  import useDark, { useDarkProps } from '../../composables/private/use-dark.js'
4
4
 
5
+ import { createComponent } from '../../utils/private/create.js'
5
6
  import { hSlot } from '../../utils/private/render.js'
6
7
 
7
- export default defineComponent({
8
+ export default createComponent({
8
9
  name: 'QBar',
9
10
 
10
11
  props: {
@@ -1,11 +1,12 @@
1
- import { h, defineComponent, computed } from 'vue'
1
+ import { h, computed } from 'vue'
2
2
 
3
3
  import useAlign, { useAlignProps } from '../../composables/private/use-align.js'
4
4
 
5
+ import { createComponent } from '../../utils/private/create.js'
5
6
  import { hSlot } from '../../utils/private/render.js'
6
7
  import { getNormalizedVNodes } from '../../utils/private/vm.js'
7
8
 
8
- export default defineComponent({
9
+ export default createComponent({
9
10
  name: 'QBreadcrumbs',
10
11
 
11
12
  props: {
@@ -1,11 +1,12 @@
1
- import { h, defineComponent, computed } from 'vue'
1
+ import { h, computed } from 'vue'
2
2
 
3
3
  import QIcon from '../icon/QIcon.js'
4
4
 
5
+ import { createComponent } from '../../utils/private/create.js'
5
6
  import { hMergeSlot } from '../../utils/private/render.js'
6
7
  import useRouterLink, { useRouterLinkProps } from '../../composables/private/use-router-link.js'
7
8
 
8
- export default defineComponent({
9
+ export default createComponent({
9
10
  name: 'QBreadcrumbsEl',
10
11
 
11
12
  props: {
@@ -1,4 +1,4 @@
1
- import { h, defineComponent, ref, computed, Transition, onBeforeUnmount, getCurrentInstance } from 'vue'
1
+ import { h, ref, computed, Transition, onBeforeUnmount, withDirectives, getCurrentInstance } from 'vue'
2
2
 
3
3
  import QIcon from '../icon/QIcon.js'
4
4
  import QSpinner from '../spinner/QSpinner.js'
@@ -7,7 +7,8 @@ import Ripple from '../../directives/Ripple.js'
7
7
 
8
8
  import useBtn, { useBtnProps } from './use-btn.js'
9
9
 
10
- import { hMergeSlot, hDir } from '../../utils/private/render.js'
10
+ import { createComponent } from '../../utils/private/create.js'
11
+ import { hMergeSlot } from '../../utils/private/render.js'
11
12
  import { stop, prevent, stopAndPrevent, listenOpts } from '../../utils/event.js'
12
13
  import { isKeyCode } from '../../utils/private/key-composition.js'
13
14
 
@@ -18,7 +19,7 @@ let
18
19
  keyboardTarget = null,
19
20
  mouseTarget = null
20
21
 
21
- export default defineComponent({
22
+ export default createComponent({
22
23
  name: 'QBtn',
23
24
 
24
25
  props: {
@@ -50,7 +51,7 @@ export default defineComponent({
50
51
  )
51
52
 
52
53
  const ripple = computed(() => (
53
- props.ripple === false
54
+ props.disable === true || props.ripple === false
54
55
  ? false
55
56
  : {
56
57
  keyCodes: isLink.value === true ? [ 13, 32 ] : [ 13 ],
@@ -58,6 +59,8 @@ export default defineComponent({
58
59
  }
59
60
  ))
60
61
 
62
+ const rippleProps = computed(() => ({ center: props.round }))
63
+
61
64
  const percentageStyle = computed(() => {
62
65
  const val = Math.max(0, Math.min(100, props.percentage))
63
66
  return val > 0
@@ -91,16 +94,6 @@ export default defineComponent({
91
94
  }
92
95
  })
93
96
 
94
- const directives = computed(() => {
95
- // if props.disable !== true && props.ripple !== false
96
- return [ [
97
- Ripple,
98
- ripple.value,
99
- void 0,
100
- { center: props.round }
101
- ] ]
102
- })
103
-
104
97
  const nodeProps = computed(() => ({
105
98
  ref: rootRef,
106
99
  class: 'q-btn q-btn-item non-selectable no-outline ' + classes.value,
@@ -364,13 +357,18 @@ export default defineComponent({
364
357
  ))
365
358
  )
366
359
 
367
- return hDir(
368
- isLink.value === true ? 'a' : 'button',
369
- nodeProps.value,
370
- child,
371
- 'ripple',
372
- props.disable !== true && props.ripple !== false,
373
- () => directives.value
360
+ return withDirectives(
361
+ h(
362
+ isLink.value === true ? 'a' : 'button',
363
+ nodeProps.value,
364
+ child
365
+ ),
366
+ [ [
367
+ Ripple,
368
+ ripple.value,
369
+ void 0,
370
+ rippleProps.value
371
+ ] ]
374
372
  )
375
373
  }
376
374
  }
@@ -1,4 +1,4 @@
1
- import { h, defineComponent, ref, computed, watch, onMounted, getCurrentInstance } from 'vue'
1
+ import { h, ref, computed, watch, onMounted, getCurrentInstance } from 'vue'
2
2
 
3
3
  import QIcon from '../icon/QIcon.js'
4
4
  import QBtn from '../btn/QBtn.js'
@@ -7,10 +7,11 @@ import QMenu from '../menu/QMenu.js'
7
7
 
8
8
  import { useBtnProps } from '../btn/use-btn.js'
9
9
 
10
+ import { createComponent } from '../../utils/private/create.js'
10
11
  import { stop } from '../../utils/event.js'
11
12
  import { hSlot } from '../../utils/private/render.js'
12
13
 
13
- export default defineComponent({
14
+ export default createComponent({
14
15
  name: 'QBtnDropdown',
15
16
 
16
17
  props: {
@@ -1,8 +1,9 @@
1
- import { h, defineComponent, computed } from 'vue'
1
+ import { h, computed } from 'vue'
2
2
 
3
+ import { createComponent } from '../../utils/private/create.js'
3
4
  import { hSlot } from '../../utils/private/render.js'
4
5
 
5
- export default defineComponent({
6
+ export default createComponent({
6
7
  name: 'QBtnGroup',
7
8
 
8
9
  props: {
@@ -1,13 +1,14 @@
1
- import { h, defineComponent, computed } from 'vue'
1
+ import { h, computed } from 'vue'
2
2
 
3
3
  import QBtn from '../btn/QBtn.js'
4
4
  import QBtnGroup from '../btn-group/QBtnGroup.js'
5
5
 
6
+ import { createComponent } from '../../utils/private/create.js'
6
7
  import { useFormInject, useFormProps } from '../../composables/private/use-form.js'
7
8
 
8
9
  import { hMergeSlot } from '../../utils/private/render.js'
9
10
 
10
- export default defineComponent({
11
+ export default createComponent({
11
12
  name: 'QBtnToggle',
12
13
 
13
14
  props: {
@@ -1,10 +1,11 @@
1
- import { h, defineComponent, computed, getCurrentInstance } from 'vue'
1
+ import { h, computed, getCurrentInstance } from 'vue'
2
2
 
3
3
  import useDark, { useDarkProps } from '../../composables/private/use-dark.js'
4
4
 
5
+ import { createComponent } from '../../utils/private/create.js'
5
6
  import { hSlot } from '../../utils/private/render.js'
6
7
 
7
- export default defineComponent({
8
+ export default createComponent({
8
9
  name: 'QCard',
9
10
 
10
11
  props: {
@@ -1,10 +1,11 @@
1
- import { h, defineComponent, computed } from 'vue'
1
+ import { h, computed } from 'vue'
2
2
 
3
3
  import useAlign, { useAlignProps } from '../../composables/private/use-align.js'
4
4
 
5
+ import { createComponent } from '../../utils/private/create.js'
5
6
  import { hSlot } from '../../utils/private/render.js'
6
7
 
7
- export default defineComponent({
8
+ export default createComponent({
8
9
  name: 'QCardActions',
9
10
 
10
11
  props: {
@@ -1,8 +1,9 @@
1
- import { h, defineComponent, computed } from 'vue'
1
+ import { h, computed } from 'vue'
2
2
 
3
+ import { createComponent } from '../../utils/private/create.js'
3
4
  import { hSlot } from '../../utils/private/render.js'
4
5
 
5
- export default defineComponent({
6
+ export default createComponent({
6
7
  name: 'QCardSection',
7
8
 
8
9
  props: {
@@ -1,4 +1,4 @@
1
- import { h, defineComponent, computed, watch, onMounted, onBeforeUnmount, getCurrentInstance } from 'vue'
1
+ import { h, computed, watch, onMounted, onBeforeUnmount, getCurrentInstance } from 'vue'
2
2
 
3
3
  import QBtn from '../btn/QBtn.js'
4
4
 
@@ -6,13 +6,14 @@ import useDark, { useDarkProps } from '../../composables/private/use-dark.js'
6
6
  import usePanel, { usePanelProps, usePanelEmits } from '../../composables/private/use-panel.js'
7
7
  import useFullscreen, { useFullscreenProps, useFullscreenEmits } from '../../composables/private/use-fullscreen.js'
8
8
 
9
+ import { createComponent } from '../../utils/private/create.js'
9
10
  import { isNumber } from '../../utils/private/is.js'
10
11
  import { hMergeSlot, hDir } from '../../utils/private/render.js'
11
12
 
12
13
  const navigationPositionOptions = [ 'top', 'right', 'bottom', 'left' ]
13
14
  const controlTypeOptions = [ 'regular', 'flat', 'outline', 'push', 'unelevated' ]
14
15
 
15
- export default defineComponent({
16
+ export default createComponent({
16
17
  name: 'QCarousel',
17
18
 
18
19
  props: {
@@ -136,7 +137,14 @@ export default defineComponent({
136
137
  })
137
138
 
138
139
  function startTimer () {
139
- timer = setTimeout(nextPanel, isNumber(props.autoplay) ? props.autoplay : 5000)
140
+ const duration = isNumber(props.autoplay) === true
141
+ ? props.autoplay
142
+ : 5000
143
+
144
+ timer = setTimeout(
145
+ duration >= 0 ? nextPanel : previousPanel,
146
+ Math.abs(duration)
147
+ )
140
148
  }
141
149
 
142
150
  onMounted(() => {
@@ -40,7 +40,7 @@
40
40
 
41
41
  "autoplay": {
42
42
  "type": [ "Number", "Boolean" ],
43
- "desc": "Jump to next slide at fixed time intervals (in milliseconds); 'false' disables autoplay, 'true' enables it for 5000ms intervals",
43
+ "desc": "Jump to next slide (if 'true' or val > 0) or previous slide (if val < 0) at fixed time intervals (in milliseconds); 'false' disables autoplay, 'true' enables it for 5000ms intervals",
44
44
  "default": false,
45
45
  "examples": [
46
46
  ":autoplay=\"2500\"",
@@ -92,6 +92,14 @@
92
92
  "type": "Boolean",
93
93
  "desc": "Show thumbnails",
94
94
  "category": "content"
95
+ },
96
+
97
+ "transition-prev": {
98
+ "default": "fade"
99
+ },
100
+
101
+ "transition-next": {
102
+ "default": "fade"
95
103
  }
96
104
  },
97
105
 
@@ -1,8 +1,9 @@
1
- import { h, defineComponent, computed } from 'vue'
1
+ import { h, computed } from 'vue'
2
2
 
3
+ import { createComponent } from '../../utils/private/create.js'
3
4
  import { hSlot } from '../../utils/private/render.js'
4
5
 
5
- export default defineComponent({
6
+ export default createComponent({
6
7
  name: 'QCarouselControl',
7
8
 
8
9
  props: {
@@ -1,10 +1,11 @@
1
- import { h, defineComponent, computed } from 'vue'
1
+ import { h, computed } from 'vue'
2
2
 
3
+ import { createComponent } from '../../utils/private/create.js'
3
4
  import { usePanelChildProps } from '../../composables/private/use-panel.js'
4
5
 
5
6
  import { hSlot } from '../../utils/private/render.js'
6
7
 
7
- export default defineComponent({
8
+ export default createComponent({
8
9
  name: 'QCarouselSlide',
9
10
 
10
11
  props: {
@@ -1,8 +1,9 @@
1
- import { h, defineComponent, computed } from 'vue'
1
+ import { h, computed } from 'vue'
2
2
 
3
+ import { createComponent } from '../../utils/private/create.js'
3
4
  import { getNormalizedVNodes } from '../../utils/private/vm.js'
4
5
 
5
- export default defineComponent({
6
+ export default createComponent({
6
7
  name: 'QChatMessage',
7
8
 
8
9
  props: {
@@ -1,5 +1,6 @@
1
- import { h, defineComponent } from 'vue'
1
+ import { h } from 'vue'
2
2
 
3
+ import { createComponent } from '../../utils/private/create.js'
3
4
  import useCheckbox, { useCheckboxProps, useCheckboxEmits } from './use-checkbox.js'
4
5
 
5
6
  const bgNode = h('div', {
@@ -23,7 +24,7 @@ const bgNode = h('div', {
23
24
  ])
24
25
  ])
25
26
 
26
- export default defineComponent({
27
+ export default createComponent({
27
28
  name: 'QCheckbox',
28
29
 
29
30
  props: useCheckboxProps,
@@ -1,4 +1,4 @@
1
- import { h, defineComponent, computed, getCurrentInstance } from 'vue'
1
+ import { h, computed, getCurrentInstance } from 'vue'
2
2
 
3
3
  import QIcon from '../icon/QIcon.js'
4
4
 
@@ -7,6 +7,7 @@ import Ripple from '../../directives/Ripple.js'
7
7
  import useDark, { useDarkProps } from '../../composables/private/use-dark.js'
8
8
  import useSize, { useSizeProps } from '../../composables/private/use-size.js'
9
9
 
10
+ import { createComponent } from '../../utils/private/create.js'
10
11
  import { stopAndPrevent } from '../../utils/event.js'
11
12
  import { hMergeSlotSafely, hDir } from '../../utils/private/render.js'
12
13
 
@@ -18,7 +19,7 @@ const defaultSizes = {
18
19
  xl: 24
19
20
  }
20
21
 
21
- export default defineComponent({
22
+ export default createComponent({
22
23
  name: 'QChip',
23
24
 
24
25
  props: {
@@ -1,8 +1,9 @@
1
- import { h, defineComponent, computed, getCurrentInstance } from 'vue'
1
+ import { h, computed, getCurrentInstance } from 'vue'
2
2
 
3
3
  import useSize from '../../composables/private/use-size.js'
4
4
  import { useCircularCommonProps } from './use-circular-progress.js'
5
5
 
6
+ import { createComponent } from '../../utils/private/create.js'
6
7
  import { hMergeSlotSafely } from '../../utils/private/render.js'
7
8
  import { between } from '../../utils/format.js'
8
9
 
@@ -12,7 +13,7 @@ const
12
13
  circumference = diameter * Math.PI,
13
14
  strokeDashArray = Math.round(circumference * 1000) / 1000
14
15
 
15
- export default defineComponent({
16
+ export default createComponent({
16
17
  name: 'QCircularProgress',
17
18
 
18
19
  props: {