quasar 2.14.5 → 2.14.7

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 (368) hide show
  1. package/dist/api/AddressbarColor.json +1 -22
  2. package/dist/api/AppFullscreen.json +1 -78
  3. package/dist/api/AppVisibility.json +1 -15
  4. package/dist/api/BottomSheet.json +1 -264
  5. package/dist/api/Brand.json +1 -49
  6. package/dist/api/ClosePopup.json +1 -21
  7. package/dist/api/Cookies.json +1 -190
  8. package/dist/api/Dark.json +1 -63
  9. package/dist/api/Dialog.json +1 -479
  10. package/dist/api/Intersection.json +1 -204
  11. package/dist/api/Lang.json +1 -18
  12. package/dist/api/Loading.json +1 -317
  13. package/dist/api/LoadingBar.json +1 -62
  14. package/dist/api/LocalStorage.json +1 -187
  15. package/dist/api/Meta.json +1 -6
  16. package/dist/api/Morph.json +1 -188
  17. package/dist/api/Mutation.json +1 -122
  18. package/dist/api/Notify.json +1 -697
  19. package/dist/api/Platform.json +1 -238
  20. package/dist/api/QAjaxBar.json +1 -117
  21. package/dist/api/QAvatar.json +1 -76
  22. package/dist/api/QBadge.json +1 -82
  23. package/dist/api/QBanner.json +1 -44
  24. package/dist/api/QBar.json +1 -28
  25. package/dist/api/QBreadcrumbs.json +1 -82
  26. package/dist/api/QBreadcrumbsEl.json +1 -162
  27. package/dist/api/QBtn.json +1 -354
  28. package/dist/api/QBtnDropdown.json +1 -560
  29. package/dist/api/QBtnGroup.json +1 -59
  30. package/dist/api/QBtnToggle.json +1 -263
  31. package/dist/api/QCard.json +1 -51
  32. package/dist/api/QCardActions.json +1 -34
  33. package/dist/api/QCardSection.json +1 -31
  34. package/dist/api/QCarousel.json +1 -421
  35. package/dist/api/QCarouselControl.json +1 -41
  36. package/dist/api/QCarouselSlide.json +1 -44
  37. package/dist/api/QChatMessage.json +1 -128
  38. package/dist/api/QCheckbox.json +1 -211
  39. package/dist/api/QChip.json +1 -232
  40. package/dist/api/QCircularProgress.json +1 -145
  41. package/dist/api/QColor.json +1 -150
  42. package/dist/api/QDate.json +1 -637
  43. package/dist/api/QDialog.json +1 -259
  44. package/dist/api/QDrawer.json +1 -272
  45. package/dist/api/QEditor.json +1 -485
  46. package/dist/api/QExpansionItem.json +1 -434
  47. package/dist/api/QFab.json +1 -352
  48. package/dist/api/QFabAction.json +1 -241
  49. package/dist/api/QField.json +1 -448
  50. package/dist/api/QFile.json +1 -643
  51. package/dist/api/QFooter.json +1 -60
  52. package/dist/api/QForm.json +1 -112
  53. package/dist/api/QFormChildMixin.json +1 -24
  54. package/dist/api/QHeader.json +1 -67
  55. package/dist/api/QIcon.json +1 -69
  56. package/dist/api/QImg.json +1 -279
  57. package/dist/api/QInfiniteScroll.json +1 -116
  58. package/dist/api/QInnerLoading.json +1 -117
  59. package/dist/api/QInput.json +1 -521
  60. package/dist/api/QIntersection.json +1 -112
  61. package/dist/api/QItem.json +1 -203
  62. package/dist/api/QItemLabel.json +1 -36
  63. package/dist/api/QItemSection.json +1 -38
  64. package/dist/api/QKnob.json +1 -197
  65. package/dist/api/QLayout.json +1 -100
  66. package/dist/api/QLinearProgress.json +1 -113
  67. package/dist/api/QList.json +1 -58
  68. package/dist/api/QMarkupTable.json +1 -64
  69. package/dist/api/QMenu.json +1 -337
  70. package/dist/api/QNoSsr.json +1 -38
  71. package/dist/api/QOptionGroup.json +1 -242
  72. package/dist/api/QPage.json +1 -42
  73. package/dist/api/QPageContainer.json +1 -11
  74. package/dist/api/QPageScroller.json +1 -68
  75. package/dist/api/QPageSticky.json +1 -44
  76. package/dist/api/QPagination.json +1 -376
  77. package/dist/api/QParallax.json +1 -74
  78. package/dist/api/QPopupEdit.json +1 -335
  79. package/dist/api/QPopupProxy.json +1 -168
  80. package/dist/api/QPullToRefresh.json +1 -91
  81. package/dist/api/QRadio.json +1 -163
  82. package/dist/api/QRange.json +1 -789
  83. package/dist/api/QRating.json +1 -186
  84. package/dist/api/QResizeObserver.json +1 -56
  85. package/dist/api/QResponsive.json +1 -26
  86. package/dist/api/QRouteTab.json +1 -225
  87. package/dist/api/QScrollArea.json +1 -354
  88. package/dist/api/QScrollObserver.json +1 -140
  89. package/dist/api/QSelect.json +1 -1387
  90. package/dist/api/QSeparator.json +1 -72
  91. package/dist/api/QSkeleton.json +1 -127
  92. package/dist/api/QSlideItem.json +1 -219
  93. package/dist/api/QSlideTransition.json +1 -33
  94. package/dist/api/QSlider.json +1 -687
  95. package/dist/api/QSpace.json +1 -6
  96. package/dist/api/QSpinner.json +1 -37
  97. package/dist/api/QSpinnerAudio.json +1 -30
  98. package/dist/api/QSpinnerBall.json +1 -30
  99. package/dist/api/QSpinnerBars.json +1 -30
  100. package/dist/api/QSpinnerBox.json +1 -30
  101. package/dist/api/QSpinnerClock.json +1 -30
  102. package/dist/api/QSpinnerComment.json +1 -30
  103. package/dist/api/QSpinnerCube.json +1 -30
  104. package/dist/api/QSpinnerDots.json +1 -30
  105. package/dist/api/QSpinnerFacebook.json +1 -30
  106. package/dist/api/QSpinnerGears.json +1 -30
  107. package/dist/api/QSpinnerGrid.json +1 -30
  108. package/dist/api/QSpinnerHearts.json +1 -30
  109. package/dist/api/QSpinnerHourglass.json +1 -30
  110. package/dist/api/QSpinnerInfinity.json +1 -30
  111. package/dist/api/QSpinnerIos.json +1 -30
  112. package/dist/api/QSpinnerOrbit.json +1 -30
  113. package/dist/api/QSpinnerOval.json +1 -30
  114. package/dist/api/QSpinnerPie.json +1 -30
  115. package/dist/api/QSpinnerPuff.json +1 -30
  116. package/dist/api/QSpinnerRadio.json +1 -30
  117. package/dist/api/QSpinnerRings.json +1 -30
  118. package/dist/api/QSpinnerTail.json +1 -30
  119. package/dist/api/QSplitter.json +1 -146
  120. package/dist/api/QStep.json +1 -167
  121. package/dist/api/QStepper.json +1 -340
  122. package/dist/api/QStepperNavigation.json +1 -11
  123. package/dist/api/QTab.json +1 -113
  124. package/dist/api/QTabPanel.json +1 -39
  125. package/dist/api/QTabPanels.json +1 -203
  126. package/dist/api/QTable.json +1 -2799
  127. package/dist/api/QTabs.json +1 -179
  128. package/dist/api/QTd.json +1 -31
  129. package/dist/api/QTh.json +1 -26
  130. package/dist/api/QTime.json +1 -317
  131. package/dist/api/QTimeline.json +1 -57
  132. package/dist/api/QTimelineEntry.json +1 -105
  133. package/dist/api/QToggle.json +1 -230
  134. package/dist/api/QToolbar.json +1 -18
  135. package/dist/api/QToolbarTitle.json +1 -18
  136. package/dist/api/QTooltip.json +1 -282
  137. package/dist/api/QTr.json +1 -26
  138. package/dist/api/QTree.json +1 -599
  139. package/dist/api/QUploader.json +1 -665
  140. package/dist/api/QUploaderAddTrigger.json +1 -6
  141. package/dist/api/QVideo.json +1 -83
  142. package/dist/api/QVirtualScroll.json +1 -260
  143. package/dist/api/Ripple.json +1 -115
  144. package/dist/api/Screen.json +1 -190
  145. package/dist/api/Scroll.json +1 -28
  146. package/dist/api/ScrollFire.json +1 -24
  147. package/dist/api/SessionStorage.json +1 -187
  148. package/dist/api/TouchHold.json +1 -81
  149. package/dist/api/TouchPan.json +1 -178
  150. package/dist/api/TouchRepeat.json +1 -142
  151. package/dist/api/TouchSwipe.json +1 -113
  152. package/dist/icon-set/bootstrap-icons.umd.prod.js +3 -2
  153. package/dist/icon-set/eva-icons.umd.prod.js +3 -2
  154. package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +3 -2
  155. package/dist/icon-set/fontawesome-v5.umd.prod.js +3 -2
  156. package/dist/icon-set/fontawesome-v6-pro.umd.prod.js +3 -2
  157. package/dist/icon-set/fontawesome-v6.umd.prod.js +3 -2
  158. package/dist/icon-set/ionicons-v4.umd.prod.js +3 -2
  159. package/dist/icon-set/line-awesome.umd.prod.js +3 -2
  160. package/dist/icon-set/material-icons-outlined.umd.prod.js +3 -2
  161. package/dist/icon-set/material-icons-round.umd.prod.js +3 -2
  162. package/dist/icon-set/material-icons-sharp.umd.prod.js +3 -2
  163. package/dist/icon-set/material-icons.umd.prod.js +3 -2
  164. package/dist/icon-set/material-symbols-outlined.umd.prod.js +3 -2
  165. package/dist/icon-set/material-symbols-rounded.umd.prod.js +3 -2
  166. package/dist/icon-set/material-symbols-sharp.umd.prod.js +3 -2
  167. package/dist/icon-set/mdi-v3.umd.prod.js +3 -2
  168. package/dist/icon-set/mdi-v4.umd.prod.js +3 -2
  169. package/dist/icon-set/mdi-v5.umd.prod.js +3 -2
  170. package/dist/icon-set/mdi-v6.umd.prod.js +3 -2
  171. package/dist/icon-set/mdi-v7.umd.prod.js +3 -2
  172. package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +3 -2
  173. package/dist/icon-set/svg-eva-icons.umd.prod.js +3 -2
  174. package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +3 -2
  175. package/dist/icon-set/svg-fontawesome-v6.umd.prod.js +3 -2
  176. package/dist/icon-set/svg-ionicons-v4.umd.prod.js +3 -2
  177. package/dist/icon-set/svg-ionicons-v5.umd.prod.js +3 -2
  178. package/dist/icon-set/svg-ionicons-v6.umd.prod.js +3 -2
  179. package/dist/icon-set/svg-line-awesome.umd.prod.js +3 -2
  180. package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +3 -2
  181. package/dist/icon-set/svg-material-icons-round.umd.prod.js +3 -2
  182. package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +3 -2
  183. package/dist/icon-set/svg-material-icons.umd.prod.js +3 -2
  184. package/dist/icon-set/svg-material-symbols-outlined.umd.prod.js +3 -2
  185. package/dist/icon-set/svg-material-symbols-rounded.umd.prod.js +3 -2
  186. package/dist/icon-set/svg-material-symbols-sharp.umd.prod.js +3 -2
  187. package/dist/icon-set/svg-mdi-v6.umd.prod.js +3 -2
  188. package/dist/icon-set/svg-mdi-v7.umd.prod.js +3 -2
  189. package/dist/icon-set/svg-themify.umd.prod.js +3 -2
  190. package/dist/icon-set/themify.umd.prod.js +3 -2
  191. package/dist/lang/ar-TN.umd.prod.js +3 -2
  192. package/dist/lang/ar.umd.prod.js +3 -2
  193. package/dist/lang/az-Latn.umd.prod.js +3 -2
  194. package/dist/lang/bg.umd.prod.js +3 -2
  195. package/dist/lang/bn.umd.prod.js +3 -2
  196. package/dist/lang/ca.umd.prod.js +3 -2
  197. package/dist/lang/cs.umd.prod.js +3 -2
  198. package/dist/lang/da.umd.prod.js +3 -2
  199. package/dist/lang/de-CH.umd.prod.js +3 -2
  200. package/dist/lang/de-DE.umd.prod.js +3 -2
  201. package/dist/lang/de.umd.prod.js +3 -2
  202. package/dist/lang/el.umd.prod.js +3 -2
  203. package/dist/lang/en-GB.umd.prod.js +3 -2
  204. package/dist/lang/en-US.umd.prod.js +3 -2
  205. package/dist/lang/eo.umd.prod.js +3 -2
  206. package/dist/lang/es.umd.prod.js +3 -2
  207. package/dist/lang/et.umd.prod.js +3 -2
  208. package/dist/lang/eu.umd.prod.js +3 -2
  209. package/dist/lang/fa-IR.umd.prod.js +3 -2
  210. package/dist/lang/fa.umd.prod.js +3 -2
  211. package/dist/lang/fi.umd.prod.js +3 -2
  212. package/dist/lang/fr.umd.prod.js +3 -2
  213. package/dist/lang/gn.umd.prod.js +3 -2
  214. package/dist/lang/he.umd.prod.js +3 -2
  215. package/dist/lang/hi.umd.prod.js +3 -2
  216. package/dist/lang/hr.umd.prod.js +3 -2
  217. package/dist/lang/hu.umd.prod.js +3 -2
  218. package/dist/lang/id.umd.prod.js +3 -2
  219. package/dist/lang/is.umd.prod.js +3 -2
  220. package/dist/lang/it.umd.prod.js +3 -2
  221. package/dist/lang/ja.umd.prod.js +3 -2
  222. package/dist/lang/kk.umd.prod.js +3 -2
  223. package/dist/lang/km.umd.prod.js +3 -2
  224. package/dist/lang/ko-KR.umd.prod.js +3 -2
  225. package/dist/lang/kur-CKB.umd.prod.js +3 -2
  226. package/dist/lang/lt.umd.prod.js +3 -2
  227. package/dist/lang/lu.umd.prod.js +3 -2
  228. package/dist/lang/lv.umd.prod.js +3 -2
  229. package/dist/lang/mk.umd.prod.js +3 -2
  230. package/dist/lang/ml.umd.prod.js +3 -2
  231. package/dist/lang/mm.umd.prod.js +3 -2
  232. package/dist/lang/ms-MY.umd.prod.js +7 -0
  233. package/dist/lang/ms.umd.prod.js +3 -2
  234. package/dist/lang/my.umd.prod.js +3 -2
  235. package/dist/lang/nb-NO.umd.prod.js +3 -2
  236. package/dist/lang/nl.umd.prod.js +3 -2
  237. package/dist/lang/pl.umd.prod.js +3 -2
  238. package/dist/lang/pt-BR.umd.prod.js +3 -2
  239. package/dist/lang/pt.umd.prod.js +3 -2
  240. package/dist/lang/ro.umd.prod.js +3 -2
  241. package/dist/lang/ru.umd.prod.js +3 -2
  242. package/dist/lang/sk.umd.prod.js +3 -2
  243. package/dist/lang/sl.umd.prod.js +3 -2
  244. package/dist/lang/sm.umd.prod.js +3 -2
  245. package/dist/lang/sr-CYR.umd.prod.js +3 -2
  246. package/dist/lang/sr.umd.prod.js +3 -2
  247. package/dist/lang/sv.umd.prod.js +3 -2
  248. package/dist/lang/ta.umd.prod.js +3 -2
  249. package/dist/lang/th.umd.prod.js +3 -2
  250. package/dist/lang/tl.umd.prod.js +7 -0
  251. package/dist/lang/tr.umd.prod.js +3 -2
  252. package/dist/lang/ug.umd.prod.js +3 -2
  253. package/dist/lang/uk.umd.prod.js +3 -2
  254. package/dist/lang/uz-Cyrl.umd.prod.js +3 -2
  255. package/dist/lang/uz-Latn.umd.prod.js +3 -2
  256. package/dist/lang/vi.umd.prod.js +3 -2
  257. package/dist/lang/zh-CN.umd.prod.js +3 -2
  258. package/dist/lang/zh-TW.umd.prod.js +3 -2
  259. package/dist/quasar.addon.prod.css +1 -1
  260. package/dist/quasar.addon.rtl.prod.css +1 -1
  261. package/dist/quasar.cjs.prod.js +123 -2
  262. package/dist/quasar.css +5 -2
  263. package/dist/quasar.esm.js +16928 -26277
  264. package/dist/quasar.esm.prod.js +123 -2
  265. package/dist/quasar.prod.css +1 -1
  266. package/dist/quasar.rtl.css +5 -2
  267. package/dist/quasar.rtl.prod.css +1 -1
  268. package/dist/quasar.sass +9 -7
  269. package/dist/quasar.umd.js +16732 -26521
  270. package/dist/quasar.umd.prod.js +123 -2
  271. package/dist/transforms/api-list.json +1 -153
  272. package/dist/transforms/auto-import.json +1 -267
  273. package/dist/transforms/import-map.json +1 -181
  274. package/dist/transforms/loader-asset-urls.json +1 -60
  275. package/dist/types/api/dialog.d.ts +1 -1
  276. package/dist/types/api/qinput.d.ts +1 -1
  277. package/dist/types/api/qtable.d.ts +1 -1
  278. package/dist/types/api/qtree.d.ts +1 -1
  279. package/dist/types/api/quploader.d.ts +1 -1
  280. package/dist/types/api/validation.d.ts +1 -1
  281. package/dist/types/api/web-storage.d.ts +6 -6
  282. package/dist/types/feature-flag.d.ts +1 -1
  283. package/dist/types/globals.d.ts +22 -15
  284. package/dist/types/index.d.ts +48 -166
  285. package/dist/types/lang.d.ts +3 -3
  286. package/dist/types/plugin.d.ts +3 -1
  287. package/dist/types/ts-helpers.d.ts +3 -3
  288. package/dist/types/utils/colors.d.ts +1 -1
  289. package/dist/types/utils/date.d.ts +10 -10
  290. package/dist/types/utils/dom.d.ts +1 -1
  291. package/dist/types/utils/run-sequential-promises.d.ts +12 -12
  292. package/dist/types/utils/scroll.d.ts +5 -5
  293. package/dist/types/utils.d.ts +15 -13
  294. package/dist/vetur/quasar-attributes.json +1 -5890
  295. package/dist/vetur/quasar-tags.json +1 -2084
  296. package/dist/web-types/web-types.json +1 -19595
  297. package/lang/index.json +1 -266
  298. package/lang/ms-MY.js +101 -0
  299. package/lang/ms-MY.mjs +96 -0
  300. package/lang/tl.js +98 -0
  301. package/lang/tl.mjs +93 -0
  302. package/package.json +17 -21
  303. package/src/body.js +6 -14
  304. package/src/components/ajax-bar/QAjaxBar.js +1 -1
  305. package/src/components/breadcrumbs/QBreadcrumbs.js +1 -1
  306. package/src/components/btn/QBtn.js +6 -6
  307. package/src/components/btn-dropdown/QBtnDropdown.json +1 -1
  308. package/src/components/checkbox/use-checkbox.js +1 -1
  309. package/src/components/chip/QChip.js +1 -1
  310. package/src/components/color/QColor.js +4 -4
  311. package/src/components/color/QColor.sass +1 -1
  312. package/src/components/date/QDate.js +1 -1
  313. package/src/components/dialog/__tests__/DialogWrapper.vue +33 -0
  314. package/src/components/dialog/__tests__/QDialog.cy.js +450 -36
  315. package/src/components/drawer/QDrawer.js +1 -1
  316. package/src/components/drawer/QDrawer.json +1 -1
  317. package/src/components/field/QField.sass +2 -1
  318. package/src/components/file/QFile.js +2 -2
  319. package/src/components/footer/QFooter.js +2 -2
  320. package/src/components/form/QForm.js +3 -3
  321. package/src/components/header/QHeader.js +1 -1
  322. package/src/components/img/QImg.js +47 -39
  323. package/src/components/img/QImg.json +9 -0
  324. package/src/components/input/use-mask.js +3 -3
  325. package/src/components/menu/QMenu.json +1 -1
  326. package/src/components/page-sticky/use-page-sticky.js +4 -4
  327. package/src/components/popup-edit/QPopupEdit.js +1 -1
  328. package/src/components/scroll-area/QScrollArea.js +1 -1
  329. package/src/components/select/QSelect.js +9 -9
  330. package/src/components/table/QTable.sass +2 -2
  331. package/src/components/table/QTd.js +1 -1
  332. package/src/components/table/QTh.js +1 -1
  333. package/src/components/tabs/QTabs.js +3 -3
  334. package/src/components/time/QTime.js +3 -3
  335. package/src/components/tooltip/QTooltip.js +4 -2
  336. package/src/components/tooltip/QTooltip.json +6 -0
  337. package/src/components/tree/QTree.js +1 -1
  338. package/src/components/uploader/uploader-core.js +2 -2
  339. package/src/components/uploader/xhr-uploader-plugin.js +1 -1
  340. package/src/components/virtual-scroll/use-virtual-scroll.js +3 -3
  341. package/src/composables/private/__tests__/use-model-toggle.cy.js +43 -3
  342. package/src/composables/private/use-anchor.js +1 -1
  343. package/src/composables/private/use-key-composition.js +1 -1
  344. package/src/composables/private/use-panel.js +1 -1
  345. package/src/composables/private/use-portal.js +1 -1
  346. package/src/composables/private/use-router-link.js +1 -1
  347. package/src/css/core/colors.sass +0 -2
  348. package/src/css/core/visibility.sass +2 -1
  349. package/src/css/normalize.sass +1 -1
  350. package/src/directives/Intersection.json +13 -0
  351. package/src/directives/TouchPan.js +1 -1
  352. package/src/history.js +1 -1
  353. package/src/index.umd.js +5 -1
  354. package/src/lang.js +1 -1
  355. package/src/plugins/BottomSheet.json +1 -1
  356. package/src/plugins/Cookies.js +1 -1
  357. package/src/plugins/Dark.js +1 -1
  358. package/src/plugins/Loading.js +1 -1
  359. package/src/plugins/LoadingBar.js +1 -1
  360. package/src/plugins/Notify.js +4 -4
  361. package/src/plugins/Platform.js +111 -93
  362. package/src/plugins/Screen.js +1 -1
  363. package/src/utils/event.js +1 -1
  364. package/src/utils/frame-debounce.js +1 -1
  365. package/src/utils/morph.js +1 -1
  366. package/src/utils/private/click-outside.js +1 -1
  367. package/src/utils/private/escape-key.js +1 -1
  368. package/src/utils/private/focusout.js +1 -1
