quasar 2.2.4 → 2.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (253) hide show
  1. package/dist/api/AppFullscreen.json +15 -8
  2. package/dist/api/BottomSheet.json +23 -2
  3. package/dist/api/Cookies.json +4 -3
  4. package/dist/api/Dialog.json +40 -11
  5. package/dist/api/Loading.json +4 -2
  6. package/dist/api/LoadingBar.json +8 -3
  7. package/dist/api/LocalStorage.json +8 -0
  8. package/dist/api/Morph.json +14 -7
  9. package/dist/api/Mutation.json +1 -1
  10. package/dist/api/Notify.json +41 -27
  11. package/dist/api/QAjaxBar.json +6 -3
  12. package/dist/api/QBreadcrumbs.json +8 -4
  13. package/dist/api/QBreadcrumbsEl.json +4 -2
  14. package/dist/api/QBtn.json +6 -3
  15. package/dist/api/QBtnDropdown.json +10 -5
  16. package/dist/api/QBtnToggle.json +4 -2
  17. package/dist/api/QCard.json +2 -1
  18. package/dist/api/QCardActions.json +2 -1
  19. package/dist/api/QCardSection.json +2 -1
  20. package/dist/api/QCarousel.json +10 -5
  21. package/dist/api/QCarouselControl.json +4 -2
  22. package/dist/api/QChatMessage.json +8 -4
  23. package/dist/api/QCheckbox.json +8 -4
  24. package/dist/api/QChip.json +2 -1
  25. package/dist/api/QCircularProgress.json +27 -6
  26. package/dist/api/QColor.json +6 -3
  27. package/dist/api/QDate.json +79 -5
  28. package/dist/api/QDialog.json +8 -4
  29. package/dist/api/QDrawer.json +10 -5
  30. package/dist/api/QEditor.json +17 -7
  31. package/dist/api/QExpansionItem.json +2 -1
  32. package/dist/api/QFab.json +8 -4
  33. package/dist/api/QFabAction.json +4 -2
  34. package/dist/api/QField.json +2 -1
  35. package/dist/api/QFile.json +3 -0
  36. package/dist/api/QFooter.json +3 -2
  37. package/dist/api/QHeader.json +5 -3
  38. package/dist/api/QIcon.json +2 -1
  39. package/dist/api/QImg.json +8 -4
  40. package/dist/api/QInfiniteScroll.json +6 -3
  41. package/dist/api/QInnerLoading.json +8 -4
  42. package/dist/api/QInput.json +2 -1
  43. package/dist/api/QIntersection.json +17 -1
  44. package/dist/api/QItem.json +2 -1
  45. package/dist/api/QKnob.json +8 -4
  46. package/dist/api/QLayout.json +9 -1
  47. package/dist/api/QLinearProgress.json +17 -1
  48. package/dist/api/QMarkupTable.json +2 -1
  49. package/dist/api/QMenu.json +8 -4
  50. package/dist/api/QNoSsr.json +2 -1
  51. package/dist/api/QOptionGroup.json +2 -1
  52. package/dist/api/QPage.json +2 -1
  53. package/dist/api/QPageScroller.json +8 -4
  54. package/dist/api/QPageSticky.json +2 -1
  55. package/dist/api/QPagination.json +10 -6
  56. package/dist/api/QParallax.json +2 -1
  57. package/dist/api/QPopupEdit.json +5 -2
  58. package/dist/api/QPopupProxy.json +4 -2
  59. package/dist/api/QRange.json +8 -4
  60. package/dist/api/QRating.json +2 -1
  61. package/dist/api/QResizeObserver.json +4 -1
  62. package/dist/api/QRouteTab.json +5 -26
  63. package/dist/api/QScrollArea.json +29 -4
  64. package/dist/api/QScrollObserver.json +13 -1
  65. package/dist/api/QSelect.json +135 -37
  66. package/dist/api/QSeparator.json +2 -1
  67. package/dist/api/QSkeleton.json +9 -5
  68. package/dist/api/QSlideItem.json +9 -0
  69. package/dist/api/QSlideTransition.json +2 -1
  70. package/dist/api/QSlider.json +8 -4
  71. package/dist/api/QSpinner.json +2 -1
  72. package/dist/api/QSplitter.json +4 -2
  73. package/dist/api/QStep.json +2 -1
  74. package/dist/api/QStepper.json +6 -3
  75. package/dist/api/QTab.json +4 -2
  76. package/dist/api/QTabPanels.json +6 -3
  77. package/dist/api/QTable.json +216 -93
  78. package/dist/api/QTabs.json +4 -2
  79. package/dist/api/QTime.json +16 -4
  80. package/dist/api/QTimeline.json +4 -2
  81. package/dist/api/QTimelineEntry.json +4 -2
  82. package/dist/api/QToggle.json +8 -4
  83. package/dist/api/QTooltip.json +18 -9
  84. package/dist/api/QTree.json +26 -15
  85. package/dist/api/QUploader.json +93 -5
  86. package/dist/api/QVirtualScroll.json +23 -9
  87. package/dist/api/ScrollFire.json +1 -1
  88. package/dist/api/SessionStorage.json +8 -0
  89. package/dist/api/TouchHold.json +2 -1
  90. package/dist/api/TouchRepeat.json +2 -1
  91. package/dist/api/TouchSwipe.json +2 -1
  92. package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
  93. package/dist/icon-set/eva-icons.umd.prod.js +1 -1
  94. package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
  95. package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
  96. package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
  97. package/dist/icon-set/line-awesome.umd.prod.js +1 -1
  98. package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
  99. package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
  100. package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
  101. package/dist/icon-set/material-icons.umd.prod.js +1 -1
  102. package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
  103. package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
  104. package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
  105. package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
  106. package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
  107. package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
  108. package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
  109. package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
  110. package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
  111. package/dist/icon-set/svg-ionicons-v6.umd.prod.js +6 -0
  112. package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
  113. package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
  114. package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
  115. package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
  116. package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
  117. package/dist/icon-set/svg-mdi-v4.umd.prod.js +1 -1
  118. package/dist/icon-set/svg-mdi-v5.umd.prod.js +1 -1
  119. package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
  120. package/dist/icon-set/svg-themify.umd.prod.js +1 -1
  121. package/dist/icon-set/themify.umd.prod.js +1 -1
  122. package/dist/lang/ar.umd.prod.js +1 -1
  123. package/dist/lang/az-Latn.umd.prod.js +1 -1
  124. package/dist/lang/bg.umd.prod.js +1 -1
  125. package/dist/lang/bn.umd.prod.js +1 -1
  126. package/dist/lang/ca.umd.prod.js +1 -1
  127. package/dist/lang/cs.umd.prod.js +1 -1
  128. package/dist/lang/da.umd.prod.js +1 -1
  129. package/dist/lang/de.umd.prod.js +1 -1
  130. package/dist/lang/el.umd.prod.js +1 -1
  131. package/dist/lang/en-GB.umd.prod.js +1 -1
  132. package/dist/lang/en-US.umd.prod.js +1 -1
  133. package/dist/lang/eo.umd.prod.js +1 -1
  134. package/dist/lang/es.umd.prod.js +1 -1
  135. package/dist/lang/et.umd.prod.js +1 -1
  136. package/dist/lang/fa-IR.umd.prod.js +1 -1
  137. package/dist/lang/fa.umd.prod.js +1 -1
  138. package/dist/lang/fi.umd.prod.js +1 -1
  139. package/dist/lang/fr.umd.prod.js +1 -1
  140. package/dist/lang/gn.umd.prod.js +1 -1
  141. package/dist/lang/he.umd.prod.js +1 -1
  142. package/dist/lang/hr.umd.prod.js +1 -1
  143. package/dist/lang/hu.umd.prod.js +1 -1
  144. package/dist/lang/id.umd.prod.js +1 -1
  145. package/dist/lang/is.umd.prod.js +1 -1
  146. package/dist/lang/it.umd.prod.js +1 -1
  147. package/dist/lang/ja.umd.prod.js +1 -1
  148. package/dist/lang/km.umd.prod.js +1 -1
  149. package/dist/lang/ko-KR.umd.prod.js +1 -1
  150. package/dist/lang/kur-CKB.umd.prod.js +1 -1
  151. package/dist/lang/lt.umd.prod.js +1 -1
  152. package/dist/lang/lu.umd.prod.js +1 -1
  153. package/dist/lang/lv.umd.prod.js +1 -1
  154. package/dist/lang/ml.umd.prod.js +1 -1
  155. package/dist/lang/ms.umd.prod.js +1 -1
  156. package/dist/lang/nb-NO.umd.prod.js +1 -1
  157. package/dist/lang/nl.umd.prod.js +1 -1
  158. package/dist/lang/pl.umd.prod.js +1 -1
  159. package/dist/lang/pt-BR.umd.prod.js +1 -1
  160. package/dist/lang/pt.umd.prod.js +1 -1
  161. package/dist/lang/ro.umd.prod.js +1 -1
  162. package/dist/lang/ru.umd.prod.js +1 -1
  163. package/dist/lang/sk.umd.prod.js +1 -1
  164. package/dist/lang/sl.umd.prod.js +1 -1
  165. package/dist/lang/sr-CYR.umd.prod.js +1 -1
  166. package/dist/lang/sr.umd.prod.js +1 -1
  167. package/dist/lang/sv.umd.prod.js +1 -1
  168. package/dist/lang/ta.umd.prod.js +1 -1
  169. package/dist/lang/th.umd.prod.js +1 -1
  170. package/dist/lang/tr.umd.prod.js +1 -1
  171. package/dist/lang/ug.umd.prod.js +1 -1
  172. package/dist/lang/uk.umd.prod.js +1 -1
  173. package/dist/lang/vi.umd.prod.js +1 -1
  174. package/dist/lang/zh-CN.umd.prod.js +1 -1
  175. package/dist/lang/zh-TW.umd.prod.js +1 -1
  176. package/dist/quasar.cjs.prod.js +2 -2
  177. package/dist/quasar.css +7 -2
  178. package/dist/quasar.esm.prod.js +2 -2
  179. package/dist/quasar.prod.css +1 -1
  180. package/dist/quasar.rtl.css +7 -2
  181. package/dist/quasar.rtl.prod.css +1 -1
  182. package/dist/quasar.sass +6 -3
  183. package/dist/quasar.umd.js +185 -105
  184. package/dist/quasar.umd.prod.js +2 -2
  185. package/dist/ssr-directives/Morph.js +1 -1
  186. package/dist/types/api/cookies.d.ts +1 -1
  187. package/dist/types/composables.d.ts +5 -1
  188. package/dist/types/extras/icon-set.d.ts +1 -0
  189. package/dist/types/index.d.ts +516 -176
  190. package/dist/vetur/quasar-attributes.json +14 -2
  191. package/dist/vetur/quasar-tags.json +5 -2
  192. package/dist/web-types/web-types.json +43 -8
  193. package/icon-set/svg-ionicons-v6.js +225 -0
  194. package/package.json +5 -2
  195. package/src/api.extends.json +7 -0
  196. package/src/body.js +14 -4
  197. package/src/components/btn/QBtn.js +1 -0
  198. package/src/components/circular-progress/QCircularProgress.js +6 -1
  199. package/src/components/circular-progress/QCircularProgress.json +6 -0
  200. package/src/components/date/QDate.json +59 -1
  201. package/src/components/editor/QEditor.js +2 -2
  202. package/src/components/editor/QEditor.json +6 -2
  203. package/src/components/field/QField.json +3 -3
  204. package/src/components/file/QFile.json +3 -0
  205. package/src/components/footer/QFooter.json +1 -1
  206. package/src/components/header/QHeader.json +1 -1
  207. package/src/components/icon/QIcon.js +1 -1
  208. package/src/components/infinite-scroll/QInfiniteScroll.js +48 -31
  209. package/src/components/intersection/QIntersection.js +9 -1
  210. package/src/components/intersection/QIntersection.json +9 -0
  211. package/src/components/layout/QLayout.json +8 -1
  212. package/src/components/linear-progress/QLinearProgress.js +10 -1
  213. package/src/components/linear-progress/QLinearProgress.json +6 -0
  214. package/src/components/linear-progress/QLinearProgress.sass +3 -2
  215. package/src/components/pagination/QPagination.json +0 -1
  216. package/src/components/popup-edit/QPopupEdit.json +1 -0
  217. package/src/components/popup-proxy/QPopupProxy.js +6 -15
  218. package/src/components/resize-observer/QResizeObserver.json +2 -0
  219. package/src/components/scroll-area/QScrollArea.js +8 -13
  220. package/src/components/scroll-area/QScrollArea.json +28 -4
  221. package/src/components/scroll-observer/QScrollObserver.json +11 -0
  222. package/src/components/select/QSelect.js +7 -3
  223. package/src/components/select/QSelect.json +71 -11
  224. package/src/components/skeleton/QSkeleton.json +1 -4
  225. package/src/components/slide-item/QSlideItem.json +9 -0
  226. package/src/components/slider/use-slider.js +3 -3
  227. package/src/components/table/QTable.json +155 -60
  228. package/src/components/table/table-pagination.js +6 -2
  229. package/src/components/tabs/QRouteTab.json +1 -23
  230. package/src/components/time/QTime.json +8 -0
  231. package/src/components/tree/QTree.json +14 -9
  232. package/src/components/uploader/xhr-uploader-plugin.json +105 -4
  233. package/src/components/virtual-scroll/use-virtual-scroll.js +17 -1
  234. package/src/components/virtual-scroll/use-virtual-scroll.json +5 -0
  235. package/src/composables/private/use-field.js +4 -4
  236. package/src/composables/private/use-refocus-target.js +12 -3
  237. package/src/composables/private/use-split-attrs.js +10 -7
  238. package/src/composables/use-dialog-plugin-component.js +7 -1
  239. package/src/css/core/transitions.sass +3 -1
  240. package/src/directives/Mutation.json +2 -3
  241. package/src/directives/ScrollFire.json +2 -3
  242. package/src/install-quasar.js +1 -0
  243. package/src/plugins/AppFullscreen.json +8 -8
  244. package/src/plugins/Cookies.json +2 -2
  245. package/src/plugins/Dialog.json +4 -2
  246. package/src/plugins/LoadingBar.json +4 -3
  247. package/src/plugins/Notify.json +13 -19
  248. package/src/utils/create-uploader-component.js +6 -4
  249. package/src/utils/private/get-emits-object.js +11 -0
  250. package/src/utils/private/global-dialog.json +16 -2
  251. package/src/utils/private/vm.js +3 -3
  252. package/src/utils/private/web-storage.json +10 -0
  253. package/wrappers/index.js +4 -0
