@nebula.js/sn-tabbed-container 0.12.0 → 0.12.1
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-specification/spec.json +221 -38
- package/core/esm/index.js +6 -6
- package/dist/sn-tabbed-container.js +11 -11
- package/dist/sn-tabbed-container.systemjs.js +6 -6
- package/package.json +1 -1
- package/sn-tabbed-container-ext/dist/sn-tabbed-container.js +11 -11
- package/sn-tabbed-container-ext/sn-tabbed-container.qext +1 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"info": {
|
|
4
4
|
"name": "@nebula.js/sn-tabbed-container:properties",
|
|
5
5
|
"description": "Tabbed container generic object definition",
|
|
6
|
-
"version": "0.12.
|
|
6
|
+
"version": "0.12.1",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"stability": "experimental",
|
|
9
9
|
"x-qlik-visibility": "public"
|
|
@@ -102,10 +102,21 @@
|
|
|
102
102
|
"components": {
|
|
103
103
|
"description": "Styling components.",
|
|
104
104
|
"optional": true,
|
|
105
|
-
"kind": "
|
|
106
|
-
"items":
|
|
107
|
-
|
|
108
|
-
|
|
105
|
+
"kind": "union",
|
|
106
|
+
"items": [
|
|
107
|
+
{
|
|
108
|
+
"kind": "array",
|
|
109
|
+
"items": {
|
|
110
|
+
"type": "#/definitions/GeneralStylingComponent"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"kind": "array",
|
|
115
|
+
"items": {
|
|
116
|
+
"type": "#/definitions/TabsStylingComponent"
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
]
|
|
109
120
|
},
|
|
110
121
|
"defaultTabId": {
|
|
111
122
|
"description": "Default tab childRefId to be selected when a new engine session starts.",
|
|
@@ -141,13 +152,7 @@
|
|
|
141
152
|
}
|
|
142
153
|
},
|
|
143
154
|
"definitions": {
|
|
144
|
-
"
|
|
145
|
-
"kind": "alias",
|
|
146
|
-
"items": {
|
|
147
|
-
"type": "#/definitions/General"
|
|
148
|
-
}
|
|
149
|
-
},
|
|
150
|
-
"General": {
|
|
155
|
+
"GeneralStylingComponent": {
|
|
151
156
|
"kind": "object",
|
|
152
157
|
"entries": {
|
|
153
158
|
"key": {
|
|
@@ -161,7 +166,19 @@
|
|
|
161
166
|
"type": "#/definitions/BackgroundImageStyling"
|
|
162
167
|
},
|
|
163
168
|
"bgColor": {
|
|
164
|
-
"type": "#/definitions/
|
|
169
|
+
"type": "#/definitions/ColorStyling"
|
|
170
|
+
},
|
|
171
|
+
"borderColor": {
|
|
172
|
+
"type": "#/definitions/paletteColor"
|
|
173
|
+
},
|
|
174
|
+
"borderWidth": {
|
|
175
|
+
"type": "string"
|
|
176
|
+
},
|
|
177
|
+
"borderRadius": {
|
|
178
|
+
"type": "string"
|
|
179
|
+
},
|
|
180
|
+
"shadow": {
|
|
181
|
+
"type": "#/definitions/ShadowStyling"
|
|
165
182
|
}
|
|
166
183
|
}
|
|
167
184
|
},
|
|
@@ -199,17 +216,6 @@
|
|
|
199
216
|
}
|
|
200
217
|
}
|
|
201
218
|
},
|
|
202
|
-
"BackgroundColorStyling": {
|
|
203
|
-
"kind": "object",
|
|
204
|
-
"entries": {
|
|
205
|
-
"useColorExpression": {
|
|
206
|
-
"type": "boolean"
|
|
207
|
-
},
|
|
208
|
-
"colorExpression": {
|
|
209
|
-
"type": "EngineAPI.StringExpression"
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
},
|
|
213
219
|
"FontStyling": {
|
|
214
220
|
"kind": "object",
|
|
215
221
|
"entries": {
|
|
@@ -230,25 +236,95 @@
|
|
|
230
236
|
}
|
|
231
237
|
}
|
|
232
238
|
},
|
|
233
|
-
"
|
|
234
|
-
"
|
|
239
|
+
"ShadowStyling": {
|
|
240
|
+
"kind": "object",
|
|
241
|
+
"entries": {
|
|
242
|
+
"boxShadowColor": {
|
|
243
|
+
"type": "#/definitions/paletteColor"
|
|
244
|
+
},
|
|
245
|
+
"boxShadow": {
|
|
246
|
+
"description": "This can have the same values as the box-shadow css property, for example it can be `\"10px 5px 5px black;\"` that described `\"<length> <length> <length> <color>\"` .",
|
|
247
|
+
"type": "#/definitions/paletteColor"
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
"TabsStylingComponent": {
|
|
252
|
+
"kind": "object",
|
|
253
|
+
"entries": {
|
|
254
|
+
"key": {
|
|
255
|
+
"description": "This should be set to `\"tabs\"` (Determines which component the settings apply to).",
|
|
256
|
+
"type": "string"
|
|
257
|
+
},
|
|
258
|
+
"icon": {
|
|
259
|
+
"type": "#/definitions/TabsIconStyling"
|
|
260
|
+
},
|
|
261
|
+
"label": {
|
|
262
|
+
"type": "#/definitions/TabsLabelStyling"
|
|
263
|
+
},
|
|
264
|
+
"width": {
|
|
265
|
+
"type": "#/definitions/TabWidthStyling"
|
|
266
|
+
},
|
|
267
|
+
"indicator": {
|
|
268
|
+
"type": "#/definitions/TabsIndicatorStyling"
|
|
269
|
+
},
|
|
270
|
+
"background": {
|
|
271
|
+
"type": "#/definitions/TabsBackgroundStyling"
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
"TabsIconStyling": {
|
|
276
|
+
"kind": "object",
|
|
277
|
+
"entries": {
|
|
278
|
+
"position": {
|
|
279
|
+
"description": "This can be `\"start\"`, `\"end\"`, `\"top\"` or `\"bottom\"`.",
|
|
280
|
+
"type": "string"
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
"TabsLabelStyling": {
|
|
235
285
|
"kind": "object",
|
|
236
286
|
"entries": {
|
|
237
287
|
"color": {
|
|
238
|
-
"
|
|
288
|
+
"type": "#/definitions/paletteColor"
|
|
289
|
+
},
|
|
290
|
+
"fontFamily": {
|
|
239
291
|
"type": "string"
|
|
240
292
|
},
|
|
241
|
-
"
|
|
242
|
-
"
|
|
243
|
-
|
|
293
|
+
"fontSize": {
|
|
294
|
+
"type": "string"
|
|
295
|
+
},
|
|
296
|
+
"alignment": {
|
|
297
|
+
"description": "This can be `\"center\"`, `\"left\"` or `\"right\"`.",
|
|
298
|
+
"type": "string"
|
|
299
|
+
},
|
|
300
|
+
"show": {
|
|
301
|
+
"type": "boolean"
|
|
244
302
|
}
|
|
245
303
|
}
|
|
246
304
|
},
|
|
247
|
-
"
|
|
248
|
-
"
|
|
249
|
-
"
|
|
250
|
-
|
|
251
|
-
|
|
305
|
+
"TabsIndicatorStyling": {
|
|
306
|
+
"kind": "object",
|
|
307
|
+
"entries": {
|
|
308
|
+
"selected": {
|
|
309
|
+
"type": "#/definitions/ColorStyling"
|
|
310
|
+
},
|
|
311
|
+
"hover": {
|
|
312
|
+
"type": "#/definitions/ColorStyling"
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
"TabsBackgroundStyling": {
|
|
317
|
+
"kind": "object",
|
|
318
|
+
"entries": {
|
|
319
|
+
"selected": {
|
|
320
|
+
"type": "#/definitions/ColorStyling"
|
|
321
|
+
},
|
|
322
|
+
"unselected": {
|
|
323
|
+
"type": "#/definitions/ColorStyling"
|
|
324
|
+
},
|
|
325
|
+
"hover": {
|
|
326
|
+
"type": "#/definitions/ColorStyling"
|
|
327
|
+
}
|
|
252
328
|
}
|
|
253
329
|
},
|
|
254
330
|
"MediaLibraryRef": {
|
|
@@ -278,19 +354,126 @@
|
|
|
278
354
|
"kind": "object",
|
|
279
355
|
"entries": {
|
|
280
356
|
"childRefId": {
|
|
281
|
-
"description": "Internal reference id of container child",
|
|
357
|
+
"description": "Internal reference id of container child.",
|
|
282
358
|
"type": "string"
|
|
283
359
|
},
|
|
284
360
|
"label": {
|
|
285
|
-
"description": "Label of the child object, shows up in property panel and tab",
|
|
361
|
+
"description": "Label of the child object, shows up in property panel and tab.",
|
|
286
362
|
"type": "string"
|
|
287
363
|
},
|
|
288
364
|
"condition": {
|
|
289
|
-
"description": "Show condition",
|
|
365
|
+
"description": "Show Tab condition.",
|
|
290
366
|
"type": "ValueExpression"
|
|
367
|
+
},
|
|
368
|
+
"components": {
|
|
369
|
+
"description": "Tab Styling.",
|
|
370
|
+
"kind": "array",
|
|
371
|
+
"items": {
|
|
372
|
+
"type": "#/definitions/TabStylingComponent"
|
|
373
|
+
}
|
|
291
374
|
}
|
|
292
375
|
}
|
|
293
376
|
}
|
|
377
|
+
},
|
|
378
|
+
"TabStylingComponent": {
|
|
379
|
+
"kind": "object",
|
|
380
|
+
"entries": {
|
|
381
|
+
"key": {
|
|
382
|
+
"description": "This should be set to `\"tab\"` (Determines which component the settings apply to).",
|
|
383
|
+
"type": "string"
|
|
384
|
+
},
|
|
385
|
+
"icon": {
|
|
386
|
+
"type": "#/definitions/TabIconStyling"
|
|
387
|
+
},
|
|
388
|
+
"label": {
|
|
389
|
+
"type": "#/definitions/TabLabelStyling"
|
|
390
|
+
},
|
|
391
|
+
"width": {
|
|
392
|
+
"type": "#/definitions/TabWidthStyling"
|
|
393
|
+
},
|
|
394
|
+
"background": {
|
|
395
|
+
"type": "#/definitions/ColorStyling"
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
},
|
|
399
|
+
"TabIconStyling": {
|
|
400
|
+
"kind": "object",
|
|
401
|
+
"entries": {
|
|
402
|
+
"show": {
|
|
403
|
+
"type": "boolean"
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
},
|
|
407
|
+
"TabLabelStyling": {
|
|
408
|
+
"kind": "object",
|
|
409
|
+
"entries": {
|
|
410
|
+
"color": {
|
|
411
|
+
"type": "#/definitions/paletteColor"
|
|
412
|
+
},
|
|
413
|
+
"fontFamily": {
|
|
414
|
+
"type": "string"
|
|
415
|
+
},
|
|
416
|
+
"fontSize": {
|
|
417
|
+
"type": "string"
|
|
418
|
+
},
|
|
419
|
+
"show": {
|
|
420
|
+
"type": "boolean"
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
},
|
|
424
|
+
"TabWidthStyling": {
|
|
425
|
+
"kind": "object",
|
|
426
|
+
"entries": {
|
|
427
|
+
"value": {
|
|
428
|
+
"description": "This has two values [<min>, <max>].",
|
|
429
|
+
"kind": "array",
|
|
430
|
+
"items": {
|
|
431
|
+
"type": "number"
|
|
432
|
+
}
|
|
433
|
+
},
|
|
434
|
+
"unit": {
|
|
435
|
+
"description": "This can be `\"px\"` or `\"%\"`.",
|
|
436
|
+
"type": "string"
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
"ColorStyling": {
|
|
441
|
+
"kind": "object",
|
|
442
|
+
"entries": {
|
|
443
|
+
"useColorExpression": {
|
|
444
|
+
"type": "boolean"
|
|
445
|
+
},
|
|
446
|
+
"color": {
|
|
447
|
+
"type": "#/definitions/paletteColor"
|
|
448
|
+
},
|
|
449
|
+
"colorExpression": {
|
|
450
|
+
"type": "EngineAPI.StringExpression"
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
},
|
|
454
|
+
"paletteColor": {
|
|
455
|
+
"description": "Color information structure. Holds the actual color, index and alpha in palette.",
|
|
456
|
+
"kind": "object",
|
|
457
|
+
"entries": {
|
|
458
|
+
"color": {
|
|
459
|
+
"description": "Color as hex string (mandatory if index: -1).",
|
|
460
|
+
"type": "string"
|
|
461
|
+
},
|
|
462
|
+
"index": {
|
|
463
|
+
"description": "Index in palette.",
|
|
464
|
+
"type": "number"
|
|
465
|
+
},
|
|
466
|
+
"alpha": {
|
|
467
|
+
"type": "number"
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
},
|
|
471
|
+
"FontStyle": {
|
|
472
|
+
"description": "This can be `\"italic\"`, `\"bold\"` or `\"underline\"`.",
|
|
473
|
+
"kind": "alias",
|
|
474
|
+
"items": {
|
|
475
|
+
"type": "string"
|
|
476
|
+
}
|
|
294
477
|
}
|
|
295
478
|
}
|
|
296
479
|
}
|