@nebula.js/sn-table 1.25.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api-specifications/properties.json +58 -10
- package/core/esm/index.js +26 -26
- package/dist/sn-table.js +28 -28
- package/dist/sn-table.systemjs.js +26 -26
- package/package.json +1 -1
- package/sn-table-ext/dist/sn-table.js +28 -28
- package/sn-table-ext/sn-table.qext +1 -1
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
"info": {
|
|
4
4
|
"name": "@nebula.js/sn-table:properties",
|
|
5
5
|
"description": "Table generic object definition",
|
|
6
|
-
"version": "1.
|
|
6
|
+
"version": "2.1.0",
|
|
7
7
|
"license": "MIT",
|
|
8
|
-
"stability": "
|
|
8
|
+
"stability": "stable",
|
|
9
9
|
"x-qlik-visibility": "public"
|
|
10
10
|
},
|
|
11
11
|
"entries": {
|
|
@@ -55,12 +55,6 @@
|
|
|
55
55
|
],
|
|
56
56
|
"kind": "object",
|
|
57
57
|
"entries": {
|
|
58
|
-
"columnWidths": {
|
|
59
|
-
"kind": "array",
|
|
60
|
-
"items": {
|
|
61
|
-
"type": "number"
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
58
|
"qColumnOrder": {
|
|
65
59
|
"kind": "array",
|
|
66
60
|
"items": {
|
|
@@ -121,6 +115,7 @@
|
|
|
121
115
|
},
|
|
122
116
|
"totals": {
|
|
123
117
|
"description": "totals settings",
|
|
118
|
+
"optional": true,
|
|
124
119
|
"kind": "object",
|
|
125
120
|
"entries": {
|
|
126
121
|
"label": {
|
|
@@ -151,13 +146,19 @@
|
|
|
151
146
|
"type": "string"
|
|
152
147
|
},
|
|
153
148
|
"show": {
|
|
154
|
-
"description": "
|
|
149
|
+
"description": "If set to true, the display of the totals row will be handled automatically, and the `position` prop will be ignored.",
|
|
155
150
|
"optional": true,
|
|
156
151
|
"defaultValue": true,
|
|
157
152
|
"type": "boolean"
|
|
158
153
|
}
|
|
159
154
|
}
|
|
160
155
|
},
|
|
156
|
+
"usePagination": {
|
|
157
|
+
"description": "Use pagination or continuous scroll. If undefined, defaults to using pagination",
|
|
158
|
+
"optional": true,
|
|
159
|
+
"defaultValue": false,
|
|
160
|
+
"type": "boolean"
|
|
161
|
+
},
|
|
161
162
|
"version": {
|
|
162
163
|
"description": "Current version of this generic object definition",
|
|
163
164
|
"type": "string"
|
|
@@ -192,6 +193,45 @@
|
|
|
192
193
|
}
|
|
193
194
|
}
|
|
194
195
|
},
|
|
196
|
+
"ColumnWidth": {
|
|
197
|
+
"description": "Column width info",
|
|
198
|
+
"kind": "object",
|
|
199
|
+
"entries": {
|
|
200
|
+
"type": {
|
|
201
|
+
"description": "Defines how the column width is set. `auto` calculates the width(s) so the total table width equals the chart width. `fitToContent` calculates a width based on the cells' content. `pixels` uses a specified pixel value. `percentage` sets the column width to specified percentage of the chart width",
|
|
202
|
+
"kind": "union",
|
|
203
|
+
"items": [
|
|
204
|
+
{
|
|
205
|
+
"kind": "literal",
|
|
206
|
+
"value": "'auto'"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"kind": "literal",
|
|
210
|
+
"value": "'FitToContent'"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"kind": "literal",
|
|
214
|
+
"value": "'pixels'"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"kind": "literal",
|
|
218
|
+
"value": "'percentage'"
|
|
219
|
+
}
|
|
220
|
+
],
|
|
221
|
+
"type": "string"
|
|
222
|
+
},
|
|
223
|
+
"pixels": {
|
|
224
|
+
"description": "Is used (and mandatory) if type is `pixels`",
|
|
225
|
+
"optional": true,
|
|
226
|
+
"type": "number"
|
|
227
|
+
},
|
|
228
|
+
"percentage": {
|
|
229
|
+
"description": "Is used (and mandatory) if type is `percentage`",
|
|
230
|
+
"optional": true,
|
|
231
|
+
"type": "number"
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
},
|
|
195
235
|
"Component": {
|
|
196
236
|
"description": "General styling for all columns.\nSplit up into header and content (body) styling.\nIf any property is not set, default values specific for each property is used.",
|
|
197
237
|
"kind": "object",
|
|
@@ -240,7 +280,7 @@
|
|
|
240
280
|
"type": "#/definitions/PaletteColor"
|
|
241
281
|
},
|
|
242
282
|
"padding": {
|
|
243
|
-
"description": "
|
|
283
|
+
"description": "Css setting for the cell padding, defaults to `4px 12px`",
|
|
244
284
|
"optional": true,
|
|
245
285
|
"type": "string"
|
|
246
286
|
}
|
|
@@ -294,6 +334,10 @@
|
|
|
294
334
|
"textAlign": {
|
|
295
335
|
"optional": true,
|
|
296
336
|
"type": "#/definitions/TextAlign"
|
|
337
|
+
},
|
|
338
|
+
"columnWidth": {
|
|
339
|
+
"optional": true,
|
|
340
|
+
"type": "#/definitions/ColumnWidth"
|
|
297
341
|
}
|
|
298
342
|
}
|
|
299
343
|
},
|
|
@@ -309,6 +353,10 @@
|
|
|
309
353
|
"textAlign": {
|
|
310
354
|
"optional": true,
|
|
311
355
|
"type": "#/definitions/TextAlign"
|
|
356
|
+
},
|
|
357
|
+
"columnWidth": {
|
|
358
|
+
"optional": true,
|
|
359
|
+
"type": "#/definitions/ColumnWidth"
|
|
312
360
|
}
|
|
313
361
|
}
|
|
314
362
|
},
|