@nebula.js/sn-table 2.6.0 → 2.8.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 +166 -173
- package/core/esm/index.js +10 -155
- package/core/package.json +1 -1
- package/dist/sn-table.js +13 -158
- package/dist/sn-table.systemjs.js +10 -155
- package/package.json +8 -8
- package/sn-table-ext/dist/sn-table.js +13 -158
- package/sn-table-ext/sn-table.qext +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"scriptappy": "1.
|
|
2
|
+
"scriptappy": "1.1.0",
|
|
3
3
|
"info": {
|
|
4
4
|
"name": "@nebula.js/sn-table:properties",
|
|
5
5
|
"description": "Table generic object definition",
|
|
6
|
-
"version": "2.
|
|
6
|
+
"version": "2.8.0",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"stability": "stable",
|
|
9
9
|
"x-qlik-visibility": "public"
|
|
@@ -17,34 +17,9 @@
|
|
|
17
17
|
],
|
|
18
18
|
"kind": "object",
|
|
19
19
|
"entries": {
|
|
20
|
-
"
|
|
21
|
-
"description": "
|
|
22
|
-
"
|
|
23
|
-
"kind": "array",
|
|
24
|
-
"items": {
|
|
25
|
-
"type": "#/definitions/Component"
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
"enableChartExploration": {
|
|
29
|
-
"description": "Show chart exploration option in context menu",
|
|
30
|
-
"optional": true,
|
|
31
|
-
"defaultValue": false,
|
|
32
|
-
"type": "boolean"
|
|
33
|
-
},
|
|
34
|
-
"footnote": {
|
|
35
|
-
"description": "Visualization footnote",
|
|
36
|
-
"optional": true,
|
|
37
|
-
"defaultValue": "",
|
|
38
|
-
"kind": "union",
|
|
39
|
-
"items": [
|
|
40
|
-
{
|
|
41
|
-
"type": "string"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"type": "StringExpression"
|
|
45
|
-
}
|
|
46
|
-
],
|
|
47
|
-
"type": "any"
|
|
20
|
+
"version": {
|
|
21
|
+
"description": "Current version of this generic object definition",
|
|
22
|
+
"type": "string"
|
|
48
23
|
},
|
|
49
24
|
"qHyperCubeDef": {
|
|
50
25
|
"description": "Extends HyperCubeDef, see Engine API: HyperCubeDef",
|
|
@@ -55,12 +30,6 @@
|
|
|
55
30
|
],
|
|
56
31
|
"kind": "object",
|
|
57
32
|
"entries": {
|
|
58
|
-
"qColumnOrder": {
|
|
59
|
-
"kind": "array",
|
|
60
|
-
"items": {
|
|
61
|
-
"type": "number"
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
33
|
"qDimensions": {
|
|
65
34
|
"description": "The maximum amount of dimensions is 1000",
|
|
66
35
|
"kind": "array",
|
|
@@ -74,6 +43,12 @@
|
|
|
74
43
|
"items": {
|
|
75
44
|
"type": "#/definitions/MeasureProperties"
|
|
76
45
|
}
|
|
46
|
+
},
|
|
47
|
+
"qColumnOrder": {
|
|
48
|
+
"kind": "array",
|
|
49
|
+
"items": {
|
|
50
|
+
"type": "number"
|
|
51
|
+
}
|
|
77
52
|
}
|
|
78
53
|
}
|
|
79
54
|
},
|
|
@@ -83,6 +58,26 @@
|
|
|
83
58
|
"defaultValue": true,
|
|
84
59
|
"type": "boolean"
|
|
85
60
|
},
|
|
61
|
+
"enableChartExploration": {
|
|
62
|
+
"description": "Show chart exploration option in context menu",
|
|
63
|
+
"optional": true,
|
|
64
|
+
"defaultValue": false,
|
|
65
|
+
"type": "boolean"
|
|
66
|
+
},
|
|
67
|
+
"title": {
|
|
68
|
+
"description": "Visualization title",
|
|
69
|
+
"optional": true,
|
|
70
|
+
"defaultValue": "",
|
|
71
|
+
"kind": "union",
|
|
72
|
+
"items": [
|
|
73
|
+
{
|
|
74
|
+
"type": "string"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"type": "StringExpression"
|
|
78
|
+
}
|
|
79
|
+
]
|
|
80
|
+
},
|
|
86
81
|
"subtitle": {
|
|
87
82
|
"description": "Visualization subtitle",
|
|
88
83
|
"optional": true,
|
|
@@ -95,11 +90,10 @@
|
|
|
95
90
|
{
|
|
96
91
|
"type": "StringExpression"
|
|
97
92
|
}
|
|
98
|
-
]
|
|
99
|
-
"type": "any"
|
|
93
|
+
]
|
|
100
94
|
},
|
|
101
|
-
"
|
|
102
|
-
"description": "Visualization
|
|
95
|
+
"footnote": {
|
|
96
|
+
"description": "Visualization footnote",
|
|
103
97
|
"optional": true,
|
|
104
98
|
"defaultValue": "",
|
|
105
99
|
"kind": "union",
|
|
@@ -110,19 +104,17 @@
|
|
|
110
104
|
{
|
|
111
105
|
"type": "StringExpression"
|
|
112
106
|
}
|
|
113
|
-
]
|
|
114
|
-
"type": "any"
|
|
107
|
+
]
|
|
115
108
|
},
|
|
116
109
|
"totals": {
|
|
117
110
|
"description": "totals settings",
|
|
118
111
|
"optional": true,
|
|
119
|
-
"kind": "object",
|
|
120
112
|
"entries": {
|
|
121
|
-
"
|
|
122
|
-
"description": "
|
|
113
|
+
"show": {
|
|
114
|
+
"description": "If set to true, the display of the totals row will be handled automatically, and the `position` prop will be ignored.",
|
|
123
115
|
"optional": true,
|
|
124
|
-
"defaultValue":
|
|
125
|
-
"type": "
|
|
116
|
+
"defaultValue": true,
|
|
117
|
+
"type": "boolean"
|
|
126
118
|
},
|
|
127
119
|
"position": {
|
|
128
120
|
"description": "The position of the totals row, hiding it if set to `noTotals`",
|
|
@@ -142,16 +134,16 @@
|
|
|
142
134
|
"kind": "literal",
|
|
143
135
|
"value": "'noTotals'"
|
|
144
136
|
}
|
|
145
|
-
]
|
|
146
|
-
"type": "string"
|
|
137
|
+
]
|
|
147
138
|
},
|
|
148
|
-
"
|
|
149
|
-
"description": "
|
|
139
|
+
"label": {
|
|
140
|
+
"description": "The label of the totals row, shown in the leftmost column",
|
|
150
141
|
"optional": true,
|
|
151
|
-
"defaultValue":
|
|
152
|
-
"type": "
|
|
142
|
+
"defaultValue": "Totals",
|
|
143
|
+
"type": "string"
|
|
153
144
|
}
|
|
154
|
-
}
|
|
145
|
+
},
|
|
146
|
+
"kind": "object"
|
|
155
147
|
},
|
|
156
148
|
"usePagination": {
|
|
157
149
|
"description": "Use pagination or continuous scroll. If undefined, defaults to using pagination",
|
|
@@ -159,14 +151,96 @@
|
|
|
159
151
|
"defaultValue": false,
|
|
160
152
|
"type": "boolean"
|
|
161
153
|
},
|
|
162
|
-
"
|
|
163
|
-
"description": "
|
|
164
|
-
"
|
|
154
|
+
"components": {
|
|
155
|
+
"description": "Holds general styling",
|
|
156
|
+
"nullable": true,
|
|
157
|
+
"kind": "array",
|
|
158
|
+
"items": {
|
|
159
|
+
"type": "#/definitions/Component"
|
|
160
|
+
}
|
|
165
161
|
}
|
|
166
162
|
}
|
|
167
163
|
}
|
|
168
164
|
},
|
|
169
165
|
"definitions": {
|
|
166
|
+
"DimensionProperties": {
|
|
167
|
+
"description": "Extends `NxDimension`, see Engine API: `NxDimension`",
|
|
168
|
+
"extends": [
|
|
169
|
+
{
|
|
170
|
+
"type": "NxDimension"
|
|
171
|
+
}
|
|
172
|
+
],
|
|
173
|
+
"kind": "object",
|
|
174
|
+
"entries": {
|
|
175
|
+
"qDef": {
|
|
176
|
+
"type": "#/definitions/InlineDimensionDef"
|
|
177
|
+
},
|
|
178
|
+
"qAttributeExpressions": {
|
|
179
|
+
"kind": "array",
|
|
180
|
+
"items": {
|
|
181
|
+
"type": "#/definitions/AttributeExpressionProperties"
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
"MeasureProperties": {
|
|
187
|
+
"description": "Extends `NxMeasure`, see Engine API: `NxMeasure`",
|
|
188
|
+
"extends": [
|
|
189
|
+
{
|
|
190
|
+
"type": "NxMeasure"
|
|
191
|
+
}
|
|
192
|
+
],
|
|
193
|
+
"kind": "object",
|
|
194
|
+
"entries": {
|
|
195
|
+
"qDef": {
|
|
196
|
+
"type": "#/definitions/InlineMeasureDef"
|
|
197
|
+
},
|
|
198
|
+
"qAttributeExpressions": {
|
|
199
|
+
"kind": "array",
|
|
200
|
+
"items": {
|
|
201
|
+
"type": "#/definitions/AttributeExpressionProperties"
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
"InlineDimensionDef": {
|
|
207
|
+
"description": "Extends `NxInlineDimensionDef`, see Engine API: `NxInlineDimensionDef`.",
|
|
208
|
+
"extends": [
|
|
209
|
+
{
|
|
210
|
+
"type": "NxInlineDimensionDef"
|
|
211
|
+
}
|
|
212
|
+
],
|
|
213
|
+
"kind": "object",
|
|
214
|
+
"entries": {
|
|
215
|
+
"textAlign": {
|
|
216
|
+
"optional": true,
|
|
217
|
+
"type": "#/definitions/TextAlign"
|
|
218
|
+
},
|
|
219
|
+
"columnWidth": {
|
|
220
|
+
"optional": true,
|
|
221
|
+
"type": "#/definitions/ColumnWidth"
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
"InlineMeasureDef": {
|
|
226
|
+
"description": "Extends `NxInlineMeasureDef`, see Engine API: `NxInlineMeasureDef`.",
|
|
227
|
+
"extends": [
|
|
228
|
+
{
|
|
229
|
+
"type": "NxInlineMeasureDef"
|
|
230
|
+
}
|
|
231
|
+
],
|
|
232
|
+
"kind": "object",
|
|
233
|
+
"entries": {
|
|
234
|
+
"textAlign": {
|
|
235
|
+
"optional": true,
|
|
236
|
+
"type": "#/definitions/TextAlign"
|
|
237
|
+
},
|
|
238
|
+
"columnWidth": {
|
|
239
|
+
"optional": true,
|
|
240
|
+
"type": "#/definitions/ColumnWidth"
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
},
|
|
170
244
|
"AttributeExpressionProperties": {
|
|
171
245
|
"description": "Extends `NxAttrExprDef`, see Engine API: `NxAttrExprDef`.\nColumn specific styling overrides general styling, that is defined in `components`.",
|
|
172
246
|
"extends": [
|
|
@@ -188,8 +262,40 @@
|
|
|
188
262
|
"kind": "literal",
|
|
189
263
|
"value": "'cellBackgroundColor'"
|
|
190
264
|
}
|
|
191
|
-
]
|
|
192
|
-
|
|
265
|
+
]
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
"TextAlign": {
|
|
270
|
+
"description": "Holds text alignment for a specific column.",
|
|
271
|
+
"extends": [
|
|
272
|
+
{
|
|
273
|
+
"type": "NxInlineDimensionDef"
|
|
274
|
+
}
|
|
275
|
+
],
|
|
276
|
+
"kind": "object",
|
|
277
|
+
"entries": {
|
|
278
|
+
"auto": {
|
|
279
|
+
"description": "If true, sets the alignment based on the type of column (left for dimension, right for measure)",
|
|
280
|
+
"type": "boolean"
|
|
281
|
+
},
|
|
282
|
+
"align": {
|
|
283
|
+
"description": "Is used (and mandatory) if `auto` is false",
|
|
284
|
+
"kind": "union",
|
|
285
|
+
"items": [
|
|
286
|
+
{
|
|
287
|
+
"kind": "literal",
|
|
288
|
+
"value": "'left'"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"kind": "literal",
|
|
292
|
+
"value": "'center'"
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"kind": "literal",
|
|
296
|
+
"value": "'right'"
|
|
297
|
+
}
|
|
298
|
+
]
|
|
193
299
|
}
|
|
194
300
|
}
|
|
195
301
|
},
|
|
@@ -217,8 +323,7 @@
|
|
|
217
323
|
"kind": "literal",
|
|
218
324
|
"value": "'percentage'"
|
|
219
325
|
}
|
|
220
|
-
]
|
|
221
|
-
"type": "string"
|
|
326
|
+
]
|
|
222
327
|
},
|
|
223
328
|
"pixels": {
|
|
224
329
|
"description": "Is used (and mandatory) if type is `pixels`",
|
|
@@ -286,26 +391,6 @@
|
|
|
286
391
|
}
|
|
287
392
|
}
|
|
288
393
|
},
|
|
289
|
-
"DimensionProperties": {
|
|
290
|
-
"description": "Extends `NxDimension`, see Engine API: `NxDimension`",
|
|
291
|
-
"extends": [
|
|
292
|
-
{
|
|
293
|
-
"type": "NxDimension"
|
|
294
|
-
}
|
|
295
|
-
],
|
|
296
|
-
"kind": "object",
|
|
297
|
-
"entries": {
|
|
298
|
-
"qDef": {
|
|
299
|
-
"type": "#/definitions/InlineDimensionDef"
|
|
300
|
-
},
|
|
301
|
-
"qAttributeExpressions": {
|
|
302
|
-
"kind": "array",
|
|
303
|
-
"items": {
|
|
304
|
-
"type": "#/definitions/AttributeExpressionProperties"
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
}
|
|
308
|
-
},
|
|
309
394
|
"HeaderStyling": {
|
|
310
395
|
"description": "Holds properties for font size and color.",
|
|
311
396
|
"kind": "object",
|
|
@@ -322,64 +407,6 @@
|
|
|
322
407
|
}
|
|
323
408
|
}
|
|
324
409
|
},
|
|
325
|
-
"InlineDimensionDef": {
|
|
326
|
-
"description": "Extends `NxInlineDimensionDef`, see Engine API: `NxInlineDimensionDef`.",
|
|
327
|
-
"extends": [
|
|
328
|
-
{
|
|
329
|
-
"type": "NxInlineDimensionDef"
|
|
330
|
-
}
|
|
331
|
-
],
|
|
332
|
-
"kind": "object",
|
|
333
|
-
"entries": {
|
|
334
|
-
"textAlign": {
|
|
335
|
-
"optional": true,
|
|
336
|
-
"type": "#/definitions/TextAlign"
|
|
337
|
-
},
|
|
338
|
-
"columnWidth": {
|
|
339
|
-
"optional": true,
|
|
340
|
-
"type": "#/definitions/ColumnWidth"
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
},
|
|
344
|
-
"InlineMeasureDef": {
|
|
345
|
-
"description": "Extends `NxInlineMeasureDef`, see Engine API: `NxInlineMeasureDef`.",
|
|
346
|
-
"extends": [
|
|
347
|
-
{
|
|
348
|
-
"type": "NxInlineMeasureDef"
|
|
349
|
-
}
|
|
350
|
-
],
|
|
351
|
-
"kind": "object",
|
|
352
|
-
"entries": {
|
|
353
|
-
"textAlign": {
|
|
354
|
-
"optional": true,
|
|
355
|
-
"type": "#/definitions/TextAlign"
|
|
356
|
-
},
|
|
357
|
-
"columnWidth": {
|
|
358
|
-
"optional": true,
|
|
359
|
-
"type": "#/definitions/ColumnWidth"
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
},
|
|
363
|
-
"MeasureProperties": {
|
|
364
|
-
"description": "Extends `NxMeasure`, see Engine API: `NxMeasure`",
|
|
365
|
-
"extends": [
|
|
366
|
-
{
|
|
367
|
-
"type": "NxMeasure"
|
|
368
|
-
}
|
|
369
|
-
],
|
|
370
|
-
"kind": "object",
|
|
371
|
-
"entries": {
|
|
372
|
-
"qDef": {
|
|
373
|
-
"type": "#/definitions/InlineMeasureDef"
|
|
374
|
-
},
|
|
375
|
-
"qAttributeExpressions": {
|
|
376
|
-
"kind": "array",
|
|
377
|
-
"items": {
|
|
378
|
-
"type": "#/definitions/AttributeExpressionProperties"
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
}
|
|
382
|
-
},
|
|
383
410
|
"PaletteColor": {
|
|
384
411
|
"description": "Color information structure. Holds the actual color and index in palette",
|
|
385
412
|
"kind": "object",
|
|
@@ -393,40 +420,6 @@
|
|
|
393
420
|
"type": "number"
|
|
394
421
|
}
|
|
395
422
|
}
|
|
396
|
-
},
|
|
397
|
-
"TextAlign": {
|
|
398
|
-
"description": "Holds text alignment for a specific column.",
|
|
399
|
-
"extends": [
|
|
400
|
-
{
|
|
401
|
-
"type": "NxInlineDimensionDef"
|
|
402
|
-
}
|
|
403
|
-
],
|
|
404
|
-
"kind": "object",
|
|
405
|
-
"entries": {
|
|
406
|
-
"auto": {
|
|
407
|
-
"description": "If true, sets the alignment based on the type of column (left for dimension, right for measure)",
|
|
408
|
-
"type": "boolean"
|
|
409
|
-
},
|
|
410
|
-
"align": {
|
|
411
|
-
"description": "Is used (and mandatory) if `auto` is false",
|
|
412
|
-
"kind": "union",
|
|
413
|
-
"items": [
|
|
414
|
-
{
|
|
415
|
-
"kind": "literal",
|
|
416
|
-
"value": "'left'"
|
|
417
|
-
},
|
|
418
|
-
{
|
|
419
|
-
"kind": "literal",
|
|
420
|
-
"value": "'center'"
|
|
421
|
-
},
|
|
422
|
-
{
|
|
423
|
-
"kind": "literal",
|
|
424
|
-
"value": "'right'"
|
|
425
|
-
}
|
|
426
|
-
],
|
|
427
|
-
"type": "string"
|
|
428
|
-
}
|
|
429
|
-
}
|
|
430
423
|
}
|
|
431
424
|
}
|
|
432
425
|
}
|