@nebula.js/sn-action-button 1.36.2 → 1.37.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-specifications/properties.json +751 -730
- package/core/esm/index.js +3 -3
- package/core/package.json +1 -1
- package/dist/sn-action-button.js +3 -3
- package/dist/sn-action-button.systemjs.js +3 -3
- package/package.json +26 -27
- package/sn-action-button-ext/dist/sn-action-button.js +3 -3
- package/sn-action-button-ext/sn-action-button.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-action-button:properties",
|
|
5
5
|
"description": "Action button generic object definition",
|
|
6
|
-
"version": "1.
|
|
6
|
+
"version": "1.37.1",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"stability": "stable",
|
|
9
9
|
"x-qlik-visibility": "public"
|
|
@@ -12,51 +12,26 @@
|
|
|
12
12
|
"properties": {
|
|
13
13
|
"extends": [
|
|
14
14
|
{
|
|
15
|
-
"type": "
|
|
15
|
+
"type": "EngineAPI.GenericObjectProperties"
|
|
16
16
|
}
|
|
17
17
|
],
|
|
18
18
|
"kind": "object",
|
|
19
19
|
"entries": {
|
|
20
|
-
"
|
|
21
|
-
"description": "
|
|
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": "",
|
|
20
|
+
"version": {
|
|
21
|
+
"description": "Current version of this generic object definition.",
|
|
45
22
|
"type": "string"
|
|
46
23
|
},
|
|
47
|
-
"navigation": {
|
|
48
|
-
"description": "Navigation action to move to new sheet/URL, performed after all other actions",
|
|
49
|
-
"type": "#/definitions/NavigationAction"
|
|
50
|
-
},
|
|
51
24
|
"showTitles": {
|
|
52
25
|
"description": "Show title for the visualization",
|
|
53
26
|
"optional": true,
|
|
54
27
|
"defaultValue": true,
|
|
55
28
|
"type": "boolean"
|
|
56
29
|
},
|
|
57
|
-
"
|
|
58
|
-
"description": "
|
|
59
|
-
"
|
|
30
|
+
"title": {
|
|
31
|
+
"description": "Visualization title",
|
|
32
|
+
"optional": true,
|
|
33
|
+
"defaultValue": "",
|
|
34
|
+
"type": "string"
|
|
60
35
|
},
|
|
61
36
|
"subtitle": {
|
|
62
37
|
"description": "Visualization subtitle",
|
|
@@ -64,8 +39,8 @@
|
|
|
64
39
|
"defaultValue": "",
|
|
65
40
|
"type": "string"
|
|
66
41
|
},
|
|
67
|
-
"
|
|
68
|
-
"description": "Visualization
|
|
42
|
+
"footnote": {
|
|
43
|
+
"description": "Visualization footnote",
|
|
69
44
|
"optional": true,
|
|
70
45
|
"defaultValue": "",
|
|
71
46
|
"type": "string"
|
|
@@ -75,746 +50,792 @@
|
|
|
75
50
|
"defaultValue": false,
|
|
76
51
|
"type": "boolean"
|
|
77
52
|
},
|
|
78
|
-
"
|
|
79
|
-
"description": "
|
|
80
|
-
"
|
|
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": "''",
|
|
53
|
+
"enabledCondition": {
|
|
54
|
+
"description": "Number or expression evaluating to number, 0 means disabling the button",
|
|
55
|
+
"defaultValue": 1,
|
|
100
56
|
"kind": "union",
|
|
101
57
|
"items": [
|
|
102
58
|
{
|
|
103
|
-
"
|
|
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'"
|
|
59
|
+
"type": "number"
|
|
181
60
|
},
|
|
182
61
|
{
|
|
183
|
-
"
|
|
184
|
-
"value": "'refreshDynamicViews'"
|
|
62
|
+
"type": "#/definitions/EnabledExpression"
|
|
185
63
|
}
|
|
186
|
-
]
|
|
187
|
-
"type": "string"
|
|
188
|
-
},
|
|
189
|
-
"bookmark": {
|
|
190
|
-
"description": "ID of bookmark, required for type 'applyBookmark'",
|
|
191
|
-
"optional": true,
|
|
192
|
-
"defaultValue": "''",
|
|
193
|
-
"type": "string"
|
|
194
|
-
},
|
|
195
|
-
"field": {
|
|
196
|
-
"description": "Name of field. Required for types 'clearAllButThis', 'clearField', 'selectAll', 'selectValues', 'selectMatchingValues', 'selectAlternative', 'selectExcluded', 'selectPossible', 'toggleSelect', 'lockField' and 'unlockField'",
|
|
197
|
-
"optional": true,
|
|
198
|
-
"defaultValue": "''",
|
|
199
|
-
"type": "string"
|
|
200
|
-
},
|
|
201
|
-
"softLock": {
|
|
202
|
-
"description": "Set to true to ignore locked field(s). Required for types 'clearAll', 'clearAllButThis', 'clearField', 'selectAll', 'selectValues', 'selectMatchingValues', 'selectAlternative', 'selectExcluded', 'selectPossible' and 'toggleSelect'",
|
|
203
|
-
"optional": true,
|
|
204
|
-
"defaultValue": "''",
|
|
205
|
-
"type": "string"
|
|
206
|
-
},
|
|
207
|
-
"value": {
|
|
208
|
-
"description": "To select certain values in a field or set a variable. Required for types 'selectValues', 'selectMatchingValues', 'toggleSelect' and 'setVariable'",
|
|
209
|
-
"optional": true,
|
|
210
|
-
"defaultValue": "''",
|
|
211
|
-
"type": "string"
|
|
64
|
+
]
|
|
212
65
|
},
|
|
213
|
-
"
|
|
214
|
-
"description": "
|
|
215
|
-
"
|
|
216
|
-
"
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
"partial": {
|
|
220
|
-
"description": "Set to true if you want to do a partial reload.",
|
|
221
|
-
"optional": true,
|
|
222
|
-
"defaultValue": false,
|
|
223
|
-
"type": "boolean"
|
|
224
|
-
},
|
|
225
|
-
"automation": {
|
|
226
|
-
"description": "Item ID of the automation (the id field returned from /api/v1/items?resourceType=automations)",
|
|
227
|
-
"optional": true,
|
|
228
|
-
"defaultValue": "''",
|
|
229
|
-
"type": "string"
|
|
230
|
-
},
|
|
231
|
-
"automationId": {
|
|
232
|
-
"description": "ID of the automation (the id field from /api/v1/automations OR the id field from /api/v1/automations)",
|
|
233
|
-
"optional": true,
|
|
234
|
-
"defaultValue": "''",
|
|
235
|
-
"type": "string"
|
|
236
|
-
},
|
|
237
|
-
"automationPostData": {
|
|
238
|
-
"description": "Set to true to include the current selections in the automation. Defaults to false",
|
|
239
|
-
"optional": true,
|
|
240
|
-
"defaultValue": false,
|
|
241
|
-
"type": "boolean"
|
|
242
|
-
},
|
|
243
|
-
"automationTriggered": {
|
|
244
|
-
"description": "Set to true when the automation should use the triggered run mode. Defaults to false",
|
|
245
|
-
"optional": true,
|
|
246
|
-
"defaultValue": false,
|
|
247
|
-
"type": "boolean"
|
|
248
|
-
},
|
|
249
|
-
"automationTriggeredText": {
|
|
250
|
-
"description": "Helper text when using the triggered run mode. Defaults to false",
|
|
251
|
-
"optional": true,
|
|
252
|
-
"defaultValue": "''",
|
|
253
|
-
"type": "string"
|
|
254
|
-
},
|
|
255
|
-
"automationExecutionToken": {
|
|
256
|
-
"description": "Token used when using the triggered run mode",
|
|
257
|
-
"optional": true,
|
|
258
|
-
"defaultValue": "''",
|
|
259
|
-
"type": "string"
|
|
260
|
-
},
|
|
261
|
-
"automationShowNotification": {
|
|
262
|
-
"description": "Set to true when an automation should return a notification when finished running. Defaults to false",
|
|
263
|
-
"optional": true,
|
|
264
|
-
"defaultValue": false,
|
|
265
|
-
"type": "boolean"
|
|
266
|
-
},
|
|
267
|
-
"automationNotificationDuration": {
|
|
268
|
-
"description": "The amount of time in seconds that a notification should remain visible after running an automation",
|
|
269
|
-
"optional": true,
|
|
270
|
-
"defaultValue": "''",
|
|
271
|
-
"type": "string"
|
|
66
|
+
"actions": {
|
|
67
|
+
"description": "List of actions, performed in this order",
|
|
68
|
+
"kind": "array",
|
|
69
|
+
"items": {
|
|
70
|
+
"type": "#/definitions/Action"
|
|
71
|
+
}
|
|
272
72
|
},
|
|
273
|
-
"
|
|
274
|
-
"description": "
|
|
275
|
-
"
|
|
276
|
-
"defaultValue": "''",
|
|
277
|
-
"type": "string"
|
|
73
|
+
"navigation": {
|
|
74
|
+
"description": "Navigation action to move to new sheet/URL, performed after all other actions",
|
|
75
|
+
"type": "#/definitions/NavigationAction"
|
|
278
76
|
},
|
|
279
|
-
"
|
|
280
|
-
"description": "
|
|
281
|
-
"
|
|
282
|
-
|
|
283
|
-
|
|
77
|
+
"style": {
|
|
78
|
+
"description": "All styling options",
|
|
79
|
+
"type": "#/definitions/Style"
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"definitions": {
|
|
85
|
+
"Action": {
|
|
86
|
+
"description": "Defines what action to perform and options for that action type.",
|
|
87
|
+
"kind": "alias",
|
|
88
|
+
"items": {
|
|
89
|
+
"kind": "object",
|
|
90
|
+
"entries": {
|
|
91
|
+
"actionLabel": {
|
|
92
|
+
"description": "Label for reference",
|
|
93
|
+
"optional": true,
|
|
94
|
+
"defaultValue": "''",
|
|
95
|
+
"type": "string"
|
|
96
|
+
},
|
|
97
|
+
"actionType": {
|
|
98
|
+
"description": "The type of action",
|
|
99
|
+
"optional": true,
|
|
100
|
+
"defaultValue": "''",
|
|
101
|
+
"kind": "union",
|
|
102
|
+
"items": [
|
|
103
|
+
{
|
|
104
|
+
"kind": "literal",
|
|
105
|
+
"value": "'applyBookmark'"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"kind": "literal",
|
|
109
|
+
"value": "'back'"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"kind": "literal",
|
|
113
|
+
"value": "'forward'"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"kind": "literal",
|
|
117
|
+
"value": "'clearAll'"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"kind": "literal",
|
|
121
|
+
"value": "'clearAllButThis'"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"kind": "literal",
|
|
125
|
+
"value": "'clearField'"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"kind": "literal",
|
|
129
|
+
"value": "'selectAll'"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"kind": "literal",
|
|
133
|
+
"value": "'selectValues'"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"kind": "literal",
|
|
137
|
+
"value": "'selectMatchingValues'"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"kind": "literal",
|
|
141
|
+
"value": "'selectAlternative'"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"kind": "literal",
|
|
145
|
+
"value": "'selectExcluded'"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"kind": "literal",
|
|
149
|
+
"value": "'selectPossible'"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"kind": "literal",
|
|
153
|
+
"value": "'toggleSelect'"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"kind": "literal",
|
|
157
|
+
"value": "'lockAll'"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"kind": "literal",
|
|
161
|
+
"value": "'lockField'"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"kind": "literal",
|
|
165
|
+
"value": "'unlockAll'"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"kind": "literal",
|
|
169
|
+
"value": "'unlockField'"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"kind": "literal",
|
|
173
|
+
"value": "'setVariable'"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"kind": "literal",
|
|
177
|
+
"value": "'doReload'"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"kind": "literal",
|
|
181
|
+
"value": "'executeAutomation'"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"kind": "literal",
|
|
185
|
+
"value": "'refreshDynamicViews'"
|
|
186
|
+
}
|
|
187
|
+
]
|
|
188
|
+
},
|
|
189
|
+
"bookmark": {
|
|
190
|
+
"description": "ID of bookmark, required for type 'applyBookmark'",
|
|
191
|
+
"optional": true,
|
|
192
|
+
"defaultValue": "''",
|
|
193
|
+
"type": "string"
|
|
194
|
+
},
|
|
195
|
+
"field": {
|
|
196
|
+
"description": "Name of field. Required for types 'clearAllButThis', 'clearField', 'selectAll', 'selectValues', 'selectMatchingValues', 'selectAlternative', 'selectExcluded', 'selectPossible', 'toggleSelect', 'lockField' and 'unlockField'",
|
|
197
|
+
"optional": true,
|
|
198
|
+
"defaultValue": "''",
|
|
199
|
+
"type": "string"
|
|
200
|
+
},
|
|
201
|
+
"softLock": {
|
|
202
|
+
"description": "Set to true to ignore locked field(s). Required for types 'clearAll', 'clearAllButThis', 'clearField', 'selectAll', 'selectValues', 'selectMatchingValues', 'selectAlternative', 'selectExcluded', 'selectPossible' and 'toggleSelect'",
|
|
203
|
+
"optional": true,
|
|
204
|
+
"defaultValue": "''",
|
|
205
|
+
"type": "string"
|
|
206
|
+
},
|
|
207
|
+
"value": {
|
|
208
|
+
"description": "To select certain values in a field or set a variable. Required for types 'selectValues', 'selectMatchingValues', 'toggleSelect' and 'setVariable'",
|
|
209
|
+
"optional": true,
|
|
210
|
+
"defaultValue": "''",
|
|
211
|
+
"type": "string"
|
|
212
|
+
},
|
|
213
|
+
"variable": {
|
|
214
|
+
"description": "Name of variable. Required for type 'setVariable'",
|
|
215
|
+
"optional": true,
|
|
216
|
+
"defaultValue": "''",
|
|
217
|
+
"type": "string"
|
|
218
|
+
},
|
|
219
|
+
"partial": {
|
|
220
|
+
"description": "Set to true if you want to do a partial reload.",
|
|
221
|
+
"optional": true,
|
|
222
|
+
"defaultValue": false,
|
|
223
|
+
"type": "boolean"
|
|
224
|
+
},
|
|
225
|
+
"automation": {
|
|
226
|
+
"description": "Item ID of the automation (the id field returned from /api/v1/items?resourceType=automations)",
|
|
227
|
+
"optional": true,
|
|
228
|
+
"defaultValue": "''",
|
|
229
|
+
"type": "string"
|
|
230
|
+
},
|
|
231
|
+
"automationId": {
|
|
232
|
+
"description": "ID of the automation (the id field from /api/v1/automations OR the id field from /api/v1/automations)",
|
|
233
|
+
"optional": true,
|
|
234
|
+
"defaultValue": "''",
|
|
235
|
+
"type": "string"
|
|
236
|
+
},
|
|
237
|
+
"automationPostData": {
|
|
238
|
+
"description": "Set to true to include the current selections in the automation. Defaults to false",
|
|
239
|
+
"optional": true,
|
|
240
|
+
"defaultValue": false,
|
|
241
|
+
"type": "boolean"
|
|
242
|
+
},
|
|
243
|
+
"automationTriggered": {
|
|
244
|
+
"description": "Set to true when the automation should use the triggered run mode. Defaults to false",
|
|
245
|
+
"optional": true,
|
|
246
|
+
"defaultValue": false,
|
|
247
|
+
"type": "boolean"
|
|
248
|
+
},
|
|
249
|
+
"automationTriggeredText": {
|
|
250
|
+
"description": "Helper text when using the triggered run mode. Defaults to false",
|
|
251
|
+
"optional": true,
|
|
252
|
+
"defaultValue": "''",
|
|
253
|
+
"type": "string"
|
|
254
|
+
},
|
|
255
|
+
"automationExecutionToken": {
|
|
256
|
+
"description": "Token used when using the triggered run mode",
|
|
257
|
+
"optional": true,
|
|
258
|
+
"defaultValue": "''",
|
|
259
|
+
"type": "string"
|
|
260
|
+
},
|
|
261
|
+
"automationShowNotification": {
|
|
262
|
+
"description": "Set to true when an automation should return a notification when finished running. Defaults to false",
|
|
263
|
+
"optional": true,
|
|
264
|
+
"defaultValue": false,
|
|
265
|
+
"type": "boolean"
|
|
266
|
+
},
|
|
267
|
+
"automationNotificationDuration": {
|
|
268
|
+
"description": "The amount of time in seconds that a notification should remain visible after running an automation",
|
|
269
|
+
"optional": true,
|
|
270
|
+
"defaultValue": "''",
|
|
271
|
+
"type": "string"
|
|
272
|
+
},
|
|
273
|
+
"automationNotificationDurationHelp": {
|
|
274
|
+
"description": "Helper text when enabling notifications",
|
|
275
|
+
"optional": true,
|
|
276
|
+
"defaultValue": "''",
|
|
277
|
+
"type": "string"
|
|
278
|
+
},
|
|
279
|
+
"automationOpenLinkSameWindow": {
|
|
280
|
+
"description": "Set to true if you want links from notifications to be opened in the same tab",
|
|
281
|
+
"optional": true,
|
|
282
|
+
"defaultValue": false,
|
|
283
|
+
"type": "boolean"
|
|
284
|
+
}
|
|
284
285
|
}
|
|
285
286
|
}
|
|
286
287
|
},
|
|
287
|
-
"
|
|
288
|
-
"
|
|
289
|
-
"
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
"
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
"
|
|
339
|
-
|
|
340
|
-
"optional": true,
|
|
341
|
-
"type": "string"
|
|
342
|
-
}
|
|
288
|
+
"NavigationAction": {
|
|
289
|
+
"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.",
|
|
290
|
+
"kind": "alias",
|
|
291
|
+
"items": {
|
|
292
|
+
"kind": "object",
|
|
293
|
+
"entries": {
|
|
294
|
+
"action": {
|
|
295
|
+
"description": "Name of navigation action",
|
|
296
|
+
"kind": "union",
|
|
297
|
+
"items": [
|
|
298
|
+
{
|
|
299
|
+
"kind": "literal",
|
|
300
|
+
"value": "'nextSheet'"
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"kind": "literal",
|
|
304
|
+
"value": "'prevSheet'"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"kind": "literal",
|
|
308
|
+
"value": "'firstSheet'"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"kind": "literal",
|
|
312
|
+
"value": "'lastSheet'"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"kind": "literal",
|
|
316
|
+
"value": "'goToSheet'"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"kind": "literal",
|
|
320
|
+
"value": "'goToSheetById'"
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"kind": "literal",
|
|
324
|
+
"value": "'goToSheetById'"
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"kind": "literal",
|
|
328
|
+
"value": "'goToStory'"
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"kind": "literal",
|
|
332
|
+
"value": "'openWebsite'"
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"kind": "literal",
|
|
336
|
+
"value": "'odagLink'"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"kind": "literal",
|
|
340
|
+
"value": "'openChainedApp'"
|
|
343
341
|
}
|
|
344
|
-
|
|
342
|
+
]
|
|
343
|
+
},
|
|
344
|
+
"appId": {
|
|
345
|
+
"description": "app ID. Required for 'openChainedApp'",
|
|
346
|
+
"optional": true,
|
|
347
|
+
"type": "string"
|
|
348
|
+
},
|
|
349
|
+
"sheet": {
|
|
350
|
+
"description": "sheet ID. Required for 'goToSheet' and 'goToSheetById'",
|
|
351
|
+
"optional": true,
|
|
352
|
+
"type": "string"
|
|
353
|
+
},
|
|
354
|
+
"story": {
|
|
355
|
+
"description": "Story ID. Required for 'goToStory'",
|
|
356
|
+
"optional": true,
|
|
357
|
+
"type": "string"
|
|
358
|
+
},
|
|
359
|
+
"websiteUrl": {
|
|
360
|
+
"description": "URL for website. required for 'openWebsite'",
|
|
361
|
+
"optional": true,
|
|
362
|
+
"type": "string"
|
|
363
|
+
},
|
|
364
|
+
"sameWindow": {
|
|
365
|
+
"description": "Set to true to open in same window/tab. Required for 'openWebsite'",
|
|
366
|
+
"optional": true,
|
|
367
|
+
"type": "boolean"
|
|
368
|
+
},
|
|
369
|
+
"odagLink": {
|
|
370
|
+
"description": "ODAG link name. Required for 'odagLink'",
|
|
371
|
+
"optional": true,
|
|
372
|
+
"type": "string"
|
|
345
373
|
}
|
|
346
|
-
},
|
|
347
|
-
"position": {
|
|
348
|
-
"description": "Image position",
|
|
349
|
-
"optional": true,
|
|
350
|
-
"defaultValue": "'center-center'",
|
|
351
|
-
"kind": "union",
|
|
352
|
-
"items": [
|
|
353
|
-
{
|
|
354
|
-
"kind": "literal",
|
|
355
|
-
"value": "'topLeft'"
|
|
356
|
-
},
|
|
357
|
-
{
|
|
358
|
-
"kind": "literal",
|
|
359
|
-
"value": "'centerLeft'"
|
|
360
|
-
},
|
|
361
|
-
{
|
|
362
|
-
"kind": "literal",
|
|
363
|
-
"value": "'bottomLeft'"
|
|
364
|
-
},
|
|
365
|
-
{
|
|
366
|
-
"kind": "literal",
|
|
367
|
-
"value": "'topCenter'"
|
|
368
|
-
},
|
|
369
|
-
{
|
|
370
|
-
"kind": "literal",
|
|
371
|
-
"value": "'centerCenter'"
|
|
372
|
-
},
|
|
373
|
-
{
|
|
374
|
-
"kind": "literal",
|
|
375
|
-
"value": "'bottomCenter'"
|
|
376
|
-
},
|
|
377
|
-
{
|
|
378
|
-
"kind": "literal",
|
|
379
|
-
"value": "'topRight'"
|
|
380
|
-
},
|
|
381
|
-
{
|
|
382
|
-
"kind": "literal",
|
|
383
|
-
"value": "'centerRight'"
|
|
384
|
-
},
|
|
385
|
-
{
|
|
386
|
-
"kind": "literal",
|
|
387
|
-
"value": "'bottomRight'"
|
|
388
|
-
},
|
|
389
|
-
{
|
|
390
|
-
"kind": "literal",
|
|
391
|
-
"value": "'top-left'"
|
|
392
|
-
},
|
|
393
|
-
{
|
|
394
|
-
"kind": "literal",
|
|
395
|
-
"value": "'center-left'"
|
|
396
|
-
},
|
|
397
|
-
{
|
|
398
|
-
"kind": "literal",
|
|
399
|
-
"value": "'bottom-left'"
|
|
400
|
-
},
|
|
401
|
-
{
|
|
402
|
-
"kind": "literal",
|
|
403
|
-
"value": "'top-center'"
|
|
404
|
-
},
|
|
405
|
-
{
|
|
406
|
-
"kind": "literal",
|
|
407
|
-
"value": "'center-center'"
|
|
408
|
-
},
|
|
409
|
-
{
|
|
410
|
-
"kind": "literal",
|
|
411
|
-
"value": "'top-right'"
|
|
412
|
-
},
|
|
413
|
-
{
|
|
414
|
-
"kind": "literal",
|
|
415
|
-
"value": "'center-right'"
|
|
416
|
-
},
|
|
417
|
-
{
|
|
418
|
-
"kind": "literal",
|
|
419
|
-
"value": "'bottom-right'"
|
|
420
|
-
}
|
|
421
|
-
],
|
|
422
|
-
"type": "string"
|
|
423
|
-
},
|
|
424
|
-
"size": {
|
|
425
|
-
"description": "Size of the image, relative to the button",
|
|
426
|
-
"optional": true,
|
|
427
|
-
"defaultValue": "'auto'",
|
|
428
|
-
"kind": "union",
|
|
429
|
-
"items": [
|
|
430
|
-
{
|
|
431
|
-
"kind": "literal",
|
|
432
|
-
"value": "'auto'"
|
|
433
|
-
},
|
|
434
|
-
{
|
|
435
|
-
"kind": "literal",
|
|
436
|
-
"value": "'alwaysFit'"
|
|
437
|
-
},
|
|
438
|
-
{
|
|
439
|
-
"kind": "literal",
|
|
440
|
-
"value": "'fitWidth'"
|
|
441
|
-
},
|
|
442
|
-
{
|
|
443
|
-
"kind": "literal",
|
|
444
|
-
"value": "'fitHeight'"
|
|
445
|
-
},
|
|
446
|
-
{
|
|
447
|
-
"kind": "literal",
|
|
448
|
-
"value": "'fill'"
|
|
449
|
-
},
|
|
450
|
-
{
|
|
451
|
-
"kind": "literal",
|
|
452
|
-
"value": "'alwaysFill'"
|
|
453
|
-
},
|
|
454
|
-
{
|
|
455
|
-
"kind": "literal",
|
|
456
|
-
"value": "'stretchFit'"
|
|
457
|
-
}
|
|
458
|
-
],
|
|
459
|
-
"type": "string"
|
|
460
374
|
}
|
|
461
375
|
}
|
|
462
376
|
},
|
|
463
|
-
"
|
|
464
|
-
"
|
|
465
|
-
"
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
"
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
"
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
"
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
"
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
"
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
"
|
|
497
|
-
|
|
498
|
-
|
|
377
|
+
"Style": {
|
|
378
|
+
"description": "Holds styling options",
|
|
379
|
+
"kind": "alias",
|
|
380
|
+
"items": {
|
|
381
|
+
"kind": "object",
|
|
382
|
+
"entries": {
|
|
383
|
+
"label": {
|
|
384
|
+
"description": "The text displayed on the button",
|
|
385
|
+
"optional": true,
|
|
386
|
+
"defaultValue": "'Button'",
|
|
387
|
+
"type": "string"
|
|
388
|
+
},
|
|
389
|
+
"showLabel": {
|
|
390
|
+
"description": "If the label should be shown or hidden",
|
|
391
|
+
"optional": true,
|
|
392
|
+
"defaultValue": true,
|
|
393
|
+
"type": "boolean"
|
|
394
|
+
},
|
|
395
|
+
"font": {
|
|
396
|
+
"description": "Styling for the label",
|
|
397
|
+
"optional": true,
|
|
398
|
+
"type": "#/definitions/Font"
|
|
399
|
+
},
|
|
400
|
+
"background": {
|
|
401
|
+
"description": "Styling for background, including image",
|
|
402
|
+
"optional": true,
|
|
403
|
+
"type": "#/definitions/Background"
|
|
404
|
+
},
|
|
405
|
+
"border": {
|
|
406
|
+
"description": "Styling for border",
|
|
407
|
+
"optional": true,
|
|
408
|
+
"type": "#/definitions/Border"
|
|
409
|
+
},
|
|
410
|
+
"icon": {
|
|
411
|
+
"description": "Styling for icon",
|
|
412
|
+
"optional": true,
|
|
413
|
+
"type": "#/definitions/Icon"
|
|
414
|
+
}
|
|
499
415
|
}
|
|
500
416
|
}
|
|
501
417
|
},
|
|
502
|
-
"
|
|
503
|
-
"
|
|
504
|
-
"
|
|
505
|
-
|
|
506
|
-
"
|
|
507
|
-
"
|
|
508
|
-
|
|
509
|
-
"
|
|
510
|
-
|
|
511
|
-
|
|
418
|
+
"Font": {
|
|
419
|
+
"kind": "alias",
|
|
420
|
+
"items": {
|
|
421
|
+
"kind": "object",
|
|
422
|
+
"entries": {
|
|
423
|
+
"fontFamily": {
|
|
424
|
+
"description": "Font Family of the label",
|
|
425
|
+
"optional": true,
|
|
426
|
+
"defaultValue": "'Source Sans Pro'",
|
|
427
|
+
"type": "string"
|
|
428
|
+
},
|
|
429
|
+
"useColorExpression": {
|
|
430
|
+
"description": "Set to true to use color expression",
|
|
431
|
+
"optional": true,
|
|
432
|
+
"defaultValue": false,
|
|
433
|
+
"type": "boolean"
|
|
434
|
+
},
|
|
435
|
+
"color": {
|
|
436
|
+
"description": "Color defined by index or hex code, needed if useColorExpression is false",
|
|
437
|
+
"optional": true,
|
|
438
|
+
"type": "#/definitions/PaletteColor"
|
|
439
|
+
},
|
|
440
|
+
"colorExpression": {
|
|
441
|
+
"description": "Color defined by expression, needed if useColorExpression is true",
|
|
442
|
+
"optional": true,
|
|
443
|
+
"type": "#/definitions/ColorExpression"
|
|
444
|
+
},
|
|
445
|
+
"size": {
|
|
446
|
+
"description": "Relative[] size of label, must be greater than 0 and 1 fills the entire button",
|
|
447
|
+
"optional": true,
|
|
448
|
+
"defaultValue": 0.5,
|
|
449
|
+
"type": "number"
|
|
450
|
+
},
|
|
451
|
+
"sizeFixed": {
|
|
452
|
+
"description": "Fixed size of the label in pixels. Must be bigger than 5. Only active when sizeBehavior is fixed.",
|
|
453
|
+
"optional": true,
|
|
454
|
+
"defaultValue": 20,
|
|
455
|
+
"type": "number"
|
|
456
|
+
},
|
|
457
|
+
"align": {
|
|
458
|
+
"description": "Horizontal alignment",
|
|
459
|
+
"optional": true,
|
|
460
|
+
"defaultValue": "'center'",
|
|
461
|
+
"kind": "union",
|
|
462
|
+
"items": [
|
|
463
|
+
{
|
|
464
|
+
"kind": "literal",
|
|
465
|
+
"value": "'left'"
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"kind": "literal",
|
|
469
|
+
"value": "'center'"
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
"kind": "literal",
|
|
473
|
+
"value": "'right'"
|
|
474
|
+
}
|
|
475
|
+
]
|
|
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
|
+
}
|
|
512
500
|
}
|
|
501
|
+
},
|
|
502
|
+
"sizeBehavior": {
|
|
503
|
+
"description": "Setting to determine how the fontsize of the label is calculated.",
|
|
504
|
+
"optional": true,
|
|
505
|
+
"defaultValue": "'responsive'",
|
|
506
|
+
"kind": "union",
|
|
507
|
+
"items": [
|
|
508
|
+
{
|
|
509
|
+
"kind": "literal",
|
|
510
|
+
"value": "'responsive'"
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"kind": "literal",
|
|
514
|
+
"value": "'relative'"
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"kind": "literal",
|
|
518
|
+
"value": "'fixed'"
|
|
519
|
+
}
|
|
520
|
+
]
|
|
513
521
|
}
|
|
514
522
|
}
|
|
515
523
|
}
|
|
516
524
|
},
|
|
517
|
-
"
|
|
518
|
-
"
|
|
519
|
-
"
|
|
520
|
-
|
|
521
|
-
"
|
|
522
|
-
"
|
|
523
|
-
|
|
524
|
-
"
|
|
525
|
-
|
|
526
|
-
|
|
525
|
+
"Background": {
|
|
526
|
+
"kind": "alias",
|
|
527
|
+
"items": {
|
|
528
|
+
"kind": "object",
|
|
529
|
+
"entries": {
|
|
530
|
+
"useColorExpression": {
|
|
531
|
+
"description": "Set to true to use color expression",
|
|
532
|
+
"optional": true,
|
|
533
|
+
"defaultValue": false,
|
|
534
|
+
"type": "boolean"
|
|
535
|
+
},
|
|
536
|
+
"color": {
|
|
537
|
+
"description": "Color defined by index or hex code, needed if useColorExpression is false",
|
|
538
|
+
"optional": true,
|
|
539
|
+
"type": "#/definitions/PaletteColor"
|
|
540
|
+
},
|
|
541
|
+
"colorExpression": {
|
|
542
|
+
"description": "Color defined by expression, needed if useColorExpression is true",
|
|
543
|
+
"optional": true,
|
|
544
|
+
"type": "#/definitions/ColorExpression"
|
|
545
|
+
},
|
|
546
|
+
"mode": {
|
|
547
|
+
"description": "Toggles the background image, set to media to show the image",
|
|
548
|
+
"optional": true,
|
|
549
|
+
"defaultValue": "'none'",
|
|
550
|
+
"kind": "union",
|
|
551
|
+
"items": [
|
|
552
|
+
{
|
|
553
|
+
"kind": "literal",
|
|
554
|
+
"value": "'none'"
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"kind": "literal",
|
|
558
|
+
"value": "'media'"
|
|
559
|
+
}
|
|
560
|
+
]
|
|
561
|
+
},
|
|
562
|
+
"useImage": {
|
|
563
|
+
"description": "Set to true to show background image",
|
|
564
|
+
"optional": true,
|
|
565
|
+
"defaultValue": false,
|
|
566
|
+
"type": "boolean"
|
|
567
|
+
},
|
|
568
|
+
"url": {
|
|
569
|
+
"description": "Contains the URL for the background image",
|
|
570
|
+
"optional": true,
|
|
571
|
+
"kind": "object",
|
|
572
|
+
"entries": {
|
|
573
|
+
"qStaticContentUrlDef": {
|
|
574
|
+
"optional": true,
|
|
575
|
+
"kind": "object",
|
|
576
|
+
"entries": {
|
|
577
|
+
"qUrl": {
|
|
578
|
+
"description": "URL represented as a string",
|
|
579
|
+
"optional": true,
|
|
580
|
+
"type": "string"
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
}
|
|
527
584
|
}
|
|
585
|
+
},
|
|
586
|
+
"position": {
|
|
587
|
+
"description": "Image position",
|
|
588
|
+
"optional": true,
|
|
589
|
+
"defaultValue": "'center-center'",
|
|
590
|
+
"kind": "union",
|
|
591
|
+
"items": [
|
|
592
|
+
{
|
|
593
|
+
"kind": "literal",
|
|
594
|
+
"value": "'topLeft'"
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
"kind": "literal",
|
|
598
|
+
"value": "'centerLeft'"
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
"kind": "literal",
|
|
602
|
+
"value": "'bottomLeft'"
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
"kind": "literal",
|
|
606
|
+
"value": "'topCenter'"
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
"kind": "literal",
|
|
610
|
+
"value": "'centerCenter'"
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
"kind": "literal",
|
|
614
|
+
"value": "'bottomCenter'"
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
"kind": "literal",
|
|
618
|
+
"value": "'topRight'"
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
"kind": "literal",
|
|
622
|
+
"value": "'centerRight'"
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
"kind": "literal",
|
|
626
|
+
"value": "'bottomRight'"
|
|
627
|
+
},
|
|
628
|
+
{
|
|
629
|
+
"kind": "literal",
|
|
630
|
+
"value": "'top-left'"
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
"kind": "literal",
|
|
634
|
+
"value": "'center-left'"
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
"kind": "literal",
|
|
638
|
+
"value": "'bottom-left'"
|
|
639
|
+
},
|
|
640
|
+
{
|
|
641
|
+
"kind": "literal",
|
|
642
|
+
"value": "'top-center'"
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
"kind": "literal",
|
|
646
|
+
"value": "'center-center'"
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
"kind": "literal",
|
|
650
|
+
"value": "'top-right'"
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
"kind": "literal",
|
|
654
|
+
"value": "'center-right'"
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
"kind": "literal",
|
|
658
|
+
"value": "'bottom-right'"
|
|
659
|
+
}
|
|
660
|
+
]
|
|
661
|
+
},
|
|
662
|
+
"size": {
|
|
663
|
+
"description": "Size of the image, relative to the button",
|
|
664
|
+
"optional": true,
|
|
665
|
+
"defaultValue": "'auto'",
|
|
666
|
+
"kind": "union",
|
|
667
|
+
"items": [
|
|
668
|
+
{
|
|
669
|
+
"kind": "literal",
|
|
670
|
+
"value": "'auto'"
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
"kind": "literal",
|
|
674
|
+
"value": "'alwaysFit'"
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"kind": "literal",
|
|
678
|
+
"value": "'fitWidth'"
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
"kind": "literal",
|
|
682
|
+
"value": "'fitHeight'"
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
"kind": "literal",
|
|
686
|
+
"value": "'fill'"
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
"kind": "literal",
|
|
690
|
+
"value": "'alwaysFill'"
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
"kind": "literal",
|
|
694
|
+
"value": "'stretchFit'"
|
|
695
|
+
}
|
|
696
|
+
]
|
|
528
697
|
}
|
|
529
698
|
}
|
|
530
699
|
}
|
|
531
700
|
},
|
|
532
|
-
"
|
|
533
|
-
"kind": "
|
|
534
|
-
"
|
|
535
|
-
"
|
|
536
|
-
|
|
537
|
-
"
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
"
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
"
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
"
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
"
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
"
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
"description": "Horizontal alignment",
|
|
571
|
-
"optional": true,
|
|
572
|
-
"defaultValue": "'center'",
|
|
573
|
-
"kind": "union",
|
|
574
|
-
"items": [
|
|
575
|
-
{
|
|
576
|
-
"kind": "literal",
|
|
577
|
-
"value": "'left'"
|
|
578
|
-
},
|
|
579
|
-
{
|
|
580
|
-
"kind": "literal",
|
|
581
|
-
"value": "'center'"
|
|
582
|
-
},
|
|
583
|
-
{
|
|
584
|
-
"kind": "literal",
|
|
585
|
-
"value": "'right'"
|
|
586
|
-
}
|
|
587
|
-
],
|
|
588
|
-
"type": "string"
|
|
589
|
-
},
|
|
590
|
-
"style": {
|
|
591
|
-
"description": "Additional style options",
|
|
592
|
-
"optional": true,
|
|
593
|
-
"kind": "object",
|
|
594
|
-
"entries": {
|
|
595
|
-
"bold": {
|
|
596
|
-
"description": "Bold text",
|
|
597
|
-
"optional": true,
|
|
598
|
-
"defaultValue": true,
|
|
599
|
-
"type": "boolean"
|
|
600
|
-
},
|
|
601
|
-
"italic": {
|
|
602
|
-
"description": "Italic text",
|
|
603
|
-
"optional": true,
|
|
604
|
-
"defaultValue": false,
|
|
605
|
-
"type": "boolean"
|
|
606
|
-
},
|
|
607
|
-
"underline": {
|
|
608
|
-
"description": "Underlined text",
|
|
609
|
-
"optional": true,
|
|
610
|
-
"defaultValue": false,
|
|
611
|
-
"type": "boolean"
|
|
612
|
-
}
|
|
701
|
+
"Border": {
|
|
702
|
+
"kind": "alias",
|
|
703
|
+
"items": {
|
|
704
|
+
"kind": "object",
|
|
705
|
+
"entries": {
|
|
706
|
+
"useBorder": {
|
|
707
|
+
"description": "Set to true to use border expression",
|
|
708
|
+
"optional": true,
|
|
709
|
+
"defaultValue": false,
|
|
710
|
+
"type": "boolean"
|
|
711
|
+
},
|
|
712
|
+
"width": {
|
|
713
|
+
"description": "Relative width, 0 is no border and 1 make the border fill the entire button",
|
|
714
|
+
"optional": true,
|
|
715
|
+
"defaultValue": 0,
|
|
716
|
+
"type": "number"
|
|
717
|
+
},
|
|
718
|
+
"radius": {
|
|
719
|
+
"description": "Relative border radius, 0 is no rounding and 1 will make the short side a half circle",
|
|
720
|
+
"optional": true,
|
|
721
|
+
"defaultValue": 0,
|
|
722
|
+
"type": "number"
|
|
723
|
+
},
|
|
724
|
+
"useColorExpression": {
|
|
725
|
+
"description": "Set to true to use color expression",
|
|
726
|
+
"optional": true,
|
|
727
|
+
"defaultValue": false,
|
|
728
|
+
"type": "boolean"
|
|
729
|
+
},
|
|
730
|
+
"color": {
|
|
731
|
+
"description": "Color defined by index or hex code, needed if useColorExpression is false",
|
|
732
|
+
"optional": true,
|
|
733
|
+
"type": "#/definitions/PaletteColor"
|
|
734
|
+
},
|
|
735
|
+
"colorExpression": {
|
|
736
|
+
"description": "Color defined by expression, needed if useColorExpression is true",
|
|
737
|
+
"optional": true,
|
|
738
|
+
"type": "string"
|
|
613
739
|
}
|
|
614
|
-
},
|
|
615
|
-
"sizeBehavior": {
|
|
616
|
-
"description": "Setting to determine how the fontsize of the label is calculated.",
|
|
617
|
-
"optional": true,
|
|
618
|
-
"defaultValue": "'responsive'",
|
|
619
|
-
"kind": "union",
|
|
620
|
-
"items": [
|
|
621
|
-
{
|
|
622
|
-
"kind": "literal",
|
|
623
|
-
"value": "'responsive'"
|
|
624
|
-
},
|
|
625
|
-
{
|
|
626
|
-
"kind": "literal",
|
|
627
|
-
"value": "'relative'"
|
|
628
|
-
},
|
|
629
|
-
{
|
|
630
|
-
"kind": "literal",
|
|
631
|
-
"value": "'fixed'"
|
|
632
|
-
}
|
|
633
|
-
],
|
|
634
|
-
"type": "string"
|
|
635
740
|
}
|
|
636
741
|
}
|
|
637
742
|
},
|
|
638
743
|
"Icon": {
|
|
639
744
|
"description": "Icons are only available inside Qlik Sense",
|
|
640
|
-
"kind": "
|
|
641
|
-
"
|
|
642
|
-
"
|
|
643
|
-
|
|
644
|
-
"
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
"
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
"
|
|
654
|
-
|
|
655
|
-
"
|
|
656
|
-
|
|
657
|
-
|
|
745
|
+
"kind": "alias",
|
|
746
|
+
"items": {
|
|
747
|
+
"kind": "object",
|
|
748
|
+
"entries": {
|
|
749
|
+
"useIcon": {
|
|
750
|
+
"description": "Set to true to show icon, default is false",
|
|
751
|
+
"optional": true,
|
|
752
|
+
"defaultValue": false,
|
|
753
|
+
"type": "boolean"
|
|
754
|
+
},
|
|
755
|
+
"iconType": {
|
|
756
|
+
"description": "holds the name of the icon",
|
|
757
|
+
"optional": true,
|
|
758
|
+
"kind": "object",
|
|
759
|
+
"entries": {
|
|
760
|
+
"value": {
|
|
761
|
+
"description": "name of icon",
|
|
762
|
+
"optional": true,
|
|
763
|
+
"defaultValue": "''",
|
|
764
|
+
"type": "string"
|
|
765
|
+
}
|
|
658
766
|
}
|
|
767
|
+
},
|
|
768
|
+
"position": {
|
|
769
|
+
"description": "Defines which side of the label the icon will be",
|
|
770
|
+
"optional": true,
|
|
771
|
+
"defaultValue": "'left'",
|
|
772
|
+
"kind": "union",
|
|
773
|
+
"items": [
|
|
774
|
+
{
|
|
775
|
+
"kind": "literal",
|
|
776
|
+
"value": "'left'"
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
"kind": "literal",
|
|
780
|
+
"value": "'right'"
|
|
781
|
+
}
|
|
782
|
+
]
|
|
659
783
|
}
|
|
660
|
-
},
|
|
661
|
-
"position": {
|
|
662
|
-
"description": "Defines which side of the label the icon will be",
|
|
663
|
-
"optional": true,
|
|
664
|
-
"defaultValue": "'left'",
|
|
665
|
-
"kind": "union",
|
|
666
|
-
"items": [
|
|
667
|
-
{
|
|
668
|
-
"kind": "literal",
|
|
669
|
-
"value": "'left'"
|
|
670
|
-
},
|
|
671
|
-
{
|
|
672
|
-
"kind": "literal",
|
|
673
|
-
"value": "'right'"
|
|
674
|
-
}
|
|
675
|
-
],
|
|
676
|
-
"type": "string"
|
|
677
784
|
}
|
|
678
785
|
}
|
|
679
786
|
},
|
|
680
|
-
"
|
|
681
|
-
"description": "
|
|
682
|
-
"kind": "
|
|
683
|
-
"
|
|
684
|
-
"
|
|
685
|
-
|
|
686
|
-
"
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
{
|
|
697
|
-
"kind": "literal",
|
|
698
|
-
"value": "'firstSheet'"
|
|
699
|
-
},
|
|
700
|
-
{
|
|
701
|
-
"kind": "literal",
|
|
702
|
-
"value": "'lastSheet'"
|
|
703
|
-
},
|
|
704
|
-
{
|
|
705
|
-
"kind": "literal",
|
|
706
|
-
"value": "'goToSheet'"
|
|
707
|
-
},
|
|
708
|
-
{
|
|
709
|
-
"kind": "literal",
|
|
710
|
-
"value": "'goToSheetById'"
|
|
711
|
-
},
|
|
712
|
-
{
|
|
713
|
-
"kind": "literal",
|
|
714
|
-
"value": "'goToSheetById'"
|
|
715
|
-
},
|
|
716
|
-
{
|
|
717
|
-
"kind": "literal",
|
|
718
|
-
"value": "'goToStory'"
|
|
719
|
-
},
|
|
720
|
-
{
|
|
721
|
-
"kind": "literal",
|
|
722
|
-
"value": "'openWebsite'"
|
|
723
|
-
},
|
|
724
|
-
{
|
|
725
|
-
"kind": "literal",
|
|
726
|
-
"value": "'odagLink'"
|
|
727
|
-
},
|
|
728
|
-
{
|
|
729
|
-
"kind": "literal",
|
|
730
|
-
"value": "'openChainedApp'"
|
|
731
|
-
}
|
|
732
|
-
],
|
|
733
|
-
"type": "string"
|
|
734
|
-
},
|
|
735
|
-
"appId": {
|
|
736
|
-
"description": "app ID. Required for 'openChainedApp'",
|
|
737
|
-
"optional": true,
|
|
738
|
-
"type": "string"
|
|
739
|
-
},
|
|
740
|
-
"sheet": {
|
|
741
|
-
"description": "sheet ID. Required for 'goToSheet' and 'goToSheetById'",
|
|
742
|
-
"optional": true,
|
|
743
|
-
"type": "string"
|
|
744
|
-
},
|
|
745
|
-
"story": {
|
|
746
|
-
"description": "Story ID. Required for 'goToStory'",
|
|
747
|
-
"optional": true,
|
|
748
|
-
"type": "string"
|
|
749
|
-
},
|
|
750
|
-
"websiteUrl": {
|
|
751
|
-
"description": "URL for website. required for 'openWebsite'",
|
|
752
|
-
"optional": true,
|
|
753
|
-
"type": "string"
|
|
754
|
-
},
|
|
755
|
-
"sameWindow": {
|
|
756
|
-
"description": "Set to true to open in same window/tab. Required for 'openWebsite'",
|
|
757
|
-
"optional": true,
|
|
758
|
-
"type": "boolean"
|
|
759
|
-
},
|
|
760
|
-
"odagLink": {
|
|
761
|
-
"description": "ODAG link name. Required for 'odagLink'",
|
|
762
|
-
"optional": true,
|
|
763
|
-
"type": "string"
|
|
787
|
+
"PaletteColor": {
|
|
788
|
+
"description": "Color information structure. Holds the actual color and index in palette.",
|
|
789
|
+
"kind": "alias",
|
|
790
|
+
"items": {
|
|
791
|
+
"kind": "object",
|
|
792
|
+
"entries": {
|
|
793
|
+
"color": {
|
|
794
|
+
"description": "Color as hex string (only used if index: -1)",
|
|
795
|
+
"optional": true,
|
|
796
|
+
"type": "string"
|
|
797
|
+
},
|
|
798
|
+
"index": {
|
|
799
|
+
"description": "Index in palette",
|
|
800
|
+
"optional": true,
|
|
801
|
+
"type": "number"
|
|
802
|
+
}
|
|
764
803
|
}
|
|
765
804
|
}
|
|
766
805
|
},
|
|
767
|
-
"
|
|
768
|
-
"description": "
|
|
769
|
-
"kind": "
|
|
770
|
-
"
|
|
771
|
-
"
|
|
772
|
-
|
|
773
|
-
"
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
806
|
+
"ColorExpression": {
|
|
807
|
+
"description": "Format for using color expressions",
|
|
808
|
+
"kind": "alias",
|
|
809
|
+
"items": {
|
|
810
|
+
"kind": "object",
|
|
811
|
+
"entries": {
|
|
812
|
+
"qStringExpression": {
|
|
813
|
+
"kind": "object",
|
|
814
|
+
"entries": {
|
|
815
|
+
"qExpr": {
|
|
816
|
+
"description": "expression that resolves to a supported color format",
|
|
817
|
+
"type": "string"
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
}
|
|
780
821
|
}
|
|
781
822
|
}
|
|
782
823
|
},
|
|
783
|
-
"
|
|
784
|
-
"description": "
|
|
785
|
-
"kind": "
|
|
786
|
-
"
|
|
787
|
-
"
|
|
788
|
-
|
|
789
|
-
"
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
},
|
|
799
|
-
"font": {
|
|
800
|
-
"description": "Styling for the label",
|
|
801
|
-
"optional": true,
|
|
802
|
-
"type": "#/definitions/Font"
|
|
803
|
-
},
|
|
804
|
-
"background": {
|
|
805
|
-
"description": "Styling for background, including image",
|
|
806
|
-
"optional": true,
|
|
807
|
-
"type": "#/definitions/Background"
|
|
808
|
-
},
|
|
809
|
-
"border": {
|
|
810
|
-
"description": "Styling for border",
|
|
811
|
-
"optional": true,
|
|
812
|
-
"type": "#/definitions/Border"
|
|
813
|
-
},
|
|
814
|
-
"icon": {
|
|
815
|
-
"description": "Styling for icon",
|
|
816
|
-
"optional": true,
|
|
817
|
-
"type": "#/definitions/Icon"
|
|
824
|
+
"EnabledExpression": {
|
|
825
|
+
"description": "Format for setting if the button is enabled/disabled with an expression",
|
|
826
|
+
"kind": "alias",
|
|
827
|
+
"items": {
|
|
828
|
+
"kind": "object",
|
|
829
|
+
"entries": {
|
|
830
|
+
"qStringExpression": {
|
|
831
|
+
"kind": "object",
|
|
832
|
+
"entries": {
|
|
833
|
+
"qExpr": {
|
|
834
|
+
"description": "expression that resolves to a number",
|
|
835
|
+
"type": "string"
|
|
836
|
+
}
|
|
837
|
+
}
|
|
838
|
+
}
|
|
818
839
|
}
|
|
819
840
|
}
|
|
820
841
|
}
|