quasar 2.3.2 → 2.4.1
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.
- package/dist/api/AppFullscreen.json +15 -8
- package/dist/api/BottomSheet.json +6 -0
- package/dist/api/Cookies.json +4 -3
- package/dist/api/Dialog.json +24 -10
- package/dist/api/Loading.json +0 -2
- package/dist/api/LoadingBar.json +8 -3
- package/dist/api/Morph.json +14 -7
- package/dist/api/Mutation.json +1 -1
- package/dist/api/Notify.json +41 -27
- package/dist/api/QAjaxBar.json +6 -3
- package/dist/api/QBreadcrumbs.json +8 -4
- package/dist/api/QBreadcrumbsEl.json +35 -12
- package/dist/api/QBtn.json +36 -17
- package/dist/api/QBtnDropdown.json +41 -20
- package/dist/api/QBtnToggle.json +7 -2
- package/dist/api/QCard.json +2 -1
- package/dist/api/QCardActions.json +2 -1
- package/dist/api/QCardSection.json +2 -1
- package/dist/api/QCarousel.json +10 -5
- package/dist/api/QCarouselControl.json +4 -2
- package/dist/api/QChatMessage.json +0 -4
- package/dist/api/QCheckbox.json +8 -4
- package/dist/api/QChip.json +2 -1
- package/dist/api/QCircularProgress.json +14 -7
- package/dist/api/QColor.json +6 -3
- package/dist/api/QDate.json +33 -5
- package/dist/api/QDialog.json +8 -4
- package/dist/api/QDrawer.json +10 -5
- package/dist/api/QEditor.json +10 -5
- package/dist/api/QExpansionItem.json +36 -13
- package/dist/api/QFab.json +41 -6
- package/dist/api/QFabAction.json +12 -2
- package/dist/api/QField.json +3 -1
- package/dist/api/QFile.json +8 -2
- package/dist/api/QFooter.json +2 -1
- package/dist/api/QForm.json +1 -1
- package/dist/api/QHeader.json +4 -2
- package/dist/api/QIcon.json +2 -1
- package/dist/api/QImg.json +8 -4
- package/dist/api/QInfiniteScroll.json +6 -3
- package/dist/api/QInnerLoading.json +8 -4
- package/dist/api/QInput.json +3 -1
- package/dist/api/QIntersection.json +4 -2
- package/dist/api/QItem.json +33 -11
- package/dist/api/QKnob.json +8 -4
- package/dist/api/QLayout.json +9 -1
- package/dist/api/QLinearProgress.json +4 -2
- package/dist/api/QMarkupTable.json +2 -1
- package/dist/api/QMenu.json +8 -4
- package/dist/api/QNoSsr.json +2 -1
- package/dist/api/QOptionGroup.json +76 -5
- package/dist/api/QPage.json +2 -1
- package/dist/api/QPageScroller.json +8 -4
- package/dist/api/QPageSticky.json +2 -1
- package/dist/api/QPagination.json +10 -6
- package/dist/api/QParallax.json +2 -1
- package/dist/api/QPopupEdit.json +5 -2
- package/dist/api/QPopupProxy.json +7 -4
- package/dist/api/QRange.json +600 -111
- package/dist/api/QRating.json +5 -2
- package/dist/api/QResizeObserver.json +4 -1
- package/dist/api/QRouteTab.json +35 -13
- package/dist/api/QScrollArea.json +29 -6
- package/dist/api/QScrollObserver.json +13 -1
- package/dist/api/QSelect.json +76 -47
- package/dist/api/QSeparator.json +2 -1
- package/dist/api/QSkeleton.json +8 -4
- package/dist/api/QSlideItem.json +9 -0
- package/dist/api/QSlideTransition.json +2 -1
- package/dist/api/QSlider.json +512 -43
- package/dist/api/QSpinner.json +2 -1
- package/dist/api/QSplitter.json +4 -2
- package/dist/api/QStep.json +2 -1
- package/dist/api/QStepper.json +6 -3
- package/dist/api/QTab.json +4 -2
- package/dist/api/QTabPanels.json +6 -3
- package/dist/api/QTable.json +154 -88
- package/dist/api/QTabs.json +4 -2
- package/dist/api/QTime.json +16 -4
- package/dist/api/QTimeline.json +4 -2
- package/dist/api/QTimelineEntry.json +4 -2
- package/dist/api/QToggle.json +8 -4
- package/dist/api/QTooltip.json +18 -9
- package/dist/api/QTree.json +34 -19
- package/dist/api/QUploader.json +28 -6
- package/dist/api/QVirtualScroll.json +26 -11
- package/dist/api/ScrollFire.json +1 -1
- package/dist/api/TouchHold.json +2 -1
- package/dist/api/TouchRepeat.json +2 -1
- package/dist/api/TouchSwipe.json +2 -1
- package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
- package/dist/icon-set/eva-icons.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
- package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
- package/dist/icon-set/line-awesome.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
- package/dist/icon-set/material-icons.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v4.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v5.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-themify.umd.prod.js +1 -1
- package/dist/icon-set/themify.umd.prod.js +1 -1
- package/dist/lang/ar.umd.prod.js +1 -1
- package/dist/lang/az-Latn.umd.prod.js +1 -1
- package/dist/lang/bg.umd.prod.js +1 -1
- package/dist/lang/bn.umd.prod.js +1 -1
- package/dist/lang/ca.umd.prod.js +1 -1
- package/dist/lang/cs.umd.prod.js +1 -1
- package/dist/lang/da.umd.prod.js +1 -1
- package/dist/lang/de.umd.prod.js +1 -1
- package/dist/lang/el.umd.prod.js +1 -1
- package/dist/lang/en-GB.umd.prod.js +1 -1
- package/dist/lang/en-US.umd.prod.js +1 -1
- package/dist/lang/eo.umd.prod.js +1 -1
- package/dist/lang/es.umd.prod.js +1 -1
- package/dist/lang/et.umd.prod.js +1 -1
- package/dist/lang/fa-IR.umd.prod.js +1 -1
- package/dist/lang/fa.umd.prod.js +1 -1
- package/dist/lang/fi.umd.prod.js +1 -1
- package/dist/lang/fr.umd.prod.js +1 -1
- package/dist/lang/gn.umd.prod.js +1 -1
- package/dist/lang/he.umd.prod.js +1 -1
- package/dist/lang/hr.umd.prod.js +1 -1
- package/dist/lang/hu.umd.prod.js +1 -1
- package/dist/lang/id.umd.prod.js +1 -1
- package/dist/lang/is.umd.prod.js +1 -1
- package/dist/lang/it.umd.prod.js +1 -1
- package/dist/lang/ja.umd.prod.js +1 -1
- package/dist/lang/km.umd.prod.js +1 -1
- package/dist/lang/ko-KR.umd.prod.js +1 -1
- package/dist/lang/kur-CKB.umd.prod.js +1 -1
- package/dist/lang/lt.umd.prod.js +1 -1
- package/dist/lang/lu.umd.prod.js +1 -1
- package/dist/lang/lv.umd.prod.js +1 -1
- package/dist/lang/ml.umd.prod.js +1 -1
- package/dist/lang/ms.umd.prod.js +1 -1
- package/dist/lang/nb-NO.umd.prod.js +1 -1
- package/dist/lang/nl.umd.prod.js +1 -1
- package/dist/lang/pl.umd.prod.js +1 -1
- package/dist/lang/pt-BR.umd.prod.js +1 -1
- package/dist/lang/pt.umd.prod.js +1 -1
- package/dist/lang/ro.umd.prod.js +1 -1
- package/dist/lang/ru.umd.prod.js +1 -1
- package/dist/lang/sk.umd.prod.js +1 -1
- package/dist/lang/sl.umd.prod.js +1 -1
- package/dist/lang/sr-CYR.umd.prod.js +1 -1
- package/dist/lang/sr.umd.prod.js +1 -1
- package/dist/lang/sv.umd.prod.js +1 -1
- package/dist/lang/ta.umd.prod.js +1 -1
- package/dist/lang/th.umd.prod.js +1 -1
- package/dist/lang/tr.umd.prod.js +1 -1
- package/dist/lang/ug.umd.prod.js +1 -1
- package/dist/lang/uk.umd.prod.js +1 -1
- package/dist/lang/vi.umd.prod.js +1 -1
- package/dist/lang/zh-CN.umd.prod.js +1 -1
- package/dist/lang/zh-TW.umd.prod.js +1 -1
- package/dist/quasar.cjs.prod.js +2 -2
- package/dist/quasar.css +268 -184
- package/dist/quasar.esm.prod.js +2 -2
- package/dist/quasar.prod.css +1 -1
- package/dist/quasar.rtl.css +340 -263
- package/dist/quasar.rtl.prod.css +1 -1
- package/dist/quasar.sass +272 -212
- package/dist/quasar.umd.js +16522 -16213
- package/dist/quasar.umd.prod.js +2 -2
- package/dist/ssr-directives/Morph.js +1 -1
- package/dist/transforms/loader-asset-urls.json +20 -0
- package/dist/types/api/cookies.d.ts +1 -1
- package/dist/types/api/slider.d.ts +46 -0
- package/dist/types/api/validation.d.ts +4 -0
- package/dist/types/api.d.ts +2 -0
- package/dist/types/composables.d.ts +3 -3
- package/dist/types/index.d.ts +759 -177
- package/dist/vetur/quasar-attributes.json +251 -83
- package/dist/vetur/quasar-tags.json +59 -17
- package/dist/web-types/web-types.json +587 -155
- package/package.json +1 -1
- package/src/api.extends.json +0 -1
- package/src/components/breadcrumbs/QBreadcrumbs.js +7 -2
- package/src/components/breadcrumbs/QBreadcrumbs.sass +0 -3
- package/src/components/breadcrumbs/QBreadcrumbsEl.js +14 -8
- package/src/components/btn/QBtn.js +6 -5
- package/src/components/btn/use-btn.js +21 -21
- package/src/components/btn/use-btn.json +22 -13
- package/src/components/btn-dropdown/QBtnDropdown.json +1 -0
- package/src/components/btn-toggle/QBtnToggle.json +3 -0
- package/src/components/checkbox/use-checkbox.js +1 -1
- package/src/components/chip/QChip.json +1 -2
- package/src/components/color/QColor.js +32 -26
- package/src/components/color/QColor.sass +10 -23
- package/src/components/date/QDate.json +25 -1
- package/src/components/date/QDate.sass +2 -0
- package/src/components/drawer/QDrawer.js +18 -15
- package/src/components/editor/QEditor.js +1 -1
- package/src/components/editor/QEditor.sass +10 -1
- package/src/components/expansion-item/QExpansionItem.js +4 -1
- package/src/components/expansion-item/QExpansionItem.json +2 -1
- package/src/components/fab/QFab.js +18 -12
- package/src/components/fab/QFab.json +36 -1
- package/src/components/fab/QFab.sass +1 -1
- package/src/components/fab/QFabAction.js +14 -7
- package/src/components/fab/QFabAction.json +10 -0
- package/src/components/field/QField.json +3 -3
- package/src/components/file/QFile.js +12 -5
- package/src/components/file/QFile.json +9 -6
- package/src/components/file/QFile.sass +4 -2
- package/src/components/footer/QFooter.js +1 -1
- package/src/components/form/QForm.json +2 -3
- package/src/components/header/QHeader.js +1 -1
- package/src/components/icon/QIcon.js +2 -2
- package/src/components/infinite-scroll/QInfiniteScroll.js +4 -5
- package/src/components/item/QItem.js +2 -3
- package/src/components/layout/QLayout.json +8 -1
- package/src/components/linear-progress/QLinearProgress.js +3 -2
- package/src/components/linear-progress/QLinearProgress.sass +1 -1
- package/src/components/option-group/QOptionGroup.js +3 -0
- package/src/components/option-group/QOptionGroup.json +48 -2
- package/src/components/pagination/QPagination.json +0 -1
- package/src/components/parallax/QParallax.js +4 -2
- package/src/components/popup-edit/QPopupEdit.js +2 -5
- package/src/components/popup-edit/QPopupEdit.json +1 -0
- package/src/components/popup-proxy/QPopupProxy.json +2 -1
- package/src/components/radio/QRadio.js +2 -7
- package/src/components/range/QRange.js +103 -222
- package/src/components/range/QRange.json +11 -121
- package/src/components/rating/QRating.json +1 -1
- package/src/components/resize-observer/QResizeObserver.json +2 -0
- package/src/components/scroll-area/QScrollArea.js +10 -13
- package/src/components/scroll-area/QScrollArea.json +29 -9
- package/src/components/scroll-observer/QScrollObserver.json +11 -0
- package/src/components/select/QSelect.json +41 -15
- package/src/components/slide-item/QSlideItem.json +9 -0
- package/src/components/slider/QSlider.js +46 -132
- package/src/components/slider/QSlider.json +1 -121
- package/src/components/slider/QSlider.sass +198 -132
- package/src/components/slider/use-slider.js +453 -109
- package/src/components/slider/use-slider.json +546 -0
- package/src/components/stepper/QStepper.js +3 -3
- package/src/components/stepper/QStepper.sass +24 -26
- package/src/components/table/QTable.js +27 -47
- package/src/components/table/QTable.json +104 -55
- package/src/components/table/table-pagination.js +4 -0
- package/src/components/tabs/QRouteTab.js +1 -2
- package/src/components/tabs/QRouteTab.json +0 -7
- package/src/components/tabs/QTabs.js +71 -20
- package/src/components/tabs/use-tab.js +26 -13
- package/src/components/time/QTime.json +8 -0
- package/src/components/tree/QTree.js +14 -12
- package/src/components/tree/QTree.json +26 -21
- package/src/components/tree/QTree.sass +45 -41
- package/src/components/uploader/QUploader.json +14 -2
- package/src/components/uploader/uploader-core.js +16 -9
- package/src/components/uploader/xhr-uploader-plugin.json +8 -3
- package/src/components/virtual-scroll/QVirtualScroll.json +15 -0
- package/src/components/virtual-scroll/QVirtualScroll.sass +1 -0
- package/src/components/virtual-scroll/use-virtual-scroll.js +30 -17
- package/src/components/virtual-scroll/use-virtual-scroll.json +7 -5
- package/src/composables/private/use-field.js +5 -5
- package/src/composables/private/use-file.js +20 -5
- package/src/composables/private/use-form.js +2 -3
- package/src/composables/private/use-fullscreen.js +15 -4
- package/src/composables/private/use-router-link.js +44 -23
- package/src/composables/private/use-router-link.json +26 -10
- package/src/composables/private/use-split-attrs.js +7 -10
- package/src/composables/private/use-validate.js +21 -15
- package/src/composables/private/use-validate.json +1 -0
- package/src/css/core/helpers.sass +3 -0
- package/src/css/core/positioning.sass +5 -0
- package/src/directives/Mutation.json +2 -3
- package/src/directives/ScrollFire.js +1 -0
- package/src/directives/ScrollFire.json +2 -3
- package/src/icon-set.js +2 -4
- package/src/plugins/AppFullscreen.js +70 -53
- package/src/plugins/AppFullscreen.json +8 -8
- package/src/plugins/AppVisibility.js +2 -3
- package/src/plugins/BottomSheet.js +3 -5
- package/src/plugins/Cookies.json +2 -2
- package/src/plugins/Dialog.js +3 -5
- package/src/plugins/Dialog.json +6 -5
- package/src/plugins/LoadingBar.js +17 -18
- package/src/plugins/LoadingBar.json +4 -3
- package/src/plugins/Notify.js +296 -295
- package/src/plugins/Notify.json +13 -19
- package/src/plugins/Platform.js +14 -14
- package/src/utils/date.js +4 -4
- package/src/utils/dom.js +2 -2
- package/src/utils/open-url.js +2 -2
- package/src/utils/patterns.js +1 -0
- package/src/utils/private/define-reactive-plugin.js +10 -8
- package/src/utils/private/global-dialog.js +6 -8
- package/src/utils/private/global-dialog.json +6 -0
- package/src/utils/private/inject-obj-prop.js +13 -0
- package/src/utils/private/is.js +2 -2
|
@@ -144,23 +144,24 @@
|
|
|
144
144
|
"definition": {
|
|
145
145
|
"name": {
|
|
146
146
|
"type": "String",
|
|
147
|
-
"desc": "Unique id, identifies column, (used by pagination.sortBy, 'body-cell-[name]' slot, ...)",
|
|
148
147
|
"required": true,
|
|
148
|
+
"desc": "Unique id, identifies column, (used by pagination.sortBy, 'body-cell-[name]' slot, ...)",
|
|
149
149
|
"examples": [ "desc" ]
|
|
150
150
|
},
|
|
151
151
|
"label": {
|
|
152
152
|
"type": "String",
|
|
153
|
-
"desc": "Label for header",
|
|
154
153
|
"required": true,
|
|
154
|
+
"desc": "Label for header",
|
|
155
155
|
"examples": [ "Dessert (100g serving)" ]
|
|
156
156
|
},
|
|
157
157
|
"field": {
|
|
158
158
|
"type": [ "String", "Function" ],
|
|
159
|
-
"desc": "Row Object property to determine value for this column or function which maps to the required property",
|
|
160
159
|
"required": true,
|
|
160
|
+
"desc": "Row Object property to determine value for this column or function which maps to the required property",
|
|
161
161
|
"params": {
|
|
162
162
|
"row": {
|
|
163
163
|
"type": "Object",
|
|
164
|
+
"required": true,
|
|
164
165
|
"desc": "The current row being processed",
|
|
165
166
|
"examples": [ "{ name: 'Lorem Ipsum', prices: { active: 19, old: 25, list: 29 } }" ]
|
|
166
167
|
}
|
|
@@ -174,15 +175,13 @@
|
|
|
174
175
|
},
|
|
175
176
|
"required": {
|
|
176
177
|
"type": "Boolean",
|
|
177
|
-
"desc": "If we use visible-columns, this col will always be visible"
|
|
178
|
-
"default": false
|
|
178
|
+
"desc": "If we use visible-columns, this col will always be visible"
|
|
179
179
|
},
|
|
180
180
|
"align": {
|
|
181
181
|
"type": "String",
|
|
182
182
|
"desc": "Horizontal alignment of cells in this column",
|
|
183
183
|
"values": [ "left", "right", "center" ],
|
|
184
|
-
"default": "right"
|
|
185
|
-
"examples": [ "left", "right", "center" ]
|
|
184
|
+
"default": "right"
|
|
186
185
|
},
|
|
187
186
|
"sortable": {
|
|
188
187
|
"type": "Boolean",
|
|
@@ -196,21 +195,25 @@
|
|
|
196
195
|
"params": {
|
|
197
196
|
"a": {
|
|
198
197
|
"type": "Any",
|
|
198
|
+
"required": true,
|
|
199
199
|
"desc": "Value of the first comparison term",
|
|
200
200
|
"examples": [ 123, "abc" ]
|
|
201
201
|
},
|
|
202
202
|
"b": {
|
|
203
203
|
"type": "Any",
|
|
204
|
+
"required": true,
|
|
204
205
|
"desc": "Value of the second comparison term",
|
|
205
206
|
"examples": [ 123, "abc" ]
|
|
206
207
|
},
|
|
207
208
|
"rowA": {
|
|
208
209
|
"type": "Object",
|
|
210
|
+
"required": true,
|
|
209
211
|
"desc": "Full Row object in which is contained the first term",
|
|
210
212
|
"examples": [ "{ name: 'Potassium', value: 'K' }" ]
|
|
211
213
|
},
|
|
212
214
|
"rowB": {
|
|
213
215
|
"type": "Object",
|
|
216
|
+
"required": true,
|
|
214
217
|
"desc": "Full Row object in which is contained the second term",
|
|
215
218
|
"examples": [ "{ name: 'Fluorine', value: 'F' }" ]
|
|
216
219
|
}
|
|
@@ -234,11 +237,13 @@
|
|
|
234
237
|
"params": {
|
|
235
238
|
"val": {
|
|
236
239
|
"type": "Any",
|
|
240
|
+
"required": true,
|
|
237
241
|
"desc": "Value of the cell",
|
|
238
242
|
"examples": [ 123, "abc" ]
|
|
239
243
|
},
|
|
240
244
|
"row": {
|
|
241
245
|
"type": "Object",
|
|
246
|
+
"required": true,
|
|
242
247
|
"desc": "Full Row object in which the cell is contained",
|
|
243
248
|
"examples": [ "{ name: 'Potassium', value: 'K' }" ]
|
|
244
249
|
}
|
|
@@ -255,6 +260,7 @@
|
|
|
255
260
|
"params": {
|
|
256
261
|
"row": {
|
|
257
262
|
"type": "Object",
|
|
263
|
+
"required": true,
|
|
258
264
|
"desc": "The current row being processed",
|
|
259
265
|
"examples": [ "{ name: 'Frozen Yogurt', calories: 159 }" ]
|
|
260
266
|
}
|
|
@@ -274,6 +280,7 @@
|
|
|
274
280
|
"params": {
|
|
275
281
|
"row": {
|
|
276
282
|
"type": "Object",
|
|
283
|
+
"required": true,
|
|
277
284
|
"desc": "The current row being processed",
|
|
278
285
|
"examples": [ "{ name: 'Frozen Yogurt', calories: 159 }" ]
|
|
279
286
|
}
|
|
@@ -374,7 +381,6 @@
|
|
|
374
381
|
"desc": "Use a separator/border between rows, columns or all cells",
|
|
375
382
|
"default": "horizontal",
|
|
376
383
|
"values": [ "horizontal", "vertical", "cell", "none" ],
|
|
377
|
-
"examples": [ "cell" ],
|
|
378
384
|
"category": "content"
|
|
379
385
|
},
|
|
380
386
|
|
|
@@ -580,18 +586,16 @@
|
|
|
580
586
|
"rows": {
|
|
581
587
|
"type": "Array",
|
|
582
588
|
"desc": "Array of rows",
|
|
583
|
-
"required": true,
|
|
584
589
|
"__exemption": [ "examples" ]
|
|
585
590
|
},
|
|
586
591
|
"terms": {
|
|
587
592
|
"type": [ "String", "Object" ],
|
|
588
593
|
"desc": "Terms to filter with (is essentially the 'filter' prop value)",
|
|
589
|
-
"required": true,
|
|
590
594
|
"__exemption": [ "examples" ]
|
|
591
595
|
},
|
|
592
596
|
"cols": {
|
|
593
597
|
"type": "Array",
|
|
594
|
-
"desc": "
|
|
598
|
+
"desc": "Column definitions",
|
|
595
599
|
"__exemption": [ "examples" ]
|
|
596
600
|
},
|
|
597
601
|
"getCellValue": {
|
|
@@ -600,11 +604,13 @@
|
|
|
600
604
|
"params": {
|
|
601
605
|
"col": {
|
|
602
606
|
"type": "Object",
|
|
607
|
+
"required": true,
|
|
603
608
|
"desc": "Column name from column definitions",
|
|
604
609
|
"__exemption": [ "examples" ]
|
|
605
610
|
},
|
|
606
611
|
"row": {
|
|
607
612
|
"type": "Object",
|
|
613
|
+
"required": true,
|
|
608
614
|
"desc": "The row object",
|
|
609
615
|
"__exemption": [ "examples" ]
|
|
610
616
|
}
|
|
@@ -779,8 +785,8 @@
|
|
|
779
785
|
"params": {
|
|
780
786
|
"col": {
|
|
781
787
|
"type": [ "String", "Object" ],
|
|
782
|
-
"desc": "Column name or column definition object",
|
|
783
788
|
"required": true,
|
|
789
|
+
"desc": "Column name or column definition object",
|
|
784
790
|
"examples": [ "calories" ]
|
|
785
791
|
}
|
|
786
792
|
},
|
|
@@ -797,8 +803,7 @@
|
|
|
797
803
|
"reactive": true
|
|
798
804
|
},
|
|
799
805
|
"color": {
|
|
800
|
-
"extends": "color"
|
|
801
|
-
"default": "grey-8"
|
|
806
|
+
"extends": "color"
|
|
802
807
|
},
|
|
803
808
|
"dark": {
|
|
804
809
|
"extends": "dark"
|
|
@@ -848,8 +853,8 @@
|
|
|
848
853
|
"params": {
|
|
849
854
|
"col": {
|
|
850
855
|
"type": [ "String", "Object" ],
|
|
851
|
-
"desc": "Column name or column definition object",
|
|
852
856
|
"required": true,
|
|
857
|
+
"desc": "Column name or column definition object",
|
|
853
858
|
"examples": [ "calories" ]
|
|
854
859
|
}
|
|
855
860
|
},
|
|
@@ -866,8 +871,7 @@
|
|
|
866
871
|
"reactive": true
|
|
867
872
|
},
|
|
868
873
|
"color": {
|
|
869
|
-
"extends": "color"
|
|
870
|
-
"default": "grey-8"
|
|
874
|
+
"extends": "color"
|
|
871
875
|
},
|
|
872
876
|
"dark": {
|
|
873
877
|
"extends": "dark"
|
|
@@ -932,8 +936,8 @@
|
|
|
932
936
|
"params": {
|
|
933
937
|
"col": {
|
|
934
938
|
"type": [ "String", "Object" ],
|
|
935
|
-
"desc": "Column name or column definition object",
|
|
936
939
|
"required": true,
|
|
940
|
+
"desc": "Column name or column definition object",
|
|
937
941
|
"examples": [ "calories" ]
|
|
938
942
|
}
|
|
939
943
|
},
|
|
@@ -950,8 +954,7 @@
|
|
|
950
954
|
"reactive": true
|
|
951
955
|
},
|
|
952
956
|
"color": {
|
|
953
|
-
"extends": "color"
|
|
954
|
-
"default": "grey-8"
|
|
957
|
+
"extends": "color"
|
|
955
958
|
},
|
|
956
959
|
"dark": {
|
|
957
960
|
"extends": "dark"
|
|
@@ -1011,8 +1014,8 @@
|
|
|
1011
1014
|
"params": {
|
|
1012
1015
|
"col": {
|
|
1013
1016
|
"type": [ "String", "Object" ],
|
|
1014
|
-
"desc": "Column name or column definition object",
|
|
1015
1017
|
"required": true,
|
|
1018
|
+
"desc": "Column name or column definition object",
|
|
1016
1019
|
"examples": [ "calories" ]
|
|
1017
1020
|
}
|
|
1018
1021
|
},
|
|
@@ -1029,8 +1032,7 @@
|
|
|
1029
1032
|
"reactive": true
|
|
1030
1033
|
},
|
|
1031
1034
|
"color": {
|
|
1032
|
-
"extends": "color"
|
|
1033
|
-
"default": "grey-8"
|
|
1035
|
+
"extends": "color"
|
|
1034
1036
|
},
|
|
1035
1037
|
"dark": {
|
|
1036
1038
|
"extends": "dark"
|
|
@@ -1060,8 +1062,8 @@
|
|
|
1060
1062
|
"params": {
|
|
1061
1063
|
"col": {
|
|
1062
1064
|
"type": [ "String", "Object" ],
|
|
1063
|
-
"desc": "Column name or column definition object",
|
|
1064
1065
|
"required": true,
|
|
1066
|
+
"desc": "Column name or column definition object",
|
|
1065
1067
|
"examples": [ "calories" ]
|
|
1066
1068
|
}
|
|
1067
1069
|
},
|
|
@@ -1078,8 +1080,7 @@
|
|
|
1078
1080
|
"reactive": true
|
|
1079
1081
|
},
|
|
1080
1082
|
"color": {
|
|
1081
|
-
"extends": "color"
|
|
1082
|
-
"default": "grey-8"
|
|
1083
|
+
"extends": "color"
|
|
1083
1084
|
},
|
|
1084
1085
|
"dark": {
|
|
1085
1086
|
"extends": "dark"
|
|
@@ -1123,8 +1124,8 @@
|
|
|
1123
1124
|
"params": {
|
|
1124
1125
|
"col": {
|
|
1125
1126
|
"type": [ "String", "Object" ],
|
|
1126
|
-
"desc": "Column name or column definition object",
|
|
1127
1127
|
"required": true,
|
|
1128
|
+
"desc": "Column name or column definition object",
|
|
1128
1129
|
"examples": [ "calories" ]
|
|
1129
1130
|
}
|
|
1130
1131
|
},
|
|
@@ -1141,8 +1142,7 @@
|
|
|
1141
1142
|
"reactive": true
|
|
1142
1143
|
},
|
|
1143
1144
|
"color": {
|
|
1144
|
-
"extends": "color"
|
|
1145
|
-
"default": "grey-8"
|
|
1145
|
+
"extends": "color"
|
|
1146
1146
|
},
|
|
1147
1147
|
"dark": {
|
|
1148
1148
|
"extends": "dark"
|
|
@@ -1177,8 +1177,8 @@
|
|
|
1177
1177
|
"params": {
|
|
1178
1178
|
"col": {
|
|
1179
1179
|
"type": [ "String", "Object" ],
|
|
1180
|
-
"desc": "Column name or column definition object",
|
|
1181
1180
|
"required": true,
|
|
1181
|
+
"desc": "Column name or column definition object",
|
|
1182
1182
|
"examples": [ "calories" ]
|
|
1183
1183
|
}
|
|
1184
1184
|
},
|
|
@@ -1195,8 +1195,7 @@
|
|
|
1195
1195
|
"reactive": true
|
|
1196
1196
|
},
|
|
1197
1197
|
"color": {
|
|
1198
|
-
"extends": "color"
|
|
1199
|
-
"default": "grey-8"
|
|
1198
|
+
"extends": "color"
|
|
1200
1199
|
},
|
|
1201
1200
|
"dark": {
|
|
1202
1201
|
"extends": "dark"
|
|
@@ -1246,8 +1245,8 @@
|
|
|
1246
1245
|
"params": {
|
|
1247
1246
|
"col": {
|
|
1248
1247
|
"type": [ "String", "Object" ],
|
|
1249
|
-
"desc": "Column name or column definition object",
|
|
1250
1248
|
"required": true,
|
|
1249
|
+
"desc": "Column name or column definition object",
|
|
1251
1250
|
"examples": [ "calories" ]
|
|
1252
1251
|
}
|
|
1253
1252
|
},
|
|
@@ -1264,8 +1263,7 @@
|
|
|
1264
1263
|
"reactive": true
|
|
1265
1264
|
},
|
|
1266
1265
|
"color": {
|
|
1267
|
-
"extends": "color"
|
|
1268
|
-
"default": "grey-8"
|
|
1266
|
+
"extends": "color"
|
|
1269
1267
|
},
|
|
1270
1268
|
"dark": {
|
|
1271
1269
|
"extends": "dark"
|
|
@@ -1295,8 +1293,8 @@
|
|
|
1295
1293
|
"params": {
|
|
1296
1294
|
"col": {
|
|
1297
1295
|
"type": [ "String", "Object" ],
|
|
1298
|
-
"desc": "Column name or column definition object",
|
|
1299
1296
|
"required": true,
|
|
1297
|
+
"desc": "Column name or column definition object",
|
|
1300
1298
|
"examples": [ "calories" ]
|
|
1301
1299
|
}
|
|
1302
1300
|
},
|
|
@@ -1313,8 +1311,7 @@
|
|
|
1313
1311
|
"reactive": true
|
|
1314
1312
|
},
|
|
1315
1313
|
"color": {
|
|
1316
|
-
"extends": "color"
|
|
1317
|
-
"default": "grey-8"
|
|
1314
|
+
"extends": "color"
|
|
1318
1315
|
},
|
|
1319
1316
|
"dark": {
|
|
1320
1317
|
"extends": "dark"
|
|
@@ -1356,20 +1353,24 @@
|
|
|
1356
1353
|
"definition": {
|
|
1357
1354
|
"sortBy": {
|
|
1358
1355
|
"type": "String",
|
|
1356
|
+
"required": true,
|
|
1359
1357
|
"desc": "Column name (from column definition)",
|
|
1360
1358
|
"examples": [ "calories" ]
|
|
1361
1359
|
},
|
|
1362
1360
|
"descending": {
|
|
1363
1361
|
"type": "Boolean",
|
|
1362
|
+
"required": true,
|
|
1364
1363
|
"desc": "Is sorting in descending order?"
|
|
1365
1364
|
},
|
|
1366
1365
|
"page": {
|
|
1367
1366
|
"type": "Number",
|
|
1367
|
+
"required": true,
|
|
1368
1368
|
"desc": "Page number (1-based)",
|
|
1369
1369
|
"examples": [ 3 ]
|
|
1370
1370
|
},
|
|
1371
1371
|
"rowsPerPage": {
|
|
1372
1372
|
"type": "Number",
|
|
1373
|
+
"required": true,
|
|
1373
1374
|
"desc": "How many rows per page? 0 means Infinite",
|
|
1374
1375
|
"examples": [ 10 ]
|
|
1375
1376
|
}
|
|
@@ -1434,20 +1435,24 @@
|
|
|
1434
1435
|
"definition": {
|
|
1435
1436
|
"sortBy": {
|
|
1436
1437
|
"type": "String",
|
|
1438
|
+
"required": true,
|
|
1437
1439
|
"desc": "Column name (from column definition)",
|
|
1438
1440
|
"examples": [ "calories" ]
|
|
1439
1441
|
},
|
|
1440
1442
|
"descending": {
|
|
1441
1443
|
"type": "Boolean",
|
|
1444
|
+
"required": true,
|
|
1442
1445
|
"desc": "Is sorting in descending order?"
|
|
1443
1446
|
},
|
|
1444
1447
|
"page": {
|
|
1445
1448
|
"type": "Number",
|
|
1449
|
+
"required": true,
|
|
1446
1450
|
"desc": "Page number (1-based)",
|
|
1447
1451
|
"examples": [ 3 ]
|
|
1448
1452
|
},
|
|
1449
1453
|
"rowsPerPage": {
|
|
1450
1454
|
"type": "Number",
|
|
1455
|
+
"required": true,
|
|
1451
1456
|
"desc": "How many rows per page? 0 means Infinite",
|
|
1452
1457
|
"examples": [ 10 ]
|
|
1453
1458
|
}
|
|
@@ -1512,20 +1517,24 @@
|
|
|
1512
1517
|
"definition": {
|
|
1513
1518
|
"sortBy": {
|
|
1514
1519
|
"type": "String",
|
|
1520
|
+
"required": true,
|
|
1515
1521
|
"desc": "Column name (from column definition)",
|
|
1516
1522
|
"examples": [ "calories" ]
|
|
1517
1523
|
},
|
|
1518
1524
|
"descending": {
|
|
1519
1525
|
"type": "Boolean",
|
|
1526
|
+
"required": true,
|
|
1520
1527
|
"desc": "Is sorting in descending order?"
|
|
1521
1528
|
},
|
|
1522
1529
|
"page": {
|
|
1523
1530
|
"type": "Number",
|
|
1531
|
+
"required": true,
|
|
1524
1532
|
"desc": "Page number (1-based)",
|
|
1525
1533
|
"examples": [ 3 ]
|
|
1526
1534
|
},
|
|
1527
1535
|
"rowsPerPage": {
|
|
1528
1536
|
"type": "Number",
|
|
1537
|
+
"required": true,
|
|
1529
1538
|
"desc": "How many rows per page? 0 means Infinite",
|
|
1530
1539
|
"examples": [ 10 ]
|
|
1531
1540
|
}
|
|
@@ -1590,20 +1599,24 @@
|
|
|
1590
1599
|
"definition": {
|
|
1591
1600
|
"sortBy": {
|
|
1592
1601
|
"type": "String",
|
|
1602
|
+
"required": true,
|
|
1593
1603
|
"desc": "Column name (from column definition)",
|
|
1594
1604
|
"examples": [ "calories" ]
|
|
1595
1605
|
},
|
|
1596
1606
|
"descending": {
|
|
1597
1607
|
"type": "Boolean",
|
|
1608
|
+
"required": true,
|
|
1598
1609
|
"desc": "Is sorting in descending order?"
|
|
1599
1610
|
},
|
|
1600
1611
|
"page": {
|
|
1601
1612
|
"type": "Number",
|
|
1613
|
+
"required": true,
|
|
1602
1614
|
"desc": "Page number (1-based)",
|
|
1603
1615
|
"examples": [ 3 ]
|
|
1604
1616
|
},
|
|
1605
1617
|
"rowsPerPage": {
|
|
1606
1618
|
"type": "Number",
|
|
1619
|
+
"required": true,
|
|
1607
1620
|
"desc": "How many rows per page? 0 means Infinite",
|
|
1608
1621
|
"examples": [ 10 ]
|
|
1609
1622
|
}
|
|
@@ -1668,20 +1681,24 @@
|
|
|
1668
1681
|
"definition": {
|
|
1669
1682
|
"sortBy": {
|
|
1670
1683
|
"type": "String",
|
|
1684
|
+
"required": true,
|
|
1671
1685
|
"desc": "Column name (from column definition)",
|
|
1672
1686
|
"examples": [ "calories" ]
|
|
1673
1687
|
},
|
|
1674
1688
|
"descending": {
|
|
1675
1689
|
"type": "Boolean",
|
|
1690
|
+
"required": true,
|
|
1676
1691
|
"desc": "Is sorting in descending order?"
|
|
1677
1692
|
},
|
|
1678
1693
|
"page": {
|
|
1679
1694
|
"type": "Number",
|
|
1695
|
+
"required": true,
|
|
1680
1696
|
"desc": "Page number (1-based)",
|
|
1681
1697
|
"examples": [ 3 ]
|
|
1682
1698
|
},
|
|
1683
1699
|
"rowsPerPage": {
|
|
1684
1700
|
"type": "Number",
|
|
1701
|
+
"required": true,
|
|
1685
1702
|
"desc": "How many rows per page? 0 means Infinite",
|
|
1686
1703
|
"examples": [ 10 ]
|
|
1687
1704
|
}
|
|
@@ -1746,20 +1763,24 @@
|
|
|
1746
1763
|
"definition": {
|
|
1747
1764
|
"sortBy": {
|
|
1748
1765
|
"type": "String",
|
|
1766
|
+
"required": true,
|
|
1749
1767
|
"desc": "Column name (from column definition)",
|
|
1750
1768
|
"examples": [ "calories" ]
|
|
1751
1769
|
},
|
|
1752
1770
|
"descending": {
|
|
1753
1771
|
"type": "Boolean",
|
|
1772
|
+
"required": true,
|
|
1754
1773
|
"desc": "Is sorting in descending order?"
|
|
1755
1774
|
},
|
|
1756
1775
|
"page": {
|
|
1757
1776
|
"type": "Number",
|
|
1777
|
+
"required": true,
|
|
1758
1778
|
"desc": "Page number (1-based)",
|
|
1759
1779
|
"examples": [ 3 ]
|
|
1760
1780
|
},
|
|
1761
1781
|
"rowsPerPage": {
|
|
1762
1782
|
"type": "Number",
|
|
1783
|
+
"required": true,
|
|
1763
1784
|
"desc": "How many rows per page? 0 means Infinite",
|
|
1764
1785
|
"examples": [ 10 ]
|
|
1765
1786
|
}
|
|
@@ -1839,7 +1860,6 @@
|
|
|
1839
1860
|
"evt": {
|
|
1840
1861
|
"type": "Object",
|
|
1841
1862
|
"desc": "JS event object",
|
|
1842
|
-
"required": true,
|
|
1843
1863
|
"__exemption": [ "examples" ]
|
|
1844
1864
|
},
|
|
1845
1865
|
|
|
@@ -1863,7 +1883,6 @@
|
|
|
1863
1883
|
"evt": {
|
|
1864
1884
|
"type": "Object",
|
|
1865
1885
|
"desc": "JS event object",
|
|
1866
|
-
"required": true,
|
|
1867
1886
|
"__exemption": [ "examples" ]
|
|
1868
1887
|
},
|
|
1869
1888
|
|
|
@@ -1887,7 +1906,6 @@
|
|
|
1887
1906
|
"evt": {
|
|
1888
1907
|
"type": "Object",
|
|
1889
1908
|
"desc": "JS event object",
|
|
1890
|
-
"required": true,
|
|
1891
1909
|
"__exemption": [ "examples" ]
|
|
1892
1910
|
},
|
|
1893
1911
|
|
|
@@ -1914,24 +1932,29 @@
|
|
|
1914
1932
|
"definition": {
|
|
1915
1933
|
"pagination": {
|
|
1916
1934
|
"type": "Object",
|
|
1935
|
+
"required": true,
|
|
1917
1936
|
"desc": "Pagination object",
|
|
1918
1937
|
"definition": {
|
|
1919
1938
|
"sortBy": {
|
|
1920
1939
|
"type": "String",
|
|
1940
|
+
"required": true,
|
|
1921
1941
|
"desc": "Column name (from column definition)",
|
|
1922
1942
|
"examples": [ "calories" ]
|
|
1923
1943
|
},
|
|
1924
1944
|
"descending": {
|
|
1925
1945
|
"type": "Boolean",
|
|
1946
|
+
"required": true,
|
|
1926
1947
|
"desc": "Is sorting in descending order?"
|
|
1927
1948
|
},
|
|
1928
1949
|
"page": {
|
|
1929
1950
|
"type": "Number",
|
|
1951
|
+
"required": true,
|
|
1930
1952
|
"desc": "Page number (1-based)",
|
|
1931
1953
|
"examples": [ 3 ]
|
|
1932
1954
|
},
|
|
1933
1955
|
"rowsPerPage": {
|
|
1934
1956
|
"type": "Number",
|
|
1957
|
+
"required": true,
|
|
1935
1958
|
"desc": "How many rows per page? 0 means Infinite",
|
|
1936
1959
|
"examples": [ 10 ]
|
|
1937
1960
|
}
|
|
@@ -1939,18 +1962,19 @@
|
|
|
1939
1962
|
},
|
|
1940
1963
|
"filter": {
|
|
1941
1964
|
"type": "Function",
|
|
1965
|
+
"required": true,
|
|
1942
1966
|
"desc": "Filter method (the 'filter-method' prop)",
|
|
1943
1967
|
"params": {
|
|
1944
1968
|
"rows": {
|
|
1945
1969
|
"type": "Array",
|
|
1946
|
-
"desc": "Array of rows",
|
|
1947
1970
|
"required": true,
|
|
1971
|
+
"desc": "Array of rows",
|
|
1948
1972
|
"__exemption": [ "examples" ]
|
|
1949
1973
|
},
|
|
1950
1974
|
"terms": {
|
|
1951
1975
|
"type": [ "String", "Object" ],
|
|
1952
|
-
"desc": "Terms to filter with (is essentially the 'filter' prop value)",
|
|
1953
1976
|
"required": true,
|
|
1977
|
+
"desc": "Terms to filter with (is essentially the 'filter' prop value)",
|
|
1954
1978
|
"__exemption": [ "examples" ]
|
|
1955
1979
|
},
|
|
1956
1980
|
"cols": {
|
|
@@ -1964,11 +1988,13 @@
|
|
|
1964
1988
|
"params": {
|
|
1965
1989
|
"col": {
|
|
1966
1990
|
"type": "Object",
|
|
1991
|
+
"required": true,
|
|
1967
1992
|
"desc": "Column name from column definitions",
|
|
1968
1993
|
"__exemption": [ "examples" ]
|
|
1969
1994
|
},
|
|
1970
1995
|
"row": {
|
|
1971
1996
|
"type": "Object",
|
|
1997
|
+
"required": true,
|
|
1972
1998
|
"desc": "The row object",
|
|
1973
1999
|
"__exemption": [ "examples" ]
|
|
1974
2000
|
}
|
|
@@ -1988,15 +2014,18 @@
|
|
|
1988
2014
|
},
|
|
1989
2015
|
"getCellValue": {
|
|
1990
2016
|
"type": "Function",
|
|
1991
|
-
"
|
|
2017
|
+
"required": true,
|
|
2018
|
+
"desc": "Function to get a cell value",
|
|
1992
2019
|
"params": {
|
|
1993
2020
|
"col": {
|
|
1994
2021
|
"type": "Object",
|
|
2022
|
+
"required": true,
|
|
1995
2023
|
"desc": "Column name from column definitions",
|
|
1996
2024
|
"__exemption": [ "examples" ]
|
|
1997
2025
|
},
|
|
1998
2026
|
"row": {
|
|
1999
2027
|
"type": "Object",
|
|
2028
|
+
"required": true,
|
|
2000
2029
|
"desc": "The row object",
|
|
2001
2030
|
"__exemption": [ "examples" ]
|
|
2002
2031
|
}
|
|
@@ -2021,22 +2050,25 @@
|
|
|
2021
2050
|
"definition": {
|
|
2022
2051
|
"rows": {
|
|
2023
2052
|
"type": "Array",
|
|
2053
|
+
"required": true,
|
|
2024
2054
|
"desc": "Array of row objects that were selected/unselected",
|
|
2025
2055
|
"__exemption": [ "examples" ]
|
|
2026
2056
|
},
|
|
2027
2057
|
"keys": {
|
|
2028
2058
|
"type": "Array",
|
|
2059
|
+
"required": true,
|
|
2029
2060
|
"desc": "Array of the keys of rows that were selected/unselected",
|
|
2030
2061
|
"__exemption": [ "examples" ]
|
|
2031
2062
|
},
|
|
2032
2063
|
"added": {
|
|
2033
2064
|
"type": "Boolean",
|
|
2065
|
+
"required": true,
|
|
2034
2066
|
"desc": "Were the rows added to selection (true) or removed from selection (false)"
|
|
2035
2067
|
},
|
|
2036
2068
|
"evt": {
|
|
2037
2069
|
"type": "Object",
|
|
2038
|
-
"desc": "JS event object",
|
|
2039
2070
|
"required": true,
|
|
2071
|
+
"desc": "JS event object",
|
|
2040
2072
|
"__exemption": [ "examples" ]
|
|
2041
2073
|
}
|
|
2042
2074
|
}
|
|
@@ -2053,22 +2085,32 @@
|
|
|
2053
2085
|
"definition": {
|
|
2054
2086
|
"sortBy": {
|
|
2055
2087
|
"type": "String",
|
|
2088
|
+
"required": true,
|
|
2056
2089
|
"desc": "Column name (from column definition)",
|
|
2057
2090
|
"examples": [ "calories" ]
|
|
2058
2091
|
},
|
|
2059
2092
|
"descending": {
|
|
2060
2093
|
"type": "Boolean",
|
|
2094
|
+
"required": true,
|
|
2061
2095
|
"desc": "Is sorting in descending order?"
|
|
2062
2096
|
},
|
|
2063
2097
|
"page": {
|
|
2064
2098
|
"type": "Number",
|
|
2099
|
+
"required": true,
|
|
2065
2100
|
"desc": "Page number (1-based)",
|
|
2066
2101
|
"examples": [ 3 ]
|
|
2067
2102
|
},
|
|
2068
2103
|
"rowsPerPage": {
|
|
2069
2104
|
"type": "Number",
|
|
2105
|
+
"required": true,
|
|
2070
2106
|
"desc": "How many rows per page? 0 means Infinite",
|
|
2071
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 ]
|
|
2072
2114
|
}
|
|
2073
2115
|
}
|
|
2074
2116
|
}
|
|
@@ -2110,21 +2152,25 @@
|
|
|
2110
2152
|
"definition": {
|
|
2111
2153
|
"index": {
|
|
2112
2154
|
"type": "Number",
|
|
2155
|
+
"required": true,
|
|
2113
2156
|
"desc": "Index of the list item that was scrolled into view (0 based)",
|
|
2114
2157
|
"examples": [ 30 ]
|
|
2115
2158
|
},
|
|
2116
2159
|
"from": {
|
|
2117
2160
|
"type": "Number",
|
|
2161
|
+
"required": true,
|
|
2118
2162
|
"desc": "The index of the first list item that is rendered (0 based)",
|
|
2119
2163
|
"examples": [ 10 ]
|
|
2120
2164
|
},
|
|
2121
2165
|
"to": {
|
|
2122
2166
|
"type": "Number",
|
|
2167
|
+
"required": true,
|
|
2123
2168
|
"desc": "The index of the last list item that is rendered (0 based)",
|
|
2124
2169
|
"examples": [ 50 ]
|
|
2125
2170
|
},
|
|
2126
2171
|
"direction": {
|
|
2127
2172
|
"type": "String",
|
|
2173
|
+
"required": true,
|
|
2128
2174
|
"desc": "Direction of change",
|
|
2129
2175
|
"values": [ "increase", "decrease" ]
|
|
2130
2176
|
}
|
|
@@ -2140,10 +2186,12 @@
|
|
|
2140
2186
|
"params": {
|
|
2141
2187
|
"props": {
|
|
2142
2188
|
"type": "Object",
|
|
2189
|
+
"required": false,
|
|
2143
2190
|
"desc": "Request details",
|
|
2144
2191
|
"definition": {
|
|
2145
2192
|
"pagination": {
|
|
2146
2193
|
"type": "Object",
|
|
2194
|
+
"required": false,
|
|
2147
2195
|
"desc": "Optional pagination object",
|
|
2148
2196
|
"definition": {
|
|
2149
2197
|
"sortBy": {
|
|
@@ -2173,14 +2221,14 @@
|
|
|
2173
2221
|
"params": {
|
|
2174
2222
|
"rows": {
|
|
2175
2223
|
"type": "Array",
|
|
2176
|
-
"desc": "Array of rows",
|
|
2177
2224
|
"required": true,
|
|
2225
|
+
"desc": "Array of rows",
|
|
2178
2226
|
"__exemption": [ "examples" ]
|
|
2179
2227
|
},
|
|
2180
2228
|
"terms": {
|
|
2181
2229
|
"type": [ "String", "Object" ],
|
|
2182
|
-
"desc": "Terms to filter with (is essentially the 'filter' prop value)",
|
|
2183
2230
|
"required": true,
|
|
2231
|
+
"desc": "Terms to filter with (is essentially the 'filter' prop value)",
|
|
2184
2232
|
"__exemption": [ "examples" ]
|
|
2185
2233
|
},
|
|
2186
2234
|
"cols": {
|
|
@@ -2226,8 +2274,8 @@
|
|
|
2226
2274
|
"params": {
|
|
2227
2275
|
"pagination": {
|
|
2228
2276
|
"type": "Object",
|
|
2229
|
-
"desc": "Pagination object",
|
|
2230
2277
|
"required": true,
|
|
2278
|
+
"desc": "Pagination object",
|
|
2231
2279
|
"definition": {
|
|
2232
2280
|
"sortBy": {
|
|
2233
2281
|
"type": "String",
|
|
@@ -2278,8 +2326,8 @@
|
|
|
2278
2326
|
"params": {
|
|
2279
2327
|
"key": {
|
|
2280
2328
|
"type": "Any",
|
|
2281
|
-
"desc": "Row key value",
|
|
2282
2329
|
"required": true,
|
|
2330
|
+
"desc": "Row key value",
|
|
2283
2331
|
"examples": [ "calories" ]
|
|
2284
2332
|
}
|
|
2285
2333
|
},
|
|
@@ -2298,8 +2346,8 @@
|
|
|
2298
2346
|
"params": {
|
|
2299
2347
|
"key": {
|
|
2300
2348
|
"type": "Any",
|
|
2301
|
-
"desc": "Row key value",
|
|
2302
2349
|
"required": true,
|
|
2350
|
+
"desc": "Row key value",
|
|
2303
2351
|
"examples": [ "calories" ]
|
|
2304
2352
|
}
|
|
2305
2353
|
},
|
|
@@ -2314,8 +2362,8 @@
|
|
|
2314
2362
|
"params": {
|
|
2315
2363
|
"expanded": {
|
|
2316
2364
|
"type": "Array",
|
|
2317
|
-
"desc": "Array containing keys of the expanded rows",
|
|
2318
2365
|
"required": true,
|
|
2366
|
+
"desc": "Array containing keys of the expanded rows",
|
|
2319
2367
|
"examples": [ "[ 'row-a', 'row-b' ]" ]
|
|
2320
2368
|
}
|
|
2321
2369
|
}
|
|
@@ -2326,8 +2374,8 @@
|
|
|
2326
2374
|
"params": {
|
|
2327
2375
|
"col": {
|
|
2328
2376
|
"type": [ "String", "Object" ],
|
|
2329
|
-
"desc": "Column name or column definition object",
|
|
2330
2377
|
"required": true,
|
|
2378
|
+
"desc": "Column name or column definition object",
|
|
2331
2379
|
"examples": [ "calories" ]
|
|
2332
2380
|
}
|
|
2333
2381
|
}
|
|
@@ -2346,14 +2394,15 @@
|
|
|
2346
2394
|
"params": {
|
|
2347
2395
|
"index": {
|
|
2348
2396
|
"type": [ "String", "Number" ],
|
|
2349
|
-
"desc": "The index of the row in page (0 based)",
|
|
2350
2397
|
"required": true,
|
|
2398
|
+
"desc": "The index of the row in page (0 based)",
|
|
2351
2399
|
"examples": [ "1", 23 ]
|
|
2352
2400
|
},
|
|
2353
2401
|
"edge": {
|
|
2354
2402
|
"type": "String",
|
|
2355
|
-
"desc": "Only for virtual scroll - the edge to align to if the row is not visible already
|
|
2356
|
-
"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)"
|
|
2357
2406
|
}
|
|
2358
2407
|
}
|
|
2359
2408
|
}
|