@nebula.js/sn-table 1.12.6 → 1.15.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 +68 -35
- package/core/esm/index.js +15 -15
- package/core/package.json +3 -3
- package/dist/sn-table.js +37 -37
- package/package.json +2 -2
- package/sn-table-ext/dist/sn-table.js +37 -37
- package/sn-table-ext/sn-table.qext +1 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"info": {
|
|
4
4
|
"name": "@nebula.js/sn-table:properties",
|
|
5
5
|
"description": "Table generic object definition",
|
|
6
|
-
"version": "1.
|
|
6
|
+
"version": "1.15.0",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"stability": "experimental",
|
|
9
9
|
"x-qlik-visibility": "public"
|
|
@@ -19,9 +19,10 @@
|
|
|
19
19
|
"entries": {
|
|
20
20
|
"components": {
|
|
21
21
|
"description": "Holds general styling",
|
|
22
|
+
"nullable": true,
|
|
22
23
|
"kind": "array",
|
|
23
24
|
"items": {
|
|
24
|
-
"type": "#/definitions/
|
|
25
|
+
"type": "#/definitions/Component"
|
|
25
26
|
}
|
|
26
27
|
},
|
|
27
28
|
"footnote": {
|
|
@@ -61,30 +62,18 @@
|
|
|
61
62
|
}
|
|
62
63
|
},
|
|
63
64
|
"qDimensions": {
|
|
64
|
-
"description": "The maximum amount of dimensions is
|
|
65
|
+
"description": "The maximum amount of dimensions is 1000",
|
|
65
66
|
"kind": "array",
|
|
66
67
|
"items": {
|
|
67
68
|
"type": "#/definitions/DimensionProperties"
|
|
68
69
|
}
|
|
69
70
|
},
|
|
70
71
|
"qMeasures": {
|
|
71
|
-
"description": "The maximum amount of measures is
|
|
72
|
+
"description": "The maximum amount of measures is 1000",
|
|
72
73
|
"kind": "array",
|
|
73
74
|
"items": {
|
|
74
75
|
"type": "#/definitions/MeasureProperties"
|
|
75
76
|
}
|
|
76
|
-
},
|
|
77
|
-
"qMode": {
|
|
78
|
-
"defaultValue": "S",
|
|
79
|
-
"type": "schemasNxHypercubeMode"
|
|
80
|
-
},
|
|
81
|
-
"qSuppressMissing": {
|
|
82
|
-
"defaultValue": true,
|
|
83
|
-
"type": "boolean"
|
|
84
|
-
},
|
|
85
|
-
"qSuppressZero": {
|
|
86
|
-
"defaultValue": false,
|
|
87
|
-
"type": "boolean"
|
|
88
77
|
}
|
|
89
78
|
}
|
|
90
79
|
},
|
|
@@ -124,6 +113,45 @@
|
|
|
124
113
|
],
|
|
125
114
|
"type": "any"
|
|
126
115
|
},
|
|
116
|
+
"totals": {
|
|
117
|
+
"description": "totals settings",
|
|
118
|
+
"kind": "object",
|
|
119
|
+
"entries": {
|
|
120
|
+
"label": {
|
|
121
|
+
"description": "The label of the totals row, shown in the leftmost column",
|
|
122
|
+
"optional": true,
|
|
123
|
+
"defaultValue": "Totals",
|
|
124
|
+
"type": "string"
|
|
125
|
+
},
|
|
126
|
+
"position": {
|
|
127
|
+
"description": "The position of the totals row, hiding it if set to `noTotals`",
|
|
128
|
+
"optional": true,
|
|
129
|
+
"defaultValue": "noTotals",
|
|
130
|
+
"kind": "union",
|
|
131
|
+
"items": [
|
|
132
|
+
{
|
|
133
|
+
"kind": "literal",
|
|
134
|
+
"value": "'top'"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"kind": "literal",
|
|
138
|
+
"value": "'bottom'"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"kind": "literal",
|
|
142
|
+
"value": "'noTotals'"
|
|
143
|
+
}
|
|
144
|
+
],
|
|
145
|
+
"type": "string"
|
|
146
|
+
},
|
|
147
|
+
"show": {
|
|
148
|
+
"description": "Determines if the way totals row is showing is handle automatically, if `true` the `position` prop will be ignored",
|
|
149
|
+
"optional": true,
|
|
150
|
+
"defaultValue": true,
|
|
151
|
+
"type": "boolean"
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
},
|
|
127
155
|
"version": {
|
|
128
156
|
"description": "Current version of this generic object definition",
|
|
129
157
|
"type": "string"
|
|
@@ -158,6 +186,24 @@
|
|
|
158
186
|
}
|
|
159
187
|
}
|
|
160
188
|
},
|
|
189
|
+
"Component": {
|
|
190
|
+
"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.",
|
|
191
|
+
"kind": "object",
|
|
192
|
+
"entries": {
|
|
193
|
+
"key": {
|
|
194
|
+
"description": "This should be set to `theme`",
|
|
195
|
+
"type": "string"
|
|
196
|
+
},
|
|
197
|
+
"content": {
|
|
198
|
+
"optional": true,
|
|
199
|
+
"type": "#/definitions/ContentStyling"
|
|
200
|
+
},
|
|
201
|
+
"header": {
|
|
202
|
+
"optional": true,
|
|
203
|
+
"type": "#/definitions/HeaderStyling"
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
},
|
|
161
207
|
"ContentStyling": {
|
|
162
208
|
"description": "Holds properties for font size, font color and hover styling.",
|
|
163
209
|
"kind": "object",
|
|
@@ -186,6 +232,11 @@
|
|
|
186
232
|
"description": "When only `hoverColor` is set, this is adjusted to either `#f4f4f4` or `#ffffff` for optimal contrast",
|
|
187
233
|
"optional": true,
|
|
188
234
|
"type": "#/definitions/PaletteColor"
|
|
235
|
+
},
|
|
236
|
+
"padding": {
|
|
237
|
+
"description": "Defaults to `7px 14px`",
|
|
238
|
+
"optional": true,
|
|
239
|
+
"type": "string"
|
|
189
240
|
}
|
|
190
241
|
}
|
|
191
242
|
},
|
|
@@ -265,7 +316,7 @@
|
|
|
265
316
|
"kind": "object",
|
|
266
317
|
"entries": {
|
|
267
318
|
"qDef": {
|
|
268
|
-
"type": "
|
|
319
|
+
"type": "#/definitions/InlineMeasureDef"
|
|
269
320
|
},
|
|
270
321
|
"qAttributeExpressions": {
|
|
271
322
|
"kind": "array",
|
|
@@ -289,24 +340,6 @@
|
|
|
289
340
|
}
|
|
290
341
|
}
|
|
291
342
|
},
|
|
292
|
-
"Styling": {
|
|
293
|
-
"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.",
|
|
294
|
-
"kind": "object",
|
|
295
|
-
"entries": {
|
|
296
|
-
"key": {
|
|
297
|
-
"description": "This should be set to `theme`",
|
|
298
|
-
"type": "string"
|
|
299
|
-
},
|
|
300
|
-
"content": {
|
|
301
|
-
"optional": true,
|
|
302
|
-
"type": "#/definitions/ContentStyling"
|
|
303
|
-
},
|
|
304
|
-
"header": {
|
|
305
|
-
"optional": true,
|
|
306
|
-
"type": "#/definitions/HeaderStyling"
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
},
|
|
310
343
|
"TextAlign": {
|
|
311
344
|
"description": "Holds text alignment for a specific column.",
|
|
312
345
|
"extends": [
|