quasar 2.1.0

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 (973) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +47 -0
  3. package/dist/api/AddressbarColor.json +22 -0
  4. package/dist/api/AppFullscreen.json +71 -0
  5. package/dist/api/AppVisibility.json +15 -0
  6. package/dist/api/BottomSheet.json +212 -0
  7. package/dist/api/ClosePopup.json +21 -0
  8. package/dist/api/Cookies.json +189 -0
  9. package/dist/api/Dark.json +50 -0
  10. package/dist/api/Dialog.json +471 -0
  11. package/dist/api/Intersection.json +279 -0
  12. package/dist/api/Loading.json +256 -0
  13. package/dist/api/LoadingBar.json +55 -0
  14. package/dist/api/LocalStorage.json +191 -0
  15. package/dist/api/Meta.json +6 -0
  16. package/dist/api/Morph.json +193 -0
  17. package/dist/api/Mutation.json +122 -0
  18. package/dist/api/Notify.json +1068 -0
  19. package/dist/api/Platform.json +70 -0
  20. package/dist/api/QAjaxBar.json +91 -0
  21. package/dist/api/QAvatar.json +72 -0
  22. package/dist/api/QBadge.json +78 -0
  23. package/dist/api/QBanner.json +39 -0
  24. package/dist/api/QBar.json +23 -0
  25. package/dist/api/QBreadcrumbs.json +83 -0
  26. package/dist/api/QBreadcrumbsEl.json +101 -0
  27. package/dist/api/QBtn.json +288 -0
  28. package/dist/api/QBtnDropdown.json +484 -0
  29. package/dist/api/QBtnGroup.json +53 -0
  30. package/dist/api/QBtnToggle.json +249 -0
  31. package/dist/api/QCard.json +45 -0
  32. package/dist/api/QCardActions.json +33 -0
  33. package/dist/api/QCardSection.json +30 -0
  34. package/dist/api/QCarousel.json +393 -0
  35. package/dist/api/QCarouselControl.json +42 -0
  36. package/dist/api/QCarouselSlide.json +44 -0
  37. package/dist/api/QChatMessage.json +128 -0
  38. package/dist/api/QCheckbox.json +172 -0
  39. package/dist/api/QChip.json +206 -0
  40. package/dist/api/QCircularProgress.json +135 -0
  41. package/dist/api/QColor.json +131 -0
  42. package/dist/api/QDate.json +550 -0
  43. package/dist/api/QDialog.json +210 -0
  44. package/dist/api/QDrawer.json +262 -0
  45. package/dist/api/QEditor.json +385 -0
  46. package/dist/api/QExpansionItem.json +339 -0
  47. package/dist/api/QFab.json +310 -0
  48. package/dist/api/QFabAction.json +222 -0
  49. package/dist/api/QField.json +417 -0
  50. package/dist/api/QFile.json +623 -0
  51. package/dist/api/QFooter.json +61 -0
  52. package/dist/api/QForm.json +102 -0
  53. package/dist/api/QFormChildMixin.json +24 -0
  54. package/dist/api/QHeader.json +70 -0
  55. package/dist/api/QIcon.json +64 -0
  56. package/dist/api/QImg.json +236 -0
  57. package/dist/api/QInfiniteScroll.json +120 -0
  58. package/dist/api/QInnerLoading.json +77 -0
  59. package/dist/api/QInput.json +494 -0
  60. package/dist/api/QIntersection.json +91 -0
  61. package/dist/api/QItem.json +119 -0
  62. package/dist/api/QItemLabel.json +41 -0
  63. package/dist/api/QItemSection.json +38 -0
  64. package/dist/api/QKnob.json +196 -0
  65. package/dist/api/QLayout.json +110 -0
  66. package/dist/api/QLinearProgress.json +94 -0
  67. package/dist/api/QList.json +38 -0
  68. package/dist/api/QMarkupTable.json +58 -0
  69. package/dist/api/QMenu.json +323 -0
  70. package/dist/api/QNoSsr.json +37 -0
  71. package/dist/api/QOptionGroup.json +109 -0
  72. package/dist/api/QPage.json +47 -0
  73. package/dist/api/QPageContainer.json +11 -0
  74. package/dist/api/QPageScroller.json +73 -0
  75. package/dist/api/QPageSticky.json +46 -0
  76. package/dist/api/QPagination.json +324 -0
  77. package/dist/api/QParallax.json +85 -0
  78. package/dist/api/QPopupEdit.json +337 -0
  79. package/dist/api/QPopupProxy.json +147 -0
  80. package/dist/api/QPullToRefresh.json +87 -0
  81. package/dist/api/QRadio.json +133 -0
  82. package/dist/api/QRange.json +269 -0
  83. package/dist/api/QRating.json +167 -0
  84. package/dist/api/QResizeObserver.json +59 -0
  85. package/dist/api/QResponsive.json +26 -0
  86. package/dist/api/QRouteTab.json +190 -0
  87. package/dist/api/QScrollArea.json +338 -0
  88. package/dist/api/QScrollObserver.json +146 -0
  89. package/dist/api/QSelect.json +1341 -0
  90. package/dist/api/QSeparator.json +62 -0
  91. package/dist/api/QSkeleton.json +104 -0
  92. package/dist/api/QSlideItem.json +202 -0
  93. package/dist/api/QSlideTransition.json +36 -0
  94. package/dist/api/QSlider.json +196 -0
  95. package/dist/api/QSpace.json +6 -0
  96. package/dist/api/QSpinner.json +38 -0
  97. package/dist/api/QSpinnerAudio.json +28 -0
  98. package/dist/api/QSpinnerBall.json +28 -0
  99. package/dist/api/QSpinnerBars.json +28 -0
  100. package/dist/api/QSpinnerBox.json +28 -0
  101. package/dist/api/QSpinnerClock.json +28 -0
  102. package/dist/api/QSpinnerComment.json +28 -0
  103. package/dist/api/QSpinnerCube.json +28 -0
  104. package/dist/api/QSpinnerDots.json +28 -0
  105. package/dist/api/QSpinnerFacebook.json +28 -0
  106. package/dist/api/QSpinnerGears.json +28 -0
  107. package/dist/api/QSpinnerGrid.json +28 -0
  108. package/dist/api/QSpinnerHearts.json +28 -0
  109. package/dist/api/QSpinnerHourglass.json +28 -0
  110. package/dist/api/QSpinnerInfinity.json +28 -0
  111. package/dist/api/QSpinnerIos.json +28 -0
  112. package/dist/api/QSpinnerOrbit.json +28 -0
  113. package/dist/api/QSpinnerOval.json +28 -0
  114. package/dist/api/QSpinnerPie.json +28 -0
  115. package/dist/api/QSpinnerPuff.json +28 -0
  116. package/dist/api/QSpinnerRadio.json +28 -0
  117. package/dist/api/QSpinnerRings.json +28 -0
  118. package/dist/api/QSpinnerTail.json +28 -0
  119. package/dist/api/QSplitter.json +142 -0
  120. package/dist/api/QStep.json +158 -0
  121. package/dist/api/QStepper.json +317 -0
  122. package/dist/api/QStepperNavigation.json +11 -0
  123. package/dist/api/QTab.json +111 -0
  124. package/dist/api/QTabPanel.json +34 -0
  125. package/dist/api/QTabPanels.json +193 -0
  126. package/dist/api/QTable.json +2645 -0
  127. package/dist/api/QTabs.json +165 -0
  128. package/dist/api/QTd.json +31 -0
  129. package/dist/api/QTh.json +26 -0
  130. package/dist/api/QTime.json +278 -0
  131. package/dist/api/QTimeline.json +48 -0
  132. package/dist/api/QTimelineEntry.json +101 -0
  133. package/dist/api/QToggle.json +216 -0
  134. package/dist/api/QToolbar.json +18 -0
  135. package/dist/api/QToolbarTitle.json +18 -0
  136. package/dist/api/QTooltip.json +274 -0
  137. package/dist/api/QTr.json +26 -0
  138. package/dist/api/QTree.json +552 -0
  139. package/dist/api/QUploader.json +481 -0
  140. package/dist/api/QUploaderAddTrigger.json +6 -0
  141. package/dist/api/QVideo.json +30 -0
  142. package/dist/api/QVirtualScroll.json +291 -0
  143. package/dist/api/Ripple.json +111 -0
  144. package/dist/api/Screen.json +207 -0
  145. package/dist/api/Scroll.json +31 -0
  146. package/dist/api/ScrollFire.json +21 -0
  147. package/dist/api/SessionStorage.json +191 -0
  148. package/dist/api/TouchHold.json +86 -0
  149. package/dist/api/TouchPan.json +200 -0
  150. package/dist/api/TouchRepeat.json +156 -0
  151. package/dist/api/TouchSwipe.json +118 -0
  152. package/dist/icon-set/bootstrap-icons.umd.prod.js +6 -0
  153. package/dist/icon-set/eva-icons.umd.prod.js +6 -0
  154. package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +6 -0
  155. package/dist/icon-set/fontawesome-v5.umd.prod.js +6 -0
  156. package/dist/icon-set/ionicons-v4.umd.prod.js +6 -0
  157. package/dist/icon-set/line-awesome.umd.prod.js +6 -0
  158. package/dist/icon-set/material-icons-outlined.umd.prod.js +6 -0
  159. package/dist/icon-set/material-icons-round.umd.prod.js +6 -0
  160. package/dist/icon-set/material-icons-sharp.umd.prod.js +6 -0
  161. package/dist/icon-set/material-icons.umd.prod.js +6 -0
  162. package/dist/icon-set/mdi-v3.umd.prod.js +6 -0
  163. package/dist/icon-set/mdi-v4.umd.prod.js +6 -0
  164. package/dist/icon-set/mdi-v5.umd.prod.js +6 -0
  165. package/dist/icon-set/mdi-v6.umd.prod.js +6 -0
  166. package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +6 -0
  167. package/dist/icon-set/svg-eva-icons.umd.prod.js +6 -0
  168. package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +6 -0
  169. package/dist/icon-set/svg-ionicons-v4.umd.prod.js +6 -0
  170. package/dist/icon-set/svg-ionicons-v5.umd.prod.js +6 -0
  171. package/dist/icon-set/svg-line-awesome.umd.prod.js +6 -0
  172. package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +6 -0
  173. package/dist/icon-set/svg-material-icons-round.umd.prod.js +6 -0
  174. package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +6 -0
  175. package/dist/icon-set/svg-material-icons.umd.prod.js +6 -0
  176. package/dist/icon-set/svg-mdi-v4.umd.prod.js +6 -0
  177. package/dist/icon-set/svg-mdi-v5.umd.prod.js +6 -0
  178. package/dist/icon-set/svg-mdi-v6.umd.prod.js +6 -0
  179. package/dist/icon-set/svg-themify.umd.prod.js +6 -0
  180. package/dist/icon-set/themify.umd.prod.js +6 -0
  181. package/dist/lang/ar.umd.prod.js +6 -0
  182. package/dist/lang/az-Latn.umd.prod.js +6 -0
  183. package/dist/lang/bg.umd.prod.js +6 -0
  184. package/dist/lang/bn.umd.prod.js +6 -0
  185. package/dist/lang/ca.umd.prod.js +6 -0
  186. package/dist/lang/cs.umd.prod.js +6 -0
  187. package/dist/lang/da.umd.prod.js +6 -0
  188. package/dist/lang/de.umd.prod.js +6 -0
  189. package/dist/lang/el.umd.prod.js +6 -0
  190. package/dist/lang/en-GB.umd.prod.js +6 -0
  191. package/dist/lang/en-US.umd.prod.js +6 -0
  192. package/dist/lang/eo.umd.prod.js +6 -0
  193. package/dist/lang/es.umd.prod.js +6 -0
  194. package/dist/lang/et.umd.prod.js +6 -0
  195. package/dist/lang/fa-IR.umd.prod.js +6 -0
  196. package/dist/lang/fa.umd.prod.js +6 -0
  197. package/dist/lang/fi.umd.prod.js +6 -0
  198. package/dist/lang/fr.umd.prod.js +6 -0
  199. package/dist/lang/gn.umd.prod.js +6 -0
  200. package/dist/lang/he.umd.prod.js +6 -0
  201. package/dist/lang/hr.umd.prod.js +6 -0
  202. package/dist/lang/hu.umd.prod.js +6 -0
  203. package/dist/lang/id.umd.prod.js +6 -0
  204. package/dist/lang/is.umd.prod.js +6 -0
  205. package/dist/lang/it.umd.prod.js +6 -0
  206. package/dist/lang/ja.umd.prod.js +6 -0
  207. package/dist/lang/km.umd.prod.js +6 -0
  208. package/dist/lang/ko-KR.umd.prod.js +6 -0
  209. package/dist/lang/kur-CKB.umd.prod.js +6 -0
  210. package/dist/lang/lu.umd.prod.js +6 -0
  211. package/dist/lang/lv.umd.prod.js +6 -0
  212. package/dist/lang/ml.umd.prod.js +6 -0
  213. package/dist/lang/ms.umd.prod.js +6 -0
  214. package/dist/lang/nb-NO.umd.prod.js +6 -0
  215. package/dist/lang/nl.umd.prod.js +6 -0
  216. package/dist/lang/pl.umd.prod.js +6 -0
  217. package/dist/lang/pt-BR.umd.prod.js +6 -0
  218. package/dist/lang/pt.umd.prod.js +6 -0
  219. package/dist/lang/ro.umd.prod.js +6 -0
  220. package/dist/lang/ru.umd.prod.js +6 -0
  221. package/dist/lang/sk.umd.prod.js +6 -0
  222. package/dist/lang/sl.umd.prod.js +6 -0
  223. package/dist/lang/sr.umd.prod.js +6 -0
  224. package/dist/lang/sv.umd.prod.js +6 -0
  225. package/dist/lang/ta.umd.prod.js +6 -0
  226. package/dist/lang/th.umd.prod.js +6 -0
  227. package/dist/lang/tr.umd.prod.js +6 -0
  228. package/dist/lang/ug.umd.prod.js +6 -0
  229. package/dist/lang/uk.umd.prod.js +6 -0
  230. package/dist/lang/vi.umd.prod.js +6 -0
  231. package/dist/lang/zh-CN.umd.prod.js +6 -0
  232. package/dist/lang/zh-TW.umd.prod.js +6 -0
  233. package/dist/quasar.addon.css +6291 -0
  234. package/dist/quasar.addon.prod.css +1 -0
  235. package/dist/quasar.addon.rtl.css +9286 -0
  236. package/dist/quasar.addon.rtl.prod.css +1 -0
  237. package/dist/quasar.cjs.prod.js +6 -0
  238. package/dist/quasar.css +11392 -0
  239. package/dist/quasar.esm.prod.js +6 -0
  240. package/dist/quasar.prod.css +1 -0
  241. package/dist/quasar.rtl.css +13790 -0
  242. package/dist/quasar.rtl.prod.css +1 -0
  243. package/dist/quasar.sass +7314 -0
  244. package/dist/quasar.umd.js +38430 -0
  245. package/dist/quasar.umd.prod.js +6 -0
  246. package/dist/ssr-directives/Morph.js +55 -0
  247. package/dist/ssr-directives/index.js +14 -0
  248. package/dist/transforms/api-list.json +151 -0
  249. package/dist/transforms/auto-import.json +267 -0
  250. package/dist/transforms/import-map.json +178 -0
  251. package/dist/transforms/import-transformation.js +9 -0
  252. package/dist/transforms/loader-asset-urls.json +40 -0
  253. package/dist/types/api/cookies.d.ts +1 -0
  254. package/dist/types/api/web-storage.d.ts +30 -0
  255. package/dist/types/api.d.ts +2 -0
  256. package/dist/types/composables.d.ts +30 -0
  257. package/dist/types/extras/animations.d.ts +106 -0
  258. package/dist/types/extras/fonts.d.ts +1 -0
  259. package/dist/types/extras/icon-set.d.ts +123 -0
  260. package/dist/types/extras.d.ts +3 -0
  261. package/dist/types/feature-flag.d.ts +57 -0
  262. package/dist/types/globals.d.ts +69 -0
  263. package/dist/types/index.d.ts +8818 -0
  264. package/dist/types/lang.d.ts +131 -0
  265. package/dist/types/meta.d.ts +16 -0
  266. package/dist/types/plugin.d.ts +17 -0
  267. package/dist/types/shim-icon-set.d.ts +7 -0
  268. package/dist/types/shim-lang.d.ts +7 -0
  269. package/dist/types/ts-helpers.d.ts +22 -0
  270. package/dist/types/tsconfig.json +7 -0
  271. package/dist/types/typings.json +4 -0
  272. package/dist/types/utils/colors.d.ts +28 -0
  273. package/dist/types/utils/date.d.ts +50 -0
  274. package/dist/types/utils/dom.d.ts +14 -0
  275. package/dist/types/utils/event.d.ts +28 -0
  276. package/dist/types/utils/format.d.ts +7 -0
  277. package/dist/types/utils/scroll.d.ts +20 -0
  278. package/dist/types/utils.d.ts +138 -0
  279. package/dist/vetur/quasar-attributes.json +5522 -0
  280. package/dist/vetur/quasar-tags.json +1992 -0
  281. package/dist/web-types/web-types.json +18572 -0
  282. package/icon-set/bootstrap-icons.js +136 -0
  283. package/icon-set/eva-icons.js +186 -0
  284. package/icon-set/fontawesome-v5-pro.js +128 -0
  285. package/icon-set/fontawesome-v5.js +128 -0
  286. package/icon-set/ionicons-v4.js +180 -0
  287. package/icon-set/line-awesome.js +128 -0
  288. package/icon-set/material-icons-outlined.js +128 -0
  289. package/icon-set/material-icons-round.js +128 -0
  290. package/icon-set/material-icons-sharp.js +128 -0
  291. package/icon-set/material-icons.js +128 -0
  292. package/icon-set/mdi-v3.js +141 -0
  293. package/icon-set/mdi-v4.js +141 -0
  294. package/icon-set/mdi-v5.js +141 -0
  295. package/icon-set/mdi-v6.js +141 -0
  296. package/icon-set/svg-bootstrap-icons.js +211 -0
  297. package/icon-set/svg-eva-icons.js +234 -0
  298. package/icon-set/svg-fontawesome-v5.js +198 -0
  299. package/icon-set/svg-ionicons-v4.js +235 -0
  300. package/icon-set/svg-ionicons-v5.js +225 -0
  301. package/icon-set/svg-line-awesome.js +198 -0
  302. package/icon-set/svg-material-icons-outlined.js +203 -0
  303. package/icon-set/svg-material-icons-round.js +203 -0
  304. package/icon-set/svg-material-icons-sharp.js +203 -0
  305. package/icon-set/svg-material-icons.js +203 -0
  306. package/icon-set/svg-mdi-v4.js +218 -0
  307. package/icon-set/svg-mdi-v5.js +225 -0
  308. package/icon-set/svg-mdi-v6.js +225 -0
  309. package/icon-set/svg-themify.js +232 -0
  310. package/icon-set/themify.js +169 -0
  311. package/lang/ar.js +96 -0
  312. package/lang/az-Latn.js +91 -0
  313. package/lang/bg.js +91 -0
  314. package/lang/bn.js +91 -0
  315. package/lang/ca.js +91 -0
  316. package/lang/cs.js +102 -0
  317. package/lang/da.js +91 -0
  318. package/lang/de.js +91 -0
  319. package/lang/el.js +91 -0
  320. package/lang/en-GB.js +91 -0
  321. package/lang/en-US.js +91 -0
  322. package/lang/eo.js +91 -0
  323. package/lang/es.js +91 -0
  324. package/lang/et.js +91 -0
  325. package/lang/fa-IR.js +92 -0
  326. package/lang/fa.js +92 -0
  327. package/lang/fi.js +92 -0
  328. package/lang/fr.js +94 -0
  329. package/lang/gn.js +91 -0
  330. package/lang/he.js +92 -0
  331. package/lang/hr.js +91 -0
  332. package/lang/hu.js +91 -0
  333. package/lang/id.js +91 -0
  334. package/lang/index.json +210 -0
  335. package/lang/is.js +91 -0
  336. package/lang/it.js +91 -0
  337. package/lang/ja.js +90 -0
  338. package/lang/km.js +91 -0
  339. package/lang/ko-KR.js +91 -0
  340. package/lang/kur-CKB.js +101 -0
  341. package/lang/lu.js +91 -0
  342. package/lang/lv.js +91 -0
  343. package/lang/ml.js +95 -0
  344. package/lang/ms.js +91 -0
  345. package/lang/nb-NO.js +92 -0
  346. package/lang/nl.js +91 -0
  347. package/lang/pl.js +91 -0
  348. package/lang/pt-BR.js +91 -0
  349. package/lang/pt.js +91 -0
  350. package/lang/ro.js +91 -0
  351. package/lang/ru.js +95 -0
  352. package/lang/sk.js +91 -0
  353. package/lang/sl.js +91 -0
  354. package/lang/sr.js +91 -0
  355. package/lang/sv.js +91 -0
  356. package/lang/ta.js +91 -0
  357. package/lang/th.js +91 -0
  358. package/lang/tr.js +87 -0
  359. package/lang/ug.js +92 -0
  360. package/lang/uk.js +95 -0
  361. package/lang/vi.js +91 -0
  362. package/lang/zh-CN.js +90 -0
  363. package/lang/zh-TW.js +90 -0
  364. package/package.json +108 -0
  365. package/src/api-file-example.json +94 -0
  366. package/src/api.extends.json +264 -0
  367. package/src/body.js +109 -0
  368. package/src/components/ajax-bar/QAjaxBar.js +238 -0
  369. package/src/components/ajax-bar/QAjaxBar.json +76 -0
  370. package/src/components/ajax-bar/QAjaxBar.sass +27 -0
  371. package/src/components/ajax-bar/index.js +5 -0
  372. package/src/components/avatar/QAvatar.js +61 -0
  373. package/src/components/avatar/QAvatar.json +42 -0
  374. package/src/components/avatar/QAvatar.sass +22 -0
  375. package/src/components/avatar/index.js +5 -0
  376. package/src/components/badge/QBadge.js +59 -0
  377. package/src/components/badge/QBadge.json +65 -0
  378. package/src/components/badge/QBadge.sass +32 -0
  379. package/src/components/badge/index.js +5 -0
  380. package/src/components/banner/QBanner.js +57 -0
  381. package/src/components/banner/QBanner.json +39 -0
  382. package/src/components/banner/QBanner.sass +38 -0
  383. package/src/components/banner/index.js +5 -0
  384. package/src/components/bar/QBar.js +30 -0
  385. package/src/components/bar/QBar.json +22 -0
  386. package/src/components/bar/QBar.sass +31 -0
  387. package/src/components/bar/index.js +5 -0
  388. package/src/components/breadcrumbs/QBreadcrumbs.js +90 -0
  389. package/src/components/breadcrumbs/QBreadcrumbs.json +57 -0
  390. package/src/components/breadcrumbs/QBreadcrumbs.sass +16 -0
  391. package/src/components/breadcrumbs/QBreadcrumbsEl.js +57 -0
  392. package/src/components/breadcrumbs/QBreadcrumbsEl.json +36 -0
  393. package/src/components/breadcrumbs/index.js +7 -0
  394. package/src/components/btn/QBtn.js +362 -0
  395. package/src/components/btn/QBtn.json +70 -0
  396. package/src/components/btn/QBtn.sass +157 -0
  397. package/src/components/btn/index.js +5 -0
  398. package/src/components/btn/use-btn.js +195 -0
  399. package/src/components/btn/use-btn.json +172 -0
  400. package/src/components/btn-dropdown/QBtnDropdown.js +215 -0
  401. package/src/components/btn-dropdown/QBtnDropdown.json +138 -0
  402. package/src/components/btn-dropdown/QBtnDropdown.sass +15 -0
  403. package/src/components/btn-dropdown/index.js +5 -0
  404. package/src/components/btn-group/QBtnGroup.js +31 -0
  405. package/src/components/btn-group/QBtnGroup.json +61 -0
  406. package/src/components/btn-group/QBtnGroup.sass +85 -0
  407. package/src/components/btn-group/index.js +5 -0
  408. package/src/components/btn-toggle/QBtnToggle.js +166 -0
  409. package/src/components/btn-toggle/QBtnToggle.json +194 -0
  410. package/src/components/btn-toggle/QBtnToggle.sass +2 -0
  411. package/src/components/btn-toggle/index.js +5 -0
  412. package/src/components/card/QCard.js +37 -0
  413. package/src/components/card/QCard.json +35 -0
  414. package/src/components/card/QCard.sass +96 -0
  415. package/src/components/card/QCardActions.js +25 -0
  416. package/src/components/card/QCardActions.json +27 -0
  417. package/src/components/card/QCardSection.js +25 -0
  418. package/src/components/card/QCardSection.json +25 -0
  419. package/src/components/card/index.js +9 -0
  420. package/src/components/carousel/QCarousel.js +267 -0
  421. package/src/components/carousel/QCarousel.json +150 -0
  422. package/src/components/carousel/QCarousel.sass +126 -0
  423. package/src/components/carousel/QCarouselControl.js +36 -0
  424. package/src/components/carousel/QCarouselControl.json +34 -0
  425. package/src/components/carousel/QCarouselSlide.js +27 -0
  426. package/src/components/carousel/QCarouselSlide.json +36 -0
  427. package/src/components/carousel/index.js +9 -0
  428. package/src/components/chat/QChatMessage.js +155 -0
  429. package/src/components/chat/QChatMessage.json +115 -0
  430. package/src/components/chat/QChatMessage.sass +75 -0
  431. package/src/components/chat/index.js +5 -0
  432. package/src/components/checkbox/QCheckbox.js +35 -0
  433. package/src/components/checkbox/QCheckbox.json +7 -0
  434. package/src/components/checkbox/QCheckbox.sass +114 -0
  435. package/src/components/checkbox/index.js +5 -0
  436. package/src/components/checkbox/use-checkbox.js +236 -0
  437. package/src/components/checkbox/use-checkbox.json +127 -0
  438. package/src/components/chip/QChip.js +197 -0
  439. package/src/components/chip/QChip.json +146 -0
  440. package/src/components/chip/QChip.sass +83 -0
  441. package/src/components/chip/index.js +5 -0
  442. package/src/components/circular-progress/QCircularProgress.js +135 -0
  443. package/src/components/circular-progress/QCircularProgress.json +107 -0
  444. package/src/components/circular-progress/QCircularProgress.sass +38 -0
  445. package/src/components/circular-progress/index.js +5 -0
  446. package/src/components/circular-progress/use-circular-progress.js +38 -0
  447. package/src/components/color/QColor.js +830 -0
  448. package/src/components/color/QColor.json +96 -0
  449. package/src/components/color/QColor.sass +188 -0
  450. package/src/components/color/index.js +5 -0
  451. package/src/components/date/QDate.js +1450 -0
  452. package/src/components/date/QDate.json +439 -0
  453. package/src/components/date/QDate.sass +249 -0
  454. package/src/components/date/index.js +5 -0
  455. package/src/components/date/use-datetime.js +95 -0
  456. package/src/components/date/use-datetime.json +86 -0
  457. package/src/components/dialog/QDialog.js +402 -0
  458. package/src/components/dialog/QDialog.json +126 -0
  459. package/src/components/dialog/QDialog.sass +106 -0
  460. package/src/components/dialog/index.js +5 -0
  461. package/src/components/dialog-bottom-sheet/BottomSheet.js +177 -0
  462. package/src/components/dialog-bottom-sheet/BottomSheet.sass +37 -0
  463. package/src/components/dialog-plugin/DialogPlugin.js +323 -0
  464. package/src/components/dialog-plugin/DialogPlugin.sass +11 -0
  465. package/src/components/drawer/QDrawer.js +693 -0
  466. package/src/components/drawer/QDrawer.json +164 -0
  467. package/src/components/drawer/index.js +5 -0
  468. package/src/components/editor/QEditor.js +539 -0
  469. package/src/components/editor/QEditor.json +301 -0
  470. package/src/components/editor/QEditor.sass +83 -0
  471. package/src/components/editor/editor-caret.js +363 -0
  472. package/src/components/editor/editor-utils.js +287 -0
  473. package/src/components/editor/index.js +5 -0
  474. package/src/components/expansion-item/QExpansionItem.js +337 -0
  475. package/src/components/expansion-item/QExpansionItem.json +175 -0
  476. package/src/components/expansion-item/QExpansionItem.sass +72 -0
  477. package/src/components/expansion-item/index.js +5 -0
  478. package/src/components/fab/QFab.js +136 -0
  479. package/src/components/fab/QFab.json +73 -0
  480. package/src/components/fab/QFab.sass +154 -0
  481. package/src/components/fab/QFabAction.js +96 -0
  482. package/src/components/fab/QFabAction.json +59 -0
  483. package/src/components/fab/index.js +7 -0
  484. package/src/components/fab/use-fab.js +90 -0
  485. package/src/components/fab/use-fab.json +123 -0
  486. package/src/components/field/QField.js +17 -0
  487. package/src/components/field/QField.json +112 -0
  488. package/src/components/field/QField.sass +535 -0
  489. package/src/components/field/index.js +5 -0
  490. package/src/components/file/QFile.js +273 -0
  491. package/src/components/file/QFile.json +179 -0
  492. package/src/components/file/QFile.sass +19 -0
  493. package/src/components/file/index.js +5 -0
  494. package/src/components/footer/QFooter.js +200 -0
  495. package/src/components/footer/QFooter.json +60 -0
  496. package/src/components/footer/index.js +5 -0
  497. package/src/components/form/QForm.js +184 -0
  498. package/src/components/form/QForm.json +120 -0
  499. package/src/components/form/QForm.sass +2 -0
  500. package/src/components/form/QFormChildMixin.js +40 -0
  501. package/src/components/form/QFormChildMixin.json +22 -0
  502. package/src/components/form/index.js +7 -0
  503. package/src/components/header/QHeader.js +179 -0
  504. package/src/components/header/QHeader.json +70 -0
  505. package/src/components/header/index.js +5 -0
  506. package/src/components/icon/QIcon.js +202 -0
  507. package/src/components/icon/QIcon.json +45 -0
  508. package/src/components/icon/QIcon.sass +38 -0
  509. package/src/components/icon/index.js +5 -0
  510. package/src/components/img/QImg.js +287 -0
  511. package/src/components/img/QImg.json +225 -0
  512. package/src/components/img/QImg.sass +40 -0
  513. package/src/components/img/index.js +5 -0
  514. package/src/components/infinite-scroll/QInfiniteScroll.js +215 -0
  515. package/src/components/infinite-scroll/QInfiniteScroll.json +109 -0
  516. package/src/components/infinite-scroll/index.js +5 -0
  517. package/src/components/inner-loading/QInnerLoading.js +57 -0
  518. package/src/components/inner-loading/QInnerLoading.json +35 -0
  519. package/src/components/inner-loading/QInnerLoading.sass +4 -0
  520. package/src/components/inner-loading/index.js +5 -0
  521. package/src/components/input/QInput.js +394 -0
  522. package/src/components/input/QInput.json +131 -0
  523. package/src/components/input/QInput.sass +58 -0
  524. package/src/components/input/index.js +5 -0
  525. package/src/components/input/use-mask.js +543 -0
  526. package/src/components/input/use-mask.json +31 -0
  527. package/src/components/intersection/QIntersection.js +97 -0
  528. package/src/components/intersection/QIntersection.json +78 -0
  529. package/src/components/intersection/QIntersection.sass +2 -0
  530. package/src/components/intersection/index.js +5 -0
  531. package/src/components/item/QItem.js +156 -0
  532. package/src/components/item/QItem.json +65 -0
  533. package/src/components/item/QItem.sass +119 -0
  534. package/src/components/item/QItemLabel.js +42 -0
  535. package/src/components/item/QItemLabel.json +38 -0
  536. package/src/components/item/QItemSection.js +28 -0
  537. package/src/components/item/QItemSection.json +43 -0
  538. package/src/components/item/QList.js +34 -0
  539. package/src/components/item/QList.json +37 -0
  540. package/src/components/item/index.js +13 -0
  541. package/src/components/knob/QKnob.js +278 -0
  542. package/src/components/knob/QKnob.json +140 -0
  543. package/src/components/knob/QKnob.sass +21 -0
  544. package/src/components/knob/index.js +5 -0
  545. package/src/components/layout/QLayout.js +208 -0
  546. package/src/components/layout/QLayout.json +102 -0
  547. package/src/components/layout/QLayout.sass +181 -0
  548. package/src/components/layout/index.js +5 -0
  549. package/src/components/linear-progress/QLinearProgress.js +115 -0
  550. package/src/components/linear-progress/QLinearProgress.json +77 -0
  551. package/src/components/linear-progress/QLinearProgress.sass +71 -0
  552. package/src/components/linear-progress/index.js +5 -0
  553. package/src/components/markup-table/QMarkupTable.js +49 -0
  554. package/src/components/markup-table/QMarkupTable.json +48 -0
  555. package/src/components/markup-table/index.js +5 -0
  556. package/src/components/menu/QMenu.js +369 -0
  557. package/src/components/menu/QMenu.json +142 -0
  558. package/src/components/menu/QMenu.sass +16 -0
  559. package/src/components/menu/index.js +5 -0
  560. package/src/components/no-ssr/QNoSsr.js +46 -0
  561. package/src/components/no-ssr/QNoSsr.json +30 -0
  562. package/src/components/no-ssr/index.js +5 -0
  563. package/src/components/option-group/QOptionGroup.js +114 -0
  564. package/src/components/option-group/QOptionGroup.json +80 -0
  565. package/src/components/option-group/QOptionGroup.sass +5 -0
  566. package/src/components/option-group/index.js +5 -0
  567. package/src/components/page/QPage.js +55 -0
  568. package/src/components/page/QPage.json +44 -0
  569. package/src/components/page/QPageContainer.js +42 -0
  570. package/src/components/page/QPageContainer.json +11 -0
  571. package/src/components/page/index.js +7 -0
  572. package/src/components/page-scroller/QPageScroller.js +116 -0
  573. package/src/components/page-scroller/QPageScroller.json +36 -0
  574. package/src/components/page-scroller/index.js +5 -0
  575. package/src/components/page-sticky/QPageSticky.js +14 -0
  576. package/src/components/page-sticky/QPageSticky.json +39 -0
  577. package/src/components/page-sticky/index.js +5 -0
  578. package/src/components/page-sticky/use-page-sticky.js +117 -0
  579. package/src/components/pagination/QPagination.js +374 -0
  580. package/src/components/pagination/QPagination.json +254 -0
  581. package/src/components/pagination/QPagination.sass +9 -0
  582. package/src/components/pagination/index.js +5 -0
  583. package/src/components/parallax/QParallax.js +166 -0
  584. package/src/components/parallax/QParallax.json +73 -0
  585. package/src/components/parallax/QParallax.sass +15 -0
  586. package/src/components/parallax/index.js +5 -0
  587. package/src/components/popup-edit/QPopupEdit.js +193 -0
  588. package/src/components/popup-edit/QPopupEdit.json +283 -0
  589. package/src/components/popup-edit/QPopupEdit.sass +8 -0
  590. package/src/components/popup-edit/index.js +5 -0
  591. package/src/components/popup-proxy/QPopupProxy.js +104 -0
  592. package/src/components/popup-proxy/QPopupProxy.json +65 -0
  593. package/src/components/popup-proxy/index.js +5 -0
  594. package/src/components/pull-to-refresh/QPullToRefresh.js +213 -0
  595. package/src/components/pull-to-refresh/QPullToRefresh.json +66 -0
  596. package/src/components/pull-to-refresh/QPullToRefresh.sass +13 -0
  597. package/src/components/pull-to-refresh/index.js +5 -0
  598. package/src/components/radio/QRadio.js +179 -0
  599. package/src/components/radio/QRadio.json +94 -0
  600. package/src/components/radio/QRadio.sass +95 -0
  601. package/src/components/radio/index.js +5 -0
  602. package/src/components/range/QRange.js +529 -0
  603. package/src/components/range/QRange.json +208 -0
  604. package/src/components/range/index.js +5 -0
  605. package/src/components/rating/QRating.js +216 -0
  606. package/src/components/rating/QRating.json +110 -0
  607. package/src/components/rating/QRating.sass +29 -0
  608. package/src/components/rating/index.js +5 -0
  609. package/src/components/resize-observer/QResizeObserver.js +139 -0
  610. package/src/components/resize-observer/QResizeObserver.json +51 -0
  611. package/src/components/resize-observer/index.js +5 -0
  612. package/src/components/responsive/QResponsive.js +29 -0
  613. package/src/components/responsive/QResponsive.json +13 -0
  614. package/src/components/responsive/QResponsive.sass +19 -0
  615. package/src/components/responsive/index.js +5 -0
  616. package/src/components/scroll-area/QScrollArea.js +446 -0
  617. package/src/components/scroll-area/QScrollArea.json +300 -0
  618. package/src/components/scroll-area/QScrollArea.sass +37 -0
  619. package/src/components/scroll-area/index.js +5 -0
  620. package/src/components/scroll-observer/QScrollObserver.js +135 -0
  621. package/src/components/scroll-observer/QScrollObserver.json +115 -0
  622. package/src/components/scroll-observer/index.js +5 -0
  623. package/src/components/select/QSelect.js +1556 -0
  624. package/src/components/select/QSelect.json +789 -0
  625. package/src/components/select/QSelect.sass +64 -0
  626. package/src/components/select/index.js +5 -0
  627. package/src/components/separator/QSeparator.js +85 -0
  628. package/src/components/separator/QSeparator.json +42 -0
  629. package/src/components/separator/QSeparator.sass +32 -0
  630. package/src/components/separator/index.js +5 -0
  631. package/src/components/skeleton/QSkeleton.js +72 -0
  632. package/src/components/skeleton/QSkeleton.json +76 -0
  633. package/src/components/skeleton/QSkeleton.sass +140 -0
  634. package/src/components/skeleton/index.js +5 -0
  635. package/src/components/slide-item/QSlideItem.js +232 -0
  636. package/src/components/slide-item/QSlideItem.json +186 -0
  637. package/src/components/slide-item/QSlideItem.sass +41 -0
  638. package/src/components/slide-item/index.js +5 -0
  639. package/src/components/slide-transition/QSlideTransition.js +113 -0
  640. package/src/components/slide-transition/QSlideTransition.json +37 -0
  641. package/src/components/slide-transition/index.js +5 -0
  642. package/src/components/slider/QSlider.js +239 -0
  643. package/src/components/slider/QSlider.json +147 -0
  644. package/src/components/slider/QSlider.sass +225 -0
  645. package/src/components/slider/index.js +5 -0
  646. package/src/components/slider/use-slider.js +304 -0
  647. package/src/components/space/QSpace.js +11 -0
  648. package/src/components/space/QSpace.json +5 -0
  649. package/src/components/space/QSpace.sass +2 -0
  650. package/src/components/space/index.js +5 -0
  651. package/src/components/spinner/QSpinner.js +38 -0
  652. package/src/components/spinner/QSpinner.json +21 -0
  653. package/src/components/spinner/QSpinner.sass +34 -0
  654. package/src/components/spinner/QSpinnerAudio.js +88 -0
  655. package/src/components/spinner/QSpinnerAudio.json +3 -0
  656. package/src/components/spinner/QSpinnerBall.js +104 -0
  657. package/src/components/spinner/QSpinnerBall.json +3 -0
  658. package/src/components/spinner/QSpinnerBars.js +143 -0
  659. package/src/components/spinner/QSpinnerBars.json +3 -0
  660. package/src/components/spinner/QSpinnerBox.js +61 -0
  661. package/src/components/spinner/QSpinnerBox.json +3 -0
  662. package/src/components/spinner/QSpinnerClock.js +72 -0
  663. package/src/components/spinner/QSpinnerClock.json +3 -0
  664. package/src/components/spinner/QSpinnerComment.js +84 -0
  665. package/src/components/spinner/QSpinnerComment.json +3 -0
  666. package/src/components/spinner/QSpinnerCube.js +132 -0
  667. package/src/components/spinner/QSpinnerCube.json +3 -0
  668. package/src/components/spinner/QSpinnerDots.js +104 -0
  669. package/src/components/spinner/QSpinnerDots.json +3 -0
  670. package/src/components/spinner/QSpinnerFacebook.js +103 -0
  671. package/src/components/spinner/QSpinnerFacebook.json +3 -0
  672. package/src/components/spinner/QSpinnerGears.js +59 -0
  673. package/src/components/spinner/QSpinnerGears.json +3 -0
  674. package/src/components/spinner/QSpinnerGrid.js +152 -0
  675. package/src/components/spinner/QSpinnerGrid.json +3 -0
  676. package/src/components/spinner/QSpinnerHearts.js +54 -0
  677. package/src/components/spinner/QSpinnerHearts.json +3 -0
  678. package/src/components/spinner/QSpinnerHourglass.js +112 -0
  679. package/src/components/spinner/QSpinnerHourglass.json +3 -0
  680. package/src/components/spinner/QSpinnerInfinity.js +42 -0
  681. package/src/components/spinner/QSpinnerInfinity.json +3 -0
  682. package/src/components/spinner/QSpinnerIos.js +174 -0
  683. package/src/components/spinner/QSpinnerIos.json +3 -0
  684. package/src/components/spinner/QSpinnerOrbit.js +51 -0
  685. package/src/components/spinner/QSpinnerOrbit.json +3 -0
  686. package/src/components/spinner/QSpinnerOval.js +50 -0
  687. package/src/components/spinner/QSpinnerOval.json +3 -0
  688. package/src/components/spinner/QSpinnerPie.js +81 -0
  689. package/src/components/spinner/QSpinnerPie.json +3 -0
  690. package/src/components/spinner/QSpinnerPuff.js +83 -0
  691. package/src/components/spinner/QSpinnerPuff.json +3 -0
  692. package/src/components/spinner/QSpinnerRadio.js +76 -0
  693. package/src/components/spinner/QSpinnerRadio.json +3 -0
  694. package/src/components/spinner/QSpinnerRings.js +106 -0
  695. package/src/components/spinner/QSpinnerRings.json +3 -0
  696. package/src/components/spinner/QSpinnerTail.js +83 -0
  697. package/src/components/spinner/QSpinnerTail.json +3 -0
  698. package/src/components/spinner/__spinner-mixin.json +13 -0
  699. package/src/components/spinner/index.js +51 -0
  700. package/src/components/spinner/use-spinner.js +24 -0
  701. package/src/components/splitter/QSplitter.js +205 -0
  702. package/src/components/splitter/QSplitter.json +129 -0
  703. package/src/components/splitter/QSplitter.sass +54 -0
  704. package/src/components/splitter/index.js +5 -0
  705. package/src/components/stepper/QStep.js +132 -0
  706. package/src/components/stepper/QStep.json +101 -0
  707. package/src/components/stepper/QStepper.js +133 -0
  708. package/src/components/stepper/QStepper.json +108 -0
  709. package/src/components/stepper/QStepper.sass +210 -0
  710. package/src/components/stepper/QStepperNavigation.js +11 -0
  711. package/src/components/stepper/QStepperNavigation.json +11 -0
  712. package/src/components/stepper/StepHeader.js +165 -0
  713. package/src/components/stepper/index.js +9 -0
  714. package/src/components/tab-panels/QTabPanel.js +14 -0
  715. package/src/components/tab-panels/QTabPanel.json +19 -0
  716. package/src/components/tab-panels/QTabPanel.sass +5 -0
  717. package/src/components/tab-panels/QTabPanels.js +42 -0
  718. package/src/components/tab-panels/QTabPanels.json +13 -0
  719. package/src/components/tab-panels/index.js +7 -0
  720. package/src/components/table/QTable.js +1068 -0
  721. package/src/components/table/QTable.json +2318 -0
  722. package/src/components/table/QTable.sass +283 -0
  723. package/src/components/table/QTd.js +43 -0
  724. package/src/components/table/QTd.json +32 -0
  725. package/src/components/table/QTh.js +69 -0
  726. package/src/components/table/QTh.json +26 -0
  727. package/src/components/table/QTr.js +22 -0
  728. package/src/components/table/QTr.json +26 -0
  729. package/src/components/table/get-table-middle.js +7 -0
  730. package/src/components/table/index.js +11 -0
  731. package/src/components/table/table-column-selection.js +88 -0
  732. package/src/components/table/table-filter.js +35 -0
  733. package/src/components/table/table-pagination.js +213 -0
  734. package/src/components/table/table-row-expand.js +56 -0
  735. package/src/components/table/table-row-selection.js +87 -0
  736. package/src/components/table/table-sort.js +124 -0
  737. package/src/components/tabs/QRouteTab.js +36 -0
  738. package/src/components/tabs/QRouteTab.json +55 -0
  739. package/src/components/tabs/QTab.js +16 -0
  740. package/src/components/tabs/QTab.json +78 -0
  741. package/src/components/tabs/QTabs.js +465 -0
  742. package/src/components/tabs/QTabs.json +141 -0
  743. package/src/components/tabs/QTabs.sass +189 -0
  744. package/src/components/tabs/index.js +9 -0
  745. package/src/components/tabs/use-tab.js +199 -0
  746. package/src/components/time/QTime.js +918 -0
  747. package/src/components/time/QTime.json +174 -0
  748. package/src/components/time/QTime.sass +186 -0
  749. package/src/components/time/index.js +5 -0
  750. package/src/components/timeline/QTimeline.js +43 -0
  751. package/src/components/timeline/QTimeline.json +37 -0
  752. package/src/components/timeline/QTimeline.sass +243 -0
  753. package/src/components/timeline/QTimelineEntry.js +110 -0
  754. package/src/components/timeline/QTimelineEntry.json +84 -0
  755. package/src/components/timeline/index.js +7 -0
  756. package/src/components/toggle/QToggle.js +56 -0
  757. package/src/components/toggle/QToggle.json +39 -0
  758. package/src/components/toggle/QToggle.sass +132 -0
  759. package/src/components/toggle/index.js +5 -0
  760. package/src/components/toolbar/QToolbar.js +20 -0
  761. package/src/components/toolbar/QToolbar.json +19 -0
  762. package/src/components/toolbar/QToolbar.sass +25 -0
  763. package/src/components/toolbar/QToolbarTitle.js +20 -0
  764. package/src/components/toolbar/QToolbarTitle.json +19 -0
  765. package/src/components/toolbar/index.js +7 -0
  766. package/src/components/tooltip/QTooltip.js +309 -0
  767. package/src/components/tooltip/QTooltip.json +113 -0
  768. package/src/components/tooltip/QTooltip.sass +18 -0
  769. package/src/components/tooltip/index.js +5 -0
  770. package/src/components/tree/QTree.js +694 -0
  771. package/src/components/tree/QTree.json +524 -0
  772. package/src/components/tree/QTree.sass +132 -0
  773. package/src/components/tree/index.js +5 -0
  774. package/src/components/uploader/QUploader.js +4 -0
  775. package/src/components/uploader/QUploader.json +144 -0
  776. package/src/components/uploader/QUploader.sass +134 -0
  777. package/src/components/uploader/QUploaderAddTrigger.js +13 -0
  778. package/src/components/uploader/QUploaderAddTrigger.json +5 -0
  779. package/src/components/uploader/index.js +7 -0
  780. package/src/components/uploader/uploader-core.js +481 -0
  781. package/src/components/uploader/xhr-uploader-plugin.js +258 -0
  782. package/src/components/uploader/xhr-uploader-plugin.json +203 -0
  783. package/src/components/video/QVideo.js +36 -0
  784. package/src/components/video/QVideo.json +19 -0
  785. package/src/components/video/QVideo.sass +24 -0
  786. package/src/components/video/index.js +5 -0
  787. package/src/components/virtual-scroll/QVirtualScroll.js +161 -0
  788. package/src/components/virtual-scroll/QVirtualScroll.json +95 -0
  789. package/src/components/virtual-scroll/QVirtualScroll.sass +40 -0
  790. package/src/components/virtual-scroll/index.js +5 -0
  791. package/src/components/virtual-scroll/use-virtual-scroll.js +727 -0
  792. package/src/components/virtual-scroll/use-virtual-scroll.json +141 -0
  793. package/src/components.js +79 -0
  794. package/src/composables/private/use-align.js +31 -0
  795. package/src/composables/private/use-anchor.js +208 -0
  796. package/src/composables/private/use-anchor.json +29 -0
  797. package/src/composables/private/use-cache.js +21 -0
  798. package/src/composables/private/use-can-render.js +16 -0
  799. package/src/composables/private/use-dark.js +17 -0
  800. package/src/composables/private/use-field.js +589 -0
  801. package/src/composables/private/use-field.json +246 -0
  802. package/src/composables/private/use-file-dom-props.js +44 -0
  803. package/src/composables/private/use-file.js +201 -0
  804. package/src/composables/private/use-file.json +106 -0
  805. package/src/composables/private/use-form.js +29 -0
  806. package/src/composables/private/use-form.json +10 -0
  807. package/src/composables/private/use-fullscreen.js +101 -0
  808. package/src/composables/private/use-fullscreen.json +32 -0
  809. package/src/composables/private/use-history.js +31 -0
  810. package/src/composables/private/use-key-composition.js +26 -0
  811. package/src/composables/private/use-model-toggle.js +151 -0
  812. package/src/composables/private/use-model-toggle.json +51 -0
  813. package/src/composables/private/use-panel.child.json +17 -0
  814. package/src/composables/private/use-panel.js +277 -0
  815. package/src/composables/private/use-panel.json +142 -0
  816. package/src/composables/private/use-panel.sass +11 -0
  817. package/src/composables/private/use-portal.js +100 -0
  818. package/src/composables/private/use-portal.json +3 -0
  819. package/src/composables/private/use-prevent-scroll.js +17 -0
  820. package/src/composables/private/use-ratio.js +18 -0
  821. package/src/composables/private/use-ratio.json +14 -0
  822. package/src/composables/private/use-refocus-target.js +33 -0
  823. package/src/composables/private/use-router-link.js +213 -0
  824. package/src/composables/private/use-router-link.json +43 -0
  825. package/src/composables/private/use-scroll-target.js +46 -0
  826. package/src/composables/private/use-size.js +22 -0
  827. package/src/composables/private/use-size.json +10 -0
  828. package/src/composables/private/use-split-attrs.js +33 -0
  829. package/src/composables/private/use-tick.js +39 -0
  830. package/src/composables/private/use-timeout.js +20 -0
  831. package/src/composables/private/use-transition.js +35 -0
  832. package/src/composables/private/use-transition.json +21 -0
  833. package/src/composables/private/use-validate.js +215 -0
  834. package/src/composables/private/use-validate.json +77 -0
  835. package/src/composables/use-dialog-plugin-component.js +39 -0
  836. package/src/composables/use-form-child.js +35 -0
  837. package/src/composables/use-meta.js +49 -0
  838. package/src/composables/use-quasar.js +10 -0
  839. package/src/composables.js +11 -0
  840. package/src/css/core/animations.sass +90 -0
  841. package/src/css/core/colors.sass +1788 -0
  842. package/src/css/core/dark.sass +7 -0
  843. package/src/css/core/elevation.sass +27 -0
  844. package/src/css/core/flex.sass +158 -0
  845. package/src/css/core/helpers.sass +61 -0
  846. package/src/css/core/mouse.sass +40 -0
  847. package/src/css/core/orientation.sass +18 -0
  848. package/src/css/core/positioning.sass +101 -0
  849. package/src/css/core/size.sass +75 -0
  850. package/src/css/core/touch.sass +9 -0
  851. package/src/css/core/transitions.sass +153 -0
  852. package/src/css/core/typography.sass +70 -0
  853. package/src/css/core/visibility.sass +163 -0
  854. package/src/css/flex-addon.sass +212 -0
  855. package/src/css/helpers/math.sass +42 -0
  856. package/src/css/helpers/string.sass +17 -0
  857. package/src/css/index.sass +102 -0
  858. package/src/css/normalize.sass +177 -0
  859. package/src/css/variables.sass +550 -0
  860. package/src/directives/ClosePopup.js +66 -0
  861. package/src/directives/ClosePopup.json +17 -0
  862. package/src/directives/Intersection.js +90 -0
  863. package/src/directives/Intersection.json +231 -0
  864. package/src/directives/Morph.js +211 -0
  865. package/src/directives/Morph.json +177 -0
  866. package/src/directives/Morph.sass +7 -0
  867. package/src/directives/Morph.ssr.js +45 -0
  868. package/src/directives/Mutation.js +63 -0
  869. package/src/directives/Mutation.json +124 -0
  870. package/src/directives/Ripple.js +141 -0
  871. package/src/directives/Ripple.json +105 -0
  872. package/src/directives/Ripple.sass +29 -0
  873. package/src/directives/Scroll.js +49 -0
  874. package/src/directives/Scroll.json +24 -0
  875. package/src/directives/ScrollFire.js +65 -0
  876. package/src/directives/ScrollFire.json +19 -0
  877. package/src/directives/TouchHold.js +159 -0
  878. package/src/directives/TouchHold.json +82 -0
  879. package/src/directives/TouchPan.js +410 -0
  880. package/src/directives/TouchPan.json +187 -0
  881. package/src/directives/TouchRepeat.js +241 -0
  882. package/src/directives/TouchRepeat.json +153 -0
  883. package/src/directives/TouchSwipe.js +265 -0
  884. package/src/directives/TouchSwipe.json +113 -0
  885. package/src/directives.js +25 -0
  886. package/src/history.js +118 -0
  887. package/src/icon-set.js +60 -0
  888. package/src/index.all.js +25 -0
  889. package/src/index.umd.js +28 -0
  890. package/src/install-quasar.js +137 -0
  891. package/src/lang.js +100 -0
  892. package/src/plugins/AddressbarColor.js +69 -0
  893. package/src/plugins/AddressbarColor.json +21 -0
  894. package/src/plugins/AppFullscreen.js +110 -0
  895. package/src/plugins/AppFullscreen.json +74 -0
  896. package/src/plugins/AppVisibility.js +40 -0
  897. package/src/plugins/AppVisibility.json +16 -0
  898. package/src/plugins/BottomSheet.js +13 -0
  899. package/src/plugins/BottomSheet.json +91 -0
  900. package/src/plugins/Cookies.js +204 -0
  901. package/src/plugins/Cookies.json +160 -0
  902. package/src/plugins/Dark.js +98 -0
  903. package/src/plugins/Dark.json +40 -0
  904. package/src/plugins/Dialog.js +13 -0
  905. package/src/plugins/Dialog.json +322 -0
  906. package/src/plugins/Loading.js +151 -0
  907. package/src/plugins/Loading.json +182 -0
  908. package/src/plugins/Loading.sass +26 -0
  909. package/src/plugins/LoadingBar.js +67 -0
  910. package/src/plugins/LoadingBar.json +58 -0
  911. package/src/plugins/LocalStorage.js +16 -0
  912. package/src/plugins/LocalStorage.json +5 -0
  913. package/src/plugins/Meta.js +257 -0
  914. package/src/plugins/Meta.json +5 -0
  915. package/src/plugins/Notify.js +513 -0
  916. package/src/plugins/Notify.json +838 -0
  917. package/src/plugins/Notify.sass +203 -0
  918. package/src/plugins/Platform.js +366 -0
  919. package/src/plugins/Platform.json +73 -0
  920. package/src/plugins/Screen.js +176 -0
  921. package/src/plugins/Screen.json +192 -0
  922. package/src/plugins/SessionStorage.js +16 -0
  923. package/src/plugins/SessionStorage.json +5 -0
  924. package/src/plugins.js +33 -0
  925. package/src/utils/clone.js +6 -0
  926. package/src/utils/colors.js +295 -0
  927. package/src/utils/copy-to-clipboard.js +29 -0
  928. package/src/utils/create-meta-mixin.js +67 -0
  929. package/src/utils/create-uploader-component.js +21 -0
  930. package/src/utils/date.js +888 -0
  931. package/src/utils/debounce.js +26 -0
  932. package/src/utils/dom.js +98 -0
  933. package/src/utils/event.js +170 -0
  934. package/src/utils/export-file.js +65 -0
  935. package/src/utils/extend.js +83 -0
  936. package/src/utils/format.js +56 -0
  937. package/src/utils/frame-debounce.js +22 -0
  938. package/src/utils/get-css-var.js +11 -0
  939. package/src/utils/morph.js +987 -0
  940. package/src/utils/open-url.js +62 -0
  941. package/src/utils/patterns.js +31 -0
  942. package/src/utils/prevent-scroll.js +195 -0
  943. package/src/utils/private/click-outside.js +81 -0
  944. package/src/utils/private/date-persian.js +281 -0
  945. package/src/utils/private/define-reactive-plugin.js +21 -0
  946. package/src/utils/private/escape-key.js +53 -0
  947. package/src/utils/private/focus-manager.js +36 -0
  948. package/src/utils/private/focusout.js +28 -0
  949. package/src/utils/private/global-config.js +7 -0
  950. package/src/utils/private/global-dialog.js +161 -0
  951. package/src/utils/private/global-dialog.json +123 -0
  952. package/src/utils/private/global-nodes.js +43 -0
  953. package/src/utils/private/is.js +150 -0
  954. package/src/utils/private/key-composition.js +18 -0
  955. package/src/utils/private/noop-ssr-directive-transform.js +1 -0
  956. package/src/utils/private/option-sizes.js +7 -0
  957. package/src/utils/private/portal.js +56 -0
  958. package/src/utils/private/position-engine.js +244 -0
  959. package/src/utils/private/render.js +63 -0
  960. package/src/utils/private/selection.js +17 -0
  961. package/src/utils/private/sort.js +20 -0
  962. package/src/utils/private/symbols.js +9 -0
  963. package/src/utils/private/touch.js +55 -0
  964. package/src/utils/private/vm.js +38 -0
  965. package/src/utils/private/web-storage.js +135 -0
  966. package/src/utils/private/web-storage.json +150 -0
  967. package/src/utils/scroll.js +198 -0
  968. package/src/utils/set-css-var.js +13 -0
  969. package/src/utils/throttle.js +13 -0
  970. package/src/utils/uid.js +72 -0
  971. package/src/utils.js +46 -0
  972. package/src/vue-plugin.js +10 -0
  973. package/wrappers/index.js +31 -0
