@nebula.js/sn-table 1.24.0 → 2.0.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 +54 -2
- package/core/esm/index.js +26 -26
- package/core/package.json +1 -1
- package/dist/sn-table.js +28 -28
- package/dist/sn-table.systemjs.js +26 -26
- package/package.json +3 -3
- package/sn-table-ext/dist/sn-table.js +28 -28
- package/sn-table-ext/sn-table.qext +4 -4
- package/dist/sn-table.qext +0 -9
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"info": {
|
|
4
4
|
"name": "@nebula.js/sn-table:properties",
|
|
5
5
|
"description": "Table generic object definition",
|
|
6
|
-
"version": "
|
|
6
|
+
"version": "2.0.0",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"stability": "experimental",
|
|
9
9
|
"x-qlik-visibility": "public"
|
|
@@ -158,6 +158,11 @@
|
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
160
|
},
|
|
161
|
+
"usePagination": {
|
|
162
|
+
"description": "Use pagination or continuous scroll. If undefined, defaults to using pagination",
|
|
163
|
+
"defaultValue": false,
|
|
164
|
+
"type": "boolean"
|
|
165
|
+
},
|
|
161
166
|
"version": {
|
|
162
167
|
"description": "Current version of this generic object definition",
|
|
163
168
|
"type": "string"
|
|
@@ -192,6 +197,45 @@
|
|
|
192
197
|
}
|
|
193
198
|
}
|
|
194
199
|
},
|
|
200
|
+
"ColumnWidth": {
|
|
201
|
+
"description": "Column width info",
|
|
202
|
+
"kind": "object",
|
|
203
|
+
"entries": {
|
|
204
|
+
"type": {
|
|
205
|
+
"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",
|
|
206
|
+
"kind": "union",
|
|
207
|
+
"items": [
|
|
208
|
+
{
|
|
209
|
+
"kind": "literal",
|
|
210
|
+
"value": "'auto'"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"kind": "literal",
|
|
214
|
+
"value": "'FitToContent'"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"kind": "literal",
|
|
218
|
+
"value": "'pixels'"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"kind": "literal",
|
|
222
|
+
"value": "'percentage'"
|
|
223
|
+
}
|
|
224
|
+
],
|
|
225
|
+
"type": "string"
|
|
226
|
+
},
|
|
227
|
+
"pixels": {
|
|
228
|
+
"description": "Is used (and mandatory) if type is `pixels`",
|
|
229
|
+
"optional": true,
|
|
230
|
+
"type": "number"
|
|
231
|
+
},
|
|
232
|
+
"percentage": {
|
|
233
|
+
"description": "Is used (and mandatory) if type is `pixels`",
|
|
234
|
+
"optional": true,
|
|
235
|
+
"type": "number"
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
},
|
|
195
239
|
"Component": {
|
|
196
240
|
"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
241
|
"kind": "object",
|
|
@@ -240,7 +284,7 @@
|
|
|
240
284
|
"type": "#/definitions/PaletteColor"
|
|
241
285
|
},
|
|
242
286
|
"padding": {
|
|
243
|
-
"description": "
|
|
287
|
+
"description": "Css setting for the cell padding, defaults to `4px 12px`",
|
|
244
288
|
"optional": true,
|
|
245
289
|
"type": "string"
|
|
246
290
|
}
|
|
@@ -294,6 +338,10 @@
|
|
|
294
338
|
"textAlign": {
|
|
295
339
|
"optional": true,
|
|
296
340
|
"type": "#/definitions/TextAlign"
|
|
341
|
+
},
|
|
342
|
+
"columnWidth": {
|
|
343
|
+
"optional": true,
|
|
344
|
+
"type": "#/definitions/ColumnWidth"
|
|
297
345
|
}
|
|
298
346
|
}
|
|
299
347
|
},
|
|
@@ -309,6 +357,10 @@
|
|
|
309
357
|
"textAlign": {
|
|
310
358
|
"optional": true,
|
|
311
359
|
"type": "#/definitions/TextAlign"
|
|
360
|
+
},
|
|
361
|
+
"columnWidth": {
|
|
362
|
+
"optional": true,
|
|
363
|
+
"type": "#/definitions/ColumnWidth"
|
|
312
364
|
}
|
|
313
365
|
}
|
|
314
366
|
},
|