quasar 2.3.0 → 2.3.4
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 +23 -2
- package/dist/api/Cookies.json +4 -3
- package/dist/api/Dialog.json +41 -12
- package/dist/api/Loading.json +4 -2
- package/dist/api/LoadingBar.json +8 -3
- package/dist/api/LocalStorage.json +8 -0
- 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 +4 -2
- package/dist/api/QBtn.json +6 -3
- package/dist/api/QBtnDropdown.json +11 -6
- package/dist/api/QBtnToggle.json +4 -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 +8 -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 +79 -5
- package/dist/api/QDialog.json +8 -4
- package/dist/api/QDrawer.json +10 -5
- package/dist/api/QEditor.json +17 -7
- package/dist/api/QExpansionItem.json +5 -3
- package/dist/api/QFab.json +11 -6
- package/dist/api/QFabAction.json +4 -2
- package/dist/api/QField.json +2 -1
- package/dist/api/QFile.json +7 -2
- package/dist/api/QFooter.json +3 -2
- package/dist/api/QForm.json +1 -1
- package/dist/api/QHeader.json +5 -3
- 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 +2 -1
- package/dist/api/QIntersection.json +17 -1
- package/dist/api/QItem.json +2 -1
- 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 +2 -1
- 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 +8 -4
- package/dist/api/QRating.json +5 -2
- package/dist/api/QResizeObserver.json +4 -1
- package/dist/api/QRouteTab.json +5 -26
- package/dist/api/QScrollArea.json +32 -6
- package/dist/api/QScrollObserver.json +13 -1
- package/dist/api/QSelect.json +141 -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 +8 -4
- 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 +216 -93
- 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 +93 -5
- package/dist/api/QVirtualScroll.json +26 -11
- package/dist/api/ScrollFire.json +1 -1
- package/dist/api/SessionStorage.json +8 -0
- 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 +6 -0
- 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 +8 -1
- package/dist/quasar.esm.prod.js +2 -2
- package/dist/quasar.prod.css +1 -1
- package/dist/quasar.rtl.css +13 -1
- package/dist/quasar.rtl.prod.css +1 -1
- package/dist/quasar.sass +40 -35
- package/dist/quasar.umd.js +74 -48
- package/dist/quasar.umd.prod.js +2 -2
- package/dist/ssr-directives/Morph.js +1 -1
- package/dist/types/api/cookies.d.ts +1 -1
- package/dist/types/composables.d.ts +5 -1
- package/dist/types/extras/icon-set.d.ts +1 -0
- package/dist/types/index.d.ts +519 -192
- package/dist/vetur/quasar-attributes.json +7 -3
- package/dist/vetur/quasar-tags.json +1 -0
- package/dist/web-types/web-types.json +26 -12
- package/icon-set/svg-ionicons-v6.js +225 -0
- package/package.json +5 -2
- package/src/body.js +14 -4
- package/src/components/btn/QBtn.js +1 -0
- package/src/components/btn-dropdown/QBtnDropdown.json +1 -0
- package/src/components/chip/QChip.json +1 -2
- package/src/components/circular-progress/QCircularProgress.json +1 -1
- package/src/components/date/QDate.json +59 -1
- package/src/components/editor/QEditor.js +2 -2
- package/src/components/editor/QEditor.json +6 -2
- package/src/components/expansion-item/QExpansionItem.json +2 -1
- package/src/components/fab/QFab.json +3 -1
- package/src/components/field/QField.json +3 -3
- package/src/components/file/QFile.json +9 -6
- package/src/components/footer/QFooter.json +1 -1
- package/src/components/form/QForm.json +2 -3
- package/src/components/header/QHeader.json +1 -1
- package/src/components/icon/QIcon.js +2 -2
- package/src/components/intersection/QIntersection.js +9 -1
- package/src/components/intersection/QIntersection.json +9 -0
- package/src/components/layout/QLayout.json +8 -1
- package/src/components/linear-progress/QLinearProgress.js +3 -2
- package/src/components/linear-progress/QLinearProgress.json +1 -1
- package/src/components/linear-progress/QLinearProgress.sass +1 -1
- package/src/components/pagination/QPagination.json +0 -1
- package/src/components/popup-edit/QPopupEdit.json +1 -0
- package/src/components/popup-proxy/QPopupProxy.json +2 -1
- package/src/components/rating/QRating.json +1 -1
- package/src/components/resize-observer/QResizeObserver.json +2 -0
- package/src/components/scroll-area/QScrollArea.js +8 -13
- package/src/components/scroll-area/QScrollArea.json +33 -10
- package/src/components/scroll-observer/QScrollObserver.json +11 -0
- package/src/components/select/QSelect.js +7 -3
- package/src/components/select/QSelect.json +88 -15
- package/src/components/slide-item/QSlideItem.json +9 -0
- package/src/components/slider/use-slider.js +3 -3
- package/src/components/table/QTable.js +1 -1
- package/src/components/table/QTable.json +155 -60
- package/src/components/table/table-pagination.js +4 -0
- package/src/components/tabs/QRouteTab.json +1 -23
- package/src/components/time/QTime.json +8 -0
- package/src/components/tree/QTree.json +26 -21
- package/src/components/tree/QTree.sass +45 -41
- package/src/components/uploader/xhr-uploader-plugin.json +105 -4
- package/src/components/virtual-scroll/QVirtualScroll.json +15 -0
- package/src/components/virtual-scroll/use-virtual-scroll.json +7 -5
- package/src/composables/private/use-field.js +4 -4
- package/src/composables/private/use-refocus-target.js +12 -3
- package/src/composables/private/use-split-attrs.js +10 -7
- package/src/composables/use-dialog-plugin-component.js +1 -0
- package/src/css/core/transitions.sass +3 -1
- package/src/directives/Mutation.json +2 -3
- package/src/directives/ScrollFire.json +2 -3
- package/src/install-quasar.js +1 -0
- package/src/plugins/AppFullscreen.json +8 -8
- package/src/plugins/Cookies.json +2 -2
- package/src/plugins/Dialog.json +6 -5
- package/src/plugins/LoadingBar.json +4 -3
- package/src/plugins/Notify.json +13 -19
- package/src/utils/private/global-dialog.json +16 -2
- package/src/utils/private/web-storage.json +10 -0
- package/wrappers/index.js +4 -0
package/dist/api/QTable.json
CHANGED
|
@@ -33,11 +33,29 @@
|
|
|
33
33
|
],
|
|
34
34
|
"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",
|
|
35
35
|
"default": "id",
|
|
36
|
+
"params": {
|
|
37
|
+
"row": {
|
|
38
|
+
"type": "Object",
|
|
39
|
+
"desc": "The current row being processed",
|
|
40
|
+
"examples": [
|
|
41
|
+
"{ name: 'Lorem Ipsum', price: 19 }"
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"returns": {
|
|
46
|
+
"type": "Any",
|
|
47
|
+
"desc": "Current row's key",
|
|
48
|
+
"examples": [
|
|
49
|
+
"'34f39dda-6206-4071-a9df-4393aabe49ac'",
|
|
50
|
+
"34"
|
|
51
|
+
]
|
|
52
|
+
},
|
|
36
53
|
"examples": [
|
|
37
54
|
"row-key=\"name\"",
|
|
38
55
|
":row-key=\"row => row.name\""
|
|
39
56
|
],
|
|
40
|
-
"category": "general"
|
|
57
|
+
"category": "general",
|
|
58
|
+
"required": false
|
|
41
59
|
},
|
|
42
60
|
"virtual-scroll": {
|
|
43
61
|
"type": "Boolean",
|
|
@@ -54,7 +72,8 @@
|
|
|
54
72
|
"examples": [
|
|
55
73
|
"virtual-scroll-slice-size=\"60\""
|
|
56
74
|
],
|
|
57
|
-
"category": "virtual-scroll"
|
|
75
|
+
"category": "virtual-scroll",
|
|
76
|
+
"required": false
|
|
58
77
|
},
|
|
59
78
|
"virtual-scroll-slice-ratio-before": {
|
|
60
79
|
"type": [
|
|
@@ -66,7 +85,8 @@
|
|
|
66
85
|
"examples": [
|
|
67
86
|
"virtual-scroll-slice-ratio-before=\"0.3\""
|
|
68
87
|
],
|
|
69
|
-
"category": "virtual-scroll"
|
|
88
|
+
"category": "virtual-scroll",
|
|
89
|
+
"required": false
|
|
70
90
|
},
|
|
71
91
|
"virtual-scroll-slice-ratio-after": {
|
|
72
92
|
"type": [
|
|
@@ -78,7 +98,8 @@
|
|
|
78
98
|
"examples": [
|
|
79
99
|
"virtual-scroll-slice-ratio-after=\"2\""
|
|
80
100
|
],
|
|
81
|
-
"category": "virtual-scroll"
|
|
101
|
+
"category": "virtual-scroll",
|
|
102
|
+
"required": false
|
|
82
103
|
},
|
|
83
104
|
"virtual-scroll-item-size": {
|
|
84
105
|
"type": [
|
|
@@ -90,7 +111,8 @@
|
|
|
90
111
|
"examples": [
|
|
91
112
|
"virtual-scroll-item-size=\"48\""
|
|
92
113
|
],
|
|
93
|
-
"category": "virtual-scroll"
|
|
114
|
+
"category": "virtual-scroll",
|
|
115
|
+
"required": false
|
|
94
116
|
},
|
|
95
117
|
"virtual-scroll-sticky-size-start": {
|
|
96
118
|
"type": [
|
|
@@ -102,7 +124,8 @@
|
|
|
102
124
|
"examples": [
|
|
103
125
|
"virtual-scroll-sticky-size-start=\"48\""
|
|
104
126
|
],
|
|
105
|
-
"category": "virtual-scroll"
|
|
127
|
+
"category": "virtual-scroll",
|
|
128
|
+
"required": false
|
|
106
129
|
},
|
|
107
130
|
"virtual-scroll-sticky-size-end": {
|
|
108
131
|
"type": [
|
|
@@ -114,7 +137,8 @@
|
|
|
114
137
|
"examples": [
|
|
115
138
|
"virtual-scroll-sticky-size-end=\"48\""
|
|
116
139
|
],
|
|
117
|
-
"category": "virtual-scroll"
|
|
140
|
+
"category": "virtual-scroll",
|
|
141
|
+
"required": false
|
|
118
142
|
},
|
|
119
143
|
"table-colspan": {
|
|
120
144
|
"type": [
|
|
@@ -135,7 +159,8 @@
|
|
|
135
159
|
"teal-10"
|
|
136
160
|
],
|
|
137
161
|
"category": "style",
|
|
138
|
-
"default": "grey-8"
|
|
162
|
+
"default": "grey-8",
|
|
163
|
+
"required": false
|
|
139
164
|
},
|
|
140
165
|
"icon-first-page": {
|
|
141
166
|
"type": "String",
|
|
@@ -206,16 +231,16 @@
|
|
|
206
231
|
"definition": {
|
|
207
232
|
"name": {
|
|
208
233
|
"type": "String",
|
|
209
|
-
"desc": "Unique id, identifies column, (used by pagination.sortBy, 'body-cell-[name]' slot, ...)",
|
|
210
234
|
"required": true,
|
|
235
|
+
"desc": "Unique id, identifies column, (used by pagination.sortBy, 'body-cell-[name]' slot, ...)",
|
|
211
236
|
"examples": [
|
|
212
237
|
"desc"
|
|
213
238
|
]
|
|
214
239
|
},
|
|
215
240
|
"label": {
|
|
216
241
|
"type": "String",
|
|
217
|
-
"desc": "Label for header",
|
|
218
242
|
"required": true,
|
|
243
|
+
"desc": "Label for header",
|
|
219
244
|
"examples": [
|
|
220
245
|
"Dessert (100g serving)"
|
|
221
246
|
]
|
|
@@ -225,17 +250,33 @@
|
|
|
225
250
|
"String",
|
|
226
251
|
"Function"
|
|
227
252
|
],
|
|
228
|
-
"desc": "Row Object property to determine value for this column or function which maps to the required property",
|
|
229
253
|
"required": true,
|
|
254
|
+
"desc": "Row Object property to determine value for this column or function which maps to the required property",
|
|
255
|
+
"params": {
|
|
256
|
+
"row": {
|
|
257
|
+
"type": "Object",
|
|
258
|
+
"required": true,
|
|
259
|
+
"desc": "The current row being processed",
|
|
260
|
+
"examples": [
|
|
261
|
+
"{ name: 'Lorem Ipsum', prices: { active: 19, old: 25, list: 29 } }"
|
|
262
|
+
]
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
"returns": {
|
|
266
|
+
"type": "Any",
|
|
267
|
+
"desc": "Value for this column",
|
|
268
|
+
"examples": [
|
|
269
|
+
"19"
|
|
270
|
+
]
|
|
271
|
+
},
|
|
230
272
|
"examples": [
|
|
231
273
|
"name",
|
|
232
|
-
"row => row.
|
|
274
|
+
"row => row.prices.active"
|
|
233
275
|
]
|
|
234
276
|
},
|
|
235
277
|
"required": {
|
|
236
278
|
"type": "Boolean",
|
|
237
|
-
"desc": "If we use visible-columns, this col will always be visible"
|
|
238
|
-
"default": false
|
|
279
|
+
"desc": "If we use visible-columns, this col will always be visible"
|
|
239
280
|
},
|
|
240
281
|
"align": {
|
|
241
282
|
"type": "String",
|
|
@@ -246,16 +287,13 @@
|
|
|
246
287
|
"center"
|
|
247
288
|
],
|
|
248
289
|
"default": "right",
|
|
249
|
-
"
|
|
250
|
-
"left",
|
|
251
|
-
"right",
|
|
252
|
-
"center"
|
|
253
|
-
]
|
|
290
|
+
"required": false
|
|
254
291
|
},
|
|
255
292
|
"sortable": {
|
|
256
293
|
"type": "Boolean",
|
|
257
294
|
"desc": "Tell QTable you want this column sortable",
|
|
258
|
-
"default": false
|
|
295
|
+
"default": false,
|
|
296
|
+
"required": false
|
|
259
297
|
},
|
|
260
298
|
"sort": {
|
|
261
299
|
"type": "Function",
|
|
@@ -266,6 +304,7 @@
|
|
|
266
304
|
"params": {
|
|
267
305
|
"a": {
|
|
268
306
|
"type": "Any",
|
|
307
|
+
"required": true,
|
|
269
308
|
"desc": "Value of the first comparison term",
|
|
270
309
|
"examples": [
|
|
271
310
|
123,
|
|
@@ -274,6 +313,7 @@
|
|
|
274
313
|
},
|
|
275
314
|
"b": {
|
|
276
315
|
"type": "Any",
|
|
316
|
+
"required": true,
|
|
277
317
|
"desc": "Value of the second comparison term",
|
|
278
318
|
"examples": [
|
|
279
319
|
123,
|
|
@@ -282,6 +322,7 @@
|
|
|
282
322
|
},
|
|
283
323
|
"rowA": {
|
|
284
324
|
"type": "Object",
|
|
325
|
+
"required": true,
|
|
285
326
|
"desc": "Full Row object in which is contained the first term",
|
|
286
327
|
"examples": [
|
|
287
328
|
"{ name: 'Potassium', value: 'K' }"
|
|
@@ -289,6 +330,7 @@
|
|
|
289
330
|
},
|
|
290
331
|
"rowB": {
|
|
291
332
|
"type": "Object",
|
|
333
|
+
"required": true,
|
|
292
334
|
"desc": "Full Row object in which is contained the second term",
|
|
293
335
|
"examples": [
|
|
294
336
|
"{ name: 'Fluorine', value: 'F' }"
|
|
@@ -312,7 +354,8 @@
|
|
|
312
354
|
"ad",
|
|
313
355
|
"da"
|
|
314
356
|
],
|
|
315
|
-
"default": "ad"
|
|
357
|
+
"default": "ad",
|
|
358
|
+
"required": false
|
|
316
359
|
},
|
|
317
360
|
"format": {
|
|
318
361
|
"type": "Function",
|
|
@@ -324,6 +367,7 @@
|
|
|
324
367
|
"params": {
|
|
325
368
|
"val": {
|
|
326
369
|
"type": "Any",
|
|
370
|
+
"required": true,
|
|
327
371
|
"desc": "Value of the cell",
|
|
328
372
|
"examples": [
|
|
329
373
|
123,
|
|
@@ -332,6 +376,7 @@
|
|
|
332
376
|
},
|
|
333
377
|
"row": {
|
|
334
378
|
"type": "Object",
|
|
379
|
+
"required": true,
|
|
335
380
|
"desc": "Full Row object in which the cell is contained",
|
|
336
381
|
"examples": [
|
|
337
382
|
"{ name: 'Potassium', value: 'K' }"
|
|
@@ -352,9 +397,22 @@
|
|
|
352
397
|
"Function"
|
|
353
398
|
],
|
|
354
399
|
"desc": "Style to apply on normal cells of the column",
|
|
400
|
+
"params": {
|
|
401
|
+
"row": {
|
|
402
|
+
"type": "Object",
|
|
403
|
+
"required": true,
|
|
404
|
+
"desc": "The current row being processed",
|
|
405
|
+
"examples": [
|
|
406
|
+
"{ name: 'Frozen Yogurt', calories: 159 }"
|
|
407
|
+
]
|
|
408
|
+
}
|
|
409
|
+
},
|
|
410
|
+
"returns": {
|
|
411
|
+
"type": "String"
|
|
412
|
+
},
|
|
355
413
|
"examples": [
|
|
356
|
-
"width: 500px",
|
|
357
|
-
"row => (row.calories % 2 === 0 ? 'width:10px' : 'font-size:2em')"
|
|
414
|
+
"'width: 500px'",
|
|
415
|
+
"row => (row.calories % 2 === 0 ? 'width: 10px' : 'font-size: 2em; font-weight: bold')"
|
|
358
416
|
]
|
|
359
417
|
},
|
|
360
418
|
"classes": {
|
|
@@ -363,9 +421,22 @@
|
|
|
363
421
|
"Function"
|
|
364
422
|
],
|
|
365
423
|
"desc": "Classes to add on normal cells of the column",
|
|
424
|
+
"params": {
|
|
425
|
+
"row": {
|
|
426
|
+
"type": "Object",
|
|
427
|
+
"required": true,
|
|
428
|
+
"desc": "The current row being processed",
|
|
429
|
+
"examples": [
|
|
430
|
+
"{ name: 'Frozen Yogurt', calories: 159 }"
|
|
431
|
+
]
|
|
432
|
+
}
|
|
433
|
+
},
|
|
434
|
+
"returns": {
|
|
435
|
+
"type": "String"
|
|
436
|
+
},
|
|
366
437
|
"examples": [
|
|
367
|
-
"my-special-class",
|
|
368
|
-
"row => (row.calories % 2 === 0 ? 'bg-green' : 'bg-yellow')"
|
|
438
|
+
"'my-special-class bg-primary'",
|
|
439
|
+
"row => (row.calories % 2 === 0 ? 'bg-green text-white' : 'bg-yellow')"
|
|
369
440
|
]
|
|
370
441
|
},
|
|
371
442
|
"headerStyle": {
|
|
@@ -461,10 +532,8 @@
|
|
|
461
532
|
"cell",
|
|
462
533
|
"none"
|
|
463
534
|
],
|
|
464
|
-
"
|
|
465
|
-
|
|
466
|
-
],
|
|
467
|
-
"category": "content"
|
|
535
|
+
"category": "content",
|
|
536
|
+
"required": false
|
|
468
537
|
},
|
|
469
538
|
"wrap-cells": {
|
|
470
539
|
"type": "Boolean",
|
|
@@ -484,7 +553,8 @@
|
|
|
484
553
|
"da"
|
|
485
554
|
],
|
|
486
555
|
"default": "ad",
|
|
487
|
-
"category": "sorting"
|
|
556
|
+
"category": "sorting",
|
|
557
|
+
"required": false
|
|
488
558
|
},
|
|
489
559
|
"no-data-label": {
|
|
490
560
|
"type": "String",
|
|
@@ -716,20 +786,18 @@
|
|
|
716
786
|
"params": {
|
|
717
787
|
"rows": {
|
|
718
788
|
"type": "Array",
|
|
719
|
-
"desc": "Array of rows"
|
|
720
|
-
"required": true
|
|
789
|
+
"desc": "Array of rows"
|
|
721
790
|
},
|
|
722
791
|
"terms": {
|
|
723
792
|
"type": [
|
|
724
793
|
"String",
|
|
725
794
|
"Object"
|
|
726
795
|
],
|
|
727
|
-
"desc": "Terms to filter with (is essentially the 'filter' prop value)"
|
|
728
|
-
"required": true
|
|
796
|
+
"desc": "Terms to filter with (is essentially the 'filter' prop value)"
|
|
729
797
|
},
|
|
730
798
|
"cols": {
|
|
731
799
|
"type": "Array",
|
|
732
|
-
"desc": "
|
|
800
|
+
"desc": "Column definitions"
|
|
733
801
|
},
|
|
734
802
|
"getCellValue": {
|
|
735
803
|
"type": "Function",
|
|
@@ -737,10 +805,12 @@
|
|
|
737
805
|
"params": {
|
|
738
806
|
"col": {
|
|
739
807
|
"type": "Object",
|
|
808
|
+
"required": true,
|
|
740
809
|
"desc": "Column name from column definitions"
|
|
741
810
|
},
|
|
742
811
|
"row": {
|
|
743
812
|
"type": "Object",
|
|
813
|
+
"required": true,
|
|
744
814
|
"desc": "The row object"
|
|
745
815
|
}
|
|
746
816
|
},
|
|
@@ -761,7 +831,8 @@
|
|
|
761
831
|
"examples": [
|
|
762
832
|
"(see source code)"
|
|
763
833
|
],
|
|
764
|
-
"category": "filter"
|
|
834
|
+
"category": "filter",
|
|
835
|
+
"required": false
|
|
765
836
|
},
|
|
766
837
|
"pagination": {
|
|
767
838
|
"type": "Object",
|
|
@@ -814,7 +885,8 @@
|
|
|
814
885
|
"examples": [
|
|
815
886
|
":rows-per-page-options=\"[10, 20]\""
|
|
816
887
|
],
|
|
817
|
-
"category": "pagination"
|
|
888
|
+
"category": "pagination",
|
|
889
|
+
"required": false
|
|
818
890
|
},
|
|
819
891
|
"selection": {
|
|
820
892
|
"type": "String",
|
|
@@ -828,7 +900,8 @@
|
|
|
828
900
|
"examples": [
|
|
829
901
|
"multiple"
|
|
830
902
|
],
|
|
831
|
-
"category": "selection"
|
|
903
|
+
"category": "selection",
|
|
904
|
+
"required": false
|
|
832
905
|
},
|
|
833
906
|
"selected": {
|
|
834
907
|
"type": "Array",
|
|
@@ -837,7 +910,8 @@
|
|
|
837
910
|
"examples": [
|
|
838
911
|
"v-model:selected=\"selection\""
|
|
839
912
|
],
|
|
840
|
-
"category": "selection"
|
|
913
|
+
"category": "selection",
|
|
914
|
+
"required": false
|
|
841
915
|
},
|
|
842
916
|
"expanded": {
|
|
843
917
|
"type": "Array",
|
|
@@ -846,7 +920,8 @@
|
|
|
846
920
|
"examples": [
|
|
847
921
|
"v-model:expanded=\"expanded\""
|
|
848
922
|
],
|
|
849
|
-
"category": "expansion"
|
|
923
|
+
"category": "expansion",
|
|
924
|
+
"required": false
|
|
850
925
|
},
|
|
851
926
|
"sort-method": {
|
|
852
927
|
"type": "Function",
|
|
@@ -876,7 +951,8 @@
|
|
|
876
951
|
"examples": [
|
|
877
952
|
"(see source code)"
|
|
878
953
|
],
|
|
879
|
-
"category": "sorting"
|
|
954
|
+
"category": "sorting",
|
|
955
|
+
"required": false
|
|
880
956
|
}
|
|
881
957
|
},
|
|
882
958
|
"slots": {
|
|
@@ -919,8 +995,8 @@
|
|
|
919
995
|
"String",
|
|
920
996
|
"Object"
|
|
921
997
|
],
|
|
922
|
-
"desc": "Column name or column definition object",
|
|
923
998
|
"required": true,
|
|
999
|
+
"desc": "Column name or column definition object",
|
|
924
1000
|
"examples": [
|
|
925
1001
|
"calories"
|
|
926
1002
|
]
|
|
@@ -945,8 +1021,7 @@
|
|
|
945
1021
|
"primary",
|
|
946
1022
|
"teal-10"
|
|
947
1023
|
],
|
|
948
|
-
"category": "style"
|
|
949
|
-
"default": "grey-8"
|
|
1024
|
+
"category": "style"
|
|
950
1025
|
},
|
|
951
1026
|
"dark": {
|
|
952
1027
|
"type": "Boolean",
|
|
@@ -996,8 +1071,8 @@
|
|
|
996
1071
|
"String",
|
|
997
1072
|
"Object"
|
|
998
1073
|
],
|
|
999
|
-
"desc": "Column name or column definition object",
|
|
1000
1074
|
"required": true,
|
|
1075
|
+
"desc": "Column name or column definition object",
|
|
1001
1076
|
"examples": [
|
|
1002
1077
|
"calories"
|
|
1003
1078
|
]
|
|
@@ -1022,8 +1097,7 @@
|
|
|
1022
1097
|
"primary",
|
|
1023
1098
|
"teal-10"
|
|
1024
1099
|
],
|
|
1025
|
-
"category": "style"
|
|
1026
|
-
"default": "grey-8"
|
|
1100
|
+
"category": "style"
|
|
1027
1101
|
},
|
|
1028
1102
|
"dark": {
|
|
1029
1103
|
"type": "Boolean",
|
|
@@ -1085,8 +1159,8 @@
|
|
|
1085
1159
|
"String",
|
|
1086
1160
|
"Object"
|
|
1087
1161
|
],
|
|
1088
|
-
"desc": "Column name or column definition object",
|
|
1089
1162
|
"required": true,
|
|
1163
|
+
"desc": "Column name or column definition object",
|
|
1090
1164
|
"examples": [
|
|
1091
1165
|
"calories"
|
|
1092
1166
|
]
|
|
@@ -1111,8 +1185,7 @@
|
|
|
1111
1185
|
"primary",
|
|
1112
1186
|
"teal-10"
|
|
1113
1187
|
],
|
|
1114
|
-
"category": "style"
|
|
1115
|
-
"default": "grey-8"
|
|
1188
|
+
"category": "style"
|
|
1116
1189
|
},
|
|
1117
1190
|
"dark": {
|
|
1118
1191
|
"type": "Boolean",
|
|
@@ -1170,8 +1243,8 @@
|
|
|
1170
1243
|
"String",
|
|
1171
1244
|
"Object"
|
|
1172
1245
|
],
|
|
1173
|
-
"desc": "Column name or column definition object",
|
|
1174
1246
|
"required": true,
|
|
1247
|
+
"desc": "Column name or column definition object",
|
|
1175
1248
|
"examples": [
|
|
1176
1249
|
"calories"
|
|
1177
1250
|
]
|
|
@@ -1196,8 +1269,7 @@
|
|
|
1196
1269
|
"primary",
|
|
1197
1270
|
"teal-10"
|
|
1198
1271
|
],
|
|
1199
|
-
"category": "style"
|
|
1200
|
-
"default": "grey-8"
|
|
1272
|
+
"category": "style"
|
|
1201
1273
|
},
|
|
1202
1274
|
"dark": {
|
|
1203
1275
|
"type": "Boolean",
|
|
@@ -1231,8 +1303,8 @@
|
|
|
1231
1303
|
"String",
|
|
1232
1304
|
"Object"
|
|
1233
1305
|
],
|
|
1234
|
-
"desc": "Column name or column definition object",
|
|
1235
1306
|
"required": true,
|
|
1307
|
+
"desc": "Column name or column definition object",
|
|
1236
1308
|
"examples": [
|
|
1237
1309
|
"calories"
|
|
1238
1310
|
]
|
|
@@ -1257,8 +1329,7 @@
|
|
|
1257
1329
|
"primary",
|
|
1258
1330
|
"teal-10"
|
|
1259
1331
|
],
|
|
1260
|
-
"category": "style"
|
|
1261
|
-
"default": "grey-8"
|
|
1332
|
+
"category": "style"
|
|
1262
1333
|
},
|
|
1263
1334
|
"dark": {
|
|
1264
1335
|
"type": "Boolean",
|
|
@@ -1304,8 +1375,8 @@
|
|
|
1304
1375
|
"String",
|
|
1305
1376
|
"Object"
|
|
1306
1377
|
],
|
|
1307
|
-
"desc": "Column name or column definition object",
|
|
1308
1378
|
"required": true,
|
|
1379
|
+
"desc": "Column name or column definition object",
|
|
1309
1380
|
"examples": [
|
|
1310
1381
|
"calories"
|
|
1311
1382
|
]
|
|
@@ -1330,8 +1401,7 @@
|
|
|
1330
1401
|
"primary",
|
|
1331
1402
|
"teal-10"
|
|
1332
1403
|
],
|
|
1333
|
-
"category": "style"
|
|
1334
|
-
"default": "grey-8"
|
|
1404
|
+
"category": "style"
|
|
1335
1405
|
},
|
|
1336
1406
|
"dark": {
|
|
1337
1407
|
"type": "Boolean",
|
|
@@ -1369,8 +1439,8 @@
|
|
|
1369
1439
|
"String",
|
|
1370
1440
|
"Object"
|
|
1371
1441
|
],
|
|
1372
|
-
"desc": "Column name or column definition object",
|
|
1373
1442
|
"required": true,
|
|
1443
|
+
"desc": "Column name or column definition object",
|
|
1374
1444
|
"examples": [
|
|
1375
1445
|
"calories"
|
|
1376
1446
|
]
|
|
@@ -1395,8 +1465,7 @@
|
|
|
1395
1465
|
"primary",
|
|
1396
1466
|
"teal-10"
|
|
1397
1467
|
],
|
|
1398
|
-
"category": "style"
|
|
1399
|
-
"default": "grey-8"
|
|
1468
|
+
"category": "style"
|
|
1400
1469
|
},
|
|
1401
1470
|
"dark": {
|
|
1402
1471
|
"type": "Boolean",
|
|
@@ -1446,8 +1515,8 @@
|
|
|
1446
1515
|
"String",
|
|
1447
1516
|
"Object"
|
|
1448
1517
|
],
|
|
1449
|
-
"desc": "Column name or column definition object",
|
|
1450
1518
|
"required": true,
|
|
1519
|
+
"desc": "Column name or column definition object",
|
|
1451
1520
|
"examples": [
|
|
1452
1521
|
"calories"
|
|
1453
1522
|
]
|
|
@@ -1472,8 +1541,7 @@
|
|
|
1472
1541
|
"primary",
|
|
1473
1542
|
"teal-10"
|
|
1474
1543
|
],
|
|
1475
|
-
"category": "style"
|
|
1476
|
-
"default": "grey-8"
|
|
1544
|
+
"category": "style"
|
|
1477
1545
|
},
|
|
1478
1546
|
"dark": {
|
|
1479
1547
|
"type": "Boolean",
|
|
@@ -1507,8 +1575,8 @@
|
|
|
1507
1575
|
"String",
|
|
1508
1576
|
"Object"
|
|
1509
1577
|
],
|
|
1510
|
-
"desc": "Column name or column definition object",
|
|
1511
1578
|
"required": true,
|
|
1579
|
+
"desc": "Column name or column definition object",
|
|
1512
1580
|
"examples": [
|
|
1513
1581
|
"calories"
|
|
1514
1582
|
]
|
|
@@ -1533,8 +1601,7 @@
|
|
|
1533
1601
|
"primary",
|
|
1534
1602
|
"teal-10"
|
|
1535
1603
|
],
|
|
1536
|
-
"category": "style"
|
|
1537
|
-
"default": "grey-8"
|
|
1604
|
+
"category": "style"
|
|
1538
1605
|
},
|
|
1539
1606
|
"dark": {
|
|
1540
1607
|
"type": "Boolean",
|
|
@@ -1575,6 +1642,7 @@
|
|
|
1575
1642
|
"definition": {
|
|
1576
1643
|
"sortBy": {
|
|
1577
1644
|
"type": "String",
|
|
1645
|
+
"required": true,
|
|
1578
1646
|
"desc": "Column name (from column definition)",
|
|
1579
1647
|
"examples": [
|
|
1580
1648
|
"calories"
|
|
@@ -1582,10 +1650,12 @@
|
|
|
1582
1650
|
},
|
|
1583
1651
|
"descending": {
|
|
1584
1652
|
"type": "Boolean",
|
|
1653
|
+
"required": true,
|
|
1585
1654
|
"desc": "Is sorting in descending order?"
|
|
1586
1655
|
},
|
|
1587
1656
|
"page": {
|
|
1588
1657
|
"type": "Number",
|
|
1658
|
+
"required": true,
|
|
1589
1659
|
"desc": "Page number (1-based)",
|
|
1590
1660
|
"examples": [
|
|
1591
1661
|
3
|
|
@@ -1593,6 +1663,7 @@
|
|
|
1593
1663
|
},
|
|
1594
1664
|
"rowsPerPage": {
|
|
1595
1665
|
"type": "Number",
|
|
1666
|
+
"required": true,
|
|
1596
1667
|
"desc": "How many rows per page? 0 means Infinite",
|
|
1597
1668
|
"examples": [
|
|
1598
1669
|
10
|
|
@@ -1660,6 +1731,7 @@
|
|
|
1660
1731
|
"definition": {
|
|
1661
1732
|
"sortBy": {
|
|
1662
1733
|
"type": "String",
|
|
1734
|
+
"required": true,
|
|
1663
1735
|
"desc": "Column name (from column definition)",
|
|
1664
1736
|
"examples": [
|
|
1665
1737
|
"calories"
|
|
@@ -1667,10 +1739,12 @@
|
|
|
1667
1739
|
},
|
|
1668
1740
|
"descending": {
|
|
1669
1741
|
"type": "Boolean",
|
|
1742
|
+
"required": true,
|
|
1670
1743
|
"desc": "Is sorting in descending order?"
|
|
1671
1744
|
},
|
|
1672
1745
|
"page": {
|
|
1673
1746
|
"type": "Number",
|
|
1747
|
+
"required": true,
|
|
1674
1748
|
"desc": "Page number (1-based)",
|
|
1675
1749
|
"examples": [
|
|
1676
1750
|
3
|
|
@@ -1678,6 +1752,7 @@
|
|
|
1678
1752
|
},
|
|
1679
1753
|
"rowsPerPage": {
|
|
1680
1754
|
"type": "Number",
|
|
1755
|
+
"required": true,
|
|
1681
1756
|
"desc": "How many rows per page? 0 means Infinite",
|
|
1682
1757
|
"examples": [
|
|
1683
1758
|
10
|
|
@@ -1745,6 +1820,7 @@
|
|
|
1745
1820
|
"definition": {
|
|
1746
1821
|
"sortBy": {
|
|
1747
1822
|
"type": "String",
|
|
1823
|
+
"required": true,
|
|
1748
1824
|
"desc": "Column name (from column definition)",
|
|
1749
1825
|
"examples": [
|
|
1750
1826
|
"calories"
|
|
@@ -1752,10 +1828,12 @@
|
|
|
1752
1828
|
},
|
|
1753
1829
|
"descending": {
|
|
1754
1830
|
"type": "Boolean",
|
|
1831
|
+
"required": true,
|
|
1755
1832
|
"desc": "Is sorting in descending order?"
|
|
1756
1833
|
},
|
|
1757
1834
|
"page": {
|
|
1758
1835
|
"type": "Number",
|
|
1836
|
+
"required": true,
|
|
1759
1837
|
"desc": "Page number (1-based)",
|
|
1760
1838
|
"examples": [
|
|
1761
1839
|
3
|
|
@@ -1763,6 +1841,7 @@
|
|
|
1763
1841
|
},
|
|
1764
1842
|
"rowsPerPage": {
|
|
1765
1843
|
"type": "Number",
|
|
1844
|
+
"required": true,
|
|
1766
1845
|
"desc": "How many rows per page? 0 means Infinite",
|
|
1767
1846
|
"examples": [
|
|
1768
1847
|
10
|
|
@@ -1830,6 +1909,7 @@
|
|
|
1830
1909
|
"definition": {
|
|
1831
1910
|
"sortBy": {
|
|
1832
1911
|
"type": "String",
|
|
1912
|
+
"required": true,
|
|
1833
1913
|
"desc": "Column name (from column definition)",
|
|
1834
1914
|
"examples": [
|
|
1835
1915
|
"calories"
|
|
@@ -1837,10 +1917,12 @@
|
|
|
1837
1917
|
},
|
|
1838
1918
|
"descending": {
|
|
1839
1919
|
"type": "Boolean",
|
|
1920
|
+
"required": true,
|
|
1840
1921
|
"desc": "Is sorting in descending order?"
|
|
1841
1922
|
},
|
|
1842
1923
|
"page": {
|
|
1843
1924
|
"type": "Number",
|
|
1925
|
+
"required": true,
|
|
1844
1926
|
"desc": "Page number (1-based)",
|
|
1845
1927
|
"examples": [
|
|
1846
1928
|
3
|
|
@@ -1848,6 +1930,7 @@
|
|
|
1848
1930
|
},
|
|
1849
1931
|
"rowsPerPage": {
|
|
1850
1932
|
"type": "Number",
|
|
1933
|
+
"required": true,
|
|
1851
1934
|
"desc": "How many rows per page? 0 means Infinite",
|
|
1852
1935
|
"examples": [
|
|
1853
1936
|
10
|
|
@@ -1915,6 +1998,7 @@
|
|
|
1915
1998
|
"definition": {
|
|
1916
1999
|
"sortBy": {
|
|
1917
2000
|
"type": "String",
|
|
2001
|
+
"required": true,
|
|
1918
2002
|
"desc": "Column name (from column definition)",
|
|
1919
2003
|
"examples": [
|
|
1920
2004
|
"calories"
|
|
@@ -1922,10 +2006,12 @@
|
|
|
1922
2006
|
},
|
|
1923
2007
|
"descending": {
|
|
1924
2008
|
"type": "Boolean",
|
|
2009
|
+
"required": true,
|
|
1925
2010
|
"desc": "Is sorting in descending order?"
|
|
1926
2011
|
},
|
|
1927
2012
|
"page": {
|
|
1928
2013
|
"type": "Number",
|
|
2014
|
+
"required": true,
|
|
1929
2015
|
"desc": "Page number (1-based)",
|
|
1930
2016
|
"examples": [
|
|
1931
2017
|
3
|
|
@@ -1933,6 +2019,7 @@
|
|
|
1933
2019
|
},
|
|
1934
2020
|
"rowsPerPage": {
|
|
1935
2021
|
"type": "Number",
|
|
2022
|
+
"required": true,
|
|
1936
2023
|
"desc": "How many rows per page? 0 means Infinite",
|
|
1937
2024
|
"examples": [
|
|
1938
2025
|
10
|
|
@@ -2000,6 +2087,7 @@
|
|
|
2000
2087
|
"definition": {
|
|
2001
2088
|
"sortBy": {
|
|
2002
2089
|
"type": "String",
|
|
2090
|
+
"required": true,
|
|
2003
2091
|
"desc": "Column name (from column definition)",
|
|
2004
2092
|
"examples": [
|
|
2005
2093
|
"calories"
|
|
@@ -2007,10 +2095,12 @@
|
|
|
2007
2095
|
},
|
|
2008
2096
|
"descending": {
|
|
2009
2097
|
"type": "Boolean",
|
|
2098
|
+
"required": true,
|
|
2010
2099
|
"desc": "Is sorting in descending order?"
|
|
2011
2100
|
},
|
|
2012
2101
|
"page": {
|
|
2013
2102
|
"type": "Number",
|
|
2103
|
+
"required": true,
|
|
2014
2104
|
"desc": "Page number (1-based)",
|
|
2015
2105
|
"examples": [
|
|
2016
2106
|
3
|
|
@@ -2018,6 +2108,7 @@
|
|
|
2018
2108
|
},
|
|
2019
2109
|
"rowsPerPage": {
|
|
2020
2110
|
"type": "Number",
|
|
2111
|
+
"required": true,
|
|
2021
2112
|
"desc": "How many rows per page? 0 means Infinite",
|
|
2022
2113
|
"examples": [
|
|
2023
2114
|
10
|
|
@@ -2102,8 +2193,7 @@
|
|
|
2102
2193
|
"params": {
|
|
2103
2194
|
"evt": {
|
|
2104
2195
|
"type": "Object",
|
|
2105
|
-
"desc": "JS event object"
|
|
2106
|
-
"required": true
|
|
2196
|
+
"desc": "JS event object"
|
|
2107
2197
|
},
|
|
2108
2198
|
"row": {
|
|
2109
2199
|
"type": "Object",
|
|
@@ -2120,8 +2210,7 @@
|
|
|
2120
2210
|
"params": {
|
|
2121
2211
|
"evt": {
|
|
2122
2212
|
"type": "Object",
|
|
2123
|
-
"desc": "JS event object"
|
|
2124
|
-
"required": true
|
|
2213
|
+
"desc": "JS event object"
|
|
2125
2214
|
},
|
|
2126
2215
|
"row": {
|
|
2127
2216
|
"type": "Object",
|
|
@@ -2138,8 +2227,7 @@
|
|
|
2138
2227
|
"params": {
|
|
2139
2228
|
"evt": {
|
|
2140
2229
|
"type": "Object",
|
|
2141
|
-
"desc": "JS event object"
|
|
2142
|
-
"required": true
|
|
2230
|
+
"desc": "JS event object"
|
|
2143
2231
|
},
|
|
2144
2232
|
"row": {
|
|
2145
2233
|
"type": "Object",
|
|
@@ -2160,10 +2248,12 @@
|
|
|
2160
2248
|
"definition": {
|
|
2161
2249
|
"pagination": {
|
|
2162
2250
|
"type": "Object",
|
|
2251
|
+
"required": true,
|
|
2163
2252
|
"desc": "Pagination object",
|
|
2164
2253
|
"definition": {
|
|
2165
2254
|
"sortBy": {
|
|
2166
2255
|
"type": "String",
|
|
2256
|
+
"required": true,
|
|
2167
2257
|
"desc": "Column name (from column definition)",
|
|
2168
2258
|
"examples": [
|
|
2169
2259
|
"calories"
|
|
@@ -2171,10 +2261,12 @@
|
|
|
2171
2261
|
},
|
|
2172
2262
|
"descending": {
|
|
2173
2263
|
"type": "Boolean",
|
|
2264
|
+
"required": true,
|
|
2174
2265
|
"desc": "Is sorting in descending order?"
|
|
2175
2266
|
},
|
|
2176
2267
|
"page": {
|
|
2177
2268
|
"type": "Number",
|
|
2269
|
+
"required": true,
|
|
2178
2270
|
"desc": "Page number (1-based)",
|
|
2179
2271
|
"examples": [
|
|
2180
2272
|
3
|
|
@@ -2182,6 +2274,7 @@
|
|
|
2182
2274
|
},
|
|
2183
2275
|
"rowsPerPage": {
|
|
2184
2276
|
"type": "Number",
|
|
2277
|
+
"required": true,
|
|
2185
2278
|
"desc": "How many rows per page? 0 means Infinite",
|
|
2186
2279
|
"examples": [
|
|
2187
2280
|
10
|
|
@@ -2191,20 +2284,21 @@
|
|
|
2191
2284
|
},
|
|
2192
2285
|
"filter": {
|
|
2193
2286
|
"type": "Function",
|
|
2287
|
+
"required": true,
|
|
2194
2288
|
"desc": "Filter method (the 'filter-method' prop)",
|
|
2195
2289
|
"params": {
|
|
2196
2290
|
"rows": {
|
|
2197
2291
|
"type": "Array",
|
|
2198
|
-
"
|
|
2199
|
-
"
|
|
2292
|
+
"required": true,
|
|
2293
|
+
"desc": "Array of rows"
|
|
2200
2294
|
},
|
|
2201
2295
|
"terms": {
|
|
2202
2296
|
"type": [
|
|
2203
2297
|
"String",
|
|
2204
2298
|
"Object"
|
|
2205
2299
|
],
|
|
2206
|
-
"
|
|
2207
|
-
"
|
|
2300
|
+
"required": true,
|
|
2301
|
+
"desc": "Terms to filter with (is essentially the 'filter' prop value)"
|
|
2208
2302
|
},
|
|
2209
2303
|
"cols": {
|
|
2210
2304
|
"type": "Array",
|
|
@@ -2216,10 +2310,12 @@
|
|
|
2216
2310
|
"params": {
|
|
2217
2311
|
"col": {
|
|
2218
2312
|
"type": "Object",
|
|
2313
|
+
"required": true,
|
|
2219
2314
|
"desc": "Column name from column definitions"
|
|
2220
2315
|
},
|
|
2221
2316
|
"row": {
|
|
2222
2317
|
"type": "Object",
|
|
2318
|
+
"required": true,
|
|
2223
2319
|
"desc": "The row object"
|
|
2224
2320
|
}
|
|
2225
2321
|
},
|
|
@@ -2239,14 +2335,17 @@
|
|
|
2239
2335
|
},
|
|
2240
2336
|
"getCellValue": {
|
|
2241
2337
|
"type": "Function",
|
|
2242
|
-
"
|
|
2338
|
+
"required": true,
|
|
2339
|
+
"desc": "Function to get a cell value",
|
|
2243
2340
|
"params": {
|
|
2244
2341
|
"col": {
|
|
2245
2342
|
"type": "Object",
|
|
2343
|
+
"required": true,
|
|
2246
2344
|
"desc": "Column name from column definitions"
|
|
2247
2345
|
},
|
|
2248
2346
|
"row": {
|
|
2249
2347
|
"type": "Object",
|
|
2348
|
+
"required": true,
|
|
2250
2349
|
"desc": "The row object"
|
|
2251
2350
|
}
|
|
2252
2351
|
},
|
|
@@ -2271,20 +2370,23 @@
|
|
|
2271
2370
|
"definition": {
|
|
2272
2371
|
"rows": {
|
|
2273
2372
|
"type": "Array",
|
|
2373
|
+
"required": true,
|
|
2274
2374
|
"desc": "Array of row objects that were selected/unselected"
|
|
2275
2375
|
},
|
|
2276
2376
|
"keys": {
|
|
2277
2377
|
"type": "Array",
|
|
2378
|
+
"required": true,
|
|
2278
2379
|
"desc": "Array of the keys of rows that were selected/unselected"
|
|
2279
2380
|
},
|
|
2280
2381
|
"added": {
|
|
2281
2382
|
"type": "Boolean",
|
|
2383
|
+
"required": true,
|
|
2282
2384
|
"desc": "Were the rows added to selection (true) or removed from selection (false)"
|
|
2283
2385
|
},
|
|
2284
2386
|
"evt": {
|
|
2285
2387
|
"type": "Object",
|
|
2286
|
-
"
|
|
2287
|
-
"
|
|
2388
|
+
"required": true,
|
|
2389
|
+
"desc": "JS event object"
|
|
2288
2390
|
}
|
|
2289
2391
|
}
|
|
2290
2392
|
}
|
|
@@ -2299,6 +2401,7 @@
|
|
|
2299
2401
|
"definition": {
|
|
2300
2402
|
"sortBy": {
|
|
2301
2403
|
"type": "String",
|
|
2404
|
+
"required": true,
|
|
2302
2405
|
"desc": "Column name (from column definition)",
|
|
2303
2406
|
"examples": [
|
|
2304
2407
|
"calories"
|
|
@@ -2306,10 +2409,12 @@
|
|
|
2306
2409
|
},
|
|
2307
2410
|
"descending": {
|
|
2308
2411
|
"type": "Boolean",
|
|
2412
|
+
"required": true,
|
|
2309
2413
|
"desc": "Is sorting in descending order?"
|
|
2310
2414
|
},
|
|
2311
2415
|
"page": {
|
|
2312
2416
|
"type": "Number",
|
|
2417
|
+
"required": true,
|
|
2313
2418
|
"desc": "Page number (1-based)",
|
|
2314
2419
|
"examples": [
|
|
2315
2420
|
3
|
|
@@ -2317,10 +2422,20 @@
|
|
|
2317
2422
|
},
|
|
2318
2423
|
"rowsPerPage": {
|
|
2319
2424
|
"type": "Number",
|
|
2425
|
+
"required": true,
|
|
2320
2426
|
"desc": "How many rows per page? 0 means Infinite",
|
|
2321
2427
|
"examples": [
|
|
2322
2428
|
10
|
|
2323
2429
|
]
|
|
2430
|
+
},
|
|
2431
|
+
"rowsNumber": {
|
|
2432
|
+
"type": "Number",
|
|
2433
|
+
"required": false,
|
|
2434
|
+
"desc": "For server-side fetching only. How many total database rows are there to be added to the table.",
|
|
2435
|
+
"examples": [
|
|
2436
|
+
100,
|
|
2437
|
+
200
|
|
2438
|
+
]
|
|
2324
2439
|
}
|
|
2325
2440
|
}
|
|
2326
2441
|
}
|
|
@@ -2359,6 +2474,7 @@
|
|
|
2359
2474
|
"definition": {
|
|
2360
2475
|
"index": {
|
|
2361
2476
|
"type": "Number",
|
|
2477
|
+
"required": true,
|
|
2362
2478
|
"desc": "Index of the list item that was scrolled into view (0 based)",
|
|
2363
2479
|
"examples": [
|
|
2364
2480
|
30
|
|
@@ -2366,6 +2482,7 @@
|
|
|
2366
2482
|
},
|
|
2367
2483
|
"from": {
|
|
2368
2484
|
"type": "Number",
|
|
2485
|
+
"required": true,
|
|
2369
2486
|
"desc": "The index of the first list item that is rendered (0 based)",
|
|
2370
2487
|
"examples": [
|
|
2371
2488
|
10
|
|
@@ -2373,6 +2490,7 @@
|
|
|
2373
2490
|
},
|
|
2374
2491
|
"to": {
|
|
2375
2492
|
"type": "Number",
|
|
2493
|
+
"required": true,
|
|
2376
2494
|
"desc": "The index of the last list item that is rendered (0 based)",
|
|
2377
2495
|
"examples": [
|
|
2378
2496
|
50
|
|
@@ -2380,6 +2498,7 @@
|
|
|
2380
2498
|
},
|
|
2381
2499
|
"direction": {
|
|
2382
2500
|
"type": "String",
|
|
2501
|
+
"required": true,
|
|
2383
2502
|
"desc": "Direction of change",
|
|
2384
2503
|
"values": [
|
|
2385
2504
|
"increase",
|
|
@@ -2406,10 +2525,12 @@
|
|
|
2406
2525
|
"params": {
|
|
2407
2526
|
"props": {
|
|
2408
2527
|
"type": "Object",
|
|
2528
|
+
"required": false,
|
|
2409
2529
|
"desc": "Request details",
|
|
2410
2530
|
"definition": {
|
|
2411
2531
|
"pagination": {
|
|
2412
2532
|
"type": "Object",
|
|
2533
|
+
"required": false,
|
|
2413
2534
|
"desc": "Optional pagination object",
|
|
2414
2535
|
"definition": {
|
|
2415
2536
|
"sortBy": {
|
|
@@ -2445,16 +2566,16 @@
|
|
|
2445
2566
|
"params": {
|
|
2446
2567
|
"rows": {
|
|
2447
2568
|
"type": "Array",
|
|
2448
|
-
"
|
|
2449
|
-
"
|
|
2569
|
+
"required": true,
|
|
2570
|
+
"desc": "Array of rows"
|
|
2450
2571
|
},
|
|
2451
2572
|
"terms": {
|
|
2452
2573
|
"type": [
|
|
2453
2574
|
"String",
|
|
2454
2575
|
"Object"
|
|
2455
2576
|
],
|
|
2456
|
-
"
|
|
2457
|
-
"
|
|
2577
|
+
"required": true,
|
|
2578
|
+
"desc": "Terms to filter with (is essentially the 'filter' prop value)"
|
|
2458
2579
|
},
|
|
2459
2580
|
"cols": {
|
|
2460
2581
|
"type": "Array",
|
|
@@ -2496,8 +2617,8 @@
|
|
|
2496
2617
|
"params": {
|
|
2497
2618
|
"pagination": {
|
|
2498
2619
|
"type": "Object",
|
|
2499
|
-
"desc": "Pagination object",
|
|
2500
2620
|
"required": true,
|
|
2621
|
+
"desc": "Pagination object",
|
|
2501
2622
|
"definition": {
|
|
2502
2623
|
"sortBy": {
|
|
2503
2624
|
"type": "String",
|
|
@@ -2549,8 +2670,8 @@
|
|
|
2549
2670
|
"params": {
|
|
2550
2671
|
"key": {
|
|
2551
2672
|
"type": "Any",
|
|
2552
|
-
"desc": "Row key value",
|
|
2553
2673
|
"required": true,
|
|
2674
|
+
"desc": "Row key value",
|
|
2554
2675
|
"examples": [
|
|
2555
2676
|
"calories"
|
|
2556
2677
|
]
|
|
@@ -2569,8 +2690,8 @@
|
|
|
2569
2690
|
"params": {
|
|
2570
2691
|
"key": {
|
|
2571
2692
|
"type": "Any",
|
|
2572
|
-
"desc": "Row key value",
|
|
2573
2693
|
"required": true,
|
|
2694
|
+
"desc": "Row key value",
|
|
2574
2695
|
"examples": [
|
|
2575
2696
|
"calories"
|
|
2576
2697
|
]
|
|
@@ -2586,8 +2707,8 @@
|
|
|
2586
2707
|
"params": {
|
|
2587
2708
|
"expanded": {
|
|
2588
2709
|
"type": "Array",
|
|
2589
|
-
"desc": "Array containing keys of the expanded rows",
|
|
2590
2710
|
"required": true,
|
|
2711
|
+
"desc": "Array containing keys of the expanded rows",
|
|
2591
2712
|
"examples": [
|
|
2592
2713
|
"[ 'row-a', 'row-b' ]"
|
|
2593
2714
|
]
|
|
@@ -2602,8 +2723,8 @@
|
|
|
2602
2723
|
"String",
|
|
2603
2724
|
"Object"
|
|
2604
2725
|
],
|
|
2605
|
-
"desc": "Column name or column definition object",
|
|
2606
2726
|
"required": true,
|
|
2727
|
+
"desc": "Column name or column definition object",
|
|
2607
2728
|
"examples": [
|
|
2608
2729
|
"calories"
|
|
2609
2730
|
]
|
|
@@ -2621,8 +2742,8 @@
|
|
|
2621
2742
|
"String",
|
|
2622
2743
|
"Number"
|
|
2623
2744
|
],
|
|
2624
|
-
"desc": "The index of the row in page (0 based)",
|
|
2625
2745
|
"required": true,
|
|
2746
|
+
"desc": "The index of the row in page (0 based)",
|
|
2626
2747
|
"examples": [
|
|
2627
2748
|
"1",
|
|
2628
2749
|
23
|
|
@@ -2630,7 +2751,7 @@
|
|
|
2630
2751
|
},
|
|
2631
2752
|
"edge": {
|
|
2632
2753
|
"type": "String",
|
|
2633
|
-
"desc": "Only for virtual scroll - the edge to align to if the row is not visible already
|
|
2754
|
+
"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",
|
|
2634
2755
|
"values": [
|
|
2635
2756
|
"start",
|
|
2636
2757
|
"center",
|
|
@@ -2638,7 +2759,9 @@
|
|
|
2638
2759
|
"start-force",
|
|
2639
2760
|
"center-force",
|
|
2640
2761
|
"end-force"
|
|
2641
|
-
]
|
|
2762
|
+
],
|
|
2763
|
+
"default": "end (if scrolling towards the end) / start (if scrolling towards the start)",
|
|
2764
|
+
"required": false
|
|
2642
2765
|
}
|
|
2643
2766
|
}
|
|
2644
2767
|
}
|