@@ -1,637 +1 @@
1
- {
2
- "type": "component",
3
- "meta": {
4
- "docsUrl": "https://v2.quasar.dev/vue-components/date"
5
- },
6
- "props": {
7
- "name": {
8
- "type": "String",
9
- "desc": "Used to specify the name of the control; Useful if dealing with forms submitted directly to a URL",
10
- "examples": [
11
- "car_id"
12
- ],
13
- "category": "behavior"
14
- },
15
- "landscape": {
16
- "type": "Boolean",
17
- "desc": "Display the component in landscape mode",
18
- "category": "behavior"
19
- },
20
- "mask": {
21
- "type": "String",
22
- "desc": "Mask (formatting string) used for parsing and formatting value",
23
- "category": "model",
24
- "default": "YYYY/MM/DD",
25
- "examples": [
26
- "YYYY-MM-DD",
27
- "MMMM Do, YYYY",
28
- "YYYY-MM-DD HH:mm:ss"
29
- ],
30
- "required": false
31
- },
32
- "locale": {
33
- "type": "Object",
34
- "desc": "Locale formatting options",
35
- "examples": [
36
- ":locale=\"{ monthsShort: ['Ian', 'Feb', 'Mar', '...'] }\""
37
- ],
38
- "definition": {
39
- "days": {
40
- "type": "Array",
41
- "desc": "List of full day names (DDDD), starting with Sunday",
42
- "examples": [
43
- "['Duminica', 'Luni', 'Marti', '...']"
44
- ]
45
- },
46
- "daysShort": {
47
- "type": "Array",
48
- "desc": "List of short day names (DDD), starting with Sunday",
49
- "examples": [
50
- "['Dum', 'Lun', 'Mar', '...']"
51
- ]
52
- },
53
- "months": {
54
- "type": "Array",
55
- "desc": "List of full month names (MMMM), starting with January",
56
- "examples": [
57
- "['Ianuarie', 'Februarie', 'Martie', '...']"
58
- ]
59
- },
60
- "monthsShort": {
61
- "type": "Array",
62
- "desc": "List of short month names (MMM), starting with January",
63
- "examples": [
64
- "['Ian', 'Feb', 'Mar', '...']"
65
- ]
66
- }
67
- },
68
- "category": "model"
69
- },
70
- "calendar": {
71
- "type": "String",
72
- "desc": "Specify calendar type",
73
- "default": "gregorian",
74
- "values": [
75
- "gregorian",
76
- "persian"
77
- ],
78
- "category": "model",
79
- "required": false
80
- },
81
- "color": {
82
- "type": "String",
83
- "tsType": "NamedColor",
84
- "desc": "Color name for component from the Quasar Color Palette",
85
- "examples": [
86
- "primary",
87
- "teal",
88
- "teal-10"
89
- ],
90
- "category": "style"
91
- },
92
- "text-color": {
93
- "type": "String",
94
- "tsType": "NamedColor",
95
- "desc": "Overrides text color (if needed); Color name from the Quasar Color Palette",
96
- "examples": [
97
- "primary",
98
- "teal",
99
- "teal-10"
100
- ],
101
- "category": "style"
102
- },
103
- "dark": {
104
- "type": [
105
- "Boolean",
106
- "null"
107
- ],
108
- "default": null,
109
- "desc": "Notify the component that the background is a dark color",
110
- "category": "style",
111
- "required": false
112
- },
113
- "square": {
114
- "type": "Boolean",
115
- "desc": "Removes border-radius so borders are squared",
116
- "category": "style"
117
- },
118
- "flat": {
119
- "type": "Boolean",
120
- "desc": "Applies a 'flat' design (no default shadow)",
121
- "category": "style"
122
- },
123
- "bordered": {
124
- "type": "Boolean",
125
- "desc": "Applies a default border to the component",
126
- "category": "style"
127
- },
128
- "readonly": {
129
- "type": "Boolean",
130
- "desc": "Put component in readonly mode",
131
- "category": "state"
132
- },
133
- "disable": {
134
- "type": "Boolean",
135
- "desc": "Put component in disabled mode",
136
- "category": "state"
137
- },
138
- "model-value": {
139
- "desc": "Date(s) of the component; Must be Array if using 'multiple' prop; Either use this property (along with a listener for 'update:model-value' event) OR use v-model directive",
140
- "required": true,
141
- "syncable": true,
142
- "category": "model",
143
- "type": [
144
- "String",
145
- "Array",
146
- "Object",
147
- "null",
148
- "undefined"
149
- ],
150
- "examples": [
151
- "v-model=\"myDate\"",
152
- "v-model=\"[myDate1, myDate2]\"",
153
- "v-model=\"[{ from: myDateFrom, to: myDateTo }]\"",
154
- "v-model=\"[myDate1, { from: myDateFrom, to: myDateTo }, myDate2]\""
155
- ]
156
- },
157
- "title": {
158
- "type": "String",
159
- "desc": "When specified, it overrides the default header title; Makes sense when not in 'minimal' mode",
160
- "examples": [
161
- "Birthday"
162
- ],
163
- "category": "content"
164
- },
165
- "subtitle": {
166
- "type": "String",
167
- "desc": "When specified, it overrides the default header subtitle; Makes sense when not in 'minimal' mode",
168
- "examples": [
169
- "John Doe"
170
- ],
171
- "category": "content"
172
- },
173
- "default-year-month": {
174
- "type": "String",
175
- "desc": "The default year and month to display (in YYYY/MM format) when model is unfilled (undefined or null); Please ensure it is within the navigation min/max year-month (if using them)",
176
- "examples": [
177
- "1986/02"
178
- ],
179
- "category": "model"
180
- },
181
- "default-view": {
182
- "type": "String",
183
- "desc": "The view which will be displayed by default",
184
- "default": "Calendar",
185
- "values": [
186
- "Calendar",
187
- "Months",
188
- "Years"
189
- ],
190
- "category": "model",
191
- "required": false
192
- },
193
- "years-in-month-view": {
194
- "type": "Boolean",
195
- "desc": "Show the years selector in months view",
196
- "category": "behavior"
197
- },
198
- "events": {
199
- "type": [
200
- "Array",
201
- "Function"
202
- ],
203
- "desc": "A list of events to highlight on the calendar; If using a function, it receives the date as a String and must return a Boolean (matches or not); If using a function then for best performance, reference it from your scope and do not define it inline",
204
- "params": {
205
- "date": {
206
- "type": "String",
207
- "desc": "The current date being processed.",
208
- "examples": [
209
- "2018/11/05",
210
- "2021/10/25"
211
- ]
212
- }
213
- },
214
- "returns": {
215
- "type": "Boolean",
216
- "desc": "If true, the current date will be highlighted"
217
- },
218
- "examples": [
219
- ":events=\"['2018/11/05', '2018/11/06', '2018/11/09', '2018/11/23']\"",
220
- ":events=\"date => date[9] % 3 === 0\""
221
- ],
222
- "category": "model"
223
- },
224
- "event-color": {
225
- "type": [
226
- "String",
227
- "Function"
228
- ],
229
- "desc": "Color name (from the Quasar Color Palette); If using a function, it receives the date as a String and must return a String (color for the received date); If using a function then for best performance, reference it from your scope and do not define it inline",
230
- "params": {
231
- "date": {
232
- "type": "String",
233
- "desc": "The current date being processed.",
234
- "examples": [
235
- "2018/11/05",
236
- "2021/10/25"
237
- ]
238
- }
239
- },
240
- "returns": {
241
- "type": "String",
242
- "desc": "Color for the current date.",
243
- "examples": [
244
- "teal",
245
- "orange"
246
- ]
247
- },
248
- "examples": [
249
- "teal-10",
250
- ":event-color=\"(date) => date[9] % 2 === 0 ? 'teal' : 'orange'\""
251
- ],
252
- "category": "style"
253
- },
254
- "options": {
255
- "type": [
256
- "Array",
257
- "Function"
258
- ],
259
- "desc": "Optionally configure the days that are selectable; If using a function, it receives the date as a String and must return a Boolean (is date acceptable or not); If using a function then for best performance, reference it from your scope and do not define it inline; Incompatible with 'range' prop",
260
- "params": {
261
- "date": {
262
- "type": "String",
263
- "desc": "The current date being processed.",
264
- "examples": [
265
- "2018/11/05",
266
- "2021/10/25"
267
- ]
268
- }
269
- },
270
- "returns": {
271
- "type": "Boolean",
272
- "desc": "If true, the current date will be made available for selection"
273
- },
274
- "examples": [
275
- ":options=\"['2018/11/05', '2018/11/12', '2018/11/19', '2018/11/26' ]\"",
276
- ":options=\"date => date[9] % 3 === 0\"",
277
- ":options=\"date => date >= '2018/11/03' && date <= '2018/11/15'\""
278
- ],
279
- "category": "model"
280
- },
281
- "navigation-min-year-month": {
282
- "type": "String",
283
- "desc": "Lock user from navigating below a specific year+month (in YYYY/MM format); This prop is not used to correct the model; You might want to also use 'default-year-month' prop",
284
- "examples": [
285
- "2020/07"
286
- ],
287
- "category": "selection"
288
- },
289
- "navigation-max-year-month": {
290
- "type": "String",
291
- "desc": "Lock user from navigating above a specific year+month (in YYYY/MM format); This prop is not used to correct the model; You might want to also use 'default-year-month' prop",
292
- "examples": [
293
- "2020/10"
294
- ],
295
- "category": "selection"
296
- },
297
- "no-unset": {
298
- "type": "Boolean",
299
- "desc": "Remove ability to unselect a date; It does not apply to selecting a range over already selected dates",
300
- "category": "selection"
301
- },
302
- "first-day-of-week": {
303
- "type": [
304
- "String",
305
- "Number"
306
- ],
307
- "desc": "Sets the day of the week that is considered the first day (0 - Sunday, 1 - Monday, ...); This day will show in the left-most column of the calendar",
308
- "default": "(based on configured Quasar lang language)",
309
- "examples": [
310
- "first-day-of-week=\"1\"",
311
- ":first-day-of-week=\"selectedFirstDayOfTheWeek\""
312
- ],
313
- "category": "model",
314
- "required": false
315
- },
316
- "today-btn": {
317
- "type": "Boolean",
318
- "desc": "Display a button that selects the current day",
319
- "category": "content"
320
- },
321
- "minimal": {
322
- "type": "Boolean",
323
- "desc": "Don’t display the header",
324
- "category": "content"
325
- },
326
- "multiple": {
327
- "type": "Boolean",
328
- "desc": "Allow multiple selection; Model must be Array",
329
- "category": "model|selection"
330
- },
331
- "range": {
332
- "type": "Boolean",
333
- "desc": "Allow range selection; Partial compatibility with 'options' prop: selected ranges might also include 'unselectable' days",
334
- "category": "model|selection"
335
- },
336
- "emit-immediately": {
337
- "type": "Boolean",
338
- "desc": "Emit model when user browses month and year too; ONLY for single selection (non-multiple, non-range)",
339
- "category": "model"
340
- }
341
- },
342
- "slots": {
343
- "default": {
344
- "desc": "This is where additional buttons can go"
345
- }
346
- },
347
- "events": {
348
- "update:model-value": {
349
- "desc": "Emitted when the component needs to change the model; Is also used by v-model",
350
- "params": {
351
- "value": {
352
- "type": [
353
- "String",
354
- "Array",
355
- "Object",
356
- "null"
357
- ],
358
- "desc": "New model value",
359
- "required": true
360
- },
361
- "reason": {
362
- "type": "String",
363
- "desc": "Reason of the user interaction (what was picked)",
364
- "values": [
365
- "add-day",
366
- "remove-day",
367
- "add-range",
368
- "remove-range",
369
- "mask",
370
- "locale",
371
- "year",
372
- "month"
373
- ]
374
- },
375
- "details": {
376
- "type": "Object",
377
- "desc": "Object of properties on the new model",
378
- "definition": {
379
- "year": {
380
- "type": "Number",
381
- "required": true,
382
- "desc": "The year of the date that the user has clicked/tapped on"
383
- },
384
- "month": {
385
- "type": "Number",
386
- "required": true,
387
- "desc": "The month of the date that the user has clicked/tapped on"
388
- },
389
- "day": {
390
- "type": "Number",
391
- "required": true,
392
- "desc": "The day of the month that the user has clicked/tapped on"
393
- },
394
- "from": {
395
- "type": "Object",
396
- "required": false,
397
- "desc": "Object of properties of the range starting point (only if range)",
398
- "definition": {
399
- "year": {
400
- "type": "Number",
401
- "required": true,
402
- "desc": "The year"
403
- },
404
- "month": {
405
- "type": "Number",
406
- "required": true,
407
- "desc": "The month"
408
- },
409
- "day": {
410
- "type": "Number",
411
- "required": true,
412
- "desc": "The day of month"
413
- }
414
- }
415
- },
416
- "to": {
417
- "type": "Object",
418
- "required": false,
419
- "desc": "Object of properties of the range ending point (only if range)",
420
- "definition": {
421
- "year": {
422
- "type": "Number",
423
- "required": true,
424
- "desc": "The year"
425
- },
426
- "month": {
427
- "type": "Number",
428
- "required": true,
429
- "desc": "The month"
430
- },
431
- "day": {
432
- "type": "Number",
433
- "required": true,
434
- "desc": "The day of month"
435
- }
436
- }
437
- }
438
- }
439
- }
440
- }
441
- },
442
- "navigation": {
443
- "desc": "Emitted when user navigates to a different month or year (and even when the model changes from an outside source)",
444
- "params": {
445
- "view": {
446
- "type": "Object",
447
- "desc": "Definition of the current view (year, month)",
448
- "definition": {
449
- "year": {
450
- "type": "Number",
451
- "required": true,
452
- "desc": "The year"
453
- },
454
- "month": {
455
- "type": "Number",
456
- "required": true,
457
- "desc": "The month"
458
- }
459
- }
460
- }
461
- }
462
- },
463
- "range-start": {
464
- "desc": "User has started a range selection",
465
- "params": {
466
- "from": {
467
- "type": "Object",
468
- "desc": "Definition of date from where the range begins",
469
- "definition": {
470
- "year": {
471
- "type": "Number",
472
- "required": true,
473
- "desc": "The year"
474
- },
475
- "month": {
476
- "type": "Number",
477
- "required": true,
478
- "desc": "The month"
479
- },
480
- "day": {
481
- "type": "Number",
482
- "required": true,
483
- "desc": "The day of month"
484
- }
485
- }
486
- }
487
- }
488
- },
489
- "range-end": {
490
- "desc": "User has ended a range selection",
491
- "params": {
492
- "range": {
493
- "type": "Object",
494
- "desc": "Definition of the range",
495
- "definition": {
496
- "from": {
497
- "type": "Object",
498
- "required": true,
499
- "desc": "Definition of date from where the range begins",
500
- "definition": {
501
- "year": {
502
- "type": "Number",
503
- "required": true,
504
- "desc": "The year"
505
- },
506
- "month": {
507
- "type": "Number",
508
- "required": true,
509
- "desc": "The month"
510
- },
511
- "day": {
512
- "type": "Number",
513
- "required": true,
514
- "desc": "The day of month"
515
- }
516
- }
517
- },
518
- "to": {
519
- "type": "Object",
520
- "required": true,
521
- "desc": "Definition of date to where the range ends",
522
- "definition": {
523
- "year": {
524
- "type": "Number",
525
- "required": true,
526
- "desc": "The year"
527
- },
528
- "month": {
529
- "type": "Number",
530
- "required": true,
531
- "desc": "The month"
532
- },
533
- "day": {
534
- "type": "Number",
535
- "required": true,
536
- "desc": "The day of month"
537
- }
538
- }
539
- }
540
- }
541
- }
542
- }
543
- }
544
- },
545
- "methods": {
546
- "setToday": {
547
- "desc": "Change model to today"
548
- },
549
- "setView": {
550
- "desc": "Change current view",
551
- "params": {
552
- "view": {
553
- "type": "String",
554
- "required": true,
555
- "desc": "QDate view name",
556
- "values": [
557
- "Calendar",
558
- "Months",
559
- "Years"
560
- ]
561
- }
562
- }
563
- },
564
- "offsetCalendar": {
565
- "desc": "Increment or decrement calendar view's month or year",
566
- "params": {
567
- "type": {
568
- "type": "String",
569
- "required": true,
570
- "desc": "What to increment/decrement",
571
- "values": [
572
- "month",
573
- "year"
574
- ]
575
- },
576
- "descending": {
577
- "type": "Boolean",
578
- "desc": "Decrement?"
579
- }
580
- }
581
- },
582
- "setCalendarTo": {
583
- "desc": "Change current year and month of the Calendar view; It gets corrected if using navigation-min/max-year-month and sets the current view to Calendar",
584
- "params": {
585
- "year": {
586
- "type": "Number",
587
- "desc": "The year"
588
- },
589
- "month": {
590
- "type": "Number",
591
- "desc": "The month"
592
- }
593
- }
594
- },
595
- "setEditingRange": {
596
- "desc": "Configure the current editing range",
597
- "params": {
598
- "from": {
599
- "type": "Object",
600
- "desc": "Definition of date from where the range begins",
601
- "definition": {
602
- "year": {
603
- "type": "Number",
604
- "desc": "The year"
605
- },
606
- "month": {
607
- "type": "Number",
608
- "desc": "The month"
609
- },
610
- "day": {
611
- "type": "Number",
612
- "desc": "The day of month"
613
- }
614
- }
615
- },
616
- "to": {
617
- "type": "Object",
618
- "desc": "Definition of date to where the range ends",
619
- "definition": {
620
- "year": {
621
- "type": "Number",
622
- "desc": "The year"
623
- },
624
- "month": {
625
- "type": "Number",
626
- "desc": "The month"
627
- },
628
- "day": {
629
- "type": "Number",
630
- "desc": "The day of month"
631
- }
632
- }
633
- }
634
- }
635
- }
636
- }
637
- }
1
+ {"type":"component","meta":{"docsUrl":"https://v2.quasar.dev/vue-components/date"},"props":{"name":{"type":"String","desc":"Used to specify the name of the control; Useful if dealing with forms submitted directly to a URL","examples":["car_id"],"category":"behavior"},"landscape":{"type":"Boolean","desc":"Display the component in landscape mode","category":"behavior"},"mask":{"type":"String","desc":"Mask (formatting string) used for parsing and formatting value","category":"model","default":"YYYY/MM/DD","examples":["YYYY-MM-DD","MMMM Do, YYYY","YYYY-MM-DD HH:mm:ss"],"required":false},"locale":{"type":"Object","desc":"Locale formatting options","examples":[":locale=\"{ monthsShort: ['Ian', 'Feb', 'Mar', '...'] }\""],"definition":{"days":{"type":"Array","desc":"List of full day names (DDDD), starting with Sunday","examples":["['Duminica', 'Luni', 'Marti', '...']"]},"daysShort":{"type":"Array","desc":"List of short day names (DDD), starting with Sunday","examples":["['Dum', 'Lun', 'Mar', '...']"]},"months":{"type":"Array","desc":"List of full month names (MMMM), starting with January","examples":["['Ianuarie', 'Februarie', 'Martie', '...']"]},"monthsShort":{"type":"Array","desc":"List of short month names (MMM), starting with January","examples":["['Ian', 'Feb', 'Mar', '...']"]}},"category":"model"},"calendar":{"type":"String","desc":"Specify calendar type","default":"gregorian","values":["gregorian","persian"],"category":"model","required":false},"color":{"type":"String","tsType":"NamedColor","desc":"Color name for component from the Quasar Color Palette","examples":["primary","teal","teal-10"],"category":"style"},"text-color":{"type":"String","tsType":"NamedColor","desc":"Overrides text color (if needed); Color name from the Quasar Color Palette","examples":["primary","teal","teal-10"],"category":"style"},"dark":{"type":["Boolean","null"],"default":null,"desc":"Notify the component that the background is a dark color","category":"style","required":false},"square":{"type":"Boolean","desc":"Removes border-radius so borders are squared","category":"style"},"flat":{"type":"Boolean","desc":"Applies a 'flat' design (no default shadow)","category":"style"},"bordered":{"type":"Boolean","desc":"Applies a default border to the component","category":"style"},"readonly":{"type":"Boolean","desc":"Put component in readonly mode","category":"state"},"disable":{"type":"Boolean","desc":"Put component in disabled mode","category":"state"},"model-value":{"desc":"Date(s) of the component; Must be Array if using 'multiple' prop; Either use this property (along with a listener for 'update:model-value' event) OR use v-model directive","required":true,"syncable":true,"category":"model","type":["String","Array","Object","null","undefined"],"examples":["v-model=\"myDate\"","v-model=\"[myDate1, myDate2]\"","v-model=\"[{ from: myDateFrom, to: myDateTo }]\"","v-model=\"[myDate1, { from: myDateFrom, to: myDateTo }, myDate2]\""]},"title":{"type":"String","desc":"When specified, it overrides the default header title; Makes sense when not in 'minimal' mode","examples":["Birthday"],"category":"content"},"subtitle":{"type":"String","desc":"When specified, it overrides the default header subtitle; Makes sense when not in 'minimal' mode","examples":["John Doe"],"category":"content"},"default-year-month":{"type":"String","desc":"The default year and month to display (in YYYY/MM format) when model is unfilled (undefined or null); Please ensure it is within the navigation min/max year-month (if using them)","examples":["1986/02"],"category":"model"},"default-view":{"type":"String","desc":"The view which will be displayed by default","default":"Calendar","values":["Calendar","Months","Years"],"category":"model","required":false},"years-in-month-view":{"type":"Boolean","desc":"Show the years selector in months view","category":"behavior"},"events":{"type":["Array","Function"],"desc":"A list of events to highlight on the calendar; If using a function, it receives the date as a String and must return a Boolean (matches or not); If using a function then for best performance, reference it from your scope and do not define it inline","params":{"date":{"type":"String","desc":"The current date being processed.","examples":["2018/11/05","2021/10/25"]}},"returns":{"type":"Boolean","desc":"If true, the current date will be highlighted"},"examples":[":events=\"['2018/11/05', '2018/11/06', '2018/11/09', '2018/11/23']\"",":events=\"date => date[9] % 3 === 0\""],"category":"model"},"event-color":{"type":["String","Function"],"desc":"Color name (from the Quasar Color Palette); If using a function, it receives the date as a String and must return a String (color for the received date); If using a function then for best performance, reference it from your scope and do not define it inline","params":{"date":{"type":"String","desc":"The current date being processed.","examples":["2018/11/05","2021/10/25"]}},"returns":{"type":"String","desc":"Color for the current date.","examples":["teal","orange"]},"examples":["teal-10",":event-color=\"(date) => date[9] % 2 === 0 ? 'teal' : 'orange'\""],"category":"style"},"options":{"type":["Array","Function"],"desc":"Optionally configure the days that are selectable; If using a function, it receives the date as a String and must return a Boolean (is date acceptable or not); If using a function then for best performance, reference it from your scope and do not define it inline; Incompatible with 'range' prop","params":{"date":{"type":"String","desc":"The current date being processed.","examples":["2018/11/05","2021/10/25"]}},"returns":{"type":"Boolean","desc":"If true, the current date will be made available for selection"},"examples":[":options=\"['2018/11/05', '2018/11/12', '2018/11/19', '2018/11/26' ]\"",":options=\"date => date[9] % 3 === 0\"",":options=\"date => date >= '2018/11/03' && date <= '2018/11/15'\""],"category":"model"},"navigation-min-year-month":{"type":"String","desc":"Lock user from navigating below a specific year+month (in YYYY/MM format); This prop is not used to correct the model; You might want to also use 'default-year-month' prop","examples":["2020/07"],"category":"selection"},"navigation-max-year-month":{"type":"String","desc":"Lock user from navigating above a specific year+month (in YYYY/MM format); This prop is not used to correct the model; You might want to also use 'default-year-month' prop","examples":["2020/10"],"category":"selection"},"no-unset":{"type":"Boolean","desc":"Remove ability to unselect a date; It does not apply to selecting a range over already selected dates","category":"selection"},"first-day-of-week":{"type":["String","Number"],"desc":"Sets the day of the week that is considered the first day (0 - Sunday, 1 - Monday, ...); This day will show in the left-most column of the calendar","default":"(based on configured Quasar lang language)","examples":["first-day-of-week=\"1\"",":first-day-of-week=\"selectedFirstDayOfTheWeek\""],"category":"model","required":false},"today-btn":{"type":"Boolean","desc":"Display a button that selects the current day","category":"content"},"minimal":{"type":"Boolean","desc":"Don’t display the header","category":"content"},"multiple":{"type":"Boolean","desc":"Allow multiple selection; Model must be Array","category":"model|selection"},"range":{"type":"Boolean","desc":"Allow range selection; Partial compatibility with 'options' prop: selected ranges might also include 'unselectable' days","category":"model|selection"},"emit-immediately":{"type":"Boolean","desc":"Emit model when user browses month and year too; ONLY for single selection (non-multiple, non-range)","category":"model"}},"slots":{"default":{"desc":"This is where additional buttons can go"}},"events":{"update:model-value":{"desc":"Emitted when the component needs to change the model; Is also used by v-model","params":{"value":{"type":["String","Array","Object","null"],"desc":"New model value","required":true},"reason":{"type":"String","desc":"Reason of the user interaction (what was picked)","values":["add-day","remove-day","add-range","remove-range","mask","locale","year","month"]},"details":{"type":"Object","desc":"Object of properties on the new model","definition":{"year":{"type":"Number","required":true,"desc":"The year of the date that the user has clicked/tapped on"},"month":{"type":"Number","required":true,"desc":"The month of the date that the user has clicked/tapped on"},"day":{"type":"Number","required":true,"desc":"The day of the month that the user has clicked/tapped on"},"from":{"type":"Object","required":false,"desc":"Object of properties of the range starting point (only if range)","definition":{"year":{"type":"Number","required":true,"desc":"The year"},"month":{"type":"Number","required":true,"desc":"The month"},"day":{"type":"Number","required":true,"desc":"The day of month"}}},"to":{"type":"Object","required":false,"desc":"Object of properties of the range ending point (only if range)","definition":{"year":{"type":"Number","required":true,"desc":"The year"},"month":{"type":"Number","required":true,"desc":"The month"},"day":{"type":"Number","required":true,"desc":"The day of month"}}}}}}},"navigation":{"desc":"Emitted when user navigates to a different month or year (and even when the model changes from an outside source)","params":{"view":{"type":"Object","desc":"Definition of the current view (year, month)","definition":{"year":{"type":"Number","required":true,"desc":"The year"},"month":{"type":"Number","required":true,"desc":"The month"}}}}},"range-start":{"desc":"User has started a range selection","params":{"from":{"type":"Object","desc":"Definition of date from where the range begins","definition":{"year":{"type":"Number","required":true,"desc":"The year"},"month":{"type":"Number","required":true,"desc":"The month"},"day":{"type":"Number","required":true,"desc":"The day of month"}}}}},"range-end":{"desc":"User has ended a range selection","params":{"range":{"type":"Object","desc":"Definition of the range","definition":{"from":{"type":"Object","required":true,"desc":"Definition of date from where the range begins","definition":{"year":{"type":"Number","required":true,"desc":"The year"},"month":{"type":"Number","required":true,"desc":"The month"},"day":{"type":"Number","required":true,"desc":"The day of month"}}},"to":{"type":"Object","required":true,"desc":"Definition of date to where the range ends","definition":{"year":{"type":"Number","required":true,"desc":"The year"},"month":{"type":"Number","required":true,"desc":"The month"},"day":{"type":"Number","required":true,"desc":"The day of month"}}}}}}}},"methods":{"setToday":{"desc":"Change model to today"},"setView":{"desc":"Change current view","params":{"view":{"type":"String","required":true,"desc":"QDate view name","values":["Calendar","Months","Years"]}}},"offsetCalendar":{"desc":"Increment or decrement calendar view's month or year","params":{"type":{"type":"String","required":true,"desc":"What to increment/decrement","values":["month","year"]},"descending":{"type":"Boolean","desc":"Decrement?"}}},"setCalendarTo":{"desc":"Change current year and month of the Calendar view; It gets corrected if using navigation-min/max-year-month and sets the current view to Calendar","params":{"year":{"type":"Number","desc":"The year"},"month":{"type":"Number","desc":"The month"}}},"setEditingRange":{"desc":"Configure the current editing range","params":{"from":{"type":"Object","desc":"Definition of date from where the range begins","definition":{"year":{"type":"Number","desc":"The year"},"month":{"type":"Number","desc":"The month"},"day":{"type":"Number","desc":"The day of month"}}},"to":{"type":"Object","desc":"Definition of date to where the range ends","definition":{"year":{"type":"Number","desc":"The year"},"month":{"type":"Number","desc":"The month"},"day":{"type":"Number","desc":"The day of month"}}}}}}}