@@ -0,0 +1,2318 @@
1
+ {
2
+ "mixins": [ "composables/private/use-fullscreen" ],
3
+
4
+ "meta": {
5
+ "docsUrl": "https://v2.quasar.dev/vue-components/table"
6
+ },
7
+
8
+ "props": {
9
+ "rows": {
10
+ "type": "Array",
11
+ "desc": "Rows of data to display",
12
+ "examples": [ ":rows=\"myData\"" ],
13
+ "category": "general"
14
+ },
15
+
16
+ "row-key": {
17
+ "type": [ "String", "Function" ],
18
+ "desc": "Property of each row that defines the unique key of each row (the result must be a primitive, not Object, Array, etc); The value of property must be string or a function taking a row and returning the desired (nested) key in the row; If supplying a function then for best performance, reference it from your scope and do not define it inline",
19
+ "default": "id",
20
+ "examples": [ "row-key=\"name\"", ":row-key=\"row => row.name\"" ],
21
+ "category": "general"
22
+ },
23
+
24
+ "virtual-scroll": {
25
+ "type": "Boolean",
26
+ "desc": "Display data using QVirtualScroll (for non-grid mode only)",
27
+ "category": "virtual-scroll"
28
+ },
29
+
30
+ "virtual-scroll-slice-size": {
31
+ "type": [ "Number", "String" ],
32
+ "desc": "Minimum number of rows to render in the virtual list",
33
+ "default": "30",
34
+ "examples": [ "virtual-scroll-slice-size=\"60\"" ],
35
+ "category": "virtual-scroll",
36
+ "addedIn": "v1.2.0"
37
+ },
38
+
39
+ "virtual-scroll-slice-ratio-before": {
40
+ "type": [ "Number", "String" ],
41
+ "desc": "Ratio of number of rows in visible zone to render before it",
42
+ "default": "1",
43
+ "examples": [ "virtual-scroll-slice-ratio-before=\"0.3\"" ],
44
+ "category": "virtual-scroll",
45
+ "addedIn": "v1.14.7"
46
+ },
47
+
48
+ "virtual-scroll-slice-ratio-after": {
49
+ "type": [ "Number", "String" ],
50
+ "desc": "Ratio of number of rows in visible zone to render after it",
51
+ "default": "1",
52
+ "examples": [ "virtual-scroll-slice-ratio-after=\"2\"" ],
53
+ "category": "virtual-scroll",
54
+ "addedIn": "v1.14.7"
55
+ },
56
+
57
+ "virtual-scroll-item-size": {
58
+ "type": [ "Number", "String" ],
59
+ "desc": "Default size in pixels of a row; This value is used for rendering the initial table; Try to use a value close to the minimum size of a row",
60
+ "default": "48 (24 if dense)",
61
+ "examples": [ "virtual-scroll-item-size=\"48\"" ],
62
+ "category": "virtual-scroll"
63
+ },
64
+
65
+ "virtual-scroll-sticky-size-start": {
66
+ "type": [ "Number", "String" ],
67
+ "desc": "Size in pixels of the sticky header (if using one); A correct value will improve scroll precision",
68
+ "default": "0",
69
+ "examples": [ "virtual-scroll-sticky-size-start=\"48\"" ],
70
+ "category": "virtual-scroll"
71
+ },
72
+
73
+ "virtual-scroll-sticky-size-end": {
74
+ "type": [ "Number", "String" ],
75
+ "desc": "Size in pixels of the sticky footer part (if using one); A correct value will improve scroll precision",
76
+ "default": "0",
77
+ "examples": [ "virtual-scroll-sticky-size-end=\"48\"" ],
78
+ "category": "virtual-scroll"
79
+ },
80
+
81
+ "table-colspan": {
82
+ "type": [ "Number", "String" ],
83
+ "desc": "The number of columns in the table (you need this if you use table-layout: fixed)",
84
+ "examples": [ "table-colspan=\"12\"" ],
85
+ "category": "virtual-scroll|content"
86
+ },
87
+
88
+ "color": {
89
+ "extends": "color",
90
+ "default": "grey-8"
91
+ },
92
+
93
+ "icon-first-page": {
94
+ "extends": "icon",
95
+ "desc": "Icon name following Quasar convention for stepping to first page; Make sure you have the icon library installed unless you are using 'img:' prefix"
96
+ },
97
+
98
+ "icon-prev-page": {
99
+ "extends": "icon",
100
+ "desc": "Icon name following Quasar convention for stepping to previous page; Make sure you have the icon library installed unless you are using 'img:' prefix"
101
+ },
102
+
103
+ "icon-next-page": {
104
+ "extends": "icon",
105
+ "desc": "Icon name following Quasar convention for stepping to next page; Make sure you have the icon library installed unless you are using 'img:' prefix"
106
+ },
107
+
108
+ "icon-last-page": {
109
+ "extends": "icon",
110
+ "desc": "Icon name following Quasar convention for stepping to last page; Make sure you have the icon library installed unless you are using 'img:' prefix"
111
+ },
112
+
113
+ "grid": {
114
+ "type": "Boolean",
115
+ "desc": "Display data as a grid instead of the default table",
116
+ "category": "behavior"
117
+ },
118
+
119
+ "grid-header": {
120
+ "type": "Boolean",
121
+ "desc": "Display header for grid-mode also",
122
+ "category": "behavior|content"
123
+ },
124
+
125
+ "dense": {
126
+ "extends": "dense",
127
+ "desc": "Dense mode; Connect with $q.screen for responsive behavior"
128
+ },
129
+
130
+ "columns": {
131
+ "type": "Array",
132
+ "desc": "The column definitions (Array of Objects)",
133
+ "examples": [ ":columns=\"tableColumns\"" ],
134
+ "category": "column",
135
+ "definition": {
136
+ "name": {
137
+ "type": "String",
138
+ "desc": "Unique id, identifies column, (used by pagination.sortBy, 'body-cell-[name]' slot, ...)",
139
+ "required": true,
140
+ "examples": [ "desc" ]
141
+ },
142
+ "label": {
143
+ "type": "String",
144
+ "desc": "Label for header",
145
+ "required": true,
146
+ "examples": [ "Dessert (100g serving)" ]
147
+ },
148
+ "field": {
149
+ "type": [ "String", "Function" ],
150
+ "desc": "Row Object property to determine value for this column or function which maps to the required property",
151
+ "required": true,
152
+ "examples": [ "name", "row => row.some.nested.prop" ]
153
+ },
154
+ "required": {
155
+ "type": "Boolean",
156
+ "desc": "If we use visible-columns, this col will always be visible",
157
+ "default": false
158
+ },
159
+ "align": {
160
+ "type": "String",
161
+ "desc": "Horizontal alignment of cells in this column",
162
+ "default": "right",
163
+ "examples": [ "left", "right", "center" ]
164
+ },
165
+ "sortable": {
166
+ "type": "Boolean",
167
+ "desc": "Tell QTable you want this column sortable",
168
+ "default": false
169
+ },
170
+ "sort": {
171
+ "type": "Function",
172
+ "desc": "Compare function if you have some custom data or want a specific way to compare two rows",
173
+ "examples": ["(a, b, rowA, rowB) => parseInt(a, 10) - parseInt(b, 10)"],
174
+ "params": {
175
+ "a": {
176
+ "type": "Any",
177
+ "desc": "Value of the first comparison term",
178
+ "examples": [ 123, "abc" ]
179
+ },
180
+ "b": {
181
+ "type": "Any",
182
+ "desc": "Value of the second comparison term",
183
+ "examples": [ 123, "abc" ]
184
+ },
185
+ "rowA": {
186
+ "type": "Object",
187
+ "desc": "Full Row object in which is contained the first term",
188
+ "examples": [ "{ name: 'Potassium', value: 'K' }" ]
189
+ },
190
+ "rowB": {
191
+ "type": "Object",
192
+ "desc": "Full Row object in which is contained the second term",
193
+ "examples": [ "{ name: 'Fluorine', value: 'F' }" ]
194
+ }
195
+ },
196
+ "returns": {
197
+ "type": "Number",
198
+ "desc": "Comparison result of term 'a' with term 'b'. Less than 0 when 'a' should come first; greater than 0 if 'b' should come first; equal to 0 if their position must not be changed with respect to each other",
199
+ "examples": [ "-1", "0", "1" ]
200
+ }
201
+ },
202
+ "sortOrder": {
203
+ "type": "String",
204
+ "desc": "Set column sort order: 'ad' (ascending-descending) or 'da' (descending-ascending); Overrides the 'column-sort-order' prop",
205
+ "values": [ "ad", "da" ],
206
+ "default": "ad"
207
+ },
208
+ "format": {
209
+ "type": "Function",
210
+ "desc": "Function you can apply to format your data",
211
+ "examples": [ "(val, row) => `${val}%`", "val => val ? /* Unicode checkmark checked */ '\u2611' : /* Unicode checkmark unchecked */ '\u2610'" ],
212
+ "params": {
213
+ "val": {
214
+ "type": "Any",
215
+ "desc": "Value of the cell",
216
+ "examples": [ 123, "abc" ]
217
+ },
218
+ "row": {
219
+ "type": "Object",
220
+ "desc": "Full Row object in which the cell is contained",
221
+ "examples": [ "{ name: 'Potassium', value: 'K' }" ]
222
+ }
223
+ },
224
+ "returns": {
225
+ "type": "Any",
226
+ "desc": "The resulting formatted value",
227
+ "examples": [ "20%" ]
228
+ }
229
+ },
230
+ "style": {
231
+ "type": [ "String", "Function" ],
232
+ "desc": "Style to apply on normal cells of the column",
233
+ "examples": [
234
+ "width: 500px",
235
+ "row => (row.calories % 2 === 0 ? 'width:10px' : 'font-size:2em')"
236
+ ]
237
+ },
238
+ "classes": {
239
+ "type": [ "String", "Function" ],
240
+ "desc": "Classes to add on normal cells of the column",
241
+ "examples": [
242
+ "my-special-class",
243
+ "row => (row.calories % 2 === 0 ? 'bg-green' : 'bg-yellow')"
244
+ ]
245
+ },
246
+ "headerStyle": {
247
+ "type": "String",
248
+ "desc": "Style to apply on header cells of the column",
249
+ "examples": [ "width: 500px" ]
250
+ },
251
+ "headerClasses": {
252
+ "type": "String",
253
+ "desc": "Classes to add on header cells of the column",
254
+ "examples": [ "my-special-class" ]
255
+ }
256
+ }
257
+ },
258
+
259
+ "visible-columns": {
260
+ "type": "Array",
261
+ "desc": "Array of Strings defining column names ('name' property of each column from 'columns' prop definitions); Columns marked as 'required' are not affected by this property",
262
+ "examples": [
263
+ ":visible-columns=\"myCols\"",
264
+ "[ 'desc', 'carbs', 'protein' ]"
265
+ ],
266
+ "category": "column"
267
+ },
268
+
269
+ "loading": {
270
+ "type": "Boolean",
271
+ "desc": "Put Table into 'loading' state; Notify the user something is happening under the covers",
272
+ "category": "behavior|content"
273
+ },
274
+
275
+ "title": {
276
+ "type": "String",
277
+ "desc": "Table title",
278
+ "examples": [ "Device list" ],
279
+ "category": "content"
280
+ },
281
+
282
+ "hide-header": {
283
+ "type": "Boolean",
284
+ "desc": "Hide table header layer",
285
+ "category": "content"
286
+ },
287
+
288
+ "hide-bottom": {
289
+ "type": "Boolean",
290
+ "desc": "Hide table bottom layer regardless of what it has to display",
291
+ "category": "content"
292
+ },
293
+
294
+ "hide-selected-banner": {
295
+ "type": "Boolean",
296
+ "desc": "Hide the selected rows banner (if any)",
297
+ "category": "content"
298
+ },
299
+
300
+ "hide-no-data": {
301
+ "type": "Boolean",
302
+ "desc": "Hide the default no data bottom layer",
303
+ "category": "content"
304
+ },
305
+
306
+ "hide-pagination": {
307
+ "type": "Boolean",
308
+ "desc": "Hide the pagination controls at the bottom",
309
+ "category": "content"
310
+ },
311
+
312
+ "dark": {
313
+ "extends": "dark"
314
+ },
315
+
316
+ "flat": {
317
+ "extends": "flat"
318
+ },
319
+
320
+ "bordered": {
321
+ "extends": "bordered"
322
+ },
323
+
324
+ "square": {
325
+ "extends": "square"
326
+ },
327
+
328
+ "separator": {
329
+ "type": "String",
330
+ "desc": "Use a separator/border between rows, columns or all cells",
331
+ "default": "horizontal",
332
+ "values": [ "horizontal", "vertical", "cell", "none" ],
333
+ "examples": [ "cell" ],
334
+ "category": "content"
335
+ },
336
+
337
+ "wrap-cells": {
338
+ "type": "Boolean",
339
+ "desc": "Wrap text within table cells",
340
+ "category": "content"
341
+ },
342
+
343
+ "binary-state-sort": {
344
+ "type": "Boolean",
345
+ "desc": "Skip the third state (unsorted) when user toggles column sort direction",
346
+ "category": "sorting"
347
+ },
348
+
349
+ "column-sort-order": {
350
+ "type": "String",
351
+ "desc": "Set column sort order: 'ad' (ascending-descending) or 'da' (descending-ascending); It gets applied to all columns unless a column has its own sortOrder specified in the 'columns' definition prop",
352
+ "values": [ "ad", "da" ],
353
+ "default": "ad",
354
+ "category": "sorting"
355
+ },
356
+
357
+ "no-data-label": {
358
+ "type": "String",
359
+ "desc": "Override default text to display when no data is available",
360
+ "examples": [ "No devices available" ],
361
+ "category": "content"
362
+ },
363
+
364
+ "no-results-label": {
365
+ "type": "String",
366
+ "desc": "Override default text to display when user filters the table and no matched results are found",
367
+ "examples": [ "No matched records" ],
368
+ "category": "content"
369
+ },
370
+
371
+ "loading-label": {
372
+ "type": "String",
373
+ "desc": "Override default text to display when table is in loading state (see 'loading' prop)",
374
+ "examples": [ "Loading devices..." ],
375
+ "category": "content"
376
+ },
377
+
378
+ "selected-rows-label": {
379
+ "type": "Function",
380
+ "desc": "Text to display when user selected at least one row; For best performance, reference it from your scope and do not define it inline",
381
+ "params": {
382
+ "numberOfRows": {
383
+ "type": "Number",
384
+ "desc": "Number of rows available",
385
+ "examples": [ 12 ]
386
+ }
387
+ },
388
+ "returns": {
389
+ "type": "String",
390
+ "desc": "Label to display",
391
+ "examples": [ "5 rows are selected" ]
392
+ },
393
+ "examples": [ ":selected-rows-label=\"getSelectedString\"" ],
394
+ "category": "selection"
395
+ },
396
+
397
+ "rows-per-page-label": {
398
+ "type": "String",
399
+ "desc": "Text to override default rows per page label at bottom of table",
400
+ "examples": [ "Records per page:" ],
401
+ "category": "pagination"
402
+ },
403
+
404
+ "pagination-label": {
405
+ "type": "Function",
406
+ "desc": "Text to override default pagination label at bottom of table (unless 'pagination' scoped slot is used); For best performance, reference it from your scope and do not define it inline",
407
+ "params": {
408
+ "firstRowIndex": {
409
+ "type": "Number",
410
+ "desc": "Index of first displayed row",
411
+ "examples": [ 1 ]
412
+ },
413
+ "endRowIndex": {
414
+ "type": "Number",
415
+ "desc": "Index of last displayed row",
416
+ "examples": [ 10 ]
417
+ },
418
+ "totalRowsNumber": {
419
+ "type": "Number",
420
+ "desc": "Number of total rows available in data",
421
+ "examples": [ 132 ]
422
+ }
423
+ },
424
+ "returns": {
425
+ "type": "String",
426
+ "desc": "Label to display",
427
+ "examples": [ "1-10 of 132" ]
428
+ },
429
+ "examples": [ ":pagination-label=\"getPaginationLabel\"" ],
430
+ "category": "pagination"
431
+ },
432
+
433
+ "table-style": {
434
+ "type": [ "String", "Array", "Object" ],
435
+ "desc": "CSS style to apply to native HTML <table> element's wrapper (which is a DIV)",
436
+ "examples": [
437
+ "background-color: #ff0000",
438
+ ":table-style=\"{ backgroundColor: '#ff0000' }\""
439
+ ],
440
+ "category": "style"
441
+ },
442
+
443
+ "table-class": {
444
+ "type": [ "String", "Array", "Object" ],
445
+ "desc": "CSS classes to apply to native HTML <table> element's wrapper (which is a DIV)",
446
+ "examples": [
447
+ "my-special-class",
448
+ ":table-class=\"{ 'my-special-class': [Boolean condition] }\""
449
+ ],
450
+ "category": "style"
451
+ },
452
+
453
+ "table-header-style": {
454
+ "type": [ "String", "Array", "Object" ],
455
+ "desc": "CSS style to apply to header of native HTML <table> (which is a TR)",
456
+ "examples": [
457
+ "background-color: #ff0000",
458
+ ":table-header-style=\"{ backgroundColor: '#ff0000' }\""
459
+ ],
460
+ "category": "style"
461
+ },
462
+
463
+ "table-header-class": {
464
+ "type": [ "String", "Array", "Object" ],
465
+ "desc": "CSS classes to apply to header of native HTML <table> (which is a TR)",
466
+ "examples": [
467
+ "my-special-class",
468
+ ":table-header-class=\"{ 'my-special-class': [Boolean condition] }\""
469
+ ],
470
+ "category": "style"
471
+ },
472
+
473
+ "card-container-style": {
474
+ "type": [ "String", "Array", "Object" ],
475
+ "desc": "CSS style to apply to the cards container (when in grid mode)",
476
+ "examples": [
477
+ "background-color: #ff0000",
478
+ ":card-container-style=\"{ backgroundColor: '#ff0000' }\""
479
+ ],
480
+ "category": "style"
481
+ },
482
+
483
+ "card-container-class": {
484
+ "type": [ "String", "Array", "Object" ],
485
+ "desc": "CSS classes to apply to the cards container (when in grid mode)",
486
+ "examples": [
487
+ "my-special-class",
488
+ "justify-center",
489
+ ":card-container-class=\"{ 'my-special-class': [Boolean condition] }\""
490
+ ],
491
+ "category": "style"
492
+ },
493
+
494
+ "card-style": {
495
+ "type": [ "String", "Array", "Object" ],
496
+ "desc": "CSS style to apply to the card (when in grid mode) or container card (when not in grid mode)",
497
+ "examples": [
498
+ "background-color: #ff0000",
499
+ ":card-style=\"{ backgroundColor: '#ff0000' }\""
500
+ ],
501
+ "category": "style"
502
+ },
503
+
504
+ "card-class": {
505
+ "type": [ "String", "Array", "Object" ],
506
+ "desc": "CSS classes to apply to the card (when in grid mode) or container card (when not in grid mode)",
507
+ "examples": [
508
+ "my-special-class",
509
+ ":card-class=\"{ 'my-special-class': [Boolean condition] }\""
510
+ ],
511
+ "category": "style"
512
+ },
513
+
514
+ "title-class": {
515
+ "type": [ "String", "Array", "Object" ],
516
+ "desc": "CSS classes to apply to the title (if using 'title' prop)",
517
+ "examples": [
518
+ "my-special-class",
519
+ "text-h1",
520
+ ":title-class=\"{ 'text-h1': [Boolean condition] }\""
521
+ ],
522
+ "category": "style"
523
+ },
524
+
525
+ "filter": {
526
+ "type": [ "String", "Object" ],
527
+ "desc": "String/Object to filter table with; When using an Object it requires 'filter-method' to also be specified since it will be a custom filtering",
528
+ "examples": [ ":filter=\"myFilterInput\"" ],
529
+ "category": "filter"
530
+ },
531
+
532
+ "filter-method": {
533
+ "type": "Function",
534
+ "desc": "The actual filtering mechanism; For best performance, reference it from your scope and do not define it inline",
535
+ "params": {
536
+ "rows": {
537
+ "type": "Array",
538
+ "desc": "Array of rows",
539
+ "required": true,
540
+ "__exemption": [ "examples" ]
541
+ },
542
+ "terms": {
543
+ "type": [ "String", "Object" ],
544
+ "desc": "Terms to filter with (is essentially the 'filter' prop value)",
545
+ "required": true,
546
+ "__exemption": [ "examples" ]
547
+ },
548
+ "cols": {
549
+ "type": "Array",
550
+ "desc": "Optional column definitions",
551
+ "__exemption": [ "examples" ]
552
+ },
553
+ "getCellValue": {
554
+ "type": "Function",
555
+ "desc": "Optional function to get a cell value",
556
+ "params": {
557
+ "col": {
558
+ "type": "Object",
559
+ "desc": "Column name from column definitions",
560
+ "__exemption": [ "examples" ]
561
+ },
562
+ "row": {
563
+ "type": "Object",
564
+ "desc": "The row object",
565
+ "__exemption": [ "examples" ]
566
+ }
567
+ },
568
+ "returns": {
569
+ "type": "Any",
570
+ "desc": "Parsed/Processed cell value",
571
+ "examples": [ "Ice Cream Sandwich" ]
572
+ }
573
+ }
574
+ },
575
+ "returns": {
576
+ "type": "Array",
577
+ "desc": "Filtered rows",
578
+ "__exemption": [ "examples" ]
579
+ },
580
+ "default": "(see source code)",
581
+ "examples": [
582
+ "(see source code)"
583
+ ],
584
+ "category": "filter"
585
+ },
586
+
587
+ "pagination": {
588
+ "type": "Object",
589
+ "desc": "Pagination object; You can also use the 'v-model:pagination' for synching; When not synching it simply initializes the pagination on first render",
590
+ "definition": {
591
+ "sortBy": {
592
+ "type": "String",
593
+ "desc": "Column name (from column definition)",
594
+ "examples": [ "calories" ]
595
+ },
596
+ "descending": {
597
+ "type": "Boolean",
598
+ "desc": "Is sorting in descending order?"
599
+ },
600
+ "page": {
601
+ "type": "Number",
602
+ "desc": "Page number (1-based)",
603
+ "examples": [ 3 ]
604
+ },
605
+ "rowsPerPage": {
606
+ "type": "Number",
607
+ "desc": "How many rows per page? 0 means Infinite",
608
+ "examples": [ 10 ]
609
+ },
610
+ "rowsNumber": {
611
+ "type": "Number",
612
+ "desc": "For server-side fetching only. How many total database rows are there to be added to the table. If set, causes the QTable to emit @request when data is required.",
613
+ "examples": [ 100, 200 ]
614
+ }
615
+ },
616
+ "examples": [
617
+ ":pagination=\"myInitialPagination\"",
618
+ "v-model:pagination=\"myPagination\""
619
+ ],
620
+ "category": "pagination"
621
+ },
622
+
623
+ "rows-per-page-options": {
624
+ "type": "Array",
625
+ "desc": "Options for user to pick (Numbers); Number 0 means 'Show all rows in one page'",
626
+ "default": "[ 3, 5, 7, 10, 15, 20, 25, 50, 0 ]",
627
+ "examples": [
628
+ ":rows-per-page-options=\"[10, 20]\""
629
+ ],
630
+ "category": "pagination"
631
+ },
632
+
633
+ "selection": {
634
+ "type": "String",
635
+ "desc": "Selection type",
636
+ "default": "none",
637
+ "values": [ "single", "multiple", "none" ],
638
+ "examples": [ "multiple" ],
639
+ "category": "selection"
640
+ },
641
+
642
+ "selected": {
643
+ "type": "Array",
644
+ "desc": "Keeps the user selection array",
645
+ "default": "[]",
646
+ "examples": [
647
+ "v-model:selected=\"selection\""
648
+ ],
649
+ "category": "selection"
650
+ },
651
+
652
+ "expanded": {
653
+ "type": "Array",
654
+ "desc": "Keeps the array with expanded rows keys",
655
+ "default": "[]",
656
+ "examples": [
657
+ "v-model:expanded=\"expanded\""
658
+ ],
659
+ "category": "expansion"
660
+ },
661
+
662
+ "sort-method": {
663
+ "type": "Function",
664
+ "desc": "The actual sort mechanism. Function (rows, sortBy, descending) => sorted rows; For best performance, reference it from your scope and do not define it inline",
665
+ "params": {
666
+ "rows": {
667
+ "type": "Array",
668
+ "desc": "Array with rows",
669
+ "__exemption": [ "examples" ]
670
+ },
671
+ "sortBy": {
672
+ "type": "String",
673
+ "desc": "Column name (from column definition)",
674
+ "examples": [ "calories" ]
675
+ },
676
+ "descending": {
677
+ "type": "Boolean",
678
+ "desc": "Is sorting in descending order?"
679
+ }
680
+ },
681
+ "returns": {
682
+ "type": "Array",
683
+ "desc": "Sorted rows",
684
+ "__exemption": [ "examples" ]
685
+ },
686
+ "default": "(see source code)",
687
+ "examples": [
688
+ "(see source code)"
689
+ ],
690
+ "category": "sorting"
691
+ }
692
+ },
693
+
694
+ "slots": {
695
+ "loading": {
696
+ "desc": "Override default effect when table is in loading state; Suggestion: QInnerLoading"
697
+ },
698
+
699
+ "item": {
700
+ "desc": "Slot to use for defining an item when in 'grid' mode; Suggestion: QCard",
701
+ "scope": {
702
+ "key": {
703
+ "type": "Any",
704
+ "desc": "Row/Item's key",
705
+ "__exemption": [ "examples" ]
706
+ },
707
+ "row": {
708
+ "type": "Object",
709
+ "desc": "Row/Item object",
710
+ "__exemption": [ "examples" ]
711
+ },
712
+ "rowIndex": {
713
+ "type": "Number",
714
+ "desc": "Row/Item's index (0 based) in the filtered and sorted table",
715
+ "__exemption": [ "examples" ]
716
+ },
717
+ "pageIndex": {
718
+ "type": "Number",
719
+ "desc": "Row/Item's index (0 based) in the current page of the filtered and sorted table",
720
+ "__exemption": [ "examples" ]
721
+ },
722
+ "cols": {
723
+ "type": "Object",
724
+ "desc": "Column definitions",
725
+ "__exemption": [ "examples" ]
726
+ },
727
+ "colsMap": {
728
+ "type": "Object",
729
+ "desc": "Column mapping (key is column name, value is column object)",
730
+ "__exemption": [ "examples" ]
731
+ },
732
+ "sort": {
733
+ "type": "Function",
734
+ "desc": "Trigger a table sort",
735
+ "params": {
736
+ "col": {
737
+ "type": [ "String", "Object" ],
738
+ "desc": "Column name or column definition object",
739
+ "required": true,
740
+ "examples": [ "calories" ]
741
+ }
742
+ },
743
+ "returns": null
744
+ },
745
+ "selected": {
746
+ "type": "Boolean",
747
+ "desc": "(Only if using selection) Is row/item selected? Can directly be assigned new Boolean value which changes selection state",
748
+ "reactive": true
749
+ },
750
+ "expand": {
751
+ "type": "Boolean",
752
+ "desc": "Is row/item expanded? Can directly be assigned new Boolean value which changes expanded state",
753
+ "reactive": true
754
+ },
755
+ "color": {
756
+ "extends": "color",
757
+ "default": "grey-8"
758
+ },
759
+ "dark": {
760
+ "extends": "dark"
761
+ },
762
+ "dense": {
763
+ "extends": "dense"
764
+ }
765
+ }
766
+ },
767
+
768
+ "body": {
769
+ "desc": "Slot to define how a body row looks like; Suggestion: QTr + Td",
770
+ "scope": {
771
+ "key": {
772
+ "type": "Any",
773
+ "desc": "Row's key",
774
+ "__exemption": [ "examples" ]
775
+ },
776
+ "row": {
777
+ "type": "Object",
778
+ "desc": "Row object",
779
+ "__exemption": [ "examples" ]
780
+ },
781
+ "rowIndex": {
782
+ "type": "Number",
783
+ "desc": "Row's index (0 based) in the filtered and sorted table",
784
+ "__exemption": [ "examples" ]
785
+ },
786
+ "pageIndex": {
787
+ "type": "Number",
788
+ "desc": "Row's index (0 based) in the current page of the filtered and sorted table",
789
+ "__exemption": [ "examples" ]
790
+ },
791
+ "cols": {
792
+ "type": "Object",
793
+ "desc": "Column definitions",
794
+ "__exemption": [ "examples" ]
795
+ },
796
+ "colsMap": {
797
+ "type": "Object",
798
+ "desc": "Column mapping (key is column name, value is column object)",
799
+ "__exemption": [ "examples" ]
800
+ },
801
+ "sort": {
802
+ "type": "Function",
803
+ "desc": "Trigger a table sort",
804
+ "params": {
805
+ "col": {
806
+ "type": [ "String", "Object" ],
807
+ "desc": "Column name or column definition object",
808
+ "required": true,
809
+ "examples": [ "calories" ]
810
+ }
811
+ },
812
+ "returns": null
813
+ },
814
+ "selected": {
815
+ "type": "Boolean",
816
+ "desc": "(Only if using selection) Is row selected? Can directly be assigned new Boolean value which changes selection state",
817
+ "reactive": true
818
+ },
819
+ "expand": {
820
+ "type": "Boolean",
821
+ "desc": "Is row expanded? Can directly be assigned new Boolean value which changes expanded state",
822
+ "reactive": true
823
+ },
824
+ "color": {
825
+ "extends": "color",
826
+ "default": "grey-8"
827
+ },
828
+ "dark": {
829
+ "extends": "dark"
830
+ },
831
+ "dense": {
832
+ "extends": "dense"
833
+ },
834
+ "__trClass": {
835
+ "type": "String",
836
+ "desc": "Internal prop passed down to QTr (if used)",
837
+ "__exemption": [ "examples" ]
838
+ }
839
+ }
840
+ },
841
+
842
+ "body-cell": {
843
+ "desc": "Slot to define how all body cells look like; Suggestion: QTd",
844
+ "scope": {
845
+ "col": {
846
+ "type": "Object",
847
+ "desc": "Column definition for column associated with table cell",
848
+ "__exemption": [ "examples" ]
849
+ },
850
+ "value": {
851
+ "type": "Any",
852
+ "desc": "Parsed/Formatted value of table cell",
853
+ "__exemption": [ "examples" ]
854
+ },
855
+ "key": {
856
+ "type": "Any",
857
+ "desc": "Row's key",
858
+ "__exemption": [ "examples" ]
859
+ },
860
+ "row": {
861
+ "type": "Object",
862
+ "desc": "Row object",
863
+ "__exemption": [ "examples" ]
864
+ },
865
+ "rowIndex": {
866
+ "type": "Number",
867
+ "desc": "Row's index (0 based) in the filtered and sorted table",
868
+ "__exemption": [ "examples" ]
869
+ },
870
+ "pageIndex": {
871
+ "type": "Number",
872
+ "desc": "Row's index (0 based) in the current page of the filtered and sorted table",
873
+ "__exemption": [ "examples" ]
874
+ },
875
+ "cols": {
876
+ "type": "Object",
877
+ "desc": "Column definitions",
878
+ "__exemption": [ "examples" ]
879
+ },
880
+ "colsMap": {
881
+ "type": "Object",
882
+ "desc": "Column mapping (key is column name, value is column object)",
883
+ "__exemption": [ "examples" ]
884
+ },
885
+ "sort": {
886
+ "type": "Function",
887
+ "desc": "Trigger a table sort",
888
+ "params": {
889
+ "col": {
890
+ "type": [ "String", "Object" ],
891
+ "desc": "Column name or column definition object",
892
+ "required": true,
893
+ "examples": [ "calories" ]
894
+ }
895
+ },
896
+ "returns": null
897
+ },
898
+ "selected": {
899
+ "type": "Boolean",
900
+ "desc": "(Only if using selection) Is row selected? Can directly be assigned new Boolean value which changes selection state",
901
+ "reactive": true
902
+ },
903
+ "expand": {
904
+ "type": "Boolean",
905
+ "desc": "Is row expanded? Can directly be assigned new Boolean value which changes expanded state",
906
+ "reactive": true
907
+ },
908
+ "color": {
909
+ "extends": "color",
910
+ "default": "grey-8"
911
+ },
912
+ "dark": {
913
+ "extends": "dark"
914
+ },
915
+ "dense": {
916
+ "extends": "dense"
917
+ }
918
+ }
919
+ },
920
+
921
+ "body-cell-[name]": {
922
+ "desc": "Slot to define how a specific column cell looks like; replace '[name]' with column name (from columns definition object)",
923
+ "scope": {
924
+ "col": {
925
+ "type": "Object",
926
+ "desc": "Column definition for column associated with table cell",
927
+ "__exemption": [ "examples" ]
928
+ },
929
+ "value": {
930
+ "type": "Any",
931
+ "desc": "Parsed/Formatted value of table cell",
932
+ "__exemption": [ "examples" ]
933
+ },
934
+ "key": {
935
+ "type": "Any",
936
+ "desc": "Row's key",
937
+ "__exemption": [ "examples" ]
938
+ },
939
+ "row": {
940
+ "type": "Object",
941
+ "desc": "Row object",
942
+ "__exemption": [ "examples" ]
943
+ },
944
+ "rowIndex": {
945
+ "type": "Number",
946
+ "desc": "Row's index (0 based) in the filtered and sorted table",
947
+ "__exemption": [ "examples" ]
948
+ },
949
+ "pageIndex": {
950
+ "type": "Number",
951
+ "desc": "Row's index (0 based) in the current page of the filtered and sorted table",
952
+ "__exemption": [ "examples" ]
953
+ },
954
+ "cols": {
955
+ "type": "Object",
956
+ "desc": "Column definitions",
957
+ "__exemption": [ "examples" ]
958
+ },
959
+ "colsMap": {
960
+ "type": "Object",
961
+ "desc": "Column mapping (key is column name, value is column object)",
962
+ "__exemption": [ "examples" ]
963
+ },
964
+ "sort": {
965
+ "type": "Function",
966
+ "desc": "Trigger a table sort",
967
+ "params": {
968
+ "col": {
969
+ "type": [ "String", "Object" ],
970
+ "desc": "Column name or column definition object",
971
+ "required": true,
972
+ "examples": [ "calories" ]
973
+ }
974
+ },
975
+ "returns": null
976
+ },
977
+ "selected": {
978
+ "type": "Boolean",
979
+ "desc": "(Only if using selection) Is row selected? Can directly be assigned new Boolean value which changes selection state",
980
+ "reactive": true
981
+ },
982
+ "expand": {
983
+ "type": "Boolean",
984
+ "desc": "Is row expanded? Can directly be assigned new Boolean value which changes expanded state",
985
+ "reactive": true
986
+ },
987
+ "color": {
988
+ "extends": "color",
989
+ "default": "grey-8"
990
+ },
991
+ "dark": {
992
+ "extends": "dark"
993
+ },
994
+ "dense": {
995
+ "extends": "dense"
996
+ }
997
+ }
998
+ },
999
+
1000
+ "header": {
1001
+ "desc": "Slot to define how header looks like; Suggestion: QTr + QTh",
1002
+ "scope": {
1003
+ "cols": {
1004
+ "type": "Object",
1005
+ "desc": "Column definitions",
1006
+ "__exemption": [ "examples" ]
1007
+ },
1008
+ "colsMap": {
1009
+ "type": "Object",
1010
+ "desc": "Column mapping (key is column name, value is column object)",
1011
+ "__exemption": [ "examples" ]
1012
+ },
1013
+ "sort": {
1014
+ "type": "Function",
1015
+ "desc": "Trigger a table sort",
1016
+ "params": {
1017
+ "col": {
1018
+ "type": [ "String", "Object" ],
1019
+ "desc": "Column name or column definition object",
1020
+ "required": true,
1021
+ "examples": [ "calories" ]
1022
+ }
1023
+ },
1024
+ "returns": null
1025
+ },
1026
+ "selected": {
1027
+ "type": "Boolean",
1028
+ "desc": "(Only if using selection) Is row selected? Can directly be assigned new Boolean value which changes selection state",
1029
+ "reactive": true
1030
+ },
1031
+ "expand": {
1032
+ "type": "Boolean",
1033
+ "desc": "Is row expanded? Can directly be assigned new Boolean value which changes expanded state",
1034
+ "reactive": true
1035
+ },
1036
+ "color": {
1037
+ "extends": "color",
1038
+ "default": "grey-8"
1039
+ },
1040
+ "dark": {
1041
+ "extends": "dark"
1042
+ },
1043
+ "dense": {
1044
+ "extends": "dense"
1045
+ },
1046
+ "__trClass": {
1047
+ "type": "String",
1048
+ "desc": "Internal prop passed down to QTr (if used)",
1049
+ "__exemption": [ "examples" ]
1050
+ },
1051
+ "header": {
1052
+ "type": "Boolean",
1053
+ "desc": "Internal prop passed down to QTh (if used); Always 'true'"
1054
+ }
1055
+ }
1056
+ },
1057
+
1058
+ "header-cell": {
1059
+ "desc": "Slot to define how each header cell looks like; Suggestion: QTh",
1060
+ "scope": {
1061
+ "col": {
1062
+ "type": "Object",
1063
+ "desc": "Column definition associated to header cell",
1064
+ "__exemption": [ "examples" ]
1065
+ },
1066
+ "cols": {
1067
+ "type": "Object",
1068
+ "desc": "Column definitions",
1069
+ "__exemption": [ "examples" ]
1070
+ },
1071
+ "colsMap": {
1072
+ "type": "Object",
1073
+ "desc": "Column mapping (key is column name, value is column object)",
1074
+ "__exemption": [ "examples" ]
1075
+ },
1076
+ "sort": {
1077
+ "type": "Function",
1078
+ "desc": "Trigger a table sort",
1079
+ "params": {
1080
+ "col": {
1081
+ "type": [ "String", "Object" ],
1082
+ "desc": "Column name or column definition object",
1083
+ "required": true,
1084
+ "examples": [ "calories" ]
1085
+ }
1086
+ },
1087
+ "returns": null
1088
+ },
1089
+ "selected": {
1090
+ "type": "Boolean",
1091
+ "desc": "(Only if using selection) Is row selected? Can directly be assigned new Boolean value which changes selection state",
1092
+ "reactive": true
1093
+ },
1094
+ "expand": {
1095
+ "type": "Boolean",
1096
+ "desc": "Is row expanded? Can directly be assigned new Boolean value which changes expanded state",
1097
+ "reactive": true
1098
+ },
1099
+ "color": {
1100
+ "extends": "color",
1101
+ "default": "grey-8"
1102
+ },
1103
+ "dark": {
1104
+ "extends": "dark"
1105
+ },
1106
+ "dense": {
1107
+ "extends": "dense"
1108
+ }
1109
+ }
1110
+ },
1111
+
1112
+ "header-cell-[name]": {
1113
+ "desc": "Slot to define how a specific header cell looks like; replace '[name]' with column name (from columns definition object)",
1114
+ "scope": {
1115
+ "col": {
1116
+ "type": "Object",
1117
+ "desc": "Column definition associated to header cell",
1118
+ "__exemption": [ "examples" ]
1119
+ },
1120
+ "cols": {
1121
+ "type": "Object",
1122
+ "desc": "Column definitions",
1123
+ "__exemption": [ "examples" ]
1124
+ },
1125
+ "colsMap": {
1126
+ "type": "Object",
1127
+ "desc": "Column mapping (key is column name, value is column object)",
1128
+ "__exemption": [ "examples" ]
1129
+ },
1130
+ "sort": {
1131
+ "type": "Function",
1132
+ "desc": "Trigger a table sort",
1133
+ "params": {
1134
+ "col": {
1135
+ "type": [ "String", "Object" ],
1136
+ "desc": "Column name or column definition object",
1137
+ "required": true,
1138
+ "examples": [ "calories" ]
1139
+ }
1140
+ },
1141
+ "returns": null
1142
+ },
1143
+ "selected": {
1144
+ "type": "Boolean",
1145
+ "desc": "(Only if using selection) Is row selected? Can directly be assigned new Boolean value which changes selection state",
1146
+ "reactive": true
1147
+ },
1148
+ "expand": {
1149
+ "type": "Boolean",
1150
+ "desc": "Is row expanded? Can directly be assigned new Boolean value which changes expanded state",
1151
+ "reactive": true
1152
+ },
1153
+ "color": {
1154
+ "extends": "color",
1155
+ "default": "grey-8"
1156
+ },
1157
+ "dark": {
1158
+ "extends": "dark"
1159
+ },
1160
+ "dense": {
1161
+ "extends": "dense"
1162
+ }
1163
+ }
1164
+ },
1165
+
1166
+ "body-selection": {
1167
+ "desc": "Slot to define how body selection column looks like; Suggestion: QCheckbox",
1168
+ "scope": {
1169
+ "key": {
1170
+ "type": "Any",
1171
+ "desc": "Row's key",
1172
+ "__exemption": [ "examples" ]
1173
+ },
1174
+ "row": {
1175
+ "type": "Object",
1176
+ "desc": "Row object",
1177
+ "__exemption": [ "examples" ]
1178
+ },
1179
+ "rowIndex": {
1180
+ "type": "Number",
1181
+ "desc": "Row's index (0 based) in the filtered and sorted table",
1182
+ "__exemption": [ "examples" ]
1183
+ },
1184
+ "pageIndex": {
1185
+ "type": "Number",
1186
+ "desc": "Row's index (0 based) in the current page of the filtered and sorted table",
1187
+ "__exemption": [ "examples" ]
1188
+ },
1189
+ "cols": {
1190
+ "type": "Object",
1191
+ "desc": "Column definitions",
1192
+ "__exemption": [ "examples" ]
1193
+ },
1194
+ "colsMap": {
1195
+ "type": "Object",
1196
+ "desc": "Column mapping (key is column name, value is column object)",
1197
+ "__exemption": [ "examples" ]
1198
+ },
1199
+ "sort": {
1200
+ "type": "Function",
1201
+ "desc": "Trigger a table sort",
1202
+ "params": {
1203
+ "col": {
1204
+ "type": [ "String", "Object" ],
1205
+ "desc": "Column name or column definition object",
1206
+ "required": true,
1207
+ "examples": [ "calories" ]
1208
+ }
1209
+ },
1210
+ "returns": null
1211
+ },
1212
+ "selected": {
1213
+ "type": "Boolean",
1214
+ "desc": "(Only if using selection) Is row selected? Can directly be assigned new Boolean value which changes selection state",
1215
+ "reactive": true
1216
+ },
1217
+ "expand": {
1218
+ "type": "Boolean",
1219
+ "desc": "Is row expanded? Can directly be assigned new Boolean value which changes expanded state",
1220
+ "reactive": true
1221
+ },
1222
+ "color": {
1223
+ "extends": "color",
1224
+ "default": "grey-8"
1225
+ },
1226
+ "dark": {
1227
+ "extends": "dark"
1228
+ },
1229
+ "dense": {
1230
+ "extends": "dense"
1231
+ }
1232
+ }
1233
+ },
1234
+
1235
+ "header-selection": {
1236
+ "desc": "Slot to define how header selection column looks like (available only for multiple selection mode); Suggestion: QCheckbox",
1237
+ "scope": {
1238
+ "cols": {
1239
+ "type": "Object",
1240
+ "desc": "Column definitions",
1241
+ "__exemption": [ "examples" ]
1242
+ },
1243
+ "colsMap": {
1244
+ "type": "Object",
1245
+ "desc": "Column mapping (key is column name, value is column object)",
1246
+ "__exemption": [ "examples" ]
1247
+ },
1248
+ "sort": {
1249
+ "type": "Function",
1250
+ "desc": "Trigger a table sort",
1251
+ "params": {
1252
+ "col": {
1253
+ "type": [ "String", "Object" ],
1254
+ "desc": "Column name or column definition object",
1255
+ "required": true,
1256
+ "examples": [ "calories" ]
1257
+ }
1258
+ },
1259
+ "returns": null
1260
+ },
1261
+ "selected": {
1262
+ "type": "Boolean",
1263
+ "desc": "(Only if using selection) Is row selected? Can directly be assigned new Boolean value which changes selection state",
1264
+ "reactive": true
1265
+ },
1266
+ "expand": {
1267
+ "type": "Boolean",
1268
+ "desc": "Is row expanded? Can directly be assigned new Boolean value which changes expanded state",
1269
+ "reactive": true
1270
+ },
1271
+ "color": {
1272
+ "extends": "color",
1273
+ "default": "grey-8"
1274
+ },
1275
+ "dark": {
1276
+ "extends": "dark"
1277
+ },
1278
+ "dense": {
1279
+ "extends": "dense"
1280
+ }
1281
+ }
1282
+ },
1283
+
1284
+ "top-row": {
1285
+ "desc": "Slot to define how top extra row looks like",
1286
+ "scope": {
1287
+ "cols": {
1288
+ "type": "Object",
1289
+ "desc": "Column definitions",
1290
+ "__exemption": [ "examples" ]
1291
+ }
1292
+ }
1293
+ },
1294
+
1295
+ "bottom-row": {
1296
+ "desc": "Slot to define how bottom extra row looks like",
1297
+ "scope": {
1298
+ "cols": {
1299
+ "type": "Object",
1300
+ "desc": "Column definitions",
1301
+ "__exemption": [ "examples" ]
1302
+ }
1303
+ }
1304
+ },
1305
+
1306
+ "top": {
1307
+ "desc": "Slot to define how table top looks like",
1308
+ "scope": {
1309
+ "pagination": {
1310
+ "type": "Object",
1311
+ "desc": "Pagination object",
1312
+ "definition": {
1313
+ "sortBy": {
1314
+ "type": "String",
1315
+ "desc": "Column name (from column definition)",
1316
+ "examples": [ "calories" ]
1317
+ },
1318
+ "descending": {
1319
+ "type": "Boolean",
1320
+ "desc": "Is sorting in descending order?"
1321
+ },
1322
+ "page": {
1323
+ "type": "Number",
1324
+ "desc": "Page number (1-based)",
1325
+ "examples": [ 3 ]
1326
+ },
1327
+ "rowsPerPage": {
1328
+ "type": "Number",
1329
+ "desc": "How many rows per page? 0 means Infinite",
1330
+ "examples": [ 10 ]
1331
+ }
1332
+ }
1333
+ },
1334
+ "pagesNumber": {
1335
+ "type": "Number",
1336
+ "desc": "Number of pages available",
1337
+ "examples": [ 5 ]
1338
+ },
1339
+ "isFirstPage": {
1340
+ "type": "Boolean",
1341
+ "desc": "Are we on first page?"
1342
+ },
1343
+ "isLastPage": {
1344
+ "type": "Boolean",
1345
+ "desc": "Are we on last page?"
1346
+ },
1347
+ "firstPage": {
1348
+ "type": "Function",
1349
+ "desc": "Navigates to first page",
1350
+ "params": null,
1351
+ "returns": null
1352
+ },
1353
+ "prevPage": {
1354
+ "type": "Function",
1355
+ "desc": "Navigates to previous page, if available",
1356
+ "params": null,
1357
+ "returns": null
1358
+ },
1359
+ "nextPage": {
1360
+ "type": "Function",
1361
+ "desc": "Navigates to next page, if available",
1362
+ "params": null,
1363
+ "returns": null
1364
+ },
1365
+ "lastPage": {
1366
+ "type": "Function",
1367
+ "desc": "Navigates to last page",
1368
+ "params": null,
1369
+ "returns": null
1370
+ },
1371
+ "inFullscreen": {
1372
+ "type": "Boolean",
1373
+ "desc": "Is table in fullscreen mode?"
1374
+ },
1375
+ "toggleFullscreen": {
1376
+ "type": "Function",
1377
+ "desc": "Toggles fullscreen mode",
1378
+ "params": null,
1379
+ "returns": null
1380
+ }
1381
+ }
1382
+ },
1383
+
1384
+ "bottom": {
1385
+ "desc": "Slot to define how table bottom looks like",
1386
+ "scope": {
1387
+ "pagination": {
1388
+ "type": "Object",
1389
+ "desc": "Pagination object",
1390
+ "definition": {
1391
+ "sortBy": {
1392
+ "type": "String",
1393
+ "desc": "Column name (from column definition)",
1394
+ "examples": [ "calories" ]
1395
+ },
1396
+ "descending": {
1397
+ "type": "Boolean",
1398
+ "desc": "Is sorting in descending order?"
1399
+ },
1400
+ "page": {
1401
+ "type": "Number",
1402
+ "desc": "Page number (1-based)",
1403
+ "examples": [ 3 ]
1404
+ },
1405
+ "rowsPerPage": {
1406
+ "type": "Number",
1407
+ "desc": "How many rows per page? 0 means Infinite",
1408
+ "examples": [ 10 ]
1409
+ }
1410
+ }
1411
+ },
1412
+ "pagesNumber": {
1413
+ "type": "Number",
1414
+ "desc": "Number of pages available",
1415
+ "examples": [ 5 ]
1416
+ },
1417
+ "isFirstPage": {
1418
+ "type": "Boolean",
1419
+ "desc": "Are we on first page?"
1420
+ },
1421
+ "isLastPage": {
1422
+ "type": "Boolean",
1423
+ "desc": "Are we on last page?"
1424
+ },
1425
+ "firstPage": {
1426
+ "type": "Function",
1427
+ "desc": "Navigates to first page",
1428
+ "params": null,
1429
+ "returns": null
1430
+ },
1431
+ "prevPage": {
1432
+ "type": "Function",
1433
+ "desc": "Navigates to previous page, if available",
1434
+ "params": null,
1435
+ "returns": null
1436
+ },
1437
+ "nextPage": {
1438
+ "type": "Function",
1439
+ "desc": "Navigates to next page, if available",
1440
+ "params": null,
1441
+ "returns": null
1442
+ },
1443
+ "lastPage": {
1444
+ "type": "Function",
1445
+ "desc": "Navigates to last page",
1446
+ "params": null,
1447
+ "returns": null
1448
+ },
1449
+ "inFullscreen": {
1450
+ "type": "Boolean",
1451
+ "desc": "Is table in fullscreen mode?"
1452
+ },
1453
+ "toggleFullscreen": {
1454
+ "type": "Function",
1455
+ "desc": "Toggles fullscreen mode",
1456
+ "params": null,
1457
+ "returns": null
1458
+ }
1459
+ }
1460
+ },
1461
+
1462
+ "pagination": {
1463
+ "desc": "Slot to override default pagination label and buttons",
1464
+ "scope": {
1465
+ "pagination": {
1466
+ "type": "Object",
1467
+ "desc": "Pagination object",
1468
+ "definition": {
1469
+ "sortBy": {
1470
+ "type": "String",
1471
+ "desc": "Column name (from column definition)",
1472
+ "examples": [ "calories" ]
1473
+ },
1474
+ "descending": {
1475
+ "type": "Boolean",
1476
+ "desc": "Is sorting in descending order?"
1477
+ },
1478
+ "page": {
1479
+ "type": "Number",
1480
+ "desc": "Page number (1-based)",
1481
+ "examples": [ 3 ]
1482
+ },
1483
+ "rowsPerPage": {
1484
+ "type": "Number",
1485
+ "desc": "How many rows per page? 0 means Infinite",
1486
+ "examples": [ 10 ]
1487
+ }
1488
+ }
1489
+ },
1490
+ "pagesNumber": {
1491
+ "type": "Number",
1492
+ "desc": "Number of pages available",
1493
+ "examples": [ 5 ]
1494
+ },
1495
+ "isFirstPage": {
1496
+ "type": "Boolean",
1497
+ "desc": "Are we on first page?"
1498
+ },
1499
+ "isLastPage": {
1500
+ "type": "Boolean",
1501
+ "desc": "Are we on last page?"
1502
+ },
1503
+ "firstPage": {
1504
+ "type": "Function",
1505
+ "desc": "Navigates to first page",
1506
+ "params": null,
1507
+ "returns": null
1508
+ },
1509
+ "prevPage": {
1510
+ "type": "Function",
1511
+ "desc": "Navigates to previous page, if available",
1512
+ "params": null,
1513
+ "returns": null
1514
+ },
1515
+ "nextPage": {
1516
+ "type": "Function",
1517
+ "desc": "Navigates to next page, if available",
1518
+ "params": null,
1519
+ "returns": null
1520
+ },
1521
+ "lastPage": {
1522
+ "type": "Function",
1523
+ "desc": "Navigates to last page",
1524
+ "params": null,
1525
+ "returns": null
1526
+ },
1527
+ "inFullscreen": {
1528
+ "type": "Boolean",
1529
+ "desc": "Is table in fullscreen mode?"
1530
+ },
1531
+ "toggleFullscreen": {
1532
+ "type": "Function",
1533
+ "desc": "Toggles fullscreen mode",
1534
+ "params": null,
1535
+ "returns": null
1536
+ }
1537
+ }
1538
+ },
1539
+
1540
+ "top-left": {
1541
+ "desc": "Slot to define how left part of the table top looks like",
1542
+ "scope": {
1543
+ "pagination": {
1544
+ "type": "Object",
1545
+ "desc": "Pagination object",
1546
+ "definition": {
1547
+ "sortBy": {
1548
+ "type": "String",
1549
+ "desc": "Column name (from column definition)",
1550
+ "examples": [ "calories" ]
1551
+ },
1552
+ "descending": {
1553
+ "type": "Boolean",
1554
+ "desc": "Is sorting in descending order?"
1555
+ },
1556
+ "page": {
1557
+ "type": "Number",
1558
+ "desc": "Page number (1-based)",
1559
+ "examples": [ 3 ]
1560
+ },
1561
+ "rowsPerPage": {
1562
+ "type": "Number",
1563
+ "desc": "How many rows per page? 0 means Infinite",
1564
+ "examples": [ 10 ]
1565
+ }
1566
+ }
1567
+ },
1568
+ "pagesNumber": {
1569
+ "type": "Number",
1570
+ "desc": "Number of pages available",
1571
+ "examples": [ 5 ]
1572
+ },
1573
+ "isFirstPage": {
1574
+ "type": "Boolean",
1575
+ "desc": "Are we on first page?"
1576
+ },
1577
+ "isLastPage": {
1578
+ "type": "Boolean",
1579
+ "desc": "Are we on last page?"
1580
+ },
1581
+ "firstPage": {
1582
+ "type": "Function",
1583
+ "desc": "Navigates to first page",
1584
+ "params": null,
1585
+ "returns": null
1586
+ },
1587
+ "prevPage": {
1588
+ "type": "Function",
1589
+ "desc": "Navigates to previous page, if available",
1590
+ "params": null,
1591
+ "returns": null
1592
+ },
1593
+ "nextPage": {
1594
+ "type": "Function",
1595
+ "desc": "Navigates to next page, if available",
1596
+ "params": null,
1597
+ "returns": null
1598
+ },
1599
+ "lastPage": {
1600
+ "type": "Function",
1601
+ "desc": "Navigates to last page",
1602
+ "params": null,
1603
+ "returns": null
1604
+ },
1605
+ "inFullscreen": {
1606
+ "type": "Boolean",
1607
+ "desc": "Is table in fullscreen mode?"
1608
+ },
1609
+ "toggleFullscreen": {
1610
+ "type": "Function",
1611
+ "desc": "Toggles fullscreen mode",
1612
+ "params": null,
1613
+ "returns": null
1614
+ }
1615
+ }
1616
+ },
1617
+
1618
+ "top-right": {
1619
+ "desc": "Slot to define how right part of the table top looks like",
1620
+ "scope": {
1621
+ "pagination": {
1622
+ "type": "Object",
1623
+ "desc": "Pagination object",
1624
+ "definition": {
1625
+ "sortBy": {
1626
+ "type": "String",
1627
+ "desc": "Column name (from column definition)",
1628
+ "examples": [ "calories" ]
1629
+ },
1630
+ "descending": {
1631
+ "type": "Boolean",
1632
+ "desc": "Is sorting in descending order?"
1633
+ },
1634
+ "page": {
1635
+ "type": "Number",
1636
+ "desc": "Page number (1-based)",
1637
+ "examples": [ 3 ]
1638
+ },
1639
+ "rowsPerPage": {
1640
+ "type": "Number",
1641
+ "desc": "How many rows per page? 0 means Infinite",
1642
+ "examples": [ 10 ]
1643
+ }
1644
+ }
1645
+ },
1646
+ "pagesNumber": {
1647
+ "type": "Number",
1648
+ "desc": "Number of pages available",
1649
+ "examples": [ 5 ]
1650
+ },
1651
+ "isFirstPage": {
1652
+ "type": "Boolean",
1653
+ "desc": "Are we on first page?"
1654
+ },
1655
+ "isLastPage": {
1656
+ "type": "Boolean",
1657
+ "desc": "Are we on last page?"
1658
+ },
1659
+ "firstPage": {
1660
+ "type": "Function",
1661
+ "desc": "Navigates to first page",
1662
+ "params": null,
1663
+ "returns": null
1664
+ },
1665
+ "prevPage": {
1666
+ "type": "Function",
1667
+ "desc": "Navigates to previous page, if available",
1668
+ "params": null,
1669
+ "returns": null
1670
+ },
1671
+ "nextPage": {
1672
+ "type": "Function",
1673
+ "desc": "Navigates to next page, if available",
1674
+ "params": null,
1675
+ "returns": null
1676
+ },
1677
+ "lastPage": {
1678
+ "type": "Function",
1679
+ "desc": "Navigates to last page",
1680
+ "params": null,
1681
+ "returns": null
1682
+ },
1683
+ "inFullscreen": {
1684
+ "type": "Boolean",
1685
+ "desc": "Is table in fullscreen mode?"
1686
+ },
1687
+ "toggleFullscreen": {
1688
+ "type": "Function",
1689
+ "desc": "Toggles fullscreen mode",
1690
+ "params": null,
1691
+ "returns": null
1692
+ }
1693
+ }
1694
+ },
1695
+
1696
+ "top-selection": {
1697
+ "desc": "Slot to define how top table section looks like when user has selected at least one row",
1698
+ "scope": {
1699
+ "pagination": {
1700
+ "type": "Object",
1701
+ "desc": "Pagination object",
1702
+ "definition": {
1703
+ "sortBy": {
1704
+ "type": "String",
1705
+ "desc": "Column name (from column definition)",
1706
+ "examples": [ "calories" ]
1707
+ },
1708
+ "descending": {
1709
+ "type": "Boolean",
1710
+ "desc": "Is sorting in descending order?"
1711
+ },
1712
+ "page": {
1713
+ "type": "Number",
1714
+ "desc": "Page number (1-based)",
1715
+ "examples": [ 3 ]
1716
+ },
1717
+ "rowsPerPage": {
1718
+ "type": "Number",
1719
+ "desc": "How many rows per page? 0 means Infinite",
1720
+ "examples": [ 10 ]
1721
+ }
1722
+ }
1723
+ },
1724
+ "pagesNumber": {
1725
+ "type": "Number",
1726
+ "desc": "Number of pages available",
1727
+ "examples": [ 5 ]
1728
+ },
1729
+ "isFirstPage": {
1730
+ "type": "Boolean",
1731
+ "desc": "Are we on first page?"
1732
+ },
1733
+ "isLastPage": {
1734
+ "type": "Boolean",
1735
+ "desc": "Are we on last page?"
1736
+ },
1737
+ "firstPage": {
1738
+ "type": "Function",
1739
+ "desc": "Navigates to first page",
1740
+ "params": null,
1741
+ "returns": null
1742
+ },
1743
+ "prevPage": {
1744
+ "type": "Function",
1745
+ "desc": "Navigates to previous page, if available",
1746
+ "params": null,
1747
+ "returns": null
1748
+ },
1749
+ "nextPage": {
1750
+ "type": "Function",
1751
+ "desc": "Navigates to next page, if available",
1752
+ "params": null,
1753
+ "returns": null
1754
+ },
1755
+ "lastPage": {
1756
+ "type": "Function",
1757
+ "desc": "Navigates to last page",
1758
+ "params": null,
1759
+ "returns": null
1760
+ },
1761
+ "inFullscreen": {
1762
+ "type": "Boolean",
1763
+ "desc": "Is table in fullscreen mode?"
1764
+ },
1765
+ "toggleFullscreen": {
1766
+ "type": "Function",
1767
+ "desc": "Toggles fullscreen mode",
1768
+ "params": null,
1769
+ "returns": null
1770
+ }
1771
+ }
1772
+ },
1773
+
1774
+ "no-data": {
1775
+ "desc": "Slot to define how the bottom will look like when is nothing to display",
1776
+ "scope": {
1777
+ "message": {
1778
+ "type": "String",
1779
+ "desc": "The suggested message",
1780
+ "examples": [ "No data available" ]
1781
+ },
1782
+ "icon": {
1783
+ "type": "String",
1784
+ "desc": "The suggested icon name (following Quasar convention)",
1785
+ "examples": [ "warning" ]
1786
+ }
1787
+ }
1788
+ }
1789
+ },
1790
+
1791
+ "events": {
1792
+ "row-click": {
1793
+ "desc": "Emitted when user clicks/taps on a row; Is not emitted when using body/row/item scoped slots",
1794
+ "params": {
1795
+ "evt": {
1796
+ "type": "Object",
1797
+ "desc": "JS event object",
1798
+ "required": true,
1799
+ "__exemption": [ "examples" ]
1800
+ },
1801
+
1802
+ "row": {
1803
+ "type": "Object",
1804
+ "desc": "The row upon which user has clicked/tapped",
1805
+ "__exemption": [ "examples" ]
1806
+ },
1807
+
1808
+ "index": {
1809
+ "type": "Number",
1810
+ "desc": "Index of the row in the current page",
1811
+ "__exemption": [ "examples" ]
1812
+ }
1813
+ }
1814
+ },
1815
+
1816
+ "row-dblclick": {
1817
+ "desc": "Emitted when user quickly double clicks/taps on a row; Is not emitted when using body/row/item scoped slots; Please check JS dblclick event support before using",
1818
+ "params": {
1819
+ "evt": {
1820
+ "type": "Object",
1821
+ "desc": "JS event object",
1822
+ "required": true,
1823
+ "__exemption": [ "examples" ]
1824
+ },
1825
+
1826
+ "row": {
1827
+ "type": "Object",
1828
+ "desc": "The row upon which user has double clicked/tapped",
1829
+ "__exemption": [ "examples" ]
1830
+ },
1831
+
1832
+ "index": {
1833
+ "type": "Number",
1834
+ "desc": "Index of the row in the current page",
1835
+ "__exemption": [ "examples" ]
1836
+ }
1837
+ }
1838
+ },
1839
+
1840
+ "row-contextmenu": {
1841
+ "desc": "Emitted when user right clicks/long taps on a row; Is not emitted when using body/row/item scoped slots",
1842
+ "params": {
1843
+ "evt": {
1844
+ "type": "Object",
1845
+ "desc": "JS event object",
1846
+ "required": true,
1847
+ "__exemption": [ "examples" ]
1848
+ },
1849
+
1850
+ "row": {
1851
+ "type": "Object",
1852
+ "desc": "The row upon which user has right clicked/long tapped",
1853
+ "__exemption": [ "examples" ]
1854
+ },
1855
+
1856
+ "index": {
1857
+ "type": "Number",
1858
+ "desc": "Index of the row in the current page",
1859
+ "__exemption": [ "examples" ]
1860
+ }
1861
+ }
1862
+ },
1863
+
1864
+ "request": {
1865
+ "desc": "Emitted when a server request is triggered",
1866
+ "params": {
1867
+ "requestProp": {
1868
+ "type": "Object",
1869
+ "desc": "Props of the request",
1870
+ "definition": {
1871
+ "pagination": {
1872
+ "type": "Object",
1873
+ "desc": "Pagination object",
1874
+ "definition": {
1875
+ "sortBy": {
1876
+ "type": "String",
1877
+ "desc": "Column name (from column definition)",
1878
+ "examples": [ "calories" ]
1879
+ },
1880
+ "descending": {
1881
+ "type": "Boolean",
1882
+ "desc": "Is sorting in descending order?"
1883
+ },
1884
+ "page": {
1885
+ "type": "Number",
1886
+ "desc": "Page number (1-based)",
1887
+ "examples": [ 3 ]
1888
+ },
1889
+ "rowsPerPage": {
1890
+ "type": "Number",
1891
+ "desc": "How many rows per page? 0 means Infinite",
1892
+ "examples": [ 10 ]
1893
+ }
1894
+ }
1895
+ },
1896
+ "filter": {
1897
+ "type": "Function",
1898
+ "desc": "Filter method (the 'filter-method' prop)",
1899
+ "params": {
1900
+ "rows": {
1901
+ "type": "Array",
1902
+ "desc": "Array of rows",
1903
+ "required": true,
1904
+ "__exemption": [ "examples" ]
1905
+ },
1906
+ "terms": {
1907
+ "type": [ "String", "Object" ],
1908
+ "desc": "Terms to filter with (is essentially the 'filter' prop value)",
1909
+ "required": true,
1910
+ "__exemption": [ "examples" ]
1911
+ },
1912
+ "cols": {
1913
+ "type": "Array",
1914
+ "desc": "Optional column definitions",
1915
+ "__exemption": [ "examples" ]
1916
+ },
1917
+ "getCellValue": {
1918
+ "type": "Function",
1919
+ "desc": "Optional function to get a cell value",
1920
+ "params": {
1921
+ "col": {
1922
+ "type": "Object",
1923
+ "desc": "Column name from column definitions",
1924
+ "__exemption": [ "examples" ]
1925
+ },
1926
+ "row": {
1927
+ "type": "Object",
1928
+ "desc": "The row object",
1929
+ "__exemption": [ "examples" ]
1930
+ }
1931
+ },
1932
+ "returns": {
1933
+ "type": "Any",
1934
+ "desc": "Parsed/Processed cell value",
1935
+ "examples": [ "Ice Cream Sandwich" ]
1936
+ }
1937
+ }
1938
+ },
1939
+ "returns": {
1940
+ "type": "Array",
1941
+ "desc": "Filtered rows",
1942
+ "__exemption": [ "examples" ]
1943
+ }
1944
+ },
1945
+ "getCellValue": {
1946
+ "type": "Function",
1947
+ "desc": "Optional function to get a cell value",
1948
+ "params": {
1949
+ "col": {
1950
+ "type": "Object",
1951
+ "desc": "Column name from column definitions",
1952
+ "__exemption": [ "examples" ]
1953
+ },
1954
+ "row": {
1955
+ "type": "Object",
1956
+ "desc": "The row object",
1957
+ "__exemption": [ "examples" ]
1958
+ }
1959
+ },
1960
+ "returns": {
1961
+ "type": "Any",
1962
+ "desc": "Parsed/Processed cell value",
1963
+ "examples": [ "Ice Cream Sandwich" ]
1964
+ }
1965
+ }
1966
+ }
1967
+ }
1968
+ }
1969
+ },
1970
+
1971
+ "selection": {
1972
+ "desc": "Emitted when user selects/unselects row(s)",
1973
+ "params": {
1974
+ "details": {
1975
+ "type": "Object",
1976
+ "desc": "Selection details",
1977
+ "definition": {
1978
+ "rows": {
1979
+ "type": "Array",
1980
+ "desc": "Array of row objects that were selected/unselected",
1981
+ "__exemption": [ "examples" ]
1982
+ },
1983
+ "keys": {
1984
+ "type": "Array",
1985
+ "desc": "Array of the keys of rows that were selected/unselected",
1986
+ "__exemption": [ "examples" ]
1987
+ },
1988
+ "added": {
1989
+ "type": "Boolean",
1990
+ "desc": "Were the rows added to selection (true) or removed from selection (false)"
1991
+ },
1992
+ "evt": {
1993
+ "type": "Object",
1994
+ "desc": "JS event object",
1995
+ "required": true,
1996
+ "__exemption": [ "examples" ]
1997
+ }
1998
+ }
1999
+ }
2000
+ }
2001
+ },
2002
+
2003
+ "update:pagination": {
2004
+ "desc": "Used by Vue on 'v-model:pagination' for updating its value",
2005
+ "params": {
2006
+ "newPagination": {
2007
+ "type": "Object",
2008
+ "desc": "The updated pagination object",
2009
+ "definition": {
2010
+ "sortBy": {
2011
+ "type": "String",
2012
+ "desc": "Column name (from column definition)",
2013
+ "examples": [ "calories" ]
2014
+ },
2015
+ "descending": {
2016
+ "type": "Boolean",
2017
+ "desc": "Is sorting in descending order?"
2018
+ },
2019
+ "page": {
2020
+ "type": "Number",
2021
+ "desc": "Page number (1-based)",
2022
+ "examples": [ 3 ]
2023
+ },
2024
+ "rowsPerPage": {
2025
+ "type": "Number",
2026
+ "desc": "How many rows per page? 0 means Infinite",
2027
+ "examples": [ 10 ]
2028
+ }
2029
+ }
2030
+ }
2031
+ }
2032
+ },
2033
+
2034
+ "update:selected": {
2035
+ "desc": "Used by Vue on 'v-model:selected' prop for updating its value",
2036
+ "params": {
2037
+ "newSelected": {
2038
+ "type": "Array",
2039
+ "desc": "The updated selected array",
2040
+ "examples": [
2041
+ "[ { name: 'Frozen Yogurt', calories: 159, fat: 6 } ]"
2042
+ ]
2043
+ }
2044
+ }
2045
+ },
2046
+
2047
+ "update:expanded": {
2048
+ "desc": "Used by Vue on 'v-model:expanded' prop for updating its value",
2049
+ "params": {
2050
+ "newExpanded": {
2051
+ "type": "Array",
2052
+ "desc": "The updated expanded array",
2053
+ "examples": [
2054
+ "[ 'row-a', 'row-b' ]"
2055
+ ]
2056
+ }
2057
+ }
2058
+ },
2059
+
2060
+ "virtual-scroll": {
2061
+ "desc": "Emitted when the virtual scroll occurs, if using virtual scroll",
2062
+ "params": {
2063
+ "details": {
2064
+ "type": "Object",
2065
+ "desc": "Object of properties on the new scroll position",
2066
+ "definition": {
2067
+ "index": {
2068
+ "type": "Number",
2069
+ "desc": "Index of the list item that was scrolled into view (0 based)",
2070
+ "examples": [ 30 ]
2071
+ },
2072
+ "from": {
2073
+ "type": "Number",
2074
+ "desc": "The index of the first list item that is rendered (0 based)",
2075
+ "examples": [ 10 ]
2076
+ },
2077
+ "to": {
2078
+ "type": "Number",
2079
+ "desc": "The index of the last list item that is rendered (0 based)",
2080
+ "examples": [ 50 ]
2081
+ },
2082
+ "direction": {
2083
+ "type": "String",
2084
+ "desc": "Direction of change",
2085
+ "values": [ "increase", "decrease" ]
2086
+ }
2087
+ }
2088
+ }
2089
+ }
2090
+ }
2091
+ },
2092
+
2093
+ "methods": {
2094
+ "requestServerInteraction": {
2095
+ "desc": "Trigger a server request (emits 'request' event)",
2096
+ "params": {
2097
+ "props": {
2098
+ "type": "Object",
2099
+ "desc": "Request details",
2100
+ "definition": {
2101
+ "pagination": {
2102
+ "type": "Object",
2103
+ "desc": "Optional pagination object",
2104
+ "definition": {
2105
+ "sortBy": {
2106
+ "type": "String",
2107
+ "desc": "Column name (from column definition)",
2108
+ "examples": [ "calories" ]
2109
+ },
2110
+ "descending": {
2111
+ "type": "Boolean",
2112
+ "desc": "Is sorting in descending order?"
2113
+ },
2114
+ "page": {
2115
+ "type": "Number",
2116
+ "desc": "Page number (1-based)",
2117
+ "examples": [ 3 ]
2118
+ },
2119
+ "rowsPerPage": {
2120
+ "type": "Number",
2121
+ "desc": "How many rows per page? 0 means Infinite",
2122
+ "examples": [ 10 ]
2123
+ }
2124
+ }
2125
+ },
2126
+ "filter": {
2127
+ "type": "Function",
2128
+ "desc": "Filtering method (the 'filter-method' prop)",
2129
+ "params": {
2130
+ "rows": {
2131
+ "type": "Array",
2132
+ "desc": "Array of rows",
2133
+ "required": true,
2134
+ "__exemption": [ "examples" ]
2135
+ },
2136
+ "terms": {
2137
+ "type": [ "String", "Object" ],
2138
+ "desc": "Terms to filter with (is essentially the 'filter' prop value)",
2139
+ "required": true,
2140
+ "__exemption": [ "examples" ]
2141
+ },
2142
+ "cols": {
2143
+ "type": "Array",
2144
+ "desc": "Optional column definitions",
2145
+ "__exemption": [ "examples" ]
2146
+ },
2147
+ "getCellValue": {
2148
+ "type": "Function",
2149
+ "desc": "Optional function to get a cell value",
2150
+ "params": {
2151
+ "col": {
2152
+ "type": "Object",
2153
+ "desc": "Column name from column definitions",
2154
+ "__exemption": [ "examples" ]
2155
+ },
2156
+ "row": {
2157
+ "type": "Object",
2158
+ "desc": "The row object",
2159
+ "__exemption": [ "examples" ]
2160
+ }
2161
+ },
2162
+ "returns": {
2163
+ "type": "Any",
2164
+ "desc": "Parsed/Processed cell value",
2165
+ "examples": [ "Ice Cream Sandwich" ]
2166
+ }
2167
+ }
2168
+ },
2169
+ "returns": {
2170
+ "type": "Array",
2171
+ "desc": "Filtered rows",
2172
+ "__exemption": [ "examples" ]
2173
+ }
2174
+ }
2175
+ }
2176
+ }
2177
+ }
2178
+ },
2179
+
2180
+ "setPagination": {
2181
+ "desc": "Unless using an external pagination Object (through 'v-model:pagination' prop), you can use this method and force the internal pagination to change",
2182
+ "params": {
2183
+ "pagination": {
2184
+ "type": "Object",
2185
+ "desc": "Pagination object",
2186
+ "required": true,
2187
+ "definition": {
2188
+ "sortBy": {
2189
+ "type": "String",
2190
+ "desc": "Column name (from column definition)",
2191
+ "examples": [ "calories" ]
2192
+ },
2193
+ "descending": {
2194
+ "type": "Boolean",
2195
+ "desc": "Is sorting in descending order?"
2196
+ },
2197
+ "page": {
2198
+ "type": "Number",
2199
+ "desc": "Page number (1-based)",
2200
+ "examples": [ 3 ]
2201
+ },
2202
+ "rowsPerPage": {
2203
+ "type": "Number",
2204
+ "desc": "How many rows per page? 0 means Infinite",
2205
+ "examples": [ 10 ]
2206
+ }
2207
+ }
2208
+ },
2209
+ "forceServerRequest": {
2210
+ "type": "Boolean",
2211
+ "desc": "Also force a server request"
2212
+ }
2213
+ }
2214
+ },
2215
+
2216
+ "firstPage": {
2217
+ "desc": "Navigates to first page"
2218
+ },
2219
+
2220
+ "prevPage": {
2221
+ "desc": "Navigates to previous page, if available"
2222
+ },
2223
+
2224
+ "nextPage": {
2225
+ "desc": "Navigates to next page, if available"
2226
+ },
2227
+
2228
+ "lastPage": {
2229
+ "desc": "Navigates to last page"
2230
+ },
2231
+
2232
+ "isRowSelected": {
2233
+ "desc": "Determine if a row has been selected by user",
2234
+ "params": {
2235
+ "key": {
2236
+ "type": "Any",
2237
+ "desc": "Row key value",
2238
+ "required": true,
2239
+ "examples": [ "calories" ]
2240
+ }
2241
+ },
2242
+ "returns": {
2243
+ "type": "Boolean",
2244
+ "desc": "Is row selected or not?"
2245
+ }
2246
+ },
2247
+
2248
+ "clearSelection": {
2249
+ "desc": "Clears user selection (emits 'update:selected' with empty array)"
2250
+ },
2251
+
2252
+ "isRowExpanded": {
2253
+ "desc": "Determine if a row is expanded or not",
2254
+ "params": {
2255
+ "key": {
2256
+ "type": "Any",
2257
+ "desc": "Row key value",
2258
+ "required": true,
2259
+ "examples": [ "calories" ]
2260
+ }
2261
+ },
2262
+ "returns": {
2263
+ "type": "Boolean",
2264
+ "desc": "Is row expanded or not?"
2265
+ }
2266
+ },
2267
+
2268
+ "setExpanded": {
2269
+ "desc": "Sets the expanded rows keys array; Especially useful if not using an external 'expanded' state otherwise just emits 'update:expanded' with the value",
2270
+ "params": {
2271
+ "expanded": {
2272
+ "type": "Array",
2273
+ "desc": "Array containing keys of the expanded rows",
2274
+ "required": true,
2275
+ "examples": [ "[ 'row-a', 'row-b' ]" ]
2276
+ }
2277
+ }
2278
+ },
2279
+
2280
+ "sort": {
2281
+ "desc": "Trigger a table sort",
2282
+ "params": {
2283
+ "col": {
2284
+ "type": [ "String", "Object" ],
2285
+ "desc": "Column name or column definition object",
2286
+ "required": true,
2287
+ "examples": [ "calories" ]
2288
+ }
2289
+ }
2290
+ },
2291
+
2292
+ "toggleFullscreen": {
2293
+ "desc": "Toggles fullscreen mode"
2294
+ },
2295
+
2296
+ "resetVirtualScroll": {
2297
+ "desc": "Resets the virtual scroll (if using it) computations; Needed for custom edge-cases"
2298
+ },
2299
+
2300
+ "scrollTo": {
2301
+ "desc": "Scroll the table to the row with the specified index in page (0 based)",
2302
+ "params": {
2303
+ "index": {
2304
+ "type": [ "String", "Number" ],
2305
+ "desc": "The index of the row in page (0 based)",
2306
+ "required": true,
2307
+ "examples": [ "1", 23 ]
2308
+ },
2309
+ "edge": {
2310
+ "type": "String",
2311
+ "desc": "Only for virtual scroll - the edge to align to if the row is not visible already (by default it aligns to end if scrolling towards the end and to start otherwise); If the '-force' version is used then it always aligns",
2312
+ "values": [ "start", "center", "end", "start-force", "center-force", "end-force" ],
2313
+ "addedIn": "v1.14.7"
2314
+ }
2315
+ }
2316
+ }
2317
+ }
2318
+ }