@nebula.js/sn-action-button 1.14.1 → 1.15.3
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/README.md +0 -8
- package/api-specifications/properties.json +664 -0
- package/core/esm/index.js +7 -0
- package/core/package.json +6 -0
- package/dist/sn-action-button.esm.js +3 -4288
- package/dist/sn-action-button.js +3 -4
- package/package.json +43 -39
- package/sn-action-button-ext/dist/sn-action-button.js +7 -0
- package/sn-action-button-ext/sn-action-button.js +1 -0
- package/sn-action-button-ext/sn-action-button.qext +9 -0
- package/dist/sn-action-button.esm.js.map +0 -1
- package/dist/sn-action-button.js.map +0 -1
package/README.md
CHANGED
|
@@ -0,0 +1,664 @@
|
|
|
1
|
+
{
|
|
2
|
+
"scriptappy": "1.0.0",
|
|
3
|
+
"info": {
|
|
4
|
+
"name": "@nebula.js/sn-action-button:properties",
|
|
5
|
+
"description": "Action button generic object definition",
|
|
6
|
+
"version": "1.15.3",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"stability": "stable",
|
|
9
|
+
"x-qlik-visibility": "public"
|
|
10
|
+
},
|
|
11
|
+
"entries": {
|
|
12
|
+
"properties": {
|
|
13
|
+
"extends": [
|
|
14
|
+
{
|
|
15
|
+
"type": "qae.GenericObjectProperties"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"kind": "object",
|
|
19
|
+
"entries": {
|
|
20
|
+
"actions": {
|
|
21
|
+
"description": "List of actions, performed in this order",
|
|
22
|
+
"kind": "array",
|
|
23
|
+
"items": {
|
|
24
|
+
"type": "#/definitions/Action"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"enabledCondition": {
|
|
28
|
+
"description": "Number or expression evaluating to number, 0 means disabling the button",
|
|
29
|
+
"defaultValue": 1,
|
|
30
|
+
"kind": "union",
|
|
31
|
+
"items": [
|
|
32
|
+
{
|
|
33
|
+
"type": "number"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"type": "#/definitions/EnabledExpression"
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"type": "any"
|
|
40
|
+
},
|
|
41
|
+
"footnote": {
|
|
42
|
+
"description": "Visualization footnote",
|
|
43
|
+
"optional": true,
|
|
44
|
+
"defaultValue": "",
|
|
45
|
+
"type": "string"
|
|
46
|
+
},
|
|
47
|
+
"navigation": {
|
|
48
|
+
"description": "Navigation action to move to new sheet/URL, performed after all other actions",
|
|
49
|
+
"type": "#/definitions/NavigationAction"
|
|
50
|
+
},
|
|
51
|
+
"showTitles": {
|
|
52
|
+
"description": "Show title for the visualization",
|
|
53
|
+
"optional": true,
|
|
54
|
+
"defaultValue": true,
|
|
55
|
+
"type": "boolean"
|
|
56
|
+
},
|
|
57
|
+
"style": {
|
|
58
|
+
"description": "All styling options",
|
|
59
|
+
"type": "#/definitions/Style"
|
|
60
|
+
},
|
|
61
|
+
"subtitle": {
|
|
62
|
+
"description": "Visualization subtitle",
|
|
63
|
+
"optional": true,
|
|
64
|
+
"defaultValue": "",
|
|
65
|
+
"type": "string"
|
|
66
|
+
},
|
|
67
|
+
"title": {
|
|
68
|
+
"description": "Visualization title",
|
|
69
|
+
"optional": true,
|
|
70
|
+
"defaultValue": "",
|
|
71
|
+
"type": "string"
|
|
72
|
+
},
|
|
73
|
+
"useEnabledCondition": {
|
|
74
|
+
"description": "Controlling if the button should use an expression to determine if it is enabled or not",
|
|
75
|
+
"defaultValue": false,
|
|
76
|
+
"type": "boolean"
|
|
77
|
+
},
|
|
78
|
+
"version": {
|
|
79
|
+
"description": "Current version of this generic object definition.",
|
|
80
|
+
"type": "string"
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"definitions": {
|
|
86
|
+
"Action": {
|
|
87
|
+
"description": "Defines what action to perform and options for that action type.",
|
|
88
|
+
"kind": "object",
|
|
89
|
+
"entries": {
|
|
90
|
+
"actionLabel": {
|
|
91
|
+
"description": "Label for reference",
|
|
92
|
+
"optional": true,
|
|
93
|
+
"defaultValue": "''",
|
|
94
|
+
"type": "string"
|
|
95
|
+
},
|
|
96
|
+
"actionType": {
|
|
97
|
+
"description": "The type of action",
|
|
98
|
+
"optional": true,
|
|
99
|
+
"defaultValue": "''",
|
|
100
|
+
"kind": "union",
|
|
101
|
+
"items": [
|
|
102
|
+
{
|
|
103
|
+
"kind": "literal",
|
|
104
|
+
"value": "'applyBookmark'"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"kind": "literal",
|
|
108
|
+
"value": "'back'"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"kind": "literal",
|
|
112
|
+
"value": "'forward'"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"kind": "literal",
|
|
116
|
+
"value": "'clearAll'"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"kind": "literal",
|
|
120
|
+
"value": "'clearAllButThis'"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"kind": "literal",
|
|
124
|
+
"value": "'clearField'"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"kind": "literal",
|
|
128
|
+
"value": "'selectAll'"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"kind": "literal",
|
|
132
|
+
"value": "'selectValues'"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"kind": "literal",
|
|
136
|
+
"value": "'selectMatchingValues'"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"kind": "literal",
|
|
140
|
+
"value": "'selectAlternative'"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"kind": "literal",
|
|
144
|
+
"value": "'selectExcluded'"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"kind": "literal",
|
|
148
|
+
"value": "'selectPossible'"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"kind": "literal",
|
|
152
|
+
"value": "'toggleSelect'"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"kind": "literal",
|
|
156
|
+
"value": "'lockAll'"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"kind": "literal",
|
|
160
|
+
"value": "'lockField'"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"kind": "literal",
|
|
164
|
+
"value": "'unlockAll'"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"kind": "literal",
|
|
168
|
+
"value": "'unlockField'"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"kind": "literal",
|
|
172
|
+
"value": "'setVariable'"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"kind": "literal",
|
|
176
|
+
"value": "'doReload'"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"kind": "literal",
|
|
180
|
+
"value": "'executeAutomation'"
|
|
181
|
+
}
|
|
182
|
+
],
|
|
183
|
+
"type": "string"
|
|
184
|
+
},
|
|
185
|
+
"bookmark": {
|
|
186
|
+
"description": "ID of bookmark, required for type 'applyBookmark'",
|
|
187
|
+
"optional": true,
|
|
188
|
+
"defaultValue": "''",
|
|
189
|
+
"type": "string"
|
|
190
|
+
},
|
|
191
|
+
"field": {
|
|
192
|
+
"description": "Name of field. Required for types 'clearAllButThis', 'clearField', 'selectAll', 'selectValues', 'selectMatchingValues', 'selectAlternative', 'selectExcluded', 'selectPossible', 'toggleSelect', 'lockField' and 'unlockField'",
|
|
193
|
+
"optional": true,
|
|
194
|
+
"defaultValue": "''",
|
|
195
|
+
"type": "string"
|
|
196
|
+
},
|
|
197
|
+
"softLock": {
|
|
198
|
+
"description": "Set to true to ignore locked field(s). Required for types 'clearAll', 'clearAllButThis', 'clearField', 'selectAll', 'selectValues', 'selectMatchingValues', 'selectAlternative', 'selectExcluded', 'selectPossible' and 'toggleSelect'",
|
|
199
|
+
"optional": true,
|
|
200
|
+
"defaultValue": "''",
|
|
201
|
+
"type": "string"
|
|
202
|
+
},
|
|
203
|
+
"value": {
|
|
204
|
+
"description": "To select certain values in a field or set a variable. Required for types 'selectValues', 'selectMatchingValues', 'toggleSelect' and 'setVariable'",
|
|
205
|
+
"optional": true,
|
|
206
|
+
"defaultValue": "''",
|
|
207
|
+
"type": "string"
|
|
208
|
+
},
|
|
209
|
+
"variable": {
|
|
210
|
+
"description": "Name of variable. Required for type 'setVariable'",
|
|
211
|
+
"optional": true,
|
|
212
|
+
"defaultValue": "''",
|
|
213
|
+
"type": "string"
|
|
214
|
+
},
|
|
215
|
+
"partial": {
|
|
216
|
+
"description": "Set to true if you want to do a partial reload.",
|
|
217
|
+
"optional": true,
|
|
218
|
+
"defaultValue": false,
|
|
219
|
+
"type": "boolean"
|
|
220
|
+
},
|
|
221
|
+
"automation": {
|
|
222
|
+
"description": "ID of the automation. Required for type 'setVariable'",
|
|
223
|
+
"optional": true,
|
|
224
|
+
"defaultValue": "''",
|
|
225
|
+
"type": "string"
|
|
226
|
+
},
|
|
227
|
+
"automationPostData": {
|
|
228
|
+
"description": "Set to true to include the current selections in the automation. Defaults to false",
|
|
229
|
+
"optional": true,
|
|
230
|
+
"defaultValue": false,
|
|
231
|
+
"type": "boolean"
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
"Background": {
|
|
236
|
+
"kind": "object",
|
|
237
|
+
"entries": {
|
|
238
|
+
"useColorExpression": {
|
|
239
|
+
"description": "Set to true to use color expression",
|
|
240
|
+
"optional": true,
|
|
241
|
+
"defaultValue": false,
|
|
242
|
+
"type": "boolean"
|
|
243
|
+
},
|
|
244
|
+
"color": {
|
|
245
|
+
"description": "Color defined by index or hex code, needed if useColorExpression is false",
|
|
246
|
+
"optional": true,
|
|
247
|
+
"type": "#/definitions/PaletteColor"
|
|
248
|
+
},
|
|
249
|
+
"colorExpression": {
|
|
250
|
+
"description": "Color defined by expression, needed if useColorExpression is true",
|
|
251
|
+
"optional": true,
|
|
252
|
+
"type": "#/definitions/ColorExpression"
|
|
253
|
+
},
|
|
254
|
+
"useImage": {
|
|
255
|
+
"description": "Set to true to show background image",
|
|
256
|
+
"optional": true,
|
|
257
|
+
"defaultValue": false,
|
|
258
|
+
"type": "boolean"
|
|
259
|
+
},
|
|
260
|
+
"url": {
|
|
261
|
+
"description": "Contains the URL for the background image",
|
|
262
|
+
"optional": true,
|
|
263
|
+
"kind": "object",
|
|
264
|
+
"entries": {
|
|
265
|
+
"qStaticContentUrlDef": {
|
|
266
|
+
"optional": true,
|
|
267
|
+
"kind": "object",
|
|
268
|
+
"entries": {
|
|
269
|
+
"qUrl": {
|
|
270
|
+
"description": "URL represented as a string",
|
|
271
|
+
"optional": true,
|
|
272
|
+
"type": "string"
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
"position": {
|
|
279
|
+
"description": "Image position",
|
|
280
|
+
"optional": true,
|
|
281
|
+
"defaultValue": "'centerCenter'",
|
|
282
|
+
"kind": "union",
|
|
283
|
+
"items": [
|
|
284
|
+
{
|
|
285
|
+
"kind": "literal",
|
|
286
|
+
"value": "'topLeft'"
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"kind": "literal",
|
|
290
|
+
"value": "'centerLeft'"
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"kind": "literal",
|
|
294
|
+
"value": "'bottomLeft'"
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"kind": "literal",
|
|
298
|
+
"value": "'topCenter'"
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"kind": "literal",
|
|
302
|
+
"value": "'centerCenter'"
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"kind": "literal",
|
|
306
|
+
"value": "'bottomCenter'"
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"kind": "literal",
|
|
310
|
+
"value": "'topRight'"
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"kind": "literal",
|
|
314
|
+
"value": "'centerRight'"
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"kind": "literal",
|
|
318
|
+
"value": "'bottomRight'"
|
|
319
|
+
}
|
|
320
|
+
],
|
|
321
|
+
"type": "string"
|
|
322
|
+
},
|
|
323
|
+
"size": {
|
|
324
|
+
"description": "Size of the image, relative to the button",
|
|
325
|
+
"optional": true,
|
|
326
|
+
"defaultValue": "'auto'",
|
|
327
|
+
"kind": "union",
|
|
328
|
+
"items": [
|
|
329
|
+
{
|
|
330
|
+
"kind": "literal",
|
|
331
|
+
"value": "'auto'"
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"kind": "literal",
|
|
335
|
+
"value": "'alwaysFit'"
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"kind": "literal",
|
|
339
|
+
"value": "'fitWidth'"
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"kind": "literal",
|
|
343
|
+
"value": "'fitWidth'"
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"kind": "literal",
|
|
347
|
+
"value": "'fitHeight'"
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"kind": "literal",
|
|
351
|
+
"value": "'fill'"
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"kind": "literal",
|
|
355
|
+
"value": "'alwaysFill'"
|
|
356
|
+
}
|
|
357
|
+
],
|
|
358
|
+
"type": "string"
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
},
|
|
362
|
+
"Border": {
|
|
363
|
+
"kind": "object",
|
|
364
|
+
"entries": {
|
|
365
|
+
"useBorder": {
|
|
366
|
+
"description": "Set to true to use border expression",
|
|
367
|
+
"optional": true,
|
|
368
|
+
"defaultValue": false,
|
|
369
|
+
"type": "boolean"
|
|
370
|
+
},
|
|
371
|
+
"width": {
|
|
372
|
+
"description": "Relative width, 0 is no border and 1 make the border fill the entire button",
|
|
373
|
+
"optional": true,
|
|
374
|
+
"defaultValue": 0,
|
|
375
|
+
"type": "number"
|
|
376
|
+
},
|
|
377
|
+
"radius": {
|
|
378
|
+
"description": "Relative border radius, 0 is no rounding and 1 will make the short side a half circle",
|
|
379
|
+
"optional": true,
|
|
380
|
+
"defaultValue": 0,
|
|
381
|
+
"type": "number"
|
|
382
|
+
},
|
|
383
|
+
"useColorExpression": {
|
|
384
|
+
"description": "Set to true to use color expression",
|
|
385
|
+
"optional": true,
|
|
386
|
+
"defaultValue": false,
|
|
387
|
+
"type": "boolean"
|
|
388
|
+
},
|
|
389
|
+
"color": {
|
|
390
|
+
"description": "Color defined by index or hex code, needed if useColorExpression is false",
|
|
391
|
+
"optional": true,
|
|
392
|
+
"type": "#/definitions/PaletteColor"
|
|
393
|
+
},
|
|
394
|
+
"colorExpression": {
|
|
395
|
+
"description": "Color defined by expression, needed if useColorExpression is true",
|
|
396
|
+
"optional": true,
|
|
397
|
+
"type": "string"
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
"ColorExpression": {
|
|
402
|
+
"description": "Format for using color expressions",
|
|
403
|
+
"kind": "object",
|
|
404
|
+
"entries": {
|
|
405
|
+
"qStringExpression": {
|
|
406
|
+
"kind": "object",
|
|
407
|
+
"entries": {
|
|
408
|
+
"qExpr": {
|
|
409
|
+
"description": "expression that resolves to a supported color format",
|
|
410
|
+
"type": "string"
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
},
|
|
416
|
+
"EnabledExpression": {
|
|
417
|
+
"description": "Format for setting if the button is enabled/disabled with an expression",
|
|
418
|
+
"kind": "object",
|
|
419
|
+
"entries": {
|
|
420
|
+
"qStringExpression": {
|
|
421
|
+
"kind": "object",
|
|
422
|
+
"entries": {
|
|
423
|
+
"qExpr": {
|
|
424
|
+
"description": "expression that resolves to a number",
|
|
425
|
+
"type": "string"
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
"Font": {
|
|
432
|
+
"kind": "object",
|
|
433
|
+
"entries": {
|
|
434
|
+
"useColorExpression": {
|
|
435
|
+
"description": "Set to true to use color expression",
|
|
436
|
+
"optional": true,
|
|
437
|
+
"defaultValue": false,
|
|
438
|
+
"type": "boolean"
|
|
439
|
+
},
|
|
440
|
+
"color": {
|
|
441
|
+
"description": "Color defined by index or hex code, needed if useColorExpression is false",
|
|
442
|
+
"optional": true,
|
|
443
|
+
"type": "#/definitions/PaletteColor"
|
|
444
|
+
},
|
|
445
|
+
"colorExpression": {
|
|
446
|
+
"description": "Color defined by expression, needed if useColorExpression is true",
|
|
447
|
+
"optional": true,
|
|
448
|
+
"type": "#/definitions/ColorExpression"
|
|
449
|
+
},
|
|
450
|
+
"size": {
|
|
451
|
+
"description": "Relative[] size of label, must be greater than 0 and 1 fills the entire button",
|
|
452
|
+
"optional": true,
|
|
453
|
+
"defaultValue": 0.5,
|
|
454
|
+
"type": "number"
|
|
455
|
+
},
|
|
456
|
+
"align": {
|
|
457
|
+
"description": "Horizontal alignment",
|
|
458
|
+
"optional": true,
|
|
459
|
+
"defaultValue": "'center'",
|
|
460
|
+
"kind": "union",
|
|
461
|
+
"items": [
|
|
462
|
+
{
|
|
463
|
+
"kind": "literal",
|
|
464
|
+
"value": "'left'"
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
"kind": "literal",
|
|
468
|
+
"value": "'center'"
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"kind": "literal",
|
|
472
|
+
"value": "'right'"
|
|
473
|
+
}
|
|
474
|
+
],
|
|
475
|
+
"type": "string"
|
|
476
|
+
},
|
|
477
|
+
"style": {
|
|
478
|
+
"description": "Additional style options",
|
|
479
|
+
"optional": true,
|
|
480
|
+
"kind": "object",
|
|
481
|
+
"entries": {
|
|
482
|
+
"bold": {
|
|
483
|
+
"description": "Bold text",
|
|
484
|
+
"optional": true,
|
|
485
|
+
"defaultValue": true,
|
|
486
|
+
"type": "boolean"
|
|
487
|
+
},
|
|
488
|
+
"italic": {
|
|
489
|
+
"description": "Italic text",
|
|
490
|
+
"optional": true,
|
|
491
|
+
"defaultValue": false,
|
|
492
|
+
"type": "boolean"
|
|
493
|
+
},
|
|
494
|
+
"underline": {
|
|
495
|
+
"description": "Underlined text",
|
|
496
|
+
"optional": true,
|
|
497
|
+
"defaultValue": false,
|
|
498
|
+
"type": "boolean"
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
},
|
|
504
|
+
"Icon": {
|
|
505
|
+
"description": "Icons are only available inside Qlik Sense",
|
|
506
|
+
"kind": "object",
|
|
507
|
+
"entries": {
|
|
508
|
+
"useIcon": {
|
|
509
|
+
"description": "Set to true to show icon, default is false",
|
|
510
|
+
"optional": true,
|
|
511
|
+
"defaultValue": false,
|
|
512
|
+
"type": "boolean"
|
|
513
|
+
},
|
|
514
|
+
"iconType": {
|
|
515
|
+
"description": "holds the name of the icon",
|
|
516
|
+
"optional": true,
|
|
517
|
+
"kind": "object",
|
|
518
|
+
"entries": {
|
|
519
|
+
"value": {
|
|
520
|
+
"description": "name of icon",
|
|
521
|
+
"optional": true,
|
|
522
|
+
"defaultValue": "''",
|
|
523
|
+
"type": "string"
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
},
|
|
527
|
+
"position": {
|
|
528
|
+
"description": "Defines which side of the label the icon will be",
|
|
529
|
+
"optional": true,
|
|
530
|
+
"defaultValue": "'left'",
|
|
531
|
+
"kind": "union",
|
|
532
|
+
"items": [
|
|
533
|
+
{
|
|
534
|
+
"kind": "literal",
|
|
535
|
+
"value": "'left'"
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
"kind": "literal",
|
|
539
|
+
"value": "'right'"
|
|
540
|
+
}
|
|
541
|
+
],
|
|
542
|
+
"type": "string"
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
},
|
|
546
|
+
"NavigationAction": {
|
|
547
|
+
"description": "Defines a navigation action to perform after the other actions. Note that when the sn-action-button is used outside Qlik Sense you can only use the 'openWebsite' action.",
|
|
548
|
+
"kind": "object",
|
|
549
|
+
"entries": {
|
|
550
|
+
"action": {
|
|
551
|
+
"description": "Name of navigation action",
|
|
552
|
+
"kind": "union",
|
|
553
|
+
"items": [
|
|
554
|
+
{
|
|
555
|
+
"kind": "literal",
|
|
556
|
+
"value": "'nextSheet'"
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"kind": "literal",
|
|
560
|
+
"value": "'prevSheet'"
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
"kind": "literal",
|
|
564
|
+
"value": "'firstSheet'"
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
"kind": "literal",
|
|
568
|
+
"value": "'lastSheet'"
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
"kind": "literal",
|
|
572
|
+
"value": "'goToSheet'"
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
"kind": "literal",
|
|
576
|
+
"value": "'goToSheetById'"
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
"kind": "literal",
|
|
580
|
+
"value": "'goToSheetById'"
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
"kind": "literal",
|
|
584
|
+
"value": "'goToStory'"
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
"kind": "literal",
|
|
588
|
+
"value": "'openWebsite'"
|
|
589
|
+
}
|
|
590
|
+
],
|
|
591
|
+
"type": "string"
|
|
592
|
+
},
|
|
593
|
+
"sheet": {
|
|
594
|
+
"description": "sheet ID. Required for 'goToSheet' and 'goToSheetById'",
|
|
595
|
+
"optional": true,
|
|
596
|
+
"type": "string"
|
|
597
|
+
},
|
|
598
|
+
"story": {
|
|
599
|
+
"description": "Story ID. Required for 'goToStory'",
|
|
600
|
+
"optional": true,
|
|
601
|
+
"type": "string"
|
|
602
|
+
},
|
|
603
|
+
"websiteUrl": {
|
|
604
|
+
"description": "URL for website. required for 'openWebsite'",
|
|
605
|
+
"optional": true,
|
|
606
|
+
"type": "string"
|
|
607
|
+
},
|
|
608
|
+
"sameWindow": {
|
|
609
|
+
"description": "Set to true to open in same window/tab. Required for 'openWebsite'",
|
|
610
|
+
"optional": true,
|
|
611
|
+
"type": "boolean"
|
|
612
|
+
}
|
|
613
|
+
}
|
|
614
|
+
},
|
|
615
|
+
"PaletteColor": {
|
|
616
|
+
"description": "Color information structure. Holds the actual color and index in palette.",
|
|
617
|
+
"kind": "object",
|
|
618
|
+
"entries": {
|
|
619
|
+
"color": {
|
|
620
|
+
"description": "Color as hex string (only used if index: -1)",
|
|
621
|
+
"optional": true,
|
|
622
|
+
"type": "string"
|
|
623
|
+
},
|
|
624
|
+
"index": {
|
|
625
|
+
"description": "Index in palette",
|
|
626
|
+
"optional": true,
|
|
627
|
+
"type": "number"
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
},
|
|
631
|
+
"Style": {
|
|
632
|
+
"description": "Holds styling options",
|
|
633
|
+
"kind": "object",
|
|
634
|
+
"entries": {
|
|
635
|
+
"label": {
|
|
636
|
+
"description": "The text displayed on the button",
|
|
637
|
+
"optional": true,
|
|
638
|
+
"defaultValue": "'Button'",
|
|
639
|
+
"type": "string"
|
|
640
|
+
},
|
|
641
|
+
"font": {
|
|
642
|
+
"description": "Styling for the label",
|
|
643
|
+
"optional": true,
|
|
644
|
+
"type": "#/definitions/Font"
|
|
645
|
+
},
|
|
646
|
+
"background": {
|
|
647
|
+
"description": "Styling for background, including image",
|
|
648
|
+
"optional": true,
|
|
649
|
+
"type": "#/definitions/Background"
|
|
650
|
+
},
|
|
651
|
+
"border": {
|
|
652
|
+
"description": "Styling for border",
|
|
653
|
+
"optional": true,
|
|
654
|
+
"type": "#/definitions/Border"
|
|
655
|
+
},
|
|
656
|
+
"icon": {
|
|
657
|
+
"description": "Styling for icon",
|
|
658
|
+
"optional": true,
|
|
659
|
+
"type": "#/definitions/Icon"
|
|
660
|
+
}
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
}
|