@@ -17,6 +17,18 @@
17
17
  "type": [ "String", "Function" ],
18
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
19
  "default": "id",
20
+ "params": {
21
+ "row": {
22
+ "type": "Object",
23
+ "desc": "The current row being processed",
24
+ "examples": [ "{ name: 'Lorem Ipsum', price: 19 }" ]
25
+ }
26
+ },
27
+ "returns": {
28
+ "type": "Any",
29
+ "desc": "Current row's key",
30
+ "examples": [ "'34f39dda-6206-4071-a9df-4393aabe49ac'", "34" ]
31
+ },
20
32
  "examples": [ "row-key=\"name\"", ":row-key=\"row => row.name\"" ],
21
33
  "category": "general"
22
34
  },
@@ -132,33 +144,44 @@
132
144
  "definition": {
133
145
  "name": {
134
146
  "type": "String",
135
- "desc": "Unique id, identifies column, (used by pagination.sortBy, 'body-cell-[name]' slot, ...)",
136
147
  "required": true,
148
+ "desc": "Unique id, identifies column, (used by pagination.sortBy, 'body-cell-[name]' slot, ...)",
137
149
  "examples": [ "desc" ]
138
150
  },
139
151
  "label": {
140
152
  "type": "String",
141
- "desc": "Label for header",
142
153
  "required": true,
154
+ "desc": "Label for header",
143
155
  "examples": [ "Dessert (100g serving)" ]
144
156
  },
145
157
  "field": {
146
158
  "type": [ "String", "Function" ],
147
- "desc": "Row Object property to determine value for this column or function which maps to the required property",
148
159
  "required": true,
149
- "examples": [ "name", "row => row.some.nested.prop" ]
160
+ "desc": "Row Object property to determine value for this column or function which maps to the required property",
161
+ "params": {
162
+ "row": {
163
+ "type": "Object",
164
+ "required": true,
165
+ "desc": "The current row being processed",
166
+ "examples": [ "{ name: 'Lorem Ipsum', prices: { active: 19, old: 25, list: 29 } }" ]
167
+ }
168
+ },
169
+ "returns": {
170
+ "type": "Any",
171
+ "desc": "Value for this column",
172
+ "examples": [ "19" ]
173
+ },
174
+ "examples": [ "name", "row => row.prices.active" ]
150
175
  },
151
176
  "required": {
152
177
  "type": "Boolean",
153
- "desc": "If we use visible-columns, this col will always be visible",
154
- "default": false
178
+ "desc": "If we use visible-columns, this col will always be visible"
155
179
  },
156
180
  "align": {
157
181
  "type": "String",
158
182
  "desc": "Horizontal alignment of cells in this column",
159
183
  "values": [ "left", "right", "center" ],
160
- "default": "right",
161
- "examples": [ "left", "right", "center" ]
184
+ "default": "right"
162
185
  },
163
186
  "sortable": {
164
187
  "type": "Boolean",
@@ -172,21 +195,25 @@
172
195
  "params": {
173
196
  "a": {
174
197
  "type": "Any",
198
+ "required": true,
175
199
  "desc": "Value of the first comparison term",
176
200
  "examples": [ 123, "abc" ]
177
201
  },
178
202
  "b": {
179
203
  "type": "Any",
204
+ "required": true,
180
205
  "desc": "Value of the second comparison term",
181
206
  "examples": [ 123, "abc" ]
182
207
  },
183
208
  "rowA": {
184
209
  "type": "Object",
210
+ "required": true,
185
211
  "desc": "Full Row object in which is contained the first term",
186
212
  "examples": [ "{ name: 'Potassium', value: 'K' }" ]
187
213
  },
188
214
  "rowB": {
189
215
  "type": "Object",
216
+ "required": true,
190
217
  "desc": "Full Row object in which is contained the second term",
191
218
  "examples": [ "{ name: 'Fluorine', value: 'F' }" ]
192
219
  }
@@ -210,11 +237,13 @@
210
237
  "params": {
211
238
  "val": {
212
239
  "type": "Any",
240
+ "required": true,
213
241
  "desc": "Value of the cell",
214
242
  "examples": [ 123, "abc" ]
215
243
  },
216
244
  "row": {
217
245
  "type": "Object",
246
+ "required": true,
218
247
  "desc": "Full Row object in which the cell is contained",
219
248
  "examples": [ "{ name: 'Potassium', value: 'K' }" ]
220
249
  }
@@ -228,17 +257,41 @@
228
257
  "style": {
229
258
  "type": [ "String", "Function" ],
230
259
  "desc": "Style to apply on normal cells of the column",
260
+ "params": {
261
+ "row": {
262
+ "type": "Object",
263
+ "required": true,
264
+ "desc": "The current row being processed",
265
+ "examples": [ "{ name: 'Frozen Yogurt', calories: 159 }" ]
266
+ }
267
+ },
268
+ "returns": {
269
+ "type": "String",
270
+ "__exemption": [ "desc", "examples" ]
271
+ },
231
272
  "examples": [
232
- "width: 500px",
233
- "row => (row.calories % 2 === 0 ? 'width:10px' : 'font-size:2em')"
273
+ "'width: 500px'",
274
+ "row => (row.calories % 2 === 0 ? 'width: 10px' : 'font-size: 2em; font-weight: bold')"
234
275
  ]
235
276
  },
236
277
  "classes": {
237
278
  "type": [ "String", "Function" ],
238
279
  "desc": "Classes to add on normal cells of the column",
280
+ "params": {
281
+ "row": {
282
+ "type": "Object",
283
+ "required": true,
284
+ "desc": "The current row being processed",
285
+ "examples": [ "{ name: 'Frozen Yogurt', calories: 159 }" ]
286
+ }
287
+ },
288
+ "returns": {
289
+ "type": "String",
290
+ "__exemption": [ "desc", "examples" ]
291
+ },
239
292
  "examples": [
240
- "my-special-class",
241
- "row => (row.calories % 2 === 0 ? 'bg-green' : 'bg-yellow')"
293
+ "'my-special-class bg-primary'",
294
+ "row => (row.calories % 2 === 0 ? 'bg-green text-white' : 'bg-yellow')"
242
295
  ]
243
296
  },
244
297
  "headerStyle": {
@@ -328,7 +381,6 @@
328
381
  "desc": "Use a separator/border between rows, columns or all cells",
329
382
  "default": "horizontal",
330
383
  "values": [ "horizontal", "vertical", "cell", "none" ],
331
- "examples": [ "cell" ],
332
384
  "category": "content"
333
385
  },
334
386
 
@@ -534,18 +586,16 @@
534
586
  "rows": {
535
587
  "type": "Array",
536
588
  "desc": "Array of rows",
537
- "required": true,
538
589
  "__exemption": [ "examples" ]
539
590
  },
540
591
  "terms": {
541
592
  "type": [ "String", "Object" ],
542
593
  "desc": "Terms to filter with (is essentially the 'filter' prop value)",
543
- "required": true,
544
594
  "__exemption": [ "examples" ]
545
595
  },
546
596
  "cols": {
547
597
  "type": "Array",
548
- "desc": "Optional column definitions",
598
+ "desc": "Column definitions",
549
599
  "__exemption": [ "examples" ]
550
600
  },
551
601
  "getCellValue": {
@@ -554,11 +604,13 @@
554
604
  "params": {
555
605
  "col": {
556
606
  "type": "Object",
607
+ "required": true,
557
608
  "desc": "Column name from column definitions",
558
609
  "__exemption": [ "examples" ]
559
610
  },
560
611
  "row": {
561
612
  "type": "Object",
613
+ "required": true,
562
614
  "desc": "The row object",
563
615
  "__exemption": [ "examples" ]
564
616
  }
@@ -733,8 +785,8 @@
733
785
  "params": {
734
786
  "col": {
735
787
  "type": [ "String", "Object" ],
736
- "desc": "Column name or column definition object",
737
788
  "required": true,
789
+ "desc": "Column name or column definition object",
738
790
  "examples": [ "calories" ]
739
791
  }
740
792
  },
@@ -751,8 +803,7 @@
751
803
  "reactive": true
752
804
  },
753
805
  "color": {
754
- "extends": "color",
755
- "default": "grey-8"
806
+ "extends": "color"
756
807
  },
757
808
  "dark": {
758
809
  "extends": "dark"
@@ -802,8 +853,8 @@
802
853
  "params": {
803
854
  "col": {
804
855
  "type": [ "String", "Object" ],
805
- "desc": "Column name or column definition object",
806
856
  "required": true,
857
+ "desc": "Column name or column definition object",
807
858
  "examples": [ "calories" ]
808
859
  }
809
860
  },
@@ -820,8 +871,7 @@
820
871
  "reactive": true
821
872
  },
822
873
  "color": {
823
- "extends": "color",
824
- "default": "grey-8"
874
+ "extends": "color"
825
875
  },
826
876
  "dark": {
827
877
  "extends": "dark"
@@ -886,8 +936,8 @@
886
936
  "params": {
887
937
  "col": {
888
938
  "type": [ "String", "Object" ],
889
- "desc": "Column name or column definition object",
890
939
  "required": true,
940
+ "desc": "Column name or column definition object",
891
941
  "examples": [ "calories" ]
892
942
  }
893
943
  },
@@ -904,8 +954,7 @@
904
954
  "reactive": true
905
955
  },
906
956
  "color": {
907
- "extends": "color",
908
- "default": "grey-8"
957
+ "extends": "color"
909
958
  },
910
959
  "dark": {
911
960
  "extends": "dark"
@@ -965,8 +1014,8 @@
965
1014
  "params": {
966
1015
  "col": {
967
1016
  "type": [ "String", "Object" ],
968
- "desc": "Column name or column definition object",
969
1017
  "required": true,
1018
+ "desc": "Column name or column definition object",
970
1019
  "examples": [ "calories" ]
971
1020
  }
972
1021
  },
@@ -983,8 +1032,7 @@
983
1032
  "reactive": true
984
1033
  },
985
1034
  "color": {
986
- "extends": "color",
987
- "default": "grey-8"
1035
+ "extends": "color"
988
1036
  },
989
1037
  "dark": {
990
1038
  "extends": "dark"
@@ -1014,8 +1062,8 @@
1014
1062
  "params": {
1015
1063
  "col": {
1016
1064
  "type": [ "String", "Object" ],
1017
- "desc": "Column name or column definition object",
1018
1065
  "required": true,
1066
+ "desc": "Column name or column definition object",
1019
1067
  "examples": [ "calories" ]
1020
1068
  }
1021
1069
  },
@@ -1032,8 +1080,7 @@
1032
1080
  "reactive": true
1033
1081
  },
1034
1082
  "color": {
1035
- "extends": "color",
1036
- "default": "grey-8"
1083
+ "extends": "color"
1037
1084
  },
1038
1085
  "dark": {
1039
1086
  "extends": "dark"
@@ -1077,8 +1124,8 @@
1077
1124
  "params": {
1078
1125
  "col": {
1079
1126
  "type": [ "String", "Object" ],
1080
- "desc": "Column name or column definition object",
1081
1127
  "required": true,
1128
+ "desc": "Column name or column definition object",
1082
1129
  "examples": [ "calories" ]
1083
1130
  }
1084
1131
  },
@@ -1095,8 +1142,7 @@
1095
1142
  "reactive": true
1096
1143
  },
1097
1144
  "color": {
1098
- "extends": "color",
1099
- "default": "grey-8"
1145
+ "extends": "color"
1100
1146
  },
1101
1147
  "dark": {
1102
1148
  "extends": "dark"
@@ -1131,8 +1177,8 @@
1131
1177
  "params": {
1132
1178
  "col": {
1133
1179
  "type": [ "String", "Object" ],
1134
- "desc": "Column name or column definition object",
1135
1180
  "required": true,
1181
+ "desc": "Column name or column definition object",
1136
1182
  "examples": [ "calories" ]
1137
1183
  }
1138
1184
  },
@@ -1149,8 +1195,7 @@
1149
1195
  "reactive": true
1150
1196
  },
1151
1197
  "color": {
1152
- "extends": "color",
1153
- "default": "grey-8"
1198
+ "extends": "color"
1154
1199
  },
1155
1200
  "dark": {
1156
1201
  "extends": "dark"
@@ -1200,8 +1245,8 @@
1200
1245
  "params": {
1201
1246
  "col": {
1202
1247
  "type": [ "String", "Object" ],
1203
- "desc": "Column name or column definition object",
1204
1248
  "required": true,
1249
+ "desc": "Column name or column definition object",
1205
1250
  "examples": [ "calories" ]
1206
1251
  }
1207
1252
  },
@@ -1218,8 +1263,7 @@
1218
1263
  "reactive": true
1219
1264
  },
1220
1265
  "color": {
1221
- "extends": "color",
1222
- "default": "grey-8"
1266
+ "extends": "color"
1223
1267
  },
1224
1268
  "dark": {
1225
1269
  "extends": "dark"
@@ -1249,8 +1293,8 @@
1249
1293
  "params": {
1250
1294
  "col": {
1251
1295
  "type": [ "String", "Object" ],
1252
- "desc": "Column name or column definition object",
1253
1296
  "required": true,
1297
+ "desc": "Column name or column definition object",
1254
1298
  "examples": [ "calories" ]
1255
1299
  }
1256
1300
  },
@@ -1267,8 +1311,7 @@
1267
1311
  "reactive": true
1268
1312
  },
1269
1313
  "color": {
1270
- "extends": "color",
1271
- "default": "grey-8"
1314
+ "extends": "color"
1272
1315
  },
1273
1316
  "dark": {
1274
1317
  "extends": "dark"
@@ -1310,20 +1353,24 @@
1310
1353
  "definition": {
1311
1354
  "sortBy": {
1312
1355
  "type": "String",
1356
+ "required": true,
1313
1357
  "desc": "Column name (from column definition)",
1314
1358
  "examples": [ "calories" ]
1315
1359
  },
1316
1360
  "descending": {
1317
1361
  "type": "Boolean",
1362
+ "required": true,
1318
1363
  "desc": "Is sorting in descending order?"
1319
1364
  },
1320
1365
  "page": {
1321
1366
  "type": "Number",
1367
+ "required": true,
1322
1368
  "desc": "Page number (1-based)",
1323
1369
  "examples": [ 3 ]
1324
1370
  },
1325
1371
  "rowsPerPage": {
1326
1372
  "type": "Number",
1373
+ "required": true,
1327
1374
  "desc": "How many rows per page? 0 means Infinite",
1328
1375
  "examples": [ 10 ]
1329
1376
  }
@@ -1388,20 +1435,24 @@
1388
1435
  "definition": {
1389
1436
  "sortBy": {
1390
1437
  "type": "String",
1438
+ "required": true,
1391
1439
  "desc": "Column name (from column definition)",
1392
1440
  "examples": [ "calories" ]
1393
1441
  },
1394
1442
  "descending": {
1395
1443
  "type": "Boolean",
1444
+ "required": true,
1396
1445
  "desc": "Is sorting in descending order?"
1397
1446
  },
1398
1447
  "page": {
1399
1448
  "type": "Number",
1449
+ "required": true,
1400
1450
  "desc": "Page number (1-based)",
1401
1451
  "examples": [ 3 ]
1402
1452
  },
1403
1453
  "rowsPerPage": {
1404
1454
  "type": "Number",
1455
+ "required": true,
1405
1456
  "desc": "How many rows per page? 0 means Infinite",
1406
1457
  "examples": [ 10 ]
1407
1458
  }
@@ -1466,20 +1517,24 @@
1466
1517
  "definition": {
1467
1518
  "sortBy": {
1468
1519
  "type": "String",
1520
+ "required": true,
1469
1521
  "desc": "Column name (from column definition)",
1470
1522
  "examples": [ "calories" ]
1471
1523
  },
1472
1524
  "descending": {
1473
1525
  "type": "Boolean",
1526
+ "required": true,
1474
1527
  "desc": "Is sorting in descending order?"
1475
1528
  },
1476
1529
  "page": {
1477
1530
  "type": "Number",
1531
+ "required": true,
1478
1532
  "desc": "Page number (1-based)",
1479
1533
  "examples": [ 3 ]
1480
1534
  },
1481
1535
  "rowsPerPage": {
1482
1536
  "type": "Number",
1537
+ "required": true,
1483
1538
  "desc": "How many rows per page? 0 means Infinite",
1484
1539
  "examples": [ 10 ]
1485
1540
  }
@@ -1544,20 +1599,24 @@
1544
1599
  "definition": {
1545
1600
  "sortBy": {
1546
1601
  "type": "String",
1602
+ "required": true,
1547
1603
  "desc": "Column name (from column definition)",
1548
1604
  "examples": [ "calories" ]
1549
1605
  },
1550
1606
  "descending": {
1551
1607
  "type": "Boolean",
1608
+ "required": true,
1552
1609
  "desc": "Is sorting in descending order?"
1553
1610
  },
1554
1611
  "page": {
1555
1612
  "type": "Number",
1613
+ "required": true,
1556
1614
  "desc": "Page number (1-based)",
1557
1615
  "examples": [ 3 ]
1558
1616
  },
1559
1617
  "rowsPerPage": {
1560
1618
  "type": "Number",
1619
+ "required": true,
1561
1620
  "desc": "How many rows per page? 0 means Infinite",
1562
1621
  "examples": [ 10 ]
1563
1622
  }
@@ -1622,20 +1681,24 @@
1622
1681
  "definition": {
1623
1682
  "sortBy": {
1624
1683
  "type": "String",
1684
+ "required": true,
1625
1685
  "desc": "Column name (from column definition)",
1626
1686
  "examples": [ "calories" ]
1627
1687
  },
1628
1688
  "descending": {
1629
1689
  "type": "Boolean",
1690
+ "required": true,
1630
1691
  "desc": "Is sorting in descending order?"
1631
1692
  },
1632
1693
  "page": {
1633
1694
  "type": "Number",
1695
+ "required": true,
1634
1696
  "desc": "Page number (1-based)",
1635
1697
  "examples": [ 3 ]
1636
1698
  },
1637
1699
  "rowsPerPage": {
1638
1700
  "type": "Number",
1701
+ "required": true,
1639
1702
  "desc": "How many rows per page? 0 means Infinite",
1640
1703
  "examples": [ 10 ]
1641
1704
  }
@@ -1700,20 +1763,24 @@
1700
1763
  "definition": {
1701
1764
  "sortBy": {
1702
1765
  "type": "String",
1766
+ "required": true,
1703
1767
  "desc": "Column name (from column definition)",
1704
1768
  "examples": [ "calories" ]
1705
1769
  },
1706
1770
  "descending": {
1707
1771
  "type": "Boolean",
1772
+ "required": true,
1708
1773
  "desc": "Is sorting in descending order?"
1709
1774
  },
1710
1775
  "page": {
1711
1776
  "type": "Number",
1777
+ "required": true,
1712
1778
  "desc": "Page number (1-based)",
1713
1779
  "examples": [ 3 ]
1714
1780
  },
1715
1781
  "rowsPerPage": {
1716
1782
  "type": "Number",
1783
+ "required": true,
1717
1784
  "desc": "How many rows per page? 0 means Infinite",
1718
1785
  "examples": [ 10 ]
1719
1786
  }
@@ -1793,7 +1860,6 @@
1793
1860
  "evt": {
1794
1861
  "type": "Object",
1795
1862
  "desc": "JS event object",
1796
- "required": true,
1797
1863
  "__exemption": [ "examples" ]
1798
1864
  },
1799
1865
 
@@ -1817,7 +1883,6 @@
1817
1883
  "evt": {
1818
1884
  "type": "Object",
1819
1885
  "desc": "JS event object",
1820
- "required": true,
1821
1886
  "__exemption": [ "examples" ]
1822
1887
  },
1823
1888
 
@@ -1841,7 +1906,6 @@
1841
1906
  "evt": {
1842
1907
  "type": "Object",
1843
1908
  "desc": "JS event object",
1844
- "required": true,
1845
1909
  "__exemption": [ "examples" ]
1846
1910
  },
1847
1911
 
@@ -1868,24 +1932,29 @@
1868
1932
  "definition": {
1869
1933
  "pagination": {
1870
1934
  "type": "Object",
1935
+ "required": true,
1871
1936
  "desc": "Pagination object",
1872
1937
  "definition": {
1873
1938
  "sortBy": {
1874
1939
  "type": "String",
1940
+ "required": true,
1875
1941
  "desc": "Column name (from column definition)",
1876
1942
  "examples": [ "calories" ]
1877
1943
  },
1878
1944
  "descending": {
1879
1945
  "type": "Boolean",
1946
+ "required": true,
1880
1947
  "desc": "Is sorting in descending order?"
1881
1948
  },
1882
1949
  "page": {
1883
1950
  "type": "Number",
1951
+ "required": true,
1884
1952
  "desc": "Page number (1-based)",
1885
1953
  "examples": [ 3 ]
1886
1954
  },
1887
1955
  "rowsPerPage": {
1888
1956
  "type": "Number",
1957
+ "required": true,
1889
1958
  "desc": "How many rows per page? 0 means Infinite",
1890
1959
  "examples": [ 10 ]
1891
1960
  }
@@ -1893,18 +1962,19 @@
1893
1962
  },
1894
1963
  "filter": {
1895
1964
  "type": "Function",
1965
+ "required": true,
1896
1966
  "desc": "Filter method (the 'filter-method' prop)",
1897
1967
  "params": {
1898
1968
  "rows": {
1899
1969
  "type": "Array",
1900
- "desc": "Array of rows",
1901
1970
  "required": true,
1971
+ "desc": "Array of rows",
1902
1972
  "__exemption": [ "examples" ]
1903
1973
  },
1904
1974
  "terms": {
1905
1975
  "type": [ "String", "Object" ],
1906
- "desc": "Terms to filter with (is essentially the 'filter' prop value)",
1907
1976
  "required": true,
1977
+ "desc": "Terms to filter with (is essentially the 'filter' prop value)",
1908
1978
  "__exemption": [ "examples" ]
1909
1979
  },
1910
1980
  "cols": {
@@ -1918,11 +1988,13 @@
1918
1988
  "params": {
1919
1989
  "col": {
1920
1990
  "type": "Object",
1991
+ "required": true,
1921
1992
  "desc": "Column name from column definitions",
1922
1993
  "__exemption": [ "examples" ]
1923
1994
  },
1924
1995
  "row": {
1925
1996
  "type": "Object",
1997
+ "required": true,
1926
1998
  "desc": "The row object",
1927
1999
  "__exemption": [ "examples" ]
1928
2000
  }
@@ -1942,15 +2014,18 @@
1942
2014
  },
1943
2015
  "getCellValue": {
1944
2016
  "type": "Function",
1945
- "desc": "Optional function to get a cell value",
2017
+ "required": true,
2018
+ "desc": "Function to get a cell value",
1946
2019
  "params": {
1947
2020
  "col": {
1948
2021
  "type": "Object",
2022
+ "required": true,
1949
2023
  "desc": "Column name from column definitions",
1950
2024
  "__exemption": [ "examples" ]
1951
2025
  },
1952
2026
  "row": {
1953
2027
  "type": "Object",
2028
+ "required": true,
1954
2029
  "desc": "The row object",
1955
2030
  "__exemption": [ "examples" ]
1956
2031
  }
@@ -1975,22 +2050,25 @@
1975
2050
  "definition": {
1976
2051
  "rows": {
1977
2052
  "type": "Array",
2053
+ "required": true,
1978
2054
  "desc": "Array of row objects that were selected/unselected",
1979
2055
  "__exemption": [ "examples" ]
1980
2056
  },
1981
2057
  "keys": {
1982
2058
  "type": "Array",
2059
+ "required": true,
1983
2060
  "desc": "Array of the keys of rows that were selected/unselected",
1984
2061
  "__exemption": [ "examples" ]
1985
2062
  },
1986
2063
  "added": {
1987
2064
  "type": "Boolean",
2065
+ "required": true,
1988
2066
  "desc": "Were the rows added to selection (true) or removed from selection (false)"
1989
2067
  },
1990
2068
  "evt": {
1991
2069
  "type": "Object",
1992
- "desc": "JS event object",
1993
2070
  "required": true,
2071
+ "desc": "JS event object",
1994
2072
  "__exemption": [ "examples" ]
1995
2073
  }
1996
2074
  }
@@ -2007,22 +2085,32 @@
2007
2085
  "definition": {
2008
2086
  "sortBy": {
2009
2087
  "type": "String",
2088
+ "required": true,
2010
2089
  "desc": "Column name (from column definition)",
2011
2090
  "examples": [ "calories" ]
2012
2091
  },
2013
2092
  "descending": {
2014
2093
  "type": "Boolean",
2094
+ "required": true,
2015
2095
  "desc": "Is sorting in descending order?"
2016
2096
  },
2017
2097
  "page": {
2018
2098
  "type": "Number",
2099
+ "required": true,
2019
2100
  "desc": "Page number (1-based)",
2020
2101
  "examples": [ 3 ]
2021
2102
  },
2022
2103
  "rowsPerPage": {
2023
2104
  "type": "Number",
2105
+ "required": true,
2024
2106
  "desc": "How many rows per page? 0 means Infinite",
2025
2107
  "examples": [ 10 ]
2108
+ },
2109
+ "rowsNumber": {
2110
+ "type": "Number",
2111
+ "required": false,
2112
+ "desc": "For server-side fetching only. How many total database rows are there to be added to the table.",
2113
+ "examples": [ 100, 200 ]
2026
2114
  }
2027
2115
  }
2028
2116
  }
@@ -2064,21 +2152,25 @@
2064
2152
  "definition": {
2065
2153
  "index": {
2066
2154
  "type": "Number",
2155
+ "required": true,
2067
2156
  "desc": "Index of the list item that was scrolled into view (0 based)",
2068
2157
  "examples": [ 30 ]
2069
2158
  },
2070
2159
  "from": {
2071
2160
  "type": "Number",
2161
+ "required": true,
2072
2162
  "desc": "The index of the first list item that is rendered (0 based)",
2073
2163
  "examples": [ 10 ]
2074
2164
  },
2075
2165
  "to": {
2076
2166
  "type": "Number",
2167
+ "required": true,
2077
2168
  "desc": "The index of the last list item that is rendered (0 based)",
2078
2169
  "examples": [ 50 ]
2079
2170
  },
2080
2171
  "direction": {
2081
2172
  "type": "String",
2173
+ "required": true,
2082
2174
  "desc": "Direction of change",
2083
2175
  "values": [ "increase", "decrease" ]
2084
2176
  }
@@ -2094,10 +2186,12 @@
2094
2186
  "params": {
2095
2187
  "props": {
2096
2188
  "type": "Object",
2189
+ "required": false,
2097
2190
  "desc": "Request details",
2098
2191
  "definition": {
2099
2192
  "pagination": {
2100
2193
  "type": "Object",
2194
+ "required": false,
2101
2195
  "desc": "Optional pagination object",
2102
2196
  "definition": {
2103
2197
  "sortBy": {
@@ -2127,14 +2221,14 @@
2127
2221
  "params": {
2128
2222
  "rows": {
2129
2223
  "type": "Array",
2130
- "desc": "Array of rows",
2131
2224
  "required": true,
2225
+ "desc": "Array of rows",
2132
2226
  "__exemption": [ "examples" ]
2133
2227
  },
2134
2228
  "terms": {
2135
2229
  "type": [ "String", "Object" ],
2136
- "desc": "Terms to filter with (is essentially the 'filter' prop value)",
2137
2230
  "required": true,
2231
+ "desc": "Terms to filter with (is essentially the 'filter' prop value)",
2138
2232
  "__exemption": [ "examples" ]
2139
2233
  },
2140
2234
  "cols": {
@@ -2180,8 +2274,8 @@
2180
2274
  "params": {
2181
2275
  "pagination": {
2182
2276
  "type": "Object",
2183
- "desc": "Pagination object",
2184
2277
  "required": true,
2278
+ "desc": "Pagination object",
2185
2279
  "definition": {
2186
2280
  "sortBy": {
2187
2281
  "type": "String",
@@ -2232,8 +2326,8 @@
2232
2326
  "params": {
2233
2327
  "key": {
2234
2328
  "type": "Any",
2235
- "desc": "Row key value",
2236
2329
  "required": true,
2330
+ "desc": "Row key value",
2237
2331
  "examples": [ "calories" ]
2238
2332
  }
2239
2333
  },
@@ -2252,8 +2346,8 @@
2252
2346
  "params": {
2253
2347
  "key": {
2254
2348
  "type": "Any",
2255
- "desc": "Row key value",
2256
2349
  "required": true,
2350
+ "desc": "Row key value",
2257
2351
  "examples": [ "calories" ]
2258
2352
  }
2259
2353
  },
@@ -2268,8 +2362,8 @@
2268
2362
  "params": {
2269
2363
  "expanded": {
2270
2364
  "type": "Array",
2271
- "desc": "Array containing keys of the expanded rows",
2272
2365
  "required": true,
2366
+ "desc": "Array containing keys of the expanded rows",
2273
2367
  "examples": [ "[ 'row-a', 'row-b' ]" ]
2274
2368
  }
2275
2369
  }
@@ -2280,8 +2374,8 @@
2280
2374
  "params": {
2281
2375
  "col": {
2282
2376
  "type": [ "String", "Object" ],
2283
- "desc": "Column name or column definition object",
2284
2377
  "required": true,
2378
+ "desc": "Column name or column definition object",
2285
2379
  "examples": [ "calories" ]
2286
2380
  }
2287
2381
  }
@@ -2300,14 +2394,15 @@
2300
2394
  "params": {
2301
2395
  "index": {
2302
2396
  "type": [ "String", "Number" ],
2303
- "desc": "The index of the row in page (0 based)",
2304
2397
  "required": true,
2398
+ "desc": "The index of the row in page (0 based)",
2305
2399
  "examples": [ "1", 23 ]
2306
2400
  },
2307
2401
  "edge": {
2308
2402
  "type": "String",
2309
- "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",
2310
- "values": [ "start", "center", "end", "start-force", "center-force", "end-force" ]
2403
+ "desc": "Only for virtual scroll - the edge to align to if the row is not visible already; If the '-force' version is used then it always aligns",
2404
+ "values": [ "start", "center", "end", "start-force", "center-force", "end-force" ],
2405
+ "default": "end (if scrolling towards the end) / start (if scrolling towards the start)"
2311
2406
  }
2312
2407
  }
2313
2408
  }